RubyConf 2007

Eric Hodel | Tue, 20 Nov 2007 00:32:50 GMT

I had a good time at RubyConf, but was too busy obsessing over my presentation. I think it turned out well, though, as many people complimented me on my talk. I did manage to play my “you owe me a beer” card a couple times though, which was good.

Oh, yes, here’s my slides for Maximizing Productivity in PDF, the Keynote (zipped) form, and the presentation courtesy of Confreaks.

This RubyConf had the feel of the pre-Rails RubyConfs, which was very welcome. The dual track format was alright, except that one talk would be far more popular than the other leaving one room standing-room-only.

I think my favorite talk of the conference was Ben Bleything’s Controlling Electronics with Ruby, because he had all sorts of fun toys to pass around and play with.

Also, Rich Kilmer, Akira Tanaka and Koichi Sasada figured out the last issues to importing RubyGems into 1.9, so we’ll be cleaning that up over the next week or two. I’ll have a separate post on the RubyGems differences between 1.8 and 1.9 shortly.

Posted in ,  | 1 comment

RingyDingy 1.1.0 Released

Eric Hodel | Tue, 24 Oct 2006 15:59:00 GMT

RingyDingy version 1.1.0 has been released!

http://seattlerb.rubyforge.org/RingyDingy

RingyDingy automatically re-registers your DRb service with a RingServer should communication with the RingServer stop.

Changes:

  • Added ring_server executable (Rinda::RingServer wrapper)
    • Daemon mode
    • Rinda::RingServer service listingph
    • Remote verbose mode enable-disable
  • Switched to Hoe

Posted in , , ,  | no comments | no trackbacks

DRb via YAML

Eric Hodel | Sun, 30 Apr 2006 10:01:19 GMT

Much longer than it should be as the serialization of objects is buried inside a couple of huge methods. One tricky bit was having to mark DRbObject as not responding to #yaml_initialize, the other was marking a few undumpable classes as undumpable by YAML.

I’ll post it tomorrow when I have more brain.

Posted in , ,  | 1 comment

TupleSpace Replicator

Eric Hodel | Sun, 30 Apr 2006 02:32:00 GMT

At MindCamp 2.0 I was asked about how you would replicate a TupleSpace. I whipped up the following implementation:

class Rinda::TupleSpaceReplicator

  attr_accessor :debug

  attr_reader :local_tuplespace, :remote_tuplespace

  def initialize(remote_tuplespace, templates)
    @local_tuplespace = Rinda::TupleSpace.new
    @remote_tuplespace = remote_tuplespace
    @templates = templates

    @debug = false

    @replicators = ThreadGroup.new
  end

  def replicate
    @templates.each do |template|
      %w[write take].each do |type|
        make_replicator type, template
      end
    end
  end

  def make_replicator(event_type, template)
    thread = Thread.start do
      observer = @remote_tuplespace.notify event_type, template
      observer.each do |event, tuple|
        break if event == 'close'
        @local_tuplespace.send event, tuple
        $stderr.puts "master #{event}: #{tuple.inspect}" if @debug
      end
    end

    @replicators.add thread
  end

end

The core of this is the make_replicator method. It replicates tuples of the specified template from the remote tuplespace to the local tuplespace. Read more...

Posted in , ,  | no comments

DRb an Introduction and Overview

Eric Hodel | Sun, 23 Apr 2006 00:57:34 GMT

I just completed my presentation on Distributed Ruby an Introduction and Overview at the Silicon Valley Ruby Conference. Free of charge you can download a PDF of the slides (720k) or the Keynote original (544k, Apple Keynote only).

Now that I have two outlines of more DRb functionality I should seriously consider writing a book on it.

Posted in , ,  | 2 comments

SXSW 2006

Eric Hodel | Thu, 16 Mar 2006 20:05:05 GMT

Saturday:

Caught part of a talk by Daniel Gilbert about happiness and marketing, a panel on services like dodgeball, meetup and upcoming that are merging offline and online life and a panel on starting your own consulting/for hire business. Most interestingly, Meetup’s charges its fees because it allows people wanting to meet up to find a suitable venue.

Sunday:

Maps panel which was ok, Rev Dan Catt of Yahoo was the most interesting. Lots of talk on map/photo integration and cell phone stuff. Jason Kottke and Heather Armstrong gave a keynote on pro blogging which was ok.

Adam Greenfield’s talk on ubiquitous computing was very cool. He included current examples, near-term possibilities and coming problems. He closed with five guidelines for the implementation of ubiquitous computing.

We didn’t win an award, losing out to 9rules in our category and eminem for people’s choice.

Monday:

I learned that microformats are pretty cool, especially when there’s tools that can extract them and turn them into alternate formats like Technorati’s hCard to vCard and hCalendar to ics converters. I’ll probably add microformats to Rubyholic after the next release of ZenTest.

Craig Newmark of Craigslist gave an awesome keynote. He spoke about how people are pretty much the same all over judging by the content of the dating and casual encounters sections. The main thing Craigslist has been doing is getting out of the way and letting the users evolve the site.

The panel on viral marketing was minorly applicable, the most important question raised was how do you measure effectiveness? Typically, viral marketing is so cheap that it doesn’t matter. They won my best conference quote award, “Puppets are the next monkeys”.

The “What People Are Really Doing on the Web” panel featured too much unreadable powerpoint. There were some pretty graphs from which I derived that soccer moms like playing web games.

Tuesday:

Only saw the keynote by Burnie Burns of Rooster Teeth fine producers of Red vs Blue. They talked about how to build buzz around your podcast/website/etc. and gave crazy predictions for the future of the internet now that the phone companies are getting grumpy about the internet traffic crossing their networks.

Burnie Burns wins second-best conference quote by stating that Google’s mission statement is probably something like “Let’s not make eggs”.

Posted in  | no comments