Loss of language

May 30th, 2014

brang01 brang02brang03 brang04 brang05 brang06

Silly World

May 18th, 2014

01-silly-world
02-silly-world
03-silly-world
04-silly-world05-silly-world

Straw

May 11th, 2014

image

Re-thinking dates

April 6th, 2014

Thinking about how to tackle an up-coming open-data project, I found the impressive RethinkDB. Rather than convert the data on-import into a relational database, I want to load the raw data into a NoSql database, and then map to a converted table with links back to the raw source-rows. RethinkDB imports csv out of the box. And it’s ReQL query language is expressive enough even to parse arse-about-face ‘dd/mm/yyyy’ British dates (though that turns out to be a bit of a mouthful):

r.table('raw').update({
  newDate: r.time( 
    r.row('DATE').split('/').nth(2).coerceTo('NUMBER'),
    r.row('DATE').split('/').nth(1).coerceTo('NUMBER'),
    r.row('DATE').split('/').nth(0).coerceTo('NUMBER'),
    'Z'
  )
}).run(...)

Apache upgrade

January 1st, 2014

We use the Ubuntu biannual releases as reminder to do backups. Backup; upgrade; work through the bugs. Just upgraded to 13.10 Saucy Salamander without noticing much change. Played with Unity for an hour or so, to see if it had become amazing; then switched back to Xmonad, and back to work on my website project.

Ah! Local websites not working. I just got the default page for my local apache instance.

First off I tried to re-enable the site with ‘a2ensite’, which complained that my config file didn’t exist. But it was looking for the file with ‘.conf’ extension. Easily fixed.

Next I was told permission to access the site was denied by the server configuration. At this point I got derailed. I thought there was something wrong with my virtual host setup. Lots of websites told me I had to have a ‘NameVirtualHost’ directive. So I added one. And was then told by apache that this had no effect and would be removed in future.

Although this was a change, the conf files had been upgraded properly, as you’d hope. Problem was, of course, with my virtual host files. I have worked round the permission error by adding

<Directory "">;
OptionsĀ  All
AllowOverride All
Require all granted
</Directory>

Upgrade

December 29th, 2013

upgrade

The Dark Geek Rises

October 23rd, 2013

Screenshot from 2013-10-23 14:41:59

I recently switched to a dark desktop theme. I’ve wanted to for ages but most the themes I tried didn’t have nice round window borders and I felt sad. But having switched to Xmonad as window manager (which is another whole story), Ambience Dark just looks great. Read the rest of this entry »

Daddies

August 23rd, 2013

daddies

Laptop

August 18th, 2013

laptop-01laptop-02laptop-03

Acquisition of language

July 27th, 2013

food-01
food-02
food-03
food-04
food-05