Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcranmer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
jcranmer
1mo ago
Private equity gets a bad rap in large part because the stories they're most famous for are the "PE buys a failing company, and the company subsequently finally fails," with the "failing" word conspicuously absent i
32.
▲
by
jcranmer
1mo ago
> Template resolution solved that in the past, but C++ today allows auto in so many places that I'm uncertain that it can be done without some flow based support (if constexpr comes to mind). C++ requires determining the type of eve
33.
▲
by
jcranmer
1mo ago
Despite its name, NRVO isn't an optimization performed by the optimizer, it's something done by the frontend of the compiler before it generates the code for the optimizer to run on. The frontend is extremely reluctant to do anyth
34.
▲
by
jcranmer
1mo ago
I'm sorry, this comment is completely wrong. NRVO does not affect the ABI of the function. It cannot affect the ABI, for whether or not it kicks in depends on the body of the function, and affecting the ABI would make it impossible to
35.
▲
by
jcranmer
1mo ago
Job concentration predates the automobile by some amount. The concept of suburbs largely originates from the development of streetcars (very much not free!), although the suburban sprawl associated with US cities nowadays arises from the pr
36.
▲
by
jcranmer
1mo ago
One of the things about Turing-completeness is that it is very easy to become accidentally Turing-complete, since the conditions you need for completeness are very weak. (Famously, C++ template instantiation is unintentionally Turing-comple
37.
▲
by
jcranmer
1mo ago
I haven't followed the contracts discussion particularly closely, but my understanding of the situation is this: Contracts has the problem that everybody has a slightly different idea of what they want from the feature. What exists tod
38.
▲
by
jcranmer
1mo ago
1006 is 90 years before the First Crusade...
39.
▲
by
jcranmer
1mo ago
A C++ lambda (as essentially is the case for a Rust lambda as well) is just an unnameable class object with an overloaded call operator, which makes the closure function body itself just a regular member function ABI-wise. You're not c
40.
▲
by
jcranmer
1mo ago
A nested function requires an extra parameter for the nested stack pointer, which is passed in a dedicated register on most ABIs. You can't spell this kind of function type in C. To make a C-callable function pointer, the compiler need
41.
▲
by
jcranmer
1mo ago
> And at one point the list produces a subtotal of "24510 years, 3 months, and 3 1/2 days" for the 23 kings of the first dynasty of Kish, so the durations are hardly meant to be just some vague large number. Note that the
42.
▲
by
jcranmer
1mo ago
The Sumerians used a sexagesimal notation system; the two lengths would be 5.10.0 and 5.50.0 (which together add up to 11.0.0, FWIW), while all of the other king lengths are 8.0.0, 10.0.0, or 12.0.0.
43.
▲
by
jcranmer
1mo ago
> Why exactly can a CPU contain RAM electronic circuitry, but RAM can't contain CPU electronic circuitry, if both, at the lowest level, the level of the minaturized transistor, the minaturized electronic circuit, are created from th
44.
▲
by
jcranmer
1mo ago
Processing in memory was one of the extra topics we covered in my grad computer architecture class. Fifteen years ago. And even then, it was very clearly an old-hat idea. One of the problems with trying to move a lot of ALUs close to the DR
45.
▲
by
jcranmer
1mo ago
> More than 50% of voters voted for Trump. Only 49.8% voted for Trump in the 2024 US election.
46.
▲
by
jcranmer
2mo ago
-ish. A lot of legal issues are heavily based on the particular circumstances, so a general statement like "scraping is legal" summarizing the results of hiQ v LinkedIn is a gross oversimplification of the actual findings of said
47.
▲
by
jcranmer
2mo ago
His companies making those achievements is not the same as he personally making those achievements. He does have some talent in being a CEO of a company and inspiring employees and investors. But also don't oversell that: only Tesla an
48.
▲
by
jcranmer
2mo ago
Thank you for putting words into my mouth that I didn't say. Especially when they're quite literally the opposite of my message. Although, given that I pointed out that Elon literally did the exact same thing, why do you trust him
49.
▲
by
jcranmer
2mo ago
Sorry, I'm too busy trying to check an algorithm to convert floating-point numbers to strings for correctness to deal with people playing the "I'm a rocket scientist, therefore everything is easy to me" card. And yet som
50.
▲
by
jcranmer
2mo ago
In reality, you would not be able to follow what he's talking about because he's making stuff up and hoping your inability to understand him comes across as genius rather than bullshit.
51.
▲
by
jcranmer
2mo ago
Benin is probably the most well known of the slaver kingdoms of the slave coast, although Benin was around for much longer than just the peak slaving period. Mali Empire was primarily driven by its control of the trans-Saharan trade routes,
52.
▲
by
jcranmer
2mo ago
Not OP, but my guess is things like timing delay--20 years ago, CSS animations and transitions weren't a thing yet, especially since 20 years ago also puts us in the era of IE6 being a major browser.
53.
▲
by
jcranmer
2mo ago
There are plenty of people who have been killed by their own bodyguards, e.g., Indira Gandhi.
54.
▲
by
jcranmer
2mo ago
They'll thank you for digging your own grave and complete it for you by collapsing the entrance.
55.
▲
by
jcranmer
2mo ago
For perspective, the total annual water consumption of all US data centers is about 100 days' water production of the nearby water treatment plant to Reston, VA. Or put differently, all of the US data centers can be comfortably supplie
56.
▲
by
jcranmer
2mo ago
No, it doesn't. It says that datacenters now use 3× the amount of water they used to use--it's specifically limited to that very, very narrow sector.
57.
▲
by
jcranmer
2mo ago
The Mali Empire peaked around 150 years before Christopher Columbus "discovers" the Americas, and it finally collapses in 1599, finished off by Morocco. The Transatlantic Slave Trade doesn't really kick into gear until the mi
58.
▲
by
jcranmer
2mo ago
Ask Linnaeus? Wikipedia has a picture of Linnaeus's 1735 taxonomy [1] giving what I think is Ursus ursus, Ursus coati, and Ursus wickhead, and the 10th edition in 1758 has Ursus arctos, Ursus luscus, Ursus meles, and Ursus lotor. I don
59.
▲
by
jcranmer
2mo ago
In the 2024 election, Trump's strongest margins appear to have been with Gen X, where he was roughly +10% over Harris, even stronger than his results among the Baby Boomers. (See, e.g. https://www.pewresearch.org/politi
60.
▲
by
jcranmer
2mo ago
One of the problems with smart inline assembly syntax like this is that it turns out to be less helpful in a lot of practical inline assembly. If you look at the way, say, the Linux kernel uses inline assembly, it really just wants the inli
More ›