Phone of the Future

Voice chatting programs have been around for many, many years. CoolTalk, a program bundled with Netscape Navigator, was one of the first. Others followed, including Net2Phone, all of today’s popular IM networks, NetMeeting, and others. All of these solutions have one thing in common, however – they don’t really work all that well.

Thanks to a friend, I think I’ve found the future of the telecom industry – Skype (it rhymes with “type”). Like its competitors, Skype is a voice-over-IP application. It has text-based chatting as well. What sets Skype apart, however, is it’s peer-to-peer architecture.

P2P, for those of you who don’t know, is a way of transmitting data from user to user, rather than downloading it from a central server. It has a number of important benefits, including the ability to more effectively utilize bandwidth. As a network grows to service more and more users, its capacity grows simultaneously, ensuring there are always enough resources to handle the load. This reduces costs for everyone and usually increases performance significantly.

Skype, a project by the folks that created the [in]famous file-trading network KaZaA, uses P2P algorithms to maximize bandwidth and reduce latency. This, combined with a spectacular compression algorithm, allowed me to talk with my significant other, through a restrictive firewall, at better-than-telephone quality. Neat!

If you have loved ones beyond your local calling area, I would recommend giving Skype a try. Don’t worry, it’s not illegal any more than KaZaA is (the important thing is how you use software, not the mere fact that you use it).

Why CAN-SPAM Won’t Work

Nobody disputes that the U.S. needs a law to stop unsolicited commercial e-mail before 2004. Not even the spammers themselves.

While I’m glad our representatives finally got a law to the President’s desk, the Controlling the Assault of Non-Solicited Pornography and Marketing (CAN-SPAM) law won’t do much good in stopping the onslaught.

The law, designed mainly to provide recipients a way to opt-out, pre-empts the anti-spam laws of 35 states. Many of these laws require spam to be opt-in, a crucial step to stopping one of the main sources of victim addresses – harvesting from the web and newsgroups. As of January 1st, however, all bets are off. Instead of empowering users, the law blocks individuals from suing the spammer, instead reserving the privilege for states and ISPs.

The opt-out nature of the law also gives “one free shot” to spammers, as reported by CAUCE (no permalink). The law is extremely lenient on “truthful spam” – spam that doesn’t misrepresent facts. This has the effect of legitimatizing the spam industry, an industry that has been characterized by many illegal acts in pursuit of its profits.

The primary problem with a law like the CAN-SPAM is that it ignores the fact that most spammers use tactics that are illegal now, today. Most spam, even from spammers working in the U.S., is bounced from country to country, rendering it virtually untraceable. Most spam uses subject lines designed specifically to evade anti-spam filters. If you tell a spammer to remove you from their mailing list, it gets you added to 50 more. All the passage of this would accomplish is ensuring that more spam will hit your inbox in 2004.

If my testimony isn’t enough, here’s some from Dr. Jason Catlett of Junkbusters Corporation, about a very similar bill Congress debated on in 2001.

Since the President has indicated that he will sign this, there is very little hope for a fix for the problems – for now. However, let me leave you with a word of warning – if the FTC decides to establish the Do-Not-Spam list, do not add your address. Doing so would be like hanging a neon sign on your inbox.

Perl vs. PHP

Recently, I’ve been trying to pick up Perl again. I learned it back around version 4.0, before PHP even existed. After a few years of disuse, you lose the ability to communicate in a language – real or artificial. (Nihongo ga wakarimasen – I can’t speak Japanese [anymore].)

Of course, with a language that is actually maturing, like Perl and PHP, there’s new stuff to learn that’s happened since you’ve been away. Combine that with the experience you gain – I’m just starting to venture into the brave new world of object-oriented design, for example – and catching up can be hard.

Since I’m fairly fluent in both PHP and Perl, I thought I’d share some of my insights for anybody who’s thinking of getting started in web programming, and feeling confused as to where to start.

Continue reading

Gearing up For the Holidays

Shaka Santa and Mrs. ClausCrazy after-Halloween retailers notwithstanding, Hawai’i is beginning to look a lot like Christmas. The first sign wasn’t a tree or fancy lights, but rather the weather. As you’re probably aware, it doesn’t snow in Hawai’i. The closest we can hope for is rain, and we had the first winter storm of the season two days ago. I love the cooler weather, with rain pounding on the roof before it patters to the ground. Damage was confined to mud slides and some computers with busted power supplies, according to KHON2. (Is your computer plugged in to a surge protector? I’ll wait.)

The crews at Honolulu Hale (city hall) are starting to put up the Christmas decorations, including unpacking Santa and Mrs. Claus (pictured). Other decorations will include Frosty the Snowman and family, nutcrackers, and a large Christmas tree.

(Image courtesy Lisa Devlin and stock.xchng – yes, I’m too lazy to go down there and get it myself ;).)

You’re on Here, Too

A graphical map of the InternetMany people have tried to map the Internet – a daunting task, to say the least. In theory, a little more than 4 billion computers can be connected to the Internet (a limit we are fast approaching for a variety of reasons, by the way), so as you can imagine, this isn’t exactly the simplest activity to do. In the past, nobody’s had a very good idea of how many computers are actually online, because there’s no central authority computers need to report to.

Enter the Opte Project. The site has completed one of the rare (if only) maps of every class C network on the Internet (in other words, a good chunk of it). Most impressively, the entire map is built via a variety of open-source packages – including at least three packages in LAMPApache, MySQL, and PHP. Perhaps the most impressive statistic of all is the time it takes, from start to finish, to render a map – 268 hours, or 11 days. This could be even faster if they decide to do mapping via a cluster or grid.

I briefly spoke to Barrett Lyon, the leader of the project, via IRC.

Waileia: What are the points [on the map]?
Barrett Lyon: Every point is a computer or a network device, or something with an IP…There are over 13 million of them, [and] inside each, 256 IPs that could be live or not…If we were to draw them on the map, it would make a mess. 🙂
W: So, the edges could represent things like NAT boxes, internal LANs, and so forth?
BL: Yes, and the connected dots [and] lines are all routers.

While it’s been taken offline due, in part, to the slashdotting, there’s also a page where you can find yourself on the map.

Original link via Slashdot. Image used with permission of the Opte Project.