Archive for December, 2004

Javascript time formatting function

While working on a web application, I found myself with the need for a Javascript function that would format dates to a consistent state. Several different functions exist out on the internet to perform this task, but none were exactly what I was looking for. Most of them did a fairly decent job [...]

100 Oldest Domain Names

Just a quick, fun link. It’s a list of the 100 oldest .com domain names with links to their WHOIS information. Most of them look familar, but there are a few odd balls in there.

Santy worm blocked by Google

Google, responding to pleas from anti-virus companies, has shut down a virus that uses the search engine to find victims. The Santy virus uses the search engine to find vulnerable phpBB sites to spread to. An estimated 40,000 sites have been infected by last Tuesday.
Google is assuring users that they are [...]

Benchmarking PHP: Inserting text with include(), require(), or get_file_contents()

Often times in PHP you find yourself needing to insert text. Most sites do this by using a database backend, but you also have the option to include data from a text file. Three methods are available for this; require, include, and file_get_contents. Which is fastest, which is best? When [...]

StatTraq and Wordpress Permalinks

For this and my other blog, I use Wordpress with permalinks turned on. I installed an add-in called StatTraq to keep track of statistics. But, the stats page never showed which pages were being shown. It just showed that ‘Multiple Posts’ were being displayed. Honestly, I just assumed this was the [...]

TinyP2P – “The World’s Smallest P2P Application”

Ed Felten and Alex Halderman released the smallest fully functional P2P application. TinyP2P is a 15 (yes 15) line Python program.
The authors claim that they are not intending to facilitate copyright infringement, but are trying to show how easy it is to set up a P2P application. TinyP2P was written to [...]

Benchmarking PHP: Single versus Double Quotes

PHP allows you to define a string using either a single quote (‘) or a double quote (“). Why? Is one better? Faster? Why should you use one over the other. In this article, I am going to benchmark both methods; both with literal strings and strings with variables included. [...]

Benchmarking PHP functions

Often a PHP developer will find themselves needing to know how long a function they are writing takes. Maybe a page seems to be taking too long to load, or maybe they have two different functions that perform the same task and need to see which one performs faster. This is where benchmarking [...]

CNet News.com adds support for pingback and trackback

Late last month, CNet News.com officially began to support the TalkBack and PingBack standards in weblogs. This is a major step in large media outlets seeing value in blogs.

Penn state urges students to dump Internet Explorer

Penn State is telling 80,000 plus students that they should stop using Microsoft Internet Explorer, and replace it with an alternate.
Earlier this week, Penn State issued and alert to its students and staff recommending that they switch from Internet Explorer to another browser. This advice is “because the threats are real and [...]