Surf Roots, Software Thoughts

A blog by Alex Loddengaard

Archive for May, 2008

Google’s Search Market Share?

Lots of people speculate that Google has about 60% search market share. It seems to me that this is totally wrong — seems to me they have well above 90%. I pulled up Google Analytics for all eight of the sites that I have it installed on and did a quick query to see what percentage of people hit my sites from Google vs. other search engines. Take a look:

blog.bestseattlebars.com 97.5%
helpd.org 100%
alexloddengaard.com 99.0%
bestseattlebars.com 73.8%
cellarspot.com 100%
dirtyinq.com 100%
huskysnowboardteam.com 50%
timedex.org 100%

Small sample size/poor statistical analysis? Yes. 60% search market share? No way.

What do you think?

10 comments

Twitter: A Case Study for Bad Software Development

I read (yet) another post about Twitter’s performance problems, but this one unlike others shined light onto the technical difficulties that Twitter is facing. From the post it appears as though Twitter was created too rapidly with an underemphasis on performance. It’s very easy for software developers to be so interested in cranking out features that they disregard performance altogether. I think Twitter is one of these cases. Read the post for more details, but basically they were naive when developing their application and didn’t dig deep into performance bottlenecks and limitations.

Let this be a lesson that performance must be a factor when developing an application. Consider what will happen to your code if you experience an insane amount of usage, and understand the performance bottlenecks that you’ll have. Google is a good counterexample to Twitter. Larry and Sergey knew how difficult it would be to create a fast index of the internet, so they developed tools to deal with large data. I’ll bet the developers at Twitter are running around like maniacs, profiling, testing, and screaming profanities. Had they taken performance into account earlier they could have avoided their recent downtime altogether or at least been more prepared to fix the problem when it occurred.

3 comments

Friends Worth Fighting For

One of these guys had chemotherapy for his cancer and lost his hair.  All the rest are his friends.

Seeing this picture on Facebook made me so happy that I decided to share it.  It turns out that one of these guys is my best friend, and this photo reminds me how grateful I am to have great friends and family.

“A friend is someone who is there for you when he’d rather be anywhere else.” - Len Wein

5 comments

The Google Crawler is Fast

It took the Google crawler all of 15 minutes to index my last post about PowerEdge Ubuntu RAID monitoring.  That is utterly ridiculous.  It boggles my mind that they can so quickly index, compute PageRank, and cache everything in that little amount of time.  Perhaps they don’t do all of that right away.  Maybe they assume a fresh post has a high PageRank.  Maybe they really do compute the PageRank on the fly.  Regardless, I’m totally amazed.

3 comments

Dell PowerEdge 1950 + Ubuntu 6.10 Edgy RAID Monitoring

I finally setup a good RAID monitor on my machine; I’ll be able to sleep better at night now.  I thought I should share what I did.

  1. Install omreport for general hardware reporting.  Find comprehensive instructions here
  2. Test omreport by running omreport storage controller controller=0
  3. You’re mostly interested in the controller, virtual (RAID) disk, and physical disks
  4. Make sure you have a mail client setup like sendmail
  5. Setup a cron job by creating a file in /etc/cron.daily that contains one line: omreport storage controller controller=0 | mutt -s “RAID Monitoring Notification” youremail@domain.com
  6. Make the file executable with sudo chmod a+x <file>
  7. Start receiving a daily email with the omreport output

Here’s some information about my machine:

  • PERC5/i SATA RAID1 controller
  • 2 x 250GB SATA drives
  • 2 x Xeon processors
  • Ubuntu 6.10 (Edgy)

I’m pretty happy with this monitor, because it’s simple and quick.  Now all I need to do is figure out how to monitor my redundant power supplies.  Shoot me a comment with questions.  I hope this helps!

2 comments

More Travel Purchases

The travel purchases never end.

I’m not even finished yet.  In other news, my mom and I sewed an old sheet into a sheet bag for the hostels that don’t have bedding.

Bonus purchase: my team and I won our Google APM scavenger hunt, so I got a $50 gift certificate to the Google Store.  I bought a Google bike jersey.  Now all I need to buy to make my outfit complete is a nice pair of tight, short bike pants.  Mmmmm.

2 comments

