# Ruby

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

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

---

## [Re: ed borasky and his second favourite programming language](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97063)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [July 5, 2006, 5:31am UTC](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97063 "2006-07-05T05:31:19Z")

</div>

Thank you, Paul, for the link. Assuming that Ara’s link to Ed Borasky’s opinions also makes the case for R, I’ve two questions: obviously, you can like features of R very much, but what do you do if the code you ha…

---

## [Names, Names, Names, and Distractions](https://www.ruby-forum.com/t/names-names-names-and-distractions/97127)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 5, 2006, 5:25am UTC](https://www.ruby-forum.com/t/names-names-names-and-distractions/97127 "2006-07-05T05:25:00Z")

</div>

Dear Matz, With all the discussion of (the mere?) naming of certain method invocations lately I began to wonder about how your time is best spent. I wonder if you would care to comment on the tradeoff between your tim…

---

## [Hate to ask - weird puts/gets error](https://www.ruby-forum.com/t/hate-to-ask-weird-puts-gets-error/97118)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 1\
**Last updated:** [July 5, 2006, 1:43am UTC](https://www.ruby-forum.com/t/hate-to-ask-weird-puts-gets-error/97118 "2006-07-05T01:43:12Z")

</div>

Sorry, I didn’t want to be back here today. Having a problem with some interaction , basically things just freeze up. This is in Scite. I tried the same code in irb , everything is fine. print 'Enter birth year: 000…

---

## [Multiple Threads?](https://www.ruby-forum.com/t/multiple-threads/97085)

<div class="topic-metadata">

**Author:** [@marcan](https://www.ruby-forum.com/u/marcan)\
**Replies:** 7\
**Last updated:** [July 5, 2006, 1:27am UTC](https://www.ruby-forum.com/t/multiple-threads/97085 "2006-07-05T01:27:44Z")

</div>

I need to create a little client for a third party web service. The client should poll the service constantly. I need to monitor for new events (they don’t have callbacks apparently…) so they keep the connection open …

---

## [Mkmf.rb missing?](https://www.ruby-forum.com/t/mkmf-rb-missing/97103)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 2\
**Last updated:** [July 4, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/mkmf-rb-missing/97103 "2006-07-04T23:06:05Z")

</div>

Hi everyone, I just installed ruby on Ubuntu using apt-get, and it appears that mkmf.rb Is missing. I’m trying to find a place to get the file, but I’m having a hard time - could someone please tell me what I should …

---

## [Open-uri speed](https://www.ruby-forum.com/t/open-uri-speed/97007)

<div class="topic-metadata">

**Author:** [@curi](https://www.ruby-forum.com/u/curi)\
**Replies:** 7\
**Last updated:** [July 4, 2006, 10:31pm UTC](https://www.ruby-forum.com/t/open-uri-speed/97007 "2006-07-04T22:31:39Z")

</div>

I just discovered this. Lots of people already know, I’m sure, but maybe some don’t. net/http ran in: 128.734298 seconds. open-uri ran in: 268.869359 seconds. require “net/http” require “open-uri” def timing(name) …

---

## [Re: ed borasky and his second favourite programming language](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97097)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 4, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97097 "2006-07-04T21:29:10Z")

</div>

Dear Ed, Gnuplot is just a plotting engine, though, isn’t it? You still have to do the analysis in some language, right? That’s true except for simple things- but there are Ruby bindings available for it. Have…

---

## [Re: ed borasky and his second favourite programming language](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97088)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97088 "2006-07-04T21:06:54Z")

</div>

Dear Ed, thank you for your reply - it crossed my reply to Matthew, so I’ll update my statement by saying that my question “why does Ed Borasky” like R is now answered and in a very informative way. I am a mathe…

---

## [Re: ed borasky and his second favourite programming language](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97086)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 4, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97086 "2006-07-04T21:06:45Z")

</div>

Dear Matthew, you are running into open doors there - I did not write my last email to criticize anybody, but to ask why Ed Borasky likes to use R - that’s what the link Ara posted was promising to tell me - and I ha…

---

## [Ed borasky and his second favourite programming language](https://www.ruby-forum.com/t/ed-borasky-and-his-second-favourite-programming-language/97060)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [July 4, 2006, 8:53pm UTC](https://www.ruby-forum.com/t/ed-borasky-and-his-second-favourite-programming-language/97060 "2006-07-04T20:53:59Z")

</div>

hi all- check out the latest sciruby interview http://sciruby.codeforpeople.com/sr.cgi/SciRubyInterviews/EdBorasky where ruby-talk local ed borasky explains why ruby isn’t his favourite programming language and chalk…

---

## [Just For Fun: Ternaryish thingie on steroids](https://www.ruby-forum.com/t/just-for-fun-ternaryish-thingie-on-steroids/97081)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 8:13pm UTC](https://www.ruby-forum.com/t/just-for-fun-ternaryish-thingie-on-steroids/97081 "2006-07-04T20:13:37Z")

</div>

Not sure if this will ever be useful, but I thought it would be neat if i could build a little wrapper class that allowed me to pass in two objects, then define a conditional lambda and depending on what it returned, …

---

## [2.times -\>(\_){ a += 1 }](https://www.ruby-forum.com/t/2-times-a-1/97061)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [July 4, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/2-times-a-1/97061 "2006-07-04T18:14:54Z")

</div>

boron e$B$G$N\<:GT$NCf$K!“0J2\<$N$b$N$,$”$j$^$9!#e(B Error: test\_lambda\_as\_iterator(TestLambdaParameters): ArgumentError: wrong number of arguments (1 for 0) /home/akr/chkbuild/tmp/build/ruby-trunk/ruby/test/ruby/test…

---

## [ICFP Programming Contest: Interest in Ruby team?](https://www.ruby-forum.com/t/icfp-programming-contest-interest-in-ruby-team/97058)

<div class="topic-metadata">

**Author:** [@Maurice\_Codik](https://www.ruby-forum.com/u/Maurice_Codik)\
**Replies:** 1\
**Last updated:** [July 4, 2006, 5:56pm UTC](https://www.ruby-forum.com/t/icfp-programming-contest-interest-in-ruby-team/97058 "2006-07-04T17:56:01Z")

</div>

Hey all, Last year, I was on the organizing committee for the International Conference on Functional Programming’s annual programming contest. We had 161 teams participate in the competition, which is supposed to cro…

---

## [Re: ed borasky and his second favourite programming language](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97062)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 5:46pm UTC](https://www.ruby-forum.com/t/re-ed-borasky-and-his-second-favourite-programming-language/97062 "2006-07-04T17:46:37Z")

</div>

check out the latest sciruby interview http://sciruby.codeforpeople.com/sr.cgi/SciRubyInterviews/EdBorasky I cannot access that site … do I have to have a special account for it ? Best regards, Axel

---

## [SystemStackError with lambda {|a,&e| e.call(0) }.call(1) { p](https://www.ruby-forum.com/t/systemstackerror-with-lambda-a-e-e-call-0-call-1-p/97059)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/systemstackerror-with-lambda-a-e-e-call-0-call-1-p/97059 "2006-07-04T17:36:54Z")

</div>

e$B0J2\<$N$h$&$K$9$k$H!"e(Bstack level too deep e$B$H$J$j$^$9!#e(B % ./ruby -ve ‘lambda {|a,&e| e.call(0) }.call(1) { p 100 }’ ruby 1.9.0 (2006-07-04) \[i686-linux\] -e:1: stack level too deep (SystemStackError) from -e…

---

## [Ruby Weekly News 26th June - 2nd July 2006](https://www.ruby-forum.com/t/ruby-weekly-news-26th-june-2nd-july-2006/97039)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 12:11pm UTC](https://www.ruby-forum.com/t/ruby-weekly-news-26th-june-2nd-july-2006/97039 "2006-07-04T12:11:03Z")

</div>

http://www.rubyweeklynews.org/20060702.html Use the link above for a nicer version of this newsletter that’s formatted for the web, including links to threads and other sites. You can also subscribe to a newsletter-o…

---

## [Arrray#to\_proc](https://www.ruby-forum.com/t/arrray-to-proc/96747)

<div class="topic-metadata">

**Author:** [@mhinton](https://www.ruby-forum.com/u/mhinton)\
**Replies:** 7\
**Last updated:** [July 4, 2006, 11:05am UTC](https://www.ruby-forum.com/t/arrray-to-proc/96747 "2006-07-04T11:05:04Z")

</div>

I don’t know if this was posted previously, but I had the idea of a Array#to\_proc, an example would be: \[9, 19, 29\].map(&\[:succ, :to\_s, :reverse\]) =\> \[“01”, “02”, “03”\] I’ve seen people ask questions such as arr.map(&…

---

## [Unit/Regression tests for Ruby builtin classes and modules](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 3\
**Last updated:** [July 4, 2006, 9:08am UTC](https://www.ruby-forum.com/t/unit-regression-tests-for-ruby-builtin-classes-and-modules/96998 "2006-07-04T09:08:23Z")

</div>

As part of our Gardens Point Ruby.NET project we have spawned off a separate open source project to develop a comprehensive set of Unit/Regression tests for each of the 1000+ methods in the Ruby builtin Classes and M…

---

## [Ruby interface to Kyra sprite engine](https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886)

<div class="topic-metadata">

**Author:** [@smprather](https://www.ruby-forum.com/u/smprather)\
**Replies:** 2\
**Last updated:** [July 4, 2006, 8:07am UTC](https://www.ruby-forum.com/t/ruby-interface-to-kyra-sprite-engine/96886 "2006-07-04T08:07:52Z")

</div>

Hi ruby people– First post! I’m thinking about writing a ruby wrapper for the Kyra sprite engine. Before I waste any time, can anyone think of a reason this can’t/shouldn’t be done? I looked at rubygame, but the autho…

---

## [One-Click Ruby Installer 184-18 Release Candidate 3 is avail](https://www.ruby-forum.com/t/one-click-ruby-installer-184-18-release-candidate-3-is-avail/96942)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 10\
**Last updated:** [July 4, 2006, 5:34am UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-184-18-release-candidate-3-is-avail/96942 "2006-07-04T05:34:29Z")

</div>

Originally, this was planned to be the final 1.8.4 release of the One-Click Ruby Installer for Windows. However, there were enough package upgrades in this release to warrant one more release candidate to make sure t…

---

## [New discussion forum for GP Ruby.NET compiler project](https://www.ruby-forum.com/t/new-discussion-forum-for-gp-ruby-net-compiler-project/97002)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 0\
**Last updated:** [July 4, 2006, 4:27am UTC](https://www.ruby-forum.com/t/new-discussion-forum-for-gp-ruby-net-compiler-project/97002 "2006-07-04T04:27:54Z")

</div>

We have also set up a public discussion forum for comments and questions relating to the Gardens Point Ruby.NET compiler project: http://groups.google.com/group/RubyDOTNET I invite those interested to subscribe. The …

---

## [Problem with rubygems (and postgres)](https://www.ruby-forum.com/t/problem-with-rubygems-and-postgres/96958)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 7\
**Last updated:** [July 4, 2006, 4:21am UTC](https://www.ruby-forum.com/t/problem-with-rubygems-and-postgres/96958 "2006-07-04T04:21:40Z")

</div>

Hi, I’ve got Ruby 1.8.4 compiled and installed on a Ubuntu box. I installed rubygems 0.8.11. I then installed the postgres gem. Everything went ok. Doing a “gem list postgres” shows the postgres gem. So, when I f…

---

## [For SciTE Users: Snippets](https://www.ruby-forum.com/t/for-scite-users-snippets/96780)

<div class="topic-metadata">

**Author:** [@mitchell\_foral](https://www.ruby-forum.com/u/mitchell_foral)\
**Replies:** 10\
**Last updated:** [July 4, 2006, 1:23am UTC](https://www.ruby-forum.com/t/for-scite-users-snippets/96780 "2006-07-04T01:23:10Z")

</div>

To all SciTE users, SciTE Snippets I have written a Lua module for SciTE that mimicks Textmate’s snippet system quite well. It’s a few months old, so hopefully it’s fairly stable. http://caladbolg.net/scite.php#snip…

---

## [One-Click Ruby Installer can run in upgrade mode?](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962)

<div class="topic-metadata">

**Author:** [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Replies:** 3\
**Last updated:** [July 3, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-can-run-in-upgrade-mode/96962 "2006-07-03T21:01:41Z")

</div>

Hi! I have a couple of gems installed by the InstantRails installer (and hacked according to mindstorms: InstantRails using existing installations (tips and tricks)). I am wondering if now that the RC3 is out (and I …

---

## [Array loops: new thread](https://www.ruby-forum.com/t/array-loops-new-thread/96966)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [July 3, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/array-loops-new-thread/96966 "2006-07-03T20:42:39Z")

</div>

I thought it would be better to start a new thread for my current issue, since the old one is filled with code in various stages. Apologies. Gives me a chance to ask more succinctly regarding the core issue. This is…

---

## [Re: if problem in loop causing weirdness](https://www.ruby-forum.com/t/re-if-problem-in-loop-causing-weirdness/96918)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 9\
**Last updated:** [July 3, 2006, 6:55pm UTC](https://www.ruby-forum.com/t/re-if-problem-in-loop-causing-weirdness/96918 "2006-07-03T18:55:50Z")

</div>

You can use the break command to stop iterating through a block, eg. (simplifying your commands a bit): file\_names=\[‘a.txt’,‘b.txt’,‘c.txt’\] file\_names.each do |x| if x==‘b.txt’ puts 'we already have ’ + x + ’ in…

---

## [Phoenix Ruby Users Group July Meeting](https://www.ruby-forum.com/t/phoenix-ruby-users-group-july-meeting/96952)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [July 3, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/phoenix-ruby-users-group-july-meeting/96952 "2006-07-03T18:52:42Z")

</div>

The Phoenix Ruby U. Group will have its July meeting on Monday, July 10, at 6:15 pm. We’ll be meeting, as usual, at Cyclone Commerce in Scottsdale. Please see the group wiki page for location details: http://rubyurl.…

---

## [Re: C-Style Ints (#85) - not a spoiler, a test harness](https://www.ruby-forum.com/t/re-c-style-ints-85-not-a-spoiler-a-test-harness/96722)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 5\
**Last updated:** [July 3, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/re-c-style-ints-85-not-a-spoiler-a-test-harness/96722 "2006-07-03T17:12:14Z")

</div>

Given the number of edge conditions for this quiz it seemed like a good place for a test harness. Here is the irb session in the quiz translated to a test harness. It is my first use of the test framework so hopeful…

---

## [Minitar#tar? and inclusion in Ruby?](https://www.ruby-forum.com/t/minitar-tar-and-inclusion-in-ruby/96875)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [July 3, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/minitar-tar-and-inclusion-in-ruby/96875 "2006-07-03T14:49:47Z")

</div>

Using Archive::Tar:Minitar, is there any way to quickly check if a file is a tar file or not? Also I would like to recommend Austin’s lib for inclusion in Ruby. We already have Zlib so it makes sense to provide for t…

---

## [If problem in loop causing weirdness](https://www.ruby-forum.com/t/if-problem-in-loop-causing-weirdness/96915)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 1\
**Last updated:** [July 3, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/if-problem-in-loop-causing-weirdness/96915 "2006-07-03T14:21:37Z")

</div>

Having an issue here, specifically (5 lines down) puts x + ’ already exists’. It spits out the same number of times that the array loops are reiterating. Here is my concept, both arrays are looping \[0\] element to \[0…

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

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