Archive for the 'Nerd Rants' Category

I Hate You, Microsoft

Can I be the only one who hates Microsoft Script Debugger as though it killed my own father? Despite Microsoft’s lead in the browser market (perhaps more likely due to IE’s bundling with Windows than IE’s actual superiority as a browser, but nevertheless) and their long-standing and well-respected support of the development community through things like Visual Basic, IIS/ASP, and .NET (both for standalone as well as web development), they are so far behind the mark in website debugging that it hurts.

I have become so accustomed to using the Firefox add-in “Firebug” to peek into JavaScript code that I am practically helpless without it. I remember a day when Microsoft Script Debugger used to open to the actual line of code with an error in it, but I guess those days are over (or it only works for debugging local ASP). Now clicking “Yes” on the script error dialog when asked “Do you wish to debug?” opens up Microsoft Script Debugger to some completely different script that isn’t even on my website. Very helpful.

Without being able to debug, I have to pepper all of my code across several libraries with alert() statements and just hope that I can figure out the state of affairs inside this twisted, illogical browser.

Thank you, Microsoft. I wouldn’t be nearly this unhappy if the browser you shoved down everyone’s throat was actually halfway decent.

Ambien CR (the “CR” Stands for Hypocrite)

I just love these commercials for prescription drugs that we’re forced to sit through nowadays. You can’t watch the morning news (which is the extent of my television experience these days) without being recommended salves, ointments, pills, injections, and inhalers for virtually any malaise on the minds of the modern individual. The flaccid penises, stuffy noses, socially anxious, and now the insomniacs of the world have found solace in drugs through extremely polished advertising campaigns.

I won’t get into the fact that your doctor probably knows better what drug suits your particular medical history and body chemistry than a commercial animated by the same people who do the Super Bowl in-game graphics, but one commercial in particular really got me thinking. It was a commercial for Ambien CR, the new prescription “sleep aid,” which is essentially a sleeping pill. Their disclaimer states:

Until you know how AMBIEN CR will affect you, you shouldn’t drive or operate machinery. Be sure you’re able to devote 7 to 8 hours to sleep before being active again. Sleepwalking, and eating or driving while not fully awake, with amnesia for the event, have been reported.

Let me put this in simpler terms. Number one, you shouldn’t drive while you’re taking Ambien CR. Number two, you may go driving while you’re taking Ambien CR and you won’t remember it. How reassuring! At least I won’t know that I took the car out for a leisurely 4 AM spin until I wake up the following morning, stumble into the kitchen, and see that my car is parked across the front lawn covered in all of my neighbors’ patio furniture.

That’s like a medical disclaimer that says, “If you value your life and the lives of those around you, do not consume milk while taking this product. By the way, this product has been reported to cause insatiable thirst for milk.”

Hooray for big pharma!

OS X Uses BSOD As PC Server Icon

I, personally, laughed aloud when I opened the “info” window for a PC server I was connected to yesterday.

BSOD!

The oh-so-familiar blue and white pattern that appears on that clunky, beige CRT monitor seals the deal on one of the cockiest inside jokes I’ve seen from the Apple developers yet. Good game!

MySpace Goes Mobile, Remains Slow and Buggy

If you thought the excruciating load times, frequent page errors, galleries of cat photos, and abysmal site design of MySpace were only meant to be enjoyed in the comfort of your home, think again. T-Mobile and Danger, the maker of the popular Sidekick phone cum hiptop-communication-center, have partnered to bring a mobile version of MySpace to the device. According to Chris Ziegler (via Engadget), it’s “…more than a simple mobile web portal, offering real-time status, profile editing, photo management, and communication with other members…” which likely means that it’s a cleverly disguised pile of dog crap much like its desktop-sized big brother.

Did anyone else find it offensive that a website run by nearly 100 people (a figure reported some time before the site’s acquisition by News Corp.) could be so full of poor code, crippling bugs, and perform only slightly worse than sites run by one person? The acquisition by News Corp has done little to improve the state of affairs in MySpace-land and has only increased their advertising deals 500% and riddled the site with enough promotional material to strangle an ox.

I’m glad I passed on the Sidekick and went iPhone!

Bees Hurt, Apple Warns

There is such a lack of charisma and personality in your average knowledge base article. Granted, some information is very serious and calls for a staid and solemn description, but even in the absence of humor, there is always room for the comforting human touch of a skilled writer. Corporations have, for at least a decade, moved steadily away from the colloquial and into the crystal clear, yet icy and inhospitable waters of antiseptic technical writing.

Except, apparently, for Apple. Reproduced in full, for convenience:

