# Ruby

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

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

---

## [Small Doubt in Ruby](https://www.ruby-forum.com/t/small-doubt-in-ruby/147111)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 6\
**Last updated:** [August 29, 2008, 4:14am UTC](https://www.ruby-forum.com/t/small-doubt-in-ruby/147111 "2008-08-29T04:14:15Z")

</div>

Hi. I want to know whether assembly programming is possible in Ruby like in C or C++. Please also give some links for that if possible. Thank you

---

## [To create MyDate class](https://www.ruby-forum.com/t/to-create-mydate-class/147125)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 2:36am UTC](https://www.ruby-forum.com/t/to-create-mydate-class/147125 "2008-08-29T02:36:42Z")

</div>

im newly with this so i really need a help from u guys to slove my problem, How can i create a MyDate class with increment and sorting in ascending?? Thanx for da help really appreciated

---

## [Calling sendmsg() from Ruby](https://www.ruby-forum.com/t/calling-sendmsg-from-ruby/146820)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 1\
**Last updated:** [August 29, 2008, 2:29am UTC](https://www.ruby-forum.com/t/calling-sendmsg-from-ruby/146820 "2008-08-29T02:29:32Z")

</div>

Hello I’m trying to call the sendmsg() system call from ruby in a way that allocates space for the kernel to set the user credentials in the appropriate structures (this is in FreeBSD i386). I’m using the code below,…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/147168)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [August 29, 2008, 12:34am UTC](https://www.ruby-forum.com/t/unsubscribe/147168 "2008-08-29T00:34:20Z")

</div>

unsubscribe Feel free to awake this list’s Owner so that he/she can remove my name. I’ve tried “unsubscribe” for the past 48 hours. CW. -------------- Original message ---------------------- From: John Pritchard-wil…

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 29, 2008, 12:23am UTC](https://www.ruby-forum.com/t/re-unsubscribe/197085 "2008-08-29T00:23:48Z")

</div>

\-------------- Original message ---------------------- From: removed\_email\_address@domain.invalid

---

## [Open3 and background processes](https://www.ruby-forum.com/t/open3-and-background-processes/146926)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 12:22am UTC](https://www.ruby-forum.com/t/open3-and-background-processes/146926 "2008-08-29T00:22:03Z")

</div>

Hi all, I’ve got a poor man’s init script where I’m firing off a Ruby process in the background if it’s not already running. If the process fails, no problemo. The process I called dies, I pull the error from the std…

---

## [Japanese Heritage of Ruby: useful by-product?](https://www.ruby-forum.com/t/japanese-heritage-of-ruby-useful-by-product/147167)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 4\
**Last updated:** [August 29, 2008, 12:20am UTC](https://www.ruby-forum.com/t/japanese-heritage-of-ruby-useful-by-product/147167 "2008-08-29T00:20:18Z")

</div>

Apologies if this is in the wrong forum, I just thought it was interesting… After reading : (“Is QWERTY harming language design?”), I thought maybe Japanese Kanji are actually useful in programming - even in the We…

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 29, 2008, 12:10am UTC](https://www.ruby-forum.com/t/re-unsubscribe/197181 "2008-08-29T00:10:55Z")

</div>

\-------------- Original message ---------------------- From: removed\_email\_address@domain.invalid

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 29, 2008, 12:09am UTC](https://www.ruby-forum.com/t/re-unsubscribe/196794 "2008-08-29T00:09:10Z")

</div>

\-------------- Original message ---------------------- From: removed\_email\_address@domain.invalid

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 29, 2008, 12:08am UTC](https://www.ruby-forum.com/t/re-unsubscribe/147169 "2008-08-29T00:08:35Z")

</div>

\-------------- Original message ---------------------- From: removed\_email\_address@domain.invalid

---

## [Subtle bug with catch/throw. Am I missing something?](https://www.ruby-forum.com/t/subtle-bug-with-catch-throw-am-i-missing-something/147154)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 9\
**Last updated:** [August 28, 2008, 11:32pm UTC](https://www.ruby-forum.com/t/subtle-bug-with-catch-throw-am-i-missing-something/147154 "2008-08-28T23:32:44Z")

</div>

Hi, I’m having trouble locating this bug that I’m having. I think it’s because I don’t completely understand Ruby’s throw/catch mechanism. I’m trying to write a simple example that demonstrates the same problem, but …

---

## [Blacklisted search terms](https://www.ruby-forum.com/t/blacklisted-search-terms/147161)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [August 28, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/blacklisted-search-terms/147161 "2008-08-28T23:03:27Z")

</div>

I’m building somewhat of a search engine and have been trying to find a list of blacklisted search terms. Words that I can exclude from the search, such as “and”, “the”, “a”, etc. I’ve been looking forever and can’t f…

---

## [Confused by scope in ruby](https://www.ruby-forum.com/t/confused-by-scope-in-ruby/147089)

<div class="topic-metadata">

**Author:** [@mischa](https://www.ruby-forum.com/u/mischa)\
**Replies:** 4\
**Last updated:** [August 28, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/confused-by-scope-in-ruby/147089 "2008-08-28T22:42:43Z")

</div>

Hello, I’ve been writing in ruby for a bit, but ran into something while working on a project that struck me as weird, and could not find a ready explanation. Sorry if this is something super basic… Here is a simpli…

---

## [IronRuby on Netbeans](https://www.ruby-forum.com/t/ironruby-on-netbeans/146567)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 11\
**Last updated:** [August 28, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/146567 "2008-08-28T22:26:00Z")

</div>

Hello, This is just my suggestion. Netbeans 6.5 shall support (1)Ruby (2) JRuby (3) Python and (4) Php. These are all open source projects(languages) and so is IronRuby. I understand Sun and Microsoft are rivals, but…

---

## [JRuby 1.1.4 Released](https://www.ruby-forum.com/t/jruby-1-1-4-released/147152)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 2\
**Last updated:** [August 28, 2008, 10:23pm UTC](https://www.ruby-forum.com/t/jruby-1-1-4-released/147152 "2008-08-28T22:23:39Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.1.4! Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.1.4 is the fourth point release of JRuby 1.1. The fixes in this …

---

## [Dertemining what is sending ABRT signal](https://www.ruby-forum.com/t/dertemining-what-is-sending-abrt-signal/147158)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 28, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/dertemining-what-is-sending-abrt-signal/147158 "2008-08-28T22:17:47Z")

</div>

Some of my ruby processes quit saying they were aborted. I just put in place Signal.trap(“ABRT”) {… } code what I want to know is what is generating the ABRT signal. Is there a way to find out or trace it, even if it…

---

## [Webrick Servlet: 'chomping' ? Is this slowing it down?](https://www.ruby-forum.com/t/webrick-servlet-chomping-is-this-slowing-it-down/147155)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 0\
**Last updated:** [August 28, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/webrick-servlet-chomping-is-this-slowing-it-down/147155 "2008-08-28T21:40:21Z")

</div>

Hi, I’m not using Rails: just a standalone ‘Webrick’ Server. I have a very simple Servlet which is serving text files: it works, but I notice that it seeming to be two (maybe related?) things I need to fix: It is ‘…

---

## [Having a difficult time with Case statements](https://www.ruby-forum.com/t/having-a-difficult-time-with-case-statements/147057)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 11\
**Last updated:** [August 28, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/having-a-difficult-time-with-case-statements/147057 "2008-08-28T21:31:59Z")

</div>

I am trying to implement a simple frontend for a text adventure that I’m putting together for ruby practice. My idea was to use case - when to validate player input and to progress through a menu system, character cre…

---

## [Decode/encode Unicode](https://www.ruby-forum.com/t/decode-encode-unicode/147083)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 4\
**Last updated:** [August 28, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/decode-encode-unicode/147083 "2008-08-28T20:15:46Z")

</div>

How to decode a String type to Unicode? And, to encode Unicode to String?

---

## [Newb question: Printing a class](https://www.ruby-forum.com/t/newb-question-printing-a-class/147139)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 5\
**Last updated:** [August 28, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/newb-question-printing-a-class/147139 "2008-08-28T20:10:03Z")

</div>

Hello, Im new to the forum and new to Ruby, but I have programmed before. Im reading through this tutorial as my first venture into Ruby: http://www.math.umd.edu/~dcarrera/ruby/0.3/index.html I apologize if this is t…

---

## [Uptime Since... (#174)](https://www.ruby-forum.com/t/uptime-since-174/147145)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 0\
**Last updated:** [August 28, 2008, 7:49pm UTC](https://www.ruby-forum.com/t/uptime-since-174/147145 "2008-08-28T19:49:23Z")

</div>

First thing: the quiz name is off. Really, it should properly have been called “Up Since…”, as we’re looking for the time of reboot. The uptime command was in my mind, though, which is why the title is strange. There…

---

## [Dumb "array of arrays" question](https://www.ruby-forum.com/t/dumb-array-of-arrays-question/146831)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 9\
**Last updated:** [August 28, 2008, 7:16pm UTC](https://www.ruby-forum.com/t/dumb-array-of-arrays-question/146831 "2008-08-28T19:16:31Z")

</div>

Hi, I wrote the following intending to create an array of 3 element, each being itself an array of two elements initialized to zero; Judging by “inspect”, I seem to have that: a = Array.new(3, \[0,0\]) =\> \[\[0, 0\], \[0,…

---

## [Is 1.1.1 the latest version of rails-integration.jar?](https://www.ruby-forum.com/t/is-1-1-1-the-latest-version-of-rails-integration-jar/147135)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [August 28, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/is-1-1-1-the-latest-version-of-rails-integration-jar/147135 "2008-08-28T19:10:16Z")

</div>

Working w/Goldspike and wanting to include the latest version of rails-integration.jar. I have 1.1.1 - is that the latest version? And more importantly, where can I go online to verify it? I spent about 15 minutes …

---

## [Order some files by time before display](https://www.ruby-forum.com/t/order-some-files-by-time-before-display/147128)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [August 28, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/order-some-files-by-time-before-display/147128 "2008-08-28T18:57:59Z")

</div>

Hi everybody, I have write a short script that display each article of a folder: require ‘find’ result = \[\] @pattern = ‘\*.html’ Find.find(‘public/2008/’) do |p| next unless File.file?§ name = File.basename§ resul…

---

## [Does ruby have an http proxy](https://www.ruby-forum.com/t/does-ruby-have-an-http-proxy/147065)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 3\
**Last updated:** [August 28, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/does-ruby-have-an-http-proxy/147065 "2008-08-28T18:10:21Z")

</div>

Hi guys! Is there an http proxy module that could be used ? For example , I would like to point my browser through it and filter some web content using my proxy. I know the same thing could be done using greasemonkey …

---

## [Hpricot query](https://www.ruby-forum.com/t/hpricot-query/147122)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 7\
**Last updated:** [August 28, 2008, 6:07pm UTC](https://www.ruby-forum.com/t/hpricot-query/147122 "2008-08-28T18:07:25Z")

</div>

Hi all, I have a question about Hpricot: I’m trying to parse an XML document (a google calendar feed), but I have problems when I try to get attributes of a tag with a namespace (ie: a colon). Here’s my code for this…

---

## [Resizing images in rails?](https://www.ruby-forum.com/t/resizing-images-in-rails/147012)

<div class="topic-metadata">

**Author:** [@ravikanth](https://www.ruby-forum.com/u/ravikanth)\
**Replies:** 2\
**Last updated:** [August 28, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/resizing-images-in-rails/147012 "2008-08-28T17:56:18Z")

</div>

Hi, how to resize the images in rails app? i want 400X300 size images to display in my app.But if user enter 600X800 how to resize the image without effect on clarity? now i am using this code image = Magick::Image…

---

## [Request for feedback, suggestions, contributions](https://www.ruby-forum.com/t/request-for-feedback-suggestions-contributions/147129)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 0\
**Last updated:** [August 28, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/request-for-feedback-suggestions-contributions/147129 "2008-08-28T17:39:52Z")

</div>

I’m attempting to write a module whose classes will make it easier to construct and work with regular expressions. The two, somewhat self explanatory files (main and test) are given below. I would be grateful for feed…

---

## [Uptime Since... (#174)](https://www.ruby-forum.com/t/uptime-since-174/146651)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 25\
**Last updated:** [August 28, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/uptime-since-174/146651 "2008-08-28T17:36:56Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q. 2: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on th…

---

## [DoS vulnerability in REXML](https://www.ruby-forum.com/t/dos-vulnerability-in-rexml/146637)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 15\
**Last updated:** [August 28, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/dos-vulnerability-in-rexml/146637 "2008-08-28T17:05:17Z")

</div>

Hello, DoS vulenerabilitiy has been discovered in REXML. You can also read this report at the following URL. URL:http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ = DoS vulnerability in REXM…

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

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