Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sesse__
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
451.
▲
by
Sesse__
1y ago
The first version is more readable, faster for small n (which is the common case), can not run out of memory due to the hash table, compiles to less code, does not need item to be hashable and cannot accidentally copy elements (depending on
452.
▲
by
Sesse__
1y ago
I almost never find graph usage useful, TBH (and flamegraphs are worse than useless). And perf's support for stack traces is always wonky _somehow_, so it's not easy to find good defaults for the cases where I need them (I tend to
453.
▲
by
Sesse__
1y ago
Postgres does indeed promise perfect snapshot isolation, and Amazon does not (to the best of my knowledge) document that their managed Postgres service weakens Postgres’ promises.
454.
▲
by
Sesse__
1y ago
Hello ChatGPT.
455.
▲
by
Sesse__
1y ago
It's called Jazelle.
456.
▲
by
Sesse__
1y ago
Leave it alone, since it has no real effects?
457.
▲
by
Sesse__
1y ago
Debian also has a packaging lint rule telling people to update the FSF postal address. So much energy must be wasted in this. :-)
458.
▲
by
Sesse__
2y ago
It's a US thing. Europeans just write 1/cos(x) instead of treating it as a special thing with its own name. The Americans have sec, csc, and a bunch of others I never bothered to learn. It doesn't seem to add all that much to
459.
▲
by
Sesse__
2y ago
For demonstrating verification of a conjecture, surely you can do much simpler things than a zero-knowledge proof: Send one of the primes.
460.
▲
by
Sesse__
2y ago
No, plenty of systems use other factors. The golden ratio has some nice properties, but it's not essential.
461.
▲
by
Sesse__
2y ago
Well, immediately after that, they say they inverted the entire curve (through a naïve 1/|X| and then un-FFT, presumably) and saved it as an impulse response. I think the 300Hz slope is to _keep_ the rolloff in that area, so that the s
462.
▲
by
Sesse__
2y ago
It really depends on what your filter bank looks like. If it's a 4-band parametric EQ, then sure, you can have four biquad IIR filters and that's it. But if you've measured an impulse response and want its inverse (e.g. throu
463.
▲
by
Sesse__
2y ago
Why? Don't you think these companies can use Puppeteer or similar and just take that second or so of compute to get a cookie for lore.kernel.org?
464.
▲
by
Sesse__
2y ago
Why do you assume that spammers and AI crawlers do not have access to large amounts of compute? You can make it more expensive, but these crawlers already have made it clear that they do not care particularly about cost (or they would not c
465.
▲
by
Sesse__
2y ago
Given that the labs were with TAs present, at that point, you'd just go to the TA and they'd tell you to write down the number even if it didn't match.
466.
▲
by
Sesse__
2y ago
Given that a report is supposed to tell what you did and then your calculations and conclusions, you'd better include something as dramatic as “we washed the equipment after getting the wrong results and detecting contamination”…
467.
▲
by
Sesse__
2y ago
My physics professor told us once about a lab he had to do when he was a student himself, about measuring the adiabatic gas constant of air. The workload at that point was immense, so lots of students would just write a report and give the
468.
▲
by
Sesse__
2y ago
That's not really what digital implies, but you figured out the important part: When digital signals fail, they do so in a very obvious fashion. A worse cable won’t give you “less saturated blacks” or something else that's subtle,
469.
▲
by
Sesse__
2y ago
You lost me at “multiple per-interface NAT rules […] with some load balancing trick” being “stupid easy”… But BGP+PI is indeed how multihoming is supposed to work, both in IPv4 and IPv6. (Well, in IPv6, you can put two prefixes on-link and
470.
▲
by
Sesse__
2y ago
Huh, I have one for my personal home network :-) Granted, that is in RIPE. As long as you're multihomed, how can they turn it down?
471.
▲
by
Sesse__
2y ago
What do you mean? IPv6 PI is common and easy to get; there's no big difference between IPv4 and IPv6 there.
472.
▲
by
Sesse__
2y ago
For perceptual color difference, there are much better metrics than “distance in linear RGB”. CIE has some implementations of a metric called ΔE*, for instance. I don't know if they actually do well in dithering, though. My experience
473.
▲
by
Sesse__
2y ago
Well, if you say you don't want caching and speculation, then you've essentially given up on performance already. There's a reason why these small cores are slow.
474.
▲
by
Sesse__
2y ago
You don't have any guarantee that the SIMD operations are actually done in parallel (which is of of the assumptions needed for “the latency matches that of the slowest element”). E.g., I believe VPGATHERDD is microcoded (and serial) on
475.
▲
by
Sesse__
2y ago
You can easily buy such CPUs in the microcontroller market, just go ahead. They're being sold by the billions.
476.
▲
by
Sesse__
2y ago
Yup. More cache, higher clock speeds, slightly more flexible instruction pairing. Few applications used MMX anyway, I think.
477.
▲
by
Sesse__
2y ago
MMX wasn’t actually that useful. The vectors were only 64 bits wide, you had no float support and the supported operations were kind of uneven... SSE and especially SSE2 were a much bigger leap.
478.
▲
by
Sesse__
2y ago
> If the rate isn't an even multiple, it's worth using a tool that can dither; dithered resampling artifacts are less abrasive than undithered... This seems to be mixing up two things; proper interpolation and dithering. If you
479.
▲
by
Sesse__
2y ago
No, it does not.
480.
▲
by
Sesse__
2y ago
If you think you can hear ultrasound, it's nearly always due to nonlinearities in your system producing non-ultrasound when you try to play it. Seriously. (You can sometimes hear above-20 if it's very loud and/or you are pres
More ›