15 Apr

The Dangers of Building on Someone Else’s Platform – trevoro.ca

A lot of startup business models involve building products that fill gaps in existing platforms. There is absolutely nothing wrong with that, and there have been a few success stories. But if you don’t own the platform, or if you aren’t wildly successful at filling the gap you’re taking a really big risk.

via The Dangers of Building on Someone Else’s Platform | trevoro.ca | blog. There is a definite and real danger to merely filling the gaps in other platforms, generally whatever you can do the company building the platform can do or buy the ability to do.

08 Apr

jQuery plugin: ‘autoResize’ – James Padolsey

Inspired by Jason Frame’s method, I’ve created an animating ‘autoResize’ jQuery plugin. Although it was inspired by his plugin it has a few slight differences, most notably the way in which the off-screen “testing” takes place. In his plugin (apparently inspired by Facebook’s implementation) a DIV is created off-screen and is filled with the textarea’s value whenever it changes. The height of this DIV is retrieved and then applied to the textarea. My plugin makes use of the scrollTop DOM property to gain the true height of the text and then applies that directly (or via animation) to the textarea.

via jQuery plugin: ‘autoResize’ – James Padolsey. Extremely nice jQuery plugin for auto-resizing textareas. The one issue is that on page load the plugin doesn’t calculate the size of the textarea. Reading the jQuery API docs for the Ready event it looks like a normal jQuery object can not be binded to ready, only the jQuery document core object can be.

06 Apr

iBooks and private APIs – Marco.org

iBooks’ use of tons of private APIs is frustrating on a few levels, the biggest that it makes all third-party reading-related apps second-class citizens.

via Marco.org – iBooks and private APIs. I have to agree if Apple is going to distribute apps through the App Store, they should be required to not use private API’s. It’s a matter of conflict those applications are fighting for the same end users as are other applications and now Apple has given them an immediate and certain advantage.