Posted by: rkirti | February 9, 2011

Getting infected

“He didn’t sleep for four nights. Four whole nights. And if that trip had been his idea of a vacation, where, the psychologist wanted to know, did he work ? “

“He didn’t want to fight for petty wins when there was a bigger game in town. And the bigger game was pinball. You win one game, you get to play the next. You win with this machine, you get to build the next. Pinball was what counted.”

Its a tough task not to relate to the characters and the story that Tracy Kidder unfolds before you in The Soul of a New Machine. He depicts heroism in systems engineering and makes circuit designing sound like the sexiest job ever. He ensures that you, despite being a mere reader, get the kind of adrenaline rushes the 30-odd team did as they set out to build the next-generation 32-bit minicomputer over that one year period.

The book has a Pulitzer prize to its credit and has been called the “original nerd epic” by many critics. Given all that, attempting to write a review would be sheer folly. Several people have done a great job of it before. Below however, is an attempt to log what I learnt from the book and what I enjoyed the most. The post is long and verbose, but it doesn’t count.  The hope is that the (usually non-existent) reader will be inspired somewhere midway to give up on the post and grab the book instead.  :)

So what makes the book so likable ?

Bringing out something that is Transcendental

The technology that the book talks about is far outdated today. From minicomputers to  the age of handhelds, we have long taken for granted technology that the protagonists considered path-breaking. However, Kidder’s observations about the way engineers work, what keeps them driven, how teams deal with long-term challenging projects still remain valid in the current world. Even technically, there are certain insights he provides which really amaze you as they come true now . For instance, “A time would probably come when components would operate so quickly, that the distance the signals would have to travel would ultimately affect intimately the speed of most commercial computers“. Its something we take for granted now, but to have this insight 30 years back is brilliant.

The Author, his narration, his attitude
Hey, its a journalist trying to understand the computer industry. So on first thoughts, one probably doesn’t expect much of an insight on the technical side. I expected the book to be a “view from 20,000 feet above” of the intricate process. Wrong. The book taught me more interesting things than any course on computer design or architecture I took. The author claims that he struggled with the technical details, but eventually, in the book he brings them out as the most amazing analogies teachers could give. From microcode sequencing,page faults, instruction caches, logical  address spaces, privilege levels and protection rings – he has a simple, handy explanation in day-to-day parlance for anyone. He makes sure that not knowing the technicalities does not prevent the reader from appreciating the challenges that the engineers faced.

A peek into corporate dynamics
For those engineers who look at management with a sneer, this book is only bound to magnify that feeling. On one hand you have the brightest of people ever, facing impossible deadlines in designing something thats ground-breaking. On the other, there are the managers who seem to be practicing what they call the “Mushroom theory of management” – Keep them in the dark, feed them shit, and watch them grow.

  • A logic analyser costs ten thousand dollars, overtime for engineers is free.”

Bringing out a good technical product is about a lot more than making a good design  and getting it manufactured – thats the lesson one learns from the protagonist. Ah, the protagonist ! He is an engineer at heart but when circumstances demand, he strategizes, cooks up plots and gets more adorable with every move he makes. He is a perfectionist but also he knows when to move with the times, and write on his board – “Not everything worth doing is worth doing well”.

Dating the engineers, Up Close
Every now and then, you get something to keep you in awe of those people. It could be when the main designer spends twenty hours in the library hunting for quotes and flourishes to add to his ISA specs.

  • “They revealed the class of feelings that Wallach brought to his job. And with these, he had signed his name to his piece of the new computer.

Or it could be how the midnight programmers approached life.

  • Taking that machine apart was a fantastic high. Something I could get absorbed in and forget I had these other social problems.”

They talk and live engineering like a religion and their passion is contagious.

  • Writing microcode is like nothing else in my life. For days, nothing comes out. The empty yellow pad sits in front of me,reminding me of my inadequacy. Finally it starts to come. I feel good. That feeds it, and finally I get into a mental state where I am a microcode writing machine.”
  • “The pressure, I felt it from inside of me.”

Leadership
People (yours truly is a good example) keep fumbling and keep flailing around trying to figure what leadership is. In that regard, the protagonist here is a rather uncanny phenomenon as a leader. He leads by example, but he also does a lot to turn his own team against himself. No one really knows whats on his mind. And yet, he evokes respect.

  • West is interesting. He’s the main reason why I do what I do.”

Working in teams
Team dynamics can be interesting and confusing at the same time. The book teaches you to accept it in whatever form it comes.

  • “Often Guyer leaves at around three in the morning. Veres comes in a few hours later, looks at Guyer’s notes in the logbook, the pictures he has taken on the analyzers. And he instantly knows whats wrong and how to fix it. They make a marvelous debugging team, but only when not working together.”

