Hmm, maybe? But then it gets platform specific, which is a whole other problem.
13.02.2026 21:03 β π 1 π 0 π¬ 0 π 0@isaacs.bsky.social
Husband, Father, Turmerist, Easter
Hmm, maybe? But then it gets platform specific, which is a whole other problem.
13.02.2026 21:03 β π 1 π 0 π¬ 0 π 0Er, just return then(..)
13.02.2026 20:43 β π 1 π 0 π¬ 0 π 0Right 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 π 0bsky.app/profile/isaa...
13.02.2026 20:16 β π 0 π 0 π¬ 1 π 0Hereβ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 π 1Thatβs definitely where we might land. Would just need clear docs.
13.02.2026 20:15 β π 0 π 0 π¬ 1 π 0I'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?
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.
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.
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 }
)
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?
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 π 0One 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 π 0Whatβ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.
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 π 0Like, 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 π 0What 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 π 0Ever 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.
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 π 0You 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.
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 π 0ADAB
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.
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)
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 π 0unix 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)
(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 π 0Somebody 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