# Ruby

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

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

---

## [Twisting a Rope (#137)](https://www.ruby-forum.com/t/twisting-a-rope-137/225968)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 5\
**Last updated:** [September 7, 2007, 3:05pm UTC](https://www.ruby-forum.com/t/twisting-a-rope-137/225968 "2007-09-07T15:05:44Z")

</div>

The discussion for this quiz was very interesting. It’s probably worth your time to go back and read those messages, if you haven’t already. Some points I got out of the discussion were: It’s tricky to get ropes …

---

## [Once again: Interest in "Cologne/Bonn Ruby Users"?](https://www.ruby-forum.com/t/once-again-interest-in-cologne-bonn-ruby-users/113992)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 7, 2007, 11:13am UTC](https://www.ruby-forum.com/t/once-again-interest-in-cologne-bonn-ruby-users/113992 "2007-09-07T11:13:21Z")

</div>

Hi! Once again I wish to ask if there are people interested in such a group. The result of all prior requests was that the number of people was too small but recent e-mails I received suggest this has changed. Josef …

---

## [Where is the definition of File.read()?](https://www.ruby-forum.com/t/where-is-the-definition-of-file-read/113962)

<div class="topic-metadata">

**Author:** [@optman](https://www.ruby-forum.com/u/optman)\
**Replies:** 9\
**Last updated:** [September 7, 2007, 9:56am UTC](https://www.ruby-forum.com/t/where-is-the-definition-of-file-read/113962 "2007-09-07T09:56:11Z")

</div>

Where is the public class method File.read() defined? Which take a file name as parameter, but what is in return? I have search all the document and source code, just can’t find the definition. Could anyone point me t…

---

## [REXML performance gap between XP and OS X](https://www.ruby-forum.com/t/rexml-performance-gap-between-xp-and-os-x/114041)

<div class="topic-metadata">

**Author:** [@Vassilis\_R](https://www.ruby-forum.com/u/Vassilis_R)\
**Replies:** 0\
**Last updated:** [September 7, 2007, 9:23am UTC](https://www.ruby-forum.com/t/rexml-performance-gap-between-xp-and-os-x/114041 "2007-09-07T09:23:08Z")

</div>

I usually don’t notice these things as the differences are usually irrelevant, but this one has triggered my curiosity: I get a significant diference in performance using REXML betweeen OS X and Windows XP. And with s…

---

## [Error using my own classes in camping (namespace issue?)](https://www.ruby-forum.com/t/error-using-my-own-classes-in-camping-namespace-issue/114024)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 0\
**Last updated:** [September 7, 2007, 6:39am UTC](https://www.ruby-forum.com/t/error-using-my-own-classes-in-camping-namespace-issue/114024 "2007-09-07T06:39:54Z")

</div>

I’m having troubles, and I’m guessing it’s due to both namespaces in camping, and the fact that it’s 11:30pm. In my models I’m trying to create an instance of a class that I wrote, but camping throws an error message …

---

## [Help a ruby newb!](https://www.ruby-forum.com/t/help-a-ruby-newb/114023)

<div class="topic-metadata">

**Author:** [@hotspoons](https://www.ruby-forum.com/u/hotspoons)\
**Replies:** 0\
**Last updated:** [September 7, 2007, 6:19am UTC](https://www.ruby-forum.com/t/help-a-ruby-newb/114023 "2007-09-07T06:19:25Z")

</div>

So…here’s the deal. I’ve never looked at Ruby before last week. I do web development work in C#, PHP, and Coldfusion as a living, but I’m used to languages that look like C. Ruby looks more like TSQL functions mixed w…

---

## [Wiki engine for no shell hosting?](https://www.ruby-forum.com/t/wiki-engine-for-no-shell-hosting/114002)

<div class="topic-metadata">

**Author:** [@S\_p\_arif\_sahari\_W](https://www.ruby-forum.com/u/S_p_arif_sahari_W)\
**Replies:** 3\
**Last updated:** [September 7, 2007, 6:05am UTC](https://www.ruby-forum.com/t/wiki-engine-for-no-shell-hosting/114002 "2007-09-07T06:05:51Z")

</div>

Hi! Do you know wiki engines in Ruby which can be installed in a hosting service without shell access (only ftp) and without ability to run webrick (only CGI or SCGI) and without SQL databases? The hosting service h…

---

## [Quechup is a spam robot](https://www.ruby-forum.com/t/quechup-is-a-spam-robot/114018)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 7, 2007, 5:15am UTC](https://www.ruby-forum.com/t/quechup-is-a-spam-robot/114018 "2007-09-07T05:15:48Z")

</div>

Nuts. It got past the ‘filters’. Sorry 'bout that. Advice = do not go near it. MarkT

---

## [Multiple Assignments: Newbie question](https://www.ruby-forum.com/t/multiple-assignments-newbie-question/113834)

<div class="topic-metadata">

**Author:** [@Z\_T](https://www.ruby-forum.com/u/Z_T)\
**Replies:** 14\
**Last updated:** [September 7, 2007, 3:05am UTC](https://www.ruby-forum.com/t/multiple-assignments-newbie-question/113834 "2007-09-07T03:05:40Z")

</div>

When I run my program: arg1=“Ruby”, arg2=“Rails”, arg3=“Rails” puts “#{arg1}, #{arg2}, #{arg3}” Why is the output as follow: RubyRailsRails, Rails, Rails What is the reason for this output? Thanks in advance.

---

## [Program which calculates earnings (with some difficulties)](https://www.ruby-forum.com/t/program-which-calculates-earnings-with-some-difficulties/113477)

<div class="topic-metadata">

**Author:** [@tillaart36](https://www.ruby-forum.com/u/tillaart36)\
**Replies:** 5\
**Last updated:** [September 7, 2007, 3:03am UTC](https://www.ruby-forum.com/t/program-which-calculates-earnings-with-some-difficulties/113477 "2007-09-07T03:03:46Z")

</div>

Hi you all, I have a ‘problem’ which I cannot solve using spreadsheet software like Excel. The problem involves some little program I want to make which can calculate my earnings of a days work by just inserting the …

---

## [Minimalistic command line option parsing via -s](https://www.ruby-forum.com/t/minimalistic-command-line-option-parsing-via-s/113956)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 5\
**Last updated:** [September 7, 2007, 3:03am UTC](https://www.ruby-forum.com/t/minimalistic-command-line-option-parsing-via-s/113956 "2007-09-07T03:03:40Z")

</div>

Hi, I know, I’m slow, but I finally figured out the minimalistic command line options parsing that zenspider et al use in utilities like flog and sow (the gem skeleton generator that comes with Hoe). Consider, for ex…

---

## [0.06 == 0.06 returns false in Ruby?](https://www.ruby-forum.com/t/0-06-0-06-returns-false-in-ruby/113443)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 44\
**Last updated:** [September 7, 2007, 2:30am UTC](https://www.ruby-forum.com/t/0-06-0-06-returns-false-in-ruby/113443 "2007-09-07T02:30:38Z")

</div>

Hi I wrote a simple test program, basically the program asks the user to enter floats. the entered values shall be used as keys for Hash (the values are irrelavent). The program tries to find the lowest untaken key/f…

---

## [Symbols and frozen strings](https://www.ruby-forum.com/t/symbols-and-frozen-strings/113929)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 12\
**Last updated:** [September 7, 2007, 2:26am UTC](https://www.ruby-forum.com/t/symbols-and-frozen-strings/113929 "2007-09-07T02:26:38Z")

</div>

I just had a thought. One of the problems with using strings as hash keys is that every time you refer to them, you create a throw-away garbage string: params\["id"\] ^ +-- temporary string, needs to be…

---

## [Using external text file to do search and replace?](https://www.ruby-forum.com/t/using-external-text-file-to-do-search-and-replace/112714)

<div class="topic-metadata">

**Author:** [@dcgrigsby](https://www.ruby-forum.com/u/dcgrigsby)\
**Replies:** 6\
**Last updated:** [September 7, 2007, 12:06am UTC](https://www.ruby-forum.com/t/using-external-text-file-to-do-search-and-replace/112714 "2007-09-07T00:06:29Z")

</div>

I recently started to take an interest in Ruby programming and with the help of some people and by reading Learn to program by Chris P. I made myself a little program that has come to a halt because I don’t know if or…

---

## [How do I exit my program at any time?](https://www.ruby-forum.com/t/how-do-i-exit-my-program-at-any-time/113997)

<div class="topic-metadata">

**Author:** [@helgso](https://www.ruby-forum.com/u/helgso)\
**Replies:** 5\
**Last updated:** [September 6, 2007, 11:53pm UTC](https://www.ruby-forum.com/t/how-do-i-exit-my-program-at-any-time/113997 "2007-09-06T23:53:32Z")

</div>

Hello. When it comes to big, complex and long programs, you don’t always want to be needing to say at every single string: if answer == ‘exit’ exit end Get the point? Let’s say you’re making a program that’s kinda l…

---

## [Force output during long process](https://www.ruby-forum.com/t/force-output-during-long-process/113987)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 1\
**Last updated:** [September 6, 2007, 10:56pm UTC](https://www.ruby-forum.com/t/force-output-during-long-process/113987 "2007-09-06T22:56:22Z")

</div>

I’m running a long process and need to give some feedback to the user (command line program). Is there some way to force output at a given step of execution? Many times it seems that the output is spooled and then p…

---

## [Easy question: access module/class outside of current scope](https://www.ruby-forum.com/t/easy-question-access-module-class-outside-of-current-scope/113980)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 1\
**Last updated:** [September 6, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/easy-question-access-module-class-outside-of-current-scope/113980 "2007-09-06T21:54:10Z")

</div>

I’ve seen someone do this, but I forget how it is done and I can’t find it by searching… module Dog def self.new puts ‘ruff ruff’ end end class Crazy class Dog def some\_method mydog = Dog.new # I want the mo…

---

## [Using telnet to determin which service is running in ruby?](https://www.ruby-forum.com/t/using-telnet-to-determin-which-service-is-running-in-ruby/113985)

<div class="topic-metadata">

**Author:** [@kazaam](https://www.ruby-forum.com/u/kazaam)\
**Replies:** 0\
**Last updated:** [September 6, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/using-telnet-to-determin-which-service-is-running-in-ruby/113985 "2007-09-06T21:32:06Z")

</div>

Hi, how can I get the servers response-message with net::telnet? Wether dump\_log nor output\_log are giving them. I mean if I try something like this just in ruby: $(sleep 1; exit) | telnet ubuntuforums.org 22 Trying…

---

## [Re: Is this a bug or a feature?](https://www.ruby-forum.com/t/re-is-this-a-bug-or-a-feature/113983)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 0\
**Last updated:** [September 6, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/re-is-this-a-bug-or-a-feature/113983 "2007-09-06T21:16:04Z")

</div>

That’s the behavior I would expect it to have. Why wouldn’t you do: irb(main):001:0\> i = 1 =\> 1 irb(main):002:0\> until i \> 5 irb(main):003:1\> p i irb(main):004:1\> i += 1 irb(main):005:1\> end 1 2 3 4 5 instead…

---

## [Problems with SSL LDAP connection on Windows](https://www.ruby-forum.com/t/problems-with-ssl-ldap-connection-on-windows/113969)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 2\
**Last updated:** [September 6, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/problems-with-ssl-ldap-connection-on-windows/113969 "2007-09-06T21:11:03Z")

</div>

I’m trying to make an Net::LDAP connection over SSL to Active Directory so that I can change/set account passwords. I was originally using adsi via Win32OLE but that is unbearably slow. When I try to connect on por…

---

## [Running ruby](https://www.ruby-forum.com/t/running-ruby/113771)

<div class="topic-metadata">

**Author:** [@yahdoco](https://www.ruby-forum.com/u/yahdoco)\
**Replies:** 27\
**Last updated:** [September 6, 2007, 9:01pm UTC](https://www.ruby-forum.com/t/running-ruby/113771 "2007-09-06T21:01:01Z")

</div>

Hi Everyone…I am a very new ruby user. I have downloaded ruby to my computer (windows98). I have a ruby icon on my desktop with the name hello. In the notepad part of the icon (hello.rb) are the following words: #gen…

---

## [Software idea](https://www.ruby-forum.com/t/software-idea/113852)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 5\
**Last updated:** [September 6, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/software-idea/113852 "2007-09-06T19:53:52Z")

</div>

Anyone know of a software package that will (temporarily) turn my laptop (or computer) in to a children’s “gym”? These are things that are aimed at 0 to 2 or 3 year olds. All it needs is button presses and mouse swipe…

---

## [Ruby on rails with mysqladmin](https://www.ruby-forum.com/t/ruby-on-rails-with-mysqladmin/113955)

<div class="topic-metadata">

**Author:** [@a\_marc\_aurele](https://www.ruby-forum.com/u/a_marc_aurele)\
**Replies:** 3\
**Last updated:** [September 6, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-with-mysqladmin/113955 "2007-09-06T19:49:52Z")

</div>

Hi all with : mysqladmin -u root create dummy\_development I get : mysqladmin: connect to server at ‘localhost’ failed error: ‘Access denied for user ‘root’@‘localhost’ (using password: NO)’ all i have in terms of f…

---

## [Ramaze version 0.1.4](https://www.ruby-forum.com/t/ramaze-version-0-1-4/113945)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 1\
**Last updated:** [September 6, 2007, 7:41pm UTC](https://www.ruby-forum.com/t/ramaze-version-0-1-4/113945 "2007-09-06T19:41:50Z")

</div>

This time we are proud to announce Version 0.1.4 of the Ramaze framework, a light and modular open source web framework. Since the last release hundreds of lines of documentation and specs have been written. Ramaze …

---

## [In\_place\_editor](https://www.ruby-forum.com/t/in-place-editor/113970)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 0\
**Last updated:** [September 6, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/in-place-editor/113970 "2007-09-06T19:28:47Z")

</div>

Hi all, I have a problem with using in\_place\_editor in rails(ajax). I am not geeting how to update value stored in databse using in\_place\_editor. Thanks in advance, )(ilez.

---

## [Ruby C extension problems mingw, missing symbols?](https://www.ruby-forum.com/t/ruby-c-extension-problems-mingw-missing-symbols/113904)

<div class="topic-metadata">

**Author:** [@conan](https://www.ruby-forum.com/u/conan)\
**Replies:** 2\
**Last updated:** [September 6, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/ruby-c-extension-problems-mingw-missing-symbols/113904 "2007-09-06T18:22:01Z")

</div>

I’ve been working all day on this(I might just be useless today) but I can’t figure it out. I’m trying to make a simple extension, but when I include it, I get an error: ./alignment.so: 127: The specified procedure c…

---

## [Returning a pipe?](https://www.ruby-forum.com/t/returning-a-pipe/113761)

<div class="topic-metadata">

**Author:** [@unbewusst](https://www.ruby-forum.com/u/unbewusst)\
**Replies:** 2\
**Last updated:** [September 6, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/returning-a-pipe/113761 "2007-09-06T17:27:21Z")

</div>

i’m writting a RubyCocoa application for synchronizing folders of a computer to folders of an usb key. to let the user not bored, because it could takes time, i have a log window where i print the messages coming from…

---

## [Duck Typing in other languages?](https://www.ruby-forum.com/t/duck-typing-in-other-languages/113261)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [September 6, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/duck-typing-in-other-languages/113261 "2007-09-06T17:26:21Z")

</div>

Heya, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/78502 is now a bit older than four years :wink: Bit long, sorry, my “real” question is on the bottom of this … anyway :slight\_smile: I think i get th…

---

## [FileTest.identical? with IO](https://www.ruby-forum.com/t/filetest-identical-with-io/113842)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 3\
**Last updated:** [September 6, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/filetest-identical-with-io/113842 "2007-09-06T17:23:20Z")

</div>

e$B$3$s$P$s$Oe(B sheepman e$B$G$9!#e(B FileTest.identical? e$B$K$O0z?t$H$7$Fe(B IO e$B%\*%V%8%’%/%H$bEO$9$3$H$,e(B e$B$G$-$^$9!#$7$+$7e(B IO e$B$,DL\>o%U%!%$%k$N$=$l$+$r8!::$7$F$$$^$;$s!#$G$9$N$G!"e(B e$B0J2\<$N$h$&$J$…

---

## [London Ruby User Group - 10th September 2007](https://www.ruby-forum.com/t/london-ruby-user-group-10th-september-2007/113952)

<div class="topic-metadata">

**Author:** [@Murray\_S](https://www.ruby-forum.com/u/Murray_S)\
**Replies:** 0\
**Last updated:** [September 6, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/london-ruby-user-group-10th-september-2007/113952 "2007-09-06T16:53:16Z")

</div>

Hi all, The next London Ruby U. Group meeting is on this coming Monday: Date: September 10th Time: 6:30pm onwards Location: the Skills Matter offices at 1 Sekeford Street, EC1R 0BEL\[1\] Closest tube: Farringdon Agen…

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

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