[183 total ]
Ruedas y Cervezas, first instance

“ruote” is the Italian for “wheels”. It’s the name of our ruby workflow engine. The name was proposed by Tomaso Tosolini, it stuck and we liked how people pronounced it “route” which is a good fit for a tool that routes work among participants.
If you translate “ruote” to Spanish you get “ruedas”. Add a thirsty [...]

rufus-lua 1.1.0

Just released rufus-lua 1.1.0. The original post I wrote about rufus-lua is named ruby to lua.
This release strongly benefited from Scott Persinger’s work on Laminate, a tool for safe user-authored templates for Vodpod.
Scott needed strong ... [More] support for callbacks from Lua to Ruby and also ways to pass values back and forth. Many thanks to Scott [...] [Less]

rufus-tokyo 1.0.1

rufus-tokyo is a ruby-ffi based library for accessing Tokyo Cabinet and Tokyo Tyrant databases. It also feature a Rufus::Edo side where the native ruby/c extensions provided by the TC/TT author are used (for speed) instead of ... [More] ruby-ffi.
rufus-tokyo contains ffi bindings for Tokyo Dystopia as well, thanks to Jeremy Hinegardner.
This is the changelog for this 1.0.1 [...] [Less]

Kenneth’s ruote talk

Kenneth Kalmer uploaded his “ruote in twenty minutes” video.

I liked it a lot, an excellent mix of ruote idealism and south-african pragmatism.
It was 6 months ago though. We’re now working on ruote2.0, ruote-amqp, ruote-dm and the last addition is ruote-activerecord.

edo cabinet – rubykaigi2009

Here are my slides for the “edo cabinet” talk at the RubyKaigi2009.
I presented about Ruby-FFI, Tokyo Cabinet|Tyrant and then rufus-tokyo and Rufus::Edo.
These are just slides, here is the english transcript of the actual ... [More] talk.


Many thanks to the RubyKaigi team for organizing this great event ! Special kudos to Leonard Chin for the on-the-fly translations, throughout [...] [Less]

rufus-tokyo 1.0.0

Just released rufus-tokyo 1.0.0
This is mostly a “cleanup” release (spec reorg, to_s enforcement on key and values, and dropped backward compatibility with older TC/TT releases). Hence the 1.0.0.
There are new features though :
* ... [More] Matthew King helped me add process method for table queries.
* Jeremy Hinegardner did an initial contribution on the front FFI / Tokyo [...] [Less]

state machine != workflow engine

This post is intended for Ruby developers. The idea for it came after numerous discussions with fellow programmers about state machines and workflow engines.
What motivates me for posting is the publication of the 3rd issue of the excellent ... [More] Rails Magazine. It contains an article named “Workflow solutions with AASM”.
At first a word of warning, [...] [Less]

rufus-tokyo 0.1.13

With the initial releases of rufus-tokyo, I happily cut corners and went with C strings (ending with NUL).
This isn’t optimal, often you need to store binary data as the value, the resulting ’string’ contains NUL characters and values get ... [More] truncated at restitution. I was working around that with Base64 encoding. Fine, the perf cost isn’t [...] [Less]

rufus-scheduler 2.0, with em flavour

This blog is turning into a release gallery.
Anyway. Just released rufus-scheduler 2.0. It’s a complete rewrite. The only new “feature” is an EventMachine mode.
The plain scheduler uses a thread waking up every 0.330s (by default) to ... [More] check for jobs to trigger, while the em-based scheduler uses an EventMachine timer.
Other flavour for the core loop are [...] [Less]

rufus-decision 1.1, ruby decision tables

rufus-decision is a small ruby gem for ‘running decision tables’. Decision tables are useful for mapping conditions to actions.
This example decision table considers two conditions : ‘topic’ and ‘region’ (I tend to call them ... [More] ‘inputs’). Certain combinations of condition yield one or more output value.
In the example, when the topic is about finance and [...] [Less]