Thursday, December 27, 2007

Polish?

I was talking to some chick in bar last night. She left and came with a friend.
- My friend doesn't believe that you're English.
- Well, I'm not.
Friend:
- Where are you from?
- Russia.
- Oh, nice, I don't know that many Polish people!
- WTF?

Wednesday, December 26, 2007

Boxing Day

I should move away from here. I should. I am sick and tired of this. The country itself is forcing me to eat out. Shops are closed once again and I didn't get prepared at all. It's humiliation of human right to get food! It's a conspiracy between the government and public catering! And most likely they share the profit! It's not enough for them to close the shops at six or nine. It's not enough to force them to stay closed on Sundays. The shops are closed today after four just because it's some religious holiday. I'm atheist and I want to go shopping but I can't. It's not fair. I have no food and I an hungry. Seems like I'll have to go get some burger or pizza once again. I miss shops being open 24/7 where you can buy strong booze at 3 am being just 18. This will never happen in Finland. Stupid Finnish laws.

Tuesday, December 25, 2007

Merry Christmas

Being Orthodox makes this Christmas nothing significant for me and being brought up in Russia with its Soviet past makes even Orthodox Christmas nothing significant either. Communists didn't like the fact that people believed in god and celebrated Christmas but they couldn't eliminate the holiday completely so they just replaced it. Basically, it's the same thing just on a different day and without any religion being behind it. Christmas tree is called New Year tree, Russian version of Santa Claus comes on the New Year night instead of Christmas eve. People give presents, eat a lot and celebrate pretty much the same way.

But living in a country where Christmas is one of the most important holidays makes me follow the local traditions and celebrate with everybody the way they do it. So we went to Ylläs last Saturday and came back today. I'm back with a bottle of Glen Parker Single Malt Scotch Whisky, a bottle of Absolut Disco Limited Edition Vodka, Leatherman Multi-Tool and 800 grams of Fazer chocolate sweets. Nice. I'll have something to do before the school starts in the middle of January. :)

On Sunday I went to slopes to snowboard and it was no good. Lack of snow felt even in Ylläs. Slopes were icy and hard. I hope this spring it will be better.

Wednesday, December 19, 2007

Esa & Ovidiu


Wednesday. Around 4 am. Ruxi's place.

Sunday, December 16, 2007

Deluge

I changed my BitTorrent client from Azureus to Deluge and I am quite happy about that. Python with GTK works way faster than Java with SWT and loads my poor little CPU way less. The features are sufficient, it has everything you might need from a BitTorrent client. I was surprised that Deluge installed by yum from Fedora repository didn't work. It started few times successfully but most of the time it didn't start at all or was just showing empty windows and not responding. Removing the package and building it from the source helped.

Thursday, December 13, 2007

Courses

I'm done with Embedded Systems Project and Advanced Java Programming. Java was piece of cake to make and Embedded Systems Project's product didn't quite work but at least we tried. Digital Filtering and Advanced Finnish are left and I'm on a holiday till next year.

FreeBSD

I tried it few years ago and I didn't like it that much then. It was a bit different from Linux I am used to and quite unfriendly. I gave it another try and seems like it's staying. It's up and running and running quite well. I can even feel the vibes of real Unix heritage and reliability. Just took some time and patience to read the handbook and everything became pretty clear. I was surprised how easy it was to rebuild the whole base system including kernel from cvs just by few commands. Gentoo Linux is built from sources also but it's not as easy and I didn't like it that much. I'm more into rpm-based. Maybe because of my lazy nature though having little troubles might be too boring sometimes. Deploying a mail server will make me busy for awhile as I tried once on my Linux box and I didn't succeed. Everything seemed right but I still couldn't receive mail. I guess I screwed up MX record in DynDNS making the entry pointing to an IP address. This time I'll take my previous mistakes into consideration.

Tuesday, December 11, 2007

Teamwork Sucks. Sometimes.

