automatthew.wordpress.com
The electrofriend | You'll see how very reasonable the price is, when you consider that you can put an electrofriend in your ear, where it will whisper good advice and supply you with all kinds of information. | Page 2
https://automatthew.wordpress.com/page/2
You'll see how very reasonable the price is, when you consider that you can put an electrofriend in your ear, where it will whisper good advice and supply you with all kinds of information. Ruby snippet for flexible blurbing of text. Here’s a cute little method I use for extracting blurbs from text. Specify a minimum character count as the argument, and the method returns a string containing the minimum text plus whatever it takes to reach the next period, question mark, or exclamation point. Will change...
drnicwilliams.com
Dr Nic's Future proofing your Ruby code. Ruby 1.9.1 is coming.
http://drnicwilliams.com/2008/12/11/future-proofing-your-ruby-code
Future proofing your Ruby code. Ruby 1.9.1 is coming. December 11th, 2008. I’m a Ruby monogamist. I use the Ruby that comes with Leopard (. Ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]. Oh sure I’ve cheated on my Ruby a couple of times. It was just sex, I didn’t fall in love, I promise. My machine has had various versions of jRuby, Rubinius and MacRuby installed at various times, but I don’t think it’s ever had two working copies of Ruby MRI (Matz Ruby Implementation) at a time. You can f...
pixelmachine.org
Ben Hughes — Software Developer
http://www.pixelmachine.org/blog.html
In which I don’t mention Clojure at all. Storm comes with a neat implementation of a common DRPC pattern, Linear DRPC. This pattern handles the common case where the computation is a linear set of steps. The ReachTopology. A question about how CoordinatedBolt works came up on the mailing list. So I decided to look at the source code to figure out how it operates. As part of the process, I annotated some source code for my own edification. Reading code is good, so check out the annotated code. Coordinated...
hassox.blogspot.com
this.blog: December 2007
http://hassox.blogspot.com/2007_12_01_archive.html
Wednesday, December 19, 2007. Generate Merb Plugins and Generators. As part of my effort to port over restful authentication I'm at the point where I want to start making a merb. Plugin gem out of it. This will of course include some generators for merb and datamapper. Later I'll add the Active Record. Generators. This is super simple thanx to Rubigen. Generate a Merb Plugin. Merb comes with an option to build the skeleton of a plugin inside the. Merb -P merbful authentication. For the specific case of m...
hassox.blogspot.com
this.blog: October 2007
http://hassox.blogspot.com/2007_10_01_archive.html
Wednesday, October 31, 2007. Adding Mime Types to Merb. Adding a new mime type in Merb is really simple. It's just one line. Lets say we want the following:. Pdf extension to be associated with the :pdf content type. Want to call to pdf on an object we give to render. For all this we just make a call to Merb.add mime type. The arguments to Merb.add mime type are. Symbol for content type. Symbol of method to call to convert an object to this format. A hash of response headers you want to include [optional].
errtheblog.com
Adapting Ambitiously — err.the_blog
http://errtheblog.com/posts/82-adapting-ambitiously
Ldquo; Adapting Ambitiously. January 29, 2008. It’s funny, really. All these people walking around, talking about Ambition. “Oh, Ambition? Yeah, pretty cool.” “Ambition? Impedance mismatch.” “I’m happy with SQL. 92 the way it is, thank you very much.” Outrageous! I know, I know. We’ve said some crazy things ourselves. Like how we wanted Ambition to be a Rack for databases. Or, far fetched as it sounds, how we hoped Ambition could evolve into something akin to LINQ. But we’re done talking. Guys started wo...
ambition.rubyforge.org
Ruby's Ambition
http://ambition.rubyforge.org/adapters.html
Adapters are gems named. Corresponds to the data store they are adapting. They can be required in code via. To install and test the ActiveRecord adapter:. Gem install ambitious-activerecord $ irb require 'rubygems' require 'ambition/adapters/active record'. Adapters typically inject themselves into their target automatically, so that should be all you need. There are a few adapters in development or released currently:. If you’re interested in writing your own adapter, read on. The Anatomy of an Adapter.