First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
Checking hash tables values in multithread environment
hi list, i'm trying to create a system where i have a producer-consumer paradigm but with threads. Now i already created a mutex. My mainly problem is that the producer get output from many hosts and i have to store and check if i have, for each host, the same number of values collected. Now i think to use an... 4 Jun 2010 12:32
method_defined? does what exactly?
Ruby 1.9.2-head p require_relative('foo') module Kernel p method_defined?(:require_relative) end produces true false Huh? ... 5 Jun 2010 01:42
Unexpected length of £ (pound) character?
Hi, Today I came across an issue with a customer custom report which was out by 1 char over 40 or so lines. At first thought I had incorrectly limited the field length, however the problem is only present where there is a '£' char. For example: "1234".length => 4 "1234£".length => 6 (Expect 5) "1234£6... 4 Jun 2010 09:11
Looking for ORM for 'legacy' database.
I feel I should start with some pre-emptive apologies. I used to subscribe to this list, but haven't been reading it for a year or so, so I may have missed the answer to my question. (I did try finding it in the list archives, of course.) Also, I'm a little frustrated, and that might adversely influence the tone of thi... 11 Jun 2010 22:32
[ANN] Rainbows! 0.94.0 - one eight ate my homework!
Rainbows! is an HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. For Rack applications not heavily bound by slow external network dependencies, consider Unicorn instead as it simpler and easier to deb... 4 Jun 2010 05:55
Documenting Ruby 1.9: Ebook or Wiki?
I'm writing a free ebook about Ruby 1.9 at http://ruby.runpaint.org/ . I intend for the first release to coincide with that of Ruby 1.9.2, which gives me just under two months to get it into a reasonable state. (I realise it's far from that currently). However, the more I write and plan, I wonder whether the comm... 18 Jun 2010 21:16
escape character with decimal value
I'm familiar with "\xnn" to escape a hex value in a string. Is there any way to escape a character with a decimal value? "#{197.chr}" works but doesn't seem like an escape per se... Thanks. -r -- Posted via http://www.ruby-forum.com/. ... 4 Jun 2010 07:00
comparing objects
How can I compare two objects and get true if some of his atributes are equals ? I need to compare two arrays of users, and get and third array just with the matches. I found the "&" method that work for Fixnuns and String, but...how to use with objects ? class User attr_accessor :email end a = User.ne... 12 Jun 2010 12:39
[ANN] Money 3.0.2
Money 3.0.2 Released - Added #div, #divmod, #modulo, #% and #remainder methods. -- Posted via http://www.ruby-forum.com/. ... 3 Jun 2010 15:38
redirecting stdin for 3. party program
One small addendum: I'm not actually interested in reading in something via 'gets' before launching the external command, I only included it for demonstration purposes. What I am hoping to get to work is something like the second test case, just with stdin coming from a pipe instead of a file. -- Posted via http... 3 Jun 2010 13:23
First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91