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.
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):
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.
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.
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.
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.
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.
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!