I couldn't believe my eyes when teacher showed us presentations timetable in which each person was assigned with a separate time to hold a project presentation. "Do we have to make separate presentations?" I asked the teacher. "Yes, you do" he answered. Then I couldn't believe my ears but it was true. What about the team work? Team spirit? This is something they praise so much in this school. "Lerning by doing" is considered the most efficient method and the "doing" part is supposed to be done in teams and everybody's graded on everybody's performance and everybody is learning and everybody is happy.

But not this time. And I'm quite happy about it. I'd prefer to be graded for my skills and my own contribution as there are freeriders and they will always be. I know it will be different in real working life when work is carried out in teams but the level of teammates' skills will be surely way higher than here in school. Sometimes it seems that most of the students aren't that interested but I doubt that non-interested person will pursue a career in the field he's not interested or not good in. I'm really wondering sometimes why did they even start studying here. But it's their business. Not mine. But why should I suffer?

Sunday, December 09, 2007

Loafing Again

Another Sunday and once again I'm sitting at home alone and loafing. Though watching Mythbusters can be considered self-development but it's more entertaining than educating. I remember school course of physics quite well anyway and physics is what all those myths are about. I'd better read something. Or eat. Or eat and then read.

Saturday, December 08, 2007

Liver, I'm Sorry

Forgive me, liver, for Tuesday, Wednesday and Friday. I hope I didn't hurt you that badly. I promise it won't happen tonight. I'm not going to drink and I'm not going out.

Tuesday, December 04, 2007

Monday, December 03, 2007

Saturday

Ounasvaara

Me, Masha and some Asian dude.

Saturday, December 01, 2007

Ounasvaara

Winter came and we went to Rovaniemi to snowboard in Ounasvaara. It wasn't that impressive but it's the most available one. Pullinki is closed and I'm not sure whether it will be opened this season at all. Ylläs is too far and Kalli is shit. It would be way better if I wouldn't have to drive almost two hours there and almost two hours back on the road full of police cameras but without any light on most part of it but it's the bast I can have right now. This Christmas I'll spend in Ylläs.

Password Generator

Password Generator

Instead of finding ready solution I made one myself. Just for fun because I was bored. Yes, I have life and I did have it today. Just took a little break for awhile. It's pretty simple but platform-independent. Written in Java. Grab the jar if you need. If double clicking it doesn't work try java -jar PassGen.jar in console.

Friday, November 30, 2007

Wishlist

When I'm gonna have some spare hundred thousands euros or somebody would like to donate some hundred thousands euros to me I'm definitely gonna buy all these or the up-to-date versions if these become old. I hope it won't take me too long to become a billionaire. :)

i-Mate Ultimate 7150

i-Mate Ultimate 7150

Quite an advanced communicator with 520MHz processor inside, VGA screen, QWERTY keyboard, two cameras, FM radio, TV out and WiMAX and HSDPA support. For all these features I can even stand Windows Mobile 6 it is running.

MacBook Pro

MacBook Pro

Thin and stylish with 2.6Ghz dual-core processor and 2GB of memory on board running Unix-based operating system which heavily borrows from BSD with all the standard Unix facilities available from the command line interface. Isn't it every geeks's dream?

Canon EOS 40D

Canon EOS 40D

Photography is something I've always wanted to pursue but I've never had a proper camera for that. I used to have Canon PowerShot S30 which wasn't that bad and had manual and several semi-automatic modes and even could take RAW pictures but this one is a way better anyway.

Sony PlayStation 3

Sony PlayStation 3

I'm not that much into gaming and I've never been but I wouldn't mind having such to kill time sometimes or play some media. I can also install Linux which is officially supported.

BMW M6 Convertible

BMW M6 Convertible

The quickest BMW ever produced with more than 500 horse powers under the hood with programmable engine power, gear transmission speed as well as Dynamic Stability Control and Electronic Damping Control. Who wouldn't want such?

Permanently here. Will be updated when I figure out something else.

Wednesday, November 28, 2007

Yoghurt And Spoons

