All posts by rbowen

Order my book

My book is available on Amazon.com. This is kinda funny, since I’m still writing it. What’s even funnier is that they have an exact page count. So if I add a bunch of content, will the page count change?

Scanner

Having finally given up on getting a decent scanner working under Linux (yeah, I know. Blah, blah, blah. Flames will be gleefully /dev/null’ed) I got a Canon scanner, which I’m usng on my Win98 machine.

The thing that struck me as really cool about this scanner is that it has no power supply. It is entirely powered by the USB port. Not being much of a hardware person, I guess I was unaware that this was possible.

Anyways, using it for my wine labels

Rebooting phone

For the last 3 or 4 weeks, my phone has been randomly rebooting, or turning off. This has caused me to miss a number of important phone calls, and be cut off in the middle of others.

So I went to the Sprint shop yesterday (or perhaps Wednesday, I’m not sure) and complained. The lovely assistant there took my phone apart, cleaned out an enormous quantity of crud which had somehow made its way into the battery compartment, and handed it back to me. It has worked just fine since then.

In other news, Dana wondered, last night, why this blogging thing is so popular, and why anyone on earth would give a rodent’s posterior about my pocket lint.

Why indeed? And yet, here you are, reading about it.

The Internet will never cease to amaze me.

Geocaching accident

On the way back from a birthday party on Saturday, I was rear-ended. They messed up my bumper, and tore my tire cover.

Getting out of the Blazer, they mentioned that I was the first geocacher that they had met in person since they started geocaching. They knew from my bumper stickers which they had just smushed. They were admiring the stickers when they ran into me.

So I invited them to a geocaching party that evening.

I’m pretty sure this is the first time I’ve invited someone to a party after they have crashed into me. I somehow guess this is rather uncommon.

RBL, finally

After years of resisting it (too many legit messages dropped) I have finally implemented the RBL on my mail server. It’s gotten absolutely absurd. I’m dropping almost 90% of all incoming email as spam, and there’s still a significant number of spam messages that make it trough every day.

So, that was the first thing I did. Then I added a rule to drop all incoming email from .ru and .kr domains. And finally I added the list at http://www.securitysage.com/files.html of hosts and email addresses that are known spammers.

This is all stuff that postfix will do before it even makes it to SpamAssassin. We’ll see how this affects things. I suppose I don’t have particularly high expectations. But I can already see in the logs that it is dropping some of the connections that I expect it to drop, even before it considers the message itself. So maybe it will actually make a difference.

Oh, yeah, and I discovered one of the reasons that my filters weren’t catching the FLOOD of viagra spam. Turns out that the messages contain HTML comments in the middle of words, causing SpamAssassin to not see the keywords. In fact, the majority of the message was composed of HTML comments. Stuff like vi<!–jksdfoew–>agra for example. So I added a rule to SpamAssassin to look for “viagra” with, optionally, HTML comments between any pair of letters. I haven’t seen viagra spam since then.

It amazes me that these people will go to such lengths to send me email when it is obvious by their actions that they *know* I don’t want to get it. That is, they are intentionally and aggressively violating my wishes.

Software and community

Someone asked at OSCon why Open Source people are so obsessed about community. I answered with my standard answer – that it’s really that community-oriented people are attracted to Open Source – that software is really just a vehicle to get to community, and it is really much more about the community than about the software.

Andy disagreed with me, but then we got distracted, and the conversation died there. I’m really interested in continuing the conversation. So here’s my bit of it.

I joined the Apache project for the software. I stayed for the community. Likewise Perl. The software is interesting, but the people are more interesting. So now that I’m really not even writing much Perl, I’m still involved with the community, to some degree, because they are cool people.

Is there a PhotoShop Community? Well, sort of, but they don’t really have any ownership of their community. They are at the mercy of some large organization of which they are not a part. The Apache Community, on the other hand, has their hands in the thing that drew them together, and can remake it into something cool.

It’s very cool that I’ve had lunch with Larry Wall on a couple different occasions – not that he’d remember me particularly. It is very cool that I’ve chatted with Bradley Kuhn, Eric Raymond, Eric Allman, Tim O’Reilly, and a variety of other people – again, not that any of them would particularly remember me. But all of this is to say that it’s the opportunity to meet interesting people that has been one of the most valuable things about getting involved with Open Source Software. But what’s way cooler than that is the people that I’ve actually gotten to know in all of this – people that I would have *never* run into without OSS, because they live a world away. Folks like Mads Toftum, Greg Stein, Kevin Hemenway, Jesse Vincent, and the list goes on and on. There is no chance I would have ever met these folks in “the real world.”

So it appears, as I think about this, that I’ve often expressed these thoughts, but never really unpacked them completely, as Brother Bourbon would say. I’m very interested in hearing other views, or whatever.

So, why am I involved in Apache? Well, there’s a few reasons. I’m good at something (which happens to be writing about things in terms that beginners can understand) and this makes peoples’ lives easier. Doing something that potentially millions of people will benefit from is very cool, both from the perspective of helping people, but also from the sheer hubris of all of those people thinking I’m cool. And then there’s the community of people that it puts me in touch with. I care a great deal about the Apache Software Foundation and what it does, but I’m not so sure that the Apache HTTP Server is the primary part of what I care about. Presumably, if we had to, we could create that from scratch again. But the community is less replaceable. (Tirade about people destroying community ommitted for your reading pleasure.)

Thoughts?

ssh hostname tab completion in ssh

Because I can never remember, here’s how I did it.

In the file /usr/share/zsh/4.0.4/functions/_host, I removed the line:

hosts=( “$_cache_hosts[@]” )

And added:
hosts=( `perl -pe ‘s/(.*?)[, ].*/$1 /;’ ~/.ssh/known_hosts2 ~/.ssh/known_hosts | egrep -v ‘^[0-9]’ | sort | uniq` )

This allows you to tab complete to all of the hosts in ~/.ssh/known_hosts* – ie, any host that you have ever ssh’ed to before. Ssh’ing to a new host makes it get added to that list, so that it will then be in your tab completion list automagically – nothing to update.

By default, completion is to your /etc/hosts file, which seems moderately useless to me.

DateTime

Thursday night was the Perl DateTime BOF, with Dave Rolsky. It was mostly Dave telling folks about the state of the project, rather than much of a planning session. Dave gave a lot of credit to other folks for the work that has been done, but it is abundantly clear to me that Dave made this thing happen, and has done the bulk of the actual work. Sure, he has taken a lot of existing code into what he has done, but the sheer volume of code that Dave has produced is staggering. Many kudos, Dave.

Meanwhile, if I actually get this book finished any time soon, I should actually have some time to work on DateTime stuff some in the coming months. As usual, I didn’t get as much work done at the conference as I had planned, having been continually distracted by the darned conference. So, you see, gnat, it’s your own fault for putting together such a good conference!