Thursday, January 20, 2011

Fishworks @ Joyent

Today morning was an interesting detour from my recent routine of sleeping in late. I stayed up most of the night to catch Joyent's Cloud Analytics talk titled Solving Big Problems with Real-time Visibility into Cloud Performance. Of course, I was interrupted by The Real News' panel discussion on WikiLeaks after which I couldn't watch either stream to its conclusion, but it was a fun morning! :)

Back to Joyent- now that almost the entire DTrace team from Sun's Fishworks group has moved to Joyent, it was inevitable that they would retarget the real-time analysis technology they were building for Sun's storage line to Joyent's cloud offerings.

While the talk went on to describe the various statistics provided and how we could utilize them, most of the first half was a bunch of fun anecdotes from the Fishworks effort. It was nice to have Bryan himself tell us about the origins and need for DTrace and (more importantly) the serendipity that lead to Brendan's famous Shouting in the Data Center video!

Bryan Cantrill and Brenden Gregg have been busy modifying the Fishworks DTrace consumers to monitor SmartNodes and SmartMachines instead of disks in JBODs. It seems Joyent will soon be making these monitoring services available to all cloud users to allow fine-grained analysis of their production deployments in real-time.

The statistics seem to be presented primarily as a heat map of no. of ops at a given latency over time. The tool also provided for drilling down into specific programs/calls to refine the trends. The two of them also pointed out a number of commonly found patterns in such analysis and how they interpret them. It was a lot of fun to see these two ex-Sun h@k0rs bounce off each other as they presented their latest offering.

Here's wishing Joyent luck on their new venture and many more!

Monday, December 13, 2010

... beyond Programming (and Development)

Quite some time ago, I'd written about the difference between Coding and Programming. That idea has been long over due for update, so here goes.

Coding is about how you should write,
Programming is about how you shouldn't;
Development is about bringing it all together,
Solving is about putting it out there!
Coding as about the Language and Syntax,
Programming is about the Paradigm, the Thought Process;
Development is about Dependencies and Integration,
Solving is about Understanding and Reacting.
Coding is represented by the 'Writing' metaphor,
Programming is epitomized by the 'Construction' metaphor;
Development is idealized by the 'Evolution' metaphor,
Solving aims to bring 'Satisfaction' all over!
Coding defines the Solution,
Programming defines the Problem too;
Development defines who will solve it,
Solving actually does it!
Coding creates the Implementation,
Programming creates the Interface;
Development creates the Framework,
Solving creates the Application.
Coding is about "Getting it in place",
Programming is about "Getting to know it!";
Developing is about "Getting it across",
Solving is about "Getting it done!"
Coding gets you Paid,
Programming makes you Employed;
Development makes you Engaged,
Solving makes you Satisfied.
Coding is what we HAVE to do,
Programming is what we SHOULD be doing;
Development is what we LIKE to do,
Solving is what we MUST do!

Customer Care

Otherwise entitled...

How big boutique shops get away with crappy products that their primary customers don't use anyway!
Let's just get it out of the way, Standard Chartered Bank sucks! Leave aside the fact that they have a next to useless netbanking experience that starts off by making you set a password you'll probably NEVER remember because they have the most non-standard password requirements. Then, if you forget your password, you're only respite is to have a temporary password SMS'd to you once you've given them your ATM/Debit card number and... (wait for it) PIN! But it's not over yet, 'cause the temporary password just let's you create a new login. Yup, you read that right, not reset your password, but create an entirely NEW login; new username and password!


Oh, and did I mention that once you do manage to get in, you can only see transactions upto 3 months ago. Yes, your transactions... transactions you effected through your account beyond 90 days are only available to you on requesting a statement from a branch; and even they're not authorized to pull statements beyond 6 months! (insert face-slap here)

But that's just the online experience. On the ground it gets even better. Did you know that StanChart has less than 6 ATMs in all of Pune? To top it off, almost all are in reasonably remote areas; and the cherry is that you can never find parking spaces near any of them! Even though 3 of them are in branch offices. I'm not kidding, the last time I went to the ATM in Kalyani Nagar, I was instructed by security to park in front of the adjacent building! Following which I had to sign in at security and (surprise, surprise) walk up the drive-in on ramp that led to their office, where lay an ATM so that I could change the PIN on my ATM card. Thank you StanChart for turning a 5 minute activity into a 15 minute ordeal, we feel so blessed to be banking with you.