Better Code Syntax Highlighting in WordPress

I’ve written previously about syntax highlighting in WordPress, but I’ve found a better plugin since then. Google’s syntax highlighting plugin for WordPress is much better; and thank god it supports Delphi.

Here’s an example:

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Pretty shnazzy, huh? Here are the usage instructions and language support.

I had to make one minor change to one of their CSS files. I changed Styles/SyntaxHighlighter.css such that the .dp-highlighter .bar definition had a smaller left padding. Take a look:

.dp-highlighter .bar {
    padding-left: 30px;
}

Enjoy!

No comments

Karma Prevails - A Tale of Passing

I’ve complained before about cycling passing etiquette. I was stopped at a red light on my morning commute earlier today, when just as the light turned green a dude in a super fancy, multi-thousand-dollar bike whizzed by me. This particular light was at the base of a long, steep hill, and I was determined to catch up with him. He was hauling, but I managed to pass him and his insane bike. I kept a 16mph pace climbing Dexter from the Fremont bridge, and I was hammered when I got to the top. He passed me on the gradual downhill leading up to downtown, but before the commute was over I had my vengeance. Just before my turn onto 2nd Ave., I sprinted and got ahead of him. BOOM!

Karma prevails, at least in this case. I’ve been passed plenty a time with bad etiquette and not been able to catch up, but not this time. Vengeance is sweet.

For the record I think it’s fun to complain about this, and I don’t actually get angry when I get passed with bad etiquette.

2 comments

San Juan Island Cycle

Last weekend my roommate, Matt, and I cycled around San Juan island.  I thought I would describe our trip for those of you who might be interested.  It was a ton of fun, and I would recommend it everyone.

Drive from Seattle to Anacortes
The trip started with Matt and me leaving Seattle at 6:00am.  We arrived in Anacortes at around 7:30am, just in time for the 7:45am ferry.  Look here for a complete ferry schedule.  The drive was quick and easy.

Ferry from Anacortes to Friday Harbor, San Juan Island
The ferry ride cost us around $14 each — $10 per person and $4 per bike.  It was very empty and very pleasant.  The ferry weaved through the San Juan islands and stopped at Orcas Island before arriving at Friday Harbor.  The ride was about 90 minutes and probably would have been around an hour without the Orcas Island stop.

Cycle around the Island
We started and ended our loop in Friday Harbor.  The route we took is mapped here.  Google says it’s 25 miles, but I have no way of confirming that.  The roads were constantly changing pitch, giving us short amounts of time on downhills and long amounts of time on uphills.  The island is generally flat, so each hill was relatively moderate but still challenging.  The whole ride took us about three hours, including at least 45 minutes of site seeing, relaxation, and photography.  The scenery was totally diverse — we traveled along cliff-side roads, through thick forests, beside farms (including Alpaca farms!), and across small prairies.  It was tons of fun!

About half way around the island was a national park and campsite.  If I were to do this ride again, I would pack a sleeping back and tarp and spend the night at this campsite.  The site is right on the water with a view of Victoria Island, and it was relatively deserted when we stopped to rest.

We ate awesome fish and beef burgers at The Hungry Clam restaurant after our ride in Friday Harbor’s quant downtown.  We also took a short stroll around the town, which consisted mostly of souvenir and tourist shops.

Ferry to Anacortes, Drive to Seattle
The trip back to Seattle was more or less the same as the trip up.  However, this time our ferry had come from Canada.  This meant that we had to go through customs on our way off the boat, which took all of two or three minutes.  We didn’t have our passports, and the border patrol officer was content with that.

Conclusions
All in all the trip was awesome, and I’m totally glad I did it.  It’s a relatively easy ride, but the scenery and isolation make it worthwhile. I wish I would have camped one night at the national park, but I suppose it was nice to pack light. Actually, come to think of it, it would be pretty challenging to bike around the island twice in a row. Maybe I’ll do that next :).

8 comments

Thank You, Fake Steve

There’s been a bunch of buzz lately about the relationship between Microsoft and OLPC, and Fake Steve’s post about it is by far the best.  All you need to do is read the title, though the rest of the post is pretty classic as well.

While you’re at it you should grab his RSS feed.

3 comments

« Previous PageNext Page »