-
Udacity CS-212
Oct 29, 2013Peter Norvig is a big name in computer programming. I stumbled across some of his code and was struck by how he could often accomplish in 4 lines of code things that might take me pages.
A bit more searching led me to a course taught by Peter on Udacity Design of Computer Programs
There were a number of places where I was absolutely blown away. Almost always it was a case of me over-engineering the problem (usually with unneccesary OOP) where his simple data types and list comprehensions nailed it.
-
Taking Stock
Oct 28, 2013As I’ve given this blog a little refresh, it’s caused me to look back on what I’ve written so far and think about what I want to write in the future. My first reaction was embarrassment at some of... -
Playing With OpenResty
Oct 28, 2013OpenResty is a bit of an enigma. I first heard about the project a few months back when reading about some benchmarks of various web application platforms. OpenResty was WAY ahead of all the others... -
New Layout
Oct 27, 2013 -
Event Driven Programming
May 11, 2013I haven’t been doing a lot of JavaScript lately, but every time I do i try to explore the idea of doing everything event driven. “I want the world to be made of hooks” -Andrew Plotkin This quote... -
Spamming the Internet
May 03, 2013When Google announced that Reader was to be no more, I, like many other geeks took things into my own hands. I was, until recently, a daily user of Reader. There are only a handful of RSS feeds that... -
Writing Is Hard
Apr 27, 2013…for a number of reasons. One reason, which is often addressed, is the challenge of effectively communicating your ideas. This is partly technical, but has more to do with how effectively you communicate... -
Prose, Github and S3
Apr 25, 2013In an effort to make the static site workflow a little less manual, I’ve created a little web-service to automate things a bit. Here’s how it works:
- Edit posts/pages/layouts etc with prose.io
- Github web-hook hits my service, triggering a build.
The build stage looks like this:
- git pull (or clone if need be)
- make
- s3cmd sync
Setting up the server was a bit difficult for a couple of reasons. My blog is pretty straightforward, but it did need a number of things installed on the server for a successful build: make, jekyll, uglifyjs, recess, pygments and s3cmd. Also, this all had to be run as the www-data user, which had a pretty minimal environment.
So far, it’s awesome. Editing and publishing my blog as a static site on S3 is now completely automated. Code coming soon on github…
-
The Software Developers Home Lab
Feb 06, 2013This post caught my eye: Why you need a home lab to keep your job. Your boss won’t pay for training, so your partner has to put up with servers at home What intrigued me, as a web developer, was not...