Photographing high buildings gives you a picture where the left and right sides converge toward the top, making it look like the building is topling over backwards any moment.

Before digital photography, the only way to fix this were shift lenses. With digital images, you can fix the distortion, but that used to be a partly manual process.

Enter ShiftN. With the click of one button, it looks for lines which should be vertical, and modifies the picture to look like it was taken with a shift lens. Here is an example picture I took of the Bibliothèque Nationale in Paris. Left is the original, right the version ShiftN came up with.

ShiftN is freeware. It is written for MS Windows, but runs perfectly on Linux, thanks to Wine.

And although the ShiftN Web site is in German, the program's UI comes with English texts.

16:34, 17 Sep 2006 by Carsten Clasohm Permalink | Comments (1)

Sorting Mail with POPFile [popfile.sourceforge.net]

"POPFile is an automatic mail classification tool. Once properly set up and trained, it will scan all email as it arrives and classify it based on your training. You can give it a simple job, like separating out junk e-mail, or a complicated one - like filing mail into a dozen folders. Think of it as a personal assistant for your inbox."
- http://popfile.sourceforge.net/

Despite its name, POPFile can sort mails using a couple of protocols, including IMAP. It monitors a configurable list of IMAP folders (usually your inbox), classifies the mails with a Bayesian algorithm, and moves them to one of the target IMAP folders. If the classification was wrong, just move the mail to the correct folder in your email client, and POPFile will learn from its mistakes.

POPFile has been sorting my mail into four folders named 00todo, 01important, 02later and 03trash for the last week. It now has an accuracy of 78%, and is especially good at getting rid of mailing list threads which I am not interested in.

Installation instructions for Linux, Mac OS X and MS Windows can be found on the QuickStart page. While the IMAP module is labelled as experimental, I did not have any problems with it so far. Contrary to the ImapInstructions, it comes with the standard installation of version 0.22.4. So skip the first part of the page, and start with the "How to get it running" section.

15:30, 16 Sep 2006 by Carsten Clasohm Permalink | Comments (0)

Update 15 Jun 2007: See Dell Latitude D800 Suspend to RAM with Fedora 7 for an updated version of this article.

Suspend to RAM on my Dell Latitude D800 just works with Fedora Core 5 and the free nv driver. Suspend also works with the binary-only nvidia driver, but the display either stays black or shows some fascinating color patterns after resume.

It turns out that fixing this is easy, and well worth it. The nvidia driver not only gives you 3D support, but also feels faster when switching tabs in Firefox.

The following has been tested with kernel-2.6.17-1.2174_FC5 and NVIDIA-Linux-x86-1.0-8774 on a Dell Latitude D800 with a GeForce FX Go5200.

As described in the nV News Forum, the following has to be done:

  1. Append "agp=off" to the kernel line in /etc/grub.conf. This disables the built-in AGP driver and allows nvidia to load its own.

    kernel /vmlinuz-2.6.17-1.2174_FC5 ro root=/dev/vg1/root quiet agp=off
  2. Edit /etc/X11/xorg.conf and set the NvAGP option:

    Section "Device"
        ...
        Driver         "nvidia"
        Option         "NvAGP" "1"
    EndSection
    	
  3. Edit /etc/pm/functions-nvidia and disable the "vbetool post" call:

    resume_video()
    {
    	...
    #       /usr/sbin/vbetool post
            ...
    }
    	
  4. Reboot, log in and check if the nvidia AGP driver is used:

    # cat /proc/driver/nvidia/agp/status
    Status:          Enabled
    Driver:          NVIDIA
    	

Suspend and resume should work now.

22:08, 03 Sep 2006 by Carsten Clasohm Permalink | Comments (0)

RSS

Archive

September 2006
S M T W T F S
         
3 
10  11  12  13  14  15  16 
17  18  19  20  21  22  23 
24  25  26  27  28  29  30 
September 2008
July 2008
June 2007
May 2007
March 2007
January 2007
December 2006
September 2006
June 2006
April 2006
March 2006
February 2006
January 2006
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
January 2005
December 2004
November 2004
October 2004

Blog Categories

Hiking (5)
Desktop Linux (28)
Server Linux (5)
Palm (3)
Photography (5)
Politics (2)
Web Applications (15)

Notifications

Request notifications

Syndication Feed

RSS

Recent Comments

  1. Anonymous Visitor: Security issue
  2. Anonymous Visitor: Thanks
  3. Anonymous Visitor: AT&T U.S.
  4. Anonymous Visitor: All went well under CentOS 5.0 in Croatia (VIP network)
  5. Anonymous Visitor: tmp crypt not necessary
  6. Anonymous Visitor: Great article
  7. Anonymous Visitor: So it's not a Virus...
  8. Anonymous Visitor: Thanks! Helps also on Windows!
  9. Anonymous Visitor: Thank you
  10. Anonymous Visitor: Economic Incentives