Posterous theme by Cory Watilo

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. 

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 »

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)

 

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 ) 

 

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 »

Hardly Toxic

Is not the mountain far more awe-inspiring and more clearly visible to one passing through the valley than to those who inhabit the mountain? 

Pictures of Eyjafjallajökull before the volcanic eruption.

(download)

My mom finally asked me

Some 5 minutes ago, my mom finally asked me "What is twitter?" thanks to Shashi TharoorLalit Modi and the conventional media that most of the non internet savvy Indian moms are intrigued by twitter. They for once are feeling backward while TV news keep mentioning twitter and probably for the first time understanding virtue of internet. Twitter has now hit mainstream in India and with conventional media advertising for it, it has proved as the chosen platform for conversations. This is what users do to an idea, they take it to a totally different level and twitter must be enjoying what users are doing with the platform. 

My take on controversy:

1>  Don't give Shashi tharoor the benefit of doubt just coz he is uber cool politician with a twitter account, illustrious resume and a infectious conversationalist, I would wait for facts to come out and I think he was definitely upto something.

2>  Lalit Modi always too smart and too enthusiastic for his own good might be in a soup and might spoil for other franchisee. But it might lead to something very positive, which could open up things in BCCI and would bring out lots of sleazy stuff.

Read the rest of this post »

Boffter - Cool contextual commenting system.

Boffter is a contextual central commenting system that give your readers ability to comment on any section/paragraph of an article. As a content publisher or site admin Boffter allows your readers to express their opinion in context unlike traditional commenting systems (which are per article). It also allow readers to follow particular section in real time, I see it as novel and innovative evolution of 2 way interaction tailored to context, but the real use and application would very much depend on reaction of interwebs on granular level of interaction. There are many use cases for which I see boffter as a natural fit:

 
1> Sites which publishes how to's, tutorials etc would benefit a lot with ability to provide per paragraph comments. 
2> It would help sites with long articles (news sites) to keep interaction fluid across multiple pages.
3> Would help readers opine precisely and accurately without having to "Quote" things. 

Read the rest of this post »