In order to provide valuable and consistent commit messages we follow the “imperative present tense” style for commit messages. Write the commit message as “Fix bug” and not “Fixed bug” or “Fixes bug”. This convention matches commit messages generated by commands like git merge and git revert.
When implementing some custom directives in Spray to handle pagination and sorting, it occured to me that the handling of the pagination and sorting might be applied nicely to a Chain of Responsibility design pattern as this would allow me to encapsulate different operations and allow them to be used together or in isolation, or with other, newer operations.
Ages ago I made a little Arduino hack which was a simple LED matrix with three faces; happy, neutral, and sad. I recently found a photo of it so thought I’d post it. It was called Harold. I’d like to say it stood for Helpful Assistant Redisplaying OnLine Data but in truth I just like the name Harold. :)
BBC Radio Tree is a Christmas tree you can tweet! The tree lives at @bbcradiotree on Twitter although in real life it lives in BBC New Broadcasting House in the Radio 1/1Xtra production offices. BBC Radio Tree will change colour depending on the hashtags you tweet and it will send you a selfie back to show you your awesome colour scheme!
BBC Radio Tree is a Christmas tree which can be controlled by sending colours to it via Twitter. The tree will then respond by changing colour and notify the tweeter. For 2015 I decided to upgrade 2014’s BBC Radio Tree v1.0 which had three colours to a new build which uses 256-colour, individually-addressable NeoPixel LEDs in a custom array. This is the build blog of the 2015 build.
A homopolar motor is a direct current electric motor with two magnetic poles, the conductors of which always cut unidirectional lines of magnetic flux by rotating a conductor around a fixed axis so that the conductor is at right angles to a static magnetic field.
Genetic Scala is a basic genetic algorithm implementation in Scala. The solution to achieve is a 64 bit number which is entered as the candidate solution. The fitness of each organism is it’s closeness to this 64-bit number and the process completes when an organism’s chromosome matches this solution.
In order to provide valuable and consistent commit messages in our project we use the “imperative present tense” style for commit messages and an operator to show the feature’s effect on the public API.
Mille (French for 1000) is an Android app which helps you learn French vocabulary by displaying a French word from the current 1000 most common French words with a sample sentence and three English translation options.
‘Locked In’ is a hack-day project that allows editorial teams to curate static and interactive content during broadcasts and push this to the audience in real-time, to engage and converse with listeners.
Last Christmas I had an idea for a tree in our office which you could interact with but ran out of time last year so this year I decided to build it, and the BBC Radio Tree was born! The tree lived in Broadcasting House where we work; in the Radio 1 / 1Xtra production offices.
During an IDEO Make-a-thon our team was tasked with looking at bicycle safety. For my part of the task I looked at a hardware solution and using an Arduino UNO, a LED/LDR sensor and some other components I hacked up a prototype bike light.