This blog’s had a good run, but it was built back in 2009 in my early university days, and it’s now cripplingly dated – making it even harder to be motivated to keep it updated – and my scrappy early solutions at spam blocking have been beaten down a bit, really ruining the ambience. Fortunately I’ve now got a new site available at Tim.FYI.
Build Focus: Concentrate better and beat distraction
This blog’s been very much neglected (like every other blog of everybody I know), but I have new exciting news: I’m publishing a tool I’ve been using for a while to help me avoid distraction and keep concentrating: Build Focus. It’s a productivity tool that uses gamification to help train your brain to focus better, by building a quick feedback loop that hopefully kills off your distracting bad habits.
Building RPMs on Windows with Maven
As part of my work on my JS-Test-Runner, I’ve been setting up Maven to do all my packaging for me. Deb packaging was relatively straight-forward (using the jDeb maven plugin), and happily builds on my Linux CI box and the my home Windows dev machine, but building RPMs requires a little more hackery.
Mocking Java X.509 Certificates with OpenSAML
I’m currently writing all sorts of code for work with OpenSAML, we’re trying to do this in a nice test-driven manner, but it’s extremely difficult to generate X509 certificates at runtime, and surprisingly difficult to mock them sensibly for our unit (well, here really integration) tests that actual use any of the OpenSAML library.
Condition [...] of an unsupported object DataMapper::PropertySet
I’ve been doing some updating of the codebase of this blog (to add some spam filtering for the comments, among other things, but that’s another post), and I started getting the above error from DataMapper whenever I tried to access the parent post of any comments. Google gives a single result for this error, which is spectacularly unhelpful, so I sort of had to fix it myself :-/.
OpenVPN TAP 'currently in use' on 64-bit Windows 7
Problem of the week: I spent an infuriatingly long time trying to set up a VPN connection at work on a new 64-bit laptop I’ve gained using OpenVPN. It (mostly) seemed to install ok, and connect and authenticate with the remote server fine, but it then absolutely refused to set up the TAP connection. Instead, it reached the TAP stage and just gave me a “All TAP-Win32 adapters on this system are currently in use” message every time. Hmmpf. Skip to the bottom for a step by step, but first a semi-ranty explanation.
Me, my housemates, and the house itself (housered.org — although we don’t actually have much of a site to date) are pretty tech-tastic. In addition to the 8 computers in the house, we recently bought a neat little linux server that’s now running the TV with XBMC and a cheeky couple of terabytes of RAID’d storage full of content (and doing all the routing on our over-complicated network; does a house need 3 VLANs?). We’re slowly adding more ways to fill the server with content, from polling RSS feeds for things we watch a lot, to a new little script Ed whipped up that listens for specific (n.b, firmly authenticated) emails, so you can quickly get the house to go find and start downloading something you think of from work, and then have it entirely ready by the time you get back.
Third time lucky
In a fit of productivity, I’ve once more changed the site, rewriting the entire back-end and improving it hugely, and it’s now all back up and running. Yay! There are still some bits and pieces missing (i.e. any content), but I’m hoping to have it structurally all together by new year, I’ve got a good few posts planned already, and I’ve nearly got a system in place so I can write them in advance of publishing, possibly setting me up to actually keep writing them! Optimism reigns. So what’ve I done, and why?
CSP and Latex
I’m currently doing the write up for my 3rd year project, which is significantly less interesting than it sounds. To do that I’m modelling my various threads/devices as CSP processes, so I can prove it works. Unfortunately, nobody has ever heard of CSP, ever, so it’s a bit difficult to typeset. Fortunately, somebody else has done this before!
(This no longer exists due to the great blog migration, see details at the bottom of the post)
MX Revolution Scroll Wheel in Ubuntu
I got an MX Revolution recently because I broke my old mouse (if you own a VX nano, and the scroll wheel starts to break, don’t put bike oil in there) and the scroll wheel doesn’t have the settings it does in Windows with SetPoint. There’s a SetPoint alternative called HIDPoint, but it’s awful.
It’s amazing how many ways you can send somebody a message in this new high-tech world, particularly now we’ve all got this neat little internet thing. I’m currently sending Amelie as many as I can, and I’m fairly sure this post gets us up to 13 media. Wham, bam, diggity…
PhoneGap and Netbeans
HIDPoint is in every way not good
Last night I tried installing HIDPoint, a neat app for linux that’s supposed recreate Logitech’s SetPoint software, which doesn’t run on linux, so that you can correctly set various settings for your mice and keyboards. Turns out, it’s a disaster. I spent about half an hour this morning trying to uninstall the damn thing over SSH. Although their website looks fairly pro, compared to the rest of the open source crowd’s stylings, the program is badly written, doesn’t use package management (even though you inform it of your distribution) and just doesn’t work.
Google Calendar + Oxford Weeks (ICal Feed!)
(Sorry, this doesn’t exist any more! Details at the bottom of the post)
I fixed my automatic calendar feed! It parses the Oxford University term dates page with a selection of reasonably robust regexes and generates a VCal/ICal feed, which you can import into Google Calendar (and probably in other similar places) so that you get events for each week, making life crazy easy.
Accuracy and Grenade mods for Stalker: CS
Changing locks in synchronized blocks (Java/J2ME)
In my 3rd year project (J2ME) there’s a lot of threads and locking. I wasn’t sure exactly how some of that works, in either real Java or J2ME, so I’ve run some tests.
Scala + CSO on Ubuntu
This year we’ve got a Concurrent Programming option, which I’m taking, which takes our quite abstract Concurrency course and makes it practical. It’s basically design patterns etc for actually writing concurrent programs. It pains them to doing a course that isn’t just abstract, but we do have to see code occasionally. A rant for another post perhaps. Meanwhile the code is written in Scala with CSO, and it doesn’t work unless you set it up just right…
Revision. The best kind of vision
I’m struggling to revise, just because every time I learn something I think ‘oh, I wonder if anybody on the net can explain this better’. And then I end up reading some random blog about the subject, which is generally useful and great and all, and then I follow some links, and two hours later I’m looking at funny pictures of cats and I’m suddenly pulled back into reality by the half written notes on the other monitor and damn, I’ve wasted infinite time.
Comment is Free
There might, quite possibly, be the basics of a working commenting system at the bottom of this page, ready for the subtle caress of your fingertips. It currently doesn’t do spam checking etc. at all, and it does the bare minimum of sanitizing, just enough to keep the database intact and strip dodgy tags.
Is this thing on?
(N.B. This was written on and about a very old version of this site, it’s entirely wrong now!) I’ve just finished writing the PHP behind this blog, and hopefully this’ll work, but we’ll see. I’m pretty sure I’ve got post listings and post displaying sorted, and hit counts and code displaying (like
this for example.) The big issue is commenting, which I haven’t really started building yet, RSS, and making sure everything works fully. For example, if you click blog, you see the last 10 posts. There is no way, at all, to see more than that, outside just guessing post URLs.