logo
  • Jobs
  • About Me
  • Contact
  • Home

Archive for December, 2008

Curse thee, IE6

I work in an environment, where, unfortunately we are somewhat constrained as to which browsers we support. Our target market has a very slow update cycle and our products are not necessarily the kind where the loss of use would force an IT upgrade. Therefore, our ASPNET applications must continue to support IE6.

A few clients have been consistently reporting an issue where in IE6 only images where randomly disappearing after they were clicked on. However, we had never been able to reproduce the issue. Until earlier this week…

The images in question were being toggled dynamically with a bit of javascript that looked something like this:

function toggleImages(id) {
    var img = document.getElementById(id);
    if (img.src == "active.gif") {
        img.src = "neutral.gif");
    } else {
        img.src = "active.gif";
    }
}

The html markup for the image display looked like this (with some irrelevant code removed):

<a href="javascript:void(0);">
    <img id="imageIdentifier" src="neutral.gif" onClick="toggleImages('imageIdentifier');"/>
</a>

The first clue that this was something that was caused by IE6 was that 1) no other browser was affected by the way this code was written, 2) it only manifested itself when accessing the web server through a proxy (local hits to a test website failed to reproduce this problem), and 3) only when the ‘Use HTTP1.1 for proxy traffic’ was selected from the advanced options did we see this.

As we begin to investigate this further, we find a few reports of this issue via Google. The issue has something to do with the events not being fired properly when using javascript in the href attribute. Ultimately, the fix was very easy. We simply needed to add a return false; after the onClick handler.

No Comments

Authentication WTF

So there I was earlier tonight… Trying to review my credit reports like I do about this time each year. A visit to annualcreditreport.com and I was on my way… until I got to Equifax’s site.

I’d managed to forget my login information to Equifax’s site, so I used the “forgot username/password” link and was presented with a form to enter my last name, social security number, and date of birth so that they could present my challenge question to reset my password.

Imagine my surprise when I got this (click the picture for a full-size version):

wtf-small.png

So, what is my what? I’m not really sure what to type in here. What is my red star?

Equifax has also disallowed me from setting up a new account, since I already have an account tied to my social security number. So, here I have an interesting paradox. I cant login to the account because I dont know the secret word, but I cant create a new account, because I already have an account that I cant log in to.

Epic FAIL.

1 Comment

Wake up UPS!

Earlier today, I needed to ship my camera to Canon for some repair work. Everything was moving along fine and the clerk at the UPS store had helped me box it up. He printed the label for it and informed me how much it was going to be. The price seemed reasonable and I agreed. When I went to sign the shipment receipt, I noticed that I had a $0.49 charge on there labeled a fuel surcharge.

Seriously.

Come on, UPS! I just filled my truck with gas for $1.40 per gallon and you still feel compelled to charge a FUEL surcharge when the price of gas has been cut by more than 50%. If you want to increase your rate, that’s fine, but do it in a manner that isn’t so blatantly inaccurate.

2 Comments

Finance Applications for OSX

Since having purchased my MacBook Pro last year, I have managed to successfully wean myself off of almost all Windows applications for my home life. The only Windows app I still use (and keep a Parallels VM for) is Microsoft Money. I am absolutely stunned that no one has figured out how to clone Microsoft Money on OSX.

I’ve probably tried about a dozen or so finance apps for OSX, but find each one lacking in some way. The primary deal breaker is that the majority of them do not offer automatic transaction downloading from my banking institution (Bank of America in *Idaho*).

If anyone has any suggestions, I’m up for them. The ones that I’ve already looked at: iBank, MoneyDance, MoneyWell, Money by Jumsoft, Cha-ching, iCash, and several other freebies.

6 Comments

Regular Expressions in Ruby with Rubular

For those that are regex-challenged (like myself), determining exactly what a regex will match can be very much hit or miss. Recently, I stumbled across Rubular, which helps make this a little easier. Rubular is a Ruby regular expression editor, with a very sexy, ajaxy interface.

Type in your test string using the quick reference at the bottom of the page. Then enter your regular expression, and the observer takes over to show you what your regex matches on.

Very cool tool and one that I’m sure I’ll be back to visit.

No Comments

Creating ISO images from a folder in OSX

Yet one other thing I love about OSX is that .iso is a first-class citizen. I’m able to mount/burn iso files without installing any other software (yes, I’m looking at you Windows).

Recently, I had a group of files and folders that I have been transporting around. I had been looking for a way to group these into an ISO so 1) they’d be easier to transport and 2) I could burn them to a CD easier. What I did not know was that with the hdiutil terminal app, I am also able to create an ISO of a folder in OSX without any additional tools.

The syntax is pretty simple:

hdiutil makehybrid -o ~/Desktop/image.iso ~/path/to/folder/to/be/converted -iso -joliet

Mission accomplished.

No Comments

Labs for Google Apps For Your Domain

For the past several months, I have been rather disappointed because all the new exciting features labs have been rolling out to gmail accounts, but my Google Apps account was not getting any of these new items. I was not even seeing the Labs tab in my settings.

Earlier this evening, I was able to figure out how to do this:

  • Log in to your Google Apps account as a domain admin
  • Click Domain Settings on the Google Apps domain screen
  • Click the checkbox next to “Turn on new features”

After selecting this checkbox, I was able to get access to all the Labs stuff, including the new task manager. Very cool!

2 Comments
flag
Favorite Charity
wounded warrior project
Search
Social
  • mattberther on twitter
  • mattberther on linkedin
Syndication
Archives
  • January 2010
  • September 2009
  • July 2009
  • June 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • September 2008
  • August 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
  • June 2005
  • May 2005
  • April 2005
  • March 2005
  • February 2005
  • January 2005
  • December 2004
  • November 2004
  • October 2004
  • September 2004
  • August 2004
  • July 2004
  • June 2004
  • May 2004
  • April 2004
  • March 2004
  • February 2004
  • January 2004
  • December 2003
  • November 2003
  • October 2003
  • September 2003
  • August 2003
  • July 2003
  • June 2003
  • May 2003
  • April 2003
  • March 2003
mattberther.com © 2003 - 2010