# Ruby

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

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

---

## [Re: Religion (was: god 0.1.0 released)](https://www.ruby-forum.com/t/re-religion-was-god-0-1-0-released/109284)

<div class="topic-metadata">

**Author:** [@al\_batuul](https://www.ruby-forum.com/u/al_batuul)\
**Replies:** 0\
**Last updated:** [July 13, 2007, 4:09am UTC](https://www.ruby-forum.com/t/re-religion-was-god-0-1-0-released/109284 "2007-07-13T04:09:56Z")

</div>

Hi, This discussion raised some interesting many questions, I will only list two of them at this stage related to complete autonomous agent: 1- Is Ruby a complete language to support the development of a complete…

---

## [(0...0).max](https://www.ruby-forum.com/t/0-0-max/109204)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [July 13, 2007, 3:59am UTC](https://www.ruby-forum.com/t/0-0-max/109204 "2007-07-13T03:59:55Z")

</div>

e$B0J2\<$N$h$&$K!"e(B(0…0).max e$B$,e(B -1 e$B$K$J$j$^$9!#e(B % ./ruby -ve ‘p((0…0).max)’ ruby 1.9.0 (2007-07-12 patchlevel 0) \[i686-linux\] -1

---

## [Eventmachine 0.8.0 released with epoll, breaks Ruby file-des](https://www.ruby-forum.com/t/eventmachine-0-8-0-released-with-epoll-breaks-ruby-file-des/109128)

<div class="topic-metadata">

**Author:** [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Replies:** 9\
**Last updated:** [July 13, 2007, 3:09am UTC](https://www.ruby-forum.com/t/eventmachine-0-8-0-released-with-epoll-breaks-ruby-file-des/109128 "2007-07-13T03:09:49Z")

</div>

The Eventmachine team is pleased to announce the release of version 0.8.0, available now on RubyForge as a tarball and as a gem. Eventmachine is a framework for writing fast, scalable network-aware programs (clients,…

---

## [Re: language transliteration help](https://www.ruby-forum.com/t/re-language-transliteration-help/109281)

<div class="topic-metadata">

**Author:** [@al\_batuul](https://www.ruby-forum.com/u/al_batuul)\
**Replies:** 0\
**Last updated:** [July 13, 2007, 2:42am UTC](https://www.ruby-forum.com/t/re-language-transliteration-help/109281 "2007-07-13T02:42:48Z")

</div>

Hi, I would like to see the code too. There are some transliteration sites such as http://www.word2word.com/translitad.html I tested the Arabic version, it is not ok. However, if you are thinking of developing your o…

---

## [Getting gdb backtrace from ruby exception](https://www.ruby-forum.com/t/getting-gdb-backtrace-from-ruby-exception/109230)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 6\
**Last updated:** [July 13, 2007, 1:32am UTC](https://www.ruby-forum.com/t/getting-gdb-backtrace-from-ruby-exception/109230 "2007-07-13T01:32:43Z")

</div>

Hi I’m working on a C extension and somewhere in itsomething is raising a NoMethodError. The exception is reported with the line of ruby code that triggered the bad call in the C extension. As the C code is large and…

---

## [Remove](https://www.ruby-forum.com/t/remove/109278)

<div class="topic-metadata">

**Author:** [@newbee-robert](https://www.ruby-forum.com/u/newbee-robert)\
**Replies:** 0\
**Last updated:** [July 13, 2007, 1:13am UTC](https://www.ruby-forum.com/t/remove/109278 "2007-07-13T01:13:42Z")

</div>

Remove from list Robert mccorkle

---

## [Euruko 2007](https://www.ruby-forum.com/t/euruko-2007/109270)

<div class="topic-metadata">

**Author:** [@Stephan\_KSSS\_mper](https://www.ruby-forum.com/u/Stephan_KSSS_mper)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 11:27pm UTC](https://www.ruby-forum.com/t/euruko-2007/109270 "2007-07-12T23:27:24Z")

</div>

Hi all, there’s some planning going on about the European Ruby Conference 2007, the EURUKO. I blogged some information about it over at http://phvalues.wordpress.com, most notably the place where it’s most likely to …

---

## [Croquet](https://www.ruby-forum.com/t/croquet/109201)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/croquet/109201 "2007-07-12T22:51:22Z")

</div>

Is there any equivalent project in the Ruby-community to the Croquet project in the Smalltalk-community?

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/109265)

<div class="topic-metadata">

**Author:** [@Michael\_Loomis](https://www.ruby-forum.com/u/Michael_Loomis)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/no-subject/109265 "2007-07-12T22:37:21Z")

</div>

\#unsubscribe

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/109264)

<div class="topic-metadata">

**Author:** [@Michael\_Loomis](https://www.ruby-forum.com/u/Michael_Loomis)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/no-subject/109264 "2007-07-12T22:34:21Z")

</div>

\#help

---

## [DRb object mutation issues](https://www.ruby-forum.com/t/drb-object-mutation-issues/109138)

<div class="topic-metadata">

**Author:** [@Nwallins](https://www.ruby-forum.com/u/Nwallins)\
**Replies:** 6\
**Last updated:** [July 12, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/drb-object-mutation-issues/109138 "2007-07-12T22:14:17Z")

</div>

file 1 require ‘drb/drb’ require ‘thread’ DRb.start\_service(“druby://:1234”, Hash.new.extend(DRbUndumped)) DRb.thread.join EOF file 2 require ‘drb/drb’ d = DRbObject.new\_with\_uri(“druby://:1234”) d\[0\] = ‘zero’ d\[0…

---

## [Yet another site\_ruby question](https://www.ruby-forum.com/t/yet-another-site-ruby-question/109238)

<div class="topic-metadata">

**Author:** [@winsmith](https://www.ruby-forum.com/u/winsmith)\
**Replies:** 15\
**Last updated:** [July 12, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/yet-another-site-ruby-question/109238 "2007-07-12T21:19:10Z")

</div>

Hello all, Here’s the LOAD\_PATH for my desktop: /usr/local/lib/ruby/site\_ruby/1.8 /usr/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8.10.0 /usr/local/lib/ruby/site\_ruby /usr/local/lib/ruby/1.8 /usr/local/lib/ruby/1.8…

---

## [Segfault in JSON - windows VISTA](https://www.ruby-forum.com/t/segfault-in-json-windows-vista/109256)

<div class="topic-metadata">

**Author:** [@mjacobs](https://www.ruby-forum.com/u/mjacobs)\
**Replies:** 2\
**Last updated:** [July 12, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/segfault-in-json-windows-vista/109256 "2007-07-12T21:02:01Z")

</div>

I’ve been struggling for the past few hours with a segfault coming out of JSON. this is from the gem “json (1.1.1)” and “json (1.0.3)” I was originally running the ruby 1.8.6 one-click-installer, but reverted to 1.8.…

---

## [Sanitizing input](https://www.ruby-forum.com/t/sanitizing-input/109251)

<div class="topic-metadata">

**Author:** [@sy1234](https://www.ruby-forum.com/u/sy1234)\
**Replies:** 1\
**Last updated:** [July 12, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/sanitizing-input/109251 "2007-07-12T20:24:03Z")

</div>

First, I’m sorry if this has been brought up before… and I haven’t done any googling on the subject because it’s completely over my head and I’m not sure where to start. But I’m curious and wanted a bit of quick advic…

---

## [Strange answer by YAML](https://www.ruby-forum.com/t/strange-answer-by-yaml/109217)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 2\
**Last updated:** [July 12, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/strange-answer-by-yaml/109217 "2007-07-12T20:05:36Z")

</div>

x,xx = \*nil p x.class =\> NilClass p xx.class =\> NilClass x, xx= \*YAML.load("") p x.class =\> FalseClass p xx.class =\> NilClass Feature or bug ?

---

## [Help with system() call and pipe](https://www.ruby-forum.com/t/help-with-system-call-and-pipe/109154)

<div class="topic-metadata">

**Author:** [@DoanS\_Alex](https://www.ruby-forum.com/u/DoanS_Alex)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/help-with-system-call-and-pipe/109154 "2007-07-12T19:49:57Z")

</div>

I’m using system call and pipping the output to a log. Something funny happen when I have more then two escaped quotes and ‘\>\>’ in my call. Can someone shed some light on the issue: Case: command\_to\_execute = ““c:/pr…

---

## [Hype.rb](https://www.ruby-forum.com/t/hype-rb/109179)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 7\
**Last updated:** [July 12, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/hype-rb/109179 "2007-07-12T18:38:45Z")

</div>

NAME hype.rb SYNOPSIS if you can’t figure it out you don’t need to know HISTORY hack two: bug fixes. thx marcel. hack one: initial crime -a

---

## [Win32-service: error 5: access denied](https://www.ruby-forum.com/t/win32-service-error-5-access-denied/109072)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 4\
**Last updated:** [July 12, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/win32-service-error-5-access-denied/109072 "2007-07-12T18:02:39Z")

</div>

hello altogether! I have written an win32 service like explained in O’Reilys “Ruby Cookbook” on page 750. when i try to start the service is get the following error: Zugriff verweigert (Win32::ServiceError) or when …

---

## [Abstract methods in ruby?](https://www.ruby-forum.com/t/abstract-methods-in-ruby/109162)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 9\
**Last updated:** [July 12, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/abstract-methods-in-ruby/109162 "2007-07-12T16:48:31Z")

</div>

Hi everybody ! How do you implement something like the “abstract” keyword in Java ? Or: Is there a technique to force a subclass to implement a special method ? Kind regards Dominik

---

## [Unit test lines of code](https://www.ruby-forum.com/t/unit-test-lines-of-code/109233)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [July 12, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/unit-test-lines-of-code/109233 "2007-07-12T16:47:31Z")

</div>

I’d like to know people’s opinions. I quite often find that when I’m doing TDD, I end up with as much test code as implementation, or more. I don’t think I’m testing stupid things in my tests - I usually write the te…

---

## [Matrix problem](https://www.ruby-forum.com/t/matrix-problem/109224)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 2\
**Last updated:** [July 12, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/matrix-problem/109224 "2007-07-12T16:21:23Z")

</div>

i have a matrix :remember=Matrix\[ \[\] \] and this line remember\[0,0\]=3 why do i have this error at that line: undefined method \`\[\]=’ for Matrix\[\[\]\]:Matrix (NoMethodError) and how do i set values for my matrix only…

---

## [Ruby Messaging Library](https://www.ruby-forum.com/t/ruby-messaging-library/109119)

<div class="topic-metadata">

**Author:** [@Douglas\_T](https://www.ruby-forum.com/u/Douglas_T)\
**Replies:** 4\
**Last updated:** [July 12, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/ruby-messaging-library/109119 "2007-07-12T16:21:22Z")

</div>

I vaguely recall reading about a Ruby messaging library written by 2 Japanese developers which was put into high volume production usage. I’m trying to gather more information about this piece of software as well as …

---

## [Win32ole](https://www.ruby-forum.com/t/win32ole/109166)

<div class="topic-metadata">

**Author:** [@AgustSSS\_n\_Ramos](https://www.ruby-forum.com/u/AgustSSS_n_Ramos)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/win32ole/109166 "2007-07-12T16:06:20Z")

</div>

Hi everybody, i´m trying to manage the mouse with Ruby. Like move it in the Desktop, clicking de Start button, like a macro. Well, i would like to recive some information about that. Thanks!

---

## [Re: Reliable Messaging With Ruby and DRb](https://www.ruby-forum.com/t/re-reliable-messaging-with-ruby-and-drb/109156)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 1\
**Last updated:** [July 12, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/re-reliable-messaging-with-ruby-and-drb/109156 "2007-07-12T15:43:16Z")

</div>

My local IP address is 10.8.8.41. I could not figure out why when I use 127.0.0.1 the code works but fails when I use my IP address. At a guess (since you don’t show the server code), I imagine the server is bound …

---

## [Accessing a specific index in a nested array](https://www.ruby-forum.com/t/accessing-a-specific-index-in-a-nested-array/109147)

<div class="topic-metadata">

**Author:** [@feanix](https://www.ruby-forum.com/u/feanix)\
**Replies:** 9\
**Last updated:** [July 12, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/accessing-a-specific-index-in-a-nested-array/109147 "2007-07-12T15:33:31Z")

</div>

I’m trying to create a map datatype (a glorified matrix, really). It basically works on having a bunch of nested arrays. The idea is that I pass an X and a Y coord as arguments and then it returns the Xth element in t…

---

## [Recue-raise vs catch-throw](https://www.ruby-forum.com/t/recue-raise-vs-catch-throw/109200)

<div class="topic-metadata">

**Author:** [@vineetraja](https://www.ruby-forum.com/u/vineetraja)\
**Replies:** 8\
**Last updated:** [July 12, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/recue-raise-vs-catch-throw/109200 "2007-07-12T13:50:03Z")

</div>

Dear All I wonder if anyone could better explain me the difference between rescue-raise and catch-throw paradigms Thanks in Advance Raja

---

## [Ary.flatten("")](https://www.ruby-forum.com/t/ary-flatten/109203)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [July 12, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/ary-flatten/109203 "2007-07-12T12:04:50Z")

</div>

Array#flatten e$B$N0z?t$Ke(B “” e$B$rM?$($F%(%i!\<$K$J$i$J$$$N$O0U?^$;e(B e$B$6$k5sF0$J$N$G$O$J$$$G$7$g$&$+!#e(B % ./ruby -ve ‘p \[\[\]\].flatten("")’ ruby 1.9.0 (2007-07-12 patchlevel 0) \[i686-linux\] \[\]

---

## [Stripping columns / puts'ing columns](https://www.ruby-forum.com/t/stripping-columns-putsing-columns/109195)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 6\
**Last updated:** [July 12, 2007, 11:47am UTC](https://www.ruby-forum.com/t/stripping-columns-putsing-columns/109195 "2007-07-12T11:47:59Z")

</div>

Hi again, still on my quest to learn ruby :wink: And yet another question - more a general “how-to-approach” thing, though. Let’s say I have a text file with a number of rows (it’s a molecular sequence alignment, so …

---

## [XSD and XML](https://www.ruby-forum.com/t/xsd-and-xml/109149)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 11:06am UTC](https://www.ruby-forum.com/t/xsd-and-xml/109149 "2007-07-12T11:06:42Z")

</div>

Hi! Is there a way to deal with XML-files in Ruby? And further: is there a (existing) solution/way how to parse/validate XML-files against a XML- Schema (XSD)? Thanks for any help! Dominik A.

---

## [Exit from def?](https://www.ruby-forum.com/t/exit-from-def/109196)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 1\
**Last updated:** [July 12, 2007, 10:52am UTC](https://www.ruby-forum.com/t/exit-from-def/109196 "2007-07-12T10:52:36Z")

</div>

def bla for i in 1 .. 5 puts i for j in 1 .. 5 puts j if j==4 then here i want to exit the "bla" def if j==4 …

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

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