U bekijkt nu de Engelstalige versie van onze website. Klik hier om de site in het Nederlands te bekijken.

The internet of things will be without coffee

Christiaan's picture

I generally like products that are connected to the internet and to remotely control appliances around the house, for example by using my mobile phone as the remote. For example controlling the heating, lighting or music around the house. Today, for most of these concepts ready made solutions are commercially available and are often plug-and-play. Unfortunately, in most cases, the added connectivity isn't making the product more enjoyable. Often, it does not even solve only one of the problems traditional non-connected products had. Take for example the coffee machine.

Rails tip: display association validation errors on fields

Kevin's picture

In Ruby on Rails it is common to use a (collection) select field to set the value for a belongs_to association. However, using Rails' default form builder, validation errors on the association field are usually not correctly displayed. They are either shown on the form's label or the field, while you usually want both. In this blogpost I show a simple patch to fix this problem and make sure validation errors for associations are shown both on the label and the field itself.

The security of Ruby on Rails

Kevin's picture

At IADA we often use the Ruby on Rails web framework for developing the more complex web applications. Ruby on Rails, like any other web framework, eases the development of these applications, usually by proving many common functionalities that developers can directly put to use. Part of these functionalities are security functionalities that help protect the application against common web attacks, such as SQL injections and Cross Site Scripting (XSS) vulnerabilities. However, a question that now arises is whether these web frameworks and the protection mechanisms they offer are secure themselves. I developed a methodology to analyse the security of (arbitrary) web frameworks, as part of my master thesis research.

Temperature monitoring with the Raspberry Pi

Christiaan's picture

For a catering industry related project, I wanted to create a simple web page which shows a log of the temperatures of a set of refrigerators and freezers. So I needed to create a small system that reads some temperature sensors and sends this to a database for further processing. I had a Raspberry Pi lying around which I didn't actually use, so I created a simple setup with the Pi and multiple DS18B20 temperature sensors.