jq – a lightweight and flexible command-line JSON processor

July 17, 2017 Leave a comment

jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.

jq is written in portable C, and it has zero runtime dependencies. You can download a single binary, scp it to a far away machine of the same type, and expect it to work.

jq can mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you’d expect.


Categories: Interesting Tags: , ,

This cell phone can make calls even without a battery

July 6, 2017 Leave a comment

“HELLO, HELLO. I am calling from a battery-free phone.” Vamsi Talla’s words in a cluttered lab at the University of Washington in Seattle are barely audible through pops and static. But the fact they can be heard at all, on a nearby Android smartphone, is revolutionary, because Talla’s own cell phone has no battery at all. It draws what little power it needs from thin air.
The prototype cell phone is the culmination of a years-long quest by Talla, a research associate at the lab of Joshua Smith, who researches computer science and electrical engineering at UW. “If you had to pick one device to make battery-free, what would you pick,” asks Smith. “A cell phone is one of the most useful objects there is. Now imagine if your battery ran out and you could still send texts and make calls.”


Categories: Interesting


May 24, 2017 Leave a comment

I needed to have a local SNS/SQS setup for testing. GoAWS worked for me.


Written in Go this is a clone of the AWS SQS/SNS systems. This system is designed to emulate SQS and SNS in a local environment so developers can test their interfaces without having to connect the the AWS Cloud and possibly incurring the expense, or even worse actually write to production topics/queues by mistake. If you see any problems or would like to see a new feature, please open an issue here in github. As well, I will logon to Gitter so we can discuss your deployment issues or the weather.

Categories: Interesting Tags: , ,


May 23, 2017 Leave a comment


Given a version number MAJOR.MINOR.PATCH, increment the:

1. MAJOR version when you make incompatible API changes,
2. MINOR version when you add functionality in a backwards-compatible manner, and
3. PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.


Categories: Interesting

Preemptive commit comments

May 19, 2017 Leave a comment

Arialdo Martini

tl;dr version

Rule #1: write commit comments before coding
Rule #2: write what the software should be supposed to do, not what you did

View original post 1,589 more words

Categories: Interesting

Why Amazon is eating the world

May 17, 2017 Leave a comment

I co-founded a software startup in December. Each month, I send out an update to our investors to keep them updated on our progress. But the past month was a bit different — our industry (retail) is going through a transformation.

Instead of just writing about our “internal” news, I wrote about the impending apocalypse in the broader world of retail. More specifically, I included some thoughts on Amazon and why their commanding lead is only going to get larger. Amazon is the most impressive company on earth, and I think it is one of the least understood. A few people suggested that I post this publicly, so here goes.


Categories: Interesting Tags:

Multiple Vagrant VMs in One Vagrantfile

May 13, 2017 Leave a comment

One of the things I love about Vagrant is how it allows you to quickly create a VM that is very close to your production environment (or better yet EXACTLY like it). We’re starting to work on scaling STAGES from a single server to multiple servers so I’m using Vagrant as the test bed for this process. Because of this we need to work with multiple VMs in the same Vagrant file which isn’t covered by most tutorials.


Categories: Interesting, vagrant