March and April

I got a mail today from my blog saying that it had updated WordPress, i.e. the blog tool used for publishing these texts. I guess the blog is trying to make fun out of me for updating the blog more often itself than I do. Nevertheless, it is time for a comeback again… The good thing with my update interval is that at least there are some things to write about. 🙂

I did not go to the Geneva International Motor show last year (the year before I went with Rasmus and Tanya) but this year I got an invitation from Porsche so Fredrik and I took my 911 out for a ride in southwest direction. The reasonable choice might be to take the train to avoid traffic jam and horrible parking far away from the expo but Fredrik rightfully pointed out that it does not make sense to go with anything else than a sports car to a car show. Porsche did by the way offer a splendid lunch and some VIP access to their latest automobiles. It was all very appreciated and maybe it is time to get a 918 after all. It’s not more than a million Swiss francs after all…

Over Easter my parents and my older brother visited us. We did not do any spectacular, or unspectacular, trips together but we did a few nice walks in Zurich city. We all enjoyed the stay despite the weather being mostly crap with quite a bit of rain but that’s life north of Spain… Freja did for sure enjoy my mother’s extensive care and probably wonder why she can’t follow that nice lady to wherever she stays.

Not much have changed with the cars since last time. I have got the windscreens changed on X5 and 911 plus the X5 has passed its first car inspection. No drama, no complaints. Like it should be. Sonja did her first Porsche ride two weekends ago when we took a sunny ride around Zugersee. Both ladies still sit comfortably in the back seat without complaints about lack of space for head and legs. I have to admit though, it is not a family car and to take Sonja in and out of the car demands an act of acrobatics or some decent will power.

In February I started the project to install two lamp posts in the garden, one in each corner basically, by installing one of the two cables. Last weekend I completed it by running the other cable in the ground as well plus actually installing the lamp posts themselves. They both have LED lamps so I don’t feel too bad about letting them spread their light from 7 pm to 7 am. With my contract the electricity is cheap (half price) in the night so they are subsidizing the cozy garden atmosphere heavily. (I guess it goes without saying that cables, isolation, and lamp posts are all bought in OBI in Waldshut…)

Last Friday I did a German test, Telc B1, since I will need that certificate for the immigration authorities later this year. I don’t know yet if I passed it but if I did I might blog about it in a month. If I failed you will know due to the lack of such statements. 🙂

At work things are fine, not much to complain or get super excited about. Most days I am able to get home in reasonable time but when there is a release the pressure builds up slightly. Unfortunately there is one on Saturday but hopefully it will be quick and smooth.

In the apartment we have done one project lately. As usual it was triggered and led by Tanya. The old work place in the living room got upgraded and now facilitates two seats and a 2.6 meter long desk. The printer is neatly installed “in the air” under the desk and cables are hidden neatly. One of my favorite shops, once again OBI in Waldshut, provided the desk and the legs so it was basically for free. In an expensive country like Switzerland one learns to appreciate such occasions. 🙂

I have seen some good movies lately and those which I remember as noteworthy are The Imitation Game, The Theory of Everything, Still Alice, I Origins, Leviathan, Tangerines, Citizenfour, Exodus: Gods and Kings, and Interstellar.

Tomorrow my younger brother with girl friend will come and visit us for a few days. We are looking forward to it and still have some hours to get rid of the cold we have caught lately. The weather has been great the last days and I hope it can stay this time meanwhile we have Joel and Sara visiting. The walks with Sonja are even more enjoyable with nice warm temperature.

Time flies and it is time to get to bed and read a few pages before the eyes get too tired.

Posted in arbete, bil, bÄt, tÄg och flyg, djur, freja, hus och hem, Sonja, vardag | 1 Comment

February update

It turns out that this is my first blog post in 2015. I don’t have any illusions about daily or weekly updates in the blog but occasionally I will drop by to summarize some recent events.

Nursing a baby obviously takes a lot of time, energy, and commitment. During February, and beginning of March, we are enjoying the support of Tanya’s mother which makes life much easier for us. There is of course also a valuable social component to it as well and Tanya is able to escape the “apartment prison” to a larger extent.

Sonja is now 4.5 months and she is developing well as far as we understand and are told in the regular checkups. She has invented her own language mainly consisting of variations of the sounds “agah” and “agoh” but she might also throw in an “rrrrrh” sometimes. She eats well and is not afraid of putting on some weight. When Ira and Vitaly is back I should ask to get the scales back so we can see if she is over 8 kg now (which would be in the upper segment according to the growth charts). Sonja grips things with her hands, also slightly heavier toys, and can coordinate both hands in operations like “grab the big matryoshka doll and bring it in for inspection by mouth”. She enjoys sitting in the bouncer reaching for toys and listening to psychedelic MIDI versions of great classical masterpieces. And she still falls asleep quickly when being put in the stroller for a walk. (She might have inherited it partially from her mother who also typically quickly falls asleep, also before becoming a mother, when she is going by car.) Since Sonja sleeps well in the stroller we take longer walks than we used to do when we only had Freja. Even if Freja maybe gets less attention than “pre Sonja”, she at least enjoys the longer walks.

