Fix out-of-bounds in Array#pack for r/R when buffer modified
When the string buffer is modified during the to_int call in Array#pack with the r/R directive, it can cause an out-of-bounds write. For exa
When the string buffer is modified during the to_int call in Array#pack with the r/R directive, it can cause an out-of-bounds write. For exa
They are readonly virtual variables backed by per-thread/per-process state, but user boxes cached the first read in the box gvar_tbl. The ca
`fetch_foreign_keys` and `fetch_table_options` joined `pg_class` only to turn an OID the catalog row already carried into a name. The forei
Assignment in a box only writes to box->gvar_tbl and leaves the global entry with rb_gvar_undef_getter, so defined?($foo) returned nil wh
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
$stdin, $stdout, $>, and $stderr live in ractor-local storage that Kernel#puts, Kernel#warn, and friends read directly, so assignments ca
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The test helpers now boot the VM themselves via ensure_rubyvm(), so tests no longer need a bare eval("nil") just to initialize ZJITState bef
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
1. はじめに 部署のAzure検証環境を管理しています。検証環境ではメンバーが自由にリソースを作成できる分、検証終了後も削除されず、そのまま残り続けることが良くあります。 Azure Cost Management を使えばコスト状況は確認できますが、日常的にチェックす...
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The previous commit integrated Marshal's hooks into the native courier copying path. That should cover most cases. One exception I'
Previously the Ractor courier rejected singleton class objects. However we have existing tests of OpenStruct that those objects can be Racto
Previously any Regexp objects being sent would cause us to take the Marshal path.
Previously the courier only carried the core types natively, and any other object made the whole message fall back to Marshal.dump on the se
For some types (probably most notably Set), Marshal loading is defined with compatibility functions. We should use those when set.
Previously rb_ractor_courier_materialize filled every non-hash node in id order and then inserted hash entries in a separate pass in reverse
データベースサービスを提供しているPlanetScaleは、PostgreSQLのシャーディングを自動化してスケーラブルなデータベースサービスを提供する「Neki」をプレビュー公開しました。 118,538,803 queries per ...
Use aliasing instead of Module#prepend with super to redefine `require` when coming out of single ractor mode. There are bad interactions be
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
https://github.com/ruby/io-console/commit/668e5d85bb
https://github.com/ruby/io-console/commit/a44ab18ad9
Based on [ART's](https://android.googlesource.com/platform/art/+/refs/heads/main/compiler/optimizing/nodes.cc#999): ```c++ bool HLoopIn
速報気味。jev 同士に五目並べで対戦させて、速度を実測してみました。 いきなり感想ですが、プログラマは多分、既存のチャットアシスタントより Jev みたいな構造化されたエージェントの方が好きだと思います。 実際に対戦してるところ(リアルタイム) tl;dr ルールベース
24時間動き続けるAIエージェント:途中で「死なない」ようにする設計 なぜこれが難しいのか AIエージェントをデモとして動かすだけなら簡単です。LLMを呼び、結果を受け取り、画面に出力する。それだけで済みます。しかし、エージェントを何時間も、何日も連続で動かし、ツール呼...
string.c:9673:36: warning: ‘matches’ may be used uninitialized [-Wmaybe-uninitialized] 9673 | const int bitmap = _mm_movema
…pting-attributes Fix tuple `where` key corrupting later association conditions
`PredicateBuilder#expand_from_hash` assigns to its own `attributes` parameter while expanding a tuple (composite) key. A block does not rebi
`up` checked out ruby-core in every default gem repository to rebase it onto ruby-core/master and then checked the default branch back out,
ruby/ruby owns this file along with ext/json/extconf.rb, which is already excluded. Upstream json has no ext/json/ext/depend to copy back,
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
The call to rand (through RAND_UPTO) or to_int (through NUM2LONG) can run aribtrary Ruby code, which can modify the source array. The size o
DGX Spark で sudo apt upgrade を実行したあと、GPU ドライバがロードされなくなり、デスクトップの CPU 負荷が急増した。 復旧を試みて apt full-upgrade を実行したところ、今度は起動中とは別のカーネル向け NVIDIA モジュールが
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
`SerializeCastValue::ClassMethods#serialize_cast_value_compatible?` memoizes into a class-level instance variable, which a non-main Ractor c
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
はじめに 最近dbt Chartsというサービスがdbtから発表されましたね。個人的に気になるサービスでしたので、実際に触ってみたというブログです。 DWHにはSnowflakeを使用し、dbtのサンプルプロジェクトjaffle-shop-classicを用いて検証しています。
…tests Three tests carry the same hand built reply, and the tests below need a fourth. https://github.com/ruby/resolv/commit/d01450fd36 C
A peer that goes away while another nameserver is being tried leaves a socket nobody is watching, so the loss only surfaces when the next re
Add more assertions to actually test that the ndots option is working as expected: the option controls the threshold that the search list sh
When search list is not explicitly specified, Resolv::DNS checks the local domain name of the running system. If it is not set either, the r
The current code works, but the intention was not clear at first glance. https://github.com/ruby/resolv/commit/deaf5ab649
…h-path Read PostgreSQL indexes and constraints from the table a name resolves to
弊社には「Orizm」という自社プロダクトのCMSがあり、現在私はOrizmを用いたWebサイトの開発業務を担当しています。 Orizmには「デザインエディター」という、Webページを見た目そのまま直感的に編集できる機能が組み込まれているのですが、入稿作業をしながら、ふと「ここに
Neither argument to `rb_typeddata_inherited_p` is intended to be NULL.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
…rs do `fetch_table_options` asked `resolved_tables` for base tables only, so a view shadowing a table on the search path was read as that
`alias` and `Module#alias_method` in a module fall back to searching the method from Object when the module and its ancestors do not have it
株式会社ジェイテックジャパン CTOの高丘 @tomohisaです。 128GB の MacBook Pro(M4 Max)で、ローカル LLM が開発に使えるかを試し続けています。ここまでに書いたのは次の 3 本です。 https://zenn.dev/jtechjapan_p
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
https://github.com/ruby/net-protocol/commit/c1f66145f7
https://github.com/ruby/net-protocol/commit/85361b97cd
…r alone Before the check, read(-1) walked @rbuf_offset backwards and a later read_all handed back bytes an earlier read had already consum
…exceptional exits https://github.com/ruby/net-protocol/commit/a1bd220aad
…e socket The case had no branch for it, so the retry loop spun without waiting and without ever reaching the write_timeout. The fake refus
…buffer https://github.com/ruby/net-protocol/commit/44b2dcb2f4
…e IO usable LOG_off had no counterpart on the exception path, so a raise from the block or from the source silenced the connection's d
…greSQL `fetch_foreign_keys` and `fetch_unique_constraints` paired each `conkey` / `confkey` element with its position by generating the su
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Bumps the github-actions group with 1 update in the / directory: [ruby/setup-ruby](https://github.com/ruby/setup-ruby). Updates `ruby/setu
…s to `fetch_indexes`, `fetch_foreign_keys`, `fetch_check_constraints`, `fetch_unique_constraints` and `fetch_exclusion_constraints` matche
macOS 27にはローカルLLMが入っている macOS 27には、Appleの言語モデルをTerminalから直接使える fm コマンドが入っています。 追加のアプリをインストールする必要はなく、APIキーもいりません。対応するMacなら、Terminalを開いて次の...
The call to rb_to_int may run aribtrary Ruby code and thus cause String#setbyte to read past the end of the string. For example, the followi
This follows the other operating systems. Without it, it won't build on arm64 and riscv64 ports.
はじめに ── なぜこの記事を書くのか LLMに「このチケットはどの部署宛てか」を答えさせるコードを、筆者は何度も書いてきました。JSONで返させ、パースし、検証し、落ちたら再試行する。判断は1行なのに、防御コードのほうが長くなるのが常でした。 2026年9月15日、米T...
Array#values_at can execute arbitrary code during execution which may modify the source array. This can cause a buffer overflow if the new l
はじめに LayerXのエンタープライズ向け生成AIプラットフォームAi Workforceでは、Playwrightを使ったE2EテストをGitHub Actionsで実行しています。 テストが落ちたとき、エラーメッセージやスクリーンショットを見ながら、まずテストコードに問題が