Tag Archives: hackfest

Code + Beer + Enthusiasm = Pune Hackfest

(Last weekend, the Pune Rails Meetup community organized a weekend-long Hackfest to build a Citizen Empowerment App. Gautam Rege, one of the organizers of this hackfest wrote this event report about the hackfest, which first appeared on the Josh Software blog, and is being re-published here with permission.)

Damn! Hackfests really work.

At the latest event of the Pune Rails Meetup – we organized a hackfest for the ‘second’ time (ahem – the first one ended before it started). This time however, we had a plan:

“Citizen Empowerment for Better Governance” – the aim was to complete the MVP for this in 2 days! We had a record attendance of 25-30 people on both days. I was skeptical of how much we could do, how much we can organize and if we can manage to keep everyone satisfied – it was make or break!

http://kipwiki.heroku.com — WE DID IT! This portal is almost complete (a few technical glitches but over all I would say it was success in more ways than one. The source code is hosted on github: https://github.com/punerb/kipwiki The hitch was that MongoHQ use v1.6 which does not support $nearSphere conditions for geo-spatial indexing — this causes our geo-location to go for a toss.

These are the lessons we learnt:

Pair Programming

This was not mandated but recommended (LoL — “mandatory pair-programing” — an oxymoron?). This photo says it all. Everyone paired with someone automagically — and it worked like a charm.

There were plenty of more modules build, tracked and tweaked. However, everyone was open to change, talking to everyone AND most importantly committed to “GETTING IT DONE”.

What we did

Initially,we had some mocks that we got confirmed – narrowed down the scope of work to 2 days, discussed with Peter at length what he wanted and then planned this hackfest. The first morning – we discussed the plan and with 1 hour we got down to business. This was our rails stack:

– Rails 3.0.7

– MongoDb (via Mongoid)

– Devise & omniauth for authentication

– mongoid-paperclip (with S3 as storage).

– Heroku and MongoHQ

– jQuery search result filtering

The Party continued into the night

Peter sponsored not just the lunches and dinners – but also ensured there was a steady flow of juices, snacks, fruits and beer! Shardul did not miss the chance to ‘showcase drink-fest’ 😉

Peter even bought a ‘Hackfest’ cake – what more could we ask for?

We worked on the first day till 11.30pm and then crashed to be ready for Day2. Day2 was very very productive and we were coding till 1.30am in the night to reach the finish.

Lots of beer, fun, ‘resolving conflicts’, ‘git blame’ games — and even doing something right like this one of Sergey! 😉

Coding, Designing and Testing

We were able to churn out a LOT of code indeed. But it did not start there. We had to design the web-portal with our designers, we had pivotal tracker to track stories and rspec to test the models. No we did not do ALL this. We used Pivotal tracker to check and evaluate stories and unfortunately we did not do Test Driven Development. Some of the things that we need to improve.

The excellent part of was that we had some rock-star programmers – who churned out a LOT of awesome code and we had some excellent designers who helped with designing.

“427 commits from 17 developers” and here is the impact:

We missed out on Test Driven Development!!

This is one thing that we need to do differently at the next hackfest. Its very important to see this work beautifully and always be ‘code green’.

All in all I think we are ready to be a part of RailsRumble later this year and I do intend to get Pune.rb on the RailsRumble map!

 

Rails Hackfest: Build a Citizen Empowerment webapp in a weekend – 11 June

Gautam Rege writes:

Pune Rails Meetup announces Hackfest: Citizen Empowerment web app for better governance.

After the post-adrenalin Rush of RubyConfIndia, we are proposing a HackFest which will get us all together to build a web-app. We cannot accommodate more than 25 people for this – so be quick to decide!

Come and go as you please at your convenience — The Hackfest is on for 48 hours!

The Brief

This is a web app to empower citizen’s to create ‘projects’ for better governance in your locality or city. For example, ‘Anna Hazare’s Anti-corruption’ campaign or the ‘Proposed Metro in Pune’ or the ‘Failure of BRTS’ or the ‘Tree Plantation Drive in Baner’, “How to Save Ramnadi” etc.

Projects can be Issues in your locality that you want the Government to look into or new Ideas to improve the locality or city that the Government should undertake. Using Viral Social Media, we can involve various representatives (RTI activist, social workers and government representatives) to take this up to the next level.

Sponsorship

In true Aussie spirit, this Hackfest is being sponsored entirely by Peter Spiers. This project is his idea and he is keen to see how much the Pune Ruby community can deliver!

He will be providing for Beer, pizzas and soft-drinks throughout the duration of the Hackfest.

The Hackfest

The hackfest scope, stories have already been outlined and updated on Pivotal Tracker! Those interested can RSVP for this meetup. If you are interested in the pre-planning process (design, architecture, stories etc.) please send an email to Peter and he will add you to the project on Pivotal Tracker.

Tentatively, this is what we are looking at:

  • Rails 3.0.x and Ruby 1.9.2
  • MongoDB as the data store
  • Devise + Omniauth for authentication
  • Cancan for authorization
  • Mongoid-geo for geo-location.
  • HAML & Sass for templating.

If you are interested in learning or contributing, don’t miss this event.

When, where, how

This event will start at 10am, on Saturday June 11 (tomorrow), and will continue for 48 hours. It will be in the offices of Webonise Software, Mantri Lavendula, Survey No. 52/4/B/2 of Village Bavdhan Khurd Pune.

You can join at any time, and leave at any time. The event is free. It is also officially “closed”, but that shouldn’t really stop a passionate Rails hacker from being able to attend. Just contact the organizers Gautam Rege, Anthony Hsiao or venue sponsor Shardul Mohite and plead until they allow you in.

See the Pune Rails Meetup page for details.