Motion to the Rescue

For the last several weeks, things have been disappearing from my office area. First, a backpack I had left out. I had assumed that people in an academic building full of offices would be trustworthy, perhaps I had this one coming. A couple weeks after that, I went to use my camera only to find it gone. Funny, I thought I locked that drawer. I guess I must have been mistaken. A couple weeks after that, my iPhone gone. This time, I’m certain I locked the drawer, and there are marks on the cabinet that indicate it being forced open.

Fed up with the disappearing devices, my friend Tyler and I set out on a mission. We went into Jeddah, bought a webcam and using the popular (thank to Iain for the link) Linux package motion, we set up a hidden motion-detecting spy cam in our office. We have a Linux box sitting near our desk (we’ve locked it to the floor), and so we hid the camera, trained on the place where most of disappearances had taken place.

A test shot of Tyler as we're setting it up.

A test shot of Tyler as we're setting it up.

What motion does is that every time it detects the picture it sees changing, it takes pictures for five seconds (or until the motion stops – which ever takes longer). It’s supposed to be able to encode a video with ffmpeg on the fly, but as it wasn’t working right for us, we decided to just go ahead and throw it into a script. I wrote a short bash script that just took all the photos, archived them and then generated a video (when dealing with the tens of thousands of photos generated in an average day and night I learned about xargs). It also provides triggers for when motion is captured (for example, if you’d like to update Twitter (via Lifehacker) you can do this with curl).

One night, when bored and filled with anger about the situation, I decided to check the feed and found footage of someone clear-as-day breaking into my cabinet. I first saw it about 20 minutes after the fact, but I was sure the guy was still there. I called Tyler and we quickly deliberated (after getting the opinions of a couple officemates) and we decided to wait until the morning and talk to the security officer.

Looking for goodies.  The man's face is not visible in this shot nor is this frame alone incriminating.  In the context of the video, you can see him gain entry, begin rummaging and removing items.

Looking for goodies. The man's face is not visible in this shot nor is this frame alone incriminating. In the context of the video, you can see him gain entry, begin rummaging and removing items.

We spent some time with them the next morning, giving them footage and printing key frames, and then they said they’d look into it. They assured us they would not involve the local authorities if they didn’t have to (the penalty for such crimes in Saudi Arabia can be quite stiff) and would take care of it discreetly. That night, they arrested four people and recovered a number of electronic devices. They held them as evidence for a bit, but today, I was given back my camera and iPhone (the only really big-ticket items I had stolen).

I am extremely relieved to have these back, especially my camera as I had been wanting to take photos of trips, events, etc. in its absence. Our next step was going to have off-site storage in case the bandits took off with our computer, but it would seem it wasn’t necessary.

Motion: 1, Thieves: 0

Of course, this was not a solo effort by any means. Some system admins and colleagues in the office park offered input, and the evidence wouldn’t have left our webcam if not for the security staff. Thanks, guys.

Tagged with:
 

Movember @ KAUST

Apparently a tradition many places, Mines had an annual “No-Shave November” competition, with prizes. And beards.

This year, after seeing a post about “Movember” (Movember = Mustache + November) on The Art of Manliness, Tyler and I decided enough was enough. It was time to grow beards for charity.

We’re busy students, and we can’t be training to run marathons for testicular cancer, so why not turn something we already do on a daily basis into something useful. Plus, we won’t have to waste time shaving.

A shave on October 31st will be my last for a month. The trick is to push on through past the “pedo-stache” stage and into the manly beard stage. I’ve grown a beard before, but was displeased with it and enough time has passed that it’s time to test the waters again, for, how can one truly know one’s beard without having one?

Movember @ KAUST has a few rules:

There are varying levels of moustached/bearded-ness.

Level 0: the Supporter. This means you support our cause, but are otherwise shaving regularly.

Level 1: the Sophisticate. You allow the growth of the facial hair, but still trim it into a neat moustache or beard.

Level 2: the Chuck Norris. Very minimal shaving. You are allowed to trim if there is unevenness, and do basic styling, but otherwise the amount of growth is way over the usual. Should be a complete beard and moustache if possible.

Level 3: the Castaway. No shaving or facial grooming allowed. Let your facial hair grow wild and free. Wilson! Wilson!

The rules for the month are that, in order to participate, you must increase at least one level from your current growth.

Unfortunately, there aren’t that many ladies on campus to impress with your manliness. On the bright side, though, in Saudi your glorious beard will be more acceptable than in many western countries. And, being graduate students, you certainly won’t be persecuted at work for an “unkempt” appearance.

But its not all about having fun and looking manly, we want some good to come from this event. Find friends and relatives willing to pledge money for your Movember month. Have them pledge a donation to one of the below listed mens-health related charities.

We’re still finalizing our chosen charity, but it looks at this point as if it will be Everyman, a group that helps to fund the Institution of Cancer Research.

UPDATE: We’ve settled on that group, and please feel free to donate!

Good luck, and good growing.

Tagged with:
 

Play

The various dailies I read have all been covering a VW program called The Fun Theory. It’s a contest and entries are supposed to provide evidence that making things fun can influence peoples’ behavior (presumably they mean to influence it positively).

For example, to encourage people to recycle bottles and cans more, a group turned a recycling receptacle into a “Whack-A-Mole” game of sorts. Or mounting giant piano keys (like in the movie Big) on stairs to encourage people to walk up the stairs rather than use the adjacent escalator. The site provides a lot of great videos and statistics:

I’ve mentioned Luis von Ahn before (incidentally he’s the man behind CAPTCHAs – the distorted text websites sometimes ask you to type in). His area of research is human computation, which generally takes the form of turning a repetitive or boring task into a really truly enjoyable game. Sure, it’s advice one’s mother has given them a hundred times, but how many times have you washed the floor with scrub-brush-shoes like in Pipi Longstocking? It’s non-trivial to turn something into a game, but still not a new idea, strictly speaking.

Not only is making monotonous tasks fun a great motivator, but many indicate that play is important. I’ve been watching a lot of TED Talks lately for our upcoming TEDx event, and these Fun Theory projects remind me of one I watched recently:

 

Home

A few days ago, I finally moved into what I’m told will be my permanent residence at KAUST.

I left the United States on August 16th making it almost two months of living out of a suitcase, sleeping in eight different beds in various places and cohabitating with a number of people. It’s far from perfect, but to have a home that will remain the same is enough for now. About half of the possessions I brought with me had not left my suitcase for those two months.

I’m moving furniture around and cleaning this weekend, but I’m very excited to nest. This may very well be where I live for the next several years of my life.

I’d post pictures, but the camera I got this summer (a Nikon D60) was stolen this week. My backpack and headphones preceded it in disappearing, and so my friend Tyler and I will be setting up a hidden spy camera in our office to hopefully get some of our belongings back or at least catch some nefarious individuals as security staff has been less than helpful.

 

How to Ensure Failure

Manhole Fail

Why are manhole covers round?

I was reading an interesting piece recently about survivor bias. It was a book (I’ll try to find it again in the library) talking about building strong companies and they presented a criticism of other such books: that they only tell you what strong companies do. It’s equally important to understand the reason for failure among companies that flounder. They gave a very tangible and compelling example:

During World War II, the Royal Air Force would send planes out on missions and some would return home and some would not. They noticed that of those that made it back, bullet holes were concentrated on certain regions (like the wings and rear gunner positions). Seeing as reinforcing against bullets was costly and also added a lot of weight to the planes, they came up with a perfectly-reasonable-sounding idea – let’s just reinforce the areas that seem to get hit most. They followed through with this inspired idea but found that they did not see any improvement in the rate of planes that returned home.

What they should have done, as this book points out, is to reinforce the places that didn’t seem to get hit on the planes that return. That’s because that’s precisely where the planes that didn’t make it back were hit, and they were seeing a sort of negative filter of the weakest points on the aircraft. Survivor bias – a systematic skewing of data based on patterns in groups from which you gather your data. In some sense, talking about what’s great about successful companies is committing the same mistake.

I am a big believe in `lessons-learned.’ After a project, it’s good to reflect on it, and think about what you’d change. What worked well, and equally importantly, what did not. Similarly, I encourage people to report negative results in their work, as they are sometimes just as useful.

In terms of ensuring failure, I’ve been taking note of a lot of things in the management of this project (the instantiation of this school) that I would change. If you want to make your life more difficult, here are some things you might try:

  1. Keep No Real Records – What we see when we go to the housing office is a couple of guys sitting at a solitary computer and a man with a cell phone and sticky notes sitting at a table. We tell this guy what’s wrong with our apartments, or what we’d like to know, and so forth, and he writes this down on a sticky note. I’ve been asked over a dozen time for my email address by the housing office alone, and I’ve had to explain to them as many times that I don’t have a cell phone. And yet, when developments occur, they try to contact me by phone.

    It’s an endless game of “telephone” where over successive conveyances of information, the message becomes utter garbage. My friend Ben has had his dishwasher checked 4 times by housing maintenance, but it’s his washing machine that’s broken. At the point of collection, make widely-accessible notes of the issues. Better yet would be to allow students to describe in writing their problems directly. (This is especially important when accents are often so thick as to be unintelligible.) It’s almost as if there were dozens of commercial and free tools out there.

  2. Don’t Use Your Products – I swear that our toilet paper dispensers were designed by people who don’t use toilet paper, and our faucets by people who don’t use water faucets. With respect to the faucets, the area of activation for the soap dispenser is a superset of the area of activation for the water, meaning you can’t get access to water to rinse your hands without having more soap applied. There are more examples, I’m sure.
  3. Foster Resentment – Treat your clients like incompetents and infantilize them at every step. When they ask for assistance, give it to them in the most inconvenient way possible.
    I’ve been moved twice since on campus, and each time they’ve given me a 30-minute window from the time I bring up the problem. I have since learned to pack all my belongings in about 15 minutes, but it’s not how I’d like to be treated. Our campus recently hosted 60+ leaders of various nations as part of the inauguration and other VIPs totaling 3,500. There was no room made for the student body one tenth that size. I was sure that the reason for this was the security concerns, until the night of the event they realized they wouldn’t fill the space and sent out buses to campus to round up random people to stand in for the event. It sends a clear message about who this event was for. Even now, some of us have been moved into the maid’s quarters of houses on campus; these serve as a bedroom – 30 square feet all to yourself.

I didn’t mean for this to turn into a rant, but I meant rather to illustrate some organizational observations. Tying this back to the picture at the top, it’s a question commonly asked at interviews (from PhD programs to Microsoft) – why are manhole covers round? It’s because otherwise hard hats would have to be a lot harder. If it’s square (like this one on KAUST campus), the 100+ pound plate can fall down the manhole itself.

Tagged with:
 

KAUST is a beautiful idea. In the king’s wisdom, he saw that oil would not last forever and for reasons pure and pragmatic, he commissioned an institution that would provide clever people with the tools they needed to grow science. And for this, I am very grateful to the king. Thank you.

That said, there have been issues. Birthing pains. And there were bound to be some. Anyone who writes code knows that nothing compiles the first time around, and even when it does, it rarely works exactly as planned. Early adopters know that a product is a brilliant idea in principle but there may still be design flaws in the implementation.

Last night saw the inauguration of the school. The king came to the school (along with 3,500 of his closest friends – leaders from various countries, nobel laureates, distinguished guests) and there was a very long and involved ceremony. Given the guest list, I understand that there are security concerns and not everyone can attend, but the initial plan for the ceremony did not include students. Or much of the faculty. Upon learning of this, a petition went around, was signed, and we are told eventually reached the king himself and he extended an invitation to one student per country. These students were then included on stage during a reading of poetry to the king.

I find it very symbolic that these students were then not guests, but performers. Perhaps it’s ego-centric or self-involved to think that it’s the students and faculty who make the school the school, but they’ve been telling us this from the beginning. Why then, did we watch on TV an event that was happening on campus? And as far as the security concerns go, we all submitted to background checks, and “police clearances” and the extensive medical tests. Oh the medical tests! I literally gave more blood samples and stool samples for getting my visa than I have in the rest of my life. We’re academics – not zealots or crazy and dangerous people.

I imagine that it’s different in a monarchy. I realized in watching the festivities, that the people presenting and speaking at the event were proffering a gift, or a thanks. A promise to the king that they hoped and prayed he would find pleasant as a man with absolute power in the land. I tried to imagine an analog in the United States and I couldn’t think of one. There are ceremonies like this stateside, but they are displays of gratitude without the fear or reverence.

KAUST has to walk a fine line – the Saudi general population sometimes feels as though this is too free or too liberal a place while many of the people who constitute the school feel it’s too restrictive. That’s in part because we were promised that there would be no segregation when we got here, and there is. We were promised that there would be no dress code, and though it’s not always strictly enforced, there is one. We were promised we would have unfettered access to the internet (we were incredulous, but that’s what they said up until we got here), but many legitimate things are censored. I understand that there is a tight-rope walk in play here, but at the same time, it’s hard to ask people to stay and work in the name of the king when there is greener grass elsewhere.

I stay and will stay because I believe in the dream. I laud King Abdullah for his insight and inspiration. It’s with certain implementation issues that I take exception.

I have been asking for two weeks whether or not my permanent residence is ready. I look forward to making this campus my home, but while we’re living out of suitcases for the last six weeks, it’s impossible to be settled. And despite asking and asking the people they’ve told us to ask, no one can tell me if my home is ready for me. The people who will be my next-door neighbors once I move in… they have been living there since the beginning. Sure there may be a problem with my apartment only, but why can no one tell me?

Things are getting better (we’re getting put in touch more directly with the people in charge of housing, IT, and other issues), but there’s still a ways to go. Perhaps with this inauguration over, things will clear up more, but I feel it’s been very trying and a lot to ask of students. And more than students, it has been a lot to ask of the families of students and faculty that have joined them here. Some professors haven’t been able to live in a house with their wives and children under the same roof because their homes aren’t ready.

The coverage of the school that we see is all roses and sunshine. And by and large, I agree – it’s very impressive and I very much look forward to working here. But I take that coverage as a slight. I find the KAUST Inauguration Twitter feed particularly revealing.

On the one hand, it’s hard to look a gift horse in the mouth, but I would a smaller and less problematic gift horse. They’ve given us t-shirts and messenger bags and thumb drives, but I want a web page with the bus schedule on it. They’ve given us apartments with 10 chairs and granite countertops, but I want a reliable internet connection. I don’t need or want the flash – I want the tools I need to do the work and research for which I came to this institution. Access to a printer that works has gone a long way. More paper for it, however, would be much appreciated. All these great whiteboards everywhere in the office area where I do my work are awesome! There are the whiteboards where interesting and important discussions will will take place. Markers would help. I don’t need a doorman at the entrance to every building. I need someone to fix my washing machine.

It’s not as though there aren’t resources enough – it’s as though the pieces are there but they’re not clicking. We have the money to actually have books in the library, but somewhere along the lines, the people in charge of ordering books neglected to do so, and so the staff is driving to Jeddah on a daily basis, buying books at what is essentially Borders, and driving them back here. I’m sure there’s a repository of paper and markers somewhere on campus, for the life of any of us, no one can tell us where that is. There is a symposium today that’s going to be very inspiring and filled with impressive people that I’ve been looking forward to for two weeks. We had to RSVP a week and a half in advance, but I haven’t been told what time it starts or where. And yet no fewer than 6 people have come by my desk to check whether or not my lamp works. My lamp works. My phone and internet connection don’t.

In order to get onto the compound, we have to present student IDs. Presumably, then, people walking into academic buildings carrying a backpack are students and are allowed to be there and are trusted. But I have to sign in at a security desk if I go in the main entrance to my building, and occasionally have my bag searched.

This has grown longer than I intended, but the thing I hope to have impressed upon you is this: I’m grateful to the king. Very grateful, and I wish I knew how best to convey my gratitude. That said, I wish we could get to work, manage ourselves as competent and trusted colleagues. We very much want to build this community and start making our homes here. To the administration: please allow us to do so.

 

Experimentation and Self-Doubt

Experimentation has a lot to offer us beyond science, but in a different way. Where the scientific method in the lab focuses more on determining with accuracy a value or finding the underlying behavior of some phenomenon, experimentation in this sense is more along the lines of being willing to make mistakes. To take on embarrassment, or exposing your academic or emotional ego to public scrutiny. Ask questions. Be curious. Be humble and childlike. For Steve Martin fans, be obsequious, purple and clairvoyant.

I think it’s better to ask an obvious question than to pridefully miss an answer. Why not learn something? Wherever you are, you’ve gotten there or been put there, and have no responsibility to do anything other than what you can. Richard Feynman talks about this at great length and was often relieved of performance anxiety by that comforting thought. When he was first appointed as a professor he doubted his qualification. He doubted himself when he presented a lecture to Einstein and Fermi, but learned to trust in the opinions of those who had put him where he was. It’s why we have letters of recommendation – so-and-so thinks you are qualified or have a legitimate interest in getting to where you’re going based on where you’ve been.

That said, not only do you not have an obligation to do anything more than you can, but you’re obligation is to more or less act as you have in the past. Not to stifle growth or change, but the person you’ve been is the person that the powers that be have selected.

Tagged with:
 

Some of My Favorite People

Until a moment ago, I had trouble articulating something or rather putting my finger on something. It’s something that I love tremendously about some of my favorite people.

I was watching a TED Talk by Oliver Sacks when he said something that caught my ear. He’s describing these visual hallucinations that some blind patients experience, and the person to first describe these symptoms was Charles Bonnett. Bonnett didn’t himself experience them himself but his grandfather did. In describing the circumstance under which Bonnett’s grandfather conveyed the experience to him, he said that he’d come up and say that he saw this or that.

I think more often than not, when someone comes up to me and tells me that he or she saw something, it’s to tell me what’s going on in the world – in the community, in school, at work. It’s rarely meant to describe the experience itself and even when it does, it’s usually meant to include a certain amount of focus on the event. But were a blind person experiencing what have been described as more movie-like than dream-like hallucinations… were he or she to tell me about the visions, the news or informative element is gone. It’s not something seen on the street or at home, but something experienced.

Among my friends, I feel very comfortable posing hypotheticals or talking about feelings or sensations I encounter. And getting to the point of what I find so enchanting about some of my favorite people is that it’s perfectly acceptable to experiment with different storytelling formats, mediums and so forth. If I went up to my friends and proposed an experiential experiment or experimental format, it would be more or less accepted, I think. Without (if at all possible) sounding self-aggrandizing, we’re willing to share more openly our feelings about the world – from a tangent I followed when I heard a word the other day to how the light on a particular tree made me feel. That’s of course not to say that we live in this world all the time.

As children, we make mistakes about how things work (mechanically and socially) and have misconceptions. After a certain point we feel a need to display a proper front or avoid mistakes and while largely this is pragmatic, it has a regrettable consequence: we cease to experiment.

I’ve been trying to take to heart a feeling that by and large, nothing is sacred. The house I will live in for the next year, my time, my situation, and the situation of others. Perhaps the world is more flexible than we realize, and we might try something new or embrace habits that might be considered weird. A concrete example or two is in order.

My friends and I are not affectionate people. Rather, by some peoples’ reckoning, we are not affectionate people. I’ve hugged my best male friends – men I’ve known for nearly a decade – probably half a dozen times. The tactile atmosphere here is vastly different – people I’ve just met will take my arm or take my hand or drape an arm around the shoulder. And why shouldn’t they? It serves to instill a sense of belonging and acceptance, perhaps better than words might. Sure some people have deep-seated personal space issues or simply prefer not to be touched, but I was surprised to find that despite physically being mostly an island back home I did find it endearing to embrace and be embraced.

Tagged with:
 

Tomorrow!

Tomorrow!

Tomorrow!

Tagged with:
 

Too Late

After tossing and turning in bed for what turned out to be three hours of not being able to sleep, I decided to get on my computer and get some reading done. Seriously, my RSS client’s inbox has been around 700 for a couple of days now. Sure, I just clicked “mark as read” for a lot of it, but I did get through a serious chunk:

No New Items

I remember that around 1 o’clock, I listened to Elliott Smith’s “2:45 AM” and hoped it wouldn’t come to that.

Tips for getting to sleep? Leave ‘em in the comments. No meds though. I kicked my Ambien habit.

Tagged with: