Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
murderfs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
421.
▲
by
murderfs
6y ago
There are notable examples where garbage collection has both better throughput and latency than manual memory collection: persistent data structures come to mind, because in the absence of garbage collection, you have giant awful cascades o
422.
▲
by
murderfs
6y ago
Given that consumption isn't the only way that disease spreads from animals to humans, you're missing the step two of "exterminate all non-human animals".
423.
▲
by
murderfs
7y ago
Mortgage interest and property tax are tax-deductible, so if you're subtracting from after-tax income, it's more like $3-4k/month.
424.
▲
by
murderfs
7y ago
Looking at European flight statistics [1], Portugal looks to have ~3x as many passengers flying to/from Italy than Sweden does, with a similar population. From that, it seems reasonable to expect that Sweden would have an easier time o
425.
▲
by
murderfs
7y ago
> China had an obligation to its citizens and to the world. The CCP decided they didn't care if the virus went worldwide. That's homicide, and they should pay for making people whole again. I'm no fan of the CCP, but this
426.
▲
by
murderfs
7y ago
It's a significantly worse conductor than gold.
427.
▲
by
murderfs
7y ago
Even if the contract doesn't say anything like that, they can still fire you. Misrepresenting information as part of contract negotiation is fraud.
428.
▲
by
murderfs
7y ago
Safe for the CPU is a pretty low bar: the Tjunction of their latest mobile CPUs is 100°C, and I'm pretty sure most users would not be very happy with using a laptop at that temperature.
429.
▲
by
murderfs
7y ago
It's usually not the port that's wearing out, but the cable, because USB-C moved the retention clips from the port to the cable.
430.
▲
by
murderfs
7y ago
It was possible with copy on write strings (e.g. libstdc++'s strings until C++11), but C++11 added complexity requirements that outlawed COW strings, because they're only really useful in very specific circumstances, at the cost o
431.
▲
by
murderfs
7y ago
There are tons of things that throw exceptions in the standard library with no alternative. std::bad_alloc can get thrown from half the standard library (and it's a lot less implausible than new throwing, because of address space exhau
432.
▲
by
murderfs
7y ago
Opium and the Qing.
433.
▲
by
murderfs
7y ago
> (or just 1 depending on whether you count 1 as an order of magnitude or not Of course you don't count 1: otherwise 3 would be 1 order of magnitude greater than 3, which is obviously wrong.
434.
▲
by
murderfs
7y ago
I don't think there would be many copyright dates on the chips. They might think that Texas ruled the world from the TI logo being on everything, though.
435.
▲
by
murderfs
7y ago
If you're going to do something like that, you might as well steal from the register numbering bits instead. (many architectures have done this: Intel has lots of short-form encodings for "op {al, ax, eax, rax} #imm", and ARM
436.
▲
by
murderfs
7y ago
No, the reason is that `xor ax, ax` has a shorter encoding, because it only takes 3 bits to encode a register on 32-bit x86, and far more bits are required for a useful immediate move. It would be ridiculous to have a short encoding for `mo
437.
▲
by
murderfs
7y ago
I'd say Scala probably, but it leans very heavily towards providing escape hatches that let you use it as Java++, so it's easy to write code with mutability everywhere. This isn't much of a problem if you're disciplined
438.
▲
by
murderfs
7y ago
> This is utterly outrageous and should be a criminal offense - at least, states should be allowed to claw back the assistance costs plus a 200% fine from the company to discourage this behavior. Alternatively, instead of raising the min
439.
▲
by
murderfs
7y ago
??? Hurd doesn't even support SMP yet.
440.
▲
by
murderfs
7y ago
Android (bionic), Chrome (forks of glibc and newlib in NaCl), ChromeOS (glibc with patches), and Fuchsia (musl) are all in separate Gerrit repositories. The monorepo for Google proper probably contains all of these, plus the libc used for G
441.
▲
by
murderfs
7y ago
No. pthread_cancel implemented completely correctly is inherently a giant minefield. (Details in a reply to a sibling post)
442.
▲
by
murderfs
7y ago
The problem with pthread cancellation is that it is fundamentally broken when used on a thread that can ever acquire resources (opening an fd, taking a mutex, mallocing a buffer, etc.). If it were just "call pthread_testcancel to figur
443.
▲
by
murderfs
7y ago
pthread cancellation was a terrible idea when it was added, and it's even worse today. It's an API that provides no actual value (you can implement it yourself via signals), is a giant minefield if you care about not leaking or de
444.
▲
by
murderfs
7y ago
Google is too big for the left hand to know what the right hand is doing. Various parts of Google use bionic, newlib, musl, and multiple forks of glibc.
445.
▲
by
murderfs
7y ago
WSL is currently horrendously (unusably, IMO) slow. WSL2 promises a 20x speed up, but it was already 100x slower than native Linux at some actually-realistic workloads that happen all the time when you're developing (e.g. `git grep`),
446.
▲
by
murderfs
8y ago
There have been a few attempts to create a human/chimpanzee hybrid: https://en.wikipedia.org/wiki/Humanzee
447.
▲
by
murderfs
8y ago
It's weird how discussion of alcoholism in Asia rarely ever mentions the biological component. Ethanol gives you the good feelings associated with drinking (and the incapacitation) and it gets metabolized into acetaldehyde, which gives
448.
▲
by
murderfs
8y ago
Edsger Dijkstra on why numbering should start at zero: https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E...
449.
▲
by
murderfs
8y ago
Refund them what? They're not paying anything.
450.
▲
by
murderfs
8y ago
Why do you expect some random member of the public to obey an arbitrary rule from the infosec community that they don't even all agree on?
More ›