Another lock-down cover version with Penny, this time we had a go at If I Fell by The Beatles.
Friday, 14 January 2022
Sunday, 27 September 2020
Close My Eyes Forever
Monday, 25 September 2017
Summer's Over
I'm looking for a new opportunity, either within an hour commute of Poole, or remote working.
I'm a full-stack agile developer working in Java and Ruby with plenty of front-end JavaScript experience and a deep understanding of Linux based deployment platforms including AWS. I believe that dev-ops is critical to smooth delivery and have experience setting up an automated containerised deployment pipeline.
Although I'm happiest as a hands on developer, I've been coaching and managing Extreme Programming teams for the last 7 years.
My ideal job would also utilise some of my non-coding skills such as graphic design, video and sound production, music and art, but I'm enthusiastic about any problem I can get my teeth into!
So if you have something that might be of interest, please message me on Linked-in or email me.
Tuesday, 20 June 2017
Fight for a Secure Encrypted UK
Home Secretary Amber Rudd's leaked plan shows that she wants to force tech companies like WhatsApp to "remove electronic protection" and Internet providers to allow "near real time" access to our private online communications.
The Tories appear to see encryption purely as a way for terrorists to hide from scrutiny, but it also plays an absolutely essential part of everyday internet use. I use encryption whenever possible to reduce my risk of identity theft which could lead to financial ruin. It protects my business partners' and clients' trade secrets from corporate espionage. It keeps my connection to my bank secure and my medical records private. For the most vulnerable members of our society, encryption is the difference between life and death, safety and abuse.
I urge my representative in parliament Robert Syms MP to fight against putting back-doors into encryption technologies and communication services that don't just allow the government to spy on us, they break encryption entirely. There is no such thing as a back-door that can't be exploited by hackers; if one is added, it's only a matter of time before someone finds a way to exploit it.
Breaking widely used encryption won't expose terrorists, it will just push them further underground into the "dark web" where their activities will be harder to track. The only people who will suffer are peaceful civilians.
Thursday, 6 August 2015
MythTV not running mythfilldatabase on Arch Linux
In the mythfilldatabase log file the error message was
(Run) - tv_grab_uk_rt --capabilities failed or we timed out waiting. You may need to upgrade your xmltv graber(Run) - Grabbing XMLTV data using tv_grab_uk_rt is not supported. You may need to upgrade to the latest version of XMLTV.
- tv_grab_uk_rt is a python script that grabs the the UK Radio Times XMLTV listings
- mythfilldatabase runs the above (expecting it to be on the path)
- mythfilldatabase is run from mythbackend
- mythbackend is run as a systemd service (without the python folder on the path)
Environment=HOME=/var/lib/mythtv PATH=/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:$PATH
Which adds the Python path to the environment for mythbackend. Now tv_grab_uk_rt works fine.
Wednesday, 29 April 2015
Are We Nearly There Yet: The Agile Struggle
This would seem a reasonable question, but the answer isn't the one they're looking for - we've only just turned out of the end of our street at the start of a three hour journey. So I encourage them to look out of the window and tell me what they can see and soon they're enjoying spotting ponies in the New Forest.
At work, people sometimes ask "How agile are we?"... essentially "Are we nearly there yet?", but agile is a journey not a destination. Agile is a set of ideas that help you with the steps along the way, not a fixed state to be attained.
Even the project you're working on usually won't come to a deliberate fixed end. There may be a short period of bootstrapping to get to an MVP, followed by a much longer period of iterative improvements. The end is most likely a decommissioning of servers that have become irrelevant; a whimper rather than a bang.
A philosophy is not a way of reaching death as efficiently as possible, it's a way of getting the most value out of the life you live.
Don't be disheartened if your agile practice doesn't seem to be going smoothly. Agility requires a constantly self-doubting critical eye that doesn't accept the status quo and questions everything. If, day to day, you don't have disputes about the right way to do things, then you're probably not working in an agile team. When the process becomes static, you may have a simple life, but you really aren't delivering the best value to the business or yourself.
You will never reach agile nirvana, but you may find enlightenment and a sense of tranquillity along the way, because the way you handle the bumps on the winding road makes them seem flatter and the curves smoother.
Wednesday, 28 May 2014
Blog Ressurrection
I've moved all the old content to Blogger as I think it will require a little less maintenance on my part. Typo (now known as Publify) was a great tool, but I don't really need the customisability or flexibility that it provides.
Now that I have my platform back, hopefully I'll get back on the blogging horse.
Friday, 19 October 2012
EDS Killing Thunderbird
I’ve finally worked out why Thunderbird email has been almost unusable since upgrading my various Ubuntu machines to Precise Pangolin 12.04.
The symptoms were very sluggish Thunderbird interface response, leading to a segmentation fault crash. The crashes only happened sometimes and didn’t seem to follow a pattern of time from start-up.
The EDS Contact Integration Add-on seems to have been responsible. EDS is the Evolution Data Server and although I don’t use Evolution directly, I have registered my various Google and Twitter accounts, which apparently get pulled in by EDS too.
I have quite a few Google contacts (>700), so I can only assume that the add-on is trying to process them all.
Anyway, the immediate problem is solved by disabling the add-on. I use a google contact sync plug-in anyway, which works fine, so as far as I know I’m not missing out on anything.
Monday, 28 May 2012
Statistical Graphing with R
I have been collecting some metrics from the 8 agile teams that I work with and planned to create some nice visual reports to help identify software development practices that could be improved.
The data was initially in an Excel spreadsheet, so I used its built-in graphing capabilities which had been good enough for previous projects. I quickly found problems that made me want to look for a better solution;
- Difficult to create multiple graphs with aligned x-axes.
- Every time I wanted to use the same graph with different data, I’d have to either replace the data or tweak every graph.
So I tried Gnumeric, which has some nice graphing features, but its lack of pivot tables puts it out of the running. Libre Office Calc was much the same as Excel. I tried some Linux graphical plotting applications, the nicest of which was QTIPlot, which solved the common X-axis problem, but its vector output was poor.
Eventually I looked at statistical computing environments and settled on the R Project, a programming language for statistical analysis and graphing. It solved all the problems I was having with GUI based tools and in the process introduced me to a new way of explore my data.
R has a shell, so you can load some data into a variable and then start playing with it. You can easily filter data, apply matrix transformations and feed data through mapping functions.
Once you have the data in the shape you’re interested in, you can run it through one of the built-in functions, which give you lots of standard graph types, or delve into The Comprehensive R Archive Network (CRAN) which is a massive library of user contributed functions for graphing and analysis.
Once you have settled on the transformations and graphs you want to write out, you can write a script that outputs to various file formats, including PDF, SVG and Postscript. At the end of each iteration, I run my script that takes the latest data as a CSV file and outputs all the graphs I need for my report. When I think of new graphs I’d like to include, I add them to my script. It’s easy, reproducible, massively flexible and oh yes… it’s open source too.
Here’s a quick distribution graph (took maybe five minutes)…
This distribution of story estimates (in man-days) shows that;
- Even numbers are more popular than odd numbers
- 9, 11, 17 and 19 are never chosen, presumably due to rounding up or down to 10 and 20.
- There is a general preference for nice small stories.
All this was created with the following R script;
data <- read.table("data.csv", header=TRUE, sep=",")
small_quotes <- data$Original.Estimate[
data$Original.Estimate <= 576000 &
data$Original.Estimate > 0] / 28800
hist(
small_quotes, col=rainbow(40,0.5),
main=paste("Histogram of ", length(small_quotes),
"Quote Sizes <= 20 units"),
breaks=20, xlab="Estimate", ylab="Frequency"
)
Have fun setting your data free!
Monday, 20 February 2012
Learning Erlang Recursion
I’m learning the Erlang Programming Language and am currently working on the recursion exercise in the erlang course.
The min and max functions seemed pretty straightforward;
min([X,Y]) when X > Y -> Y;
min([X,_]) -> X;
min([H|T]) -> min(H,min(T)).
max([X,Y]) when X > Y -> X;
max([_,Y]) -> Y;
max([H|T]) -> max(H,max(T)).
min_max(List) -> {min(List),max(List)}.
But this is the best I could come up with for the Swedish Date problem; convert an Erlang date in the format {2001,02,03} to “010203″ recursively.
swedish_date() -> swedish_date(date()).
swedish_date(Date) -> swedish_date(tuple_to_list(Date), "").
swedish_date([H|T], DateString) ->
List = "0" ++ integer_to_list(H),
String = lists:sublist(List, length(List)-1, 2),
swedish_date(T, DateString ++ String);
swedish_date([], DateString) -> DateString.
Can anyone improve on that? I feel sure that recursion could help with the number of digits in each part of the tuple. 2001 → 01, 2 -> 02, etc.
Saturday, 1 May 2010
Another Painting
This time, from the north east corner of Ploscha Rynok, looking down towards the Dominican Church.
I had a brief chat with another artist, who's been painting around the square for many years. The chat was brief in no small part because of the limits of not speaking the same language. He showed me a press clipping of him painting in the square.
It's fun painting in such a busy place. Makes you feel like part of the action. Lots of people came up and had a look at the painting and several stopped to talk.
Batyar Day (Rascal Day)
Today is the day they celebrate “Batyarstvo” (an idle and debauched style of life) in L’viv.
A selection of smartly dressed rascals getting up to mischief and occasionally being reprimanded by the police.
Ploscha Rynok is heaving with people today, there’s live music, dancing and some deeply debaucherous foodstuffs.
Wednesday, 28 April 2010
Beautiful L'viv
I’ve been living and working in L’viv (a spectacular Medieval city near the west border of Ukraine) for a couple of weeks now.
I’m trying to learn a bit of the language, but it’s fairly hard getting your message across. Very few people who went to school during the Soviet era learnt English, because the chances of travelling anywhere where it was spoken were very slim.
Only people who have been in education in the last 20 years are likely to have picked up any English, so at the moment, the cut-off age is early-thirties.
Last weekend, I managed to find an art supplies shop thanks to some helpful ladies in a local art gallery. So I set to work sketching and painting one of the views from my balcony onto Ploscha Rynok (Market Square).
Hopefully the weather will be as good this weekend, so I can get out and paint somewhere else.
Tuesday, 9 February 2010
Fedora 12 RPM Fusion Smart Channels
I still prefer the usability of Smart Package Manager over Fedora's default package management programs, so here are my Fedora 12 RPM Fusion channels for Smart Package Manager.
Tuesday, 29 December 2009
Comments vs Readable Code
There is a widely contested mantra of Extreme Programming that says that comments are superfluous. Inaccurate and often out-of-date meta-information just makes your self-describing code and accompanying tests harder to read and understand.
However the opposite can seem to be true; how often do we try to decipher unpleasant code that has no comments because the mantra said that they were “evil”? It is dogma that leads to this problem.
It is important to remember that “no comments” is mantra not dogma.
Dogma is authoritative and not to be disputed, doubted or diverged from. That doesn’t sound at all agile to me. The word mantra originates in Sanskrit meaning “tool of thinking” or alternatively “liberation of thought”.
Dogma forces you to stick to practices that are believed to be good for you. Mantra can help you to re-evaluate your practices to find those that are actually good for you.
When you come to the point where you feel compelled to write a comment, think hard about whether or not it’s really necessary;
- Could I convey this comment by renaming a method or variable to something meaningful?
- Could the accompanying unit test describe the code better?
Can’t think of a good name for a class or method?
- Is the method or class trying to do too much (Single Responsibility Principle)?
- Could I break down this object into two that are easier named?
Okay, sometimes higher level architectural structures need to be documented, right?…
- Maybe the class that manages the high-level architectural pattern could be better named?
- Is a complex high-level architecture really giving you the required benefit if it is not easily understood?
Personally I cannot get to the end of these options without recognising ways of improving my code, although sometimes I’ve added comments to help me understand a large amount of ugly code, prior to refactoring.
The trick is to just keep thinking. Process is never an alternative to thought.
Tuesday, 6 October 2009
Monday, 20 July 2009
Speed Camera Law Change
It’s interesting how government measures that seem extreme in the first place are often only the thin edge of the wedge. It’s particularly worrying when it concerns human rights, but it happens constantly and insidiously. Many pieces of freedom restricting legislation have been passed “to combat terrorism”, in fact they tend to have no effect on terrorism and end up being used to spy on school children or prejudice the law enforcement agencies against anyone who expresses a point of view.
The introduction of GATSO speed cameras seems to have been the thin edge of another wedge.
Speed cameras were introduced “to reduce the number of people killed or seriously injured in road collisions”. This sounds great, less people hurt or killed, who could complain?
In order to ensure that drivers slowed down, UK law stated that GATSOs should be painted a highly visible colour (reflective yellow). Drivers would see the camera in advance and gently slow down to the correct speed for the road. Even with this law in place, the cameras were often either carelessly or sneakily placed behind other signs or foliage, meaning that drivers would see them at the last minute and either get slapped with a hefty fine or slam on the breaks, hopefully not causing a crash in the process.
Do they want us to be going to fast through these “accident hot-spots” so that more revenue can be earned?
In April 2007, the law changed so that speed cameras no longer had to be brightly coloured, visible from 60 meters or sited only on accident black-spots. This will surely further reduce any effect they arguably had on road accidents in the first place.
Another more rational part of the law stops companies that set up cameras profiting from fines issued. This closes a loophole, making your local council the organisation that profits. At least then, the money raised will go back into the system and will hopefully end up being spent on improving roads.
The clear message from the government is “Speed Kills”. Of course what actually kills is irresponsible driving. I’m not advocating breaking the speed limit, but delegating the responsibility for policing road traffic law to cameras that only care about speed means that people will drive however they like as long as they don’t break the speed limit.
Thursday, 9 April 2009
Rowridge Update
Seems I was a little hasty in demanding the head of light entertainment on a spike.
It turns out that the solution to the retuning of MythTV after the Rowridge frequency changes is to delete and recreate the entire Capture Card using mythtv-setup. I have done this and now all my channels work as they used to.
There must be some metadata that is incorrect for the new channel locations.
Thursday, 26 March 2009
My Rowridge Freeview Settings
Here are my Freeview tunings as of 25 March 2009.
The following channels do not currently work
ITV 1, ITV 2, ITV 3, ITV 4, Channel 4, Channel 4 +1, E4, More 4, Setanta Sports 1, Heart (radio), Rabbit, Smile TV 2, Teletext
| name | mplexid | serviceid |
|---|---|---|
| QVC | 3 | 13120 |
| 4Music | 6 | 25664 |
| bid tv | 3 | 14272 |
| smileTV | 5 | 22400 |
| TOPUP Anytime4 | 6 | 27328 |
| GEMSTV1 | 3 | 15840 |
| SuperCasino | 3 | 14560 |
| NETPLAY TV | 3 | 14432 |
| CNN | 3 | 15648 |
| Russia Today | 6 | 27456 |
| Community | 4 | 19968 |
| Teachers TV | 3 | 15808 |
| Television X | 3 | 15232 |
| Teletext | 2 | 8568 |
| Rabbit | 2 | 8634 |
| TeletextCasino | 3 | 16128 |
| BBC Red Button | 1 | 4479 |
| Directgov | 2 | 8576 |
| 301 | 4 | 19456 |
| 302 | 4 | 19520 |
| 303 | 4 | 19584 |
| 305 | 4 | 16768 |
| BBC Radio 1 | 4 | 18496 |
| BBC Radio 1 Xtra | 4 | 18176 |
| BBC Radio 2 | 4 | 18560 |
| BBC Radio 3 | 4 | 18624 |
| BBC Radio 4 | 4 | 18688 |
| BBC Radio 5 Live | 4 | 17920 |
| BBC Radio 7 | 4 | 18112 |
| BBC Asian Net | 4 | 18240 |
| BBC World Sv | 4 | 18304 |
| Ttext Holidays | 3 | 14784 |
| smileTV2 | 3 | 15712 |
| 1-2-1 Dating | 3 | 14816 |
| QUEST | 3 | 14498 |
| PARTYLAND | 3 | 14368 |
| SMOOTH RADIO | 6 | 26368 |
| Kerrang Radio | 6 | 26304 |
| talkSPORT | 5 | 22592 |
| Premier Radio | 5 | 22976 |
| Absolute Radio | 5 | 23104 |
| Heart | 2 | 8772 |
| The Hits Radio | 6 | 26560 |
| Magic | 6 | 26624 |
| Q Radio | 6 | 26688 |
| heat | 6 | 26240 |
| Gems TV | 6 | 27200 |
| Lottery Xtra | 6 | 27264 |
| Sky Text | 5 | 23680 |
| Setanta Sports 1 | 3 | 16096 |
| Virgin1 | 6 | 25856 |
| BBC FOUR | 4 | 16832 |
| BBC THREE | 1 | 4351 |
| BBC Radio 6 Music | 4 | 18048 |
| BBC Radio 5 Live Sports Extra | 4 | 17984 |
| CBBC Channel | 1 | 4671 |
| CBeebies | 4 | 16960 |
| Channel 4 | 2 | 8384 |
| Five | 3 | 12866 |
| CITV | 3 | 16032 |
| Dave | 5 | 22272 |
| E4 | 2 | 8448 |
| Film4 | 6 | 27136 |
| Fiver | 3 | 12928 |
| Yesterday | 6 | 25792 |
| Ideal World | 6 | 25920 |
| ITV2 | 2 | 8325 |
| ITV3 | 2 | 8294 |
| ITV4 | 2 | 8353 |
| Kiss | 6 | 26176 |
| ITV1 | 2 | 8270 |
| More 4 | 2 | 8442 |
| BBC NEWS 24 | 1 | 4415 |
| Sky Sports News | 5 | 22144 |
| BBC Parliament | 4 | 17024 |
| Channel 4 +1 | 2 | 8452 |
| Dave ja vu | 6 | 27392 |
| E4+1 | 5 | 22336 |
| ITV2 +1 | 6 | 27072 |
| Sky News | 5 | 22080 |
| Sky3 | 5 | 22208 |
| Smash Hits | 3 | 14592 |
| BBC ONE | 1 | 4163 |
| BBC TWO | 1 | 4227 |
| TMF | 6 | 25728 |
| Five USA | 3 | 12992 |
More on Rowridge Retune Nightmare
Looks like a lot of people have complained about losing channels. Apparently so far about 1% of the 500,000 households have called the helpline.
Friends of mine have had similar issues. One lives close to me and lost the same set of ITV related channels. Another lives near Salisbury (further from the transmitter) and has lost all channels except CBeebies!
I imagine a lot of people (like us) haven’t complained yet, in the hope that service will get better by the weekend. We need to get as many people as possible calling in, as they don’t seem to think there’s a real problem!
Here are my current channel settings, as requested by Ade, in case anyone wants to check their MythTV settings.
