Viewing profile — jamespwilliams
jamespwilliams
HN member- Joined
- Sat, Aug 15, 2020, 6:32 PM UTC
- HN karma
- 2,548
- Public activity
- 273 items
- HN profile
- View on Hacker News ↗
About jamespwilliams
Submissions != endorsements
Recent public activity
- story
- comment
- comment
- comment
- comment
-
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…
-
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.
-
comment
Comment #39962257
And conversely, short domains like Google’s own g.co are less secure!
-
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…
- comment
-
comment
Comment #39879326
Can you spot the intentional bug in this commit?
- story
-
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…
-
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…
- comment
-
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
-
comment
Comment #39168661
It doesn’t cover all of your requirements but you might find Clozemaster interesting
-
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
-
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 …
-
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
-
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)
- story
- story
-
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…
- story