Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
o11c
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
751.
▲
by
o11c
2y ago
I'm pretty sure the major penalty is the lack of inline objects (thus requiring lots of pointer-chasing), rather than GC. GC will give you unpredictable performance but allocation has a penalty regardless of approach. For purely arra
752.
▲
by
o11c
2y ago
That misses the overhead of having to rotate the passkeys for thousands of websites you've used them on.
753.
▲
by
o11c
2y ago
The problem with "just use literal strings/numbers" is that that's exactly the opposite of type safe. With them it is impossible to specify an argument of type `myenum | number | string`, despite that being commonly de
754.
▲
by
o11c
2y ago
The approach in the link is fine for consumers , but for producers you really do need some way of saying "create a value that's not one of the known values". Still, there's nothing that says this needs to be pretty.
755.
▲
by
o11c
2y ago
To be fair, Flash and Java were having an aggressive competition for enabling the most RCE exploits on end-user systems. If we'd had the kind of support for sandboxing then that we do now, they probably would've survived a lot lon
756.
▲
by
o11c
2y ago
The problem of "grep but with indents" by making a shell function/script that just invokes the appropriate arcane sed commands.
757.
▲
by
o11c
2y ago
Some entries don't seem as exhaustive as others I've seen. For example, there are only 2 entries for "a-": a-1 is for Greek "without" and a-2 is presumably supposed to combine all the various Old English senses
758.
▲
by
o11c
2y ago
The obvious solution is for TLS 1.4 to mandate that all certificate chains contain at least one expired certificate.
759.
▲
by
o11c
2y ago
I'll be happy when I meet an LLM that doesn't randomly inject/ignore the word "not".
760.
▲
by
o11c
2y ago
Has any of those classes ever been actually useful for this kind of thing though? The closest classes I took could be summarized as: * Snowden: good or bad? * Poor people should try enjoying rich-people hobbies! * Does it belong in a museum
761.
▲
by
o11c
2y ago
In the early days of C++11, I used to get unique ICEs in both GCC and Clang weekly. One particular annoyance was when a stable release of Debian decided to ship a point release with a regression (not looking it up, but it was something li
762.
▲
by
o11c
2y ago
Jedi Knight usually appears on lists of "the best video games of all times". People still want to play it, but it has a few things that make it tricky to run on modern machines. And the limits on modding are quite severe by modern
763.
▲
by
o11c
2y ago
Since the history is a bit confused: Star Wars: Dark Forces (1995, the original game for DOS) was just a shooter, no Jedi in-game and the only melee was punching (which was mandatory for one very-difficult mission). Confusingly, the engine
764.
▲
by
o11c
2y ago
I've heard that said. But my university tuition had an explicit 10% charge to subsidize upgrades for the football program, so ... It's very easy to lie in budgets by only counting a subset of expenses.
765.
▲
by
o11c
2y ago
In general, for any invertible function (or partially invertible function if we can know the input is in the right subset) we need to recognize a rule f⁻¹(f(x)) === x; note that this usually does not apply when floats are involved. One in
766.
▲
by
o11c
2y ago
I also know a tailor who is neither fluent in English nor his original language. But in my case I know enough over time and from the family to state: this was some sort of life-long speech defect, not a matter of learning.
767.
▲
by
o11c
2y ago
The problem is that static libraries are actually more likely to break across time in practice, since "the system" is more than just "syscalls". For example, in places where the a filesystem-related "standard"
768.
▲
by
o11c
2y ago
Poorly-chosen environments also apply a multiplier to actual application memory. Pointer-oriented languages as a rule give a 2x memory-size multiplier to everything, though higher is possible depending on how dynamic they are. I suspect t
769.
▲
by
o11c
2y ago
Programming languages mostly occupy a 4-dimensional space at runtime. These axes are actually a bit more complicated than just a line: * The first axis is static vs dynamic types. Java is mostly statically-typed (though casting remains comm
770.
▲
by
o11c
2y ago
In theory, an emulator is oriented around producing a result (this may mean making acceptable compromises), whereas a simulator is oriented around inspection of state (this usually means being exact). In practice the terms are often conflat
771.
▲
by
o11c
2y ago
I can't counterexample the first half, but my only vivid memory from being a 2-year-old is primarily visual (though it does involve surprise at the reality contrasting with a prior description in words).
772.
▲
by
o11c
2y ago
Oh trust me, I'm aware how horrible people can be. But it still makes some difference, and more than a pessimist might think. ... and even more, if it were universally applied, the lack of opportunities for toxic ideas to fester in a
773.
▲
by
o11c
2y ago
Enforcing real names helps somewhat, but doesn't eliminate the problem entirely.
774.
▲
by
o11c
2y ago
Remember that you pay this cost for every thread, not just the main thread. Frankly, if your name isn't `libGL.so` you shouldn't even try to mix initial-exec with dlopen. Just link your libraries normally dammit!
775.
▲
by
o11c
2y ago
Which is configuration that's requires arcane invocations and permissions I might not have. As opposed to IPv4, where everything Just Works™.
776.
▲
by
o11c
2y ago
Is this just caller id? The system supports it but many end users choose not to pay to access it, or don't know how to configure it. Remember it generally is totally unverified. I ended up being on a bunch of conference calls during
777.
▲
by
o11c
2y ago
It's very useful for cooperatively pretending that a single machine is actually a network of machines, without all the madness of network namespaces. Basically every server program ever supports the notion of "which IP address am
778.
▲
by
o11c
2y ago
One major annoyance of IPv6 is that it lacks support for IPv4's whole 127.0.0.1/8 range.
779.
▲
by
o11c
2y ago
There are a couple of problems with environment.d - it cannot be made idempotent, and can't splice into the middle. These shouldn't be a problem since it runs early enough and should be controlled by a single sane party, but mak
780.
▲
by
o11c
2y ago
They're defined, it just doesn't go into the weird details. From the man page: A login shell is one whose first character of argument zero is a -, or one started with the --login option. (not mentioned: the log
More ›