Mohit Sindhwani
onghu.com
Mohit Sindhwani
@onghu.com
100 followers 140 following 540 posts
Work: CTO, Quantum Inventions. Also: Councillor, ITS Singapore. Opinions: Own. Posts: ITS/ Transportation, Ruby, Rails, Windows, Tech, Programming, Life, Languages & Oddballs.
Posts Media Videos Starter Packs
Critical thinking will become, err, critical.

#RandomThoughts
Reposted by Mohit Sindhwani
美味しかったの?
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
Reposted by Mohit Sindhwani
"AWS outage reminds us why $2,449 Internet-dependent beds are a bad idea"
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...
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
Your post from Portugal is how I remember you like them 😊
IIRC, you're one who would appreciate this: Steely Dan sounds awesome on a good setup.
"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
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
We have at least one of those here in Singapore. They pick up your laundry for dry cleaning, send it to a supplier of their choice and bring it back a few days later. Wasn't unreasonably priced either (a bit more than taking it to a store yourself). More convenient cos they can pick up at odd hours.
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
Reposted by Mohit Sindhwani
Turn your Ruby gem into an all-in-one executable jar file with JRuby:

* gem install warbler
* warble
* java -jar mygem.jar ...

I forgot how easy this is. Blog post coming.

gist.github.com/headius/6739...
Two steps to create a redistributable Ruby app in an executable jar
Two steps to create a redistributable Ruby app in an executable jar - console.txt
gist.github.com
It's a small milestone but I'm happy to have reached 100 people following me on Bluesky.. the count is higheron Mastodon and still on X but more and more, Bluesky feels like the first of the 3 that I open and think to post to. Hopefully, no one drops off before a few more join 😊

Thanks all!
Wanting to writ e a new #blog post after quite a break but having to fight the desire to rework the blog stack or theme, or something

#Technology #Jekyll
I had forgotten how good an album "Drift" by The Devlins is!

#Music
I haven't looked closely but I believe Windows Enterprise would let you do that (and it's not in the dome range, but certainly Windows Server would!)
But in some interactions, it can be sour though...

('ll see myself out, thank you!)
I came from C, so for me, #1 was fine perhaps. But yes, #2 is a bit of a concern but I like the doc it produces (and that Rubymine uses it ro check your code), so I still like YARD, esp as I'm unlikely to write up one myself.
I feel YARD is underrated
Reposted by Mohit Sindhwani
Are you using OpenTelemetry (OTel) in your Rails app for anything interesting?

Curious what folks are doing beyond the defaults. What’s been helpful? Surprising? Weirdly satisfying?

I’m prepping for a podcast convo and would love to hear how folks are actually putting this stuff to work.
Somehow, this post on my blog for making #MermaidJS sequence diagrams prettier is quite popular and I needed to refer to it myself today. So, ya, if you want prettier #SequenceDiagrams: notepad.onghu.com/2024/making-...

(I'm reminded I need to work on Part 2)

#Diagramming #Programming
Reposted by Mohit Sindhwani
Shopify deployed Falcon, an async IO Ruby web server that’s been a labor of love by @ioquatix.bsky.social, to a production Rails app.

I’ve been using it for a while in my Rails app and love it, so of course I had to RTFSC.

It’s very beautifully written code, and fast too.

Enjoy! ✌️
Falcon Async Ruby Web Server: Read The Friendly Source Code
YouTube video by BeautifulRuby․com
youtu.be