Live data from Hacker News

Viewing profile — irjoe

irjoe

HN member
Joined
Sat, Jun 29, 2019, 7:23 AM UTC
HN karma
45
Public activity
21 items

About irjoe

No profile information was provided.

Recent public activity

  1. comment
    Comment #46543688

    I always felt like go channels were more of a clever solution than a good one. Goroutines are a pleasure to work with though.

  2. comment
    Comment #43295267

    Using document.addEventListener means it will work even if the DOM is updated without having to add new event listeners. If I'm not expecting the DOM to change I would be more incl…

  3. comment
    Comment #43100764

    I don't recall the exact numbers but I had a very similar experience, scoring very highly on spatial reasoning almost to the detriment of everything else. I remember a close friend…

  4. comment
    Comment #43019025

    I imagine the red blood was very noticeable on the white snow. I might be wrong though.

  5. story
  6. comment
    Comment #40994328

    I assume you're referring to Kowloon Walled City?

  7. comment
    Comment #40209020

    I'm not sure that's entirely true in the UK. The Polish plumber taking British jobs is a fairly common trope in far-right discourse. I believe this is prevalent across Western Euro…

  8. comment
    Comment #39356170

    You can also use anonymous functions if you find the module syntax a little terse or clunky for shell scripting. double = fn a -> add.(a, a) end double.(4) It starts to look a bit …

  9. comment
    Comment #36103615

    Would Be Nice Ifs, maybe?

  10. comment
    Comment #34344061

    It was already fairly popular in the UK prior to being acquired by Facebook.

  11. comment
    Comment #34064620

    I live in a smaller city in the UK so my experience is likely much different from those living in larger cities. I never wear a helmet when riding a bike and used to commute daily.…

  12. comment
    Comment #34064171

    curmudgeon

  13. comment
    Comment #33789770

    > 2. Any advice about automatic whitespace/indentation handling with Emacs? I use prettier-mode and editorconfig-mode. Everything is formatted on save so works well for me.

  14. comment
    Comment #28176220

    There's an inherent difficulty in making difficult things easy. I think we're more likely to improve the ergonomics of writing software rather than make it easier for others to tra…

  15. comment
    Comment #27822096

    I really wish the GraphQL alias syntax supported something like: query { users { email: contact.email } }

  16. comment
    Comment #25623117

    Interesting. I do the same thing in Elixir where I'll attach an iex session to a Phoenix application so I can interrogate modules and APIs as I'm building them out. I'm slightly di…

  17. comment
    Comment #25622990

    Is there a simple way to get code I write in a lisp REPL back into my editor? That's the part missing for me and why I usually only use interactive shells (REPL or otherwise) for t…

  18. comment
    Comment #22338193

    I've found a fairly workable solution is to have an origin for the API in CloudFront and a behaviour to route /api/* to that origin. Saves any CORS headaches. Obviously this won't …

  19. comment
    Comment #20317225

    Quite the opposite :) My preference would be to rely on pattern matching (unification) in the function head: def transform_data([_|[]]) do: [] I just wanted an example of using gua…

  20. comment
    Comment #20312489

    You're right, they're not really "early returns" but for me at least they are often in similar fashion to the "early exit" pattern in the article: def transform_data(raw_data) when…

  21. comment
    Comment #20311337

    I'm currently writing a lot of Elixir where early returns are a feature of the language ( https://hexdocs.pm/elixir/Kernel.html#module-guards ). I also write a lot of JS and tend t…