Archive for the ‘Doing’ Category

Minor Lasts

Thursday, December 8th, 2011

I’m leaving San Diego in less than two weeks, so I’m starting to notice in the back of my mind that I’m doing certain things for “The Last Time”. You know, like, this is The Last time I’ll fuel up at the Chevron by my house. Or: this is The Last Time I’ll have sushi in San Diego.

Except I’m not quite that close to leaving, yet. Most things I do, I’ll do a few more times. It’s only The Last Time I’ll do some pretty obscure things.

Yesterday was The Last Time I’ll be held up at the train crossing… by two trains going opposite directions. Today was The Last Time I’ll fuel up at the Chevron by my house… when I was already going east… in the morning. Tomorrow will be The Last Time I go to my research meeting… to the Friday meeting… on my bike.

It feels like a suburban kindergarten version of the detachment process: Everyone’s drawing gets a gold star, whether or not they even picked up a crayon; every dumb mundane thing I do gets promoted to the ‘Last’ that dumb mundane thing.

Oh, I think I forgot to say in previous posts. I’m moving to San Francisco. Excellent location, vicinity of 15th and Market, near public transit, walking distance from Haight and Castro and Mission and their scads of wonderful bars. Come visit, we’ll test that theory, just to make sure it still holds, like they do in science. Yes of course you can crash on the couch.

Apple

Monday, November 21st, 2011

On 16 Jan 2012, I will join Apple as a Core OS Engineer. I’m excited, a bit nervous, and deeply honored.

I’m very thankful for everyone who helped me in ways large and small during my job hunt-I couldn’t have done it without you. Especial thanks to P.K. and A.P. I am in your debt.

Peculiarly, there are a few engineers on my team who also worked with my dad more than a decade ago. I hope he left a good impression ;)

Hire Me!

Sunday, September 11th, 2011

My job search has been concluded

I’m looking for a full-time engineering job, starting in January 2012, in San Francisco (or reachable from there with shuttle/pubtrans). 1

I work on low-level software and high-level hardware. I make the inside guts ugly so the outside product can be pretty. Then I make the inside pretty too. I’m allergic to bad design and to development cultures that don’t discourage it.

I don’t believe that “done is better than right”. I believe that doing it the right way is a worthwhile goal in itself, and anyway it’s usually the easiest and fastest way in the long run. Nobody ever lined up at 6am to buy the cheap 50% solution.

Here is my resume.

You should hire me:
… If you need someone to look simultaneously at several layers of your stack (hardware, firmware, bus, driver, application) and look for inefficiencies (“opportunities”),
… or to look simultaneously at several layers of your stack and tell you why they’re not working together.
… If a well-meaning director handed you a two-page project plan lacking details and illustrated only with a few comically simple box-and-arrow diagrams, then asked you to please “Build this. It’s just a couple of processors and an FPGA, it shouldn’t take too long, right?”
… and the hardware group laughed when you asked if they could spare an engineer this month.
… If sometimes the kernel panics with some message about skb buffer underrun and you think it’s a bug in your driver but you can’t quite track it down.
… If you’ve heard dark whispers that the C preprocessor can do ever so much more than simple inline functions, and you want a guide into the mysterious realm of generated code.
… If the local security wizard walked by your office last week, paused, scrutinized your whiteboard diagram, pointed at one ordinary-looking box, muttered “Yeah, you could get 0wned through there” to herself, and walked away. You don’t know what to do now.

Update 19:05 12 Sep: Resume and contact info added.

  1. I’ll consider the Peninsula, South Bay, or Boston, for particularly interesting prospects.

I love my bike

Saturday, May 14th, 2011

Today I:

  • Left the house on my motorcycle, carrying my laptop and a good book in my backpack.
  • Got a haircut.
  • Went to Infusions of Tea and had a cup and read a couple of chapters of the book.
  • Went to Gamestop and bought Portal 2.
  • Went to Sears and bought a socket driver, a small assortment of sockets, and one of those magnetic bowls to keep hold of screws.
  • Went to Ace Hardware and got a couple of the awesome Progrip Stretch Lock bungee cords that I use to tie down/tie together bulky cargo. These things rule.
  • Went to Michael’s and got some velcro strips (for my orange vest) and denim patches (I don’t recommend American Eagle jeans)
  • Went to my storage unit and picked up my Xbox. You know. So I can play Portal.
  • Went home.

Only the first, second, and third steps were planned ahead of time. At no time did I feel I needed a larger vehicle. My motorcycle is not just an utterly viable mode of transportation… it is a fantastic mode of transportation.

Snow!

Saturday, January 8th, 2011

Hooray! It’s snowing in Boston!

Last night and today I went out walking around Allston to explore this new world of low-density crystalline water. I walked, stepped, kicked, and jumped through all kinds of snow. Still-falling light powder, week-old crunchy crystals, blobs of ice, snow with salt, snow with dirt, slippery snow, rock-hard snow, dry snow, clean snow. Most of all that clear slippery wet mush that seems endemic to well-traveled sidewalks.

The snow I most enjoyed stepping through was a four inch thick composite of dried leaves and powder.
The snow I thought most beautiful was the paper-smooth dusting on an open field. I felt shameful and profane for tramping through it, marring it with my ridiculous dirty footsteps.
The snow that hurt the most was the one millimeter of powder concealing wet ice. Classic pratfall.

I put a couple of pictures in my Flickr album for Boston. I think a more talented photographer could make something pretty with that blue house.

Another political post

Tuesday, November 16th, 2010

Yeah, I do this once in a while.

Here is the voicemail I just left for California Senator Barbara Boxer. I wrote every word myself.

I think the Transportation Security Administration has gone too far. In the name of protecting us from terrorists, they are violating our constitutional rights to privacy and to freedom from unreasonable searches. Air travelers today face an unacceptable choice between two invasive and humiliating forms of search: to be seen naked on full-body scanners, or to be groped in an invasive pat-down.

I’m sure you have read the open letter from UC San Francisco faculty voicing their serious concern about the health risks of the backscatter X-ray machines. Rafi Sela, former head of the Israel Airport Authority, has given interviews recently in which he describes the machines as “useless” and easy to defeat. These machines do not make us safer, and may actually be harmful, yet the TSA has pushed them into service at great expense. There is an even greater cost these machines take: the dignity and privacy of our own bodies. I hope you will agree with me that this state of affairs is completely unacceptable.

I believe much of the money spent on the TSA would be better used on intelligence, emergency response, or – here’s a crazy idea – schools and parks. The TSA is a bad security trade-off. It is time to stop and find a different course. Senator Boxer, I hope that during tomorrow’s TSA oversight hearing, you will demand the invasive and unconstitutional full-body scanners be removed, and further, that you will question the TSA’s fundamental role and effectiveness.

I’m not happy with the last paragraph. I should have done another draft.

I wanted to say something like this, but it didn’t seem to fit, and I couldn’t get the words to say what I wanted to. So, here’s the “deleted scene”:

Security is always a trade-off: it is only gained at the expense of something else. Nothing in the world can be made one hundred percent safe. But, as we try harder and harder, the costs grow more and more dear. Now, we are buying security at the cost of the dignity and privacy of our own bodies. I believe this is completely unacceptable.

I’m Shipping Up to Boston

Thursday, September 9th, 2010

I’m going to live in Allston, MA from 15 Sep to 1 Feb 2011.

I’ll be spending most of my time on my Masters thesis, and working part-time at my current employer ViaSat.

I’ve always lived in Californian suburbia (Los Gatos, Cambria, La Jolla), and frankly I’m tired of it. I want to live somewhere different, to feel somewhere new. Urban New England is certainly new.

Off-the-cuff list of things to do:

  • a Sox game
  • sail on the Charles and/or in the harbor
  • make a snowman; fight in a snowball battle
  • ice skate on some frozen body of water
  • do the Revolutionary War historical sites thing
  • compare Atlantic & Pacific beaches; contrast Atlantic sunrise & Pacific sunset
  • long weekend in NYC
  • drive up to NH, VT, ME for the autumn colors
  • visit my aunts & uncles in NY, NJ, PA
  • tour & sample some breweries, including but not limited to Sam Adams

What else should one do in New England that one can’t do in California?

Oops. I just discovered like nine comments waiting in my approval queue. Thanks everyone!

MacBook Maintenance, and Patience

Tuesday, January 5th, 2010

Over this winter break, a friend asked me to replace her MacBook’s display. It was cracked and showed no image at all, just frozen colorful static. Whatever trauma befell the poor machine broke more than just the display—hard drive, optical drive, and keyboard/topcase had just been replaced.

Repairing Apple’s older laptops is notoriously difficult. They are not easy to work on. They are not designed to be: they are designed to be compact, durable, and look nice. Even apparently simple tasks can require removing dozens of tiny screws and disengaging delicate plastic tabs. Just before I went to college, I replaced a PowerBook G3 Lombard’s infamous right hinge; that was a fun two hours. Optical drives can’t be done in less than half an hour. Hard drives are sometimes a bit easier, sometimes not.

But a MacBook’s display is a special kind of difficult to remove. My father, who does Mac tech support and repairs for a living now, wouldn’t attempt the screen swap—it takes so long, that at the going labor rate, it’s prohibitively expensive. But “fools rush in”, so I volunteered for the suicide mission.

So I spent a day performing 61 “Very Difficult” steps forward then backward. It took five hours.