But here's where it gets really interesting. Because I ran up quite a bit of a balance in my account, they bumped me up to Preferred Customer. What that basically meant was that they assigned me a nanny to nag me every other day about 'investing' all that balance. And when I calmly informed her that I was looking at investing through other avenues, she actually got mad at me!

So, here's the question, how is it possible that big banks (at least in India) can get away with really bad basic services? My guess is that because we're not really their target group. We're just the sideshow they run to absorb spare capacity. The people they're really looking for a large corporate accounts and big ticket investors who want babysitters at their beckon call to run the bank errands for them. Let's face it, that's where they're probably making most of their money.

But then, that's just my opinion... who cares? I don't! I get much better service from my IDBI account; even if their netbanking site has horrible UX, at least you can do stuff on it!

Gettin' Groovy at the IndicThreads Conference On Java

This weekend I presented at the 5th IndicThreads Conference On Java here in Pune. This would be the second time I attended this conference and the first time I presented at it. I was pleasantly surprised that it turned out to be a whole lot more informative and entertaining than I expected.

Harshad Oak kicked off with the keynote on recent changes in the Java ecosystem. It touched on topics such as Oracle's purchase of Sun, new language features, other languages on the JVM and potential avenues for the growth of Java (viz, cloud computing and mobile development). He concluded with the interesting viewpoint that Java devs would do well to wait, watch and ride the change.

Having landed the first slot of the very first day of the conference, I was pretty nervous about setting the pace right for the event with my DSLs in Groovy talk. I think I did pretty well , especially considering I hadn't gotten any time to practice the deck... at all!

The presentation spun up quite a few interesting discussions such as:

A bunch of people asked me if there were any real world examples of Grails apps; I think the Testimonials page on grails.org should answer that sufficiently.


It was also nice to be followed by another presentation relating to Groovy. Aniket Shaligram of Talentica demonstrated the benefits and caveats of the flex-scaffold Grails plugin by quickly building an app from scratch within a matter of minutes. And I must say, I was very impressed by the Flex view scaffolding, much as I always have been by the HTML scaffolding in Grails. The one concern that I did raise was around this technique landing the team with two MVC apps that need to keep their models in sync; while Aniket assured me that they faced no major hurdles there, experience forces me to maintain a healthy dose of skepticism.

Another talk that was met with particular enthusiasm was Shekhar Gulati's demonstration of Spring Roo. Shekhar also live-coded a Spring MVC app with various bells and whistles (persistence, relationships, security, deployment to GAE, et al). The productivity accelerating qualities of Roo were intriguing, but I've always been a little reserved about it and about Spring MVC in general. I'll leave that argument to a whole other post. :)

The Unconference hour in the middle of day 2 was another highlight of the event. The group discussed various interesting issues such as:
  • technology conferences should present more code and less kool-aid
  • potential Spring Roo addons
  • application profiling tools (JProfiler, VisualVM, IBM Health Center) and their shortcomings
  • with Spring gaining traction, would enterprises look to Java EE6?
  • should enterprises look at tools/frameworks beyond Spring MVC and Java EE?
In contrast to the rest of the event, the two presentations from event sponsor IBM were mostly J9 pitches- thoroughly passable.

The Sun (ok, ok Oracle) presentation on new features in Java EE6 was a welcome refresher. Considering I've been out of touch with that community for quite some time, it served to reintroduce me to a lot of tech as well as bring me up to speed with what's hot there. CDI's cute use of annotation based qualified DI caught my eye in particular.

The networking and open spaces weren't bad either. I got to catch up with a few old acquaintances, make some new introductions, add a few twitter followers and earn some cool hashcred! In hindsight, I actually regretted not getting business cards printed, but the second slide in my presentation pretty much made up for that.

The ThoughtWorks brand carried me well throughout the event even though I did absolutely nothing to indicate I was a ThoughtWorker (big shout out to good ole' TW!) A lot of people wanted to know how ThoughtWorks operates, why I left and what I'm doing now, why others have left and what they end up doing after ThoughtWorks- a somewhat muted (from my end) set of discussions, but very interesting all the same. People were usually pretty surprised when I told that that I actually quit ThoughtWorks to figure out what I want to do next and that I was currently voluntarily unemployed! :)