Our lives are of course very Sonja-centric at the moment but we have also looked into other things. With the current state of the ruble it might be a good opportunity to acquire an apartment in Saint Petersburg so we have sent Tanya to sort it out. More details later if things play out as planned.

At CS, my work, things are going well and I have found a spot in the organization that I enjoy. It’s a good mix of requirements engineering, business analysis, software development, team building and communication. It takes time to shape the role to one’s liking in a big organization so I’ll try to keep it this way and then we’ll see how it goes. I have learnt that things can change fast, for good and for worse. At the moment I enjoy a bit more flexibility and freedom so I tend to work from home on Fridays. That works well since we have an office, including a bunch of laptops, a few servers, and a fridge plus water boiler, in the basement.

March seems to have some things lined up for us as well. In the beginning of the month we will escort Tanya’s mother to the flight home which departs from Munich. Meanwhile there we will visit the city center which I have not been to since 2010 if I remember correctly. Later on we will make an attempt for Geneva and the Motor show. We went two years ago and this year I was given tickets so we’ll go if we can.

We don’t currently have a big amount of renovation projects or such going on but before the snow came, we currently have a few centimeters covering parts of the garden, I started installing light posts in the garden. When the snow disappears, March?, I will try to finish it. Yesterday we bought a lot of Magazine files (“Kassett” for those who knows the IKEA products) to harmonize the chaotic book shelves in the living room. Small improvements can also be improvements…

I don’t usually recommend movies here but why not. Leviafan is worth watching as it gives a much more interesting and nuanced picture of some parts of the Russian society than one usually finds in big movie productions. Lately I have also watched Fury (not great, not bad) and John Wick (stupid but fun to watch Michael Nyqvist as Viggo Tsarov).

The Sunday is about to unfold so it is time to finish and enjoy the day.

Posted in arbete, film, freja, hus och hem, Sonja, utflykter, vardag | Tagged , , , , | 1 Comment

Observations as a father

Today it is Sonja’s two-month-day and I figure it could be good to take some notes of what I have observed during the two first months as a father. In 30 years I have most likely forgot what it was like.

  • You quickly learn to do things with one hand since you have one hand busy holding a baby (and the head!) on your arm. Surprisingly many activities can be done with one arm, including figuring out why a raspberry pi camera does not work and watching TV series and reading magazines and so on.
  • You learn to do things “one at a time” if you are both at home, i.e. one person takes a nap/snack/dump meanwhile the other one looks after the baby.
  • It is possible to take care of the baby between feeding sessions meanwhile working if you have a decent headset and can solve issues by talking.
  • Everything, yes everything, takes long time with a baby and a trip to IKEA followed by a walk can be the adventure/challenge of the day.
  • Walks are indeed useful, especially to make the baby fall asleep and get some rest. Since Sonja sleeps well in the stroller I have taken more long walks than ever. With a sleeping child you can do a lot and the dog gets happy meanwhile “for free”. I don’t miss any issues of the Economist or the interesting podcasts. Since I can easily do the walk on my own, Tanya can take a nap or do something else meanwhile.
  • If you thought you had limited “me time” before the baby is born, it won’t be more afterwards.
  • TV series, and a media player that plays next episode automatically, is excellent as some kind of entertainment for daily repetitive tasks like feeding the baby.
  • Since the mother is devoting a LOT of attention and energy to the baby, there is little or no time for arguments or discussions. If she want’s something, figure out the quickest and best way to do it.
  • It is an excellent time to start following American events, like sports (e.g. NHL/NFL), since it might make you feel like you get something “for free” when you are awake at 4 am.
  • When the baby is unruly and does not stop screaming for hours during the night despite “food/temperature/diaper/whatever check” and your work day is quickly approaching, imagine that the baby will remember and remind you of your actions 20 years later. Getting frustrated and stressed out won’t help anyone.
Posted in Sonja | 2 Comments

Paternity leave and bureaucracy

Fathers in Switzerland are not supposed to be out of office for a long time just because they got a newborn at home. The Swiss law gives fathers the right to take one (1) day off but since my employer is so generous, they add four extra days. These five days can be used during the child’s first two months. Unfortunately five days pass by quickly and I have now finished my paternity leave. Fortunately there will be a Christmas break in a month and then I can support Tanya at home again.

