Toad The Wet Sprocket reunited (temporarily)

Possibly the most exciting piece of news I’ve had this year (okay…maybe that’s a slight exaggeration, but only a slight one) was the email from the Glen Phillips mailing list a couple of weeks ago that said that Toad The Wet Sprocket are getting together again to play some gigs.

Big woo!

Toad The Wet Sprocket are one of my favourite bands of all time, and Scott and I were both mightily upset when they split up about four years ago. Now, none of them are saying that they’re going to get back together again permanently, but the fact that they’re playing some shows is just fantastic. From Glen’s site:

“Everyone is happy to be playing together again, but we’re keeping our goals very short term for the time being. It’s fun, and we’ve all surprised ourselves with how good we sound after five years of not playing together.”

Since they split up, Glen has done a solo album, and Todd and Randy have now finished two albums with Lapdog. Glen’s CD, “Abulum”, is a work of sheer beauty. It took me a while to get into some of the songs, but they are some of the finest pieces he has ever written. (I find it hard to even listen to “My Darkest Hour” too closely, because it makes my cry.)

And while Glen has been going all acoustic and mellow, Lapdog has been rocking the house. I don’t have their albums, but they have some mp3 downloads on their web site, and they sound energetic and fresh.

Basically, they’ve all been recharging their batteries, and doing fun new stuff that they enjoy. Bring them back together again as Toad, and the combination might well be pure magic.

Unfortunately, the shows they’re playing in December are all in California. And we’re not going back to CA this year. Damn.

But…. They are talking about a twenty city tour in February. And one of the last newsletters said:

“And for those of you non-west coasters, be patient, the new year could bring good news for you.”

To see Toad play would be utterly fantastic. I have this sneaky little plan brewing in the back of my mind…. In February flights to the East Coast of the US won’t be too expensive. The flights aren’t too long, either. So it might just be feasible to take a couple of days off work, fly out there, see a gig, and fly back. That would just be so cool!

Discussion board

One of the last things I did during this year’s Linux Experience was to try out some discussion board software before deploying it to Sunpig. I’ve been meaning to play around with this for a while, but it was only really last week that I found an incentive.

Richard had set up a chat board on EZBoard for his friends to hang out. But EZBoard’s free service throws huge banner, footer and popup ads at you, and their member signup forms are possibly the most deceptive I’ve ever seen. (One wrong click, and who knows how many mailing lists you’re on.) Also, the free service only lasts for so long before you have to upgrade to their paid service, and that time had come…

So, knowing that I have a bunch of space and bandwidth here on Sunpig, and the ability to install and run my own scripts, PHP, MySQL databases, etc. (through EZPublishing–our excellent web hosts), I offered to set up a board right here.

And just a few days later, it was up and running! The board runs on phpBB, which is a breeze to set up and get going. (I had a look at phpNuke as well, but phpBB is more lightweight, simpler, does all the basic stuff nicely enough, and has some spiffy default templates to go with it.)

If you want to come along and hang out, the board is at http://discuss.sunpig.com/brunton/. Note that it’s Richard’s board, not mine, but he says his intention was that he would invite his friends along to it, and then they would invote friends of their own. So just tell Rich that I sent you 😉

Martin’s Annual Linux Experience 2002 — wrapping up

Martin's Annual Linux Experience 2002Well, it looks like this year’s Linux Experience is drawing to a close. It’s been over a month since I switched my primary desktop to SuSE Linux 8.1, which is the longest I’ve ever held out. But it’s time to go back to Windows now.

It’s been an interesting month. I’ve learned a lot about setting up and configuring Linux, and the programs that run on it. My Perl has gone from rusted-away back up to passably acceptable. And I’m much more familiar with editing Apache’s httpd.conf files. And all this for an initial outlay of about £30! I reckon I’ve probably had more enjoyment out of that money than I get out of most £30-£40 games I buy. So it hasn’t been a waste of time by a long shot.

