# Ruby

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

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

---

## [Remove non-ASCII characters in a string](https://www.ruby-forum.com/t/remove-non-ascii-characters-in-a-string/64224)

<div class="topic-metadata">

**Author:** [@Levin\_A](https://www.ruby-forum.com/u/Levin_A)\
**Replies:** 13\
**Last updated:** [January 24, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/remove-non-ascii-characters-in-a-string/64224 "2006-01-24T19:39:48Z")

</div>

Hi, i needed a method to convert a piece of text to plain ascii and replace all non-ascii chars with a placeholder. I could not find anything in the stdlib so I wrote one. I’d love to hear your comments. (or pointer…

---

## [Pure ruby Zlib impl?](https://www.ruby-forum.com/t/pure-ruby-zlib-impl/96738)

<div class="topic-metadata">

**Author:** [@Charles\_O\_Nutter](https://www.ruby-forum.com/u/Charles_O_Nutter)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/pure-ruby-zlib-impl/96738 "2006-01-24T19:39:48Z")

</div>

We on the JRuby project have reached the point where rubygems runs up to where it would need Zlib to work. Since we obviously don’t have the native C zlib impl in JRuby, we don’t have Zlib available yet. Does anyone k…

---

## [Oracle 9i](https://www.ruby-forum.com/t/oracle-9i/96767)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/oracle-9i/96767 "2006-01-24T19:30:37Z")

</div>

What is the preferred interface to Oracle9i? I will probably be gearing this towards an in-house Rails application. Robert

---

## [Line breaking in Ruby can be dangerous](https://www.ruby-forum.com/t/line-breaking-in-ruby-can-be-dangerous/64397)

<div class="topic-metadata">

**Author:** [@cookoo](https://www.ruby-forum.com/u/cookoo)\
**Replies:** 10\
**Last updated:** [January 24, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/line-breaking-in-ruby-can-be-dangerous/64397 "2006-01-24T19:21:27Z")

</div>

After programing in ruby for the past 3 months, I must say I’m happier. However, I find where to break a long expression into lines can be potentially dangerous and very hidden to debug. For example: begin ?\> (1 \*…

---

## [ICU4R 0.1.0 - initial release](https://www.ruby-forum.com/t/icu4r-0-1-0-initial-release/52809)

<div class="topic-metadata">

**Author:** [@Lugovoi\_N](https://www.ruby-forum.com/u/Lugovoi_N)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/icu4r-0-1-0-initial-release/52809 "2006-01-24T19:09:17Z")

</div>

==ICU4R v.0.1.0 - initial release == = Abstract ICU4R is an attempt to provide better Unicode support for Ruby, based on ICU library. Project Site: http://rubyforge.org/projects/icu4r/ Download: http://rubyforge.or…

---

## [Ruby Weekly News 16th - 22nd January 2006](https://www.ruby-forum.com/t/ruby-weekly-news-16th-22nd-january-2006/96704)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [January 24, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/ruby-weekly-news-16th-22nd-january-2006/96704 "2006-01-24T18:48:06Z")

</div>

http://www.rubyweeklynews.org/20060122.html Ruby Weekly News 16th - 22nd January 2006 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list / the comp.lang.ruby newsgroup / Ruby forum, bro…

---

## [Gateway](https://www.ruby-forum.com/t/gateway/96703)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [January 24, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/gateway/96703 "2006-01-24T18:48:05Z")

</div>

am i the only one missing it? who manages it? can we help fix it? regards. -a

---

## [Re: gateway](https://www.ruby-forum.com/t/re-gateway/96741)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 6:45pm UTC](https://www.ruby-forum.com/t/re-gateway/96741 "2006-01-24T18:45:03Z")

</div>

\-----Original Message----- From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] Sent: Tuesday, January 24, 2006 8:56 AM To: ruby-talk ML Subject: gateway am i the only one missin…

---

## [Debugging endless loops](https://www.ruby-forum.com/t/debugging-endless-loops/64222)

<div class="topic-metadata">

**Author:** [@alexeyv](https://www.ruby-forum.com/u/alexeyv)\
**Replies:** 10\
**Last updated:** [January 24, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/debugging-endless-loops/64222 "2006-01-24T18:20:35Z")

</div>

Hi all, Say, we have a Ruby app going into an endless loop (or perhaps a thread deadlock) mode. Let us further assume that it happens in production and you don’t know how to reproduce it anywhere else. How would you d…

---

## [Get the name of the day from Time.now](https://www.ruby-forum.com/t/get-the-name-of-the-day-from-time-now/53070)

<div class="topic-metadata">

**Author:** [@misiek](https://www.ruby-forum.com/u/misiek)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/get-the-name-of-the-day-from-time-now/53070 "2006-01-24T18:05:05Z")

</div>

how can I get the name of the day from Time.now Time.now.day is a number I would like to for example Mon… thx

---

## [Greetings](https://www.ruby-forum.com/t/greetings/96225)

<div class="topic-metadata">

**Author:** [@Mage](https://www.ruby-forum.com/u/Mage)\
**Replies:** 12\
**Last updated:** [January 24, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/greetings/96225 "2006-01-24T17:58:57Z")

</div>

Hello, some months ago I started to use Python and to see the light. Now my eyes are a bit burned so I went back to the darkness (for some glittering red gem). I started Ruby. I read almost the whole pragmatic progra…

---

## [Tidy for RoR](https://www.ruby-forum.com/t/tidy-for-ror/96671)

<div class="topic-metadata">

**Author:** [@misiek](https://www.ruby-forum.com/u/misiek)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 5:55pm UTC](https://www.ruby-forum.com/t/tidy-for-ror/96671 "2006-01-24T17:55:53Z")

</div>

there is some software beautifuler for ruby code like tidyhtml ?

---

## [Looking for information on string processing performance](https://www.ruby-forum.com/t/looking-for-information-on-string-processing-performance/96660)

<div class="topic-metadata">

**Author:** [@Tuwewe](https://www.ruby-forum.com/u/Tuwewe)\
**Replies:** 4\
**Last updated:** [January 24, 2006, 5:55pm UTC](https://www.ruby-forum.com/t/looking-for-information-on-string-processing-performance/96660 "2006-01-24T17:55:53Z")

</div>

Hi, complete newbie here. I love Ruby and would like to use Ruby in my new project, which deals heavily with large sized file manipulation and string processing. Can you give me advice on how to write decent (with an…

---

## [Best way to get started?](https://www.ruby-forum.com/t/best-way-to-get-started/63828)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 9\
**Last updated:** [January 24, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/best-way-to-get-started/63828 "2006-01-24T17:52:49Z")

</div>

Hi there, I posted about my game idea which has Flash as the front end and Ruby (on Rails) on the back. Getting Flash implemented is going to be a large chore, and I’m wanting to get started on my project (I’m just le…

---

## [OCamlMakefile](https://www.ruby-forum.com/t/ocamlmakefile/96673)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/ocamlmakefile/96673 "2006-01-24T17:43:41Z")

</div>

I know there are a lot of OCaml enthusiasts among the ruby community - something that struck me in the brief time I’ve been dabbling with the language is that it might be useful to port the OCamlMakefile\[1\] to Rake an…

---

## [Class methods like attr:](https://www.ruby-forum.com/t/class-methods-like-attr/52971)

<div class="topic-metadata">

**Author:** [@gioele](https://www.ruby-forum.com/u/gioele)\
**Replies:** 3\
**Last updated:** [January 24, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/class-methods-like-attr/52971 "2006-01-24T17:37:28Z")

</div>

How can I create methods like “attr:” that can create methods and instance variables? I’d like to do this class B \< A my\_property :k, “K” def test p @k # should print “K” p @@my\_properties # should print \[‘k’\] e…

---

## [Which Directory was my ruby script run from?](https://www.ruby-forum.com/t/which-directory-was-my-ruby-script-run-from/52929)

<div class="topic-metadata">

**Author:** [@mjacobs](https://www.ruby-forum.com/u/mjacobs)\
**Replies:** 8\
**Last updated:** [January 24, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/which-directory-was-my-ruby-script-run-from/52929 "2006-01-24T17:36:00Z")

</div>

Hi All, How do I find out which directory my ruby script was run from? Thanks Matthew J. p.s Today I’m using Windows

---

## [Config file for Lighttpd for win 2003 server](https://www.ruby-forum.com/t/config-file-for-lighttpd-for-win-2003-server/96672)

<div class="topic-metadata">

**Author:** [@Erik\_Andersen](https://www.ruby-forum.com/u/Erik_Andersen)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 5:34pm UTC](https://www.ruby-forum.com/t/config-file-for-lighttpd-for-win-2003-server/96672 "2006-01-24T17:34:21Z")

</div>

Hi All I am having difficulties setting up the lighttpd.conf file for running Ruby on Rails on my windows 2003 server. I have actually managed to get it up and running by trial and error, but it is very slow. Not fu…

---

## [Making Thumbnails with RMagick](https://www.ruby-forum.com/t/making-thumbnails-with-rmagick/96658)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 5:34pm UTC](https://www.ruby-forum.com/t/making-thumbnails-with-rmagick/96658 "2006-01-24T17:34:20Z")

</div>

I notice that RMagick seems to be mostly used for making thumbnails of JPEG images for web pages, so I thought it might be useful to do some benchmarking of the 4 resizing methods in RMagick. The results are at http:/…

---

## [SwitchTower with public key authentication](https://www.ruby-forum.com/t/switchtower-with-public-key-authentication/52984)

<div class="topic-metadata">

**Author:** [@Pau\_Garcia\_i\_Quiles](https://www.ruby-forum.com/u/Pau_Garcia_i_Quiles)\
**Replies:** 1\
**Last updated:** [January 24, 2006, 5:31pm UTC](https://www.ruby-forum.com/t/switchtower-with-public-key-authentication/52984 "2006-01-24T17:31:19Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am developing what we may call a “distributed video player” in Ruby (this is NOT a Rails application). It works this way: I have several boxes that play video…

---

## [File locking](https://www.ruby-forum.com/t/file-locking/96040)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 5:31pm UTC](https://www.ruby-forum.com/t/file-locking/96040 "2006-01-24T17:31:19Z")

</div>

I’m trying to understand usage of file.flock(File::LOCK\_SH) which obtains a shared lock. The documentation says it allows other processes to also obtain a shared lock. What’s the point of a lock if it isn’t locking an…

---

## [Povray and opengl install and use?](https://www.ruby-forum.com/t/povray-and-opengl-install-and-use/96659)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 1\
**Last updated:** [January 24, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/povray-and-opengl-install-and-use/96659 "2006-01-24T17:10:01Z")

</div>

I would like to manipulate a 3D skeleton. On the opengl list, it was suggested povray would be easier to learn, and perhaps more powerful than opengl. I did find rupov There are recent books on opengl, but I don’t fin…

---

## [RMagick gets face-lift, book and movie deal](https://www.ruby-forum.com/t/rmagick-gets-face-lift-book-and-movie-deal/96625)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 3\
**Last updated:** [January 24, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/rmagick-gets-face-lift-book-and-movie-deal/96625 "2006-01-24T17:06:57Z")

</div>

I’ve just uploaded RMagick 1.10.0 to RubyForge. This is the first major release of RMagick since last October. This release includes the following changes: o New methods in the Image class add\_noise\_channel: Add no…

---

## [JRuby at JavaOne 2006](https://www.ruby-forum.com/t/jruby-at-javaone-2006/52941)

<div class="topic-metadata">

**Author:** [@Charles\_O\_Nutter](https://www.ruby-forum.com/u/Charles_O_Nutter)\
**Replies:** 1\
**Last updated:** [January 24, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/jruby-at-javaone-2006/52941 "2006-01-24T17:06:57Z")

</div>

Just a quick heads up for all you poor Java-devs-that-dig-Ruby: Tom Enebo and I have been accepted for a JRuby technical session at JavaOne this year. We should have most of the milestones I talked about at RubyConf …

---

## [Free Blog Hosting](https://www.ruby-forum.com/t/free-blog-hosting/53068)

<div class="topic-metadata">

**Author:** [@mutant](https://www.ruby-forum.com/u/mutant)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 4:57pm UTC](https://www.ruby-forum.com/t/free-blog-hosting/53068 "2006-01-24T16:57:48Z")

</div>

Hi, I setup an account at http://www.bloggerteam.com the site provides quality blog hosting services with quality editable templates, google sitemaps built in and many more features. Also subdomain style urls which a…

---

## [Wanted: Ruby/Rails Genius. Offered: The Opportunity to Devel](https://www.ruby-forum.com/t/wanted-ruby-rails-genius-offered-the-opportunity-to-devel/96626)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/wanted-ruby-rails-genius-offered-the-opportunity-to-devel/96626 "2006-01-24T16:54:45Z")

</div>

Hello All, Are you interested in using your Ruby/Rails knowledge to create a killer application and just maybe make some money out of it, too? Noumenaut Studios is looking for a uniquely talented Ruby developer to he…

---

## [Rb\_gc\_\* function not found](https://www.ruby-forum.com/t/rb-gc-function-not-found/96624)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/rb-gc-function-not-found/96624 "2006-01-24T16:54:45Z")

</div>

Hi, I am compiling Maya Ruby plugin on OS X and during the linker stage, the linker is unable to find rb\_gc\_enable() and similar functions. It is able to find the other Ruby function so I think the libraries are fine…

---

## [Screenscraping using htmltools and rexml](https://www.ruby-forum.com/t/screenscraping-using-htmltools-and-rexml/53065)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [January 24, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/screenscraping-using-htmltools-and-rexml/53065 "2006-01-24T16:45:32Z")

</div>

Hi, I need to do some screen scraping and I’ve spent a couple hour getting htmltools and rexml do the right thing. Here’s the code: parser = HTMLTree::Parser.new(false, false) parser.feed(res.body) tree = parser.tre…

---

## [Screen scraping using htmltools and rexml](https://www.ruby-forum.com/t/screen-scraping-using-htmltools-and-rexml/96573)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 24, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/screen-scraping-using-htmltools-and-rexml/96573 "2006-01-24T16:42:30Z")

</div>

Hi, I need to do some screen scraping and I’ve spent a couple hour getting htmltools and rexml do the right thing. Here’s the code: parser = HTMLTree::Parser.new(false, false) parser.feed(res.body) tree = parser.tre…

---

## [Re: camelCase vs ruby\_case](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 3\
**Last updated:** [January 24, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/re-camelcase-vs-ruby-case/95862 "2006-01-24T16:39:27Z")

</div>

There were a LOT of discussions on the subject over time on this list. Please search ruby-talk archive at http://www.ruby-talk.org/ruby/ruby-talk/index.shtml to get an idea. Gennady.

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

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