[ANN] ForkAndReturn 0.1.1035 (7/20/2008 6:11:19 PM) comp.lang.ruby ForkAndReturn 0.1.1 is released. ForkAndReturn implements a couple of methods that simplify running a block of code in a subprocess. The result (Ruby object or exception) of the block will be available in the ... Erik
ForkAndReturn 0.1.0341 (7/13/2008 10:13:10 AM) comp.lang.ruby ForkAndReturn 0.1.0 is released. RDoc: http://www.erikveen.dds.nl/forkandreturn/doc/index.html Download: http://rubyforge.org/projects/forkandreturn/index.html gegroet, Erik V. - http://www.erikveen.dds... Erik
ThreadLimiter 0.1.0032 (7/13/2008 10:13:06 AM) comp.lang.ruby ThreadLimiter 0.1.0 is released. RDoc: http://www.erikveen.dds.nl/threadlimiter/doc/index.html Download: http://rubyforge.org/projects/threadlimiter/index.html gegroet, Erik V. - http://www.erikveen.dds... Erik
Ruby 1.8.7, Cygwin and File.expand_path()162 (6/2/2008 12:04:36 PM) comp.lang.ruby File.expand_path() in Ruby 1.8.7 doesn't work like File.expand_path() in Ruby 1.8.6-p114 on Cygwin on Windows XP Pro SP 2 (build 2600). Bug or feature?... gegroet, Erik V. - http://www.erikveen.dds.nl/ -----... Erik
Levenshtein 0.1.0232 (5/24/2008 4:34:15 PM) comp.lang.ruby I've released the Levenshtein module as a gem. The most expensive part of the algorithm is written in C. But before entering the most expensive part of the algorithm, it tries to optimize as much as possible (i... Erik
ActiveRecord & Sqlite3 & serialize & "f"017 (7/20/2007 7:41:15 PM) comp.lang.ruby What's wrong with the code below? It returns this "f" instead of "". Where does "f" come from? Thanks. gegroet, Erik V. - http://www.erikveen.dds.nl/ --------------------------------------------------------... Erik
Is $! thread safe?721 (6/22/2007 10:26:19 PM) comp.lang.ruby >From the code below, it appears that $! is thread safe. Is it? Thanks. gegroet, Erik V. - http://www.erikveen.dds.nl/ ---------------------------------------------------------------- # OUTPUT: # T=1 -> ... Erik
[ANN] RubyScript2Exe 0.5.3029 (5/30/2007 7:34:10 PM) comp.lang.ruby I've updated RubyScript2Exe. I had to, because RubyScript2Exe and RubyGems weren't friends anymore... (Since RubyGems 0.9.3.) I'ts just a quick fix/hack. I'll reconsider the solution in future versions. For m... Erik
[ANN] AllInOneRuby 0.2.11034 (4/15/2007 9:26:25 PM) comp.lang.ruby I've released AllInOneRuby 0.2.11. AllInOneRuby creates an Windows or Linux executable that includes both the Ruby interpreter and the runtime libraries. Why? Because it's sometimes not easy, or allowed to do ... Erik
Getting Ruby to output a windows command to text (log) file.629 (9/17/2008 6:46:38 PM) comp.lang.ruby Hey folks, I'm trying to create a program to ping one of my company's computers every minute to measure latency, and output the results to a text file. I've been able to figure out / cobble together most of w... tmcneil(4)
ruby2exe1328 (9/19/2008 9:32:58 PM) comp.lang.ruby i get a error i dont understand. pl help E:\TradingTools\Development\app\helpers>rubyscript2exe sendIM.rb Tracing sendIM ... e:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:19: uninitialized constant ... junkone1(243)
Trouble running 'rubyscript2exe' for compiling my code430 (9/23/2008 10:49:08 AM) comp.lang.ruby All, I am getting the following error while to execute the rubyscript2exe : have the following on my system: 1)ruby 2)gem installed rubyscript2exe Have i missed out on anything else? I get the below menti... shekarls(14)
how to wrap a long string536 (9/25/2008 2:05:27 PM) comp.lang.ruby Hi all, I need to wrap a long string into several small segments. I search the forum and see a few solutions for that. I copy one script and run it on my Vista(with very small change) and here are the output:... chen_li3(387)
Mode method for Array2031 (9/30/2008 9:56:32 PM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] Hi, I'd like to write a get_mode method for the Array class. The method would return an array of the most frequently occurring element or ... glenn_ritz(38)
Iterate over array and add numbers of each object543 (10/3/2008 12:17:33 PM) comp.lang.ruby Hi all number = 0; objects.each do |o| number += o.some_number end return number I guess there's a much more beautiful way for this, or isn't? Something like collect or so... Thanks :-) Josh -- Posted via... forum1(77)
Concurent (using threads) slower than sequential -doubt924 (10/6/2008 3:40:08 AM) comp.lang.ruby Hi Folks. While starting to study the benefits of using threads in Ruby, I tried to solve the following problem: I have 3 text files ( numbers0.txt, numbers1.txt, c:\numbers2.txt ), each file contains a very l... caof20051(8)
Automatic ClassLoader (to eliminate 'require')1631 (10/11/2008 7:27:44 AM) comp.lang.ruby Hello! QUESTION: Is there any way to attach a listener that will fires when the interpreter encounters an unknown Class and going to raise the NameError? For some reason all my classes are arranged the same w... axyd80(50)
Sorting help1837 (10/12/2008 11:24:19 PM) comp.lang.ruby Hello All, I would like to request some helping with a sorting problem I have. Given an array with values like this ["10.1", "7.4", "10.9", "10.11", "10.10"] when I sort it i get something like ["10.1", "10.... binh1(3)