18 Oct 2010

Dev Camp Pune Rundown

Last saturday, I was at Dev camp pune organized by thoughtworks. It was my first dev camp and I heard good things about the event held in bangalore. This was also my first time at thoughtworks office in pune, which I must admit is pep with a industrial shed kind of feel to it (specially the ceilings) I usually debate with myself at the net utility of attending conferences and meetups and most often the lazy in me takes over and I end up attending very few but dev camp had some amazing sessions on cards and so I was there. 

I was very interested in functional programming sessions on display but was disappointed because both clojure and scala sessions got cancelled, the first session I attended was on GIT object model and there were some good insights by Praveen on the internal representation and working of GIT which mostly concentrated on how git stores commits, trees and files using hashes and how do these change in case of branching, commits, tagging etc. Session was mostly hands on and he also demoed some low level git commands which I was unaware off. So far so good. 

Then came the good part, I stumbled into couple of college friends and we got to catchup over lunch. After lunch, we chose to attend applying functional programming patterns to OO by mark needham and it was a fast paced presentation showing loads of code C# snippets on applying functional programming, I feel the presentation lacked perspective on the why and benefits part. He briefly discussed functional programming ideologies but I felt it needed more coverage as functional programming is still not widely used in indian IT. I am sure most people attending confused it with procedural programming. Key outcomes from the presentation were:

1> Use functional programming in small changes to avoid duplication and for refactoring.

2> Functional programming in OO can lead to bad readability of code if overused. You tend to read inside out..

3> Functional programming is more about transformation of your mind as a programmer and the way you look at problems. 

4> The input-output paradigm is beautiful when it comes to building fluent api's ( like jquery ) 

We then attended Deep dive into nodejs by srikant, which was something I was looking forward to eagerly. The presentation started with some practical benefits and hello world type demos showing structure of a nodejs program. It again I feel lacked perspective and discussion on ideologies behind nodejs as to why everyone is talking about nodejs and why javascript is one of the most suited language for even driven framework. Srikant demoed a impressive application he built using nodejs and sinatra, rest of the session was dedicated at deconstructing code of his nifty application. All in all nodejs session was highly hands on but I would have liked it more if there was discussion on why part to put things in perspective, other thing I feel srikant could have stressed on is that nodejs is more suited at buiding network programs/services rather than building full blown web applications. I think this kind of led to confusion as many people asked on about production suitability of nodejs. All in all it was a great hands on session at one of the most exciting find of 2010 for me at-least.

The day was soon ending and I then decided to give DSL in groovy's a ditch over a lightning talk by Ram on scaling your infrastructure for large teams, this I feel was the best session at dev camp for its simplicity and Ram's presentation skills. He openly discussed the problems he face as sys admin at thoughtworks and the key lessons he learned at big projects, some of the important lessons learned were:

1> Virtualization is not just a buzz word, its real and can be put to use very effectively.

2> How SVN sucks for large teams and that replacing it with something like git is not just a technical problem but a cultural and people problem.

3> How ZFS saved his life more than one time. 

Dev Camp pune was a nice experience all in all and I look forward to attending more of these dev camps and maybe organizing such camps on latest and greatest in pune. 

21 May 2010

Drupal rates disconnect

There is a huge disconnect between american and asian market (mostly indian) when it comes to rates charged by drupal shops, I have not seen indian drupal shops charging over 40-50$/hr however established and number of years they have been in business. North American and European clients usually turn towards India, China to cut their costs and is but obvious that an attempt for straight comparison would be stupid, but even when you talk about proportions the best shops have a difference of over 6 times when it comes to per hr rates (50$/hr in comparison to 300$/hr) 

Why do you feel there is so much difference? Some things that comes to my mind:

1> The perception that going to india/china means multifold cost cutting.

2> Perception (and to some extent the fact) that the efficiency of these shops is much less than that of american/european counterparts (I am actually interested in efficiency aspects and how it affects the rates) 

Read the rest of this post »

21 May 2010

All your bases are belong to us -- Explained!

800px-all_your_base_are_belong_to_us_at_us-50

I have often used this iconic expression without worrying much about its origin until last night, the expression stems out from a broken translation of a japanese game called "Zero Wing". I find it very cute, the etymology of this expression. To put things in context the scene goes on like this (from wikipedia) -- 

Original Script Original English Translation Correct English Translation
機関士:何者かによって、爆発物が仕掛けられたようです。 Mechanic: Somebody set up us the bomb. Engineer: It appears that someone has planted explosives.
通信士:メインスクリーンにビジョンが来ます。 Operator: Main screen turn on. Radio Operator: The main screen is receiving a visual.
CATS:連邦政府軍のご協力により、君達の基地は、全てCATSがいただいた。 CATS: All your base are belong to us. CATS: All of your bases are under our control.
CATS:せいぜい残り少ない命を、大切にしたまえ・・・・。 CATS: You have no chance to survive make your time. CATS: Make the most of these last moments of your lives.
艦長:我々の未来に希望を・・・ Captain: For great justice. Captain: Our hopes for the future

This is funny and cute and is a classic tragedy which became one of the most interesting internet memos. (Source -- wikipedia)

 

16 May 2010

Hate is a lie -- Polyglots unite!

One of my favorite videos on approach to programming, the notion that there is no silver bullet to programming and there will never be one perfect language for all your needs is the mantra a polyglot lives by. For me a polyglot is an open minded infidel who sees his world beyond hate and security, he is someone who understands that perfection is not achieved by ant like dedication. He bend his tools for the purpose and not the other way round. 

Foy Savas on polyglots unite --- ( There is a much better slide-video sync version at infoq ) 

 

4 May 2010

Cave Diving -- Who is in?

Recently Vikram sent me a fwd'ed e mail full of amazing wtf pictures. This is called cave diving, so who is in?

(download)

27 Apr 2010

Do you really think matches are fixed?

Cricket is involuntary to us, we dont make plans to watch the game and definitely dont count it as a distinctive social activity. Whenever our heroes are playing we end up watching the game or inquire about it as its part of our life. We know that fielding cant change during the free hit or how many men would be inside the circle during the power play, name of a player is engraved in our minds after his first match, there is no better ice breaker between a father and son than a game of cricket. We sure love our cricket and live it as life.

There has been a lot of talk about match fixing in the recently concluded IPL, specially after the modi impeachment by media. There have been reports of modi revealing the outcome of match to his betting front way in advance and hence making serious money. These reports would also mean that matches have been fixed, the same game played in front of hundreds of millions of cricket lovers was fixed and pre planned. These I think are serious allegations, not only against one man, but against the heroes we revere and against intelligence of a cricket lover.

Read the rest of this post »

22 Apr 2010

Beauty in destruction

For some reason, all I can remember looking at these pictures is fight club and the dialogs from the movie. 

 Pictures taken from boston.com  

(download)

Dipen Chaudhary's Space

Mid 20's in love with movies and internet and in process of building a company called QED42