Tuesday, June 23, 2009

Celebrity Sighting!

I had a celebrity sighting today at lunch! I sat at a table next to Jane Kaczmarek (the mom in Malcolm in the Middle) at Mediterranean Cafe, my favorite restaurant!

Sunday, June 21, 2009

Registering Visual C# Express

My trial of Visual C# 2008 Express Edition had run out so it wouldn't let me continue without registering. This shouldn't be too hard, I thought to myself... Well, first of all, I could have sworn I had a Microsoft Live ID with my personal e-mail address, but I guess I was wrong. I then attempted to create a new account so I entered all of my information and typed in the CAPTCHA, but it wouldn't take. It kept saying that the CAPTCHA was wrong. I tried at least 20 of them over and over, and finally it took me to a page that there was a problem registering in the account. In a fit of rage I hit F5 a bagillion times really quickly, and guess what! It took! Once hurdle number one was overcome I then actually tried to register. It was stuck with a spinning green progress indicator for about 5 minutes before I gave up. Then I realized my problem all along... I wasn't using Internet Explorer. I reluctantly fired up Internet Explorer, but I still couldn't get it to work. What I finally had to do was set Internet Explorer as my Default Browser so that I could click the button inside of the Visual C# software to launch the registration wizard and only then was I finally able to get through the process.

I do appreciate that Microsoft releases these Express Editions so that I can tinker around at home on personal projects. I just wish they would acknowledge that more than one browser exists in this world, especially in their QA department. Friggin Mircrosoft.

Saturday, May 9, 2009

Prime Rib!

Lately they have been having incredible deals on Prime Rib at Von's. I picked up a 4lb two rib roast for 15$, where it is usually closer to 40$. Overall it came out well, just slightly overdone for my liking. I also made Yorkshire pudding from its juices! My wife gets upset if I don't make something "green" to go along with dinner, so I fried up some zucchini as well.

Today was overall just a great day! We woke up this morning without having an alarm clock set, which hasn't happened in a long time. Every few months we like to take the train down to go visit Amoeba records to buy some new music. We hadn't gone in a long time and we had nothing planned for today, so we spur of the moment decided to go! On the ride to Union Station we noticed that the train seemed much more crowded than usual, and when we arrived we found out why. Today is National Train Day. I love trains! They had all sorts of stuff going on at Union Station; a model train exhibit, wine tasting information, giveaways and more. My wife picked up all sorts of goodies for her students, and I picked up a bunch of information on trains.

My sister is moving to Minnesota, and it seems like the perfect excuse to take the Amtrak Train from Seattle over to St. Paul. I learned today that the train ride is only 40 hours (I thought it would be longer!). It departs from Seattle at 4:45 PM. You spend the entire next day traveling through Montana and North Dakota which are both supposed to be beautiful. The following morning the train arrives in St. Paul at 7:50 AM. The timing seems ideal. We would definitely get a sleeper car, and as long as it is booked far enough in advance it doesn't look to be very expensive!









Saturday, April 11, 2009

The Getty



It has been a long time since my last post. In the last month we had a major software release at work, I went to my nieces dedication, and I have been on a ridiculous number of 'man dates'. At work we have a new coworker James who will be working from the opposite coast, however he spent his first three weeks over here for training. It just so happens that my wife and I live a block from the corporate condo where he stayed, so he has been joining me on the daily walk to work. Some might say I have a 'walking buddy'.

In addition to our daily walk my coworkers, wife and I have been showing him around town. We have been to the local pub a number of times, we went to the club Largo to see a Jon Brion show, and finally we went to the Getty!

My wife took her students on a field trip to the Getty not too long ago, and she received a free parking pass. We have been itching to go back, and having James around was finally a good excuse to go. It was a beautiful day, and the furniture exhibit was awesome. The 'Vexed Man' is pretty sweet too, although to me he looks like he is just dropping a deuce, not so much vexed.
































Sunday, March 22, 2009

Internet Explorer 8

Internet Explorer 8 was released three days ago on March 19, 2009. I installed it on my work machine as soon as it came out. Because I am a windows developer I feel a certain obligation to use Internet Explorer, although at home I have been using Google Chrome.

Overall the browser is way ahead of its predecessor. The search functionality is vastly improved. The search is now integrated, it can highlight results on the page, and it is much easier to step through the results. I also like the tab color coding feature. When opening a new tab from an existing tab, it will color code the two tabs to help with organization. Another nice usability improvement is that you can now paste a multi-line URL into the address bar, and it won't truncate the URL. Multi-line URLs happen all the time when trying to e-mail or IM long links.

However, there are several features that are still lacking and one that is seriously broken. I cannot believe that there is still not an integrated spell checker in IE8. This has been in FireFox for a long time, and made it into version 1 of Chrome. Also, I wish you could drag a tab out of the browser to make a new window. This is an incredibly important feature for users with multiple monitors, and something that Chrome supports. Finally, one of the main reasons that I use Internet Explorer is that in previous versions, it displayed web pages much better on a high resolution monitor.