Well, since this is a fairly contrarian blog, here's what I wish would have gone better:
  • better gender distribution; we ended up with just 1 girl in the audience on day 2 :(
  • the turnout was pretty low at under 50; is Java as a technology really over the bump?
  • demo'ing CRUD apps and then engaging in RDBMS-bashing in a NoSQL plug
  • Enterprise still looking at dynamic languages with skepticism
  • Harshad calling Scala a scripting language :P
All in all, it was a weekend well spent. Kudos to Harshad, Sangeeta and the rest of the Rightrix team for another well organized event in the city. And thanks for keeping it eco-friendly!

Oh, and before I forget IndicThread Java celebrated it's 5th consecutive year this time, so we got to have cake!

Friday, November 14, 2008

Fragments of a wanderer- Part II

Ever so tired you couldn't stay awake, but then go to bed only to end up staring at the ceiling all night long? Have I just screwed up my biological clock... or am I really losing it?!?

Ever wonder why we hear birds chirping at 2:30 n the morning? Have we messed up their biological clocks with all the artificial lighting?!?

Tuesday, September 23, 2008

Taking the stack for granted

I recently started off on a .NET engagement (my first actually) and I'm already p!ss*d 0ff !!!

It amazed me no end how much of the software on my computer .NET 3.0 and ASP.NET 2.0 simply assumed or installed without even checking too see if I really wanted to be tied in to it.

For instance, ASP.NET automatically assumed that all my apps would be floated on IIS 5.0. Interestingly enough, Visual Studio.NET 2008 also made the same assumption and required me to have a well configured instance of IIS up and running every time I OPEN my project! So now, I just leave my IIS instance up and running all the time; in fact, just like almost every other ASP dev would have to, I have the IIS service set up to start automatically on boot. :(

And when it came to security, every one just assumed that we were using Windows Domain User Authentication. ASP.NET even has its own sweet little group of users that run the sites and impersonate as users on them. You just grant them access and shazam! you're good to go.
Except now you're stuck with that group and any fine grained access control is going to entail some serious Active Directory management... that I'm not at all keen on!

What all this points at is how Microsoft seems to want to lock us into their stack. Given that there aren't really any other viable platforms to host .NET apps, we don't really have much of a choice in the components; but even when the options do come in, these assumed dependencies will raise the barrier to entry for those options to unsurmountable levels. So we're going to be stuck with M$, for ever!

I guess some people are just never going to get it.

Monday, July 28, 2008

Putting REST to rest

... or Why Implied Interfaces make for poor Implementations.

Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web.
- from Wikipedia

The term REST along with the principles it implies (or 'should' imply!) were put down in a doctoral disseration by Roy Fielding.

Actually IMHO, REST is just SOA and WS wrapped in a layer of OOP with just a generic Resource entity at the application layer. Even then, you kinda get to roll your own with everything- serialization, interaction, responses, validation...

Well... OK, I may have over-genericised that. But, the funny thing is, that's the funny thing about REST! It is very generic.

Even the primary 'Resource' definition is vague; the interface is almost completely implied-
  • POSTing to a URL creates a new resource (POSTing what?!)
  • I GET a resource referenceable at a given URL provided an id, otherwise... I get all resources at that URL (?); unless, of course, it is a singleton resource, in which case I get the singleton instance. :S
  • PUTting causes edits, although POSTs may behave in the same manner
  • HEADs can be used to detect the presence of a resource, while DELETEs... delete![1]
  • And I'm not even sure if OPTION and TRACE are relevant
And that's just REST over HTTP! Wait!! Is there any other REST?!? Well actually REST is a meta-architecture, it's protocol-agnostic. It's supposed to work for all hypermedia- so we should be able to do it over HTTP, FTP, SMTP, SNMP(?)...

What is hypermedia? Media hopped up on too much sugar?!? Well, the Oxford Dictionary defines it as
an extension to hypertext providing multimedia facilities, such as sound and video.
I don't know about you, but my brains just about ready to explode.

But wait, it gets better. Some people liked the REST over HTTP idea so much that they forked their own flavour. So Fielding has Vanilla, while (these guys) have Extra Fudge! (all puns intended) It's called Web-Friendly services- services that behave reeeeally well with HTTP. Basically services that behave like web pages. Whoa! I'm getting asmx flashbacks!!! So I'm gonna shut up about that now.

Then there's the Hypermedia As The Engine Of State Transfer people[2]. These guys really love the URL. To them the body is whatever it's gonna be! Now it's an XML document, now it could be a HTML FORM, then it could be a JSON object or, maybe, a hCard. I'm sorry, but I can't comprehend this comically 'uniform' interface where your interaction modes are implied, reference end-points are overloaded and results are undefined, or implied, or... did you say they're documented somewhere?

The question I arrive at, then, is- why do we want to be RESTful or Web-Friendly? The loudest argument I hear is that the infrastructure has has already been laid; web servers and proxies with caching, DNS servers, IP routers with path optimization algorithms, the whole kahuna! Think of all the automatic performance gains arising from all that caching! All the more reason to stick more stuff into the URL and fill up those HTTP parameters you never thought to use until now! You just ride the wave!

Hmm... it would seem that REST intends to counter the end-to-end principle by allowing for intelligence (optimizations) at the nodes, but that's a little too debatable; so <sidestep />.

But stepping back a bit, lem'me get this right. We're trying to fit an application protocol directly over a document delivery infrastructure? You've gotta be kiddin' me! I'm not saying this can't be done, just not without a cost- TANSTAFL. Just think about all the time you're going to spend on deciding and negotiating a wire format, and corresponding responses. And that's just one wire format. REST talks of 'representations', a resource could have more than one wire format! I don't know about you, but I've had trouble getting people to understand one wire format right, and now you're telling me they're gonna want to send 'resources' in XML, JSON, YAML, HTML, delimited strings, multi-fixed and EBCIDIC? Over my dead body!!!

Plus, the wireformats are completely arbitrary. Every resource implementer gets to pich their own. So you end up having to 'understand' the specific wire format of every resource you interact with. And by 'understand' they mean RTFM. So much for convention over configuration. Just too much Knowledge in head vs Knowledge in world.

Actually, the wire format is where it gets really funny. XML just had the attribute-element dilemma, REST elevates it to the payload-parameter dilemma! Most Web-Friendly service makers get away without a body to the requests, they just stick a bunch of 'required' HTTP parameters on to the resource URL. So much for 'representation' of 'state', we're back to representation of output. Why does this remind me so much of WS?

I think REST could find application in internal applications where the domain model is well defined, where resources and their interactions are well defined. But I'd still be skeptical because I tried that once at work and we kinda crashed and burned. The biggest brick wall we hit was latency. Given the 'resource' unicycle that REST provided and the specific verbs HTTP provided made our resource interactions multi-stage, especially since REST is stateless. When updating a resource, I wanted to GET a representation of the current state of the resource, modify it and PUT the modified state representation back into its place. But others on the team felt that adhering to those principles added unnecessary communication overheads and chose to add interaction verbs, which was conveniently provided for by ActiveResource. Oh, and that's just when we were not arguing about the wore formats.

Honestly, if you ask me, the only reason REST wont go down the tube like Hailstorm is because it's community driven, not governed and controlled by a megalomaniac. Everyone gets to roll their own and even fork while still calling it RESTful. But even if it does last, I think it's only going to be a buzzword that we'll all have a good laugh about in a few years-

Raj: Hey Saager, we're building this new service for so-and-so and it's accessible via, get this... RESTful resources! :D
Me : Wait, are you sure they're not Web-UNfriendly?!? =D

1 the DELETE's about the most logical thing I got so far! :P
2 sorry Dave, your post is the only one I could directly reference to HATEOS

Tuesday, November 27, 2007

Here's a thought... ActiveRecord in PL/SQL

With all the talk about putting logic in the DB and hiding SQL behind stored procedures, wouldn't it be really intuitive if Oracle simply provided a default ActiveRecord implementation for every table in the DB? So, instead of returning a vanilla record type, FOO%ROWTYPE would return an Oracle-generated Object type that had accessors/mutators (getters/setters) for all the columns in table FOO and methods to UpdateRecord and DeleteRecord along with a static method to AddRecord. If you want to avoid any collisions with existing syntax, we could simply have a new attribute- something like FOO%OBJECTTYPE.

My experience shows that most reluctance to encapsulate SQL behind PL/SQL programs stems from the fact that people actually have to write (and subsequently maintain!) that wrapper code. People just don't want to do the donkey work (write the same boilerplate code over-and-over agian for each Table). And personally, I don't think a code generator is very good in this case either. The generated code simply breaks down under maintenance (add/modify/drop column from table).

But, what if all that was done by the database?– CREATE the Object Type when a Table is CREATEd and propagate changes whenever the table is ALTERed; plus maintain the accessors (which could very well enforce the integrity constraints declared on the Table)!

It'd be a great way for the Oracle community to show some benevolence towards (lowly! :P) application developers who can't write PL/SQL even if their life depended on it, let alone SQL!

Also, if you left the <Table>%OBJECTTYPE as NOT FINAL, those who can write PL/SQL could extend it to add even more (business) logic in the database! Whopee and horaay!!!

Friday, October 12, 2007

Easy ain't Good!

Just last week, I managed to finally put down Donald A Norman's Design of Everyday Things (DOET)- a fascinating read about the little frustrations of everyday life inflicted on us by impatient capitalists and disconnected designers (or any combination thereof!). However, as I was reading the last chapter, the case study entitled How Writing Method affects Style got me thinking about how we tend to ignore the flip side to advances in technology in favour of immediate benefits.

A little background- Donald Norman's case study describes an accelerated timeline of writing techniques from the quill-and-ink up to voice-recognition. He observes that with advances in technology making it easy to...

  • write almost as fast as you think; and
  • correct mistakes
... our writing has become more colloquial and unstructured. [However, he does go on to say that newer tools such as voice-based word processors help maintain structure; but the colloquial nature still remains]

To study a more concrete subset, parallel observations can be drawn from the advances in written communication, as opposed to just writing techniques.

We have come a long way from traditional letter writing to recent voice-based solutions. The pen-and-paper letters were well structured. They would be drafted and then... re-drafted! Sentences would be rephrased and reworded to present the most content using the least amount of text. A lot of thought went into such communication, because you knew this wasn't a dialogue and you wouldn't have a chance to explain any misunderstandings, atleast not very soon.

Then, somewhere along the way, we invented the Memo. In our effort to be short & pithy we (mostly) ended up vague & ambiguous. Soon, computers brought us email, letters in binary; and it was good for some time. That is, till IRC invaded the web. Slowly email turned into a sort of e-Memo and chat took communication by storm. Now people consider it normal to be bombarded with a string of 'electronic communique's. The fact that the line between chat and email is growing thin is proven by people who choose to carry on lengthy one-line-conversation chains over email.


To consider similar progression in an alternative technology, how about publishing and retrieval of online content? Online search and indexing services such as Yahoo and Google proved to be a boon. They helped us sift through the glut of information dumped onto the web as a result of years of indiscriminate publishing by people who finally found a medium to vent their 'creative' outbursts! Somehow, I always thought that search engines were invented out of the necessity to find signal in existing noise. However, they ended up becoming invitations to generate EVEN MORE noise. Armed with the knowledge that some web crawler will eventually index their site/blog/micro-app, the Web 2.0 community got busy building more-and-more 'information' into the web in the form of opinions, reviews, cross-blogs and flame wars!

As if that wasn't enough, Google gave us GMail! A direct invitation to actually CREATE a greater waste of resources. Just think of the volume of useless email still sitting around in your GMail account, just because Google gives you 2 GB of storage space. In this day and age of environmental preservation, I shudder as the sheer waste of resources- mail storage space, connected storage media, CPU cycles, electrical power, heat emanated by these devices, energy wasted on resulting cooling... and Google itself isn't far behind in the waste with it's ultimate redundancy matrix!

The following line pretty much sums it up.
Ease can also lead to callousness.

Seems like every day we're making it easier to waste some more.

Update 24-October-2007: Great! Another invitation to create greater waste!

Wednesday, September 12, 2007

The Purpose of Software

I've been meaning to write about this for quite some time and now I've finally found a forum.

This post on Dratz's Confessions of an IT Hitman isn't the first place where I've heard this said. Although I wouldn't go so far as to say that Chet is completely biased towards data-centric-thought-process and Databases, his letter to the CIO was a little one-sided; probably because he was trying to drive his point home. I am more inclined to lean towards Ralph Wilson when he reiterates the old addage that if a hammer is your only tool, every problem is a nail.

I'll admit- Data is the most important artifact that business generates. But, IMHO, the most important output of the software development activity is, by far, the simulation of a business process.

This follows the analogy that every program is a process-

a systematic series of actions directed to some end.

A program/system 'does' things; most evidently facilitates, automates or accelerates a given business function. Well, atleast good software.

Data generated by a system changes as much as the business processes that generate it; in fact data goes out of date faster. Today's data will be archived and stored for 'future reference', but will rarely be in 'active duty' as long as the processes that manipulate it. For all Thomases doubting my experience in this matter, I work in a team that maintains a Mortgage Origination System used in North America by a MNC bank. We recently wrote a job that archives data pertaining to about 8,000 mortgages every month; and they just archive unprocessed loans, add closed loans to that and the monthly figure would sky rocket.

Anyway, getting back to the point. I believe there is some merit to Chet's point of putting logic in the database, but...

you should put as much of the logic in the database as humanly possible

is a little extreme! I mean I don't want to run an INSERT and have an ORA-06502: PL/SQL: numeric or value error thrown to know that I entered one-too-many-zeros or entered a date in the wrong format! Trust me, there's dudes who stretch the idea this far.

Sidenote: Several situations warrant the temporary storage of data that doesn't meet all the integrity constraints. Well designed UI's would allow users to set arbitrary savepoints- even when ALL required data has not been entered. Think of all the times you were filling up a 53 field web form; and realized at field 24; that you need to run down to the drawing room to pull out the referral code for a vendor discount printed on a coupon that you got in the mail 3 months ago; but you don't want the form to timeout while you go fish the coupon out of the bowl in which you keep all of your discount coupons. So, you're sitting there gritting you teeth, seething away, wondering why the fr*cking developer didn't think of putting a SAVE button there! And when you do put one in, if the application is tied in to the database- you have data in inconsistent state; or you end up designing a schema that doesn't enforce all the integrity constraints declaratively. That's where a Domain model (sprinkled with a healthy dose of the NullObject pattern) comes into picture.

Good design is about tradeoffs. I'm not promoting 'Rail'ed webbers who think ActiveRecord is a Silver Bullet, but I'm also not saying that the ActiveRecord Pattern doesn't have any merit. IMHO, it can be implemented as well in PL/SQL as it can be in Ruby/Java/C#. The point is- where does it make the most sense given the constraints (environment) you are working with?

The notion that data is the MOST important thing in an application leads to the development of webapps that babysit single dimensional databases.

That's just saaad! Where is the CREATIVITY?

Update (04-Oct-2004): This just hit me, given that replacing an application (medium-to-large-scale purpose built, not some COTS) almost always involves data migration effort, representation of data (database) is as transient as the process (application)!

Monday, September 03, 2007

Fragments of a wanderer

It's been too long since my last post. In my meanderings through the lonely forest, I stumbled upon a familiar voice, words from an old friend.

My mind wanders past the signs in my subconscious–

The world is an alien place; ideas I don't need, much less want, are forced onto me; my dreams come not to me anymore; tranquil sleep is but a distant memory.

Everytime I think about that, I wonder if this is the world we leave for the generations to come; will this be our legacy? Have we failed our unborn children, just as we accuse those before us?

Or... could I just be looking at it all wrong?

I think it's going to be a while before I can write straight again.

Wednesday, October 04, 2006

Do Developers make good Managers?

Well, turns out someone took note of my last post. (They did, however, refrain from posting a comment : ) One of my colleagues hinted that my definition of Leadership was... incomplete.

Here's the deal, I wanted to illuminate some very specific issues arising out of the concept of Leadership (with capital el) in Software Development Teams. As TDM & TRL indicated– in small groups of skilled professionals, it's hard to put one person in complete control without creating sociological issues. Added to all the other little frustrations of corporate life, these can very easily take you over the edge. Especially these, as team sociology tends to get VERY personal.

I'm guessing that adding the Leader role to teams is a direct consequence of Management's excessive need to delegate out the Manager role, aka Turning Developers into Baby-sitters. Management just seems to want a 'guy on the inside'! But, how wise is it to pick an insider (someone who's already inside the team) and switch roles?

What I'm really trying to get at is that (IMHO) Developers (REAL, HARDCORE developers) don't make good Managers... or Leaders... or... whatever you want to call that abomination of delegation! I prefer Field Manager in specific and Manager in general.

In creative collaborations, leadership is always situational. Each aspect of the problem invites the creative excellence of one or more team members. I don't believe any one person can 'drive' a sizeable effort from inception to conclusion alone. The Skill Sets (sociological as well as operational) required for these two roles are just too diverse for one person to cover! They have different Objectives; Their Interests and Incentives are usually in conflict... I mean how can you
put an individual in this situation? It's almost HARASSMENT!!!

Parting thoughts:

Managers give you a goal and let you figure out how to achieve it, monitoring along the way.

Leaders give you a direction to achieve your goals, walking along the way.

Friday, September 15, 2006

Definitions so far

Just a list of concept posts I have written so far, will try and keep it updated.

Endnote: Why definitions are important.

Thursday, September 14, 2006

Defining Leadership

From the Oxford English Dictionary–

[to] lead (v): conduct, guide, esp by going in front; direct movements, actions or opinions of
leader (n): person followed by others

So, let's go over that one more time.

person followed by others... directing their movements, actions or opinions

The whole thing instantly conjures up images of a Seargent carrying his platoon through the tall grass or a Captain marching his company into battle. Respect, Trust,... Glory!!!
So what's wrong with that? Nothing, except that contemporary corporate culture seems to be the only place where the word Leader immediately follows the word Team. "So,” you ask, "what's wrong with a team having a leader? Most normal thing in the world!" Or so you think...!
If you look at the above analogies colsely, you will notice that neither a platoon, nor a company is a team. They are hierarchical structures built into the military chain of command!
A Team is...

... made up of peers, equals that function as equals.

Peopleware
By Tom DeMarco & Timothy Lister


Even the military accepted this when they came up with the idea of special-purpose (ops) teams. Such teams comprise specialists who set aside their ranks to funnel their respective skills into attaining a single, common goal. Teams in our industry have no reason to be an exception.

For all the deference paid to the concept of leadership (a cult word in our [software] industry), it just doesn't have much place here.

Peopleware
By Tom DeMarco & Timothy Lister


Managers/Leaders are never part of the team for the simple reason that they can never be peers; another point sufficiently emphasized by TDM & TRL.
Besides, we're talking creative people here. Creative people are inherently Intelligent! They don't need to be led around like some pack, and they sure as hell don't want to be!
What's even more amazing is the kind of stuff that gets passed off as Leadership qualities, things like:
  • Charm (:P)
  • Persuasiveness (:S)
  • Getting things done (!)
  • Maintaining the status quo (:o)
  • Assuming authority (out of the blue!)
Parting thought: With all the talk of situational leadership, we seem to want the same people to pick up the flag in all the situations!

Thursday, July 27, 2006

When do YOU look at the user?

Think about it. You're putting in this cool new feature, it's going to save the users a lot of time, give them a ton of functionality and, hence, save them a truckload of money. AWESOME!

So, first we nail down the functionality... right? WRONG!!! First you figure out how the users will exercise the new functionality, because that's what you're ultimately giving them- a new user experience. a new interaction mode.

Unless you make sure the user is going to find the new interaction intuitive, any new functionality, however efficient, is a burden. If you make the user jump through a lot of hoops just to do his everyday job, your new feature SUCKS!!!

I actually experienced this first hand recently. We enhanced the TIL Regulation dashboard in an LOS to allow the users to monitor loans as they get dangerously close to the limits and notify them once they fall over. I actually reordered all the controls on the screen just to keep logically related data together. The new design was so intuitive that the Business Analyst approved it in a heartbeat and sent out an appreciation note! (Pat myself on the back)

At the same time, another team member was working on the screen used to configure the regulation limits. Man did they miss the bus! They wrote up the whole screen, new popups et al, and then sat around thinking, 'What if the user checks this but doesn't fill in that...?' WHOA! When he asked me for an opinion, I said that the new validations he was thinking of were cool, but, '...wouldn't it have been much more logical to have thought about this BEFORE you built the whole thing?' Nevertheless, he ended up putting in the validations (in this screen and a few others!). Rework can be such a productivity killer!

The user always comes first. Kathy Sierra agrees in her blog post captioned Ignore the competition.

Monday, July 17, 2006

Turning Developers into Baby-sitters!!!

That's it! I've had it with management covering up their incompetence by 'delegating' work to developers. Enough is enough of this garbage. Ju-JUST BACK OFF... Immediately!!! And do your own work, YOURSELF!!!
Isn't it really annoying when you have to fill up the same data into five different systems (each designed for a specific objective), then wonder if you filled it right everywhere, then draw up a reconciliation sheet because SQA doesn't see the same data as Finance as HR as ...!!! AAARGH!!!
God! Why can't these managers just figure out exactly what data they need and figure out a single source that they can all extract it from. Then we wouldn't have to wast our time filling five different datastores, and reconciling the differences!
Joel Spolsky got it right when he said
...the MBA-types in charge think that coding is a support function, basically a fancy form of typing.
I'm convinced that most people think about software companies in an upside-down way.

Tuesday, June 20, 2006

Lessons Learnt

I haven't exactly been soul searching, but here's my list...

This entry is waaaay overdue! 5 months SUCKS!!! I definitely need to post more often.

Fight the PROBLEM, not the PROJECT

Never compromise

Always understand what you're getting into

Don't hold on too hard

Assumption is the Mother of all F**k-ups

I am a Maven looking for a Connector

Don't bite more than you can chew

Friday, January 20, 2006

Who da Man ?!?

I read a blog comment on our corporate intranet recently that said,

Modern banking isn't dependent upon IT, modern banking is IT.
Now there's a repulsive thought! How does anyone get off suggesting that IT could, or already has, taken over or replaced the Business it services? A specific business process implementation does not subsume the business function that it defines. Business Funtions (such as purchase, sale, accept deposit or lend) are independent of and supercede the means applied to realize them.

IT is not Business! IT doesn't run Business; People run Business. People are defined by their Actions; and Actions are channelized and automated using IT.

IT is merely a business facilitator/accelerator. What we really need to be focussing on is figuring out ways to shift from the Facilitator role to that of an Accelerator. That's where the real business propositions lie.

Basically, we ain't NEVER da Man!
We ain't NEVER GONNA BE da Man!!

So let's just get used to playing second fiddle to Business. Besides, why should IT be anything but IT?
We are Who We are.

Sunday, January 01, 2006

Coding vs Programming

Coding is about how you should write,
Programming is about how you SHOULDN'T!
Coding as about the Language and Syntax,
Programming is about the Paradigm, the Thought Process
Coding is represented by the 'Writing' Metaphor,
Programming is epitomized by the 'Construction' metaphor
Coding defines the Solution,
Programming defines the Problem too!
Coding creates the Implementation,
Programming creates the Interface
Coding is about "Getting it done...",
Programming is about "Getting to know it!"
Coding gets you Paid,
Programming makes you Satisfied.
Coding is what we HAVE to do,
Programming is what we SHOULD be doing!

Monday, December 26, 2005

Benchmarking Expertise

Wikipedia defines as Expert as...

An expert is someone widely recognized as a reliable source of knowledge, technique, or skill whose judgment is accorded authority and status by the public or their peers.

Some pretty big phrases there! Let's just list them down for now.
  • widely recognized
  • reliable source
  • judgement is accorded authority
  • peers
Alright, on to the issue. I guess the debate of whether an expert is deemed an EXPERT by Qualification or Acceptance has been sufficiently settled. Refer the following for details:
What really remains to be settled is how we can benchmark a person's 'expertness'. I figure the four traits listed above could be a start, but most of them tend to raise questions. How 'widely' is enough 'widely recognized'? Just who are your 'peers'; people you work with, people of like mind?
I guess this is more of a controversy than a debate, but what the heck! :)