Opinions On Opinionated Autoformatters

September 28, 2018

About three years ago, I was involved in the most heated argument I’ve experienced thus far in my career. I wish I could say it was about something important with long-term consequences, like a decision about which data store or framework to use. Nope. It was about code formatting. Specifically, the argument was about tabs vs spaces in a spectacle that was a little too similar to a scene from Silicon Valley.

Everyone I’ve worked with agrees that code should follow a consistent style. It’s easy to set up a linter that will fail your CI build when these styles aren’t being followed. But standard linters fail to accomplish two things that I’ve always viewed as necessary evils when programming with a team: deciding on styles, and following them.

My world was rocked when my team started using Prettier. Prettier is an opinionated code formatter. It automatically formats your code based on styles that the creators of the tool have decided upon.

... Read more

Auto-deploy blog to GitHub Pages with static site generator and CI

February 1, 2018

A couple weeks ago, I migrated my blog from Tumblr to a static site generator. (I ended up settling on Hugo, but my choice of tool is irrelevant for this post.) When it came to deployment, I decided to have the generated HTML live on GitHub Pages since it’s free, easy to set up, and my source code (content, theme, and configuration) were going to live there anyway.

The easiest way to accomplish this with minimal setup is just to have your site generator output your built site in a folder called /docs. Rebuild your site after any change you make, push to master, and you’re good to go.

This solution was fine at first, but it got a little annoying having to manually re-build my site and commit the output of that build on every change. Not to mention the fact that committing build artifacts to version control broke my heart a little. I wanted a way to keep only my source chances in my git history (with the build folder in .gitignore), and have the build and deployment process happen automatically when I pushed my source code to GitHub.

... Read more

Recipes I Like

November 14, 2013

I live with four other hungry college students. I've been cooking for them (and friends that occasionally join us) about once a week. Here are some of my favorite recipes, along with some of my personal notes.

... Read more

Television As A Shared Experience

September 30, 2013

This post might seem like it's about Breaking Bad, but it's really about television as an art form. There are no spoilers until the end where it's clearly marked, so most of this post is safe for anyone to read. I haven't felt this way in 6 years, 2 months, and 8 days. I remember the weeks leading up to July 21, 2007. All the theories. All the speculation. Who will live? ... Read more

A Recap Of My Summer Out West

September 21, 2013

I wrote this on a plane a couple days ago but forgot to post it until now. Enjoy! The greatest adventure of my life thus far has come to an end. And with nothing to do for a couple hours in an airplane on its way to Chicago, I'm going to attempt to distill the most amazing thirteen and a half weeks of my life into one blog post. Here we go… ... Read more

I Almost Dropped Out Of School

August 1, 2013

I just made the biggest decision of my life thus far. Sure, there are decisions I've made that seemed like big ones at the time. But they weren't. Where to go to college? That wasn't a decision. My dream school was the first one I got accepted into, so the choice was clear. What to study? There was only one career that I wanted to pursue at the time, so that wasn't much of a decision either. ... Read more

Goodbye

June 14, 2013

I don't think I've ever truly said goodbye before. Sure, I've said plenty of goodbyes in the past. But none like this. None of the others felt as real as this. Or as sudden. I guess the first time I had to say goodbye to people was right before going to college. Goodbye to all my high school friends. But that was more of a "see ya later" to anyone I really cared about. ... Read more

People

April 2, 2013

This is the broadest subject I could possibly write about. I’m not going to attempt to do it justice. Instead, I’m going to reflect on a very special night. This night wasn’t particularly memorable. Nothing spectacular happened. But it involved a lot of people, which is what made it special. Not any more special than countless other nights involving lots of people, but special nonetheless. It started after a week of near-isolation. ... Read more

The Feedback Bias

December 3, 2012

I know I’m not a fantastic writer. But if I actually paid attention to all the feedback I hear about my writing, I’d totally think I am. In an personal, informal setting, most feedback is crap. It’s heavily biased to be positive towards the receiver. Most people want to make others feel good about the work they do. While this isn’t a bad thing by any means, it’s definitely something to be aware of. ... Read more