Sunday, January 21, 2007

Car Insurance in Ireland ... yes, but ...

Yeah, I know I have not been blogging for a long time - but one of my new year's resolutions is to keep this blog alive by posting at least once a week.


I am pretty sure everyone remembers that old joke:

"Have you heard that they give away Mercedes-Benz cars on the Red-square in Moscow? Yes, but ...  not on Red-square in Moscow but in front of the Winter Palace in Sankt Petersburg, not Mercedes-Benz but bicycles, and they do not give - they still"

Well actually I felt like this for the last couple of days trying to finalize my car insurance in Ireland. I believe this is part of the answer-quick-forget-if-it's-right culture in Ireland but this time it went way too far.

Before we bought our car some time ago we asked around all our friends if there is any way to get a cheaper car insurance. And we have been told that if we will get it from Tesco/Hibernian they will acknowledge my 6 years of no-claims and get us a huge discount. We did so, compared with others - and it was really true (well, we thought so at that time). It turned out that we only had to get PZU (a polish insurance company) to send a letter confirming that no claims have been made for the last 5+ years, and got it translated by the Polish Embassy; and our car insurance will drop from €1000 to €400.

Cool, piece of cake we thought. PZU'd send the letter pretty fast, I translated it, and sent off to the Polish Embassy for confirmation (together with a check on €60). They sent it back pretty soon as well, but since we were gone for almost a month, I called Tesco to make sure they will wait for this letter another month. "No problem" they said.

Once we got back, I'd collected the letter with the translation and re-sent it together with my car insurance agreement to Tesco. Everything according to the schedule...

And all started to go wrong. First Tesco could not find my letter (it was a registered post so I know they got it on time). Finally, they told me that I can get the no-claims bonus but ... I have to cancel my other insurance (from my previous insurer on my second car). I thought "what a hack?". l It took me a while to understand that obviously there is a rule that you cannot get discount on insurance on more than one car. Stupid, isn't it? Anyway, I was trying to explain that it is not possible to unregister my second car in Poland because I do not own it just by myself. It did not help.

I went over the whole agreement, all documents attached to the agreement, small caps notes - there was no saying I cannot get discount if I own another car that has insurance with no-claims bonus. Finally I found it - they put this information in the FAQ. Pretty professionally, isn't? But AFAIC FAQ is not a part of an agreement.

Anyway, I tried to save what I could by finding another company. I went to AXA. I knew what to ask about - my second car. Surprisingly, I have been transfered to a polish speaking person (so I am pretty sure there was nothing lost in translation). I have stared with my question. They told me - it is ok. You can have two cars, well, the discount will not be so big, but still. So I said - carry on with the quote ... €500. Pretty nice I thought. What is more - they do not need the translation from the Polish Embassy (cool!, but I already have it)

