Posted by & filed under Programming.

PHP is an interpreted language; and as such, the computer needs to process the script each time it is run. Honestly, I don’t know much about the internal workings of PHP; so I don’t know how it handles comments in the code. More specifically, I don’t know how well it handles comments.

I have seen sites over the web going back and forth on whether it’s possible to have too many comments. Most I found said that it didn’t really matter; a few said it slowed execution. As I tend to be the type to over comment my code, I decided to test it for myself with some over the top commented code. Read more »

Posted by & filed under Computers & Internet, Internet.

A recent job posting on Google’s web site has led to speculation that the search engine giant plans to buy unused fiber optic lines. These so-called ‘dark fiber’ lines are fiber optic lines, typically dating from the dot-com boom of the nineties, that is now laying unused. The high costs of getting these lines operational has left thousands of miles of fiber optic cabling available.

Source: C|Net – Google wants ‘dark fiber’

Posted by & filed under Programming.

One of my web projects, like so many others, has a series of pages where data is displayed in a table. Often this data becomes too large for a single page, and it has to be broken down into separate pages. The 5 dollar word for this is pagination, and you’ve seen it; you just may not have known what it was called. When a page shows links to the next and previous pages and shows you on page x of y, this is what is being done. Read more »

Posted by & filed under Site Documents.

Well, after a break for the past eleven days thanks to a server crash followed by a fiasco, my site is back up and running. If you’re interested, read at – the server I was on is called Supra. I’ve since moved away from HostGator to a virtual private server at

Posted by & filed under Programming.

Looking at the PHP documentation, it is not clear how to add multiple values for the same case in a switch construct. It seems that you should be able to do

case ("whatever" || "something"):
//Do something;

But, you can’t. I tried, and it didn’t work. Fortunately, after much searching, I found a way to do it; and it’s not near as difficult as I was making it. Read more »