Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcranmer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
811.
▲
by
jcranmer
2y ago
The 2003 US Northeast blackout was caused by the failure of only a few lines that shorted into trees. These line failures created grid instability that resulted, ~5 minutes later, in most of the Northeast losing power in a cascading failure
812.
▲
by
jcranmer
2y ago
That wasn't tree falling in Ohio, that was overloaded line sagged and shorted into a tree, compounded with several other factors that contributed to the grid instability and the inability of the grid operator to realize how unstable th
813.
▲
by
jcranmer
2y ago
It's actually pretty easy to overstate the amount of harm caused by that one individual... you're doing it. There are lots of good reasons to believe in the amyloid hypothesis, and no paper or even line of research is the one bedr
814.
▲
by
jcranmer
2y ago
That's what I get for relying on a skimming of the paper. Also, hi, didn't know you commented on this site.
815.
▲
by
jcranmer
2y ago
I've only briefly skimmed the paper, but on that glance, it looks like what they did was (effectively) drop all the attributes in LLVM that can indicate UB, e.g., the inbounds flags on getelementptr instructions, or the nsw flags on ar
816.
▲
by
jcranmer
2y ago
I am a member of the C standards committee, and I'm telling you you're wrong here. Martin Uecker is also member of the C standards committee, and has just responded to that bug saying that the comment you linked is wrong. I, and o
817.
▲
by
jcranmer
2y ago
Footnote 107 in C23, on page 75 in §6.5.2.3: > If the member used to read the contents of a union object is not the same as the member last used to store a value in the object the appropriate part of the object representation of the valu
818.
▲
by
jcranmer
2y ago
> punning through a union was legal in C In C89, it was implementation-defined. In C99, it was made expressly legal, but it was erroneously included in the list of undefined behavior annex. From C11 on, the annex was fixed. > but UB i
819.
▲
by
jcranmer
2y ago
There's a category of autovectorization known as Superword-Level Parallelism (SLP) which effectively scavenges an entire basic block for individual instruction sequences that might be squeezed together into a SIMD instruction. This kin
820.
▲
by
jcranmer
2y ago
19th century archaeology and anthropology was thoroughly racist. It was a time where explorers could rediscover something like Great Zimbabwe and go "We found the Lost Tribe of Israel" because there's no way that the native
821.
▲
by
jcranmer
2y ago
> I don't know, but there is lots of geological evidence that 12-13,000 years ago there were several cataclysmic meteor strikes, and the earths temperature swung up and down wildly, eventually settling at a much higher temperature (
822.
▲
by
jcranmer
2y ago
> What about Gobekli Tepe? What about it? It's one of the oldest Neolithic settlements we've identified, but otherwise, it's not particularly unusual within our understanding of Neolithic Mesopotamia. When GP is talking ab
823.
▲
by
jcranmer
2y ago
Steam locomotives: the first practical steam locomotive was Stephenson's Rocket in 1829, although maybe you want count from the earlier locomotive developed for the Stockington and Darlington in 1825. In either case, by 1830, there was
824.
▲
by
jcranmer
2y ago
LLMs are at this point almost 8 years old (dating from the Attention is All You Need paper). If it's truly a revolutionary technology, you should be able to point me to a company leveraging LLMs to make absolute bank, leaving all of
825.
▲
by
jcranmer
2y ago
Divergent math library implementations is the other main category, and for many practical cases, you might have to worry about parallelization factor changing things. For completeness' sake, I might as well add in approximate functions
826.
▲
by
jcranmer
2y ago
People who found that sin is the performance bottleneck in their code and are trying to find way to speed it up. One of the big problems with floating-point code in general is that users are largely ignorant of floating-point issues. Even s
827.
▲
by
jcranmer
2y ago
Educational material that misinforms its readers isn't educational, and it's insanely counterproductive. People have already ragged on you for doing Taylor approximation, and I'm not the best expert on the numerical analysis
828.
▲
by
jcranmer
2y ago
The problem is a^b := exp(b ln(a)) sort of breaks down when a is negative, which is a case that is covered in algebra class but glossed over in calculus.
829.
▲
by
jcranmer
2y ago
That's how my textbook did it as well (well, it defined e as ln(e) = 1, but only because it introduced e before exp). The problem with this approach is that, since we were already introduced to exponents and logarithms in algebra but v
830.
▲
by
jcranmer
2y ago
I've listed most of the conflicts that occurred on the European continent (I've omitted several Russian wars, and there's a couple more civil wars I've also omitted). And some of that is because I'm doing wildcards
831.
▲
by
jcranmer
2y ago
Maybe not nonstop warfare, but there was still a lot of violence going on. European powers were engaged in more-or-less nonstop warfare overseas in their empires, but maybe you're excusing that because those weren't in Europe. I
832.
▲
by
jcranmer
2y ago
> I can't begin to fathom that process. It's basically "look at far away object with a fancy pair of sunglasses." Because of quantum mechanical reasons, molecules can only absorb and emit light with very particular en
833.
▲
by
jcranmer
2y ago
In the US, it's not an open question. Feist v Rural holds that any work needs to possess a minimum spark of (human) creativity to be able to be copyrighted; data collected by the "sweat of the brow" is explicitly not allowe
834.
▲
by
jcranmer
2y ago
You're not really contradicting o11c here; what LLVM calls "environment" is a mixture of what they called libc/abi/fabi. There's also what LLVM calls "subarch" to distinguish between different archite
835.
▲
by
jcranmer
2y ago
This article is a very LLVM-centric view, and it does ignore the GNU idea of a target triple, which is essentially $(uname -a)- vendor -$(uname -s), with vendor determined (so far as I can tell) entirely from uname -s, the system name und
836.
▲
by
jcranmer
2y ago
> I live in NYC now, and fortunately we still have Micro Center which is still fun, though I do worry that it might go the way of Fry's Electronics soon enough. When Fry's died during (not because of) the pandemic, basically ha
837.
▲
by
jcranmer
2y ago
I did start to try to take clang's TargetInfo code ( https://github.com/llvm/llvm-project/blob/main/clang/lib/Bas... ) and porting it over to TableGen, primarily so somebody could actually e
838.
▲
by
jcranmer
2y ago
Rationalism is essentially a tech-flavored self-help movement, and the people who tend to gravitate towards self-help in general tend to be emotionally vulnerable people who are strongly susceptible to cult techniques (there's a reason
839.
▲
by
jcranmer
2y ago
> People wigged out over non-reciprocal tariffs, where we tariff at 50% what they charge the US. The "reciprocal" tariffs are based on not the tariff duties foreign countries imposed on US goods, but the trade deficit the US ha
840.
▲
by
jcranmer
2y ago
I think they have tried to improve the software for FPGAs--FPGA backends are part of their oneAPI software stack, for example. And when I was in grad school, Intel was definitely doing courses on building for FPGAs using OpenCL (I remember
More ›