I spent a frustrating few hours yesterday and today trying to get things to work properly. I updated to WordPress 3.0 (it went well in a test-environment) and then stuff started to break big time.

I use Textile for markup and suddenly, that caused issues. I tried switching it off, and switching to a lighter version, and I still had trouble editing and displaying posts. Eventually I deleted the WordPress files and installed them again and tried to get everything to work again as I wanted.

Then my RSS-feed broke and Feedburner started to complain.

I think I fixed it...

I really hope I did...


mail facebook google identi.ca stumble tumblr twitter print

Balcony overview.
plants today
I received my new camera a few days ago and have enjoyed using it. It has some big advantages over my older camera (insane zoom, wide-angle, remembers settings between off-on, easier controls) and the only disadvantage so far seems the weight (something I can manage). On the left you can see a photo of my balcony from today, taken with the new camera. Below it, the one from last week, taken with the old.

The lettuces (in the middle in round grey pot) have done particularly well. More salads for me!


Balcony.
plants six days ago


mail facebook google identi.ca stumble tumblr twitter print

I love procmail, not sure why I prefer it over other options, but I do. Recently I've found / figured out a few nice rules to help automate filtering a bit.

The following rule checks for the existence of various headers usually used by mailing-list and filters the mail into a mailbox with the list's name:

:0
* ^((List-Id|X-(Mailing-)?List):(.*[< ]\/[^>]*))
{
    LISTID=$MATCH

    :0
    * LISTID ?? ^\/[^@\.]*
    .$MATCH/

}

Some mailing-lists don't have a 'List-Id' and such, but they do have a 'Sender'. For these I use:

:0
* ^X-BeenThere:.*
* ! ^(List-Id|X-(Mailing-)?List):.*
* ^Sender: \/[^@-]+
.$MATCH/

For a lot of webforms I use an address with a '+' in (a completely valid symbol in an e-mailaddress btw). If I'd need to use an address for say, google.com, I'd fill in 'tannie+google@tanniespace' (and .com ofcourse). To filter out these addresses to their own folder I use the following rule:

:0
* ^TO.*+\/([a-z].*)\@(mydomain|otherdomain)
{
    EXTENSION=$MATCH
    :0
    * EXTENSION ?? ^\/[^@\.]*
    .$MATCH/
}

mail facebook google identi.ca stumble tumblr twitter print

A couple of weeks ago I found and edited a php script to help me post photos to flickr from Tweetie for iPhone (now Twitter for iPhone—do keep up...). After using it for a while I realised the title of the photos got a bit too long for my taste and I spend a little time tweaking. I've now changed it so that the first sentence (up to the first . or ! or ?) becomes the title. The rest becomes the description of the photo. For me this works out pretty well.

I added the following lines (changing the last line of my previous tweak to prevent confusion):

    $string = preg_replace("/#\w+/i", '', $title);
    //previously the above line said: $title = preg_replace("/#\w+/i", '', $title);

    if (preg_match("/^.*(\.|\!|\?)/U", $string, $matches)) {
      $title = $matches[0];
      $description = preg_replace("/^.*(\.|\!|\?)/U", '', $string);
    }
    else {
        $title = $string;
        $description = "";
    }

right before:

    $parameters = array(
        'api_key' => API_KEY,
        'auth_token' => API_TOKEN,
        'tags' => $tags,
        'title' => $title,
        'description' => $description,
    );

Note that I also added that last field in there ('description'). I haven't completely tested it, however, my limited tests seemed to work fine.
I don't really know much about php, so I probably used more lines than I needed. This way I could keep track of what I did though, and I think I'll still understand my changes a couple of months from now.


mail facebook google identi.ca stumble tumblr twitter print

Recently I found a php script by Chris Morrel which allows you to post photos to flickr (and get the correct flic.kr short url back) from Tweetie 2. I tweaked it a little to get used hashtags as flickr-tags and to have them removed from the title (the script uses the message as the title).

Right after:

    $tags = FLICKR_TAGS;
    if (TAG_WITH_HANDLE) {
        $tags .= ' @' . $_POST['username'];
    }

I added:

    preg_match_all('/#(\w+)/', $title, $matches);
    foreach ($matches[1] as &$tag) {
        $tags .= ' ' . $tag;
    }
    $title = preg_replace("/#\w+/i", '', $title);

It worked as I wanted, so yay!


mail facebook google identi.ca stumble tumblr twitter print

A while back I wrote about snoozing and deferring tasks in OmniFocus and Dan's scripts. He has since added two more scripts, to move tasks to today and tomorrow quickly. Sometimes I don't check my task-list for a few days (for whatever reason) and then I may *cough* have tons of overdue items. These two scripts easily let me put them on the right day, either today or tomorrow, and helps me clean up fast.

I've set up the same shortcut keys in Fastscripts.

Today I've also edited my task-list. I had too many things on them and felt overwhelmed. After listening to one of Michael Nobbs' audioboo in which he mentioned his three things to do list and the twenty minute trick (I go for fifteen), and also mentioned that once something becomes a habit he just does it and doesn't add it to the list anymore, I decided to remove a few items that I know I do anyway. It looks much smaller and much easier to manage.

I might actually go and do something today...


mail facebook google identi.ca stumble tumblr twitter print

I went to the T-shop to check on my phone because I hadn't heard anything yet, and I noticed they had the wrong number on my form. Turns out, they had my (replacement) phone there. The lady was very nice and I hope this one works better than the other one. At least it doesn't have any dead parts in the screen (so far) and it seems to work properly.
I give it another week before I slap my Zagg shield on it.


mail facebook google identi.ca stumble tumblr twitter print

unresponsive part of iPhone touch screen
unresponsive part of iPhone touch screen

Unfortunately, I had to continue my iPhone saga. The iPhone I received worked but showed some issues. It took a while before I figured out what exactly, but it turned out that randomly, the middle part of the screen would stop responding to touch. Sometimes it would work, sometimes it wouldn't (as shown on the picture). Sometimes the entire screen would stop responding, which I could usually solve by pressing that top-button to lock it and then unlock it.

I returned it today and expect it (or another one) back in a week or two. In general I've had no issues with the process, just too bad I got a bad phone in return. When I pick it up, I'll make sure to test it before taking it home though :)


mail facebook google identi.ca stumble tumblr twitter print

I crawled out to the T-shop to pick up my phone and got a replacement one. As far as I can tell, I got a brand new one, yay! I didn't put the backup back; instead, I went for a clean install, selecting the apps I wanted and setting it up from scratch. So happy to have it back!


mail facebook google identi.ca stumble tumblr twitter print

The T-mobile site updated my repair status with:

Result of repair:
You can pick up your phone at the T-shop.
Warning: if you get the confirmation that you can pick up your phone, it could take up to 3 workingdays before you can.

They should give me a ring from the T-shop when they have it, hopefully Thursday or Friday. I suspect they'll send it out today, so maybe even tomorrow, yay!

So far, everything went pretty smoothly and if it works when I get it back, I'll feel very happy

I miss my touchscreen...


mail facebook google identi.ca stumble tumblr twitter print
  • search

  • archives

  • categories

  • Receive posts per e-mail: