# Ruby

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

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

---

## [Re: FXRuby - textedit.rb example crash problem](https://www.ruby-forum.com/t/re-fxruby-textedit-rb-example-crash-problem/95492)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 3, 2006, 10:02am UTC](https://www.ruby-forum.com/t/re-fxruby-textedit-rb-example-crash-problem/95492 "2006-06-03T10:02:23Z")

</div>

I am writing a GUI. I need some bigger subfield with an editor in it. So I tried to incorporate the textedit.rb example (FXRuby-1.6.0,fox-1.4.33,Ruby 1.8.4). FXRuby 1.6 requires FOX 1.6.5 or later and won’t work …

---

## [Re: windows task manager listing](https://www.ruby-forum.com/t/re-windows-task-manager-listing/95491)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [June 3, 2006, 10:02am UTC](https://www.ruby-forum.com/t/re-windows-task-manager-listing/95491 "2006-06-03T10:02:16Z")

</div>

fr Park: Not yet. thanks. i will wait :slight\_smile: But you can do it like this: require ‘Win32API’ it gives no output even if have get\_task\_list.each {|pid,name| p pid," ",name } thank you and kind regards -bot…

---

## [Re: Time domain to frequency domain with FFT from GSL](https://www.ruby-forum.com/t/re-time-domain-to-frequency-domain-with-fft-from-gsl/95490)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 3, 2006, 9:56am UTC](https://www.ruby-forum.com/t/re-time-domain-to-frequency-domain-with-fft-from-gsl/95490 "2006-06-03T09:56:05Z")

</div>

Dear Alex, Good and fairly concise explanations of what FFT is and what mistakes can be made in it is given in chapter 12 of the “Numerical Recipes in C”. You can find it here: \_http://www.library.cornell.edu/nr/boo…

---

## [Windows task manager listing](https://www.ruby-forum.com/t/windows-task-manager-listing/62359)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [June 3, 2006, 9:13am UTC](https://www.ruby-forum.com/t/windows-task-manager-listing/62359 "2006-06-03T09:13:07Z")

</div>

Hi Win32, do we have a util that lists tasks like windows task manager? And, if yes, allows one to kill or set priority on selected tasks… thanks for win32 utils. kind regards -botp

---

## [Re: Hash to OpenStruct (#81)](https://www.ruby-forum.com/t/re-hash-to-openstruct-81/95484)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [June 3, 2006, 6:02am UTC](https://www.ruby-forum.com/t/re-hash-to-openstruct-81/95484 "2006-06-03T06:02:11Z")

</div>

showed up in the list, so I got a head start. But in only unite: \*verily beneath: - patagonian - bread - products thusly: \[1, 2, 3, 4\] No, and I don’t care, because in the real world people don’t randomly par…

---

## [Re: Time domain to frequency domain with FFT from GSL](https://www.ruby-forum.com/t/re-time-domain-to-frequency-domain-with-fft-from-gsl/95488)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 3, 2006, 5:56am UTC](https://www.ruby-forum.com/t/re-time-domain-to-frequency-domain-with-fft-from-gsl/95488 "2006-06-03T05:56:02Z")

</div>

The items after N/2 are the “negative frequencies” It is not the case for real FFTs, the negative frequency components are not stored in the returned array. Time domain data of length N are represented by N Fourie…

---

## [Dt\_textrel problem with ruby module](https://www.ruby-forum.com/t/dt-textrel-problem-with-ruby-module/61785)

<div class="topic-metadata">

