two dead simple ruby implementations