Twitter RSS Feed
Offend Me Home

Offend Me

I'm Stilvoid.

This is where I keep stuff, like my blog, things I'm working on, my music, and words about words.

2014-10-16  —  Permalink

Things

Ogg(camp|tober|sford)

OggCamp was fantastic. If I can remember all the talks I went to I'll do a brief write up. The event certainly left me with a few little ideas for things to write and do.

Down with dynamic things!

One small example is that I've rewritten the build script for this blog. No more scripted generation of the final HTML; I just wget -m the development server and that's everything built. Then it's all just served up as static content through nginx. Simples and I don't know why I didn't think of just snapshotting it like that before.

Click

I've reached a point in my career now where I find myself wanting to create and present slide decks. WTF?

I'm still writing code fairly regularly but there's so much other stuff I spend my time doing that I'm not even sure I can account for. It still feels important.

Clock

I think I'm going to buy a Pebble to wean myself off the phone-checking habit that I've developed over the years.

Relatedly, I wrote this post on my phone. It wasn't nearly as painful as I'd expected.

Tags: Blog

2014-09-05  —  Permalink

Lessons learned

read more...

Tags: Blog

2014-09-05  —  Permalink

O Baggage Where Art Thou

Owing to various factors, I'm finding it difficult to recall the things that have happened and in what order over the last few days so, for my own purposes, I'm going to note them down here.</pointless-intro>

Edit: Those were not notes. I'm a waffler.

read more...

Tags: Blog

2014-08-21  —  Permalink

All fired up

After putting it off for various reasons for at least a couple of years, I've finally switched back from Chromium to Firefox and I'm very glad I did so.

The recent UI change seems to have upset a lot of Firefox users but it was instrumental in prompting my return and I'm sure others will have felt the same; Firefox once again looks and feels like a modern browser.

read more...

Tags: Blog

2014-07-14  —  Permalink

Quayside

Docker is the new best thing ever.

The technology behind it is pretty cool. It works very well and it's incredibly easy to just make things work.

read more...

Tags: Blog

2014-06-17  —  Permalink

tmux

tmux is the best thing ever. That is all.

No, that is not all. Here is how I make use of tmux to make my life measurably more awesome:

read more...

Tags: Blog

2014-06-14  —  Permalink

Simple mail transfer pondering

tl;dr I like the MIT license, mutt, tagging things, and synchronising my data between my devices.

Simplicity

read more...

Tags: Blog

2014-05-23  —  Permalink

Ramble

Today has been a fairly mixed bag. I booked today off as holiday some weeks back as work has been consistently stressful and I felt I needed a day to spend by myself with nothing in particular to do. I could probably have predicted it, but that's not quite how it turned out.

The morning started pleasantly: my wife is on a late shift today so she didn't need to leave until 11 so we had a leisurely breakfast together. Then we got to talking about what I'd do today; "Not much", said I. Naturally, the conversation went down the route of talking about things I might do. "Perhaps I'll wander into the city". "Oh, while you're there could you just..."

read more...

Tags: Blog

2014-05-08  —  Permalink

Eligarf

All week so far, I've gone to bed before 10pm every night and have woken up feeling tired, been tired all day, had difficulty focussing during the day, and have still been tired when home from work. I went to bed at 8pm on Wednesday night. Also, my stomach has seemed unsettled. My wife appears to have some of the same symptoms so I don't think I'm about to encounter renal failure or some such mechanical failure of my parts. A very odd illness though. Also, we're both feeling fairly down.

I blame the management.

read more...

Tags: Blog

2014-04-27  —  Permalink

Laziness

Over the last couple of days I've been setting up a few things that I've been meaning to figure out for ages. I'm going to note down here what I did so when it all goes wrong, I can find out what I did ;)

Pretties

read more...

Tags: Blog

2014-04-14  —  Permalink

Netcat

I had occasion recently to need an entry in my ssh config such that connections to a certain host would be proxied through another connection. Several sources suggested the following snippet:

Host myserver.net

read more...

Tags: Blog

2014-03-26  —  Permalink

Judon't

tl;dr: broke my collar bone, ouch.

Since my last post, I've had a second Judo session which was just as enjoyable as the first except for one thing. Towards the end of the session we went into randori (free practice) - basically one-on-one sparring. I'm pleased to say that I won my first bout but in the second I went up against a guy who'd been learning for only 6 months or so. After some grappling, he threw me quite hard and with little control and I landed similarly badly - owch.

