Let's Write a Simple JPEG Library, Part-I: The Basics

A few weeks ago I started a small side project - implementing the JPEG specification. Though naive, my attempt was surprisingly fruitful and I managed to get a simple decoder working! But it wasn’t easy; I had to read through the serious & technical specification of JPEG and spent many hours debugging stuff. Which is why I decided to document what I did so that if someone like me ever decides to implement JPEG, they have nothing to worry about! :sunglasses: (That is, imagining that someone even visits this blog). Also, this blog was kinda dead and bare, so I guess I needed more content anyway.

Read more ...

Setup Your Personal Site From Scratch Using Linux, Apache And Jekyll

Like I promised in my last post , this is going to be a comprehensive tutorial to get your site up and running on a VPS. It is assumed that you already have root access to a VPS running Linux ready and also have registered www.example.com. If you haven’t and want to, check out DigitalOcean for cheap a VPS and NameCheap for a domain.

And to go lashing out our linux-fu, please make sure you know the basics of some command line plaintext editor such as vi, emacs, nano, etc :smile:

Read more ...

Migrating Fleptic to a VPS

In one line, the GitHub Student Developer Pack is awesome! Among the many fabulous things it includes, I got $50 worth of DigitalOcean credits, which is what I’ve decided to use in the coming months to host Fleptic.

Currently Fleptic is being hosted on a DigitalOcean droplet (their fancy term for VPS) with 512MB RAM, 1 CPU core and 20GB harddisk space, running Fedora 24 x86_64. Apache is running the webserver and Jekyll is generating static webpages that I push using git.

Read more ...