On Wednesday we finally got the birth certificate for Sonja from “Zivilstandsamt”. Normally it is handed out a few days after birth but for foreigners like us it turned out to be a challenge. I have to say the Swiss bureaucrats did disappoint me this time. They were incredibly slow and inefficient and almost on the border to stupid. We had to spend a lot of time explaining, maybe a dozen phone calls and five-six snail mails and a few electronic ones, to get it done. They gave us different information depending on who we spoke to. They demanded information from the Swedish registry of people that is not present (but which they claimed exist because of their misinterpretation) and a new birth certificate for Tanya even though the birth certificate in Russia is usually only given once, when you are born. Of course such documents can only be handed out in Russia so we had to get a power of attorney organized at the Russian embassy in Bern, send it to Novokuznetsk, get the document from the authorities, get it translated, get an apostille, and get it sent back here. They could have saved us from that procedure by a bit of understanding of how the birth certificate works in Russia but that is not how they work… And when we finally got Sonja’s birth certificate they thought they could just keep Tanya’s original documents with the motivation “you don’t need them anymore now when it is registered here”. Excuse me? They even got them in 2011 so then they should not have needed them this time either. Well well, luckily it is possible to very rarely interact with these people.

Once we got Sonja’s paper we could organize her insurance and start the procedure to get her Swedish citizenship. Yesterday we got an apostille of Sonja’s birth certificate so we can use it in January when we will go to Bern to kick off the procedure to get her a Russian citizenship too. It will be a bit of bureaucracy to get these passports but we have learnt that it is so much easier if your issue only concerns one country. As soon as two countries, especially Switzerland, is involved, they start demanding things purely focused on how their superior system works without thought of how it might work in other countries. When only speaking to Swedish or Russian authorities it is usually possible to talk and discuss and find a solution much smoother than when trying to communicate with the Swiss since their starting point seems to be that they are right instead of trying to find the right solution.

Sonja still have some colic issues but we think it is getting better.

Yesterday I got a chance to put new floor tiles in the garage. It was really easy so it was quickly done. If i get a chance today it would be good to get the hedge ready for the winter. Time to try out that new cordless hedge trimmer…

Garage floor tiles

Posted in hus och hem, politik, Sonja | Tagged , | 4 Comments

Withings Smart Baby Monitor Hacking

As many other parents we have bought a baby monitor and even though it has not been of much use yet, I got to play with some new technology so it has been more of my toy than anything else so far.

It is very clear that the producer has not put much effort into the development for Android but the iOS apps for phone and tablet are okay. It is possible to talk to the child, initiate lullaby songs and enable monitoring with threshold values for temperature, humidity, noise and so on. So it is easy to understand why Withings, the producer, has added “smart” in the product name but there is room for improvement.

It is possible to watch the live stream via Withings’ website but a slightly geeky parent would of course like to be able to decide for oneself how that livestream is consumed. Maybe via VLC or in your own web portal or a mobile app of your choice? When you buy a Raspberry Pi and their Pi NoIR camera for a third of the cost you get higher resolution and can access the live stream in any way you want, so it is clear that the Smart Baby Monitor needed an IQ boost to fight the competitors.

There is not much on Internet about where to start but this blogpost was helpful when I did some initial research. I did the same thing as that other guy, and took a look with Wireshark and the developer tools that comes with Firefox and Chrome. It is obvious that the monitor produces an RTMP video stream which easily can be consumed in VLC and for example Flowplayer (which is the same Javascript player that Withings use on their website so it is easy to find inspiration in their Javascript code). The video is encoded with h264 and the audio with aac so that is not too bad if you ask me, but it is of course possible to transcode with libav or VLC or similar.

The RTMP stream is exposed via a URL that contains a hash which gets updated so if one could retrieve that hash in an automatic way, the problem is more or less solved. I don’t know yet when or how the hash is regenerated but it does not matter much if we easily can get to know the current hash before starting to consume the stream. As outlined in the blog post I read, the relevant hash is the “kd_hash” that is returned as response in the POST request to “https://healthmate.withings.com/baby/service/presence”. My addition to the research in this area would be how that hash is retrieved. I used curl in a quick-and-very-dirty php script (download and rename extension to php). It is not beautiful but it will return the hash as output when mail, password and device id parameters are set appropriately. The device id is also found when logging in “normally” on withings.com and by inspecting the network traffic or via Wireshark. It should be easy for someone to rewrite it in Python or as a shell script if that would fit better. I might revisit the script to clean it up later. Probably next time Withings decide to change their login procedure or change the way the hash is retrieved…