At work I have a 24" Monitor with a resolution of 1920x1200. I run Windows at 120 DPI so that the text is readable. FireFox at that resolution will render the text much too small, and increasing the text size will make certain web pages ugly. Internet Explorer on the other hand takes the system DPI into account and renders the text at an appropriate size, without breaking the look of webpages. However, there is one major consequence, at 120 DPI by default Internet Explorer will scale images, which introduces blur and fugliness to web pages. Fortunately in Internet Explorer 6 and 7, there was a registry key 'UseHR' that would turn off the image scaling when set to 0, yet left the text rendering intact. Unfortunately, the 'UseHR' registry key no longer works in Internet Explorer 8. For this reason alone, unless I soon discover a workaround, I will probably have to go back to IE7.

The 'UseHR' Registry Key has been well documented by Microsoft. I can't believe that Microsoft would cripple this functionality because the world is moving to high resolution displays. Check out this Sony laptop. At an astounding 220 pixels per inch, Windows would be unusable at the default 96 DPI, one would need a microscope to read the text.

I have posted in the Microsoft discussion group about this, unfortunately there has yet to be a response.

Wednesday, March 18, 2009

Authenticode and Vista

This week at work our Authenticode signing certificate expired. The renewal process involves the Certificate Authority issuing us brand new keys. We had done this before, so I figured that it would not be a big deal. However, over the past year we have upgraded our entire development environment to Windows Vista.

Before I discuss the Vista situation, let me elaborate a little on what exactly Authenticode signing is. Basically, it is digitally signing software so that when an end user downloads and does an install, the software will appear to come from a reliable source. The Authenticode certificate is purchased from a 3rd party Certifcate Authority that has been blessed by Microsoft. Verisign is one such authority.

The digital signing technology uses public/private key pairs. Basically the software company signs the code with a special private key, and in doing so will embed the public key into the software. Only the public key is needed to perform verification. When the user installs the software the verification takes place and if everything checks out, a dialog will show that windows trusts the software.

The Certificate Authority delivers the keys to the software company as two separate files, a .pvk (Private Key) file, and an .spc (Public Key) file. To actually sign the software Microsoft provides a tool aptly named signtool.exe. However, this tool works best with .pfx files (Which contain both the public and private keys). Microsoft provides a difficult to find tool called pvk2pfx.exe that will merge the .pvk and .spc files into the required .pfx file.

Anyway, back to the Vista issue. These Certificate Authorities don't allow private keys to be downloaded normally. They instead rely on certificate enrollment functionality that is built into Windows and Internet Explorer. The process can't be done in Firefox. And Vista has changed the way that the Certificate Enrollment works. In Windows XP, it was very simple, the user could just select a file location where the .pvk file would be generated. In Vista, they instead install it into a special Certificate Store for pending Certificates. The .pvk data therefore is buried in the windows registry instead of sitting on the file system. Furthermore, the key is placed in the Certificate Store in such a way that exporting the private key is disabled, which essentially traps the key in the Certificate Store on that particular computer.

After some research, I contacted technical support at the Certificate Authority, and they immediately understood our issue (It must come up all the time). The only recommendation that they could provide was to redo the whole over again process in Windows XP. Thankfully we still have XP environments to be able to do this. It seems like Microsoft implemented this new behavior as a security "feature" without considering the implications for developers. I wonder if this will behave the same way in Windows 7?

Wednesday, March 11, 2009

Overpriced Pasadena Condo



On my way to work I often pass by this particular condominium complex that should be the poster child for our housing bubble. The complex has 19 units, and about 6 months ago at least 5 of those units were for sale all at the same time. I am not sure if any of those sold. However, at least one of those units is still on the market and is the subject of this blog post.

Unit #2 has been on the market for quite a long time. It is a 1200 sf, 2 bedroom, 3 bath condo that is currently listed for 659,900$. Now if that didn't jolt you, the kicker is the 445$ monthly HOA fee. Keep in mind that there are no amenities other than perhaps the landscaping.

Assuming a 30 year, 5% interest rate mortgage and a 10% down payment, the mortgage would be 3200$ per month, but add in property tax and that crazy HOA fee and suddenly it is 4300$. According to the flyer, they would also be willing to lease this unit for 2500$ per month, which includes utilities. The monthly rent price is therefore roughly half the total monthly price of ownership, because insurance and utilities would have to be added to that 4300$ figure.

According to Zillow (which I know is not always the most reliable resource), the current value of the unit is 485,000$. This figure is in my opinion still overpriced, but is at least somewhat in the range of the rental price. To truly match the rent I figure a 340,000$ sale price, which is basically half of the current price of 659,000$.

However, even if the condo was priced at 200,000$, I would still be hesitant to make a purchase because of that HOA fee. Either the association is very poorly managed, or there is something very wrong with the building. I cannot figure out why on earth the fees are so high. For a condo in the area, the fees are typically around 200$ with no amenities.

Zillow also states that the last sale was in 2004 for 525,000$. It also looks like a fair amount of upgrades were put in place, because they are advertising travertine tile and stainless steel appliances (note in the flyer that they don't even know how to spell travertine). Given that purchase price and all of the money that was poured into this condo, I can see why they are holding on to such a delusional price. I wonder if they had unloaded it for much less a year ago that in end they might not have ended up hemorrhaging as much money away.