# Ruby

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

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

---

## [Thread dump?](https://www.ruby-forum.com/t/thread-dump/73203)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [November 16, 2006, 2:14am UTC](https://www.ruby-forum.com/t/thread-dump/73203 "2006-11-16T02:14:23Z")

</div>

Hi there, I have a process that seems to be stuck somewhere. Is there the possibility of doing a thread dump to show where it is hanging on? Cheers - Christian

---

## [\[Gui\] Which GUI is available with Ruby?](https://www.ruby-forum.com/t/gui-which-gui-is-available-with-ruby/76108)

<div class="topic-metadata">

**Author:** [@flaab](https://www.ruby-forum.com/u/flaab)\
**Replies:** 3\
**Last updated:** [November 16, 2006, 12:30am UTC](https://www.ruby-forum.com/t/gui-which-gui-is-available-with-ruby/76108 "2006-11-16T00:30:10Z")

</div>

Hi again! Othew newbie question :slight\_smile: I’d like to develop programs with graphical user interface. Which guis are available with ruby? And where can i find a tutorial for them? Thanks. PD: Over linux XD

---

## [Windows package task, windows cannot fork](https://www.ruby-forum.com/t/windows-package-task-windows-cannot-fork/76003)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 4\
**Last updated:** [November 16, 2006, 12:28am UTC](https://www.ruby-forum.com/t/windows-package-task-windows-cannot-fork/76003 "2006-11-16T00:28:09Z")

</div>

\---------- Forwarded message ---------- From: Dominic S. removed\_email\_address@domain.invalid Date: Nov 9, 2006 3:12 PM Subject: windows xp package task To: Rake Development and Discussion removed\_email\_address@domai…

---

## [Class method call via the singleton or not](https://www.ruby-forum.com/t/class-method-call-via-the-singleton-or-not/76110)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [November 16, 2006, 12:06am UTC](https://www.ruby-forum.com/t/class-method-call-via-the-singleton-or-not/76110 "2006-11-16T00:06:05Z")

</div>

Hi– Little bit of conundrum. I have a variables that tracks information about methods. So it needs to work within the context of the class hierarchy. At the same time I need to access that information from the instan…

---

## [Re: Multidimensional Arrays](https://www.ruby-forum.com/t/re-multidimensional-arrays/76107)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [November 15, 2006, 11:01pm UTC](https://www.ruby-forum.com/t/re-multidimensional-arrays/76107 "2006-11-15T23:01:44Z")

</div>

chessboard = Array.new(8) {|idx| Array.new(8, “”)} chessboard\[3\]\[3\] = “pawn” This will do what you expect. Read the documentation for Array.new It will explain all these subtle nuances. Blessings, TwP Thanks. …

---

## [VCR Program Manager (#101)](https://www.ruby-forum.com/t/vcr-program-manager-101/75514)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 11\
**Last updated:** [November 15, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/vcr-program-manager-101/75514 "2006-11-15T22:39:55Z")

</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: …

---

## [DNS library released](https://www.ruby-forum.com/t/dns-library-released/74465)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 16\
**Last updated:** [November 15, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/dns-library-released/74465 "2006-11-15T22:29:53Z")

</div>

Hello - For those who may be interested, I have made the first release of my port of perl’s Net::DNS library to Ruby. The project is called pnet-dns, and can be found here : http://rubyforge.org/projects/pnet-dns/ T…

---

## [Ruby and COM](https://www.ruby-forum.com/t/ruby-and-com/75789)

<div class="topic-metadata">

**Author:** [@buendia](https://www.ruby-forum.com/u/buendia)\
**Replies:** 10\
**Last updated:** [November 15, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/ruby-and-com/75789 "2006-11-15T21:31:43Z")

</div>

Hi, Is it possible to use a COM component library in Ruby? The COM consists of a dll and a tlb file, it is NOT a .NET assembly, just a standard windows COM.

---

## [Using diff.rb](https://www.ruby-forum.com/t/using-diff-rb/76089)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 1\
**Last updated:** [November 15, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/using-diff-rb/76089 "2006-11-15T21:29:42Z")

</div>

Has anyone ever had any luck getting this to work on a web app. I am trying to get some results displayed on a view but with no luck. What goes in the controller, model, and view. Note: I am using partial forms. A…

---

## [Memcache performance](https://www.ruby-forum.com/t/memcache-performance/72720)

<div class="topic-metadata">

**Author:** [@unni.tallman](https://www.ruby-forum.com/u/unni.tallman)\
**Replies:** 2\
**Last updated:** [November 15, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/memcache-performance/72720 "2006-11-15T21:17:40Z")

</div>

Could any one give me some suggestions to enhance memcached performance? ( something like reducing the delay caused by sockets…)

---

## [RDoc: preserve special chars in \<tt\> Was: Re: bug in rdoc?](https://www.ruby-forum.com/t/rdoc-preserve-special-chars-in-tt-was-re-bug-in-rdoc/72399)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 2\
**Last updated:** [November 15, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/rdoc-preserve-special-chars-in-tt-was-re-bug-in-rdoc/72399 "2006-11-15T21:15:39Z")

</div>

On 10/16/06, Wybo D. removed\_email\_address@domain.invalid wrote: =end Why does this bother you? Because it’s not clearly visible that one must type two dashes there. The solution would be to not convert special…

---

## [Any hooks in rdoc?](https://www.ruby-forum.com/t/any-hooks-in-rdoc/75547)

<div class="topic-metadata">

**Author:** [@gnuvince](https://www.ruby-forum.com/u/gnuvince)\
**Replies:** 4\
**Last updated:** [November 15, 2006, 9:11pm UTC](https://www.ruby-forum.com/t/any-hooks-in-rdoc/75547 "2006-11-15T21:11:38Z")

</div>

Hello ! I’m currently writing a “not so small anymore” project involving a fair deal of metaprogramming, and I would have liked rdoc to reflect a bit better the state of my classes. Is there any way to have rdoc unde…

---

## [Windows command & unicode](https://www.ruby-forum.com/t/windows-command-unicode/76060)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/windows-command-unicode/76060 "2006-11-15T21:01:33Z")

</div>

Hi all, I have a problem using unicode characters in the windows command. As a very simple example, when I type this: H:\>ruby -e ‘puts “rien à faire”’ I will get the following: rien Ó faire Does anyone know what ca…

---

## [Group names in regular expressions](https://www.ruby-forum.com/t/group-names-in-regular-expressions/76072)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [November 15, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/group-names-in-regular-expressions/76072 "2006-11-15T20:11:23Z")

</div>

Given the following regex to parse telephone numbers: /^((?(?\[0-9\]{3}))?)?(-| )?(?\[0-9\]{3})(-| )?(?\[0-9\]{4})/ Is there a regex.method to access the parse data by group name? I was hoping something like the following…

---

## [SVG::Graph::Pie question - labels and padding](https://www.ruby-forum.com/t/svg-pie-question-labels-and-padding/76095)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [November 15, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/svg-pie-question-labels-and-padding/76095 "2006-11-15T20:07:21Z")

</div>

Hi all, Ruby 1.8.5 svg-graph 0.6.1 I’ve got the following code snippet that works fine, but I have two issues. First, I’d like to pad the pie chart to the top and right so that the pie chart doesn’t overlap with th…

---

## [Converting SVG files to images](https://www.ruby-forum.com/t/converting-svg-files-to-images/76047)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 8\
**Last updated:** [November 15, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/converting-svg-files-to-images/76047 "2006-11-15T19:51:17Z")

</div>

Hi all, I was just playing with the Ruby svg-graph library, and it seems to work well. I was wondering what tools people use to convert svg files into images? Or is there a way to convert the generated file into an i…

---

## [Regexp with Ruby](https://www.ruby-forum.com/t/regexp-with-ruby/76090)

<div class="topic-metadata">

**Author:** [@ajay7](https://www.ruby-forum.com/u/ajay7)\
**Replies:** 5\
**Last updated:** [November 15, 2006, 7:41pm UTC](https://www.ruby-forum.com/t/regexp-with-ruby/76090 "2006-11-15T19:41:16Z")

</div>

Hallo @ all, I have to replace in a File the image tags with an other! File Data: Will scan this image tag: I already tested this with the follow code: …scan(/\<img.\>/m) and with …scan(/\<img.?\>/m) But the res…

---

## [Net::HTTPS client certificate authentication](https://www.ruby-forum.com/t/net-https-client-certificate-authentication/75951)

<div class="topic-metadata">

**Author:** [@azathoth](https://www.ruby-forum.com/u/azathoth)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/net-https-client-certificate-authentication/75951 "2006-11-15T19:39:16Z")

</div>

Hi, I’m trying to authenticate with an apache web server using client certificate authentication, here is the code snippet: http = Net::HTTP.new(appliance.hostname, Net::HTTP.https\_default\_port) http.use\_ssl…

---

## [IE events and conflict with VB6 DLL](https://www.ruby-forum.com/t/ie-events-and-conflict-with-vb6-dll/75834)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 1\
**Last updated:** [November 15, 2006, 7:29pm UTC](https://www.ruby-forum.com/t/ie-events-and-conflict-with-vb6-dll/75834 "2006-11-15T19:29:13Z")

</div>

I’ve written a ClickRecorder class that monitors the “onContextMenu” click events in Internet Explorer. It’s working just fine. Then I put together a VB6 activex DLL that displays a simple dialog that queries the user…

---

## [Parsing unknown options](https://www.ruby-forum.com/t/parsing-unknown-options/75874)

<div class="topic-metadata">

**Author:** [@crocco](https://www.ruby-forum.com/u/crocco)\
**Replies:** 9\
**Last updated:** [November 15, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/parsing-unknown-options/75874 "2006-11-15T18:30:58Z")

</div>

I’m not a ruby expert, so forgive me if the answer to my question is obvious. I want to write a program which will load a plug-in depending on an option passed in the command line. Each of the possible plug-ins have t…

---

## [Re: Windows command & unicod](https://www.ruby-forum.com/t/re-windows-command-unicod/76070)

<div class="topic-metadata">

**Author:** [@Chilkat\_S](https://www.ruby-forum.com/u/Chilkat_S)\
**Replies:** 0\
**Last updated:** [November 15, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/re-windows-command-unicod/76070 "2006-11-15T18:22:56Z")

</div>

That’s because the DOS console is expecting characters using the OEM code page, which for US and western Europe is ibm850. Here’s more info: http://www.example-code.com/ruby/ruby-dos-console-print.asp -Matt

---

## [Ruby indentantion](https://www.ruby-forum.com/t/ruby-indentantion/75943)

<div class="topic-metadata">

**Author:** [@Alfonso](https://www.ruby-forum.com/u/Alfonso)\
**Replies:** 22\
**Last updated:** [November 15, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/ruby-indentantion/75943 "2006-11-15T18:20:55Z")

</div>

I have just started with ruby, and something that I have observed is that most of the code is indented with 2 spaces. Having programmed some time with C# and python, it’s very strange to me so few identation. To me 4 …

---

## [Ruby \<-SWIG-\> C arrays](https://www.ruby-forum.com/t/ruby-swig-c-arrays/75953)

<div class="topic-metadata">

**Author:** [@buendia](https://www.ruby-forum.com/u/buendia)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/ruby-swig-c-arrays/75953 "2006-11-15T15:52:20Z")

</div>

Hi, I am trying to wrap this function is C ro Ruby using SWIG: typedef unsigned long uInt32 someFunction(uInt32 someArray\[\]) The array is simply some input. Calling the wrapped function in Ruby: Wrapper.someFunction…

---

## [How can I dynamically get the source of an object's method?](https://www.ruby-forum.com/t/how-can-i-dynamically-get-the-source-of-an-objects-method/76017)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 1\
**Last updated:** [November 15, 2006, 3:34pm UTC](https://www.ruby-forum.com/t/how-can-i-dynamically-get-the-source-of-an-objects-method/76017 "2006-11-15T15:34:15Z")

</div>

Hello: I’ve been wondering if it’s possible to get an object to print out the source code of a method into a string. It seems like it should be possible, but it’s kind of a wacky idea. I haven’t seen it mentioned any…

---

## [\[METHODS\] Var types as parameters](https://www.ruby-forum.com/t/methods-var-types-as-parameters/76031)

<div class="topic-metadata">

**Author:** [@flaab](https://www.ruby-forum.com/u/flaab)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 2:25pm UTC](https://www.ruby-forum.com/t/methods-var-types-as-parameters/76031 "2006-11-15T14:25:54Z")

</div>

Hi! I want to pass an array as a parameter to a method. But the values of it inside the method are always Nil. Can this be done?

---

## [Cursor position in a Gtk::TextBuffer](https://www.ruby-forum.com/t/cursor-position-in-a-gtk-textbuffer/76044)

<div class="topic-metadata">

**Author:** [@WoodHacker](https://www.ruby-forum.com/u/WoodHacker)\
**Replies:** 0\
**Last updated:** [November 15, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/cursor-position-in-a-gtk-textbuffer/76044 "2006-11-15T14:21:54Z")

</div>

I have not had great luck asking Gtk questions on this site, but I don’t know where else to turn… I am writing my own editor and want to have syntax coloring. I scan the file and sets tags to get what I want and it …

---

## [Proc as Observer](https://www.ruby-forum.com/t/proc-as-observer/75269)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 19\
**Last updated:** [November 15, 2006, 1:51pm UTC](https://www.ruby-forum.com/t/proc-as-observer/75269 "2006-11-15T13:51:48Z")

</div>

Working with an Observable object, I wanted to be able to add a Proc as an observer. Observable requires all observers to implement an update method. When the Observable state changes, this is the method that will be …

---

## [Charset detection](https://www.ruby-forum.com/t/charset-detection/75297)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 4\
**Last updated:** [November 15, 2006, 1:41pm UTC](https://www.ruby-forum.com/t/charset-detection/75297 "2006-11-15T13:41:46Z")

</div>

Hi I’m coding a planet software in Ruby, like planet planet, but inserting all rss data into a database (mysql now) and showing the entries from database. I don’t know how can I detect the rss charset. Can you help m…

---

## [\[File -\> Lines -\> Chars\] Logic issue (open)](https://www.ruby-forum.com/t/file-lines-chars-logic-issue-open/76022)

<div class="topic-metadata">

**Author:** [@flaab](https://www.ruby-forum.com/u/flaab)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 10:53am UTC](https://www.ruby-forum.com/t/file-lines-chars-logic-issue-open/76022 "2006-11-15T10:53:32Z")

</div>

Hi there Just a simple question from a newbie =) I have a file that can have N lines. Those lines are string of characters, and each character is a sign of a combination i have to store, but at the same time i have t…

---

## [Is there any curl like lib in ruby?](https://www.ruby-forum.com/t/is-there-any-curl-like-lib-in-ruby/75908)

<div class="topic-metadata">

**Author:** [@yuesefa](https://www.ruby-forum.com/u/yuesefa)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 10:33am UTC](https://www.ruby-forum.com/t/is-there-any-curl-like-lib-in-ruby/75908 "2006-11-15T10:33:25Z")

</div>

I am not sure if there is any curl like lib in ruby. thanks

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

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