Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hazbo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
hazbo
10y ago
Given that errors and error handling itself is a very normal thing to come across in most projects, would the abbreviated `err` not seem more familiar than defect or fault, to you?
62.
▲
by
hazbo
10y ago
Andrew Gerrand did a great talk a while back (I'll try to hunt it out) in which he talked about naming conventions. One of the things that stuck out for me, was when he said, if you're declaring a variable that is only going to be
63.
▲
by
hazbo
10y ago
Something I pretty much do and have heard from other Go people that they do this also, is to just keep all my projects in the GOPATH. Whether they be written in Go or not. It essentially gives you an organised structure based on git URLs, s
64.
▲
by
hazbo
10y ago
If package `github.com/foo/bar` imports a nested package, say, `github.com/foo/bar/baz`, this will break as it will be trying to look for said package in `$GOPATH/src/github.com/foo/bar/baz`
65.
▲
by
hazbo
10y ago
To answer 2) yes, you're correct. If there is a main package that exists at `github.com/your-username/hello`, a go get will leave the resulting binary in $GOPATH/bin.
66.
▲
by
hazbo
10y ago
I haven't tried that before but that could be a good idea. I just hope my accent doesn't make it too obvious!
67.
▲
by
hazbo
10y ago
I made an effort to learn Dutch for around 6 months of last year. Although it's a well known as a language, it's only spoken natively by around 20 million(ish), so isn't massively useful outside of the Netherlands and Belgium
68.
▲
by
hazbo
10y ago
You make a fair point. I've seen this happen before and after a while, projects that have essentially turned into a poor framework, plus the application, can become somewhat of a pain to maintain. PHP has come a long way in the past fe
69.
▲
Kubernetes the Hard Way
(github.com)
6 points
by
hazbo
10y ago
|
1 comments
70.
▲
Show HN: The Super Tiny Compiler, in Go
(github.com)
6 points
by
hazbo
11y ago
|
0 comments
71.
▲
by
hazbo
11y ago
This has inspired me to quickly knock up a Dockerfile for fans of Alpine based containers, if anyone is interested. https://github.com/hazbo/phoenix-docker-alpine
72.
▲
'I'd Been Brainwashed' – The North Korean Defector Living in London
(news.vice.com)
1 points
by
hazbo
11y ago
|
0 comments
73.
▲
Kubernetes in My Own Words
(github.com)
14 points
by
hazbo
11y ago
|
0 comments
74.
▲
by
hazbo
11y ago
Much better on the iPhone 6. Don't bail.
75.
▲
Connection multiplexer for Go
(github.com)
2 points
by
hazbo
11y ago
|
1 comments
76.
▲
How to Write a Git Commit Message (2014)
(chris.beams.io)
12 points
by
hazbo
11y ago
|
2 comments
77.
▲
Volatile – Web framework written in Go
(volatile.whitedevops.com)
2 points
by
hazbo
11y ago
|
0 comments
78.
▲
P5.js
(p5js.org)
3 points
by
hazbo
11y ago
|
0 comments
79.
▲
A World of Belonging on Airbnb
(airbnb.co.uk)
1 points
by
hazbo
11y ago
|
0 comments
80.
▲
Google Hiring an SEO Program Manager
(google.com)
33 points
by
hazbo
11y ago
|
10 comments
81.
▲
Research at Google
(research.google.com)
2 points
by
hazbo
11y ago
|
0 comments
82.
▲
Learn regular expressions with simple, interactive examples
(regexone.com)
2 points
by
hazbo
11y ago
|
0 comments
83.
▲
A Simple Golang Network Library
(github.com)
2 points
by
hazbo
12y ago
|
0 comments
84.
▲
Show HN: Asink - A Concurrent Task Runner in Go
(github.com)
5 points
by
hazbo
12y ago
|
0 comments
85.
▲
One year of Blink and Webkit
(browserg.nom.es)
2 points
by
hazbo
12y ago
|
0 comments