↓ Skip to main content

Posts

2019

Finland Män

·368 words·2 mins
Lost and then found again - here:https://angrytouristblog.blogspot.com/2015/10/rejoice-finland-man-is-back.html Here is the copy, just in case Rejoice! The Finland Män is back! # Source Finland Män Not Like Smalltalk. Is Horror. Finland Män not kän underständ smalltalk. When kuud silense, samwan open mouth, silense destroid, why do tis? One time Finland Män ko tu bar. Finland Män sit ät kounter, entshoi trink, look onli mopile phone. Is kuud silense. Then kam womän nekst tu Finland Män. She äsk: “Do you kam hiör often?” Finland Män pärälised. Is horror. Why she äsk tis? Is häv tu reäkt samhau? Finland Män luuk onli mopile phone. Tsek emails. Kiip luuking mopile phone. Then änssör: “Why you äsk? Is you kondukting sam sörvey?” Womän not say enitink. She ko öwei. Is kuud silense.

Tim Hortons in Valencia

·79 words·1 min
I have my doubts whether it will survive. It is next to Starbucks (one of several, albeit nothing like Toronto) so there is competition for tourists looking for the familiar logo. As for locals, Spanish coffee culture is quite different, and if I am allowed to say so - Spanish coffee is both better AND less expensive as So let’s hope Timbits will save the day. Who could resist deep fried sugary dough, eh ?

Visit in Canada

·118 words·1 min
I did quick 2 week visit to Canada. I spent some time with our son and daughter-in-law, visited many dear friends and places in the city and nature, worked for couple of days in the office and met new colleagues and even met current my boss for the first time in 3D. I must say, he is taller than in Zoom :-D I also visited our ex-cat with her new human servants and as expected, Lucy duly ignored me. Oh, well - cats.

AWS Summit Madrid

·96 words·1 min
One day round trip Valencia to Madrid and back. It is 350 km, but AVE (high velocity train) makes it in 1.5 hr. Take that, Via Rail !! Travelling at 300 km/h is unreal. It is actually quieter and more smooth than Canadian train at 80 - all that makes the speed believable is the velocity display and view out of the window when train goes around something closer to the rails.

Jupyter notebook with Bash kernel

·335 words·2 mins
Adding Bash to Tensorflow notebook # I commented out PHP and C++ stuff that I do not really need: FROM jupyter/tensorflow-notebook USER root # install dependencies RUN apt-get update && apt-get install -yq --no-install-recommends \ php-cli php-dev php-pear \ pkg-config \ && apt-get clean # rm -rf /var/lib/apt/lists/* # install zeromq and zmq php extension #RUN wget https://github.com/zeromq/zeromq4-1/releases/download/v4.1.5/zeromq-4.1.5.tar.gz && \ # tar -xvf zeromq-4.1.5.tar.gz && \ # cd zeromq-* && \ # ./configure && make && make install && \ # printf "\n" | pecl install zmq-beta && \ # echo "extension=zmq.so" > /etc/php/7.0/cli/conf.d/zmq.ini # install PHP composer #RUN wget https://getcomposer.org/installer -O composer-setup.php && \ # wget https://litipk.github.io/Jupyter-PHP-Installer/dist/jupyter-php-installer.phar && \ # php composer-setup.php && \ # php ./jupyter-php-installer.phar -vvv install && \ # mv composer.phar /usr/local/bin/composer && \ # rm -rf zeromq-* jupyter-php* && \ # rm composer-setup.php # install ijavascript #RUN apt-get install -yq nodejs npm libzmq3-dev node-gyp && \ # npm install -g ijavascript && \ # ijs --ijs-install=global #RUN cd .. && \ # apt-get install -yq --no-install-recommends cmake && \ # wget https://raw.githubusercontent.com/root-mirror/cling/master/tools/packaging/cpt.py && \ # chmod +x cpt.py && \ # ./cpt.py --check-requirements && ./cpt.py --create-dev-env Debug --with-workdir=./cling/ #RUN cd .. && \ # wget https://root.cern.ch/download/cling/cling_2017-09-15_ubuntu16.tar.bz2 && \ # tar -xvjf cling_2017-09-15_ubuntu16.tar.bz2 && \ # rm cling_*.tar.bz2 && \ # mv cling_* cling #RUN cd .. && \ # ln -s $(pwd)/cling/bin/* /usr/bin/ && \ # cd cling/share/cling/Jupyter/kernel && \ # pip install -e . && \ # jupyter-kernelspec install cling-cpp17 && \ # jupyter-kernelspec install cling-cpp14 && \ # jupyter-kernelspec install cling-cpp11 RUN chown -R $NB_USER /home/$NB_USER && \ rm -rf /home/$NB_USER/.local/share/jupyter # install java jre for h2o RUN apt-get install -yq openjdk-8-jre # Reset user from jupyter/base-notebook USER $NB_USER # install jupyter-bash RUN /opt/conda/bin/pip install --no-cache-dir bash_kernel RUN /opt/conda/bin/python -m bash_kernel.install # install h2o RUN /opt/conda/bin/pip install --no-cache-dir --upgrade h2o && \ /opt/conda/bin/pip install --no-cache-dir --upgrade pandas # disable authentication RUN mkdir -p .jupyter RUN echo "" >> ~/.jupyter/jupyter_notebook_config.py RUN echo "c.NotebookApp.token = ''" >> ~/.jupyter/jupyter_notebook_config.py Source: https://bitbucket.org/snippets/klassify/Ee9Myk/jupyter-notebook-with-bash-kernel

