Hackday 2007 Review

25th June 2007 // Add comment

I guess this is kind of a review so in true geek style I will mark it up in hreview format.

Hackday 2007

Alexandra Palace

Wood Green

London, England

Wow, I am still tired a few days after the event. It was intense and stressful at times but a very rewarding experience.

The atmosphere was amazing and the spirit of the developers really shined through after the
act of god. Yahoo and the BBC were brilliant hosts and the location was spot on.

I can only fault the weekend on two things; I was not impressed with the food, there was no variety and not many healthy options and the wifi was patchy, going up and down like a yo-yo. It made development a challenge and because our idea was based around using web based feeds and APIs, with no internet we could do nothing at times. Not a great advert for BTOpenzone and CISCO.

It was clear that many of the developers that came to hackday do R&D a lot as part of their jobs or were experienced hackers. For me it is a very tiny bit of what I do day to day and most of the innovative thought I do is at home in my spare time. I certainly think that innovation and creative thought is an innate ability, but it certainly helps to practice it, as with any skill. It has really spurred me on to try and build hacking and prototyping into my weekly development routine.

It would be good to have more events like hackday in the Northwest. wink, wink, nudge, nudge Andrew or Dave

Tom Coates (one of the main event organisers) summed it up nicely in a blog post.

The project

Team puggle (our team name loosely named after a breed of dog ) hacked together iwondr. We basically created a communication layer between twitter and various feeds and APIs, this layer allowed querying of information from a tweet (a twitter message).

You could tweet “I wonder what is going on in Manchester tonight?”. The twitter bot would monitor your messages extracting key search terms then go off to the correct source, in this case upcoming.org, and try to find the information. It would then send a direct message to you if any information was found.

I do think the project was a good idea and we will be developing it further but I don’t think it could really be described as a ‘hack’, it was more substantial than that. James and Chris did a really good job of building the bulk of it and presenting at the end. Me and Russell tried to help as best we could!

Overall: Hackday London was a good weekend and I would definitely do it next year!

Overall Rating: 5/5

Reviewed on Jun 20, 2007 by Ben

Why are you not POSH?

26th April 2007 // Add comment

In the UK Posh is a phrase meaning upmarket, rich or upper class. Its origins are based in the cruise liner industry. The most sought after cabins that were frequented by the richer passengers on journeys to India were on the port side for the outward-bound journey and on the starboard side on the home-bound journey, because they were more shielded from the sun.

‘Port Out, Starboard Home’ then became abbreviated to Posh and attributed to the rich passengers.

But now it has a new meaning. Some big names in development world came up with the acronym POSH, meaning ‘Plain Old Semantic Markup’, with a goal to promote semantic markup.

What?

POSH is an umbrella term for using semantic markup and best practices when creating markup for your web pages. Its all about using the correct semantic markup to create structured content in pages, separating out this structure from presentation and other good practices to make your markup play nice.

Why are you not POSH?

To be honest it is not hard to POSH, there is not real excuse for not producing POSH markup.
So why are there so many web pages out there that are still not built with proper semantic markup. I would say its down to a number of things.

  1. Ignorance - not being aware of these techniques and best practices. Hopefully snappy acronyms like POSH will bring about more awareness.
  2. Laziness - “It takes too long to learn CSS. I’ll do this page in tables because its easier for me.”, come on son! call your self a professional, get with the times and learn CSS.
  3. Old code base - Legacy code that spits out table based layouts need updating and that takes time and money, both of which you may not have.
  4. You use ASP.NET, although things are improving slowly!

There are many benefits to using POSH and not so many drawbacks.

Benefits of POSH

  • Pages are easier to read and understand, therefore they will be easier and quicker for developers to maintain and debug.
  • Pages are more portable to other devices other that web browsers.
  • Pages are structured correctly making them more search engine friendly.
  • Pages are more accessible, easer to read by screen readers.

Drawbacks of POSH

  • Effort, you have to get off your arse and learn something new.
  • Having to update your legacy CMS which will take time and money.

I know that this post may seem a bit biased but I can genuinely not think of a good reason not to use POSH in your code.

If your CMS still produces tables and all manner of tag soup then bear this in mind. It makes bad business sense not to update your CMS to use POSH, you are limiting your potential market. A CMS that produces more search engine friendly and accessible markup will be more attractive to clients and may well give you the edge you need against other competing CMS’s.

