My Daily Routine as a Remote Freelance Developer

Since 2007 I’ve been living my personal Holy Grail – that of a freelance developer working remotely from home.

This, like most worthwhile things in life, has taken a large dollop of discipline, reliable broadband and at least one pair of decent pyjamas.

Over the years I’ve honed my Mon-Fri routine to the following :

06:00-07:30 – Get up and start working immediately on my “side-project”.

I find doing this non-client work a great way to prevent the inevitable build up of resentment that comes from always working for other people.

It also edges me closer to a very long term goal of living off the profits of my side-projects whilst sharpening the saw as I use these projects to experiment with things outside my comfort zone.

07:30-08:30 – Shower and breakfast.

Probably not a good time to multitask.

After breakfast with the family we’ll usually watch a tiny bit of TV together before they set off for school, largely so we know that they are (a) appropriately dressed and (b) locatable at a moments notice.

Time permitting I’ll do a quick “Morning Surf” of RSS feeds and Hacker News, with the longer reads shunted off to Pocket for when I have more time, finishing up with a quick scan of my Inbox for anything urgent and important.

08:30-10:00 – Work Block 1/4

Here is where the “real” working day starts. I work 6 billable hours per working day divided into 4 blocks of 90m. This is the first block.

Normally i’ve got a good idea of what needs to be done as a lot of my work is for regular clients, but if it’s a new client and a short project this first block is usually the boring setup of a local copy of their environment, getting access to code, etc.

During a ‘block’ I’m totally focused on the client’s project – I turn off all notifications except email messages from the current client via judicious use of Mail.app’s VIP settings,

10:00-10:30 – Reading Break

A small break from client work spent reading programming/business type books.

It’s been a long time since I read any fiction but it’s something I’m looking at getting back into.

10:30-12:00 – Work Block 2/4

Probably my “peak performance” block due to my usual morning influx of caffeine. One day I’ll prove that time undoubtedly speeds up during this interval.

12:00-12:30 – Lunch with my wife.

Highlight of the day – a  peaceful, at least during term-time,  half-hour catching up with my better half.

12:30-14:00 – Work Block 3/4

It’s all downhill from here. In a good way.

14:00-14:30 – Rubbing Virtual Shoulders

30 minutes of watching screencasts, YouTube programming videos, etc.  away from my regular desk.

One thing that petrifies me about remote work is that of of slowly becoming obsolete – and worse still, would I even know?

Catching up with the latest conference talks and technical trends makes me feel part of the community. In the absence of rubbing shoulders daily with other developers in an office this is a vital part of my day.

14:30-16:00 – Work Block 4/4

The home stretch, the final 90m client block of the day.

The last 20 minutes or so will be spent constructing an email to the client summarising the day’s events / next actions, although this is sometimes not required for regular clients who know to check up on Basecamp/Trello to track progress.

16:00-17:00 – Shutdown Tasks

Client work is over, so now I start on my time boxed  “Shutdown Tasks” to cleanly bring closure to the day. Currently these are :

  • log Invoice data for work done today
  • clear Inbox to Zero
  • plan tomorrow
  • scan personal To Do list for Tasks / Do Anything Urgent
  • check Job Boards for Remote Work opportunities (fortunately I haven’t had to do this for quite a while as I’ve been living off referral / repeat work, but this was a time-sink, and took up the majority of this shutdown task time)
  • if time left, work on some small To Do items

After 5pm I’ll generally not use a computer again unless absolutely necessary until the morning, and try to focus on relaxing/spending time with my family. This can cause pangs of guilt that I should be doing something more “productive” but Planet Burnout is not somewhere I like to visit too often.

So there you have it. I’m sure it seems highly regimented to some people, and the ‘free’ in freelance might be somewhat lost along the way, but I find the rhythm of the 90m blocks followed by a 30m break suits my energy levels well.

One obvious improvement would be the consistent introduction of exercise and/or getting out of the house on week days. I’m still searching for the best approach here – I’ve tried many methods but none have stuck, so I’m mindful that I’m currently a few tweaks away from an ideal schedule.

Anyway, I’m overly curious about other people’s routines, so would love to hear about your system, especially if you are a fellow remote worker.

git svn clone/fetch yet no files? This might help…

I’ve just spent some time wondering why a “git svn clone <repo>” followed by a “git svn fetch” was producing no files in the target folder.

This was puzzling, as the Subversion repository was upto version 423, and poking through the .git metadata I could see that the version information and URL of the SVN repo was all present and correct, but yet it would stubbornly refuse to pull down any files, merely presenting the following message :

