The Warming Hut

The Warming Hut

San Francisco, CA The view of the Golden Gate Bridge from The Warming Hut in Crissy...
Dan

Dan

Markham, ON, Canada A quick photo shoot with my brother using my E-PL3 + 45mm f/1.8 + 25mm...
Bubble Gum Alley

Bubble Gum Alley

Bubble Gum Alley, San Luis Obispo, California The breeze that blows through is uncomfortably minty fresh....
SantaCon

SantaCon

We had an awesome show at Maggie’s for SantaCon 2011. None of us had any idea what SantaCon was until we actually started unloading our gear. It was a glorious mess of alcohol, music and christmas cheer! Maggie McGarry’s, North Beach, San Francisco,...
Unreliable touchend events on iOS5

Unreliable touchend events on iOS5

Click events have a higher latency in web applications because the OS is waiting to see if you are really going to be double tapping.  Touchend events, however, are nearly instantaneous and are perfect for triggering animations and events.  Google, jQuery Mobile and many others rely on these touchend events to make their apps as responsive as native apps. Unfortunately there exists a scenario where the touchend route is very flakey on iOS5.  The touchend event is unreliable when tapping a scrolling <div>.  The <div> must have the overflow style property set to scroll in this case.  I created a simple test page to demonstrate this issue here:   Click here to see the bug in action.   (Make sure to be on an iPad or iPhone with iOS5)   Notice that the incorrect target is logged if you scroll then tap.  This doesn’t happen if you are scrolling the document instead of an overflow:scroll <div>.  It also doesn’t happen if you rely on the click event since that event is never sent.  This is not an issue on android either because android prevents the event from being triggered (just like click on iOS).  It is only an issue when scrolling the <div> and listening for touchend events. You can bypass this whole issue by relying on click events instead of touchend.  However, this kills the responsiveness of your app.  I have worked around this by using timers and scroll event listeners to prevent the touchend event from propagating, but it is very kludgy and not a reliable solution.  I am currently compromising by triggering the action with the click event...
New Electric

New Electric

Bought my first real electric!  A used 2007 Gretsch Black Falcon.  It’s a perfect fit since I’m so used to playing acoustic guitars.  It’s responds in a slightly similar way but still has a great electric feel.  Now I just have to learn some Chet Atkins …  ...
Nashville At Night

Nashville At Night

Nashville, TN Last month I flew out to Nashville to play a wedding just a autumn was beginning to...
Occupy Stompbox

Occupy Stompbox

Eating dinner with the band before starting the show for a corporate christmas party.  We were playing at One Market which is right outside of the Occupy SF camp.  They could hear us playing from across the street.  Once we started picking up the tempo a big group of them came over and started dancing on the sidewalk and essentially threw a street party right on the other side of the big glass window we setup in front of (but had our backs to).  We ended up turning around to perform for them as well.  We had the ‘tuxedos’ dancing on one side of us, and the ‘proletariat’ on the other.  Both sides were very gracious and seemed to really enjoy themselves and the situation.  The juxtaposition was perfect.             One Market Restaurant, San Francisco,...
Leader Of Men

Leader Of Men

Joseph and I playing Nickelback’s first single, Leader Of Men.  This may be the only Nickelback song I like;  It was way before the days of This Is How You Remind...
Palm

Palm

We should be hearing any minute now about the state of Palm.  I took this photo the day I got my first Pre!....
Page 3 of 912345...Last »