# Ruby

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

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

---

## [Fuzzy searching using Ferret and KirbyBase?](https://www.ruby-forum.com/t/fuzzy-searching-using-ferret-and-kirbybase/50273)

<div class="topic-metadata">

**Author:** [@jennyw](https://www.ruby-forum.com/u/jennyw)\
**Replies:** 1\
**Last updated:** [November 27, 2005, 5:08am UTC](https://www.ruby-forum.com/t/fuzzy-searching-using-ferret-and-kirbybase/50273 "2005-11-27T05:08:16Z")

</div>

We need to get fuzzy search and full-text search. We’re using MySQL as a backend right now, and another developer tried to switch the application PostgreSQL, but it added more problems than it solved. So … I’d like to…

---

## [Win32-service 0.5.0](https://www.ruby-forum.com/t/win32-service-0-5-0/48934)

<div class="topic-metadata">

**Author:** [@djberg96](https://www.ruby-forum.com/u/djberg96)\
**Replies:** 0\
**Last updated:** [November 27, 2005, 2:51am UTC](https://www.ruby-forum.com/t/win32-service-0-5-0/48934 "2005-11-27T02:51:18Z")

</div>

Hi all, I’m happy to announce the release of win32-service 0.5.0 What’s new? The Daemon class now supports a service\_init hook. This was added to allow service writers to perform any long running initialization code …

---

## [Nubish questions about syntax and gems](https://www.ruby-forum.com/t/nubish-questions-about-syntax-and-gems/50240)

<div class="topic-metadata">

**Author:** [@rosco](https://www.ruby-forum.com/u/rosco)\
**Replies:** 12\
**Last updated:** [November 27, 2005, 1:38am UTC](https://www.ruby-forum.com/t/nubish-questions-about-syntax-and-gems/50240 "2005-11-27T01:38:50Z")

</div>

Hi folks. I’m getting on really well with Ruby (I’ve not enjoyed programming this much for ages :)) but I’ve a few (probably simple) questions I’m hoping you might be able to help with. Is this the right way to def…

---

## [Problem with rails](https://www.ruby-forum.com/t/problem-with-rails/48917)

<div class="topic-metadata">

**Author:** [@printdude1968](https://www.ruby-forum.com/u/printdude1968)\
**Replies:** 2\
**Last updated:** [November 26, 2005, 10:49pm UTC](https://www.ruby-forum.com/t/problem-with-rails/48917 "2005-11-26T22:49:31Z")

</div>

Just installed Ruby and rails as per onlamp.com Trying to work through the tutorial Downloaded and installed mysql Downloaded and installed MySqlFront No problems so far. SQL server started Trying to connect to loc…

---

## [SOAP 'Mapping error'](https://www.ruby-forum.com/t/soap-mapping-error/48848)

<div class="topic-metadata">

**Author:** [@gandalfmeister](https://www.ruby-forum.com/u/gandalfmeister)\
**Replies:** 2\
**Last updated:** [November 26, 2005, 9:28pm UTC](https://www.ruby-forum.com/t/soap-mapping-error/48848 "2005-11-26T21:28:47Z")

</div>

I’m trying to expose a few methods for database searching & updating via a SOAP interface. I managed a couple of find queries OK, but when I came to try an “update” I got this error:- C:/ruby/lib/ruby/1.8/soap/mapping…

---

## [Not-yet Phoenix.rb](https://www.ruby-forum.com/t/not-yet-phoenix-rb/48916)

<div class="topic-metadata">

**Author:** [@james\_b](https://www.ruby-forum.com/u/james_b)\
**Replies:** 0\
**Last updated:** [November 26, 2005, 9:00pm UTC](https://www.ruby-forum.com/t/not-yet-phoenix-rb/48916 "2005-11-26T21:00:36Z")

</div>

The 2nd meeting of Refresh Phoenix will be held on Tuesday, December 6, at the Common Ground coffee house in Scottsdale, AZ. Refresh Phoenix is a community of designers and developers working to refresh the creative, …

---

## [Marshalling problem](https://www.ruby-forum.com/t/marshalling-problem/50246)

<div class="topic-metadata">

**Author:** [@hcatlin](https://www.ruby-forum.com/u/hcatlin)\
**Replies:** 1\
**Last updated:** [November 26, 2005, 6:47pm UTC](https://www.ruby-forum.com/t/marshalling-problem/50246 "2005-11-26T18:47:14Z")

</div>

Ok, I’ve already posted this once, but that was 10 hours ago and it still hasn’t shown up in the group, so i’m reposting it. Apologizes if its already shown up for anyone else… Alright, so I’ve been scratching my hea…

---

## [The Ruby Grammar Project](https://www.ruby-forum.com/t/the-ruby-grammar-project/48870)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 4\
**Last updated:** [November 26, 2005, 6:43pm UTC](https://www.ruby-forum.com/t/the-ruby-grammar-project/48870 "2005-11-26T18:43:13Z")

</div>

=== HELLO? Hi there. With all this talk lately about “Ruby grammar this” and “Ruby grammar that”, I’d like to take this moment to announce the newly-formed The Ruby Grammar Project. === WHAT? The The Ruby Grammar P…

---

## [How to make a system tray program in Windows?](https://www.ruby-forum.com/t/how-to-make-a-system-tray-program-in-windows/48880)

<div class="topic-metadata">

**Author:** [@sskim.box](https://www.ruby-forum.com/u/sskim.box)\
**Replies:** 4\
**Last updated:** [November 26, 2005, 2:29pm UTC](https://www.ruby-forum.com/t/how-to-make-a-system-tray-program-in-windows/48880 "2005-11-26T14:29:10Z")

</div>

How can I make my program appear in the system tray of the Windows? What I want my program do is to keep track of time regularly (using timer) and do something behind the scene. (like a scheduler.) So, I want to make …

---

## [Re: Codepage 850 character set](https://www.ruby-forum.com/t/re-codepage-850-character-set/48898)

<div class="topic-metadata">

**Author:** [@Nuralanur](https://www.ruby-forum.com/u/Nuralanur)\
**Replies:** 0\
**Last updated:** [November 26, 2005, 2:25pm UTC](https://www.ruby-forum.com/t/re-codepage-850-character-set/48898 "2005-11-26T14:25:08Z")

</div>

Dear Dsmorey, there is a Ruby wrapper for iconv, a program to do character encoding conversions, you can find information about Ruby and iconv here: \_Peak Obsession (Peak Obsession) I hope that will help. Best reg…

---

## [What branch of (|) RE is match?](https://www.ruby-forum.com/t/what-branch-of-re-is-match/48899)

<div class="topic-metadata">

**Author:** [@zbl](https://www.ruby-forum.com/u/zbl)\
**Replies:** 1\
**Last updated:** [November 26, 2005, 2:25pm UTC](https://www.ruby-forum.com/t/what-branch-of-re-is-match/48899 "2005-11-26T14:25:07Z")

</div>

I have a fragment like this: variant= \[ /\[abc\]/, /\[123\]/, /\[xyz\]/ \]; re= /aaa\\s(#{variant.join(’|’)})\\sbbb/; mch= re.match($stdin.read); (Remove the semicolons if you hate them.) Now, I need to know what branch of v…

---

## [Faster way to pick the every other array member?](https://www.ruby-forum.com/t/faster-way-to-pick-the-every-other-array-member/50186)

<div class="topic-metadata">

**Author:** [@damphyr](https://www.ruby-forum.com/u/damphyr)\
**Replies:** 17\
**Last updated:** [November 26, 2005, 1:33pm UTC](https://www.ruby-forum.com/t/faster-way-to-pick-the-every-other-array-member/50186 "2005-11-26T13:33:19Z")

</div>

we have \[1,2,3,4,5,6,7\] and want \[2,4,6\] Is there a way other than fields=\[1,2,3,4,5,6,7\] fields.collect!{|f| f if fields.index(f)%2==1 }.compact! And by another way I mean something shorter and more beautiful :). …

---

## [Does RUBY have the equivalent of PERL's formats?](https://www.ruby-forum.com/t/does-ruby-have-the-equivalent-of-perls-formats/48890)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 1\
**Last updated:** [November 26, 2005, 9:03am UTC](https://www.ruby-forum.com/t/does-ruby-have-the-equivalent-of-perls-formats/48890 "2005-11-26T09:03:07Z")

</div>

Scanning through one of the Ruby books, it appears that the language is very similar to PERL. Is there also the equivalent of the PERL format statement? Thanks, Joe McGuckin

---

## [Marshal.dump(obj) as String bug?](https://www.ruby-forum.com/t/marshal-dump-obj-as-string-bug/48885)

<div class="topic-metadata">

**Author:** [@hcatlin](https://www.ruby-forum.com/u/hcatlin)\
**Replies:** 3\
**Last updated:** [November 26, 2005, 6:05am UTC](https://www.ruby-forum.com/t/marshal-dump-obj-as-string-bug/48885 "2005-11-26T06:05:45Z")

</div>

Alright, so I’ve been scratching my head about this along with some folks over at #ruby-lang. This may be a known problem, but after spending a few minutes searching, I can’t find any reference… so I’ll document it he…

---

## [SOAP Problem with Non-ASCII Characters](https://www.ruby-forum.com/t/soap-problem-with-non-ascii-characters/48783)

<div class="topic-metadata">

**Author:** [@achim.domma](https://www.ruby-forum.com/u/achim.domma)\
**Replies:** 1\
**Last updated:** [November 26, 2005, 5:37am UTC](https://www.ruby-forum.com/t/soap-problem-with-non-ascii-characters/48783 "2005-11-26T05:37:32Z")

</div>

Hi, I use Ruby to access a .Net Webservice which returns german umlauts (äöü…). I create the service like this: service = SOAP::RPC::Driver.new(server, InterfaceNS) service.default\_encodingstyle = SOAP::EncodingStyl…

---

## [Fun with ranges!](https://www.ruby-forum.com/t/fun-with-ranges/48871)

<div class="topic-metadata">

**Author:** [@sgentle](https://www.ruby-forum.com/u/sgentle)\
**Replies:** 3\
**Last updated:** [November 26, 2005, 1:44am UTC](https://www.ruby-forum.com/t/fun-with-ranges/48871 "2005-11-26T01:44:08Z")

</div>

So I was messing around today trying to find out whether there was a viable way to cram unbounded lists into the Range implementation when I stumbled on this… irb(main):001:0\> inf = 1.0/0.0 =\> Infinity irb(main):002…

---

## ['private' gems/gems hierarchy](https://www.ruby-forum.com/t/private-gems-gems-hierarchy/48865)

<div class="topic-metadata">

**Author:** [@danyc](https://www.ruby-forum.com/u/danyc)\
**Replies:** 3\
**Last updated:** [November 25, 2005, 11:55pm UTC](https://www.ruby-forum.com/t/private-gems-gems-hierarchy/48865 "2005-11-25T23:55:38Z")

</div>

Greetings, disclaimer: just installed rubygems, so no pratical experience and only skim some docs There has been some questions/comments about how to get ruby ‘accepted’ in your work environment. I was hoping to use…

---

## [Pattern: auto-running module init code](https://www.ruby-forum.com/t/pattern-auto-running-module-init-code/48676)

<div class="topic-metadata">

**Author:** [@ptkwt](https://www.ruby-forum.com/u/ptkwt)\
**Replies:** 12\
**Last updated:** [November 25, 2005, 10:30pm UTC](https://www.ruby-forum.com/t/pattern-auto-running-module-init-code/48676 "2005-11-25T22:30:43Z")

</div>

Maybe you’ve run into this problem: you have a module and you want to make sure that certain intialization code is run in that module. Of course a module can have an initialize method like so: module Foo def initi…

---

## [Codepage 850 character set](https://www.ruby-forum.com/t/codepage-850-character-set/48866)

<div class="topic-metadata">

**Author:** [@dsmorey](https://www.ruby-forum.com/u/dsmorey)\
**Replies:** 0\
**Last updated:** [November 25, 2005, 10:10pm UTC](https://www.ruby-forum.com/t/codepage-850-character-set/48866 "2005-11-25T22:10:18Z")

</div>

Can anybody tell me how to read this information with Ruby? I received a file encoded with the Codepage 850 character set. Vim opens the file and reads the characters like this… \<90\>lodie The \<90\> should be a codep…

---

## [fxRuby- text on canvas and fonts generating errors](https://www.ruby-forum.com/t/fxruby-text-on-canvas-and-fonts-generating-errors/48862)

<div class="topic-metadata">

**Author:** [@boxofsoxx-goognews](https://www.ruby-forum.com/u/boxofsoxx-goognews)\
**Replies:** 0\
**Last updated:** [November 25, 2005, 9:46pm UTC](https://www.ruby-forum.com/t/fxruby-text-on-canvas-and-fonts-generating-errors/48862 "2005-11-25T21:46:06Z")

</div>

I have a ruby program that uses FXRuby. I have created a canvas widget, and I can draw lines, rectangles and elipses, but if I try to draw text, I get the bizzare error shown below. I also get this error if I try to a…

---

## [Forced extension compilation](https://www.ruby-forum.com/t/forced-extension-compilation/48861)

<div class="topic-metadata">

**Author:** [@micah.alles](https://www.ruby-forum.com/u/micah.alles)\
**Replies:** 0\
**Last updated:** [November 25, 2005, 9:13pm UTC](https://www.ruby-forum.com/t/forced-extension-compilation/48861 "2005-11-25T21:13:53Z")

</div>

Is there a way to force the compilation of any or all native extensions to be built when compiling ruby from src? I find it annoying to install ruby from source only to find out later that I don’t have readline, open…

---

## [Improving min/max for Range](https://www.ruby-forum.com/t/improving-min-max-for-range/48803)

<div class="topic-metadata">

**Author:** [@madevilgenius](https://www.ruby-forum.com/u/madevilgenius)\
**Replies:** 6\
**Last updated:** [November 25, 2005, 9:05pm UTC](https://www.ruby-forum.com/t/improving-min-max-for-range/48803 "2005-11-25T21:05:50Z")

</div>

Range relies entirely on Enumerable to implement #min and #max, which in turn implements these operations using #to\_a. This becomes a problem with ranges of floats, for example: (0.0…100.0).min TypeError: can’t ite…

---

## [Cross tabulation](https://www.ruby-forum.com/t/cross-tabulation/48860)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 0\
**Last updated:** [November 25, 2005, 8:53pm UTC](https://www.ruby-forum.com/t/cross-tabulation/48860 "2005-11-25T20:53:37Z")

</div>

For a little background and comparison, there’s an article on O’Reilly (Radar – O’Reilly) that discusses the topic of server-side cross-tabulation, with respect to a Perl toolset (DBIx::SQLCrosstab). I’m getting star…

---

## [Tree class](https://www.ruby-forum.com/t/tree-class/68261)

<div class="topic-metadata">

**Author:** [@micktaiwan](https://www.ruby-forum.com/u/micktaiwan)\
**Replies:** 5\
**Last updated:** [November 25, 2005, 7:04pm UTC](https://www.ruby-forum.com/t/tree-class/68261 "2005-11-25T19:04:37Z")

</div>

Hi, Is there a tree class in the language or a good lib out there ? Thanks for your suggestions.

---

## [Newbie Mixin Problem](https://www.ruby-forum.com/t/newbie-mixin-problem/48856)

<div class="topic-metadata">

**Author:** [@jonathan.ruckwood](https://www.ruby-forum.com/u/jonathan.ruckwood)\
**Replies:** 2\
**Last updated:** [November 25, 2005, 7:00pm UTC](https://www.ruby-forum.com/t/newbie-mixin-problem/48856 "2005-11-25T19:00:35Z")

</div>

Hi, I’m new to Ruby and have done some reading on it. To learn more about it I’m attempting to re-write some of my Java code. However I have run into a problem with Modules/Mixins that I can’t seem to solve. My proble…

---

## [Dynamic finding of missing constants](https://www.ruby-forum.com/t/dynamic-finding-of-missing-constants/48849)

<div class="topic-metadata">

**Author:** [@Ola.Bini](https://www.ruby-forum.com/u/Ola.Bini)\
**Replies:** 3\
**Last updated:** [November 25, 2005, 5:31pm UTC](https://www.ruby-forum.com/t/dynamic-finding-of-missing-constants/48849 "2005-11-25T17:31:41Z")

</div>

Hi. I’m doing some slightly interesting things with Ruby, and I wanted to know of there’s a language way of interrupting the process for finding a Constant name, like the method\_missing method. The closest thing I’ve …

---

## [Zlib issue](https://www.ruby-forum.com/t/zlib-issue/66195)

<div class="topic-metadata">

**Author:** [@leitao](https://www.ruby-forum.com/u/leitao)\
**Replies:** 4\
**Last updated:** [November 25, 2005, 1:49pm UTC](https://www.ruby-forum.com/t/zlib-issue/66195 "2005-11-25T13:49:18Z")

</div>

Hello people, I am having a issue trying to compile the zlib for ruby. I think I am missing some library that has deflateReset, but i cant find which. Any tip? leitao@capitu:~/temp/ruby-zlib-0.6.0$ ruby extconf.rb ch…

---

## [Rote - Textual templating for website and docs](https://www.ruby-forum.com/t/rote-textual-templating-for-website-and-docs/48813)

<div class="topic-metadata">

**Author:** [@rosco](https://www.ruby-forum.com/u/rosco)\
**Replies:** 0\
**Last updated:** [November 25, 2005, 10:55am UTC](https://www.ruby-forum.com/t/rote-textual-templating-for-website-and-docs/48813 "2005-11-25T10:55:09Z")

</div>

I’d like to take a moment to introduce Rote, a static page rendering and layout tool for Ruby, that simply provides an easy-to-use templating solution for your static website, software documentation, blog, or whatever…

---

## [UDP Socket problem](https://www.ruby-forum.com/t/udp-socket-problem/48784)

<div class="topic-metadata">

**Author:** [@xrfang](https://www.ruby-forum.com/u/xrfang)\
**Replies:** 6\
**Last updated:** [November 25, 2005, 9:26am UTC](https://www.ruby-forum.com/t/udp-socket-problem/48784 "2005-11-25T09:26:14Z")

</div>

Hi there, I try to write a comm program based on udp broadcasting protocol. I did the following: SERVER: require ‘socket’ server = UDPSocket.open server.bind(‘0.0.0.0’, 4321) while true do p server.recvfrom(10) …

---

## [Platform.rb (was: PLATFORM tests)](https://www.ruby-forum.com/t/platform-rb-was-platform-tests/48810)

<div class="topic-metadata">

**Author:** [@eule](https://www.ruby-forum.com/u/eule)\
**Replies:** 0\
**Last updated:** [November 25, 2005, 9:02am UTC](https://www.ruby-forum.com/t/platform-rb-was-platform-tests/48810 "2005-11-25T09:02:03Z")

</div>

Hi, Matt M. has developed a PLATFORM matching library that seems quite aedequate in fact. I have extended it with the suggestions of the list and also those that I have received privately. You can find the new platf…

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

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