# Ruby

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

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

---

## [Advanced rubycocoa: full-screen applications? (Can I access](https://www.ruby-forum.com/t/advanced-rubycocoa-full-screen-applications-can-i-access/49822)

<div class="topic-metadata">

**Author:** [@bg-rubytalk](https://www.ruby-forum.com/u/bg-rubytalk)\
**Replies:** 8\
**Last updated:** [January 11, 2006, 1:54am UTC](https://www.ruby-forum.com/t/advanced-rubycocoa-full-screen-applications-can-i-access/49822 "2006-01-11T01:54:00Z")

</div>

Hi guys, I’m really pushing the RubyCocoa boundaries for a demo I’m trying to build. I want to display a QuartzComposer application full-screen (i.e. no menu bar, no dock, etc.) and then control it by Ruby. So far, …

---

## [Mark Sparshatt Please Email Me](https://www.ruby-forum.com/t/mark-sparshatt-please-email-me/94973)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [January 11, 2006, 12:47am UTC](https://www.ruby-forum.com/t/mark-sparshatt-please-email-me/94973 "2006-01-11T00:47:33Z")

</div>

Sorry to spam this list, again, but all my attempts to reach Mark Sparshatt by email have failed. If you see this, could you please send a message I could respond to: removed\_email\_address@domain.invalid It is a Rub…

---

## [Finding CPU% of a linux task](https://www.ruby-forum.com/t/finding-cpu-of-a-linux-task/60829)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 8\
**Last updated:** [January 11, 2006, 12:32am UTC](https://www.ruby-forum.com/t/finding-cpu-of-a-linux-task/60829 "2006-01-11T00:32:31Z")

</div>

Hi, I’m writing a small Ruby module that can find how much cpu percentage a given task is using. I’m doing it by getting the process id of the task that I care about, going into proc, checking the stat file for the …

---

## [You want a Ruby extension? Talk to me, baby](https://www.ruby-forum.com/t/you-want-a-ruby-extension-talk-to-me-baby/51863)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 24\
**Last updated:** [January 10, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/you-want-a-ruby-extension-talk-to-me-baby/51863 "2006-01-10T23:29:12Z")

</div>

Hi, I’ve figured that it’s probably worth my time to learn how to better write Ruby extensions (as a way to practice my C). Are there any C or C++ libraries out there that someone would appreciate an open-sourced Rub…

---

## [RubyMock URL not working?](https://www.ruby-forum.com/t/rubymock-url-not-working/51945)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 2\
**Last updated:** [January 10, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/rubymock-url-not-working/51945 "2006-01-10T23:20:08Z")

</div>

Hi everyone, The URL listed on http://www.rubygarden.org/ruby?RubyMock for b13media doesn’t seem to work anymore. Is there another URL? Or does anyone suggest using Test::Unit::Mock instead? Thanks! Sean

---

## [Systems Developer-Toronto!](https://www.ruby-forum.com/t/systems-developer-toronto/52092)

<div class="topic-metadata">

**Author:** [@proex](https://www.ruby-forum.com/u/proex)\
**Replies:** 1\
**Last updated:** [January 10, 2006, 10:49pm UTC](https://www.ruby-forum.com/t/systems-developer-toronto/52092 "2006-01-10T22:49:45Z")

</div>

Systems Developer- Toronto Overall Responsibility: To assist and lead in the fulfilment of organizational needs and goals of the Company through the design, development, programming, implementation, integration, main…

---

## ["chomping" an array at read time](https://www.ruby-forum.com/t/chomping-an-array-at-read-time/51958)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 5\
**Last updated:** [January 10, 2006, 8:55pm UTC](https://www.ruby-forum.com/t/chomping-an-array-at-read-time/51958 "2006-01-10T20:55:56Z")

</div>

Team, ruby -v === ruby 1.8.2 (2004-12-25) \[powerpc-aix4.3.3.0\] Please don’t laugh at my simplistic coding “techniques?” I am reading a file which contains 1041 one token records into an array: f\_lus = File.open("/fil…

---

## [Not a good way to start my day](https://www.ruby-forum.com/t/not-a-good-way-to-start-my-day/52057)

<div class="topic-metadata">

**Author:** [@mr\_ra88it](https://www.ruby-forum.com/u/mr_ra88it)\
**Replies:** 1\
**Last updated:** [January 10, 2006, 8:46pm UTC](https://www.ruby-forum.com/t/not-a-good-way-to-start-my-day/52057 "2006-01-10T20:46:53Z")

</div>

Hello all, I got up this morning and finally got around to compiling and installing 2.8.4 on my ibook. Everything seemed fine 'til I tried to crank up my time keeping application that I wrote in Rails. This triggered…

---

## [Futures in Ruby](https://www.ruby-forum.com/t/futures-in-ruby/51984)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 7\
**Last updated:** [January 10, 2006, 8:25pm UTC](https://www.ruby-forum.com/t/futures-in-ruby/51984 "2006-01-10T20:25:07Z")

</div>

I was looking at the Io documentation, just to see what the language looked like and saw the asynchronous support, pretty cool. Then it sort of dawned on my how Futures worked, no it isn’t all that complicated, but I…

---

## [Dice Roller (#61)](https://www.ruby-forum.com/t/dice-roller-61/51758)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 110\
**Last updated:** [January 10, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/dice-roller-61/51758 "2006-01-10T20:19:00Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Fwd: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-ruby-quiz-submission/60815)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/fwd-ruby-quiz-submission/60815 "2006-01-10T20:15:59Z")

</div>

Begin forwarded message:

---

## [PHP Ruby bridge](https://www.ruby-forum.com/t/php-ruby-bridge/52083)

<div class="topic-metadata">

**Author:** [@hildolfur](https://www.ruby-forum.com/u/hildolfur)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/php-ruby-bridge/52083 "2006-01-10T19:31:29Z")

</div>

Hello Ruby users, I’m searching for a PHP-Ruby bridge, something like the PHP Java bridge at sourceforge. As I didn’t find anything except a serialization script, I fear there doesn’t exist one. Anyway, I think this …

---

## [Daemonize like fetchmail](https://www.ruby-forum.com/t/daemonize-like-fetchmail/56351)

<div class="topic-metadata">

**Author:** [@Payton\_S](https://www.ruby-forum.com/u/Payton_S)\
**Replies:** 7\
**Last updated:** [January 10, 2006, 6:42pm UTC](https://www.ruby-forum.com/t/daemonize-like-fetchmail/56351 "2006-01-10T18:42:04Z")

</div>

Has anyone used the Daemons library (http://daemons.rubyforge.org/) extensively? I’m trying to do something that doesn’t appear covered by the examples, and I’m wondering if I need to reinvent the wheel. What I’d lik…

---

## [Flawed use of ConditionVariable](https://www.ruby-forum.com/t/flawed-use-of-conditionvariable/94921)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 1\
**Last updated:** [January 10, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/flawed-use-of-conditionvariable/94921 "2006-01-10T18:39:04Z")

</div>

Example code I’ve seen that uses a ConditionVariable seems to have a timing flaw. For example, in Pickaxe 2, page 147 in the Player/Customer example, the player thread does plays\_pending.wait\_while { playlist.empty? } …

---

## [Smoking out C extension mistakes](https://www.ruby-forum.com/t/smoking-out-c-extension-mistakes/52070)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [January 10, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/smoking-out-c-extension-mistakes/52070 "2006-01-10T18:11:47Z")

</div>

Hi all, Every once in a while I’ll hit a segfault that turns out to be caused by accidentally passing a C datatype to a macro like NIL\_P (which, naturally, I can’t duplicate with a simple example, but recently occurr…

---

## [Date Conversions](https://www.ruby-forum.com/t/date-conversions/60763)

<div class="topic-metadata">

**Author:** [@christer](https://www.ruby-forum.com/u/christer)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 5:50pm UTC](https://www.ruby-forum.com/t/date-conversions/60763 "2006-01-10T17:50:35Z")

</div>

There must be a better way of converting dates than this ugly mess ? def convert\_date format, s case format when “yymmddhhmmss” year = s\[0,2\].to\_i + 2000 month= s\[2,2\].to\_i day = s\[4,2\].to\_i hour = s\[6,2\].to\_i m…

---

## [Global variables are bad?](https://www.ruby-forum.com/t/global-variables-are-bad/51907)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 12\
**Last updated:** [January 10, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/global-variables-are-bad/51907 "2006-01-10T17:38:37Z")

</div>

Chaps, I’m not sure were I have read this but I recall a page or two saying that global variables are bad for some reason. I’ve overcome my main hurdle, of understanding some of the basics of OO. There’s loads of goo…

---

## [Use of eval](https://www.ruby-forum.com/t/use-of-eval/94913)

<div class="topic-metadata">

**Author:** [@rich](https://www.ruby-forum.com/u/rich)\
**Replies:** 2\
**Last updated:** [January 10, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/use-of-eval/94913 "2006-01-10T16:59:21Z")

</div>

I was thinking of adding a simple command console to a Ruby project I’m working on (something like a domain-specific REPL). Under what execution environment do the “eval”-ed strings execute, relative to the execution…

---

## [Problem with running foxruby on windows 2000](https://www.ruby-forum.com/t/problem-with-running-foxruby-on-windows-2000/52032)

<div class="topic-metadata">

**Author:** [@mohsena](https://www.ruby-forum.com/u/mohsena)\
**Replies:** 8\
**Last updated:** [January 10, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/problem-with-running-foxruby-on-windows-2000/52032 "2006-01-10T16:29:00Z")

</div>

Hello How are you ,I installed ruby 1.8.2 with fxruby 1.2.6 for windows ,I use windows 2000 ,I want to do the foxruby tutorials and I need to run foxruby ,but I donâ??t know realy how to do it in windows 2000 ,I do…

---

## [\[SOLUTION\] Dice Roller (#61)](https://www.ruby-forum.com/t/solution-dice-roller-61/52063)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/solution-dice-roller-61/52063 "2006-01-10T16:23:34Z")

</div>

My solution send out 17 hours ago from gmail. But it seems the mailing list still not receive it. So, I just re-send it from Ruby Forum. ( If later on, gmail does send out, please ignore it, my appologize ) ---------…

---

## [Re: About Tcl/Tk](https://www.ruby-forum.com/t/re-about-tcl-tk/51949)

<div class="topic-metadata">

**Author:** [@piet](https://www.ruby-forum.com/u/piet)\
**Replies:** 10\
**Last updated:** [January 10, 2006, 3:36pm UTC](https://www.ruby-forum.com/t/re-about-tcl-tk/51949 "2006-01-10T15:36:29Z")

</div>

Surgeon, -----Original Message----- From: Surgeon \[mailto:removed\_email\_address@domain.invalid\] In order to build GUIs with Ruby, should I learn Tk? By the way, I have tried to find Tk tutorials and I have seen tha…

---

## [Missing thread state?](https://www.ruby-forum.com/t/missing-thread-state/51988)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 1\
**Last updated:** [January 10, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/missing-thread-state/51988 "2006-01-10T14:56:53Z")

</div>

I’ve been looking at the ri documentation for Thread.status. It’s seems like there’s a thread status that isn’t accounted for. What is the status of a thread that is ready to run, but is waiting for the scheduler to s…

---

## [Embedding ruby + pthread](https://www.ruby-forum.com/t/embedding-ruby-pthread/51986)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 1\
**Last updated:** [January 10, 2006, 1:07pm UTC](https://www.ruby-forum.com/t/embedding-ruby-pthread/51986 "2006-01-10T13:07:03Z")

</div>

I have a C executable that I’m embedding a Ruby GUI (using ruby-gnome2) in. The GUI needs to run in it’s own thread. Are there any pitfalls I should be aware of? I’m currently using pthread. (I’m asking because my …

---

## [AJAX pains](https://www.ruby-forum.com/t/ajax-pains/94907)

<div class="topic-metadata">

**Author:** [@dvancoevorden](https://www.ruby-forum.com/u/dvancoevorden)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/ajax-pains/94907 "2006-01-10T12:12:44Z")

</div>

I will be doing some heavy-duty web rich client work in the near future for a project at work, and I’d like to ask if someone could recommend me a full AJAX setup that: a) Ties cleanly to a J2EE backend, possibly is e…

---

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

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 10:15am UTC](https://www.ruby-forum.com/t/ruby-weekly-news-2nd-8th-january-2006/94908 "2006-01-10T10:15:02Z")

</div>

http://www.rubyweeklynews.org/20060108.html Ruby Weekly News 2nd - 8th 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, broug…

---

## [Iphoto parsing](https://www.ruby-forum.com/t/iphoto-parsing/94730)

<div class="topic-metadata">

**Author:** [@p\_morrow](https://www.ruby-forum.com/u/p_morrow)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 8:53am UTC](https://www.ruby-forum.com/t/iphoto-parsing/94730 "2006-01-10T08:53:34Z")

</div>

Following up on my earlier plist posting, I’ve just put together a gem to read the iPhoto database: http://www.narf-lib.org/2006/01/iphoto2.html Cheers, Patrick

---

## [Re: Dice Roller (#61)](https://www.ruby-forum.com/t/re-dice-roller-61/51982)

<div class="topic-metadata">

**Author:** [@warren\_b](https://www.ruby-forum.com/u/warren_b)\
**Replies:** 1\
**Last updated:** [January 10, 2006, 6:55am UTC](https://www.ruby-forum.com/t/re-dice-roller-61/51982 "2006-01-10T06:55:47Z")

</div>

OK, I tried, but I just can’t stand it anymore… It’s one die, two dice. You can not have one dice. Warren B. Proud member of the Grammar Police :o)

---

## [Montastic: the free website monitoring system that doesn't s](https://www.ruby-forum.com/t/montastic-the-free-website-monitoring-system-that-doesnt-s/51994)

<div class="topic-metadata">

**Author:** [@jean\_vacance](https://www.ruby-forum.com/u/jean_vacance)\
**Replies:** 4\
**Last updated:** [January 10, 2006, 6:21am UTC](https://www.ruby-forum.com/t/montastic-the-free-website-monitoring-system-that-doesnt-s/51994 "2006-01-10T06:21:57Z")

</div>

We are proud to announce this free website monitoring service: Montastic will alert you by email if your website goes down, so you know about it before your customers call you. It is built with Ajax and Ruby on Rails.…

---

## [Need help to place my gem in proper location](https://www.ruby-forum.com/t/need-help-to-place-my-gem-in-proper-location/51957)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 4:57am UTC](https://www.ruby-forum.com/t/need-help-to-place-my-gem-in-proper-location/51957 "2006-01-10T04:57:34Z")

</div>

Hello Group, I have place my gem file at: http://rubyforge.org/projects/ruby-agi/ I thought, placeing any gem file in rubyforge would allow to execute gem install I must missing something, otherwise I won’t see thi…

---

## [OSCON 2006 Call for Participation](https://www.ruby-forum.com/t/oscon-2006-call-for-participation/52014)

<div class="topic-metadata">

**Author:** [@Glenn\_Vanderburg](https://www.ruby-forum.com/u/Glenn_Vanderburg)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 4:00am UTC](https://www.ruby-forum.com/t/oscon-2006-call-for-participation/52014 "2006-01-10T04:00:17Z")

</div>

The call for participation for this year’s O’Reilly Open Source Convention has been posted. It’s included below, and you can find it online here: The conference is July 24-28, and the deadline for submissions is F…

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

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