Showing posts from July, 2014

Fixing jQuery Animate Flickering

I just spent over a hour wrestling with this bug, and I'm hoping this post will help spare someone else the same pain. The problem that I ran into was an annoying flicker when using the jQuery .animate()  function to change the opacity of a DOM node.  I did a bunch of Googling, but none of the solutions worked for me. I tried: Calling e.preventDefault() in the event handler. Using return false; in the event handler (this was being done already). Calling .stop(true, true) on the node being animated. Calling .off() on the animated node to remove all event handlers What ended up working for me was removing a CSS transition from the element being animated .   The code in question (simplified): listing.animate({opacity: 0}, function() { // some code }); The listing element had the following CSS rules applied (simplified by removing vendor prefixes): .listing-card { background: #fff; position: relative; border: 1px solid #ececec;

The Road to 100 Consecutive Push-ups

In addition to my goal of doing one million push-ups by the age of 50, I always wanted to be able to do 100 consecutive push-ups.  I started training heavily towards this goal on February 1st of this year, and hit that milestone on May 18th.  It took a bit of experimentation to find out what worked to increase my push-up max, and there’s a lot of misinformation around this particular goal on the web, so I’m hoping that this post can serve as a useful resource for people tackling this challenge. A Quick Word of Warning If you search for recommendations on how to do 100 consecutive push-ups, you will without a doubt stumble upon This site, in a word, is unrealistic. On two separate occasions I’ve attempted to follow their program, and haven’t come anywhere near 100 push-ups in the final attempt. The site doesn’t even make sense…anyone should be able to go from ~10 push-ups to 100 in 6 weeks? That’s a little aggressive. Also they jump people who can do 50+