Mohit Sindhwani
onghu.com
Mohit Sindhwani
@onghu.com
Work: CTO, Quantum Inventions.
Also: Councillor, ITS Singapore.
Opinions: Own.

Posts: ITS/ Transportation, Ruby, Rails, Windows, Tech, Programming, Life, Languages & Oddballs.
Reposted by Mohit Sindhwani
Fun fact: JRuby is the only alternative Ruby implementation to attempt Windows support since Microsoft killed IronRuby, and the only one ever to run Rails.

We test generating and running a full stack Rails app on Windows before each release.

Windows is a PITA to support. 🤬
November 10, 2025 at 10:09 PM
Reposted by Mohit Sindhwani
10/10 take. No notes.
November 7, 2025 at 5:49 PM
Reposted by Mohit Sindhwani
❯ ruby -v
ruby 4.0.0dev (2025-11-07T11:42:29Z master 1f32464a2d) +YJIT +MN +PRISM [arm64-darwin24]
November 7, 2025 at 11:48 AM
Reposted by Mohit Sindhwani
The apparent decline in Ruby use in recent years has more to do with the fact that people aren't building as much new stuff than anything about Ruby itself. A malaise has fallen on software dev: few exciting projects, skilled devs out of work. Good time to start something?
November 6, 2025 at 11:11 PM
Reposted by Mohit Sindhwani
Ruby 4.0 is officially official! #RubyWorld
November 7, 2025 at 2:48 AM
Reposted by Mohit Sindhwani
The Solid Queue database-based backend for ActiveJob currently requires `fork` to work, solely because that's the only way to make sure it runs in parallel on CRuby. I want it to work on JRuby, which doesn't support fork, but can run threads in parallel very easily. Help?

buff.ly/18ZW69U
Non-forking implementation · Issue #679 · rails/solid_queue
Hello! I would like to offer my help making modifications to Solid Queue to support executing in-process using threads rather than out-of-process as a fork. There's many issues with using fork: Imp...
github.com
November 4, 2025 at 9:47 PM
Reposted by Mohit Sindhwani
I was quoted in the following article by Howard Solomon:
Self-propagating worm found in marketplaces for Visual Studio Code extensions. WOW supply chain attacks are becoming truly terrifying!
https://twp.ai/9PWZ2d
October 30, 2025 at 4:39 PM
Reposted by Mohit Sindhwani
Also please don't restrict bundler and ruby versions like `bundler < 3.0` and `required_ruby_version < 4.0` 🙏
Dear gem maintainers 👋

Rails 8.1 just dropped, but many gems can’t be used because of overly strict gemspec constraints.

Please don’t hard-restrict Rails versions, let us test early and report real issues sooner! ❤️

Thanks
October 30, 2025 at 11:17 PM
Reposted by Mohit Sindhwani
Online on a weekend? You can grab access to my web components course for $25 today and tomorrow. Big ol’ discount. Use the code OCT25-26.

(And as usual, if you need further accommodation, just use the email form and we’ll work it out.)

scottjehl.com/learn/webcom...
Web Components Demystified online course | Scott Jehl, Web Designer/Developer
A comprehensive, premium course about building dynamic, fast, resilient apps with standard web components.
scottjehl.com
October 25, 2025 at 2:59 PM
Reposted by Mohit Sindhwani
It turns out the real Ractors were the Threads we made along the way
Announcing ractor-shim, a new gem that reimplements Ractor on top of Thread & Queue: github.com/eregon/racto...

