Last posts

Setup Rcov with Ruby on Rails on Ubuntu

Setup Rcov and solves problems: No implicit conversion from nil to integer, Stack level too depp.

Control download with Net::HTTP::Stats

Download a file is a source of problems. Host can be down, bandwith can be to slow, file can be too big, download takes too much time and estimated time is too long. This is an important point for a program which download many files. Furthemore it's often useful to notice users how much of a file is downloaded and when it will be finished.

Ruby Inline

This article shows how to optimize an application with Ruby Inline. This extension allows to write directly C code in a Ruby file. It's compiled on the fly and make optimisations easier.

The end of ensecure authentications

This article describes a simple method du crypt passwords on web authentication without SSL (HTTPS protocol). The work is done with hash sums and some AJAX.