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.
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.
Colonia an der SpreeDie mittelalterliche Doppelstadt – Колония на реке ШпрееСредневековый двойной(?) город
Kaufleute, Kurfürsten, KönigeZwischen Dreißigjährigem Krieg und dem Zeitalter Friedrichs des Großen – Купцы, курфюрсты(?), королиМежду тридцатилетней войной и эпохой Фридриха Великого
Berlin wird MetropolePreußische Residenz und Hauptstadt des Kaiserreichs – Берлин становится метрополиейПрусская резиденция и столица империи
Die wilden zwanziger JahreBerlin in Weimarer Republik – Дикие двадцатыеБерлин в Веймарской Республике
Mit “Sieg Heil” in der UntergangDie Stadt im Nationalsozialismus – К упадку со “Славой к победе”Город во время национал-социализма
Kalter Krieg und MauerbauDie geteilte Stadt – Холодная война и строительство стеныРазделенный город
Die neue MitteBerlin nach dem Mauerfall – Новый центрБерлин после падения стены
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.
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!