# Ruby

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

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

---

## [Facets / Annotations 2.0.0](https://www.ruby-forum.com/t/facets-annotations-2-0-0/88447)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/facets-annotations-2-0-0/88447 "2007-03-13T23:41:58Z")

</div>

Facets / Annotations A Complete In Code Annotations System by Trans and George M. http://facets.rubyforge.org \[ S y n o p s i s \] Annotations provides a complete and easy to use system of annotating methods and arb…

---

## [Bi-directional pipe?](https://www.ruby-forum.com/t/bi-directional-pipe/88723)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 5\
**Last updated:** [March 13, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/bi-directional-pipe/88723 "2007-03-13T22:17:51Z")

</div>

Is there any standard Ruby way of creating a bidirectional pipe or socketpair? I want to pass a single IO-like object around, but to be able to both read and write from the other end. (What I’m actually trying to do …

---

## [Debian sarge error while install rails 1.2.2 via gem](https://www.ruby-forum.com/t/debian-sarge-error-while-install-rails-1-2-2-via-gem/88707)

<div class="topic-metadata">

**Author:** [@Artit\_S](https://www.ruby-forum.com/u/Artit_S)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/debian-sarge-error-while-install-rails-1-2-2-via-gem/88707 "2007-03-13T22:04:50Z")

</div>

I found errors while I tried to upgrade rails from 1.1.6 to 1.2.2 by using gem , these only happen in actionpack. Installing ri documentation for actionpack-1.13.2… lib/action\_controller/routing.rb:1061:30: ‘:’ not f…

---

## [YAML and ruby classes](https://www.ruby-forum.com/t/yaml-and-ruby-classes/88690)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 13\
**Last updated:** [March 13, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/yaml-and-ruby-classes/88690 "2007-03-13T21:50:48Z")

</div>

I need to create some objects of different (custom) classes, in different pages of my site, so I made some code that takes an array of hashes and create the objects. the hashes are like this one: h = { :class =\> Class…

---

## [NET::LDAP Problems](https://www.ruby-forum.com/t/net-ldap-problems/86549)

<div class="topic-metadata">

**Author:** [@bluengreen](https://www.ruby-forum.com/u/bluengreen)\
**Replies:** 9\
**Last updated:** [March 13, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/net-ldap-problems/86549 "2007-03-13T21:28:45Z")

</div>

Just wondering if anyone knows anything about this project? A couple of things that I recently discovered… 1 - the bind and bind\_as methods will return results if you provide a empty password… 2 - The search does not…

---

## [Re: SimFrost (#117)](https://www.ruby-forum.com/t/re-simfrost-117/88727)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/re-simfrost-117/88727 "2007-03-13T21:16:43Z")

</div>

http://davidtran.doublegifts.com/blog/?p=10 class SimFrost STATUS = \[:VACUUM, :VAPOR, :ICE\] attr\_reader :ticks, :width, :height, :grid def initialize(width, height, vapor\_chance=0.5) raise “width must be even and \>=…

---

## [Perl to ruby](https://www.ruby-forum.com/t/perl-to-ruby/88607)

<div class="topic-metadata">

**Author:** [@kula](https://www.ruby-forum.com/u/kula)\
**Replies:** 12\
**Last updated:** [March 13, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/perl-to-ruby/88607 "2007-03-13T20:59:38Z")

</div>

hi all, today is my first day with ruby and I’m trying to rewrite a few of my scripts from perl to ruby & it’s not too easy. can anyone help me with script below. I’ve done a few thinks but when one is working another …

---

## [Sorting a hash based on a attribute of teh objects which it](https://www.ruby-forum.com/t/sorting-a-hash-based-on-a-attribute-of-teh-objects-which-it/88647)

<div class="topic-metadata">

**Author:** [@senthil](https://www.ruby-forum.com/u/senthil)\
**Replies:** 4\
**Last updated:** [March 13, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/sorting-a-hash-based-on-a-attribute-of-teh-objects-which-it/88647 "2007-03-13T20:01:21Z")

</div>

HI all, I want to sort a hash based on a attribute of the objects which it is storing.For example i am having a bean diagnosis with weightage as a attribute.i want to sort the hash of diagnosis based on the weightage…

---

## [Portable password input](https://www.ruby-forum.com/t/portable-password-input/88689)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 3\
**Last updated:** [March 13, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/portable-password-input/88689 "2007-03-13T19:17:16Z")

</div>

This has been asked about before, and I’ve been wondering about it myself. So I worked on it and came up with this. I know it’s rather a poor man’s way of handling it but at least it’s light and portable (well, at lea…

---

## [Fwd: Ruby Quiz Suggestion](https://www.ruby-forum.com/t/fwd-ruby-quiz-suggestion/88713)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/fwd-ruby-quiz-suggestion/88713 "2007-03-13T19:11:16Z")

</div>

Begin forwarded message:

---

## [Exiting a ruby script](https://www.ruby-forum.com/t/exiting-a-ruby-script/88472)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/exiting-a-ruby-script/88472 "2007-03-13T17:01:58Z")

</div>

I’m in the process of playing around with a, application launcher script. It’s fairly far along, but I can’t seem to get the script to exit when the application is actually launched. Here’s the final bit of code: @fi…

---

## [Ruby 1.8.6$B$N(Bdate$B$H(Brails](https://www.ruby-forum.com/t/ruby-1-8-6-b-n-bdate-b-h-brails/88681)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/ruby-1-8-6-b-n-bdate-b-h-brails/88681 "2007-03-13T16:09:37Z")

</div>

Ruby 1.8.6e$B$N%j%j!\<%9!"$\*Hh$lMM$G$9!#e(B e$B$5$C$=$/$G$9$,!"e(BRuby 1.8.6e$B$K4^$^$l$ke(Bdate.rbe$B$G$Oe(B Time#to\_datee$B$,e(Bprivatee$B%a%=%C%I$H$7$FDj5A$5$l$F$$$^$9!#e(B e$BBP$9$ke(BRailse$B$G$be(BTime#to\_datee$B…

---

## [Elseif v. elsif?](https://www.ruby-forum.com/t/elseif-v-elsif/87978)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 88\
**Last updated:** [March 13, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/elseif-v-elsif/87978 "2007-03-13T15:59:31Z")

</div>

What the?? I just spent two days trying to figure out why I couldn’t reproduce the example in “Ruby in 20 minutes” and get it to work. After examining my code line for line against the example code and not being abl…

---

## [Open4 in standard library?](https://www.ruby-forum.com/t/open4-in-standard-library/88683)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 3:27pm UTC](https://www.ruby-forum.com/t/open4-in-standard-library/88683 "2007-03-13T15:27:27Z")

</div>

Hello (Sorry for any duplicate messages, I sent this yesterday and it didn’t seem to reach the list…) I was wondering if Ara’s open4 extension could be considered for inclusion in ruby’s standard library, or if the s…

---

## [Portability of iconv's //TRANSLIT?](https://www.ruby-forum.com/t/portability-of-iconvs-translit/88684)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/portability-of-iconvs-translit/88684 "2007-03-13T15:26:27Z")

</div>

I was using a field normalizer (for URLs, sorting, etc) that has Iconv.iconv(‘ascii//ignore//translit’, ‘utf-8’, s) as a starting point. Accented characters such as “á” are “decomposed” in my Mac, but the production m…

---

## [Asking about object databases and active record](https://www.ruby-forum.com/t/asking-about-object-databases-and-active-record/88676)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/asking-about-object-databases-and-active-record/88676 "2007-03-13T15:10:23Z")

</div>

why is it that mysql a relational database is the preferred database among rubyists and not an object orientated database (even a free object orientated database)? what is the important missing piece… i mean if you a…

---

## [Keyword arguments in a block, possible with zero arguments?](https://www.ruby-forum.com/t/keyword-arguments-in-a-block-possible-with-zero-arguments/88674)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 2:34pm UTC](https://www.ruby-forum.com/t/keyword-arguments-in-a-block-possible-with-zero-arguments/88674 "2007-03-13T14:34:16Z")

</div>

Hi I am trying to create a method dynamically that has keyword arguments. The variable properties is a hash like {:text =\> “Text”, :something =\> “something”}. My problem is that I want the method created to be able t…

---

## [QTRuby + QT4 + Win32](https://www.ruby-forum.com/t/qtruby-qt4-win32/88496)

<div class="topic-metadata">

**Author:** [@Uma\_G](https://www.ruby-forum.com/u/Uma_G)\
**Replies:** 10\
**Last updated:** [March 13, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/qtruby-qt4-win32/88496 "2007-03-13T14:30:15Z")

</div>

I would like to use the fantastic QT4 for Win32 using the Qtruby bindings. Even though I made some progress, reading from Richard Dale’s blog, the effort didn’t pay out. The guidelines were a bit too fuzzy, plus the …

---

## [Suggestions for a book](https://www.ruby-forum.com/t/suggestions-for-a-book/88578)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [March 13, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/suggestions-for-a-book/88578 "2007-03-13T14:27:15Z")

</div>

Hello guys, I would to join into ruby on rails/ruby community so I need of a book. A complete big bible and not and intro or advanced-only book. I have found these titles: Build Your Own Ruby on Rails Web Applicatio…

---

## [Problem of execution](https://www.ruby-forum.com/t/problem-of-execution/88610)

<div class="topic-metadata">

**Author:** [@aida](https://www.ruby-forum.com/u/aida)\
**Replies:** 3\
**Last updated:** [March 13, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/problem-of-execution/88610 "2007-03-13T14:22:20Z")

</div>

Hi. I work with Ruby in Windows, i execute my programes in FreeRIDE. I have a problem when my program contains a bug the window freeRIDE closed alone and i don t see the error message. Thank you for your help.

---

## [Ruby Weekly News 5th - 11th March 2007](https://www.ruby-forum.com/t/ruby-weekly-news-5th-11th-march-2007/88643)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/ruby-weekly-news-5th-11th-march-2007/88643 "2007-03-13T13:43:07Z")

</div>

Links are at http://www.rubyweeklynews.org/20070311.html Ruby Weekly News 5th - 11th March 2007 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list and its cohorts, the comp.lang.ruby ne…

---

## [Trying to make Array#collect massively parallel with OpenMP](https://www.ruby-forum.com/t/trying-to-make-array-collect-massively-parallel-with-openmp/88479)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 8\
**Last updated:** [March 13, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/trying-to-make-array-collect-massively-parallel-with-openmp/88479 "2007-03-13T13:33:05Z")

</div>

Hi all, Windows XP Home VC++ 8 (free edition) Just for kicks I tried creating a parallel Array#collect method, which I called Array#acollect (asynch. collect). I added the following C code to array.c, rebuilt and re…

---

## [Ta-lib port for ruby using swig](https://www.ruby-forum.com/t/ta-lib-port-for-ruby-using-swig/88671)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/ta-lib-port-for-ruby-using-swig/88671 "2007-03-13T13:31:05Z")

</div>

I was trying to SWIG onto the ta-lib . the ta-lib is a collection of c functions for financial data analysis. Account Suspended. I was trying with one function. the header TA\_RetCode TA\_MA( int startIdx, i…

---

## [How to unsubscribe (ie remove) from ruby mailing list](https://www.ruby-forum.com/t/how-to-unsubscribe-ie-remove-from-ruby-mailing-list/88659)

<div class="topic-metadata">

**Author:** [@Studentfj](https://www.ruby-forum.com/u/Studentfj)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 12:22pm UTC](https://www.ruby-forum.com/t/how-to-unsubscribe-ie-remove-from-ruby-mailing-list/88659 "2007-03-13T12:22:56Z")

</div>

Hi, Can anyone out there tell me how to unsubscribe (ie remove) my name from ruby mailing list . How do I do it. Rgards Fred Johnsons

---

## [Perfomance tuning](https://www.ruby-forum.com/t/perfomance-tuning/88657)

<div class="topic-metadata">

**Author:** [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Replies:** 3\
**Last updated:** [March 13, 2007, 11:58am UTC](https://www.ruby-forum.com/t/perfomance-tuning/88657 "2007-03-13T11:58:36Z")

</div>

Hi, I have an application that takes a little to long to execute. I would like to know where I could gain most. Whenever a metod is called, I would like to store the execution time and number of executions. Then, at…

---

## [Ta-lib porting with swig](https://www.ruby-forum.com/t/ta-lib-porting-with-swig/88661)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 11:55am UTC](https://www.ruby-forum.com/t/ta-lib-porting-with-swig/88661 "2007-03-13T11:55:49Z")

</div>

I have a function in c from ta-lib (TA-Lib provides common functions for the technical analysis of financial market data) http://ta-lib.org/ function header ======= TA\_RetCode TA\_MA( int startIdx, int …

---

## [Ruby 1.8.5-p35 released](https://www.ruby-forum.com/t/ruby-1-8-5-p35-released/88645)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 11:32am UTC](https://www.ruby-forum.com/t/ruby-1-8-5-p35-released/88645 "2007-03-13T11:32:45Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all. We released Ruby 1.8.5-p35, the latest stable version of Ruby 1.8.5 series. This release includes some fixes backported from ruby\_1\_8 branch, aims to be as stabl…

---

## [Ta-lib port using SWIG](https://www.ruby-forum.com/t/ta-lib-port-using-swig/88654)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 11:20am UTC](https://www.ruby-forum.com/t/ta-lib-port-using-swig/88654 "2007-03-13T11:20:43Z")

</div>

ta-lib is a collection of math/statistical functions for estimating price variablity of stock prices. There is no port that exists for ruby. Since I needed one so thought of building. I followed the pick axe book. F…

---

## [Ta-lib port with swig](https://www.ruby-forum.com/t/ta-lib-port-with-swig/88653)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 0\
**Last updated:** [March 13, 2007, 11:11am UTC](https://www.ruby-forum.com/t/ta-lib-port-with-swig/88653 "2007-03-13T11:11:42Z")

</div>

ta-lib is a collection of math/statistical function library for price variability analysis written in C. There is no port availiable for it in ruby. Since i badly needed one … so i started researching on. I went alon…

---

## [Monitor.rb for ruby-1.9](https://www.ruby-forum.com/t/monitor-rb-for-ruby-1-9/88156)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 10:59am UTC](https://www.ruby-forum.com/t/monitor-rb-for-ruby-1-9/88156 "2007-03-13T10:59:41Z")

</div>

e$B$1$$$8$e!w$$$7$D$+$G$9e(B. ruby 1.9 e$B$Ne(B monitor.rb e$B$G$9$,e(B, def mon\_try\_enter if @mon\_owner != Thread.current unless @mon\_owner.trylock #\<— e$B$3$3e(B return false end @mon\_owner = Thread.current end …

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

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