Category Archives: Ruby

A Rubyist’s Impressions of Common Lisp

It has been nearly 6 months since I dove into Common Lisp. I have been studying and/or using Common Lisp almost every day, working on Ambienome and related code. So, I wanted to take some time to document my observations, feelings, and impressions of Common Lisp at this time. Be advised that this is a [...]

Also posted in Lisp | Tagged , | 24 Comments

Sup email client keybindings and filters

Lately I’ve been playing with Sup, a geeky console-based email client written in Ruby. I’ve used it enough to understand it and settle in a bit, but unfortunately also enough to realize that it’s probably not right for me. Along the way, though, I’ve done some work with keybindings and message filters that I’d like [...]

Also posted in Snippets | Tagged , | 2 Comments

Nice-FFI 0.4 released

Nice-FFI 0.4 is now available. You can install the new version with gem install nice-ffi, as usual. Please note that Nice-FFI is still not considered API-stable, so if you aren’t willing to update your code when a new version comes out, you shouldn’t use it until version 1.0. Version 0.4 fixes several major bugs related [...]

Posted in Ruby | Tagged | Leave a comment

Nice-FFI 0.3 (and 0.2)

I’ve just released a new version of Nice-FFI, my convenience library for Ruby FFI libraries. You can install the new version with gem install nice-ffi, as usual. Please note that Nice-FFI is still not considered API-stable, so if you aren’t willing to update your code when a new version comes out, you shouldn’t use it [...]

Posted in Ruby | Tagged | Leave a comment

Snippet: ls_r (recursively list and process directories)

Here’s a little Ruby function I came up with today. I thought it might be useful to other people, so here it is. Think you can do better? Fork me and prove it! ;)

Also posted in Snippets | Leave a comment

Nice-FFI 0.1

I’m pleased to announce a small helper library I’ve created, Nice-FFI. It sits on top of Ruby-FFI and makes certain things easier and more convenient. Nice-FFI started out as helper classes I made for Ruby-SDL-FFI (which is coming soon), but I decided to generalize it and make it its own library so that other people [...]

Also posted in Projects | Tagged , | Leave a comment

Droplet Post-Mortem

This is a look back at last weekend’s RubyWeekend #3 game contest and the process of developing my entry, Droplet. You can read more post-mortems from the contest in the Rubygame forums. What went right: I’m really happy with how the plants grow and change and move. I think I got the rustling to be [...]

Also posted in Projects, RubyWeekend | Tagged , , | Leave a comment

Droplet

I’m pleased to present my entry to the RubyWeekend #3 game competition: Droplet. From the README: Droplet is a small musical toy created by John Croisant in 72 hours over the weekend of June 26-28, 2009 for the third RubyWeekend game creation competition. The theme of the competition was “A Tiny World”. The inspiration for [...]

Also posted in Projects, RubyWeekend | Leave a comment

Droplet – End of Day 3

What’s working: Plants have a limited number of generations, so they don’t start to slow everything down. Plant colors, branch length, and various other attributes are randomized per plant for more variety. You can rustle the plants by moving your mouse cursor around them. This makes them wave back and forth for a while, and [...]

Also posted in Projects, RubyWeekend | 1 Comment

Droplet – End of Day 2

A quickie progress update and screenshot of my RubyWeekend game, Droplet. What’s working: You can click to make a new plant at the nearest point on the circle. The plants grow a bit when you press spacebar. The plants grow and create new branches based on rules. What’s not: The plants are ignoring their color [...]

Also posted in Projects, RubyWeekend | Leave a comment