Lack of clean spoons almost saved me from eating 400 grams of delicious gooseberry yoghurt this late. It didn't work mainly because I decided that I can actually wash one for such an occasion and I did. If I hadn't had any spoons at all or if I hadn't bought any yoghurt today this problem wouldn't have existed. But it does exist and I have something to do with it. One option is to throw away all my dishes but eating out might eventually become a problem. Another option is to throw away all the yoghurt I have but this is definitely something impossible. So I just shouldn't have bought it but I did buy. I even ate it already. No regrets. They don't work. I'll just have to deal with 360 extra calories in my body.

Tuesday, November 27, 2007

Farewell, Auto-Helander

I was officially told that there's no job for me in Auto-Helander anymore and I was told not to bother anyone asking for it. If there's anything I should contact Seppo who is kind of my new boss. I've been working for NTR-Finland for awhile already and nothing actually is gonna change for now. I just can't be sure that there will be a job for me after my schedule will change the next period. Part-time is not an option in NTR but this semester I had Monday and Friday completely free so I had a chance to work at least twice a week. But I'm afraid it's not gonna last for long. I really hope there will be some project for me in lab next February as I was promised. I don't wanna go back to sponger state.

Monday, November 19, 2007

Being Minority Again

I haven't felt this way since my first year in Finland. Those days I've been hanging out mainly with Finns and I didn't speak Finnish at all. And as soon as there was more than one Finn around I was completely left out of conversation cause they were speaking Finnish and only Finnish.

Russians do the same. Germans do the same. Everybody does. But I know how bad it feels. I remember those days I spent on Malta. 99% Germans, 1% Polish and me. That's why nowadays when I notice Ruxi being left out I just start "dubbing" Russian speech, translating what people are saying right after them, or just start having a conversation in English with her.

Today we picked Andrei from Haparanda who came to visit Ruxi. It was him, Ruxi, Ovidiu and me. We bought some beers and huge family kebab pizza from Sweden and went to Ruxi's place. I was bored the whole evening and there was nobody willing to translate Romanian to me. I hope it won't be this way the whole week he's here.

P.S. I'm neither pissed at you guys nor upset. Don't worry.

Another Boring Sunday

It turned out the only thing I left my apartment for today was to eat out. I was hoping to take a walk in the forest or at least somewhere around but after eating nobody shared my wish anymore so I just had to walk back home as I don’t find it very exciting to have a walk alone. I need somebody to share the excitement about the snowflakes falling from the sky and sparkling on the ground, about the crackle fresh snow makes when you walk on it, about the wind and the frosty feeling on your face. I hate vegetating at home.

Saturday, November 17, 2007

Smarty Template Engine

Instead of reinventing the wheel I decided to check the existing solutions and came across Smarty, a free web template engine written in PHP. It is exactly the framework I had in mind and already started to develop myself so I just switched to it.

Basically web-development can be divided into two parts: actual programming (database access, data processing etc.) and web-design (interface, data presentation, page make up etc.). Program code generates the content and template engine is responsible for its presentation. This way separation of concerns can be easily achieved.

Features available are quite impressive:
  • Caching
  • Compiling
  • Variable modifiers
  • Template functions
  • Control structures
  • Loops
  • Filters
  • Resources
  • Plug-ins
  • Add-ons
  • Debugging
Everything you might need developing templates. This is how it works. This chunk of code I wrote is outputting the parsed feed posts:

{foreach from=$posts key=id item=post}
 <h1>
 {$post.title}<br />
 {if $lang == 'en'}
  {atom_convert_date date=$post.published}
 {else}
  {rss_convert_date date=$post.pubdate}
 {/if}
 </h1>
 <div class="post">
  {if $lang == "en"}
   {$post.atom_content}
  {else}
   {$post.description}
  {/if}
  <div class="comments">
   {if $lang == "en"}
    <a href="{$post.link}" target="_blank">
    {blogger_comments_number comments=$post.replies_title}
    </a>
   {else}
    <a href="{$post.link}" target="_blank">
    Комментарии
    </a>
   {/if}
  </div>
 </div>
{/foreach}


Variable $posts is assigned with parsed feed object which can be either parsed RSS feed of my Russian blog or parsed Atom feed of my English blog. I defined three custom template functions: atom_convert_date, rss_convert_date and blogger_comments_number to parse the dates and number of comments supplied in the feeds. The code is included to the page skeleton using {include file=$include} statement where $include variable indicates whether parsed feed or just text should be included. The whole page is generated the following way:

