# Ruby

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

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

---

## [Ruby and quicktime?](https://www.ruby-forum.com/t/ruby-and-quicktime/122146)

<div class="topic-metadata">

**Author:** [@cacciatc](https://www.ruby-forum.com/u/cacciatc)\
**Replies:** 2\
**Last updated:** [December 5, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/ruby-and-quicktime/122146 "2007-12-05T18:35:48Z")

</div>

I know you can interact with the quicktime player via ruby, but why not the framework? I am curious why it seems there have been no attempts to wrap the quicktime api in ruby; or at least I haven’t been able to find …

---

## [How to calculate variance](https://www.ruby-forum.com/t/how-to-calculate-variance/122101)

<div class="topic-metadata">

**Author:** [@smeitei](https://www.ruby-forum.com/u/smeitei)\
**Replies:** 4\
**Last updated:** [December 5, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/how-to-calculate-variance/122101 "2007-12-05T18:22:17Z")

</div>

How to calculate variance on the elements of an Array

---

## [Iconv.list patch for NetBSD/Citrus](https://www.ruby-forum.com/t/iconv-list-patch-for-netbsd-citrus/122204)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 2\
**Last updated:** [December 5, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/iconv-list-patch-for-netbsd-citrus/122204 "2007-12-05T18:21:06Z")

</div>

e$B@.@%$G$9!#e(B NetBSD e$B$Ne(B Citrus iconv e$B$GBP1~%(%s%3!\<%G%#%s%0$N%j%9%H$rF@$k%Q%C%A$G$9!#e(B e$B\<BBN$He(B alias e$B$,$4$C$A$c$K$J$C$F$$$^$9$,!"$=$l$G$b$=$l$J$j$N=u$1$K$O$J$ke(B e$B$H;W$&$N$G$H$j$"$($:!#e(B I…

---

## [I consider this a bug in Ruby](https://www.ruby-forum.com/t/i-consider-this-a-bug-in-ruby/122156)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 13\
**Last updated:** [December 5, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/i-consider-this-a-bug-in-ruby/122156 "2007-12-05T17:59:25Z")

</div>

I would like to know why the following code doesn’t work: This should be 1 followed by 13 zeroes… range = 0…10000000000000 This should be 1 followed by 12 zeroes… range.step(1000000000000){|i| puts i} The error I get …

---

## [Rubygems/rubyforge question - release, package, group?](https://www.ruby-forum.com/t/rubygems-rubyforge-question-release-package-group/122208)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 2\
**Last updated:** [December 5, 2007, 5:37pm UTC](https://www.ruby-forum.com/t/rubygems-rubyforge-question-release-package-group/122208 "2007-12-05T17:37:39Z")

</div>

Hi Could someone please explain the difference between a release, a package, and a group when releasing gems to rubyforge (via rubyforge/hoe)? What is the convention for a gem in rubyforge when its the ‘only’ thing …

---

## [What is the best way to interact with a JDBC database](https://www.ruby-forum.com/t/what-is-the-best-way-to-interact-with-a-jdbc-database/122029)

<div class="topic-metadata">

**Author:** [@Venks](https://www.ruby-forum.com/u/Venks)\
**Replies:** 13\
**Last updated:** [December 5, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/what-is-the-best-way-to-interact-with-a-jdbc-database/122029 "2007-12-05T16:40:39Z")

</div>

Hi, I have a database that has only JDBC connectivity but I need to interact to this database from Ruby. What’s the best way to do so? All ideas and suggestions are welcome. My initial thought is to create a Java pr…

---

## [Ruby 1.9 woes](https://www.ruby-forum.com/t/ruby-1-9-woes/122105)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/ruby-1-9-woes/122105 "2007-12-05T16:26:34Z")

</div>

I’m running on Solaris and am having trouble building ruby 1.9. First, why doesn’t a configure script get bundled in the trunk? Anyway, I had to DL and build GNU M4 to get autoconf to build so I could generate the con…

---

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

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [December 5, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229160 "2007-12-05T16:02:25Z")

</div>

Begin forwarded message:

---

## [Expanding array as function arguments](https://www.ruby-forum.com/t/expanding-array-as-function-arguments/122196)

<div class="topic-metadata">

**Author:** [@viciu](https://www.ruby-forum.com/u/viciu)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/expanding-array-as-function-arguments/122196 "2007-12-05T15:55:56Z")

</div>

Hi! I wonder if it is possible to expand array as function arguments. Like def foo( a, b, c) end foo \[1,2,3\].to\_args Is possible to do it? – Witold R. nhw.pl (EN blog) http://FriendsFeedMe.com

---

## [What's wrong with these calculations?](https://www.ruby-forum.com/t/whats-wrong-with-these-calculations/122190)

<div class="topic-metadata">

**Author:** [@Ivo\_D](https://www.ruby-forum.com/u/Ivo_D)\
**Replies:** 8\
**Last updated:** [December 5, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-these-calculations/122190 "2007-12-05T15:32:30Z")

</div>

Hi I thought, why search for two hours being totally frustrated if I can just ask… why does this happen: 73.07-63.00 =\> 10.07 # ok, normal! 73.07-64.00 =\> 9.06999999999999 # why oh why? What should I do abo…

---

## [Packet : A Pure Ruby Library for Event Driven Network Programming](https://www.ruby-forum.com/t/packet-a-pure-ruby-library-for-event-driven-network-programming/120815)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 10\
**Last updated:** [December 5, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/packet-a-pure-ruby-library-for-event-driven-network-programming/120815 "2007-12-05T13:34:51Z")

</div>

Hi Folks, I am pleased to announce “Packet”, A pure ruby library for Event Driven Network Programming. Packet is a pure ruby library for writing network applications in Ruby. It follows Evented Model of network progr…

---

## [SEGV on "abcd\\xf0".force\_encoding("utf-8").reverse](https://www.ruby-forum.com/t/segv-on-abcd-xf0-force-encoding-utf-8-reverse/122054)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [December 5, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/segv-on-abcd-xf0-force-encoding-utf-8-reverse/122054 "2007-12-05T12:41:57Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B SEGV e$B$7$^$9!#e(B % ./ruby -ve ‘p “abcd\\xf0”.force\_encoding(“utf-8”).reverse’ ruby 1.9.0 (2007-12-04 patchlevel 0) \[i686-linux\] -e:1: – control frame ---------- c:0004 p:---- s:0009 b:0009 …

---

## [Web service client](https://www.ruby-forum.com/t/web-service-client/122081)

<div class="topic-metadata">

**Author:** [@ochomo](https://www.ruby-forum.com/u/ochomo)\
**Replies:** 3\
**Last updated:** [December 5, 2007, 12:38pm UTC](https://www.ruby-forum.com/t/web-service-client/122081 "2007-12-05T12:38:25Z")

</div>

Hello All, I have a simple web-service that i quickly generated using netbeans java IDE. I would like to consume the web service from a ruby program. Is it possible? How can I go about this? ochomo z. o.

---

## [How are methods being excecuted?](https://www.ruby-forum.com/t/how-are-methods-being-excecuted/122189)

<div class="topic-metadata">

**Author:** [@saladinmundi](https://www.ruby-forum.com/u/saladinmundi)\
**Replies:** 0\
**Last updated:** [December 5, 2007, 11:49am UTC](https://www.ruby-forum.com/t/how-are-methods-being-excecuted/122189 "2007-12-05T11:49:45Z")

</div>

Hi everyone, I’m working on a method which should manipulate the excecution of the method body. Therefore I need to know, how/where a Ruby method is called and how/where the method body is excecuted. Its all done on …

---

## [I think this is cool, ruby iterators and continuations](https://www.ruby-forum.com/t/i-think-this-is-cool-ruby-iterators-and-continuations/122126)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 5, 2007, 11:30am UTC](https://www.ruby-forum.com/t/i-think-this-is-cool-ruby-iterators-and-continuations/122126 "2007-12-05T11:30:56Z")

</div>

=begin This might be old hat to some, but I just figured out how to make an iterator so that if I get some kind of failure, it will return the element and try again on the same iteration. The code below is just a sim…

---

## [How to get the root of a web application with watir/firewati](https://www.ruby-forum.com/t/how-to-get-the-root-of-a-web-application-with-watir-firewati/122080)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 1\
**Last updated:** [December 5, 2007, 10:55am UTC](https://www.ruby-forum.com/t/how-to-get-the-root-of-a-web-application-with-watir-firewati/122080 "2007-12-05T10:55:34Z")

</div>

Hi, Somebody knows how to get the root of the web application. For example if I am in: www.elmundo.es/ppe/sskk/aaa.htm the root maybe can be www.elmundo.es/ppe/ or maybe is www.elmundo.es/ I’m using watir / firewatir…

---

## [@@identity](https://www.ruby-forum.com/t/identity/122166)

<div class="topic-metadata">

**Author:** [@four\_mrperfect](https://www.ruby-forum.com/u/four_mrperfect)\
**Replies:** 5\
**Last updated:** [December 5, 2007, 9:52am UTC](https://www.ruby-forum.com/t/identity/122166 "2007-12-05T09:52:32Z")

</div>

I can’t seem to find any resources which tell me how to do the following. When I write some content to a table in my database (mysql), I want to retrieve the id of the newly inserted record; an equivalent of select @@…

---

## [Shoes questions](https://www.ruby-forum.com/t/shoes-questions/122176)

<div class="topic-metadata">

**Author:** [@dust](https://www.ruby-forum.com/u/dust)\
**Replies:** 1\
**Last updated:** [December 5, 2007, 9:39am UTC](https://www.ruby-forum.com/t/shoes-questions/122176 "2007-12-05T09:39:04Z")

</div>

Alright i know that its possible to “getkeys” and set commands for the SHOE app. but i can’t get it to work i want to replace a button with somthing like keypress :enter :: button(“Submit Answer”) do #this is where th…

---

## [God 0.6.0 released (and mailing list)](https://www.ruby-forum.com/t/god-0-6-0-released-and-mailing-list/122147)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 1\
**Last updated:** [December 5, 2007, 8:35am UTC](https://www.ruby-forum.com/t/god-0-6-0-released-and-mailing-list/122147 "2007-12-05T08:35:50Z")

</div>

!!!NEW MAILING LIST!!! We now have a mailing list at http://groups.google.com/group/god-rb This release is primarily focused on increased stability, robustness, and code cleanliness. The last release (0.5.0) switched…

---

## [Why are "Array#push" and "pop" not "push!" and "pop!"?](https://www.ruby-forum.com/t/why-are-array-push-and-pop-not-push-and-pop/121842)

<div class="topic-metadata">

**Author:** [@samppi](https://www.ruby-forum.com/u/samppi)\
**Replies:** 29\
**Last updated:** [December 5, 2007, 8:25am UTC](https://www.ruby-forum.com/t/why-are-array-push-and-pop-not-push-and-pop/121842 "2007-12-05T08:25:52Z")

</div>

As a novice in Ruby, I love its elegance and consistence; it’s now one of my favorite languages. One of my favorite features is the practice of ending the names of mutating methods with an exclamation point to disting…

---

## [Rubyforge 101](https://www.ruby-forum.com/t/rubyforge-101/122160)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 3\
**Last updated:** [December 5, 2007, 6:17am UTC](https://www.ruby-forum.com/t/rubyforge-101/122160 "2007-12-05T06:17:16Z")

</div>

Does creating a new release automatically enable “gem install xyz”, or is there an additional step? – Giles B. Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www…

---

## [CGIExt 0.0.3 released - re-implementation of cgi.rb in C extension](https://www.ruby-forum.com/t/cgiext-0-0-3-released-re-implementation-of-cgi-rb-in-c-extension/122084)

<div class="topic-metadata">

**Author:** [@makoto\_kuwata](https://www.ruby-forum.com/u/makoto_kuwata)\
**Replies:** 1\
**Last updated:** [December 5, 2007, 4:47am UTC](https://www.ruby-forum.com/t/cgiext-0-0-3-released-re-implementation-of-cgi-rb-in-c-extension/122084 "2007-12-05T04:47:17Z")

</div>

Hi, all. I have released CGIExt 0.0.3. http://rubyforge.org/projects/cgiext/ ‘CGIExt’ is a re-implementation of ‘cgi.rb’ in C extension. It makes your web application faster. Currently, not of all functions are impl…

---

## [Ruby idiom equivalent to Perl "$asdf = $ARGV|| die 'arg required'"?](https://www.ruby-forum.com/t/ruby-idiom-equivalent-to-perl-asdf-argv-die-arg-required/122055)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 15\
**Last updated:** [December 5, 2007, 4:46am UTC](https://www.ruby-forum.com/t/ruby-idiom-equivalent-to-perl-asdf-argv-die-arg-required/122055 "2007-12-05T04:46:07Z")

</div>

I’m making some command-line utilities easier to use and I was wondering if there’s a really nice simple Rubyish way to do what I used to do with Perl back in the day. All my code in these utils which exit and print u…

---

## [Benchmarking JRuby](https://www.ruby-forum.com/t/benchmarking-jruby/121858)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 4\
**Last updated:** [December 5, 2007, 4:44am UTC](https://www.ruby-forum.com/t/benchmarking-jruby/121858 "2007-12-05T04:44:56Z")

</div>

For those of you playing with JRuby, if you run across benchmarks of any kind that show JRuby running slower than Ruby 1.8.x, we’d appreciate you filing them as bugs: http://jira.codehaus.org/browse/JRUBY In general,…

---

## [For loop iterator, next object](https://www.ruby-forum.com/t/for-loop-iterator-next-object/122138)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [December 5, 2007, 3:34am UTC](https://www.ruby-forum.com/t/for-loop-iterator-next-object/122138 "2007-12-05T03:34:44Z")

</div>

Assume I have: for user in @Users put user.name put user.name #I want this to be next object in @Users end I want the second user.name to be the next object in the list. Is there a way to do this? Thanks in advanc…

---

## [Irb and unix shells](https://www.ruby-forum.com/t/irb-and-unix-shells/121860)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 35\
**Last updated:** [December 5, 2007, 3:05am UTC](https://www.ruby-forum.com/t/irb-and-unix-shells/121860 "2007-12-05T03:05:53Z")

</div>

Can you use irb in place of shells like bash or rc?

---

## [Got problem in installing fedora](https://www.ruby-forum.com/t/got-problem-in-installing-fedora/121944)

<div class="topic-metadata">

**Author:** [@dureza](https://www.ruby-forum.com/u/dureza)\
**Replies:** 2\
**Last updated:** [December 5, 2007, 2:17am UTC](https://www.ruby-forum.com/t/got-problem-in-installing-fedora/121944 "2007-12-05T02:17:41Z")

</div>

hi there, good day anybody please help me…right after i install my fedora core, i cannot open my monitor…is there a problem in my resolution? i am using the 15" monitor… what would be the best resolution that i am goi…

---

## [Claiming IO](https://www.ruby-forum.com/t/claiming-io/121811)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 3\
**Last updated:** [December 5, 2007, 1:28am UTC](https://www.ruby-forum.com/t/claiming-io/121811 "2007-12-05T01:28:44Z")

</div>

Just wanted to send out a ping to the list to let folks know that I’m laying claim to IO for now. We really need to move forward with the libraries implementation, and IO is something that lots of things have dependen…

---

## [SSL not installed error when trying to install Rails w/ gem](https://www.ruby-forum.com/t/ssl-not-installed-error-when-trying-to-install-rails-w-gem/122150)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 1\
**Last updated:** [December 5, 2007, 1:27am UTC](https://www.ruby-forum.com/t/ssl-not-installed-error-when-trying-to-install-rails-w-gem/122150 "2007-12-05T01:27:30Z")

</div>

I got ruby and gems installed on Red Hat, then updated gems. I am now trying to install Rails with gems and am getting the error: SSL not installed on this system Is there any way around this other than installing Ope…

---

## [Problem using ruby with c++](https://www.ruby-forum.com/t/problem-using-ruby-with-c/122112)

<div class="topic-metadata">

**Author:** [@Teofilo\_D](https://www.ruby-forum.com/u/Teofilo_D)\
**Replies:** 1\
**Last updated:** [December 4, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/problem-using-ruby-with-c/122112 "2007-12-04T23:06:27Z")

</div>

Hi, I’m trying to use a ruby script in c++ which uses the method get of a Net::HTTP object, when I run it(script) in prompt it works, but when I run it in C++ it returns an error in the get line. ruby : require “n…

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

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