# Ruby

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

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

---

## [Ruby soap implementation](https://www.ruby-forum.com/t/ruby-soap-implementation/73697)

<div class="topic-metadata">

**Author:** [@schnepfe](https://www.ruby-forum.com/u/schnepfe)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/ruby-soap-implementation/73697 "2006-10-26T15:25:57Z")

</div>

Hi, we have compared php and ruby Web Service clients. Both clients call a Web Service getting a response containing an array of about 10000 integers. We oberserved that the ruby client is 10 times slower than the ph…

---

## [Do something until keypress](https://www.ruby-forum.com/t/do-something-until-keypress/73704)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 2:41pm UTC](https://www.ruby-forum.com/t/do-something-until-keypress/73704 "2006-10-26T14:41:54Z")

</div>

Hello, I would like to emulate the good old Pascal ‘loop until keypressed’ code snippet: repeat write(“Hello”); until keypressed; (also the borland c/c++ function kbhit() was similar). Also I would like to continu…

---

## [Bug with sdbm?](https://www.ruby-forum.com/t/bug-with-sdbm/73687)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 1:21pm UTC](https://www.ruby-forum.com/t/bug-with-sdbm/73687 "2006-10-26T13:21:51Z")

</div>

I found that when trying to store marshalled data in sdbm, it croaks with the message “sdbm\_store failed (SDBMError)” when the marshalled object contains binary data, such as a compressed file. dbm and gdbm work fine…

---

## [Whole CVS tree](https://www.ruby-forum.com/t/whole-cvs-tree/73700)

<div class="topic-metadata">

**Author:** [@sheynkman](https://www.ruby-forum.com/u/sheynkman)\
**Replies:** 0\
**Last updated:** [October 26, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/whole-cvs-tree/73700 "2006-10-26T12:37:49Z")

</div>

Where can I get whole ruby CVS tree(tree of \*,v files)?

---

## [Simple method overhead](https://www.ruby-forum.com/t/simple-method-overhead/73696)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/simple-method-overhead/73696 "2006-10-26T12:07:48Z")

</div>

Hi all. I have the method like: class MyCoolClass def initialize @var = \[\] end #some other methods push values to @var #here is method of interest: def ; @var\[idx\] end end I have those, a bit confusing, profili…

---

## [1.8 digest/sha2 problem?](https://www.ruby-forum.com/t/1-8-digest-sha2-problem/73699)

<div class="topic-metadata">

**Author:** [@URABE\_Shyouhei](https://www.ruby-forum.com/u/URABE_Shyouhei)\
**Replies:** 0\
**Last updated:** [October 26, 2006, 11:59am UTC](https://www.ruby-forum.com/t/1-8-digest-sha2-problem/73699 "2006-10-26T11:59:47Z")

</div>

e$B\<j85$Ne(Bautobuilde$B$Ge(Btest-alle$B$,F0$-$^$;$s!#e(B http://mput.dip.jp/autobuild/ruby-1.8/latest.html e$B$3$l$@$1$G$O\>pJs\>/$J$9$.$k$H;W$$$^$9$,!“;d$NJ}$b2?$r$I$&D4$Y$F$$$$$N$+J,e(B e$B$+$i$J$$$N$G!”$J$K$+=u8@$,$…

---

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

<div class="topic-metadata">

**Author:** [@gaurav\_bagga](https://www.ruby-forum.com/u/gaurav_bagga)\
**Replies:** 21\
**Last updated:** [October 26, 2006, 11:51am UTC](https://www.ruby-forum.com/t/no-subject/72992 "2006-10-26T11:51:47Z")

</div>

Hi All, I have just started to learn about Agile development and was told that in Agile very less focus is given to documentation and usage of UML related things is very less. Is it that its not used at all by most A…

---

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

<div class="topic-metadata">

**Author:** [@Yacao\_Wang](https://www.ruby-forum.com/u/Yacao_Wang)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 11:47am UTC](https://www.ruby-forum.com/t/no-subject/73692 "2006-10-26T11:47:47Z")

</div>

unsubscribe

---

## [Premature Optimization](https://www.ruby-forum.com/t/premature-optimization/73645)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [October 26, 2006, 9:01am UTC](https://www.ruby-forum.com/t/premature-optimization/73645 "2006-10-26T09:01:39Z")

</div>

Hi everybody, I’m writing a fairly open-ended question. I’m hoping for suggestions, opinions, advice. Suppose I have n arrays, each of which has m entries. m is a fairly large integer, on the order of 10,000. Each …

---

## [Popularity Contest: Initializing Class-Level Instance Variab](https://www.ruby-forum.com/t/popularity-contest-initializing-class-level-instance-variab/73679)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 4\
**Last updated:** [October 26, 2006, 7:39am UTC](https://www.ruby-forum.com/t/popularity-contest-initializing-class-level-instance-variab/73679 "2006-10-26T07:39:34Z")

</div>

Subclassing a class that uses class-level instance variables requires that you initialize them for subclasses. Which of the following three techniques do you prefer? TECHNIQUE 1 - EXPLICIT INITIALIZATION class Alpha @…

---

## [Jruby \<=\> prime time?](https://www.ruby-forum.com/t/jruby-prime-time/73674)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 2\
**Last updated:** [October 26, 2006, 6:49am UTC](https://www.ruby-forum.com/t/jruby-prime-time/73674 "2006-10-26T06:49:31Z")

</div>

I’ve got a project for which I might need to write a fast and very small server. I was initially thinking, that if I do in fact need to do this, that I would have to choose Python over Ruby for the server, because it …

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73435)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 12\
**Last updated:** [October 26, 2006, 6:47am UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73435 "2006-10-26T06:47:29Z")

</div>

Phrogz wrote: It takes a watchful eye to cook chunky bacon when one is used to slim, however. One must approach chunky bacon with caution. I’m hungry now! Pass the HP… Gem This email and any attachments are conf…

---

## [Calling functions in a child class](https://www.ruby-forum.com/t/calling-functions-in-a-child-class/73667)

<div class="topic-metadata">

**Author:** [@brianspaid](https://www.ruby-forum.com/u/brianspaid)\
**Replies:** 6\
**Last updated:** [October 26, 2006, 5:45am UTC](https://www.ruby-forum.com/t/calling-functions-in-a-child-class/73667 "2006-10-26T05:45:23Z")

</div>

I have a class: class alpha def test\_method puts “test method” end def get\_methods puts alpha.methods end end running “get\_methods” here will return a long list of methods including test\_method. But, I also hav…

---

## [Server response time](https://www.ruby-forum.com/t/server-response-time/73646)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 5:37am UTC](https://www.ruby-forum.com/t/server-response-time/73646 "2006-10-26T05:37:22Z")

</div>

Hello, I just started using SugarCRM an online CRM tool. I noticed that at the bottom of the page it would print out the following line for every page Server response time: 0.315068 seconds. Is there a way to do the…

---

## [Kernel#caller for non-current thread](https://www.ruby-forum.com/t/kernel-caller-for-non-current-thread/73511)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 2\
**Last updated:** [October 26, 2006, 2:23am UTC](https://www.ruby-forum.com/t/kernel-caller-for-non-current-thread/73511 "2006-10-26T02:23:02Z")

</div>

Looks like it can be done in C by: set ruby\_frame to the particular th-\>frame, call backtrace(), and set it back. Is there a better way or has anybody already done it? Steve

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73445)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 10\
**Last updated:** [October 26, 2006, 1:39am UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73445 "2006-10-26T01:39:00Z")

</div>

Although back to the initial question wtf (excuse my language) has any of this to do with ruby or coding…?! Aside from rooting out the brits on this mailing list? :smiley: Glad to see you guys! Gem

---

## [Functional Equivalency](https://www.ruby-forum.com/t/functional-equivalency/73583)

<div class="topic-metadata">

**Author:** [@tom.mancino](https://www.ruby-forum.com/u/tom.mancino)\
**Replies:** 7\
**Last updated:** [October 26, 2006, 12:26am UTC](https://www.ruby-forum.com/t/functional-equivalency/73583 "2006-10-26T00:26:54Z")

</div>

This works for multiple keywords: res = adwords.estimateKeywordList(\[AdWords::KeywordRequest.new(nil, 1000000, false, ‘test’, ‘Broad’), AdWords::KeywordRequest.new(nil, 1000000, false, ‘student’, ‘Broad’)\]) This does…

---

## [Is anyone using Ruby for 24/7 financial applications?](https://www.ruby-forum.com/t/is-anyone-using-ruby-for-24-7-financial-applications/72812)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 20\
**Last updated:** [October 26, 2006, 12:12am UTC](https://www.ruby-forum.com/t/is-anyone-using-ruby-for-24-7-financial-applications/72812 "2006-10-26T00:12:52Z")

</div>

I know a lot of people are using ruby on rails for web apps, usually with Apache as the underlying app, but I don’t know of anyone using ruby itself for a 24/7 application. Yes, some people are using webrick as thei…

---

## ['\*\*' as hash splat?](https://www.ruby-forum.com/t/as-hash-splat/73363)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 14\
**Last updated:** [October 26, 2006, 12:04am UTC](https://www.ruby-forum.com/t/as-hash-splat/73363 "2006-10-26T00:04:51Z")

</div>

We can: a = \[2,1\] \[3,\*a\] #=\> \[3,2,1\] How about: h = {:b=\>2, :a=\>1} {:c =\> 3, \*\*h} #=\> {:c=\>3, :b=\>2, :a=\>1} T.

---

## [Newbi - form\_remote\_tag doesn't produce any HTML](https://www.ruby-forum.com/t/newbi-form-remote-tag-doesnt-produce-any-html/73655)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 1\
**Last updated:** [October 25, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/newbi-form-remote-tag-doesnt-produce-any-html/73655 "2006-10-25T23:58:51Z")

</div>

Hi, I’m completely new to Ruby/Rails, so sorry for asking newbi questions. I’m just following the Agile Web D. book, and got to the AJAX section. Added the code from the web, to generate the .js which triggers the A…

---

## [Re: Premature Optimization](https://www.ruby-forum.com/t/re-premature-optimization/73656)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 25, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/re-premature-optimization/73656 "2006-10-25T23:52:51Z")

</div>

From: Gavin K. However, I believe that’s a pure-ruby implementation of matrices and vectors. A quick bit of Googling looks ike RNum\[1\] might be crazy fast and do what you need. I’ve never used it. I’ve also never use…

---

## [RubyConf2006 Retrospective](https://www.ruby-forum.com/t/rubyconf2006-retrospective/73492)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 34\
**Last updated:** [October 25, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/rubyconf2006-retrospective/73492 "2006-10-25T23:22:48Z")

</div>

Hi, To learn from RubyConf06, I am assuming the role of “independent third party” to aggregate comments about what should a) stop b) continue c) start for next year’s conference. Please try to include the “why” …

---

## [Re: Premature Optimization](https://www.ruby-forum.com/t/re-premature-optimization/73650)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 25, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/re-premature-optimization/73650 "2006-10-25T23:16:48Z")

</div>

From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] first = \[1,0,0,0,0\] second = \[1,1,0,0,0\] third = \[0,0,0,1,0\] I would end up with count = \[2,1,0,1,0\] Built into Ruby: irb(…

---

## [Re: Recommendations for a Ruby Wiki, preferably with bidi su](https://www.ruby-forum.com/t/re-recommendations-for-a-ruby-wiki-preferably-with-bidi-su/73644)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 25, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/re-recommendations-for-a-ruby-wiki-preferably-with-bidi-su/73644 "2006-10-25T22:30:42Z")

</div>

From: Bil K. \[mailto:removed\_email\_address@domain.invalid\] Matt L. wrote: Any suggestion on the best way to add some type of login and authentication? For an internal wiki?! What type of employees do you have? F…

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73642)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 25, 2006, 10:18pm UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73642 "2006-10-25T22:18:42Z")

</div>

From: Tim P. \[mailto:removed\_email\_address@domain.invalid\] Chunky Bacon is a cut of meat taken from the sides, back or belly of a pig and then packaged into a packed pixel frame buffer organization. Bacon pixels are …

---

## [Chunky Bacon](https://www.ruby-forum.com/t/chunky-bacon/73391)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 17\
**Last updated:** [October 25, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/chunky-bacon/73391 "2006-10-25T22:10:41Z")

</div>

WTF, I ask. I know it’s in why’s Poignant guide, but…WTF? Joe

---

## [Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack](https://www.ruby-forum.com/t/mongrel-temporary-fix-for-cgi-rb-99-cpu-dos-attack/73632)

<div class="topic-metadata">

**Author:** [@Zed\_ASShaw](https://www.ruby-forum.com/u/Zed_ASShaw)\
**Replies:** 4\
**Last updated:** [October 25, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/mongrel-temporary-fix-for-cgi-rb-99-cpu-dos-attack/73632 "2006-10-25T22:04:40Z")

</div>

This is important so please read this message very carefully. There is a DoS for Ruby’s cgi.rb that is easily exploitable. The attack involves sending a malformed multipart MIME body in an HTTP request. The full expl…

---

## [Re: Chunky Bacon](https://www.ruby-forum.com/t/re-chunky-bacon/73640)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 25, 2006, 9:50pm UTC](https://www.ruby-forum.com/t/re-chunky-bacon/73640 "2006-10-25T21:50:39Z")

</div>

From: Joe R. MUDCRAP-CE Futhermore…what exactly IS chunky bacon? Bacon cut up into chunks, or bacon with chunks in it (and wtf would the chunks be?)? My personal interpretation has always been thick slices of (norm…

---

## [A Rake executable script, is this the correct approach](https://www.ruby-forum.com/t/a-rake-executable-script-is-this-the-correct-approach/73627)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 2\
**Last updated:** [October 25, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/a-rake-executable-script-is-this-the-correct-approach/73627 "2006-10-25T21:42:39Z")

</div>

I humbly come to you, because searching, mostly google, has failed to produce a reference, or someone who has done this. We traditionally run Rakefile’s using either $ rake or $ rake -f my.rake etc what if I wante…

---

## [How to maintain App config data?](https://www.ruby-forum.com/t/how-to-maintain-app-config-data/73466)

<div class="topic-metadata">

**Author:** [@nwiger](https://www.ruby-forum.com/u/nwiger)\
**Replies:** 5\
**Last updated:** [October 25, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/how-to-maintain-app-config-data/73466 "2006-10-25T21:10:32Z")

</div>

I’m writing an app in Rails, but some modules need to work outside of Rails. In these classes, I’d like to have a common way to access configuration data. Two approaches I though of: Use a Singleton class ala the Lo…

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

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