Blog


Generative Doodling

One of the most interesting rabbit holes to fall down on Twitter is #plottertwitter. Under this hashtag, you’ll see a variety of computer-generated artwork and videos of plotting machines that sound like they’re being controlled by ancient floppy drive motors.

»

iOS Shortcuts for Data Capture

iOS Shortcuts is one of my favorite additions to iOS in its past several iterations. I used its predecessor, Workflow, for a while, but I didn’t invest too heavily in it because there was a nagging feeling in the back of my head that Apple would kill it at some point. However, they did the opposite!

»

Getting Started with Golang Google Cloud Functions

As of January 16, 2019, GCP’s Cloud Functions now natively support Golang! This post will briefly cover why this is a big deal and how one can begin to use Go in their cloud functions.

»

2018 in Review

2018 was a wild year. A lot happened. I lived in 4 different cities over the course of the year, worked 2 internships, and did a few weeks of traveling. It was a hectic year, but also one of the best in recent memory.

»

My Favorite Books of 2018

I attempted to read more books in 2018 – and it paid off! I read several enjoyable books this year. Here were my favorites.

»

Toward Using the iPad Pro for Development

I’ve been following a number of people that use iPad Pros for “real work”. I’m going on vacation for a couple weeks to Europe and I wanted to leave my laptop at home. That being said, I still wanted a “lifeline” computing device so that I could do some light writing or SSH into a server if necessary.

»

Brief Reactions to React Hooks

At ReactConf 2018, the React team introduced a new set of APIs called “Hooks” that allow you to write large swaths of traditional class-based React components as functional components.

»

Wordscapes

Every once-in-a-while a game really sucks me in. Over my vacation in August, I got hooked on ‎Wordscapes — a simple word game where you have to generate valid words from a bag of letters you’re provided to fill in a crossword puzzle. After a few hours playing this, I naturally began to wonder if there is an efficient algorithmic solution to this game.

»

Live Refreshing Cargo Docs

rustdoc is a great tool, but as of now there isn’t an official way to have its generated docs refresh as you make edits. Running cargo doc with the --open argument will open the generated docs in browser window. If you make changes to your source code, you’ll need to re-run cargo doc to have the changes reflected in your browser. By chaining together a few other Rust tools, we can pretty easily get the functionality of live-reloading docs.

»

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.

»

Page: 1 of 6