Quantum computers look like the first mainframe computers in the 1940s and 1950s: room-sized devices that only a small number of experts have access to. Almost like the Oracle of Delphi with its special caste of priests.
Unlike back then, today, everyone can use this technology via the Internet.
I passed the exam for “Artificial Intelligence Foundation” from Microsoft Azure. The course gave a nice application-oriented overview of the many current possibilities of AI: predictions, classifications, text and speech processing, image recognition and much more.
Software Architecture: Layers and DTO’s
Sorry, text is curently in german only.
Migrate a Ruby on Rails App to Rails 4.x with “Strong Parameters”
A helpful rake task
I’m just updating a three year old rails app from 3.2 to 4.2. One of the changes is that now the controller is responsible to protect against mass assignments.
I think this is the right architecture, as the controller has the job to receive the input parameters and transfer them to the right model, or reject the request altogether. The browser of the user does not talk directly with the model, and the model does not know which user with which rights has done a request.
With the strong parameters, all allowed parameters need to be in a white list. My app has 60 controllers, so writing all the code for the strong parameters is a big task. For each controller you need to collect the right attributes and put them in the permit-call. Continue Reading →
Quantum Computing with Ruby
Few know that you already can do quantum computing with the Japanese programming language Ruby.
If you have a Ruby interpreter installed on your computer, you can follow the following experiment, which is inspired by Erwin Schrödinger. (See also my article from 1997)