HNHacker News
TopNewBestAskShowJobs

dudeinjapan

2,110 karma · joined January 28, 2020

Founder & CTO at TableCheck tablecheck.com
submissionscomments
dudeinjapan··on Ruby 4.0.0 Preview2
This is exactly why we shouldn't use KKScript either. Plus it has 1-based array indexes.
dudeinjapan··on Ruby 4.0.0 Preview2
I had a talk with Matz 1-on-1 about 6 months back and expressed my doubts about namespaces :) He's a nice guy, he just smiled.
dudeinjapan··on Ruby 4.0.0 Preview2
Ractors have promise but the implementations up till now haven't had strong concurrency safety. It seems in the latest release some of the heavy-hitter contributors like Jean Boussier (byroot) have taken a detailed look at Ractors and started to clean things up.

https://byroot.github.io/ruby/performance/2025/05/24/unlocki...

dudeinjapan··on Ruby 4.0.0 Preview2
Ruby::Box in its current form seems to radically miss the mark. Any namespace paradigm only has utility if it is widely adopted across the ecosystem. Javascript did this with ES modules 10 years ago--it IS possible--but it takes a ton of buy-in and effort from the community to achieve it.

I just don't think Ruby has this "burning need" to have namespaces/modules/erm... "boxes". So we're likely to end up with sporadic usage of Boxes leading to inconsistent behavior.

dudeinjapan··on Ruby 4.0.0 Preview2
ZJIT is supposed to be an improvement on YJIT. I'm happy to get any free performance improvements!

The Ruby Ractor (Actor) interface is now completely changed to use a Ractor::Port class, mirroring IPC (inter-process communication) semantics. Ractors were added in 3.0 as a way to get around the GVL/GIL, but having N number of Ruby interpreters running in a Ruby process which would enable executing on N cores at once. For me, hot take but Ractors don't seem to offer major advantages over plain-ol' copy-on-write (COW) forking.

The one "big" feature was supposed to be namespaces, which apparently have now been renamed to Ruby::Box (https://docs.ruby-lang.org/en/master/box_md.html). From what I can glean from the Ruby issue tracker, it appears this feature has been radically descoped, primarily because it had performance impacts, but also, I think probably there are realistic concerns about fit with the existing ecosystem. Unlike Javascript/Python, Ruby has never used "modules" for code isolation--everything is loaded into the global namespace (the "global dumping ground" as I call it.) Now the Box feature is only enabled with an environment variable RUBY_BOX=1

https://bugs.ruby-lang.org/issues/21311

dudeinjapan··on Unexpected things that are people
Part of having personhood is that one’s ideas don’t have to have any logical or consistent basis.
dudeinjapan··on Show HN: Hephaestus – Autonomous Multi-Agent Orchestration Framework
Terminators make good project managers apparently
dudeinjapan··on Friendly attributes pattern in Ruby
If there is one DSL which is a central abstraction of one’s entire app, used in 100s of places—this is fine.

If there is a DSL such as Rails’ URL routing, which will be the same in every app—this is also fine.

When one makes 100s of micro-DSLs for object creation, that are only ever used in one or two places—this is pure madness.

dudeinjapan··on Friendly attributes pattern in Ruby
Yikes. This means that you’ll have 1000 micro-DSLs sprinkled all over your codebase, which will become unreadable and lead to confusion/accidents. Better to stick with good ol’ key-value labelling.
dudeinjapan··on iOS 26.2 to allow third-party app stores in Japan ahead of regulatory deadline
I, for one, won’t be installing anything from the NSO Store. Sure, call me paranoid, but I just don’t trust it.
dudeinjapan··on A worker fell into a nuclear reactor pool
Similar to how “math” becomes “maths”
dudeinjapan··on A worker fell into a nuclear reactor pool
This is exactly why no one can know my alter-ego is… Neutrino Man.
dudeinjapan··on I invited strangers to message me through a receipt printer
For those interested I open-sourced library in Ruby which does thermal printing: https://github.com/tablecheck/thermal/

Among other things it has very broad printer support and Chinese-Japanese-Korean character support (requires purchasing a model with the chars preloaded). It's still under active development but it references the PHP library the author mentions. This lib is actually used in a many restaurants in Asia.

dudeinjapan··on Poker fraud used X-ray tables, high-tech glasses and NBA players
Bon Nano = Good Text Editor
dudeinjapan··on What do we do if SETI is successful?
Broadcast them Star Trek reruns to convince them to adopt the Prime Directive.
dudeinjapan··on Foreign hackers breached a US nuclear weapons plant via SharePoint flaws
Sharepoint is enterprisey and all but how about "less software/surface area is more" when it comes to nuclear silos?
dudeinjapan··on AWS outage shows internet users 'at mercy' of too few providers, experts say
Its probably worse—a given stack using multiple of these small providers will probably have more “single points of failure” (providers used in series rather than parallel.)

(If most companies liked using cloud providers in parallel, they’d already be doing it today between AWS, Azure, and GCP.)

dudeinjapan··on Ruby core team takes ownership of RubyGems and Bundler
Matz wouldn’t say jump from a bridge because he is nice.
dudeinjapan··on Ruby core team takes ownership of RubyGems and Bundler
Shopify is pretty much dominating the Ruby ecosystem. It’s Canadian tho :)
dudeinjapan··on Ruby core team takes ownership of RubyGems and Bundler
Surprised to hear this, have been a Rubyist for many years and never felt this way about community as a whole. Come to Ruby Kaigi in Japan sometime!
dudeinjapan··on Steve Jobs and Cray-1 to be featured on 2026 American Innovations $1 coin
Steve should be meditating in a walled garden.
dudeinjapan··on Ireland is making basic income for artists program permanent
Last week I also had to burn a Picasso to stay warm.
dudeinjapan··on Fire destroys S. Korean government's cloud storage system, no backups available
People keep pointing the finger at North Korea but personally I suspect a Protoss High Templar causing battery overcharge is more plausible.
dudeinjapan··on Reasons to Not Use ChatGPT
By this logic, most human brains are bullshit generators too. Some humans even have a complete and utter disregard for the truth. (One such human happens to own Truth Social.)
dudeinjapan··on Ants trapped in a Soviet nuclear bunker survived for years (2019)
Why didn't they just climb out the ventilation shaft they fell in? Can’t they walk on the ceiling?
dudeinjapan··on Y'all are over-complicating these AI-risk arguments
Bayes got us into this whole mess to begin with.
dudeinjapan··on Man still alive six months after pig kidney transplant
...still alive but has developed an overwhelming urge to forage for truffles.
dudeinjapan··on Why today's humanoids won't learn dexterity
The vast majority of “universal robots” are portrayed as humanoids in science fiction. Perhaps part of the reason is that true “universality” includes socializing, companionship, human emotions, and of course love.
dudeinjapan··on Why today's humanoids won't learn dexterity
This needs to be some sort of maxim: “The most useful robots are the ones that don’t look like (or try to be) humanoids.”

For some reason (judging by Fritz Lang, Gundam, etc.) humanity has some deep desire or curiosity for robots to look like humans. I wonder if cats want robot cats?

dudeinjapan··on Microsoft blocks Israel’s use of its tech in mass surveillance of Palestinians
Supreme Pontiff of Vendor Asset Tagging
← PreviousPage 3 of 34Next →