Tagged: Wrong

Resizing and regenerating WordPress upload thumbnails

WordPressFor quite some time, I’ve been wishing the thumbnail images WordPress creates when you upload an image were slightly bigger. The function that generates the thumbnails accepts a maximum dimension as an input parameter, but then the value (a paltry 128 pixels) is hardcoded in the script that calls the function, and there’s no way in the standard WordPress configuration to change the value, other than manually editing the admin script where the call is made.

This is easy enough to do, if you know how to find the block of code in question, but it’s wrong wrong wrong in terms of ongoing WordPress updates: when a new version is released and you update your files, the changes you made will be lost. Read more »

A useful tip if you love both YouTube and markup validation

Not valid!YouTube is worlds apart from the likes of MySpace (*shudder*) when it comes to good code, but like most massively influential sites, they don’t really seem to care that much if their code validates, and even less if the code they provide webmasters for embedding content in their own sites does.

Frankly, I usually don’t care that much about validation either. I worked in this field for too many years when no validators even existed, and I’ve always taken the pragmatic approach: make it look and work the same, more or less, in all reasonably recent versions of Internet Explorer and Netscape (with Firefox and Safari having replaced Netscape over the past few years), and be done with it. Read more »

-.—.—-..

Wow. For all my many years of waxing and waning Rush fandom, including having played several of their songs on the bass myself in a band a few years back, I never knew this about one of their oddest songs, the instrumental track “YYZ.”

Yes, of course I know YYZ is the code for the Toronto airport. But what I never realized, even as I was playing that rhythm, is that the opening of the song spells “YYZ” in Morse Code!

(I must admit I have some misgivings about saying I never realized it. I vaguely recall that as my bandmates and I were working the song out — from memory, not a recording — I was convinced that the last part of long beats was 5 and not 4, but the other guys might have used the Morse Code argument to prove me wrong. In fact, even tonight as I read about this and played the song in my head, I was still thinking it was 5, and, in my usual cocksure way, thinking “these websites have it wrong!” or “the band messed up the ‘Z’!” But then I actually listened to the song and realized it’s 4. Then I assumed the band I was in must have played it wrong, since I was so sure it was 5. So I listened to our recording of it and sure enough it was 4 there too! I guess the only thing that proves is that once again, it’s a bad idea for me to stay up too late on a Saturday night surfing the web.)

Here’s some more on the matter…

While I’m on the subject of Rush, I quickly googled (yes, it’s officially lowercase now, much to Google’s chagrin) and was surprised to discover that, apparently, my high school friends and I are the only ones in the entire wired world who ever thought the band’s self-titled debut album cover looks more like it says RLISH than RUSH.