About kunalb

Me (for google search results)

Book Review: Chanakya’s Chant

The tl;dr ver­sion? Get a copy and read the book for an interesting–albeit exaggerated–mix of his­tor­i­cal and con­tem­po­rary fic­tion with a dash of Machi­avel­lian pol­i­tics and strat­egy–Chanakya­neeti, to be precise.

Chanakya's Chant Cover

Chanakya’s Chant

With an attrac­tive golden cover, Chanakya’s Chant is a fairly short read that clocks in at just less than 450 pages.The typog­ra­phy and print qual­ity is good and eas­ily read­able. A rather uncon­ven­tional and inter­est­ing touch is added by a musi­cal ren­di­tion of the chant from which the novel derives it’s name.

Two sto­ries are inter­twined in the novel: Pan­dit Gangasagar’s tran­si­tion from the son of a sim­ple teacher to the power behind every­thing that hap­pens in the coun­try and Chanakya’s achieve­ment of uni­fy­ing Bharat and mak­ing Chan­dragupta the king. Both move at the same pace, over­com­ing chal­lenges with aston­ish­ingly well thought, gen­er­ally twisted and cold-hearted machi­na­tions by the two power-brokers. The nar­ra­tive becomes all the more inter­est­ing because of the par­al­lels in both the prob­lems faced by Chanakya and Gan­gasagar and their solu­tions in spite of the few mil­lenia between the two.

Pan­dit Gangasagar–as the mod­ern day Chanakya–truly steals the show as he applies his art to pol­i­tics. Essen­tially, it is the twisted tricks and plots and plots within plots within  plots that are be rel­e­vant today that make this book the worth­while read it is. See­ing reflec­tions of var­i­ous indus­tries, the extra­or­di­nary polit­i­cal scan­dals and the ADD afflicted media and pub­lic in the book just add to the fun.

The novel starts off fairly promis­ingly from the end of the story with a cliffhanger–though it does seem to lose steam in the begin­ning as the plot is devel­oped and the char­ac­ters are intro­duced; by mid­way both the author’s style of writ­ing finally set­tles down and the pace of the plot picks up to make the novel a page-turner–you really do want to know how both Chanakya and his mod­ern day avatar: Pan­dit Gan­gasagar ful­fill their ulti­mate aim.

Cer­tain themes stand out within the book–the pro­tag­o­nists’ ruth­less­ness in their aims, the sac­ri­fice of love for what they must achieve; the impor­tance of being ahead in under­stand­ing the world as well as tech­no­log­i­cally to suc­ceed; weak­nesses in men that can be exploited. Finally–that all debuts, for good or evil, must be repaid in full.

The style and tone of the book seemed to vary dur­ing my first read–initially the dia­logues and descrip­tions seem bit forced and jerky, one par­tic­u­lar gem that stands out in the pro­logue itself is

eyes–little video cam­eras that had seen and stored away the very worst of human behav­iour in the giga­bytes of his brain’s hard disk”

How­ever, as the book pro­gresses, it set­tles down well and becomes infi­nitely more read­able with a hint of Rushdie peek­ing out here and there. The author fre­quently uses famous quo­ta­tions attrib­uted to var­i­ous politi­cians through­out the world to make Chanakya/Gangasagar appear all the more wise; some­thing he acknowl­edges at the end of the book with references.

This review is a part of the Book Reviews Pro­gram at BlogAdda.com. Par­tic­i­pate now to get free books!

Moving to Ubuntu 11.04 [Updated]

Main­tain­ing a record for the next time I for­mat my com­puter and upgrade.

With a lot of curi­ousity, a dash of ner­vous­ness and a scoop of anx­i­ety I’ve finally upgraded from Ubuntu 10.04 LTS to the new 11.04. My ini­tial impres­sion of Unity is fairly good: I really appre­ci­ate the max­i­mum uti­liza­tion of screen space, even if I have a 15″ lap­top. There is a slight jerk­i­ness to the effects that I don’t like–perhaps upgrad­ing to pro­pri­etary dri­vers will resolve that prob­lem.  Being a gnome fan, I’ve started installing gnome 3’s shell [1].

As I wait, I’ve mod­i­fied the key­board set­tings to my par­tic­u­lar favourites:

  • Swap­ping the escape and cap­slock keys: very very use­ful and fin­ger friendly for VIM users.
  • Set­ting Ctrl+‘ to launch a new ter­mi­nal. I find a single-handed key com­bi­na­tion for launch­ing a ter­mi­nal as extra­or­di­nar­ily useful.

Set­ting up empa­thy for my Face­book and Google accounts: as I use 2-step authen­ti­ca­tion, I must gen­er­ate a new appli­ca­tion spe­cific pass­word for gmail on empa­thy. Empathy’s inte­gra­tion within Unity is fairly impres­sive: I par­tic­u­larly liked the icon shak­ing slightly when I was pinged and the chat win­dow was out of focus. After, that I set up Face­book for my broad­cast account: twit­ter can wait till after I’m done with my self-imposed exile from cer­tain websites.

Up next is installing my data card’s soft­ware: some­thing I prob­a­bly won’t be doing in a cou­ple of months, but is still use­ful [2]: as I have a saved copy of my orig­i­nal wvdial.conf, I get this done fairly simply.

