Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KMag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
361.
▲
by
KMag
4y ago
Presumably you mean eBPF, not EBNF.
362.
▲
by
KMag
4y ago
You threw the knife as close to the outer edge of your foot as possible, and then moved your stance wider, so that the knife was then on the inside of the foot. In this way, your stance got wider and wider, until on player couldn't mo
363.
▲
by
KMag
4y ago
Is tire wear roughly proportional to road wear (in states where chains and studs are illegal)? Increasing tire tax would have negative effects (encouraging people to wear their tires dangerously thin, etc.) Encouraging tire manufacturers
364.
▲
by
KMag
4y ago
That's a good point that Linux doesn't actually allocate the pages until they're faulted in by a read or write. So, if it were doing some kind of thread inspection optimization, it would presumably just need to check if the
365.
▲
by
KMag
4y ago
No, "abortion" is not a medical procedure. There are several medical procedures used for abortion, some of which have uses other than abortion. The medical procedure you're referring to is dilation and curettage (a.k.a D&
366.
▲
by
KMag
4y ago
Option 3: vfork() has existed for a long time. The child process temporarily borrows all of the parent's address space. The calling process is frozen until the child exits or calls a flavor of exec . Granted, it's pretty brittl
367.
▲
by
KMag
4y ago
As far as I know, the Linux kernel never inspects the userspace thread to adjust behavior based on what the thread is going to do next. This would be a very brittle sort of optimization. More importantly, it's not safe. Another threa
368.
▲
by
KMag
4y ago
> I don't understand why it is slower. It has to be zeroed anyway. Memory pages freed from userspace might be reused in kernelspace. If, for instance, the memory is re-used in the kernel's page cache, then the kernel doesn'
369.
▲
by
KMag
4y ago
But the mass of the extracted oxygen exceeds the mass of the ammonia used, and we're only talking about 250 PSI to liquify anhydrous ammonia at room temperature. A large pressure vessel's mass is going to be negligible compared t
370.
▲
by
KMag
4y ago
In this case, the "spontaneous" means naturally occurring. Spontaneous abortion is the medical term for what's commonly called a miscarriage.
371.
▲
by
KMag
4y ago
> so long as you're low-profile about it. And your employer is fine with it, or willing to turn a blind eye. That rules out lots of people working for large companies, particularly in highly regulated industries. I would have loved
372.
▲
by
KMag
4y ago
Thanks for the correction. I don't understand much Canto and I over-extrapolated to Cantonese from my knowledge of Mandarin. I thought man was the same as Mandarin's kuai. While I've got you... I've heard "ya man&
373.
▲
by
KMag
4y ago
My buddy exploited this during the "breaking down the door" Chinese wedding tradition. We (the groom's party) showed up at the bride's apartment, and the matron of honor (bride's sister) opened the door and demande
374.
▲
by
KMag
4y ago
It can evaporate, but doesn't chemically decompose very quickly. Its tendency to evaporate isn't very relevant if it's in your groundwater, for instance.
375.
▲
by
KMag
4y ago
Right. Even when the kids are old enough to be in school full-time, there's still lots of "free" labor that's being left out of the GP's reasoning. A single parent's earning power would need to be significant
376.
▲
by
KMag
4y ago
> The Cortex-A CPUs can access more than 2GB but because that memory requires more than 32 bit addressing, the other processors cannot easily access it. What's preventing the 32-bit CPUs from accessing the full 4 GB of a 32-bit addr
377.
▲
by
KMag
4y ago
Circa 2003, Yahoo wasn't terrible. By our internal metrics, Yahoo search had better results than Bing before Yahoo started using Bing as their back-end. By that point, I suspect all of the major search engines were using some form of
378.
▲
by
KMag
4y ago
Early Google was somewhat intentionally optimized for long-tail searches, the thought being that common searches are served fine by most search engines and it's the difficult long-tail searches where people actually try other search en
379.
▲
by
KMag
4y ago
The Ariane bug was an overflow casting 64-bit floating point to 16-bit integer. It would still have overflowed at the same point if it had been 64-bit decimal floating point using the same units. The integer part of the floating point num
380.
▲
by
KMag
4y ago
Market share isn't everything. Last I checked, SkyllaDB wiped the floor with Cassandra. Hadoop Distributed FS underperformed GFS, etc. I'm glad C++ niche is shrinking, but there are still plenty of good use cases for non-GC'
381.
▲
by
KMag
4y ago
AoT with periodic profile-based re-optimization (like the latest Dalvik / Android Runtime provide), perhaps also with dynamic re-optimization/on-stack replacement seems ideal. As long as you're ditching Dalvik's earlier
382.
▲
by
KMag
4y ago
I was a big believer in Java, until I started work on the Google indexing pipeline in C++. There are cases where you really need to push both code generation and lifetime decisions from runtime to compile-time. I think there's still
383.
▲
by
KMag
4y ago
I believe automatically inferring lifetimes in the general case is equivalent to solving the halting problem (for every sub-program, determine if a given reference is stored to the heap before the sub-program terminates), so transipiling J
384.
▲
by
KMag
4y ago
I hope so, but my son definitely seemed to have several nightmares, waking visibly frightened and crying before he was 9 months old. I don't know what kind of nightmares he'd have, as I don't think I ever saw him frightened
385.
▲
by
KMag
4y ago
Did you compensate for less caffeine by getting proper rest at night? Many people quit caffeine at the same time they resolve to get a proper amount of sleep. I suspect getting enough sleep is the causative factor and caffeine intake is a
386.
▲
by
KMag
4y ago
It's well known that sleep-deprived people have shorter and fewer REM sleep periods. So, presumably sleep deprived-people likely have fewer dreams. That doesn't necessarily mean they'd remember fewer of them, but it wouldn&
387.
▲
by
KMag
4y ago
Right, but it's cleaner and better performant to use higher-level upcalls to the hypervisor rather than trapping and emulating every privileged instruction. As it stands, the hypervisor needs to implement both trap-and-emulate and upca
388.
▲
by
KMag
4y ago
My experience from living in Hong Kong for 10 years was also that hand-written forms were often some kind of cursive/shorthand. I'm familiar with both traditional and simplified characters, but I'd often encounter written fo
389.
▲
by
KMag
4y ago
TIL. Thank you very much for correcting my ignorance!
390.
▲
by
KMag
4y ago
A while back, I read a Sun patent on not implementing some instructions and emulating them in the kernel's illegal operation trap handler. The whole patent seemed obvious to me, but I'm glad that it was patented and now expired,
More ›