Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
511.
▲
by
comex
3y ago
Personally, as a website visitor and occasional author, I don’t want the performance to be good enough to ‘do the job’. I want it to be as fast as possible. I want it to be instant. For that we need unbloated websites and better protoc
512.
▲
by
comex
3y ago
Also, the software they were using (OpenDNSSEC) had an automated delay to avoid exactly this issue, but the delay period was based on a setting in its config file that was supposed to reflect the TTL of the DS record, and they forgot to cha
513.
▲
by
comex
3y ago
Page 50 of the report says that some (unnamed) resolvers do this, and “we think this [..] is a very good implementation feature to reduce the impact of mistakes”, but that it’s “definitely not universally implemented”.
514.
▲
by
comex
3y ago
It indeed excludes all taxes and government-imposed fees.
515.
▲
by
comex
3y ago
Caveat: 1 yen is worth about 1 cent USD.
516.
▲
by
comex
3y ago
Yes, it would include that kind of thing. It’s written broadly to include all fees except (1) taxes and government-mandated fees, and (2) shipping fees (which have to match the actual cost the seller pays for shipping).
517.
▲
by
comex
3y ago
> Undefined behavior[2] Given that this particular undefined behavior usually causes crashes in practice, I expect the author is talking about casting away the const but not actually writing to the pointer. Which is legal.
518.
▲
by
comex
3y ago
(self-reply) One more thing. > I could use _Bool, but I’d rather stick to a natural word size and stay away from its weird semantics. This is even more subjective, but personally I like _Bool's semantics. They mean that if an expre
519.
▲
by
comex
3y ago
But if you don't use packed attributes, then the compiler will still add padding as necessary to avoid misalignment, while not wasting space when that's not necessary.
520.
▲
by
comex
3y ago
> #define sizeof(x) (size)sizeof(x) I'm guessing this is lacking an outer pair of parentheses (i.e. it's not `((size)sizeof(x))`) on the grounds that they're unnecessary. In terms of operator precedence, casting binds
521.
▲
by
comex
3y ago
Apple is trying something very similar to this: https://discourse.llvm.org/t/rfc-enforcing-bounds-safety-in-... Supposedly it's already in use: "The -fbounds-safety extension has been adopted on millions of l
522.
▲
by
comex
3y ago
Technically, using volatile between threads is a data race and therefore UB [1]; the guarantees made around sig_atomic_t only apply between a thread and a signal handler on the same thread. Though, I'd argue that the no-optimization gu
523.
▲
by
comex
3y ago
> Atomics and volatile solve different problems, though. Yep, that's why atomics are only an alternative to uses of volatile _for atomicity_. For the original use case of accessing hardware registers, volatile is still the correct
524.
▲
by
comex
3y ago
(2010) The post is still accurate, but in 2011 C and C++ added atomics, which are a more portable alternative to uses of volatile for atomicity. They can be more efficient in some cases than the locks suggested by the post, especially in C
525.
▲
by
comex
3y ago
But why “WebRTC M94” specifically? M94 is just a version number, for a version of the WebRTC library that’s two years old and probably subject to known vulnerabilities at this point…
526.
▲
by
comex
3y ago
For Wait-Or-Die, do you really need to fetch_and_add to get a transaction ID? Do you need a transaction ID at all? It sounds like the goal is just to have an arbitrary-but-consistent ordering of active transactions so that different trans
527.
▲
by
comex
3y ago
True, although in this case the ChatGPT explanation seems to be mostly accurate. The one dubious point is the definition of "bisect". The definition is completely accurate in this context . But the sentence after the definiti
528.
▲
by
comex
3y ago
For wealthy people, that would be an example of extreme luxury, or in other words spending vast amounts of money for marginal improvements in quality of life. Doing so is perfectly rational for them (what else are they going to do with the
529.
▲
by
comex
3y ago
It’s based on compression. The paper explains how the GPU stores pixels in memory in a losslessly compressed format in order to speed up data transfers. And the filter stack is designed so that a dark pixel input produces an all-black ou
530.
▲
by
comex
3y ago
For one thing, the privacy rules only cover sharing data with third parties. They don’t cover Amazon using its own data for product recommendations. But also, Amazon doesn’t rely on product recommendations in the first place. When I want
531.
▲
by
comex
3y ago
Here's my translation, with notes in double brackets. [[Post:] Finally got the Apple Pay Secure Element screen on iOS 17… Seems like the upper limit is 39 cards (I collected and registered debit cards, prepaid cards, etc.) Felica means
532.
▲
by
comex
3y ago
I experience it as fast compared to traditional, pre-SPA-era web forums; the use of JavaScript speeds up a lot of interactions that would otherwise require a full page load. The live Markdown preview is also a heck of a lot better than hav
533.
▲
by
comex
3y ago
FYI for the author: > Chrome was built from scratch by Google, while Safari was originally derived from the KDE project's Konqueror browser engine, KHTML. This isn’t correct. Chrome’s engine, Blink, was forked in 2013 from WebKit,
534.
▲
by
comex
3y ago
But half the top supercomputers are a cluster of Linux x86 boxes, and the other half are Linux on some other architecture.
535.
▲
by
comex
3y ago
You can’t change the license of the original code. But you can say “all changes from now on are licensed under the BSL”, with no need to physically separate the BSL and non-BSL parts. The result is a codebase where users have to comply wi
536.
▲
by
comex
3y ago
IANAL, but I'm pretty sure this article is wrong. The court applied the "good faith exception" and declined to vacate the defendants' convictions because of the lack of existing precedent at the time of the search warra
537.
▲
by
comex
3y ago
Note: Judging from the timestamps, this seems to be about three weeks old.
538.
▲
by
comex
3y ago
Probably by having enough computers that they can overload the server even if the number of requests coming from each individual computer is relatively low, as a multiple of what a normal user would send – low enough that those computers ha
539.
▲
by
comex
3y ago
This isn’t even a proper MitM attack, just passive sniffing. But, I ask as someone unfamiliar with TPM, how do authenticated sessions work? How does the OS prove its identity to the TPM in a way an attacker couldn’t spoof in a real MitM at
540.
▲
by
comex
3y ago
Most of the time I’ve seen something called a Ponzi scheme, there is at least some purported element where earlier investors in an asset make money off of later investors in the same asset, without the asset’s true worth actually increasing
More ›