# Ruby

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

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

---

## [Redefining class](https://www.ruby-forum.com/t/redefining-class/66312)

<div class="topic-metadata">

**Author:** [@henrys](https://www.ruby-forum.com/u/henrys)\
**Replies:** 5\
**Last updated:** [August 27, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/redefining-class/66312 "2006-08-27T21:07:07Z")

</div>

Thank you, guys, for help with my previous problems. With your assistance my second week with Ruby was more or less successful. However… I redefined couple methods of the Time class Everything worked fine, so I wante…

---

## [Ruby threads and the system call](https://www.ruby-forum.com/t/ruby-threads-and-the-system-call/66583)

<div class="topic-metadata">

**Author:** [@gnuvince](https://www.ruby-forum.com/u/gnuvince)\
**Replies:** 3\
**Last updated:** [August 27, 2006, 8:17pm UTC](https://www.ruby-forum.com/t/ruby-threads-and-the-system-call/66583 "2006-08-27T20:17:00Z")

</div>

Hello ! I’ve recently had quite a fair bit of trouble with Ruby threads (on a Linux box). I wrote three different programs (attached) that write numbers from within threads: one with a standard puts one with a syste…

---

## [Re: Drb through NAT/firewall problem](https://www.ruby-forum.com/t/re-drb-through-nat-firewall-problem/66610)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 8:08pm UTC](https://www.ruby-forum.com/t/re-drb-through-nat-firewall-problem/66610 "2006-08-27T20:08:59Z")

</div>

Philippe L. wrote: This makes me beleive that the Drb protocol is not NAT-friendly, and that it cannot work without some sort of proxy, or firewall workaround for a single natted client. Hopefully I’m wrong… Did an…

---

## [Draft HTML version of README.EXT](https://www.ruby-forum.com/t/draft-html-version-of-readme-ext/65304)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [August 27, 2006, 7:46pm UTC](https://www.ruby-forum.com/t/draft-html-version-of-readme-ext/65304 "2006-08-27T19:46:57Z")

</div>

i’ve written an (draft) HTML version of README.EXT here it is : http://thoraval.yvon.free.fr/RUBY.EXT/en/index.html let me know if interested by this browsable README.EXT…

---

## [\[QUIZ\] DayRange (#92)](https://www.ruby-forum.com/t/quiz-dayrange-92/66603)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/quiz-dayrange-92/66603 "2006-08-27T19:06:55Z")

</div>

Just for fun, a little over-engineered maybe… ï¿¼ï¿¼ Mike S. removed\_email\_address@domain.invalid http://www.stok.ca/~mike/ The “\`Stok’ disclaimers” apply.

---

## [Fwd: Please Forward: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/197189)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 6:18pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/197189 "2006-08-27T18:18:50Z")

</div>

Begin forwarded message:

---

## [Nuby with instance\_eval question](https://www.ruby-forum.com/t/nuby-with-instance-eval-question/66545)

<div class="topic-metadata">

**Author:** [@glub](https://www.ruby-forum.com/u/glub)\
**Replies:** 3\
**Last updated:** [August 27, 2006, 6:18pm UTC](https://www.ruby-forum.com/t/nuby-with-instance-eval-question/66545 "2006-08-27T18:18:00Z")

</div>

Wondering why this works the way it does: 1 class Klass 2 3 attr\_accessor :attr1 4 5 def initialize (&block) 6 chum = "chum\_in\_Klass" 7 instance\_eval(&block) # Why does instance\_eval pi…

---

## [Fwd: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-ruby-quiz-submission/229106)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 6:16pm UTC](https://www.ruby-forum.com/t/fwd-ruby-quiz-submission/229106 "2006-08-27T18:16:50Z")

</div>

Begin forwarded message:

---

## [What am I doing wrong? -Chat server code-](https://www.ruby-forum.com/t/what-am-i-doing-wrong-chat-server-code/66576)

<div class="topic-metadata">

**Author:** [@l0j1k](https://www.ruby-forum.com/u/l0j1k)\
**Replies:** 4\
**Last updated:** [August 27, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/what-am-i-doing-wrong-chat-server-code/66576 "2006-08-27T18:14:50Z")

</div>

I am running ruby 1.8.6 on WinXP. I get the following error when I try to run this code: httpserv.rb:22:in runme': undefined local variable or methodconnection\_accept’ for #ServerBrutus:0x282af80 (NameError) Here’s th…

---

## [Keep track of all instances of a class without losing GC?](https://www.ruby-forum.com/t/keep-track-of-all-instances-of-a-class-without-losing-gc/66595)

<div class="topic-metadata">

**Author:** [@jez](https://www.ruby-forum.com/u/jez)\
**Replies:** 4\
**Last updated:** [August 27, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/keep-track-of-all-instances-of-a-class-without-losing-gc/66595 "2006-08-27T17:58:48Z")

</div>

Hi, I want to be able to keep track of all instances of a class using something simple like this: Class Thing @@allthings = \[\] def initialize @@allthings.push self end end However an obvious drawback to this a…

---

## [Deep Integration of Ruby with Web Ontology Language](https://www.ruby-forum.com/t/deep-integration-of-ruby-with-web-ontology-language/66542)

<div class="topic-metadata">

**Author:** [@dite](https://www.ruby-forum.com/u/dite)\
**Replies:** 1\
**Last updated:** [August 27, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/deep-integration-of-ruby-with-web-ontology-language/66542 "2006-08-27T17:08:44Z")

</div>

Hello, I’ve read a paper about an early prototype implementation of the deep integration ideas in Python supporting in-line class and properties declaration, instance creation and simple triple-based queries. Is ther…

---

## [IndiaOnRails](https://www.ruby-forum.com/t/indiaonrails/66596)

<div class="topic-metadata">

**Author:** [@pratik](https://www.ruby-forum.com/u/pratik)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/indiaonrails/66596 "2006-08-27T16:56:42Z")

</div>

Announcing the launch of IndiaonRails, a community for Rails developers in India . To begin with, we currently have a mailing list and the group website is coming soon. The website will have agreggated blogs, job bo…

---

## [Ruby Cookbook vs Programming Ruby](https://www.ruby-forum.com/t/ruby-cookbook-vs-programming-ruby/66589)

<div class="topic-metadata">

**Author:** [@JoSSSSo\_Michigan](https://www.ruby-forum.com/u/JoSSSSo_Michigan)\
**Replies:** 2\
**Last updated:** [August 27, 2006, 4:22pm UTC](https://www.ruby-forum.com/t/ruby-cookbook-vs-programming-ruby/66589 "2006-08-27T16:22:38Z")

</div>

Hello again, Just wondering if anybody could help me choose between O'Reilly's Ruby Cookbook and The Pragmatic Programmer’s Programming Ruby (2nd edition). I’m having a real hard time figuring which one to spend my …

---

## [Referencing an object through it's id string](https://www.ruby-forum.com/t/referencing-an-object-through-its-id-string/66559)

<div class="topic-metadata">

**Author:** [@orz42](https://www.ruby-forum.com/u/orz42)\
**Replies:** 7\
**Last updated:** [August 27, 2006, 3:02pm UTC](https://www.ruby-forum.com/t/referencing-an-object-through-its-id-string/66559 "2006-08-27T15:02:32Z")

</div>

Hello, how does one set a pointer to foo using an id string obtained through foo.object\_id for instance? Thanks in advance

---

## [Casting string to IO?](https://www.ruby-forum.com/t/casting-string-to-io/66557)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 4\
**Last updated:** [August 27, 2006, 1:00pm UTC](https://www.ruby-forum.com/t/casting-string-to-io/66557 "2006-08-27T13:00:16Z")

</div>

I’m reading log file settings from a YAML file. Since Logger.new can take either an IO object or string, the YAML could look like: logger: output: STDOUT or logger: output: /foo/bar The problem is that the YAML st…

---

## [Ruby ID3 script](https://www.ruby-forum.com/t/ruby-id3-script/66588)

<div class="topic-metadata">

**Author:** [@JoSSSSo\_Michigan](https://www.ruby-forum.com/u/JoSSSSo_Michigan)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 12:52pm UTC](https://www.ruby-forum.com/t/ruby-id3-script/66588 "2006-08-27T12:52:14Z")

</div>

Hello, I am curious whether anybody has a script to write or beautify MP3 ID3 tags. There are a great many solutions out there I know, but they are all a bloated mess. I am searching something Ruby – professional an…

---

## [: Pandora 0.4.4 Release](https://www.ruby-forum.com/t/pandora-0-4-4-release/66575)

<div class="topic-metadata">

**Author:** [@Julian\_ISKamil](https://www.ruby-forum.com/u/Julian_ISKamil)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 6:43am UTC](https://www.ruby-forum.com/t/pandora-0-4-4-release/66575 "2006-08-27T06:43:09Z")

</div>

I am pleased to announce that Pandora 0.4.4 is now available to the general public. ABOUT PANDORA Simply said, Pandora is a simple Wiki engine that does not require any relational database to install and written in t…

---

## [Logging a backtrace](https://www.ruby-forum.com/t/logging-a-backtrace/66572)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 2\
**Last updated:** [August 27, 2006, 6:33am UTC](https://www.ruby-forum.com/t/logging-a-backtrace/66572 "2006-08-27T06:33:06Z")

</div>

If I catch an exception, is there a way to produce a backtrace that I can log using something like logger?

---

## [SQL Generator library](https://www.ruby-forum.com/t/sql-generator-library/66450)

<div class="topic-metadata">

**Author:** [@sevensoft](https://www.ruby-forum.com/u/sevensoft)\
**Replies:** 6\
**Last updated:** [August 27, 2006, 6:31am UTC](https://www.ruby-forum.com/t/sql-generator-library/66450 "2006-08-27T06:31:03Z")

</div>

I’m writing a library for generating fairly complicated SQL statements in a relatively clean way. The current version of the library can be found at Linguistic Cognition Laboratory: About and some sample code which …

---

## [Ruby IP to Location](https://www.ruby-forum.com/t/ruby-ip-to-location/66574)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 27, 2006, 6:23am UTC](https://www.ruby-forum.com/t/ruby-ip-to-location/66574 "2006-08-27T06:23:01Z")

</div>

Hey folks geoip.rb seems to be the only gem for IP to location … and its an easy to use and simple gem but it uses the maxmind demo db which is not accurate at all… Anyone knows of an free to use ip to location db av…

---

## [How are the object\_ids generated/assigned to objects?](https://www.ruby-forum.com/t/how-are-the-object-ids-generated-assigned-to-objects/66453)

<div class="topic-metadata">

**Author:** [@elgato](https://www.ruby-forum.com/u/elgato)\
**Replies:** 3\
**Last updated:** [August 27, 2006, 5:48am UTC](https://www.ruby-forum.com/t/how-are-the-object-ids-generated-assigned-to-objects/66453 "2006-08-27T05:48:58Z")

</div>

Hello, assume some multithreaded application, thread1 starts and finishes, then thread2 starts — how is the possibility that these two threads will have the same object\_id? On what it depends? Thanks, P.

---

## [LoadError occured when requiring 'part/admin'](https://www.ruby-forum.com/t/loaderror-occured-when-requiring-part-admin/66570)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 27, 2006, 5:30am UTC](https://www.ruby-forum.com/t/loaderror-occured-when-requiring-part-admin/66570 "2006-08-27T05:30:57Z")

</div>

Hello, everyone: I’ve upgrade Nitro and it’s family gems to the newest ( Nitro 0.31.0 dependency ). But when I run the nitro command and I got some error meesages: nitro run program /usr/lib/ruby/gems/1.8/gems/facets…

---

## [Piston 1.1.0](https://www.ruby-forum.com/t/piston-1-1-0/66571)

<div class="topic-metadata">

**Author:** [@fbeausoleil](https://www.ruby-forum.com/u/fbeausoleil)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 5:26am UTC](https://www.ruby-forum.com/t/piston-1-1-0/66571 "2006-08-27T05:26:56Z")

</div>

Piston is a utility that enables merge tracking of remote repositories. This is similar to svn:externals, except you have a local copy of the files, which you can modify at will. As long as the changes are mergeable, …

---

## [Ruby == how does it works?](https://www.ruby-forum.com/t/ruby-how-does-it-works/66468)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 3\
**Last updated:** [August 27, 2006, 5:22am UTC](https://www.ruby-forum.com/t/ruby-how-does-it-works/66468 "2006-08-27T05:22:55Z")

</div>

Hi, Does the Ruby ‘==’ operator compares the ‘object\_ids’ of the element before descending into comparing the elements? I know about the equal? method, but I want something like following to be compared, and am wor…

---

## [Hiding salt with C](https://www.ruby-forum.com/t/hiding-salt-with-c/66531)

<div class="topic-metadata">

**Author:** [@Cliff\_C](https://www.ruby-forum.com/u/Cliff_C)\
**Replies:** 2\
**Last updated:** [August 27, 2006, 5:22am UTC](https://www.ruby-forum.com/t/hiding-salt-with-c/66531 "2006-08-27T05:22:55Z")

</div>

Does anybody know of an existing C extension that interfaces with ruby code for the sole purpose of hiding important encryption info, such as the SALT? When users write encrypt/decrypt methods it would be nice to cal…

---

## [Soap complex type example](https://www.ruby-forum.com/t/soap-complex-type-example/64861)

<div class="topic-metadata">

**Author:** [@Francois\_P](https://www.ruby-forum.com/u/Francois_P)\
**Replies:** 1\
**Last updated:** [August 27, 2006, 4:54am UTC](https://www.ruby-forum.com/t/soap-complex-type-example/64861 "2006-08-27T04:54:40Z")

</div>

Hi, i’ve got very limited soap experience and i’m currently stuck on how to get a ruby soap client up and running. the wsdl of the service i am trying to access is here: https://www.encryptedserver2.com/alturawebserv…

---

## [A use case for an ordered hash](https://www.ruby-forum.com/t/a-use-case-for-an-ordered-hash/64761)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 96\
**Last updated:** [August 27, 2006, 4:52am UTC](https://www.ruby-forum.com/t/a-use-case-for-an-ordered-hash/64761 "2006-08-27T04:52:38Z")

</div>

There have been numerous occasions when I wanted an ordered hash, but usually I can’t remember to write them down. Here’s just one. Once I wanted a “dynamic case statement” of sorts. I wanted to use procs as values …

---

## [No sleep till cocoa! (works)](https://www.ruby-forum.com/t/no-sleep-till-cocoa-works/66426)

<div class="topic-metadata">

**Author:** [@slam-dunc](https://www.ruby-forum.com/u/slam-dunc)\
**Replies:** 6\
**Last updated:** [August 27, 2006, 4:46am UTC](https://www.ruby-forum.com/t/no-sleep-till-cocoa-works/66426 "2006-08-27T04:46:36Z")

</div>

Hi there I seem to have some issues with ruby cocoa and active record can anyone help? The following works without problems require ‘osx/cocoa’ require ‘rubygems’ OSX::NSBundle.bundleWithPath("/System/Library/Framew…

---

## [Drb through NAT/firewall problem](https://www.ruby-forum.com/t/drb-through-nat-firewall-problem/66569)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 4:38am UTC](https://www.ruby-forum.com/t/drb-through-nat-firewall-problem/66569 "2006-08-27T04:38:32Z")

</div>

Hi, I have a Drb server and Drb client that work fine when the client is calling from the same net as the server. When trying to access the server from a client behind a firewall with NAT enabled, problems start : th…

---

## [Ruby-VPI 0.9.2](https://www.ruby-forum.com/t/ruby-vpi-0-9-2/66568)

<div class="topic-metadata">

**Author:** [@Suraj\_NSKurapati](https://www.ruby-forum.com/u/Suraj_NSKurapati)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 4:22am UTC](https://www.ruby-forum.com/t/ruby-vpi-0-9-2/66568 "2006-08-27T04:22:23Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby. Website: http://ruby-vpi.rubyforge.org Tutorial…

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

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