Monthly Archives: October 2006

Creating Rails Plugins

Just a link to “The Complete Guide to Rails Plugins” which is a reference.

Posted in Ruby on Rails | Tagged , | Leave a comment

Visualize your models

The “Visualize Models” plugin By Nils Franzen will generate .png images from the Rails model files : (click to enlarge) : This plugin depends on GraphViz, which you can find here. From your rails application root, run : ruby script/plugin … Continue reading

Posted in Ruby on Rails | Tagged , | Leave a comment

Autocompletion with Rails and Scriptaculous

Scriptaculous offers a nice autocompletion component that integrates quite well with Ruby on Rails.Here is a link that shows different ways to plug it in your rails application: http://www.slash7.com/articles/2005/08/13/ajaxariffic-au…

Posted in Javascript, Ruby on Rails | Tagged , , , | Leave a comment

How to set up a development environment for J2ME

The first time I tried to build a J2ME (Java2 Mobile Edition) application, I had a hard time choosing the right tools. Here’s a tiny guide to setup a development environment for J2ME (under Windows) : Install a JVM (Java … Continue reading

Posted in Java | Tagged , , | Leave a comment

Ultimate Web Developer Lists

http://www.econsultant.com/ tries to be an exhaustive collection of links about Web developement. Indeed, it contains more than 200 links about web developement, web design, web tools, developement frameworks, … and so on. (The presentation could however be enhanced…) P.S. : … Continue reading

Posted in Web development | Tagged | Leave a comment

Hack Day Developer Sessions

On the hackday.blorg, you can find two videos from the developer sessions. Both are interestings : Matt Sweeney: “Web 2.0: Getting It Right the Second Time” Iain Lamb: “The New Hacker’s Toolkit”

Posted in Javascript | Leave a comment

Wollabot, an IRC bot framework in Php

Wollabot is the easiest way to create your own IRC bot. The framework is entirely built in Php and you need very few tuning to make it work. (Good documentation too…) Here is an example of a (very) simple bot: … Continue reading

Posted in Php | Tagged , , | Leave a comment

Model validation with Rails

Rails has very nice features to validate a model (directly mapped on your database). However it gets sometimes sloppy if you don’t know the exact command to do your validation.Here’s a trick I had a hard time to find. Everybody … Continue reading

Posted in Ruby on Rails | Tagged , , | 2 Comments

Decoding mu-law audio stream to PCM

Axis network video cameras (such Axis 214) provide an API to retrieve audio data over HTTP. Different content-types are available. If the MIME type is “audio/basic”, the audio data is encoded using G.711 mu-law at 64kbits/s. This compression transforms 2 … Continue reading

Posted in Programming | Tagged , , | 2 Comments

Welcome to the XUL Planet

The XML User Interface Language (XUL) is a markup language for describing user interfaces. With XUL you can create rich, sophisticated cross-platform web applications easily. Mozilla Firefox’s user interface is mostly developped in XUL. XUL has encountered a high success … Continue reading

Posted in Web development | Tagged | Leave a comment