Writing S3 Sync in GoLang

Writing S3 Sync in GoLang

One of the great challenges in software engineering is that you don’t know what the problem is until you’ve worked through it one. Sometimes this is the idea that you need to top down design a program which is a great start, but what’s interesting is when it comes to the language itself and what it makes easy and hard. My latest project was a making a Go version of the python s3cmd, there is now the golang s3-cli which supports…

Read More Read More

HTTP status for API Responses

HTTP status for API Responses

In designing an API it’s a challenge to understand when to use HTTP error responses and HTTP OK (200) responses. As with many organizations it’s something that can be subject to lots of passionate debate. Let’s look at a bunch of different scenarios. Let’s take an OAuth 2.0 API that looks something like this, with an assumed HTTP Authentication header.

Imaging responses look something like:

Where error is option if the ok boolean is False, otherwise there is…

Read More Read More

FizzBuzz of the day

FizzBuzz of the day

Like many pieces of code, there is always a story behind it. Your FizzBuzz solutions of the day – using operator precedence to get a result

Or on one line.

 

Skiing Tahoe

Skiing Tahoe

A friend asked me the other day about skiing in the Tahoe area. This was for him and his wife getting back into skiing after being out of it for a few years. Note: I will update this page, but for now I thought this table was really useful. Destination Resorts These are all resorts that are higher priced and have lots of acreage to choose from. They will have more village options for apres ski and lodging options at…

Read More Read More

Delivering Delight Requires Execution

Delivering Delight Requires Execution

I do like delight, I really do. I was wondering last night about why saved searches have sucked for so long. Got thinking about some slides I’m putting together about quality. Part of it is that “move fast and break things” is counter productive to where we need to be, we need to move fast, but letting people internalize “break things” is part of why I think we’ve not put the attention into resolving it (aka excellence). Maybe it’s —…

Read More Read More

ES6 and Angular + a little GoLang

ES6 and Angular + a little GoLang

This post really documents the checkpoint in my experiments with GoLang and Frontend development.  As some people might know that I’ve been playing around with application structure, languages and approaches for a while. My GoLang AngularJS and ES6 Todo App over at GitHub – it’s the reference for the rest of this post. File Layout Some quick to points, general directory structure:

One general note is that I haven’t found an idiomatic directory structure for GoLang application development.  IMHO “app”…

Read More Read More