Saturday, October 24, 2009

Wolfram Alpha - Divide By Too Many Zeros?

I seem to have inadvertently discovered a way to make Wolfram Alpha unavailable to me, at least for a little while.

At first I input a typical divide by zero, 1/0, it returned quickly enough with the expected response.


Then through the miracle of copy-and-paste I input the following into the search box:

1/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0


In response, I eventually got this back:

"This Wolfram|Alpha Server is temporarily unavailable."


I guess as far as Wolfram Alpha goes, if you can't dazzle it with brilliance...

Monday, October 19, 2009

Drive Technology, Make Cars Smarter

I just saw this tragic video detailing the 911 call's final moments of a family whose 2009 Lexus ES350 experienced uncontrolled acceleration, leading to a fatal crash.

According to the original LA Times article, the driver, Mark Saylor, was a veteran California Highway Patrol officer, and a related article states that Saylor and his family "
had taken their own Lexus to a dealer for servicing and been given a loaner Lexus in its place."

I've driven loaner or rental cars for various reasons, either while waiting for my regular ride to be repaired, or for fun, as was the case with a Ford Mustang convertible my wife and I took on a beach trip to St. Augustine. With a new vehicle comes new features. In my case, there was a learning curve in getting to know how to put the Mustang's top down, certainly not for safety's sake, but convenience, and of course fun. I didn't rent the convertible for the privilege of driving a Mustang, despite its heritage (Bullitt fans, represent!).

Should the Saylor family have reasonably been expected to know they'd need to compensate for sudden, uncontrolled acceleration? In my opinion, no; if you're driving a car, you expect it to be fully under your control, especially where speed and drivability are concerned.

If the car has pushbutton ignition as this one does, it seems to raise the bar a bit on what it expects the driver to be able to control. Removing the physical act of turning a key to start or stop the vehicle places the driver into a new paradigm as far as driving is concerned.

As this article regarding Toyota's safety advisory details, the driver must "
firmly and steadily push the button for at least three seconds to turn off the engine".

When I think to myself, could I push and hold my car's start button for three seconds to shut down the engine? Sure, why not? Could I do the same in a panic situation, in the middle of rush-hour traffic? California, specifically Los Angeles rush-hour traffic, trying at once to avoid a collission while at the same time trying to calm my passengers who are probably flipping out as much or more than I am?? Probably not! Therein lies the problem.

I think Toyota would do well to pioneer at least audio and possibly video warnings and introductions to their cars in the rental or loaner role.

If a car is a rental or loaner, perhaps when the driver sits down and buckles in they'd be presented with a little audio-visual presentation on the basic safety features of their vehicle. Only when the user acknowledges and signs off on basic awareness of these features, perhaps by hitting a big OK button on the car nav system's touchscreen or HUD, would they be allowed to actually get on the road.

Of course, given the level of computerization today, you might expect your car to go above and beyond the now trivial "your door is ajar", and do something like, well, prevent the car from entering the runaway acceleration state in the first place.

Why would a car be accelerating uncontrollably for any good reason, particularly in rush hour? If you're a police officer this would be perfectly reasonable to expect, you along with your sirens and flashing lights would weave in and out of traffic at high speed in pursuit of some suspects who have perhaps just robbed a bank or carjacked some poor motorist at a busy intersection. If you're an average joe taking the family out for a cruise, however, there's no reason to expect this, particularly in a rental or loaner.

What should Toyota do to prevent more tragic deaths due to uncontrolled acceleration?
  • TO SAVE LIVES, the car's onboard computer should maintain situational awareness and if necessary disable the engine or otherwise allow the driver to maintain complete control of the vehicle, before an uncontrollable state is reached.

  • TO PROTECT ITSELF, legally, it should enable a rental or loaner "mode" for its vehicles, allowing a dealership or rental company the option of having the car force its driver to OK and acknowledge safety features before allowing the car to be driven.

While I think it is certainly in the scope of driver responsibility to make onself fully aware of a vehicle's basic safety features before driving it, I think it is wholly within the manufacturer's responsibility to make their vehicles smarter.


Friday, October 16, 2009

How To Block New digg.com Ads

Recently, digg has embedded new advertising within its list of news stories, making them easier to click and detracting from what might otherwise be an interesting glance at potentially interesting copy.

You can click Bury to blot the ad out, leaving an "X" and the parting remark, "We'll try to give you fewer ads like that one." Well, gee, how about NO ads instead??

To hide this advertising, you can use Firefox in conjunction with the AdBlock Plus add-on and a companion extension, the Element Hiding Helper.

Here's a screenshot of the digg frontpage with just AdBlock Plus enabled. Note that the third entry from the top is a sponsored ad for weight loss supplements. How annoying!



The Element Hiding Helper lets you seamlessly hide text elements appearing as part of the useful content of the page you're viewing. In this case, the new ad element digg is using is encapsulated by a div tag which resembles this:
     <div rel="digg-ad:xyz" style="z-index: 5;" class="news-summary v img-summary sponsored"> 

I chose to filter the ad based on the rel attribute of the tag, specifically the "digg-ad" portion which is consistent from one of the new digg ads to the next (the xyz is a number which differs with each ad element).

I brought up the AdBlock Plus Preferences, and clicked Add Filter. Then, I input the element syntax like so:

digg.com##div[rel*="digg-ad"]

The digg.com ensures that I'm focusing on filtering these particular elements from digg.com only, while the remaining syntax filters out elements where the rel attribute begins with digg-ad.

Now, the result, no more sponsored ad element:



You'll also notice that in among the preferences list is a new subheading, "My Element Hiding Rules", which are rules specific to hiding elements within the web page itself.




You can find a good explanation here on how to pinpoint and filter elements that you find obscure your browsing experience.

Wednesday, August 12, 2009

One Ring to Rule Them All...

I recently posted an entry on the Cracked.com forums for their photoshop contest, "Movie Plots That Could Have Been Solved In Minutes".

Did I win? Nope. Even make the featured list of entries??! Nope.
Bah!

Here is an unedited version which I'd originally cropped to meet their stingy 550-pixel width requirement.






If you appreciate my sense of humor, I salute you! I raise a virtual mug of mead in your honor!