Gary Haran.com


Isn’t It Time For An Open Source Printer?

Posted in garyharan.com by gary.haran on the February 14th, 2007

We already have a project aimed at providing us with Open Source Video Card. We already have open source software. If I had experience building printers I’d be working on an open source printer. Seeing the way that HP cheats it’s clients I’m surprised no one started such a project.

Seriously I’m sick and tired of printers becomming cheaper and cheaper yet paying more and more for cartridges. Couldn’t we fix this with an open source printer?

Internet Explorer Bug - Scriptaculous Drag And Drop Goes Into Text Select Mode

Posted in Programming by gary.haran on the February 8th, 2007

In some cases when you make an object draggable using Scriptaculous/Prototype as you drag an element the drag might register an ondrag or onselectstart event in Internet Explorer.

To fix this problem when you create your draggable add this to your :

function wedge(event){ return false } new Draggable(element, { onStart: function(){ if (document.all){ Event.observe(document.body, "drag", wedge, false); Event.observe(document.body, "selectstart", wedge, false); } }, revert: function(){ if (document.all){ Event.stopObserving(document.body, "drag", wedge, false); Event.stopObserving(document.body, "selectstart", wedge, false); } } })

I hope this will help others experiencing problems with Internet Explorer’s borked event model.

Here Is What Reply You Get When You Protest To CNN About Paula Zhan’s Treatment Of Atheists

Posted in Religion by gary.haran on the February 8th, 2007

Yesterday when I saw Digg post regarding a CNN Anti Atheist Hit Piece I decided to write to CNN and protest.

To my surprise this is the response I got.

Dear I-Reporter,

On behalf of CNN, please accept our sincere thanks for your I-Report submission during our memorial coverage of the tragic death of Crocodile Hunter Steve Irwin. Thanks to the many submissions from our viewers, our coverage carried the personal touch that came from his vast and personal outreach to his many fans. Our programming effort was a huge success, and you are part of the reason for that.

Again, we sincerely thank you and hope you will continue to send relevant submissions to us at http://www.cnn.com/exchange/ireports/topics/

Best wishes,

CNN Public Information

The protest I sent to CNN was the first time I ever contacted them. I did not follow the memorial coverage of Steve Irwin.

Am I the only one who received this response in error?