Categories
Uncategorized

Validation is like Math

I’m constantly surprised by the number of people who don’t quite understand how validation works. I don’t claim to be an expert, but as I understand it, you have a set of rules, and if you present something that breaks those rules, then what you have done is not valid.

People constantly posts messages to the www-validator list with the belief that their invalid HTML is somehow correct, and the validator must be wrong. (Some go so far as to suggest the validator be fixed to report their invalid markup as valid!) I can’t complain too much, because these people are most often not well versed in writing valid markup, or understanding what the DOCTYPE they chose actually allows, and they get big credit for attemping to validate their work. (May 2004 seems to have more messages than any previous month so far.)

Still, it often feels like someone keeps telling you 2 + 2 = 5, and every time you explain that it’s a simple matter that 2 + 2 = 4, another person comes along to tell you 2 + 2 = 5.

While it’s true that the W3C MarkUp Validator has it’s limitations (as most validators probably do) chances are it knows HTML better than most people do…

(And please, for the love of all that is good, tell everyone you know how to encode & into & within HTML!)

Categories
Uncategorized

The Ultimate Sniffer!

I found this in a bit of Javascript used by a banking site today:

// Ultimate client-side JavaScript client sniff. Version 3.03
// (C) Netscape Communications 1999-2001.  
// Permission granted to reuse and distribute.

Obviously the “Ultimate client-side JavaScript client sniffer” was written 3 or 4 years ago, and still works flawlessly. I bet it handles everything from Safari to Firefox without a hitch!

Categories
Uncategorized

Mandrake: First Impressions

I finally got Mandrake installed, and it took a while. There are normally two parts of the “taking a while” to deal with. There is the “this doesn’t work I need to find the answer on [search engine of choice] before I can even get the install to start” and there’s the actual install process, which always seems to take some time.

Remember, I’m attempting to install Mandrake Linux 9.1 PPC on a old Beige G3 PowerMac. I suppose we can ditch that “attempting” word, as I got it to work, but not easily…

First, there was the issue of just getting the installer to launch. Mandrake has some simple tools to do this, but they didn’t seem to work. I used BootX, and tried many variations, and finally found this thread on Mandrake 9.1 install problems that fixed things. Giving BootX the proper parameters got things going, below is what I used:

root=/dev/ram3 ramdisk_size=40000 
install-text automatic=method:cdrom

Once BootX kicked the install, things went smooth, until I started to get errors installing some things. I’d guess I hit the ‘OK’ button at least 100 times after seeing ‘There was an error installing foo-1.0.1’ (or whatever the exact phrase is. Still the install finish after a few hours (hours?!) and things seemed ok. (I really should check the ISO’s against the md5sum and such when doing these things, as it may have been a bad CD, but the system did eventually get installed.)

Time to login! Hmmm, Mandrake is supposed to be so friendly, why is the menu, which is usually full of apps and such, almost empty? Ahhh, another useful thread on empty menus lead me to run update-menus, and menudrake to fix things.

Success! Mandrake 9.1 on a PowerMac…

But now what? I started using the system, and it seems ok, but certainly doesn’t wow me yet. I was pretty impressed with Fedora after using it, but Mandrake is taking a little time to get comfortable with. I suppose I’ll have to get used to what makes Mandrake, well, Mandrake, as it were.

Who knows? I might ditch Mandrake by next week and install Yellow Dog instead. ;)

Categories
Uncategorized

Linux Reboots (Lot’s of them!)

I’m running Fedora at home, and though I don’t consider myself a Linux-newbie, I often like to play the role to get a feel for the current status of Linux on the Desktop. So I run up2date because the dock-thingy at the bottom of the screen tells me to, and I click-click-click my way through a bunch of updates, and at the end it tells me that I should really reboot so that the new kernel can be used. Reboot? Isn’t this Linux? I mean, it’s bad enough I often have to reboot Mac OS X because Apple has some system update that requires one, but not Linux too? Sheesh, it’s turning into a Windows world! (Ok, I’m exaggerating a bit…)

On top of that I have an older Mac that I’ve been attempting to install Linux on, and while I did manage to install Debian, I never got a GUI environment, so I burned a Gentoo CD and promptly misplaced it. I then burned some Mandrake CD’s and attempted a number of installs, after all, Mandrake is the easiest to install Linux, right? No success yet… Perhaps I’ve got a bad CD, I don’t know, but what I do know is, sometimes getting Linux on the Desktop is 10 times harder than actually using Linux on the Desktop.

Categories
Uncategorized

The Ever Moving License

I brought this up before (see Movable License and GPL & Movable Type) but either people didn’t listen because Movable Type was free enough, or perhaps because I’m some sort of crackpot, but in the Movable Type license is this bit:

Term, Termination, and Modification. You may use the Software under this Agreement until either party terminates this Agreement as set forth in this paragraph. Either party may terminate the Agreement at any time, upon written notice to the other party. Upon termination, all licenses granted to you will terminate, and you will immediately uninstall and cease all use of the Software. The Sections entitled "Title," "No Warranty," "Indemnification," "Limitation of Liability," and "General" will survive any termination of this Agreement.
Six Apart may modify the Software and this Agreement with notice to you either in email or by publishing content on the Six Apart Website, including but not limited to charging fees for the Software, changing the functionality or appearance of the Software, and such modification will become binding on you unless you terminate this Agreement.

As everyone who doesn’t know what they’re talking about says, I am not a lawyer, but to me it appears that Six Apart can, at anytime, terminate the license you have, and force you to delete the software. It also seems to say that Six Apart can change the license (“Agreement”) at anytime simply by posting something on the Six Apart web site. This is a wakeup call to people who have said they can do whatever they want with their copy of version 2.x of Movable Type.

So, am I a crackpot, or am I reading this right? I know, they won’t do it, they’re nice people! Right? Sure… I mean, I’m you’re friend, you can trust me. I promise I won’t stab you, but I might. I probably won’t… but you know, I might in the future…

I will once again reiterate. I think Movable Type is a nice piece of software, and Six Apart’s founders Ben and Mena seem like nice people, but the license just doesn’t work for me. That is all. If it works for you, hey, that’s cool, use the software, just know what you are getting into when you agree to something. (Oh, feel free to plug the URL of the current license into the WaybackMachine, you’ll find slightly different versions of the license, but they’re all similar enough, this isn’t something new.

Oh, one more thing, I think this part is new, but don’t let your kids use Movable Type, as the license also states:

The Software is not intended for use by persons under the age of 13 and may not be used anyone under such age.

So if you let your children use Movable Type, you violate the license. Heck, it might even mean that if a 12 year old leaves a comment on your Movable Type-powered site you’ve viloated the license. Who knows?

Are we starting to see the importance of licenses?