HNHacker News
TopNewBestAskShowJobs

pclmulqdq

18,248 karma · joined March 22, 2020

All views my own.
submissionscomments
pclmulqdq··on RISC-V and Floating-Point
I will note that you listed out all of the RVA23 instruction extensions, not all of the blessed RISC-V instruction set extensions. Here's the list of every ratified RISC-V instruction set extension, to get parity with the list you gave for the other ISAs:

M, A, F, D, Q, C, B, H, Zicsr, Zifencei, Zicntr, Zihpm, Zihintpause, Zihintntl, Zicbom, Zicbop, Zicboz, Zicond, Zicfilp, Zicfiss, Zimop, Zca, Zcb, Zcd, Zce, Zcf, Zcmp, Zcmt, Zcmop, Zclsd, Zilsd, Zmmul, Zfh, Zfhmin, Zfa, Zfbfmin, Zfinx, Zdinx, Zhinx, Zhinxmin, Zaamo, Zalrsc, Zawrs, Zacas, Zabha, Zalasr, Zba, Zbb, Zbc, Zbs, Ztso, Zbkb, Zbkc, Zbkx, Zknd, Zkne, Zknh, Zksed, Zksh, Zkn, Zks, Zkt, Zk, Zkr, Zve32x, Zve32f, Zve64x, Zve64f, Zve64d, Zve, Zvl32b, Zvl64b, Zvl128b, Zvl256b, Zvl512b, Zvl1024b, Zvl, Zv, Zvfh, Zvfhmin, Zvfbfmin, Zvfbfwma, Zvbb, Zvbc, Zvkb, Zvkg, Zvkn, Zvknc, Zvkned, Zvkng, Zvknha, Zvknhb, Zvks, Zvksc, Zvksed, Zvksg, Zvksh, Zvkt, Sm1p11, Sm1p12, Sm1p13, Smaia, Smepmp, Smstateen, Smcdeleg, Smcsrind, Smcntrpmf, Smrnmi, Smdbltrp, Smmpm, Smnpm, Smctr, Ss1p11, Ss1p12, Ss1p13, Ssaia, Ssccfg, Sscsrind, Sscofpmf, Sstc, Ssqosid, Ssdbltrp, Ssnpm, Sspm, Ssctr, Supm, Sv32, Sv39, Sv48, Sv57, Svinval, Svnapot, Svpbmt, Svadu, Svvptc, Svrsw60t59b, Sdext, Sdtrig

That doesn't look very short to me.

These are grouped into profiles, like "Skylake" or "Cortex-M33" or "Neoverse-N1." The main issue for RISC-V isn't the number of instruction set extensions, it's the number of profiles. RVA23 is one single blessed profile, but many chips will add a few more instructions or include fewer than RVA23 based on age of the chip.

pclmulqdq··on RISC-V and Floating-Point
It's way worse on RISC-V. There are maybe 5 x86 or ARM variants to care about at any given time, even if you want to hyper-optimize your code. RISC-V has a soup of literally 100s of extensions with non-uniform use and support.
pclmulqdq··on Disney erased FiveThirtyEight
I think Nate Silver is off the mark as to what Disney wanted to get out of this. Entertainment companies like Disney make plays where they buy a huge portfolio of entertainment assets and see which ones manage to hit it big. They invest resources and they help quite a lot, but it does come down to the entertainer to take it all the way. In other words, a Disney executive probably bought 538 expecting that it might become the next CNN or Fox - the next big secondary source news analysis platform. Note that Disney doesn't have one of those in their portfolio right now. Instead, 538 continued to produce wonkish articles about esoterica of sports and politics statistics, and did not expand to the grand role that Disney may have imagined. The ad revenue from some wonkish articles isn't going to cover the cost of a number of writers and statisticians, which is why Nate Silver went to a bigger player in the first place.

The core problem here seems to be that the visions of the buyers were not aligned with Nate Silver's vision. He wanted to continue having a blog on esoteric statistics, but with the resources of a news network. They may have wanted to have a news network, and acquire it at the price of a blog on esoteric statistics. This wasn't a loss-leading "feather in the cap" for Disney, but a bet that simply didn't pay off and needed to be put out to pasture.

pclmulqdq··on Disney erased FiveThirtyEight
The "virtue signaling" is signaling being a scrappy creative type who regrets/disliked the path he followed when he actually sold out to a big conglomerate at the first possible opportunity. The virtues being signaled are things like independence and grit.
pclmulqdq··on Artemis II Fault Tolerance
Lockstep processors were used here, as well.

> each FCM consists of a self-checking pair of processors.

pclmulqdq··on Sawe becomes first athlete to run a sub-two-hour marathon in a competitive race
Such a purist should also note that Pheidippides was likely the runner who ran to Sparta and back, hundreds of miles, the preceding week to ask for their aid at Marathon.
pclmulqdq··on Sawe becomes first athlete to run a sub-two-hour marathon in a competitive race
Do these new Adidas shoes have anything major over the Vaporfly shoes? Maybe they are a bit lighter?

I think the big story here may be the nutrition science to get these guys to absorb a lot of carbs during the run, more than the shoes.

