November 2003
Monthly Archive
Monthly Archive
Posted by phil on 28 Nov 2003 | Tagged as: Uncategorized
No new hits in two days! Curses!
Today I set up a prototype system for Cynical Studios Comments Forum. Based on my yet-to-win-an-award Mormegil code, it uses PHP and MySQL to control a comments board much in the manner of this one. Their site gets over 300 hits a day though, so this will be a good test of how well my code stands up under high traffic. They are still looking for an old PC to host the database, donations accepted.
Anyway, it’s good to be able to use my skills and code I’ve already developed. Nice to see how easy it is to twiddle a few bits and apply the exact same code to a different site. It’s not seamless yet; I’d like to have the settings be read by a file and split off different dynamic functions into different pages etc., but it’s looking pretty good. Maybe that could be a project for Christmas break.
In closing, stupid people make me angry.
Posted by phil on 25 Nov 2003 | Tagged as: Uncategorized
Yikes.
[phil@life ~/fiancee]$ confusedemotions > /dev/null
[phil@life ~/fiancee]$ echo $WTF
bash: environment variable not found
[phil@life ~/fiancee]$ man women
no manual entry for women
[phil@life ~/fiancee]$ apropos something sensible
kmahjongg (1) - The classic mahjongg game for KDE project
[phil@life ~/fiancee]$ /usr/local/bin/kmahjongg
[…]
me wonders what that was all about.
Posted by phil on 24 Nov 2003 | Tagged as: Uncategorized
I was reading a bit about the DMCA, and I got quite worried. Basically DMCA is a law that exists to make it a crime to crack copy-protection schemes. Sounds pretty good on the surface, right?
There are a few obvious problems with this, such as the fact that it prevents many fair-use applications that used to be legal. The most famous is the Adobe e-book example. A tool was created to extract the text from the e-book files that used a laughably simple 2000-year-old cipher. This tool was helpful so that (for example) blind people could use the e-book through speech synthesis, or the text could be used for academic criticism. When the man who created the tool came to the US, he was arrested by the FBI and incarcerated for years.
So now you can be arrested for attempting to break codes. Well, that’s good, now our codes won’t be broken, right? That naive thinking was proved ineffectual as far back as World War II. The Nazis believed in security by obscurity. According to them, the Engima code was so tough to crack that nobody could ever do it. So they relied on that one cipher in the hopes that its inner workings would remain secret. Once the math behind it was cracked, their entire intelligence was laid open to their enemies eyes.
Any cryptologist worth anything can tell you that security by obscurity is a pipe dream. If your security relies on the secrecy of the method, then once the method becomes known, you won’t have any more secrets.
So what’s the DMCA say about security? It says that it will stay safe as long as nobody tries to crack it. The other obvious ridiculousness about it is that the DMCA can only apply within the US. Therefore we are going to be relying upon copy-protection that is completely untested. When it gets released into a free market outside the US where DMCA rules don’t apply, the code will crack faster than a Windows NT password hash.
That’s not really all that frightening, as the only people who will suffer from its effects are those stupid enough to believe copy-protection works anyway. The ingenuity of crackers has always trumped that of copy-protection engineers, and there’s no reason to think that will change.
The implications of it are worse though. Apparently the US lawmakers think that a closed market of ideas is a valid way to keep things secret. If the government decides the open exchange of ideas is not the best way to develop, it’s inevitable that the US will fall behind in the progress of technology.
This is admittedly another idea I’ve reaped from Neal Stephenson. In his book Cryptonomicon, he makes a very convincing argument that the deciding factor in determining who has the technological edge is which side allows for the free exchange of ideas. The Nazis fell behind because they didn’t allow people to challenge the dominant ideas. This was detrimental because it disallowed the sort of paradigm shift that is necessary for technological advancement. The Allies encouraged the sharing of ideas that lead to advancements like Bletchley Park and the Manhattan Project.
Basically the scary thing is that I can see that the DMCA reflects the mindset idea that lost Nazi Germany the war. And that sucks.
Posted by phil on 20 Nov 2003 | Tagged as: Uncategorized
I was looking for recepies online, and I found this site called SGezine. All kinds of cool Singapore stuff. I like the photo essay on Little India in the gallery especially. Take a look.
Posted by phil on 19 Nov 2003 | Tagged as: Uncategorized
So, how about this…. Under the NT Windows Kernel, the uptime was stored in a 32-bit number. That means that until a couple years ago, no Mircosoft computer was capable of dealing with being turned on for more than 50 days at once. A little prophetic, if you ask me. In the unlikely event that a Windows computer was left on for 50 days, the time would simply roll over back to zero.
Microsoft even admitted themselves in the documentation that instability would be experienced if you did so, and they recommended you turn off your computer regularly. The funny thing is, this applied even to the servers. Lol.
Posted by phil on 18 Nov 2003 | Tagged as: Uncategorized
This is all terribly exciting for me, exactly me, and no one else, but I’ve got up a better setup for my blog that makes use of all my mad webmaster database skillz. I’m the only person a feat of this magnitude would impress, which is slightly disenheartening.
Laugh now, but when I’m writing super-cool sites for a living, we’ll just have to see who’s lauging then…. won’t we….
Posted by phil on 17 Nov 2003 | Tagged as: Uncategorized
Posted by phil on 14 Nov 2003 | Tagged as: Uncategorized
I thought I’d share the PHP code that runs my
web site as a service to the web community. It’s nice to be able to
give a little back. It’s pretty well-documented and hopefully not
confusing. It includes the code for comments submission through a
mySQL database. You have my permission to use and modify it.