read more...

Tags: Blog

2014-03-05  —  Permalink

Things

I've been meaning to write something for weeks but somehow I never quite seem to get around to it.

Never say never. That old chestnut. Two in the bush gathers no broth.

read more...

Tags: Blog

2014-01-31  —  Permalink

btw

I discovered my new favourite fact about my new favourite language recently. I suppose it should be obvious but I hadn't though about it in explicitly these terms.

Given:

read more...

Tags: Blog

2014-01-30  —  Permalink

Stuff what I done

The diet is still going fairly well apart from a lapse yesterday owing to work-sponsored lunchtime pizza for a workshop session with JG and an evening meal out for Dad's birthday.

Roasted broccoli is the best thing ever.

read more...

Tags: Blog

2014-01-26  —  Permalink

Diet?

One of my new year's resolutions is to lose a stone. After some consideration of how I might do that, I decided some sort of diet would be in order. Fairly obvious, I suppose, but I did toy with the idea of seeing if I could do it just by exercising more; I don't think it would even be possible to practically exercise enough to burn off half of what I like to eat.

Before Christmas, I had been thinking about reducing my carbohydrate intake as it seemed that every meal I was eating centred around bread or potatoes. Curry, for example, was all about mopping up the sauce with the naan bread :)

read more...

Tags: Blog

2014-01-16  —  Permalink

TODO

New year this year passed basically the same as last year, though even more enjoyably.

I decided I'd better review my TODO list from last year so here's a diff :)

read more...

Tags: Blog

2013-11-01  —  Permalink

xmodmap Hints and Tips

Originally posted on Rolling Release. I'm reposting this here as I recently broke my finger and so made a few changes to

read more...

Tags: Blog

2013-06-26  —  Permalink

Shootah

Shootah is a work in progress. It will be a sort of shoot-em-up game with elements from various games. At the moment, it mostly resembles asteroids.

Play Shootah

read more...

Tags: Code Games

2013-05-12  —  Permalink

Tatil

Herein an brief account of our holiday at my wife's parent's house in Adapazar─▒, Turkey.

Day 0 - Drive

read more...

Tags: Blog

2013-05-10  —  Permalink

Things we learned at the LUG meet

read more...

Tags: Blog

2013-04-03  —  Permalink

MarkPoint

Markpoint is a script for converting markdown documents into HTML presentations

Installation

read more...

Tags: Code Other

2013-03-15  —  Permalink

Luck

I went for a walk in the park with my family a couple of weeks ago; my beloved mp3 player was in my coat pocket. The next day, I put my coat on and noticed that the mp3 player was gone! (Tiredness is making me forgetful and not notice things very quickly). Now, after a couple more days, I'd accepted that I'd very likely dropped it while walking and would never see it again and went back to using my old mp3 player.

When I got home today, while opening the door to the back passage [not a euphemism], I happened to glance at the ground near my front door and there, just under the gas meter box right by the front door, was my mp3 player!

read more...

Tags: Blog

2013-03-06  —  Permalink

Yawn

Wife and baby in bed, listening to the Beatles on vinyl, idling in IRC waiting for sleepiness. I very much doubt it'll be long.

Turns out that being a parent is quite hard work. Well, not hard exactly - just tiring. It also comes with a pretty total rearrangement of priorities, intended or otherwise. During the later stages of pregnancy (and even some of the first week or two afterwards) while there was quite a bit of waiting around, I had loads of ideas for things I want to write - some I even started writing. I'm talking code and music here. Now, I can only remember one of them and I doubt I'm going to have time to work on it any time soon :S

read more...

Tags: Blog

2013-02-11  —  Permalink

HBTM :)

Round number

Tomorrow I'll be celebrating a nice round-numbered birthday. I'll be 25 :) I grew up at just the right time that powers of two have been important my whole life.

read more...

Tags: Blog

2013-02-11  —  Permalink

TODO

