Blog


Clippy's "cast_lossless" Lint Warning

Recently, I was trying out clippy — a linting and static analysis tool for Rust, when I ran into a lint warning that wasn’t immediately clear to me: warning: casting u8 to u16 may become silently lossy if types change.

»

Tweaks to Improve your Twitter Usage

Over the past few months, I’ve put some thought into tweaking my Twitter usage to better align it with how I’d like to use social media. I’ve never felt particularly “addicted” to or maligned by Twitter. However, left unchecked, it can easily become a time sync that leaves you in a sour mood.

»

Inertia and When to Break a Habit

On a recent episode of Under the Radar, David Smith said something that hit on an idea I’ve been thinking about recently:

“Inertia is a dangerous thing … It’s hard to start something, and then sometimes it’s easy to just keep going”

»

Switching from Jekyll to Hugo

I recently went through the process of switching my blog’s static site generator from Jekyll to Hugo. Both are great tools, but as I’ve updated my website over time, I began to feel constrained by Jekyll — and wanted to switch to something more stable and robust.

»

Introducing Corral: A Serverless MapReduce Framework

This post gives a technical overview and architectural justification for my latest project, corral — a serverless MapReduce framework.

»

Counting Scanned Bytes in Go

For a recent project, I needed to read data from a specific chunk of a file. The data was a sequence of serialized records, so I used a bufio Scanner for splitting. Scanners are great, but they obscure the exact number of bytes read. In working through the problem, I found a solution that worked quite nicely.

»

Python Idioms in Rust

I’ve been going through a period of programming language wanderlust over the past couple months. Recently, I’ve been quite interested in Rust. Coming from Python, I’ve found a lot of Rust’s language features to be quite powerful.

»

Scraping the Web in Golang with Colly and Goquery

If told to write a web crawler, the tools at the top of my mind would be Python based: BeautifulSoup or Scrapy. However, the ecosystem for writing web scrapers and crawlers in Go is quite robust. In particular, Colly and Goquery are extremely powerful tools that afford a similar amount of expressiveness and flexibility to their Python-based counterparts.

»

MapReduce on Python is better with MRJob and EMR

Yelp’s MRJob is a fantastic way of interfacing with Hadoop MapReduce in Python. It has built-in support for many options of running Hadoop jobs — AWS’s EMR, GCP’s Dataproc, local execution, and normal Hadoop.

»

25 Days of using Golang

During the month of December, I used the daily Advent of Code puzzles to teach myself Go.

»

Page: 1 of 5