Quicksilver slowdown, crashes, but fixable

My Macbook Pro was getting slower and unresponsive. Then, Quicksilver started to crash. Thanks to some other blog, I found the clipboard module was trying to store huge clipboard data, resulting in a 930 Mb file. To fix it, stop Quicksilver, remove ~library/Application Support/Quicksilver/Shelves/QSPasteboardHistory.qsshelf and restart Quicksilver. My MBP is now fast again.

2010 and smartphone calendars still suck

Everyone and his brother is buying a smartphone these days. The venerable agenda vendors like QuoVadis, TimeSystem and friends all thought “we are dead”. But they can rest, as no smartphone vendor has really provided us with a valid calendar system.

SyncML was a stupid idea (why peer-to-peer sync ?), and CalDAV is the solution. Only, people don’t seem to understand this, and continue to provide stupid peer-to-peer sync over USB cables, instead of a real, good CalDAV client/server environment.

The Apple iPhone has something usable in regards to CalDAV, but it misses the most important view in its Calendar : the week view. Everyone wants a week view, most paper agendas sold are using this view. Why do Apple still miss this, after thousands of requests on their feedback page ?

PocketInformant is selling what seem to be the perfect electronic agenda with all sorts of view, GTD method and task integration, but it doesn’t support CalDAV, and they have no plan to add this in the near future (I asked).

A solution I have found is to use a jailbreak application called myWeek. Not perfect, but OK until Apple or PI wakes up and do their job. Go ahead and support myWeek, it’s only €2.99 (3.99 from version 1.0, so hurry up).

Kouchner n’est pas un homme d’état

Sinon, il ne se serait pas tombé aussi bas que dans son intervention télévisée de cette semaine en accusant presque ouvertement la Suisse de plomber les petites affaires du gouvernement français avec ces filous de Lybiens. Bernard, il est temps que tu rentres dans ton hosto et que tu te remette au boulot, ça rendra plus service à l’humanité que ta manière de faire de la politique.

la fin d’un gâchis considérable

Oracle bat Alinghi 2 – 0. L’Américain a montré des vitesses en moyenne 5 – 10% supérieures. Qui est étonné ?

Quand on me demandait mon pronostic l’été dernier, je disais que les régates seraient inintéressantes, qu’on verrait après 15 minutes quel bateau serait le plus rapide, et qu’il dominerait alors les 2 manches de manière nette.

Dès qu’Oracle a présenté son aile, il était clair qu’ils allaient gagner. Mon pronostic ne changea que pour nommer le bateau qui allait dominer “s’ils ne cassent pas, Oracle gagnera nettement”. Continue Reading »

client-side backup of CALDAV calendars

I recently published a server-side script to backup all calendars stored in a Davical server. On request and idea of Bruno Friedmann, here is a script to save your own calendars from the client. It’s not very elegant (eg it doesn’t discover your calendars but need a static list) but basically works.

#!/bin/sh
#
# save ICS calendars from CALDAV server
# Ch. Bueche, 4.2.2010
#

# connection info
USER=myself
PASSWORD=mysecret
SERVER_URL=https://my.caldav.com/caldav.php/

# list of server-side calendars to backup
# get these names by looking at “get info” in iCal
CALENDARS=”Priv Work 63B209D5-524F-440F-B492-5B028E6C0298″

TODAY=`date “+%Y.%m.%d”`
BACKUP_DIR=”/data/backup/calendars_$TODAY”
if [ ! -d $BACKUP_DIR ]; then
mkdir $BACKUP_DIR
fi

for cal in $CALENDARS
do
echo “getting calendar $cal”
curl -s -k -X GET -u $USER:$PASSWORD -o “$BACKUP_DIR/$cal.ics” “$SERVER_URL/$USER/$cal”
done

echo “all done”

Feel free to find out how to get a list of calendars using some smart curl command and CALDAV enumeration.

a test from my iPhone

Blogpress is an iPhone app to post blog entries. With BTstack, a Bluetooth keyboard and a jailbroken iPhone, it’s quite usable for posting on the go.

1195 days uptime. Try this with Window$

I’m sure someone will complain about the non-patched status of this server and tell me I’m a loosy admin.

expensive thermometer

I had to certify a new device category on a customer NMS, naming a Cisco 2911. To check whether Cisco did a good job with their MIB, I had to cool it down, which was easy, as we have winter right now.

Success, zone-IntakeLeft went down to 10°. I had to close the windows to avoid getting sick, but it would be interesting to try -5° to check the MIB behaviour.

Welcome SUI 223, long live SUI 192

Yeah, I got my new sail number yesterday, it will be SUI 223. Good luck to the new owner of SUI 192, my dear ДАВАЙ-ДАВАЙ.

DAViCal automated backup

This little script automates the dump of your DAViCal database :

#!/bin/sh

PATH=/bin:/usr/bin
export PATH

backup_location=/data/backups/davical

now=`date “+%Y.%m.%d_%H.%M.%S”`
backup_file=$backup_location/davical_$now.pgdump

su – postgres -c “pg_dump -Fc davical > $backup_file”
gzip $backup_file

# remove old backups
find $backup_location -type f -name “davical_*.pgdump.gz” -mtime +30 -exec rm {} \;

exit 0

Install it as /etc/cron.daily/davical_backup on your Linux box.

To restore your database after a disaster, use this :

createdb –owner davical_dba –encoding UTF8 –template template0 davical
pg_restore -Fc -d davical davical.pgdump