February 2002 Archives
I keep hearing people say things like "Bush wasn't elected," as if there were some truth to the statement. I hoped it was just bitterness at defeat that would eventually die down. But apparently the bitterness or blindness of some knows no bounds. So let me set the record straight, once and for all.
Bush was elected. There is no sense in which it is correct to say that he was not. We have a system of elections, determined by written law, and that system and law was followed at every step.
Some say Bush didn't win the "national popular" vote, as if the total number of votes means anything. It doesn't. Our law defines an electoral college system, and there is no such thing as a national popular vote.
Some say the Supreme Court of the United States stepped in and handed the election to Bush, as if the Supreme Court is not the final arbiter of Constitutionality of election law. It is such, as defined in Article II Section 1 and Amendment 14.
Some say that the decision of the Supreme Court was invalid because it was partisan, that if you look at the 5-4 decision, it is the conservatives voting in favor of Bush, with the liberals in favor of Gore. Actually, the decision that the Florida recount was unconstitutional by breach of due process was 7-2, including all but the two most liberal members of the court; if the vote was partisan by vote makeup as we've been told, then it was the two liberals who were partisan. Of course, even if the decision in Bush's favor were partisan, it wouldn't invalidate the election (despite damaging the integrity of the Supreme Court), but this is just another example of people ignoring the facts of the matter.
So you can disagree with the outcome, but you cannot reasonably say that Bush didn't win the election, unless you believe the election procedures should be determined by something other than the law that defines them, and our system of law that interprets them. To continue to say he wasn't elected is to ignore the factual truth of the matter.
We spent almost 6 hours in the hospital just so they could observe mother and child. Ugh. Nothing wrong, we didn't think we were in labor or anything, they just wanted to observe, in the off-chance that something might happen. I am not angry with them, just tired and busy. I want to say I have more important things to do than waiting for nothing to happen in a hospital for 6 hours, though that wouldn't really be true, but I do have other things to do, and since we didn't need to be in the hospital in the first place ... but at least we have now had somewhat of a dress rehearsal, so we really know what to expect when we get there for real. I now know what all the buttons do on the various things in the room (including the UA Reference button which I guessed zeroed out the monitor for relative pressure, and was right, though my wife didn't want me to press buttons without knowing for sure what they did ... but I'm an engineer! The plug says "UA" on it, and the monitor was recording 60 when she changed positions instead of 10, and the nurse had said something about setting the resting position on the monitor, so hey, it should work, right?)
Hopefully MacPerl 5.6.1r1 will finally be released next week. After that, if all goes well with it, I can try to do some more builds of 5.7.3+ to see if there are any new problems before it goes to 5.8.0. I simply don't have time to port all the tests, so hopefully Schwern's wonderful work of the testing stuff has paid off, and most of them just work.
Might this be a good feature for Slash? :-)/2
So I am now going on Day Two of No TiVo.
Try to avoid the online account changing if you can, or at least double-check what changes they make to your account for the next day or so after you make changes.
Journal Stats for use Perl;// Comment Stats
MMM YY: New / Tot. / T.Users // New / Tot.
=========================================== =====
Pre-01: - / - / - // 894 / 894
Jan 01: 8 / 8 / 1 // 53 / 947
Feb 01: 12 / 20 / 1 // 34 / 981
Mar 01: 13 / 33 / 4 // 81 / 1062
Apr 01: 58 / 91 / 15 // 100 / 1162
May 01: 103 / 194 / 28 // 58 / 1220
Jun 01: 115 / 309 / 38 // 83 / 1303
Jul 01: 185 / 494 / 50 // 87 / 1390
Aug 01: 170 / 664 / 61 // 34 / 1424
Sep 01: 112 / 776 / 72 // 55 / 1479
Oct 01: 280 / 1056 / 89 // 283 / 1762
Nov 01: 332 / 1388 / 96 // 297 / 2059
Dec 01: 388 / 1776 / 107 // 499 / 2558
Jan 02: 725 / 2501 / 137 // 1351 / 3909
Feb 02: 324 / 2825 / 140 // 694 / 4603
We figured we could just identify which strings are UTF-16 (the default for ID3v2; UTF-8 is not even supported until ID3v2.4.0, which most software doesn't even support yet) and convert them to UTF-8.
if ($uniconvert && ($encoding eq "\001" || $encoding eq "\002")) { # UTF-16, UTF-16BE
my $u = Unicode::String::utf16($data);
$data = $u->utf8;
}
That worked fine, until we relalized that Unicode::String was leaving in the byte-order mark (BOM) and we don't want that. So we strip it out after the fact:
$data =~ s/^\xEF\xBB\xBF//; # strip BOM
Hopefully, that's the right thing. And it seems to work.
But then we realize that some tags might be Latin-1 and others might be UTF-8; so what to do? Well, we can convert everything to UTF-8, which will be fine, except that it will break things that want everything to be in Latin-1.
Bah.
I think we're going to make a switch of some kind to tell MP3::Info to convert everything to UTF-8. Bah, again, I say!
I think our plan will be to release MacPerl 5.6.1 soon (a few weeks tops), and then put together MacPerl 5.6.2[ab]1, which will include the new editor stuff, along with any other new features we may deem appropriate. Bugfixes will go into 5.6.1 after that, but any new work will go into 5.6.2. Hopefully when perl 5.8.0 is released, perl 5.6.2 (a maintenance release) will be finalized and we'll release MacPerl 5.6.2 with the new editor.
Then work will commence on 5.8.0, which might get spread out over more time than it needs, but there's no rush; we just got 5.6.1/2 done! :-) 5.8.0 should require a lot less work. Soon I hope to do some more test builds of it and see if there's any real big issue to iron out.
#!/usr/bin/perl -ww00p!
use strict;
use HTTP::Cookies;
use SOAP::Lite;
my $host = 'use.perl.org';
my $uri = "http://$host/Journal";
my $proxy = "http://$host/journal.pl";
my $cookie_file = "$ENV{HOME}Netscape Users:Chris Nandor:MagicCookie";
# first line is subject
chomp(my $subject = <>);
my $text = join '', <>;
(my $newtext = $text) =~ s/\n/\012/g; # Local to Unix newlines
my $cookie_jar = HTTP::Cookies::Netscape->new;
$cookie_jar->load($ cookie_file);
my $journal = SOAP::Lite->uri($uri)
->proxy($proxy, cookie_jar => $cookie_jar);
$journal->add_entry($subject, $newtext);
# print text back to original window
print $subject, "\n", $text;
__END__
Worst Police Operation Ever.
They were going to ambush the room where everyone was being held, but didn't realize that they were being televised live while in preparations, and that there were TVs in each athletes' room. En route to the airport, the terrorists saw armed people running to hide, tipping them off. They discovered en route that there were eight terrorists instead of four or five, and had no way to let the people at the airport know of the change in intelligence. They had only five snipers, and the snipers, when they started firing, were dreadfully ineffective, and were positioned in each others' line of fire. A German officer in a building was killed with a stray bullet.
One German sniper, caught in the line of fire, shot only when a terrorist was heading right for him, and after he fired, additional Germans came up and, not knowing the locations of the men, mistook the sniper and a hiding helicopter pilot for terrorists and seriously wounded the both of them.
Over in the airplane there were German officers disguised as a flight crew. They unanimously abandoned the mission minutes before the terrorists and hostages arrived, because they felt it was a suicide mission. That's one of the worst things I've ever heard.
That is, at least, until the one remaining terrorist -- only three survived, and they were released by Germany after a plane was hijacked a few weeks later, and Israel hunted down and killed two of the survivors -- admitted in the documentary that the German government set up the whole hijacking to allow them to save face and hide evidence about how bad they botched the whole operation. And to top it all off, the German government returned the bodies of the killed terrorists to Libya, where they received a hero's welcome. I'd have had their bodies burned and flushed down the toilet, soon to be followed by their three executed brethren who survived their mission.
One great line from the documentary: "The operation disproved the long-standing myth of German ruthlessness and efficiency."
The living terrorist, Jamal Al Gashey, spoke on camera (in a shadow) and said he is proud of what he did, all for the Palestinian cause. He currently lives in Africa somewhere with his wife and children (maybe we can call all of Africa harborers of terrorists? ;-). He made me recall a scene I'd seen on TV from the new Schwarzanegger movie, Collateral Damage. The terrorist says to Arnold, "we're alike, you and me," or something just as typical. "We both kill for a cause. What makes you think we are not the same?" My immediate thought, recalling the Israelis who killed the Palestinian terrorists, was, "Because I'm only going to kill you." Which is what Arnold said moments later.
I got Super Bowl XXXVI recorded from the TiVo onto a videotape at high speed, and without commercials. Baby's favorite tape, that'll be.
So I modified my account and hit "accept these changes" and changed the channel to VH1 Classic immediately and there it was! The Who singing something or other! I know I shouldn't be, but I am quite impressed that hitting a button on a web site can so quickly affect what signals the little box under my TV will give to me.
# on pudge.net; each time a new MP3 is selected, it sends
# an HTTP request to pudge.net which calls a perl script
# to update the current track there. Essentially, this
# just tells the site "this is the track info for the
# just-requested track".
package Apache::MP3::Log;
use strict;
use vars qw(@ISA $VERSION);
use Apache::Constants qw(DECLINED);
use Date::Format;
use LWP::Simple;
use MP3::Info;
use Socket;
use Apache::MP3::Resample;
@ISA = 'Apache::MP3::Resample';
$VERSION = 1.0;
sub stream {
my $self = shift;
my $r = $self->r;
return DECLINED unless -e $r->filename;
# only my IPs for now ... maybe do by cookie/username later
$self->log_mp3 if $r->connection->remote_ip =~ /^10\.0\.1\.(?:132|107|177|108|109)$/;
$self->SUPER::stream;
}
sub log_mp3 {
my $self = shift;
my $r = $self->r;
my $tag = get_mp3tag($r->filename) or return;
my $url = $self->stream_base . $r->uri . '?stream=1';
$url =~ s/%/%25/g;
$url =~ s/ /%20/g;
$url =~ s/&/%26/g;
$url =~ s/;/%3B/g;
my $data = join "%%", @{$tag}{'TITLE', 'ALBUM', 'ARTIST'},
$url, strftime("%C", @{[localtime]});
$data =~ s/[\015\012]+//g;
$data =~ s/%/%25/g;
$data =~ s/&/%26/g;
$data =~ s/;/%3B/g;
my $get;
my $foo = 0;
eval {
local $SIG{ALRM} = sub { die "oops!" };
alarm 10;
$get = get("https://pudge.net/someperlscript?data=$data");
$foo = 1;
};
alarm 0;
}
1;
pdcawley asked if I was going to watch the game twice! No, the DVD does not have the complete game, it has season highlights. Besides, I have the game on the TiVo and plan on watching the game dozens of times. It's the first Super Bowl my daughter's been alive for, and she'll get to see it many times. Hopefully this year will also mark her first championships for hockey and baseball, too. :)
hfb++ came over to watch the game (she lives in MA and lived many years in St. Louis, she couldn't lose) and brought us some nice* baby clothes for our daughter. But I must say, while I can understand the feelings the bloke from alt.talk.bizarre has about childrearing, I can quite honestly say I share none of them. Coming clean for me about my feelings for my forthcoming baby girl entails no negative sentiment of any kind, especially since she is coming into a world where the New England Patriots are champions of the world!
* They really are nice; it's a rather poor word, but I can't think of another. I can't write "cute" because that's too unmanly for me to write. If I wrote "splendid" or "delightful" I would have had to kick myself out of my own Super Bowl party. So "nice" will have to suffice. :)
If you want the Rams to beat the Patriots today, the terrorists have already won.
(Doesn't this look like Dave Foley?)
I went over to the OSDN booth and found no wireless access. So I found another wireless network and used that. Then I got tired of stealing things and we got the nice men from shownets.net to set up a hub and some static IPs. But the public computer we had set up had no RJ-45 connection I could find, just 802.11 card. So I set up my extra PowerBook instead.
I saw Penth, for the first time since TPC was in Monterey, I think. She stopped by on her way to the .org Pavilion (where .org's, non-commercial groups, set up small booths).
I went and hung out with the crew in the speaker's lounge, having some rice pilaf (no pictures of it, sorry!) and getting a copy of the Slash book. I then went to Brian Aker's talk on how Slashdot & MySQL scaled together, which was quite interesting, even for me, who knows most of the story already. After the talk, Brian rushed to the airport and I went back to the OSDN room again, where I checked mail, downloaded The Perl Review (which I read on the train) and helped clean up the room a bit.
After awhile, with most everything being taken down, I wandered over to the Compaq pinball table (some Harley Davidson game) and proceeded to score 36 million points on my first ball. A guy walked up and bragged that he had a high score of 96 million, so I decided to best him. I scored another 30-something million on my second ball, and was up to 86 million total with my third ball when the power went out. In the words of Charlie Brown: AUGH!
I took a cab over to Penn Station and stood around for an hour, got on the train, and read The Perl Review, watched Tron, and went home.
Being sedentary is good.
So the day started as it should, going over to the OSDN meeting room for free food and net access. Then I hung out most of the rest of the day, eating, talking to people, and taking pictures. I was amazed at how different this was from a Perl conference; very little technical content, everything was about business, and the form of the booths was far more impressive than the content of the booths.
I did see the Perforce booth and told them that I use Perforce, at which point they responded, "really?" They said they were coming out with a Mac OS GUI for Perforce at some point (I didn't ask, but I would assume Carbon-based?) and they gave me a free balsa wood airplane, the only really good swag I snagged.
In the afternoon I sat in on a couple of sessions, including ESR's Vaudeville Act, something about moving Windows to Linux. I got a bit frightened and went over to Jeff Bates and some other people talking about a demographic study of SourceForge.net users, which was interesting.
Then I went to the hotel and hung out for a bit before having dinner with Fmh at the Palm. Nice big expensive steaks, and I stuck him with the bill. Awwwwww yeah.