Friday, April 30, 2010

Yet Another New Job

I have just changed jobs (again) and am now working in the San Francisco area. While I have spent the last decade of my career working for small startup companies, I now work for one of the largest consumer electronic companies in the world. I have to say that it is a refreshing change. At the last place I was working, I started at 7:30 am and worked until 8:00pm every day. They also expected me to work weekends. My new company has much more reasonable hours.

I work in the research and development group of the company's video game division. My two boys think I have the coolest job ever. I would have to agree. Yesterday my boss told me it was OK to play video games while I am at work. He told me it was kind of expected and so I should not be shy about sitting down with a Playstation 3, checking out a few games from our extensive library, and playing them during the week. When I told that to my sons, they got jealous.

While my job seems awesome, it does come with one downside: I live in Salt Lake but work in San Francisco. That means I fly out on Monday mornings, live on my sailboat during the week, and fly home on Friday nights. Everyone asks how that works with my family. My wife hates it, but my kids that are still at home don't want to move. My oldest daughter is in college and so she doesn't care. My oldest son will be in college this fall and so it doesn't matter to him either. The two youngest ski for the Snowbird Ski Team and so they don't want to leave Utah. I have given them the choice of skiing every day after school or being with Dad and they would rather ski.

I guess that means I will have to rely on technology to help me continue to spend time with my wife and kids. Hopefully that translates into some interesting BLOG entries. Until then, I'm just glad to be away from the dog.

Wednesday, February 24, 2010

Google Docs

Recently I had the chance to use some of Google's applications. The company I now work for keeps all of our spreadsheets and documents in Google Docs. I had heard about Google Docs before, but had never really taken a look. I have always used Microsoft Office or OpenOffice.org for such tasks and didn't see the need to switch. It has been almost a month now and I still don't see a reason to switch.

Google is an innovative company that has managed to do one or two things right. They remind me of the Microsoft of a decade ago. Microsoft has never been good at getting the right product out the door the first time. However, they continue to refine it until it is a great product. Look at Windows. There were versions 1.0 and 2.0, but nobody really adopted it until version 3.0. Even then, it was quickly followed by 3.1 which fixed a lot of problems. So it would not surprise me that even though I am not a big fan of Google Docs right now, that may change.

The primary difference between Microsoft Office and and Google Docs is that you need to install the Microsoft product on your computer while you use Google Docs on the web. If you are always connected to the Internet, then it isn't much of an issue to run your word processing or spreadsheet software on the web. However, what happens when you are not connected to the Internet? Perhaps you have hiked to a secluded spot in the forest to work on your version of "The Great American Novel." Google Docs isn't going to work for you.

The advantage of running software on the web is that it is much easier to share documents. You don't have to worry about attaching a spreadsheet to an e-mail so a friend or colleague can go over your numbers. Furthermore, if you update your document, it is updated immediately for everyone you have shared it with.

As for functionality, there is no comparison. Microsoft Office and OpenOffice.org are much more feature rich than Google Docs. When I was explaining this to someone, he mentioned that it will only take some time before Google Docs catches up. While there may be some truth to this, there is only so much you can do with a web-based application. At least for the foreseeable future.

Thursday, February 4, 2010

A New Job

After several years of consulting, I have finally taken a job with a new company which happens to be based in Los Angeles. This means I am spending most of my time in sunny California. I have to say the weather is a lot warmer than back in Utah. The downside is that it is really cutting into my skiing.

My new job is as the database expert and administrator for a development team. We are using PostgreSQL and so I was a natural fit for the position. With any new project, there is some low-hanging fruit that is easy to implement and this job is no different.

PostgreSQL is a great open-source database and there are a lot of tools to make it better. One thing you can do to help increase performance is connection pooling with the help of pgbouncer or pgpool. Connection pooling is like keeping a phone line open to your best friend and never hanging up. If you have something to say, just talk. There is no delay while you wait for your friend to answer the ringing phone.

