Friday, June 11, 2004

Civics Lessons

Over on kuro5hin.org there's an article about the Canadian Legal System, as we get closer to the Canadian National elections.

And as a comment to that, there's an excellent "quick and dirty" guide to the US political system. If you missed this stuff in high school, here's a good place to start.

Debbie Does ... Wichita???

Well, sort of: it's a stage version, keeping the dialog, and keeping everyone's clothing on.

Only in Kansas.

Wednesday, June 09, 2004

Another Reason Not to Use Internet Explorer

This just in via friends, and Slashdot, there's another hole in Internet Explorer. According to the article, it will "allow a complete bypass of security and provide system access to a computer," and it's already available in the wild.

Solutions are to either:

If you want to be supersafe, use lynx.

Tuesday, June 08, 2004

Would someone check Blogger's Clock?

Those last two posts were made just a couple of minutes apart, judging from the time I hit the "Publish" button, yet the log times are 18 minutes apart.

Forgot to mention Cicadas

this week. Don't worry, they're still here, though the volume has gone down considerably. Every once in a while, though, you see a cicada flying through the air, or dragging himself across the road. We're almost finished with this cycle.

Another Day, Another Claim

Once again, someone claims to have found Atlantis. This time it's in Spain, though not on the plain. At least that's reasonably close to Plato's location, the "Pillars of Hercules", aka the Gibraltar Straits.

Of course, this isn't the first time Atlantis has been "found", and it won't be the last. Recently, it was found near Cyprus. It's also been found further off Gibraltar, under the South China sea (along with Prester John, no doubt), and who knows where.

Of course, the is all just hype, a promotion. As we all know, the real location of Atlantis will be revealed on June 16, on a cable channel near you.

Saturday, June 05, 2004

Sic Transit Gloria Venus

Twice every 130 or so years, Venus crosses the disk of the Sun, as seen from Earth. The nineteenth century transits of Venus helped astronomers determine the scale of the solar system. Transits still have scientific use. For one thing, the backside of Venus is black compared to the surface of the Sun, much blacker than sunspots, which would be blinding if they were anywhere but the surface of the Sun. This gives us a handle on the true brightness of the Sun.

Information on this year's transit, which takes place early Tuesday Morning, EDT, is available on the Sun-Earth Day 2004 web page. Some of the links include:

If you've just got to look at the transit directly, it's recommended that you use a welding hood with a #14 or darker filter. Otherwise, use one of these websites, or contact your local observatory.

Archive Update

If you look in the archives, you'll see some posts that look as though they were written in stream-of-conscience mode. Just where you think there should be a paragraph -- there is no paragraph. In fact, paragraph spaces that you might have seen before have vanished.

This blog is not possessed, it's just had a change of view. The default input mode to Blogger (adv.) interprets carriage returns as line breaks (<br /> in HTML) and double carriage returns as new paragraphs (<p>). That's fine for many things, but I found that it doesn't give adequate formatting control for my taste, so I set everything so that I have to specify line breaks and paragraphs.

Of course, this setting doesn't apply just to posts written after the change, it applies to everything to the blog. So some early posts are now missing paragraph markers.

I'm slowly editing the posts to correct this, but haven't caught up with everything. If you find something in the archive that looks run-on, let me know and I'll fix it. If it doesn't make any sense after that, well, that's not my problem...

June Linux Gazette (.net)

Linux Gazette (.net., accept no substitutions) is one of the more useful sites on the web. It only appears monthly, but just about every month there's an article worth reading. This month there are three of note:

  1. John Murray's Bare-Bones Guide to Firewalls tells you exactly what a firewall is and does, gives some hints on what settings to use in your distribution's GUI firewall.
    • In Fedora Core 1, the GUI firewall control is redhat-config-securitylevel. If you're not running any servers, providing printers for your local network, etc., then make sure all of the boxes are unchecked.
  2. Barry O'Donovan's Firewalling with netfilter/iptables tells you how to set up your own custom firewall. If you are running a mailserver, webserver, or an ftp or ssh daemon, and you want to make sure your site is secure, read here.
  3. Moving off of security issues, Ben Okopnik writes of Plots, Graphs, and Curves in the World of Linux, with emphasis on the features of gnuplot. He mentions several FAQs and tutorials, which I'll repeat here:
    Of course, for notes on compiling gnuplot 4.0 from scratch, see my experiences with gnuplot.

Monday, May 31, 2004

Funny, I never noticed

Except for a year in Switzerland, I've always lived within a hundred miles or so of the 40th parallel. Now I discover that it's a highly charged occult ley line, home of Marian apparitions, and used by Rosicrucians and Druids. And I was totally clueless all of this time.

(This site would be useless without Wikipedia.)

Slight Changes to the Blog

  1. Removed the Internet Storm Center tool as boring. You people are being too good about keeping your machines updated -- we haven't had a big virus outbreak since I put the thing up on May 5.
  2. Moved the Google (TM) search bar from the bottom of the blog to the top. Makes searching much easier.

Forgot to put this in the last searchbar note:
The source code for the toolbar is available from Google as Google Free web search with site search. Note that when it says replace "YOUR DOMAIN NAME" with your sites, they mean without the http:// and any "/" at the end of the address. Also, it only works on the domain level, you can't restrict the search to a given file.

And oh, yes, the link to the search bar came from Blogger Help

Macromedia Flash Update for Linux

