# Ruby

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

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

---

## [Marshal Clean Up Callback?](https://www.ruby-forum.com/t/marshal-clean-up-callback/133082)

<div class="topic-metadata">

**Author:** [@normelton](https://www.ruby-forum.com/u/normelton)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 3:35pm UTC](https://www.ruby-forum.com/t/marshal-clean-up-callback/133082 "2008-03-27T15:35:31Z")

</div>

I’m marshal’ing an object that contains a UDP socket. Of course, Marshal.dump complains bitterly. Is there a way to automagically clean-up any un-marshal-able attributes prior to calling Marshal.dump? Ideally, I could…

---

## ["loop do IO.select(, nil, nil)" eats 95% of CPU, any other way?](https://www.ruby-forum.com/t/loop-do-io-select-nil-nil-eats-95-of-cpu-any-other-way/133007)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 13\
**Last updated:** [March 27, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/loop-do-io-select-nil-nil-eats-95-of-cpu-any-other-way/133007 "2008-03-27T15:15:47Z")

</div>

Hi, which is the most efficient way of receiving and processing data from a network socket? I use GServer in this common way: class MyServer \< GServer def serve(io) loop do if IO.select(\[io\], nil, nil) … A “top” …

---

## [Exports quality scaffolding and scaffolding from China](https://www.ruby-forum.com/t/exports-quality-scaffolding-and-scaffolding-from-china/133047)

<div class="topic-metadata">

**Author:** [@dscaffold](https://www.ruby-forum.com/u/dscaffold)\
**Replies:** 3\
**Last updated:** [March 27, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/exports-quality-scaffolding-and-scaffolding-from-china/133047 "2008-03-27T15:00:15Z")

</div>

Wuxi Direct scaffolding & Metal hardware Co.,Ltd China is one leading manufacturers ,suppliers, exporters which mainly produce frame scaffold, ring lock scaffolding, cuplock scaffold, kwikstage scaffold, scaffolding m…

---

## [Is this a threading bug in Ruby-185-21 on Win32?](https://www.ruby-forum.com/t/is-this-a-threading-bug-in-ruby-185-21-on-win32/133051)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 4\
**Last updated:** [March 27, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/is-this-a-threading-bug-in-ruby-185-21-on-win32/133051 "2008-03-27T14:40:45Z")

</div>

I’m trying to write a program that will poll some website and that is easily terminable. I have a similar Ruby program on a Linux machine that polls my inbox to see if I have mail and, whenever I have new mail, prin…

---

## [Over Loading](https://www.ruby-forum.com/t/over-loading/133055)

<div class="topic-metadata">

**Author:** [@selva](https://www.ruby-forum.com/u/selva)\
**Replies:** 4\
**Last updated:** [March 27, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/over-loading/133055 "2008-03-27T14:31:47Z")

</div>

Hai All, Question looks like simple Why ruby is not supporting over loading?? I think we can pass any number of argument as an array to method. is this the reason or any other ???

---

## [How to invoke a rake file](https://www.ruby-forum.com/t/how-to-invoke-a-rake-file/132832)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 6\
**Last updated:** [March 27, 2008, 11:09am UTC](https://www.ruby-forum.com/t/how-to-invoke-a-rake-file/132832 "2008-03-27T11:09:12Z")

</div>

How is this rakefile invoked? C:\\code\> C:\\code\>rake (in C:/code) rake aborted! Don’t know how to build task ‘default’ (See full trace by running task with --trace) C:\\code\> C:\\code\>type rakefile.rb alias :origin…

---

## [Ruby with CDO?](https://www.ruby-forum.com/t/ruby-with-cdo/132950)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 9:15am UTC](https://www.ruby-forum.com/t/ruby-with-cdo/132950 "2008-03-27T09:15:55Z")

</div>

Hello, I need to do some scripting to interact with a Microsoft Exchange server. More specifically, to insert contacts into each user’s mailbox’s contacts folder. I have accomplished this with Ruby via Win32OLE and M…

---

## [Sigsetjmp significantly slower on OSX](https://www.ruby-forum.com/t/sigsetjmp-significantly-slower-on-osx/133027)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 2\
**Last updated:** [March 27, 2008, 8:44am UTC](https://www.ruby-forum.com/t/sigsetjmp-significantly-slower-on-osx/133027 "2008-03-27T08:44:00Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B \[ruby-core:16023\]e$B$K\<($5$l$?e(B e$B$K$h$k$H!"e(BOSXe$B$G$Oe(Bsigsetjmpe$B$,$a$A$c$a$A$cCY$$$h$&$G$9!#e(B e$B$I$&$7$?$b$s$G$7$g$&$M!#e(B e$B$G$-$l$Pe(B(e$B\>/$J$/$H$be(BOSXe$B$G$Oe…

---

## [Few Small Examples in Linq with IronRuby](https://www.ruby-forum.com/t/few-small-examples-in-linq-with-ironruby/131788)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 7\
**Last updated:** [March 27, 2008, 7:18am UTC](https://www.ruby-forum.com/t/few-small-examples-in-linq-with-ironruby/131788 "2008-03-27T07:18:51Z")

</div>

Hello, I know that its too early to ask or it. But can someone provide few examples, how Linq with IronRuby will look alike. Since i am reading few books on LINQ in C#, i want to gradually try to understand it with …

---

## [4GB USB flash drives for only $14.49](https://www.ruby-forum.com/t/4gb-usb-flash-drives-for-only-14-49/197205)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 27, 2008, 5:26am UTC](https://www.ruby-forum.com/t/4gb-usb-flash-drives-for-only-14-49/197205 "2008-03-27T05:26:23Z")

</div>

Hey there, www.dealsusb.com has 4GB USB flash drives for only $14.49 Free Shipping with warranty . No rebates. Now we can store large amounts of data into this Massive 4gb portable flash drive Jimmy

---

## [Encode as alphanumeric](https://www.ruby-forum.com/t/encode-as-alphanumeric/133028)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 9\
**Last updated:** [March 27, 2008, 1:14am UTC](https://www.ruby-forum.com/t/encode-as-alphanumeric/133028 "2008-03-27T01:14:14Z")

</div>

Hi, I need to take an arbitrary byte string and encode it as alphanumeric (and decode it back again). Any pointers on a easy way to do this? Thanks, T.

---

## [IronRuby r86 on Mono](https://www.ruby-forum.com/t/ironruby-r86-on-mono/132840)

<div class="topic-metadata">

**Author:** [@Sanghyeon\_S](https://www.ruby-forum.com/u/Sanghyeon_S)\
**Replies:** 2\
**Last updated:** [March 27, 2008, 12:52am UTC](https://www.ruby-forum.com/t/ironruby-r86-on-mono/132840 "2008-03-27T00:52:20Z")

</div>

The law of nature dictates that if it is not tested, it is broken. So it is only natural that the recent rewrite of IronRuby’s Rakefile broke build on Mono. No worry, I guess that’s why I’m on this list. …

---

## [CentOS gem install of libxml-ruby is failing](https://www.ruby-forum.com/t/centos-gem-install-of-libxml-ruby-is-failing/133040)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 2\
**Last updated:** [March 27, 2008, 12:49am UTC](https://www.ruby-forum.com/t/centos-gem-install-of-libxml-ruby-is-failing/133040 "2008-03-27T00:49:30Z")

</div>

I’m trying to do a simple gem install so I can validate some XML files for a project, and the gem install fails as follows on my CentOS system: \[root@miller ~\]# uname -a Linux miller 2.6.18-53.1.4.el5 #1 SMP Fri Nov 3…

---

## [From String to T\_STRING](https://www.ruby-forum.com/t/from-string-to-t-string/132875)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 11:02pm UTC](https://www.ruby-forum.com/t/from-string-to-t-string/132875 "2008-03-26T23:02:24Z")

</div>

Hi, i have a method, wich is called with type identifiers like this: my\_method(Sting, Fixnum) this method is implemented in a C extension. In this extension it is easy to get the name of the parameters with rb\_class2…

---

## [PluginFactory 1.0.3](https://www.ruby-forum.com/t/pluginfactory-1-0-3/133033)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/pluginfactory-1-0-3/133033 "2008-03-26T22:32:17Z")

</div>

Version 1.0.3 of PluginFactory has been released. PluginFactory is a mixin module that adds pluggable behavior to including classes, allowing you to require and instantiate its subclasses by name via a factory method. …

---

## [PDF::Writer, create pdf and insert in other pdf file](https://www.ruby-forum.com/t/pdf-writer-create-pdf-and-insert-in-other-pdf-file/133012)

<div class="topic-metadata">

**Author:** [@rpacheco](https://www.ruby-forum.com/u/rpacheco)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/pdf-writer-create-pdf-and-insert-in-other-pdf-file/133012 "2008-03-26T21:25:14Z")

</div>

Hi folks(wharever it mean my english is so bad…) the following code create a PDF: #!/usr/bin/ruby require ‘pdf/writer’ pdf = PDF::Writer.new pdf.text “Hello Matz”, :font\_size =\> 22 pdf.save\_as “novo.pdf” #########…

---

## [Interpreted language](https://www.ruby-forum.com/t/interpreted-language/132964)

<div class="topic-metadata">

**Author:** [@rai\_jiten1981](https://www.ruby-forum.com/u/rai_jiten1981)\
**Replies:** 13\
**Last updated:** [March 26, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/interpreted-language/132964 "2008-03-26T20:25:51Z")

</div>

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

---

## [Mysql on mac](https://www.ruby-forum.com/t/mysql-on-mac/132951)

<div class="topic-metadata">

**Author:** [@angelojoseph17](https://www.ruby-forum.com/u/angelojoseph17)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 7:59pm UTC](https://www.ruby-forum.com/t/mysql-on-mac/132951 "2008-03-26T19:59:49Z")

</div>

I installed my sql on my mac tiger and tried to run it but i keep getting the error message below and i’ve looked everywhere but there seems to be no solution for this can anyone shed any light. ? angelojoseph:~ angel…

---

## [Tournament 1.0.0 Released](https://www.ruby-forum.com/t/tournament-1-0-0-released/133017)

<div class="topic-metadata">

**Author:** [@Douglas\_ASSeifert](https://www.ruby-forum.com/u/Douglas_ASSeifert)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/tournament-1-0-0-released/133017 "2008-03-26T19:03:04Z")

</div>

For the NCAA Basketball Tournament fans out there … tournament version 1.0.0 by Douglas A. Seifert Tournament: A Ruby Program For Managing NCAA Tournament Pools http://tournament.rubyforge.org/ == DESCRIPTION Small…

---

## [Rutema 0.6.3 Released](https://www.ruby-forum.com/t/rutema-0-6-3-released/133014)

<div class="topic-metadata">

**Author:** [@Vassilis\_R](https://www.ruby-forum.com/u/Vassilis_R)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/rutema-0-6-3-released/133014 "2008-03-26T18:58:55Z")

</div>

rutema version 0.6.3 has been released! A small bugfix release polishing what we will show you at Euruko 2008 in Prague. Looking forward to meet all who will be there this weeekend! DESCRIPTION: rutema is a test exe…

---

## [Cleanup RubyForge](https://www.ruby-forum.com/t/cleanup-rubyforge/132990)

<div class="topic-metadata">

**Author:** [@Chris\_Chandler](https://www.ruby-forum.com/u/Chris_Chandler)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/cleanup-rubyforge/132990 "2008-03-26T18:43:00Z")

</div>

There are a lot of bugs on the rubyforge tracker system, as well as patches for some, and some that have been found invalid. Can we cleanup rubyforge tracker/patches? Is the tracker being used internally by the IronR…

---

## [Set\_body\_internal?](https://www.ruby-forum.com/t/set-body-internal/133009)

<div class="topic-metadata">

**Author:** [@kyleh](https://www.ruby-forum.com/u/kyleh)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/set-body-internal/133009 "2008-03-26T18:03:40Z")

</div>

I’m using Mechanize to submit a form and it points to my ‘form.submit’ line and says “both of body argument and HTTPRequest#body set” as an argument error in http.rb in function set\_body\_internal Can anyone point me …

---

## [Simple Question](https://www.ruby-forum.com/t/simple-question/133005)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 5\
**Last updated:** [March 26, 2008, 5:34pm UTC](https://www.ruby-forum.com/t/simple-question/133005 "2008-03-26T17:34:52Z")

</div>

Hi- This should be an easy one to answer… Is it possible to return an array from a function? Example (although a very bad one): def test(val1,val2) myarr = Array.new myarr = \[val1,val2\] return myarr end begin t…

---

## [SQLite3 Read Only](https://www.ruby-forum.com/t/sqlite3-read-only/133006)

<div class="topic-metadata">

**Author:** [@veovis](https://www.ruby-forum.com/u/veovis)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/sqlite3-read-only/133006 "2008-03-26T17:27:37Z")

</div>

Hi, I would like to open a sqlite3 only in read. Actually I have this, and I think I have an access mode in read and write : db = SQLite3::Database.open(“database.sql3”) Thanks for you help…

---

## [TSOT Ruby on Rails Project Night returns April 8th](https://www.ruby-forum.com/t/tsot-ruby-on-rails-project-night-returns-april-8th/133004)

<div class="topic-metadata">

**Author:** [@Corina](https://www.ruby-forum.com/u/Corina)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/tsot-ruby-on-rails-project-night-returns-april-8th/133004 "2008-03-26T17:10:41Z")

</div>

TSOT, Inc. returns with the fourth TSOT Ruby on Rails Project Night on April 8th 5:30pm doors, 6:00pm start 151 Bloor Street West, Toronto This event is free but space is limited: register by emailing removed\_email\_…

---

## [Spreadsheet::Excel and Ole::Storage Error](https://www.ruby-forum.com/t/spreadsheet-excel-and-ole-storage-error/133000)

<div class="topic-metadata">

**Author:** [@dbf](https://www.ruby-forum.com/u/dbf)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/spreadsheet-excel-and-ole-storage-error/133000 "2008-03-26T16:54:47Z")

</div>

I’m trying to generate large Excel files (larger than OLEWriter can handle). If I use Ole::Storage found here: and apply this patch to spreadsheet/excel: http://ruby-ole.googlecode.com/svn/trunk/contrib/spreadsheet-…

---

## [Calling Josh Charles and Jayme Edwards](https://www.ruby-forum.com/t/calling-josh-charles-and-jayme-edwards/132992)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/calling-josh-charles-and-jayme-edwards/132992 "2008-03-26T16:51:50Z")

</div>

Hi Guys, Can I get you to send an email to removed\_email\_address@domain.invalid to sign a contributor agreement so that I can start processing your patches? Thanks! -John

---

## [Thread.c (fastthread)ã®çŠ¶æ³](https://www.ruby-forum.com/t/thread-c-fastthread-a-cs-ae/132959)

<div class="topic-metadata">

**Author:** [@Daigo\_M](https://www.ruby-forum.com/u/Daigo_M)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/thread-c-fastthread-a-cs-ae/132959 "2008-03-26T15:45:58Z")

</div>

æ£®è„‡ã§ã™ã€‚ Debianã§Rubyã‚’ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãƒ³ã‚°ã—ã¦ã„ã‚‹ã®ã§ã™ãŒã€ãƒ¦ãƒ¼ã‚¶ã‹ã‚‰è¦æœ›ãŒã‚ã£ãŸã®ã§ã€ã¡ã‚‡ã£ ã¨ãŠå°‹ã­ã—ã¾ã™ã€‚ 1.8.6ã‚ãŸã‚Šã§ã€fastthreadãŒãƒžãƒ¼ã‚¸ã•ã‚Œã¦thread.cã…

---

## [Private(true) || private :make\_time, what does it do? why?](https://www.ruby-forum.com/t/private-true-private-make-time-what-does-it-do-why/132967)

<div class="topic-metadata">

**Author:** [@Rie](https://www.ruby-forum.com/u/Rie)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 1:40pm UTC](https://www.ruby-forum.com/t/private-true-private-make-time-what-does-it-do-why/132967 "2008-03-26T13:40:55Z")

</div>

i found that rake source has got this strange one line of code private(true) or something, true could be another code (I don’t remember that rake source code by heart). I’m not sure I can explain it clearly. Now I ju…

---

## [Toplevel\_object](https://www.ruby-forum.com/t/toplevel-object/132971)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/toplevel-object/132971 "2008-03-26T13:18:25Z")

</div>

This is a Ruby Change Request. http://rcrchive.net/rcrs/19 Ruby lacks a TOPLEVEL\_OBJECT constant, which provides access to the object resulting from this Ruby expression: eval( ‘self’, ::TOPLEVEL\_BINDING ) That obje…

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

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