C25K – Week 8 Day 1

I completed C25K Week 8 Day 1 (4.44 km), in 24:11, pace 05:26 min/km, with @RunDouble http://rndb.co/u5iq

First successful run in a long while – and work hasn’t exactly helped matters. My overall fitness has therefore been diminished somewhat.

Week 8 is a toughie. 4.4km. I reverted back to an old 5km running route, but still dropped down to a walk a few times. Going run run Week 8 several times before moving on.

Nike+ Track

Building Docker.io on 32-bit arch

NOTE: Automated 32-bit-enabled builds are now available. See this page for link details.

EDIT 29th September 2015: This article seems to be quite popular. Note that Docker has progressed a long way since I wrote this and it has pretty much broken the script due to things being moved around and versions being updated. You can still read this to learn the basics of LXC-based in-container compiling, and if you want to extend it, go right ahead. When I get a chance, I will try to figure out why this build keeps breaking.

Steps to compile and build a docker.io binary on a 32-bit architecture, to work around the fact the community does not support anything other than 64-bit at present, even though this restriction has been flagged up many times.

A caveat, though. As the binary you compile via these steps will work on a 32-bit architecture, the Docker images you download from the cloud may NOT work, as the majority are meant for 64-bit architectures. So if you compile a Docker binary, you will have to build your own images. Not too difficult — you can use LXC or debootstrap for that. Here is a quick tutorial on that.

I am using a LXC container to do my build as it helps control the packages plus it reduces the chances of a conflict occurring between two versions (e.g. one “dev” version and one “release” version of a package), plus, the LXC container is disposable – I can get rid of it each time I do a build.

I utilise several scripts — one to do a build/rebuild of my LXC container, one to start up my build-environment LXC container and take it down afterwards; and the other, the actual build script. To make it more automated, I setup my LXC container to be allow a passwordless SSH login (see this link). This means I can do a scp into my container and copy to and from the container without having to enter my password. Useful because the container can take a few seconds to startup. It does open security problems, but as long as the container is only up for the duration of the build, this isn’t a problem.

EDIT: One note. If you have upgraded to Ubuntu’s Utopic Unicorn version, you may end up having to enter your GPG keyring password a few times.

EDIT 2: A recent code change has caused this build script to break. More details, and how to fix it on this post.

As with most things linux and script-based. There’s many ways to do the same thing. This is just one way.

Continue reading

Turin, Italy chooses Ubuntu, ditches Windows

Munich tried then ditched Linux. I wonder if Turin fares any better.

jamesgoode98's avatarLinux News

€6m: the amount the municipality of Turin hopes to save over five years by switching from Windows XP to Ubuntu Linux in all of its offices.

The move will mean installing the open source operating system on 8,300 PCs, which will generate an immediate saving of roughly €300 per machine (almost €2.5m altogether, made up from the cost of Windows and Office licences) — a sum that will grow over the years as the need for the renewal of proprietary software licences vanishes, and the employees get used to the new machines.
Read this
‘It was a huge risk’: How the end of XP support helped France’s gendarmes embrace Ubuntu – fast

‘It was a huge risk’: How the end of XP support helped France’s gendarmes embrace Ubuntu – fast

Or rather, to the old ones. Another reason for the switch was that the computers Turin uses are quite old…

View original post 326 more words

Zak Ebrahim: I am the son of a terrorist. Here’s how I chose peace

TED videos are always inspirational. With all the fighting going on in and around, it is nice to know that there are some who refuse to follow in the footsteps of their extremist forefathers.

Bride shares final dance with her dying father and it will break your heart

If this doesn’t make you at least slightly tear up, you must have a heart of stone. Knowing what its like to have your own father in hospital, I can feel for Lisa.