Posted
about 15 years
ago
by
John Mettraux
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 ‘inputs’). Certain
|
Posted
about 15 years
ago
by
John Mettraux
Just released version 0.1.12 of rufus-tokyo, a Ruby library for accessing Tokyo Cabinet and Tokyo Tyrant (via FFI or via the Ruby classes provided with the Tokyo products).
Tokyo Tyrant, once successfully compiled with –enable-lua, is open to lots of interesting usages.
In his last post on the Mixi dev blog, the author of Tokyo Cabinet / [...]
|
Posted
about 15 years
ago
by
John Mettraux
Just released rufus-lua 1.0
There are two main new features : lua garbage collection control (thanks Alain) and the possibility to bind Ruby blocks as Lua functions.
Rufus-lua is available via
sudo gem install rufus-lua
|
Posted
about 15 years
ago
by
John Mettraux
Just released rufus-tokyo 0.1.10. It supports the new setlimit method in Tokyo Cabinet 1.4.10 tables and Tokyo Tyrant 1.1.17 tables.
(I put up a piece of documentation on how to install TC and TT at http://openwferu.rubyforge.org/tokyo.html)
What’s
|
Posted
about 15 years
ago
by
John Mettraux
With the help from Alain I just released rufus-lua 0.1.0.
This ruby gem talks to Lua via Ruby FFI. One could say it’s “embedding Lua”, as Lua is described as “Lua is a powerful, fast, lightweight, embeddable scripting language.”
I feel tempted by Lua, there’s the speed, the austerity and that javascript feeling.
Rufus-lua is not the first [...]
|
Posted
over 15 years
ago
by
John Mettraux
I have just released rufus-tokyo 0.1.9 (sudo gem install rufus-tokyo)
Rufus-tokyo provides rubyist friendly classes for accessing Tokyo Cabinet and Tokyo Tyrant structures. It does so by binding Tokyo C libraries via FFI and …
Hirabayashi-san, the
|
Posted
over 15 years
ago
by
John Mettraux
If you go to the the Tokyo Cabinet page, you’ll sometimes be welcome with a banner saying “Nagoya Cabinet” or “Shinjuku Cupboard”, no worries, you’re at the right place.
The two main projects of Mikio Hirabayashi are Tokyo Cabinet (local hash /
|
Posted
over 15 years
ago
by
John Mettraux
Just released the Ruby gem rufus-tokyo 0.1.3. It gives easy access to Tokyo Cabinet hashes and tables via Ruby.
require 'rubygems'
require 'rufus/tokyo'
db = Rufus::Tokyo::Cabinet.new('data.tch')
db['nada'] = 'surf'
p db['nada'] #
|
Posted
over 15 years
ago
by
John Mettraux
I know, we hadhave a Tyrant but I wanted to focus just on the Cabinet, staying on my side of the network interface.
Tokyo Cabinet is a great [C] library for managing DBM hashes, it’s very efficient, so efficient it’s one of the workhorses behind Mixi, the top japanese social network (damn me, I used the [...]
|
Posted
over 15 years
ago
by
John Mettraux
Just released version 1.0.12 of the rufus-scheduler gem.
It contains a few improvements, like a more generic find_jobs() methods, but the main new feature is the :timeout attribute, which, when present, limits the time allocated for a triggered job.
|