Friday, May 17, 2013

On qualification exams

A part of me died last night.

It wasn't really a big deal. Really. I'd been planning for a month or so to give a presentation today–a sort of oral qualifying exam, the only of its kind in my PhD program. I'd been over my slides several times this week with my advisor, and then he finally sort of snapped. The conversation went from "I don't understand this slide" to "You need to do it my way," and then finally ended with a decisive "You're not ready for your presentation tomorrow."

Perhaps his decision was closely linked to our "discussion" earlier, the discussion that started out with ridicule, then proceeded quickly to a heated argument and ended with him walking out saying, "Maybe you need to find someone else willing to bring forward your research ideas." I watched him go in a quandary:  Do I apologize, let him know I'll change my slides to match his desires, or do I just ignore him and go forward with the presentation? He's fairly fickle, and if I could catch him in a good mood, I was confident I could get him to pass me. Besides, I would be presenting to a committee of three professors, and I'm guessing the other two wouldn't have any emotional attachment to my slides.

But then I decided to bow out. I'd had such visions of grandeur up to this point. Coming to graduate school was going to be the best thing I'd done. Sure, it might be hard work, but no longer would I be surrounded by incompetent undergraduates, no longer would my nights be filled with busy work just to get the grade.  Instead, I'd be in an environment surrounded by high-energy, deep-thinking scholars. The only problem I would have is finding enough room on my CV for all the publications I'd be pushing. There would be no drama, no posturing for positions or fighting with the "wunderkind" for an advisor's attention. Just research, and making an impact on the world.

And then I let that dream die.

It was slowly replaced with a kind of saddening understanding. Maybe a PhD program is something akin to the hazing process required for a college fraternity. At times the requirements might not make sense, and they might have nothing to do with the end goal, but if you can only get through the hazing, you'll be accepted by the group and given a lovely PhD diploma to hang on your wall.


Now I have only one question for myself:

Is this really what I want?


The Little Match Girl

Tuesday, April 30, 2013

MR-ADAM

Dear C++ MapReduce:

All your base are belong to us.

EOM


Friday, April 26, 2013

Next on the Bucket List: The Down Under

I was listening to the radio last night on my way to basketball (there wasn't anything situationally-appropriate to play, so I shamelessly listed to NPR) and it was all about homing pigeons.  In summary, they don't know how pigeons always manage to return home (even sedated during the trip out, they still make it back), but they think it has something to do with a "built-in compass."  Apparently, pigeons aren't the only creatures with this sort of auto-nav.  An Aboriginal community, the Prompuraaw, has a language that is largely impacted by 16 different words for cardinal directions.  Instead of saying "How are you" as a greeting, the typical question is, "Where are you going?" and a typical response would be, "Southsoutheast, in the middle distance." Literally, they always know where they were heading.

Anyway, this got me to thinking about my own sense of cardinality.  Ever since I can remember, I've been confused by north and south.  Not in a "I can't tell my way around town" sort of confusion—in fact, I always know which direction I'm going.  But I always think north is south and east is west.  It's really easy to fix when giving directions, for example, because I just reverse my intuition and it's all smooth sailing.  But this radio program made me wonder if, perhaps, my internal sense of direction really was correct, I was merely living in the wrong hemisphere.  Needless to say, I added "visit the southern hemisphere" to my bucket list (anyone up for a trip to Sydney?).




But there's another interesting phenomenon that has been troubling me lately.  Whenever I think of a dream or a memory, I always think in 3rd person.  When I remember my brother and I rolling down the stairs on our stomachs as a kid, I don't feel the stairs hit my stomach, I watch happily from a distance.  When I'm running from a killer witch in a nightmare, I don't look down at my feet and wonder why they won't move, I watch myself from a distance, trying to will myself to run.  

It's not really a problem (it has gotten me into trouble a couple of times...like when, as an 18-year old at the family dinner table, I "remembered" my parents wedding), but it does concern me because this implies that none of my memories are actually real.

What does that even mean?

Monday, April 15, 2013

Bogo Sort

(This post inspired by one of the latest XKCD comics)

The CS department recently finished our new building, and it's the first time I've actually been seated with my fellow labmates.  As the first item of business, we commenced prototyping our own version of Bogosort.

According to Wikipedia, the expected runtime is (n - 1) n!, so obviously we sought to empirically determine if this was accurate.  Our results showed that for lists of length 10, the number of iterations varied wildly from 1.0 to 315.9% the expected number of iterations, with an average at around 82.8%.  We also found that, for lists of numbers of length 15, nobody had the patience to wait for a single run to finish.  We also empirically determined Python is inefficient and hypothesized that C++ could probably even do the job better.

If you'd like to run the code yourself, you can find it here.

And finally, we determined an even more "efficient" (I use the term loosely, since efficiency for Bogosort is somewhat of a misnomer) Bogosort algorithm:
While not sorted(list):
  Rebuild Universe


Unfortunately, we never made it past the prototyping stage, even after expanding our search to include non-standard libraries.

Wednesday, April 3, 2013

Bad Labels

Sometimes I think labels are a bad thing.  For example, I realized the other day I'm not homophobic–I'm just not a fan of PDA, and I'm not a fan of kissing boys.  It's the same way you might be grossed out when I eat my corn flakes with water.  Is it gross?  Not at all to me, but you might think so.  Does that make you a corn-flakes-in-water-phobe?  Well, not the negative connotations currently in use with the term.  

Another one I realized I don't like is "you have a problem with authority figures."  I think that title fits me pretty decently, I'd just tweak it slightly:  I have a problem with authority figures who are doing a fantastically terrible job.

Take this morning, for example.  I had two notable experiences.  The first (actually, it happened second, but I want to bring it up first) was a call from StubHub.  Recently, I purchased two relatively-expensive tickets from one Andy T for an upcoming concert.  Andy sent me 4 tickets instead, and I was thrilled because at half price they were almost reasonable.  StubHub called last week with the old "Andy sent you the wrong number of tickets.  Can you send them back?"  I acquiesced, of course,  since I'd hate to be out two great tickets myself.  But...I was at my brother's wedding in another state and I didn't get around to it.  This morning, StubHub called me again.  The conversation went something like the following:

StubHubGuy:  I noticed you haven't sent the tickets yet.
me:  Yeah.  I've been out of town.
StubHubGuy:  Well, you know that if you don't send them, we might charge you full price for the other tickets.
me [here's where the "authority issues" came out]:  I actually am only sending the tickets because I'm honest.  There is nothing in the StubHub agreement that says you can charge me double.  I don't take kindly to threats.
StubHubGuy [now backpedaling cause I didn't lay down]:  Well, I didn't say we were going to charge you double, just that we might.
me:  I think we're done here.


I don't think that's issues with authority, is it?  Maybe I was a little testy because of a carillon issue that cropped up the night before, but "issues with authority"?  He was clearly doing a fantastically terrible job, and I was not in the mood to put up with it.


The second experience actually has been spanning several days now.  Our delightful Guild of Student Carillonneurs has been growing quite nicely for a few years, but the President/Dictator of the Guild (he actually named the typical "vice president" office the "deputy director."  Serious?  Are you looking for a fight?  Do you need a deputy to police our little 9-member club?) has been growing restless.  Just last week, he sent out an email to the Guild that "the inability of recently-inducted Members to fulfill the specified duties of membership...makes those inductions incompatible with the Guild's new Constitution and the mission of the Guild."  Which means that all of the members but himself and me are either kicked out, or graduated.  Including the former Cornell Head Chimesmaster who's doing a PhD in Arabic studies at UT. Are you catching the "fantastically terrible job" here?  This is a perfect case of ex post facto, and an even better case of abusing it to nobody's benefit.

Needless to say, I sent him the following email.  (I spent a good deal of research time on it, but I thought it turned out pretty good, don't you?)

You've made a couple of bad decisions recently, but they're decisions you've made nonetheless, and some of them are impossible to reverse.  Right now, though, you have two paths ahead of you:  that of the mediocre man, or that of a true leader.  Let me describe them for you. 
Your first choice is the choice of the mediocre man.  It is the nature and disposition of almost all men, as soon as they get a little authority (as they suppose), to immediately begin to exert unnecessary dominion.  It is the nature and disposition of almost all men to undertake to cover their mistakes, continually heaping on poor decisions.  When one wrong decision leads to another, instead of taking responsibility and admitting fault, the mediocre man takes the coward's way out, finding excuses for what they've done or allowing others to take the blame for them.  They will not admit fault, because fault is a sign of weakness and the mediocre man does not believe weakness should be expressed.  They may some day become a great politician, but they will not be successful.  And always, always, their organizations are filled with pettiness, back-bighting, and a general poor sense of morale. 
On the other hand, you may choose the path of the true leader.  While this path might be harder in the beginning, it will be so much worth it in the end.  The true leader does not seek to gratify his pride or his vain ambition, he does not seek to hide his faults or cover his wrong choices, and places the desires and needs of his constituents before that of his own.  This path will require you to admit that you were wrong, to offer apologies where necessary, and to mend bridges you have burned.  While it might be tough for you in the beginning, the Guild as a whole will be much stronger because of it.  No true member of the Guild will care about power, because no true lover of music would care about anything but playing the instrument they love.  If you're a good leader, you'll demonstrate this by example.
 
[Name withheld to protect the "innocent"], I'm hoping you'll make the right choice.  I'm hoping for the Guild's sake you'll choose the path of the true leader, but I'm also hoping for your own sake.  If not, the School of Hard Knocks has several tough lessons for you yet to learn.
 
As a wise man has said, I seek not for power, but to pull it down.  I seek not for the honor of the world, but for the satisfaction personal gain can bring.  I seek not for the praise of men, but for the betterment of the Guild.  Let's all have the same goals in mind.

The carillon is located at the top of the famous UT tower, just above the clocks seen on all sides.

Monday, February 18, 2013

"Not to be confused with Supper."

I was recently invited to dinner at a friend's house.

No, no, that sounds too simple, too naive, too unassuming. Too friendly. How about something more like this:
Yesterday, I looked death squarely in the eye, accepted his challenge and its potentially weighty cost, and narrowly escaped with my soul still intact. Was I a better man for it? No. But I survived, and sometimes that's all you can hope for.

Yeah. That sounds about right. Sometimes, "dinner at a friend's house" is not just "dinner at a friend's house." Especially not when you are studying "bioinformatics with specific interest in metric space indexing as applied to next-generation DNA sequencing." Especially not when you have to do the customary first-encounter introductions.  And especially not when the friend's family come from a long line of successful artists and artistic types. No, in those circumstances, you're not looking for understanding. A glazed-over "oh...okay" is entirely satisfactory. In fact, sometimes it's more than you can hope for.


Typically, it all happens so fast. You're having an enjoyable conversation about Italy or Lance Armstrong or a family's latest feline incident, when all of the sudden the conversation goes silent (it happens every 7 minutes). There's no more family business to discuss, no shredded Brussels sprout to pass, and no more quirky "remember when ___ said ___" over which to reminisce. Suddenly, someone (typically the most motherly figure in the room) looks you squarely in the eyes, clears her throat, and you know it's coming. You struggle for any other topic to bring up, but you also need to make it sound like you're not avoiding The Topic--and you also have to think of your reply should you not be able to think of something else witty. But by then it's too late.

"So. What are you doing in school? Computers, right?"

Silence. Nobody can help you out. You're friends have never really understood what you're studying so they can't jump in. ("I know he's mentioned computers before, but last time he mentioned something about biology. Maybe it's making robots have human skin?") You don't even really understand what it is you're studying (that's why they call it research), and somehow, you've got to convey this information to a crowd of eager onlookers.

(I really wanted another picture, but it was a GIF and I felt it was too distracting.)

I wish I could remember what I said last night. I wish I could remember what I said any of the thousand times I've been in this situation. In fact, I should probably memorize a script and just give it verbatim each time so I could get better and better with each repeated queries. Instead, I just fumble through examples, metaphors, trying to relate it to arboriculture or ADHD or anything else that might ring a bell. I look into their eyes, searching for any signs of acknowledgement...and then, when the obligatory 15 minutes are done (or when I've heard the blessed "oh...okay" phrase), I wrap things up with a casual, "And that's how I'm going to solve cancer--speaking of cancer, did you hear that the UK found beef lasagna with 100% horse meat?"



And that's how the west was won, my friend.

Thursday, January 17, 2013

I've been thinking...

If it's acceptable for the cube-mate to eat his food at full volume, do you think it's morally acceptable for me to play something like this at a low murmur—just loud enough to cover any sounds from adjacent cells?


Or what about the loud cribbage players three isles down?  Am I allowed to drown them out?  Is that ethical?  Kind of a do-unto-others-as-they-have-done-unto-you philosophy, right?  A new twist on an old rule.