Why I still like Ruby

Some years ago Ruby in conjunction with rails was an absolute hype. In the Rails User Group in Zürich we had meetups with 30 people every two weeks. The meetings every two weeks have been retained, but often we are just five to ten people now. Is the great time of Ruby over or is …

Share Button

Indexing of long utf-8 files or strings

The UTF-8 format has the disadvantage that the length of characters and code points varies. Accessing a given position counted in characters is only possible by starting from the beginning or by providing an indexing structure. It is a good idea to find a balance between size and speed. So indexing blocks of several kilobyte …

Share Button

Monads in Ruby

Monads? Easy! A Monad over X simply is a Monoid in the Category of Endofunctors of X. Monads? Really! Monads are a concept in mathematics Algebra is an area of mathematics Category theory is an abstraction of algebra. Monads are defined in category theory Remember: in category theory we talk about infinity beyond cardinality of …

Share Button

Swiss Perl Workshop 2015 in Olten

Please reserve the date in your calendar: The Swiss Perl Workshop will take place on the 28th and 29th of August 2015 in Olten. The location can easily be reached by public transport, being only 5 min walking distance from the railroad station with 500 trains per day. So if you are using the Perl …

Share Button

Residue Class Rounding

Deutsch If you do not know what residue classes are, just read on, it will be explained to the extent needed later on. The concept of rounding seems familiar, but let us try to grab it a little bit more systematically. Let us assume a set of numbers and a subset of it, whose elements …

Share Button

Scala Exchange 2014

Deutsch I have been visiting the conference Scala eXchange ( #scalaX ) organized by Skillsmatter in London. Here is some information about the talks that I have attended and the highlights: The Binary Compatibility Challenge Martin Odersky Examples can be constructed for each of the four combinations of binary and source code compatibility. We wish …

Share Button

Devoxx 2014 in Belgium

Deutsch 2013 2012 In 2014 I have visited the Devoxx conference in Antwerp in Belgium. Here are some notes about it: What is Devoxx? Devoxx ist a conference organized by the Belgian Java User Group. Belgium is trilingual (French, Flemish and German), but the conference is 100% in English. The location is a huge cinema …

Share Button

Scala Days in Berlin 2014

Deutsch Around mid of June 2014 I have been visiting the Scala Days in Berlin. Like usual these events contain a lot of speeches, which were distributed in four tracks, apart from the key notes. The event location was a cinama, like the Devoxx in Antwerp, but this time one that has been transformed to …

Share Button

Closures in C and Scala

Deutsch Are closures at all possible in C, without falling back to writing some interpreter in C and using that interpreted langauge? Function pointers alone are far less than what is needed for closures. But they are one of the building blocks. It is quite hard to get the signature right, but a typedef proves …

Share Button

Mathematical Formulas in WordPress

Deutsch This blog uses the Plugin WP QuickLaTeX which gets its -rendering done by QuickLaTeX. If only a page starts with , formulas can be embedded with or . They have to be written in LaTeX-notation. So this blog can use formulas like for example:                     …

Share Button