Feature #21311: Namespace on read (revised) - Ruby - Ruby Issue Tracking System
Redmine
TBH this kind of situation makes me think Ruby::Box should not have shipped in 4.0, it's unusable as far as I can tell in the current state. There are also design problems so it's not just bugs either (discussed in the original ticket: bugs.ruby-lang.org/issues/21311)
07.02.2026 09:57 β π 2 π 0 π¬ 1 π 0
Bug #21324: Namespace loads RubyGems in root Namespace but it should not - Ruby - Ruby Issue Tracking System
Redmine
Yep, I saw you found my bug report bugs.ruby-lang.org/issues/21324 which I filed as soon as the feature got merged. @tagomoris.bsky.social any reason to load RubyGems in the root Box? I don't see how that could ever work, so why not load RubyGems once per user Box when creating it?
07.02.2026 09:55 β π 1 π 0 π¬ 1 π 0
It's so that RubyGems' override of require doesn't break `warn(msg, uplevel: 1)`, and it also makes it much simpler for TruffleRuby which defines Kernel#require in Ruby code and also needs to be ignored.
05.02.2026 15:18 β π 0 π 0 π¬ 0 π 0
Mmh, true, the extra backtrace entries are not nice and likely to break things like `warn(msg, uplevel: 1)` (though one can eval the file with a filename starting with `<internal:` to fix that specific case).
05.02.2026 14:49 β π 0 π 0 π¬ 1 π 0
BTW did you benchmark on Linux or macOS? Linux stat() caching should be pretty good (and interestingly access() is not cached), I don't know for macOS.
05.02.2026 10:57 β π 0 π 0 π¬ 1 π 0
The current hack is an override of require that check if the path is absolute and a directory and if so defines the module, right? It's not too bad, not sure it's worth adding more complexity to autoload for that. Would there be other use cases?
05.02.2026 10:54 β π 0 π 0 π¬ 2 π 0
Feature #21800: `Dir.foreach` and `Dir.each_child` to optionally yield `File::Stat` object alongside the children name - Ruby - Ruby Issue Tracking System
Redmine
A few percents seems not so much to me for having adding a C extension dependency.
I think better to push for bugs.ruby-lang.org/issues/21800 and then follow the common saying "update Ruby to latest to get the best performance"
I see @byroot.bsky.social already added it to the next dev meeting :)
05.02.2026 09:21 β π 1 π 0 π¬ 2 π 0
I suspect the C extension would be slower than the original code on TruffleRuby (due to C extension overheads), but the extension could be CRuby-only.
05.02.2026 09:21 β π 0 π 0 π¬ 2 π 0
Contiguous Zero-Copy for Encrypted Transport Protocols
New research paper out: **Contiguous Zero-Copy for Encrypted Transport Protocols**. This paper explains we may have got the integration of symmetric cryptography into networking protocols wrong for efficiency.
But we can fix it simply by ... reversing everything. A thread
dl.acm.org/doi/epdf/10....
02.02.2026 11:20 β π 3 π 2 π¬ 1 π 0
Yes, my thought here is booting itself is "useless", one always wants to do something with the booted app, which will load more modules/classes and so will amortize any extra loading done before to some degree.
02.02.2026 11:56 β π 2 π 0 π¬ 0 π 0
IOW the change sounds to me like a nice simplification which seems cleaner and e.g. worth it to avoid redefining require. The 10% overhead doesn't sound ideal, but I wonder how much overhead would actually be felt by Zeitwerk users (i.e. just booting is not useful, one always wants to do something).
02.02.2026 11:36 β π 1 π 0 π¬ 1 π 0
Of course, but what I meant by small test is not the app being big/small but the test testing e.g. a single model/controller and not loading the whole app. I think as soon as a model/controller is loaded, a bunch more gets loaded, and any extra "eager loading" (as in your change) is less visible.
02.02.2026 11:33 β π 0 π 0 π¬ 2 π 0
What if you timed running a single small test? I would guess much less difference there.
Similarly for the dev case, one idea would be to time process-start to first-request handled.
Then if the difference is minimal there it's probably hardly visible to the user.
02.02.2026 11:25 β π 0 π 0 π¬ 1 π 0
How did you measure the increase for dev/test? I'd expect for those the time from start-the-process to something-useful changes less because they will both load some parts of the app at least.
02.02.2026 09:30 β π 1 π 0 π¬ 1 π 0
Typo fix: always removing empty **kw on the caller* side
30.01.2026 09:01 β π 0 π 0 π¬ 0 π 0
That looks pretty wild, is the logic ported from CRuby?
In TruffleRuby it's a lot simpler, partly due to some intentional simplifications like always removing empty **kw on the callee side, always dup kw and let escape analysis deal with it, and pass kwargs in calling convention as last argument
29.01.2026 14:55 β π 0 π 0 π¬ 2 π 0
The Legislation
Upon winning a general election, a Reform government under Prime Minister Nigel Farage will:
1) Leave the ECHR
2.) Repeal the Human Rights Act and replace it with a British Bill of Rights.
3.) Pass The Illegal Migration (Mass Deportation) Bill:
This Bill will:
Create a legal duty to remove illegal migrants for the Home Secretary
The Bill opens with a blunt obligation for the Home Secretary: "The Secretary of State shall ensure the removal from the United Kingdom of each person who does not have extant leave to remain and is not an Irish citizen or otherwise protected by regulations made under this Act."
The following parts of the legislation are introduced on an emergency basis, with an in-built sunset clause after 5 years:
Disapply the 1951 Refugee Convention, the UN Convention Against Torture, the Council of Europe Anti-Trafficking Convention (ECAT)
Derogation is justified under the Vienna Convention doctrine of state of necessity: Britain faces a national emergency in which uncontrolled illegal migration undermines public order.
These treaties will otherwise be used by activist judges to frustrate deportations, even after the repeals of the HRA and ECHR.
Create Detention Power Without Hardial Singh Constraints
This means illegal migrants can be detained until they are deported. Activist lawyers routinely use Hardial Singh to secure their client's bail, after which the client absconds.
If you came to the UK illegally, you are ineligible for asylum. End of story
All asylum claims will become inadmissible if made by a person within the Act's scope. If you came to the country illegally, you are ineligible for asylum in the UK. This strips the Home Office, the immigration tribunals and the higher courts of jurisdiction to even consider claims. A claim that cannot be considered cannot suspend removal and therefore, cannot delay a flight.
Re-entering after deportation and destroying ID becomes a serious criminal offence
Re-entry after deportation will beβ¦
The Operational Plan
We will create an enforcement unit called UK Deportation Command, including an Illegal Migrant Identification Centre - harnessing cutting edge data fusion
A Reform government will create a cutting edge enforcement data centre to relentlessly identify and detain all illegal migrants in the UK. Using powers granted by the new legislation, it will automatically share data between the Home Office, NHS, HMRC, DVLA, banks and the police. It will power bulk warrants, including mandatory biometric capture during any police encounter. Each power addresses a failure mode observed over the past decade - for example, banks and GP surgeries unaware of a customer's status, or overstayers slipping through because a warrant covered only a single property.
Secure Immigration Removal Centres (SIRC) will be built rapidly to detain up to 24,000
Detention capacity for up to 24,000 will be created within 18 months. The Home Office will build Secure Immigration Removal Centres. This will be modular accommodation built in remote parts of the country. Conditions are basic but not punitive: prefabricated two-person rooms, canteen catering, on-site medical suites. Robust perimeters and internal movement controls prevent escapes.
This enables detention-on-arrest: no more bail. This capacity would allow for up to 24,000 illegal migrants to be deported per month.
Initial Voluntary Return Window
A six-month Assisted Voluntary Return window precedes large-scale raids. Illegal migrants will be offered a financial incentive to self-deport. An app will be launched to facilitate this.
The Deportation Flights
The Home Office will scale up charters to 5 flights per day. To guard against last-minute aircraft unserviceability, the RAF will keep one Voyager aircraft on six-hour 'hot-spare' readiness. If a commercial charter breaks down, detainees can still be flown out that night, preserving operational integrity. The legal reset will mean activist lawyers will no longer be able prevenβ¦
The UK version of βProject 2025β by the Reform party includes a British ICE, a concentration camp for 24,000 people, mass surveillance and withdrawing from refugee, anti-torture and anti-trafficking conventions.
Itβs on their website. Thatβs how comfortable fascists are in the UK today.
26.01.2026 13:22 β π 5273 π 3122 π¬ 19 π 382
"Americans should take comfort that it is being waged on multiple fronts, often far from the homeland. Trump simply doesnβt have the ability to conduct war on all those levels. A blow will come here, a blow will come there, (β¦) Eventually heβll be wounded and brought to his knees"
22.01.2026 19:41 β π 3 π 1 π¬ 0 π 0
I suspect it's done like that for extra safety but one can also just run `sudo dnf upgrade` while running the system and it works fine.
I don't like apt because it's so much slower to install packages, last case I saw is building a Docker image, > 2 minutes to install 7 packages with apt.
22.01.2026 11:56 β π 0 π 0 π¬ 1 π 0
Release TruffleRuby 33.0.1 Β· truffleruby/truffleruby
TruffleRuby is a high-performance implementation of the Ruby programming language.
TruffleRuby aims to be fully compatible with the standard implementation of Ruby, MRI.
More information is availab...
Weβre pleased to announce that TruffleRuby 33.0.1 is now available. This is a bug fix release that notably adds support for structured event reporting in Rails 8.1 (and any other usage of Fiber storage) along with other compatibility work.
More details at:
github.com/truffleruby/...
21.01.2026 20:33 β π 3 π 1 π¬ 0 π 1
rubyfmt playground
Rubyfmt 0.12 is out! This release is a big deal. We entirely removed ripper and replaced it with Prism. This means Rubyfmt no longer needs to compile against Ruby at all. This work wouldn't have been possible without the hard work of Reese, and as a bonus treat we now have: rubyfmt.run
17.01.2026 20:31 β π 14 π 4 π¬ 1 π 1
That page takes a while to load with all the iframes though so I'd actually prefer to link to RubyEvents if all talks are there, but that's not reasonable since there are also talks at non-Ruby conferences. Could do a mixed approach with linking to RubyEvents and list the few extra talks directly.
17.01.2026 11:51 β π 2 π 0 π¬ 1 π 0
Let me know if I can make a PR about that/to which file or so. If we want to be extensive I recently went through all RubyKaigi+RubyConf talks about TruffleRuby to make truffleruby.dev/talks
17.01.2026 11:51 β π 2 π 0 π¬ 1 π 0
Not a request and feel free to do nothing about it, but I noticed some talks from Chris notably www.rubyevents.org/talks/deopti... and www.rubyevents.org/talks/ruby-s... are not included in the TruffleRuby page. Which kind of makes sense since it was called JRuby+Truffle back then π
17.01.2026 11:51 β π 2 π 0 π¬ 1 π 0
May I suggest including bsky.app/profile/truf..., maybe in the next edition?
17.01.2026 11:33 β π 3 π 0 π¬ 1 π 0
TruffleRuby
Just wanted to share that @rubyevents.org looks really good, I recently found the page about TruffleRuby-related talks: www.rubyevents.org/topics/truff... and of course my own profile page: www.rubyevents.org/profiles/ere...
17.01.2026 09:54 β π 10 π 4 π¬ 1 π 0
Yeah that's pretty shady behavior, seems worth reporting. I usually leave a comment to let people know the spam they are causing in such cases. Pretty weird to copy issues like that.
16.01.2026 07:12 β π 0 π 0 π¬ 1 π 0
Not entirely sure because I haven't tried in a while but worth a shot. It might also depend on which parts you use so I'd suggest to try it and see.
15.01.2026 13:54 β π 1 π 0 π¬ 0 π 0
@statitudes.com Maybe you could try running the full benchmark or even the full app on TruffleRuby?
15.01.2026 12:23 β π 1 π 0 π¬ 1 π 0
I ran your benchmarks from bugs.ruby-lang.org/issues/21824 on TruffleRuby with a slight tweak to use benchmark-ips for warmup and the result is 2.42x faster than CRuby 3.4.8 on the first benchmark and 4.66x faster on the second/minimal benchmark!
See gist.github.com/eregon/e3692... for details.
15.01.2026 12:23 β π 2 π 1 π¬ 1 π 0
digifu jam band, video game composer, puzzle designer. trans.
sacto -> oakland -> tokyo -> toronto
jneen.ca | automaphoni.ca | queercomputerclub.ca
music: jneens.newgrounds.com/audio
support my art: https://automaphonica.bandcamp.com/album/wigglin
wingolog.org / haute-savoie / iterating to a fixed-point
Mathematician/particle physicist turned privacy researcher. Java Rockstar #Oxford Building a better web - private, self-sovereign identity, p2p, social - with @peergos.org. Public social media undermines democracy. #covidisairborne #maskswork #cleantheair
Your voice in the EU πͺπΊ
Updates, news, and insights from the European Parliament - the heart of European democracy.
Privacy policy: https://www.europarl.europa.eu/pdf/data_protection/data-protection-notice-bluesky-en.pdf
I am a co-lead of the JRuby project. I have been passionately working on JRuby for over two decades. When not working on JRuby, I am slinging code with Ruby, Java, and Rust. I also like a good beer.
Trans girl (They/Them). Rubyist. This is where I tweet about computers.
Product Engineer, Ruby on Rails Developer
β£ Curator of newsletter.shortruby.com
β£ Helping #Ruby developers design better test cases at https://goodenoughtesting.com
Stay up to date with the latest Ruby events from around the world. RubyEvents is your go-to companion for events, talk recordings, and discovering speakers.
https://www.rubyevents.org
Senior Software Engineer β’ π³οΈβπ she/her β’ hire me: https://afomera.dev/hire-me
Indie Mac/iOS & web developer β’Β Currently building random fun things on ATProto using Ruby and occasionally JavaScript β https://blue.mackuba.eu
"mostly-happy-but-occasionally-grumpy Ruby guy" - Why
π KrakΓ³w, Poland π΅π±πͺπΊ β’ βοΈ
Cycling, computers, music, cinema.
Reproducible bugs are candies ππ¬
I like programming too much for not liking automatic programming.
Brown Computer Science / Brown University || BootstrapWorld || Pyret || Racket
I'm unreasonably fascinated by, delighted by, and excited about #compsci #education #cycling #cricket and the general human experience.
Database systems enthusiast. Building platforms for data-centric applications at Oracle Labs.
Fighting for Truth & Justice | Ranking Member: @robertgarcia.house.gov
π€ Software dev working in β¦οΈ #RubyLang and π #CrystalLang as a #freelancer & atβ½vade.io
Skeets may be English & German.
Mostly active on π #Mastodon/#Fediverse though π
https://ruby.social/@alexanderadam
#ruby #CrystalLanguage #crystal #rails