Posts by James Rowe

Advent of Code 2020

I’m done.

vim showing bug in day 2’s solution

Read more ...


Advent of Code 2019

With a touch of sadness, I’ve given up on AoC for this year. I’m writing this as a journal entry, more for myself than others. You’ve been warned!

|AOC| example runner failure

Read more ...


I have a secret

A terrible secret haunts me, at times daily… I have virtually no SQL skills.

Sad reality of SQL knowledge

Read more ...


GPS rollover 2019

Tomorrow we’re going to experience the simultaneously cataclysmic and mundane consequences of a GPS rollover event. Many things will break, many will continue to work and many will just take a step closer to breaking… the fun of date handling never ends.

Pick a year, win a prize

Read more ...


Office hours

A few co-workers have started offering office hours, seemingly spurred on by a post by Robert Heaton. I’m going to try this a little closer to Robert’s original idea, and make this offer to strangers too1.

Appointment icon [from Adwaita icons]

Read more ...


Advent of Code 2018

I’ve given up on AoC for this year, so we’ll have a ten day early retrospective. I’m writing this as a journal entry, more for myself than others. You’ve been warned!

|AOC| example runner output

Read more ...


Giddy new project love

I’ve recently inherited a new tier-one project, which is great news! Sadly, it is in real need of some Tender Loving Care™. Was there ever an inherited project that wasn’t?

sandfly debug architecture

Read more ...


while $sun; do make hay; done

This is a massive brain dump, which I plan to rewrite in to a series at some point. However, until that imaginary date arrives…

Digraph of home directory’s top level build

Read more ...


Visualising the progress of time

A co-worker was demoing a user session today, and pointed out a neat tool for MacOS that displays the “continual march toward death”. That tool was Progress Bar OSX, and it is pretty cool. Sadly it is only available for MacOS, so we’ll need to make something similar.

Screenshot of colourful progress in time

Read more ...


Evil Emacs steals my heart

Many of my co-workers use emacs, it is probably the most popular editor on our team and I understand why.

Emacs screenshot

Read more ...


File renaming for the lazy

Over at HN in a stolen topic:

however, i miss one feature for which i’d use a filemanager: in-place file renaming. in most cases when i want to rename a file, i want to change a small part of it, and i don’t want to have to retype the whole filename.

Borrow Your Laptop

Read more ...


Advent of Code 2017

A very evil friend pointed me to Advent of Code last December, and I burnt a fair chunk of time on it. I mean… yeah, it was hugely fun but be warned it is enormously addictive1.

Ta-da! Calendar complete

Read more ...


Tiling vs tabbing

A fairly large chunk of my developer friends fawn over tmux and tabbed. These tools can give the effect of a multiple window interface to your terminal sessions, or apply a tabbed interface to any xembed supporting application respectively. I’ll freely admit they’re pretty awesome at what they do1.

Example of awesomewm’s tile.right layout

Read more ...


Vim with day/night colourschemes

The fabulous Miss Biddulph asks via our EADS Linux list:

I lurve taqua in vim during the day, but now the days are getting shorter it is beginning to destroy me. Is there a way to make vim use different colourschemes depending on time?

Read more ...


brexit through the gift shop

This is a public letter to my co-workers, which probably shouldn’t be public.

Read more ...


Ugh, why no comments???

Many moons ago, when my blog was hosted elsewhere I built a comment system for it. Comments came in, I learnt things, I was corrected when wrong. Times were good.

Read more ...


Jury of your pear-shaped objects

On the inquest it was shown that Buck Fanshaw, in the delirium of a wasting typhoid fever, had taken arsenic, shot himself through the body, cut his throat, and jumped out of a four-story window and broken his neck–and after due deliberation, the jury, sad and tearful, but with intelligence unblinded by its sorrow, brought in a verdict of death “by the visitation of God.” What could the world do without juries?”

Read more ...


Burning down the streets

The whole thing makes me wonder whether a modern reintroduction of the skimmington ride for social media is long overdue.

Read more ...


fossil experiments

For a variety of reasons we can no longer use GitHub at work for any project which isn’t Open Source. And since that decision was thrust upon us we’ve been playing with some alternatives for our workflow. We’ll probably end up choosing one of the self hosted clones at some point, but it was decided early on that we should evaluate a variety of options.

Read more ...


Cleanse thy soul

For the past few years I’ve taken to having routine breaks from certain timesinks to help me focus and also to denoise some of my thoughts. The number one timesink in my world is without doubt the interwebs, and there are a few steps I’ve taken to weaken its stranglehold.

Read more ...


Open Source and enjoyment

A few years ago I burned out on Open Source projects, to the point that it was close to impacting other parts of my life. I have only myself to blame as I didn’t manage to distance myself at all well. Distancing yourself is not easy to do when your fun hobby for relaxation is the thing that is working against you.

Read more ...


jnrowe-misc - The unsorted package overlay

A collection of ebuild files with no overall theme.

Read more ...


Project postmortems

One of my favourite things about the day job is the post-project analysis and postmortems, which we lovingly refer to as probits internally.

Read more ...


Dropping Gentoo reflex

After hitting the publish button on Dropping Gentoo a few friends commented that I was either unnecessarily harsh about Gentoo or we wasted an enormous amount of time on it. It definitely was the former, and I feel a touch ashamed for implying the latter.

Read more ...


Dropping Gentoo

We’ve been using Gentoo for shipped products since June 2005, and as a development platform since September 2004. A long time, an incredibly long time in fact.

Read more ...


Delayed flashover

This weekend a very good friend of mine is taking part in the London Marathon, and we’re all looking forward to the no-doubt incredible time she’ll finish in.