Initialized empty Git repository in /Users/martin/src/projectname/.git/

Long story short – this particular repository had a non-standard layout where there was no trunk subfolder, so adding the -T option to specify the trunk location as the root like so :

git svn clone svn+ssh://user@example.com/path/to/svn/project -T

did the trick and the files started flowing again.

XCode Project Template bug on Snow Leopard

After a gap of almost six years I’ve been grabbed by the sudden urge to start doing some Cocoa development again.

Rather than get my old battered copy of Hillegass’ seminal Cocoa Programming for Mac OS X out of some long forgotten cupboard I’ve been refreshing my fading memory by reading the new Cocoa Programming title from the Pragmatic bookshelf, which, although still in Beta, is so far a nice breezy ride (back) into the world of Mac development, and more importantly for me these days, is available as a downloadable PDF – unlike the Hillegass title (sort it out, man!)

Everything was going well until I hit a chapter that claimed that I should have an application delegate class automatically created when starting a new vanilla ‘Cocoa Application’ project.

I didn’t.

Fighting my ‘this is obviously a Beta book problem’ mentality, I slowly discovered that my XCode installation is doing very strange things, even after totally wiping out my current installation and replacing it with the latest download from the Apple site (v3.2.1) creating a new basic ‘Cocoa Application’ would not give me the delegate files (and instead of the newer Xib Interface Builder format, I had the older style Nib format).

Very strange indeed.

Digging deeper into the mysterious world of XCode templates (i.e. poking randomly around the contents of /Developer/Library/Xcode/Project Templates) I discovered that yes, my Cocoa Application template folder, which is used as the basis of new projects, looked a bit suspect :

drwxrwxr-x   9 root   admin         306 May 18  2009 Cocoa Application
drwxrwxr-x   9 root   admin         306 May 18  2009 Cocoa Document-based Application
drwxrwxr-x   4 root   admin         136 Sep 24  2007 CocoaApp.xcodeproj
-rw-rw-r--   1 root   admin         157 Sep 24  2007 CocoaApp_Prefix.pch
drwxrwxr-x  10 root   admin         340 May 18  2009 Core Data Application
drwxrwxr-x  11 root   admin         374 May 18  2009 Core Data Application with Spotlight Importer
drwxrwxr-x  10 root   admin         340 May 18  2009 Core Data Document-based Application
drwxrwxr-x  11 root   admin         374 May 18  2009 Core Data Document-based Application with Spotlight Importer
drwxrwxr-x   4 root   admin         136 Sep 24  2007 English.lproj
-rw-rw-r--   1 root   admin         849 Sep 24  2007 Info.plist
-rw-rw-r--   1 root   admin         596 May 18  2009 TemplateChooser.plist
-rw-rw-r--   1 root   admin         263 Sep 24  2007 main.m

i.e. what the blazes are those “Core Data…” folders doing there? They are Project Templates in their own right and shouldn’t be within this folder.

Throwing caution to the wind (well, backing up the folder first) I pruned out these folders, plus the “Cocoa Document-based Application one” and the “TemplateChoose.plist” for good measure. Leaving it looking like :

drwxrwxr-x   9 root     admin         306 May 18  2009 Cocoa Application
drwxrwxr-x   4 root     admin         136 Sep 24  2007 CocoaApp.xcodeproj
-rw-rw-r--   1 root     admin         157 Sep 24  2007 CocoaApp_Prefix.pch
drwxrwxr-x   4 root     admin         136 Sep 24  2007 English.lproj
-rw-rw-r--   1 root     admin         849 Sep 24  2007 Info.plist
-rw-rw-r--   1 root     admin         263 Sep 24  2007 main.m

and all seems well within the XCode world again.

I’m afraid I have no idea what could have caused this, and the only other reference I can find to the problem is here which ties up exactly to what I was seeing, and proves it’s not an isolated incident.

Interested to learn if anybody has had a similar problem, and what the possible cause(s) are as I’m sure if it affected all Snow Leopard / XCode developers it would be more widely known about.

Old App Traffic Spike

ss_mainscreen.jpg

Many moons ago (well, late 2006) I wrote my first Rails application, a dinky little GTD app named ZenLists.

Now, I haven’t given the app much though for the last eighteen months, and the shocking confession is I don’t even us it myself anymore (I’m currently using a dazzling array of Stickies.app windows instead which I may cover in a future post) so I was surprised when casually browsing my site stats to see that there’s been a large traffic spike and a surprising number of registration e-mails coming my way.

