Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sesse__
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
61.
▲
by
Sesse__
5mo ago
One of my teachers in elementary school told us that people in the Arabic world wore long garments because as Muslims, they believed the Messiah would be born by a male, and thus, it was important to have something to catch the baby as it u
62.
▲
by
Sesse__
5mo ago
I can totally understand why people would want a memory-safe decoder, but a memory-safe encoder is niche. Finding a memory-safety bug in a decoder is a matter of finding a single unchecked integer field somewhere; finding a memory-safety bu
63.
▲
by
Sesse__
5mo ago
> And as for Git web interfaces, the correct solution is to require logins to view complete history. Why logins, exactly? Who would have such logins; developers only, or anyone who signs up? I'm not sure if this is an effective long
64.
▲
by
Sesse__
5mo ago
Also, relevant for forges: AI doesn't understand what it's clicking on. Git forges tend to e.g. have a lot of links like “download a tarball at this revision” which are super-expensive as far as resources go, and AI crawlers will
65.
▲
by
Sesse__
6mo ago
Thanks, that's an interesting tidbit! (The whole thing made me think about applications to SQL query optimizers, although I'm not sure if it's practically useful for anything.)
66.
▲
by
Sesse__
6mo ago
Is the word problem easier if the monoids are commutative? (Or even trivial? I haven't thought deeply about it.)
67.
▲
by
Sesse__
6mo ago
Sure, but how does this differ from a routing table with RPF (which is default in Linux already)?
68.
▲
by
Sesse__
6mo ago
I use Wireguard rarely enough that the AllowedIPs concept gets me every time. It gets easier when I replace it mentally with “Route=” :-)
69.
▲
by
Sesse__
6mo ago
The obvious question, I guess: How much faster are you than whatever is in the Linux kernel's FIB? (Although I assume they need RCU overhead and such. I have no idea what it all looks like internally.)
70.
▲
by
Sesse__
6mo ago
> But there's now multipath TCP handover? Weird behaviour to want different network interfaces on different network share the same IP, and pass it along like a volleyball? Mobile IP actually wanted to do this, it just never took off
71.
▲
by
Sesse__
6mo ago
https://en.wikipedia.org/wiki/Angular_frequency It's very convenient when you're working with periodic signals (say, when discussing the FFT); you don't have to drag a 2pi factor around everywhere.
72.
▲
by
Sesse__
6mo ago
That sounds too low; 3 m$Hz would probably be right, but 3 µ$Hz is very little.
73.
▲
by
Sesse__
6mo ago
Mostly, people who do “requests per day” have a lot lower load than 1100 requests/sec, too… it's a typical red flag for having a team that know a lot less about performance than they think.
74.
▲
by
Sesse__
6mo ago
> Porting all of that to support ipv6 can easily be a multi-year project. FWIW, as someone who has done exactly this in a megacorp (sloshing through homebrew technical debt with 32-bit assumptions baked in), the initial wave to get the m
75.
▲
by
Sesse__
6mo ago
Yeah, “Purely Functional Data Structures” came out in 1996! I read most of it recently, when I needed a C++ copy-on-write hash map. It was still fairly relevant (although the “obvious” solution of a HAMT was also the one we decided on).
76.
▲
by
Sesse__
6mo ago
Good thing all disks these days have data checksums, then! (50TB+ on ext4 and xfs, and no, no bit rot. Yes, I've checked most of it against separate sha256sum files now and then. As long as you have ECC RAM, disks just magically corrup
77.
▲
by
Sesse__
6mo ago
> 34% of people are foreigners I remember moving there, hearing talks about how international Zurich was, and then realizing most of those foreigners were German. :-) It's diverse on paper (and probably to the Swiss), but it's
78.
▲
by
Sesse__
6mo ago
I don't have my stuff on GitHub, but git push will send me email with a patch. I actually get real, useful patches out of it (more than before I had only email); not huge stuff, but scratching people's itches and bugs; stuff I can
79.
▲
by
Sesse__
6mo ago
I find Meson's --help fairly useful, at least compared to the disaster that is CMake's. (Try to find out, as a user not experienced with either, how you'd make a debug build.) I agree that configure --help is more useful for
80.
▲
by
Sesse__
6mo ago
That we can agree on.
81.
▲
by
Sesse__
6mo ago
> Copying is generally considered pretty lame in the demoscene these days. You will still see plenty of e.g. SID covers of existing pop music, without anyone really batting an eyelid.
82.
▲
by
Sesse__
7mo ago
> if there are problems, they will eventually come to light anyway Not necessarily; before Kyle started this one-man crusade against data loss, database vendors would claim generally whatever and it would go unchallenged for decades. (Yo
83.
▲
by
Sesse__
7mo ago
This is called “an arena” more generally, and it is in wide use across many forms of servers, compilers, and others.
84.
▲
by
Sesse__
7mo ago
xz is generally slower-but-more-dense; it's not meant to be a full gzip replacement. Zstd, on the other hand, aims to be a “better gzip”, in that it's compresses about as fast as gzip but packs somewhat denser (and decompresses fa
85.
▲
by
Sesse__
7mo ago
Ah, I didn't know of either scheme. Still, am I right in that this mainly makes sense for degrees above five or six or so?
86.
▲
by
Sesse__
7mo ago
> And since arithmetic operators are left-to-right associative, the rather ugly code, as written, is fast and not as wasteful as it appears. This is incorrect, for exactly the reason you are citing: A * x * x * x * x = (((A * x) * x) * x
87.
▲
by
Sesse__
7mo ago
No, it's not equivalent for floating point, so a compiler won't do it unless you do -fassociative-math (or a superset, such as -ffast-math), in which case all correctness bets are off.
88.
▲
by
Sesse__
7mo ago
Still, it's no worse than the naïve formula, which has exactly the same data dependencies and then more. _Can_ you even make a reasonable high-ILP scheme for a polynomial, unless it's of extremely high degree?
89.
▲
by
Sesse__
7mo ago
And similarly, entire generations of programmers were never taught Horner's scheme. You can see it in the article, where they write stuff like A * x * x * x * x * x * x + B * x * x * x * x + C * x * x + D (10 muls, 3 muladds) in
90.
▲
by
Sesse__
7mo ago
> now it feels overwhelming to have to try to grasp Here's a dirty secret: It's just like IPv4, except with longer addresses and slightly different autoconfig. :-) (Well, you don't have the legacy of classful addressing an
More ›