Burn-out
It happens. To even the best of us. Accepting it seems to be the best way to deal with it.

  • “I am going to a commune in Vermont and will deal with no unit of time shorter than a season.”

Being distraught, yet being happy
Theirs is a tough industry. To put it in the words of the author, the industry’s short product cycles lend projects an atmosphere of crisis.Computer
engineering is arduous in itself, and this makes it more intense. Hours are long; emotions get taxed. The technology changes every year and its hard to keep up with the kids fresh out of school. A long-term tiredness can easily creep over by your thirties.

The fun part is that these guys still discover things that keep them going. Be it messing with each others’ files, programming ridiculous AI onto each others’ terminals or getting yourself an unencrypted copy each time your boss sends something encrypted to his server.
Masochists they are, but that doesn’t stop them from being fun people to be with.

Random Musing – Of computers, engineering and life

  • The protagonist can lie to himself  :)    – “I gotta keep life and computers separate, or else I ll go mad.”
  • Time in a computer is an interesting concept. When I sit in front of the logic analyzer, twelve nanoseconds is a big deal for me. And yet, when I realize how much longer it takes to snap my fingers,I have lost track of what a nanosecond really means.”
  • She’s romantic, foolish, unrealistic – everything an engineer’s not supposed to be. But I like her.”
  • He could write two to three hundreds lines of code in his mind, but he had a hard time remembering his own phone number.”
  • “I don’t care how computers get sold. I just build them”

You could say I am infected.  Seldom do you find a book which makes you fall in love with every alternate line.  For the reader (again, if existent) who bothered to read it all the way up to here – here is a list of books next on the infection spree (oh yeah, I am pretty free this semester or at least thats what the assumption is ) – It would be great to hear from you if you have views on the below list or other recommendations -

Posted by: rkirti | January 28, 2010

Getting OpenEmbedded accepted for GSoC 2010

It has been a long period of hibernation for this blog and its now time to make good use of the aggregation privilege on Planet LinuxToGo that Florian has given me. GSoC 2010 announcements are out, and mentoring organizations have now about a month or so left to plan out their applications. This blog post is to discuss the possibility/feasibility of Open Embedded applying as an independent mentoring organization for GSoC 2010 and to gather views/comments/ideas on the same. Speaking to a couple of OE developers on IRC, this sounds like a decent idea for various reasons that I shall elaborate on here ..

Why OE should apply as mentoring organization for GSoC :

1. Lots of good ideas needing implementation
Chris ‘kergoth’ Larson came up with an interesting compilation of tasks and concerns list for OE [0]. Another current source for ideas is the uservoice page, though most agree that it needs more promoting [1]. So yes, there are lots of things that could make up for interesting OE project ideas,though we need a better compilation.

2. Better exposure for the community
GSoC is an ideal place to get prospective developers and possibly do some good community propaganda.

Why OE makes for a good organization suitable for acceptance in GSoC :

1. In 2006, OE was a part of GSoC under handhelds.org. The community and project are now large enough and well-supported to apply independently.

2. The prime requirement an organization should meet for GSoC acceptance is good ideas and good mentors. The latter, I am confident, are abundant in OE. From my experience as a GSoC student with an (unofficially) OE project, we have a large number of people in the community who would make amazing mentors. Some of them have already been mentors earlier, either for other communities or in 2006. As to good ideas, as mentioned earlier, we have some head-start,with a couple of places describing what is needed. What we need is a perhaps a page on the OE wiki, putting them all together. Ideas could be segregated into two categories – the recipe based ones (though there might be issues with this) like a gnome OE port and the ones which involve python hacking/working on the bitbake core.

What needs to be done :

1. We need to set up a Wiki page or some space where we can call out for mentors and prospective ideas.
2. Figure out whether GSoC projects involving just recipes would be acceptable to Google and if we have good enough ideas for that category. My own project last year was of that kind, but then as rightly pointed out by someone, I was just lucky. Projects that involved hacking on the bitbake core will surely be well-received.
3. Are there other open-source projects that OE could act as a umbrella organization for ? Being an umbrella org for smaller projects with good ideas greatly increases the chances of acceptance.

With organization applications typically starting in the first week of March, we have about a month to go to do the above. If you are an OE developer reading this, comments/suggestions /flames are more than welcome.

Disclaimer: I am keen on seeing OE get accepted in GSoC this year,but that has nothing to do with any aspirations of applying as student/mentor. A summer intern with Microsoft Research implies that I will be officially out-of-touch with open source/GSoC. I do however have vested interests in the sense that, I would love to see OE reaching out to more people and perhaps some OE contribution from my univ. and country.

