Transcribing Speech to Text with Python and Google Cloud Speech API

This tutorial will walk through using Google Cloud Speech API to transcribe a large audio file. All code and sample files can be found in speech-to-text GitHub repo. Transcribe large audio files using Python & our Cloud Speech API. @akras14 shows how https://t.co/dY56lmE0TD — Google Cloud (@googlecloud) January 11, 2018 View Post Sample Results This … Read more

Do NOT Share Your Google Photos

All shared Google Photos are open to the public, even if they were only shared with specific people. This is different from Google Drive, where only people granted permission via the “Share with others” drop-down are able to view the content. Below is a screenshot of my private album (that I shared with one person) … Read more

How to read CSV file in Python

TLDR; Using pandas (pip install pandas) Using native csv.DictReader Reading as a List Let’s say we have the following CSV file, named actors.csv. You can download this file here. The first method demonstrated in Python docs would read the file as follows: Open the file Create a CSV reader Skip first line (header) For every line (row) in … Read more

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