Tech – walker – 2026-07-02

59 items · updated 2026-07-02 23:35 UTC · RSS · Up to 2026-07

Merge pull request #57826 from Shopify/deprecate-mime-constants

github/rails/rails · 2026-07-02

Deprecate Mime::SET, Mime::LOOKUP and Mime::EXTENSION_LOOKUP

coroutine (amd64): annotate fiber switches for ThreadSanitizer

github/ruby/ruby · 2026-07-02

ThreadSanitizer cannot follow Ruby's userspace coroutine stack switches, so its per-thread shadow stack leaks across a switch and eventu

test/unit: optionally verify GC consistency after each test

github/ruby/ruby · 2026-07-02

Set RUBY_TEST_GC_VERIFY to call GC.verify_internal_consistency after each test. An integer >= 2 samples once every N tests; any other non

Specify attr! leaf on some ractor.rb functions

github/ruby/ruby · 2026-07-02

These are all simple getters which don't allocate or raise exceptions. We can declare them as a leaf and skip pushing frames inside YJIT/ZJI

Merge pull request #57917 from Shopify/attribute-methods-ractor-safe

github/rails/rails · 2026-07-02

Attribute methods ractor safe

Merge pull request #57953 from edaroit/fix-adapter-interrupt-masking

github/rails/rails · 2026-07-02

Mark a connection unverified when a non-StandardError interrupts a query

Mark a connection unverified when a non-StandardError interrupts a query

github/rails/rails · 2026-07-02