My first new year as a dad was a pleasant one. The Mrs and I polished off a bottle of champage (I never used to like the stuff - can't get enough of it now) and put our favourite tunes on all night. Dylan woke up at precisely two minutes to midnight :)

New Year's Resolutions

read more...

Tags: Blog

2012-12-30  —  Permalink

Krobes

One of my all-time favourite Amiga games was Microbes. This is my version of that game.

I've got a fair bit left to do like scoring, the player taking damage, sound but the main gameplay is there.

read more...

Tags: Code Games

2012-09-02  —  Permalink

Homophones

I don't really mean homophones and I should find a word for the things I mean.

I particularly like sentences that, when read aloud, could have an entirely different meaning to the one written.

read more...

Tags: Words

2012-08-31  —  Permalink

Non-euclidian pork scratching

Next month, on the 18th of September, the first Norwich maths jam will be held at a venue yet to be decided.

For those not in the know, a maths jam involves a group of people who are interested in maths getting together in a pub, discussing, solving, and playing mathematical puzzles and games while enjoying a few tasty beverages.

read more...

Tags: Blog

2012-08-30  —  Permalink

Lost at C

This week I've learned a few things (always the mark of a good week in my book), the foremost of which is that I don't know very much about C.

I expect this post will mostly result in comments such as "well, duh..." and the like :)

read more...

Tags: Blog

2012-08-22  —  Permalink

JSTLV

JSTLV is a very simple TLV parser in javascript.

You paste in some hex, JSTLV displays that hex broken down into a hierarchy of types and values.

read more...

Tags: Code Other

2012-07-06  —  Permalink

Ire

Call me crazy (thanks) but I like regular expressions.

I like them enough to have decided that what I really needed was a tool that let me put regular expressions in my regular expressions (yo dawg). I had the idea for this a while ago but only got around to realising it a few days ago.

read more...

Tags: Blog

2012-07-05  —  Permalink

Ire

Irregular Regular Expressions

About

read more...

Tags: Code Other

2012-06-21  —  Permalink

So, so dry

IPv6

I'd been meaning to configure offend.me.uk for IPv6 for a while now and decided to actually do. Somehow, without really intending it, I did it on world IPv6 day :)

read more...

Tags: Blog

2012-06-21  —  Permalink

Gruff

Gruff is a rough-and-ready graphing library for javascript.

I'd been struggling at work recently to find a graphing library that does the things I wanted. I failed.

read more...

Tags: Code Other

2012-05-24  —  Permalink

Things I've written recently

In addition to nosef (which I mentioned in the last entry) I've written a few odds and sods recently due to some long evenings spent waiting around for things to happen.

Gnowt

read more...

Tags: Blog

2012-05-21  —  Permalink

require("child_process");

Nosef

After some fun times writing an application at Proxama, I ended up open-sourcing a new web framework for Node called Nosef. I've just finished porting this site over to it and I'm pleased to say everything went very smoothly and the code that runs this site is now /much/ smaller :)

read more...

Tags: Blog

2012-05-16  —  Permalink

JZON

JZON is a zooming JSON visualiser.

It's inspired by Eagle Mode and the general awesomeness of JSON combined with my occasional need to wrap my head around large chunks of it.

read more...

Tags: Code Other

2012-05-07  —  Permalink

Wyrm

A worm game where you slither around eating balls of food and getting bigger. If you crash into yourself, you lose.

This didn't end up how I'd envisaged it. It's a programming exercise, move along ;)

read more...

Tags: Code Games

2012-04-27  —  Permalink

Picture Puzzle

This has certainly been done before but for some reason, I wanted to make it again :)

Click the image segments to swap them around and reform the original picture!

read more...

Tags: Code Games

2012-04-24  —  Permalink

Zoomsite

I made a zooming version of this site.

I might revisit this at some point later.

read more...

Tags: Code Other

2012-04-24  —  Permalink

BreakIn

Click to play

read more...

Tags: Code Games

2012-04-24  —  Permalink

Lines

I'm sure there have been plenty of implementations of this already but I wanted an exercise for myself while my brain recovers from the vile cold that descended on me last week.

This is a javascript implementation of a popular pencil and paper game commonly called squares or dots and boxes.

read more...

Tags: Code Games

2012-04-24  —  Permalink

Rotate4

This actually came from an idea had by a friend I haven't seen for years.

The basic idea is the same as Connect 4 except that, instead of dropping a piece, a player's move can take the form of rotating the board 90 degrees clockwise and anti-clockwise.

read more...

Tags: Code Games

2012-04-22  —  Permalink

nosef

github, tarball

A set of nice wrapper functionality for quickly building web services with node.js.

read more...

Tags: Code Server

2012-04-22  —  Permalink

Scary stuff

A recent pub conversation about scary things that people had had happen to them reminded of my own spookiest moment and I thought I'd better note it down before I start getting old and forgetting such things.

(I'm afraid it's not particularly scary though)

read more...

Tags: Blog

2012-02-22  —  Permalink

Primes

