Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joosters
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
joosters
4y ago
The 5ms isn't the key number. It's 5ms extra over a 28ms baseline, that's about 18% difference. If your noise threshold is 18%, then I think you have to accept that the benchmark probably isn't any good for this stated t
92.
▲
by
joosters
4y ago
Interesting article, but surprised that the author never mentions heaps... https://en.wikipedia.org/wiki/Heap_(data_structure)
93.
▲
by
joosters
4y ago
Is it even possible to do push notifications without relying on a centralized system (Google, Apple, or whoever)? Sounds like a very difficult problem to solve while preventing privacy leaks, spamming, DOS attacks and still being reliable a
94.
▲
by
joosters
4y ago
A compiler bug is a compiler bug, UB or not. You might as well just say "There have been more than a few compiler bugs, leading to very incorrect program behavior."
95.
▲
by
joosters
4y ago
So bad driving causes crashes? Who would that thought? It's not that the faster car is safer then, it's just the fact that if you try to overtake without sufficient room, you will be taking a risk. No-one is disputing that a faste
96.
▲
by
joosters
4y ago
I'm not sure that's right. The compiler isn't tracking undefined behaviour, it is tracking possible values. It just happens that one specific input into determining these values is the fact "a valid program can't de
97.
▲
by
joosters
4y ago
The compiler didn't find UB. What it saw was a pointer dereference, followed by some code later on that checked if the pointer was null. Various optimisation phases in compilers try to establish the possible values (or ranges) of var
98.
▲
by
joosters
4y ago
Why is it safer? Are you saying that you would otherwise overtake another car in an unsafe way, perhaps when you haven't enough visibility to check if there is no oncoming traffic for the overtake time? That's on you. The decision
99.
▲
by
joosters
4y ago
That's a good point - I reckon Mercedes haven't thought this through fully yet. All cars have their branding and model number on display, perhaps what new cars will have is some kind of fancy electronic display on the back that sh
100.
▲
by
joosters
4y ago
Ah, the “You’re holding it wrong” defence.
101.
▲
by
joosters
4y ago
I think that the author is saying that it is very difficult not to disclose that a user exists, and so there is not much point obfuscating it. Validating an email address on signup is only one way to 'leak' usernames. If you can o
102.
▲
by
joosters
4y ago
True, but the story covers that aspect - many systems provide other ways to check if a username exists (e.g. trying to register a new account, or sending an email to a gmail address, and so on)
103.
▲
by
joosters
4y ago
But the error message can be true. If you mistype your username, you might have entered another, existing username. Just telling the user 'wrong password' will mean they are less likely to check that the username was correct. Th
104.
▲
by
joosters
4y ago
I read a long way through this article before realising that it wasn't actually a parody of a lowtechmagazine.com story.
105.
▲
by
joosters
4y ago
Just like perforce and its "p4 changes" command. I like the simplicity.
106.
▲
by
joosters
4y ago
I can't find Matt Levine's article about it (he explains it very well). The problem is that often you don't want positions to be quickly liquidated when a margin call comes. The current system of allowing traders time to po
107.
▲
by
joosters
4y ago
Quick way to summarise a Vitalik blog post: Here's a social problem, tech will solve this!
108.
▲
by
joosters
4y ago
Yes, I read that man page. It states: EOVERFLOW: pathname or fd refers to a file whose size, inode number, or number of blocks cannot be represented in, respectively, the types off_t, ino_t, or blkcnt_t. This error can occur when, for
109.
▲
by
joosters
4y ago
Sure, but EOVERFLOW isn't coming from stat() in this case, is it? The man page states that this is returned for problems with file sizes too big for 32 bits, not for struct timespecs. Something else must be doing things with the atim
110.
▲
by
joosters
4y ago
It seems odd that the problem is in the access time of the files - why does a font library (or, almost any program) care about the last read time of a file? Sure, the modification time is important, but it's pretty rare that code s
111.
▲
by
joosters
4y ago
It's just like any kind of snobbery. If you want to be a connoisseur, it's practically obligatory to detest all the popular options. Because you (i.e. this website) are the expert and the commoners must be tasteless and wrong!
112.
▲
by
joosters
4y ago
https://nexo.io/earn-crypto is still up and promises 16% APR - I think they are the last ones standing now. I'm sure your money is safe with them, they proudly talk about their excellent Trustpilot rating /s
113.
▲
by
joosters
4y ago
If you want to talk in terms of coins, some of the direct fallout includes: FTT: $26 -> $1.60 Serum: $0.80 -> $0.26 Solana: $36 -> $14 Or, more indirectly all crypto 'market cap' in general: $1050B -> $825B. Ok, so mar
114.
▲
by
joosters
4y ago
"Almost all programming can be viewed as an exercise in caching."
115.
▲
by
joosters
4y ago
Looks like you're right - Uniswap v1 is still usable, they had 'proxy' contracts that could redirect users to more recent versions, but you can, if you choose, interact directly with the original version - it wasn't turn
116.
▲
by
joosters
4y ago
The ones that haven't (yet) been hacked, anyway... Besides, which ones really are decentralized? Can you name one that doesn't have a central control point? Most have an update system, allowing one person to either completely modi
117.
▲
by
joosters
4y ago
Does anyone know if this is actually true? By that, I mean the title of this article, 'Why does calloc exist?'. My guess would be that back in the origins of the C library: 1) Few cared about automatic overflow checks, that was
118.
▲
by
joosters
4y ago
It's even less than that; the NFT doesn't show that you exclusively 'own' anything. Another NFT can exist that points to the same JPEG, it could be on another blockchain or even the same one. Which NFT is the 'real&
119.
▲
by
joosters
4y ago
Not true - the FT took a look at the org chart of FTX, it's way more complicated than even Lehman Brothers - https://www.ft.com/content/c28e0570-d4c4-433c-b0a0-c99fba613...
120.
▲
by
joosters
4y ago
Well he failed miserably at that. If he had stuck with his original supposed $1 billion, he could have given almost all of it away and still lived a very comfortable life. As it stands now, his charitable foundation has pledged far less tha
More ›