6.29.2008

Statistical Significance

I've been watching a lot of TED lately.

The TED (Technology, Entertainment, Design) conference is an annual event in Monterey, CA. Each year, a thousand of the most fascinating and thought provoking people in the world are invited to attend. Fifty are given 18 minutes on stage and challenged to "give the talk of their lives" to this myriad of thinkers and doers. Does one steal the show?

For me, the answer is "yes": Hans Rosling.

I'm going to suggest something now, and it's going to sound really boring. Please take my word that it is not. Take 20 min and watch Hans Rosling speak, with his potent visualizations, about world health statistics.

I know the phrase 'world health statistics' probably conjures up thoughts of dry lectures and columns of colorless text containing vast quantities of cold data. But Rosling brings a storyteller's heart and a sportscaster's zeal to this presentation, with stunning visuals and a sprinkle of humor to spice up his sober sincerity.



A year later, at the 2007 conference, Rosling reprises his talk with some new insights. If the first presentation left you enamored with this man, as it did me, this one will surely not let you down. At the conclusion, he brings his point home in a truly unexpected manner.



The visualization tools shown in the video are available at gapminder.org and are every bit as powerful as the presentations make them out to be. But as Steven Levitt warns:
The one danger of great data tools like these, however, is that they create such beautiful graphs that it is easy to forget that what you are looking at are correlations, not necessarily anything causal.

Apparently Rosling met the Google guys at TED. They bought the software behind gapminder.org, Trendalyzer, in 2007 for an undisclosed sum. Interestingly, Marissa Mayer at Google told Rosling "You have to make videos". This offended him. "We want to be modern, we want to make webpages where people lean forward and click," he replied. To which Mayer responded, "No, they don't want to lean forward and click, they want to lean back and watch."

I think they are both right. From the about Gapminder page (emphasis mine):
Gapminder is a non-profit venture promoting sustainable global development and achievement of the United Nations Millennium Development Goals by increased use and understanding of statistics and other information about social, economic and environmental development at local, national and global levels.

For some people, understanding comes through use, through "lean forward and click". For others, through demonstration, through "lean back and watch". In another presentation, Rosling shows a picture of musical notes taken from Chopin's "Nocturne". He supposes that looking at raw data is like looking at a musical score. Only a student in the field can recognize the beauty and power of the composition without tools to realize the potential lurking within the notation.

Beauty and power, in music as well as statistics, come from giving the right tools to the right people. And as the web has done for independent musicians, it can provide the right tools to almost anyone, and let the right people show their stuff. The right tools are becoming accessible and freely available, thanks to people like Hans Rosling.

By the way, he later apologized to Marrisa Mayer after the video of his first TED talk generated over a million views. And at the time of this writing, he has posted 10 short video "GapCasts", which seem to have taken a presentation cue from network TV weather predictions!

6.12.2008

View My Message (dot cooooom)

Ever send pictures from your phone? Yea, me too. My cheap, old Samsung phone on Sprint's network supported sending and receiving pictures just fine. My new fancy iPhone a) can't send them, and b) can't receive them. There are two clunky ways around this. Macworld's Dan Moren, an acquaintance of mine whose name I keep happening upon lately, writes:
The not-so-secret secret here is that most wireless providers assign their subscribers an email address based on their phone number. If you send an email to that address, it’ll get delivered as a text message—if you attach a photo to that message—say, using the iPhone’s built-in photo emailing—it’ll get delivered as a picture message.

He's suggesting that anytime I want a friend to send me an MMS, I tell them to send it to me at 6035579073@mms.att.com, and anytime I want to send an MMS, I instead send an email to 6035550000@mms.whoverthehelltheircarrieris.com. As Dan notes, this sucks.

