# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=1393

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1394

---

## [Still testing](https://www.ruby-forum.com/t/still-testing/111390)

<div class="topic-metadata">

**Author:** [@Lee\_NL](https://www.ruby-forum.com/u/Lee_NL)\
**Replies:** 3\
**Last updated:** [August 7, 2007, 6:19am UTC](https://www.ruby-forum.com/t/still-testing/111390 "2007-08-07T06:19:56Z")

</div>

Really gonna give up… why can’t get any post at all…

---

## [Ruby lib for downloading stock quotes?](https://www.ruby-forum.com/t/ruby-lib-for-downloading-stock-quotes/111418)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 2\
**Last updated:** [August 7, 2007, 5:33am UTC](https://www.ruby-forum.com/t/ruby-lib-for-downloading-stock-quotes/111418 "2007-08-07T05:33:54Z")

</div>

Just as the title says…couldn’t find anything obvious with a couple of Google searches, but I’d imagine something exists, somewhere. Recommendations appreciated Thanks, Ken

---

## [ActiveRecord problems](https://www.ruby-forum.com/t/activerecord-problems/111420)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 3\
**Last updated:** [August 7, 2007, 4:59am UTC](https://www.ruby-forum.com/t/activerecord-problems/111420 "2007-08-07T04:59:40Z")

</div>

This is the error I get: /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/base.rb:1857:in method\_missing': undefined methodbody=’ for #Article:0x1374418 (NoMethodError) from buzz.rb:60:in \`add’ from…

---

## [Oniguruma question](https://www.ruby-forum.com/t/oniguruma-question/111400)

<div class="topic-metadata">

**Author:** [@Jonas\_Galvez](https://www.ruby-forum.com/u/Jonas_Galvez)\
**Replies:** 1\
**Last updated:** [August 7, 2007, 3:48am UTC](https://www.ruby-forum.com/t/oniguruma-question/111400 "2007-08-07T03:48:52Z")

</div>

I’ve just installed oniguruma (gem install) and tried this: reg = Oniguruma::ORegexp.new("\\p{Lu}", { :encoding =\> Oniguruma::ENCODING\_UTF8 }) Shouldn’t it match “A”? reg.match(“A”) returns nil. –Jonas Galvez

---

## [Nmake don't have $\< macro](https://www.ruby-forum.com/t/nmake-dont-have-macro/111411)

<div class="topic-metadata">

**Author:** [@KIMURA\_Koichi](https://www.ruby-forum.com/u/KIMURA_Koichi)\
**Replies:** 0\
**Last updated:** [August 7, 2007, 3:23am UTC](https://www.ruby-forum.com/t/nmake-dont-have-macro/111411 "2007-08-07T03:23:45Z")

</div>

e$BLZB\<$G$9!#e(B e$B$H$j$"$($:Js9p!#e(B e$B8=\>u$Ne(BCVS HEADe$B$G%S%k%I\<:GT$7$^$9e(B(e$B$?$V$se(Bwin32e$B4D6-$@$1e(B?) common.mk e$B$He(B io.c e$B$NJQ99$G0z$C$+$+$j$^$7$?!#e(B node\_name.inc: {$(VPATH)}node.h $(BASE…

---

## [How to reclaim memory without GC.start](https://www.ruby-forum.com/t/how-to-reclaim-memory-without-gc-start/109570)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 26\
**Last updated:** [August 6, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/how-to-reclaim-memory-without-gc-start/109570 "2007-08-06T23:59:29Z")

</div>

Hi - I have a memory and cpu-constrained embedded app. There’s a long- running loop with a local object (buffer) which eats up memory. A GC.start on every iteration will reclaim it, but that eats the cpu. Is there a w…

---

## [Yield or call?](https://www.ruby-forum.com/t/yield-or-call/111351)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 23\
**Last updated:** [August 6, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/yield-or-call/111351 "2007-08-06T21:46:17Z")

</div>

def f(&b) … b.call … end def g … yield b … end As far I understood the documentation for call and yield, both are equivalent: f { … } g { … } Is there a principal reason when to prefer call over yield (or v…

---

## [Problem with glReadPixels in ruby-opengl](https://www.ruby-forum.com/t/problem-with-glreadpixels-in-ruby-opengl/111391)

<div class="topic-metadata">

**Author:** [@rmbrooks](https://www.ruby-forum.com/u/rmbrooks)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/problem-with-glreadpixels-in-ruby-opengl/111391 "2007-08-06T21:13:02Z")

</div>

I’m having a lot of difficulty understanding the behavior of some of the ruby-opengl code. For those who’ve never used it, ruby-opengl provides bindings for the OpenGL functions in C. For the most part it works fine…

---

## [Icanhasaudio 0.0.3 Released](https://www.ruby-forum.com/t/icanhasaudio-0-0-3-released/111331)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/icanhasaudio-0-0-3-released/111331 "2007-08-06T21:04:12Z")

</div>

icanhasaudio version 0.0.3 has been released! http://seattlerb.rubyforge.org/ Hai! icanhasaudio? is an interface to lame for decoding ur MP3s. I iz in ur computer. Decodin ur mp3s. Whatevs! I also decodin ur OGGz…

---

## [Issue with ControlSend function using AutoIT in Ruby](https://www.ruby-forum.com/t/issue-with-controlsend-function-using-autoit-in-ruby/105105)

<div class="topic-metadata">

**Author:** [@sheepfunk](https://www.ruby-forum.com/u/sheepfunk)\
**Replies:** 5\
**Last updated:** [August 6, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/issue-with-controlsend-function-using-autoit-in-ruby/105105 "2007-08-06T20:51:29Z")

</div>

I’m having an issue running scripts that use AutoIT against my windows box, half the time the ControlSend function sends a string to the GUI that should be all upcase, in a hodge-podge of different case letters. Examp…

---

## [Watir Javascript popup handler: How to handle the popup dial](https://www.ruby-forum.com/t/watir-javascript-popup-handler-how-to-handle-the-popup-dial/110809)

<div class="topic-metadata">

**Author:** [@rajesh](https://www.ruby-forum.com/u/rajesh)\
**Replies:** 1\
**Last updated:** [August 6, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/watir-javascript-popup-handler-how-to-handle-the-popup-dial/110809 "2007-08-06T20:51:11Z")

</div>

Clarification regarding JSpopup\_dialog. Winclicker supports the popup when clicked on the link but the same fails in the second case. I think Watir is unable to get the handle of the dialog…Any help??? Application han…

---

## [Beginner's tutorial and poor attempt at classes](https://www.ruby-forum.com/t/beginners-tutorial-and-poor-attempt-at-classes/111092)

<div class="topic-metadata">

**Author:** [@mobileamusement](https://www.ruby-forum.com/u/mobileamusement)\
**Replies:** 15\
**Last updated:** [August 6, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/beginners-tutorial-and-poor-attempt-at-classes/111092 "2007-08-06T20:30:05Z")

</div>

Hi all I just started with Ruby (yesterday actually). Have been reading the amazing Poignant Guide, and also a couple of other very basic tutorials. From one of these I wrote an example class, now my knowledge of Rub…

---

## [Dynamic alias](https://www.ruby-forum.com/t/dynamic-alias/111389)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/dynamic-alias/111389 "2007-08-06T20:26:05Z")

</div>

Honestly, alias bugs me to know end. When meta-programming, alias is notorious for causing problems. Not only is it a keyword (yuk), but it is inherently static. Well, it doesn’t fix everything of course, but here’s a…

---

## [Bignum#to\_s $B$N(B Karatsuba $B4p?tJQ49$K$h$k9bB.2=(B](https://www.ruby-forum.com/t/bignum-to-s-b-n-b-karatsuba-b4p-tjq49-k-h-k9bb-2-b/110941)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 15\
**Last updated:** [August 6, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/bignum-to-s-b-n-b-karatsuba-b4p-tjq49-k-h-k9bb-2-b/110941 "2007-08-06T19:58:01Z")

</div>

ã‚€ã‚‰ã‘ã‚“ã§ã™ï¼Ž ã¾ã¤ã‚‚ã¨ã•ã‚“ã®æ—¥è¨˜ã§è©±é¡Œã«ãªã£ã¦ã„ãŸ Bignum#to\_s ã® Karatsuba åŸºæ•°å¤‰æ›ã«ã‚ˆã‚‹é«˜é€ŸåŒ–ã‚’ C ã§å®Ÿè£…ã—ã¦ã¿ã¾ã—ãŸï¼Ž ãƒ™ã‚­æ•°ã®ã‚­ãƒ£ãƒƒã‚·ãƒ¥ã‚¢ãƒ«ã‚´ãƒªã‚ºãƒ ã…

---

## [Belgian Ruby User Group](https://www.ruby-forum.com/t/belgian-ruby-user-group/111301)

<div class="topic-metadata">

**Author:** [@Calamitas](https://www.ruby-forum.com/u/Calamitas)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/belgian-ruby-user-group/111301 "2007-08-06T19:34:54Z")

</div>

Hi all, We are in the process of setting up the first Belgian Ruby U. Group. Many of us feel that Ruby interest in Belgium is still too low, and we need to do something about that. And the first step is for us Belgian …

---

## [Pulling specific dup. elements out of an array](https://www.ruby-forum.com/t/pulling-specific-dup-elements-out-of-an-array/111222)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 7\
**Last updated:** [August 6, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/pulling-specific-dup-elements-out-of-an-array/111222 "2007-08-06T18:30:48Z")

</div>

if i have an array full of numbers such as \[‘234234’,‘04593’,‘4098234’,‘0’,‘0’,‘0’\] how do i remove the 0 elements without affecting the 0’s in the 04593 and the 4098234 numbers? my original thoughts were to use a ar…

---

## [Re: Bug in Ruby's PTY extension](https://www.ruby-forum.com/t/re-bug-in-rubys-pty-extension/111383)

<div class="topic-metadata">

**Author:** [@ronald\_braswell](https://www.ruby-forum.com/u/ronald_braswell)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/re-bug-in-rubys-pty-extension/111383 "2007-08-06T18:21:46Z")

</div>

previously. suspect that just keeping a reference to the open file object in the Regards, Dan Hi Dan, The child process inherits open file descriptors for the pty master and slave devices – neither of which wer…

---

## [Can not puts '\\c' in irb](https://www.ruby-forum.com/t/can-not-puts-c-in-irb/111363)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 5\
**Last updated:** [August 6, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/can-not-puts-c-in-irb/111363 "2007-08-06T17:50:40Z")

</div>

irb 0.9.5 for Windows: irb(main):016:0\> puts ‘\\c’ irb(main):017:0’ i.e. irb expects a continuation line. Guess this is a bug? In case someone has a more recent release of irb, does this still occur in the newer one? …

---

## [Excel or CVS parse](https://www.ruby-forum.com/t/excel-or-cvs-parse/111254)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 3\
**Last updated:** [August 6, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/excel-or-cvs-parse/111254 "2007-08-06T17:34:09Z")

</div>

Hello all! How to parse excel files or CVS files easy? But with support russian symbols or just UTF? Tnx

---

## [set\_trace\_func$B!(BNULL pointer given](https://www.ruby-forum.com/t/set-trace-func-b-bnull-pointer-given/111380)

<div class="topic-metadata">

**Author:** [@eklerni](https://www.ruby-forum.com/u/eklerni)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/set-trace-func-b-bnull-pointer-given/111380 "2007-08-06T17:18:33Z")

</div>

From:eklerni 1.9e$B$GHO0O1i;;;R$r;H$&$He(Bdebug.rbe$B$,%(%i!\<$K$J$j$^$9!#e(B $ ruby -r debug -e ‘(1…3)’ #=\> Debug.rb Emacs support available. 0: NULL pointer given (ArgumentError) 1.8.6e$B$G$OF1MM$N8=\>\]$O$F8+$i$l$…

---

## [Ruby/Ruby on Rails(RoR) Developers in London](https://www.ruby-forum.com/t/ruby-ruby-on-rails-ror-developers-in-london/111378)

<div class="topic-metadata">

**Author:** [@Recruitment\_Develop](https://www.ruby-forum.com/u/Recruitment_Develop)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/ruby-ruby-on-rails-ror-developers-in-london/111378 "2007-08-06T17:12:32Z")

</div>

Salary: depending on experience Type: Permanent Start: ASAP Benefits: Private health care, contributory pension and others Company: Aegis Media http://aemedia.com/ Pre-Requisites: OO development and SQL === Backgro…

---

## [Bug in Ruby's PTY extension](https://www.ruby-forum.com/t/bug-in-rubys-pty-extension/111313)

<div class="topic-metadata">

**Author:** [@ronald\_braswell](https://www.ruby-forum.com/u/ronald_braswell)\
**Replies:** 5\
**Last updated:** [August 6, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/bug-in-rubys-pty-extension/111313 "2007-08-06T16:20:22Z")

</div>

I’m new to the ML so please forgive me if this has been discussed previously. Ruby version: 1.8.5 OS: Solaris 10 x64 (11/06) CPU: Dual core Opteron When using expect or RExpect I was getting an intermittent prema…

---

## [Accessing all matches using regex](https://www.ruby-forum.com/t/accessing-all-matches-using-regex/111334)

<div class="topic-metadata">

**Author:** [@spike666](https://www.ruby-forum.com/u/spike666)\
**Replies:** 4\
**Last updated:** [August 6, 2007, 2:24pm UTC](https://www.ruby-forum.com/t/accessing-all-matches-using-regex/111334 "2007-08-06T14:24:25Z")

</div>

Hey all so, I primarily use PERL for creating shell scripts but I’m trying to learn ruby since it feels like it could do more of what I want with cleaner code. I especially like the way it has regex built right in. I…

---

## [South East Michigan Ruby Brigade Meeting - Today!](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting-today/111353)

<div class="topic-metadata">

**Author:** [@Winston\_T](https://www.ruby-forum.com/u/Winston_T)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting-today/111353 "2007-08-06T13:39:59Z")

</div>

Date: Monday, 6 Aug 2007 Time: 7:00-8:30pm Location: 1670 CSE (http://cma.hurleyhome.com/SEMI%20Ruby%20Map.pdf) (if you are not familiar with campus don’t be intimidated, ask on the mailing list (http://lists.rubymi.…

---

## [Dynamic method call](https://www.ruby-forum.com/t/dynamic-method-call/110942)

<div class="topic-metadata">

**Author:** [@martignoni-a](https://www.ruby-forum.com/u/martignoni-a)\
**Replies:** 31\
**Last updated:** [August 6, 2007, 12:45pm UTC](https://www.ruby-forum.com/t/dynamic-method-call/110942 "2007-08-06T12:45:52Z")

</div>

I’m trying, for the purpose of making something similar to a grammar, to do this if\_a\_condition\_is\_true(condition, “method\_name(arg1, arg2)”) where def method\_name(arg1, arg2) #do something end i’ve tried many wa…

---

## [Re: pulling specific dup. elements out of an array](https://www.ruby-forum.com/t/re-pulling-specific-dup-elements-out-of-an-array/111348)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 12:23pm UTC](https://www.ruby-forum.com/t/re-pulling-specific-dup-elements-out-of-an-array/111348 "2007-08-06T12:23:49Z")

</div>

with: array.inject(0) {|num, i| num + i}/array.length/1024 #1024 = kilobytes convert so if theres a way to shove reject into that then lemme know ^^ Just do the reject first (use reject! if you want to modify the…

---

## [Re: question about public key encryption](https://www.ruby-forum.com/t/re-question-about-public-key-encryption/111343)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 11:43am UTC](https://www.ruby-forum.com/t/re-question-about-public-key-encryption/111343 "2007-08-06T11:43:40Z")

</div>

does anyone have the experience about public key encryption with ruby? I know how to use the module OpenSSL::PKey::RSA to create public/private key pair and encrypt/decrypt with the key pair. however, if I only know …

---

## [Numbers Can Be Words (#133)](https://www.ruby-forum.com/t/numbers-can-be-words-133/111173)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 13\
**Last updated:** [August 6, 2007, 8:24am UTC](https://www.ruby-forum.com/t/numbers-can-be-words-133/111173 "2007-08-06T08:24:20Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Fast implementation of XML escape](https://www.ruby-forum.com/t/fast-implementation-of-xml-escape/111170)

<div class="topic-metadata">

**Author:** [@bobh](https://www.ruby-forum.com/u/bobh)\
**Replies:** 6\
**Last updated:** [August 6, 2007, 7:33am UTC](https://www.ruby-forum.com/t/fast-implementation-of-xml-escape/111170 "2007-08-06T07:33:17Z")

</div>

Hi, Does anyone know of a fast implementation of the XML escape method (the one that converts '"\<\>& to " etc.)? I did some benchmarking on one of my applications and the implementation I have, which I thought was oka…

---

## [Ruby-HL7 0.2.44](https://www.ruby-forum.com/t/ruby-hl7-0-2-44/111330)

<div class="topic-metadata">

**Author:** [@bowenmark](https://www.ruby-forum.com/u/bowenmark)\
**Replies:** 0\
**Last updated:** [August 6, 2007, 4:24am UTC](https://www.ruby-forum.com/t/ruby-hl7-0-2-44/111330 "2007-08-06T04:24:08Z")

</div>

What is it? Ruby-HL7 is a library for parsing and generating HL7 2.x messages. HL7 3.0 message support is planned for a future release. HL7 is a widely used medical information interchange format. Feature list: fle…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=1392)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=1394)
