The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Hack This Sign On a Remote Wood Floor

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Hack This Sign On a Remote Wood Floor Posted: Sep 29, 2006 4:26 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Hack This Sign On a Remote Wood Floor
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Hey, whoa, Aaron Patterson’s got a great hack! Check this out: he just put out a library called BetaBrite, for programming LED signs. Well, the kids on Ruby-Talk were like, “Except, we don’t have those signs.” So enterprising Aaron set up a webcam hooked to DRb and… seriously… you guessed it!

 require 'drb'
 require 'rubygems'
 require 'betabrite'
 DRb.start_service()
 obj = DRbObject.new(nil, 'druby://eviladmins.org:9000')
 File.open("out.jpg", 'wb') { |a|
 a.write obj.write_simple(";D thx aaron!")
 }

That’s can-do spirit, gents. My favorite angle on this: Aaron gets to sit there and watch everybody use his lib in realtime all day. Now I want a marquee for svn checkins.

Read: Hack This Sign On a Remote Wood Floor

Topic: Over 80 articles about programming ordered by popularity Previous Topic   Next Topic Topic: Blogger's Block #4: Ruby and Java and Stuff

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use