It seemed like a good idea to make a timelapse video of the process.



There’s also a 40MB higher-quality version, at a slower pace, so you can see what’s really happening instead of a crazy blur.

I used printed instructions from the magnificent iFixit.com. A few times, I had to look at the higher-resolution color pictures on my computer to see exactly which screw I was supposed to remove; the orange, red, and yellow diagrams don’t translate well from screen to greyscale laser printer.

As I removed screws and small parts, I taped them to the paper right next to the instruction, arranged in the same left-to-right order as their points of installation. The tape kept all the parts where they were supposed to be, and none got lost; I never confused similar-but-not-identical screws; I had parts exactly when I needed to reinstall them; and I moved completed pages aside, along with all their screws and parts. This tape trick came to me in a flash of insight while driving around town. I know I’m not the first person to come up with this, but I thought it was pretty clever, if I do say so myself ;)

I hit two snags in the repair process. First, after I swapped panels and reassembled the machine, the backlight didn’t work. You can’t quite see it in the video, but when I powered the machine up, the grey screen with Apple logo appeared like normal, but very very dimly. The LCD worked but it was almost impossible to see anything without the backlight. At first I panicked: did I break it? Did I fry something with static electricity? The inverter board that powers the backlight: is it more delicate than it seemed? As I reviewed the iFixit instructions to be sure I’d done everything right, I noticed a comment that explained what I did wrong. I took everything apart again, opened up the top half, and checked that inverter connector. Sure enough, it hadn’t “snapped”. I reconnected the essential cables and tested again, and the screen fired right up. Perfect. Whew.

The second snag was reassembling the front display bezel. It’s hard to see from the iFixit pictures, but between the white or black bezel and the metal frame there are twelve small grey plastic pieces. These grey bits are supposed to pop into the metal frame and stay there permanently. The protrusions on the back of the bezel slide into slots in the grey bits, holding on the bezel by friction. When I slid a credit card under the bezel, the bezel was supposed to detach from the grey bits. Unfortunately, what really happened is that the grey bits stayed tenaciously attached to the bezel, and I pulled up bezel and bits from the frame. I don’t know if this was because of aging materials, manufacturing variation, or (most likely) my sloppy credit card technique. The grey pieces wouldn’t snap back into the frame—they just bent. So I had to carefully pull all twelve off the bezel, bend their tabs back into shape, and pop them back into the frame. Finally I put the bezel back on. The iSight lens really didn’t want to stay in the bezel, so I had to flip the whole thing upside down to let gravity keep it in place. That was a small pain.

The hardest part was slowing down, taking my time, and working carefully and methodically. I’m a naturally impatient person. I hate wasting time, or spending more than is needed. And yet every time I tried to rush something (taking out a screw) or let my attention drift (looking at the various chips on the logic board, instead of the screwhead), I made a mistake (screw fell into the deep recesses of the case and had to be retrieved). I constantly had to make myself focus, slow down, and be patient. These are not things I usually do. The real challenge of this repair wasn’t the dexterity of my fingers, the keenness of my eyes, or finding a way forward when reality didn’t match the instructions. The real challenge was to myself: to sit quietly and do one thing at a time, carefully and attentively.

All man’s miseries derive from a single cause: the inability to sit in a quiet room alone.

—Blaise Pascal (unsourced)

Passwords and typing timing

Tuesday, February 24th, 2009

I type my 17-character password very fast. It’s a strictly automatic process, all muscle-memory.

The timing is very critical and synchronization problems happen a lot. There’s lots of hand-alternation; sometimes one hand is a decisecond early or late and I type a letter out of order. Sometimes I hit J instead of H because the “down” muscles are faster than the “left” muscles.

All these errors are compounded because I don’t actually know my password consciously. I’m not typing a word, I’m just activating a motor program. I don’t think “H”, I just put my finger “where it’s supposed to go next”. So all the error-correction in the cerebellum and motor cortex that I’ve built up from a decade of typing never has a chance to help.

Amusingly, I can type my ordinary and root passwords just fine under the influence of alcohol. So a complex password isn’t an IID for a computer.

On a darkly humorous note, many years from now, this may be an excellent stroke diagnostic. If I can’t type my password without concentrating, it’s time to call the paramedics.

It’s cool when your roommates study in your field

Thursday, February 5th, 2009

Rushi is reading a PDF textbook on his computer.

“Joe, do you have a physical copy of this?”

I glance at the page of text on the screen, reach over to the heap of junk piled on top of the coffee table, carefully rummage around for a moment, and pull out the book in question. He doesn’t need to tell me what book he’s reading: it haunts my dreams still

Of course, last quarter when I was in the undergrad algorithms course, I borrowed his copy of the Kleinberg, Tardos book