The other long way around the lack of native MMS support on the iPhone is viewmymessage.com. It's a good idea in theory: When an MMS message is bound for an iPhone it is instead stopped at AT&T and posted on a website. A text message containing instructions for how to receive this message is then sent to the original recipient. The problem is in the implementation. Let me elaborate with a numbered list of greivances.
  1. Anybody got a pen?

    Here's the workflow:
    • Receive text message
    • Find a scrap of paper and pen
    • Write down two arbitrary 8-10 character sequences (message id and password)
    • Go to viewmymessage.com by clicking the link in the text message
    • Type in both sequences
    • See picture

    Compare this to my suggested workflow:
    • Receive text message
    • Click link
    • See picture

    These sequences of 8-10 characters for messageid are no picnic, by the way. 'o0nssy2jvm' and 'i06kdklv6' are two actual examples of message ids. Quick, look at the tiny text on your phone and tell me if that's an o, O, or 0! The passwords, however, are passably readable. Things like 'silk9aid' and 'guy7robe' are somewhat easily committed to short term memory.

    The kicker is that the committment to memory or paper that these require is unneccessary. They can be easily encoded in the URL itself, so that the user never has to type them in. I'm pretty sure that's how my Samsung phone 'natively' handled it, and I was barely even aware of the fun I was missing out on. What I'm saying is that instead of the existing link to http://www.viewmymessage.com, include a link to http://www.viewmymessage.com/en/webnonsubscriber/msgidlogin.do?messageId=i06kdklv6&password=silk9aid , which works - or would if I hadn't changed a character to prevent you from seeing my message, in the text message. Poof! Fixed!


  2. Flash as an image viewer

    The messages at viewmymessage.com can be retreived on any multimedia web browser. (I tried using lynx and the site practically scoffed at me.) Using a computer to access your message on that site will likely bring up a small 217x244px embedded flash movie containing the sent picture. I'm sitting here at a computer with 1600x1200 monitor, looking at a tiny picture that i can't even make out. I can choose to 'zoom in' via flash's right-click menu, but since my viewport is limited to 217x244px, I can only ever see a tiny square a time, like looking at a panoramic photo through a pinhole.

    And there's no way to save the image from a flash, except screenshotting. Hey, guess what? People like photos. People like to save photos. It's what they do. The first MMS I got on the iPhone was a picture of Adam and Jess's newborn son, Cohen. I remember zooming to the native resolution of the image within the flash viewport jailcell, scrolling around and taking 6 different screenshots, and stitching them back together in paint to get a decent image.

    Not only is there no way to save an image locally on your own computer, but messages are deleted from the server within 7 days. That sucks.

    If you really want to save a photo from viewmymessage.com, here's what you do: Disable flash. Since the site was meant to be used on an iPhone, which doesn't support flash, it has flash detection built in. If the browser you use doesn't support flash, it instead returns the original JPG. Don't ask me why this isn't the default behavior, cause I sure don't know. Oh, and don't just download the FlashBlock plugin for FireFox. The browser needs to report up front that it doesn't support flash. All FlashBlock does is prevents flash from displaying on the screen.


  3. From: +16035579073

    Who the hell's number is that? (It's mine) Unless your name is Mike Williams and you pride yourself on being able to recall every phone number you've ever entered into a phone, you will not appreciate being told who each photo is from in numeric form.


  4. Long delivery time, Long load time

    The service is unreliable. It can be hours before a message is processed and a notification is sent to you. In addition, I don't know what kind of heavy lifting is going on behind the scenes, but it seeems unreasonable that it should consistently take a full 60 seconds to load the page once I do get a notification. That's on a computer, mind you, not my 2.5G iPhone.


  5. Password field is not shadowed

    Most password inputs on the web use input type='password'. This has 2 main advantages over input type='text'. Firstly, it masks your password on the screen as you type it. You see ******** instead of P4SSW0RD. (And by the way, if you are using leetspeak to obfuscate a dictionary word to use as a password, you should be shot.) The second advantage is special handling of your password with respect to AutoComplete. And by 'special handling', I of course mean 'no handling'. If you don't know, AutoComplete is Windows' way of storing input text from HTML forms (among other places, like the URL bar) for easy reuse. Any time your email gets filled into a web form after only a few keystrokes, that's AutoComplete. AutoComplete shouldn't, and doesn't, complete passwords. This would be silly. It detects passwords via input type='password', and does not store whatever you enter.

    The interesting thing here is what happens when I use this particular password field - any password I may have entered in the past into a similarly incorrect password field shows up in the AutoComplete list for this field. Again, since the HTML author didn't use type='password', AutoComplete didn't know to ignore this field. So there, staring me right in the face are a few of my honest-to-goodness passwords.

    These passwords, in fact every string AutoCompete stores, are in an encrypted file on disk known as the AutoComplete Data Store, or autoDS. But seeing them on screen is just unnerving, as is knowing that there are sites I trust with a password that are irresponsible about handling them. And I have no record of which site stored those passwords in the autoDS.

    Greasemonkey to the rescue! I wrote a tiny GM script to pop up a javascript alert if it detects a password field without the proper type='password' setting. From now on it will lurk in the shadows of every page I visit, waiting to pounce.

    // ==UserScript==
    // @name insecure_password
    // @namespace http://sobohobos.com
    // @description Identify forms that have password fields with type=text
    // @include *
    // ==/UserScript==

    // Author: brett.schellenberg@gmail.com
    //
    // Alert whenever an input named 'password' is not of type 'password'.
    // Inputs like this are undesireable because they may be displayed on
    // the screen as they are typed in, and may also be stored and retrieved
    // in AutoComplete forms.

    var badform;

    badform = document.evaluate(
    '//input[@name="password" and not(@type="password")]',
    document,
    null,
    XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    null);
    if (badform.snapshotLength > 0) {
    alert('Brett says: A password input on this page is not type=\'password\'.');
    }

5.15.2008

iPhone sock

Somewhere nearby, I heard a noise like an indoor sprinkler. The alleys around the apartment are narrow, the neighboring buildings are close, and our windows are always open. My first thought was not of my own toilet suddenly and inexplicably spewing water from the intake hookup, but maybe next time it will be. I tried tightening, by hand, the fitting that seemed responsible, but the plastic wingnut-style flaps just snapped off in my hand.

Who makes shit like that out of plastic? If this is an intentional feature of the manufacturer to prevent over-tightening, it's also a way for them to make a quick $6. While in line at the hardware store, I picked up a lens cleaning cloth from the 'impulse buy' section, and was out the door $6.65 later.

