I've written about my love of TextPad before here. I just thought I'd post a couple quick tips about how to configure TextPad to view documents the way you like it. Read the rest of this entry ...
Jonathan Watt, one of the main Mozilla SVG developers sent me a link to this document which he's working on to help instruct the world how to write proper SVG which Mozilla+SVG will be able to render. Give it a read and send him some feedback.
By the way, I downloaded the latest Deer Park Alpha Build (Firefox 1.1 Alpha) and it has SVG enabled by default.
I've been pecking a way at this online chat program that I started as an excuse to learn some JavaScript and enhance my PHP skills (as well as get around a certain corporate firewall). It's coming along nicely. Tonight I added a RSS feed for it so that users can monitor the most recent conversation without having to be constantly logged in. I've been trying to figure out a good way to manage the deployment of the web application. Read the rest of this entry ...
After I wrote this entry, I knew I had forgotten one "gotcha" from my little Remote Scripting experience. I remembered it today. It involves PHP and the annoying aspect of having to declare within a function when you want to use a global variable:
function somefunc() {
printf("%d", gSomeVariable);
}
The above will not produce "5". Without explicitly telling PHP that gSomeVariable is a global variable, it will assume it is a local variable and currently undefined.
Do you know how many time this has tripped me up? The correct PHP code is:
function somefunc() {
global $gSomeVariable;
printf("%d", gSomeVariable);
}
For all the times I made this mistake: AAAAAARRRRRGGGGHHHH!!!!!!!
This is just a quick entry for me to jot down some caveats that I encountered while making a simple instant messaging application for the browser using Asynchronous JavaScript, XML and PHP. Read the rest of this entry ...