SMS trailers at Uboot

By Adrian Smith8 Jan 2013600 words3 mins to read

We developed a cool algorithm to add informational trailer texts to SMS at Uboot. It was online from mid 2000 to mid 2011 (when Uboot stopped doing SMS). I developed this algorithm together with my colleague Mike. So that it doesn't get lost forever, here is a description of it :-)

The general situation was this:

Requirements:

We came up with the following solution.

For example:

language  recipient-registered    text
en        yes                     Sent by ${USER} on Uboot
en        no                      Sent by ${USER} on www.uboot.com
en        yes                     Sent by Uboot
en        no                      Sent by www.uboot.com 
*         *                       Uboot
*         no                      www.uboot.com
de        yes                     Verschickt von ${USER} auf Uboot

The algorithm would then do the following:

The advantage of this algorithm is, given two users who send an SMS with the same amount of space free, different trailers may be the longest, depending on how long their username is.

This article was written by Adrian Smith on 8 Jan 2013

Follow me: Facebook | Twitter | Email

More on: Things I've Released | Algorithms | uboot.com