about 1 year ago - No comments
While working on Pixie we wanted to be able to import any image from the web into the editor. Ideally this would all occur in client-side JavaScript, but due to a “security” restriction* I believe that it is not possible without extensive workarounds. Fortunately loading an image on the server is actually much easier than…
about 2 years ago - No comments
Here’s a little module that will make adding things like Cards.random(4) a breeze! # This module takes care of adding a random scope to records module RandomScope def self.included(model) model.class_eval do if connection.adapter_name == "MySQL" named_scope :random, lambda { |amount| if(amount) {:order => "RAND()", :limit => amount} else {:order => "RAND()"} end } else…
about 2 years ago - 3 comments
So check it, the long term vision: JavaScript RubyVM (HotRuby) provides a way to script in Ruby on legacy browsers (IE). Ruby implemented natively as a clientside scripting language in all modern browsers (Chrome, Firefox). jQuery continues to rock the DOM. Everyone wins!
about 3 years ago - No comments
So, better late than never I guess… I’ve been Ruby Quizmaster for about two months now. The Ruby Quiz site is at http://rubyquiz.strd6.com. This is the third incarnation of Ruby Quiz, a weekly quiz that let’s you put your Ruby skills to the test. The first quiz was started by James Edward Grey II, there…
about 3 years ago - No comments
Dungeon Farmer has been moving along. It now supports two (2!) kinds of plants, so basically any number. That’s the thing about programming, you can either do something once, or any number of times. In addition to the new plant, there have been highlighting improvements, raccoon metabolism balance changes, basically the whole eight yards. Now…
about 3 years ago - No comments
I just released the pre-alpha version torgo on RubyForge. It currently probably only works on linux, I need to figure out how to create the bin file appropriately. Also it currently only works with wine running uTorrent, or straight uTorrent on Windows. So what’s it do? I’m glad I asked… usage: >torgo Manos the Hands…
about 3 years ago - 1 comment
I recently participated in the RubyGame forums Ruby Weekend #2 game programming competition. I feel it turned out pretty well, but judge for yourself. I was pretty rushed during the weekend with other commitments so I didn’t keep a dev blog… next time. Also this blog was fallow until recently. This competition has spurred me…
about 4 years ago - No comments
It’s finally here, the literary immurement simulation that we’ve all been waiting for! The Cask of Amontillado. Can you escape the horror of the catacombs of the Montressor’s?