Better HN
topnewbestaskshowjobs
Log inSign up

THBC

22 karma · joined Jul 30, 2024 (2y ago) · 15 submissions

Submissions

comment 2y ago · link · parent

”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.

comment 2y ago · link · parent

Holodeck is just around the corner

comment 2y ago · link · parent

Probably written by a language model

comment 2y ago · link · parent

Ah, configurable data loss.

comment 2y ago · link · parent

M/S Local Minimum

comment 2y ago · link · parent

Just make some of your relationship arrows longer by adding more dashes.

comment 2y ago · link · parent

What? In JS async/await is _literally_ syntactic sugar for returning/thening promises.

comment 2y ago · link · parent

    const value1 = await task1(init);
    const value2 = await task2(value1);

comment 2y ago · link · parent

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()

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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);

comment 2y ago · link · parent

This seems like an opaque supply chain attack waiting to happen.

comment 2y ago · link · parent

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.