Tech – walker – 2026-06-12

52 items · updated 2026-06-12 23:35 UTC · RSS · Up to 2026-06

ZJIT: Call make_equal_to when folding GuardBitEquals (#17308)

github/ruby/ruby · 2026-06-12

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>

ZJIT: Just make a new block (#17307)

github/ruby/ruby · 2026-06-12

I don't know what the original code was intending to do but we should always be making a new block.

Merge pull request #57680 from Shopify/amomchilov/safer-assert_no_cha…

github/rails/rails · 2026-06-12

…nges Ensure `assert_no_changes` isn't given a static value

ZJIT: ivar code cleanup (#17269)

github/ruby/ruby · 2026-06-12

* 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

wbcheck: Implement rb_gc_impl_get_vm_context

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

ZJIT: Preserve cfunc props on non-leaf super calls (#17279)

github/ruby/ruby · 2026-06-12

## Summary Take return_type and elidable from props on the super CCallWithFrame / CCallVariadic paths instead of hardcoding BasicObject / f

Add ASAN ci build

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

Godot:当たり判定でキャラが吹き飛ぶ原因と解決(Area2Dを使う理由)

Qiita(trend) · 2026-06-12

こんにちは、ハートランド・データ株式会社の増田です。 社内の"技術者研修"という活動で、ゲーム開発プロジェクトに参加したので、そちらの活動ブログになります。 ゲーム開発プロジェクトにて、弊社オリジナルキャラクターの"バグレスくん"をプレイヤーとして遊ぶゲームを開発することに...

Antigravity IDEでバイブコーディングを試してみた:非エンジニアでも集計ツールが作れるか検証

Qiita(trend) · 2026-06-12

こんにちは!株式会社DearOneの小門です。 バックエンドのチームで、主にタスクや人の管理、システムの保守とかをやってます。 この記事でわかること - Antigravity IDEのインストールから動作確認までの手順 - プロンプトだけでCSV集計ツールを作る具体的な流...

Merge pull request #57656 from 55728/fix-cpk-excluding

github/rails/rails · 2026-06-12

Support composite primary keys in `excluding`

Support composite primary keys in `excluding`

github/rails/rails · 2026-06-12

`Relation#excluding` (and its alias `without`) built the exclusion predicate with `predicate_builder[primary_key, records]`. For a composite

[DOC] Harmonize join methods

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

[DOC] Harmonize grpowned? methods

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

Merge pull request #57670 from 55728/fix-xml-from-xml-date-strip

github/rails/rails · 2026-06-12

Fix `Hash.from_xml` raising `Date::Error` on `type="date"` values surrounded by whitespace

Fix Hash.from_xml raising Date::Error on type="date" values surrounde…

github/rails/rails · 2026-06-12

…d by whitespace The &quot;date&quot; typecast in XMLMini::PARSING called Date.strptime on the raw node content, which does not tolerate su

Fix data race on heap_pages.sorted in rb_gc_register_mark_object

github/ruby/ruby · 2026-06-12

rb_gc_register_mark_object() called rb_gc_impl_pointer_to_heap_p() without holding the VM lock. The lookup bsearches over objspace-&gt;heap_

Merge pull request #57057 from matthewd/pg-typed-exceptions

github/rails/rails · 2026-06-12

Report Postgres FATAL exceptions more clearly

Merge pull request #57671 from 55728/fix-memory-store-cleanup-deseria…

github/rails/rails · 2026-06-12

…lize Fix `MemoryStore#cleanup` raising `NoMethodError` with a non-DupCoder serializer

Fix MemoryStore#cleanup raising NoMethodError with a non-DupCoder ser…

github/rails/rails · 2026-06-12

…ializer MemoryStore#cleanup read each value out of @data and called expired? on it. With the default DupCoder @data holds Entry objects, b

Merge pull request #57672 from 55728/fix-advance-mutates-options-hash

github/rails/rails · 2026-06-12

Fix `Time#advance` and `DateTime#advance` mutating the caller's options hash

Fix flaky test_tracepoint_callee_id

github/ruby/ruby · 2026-06-12

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

compile.c: fix dupstring-of-Regexp from folded /o regexp

github/ruby/ruby · 2026-06-12

The peephole optimizer folds &quot;dupstring str; toregexp&quot; (and the dupchilledstring / putobject-string variants) into a single litera

Why pnpm no longer expands environment variables in a repository&#039;s .npmrc | pnpm

リアルタイム版 JSer.info · 2026-06-12

悪意あるリポジトリで.npmrcを使って環境変数が盗まれる問題への対策として、pnpmがリポジトリ管理の.npmrcで環境変数を展開しなくなった経緯の解説。v10.34.2/v11.5.3以降、リポジトリ内の.npmrcやpnpm-workspace.yamlの認証情報やレジスト

別モデルによるクロスレビューは有効なのか?同一モデルの継続セッション・別セッションと比較する(React習熟度スコア基準)

Zenn · 2026-06-12

先日、クロスレビューについて、効果があるのかないのか、両者とも根拠がない印象の感想合戦になりかけたので、実際にベンチマークを行うことにしました。 実施内容 うひょ氏のReact習熟度のベンチマークが一番扱いやすそうだったので、こちらを使わせていただきました。 https://

Merge pull request #57686 from yahonda/re-raise-redis-errors-in-store…

github/rails/rails · 2026-06-12

…-test-base Re-raise suppressed RedisClient errors in all RedisCacheStoreTests classes

[ruby/psych] Test other whitespace separators in datetime-like strings

github/ruby/ruby · 2026-06-12

The TIME pattern accepts any whitespace run between date and time, so cover vertical tab, carriage return, form feed, and mixed separators i

[ruby/psych] Fix parsing of strings with tab-separated datetime

github/ruby/ruby · 2026-06-12

https://github.com/ruby/psych/commit/0ac39324a0

結局ベイズ最適化ってどうやって使うの?という疑問を解決するため具体例を示して理解する

Qiita(trend) · 2026-06-12

結論、金子先生の書籍が一番わかりやすかった☝️ ベイズ最適化が実験候補を探すのに良い手法、という記事や報告がたくさんあって、いざやってみようと思い、色々ネット記事や書籍を調べてみました ただ、結局一番わかりやすかったのは金子先生の以下の書籍でした↓ この書籍は理論の...

[ruby/rubygems] Update the versions file before fetching infos in par…

github/ruby/ruby · 2026-06-12

…allel When the compact index client has been released after resolution and is lazily rebuilt, for example by bundle cache --all-platforms,

[ruby/rubygems] Scope the default gem check to RubyGems sources

github/ruby/ruby · 2026-06-12

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

[ruby/rubygems] Synchronize remote_specs memoization

github/ruby/ruby · 2026-06-12

The remote index can now be released and lazily rebuilt while parallel install workers are running, so guard the memoization with a mutex to

[ruby/rubygems] Keep resolution memory when installing default gems

github/ruby/ruby · 2026-06-12

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

[ruby/rubygems] Fetch a single name when caching built-in gems

github/ruby/ruby · 2026-06-12

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

[ruby/rubygems] Release resolution memory before installing gems

github/ruby/ruby · 2026-06-12

Resolution retains an EndpointSpecification for every version of every gem in the dependency closure, plus parsed checksums for all ~190k ge

[ruby/rubygems] Drop explicit GC.start when releasing resolution memory

github/ruby/ruby · 2026-06-12

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

[ruby/rubygems] Intern link elements in SafeMarshal reader

github/ruby/ruby · 2026-06-12

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

[ruby/psych] Strip a leading byte order mark before parsing

github/ruby/ruby · 2026-06-12

libyaml only discounts the BOM when it detects the stream encoding by itself. Psych passes the encoding explicitly whenever it is known, and

[ruby/psych] Restrict the BOM skip rescue to the seekability probe

github/ruby/ruby · 2026-06-12

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

[ruby/psych] Strip the BOM from UTF-32 strings too

github/ruby/ruby · 2026-06-12

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

[ruby/psych] Use String#delete_prefix to strip the BOM

github/ruby/ruby · 2026-06-12

https://github.com/ruby/psych/commit/a1dcb86aed Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Bump the github-actions group across 1 directory with 2 updates

github/ruby/ruby · 2026-06-12

Bumps the github-actions group with 2 updates in the / directory: [ruby/setup-ruby](https://github.com/ruby/setup-ruby) and [cygwin/cygwin-i

アプリ層とDB層の二重防御でテナント分離を担保する(マルチテナント化連載 第3回・二重防御編)

Zenn · 2026-06-12

はじめに こんにちは。株式会社カウンターワークスにて、テックリードとして、リーシングのDXを実現するクラウド管理システム 「ショップカウンター エンタープライズ」(以下 SCE)を開発しております shim です。 前回の PostgreSQL 移行編に続いて、今回はマルチテナン

[DOC] Update bundled gems list at 5d513196576d38f0adb1a948caff6f

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

Update the revision for ruby/debug#1181

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

Merge pull request #57679 from jsaubry/js-fix-query-constraint-increment

github/rails/rails · 2026-06-12

Fix increment! with explicit query constraints

[Feature #17944] Remove no longer used functions

github/ruby/ruby · 2026-06-12

The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.

Merge pull request #57682 from Shopify/ractor-safe-readonly-attributes

github/rails/rails · 2026-06-12

Ractor safe readonly attributes

Make _attr_readonly and Base#attr_readonly ractor safe.

github/rails/rails · 2026-06-12

Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.

[ruby/rubygems] Strip comment-only mapping values in Gem::YAMLSerializer

github/ruby/ruby · 2026-06-12

strip_comment returned the value unchanged when it consisted entirely of a comment, so &quot;key: # comment&quot; loaded as the literal stri

[ruby/rubygems] Fix Gem::YAMLSerializer roundtrip of quoted metadata …

github/ruby/ruby · 2026-06-12

…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

[ruby/rubygems] Escape control characters in Gem::YAMLSerializer quot…

github/ruby/ruby · 2026-06-12

…ed strings quote_string only escaped backslash, double quote and a few whitespace characters, so other C0 control characters were emitted

Merge pull request #57674 from 55728/fix-string-truncate-separator-om…

github/rails/rails · 2026-06-12

…ission Fix `String#truncate` with `:separator` and an over-long `:omission`