The toilet's fine, and now I have a spiffy cloth to clean my iPhone screen with. It's a nice replacement for the original spiffy iPhone screen cloth I lost, which cost considerably more (let me tell you, I had to sink $500 on a piece of crap in a sleek box just to get it).

Now I have two problems:
1) I have invested 65¢ in a piece of material that I am bound to lose
2) You know how people at the beach complain about getting sand in places they don't want? For me, that place is my iPhone. ("Oh man, I got sand right in the old iPhone")

Lately I just wrap the iPhone in a spare bandanna before I go rolling around in the sand, but wouldn't it be cool to have an iPhone covering that was perfectly sized and designed to be used specifically for the iPhone? I swear, someone could actually sell iPhone specific cases and people would probably buy them! But until that day comes, I'll make my own!





Inspired slightly by Sadie's ridiculously overpriced $30 iPod sock from back in the day, it's just a sock... for an iPhone. That doesn't cost $30.

5.12.2008

Bing!

(11:08:08 AM) Mike MacHenry: p.s. I just got a new computer and have no AIM aliases set up... so I have no idea who you are.
(11:08:42 AM) me: awesome.
(11:08:56 AM) Mike MacHenry: :)
(11:09:00 AM) me: I always thought you were ugly.
(11:09:12 AM) Mike MacHenry: I guess this is Brett.

4.26.2008

On a Mission

I needed eye juice - in fact I slept with my contacts in last night because I didn't have any. It's 5 blocks from here to Longs Drugs. The thought of getting in my car for 1/2 mile drive repulses me, and anyways I like rollerblading. The weather was perfect today, and at 10pm, it's 76 degrees.

Of course, it's a Saturday night, and my journey would take me through, if not the heart, then at least the liver, of the PB bar scene - Mission and Grand/Garnet.

I was greeted by someone with whom I made no eye contact, nor even acknowledged in any way. Experience tells me that this man wanted to buy or sell weed.
I had to dodge a stream of urine - not my own.
I was inches from being backed over by a large pickup truck.
I pushed some guy away from me before I could figure out whether his gestures and slurred speech indicated a desire to hug or fight me.

Is it the rollerblades? I feel like it is. The urine and the pickup incidents would probably not have been an issue if I'd been moving more slowly, on foot for instance. Though, the weed guy was probably just keying off my hippie beard and hair, regardless of my mode of transportation. But I have to think I wouldn't have been bothered by that last guy had I been just a... pedestrian pedestrian.

3.31.2008

Switzerland to Create Army of Human-eating Dragons

http://www.nytimes.com/2008/03/29/science/29collider.html

The Large Hadron Collier is a particle accelerator located near Geneva, Switzerland. Scheduled for completion in June of this year, it may show scientists the universe as it was a trillionth of a second after the Big Bang. Or it may create dragons.

Not if killjoys Walter L. Wagner and Luis Sancho get their way. They filed suit in a district court in Hawaii aimed at preventing use of the collider, which they claim may create a universe destroying black hole. It is unclear whether the two men have realized their role as would-be dragon slayers as well.

From the article:
Dr. Arkani-Hamed said concerning worries about the death of the Earth or universe, “Neither has any merit.” He pointed out that because of the dice-throwing nature of quantum physics, there was some probability of almost anything happening. There is some minuscule probability, he said, “the Large Hadron Collider might make dragons that might eat us up.”

Godspeed, young knights.

3.25.2008

His world is my world, too

I went to see José González last night with Ruth.

There was a mix up with the location, and the guy at the main Casbah venue didn't know the location of the 'offshoot' venue, even though it happens to be be .6 miles up the road. This 'offshoot' venue was the San Diego Women's Club, though they let me in anyways. Between the opening act (Mia Doi Todd) and José, there was a line for the men's room. I'm convinced that they have a lavish women's room with dozens of stalls and only two toilets for the men, which had cloth curtains in lieu of stall doors. On the upside there was a pleasant sitting room in the entryway to the more functional toilet room.

There was a mix up with the time, and we showed up at 6:30, though the doors opened at 7, Mia started at 7:30, and José wasn't on until 8:30. So we walked around the Balboa Park area, discussed the color of the man on the lighted pedestrian crossing sign (is he green, or do we just assume he is 'cause we know he's supposed to be?), and stopped in at Extraordinary Desserts. Unfortunately we had just had some strawberry shortcake, so we didn't partake in the "sublime pastries [that] should be as luscious to look at as they are to taste", according to their Paris-trained creator, Karen Krasne. They certainly looked sublime.

José was great. He came out and did a few solo songs, which I really dug. Then he brought out a guy and a girl who each played some auxiliary percussion and sang background vocals. Those songs were good, but I found myself trying to just concentrate on the guitar and José himself. Sometimes I forget that the people who are really good at certain things, and who have any degree of fame, are real people inhabiting the same world as me. José was a real guy. He joked around on stage a little bit and seemed to genuinely enjoy himself and get along with his two bandmates. He's also a really good guitarist. That he lives in my world inspires me.

I really like his Teardrop cover.

By the way, José does vocals for Zero 7 on their album The Garden, which I haven't heard but will definitely acquire.