It is a more and more common task that we need to have a date or maybe date with time as String. There are two reasonable ways to do this: * We may want the date formatted in the users Locale, whatever that is. * We want to use a generic date format, that is …
Autor-Archiv: bk1
2016 — Happy New Year
Happy New Year! — Šťastný nový rok! — Laimīgu Jauno gadu! — Godt Nyttår! — Среќна нова година! — Bonne année! — Καλή Χρονια! — Sala we ya nû pîroz be! — Laimingų naujųjų metų! — Nav varsh ki subhkamna! — Een gelukkig nieuwjaar! — Frohes neues Jahr! — Ath bhliain faoi mhaise! — Selamat …
Scala Exchange 2015
It was possible to arrange a visit of Scala Exchange 2015 in London, short #ScalaX. I visited the following events: day 1: Keynote: Scaling Intelligence: moving ideas forward by Jessica Kerr Functional Patterns for FP beginners by Clément Delafargue Introduction to Apache Spark by Deenar Toraskar Keynote: Without Resilience, Nothing Else Matters by Jonas Bonér …
Christmas 2015
Crăciun fericit − Natale hilare − ميلاد مجيد − God Jul! − Vesele bozicne praznike − Buon Natale − Mutlu Noeller − Честита Коледа − Glædelig Jul − Vesele Vianoce − Bon nadal − Merry Christmas − Срећан Божић − Gleðileg jól − Su Šventom Kalėdom − Bella Festas daz Nadal − Kellemes Karácsonyi Ünnepeket …
What do +, – and * with Integer do?
When using integers in C, Java or Scala, we often use what is called int. It is presented to us as the default. And it is extremely fast. Ruby uses by default arbitrary length integers. But what do +, – and * mean? We can rebuild them, in Ruby, kind of artificially restrict the integers …
Devoxx 2015
This year I have had the pleasure to visit the Devoxx-Conference in Antwerp in Belgium. I have visited the following talks: Day 1: Opening Keynote Session about Java 9 modules Keynote Session about the beginning of the Universe Asynchronous programming in Java 8: how to use CompletableFuture by José Paumard Ignite Sessions I JRuby 9000 …
Creating Unique Numbers
Many software systems rely on some kind of unique numbers. Uniqueness is always a question in what universe this uniqueness is required. We do see the different kinds of universes in the case of the IP-addresses. In theory they are world wide unique. In practice we have mechanisms in place like NAT, that use certain …
Changing of Keyboard Mappings with xmodmap
Deutsch Introduction When running a Linux system in its graphical mode, keyboard mappings can be changed by using xmodmap. Each key on the keyboard has a „keycode“ which can be found out by looking at the output of xmodmap -pke > current-keyboard or by running xev for trying out the keys. I am using a …
Tastaturbelegung mit xmodmap ändern (Linux/X11)
English Einleitung Wenn ein Linuxsystem im grafischen Modus läuft, kann man die Tastaturbelegung mittels xmodmap ändern. Jede Taste hat einen sogenannten „keycode“, den man leicht ermitteln kann, indem man sich die jetzige Belegung mittels xmodmap -pke > current-keyboard ausgeben lässt oder mit xev die Tasten ausprobiert. Ich benutze gerne eine deutsche Tastatur und tue das …
„Tastaturbelegung mit xmodmap ändern (Linux/X11)“ weiterlesen
Java: Using Enums for Singletons
This singleton pattern is not really a big deal, but overused because it gives us the coolness of knowing about design patters without learning too much stuff for that… It does have its uses in some programming languages, while more or less implicit or obsolete in others, depending on the point of view. I have …
