# Ruby

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

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

---

## [LP64: -0x10000000000000001 \<\< -0x80000001](https://www.ruby-forum.com/t/lp64-0x10000000000000001-0x80000001/112183)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 4:44am UTC](https://www.ruby-forum.com/t/lp64-0x10000000000000001-0x80000001/112183 "2007-08-16T04:44:50Z")

</div>

LP64 e$B4D6-$G!"e(B-0x10000000000000001 \<\< -0x80000001 e$B$,e(B RangeError e$B$K$J$j$^$9!#e(B % ./ruby -ve ‘p(-0x10000000000000001 \<\< -0x80000001)’ ruby 1.9.0 (2007-08-16 patchlevel 0) \[x86\_64-freebsd6.2\] -e:1:in \<\<'…

---

## [Trouble with RubyConf Proposal site confirmation email?](https://www.ruby-forum.com/t/trouble-with-rubyconf-proposal-site-confirmation-email/112179)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 3:04am UTC](https://www.ruby-forum.com/t/trouble-with-rubyconf-proposal-site-confirmation-email/112179 "2007-08-16T03:04:44Z")

</div>

Hi – At least a couple of people have had trouble getting confirmation email from the RubyConf proposal site, apparently because the site has been put on a block list somewhere… Please let me know who you are, and I’…

---

## [Random case chars?](https://www.ruby-forum.com/t/random-case-chars/112096)

<div class="topic-metadata">

**Author:** [@h4z3](https://www.ruby-forum.com/u/h4z3)\
**Replies:** 5\
**Last updated:** [August 16, 2007, 2:34am UTC](https://www.ruby-forum.com/t/random-case-chars/112096 "2007-08-16T02:34:42Z")

</div>

Does anyone have any good ways of transferring a string to random chars? For example, our string is hello, and i want HeLlO or something… Is there an easy way of doing this without splitting the string and reading eac…

---

## [Class\_eval do {nothing}?](https://www.ruby-forum.com/t/class-eval-do-nothing/112163)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 1:50am UTC](https://www.ruby-forum.com/t/class-eval-do-nothing/112163 "2007-08-16T01:50:08Z")

</div>

I’m attempting to redefine existing methods with class\_eval() and nothing’s happening. Assuming my namespaces are right, is there anything else to watch out for? The methods I’m targeting are private instance methods.…

---

## [Stompserver 0.9.8 Released](https://www.ruby-forum.com/t/stompserver-0-9-8-released/112169)

<div class="topic-metadata">

**Author:** [@Lionel\_B](https://www.ruby-forum.com/u/Lionel_B)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 1:25am UTC](https://www.ruby-forum.com/t/stompserver-0-9-8-released/112169 "2007-08-16T01:25:05Z")

</div>

Hi, stompserver version 0.9.8 has been released! \<by Patrick H., Lionel B.\> http://stompserver.rubyforge.org/ Stomp messaging server with file/dbm/memory/activerecord based FIFO queues, queue monitoring, and basic a…

---

## [Ruport::DataSet unitialized constant?](https://www.ruby-forum.com/t/ruport-dataset-unitialized-constant/112146)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 1\
**Last updated:** [August 16, 2007, 12:44am UTC](https://www.ruby-forum.com/t/ruport-dataset-unitialized-constant/112146 "2007-08-16T00:44:01Z")

</div>

even runnin the simplest program such as this - require “rubygems” require “ruport” require “ruport/util” stuff = Ruport::DataSet.load(“filename.csv”) gives me the error of uninitialized constant Ruport::DataSet …

---

## [Newby: class getter proper use help](https://www.ruby-forum.com/t/newby-class-getter-proper-use-help/112165)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [August 16, 2007, 12:42am UTC](https://www.ruby-forum.com/t/newby-class-getter-proper-use-help/112165 "2007-08-16T00:42:00Z")

</div>

Hello. I’m an aspiring ruby hobbyist. I’ve finally got my head around some basic class usage and use of setter/getter methods. However I’ve recently bumped into the threshold of my understanding. My query here r…

---

## [Method \`method\_missing' called on terminated object (0xb7cbd](https://www.ruby-forum.com/t/method-method-missing-called-on-terminated-object-0xb7cbd/112087)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/method-method-missing-called-on-terminated-object-0xb7cbd/112087 "2007-08-15T23:07:52Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B called on terminated object e$B$K$J$j$^$9!#e(B % ./ruby -ve ‘ObjectSpace.each\_object(Module) {|m| m.name.inspect }’ ruby 1.9.0 (2007-08-15 patchlevel 0) \[i686-linux\] -e:1:in block in \<main\>': …

---

## [HTTP headers and source](https://www.ruby-forum.com/t/http-headers-and-source/112132)

<div class="topic-metadata">

**Author:** [@h4z3](https://www.ruby-forum.com/u/h4z3)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/http-headers-and-source/112132 "2007-08-15T21:26:29Z")

</div>

Ok guys, lets say i wanted to grab the source for google.com or something… it wont allow if unless i send the correct headers to spoof the program… Can anyone give me a working example of how to send headers and downl…

---

## [Singleton or full static class](https://www.ruby-forum.com/t/singleton-or-full-static-class/112124)

<div class="topic-metadata">

**Author:** [@dizzyone](https://www.ruby-forum.com/u/dizzyone)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/singleton-or-full-static-class/112124 "2007-08-15T21:22:28Z")

</div>

In other languages I’m using the singleton pattern when I need a globally accessible object. But in Ruby so much is an object or behaces like an object (or can be treated as an object) I’m not sure if I should use the…

---

## [Where can I find eval rules for ruby?](https://www.ruby-forum.com/t/where-can-i-find-eval-rules-for-ruby/112138)

<div class="topic-metadata">

**Author:** [@Daryoush\_Mehrtash](https://www.ruby-forum.com/u/Daryoush_Mehrtash)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/where-can-i-find-eval-rules-for-ruby/112138 "2007-08-15T21:04:27Z")

</div>

Can anyone point me to a specification on Ruby’s evaluation rules? I am trying to understand Domain Specific Language implementation in Ruby, there are lot of examples such as Evaluation Options in Ruby, but I can’t …

---

## [Does an Array#apply make any sense at all?](https://www.ruby-forum.com/t/does-an-array-apply-make-any-sense-at-all/112022)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 19\
**Last updated:** [August 15, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/does-an-array-apply-make-any-sense-at-all/112022 "2007-08-15T20:46:26Z")

</div>

Hi! I wanted to write a simple method for comparing two paths on a Windows system. My initial algorithm felt very contrived: def same\_path?(a, b) a, b = \[a, b\].map{ |p| File.expand\_path§.downcase } a == b end It …

---

## [String parse](https://www.ruby-forum.com/t/string-parse/112079)

<div class="topic-metadata">

**Author:** [@anitawa](https://www.ruby-forum.com/u/anitawa)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/string-parse/112079 "2007-08-15T20:28:24Z")

</div>

Hello, I want to be able to parse a string and put them into variables. for example, I have this string: “Menu: steak\_and\_egg | date: 0814 | who: Anita” I want to parse this string to assign variables like so: menu …

---

## [Cellular Automata (#134)](https://www.ruby-forum.com/t/cellular-automata-134/111755)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 31\
**Last updated:** [August 15, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/cellular-automata-134/111755 "2007-08-15T20:22:23Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Dir.mktmpdir](https://www.ruby-forum.com/t/dir-mktmpdir/112033)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/dir-mktmpdir/112033 "2007-08-15T19:31:16Z")

</div>

e$B%F%s%\]%i%j%G%#%l%/%H%j$r:n$k%a%=%C%I$rMQ0U$9$k$H$$$$$H;W$&$se(B e$B$G$9$,!"$I$&$G$7$g$&e(B? tmpdir.rb e$B$Ge(B Dir.mktmpdir e$B$H$$$&$N$rDj5A$9$k$N$O$I$&$G$7$g$&e(B e$B$+!#e(B permission e$B$Oe(B 0700 e$B$K$9$ke(…

---

## [24 seconds for FASTCGI process to startup? Is this normal?](https://www.ruby-forum.com/t/24-seconds-for-fastcgi-process-to-startup-is-this-normal/111880)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/24-seconds-for-fastcgi-process-to-startup-is-this-normal/111880 "2007-08-15T18:59:41Z")

</div>

Hi, I’m on Dreamhost for hosting and have been finding that (noting Dreamhost kill off ruby processes) the first page return takes 20-40seconds, after which things go ok. I’ve put some logging in the “dispatch.fcgi”…

---

## [Launchy 0.2.0 Released](https://www.ruby-forum.com/t/launchy-0-2-0-released/111886)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/launchy-0-2-0-released/111886 "2007-08-15T18:05:07Z")

</div>

As promised, here’s a new release of launchy. For those of you who said the previous version didn’t work for you please test this out and let me know or submit the bugs on rubyforge\[1\]. I incorporated most of the fe…

---

## [Intro to Rails, Alexandria, VA, October 9-12](https://www.ruby-forum.com/t/intro-to-rails-alexandria-va-october-9-12/112119)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/intro-to-rails-alexandria-va-october-9-12/112119 "2007-08-15T17:04:00Z")

</div>

Hi everyone – I’m happy to announce that I’ll be teaching a four-day introductory Ruby on Rails course, produced by Accelebrate\[1\] and hosted at EEI\[2\] in Alexandria, Virginia, October 9-12 2007. For more information…

---

## [JRuby and Netbeans Matisse GUI builder](https://www.ruby-forum.com/t/jruby-and-netbeans-matisse-gui-builder/112044)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 6\
**Last updated:** [August 15, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/jruby-and-netbeans-matisse-gui-builder/112044 "2007-08-15T16:59:59Z")

</div>

Hello everyone! Netbeans 6 adds some excellent Ruby/JRuby support and it’s quite easy to create swing GUI components directly in JRuby code now. The Matisse GUI builder produces Java code that looks like it could be …

---

## [Ruby Paypal library uninitialized constant error](https://www.ruby-forum.com/t/ruby-paypal-library-uninitialized-constant-error/112076)

<div class="topic-metadata">

**Author:** [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/ruby-paypal-library-uninitialized-constant-error/112076 "2007-08-15T16:29:37Z")

</div>

I’m trying to use the paypal library for ruby but im getting an error on the ipn callback method. im getting the error: NameError (uninitialized constant Paypal::Notification::Money): /usr/lib/ruby/gems/1.8/gems/acti…

---

## [Wsdl2ruby help](https://www.ruby-forum.com/t/wsdl2ruby-help/112117)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/wsdl2ruby-help/112117 "2007-08-15T16:26:40Z")

</div>

Hello - I’ve been trying to figure out if and what I need to modify to get Ruby to access these web services. In lieu of those of us who would much rather see code than listen to someone rant about their problem, I …

---

## [ANN: Sequel 0.1.9.7 Released](https://www.ruby-forum.com/t/ann-sequel-0-1-9-7-released/112115)

<div class="topic-metadata">

**Author:** [@ciconia](https://www.ruby-forum.com/u/ciconia)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/ann-sequel-0-1-9-7-released/112115 "2007-08-15T16:21:40Z")

</div>

Sequel version 0.1.9.7 has just been released. This release includes a number of big fixes, as well as convenience methods for opening databases and a new method for batch inserting records. Following is a discussion …

---

## [Post xml over https connection](https://www.ruby-forum.com/t/post-xml-over-https-connection/112065)

<div class="topic-metadata">

**Author:** [@brad](https://www.ruby-forum.com/u/brad)\
**Replies:** 5\
**Last updated:** [August 15, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/post-xml-over-https-connection/112065 "2007-08-15T16:09:39Z")

</div>

Has anyone posted xml data over a https connection? We have a vendor product that has an API that allows for programmatic operation. Data is exchanged in xml format. The exchange occurs over https. Any tips or ideas w…

---

## [Dot matrix printer!](https://www.ruby-forum.com/t/dot-matrix-printer/112101)

<div class="topic-metadata">

**Author:** [@gugui](https://www.ruby-forum.com/u/gugui)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/dot-matrix-printer/112101 "2007-08-15T15:50:36Z")

</div>

Hi all, anyone knows a class to print in a dot matrix printer on Linux ? thanks any help

---

## [RubyConf registration?](https://www.ruby-forum.com/t/rubyconf-registration/112110)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 3\
**Last updated:** [August 15, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/rubyconf-registration/112110 "2007-08-15T15:15:29Z")

</div>

Guys, Anyone have any idea when registration will be opening? I keep checking RubyConf.org, but am afraid I’m going to miss it. This years conference is dangerously close to my area (Greensboro, NC)…I can’t let the o…

---

## [Lone Star Rubyconf - Last Call for Early Registration](https://www.ruby-forum.com/t/lone-star-rubyconf-last-call-for-early-registration/112108)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/lone-star-rubyconf-last-call-for-early-registration/112108 "2007-08-15T15:00:28Z")

</div>

Announcing a Ruby conference as big as Texas! http://LoneStarRubyconf.com On September 7-8, the 2007 Lone Star Rubyconf conference will be held in Austin, TX, with a charity workshop on September 6. All are welcome…

---

## [How to forbid auto-redirections in open-uri?](https://www.ruby-forum.com/t/how-to-forbid-auto-redirections-in-open-uri/112099)

<div class="topic-metadata">

**Author:** [@SSSSSSSS\_SSSSSSSSSS](https://www.ruby-forum.com/u/SSSSSSSS_SSSSSSSSSS)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 11:59am UTC](https://www.ruby-forum.com/t/how-to-forbid-auto-redirections-in-open-uri/112099 "2007-08-15T11:59:07Z")

</div>

Hi Is there a way to forbid the redirections in open-uri? When I use open-uri to open "http://www.youtube.com/get\_video?video\_id=tRTk0RPXtW4&t=OEgsToPDskKxoaqtuZPaCfByGHs4LL6K ", I just wish to obtain the film real u…

---

## [Ruby debuggers?](https://www.ruby-forum.com/t/ruby-debuggers/111894)

<div class="topic-metadata">

**Author:** [@jkpalmer52](https://www.ruby-forum.com/u/jkpalmer52)\
**Replies:** 7\
**Last updated:** [August 15, 2007, 9:20am UTC](https://www.ruby-forum.com/t/ruby-debuggers/111894 "2007-08-15T09:20:47Z")

</div>

I am far enough into learning Ruby so that I need to track down problems that can’t be solved just by examining the source. So far I have been using the built-in debugger that comes with Ruby, which works fine, but h…

---

## [\[SOLUTION\] Cellular Automata (#134)](https://www.ruby-forum.com/t/solution-cellular-automata-134/112092)

<div class="topic-metadata">

**Author:** [@jameskelly](https://www.ruby-forum.com/u/jameskelly)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 8:41am UTC](https://www.ruby-forum.com/t/solution-cellular-automata-134/112092 "2007-08-15T08:41:42Z")

</div>

Here’s my simple solution. Note that, rather than parsing options, it merely expects rule, steps, state in that order. require ‘enumerator’ def step(state,rule) cur\_arr = (\[0,0\] + state.split(//) + \[0,0\]).map{|s| s.t…

---

## [Date array parse](https://www.ruby-forum.com/t/date-array-parse/112091)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 8:31am UTC](https://www.ruby-forum.com/t/date-array-parse/112091 "2007-08-15T08:31:33Z")

</div>

if i had a huge array of dates in the format of ##/##/## how would i use string comparison and optparse to be able to use the command line format of somethin along the line of -sd 03/25/97 and have that option start …

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

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