Gnome 3 installs nor­mally, but switch­ing to gnome 3 has some very unex­pected results–frankly, I felt that my lap­top was bro­ken. I had for­got­ten to do a dist-upgrade, which seems to be essen­tial, fol­lowed by the steps out­lined in [5]. Chang­ing the theme to the default gnome 3 and remov­ing the acces­si­bil­ity theme, dis­abling ATI’s pro­pri­etary dri­vers as well as chang­ing the gtk theme to adwaita finally brought my desk­top to resem­ble the screen­shots on gnome3.org. Finally, I heave a sigh of relief and get down to get­ting my work­sta­tion ready.

I need Vim for any­thing and every­thing: I restore my .gvimrc and .vimrc; copy­ing cer­tain use­ful plu­g­ins (sur­round and Lusty-Explorer). [8]

I must haz Music! Ubuntu restricted extras comes to my res­cue here. [6]

With a slightly decent net con­nec­tion, I move on to get­ting some essen­tial soft­ware that I can use with­out hav­ing to build from source:

  • Adobe Flash [3]
  • Git, git-svn
  • Filezilla (ftp)
  • Apache2, php5, php5-curl
  • mysql-server, mysql-client
  • google-chrome
  • texlive, texlive-font-extras, and var­i­ous other tex pack­ages [7]

Once I com­pleted my instal­la­tion and started work, I real­ized that while Gnome 3 looked rel­a­tively attrac­tive, it really slowed down my work flow apart from being fairly unsta­ble and slow on my lap­top. Decid­ing to switch back to either Unity or the Gnome 2 fall­back, I fol­lowed one of the var­i­ous purge ppa: instruc­tions avail­able on the internet.

To cut a long story short, I ended up refor­mat­ting and rein­stalling every­thing again apart from los­ing some vec­tor dia­grams I had pre­pared (thank­fully I had the raster vesions saved as I had emailed a copy of the .png file around). Next time around, I just might move to Debian.

I found [9] par­tic­u­larly use­ful in get­ting Unity cus­tomized to suit my needs. Finally allowed to use ATI’s pro­pri­etary dri­vers, I also man­aged to play both Cogs, Ham­mer­fight and Steel­Storm from the new Hum­ble Bun­dle [10] on my laptop!

After a few days of work­ing using Unity, I’m afraid I was dis­ap­pointed again–Unity too is nowhere near as sta­ble as I had hoped for. Some of the prob­lems I expe­ri­enced  included the lap­top going to sleep and not wak­ing up at all, flick­er­ing and the work­spaces sud­denly rear­rang­ing them­selves, and var­i­ous mis­cel­la­neous sim­i­lar problems.

So again, I needed to move. While con­sid­er­ing to move to Debian, and for­sak­ing Ubuntu alto­gether, I didn’t have the sta­mina to re-set up my lap­top. I decided to install the pack­age xubuntu-desktop over my exist­ing setup, and switched to Xubuntu’s ses­sion: which is finally work­ing well. Three cheers for XFCE!

[1] http://askubuntu.com/questions/22946/how-do-i-install-the-latest-version-of-gnome-3
[2] http://kunal-b.in/2010/01/reliance-zteonda-on-linux/
[3] http://get.adobe.com/flashplayer/
[4] http://www.vim.org/download.php
[5] http://www.ubuntugeek.com/how-to-fix-common-gnome-3-issues-on-ubuntu-11–04-natty.html
[6] https://help.ubuntu.com/community/RestrictedFormats
[7] http://www.ctan.org/
[8] https://github.com/kunalb/Vim-Configuration
[9] http://www.techdrivein.com/2011/04/12-things-i-did-after-installing-new.html
[10] http://www.humblebundle.com

Information Starvation—the side effects

Well, it’s been almost 10 days since I for­swore my daily fixes of information—Hacker News, Twit­ter and even Google Reader. While there have been with­drawal symp­toms, it’s nowhere near as hard as I thought—nor is it as productive.

Unfor­tu­nately, the leaks I can­not plug at the moment—Facebook, Google+ and stan­dard GMail have enough to keep me satisfied—I might not be get­ting new links as soon as they arrive, but quite a lot of impor­tant stuff seeps in through the cracks: shares on either of social net­works, as part of var­i­ous newslet­ters, and occa­sion­ally even in the newspaper.

I have man­aged to re-read quite a few favourite nov­els in the past few days (Wheel of Time Series, I’m look­ing at you) and get a bit of papers and com­plex prob­lems sorted; delv­ing a bit into Word­Press core code as part of my work on PressTest in the past few days. How­ever a side effect has been that a few days ago I had to stop every­thing because I got a bit men­tally exhausted: I had been jug­gling com­plex num­ber the­ory, rather advanced elas­tic­ity, a his­tory of the world post 1914 (WW1’s begin­ning, if you didn’t notice), a rather engag­ing descrip­tion of the finan­cial col­lapse (Too big to fail)—and irreg­u­lar fla­menco and clas­si­cal gui­tar practice.

Whether appar­ently cause­less phys­i­cal exhaus­tion could also account for this; but this is some­thing I’ve observed: when I truly con­cen­trate on what I read, and what I read is worth remem­ber­ing or sim­ply, pars­ing properly—I can get exhausted soon. The only antidote—or rather, medicine—is pass­ing time as a sim­ple, uncrit­i­cal and pas­sive observer: the rea­son I re-read my favourite fan­tasy novels.

Some­thing about step­ping out of my nor­mal, occa­sion­ally rather bor­ing life into the shoes of an omnipresent yet impo­tent observer in a com­pletely dif­fer­ent world lets me dis­con­nect and look at myself objec­tively when I return.