`with_raw_connection` only rescues `StandardError`, so an interrupt that is not a `StandardError` (a `Timeout`, or a fiber scheduler's c

UNIX系コマンドをWindowsに移植/macOS上にLinuxコンテナを統合/Ubuntu、開発環境をコマンド一発で構築ほか、2026年6月の人気記事

Publickey · 2026-07-02

枕は一度買えばずっと使えるものと思っていたのですが、どうやらへたってきたりつぶれてきたりしたら買い換えた方がいいらしい、ということを最近知りました。今使ってる枕、一体何年使ってきたんだ……。 というわけで今、新しい枕を買うべくネットやお店で...

Make AttributeMethods.attribute_methods_patterns ractor safe

github/rails/rails · 2026-07-02

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

Make AttributeMethods.alias_attribute ractor safe

github/rails/rails · 2026-07-02

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

MDE導入で見落とされがちなDefenderパターンファイル配布方式の設計ポイント

Qiita(trend) · 2026-07-02

想定読者 ・Microsoft Defender for Endpoint(MDE)の設計や導入に関わる方 ・Microsoft Defender Antivirus(MDAV)のパターンファイル更新や配布方式について理解したい方 ・更新方式の選択や設計判断に悩んでいる...

Deprecate Mime::SET, Mime::LOOKUP and Mime::EXTENSION_LOOKUP

github/rails/rails · 2026-07-02

These constants expose the MIME type registries directly, leaking mutable internal state. Everything they're used for is already covered

RailsとDBインデックス 〜なぜ index があると速いのか〜

Qiita(trend) · 2026-07-02

お疲れ様です! シリーズで計算量やレースコンディションを書いてきましたが、今回は DBインデックス です 「indexを貼ると速くなる」は知っていても、なぜ速いのか/どこに貼るべきかまで説明できると強いので、そこをまとめてみました。 興味ある方は読んでいただけると嬉しいで...

試験が大の苦手な人がAWS初級の資格を取得した話

Qiita(trend) · 2026-07-02

こんにちは ソーイ株式会社Webエンジニア2年目の村上です。 最近私事ですがAWSの初級資格であるAWS Certified AI Practitionerに合格しました。 今回はその振り返りと有効だった手を記す合格体験記になります。 業務でAWSの生成AIサービスを扱う機...

[ruby/json] Add a `sort_keys` option to the generator.

github/ruby/ruby · 2026-07-02

Fix: https://github.com/ruby/json/issues/976 https://github.com/ruby/json/commit/ea008e82fe Co-Authored-By: Jean Boussier <byroot@ruby-lan

Azure 担当になった新人さんへ。Azure に触れ始める最初の一歩

Qiita(trend) · 2026-07-02

1.はじめに 4月に入社した新人の方も、そろそろ3か月。 企業や組織によっては、すでに配属されている方もいれば、これから配属という方もいる頃でしょうか。 Azure 関連の部署に配属されて「何から始めればいいんだろう?」「Azure って難しそう…」と感じている方もいると...

Keep skipping test_port_receive_dnt_with_port_send on Windows (#17625)

github/ruby/ruby · 2026-07-02

* Increase timeout of test_port_receive_dnt_with_port_send Still times out with 90 seconds on Windows CI. https://github.com/ruby/ruby/act

Fix flaky TCPSocket#local_address implicit-hostname spec

github/ruby/ruby · 2026-07-02

The &quot;using an implicit hostname&quot; example connects with TCPSocket.new(nil, port) to a server bound to the IPv4 loopback, then asser

[DOC] Update Set#to_a documentation

github/ruby/ruby · 2026-07-02

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

[DOC] Update Set#superset? documentation

github/ruby/ruby · 2026-07-02

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

[DOC] Update Set#subtract documentation

github/ruby/ruby · 2026-07-02

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

[DOC] Update Set#subset? documentation

github/ruby/ruby · 2026-07-02

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

[DOC] Update Set#select! documentation

github/ruby/ruby · 2026-07-02

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

[DOC] Update Set#compare_by_identity{,?} documentation

github/ruby/ruby · 2026-07-02

Co-authored-by: Jeremy Evans <code@jeremyevans.net>

ZJIT: Merge C function specialization into type_specialize

github/ruby/ruby · 2026-07-02

No need for a separate pass. We can handle it with the other specialization.

ZJIT: Add Function::guard_type_recompile

github/ruby/ruby · 2026-07-02

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

ZJIT: Specialize InvokeBuiltin in type_specialize

github/ruby/ruby · 2026-07-02

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

ZJIT: Clean up confusing comment

github/ruby/ruby · 2026-07-02

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>

ZJIT: Remove optimize_c_calls pass

github/ruby/ruby · 2026-07-02

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

Update depend for psych

github/ruby/ruby · 2026-07-02

https://github.com/ruby/psych/pull/805 added files psych_emitter_fy.c and psych_parser_fy.c so we need to update the depend file too.

Annotate Symbol#empty? as leaf (#17464)

github/ruby/ruby · 2026-07-02

Move `Symbol#empty?` from the C `sym_empty` into `symbol.rb`, implemented as `RBOOL(RSTRING_LEN(rb_sym2str(self)) == 0)`, mirroring the exis

ADK 2.0 とループエンジニアリング

Qiita(trend) · 2026-07-02

KDDIアイレットの取り組みとして6月22日〜7月3日の期間で開催中の「Google Cloud Next '26 / Google I/O やってみた系ブログリレー」、本日は10日目の投稿です。 人間がメインで執筆しています。 ADK 2.0 とは? ADK は...

Make rb_shape_get_root_shape static

github/ruby/ruby · 2026-07-02

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

[DOC] Doc for Pathname#opendir

github/ruby/ruby · 2026-07-02

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

Trivial refactor around rb_ary_subseq_step

github/ruby/ruby · 2026-07-02

Check for `step` before the length, although it looks impossible to create 0-step `ArithmeticSequence` currently.

[ruby/rubygems] Fix Artifice.deactivate to properly restore Gem::Net:…

github/ruby/ruby · 2026-07-02

…:HTTP The hardcoded Gem::Net::HTTP in Artifice.deactivate, is actually the replaced Artifice::Net::HTTP. This doesn&#39;t restore the orig

[ruby/rubygems] Fix parallel_installer_spec by activating Artifice ex…

github/ruby/ruby · 2026-07-02

…plicitly. This commit fixes the following failures. The `require &quot;support/artifice/compact_index&quot;` is not enough because the fil

[ruby/rubygems] bundler: Fix Bundler::Fetcher for PQC support, adding…

github/ruby/ruby · 2026-07-02

… integration connection tests Create spec/bundler/fetcher/gem_remote_fetcher_local_ssl_server_spec.rb adding non-PQC and PQC server/client

Move EXTSTATIC check to PRE_LIBRUBY_UPDATE

github/ruby/ruby · 2026-07-02

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

Fix static-linked-exts dependency

github/ruby/ruby · 2026-07-02

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

[ruby/psych] Add positive tests for the libfyaml backend

github/ruby/ruby · 2026-07-02

Cover what the libfyaml backend does distinctly, each placed with the concern it belongs to: the Psych::BACKEND and Psych.libfyaml_version c

[ruby/psych] Address Copilot review feedback on the libfyaml backend

github/ruby/ruby · 2026-07-02

Reject canonical output with NotImplementedError instead of silently ignoring the request, and honor the implicit flag in start_sequence and

[ruby/psych] Require libfyaml 0.9 and build it from source in CI

github/ruby/ruby · 2026-07-02

The libfyaml-dev package on Ubuntu is 0.8, which segfaults psych&#39;s emitter, while 0.9.6 (used on macOS via Homebrew) passes the whole su

[ruby/psych] Harden the libfyaml backend after code review

github/ruby/ruby · 2026-07-02

Mark the reconstructed SyntaxError message UTF-8 instead of US-ASCII, so a diagnostic that embeds a multibyte snippet of the input does not

[ruby/psych] Transcode UTF-16 IO input to UTF-8 on the libfyaml backend

github/ruby/ruby · 2026-07-02

libfyaml only consumes UTF-8, so a UTF-16 IO fed through the chunked reader reached it as raw bytes and was rejected as invalid UTF-8. When

[ruby/psych] Add experimental opt-in libfyaml backend

github/ruby/ruby · 2026-07-02

Built only with --enable-libfyaml; without the flag the default libyaml backend is unchanged. The parser and emitter are reimplemented again

[ruby/psych] Match libyaml scalar emission on the libfyaml backend

github/ruby/ruby · 2026-07-02

Drop the tag when plain_implicit or quoted_implicit is set, matching how libyaml omits a tag that the value resolves to on reload; otherwise

[ruby/psych] Make the test suite backend-aware for the libfyaml backend

github/ruby/ruby · 2026-07-02

Add a libfyaml? helper and guard the tests that intentionally diverge on the experimental YAML 1.2 backend: yes/no/on/off are strings rather

[ruby/psych] Resolve booleans per YAML 1.2 on the libfyaml backend

github/ruby/ruby · 2026-07-02

Scalar type resolution happens in ScalarScanner, not the C backend, so swapping to libfyaml alone still resolved yes/no/on/off to booleans.

[ruby/psych] Free tag-directive buffers on the error path in start_do…

github/ruby/ruby · 2026-07-02

…cument The xcalloc&#39;d tag buffers leaked when StringValue, the tuple-length check, or the emit raised mid-way. Wrap the work in rb_ensu

[ruby/psych] Improve libfyaml parser fidelity and error reporting

github/ruby/ruby · 2026-07-02

Create a fresh parser per parse instead of reusing one via fy_parser_reset(), which left default tag handles unset and rejected bare (&quot;

Remove obsolete Windows skip guards from core tests

github/ruby/ruby · 2026-07-02

These guards no longer match current mswin behavior. The affected tests pass reliably on an x64-mswin64_140 build, repeatedly and under -j16

Give box_1 extension-loading test a longer timeout

github/ruby/ruby · 2026-07-02

Loading the extension libraries in a box exceeds the default 10-second assert_separately timeout under -j16 CI load. Use 60 seconds, matchin

[Tests] Add test cases for String#insert

github/ruby/ruby · 2026-07-02

Cover behavior documented in rdoc but not asserted in test/ruby/test_string.rb: * insert returns self * boundary negative index -(length +

Fix the gemspec error snippet on Windows drive-letter paths

github/ruby/ruby · 2026-07-02

Bundler::DSLError#to_s read the offending line number from `trace_line.split(&quot;:&quot;)[1]`. On Windows the backtrace path carries a dri

[DOC] Doc for Pathname#parent

github/ruby/ruby · 2026-07-02

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

Preserve CRLF lockfile line endings on Windows

github/ruby/ruby · 2026-07-02

write_lock decided whether to emit `\r\n` from @lockfile_contents, which is read in text mode and drops carriage returns on Windows. A `\r\n

Wrap the line ending probe in filesystem_access

github/ruby/ruby · 2026-07-02

Keeps IO errors on the raw read mapped to Bundler friendly errors like the other file operations in write_lock. Also rename the CRLF spec de

Remove stale Windows skips in bundler specs

github/ruby/ruby · 2026-07-02

These examples pass on Windows as is now. Materialization detects a yanked platform-specific locked spec and falls back to the generic varia