[ruby/resolv] Apply the request deadline to TCP frame reads
Requester#request computes a monotonic time limit but only the socket readability wait honoured it, so a peer that sends an incomplete frame
Requester#request computes a monotonic time limit but only the socket readability wait honoured it, so a peer that sends an incomplete frame
Giving up part way through a frame leaves the stream between frame boundaries, so reusing the cached requester made every later attempt read
With the changelog dump gone, the pre-update notice is where users decide whether to update, so link the versioned CHANGELOG.md there too, m
…elog on `gem update --system` CHANGELOG.md is over 7,000 lines of generated PR titles, and printing every entry since the previous version
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.
はじめに こんにちは,Latte72 です. この度,セキュリティキャンプ2026全国大会の 開発L2ゼミ に参加してきました. 自分は特に日記などを取ったりしていないにもかかわらず,参加してから一週間も経ってから執筆をしているので,記憶があいまいな部分も多く,写真が多め...
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Update docs site navigation (#11744) · remix-run/r
`null?` buffer isn't MemoryView available. Not `null?` buffer is MemoryView available. It can be exported as a 1-dimensional contiguous
If we don't pre-size the HashMap, it has to re-hash when resizing. Hashing a SideExit is slow. Give a size hint so we only hash ~once per ex
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Most of the time in a production app most iseqs won't have iseq->body->variable set to anything non-default. We can allocate it la
Raise YJIT case dispatch specialization limit to 256
Query predicate expressions for Active Record types, take 2
A join compares stored values, so each side needs its own type's expression.
Some storage representations compare through database expressions that do not belong in Ruby casting or serialization. Allow Active Record t
This reverts commit f72c9321c7afb634893e33c9c47d29551fb0cc20.
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
For safety, ensure that all intents that have started do get finished, even if the caller somehow forgets about them.
Warnings are part of a query's delivered outcome: store warnings on the intent, and run the configured warning action when the caller ob
The block form only works for blocking query execution, and we want QueryIntent to be more flexible. This also makes for a cleaner break: th
We've previously relied on the caller 1) being inside a rescue, and 2) immediately raising the return value, to set the cause. In antici
Strip user-supplied `<action-text-markdown>` while canonicalizing
オープンソースとして開発されているOLAPデータベース「DuckDB」の開発を主導しているDuckDB Foundationは、今年の秋にリリース予定の「DuckDB 2.0」にどのような新機能が搭載予定なのかを紹介したブログ「A Prev...
(https://github.com/ruby/json/pull/1062) Add JSON::ParserError#json_path https://github.com/ruby/json/commit/9ae76bdd3d Co-authored-by: J
We only use either positions and succ_index_table (when VM_INSN_INFO_TABLE_IMPL == 2, positions is converted to succ_index_table), so we was
前日夜の最新トレンド記事のAIポッドキャストを毎日朝7時に更新しています。 通勤中などにながら聴きしよう! (Qiita投稿は通勤には間に合わないと思われますが) フィードバックとか助かりますのでください ↓こちらから 出典 真似で伸びる人は、コードではなく判断基準を写し...
※ この記事の日本語には、少し不自然な部分があるかもしれません。AIの言語サポートを利用しながら作成しています。 目次 はじめに 1. システム思考のフレームワークを築く(寄り道学習ではなく) 2. 技術的思考を明確に表現する 3. エンドツーエンドの思考を育てる 4...
フロントエンドの Web アプリケーションを開発する用に、私がよく使う設定を盛り込んだテンプレートリポジトリを育てています。 https://github.com/newt239/next-template リポジトリ名は next-template となっていますが、React
Saves on potentially having to reallocate multiple times.
Start slower and less predictable shards earlier to reduce the overall workflow completion time.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
A problem I ran into in production, is that the boot sequence, which tend to be allocation heavy, would cause the `allocatable_bytes` (or pr
Allow `translate`'s `scope:` argument to resolve relative i18n keys with leading period
この記事ではClaude Designによる学会用ポスター作成で分かったことについて紹介します。 TLDL Claude Designのポスター作成能力をざっくり言うと レイアウト面(ブロックの配置、色の作り方) 強い人 > Claude Design >
- All `null?` buffers will result in zero-length operations.
…estamp The resolver already pins its cooldown clock via cooldown_now; do the same here so every annotation in one run shares the same refe
…ions Review finding UX-3 (round 2). https://github.com/ruby/rubygems/commit/0fe5f1591e Co-Authored-By: Claude Fable 5 <noreply@anthropic
They flip the same strict flag as --filter-strict, so the cooldown caveat applies to them too. Review finding UX-1 (round 3). https://githu
Unreachable today because specs_for_outdated_check yields one spec per name, but keying on the argument that feeds the computation keeps the
…ooldown In strict mode the resolved version is already cooldown-filtered, so no cooldown annotations appear. Pin that down. Review finding
…note No test exercised the "1 more day" path. Review finding GEM-2. https://github.com/ruby/rubygems/commit/a1baec1d4b Co-Authored-By: C
The candidate list was recomputed for the same gem by retrieve_active_spec and newest_out_of_cooldown. Review finding API-2. https://github
Review finding GEM-1. https://github.com/ruby/rubygems/commit/595c21856d Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…outdated(1) The man page enumerates the cooldown output tokens, so the two tokens added for #9624 belong there too. Review finding UX-1.
The table said "1.5.0 available", but "available" already denotes the opposite state in the install summary, which repor
…dated With cooldown enabled, "newest" is often a version still inside the cooldown window and the newest version bundler would a
…ns in Bundler Bundler runs against whatever RubyGems the host provides, so calling `Gem::Util.glob_files_in_dir` left `bundle cache` pruni
`gem contents`, `gem stale` and the `gem setup` old-doc cleanup returned no matches when the install path contains glob metacharacters. For
…iles_in_dir Matched entries were resolved with File.expand_path, so an entry starting with `~` was expanded into the home directory. A cac
url_for: use Hash splat to append keys
A created_at without a time zone offset was parsed as local time, so a third-party server that omits the offset shifted the cooldown window
The resolver asks for the cooldown once per candidate spec, paying a Bundler.settings lookup each time, so read it once per remote. That mak
A cooldown from a config file or from BUNDLE_COOLDOWN went through value.to_i, so "abc" became 0 and "-5" stayed negativ
The pattern of duping a Hash to later append a key to it isn't ideal because if the original Hash was full, its copy will be too and it
Fix typo in Reflection initializer
`@extension` (singular) is undefined, and `nil.frozen?` is always true, causing unnecessary `dup` calls.
Rather than start from a mutable hash created with `newhash` or `duphash`, and then iteratively insert into it, it's preferable to start
…-empty-list Don't touch the connection in MySQL's `fetch_indexes` for an empty list
Keep the source artifact when compilation fails so failed shards can be re-run. Allow source preparation itself to overwrite the artifact.
`fetch_indexes` builds `optional_columns` before it looks at `tables`, and `supports_expression_index?` asks for `database_version`, so `ind
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
…mple Fix the Active Record Store dirty tracking documentation example
Avoid separate builds for checks already enabled by `RUBY_DEBUG` or `RUBY_DEVEL`.
…type Fix the documented return type of AVG calculations
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The switch from net-http-persistent to Gem::Request (https://github.com/ruby/rubygems/pull/9786) aligned Bundler proxy handling with RubyGem
Gem::Request already resends requests on stale connections and Bundler::Retry retries failed requests, so the Gem::Net::HTTP retry layer (ma
…tection net-http-persistent treated NO_PROXY="*" as a request to bypass the proxy for every host, but Gem::URI::Generic.use_prox
どうもこんにちはセキュリティエンジニアの西川です。 HITCON 2026 で大和セキュリティというセキュリティのコミュニティのメンバーとして Suzaku と Senrigan というオープンソースツールによる AWS 上の脅威検知について発表してきました。 今日はそこで私のパ
https://github.com/ruby/rubygems/commit/3abbef3c18
Bumps the github-actions group with 4 updates in the / directory: [github/codeql-action/init](https://github.com/github/codeql-action), [git
curl and net-http-persistent treat a "*" entry as bypassing the proxy for every host, and Bundler's fetcher already honors it,
Read the previous method entry before slow lookup invalidates its call cache. This allows debug counters and assertions to be enabled toget
デザイナーだけでデザインシステムの実装までするという理想 ! この記事の対象読者 デザインシステムを仕様駆動で開発してみたい稀なデザイナー デザインシステムに、必要なコンポーネントが足りない。 追加したいものがあるのに、フロントエンドエンジニアの工数を確保できない。 私の職場の
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.
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.
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.
…il tag - `Gem::Security::Signer#extract_name` matched `/\Aemail:/` then read the non-matching part of the string out of `$'`. - Pre
We know the type of the proc object at allocation time, so we can allocate exactly the amount of memory needed for that type. We can also s