HNHacker News
TopNewBestAskShowJobs

RustyRussell

1,432 karma · joined May 20, 2011

[ my public key: https://keybase.io/rusty; my proof: https://keybase.io/rusty/sigs/uWS-VceJTes_fyFrtfO5WNTj-smrhHV67zLX0yUDzhI ]
submissionscomments
RustyRussell··on The Cathedral and the Bazaar (1999)
Yeah, it's weird how this anti-GNU piece became interpreted as a pro-Open Source piece.

The main thing I learnt from ESR was that you can, actually, do worse than Crazy Uncle Stallman.

But we got "Everyone Loves Eric Raymond", which made me feel less like the odd one out!

RustyRussell··on Are We Sixel Yet
For those who like me had no idea what a sixel was: https://en.m.wikipedia.org/wiki/Sixel
RustyRussell··on Wearing an eye mask during sleep improves episodic learning and alertness
https://en.m.wikipedia.org/wiki/Hawthorne_effect

Disputed, especially how significant it is...

RustyRussell··on You could have invented futexes
Um, does Linux run on such systems? There's a broad assumption that atomic ops work efficiently (or at least, that was true when I dropped out 7 years ago...)
RustyRussell··on You could have invented futexes
Oh, blast from the past!

The original futex code used physical addresses, and pinned the page, which is simple: if you can share memory somehow, you can use a futex.

Of course, most people use pthreads and increasingly the idea of a Linux userspace locking primitive gave way to a glibc-pthread accelerator...

RustyRussell··on Catch-23: The New C Standard Sets the World on Fire
Frankly, the C standards ctte went off the deep end when they effectively banned NULL to memset etc (obv with zero length).

Not because these functions couldn't handle it, but because this assertion simplifies optimizations elsewhere.

This has required adding extra checks in my code, found mainly by trial and error, and has made it less readable and less optimal.

Finally, the checked arithmetic operations returning false on success is a horror show. Fortunately it will be found on the first time the code is run, but that's a damnably low bar :(

RustyRussell··on Binance sees $2B in outflows as troubles compound
Sorry, what?

Binance came out of nowhere with massive fake volume, as a China-based exchange pretending to be based in Hong Kong. They've proceeded to thrive by having a reputation for giving accounts to anyone, globally (which, TBH, is not a bad thing as they operate in countries where it's better than trying to save in the local currency). And their home country is "somewhere you are not".

There is no basis for believing that they have maintained all the funds: why would they?

RustyRussell··on So you've installed `fzf` – now what?
FWIW I get a 503 on that URL. Any chance someone can give me that magic one-liner?
RustyRussell··on Ars: “Book publishers with surging profits struggle to prove IA hurt sales”
You keep saying this, but it's not true: they only allow one borrower of any work at a time.

This really does mirror the Library model, but on the internet.

RustyRussell··on GOTOphobia considered harmful in C
Generally true, but I've been known to do `goto again;` for those cases where retrying is a corner case. Sure, you can put the entire code inside a `for(;;)` but if it almost always only runs once, you're not helping the reader understand the code.
RustyRussell··on Argdown: A simple syntax for complex argumentation
No, I clicked through and got confused, came here for enlightenment. Thanks!
RustyRussell··on Checked integer arithmetic in the prospect of C23
Let's take this as evidence that the proposal is counter-intuitive?
RustyRussell··on Checked integer arithmetic in the prospect of C23
Not for bool though.
RustyRussell··on Checked integer arithmetic in the prospect of C23
Yes, it's backwards. And counter-intuitive use of bool :(

They felt fine changing the argument order, why stick with the reverse polarity?

RustyRussell··on Promotion of alternative social platforms policy
"donated to" not "invested in". It's just a plain FOSS project.
RustyRussell··on Apple GPU drivers now in Asahi Linux
At USENIX in 1997 I went to a talk by a young David S Miller and Miguel de Icaza on porting Linux to the Ultrasparc. That talk (regretfully unrecorded) more than anything else convinced me that I had to work on Linux.

Throughout the talk they showed Linux vs Solaris performance, and talked about their optimizations. It was lmbench (Larry McVoy the author was ex-Sun, which adds something) that, and by the end they beat Solaris on every result.

Obviously this was impressive, but it's hard for me to clearly express how much this shook my assumptions about how to build good software. A bunch of students shouldn't have been able to beat Sun on their own hardware in anything!

