15 Followers
96 Following
215 Posts

Creator https://zestui.com - UI Kit for Ruby on Rails using Tailwind & Phlex

Ruby on Rails Consultant

Sitehttps://manu-j.com

Here's the post I teased last week.

TL;DR; Average latency: -5%, p99 latency -10%

https://railsatscale.com/2024-10-23-next-generation-oob-gc/

Next Generation Out of Band Garbage Collection

In this post we look at the impact of a new feature of Ruby 3.4 on Shopify’s monolith.

Rails at Scale

I've just released json 2.7.3 with some bug fixes and lots of performance improvements: https://github.com/ruby/json/releases/tag/v2.7.3

This is my first release after being made maintainer two weeks ago.

If you got some realistic benchmarks in which JSON.dump is significantly slower than an alternative gem, please let me know.

As long as it's not the result of the alternative doing something incorrect, I'll consider it as a bug.

Release v2.7.3 · ruby/json

What's Changed Numerous performance optimizations in JSON.generate and JSON.dump (up to 2 times faster). Limit the size of ParserError exception messages, only include up to 32 bytes of the unpars...

GitHub

Yes, I love SQLite on Rails as an application architecture. And yes, I truly believe that you should try it for your next project.

But, it isn't a silver bullet and it isn't the right fit for everyone. Plus, even if it is a good fit, there are considerations to be aware of.

☀️👀 (@zei_squirrel) on X

the sister of a woman cited in the New York Times piece by Jeffrey Gettleman as evidence of "mass rapes" on October 7th has just come out and said "there is no proof that there was rape." Gettleman intentionally begins his piece with a graphic description of the mentioned video

X (formerly Twitter)

Excited to announce that @tenderlove and I have released the first brand-new test runner for Ruby in… a decade? Longer?

It's called TLDR and you're going to have very strong opinions about it: https://blog.testdouble.com/posts/2023-10-03-introducing-the-tldr-ruby-test-framework/

The TLDR on Ruby's new TLDR testing framework

It's 2023, and it's time for a totally new way to run your tests. Here's how the new TLDR test runner can save you from a life of avoiding your slow tests

Test Double

https://types.pl/@graydon/111144025966056604 makes me wonder, what other engineering truisms are overrated?

A related one that I often heard in contexts where it was wildly wrong was "engineer time is more expensive than CPU time", e.g., I would sometimes hear this from staff engineers at Twitter to justify slow code, but if you looked at hardware cost compared to compensation, they were roughly comparable and, at the margin, you could probably cut costs by 90% (WAG) if you spent 10% of eng time on cost cutting.

Graydon Hoare (@[email protected])

Re last boost: I hear this sentiment ("code is meant to be read more than run") a lot among programming communities and I've even repeated it myself but lately I wince seeing/hearing it repeated. I increasingly think it serves to obscure the economic realities of our occupation. Like it's a story we like to tell ourselves to try to elevate us from proletarians to poets or something (see also the "dabblers and blowhards" essay). It's related to, but a little loftier than, all the stories about entrepreneurialism / founders / solitary geniuses and so on. And I think it's actually not very true. Code _can_ be written for reading, among people interested in that practice, but it's mostly written for running, and even more-mostly written by someone being paid by someone else very interested in minimizing the cost of going from "nothing running" to "great, something is running" (often though not exclusively in order to facilitate "firing people and replacing them with programs that run 24/7 without complaint"). Virtually none of the people paying for software ever want to _read_ it. They also usually don't want anyone _else_ to read it, because it's as low quality as they could get away with -- again, "just good enough to run" -- and carries embarassing traces of that fact inside itself. Most parties involved in the production of software would prefer if it were something better behaved and more economically fungible: say, a shipping container full of iron pellets or plastic nurdles that accomplished the same task.

types.pl
Oh wow!!! IKEA India and Leo Burnett - take a bow! This is a remarkably simple and inventive idea but one that perfectly fits IKEA's 'organizing' theme. And, all that IKEA needed to 'execute' the idea was high-resolution images of its many organizers and shelves! 1/6

I wonder why programming culture is (on average) so enamoured with smartness over reasonableness.

It's particularly striking if you hang out with people who have the opposite values (e.g., trades, which, on average, strongly value reasonableness over smartness). By contrast, programming culture seems quite ridiculous?

For example, valuing "very smart" complex stuff that add little value (often negative value) over simple solutions that add a lot of value, e.g., https://twitter.com/danluu/status/1129519032783200256.

Dan Luu on X

This also happens at work! A friend of mine went up for "senior staff" promo (and succeeded), but someone on the promo committee objected b/c "that could've been done by a SWE-2", as if figuring out a simple way to do something valuable makes it less valuable.

X (formerly Twitter)

Beats Studio Pro are now official, and my takeaway is this: they make AirPods Max impossible to recommend. Beats didn’t try to reinvent the wheel with the design, but that also means they are significantly lighter than AirPods Max.

Also: Bluetooth + 3.5mm as well as lossless playback via USB-C. Full Spatial Audio support. Foldable design. Normal carrying case. $349.

My review👇

https://9to5mac.com/2023/07/19/beats-studio-pro-headphones-review/

Review: Beats Studio Pro are here, and they make AirPods Max impossible to recommend (for now)

The oft-rumored Beats Studio Pro headphones are now official. While Apple’s Beats brand has released a wide and very impressive...

9to5Mac

This was a great read about #Oppenheimer 's India connections - https://timesofindia.indiatimes.com/blogs/voices/oppenheimer-the-bhagavad-gita-and-a-secret-message-to-nehru/

Someone else on Facebook also mentioned that Oppenheimer's brother Frank wanted to join TIFR but was denied a passport by the US govt because of the McCarthyist witch hunt.

Oppenheimer, the Bhagavad Gita and a secret message to Nehru

Christopher Nolan’s upcoming drama ‘Oppenheimer’ has sparked much interest in the life of its controversial protagonist. But few know that J Robert Oppenheimer’s career intersected with India in some noteworthy episodes. During the early 1940s,...

Times of India Blog