For getting between the UK "mainland" and Northern Ireland on an integrated ticket (which tend to be cheaper), you have a few options. This post is about getting from Glasgow, which is well connected to the north of England and the rest of Scotland.
read moreAll articles
DIY Solar Power
After a lot of research, thinking, confusion, finding out how much weight our garage roof can take, looking at a local subsidy scheme, finding out said scheme had run out of funding for the year, we finally took the plunge and ordered an (almost) all-in-one plugin-in-solar kit for flat-roof mounting …
read moreTemperature and Humidity monitoring
The slightly smarter home topic continues. In this coming winter many of us probably want to understand our energy usage and home climate a bit better. We have two analog humidity gauges and they both seem a bit suspect. And to be honest, now that we have our own little …
read moreSmart Meter adventures with a helping of Power-Over-(throttled)-Ethernet
On a recent trip to England, I was intrigued as a friend casually showed me his smart meter. It wasn't a big electricity meter, it was just a little display visualising his electricity usage. I assume the actual heavy duty electrical stuff was somewhere else, and I would imagine that …
read moreBuilding 2030-watch.de: measuring progress towards the sustainable development goals (SDGs)
For the last 15 months the Open Knowledge Foundation Germany has been working on a prototype to monitor progress towards the sustainable development goals (SDGs) from an independent, civil society-led perspective. There’s a detailed blog post on why such independent monitoring is necessary at our
read moreDocument to text conversion web service gets a nice name, a nice URL and a web interface
Give Me Text! In a previous post, I detailed a web service where you can throw documents of many kinds at it, and get text in return. We’ve now given this service a name, “Give Me Text!”, and a nice URL at http://givemetext.okfnlabs.org/ for both
read moreA public web service for document to text conversion including OCR
Getting text out of documents Last year I was working on beta.offenedaten.de, a catalog of data catalogs in Germany using the CKAN platform as the basis. Although the topic of how to enable full-text search of documents in CKAN data catalogs is somewhat open
read moreExport Drupal nodes to CSV
Want to extract all your content from Drupal? I bet you do… seems like the world has gotten a distaste for all things Drupal and is jumping on the WordPress or even Jekyll bandwagon. Anyway, this query will probably get you what you need: SELECT DISTINCT no.nid, n.title, u.name, n.timestamp, n.body, group_concat(DISTINCT td.name) as terms
read morelittleBits - Cooling Campfire
Our first littleBits project
read moreCoconut Chocolate Cake (Gluten free)
Finally, a write-up of the GF coconut chocolate cake!
read moreGet pnet to do UDP blocking
Pnet is a MEX-file-based toolbox for Octave/MATLAB. The help instructions would lead you to believe that UDP reads block by default, but this didn’t work for me: I had to specify a timeout. You can specify Inf, but given that you can’t ctrl-c out of a program whilst the MEX part is running, I’d recommend
read moreCompiling pnet (or any other MEX file) with Visual Studio Express and Octave
Octave supports MEX files, just like MATLAB. Here’s how to compile a MEX file (in my case pnet): Run Developer Tools (2012) Change Octave’s math.h to specify correct MS math.h Add Octave ‘bin’ folder to path Change to the folder with the files Run command: mkoctfile --mex -lws2_32.lib -DWIN32 -v -o pnet pnet.c The last
read moreR rJava (.jinit()) stops working - make it work again
Windows 8, 64 bit, 64 bit Java 7, 64 bit R… Apparently (!) it worked before. And then R said it was “Unable to create a class loader” (no arguments) or that it couldn’t start the JVM (with arguments) when using .jinit. Unfortunately, I can’t say exactly what was wrong, or why it apparently stopped
read moreFindings of the investigation of garment factories of Bangladesh
During the weekend of October 18th-October 20th, a group of volunteers, data-wranglers, geo-coders, and activists teamed up with the International Labor Rights Forum and P2PU for a Data Expedition to investigate the Garment Factories. We set out to connect the dots between Bangladeshi garment producers and the clothes that you purchase from the shelves of the world’s largest retailers.
read moreResizing an LVM 2 filesystem on Ubuntu inside Virtualbox (Mac)
Problem 1, VirtualBox can’t resize this kind of Linux volume, so, on the Mac: Create a new HD (for me, ~10G) VBoxManage createhd –filename Ubuntu.vdi –size 10000 Copy contents VBoxManage clonehd CartoDB.vdi Ubuntu.vdi –existing Then, Download GParted ISO, latest version so that you can resize LVM volumes Add as CD volume to the machine and
read moreUsing D3.js and reveal.js for better organised data presentation
D3.js is a Javascript library for attaching data to web elements for the purposes of visualising the data. Once the visualisation is more than a little complicated, this usually means generating SVG elements. SVG (Scalable Vector Graphics) is a vector graphics format – it’s a text based description of lines, points and so on. Due
read moreGenerate a movie from SUMO
SUMO, the open-source traffic simulation tool, does not have a simple option to output a movie. Using TraCI, the UDP-based control interface for SUMO, you can quickly generate a set of images from your simulation: import traci import sys import subprocess #change if necessary PORT = 8816 sumoProcess = subprocess.Popen("C:\path\to\sumo-gui \"C:\path\to\simfile.sumocfg\"", shell=True, stdout=sys.stdout) print "SUMO
read moreGenerating HTML 5 videos for Chrome (with Virtualdub Mod)
I finally took the time to educate myself on the virtues of HTML 5 video. I’ve been doing presentations in HTML for a while now, but had been using browser plugins, which were awkward. Chrome’s preferred format is “VP8″ inside a container called “webm”. I often am preparing videos for presentations with Virtualdub Mod, as
read moreBangladesh Savar building collapse - hopefully the last clothing factory disaster but certainly not the first
A write-up of pulling together and visualizing numbers on garment factory disasters in Bangladesh
read moreCabbage and Chicken, a little spicy
Another great creation from Birgit. Great way to enjoy cabbage! The photo doesn't do it justice...
read moreCarrot/Curry Soup
Green Wave FAIL
In Munich we have a few "green waves" - sets of traffic lights along arterial streets that are coordinated for a certain speed so that vehicles can move through the city without stopping. Although they're a nice idea, they seem to fool many a driver into thinking they're on the Autobahn …
read moreVisualization Course, week 5/6: The final project!
My final project compares the price of making longer journeys by car or train in Germany, and also the change in these costs over time. There are many more things it would be fun to explore: the impact of fuel tax in Germany, or the breakdown of costs in car …
read moreVisualization Course, week 4
Still way behind, our challenge for week 4 was to take something from a 92-page KPMG report and make an infographic. As much of the course content for week 4 was about cartography, I felt I needed to get a map in there somewhere.
Actually, I only used one page …
read more2-Button Robot
Trying to have some fun with Lego Mindstorms again - we followed some internet instructions to build a slightly different robot from the "out of the box" model. Full credits and thanks to http://www.nxtprograms.com/NXT2/2-touch_remote/steps.html.
read moreVisualization Course, week 3
Its been a rough couple of weeks with sickness in the family, and I'm a bit behind with the course. Nevertheless after pouring over some sample data for week 3, I've taken a stab at the exercise. I haven't had time to look at other people's ideas/entries yet, but …
read moreDVD Drive stops working in VirtualBox...
The solution seemed to be not dropbox specific… https://forums.virtualbox.org/viewtopic.php?f=6&t=22987&p=248074#p248072
read moreVisualization Course, week 2
I haven't had as much time to get into the course this week in terms of making illustrations, or even any helpful criticism of my chosen graphic. There was a lot to read and watch - the general theme was on what forms to use for visualization and how to use …
read moreVisualization Course, week 1
Birgit and I (Matt) have enrolled ourselves in a massive open online course on Introduction to Infographics and Data Visualization, run by the Knight Center for Journalism in the Americas and taught by Alberto Cairo. Although both of us have years of experience visualizing experiment results, the areas of infographics …
read moreLinphone Android + Netbeans + OS X = problems
Linphone is an open-source VoIP API. They have a git project for Android, and I wanted to develop on OS X (Netbeans). Not a great setup for success, but of course I didn’t know that until I’d started. I hadn’t had much trouble developing for Android on the mac before. So, some tips to spare
read moreHibernate a Mac OS X server without losing internet/windows file sharing
Internet Sharing and SMB stop a mac going to sleep. If you want to find out what’s stopping your mac going to sleep, you can run pmset -g assertions. Furthermore, the mac does not allow hibernation. I’m a bit over-energy-conscious, so here is my solution to having an energy-efficient home server. Tell power management to
read moreInternet Sharing in OS X 10.8.2 seems to work after well
After updating to OSX 10.8.2 (Server), internet sharing stopped working. After a lot of fighting, that included setting up manually (turned out not to be viable because I couldn’t figure out how to automatically launch an ad-hoc network at startup), I undid everything I tried except for this one tip: http://support.apple.com/kb/TS4418 Perhaps if I’d done
read moreAudioRecord plugin on Cordova/Phonegap 1.9.0
Phonegap’s Media.startAudioRecord on ios records 16 bit stereo uncompressed WAV. Not exactly ideal for uploading afterwards. The AudioRecord plugin for ios allows full access to the available Core Audio encoders. The installation instructions are less than required, so after piecing together some items from across the web, here are some edited instructions (if I knew
read moreSewing baby blocks
After purchasing an Aldi sewing machine and nice organic cotton fabric, I finally tried my sewing skills (not sure where they would have come from). Here is the result. Well, not quite perfect, but I'm quite happy considering it's my first attempt.
read moreGluten free dumplings and mushrooms
Pumkin bread (gluten free)
The left-over pumkin from the curry was turned into pumkin bread...
read morePotato-Pumpkin Curry
Two weeks ago we started ordering food from a group of local farmers, who deliver organically grown food. This week we got a huge pumpkin so I started searching the internet for ideas of what to do with it. Here is the first meal that came out of it: a …
read moreFlour-less Raspberry & Vanilla Cake
This sounds good, and gluten free.
http://rosekentishkitchen.blogspot.com/2012/01/flour-less-raspberry-vani...
read moreUpgrading Drupal 6 to 7
So, I’m finally going to take the plunge; first with a test, local site, and then with mattbirgit.de. Only found one point to watch out for, in addition to the clear advice at: http://drupal.org/node/570162: It really is important to update to the current Drupal 6 before upgrading; that isn’t just ‘in case’ some assumptions are
read morePlaying music in track order on the Samsung S5230 Star
I received this phone in order to test the Deutsche Bahn “Touch and Travel” system (the phone has NFC, and lets you buy tickets by touching little masts when you enter and leave various trains). By now, they figured out that not everyone will ever have NFC, and embraced QR codes in addition. Quite an
read moreiPAQ kicking the iPhone's ass
I thought I’d go for a provocative title, but let’s say from the outset that the iPhone is clearly better in many, many ways than the device I’m about to ‘ramble’ about… My girlfriend, Birgit, has an iPhone. What’s more, she has a contract where you can pay €30 once, and you get a second
read morePoison!
And so it is, the neverwhere of the day after Boxing Day. That day when you know you really should start doing some real work, but you can’t, either because you’re too full of Christmas cheer, or recovering from being poisoned by dodgy German-Chinese food. So I figured I’d do some more PHP/web stuff, and
read moreTravel Placeholder
At the moment our Travel content is still here: https://videonewsproduction.blogspot.com/
read more