Saturday, 11 December 2010
Archiforge
I made ARCHIFORGE.com around 2006. It's been modified since that time as there are some visual glitches, but for most of its part it is true to my original idea. Built using PHP.
Biomathematics I taught
I had the wonderful opportunity to assist in a biomathematics class.
Most of the Mathematica notebooks are interactive.
It features:
Most of the Mathematica notebooks are interactive.
It features:
- A simple linear model of the blood cell lifecycle
- Linear models for describing population growth: models of Lesli and Levkovitz
- Linear regression along with an example
- Simple DNA mutation models: models of Kimura and Jack-Cantor
Saturday, 13 November 2010
Comparison of e-book formats
I am deeply interested in ebook formats and their natural diversity. Thus, I really liked this article at wikipedia, which discusses quite a few formats in some adequate detail.
Evolution of mobile web standards
I find this image at wikipedia on the evolution of mobile web standards really instructive.
Thursday, 11 November 2010
Html_escape, a.k.a h doesn't escape single quotes
One should always use double quotes for specifying html attributes, if the attribute content comes from outside, as the html_escape helper escapes only double quotes. In other words:
HTML_ESCAPE = { '&' => '&', '>' => '>', '<' => '<', '"' => '"' }
Sunday, 7 November 2010
Digest::MD5.hexdigest produces wrong hash in Rails
I forgot to require the file 'digest/md5', and instead of barking out loud, rails just gave me some wrong hash value. So, shouldn't forget this line, if using MD5:
require 'digest/md5'
Subscribe to:
Posts (Atom)

