Thursday, October 25, 2007

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.