Trudge, trudge, trudge

Oh no, I’ve hit the slump.

I spent some time working on the Wicked Cool Emacs today. Spam filtering - not something I’d set up before. I’m writing it because I promised to write it, but I can’t shake off the feeling that this part would be better done by someone who’s passionate about Emacs and spam filtering. I have Google handle my spam filtering for me, so I haven’t needed to do anything more sophisticated. Still, not everyone’s going to have the same set-up, so it would be good to document that too.

I’m tempted to jump to a different chapter and start working on that, just to make working on the book fun again.

Web 2.0 @ Work: Creating a professional profile

Do you have a professional website, or do you just leave your professional profile up to random Internet search results or sparse corporate directory listings?

Although we have a terrific centralized corporate directory at IBM, I’ve found it very useful to also have a simple professional profile with a short biography, my contact information, and links to the other services I use on the intranet and on the Internet. Having one site that brings all of these things together makes it easier for me to help people get to know who I am, what I’m passionate about, and where they can find out more about me. I include this URL in my e-mail signature and in my presentations so that people can find me easily.

I use Wordpress as a content management system so that I can quickly add links and pages without editing HTML. On my internal site, I use the Blueprint theme for Wordpress. It’s clean and easy to read, and it fits with Big Blue’s color scheme. The front page explains who I am, what I do, and what my team does. It also links to places where people can check out my bookmarks, download my latest presentations, and so on.

To set up something like it:

  1. Download and install Wordpress.
  2. Download and unpack the Blueprint theme to your wp-content/themes/ directory.
  3. Choose the Blueprint theme from the Wordpress administration interface.
  4. Create a page called “About”. Fill it in with details about yourself.
  5. Set the About page as your site’s front page in the Settings - Reading menu.
  6. Create links to your profiles on other services and other related websites.

Technorati Tags

Paperwork

Check out this strip from PHDComics on the joys of visa paperwork. Been there, done that… <laugh&gt

Technorati Tags

IBM Pass It Along - social learning!

I’m happy to share that one of my favorite Enterprise 2.0 tools within IBM is now available on the Internet. IBM Pass It Along is now available on Alphaworks, a public IBM site for people interested in trying out emerging technologies–all you need is a free ibm.com account. IBM Pass It Along is about sharing what you know and learning from other people. If you have a how-to you’d like to share, create a topic for it. If you’re curious about something, request it. If you’re just curious about the crazy tools we use within the enterprise, check it out! =)

Here’s what I love about Pass It Along, and I think you’ll love it too:

  • You can find out who’s learning a topic and see what else they’re interested in. Sharing what I know becomes a lot more fun when I can see who’s learning, because it gives me feedback that what I’m sharing is useful. Lists of people are much better than anonymous hit counts because I can view their profiles to see what else they’re interested in.
  • You can learn from other people’s contributions. People can add links, related presentations, discussion topics, and other updates. For example, the "How to Make the Most of Your Commute" topic I started within IBM drew lots of interesting suggestions.
  • You can create a place for discussions. I give a lot of presentations, and Pass It Along topics are a terrific place to hold follow-up discussions and reach out to more people. I post my presentation material using the Presentation Wizard and include the URL of the Pass It Along topic on my slides. It’s a great way for learners to connect with each other, too.

I also really like how a newbie like me can create value for other people by sharing what I’m learning. =) Whee! I’m copying some of my public content over, and you can find my topics on Pass It Along.

IBM Pass It Along on Alphaworks is a public site open to everyone. Access controls will follow soon, so you can limit topic access to just your organization if needed. IBM Pass It Along is even better inside your organization, where you can link it up with your employee directory or do all sorts of other cool stuff.

Check it out - it might be a great fit for your organization!

IBM Pass It Along

Technorati Tags , , , , , ,

Emacs Gnus: Searching Mail

There are several ways to find messages in Emacs. From the summary
buffer, you can use / o (gnus-summary-insert-old-articles) to display
all or some old messages. You can then scan through the headers in the
summary buffer by using C-s (isearch-forward), or you can limit the
displayed messages with these commands:

Messages from a given author / a gnus-summary-limit-to-author
Messages whose subjects matching a given regular expression / / gnus-summary-limit-to-subject
Messages that match a given extra header / x gnus-summary-limit-to-extra-headers
Messages at least N days old / t gnus-summary-limit-to-age

Limits work on the messages that are currently displayed, so you can
apply multiple limits. If you make a mistake, use / w
(gnus-summary-pop-limit) to remove the previous limit. You can repeat
/ w (gnus-summary-pop-limit) until satisfied. To remove all the
limits, type C-u / w (gnus-summary-popl-limit).

