Category Archives: Misc

Buying Houses

Last week, we went to an open house in our townhouse complex. The price was $389,000 for a 2 Bedroom, 1.5 Bath townhouse with a “stream” view (read: pipe with flowing water). The seller was nice enough to us despite knowing that we are not in the market to buy but rather just curious. She told us it is 1200 sq ft (which, as I found out online later, was a lie — it is listed under 1000 sq. ft).

Anyway, we started talking about saving enough money for a down payment in this crazy housing situation, and she handed us a card of the lender she works with and to give her a call. She said we’d be surprised what we could afford. Alarm bells rang. I would be surprised how much I can afford? Really?

Using an online mortgage calculator, it turns out I need to pay ~$2900/month on a $389,000 mortgage. That’s almost $130,000 per year when you factor in car and student loan payments (who doesn’t have those). What about bills? Electricity? Gas? Food? Fuel? Living expenses? HOA?

This is why the housing market is on the downswing. This sort of pricing simply isn’t sustainable. There are a million and one ways to finance something you can’t afford — but in the end, you still can’t afford it! People are financing $500K houses with interest-only loans, ARMS, or 60-year loans. SIXTY YEARS! These are all signs that the houses are way, WAY overpriced.

The best you can do in these situations is find a cheap place to rent and weather this storm. And when a loan agent tells you that you’d be surprised at how much house you can afford, don’t buy into it. As for that townhouse, it’s still on the market after 2 1/2 months.

Mac OS X Review

Three weeks ago I acquired a brand new MacBook Pro. This is my first Apple product after having been a Windows and Linux user and developer since I can remember.

I will try to document my switching experience as objectively as possible. I will review the hardware, software, and the GUI experience as it relates to my work and leisure.

In short, there is a lot of work to be done from a usability standpoint from a maker that touts usability as their #1 feature, but overall I am relatively happy with the MacBook Pro.
Continue reading

Slice n’ Dice

Today is the big day I go under the knife. I’m a little nervous, but I know everything will be fine. The surgeon is about 150 years old, so I know he has the experience. I just hope that I didn’t crush his hand when I shook it. Anyway, thanks to all my friends for the support, and I will see you in the recovery room.

Firefox Searchbar Width

You can set the width and the maximum widths of the Firefox search bar (the Google/Wiki bar) by performing the following steps:

  1. Locate userChrome-Example.css and rename to userChrome.css in your profile directory (under Windows, it’s usually in:
    C:\Documents and Settings\[user]\Application Data\Mozilla\Firefox\profiles\[profile dir]\chrome\
    (Note: some directories might be hidden, so you’ll have to run explorer with the “show hidden files” option)
  2. Insert the following in that file:
    #search-container {
    width: 400px !important;
    max-width: 400px !important;
  3. Save the file, and restart Firefox. Voila, bigger search bar!

Marine Snails, Politics, and Artificial Intelligence

According to Konrad Lorenz, marine snails waive their long breathing tubes from side to side in search of food — or, more specifically, in search of scent of food — as they move randomly across the ocean floor. Since they are sensitive to the differences in the strength of a scent at the two extremes of the breathing tube’s motion, the scent of food is strongest when the snails are turned at right angles to the food. But instead of turning at right angles towards the food, they make a sharp reversal (almost a 180-degree turn) and continue crawling so that the scent strikes the other receptor, resulting in a zig-zag path that takes them towards the food.

Drawing from this analogy, public opinion and government policy are very much like the marine snail — in the presence of an external stimulus, they sharply reverse direction. For example, after British police found explosive materials in a water bottled on a US-bound flight, any and all liquids were banned on airplanes (even the ones bought in the shops). In this case, the explosives were the stimuli for public opinion and government policy, and the reversal of direction was the transition from utter obliviousness to complete prohibition. Of course, the system reached equilibrium after some time, and the snail is not hungry anymore.

The marine snails were an analogy for an artificial intelligence algorithm in a seemingly randomly-organized book, Swarm Intelligence by Kennedy and Eberhart. The book converges on the ideas of multiple agent interaction from a range of topics, including mathematics, biology, psychology, history and evolution. Even though I am only 1/4 of the way through the book, I find it a fascinating read, and recommend it to anyone even remotely interested in the field. After all, even if you don’t make any progress in AI as a result of this book, you will surely be able to draw random analogies to random occurrences in the world.

A few updates

With the new year come a lot of new responsibilities. I am starting school again (yikes!) while work is probably going to pick up even more.

Last quarter was fierce because of our end-of-quarter and end-of-year financials — they made a push for everything on the production floor to get shipped, so we slaved for a long, long time after hours, burned through our weekends, neglected our families right before christmas just so Bill Lumbergh’s stock would go up a quarter of a point. We didn’t even get a pat on the back (well, at least I didn’t). This year is shaping up to be even more aggressive.

I need to make this server publicly accessible, but I simply don’t have the bandwidth to do it. If I had a few more readers, it would become more worthwhile to update this site more frequently, but, alas, until I get a better server, I am writing just for family and close friends.
Check out some of the new pictures.

MazdaSpeed Challenge

Last weekend, Ky and I went to the MazdaSpeed challenge, where, much like the Lexus Taste of Luxury, officials let you drive select cars around cone-designated tracks. However, Lexus and Mazda cater to different demographics — Lexus to the rich, middle-to-upper class, and Mazda to a younger low-to-middle class.

To my surprise, Mazda encouraged “controlled” driving — meaning a little drift here and there, rubber-chewing turns, or even turning the traction control off was definitely allowed. Uncontrolled driving was demonstrated by idiots with more horsepower than brains, who generally wound up facing the wrong way after a nasty hairpin, and was discouraged to the point of disallowing those people to drive again.

The cars constituted pretty much the entire Mazda lineup: MazdaSpeed6, Mazda6, Mazda3, MX-5 (Miata), CX-7, RX-8, and the occasional Mazda5. Different types of tracks were designated to different types of vehicles and their strengths and abilities. MazdaSpeed6 and Mazda6 had a timed autocross track, CX-7 had a “target hunt”, RX-8 and MX-5 had a trial course, and the rest had a mild “Time Match” course.


We tested the Autocross waters with the MazdaSpeed 6, which is only available with manual transmission. The car has a 274-horsepower, Inline 4-cylinder, 2.3-liter, turbocharged engine. Traction is achieved through an All Wheel Drive system that does not impress, especially not under extreme driving circumstances — but I’m getting a little ahead of myself. The interior is everything I expect from a Mazda, and very similar to the Mazda3, which is neither good nor bad, but average.
Unlike the Mazda3, however, the clutch was extremely sensitive and had a very short depth, causing me to (embarrassingly) bunny-hop the car for the first two times I eased off the clutch. Rolling through the start gate, I couldn’t help but notice the underwhelming low-end power, undoubtedly caused by turbo lag. Fortunately, once the turbo spooled up (somewhere after the 3,500 rpm mark, I think), the car produced gobs of power on demand, complete with the distant and distinct sound of an unmodified turbo “whoosh” in the background.

Going around the first bend, it became apparent that this was a mid-size sedan. The amount of body-roll the car produced in the right-hander was almost equivalent to that of my (late) ’99 Wolfsburg Jetta — which, if you know the car, is just short of the car being propped up on two wheels. Ok, so I exaggerated a little, but the fact remains: the MazdaSpeed6 could definitely use a stiffer suspension and some anti-roll bars. Understeer was also definitely noticeable due to the car’s AWD and the traction control (you’re probably thinking I should have turned it off, but I only had 2 laps in it, and didn’t want to lose control and my driving privileges). To be fair, these are racing conditions, but even then a car that bills itself as the sport-sedan in the sub-$30K range should definitely sport better handling.

The brakes, on the other hand, had decent response and never faded. It’s also worth noting that by the end of the day (we did the first run in the morning, and the second run in the afternoon), the clutch was worn out to the point of gripping really high up — a sign of a) torture exhibited upon the car by the masses of people gathered to practice the “drive-it-like-you-stole-it” methodology, and b) a sportier clutch, sacrificing durability for performance — which, for this car, is fine by me.

All in all, I am not overly impressed by this car. It seems like the Mazda engineers wanted to create a sport version of the Mazda6 sedan for the parent on-the-go, but had to stop short in order to meet the budget, unfortunately sacrificing suspension (the most crucial part, in my book). I am interested in how the MazdaSpeed6 compares to the MazdaSpeed3 and a Subaru STi on an autocross track.

Rating: 6 out of 10.
Pictures and more review to come. Stay tuned.