[0]: Tasks: http://dl.dropbox.com/u/112715/Documents/OpenEmbedded%20Tasks.html/index.html
One more here: http://dl.dropbox.com/u/112715/Documents/OpenEmbedded%20Usability%20Concerns.html/index.html
[1]: http://openembedded.uservoice.com/

Posted by: rkirti | October 8, 2009

Science Fiction – Echoes from the Unknown

There is a lot to write about the Shaastra gone  by (for those uninitiated,  it is the technical festival of my university,IIT Madras and one of a kind in India), but only if the typical CSE assignment drills would stop …. :( But there is Science Fiction to talk about, where I got the first prize in rather queer circumstances. It isn’t usual for a contestant to come to know of a writing contest midway through it, to run to the venue midway and somehow jot down stuff while supposedly overseeing builds. Well, I had fun :)

Thanks to a classmate,I have my story ready to be put up here. So here I go to log my story below before I lose it like I did last year. I am satisfied that I could point somewhat to how life is getting technologically interesting but alarmingly mechanical with time. To the rest, well, comment on it and I shall know.

Credits :

1. Amrita – The co-ordinator who took the pains to ask me to write, when I was totally clueless about the event, maybe just because my story placed second last year.

2. Arun Chaganty – For being stubborn on typing out the story and “proving his vettiness.”  (Someday, I shall understand how his personal scheduing algorithms manage to bring out fantastic results while being so pointless on the face of it.)

3. SuperVol Subhashini and my co-coordinator Vijay, who took care of the lab setup for the two hours that I was furiously scribbling away.

The Story:

It was built by the human race for human research and supposedly comprised of humans. Yet, there was nothing ‘human’ about this place. Eureka, one of the most awe-inspiring technological breakthroughs of it’s times was a bundle of paradoxes, in more ways than one. This giant space-ship laboratory was the cradle of numerous astounding discoveries in space-time relativity. But the discoverers themselves had no clue of space and time themselves as they worked away to glory round the clock in a setup that floated across the cosmos at gigantic speeds.

Inside one of the special research chambers of Eureka, it was yet another day for Zora. Well, it was ‘just another day’ for this beautiful and composed lady, even as each day witnessed her coming up with some milestone invention in human-embeddable chips. “If only we could embed the infinite computational resources that we make use of every moment, integrating it with our brains and empowering it…”, she would always say, “there would be no limits to what we could achieve.” Her ideas and work made her among the most respected and looked up to scientist in Eureka, and that was enough to keep her fuelled and working non-stop. The fact that her loved ones thought she was out there making machines of men, having already turned herself into one in the process didn’t make much of a difference to her.

Read More…

Posted by: rkirti | August 16, 2009

GSoC 2009 – Winding up…

As Google Summer of Code 2009 draws to a formal close, its time to sum up all my work and the fun I had with my project, thank the people who have stood by me all this while and hopefully give some insights into the project. Read More…

Posted by: rkirti | August 15, 2009

GSoC Updates – Report 4

This post briefly sums up the work since my last report, when I got a basic Maemo-Angstrom filesystem image working.Since then I have focussed mainly on the following two issues -

1. Improving the Hildon Desktop environment and adding useful applications - The improvements included getting the application menu in hildon-desktop working, fixing some crashes and detecting a couple of OE related packaging issues, which led to those crashes. I have also added support for all the hildonised gpe applications from Diablo extras-devel, and some of the Fremantle Stars applications – omweather, maemo-mapper etc. Work on modest and other Fremantle apps is in place.

2. Restructuring my work -The earlier repo at http://github.com/rkirti/maemo-oe/tree/master required the user to manually add some recipes to the OE tree due to core components like glib/gtk etc. I have now changed and restructured this to create a proper OE overlay, just like jalimo does for instance, and the new overlay which can be used on top of a clean OE tree is hosted  at - http://github.com/rkirti/maemo_angstrom/tree/master

Instructions for usage have also been documented here.Flames/suggestions/comments are as always welcome here or on IRC. :)

To sign-off, here a couple of screenshots of the newly added applications.

Hildon Desktop on beagleboard from the VNC viewer

Hildon Desktop on beagleboard from the VNC viewer

Omweather running on Angstrom as seen through the VNC viewer

Omweather running on Angstrom as seen through the VNC viewer

Update 1:  I am currently testing my work on the Beagleboard, so interested beagleboard users can look at this download page , for the latest image to test with.

Posted by: rkirti | July 30, 2009

Something to remember…..

