Advertisement
Nickname
drbrain
Registered since:
March 6, 2006
Short bio:
 
Home page:
 
Total posts:
660

Forum posts by Eric Hodel:

44 pages [ Previous 1 ... 33 34 35 36 37 38 39 40 41 42 43 Next ]
Posted in All Buzz Forum, Aug 18, 2006, 4:10 PM
Geoff writes about our cached_model and memcache-client libraries: The Robot Co-Op has made a few libraries available. cached_model makes it easy to cache single row queries from ActiveRecord tables. memcache-client is a pure Ruby client and is included with the installation of cached_model. —memcached Basics for Rails via Nuby on Rails...
Posted in All Buzz Forum, Aug 17, 2006, 4:48 PM
You may have noticed me using both $stdout and STDOUT in my last post and been puzzled by how I could use both. When Ruby starts up the process’ standard output file descriptor is stored in both the constant STDOUT and the global variable $stdout. STDOUT holds the process’ original stdout while $stdout is reassignable. Kernel#puts...
Posted in Ruby Buzz Forum, Aug 17, 2006, 4:48 PM
You may have noticed me using both $stdout and STDOUT in my last post and been puzzled by how I could use both. When Ruby starts up the process’ standard output file descriptor is stored in both the constant STDOUT and the global variable $stdout. STDOUT holds the process’ original stdout while $stdout is reassignable. Kernel#puts...
Posted in All Buzz Forum, Aug 16, 2006, 8:48 PM
cdfh on #ruby-lang asked how to redirect $stdout per-thread and I came up with this solution, redirect via a thread-local variable: ## # Allows $stdout to be set via Thread.current[:stdout] per thread. module ThreadOut ## # Writes to Thread.current[:stdout] instead of STDOUT if the thread local is # set. def self.write(stuff) if...
Posted in Ruby Buzz Forum, Aug 16, 2006, 8:48 PM
cdfh on #ruby-lang asked how to redirect $stdout per-thread and I came up with this solution, redirect via a thread-local variable: ## # Allows $stdout to be set via Thread.current[:stdout] per thread. module ThreadOut ## # Writes to Thread.current[:stdout] instead of STDOUT if the thread local is # set. def self.write(stuff) if...
Posted in All Buzz Forum, Aug 16, 2006, 12:48 AM
Rubyforge Project: http://rubyforge.org/projects/rctools Documentation: http://dev.robotcoop.com/Tools/ar_mailer About Even deliviring email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail. Installing...
Posted in All Buzz Forum, Aug 9, 2006, 9:01 PM
Ryan Davis has a nice Rake tasks that lets you freeze a Rails release. Its probably the easiest way to upgrade to Rails 1.1.5.
Posted in Ruby Buzz Forum, Aug 9, 2006, 9:01 PM
Ryan Davis has a nice Rake tasks that lets you freeze a Rails release. Its probably the easiest way to upgrade to Rails 1.1.5.
Posted in All Buzz Forum, Aug 9, 2006, 7:02 PM
We consume flickr photos as part of 43 Places and use their tags to automatically add them to places. One new user creepily found his own face as his hometown’s featured photo.
Posted in Ruby Buzz Forum, Aug 9, 2006, 7:02 PM
We consume flickr photos as part of 43 Places and use their tags to automatically add them to places. One new user creepily found his own face as his hometown’s featured photo.
Posted in All Buzz Forum, Aug 5, 2006, 7:00 AM
With many thanks to Hugh Sasse for doing much of the gruntwork, there will be a huge increase in RDoc available in Ruby 1.8.5. If you have the time, get the latest from CVS (HEAD or ruby_1_8) and make install install-doc, check it out, and report back anything busted, poorly worded, or in need of general cleanup. I have until Sunday night to...
Posted in All Buzz Forum, Jul 5, 2006, 10:43 PM
Paul Battley wrote on the ruby-talk mailing list: Here’s something for the hungry mob to tear apart: automatic Ruby to JavaScript conversion. It seems somehow wrong, like grafting a pretty girl’s head onto a donkey, but I’ve done it anyway! [...] It uses Ryan Davis et al’s ParseTree and Florian Gro’s ruby.js for...
Posted in All Buzz Forum, Jul 4, 2006, 9:30 AM
M. Edward (Ed) Borasky wrote: > Pawel Szymczykowski wrote: > > On 7/3/06, James Britt wrote: > > > Thanks for pointing this out. I recall when this was > > > first suggested, and I'm glad it just faded away. > > > > Pfft.. what are the kids all suposed to go out and get > > tattoos of then? > >...
Posted in Ruby Buzz Forum, Jul 4, 2006, 9:30 AM
M. Edward (Ed) Borasky wrote: > Pawel Szymczykowski wrote: > > On 7/3/06, James Britt wrote: > > > Thanks for pointing this out. I recall when this was > > > first suggested, and I'm glad it just faded away. > > > > Pfft.. what are the kids all suposed to go out and get > > tattoos of then? > >...
Posted in All Buzz Forum, Jul 4, 2006, 1:38 AM
For Trackmap I need to take the time a picture was taken and a user supplied time zone and convert that to a correctly offset time. Since Flickr won’t give me a time zone (cameras don’t record them) I ask the user. If they say Mountain time I need to create a time that is correct for the server’s clock (in my case Pacific...
44 pages [ Previous 1 ... 33 34 35 36 37 38 39 40 41 42 43 Next ]
Advertisement