News for hackers. Stuff that matters.

THBC

Re:The 4-chan Go programmer on Wednesday August 28, 2024 @05:31PM (#41384623)
”every pointer is simply adding a dimension to the data.”

No, it’s not. The concept of having a pointer to a pointer has nothing to do with the concept of dimensionality.

You must be thinking of lists of lists (of lists…), which can be implemented using pointers. The dimensionality, however, comes from the structure of the list, not from the pointers.

Re:Diffusion Models Are Real-Time Game Engines on Wednesday August 28, 2024 @12:13AM (#41375892)
Holodeck is just around the corner
Re:TIL: Versions of UUID and when to use them on Sunday August 25, 2024 @05:52PM (#41351783)
Probably written by a language model
Re:Ask HN: What are you working on (August 2024)? on Sunday August 25, 2024 @03:50AM (#41345334)
Ah, configurable data loss.
Re:IT tycoon Mike Lynch, daughter Hannah found dead on Wednesday August 21, 2024 @05:07PM (#41314194)
M/S Local Minimum
Re:Mermaid: Diagramming and Charting Tool on Sunday August 18, 2024 @01:40AM (#41280350)
Just make some of your relationship arrows longer by adding more dashes.
Re:I avoid async/await in JavaScript on Wednesday August 14, 2024 @12:38AM (#41242592)
What? In JS async/await is _literally_ syntactic sugar for returning/thening promises.
Re:I avoid async/await in JavaScript on Tuesday August 13, 2024 @05:44PM (#41240186)

    const value1 = await task1(init);
    const value2 = await task2(value1);
Re:I avoid async/await in JavaScript on Tuesday August 13, 2024 @05:43PM (#41240170)
That’s not ”raw Promise” syntax, that’s Thenable syntax.

Compare with

    const myPromise = new Promise((resolve, reject) => resolve(”foo”));
    
Afterwards either try-catch await myPromise, or use myPromise.then().catch()
It’s only the irreversible MAOIs that get a bad rap for being somewhat incompatible with certain foods and other medicines.

These MAOIs are reversible, i.e. they will release from their substrate (the MAO enzymes) after some time. Irreversibles require the body to synthesize more of the enzyme to replace the enzyme molecules that got forever inactivated.

That said, some of the Harmala family alkaloids are also heavily comutagenic and some are neurotoxic.

Re:Porffor: A from-scratch ahead-of-time JS engine on Tuesday July 30, 2024 @04:41PM (#41113917)
Number is not semantically compatible with raw 64-bit integer, so you might as well wish for a native

    const counter = UInt64(42);
The current state of the art is

    const counter = BigInt.asUintN(64, 42);
Re:Porffor: A from-scratch ahead-of-time JS engine on Tuesday July 30, 2024 @04:35PM (#41113867)
This seems like an opaque supply chain attack waiting to happen.
The Harmala family of alkaloids is indeed psychoactive. They are found not only in Ayahuasca ingredient Banisteriopsis caapi vine, but also in tobacco smoke and brewed coffee. Those are the two most common sources in the human diet. Right behind are heat-cooked foods, beers, sake, whiskey and soy sauce.

These compounds are functionally monoamine oxidase inhibitors and they are readily absorbed into brain fatty tissues. Their presence in the human body can cause things like anxiety, depression and impulsive behavior, and it takes many weeks or months to completely clear your system of them.