I went to AXA the next day to sign the agreement (you cannot do it over the Internet :( ). And I have heard that I cannot get the no-claim bonus, because the car is going to be insured on myself and my wife as the named driver (another strange Irish custom I have to get used to - you cannot drive a car that is not insured on your name)... but I got a quote from you!  Well, yes, I can get a no-claims bonus (around €1000) with my second car insured back in Poland, but ... I cannot insure anyone else as the named driver on this one. Well, Ewelina would not be to happy if she could not drive the car.

And, so defeated by the stupid Irish law (I do not claim Polish is any smarter most of the times) I came back to Tesco, paid what was missing to the full insurance.


technorati tags:, ,

Blogged with Flock

Friday, October 27, 2006

Recreational computing

There is so much going on recently in DERI/eLITE/Corrib - so many things I would like to write about ... but I can't. At least until all those strange IP policies will get firm borders stating what we researchers can tell and what we should not tell.

Until then, trying to avoid any NUIG IP policies land mines I might stuble upon, I can only tell that I came back to unlimited-fun-generating activities: research & developement. I have managed attract a group of skillfull researchers to take care about each of the projects I set up some time ago: JeromeDL (Tomasz), FOAFRealm and HyperCuP (Sławek), MarcOnt and a very new one S3B (Adam).

Now I can relax slightly from some the management responsibilities and spend some time on "recreational computing". For me it is a combination of all the I really like: maths, user interface design, web programming/prototyping, and ... inventing.

I hope I will be allowed to publish some of my recent ideas and prototypes. Untill that time, unless you are from NUIG/DERI, sorry ... you got to trust me - I am having great fun (although it employs working 10-12h/day)

Thursday, October 19, 2006

Beware of CVS tags

It took me a while before I realized what went wrong.
Recently we have finally announced a stable version of JeromeDL 2.0. I was so happy about that.
So the only thing that was left was to tag our current sources with stable tag and keep on rolling with further development.
All went well, until Mariusz was trying to update library.deri.org server (and other) when we realized that something was not right. It occurred that some time in the past we also used stable tag to annotate stable version at that time. Since then a lot of files were refactored, moved, etc. But they still retained the stable tag - which caused why they got into our recently updated servers when cvs-updating to stable tag.
The only way I found to fix that ASAP was to go over all files with errors, warnings, and those we knew were removed and ... remove the stable tag.
Now everything works fine. But, the lesson was learned - be careful when re-using tags in CVS....

Wednesday, August 30, 2006

Geotagging made easy

I was always jealous for all those people that had their photos annotated with GPS positions - especially since I travel quite often and after some time it would be very nice to see where I've been precisely.

Now I can ! With Flickr geotagging - that is as easy as you can imagine.

I do not have to take care about GPS, geo-positions, etc. Just drag-and-drop - and you can easily place your photo anywhere on the Planet :)
Plus, other people can not only see where it was taken (click the map link in the metadata section of e.g. this photo on Flickr page) - but can also know the name of the place where it was taken.

Cool, isn't it? Now you can see where is my in-law's garden where this photo was taken :)

And, btw. I managed to geotag about 1000+ photos so far (more coming soon) which is just a fraction of what has been geotagged by the whole Flickr community within last 24h.

Wednesday, August 23, 2006

Calling all del.icio.us people

I am just in the middle of research on how to better represent tags than just with tag-cloud. My prototype is up-and-running, however, I would like to introduce some more smarted clustering and filtering techniques.

(help me to speed-up my research)

In order to do so - I need your help - all del.icio.us people - if you want to experience better way to browse your del.icio.us posts - send me your del.icio.us IDs (no passwords :) - so that I can add you as friends.
It will allow me to gather more data so that I can improve my current algorithms.

I appreciate any help - and I promise to give you a credit on the project web page and source code once I will announce this component.

Thanks in advance

Friday, August 11, 2006

Not so wet in Galway, afterall

(Galway Eyre Square by Kopretinka)

Jacek says it still rains in Galway - but I bought a bike 2 weeks ago - and so far I did not managed to get wet while biking to/from DERI :)

technorati tags:, ,

Blogged with Flock

Thursday, April 20, 2006

KDE and Beagle

I have been wating quite a long time to be able to use Google Desktop Search-like in my Linux box. There were two candidates: Beagle and Kat. Until Fedora Core 5, Beagle was crashing all the time, and was hardly performing any indexing. FC5 added Beagle as a part of distribution.
The last thing I needed was some KDE front end - and Kerry is nice enough.
But there was one flaw - I do not like neither Thunderbird nor Evolution. And the way Kerry tried to open emails was resulting in new emails with the content I wanted to read as attachments.
The solution is quite simple - write own wrapper for KMail to handle that. Since I did not know at first wheather the content of the email is piped to the program or just referenced, I make a small script that handles both ways. I hope others will find it usefull.

#!/bin/sh

if [ ! $1 ];
then
TMPFILE=`mktemp -q /tmp/emailpreview.XXXXXX`
if [ $? -ne 0 ]; then
echo "$0: Can’t create temp file, exiting..."
exit 1
fi

while read -u 0 TMP
do
echo "$TMP" >> $TMPFILE
done
else
TMPFILE=$1
fi

/usr/bin/kmail --view "file://$TMPFILE"

if [ ! $1 ]; then
rm -f $TMPFILE
fi

Monday, March 13, 2006

DMoz vs RDF Repository (Sesame)

