Archives for September, 2010

Jekyll is a fantastic static site generator with a great little community of modifications around it and I've used it for my own blog and Penderry.com. However my biggest problem with it is the lack of a way to deal with a contact form. Of course, this really isn't Jekyll's fault as it's only built to create HTML pages.

Enter Sinatra stage left.

Sinatra is a rad little web framework, well a micro framework really - in fact it's so small the Hello World app is 5 lines long! It's also perfect for creating a contact form.

To combine the two I needed both of them to display the same layout since I didn't want to have to maintain two. The contact page needed the same layout as the portfolio page, so no sidebar. The easiest way to do this is to plug your Sinatra application into Jekyll's layout mocking up any Jekyll specific objects/variables you need to (like page). I did give using a header and footer includes a go but it broke validation, pah.

Mumbai

Posted on: Sep 18 2010

Coming into Mumbai's domestic airport we got to see a fair number of shanty town looking dwellings, contrasting what I'd read about the metropolitan downtown area. We booked a prepay taxi and headed outside to the taxi rank where, to my surprise and child like joy, they had incredibly stereotypical Indian taxis that look like they are from the 50's. They are called Black and Yellows (for their paint job...), have bench seats, usually no wing mirrors and are dented to hell. We took a ride in one of the mini van type ones to our hotel in Downtown. Alas, this was an hour and a half away... Sweaty!

Back to School

Posted on: Sep 17 2010

One of our main aims in India was to help out at a school we had vague ties to. The school had been variously described to us as an orphanage (and is indeed for children who have not had the best start in life, but also for others) and a hostel. We had assumed, before arrival, that it was a small school with 200 girls attending where we could help with teaching English. It actually turns out the 'school' is more of a community. Based on 5000 acres of land it is a charity run organisation with a large school, hostel for the children, various (large scale) cooking facilities, a water treatment plant, enough farm land to be self sufficient for 9 months of the year, a college/university, an old peoples home, a blind school, a general farm and more. Our initial figure of 200 girls is about right, however no-one thought to mention the other 2000 male students living here! Almost all staff live on-site and their are a good number of administrators and other personnel for things like building, farming, cooking, etc.

Diu - Home of Sand, Sea and Forts

Posted on: Sep 16 2010

Diu is a little island off the south coast of Gujarat that was under Portuguese control until some point (I'm vague on any actual sort of date or time frame....I'm no history buff). The general architecture is a weird mix of Indian construction with the loud colours that you see in a lot of Portuguese culture, made even more obvious when you see the grey pure concrete buildings being constructed next to the ADHD coloured buildings. Connected to the mainland by a bridge the whole island is pretty tiny at 14km in length. Apparently it's a big holiday destination in the high season but this is MONSOON so it randomly rained like rain is going out of fashion and everything was a fraction of the price (our hotel was 500 rupees a night instead of 1500).