Hacker News new | past | comments | ask | show | jobs | submit login
Hacking with Andrew and Brad: an HTTP/2 client in Go [video] (youtube.com)
153 points by kid0m4n on Feb 26, 2015 | hide | past | favorite | 29 comments



Amazing! Just the presentation style alone, pair programming, talking to the camera and explaining their thought process, dual computers. Wow, this is pretty slick! It is like having a mentor right there.


Glad you liked it! We enjoy making them.


Please keep them coming. Will watch every single one, multiple times! Loved hearing your thought process and confidence with what was being typed. Now when I code I pretend I'm talking to either of you. It's not weird, right?


Not to take away from the awesome videos now, but I'm a bit sad we won't see anything like this from the LiveJournal/memcached/Danga era - that would have been great watching, I suspect, from my memory of yours and whitaker's posts :-D


Could I suggest also recording an episode when you actually gear up to merge this into master?


We committed it straight to master after we finished the video. The code has been worked on quite a bit since.


I was referring to something which Brad mentioned at the start of the video. About making this client reuse an underlying connection for multiple requests.


Please make more of them.


These are great. It's very valuable to see how you guys approach problems in Go, given that you're among the two most experienced users. Really hope you guys keep doing them.


Really interesting to watch, thanks for doing this.

Anyone else really impressed by their development speed? I've not used Go and following someone else in an editor can be difficult, but it took me some effort to keep up: you guys never slowed down for nearly two hours!

Did you ever find out why ip.appspot.com yielded "Bad Request"?


TL;DR: Sending both `Host` and `:authority` headers is apparently against the spec.

Some discussion on /r/golang : https://www.reddit.com/r/golang/comments/2x626t/hacking_with...


I commented something similar on the first installment of this, but again, in general, regardless of language or content, it's always nice to watch/listen to people pair up on something and compare it to how I work (either alone or with someone else).


Loving this video so far - showed it to my wife and described it to her as "check out this video... two dudes sitting on a couch programming, but they are really smart dudes tackling tough problems so it's fascinating", needless to say, she was amused.

This reminds me of Peepcode's play by play, but they're building real things.


Go is such an elegant and compact language.


Slightly off-topic, but the use of 'an' as the indefinite article in the phrase 'an HTTP' always seems really weird to my brain.

In Ireland we seem to learn a less "rounded" version of the letter H when we learn the alphabet - I assume this comes from Irish language pronunciation. It sounds much more like "hay-ch" than "aych", really emphasising that initial 'h'.

So, thinking about it, I guess 'a HTTP' probably sounds pretty weird to every other native English speaker in the world :)

Anyone else out there prefer 'a HTTP' over 'an HTTP'?

Back on topic: I really enjoyed the last two hacking sessions, it's really edifying to see the process. More please!


You're in the minority with your pronouncation of 'h', but are far from alone: http://en.wikipedia.org/wiki/H#Name_in_English


Thanks! Fascinating. Good to know I am not alone :)


Would love to see this being done in other languages!


Go really simple and elegant language! Good video.


This is wonderful, and as a side effect clearly shows that emacs is much better than vim.


Well, it was Brad's machine, so my vim environment wasn't set up as it is normally. Not really a fair comparison. :-)


Can I modify my comment to say that this presentation changed my mind about Vim because it shows it can coexist with Emacs?


Phew! I thought Acme had ruined you and you were all about that no-syntax highlighting.

What did you use to switch between emacs and vim? It seemed like a quick hot-key.


> and you were all about that no-syntax highlighting

He is. He usually does not use syntax highlighting: https://twitter.com/enneff/status/571067872291594240


We were using a shared screen session (you can re-attach to a session with the -x flag), and we had the same files open in both vim and emacs. I was recording my laptop screen and would switch back and forth between my Vim session and Brad's Emacs session. It worked surprisingly well.


Oh, I thought it looked a little plain. ;)


brad has a fairly light-weight go setup for emacs. from what i can tell, he just has gofmt run on save and the go import plugin that reads his code and adds/removes import statements appropriately.

mine includes auto-complete (that is conscious of the AST) and linting/error checking. i suspect brad has jump-to-definition and the other stuff that comes with the go emacs mode, but he doesn't use it.


This was awesome. Do more please.


This was fun to watch. Thanks, fyi video card is full at 1:42




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: