Tuesday, August 31, 2004

digital photo prints

A year and a half ago, when I was unemployed, I managed to catch up on organizing and ordering three years worth of digital photos. Since then, I've fallen so far behind that my Costco.com photo center account expired, and all my old photos got erased. (Actually, I'm happy about that. Saved me from having to delete them by hand.)

Anyway, I was recently looking at photo sites and was amazed at the increased variety and quality. I used to order from Ofoto, Shutterfly ($0.49/print), and most recently Costco ($0.24/print). Now prices are down in the low 20 cent range all around, and there are coupons and special deals to be had all over the web.

I think I'm going to give winkflash a shot; they charge $0.18/print (no coupons required), offer free shipping, and I've found several great reviews of their photo quality, as well.

Monday, August 30, 2004

engineering productivity

What's the best way to kill engineering productivity? Two words: brain teasers.

At lunch today, we were talking about interviewing and interview questions. Although we all agreed that most brain teasers did not make good interview questions, we were nonetheless diverted into the conversational black hole of asking brain teasers.

Question 1: There is an airplane with N seats and N passengers. The first person walks in and sits in a random seat. Each following person sits in his/her own seat if possible. If not, he/she sits in a random seat. What is the probability that the last person will sit in his/her own seat?

Question 2: There are 25 racehorses, but only 5 horses can race at a time. Assuming that every horse runs every race in exactly the same time, and each horse's race time is distinct, how many races does it take to determine which 3 horses are the fastest?

We did manage to solve both problems before leaving the cafeteria. Eventually.

Friday, August 27, 2004

hero

Some people from work are going to Shoreline to see Zhang Yimou's "Hero" today. I decided not to go, since I've seen it twice already, first in Taiwan a couple years ago, and then last year at a friend's house on DVD. (Imported? Yes. Pirated? Not sure.)

I did like many aspects of the movie: the gorgeous cinematography, the casting (it's nice to see Jet Li keeping his dignity), the unhurried pace, and of course, the fight scenes.

However, I was disturbed by the "moral of the story", which seemed to imply that rebelling against authority was bad, and individuals should sacrifice to the "greater good"; in this case, a unified China under the rule of a tyrannical emperor who believed in ethnic cleansing and trapping people inside of the Great Wall.

For me, it's way too easy to draw a parallel between that ruler and the current totalitarian Communist regime, and from there, it's not difficult to see the movie as pro-China propaganda. Of course, I'm biased.

Even so, it's a little surprising to see a movie like this from Zhang Yimou, who has historically had difficulties with the Chinese government regarding the content of his movies.

Wednesday, August 25, 2004

mmm...chocolate

Today I went to a "chocolate tasting" event at work. The founder of Cocoa Pete's (also the founder of Pete's Wicked Ale) talked about the process of chocolate making, we sampled a variety of chocolates paired with beer/wine/soda, and finally we had a most excellent chocolate-themed dinner.

It was fun, yummy, and I learned quite a bit. Apparently, in Europe, "dark chocolate" must be 35% pure chocolate, while in the US, it only has to be 15% pure chocolate, unless it's semisweet or bittersweet, in which case it must also be 35% pure chocolate. Incidentally, there is no difference, technically speaking, between semisweet and bittersweet chocolate.

Similarly, European "milk chocolate" must be 25% pure chocolate, and American "milk chocolate" only has to be 10% pure chocolate. No wonder theirs tastes better. Also, so-called "white chocolate" has no chocolate at all, it's just cocoa butter and sugar. Mmm...fat.

Wednesday, August 18, 2004

the never-ending tire saga

About 3 months ago, I went to Yosemite with a bunch of friends. As I mentioned previously, I took a nail in my left front tire, and had to get it patched at the Yosemite Garage.

More recently, I noticed that my tire seemed to have sprung a slow leak. I had to fill up my tires about every two weeks, and then every week, and then every few days. At that point I started to look into getting new tires.

The Tire Rack was highly recommended by several, so I browsed around and found that Michelin was offering a $50 rebate on a set of four tires. Michelin makes a very nice Ultra High Performance All-Season tire called the Pilot Sport A/S. However, at $135 a tire, they were significantly more expensive than my other choice, Pirelli's PZero Nero M&S, at $101 a tire. I waffled for a couple of days, and managed to forget completely that the rebate was expiring at the end of the week.

The following Monday, I was all ready to buy, so I clicked rapidly through the checkout process until I discovered the rebate had expired. I sulked for about a week, not wanting to admit defeat. It's horrible when you lose money due to your own laziness. I kept thinking if I waited long enough I would discover another coupon or rebate. Finally, last Sunday, I caved to reason and bought the tires.

Monday evening, on my way home, I took a nail in my left front tire. My new tires arrived Tuesday afternoon. If I had gotten the tires with the rebate three weeks previously, I would have just been out $135. I guess the moral of the story is that procrastination pays? Maybe a better moral is that lots of times, things just work themselves out, in the end.

As an aside, it really kicks ass to live just minutes away from work. Tuesday morning, I called up a co-worker at 10am and he swung by and picked me up on his way to work. That afternoon, I convinced another co-worker to come by and talk me through putting on the spare. Last time I had a flat, a bunch of guys did all the work, so I wanted to make sure I learned how to do it this time. I figure if I know how to change a flat, maybe I won't get one.

Friday, August 13, 2004

To Say Nothing of the Dog

A few years ago, a friend recommended Doomsday Book to me as a good example of "science fiction lite". I think it was a term he made up himself, and after finishing the book I told him I didn't really think it was science fiction at all.

It was my first introduction to Connie Willis, and in the years following I read through pretty much all of her fiction. She does reuse certain character motifs, but her writing is engaging and her books fun to read.

My favorite is To Say Nothing of the Dog, which is a light, funny, clever book inspired (and named after) Jerome K. Jerome's Three Men in a Boat. Recently, I recommended it enthusiastically to a friend.

A few weeks later, she returned it, having been unable to finish it. I was perplexed, so I talked to another friend (also a Connie Willis fan) and we came to the conclusion that even though Willis' books are light on explicit scientific theory, they do involve a certain amount of logical reasoning, skepticism, and focus on detail. In short, they require a techy thought process.

For example, the plot of "To Say Nothing of the Dog" is based heavily on time travel, and the protagonist spends the first hundred pages or so in a time travel-induced daze. As a reader, it's difficult to remember that the main character's interpretation of events may not be entirely trustworthy. Also, like a mystery writer, Willis expects her readers to retain seemingly innocuous plot points until they become significant. One of the reasons that I enjoy her writing is that I am forced to concentrate, rather than being fed a simple, easy-to-follow plot. Others may not agree.

I still highly recommend Willis' books, especially "To Say Nothing of the Dog", "Doomsday Book", "Passage", and "Bellwether", but I will probably shy away from recommending her and other "science fiction lite" writers to less technical readers.

Tuesday, August 10, 2004

bagborroworsteal.com

Ran across an article about bagborroworsteal.com this morning. It's being described as "NetFlix for purses". Pretty clever idea, actually.

Monday, August 09, 2004

Marine World

I went to Marine World this weekend, for the first time since I was 12.

Marine World got bought by Six Flags a couple of years ago, so instead of just having shows, like Sea World, it now has lots of roller coasters. I went on Vertical Velocity, Zonga, Medusa, and a bunch of bitty rides, and I think that was about all my head could take. Must be getting old.

I've decided 21 is the best age to be. Everything's legal, and your body hasn't started falling apart yet. Too bad I didn't know it then.

Friday, August 06, 2004

more PRC bullying

I'll let the article speak for itself:

TAIPEI, Taiwan (Reuters) -- China is pushing for the removal of advertising posters supporting Taiwan's Olympic team from 500 baggage carts at Athens airport, a Taiwan official said on Friday.

Games organizers, under pressure from China, have asked Taiwan to withdraw the posters, said Lin Chia-lung, head of the Government Information Office.


I guess it's been a whole year since they made Miss Taiwan cry by bullying her into wearing a "Miss Chinese Taipei" sash.

Wednesday, August 04, 2004

what happened to Prince and Lady?

Last month my sister and I ordered a new set of "Little House" books on eBay. Like many of our books, our old copies had been literally read to bits, and we were getting sick of dropping pages and having to put them back in order.

It arrived a couple of weeks ago, but I was busy then, so I just finished rereading the books this week. Some thoughts...

- It must have really, really sucked to give up that house with the glass windows in Indian Territory. I wonder what happened to it?

- Was Mr. Edwards a real person? The whole walking forty miles in a blizzard part makes it seem like he must be made up, but wouldn't it be cool if he was real?

- "Farmer Boy" always makes me hungry. The mealtime descriptions are just delicious; I have to think really hard after reading them, to remember how plain the food really was back then.

- The two year gap in between "On the Banks of Plum Creek" and "By the Shores of Silver Lake" is still a little strange. I did some web surfing and discovered that someone has written a new book about that time; it talks about the Ingalls' living in Burr Oak (Iowa) for several years before returning to Plum Creek.

I've always liked all the books in the series except "The First Four Years", the last one. It's not written in the same style as all the other books, everything that happens is depressing, and it's somewhat disjointed. If the story had ended with "These Happy Golden Years", I could've imagined that Laura and Almanzo went on to be prosperous farmers, like the Wilders in New York. Instead, "The First Four Years" gives a glimpse of the poverty that they endured for most of their lives.

What a disappointment Almanzo's life must have been to him. In "Farmer Boy" he seemed like an especially precocious farmboy and horseman. In "The Long Winter" and "Little Town on the Prairie" he seemed courageous, dashing, and ahead of the game, with his superior team of horses and his own homestead claim. Given his promising start, it's especially disheartening to read about him ending up crippled and poor, losing his claim, and leaving De Smet for Missouri.

Speaking of horses, I've always wanted to know: What happened to the beautiful Morgan horses, Prince and Lady? At the end of "These Happy Golden Years" Almanzo uses them to drive Laura home after their wedding, and a pair of "brown horses" is mentioned a couple of times in the first few pages of "The First Four Years", but then they are never mentioned again. There's nothing anywhere on the web, either.

Monday, August 02, 2004

fat what?

A friend pointed me to fatwallet.com the other day as a good site to find discussions on credit cards and rewards information.

Since then, I've used it to find an 8% cash back offer at a sporting goods store, some informative postings comparing various digital photo sites, and several promotion codes for various online shopping sites. I'm trying to figure out it's not more popular. Are people just too lazy to do a little research to save a little money?

Friday, July 30, 2004

reading speed

According to this test, I read somewhere between 800-900 words per minute. Woo-hoo! Way too much YA fiction as a child, I suppose; I read over 250,000 pages during my fifth grade school year.

Though, there are a few flaws in the test. You have to scroll down once you're finished with the first screenful, and you can't read very fast while you're scrolling. The other problem is that the test passages are mostly fiction and fiction is way easier (and faster) to read than non-fiction, at least for me.

Thursday, July 29, 2004

Paul Graham on hackers

I was reading Paul Graham's essay entitled Great Hackers this morning. He seems to have clearly and concisely enunciated several opinions that are common among techy people, although he is somewhat extreme in his views:

Great programmers are sometimes said to be indifferent to money. This isn't quite true. It is true that all they really care about is doing interesting work. But if you make enough money, you get to work on whatever you want, and for that reason hackers are attracted by the idea of making really large amounts of money. But as long as they still have to show up for work every day, they care more about what they do there than how much they get paid for it.

I'm not sure that this is entirely true; it seems to assume no other especially interesting and/or time-consuming hobbies. A really good programmer might make a pile of money and decide to quit her job completely, because what she really wants is to only program when she wants, on things she's interested in, and no job can guarantee that all the time. Instead she gets a pilot's license and travels around the world for a couple of years. Of course, she would have to bring along her laptop.

A great programmer might be ten or a hundred times as productive as an ordinary one, but he'll consider himself lucky to get paid three times as much.

This is a fact that often seems to be completely ignored by management. All programmers are not created equal. It's not even that the best programmer is twice as good as the worst programmer. The worst programmer should actually count as a negative when it comes to calculating man-months (which are mythical anyway, as we all know), since he probably makes mistakes that waste everyone else's time. No, the best programmer is certainly orders of magnitude better than even the average programmer, and should be valued accordingly. I say this as an about average programmer, myself.

Here's another interesting quote:

When you decide what infrastructure to use for a project, you're not just making a technical decision. You're also making a social decision, and this may be the more important of the two. For example, if your company wants to write some software, it might seem a prudent choice to write it in Java. But when you choose a language, you're also choosing a community. The programmers you'll be able to hire to work on a Java project won't be as smart as the ones you could get to work on a project written in Python.

[...]

Business types prefer the most popular languages because they view languages as standards. They don't want to bet the company on Betamax. The thing about languages, though, is that they're not just standards. If you have to move bits over a network, by all means use TCP/IP. But a programming language isn't just a format. A programming language is a medium of expression.


This is a very good point. I code primarily in Java nowadays, and Java is awesome in that it takes care of a lot of details for me and prevents bugs like memory leaks, but it makes me lazy. I think ideally companies should hire programmers that are skilled in multiple languages, and give them the freedom to choose from a (small) set of languages when starting on new projects. Different types of projects call for different implementation languages.

His thoughts on office space are dead-on:

After software, the most important tool to a hacker is probably his office. Big companies think the function of office space is to express rank. But hackers use their offices for more than that: they use their office as a place to think in. And if you're a technology company, their thoughts are your product. So making hackers work in a noisy, distracting environment is like having a paint factory where the air is full of soot.

The cartoon strip Dilbert has a lot to say about cubicles, and with good reason. All the hackers I know despise them. The mere prospect of being interrupted is enough to prevent hackers from working on hard problems. If you want to get real work done in an office with cubicles, you have two options: work at home, or come in early or late or on a weekend, when no one else is there. Don't companies realize this is a sign that something is broken? An office environment is supposed to be something you work in, not something you work despite.


Regardless of the reason, whether it's productivity or something else, engineers usually demonstrate a clear preference for offices. We had a engineering satisfaction survey at work earlier this year, which posed the following question, "Given the exact same space (same size, desk area, window access, etc.), I would prefer to work in a... (a) Cube (b) Office (c) Don't care (d) Other." 70% of respondents answered (b) Office, 8% answered (a) Cube, and 17% answered (c) Don't care.

On managing engineers:

Hackers like to work for people with high standards. But it's not enough just to be exacting. You have to insist on the right things. Which usually means that you have to be a hacker yourself. I've seen occasional articles about how to manage programmers. Really there should be two articles: one about what to do if you are yourself a programmer, and one about what to do if you're not. And the second could probably be condensed into two words: give up.

The problem is not so much the day to day management. Really good hackers are practically self-managing. The problem is, if you're not a hacker, you can't tell who the good hackers are. A similar problem explains why American cars are so ugly. I call it the design paradox. You might think that you could make your products beautiful just by hiring a great designer to design them. But if you yourself don't have good taste, how are you going to recognize a good designer? By definition you can't tell from his portfolio. And you can't go by the awards he's won or the jobs he's had, because in design, as in most fields, those tend to be driven by fashion and schmoozing, with actual ability a distant third. There's no way around it: you can't manage a process intended to produce beautiful things without knowing what beautiful is. American cars are ugly because American car companies are run by people with bad taste.

Many people in this country think of taste as something elusive, or even frivolous. It is neither. To drive design, a manager must be the most demanding user of a company's products. And if you have really good taste, you can, as Steve Jobs does, make satisfying you the kind of problem that good people like to work on.


Lastly, here's a quote about talented people in general:

Because you can't tell a great hacker except by working with him, hackers themselves can't tell how good they are. This is true to a degree in most fields. I've found that people who are great at something are not so much convinced of their own greatness as mystified at why everyone else seems so incompetent.

This rings true; what appears as false modesty to others is probably just ignorance. After all, if you consider yourself the norm, why shouldn't everyone else be just as smart or fast or talented as you?

Anyway, I'm glad I took the time to read through the whole essay. Graham's ideas are original and quite discussion-worthy, and more impressively (for a technical person), they are presented in vivid and well written detail. Go read it!

Tuesday, July 27, 2004

LAN party

I've been invited to a Starcraft LAN party. How geeky am I?

I haven't actually played Starcraft in about 3 years, so this should be interesting...

Monday, July 26, 2004

feature request for PayPal

This insight came in an email from a friend this morning:

"PayPal is un-Chinese because it doesn't let you refuse money."

Sunday, July 25, 2004

seagulls

Went to go see the A's play the Rangers today. It's the second time in a month I've seen Rich Harden pitch, and he's very impressive in some ways (pitch speed, strikeouts) and not so impressive in other ways (control, walks). Here's hoping his control improves, quickly.

There was a brilliant defensive play sometime in the middle innings, when it was still close; Mark Kotsay gloved a ball just over the fence and robbed Teixeira of a 3-run homer which would have made the score 4-3. Soon after that, Eric Byrnes hit a 2-run shot and it was pretty much a blowout from there on out.

Sometime during the bottom of the eighth, the seagulls started to circle above us. A friend and I were trying to figure out how the seagulls knew when to show up; did they just know that weekend games would end around 4pm? Did they wait until some cars started to leave the stadium? Did people start to throw their food on the floor? It must be a pretty good method, because I've been to many a baseball/football game, and the seagulls have shown up every time, without fail.

Friday, July 23, 2004

pro sports

There's been a lot of talk lately about Kobe Bryant being selfish. With both Phil Jackson and Shaq leaving, it does seem like Kobe must be making noise and forcing the team to give him what he wants.

I was discussing the whole Lakers debacle with my roommate last week, and I came to the following conclusion: Kobe is just a guy trying to advance his career.

Imagine for a second that Kobe works for a typical Fortune 500 company. He has a regular job, but he's very talented and sees a lot of potential for career growth. However, he feels that one of his co-workers (Shaq) is getting in the way of his career advancement, and he also doesn't really get along with his team lead (Jackson). It's not that he and his co-worker don't do good work together, but he feels that he could do better (and get more recognition) flying solo. If I were in that situation, I'd talk to my boss (aka the Lakers front office) about rectifying it, and I imagine most other people would too.

The problem is that with pro athletes, we (the public) don't like to think about the fact that playing ball is their job. We like to imagine that they all play purely for love of the game, loyalty to the team, and the pleasure of the fans. Career ambition isn't palatable to sports fans; it's fine in a 9-5er, but it isn't okay in a pro athlete.

As a footnote, I really wonder if this whole selfishness question would have come up if Kobe wasn't being tried for rape. Regardless of whether he's guilty and/or convicted, Kobe has lost a lot of good faith, and people are way more eager to brand him as a selfish pro athlete than they were before.

Sunday, July 18, 2004

new shoes

I just got some new basketball shoes last week, and played with them this morning. They're the "And 1 Madness Mid", in black and silver. Look to the left and drool.

Actually, they were pretty cheap, especially since "big kids" sizes run about $20 less than the men's (for the exact same shoes!). I've never really understood it, but I've always taken full advantage.

I thought it was a justified purchase. The treads on my old pair are all flat and there are really truly holes in the lining. I didn't want to injure myself wearing ratty old shoes. That's what I told myself, anyway.

Thursday, July 15, 2004

Scandinavia pictures

I finally got around to sorting through the 800+ pictures we took in Scandinavia.

Here's a sampling:

Copenhagen

Legoland

Skagen

Gothenburg

Oslo

Stockholm

Friday, July 09, 2004

it's alive!

I finally got a Gentoo installation up and running on my "new" machine, by downloading yet another version (2.6.7-gentoo-r8) and compiling pretty much the full kernel.

At first, networking was still broken, but I poked around in the Gentoo forums and read something about strange interactions with APIC (or ACPI?) neither of which I needed, so I took those out of the kernel and then everything worked beautifully.

I set the hostname as "stud-finder", which is something of an inside joke, but still goes with my theme.

Next up, a fresh installation of Windows 95 for my eight-year-old Pentium Pro 200, aka "the-wrench". RedHat 7 + Gnome turned out to be too damn slow.

 

This is my personal blog. The views expressed on these pages are mine alone and not that of my employer.