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

Air conditioner!

Last year Tanya started a lobby campaign for an air conditioner. We had a company here to suggest a solution and after some weeks we got an offer. For about 7000 CHF they would install a solution and for some time we were ready to go with it. Then we changed our minds and worked on other projects. About a week ago, a heat wave hit Europe and we had temperatures around 32 degrees for a few days, which accentuated the need for a solution.

We made some more research and bough a rather simple but fairly powerful air conditioner. Yesterday we installed it by making holes in a book shelf and the winter garden door, plus slightly modifying the device to make it fit inside a book shelf. We have tried it for some time and it makes a big difference, even if the outside temperature yesterday was more moderate.

Short summary of other ongoing projects follows. We have made good progress with the wall in the winter garden and we aim to finish the brick decor today. We bought a longer ladder yesterday to be able to work with the top of the wall. Perhaps we can paint the wall next weekend. The painting of the winter garden itself is prepared but not started. Same goes for some details on the balcony. We have finished some small things in the apartment as well, like more interior (mirror and cabinet) and a Sonos speaker in the rest room and covering plates for ventilation. I finally got my bluetooth audio solution working in the car, as well as navigator and rear-view camera started automatically by ignition (and not always-on so you have to remember to unplug). I will check if I can repeat the bluetooth trick with the 911. The Saab has some noise from the gear box so I am afraid his days are numbered. I will check with a friend of a friend who is an Opel mechanic if there is anything else to do than to drive it to collapse. It is not worth letting a garage replace the gearbox.

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

Back in Wroclaw

I went to Wroclaw last time in November 2012 and this week I am back to visit my Polish colleagues. Since last time, Eurolot (part of LOT) has opened a direct route between Zurich and Wroclaw which made the trip much more comfortable. Since my last visit, the CS office has also moved to another part of the city, and they are now in process of moving once again since CS has built their own office in the city center. The weather is nice and my guys are progressing well so I have good hope for a pleasant stay without long evenings in the office like last time.

I am staying at SAS Radisson and would like to recommend it to anyone who is visiting the city. Comfortable rooms and a good breakfast buffet in combination with decent wireless Internet is a good combination.

Compared to Swedish and Swiss prices, living in Wroclaw is cheap. Maybe not dirt cheap, but for sure cheap. The most expensive dish you can find in a posh central restaurant in Wroclaw costs as much as the cheapest main course in an average restaurant in Zurich (around 20 CHF). To try to use the daily allowance of 90 CHF is a real challenge. I did not get close today despite going for a three course meal at a nice restaurant. Better luck tomorrow…

Time for bed. Dobranoc!

Posted in arbete, resor | Tagged , | Leave a comment