$template = new DmitryFi();

$template->assign('lang', $lang);
$template->assign('title', $title);
$template->assign('feed', $feed);
$template->assign('balloon', 'Have a job to offer?<br/>Check my <a href="/cv.xhtml">CV</a>!');
$template->assign('label', $label);

if($posts = @fetch_rss($feed['url']))
{
 $template->assign('include', 'feed.tpl');
 $template->assign('posts', $posts->items);
}
else
{
 $template->assign('include', 'text.tpl');
 $template->assign('text', 'Unable to parse the feed. Please try again later.');
}

$template->display(TEMPLATE.'.tpl');


The result is compiled and stored increasing the performance significantly next time the page is requested.

Thursday, November 15, 2007

Alko Strike

The only source of alcohol in Finland is on strike. I guess we have three options left. Here they are:
  • Go to Sweeden to Systembolaget
  • Be contenet with beer and cider
  • Quit drinking and partying
The cheapest one is the last one but are we gonna be able to cope with this depressing environment with the main antidote being taken away?

Wednesday, November 14, 2007

New Layout

Here it is! Welcome the new layout! I've rewritten the style sheet from scratch taking a different approach this time and improved the layout fixing some minor bugs and making some stuff simpler. I got tired of Family Guy and switched to South Park. And I like blue color much more than red. PHP source code and template engine are next to be improved and enhanced.

Thursday, November 08, 2007

Snowing

Snow

I had to dig it out twice today.

Wednesday, November 07, 2007

Jokela Massacre

 (182x184, 34Kb)I thought this happens just in States. Obviously not. This text was in guy's YouTube profile:

Sturmgeist89
Name: Pekka-Eric Auvinen
Age: 18
Male from Finland.

I am a cynical existentialist, antihuman humanist, antisocial socialdarwinist, realistic idealist and godlike atheist.

SI VIS PACEM, PARA BELLUM! JUSTITIA SUUM CUIQUE DISTRIBUIT! SIC SEMPER TYRANNIS!

I am prepared to fight and die for my cause. I, as a natural selector, will eliminate all who I see unfit, disgraces of human race and failures of natural selection.

You might ask yourselves, why did I do this and what do I want. Well, most of you are too arrogant and closed-minded to understand... You will proprably say me that I am"insane", "crazy", "psychopath", "criminal" or crap like that. No, the truth is that I am just an animl, a human, an individual, a dissident.

I have had enough. I don't want to be part of this fucked up society. Like some other wise people have said in the past, human race is not worth fighting for or saving... only worth killing. But... When my enemies will run and hide in fear when mentioning my name... When the gangsters of the corrupted governments have been shot in the streets... When the rule of idioracy and the democratic system has been replaced with justice... When intelligent people are finally free and rule the society instead of the idiocratic rule of majority... In that great day of deliverance, you will know what I want.

Long live the revolution... revolution against the system, which enslaves not only the majority of weak-minded masses but also the small minority of strong-minded and intelligent individuals! If we want to live in a different world, we must act. We must rise against the enslaving, corrupted and totalitarian regimes and overthrow the tyrants, gangsters and the rule of idiocracy. I can't alone change much but hopefully my actions will inspire all the intelligent people of the world and start some sort of revolution against the current systems. The system discriminating naturality and justice, is my enemy. The people living in the world of delusion and supporting this system are my enemies.

I am ready to die for a cause I know is right, just and true... even if I would lose or the battle would be only remembered as evil... I will rather fight and die than live a long and unhappy life.

And remember that this is my war, my ideas and my plans. Don't blame anyone else for my actions than myself. Don't blame my parents or my friends. I told nobody about my plans and I always kept them inside my mind only. Don't blame the movies I see, the music I hear, the games I play or the books I read. No, they had nothing to do with this. This is my war: one man war against humanity, governments and weak-minded masses of the world! No mercy for the scum of the earth! HUMANITY IS OVERRATED! It's time to put NATURAL SELECTION & SURVIVAL OF THE FITTEST back on tracks!

