Merge pull request #58541 from byroot/avoid-flatten-2
Further improve Reflextion#extensions
Further improve Reflextion#extensions
rb_gc_single_objspace_p() answered "single" as soon as ruby_single_main_ractor was set, and rb_ractor_atfork() sets it again in th
Followup: https://github.com/rails/rails/pull/58540
A dedicated native thread used to sleep in two stages: native_cond_sleep() parked it on nt->cond.intr inside a blocking region, and on wa
The timer thread delivers expiry and fd wakeups in batches: it collects {thread, serial} pairs under timer_th.waiting_lock, releases the loc
A common Ruby idiom for variadic methods is to flatten the argument list so that it can be called with either variadic arguments or an Array
Avoid needless Array#flatten calls
`extending!` uses the classic `*args -> args.flatten` pattern, which is a bit wasteful when most of the time it's called with a singl
AlpacaTechの北山です。このブログでは、気になったクオンツネタを取り上げています。 X(Twitter)で、Micron Technology(MU)についての集計が流れてきました。 https://x.com/SOU_BTC/status/209110535776256
はじめに こんにちは、事業会社で働いているデータサイエンティストです。 突然ですが、予測精度が一番高いモデルを選べば、一番良いモデルを選んだことになるのでしょうか? 機械学習モデルを作るとき、RMSEやMAE、AUCなどの予測精度を比較して、「一番当たるモデル」を採...
Keys and values are stored directly in the st_table entries. The counted buffers are a leftover from the old pointer-based implementation.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
はじめに こんにちは,Latte72 です. この度,セキュリティキャンプ2026全国大会の 開発L2ゼミ に応募し,無事選考を通過して参加してきました. 普通であれば,応募課題晒しは通過発表があった6月中にやるようなものなのですが,予定が立て込んでいて 面倒で放置してい...
2026年8月22日時点のFreeToken 0.1.2を、RTX 5090 32GBとRAM 128GBのPCで試しました。 FreeTokenは、Mixture-of-Experts(MoE)モデルのexpertをホストRAMへ置き、必要なexpertだけをGPUへキャッシュ
Fix the `Relation#create` documentation example
[Bug #22234]
Load routes lazily when a mounted helper is called
Avoids patching Action Dispatch by defining method overrides.
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.
…-cache-error-on-async-index-error Fix async `ActiveRecord::StatementCache` execution with out-of-range bind values
Share each lock count across a buffer and its slices so independent native operations retain the backing allocation until all users release
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
…bind values The `Promise.wrap` method does not exist; we should use `Promise::Complete.new` instead. ``` Error: ActiveRecord::StatementCa
The second example passes `name: 'fxn'`, but attaches its result to an extra argument-less `users.create` call, which creates a reco