When you’re making a few backup copies of 2 GB each, the easily 10 GB free space on your partition will dwindle to 0 faster than you realize. Oops.
2004/10/22
2004/10/19
Spreading the word
This should turn out to be an interesting ad in the New York Times, celebrating the release of Firefox 1.0, in about a month from now.
If you didn’t want the email
You could have just said so?
$ host yahho.com yahho.com has address 64.40.102.44 $ host -t mx yahho.com yahho.com mail is handled by 0 nullmx.domainmanager.com. $ host nullmx.domainmanager.com nullmx.domainmanager.com has address 0.0.0.0
Several mailservers already check for loopback (127.0.0.0/8) or private network addresses (like 192.168.0.0/16) but I had not seen this one before, and apparently neither had the mail software, because it happily kept on trying to deliver it to itself until it saw too many hops and gave up. Bah.
2004/10/18
Backtracking
Because my webserver is on an internal host that is firewalled in, it can’t make trackback requests directly. WP in its natural form is blissfully unaware of this concept, so I had to adjust the code a bit:
$ diff -bc functions.php.orig functions.php
*** functions.php.orig Mon Oct 18 12:38:57 2004
--- functions.php Mon Oct 18 12:47:05 2004
***************
*** 551,556 ****
--- 551,566 ----
$tb_url = $trackback_url;
$url = urlencode(get_permalink($ID));
$query_string = "title=$title&url=$url&blog_name=$blog_name&excerpt=$excerpt";
+
+ $proxy = 1;
+ if ($proxy) {
+ $http_request = "POST $trackback_url HTTP/1.0\r\n";
+ $http_request .= 'Content-Type: application/x-www-form-urlencoded'."\r\n";
+ $http_request .= 'Content-Length: '.strlen($query_string)."\r\n";
+ $http_request .= "\r\n";
+ $http_request .= $query_string;
+ $fs = @fsockopen(<my-proxy-host>, 3128);
+ } else {
$trackback_url = parse_url($trackback_url);
$http_request = 'POST ' . $trackback_url['path'] . $trackback_url['query'] . " HTTP/1.0\r\n";
$http_request .= 'Host: '.$trackback_url['host']."\r\n";
***************
*** 559,564 ****
--- 569,575 ----
$http_request .= "\r\n";
$http_request .= $query_string;
$fs = @fsockopen($trackback_url['host'], 80);
+ }
@fputs($fs, $http_request);
/*
$debug_file = 'trackback.log';
Yay, now I get to harass others with my blog.
Update:
Either WP or one of the plugins doesn’t like backslashes in the text. It strips them out except if it’s doubled, but then when it presents the text to me for editing it doesn’t double them itself so editing something twice without doubling all the backslashes makes me lose it again. Oh well, can’t win ‘em all.
Update 2:
Ok, doubling still didn’t do the trick properly because in the resulting output they got lost. I ended up using \ which was thankfully left alone by the WP and related code.
Can I have a weekend now?
On Friday evening both M and I went to bed feeling slightly unwell, but not quite sure what could have caused it. Saturday morning we both woke up with massive headaches and an upset stomach. Of the kids, A had puked on his bed and N wasn’t feeling a 100% either, fun! Both recovered sufficiently to spend a day with their grandparents, giving us a quiet house. Of course not like we got to enjoy that, with our headaches, even after taking some painkillers (on nearly empty stomaches, yay). Bad enough that I didn’t feel like sitting down at the computer and distract myself with some catching up on news, or play some mindless games of Go. By Saturday evening when both kids were home again, we were finally starting to recover and towards midnight I was 90% ok, M not far behind.
Then Sunday morning, I wander down to the basement (where my office is) and find that the billing system at work crashed. Oops! A few hours and one recovery later, it crashes again, but this time due to lack of diskspace because I had left a few spare copies of rather large files sitting around to analyse later. Double oops! I move them out of the way and on we go, but it mostly ruins the good feeling of having recovered from Saturday’s illness.
Later that evening IgorMUD, where I’ve spent many years as wizard and some as arch(admin), crashes as well, but thankfully that is (no longer) my responsibility so after I alert the programmer of the gamedriver to the issue and he finds the cause and provides a source-patch, I fairly quickly fade out into the night.
This morning, I find the billing system at work had crashed again, again due to diskspace shortage, argh! Removing more crud and analysing the damage, I move on to drinking my coffee and wondering: Can I have a weekend now?
2004/10/15
There’s annoying, and then there’s obnoxious
At work a colleague ran into an odd problem with his Outlook Express (not my idea of fun, but that’s another story) which aborted rather brutally with a “Your server has unexpectedly terminated the connection. Possible causes for …” error.
The message triggering this error was a very small one. Too small, in fact. Looking at it in more detail it turned out to consist of only message headers. No message contents and certainly no empty line to separate the two. A perfectly acceptable bit of content for an SMTP server to pass on, or for a POP3 server to offer you, I would think, but apparently OE makes certain assumptions there and barfs when those turn out to be false.
After having removed a few of those messages (which, not entirely surprising) all turned out to be spam, a more permanent solution was needed.
Behold the expensive custom software solution to help OE cross the road, a 2 line procmail recipe:
:0fw | formail -f -b
Thanks Microsoft, I’ll send you the invoice later.
Quote of the day
From Electoral Vote:
A fully-functioning U.S. senator can talk for hours on end–sometimes days on end–if given half a chance.
Hm.
2004/10/14
They’re ready for it.
I’m sure this has been making the rounds, but I thought it was worth sharing anyway: The Florida Ballot, 2004.
My jailtime
Martha appears to be planning a book about her few months in jail. Given the reasons for her being there in the first place and how much she’s costing the system, it wouldn’t feel wrong to me right now if she is forced to hand over the proceeds from that book and have it go towards the people that lost money because of her and towards the court and prison system.
2004/10/12
Whole lotta lava?
This Mount St. Helens doesn’t happen to be anywhere near Redmond, does it?