Better HN
topnewbestaskshowjobs
Log inSign up

RustyRussell

1,432 karma · joined May 20, 2011 (15y ago) · 286 submissions

[ my public key: https://keybase.io/rusty; my proof: https://keybase.io/rusty/sigs/uWS-VceJTes_fyFrtfO5WNTj-smrhHV67zLX0yUDzhI ]
Submissions

comment 3y ago · link · parent

Oops, too late to edit, but apparently this is a paid inscription service, not a single whale user: https://twitter.com/mononautical/status/1663383996561072129?...

comment 3y ago · link · parent

Someone is creating tokens with the hope of selling them onwards. Most of them are created by a single entity, who spent about $30M in fees to do so, so presumably they expect people to buy them, and thus profit.

The only reason most Bitcoin users care is that they pushed up fees for everyone else (there is limited block space, so miners take the highest bids). Such few pressure is expected to be the norm eventually, and has happened before, but there's been a prolonged period (years) of low fees so it was a bit of a surprise to many.

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

For those who like me had no idea what a sixel was: https://en.m.wikipedia.org/wiki/Sixel

comment 3y ago · link · parent

https://en.m.wikipedia.org/wiki/Hawthorne_effect

Disputed, especially how significant it is...

comment 3y ago · link · parent

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...)

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

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 :(

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

FWIW I get a 503 on that URL. Any chance someone can give me that magic one-liner?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

No, I clicked through and got confused, came here for enlightenment. Thanks!

comment 3y ago · link · parent

Let's take this as evidence that the proposal is counter-intuitive?

comment 3y ago · link · parent

Not for bool though.

comment 3y ago · link · parent

Yes, it's backwards. And counter-intuitive use of bool :(

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

comment 3y ago · link · parent

"donated to" not "invested in". It's just a plain FOSS project.

comment 3y ago · link · parent

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!

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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!

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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).

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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!).

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Strange; I've been working on it for over seven years on the assumption that it does.

Would you like to expand your point?

comment 4y ago · link · parent

Really? That seems weird to me. Do you know of one?

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Yes, it was the moment I personally realized we were in eternal September :(
12345
10