Latest Posts

Adding a CDN and HTTPS

I was on this site the other day, and was curious to see how fast the site loaded on a regular 3G network. I first did some research on perf tools, but decided it was easier to get the metrics I wanted through WebPageTest. I ran a “Simple Test” simulating a mobile device on “Regular 3G” network: While 1.6s isn’t exactly bad, a faster load time leads to a much better user experience. Read more...

Virt Manager: Where is VM machine state saved?

I’ve been using Virt-manager to manage my VMs, and found it to be simple to use so far. One useful functionality from using VMs is the ability to save the state of the guest machine. This allows us to quickly resume running a machine, without going through the hassle of shutdown and startup. Unfortunately, because of a lack of foresight, I’ve partitioned a meager amount of disk space on my host machine. Read more...

Minimal Ubuntu and i3 Setup

Here are notes I wrote down for setting up a minimal Ubuntu installation on a laptop, with i3 as the tiling window manager. Why Ubuntu? There are a plethora of linux distributions. Initially I wanted to use Debian because of its stability. The primarily purpose of this installation is to act as a host OS for multiple guest VMs. However, I decided to go with Ubuntu because of the vast community support and resources available online. Read more...

Towards a Cleaner, Leaner Website

I found some time in the past few weeks to work on my website, and am excited to finally get this up. After reading a lot of resources about page bloat such as this and that, I wanted to reduce the heavy bloat in my current website. I decided its easier to just build a new site than to remove old code. Here are a few of the goals I wanted to achieve: Read more...

Simple Static Server with Elixir and Plug

Similar to Rack in Ruby, Plug seems to be the de-facto generic adapter for web servers in Elixir. Here’s are simple steps to get a simple static server running. First let’s create a mix project: > mix new server > cd server We can use some default Plug modules to help us with serving files, namely Plug.Router and Plug.Static. First lets add in the dependencies in mix.exs: defp deps do [{:cowboy, "~> 1. Read more...