DHH Profile picture
3 Dec, 5 tweets, 2 min read
Native ES6, with module support, in browsers is the most exciting development in JavaScript since the advent of transpiling. And it’s the opposite! A return to JavaScript that doesn’t require a horrendously complex tool chain and build tools is 😍
Who knew that the asset pipeline in Rails would see a Renaissance due to browsers finally catching up to the progress made in ES6. With importmaps (still shimmed, soon not), all we need is fingerprinting and cache headers to dance 💃🏼.
A great place to start learning about ESM is here: v8.dev/features/modul…
This is where the love for HTTP/2 multiplexing sets in. The penalty for loading many small files compared to one big bundle virtually vanished. And whatever ding is still there is made up for by vastly superior cache dynamics (no need to blow away the whole bundle for one change)
Also, shout out to Skypack. Whether you want to use them as a CDN is one thing (although love all the tricks they give you for free!), but their ESM conversion of all of NPM is 👏skypack.dev

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with DHH

DHH Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @dhh

1 Dec
From @tobi’s time on the core team through Shopify’s continued contributions to the framework, this is one hell of a company to have in Rails’ corner. And now that they’ve gone all-in on remote, you really should give these open positions a look, if you’re looking for a new job!
It’s safe to say that Shopify is pushing the absolute frontier of what’s possible with Rails and Ruby. Their main majestic monolith is a staggering 2.8m lines of Ruby responsible for processing over $100m in sales per hour at peak 🤯. And they’re doing it running latest Rails 🥂
What’s equally satisfying is how @tobi has managed to build a business worth more than a hundred billion dollars by providing the tooling for an open and free web of independent merchants. In this age of big tech monopoly grabs, that alone is worth wild applauds.
Read 4 tweets
27 Nov
Been working on documentation and the pitch for NEW MAGIC this week. It's quite something how we ended up taking a completely different turn from the rest of the industry. This could scarcely be more different.
And, as with all the framworks we create at Basecamp, this too was born out of need and extraction. What's the kind of tooling that would allow us to deliver HEY across six major platforms with a small team and have fun at the same time? This is the answer.
So much of technology is a reflection of the environment in which it was created. A huge company with large teams full of specialists will create something completely different from what a small company full of generalists will.
Read 5 tweets
25 Nov
This reminded me that I needed to recommend the fantastic book The Management Myth by Matthew Stewart. In it, you get the bullshit history of Scientific Management, along with an exposé on just the kind of fraud that its popularizer, F. Winslow Taylor. indiebound.org/book/978039333…
Management consultant charlatans have tried to apply scientific methods to the monitoring of employees for well over a hundred years. It's a field that's built on a foundation of scientism, used to demean and abuse workers, and inflate the ego of a useless managerial class.
And that's exactly what Microsoft is promoting here. Ranking and outing employees on bullshit metrics. I'm sure there's a plan to integrate Lines of Code Written via Github soon enough. Makes about as much sense as counting mentions or chat hours or whatever the fuck else.
Read 6 tweets
25 Nov
The amount of trackers and third-party cookies that @nytimes subjects even paying readers to is obscene. The fact you have to call or email individual trackers to opt-out is grotesque. Perfect example of where "transparency" is a shield for "wtf". nytimes.com/privacy/cookie…
Take Chartbeat, for example. If you'd like to opt-out of tracking from them on NYT, just: "We will work to respond to your Valid Request within 45 days of receipt. We will not charge you a fee for making a Valid Request.. call us at.. email us at..." 🤯
Or Sumo Logic: "CCPA provides California consumers the right to.. to delete their personal information, to opt out of any “sales” that may be occurring.. California consumers may make a rights request by contacting us at privacy@sumologic.com."
Read 5 tweets
23 Nov
Bravo, Reddit! This is the fair way to go 👏 cnn.com/2020/11/23/suc…
This concept of paying people the same when they do the same work at the same level of seniority is at once both radical and obvious. But it’s pushing against ingrained habits, sly negotiation bullshit, and a what-can-we-get-away-with mentality that belongs to a different era.
“There are no negotiated salaries or raises at Basecamp. Everyone in the same role at the same level is paid the same. Equal work, equal pay.” m.signalvnoise.com/how-we-pay-peo…
Read 5 tweets
23 Nov
While cops in other countries are fighting riots, enforcing curfews, and monitoring armed militias, Danish police has so much excess capacity and calm that three(!!) motorcycle cops are assigned to fine biking parents taking kids to school for minuscule infractions 😂❤️ Image
Every time I’ve been stopped by a cop in the US, it’s been tense. Often with one hand on their gun. The Danish officer had the manners of a flight attendant, the fine is being emailed, and I was on my way before we were even late to school drop-off ✌️🥂
But all the courtesy aside, it’s also just a reflection of what a rule society that Denmark really is. The fine was for turning right on red onto a bike lane with nobody in it. And cop saw no reason not to stop me and the two kids in a damn cargo bike. It was quaint.
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!