Friday, 5 April 2013

Pibow: The Raspberry Pi Case

I didn't like having my much prized Raspberry Pi (loaned to me by a good friend) resting on a cardboard box looking cool but vulnerable to my quite regular drink spills and clumsy dropping of heavy and/or pointy items.  I wanted a box to put it in - so I got one.


Thursday, 4 April 2013

Self-employed poacher?

Poaching is where you 'steal' work from your employer by going direct to the client.  This is good because you get more work; this is bad because you annoy those that employed you and kills off opportunities for future work with them.

I am self-employed but only for a very short time - I have learnt so much during this first year. One of the most difficult things to get to grips with was not poaching work from others while proactively seeking much needed work.  I'm still not sure I got it right.

Saturday, 30 March 2013

Set up Android SDK and NDK

This describes how I got the tools required to develop an Android application written in Java with a portion of 'native' C code. It's only really worth using native code when you have existing libraries written in C you wish to use without rewriting them in Java

Friday, 29 March 2013

Playing Around with a Linux Server

This post describes how to install Linux and set it up as a home webserver from scratch.

Monday, 4 March 2013

Replacing Android Tablet Touchscreen

My niece cracked the front of her Vimicro Flytouch Android Tablet.  The tablet still booted up, the screen still worked but the touchscreen was broken.  This post is about how I replaced the broken touchscreen.

Friday, 1 March 2013

Mobile World Congress 2013

I received a call from Visionmill in mid-November 2012 about a job to create a video wall out of mobile phones for Mobile World Congress 2013 in Barcelona.  This work was officially confirmed as a World Record by Guiness in March 2013.



Thursday, 6 December 2012

if (Self-employed = good) ? Sole Trader First : Private Ltd Company;

Being self-employed is a rollercoaster.

I strapped into the fairground ride as a sole trader about 7 months ago during which time it feels like I nearly spilled out of my seat a couple of times.  There have been times during a quiet period that I wasn't sure if I was being dragged up the slope ready for the next wild ride or genuinely stuck at low-point.

When I first went self-employed I looked into the options (e.g. Ltd. LLP) and decided on sole-trading because there is little reporting and easy accounting.  One of the biggest drawbacks for me was that I wouldn't own a company, be a Director or have a cool name to trade under - pure ego strokes.

Friday, 26 October 2012

Quartz Composer Image Composition

I have used Quartz Composer to display messages from for example Twitter.  The raw data I am displaying includes the author's profile image, author's name, message content and the destination of any URL within that message.  I feed that data from a Mac OSX application written in Objective-C as a number of arrays.  This post explains how to take these constituent parts and arrange them within a single image that can then be easily manipulated.

Thursday, 11 October 2012

Objective C Singletons

I was writing my first app in Objective C using Apple's wonderous XCode IDE.  I had two view controllers launched from the nib to control a couple of views.  I needed to send data from one controller to another and had real difficulty.  The problem was that I couldn't use accessors to pass data, as I would prefer, because the viewcontroller objects weren't aware of each other.  After much reading, googling and 'youtube tutorialing' I settled on using a 'Singleton' object.  This great youtube tutorial by barrowclough was particularly helpful.

A Singleton is a custom class you create that can be accessed by any other objects.  It is declared in such a way that different objects instantiate this class they all end up with the same object. This means that the variables/attributes/properties of the Singleton can be get/set by any of those objects.

Saturday, 29 September 2012

Social media rss feeds

This post lays out how to access rss feeds of a number of social media sites.  I got the initial information from Digital Inspiration's post and some playing around myself.  The sites sometimes change the URLs so please let me know if any break so I can update this post.

Tuesday, 25 September 2012

XCode: Renaming classes, variables, methods, files

More often than not I give my classes stupid names or use unconventional capitalisation when writing code.  I have painfully crawled through code changing names by hand before but not only is that time-consuming it's very error prone.  XCode has a facility to quickly fix bad names without breaking your build.  It's called refactoring.

Tuesday, 11 September 2012

Rotating video clips

It's very easy to forget the orientation of your phone when recording videos leading to clips you have to watch with your head cocked to one side or holding your screen at 90 degrees.  Like this example: