11/19/12

Yamaha NP-31 Quick Operation Guide

This is just for personal reference, because I don't want to hold onto this piece of paper...


11/15/12

sabbatical (what I did)

I went on a sabbatical during the months of August and September. This was sortof the vacation I had hoped to take immediately after grad school but didn't. Many people ask, what did I do? I'm afraid what I did isn't super exciting. I spent most of my time thinking (which I find exciting). But I did do something things.

I went to Eureka, and I watched an episode of Eureka in Eureka. I also read Logicomix on the beach.

me reading Logicomix on the beach

I also went to New York. I spent a week there using Airbnb for the first time — which worked out great. The first night I arrived, I typed "live comedy" into my phone, and found a show within walking distance of my place in the Upper East Side. The next few days involved walking through half of central park to the theatre district, watching a show, and then walking back up and getting dinner somewhere. I watched Wicked, Cirque du Soleil's Zarkana, and The Book of Mormon. My last night I went to The Bitter End to see live singer/songwriters perform, and the day I left I stopped by The Met before going to the airport. I really enjoyed my time there. I love New York.

a picture I liked at The Met

I also went to Yosemiti. I left really early one day and ended up being parked on the freeway along with many other cars due to some accident. During this time, I downloaded the Audible app, downloaded a book, and started listening to it. This was probably my most productive time I've spent parked on the freeway. Yosemiti was spectacular, though crowded. I enjoyed lying on a rock somewhere looking up at a waterfall where the water would dissipate before it could reach the ground.

But like I said, I spent most of my time thinking. I lived in Menlo Park, and I would go on walks from my apartment to the The Dish and back. I would also spend many days just thinking in my apartment, walking to Safeway for food when necessary.

I suppose I should write what I thought about at some point.

Bus Puzzler

Ramesh gave me a puzzler today. I'm standing at a bus stop. During any given minute, a bus has a 1/10 chance of being there. So my expected wait time is 10 minutes. But, if I looked into the past, I would find that I would expect to go back 10 minutes to find when the last bus was here.

But, that makes it sound like a bus came about 10 minutes ago, and the next one will come about 10 minutes from now, which suggests I'm in a 20 minute gap between busses, whereas we would expect buses to come 10 minutes apart. So shouldn't we expect to be 5 minutes from a bus?

My solution


Instead of waiting for a bus, imagine that we are standing in the middle of a row of peach trees, and each tree has a 1/10 chance of having a ripe peach. Now if we go to the left, we expect to examine 10 trees before finding a ripe peach. If we go to the right, we also expect to examine 10 trees before finding a ripe peach. So it still sounds like we're in a 20-tree gap between ripe peaches.

But, if we do a breadth first search to the left and right simultaneously, examining the tree immediately to our left, and then the one immediately to our right, and then the second tree on our left, and then the second tree on our right, and so on, then we still expect to examine 10 trees before finding a ripe peach, but this means that we'll probably find that tree within 5 trees of our current location.

In the bus example, if we looked into the past and future simultaneously, we would expect to find a bus 5 minutes away. So.. phew.

But, I'm wrong


We do expect to see a bus 5 minutes away, either in the past or in the future, but we don't expect to see a bus 5 minutes away in the past and in the future. That is to say, of the two buses we're between, the closer one is probably 5 minutes away, but the further one is probably 15 minutes away. So we really are in a 20 minute gap between buses, it seems. Or so says a simulation I ran...

function waitForBus() {
    var t = 1
    while (Math.random() < .9) t++
    return t
}

var sum = 0
var total = 100000
for (var i = 0; i < total; i++) {
    var a = waitForBus() // bus in the past
    var b = waitForBus() // bus in the future
    var c = a + b
    sum += c
}
sum / total

I ran this using my JavaScript utility, and it spits out 20. And if I replace c = a + b with c = Math.min(a, b) to simulate the nearest bus, it spits out about 5.25 (not quite 5, but close). And putting in c = Math.max(a, b) yields about 14.75 (not quite 15, but close). The fact that 5.25 + 14.75 = 20 makes me suspect that the .25 and .75 parts may be "real", but I don't understand them.

While discussing this with a friend, he looked up the answer online and read something about sampling bias toward longer gaps. This seems right. The average gap between buses is 10 minutes, but some gaps are much longer, and we're probably in one of those. For instance, if there were only two sizes of gap, 5 minutes and 15 minutes, then the average gap size would be 10 minutes, but the 15 minute sized gaps would consume 15/(5+15) = 75% of the time. So if we showed up to the bus stop at some random time, there would be a 75% chance that it was a 15 minutes gap, and a 25% chance that it was a 5 minute gap, meaning we expect to be in a 75%*15 + 25%*5 = 12.5 minute gap, which is longer than the "expected" 10 minute gap.

11/14/12

Braess's paradox

In casual conversation, I said something seemingly non-controversial like "gaining information is always good". And a friend challenged me. He said no, sometimes more information is bad. And he sent me a link to Braess's paradox.

Here's the setup for the paradox...




image from Wikipedia, which on a side note managed to get me to donate money today


...4000 cars start at START. It takes 45 minutes to go from START to B or from A to END. It takes T/100 minutes (where T is the number of cars or "travelers" using the road) to go from START to A or from B to END. There is a quick, zero time path from A to B, but nobody knows about it.

Here's the paradoxical result (see the Wikipedia page for details): everyone can drive from START to END in 65 minutes, with 2000 cars taking the top path, and 2000 taking the bottom path. But if everyone discovers the quick road from A to B, then everyone will end up spending 80 minutes travelling from START to END, with everyone going from START to A to B to END. So introducing information, namely the existence of a road, was somehow bad.

Of course, this assumes everyone will be selfish, doing things that help themselves at the expense of everyone else. Knowledge of the road from A to B could be good in an "enlightened" society. In fact, a society could use the road from A to B to decrease the total human-minutes spent travelling from 260,000 to 258,750, if 2250 cars go from START to A, and 500 cars take the road from A to B. Of course, it might be hard to agree who those lucky 500 people will be, since they'll each spend only 45 minutes travelling, whereas everyone else will spend 67.5 minutes.

So I guess if everyone is selfish and greedy, then introducing new information can be bad. But if everyone is enlightened — for some suitable definition of enlightened — then I still think gaining information is always good.

11/13/12

The After Image

summary

Check out The After Image blog.


here I've copied the about page:

This blog is a sort of prototype for a website I want to build. The website, assuming I create it, will allow people to hire an artist by providing a "before" image, as well as some "extra instructions". The user can then choose which artist they want by viewing each applicant's before-and-after image pairs, e.g.:

before
after

The grand vision is to demonstrate that online work is not just something for entrepreneurs to take advantage of, but something that regular people can benefit from as well. Hence, I wanted to pick a domain that regular people might be interested in hiring for. Art came to mind, because I have hired artists myself for some personal projects, including my Facebook avatar (which appears as the first before-and-after post in the blog).

The design is meant to overcome two challenges: it can be hard to come up with something to hire an artist to do; and it's hard to pick an artist. The strategy for overcoming both challenges is the same: makes everyone's input and output public -- at least at first. This will allow people to be inspired by what other people have done. It should also make it easier to pick and artist, since it will be obvious from the before-and-after images what each artist is capable of.

My strategy in the past has been to just build a website, but these attempts usually die due to lack of liquidity. Hence, I decided to test and bootstrap the idea with this blog where I would manually go through the hiring process myself. This was meant to help me gauge interest as well as discover a price point.

11/12/12

metameaninglessness


I imported all my posts from a somewhat secret, not well publicized, somewhat personal, somewhat half-baked, blog I kept called metameaninglessness. I went through it and decided it wasn't too crazy, though my standards are pretty low. Anyway, as that blog suggests, read at your own risk ;)

I've also added labels to many posts. You can find a lot of the original "real gl" posts with the research and odesk labels. Some common labels from metameaninglessness posts include: anecdote, armchair philosophy, art, introspection, rant, and religion.

11/11/12

bio

Sometimes I need to give a "bio" to places. Here's my current one, so I can grab it.

Greg Little is a Labor Scientist at oDesk, where he and the Research team explore ways to enhance the online work experience for both employers and contractors. Greg received his PhD in computer science from MIT on the topic of crowdsourcing. He has previously interned at the Xerox Research Center Webster and the IBM Almaden Research Center, and has worked at a startup video game company. He received his B.S. from Arizona State University.