[ruby/net-http] Limit read length of a single response line
The response header cap added by #219 applies only once a complete line has arrived, so a server that never sends a line terminator can stil
The response header cap added by #219 applies only once a complete line has arrived, so a server that never sends a line terminator can stil
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
https://github.com/ruby/net-protocol/commit/fb347d5ff4
…enqueued?` - This predicate method has been unused since https://github.com/ruby/rubygems/commit/7d1131672a84 in 2021 when the `ready_
- In https://github.com/ruby/rubygems/commit/304a98301522 in 2013, "quiet?" was any level that was not "debug", "
Fix RedisCacheStore clear and stats with redis-client
Use RedisClient#call for the FLUSHDB and INFO commands because redis-client does not provide command helper methods.
Bundler reaches Gem::CredentialStore by name, so a bundler installed against an older RubyGems needs the file itself, the way it already car
Where a credential ends up, what happens when the store cannot be reached, that the store belongs to the machine rather than to a project, a
… when it is on The credential_store setting takes the same values on this side, and credential_store.<host> picks a different backen
Signing out has to reach both places a key can live, including the keys saved for other hosts with gem signin --host. The two halves report
The :credential_store: gemrc setting, off by default, moves API keys out of ~/.gem/credentials and into the OS store. A key is read from the
Storing an API key in a plain text file leaves it readable by anything running as the user. This wrapper keeps secrets in the operating syst
In `install`, `self.to_s` is called by `print_using_message "Using ... from #{self}`. This in turn calls `current_branch` which if the
Add codegen tests for the Fixnum left shift fastpath and its overflow side exit.
…lusion-constraints Fix PostgreSQL exclusion constraints with multiline expressions
PostgreSQL can render CASE expressions across multiple lines in pg_get_constraintdef. Parse these definitions with multiline matching so sch
Vercelは同社が開発するWebアプリケーションフレームワークの最新版となる「Next.js 16.3」をリリースしました。 Next.jsは、ReactをベースとしたオープンソースのWebアプリケーションフレームワークです。ルーティング...
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.
Add Herb as an HTML-aware ERB implementation
Make en.rb translation load path contents ractor safe
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
`hash_copy` will call `st_init_existing_table_with_size` which allocates and may trigger GC causing the current hash to be marked. So we ne
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
Keep the payload builder uninlined in optimized GCC builds because inlining causes false-positive `-Wclobbered` warnings.
This is designed to replace rb_ident_hash_new calls when such hashes are used purely with with true values. To implement this, add a set_al
This used a hash with all true values, with is simple to convert to a set to save on memory when flattening array with a large number of nes
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.
For now it still returns a constant, but clarify when we're looking for the max bound, versus a miss, etc.
Instead of always allocating `ar_table` backed hashes in 160B slots for them to have capacity of `RHASH_AR_TABLE_MAX_SIZE` (`8`), they can n
With gcc 15.2.0 on aarch64 Ubuntu 26.4: ```console hash.c: In function ‘rb_hash_s_create’: hash.c:1982:20: warning: ‘hash’ may be used unin
Prevent a tail call from discarding saved machine-register roots before `rb_gc_mark_roots` scans the machine stack.
With gcc 15.2.0 on aarch64 Ubuntu 26.4: ```console ractor_sync.c: In function ‘ractor_basket_new.constprop’: ractor_sync.c:1093:82: warning
With gcc 15.2.0 on aarch64 Ubuntu 26.4: ```console io_buffer.c: In function ‘io_buffer_flags_for_new’: io_buffer.c:978:20: warning: compari
https://github.com/ruby/prism/commit/9df2a21995764880c6d27213e2c7960f2232c879 changed the comment style Now rdoc picks this up. The comment
はじめに これまでの記事では、Elixir と Livebook を使って LLM の仕組みを学び、Elixir 製の LLM 推論エンジン Llamex の内部を見てきました 通常の Llamex は、純 Elixir のリスト演算だけでも LLM を推論で...
readuntil buffers until the terminator arrives, so a peer that never sends one grows the read buffer without bound. The limit lets a protoco
The floor's two reasons fit in one block, and the two tests that restated them are named for what they cover. https://github.com/ruby/n
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
rbs 4.2.0 adds Etc and IO#pathconf stdlib tests that need getpwent(), getgrent() and the pathconf constants, none of which exist on Windows,
rbs was pinned in March 2026 while the 4.0 series was breaking CI. Now that 4.2.0 is in gems/bundled_gems and the tests pass again, the dail
The bundled_gems workflow has failed every day since 2026-08-16 because rbs 4.0.3's Ripper_test.rb no longer finds Ripper on master. rbs
… reads BufferedIO#readuntil resumed searching at the previous buffer end, so a multi-byte terminator split across two fills, such as "
Cover a terminator split across two reads and across more than two, the negative rewind the floor clamps, the floor keeping the search out o
Right now, RDoc does not support fenced code blocks in list items for the Markdown format. The workaround for itemized lists was to not use
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
(https://github.com/ruby/mmtk/pull/107) https://github.com/ruby/mmtk/commit/f6b8b0d5ae
こんにちは。アカウント基盤開発部でエンジニアをしている tkmt (たくまつ) です。 今回は、IETF で標準化が進んでいる Transaction Tokens について調査してまとめてみました。というのも、この Transaction Tokens が解こうとしている課題が
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
お久しぶりです。コンテストに向けた制作で時間が取れず、毎週投稿を続けていたのに3週間ほど空けてしまったbababaです。 ちなみにプログラミングコンテストやCiscoさんが主催しているこのコンテストなどに参加しています。 https://www.cisco.com/c/m/ja_
Most callers have the replacement as an array object; let them pass it directly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthro
Arrays sharing one buffer have the same data pointer, so rb_ary_splice() took `a` in `b = a.dup; b.pop; b.concat(a)` for `b` itself and reba
…undaries The basename was cut with byteslice, which can split a multibyte character in half. Filesystems enforcing UTF-8 validity such as
…e destination The temporary file was renamed into place before being closed, so buffered data had not reached the filesystem yet and a con
…483)
Fixes the Style/RegexpLiteral offense from CI. https://github.com/ruby/rubygems/commit/c4069df44d Co-Authored-By: Claude Fable 5 <noreply@
The fixture changelog still used the old `## VERSION (DATE)` header, so the fixed `release_date_for` no longer matched it and the released c
… header format release_date_for in spec/support/build_metadata.rb matched the changelog's old `## VERSION (DATE)` header, but .changel
はじめに ihiratchです。本記事では、状態空間モデルにおけるFiltering(フィルタリング)とSmoothing(平滑化)の違いを整理します。 状態空間モデルでは、時系列の観測データをもとに、直接観測できない状態を推定します。その代表的な方法がFilteringとSmo
`Attachment#to_markdown` returned the caption unescaped when the attachable did not implement `attachable_markdown_representation`. The capt
! このブログは CSCでオンコール運用を検討する際に手当について調査した結果 となります。 これから検討に取り組まれる方はぜひ参考にしてください! 3行で言うと オンコール手当の「金額」を5チャネル・約50社で調べたら、1件も出てきませんでした。 でも「金額が公開されてい
導入 こんにちは、株式会社ナレッジセンスの須藤英寿です。 AIでコードのレビューをする際に敵対的検証をすることで性能が上がるとされています。そこにさらに、その検証を監視する役を付けることでレビューの精度を上げる手法「Adversarial Review」について紹介します。 ht
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.