ZJIT: Call make_equal_to when folding GuardBitEquals (#17308)
We need to actually link it up in the union-find instead of dropping it on the floor. Co-authored-by: Kevin Menard <kevin@nirvdrum.com>
We need to actually link it up in the union-find instead of dropping it on the floor. Co-authored-by: Kevin Menard <kevin@nirvdrum.com>
I don't know what the original code was intending to do but we should always be making a new block.
…nges Ensure `assert_no_changes` isn't given a static value
* ZJIT: ivar code cleanup I just wanted to clean up some of the IV handling code in ZJIT. If classes, modules, or TDATA have instance varia
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
## Summary Take return_type and elidable from props on the super CCallWithFrame / CCallVariadic paths instead of hardcoding BasicObject / f
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
こんにちは、ハートランド・データ株式会社の増田です。 社内の"技術者研修"という活動で、ゲーム開発プロジェクトに参加したので、そちらの活動ブログになります。 ゲーム開発プロジェクトにて、弊社オリジナルキャラクターの"バグレスくん"をプレイヤーとして遊ぶゲームを開発することに...
こんにちは!株式会社DearOneの小門です。 バックエンドのチームで、主にタスクや人の管理、システムの保守とかをやってます。 この記事でわかること - Antigravity IDEのインストールから動作確認までの手順 - プロンプトだけでCSV集計ツールを作る具体的な流...
Support composite primary keys in `excluding`
`Relation#excluding` (and its alias `without`) built the exclusion predicate with `predicate_builder[primary_key, records]`. For a composite
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.
Fix `Hash.from_xml` raising `Date::Error` on `type="date"` values surrounded by whitespace
…d by whitespace The "date" typecast in XMLMini::PARSING called Date.strptime on the raw node content, which does not tolerate su
rb_gc_register_mark_object() called rb_gc_impl_pointer_to_heap_p() without holding the VM lock. The lookup bsearches over objspace->heap_
Report Postgres FATAL exceptions more clearly
…lize Fix `MemoryStore#cleanup` raising `NoMethodError` with a non-DupCoder serializer
…ializer MemoryStore#cleanup read each value out of @data and called expired? on it. With the default DupCoder @data holds Entry objects, b
Fix `Time#advance` and `DateTime#advance` mutating the caller's options hash
In parallel test-all, a worker process may hold garbage Tempfile objects left by previously run test files. When GC is triggered while a Tra
The peephole optimizer folds "dupstring str; toregexp" (and the dupchilledstring / putobject-string variants) into a single litera
悪意あるリポジトリで.npmrcを使って環境変数が盗まれる問題への対策として、pnpmがリポジトリ管理の.npmrcで環境変数を展開しなくなった経緯の解説。v10.34.2/v11.5.3以降、リポジトリ内の.npmrcやpnpm-workspace.yamlの認証情報やレジスト
先日、クロスレビューについて、効果があるのかないのか、両者とも根拠がない印象の感想合戦になりかけたので、実際にベンチマークを行うことにしました。 実施内容 うひょ氏のReact習熟度のベンチマークが一番扱いやすそうだったので、こちらを使わせていただきました。 https://
…-test-base Re-raise suppressed RedisClient errors in all RedisCacheStoreTests classes
The TIME pattern accepts any whitespace run between date and time, so cover vertical tab, carriage return, form feed, and mixed separators i
https://github.com/ruby/psych/commit/0ac39324a0
結論、金子先生の書籍が一番わかりやすかった☝️ ベイズ最適化が実験候補を探すのに良い手法、という記事や報告がたくさんあって、いざやってみようと思い、色々ネット記事や書籍を調べてみました ただ、結局一番わかりやすかったのは金子先生の以下の書籍でした↓ この書籍は理論の...
…allel When the compact index client has been released after resolution and is lazily rebuilt, for example by bundle cache --all-platforms,
The bundler spec comes from the metadata source and is a default gem on any modern Ruby, so checking all specs disabled the memory release f
The remote index can now be released and lazily rebuilt while parallel install workers are running, so guard the memoization with a mutex to
Downloading a default gem always goes through cached_built_in_gem, which searches the remote index, so releasing it up front would force a f
cached_built_in_gem only needs the remote versions of one gem, so searching the full remote index is wasteful when it is not already materia
Resolution retains an EndpointSpecification for every version of every gem in the dependency closure, plus parsed checksums for all ~190k ge
This was the only forced GC in the codebase and would inject a full mark pause into any future caller of release_resolution_memory!. Allocat
specs.4.8 from rubygems.org contains 4.7M object links pointing at only 156k unique offsets, so allocating an element per occurrence makes l
libyaml only discounts the BOM when it detects the stream encoding by itself. Psych passes the encoding explicitly whenever it is known, and
If pos succeeded but the later seek failed, the rescue silently discarded the bytes read to check for a BOM. Only the initial pos call is ex
The C extension transcodes UTF-32 strings to UTF-8 with the BOM preserved, so they were truncated the same way as UTF-8 input. https://gith
https://github.com/ruby/psych/commit/a1dcb86aed Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Bumps the github-actions group with 2 updates in the / directory: [ruby/setup-ruby](https://github.com/ruby/setup-ruby) and [cygwin/cygwin-i
はじめに こんにちは。株式会社カウンターワークスにて、テックリードとして、リーシングのDXを実現するクラウド管理システム 「ショップカウンター エンタープライズ」(以下 SCE)を開発しております shim です。 前回の PostgreSQL 移行編に続いて、今回はマルチテナン
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.
Fix increment! with explicit query constraints
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Ractor safe readonly attributes
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
strip_comment returned the value unchanged when it consisted entirely of a comment, so "key: # comment" loaded as the literal stri
…keys and values Metadata may contain any UTF-8 keys and values, but the emitter wrote strings wrapped in quotes as plain scalars and never
…ed strings quote_string only escaped backslash, double quote and a few whitespace characters, so other C0 control characters were emitted
…ission Fix `String#truncate` with `:separator` and an over-long `:omission`