Tuesday, November 20, 2012

work work worky work

Work had a disconnect for a few months, where my team has been doing incredible work, and I was really unhappy with my job. I have the biggest team in Engineering, with arguably the most complex technology, and so more and more over the past 6 months, I've been sucked into being purely a manager, without the time needed to focus on making technical contributions. (Doing ordinary coding work alongside the team has always been out of the question, but for a while I was able to do useful prototyping and experimentation.)

This reached a terrible crescendo a couple of weeks ago, and I sent a big "help me" email to my bosses. The initial response was to promote my senior minion Jess to co-tech lead, a creative solution that addresses several needs at once. That's taken a bunch of pressure off, and I've been able to unwind and do some more technical things. I'm still not doing mainline coding on the team, but that may or may not ever be possible. I also have to be careful not to just drop my workload on Jess, however happy she is to help: otherwise, she'll just end up with the problem I had.

The team is close--SO CLOSE--to the first milestones of this massive re-architecture we've been banging away at for the past year. We had a great meeting with the executive team today, which went something like this:
"Our customers are screaming with frustration and anger. What are we doing to fix it?"
"We've been working on it all year. We're expecting to have something in production by the end of Q1."
"Phew. What can you do to help in the meantime?"
"Nothing, really. We've done it all already."
"That makes me a sad panda."
"I know! Us too."
We established a common understanding of the situation, and everyone feels heard and nobody has any idea what else we can do that's faster than the re-architecture. It was a good bonding experience.


Also we told the CEO we'd have it in production by the end of March. So, hey. We should get on that.

Thursday, November 15, 2012

an alt-medicine fiesta

I accumulated enough stuff to do today that I just bailed on work entirely. In between fetching my motorcycle from the shop in the morning, and getting the oil changed and tires rotated on the car in the afternoon, I did a Great Circle of the Bay Area, visiting a Chinese medicine guy in San Francisco and a wacky hippie doctor who defies description in Oakland. These were probably the last step in my Quest For Sleep before going to talk to an actual medical doctor (which would be sad, since I find them mostly useless).

(The Oakland guy is a certified and practiced chiropractor and obviously very smart, but he uses these magnetic-field generators and he sets off my low-level Bullshit Detector. Except that magnetic fields are used for various therapies, as they induce currents in the body, and our nerves do run on electricity. The world is a big place and there's a lot we don't understand.)

The Chinese medicine guy listened to my issue--essentially, waking up many hours too early--and said it was a pretty standard case, which was a relief, since he'd thought my case would be "out on the fringe somewhere." Then he actually took my pulses, whereupon he decided his theory was wrong, and we talked about how to address the massive chi and yin deficiency he found. I don't think he has a theory about the insomnia, actually: I asked him about it twice, and both times he sort of circled around it and talked about the underlying issue. Whatever: he could tell I'm deeply fatigued, and he suggested a couple over-the-counter supplements that won't hurt me in any case, and unlike obscure Chinese concoctions, I don't think there's any worry about the supplements interfering with the obscure Ayurveda concoctions I normally take. (Traditional medicine systems are great, but you shouldn't mix and match.) In particular he said I have a massive B-vitamin deficiency.

He also got my pulses more or less back in sync somehow--my wrist pulse was delayed from my neck pulse, and if you're healthy all your pulses should happen at the same time.

After a stop at Rainbow Grocery to buy supplements and lunch, I headed over to Oakland to see Dr. Hippie.

Holy crap.


I didn't try retaining the vocabulary for what this guy was doing, but basically he put a thing around my head with electromagnets controlled by a computer (but not touching my skin). The first phase was diagnosis, where, I gather, the computer manipulates the electromagnets so they use electromagnetic pulses like sonar, bouncing them off different...things, to get information about different parts of the body. I didn't get a picture of the machine, but it looks like it's from 1980 and it was made by "Maitreya, Ltd.", which...wow.

Bullshit Detector notwithstanding, Dr. Hippie came up with a very similar profile to Dr. Chinese, even though he was reading straight from the computer--the only thing he knew about beforehand was the insomnia. Common things:
  • Systemwide fatigue, where parts of my body are not getting enough energy.
  • Broad B-vitamin deficiency.
  • My liver is a little crabby. (Dr. Ayurveda has done a lot of work for that this year, so I'm not surprised.)
Dr. Hippie's machinery pulled out some other useful and pretty accurate results, and then he proceeded to have it adjust...things. It does double duty as both diagnosis and treatment, depending on what you have the computer do with the electromagnets. I did start to get drowsy while the treatment part was running: qualitatively different than any usual afternoon drowsiness, but it was an unusual day.
"When do you want to go to sleep and wake up?"
"Uh...exact times?"
"Yes."
"10 P.M. to 6 A.M.?"
"Okay, that'll take a few minutes."
Apparently this is a thing he can do. I'm very interested to see what happens tonight.

housing doom

With Anna's business, our finances are now complicated enough that she had to go talk to an accountant. I didn't meet him, but he sounds really nice,. In examining our situation, he did the math that's always been too hard for me, and demonstrated with numbers that we should buy a house.

We're already up to our ears in difficult projects, but there was this beautiful little house for sale. The price would be ambitious for us, but whatever, it couldn't hurt to try.

Let's set some expectations, for those of you not accustomed to Bay Area house prices. In Redwood City, where I live, the absolute lowest you'll find a 2-bedroom house within a couple miles of downtown will be $450,000--that's likely to be a fixer-upper--and it goes up from there. If you have normal American expectations about what kind of house and neighborhood you'd want to live in, you're looking in the $500k-$900k range for an 1,100-square foot house on a 5,000-square foot lot.

I went to talk to our realtor about this house, to find out whether it was worth buying, but also whether it was possible or worthwhile to put an offer in. It turns out the answer was "no":
  • Banks are tight on financing right now, so you need 20% down. On a $500k house, that's $100,000 in cash. On a $700k house, it's $240,000.
  • Houses in this range are getting multiple offers, at least one of which is typically all cash with no contingencies. Cash offers usually win.
  • For an offer to be considered, it usually needs to be at least 40% cash.
That's $200,000 in cash for a $500k house, or $280,000 for a $700k house.

Life's been really good to me, but not quite that good, yet.

With much less excitement, we're keeping an eye out for a condo we could live in for a couple years before renting it out and buying a house, but the outlook is pretty grim.


Sometimes I really want to move somewhere with weather and a sane housing market.

Sunday, November 4, 2012

music: what makes a song?

I've never really written a song, passed from half-assed efforts I wouldn't show in public. For a lot of artists, songs develop a life of their own, as they're bound up in the writer's experience and carry a lot of emotions. I'm fascinated by what makes the essence of a song, and so I love hearing different versions of the same song. This got really started with Peter Gabriel's "In Your Eyes". Unless you're my wife, that's a really pretty song, and I was always caught by the rich instrumental layers.


But think for a minute: Peter Gabriel didn't write the first version of that song using a dozen different synthesizer tracks. The overwhelming majority of lyrical songs are worked out on solo piano or guitar. So we get Jeffrey Gaines's solo-guitar version.


One of my favorite songs of the past few years has been "Fireflies" by Owl City. It has a really, really recognizable opening riff.


This is a ton of electronic stuff, right? It's very much descended from The Postal Service and some other lyric-electronic bands of the mid-oughts. Guys like this often perform what you could call a "laptop show", where they're onstage with a bunch of boxes, twiddling knobs. And this song pretty much telegraphs its presence immediately. So, how cool is this?


SO MANY INSTRUMENTS! It's so tempting to think the orchestration defines the song, because that's the idea of the song that I've built up in my head. But the songwriter knows the song in a way that I can't.


Music is awesome.

Saturday, October 27, 2012

nasal toast intrusion

Anna left for a business trip on Tuesday morning, as a punishment for doing the amazing work she does, so I did all the kid routines on Wednesday and Thursday. (He didn't starve to death or anything. We're all very proud of me.)
I haven't slept well this week, so Tuesday morning I was a bit of a zombie, and breakfast ended up being gluten-free toast with Trader Joe's goat brie, instead of something good for me. I was idly chewing my toast and drinking coffee, doing something on the computer, when suddenly I snarfed, and the airflow and timing in my throat and esophagus just kind of...broke, somehow. My soft palate failed to do its job, and I felt a significant amount of chewed toast go up into my sinuses.

At this point, I'm thinking two things:
  1. I've only been married for a year and I've already turned into one of those guys who can't manage life alone. My wife has been gone for 90 minutes and now I have toast up my nose.
  2. My sinuses are full of toast, and I'm supposed to care for a child?!
It didn't hurt, though it did feel quite awkward. We're really not meant to have chunks of food up our nose. Naturally I knew kids in school who could, at will, put milk or spaghetti into their mouths and have it come out their nose; like many things other kids did, I decided that fell outside my comfort zone.

Since the toast wasn't coming out by blowing my nose, I brought out the neti pot. That loosened the toast bits up enough to get blown out. The biggest chunk was about 4mm.

Luckily for me and you both, subsequent mornings have been less eventful.

Sunday, October 21, 2012

use of weapons

My half of Engineering played paintball on Thursday! I need not say that running around a course shooting each other with guns appeals primarily to men, but the women engineers have fun too, if perhaps not quite at the passionate level the men get to. (Apparent consensus: "That was pretty fun, I guess.") As a broad generalization, maybe we can all accept "men usually enjoy simulated violence as a hobby, and women usually don't" as a starting point.

We can afford to enjoy it, of course: we don't live in a state of physical threat from the other half of the species. As Margaret Atwood formulated the power difference, men are afraid women will laugh at them, and women are afraid men will kill them. We've also had the luxury of not experiencing actual combat with real guns, like almost everyone we know. So, hey, acknowledging our extreme privilege, let's go have fun and shoot each other for the afternoon.

Paintball accurately mimics, at a low level, the basic things I know about being shot at:
  1. If you are capable of executing some kind of organized military tactic, do that.
  2. Otherwise, take cover behind something solid. If you have a gun, shoot back.
We did a bit of #1 (often directed by our former-Israeli-sniper VP), but mostly it was #2. This is a good quadricep workout, since you're constantly doing cycles of crouch-look around-shoot-crouch.

Paintball hurts, but not excessively. I'd compare it to getting with a fast tennis ball, but over a smaller area. Sharp stings that fade after a couple minutes. The worst are the paintballs that don't explode.

As with most things involving weapons, I am naturally better than average. My brothers are naturally gifted at sports; I'm naturally gifted at things like swords. I recognize what's in me and my history that makes weapons appealing, though I don't have an explanation for why my motor coordination is optimized for martial arts and not, say, soccer. Sometimes I feel like this:
It was a warship, after all. It was built, designed to glory in destruction, when it was considered appropriate. It found, as it was rightly and properly supposed to, an awful beauty in both the weaponry of war and the violence and devastation which that weaponry was capable of inflicting, and yet it knew that attractiveness stemmed from a kind of insecurity, a sort of childishness. It could see that--by some criteria--a warship, just by the perfectly articulated purity of its purpose, was the most beautiful single artifact the Culture was capable of producing, and at the same time understand the paucity of moral vision such a judgement implied. To fully appreciate the beauty of the weapon was to admit to a kind of shortsightedness close to blindness, to confess to a sort of stupidity. The weapon was not itself; nothing was solely itself. The weapon, like anything else, could only finally be judged by the effect it had on others, by the consequences it produced in some outside context, by its place in the rest of the universe. By this measure the love, or just the appreciation, of weapons was a kind of tragedy.
That's from Iain M. Banks's novel Excession. I don't typically find quotable introspective passages in his Culture novels, but I was quite struck by that one. I am who I am, and I have to be that, to the best of my ability; at the same time, I recognize that a way of life exists, or should exist, where warriorship in the forms we know it doesn't occur. If my childhood baggage--let's call it "karma"--leads me towards martial arts and weapons, I can't really deny that honestly.
To fully appreciate the beauty of the weapon was to admit to a kind of shortsightedness close to blindness, to confess to a sort of stupidity. The weapon was not itself; nothing was solely itself. The weapon, like anything else, could only finally be judged by the effect it had on others, by the consequences it produced in some outside context, by its place in the rest of the universe. By this measure the love, or just the appreciation, of weapons was a kind of tragedy. 
Instead, I practice a martial art focused on defense and protection, even the protection of the person attacking you. I learn how to use weapons mostly to feed my own inner requirements for a feeling of safety, with the hope that if needed, I can provide that safety and protection for others. I've been able to do that for people a number of times, and in general I feel like I am successfully being a man who can look the world in the face and construct a useful spontaneous response to help people, instead of panicking.

It's worked pretty well so far.

Tuesday, October 9, 2012

work work worky work

I had a bit of burnout at work last week, and I'm currently trying to recover, which I've never done before. The crux is that over the past couple of months I've ended up being a manager instead of a technical lead. It's a fine-grained distinction, which at my company gets explained more by example than by principle, but managers generally don't make technical contributions, and spend their time herding cats and coordinating and organizing things. That's important, don't get me wrong, and I'm also good at it; but I don't like it at all, and it turns out that my technical contribution is really important to both me and the company.

My higher-ups have been really helpful, and I'm working on two antidotes:
  • No meetings in the afternoons. Ever. 1:30 PM onwards is my time.
  • Have people email the whole team to get implementation details or up-to-the-hour status updates on projects.
The latter is the most interesting to me, as I realized I was becoming a sort of documentation repository, with people expecting me to know the technical details of the dozens of bugfixes and projects we might have going on at any given time. That's becoming impossible, with the team's size and scope: I've been spending all my energy studying and tracking what everyone's been doing, which is already difficult when I haven't been part of the implementation.

People also expect a certain unreasonable level of omniscience: if you ask me about something's status at 4 PM, I'll have no idea. The team does status updates every morning at 11 AM, and I don't bother people after that. (Partly that's projection on my part, because I despise when managers ask me for status updates every couple hours; but whether an engineer finds it annoying or not, it is an objectively disruptive thing to do.) Don't get me started on trying to keep track customer issues. I could literally spend eight hours a day doing nothing but reading and understanding what my team is doing. In fact, that's not far from what I've been doing. I hate it.

I'm feeling better, certainly. I've been a bit at a loss, in that having clawed back some time for coding, I'm not entirely sure what to write code on. It's starting to come into focus, though.

I gave a short talk today at the company meeting, about my team's (pretty amazing) reduction in costs this year. The funny thing is that we didn't start out trying to reduce costs: we were trying to make things work, having faith that once we had stability and consistency, we could tweak it for efficiency. We were right, our costs are down 83% since July 2011 and about 60% so far in 2012, and we're not done yet.

I like giving talks. I'm good at it, people tell me they learn things and have fun, and it's not super hard. I'm comfortable enough in front of a crowd, and my brain is soaked with enough knowledge and experience that I can give myself a basic outline to speak on and I can just extemporize in a relatively engaging way. I can do it in Spanish, too: I spoke for 15-20 minutes to a group of teachers in Valparaíso about my experience of their (very bad) school system. The next level up in speaking, where I actually rehearse a more detailed and less hand-wavey version of what I'm going to say, is pretty easily achievable, and I've already done it once or twice.

Being a grown-up is weird.