pclmulqdq··on At least 10 people tied to sensitive US research have died or disappeared
You aren't going to find the missing people with more surveillance if you weren't finding them already.
pclmulqdq··on Using coding assistance tools to revive projects you never were going to finish
"Der Computer" is also masculine, so you have probably been calling your computer "he" for decades. Languages with gendered nouns don't quite have the same he/she/it distinction.
pclmulqdq··on Meta tells staff it will cut 10% of jobs
Most of these companies kicked off the over-hiring in 2020 during the COVID boom they experienced. It was done by end of 2021.
pclmulqdq··on How Motorola’s 2N2222 and 2N3904 transistors became the default NPNs
Even 20 years ago, places like TI and ADI were offering parts that are spec-dominant over the 741. Literally every parameter on the datasheet is equal to or better than the 741, and pinout is the same.
pclmulqdq··on How Motorola’s 2N2222 and 2N3904 transistors became the default NPNs
These parts that become "the part" often have this issue relatively early into the lifecycle. The 741 op-amp is another example. They are often bad and expensive, but they are a default so people put them in.
pclmulqdq··on It's OK to compare floating-points for equality
What is "coder arrogance"? The expectation that the 20-year-old API (SSE) will be used over the deprecated 40-year-old API that is currently losing compiler (and silicon) support? Can you point to a running x86 machine today that does not have SSE?

It is also faster and more precise to use double-double for math over x87 extended precision. There is literally no reason to compile an x87 instruction today aside from a programmer not knowing better.

pclmulqdq··on It's OK to compare floating-points for equality
Nobody's code will be compiled to use x87 any more.
pclmulqdq··on It's OK to compare floating-points for equality
Your assertion code here doesn't make a ton of sense. The epsilon of choice here is the distance between 1 and the next number up, and it's completely separated from the scale of the numbers in question. 1e-50 will compare equal to 2e-50, for example.

I would suggest that "equals" actually is for "exactly equals" as in (a == b). In many pieces of floating point code this is the correct thing to test. Then also add a function for "within range of" so your users can specify an epsilon of interest, using the formula (abs(a - b) < eps). You may also want to support multidimensional quantities by allowing the user to specify a distance metric. You probably also want a relative version of the comparison in addition to an absolute version.

Auto-computing epsilons for an equality check is really hard and depends on the usage, as well as the numerics of the code that is upstream and downstream of the comparison. I don't see how you would do it in an assertion library.

pclmulqdq··on US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf]
A spreadsheet I produce for myself probably isn't attorney-client privileged. A spreadsheet or word document I produce for my lawyer can be attorney-client privileged (especially if it's literally only for the lawyer). If a ChatGPT or Claude chat is legally like a spreadsheet, it sounds like it's probably not privileged, but a ChatGPT chat you create "for your lawyer" would be.
pclmulqdq··on Show HN: I built a Cargo-like build tool for C/C++
Large blocks of inline assembly also destroy -O3. The compiler treats the asm statement as being essentially empty and makes decisions around it. Most inline asm is 1 instruction, so this is usually safe.
pclmulqdq··on Show HN: I built a Cargo-like build tool for C/C++
If you have a lot of "data plane" code or other looping over data, you can see a big gain from -O3 because of more aggressive unrolling and vectorization (HPC people use -O3 quite a lot). CRUD-like applications and other things that are branchy and heavy on control flow will often see a mild performance regression from use of -O3 compared to -O2 because of more frequent frequency hits due to AVX instructions and larger binary size.
pclmulqdq··on How NASA built Artemis II’s fault-tolerant computer
Absolutely not, although the latest fabs with rad-tolerant processors are at ~20 nm. There are FDSOI processes in that generation that I assume can be made radiation-tolerant.
pclmulqdq··on US and Iran agree to provisional ceasefire
$2M/ship is $1/barrel for VLCCs, but it's a lot more for smaller ships. Practically, nobody will use a ship smaller than a VLCC with the toolbooth.
pclmulqdq··on NYC families need over $125k in income to live in any borough
I dated someone in one of these families for a very long time, so I'm pretty sure I do know how that family system and the surrounding community operates. This sort of "family commune" living arrangement is very common in lower-income communities with family-oriented cultures (eg working-class hispanic, italian, african american communities), and the tax code amplifies its effectiveness.
pclmulqdq··on New Rowhammer attacks give complete control of machines running Nvidia GPUs
Datacenters tend to have IOMMU turned on. Consumer devices are the ones that don't turn this on by default.
pclmulqdq··on DRAM pricing is killing the hobbyist SBC market
DRAM and flash both seem to be up about 10x. HDDs are just impossible to buy.
pclmulqdq··on Random numbers, Persian code: A mysterious signal transfixes radio sleuths
Every message is equally likely when you attempt this kind of brute-force decryption with a one-time pad. The code you get is actually 100% unbreakable if the pad isn't intercepted.
pclmulqdq··on The 'paperwork flood': How I drowned a bureaucrat before dinner
When you hate the machine as a whole, the cogs are also in scope.
pclmulqdq··on Hollywood Enters Oscars Weekend in Existential Crisis
People call the classical music audience prudish for demanding quiet during performances, but IMO when you go to a concert it should be ok to shush people who talk during the quiet parts.
pclmulqdq··on Hollywood Enters Oscars Weekend in Existential Crisis
Hollywood seems to have never realized that the point of works like LotR and Star Wars was to take the ridiculous extremely seriously. The bad CGI didn't matter because every actor took it seriously. A marvel-ized star wars with great CGI is still a bad movie because nobody on screen takes it seriously despite how realistic the graphics are.
pclmulqdq··on Elon Musk pushes out more xAI founders as AI coding effort falters
This is the archetype I have seen for most fans of Tesla and people who think they make good cars. They assume a $50,000 car (their current Tesla) should compare with a $20,000 car (their previous Honda/Mazda). The Tesla market is also the market with BMWs and Porsches, and dollar for dollar you get a lot more from a BMW than a Tesla.
pclmulqdq··on WA income tax clears House after 24-hour debate
$16k per year in total taxes is very cheap for someone with a $1 million house and the income to support it.
pclmulqdq··on WA income tax clears House after 24-hour debate
Tax rates under 2% of property value should not "flabbergast" anyone. I prefer a state having a high property tax rate and cheap housing over an income tax. I'm sure most Texans do, too.
← PreviousPage 3 of 34Next →