並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 39 件 / 39件

新着順 人気順

*expressionの検索結果1 - 39 件 / 39件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

*expressionに関するエントリは39件あります。 プログラミングprogramminglanguage などが関連タグです。 人気エントリには 『Google、超高速に評価可能でポータブルな式言語「Common Expression Language」(CEL)発表』などがあります。
  • Google、超高速に評価可能でポータブルな式言語「Common Expression Language」(CEL)発表

    Google、超高速に評価可能でポータブルな式言語「Common Expression Language」(CEL)発表 式言語とは一般に、プログラミング言語の一部やネットワークなどの構成ファイル、テンプレートファイルなどの中で、簡易な式やロジック、ポリシーなどを記述する際に使われる言語のことです。 こうした用途では、さまざまなプラットフォームに対応する移植性、起動時やプログラムの実行中に評価されることがあることから高速に評価が完了すること、安全に評価が実行できること、用途に応じて拡張しやすいこと、などが求められます。 CELは超高速に評価、ポータブル、サブセットサポート CELは正にこうした要件に対応した式言語となっており、Googleは次のような特徴があるとしています。 ナノ秒からマイクロ秒程度の高速な評価に最適化されている C++、Java、Goでサポートされるスタックによるポータブ

      Google、超高速に評価可能でポータブルな式言語「Common Expression Language」(CEL)発表
    • LangChain の新記法「LangChain Expression Language (LCEL)」入門

      LangChain Advent Calendar 2023 の 2 日目の記事です。 LangChain Expression Language (LCEL) とは LangChain Expression Language (LCEL) は、LangChain でのコードの新しい記述方法です。 公式ドキュメント: https://python.langchain.com/docs/expression_language/ LCEL ではプロンプトや LLM を | で繋げて書き、処理の連鎖 (Chain) を実装します。 2023 年 10 月後半頃から、LangChain では LCEL を使う実装が標準的となっています。 この記事では LCEL の基本的な使い方を紹介していきます。

        LangChain の新記法「LangChain Expression Language (LCEL)」入門
      • CEL(Common Expression Language)を使ってIAMポリシーを検索する iam-policy-finder - KAYAC Engineers' Blog

        SREチームの藤原です。 今回は CEL(Common Expression Language) を使って、AWSのIAMポリシーを検索するツールを作ったので紹介します。 github.com 3行でまとめ CEL (Common Expression Language)の式を指定してAWS IAMポリシーを検索するツールをOSSとして作りました。GetAccountAuthorizationDetails APIで取得したIAMポリシーをCELで評価して、マッチするものを出力します 例えば「lambda:GetFunctionがあるがlambda:ListTagsがないポリシーを探す」などができます AWSからたびたびやってくる、IAMポリシーに関するお知らせに対応するのに便利です 突然の「Action Required」 ある日、AWSからこんなメールが届きました。 Lambda Ge

          CEL(Common Expression Language)を使ってIAMポリシーを検索する iam-policy-finder - KAYAC Engineers' Blog
        • LCEL (LangChain Expression Language)完全に理解した - Amazon Bedrock APIで始めるLLM超入門⑨ - Qiita

          LCEL (LangChain Expression Language)完全に理解した - Amazon Bedrock APIで始めるLLM超入門⑨PythonAWSbedrocklangchainLCEL LCELからBedrockを呼び出してみます。 LCELとは LangChainでコンポーネントをchain(連続呼出)する共通のInterfaceおよびその記法です。 Interfaceは以下のページが分かり易かったですが、要はRunnable共通のメソッドを実装しているというのと、入出力の型はコンポーネント毎に異なる(chainを組む時に入出力の型を意識して合わせる必要がある)というのが理解のポイントかなと思いました。 使い方は公式のクックブックがわりと分かりやすいです。 LangChainの最新化 langchainとlangchain-communityを最新にします。安定バ

            LCEL (LangChain Expression Language)完全に理解した - Amazon Bedrock APIで始めるLLM超入門⑨ - Qiita
          • CEL  |  Common Expression Language

            // Simple predicates 'tacocat'.startsWith('taco') // Parameterized predicates over structured data account.balance >= transaction.withdrawal // JSON objects {'sub': '12345678', 'aud': 'example2.cel.dev', 'iss': 'https://example1.cel.dev/jwt-issuer'} // Strongly typed objects common.GeoPoint{ latitude: 10.0, longitude: -5.5 } Common Expression Language(CEL)は、パフォーマンスが重視されるアプリケーションで高速かつポータブルで、安全に実行でき

            • CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods

              CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods Posted by mame on 15 Nov 2021 We have released date gem version 3.2.1, 3.1.2, 3.0.2, and 2.0.1 that include a security fix for a regular expression denial of service vulnerability (ReDoS) on date parsing methods. An attacker can exploit this vulnerability to cause an effective DoS attack. This vulnerability

              • CEL  |  Common Expression Language

                // Simple predicates 'tacocat'.startsWith('taco') // Parameterized predicates over structured data account.balance >= transaction.withdrawal // JSON objects {'sub': '12345678', 'aud': 'example2.cel.dev', 'iss': 'https://example1.cel.dev/jwt-issuer'} // Strongly typed objects common.GeoPoint{ latitude: 10.0, longitude: -5.5 } Common Expression Language (CEL) is an expression language that’s fast, p

                • GitHub - google/latexify_py: A library to generate LaTeX expression from Python code.

                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                    GitHub - google/latexify_py: A library to generate LaTeX expression from Python code.
                  • The Regular Expression Visualizer, Simulator & Cross-Compiler Tool

                    This article is part of Series On Regular Expressions.  For more examples of regular expressions to visualize, check out this this list of Regular Expression Test Cases. Your Regex: String To Search: Generate New Random Matching String The Regex As A C Program Common C Code For All Regular Expressions The C source code below is the common code that is required by any of the code samples that are g

                    • Google、オープンソースの高速で安全な式言語「Common Expression Language」を発表

                      Googleは2024年6月18日(米国時間)、パフォーマンスが重視されるアプリケーションにおいて、高速かつポータブルで安全に実行できる汎用(はんよう)の式言語「Common Expression Language」(CEL)を発表した。 CELは、式の評価に共通のセマンティクスを実装するオープンソースの非チューリング完全言語であり、異なるアプリケーションの相互運用を容易にする。 CELは単独で使用することも、大規模なプロダクトに組み込むこともできる。リモートプロシージャコール(RPC)のルーティングからセキュリティポリシーの定義まで、さまざまなアプリケーションに適している。拡張可能でプラットフォームに依存せず、1回のコンパイル/評価のワークフロー向けに最適化されている。 CELの記述例 関連記事 Google、Kubernetes1.29に対応した「Google Kubernetes E

                        Google、オープンソースの高速で安全な式言語「Common Expression Language」を発表
                      • Takehiro OHYA Online : Indecent Expression

                        はじめに 今回、葉影立直氏が「歩き方V」所収の「失楽園の住人たち」で主張した刑法175条違憲論について、中立的でまっとうな法律論議とはどのようなものかを紹介させていただくつもりです。参考までに言えば筆者は某国立大学法学部で公法を専攻している学生であり、以下においても、現在スタンダードな法律的考え方を述べることはできているつもりです。 最初に注意しておきます。以下にさまざまな見解を説明していきますが、それらは「私が同意できる見解」という基準で紹介しているわけではありません。この問題に対して正確に認識するためには少なくともこの程度を知っている必要があるだろうと、一方的な記述を避けて書いたものです。実のところ私自身はやや違憲論寄りなのですが、だからといって違憲論のみを紹介していてはこの記事の意味がありませんので。 なお、参照条文は文末に一括して掲げましたので、必要があったらご覧ください。 上位法

                        • GitHub - baku89/glisp: Glisp is a Lisp-based design tool that combines generative approaches with traditional design methods, empowering artists to discover new forms of expression.

                          Demo (Chrome Only) Documentation 🇺🇸 English 🇯🇵 日本語 Glisp, an acronym for Graphical LISP, is the prototyping project to experiment what if a design tool meets a way of creative coding, and obtain the self-bootstrapping power of LISP. This tool looks like the integration of Illustrator and Processing IDE at a glance. And in fact, it adopts both benefits of intuitiveness of direct manipulation on

                            GitHub - baku89/glisp: Glisp is a Lisp-based design tool that combines generative approaches with traditional design methods, empowering artists to discover new forms of expression.
                          • LangChain の LangChain Expression Language (LCEL) を理解する - A Day in the Life

                            LCEL は LangChain の chain を簡単に構築するための方法です。2023 年後半から開発が盛んに進んでおり、現在(2024 年1月)は LangChain のコードを記述するには、基本 LCEL を使って書く(以前の書き方もできますが)ことが推奨されています。LCEL のメリットについてはオフィシャルドキュメントの LCELを参考すると良いでしょう。 しかしながら、LCEL を書き始めると、オフィシャルドキュメント通りに書けば動くけど、ちょっとでもアレンジして書こうとするうまく動かなくなったりします。これは一重に LCEL の挙動を理解していなからなのですが、オフィシャルドキュメントやチュートリアルでは、LLM+RAG のコードなど、LCEL 使うとこんなにシンプルに書けるんだ、というコードは多くのっているのですが、LCEL の挙動についてはあまりのっておらず、のっていて

                            • 時間情報表現抽出とルールベース解析器のこれから / Temporal Expression Analysis in Japanese and Future of Rule-based Approach

                              【NLP Hacks vol.3】『実装』に特化した、NLP勉強会コミュニティ開催! https://connpass.com/event/241079/

                                時間情報表現抽出とルールベース解析器のこれから / Temporal Expression Analysis in Japanese and Future of Rule-based Approach
                              • Nifty Fold Expression Tricks

                                template <typename H, typename ... T> auto add(H head, T... tail) { return (head + ... + tail); // expands to: head + tail[0] + tail[1] + ... } If we’re willing to abuse operator evaluation rules and fold expressions, we can do a lot more. This blog posts collects useful tricks. Whenever possible, we should process a parameter pack with fold expression instead of using recursion: It is less code t

                                  Nifty Fold Expression Tricks
                                • CEL(Common Expression Language) - Carpe Diem

                                  概要 CEL(Common Expression Language)とは、Google によって開発された軽量で高速な式評価言語です。 そのシンプルさと効率性から、セキュリティポリシー、リソースフィルタリング、データ検証などに使われます。 例えばプロダクションでは以下のような利用例があります。 IAM Conditionsとして Kubernetesのセキュリティポリシー定義として 今回はCELの説明と簡単な使い方を紹介します。 環境 go v1.22.1 cel-go v0.20.1 CELとは CELは以下の特徴を持ちます。 非チューリング完全言語 軽量 静的型付けを採用しており、コンパイル時にエラーを検出できる 多数の組み込み関数をサポート ユーザー定義関数やカスタム型を使って拡張できる 具体的には次のようなことができます。 // リソース名がグループ名で始まっているかどうかをチェッ

                                    CEL(Common Expression Language) - Carpe Diem
                                  • Swift Expression Macros: a practical introduction

                                    Swift Expression Macros: a practical introduction -実践 Swiftマクロ入門- Macro proposal timeline Swift macro overview How to implement macros Swift macro essentials Pros and cons Various kinds of macros Declaration macros Practical Example: Power Assert Summary

                                      Swift Expression Macros: a practical introduction
                                    • 正規表現(Regular Expression)について – Automation Skill

                                      はじめにいまや正規表現というのは自動化だけではなく、様々なアプリケーションの文書上での検索/置換機能で利用できる事も多い基本的な機能となりました。もちろん自動処理においても特定の文字列を抽出・置換等に利用可能で、プログラミング上でも上手く使えば処理を簡潔に書けるようになる事も多くあります。 CCアプリケーションでは、Indesignにおける検索置換機能や段落スタイルにおける正規表現スタイル等の様に今や必須の機能となっています。また、CCアプリケーションだけではなく各スクリプト言語においてもサポートされており、自動処理においてはテキスト加工作業においては必須の技術となりますのでしっかりと押さえておきたいものです。 と、まあ、ここまでの文章を読んで頂いた方の中には「あれっ?」て思った人もいらっしゃるかと思います。この記事は過去に自動化総合フォーラムに寄稿したものの再録です。2019年9月のAd

                                        正規表現(Regular Expression)について – Automation Skill
                                      • GitHub - mathiasbynens/emoji-regex: A regular expression to match all Emoji-only symbols as per the Unicode Standard.

                                        const emojiRegex = require('emoji-regex'); // Note: because the regular expression has the global flag set, this module // exports a function that returns the regex rather than exporting the regular // expression itself, to make it impossible to (accidentally) mutate the // original regular expression. const text = ` \u{231A}: ⌚ default emoji presentation character (Emoji_Presentation) \u{2194}\u{

                                          GitHub - mathiasbynens/emoji-regex: A regular expression to match all Emoji-only symbols as per the Unicode Standard.
                                        • The Regular Expression Denial of Service (ReDoS) cheat-sheet

                                          IntroductionThis post is intended as a “technical two-pager” to summarize a security vulnerability called Regex-based Denial of Service (AKA Regex DoS, ReDoS). There are a variety of write-ups about ReDoS, but I’m not aware of a good one-stop-shop with a higher-level treatment of all aspects of the subject. I have included links at the end to more detailed treatments. I have used headings liberall

                                            The Regular Expression Denial of Service (ReDoS) cheat-sheet
                                          • proposal: expression to create pointer to simple types · Issue #45624 · golang/go

                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                              proposal: expression to create pointer to simple types · Issue #45624 · golang/go
                                            • Three clusters of content-audience associations in expression of racial prejudice while consuming online television news

                                              It is well investigated that the expression of racial prejudice is often induced by news coverage on the internet, and the exposure to media contributes to the cultivation of long-term prejudice. However, there is a lack of information regarding the immediate effects of news delivered through television or television-like media on the expression of racial prejudice. This study provides a framework

                                                Three clusters of content-audience associations in expression of racial prejudice while consuming online television news
                                              • GitHub - olamide203/hyoka: a lightweight and precise math expression parser and evaluator for JavaScript and TypeScript

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - olamide203/hyoka: a lightweight and precise math expression parser and evaluator for JavaScript and TypeScript
                                                • PHP: rfc:match_expression_v2

                                                  This RFC proposes adding a new match expression that is similar to switch but with safer semantics and the ability to return values. From the Doctrine query parser: // Before switch ($this->lexer->lookahead['type']) { case Lexer::T_SELECT: $statement = $this->SelectStatement(); break; case Lexer::T_UPDATE: $statement = $this->UpdateStatement(); break; case Lexer::T_DELETE: $statement = $this->Dele

                                                  • a bland expression face had He he his letter on received the when | ならべかえ 英語 リスニング

                                                    a bland expression face had He he his letter on received the when

                                                      a bland expression face had He he his letter on received the when | ならべかえ 英語 リスニング
                                                    • [新機能] Amazon Redshift 階層データを簡単にクエリできる Recursive CTE(Common Table Expression)がサポートされました | DevelopersIO

                                                      [新機能] Amazon Redshift 階層データを簡単にクエリできる Recursive CTE(Common Table Expression)がサポートされました データアナリティクス事業本部コンサルティングチームの石川です。Recursive CTE(Common Table Expression)を使用して、組織図やマルチレベル製品などの階層データをクエリできるようになりました。早速、階層化データを用意して試してみます。 Recursive CTE(Common Table Expression)とは WITH句は、より複雑な問い合わせで補助的に用いるインナービューを提供します。 これらの文は共通テーブル式(Common Table Expressions)またはCTEと呼ばれるものであり、1つの問い合わせのために存在する一時テーブルと考えることができます。これを再帰的に応用

                                                        [新機能] Amazon Redshift 階層データを簡単にクエリできる Recursive CTE(Common Table Expression)がサポートされました | DevelopersIO
                                                      • LangChain Expression Language (LCEL) | 🦜️🔗 Langchain

                                                        LangChain Expression Language, or LCEL, is a declarative way to easily compose chains together. LCEL was designed from day 1 to support putting prototypes in production, with no code changes, from the simplest “prompt + LLM” chain to the most complex chains (we’ve seen folks successfully run LCEL chains with 100s of steps in production). To highlight a few of the reasons you might want to use LCEL

                                                          LangChain Expression Language (LCEL) | 🦜️🔗 Langchain
                                                        • Regular Expression Engine Comparison Chart

                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                            Regular Expression Engine Comparison Chart
                                                          • GitHub - clarkmcc/cel-rust: Common Expression Language interpreter written in Rust

                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                              GitHub - clarkmcc/cel-rust: Common Expression Language interpreter written in Rust
                                                            • GitHub - EricSmekens/jsep: JavaScript Expression Parser

                                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                GitHub - EricSmekens/jsep: JavaScript Expression Parser
                                                              • 窓辺の小石(48) Nova Expression

                                                                最近は、エディタの検索や置換でも正規表現(Regular Expression)が使えるのが当たり前になっている。正規表現は、便利な検索機能という見方もあるが、正規表現は「言語」で、ソフトウェア開発を大きく変えた技術の1つだ。 プログラムで文字列の処理などを行うとき、正規表現を使えるかどうかで効率が大きく違い、またソフトウェアの書き方も異なってくる。筆者がコンピュータを使い始めた1970年台、BASIC言語の文字列処理は、いまから考えるとひどく原始的なものだった。Excelの数式による文字列処理は、いまでも当時のままだ。もちろん便利な関数は増えたが考え方は同じ、Xは何文字目から始まるかを探す、文字列の前半、後半、中間部分を取り出す、文字列をつなげる、といった機能を使って文字列を処理していく。イメージ的には、テープの切り貼りみたいな感じの作業だ(わかるかなぁ)。固定したパターンの処理はなんと

                                                                  窓辺の小石(48) Nova Expression
                                                                • MoqでExpressionを引数に取るメソッド をセットアップする メモ

                                                                  背景 引数に条件式(Expression)を取るメソッドをMoqにSetupしようとした際に少しハマったのでメモ。 環境 IDE:Visual Studio Community 2019 Ver.16.8.2 .NET Version:Core 3.1 言語:C# TestFramework:xUnit 2.4.1 Moq Version:4.15.2 Moqについて Moqとは Moqは. Net用の模擬ライブラリです。 ユニットテストを容易にするために、依存関係との対話をシミュレートして検証することができます。 Moq Github moq / moq4 本題 たとえばこのようなUserクラスがあります。 User classinternal class User { public User(UserId userId, UserName userName, UserAge userA

                                                                    MoqでExpressionを引数に取るメソッド をセットアップする メモ
                                                                  • growpartコマンドが「arithmetic expression」エラーで失敗する際の対処法 | DevelopersIO

                                                                    困っていた内容 Linux系OSのインスタンスのEBSボリュームサイズを増加させた後、ドキュメントを参考にパーティションの拡張を実施しました。 Linux ファイルシステムの拡張 - Amazon Elastic Compute Cloud ルートボリュームを拡張する手順においてgrowpartコマンドを実行しましたが、エラーが発生しました。 sudo growpart /dev/nvme0n1 1 /usr/bin/growpart: arithmetic expression: expecting primary: "シリンダ*ヘッド*63" エラーを解消するにはどうしたら良いですか? どう対応すればいいの? この「syntax error: operand expected 」エラーは、シェルの言語を日本語に設定していることが影響し発生している場合があります。 システムのロケール設定

                                                                      growpartコマンドが「arithmetic expression」エラーで失敗する際の対処法 | DevelopersIO
                                                                    • GitHub - eosphoros-ai/DB-GPT: AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents

                                                                      The architecture of DB-GPT is shown in the following figure: The core capabilities include the following parts: RAG (Retrieval Augmented Generation): RAG is currently the most practically implemented and urgently needed domain. DB-GPT has already implemented a framework based on RAG, allowing users to build knowledge-based applications using the RAG capabilities of DB-GPT. GBI (Generative Business

                                                                        GitHub - eosphoros-ai/DB-GPT: AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
                                                                      • Amazon CloudWatch Logs announces regular expression filter pattern syntax support

                                                                        We are excited to announce regular expression support for Amazon CloudWatch Logs filter pattern syntax, making it easier to search and match relevant logs. Customers use filter pattern syntax today to search logs, extract metrics using metric filters, and send specific logs to other destinations with subscription filters. With today’s launch, customers will be able to further customize these opera

                                                                          Amazon CloudWatch Logs announces regular expression filter pattern syntax support
                                                                        • dbtでのSQLモデル記述時に利用推奨されている『共通テーブル式(CTE/Common Table Expression)』について | DevelopersIO

                                                                          dbtでのSQLモデル記述時に利用推奨されている『共通テーブル式(CTE/Common Table Expression)』について アライアンス事業部 エンジニアグループ モダンデータスタック(MDS)チームのしんやです。 dbtでは、SQLモデルを記述する際に『共通テーブル式(CTE/Common Table Expression)』の利用が推奨されています。 この共通テーブル式=CTE/Common Table Expression(以降CTEと呼びます)、馴染みの無い人には『CTE?何それ?』という感じではあるかなと思います。(実際自分もそうでした) ということで当エントリではそもそもCTEってどういうものなのか、dbtでこのCTEをどういう風に扱っていくのが良いのか、等について色々と見ていきたいと思います。 目次 そもそも共通テーブル式(CTE)って何? CTEに関心を持つべき理

                                                                            dbtでのSQLモデル記述時に利用推奨されている『共通テーブル式(CTE/Common Table Expression)』について | DevelopersIO
                                                                          • Regular Expression Improvements in .NET 7 - .NET Blog

                                                                            A friend once quipped to me that “computer science is entirely about sorting and searching”. While that’s a gross overgeneralization, there’s a grain of truth to it. Searching is, in one way, shape, or form, at the heart of many workloads, and it’s so important that multiple domain-specific languages have been created over the years to ease the task of expressing searches. Arguably none is more ub

                                                                              Regular Expression Improvements in .NET 7 - .NET Blog
                                                                            • Free Online Cron Expression Generator and Describer - FreeFormatter.com

                                                                              Generate a quartz cron expression with an easy to use online interface. Convert a cron expression into a readable text that clearly explains when it will execute, and visualize the next execution dates of your cron expression.

                                                                              • 知識0だけどExメニューでアクセとか武器とかをオンオフしたい!!(初心者向けExpression解説1)[VRChat]|Ran_kotonoha

                                                                                22/02/23 Write Defaultsに関する記述の追加 22/08/06追記:Write Defaultsはオフ統一のほうがいいらしい旨を追加 22/11/14追記:詰めが甘かった部分を修正 24/01/04追記:時代がVCCになってきたので余分な文章の削除 こんにちは。Ran_kotonohaと申します。 VRCを始めてはや半年以上。今となってはアバター改変にも慣れ、いろんな衣装を着せたり、アクセサリーを付けたりしてます。 そうしてくると1つのアバターにいろんなものを付け替えしたくなって、師匠(後述)にいろんなことを学んでからは、Expressionメニューを使っていろいろなギミックを作ってます。 そうしてるうちに、こう言われるようになりました。 「Unityつよつよ勢じゃん」 そんなことないぞと思ったわけです。 でも、自分自身も最初のうちはめちゃくちゃ難しそうって先入観で手が

                                                                                  知識0だけどExメニューでアクセとか武器とかをオンオフしたい!!(初心者向けExpression解説1)[VRChat]|Ran_kotonoha
                                                                                1

                                                                                新着記事