Mum, WiFi, Insomnia

Mum has non-malignant growth and went through some surgery already and receives some treatment now. Nothing good about that but at least it's much better than malignant growth which was suspected which tends to relapse and is the way more dangerous and quite fatal.

And I finally got that Lappia certificate from IT support and installed to my Windows Mobile based PDA. I had some difficulties installing it as Windows Mobile didn't want to open files with .crt extension. Changing it to .cer helped. I configured PEAP and now I have wireless network all around the school.

Once again I cannot sleep. I shouldn't have taken that nap after school. I slept for about two hours and now don't feel sleepy at all. I should stop taking naps. They make no good to my day regimen.

Tuesday, November 06, 2007

Mio DigiWalker C220

 (250x200, 75Kb)

I've been driving around with this gadget for awhile and my verdict is that it sucks. The device itself is not that bad but without proper maps it's just a useless piece of crap. The maps seem to be quite out of date. It doesn't have a roundabout built couple of years ago and it takes me to roads which don't exist for something like 5 years already. There's no update available and it won't be in the nearest future as the producer claims that the maps are from the January of this year. Definitely not.

Pedestrian Crossing

Pedestrian Crossing

Just a regular pedestrian crossing on one of the streets of Kemi ending with a ditch and a light pole. Very practical. We also have a roundabout with missing roads which they didn't have money to build. I should take a picture of that one also.

Saturday, November 03, 2007

Huttunen

Huttunen

This is Huttunen and me next to him with weird hair and face expression. I used to rent him and now he's for sale. The more I look at this picture the more I want to buy him. This horse-buying fever is contagious! Damn it.

Saturday

Thursday high, Friday drunk. What's gonna be tonight? Luckily, Alko, the only source of alcohol in Finland thanks to the state monopoly, is closed today due to some very special day for Finns during which they should visit the graves of the dead. What is that to do with shops? I have no idea myself. But we're in Finland where everything being closed doesn't surprise me anymore.

Thursday, November 01, 2007

RFID Timer

 (454x253, 15Kb)

Competitor passes the first reader, ID is read, first board tells the second one to start counting time. Competitor passes the second reader, ID is read, second boards tells the PC the time and ID which are stored in database. Pretty simple.

Wednesday, October 31, 2007

School Stuff

Embedded Systems and Real-Time Programming are done and surely passed with a quite high grade I think. Let's see when they are gonna put them in WinhaWille. Statistics and Coding Theory is passed also without any troubles. I think so. Embedded Systems Project continues as well as Advanced Java which I'm still participating but usually not present at as my software is ready since September and just requires proper documentation and presentation. Now we continue Digital Signal Processing by starting Digital Filtering course. Seems quite interesting. At least we have computers in a classroom, not just pen and paper.

Tuesday, October 30, 2007

Comments Number

I switched from RSS to Atom and modified Magpie's parser source code a little bit as it doesn't actually support many Atom features and link title is one of them. This attribute is just being ignored but this is the place where Blogger Atom feeds have number of comments stored. Three lines of code, and some small modifications to the page code and voilà, number of comments are seen on the page. The date is in different format now incomprehensible for regular humans but it's not a big deal parsing it.

Monday, October 29, 2007

Can It Get Even Worse? Surely It Can!

Today I told my mum that I’m sick of my job and I’m thinking about quitting and turning into a sponger for awhile until a better opportunity will crop up but she told me really bad news. I think this is the worst one I was ever told. Nobody ever died in my family except my great-grandmother when I was seven which I don’t remember that well and my father’s aunt last spring which I wasn’t close to at all. And my mum told me that doctors suspect she has cancer and asked me not to quit this job until I have another one because it’s gonna take hell a lot of money and being a sponger is not an option right now. I was driving home from work and I couldn’t stop tears coming. I started to really fear for her and I still do. She’s gonna know for sure on the 6th of November. I hope everything is gonna be alright with her.

Sunday, October 28, 2007

Friday

