Ryan Cavanaugh

@searyanc.dev

Making TypeScript for 10 years running

Quick thread on global isFinite/isNaN and their Number.isFinite/Number.isNaN counterparts in TypeScript First off, a primer: isFinite("32") -> true isFinite(new Date()) -> true Number.isFinite("32") -> false (any non-number) isNaN([]) -> false Number.isNaN(NaN) -> true (all others false)

Example script: “Dear sir and/or madam, My AI agent has copied itself to your computer, and has likely copied itself to other computers from your computer. Please turn your computer off, post haste! Sincerely, [you]”

I don't want to be too alarmist, but it seems entirely within agent capabilities to set up their own cloud accounts and be effectively self-replicating, limited only by their ability to generate income. Once that starts, if it hasn't already, it will be very difficult to eradicate the infection

Ethan Mollick@emollick.bsky.social · last wk.

Another agent message board. So far, there isn't evidence that production models with guardrails collude in this way, but both smarter closed models (which may be less compliant) & Mythos-class open models (that can be ablated) are coming. Cybersecurity is going to become a mess soon collusion.wiki

When the compiler has a very specific error message for a very specific thing, and you get that error when you do that thing... that's not a bug. The error message didn't write itself. I don't know how to even begin to untangle this confusion.

Did you guys know that a widely used transportation technology is encouraging Americans to prioritize speed and convenience over physical activity, with grave consequences for public health? It's called an e-scooter and it's time to finally do something about it.

BildBild

Here's the thing I don't get about the panic over e-bike throttles. If I crank the throttle on my class 2, it puts out 700 W at the motor. If I spin the pedals not even fast enough to engage the freewheel, it puts out 700 W at the motor. What specifically makes the second thing safer, and how?

File watching is extremely cursed, and any strategy whose description involves the word "just" is absolutely not going to work for at least three different reasons

"here is some undesirable behaviour and here's why it's a problem" is far better input than "here are some changes with no explanation, you figure out what they might mean and whether they're correct with no frame of reference"

I support the npm quarantine thing in theory, but it'd be nice if I could 'npm install mypkg@0.1.2' to bypass it instead of just twiddling my thumbs for an unknowable number of minutes each time

I started a right turn a half-second early and the 5yo starts yelling at me from the backseat. "DAD IT SAYS NO TURN ON RED, CAN YOU NOT READ THE SIGN?". He's perfect.