HNHacker News
TopNewBestAskShowJobs

garfij

101 karma · joined October 2, 2012

submissionscomments
garfij··on How AeroPress Fans Are Hacking Their Way to a Better Cup of Coffee
Everyone talks a lot about the inverted method, but I feel like you get the same controlled steep time by easing the plunger in a little and then pulling back out a little to create negative pressure inside tube.
garfij··on I Can’t Write My Name in Unicode
This has been a fascinating back and forth. Thank you for taking the time to have a comprehensive discussion.
garfij··on The Go Programming Language by Brian W. Kernighan, Alan Donovan
Specifically to be utterly pedantic: Go has algebraic types. It has both Product types (structs) and unbounded Sum types (interfaces). What you're looking for is bounded Sum types with extra language support such that when you use them, it checks that you've covered all cases.
garfij··on Testing HTTP caching in Go
Yes, that along with dealing with Last-Modified, If-Not-Modified, ETag, and other similar HTTP Headers is what is meant by HTTP Caching.

From what I can tell Varnish uses these same concepts to do what they do (caching HTTP reverse proxy).

See

* https://tools.ietf.org/html/rfc7234#section-1

* http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

* https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching_FA...

garfij··on JSON, interfaces, and go generate
I dunno, seems like clicking on the next slide, or the edges of the current slide works just fine for navigation as far as mouse controls goes, and swiping is also working fairly well on my mobile devices, though I can't claim to have tested all possible mobile devices, so your mileage may vary.
garfij··on A New Software Engineering
My impression has been that the people in the LISP community would be happy to tell you about how their model has been fairly consistent over the past several decades and that a lot of the 'new advancements' we're seeing all the time have been available in LISP for that whole time. And, funnily enough, one of the most highly recommended projects in LISP is making your own!

I don't get to deal with LISP anywhere enough to substantiate these claims from actual experience, but that is the impression I have gotten from hanging around places like this.

garfij··on Underscore.go
Neat. I like that you can add your own type specific functions.

I was interested in seeing the implementation of the Parallel Map, but on a quick browser through the source, could not find it.

If you're interested in other works in the same space, I think think the the Gen library (http://clipperhouse.github.io/gen/) goes a long way towards providing type-safe, idiomatic, Go code to achieve the same effects.

garfij··on HTTP 402 – Payment Required
I think a 402 with a typed "Link" response header field of "payment" (per http://tools.ietf.org/html/rfc5988) would probably be the most appropriate no?
garfij··on TechCrunch covered Vic Gundotra's departure badly
You could also argue it's the difference between "dogmatic adherence" and "strategic application". At this point G+ is already integrated into all the major components of their platform. While I agree this is a good move, I don't necessarily see it as a step down. Requiring all new products to immediately integrate could be a major speed bump in development, so I can see how if G+ is not truly needed in the product, that it makes sense to allow for not requiring it.
garfij··on Why Go is elegant and makes my code elegant
In what ways is testing an error code with an if statement more manual than catching an exception with a try/catch?
garfij··on Why Go is elegant and makes my code elegant
Sometimes I wish debugging worked on Windows, but generally speaking I've found Go makes unit testing natural enough that it's not a big deal.
garfij··on Why Did Symbolics Fail? (2009)
Thank you.
garfij··on America Online to Buy Internet Chat Service for $287 Million (1998)
noob. 3110674
garfij··on Kindle MatchBook
I'm a hardcore "real book" lover, but the Paperwhite is definitely as good as they make it look. I leave it on the lowest backlight setting available and it works fantastic in all lighting situations.
garfij··on How to use checklists effectively in your tech company
I am plagued by the exact opposite of this. I hate providing step-by-step checklist/step-by-step guides that can follow multiple paths, yet am surrounded by people who are constantly asking for them so they can avoid needing to learn about how things actually work
garfij··on Go 1.1 RC2 is out
Picking what language to use based on your database seems silly.
garfij··on Fallback from CDN to local jQuery
No, protocol-relative is the way to go.
garfij··on What Python developers need to know before migrating to Go
By viewing the Google web cache of it.
garfij··on The simple function call
It bears mentioning that the comments at the end of the article are worth the read.
← PreviousPage 3 of 3