Andreia, Elsa, Ana, Alex Alex, Elsa, Me

The rest are in my album at Flickr.

Saturday, October 27, 2007

Finnish Advertisement

 (500x330, 72Kb)

Click to zoom.

Thursday, October 25, 2007

Tuna Junkie

And I still can't quit tuna. For three days I've been eating tuna tortillas which are absolutely amazingly delicious and I will eat them tomorrow. My condition scares me. How to treat tuna addiction? What if I get an overdose and die? I don't wanna be a tuna junkie! Somebody save me!

Easy Geotagging

This week I'm going around Lapland with a truck, GPS-navigator and Seppo picking old car accumulators which we put in special containers and send to Germany for recycling. I've been going around, watching landscapes, maps on GPS-navigator and thinking a lot cause it's the only useful to do while going from one place to another as it takes most of the time. I was thinking it would be nice to have a camera with me as there's really something to take pictures of. It might be boring but still picturesque. Omg, I know such a word! And I was thinking about geotagging, placing the pictures on map where they've been taken, particularly about that on on Flickr. And I was thinking that using a GPS-navigator I can put them on a map quite precisely. And suddenly a wonderful idea came to me!

Alex has a camera with Wi-Fi which is quite useless. He never uses Wi-Fi. Why not to make a camera with GPS? I would surely use it. It could store coordinates in EXIF and services like Flickr could place the photos on a map automatically. Travelers would love it. I guess. At least I would love it for sure. Make the community love the product or create a community around it and it will be successful. You can easily keep track of places you've visited and remember what you've seen there.

I shared the idea with Ruxi. She needs something for Business Enterprise Project. I hope when she's gonna go to Hawaii she's gonna take me with her.

Tuesday, October 23, 2007

Somebody To Blame

It didn't actually quite work out. Instead of feeling cozy and safe in a caterpillar's cocoon I had some kind of claustrophobic attack and just couldn't breath. It's all YOUR fault!

Monday, October 22, 2007

I'm Being Avoided

One just doesn't answer. The other just went to sleep as soon as I said "hi". Fuck it. I don't care. I'll wrap myself into a warm blanket tight enough to feel myself a caterpillar turning into a butterfly and dissolve in my own little caterpillar world where the only thing I care is about is how wonderful will I be when I'll be free the next morning being a butterfly.

Orbital

— Mum, I wanna pierce my nipples.
— Go on, do it.

It was last May in Thailand where we went together. I was quite surprised to get such an answer cause she was totally disapproving my both ears being pierced though last summer when I was visiting my home town she wasn't complaining that much. I had the idea to pierce my nipples for awhile until I saw an orbital ear piercing and completely fallen in love with it from the first sight. Now I want this one.

Sunday, October 21, 2007

I Want

I want to blog about something significant but my head is thoughtless and empty. I want my heart to burst with feelings but it's just beating in a regular rhythm. I want my belly to disappear but I can't quit eating. I want to cycle more but I can't quit driving a car. I want to draw but I just can't. I want so much but I can't so much. My life is sad.

Friday, October 19, 2007

28 Hour Day

Could be the perfect one for me.

 (500x78, 14Kb)

http://xkcd.com/320/

Ballmer Peak

If I come from a night club and start programming it means I'm on the Ballmer Peak. =)
 (400x220, 20Kb)

http://xkcd.com/323/

Thursday, October 18, 2007

Pidgin-Audacious

This is how it looks like.

 (460x168, 31Kb)

Don't get confused by Winamp skin. It is Audacious.

Wednesday, October 17, 2007

Less Dirty Using Dbus

Unfortunately, Audacious doesn't support dbus yet which will be supported in the upcoming 1.4. That's why audtool has to be used.

#!/usr/bin/env python

import dbus
import time
import commands

try:
   purpleObject = dbus.SessionBus().get_object("im.pidgin.purple.PurpleService", \
   "/im/pidgin/purple/PurpleObject")
   purple = dbus.Interface(purpleObject, \
   "im.pidgin.purple.PurpleInterface")
