Linus Torvalds hat in seinem Buch “Just for Fun” geschrieben, dass die Einberufung in Finnland das einzige Ziel hat: zwei Finnen, die sich nicht kennen, haben immer mindestens ein gemeinsames Gesprächsthema. Ich glaube, die Deutsche Bahn und DHL haben die gleiche soziale Funktion.

Neulich habe ich einen Bluttest Termin bei meiner Hausärztin vereinbart. Sie hat mir gesagt, dass es am nächsten Montagmorgen möglich sei, aber dass ich wahrscheinlich warten müsse, vielleicht 30 bis 40 Minuten, und deswegen sollte ich ein bisschen Geduld haben. Ich habe geantwortet, dass ich ganz oft mit der Deutschen Bahn fahre. “Dann haben Sie genug Geduld”, hat sie mir lächelnd gesagt.

Ein von wenigen Vorhersagen, die sich erfüllt hat, dass ich je weisgesagt habe, ist dass JavaScript zur Hauptprogrammiersprache wird. Damals, in 2011, war JS in MongoDB (DB), jQuery und Backbone (Front), und ich erwartete JS im Backend auch. Jetzt findet man JS überall, und ich kann nicht sagen, dass ich mit meiner erfüllten Weissagung zufrieden ist.

Optimisation vs Complexity

- 1 min read

Optimised one of the processes for x10 performance boost and I really do not like it: instead of simple straightforward logic now I have async operation with channels, buffers, timeouts, etc. I wish I could simply throw some money/hardware into it instead of complexity increase.

It is very important not to just mark things as deprecated but also clean them up. Not necessary to do this right away as a high priority job, but at least create tasks for the pieces to clean up and work on them every sprint or at least periodically to make it happen eventually.

If this does not happen - it is going to be one more thing to maintain as it will be reused and copy-pasted not a single time just because new joiner or people who are not very familiar with the context will be using these solutions just because “this is how I found it being implemented in X”.

As Go is strictly-typed language you have to deal with types very carefully and use proper types, e.g. database/sql.NullString instead of string to deal with DB mapping in correct way. Same applies to unmarshalling JSON-strings (bytes array), especially when you’re not controlling JSON-producer or can not change the system that provides JSON-payload. This can be, for example, PHP-application that generates some events as messages to Messaging Queue System like RabbitMQ and writes integer value into the field where your go-application expects string. I faced problem like this a while ago and had to develop some workaround solution in go-application as it was very to hard to change message producer.

Note: I’ll fix this article during translation.

  • Stadt ohne VergleichГород, не имеющий аналогов
  • Colonia an der Spree Die mittelalterliche DoppelstadtКолония на реке Шпрее Средневековый двойной(?) город
  • Kaufleute, Kurfürsten, Könige Zwischen Dreißigjährigem Krieg und dem Zeitalter Friedrichs des GroßenКупцы, курфюрсты(?), короли Между тридцатилетней войной и эпохой Фридриха Великого
  • Berlin wird Metropole Preußische Residenz und Hauptstadt des KaiserreichsБерлин становится метрополией Прусская резиденция и столица империи
  • Die wilden zwanziger Jahre Berlin in Weimarer RepublikДикие двадцатые Берлин в Веймарской Республике
  • Mit “Sieg Heil” in der Untergang Die Stadt im NationalsozialismusК упадку со “Славой к победе” Город во время национал-социализма
  • Kalter Krieg und Mauerbau Die geteilte StadtХолодная война и строительство стены Разделенный город
  • Die neue Mitte Berlin nach dem MauerfallНовый центр Берлин после падения стены
  • ZeittafelХронология

As I mentioned in rKlotz introduction post I choose Pongo2 as template engine for the first public version. Actually I tried html/template but found it too basic – it remind me my first steps in web-development with PHP and bunch of template files-blocks that were included in each page. But, as of Go 1.6 everything changed! Now Go templates do support {{ block "name" pipeline }} ... {{ end }} that makes life much more easier.

Deutsch Ausdruck / German expressions

- 2 mins read

With literal translations and real meanings:

German English translation Meaning
Das interessiert mich so, wie wenn in China ein Sack Reis umfällt That interests me like a sack o rice falling over in China I don’t care
Jetzt geht’s um die Wurst Now it goes around the sausage All or nothing
Du bist auf dem Holzweg There you are on the woodway You’re completely wrong
Mir stehen die Haare zu Berge My hair stands up to the mountain I’ve got goosebumbs
Ich versteh nur Bahnhof I understand only train station I have no idea what you’re saying
Tut mir leid, aber mein Englisch ist unter aller Sau Sorry, but my English is under all pig Sorry, but my English is just the worst
Ich glaub, ich Spinne I think I spider I believe I’m dreaming
Den Teufel werd ich tun! The Devil I will do! I will NOT do that
Komm schon, spring über deinen Schatten Come on, jump over your shadow Get out of your comfort zone
Du gehst mir tierisch auf den Keks You walk me animally on the cookie You’re getting on my nerves. Massively.
Holla die Waldfee Holla the woodfairy Well, that’s unexpected
Ich seh schwarz für dich I see black for you I don’t see any good news coming your way
Du bist so ein Angsthase You are such a fear-rabbit You’re so easily scared
Sie ticken doch nicht ganz richtig You might tick incorrectly You’re stupid
Du hast nicht mehr alle Tassen im Schrank You’re missing cups in your cupboard You’re crazy
Du hast doch einen Vogel You have a bird You’re crazy
Sie hatte einen Kreislaufzusammenbruch She had a circleruntogetherbreak She fainted
Ich falle aus allen Wolken I fall from all clouds I have not expected this
Niemand kann mir das Wasser reichen No one can reach me the water Nobody is better than me
Du bist das Gelbe vom Ei You’re are the yellow from the egg You’re all I’m looking for
Es läuft mir eiskalt den Rücken runter It runs me icecold down my back My blood runs cold
Ich bin fuchsteufelswild I’m foxdevilswild I’m supermad
Das macht mir so schnell keiner nach That makes me nobody so quickly after No one will copy that so easily
Nun haben wir den Salad Now we have the salad Well, here we have what we deserve
Ich glaub mein Schwein pfeift I think my pig whistles I believe I’m dreaming
Was hat der Spaß gekostet? How much was the fun? What’s the damage?

Also, vor eine Woche habe ich nach Berlin umgezogen. Und jetzt muss ich die deutsche Sprache zu erinnern. Mindestens die Lesen. Heute habe ich Berliner Dom besuchen und habe ich das Buch “Berlin. Eine kleine Geschichte” gekauft. Jetzt will ich dieses Buch ins Russische übersetzt. Ich wünsche mir, viel Glück!