Macromedia has released version 7 of its Flash Player for Linux. The official download site is
here at Macromedia,
but there are RPMs available from Rutgers (the State University) at
http://ruslug.rutgers.edu/macromedia/site_ru.html.
Note that this is not a Shockwave Player for Linux, which still does not exist AFAIK.

Sunday, May 30, 2004

Search This Site

Via Google (TM), of course. I've got it working properly now, just go down to the bottom of this page, fill in the box, and click. Easy, right?

Cicadas -- Week 3

The noise continues ...

But it's not as loud this weekend as it was last weekend. Something new has been added, however

They're flying

Badly, I might add.

I Am Not An Entomologist, but here's what I think is happening:

  • I start walking down the street.
  • Male cicada sees something big approaching.
  • Thinks a bit:
    • It's big, it must be a tree.
    • It's quite, so there are no males there.
    • LONELY WOMEN!!! YIPEE!!!
  • Bug heads straight for me.
  • At the last second, bug realizes I'm not a tree, and tries to veer off. Simultaneously,
  • I duck. Unfortunately, I'm ducking in the same direction he is.
  • SMACK
  • I brush him off, he goes on to the next victim.

Not to mention the ones already on the trees, who have an annoying habit of sticking to the back of your neck when you brush aside the tree branch while mowing the lawn.

Although it's not as loud as last week, it was getting to me yesterday, so I took a walk to the newer neighborhood* across the road. Our neighborhood was built in the 1970s, and the builders did a pretty good job of saving the trees around the houses. As a result, 1987 Brood X's offspring survived to visit us this day. The neighbor's hood was built in the late 1980s and early 90s, and they pretty much bulldozed the area around the roads, though they did keep a lot of trees in the common green space. As a result, a lot of 2004 Brood X was done in at an early age.

The difference is pretty amazing. There, I hear cicadas in the distance. Here, I hear cicadas up close. There, I didn't see any cicada carcases in the street. Here, they're all over. There, I didn't get bumped by a single cicada. Getting there, I got smacked by several and almost threw my back out bending to get away from another one.

It was peaceful, I tell you.

 

*   I suppose I should explain what I mean by a "neighborhood" for those who don't know. US suburbia is divided into "neighborhoods," which is developer code for "we've managed to gather this big block of farmland which is more or less contiguous, and we're going to subdivide it." A neighborhood generally has a name like "Rolling Hills," "Faraway Farms," or "Eagles' Nest", which is supposed to make you think that you're far away from everything in some mythic, idyllic place, and ignore the reality that you're living with 40-500 families who had the same idea, and with whom you share the same aquifer, swimming pool, and septic field.
Return to main post

Saturday, May 29, 2004

Graphing with gnuplot

When I first started writing papers, drawing a graph was not too hard. First you sketched out your picture on a sheet of paper. If you were plotting data, you'd used graph paper. For really accurate plots you'd use graph paper with ten lines per millimeter. A photocopy of that would be sent to the journal along with your (typed) manuscript. After the article was accepted, you'd take the figures to the draftsman, who would draw it up with pen and ink, who would send this work of art (and it was) to the camera shop, where they'd take a picture of it and give you a few 8x10" glossies, one of which was mailed to the journal. At the journal they would take pictures of this glossy and send it to their production people, who would get it into the journal somehow.

Eventually computer graphing programs came along. They'd even produce PostScript (TM) files, which could be emailed directly to the publisher. The question was, which program should I use?

I tried a few. We even bought some. But sometime in the early 1990's I found references on Usenet and Gopher to a program called gnuplot. Logically, you'd think this was related to the Free Software Foundation's GNU project, but it's not, the name is a coincidence. In any case, gnuplot was easy to use, had a command line interface that enabled you to use it in script files, and, eventually, came up with an enhanced PostScript interface which let you do a reasonably good job of drawing subscripts, superscripts, and Greek characters.

Oh yeah, sometime after 1995 it also came with a curve fitting routine. Give gnuplot your data an a parameterized function, and it would do its best to find the proper parameters to fit the curve.

I still use gnuplot, but the current version included with Fedora Core 1 is 3.7, released many years ago. Many people have moved to other software programs that I don't understand so well. A popular one where I work is Grace.

So now there's a new gnuplot, version 4.0, released in April. It looks to have more colors, better contour support, etc., yada... I wouldn't know, I just got it installed. I didn't find and RPMs for it I trusted, so I downloaded the source code, and ran my usual
$ ./configure --prefix=/home/local
$ make install

which installed the program in /home/local/bin, where I like to keep programs that don't need to be run as root. And the program worked. Except if I have a selection of gnuplot scripts called, say,
plot1.gnu plot2.gnu plot3.gnu ...
and try to load them using
gnuplot> "plo[TAB]
nothing happened. In other words, filename completion was dead. This works with most older versions of gnuplot.

Turns out that to do this you need the GNU (which is not gnuplot) version of the readline libraries. OK, I have that on this machine, so we try
$ ./configure --prefix=/home/local --with-readline==gnu
$ make install

And this works. Except that there is a bug in GNU readline. If you understand what that message said, don't tell me. Just note that the effect of the bug is that, if you call gnuplot from the command-line prompt from an xterm, have it put up a plot (say
gnuplot> plot x
and then resize the xterm, the gnuplot figure vanishes. Why? I have no clue. Anyway, you can get it back by using the
gnuplot> replot
option.

Is gnuplot 4.0 better than 3.7? I don't know yet. But at least I've got it working.