Monday, June 28, 2010

Enter the Dragon

The following statement is 100% true:
Bruce Lee offered me a job on Friday.
Despite what you are all hoping, no, I won't be accepting a position as head minion for a zombie martial arts master.  This Bruce Lee happened to be an employee of a certain company in a certain northwestern city which had previously offered me a job when I was coming out of college.

I felt kind of bad declining the offer, because I know people who are having a hard time finding work, and here I get an unsolicited offer, but after working a few years here I still feel like I made the right decision.  Try me again in another few years, Bruce.

Tuesday, June 22, 2010

Happy Birthday

I turned 30 a little while ago.  I guess I forgot to mention that.  It was on a Sunday, so we didn't do much, but I got some new clothes, some cologne, a breadmaker, and a few other nice things.  However, I mostly posted this  so I could show this video of Olivia and Carmen singing Happy Birthday to me.

Saturday, June 19, 2010

Oil change

I changed the oil in my lawn mower today.  If you ignore the part where I had go find the manual, I felt very manly with the lawn mower propped up, laying on my back in the driveway using some oily socket wrenches.  Contrary to what the manual says, there is no side release valve, so I had to remove the entire engine.  This meant removing the blade and the at least 7 distinct pieces attached to the motor shaft (several of which decided to remove themselves and scatter all over before I had a chance to see how they went on), detaching the belt that powers the front wheels, unscrewing the engine from the body and lifting the whole thing off to get to the plug underneath and drain the oil into a paint tray.  As is usually the case, the disassembly was the easy part, but I managed to find a place for all the pieces and got the lawnmower back together and it started and even ran long enough for me to mow the lawn.

To other manlier men, this was probably as inconsequential as getting a drink of water (after killing a bear with their bare hands to carve a replacement part out of bone to fix their monster truck so they could make it back in time to be MVP of the Super Bowl), but for this nerdy programmer it was a refreshing change of pace.

Tuesday, June 15, 2010

America's Best

Newsweek came out with their list of "America's Best High Schools" again recently.  I'm proud of the good reputation my high school has so I like to check out the list, but again, my school didn't make the cut.  To find my school, you have to click around their site until you find this list.  Their reason it's not one of the "best"?
NEWSWEEK’s Challenge Index is designed to recognize schools that challenge average students. These top-performing schools, listed below in alphabetical order, were excluded from the list of top high schools because, despite their exceptional quality, their sky-high SAT and ACT scores indicate they have few or no average students.
So, apparently it's a list of "America's Best Average High Schools".  Study hard, average kids, someday you might get left off the list too!

Monday, June 14, 2010

Stay in school, kids

I just finished an assignment at work that made me appreciate my formal university education.  My task was to take a statistical interpolation method from a research paper and implement it.

I'll keep the details brief since I'm working on super-duper-top-secret stuff, of course, but the paper was full of terms like covariance and semivariogram, used common curve equations like spherical, exponential, and gaussian, and was peppered with its fair share of tables, graphs, and matrices.  And what research paper would be complete without a bevy of overly-intimidating equations like this:


The interesting thing about software development is that despite the math classes you are required to take as a CS major, you really don't have to be good at math to be a good programmer.  Most of the time you rely on logic and spatial reasoning skills, or just basic programming knowledge like object oriented design.  The major exception to this rule is when you have to program something that actually is math.

It's at times like this when I'm glad I went to grad school and had to drudge my way through countless papers just like this (eventually writing one of my own).  You learn a few things, like how those monster equations are mostly for show (though ostensibly for instruction and proof) and almost always simplify to something reasonable, allowing you to skip most of the Greek.  In this case (no joke) it becomes:


And then it's at this point that I appreciate my undergrad requiring linear algebra, because that equation only looks simple due to the fact that those variables are matrices and vectors.  Add to that some nonlinear least squares regression curve fitting and using derivatives to find slopes and those math courses can actually be useful!

Given the problem, I doubt I would have ever come up with a mathematical solution this clever, but that's not what I learned to do.  I don't know math well enough to speak it, but I can read it and that's all I needed to turn this bunch of mumbo-jumbo into a pretty cool software feature.

It's nice to know that after all the work that went into getting my degrees, they actually do make me more qualified to do my job than some self-taught hacker.

Monday, June 07, 2010

Maps 2.0

For those of you who enjoyed my previous tinkering with the Google Maps API, my recent solitude has given me some time to refine and improve it.  I finished adding the cities/CDPs for the rest of the states and territories, then added ZIP codes (actually ZCTAs), added loading indicators (which I made myself), and most recently, added multi-select (Ctrl-click) for cities and zips.

Check it out at http://maps.skvely.com.

Saturday, June 05, 2010

When the cat's away...

Amber and the kids flew to California on Wednesday night to visit the great grandmother after whom Carmen is middle-named, leaving me all alone here at home.  It's awfully quiet around here.  I didn't know what to do with myself at first, but it's been kind of nice to have some free time to do things it seems I never get around to doing.

I fixed a bookcase yesterday after work (the adjustable shelves weren't quite adjustable enough).  This morning I slept in until 10, then took my time edging and mowing the lawn.  After lunch I called up Dan to go shooting.  I'd been meaning to go ever since I got my dad's gun and it was a lot of fun.  Here's Dan trying out the 9mm.


The gun works great, generally poking holes in things that you point it at.  Here's my target after 30 rounds or so.


Coincidentally, Dan had just bought a pair of single-pump air rifles, so after we were done shooting the real gun, we played in his backyard plinking soda cans.  Also quite fun, and quite a bit cheaper.