- - made a delicious quiche from scratch
- - replaced the battery in an iPhone
- - replaced the screen in an iPhone
- - replaced the screen in an HTC Evo
- - dismantled, repaired, and remantled(?) the dishwasher
- - mocked up a pattern in Illustrator for an argyle patterned crochet hat
12.09.2012
Master of None
11.01.2011
Black Market iPhone Charger
Have you ever tried to charge your iPod or iPhone with something other than the included charging cable? Then you might have seen this dreaded message:

How does it know? What's special about the Apple USB charger? Doesn't the U in USB mean Universal? Well, yes it does. But for some reason Apple doesn't want just anyone making (or making money from) an iPod/iPhone charger. That's why recent versions of their products don't work with any old charger.
Well fuck them.
Actually, I really like Apple and their products, except for the "non user-serviceable" attitude they have. You can't swap your own battery. You can't modify the hardware in any way without voiding the warranty. Well, I never use warranties anyways.
So here's the deal. I needed a charger for my car. I already have a 5V power supply that is providing in excess of 1A. I just need to be able to put the iPhone into high amperage charging mode and trick it into thinking there is a legit Apple charger doing the charging. The way to do this is kind of sneaky.
USB has only 4 wires. Two for power (a 5V and a ground) and two for data (D- and D+). With any standard USB device, you should just be able to power it with the two power wires. You can leave the data wires unattached.
But with a newer Apple device, if there is nothing on the data wires, then nothing happens! It won't charge! The power is there on the power wires, but your stuck up little iPhone scoffs at it. It can tell that you are using a non-Apple charger because Apple chargers sneakily put a small charge on the data wires.
To fake an Apple-supported wall charger, put 2.0V on D- and 2.8V on D+. To fake an Apple-supported computer charger, put 2.0V on both the D- and D+ wires. The distinction here is that the wall-charger will draw a full amp or more, whereas the computer charger will only draw half an amp, to adhere to the USB spec.
So I went to Fry's to get some resistors and a female USB port and was in business.
Materials used
- 24 hour fitness membership card
- 2x 51K Ohm resistors
- 1x 47K Ohm resistor
- 1x 75K Ohm resistor
- solder
- electrical tape
- female port from a usb extender
- wire
Tools used
- drill
- soldering iron
- wire cutters/strippers
- voltmeter
- The Internet
First, I drew out a schematic. It's not very complex, but it was fun flashing back to high school AP physics!
Then I drilled a bunch of holes into my 24 hour fitness card and started soldering and taping. Here's the finished product:
This is now tucked away behind my dashboard, powering my iPhone every time I plug it in, without having to buy a special charging cable.
References:
USB connector pinout
iPhone dock connector pinout
Resistors on the D-/D+ USB pins for iPhone
MintyBoost! (provided much background information for these types of hacks)
MintyBoost! video teardown of charger
Resistor band color guide
Apple's own documentation regarding power through USB
10.24.2011
Arduino Development Challenges
Here is a snippet of code from a sample Arduino sketch I've been toying with:
TCCR2A = (TCCR2A | _BV(COM2A1)) & ~_BV(COM2A0);
TCCR2A &= ~(_BV(COM2B1) | _BV(COM2B0));
What... the... fuck? The only thing I remotely recognize are the operators - and even those are all scary and bit-wise. TCCR2A, _BV(), COM2A1... what are these things? They are certainly not defined anywhere in this sketch. Nor are they it defined in any of the manually linked files or libraries. To me, this exemplifies that the hardest part about learning an entirely new vertical system at once is not knowing at what level constructs live.
Now, I do know what this code is supposed to be doing. It's commented rather well, actually. And looking at it alongside the Arduino datasheet I can tell the what. But I need to know the how. It's like being able to understand pre-made sentences in a foreign language, but not being able to create your own. In order to form my own, I need to know what each part does.
TCCR2A
Let's start with what it is supposed to be doing. It's supposed to be setting the Compare Output Mode (COM) on Timer 2, by setting the appropriate COM bits in the TCCR2A register. The TCCR2A register, like many on the Arduino, is an 8 bit bitmask. It look like this:
TCCR2A
bit| name | explanation
---+--------+-------------------------
7 | COM2A1 | Compare Output Mode A
6 | COM2A0 | Compare Output Mode A
5 | COM2B1 | Compare Output Mode B
4 | COM2B0 | Compare Output Mode B
3 | - | reserved
2 | - | reserved
1 | WGM21 | Waveform Generation Mode
0 | WGM20 | Waveform Generation Mode
The first thing to understand is that the names of all the Arduino registers (TCCR2A, TCCR2B, and about 90 others) are global, read-write variables containing the bitmask value in the register. On bootup, when all the bits in TCCR2A are set to 0, the value of TCCR2A is B00000000 (that's Arduino shorthand for binary 0). And at any time in your sketch you can set TCCR2A = B01010101 or whatever you want. TCCR2A is defined as:
#define TCCR2A _SFR_MEM8(0xB0)
_BV()
_BV() is defined in sfr_defs.h:
#define _BV(bit) (1 << (bit))
OK, so bitwise-shift a 1 a certain number of positions to the left. I get it on a technical level, but it doesn't make sense to me yet on a conceptual level. Especially not knowing exactly what types of values are typically passed it (the name of the argument - bit - implies some meaning there...)
By the way, the accepted mnemonic is "Bit Value".
COM2A0 and the rest
The answer that took me the longest to grok was this: the names of the bits (COM2A1, COM2A0, etc.) are NOT defined variables for the values of those bits. They are instead constants which contain the bit's location relative to the byte in which they reside. In other words:
#define COM2B0 4
#define COM2B1 5
#define COM2A0 6
#define COM2A1 7
Putting it all together
Now back to the sample code I'm trying to understand:
TCCR2A = (TCCR2A | _BV(COM2A1)) & ~_BV(COM2A0);
TCCR2A &= ~(_BV(COM2B1) | _BV(COM2B0));
AHA! To set the COM2A1 bit to ON (what it actually does is unimportant to this post), you shift an 'ON' bit (a one) left by the correct number of positions (7) and then bitwise-or it onto the byte!
TCCR2A |= _BV(COM2A1) // turn ON the COM2A1 bit
And to set the COM2A0 bit to OFF, you start the same way (in this case shifting a one 6 bits to the left) but negate it and bitwise-and it onto the byte!
TCCR2A &= ~_BV(COM2A0) // turn OFF the COM2A0 bit
What a trip. I'm still trying to think of whether I like this notation or not. Most of the alternatives I can come up with each have their own faults. This method is at least fairly self-documenting once you know it.
References:
grep define /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/options/gcc-version/include/avr/iom328p.h | less
http://www.arcfn.com/2009/07/secrets-of-arduino-pwm.html
http://smacula.blogspot.com/2011/04/creating-variable-frequency-pwm-output.html
10.18.2011
Arduino - Day 1
All the Arduino came with is the board itself. (It was prebuilt; I didn't need to assemble/solder it together.) Luckily I have a box of electonic odds and ends to pick through.
Then I took apart a cheap headlamp (I think I bought a 3-pack for $10 at Home Depot during the great San Diego blackout of 2011). I was able to salvage 5 white LEDs, a few bits of wire, a momentary switch, and a possibly useful 3xAAA battery harness.
Lastly I found an old cell phone - we're talking an LG clamshell design from 2000 or so.
I've never taken apart this phone before, but I was able to take out the speaker and vibrating motor, identify which was which, and hook them up to an external power source without blowing them up.
I also have a handful of resistors, a few spools of wire, wire cutters, soldering iron and solder, and a multimeter. And who knows what else lying around in the closet that I can dissect tomorrow.
With these scavenged components, here's what I was able to do so far today:
- install Arduino IDE and test the board
- blink a single LED
- 5 LED array that flashes a static pattern (1-2-3-4-5-4-3-2-1-2-3-4-5-4-3-2-1...)
- 5 LED binary counter with button. When you click the button it increments the counter. When you hold the button it resets the counter.
- hook up the speaker and play an 8-bit "shave-and-a-haircut"
- button and speaker: click the button to hear a square wave, release for silence, hold the button to cycle up and down in frequency
- convert an audio file to 8bit 8k PCM unsigned wav, load it on the Arduino, and play it (!!!!)
- hook up the vibrating motor to the switch
These things feel like magic. I love being able to understand the whole process vertically: both the down and dirty electronics and the software. That I can hook up a bunch of wires, write a bunch of numbers to flash memory, press a button that I wired and have recognizeable sound come out of a speaker.... is invigorating.
I already know what big project I want to work towards and that's what is steering my exploration. But at this point, this tinkering process is such a good learning tool. Just today I've learned so much about the Processing language, the Arduino platform, electronics components and theory, and a few mac and unix goodies (ffmpeg conversion, editing and cat'ing a wav header onto a headerless chunk of wav data... ) This is fun :)
8.22.2011
Rocky's Wild Ride
Dearest OTR,
Congratulations on winning your tournament!
btw I stole your otter.
Please know that the last thing I want to do is harm a pretty little pink hair on her body. However, returning Rocky to safety will come at a price. I have 4 simple demands that will return Rocky to you in good health. Please take a picture of these demands and post them on this page to prove you are serious about her return. They are the following:
1) Have everyone on OTR friend request me.
2) A picture of Pumba wearing a dress. (Heels as well if you can find them in his size.)
3) Brett wearing the t-shirt that will be provided for him at the DUDE tournament on Saturday for no shorter length than one point.
4) Have K-Na perform a "K-Nasty rap" and post the Youtube link on this page. (Rocky will be returned faster if she looks ghetto. We're talking bandaid under the eye status.)
These are my demands. You have one week to complete. Once all photos and videos are posted on facebook, I will have Rocky the Otter dropped off at a specified location. I will send you a message of where and when. Thank you for your cooperation. Do not contact the authorities or Rocky gets it. - The Otter ThiefWe assume it's someone from our friendly rival San Diego team Milkshake. I immediately suspect Karen and Paul, with possible involvement from Lemos, Bunk, Tracey, Aiza, or Darin. There is an initial flurry of emails to our mailing list as we try to wrap our heads around what has happened, and try to get everyone to friend the proper page on facebook to satisfy the first demand.
It's arts and crafts time. I pack a few screwdrivers, an exacto knife, sharpies, and rope with me. I cut out some little Master Shake hands. I go to Von's, buy bendy straws. I go to a cheap-o mexican place and get a big old styrofoam cup (and a bacon burrito, naturally). Then I put it all together into a Master Shake replica that I can swap out with Rocky once I find her, which I WILL do, today. So this time I go back, feed the dogs some ham (c'mon, we've all seen heist movies before), crawl in through the doggy door, and search their apartment. The stove is not a match, and there is no otter to be found.I have it on good authority that they are both at work today. and also, that their dogs are easily distracted by ham.
I have it on good authority that Karen also likes hamI giggle. Pebbles comes through with Karen's address. I can't get into her house, but I can peek in the windows and see her stove. She's clean. The whole team has been following my progress on the mailing list, and providing motivation and help. They've been emailing me addresses for these houses, offering to call people's workplace to make sure they are at work (and not at home). Now I have to head home and have to face facts that, again, I'm out of options.
Bunk has moved in the past couple months. Facebook pic might be his old one.I check the uploaded date on Bunk's house pictures. They were uploaded about a year ago. That means that if Bunk moved recently, the pictures I had been using for his place are way out of date. That means that he lives somewhere else now. That means.... that I almost broke into some random person's apartment earlier today. Wow.
I need a big favor ASAP. Do you know Bunk enough to text him and ask for his address so you can send him a postcard?Within 10 minutes I have Bunk's current address in PB. It's getting late in the afternoon. There's a party later that night that I know Bunk will be at, so the backup plan is to try to get his keys from him at the party and then go back to his house. But first, I want to try to get in there NOW.
8.16.2010
Time Machine backups over network share
Most pages that come up when google researching tell you to...
1) enable unsupported drives with
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
2) create a sparsebundle locally
3) copy it to your network share
...but forget the last crucial step:
In the root of the sparsebundle, create a file com.apple.TimeMachine.MachineID.plist containing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.backupd.HostUUID</key>
<string>YOURUUIDHERE</string>
</dict>
</plist>
where YOURUUIDHERE is a string containing dashes which can be obtained from
> system_profiler | grep UUID
I could have saved myself a lot of hours of frustration if I could have found this link more easily. The bash script hosted there in particular works wonders. With this knowledge I was able to change an existing Time Machine backup's UUID to match that of my current machine and get into the backup to restore files. I can't explain how happy I am about that.
7.11.2010
Karma
I live in my car. I was robbed of thousands of dollars worth of stuff. I got a speeding ticket. I'm more and more frequently getting woken up at some ungodly hour and told to "move along".
A friend of mine said to me "You are so due for a good week".
Due? Karma? Nonsense. At least I hope its nonsense because otherwise I'm due for something horrible.
I live in San Diego, the city of constant 70 degree weather. I have a job that pays well and challenges me. Twice a week I get to do my two favorite things in the world (play ultimate and karaoke). I travel often. I had an amazing weekend at Potlatch. I have awesome hair. I meet interesting new people all the time. I have two coasts worth of friends who love me and care about me. I'm in great shape.
How awesome do I feel? How good do I have it? If I believed in karma, I'd be walking around in a helmet and a full body, flame retardant, protective suit.
With a parachute.
4.16.2010
Relax.
Sobohobos was the palindromic website Shian and I created for our trek. It then became our first trail name of sorts. We'd sign it in trail registers we passed a few times a day in probably the most misguided attempt to drive traffic to a website. (SEO's have nothing on writing your web address on a notebook in the middle of the woods!) The phrase we coined was to further the mysticism that only good things happened to the Sobohobos. We might meet a stranger on the trail and within the hour be sitting in their hot tub at their house, full from a home cooked meal, or maybe we get in to the shelter just when the skies open up and drench any non-believers lagging behind.
To the uninitiated, it might seem that we had really great luck. Of course, it wasn't luck, and even if it was, there was as much "good" as "bad". Our prosperity boiled down to a few key outlooks on life / the trail: Be friendly and courteous and fun. Have lots of options. Don't require things you don't require.
When you adopt this philosophy, good things happen - almost just by redefining the terms. It's like looking at the bright side of everything. If you really accept new opportunities and don't judge too harshly or require too much out of a situation, everything comes up roses. Note that the tradeoff is, for instance, being willing to sleep on the floor of your first San Diego apartment for 8 months because you don't have a bed or a lease. But if you truly don't require much, then don't sweat it.
April 1 I quit my job at athena. April 15 I packed up my apartment and put it all in storage in San Diego. I didn't have any solid plans for where I was going to live or work. I had plenty of options: some very nice friends offered couches or spare rooms, plenty of exciting things to consider. Move? Get a job? Hike the PCT? Go back to school? Options options options.
I started halfheartedly following some of these options. I got transcripts from UNH and researched what requirements and timelines were for San Diego schools. I cruised craigslist for places to live (with Tank and Alan). I put out a single resume for a position in San Diego. I got literature on the PCT.
Some people might have been more nervous or anxious about being homeless and unemployed, even for a short period of time. I'm beginning to recognize that I thrive on it. When my back is to the wall, I can do some pretty cool stuff - I think we all can. But too seldom is my back against the wall. Right now, I feel alive and excited and free.
A few days before I moved out, Jenn and I decided that she would fly out here and we'd drive up to Boise together. Without anything chaining me down anywhere, I felt like I should have some adventure. San Diego, Vegas, Zion, Salt Lake, Boise. Keep slowly pursuing options and feeling things out. Open road ahead, wind at my back, song in my heart, free for an adventure whose nature and conclusion were uncertain.
And then that Sobohobos luck phoned me in Vegas at 8am (hrough the voice of Julie the HR recruiter). That resume I put out was potent. May 3rd, for a fun company and a good salary, I'll rejoin the workforce - in a self-employed contract position. I still don't know where I'm going to live. And that's awesome.
No stress, low effort, high yield. Just relax and let the good things happen as they may.
12.10.2009
Thomas Hoving, pilot extraordinaire
Thomas Hoving, his wife in the passenger seat, stopped along a winding country road outside of Pawling, NY on a dreary day in 2005 to pick up two hitchhikers.
"Where are you two headed," he asked as they got in the car.
The two damp travellers looked at each other. "We're not sure. Town I guess. Is there a taxi service in town?"
"Where are you trying to go," he asked again.
"Well," a pause. They exchanged glances again. A shrug, as if to say it couldn't hurt to ask.
"We're hiking the Appalachian Trail. And at the last road crossing, we..." Here, the speaker received a quick glare from his companion. He gulped and continued guiltily, "I... kind of... left our camera on the side of the road. It has all our pictures on it - all the way back from Maine. It was about 10 miles back. It's not exactly an expensive camera, but..."
This time it was the sound of the rain against the roof of the car that caused his distraction.
Having doled out the proper amount of shame, his companion picked up the story in a brighter tone. "And it is in a ziplock bag. Anyway, best case scenario, we get a ride into town, and then find some way back out to that last road. We can see it on our map, and if we could just get a taxi from town or something, we might be able to get it, get back here, and get back on the trail with enough time to make it a few more miles to a shelter for the night."
Now it was Mr. and Mrs. Hoving's turn to exchange glances. Having settled the matter wordlessly as only long-married couples (and apparently some pairs of AT hikers) can, they spoke up.
"Nonsense," said the wife.
Mr. Hoving added, "We'll drive you wherever you need to go. We're not doing anything anyway. And look at your clothes! You must be drenched."
"And hungry, I'll bet," added Mrs. Hoving. "First things first though, where's your map? Show us where that camera is."
That was Shian and I 5 years ago. I have to admit that I was the guilty camera-leaver.
Actually it was more complicated than that. We had a custom of taking pictures of ourselves at the state lines. The night before, we knew that we would cross out of New York and into Pennsylvania in the morning. Looking at the map, we could tell it was right at Hoyt Rd. We also knew that the state line was a short few miles into our hike - and we didn't hike together in the mornings.
We decided that in order for us to each have a picture of ourselves at the state line, Shian would take the camera with him in the morning, as he left early. He'd take a picture of himself at the NY state line, and leave the camera for me to do the same. We agreed on a spot - knowing nothing about and never having seen the area - defined by these guidelines: it should be on the right side of the trail, just before the road, near the biggest tree around.
When I got to the spot, it was already raining. I didn't think Shian would leave it out in the rain, but I looked anyways. I didn't find it. After not too long, I gave up and hiked on. I caught up with Shian some miles down the trail.
"So, did you get the camera?"
What ensued was probably pretty amusing, in a cheesy sitcom kind of way. We thought we were joking. With increasing gravity, each of us tried to convince the other that we were serious and that no, YOU must be joking. It turns out I was serious that I actually didn't get the camera, and Shian was serious that he actually left the camera.
Anyways, as we drove along with the Hovings - out of the rain, on our way to our lost camera, things looking up - we got back to our normal conversational selves. That is to say witty, engaging, cheerful, energetic, and synergy-powered. We asked what Mr. Hoving did with his time. He said he was retired - and that he was an amateur pilot. Cool enough but nothing ground breaking. Simple, modest.
Later in the conversation, he started a sentence with "Back when I was the director of the MET, I..."
Um what? Yea, he was the director of the Metropolitan Museum of Art in the 70s. And yea, that didn't make the cut in an answer to "What do you do with your time?"
Later, "Yea, and when I was the NYC Parks Director, I..."
Um, ok.
Later still, "Yea, when Malcom Gladwell was interviewing me for his book Blink, I..."
Yup.
Some pilot.
The rest of the story only needs a summary, really. We got the camera. The Hovings took us to their spacious and well decorated house. Mrs. Hoving did our laundry and cooked us a meal. We took showers in a shower that must have had a 10' square footprint. We talked about art and Mr. Hoving's life. They drove us back out to the trail and sent us on our way, richer by one chance experience.
11.12.2009
Mythical McRib
Driving Noah home after the PB game, I drove by McDonalds.
Had a fantasy in which I drive up to the drive-thru and order a delicious McRib sandwich. Know full well it's not on the menu anymore. Headset wearing cashier tells me they haven't had that in months, years. Am displeased by that answer. Demand they make me a McRib at any cost. Say the magic words. Miracle ensues. McRib arrives - sans pickles and onions, of course. Glorious day!
After dropping off Noah I head back towards the Golden Arches, resigned to ordering my second favorite fast food meal: 10 nuggets with sweet and sour sauce. I pull into the drive-thru and spot a sign proudly announcing: McRib is Back!
Glorious day!
8.24.2009
fetchMMS
I've written about this before:
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
I really can't believe that this is the status quo for receiving picture mail. The message IDs I'm supposed to commit to short term memory are things like "u08lr1rdz" and "o1xe34c87". Ludicrous.
iPhone OS 3.0 brought with it the ability to receive MMS directly, and in fact this feature is enjoyed by many iPhone users in other countries. But AT&T has yet to enable their iPhone plans for it. There are some unofficial methods for routing your texts through third party systems in order to capture and email you any MMS you may receive. There are also ways to accomplish MMS on a jailbroken iPhone. None of these methods appeals to me, however. They are too complex and hamfisted for my taste.
We're told by AT&T that MMS is coming soon and it's coming free. But in the meantime, iPhone OS 3.0 also brought with it a way to work around the nuisance of memorizing those godawful message IDs: copy and paste.
It didn't dawn on me that copy/paste could be useful for MMS retrieval until one day when one of those dreaded MMS notifications arrived:
I sent you a multimedia message. You can view my message w/in the next 7 days via the web at www.viewmymessage.com/1 using MSG ID w14xxu4ff Password you5sews
I sighed heavily. Frustrated, alone, and confused, I stared at the screen, wishing there was a better way. And then, there was: http://bit.ly/fetchMMS. The instructions are simple:
- copy an entire MMS text message ("I sent you a multimedia message. You can view my message w/in the next 7 days...")
- paste
- fetch
See it in action: http://www.youtube.com/watch?v=op1xxOsOWFw.
No data is sent to or collected by my server. It's purely client-side - you're redirected to your MMS after a quick javascript parse of the message you paste in. This "No Data Left Behind" policy was partially inspired by David Friedman's Google Voice Speed Dial Bookmarklet Generator, which is similarly simple, functional, and private.
I hope others find this as useful and liberating as I did. Let fetchMMS put the "mmm" back in MMS.
P.S. Mom, you can send me picture mail again. Love you!
12.29.2008
Commentary!: The Musical: The blog post
If you haven't seen Dr. Horrible yet, do yourself a favor and set aside 45 minutes to watch it, for FREE, over at HULU.
I got the DVD for christmas - thanks Stacey - as I had ranked it #1 priority on my Amazon wishlist. I've already watched everything a few times through. Here are just a few things that tickle me about Commentary!: The Musical
There is a song devoted to the iPhone game Ninja Ropes that the cast and crew played, and bonded over, on set. The lyrics start with instructions to find the game via google. The song continues with gameplay advice and high score boasts.
Nathan Fillion's song about how much better he is at everything than N.P.H. Includes a fakeout on the series' now infamous "The Hammer is my penis" line. Great delivery by Nate:
Look at his smallness
Compared to my tallness
My porcelain doll-ness
My port in the squall-ness
My Kids In The Hall-ness
My Pink Floyd's The Wall-ness
My three parts of Gaul-ness [A reference to this article: All Galls Are Divided Into Three Parts (At Least In Goldenrod)? What's up with that?A quote from Julius Caesar's Commentarii de Bello Gallico: "All Gaul is divided into three parts..." (Thanks to Sam K, below) ]My gestalt and all-nessMy just all in all-ness
My wonderful me-ness
My hammer the pe-ople can tell
that I'm awfully swell
while Neil has a weird smell
I'm just saying: Purell
Zack Whedon's rap about being too cool to be involved in, of all things, a musical :
"Dr Horrible"
Z: Hey that sounds kinda dark and cool
"...'s sing along blog"
Z: What the fuck is this preschool?
Hey weren't you the prince in The King and I in 7th grade?
Z: No, but I was back stage in the dark gettin' laid.
Weren't you Pigpen in that Charlie Brown show we did?
Z: No, I just wandered on stage during my homeless period.
Didn't you sing about the business in Annie Get Your Gun?
Z: Is that what that was? I've been tanked up since '91.
Weren't you the Tin Man in the Wizard of Oz or something?
Z: ...Yea, but I played the fuck out of that part.
And I think my favorite might just be the lisp-laden Groupie #3's slow, sweet and sonorous song about S's:
But now I'm super nervous
since I'm standing in the studioI feel calm inlike Phil Collins I'm singing Su-Sudio
Su-Su-Su-Su-Suuudio
6.29.2008
Statistical Significance
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)
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.
- 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! - Receive text message
- 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. - 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. - 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. - 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
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: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
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
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
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.
1.13.2008
Ultimate and Surfing
I met a guy, Matt, at the Saturday game this week. He's also new to the area, coming from Florida most recently. He's a Pats fan, so we got together to watch the game last night at a bar downtown. Today, after the Sunday game fell through because the Chargers were playing (Go Chargers!), we decided to go surfing. He has a board and a suit, and I have access to a board that the previous roommate here left behind. I just needed to get a wetsuit. So we went to a nearby shop and I got myself an El Cheapo wetsuit, and we went surfing on the waves right outside my apartment.
It was the first time I've ever surfed, and it was insanely fun. What a rush! I wasn't even on the big, real waves yet, just the swill, white water in the shallows. It was a blast, we stayed out all afternoon, and I can't wait to go again.
Also, Chargers - Pats next Sunday!


