Archive for the 'tech' Category

Vote for my SXSW interactive panel proposal

September 21st, 2006

I’ve proposed a panel for SXSW interactive 2007, “Getting to Consistency: Lessons Learned from Big Cats.” The panels will be decided by an online vote. Head over to the 2007 SXSW Interactive Panel Proposal Picker and vote for me. :)

Here’s the description:

Making software predictable and consistent makes it much easier to use. This session will explain UI consistency and point out examples of failures and their consequences. We’ll discuss when it’s appropriate to break consistency, and how to build tools and process to ensure applications are consistent with human interface guidelines and real-world practices. Specific attention will be paid to consistency in your everyday tools: Mac OS X and Adobe applications.

best.review.ever?

September 21st, 2006

So the idiots at Sprint send Joel Splosky an LG Fusic phone to review, thinking he will promote their service.

Phone companies, as Joel points out, have a history of bad decisions:

And it’s 2006, and I almost can’t believe I’m writing this, because way back in 2000 I wrote almost exactly the same thing about WAP, and how cell phone companies keep failing to insert themselves as toll collectors because they’re so darn clueless about how the Internet works, and about the value of many-to-many networks instead of broadcast networks.

Needless to say, the phone sucks, and Power Vision sucks too. Is Power Vision a 3G service? Why do phone companies have to brand everything in some incomprehensible way? mMode? MEdia Net? Vision? Power Vision? Vcast? Stop, my head hurts.

Now, on to the good part:

the LG Fusic user interface could basically serve as an almost complete textbook for a semester-long course in user interface design, teaching students of usability exactly what NOT to do.

And one more:

A little bit more exploring and I discovered that there’s another entirely separate MP3 player on this device. It’s hard to find. You have to go to Tools, then Memory Card, then to the Music folder, and another MP3 player starts up which you can use to listen to your MP3s. For this player, you don’t have to be on the network, so it works in the subway, but—get this—the minute you close the clamshell, the music stops! I am literally not making this up. There are two bad MP3 players on this device, neither one of which remembers where you’re up to, neither one of which can be used on the subway with the phone folded in my pocket, neither one of which has a fast-forward feature.

Mixing your metaphors

September 20th, 2006

One of my favourite mixed metaphors—which I had somehow internally misattributed to David Johnston—was this one, from University of Waterloo registrar Ken Lavigne:

Admissions is a crap shoot, and this year we won in spades

This week, Peter Lewis of Fortune may have topped it:

Apple is making applesauce out of the old canard that Macs are a lot more expensive than Windows computers.

What kind of applesauce do you get from a canard, anyway?

Lessons from interviewing

September 11th, 2006

As part of my job, I perform technical phone interviews (”phone screens”) for our group and a couple others. The basic phone screen is more about breadth then depth, touching on C, Unix, object-oriented programming and some data structures and algorithms over 30 to 45 minutes.

During this process, I’ve learned a few things, including:

  • Undergraduate computer science students at Brown prove P=NP as part of an assignment.
  • Half of 216 is 28 … or maybe 24. Not sure.
  • Dereferencing a pointer sets it to null, leaking memory.
  • Basic data types in ANSI C include array and string.

Mailman mailing list backup script

August 30th, 2006

I’m sure there are some of these around already, but I have written a script to back up your Mailman mailing lists. It dumps the member roster and list configuration into separate text files, zips them up, emails them to you, and cleans up after itself.

The script is called mailmanBackup.py, and its syntax is pretty straightforward:
Usage: mailmanBackup.py listname <recipient> [<sender>]

If sender is not specified, the recipient is used as the sender. The recipient can also be a comma-separated list of email addresses.

Typical use would be to place a helper script like this /etc/cron.weekly:

#!/bin/sh
/usr/local/bin/mailmanBackup.py listname emailaddress@domain.com

mailmanBackup.py is available under a CreativeCommons-Attribution license.

unix humor

July 8th, 2006

Funny things you can do with the unix command line and linux sex positions.

Memory shopping

July 7th, 2006

Rich: Oh… another thing… what memory does the Macbook take? I was thinking about getting a single 512mb memory card (simm… dimm… whatever they’re
called these days)

Paul: DDR2 PC2-5300 667 MHz wooha.

Rich: I’m guessing ‘wooha’ isn’t a technical spec. :-) But with all the Korean OEMs you can never tell.

My daily WTF

June 29th, 2006

The Daily WTF is a great source for humorous (and sometimes unbelievable) technical blunders.

About six years ago (before PEAR and such), I wrote a simple OO wrapper around PHP’s mail() function. I haven’t really touched the code, but I did slap a CC license on it last year.

Today, I got this email:

From: DANIEL CROWE <danielcrowe01@yahoo.com>
Date: June 29, 2006 8:05:59 am PDT
To: ######@paulschreiber.com
Subject: PHP MAILER SCRIPT: BY PASS SPAM FILTERS

Hello Paul Schreiber,

I saw your name in phpclasses.org forum. I Humbly want
to know if you can write a php mailer script that can
send bulk mails and bypass spam filters. This is
needed to send bulk mails and delivers directly into
recipents inbox directly.

Do contact me back to danielcrowe01@yahoo.com.

Hope to read from you soon.

Daniel

I’m not sure how to answer this one. As Mark-Jason Dominus explains:

Some questions are logically nonsensical because the querent thinks they know more than they do. A lot of these have the form “How do I use X to accomplish Y?” There’s nothing wrong with this, except that sometimes X is a chocolate-covered banana and Y is the integration of European currency systems.

Sending email from cell phones

June 21st, 2006

With my old Nokia 6340i, sending email was as easy as sending a text message — you selected Messages > Write e-mail in the menu, entered the email address, subject, text, and off it went.

When I got my 6620, I was disappointed to find out that feature had been removed. Sending an email now required:

  • configuring the phone for GPRS (which is different for Cingular customers who, like myself, are former AT&T customers than for “regular” Cingular customers)
  • entering my email address, SMTP server, username and password
  • paying 3¢/KB (yes, per kilobyte)
  • … and waiting quite a while for the message to go through.

My friend Arthur tipped me off to a much better solution last weekend. Simply send a text to 0000000000 (ten zeros) with the first word being the email address of the recipient, and the email will go out lightning-fast, and you’ll only be charged the text message rate.

(keywords: cingular at&t sms text message cell mobile wireless email)

Update: Simon notes that this works on Cantel Cantel AT&T Rogers Cantel Rogers Cantel AT&T Rogers AT&T Wireless Rogers Wireless and passes along this handy tip sheet.

I found a FAQ for Cingular subscribers as well.

pave save the internet

May 2nd, 2006

MoveOn is organizing a net neutrality awareness campaign. Sign the petition to the US Congress asking for meaningful and enforceable network neutrality:

I signed this petition, along with 250,000 others so far. This petiton will be delivered to Congress before the House of Representatives votes next week. When you sign, you’ll be kept informed of the next steps we can take to keep the heat on Congress.

Snopes.com, which monitors various causes that circulate on the Internet, explained:

Simply put, network neutrality means that no web site’s traffic has precedence over any other’s…Whether a user searches for recipes using Google, reads an article on snopes.com, or looks at a friend’s MySpace profile, all of that data is treated equally and delivered from the originating web site to the user’s web browser with the same priority. In recent months, however, some of the telephone and cable companies that control the telecommunications networks over which Internet data flows have floated the idea of creating the electronic equivalent of a paid carpool lane.

If companies like AT&T have their way, Web sites ranging from Google to eBay to iTunes either pay protection money to get into the “fast lane” or risk opening slowly on your computer. We can’t let the Internet—this incredible medium which has been such a revolutionary force for democratic participation, economic innovation, and free speech—become captive to large corporations.

Politicians don’t think we are paying attention to this issue. Together, we do care about preserving the free and open Internet.