RustyRussell··on Bitcoin worth $1.5B withdrawn from Coinbase in 48 hours
Exchanges these days are casinos, not on-ramps. You can use them like that, but it's not their core business.

There are trustworthy businesses (e.g keys.casa) which help with custody. But it's a different business these days.

RustyRussell··on Bitcoin worth $1.5B withdrawn from Coinbase in 48 hours
Well, there's some evidence that people are withdrawing from exchanges (to their own custody, assisted custody, or other custodians).

This is probably a good thing, as it's the only real way to ensure they actually have your money. And it's a story if you're worried about being last one out in that case! (I think it unlikely for Coinbase TBH).

Definitely some people (myself included!) hope this becomes a cultural norm for Bitcoin. But that might be a bit optimistic!

RustyRussell··on Bitcoin worth $1.5B withdrawn from Coinbase in 48 hours
Actually, there are a whole range of metal seed backup systems available!

But seriously, write down the 12 seed words, keep it somewhere safe. Make another copy, tear it in half (6 words each) and keep one with a relative and one at work. Check them at 1, 2, 4, then every 6 months.

But for most people this is all overkill: just use a mobile wallet.

RustyRussell··on Nostr is a stupid simple P2P protocol that works, built by builders
Actually, websockets are trivial full stop. I implemented a web socket proxy in C in a day by reading the excellent RFC (sure, there's weird shit in there, but it's not hard).
RustyRussell··on Sam Bankman-Fried tries to explain himself
Yeah, the original Proof of Reserves proposals (and this is probably a decade ago, on the bitcointalk forum) was a merkle scheme IIRC in which each user could verify that their amounts were added into the proven total.

Most people seem to be just using "prove you hold some amount" which is a very poor cousin. However, it is pretty clear that FTX would have failed even that, so maybe we should lower our expectations?

RustyRussell··on FTX to file for U.S. bankruptcy, CEO resigns
No, you're thinking of Kraken, which has been doing this for years (not an endorsement!). Binance just did it, by revealing their wallet addresses, and promised more in future.

Two important points: 1. Generally Proof of Reserves is a term where all holders can validate cryptographically that their funds are accounted for. This is harder because it's natural and efficient for an exchange to co-mingle multiple customers. 2. Doesn't mean they're solvent! They might owe customers $100bn for all anyone knows.

It's still far better than nothing, but FWIW their history of lying about their home jurisdiction, and massive "out of nowhere" growth is a huge red flag that you should be aware of (FTX did the latter even faster, of course, being founded in 2019!).

RustyRussell··on FTX tapped into customer accounts to fund risky bets, setting up its downfall
Well, their largest asset was probably their own token. Once that went to zero, maybe it was Bitcoin, but I doubt it. Tether more likely.

Remember, this was a casino, not really an exchange.

RustyRussell··on Bitcoin Fails to Produce 1 Block for over an Hour
Strange; I've been working on it for over seven years on the assumption that it does.

Would you like to expand your point?

RustyRussell··on Stablecoin Mechanics 2: Tether-Celsius
Really? That seems weird to me. Do you know of one?
RustyRussell··on Bitcoin and Economic Nihilism
Note: This is a very long read about Ethereum, with only 7 occurrences of the word bitcoin, most in the first paragraph, and one in the title.

I guess Bitcoin gets the clicks more than Ethereum?

RustyRussell··on Ask HN: What's the best source code you've read?
Yes, I would second this. It's hard to rewrite, but needs it in many places that I've read (in particular, the code to detect BIP9 etc soft fork activation is horrible).

To be fair, the slow polishing of a thousand hands continues. libsecp256k1 is tested to a level few if any FOSS libraries achieve, for example.

RustyRussell··on The Case for the /usr Merge (2012)
Yes, it was the moment I personally realized we were in eternal September :(
RustyRussell··on The Case for the /usr Merge (2012)
(2013)

Though I responded in 2012, so it may be older (the log on the site says 2013 though).

FWIW, my response, as FHS editor:

https://rusty.ozlabs.org/?p=236

RustyRussell··on Yak Shaving: A Short Lesson on Staying Focused (2018)
It says not to combine refactoring with bug fixing. But like any advice, it's relative: a drive-by cleanup can be easier for everyone than reviewing a separate PR. And sometimes a refactor makes the bug (and all related ones!) vanish or trivially caught.

To quote Kernighan and Plauger: "Don't patch bad code: rewrite it".

← PreviousPage 4 of 10Next →