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 …
Author Archives: paulschreiber
top 20 CDs of 2005
Luke Doucet/Broken (and other rogue states) Kyler England/Live Wire Jason Mraz/MR. A-Z Sylvie Lewis/Tangos & Tantrums Libbie Schrader/Taking the Fall Samantha Murphy/Somewhere Between Starving & Stardom Josh Rouse/Nashville Pocket Dwellers/PD-Atrics Erin McKeown/We Will Become Like Birds Sarah Harmer/I’m a Mountain Kathleen Edwards/Back to Me Emm Gryner/The Great Lakes Great Big Sea/The Hard and The Easy …
fixing the airlines
Sites like Expedia, Yahoo Travel and Travelocity all have one thing in common: they suck. Actually, they probably all use SABRE, too. It’s very hard to use these sites to compare trips with multiple airports; refining your results is hard, too. Maybe the UI is bad on purpose — they want you to give up …
blowing up a g4
so some guy got people to donate money so he could buy a G5 and blew up his G4. too funny.
ISO 3103
ISO 3103, the international standard for brewing tea.
Canadian University Lightbulb Jokes
Canadian University Lightbulb Jokes.
Using CURL in PHP
In Python, to read a URL, I do the following: import urllib data = urllib.urlopen(‘http://foo.com/’).read() PHP links against cURL, which lets you accomplish the same thing … in five lines of code. If this is something you plan to do more than, say, once, you’ll want an easier way of doing this. Here’s the function …
congrats Mark and Catie!
Mark Erelli and Catie Curtis just won the grand prize in the International Songwriting Competition. Their song, “People Look Around,” is a stark, honest portrait of the United States and a cry for humanity — for us to be more human: Mississippi River divides this land in two, Like the way we tend to think …
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 …
technical confidence
Sally Carson, a designer I met at SXSW, put together a thoughtful examination of what happens when people are intimidated by technology: I think that instilling confidence into our audience — whether on the web or on an electronic device — is an important component of good interface design. Something about Phil’s phone intimidates him, …