Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anyfoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
391.
▲
by
anyfoo
2y ago
That still breaks my head. Reaching your minimum speed slower means you have a higher speed for a longer time, covering more distance? I know nothing about racing, is it maybe about reaching a higher minimum speed by doing so before the c
392.
▲
by
anyfoo
2y ago
You’re going to need a smidge more than that.
393.
▲
by
anyfoo
2y ago
I disagree, hard.
394.
▲
by
anyfoo
2y ago
Often, it's better to see the IPv6 address space as 64+a few bits instead of 128 bits, because a lot of the common ways to choose an IP address for a device defines the entire last 64 bit, so subnets smaller than /64 (i.e. prefixe
395.
▲
by
anyfoo
2y ago
> The centre is the bit we use for visual fidelity, or central focus. When I got my retina imaged (routine, no problems found), I was amazed at how small that spot is when it was pointed out to me. Only a tiny part of the retina is actua
396.
▲
by
anyfoo
2y ago
I thought it was a spot near but definitely not at the very center of our field of vision, and an ad-hoc experiment to try to find my blind spot seems to confirm that? (It seems to rather be in the periphery.) Or is there another, smaller b
397.
▲
by
anyfoo
2y ago
One superfluous tsunami warning after an outlier 7.0 earthquake, and already "the system is training [you] to ignore it"?
398.
▲
by
anyfoo
2y ago
No idea if that's true, but I've heard that's also why the absurd (and terrifying) seeming "children eating paint chips containing lead" is an actual occurrence. Because those lead chips taste sweet.
399.
▲
by
anyfoo
2y ago
In San Francisco, you just call the city. They'll give you a few bottles to fill, which they will test. I remember that they even came by personally to either deliver or get them. (Or both?)
400.
▲
by
anyfoo
2y ago
Another fair point. I think I'd use this: make restore & (make -j 20 kernel && make reset upload) But in reality, the kernel target actually calls make anyway, so it's just in there. Depends on the exact situa
401.
▲
by
anyfoo
2y ago
Lots of things optimize for terseness. Assembly, arithmetic/algebra, and any kind of shorthand in any kind of trade. That’s because the shorthand is usually easy enough to learn, and then provides value going forward. You are perfect
402.
▲
by
anyfoo
2y ago
Fair. But as said, in my experience, they remain useful and simple for a pretty long time. I usually always start out with a simple Makefile. Only sometimes do I start with or eventually switch to something else because of the projects’ nee
403.
▲
by
anyfoo
2y ago
I did mention that in other comments, including the C preprocessor helping. make is completely language agnostic, so it cannot “guess” header dependencies. In make, you get the dependencies you specify (whether manual or generated), that’s
404.
▲
by
anyfoo
2y ago
Fair!
405.
▲
by
anyfoo
2y ago
I think that's fair. On top of that, being a low level system programmer, I think I'm pretty good at realizing/intuiting when something critical changed that needs me to nuke the build dir, i.e. the manual work you mention to
406.
▲
by
anyfoo
2y ago
I'd go further and say "parser generator", the generated parser will be compiled by a C compiler after all.
407.
▲
by
anyfoo
2y ago
One might ask how you learned C (or python, or anything else) in the first place, if you can't be bothered to learn what the very simple $< and $@ mean, which would take you literally seconds to look up if my example wasn't act
408.
▲
by
anyfoo
2y ago
That is neat, but also super brittle, and full of abstraction leakiness, potentially leading to both false positives and negatives. Sounds like it would break down with ccache or distcc immediately, for example.
409.
▲
by
anyfoo
2y ago
Meh, it can practically never be perfect, without diminishing returns that at some point invalidate the advantage of any incremental builds anyway. As I said, you can let the C compiler generate your header dependencies for you. But that&
410.
▲
by
anyfoo
2y ago
Isn’t that the same now? By the way, I dislike the term “compiler compiler”, because that’s not really what it does. I like “parser generator” for tax/bison, and “lexer generator” for flex.
411.
▲
by
anyfoo
2y ago
Have a step that takes the SHA256 or similar of $CC, make that a dependency. You’d need slightly more advanced make features if you want to make it “pretty” (and not just, say, touch a file through some shell code comparison), but this is a
412.
▲
by
anyfoo
2y ago
It is correct to call it an incremental Makefile, it merely doesn’t name the dependencies for you. A Makefile has exactly the dependencies you specify. It’s that simple. That is not necessarily the most useful . Especially as your project
413.
▲
by
anyfoo
2y ago
It is so trivial, it takes you 10 minutes to learn. Less even, here is an attempt: foo.o: foo.c clang -c -o foo.o foo.c This builds a file called foo.o, if foo.c is newer than foo.o. Imagine that there is an identical bar.o
414.
▲
by
anyfoo
2y ago
Ah, thanks. My brain actually did not see that second "compiler" when reading, now it makes sense.
415.
▲
by
anyfoo
2y ago
If you want to have "fun", generate code in a WASM-representation of Hoare's WHILE language, i.e. a program that only consists of a single outer while loop (in WASM a "loop" block), and conditionally decide for ever
416.
▲
by
anyfoo
2y ago
I honestly don't think so, and I think this is here is a prime example for proving that. For example, a Makefile that does the same job as the build.py script in this project would be significantly smaller, simpler, and easier to read
417.
▲
by
anyfoo
2y ago
Presumably for the same reason why we're not "just" simplifying English, which is a horribly irregular language, particularly in its orthography. We could simplify English to have similar spelling and pronunciation rules as,
418.
▲
by
anyfoo
2y ago
The fact that the simplification stopped at time zones, and not at making one "global time zone", tells you how much you can stretch such "simplification" before it becomes a burden in other ways.
419.
▲
by
anyfoo
2y ago
Oof. I don't know much about tubes, do they always fail in ways that are reliable to detect? (E.g. I can imagine that detecting a burned out heater is easy, but I don't know what other common failure modes there are.) And even the
420.
▲
by
anyfoo
2y ago
Congratulations! That's no small feat.
More ›