Convert JSON to dot notation with Python

There are many use cases for converting JSON to a dot notation. For example, my current company used Hue to query our log data. Our logs are stored in JSON, and Hue queries expect a dot notation. For example, this JSON file Will look like this, when converted to dot notation: Note, I am starting … Read more

Bitcoin Energy Waste in 2017 is Estimated to Equal 1.5 Million Cars

Bitcoin Energy Consumption Index is an attempt to estimates total energy cost of mining Bitcoin. Their methodology is based on the fact that energy needed to mine Bitcoin will increase in response to oversupply of mining resources. To quote the Bitcoin Wikipedia article: Every 2,016 blocks (approximately 14 days at roughly 10 min per block), … Read more

Parsing “Ask HN: Who is hiring?” with Python and Hacker News API

Have you heard of Hacker News? It’s a great mini social network dedicated to all things tech. Once a month they post a thread called “Ask HN: Who is hiring?”, where anyone can list their job openings. With hundreds of comments it quickly gets overwhelming. Turns out it’s very easy to get the same data … Read more

Free Tools for Front End Web Developers

Bellow is a list of tools that I find helpful as a web developer. Mozilla Developer Network Mozilla Developer Network – MDN is a great HTML/CSS/JavaScript reference. It is sponsored by Mozilla a non-profit behind Firefox, but anyone is welcome to contribute the content. W3schools – Beginner friendly tutorial site. I learned my first HTML, … Read more

Death by Redesign

What does 1 + 2 + 3 equal to? It was 6, not anymore. Apple released its new operating system (iOS 11) for iPhone on September 19, 2017. One of the updates was a redesigned calculator app. Mid October, a post titled “Try quickly typing 1 + 2 + 3 into the iOS 11 Calculator. … Read more

5 Rules to Cope with a Bad Tech Job

Background Few years ago I found myself in a bad situation. I accepted a job that was not a good fit. After sixth months I hated my job and was ready to quit. At the same time my wife and I just found out that we were expecting our second child. She asked me to … Read more

Drama with Visual Studio Code Icon

Two weeks ago Microsoft released a new version of Visual Studio Code (VSCode) which updated their default icon from a blue infinity sign, to something that looks a little strange and very orange. Most people who do not use VSCode will probably fail to see what the big deal is. If anything, it looks much … Read more