Another 20 days—let’s see what they bring.

Blackout

As an exper­i­ment, I’m con­sid­er­ing a month’s vaca­tion from read­ing about the lat­est and great­est on teh inter­webz: a month with­out my daily Google Reader feeds, Twit­ter, Hacker News, TechCrunch, The Next Web or any other sim­i­lar updates, arti­cles, miscellany.

Instead, I’ll spend time read­ing inter­est­ing books that I’ve been mean­ing to; do a bit of pro­gram­ming; meet­ing up with friends; and get some work done that’s been hang­ing around for too long; per­haps even a bit of gam­ing on the side.

Con­sid­er­ing how addicted I am to my daily over­load of mis­cel­la­neous and mean­ing­less infor­ma­tion, I expect severe with­drawal symp­toms. I’m mostly sure that I will not die if I’m not up to date with exactly what is hap­pen­ing where on the web. With a bit of help from my Kin­dle, the local hosts file and appli­ca­tion of not insignif­i­cant will power—I hope to pull through the month of July.

You might have noticed that I do not men­tion Face­book or Google+ in the sites I won’t be vis­it­ing for some time: specif­i­cally because while I will avoid click­ing through to links posted by friends, I do use FB reg­u­larly to con­nect with peo­ple and set up plans for meets, et al. Google+ seems to be ubiq­ui­tous across Google prop­er­ties and will be hard to avoid—though there doesn’t seem to be enough activ­ity there to actu­ally cause me to invest that much time in build­ing and play­ing with Circles.

Con­se­quences will prob­a­bly involve more blog posts, code, pro­gram­ming, read­ing, papers read and derived as well as severe headaches and frus­tra­tion. As always, you have been warned in advance.

If you only fol­low me on Twit­ter, the best way to con­tact me is to drop an email at me@kunal-b.in.

Reading habits revisited

I’ve owned a slim plas­tic thinga­ma­jig with this new-fangled inven­tion called e-ink hid­den in a faux–leather cover that makes it look like an ordi­nary note­book for around 10 months now.

I used to be a rather vora­cious reader before a cer­tain tragedy befell me (I ended up liv­ing in this wor­ri­some tor­tur­ous insti­tute) and my pri­or­i­ties shifted to spend­ing as much time as was humanly pos­si­ble dis­cussing rea­sons not to wake up with Morpheus.

Recently, as a last effort to retain one of my few good habits a Kin­dle was acquired by me for pur­poses devi­ous and dia­bolic: to read as many books as I’d ever dreamed of. With a few mis­cel­la­neous steps in between I shall pro­ceed to take over the world once I have read enough.

You have been warned.

Comparing a few fantasies

As opposed to the per­haps rather, ahem, sen­sa­tional title the actual post is about some­thing far more mundane—I’ve noticed more than a few com­mon plot ele­ments in a few recent fan­tasy series I’ve read—consider the fol­low­ing novels/series:

  1. The Way of Kings, Bran­don Sanderson
  2. A Song of Ice and Fire, George R.R. Martin
  3. The Wheel of Time, Robert Jor­dan and Bran­don Sanderson
There seem to be far too many recur­ring themes in these books:
  1. Each of these series invokes a dark and murky past that no one seems to have proper records of or remem­bers at all com­plete with dan­ger­ous crea­tures who were some­how defeated—to be pre­cise, the Shai’tan was some­how defeated be Lews Therin in the Wheel of Time, there seems to be an unknown, hid­den enemy in The Way of Kings that was there in the past and finally the Oth­ers in A Song of Ice and Fire.
  2. Magic—or the cur­rent fan­tasy world’s equivalent—seems to have become incred­i­bly weaker as com­pared to that of the older times. There are inevitably age old arti­facts that no on knows the mak­ing of, and a rather large sec­tion of the nov­els is spent build­ing up on this premise. Again, con­crete exam­ples include Ter’Angreal in EotW, Obsid­ian Blades/Dragonglass in aSoIaF and the Shards as well as shard plate in AWoK.
  3. The main pro­tag­o­nists in each novel seem to be part of the new gen­er­a­tion that sud­denly regains skills that have been lost for centuries—again, we see cre­ation of shard­plate alter­na­tives, Elayne re-creating Ter’Angreal, if imper­fectly and the mage in aSoIaF being able to light a drag­on­glass can­dle again.
  4. Almost every series empha­sizes how the infight­ing between the human race is weak­en­ing the world and directly allow­ing vic­tory to the oth­ers. In Mar­tin it’s the many kings fight­ing against each other inspite of the pend­ing threat from the Oth­ers, in WoT it’s all about Rand Al’Thor reunit­ing the world before the Dark One’s seals are bro­ken, and there are dark and omi­nous hints in The Way of Kings about unit­ing the peo­ple of the nation before dis­as­ter occurs. Is this sup­posed to be some real-world metaphor I’m miss­ing out on?
  5. Then there’s the con­cept of the Cre­ator of these worlds—the cur­rent gods of the aSoIaF series seem to have dis­ap­peared, the cre­ator of the world in tWoK is explic­itly men­tioned to have passed away and there is no sign of the Cre­ator in WoT apart from the exis­tence of the source. On the other hand, the neg­a­tive halves—omniscient, omnipresent evil is shown both explic­itly and in flashes (what else could the pro­tag­o­nists spend their lives work­ing against?)
