1,432 karma · joined May 20, 2011 (15y ago) · 286 submissions
comment 4y ago · link · parent
To quote Kernighan and Plauger: "Don't patch bad code: rewrite it".
comment 4y ago · link · parent
The response from Julian Seward was so nice it set a permanently high bar for me when random people I don't know report bugs on my projects!
We still run our entire testsuite under valgrind in CI. Amazing tool!
comment 4y ago · link · parent
"And it’s not just servers. With about 8 billion transistors on a single die, a mobile phone can get so hot it might need to spend a few minutes in a refrigerator. When that happens, the apps will fail to function correctly."
Such a weird way to phrase this! All I can think is ".. and it's hard to use your phone when it's in the fridge"?
comment 4y ago · link · parent
This avoid merge hell on the CHANGELOG.md file.
comment 4y ago · link · parent
The point was that this is what proof of a Creator would look like (and the aliens suggested there were others).
It was, IMHO, a giant gauntlet thrown down to religious folk. And elegantly done, too.
comment 4y ago · link · parent
Took me a few minutes on DDG, but enjoy: https://agapow.net/misc/humour/starship-troopers-a-review/
comment 4y ago · link · parent
But I agree with everyone else here: time to move to a bigger pond.
comment 4y ago · link · parent
We need a shitload of green generation infrastructure, and Bitcoin is going to pay for it. Sometimes the world is weird, sorry.
comment 4y ago · link · parent
It was one reason I worked on the kernel: that all your software should be hackable. I probably would have found something else to do if the licence were different.
comment 4y ago · link · parent
comment 4y ago · link · parent
The kernel had no idea what was going on, so had no idea how to schedule such a thing. It particularly didn't know to wake you when the lock (which it has no idea about) became available.
comment 4y ago · link · parent
Hmm, looking at the latest source code, my original quote has been split, but:
* Fast Userspace Mutexes (which I call "Futexes!").
* (C) Rusty Russell, IBM 2002
...
* "The futexes are also cursed."
* "But they come in a choice of three flavours!"
https://github.com/torvalds/linux/blob/master/kernel/futex/c...
comment 4y ago · link · parent
$1k a year (deductible) is a bargain when Linux and FOSS is literally your career.
(Disclosure: I let mine lapse after I retired from kernel maintenance, but I'm thinking of renewing since I still get value mainly be following links from HN)
comment 4y ago · link · parent
I look at Ingo, Dave Miller, Richard Henderson and Andrew Tridgell who are ~ my generation, all both better coders than I will ever be and really nice people to work with.
Then I look at young coders like Olaoluwa Osuntokun and Bastien Teinturier who are also great to work with and who I can only keep up with because I have years of experience, and it completely keeps my massive ego in check!
comment 4y ago · link · parent
comment 5y ago · link · parent
https://rusty.ozlabs.org/?p=560
Hope that helps!
(And yes, the CCAN memeqzero routine is the same as yours above in form).
comment 5y ago · link · parent
The result is that performance tends to be great up to about 95% full. The resize operation is a dumb double-and-rehash, but for most programs, the lower cache impact is a win.