How can I be POSH?

A good starting point is to check out the POSH page on the microformats wiki. There is a good checklist and resources to give your markup the POSH touch.

If I am preaching to the converted then help spread the word!

Instant Rails, RadRails and a broken console

9th April 2007 // 9 comments

This week end I was playing around with RadRails, putting it through its paces and seeing if I want to use it to develop my apps. I encountered a problem when I tried to use the Console.

  'irb.bat' is not recognized as an internal or external command,
  operable program or batch file

I did a little digging around on the internet and found out it was a problem with using Instant Rails and RadRails together. Instant Rails is a self contained development environment for Ruby on Rails on a Widows machine. It does not modify your system environment at all, as a concequence Windows did not know where to find my irb.bat file to run the Ruby shell for the console.

This is easily fixed though, all you have to do is go to

My Computer > Properties > Advanced > Environment Variables > System Variables.

Find the variable named Path, then click Edit and add in the following (this assumes you installed Instant Rails into a directory called InstantRails in your C drive, if not replace the path with your own path):

C:\\InstantRails\\ruby\\bin;

Make sure there is a ; separating the value you add and the current variable value. Windows will now know where to find the Ruby executable files. For completeness you could also add in some more paths to let Widows know where the executables are for MySQL, Apache and PHP.

C:\\InstantRails\\mysql\\bin;C:\\InstantRails\\Apache;C:\\InstantRails\\PHP

There does not seem to be a huge amount of support documentation out there at the moment for RadRails. I think this will improve soon. Aptana has only just taken over the RadRails project and are settling in at the moment, there is a good resource here for setting up RadRails and Instant Rails.

Clearing floated elements with or without structural markup: Presentation vs. Content

2nd April 2007 // Add comment

Recently in the office the developers having been having a debate about how best to clear the space below floated elements. It seems we fall into two camps, one using purely CSS and the other using an XHTML element with some CSS applied to it.

Before reading this post you may want to read Eric Meyer’s article Containing Floats which explains the clearing problem well.

What I really want to discuss the merits and flaws of both methods and try and decide which method is best to use. It is really a debate about whether or not to add extra markup to your XHTML document.

Read more »

Back from Holidays

8th March 2007 // Add comment

I have just come back from a very relaxing break in the Lake District. My girlfriend and I rented out a cottage and did lots of walking, reading and thinking.

Coniston village A picture of Coniston, the village we stayed in, from the other side of the lake.

It was nice to get away from the Internet for a while, I had no way of accessing email or RSS readers so the temptation was not there.

I think I really benefited from getting away from development. Not thinking about programming and new ideas for a while gave me a chance to recharge. I feel ready to get back to it and try to work at some of my new ideas to get something built.

I would definitely recommend shutting down your ‘web factory’ for at least a week to avoid burnout.

Welcome to Ben 2.0

18th February 2007 // 1 comment

Firstly I would like to welcome you to my new blog. “Oh yea another blog about technology” I hear you say. Hopefully this one will be different.

The motivation for this blog comes from the agile development principle of sharing knowledge.

Be a Mentor: By teaching others knowledge you have gained you can break down communication barriers and encourage the exchange of information, benefiting everyone. If I can help one person with a nugget of knowledge then I will be a happy man.

It’s not all selfless giving of knowledge. This site will keep me writing and thinking, preventing my brain from going on standby. Hopefully by thinking about what I want to write on this blog will give me inspiration for new ideas and projects.

Why is it called Ben 2.0

Because this is the second version of my blog and also a comical reference to the way that ‘web 2.0′ is an overused buzz word.

What is it going to be about?

Web development , design, programming, photography and general thoughts from my messy head.

Your blog is broken!

I decided that it would be better to get the blog live and then fix the minor problems later rather delaying the launch too much longer. If you find any bugs then contact me through the usual channels or the contact form.

I have a few issues that I am aware of, for example, it still needs to be tested in Safari and IE 6 (I don’t have access to these at home) and there is a little problem with the ajax comments form. Apart from that its just all minor changes to icons or typography and maybe a new Wordpress plug in or two.

Hope you enjoy!

PHOTOS

BITS AND PIECES

Bits of me scattered around the web.

SUBSCRIBE