Here’s one from the “hey-how-did-I-do-that?”department. I’m not sure what version of iOS this feature was introduced, but I accidentally discovered that on standard apps you can swipe left or right on a list item to reveal a “delete” button. This is a far more satisfying interaction than the old way, which bombarded the page with […]
Category: Nerd
Long jQuery fades eats CPU
While doing a little refreshing around these parts I noticed that the “fading bubbles” that I have were chewing up a ridiculous amount of CPU when the page loaded. I had 15 or so bubbles rigged to fade in verrrrrry slowly – over 20 seconds – after window.onload fired. I thought I must have had […]
Tumblr proves emacs superior
Well, the case is closed: Emacs is better than vi. Today Tumblr decided to release their database username and password along with other oauth-y credentials to the world. How did they manage such an impressive feat? Examining the code that was exposed shows: i?php require_once(‘chorus/Utils.php’); i?php? Yes, that’s supposed to be <?php. Here’s how the […]
Choose your own cache.manifest
I love the HTML5 cache manifest functionality more than the internet itself. It lets me carry my crazy proof-of-concepts around in my pocket – offline – to test out on the train to-and-fro the way-to-work. The way it works is you add a link to a “manifest” file in the HTML tag. The browser sees […]
IE6 Final Countdown
Microsoft hates IE6 as much as the rest of us. So they’ve made yet another “let’s finally get rid of IE6” website. All our hopes and prayers lie with them. As a bonus, they also supply some code to display a banner at the top of websites when a user has IE6: <!–[if lt IE […]
Accelerometer in Javascript
The super-cool Google Jules Verne demo that went up today reminded me that I made an accelerometer tester for the iphone ages ago. It’s an offline app, so don’t be afraid to “add it to home screen” – and if you don’t want to get dizzy, then lock the phone to portrait mode! GO HERE […]
Syntactic artificial sweetener
There you go – I fixed Java for you. Just look at that pretty python-esque syntax. But look closer… closer… Wow! It’s just a healthy dose of my patented syntactic artificial sweetener!
oadingL: The Magnificent Marquee Throbber
Allow me to introduce oadingL: The Magnificent Marquee Throbber! It’s a state of the art, web2.0.1, content loading indicator (or “throbber”, as they are known in the biz): WordPress is munging my nested marquees on the homepage – for some reason that I’m too tired to figure out at the moment. Works fine when you […]
On the importance of marketing
A bit of mis-management on my part resulted in this interesting “experiment”: take the exact same article, submit it to two different (but demographically similar) sources, with different headlines. Now, I’m not going to win any awards for understanding the importance of some good link bait, but I’ll also never look at a “title” form […]