Viewing profile — joeshaw
joeshaw
HN member- Joined
- Wed, Aug 12, 2009, 3:35 AM UTC
- HN karma
- 739
- Public activity
- 117 items
- HN profile
- View on Hacker News ↗
About joeshaw
[ my public key: https://keybase.io/joeshaw; my proof: https://keybase.io/joeshaw/sigs/AGXxr0IGC2jnOAVfKsaUq_-D8FtMdgQjctgtTFC8WSE ]
Recent public activity
-
comment
Comment #41501698
This is a contrived example, but imagine a situation where I have a file I want to write on disk and then have a reference to it in a database. If I have a flow like: func UpdateUs…
-
comment
Comment #41500614
OP here. I appreciate the comments I've read here, and it might inspire a new blog post: "Defer is for resource cleanup, not error handling."
-
comment
Comment #41500597
OP here. Another commenter pointed out that `errors.Join` didn't exist when I wrote this, but I wouldn't have changed my guidance if it had. The core issue here is that you want to…
-
comment
Comment #41480840
I caution against this approach, as you are not really dealing with the error when it occurs. If the work you do after the defer has other side effects, you may have just gotten yo…
-
comment
Comment #16430339
I'm fine with vendoring going away as long as we can check these new modules into version control and have vgo use them. Adding a caching proxy adds too much infrastructure for mos…
-
comment
Comment #15725278
In net/http, if a handler panics you don't want it to bring down your entire application. For more info, see https://golang.org/pkg/net/http/#Handler The encoding/json package is i…
-
comment
Comment #15723564
> I think there are plans to make an official debugger it just hasn't been prioritized. There was a nascent project inside the Go team a couple of years ago (called ergo I think?) …
-
comment
Comment #15723345
My explanation for why is the following sentence: > If a function could fail, the function must return an error as its last return value. The caller should immediately check for er…
-
comment
Comment #12701325
All Fastly customers that use it to terminate SSL/TLS are also affected. Among them are Wired and Buzzfeed (ones I've run into this morning).
-
comment
Comment #11405578
Mono was started by Miguel at Ximian, and most of the Mono code was owned by Ximian. Ximian was bought by Novell and with it, all the Ximian-owned Mono code. (I don't remember if a…
-
comment
Comment #10081470
On a related note, there are an alarmingly large number of hosts listening on port 23 (unencrypted telnet) on the internet: https://www.shodan.io/search?query=port%3A23 Most of the…
-
comment
Comment #10056195
I'm one of the developers of http://imagefly.io . We are still very much active and doing development on the service. We have paying customers and our own photo products depend hea…
-
comment
Comment #9839846
It may correct itself as you zoom in. It seems to group geographic areas together in somewhat centralized locations to avoid having too many bubbles at a particular zoom level. If …
-
comment
Comment #9381038
The app doesn't matter anymore. Twitter is the app now (and whomever else they license their points-of-interest service to). Consumers of their service likely feed back check-in-eq…
-
comment
Comment #9380870
The app isn't the product. The points-of-interest database they built from their apps' users is the product. And that is what they're now selling to companies like Twitter. Twitter…
-
comment
Comment #9380836
Yes! I can't believe that nobody else has made this point. I am as disappointed in the pivot of the app as everyone else, but it's hardly the sign of impending death the post (and …
-
comment
Comment #8976659
I'm not sure what the market is like in Cleveland, but in Columbus there is a great demand for web developers. I work out of a coworking place there with several freelance web deve…
-
comment
Comment #8448531
Use `goimports` as a save hook in your editor. It analyzes your code and inserts/removes import lines as needed. Other than the occasional need to fix up an ambiguous import that i…
-
comment
Comment #8366989
The DHCP attack vector is the one that is scariest to me. We know that dhclient on Linux is vulnerable, but the number of unpatched Linux machines on a public wifi network will lik…
- story
-
comment
Comment #8036224
It appears so. Probably worth filing a bug about this, but I suspect that something about mosh's terminal emulation filters out the VT100 command sequences tmux uses to perform the…
-
comment
Comment #8036193
The issue I've always had with the tmux integration is that it doesn't support multiple sessions simultaneously. I am typically moshed into several hosts and running tmux on each o…
-
comment
Comment #7662413
I posted a comment about this to the blog, but I released a tool which will generate type-specific source code from a generic definition. Code is at https://github.com/joeshaw/geng…
- story
-
comment
Comment #7466316
A colleague of mine recently wrote a post about automating an Nginx reverse proxy for Docker containers: http://jasonwilder.com/blog/2014/03/25/automated-nginx-rever...