Archive for the ‘Geekery’ Category.

Blogging Systems

I’m not going to put my blog on some “free” advertiser supported site where you have to click-sign away rights to your own material, that’s put into a database that I don’t have access to, on a server of unknown reliability.

But then…

  • Nucleus can’t put a blog entry into more than one category.
  • WordPress doesn’t require users to register before posting comments, hence, it is comment-spam bait. (I received about 20 comment spams on the first day of use and could find no reliable way of stopping them without entering an obfuscation battle with the spammers, a battle I don’t want to fight)
  • PMachine Free Edition doesn’t seem to support permalinks in a nice way. I think the $150 pay version, “Expression Engine” does.
  • BlogCMS isn’t supported natively on Spenix (I’ll still try it soon anyway)
  • b2evolution also has minimal protection against comment spam.

You might think I’m overreacting when I talk about not using a particular system because of comment spam problems. But I’ve seen WAY too many blog posts like the following “i never write here anymore. i’ve had it up to here, there and okay there with pr0n comment spam.” That comes from a b2evolution user.

Just do a google search for wordpress “comment spam” or b2evolution “comment spam”. It’s a huge problem.

My current system still keeps chugging away…. a flat file index.html file that I hand edit with Frontpage. CSS makes it look good.

Here’s a nice analysis from Kas Log (I would have put this behind a ‘cut’ but I don’t have a very sophisticated blogging system ;-)

Open Source weblogging tools

This weblog is powered by WordPress, and aside from saying thanks to the WordPress team for building a great Open Source weblogging tool, I thought it might be useful to share my reasons for choosing this package over several others.

Before I started looking at any specific tools, I came up with the following list of requirements:

  • Must run comfortably on accounts hosted at
  • FatCow. This weblog isn’t hosted there, but nabeepchen.com which I set up at the same time is. Also, my corporate site (felinity.com) is hosted at Fatcow, and I might want to add a blog to that later. [Note: I’m a Fatcow affiliate. If you sign up for a web site with them by clicking on the Fatcow link above, I get some moolah.]
  • Must have a browser based interface that is easy to use, but powerful enough for first class blogs. The interface should be lean and efficient, although a little eye candy never hurts.
  • Must have integrated comments, pings, and trackback.
  • Must provide comment moderation.
  • Must be actively maintained.
  • Must support RSS feeds.
  • Must update pages automatically [added after trying Greymatter].
  • Must allow multiple categories per post [added after trying Nucleus].
  • Look and feel of weblog must be completely customizable.
  • Should have automatic comment spam filtering.
  • Should support Atom feeds.
  • Preferably Open Source.
  • Compatibility with desktop weblogging front-ends would be nice.
  • The fewer external dependencies (plug-ins, libraries, etc.), the better.

Fatcow runs MySQL 3.23.x, and Apache 1.3.x with PHP 4.x and Perl, on Sun Solaris servers. Unfortunately, neither Python nor PostgreSQL are supported, which limits my options a bit. After a quick look at the system requirements for various packages, I narrowed my list of potentials down to four programs: Blosxom 2.0, Greymatter 1.3, Nucleus 3.1, and WordPress 1.2. On the commercial side, I knew that Movable Type would fit the bill, if none of the Open Source alternatives came close enough.

WordPress came out on top and meets all of my requirements, including the optional ones. Not considering price, I think it even beats Movable Type. Read on, for my impressions of each package, but note that I spent only two or three hours with each of them, except of course WordPress. Just keep in mind that there is probably a lot of stuff I missed, and newer versions may shift the overall picture considerably.

Each of the packages is relatively easy to install, if you know your way around a Unix system. Blosxom and Greymatter store everything in plain text files, and are written in Perl. Nucleus and WordPress require a MySQL database, and are written in PHP 4.

I quickly crossed Blosxom and Greymatter off my list, because neither had the must have features. Nucleus and WordPress were a much better match, and it took me a bit more time to decide between the two.

Blosxom is great for people who live their lives in the Unix shell. You just create a simple text file, and voilà, the blog entry is on-line. Categories are the directories underneath the main data directory. This approach makes it exceptionally simple to automatically post stuff from scripts and whatnot. Unfortunately Bosxom has no real web based interface. The plug-in for that is experimental and bare bones to the extreme. I was also a little concerned about performance for large sites, because each request might require searching through multiple directories and files, although the caching plug-ins that are available might address those concerns. Blosxom itself is just a single Perl CGI script with a few hundred lines of code, and installation is trivial. However, to get the functionality I want, I would also have had to separately install and configure a number of plug-ins, and while that might give me the functionality I need, it also means a lot of tweaking and fiddling, and extra work to keep everything up-to-date. What I did like and have not seen in other packages is the simple, but effective URL hacking scheme Blosxom offers. Basically, you can just concatenate categories and dates with slashes, to drill down by category or date. I am using the same approach for some internal tools, and I was pleasantly surprised to see the same idea implemented here. The bottom line: Blosxom is too complicated for casual users, and it didn’t have the features I was looking for.