Read more ...


Hitting life’s reset button

Seven months ago while enjoying a little Saturday afternoon cricket picnic, a friend posed the question:

Read more ...


Return to rambling

I kept a public journal from about 2003 until 2009, with a new entry about every three days. I enjoyed the act of writing it greatly, and often looked forward to the period of contemplation it would create. However, eventually I found I had to kill it, but not because of waning enthusiasm as is so often the case.

Read more ...


Murdering morality with ferocious fire

Morality is herd instinct in the individual.

Read more ...


Dopplr defects

Dopplr was a free social networking service, launched in 2007, that allowed users to create itineraries of their travel plans and spot correlations with their contacts’ travel plans in order to arrange meetings at any point on their journey.

Read more ...


Tell me a nice story, please

I’m fed up of hearing bad stories, I really am. Often it feels like every person I know simply revels in the misfortune or missteps of others, and it is beginning to truly annoy me.

Read more ...


Side-projects

Chatting with my brother yesterday he expressed some disbelief when I mentioned yet another friend who has a website related to some topic we were discussing:

Read more ...


TDD distro development

Using TDD for distribution development is a hot topic in some of the more geeky circles I move in, and I’m very happy about this. Anything that increases the robustness of my desktop computer, my phone or any other device I use is a great goal!

Read more ...


Mangling planets

Over lunch today a few people were talking about planet feeds, and the topics mostly revolved around why they don’t read them. I was quite surprised how many people miss out on the often marvellous insights in to the projects we use everyday, but I think I understand the reasoning.

Fetch feeds

Read more ...


Populating sup contacts from abook

A colleague from work, Adam Robertson, is switching to Sup from mutt and wondering how to easily convert his contacts from abook. Given that it is my constant pimping of sup that has convinced him to switch I feel obliged to help with the conversion.

Read more ...


Debugging Python RegEx

Rob Sampson is learning Python and struggling to get to grips with its RegEx handling. He asks on one of our internal lists at the office:

Read more ...


Zsh and the VCS

I’ve recently switched to Zsh as my login shell after 9 years of using bash, and for no particularly good reason either as they’re both great interactive shells. I guess all the Kool Kids are doing it, and I’m just playing catchup. The one side effect of that is I’m now scribbling tips about zsh too…

Read more ...


Three mobile broadband in Linux

Steve Lowry is picking up his Three modem this afternoon and asks on our internal Linux list if it supports Linux.

Read more ...


Visual vim mode identifier

Paul Kerry rants about his problems with vim over the cooler today, and as a long time vim user I found it hard not to respond to some of the points.

Read more ...


Instant web server

Among the topics on our Linux list at work today was a question from Luke Fletcher that I was expecting to unleash a flurry of emotional responses:

Read more ...


Making a nice home

Back in Kick_me_birthday_reminders I said:

Read more ...


Formatting CSV files in the shell

kemi asks in #bash:

Read more ...


Gentoo one liners

On our Linux list at work the topic of Gentoo usage arose again today. Originally, the topic was about interesting one liners used to maintain a Gentoo system. I found myself posting extended replies to some of the questions and I’m reposting a few of those here.

Read more ...


Importing gmail filters in mutt

On our company’s Linux list Ryan Abbott is preparing to move to mutt:

Read more ...


BTS as a task manager

Tom Marshall asks over the cooler:

Read more ...


Finding a window’s owner

Rach Holmes asks on our Linux list:

Read more ...


Sharing Xresources between systems

In amongst the rants in our watercooler channel at work comes this question:

Read more ...


Simple notifications in awesome

On seeing my window notifications in awesome from a screencast for a new project at work Matt Cooper asks:

Read more ...


Disabling cursor blinking in GTK+

Darren Roberts asks via the EADS Linux list:

Read more ...


Toggling settings in vim

As you can never have enough keybinding tips and vim helps to prove that, the tip for today answers Joshua’s question from ##purplism

Read more ...


Custom keybindings in the GTK+ file dialogs

In Fancy_awesome_theming I included a screenshot that, by accident more than design, spawned today’s tip.

Read more ...


Beyond simple tab completion

Matt Taylor wrote on the EADS Linux list:

Read more ...


Context aware diffs with git

Earlier this week Luke Cox asked in response to a patch I sent:

Read more ...


Fancy awesome theming

People, mostly named Neil Blake, who shouldn’t look over my shoulder ask:

Read more ...


Bugzilla mail with real names

John Bateman rants on the EADS Linux list:

Read more ...


“Kick me” birthday reminders

Tony Collins asks on the EADS Linux list:

Read more ...


Uber pink prompts

cookiemon5ter asks in #gentoo on Freenode:

Read more ...


Compiling C source in vim

The fabulous Miss Biddulph asks via the EADS Linux list:

Read more ...


Theming mutt

Jeff, a work colleague, asks via IRC:

Read more ...


mutt configuration snippets

mutt is my favourite MUA, one of the few tools I truly believe I couldn’t manage without. It is also one of those tools, along with vim, which can end up sucking away all your free time to configure it just how you want.

Read more ...


Proper keyboard shortcuts in GTK+

If you’re used to the old style GTK+ keyboard shortcuts, and find yourself continually closing windows when you’re trying to delete a word (like me) then add the following to your ~/.gtkrc-2.0:

Read more ...


Introduction to RCS

I’ve resurrected this text from my old UKFSN site because a couple of people asked me to, but I wouldn’t recommend using RCS to anyone at this point. It is mainly to help people who need to understand RCS because they have no choice, for example Gentoo users who are stuck with dispatch-conf (or so my mails tell me).

Read more ...