Live data from Hacker News

Viewing profile — DanWaterworth

DanWaterworth

HN member
Joined
Tue, Mar 01, 2011, 3:35 PM UTC
HN karma
2,494
Public activity
779 items

About DanWaterworth

No profile information was provided.

Recent public activity

  1. comment
    Comment #18358186

    Is there a way to apply without going through the angel.co website?

  2. comment
    Comment #18285787

    You obviously have reasons to be angry, but vitriolic comments don't produce constructive discourse.

  3. comment
    Comment #18178096

    > I only mean it's visibly more obvious, you have an indented block... Haskell is more similar than you realise, it's the difference between this: withSomeResource $ \resource -> d…

  4. comment
    Comment #18176394

    I can see why you might think that, being built into the language, using 'with' in Python in a broken way would be easier to spot. However, having used both languages extensively, …

  5. comment
    Comment #18174218

    If you are consuming an API that provides an object with a destructor, you are correct, you can determine when destructors will be called. The issue is when you produce an API that…

  6. comment
    Comment #18174175

    Python's "with" construct is analogous to the bracket pattern in Haskell that the article is talking about. It also works in the nested case in the presence of exceptions. Furtherm…

  7. comment
    Comment #18174154

    > The thing is that, in Haskell, even when you attach a function to run during destruction, the runtime doesn't guarantee that the function will be called promptly, or even at all.…

  8. comment
    Comment #18174132

    Sad to see you being downvoted when you are correct, see [1] > forget is not marked as unsafe, because Rust's safety guarantees do not include a guarantee that destructors will alw…

  9. comment
  10. comment
    Comment #17636842

    You're right to complain that conquistadog's comment was irrelevant to your main point. It's frustrating when people miss what you are saying and get so hooked on trivialities. Inc…

  11. comment
    Comment #17629004

    Off topic, and IANAL, but I believe this website breaks European law by refusing to serve the article to european residents who block cookies. Under the ePrivacy legislation (and G…

  12. comment
    Comment #17564510

    You may prefer this link: https://arxiv.org/abs/1606.03490

  13. comment
    Comment #17188536

    I agree with you for the most part here. For the things that I typically use computers for, I would prefer to have both hardware and software protected sandboxes. There's a reason …

  14. comment
    Comment #17012472

    The rule of thumb for restaurants is the poorer the website, the better the food. Restaurants with Flash-only pages that haven't been updated for 15 years are the best. Also, the c…

  15. comment
    Comment #16939508

    There's a good reason that the pictures look similar. Both architectures produce somewhat blurry images. The problem, in BEGAN's case, is that when your idea of similarity is based…

  16. comment
    Comment #16567855

    I have experience using each of these languages professionally, working in a team. Each of them have their own foibles that you'll be constantly railing against: Python: Large Pyth…

  17. comment
    Comment #16509381

    Disinterested means impartial, you are uninterested.

  18. story
  19. comment
    Comment #16170393

    Also in the medium term, artificially increasing the price of fuel incentivizes research and development of alternatives.

  20. comment
  21. comment
  22. comment
    Comment #15339094

    If you don't mind me asking, why do you want to do this?

  23. comment
    Comment #15261934

    I think a better way to handle this would be to use subresource integrity [1]. Then, if the browser's cached version matches the hash, it can be sure that it doesn't need to do any…

  24. comment
    Comment #15204399

    Comments like this are why I still read hacker news.

  25. comment
    Comment #14581005

    You're not alone: https://www.johndcook.com/blog/2013/02/04/four-hours-of-conc...