The Sweet Spot
On software, engineering leadership, and anything shiny.

A new blog is coming!

I’m forking this blog in two: a design/development blog and a personal blog.

I’ll be keeping as my technical blog: if you stay with me here, you’ll find me muse about design, code and entrepreneurship as I come across it in my studies and in my work.

If you care about the nitty-gritty of my personal life, follow me at There I’ll post more introspective posts on my personal life. You might find photos of adventures I take with my friends, or you might be surprised with the occasional story or poem or song. RSS readers: you might want to add the new feed.

Xanga readers: you’ll be reading most of my content from my personal blog. You’ll probably miss most of the content at my technical blog (but you’re welcome over any time!)

You’ll see new layouts come up in the months to come, but please be patient. I’m way stoked to get this up and running.

Wordpress Bughunt

I spent a good four hours today digging through Wordpress code, trying to get our Cal Christian Fellowship Web site back up.

The problem: the page seemed to freeze when loading page content. The request would time out, leaving a half-loaded page sans content. I dug into the theme at first, trying to track down which function call could have barfed. I tracked it into the apply_filters() call in the the post.

Wordpress uses a filtering system to manage content. This lets us add filters over all kinds of content. I realize that the problem was stemming from the Text Control plugin, where something had barfed!

I disabled the plugin and voila! We were good to go again.

Since we only really used Textile markup on the CCF site, I just re-enabled the default Textile plugin and we were back in business.

I don’t know for the life of me what went wrong over the weekend in the Text Control plugin, but I don’t have the cajones or the time to dig through server logs, et. al. and find out.

Geeking out like nobody’s business,


I'm ready for the winter.

Okay, I confess. I’ve been daydreaming about winter break:

  1. Sleeping in.

  2. The laughter of friends.

  3. Taking a day trip with a camera to Monterey/Carmel (or anywhere awesome).

  4. Working (uninterrupted) on Wejoinin.

  5. Redesigning the blog? Updating the portfolio? (Good Lord, it’s about time).

  6. Kicking it with Jesus.

  7. Working on a few songs, and maybe trying a bit of recording.

  8. Reading, reading, reading, then writing, writing, writing.

  9. Spending the holidays with family.

And hooray! I’m finally done with interviews. I’ll be taking an internship at Apple this summer doing software engineering and Web development. I’m real excited about (and very thankful for) the opportunity to hang out with the cool kids.

Feeling awesome today

So for our CS188 (Artificial Intelligence) project, Capture-the-Flag Pac-Man, I’m responsible for writing a script that does some processing and analysis on a game board, simulating a Pac-Man agent (my other group members are responsible for far cooler things, like inference and heuristics, but humor me here).

I most definitely need at least several hours of computation time to get the results I need, but figured that I’d do best by dividing up the labor between CPUs. So last night I set five cores’ worth of computational power a-workin’–1 on my desktop, 2 on my laptop and 2 remote cores on Hsiu-Fan’s sweet desktop.

(Then I disconnected sometime last night from Hsiu-Fan’s computer, abruptly killing my processes. I’m back on using UNIX screen because I read I can remotely detach windows and processes, but I’m actually not sure if the process keeps chuggin’ in the case when your program spawns X windows and you’ve disconnected).

So humor me here, I feel pretty awesome right now. My room’s a bit warm with the sheer heat dissipation from my computers, but at least that negates the need for human companionship. Tally-ho!

— Edit: the joys of Python:

Meeting Joe Hewitt

I shook Joe Hewitt’s hand today (psst, he’s the guy who did tons of Mozilla stuff but most notably built Firebug). I stammered a lot. But that’s okay, because I shook Joe Hewitt’s hand.

“Fanboy” says the Facebook engineer behind me, under his breath.