USPS Unstoppable Junk Mail

<1 min read

We get most of our mail to a P.O. box, but there are a few things that we have no choice but to get at home. Our home mailbox is always stuffed with flyers, ads, and all kind of bulk mail.

The minute you buy a new place, the records are made public, you get added to a gazillion of mailing lists.

I'm always weary real mail will get buried inside the junk. I was looking for a way to ask the post office to stop delivering junk mail. I noticed they did not forward any of that stuff to our new mailing address when we moved. I figured it would be as simple as filling out a form. Well, nope. The USPS provides no such service.

You can submit your mailing address to the DMA, which is supposed to reduce the amount of unsolicited mail you get. But since it is a voluntary program, I really don't expect much.

I find it totally unacceptable that you cannot instruct the post office to not deliver such crap. My name is not Resident, Home Owner or the such. If it doesn't list my name, I don't want it.

I am Hal Jordan

<1 min read

You are Green Lantern
Green Lantern
80%
The Flash
60%
Iron Man
60%
Batman
50%
Hulk
50%
Superman
40%
Supergirl
40%
Catwoman
40%
Robin
38%
Spider-Man
30%
Wonder Woman
30%
Hot-headed. You have strong
will power and a good imagination.

TestNG Generator for IDEA

<1 min read
TestNG Generator is an IDEA plugin, based on Alex Nazimok's JUnit Generator. It is a very simple plugin that generates a TestNG test class skeleton for all of the current class methods. Alex did all the work. I just added a few things here and there. There's still more I'd like to do:
  • Add per-project configuration properties.
  • Make the newly created test classes noticed by the VC manager.
  • Incorporate it into Mark's TestNG-J .
TestNG Generator is currently available through the IDEA Plugins manager. The source archive can be found on the IntelliJ Community Wiki. As usual, the latest souce code is also in my public subversion repository. Constructive feedback welcome.

Adobe formerly Macromedia

<1 min read

I completely forgot that they merged until I received an email about upgrading, featuring the following logo:

I almost shed a tear… almost.

Crawlers Detection in Java

<1 min read

As I was testing my link redirector Servlet for the linkblog, Rick asked what I was doing about search engine crawlers. I told him I was inspecting the user-agent on all requests and excluding anything with the words bot, crawler or spider, which I knew was not hardly enough. I was ready to live with it, when I suddenly remembered that AWStats, my favorite logfile analyzer, does a pretty good job at keeping track of robots/spiders. It actually includes a Perl module with around 400 regexp user-agent matches for all sort of known robots, spiders and crawlers. I converted the AWStats lookup data into a Java class, Robots, which I used in my Servlet. Thanks to Laurent Destailleur, the author of AWStats, for allowing me to release it in the public domain.