Live data from Hacker News

Viewing profile — neallindsay

neallindsay

HN member
Joined
Thu, Feb 20, 2014, 4:10 PM UTC
HN karma
821
Public activity
237 items

About neallindsay

const lockify = f => {

  let lock = Promise.resolve()

  return (...args) => {

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

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

    return result.then(v => v)

  }

}

Recent public activity

  1. comment
    Comment #48186364

    You have to participate in order to get access to most iPhone users.

  2. 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…

  3. story
  4. comment
    Comment #46312967

    Isn't that what I said?

  5. comment
    Comment #46312950

    1.7x more is not the same as 1.7x as many.

  6. comment
    Comment #46267475

    Some TypeScript features are only available through JSDoc. The one I encounter most often is `@deprecated`.

  7. comment
    Comment #46234834

    There's a Kingdom Hearts joke in there somewhere, but I don't know enough of the lore to make it.

  8. comment
    Comment #45895745

    We're all suffering from the curse of dimensionality.

  9. comment
    Comment #45390618

    In-band signaling can never be secure. Doesn't anyone remember the Captain Crunch whistle?

  10. 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…

  11. 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? (…

  12. comment
  13. comment
    Comment #44714148

    > …as intended. Genes and biology in general do not have "intended" purposes.

  14. comment
    Comment #44509139

    Unicode support in Ruby has been great since the beginning.

  15. 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…

  16. 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.

  17. 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…

  18. 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…

  19. 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?

  20. comment
    Comment #44354655

    The xenophobes making these decisions don't care if they create problems for US citizens traveling abroad.

  21. 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…

  22. comment
    Comment #44096377

    Computers keep getting better at acting like humans, but humans don't get any more obviously human.

  23. comment
    Comment #43859534

    I was looking at quarterly revenue numbers—it seems like a dollar value to me.

  24. 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…

  25. 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.