operator<<
John Cormie's Radio Weblog

 






Subscribe to "operator<<" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Wednesday, January 23, 2002


At work I'm doing a little compression project. Our product basically lets you access your MS Exchange email/calendar/contacts from the Motorola Timeport P93x over a two-way pager network. So, it's like RIM's Blackberry only slower. We'd like to compress emails that are sent to the device because customers pay per incoming network message. Less/smaller messages means more efficient delivery.

Embedded text compression would be an interesting project, except that programming for the Timeport sucks so bad. You write your program in something called flexscript which is a language worse than VB, then compile it to bytecode which is interpreted by the device. The language is so bad that it's impossible to implement any "real" compression algorithms, so I put together a scheme where the 128 most common english words are encoded as the high ascii codes. For example, CHR(127) decodes to '~' as usual, but CHR(128) decodes to 'the', CHR(129) decodes to 'and', etc ...

Drawbacks:

  • Not everybody gets messages in English.
  • Only yields about 25% compression at best. Which is only twice as good as simply stripping off the high ascii bit. (12.5%)
  • Even under this simple scheme, the timeport takes several seconds to decode a typical message.

The only advantages are: It's dirt simple, and can never increase the size of a text-only message.

WHY DOESN'T MOTOROLA LET YOU WRITE NATIVE CODE IN A REASONABLE LANGUAGE FOR THIS CRAPPY LITTLE DEVICE!
2:07:44 PM     comment []


Last night I found out that the "party" hostel in San Francisco is The Green Tortoise in North Beach. I learned this just as I paid for another week at The Adelaide ($108) which is just fine, but a bit quiet. Anyway, I have to wait for Jamalio's girly letter to arrive before I move.
9:32:40 AM     comment []


Today is the deadline to drop courses for the Winter 2002 term, which is what I'm trying REALLY HARD to do. With the Quest student registration system, things that sound easy are actually next to impossible to figure out. I've decided it's easier to just wait for the next "important date" on the list:

January 31 - Last day to pay fees

  • Tuition fees or arrangements not accepted after this date.
  • The winter academic record of students who have not paid will be deleted

9:18:41 AM     comment []


Click here to visit the Radio UserLand website. © Copyright 2004 John Cormie.
Last update: 3/21/2004; 10:25:37 AM.

January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Dec   Feb