That got me thinking either I’ve been spammed or some web design guru has put me on a list of ‘when CSS designs go bad’ type list as the interface is pretty crude, even by 2006 standards, but no, it looks like the app has been briefly mentioned in a list from Mashable of GTD apps.

That got me thinking, I really should do what the Cool Kids do and stick the code up on GitHub or something, as there’s the kernel of a half-decent application there, even if the code is a bit crufty by modern Rails standards.

Hmm…maybe I should also open-source the ‘DigiGuide for Mac’ clone I developed whilst watching the Superbowl about 5 (!) years ago. I just dusted it down in XCode and I’m amazed to see it actually still works! OK, it doesn’t do much apart from download TV data and allow you see select a channel and see what’s on, but again, it could be the basis of a very useful app without too much effort.

Crumbs, makes me wonder how many unreleased apps are lying dormant on geek hard drives around the world, that with a little brush of the TLC wand, might be of use to someone.

Ioncube for Rails?

Having just completed my first mISV product, I’m already starting to think about potential new projects.

Despite Datafeed Studio being written in PHP, it is fair to say it is not my programming language of choice.

Datafeed Studio is a web application that is installed by the end user on their server, thus it made sense to go for for the language that has the biggest support amongst web hosting services.

Of course, now that mod_rails / Passenger has been released, hopefully it wont be too long before Ruby does some catching up in the widespread availability and ease of deployment stakes. I understand that major web hosting providers such as Dreamhost are already offering support.

The second reason I chose PHP is to do with script protection. There are several PHP solutions out there to encode scripts to prevent piracy such as Zend Guard, Code Lock and IonCube (I opted for the latter) but seemingly none for the Ruby world?

My previous Rails projects have been SAAS based so I’ve never had to worry about this – but I have a mISV idea that like Datafeed Studio, would require the customer to install the software on their server, but the lack of script encoding / protection does unfortunately put me off using Rails in this instance.

Has anybody else been in this position? What did you do? Am I worrying too much about piracy concerns?

A New Micro-ISV Is Born

Well, I’ve only gone and done it, folks.

I’ve finally become a bona fide Micro-ISV (mISV).

Today marks the launch of my first product, Datafeed Studio – a web application that allows affiliate marketeers to create price comparison sites, niche online stores and product compare pages from CSV datafeed files provided by online merchants.

Running my own business has always been a dream of mine, I’d like to take this opportunity to thank those people who have inspired me to take the leap from the lucrative world of contracting into the far riskier realms of being a one-man product making machine.

First and foremost I’d like to thank my wife and two young ones for their support and understanding this year as I’ve been developing Datafeed Studio.

Other influences include :

  1. Bob Walsh – perhaps the voice for the mISV community. Micro-ISV : From Vision to Reality
    is still the mISV bible – I guess now I better start reading this in earnest.
  2. Eric Sink – author of another mISV classic.
  3. Steve Pavlina – former shareware author and now a personal development guru, always challenging, always inspiring.
  4. Business of Software forum. Maybe I can stop lurking now that I’ve earned my stripes and got myself a product? :-)
  5. Joel Spolsky – great musings on software development, and for FogBUGZ, which I’ve only just started using but it looks like it could save me a lot of headaches.
  6. Andy Brice – fellow Brit and a great contributor to the mISV community. Thanks for the software and marketing tips on your blog, Andy.

So – what’s the plan from here on in?

Well, much as I’d love to make a full-time income from my product, I don’t think that’s viable just yet.

By the end of this year I’d like Datafeed Studio to make 20% of my monthly income (the other 80% coming from freelance web application gigs (Ruby/Rails, PHP, etc.), which, yes, I am still available for if anyone is interested in working with a reliable, hard-working developer type).

I am to increase this percentage by 20% each year, so in five years all my income is from my own products. Well, that’s the dream anyway. Only time will tell…

ERH : Why should Linux be any different?

Elliotte Rusty Harold questions Linux as any normal consumer would – why can’t it use the same driver software as Windows?

Link : Mokka mit Schlag » A Stupid Idea for New Year’s Eve

I was asking myself the same question a few weeks back installing Ubuntu on a Sony Vaio laptop which has a native 1400×1050 resolution which it miserably failed to detect.

Only after a few hours of tinkering (i.e. Googling) did I manage to get it to work, but then there was the lack of sound, hibernate/sleep facilities, etc. and I was quickly back in Windows on that machine – and the comfort of OS X elsewhere.

(Those cheap Intel PowerBooks can’t come quickly enough.)

freelance web developer based in Cardiff, UK