While its been a long while since I last had a proper update here and there are quite a few things that need/deserve to be written about, I shall keep them pending for the meanwhile, thanks to GSoC work and other stuff. What I can’t keep off and am compelled to spend a couple of minutes recording them here is the following two random musings (not mine!) which seem to be hovering around me too much :)

Read More…

Posted by: rkirti | July 27, 2009

GSoC Updates: Hildon-on-Angstrom

Since my last post, I have been working on duplicating the hildon-desktop environment that I achieved on my laptop, on an Angstrom base on the beagleboard adding the needed bitbake recipes.

I now have a hildon-on-angstrom image which I could get ready about two weeks back. The image has hildon-desktop, some plugins,some supplementary apps. like Maemopad and Maemopadplus and so on. This forms the basic of a maemo-angstrom-image. I am currently testing it on a Beagleboard.

The apps boot well, but there are issues like locale support not being present and difficulty in loading icons which I have working on for the last week. Both the errors seem to be arising out of lack of support in the image. I am building a file-system image with gpe-image/ x11-gpe-image in Open Embedded as a base. The work over the next week will involve finishing cleaning up these issues with the apps currently, documenting the status, adding the maemo connectivity elements (already in progress), and some base packages.

The work on the recipes for the packages, the conf. files and image recipe can all be found at my github account:

http://github.com/rkirti/maemo-oe/tree/master

Some screenshots of Maemo apps. running on my Beagleboard viewed with the vnc viewer :

Hildon Desktop via VNC

Hildon Desktop via VNC. Basic plugins supported, but lack of locale support is the show-stopper

Application Menu

Application Menu

MaemopadPlus, screenshot taken from Remote Desktop Viewer

MaemopadPlus, screenshot taken from Remote Desktop Viewer

As the screenshots show, the basic framework for Maemo support is ready, but the UI/apps. here need a whole lot of refining to get it to the same states as those running within Scratchbox. Comments/Suggestions/Flames/ Request for particular apps. to be supported in OE would be most welcome!

Posted by: rkirti | June 25, 2009

GSoC Updates – Hildon and beyond

Progress

This post is meant to be a summary of my work over the last fifteeen days and a discussion on what follows, the issues I face and so on.  I have finally managed to get Hildon desktop running outside scratchbox, something I was stuck with when I gave my first report.  I  have a certain sort of UI running at the moment, and the recipes for which are done and will be released after testing this week. They are currently hosted at http://github.com/rkirti/maemo-oe/tree/master

Read More…

Posted by: rkirti | June 11, 2009

NoteBuddy – A GVim plugin for easy note-taking

Laugh at me if you wish to, or call it heights of craziness.

I wouldn’t be surprised,since most of my classmates (and non-classmates too)  find my addiction for writing well-highlighted notes in >= 3 colors ridiculously amusing anyways.But then, old habits die hard, and as I find myself  using Vim  these days for everything I can, I miss the good old luxury of color and personalization of notes that pen and paper provide. I could switch to a normal word-processor and use the M$ style WYSIWYG formatting – but that would be like tasting bitter-gourd after fig ice-cream ;)

So I tried to see if I could do some quick job to make those additions to Vim today- keeping  a couple of my notebooks with me  to see the requirements. This is what I could get -

The Plugin in Action - Note the template with User Details

The Plugin in Action - Note the template with User Details

Read More…

Posted by: rkirti | May 23, 2009

Of philosophy and analogy…..

Scorch,screech,hiss and hiss again
There goes the fire, rekindling its pain
Yet every moment a spark, brilliant-so-ever
A seductive invitation to come and get slain..

The light that doth become its notion of supreme beauty
Woo-ing it so strongly,making it forget its duty….
Pure,dazzling,inspiring – the fountain of its bliss
But why so full of strife if bathed in all sanctity ?

Happily it flies forward,blinded in the shimmer
Burnt,scorched, wings about to wither
Yet so at peace with itself, so full of its dreams
So oblivious of the reality awaiting thither…..

And for a moment it does stop, when truth does scream
When it finds reality pinching round the clock
But it only takes the light just another gleam
And there its flies again,dreaming of its ‘sun’ once more…

Dear God,why must it be so blinded? or so enchanted and fooled?
Becoming the object of all laughter and  great pity ?
For ‘it’ is the moth, and I can’t help but empathize
To be hurt by what it loves the most – that is its destiny.

A randomly jotted outcome of  some very vetti vague philosophical musings merged with a retrospection of reality.  Try as I might, I can’t stop my thoughts and writings from being  hijacked by the moth. Sigh.

Older Posts »

Categories

Follow

Get every new post delivered to your Inbox.