25 April 2011

23 March 2011

22 March 2011
  • Inside Job. Caught this documentary on the flight back from Houston and it’s absolutely brilliant! I had no idea why AIG needed to be bailed out by the US government as well as the banks. Everyone really needs to see this film. (0) #

21 March 2011

Migrate Subversion repository

Posted: March 21st, 2011 | Author: Jon | Filed under: System Administration | Tags: , , | No Comments »

I needed to migrate an existing Subversion repository to a new server today, here’s how I did it:

1. Dump your existing Subversion repository to a compressed file.

svnadmin dump /path/to/repo | gzip > /tmp/repo.svn.gz

2. Transfer the compressed file to the new server.

scp /tmp/repo.svn.gz user@server:/path/to/

3. Create a new Subversion repository on the new server.

svnadmin create /path/to/repo

4. Decompress the repository dump file and import it into the new Subversion repository.

gzip -cd /path/to/repo.svn.gz | svnadmin load --force-uuid /path/to/repo

Notes:

  • The dump command will also allow you to switch between BDB or FSFS back end types (link).
  • The –force-uuid option should allow you to switch any checked out projects to the new Subversion repository location.

28 February 2011

Twitile in progress

Posted: February 28th, 2011 | Author: Jon | Filed under: Development | Tags: , , , | No Comments »

Thought I’d post a quick screen shot of the current development progress on Twitile – a web based Twitter client.

More news to come soon.


27 January 2011

Announcing hash.to

Posted: January 27th, 2011 | Author: Jon | Filed under: Development | Tags: , , , , , | No Comments »

Late last year I released the first version of my latest project – http://hash.to – a url shortener written in Java.

It’s pretty basic in terms of the functionality on offer at the moment but I decided to release the MVP rather than wait until I’d got round to implementing the rest of the functionality.

I know there are plenty of really good URL shortener services already out there but as a developer I wanted to create my own for a few reasons.

  • See if it was possible to create one in Java
  • Learn a different Java web framework along the way
  • Finally get round to using UrlRewrite in a project
  • Buy myself a really short URL
  • Create some web services that other developers can use
  • Above all else to see if I could!

As I mentioned it’s written in Java; Struts 2 is used as the web framework, Hibernate for ORM, UrlRewrite to manage the URL design, MySQL as the database behind the service all running in Apache Tomcat on a VPS from Bytemark.

I’m looking for as many people as possible to test/use the service and provide some feedback and right now you can get yourself some really short URL’s!

I’ve also created a blog on Tumblr for the service which I’ll keep up to date with any changes to the service.


23 January 2011

The Kindle

Posted: January 23rd, 2011 | Author: Jon | Filed under: Technology | Tags: , , | No Comments »

(Note: I started this post before getting a Kindle for Christmas.)

I’m very intrigued by the Amazon Kindle.

Up until now I hadn’t been tempted by any of the ebook readers available, a couple of things put me off. The price of those available in stores such as Waterstones and the doubt in my mind that the experience would be just as good as reading a book. This is quite strange in itself as I usually I don’t need much persuasion to want a new gadget!

Reading the reviews of it by Matt & Mark have, ever so slowly, increased the desire to own one. Especially Mark’s article, before reading it I was probably guilty of lumping the Kindle & iPad in the same category.

I don’t really travel that much compared to others in work but when I do I like to read on the plane, I’ve never been one for just listening to music. On the last few trips I’ve found myself struggling to decide which books to take with me, and slowly realised this is the huge benefit of having an ebook reader like the Kindle.

The price of the Kindle is another major selling point, at £109 £111 even if I don’t find it as good as reading a normal book it’s not a huge lose.

I’m intrigued enough to actually purchase one.


16 January 2011
  • Using MySQL as a NoSQL. Impressive results by bypassing SQL and using HandlerSocket plugin, maybe RDBMS do have a future in large scale solutions. (0) #