Craigslist suggestion: pause and resume listings

Here’s a feature suggestion: I’d like the ability to pause and resume a post on Craigslist. Here’s the scenario: I post an ad in free stuff I get 10 responses immediately I want to stop getting responses until I can deal with the ones I’ve already received If I delete the ad, I can’t repost …

JavaScript date validation

I was searching the web for JavaScript date validation code. All I found were lots of really bad ideas. Some were quite complicated. John Gang was on the right track. I didn’t see Chris Hogben’s article initially, but he used the right algorithm. Still, nobody offered the complete solution. Given a date string YYYY-MM-DD, is …

My Toronto Star crossword puzzle fetcher

On weekday afternoons, the Toronto Star publishes an eight-page PDF edition, “Star PM.” I download this for one reason: the free crossword puzzle. But sometimes I forget to download this, and since there’s no archive, I lose the opportunity to do that day’s crossword. So I wrote a script to automatically fetch today’s Star PM …

MySpace and its shit-ass design

Sean Bonner rips into MySpace, calling out its poor usability (far, far too many clicks to do anything). Sean was inspired by Evan Williams’ analysis of how MySpace gets so many page views. Evan was in turn building on Mike Davidson’s analysis. Mike’s characterization of MySpace as an “Unnecessary Click Factory” is spot-on. Oh, and …

the magic growing text box

Here’s a text box that grows as you type to hold just the right amount of text: <textarea name=”foo” rows=”1″ cols=”20″ onkeypress=”resizeme(this);”></textarea> <script type=”text/javascript” charset=”utf-8″> // <![CDATA[ function resizeme(t) { var characterCount = t.value.length; // assuming proportional font var columnCount = Math.floor(t.cols * 1.25); var height = t.rows; var newHeight = 1 + Math.floor(characterCount/columnCount); if …

the importance of net neutrality

the execs at the telcos (perhaps the same people whose secretaries print their emails — who knows) have this great idea to make money off the internet: meter everything. their argument is that google is getting a “free ride” on their network. well, no, they aren’t. they are paying for bandwidth at their end, and …