When I made the switch this year, I did expect to keep running some Windows apps. I thought that I would probably end up using VMWare to set up virtual Windows machines, but that didn’t work out. In fact, I think it’s going to end up the other way round. There are some Linux programs that are just too useful to give up. Our web host (EZPUblishing runs Linux servers with Apache on them. It would be really useful to be able to mirror that environment locally more effectively than I can with Apache on Windows. So my plan is to set up a stable Linux environment in a virtual machine. I can then use the VM as a local development server on our home network.

Overall, converting back to Windows is not going to be too much of a problem, because I hadn’t completely zapped my hard drive, and was using grub to multi-boot between Win and Lin. The main difficulty I’m running into is email. When I set up KMail, I set it up to use the maildir mailbox format, rather than the standard mbox format. KMail happily imported my Windows mail from Outlook Express, but going in the other direction is proving to be more difficult.

If I had my mail in mbox format, I could suck it into Mozilla mail in a snap. I could even import it into Outlook Express via the Eudora import filter, because Eudora uses the mbox format. But maildir? Uh-uh. Not a hope. I can’t even find a tool that will easily convert mail from maildir to mbox on Linux. The only thing that seems to do the trick is a widget that comes with qmail, but of all the Linux software I’ve installed and configured over the last month, qmail takes the biscuit for being the most difficult. And I’m not sure I can be bothered.

It looks like the simplest way is going to be the most time-consuming: KMail allows you to have both maildir and mbox formatted folders running at the same time. So I can create a new parallel mbox filing structure to mirror my maildir folders, and then copy messages from one to the other. Slow, laborious, annoying…but simpler than sodding qmail.

I find myself sad to have to go back to Windows. The XP desktop looks a little bit cold and plain now. KDE felt ragged at times, but it also had that little frisson of adventurousness–a sense that something strange, but maybe pleasant lay behind the next mouse click. Windows, I know inside-out, and it holds few secrets for me. But on the other hand, it also holds the joys of TextPad and Paint Shop Pro, and a faster version of Opera. It means a more productive me.

Linux will still be around, though, even if it is just in a Virtual Machine I fire up when I need it. And going on past experience, it’s only a year until the 2003 Annual Experience rolls around…

Microsoft: Why not?

Martin's Annual Linux Experience 2002I called Julian on Monday evening for a chat. We hadn’t spoken for a while, so we had a lot to catch up on. But instead we mostly talked about Microsoft, Linux, and why I’m choosing one over the other.

The conversation came at a good time. Julian disagrees with a lot of what I’ve been saying about Microsoft, and it’s useful to hear the opposite side of the argument. I enjoy writing this blog because it forces me to put all of my vague, incoherent thoughts and feelings into structured sentences, paragraphs, and arguments. (Or, at least, I try to.) By writing about my feelings, I come to understand them better. The only problem is that writing is a solitary activity, and it’s very easy to get locked into a train of thought, and ride it round and round in self-reinforcing circles.

Continue reading “Microsoft: Why not?”

Blogspam

I saw my first instance of blogspam on Webword at the start of October. Someone had used a “comments” form to place an ad at the bottom of one of John’s postings. At the time, I commented on how easy this would be to do in bulk. Given how simple this is, I expressed a small measure of surprise that it isn’t done more often.

Well, it is now.

Yesterday I found an article at The Laboratorium (via BoingBoing) which talked about how spammers are starting to manipulate blog comments. This in turn pointed me to Mark Pilgrim’s site, where he discusses the problem in further detail.

This “comment spam” comes in addition to “referer spam” (see also here), which I have started noticing here on Sunpig already. I had been playing around with a referer script the other week, thinking that it might be cool to show what other pages link to this site, but what seemed cool last week seems slightly worrying now.

Basically, the problem is that you are allowing other people to update the content on your site. Comments, trackbacks, and referer listings all allow other people to manipulate your web site. This is a cool feature because it makes for a more dynamic ecosystem of discussion, but it’s a risk because you might not always like what the other people make your web site say.

And it might not even just be a risk of annoyance (spam) or a security risk (autodiscovery of your mt.cgi script, followed by a dictionary attack). What happens when someone uses your web site to post libellous comments about someone else, or pornographic pictures, or even gasp the DeCSS source code? Other people may have written it, but it’s on your web site. Could you be legally liable? Is a disclaimer message enough to divert responsibility?

Fortunately, Mark’s article shows that we have some really clever people on the case already. Unfortunately, given the success (or lack thereof) that anti-spam solutions have had with email, it seems likely that blogspam is here to stay. We can try to minimize it, but it isn’t going to go away any time soon.

Linux, cursors, and bacon

Martin's Annual Linux Experience 2002The week before last, Linux was starting to get me down. I just wanted stuff to simply work, rather than to have to do work to make it work. I got a lot of the gripes off my chest by moaning about them here on Sunpig, though.

The following evening, I nuked my SuSE install, put on Mandrake 9 for an hour or two, and went straight back to SuSE again. Seeing Mandrake made me realise just how much I had learned about SuSE since the start of October, and how much I would have to relearn to get as fluent with Mandrake. Not as much effort as moving from Windows to Linux, but it would still be infrastructural work, when my aim was to get started on the higher-level stuff.

(Reinstalling SuSE felt like a relief, which was odd, as I had just spilled my guts complaining about it. But that rant had also clarified for me the reasons I was persisting with my Annual Linux Experiment, and that was because I find it too hard to stomach Microsoft’s business practices. Moving to Linux is not easy in the same way that going vegetarian isn’t easy. After a couple of weeks, you start to get these cravings for bacon…)

After that I was fine again for a while. I was happy with my new-found conviction. Thomas C. Greene wrote an article in the Register on how to improve your fonts in Linux, and that helped a bit. (They still don’t look as good as they do in the screenshots, but they’re okay.) I got Apache installed and running–yay–and started doing some work on Movable Type.

It was while I was doing this that the next niggle jumped up: In Kedit (and every other KDE application) the cursor blink rate was very slow. And worse than this, the cursor would continue to blink while I used the cursor keys to move through a document.

This may not sound like much. So the cursor blinks slowly, so what? It doesn’t stop you from editing documents, it doesn’t mean that the cursor isn’t there–it’s just blinking slowly. Right?

Argh. Sometimes it’s the little things that make the difference between satisfyingly usable and mind-bogglingly frustrating. Because this isn’t as little a thing as it seems. If you write a lot (code, prose, whatever), you get very used to moving about a document with the arrow keys or control key combinations rather than using the mouse to reposition the cursor. It’s much faster to keep your hands on the keyboard, look up, and arrow-key the cursor to a new position that it is to move your hand to the mouse, find the mouse pointer on screen, move the pointer, click, then reposition your fingers on the keyboard. Not only is it slower because it takes more actions, I seem to remember some research that showed that different areas of the brain are active when you use the mouse and the keyboard. So your brain has to switch tasks as well. Not efficient.

Back to slow-blinking cursors: when the cursor blinks “off”, it is invisible. It is invisible for a significant fraction (more than half) of a second. During this fraction of a second, I can make several keystrokes, and move the cursor several times with an arrow key. But while the cursor was invisible, I didn’t know exactly where it was in the text.

Actually, the slow blink rate only masks the real problem. The real problem is that the cursor’s blink status really should be set back to “on” whenever you press a cursor key. This way, it is always visible when you’re arrowing through a document, regardless of the blink speed.

But could I find an option in KDE to change the blink rate, or the blink behaviour? No. Damn.

So I could guess that I’d got the cursor in the right place, and start typing again. This didn’t always work, and resulted in me having to go back and re-edit. Or I could wait whenever I reckoned that the cursor was roughly in the right place, wait for it to reappear, and then reposition if necessary. Or I could use the mouse to reposition the cursor.

All of these options are significantly slower than the way I’m used to writing. And because it was taking longer to go back and fix typos, or edit sentences, I found myself losing track of thoughts, and getting distracted. The speed at which I coded and wrote slowed down by much more than the amount of additional time it took to move the cursor.

A bit of Googling around found me a couple of newsgroup postings from people who were complaining of the same problem, but without any useful follow-ups. Non-KDE applications (XEdit, emacs) didn’t appear to have the same problem, so it looked like a KDE thing. Although I hadn’t installed it, the SuSE disks come with the Gnome desktop, so I tried firing it up. And lo, cursors in gEdit (and other Gnome apps) behave normally!

I could just use gEdit in KDE–even though it’s a Gnome app, the Gnome libraries are all installed, and KDE will quite happily fire it up. But I’d just got used to Kate, and gEdit doesn’t show a list of open files on the left hand side of the window. (There may be a plugin that provides that feature, but I couldn’t see one.)

As it turns out, some deeper searching through Google revealed that the cursor blink rate is not set by KDE, but by the underlying Qt libraries. And in fact, there is a little utility called qtconfig that allows you to set the cursor blink rate. Yay!

Setting the cursor blink rate to a low value (I’ve got it at 50ms at the moment) is almost as good as having it behave properly, i.e., resetting blink status to “on” at every keystroke.

Ah, but is there a way to make this happen? Well, it appears so. According to the changelog for Qt 3.0.5, Trolltech have fixed this version to “Reset blink timer when receiving a keypress event to keep the cursor visible during navigation.”

So…all I should have to do would be to upgrade my Qt libraries to version 3.0.5, right? Hmm. According to the YaST tool, I already have version 3.0.5 installed. Why, then, are my apps not behaving in the manner described? Dunno. But I’ve got the horrible feeling that solving this is going to involve grabbing the source for both Qt and KDE, and rebuilding both of them.

All this effort for a simple cursor blink. I’m craving bacon.