Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KMag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
391.
▲
by
KMag
4y ago
On the flip side of subhuman treatment of humans, we have useful legal fictions like corporate personhood. It's going to be pretty rough for a while, particularly for nontechnical judges, to sort all of this out. We're almost def
392.
▲
by
KMag
4y ago
The thing about GC is that it doesn't free you from having to think about lifecycle management, it just frees you from having to write it down. I've seen a few memory leaks in Java programs due to people not putting enough though
393.
▲
by
KMag
4y ago
> somehow he knows something and/or his public predictions influence the markets I'm pretty sure multiple data vendors compete to sell low-latency feeds of his picks, given his popularity. If a Cramer-tracking ETF underperforms
394.
▲
by
KMag
4y ago
Take off, hoser! (For those of you who missed Hamlet retold as a pair of drunk Canadians saving the world, the McKenzie brothers are the main characters of the movie Strange Brew.)
395.
▲
by
KMag
4y ago
Side note: when I was basically doing browser emulation in Google's indexing pipeline 20 years ago, I ripped through a billion of the 4 billion top web pages and counted HTML tag attributes found in the wild, in order to prioritize emu
396.
▲
by
KMag
4y ago
Eventually, Big Brother turns on everyone.
397.
▲
by
KMag
4y ago
This is good. Some antivirus programs run this check, but some ransomware adapted by encrypting 16-byte AES blocks every so often in the file, so that the file becomes useless without entropy increasing too much. Also, JPEG, PNG, .jar, .xl
398.
▲
by
KMag
4y ago
But separating YouTube and GCP into separate companies would presumably cause GCP to expose pricing / scheduling modes that would enable more compute to take advantage of regional downtimes. I'm sure there's plenty of ML tra
399.
▲
by
KMag
4y ago
Right. Back when Keller and Dobberpuhl were at P.A. Semi, I was waiting for them to IPO so I could invest... very low power 64-bit dual-core PPC chips from a few of the key Alpha people seemed just what Apple needed to solve their problems
400.
▲
by
KMag
4y ago
It was also the first (non-research) processor I'm aware of that was designed from the ground up to be 64-bit, without 32-bit addressing. Of course, as long as you can get the OS to allocate only within a given 4 GB range, you could e
401.
▲
by
KMag
4y ago
The async runtime is almost always built on top of non-blocking I/O APIs, and the extra layer of abstraction adds overhead. You're rarely calling epoll in your async code, but rather your runtime is handling all of that for you.
402.
▲
by
KMag
4y ago
Agreed in general, that async code is generally less efficient than epoll/kqueue/poll/select/etc. non-blocking I/O. However, note that async code is often quite a bit more efficient than naive Java 1.3-style (pre-N
403.
▲
by
KMag
4y ago
My brother has a degree in Aeronautical Engineering, and contract work was his foot in the door to a full-time developer position at Amazon. When I quit my contractor job, subcontracted out to a defense contractor over 20 years ago, the pri
404.
▲
by
KMag
4y ago
Wouldn't you prefer to hire contractors to fill short-term demand and transition them to full employees if the demand ends up being more robust than expected?
405.
▲
by
KMag
4y ago
My understanding is that's more or less what Microsoft was looking at in their Midori operating system. They weren't explicitly looking to get rid of the CPU's protection rings, but ran everything ring 0 and relied on their
406.
▲
by
KMag
4y ago
You can still work out the total weight and the location of the center of mass (in 2D) from the strain on the three landing gear struts. It's a linear system of 3 equations and 3 unknowns. As another commenter has pointed out, there m
407.
▲
by
KMag
4y ago
Correct. Look at the specifics for Burt Rutan's Voyager world-record non-stop heavier-than-air circumnavigation. They specified the need to cross the equator twice in order to avoid such shenanigans, perhaps with a few more constrain
408.
▲
by
KMag
4y ago
Oops. Thanks for the catch.
409.
▲
by
KMag
4y ago
I'm not a lawyer, but given that monorepo was in use in the versioning/build space long before launch, I would have been hesitant to launch with a name where it's going to be an uphill battle to enforce trademark. (I also wor
410.
▲
by
KMag
4y ago
Poor people tend to spend a higher percentage of their income, and invest a lower percentage. So, they end up paying a higher percentage of their incomes in sales tax, on average.
411.
▲
by
KMag
4y ago
I agree. Good code design, regardless of paradigm used, encapsulates complexity in order to minimize the amount of context needed to understand any one bit of code. The better the encapsulation, the better we can scale our limited mental c
412.
▲
by
KMag
4y ago
The nice thing about ADTs is that you can couple the state variables with the enum, so that the representable state is better tied to the enum value. (Yes, you can kind of do this in C with a discriminated union of a struct holding an enum
413.
▲
by
KMag
4y ago
That's not the argument the GP is making. The GP is basically saying that if C/C++ aren't your second choice of language, then it's a sign your reasons for picking Rust are suspect. They didn't say Rust is almost a
414.
▲
by
KMag
4y ago
Or, the ship breaks its keel because the front and back are supported, but the middle loses buoyancy.
415.
▲
by
KMag
4y ago
Right. The most plausible explanation, given the number of Russian petrochemical executives critical of Putin who have died under suspicious circumstances, is that Putin wanted to greatly reduce the incentive of petrochemical oligarchs to
416.
▲
by
KMag
4y ago
Can you do setup single-threaded (or get back to being single-threaded at the end of setup) and fork before starting each test case? If you need multiple service processes up and running, can you make them less stateful to get around some o
417.
▲
by
KMag
4y ago
A couple of related practices I've picked up over the years: (1) using long names when implementing things that are necessary but discouraged (2) putting dange_danger in names of things that should never be used in production. The form
418.
▲
by
KMag
4y ago
Right. I'm not even sure the interconnect is IP-based. It could very well be a legacy X.25 network. A quick check of Wikipedia says that X.25 is still used in the aviation industry. Routing X.25 over 4G probably involves adding a l
419.
▲
by
KMag
4y ago
For anyone still reading, out of curiosity, I reran the experiment on my Debian box: $ </usr/share/dict/words gzip --best | wc -c 261255 $ </usr/share/dict/words iconv -f utf-8 -t utf-1
420.
▲
by
KMag
4y ago
Ahh, yes, the flaw in my optimism is that those doomsday planes do in fact have direct radio links to send the PAL codes and authenticated launch orders directly to the silos, submarines, and standby bombers. The tier of generals just not s
More ›