Live data from Hacker News

Viewing profile — jamespwilliams

jamespwilliams

HN member
Joined
Sat, Aug 15, 2020, 6:32 PM UTC
HN karma
2,548
Public activity
273 items

About jamespwilliams

https://github.com/jamespwilliams

Submissions != endorsements

Recent public activity

  1. story
  2. comment
  3. comment
  4. comment
  5. comment
  6. comment
    Comment #40544208

    https://go-review.googlesource.com/c/go/+/576015 this change to optimise errors.Is in the err == nil case was merged recently. It’s not included in the latest Go release, hence the…

  7. comment
    Comment #40544163

    That err == nil check was added very recently and isn’t included in the latest Go release, which the author used in this article.

  8. comment
    Comment #39962257

    And conversely, short domains like Google’s own g.co are less secure!

  9. comment
    Comment #39921241

    Fun weekend project but definitely not production-ready (no tests, no error handling, concurrent requests will cause a race condition, etc.). If readers are looking for something p…

  10. comment
  11. comment
    Comment #39879326

    Can you spot the intentional bug in this commit?

  12. story
  13. comment
    Comment #39808810

    > Maybe it would be easier to have some kind of framework for compiler plugins that do extra checks. [...] But I haven't seen any language community do something like that. What am…

  14. comment
    Comment #39653132

    > Now, listen. I wish I could continue here and end with “… and this is why ZSH does it that way!” https://github.com/zsh-users/zsh/blob/47c7bc9b1493c7374f076b... has a comment abo…

  15. comment
  16. comment
    Comment #39377142

    nginx supports graceful reloading and I’m pretty sure it has for a very long time - there are references to it in the changelog from 2005 https://nginx.org/en/docs/control.html

  17. comment
    Comment #39168661

    It doesn’t cover all of your requirements but you might find Clozemaster interesting

  18. comment
    Comment #39168650

    I can recommend this too, although I use DeepL instead of Google Translate, and I also use DeepL Write to identify issues in my grammar

  19. comment
    Comment #38766351

    Depending on your use case it might be better to just store the key unencrypted. There’s not really much point encrypting it if you’re storing the passphrase on disk alongside the …

  20. comment
    Comment #38764823

    Something like https://matrixzj.github.io/documentations/idm_decrypt_ssh_pr... (then ssh -i decrypted_key) should work and avoid ssh-agent

  21. comment
    Comment #38753100

    You could probably use a self-signed cert, then configure socat either to trust that certificate (with the cafile option) or to disable verification (with the verify option)

  22. story
  23. story
  24. comment
    Comment #38397940

    Shellcheck is a godsend https://github.com/jamespwilliams/strictbash , I wrote this little wrapper a while back that you can use as a shebang for scripts. It runs shellcheck for yo…

  25. story