Greymatter came a bit closer to what I had in mind. It did have a web based interface, built-in comments, and like Blosxom, the blog entries are stored in plain text files. One thing I learned from playing with Greymatter was, that I didn’t want a program that requires me to rebuild my pages manually. It wasn’t on my original list of must have features, but I added it as a requirement. Aside from two step updates, Greymatter didn’t support comment moderation, pings, trackbacks etc. On a more subjective level, I didn’t like the look and feel of the interface.

Nucleus made a strong impression immediately, with a clean and well designed interface. Setup was trivial, and I liked the little pop-up window for uploading images, and choosing existing files from a list. Surprisingly, adding a blog style calendar is only available via a plug-in. Out of the box, Nucleus allows comment deletion and IP banning, but comment moderation, pings, and trackback require plug-ins. One requirement I added to my must have list, after using Nucleus, was the ability to put posts into multiple categories; Nucleus supports only one category per item. The biggest drawback from my point of view was Nucleus’ template system. If your site design fits neatly into the Nucleus framework of templates and skins, then customization is easy enough. But if you expect to go beyond basic blogging functionality you might find it quite limiting. One feature Nucleus offers that I didn’t need, but that could make all the difference to some people, was the ability to handle multiple blogs.

WordPress was the last program on my list of candidates. Installation was trivial, and although I might prefer the Nucleus look slightly, the WordPress interface is pleasant enough and functional. Most importantly, WordPress had all of the features I was looking for right out of the box; no plug-ins needed. The main template is simply a PHP script with a style sheet. You can change the look of WordPress sites quite dramatically by just dropping in a new style sheets, but even editing the content and layout is easy enough, if you know HTML and just a tiny bit of PHP. Multiple and even hierarchical categories are supported, as are pings, trackback, and the various feed formats. After using Nucleus, the image upload feature seemed a bit bare bones, but it works and a plug-in might improve things. Where WordPress stood out was in comment handling. You can configure the program to queue comments for moderation if they contain common spam words, come from certain IP addresses, or contain a certain number of links. If there’s one complaint, it’s that the documentation is a bit sparse and scattered, but it was sufficient to get everything set up the way I wanted it. The WordPress forums are very active and helpful; all my questions had already been asked and answered.. Make sure to check out the WordPress Wiki. I overlooked that at first, and it seems much more complete than the reference documentation on the main page. All in all, given my requirements, WordPress was the clear winner.

Windows Tweaks

Firefox 1.0 Tweaks

Lots of tweaks at http://windowssecrets.com/041202/
Fixing a memory leak-ish issue in Firefox 1.0

Firefox tends to use more memory than maybe it should. Here’s how to fix the issue. From forums.mozillazine.org

Type about:config into the location bar, press enter, right click any line, choose “new”>”integer”, paste this into the dialogue that appears:
“browser.cache.memory.capacity”. Click OK, specify the amount in kb in the next dialogue that appears, restart firefox.

Yes, it seems to help performance.

Windows XP Tweak: Prefetch

Windows automatically preloads programs it thinks you use a lot. But many programs shove their way into this folder, sucking up your RAM. Once every couple months or so do the following:

del c:\Windows\Prefetch

Your computer will boot faster and use less RAM. The worst that can happen is some programs will load slower the first time you start them after doing the fix.
Credits: tweakxp.com, techrepublic.com.com

Make Firefox Prefetch

I use Firefox all the time, so I do this:

You can speed up the loading of Firefox on Windows XP by adding it to the programs that XP “prefetches.”

To do this, right-click the Start Menu item for Firefox, or any icon you use to start Firefox, and open the Properties dialog box. Add a space plus /Prefetch:1 to the command line and click OK. The resulting line might look as follows:

“C:\Program Files\Mozilla Firefox\firefox.exe” /Prefetch:1

A detailed explanation of XP’s prefetch feature is provided by TechRepublic.

Windows XP Tweak: Defrag

An oldie but a goodie. Run:

defrag c:

Every couple months

My Local Computer Warehouse

There’s a computer wholesaler in downtown Hackettstown… a -real- computer wholesaler. They’re not interested in selling systems to me for my clients… they only sell computer systems by the pallet. Nifty. GoCWI.com

Kryptonite Locks

http://www.bikeforums.net/showthread.php?t=66128&page=1&pp=25

Ha.

The Kryptonite Evolution 2000 bike lock (with a $3,000 theft warrantee) can be defeated with a Bic pen in 10 seconds.

If you outlaw Bic pens, only outlaws will have Bic pens!

Symantec’s Legal Department

At the request of a client, I contacted Symantec about some suspected pirated software I bought on Amazon zShops. I sent the Symantec legal department a juicy info packet on my purchase.

From: Chansonette Connolly [mailto:ccon.don’t spam her.nolly@symantec.com]
Sent: Monday, June 14, 2004 4:03 PM
To: [Lee]
Subject: Re: Report of Suspected Piracy of Norton AntiVirus 2003 from a Third Party on Amazon.com 4/21/04 – [removed] (zShop)

Dear Mr. Sonko,

