RSSAmplifier

Blog

joe shaw

joeshaw.orgRSS feed ↗14 posts

Latest posts

Error handling in Go HTTP applications

A scheme for consistent and safe HTTP API errors

Abusing go:linkname to customize TLS 1.3 cipher suites

Don't do this.

Understanding Go panic output

Decoding all those hex values

Testing with os/exec and TestMain

One weird trick to make cleaner tests with os/exec

Don't defer Close() on writable files

It'll bite you some day

Revisiting context and http.Handler for Go 1.7

I forget what I was told by myself

Smaller Docker containers for Go apps

Reducing image sizes by more than 90%

Go's net/context and http.Handler

Two great tastes that taste great together

Contributing to GitHub projects

A beginner's guide to pull requests

Terrible Vagrant/Virtualbox performance on Mac OS X

One weird trick to speed up your virtual machines

Linux input ecosystem

A tour of the kernel, udev, and Xorg

AVCHD to MP4/H.264/AAC conversion

It is surprisingly tricky

Real-time MBTA bus location + Google Maps mashup

This weekend I read that the MBTA and Massachusetts Department of Transportation had released a trial real-time data feed for the positioning of vehicles on five of its bus routes. This is very important data to have, and while obviously everyone would like to see more routes added, it’s a start. I decided to hack together a mashup of this data with Google Maps, to see how easy it would be.…

Python daemon threads considered harmful

Update April 2015 : Reading it again years later, I regret the tone of this post. I was frustrated at the time and it comes across now as just smarmy. Still, I stand by the principal idea: that you should avoid Python’s daemon threads if you can. Update June 2015 : This is Python bug 1856 . It was fixed in Python 3.2.1 and 3.3, but the fix was never backported to 2.x. (An attempt to backport…