There are a few more minor par­al­lels, but these are the ones that come to mind first. Per­haps we could write an epic fan­tasy series of our own with the pre-requisite ingre­di­ents: a dash of a mys­te­ri­ous past with a hid­den enemy who has just started get­ting active again; hap­less pro­tag­o­nists for good who dis­cover innate pow­ers and abil­i­ties that had been lost for ages; a healthy pinch of mag­i­cal dust of some form or another and tales of intrigue, crowns, pol­i­tics at al.
I have enjoyed read­ing each and every one of these novels—in fact I’ve re-read both the Wheel of Time and A Song of Ice and Fire series sev­eral times (The Way of Kings is the last new fan­tasy novel I read), but beyond a point it becomes a rehash of what you’ve already seen, per­haps not unlike the infa­mous Mills and Boon series (did I get the spelling right) which seem to thrive on the fact that the cen­tral plot is always the same.

2 days at PA, CA. 2 days in the air.

Hav­ing cleared a few phone inter­views, I was invited to Face­book head­quar­ters for on-site inter­views. This, dear reader, is my story0.

27th Feb­ru­ary 2011

On 27th Feb­ru­ary, 2011, around 12.00 IST—somewhere early in the morning—my fairly wor­ried1 par­ents dropped me off at Indira Gandhi International’s newly built Ter­mi­nal 3. Admir­ing the airport—both the dec­o­ra­tions and the build­ing itself—I checked in fairly com­fort­ably; trav­el­ing Busi­ness class, Emi­rates on this route I was allowed to wait for board­ing at the ITC lounge.

A brief descrip­tion is in order at this point—all around me were peo­ple dressed ele­gantly in suits, sip­ping their sin­gle malt whiskey glasses, look­ing impa­tiently at their watches and futilely try­ing to con­nect to the Air­port Wi-Fi. Faintly bemused at the sur­round­ings, I set­tled in, got my lap­top out—happily sip­ping my first cup of cof­fee2 and nib­bling on a sand­wich to pass the time. Hav­ing man­aged to enable WiFi, I Facebook’d and Tweet’d my time away.  I also met Pro­fes­sor J.a at the lounge; he was a bit sur­prised to find a not-yet-graduated stu­dent sit­ting there.

Being a bit anx­ious about miss­ing the flight, I heard an announce­ment that had my flight num­ber in there some­where and I—finishing my sec­ond cup of coffee—left the lounge and sat down next to the board­ing gate, hog­ging the sole func­tion­ing power point (the ~5 other points, sadly, being dys­func­tional). I passed some time look­ing at the expres­sions of peo­ple who—1. Saw that my lap­top was con­nected; 2. Decided to charge their own elec­tri­cal para­pher­na­lia; 3. Tried their hand at each of the plug points; and 4. Real­ized that only the one I was using worked. My only excuse for not sav­ing them the effort was that I had been a bit, ah, miffed at real­iz­ing that the announce­ment had been about a delay in the flight—not a call for boarding.

As this was the first of two flights I would be tak­ing, I was a bit wor­ried about miss­ing my con­nect­ing flight—luckily enough, we took off and reached an hour before the sec­ond flight took off—but I’m get­ting ahead of myself here. The flight to Dubai was pretty amaz­ing. I can­not move ahead with­out describ­ing my seat in some detail.

Busi­ness class seats involve a com­pletely auto­mated chair that stretches out to a fully hor­i­zon­tal bed at the press of a but­ton. It was also pos­si­ble to adjust how far each spe­cific part of the seat goes up and down—allowing rather inter­est­ing pos­tures. Each part of the seat seemed to have a vibra­tor that could be switched on for a mas­sage. At a com­fort­able dis­tance, a rather large touch-screen view­ing screen with an in-flight enter­tain­ment sys­tem loaded with a few hun­dred movies, songs, tele­vi­sion shows and radio channels—my only grouch being that they had very few rock songs; no Iron Maiden for instance.

The most inter­est­ing part about the seats were the controls—I believe I already men­tioned that the screen was touch enabled; apart from that there was a remote that could be used to switch chan­nels, adjust vol­ume, switch on lights and a small touch panel that could be used to manip­u­late every­thing all over again. Con­sid­er­ing the redun­dancy involved, you’d think that the func­tion­al­ity involved was crit­i­cal3.

Food was good, though I didn’t rec­og­nize most of what I ate; par­tic­u­larly in the starters por­tion. Cof­fee was fine, and I think I had just a cup or two of almost black cof­fee on this par­tic­u­lar flight. I whiled away most of the time lis­ten­ing to music, read­ing a novel on my Kin­dleb, and prepar­ing a bit for the on-site interviews.

Dubai air­port was a pleas­ant expe­ri­ence, though I had very lit­tle time to spend there dur­ing this part of the jour­ney. The flight to SF was on time, so I had just about an hour to go ahead. Sur­pris­ingly enough, even those who were just trans­fer­ring from plane to plane had to pass through another secu­rity check. Where you had to remove your belt, shoes, any­thing metal­lic, pass through the scan­ner and move ahead.

The most inter­est­ing part was the extra­or­di­nar­ily large num­ber of con­nect­ing flights at the airport—all Emi­rates, lead­ing to many dif­fer­ent gates spread along an extra­or­di­nar­ily long build­ing struc­ture. I arrived at my gate on time and boarded the next flight more or less painlessly.