Posted in hÄrdvara, programmering, webbprojekt, webbservern | Tagged | Leave a comment

More photos

I added some photos of Sonja to the web gallery: The arrival of Sonja

Posted in fotografering, Sonja | Tagged , | 2 Comments

Sonja enters the world

Early Monday morning Sonja started to make her way out to the world. At 12:48 on 6th of October Sonja and Tanya succeeded together with some help of the midwives. My role was mainly to support with the pain relief during the labor.

Sonja is a healthy 54 cm long and 3630 grams heavy girl. All fingers and toes are in place and in our eyes she is obviously the most beautiful girl in the world.

Tanya and Sonja are still at Triemli hospital, where this blog entry is also published from, and I am here to visit when possible.

Tanya’s mother is staying at the hospital with Tanya and at home Sasha is currently assembling her bed so it is good team serving little Sonja.

image

Posted in Sonja | Tagged , | 2 Comments

Small and big projects

The last weeks we have done some smaller projects at home. The tap in the winter garden now works so it is possible to water the garden. We got some pictures on the walls. The bathroom windows have been replaced. Tiles on the path from entrance to garden. Bike rack in the garden. Bike hangers in the “server room”. Improved wifi coverage. New washing machine. New lightning in the garden.

In June I got the bluetooth setup working in the BMW X5 and yesterday I got some time to do the same for the 911. Both cars have a very similar setup. Since they both were equipped with CD changer it was possible to replace the CD changer with a bluetooth dongle and stream music or podcasts from the mobile. In both the front trunk in the Porsche and the rear trunk in the X5 it was possible to find 12 volt to feed the bluetooth dongle.

Now we are getting ready for a bigger project.

Posted in bil, bÄt, tÄg och flyg, elektronik, hus och hem | Tagged , , , | 1 Comment

Work holiday

My two week holiday is coming to an end and on Monday it is time for work again. For the first time, I did not go anywhere for a holiday trip. We stayed at home to finish the various renovation projects. I have basically been working harder on my holiday than during normal work weeks. We have painted the winter garden on the inside (outside is planned for next year), finished the electric wiring, loud speaker, and light installations in winter garden and balcony, painted the shutters and the railing on the balcony, removed and put new terrace tiles in place. Except for the bigger projects I have also done some minor improvements throughout the apartment, like changing some outlets and installed some new light sources and hung up two bikes on the wall in the cellar.

But the holiday has not only been about working, my parents were here for two days and we did a tour to Thun on Monday this week. The road over BrĂŒnigpass and via Brienzersee and Thunersee is quite stunning so it was a pleasure to do that trip together.

A little side project during my holiday was to replace OpenIndiana with Debian Wheezy (7.6) on the file server. Open Solaris/OpenIndiana was decent during the five years I trusted them with my data but Debian is far more maintainable for me so it is definitely a welcome switch. This time I am giving LVM a chance and by combining RAID and LVM I think I will have a solution that won’t make me miss ZFS.

As a side note I today noticed that both Luanda and N’Djamena are in front, i.e. more expensive, of Zurich on Mercer’s annual comparison of the cost of living. I have heard that Luanda is expensive but I did not think that expensive.

Posted in arbete, bil, bÄt, tÄg och flyg, cykel, datorer, linux, opensolaris, resor, semester | Tagged , , , | 2 Comments

Social weekend

We have had a social weekend including visiting friend, multiple parties and world cup football. Rasmus is visiting and we have been to two parties so it has been a very nice and social weekend, in bright contrast to previous more construction-work-oriented weekends. Okay, we did go to a construction market (Jumbo) on Saturday but in the evening we went to a samba party in Goldau. There were many Brazilians at the party and we watched Brazil beating Chile so we got a taste of how the world cup is in Brazil. Today we continued with the theme of Portuguese language and went to our Portuguese friend’s bbq party.

Today in the morning, Rasmus and I took the Porsche for a ride. It was raining a bit but not enough to disturb us when we were going Albis pass-TĂŒrlersee-Buechenegg Pass. We did not skid and collide with a single car/tree/cow and made it home without crashes or losses of human lives.

The last week we have finished the fake-brick-wall in the winter garden. There is still a lot of painting to do for Tanya but if the rain can make some breaks in the coming week, there is a chance that it will be finished soon. Next thing on my agenda is to remove the garden tiles and to prepare for the new ones. We have also received the cover boards that we will put in front of the radiators but there is some work to be done in order to install them. In other words, some progress but still a lot of head of us with the renovation.

Next week starts in a few minutes. Cheers for now.

Posted in arbete, hus och hem | Tagged , , , , | 1 Comment