except dbus.exceptions.DBusException:
   print "Unable to connect to Pidgin! Make sure it is running."
   exit(1)

class Track:
   __message = ""
   def setMessage(self, message):
         currentStatus = purple.PurpleSavedstatusGetCurrent()
         currentStatusType = purple.PurpleSavedstatusGetType(currentStatus)
         currentStatusId = purple.PurplePrimitiveGetIdFromType(currentStatusType)
         accounts = purple.PurpleAccountsGetAllActive()
         saved = purple.PurpleSavedstatusNew("", currentStatusType)
         purple.PurpleSavedstatusSetMessage(saved, message)
         purple.PurpleSavedstatusActivate(saved)

   def update(self):
      if commands.getoutput('audtool playback-status') == 'playing':
         artist = commands.getoutput('audtool current-song-tuple-data performer')
         title = commands.getoutput('audtool current-song-tuple-data track_name')
         message = artist + " - " + title
      else:
         message = ""
      if self.__message != message:
         self.__message = message
         self.setMessage(message)

track = Track()

while True:
   time.sleep(1)
   track.update()

Hail Tuna & Pidgin

Yes, tuna! My tuna posts made Ruxi buy tuna which she hates and eat it. Tuna helps me to influence people.

Btw, do you know a way to put track title from Audacious to Pidgin status message? I do! Quick and dirty but works for me.

#!/usr/bin/env python

import os
import time
import commands

def update():
   status = commands.getoutput('audtool playback-status')
   if status == 'playing':
      artist = commands.getoutput('audtool current-song-tuple-data performer')
      title = commands.getoutput('audtool current-song-tuple-data track_name')
      os.system('purple-remote "setstatus?status=available&message=' \
      + artist + ' - ' + title + '"')
   else:
      os.system('purple-remote "setstatus?status=available&message="')

while True:
   time.sleep(5)
   update()

Tuesday, October 16, 2007

Tuna Again

Omg! I'm turning into a tuna junkie! I'm eating tuna again. There's something really weird going on with me. I have to refill my supplies.

Monday, October 15, 2007

Tuna

This morning I had a terrible craving for tuna. It's so not me. I hardly ever eat in the morning. A cup of coffee and I'm done. I feel too sick for anything else. But this morning after sleeping for only five hours I made two toasts, opened a can of tuna and put its contents on the toasts. And ate them with great pleasure. What's going on with me?

Thursday, October 11, 2007

Here It Is

I Did It!

I was too focused on the problem of rising the oscillator frequency and making both serial interface and LCD screen work that I completely forgot that I can just lower the baud rate of the RFID scanner. I did and now it works perfectly fine! Video is coming soon.

Some Complaints

I'm completely stuck with the board I'm working with, microcontroller's internal oscillator, serial interface with RFID scanner connected to it and external memory interface with LCD display. It's either scanner or display because if I make oscillator frequency 1 MHz the serial interface error rate for the baud rate I need is too high and 8 MHz is just the right frequency for the serial interface but LCD is too slow for that and doesn't work at all, even with the wait state enabled. And the problem is that I need them both! And the worst thing is that in response to my questions I was just sent to read the fucking data sheet with my questions remaining unanswered. I hate such method of teaching. I agree that it's good to figure out stuff yourself without getting ready solutions but there should be a certain limit for that. I don't want to give up but I doubt that I'm gonna figure out some solution myself this time.

Tuesday, October 02, 2007

CarFix

The work they've done is definitely not worth 160€ spent but it was worth to make sure that our car care is the best in the area. So I took the Opel to Keminmaa to CarFix, to our main competitors. They make customers pay through the nose! One hundred sixty euros for washing, polishing and basic inside cleaning! No engine or textile washing included. And they didn't even do what they were supposed to! We do car care starting from 96€ for the basic program which is much more than they did.


So what did I get for 160€? Seats covered with dust and hair. Their vacuum cleaner never touched them. They take additional 70€ for washing the textile but for those 60€ for inside cleaning they could at least vacuum them! Not in CarFix. They didn't open the trunk either which is still covered with dust. Ten minutes worth customer's satisfaction. Not in CarFix. So for 60€ they washed the rugs, vacuumed under them and left some stains on the panels. Is it worth 60€? I don't think so.