This gem provides the full Ruby 3.5 Ractor API (Ractor::Port, Ractor#{join,value,monitor}, etc) on TruffleRuby, JRuby, and CRuby 2.7 to 3.4.
GitHub - eregon/ractor-shim: A shim to define Ractor by using Thread, if not already defined
A shim to define Ractor by using Thread, if not already defined - eregon/ractor-shim
github.com
October 30, 2025 at 9:18 PM
Reposted by Mohit Sindhwani
“The world without hegemony” — A long-form article based on my book with Amitav! Many thanks to Sam Haselby! @yalepress.bsky.social
Southeast Asian history shows us that there are other pathways to international order and that, contrary to Western modes of thinking, a hegemonic power is not required for stability
What Southeast Asian history tells us about a multipolar order | Aeon Essays
As Pax Americana ends, a multipolar order is emerging. The history of Southeast Asia holds lessons for what’s to come
buff.ly
October 30, 2025 at 9:49 PM
Reposted by Mohit Sindhwani
Make sure you read yesterday announcement from @Rails about the end of
support for Rails 7.0 and Rails 7.1

rubyonrails.org/2025/10/29/...
October 30, 2025 at 8:30 AM
Reposted by Mohit Sindhwani
If you want to make change or add new feature to Ruby, I suggest to read www.a-k-r.org/pub/howto-pe...
Ruby's decision-making process isn't democratic or based on voting. It's more like a game of persuading Matz and Module maintainers.
www.a-k-r.org
October 28, 2025 at 9:56 PM
How have I *never* seen or heard of David Armand and his interpretive dance!?

This is so funny!
youtu.be/Sco3OU8jBsM?...

#TV #British #Comedy
David Armand - Bangles - Eternal Flame (Interpretative Dance)
David Armand, star of the BBC comedy "How Not To Live Your Life" shows his "dancing skills" during this tvshow "Fast and Loose"
youtu.be
October 26, 2025 at 2:06 PM
I wrote up some thoughts on how personal knowledge exists in different areas - from outside our current knowledge universe to us being deeply knowledgeable about something... also how technology can help.

Link: notepad.onghu.com/2025/thought...

#Productivity #RandomThoughts #Learning
Thoughts on how we (could) know things and where technology helps
For a while, I have been thinking about how we know and learn things, especially in today’s world where we are constantly bombarded by information in the attention economy, told that search and AI…
notepad.onghu.com
October 26, 2025 at 2:55 AM
Critical thinking will become, err, critical.

#RandomThoughts
October 25, 2025 at 9:00 AM
Reposted by Mohit Sindhwani
Here's one for someone who wants to contribute to JRuby: reimplement UNIXSocket using the JDK support for UNIX sockets:

github.com/jruby/jruby/...

We currently use jnr-unixsocket, part of our native FFI backend, but it has never worked perfectly.
Reimplement UNIXSocket using JDK UNIX socket support · Issue #9040 · jruby/jruby
As of JDK 16, UNIX sockets are natively supported on the JDK. We should migrate our existing UNIXSocket implementation from jnr-unixsocket to the JDK versions. This will provide more complete suppo...
github.com
October 24, 2025 at 9:05 PM
I'm obsessed with adding relevant things to my calendar: notepad.onghu.com/2023/travel_...

I really wish more people would give out calendar invites with details in them (esp. for conferences, etc.) so that the info is easily accessible but this #CoPilot prompt does help a bit when planning.
You're probably not using your Calendar enough
Just over six years back, I wrote up my 6 tips for travel, calendars and time zones to share what I have found to be helpful while travelling. When travel resumed after COVID-19 and I started to…
notepad.onghu.com
October 25, 2025 at 1:19 AM
Reposted by Mohit Sindhwani
"AWS outage reminds us why $2,449 Internet-dependent beds are a bad idea"
October 23, 2025 at 9:01 AM
So.. @agoda didn't add my title ("Mr") to my booking and the airline site won't let me do anything till that is changed. Any idea how I can do it? You can't speak to anyone at Agoda & their chat doesn't understand...
October 22, 2025 at 10:16 AM
Reposted by Mohit Sindhwani
New post: "Packaging Ruby Apps with Warbler: Executable JAR Files"

Warbler is the JRuby ecosystem’s tool for packaging up Ruby apps with all dependencies in a single deployable file. We’ve just released an update, so let’s use Warbler to create all-in-one packaged Ruby apps!

buff.ly/ZdXcCop
Packaging Ruby Apps with Warbler: Executable JAR Files
Warbler is the JRuby ecosystem’s tool for packaging up Ruby apps with all dependencies in a single deployable file. We’ve just released an update, so let’s explore how to use Warbler to create…
blog.headius.com
October 21, 2025 at 5:42 PM
If you're on #Windows and want to run #PostgreSQL without installing it and having it running all the time, I've updated my guide for using Postgres as a portable setup. Link:
notepad.onghu.com/2025/portabl...

#Programming #Database
Portable setup for PostgreSQL on Windows (Pg18 Edition)
The normal method for using PostgreSQL on your Windows machine is to download the installer and then set it up. It’s easy and will do all the necessary things that you need for it. It will also set up...
notepad.onghu.com
October 20, 2025 at 4:16 PM
"especially if you use the caculator function a lot, and *want something locally installed on your computer*..." - I heard this in a video a few min back and can't believe it! What has computing come to!!

#Enshittification #Tech
October 20, 2025 at 5:23 AM
OK! Time to install Redmine on my home computer to play around with it a bit outside of the one we have in the office.

A non-installed PostgreSQL 18 is ready!

#Redmine #Ruby #Programming
October 20, 2025 at 5:15 AM
I need to run this again to see what might have changed but there is a guide from earlier that I wrote:
notepad.onghu.com/2021/jruby-w...

But I am delighted that some of the niggling issues might have now been resolved.

#JRuby #Ruby #Programming
October 18, 2025 at 2:32 PM