Handling 404 errors with Octopress

in   Code   , ,

Building a blog with Octopress can be a bit of a hassle at times. Having converted from Wordpress, I miss the “Page not found” error that Wordpress provides when you get a request for an invalid URL. Thankfully, with Apache, htaccess and a touch of code, you can create your own 404 page.

Read more →

Semantic Versioning

in   Code   ,

Version numbering is a field on which you could talk for hours on end and still not make any sense out of it. Take package managers for instance; you have a package foo, that depends on package bar - now if it was as simple as that, we’d have no problems. It’s more likely that you’d wind up with version x of foo depending on version y of bar, which in turn depends on version z of baz. So far, so good. Now, let’s update baz to version z1 - OOPS! There are some changes to version z1 that break version y of bar, which means we need to revert to version z.

Read more →

Stardates

in   Code   , ,

Stardates are common usage in the Star Trek universe. You’d easily hear Captain Picard talking in the intro scene, “Captain’s log, stardate 41325.9”. These combinations of numbers are meant to give the viewer a sense of the future, without explicitly stating the exact timeframe in which the show occurs. Of course, we know that Star Trek: The Next Generation is set in the 24th century, but that’s beside the point.

Read more →

Macaroni Salad

in   Recipes   ,

This salad works great as a side dish and is super easy to make. Sliced onions, chopped tomatoes and a balsamic vinaigrette give this salad an incredible flavour and texture.

Read more →

Carrot & Celery Soup

in   Recipes   ,

A few months back, I was on a soup fix – making myself all kinds of soups. Not only is it super simple to make, but it is quite filling and works well when you don’t want to make a traditional meal. Toast a couple of slices of bread and you have yourself a quick dinner.

Read more →