# Ruby

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

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

---

## [Errors that StringIO#seek raises](https://www.ruby-forum.com/t/errors-that-stringio-seek-raises/92001)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 2\
**Last updated:** [April 14, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/errors-that-stringio-seek-raises/92001 "2007-04-14T17:43:36Z")

</div>

e$B$3$s$K$A$Oe(B sheepman e$B$G$9!#e(B e$B%j%U%!%l%s%9$r=q$$$F$$$F5$$,$D$$$?:Y$+$$OC$G$9$,!#e(B StringIO#seek e$B$,Ej$2$kNc30$r!"e(BIO e$B%/%i%9$N$=$l$K9g$o$;$k%Q%C%A$G$9!#e(B e$B\<+?H$,e(B close e$B$5$l$F$$$?$i!"e(B…

---

## [Operating on strings using IO interface](https://www.ruby-forum.com/t/operating-on-strings-using-io-interface/92005)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 3\
**Last updated:** [April 14, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/operating-on-strings-using-io-interface/92005 "2007-04-14T16:45:33Z")

</div>

Hello, is there a means that a piece of software can use just the IO interface transparently without needing to know, whether the data to read (resp. to write) is coming from (resp. going to) a file or a string? Some…

---

## [Time's dst? strangeness](https://www.ruby-forum.com/t/times-dst-strangeness/91742)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 1\
**Last updated:** [April 14, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/times-dst-strangeness/91742 "2007-04-14T16:30:32Z")

</div>

I’ve looked at previous threads about dst? and isdst giving incorrect results, though they seem to hinge upon Daylight Savings Time information being incorrect, or not updated properly on the OS side. I think the resu…

---

## [Interfce builder?](https://www.ruby-forum.com/t/interfce-builder/91936)

<div class="topic-metadata">

**Author:** [@gcarcass](https://www.ruby-forum.com/u/gcarcass)\
**Replies:** 4\
**Last updated:** [April 14, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/interfce-builder/91936 "2007-04-14T14:30:50Z")

</div>

Hello everybody, I was wondering… Is there anything similar to an interface builder for Ruby, something that you can use to build in an easy way graphics environment? Thanks in advance.

---

## [Building ruby in a path independent fashion](https://www.ruby-forum.com/t/building-ruby-in-a-path-independent-fashion/91979)

<div class="topic-metadata">

**Author:** [@MDMDMD](https://www.ruby-forum.com/u/MDMDMD)\
**Replies:** 1\
**Last updated:** [April 14, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/building-ruby-in-a-path-independent-fashion/91979 "2007-04-14T14:08:21Z")

</div>

Hi, I noticed that when I build and install ruby/gems, the path is hard coded in the scripts. This causes a problem when I build on say an AIX machine A and want to run the interpreter on AIX machine B. Is there any …

---

## [Hpricot innerTEXT?](https://www.ruby-forum.com/t/hpricot-innertext/91907)

<div class="topic-metadata">

**Author:** [@abon](https://www.ruby-forum.com/u/abon)\
**Replies:** 9\
**Last updated:** [April 14, 2007, 11:48am UTC](https://www.ruby-forum.com/t/hpricot-innertext/91907 "2007-04-14T11:48:29Z")

</div>

Hi I’m using hpricot to parse the following file. \[from morwyn\] \* HTML for the Conceptually Challenged http://del.icio.us/url/50666d1a3fe2b942b20819ec2919d2b7#morwyn HTML for the Conceptually Challenged. Very basic t…

---

## [Date math without the dates](https://www.ruby-forum.com/t/date-math-without-the-dates/92000)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 3\
**Last updated:** [April 14, 2007, 7:45am UTC](https://www.ruby-forum.com/t/date-math-without-the-dates/92000 "2007-04-14T07:45:29Z")

</div>

Hi all. Observe: (Date.today…Date.today + 90).to\_a.size # ~90 That operation is, unfortunately, slow. Well, when you’re calling it 100+ times it’s slow. :slight\_smile: Is there a way to get at the result of that oper…

---

## [OptionParser#on does not raise when klass and pat are given](https://www.ruby-forum.com/t/optionparser-on-does-not-raise-when-klass-and-pat-are-given/91998)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 0\
**Last updated:** [April 14, 2007, 6:02am UTC](https://www.ruby-forum.com/t/optionparser-on-does-not-raise-when-klass-and-pat-are-given/91998 "2007-04-14T06:02:51Z")

</div>

e$B$3$s$K$A$O!"e(Bsheepman e$B$G$9!#e(B OptionParser#on e$B$K%/%i%9$H@55,I=8=$rF1;~$KM?$($F$b!“e(B ArgumentError e$B$,H/@8$7$^$;$s!#e(B e$B$=$l$8$c!”@55,I=8=$K%^%C%A$9$k%\*%W%7%g%s$N0z?t$@$1e(B e$BJQ49$7$F$/$l$k$N$+$H…

---

## [OCI8 binary\_double](https://www.ruby-forum.com/t/oci8-binary-double/91699)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 1\
**Last updated:** [April 14, 2007, 4:36am UTC](https://www.ruby-forum.com/t/oci8-binary-double/91699 "2007-04-14T04:36:47Z")

</div>

I’m using the latest OCI8 lib and the Oracle instantclient 10. All works well until I try to interact with a table containing a binary\_double type field. I get: “RuntimeError: unsupported datatype: 101” Does OCI8 su…

---

## [Chaining processes, Process.waitpid](https://www.ruby-forum.com/t/chaining-processes-process-waitpid/91991)

<div class="topic-metadata">

**Author:** [@samoht](https://www.ruby-forum.com/u/samoht)\
**Replies:** 0\
**Last updated:** [April 14, 2007, 1:55am UTC](https://www.ruby-forum.com/t/chaining-processes-process-waitpid/91991 "2007-04-14T01:55:37Z")

</div>

Hello, for chaining processes in a way, that the output of one process feeds the input of another one like in that example … #\\ transformation ‘foo’ -\> ‘fee’ -\> ‘tee’: chain\_processes(lambda { exec(‘echo’, ‘foo’) }, …

---

## [Extract Text from PDF](https://www.ruby-forum.com/t/extract-text-from-pdf/91920)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 5\
**Last updated:** [April 14, 2007, 1:53am UTC](https://www.ruby-forum.com/t/extract-text-from-pdf/91920 "2007-04-14T01:53:37Z")

</div>

Hi, Does anyone know a way to extract plain text from a PDF using Ruby? Many Thanks, ~ Mark

---

## [Survey: Slow Computers and Developer Productivity](https://www.ruby-forum.com/t/survey-slow-computers-and-developer-productivity/91951)

<div class="topic-metadata">

**Author:** [@Behrang\_S](https://www.ruby-forum.com/u/Behrang_S)\
**Replies:** 2\
**Last updated:** [April 14, 2007, 1:49am UTC](https://www.ruby-forum.com/t/survey-slow-computers-and-developer-productivity/91951 "2007-04-14T01:49:36Z")

</div>

Hi, I have created a survey titled “Slow Computers and Developer Productivity” with the aim of finding the possible effects of slow computer performance on developer productivity, behavior, and ROI for companies. It …

---

## [Invisible methods and inheritance](https://www.ruby-forum.com/t/invisible-methods-and-inheritance/91988)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 2\
**Last updated:** [April 14, 2007, 1:32am UTC](https://www.ruby-forum.com/t/invisible-methods-and-inheritance/91988 "2007-04-14T01:32:36Z")

</div>

Hello! Does anyone know the reason for the following? p rio(’.’).all.dirs.methods.include?(“each”) p rio(’.’).all.dirs.methods.respond\_to?(“each”) false true I can call dirs.each, but I am trying to trace which .…

---

## [Question about Fixnum](https://www.ruby-forum.com/t/question-about-fixnum/91954)

<div class="topic-metadata">

**Author:** [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Replies:** 5\
**Last updated:** [April 14, 2007, 1:28am UTC](https://www.ruby-forum.com/t/question-about-fixnum/91954 "2007-04-14T01:28:36Z")

</div>

Why the range of Fixnum is -2^30 ~ 2^30 rather than -2^31 ~2^31 ?

---

## [Unit-test ARGV problem (only 1 of 3 tests is using it)](https://www.ruby-forum.com/t/unit-test-argv-problem-only-1-of-3-tests-is-using-it/91944)

<div class="topic-metadata">

**Author:** [@ChrisKaelin](https://www.ruby-forum.com/u/ChrisKaelin)\
**Replies:** 5\
**Last updated:** [April 14, 2007, 12:46am UTC](https://www.ruby-forum.com/t/unit-test-argv-problem-only-1-of-3-tests-is-using-it/91944 "2007-04-14T00:46:33Z")

</div>

I have 3 tests using the following setup routine, that is faking command line arguments via ARGV. Only one of my 3 test routines seems to be actually using the ARGV defined here (but the @run1 seems to be initialized,…

---

## [Combining Hash elements to produce single line output](https://www.ruby-forum.com/t/combining-hash-elements-to-produce-single-line-output/91962)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 5\
**Last updated:** [April 14, 2007, 12:07am UTC](https://www.ruby-forum.com/t/combining-hash-elements-to-produce-single-line-output/91962 "2007-04-14T00:07:30Z")

</div>

Hi there. I know I’ve done something similar to this before but I seem to be stumped at the moment and thought I would ask for help. I have a temporary Hash array that holds information in different elements that nee…

---

## [Change the value of an attribute-object inside a method?](https://www.ruby-forum.com/t/change-the-value-of-an-attribute-object-inside-a-method/91971)

<div class="topic-metadata">

**Author:** [@caof2005](https://www.ruby-forum.com/u/caof2005)\
**Replies:** 2\
**Last updated:** [April 14, 2007, 12:02am UTC](https://www.ruby-forum.com/t/change-the-value-of-an-attribute-object-inside-a-method/91971 "2007-04-14T00:02:14Z")

</div>

Folks: This is a simple newbe question on how to change the value of an attribute and I have tried to do it in several ways without success. Here is the code: ###— Main Class —### class Employee attr\_writer :name …

---

## [Ruby Popup Window Session Problem](https://www.ruby-forum.com/t/ruby-popup-window-session-problem/102746)

<div class="topic-metadata">

**Author:** [@JPJPJP](https://www.ruby-forum.com/u/JPJPJP)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/ruby-popup-window-session-problem/102746 "2007-04-13T22:38:48Z")

</div>

I am using sessions to authenticate users for a web based application I am writing. I need to open popup windows for certain functions. These popup windows pass the session information in Mozilla allowing the windo…

---

## [Ruby on Rails Opportunity in S. Florida](https://www.ruby-forum.com/t/ruby-on-rails-opportunity-in-s-florida/91977)

<div class="topic-metadata">

**Author:** [@empower\_resources](https://www.ruby-forum.com/u/empower_resources)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-opportunity-in-s-florida/91977 "2007-04-13T22:37:03Z")

</div>

Ruby on Rails Developer needed. Video to web internet portal needs Sr. Developer/Project Manager to drive continued development of the next big social networking site. We are doing cutting-edge RoR development here in…

---

## [ClothRed 0.3.1 (Bugfix release)](https://www.ruby-forum.com/t/clothred-0-3-1-bugfix-release/91975)

<div class="topic-metadata">

**Author:** [@Phillip\_G](https://www.ruby-forum.com/u/Phillip_G)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/clothred-0-3-1-bugfix-release/91975 "2007-04-13T22:28:20Z")

</div>

= ClothRed HTML 2 Textile converter == What it is A library to convert HTML into Textile markup for use, for example, with RedCloth. == Requirements All you need is Ruby. == Get it Available as a gem on RubyForge: …

---

## [Debugging Ruby](https://www.ruby-forum.com/t/debugging-ruby/91783)

<div class="topic-metadata">

**Author:** [@celldee](https://www.ruby-forum.com/u/celldee)\
**Replies:** 2\
**Last updated:** [April 13, 2007, 9:23pm UTC](https://www.ruby-forum.com/t/debugging-ruby/91783 "2007-04-13T21:23:14Z")

</div>

Every so often I have to resort to using a debugger. I quite like ruby- debug, but I was wondering whether there are any other options worth considering that I’d missed. Any suggestions? Regards, Chris htttp://rots…

---

## [GSoC 2007 : The list of ruby accepted proposal is ready](https://www.ruby-forum.com/t/gsoc-2007-the-list-of-ruby-accepted-proposal-is-ready/91793)

<div class="topic-metadata">

**Author:** [@pedro](https://www.ruby-forum.com/u/pedro)\
**Replies:** 6\
**Last updated:** [April 13, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/gsoc-2007-the-list-of-ruby-accepted-proposal-is-ready/91793 "2007-04-13T21:19:14Z")

</div>

You can check the list of the 14 ruby accepted proposal is out. \[1\]. And more awesome for me, my proposal its accepted. :slight\_smile: now i only need to find the email address of my mentor and write a presentation mai…

---

## [Conditional statements within test method parameters?](https://www.ruby-forum.com/t/conditional-statements-within-test-method-parameters/91937)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/conditional-statements-within-test-method-parameters/91937 "2007-04-13T21:02:09Z")

</div>

hi, I have a test method that writes some xml. The second parameter is optional, the first parameter is boolean. test\_results((assert(REMEMBER\_ME.isSet?)), \*msg) Would it be possible to embed a conditional statement…

---

## [Converting hex or dec to ascii?](https://www.ruby-forum.com/t/converting-hex-or-dec-to-ascii/91941)

<div class="topic-metadata">

**Author:** [@mrpink](https://www.ruby-forum.com/u/mrpink)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/converting-hex-or-dec-to-ascii/91941 "2007-04-13T19:40:59Z")

</div>

Hi, I have a variable like: test = 0x65 0x78 and I wanna have this converted or outputet to-----\> ex which is the ascii code of 0x65 (=e) and 0x78 (=x) . But how can I do this ? test = 0x65 doesn’t, test = “0x65” d…

---

## [ClothRed 0.3.0 released](https://www.ruby-forum.com/t/clothred-0-3-0-released/91827)

<div class="topic-metadata">

**Author:** [@Phillip\_G](https://www.ruby-forum.com/u/Phillip_G)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/clothred-0-3-0-released/91827 "2007-04-13T18:24:54Z")

</div>

Or: TTD is fun. = ClothRed HTML 2 Textile converter == What it is A library to convert HTML into Textile markup for use, for example, with RedCloth. == Requirements All you need is Ruby. == Get it Available as a …

---

## [Training in London](https://www.ruby-forum.com/t/training-in-london/91882)

<div class="topic-metadata">

**Author:** [@lookfortrain](https://www.ruby-forum.com/u/lookfortrain)\
**Replies:** 8\
**Last updated:** [April 13, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/training-in-london/91882 "2007-04-13T18:11:52Z")

</div>

Anyone know some good training courses in ruby in London for first time programmers and possibly ruby on rails?

---

## ['thesitepeople'?](https://www.ruby-forum.com/t/thesitepeople/91901)

<div class="topic-metadata">

**Author:** [@Rutenis](https://www.ruby-forum.com/u/Rutenis)\
**Replies:** 1\
**Last updated:** [April 13, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/thesitepeople/91901 "2007-04-13T17:34:46Z")

</div>

Can I trust this comapany: ‘thesitepeople.com’ ? (two weeks and my domain is not still active…)

---

## [Thesitepeople](https://www.ruby-forum.com/t/thesitepeople/91900)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 13, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/thesitepeople/91900 "2007-04-13T16:11:40Z")

</div>

Can I trust this company: ‘thesitepeople’ ? I want to host some interesting ruby pages, and till this day - two weeks - this company can not make my domain active…

---

## [Real-world Ruby?](https://www.ruby-forum.com/t/real-world-ruby/91832)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 3\
**Last updated:** [April 13, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/real-world-ruby/91832 "2007-04-13T15:16:32Z")

</div>

Slashdot is currently featuring a story called “Boarding Pass Hacker Targets Bank of America” (Boarding Pass Hacker Targets Bank of America - Slashdot), which links to an entry in the “slight paranoia” blog (slight p…

---

## [Webrick authentication](https://www.ruby-forum.com/t/webrick-authentication/91924)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 2:48pm UTC](https://www.ruby-forum.com/t/webrick-authentication/91924 "2007-04-13T14:48:28Z")

</div>

Hello, I am looking at the webrick authentication sample. I guess it would probably work but it is not what I want. Using the sample I am able to create a function that requests authentication and returns a page. Ho…

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

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