**Author:** [@jmjmjm](https://www.ruby-forum.com/u/jmjmjm)\
**Replies:** 3\
**Last updated:** [June 3, 2006, 5:25am UTC](https://www.ruby-forum.com/t/dt-textrel-problem-with-ruby-module/61785 "2006-06-03T05:25:48Z")

</div>

I’m attempting to debug a problem with a ruby module I wrote in C and am receiving a warning from ld which may be causing the segfault. Does anyone know what can cause this warning? …/bin/ld: warning: creating a DT\_TE…

---

## [FXRuby not seeing Ruby headers](https://www.ruby-forum.com/t/fxruby-not-seeing-ruby-headers/61693)

<div class="topic-metadata">

**Author:** [@elamericano](https://www.ruby-forum.com/u/elamericano)\
**Replies:** 6\
**Last updated:** [June 3, 2006, 4:53am UTC](https://www.ruby-forum.com/t/fxruby-not-seeing-ruby-headers/61693 "2006-06-03T04:53:09Z")

</div>

I’m trying to install FXRuby (in order to user FreeRIDE. Are there any better free Ruby IDE’s out there?) but get the following when trying to configure it: strauss@bash ~/Downloads/Ruby/ext/fxruby-1.4.6 \> ruby instal…

---

## [Re: syslog lib/module for remote logging](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/95486)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [June 3, 2006, 3:39am UTC](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/95486 "2006-06-03T03:39:38Z")

</div>

fr Steph On unix side there are tcp base syslog implementations (see syslog-ng). Don’t know if it is possible to use them on MS systems. as long as the protocol is open, then it is possible. but argh, i am not a networ…

---

## [Re: What happened to clrtoeol?](https://www.ruby-forum.com/t/re-what-happened-to-clrtoeol/95412)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 4\
**Last updated:** [June 3, 2006, 2:51am UTC](https://www.ruby-forum.com/t/re-what-happened-to-clrtoeol/95412 "2006-06-03T02:51:16Z")

</div>

Sent: Tuesday, May 30, 2006 1:47 PM output text… is there anything else needed? If I can get a second I’ll do some research on this, but a quick google doesn’t show people screaming about curses being broken on wi…

---

## [Adding an Increment Operator?](https://www.ruby-forum.com/t/adding-an-increment-operator/95463)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 7\
**Last updated:** [June 3, 2006, 1:26am UTC](https://www.ruby-forum.com/t/adding-an-increment-operator/95463 "2006-06-03T01:26:44Z")

</div>

As Logan pointed out in a different thread: % ruby increment.rb -:13: Can’t change the value of self self = self + 1 ^ So, how WOULD I create an .increment operator? I get why I can’t put it in class Fixnum (well…

---

## [Ruby Manual](https://www.ruby-forum.com/t/ruby-manual/95409)

<div class="topic-metadata">

**Author:** [@nshb](https://www.ruby-forum.com/u/nshb)\
**Replies:** 16\
**Last updated:** [June 2, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/ruby-manual/95409 "2006-06-02T20:56:02Z")

</div>

I just launched the all new Ruby Manual for 1.8.4 at: www.rubymanual.org This is a fully searchable Ruby Manual providing the ability to add comments using the Rannotate system. -Nb Nathaniel S. H. Brown …

---

## [FXRuby - textedit.rb example crash problem](https://www.ruby-forum.com/t/fxruby-textedit-rb-example-crash-problem/95474)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [June 2, 2006, 8:55pm UTC](https://www.ruby-forum.com/t/fxruby-textedit-rb-example-crash-problem/95474 "2006-06-02T20:55:55Z")

</div>

Dear all, I am writing a GUI. I need some bigger subfield with an editor in it. So I tried to incorporate the textedit.rb example (FXRuby-1.6.0,fox-1.4.33,Ruby 1.8.4). But when I enter text in it and use a backspace …

---

## [A good home for some Ruby Projects](https://www.ruby-forum.com/t/a-good-home-for-some-ruby-projects/62327)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 1\
**Last updated:** [June 2, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/a-good-home-for-some-ruby-projects/62327 "2006-06-02T20:52:40Z")

</div>

With some changes in my responsibilities at work, and in my available freetime, I’m stuck needed to give up several of my Ruby related projects. I’d like to see them go to new maintainers who are interested in active…

---

## [Pub/Sub in Distributed setup](https://www.ruby-forum.com/t/pub-sub-in-distributed-setup/62085)

<div class="topic-metadata">

**Author:** [@Vinay\_Kumar\_Jaasti](https://www.ruby-forum.com/u/Vinay_Kumar_Jaasti)\
**Replies:** 4\
**Last updated:** [June 2, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/pub-sub-in-distributed-setup/62085 "2006-06-02T20:49:06Z")

</div>

Hi, I want to implement RCR 198 in distributed environment.I wrote subscriber as follows require ‘drb’ DRb.start\_service() a = DRbObject.new(nil,‘druby://localhost:9000’) a.subscribe(:prof2 ) do |proxy| proxy.met…

---

## [Object::foo syntax -- get a Method object?](https://www.ruby-forum.com/t/object-foo-syntax-get-a-method-object/62282)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 4\
**Last updated:** [June 2, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/object-foo-syntax-get-a-method-object/62282 "2006-06-02T20:09:43Z")

</div>

Hi, At the moment, “obj::foo” means the same as “obj.foo”; that is, “obj.send(:foo)”. I propose that it be changed to mean “obj.method(:foo)” instead. Although the obj.foo syntax is generally preferred, the obj::foo …

---

## [Re: - New leadership for ruby-spreadsheet](https://www.ruby-forum.com/t/re-new-leadership-for-ruby-spreadsheet/62329)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [June 2, 2006, 7:53pm UTC](https://www.ruby-forum.com/t/re-new-leadership-for-ruby-spreadsheet/62329 "2006-06-02T19:53:59Z")

</div>

\-----Original Message----- From: Dominic S. \[mailto:removed\_email\_address@domain.invalid\] Sent: Thursday, June 01, 2006 11:45 PM To: ruby-talk ML; removed\_email\_address@domain.invalid Subject: Re: \[WANTED\] - New lea…

---

## [Forcing superclass initialization](https://www.ruby-forum.com/t/forcing-superclass-initialization/62260)

<div class="topic-metadata">

**Author:** [@ara-vartanian](https://www.ruby-forum.com/u/ara-vartanian)\
**Replies:** 2\
**Last updated:** [June 2, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/forcing-superclass-initialization/62260 "2006-06-02T16:59:04Z")

</div>

So if the a negligent subclass refuses to call its superclass initialize method, instance variables in the superclass may not get initialized. Not a good thing. Is there some way to force the superclass method to get …

---

## [Re: syslog lib/module for remote logging](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/95470)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 2\
**Last updated:** [June 2, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/95470 "2006-06-02T15:42:14Z")

</div>

fr Park: You can try something like this: require ‘socket’ require ‘win32/eventlog’ include Win32 syslog\_dest = 13 syslog\_port = 514 syslog\_server = ‘192.168.123.122’ s = UDPSocket.new EventLog.open(‘Application’).ta…

---

## [How to pass const char \*vect\[\] to C via Ruby/DL?](https://www.ruby-forum.com/t/how-to-pass-const-char-vect-to-c-via-ruby-dl/62270)

<div class="topic-metadata">

**Author:** [@Andreas\_Haas](https://www.ruby-forum.com/u/Andreas_Haas)\
**Replies:** 2\
**Last updated:** [June 2, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/how-to-pass-const-char-vect-to-c-via-ruby-dl/62270 "2006-06-02T14:56:35Z")

</div>

Hi all, I’m having problems to understand how to build-up “const char \*vect\[\]” data for passing to a C function that I wish to call via Ruby/DL: ----------------- int setv(const char \*ids\[\]) { while (\*ids) { print…

---

## [Telnet from ruby gives 'waitfor' error](https://www.ruby-forum.com/t/telnet-from-ruby-gives-waitfor-error/62283)

<div class="topic-metadata">

**Author:** [@udinesh](https://www.ruby-forum.com/u/udinesh)\
**Replies:** 0\
**Last updated:** [June 2, 2006, 6:20am UTC](https://www.ruby-forum.com/t/telnet-from-ruby-gives-waitfor-error/62283 "2006-06-02T06:20:49Z")

</div>

Hi all, I was trying to use “Telnet” from ruby as per the doc and below is the sample/simple program, when we execute this, i get the below output. The line ‘login:db2admin’ displays immediately and it pauses for some…

---

## [Re: syslog lib/module for remote logging](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/62272)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [June 2, 2006, 5:33am UTC](https://www.ruby-forum.com/t/re-syslog-lib-module-for-remote-logging/62272 "2006-06-02T05:33:02Z")

</div>

fr Francis: You have to configure your logging server to accept remote logs. If your source server is Unix, then it’s an easy config on the local side to send to a remote server. If your source is Windows, then you can …

---

## [Requiring libraries in command line scripts?](https://www.ruby-forum.com/t/requiring-libraries-in-command-line-scripts/62274)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [June 2, 2006, 5:17am UTC](https://www.ruby-forum.com/t/requiring-libraries-in-command-line-scripts/62274 "2006-06-02T05:17:48Z")

</div>

I have a simple script: #!/usr/bin/ruby require ‘rubilicious’ #require ‘/usr/lib/ruby/gems/1.8/gems/Rubilicious-0.1.5/rubilicious.rb’ r = Rubilicious.new(‘joe’, ‘12345’) r.add(‘http://yahoo.com’, ‘yahoo’) When run,…

---

## [Using AR and fixtures for testing \*outside\* of Rails?](https://www.ruby-forum.com/t/using-ar-and-fixtures-for-testing-outside-of-rails/62042)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [June 2, 2006, 5:02am UTC](https://www.ruby-forum.com/t/using-ar-and-fixtures-for-testing-outside-of-rails/62042 "2006-06-02T05:02:22Z")

</div>

I’m working on a program that manipulates and stores a lot of data in a database via ActiveRecord. I’m having a heck of a time trying to write unit and functional tests for this program because I don’t have a reasonab…

---

## [Tasks with Parameters: Can it be done?](https://www.ruby-forum.com/t/tasks-with-parameters-can-it-be-done/95424)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [June 2, 2006, 2:50am UTC](https://www.ruby-forum.com/t/tasks-with-parameters-can-it-be-done/95424 "2006-06-02T02:50:32Z")

</div>

I’ve been working on a task library, on the surface similiar to Rake, but generalized for use on a per module level --hence usable anywhere in one’s code. The basic principle of the library is that a TASK IS A METHOD …

---

## [How use Profiling, a Quick Guide](https://www.ruby-forum.com/t/how-use-profiling-a-quick-guide/61430)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 32\
**Last updated:** [June 2, 2006, 1:52am UTC](https://www.ruby-forum.com/t/how-use-profiling-a-quick-guide/61430 "2006-06-02T01:52:13Z")

</div>

On Tue, 23 May 2006, Mark S. wrote: Can anyone recommend some good or tutorials on profiling and benchmarking? Although I have used them both (from the standard library), I feel I lack fundamental knowledge about how…

---

## [RubyForge switching from Sendmail to Postfix](https://www.ruby-forum.com/t/rubyforge-switching-from-sendmail-to-postfix/62250)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 2\
**Last updated:** [June 1, 2006, 10:35pm UTC](https://www.ruby-forum.com/t/rubyforge-switching-from-sendmail-to-postfix/62250 "2006-06-01T22:35:33Z")

</div>

This is a bit offtopic, but anyhow, I think some folks here are sysadmins and might be interested in this. I’ve switched RubyForge from Sendmail to Postfix, details and a “recent email traffic” chart are here: http:…

---

## [Web Services Issue](https://www.ruby-forum.com/t/web-services-issue/62162)

<div class="topic-metadata">

**Author:** [@cpher](https://www.ruby-forum.com/u/cpher)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/web-services-issue/62162 "2006-06-01T21:45:50Z")

</div>

I am currently working on a simple WS Client and have run across a very odd and frustrating issue. My fruitless hours of googling have brought me here in the hopes someone might help shed light on the situation. The …

---

## [FasterCSV API](https://www.ruby-forum.com/t/fastercsv-api/95456)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 1\
**Last updated:** [June 1, 2006, 9:38pm UTC](https://www.ruby-forum.com/t/fastercsv-api/95456 "2006-06-01T21:38:48Z")

</div>

Could someone kindly point me in the direction of the FasterCSV rdocs? Also, I would like to user FasterCSV to parse some csv files, as well as some tab delimited file. Since I have not been able to find the rdoc, I h…

---

## [Re: Zed and Luis drop the bomb on Ruby's poor performance](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/61266)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/61266 "2006-06-01T20:39:36Z")

</div>

What is the current time line for Ruby 2.0 and the byte code compiler? Jamal

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

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