Caffeinated Coder

A Grande, Triple Shot, Non-Fat Core Dump by Russell Ball

Browsing Posts published in April, 2010

Today’s featured website: European Visa Online I visited this site for the first time today and was greeted with this page. Seriously? In case you’re curious, I’m running firefox 3.6.3. Web developers and designers have scorned and mocked IE 6 for years now due to hoards of bugs and non-compliant behavior that cause endless development [...]

A couple of months ago, I had to scramble to find a new hosting company for my wife’s ecommerce site that I had built on Rails. My former hosting company performed a rather disastrous major upgrade and “move to the cloud” with no workable back-out plan and little expertise in Rails. The end result was [...]

Whenever I review PowerShell scripts, I usually consider loops (especially nested ones) to be a code smell. It usually indicates to me that script is unnecessarily procedural and could benefit from being rewritten in a more functional manner. Take this simple code snippet as an example. It searches sql files for a particular string (the [...]

What happens when you mix one of the most evil things in music with the evil that is cross-site scripting? Let’s just say that the potential for shenanigans is endless. Observe the result of entering the following embed tag into an editable column for one of our internal web apps. 1: <embed src=”http://www.youtube.com/v/XZ5TajZYW6Y&hl=en_US&fs=1&rel=0&autoplay=1″ type=”application/x-shockwave-flash” width=”640″ [...]

Imagine my surprise when I went to answer my phone this morning and it was gone. The phone cord led up to my bookshelf, which was locked. As you probably already guessed, the prankster stole my key. It’s a good thing I don’t get many calls (other than this morning from the prankster).