Welcome
2012 Hardware Line-up
Posted on , 3 comments, Tagged: hardware, thoughts
This time last year I posted my hardware line-up for 2011. Now we're here again at the start of 2012 I thought I'd do the same thing again. In many respects, things are not very different. However there are some changes and additions which are worth mentioning.
DHCP and Dynamic DNS
Posted on , 1 comment, Tagged: dhcp, dns, linux, server, ubuntu
My network at home up until recently has centred entirely around a cheap ADSL router from O2. This is fine, but I decided to move the DHCP duty over to my little home server. As part of this, I thought it would be nice for it to also handle DNS, and dynamically assign DNS names to the machines it learns about through DHCP requests.
Adventures with Message Brokers: MQTT and AMQP
Posted on , 0 comments, Tagged: energy-usage, messaging, queue, ruby
JSON and Dates/Times
Posted on , 1 comment, Tagged: javascript, json, mongodb
Lately I've noticed that JSON and dates/times do not go together well. JSON allows integers, fractional numbers, strings, arrays and so on, but no way to natively specify a point in time. It turns out this relatively minor-sounding point can cause a fair bit more pain than it probably should.
Uncountable Nouns in Rails 3 Resource Routing
Posted on , 4 comments, Tagged: rails, ruby
Yesterday I was puzzling over how to deal with the situation in Rails 3 where a resource name is an uncountable noun. It turns out Rails actually deals with this quite elegantly, but it seems not to be widely known - certainly I had an hour of headaches until I stumbled upon the answer. Hopefully this post will stop anyone else having that same headache.
Monitoring My Energy Usage (Part 4)
Posted on , 1 comment, Tagged: energy-usage, hardware, server
The first three parts of this series talk about the hardware and software I have set up in order to capture my energy usage. Of course, it's a good fun (and somewhat geeky) project but ultimately the aim is to help me save energy. So now it's been up and running a little while, it has yielded results which have taken a slightly unexpected turn.