A
Alan Shreve
inconshreveable.com · Personal blog · on HN since 2013
Alan Shreve, creator of ngrok, writes about Go API design, software architecture, packaging, and running a developer tools company.
What HN saysHN links it for Go and ngrok-related posts, such as cross-compiling Go with native libraries; commenters give no direct opinion of the blog.
21HN people shared it
3linked it in comments
22stories submitted
676story points
4 years agolast shared
2013people per year2026
Most-shared posts
- 1The Neomonolith5 people · 26 points · first shared 2015 · 7 comments on HN
- 2Sweat the small stuff4 people · 99 points · first shared 2014 · 20 comments on HN
- 3Principles of designing Go APIs with channels4 people · 10 points · first shared 2014 · 1 comments on HN
- 4Writing code doesn't mix well with oration3 people · 313 points · first shared 2015 · 88 comments on HN
- 5Combatting illegal abuses of ngrok2 people · 145 points · first shared 2014 · 59 comments on HN
- 6Code at 30,000 feet2 people · 9 points · first shared 2013 · 5 comments on HN
- 7Launching Equinox and the importance of software packaging2 people · 2 points · first shared 2016 · discussion on HN
- 8ngrok tunnels: better, faster, stronger1 people · 72 points · first shared 2013 · 9 comments on HN
- 9Cross compiling golang programs with native libraries1 people · first shared 2014
- 10Talks1 people · first shared 2014
What HN people wrote when they linked it
jaymzcampbell · 2017-04-19
>Different environments for different people, I guess
Absolutely! I seem to get the most work done and the best "flow" when I'm sat on a train (the Metropolitan underground line in particular). I believe this is partly down to the complete lack of distractions and inability to do much else but sit and work.
Alan Shreve summed it up perfectly for me: https://inconshreveable.com/10-17-2013/code-at-30000-feet/
If it was feasible I would spend the entire working day going back and forward along the length of the line.
disputin · 2014-12-02
Not sure it's a bug, may be "a well-known limitation" (unknown to me) - https://inconshreveable.com/04-30-2014/cross-compiling-golang-programs…
Have a Go:
package main
import (
"fmt"
"net"
"os"
)
func main() {
hostname := "feeds.feedburner.com"
if len(os.Args) > 1 {
hostname = os.Args[1]
}
addr, err := net.LookupHost(hostname)
if err != nil {
fmt.Printf("err: %v", err.Error())
} else {
fmt.Printf("addr: %v", addr)
}
}
set GOOS=linux
set GOARCH=amd64
set CGO_ENABLED=0
hox · 2014-02-06
Interestingly enough, Alan Shreve gave a talk at RedisConf a couple of years back detailing something very similar used on the twilio stack to rate limit draining a queue: https://inconshreveable.com/talks.html