Science and Religion

Posted by gturnbul on July 19, 2010 in Entertaining Me is Easy

I do appreciate this quote:
“Bad science and bad religion simply swap roles, the former proclaiming Truth, the latter worshiping Doubt”
Jeffrey Satinover
It just seems that nearly half of the world cling to axioms of the past and almost all the rest snicker at the latter, celebrating nothingness. A slim group that falls in between [...]

James Earl Jones reading the Raven FTW

Posted by Gregg on May 22, 2010 in Entertaining Me is Easy

So the kids love bed time stories and I still pull out the Seuss, Hippos, Sendak, etc, but now the older 2 kiddos are craving a bit more notoriety in their slumber story. They have become fans of Aesop and the Grimms. I have also been mixing in some poems and a while back we [...]

‘Humpback’ is the Weekend at Bernie’s of the One Thousand and One Nights

Posted by Gregg on May 20, 2010 in Entertaining Me is Easy

Just read the Humpback, a short story in ‘The thousand and one nights: or, The Arabian night’s entertainments, Volume 1′ to my kiddos as a bed time story. The crazy stuff I read to my kids, I know… Weekend at Bernie’s of the Arabian world.  Also trying out embedding Google books in a post.

Post Mother’s day Twitter banter

Posted by Gregg on May 10, 2010 in Random Thought

Text Replacement… Without Flash

Posted by Gregg on May 7, 2010 in Design

I always dreaded creating image headers for websites, but always saw the headers as the perfect place to add style and tie the content to the design. Then along came SiFR(www.mikeindustries.com/blog/sifr). I could now embed font in flash and use java script to call upon all the font, and css to provide additional [...]

Find pesky duplicates in mysql

Posted by gturnbul on December 14, 2009 in boring code

Let’s say you had an app that had a ton of users and were suspicious that there were pesky duplicates. Here is a quick mysql select to help put your mind at ease.

select username,count(*) as n
from users
group by username
having n > 1;

or search by first and last name:

select concat(firstname,’ ‘,lastname) as name, [...]

Getting observe_field to update a text_field in Rails

Posted by Gregg on November 13, 2009 in Adventures on the Rails

I am writing this post as I scoured page after page with out luck and came up with this solution.  Others may already be all over this method or have more eloquent solutions but there people didn’t have their content search engine optimized.  So for those in need here ya go.
I have used observe_field on [...]

prosthetic hand with sensation of touch

Posted by Gregg on October 19, 2009 in Entertaining Me is Easy

pretty amazing stuff: http://news.bbc.co.uk/2/hi/science/nature/8313037.stm

Struggling students take note

Posted by gturnbul on October 7, 2009 in Inspiration

Al started school late due to childhood illness. His mind often wandered and his teacher Alexander Crawford often called him “addled”, which meant “confused or stupid.”. He was kicked out of school three months after starting. He attended three different schools between the ages of seven to nine, and none of his teachers had [...]

fantastic – Bobby McFerrin Hacking the brain

Posted by gturnbul on August 19, 2009 in Entertaining Me is Easy