Archive for July, 2008

Linux 2.6.26 including memtest

Thursday, July 24th, 2008

Memtest is a commonly used tool for checking your memory. In 2.6.26 Linux is including his [sic] own in-kernel memory tester. The goal is not to replace memtest, in fact this tester is much simpler and less capable than memtest, but it’s handy to have a built-in memory tester on every kernel. It’s enabled easily with the “memtest” boot parameter.

Commit log

Developer responses to App Store reviews

Thursday, July 24th, 2008

Craig Hockenberry on App Store reviews:

Some have suggested that buying the app should be a requirement before leaving a review. I agree, but this will not completely mitigate the need to vet content. A large percentage of applications are free: the trolls will just download before going on their merry way.

If all of this wasn’t depressing enough for developers, I’ll leave you with my biggest disappointment: reviews are a one way street. I’m not one to feed the trolls, but many of the reviews I’m seeing would benefit from a “Just try this…” or “We’re working on that…” type of response. There’s not even a link to our support on the reviews page.

I’ve found that the effect of having a single, centralized source for iPhone apps can be a two-edged sword. While it gives the developer much greater exposure with much less work, it also provides a single, centralized feedback forum, with a de facto community of users that can and will publicly praise or decry your work.

iPhone 2.1 beta, no sign of NDA.

Thursday, July 24th, 2008

http://developer.apple.com/iphone

Updates to the Push API that is coming later this year, GPS updates rumored to be getting prepped for turn-by-turn:

A few new things we are seeing in this version of the software is the addition of a bunch of Core Location features that track the direction you are heading, and the speed you are traveling.

The notes state you cannot use this toolchain to build apps for the App Store, and apparently the link to the NDA is gone. (Via GearLive)

MarsEdit

Thursday, July 24th, 2008

Along with the native Wordpress client for the iPhone, I’m trying out MarsEdit. The live preview is nice, and so is the ability to quickly look back over and edit previous posts.

It seems strange to use a specialized client app for posting on a website, but not strange at all to use a specialized client app for, say email or Usenet.

Wordpress.app on the iPhone

Wednesday, July 23rd, 2008

Nothing special, but it does allow posting, editing posts, and previews.

The iPhone as the “Mac tablet”

Wednesday, July 23rd, 2008

TUAW’s point/counterpoint on the iPhone as the long rumored OS X tablet.

See also.

Fox News anchors sit with fake coffee

Wednesday, July 23rd, 2008

http://www.boingboing.net/2008/07/23/fox-tv-news-anchors.html

Pretending it’s a comedy or parody show is the only way I can not cry about this.

MultiTail

Wednesday, July 23rd, 2008

http://www.vanheusden.com/multitail/

Great utility for tailing multiple files on one console.

spamlearn, part two

Tuesday, July 8th, 2008

After much reworking, I have updated my spamlearn script yet again.

NEW
You no longer need to specify a list of ham directories. It will automatically scan your $MAILDIR and seek out all folders. All you need to do is tell it which folder(s) to use as Junk, and optionally any folder(s) you don’t want imported as ham. I exclude Trash and the Apple Mail To Do folder, for example.

More complex and repetitive tasks have been moved into functions, and generally the code just looks a lot cleaner and is easier to read.

I’ve moved the 5 variables that most people would need to worry about to the top, with lesser altered variables below that. For a default amavis/spamassassin install, just changing the top 5 will make it work most of the time.

More code has been moved into tight routines, and unnecessary bits have been removed. Some options have been combined, for example, unsetting MAILTO, LOGFILE, or QUARANTINE will disable those features entirely. The verbose mode isn’t quite so verbose anymore since it has been migrated from it’s debugger origins. The log and mail report are now prettier, and adjustable timestamps have been added to all log entries.

All you absolutely need to change are the top 2 variables, but have a look at them all for your own adjustments.

http://airwaterunix.org/spamlearn

spamlearn

Sunday, July 6th, 2008

I have posted my spamlearn script for anyone to use. I tried to make it as useful as possible for cleaning up those things that amavis/spamassassin don’t cover, and made it as easy as possible to change to anyone’s needs.

The script will crawl through a set of user defined spam and ham IMAP-style Maildir folders, importing the new messages into the spamassassin database. It then gzips, renames, and moves the spam into the normal amavis quarantine. It logs everything it imports, and optionally generates an email to you to let you know what it has done. I recommend putting this in your cron.weekly.

If you use this, have a look through the top 30 or so lines and change the variables to suit you. Of particular note:

MAILDIR
Change this to the top level of your user’s Maildir format directory. This script assumes you are using IMAP compatible Maildirs.

SPAMDIRS and HAMDIRS
You can have as many of these as you like.

MAIL_REPORT
This will send out an email to $MAILTO with a report detailing which spam and ham have been imported into the database. But it will only send if spam was found. Just finding ham alone won’t trigger it.

LEARN_AS_USER
If you run spamassassin as a daemon with the defaults, leave this alone.

The rest should be pretty straightforward. Don’t forget to change the From address in MAILHEADER.

http://airwaterunix.org/spamlearn