Tech – walker – 2026-09-26

56 items · updated 2026-09-26 23:35 UTC · RSS · Up to 2026-09

Remove CharNext from eval_intern.h

github/ruby/ruby · 2026-09-26

ruby_push_include was its last user. A path separator never appears inside a multibyte character, so walk RUBYLIB and -I by bytes everywhere

Do not skip path separators after multibyte characters on Windows

github/ruby/ruby · 2026-09-26

RUBYLIB and -I are UTF-8 on Windows, but ruby_push_include walked them with CharNext in the ANSI code page. With a DBCS code page such as 93

Do not skip path delimiters after multibyte characters in dln_find on…

github/ruby/ruby · 2026-09-26

… Windows The dln_find.c object built on its own receives UTF-8 command names from process.c, but scanned them with CharNext in the ANSI co

インターネット代を払い忘れた後、Nintendo Switchがインターネットに繋がらず大騒ぎした話

Qiita(trend) · 2026-09-26

はじめに 突然インターネットが繋がらなくなった!と思ったら、銀行口座残高が足りず引き落としできていなかった。 支払い前に色々疑って設定をかなり変えて、設定後に起きた話。 インフラの知識はあまりなく、すでに完成されたAWSのインフラに対してログ見たりLambda編集したり...

win32: Leave the select sets empty on timeout

github/ruby/ruby · 2026-09-26

The polling loop restored every socket into the sets before checking the deadline, so a timed-out select returned them all as ready. When I

win32: Keep all sockets in the sets while polling select

github/ruby/ruby · 2026-09-26

The polling loop saved and restored the sets through fixed fd_set buffers, which hold only FD_SETSIZE (64) sockets. From the second poll on

win32: Do not drop non-socket handles from select results

github/ruby/ruby · 2026-09-26

When FD_SETSIZE (64) or more sockets were ready, copy_fd stopped there and a ready pipe or other non-socket handle was left out of the resul

Stop including missing/file.h in dln.c and util.c

github/ruby/ruby · 2026-09-26

Nothing in them has used <fcntl.h> or the L_* and *_OK macros since 9afa9ba967 split dln_find.c out and f9e9eee677 removed ruby_add_su

Remove the redundant _WIN32 check in rb_group_member

github/ruby/ruby · 2026-09-26

Neither mswin nor mingw defines HAVE_GETGROUPS, so the remaining condition already covers Windows. Co-Authored-By: Claude Opus 5.5 <noreply

Remove Windows redefinitions that duplicate win32.h

github/ruby/ruby · 2026-09-26

include/ruby/win32.h already maps stat, lstat, access, truncate, utimensat, unlink, rename and getenv to the same rb_w32_* functions when co

Remove the disabled Windows branch in rb_str_encode_ospath

github/ruby/ruby · 2026-09-26

It has been `#if 0` since 04e95f8985 disabled it to avoid infinite recursion at loading transcoder. Co-Authored-By: Claude Opus 5.5 <norepl

Merge pull request #58886 from bastin27/fix-guides-typos

github/rails/rails · 2026-09-26

Fix typos in guides [ci skip]

[ruby/test-unit-ruby-core] Pass a message to Timeout.timeout only whe…

github/ruby/ruby · 2026-09-26

…n given Timeout.timeout in Ruby 2.3 takes at most two arguments, so EnvUtil.timeout always raised ArgumentError there. EnvUtil.terminate r

Fix buffer size accounting for `rb_str_tmp_frozen` roots

github/ruby/ruby · 2026-09-26

capa does not include the terminator, so when a buffer moves between strings with different terminator lengths the capacity has to be conver

Merge pull request #58878 from yahonda/skip-extension-member-objects

github/rails/rails · 2026-09-26

Skip extension member tables, enum types and schemas in the Ruby schema dump

Skip extension member tables, enum types and schemas in the Ruby sche…

github/rails/rails · 2026-09-26

…ma dump Tables, enum types and schemas created by `CREATE EXTENSION`, such as the `spatial_ref_sys` table of PostGIS, the `part_config` ta

新しい Copilot(Home・Code・Autopilot)と料金体系を整理し、大企業で広く展開する際の課題を考えてみる

Qiita(trend) · 2026-09-26

はじめに 2026年9月25日、Microsoft から「新しい Copilot」が発表されました。Copilot アプリそのものの形が変わる大きな発表で、あわせて料金体系も「ユーザー単位のライセンス」と「利用量に応じた課金」の2本立てに整理されています。 発表の内容自体...