The plane, the seat were just about exactly the same. I had an aisle seat in the cen­ter row again, though on the oppo­site side of the plane this time. Set­tling in for a long haul, I kicked off my shoes, handed over my jacket, got my faith­ful old Kin­dle ready, along with the copy of TAOCP I was car­ry­ing for last minute prepa­ra­tion and set­tled in comfortably.

Unlike the other—saner—passengers I decided to stay awake through­out the flight—my half-baked plan being that as I would be arriv­ing at some time in the after­noon at Palo Alto, I’d rather exhaust myself com­pletely and stay awake till night time (PST) and have a good night’s sleep to be fresh for the inter­view. I had my faith­ful Kin­dle, a ridicu­lously well stocked inflight enter­tain­ment sys­tem and all the cof­fee in the world—there was no way I was going to sleep.

I know you’re expect­ing me to say some­thing along the lines of—“And then I imme­di­ately nod­ded off”; but I didn’t. I com­pleted the novel, watched a few movies, drank 4–5 cups of bit­ter, sug­ar­less and milk-free cof­fee. I even worked out a few prob­lems of TAOCP before decid­ing that solv­ing exer­cises on a flight might just be much too much, even for me.

I did attempt to sleep, but only suc­ceeded in watch­ing around half of Dabang on my neighbour’s screen. Watch­ing a muted Hindi movie with Eng­lish sub­ti­tles is far more fun than it ought to be.

Finally, when we were just about an hour or two away from land­ing, I had the bril­liant idea of shav­ing on the plane—Emirates had pro­vided a full shav­ing kit, and I thought I might actu­ally enjoy shav­ing for once—considering that I avoid it as far as pos­si­ble when the bath­room hap­pens to be sta­tion­ary and not a few hun­dred meters in the air. The results of that par­tic­u­lar exper­i­ment can be sum­ma­rized as—Don’t Shave in an Aircraft.

The land­ing was com­fort­able and we dis­em­barked eas­ily, immi­gra­tion forms in hand. I com­fort­ably waltzed through the var­i­ous checks, with the immi­gra­tion offi­cer being sur­prised at the total amount of time I would be spend­ing in SF—and com­ment­ing that my inter­views would prob­a­bly take lesser time than I had spent wait­ing to clear immi­gra­tion (this pre­dic­tion would turn out to be Not True—I had waited for as long as one inter­view would be).

Sole suit­case in hand, lap­top in my back­pack I was in for a pleas­ant surprise—some ladies from Emi­rates were stand­ing out­side with a board wel­com­ing First Class & Busi­ness Class pas­sen­gers; on inquir­ing I found out that I was eli­gi­ble for a lim­ou­sine ride to wher­ever I was headed (yay!). My lim­ou­sine was sched­uled, and as I waited out­side I chat­ted with a Google engi­neer on her way to office—she had appar­ently been on the same plane. Dis­cussing Google hir­ing pro­ce­dures, we caught our respec­tive limousines—and it was time to reach the hotel.

The ride was short and pleasant—and as I hap­pened to men­tion before—it was in a limo. The Palo Alto Sher­a­ton was a nice hotel, high­lights of my room involv­ing a nice and fast inter­net con­nec­tion4. Another inter­est­ing inci­dent was that I was sup­posed to pro­vide a credit card which would be charged for inci­den­tal expenses; of course, I handed over my GSoC card; the hotel clerk was per­haps a bit sur­prised to see me grin­ning madly as I handed the card over—but then, I did find it rather amus­ing that my stay was spon­sored by Face­book and the inci­den­tals were cov­ered by Google.

I unpacked, set up the lap­top, called home the nth time to con­firm that yes, I was fine, and no, I had not been eaten by sharks or rabid dinosaurs. I spent some time revis­ing basic algo­rithms (net­work flow, Ford-Fulkerson—stuff I was weak on) and then feel­ing too sleepy to be pro­duc­tive, decided to explore the nearby market.

A short, 5 minute walk away there was a rather inter­est­ingly built market—bookstore, cafes, cof­fee shops, etc—I don’t remem­ber the name exactly. After roam­ing around for a few min­utes and see­ing all the options there were in that area, I had another black iced cof­fee, picked up a copy of Nat­Geo and returned to the hotel. Spend­ing some more time revis­ing stuff, watch­ing TV and surf­ing the net—I acci­den­tally fell asleep around 8.00 pm—I woke up with a start at around 10.30, which was just in time to be able to order room ser­vicec.

Finally—roughly 36 hours after my jour­ney began—completely exhausted and extra­or­di­nar­ily ner­vous, I fell asleep.

28th Feb­ru­ary 2011

For once, I didn’t oversleep—there was no way I was going to risk miss­ing the inter­view. Up and about fairly early, I got ready fairly quickly; gulped down break­fast and decided to wait for the pick up—someone from Face­bookd would be pick­ing us up at around 10.30am.

I must admit to a faux pas at this point. The inter­view invi­ta­tion let­ter had explic­itly men­tioned that a suit5 was not required—instead, busi­ness casual would be per­fectly fine. I did what any self respect­ing nerd with­out a dress sense—or under­stand­ing of what busi­ness casual actu­ally meant—would do: I searched Wikipedia:

A com­bi­na­tion of col­lared shirt (such as a dress shirt or polo shirt), cot­tontrousers (such as khakis or blue, green, brown, or black trousers) with a belt, and mod­est shoes (such as loafers) with socks is gen­er­ally accept­able. A blazer or busi­ness jacket can option­ally be added.