As if it were a swarm of bees, you should stay away from the SyncServices folder in Mac OS X 10.4. Removing or modifying anything in it—or in subfolders within it—may cause unexpected issues. This folder is located in your Application Support folder, in your Library folder, in your Home folder.

Deleting or modifying things in the SyncServices folder may cause unexpected results such as:

  • Duplicate contacts in Address Book or appointments in iCal.
  • Data loss in Address Book or iCal.

Important: Any lost or duplicate data could propagate to other devices and computers via iSync and .Mac sync. This means data could be lost on other computers.

What would likely be considered by most businesses to be far too colloquial an expression for a technical article lends a familiarity to this information that, for me, makes it seem all the more reliable. I, like many consumers of knowledge base articles, appreciate the notion that there are human beings working behind the curtain and that they aren’t being hypnotized by corporate mind-control rays.

I appreciate Apple’s willingness to talk to its customers the way they would like to be spoken to and to achieve an effective balance between information and personality. Such practices are increasingly rare.

Blocking Ads Is Not Unethical

I just love this debate going on about AdBlock Plus, the Firefox add-in that allows a web surfer to block virtually all of the advertisements on the web. Failing to discover which users might have AdBlock Plus installed in their Firefox browsers, some webmasters (decades later, I still love this word) are now blocking Firefox entirely, redirecting users to this cheesy page instead.

Fundamentally, this scuffle reminds me of The Butter Battle Book by Dr. Seuss. In that story, two groups of androgynous furry creatures are at odds because one group butters their bread on the top and the other butters theirs on the bottom. The cause for their animosity doesn’t relate to the AdBlock debate, but the ensuing battle can be seen as a metaphor for every conflict waged in technology since the earliest days of human civilization.

Each of the two groups of furry people create progressively more outrageous devices to attack the other with what seem like small rubber balls. A simple slingshot gives way to a multiple-slingshot, then a device to catch the opponent’s rubber balls and launch them back, and so on, until they finally create a device that is cleverly metaphorical for the atomic bomb and find themselves at a total impasse.

Similarly, websites can only block Firefox if they know you’re using it, so adjusting the UserAgent string and the certain responses or structures returned or available through JavaScript trivially masks that fact. Firefox detection and AdBlock detection schemes will simply get more complex and consequently the masking countermeasures will, too. It’s a futile battle.

The moral of the story is this. As a webmaster, you simply cannot completely control the way your content is manipulated and displayed within your visitors’ browsers. You can follow best practices and accommodate the majority’s needs, but fundamentally the content is malleable. Once the data leaves your server through that pipeline we call the Internet, it is at the whim of the end-user.

So what are the implications for online advertising? Chris Soghoian over at C-NET tries desperately to wrap his infantile brain around the discussion in an article entitled Who blocks the (ad) blockers? (on C-NET Blogs). His conclusion is that blocking advertising on a website is essentially theft because you are using their resources and consuming their offerings without “paying” by being exposed to their ads. No matter how valid that point may be from a sterile, legal perspective (e.g. by viewing this site you agree to be bound by the terms of the viewing contract which stipulates that you must be continuously bombarded by our advertising, yadda yadda), it’s not a very friendly way to do business.

When ReplayTV was “sued … out of existence” as Soghoian said, it represented the first step toward the obsolescence of the “block ad.” TiVo and the cable companies’ homebrew DVR boxes allow viewers to effortlessly skip over advertising, and they do.

Advertising is a symbiotic relationship. Advertisers expose their consumer base to information and hype about their products or services, and those consumers who find the products or services interesting or valuable may purchase them. Exposing people to products they are interested in is a public service. Consumers want to buy things and companies want to sell things, so it’s just a matter of connecting the two. Effective advertising is that which efficiently exposes potential consumers to the products or services being sold without becoming such a burden that they want to block them.

Again, ReplayTV was the harbinger of the fall of block advertising. Soon, mark my words, all advertising on TV will be replaced by product placement. Technology exists to make block advertising obsolete because nobody actually wants to watch it. It is the job of the advertiser to find a delivery method that is effective, and part of the effectiveness formula is whether users will find a way to avoid, block, or skip over it because they are too annoyed or too disinterested.

Ignoring the fact that all Firefox traffic on the face of our planet amounts to about 15% on a really, really good day, and that the number of Firefox users who are actively using AdBlock Plus or a variation on it is much smaller than that, I truly believe that advertisers should see this as a wake-up call.

ColdFusion Still Sucks

I like Joe’s Goals and I’m glad to see that Ian Smith is making something out of it. On top of that, I never even noticed that it was written in ColdFusion and, at the end of the day, I don’t care. Obviously someone’s choice of programming languages is like their choice of pizza toppings and people agree and disagree about those things all the time.

