# Ruby

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

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

---

## [Re: File.mtime: Bug on Windows?](https://www.ruby-forum.com/t/re-file-mtime-bug-on-windows/93363)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/re-file-mtime-bug-on-windows/93363 "2006-04-02T19:10:58Z")

</div>

I think, there is a bug in File.mtime, unfortunately: Using: ruby 1.8.4 (2005-12-24) \[i386-mswin32\] Windows XP with NTFS filesystem When reading File.mtime( ‘any existing filename’), the result is different by one …

---

## [Help Ruby Emacs on Ubuntu](https://www.ruby-forum.com/t/help-ruby-emacs-on-ubuntu/93410)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 2, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/help-ruby-emacs-on-ubuntu/93410 "2006-04-02T18:15:14Z")

</div>

Hi All I know I am trying to tackle to many thing at once but it just the way it is. I would like to learn Ruby and I have purchased a couple of books (I know a couple of other languages so I am not new to programmin…

---

## [Ruby on HP-UX](https://www.ruby-forum.com/t/ruby-on-hp-ux/84923)

<div class="topic-metadata">

**Author:** [@Tim\_Nordloh](https://www.ruby-forum.com/u/Tim_Nordloh)\
**Replies:** 33\
**Last updated:** [April 2, 2006, 5:47pm UTC](https://www.ruby-forum.com/t/ruby-on-hp-ux/84923 "2006-04-02T17:47:21Z")

</div>

I have read a couple of posts regarding compiling Ruby on HP-UX 11i, and I’m hoping for a little more insight on the exact requirements of doing that type of install. Basically, the posts I have read haven’t been un…

---

## [Ruby Goes to the Sun](https://www.ruby-forum.com/t/ruby-goes-to-the-sun/56605)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 12\
**Last updated:** [April 2, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/ruby-goes-to-the-sun/56605 "2006-04-02T17:09:55Z")

</div>

I’ve not seen this translated anyplace, but the Japanese Ruby site has an announcement about Ruby being bought (yeah, I was surprised, too) by Sun Microsystems; Matz is moving to California! The purchase takes effect …

---

## [Eval needs explicit self for accessor methods?](https://www.ruby-forum.com/t/eval-needs-explicit-self-for-accessor-methods/56604)

<div class="topic-metadata">

**Author:** [@tfdj](https://www.ruby-forum.com/u/tfdj)\
**Replies:** 7\
**Last updated:** [April 2, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/eval-needs-explicit-self-for-accessor-methods/56604 "2006-04-02T16:51:18Z")

</div>

hi all! i encountered a strange problem with eval. please see the following test case: require ‘test/unit’ class TestContext def eval\_in\_context( ruby\_code ) instance\_eval ruby\_code end def toast @toast end de…

---

## [I can't get hash list params working](https://www.ruby-forum.com/t/i-cant-get-hash-list-params-working/56673)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/i-cant-get-hash-list-params-working/56673 "2006-04-02T16:48:17Z")

</div>

Hi I must be doing something stoopid here. Can anyone explain why I get an error on the last line of this irb session? irb(main):014:0\> def a(a=nil,\*b) irb(main):015:1\> puts a.inspect irb(main):016:1\> puts b.in…

---

## [FasterCSV 0.2.0 -- The user requests release!](https://www.ruby-forum.com/t/fastercsv-0-2-0-the-user-requests-release/56628)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/fastercsv-0-2-0-the-user-requests-release/56628 "2006-04-02T16:45:15Z")

</div>

FasterCSV 0.2.0 Released FasterCSV has a ton of new features from requests (some even provided patches) by you! It’s very hard for me to pick what to show off here, but if I had to pick two favorites it would be usi…

---

## [Gems for capturing video?](https://www.ruby-forum.com/t/gems-for-capturing-video/56460)

<div class="topic-metadata">

**Author:** [@Kev\_J](https://www.ruby-forum.com/u/Kev_J)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/gems-for-capturing-video/56460 "2006-04-02T16:29:13Z")

</div>

Hi, I’m looking into the possibility of using ruby to drive a video capture of an application in use. Does anyone know of any gems/libs that would be useful for this project? (unfortunately I’m stuck on windows) My…

---

## [Odd number list for hash error and command line parsers in g](https://www.ruby-forum.com/t/odd-number-list-for-hash-error-and-command-line-parsers-in-g/56668)

<div class="topic-metadata">

**Author:** [@Talha\_O](https://www.ruby-forum.com/u/Talha_O)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/odd-number-list-for-hash-error-and-command-line-parsers-in-g/56668 "2006-04-02T15:18:31Z")

</div>

Hi, I am trying to use getoptlong package. From the documentation I have borrowed the following code fragment with a little modification. I receive “odd number list for hash” error at eval statement between somewhere…

---

## [$/kEND parse error nightmare](https://www.ruby-forum.com/t/kend-parse-error-nightmare/56548)

<div class="topic-metadata">

**Author:** [@Kurt\_VSHindenburg](https://www.ruby-forum.com/u/Kurt_VSHindenburg)\
**Replies:** 4\
**Last updated:** [April 2, 2006, 1:21pm UTC](https://www.ruby-forum.com/t/kend-parse-error-nightmare/56548 "2006-04-02T13:21:37Z")

</div>

Hello, In all the time I’ve used Ruby, I’ve never come across such an aggravating, uninformative error message… argh! parse error, unexpected $, expecting kEND wtf? Regards, Kurt % ruby --version ruby 1.8.4 (200…

---

## [Compile requirements of Ruby and Extensions](https://www.ruby-forum.com/t/compile-requirements-of-ruby-and-extensions/56607)

<div class="topic-metadata">

**Author:** [@subroutine](https://www.ruby-forum.com/u/subroutine)\
**Replies:** 3\
**Last updated:** [April 2, 2006, 12:29pm UTC](https://www.ruby-forum.com/t/compile-requirements-of-ruby-and-extensions/56607 "2006-04-02T12:29:03Z")

</div>

Hi, is there anywhere a list what libs ruby and a extension needs to be configured and compiled? Thanks. Markus

---

## [Gathering ngrams with the highest probability](https://www.ruby-forum.com/t/gathering-ngrams-with-the-highest-probability/56659)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 2\
**Last updated:** [April 2, 2006, 11:30am UTC](https://www.ruby-forum.com/t/gathering-ngrams-with-the-highest-probability/56659 "2006-04-02T11:30:35Z")

</div>

Hi group. I’m writing some scientific applications with Ruby, and found a frequent problem that I want to solve with Ruby. I got tons of instances of NGram whose definition is as follows: NGram = Struct.new :seq, :pr…

---

## [Looking for help](https://www.ruby-forum.com/t/looking-for-help/56644)

<div class="topic-metadata">

**Author:** [@blackcat](https://www.ruby-forum.com/u/blackcat)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 11:05am UTC](https://www.ruby-forum.com/t/looking-for-help/56644 "2006-04-02T11:05:58Z")

</div>

I just switched to Ruby and I am finding my way through it. One of the things I do a lot of is use serial ports to talk to devices. I have been looking for the best way to support serial ports using Ruby. I would app…

---

## [Lirpa 1.0](https://www.ruby-forum.com/t/lirpa-1-0/93411)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 1\
**Last updated:** [April 2, 2006, 9:04am UTC](https://www.ruby-forum.com/t/lirpa-1-0/93411 "2006-04-02T09:04:24Z")

</div>

Introducing Lirpa 1.0! Lirpa 1.0 is an advanced lie detection system based on a heuristic reverse engineering engine. It can take any set of data points and find the underlying functional bell-curve system(s) within, …

---

## [\[ANN\] Instiki 0.11.0 - ActiveRecord Forever](https://www.ruby-forum.com/t/ann-instiki-0-11-0-activerecord-forever/55302)

<div class="topic-metadata">

**Author:** [@alexeyv](https://www.ruby-forum.com/u/alexeyv)\
**Replies:** 5\
**Last updated:** [April 2, 2006, 5:45am UTC](https://www.ruby-forum.com/t/ann-instiki-0-11-0-activerecord-forever/55302 "2006-04-02T05:45:19Z")

</div>

Dear all, If you thought Instiki was a dead project, you were right. Since I’ve got a day job that doesn’t suck (Official Ruby Zealot of ThoughtWorks Canada), my motivation to do open source greatly sufferred …

---

## [Rand](https://www.ruby-forum.com/t/rand/93413)

<div class="topic-metadata">

**Author:** [@reversejt](https://www.ruby-forum.com/u/reversejt)\
**Replies:** 2\
**Last updated:** [April 2, 2006, 5:35am UTC](https://www.ruby-forum.com/t/rand/93413 "2006-04-02T05:35:29Z")

</div>

I have been searching through the ruby doc trying to find out which class the method rand belongs to as I need to find out how to pass in a range as a parameter? Does anyone know which class rand belongs too? Thank…

---

## [New to ruby.. need a code](https://www.ruby-forum.com/t/new-to-ruby-need-a-code/93394)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 2, 2006, 5:02am UTC](https://www.ruby-forum.com/t/new-to-ruby-need-a-code/93394 "2006-04-02T05:02:21Z")

</div>

Hi all I am new to Ruby. Found it as an intersting language. Can anyone help me with a simple code in Ruby to check for all the dead and live links in a website ? Thanks Rati

---

## [Newbie! Programming Calculations](https://www.ruby-forum.com/t/newbie-programming-calculations/56637)

<div class="topic-metadata">

**Author:** [@Indifferent](https://www.ruby-forum.com/u/Indifferent)\
**Replies:** 8\
**Last updated:** [April 2, 2006, 4:12am UTC](https://www.ruby-forum.com/t/newbie-programming-calculations/56637 "2006-04-02T04:12:59Z")

</div>

Im new to programming, im learning ruby. Here is the guide I am working through: http://pine.fm/LearnToProgram/?Chapter=01 At the bottom of the page there are these sample calculations: puts 5 \* (12-8) + -15 (is that…

---

## [Ruby-dev summary 28274-28600](https://www.ruby-forum.com/t/ruby-dev-summary-28274-28600/56580)

<div class="topic-metadata">

**Author:** [@APURI\_Furuhashi](https://www.ruby-forum.com/u/APURI_Furuhashi)\
**Replies:** 15\
**Last updated:** [April 2, 2006, 3:06am UTC](https://www.ruby-forum.com/t/ruby-dev-summary-28274-28600/56580 "2006-04-02T03:06:11Z")

</div>

Hi all, This is a summary of ruby-dev ML in these days. \[ruby-dev:28246\] Named Capture for Regexp K. Kosako proposed a new /g and /G flag for regexp, to refer to the result of named capture by the name to Ruby 1.9 M…

---

## [Lazyscript 0.2.0](https://www.ruby-forum.com/t/lazyscript-0-2-0/56641)

<div class="topic-metadata">

**Author:** [@benny](https://www.ruby-forum.com/u/benny)\
**Replies:** 0\
**Last updated:** [April 2, 2006, 2:41am UTC](https://www.ruby-forum.com/t/lazyscript-0-2-0/56641 "2006-04-02T02:41:46Z")

</div>

Benny is happy to announce the release of lazyscript.rb 0.2.0 WARNING: this release is slightly incompatible to the initial release 0.1.0 (see changelog below) Dear rubyists, please give it a try and let me hear wh…

---

## [Converting numbers via bit dropping](https://www.ruby-forum.com/t/converting-numbers-via-bit-dropping/56638)

<div class="topic-metadata">

**Author:** [@lists](https://www.ruby-forum.com/u/lists)\
**Replies:** 2\
**Last updated:** [April 2, 2006, 2:08am UTC](https://www.ruby-forum.com/t/converting-numbers-via-bit-dropping/56638 "2006-04-02T02:08:11Z")

</div>

Hi, I’m trying to figure out how to convert a number by dropping bits higher than the range that I want. For example, I’d like to convert 248 (0000 0001 0001 1100) into 28 (0001 1100) by converting any bits over the…

---

## [./configure doesn't like CFLAGS='-ggdb'](https://www.ruby-forum.com/t/configure-doesnt-like-cflags-ggdb/56083)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 5\
**Last updated:** [April 2, 2006, 1:52am UTC](https://www.ruby-forum.com/t/configure-doesnt-like-cflags-ggdb/56083 "2006-04-02T01:52:45Z")

</div>

My RubyCocoa app has started exploding with “BUS ERROR,” or perhaps more precisely, Program received signal: “EXC\_BAD\_ACCESS”. Asking the debugger to help told me that it was caused as a result of something going wr…

---

## [Important features of Ruby](https://www.ruby-forum.com/t/important-features-of-ruby/93392)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/important-features-of-ruby/93392 "2006-04-01T23:19:34Z")

</div>

Dear all, I’m pretty new to Ruby and I’ve discovered that it has a number of nice ideas such as blocks and mixins. I wonder, however, what features of Ruby would the experts consider as being the most important ones? …

---

## [Ixnay on the Amphibious Programming](https://www.ruby-forum.com/t/ixnay-on-the-amphibious-programming/56602)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 5\
**Last updated:** [April 1, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/ixnay-on-the-amphibious-programming/56602 "2006-04-01T22:58:07Z")

</div>

I have finally come to the conclusion that the non-localality of instance variables, independent of attribute methods, is not good. Under worse case scenarios, it can lead to amphibious programming – class diving to f…

---

## [Add a Module#attr\_validator method](https://www.ruby-forum.com/t/add-a-module-attr-validator-method/56608)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 10:48pm UTC](https://www.ruby-forum.com/t/add-a-module-attr-validator-method/56608 "2006-04-01T22:48:36Z")

</div>

I couldn’t find a Facets mailing list, and I know the developers use this list, so therefore I send my proposal here. I’d like to see the addition of an attribute validator, i.e. a setter that checks to see if a block…

---

## [Strange order of execution](https://www.ruby-forum.com/t/strange-order-of-execution/89783)

<div class="topic-metadata">

**Author:** [@Dirk\_T](https://www.ruby-forum.com/u/Dirk_T)\
**Replies:** 15\
**Last updated:** [April 1, 2006, 10:27pm UTC](https://www.ruby-forum.com/t/strange-order-of-execution/89783 "2006-04-01T22:27:12Z")

</div>

Hi list! I had a strange effect, when I combined print with several strings and a method. Please look at this example: ############## def method1 print “string\_2\_method”, " - " return "return\_string\_method - " en…

---

## [List.rhtml](https://www.ruby-forum.com/t/list-rhtml/93403)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/list-rhtml/93403 "2006-04-01T21:07:13Z")

</div>

I have designed a messageboard and i have gone into list.rhtml to make it look better (changing the default title… ect.) But when i try to change the title …ect nothing happens Could someone please help me Thanks Ch…

---

## [Regular Expression matching biggest possible](https://www.ruby-forum.com/t/regular-expression-matching-biggest-possible/56609)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/regular-expression-matching-biggest-possible/56609 "2006-04-01T20:42:40Z")

</div>

Hi, I would like to remove comments from a JavaScript file with a Ruby script. I discovered that my regular expression matching seems to match the biggest possible substring. def show\_regexp(a,re) if a =~ re “#{$\`}\<…

---

## [Regexp madness](https://www.ruby-forum.com/t/regexp-madness/93396)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 8:24pm UTC](https://www.ruby-forum.com/t/regexp-madness/93396 "2006-04-01T20:24:14Z")

</div>

OK you Regexp gurus out there (has anyone noticed the relative size of regexp threads -anything with regexp seems to excite lots of attention). I have a puzzler. I’ve been combing the ruby-talk archives trying to conv…

---

## [Blog.rb 1.0](https://www.ruby-forum.com/t/blog-rb-1-0/93399)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/blog-rb-1-0/93399 "2006-04-01T19:08:07Z")

</div>

blog.rb 1.0 Blogging - the Ruby Way. blog.rb is a full-heap, open-source blog framework in Ruby for writing real-world blogs with joy and less keystrokes than most frameworks spend doing markup sit-ups. Features of …

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

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