And I'm not talking numbers.

Optimus Prime

read more...

Tags: Blog

2012-02-15  —  Permalink

Hokey Cokey

Morning has b0rked

The last couple of weeks have seen a fairly insane number of hours of work out of me due to a combination of a project with tight deadlines (aren't they all?) and the advent of me driving my wife to work in the mornings. She's at the point now of not being particularly mobile (oh, by the way, we're spawning) so I'm getting up at 6:30 daily to get her to work for 7. This means that I'm generally either working from home by 7:15 or in the office just before 8. That should mean that I'm done before 5 but it doesn't quite seem to work that way when other people are involved ;)

read more...

Tags: Blog

2011-12-15  —  Permalink

Music

I make music sometimes.

I keep it on SoundCloud

read more...

Tags: Music

2011-12-04  —  Permalink

Web terminal lense book

Web servers

After uploading a large file to the gallery application I'd [mentioned in a previous post][blog], I discovered that there's a [bug][bug] in [lighttpd][lighttpd] that eats up all the memory when shoving a large file through the proxy module.

read more...

Tags: Blog

2011-11-23  —  Permalink

Strange lunch break

With a burning need to fill our fridge, I set out for the land of Sainsbury's during my lunch break today. On the way, a number of strange things happened - or rather, a number of strange things seemed to happen. I suspect they're more a reflection of my state of mind today. I've probably been watching too much [Dexter][1].

Strange thing number 1: The tail

read more...

Tags: Blog

2011-11-22  —  Permalink

Obfuna

About Obfuna

Obfuna is an esoteric programming language designed to minimise the instruction set, the length of code necessary to express a program, and the readability while still remaining vaguely useful.

read more...

Tags: Code Other

2011-11-22  —  Permalink

Markdown

I've just finished converting this site and blog over to using markdown for its content. I'd been using ReST for work and nearly went with that but decided I slightly prefer the syntax used by markdown.

I really hope this kind of thing catches on; HTML is so ugly and not particularly suitable for writing content. Writing a blog in markdown just feels a lot more natural - like I can just get on with the writing and not have to think about how it will look on a web page.

read more...

Tags: Blog

2011-11-22  —  Permalink

About me

I use Arch Linux and prefer vim over emacs. I work for Proxama where I get to use cool new technology. There's probably not much more to know than that :)

This is what I look like:

read more...

Tags: About

2011-11-22  —  Permalink

Gallery

At various points in my past, I took photographs. I stored them on facebook and then, quite recently, decided I didn't like facebook any more so I've been writing my own Gallery application. Below are some examples.

read more...

Tags: Gallery

2011-11-22  —  Permalink

dmenu-notify

github, tarball

A fork of dmenu from suckless.org that adds a few features I wanted:

read more...

Tags: Code Other

2011-11-22  —  Permalink

Gnowt

gnowt A URL shortening service that uses memorable words

About

read more...

Tags: Code Other

2011-11-22  —  Permalink

miniserv

github, tarball

A very simple node script for serving files from a directory over HTTP

read more...

Tags: Code Server

2011-11-22  —  Permalink

ploxy

github, tarball

A logging HTTP proxy written for node

read more...

Tags: Code Server

2011-11-22  —  Permalink

First!!1!one!!eleven

For some reasons that I can't quite put my finger on, I've been thinking about starting a blog recently. I think I just want to have somewhere to dump various things as and when they pop into my head. I expect there'll be a mix of things I've come across that made me go "ooh" and things that make me go "grr".

That would've been a far better pop song.

read more...

Tags: Blog

2011-11-22  —  Permalink

Wheeee

I refined the site engine a bit and slightly reshuffled things. I like the menu system a lot more now and everything's a lot more consistent which makes my life a lot easier :)

Basically, the engine scans through the content folder and works out a heirarchy and generates menus and suchlike from that so I just need to drop new files in place and everything works out.

read more...

Tags: Blog

2011-11-22  —  Permalink

Worst.Landlord.Ever

I got home this evening to a letter which really pissed me off.

First a little bit of back story: Shortly after we moved into this house (in December last year), we discovered that the bathroom suffered badly from condensation so, having had a similar problem in our last flat, we made sure the extractor fan was on whenever we took a shower and for a while after and also that we left the window open for at least an hour or two after every shower. This was not much fun during the winter.

read more...

Tags: Blog

2011-11-22  —  Permalink

Blah, cold. Do not want.

I suppose I've been lucky not to have caught a cold until this late in the year. When I was younger, I used to catch a cold nearly every month of the year. This will not help with the workload!

Today looks like it's shaping up to be a break from the Django to write some more sexy NFC stuff with Node :)

read more...

Tags: Blog

2011-11-22  —  Permalink

HTML5 and holidays

Further to my last post, I've solved the problem of loading pages via AJAX with thanks to @davidtreynolds and history.pushState() :)

I've also added comments with Disqus as it seemed easy to set up and meant I didn't have to write code for it.

read more...

Tags: Blog

2011-11-22  —  Permalink

Hey, at least I'm not rioting

Well, the holiday was a resounding success. Everything went to plan and we both had a wonderful time. I'll come to that in a later blog though as I'm intending to briefly review all the places we went.

Coming back from the holiday was, in contrast, hard and unpleasant. We were both depressed for a couple of days and very glad that we had Friday, Saturday, and Sunday to recover and prepare ourselves for the real world. Fortunately, by Sunday we were both feeling in better spirits and managed to double-team the housework so we at least have some clothes and a house that smells less like cat poo (despite my brother's best efforts while he house-sat for us, the cats had been relentless in their quest for world domination by fecal overload).

read more...

Tags: Blog

2011-11-22  —  Permalink

Things I learned today

After a "fun" morning of convincing libnfc and a few small applications I'd written in C to compile in Window 7 with mingw32, I learned a few things so I'm just jotting them down for future reference.

read more...

Tags: Blog

2011-11-22  —  Permalink

Waffle. Move along.

i3

Well, after a while of struggling with it, I now officially like the new "tree" version of i3. My difficulties came from not reading any documentation to go with the new release and expecting it to work the same way. That turns out to be rather incompatible with the change in layout model ;)

read more...

Tags: Blog

2011-11-22  —  Permalink

Javascript Closures

Today I found myself struggling needlessly with some code that generates a set of buttons on a form based on a set of callbacks that get passed in.

Basically, you pass in something that looks like this:

read more...

Tags: Blog

2011-11-22  —  Permalink

It's all Geek to me

Don't worry, sfr, this isn't really because of this morning :)

I was wondering the other day, following a somewhat laboured conversation with my wife (I forget what it was about now), why it is that geeks are generally socially awkward. It often occurs that I've taken something too literally (mostly unintentionally) or that I've explained something to such excess that she no longer remembers what I was babbling about.

read more...

Tags: Blog

2011-11-22  —  Permalink

Good times with git

Having relatively recently moved to using git for version control, I've been thoroughly loving it :)

(By the way, I thoroughly recommend this document for getting to grips with git)

read more...

Tags: Blog

2011-11-22  —  Permalink

Good things that have happened in the past week

read more...

Tags: Blog

2011-11-22  —  Permalink

Black Jack - pick up seven!

After a fairly hectic week, it's been a very enjoyable weekend all in all. Friday evening was spent chilling out with some Mario Kart and card games. After a lie in and finishing the house work on Saturday, I went for a brief but enjoyable bike round around the city before stopping off for a pint in the Cider Shed Fat Cat Brewery Tap. In the evening, I went to a great party hosted by a good friend and met loads of his other friends - a very different kind of evening and some fantastic food. I also found out that I am still, for good or ill (most likely ill), very capable of drinking far more than is good for me! Consequently, today has consisted of sofa, a bit of Wii Fit (haven't played for ages, good fun), more card games, some Speed Racer (wheeee), blogging and, very shortly, reading in bed.

My wife and I have been playing card games a lot recently and I think we're in need of more. Any recommendations for fun card games for two players will be gratefully received. Here's the games we play at the moment.

read more...

Tags: Blog

2011-11-22  —  Permalink

Break In!

A while ago, I decided to learn how to use the canvas and that for my first project I was going to write a breakout clone. Pretty standard fare for a first-time project :)

After writing some routines to draw blocks on the screen some weeks ago, I finally got around to doing some real work on it this evening. Two or three hours later, I'd ended up with a mostly working, radial version of Breakout.

read more...

Tags: Blog

2011-11-21  —  Permalink

Violining a contemptible fellow

I was going to write about a very strange and excellent dream I had the other day. I'd even written some notes down so that I'd remember it but I managed to delete those notes during some git fiddling.

So I'll write about that instead :)

read more...

Tags: Blog

2011-09-25  —  Permalink

My favourite spoonerisms

read more...

Tags: Words

blog comments powered by Disqus