Thank you for submitting to us the CD you purchased from [removed] (zShop) marked “Symantec Norton AntiVirus 2003” for evaluation, together with your documentation. We have examined the CD you submitted and believe it to be counterfeit. Therefore, and as I am sure you can understand, we will not be returning the CD to you. Our records show that this entity is not an affiliate or authorized partner of Symantec.

You may wish to contact your credit card / financial organization and find out what options you may have in a situation like this. We appreciate your taking the time to send us documentation relating to your purchase, which will assist us in continuing to investigate this matter further.

We appreciate the faith you have shown in Symantec’s products by purchasing legitimate software to replace any counterfeit software you might have had. Please be assured, you have made the right decision given the risks associated with counterfeit software, be it faulty operation, leaving your computer open to cyber attack or possible damage to your computer. Furthermore, legitimate software gives you the right to obtain updates generated by Symantec for that software. Updates are necessary to help protect your system from cyber attacks, which evolve on a daily basis.

We look forward to serving you as one of our valued customers and hope to make your cyber experience as safe and enjoyable as possible.

Sincerely,

——————————————————————————–
Chansonette Connolly
Manager, Worldwide Brand Protection
Legal Department
Symantec Corporation
Office: (408) 517-8045
Interoffice: 6 [408] 8045
Fax: (408) 517-8121

Email:
chanso.don’t spam poor Chansonette.nette_connolly@symantec.com

www.symantec.com

Any my response

When I wrote to Drakes (the company that makes Devil Dogs, Ring Dings and Yodels supermarket pastries) telling them about some bad Yodels I bought last year, they at least gave me a coupon for some free Yodels. When I wrote to them, all I included was a photo of some sorry-looking Yodels and a short explanation. When I wrote to you, I included a lengthy description that puts me on the spot vs. Amazon and vs. an Amazon seller, packaging material, and the actual product. You now have all the incriminating evidence you need to stop a major American pirate of your software.

For my trouble, all I got was a pat on the back. You can be sure that I won’t ever be bringing potentially pirated software to your attention again. You could learn a lot from a Yodel.

More with the Backups

cwRsync is a yet another packaging of Rsync and Cygwin. You can use cwRsync for fast remote file backup and synchronization

boxbackup
has been ported to cygwin on Windows!. It’s still in beta but this is looking like a real option. When I get a minute (yeah, right) I’ll try it out.

Archives of your site

If you have ever accidentally deleted your web site, you might find it cached on the web with one of these tools

* Archive.org
* Do a Google search for your web site like so: allinurl:mysite.com site:mysite.com

(thanks to Uptimebot and Google for that second pointer)

Backups with Computer Associates

CA has this big ad in eWeek Magazine for their backup software. So I asked them

I am looking for a backup product capable of backing up from a Win XP computer to an untrusted Win XP or Linux machine on the internet. It should be possible to access the data on the untrusted machine in a random access manner.

We’ll see what I get for a response.

Anti-Spam Haiku

http://habeas.com/ I still don’t totally understand how this company uses the power of haiku to defeat spammers. But I think I like it.

I think it works thusly:
– If you promise not to spam people and sign up with them, you get 8 points subtracted from your SpamAssassin score when you use the Habeas header in your emails.
– If you (illegally & inappropriately) use the Habeas header in your email, then when the Habeas people catch you, they’ll tell SpamAssassin that the IP address that sent the email gets 8 points added to their spam score.
– If you illegally use the Habeas header, they’ll sue your ass off, but quick, for copyright infringement (the poem), defamation (their header would never voluntarily associate with spam), and license infringement (you didn’t sign up for the Habeas service).

Nice. Of course, a distributed offshore email relaying scheme can probably get around it. Forged headers might also be able to get around it. The battle continues…

(For reference, using the phrase “WIN FREE VIAGRA!” in the subject field of an email costs the message only about 4 points. A difference of 8 points will almost definitely make or break an email’s spam threshold in SpamAssassin. I’ve only every been marginally happy with SpamAssassin’s performance. I set it to a threshold of “8” and it catches about 10 spams a day (that’s 40% of the spams I receive recently). If I set it any higher, it starts catching legitimate mail. Still, SpamAssassin from my email hosting company and Cloudmark Spamnet on my client have been working together to do an excellent job recently.)

Thanks to Dada Mail for pointing out this Habeas thing to me.

Oh and I also just noticed….

Vispul’s Razor (the source code for Spamnet) is open source. The plug-in for MS Outlook (the Spamnet service) isn’t.

The Vispul’s Razor / Spamnet collaborative filtering servers are located at cloudmark.com.

That’s an interesting collaboration between open source and not… The unix folks are free to develop the brains of the system in an open source environment while Vispul is (hopefully) making money off the gazillions of Windows clients. If you had unix at home, you’d be able to get the service for free. But hey, Vispul is only charging $2.00/month for the service. It’s well worth it for any individual client to buy the service. Everyone wins. Open source seems to work.

Digital Sundial

Ok, this is pretty cool.

http://www.digitalsundial.com/