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 …
Author Archives: paulschreiber
Come to my SXSW panel on user interface consistency
At this year‘s SXSW Interactive festival, I’ll be moderating the panel Getting to Consistency: Don’t Make Your Users Think. The blurb: Predictable and consistent software is much easier to use. This session explores interface consistency, examples of consistency failures and their consequences. This is going to be a really interesting discussion. I have three fantastic …
Continue reading “Come to my SXSW panel on user interface consistency”
thoughts on code
“The best code you have is the code you didn’t write.” “Legacy code is any code without tests.” (likely paraphrasing Michael Feathers)
Address Book AppleScript example
Here’s a simple AppleScript that exports all of the email addresses in your Mac OS X address book as a comma-separated list: tell application “Address Book” set emailList to {} set peopleCount to (count every person) repeat with i from 1 to peopleCount set emailList to emailList & (get value of every email of person …
Hilarious Ellen DeGeneres excerpt
Ellen picks up the phone and calls 88-year-old Gladys Hardy of Austin, Texas, who proceeds to steal the show. Then, she calls her again:
Anya Marina house concert photos
Eric Carter and Enric Teller posted some photos of last month’s fantastic Anya Marina house concert.
Windows Vista upgrade decision flowchart
Windows Vista upgrade decision flowchart
yellow homefried potatoes
Jeff Potter‘s yellow potatoes miniature potatoes paprika cumin oregano salt & pepper a little bit of cayenne pepper turmeric wash potatoes. cut into chunks. coat with mixture. cook over low heat in frypan until potatoes are tender.