# Ruby

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

[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:** 1785

---

## [Dungeon Generation (#80)](https://www.ruby-forum.com/t/dungeon-generation-80/62208)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [June 1, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/dungeon-generation-80/62208 "2006-06-01T20:01:24Z")

</div>

This is a fun problem, probably hindered by the holiday weekend. Luckily, we did get a great solution from Benjohn B… (We got another great one from Elliot T. after I wrote this. Sorry Elliot!) Let’s dig into how …

---

## [Re: rcov 0.5.0: code coverage + callsite info, RubyGems, Ran](https://www.ruby-forum.com/t/re-rcov-0-5-0-code-coverage-callsite-info-rubygems-ran/95362)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 7\
**Last updated:** [June 1, 2006, 7:44pm UTC](https://www.ruby-forum.com/t/re-rcov-0-5-0-code-coverage-callsite-info-rubygems-ran/95362 "2006-06-01T19:44:45Z")

</div>

fr Mauricio: Source code, additional information, screenshots… available at eigenclass.org Release information: eigenclass.org rcov is really very useful. Thank you for sharing rcov. Sample cross-referenced rep…

---

## [Importing libraries - Installing OOo4R](https://www.ruby-forum.com/t/importing-libraries-installing-ooo4r/62213)

<div class="topic-metadata">

**Author:** [@Anthony\_Elizondo](https://www.ruby-forum.com/u/Anthony_Elizondo)\
**Replies:** 2\
**Last updated:** [June 1, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/importing-libraries-installing-ooo4r/62213 "2006-06-01T18:48:50Z")

</div>

I’ve been looking for some documentation on the proper way to import libraries, and I can’t seem to find any definite rules. Suppose I want to “install” OpenOffice4R, OOo4R. Should I just copy the contents of lib into…

---

## [Re: Presentation proposals now being accepted for RubyConf20](https://www.ruby-forum.com/t/re-presentation-proposals-now-being-accepted-for-rubyconf20/95451)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [June 1, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/re-presentation-proposals-now-being-accepted-for-rubyconf20/95451 "2006-06-01T17:58:30Z")

</div>

process and/or the proposal site. Yes on the link – I just haven’t done it yet. Yes on the venue – see above :slight\_smile: Whoops, ok. Can you update rubyconf.org regarding the venue then, please. …

---

## [Re: Presentation proposals now being accepted for RubyConf 2](https://www.ruby-forum.com/t/re-presentation-proposals-now-being-accepted-for-rubyconf-2/62217)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [June 1, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/re-presentation-proposals-now-being-accepted-for-rubyconf-2/62217 "2006-06-01T17:58:12Z")

</div>

David for the RubyConf 2006 organizers at Ruby Central, Inc. Excellent. Should there be a link off of rubyconf.org perhaps? Also, the venue is set, correct? Thanks, Dan This communication is the property of Qwe…

---

## [Compiling for mingw32 under Cygwin](https://www.ruby-forum.com/t/compiling-for-mingw32-under-cygwin/62118)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 3\
**Last updated:** [June 1, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/compiling-for-mingw32-under-cygwin/62118 "2006-06-01T16:46:07Z")

</div>

Hi there, I’m trying to compile Ruby under Cygwin, but I want to target mingw32. Although I’ve got the mingw32 tools installed, the ./configure step doesn’t spot them. Has anyone had any luck with this? Just setting …

---

## [Constant Hash strangeness](https://www.ruby-forum.com/t/constant-hash-strangeness/62141)

<div class="topic-metadata">

**Author:** [@Wiktor\_M](https://www.ruby-forum.com/u/Wiktor_M)\
**Replies:** 4\
**Last updated:** [June 1, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/constant-hash-strangeness/62141 "2006-06-01T15:22:04Z")

</div>

Hello. This seems to be trivial, yet I can’t find an explanation for it anywhere online. Apologies if I’m asking the obvious. If you create a constant hash: CONSTANTHASH = { :foo =\> "foobar" } x = CONSTANTHASH\[:foo…

---

## [FTP recursive sending/retrieving/delete](https://www.ruby-forum.com/t/ftp-recursive-sending-retrieving-delete/62206)

<div class="topic-metadata">

**Author:** [@Vincent\_A](https://www.ruby-forum.com/u/Vincent_A)\
**Replies:** 0\
**Last updated:** [June 1, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/ftp-recursive-sending-retrieving-delete/62206 "2006-06-01T15:18:48Z")

</div>

Hello, I need to send and retrieve by FTP in my script a directory containing files and sub-directories to any level depth. I also need to recursively delete directories by FTP. As these are common operations, can an…

---

## [Syslog lib/module for remote logging](https://www.ruby-forum.com/t/syslog-lib-module-for-remote-logging/62201)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [June 1, 2006, 2:53pm UTC](https://www.ruby-forum.com/t/syslog-lib-module-for-remote-logging/62201 "2006-06-01T14:53:58Z")

</div>

Hi All, I need to log remotely win/\*nix server logs to central \*nix syslog server. I search for ruby remote syslog but found none. There is syslog in ruby std lib but i only see sample for local logging. Maybe i am w…

---

## [Passing a string as stdin to a popen](https://www.ruby-forum.com/t/passing-a-string-as-stdin-to-a-popen/62111)

<div class="topic-metadata">

**Author:** [@Pedro\_CSSSSrte-Real](https://www.ruby-forum.com/u/Pedro_CSSSSrte-Real)\
**Replies:** 4\
**Last updated:** [June 1, 2006, 1:34pm UTC](https://www.ruby-forum.com/t/passing-a-string-as-stdin-to-a-popen/62111 "2006-06-01T13:34:03Z")

</div>

Say I have some content in a ruby string and I want to pass it as stdin input to a command. I then want to read the output. I tried this: IO.popen(“mycommand”, mode=‘r+’) do |io| io.write mytext result = io.read en…

---

## [How I can check number?](https://www.ruby-forum.com/t/how-i-can-check-number/62193)

<div class="topic-metadata">

**Author:** [@ilyas](https://www.ruby-forum.com/u/ilyas)\
**Replies:** 3\
**Last updated:** [June 1, 2006, 1:30pm UTC](https://www.ruby-forum.com/t/how-i-can-check-number/62193 "2006-06-01T13:30:35Z")

</div>

How I can to check float value, with regular expression. Also need check a integer with float values.

---

## [One click annihilator](https://www.ruby-forum.com/t/one-click-annihilator/61919)

<div class="topic-metadata">

**Author:** [@rhubarb](https://www.ruby-forum.com/u/rhubarb)\
**Replies:** 25\
**Last updated:** [June 1, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/one-click-annihilator/61919 "2006-06-01T12:38:37Z")

</div>

Time to upgrade from 1.8.2 to 1.8.4 finally. Can’t find any upgrade docs anywhere for windows. Okay, I’ll just install the new one-click installer. Whoops, installed it in c:\\ruby instead of overtop of c:\\ruby182 No …

---

## [Re: How I can check number?](https://www.ruby-forum.com/t/re-how-i-can-check-number/95442)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 1, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/re-how-i-can-check-number/95442 "2006-06-01T12:38:11Z")

</div>

In einer eMail vom 01.06.2006 12:21:49 WesteuropÃ¤ische Normalzeit schreibt removed\_email\_address@domain.invalid: How I can simplify it: params\[:value\] =~ /^\\d+$|^-\\d+$|^\\d+.\\d+$|^-\\d+.\\d+$/ OK, so, you want to ex…

---

## [Re: How I can check number?](https://www.ruby-forum.com/t/re-how-i-can-check-number/62196)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 1, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/re-how-i-can-check-number/62196 "2006-06-01T12:19:03Z")

</div>

How I can to check float value, with regular expression. Also need check a integer with float values. I do not know exactly what you mean by this: do you want to find a string that could represent a float (resp. i…

---

## [I Love The world](https://www.ruby-forum.com/t/i-love-the-world/62181)

<div class="topic-metadata">

**Author:** [@ruby](https://www.ruby-forum.com/u/ruby)\
**Replies:** 2\
**Last updated:** [June 1, 2006, 11:54am UTC](https://www.ruby-forum.com/t/i-love-the-world/62181 "2006-06-01T11:54:36Z")

</div>

I work for a fortune 100 company in the telecom space. They are absolutely dirtying their shorts over security concerns. They haven’t had any major fallout yet, but they figure it’s inevitable. They have been flyin…

---

## [Ruby IDE](https://www.ruby-forum.com/t/ruby-ide/94230)

<div class="topic-metadata">

**Author:** [@SleepJunk13](https://www.ruby-forum.com/u/SleepJunk13)\
**Replies:** 40\
**Last updated:** [June 1, 2006, 11:14am UTC](https://www.ruby-forum.com/t/ruby-ide/94230 "2006-06-01T11:14:23Z")

</div>

Is there a standard IDE out there that most people use? I’m looking at Mondrian and Arachno now, but I’m not sure which. I’m also looking at FreeRIDE as well, but I don’t know. Thanks a lot, Matt

---

## [Ruby/cocoa delegate issue](https://www.ruby-forum.com/t/ruby-cocoa-delegate-issue/61682)

<div class="topic-metadata">

**Author:** [@Josh\_Huber](https://www.ruby-forum.com/u/Josh_Huber)\
**Replies:** 1\
**Last updated:** [June 1, 2006, 9:45am UTC](https://www.ruby-forum.com/t/ruby-cocoa-delegate-issue/61682 "2006-06-01T09:45:20Z")

</div>

And when I say “issue”, I really mean “crash”. :wink: There wasn’t any information about a ruby-cocoa mailing list on rubycocoa.sf.net, so I’m posting this question here. If there’s a better place to ask for rb-cocoa…

---

## [MySql limitations?](https://www.ruby-forum.com/t/mysql-limitations/61936)

<div class="topic-metadata">

**Author:** [@Harish\_TM](https://www.ruby-forum.com/u/Harish_TM)\
**Replies:** 10\
**Last updated:** [June 1, 2006, 9:17am UTC](https://www.ruby-forum.com/t/mysql-limitations/61936 "2006-06-01T09:17:43Z")

</div>

hi… I need to store something like a couple of million rows is a MySql table. Is that ok or do I have to split them up. I intend to index each of the colums that I will need to access so as to speed up access. Inse…

---

## [Ruby security question](https://www.ruby-forum.com/t/ruby-security-question/62176)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 5\
**Last updated:** [June 1, 2006, 8:53am UTC](https://www.ruby-forum.com/t/ruby-security-question/62176 "2006-06-01T08:53:27Z")

</div>

I work for a fortune 100 company in the telecom space. They are absolutely dirtying their shorts over security concerns. They haven’t had any major fallout yet, but they figure it’s inevitable. They have been flyin…

---

## [I Love The world](https://www.ruby-forum.com/t/i-love-the-world/95435)

<div class="topic-metadata">

**Author:** [@ruby](https://www.ruby-forum.com/u/ruby)\
**Replies:** 0\
**Last updated:** [June 1, 2006, 8:06am UTC](https://www.ruby-forum.com/t/i-love-the-world/95435 "2006-06-01T08:06:16Z")

</div>

i\`m love this page

---

## [What hapenned the week of March 19th?](https://www.ruby-forum.com/t/what-hapenned-the-week-of-march-19th/95432)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 0\
**Last updated:** [June 1, 2006, 5:46am UTC](https://www.ruby-forum.com/t/what-hapenned-the-week-of-march-19th/95432 "2006-06-01T05:46:18Z")

</div>

I was just looking at the download stats for the One-Click Ruby Installer for Windows and Instant Rails, and its obvious that something happened the week of March 19th. Prior to the 19th the one-click installer aver…

---

## [I'm Collecting Media Refernces for Ruby and Rails](https://www.ruby-forum.com/t/im-collecting-media-refernces-for-ruby-and-rails/62120)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 5:25am UTC](https://www.ruby-forum.com/t/im-collecting-media-refernces-for-ruby-and-rails/62120 "2006-06-01T05:25:03Z")

</div>

I’m trying to collect media references (URLs) to articles, podcasts, and videos about Ruby and Ruby on Rails, like this month’s Linux Journal ( http://www.linuxjournal.com/issue/147) or the recent DDJ article ( http:/…

---

## [A newbie question about scanf](https://www.ruby-forum.com/t/a-newbie-question-about-scanf/95433)

<div class="topic-metadata">

**Author:** [@kousen](https://www.ruby-forum.com/u/kousen)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 5:00am UTC](https://www.ruby-forum.com/t/a-newbie-question-about-scanf/95433 "2006-06-01T05:00:28Z")

</div>

I tried to get user input by using scanf a = scanf(’%d’) that works, it’s all very nice, until i do this while a \< 100 and a is an array, so i can’t do that. So i did this while a\[0\] \< 100… which works… but is the…

---

## [Ruby-SDL/Opengl Tutorials](https://www.ruby-forum.com/t/ruby-sdl-opengl-tutorials/62062)

<div class="topic-metadata">

**Author:** [@S-redyck](https://www.ruby-forum.com/u/S-redyck)\
**Replies:** 2\
**Last updated:** [June 1, 2006, 2:17am UTC](https://www.ruby-forum.com/t/ruby-sdl-opengl-tutorials/62062 "2006-06-01T02:17:56Z")

</div>

Hi, I am making a game using Ruby-SDL called Nebular Gauntlet and the game is working fairly well using SDL drawing, but I was thinking of trying to gain a couple extra FPS by using OpenGL to draw. However, I can not …

---

## [Newbie: Does Array.each guarantee an ordered result?](https://www.ruby-forum.com/t/newbie-does-array-each-guarantee-an-ordered-result/95423)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 9\
**Last updated:** [June 1, 2006, 2:14am UTC](https://www.ruby-forum.com/t/newbie-does-array-each-guarantee-an-ordered-result/95423 "2006-06-01T02:14:43Z")

</div>

If I do Array.each do | arr\_element | … done am I guaranteed to get the array elements in order from lowest to highest? Or should I use a for loop to get the array elements? Thanks, Wes

---

## [Better coding using ruby](https://www.ruby-forum.com/t/better-coding-using-ruby/95429)

<div class="topic-metadata">

**Author:** [@Paul\_DSKraus](https://www.ruby-forum.com/u/Paul_DSKraus)\
**Replies:** 4\
**Last updated:** [June 1, 2006, 1:44am UTC](https://www.ruby-forum.com/t/better-coding-using-ruby/95429 "2006-06-01T01:44:24Z")

</div>

Below is a quick attempt at doing some things in ruby that I have been doing in perl. Question 1 how can I save and then reuse the functions that are defined in other applicaitons. Question 2 how can I rewrite some…

---

## [Dungeon Generation (#80)](https://www.ruby-forum.com/t/dungeon-generation-80/95280)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 21\
**Last updated:** [May 31, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/dungeon-generation-80/95280 "2006-05-31T23:54:37Z")

</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: …

---

## [Class \<\< self ...end - how does this create class methods?](https://www.ruby-forum.com/t/class-self-end-how-does-this-create-class-methods/95420)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [May 31, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/class-self-end-how-does-this-create-class-methods/95420 "2006-05-31T22:08:50Z")

</div>

I just ran into a seemingly weird problem until I discovered that the method that I kept trying to call as an instance method was in fact a class method. But of course, there isn’t anything in the signature to indica…

---

## [Ruby on Rails Workshop in Kansas City!](https://www.ruby-forum.com/t/ruby-on-rails-workshop-in-kansas-city/62145)

<div class="topic-metadata">

**Author:** [@Shashank\_D](https://www.ruby-forum.com/u/Shashank_D)\
**Replies:** 0\
**Last updated:** [May 31, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-workshop-in-kansas-city/62145 "2006-05-31T21:55:54Z")

</div>

Ruby on Rails Workshop Kansas City Ruby U.'s Group (http://kcrug.org/) proudly presents the first “Ruby on Rails Workshop” for those eager to get started into Ruby on Rails. This one-and-half-day workshop will offer a…

---

## [Re: Generating files with libsndfile](https://www.ruby-forum.com/t/re-generating-files-with-libsndfile/62136)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [May 31, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/re-generating-files-with-libsndfile/62136 "2006-05-31T21:00:09Z")

</div>

I have no problem reading sound files as there are examples Will generate this error when run: System error. (eval):2:in \`write\_float’: Format check failed: 0 (RuntimeError) Looks like a bug in the binding somewhere…

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

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