We decided to try pgbouncer because it has slightly better performance than pgpool (but doesn't do nearly as much). It took only fifteen minutes to install and we are already seeing huge performance improvements with our application. I like it when you can spend a few minutes and do something that has such a huge impact. The only problem is keeping it up.

Friday, January 15, 2010

Help for Haiti

It is tough watching the news each evening without wondering how to best help the country of Haiti. Sure I can donate money to relief organizations like the Red Cross, the LDS Church, or Catholic Relief Services, but my skills are worth so much more than the money I could contribute. The trick is how to get to Haiti and be a contributor instead of another drain on the already fragile infrastructure. If I was independently wealthy (which I am not), I think I could pull it off with the following:

1. Spend some time on the Internet and locate several charter sailboats for sale in the Caribbean. There are a lot of 50-foot sailboats for sale in the British Virgin Islands and it would be easy to pick one up for under $200K. Furthermore, charter sailboats are meant to sleep a lot of people and so it could serve as a floating hotel for other relief workers.

2. Fly to the BVIs with two or three other potential relief workers and buy the sailboat. Do enough of a job outfitting the boat to get you to San Juan, Puerto Rico where it is cheaper to reprovision the boat with lots of food and supplies.

3. Sail to San Juan and meet any other relief workers as well as finish getting food and relief supplies. It is important to include things like a portable Ham radio, extra diesel fuel for the boat, gasoline for the dinghy's outboard, a case of batteries (all sizes), a watermaker (used to turn salt water into fresh water), and a good nautical chart of Haiti.

4. Finish sailing to Port-au-Prince which looks to be a fairly protected harbor. Unfortunately all of the commercial piers seem to have been destroyed, making it impossible for large ships to enter. However a sailboat with a 6-foot draft could easily get in close, anchor, and be able to immediately provide relief.

The beauty of a sailboat is that it is like an instant 5-room hotel that is completely self-contained. Workers would have a comfortable place to sleep and prepare meals. Of course it might be a temptation for some of the desperate criminal element, but the anchor is easily raised so the boat can be taken off-shore nightly for safety.

Unfortunately I am not independently wealthy and so all I can do is propose a good idea. Hopefully someone else can run with it.

Thursday, January 14, 2010

Electronic Magazines


I must confess that I am a bit of a pack rat, especially when it comes to magazines. Not all magazines, just the ones I read. I have no problem tossing out a computer periodical that I only skim. However, it is difficult to throw away a single skiing or sailing magazine. Who knows when I may need to go back and reference an article.

A couple of years ago, I was helping my oldest daughter build a trebuchet (sort of like a catapult) for one of her school classes. I remember reading a story in Scientific American about trebuchets and so I went looking for it. I found every other issue except the one on trebuchets. A couple weeks after the project was finished, I was cleaning out my bookshelves and found the missing magazine behind several books.

After 15 years of living in the same house and being able to justify keeping old magazines, my hoarding instinct had let me down. Instead of having a story to justify keeping old magazines, I had my eyes opened to the pointlessness of hanging onto old periodicals. I promptly threw out all of my Scientific American magazines.

Recently I started throwing out all of my old skiing magazines. Actually I give them to my kids who cut out the really cool pictures and then throw the rest away. However I still can't bring myself to throw away any of my sailing magazines. This is somewhat of a frustration to my wife. She has no problem throwing things away and will often chuck stuff that is still being used.

I can actually justify keeping my sailing magazines for two reasons: boat reviews and destination information. As an engineer, I enjoy reading boat reviews. Frequently I will see a used boat for sale and want to get more information. My old magazines provide great reference material.

Ever since I was a teenager I have wanted to sail around the world. I have done trips along the coast of California and helped bring boats back to the mainland from Hawaii. Eventually I would like to go all the way around the planet and visit many of the destinations found in my sailing magazines. That reason alone keeps me hoarding these old periodicals.

Luckily a few of the publishers of sailing magazines have made their issues available in portable document format (PDF) that I can store on my computer. I still like to recieve the paper copy so I can read it anywhere without having to rely on a computer. However when I am done with the issue, I download the PDF, store it on my computer, and recycle the paper copy. Now I just need to figure out what to do with all the space left in my bookshelves.

Tuesday, January 12, 2010

Computer Mistakes

This morning I was reading through one of my computer magazines. I didn't read a single article except for one. Towards the back of the magazine there is a regular column that generally has three short stories about users making various computer mistakes. At the time, I am sure the users don't think they are funny. However after a bit of time some are quite hilarious.

I think one of my favorite computer stories is about how someone called in to technical support complaining about how his computer wouldn't turn on. The support engineer asked a series of simple questions like, "Did you push the 'On' button?". When he asked if the computer was plugged in, the user responded, "I'm going to have to get a flashlight as I can't see the cord because the power is out."

Another one of my favorite stories is about how a guy called in asking to have his cup holder replaced. The support engineer didn't think they shipped cup holders with their computers and probed further. He soon discovered that the user thought the CD-ROM tray was a cup holder.

Computers have the potential to make our lives easier but they also can be incredibly frustrating. Someone once said, "To err is human, but it takes a computer to really foul things up." I would have to agree.

Friday, January 8, 2010

Golf Pencils

I missed writing yesterday because I spent my morning on the side of an ice covered mountain helping coordinate volunteers for a ski race. When I got back to my office after lunch, I had a pile of work which took priority.

Coordinating volunteers for a ski race is a fun job if you know what you are doing. I had to train new people on the basics and then talk to everyone about new rules instituted this year. Finally I had to give everyone their paperwork that needs to be filled out on the mountain. If a skier doesn't ski the course correctly, it needs to be recorded.

Standing on the side of a mountain filling out paperwork for a ski race is very enlightening. For instance, did you know that a ball-point pen doesn't work below 32 degrees Fahrenheit? The ink freezes. NASA knew that a ball-point pen wouldn't work in zero gravity and spent millions of dollars coming up with a pen that would write in space. The Russians just brought a pencil. Ski racing officials use the low-tech solution and bring a pencil, which works great in the cold.

A second discovery that every ski racing official makes is that it is very cold if you have to take your glove off to write. After half a decade of helping with races, I have learned to write with my gloves on. It is a useful skill that recently came in handy when I was playing a party game and was asked to remove some candy from a foil wrapper while wearing thick, winter gloves. The only exception to being able to write with gloves on is if you get stuck with a golf pencil.

Golf pencils are those half-pencils without erasers that you get for free. They are called golf pencils because you most often see them at golf courses and are used to keep track of your score. If you go into an office-supply store, you can buy a huge box of them for less than an order of french fries. In fact the cheapest thing in the store is a gigantic box of golf pencils.

For the record, I hate golf pencils. They are only useful once. The moment you try to sharpen one, it becomes too small to use again. There is no eraser and so if you make a mistake, you're screwed. Well, unless you are carrying an eraser in your pocket. But who carries an eraser to a ski race? Hand warmers, candy bars, and goggle scrapers, yes. Pencil eraser, no.

The whole reason for the invention of the golf pencil is based on the idea of creating a writing instrument that nobody would want to steal. If golf courses gave out nice pencils, they would never get them back. However if you are done playing a round of golf, get in your car, drive an hour down the road, and then discover that you still have your free golf pencil, you will go all the way back to the course to return it because nobody wants such a useless thing.

As the new volunteer coordinator I'm going to go buy a big box of real pencils. Full-sized ones, with erasers on the end. Then I am going to drill holes in the backs of them just below the eraser. That will allow me to run a string through the pencils so I can attach them to clipboards. If that doesn't keep the writing instruments from disappearing, then it is back to golf pencils. But only as a last resort.