Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kragen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
241.
▲
by
kragen
11mo ago
Hmm, could you previously open a bank account, buy a SIM card, apply for a loan, or enter an airport without any of those cards? If so, I think it's plausible that the government responded by adding friction to daily life in a way tha
242.
▲
by
kragen
11mo ago
You mean, on a third-party website that currently happens to have a capture of the page outside of the Zig team's control, one which can go down at any time?
243.
▲
by
kragen
11mo ago
Oh, thank you for the correction. That was a dumb mistake on my part.
244.
▲
by
kragen
11mo ago
Probably not. The conventional math notation has three major advantages over the "[n]o superscripts or subscripts or [G]reek letters and weird symbols" you're proposing: 1. It's more human-readable. The superscripts an
245.
▲
by
kragen
11mo ago
I thought Martian soil was full of perchlorate, which produces oxygen if you just get it wet and expose it to somewhere the gas can escape? I guess we'll never know, because this article is just blogspam linking another blogspam articl
246.
▲
by
kragen
11mo ago
It's possible that "it took several years and a small team of programmers to re-write the entire game in C++" because ⓐ those programmers were not as good as he was, and/or ⓑ they had to duplicate the behavior of an exis
247.
▲
by
kragen
11mo ago
I think you read that backwards. In skydhash's test, Codeberg's data was 72% cached, and GitHub's data was 28% cached. Maybe you meant that GitHub's cached 4.28MB was, in absolute terms, more than Codeberg's cache
248.
▲
by
kragen
11mo ago
As I see it, someone who "listened to that feedback, swallowed their ego/pride" would include a note at the end of the post about the edits. Admitting you were wrong requires not erasing the evidence of what you said. (He
249.
▲
by
kragen
11mo ago
I largely agree, but I'll take the opportunity to fill in some of the other gaps in the conversation. I didn't mean that you could 3-D print tiny laparoscopes or even visible-light metamaterials; I meant that you could 3-D print m
250.
▲
by
kragen
11mo ago
Well, it doesn't work for the newly added workloads. But for the most part we instead have the same workloads performed less efficiently.
251.
▲
by
kragen
11mo ago
https://www.ou.org/holidays/the_thirty_nine_categories_of_sa... outlines those "clear boundaries" in detail from a pre-medieval or early medieval perspective.
252.
▲
by
kragen
11mo ago
The older wisdom was that you worked on the farm with your husband and children for your entire life, breastfeeding while you peeled the potatoes, putting down your spindle to comfort a crying child. Millers lived in the mill; even blacksm
253.
▲
by
kragen
11mo ago
Often I use "zeroize" rather than "zero" to avoid such confusion.
254.
▲
by
kragen
11mo ago
Generally such constant offsets are record fields in intent, not array indices. (If they were array indices, they'd need to be variable offsets obtained from a register, not immediate constants.) It's reasonable to think of reco
255.
▲
by
kragen
11mo ago
It's rare that I see compiler-generated assembly without obvious drawbacks in it. You don't have to be an expert to spot them. But frequently the compiler also finds improvements I wouldn't have thought of. We're in t
256.
▲
by
kragen
11mo ago
Human assembly programmers on the 8086 used LEA all the fucking time. And I'm not sure good ISA design is characterized by the need for ingenious hacks to get the best mileage out of the hardware; rather the opposite, in my view. The
257.
▲
by
kragen
11mo ago
That's a good point, but when one laptop can do 102545 transactions per second, overprovisioned capacity is kind of a more reasonable thing to use than back when you needed an Amdahl mainframe to hit 100 transactions per second.
258.
▲
by
kragen
11mo ago
I agree.
259.
▲
by
kragen
11mo ago
I would rather say it's really only potentially beneficial for distributing static libraries, since binaries and shared libraries already lose their per-function sections. So they pay the cost of the fluffier code without getting mu
260.
▲
by
kragen
11mo ago
Yes, surely much more code is being written in other languages than in C, but probably more C is being written now than ever before, too.
261.
▲
by
kragen
11mo ago
If it's the network that's constrained and not the CPU, gzipped JSON will often beat protobufs.
262.
▲
by
kragen
11mo ago
Kenton Varda also worked on Protobufs at Google before he wrote CapnProto, I think.
263.
▲
by
kragen
11mo ago
Experience with ASN.1.
264.
▲
by
kragen
11mo ago
But zero-copy formats like FlatBuffers or Cap'n Proto can be much faster. Like, faster by an arbitrarily large factor, for data at rest.
265.
▲
by
kragen
11mo ago
ASN.1 is far, far more complicated than JSON or any particular flavor of CSV, in part because it does provide an extra level of schema that those other formats don't.
266.
▲
by
kragen
11mo ago
These are extremely practical tips on using binutils to shrink your libraries. It might also be worthwhile to compile the library without per-function sections in the first place, which hopefully can be done without patching rustc. On man
267.
▲
by
kragen
11mo ago
Automatic mistrust of the government is the only sensible point of view and the bedrock foundation of liberalism and democracy. Any other attitude toward government is fatally naïve.
268.
▲
by
kragen
11mo ago
Having a single CrowdStrike-like point of failure will probably make these problems worse overall, but burstier.
269.
▲
by
kragen
11mo ago
I am definitely going to do this now. But shouldn't the rest of the word be Greek too? Let's put on our necropodes to go for a walk? Or necropapoutsi? That's not a classical root.
270.
▲
by
kragen
11mo ago
I'm sure you could solder together some 1kV 1MΩ resistors, but if you can buy a 10kV probe designed, built, and tested by people who do that every day, betting your life on your DIY creepage allowances may seem unappealing.
More ›