Short 2009 retrospective

2009 was good to me. I enjoyed the first year of my job at Airwave. In some ways, it was a big adjustment for me, but I found it very satisfying — the organization works well, it’s given me a chance to improve my abilities as an engineer, and I’ve learned a lot. I’ve even come to love Perl far more than I ever thought I would.

I got engaged to Tien, though that was really only a question of when.

The time, or at least attention I had to devote to other activities was somewhat limited. I did a fair amount of gardening. I set up a 25 gallon aquarium with lots of plants, and now that the pH has stabilized, it’s doing very well.

Things I’ve learned about gardening

Clay isn’t bad, but you’re going to want to dig in a lot of decayed organic matter. Some mixture of the cheap commercial compost (composted redwood sawdust, around here) and aged chicken manure is pretty good for a start, though I expect I’m going to be buying less stuff now that the worm composting is going well (and taking all our vegetable/fruit scraps and paper shredder output.) If I had a lot to get started at once (maybe when we own a house and I can live my dream of having about 500 square feet of garden), I’d rent a truck and pick up a load of the composted yard waste freely available, even though I suspect it’s less nutritious and full of weed seeds.

I’m less impressed by mulching techniques and materials than most people seem to be. More on that in the future. Though, aside from being lazy, one possible reason not to mulch beds is that it may discourage ground-nesting bees. (See Mulch Madness, One More Deterrent To Beeing Successful).

In a dry climate, drip irrigation is the best thing ever. You can maintain good moisture levels without over and underwatering. You can avoid all the troubles of hitting plants too hard with water or disease related to having the tops of plants too moist. Just about the only thing it’s not good for is sprouting seeds, since you don’t get very even moisture levels at the very top of the soil.

Drip Irrigation for Every Landscape and All Climates by Robert Kourik is a good book on the subject, though I pretty much figured it out on my own beforehand. It’s ideal to avoid lots of connections and just use lengths of tubing that have integral emitters. Also, use a good filter, regulator, and always use a backflow preventer.

Mizuna is just about the only salad green you’re going to grow in the hot dry summer here. Arugula will do okay, but it gets too bitter and bolts easily. Nasturtium is trivial to grow even in partial shade (though you get less flowers that way.)

Give zucchini and tomatoes ample water and lots of manure. As with any fruiting crop, don’t let the zucchini get too mature before picking, or it’ll start to slow down. One zucchini plant is enough for two people unless you really love zucchini. Zucchini (and many other fruiting annuals) need calcium. If they don’t have enough, you get blossom-end rot. With this somewhat alkaline soil, gypsum seems to work (and should help make the clay easier to work). In more acidic soil, dolomitic lime is the standard thing, from what I hear.

Sunflowers are easy once they got big enough to resist slug and snail attack. Growing pole beans up sunflowers works, but I’ll build a trellis next time to space the vines out better. Also, if you’re unlucky, the weight of the beans breaks the sunflower in half. (This is the “mammoth” sunflower I’m talking about — 7 feet tall even with shade for part of the day.)

As for slugs and snails, the baited iron phosphate granules (Sluggo is one brand) seems reasonably effective and is essentially harmless to people, pets, and plants in the quantity used. Sprinkle on plenty at least monthly. Most of the trouble I had was with small plants as they sprouted — once things like beans and sunflowers got bigger, they have reasonably snail-unfriendly surfaces. And the zucchini is downright pest-unfriendly — the stems give me a temporary rash on my arms, though callouses on the my fingers make them okay to handle that way.

This was all the stuff in the ground, which I find vastly more enjoyable for growing annuals, compared to fiddly containers. More on the container stuff next time…

Lua and gardening

I’ve been reading Programming in Lua lately, with my original intent to try using Lua to make Putty scriptable. It’s a pretty neat language. Quite high level for something that lightweight to embed in other programs.

Anyway, if I do this, it will be my first serious foray into Windows programming.

I’ve also done a fair amount of gardening lately. You can see more on Flickr. I’m really looking forward to getting that Canon 100mm macro lens so I can take more of the sort of photos of plants and bugs that I find interesting.

I plan to allocate a bit more of my time for writing, soon.

Been so busy.

In January, I took a new job, working at Airwave (A division of Aruba Networks) on the Airwave Management Platform (AMP). We follow extreme programming methodology fairly closely (including pair programming), and I’m really enjoying it, though it makes for intense days. (But better intense than excessively long days.) It’s really good for learning stuff quickly and not getting stuck.

The new commute sucked. An hour each way by car, hour and a half by train (total, door-to-door).

So, after looking for a couple weeks, and hurriedly packing for a couple more, we moved at the end of February to a house in Sunnyvale. More space, and I’m only 2 miles from work. I can even walk to work in about 40 to 45 minutes, slowed down somewhat by the necessity of crossing the street excessively. We’re still unpacking.

Using ALSA for sound with VMware Workstation 6.5 on an Ubuntu 8.04 host

I built a new desktop PC for use at home, and I installed Ubuntu 8.04 on it. In anticipation of replacing the windows XP desktop with it, I’ve been playing with the evaluation license of VMware Workstation 6.5.

Somewhat annoyingly, VMware uses the lowest-common-denominator Linux sound API, OSS. Unfortunately, OSS, as typically implemented, only allows one application to have the sound device open at once. This might have been a acceptable design in 1995, but it sucks today.

However, as many people mention in several places on the web, you can use the ALSA-OSS emulation layer to give you the benefits of ALSA (such as multiple applications opening the audio device at once) with VMware. Almost all of them involve modifying the script which starts vmware to LD_PRELOAD the libaoss.so library. However, this seems to not work in the latest versions, since there are multiple levels of shell scripts which start the actual binary, and some of them modify the LD_PRELOAD environment variable. As far as I can discern, the “right” way is to add this line to /etc/vmware/config :

preload = “/usr/lib/libaoss.so”

And now, sound works just fine for me in VMware.
(Note, I did have to “sudo apt-get install alsa-oss” beforehand.)