Saturday, January 24, 2009

Great Photo

Interesting technology used to capture this photo.

how-i-made-a-1474-megapixel-photo-during-president-obamas-inaugural-address

Courtesy of Ze Frank

Monday, January 19, 2009

Really interesting technology ...

Back to the fun geek stuff. Imagine Transformers!


More Science experiments at 5min.com

Another generation or two lost ...

Being neither a jew or palestinian, I don't have a dog in this fight. It just seems to me that as long as these stores continue to surface, there is no way peace will ever be achieved. The children that survive know what happened and they will grow up to be the next leaders ... and the fighting will continue.

Bullets in the brain, shrapnel in the spine: the terrible injuries suffered by children of Gaza

Thursday, January 15, 2009

Playing with camera ...

Just got a new camera and I was playing with some software to push the video to YouTube then to my blog ... appears to be working pretty well.

Monday, January 12, 2009

Parsing an OpenXML document (Word 2007)

Back to the geeky ...

I was attempting to parse a Word 2007 document for mail merge purposes and found that libxml was the fastest way to do it with Ruby. The XML document uses namespaces heavily but it's not readily apparent how to search the document with libxml using the namespaces.

Here is a sample section and the code I found after an extensive Google search:

<w:doc>
<w:p>
<w:t>Text being sought</w:t>
</w:p>
</w:doc>
and the code used to find the paragraph node "w:p"

ns="w:http://schemas.openxmlformats.org/wordprocessingml/2006/main"
doc.find("//w:p",ns).each do |p|
#do something special with the paragraph node here
end

It took me a while to track this down so I thought I would share here in the hopes of helping someone else.


Sunday, January 11, 2009

When TV was funny ...

Johnny Carson and Dom DeLuise ...





Thursday, January 8, 2009

This is disturbing ...

The video of this is almost surreal!!!!

BART Cop Needs To Be Held Without Bail

Sunday, January 4, 2009

I couldn't resist ...

First, lets get the hangover cure approved (see recent post) then lets work on making this available in every city.

MyOpenBar Finds You Free Drinks

If only ...

Sure, this has obvious medical uses but come on, some of us would pay dearly for some relief on Jan 1 every year :)

New treatment for blood poisoning could prove instant hangover cure

Worth a watch ...



courtesy of ze frank

Friday, January 2, 2009

The Last Question

Asimov is one of my favorite authors. I have stumbled across this short-story a few times and wanted to keep it handy for future reference so I'm posting here. Enjoy!!!

The Last Question by Isaac Asimov © 1956