What can you do - there are just some days that just should not happen. I think one of them was when I decided to integrate DMoz ontology into JeromeDL and FOAFRealm. It all looked so harmless - especially when I got (small !) part of the ontology from Andreas. I build the whole mind model around that, finally even set up a JOnto project to deliver unified API to handle taxonomies. And ...
I decided to download DMoz RDF, or what ever they claim to be an RDF :( It took me some time to realize what was wrong. And eventually I got some help from Hee Chul and Krystian with nice converting scripts. I though that it was the end of the problems - I had a sample RDF (a true one) that worked. And a real RDF version of full DMoz ontology. But it was not the end of the problems :(
I decided to upload the 800MB RDF-DMoz file to Sesame. But after a couple of hours of waiting, 100% CPU usage, almost 80C CPU temperature of my laptop, I gave up.


Daniel suggested I should just point to the RDF file and make the memory repository. Well - it went quick that way - "out of heap memory" error :( Later I took the "divide and conquer" approach. Cut this 800MB file into 10 smaller. First one got uploaded very quickly (relatively). And so, encouraged by that example I started uploading the rest 9. Each next of them was taking much much longer to be uploaded, until the 10th one that obviously must had make Sesame hanging - as there was no progress for the whole night (I went to sleep btw).

I cleaned the repository and uploaded only the first chunk again. But trying to use it - with browsing or SeRQL querying was way to sluggish. Finally I came to my brains and "slimed" the DMoz RDF removing (with modified Krystian's script) all information that was not defining dmoz:Topic or using dc:title and dmoz:narrow{12}. Luckily I got 200MB RDF file that went smoothly into Sesame.
And now JOnto-DMoz is finally kicking the ass :)

[I will upload the scripts and the final RDF file to jonto.sf.net soon]

Wednesday, March 01, 2006

Carnival 2006


pict8974
Originally uploaded by skruk.

And so we made it. Everyone said it would be a shame to be in Rio during the Carnival and miss the Samba Schools Parade.
Luckily I have even managed to convince myself to take my precious camera with me, shot almost 600 photos, and bring them all home safe.
The funny thing is that what ever people say about Brazil, although you can get easily paranoid with respect to ones safety, Carioca are really nice people. During the parade the only hostile people where two geyish Englishmen trying to quarrel with everyone (including myself) that was trying to get too close to the fence (as they claimed to be the only ones that should occupy that place and shot photos). Weird, isn't it?
Any way - presentation was magnificent - we were only sorry we could not make it to the end - after 5 school we decided to go home (it was 6am BTW) - as I could not see a thing (600 photos / 6h can make your eyes hurt - believe me) and Ewelina was tired as well.

Thursday, February 09, 2006

DigiMe - personalization vs privacy

Contemporary recommender systems derives most of their power from the profiling information on the user. The problem that usually arise is that by amassing infomation about users - recommender systems became a threat to our privacy. The more intuitive and effective search/recommendation system we want to get - the more information about ourselves, our fancies, our friends and foes we need to provide to the system.
Since I always believed that this is to much to pay for just a recommendation - I have came up with the Social Semantic Collaborative Filtering idea that users themselves have control over their profiles. The current implementation in FOAFRealm/D-FOAF project is still far away from what I would like to achieve.
Our aim is to deliver a true identity management (DigiMe) that will not only identify a user in the Internet but also will provide better trade off between personalization and privacy.
I have just came across the presentation DoDEA_Emerging_pt1.ppt
that presents similar opinion to mine in that aspect: we must build identity management system that will allow personalization of services keeping the privacy the same time.

Monday, January 30, 2006

Music for free (almost)

Recently I have convinced myself to buy a MP3 player with 1GB and radio, just to keep me entertained on the plain when I cannot use my mobile phone and in any other occasion where it is going to be more handy.
But soon I have come to the point where all my MP3s generated out of my legal CDs were no longer cool and entertaining anymore. Buying a new CD is not an option this days, so I went Internet-shopping.
Luckily "legal mp3" query in Google led me to http://www.tunster.ru/ which turned out to be the coolest (and cheapest - please correct me if I am wrong) places.
An average mp3 costs around $0.10 which means that I can stuff my MP3-player for around $15. And the quality is really good - 192 bit rate.

Sunday, January 29, 2006

Polish community in Galway

Today was the first polish mass I attended in Galway. Great thing that we can finally have one. But I was also said that not so many people were there - probably because that did not even know about it.
So to change this situation I decided to set up a blog [http://poloniawgalway.blogspot.com/] where polish community in Galway notify others about events like that.

Monday, January 23, 2006

How to advertise a school of motoring


How to advertise a school of motoring
Originally uploaded by skruk.

Ever wondered how to do that? Try to squeeze your car in a small alley, park it inch beside the fence ... and there you have it - it just screams: "no other school will teach you how to park that good"

Thursday, January 19, 2006

DDict - Desktop Proxy for Online Dictionaries

For a long time I was using a nice desktop interface of the dict.org service for KDE. But it was of no use when trying to come up with a translation from Polish. While there is a lot of good online dictionaries - none of them had an similar proxy for the linux desktop.
I have decided to take appropriate action - one night of hacking and I have developed DDict - Desktop Proxy for Online Dictionaries [http://sf.net/projects/ddict/]. This small tool written in Java/JDIC resides in System Tray allowing user quick access to a number of predefined (and easily extendable) list of online dictionaries.

Check out the ready to use packages at http://sourceforge.net/project/showfiles.php?group_id=157520 and screenshots at http://sourceforge.net/project/screenshots.php?group_id=157520

Monday, January 16, 2006

History of MarcOnt

I have just realized that although so much has been said about MarcOnt in many places, I have never said the full story of that initiative. It all stared when I came for the interview to Galway in April,2004. I meet a lot of interesting people from DERI - current colleagues. Among them I meet Anna. We have briefly discussed what we are working on. She told me that since the ontology has to be build based on the community agreement - she is building a portal where a community/e-society can collaborate on the ontology. At that time I had problems with librarians accepting the idea of the Semantic Web. The only remedy was to create an ontology based on their favorite MARC21. But how to do that? Then it struck me - we can get librarians to create the ontology for themselves. But we need a smart process, with negotiations, collaboration and versioning. And this is where MarcOnt Initiative and MarcOnt Portal were born. It was somewhere over Germany on my way home from Galway (through Frankfurt) ...

Wednesday, January 11, 2006

Rainbow


Rainbow
Originally uploaded by skruk.

No wonder Ireland is such a rich country: Rain -> Rainbows -> Irish Pixies + Pots of Gold -> Lots of Gold !

A hole


A hole
Originally uploaded by skruk.

I am just curious - is this the way to cover the hole or to warn pedestrians about the danger?

Friday, January 06, 2006

Do not fly to/from Bydgoszcz

When 3 weeks ago I was land in Gdansk instead of my destination - Bydgoszcz - it was kind of funny, since I got a coach that dropped me out in my hometown on the way from Gdansk to Bydgoszcz. The weather was horrible - first snow - and we appreciated the care Ryanair took to handle the problem of its passengers.
But what happend today was a completely weird story - the weather was good - not perfect - but you could see clearly for miles - so we were sure there were going to be no problems. How wrong were we ... the plane decided not to land in Bydgoszcz due to fog (what FOG?!) - and fly to Poznan instead - leaving all of us on the ground - helpless :(
What came next was like a horror - of course we were offered to get our money back but when you book your tickets early - the price then and for the nearest flight was like 1:10 - nice solution. Or to re-schedule our flights - problem was - 200 people waiting in an endless queue - hearing that the next available flight was no sooner that in a weeks time.
In addition if you were to have a flights connection to e.g. Shannon or Derry like some of us did - you were in even more trouble - no help at all - no money return for the second flight - unless your private insurance covers that (mine claims it does - I hope so).
To cut down the number of passengers waiting to be servered - we were given small pieces of paper with Ryanair web site (wonder how I book my tickets without it) and a phone number to Dublin where we were supposed to be served.
So I decided to check the flights myself immediately - there was Orange.HotSpot and since I am used to using airport WIFI services - I was trying to connect to that one. To my surprise Orange do not provide online service to buy the access time - the only way to do that is to buy one of those scratch cards- but ... surprise ... you will not find one on THAT airport :(
Finally I got home - and find two possible connections I could you next week - reasonable expensive - but as you could suspect - not provided by Ryanair. I decided to do the last thing I could - call the phone number we were given and arrange reimbursement - to my surprise the line was dead with information stating that I should call between 9-14 and 15-19 Mon-Fri - since it is already Friday, 9pm - there is nothing I can do about that, Damn!!
Take my advice - DO NOT FLY TO/FROM Bydgoszcz

Wednesday, December 28, 2005

Linux Fedora Core 4, Headset Jabra BT500, Bluetooth and Sound

I finally got it - a bluetooth headset - cool thing...
But it is very hard to convice a geek like me that this is going to work only with my Nokia phone and/or M$ operating system installed on my IBM box. So I took a quest for finding an answer how to make it working with my Fedora.

Making sure everything is installed

To make it working - one will need to:

  • install bluetooth (BlueZ stack) support: # yum install bluez-libs bluez-pin bluez-utils bluez-hcidump bluez-utils-cups
  • install ALSA with devel packages: # yum install alsa-tools alsa-lib alsa-utils alsa-lib-devel
  • install automake-1.7
  • make sure you are running kernel 2.6.x (kernel.org)

Install BTSCO (bluetooth sound for ALSA)

Check btsco out from cvs:

cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa login
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa co btsco

Compile btsco:

./bootstrap
./configure
make
make install
make maintainer-clean
For SCO (two-way voice quality audio) you need a kernel with the emu10k1 driver selected (this is one of the drivers that forces the inclusion of the implementation of "snd_hwdep_new"). Build the kernel module:
cd kernel
make
make install
depmod -e
make clean

Connect and start using your headset

Turn on your bluetooth dongle, activate paring on your headset and scan for the head set
hcitool scan
Next try to connect your box to headset (change 00:00:00:00:00:00 to MAC of your headset):
hcitool cc 00:00:00:00:00:00
If you have any problems with paring check your /etc/bluetooth/hcid.conf, it should look like that:
options {
autoinit yes;
security user;
pairing multi;
# PIN helper
pin_helper /etc/bluetooth/feed-pin.sh;
# D-Bus PIN helper
#dbus_pin_helper;
}

device {
name "%h-%d";
# Local device class
class 0x120104;
# Inquiry and Page scan
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
# Authentication and Encryption (Security Mode 3)
auth enable;
encrypt enable;
}
... and the /etc/bluetooth/feed-pin.sh should look like that (with 700 access rights; remember to change 0000 to your headset PIN number):
#!/bin/sh
echo "PIN:0000"
When you box is paired with headset you can proceed with the rest of sound set up commands. insert the module (or better, set up the alsa configuration to load it)
 modprobe snd_bt_sco

stop the esound controller if it's running via
 esdctl stop
run (in case of problems you might change 0x0060 to 0x0040)
        hciconfig hci0 voice 0x0060
run the handler (let it keep running if you run in the foreground)
 btsco -v 00:00:00:00:00:00 
... and that's it - easy, isn't it? You may want to restart kmix if you are using one, and look for the BT Headset audio device. At Skype - look for a new DSP device - probably /dev/dsp1 or /dev/dsp2.

Alternatively you can take a shortcut but using Skype hijacking solution by Andreas Beck.

Finally a couple of web pages worth visiting:
[1] http://bluetooth-alsa.sourceforge.net/
[2] http://www.dcs.gla.ac.uk/~jp/snd-bt-sco/
[3] http://ubuntuforums.org/archive/index.php/t-75978.html
[4] http://www.gentoo.org/doc/en/bluetooth-guide.xml
[5] http://www.thelinuxpimp.com/main/index.php?name=News&file=article&sid=668
[6] http://www.gurulabs.com/goodies/Using_Linux_and_Bluetooth_DUN_with_the_Treo650.php
[7] http://www.greatestjournal.com/users/amiatrome/22941.html

Tuesday, December 06, 2005

Needle - Digital Libraries go Semantics


Needle - Digital Libraries go Semantics
Originally uploaded by skruk.

The day has finally come, long anticipated Needle - SemaNtic BackbonE for European Digitial LibrariEs starts up.

Two European semantic digital library projects JeromeDL and BRICKS gather together with joint initiative that aims to promote semantic web technologies in librarian network.

In the first step, we would like to gather community [see blog and wiki] that would aggregate ideas and scenarios for Needle, and disseminate the semantic digital libraries research back to librarian community.

Following the community building we will come with concrete actions for building European-wide open, semantic backbone for digital libraries.