Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teo_zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
481.
▲
by
teo_zero
2y ago
Is the limit for vehicles really 65636, or is this just a typo for 65536?
482.
▲
by
teo_zero
2y ago
> They work great if you assume [...] that they'll remember to reconfigure everything properly when migrating to a new phone and won't immediately throw the old one away and so on. This would be a terrible assumption even for u
483.
▲
by
teo_zero
2y ago
Isn't kerning about left-right and not up-down, though?
484.
▲
by
teo_zero
2y ago
I loved this puzzle, spent hours to solve it. What I don't like is the mystery hunt that follows. You don't know where to start, you don't know if the solution you found is correct, etc. Even a after looking up the solution,
485.
▲
by
teo_zero
2y ago
But even writing to a file doesn't guarantee non-blocking semantics. I still don't get what is special about pipes.
486.
▲
by
teo_zero
2y ago
Genuine question: why does printf need a retry loop when using pipes?
487.
▲
by
teo_zero
2y ago
> It seems like you'd need to trust a C compiler anyway, but I guess the idea is that there are a lot of small C compiler designs that are fairly easy to port? Sorry but TFA explains it very well how to go from nothing to TinyCC. Th
488.
▲
by
teo_zero
2y ago
When I see a snippet like this int temp = a * b; ngassert( abs(temp) >= abs(a), "overflow!" ); I wonder what stops the compiler from optimizing away the assert, as it's clearly based on an undefi
489.
▲
by
teo_zero
2y ago
Micro-review after having used it for half a day on Windows. It seems really lightweight: the UI is spartan but snappy, loading a file is instantaneous, etc. Downloading and installing a plugin is as easy as dropping a Lua file into a direc
490.
▲
by
teo_zero
2y ago
> while this (incorrect) use of "e.g." is a hill I will die on, even so, I struggle to explain why it's just plain wrong. Are there many such things you would die for without even knowing why? :) "Exempli gratia"
491.
▲
by
teo_zero
2y ago
> Alas, you're missing some bits. Why "alas"? I'm comparing apples with apples: UNIX base permissions vs alternative-universe base permissions. If you want to add the 3 flags (sticky, setuid and setgid), you can add 3
492.
▲
by
teo_zero
2y ago
It's counterintuitive that the owner can have less rights than the others. Honestly, I've never seen it put in practice in any real-world file system. Incidentally, this is also not very efficient: UNIX permissions as they are t
493.
▲
by
teo_zero
2y ago
When I edit a C program, comments are highlighted in a specific way, but the // characters are not removed. Why should editing a markdown text be different?
494.
▲
by
teo_zero
2y ago
Is buffalo mozzarella the cheese they eat in spaghetti westerns? :D
495.
▲
by
teo_zero
2y ago
The scale makes no sense. Sentiment of forum posts is not an absolute value, you can't compare it against, for example, conversations in a pub, or talks between friends, etc. I think they should have normalized the numbers around the
496.
▲
by
teo_zero
2y ago
I had a Blizzard myself, and I kind of remember it was equipped with a 68EC030, that is a 68030 without MMU. And I suspect the reason Serena requires a 68030 is in fact its MMU.
497.
▲
by
teo_zero
2y ago
> I also immediately went to eBay to see how much old Amiga computers cost Please note that Serena targets a Motorola 68030, so anything below an Amiga 3000 won't qualify.
498.
▲
by
teo_zero
2y ago
What I don't like about TFA is the inconsistent, sloppy use of coordinates. Initially x,y,z are relative to the viewer with z going from the eye to the object. Some paragraphs later x,y are the horizontal plane with z going up. Then x
499.
▲
by
teo_zero
2y ago
This is a good way to maximize speed. I'm not convinced it's also a good way to master quality. Rushing ("speedrunning") to a first working version may force you to choose sub-optimal paradigms (algorithms, data types, e
500.
▲
by
teo_zero
2y ago
With real numbers, I have the same intuition. But with integers, where 2 or more elements can be exactly the same, and with the two sets defined as they are defined in TFA, that is one "less than" and one "greater or equal &
501.
▲
by
teo_zero
2y ago
> On average, the pivot will split the list into 2 approximately equal-sized pieces. Where does this come from? Even assuming a perfect random function, this would be true only for distributions that show some symmetry. But if the input
502.
▲
by
teo_zero
2y ago
Just to be clear, the input must be written in a subset of C, because many constructs are not recognized, like unsigned types, static variables, [] arrays, etc. Is there a plan to remove such limitations?
503.
▲
by
teo_zero
2y ago
Sorry, but since the very goal of base64 is to encode "uncomfortable" bytes, saying that your example doesn't work with uncomfortable bytes is like providing a fibonacci demo that only works with arguments less than 3, or a c
504.
▲
by
teo_zero
2y ago
Yes, "n" calculation is approximate: it's just the number of chars divided by the terminal's width. No guarantees it works with UTF-8, escape sequences, or if the terminal get resized while it's running... Sorry, th
505.
▲
by
teo_zero
2y ago
Strange how TFA fails to mention The Salmon of Doubt. Published posthumous, it's the earnest testimony of the late Adams and his thoughts on, quite literally, life, the universe and all.
506.
▲
by
teo_zero
2y ago
I'm old-school: progressline() { local s=`ttysize w` local n=0 while read x; do for i in `seq $n`; do echo -ne "\e[2K\e[A" done echo -ne "\e[2K\r$x" n=$((${#x}/$s
507.
▲
by
teo_zero
2y ago
I know nothing about which is more profitable, monthly or annual, but I'm sure TFA is mixing profit&loss and cash-flow. Getting the money in advance (a concept belonging in cash flow) doesn't make your budget (an item of P&
508.
▲
by
teo_zero
2y ago
I was intrigued by this paragraph: > Making all of the opcode implementations the same size (padding to the size of the largest opcode implementation with .balign 256), then removing the jump table entirely. This was also slower, also pr
509.
▲
by
teo_zero
2y ago
Is it all true, though? It wouldn't be the first time I see an English magazine exaggerating some news just to make fun of silly Europeans. All sources I've read mention a wider range of possibilities than represented by TFA. Most
510.
▲
by
teo_zero
2y ago
> Who wants to approve and configure all of their language servers? I think you're asking the wrong question. The correct one would be: "who wants to be asked if they want to approve and configure all of their language servers?
More ›