Oddbean new post about | logout
 Yeah.

Just had a LaTeX document that used three different libraries to do the same thing (color in a cell in a table). I pointed it out to the others and they were like, Who cares? 
 who cares?

such privilege to talk about resource waste like this 
 They had repeats or even conflicts a few times and refused to correct them. And deprecated functions that actually did nothing because the compiler ignored them.

This is how most modern code is. Bizarre. 
 Took forever to build and they were like LaTeX is just slow.

Bros, the header is longer than the program and most of it is junk. 
 👏 seriously, not enough programmers even think about this stuff

i had to contend with resource burning software most of my life and even now i have 64gb of DDR4 3200mhz memory and some shit just turns my CPU into a space heater

i watch my young colleague with his 7th gen mobile intel processor waiting for rust shit to build and even Go stuff to build and it's like *fingers tapping*...

meanwhile, my favourite computer at the age of 15, the Amiga, was able to do tear-free 2d graphics at 50hz, and still these ninnies write code that layers abstraction upon abstraction and they don't even notice because they buy the latest... i bet they all have 256gb memory and dual raid NVMes now and EPYC processors or something

i mean, seriously guys, performance, and resource use matters

what's even more hilarious is seeing this kind of compilation and runtime resource squandering with "green" blockchain shit, now that is the utter height of hypocrisy and stupidity 
 Agree, this is awful, code hardly ever gets simpler.

Same for legislation.

A rewrite is an awful amount of work/pain, hence rare. And cleanly simplifying something complicated is much more work than just throwing an ugly patch on top, so technical debt accumulation is almost inevitable without a strong quality culture 
 willing rewriter at your service: 🫡 

almost finished a full rewrite of nostr event and filter codecs and associated functions... i scored a full 5-10x boost and my JSON codec is now officially almost as fast as a binary codec 
 Yeah, refactoring and rewriting is amazing.

Now go and look at your architecture, again. Bet you could streamline it. 
 yeah, i do this process regularly, just nearly finished a rewrite involving a better interface that handles the quirks of Go's "reference types" and probably soon will streamline a lot of json object unmarshaling