Prime numbers sure do come in handy sometimes. Imagine, for example, that you have several timed tasks and you want to make sure that two of them never fire at exactly the same moment. Using primes for the intervals is one surefire way to guarantee that they'll never fire simultaneously (since primes cannot be multiples of each other.)
This is one of those moments where I realize I shouldn't be blogging but heading to bed...
(more...)
CronniX is an OS X front-end for the Unix Cron tool. It makes setting up cron jobs easier on a Mac.
I've used
ezSQL quite a few times in the past but I don't think I ever blogged it. It's a very simple-to-use SQL library for PHP.
I'm hacking together a little something in PHP and I found myself in the unfortunate position of having to use XML. If you find yourself in such a sad predicament,
Keith Devens's PHP XML Library can make your life easier.
David Holroyd announced
metaas on the
OSFlash mailing list today and it looks very exciting indeed.
metaas is an ActionScript parser/code generator written in Java that, "provides Java applications with a 'Document Object Model' for ActionScript 3 code." David states in his email that the primary purpose of metaas is as a code generator but what excites me most are its potential uses in pre-processing/post-processing of ActionScript code, documentation generation, etc. Having an ActionScript-aware DOM in Java could also be useful for ActionScript editors like the open source ASDT project.
(more...)