If you specify a prefix, the limit’s meaning is reversed. For
example, C-u / a (gnus-summary-limit-to-author) will remove the
messages from the matching author or authors.

You can use Gnus to search the currently-displayed messages by using
M-s (gnus-summary-search-article-forward) and M-r
(gnus-summary-search-article-backward).

If you want to search a lot of mail, you’ll find NNIR handy. NNIR is a
front-end to mail search engines which can index your mail and return
search results quickly. If you want to use NNIR with a local or remote
IMAP server, you will need to use nnir.el and imap.el. If you download
your mail using fetchmail or connect to a POP3 server and use an nnml
backend, you can use NNIR with a search engine such as swish-e to
search your ~/Mail directory efficiently.

1.6.7.1 Setting up IMAP and NNIR

If you use IMAP, then your mail is stored on the mail server and
you’ll need to use the IMAP search interface to search through
it. Download nnir.el from
http://www.emacswiki.org/cgi-bin/wiki/download/nnir.el and save it to
your ~/elisp directory. You will also need an imap.el that is newer
than the one that comes with Emacs 22. Download imap.el from
http://www.emacswiki.org/cgi-bin/wiki/download/imap.el and save it to
your ~/elisp directory as well. Because Gnus comes with an older
version of imap.el, you will need to make sure that the new version of
imap.el is loaded. Add the following to your ~/.gnus:

(add-to-list 'load-path "~/elisp")
(load-file "~/elisp/imap.el")
(require 'nnir)

Restart your Emacs. You can check if the correct version of imap.el
has been loaded by typing M-x locate-library and specifying
imap.el. If Emacs reports “~/elisp/imap.el”, then Gnus is configured
to use the updated imap.el.

1.6.7.2 Setting up POP3 and NNIR

If you use the configuration for POP3 that is suggested in this
chapter, then your mail is stored in the nnml backend, which uses one
file per message. To search this using NNIR, to install nnir.el and an
external search mail engine. The Namazu search engine runs on Linux,
UNIX, and Microsoft Windows, so that’s what we’ll talk about here. To
find and configure other mail search engines supported by NNIR, check
out the comments in nnir.el.

First, you’ll need to download and install Namazu. If Namazu is
available as a package for your distribution, install it that way, as
it depends on a number of other programs. An installer for Microsoft
Windows can be found at http://www.namazu.org/windows/ . If you need
to build Namazu from source, you can get the source code and instructions
from http://www.namazu.org .

After you’ve installed Namazu, create a directory for Namazu’s index
files, such as ~/.namazu-mail. Then index your mail by typing this at
the command-line:

mknmz --mailnews -O ~/.namazu-mail ~/Mail

and add the following to your ~/.gnus:

(add-to-list 'load-path "~/elisp")
(require 'nnir)
(setq nnir-search-engine 'namazu)
(setq nnir-namazu-index-directory (expand-file-name "~/.namazu-mail"))
(setq nnir-namazu-remove-prefix (expand-file-name "~/Mail"))
(setq nnir-mail-backend gnus-select-method)
1.6.7.3 Searching your mail with NNIR

From the group buffer displayed by M-x gnus, you can type G G
(gnus-group-make-nnir-group) to search your mail for a keyword.

If you’re using the Namazu search engine, then you can use more
sophisticated search queries such as:

Linux Emacs messages that contain both “Linux” and “Emacs”
Linux or Emacs messages that contain either “Linux” or “Emacs”
Emacs not Linux messages that contain “Emacs” but not “Linux”
Emacs and (Linux or Windows) messages that contain “Emacs” and either “Linux” or “Windows”
“apple pie” messages that contain the phrase “apple pie”
{apple pie} messages that contain the phrase “apple pie”
+from:example@example.com messages with example@example.com in the From: header
+subject:”apple pie” messages with the phrase “apple pie” in the Subject: header
+subject:apple +subject:pie messages whose Subject: headers contain both “apple” and “pie”

If
matching messages are found, then you will see a temporary group with
the results. Although you can’t delete messages from this view,
reading and replying to these messages is the same as reading and
replying to regular messages.

To see a message in its original context, type G T
(gnus-summary-nnir-goto-thread) from the summary buffer. This opens
the message’s original group. If Gnus asks you how many articles to
load, press RET to accept the default of all the articles.


This is a draft for the Wicked Cool Emacs book I’m working on. =) Hope it helps!

Technorati Tags , , , , , ,