peknet :: an eddy in the bit stream         
about peknet
peknet is Peter E Karman musing on technology, politics, religion, books, beer and parenthood.

navigate

credits

Brighter Planet's 350 Challenge

St Paul Minnesota Yellow Pages

Powered by Swish-e

Valid CSS!

proud member of the
Open Source Community

© 2005 peknet dot com

syndicate this site

Doctorow on Free

Chris Anderson's new book on Free continues to get press. I noted it here when Malcolm Gladwell wrote about it for the New Yorker. This is about the 6th time I've seen it reviewed or referenced in the last month.

File under general/ Tue Jul 28 11:18:58 CT 2009

Users, Accounts, Identities and Roles

A nice overview of the concepts behind user/account/identity/role modeling in applications.

I liked this quote in particular:
The tradeoff of creating more abstraction layers provides, as always, flexibility at the cost of complexity. Often times we resort to inferior workarounds because they seem simpler, when in truth they are just dumbing down the problem. KISS is not a synonym for "half assed".

File under projects/ Mon Jul 20 09:02:01 CT 2009

NPR API

The wave of open data continues to roll. The National Public Radio API has been out for awhile, but the man responsible is talking next week at OSCON. He gives an interview as a preview.

File under general/ Fri Jul 17 12:21:56 CT 2009

The Internet Runs on Love

Just stumbled across this talk today.

File under general/ Thu Jul 16 15:29:15 CT 2009

POST with multiple values per key

Dumb. And bad.

PHP requires that you change your HTML to indicate that an input value in a form expects multiple values. That means, your HTML needs to know what your server-side architecture is coded in.

Dumb. And bad.

Example:
<input name="foo" value="123" /> <input name="foo" value="456" />


That code above won't work in a POST to a .php script because one of the values for 'foo' will be dropped. Instead, you have to code your html like:
<input name="foo[]" value="123" /> <input name="foo[]" value="456" />


with that extra little [] bracket pair. That's just Wrong. And bad. My HTML shouldn't care what the server side language is. HTTP is HTTP. HTML is HTML. It's agnostic. Unless your scripting language is broken. Like PHP is.

File under projects/php Wed Jul 15 16:56:58 CT 2009


Past entries: 2004 . 2005 . 2006 . 2007 . 2008 . 2009 . 2010 . 2011 . 2012 .