home dorian moore : (digital media) technologist

  • works Grizedale Arts. [2006.12.07]

    First Phase is Go.

    I've been working on this one for a while - my appologies to Grizedale, but it's now live in it's first phase, and will be ramping up soon.

    www.grizedale.org

    Tags : cms  development  flash  programming  website 
    Posted by Dorian Moore on Thursday, December 7, 2006 at 12:10 GMT
    Last modified Tuesday, January 16, 2007 at 13:25 GMT

  • works It's about time for... [2006.08.24]

    the anual reworking of SHOWstudio (god damn this CMS is getting complex)

    After half a year of planning, designing, coding, arguing and generally putting our all into it SHOWstudio, with my help, have just launched a new version of their website. Lots of development on the existing CMS I built, lots of ideas from elsewhere (and in between) implemented, and a lot more to come...

    Tags : cms  development  flash  programming  website 
    Posted by Dorian Moore on Thursday, August 24, 2006 at 21:47 GMT

  • works Elsewhere In Between [2006.06.19]

    Mixing Narrative

    Elsewhere In Between is a project developed by Julie Myers which I helped her in the latter stages of, building a primitive video sequencer in Flash that uses a database of video clips to allow the user to make their own journey through the eyes of five film-makers in five countries.

    The composer was originally developed by Julie in conjunction with BT's R&D facility with the intention of making an interactive DVD. At a late stage in the project it became apparent that a DVD would not be able to do what was desired.

    This interface was built over 4 days to be given out on DVD to delegates to a conference organised by FACT, and used in a kiosk installations as well. Because it was built in Flash it was relatively trivial to create lower bandwidth video clips that could be played over the internet.

    Tags : cms  development  flash  programming  website 
    Posted by Dorian Moore on Monday, June 19, 2006 at 23:31 GMT
    Last modified Tuesday, January 16, 2007 at 13:27 GMT

  • works Fairwell trusted companion [2005.06.08]

    After 10 years working together...

    ... it's time to say bye bye to BBedit and hello to TextMate.

    TextMate isn't as mature as BBedit, but then it's not as bloated either. I found BBedit increasingly clunky of late and TextMate answers a lot of those issuses, and has some neat extra features. Check it out if you do a lot of coding on OS X.

    Tags : applications  bbedit  OS X  programming  textmate 
    Posted by Dorian Moore on Wednesday, June 8, 2005 at 00:00 GMT
    Last modified Wednesday, April 12, 2006 at 15:56 GMT

  • works PHP Validate UPC and EAN13 Barcodes [2005.05.15]

    As I couldn't find any routines to do this...

    I hacked these up in Perl an age ago... needed PHP versions so here they are (Ask if you want the Perl versions lazy..)


    function validate_UPCABarcode($barcode)
    {
    // check to see if barcode is 12 digits long
    if(!preg_match("/^[0-9]{12}$/",$barcode)) {
    return false;
    }
    $digits = $barcode;
    // 1. sum each of the odd numbered digits
    $odd_sum = $digits[0] + $digits[2] + $digits[4] + $digits[6] + $digits[8] + $digits[10];
    // 2. multiply result by three
    $odd_sum_three = $odd_sum * 3;
    // 3. add the result to the sum of each of the even numbered digits
    $even_sum = $digits[1] + $digits[3] + $digits[5] + $digits[7] + $digits[9];
    $total_sum = $odd_sum_three + $even_sum;
    // 4. subtract the result from the next highest power of 10
    $next_ten = (ceil($total_sum/10))*10;
    $check_digit = $next_ten - $total_sum;

    // if the check digit and the last digit of the barcode are OK return true;
    if($check_digit == $digits[11]) {
    return true;
    }
    return false;
    }

    function validate_EAN13Barcode($barcode)
    {
    // check to see if barcode is 13 digits long
    if(!preg_match("/^[0-9]{13}$/",$barcode)) {
    return false;
    }

    $digits = $barcode;

    // 1. Add the values of the digits in the even-numbered positions: 2, 4, 6, etc.
    $even_sum = $digits[1] + $digits[3] + $digits[5] + $digits[7] + $digits[9] + $digits[11];
    // 2. Multiply this result by 3.
    $even_sum_three = $even_sum * 3;
    // 3. Add the values of the digits in the odd-numbered positions: 1, 3, 5, etc.
    $odd_sum = $digits[0] + $digits[2] + $digits[4] + $digits[6] + $digits[8] + $digits[10];
    // 4. Sum the results of steps 2 and 3.
    $total_sum = $even_sum_three + $odd_sum;
    // 5. The check character is the smallest number which, when added to the result in step 4, produces a multiple of 10.
    $next_ten = (ceil($total_sum/10))*10;
    $check_digit = $next_ten - $total_sum;

    // if the check digit and the last digit of the barcode are OK return true;
    if($check_digit == $digits[12]) {
    return true;
    }

    return false;
    }

    Tags : php  programming  source code 
    Posted by Dorian Moore on Sunday, May 15, 2005 at 00:00 GMT
    Last modified Wednesday, April 12, 2006 at 15:56 GMT

  • home home
  • page me
  • page page page page page page words
  • page page images
  • page page page page page listening
  • page sounds
  • page radio
  • page page page page page page page works
  • page page page page page likes
  • page page page page page page page page links
  • page mobile
  • page interfaces
  • page page page page page page page page page page page minutiae
  • page contact

    email

    telephone
    +44 (0)7976 242 805

    post
    Dorian Moore,
    Flat 2, Radnor Villas,
    45b King Henry's Walk,
    London,
    N1 4HQ.
    United Kingdom.

    ichat
    ichat://mtrapr

    aol instant messenger
    aim://mtrapr

    skype
    skype://dorianmoore