Tech – walker – 2026-09-25

73 items · updated 2026-09-25 23:35 UTC · RSS · Up to 2026-09

win32/resolv: Cast method functions with RUBY_METHOD_FUNC

github/ruby/ruby · 2026-09-25

GCC 15 in C23 mode reads `ANYARGS` as `(void)`, so the bare function pointers are rejected against Ruby headers that do not add the cast the

Fix the Win32::Resolv guard in test_win32_config.rb

github/ruby/ruby · 2026-09-25

`Win32::Resolve` is never defined, so these tests were not run anywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

[DOC] Add GC.start global option

github/ruby/ruby · 2026-09-25

This option defaults to `true` like all other `GC.start` options. It only has effect for the default GC and when there are multiple running

VRChatワールド「すんごいカメレオン」同期技術解説

Qiita(trend) · 2026-09-25

はじめに めっちゃ流行った某塗り絵かくれんぼゲームをVRでも遊びたいと思い、VRChatで再現してみることにした。 完成品はこちら。 テクスチャを自由にペイントし、それを他のプレイヤーに同期するというのはVRChatのUdon帯域制限下ではなかなか野心的なプロ...

Fix reuse of MatchData assigned to $~

github/ruby/ruby · 2026-09-25

$~ = m = /a/.match("a").dup /b/ =~ "b" p m [Bug #22381]

Fix Module/Class#dup of frozen object

github/ruby/ruby · 2026-09-25

This code should not raise an error: ``` @var = Class.new.freeze.dup # unfrozen copy @var.instance_variable_set(:@test, 123) ``` It was rai

GC: verify consistency of Ractor local registered addresses.

github/ruby/ruby · 2026-09-25

Now that registrations are Ractor-scoped, a store of another Ractor&#39;s unshareable object through a registered address is a use-after-fre

json: reject non-shareable default sort_keys proc from non-main Ractors

github/ruby/ruby · 2026-09-25

JSON::State.default_sort_keys_proc is registered at extension load time so it&#39;s owned by the main Ractor. When we implement the registr

dir.c: keep GC-registered globals shareable or unregistered

github/ruby/ruby · 2026-09-25

last_cwd is set on init in the main Ractor, but Dir.pwd attempts to store into it. When this is done on a child Ractor we violate the invari

GC: scope rb_gc_register_address to the calling Ractor

github/ruby/ruby · 2026-09-25

The registered_globals list made every Ractor&#39;s GC scan every slot under a shared lock. This commit splits it into per-Ractor lists. We

無料枠AI APIを使い倒す:9RouterとOmniRouteで自分専用のAIゲートウェイを構築する

Qiita(trend) · 2026-09-25

記事概要 個人開発やプロトタイプ(PoC/MVP)、学習用途向けに、無料枠(Free Tier)を提供するAI APIプロバイダー(Gemini、OpenRouter、Agnes、Groqなど)を最大限に活用する方法を解説します。レート制限(429エラー)による作業の中...

Improve headings in Guides Guidelines guide. (#58819)

github/rails/rails · 2026-09-25

Only use h2 for Guidelines, HTML Guides and EPUB guides headings. Wrap columns to 80 characters.

[RF-DOCS] Update the guide for using Rails as an API (#57573)

github/rails/rails · 2026-09-25

- Changed the structure of the guide to be more general and less like a step-by-step tutorial. This is in keeping with the rest of the guide

[RF-DOCS] Update the JavaScript in Rails guide (#58165)

github/rails/rails · 2026-09-25

A summary of the key changes: * Improve the narrative flow regarding import-map and JavaScript bundlers. * Simplify and compress the sectio

[Bug #22383] Fix inverted `STR_SHARED` check in `rb_str_tmp_frozen_re…

github/ruby/ruby · 2026-09-25

…lease` 45a2c95d0f7184c9cd64ddd26699af31bea8675d mistakenly rewrote FL_TEST_RAW(orig, STR_SHARED) &amp;&amp; !FL_TEST_RAW(orig, STR_TM

Skip the real structure dump test when MySQL's mysqldump targets MariaDB

github/rails/rails · 2026-09-25

The nightly build runs the MariaDB jobs on `rubylang/ruby:master`, which is based on Ubuntu 24.04. Its `default-mysql-client` is MySQL 8.0,

Rewrite the debugging guide (#58263)

github/rails/rails · 2026-09-25

Details ------- * Added a brief &quot;Introduction&quot; section. * Moved the section on the `debug` gem to the top. * Simplified the conte

[RF-Docs] [ci-skip] Update Active Record Composite Primary Keys Guide…

github/rails/rails · 2026-09-25

… (#57348) This PR is part of the Rails Foundation documentation project and updates the Active Record Composite Primary Keys Guide. One o

AWSのNAT Gatewayで料金が発生する仕組みを整理してみた

Qiita(trend) · 2026-09-25

こんにちは、ソーイ株式会社の髙﨑です。 受託開発でAWSの構成を扱う中で、NAT Gatewayの通信経路と料金について調べる機会がありました。 特に、大量のデータをAWS外部のサービスへ送信する場合、どの経路を通って通信しているのかによって、利用するAWSサービスや料金が...

Merge pull request #58855 from yahonda/dump-loadable-create-schema

github/rails/rails · 2026-09-25

Drop needless schema qualification from db/schema.rb on PostgreSQL

Vercelの「インポートできます」メールは何を見て送られてくるのか 61リポジトリで確かめた

Zenn · 2026-09-25

きっかけ GitHub にリポジトリを作って push すると、Vercel から「A new project in ○○ is available to import and deploy on Vercel.」というメールが届くことがあります。この記事は、このメールがどんな条

Fix up for wasm

github/ruby/ruby · 2026-09-25

`stack_maxsize` is unknown on wasm and set to 0.

Fix overlapping GC CPU timing during global compaction

github/ruby/ruby · 2026-09-25

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

Update the zjit hir tests for new GC parameter

github/ruby/ruby · 2026-09-25

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

Add a per-Ractor GC timing example

github/ruby/ruby · 2026-09-25

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

Add global scope to GC.stat

github/ruby/ruby · 2026-09-25

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

Do not schema-qualify dumped objects in the current schema

github/rails/rails · 2026-09-25

Once more than one schema is dumped, every table and enum type was qualified with its schema, so adding an extension&#39;s schema to `schema

Do not schema-qualify dumped extensions whose control file fixes the …

github/rails/rails · 2026-09-25

…schema Every extension whose objects live outside the current schema was dumped schema-qualified, so `enable_extension &quot;tiger.postgis

Claude Code の週間リミット、気づいたら尽きてない? →「いつ尽きるか」を予測する macOS ウィジェットを作った

Qiita(trend) · 2026-09-25

はじめに Claude Code を使っていて、こんな経験はありませんか? 作業が乗ってきたところで、週間リミットに達して手が止まる /usage を何度も打っては、「このペースで週末まで持つのか?」と暗算している Fable などのモデル別の上限だけ先に尽きていたこ...

Reserve more machine stack space for ASan builds

github/ruby/ruby · 2026-09-25

Unoptimized ASan VM frames can exhaust the C stack before `SystemStackError` is raised with the normal reserve.

Honor the buffer size in Darwin `backtrace`

github/ruby/ruby · 2026-09-25

Deep native stacks can overrun the caller's buffer while reporting a crash because the Darwin implementation ignores `size`.

Merge pull request #58875 from sedubois/postgresql-fk-check-schema-qu…

github/rails/rails · 2026-09-25

…alified-regclass Schema-qualify the `regclass` cast in `check_all_foreign_keys_valid!`

2026年9月25日 今日のQiitaトレンド記事をポッドキャストで聴こう!

Qiita(trend) · 2026-09-25

前日夜の最新トレンド記事のAIポッドキャストを毎日朝7時に更新しています。 通勤中などにながら聴きしよう! (Qiita投稿は通勤には間に合わないと思われますが) フィードバックとか助かりますのでください ↓こちらから 出典 50代プログラミング未経験者が7年かけてAtC...

Fix crash in Array#pack when format string modified

github/ruby/ruby · 2026-09-25

If the format string is modified during Array#pack (by conversion such as to_str, to_int, etc.), it can cause an use-after-free since readin

Merge pull request #58873 from bastin27/fix-layouts-rendering-typos

github/rails/rails · 2026-09-25

Fix typos in Layouts and Rendering guide [ci skip]

Schema-qualify the regclass cast in check_all_foreign_keys_valid!

github/rails/rails · 2026-09-25

On PostgreSQL before 18.4, `check_all_foreign_keys_valid!` resets `convalidated` on each foreign key before validating it again, and matches

Merge pull request #58872 from SulimanAbdulrazzaq/fix/big-integer-cas…

github/rails/rails · 2026-09-25

…t-truncation Fix BigInteger casting truncating strings to 16 bytes

Fix BigInteger casting truncating strings to 16 bytes

github/rails/rails · 2026-09-25

Since 6ee1adf7d, `ActiveModel::Type::Integer` only casts the first `_limit * 4` bytes of a string. `BigInteger` removes the range limit but

prism: Use _BitScanForward64 only on 64-bit MSVC

github/ruby/ruby · 2026-09-25

_BitScanForward64 is not available for 32-bit x86, so the i386-mswin32 build failed at prism.c. Use the portable fallback there, as ntz_int6

Drop _WIN32 conditions covered by HAVE_* macros

github/ruby/ruby · 2026-09-25

win32/Makefile.sub and the mingw part of configure.ac already define HAVE_FCNTL_H, HAVE_SPAWNV and HAVE_TIMES, and leave HAVE_SYS_IOCTL_H un

Remove HAVE_SPAWNVE code in pipe_open

github/ruby/ruby · 2026-09-25

Neither configure.ac nor win32/Makefile.sub defines HAVE_SPAWNVE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Include <io.h> only for Cygwin in io.c

github/ruby/ruby · 2026-09-25

On Windows, ruby/win32.h already includes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Remove the Windows branch in nogvl_fdatasync

github/ruby/ruby · 2026-09-25

HAVE_FDATASYNC is never defined on Windows. win32/Makefile.sub does not define it and the mingw CRT has no fdatasync, so the branch has neve

Remove non-Windows spawnv helpers in process.c

github/ruby/ruby · 2026-09-25

USE_SPAWNV needs spawnv without a working fork, which only Windows has since OS/2 support was removed. The non-Windows proc_spawn_cmd_intern

Remove the __BOW__ check in io.c

github/ruby/ruby · 2026-09-25

__BOW__ (BSD on Windows) appears nowhere else in the tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

auto_review_pr.rb: Stop redirecting Onigmo changes upstream

github/ruby/ruby · 2026-09-25

Regexp fixes are merged into ruby/ruby directly and the copies have diverged, so asking contributors to file them to k-takata/Onigmo only mi

[ruby/rubygems] Keep credentials on redirects only within the same or…

github/ruby/ruby · 2026-09-25

…igin The Bundler downloader, Gem::RemoteFetcher and the compact index fetcher re-applied the source&#39;s userinfo whenever a redirect sta

Merge pull request #58306 from Shopify/ar_ractorize_4

github/rails/rails · 2026-09-25

Active Record Ractor-friendly connection handling

Silence perform_query redefinition warnings in async failure stub

github/rails/rails · 2026-09-25

RactorConnectionProxy defines perform_query as an own method, so the stub's define_method (and its restore) redefines an existing method and

Add sqlite3_ractor test profile to run the suite through the Ractor p…

github/rails/rails · 2026-09-25

…roxy Routes every connection through RactorConnectionHandler on the main Ractor (temporarily as a self-proxy while we ractorize the rest o

Introduce Ractor connection handler, pool, and proxy

github/rails/rails · 2026-09-25

Ractor-friendly connection handler, pool, and proxy classes for use on non-main Ractors, which will dispatch to the main Ractor to execute a

Bump minimum ractor-dispatch to 0.3

github/rails/rails · 2026-09-25

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

Merge pull request #58874 from Shopify/herb_0.11_fix

github/rails/rails · 2026-09-25

Manually specify security validator in herb checker

Etc.uname: Remove Win32s and Win9x branches

github/ruby/ruby · 2026-09-25

GetVersionExW always reports VER_PLATFORM_WIN32_NT, since Windows 9x support had been dropped in 8a02eed723 before Etc.uname was implemented

Etc.uname: Return "ARM64" as the machine on Windows ARM64

github/ruby/ruby · 2026-09-25

GetSystemInfo reports PROCESSOR_ARCHITECTURE_ARM64 there, which fell through to "unknown". Co-Authored-By: Claude Opus 5.5 <noreply@anthrop

mswin: Reject MSVC older than 1915 at the first version check

github/ruby/ruby · 2026-09-25

Since 87435fe232 the build has needed the conforming preprocessor, which MSVC gained in 1915, so 1900 through 1914 passed this check and fai

Document Visual Studio 2017 version 15.8 as the minimum for mswin

github/ruby/ruby · 2026-09-25

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

mswin: Reject MSVC older than 1915 at configure time

github/ruby/ruby · 2026-09-25

Otherwise configure succeeds and the same floor in Makefile.sub stops the first nmake. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.c

Reject a compiled program too big for its offset type

github/ruby/ruby · 2026-09-25

Concatenated large repeats reach a program past INT_MAX from a few hundred kilobytes of source, and the offsets emitted into it wrap. Cap t

Avoid overflow in the quantifier expansion size check

github/ruby/ruby · 2026-09-25

Nested bounded repeats let the int product tlen * qn-&gt;lower overflow, so the check that keeps the compiler from unrolling a large repeat

Fix typos in Layouts and Rendering guide [ci skip]

github/rails/rails · 2026-09-25

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

Fix flaky TestYJIT#test_max_compile_time

github/ruby/ruby · 2026-09-25

Compiling the setter call could spend the whole 1ms budget on a busy CI runner, which stopped compilation before the next eval and failed wi

情シス依頼の一次受付をAI Agentに任せるっきゅ!

Zenn · 2026-09-25

AI・IT基盤チームの渡辺です。私たちのチームは情シス業務も兼任しているのですが、担当者はいつもあっぷあっぷしています。少しでも負担を減らそうと作ったのが、Slackで依頼の一次受付をするBot、通称「あざらし」です。本記事ではこちらのBotの開発と運用をするにあたり、上手くいっ

Bump taiki-e/install-action

github/ruby/ruby · 2026-09-25

Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action). Upda

/claude-api prompt-audit で棚卸ししたら、Claude Opus 5.5 化で外れた設定がぞろぞろ出てきた

Zenn · 2026-09-25

TL;DR Claude Code 同梱の /claude-api prompt-audit で、CLAUDE.md やプロンプトの古い書き方を洗い出せる 自前のエージェントに当てたら、言い回しより「書いてあることと実物のずれ」がぞろぞろ出た opus がいつの間にか Opu

[ruby/rubygems] Apply version overrides when validating locked depend…

github/ruby/ruby · 2026-09-25

…encies A transitive override outside the parent&#39;s requirement made check_lockfile report the parent as having invalid dependencies, so

[ruby/rubygems] Stop pre-unlocking gems named by metadata overrides

github/ruby/ruby · 2026-09-25

The lockfile does not record overrides, so unlocking for a required_ruby_version or required_rubygems_version override happened on every run

[ruby/rubygems] Keep transitive-only override targets locked when the…

github/ruby/ruby · 2026-09-25

… lockfile satisfies them converge_overrides_outside_dependencies marked every transitive-only version override as a changed dependency, so

[ruby/rubygems] Remove the build_info file on uninstall

github/ruby/ruby · 2026-09-25

A reinstall of the same version without build arguments picked up the stale file, so the arguments of the uninstalled copy came back through

ステートマシンでフォームの分岐を管理して失敗した (データから導出できる値を状態にすべきでない)

Zenn · 2026-09-25

! Vue.jsを使っていますが、コアのロジックはTypeScriptで実装してあるのでVue.jsが分からなくても問題ありません。 はじめに ユーザが入力した値によって「遷移する画面」と「ユーザが選択可能な項目」が変わるフォームを実装したことがありました。例えばサンドウ

[ruby/rubygems] Identify ML-DSA by OID and gate tests by capability

github/ruby/ruby · 2026-09-25

RubyGems currently assumes an SSL library either supports every ML-DSA operation or none of them. It also identifies ML-DSA keys using libra

Fold USE_NTFS_ADS into USE_NTFS

github/ruby/ruby · 2026-09-25

Since a094c99b74 the macro only switches isADS, and every use of isADS is inside `#if USE_NTFS`, so its non-NTFS definition was never refere

11年生本番データ飛ばす

Zenn · 2026-09-25

はじめに 早いもので、エンジニア歴 11 年目になりました。これまでの人生で、本番データを飛ばしたことは一度もありませんでした。 それが、シルバーウィーク明けの初日に起きました。 連休明けの記憶なんて当てにならないということです。連休前に何をして、どの URL を触っていたかなん