ZJIT: Don't CheckInterrupts on inlined method return (#19065)

github/ruby/ruby · 2026-09-26

An inlined `leave` is just a `Jump` to the caller&#39;s continuation block, not a real return no frame pops there, so checking interrupts is

ZJIT: Add null support for opt_case_dispatch (#19040)

github/ruby/ruby · 2026-09-26

We are not going to optimized switch-based dispatch with the hash table, at least not yet, but we should let the interpreter profile the exe

[PRISM] Get rid of quadratic compilation in and/or nodes

github/ruby/ruby · 2026-09-26

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

生成AI送信前にPythonで個人情報をマスキングする

Qiita(trend) · 2026-09-26

はじめに 社内システムとLLMをつなごうとすると、モデルへの問い合わせそのものより先に考えたいことがあります。 その文字列を、そのまま外へ渡してよいのか。 たとえば問い合わせ履歴を要約したいとします。本文には相談内容だけでなく、氏名、メールアドレス、電話番号、住所、顧客番...

[ruby/prism] Rename `SymbolNode#value_loc` to `SymbolNode#content_loc`

github/ruby/ruby · 2026-09-26

Makes it consistent with nodes that contain text, like `StringNode` For those, `value` returns the literal. But we can&#39;t make it return

FlutterからFoundation Modelsを呼ぶ最小構成

Qiita(trend) · 2026-09-26

はじめに FlutterでiOSアプリを作っていると、Apple固有の新しいAPIを使いたい場面があります。 Foundation Modelsもその一つです。Apple Intelligenceを支えるオンデバイスモデルへ、SwiftのFoundationModelsフ...

Force postmortem GC to always run

github/ruby/ruby · 2026-09-26

Currently, if GC is disabled, postmortem GC is not ran when a Ractor dies. This can cause the object space to have issues because we need to

古いReact NativeアプリをNew Architectureへ上げ直す

Qiita(trend) · 2026-09-26

はじめに 数年前に作ったReact Nativeアプリを久しぶりに開くと、JavaScriptのコードそのものより、周辺環境の変化に戸惑うことがあります。 React Nativeでは0.76からNew Architectureがデフォルトになり、0.82からはNew A...

情シス全員がグローバル管理者になっていませんか? ~ Microsoft Entra PIM で始める特権管理

Qiita(trend) · 2026-09-26

はじめに あなたの組織では、情報システム部のメンバーへ、全員 グローバル管理者 のロールが永続的に付与されている状況になっているということは無いですか? 管理操作を行うんだから当たり前じゃないか...と思われるかもしれませんが、これには大きなセキュリティリスクが潜んでいる...

業務DBを読み取り専用MCPにしてClaudeから参照する

Qiita(trend) · 2026-09-26

はじめに AIから社内データを参照できるようにすると、「未対応のタスクを確認して」「この顧客の状態を調べて」といった自然文から業務データを扱えるようになります。 一方、業務DBへAIをつなぐときに気になるのが権限です。便利だからといって、SQLを自由に実行できる接続をその...

Fix IO#gets ignoring the limit argument

github/ruby/ruby · 2026-09-26

IO#gets first searches for separator candidates by looking for the last byte of the record separator, and then checks whether it is an actua

Expect arm64 as host_cpu on mswin

github/ruby/ruby · 2026-09-26

mswin takes the CPU name from MSVC, as it reports x64 rather than x86_64 on x64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Reap an exited child in EnvUtil.terminate

github/ruby/ruby · 2026-09-26

On Windows, Process.kill raises Errno::ESRCH for a child that has exited but has not been reaped, so terminate returned a stale $? and left

[Feature #21277] Run check on Windows 11-arm

github/ruby/ruby · 2026-09-26

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

Change raise to assertions in test_gc.rb

github/ruby/ruby · 2026-09-26

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

io: preserve wide character boundaries in raw reads

github/ruby/ruby · 2026-09-26

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

dir.c: Remove redundant case in has_magic

github/ruby/ruby · 2026-09-26

On Windows the default case already sets hasalpha for '~' because IS_WIN32 is 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

dir.c: Remove mkdir, rmdir and opendir overrides for Windows

github/ruby/ruby · 2026-09-26

include/ruby/win32.h and win32/dir.h have mapped them to the rb_w32_u* functions since 5b98b2ce39. Co-Authored-By: Claude Opus 5.5 <noreply

dir.c: Remove USE_NAME_ON_FS_BY_FNMATCH

github/ruby/ruby · 2026-09-26

DOSISH is defined only on _WIN32, which has used USE_NAME_ON_FS_REAL_BASENAME since 45df1c24d2, so this code is never compiled. It even pass

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

Qiita(trend) · 2026-09-26

前日夜の最新トレンド記事のAIポッドキャストを毎日朝7時に更新しています。 通勤中などにながら聴きしよう! (Qiita投稿は通勤には間に合わないと思われますが) フィードバックとか助かりますのでください ↓こちらから 出典 許可ルールを settings.json に書...

Add noreturn attribute to never called function

github/ruby/ruby · 2026-09-26

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

Don't lose consumed bytes when IO#read times out (#19053)

github/ruby/ruby · 2026-09-26

* io: preserve data after read timeout * io: make timeout regression tests robust against small send buffers A synchronous write of the wh

Document Windows 10 version 1809 as the minimum for mswin

github/ruby/ruby · 2026-09-26

Windows Server 2016 and Windows 10 Enterprise LTSB 2016 reach end of support by January 2027. Version 1809 is the oldest release still suppo

mswin: Update required Windows version to Windows 10

github/ruby/ruby · 2026-09-26

Update the default `NTVER` so that the declarations of APIs introduced in Windows 10 are enabled. `_WIN32_WINNT` has no value for version 18

Fix typos in guides [ci skip]

github/rails/rails · 2026-09-26

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

Fix init_is_float bug

github/ruby/ruby · 2026-09-26

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

Stub File.unlink without redefining it in the tempfile test

github/ruby/ruby · 2026-09-26

Redefining the method warns under RUBYOPT=-w, which CI uses, and the test expects nothing on stderr. Prepending a module leaves the original

Ignore EACCES when unlinking a tempfile from the finalizer

github/ruby/ruby · 2026-09-26

On Windows, File.unlink raises Errno::EACCES while another handle still holds the file open. Tempfile#unlink already ignores that, but Final

Reject MSVC older than 1915 in the public headers

github/ruby/ruby · 2026-09-26

Building ruby needs `_MSC_VER` 1915 or later, but the generated config.h accepts 1910 and later for such a build, so an extension could stil

regint.h: Remove the PRIdPTR fallback

github/ruby/ruby · 2026-09-26

It was for Visual C++ 2012 and older, which had no inttypes.h. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Fold MSVC version checks in the attribute detection headers

github/ruby/ruby · 2026-09-26

Every `RBIMPL_COMPILER_SINCE(MSVC, ...)` condition here holds for `_MSC_VER` 1915, the oldest version the headers accept. Co-Authored-By: C

Remove unused MSC_VERSION_SINCE and MSC_VERSION_BEFORE

github/ruby/ruby · 2026-09-26

The last use went away in cdb9893c55. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Remove the _aligned_malloc prototype for old Visual C++

github/ruby/ruby · 2026-09-26

malloc.h, which win32.h includes, declares it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

[DOC] Harmonize truncate methods

github/ruby/ruby · 2026-09-26

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

mswin: Stop building missing/langinfo.c

github/ruby/ruby · 2026-09-26

Only the Cygwin branch in localeinit.c calls nl_langinfo_codeset, so on mswin the object just added an unused export to the DLL. Co-Authore

win32: Detect only vcruntime in rtname.cmd

github/ruby/ruby · 2026-09-26

MSVC 1915 or later is required and Makefile.sub rejects RT_VER below 140, so the values made for msvcrt and msvcrNN only led to that error.

win32: Remove the PROCESSOR_FLAG default of ARCH_FLAG

github/ruby/ruby · 2026-09-26

PROCESSOR_FLAG lost its only definition in cdb9893c55, so ARCH_FLAG has been empty unless given explicitly. Co-Authored-By: Claude Opus 5.5

[ruby/resolv] Skip TestWin32Config without the win32/resolv extension

github/ruby/ruby · 2026-09-26

JRuby on Windows loads its bundled `win32/resolv`, which has no `tcpip_params`, so two of these tests raised NoMethodError there. https://g

Dump Hash AR/ST status in ObjectSpace.dump

github/ruby/ruby · 2026-09-26

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