Viewing profile — neallindsay
neallindsay
HN member- Joined
- Thu, Feb 20, 2014, 4:10 PM UTC
- HN karma
- 821
- Public activity
- 237 items
- HN profile
- View on Hacker News ↗
About neallindsay
let lock = Promise.resolve()
return (...args) => {
const result = lock.then(() => f(...args))
lock = result.catch(() => {})
return result.then(v => v)
}
}Recent public activity
-
comment
Comment #48186364
You have to participate in order to get access to most iPhone users.
-
comment
Comment #47037633
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 credib…
- story
-
comment
Comment #46312967
Isn't that what I said?
-
comment
Comment #46312950
1.7x more is not the same as 1.7x as many.
-
comment
Comment #46267475
Some TypeScript features are only available through JSDoc. The one I encounter most often is `@deprecated`.
-
comment
Comment #46234834
There's a Kingdom Hearts joke in there somewhere, but I don't know enough of the lore to make it.
-
comment
Comment #45895745
We're all suffering from the curse of dimensionality.
-
comment
Comment #45390618
In-band signaling can never be secure. Doesn't anyone remember the Captain Crunch whistle?
-
comment
Comment #45108907
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 cont…
-
comment
Comment #44723777
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? (…
- comment
-
comment
Comment #44714148
> …as intended. Genes and biology in general do not have "intended" purposes.
-
comment
Comment #44509139
Unicode support in Ruby has been great since the beginning.
-
comment
Comment #44509076
Ruby has been extremely slow and deliberate in rolling out frozen string literals. They added a magic comment to opt in to them on a per-file basis all the way back in Ruby 2.3—alm…
-
comment
Comment #44492733
I guess "esoteric" is in the eye of the beholder, but Promises seem a lot easier than the old callback style we used to use for asynchronous operations.
-
comment
Comment #44485199
Promises in JS make this stuff much easier (at least to my mind): const lockify = f => { let lock = Promise.resolve() return (...args) => { const result = lock.then(() => f(...args…
-
comment
Comment #44412465
By following the work of authors that you trust and getting recommendations from people you trust, you can reduce your need for recommendations from machines and companies. Then yo…
-
comment
Comment #44354721
I guess they expect you to set all your repos to public before applying for a visa now. Maybe your Venmo history as well?
-
comment
Comment #44354655
The xenophobes making these decisions don't care if they create problems for US citizens traveling abroad.
-
comment
Comment #44106962
The picture at the top of the article seems to be a bad (AI-generated, I assume) illustration of the Gartner Hype cycle. There are supposed to be five stages, but the text at the b…
-
comment
Comment #44096377
Computers keep getting better at acting like humans, but humans don't get any more obviously human.
-
comment
Comment #43859534
I was looking at quarterly revenue numbers—it seems like a dollar value to me.
-
comment
Comment #43856634
Apple should abandon the console model for iPhones (and iPads, etc.). It's corrosive. By my back-of-the napkin math (subtracting an estimate of Google's quarterly search payments f…
-
comment
Comment #43750958
Despite all the data about climate change, the thing that is actually shifting us away from fossil fuels is that solar panels are cheap.