Of course none of that changes the fact that ColdFusion is rubbish. AJAX widgets or not, it’s based on Java, which means that it’s full of memory leaks. Why? Abysmal garbage collection (wait, it has garbage collection?) ColdFusion has some things about it that are very likable. Among them:

  • Really sweet SQL query inline syntax
  • Tag-based statements mingle effortlessly with HTML
  • Easier to learn than Chinese checkers

Unfortunately, it’s horrendously inefficient in manipulating text, has the least consistent syntax of any language I’ve ever used (example: structkeyexists takes the arguments structure followed by key, whereas find takes the arguments substring followed by string. Why couldn’t they have put the thing you’re looking for either first or second in both cases? It’s hard to remember syntax when it’s full of exceptions), and is rife with logical oddities that you don’t find in any other language (example: the literal string “no” evaluates to false, though all other literal strings evaluate to true. The compare and comparenocase functions return some weird comparative result, so if the two strings are the same, the result is negative, which fills your code with tests like NOT comparenocase(). None of that would be necessary if the EQ operator wasn’t twice as slow as comparenocase at comparing strings. I’m glad they thought that one out fully.)

I use ColdFusion daily and I derive much pleasure from solving programming problems and implementing efficient solutions in any language, but sometimes it gets under my skin!

MySpace Rife with Sex Offenders

MySpace: a place for “friends.” Is that what they call themselves now? Thanks to Colin Poitras at the Hartford Courant:

Christopher Montefusco 30, of West Haven, was taken into custody Thursday by state Department of Correction officials. He was one of what is now believed to be more than 200 sex offenders in Connecticut using MySpace. He had registered two different profiles of himself on the site, Connecticut Attorney General Richard Blumenthal said.

Evidently the terms of Christopher’s parole had forbidden him from using “social networking” sites. Whoops. Finally, a reliable news source confirms what I always suspected: MySpace is full of stalkers and idiots. Please, someone, reassure me that MySpace is not a statistically accurate cross-section of the American population.

DRM Is Less Smart Than Eating Lightbulbs

After reading Brian Guthrie’s article about Apple’s new iTunes non-DRM offering and the half-baked editorial from The Economist decrying this move as naive, I had to write something. First, I agree with what Brian said:

… I would go one step further and claim that, for those who are [avid downloaders], digital music has always been chiefly about convenience. I predict that the existence of a legal DRM-free method for obtaining the same, weighed against the threat of arbitrary and capricious lawsuits, will be enough to tip the scales.

I have been an enthusiastic patron of the iTunes Music Store since its inception—even despite the DRM issues—and I wholeheartedly side with Brian in his opinion that non-DRM offerings will simply sweeten the deal for those of us with absolutely no patience for buying stuff. My preference is to click some sort of a “button” and have my chosen merchandise handed to me by someone in a snappy uniform (snappy uniform optional) or, in the case of non-tangibles, download it instantly.

Furthermore, anyone who thinks that Digital Rights Management is effective or (even more frighteningly) anything less than a perversion of our legal system should read more Lawrence Lessig. For the sake of piling yet another anti-DMCA rant onto the mounting heap already gathered throughout the Internet, I will now recount a metaphor I made up while explaining DRM and the DMCA to my parents.

The biggest problem with DRM is that it stifles fair use; even though copyright law, as interpreted by Congress, should give anyone the right to manipulate copyrighted material to create what we call “derivative work,” DRM attempts to prevent that. Andy Warhol famously duplicated the ubiquitous Campbell’s Soup can as a statement about mass production and American consumerism. According to copyright law, it was (and is) completely legal for Andy Warhol to make huge silkscreen prints of the Campbell’s Soup can design because they were different enough, altered enough, to be considered “derivative.”

Now, let’s say there is some fantastical technology that could prevent people from making reproductions, photographs, copies, or otherwise duplicating the Campbell’s Soup can label. Some sort of a forcefield, perhaps. It is still within your rights to duplicate the label under the Constitutional rules of fair use (if you are duplicating it in a derivative work as described in the Constitution and in copyright law), but under the DMCA it becomes illegal to circumvent that fantastical copy protection technology.

The DMCA doesn’t protect copyrighted works. At least, not directly. The DMCA protects the technology that protects copyrighted works (chiefly Digital Rights Management), even in cases where the scope of protection created by the technology exceeds that of the copyright laws themselves. The DMCA is a clever and nefarious way to extend the reach of copyright law without actually changing a word of it.

The Economist is all wrong; DRM is worthless, music downloaders are sure to be largely made up of lazy and otherwise law-abiding people, and the new iTunes non-DRM offerings are already making my mouth water. I think being able to freely back up, restore, and play the music I buy in the way I prefer is worth a paltry $0.30.