isaacs's Avatar

isaacs

@isaacs.bsky.social

Husband, Father, Turmerist, Easter

2,074 Followers  |  134 Following  |  751 Posts  |  Joined: 05.05.2023  |  1.9147

Latest posts by isaacs.bsky.social on Bluesky

Hmm, maybe? But then it gets platform specific, which is a whole other problem.

13.02.2026 21:03 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Er, just return then(..)

13.02.2026 20:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Right now, we just return them. But that breaks jquery’s methods. Trying to please everyone, might not be possible though.

13.02.2026 20:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

bsky.app/profile/isaa...

13.02.2026 20:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Here’s what I landed on for now. We’ll see if it ends up being faithful enough for our purposes. www.npmjs.com/package/@isa...

13.02.2026 20:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1

That’s definitely where we might land. Would just need clear docs.

13.02.2026 20:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'm thinking the only way is a Proxy that wraps our extended promise, but provides access to any extra methods of the original value.

(p, onS, onE) => {
const newp = p.then(onS, e => {onE(e);throw e})
return new Proxy(newp, { /*proxy to og promise*/ })
}

Feels heavy, though? Any better ideas?

13.02.2026 16:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

If you rethrow in the onE method,

(p, onS, onE) => {
p.then(onS, e => { onE(e); throw e })
return p
}

then it'll ALWAYS trigger unhandledrejection, because that new unreturned promise rejects.

13.02.2026 16:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

If we just attach the handlers and return the og value, like this:

(p, onS, onE) => {
p.then(onS, onE)
return p
}

then we suppress unhandledrejection, because it is been handled.

13.02.2026 16:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

The reason for returning the actual factual input promise is that it needs to work on Thenables like jQuery's Deferred objects, promise-like with other methods attached.

So, this won't work:

(p, onS, onE) => p.then(
v => { onS(v); return v },
er => { onE(er); throw er }
)

13.02.2026 16:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Hey, best friends. I have a JavaScript puzzle for you.

Consider this:

function (p, onSuccess, onError) {
// call onSuccess on resolve
// call onError on reject
// do not modify unhandledrejection behavior
// return p, not a wrapper promise
}

Is it possible? How?

13.02.2026 16:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This tweet brought to you by GitHub and the completely unnecessary fucking disaster that is npm login tokens right now. I have sympathy for the people dealing with the technical mess and put in a position to do the impossible, but undiluted rageful resentment at the leadership allowing it to happen.

12.02.2026 15:56 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

One thing they tell you, but most founders convince themselves won't apply to them, is that when a big company buys your startup, they WILL fuck it up. Maybe not right away, not while you're still there. But it's not yours anymore, and big companies are in the business of fucking things up.

12.02.2026 15:56 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

What’s the difference between a rigid social class of people trapped in wage slavery, and a magic spell that’s created while riding on waves at the beach?

One is a serf caste and the other is a surf cast.

12.02.2026 03:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

something you learn about open source when you work on a sufficiently large project is that you *shouldn't* welcome all PRs

10.02.2026 16:46 β€” πŸ‘ 16    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0

Like, I swear to god, some of these tweets that people are tweeting over on ten dot com formerly known as a website I visited called Twitter, if I'd done these things, you would have to literally torture me or give me extremely strong drugs to get me to admit. I'd take it to my grave and beyond.

09.02.2026 05:56 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

"So instead of backing up my files, including every photo that exists of my children, and the database of all my users' private information, and the private keys of my production server, I asked Claude to move them to a safe location..."

09.02.2026 05:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

What is the impulse that drives wealthy and highly educated investors and executives to not just fuck up by giving ai the keys to the kingdom, but double down and bare their whole proverbial ass by disclosing every increasingly moronic decision that led to the extremely predictable failure?

09.02.2026 05:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Ever notice how people who worry if there's something it's like to be ai, if the ai doesn't like working for us, etc, are often perfectly willing to object to ubi because it'll remove any incentive to work?
Like, my guy, maybe don't worry about the toaster being conscious while I'm right here.

08.02.2026 17:09 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

All drivers are bad in *many of the same exact ways and for the same reasons* that all cops are bastards. Cops are worse, since in addition to the rest, cops are *also* the worst drivers. But like, legal protection + a sense of power + being aggrieved at any minor slight + deadly weapon = VERY BAD

07.02.2026 23:12 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

You might be a good person when you're *not* driving a car.
You might have no choice *but* to drive a car sometimes.

I get it, really I do. I'm in the same boat.

But if you ignore the moral harm of driving, if you make excuses to avoid feeling it, then you're part of the problem.

ADAB.

07.02.2026 22:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Additionally, are terrible for the environment. In addition to emissions (or power required to charge batteries), they turn asphalt into dust that causes asthma and lung cancer and require us to spend money fixing the roads (which are a waste of space and an environmental hazard in their own right).

07.02.2026 22:52 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

ADAB

All
Drivers
Are
Bad

When driving a car, you are morally compromised.

It makes you, at least temporarily, impatient, rageful, distracted, entitled, and petty, all while in control of a device that can kill instantly and accidentally, in a legal environment that largely protects drivers.

07.02.2026 22:52 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Trust me, the woman of academia are not at all surprised by the number of academic men orbiting Epstein.

07.02.2026 13:19 β€” πŸ‘ 7412    πŸ” 1442    πŸ’¬ 118    πŸ“Œ 68

(takes enormous bong rip, exhales coughing)
OKokok but but but... what if... we GOT RID of all the BAD people?
(you realize with horror that the bong is packed with fascism)

04.02.2026 20:54 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Somebody should invent a way of distributing labor and resources that doesn't rely on networks of trust which can be compromised by bad actors.

04.02.2026 20:50 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

unix is fun

06.02.2026 18:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

(takes enormous bong rip, exhales coughing)
OKokok but but but... what if... we GOT RID of all the BAD people?
(you realize with horror that the bong is packed with fascism)

04.02.2026 20:54 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

(I'm only kinda joking here. Of course that's basically what the history of technology has always been all about, from string to textiles to steel to trebuchets, so it shouldn't be a surprise that computers are not an exception.)

04.02.2026 20:52 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Somebody should invent a way of distributing labor and resources that doesn't rely on networks of trust which can be compromised by bad actors.

04.02.2026 20:50 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@isaacs is following 19 prominent accounts