A better blog

I used to think that the most hardcore engineers had blogs that were mostly text, with the content being the main focus. Just look at the personal site of Bjarne Stroustrup, the creator of C++, and you’ll see what I mean.

Setting Up a Static Site Using AWS

This is a generic guide to setting up a static site using AWS.

How I set up my arch machine to use it as a node server

First up, I installed ufw, a firewall that is supposed to be easy to use- the name literally means “Uncomplicated FireWall”. Here are the commands I ran to get ufw set up:

Conway's Game of Life

My Freshman year I started writing a python script to play Conway’s game of life. The game was created by British mathematician John Conway as a simple way to simulate life. The playing field is a grid of squares, where each square either holds a live cell or a dead one. The basic rules (taken from the wiki article) are as follows:

Counting instructions with Intel's PIN tool

In 6.823, my computer architecture class we’re using PIN, which is a program made by Intel that lets you insert your own instructions into a target executable.

Clearing the CMOS memory on Lenovo U410

So today I tried to turn on the Optimus Nvidia graphics card on my u410. I went into the BIOS and changed the setting, then exited saving changes. It gets a bit fuzzy after that. The laptop turned off and didn’t come back up- just a black screen whenever I turned it on or tried to go into the BIOS through the side button. I looked at it wondering if I’d just bricked my laptop.