Whilst waiting for the hard drives in my backup server to sync (only 3.4 hours waiting) I decided to knock up a blog for HostEverything as a preliminary status page. I'll end up syndicating the content out to each server so there is a status updates page (containing the same content) on each server.
-
hosteverything.net
[2005.12.13] -
Sometime Later...
[2005.11.21] More little bits with Somewhere
I've just put live a quick skin I designed for Nina & Karen's project 'Sometime Later' about the world of re-enactments.
-
site changes
[2005.10.23] mostly invisible
I've done a quick update to this site, to bring the CMS in line with the codebase used on SHOWstudio, somewhere, Digital Convenience and that I'm in the process of porting PostEverything to to give it a new skin and set of features.
The main advantages to this site is that I can more easily use features I've created for other projects, and I can take advantage of all that when playing around with new interfaces I want to try.
-
Thought for the day... FAT
[2005.09.27] Microsoft do cross platform?
Riddle me this: why does a company that has relatively closed approach to software and file format development have the only file system that I can get to work cross platform ... Windows, OS X, *BSD, Linux, hell even my Psion, my Phone and my Cameras all support FAT.
I finally have something that Microsoft developed that I am truely thankful for. Shame Windows doesn't support larger than 32Gb volumes.
-
Somewhere Website
[2005.08.19] Artists Nina Pope & Karen Guthries's 10th Anniversary website: www.somewhere.org.uk
A new site I've designed and built - right down to the logo -, between shifts on Digital Conveience, SHOWstudio miscellany, and working on the development of PostEverything ...
The site has been rush launched so that that can start blogging their new project Sometime Later that I've also go to (finish) building the site for. There are a lot of feature(ettes) and content still to be added to the site.. but the joys of it all being CMS driven mean they can develop the content whilst I develop the functionaltiy for them.
Part of my aim with the site design of the site was to keep the HTML minimal, use CSS, and make something that was quite forward feeling in features whilst degrading nicely. Nina and Karen wanted to keep the 'widrescreen' photographic background idea they had used on their old site, and updated it, so you can see the image gallery they've collected over the years.
The logo concept is a 'punch out' idea, which will be carried through physical materials such as letterheads and business cards, the idea being that 'wherever you are you are always somewhere'... and you can see through onto the postcard behind the landscape you are in. This will all be completed with some 'pathetic fallecy' icons to go with it.
... so keep watching it to see how it develops.
-
Server moves...
[2005.07.31] after 5 years of service, and over 895 (and counting) days since the last reboot.
It's come to the time to retire tao.hosteverything.net for refurbishment, and welcome suith.hosteverything.net into it's place. If you spot anything wrong with this site or any of the others please Let me know.
-
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.
-
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;
} -
SHOWstudio
[2005.04.01] A new site
After many months of planning, and several weeks of very hard work, I'm please to announce that we've finally launchd a new SHOWstudio website. A complete ground up rebuild of a large part of the contextual features of the site, and the addition of a lot of new functionality, all sitting on top of the Critter CMS that I've been using on various sites over the last few years, with HTML and CSS wizardry by Paul Bruty.
... and relax.
(well, until I get back on with Digital Convenience)
-
adammufti.com
[2005.02.14] Site for film maker Adam Mufti
A small, CMS based, website I made for Adam Mufti, the former Motion Image Director of SHOWstudio who's now making it freelance.
-
next page
