# Ruby

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

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

---

## [Signals and Restarting Syscalls](https://www.ruby-forum.com/t/signals-and-restarting-syscalls/81313)

<div class="topic-metadata">

**Author:** [@curt\_s](https://www.ruby-forum.com/u/curt_s)\
**Replies:** 0\
**Last updated:** [January 7, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/signals-and-restarting-syscalls/81313 "2007-01-07T16:03:38Z")

</div>

I’m using fcgi.rb ruby-fcgi (0.8.7, according to the tarfile name, 0.8.5 according to the comment in the source) and lighttpd. Unfortunately, lighttpd can’t seem to shut down the ruby FastCGI servers: 25457 1 li…

---

## [StringScanner#scan BUG?](https://www.ruby-forum.com/t/stringscanner-scan-bug/75397)

<div class="topic-metadata">

**Author:** [@SSSBSHS\_SSSSS5SRSmS](https://www.ruby-forum.com/u/SSSBSHS_SSSSS5SRSmS)\
**Replies:** 2\
**Last updated:** [January 7, 2007, 11:00am UTC](https://www.ruby-forum.com/t/stringscanner-scan-bug/75397 "2007-01-07T11:00:17Z")

</div>

e$B$H$\_$?$G$9!#e(B Ruby 1.8.5 e$B$G\<!$N%3!\<%I$r\<B9T$9$k$H!"e(B$KCODE=“NONE” e$B$+$D@55,I=8=$N%U%ie(B e$B%0$,e(B e, s, u e$B$N\>l9g$K!“e(B"a:b” e$B$rJV$7$^$9!#e(B require “strscan” str = “a:b” \[“NONE”, “EUC”, “SJIS”,…

---

## [More space on the shelf](https://www.ruby-forum.com/t/more-space-on-the-shelf/81205)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 2\
**Last updated:** [January 7, 2007, 3:45am UTC](https://www.ruby-forum.com/t/more-space-on-the-shelf/81205 "2007-01-07T03:45:46Z")

</div>

I got returned from a trip to my Barnes and Noble store next door. Grabbed a coffee and checked out the Computer section of the store. It was great to see perhaps a dozen different Ruby titles on the shelf. Everything…

---

## [Last Used Object](https://www.ruby-forum.com/t/last-used-object/77190)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 6\
**Last updated:** [January 7, 2007, 3:29am UTC](https://www.ruby-forum.com/t/last-used-object/77190 "2007-01-07T03:29:45Z")

</div>

Hi, Today I have heard that you can use ; in Smalltalk to refer to the last used object. I could be wrong, but I think this is not possible in Ruby. If that is the case, does someone know the reason for this, or an…

---

## [Get remaing characters in a string](https://www.ruby-forum.com/t/get-remaing-characters-in-a-string/81300)

<div class="topic-metadata">

**Author:** [@Claus\_G](https://www.ruby-forum.com/u/Claus_G)\
**Replies:** 5\
**Last updated:** [January 7, 2007, 1:29am UTC](https://www.ruby-forum.com/t/get-remaing-characters-in-a-string/81300 "2007-01-07T01:29:37Z")

</div>

Hi. I need to get the last three characters in a string. I couldn’t find a function in the String class so I came up with this: class Remainder attr\_writer :n def initialize(t = “”, n = 0) @t = t.to\_s @n = n.to\_i …

---

## [Memory Leak Madness](https://www.ruby-forum.com/t/memory-leak-madness/81068)

<div class="topic-metadata">

**Author:** [@metrix](https://www.ruby-forum.com/u/metrix)\
**Replies:** 18\
**Last updated:** [January 6, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/memory-leak-madness/81068 "2007-01-06T23:01:29Z")

</div>

I’m having one hell of a time trying to find and stop a memory leak in a ruby daemon. It starts off using a tiny 14 MB of RAM, and 150+MB after a day. I’ve read through many forum and blog posts, and tried several pro…

---

## [HOW-TO produce random numbers within a range?](https://www.ruby-forum.com/t/how-to-produce-random-numbers-within-a-range/81210)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 8\
**Last updated:** [January 6, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/how-to-produce-random-numbers-within-a-range/81210 "2007-01-06T22:44:24Z")

</div>

Hello, Thanks for reading this. I am very new to Ruby and have been learning using a tutorial at http://pine.fm/LearnToProgram/ by Chris (thanks Chris) After searching fairly thoroughly in forums and tutorials I fou…

---

## [How to get a time object from a date object?](https://www.ruby-forum.com/t/how-to-get-a-time-object-from-a-date-object/81289)

<div class="topic-metadata">

**Author:** [@shawn\_bright](https://www.ruby-forum.com/u/shawn_bright)\
**Replies:** 4\
**Last updated:** [January 6, 2007, 8:43pm UTC](https://www.ruby-forum.com/t/how-to-get-a-time-object-from-a-date-object/81289 "2007-01-06T20:43:10Z")

</div>

lo there all, i have a date object, and i need to make a time object from it. i tried the to\_i, ( what i really need are the seconds ) but it failed. I am sure that there is an easy way to do this, i just can’t seem…

---

## [Sup 0.0.3 Released](https://www.ruby-forum.com/t/sup-0-0-3-released/80994)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 7\
**Last updated:** [January 6, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/sup-0-0-3-released/80994 "2007-01-06T20:10:49Z")

</div>

The most usable version yet, with mbox-over-ssh support, imap support that Finally Actually Works ™ and lots of speedups and bugfixes. With this release Sup moves from alpha to beta, so you know it must be good. I’d l…

---

## [Problems installing 1.8.5 under OSX Tiger PPC](https://www.ruby-forum.com/t/problems-installing-1-8-5-under-osx-tiger-ppc/81287)

<div class="topic-metadata">

**Author:** [@gman327](https://www.ruby-forum.com/u/gman327)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/problems-installing-1-8-5-under-osx-tiger-ppc/81287 "2007-01-06T19:31:02Z")

</div>

I just tried to install 1.8.5 under OSX Tiger PPC and here’s what I get I’m following the tutorial on hivelogic which refers to 1.8.4 RDoc failure in mkconfig.rb at or around line 19 column 11 Before reporting this, c…

---

## [REXML 3.1.6 has a XPath parser problem](https://www.ruby-forum.com/t/rexml-3-1-6-has-a-xpath-parser-problem/81280)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/rexml-3-1-6-has-a-xpath-parser-problem/81280 "2007-01-06T19:31:01Z")

</div>

Hi, XPath parser of REXML 3.1.6 has a problem related white space. We can meet the problem by function call with string which starts with “\\nALPHABET”. The following is patch and test case: diff -ru rexml\_3.1.6.orig…

---

## [Ruby On Rails install failing](https://www.ruby-forum.com/t/ruby-on-rails-install-failing/68645)

<div class="topic-metadata">

**Author:** [@roschler](https://www.ruby-forum.com/u/roschler)\
**Replies:** 3\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-install-failing/68645 "2007-01-06T19:30:52Z")

</div>

I’m trying to get Rails installed on my system. I installed the Ruby On Rails 1.0.2 package for Eclipse. Then I used the one-click installer for Ruby 1.8.5 and configured Eclipse with my install directory (C:\\Ruby\\b…

---

## [trunk$B$N(B2$B2sL\\$N(Bmake install](https://www.ruby-forum.com/t/trunk-b-n-b2-b2sl-n-bmake-install/81271)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/trunk-b-n-b2-b2sl-n-bmake-install/81271 "2007-01-06T19:30:51Z")

</div>

e$B@\>;3OB9-$G$9!#e(B trunke$B$r0lEYe(Bmake installe$B$7$F!"e(Binstalle$B$7$?@h$r\>C$5$:$Ke(B e$B$b$&0lEYe(Bmake installe$B$9$k$H!“e(Binstalling rdoce$B$NESCf$Ge(B e$BIi2Y$,$”$,$j$O$8$a$F!"e(BLinuxe$B%^%7%s\<+BN$NH?1~$,$…

---

## [Re: Little Things](https://www.ruby-forum.com/t/re-little-things/81212)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/re-little-things/81212 "2007-01-06T19:30:50Z")

</div>

From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] xml.freeze{ ‘oops’ } xml.id{ ‘oops’ } xml.method{ ‘oops’ } xml.new{ ‘oops’ } xml.send{ ‘oops’ } xml.taint{ ‘oops’ } xml.typ…

---

## [Problem solving quadratic equations](https://www.ruby-forum.com/t/problem-solving-quadratic-equations/81166)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 9\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/problem-solving-quadratic-equations/81166 "2007-01-06T19:30:50Z")

</div>

I wrote a small program to solve for x using the quadratic formula but instead of receiving a + and - result I am getting two identical answers… Is the problem with my math or with my code? Also, how can I require th…

---

## [How to lex javascript for an assert\_js system?](https://www.ruby-forum.com/t/how-to-lex-javascript-for-an-assert-js-system/80709)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 15\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/how-to-lex-javascript-for-an-assert-js-system/80709 "2007-01-06T19:30:49Z")

</div>

Ruboids: Someone recently posted this: o There’s a difference between syntax checking and verification of functional correctness That is indeed why a test case that spot-checks your syntax is less useful than a t…

---

## [RExchange 0.3.0 in the wild (Rubyforge release)](https://www.ruby-forum.com/t/rexchange-0-3-0-in-the-wild-rubyforge-release/81264)

<div class="topic-metadata">

**Author:** [@sams](https://www.ruby-forum.com/u/sams)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/rexchange-0-3-0-in-the-wild-rubyforge-release/81264 "2007-01-06T19:30:49Z")

</div>

The “It Lives!” release! Exchange integration is simpler than ever! Added support for Appointments, simplified some interfaces, and fixed some broken windows. Version 0.3.0 is new and improved, but NOT a drop in repl…

---

## [File-based Code Encapsulation](https://www.ruby-forum.com/t/file-based-code-encapsulation/81104)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 6\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/file-based-code-encapsulation/81104 "2007-01-06T19:30:49Z")

</div>

Hi– I’m having a little debate with myself. On my current project I have a bunch of little reusable task scripts that a command line tool runs. The scripts are written as the top-level (although I actually simulate t…

---

## [Ruby Cocoa Run Loop](https://www.ruby-forum.com/t/ruby-cocoa-run-loop/81112)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 5\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/ruby-cocoa-run-loop/81112 "2007-01-06T19:30:48Z")

</div>

Hello, I’ve been inspired by reading: http://www.rubycocoa.com/mastering-cocoa-with-ruby/1 But I don’t really want to have to build an application that’s a ruby console. I’d like to be able to fire up the NSApplicat…

---

## [Word Search (#107)](https://www.ruby-forum.com/t/word-search-107/81261)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/word-search-107/81261 "2007-01-06T19:30:47Z")

</div>

I had a few moments this weekend and sat down to work this problem. I was quite surprised to find it tougher than I had expected. I fiddled around for about an hour trying to find a solution I felt was elegant, but…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/81135)

<div class="topic-metadata">

**Author:** [@Alvin\_Thew](https://www.ruby-forum.com/u/Alvin_Thew)\
**Replies:** 2\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/unsubscribe/81135 "2007-01-06T19:30:46Z")

</div>

unsubscribe

---

## [The Volkswagen Ruby: Beetle Happiness](https://www.ruby-forum.com/t/the-volkswagen-ruby-beetle-happiness/81256)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/the-volkswagen-ruby-beetle-happiness/81256 "2007-01-06T19:30:46Z")

</div>

It’s OT, but, well, it could have been about Ruby and its “multi-paradigm freedom”: Do it the way you want. You’re free! Enjoy! Be happy! http://damienkatz.net/2007/01/the\_volkswagen.html ;\] gegroet, Erik V. - http…

---

## [Rdoc: unknown tag: sections?](https://www.ruby-forum.com/t/rdoc-unknown-tag-sections/81253)

<div class="topic-metadata">

**Author:** [@jashmenn](https://www.ruby-forum.com/u/jashmenn)\
**Replies:** 1\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/rdoc-unknown-tag-sections/81253 "2007-01-06T19:30:46Z")

</div>

Hey All. Trying to use jamis buck’s template for rdoc ( http://svn.jamisbuck.org/rdoc-templates/jamis.rb ). Rdoc runs fine with no errors when I try to use the standard “html” template. However if I use jamis.rb it sa…

---

## [Next meeting of the AgileMaryland Ruby Codefest](https://www.ruby-forum.com/t/next-meeting-of-the-agilemaryland-ruby-codefest/81255)

<div class="topic-metadata">

**Author:** [@Jeff\_Waltzer](https://www.ruby-forum.com/u/Jeff_Waltzer)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/next-meeting-of-the-agilemaryland-ruby-codefest/81255 "2007-01-06T19:30:45Z")

</div>

The AgileMaryland Ruby codefests are starting up again now the holidays are over. The next meeting will be Monday January 8th. One item on our plate will be the TDDing (Test Driven Development) of our GUI. My initi…

---

## [IHelp 0.4.5 - Interactive Help](https://www.ruby-forum.com/t/ihelp-0-4-5-interactive-help/81251)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/ihelp-0-4-5-interactive-help/81251 "2007-01-06T19:30:43Z")

</div>

View and search Ruby documentation from irb. This one’s a bugfix release 0.4.5 Use RI environment variable to pass config to ri (thanks to Parragh Szabolcs.) Bugfix for missing require ‘stringio’ (thanks to Marcel M…

---

## [Ruby's Trac Alternative](https://www.ruby-forum.com/t/rubys-trac-alternative/80156)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 13\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/rubys-trac-alternative/80156 "2007-01-06T19:30:42Z")

</div>

So I’m trying to use Trac for our FUN3D development, as an experiment for a potential NASA-wide installation, but Trac is not the easiest thing to get setup. Lately, I’ve even had to hack some of the Python internals…

---

## [Ruby library for DTMF detection](https://www.ruby-forum.com/t/ruby-library-for-dtmf-detection/81231)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 1\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/ruby-library-for-dtmf-detection/81231 "2007-01-06T19:30:41Z")

</div>

Hi, I am looking for a Ruby library for simple DTMF tone detection. It would be presented with an audio-file / continuous-stream and it should detect DTMF tones in it. Is there one already available somewhere? T…

---

## [Rails Training in Alexandria, VA, by Accelebrate](https://www.ruby-forum.com/t/rails-training-in-alexandria-va-by-accelebrate/81248)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/rails-training-in-alexandria-va-by-accelebrate/81248 "2007-01-06T19:30:40Z")

</div>

Hi – Accelebrate\[1\] is presenting a four-day Ruby for Rails training course, February 6-9, 2007, in Alexandria, Virginia. I will be the instructor. The course covers beginning through intermediate Ruby and Rails, an…

---

## [Array questions](https://www.ruby-forum.com/t/array-questions/81054)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 6\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/array-questions/81054 "2007-01-06T19:30:39Z")

</div>

Hi, I’m trying to learn ruby by ‘borrowing’ peoples code and adding comments to help me understand what they’ve done. The code below is ‘borrowed’ from the maze solutions on rubygarden. (http://wiki.rubygarden.org/R…

---

## [The Programmer Hierarchy](https://www.ruby-forum.com/t/the-programmer-hierarchy/80457)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 12\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/the-programmer-hierarchy/80457 "2007-01-06T19:30:38Z")

</div>

http://www.hermann-uwe.de/files/images/programmer\_hierarchy.png

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

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