A Go File Server With Custom Error Pages

While working on the book Go in Practice I found an annoying little problem in the Go built-in file server. The error pages, such as a 404 Not Found response, had no ability to be customized. What is does send are text, not HTML, with an error message in English.

If you're into web development than customizing these pages is needed. The customizations can be made to make the pages useful, to put hidden gems in them (for example, a video game), or simply to have the design match their site.

Continue Reading »


Glide In The Sea of Go Package Managers

Out of the box, Go provides just enough package management to make for a fast and efficient compiler. While it's not opinionated enough to drive anyone away, Go package management doesn't have the features to meet the needs of many developers. Especially for developers coming from PHP, Ruby, and node.js.

To add features, a number of developers have built package managers that sit on top of the core functionality. Since I'm working on glide I thought I do a light comparison to the others in this space. This is both to highlight where I think glide is strong and to share what's happening in this space.

Continue Reading »


Find Security Holes With A Threat Analysis

It seems that every week we hear about a new high profile hacking. For example, it just came out that numerous financial institutions, in addition to JPMorgan Chase, were hacked. We live in an incredibly accessible world where those on the other side of the globe can easily knock on our digital front doors or even try to pick the locks. So, how can we try to figure out where the weak points are in our security? How can we find the tasks to work on to beef up security? One option is to perform a threat analysis.

Continue Reading »


Security is a Feature

In our modern age, security is a feature. You can sell it. If you get caught without it your brand and your customers can be hurt. So, why are there so many insecure websites, web applications, and web services? If product managers and product owners had security in mind as a feature would we be in such a sad state of affairs?

Just look at the last short period of time. Social engineering and research were used to get into celebrity data, Home Depot became the latest major retailer in a long line to have credit and debit card information stolen, and HealthCare.gov was even breached. This isn't just for the large and visible. I'm aware of many small sites and applications who've been hacked.

Continue Reading »


Other Recent Posts: