neallindsay

Joined 12 years ago

Karma
834
Submissions
241
Member since
Feb 20
const lockify = f => {

  let lock = Promise.resolve()

  return (...args) => {

    const result = lock.then(() => f(...args))

    lock = result.catch(() => {})

    return result.then(v => v)

  }

}
View on Hacker News

Recent submissions

Comment · 6 days ago
The part where he's testing the blade motion and you see the bandages on his fingers I found a bit… disturbing.
Comment · 15 days ago
I searched for “under construction” and my computer exploded.
Comment · 2 months ago
So a Surface Pro is a laptop then. Does a SteamDeck become a laptop if you install Windows on it?
Comment · 2 months ago
I also raised an eyebrow at "the vast majority of laptops are only sold with a specific proprietary operating system: Microsoft Windows", but after looking at some estimates it seems legit. Probably only about 1 in 10 laptops is a Mac. Software developers really just live in a different world than normal people.

It got me thinking though: what is a laptop? People probably count Chromebooks, and that seems fair. Is a SteamDeck a laptop? Is an iPad with a keyboard case a laptop? Is a Microsoft Surface Pro a laptop when it has its keyboard attached?

Comment · 5 months ago
You have to participate in order to get access to most iPhone users.
Comment · 8 months ago
If someone is charged with and found innocent of a crime, you can't just remove that record. If someone else later finds an account of them being accused, they need a way to credibly assert that they were found innocent. Alternately if they are convicted and served their sentence, they might need to prove that in the future.

Sometimes people are unfairly ostracized for their past, but I think a policy of deleting records will do more harm than good.

Comment · 10 months ago
Isn't that what I said?
Comment · 10 months ago
1.7x more is not the same as 1.7x as many.
Comment · 10 months ago
Some TypeScript features are only available through JSDoc. The one I encounter most often is `@deprecated`.
Comment · 10 months ago
There's a Kingdom Hearts joke in there somewhere, but I don't know enough of the lore to make it.
Comment · 11 months ago
We're all suffering from the curse of dimensionality.
Comment · 1 year ago
In-band signaling can never be secure. Doesn't anyone remember the Captain Crunch whistle?
Comment · 1 year ago
The search deals were already not exclusive. The real impact will be the other businesses (especially GenAI) where Google will be barred from having exclusivity clauses in its contracts.

-update- CNBC has fixed their headline.

Comment · 1 year ago
I don't think that blueflow is being obtuse at all. If you assert that genes have an intended way of working, then the questions

> How do we know how things are intended to work? (Intended by whom?)

are very salient. Your reply talking about

> …a specific receptor in the body is not working properly.

just raises the same question again. What does it mean for something in our biology to be working "properly"? Who is deciding what is "proper"?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton