Roleplaying: Longevity and Immortality · 399 days ago
Immortality and longevity in roleplaying are often used to make character’s interesting, without actually adding any depth to the same, or without that people fully realise the nettles they’ve just settles themselves into. As someone who has always avoided it except in select cases (the Steele brothers and Ciaran Taika-Tessaro), I want to try explaining the issues that inevitably crop up if this is attempted. I very much hope that some innocent soul new to roleplaying will be deterred from making the mistake many others fall prey to.
Global variables in PHP · 415 days ago
All global variables in the PHP script scope are stored in the $GLOBALS[] superglobal array, in the form that you will find the global variable $var at $GLOBALS[‘var’]. You can refer to your variable in a function scope by writing global $var; in the function to permit your function access to it, or you can use $GLOBALS[‘var’] to refer to it. Except that only one of them is a good idea.
opacity for fades · 415 days ago
“If it ain’t broke, don’t fix it.“ Plenty of websites use Flash where they could be using JavaScript. To be fair, both have their pros, but occasionally, one of either solution is overrepresented. In this case: simple cross-fading slideshows with Flash. Fortunately, alternatives do exist.
Filter-explode · 417 days ago
Each time I browse the PHP function reference, I tend to read most, if not all, user notes appended to the page. Every once in a while, one of these notes will contain something that makes me think, and prompts me to explore possibilites. One of these was a comment regarding explode()‘s perceivedly annoying habit of not removing empty elements in the result.
Vista DVD Drive Vanishing Trick · 423 days ago
My DVD/CD R/W TSSTcorp drive is playing hide and seek with me on Vista when I try to burn the same Roxio Creator project several times in sequence, forcing me to reboot to find it (cheeky little thing). I’m finding a myriad of articles online detailing similar cases, with very specific fixes (often several in the same thread)... but, frankly, so far, none that help me any, nor do I think that’s a particularly good approach…