Accord­ingly, I dressed in—you guessed it—blazer, trouser and a shirt. Suf­fice to say that I was more or less hor­ri­bly over­dressed and let’s leave it at that.

As I waited down in the lobby, I found that there were quite a few other peo­ple who seemed to be students—my first assump­tion was that they, too, had come for interviews—which, as it turned out, was cor­rect. We had coa­lesced into small groups by the time S. arrived to pick us up from the lobby—a few short intro­duc­tions later, we were off.

As we all were rather ner­vous, there wasn’t much in the way of conversation—understandable, but some­thing I would regret later. We made a few more stops along the way, pick­ing up other can­di­dates who had come via the shut­tle. Finally, we reached.

12410 km later: 1601, S Cal­i­for­nia Avenue, Palo Alto. Face­book headquarters.

A few short for­mal­i­ties involv­ing vis­i­tor passes after­wards, we got a guided tour of the Face­book campus—beginning with a phys­i­cal wall where we were allowed to scrib­ble6 we saw where every­one worked, passed Mark Zuckerberg’s glass office—and saw him too—the lounges where you can work when you get bored of your nor­mal desk, the bas­ket­ball court, bbq area/roof, the laun­dry dump, and finally reached the din­ing area.

There were rather inter­est­ing posters spread out through­out the office: appar­ently you’re allowed to dec­o­rate how­ever you want to. A recur­rent theme was “The Son of Man” painting’s vari­a­tions spread out every­where. Of course, I didn’t rec­og­nize the paint­ing as such—but found out about it when I saw it some­where on the inter­webs after return­ing. Apart from the hacker-culture posters encour­ag­ing mak­ing and break­ing code, there were also snack areas spread out throughout—various types of cof­fee vend­ing machines (which is what drew my atten­tion) amongst other things.

The work­space was extremely democratic—large tables with huge mon­i­tors for every­one: no cubi­cles or offices—apart from the one I referred to ear­lier: Zuckerberg’s. Mac­book Pros seemed to be the stan­dard lap­tops, with a few lenovo lap­tops look­ing sad, for­lorn and out of place here and there. The gen­eral impres­sion was of bustling, infor­mal busyness.

The theme for lunch that day was Johnny Cash—ribs, fried chicken, pinto beans and baked car­rots. Not want­ing to fall asleep dur­ing the inter­views to be held soon—I ate lightly, looked around and had yet another cup of black, hot cof­fee. We were joined by a few FB engi­neers, but all con­ver­sa­tion was a but muted.

Up next was a conversation—group dis­cus­sion with 2 Face­book engineers—anything we wanted to ask about how Face­book worked, behind the scenes tech­nol­ogy, cul­ture, etc. A rather inter­est­ing, hour long discussion—mainly cen­tered around the adver­tise­ments and per­for­mance reviews—later, it was time.

We split up, each assigned an interviewer—us under­grads and grads went through 3 inter­views of around ~45 min­utes each, fol­lowed by 15 min­utes breath­ing space—the sole PhD student—M.C.—had to suf­fer through 4. Finally, after 3 hours—and almost falling asleep in the last interview—it was over! I man­aged to inhale another cup of black Columbian cof­fee some­where in between interviews—indeed, I almost fell asleep while sip­ping it.7

I spent some time talk­ing to M. and D.—who had also come dur­ing on cam­pus place­ment and had arranged inter­views and referred me, respectively—and dis­ap­point­ingly, it was time to go. I had sin­cerely been expect­ing that results would be imme­di­ate, and that my 3 month nail-shredding-ly long wait would finally be over. It was not to be.

I met quite a few other guys out­side the office—where we decided to wait for the final inter­vie­wee. We just about ripped apart every sin­gle ques­tion, dis­cussing the solu­tions we could get at from every pos­si­ble angle; and nig­gling at the ones we couldn’t. A short bus ride back to the hotel, and a quick change of clothes later it was time to explore down­town PA!

We were  a rather eclec­tic group—the jet­lagged Indian Civil Engi­neer, the Ser­bian PhD from Illi­nois, the mar­ried Brazil­ian MS stu­dent from Cor­nell and the two Canadians—one of whom also hap­pened to be a diver.

The Sher­a­ton is pretty cen­trally located—so every­thing was pretty much walk­ing dis­tance. Hav­ing a look every­where, we found a nice restau­rant where I had minia­ture burg­ers (slid­ers?) of a sort while we again dis­cussed the inter­views. It was pretty much the only thing on the top of our minds at that point. Din­ner and dis­cus­sions over, we headed back to the hotel—and decided to wait out in the lobby as one of us was catch­ing the flight back to Cor­nell that night itself.

After return­ing to my room I found that I was not sleepy—and that I really wanted to visit Stanford—both to meet a class­mate (R.) and see the place where Knuth teaches. Call­ing her up, the con­ver­sa­tion was along the lines of “Hey—Kunal here! … the one from India … XII L … yes, that par­tic­u­lar Kunal … can I come over?”. I rather incon­sid­er­ately intruded as she was work­ing on her assign­ments, but again—I assuage my guilty con­science by the fact that I didn’t have any other time to visit before leaving.

