The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Wednesday, November 14, 2001

Okay, so it was a slip of the fingers …

Okay, I think I squashed that bug.

If you've been browsing this blog between 11:00 pm yesturday to around 1:30 am today (Eastern time that is) then you probably noticed a bunch of duplicate entries. This was caused by a bug in the new feature I added today (okay, technically yesturday).

What happened is that the program would add the entry, and notify Weblog.com and it was in the cleanup code of that feature (after it had already sent the notification to Weblog.com) that it would crash. This caused the mail server (since I use email to update this journal) to think the message had not been delivered and therefore queue it up for delivery later.

And basically, every entry made since this new feature was in was still in the queue trying to be delivered successfully.

So much for my programming prowess.

The code (C—I program mostly in C) in question was:


	int UrlFree(URL *);

	/* ... */

	URLHTTP url;

	/* ... */

	UrlFree((URL *)url);

UrlFree() takes a pointer to a URL and here I was passing in the URL directly, but because of the cast (since URLHTTP is based off the URL datatype but due to the lack of actual objects in C, I have to cast) the compiler let it slide.

And please, no “Why didn't you use Java?” or “Why not C++?” or even “What? You didn't use Perl?” I freely admit to being a C bigot and I like my language to remain standard, unlike C++ (which until what? Only last year got a standard?) or Java (what classes did Sun change this week?) or even Perl (Perl 6 is just around the corner, and it's nothing at all like Perl 5 … heh heh heh). I have better things to do (like chase bugs it seems) than to run after ever shifting languages.

Besides, is there anyone else that talks about bugs in their software?


Major network suckage today.

Major network suckage today. At around 3:00 am this morning the network at Condo Conner dropped. All attempts to get out didn't get past the DSL unit and a trace from outside (fortunately my roommate works at night as a system administrator) showed that traffic to Condo Conner was not getting past a router in Miami.

Fast foward to noon today. Can't traceroute to my colocated server. Can't ping it. Yet Spring can get her mail. Uh oh. A quick telnet to port 80 and yes, I can bring up a web page.

Great!

Poking around I'm seeing major network problems with my provider. Inside, I can ping some sites, other's I can't. Some sites I can traceroute to, others I can't. One moment I can ping but can't telnet. Then I can telnet. From outside again, it's hit or miss if I can ping or traceroute back to Condo Conner.

Most things are working and that's what makes this more annoying that if it was all down. I'll be going along and wham! can't get there.

Sigh.


Aaaaaaaah!

I heard from Mark that last night around 3:00 am that the DSL provider is upgrading the software on their equipment at the same time that the local phone company (no names but its initials are BellSouth) is upgrading the software on their equipment and well for the past 17 hours the Internet connectivity has gone to Hell.

Nice job, guys. Ever hear of rollbacks?

Okay, okay, cheap shot, but man, we're jonsing for Internet connectivity here. It's been bad all day … can't get to a site … can't get to a site … can't get to a—wait! We got a page! Woo hoo! Click on a link and … can't get to the site.

Trying to log in to a remote server is just as fun. Nope—that box is refusing ssh connections. Still refusing. Is it … yes! It connected! I'm logged in and … the connection is frozen.

Sob.

Good news though: we have a dial up account (good thing I hadn't gotten around to getting rid of the second phone line). Bad news: the number is busy.

Okay, things could be worse and for that I'm grateful.

Obligatory Picture

[It's the most wonderful time of the year!]

Obligatory Links

Obligatory Miscellaneous

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: http://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

http://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2019 by Sean Conner. All Rights Reserved.