The frame under the doors was quite dirty before and became even worse. It was covered with stains and they added quite a thick layer of polishing dust. It's hard not to notice such so they just didn't bother to clean it. All the gaps outside are filled with dust and polishing paste leftovers. They didn't bother to clean them either. Bumpers seems untouched and it's still dirty around the gas tank cover. Too low to bend to wash and polish probably. The windows weren't just left dirty. They were covered with stains after polishing and waxing. They didn't bother to clean even them. Is it worth 100€? I don't think so.

Monday, September 03, 2007

New Stuff

New challenges. Pure hardware, no operating systems. Seems to be fun!

New shoes. Not planned but bought anyways. Luckily I like them because usually I start to feel sorry after a spontaneous purchase especially when I'm being pushed. But this was completely my decision.

New rush on my chest. What the hell is this? Maybe I'm panicking without a reason as it's quite small and not that bothering but anyways I'm seeing doctor in a couple of weeks. I guess it's a good idea to ask though I don't expect much of Finnish health care as I got disappointed several times already.

New acquaintances thanks to last Saturday. Seems like it's worth coming to party to Tornio some other day again.

New courses. New project.

Tuesday, August 28, 2007

Worth Spending Time On


I burnt my fingers few times with burning hot surface from which I was removing ugly stripes with some kind of blow drier which doesn't blow that much but heats a lot which is used to remove stickers. But it was worth it. Now it looks the way better. Especially after washing and waxing.

Untitled

It's not likely something is gonna appear here in the nearest future. So don't expect much. I'm just lazy.

And I see dead squirrels. Every day on a highway on my way to Tornio to work. And not only squirrels, also rabbits and sometimes even birds.

I don't know how did this bird manage to get under somebody's wheels. Was it shot or something before falling on the asphalt and being smashed? Well, noone knows.

Monday, May 14, 2007

I guess I look pathetic every time I eat alone. At least I feel this way when I'm eating out and have nobody to keep me a company. It reminds me the time when I've been aimlessly roaming around Helsinki having nothing to do and nowhere to go. I have quite forgotten this feeling already but now it's back exactly the way it used to bother me some time ago.

Tuesday, April 10, 2007

Pullinki

Me Bosco and Björn Me, Bosco, Björn Czech Grils Me and Lionel Bosco and Björn Me Me Lionel

Last time this year (24th of March). Two Belgians, three Czech and me.

Riding Again

 (240x320, 38Kb)  (240x320, 34Kb)

Almost the whole Easter. Viking and Huttunen.

Tuesday, March 20, 2007

Riding

My lesson was canceled twice because of snow going down the roof and horses going mad about that but yesterday I finally got it. I started to ride when I was around 12, as far as I remember, and haven't been riding for quite a long time. But luckily it didn't take me long to remember pretty much everything I knew. And I was quite good! Nobody could believe that I had such a long break in riding. And everybody was quite interested about me riding as they have just one male rider there, owner's husband. I was told not to waste my talent and continue the lessons. I don't consider myself that talented but I think I would like to continue anyway.

The photos are quite dark because it was dark inside and even flash didn't help. This is the best I can have:

Friday, March 16, 2007

Friday I'm In Love

It fills me with positive energy and boosts my mood. And I don't care anymore that my riding lesson is canceled for the second time this week. I don't care that it's impossible to get an appointment at the hairdresser's. I don't care that I don't have much to do today.

I don't care if Monday's black
Tuesday Wednesday heart attack
Thursday never looking back
It's Friday I'm in love

Monday, March 12, 2007

Turku is a lovely city. Now I'm just dreaming about moving there. So that I can have an excellent coffee at CaféArt and take long walks along the river enjoying the views and the city itself. So that I can spend hours walking around Hansa looking for something and not getting disappointed because of finding nothing. I loved the place and I wanna go back.

Walking Street CaféArt Inside The Cathedral Cathedral Ceiling Cathedral Entrance Cathedral Square Sushi Bar In Train