Catch­ing a cab, I reached Stan­ford, where I promptly man­aged to get lost. A few min­utes worth of con­ver­sa­tion about direc­tions and signs later I man­aged to catch up with R.—who took me on a tour through the awe­some Stan cam­pus. Start­ing from the houses, to the main insti­tu­tional area—we cov­ered quite a bit of the main cam­pus area.

1st March 2011

Chat­ting, and walk­ing around cam­pus, I kind of acci­den­tally also caused R. to miss a work appoint­ment with some­one. See ref­er­ence to excuse above. Finally, at around 2 am in the morn­ing it was time to catch a cab and return to the hotel (there’s a limit to how much of some­one else’s time I can waste).

As luck would have it, the cabby on the way back was inter­ested in chat­ting. On find­ing out that I had been inter­view­ing at Face­book, he kind of opened up and told me about how he had once fer­ried Sean Parker and just about dis­cussed his life his­tory with him. He dropped me off within a few min­utes and left hap­pily (I had by then under­stood the nuances of tip­ping in the US—a fairly dif­fer­ent expe­ri­ence than in India).

Exhausted, I returned to the hotel room and jet lag finally caught up with me. I absolutely could not get to sleep. Thanks to free and rather fast net access, I man­aged to pass the time (I even filled out Google SF’s appli­ca­tion form dur­ing that time!) till around 7–8 in the morn­ing; after which I packed, dressed and got ready to leave.

Break­fast was inter­est­ing, and rather heavy—again, some­thing I didn’t rec­og­nize but involved scram­bled eggs, bur­ri­tos and straw­ber­ries. And of course, even more cof­fee. All packed and ready to go, I reached the hotel lobby and met up with M.C. again—he had his flight at around the same time, though his would be domestic.

We had both booked the same super shut­tle, and ended up being 2 of 3 pas­sen­gers on the way to the air­port. A short discussion—and exchange of con­tact details later—it was time to fly back! I had been a bit ner­vous about the much talked about TSA secu­rity pro­ce­dure, but it merely involved stand­ing with my hands up in a machine that looked like it would tele­port me some­where (Beam me up, Scotty!)—which was cool.

I had some time to burn at the air­port, which I spent hav­ing lunch, read­ing the kin­dle and get­ting thor­oughly bored. Sadly, the shops at the air­port were pretty much use­less and full of touristy junk that I would never touch—so they were not much of  a distraction.

Again, the same old routine—boarding, get­ting a place to sit, hang­ing up the ol’ jacket—of course, this time I was trav­el­ling econ­omy so the expe­ri­ence was not that luxurious—but still pretty com­fort­able. Thank­fully, the flight was just about three-fourth empty and I switched to two adja­cent empty seats once we took off and spread out comfortably.

By this point my body had just about had enough with my delin­quent behav­iour and cof­fee over-indulgence—and I was about to be pun­ished. Most of my mem­o­ries of the flight back are of flashes of lucid­ity between a state that could be char­i­ta­bly referred to as “passed out” but per­haps more accu­rately referred to as “dead”. I some­how man­aged to wake up in between in time for meals and watched the odd movie in a veg­e­ta­tive state, but mostly spent the time recovering.

Another inter­est­ing coin­ci­dence was that around half the flight crew on this flight was the same as when I had been fly­ing in the reverse direc­tion. One of them rec­og­nized me and pretty much was amazed that I was return­ing from SF so soon—I really wanted to ask him how he man­aged to stay awake with such a hor­ri­ble sched­ule but missed the chance.

2nd March 2011

The only notable part dur­ing this par­tic­u­lar day was the switch over between flights. The same rou­tine in the reverse direc­tion, though I did get to explore Dubai Air­port. I also hap­pened to run into another Civil Engi­neer who was com­ing to IIT Delhi soon—for a con­fer­ence. Manda­tory shop­ping (choco­lates) com­pleted — and stuffed into the bag, it was time to board and return home!

3rd March 2011

At some­where around 3 in the morning—I was back in India. This par­tic­u­lar flight had been spent watch­ing movies. Dis­em­bark­ing com­fort­ably, I was wel­comed at the air­port by an excru­ci­at­ingly long wait at the bag­gage belt—though the lug­gage from Dubai to Delhi was rather interesting—microwaves, tele­vi­sions, the occa­sional bedroll—and of course, the fam­i­lies dis­cussing how to pass through cus­toms with­out pay­ing duty.

Add a rather large num­ber of irri­tated, grumpy and drunk men to the mix—and you know the wait wasn’t exactly some­thing I want recall in detail. Finally, my suit­case arrived and it was time to go!

My par­ents had come to pick me up, and the drive back home was me relat­ing just about what this blog post cov­ered. While I could go all recur­sive and loopy and re-type every­thing in this post and then again loop back and once more and once again after that and … I’ll restrain myself.

Finally home—it was time to sleep! My ~100 hour long adventure—which involved spend­ing ~40 hours sus­pended in the air in a metal cylinder—was over.


[0] This post is as much for mem­ory as it is for posterity—excuse the length; or per­haps skim the post if you want. I have a chronic inabil­ity to take pho­tographs on vacation/journeys—I’d much rather enjoy myself in the moment than record it for faint mem­o­ries in the future. This is also (most prob­a­bly) the longest post I have ever written.

[1] This was the first time I would be trav­el­ing alone. Of course, their reac­tion would have been more appro­pri­ate if I had been trav­el­ing on foot. With a large stick to ward of wild ani­mals and some gold coins to buy pas­sage on pirate ships.

[2] Keep a count—you will be quizzed after the arti­cle is over.

[3] Of course, if the chan­nel in front of you was stuck on, say, a K-serial or per­haps Indi­aTV I can under­stand the need for hav­ing 2 back­ups for chang­ing the chan­nel. Par­tic­u­larly in 16 hour long flights.

[4] The fact that the inter­net con­nec­tion is what I remem­ber most vividly about my room says a lot about my over­all personality.

[5] Inci­den­tally, I did end up wear­ing a suit for my Visa interview.

[6] I refrained in the hope that I would get a chance to add my name later.

[7] For those of you expect­ing a detailed, blow by blow account of the inter­view pro­ce­dure, ques­tions and detailed answers—that won’t be hap­pen­ing here. Move along.

a I had worked for him, once.

b Tigana by Guy Gavriel Kay, for those inter­ested in fantasy.

c A club sand­wich, for the hungry.


PS

8th March 2011

M. had told me that the results would be out on Monday—and I stayed up Mon­day night—beyond mid­night, thus the 8th—wait­ing eagerly for the results. At around 3.00 am I mailed her ask­ing about what happened—and imme­di­ately got a reply ask­ing if she could call me.

I imme­di­ately replied in the affir­ma­tive, feel­ing that I had been rejected and she was call­ing me just to let me know in a politer man­ner than an email—’cause of the long flight etc.

Well, her first words were—“I have good news!”.

Hap­pi­ness ensued.

let g:InterWebFilter=on

Today I stum­bled upon a rather inter­est­ing arti­cle—The Unbear­able Triv­i­al­ity of Social Net­work­ing—that reflects some­thing that I’ve been think­ing about. To explain where I’m com­ing from—I have accounts on Twit­ter and Face­book, and I post updates—personal updates, inter­est­ing stuff around the web (strictly fol­low­ing the rule of no pic­tures of food, kit­tens or puppies)—fairly reg­u­larly (say—2,3 times a day) on both my accounts. I spend far more time read­ing other people’s updates. Ever since I’ve dis­cov­ered Hacker News I’ve been spend­ing more than a fair amount of my time lurk­ing around read­ing arti­cles and com­ments. Of course, there are also the var­i­ous sta­tus mes­sages on Google Chat—I have dis­abled the tab that shows buzz, but of course there are always the sta­tus mes­sages and links of peo­ple cur­rently online.

Very rarely, when I intro­spect on how I spent the day, I won­der about the time I spend dully and typ­ing in front of the com­puter screen—the clas­si­cal hacker image so pop­u­lar in media; but with a cru­cial dif­fer­ence. Instead of mak­ing and break­ing stuff—I’m just pas­sively absorb­ing what I see; occa­sion­ally react­ing to par­tic­u­lar stim­uli but oth­er­wise sim­ply whiling away the time. A not-inaccurate metaphor would be sit­ting on a bench next to a busy street, watch­ing peo­ple pass by; occa­sion­ally call­ing out to and chat­ting with friends who hap­pen to be around.

In retrospect—this does not seem to be a par­tic­u­larly pro­duc­tive use of my time. A gen­er­al­ized overview of posts that I’ve been read­ing recently on Hacker News would involve—yet another javascript frame­work, some­thing new and cool with node.js, css3; the odd new ShowHN start-up/web-application, another post on FizzBuzz vari­a­tions for hir­ing; browser wars; lan­guage wars; why there is a new SV bubble—why there isn’t—not exactly claims that I’m back­ing up with sta­tis­ti­cal data, but an over­all feel of the type of arti­cles that run over there. Some arti­cles are par­tic­u­larly impres­sive and worth far more than the time I invest in read­ing them—but those hap­pen to be the outliers.

Some­thing sim­i­lar hap­pens on Twit­ter and Facebook—the same ideas repeated again, and again with few vari­a­tions. Of course, the exact behav­iour depends on what your friend cir­cle is like and who you follow/who fol­lows you. I find Face­book par­tic­u­larly addic­tive (even if it does appar­ently attract dullards) because I find it really easy to see what my friends are up to. Of course, I might already know that in much more detail if I spend far less time in front of the com­puter and more time with them in per­son—my only excuse is that some­times geog­ra­phy gets in the way. Twitter—well, let’s just say twit­ter has been los­ing its charm for me lately.

Is it worth my time to write about triv­i­al­i­ties that no one would or should be inter­ested in? Is it worth the time I use up in oth­ers’ lives? Revers­ing that par­tic­u­lar chain of thought—is it worth my time to read oth­ers’ triv­ial bits of infor­ma­tion?

Accord­ingly, I shall be attempt­ing to fil­ter con­tent I gen­er­ate (par­tic­u­larly — to avoid tweet­ing triv­i­al­i­ties) as well con­tent I read as far as pos­si­ble. Hope­fully my attempts result in slightly fewer mean­ing­less bytes and bits being gen­er­ated on the inter­webs and allow me to do far more inter­est­ing work/play.

Spe­cific details involve avoid­ing GTalk sta­tus mes­sages and Twit­ter; restricted Face­book and Hacker News access, etc. Essen­tially, apply­ing com­mon sense before click­ing on a link. The siren song of unread tweets, Face­book updates, new links on the Hacker News page and Buzz will always remain, but per­haps I can lash myself to the mast.

(PS For those of you won­der­ing about the title—it mim­ics set­ting a vari­able in Vim.)