SSL Poke

·84 words·1 min
Cybersource Testing Tool # Java utility that we used before when we were debugging the TLS 1.2 issues. It needs to be compiled with JDK 1.8 - ideally the same one that runs in production and then run like: java -Djavax.net.debug=ssl:handshake:verbose SSLPoke api.cybersource.com 443 replace api.cybersource.com with whatever the cybersource endpoint needs to be. If the utility responds with ‘Successfully connected’, it was able to handshake with the SSL server and establish the secure connection.

Gitbits

·262 words·2 mins
Two small utilities I have places into ~/bin: git-attic # Source: https://github.com/maximeh/dotfiles/blob/master/common/.bin/git-attic #!/bin/sh # git-attic [-M] [PATH] - list deleted files of Git repositories # # Use -M to not show renamed files, and other git-log options as you like. git log --raw --no-renames --date=short --format="%h %cd" "$@" | awk '/^[0-9a-f]/ { commit=$1; date=$2 } /^:/ && $5 == "D" { print date, commit "^:" $6 }' | less Example # ➜ kubernetes-the-hard-way git:(master) ✗ git log --raw --no-renames --date=short --format="%h %cd" "$@" | awk '/^[0-9a-f]/ { commit=$1; date=$2 } /^:/ && $5 == "D" { print date, commit "^:" $6 }' 2019-11-20 374e8d9^:docs/using-rst/pdp-template-rst.rst 2019-11-17 7911114^:src/certificates/admin-csr.json 2019-11-17 7911114^:src/certificates/admin-key.pem 2019-11-17 7911114^:src/certificates/admin.csr 2019-11-17 7911114^:src/certificates/admin.pem 2019-11-17 7911114^:src/certificates/ca-config.json 2019-11-17 7911114^:src/certificates/ca-csr.json 2019-11-17 7911114^:src/certificates/ca-key.pem 2019-11-17 7911114^:src/certificates/ca.csr 2019-11-17 7911114^:src/certificates/ca.pem 2019-11-17 7911114^:src/certificates/copy-certificates-to-servers.sh git trail # I cannot remember where is this one from :-(

2018

DockerCon 2018 - great event (with a small fly in the ointment)

·2039 words·10 mins
I have just returned from DockerCon Europe 2018 and I’d like to share my impressions while they are fresh in my mind. It was my first DockerCon so I was not quite sure what to expect. As the title says, it was great experience and barring the scaling issue (more below) could have been really awesome experience. But let’s take things in order. First location - Barcelona. Hard to pick better place in December than Spain. I am sure the Northerners greatly appreciated the break from cold and enjoyed the balmy 15 to 20 degrees. The venue Centre de Convencions Internacional de Barcelona - CCIB - though not located in the centre, is at the shore and one can walk to the beach in 2-3 minutes. There were three of us going from Valencia office (which is 3 hours train ride down the coast from Barcelona) and we had also great hotel experience. I can highly recommend Hotel Princess Barcelona. What can be better than starting your day with watching sunrise over Mediterranean Sea. Thanks David - because you did such a great job, you are now in charge of travel and hotel booking going forward :-D

Happy birthday Czechoslovakia

·91 words·1 min
Czechoslovakia would be 100 today # 1918-10-28 - 1992-12-31 # We (both nations) we lucky to separate paths the peaceful way and at the end of the day, both countries are in the EU, NATO and relations between Czechs and Slovak are probably the best ever because the quarrels over budget and transfers ended.