[#393012] Basic Ruby performance — Dmitry Nikiforov <dniq@...>

Hello all!

43 messages 2012/02/02
[#393013] Re: Basic Ruby performance — Dmitry Nikiforov <dniq@...> 2012/02/02

Here's another example with significantly bigger performance difference:

[#393015] Re: Basic Ruby performance — Ryan Davis <ryand-ruby@...> 2012/02/02

[#393016] Re: Basic Ruby performance — Peter Vandenabeele <peter@...> 2012/02/02

On Fri, Feb 3, 2012 at 12:20 AM, Ryan Davis <ryand-ruby@zenspider.com>wrote:

[#393020] Re: Basic Ruby performance — Ryan Davis <ryand-ruby@...> 2012/02/03

[#393076] Problem migrating to Ruby 1.9.2 — Patrick Bayford <pbayford@...>

Some assistance please - I have a Ruby project, which I started in Ruby

10 messages 2012/02/03

[#393164] Using _ like in Scala? — Marc Heiler <shevegen@...>

fruits = %w( apple banana orange )

27 messages 2012/02/06
[#393201] Re: Using _ like in Scala? — Tony Arcieri <tony.arcieri@...> 2012/02/07

On Mon, Feb 6, 2012 at 10:54 AM, Marc Heiler <shevegen@linuxmail.org> wrote:

[#393204] Re: Using _ like in Scala? — Eric Christopherson <echristopherson@...> 2012/02/07

On Mon, Feb 6, 2012 at 7:21 PM, Tony Arcieri <tony.arcieri@gmail.com> wrote:

[#393206] Re: Using _ like in Scala? — Tony Arcieri <tony.arcieri@...> 2012/02/07

On Mon, Feb 6, 2012 at 5:56 PM, Eric Christopherson <

[#393208] Re: Using _ like in Scala? — Kevin <darkintent@...> 2012/02/07

On Mon, Feb 6, 2012 at 9:07 PM, Tony Arcieri <tony.arcieri@gmail.com> wrote:

[#393216] Re: Using _ like in Scala? — Robert Klemme <shortcutter@...> 2012/02/07

On Tue, Feb 7, 2012 at 6:56 AM, Kevin <darkintent@gmail.com> wrote:

[#393219] Re: Using _ like in Scala? — Josh Cheek <josh.cheek@...> 2012/02/07

On Tue, Feb 7, 2012 at 4:47 AM, Robert Klemme <shortcutter@googlemail.com>wrote:

[#393220] Re: Using _ like in Scala? — Robert Klemme <shortcutter@...> 2012/02/07

On Tue, Feb 7, 2012 at 1:00 PM, Josh Cheek <josh.cheek@gmail.com> wrote:

[#393240] Re: Using _ like in Scala? — Josh Cheek <josh.cheek@...> 2012/02/08

On Tue, Feb 7, 2012 at 9:15 AM, Robert Klemme <shortcutter@googlemail.com>wrote:

[#393254] Re: Using _ like in Scala? — Robert Klemme <shortcutter@...> 2012/02/08

On Wed, Feb 8, 2012 at 3:43 AM, Josh Cheek <josh.cheek@gmail.com> wrote:

[#393259] Re: Using _ like in Scala? — Josh Cheek <josh.cheek@...> 2012/02/08

On Wed, Feb 8, 2012 at 5:58 AM, Robert Klemme <shortcutter@googlemail.com>wrote:

[#393181] Tork 18.0.0 — "Suraj N. Kurapati" <sunaku@...>

Tork - Test with fork - https://github.com/sunaku/tork#readme

16 messages 2012/02/06
[#393183] Re: [ANN] Tork 18.0.0 — Bartosz Dziewoński <matma.rex@...> 2012/02/06

You have faster major version release cycle than Chrome...

[#393189] Re: [ANN] Tork 18.0.0 — Quintus <sutniuq@...> 2012/02/06

Am 06.02.2012 22:07, schrieb Bartosz Dziewoナгki:

[#393203] Re: Tork 18.0.0 — Suraj Kurapati <sunaku@...> 2012/02/07

Marvin G=C3=BClker wrote in post #1044440:

[#393347] Symbol garbage collection — Dido Sevilla <dido.sevilla@...>

I've always wondered why Ruby didn't do garbage collection of symbols,

13 messages 2012/02/10

[#393402] Who Administrates this list and how can the community help save this list from the noise. — andrew mcelroy <sophrinix@...>

It is very clear that this list has been under a incredibly heavy

21 messages 2012/02/11
[#393403] Re: Who Administrates this list and how can the community help save this list from the noise. — serialhex <serialhex@...> 2012/02/11

+1

[#393407] Re: Who Administrates this list and how can the community help save this list from the noise. — Cathy Alomari <cathy1428@...> 2012/02/11

Good luck, I doubt anyone is paying attention. I have seen numerous

[#393410] Re: Who Administrates this list and how can the community help save this list from the noise. — "Darryl L. Pierce" <mcpierce@...> 2012/02/11

On Sat, Feb 11, 2012 at 1:12 PM, Cathy Alomari <cathy1428@gmail.com> wrote:

[#393430] Re: Who Administrates this list and how can the community help save this list from the noise. — Cathy Alomari <cathy1428@...> 2012/02/13

On Sat, Feb 11, 2012 at 10:48 AM, Darryl L. Pierce <mcpierce@gmail.com>wrote:

[#393432] Re: Who Administrates this list and how can the community help save this list from the noise. — Bartosz Dziewoński <matma.rex@...> 2012/02/13

2012/2/13 Cathy Alomari <cathy1428@gmail.com>:

[#393434] Re: Who Administrates this list and how can the community help save this list from the noise. — Rimantas Liubertas <rimantas@...> 2012/02/13

> Have you tried mailing ruby-talk-ctl@ruby-lang.org (mailto:ruby-talk-ctl@ruby-lang.org) with "unsubscribe"

[#393412] the ruby syntax — maven apache <apachemaven0@...>

Hi:

19 messages 2012/02/12
[#393413] Re: the ruby syntax — Bartosz Dziewoński <matma.rex@...> 2012/02/12

When a hash is the last argument to a method, you can skip its open-

[#393416] Re: the ruby syntax — maven apache <apachemaven0@...> 2012/02/12

2012/2/12 Bartosz Dziewo=C5=84ski <matma.rex@gmail.com>

[#393435] Re: the ruby syntax — Saji Hameed <saji@...> 2012/02/13

On Sun, Feb 12, 2012 at 10:49 PM, maven apache <apachemaven0@gmail.com> wro=

[#393546] Difference between 1.9.2 and 1.9.3 — James French <James.French@...>

module A <- line 1

12 messages 2012/02/20
[#393558] Re: Difference between 1.9.2 and 1.9.3 — Dave Aronson <rubytalk2dave@...> 2012/02/21

On Mon, Feb 20, 2012 at 12:25, James French

[#393548] Accessing a local variable through a symbol — Ralph Shnelvar <ralphs@...32.com>

Let's say I have

11 messages 2012/02/20

[#393671] Rubymoticons — Dave Aronson <rubytalk2dave@...>

I was demonstrating injection of a symbol, and noticed a familiar

12 messages 2012/02/28

Re: Failing to install mechanize

From: Rafal Zdziech <raf@...>
Date: 2012-02-23 16:56:35 UTC
List: ruby-talk #393638
Check if you have got everything installed for rvm by typing rvm
requirements

Sorted?
Homepage: www.amidev.co.uk
On Feb 23, 2012 4:49 PM, "Ruby Student" <ruby.student@gmail.com> wrote:

> Great!
>
> Thank you
>
> On Thu, Feb 23, 2012 at 11:41 AM, Rafal Zdziech <raf@amidev.co.uk> wrote:
>
>> Hi,
>>
>> Type in rvm list first to see what Ruby version you have got installed.
>> Then rvm use 1.9.3 --default
>>
>> Homepage: www.amidev.co.uk
>> On Feb 23, 2012 4:33 PM, "Ruby Student" <ruby.student@gmail.com> wrote:
>>
>>> OK, I got rvm installed. It also looks like it installed ruby.
>>> But, how do I invoke ruby installed by rvm? When I type: *ruby -v*, I
>>> get an error.
>>>
>>>
>>> # rvm install 1.9.3
>>> Fetching yaml-0.1.4.tar.gz to /usr/local/rvm/archives
>>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>> Current
>>>                                  Dload  Upload   Total   Spent    Left
>>> Speed
>>> 100  460k  100  460k    0     0   340k      0  0:00:01  0:00:01
>>> --:--:--  556k
>>> Extracting yaml-0.1.4.tar.gz to /usr/local/rvm/src
>>> Configuring yaml in /usr/local/rvm/src/yaml-0.1.4.
>>> Compiling yaml in /usr/local/rvm/src/yaml-0.1.4.
>>> Installing yaml to /usr/local/rvm/usr
>>> Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p125,
>>> this may take a while depending on your cpu(s)...
>>>
>>> ruby-1.9.3-p125 - #fetching
>>> ruby-1.9.3-p125 - #downloading ruby-1.9.3-p125, this may take a while
>>> depending on your connection...
>>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>> Current
>>>                                  Dload  Upload   Total   Spent    Left
>>> Speed
>>> 100 9505k  100 9505k    0     0   395k      0  0:00:24  0:00:24 --:--:--
>>> 2177k
>>> ruby-1.9.3-p125 - #extracting ruby-1.9.3-p125 to
>>> /usr/local/rvm/src/ruby-1.9.3-p125
>>> ruby-1.9.3-p125 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p125
>>> ruby-1.9.3-p125 - #configuring
>>> ruby-1.9.3-p125 - #compiling
>>> ruby-1.9.3-p125 - #installing
>>> Retrieving rubygems-1.8.17
>>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>> Current
>>>                                  Dload  Upload   Total   Spent    Left
>>> Speed
>>> 100  246k  100  246k    0     0   352k      0 --:--:-- --:--:--
>>> --:--:--  659k
>>> Extracting rubygems-1.8.17 ...
>>> Removing old Rubygems files...
>>> Installing rubygems-1.8.17 for ruby-1.9.3-p125 ...
>>> Installation of rubygems completed successfully.
>>> ruby-1.9.3-p125 - adjusting #shebangs for (gem irb erb ri rdoc testrb
>>> rake).
>>> ruby-1.9.3-p125 - #importing default gemsets (/usr/local/rvm/gemsets/)
>>> Install of ruby-1.9.3-p125 - #complete
>>>
>>> [root@oc8821576380 ruby-1.9.3-p0]#* ruby -v*
>>> Command not found.
>>>
>>> Also,
>>>
>>> *# rvm rubygems mechanize*
>>> 'ruby' was not found, cannot install rubygems unless ruby is present (Do
>>> you have an RVM ruby installed & selected?)
>>>
>>> Thank you
>>>
>>> On Thu, Feb 23, 2012 at 8:53 AM, ami <raf@amidev.co.uk> wrote:
>>>
>>>> Hi,
>>>>
>>>> I would advise you to unistall your ruby installation and install rvm
>>>> first and go from there.
>>>>
>>>>
>>>> On Thu, 2012-02-23 at 22:44 +0900, Ruby Student wrote:
>>>> > Hello Team,
>>>> >
>>>> > I am trying to install mechanize but it is failing. Any help will be
>>>> > appreciated.
>>>> > Here are the details:
>>>> >
>>>> > OS: Red Hat Enterprise Linux Workstation release 6.2 (Santiago)
>>>> > Ruby:
>>>> > ruby -v
>>>> > ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>>>> >
>>>> > It complains that that library: libxslt is missing. However, the
>>>> > library IS installed:
>>>> > # rpm -qa | grep -i libxslt
>>>> > libxslt-python-1.1.26-2.el6.x86_64
>>>> > libxslt-1.1.26-2.el6.x86_64
>>>> >
>>>> > Also, if I try to install it it states that it is already installed:
>>>> >
>>>> > yum install libxslt
>>>> > Setting up Install Process
>>>> > Package libxslt-1.1.26-2.el6.x86_64 already installed and latest
>>>> > version
>>>> > Nothing to do
>>>> >
>>>> > Now the errors from gem:
>>>> >
>>>> > # gem install mechanize
>>>> > /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
>>>> > It seems your ruby installation is missing psych (for YAML output).
>>>> > To eliminate this warning, please install libyaml and reinstall your
>>>> > ruby.
>>>> > Building native extensions.  This could take a while...
>>>> > ERROR:  Error installing mechanize:
>>>> >     ERROR: Failed to build gem native extension.
>>>> >
>>>> >         /usr/local/bin/ruby extconf.rb
>>>> > extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config.
>>>> > checking for libxml/parser.h... yes
>>>> > checking for libxslt/xslt.h... no
>>>> > -----
>>>> > libxslt is missing.  please visit
>>>> > http://nokogiri.org/tutorials/installing_nokogiri.html for help with
>>>> > installing dependencies.
>>>> > -----
>>>> > *** extconf.rb failed ***
>>>> > Could not create Makefile due to some reason, probably lack of
>>>> > necessary libraries and/or headers.  Check the mkmf.log file for more
>>>> > details.  You may need configuration options.
>>>> >
>>>> > Provided configuration options:
>>>> >     --with-opt-dir
>>>> >     --without-opt-dir
>>>> >     --with-opt-include
>>>> >     --without-opt-include=${opt-dir}/include
>>>> >     --with-opt-lib
>>>> >     --without-opt-lib=${opt-dir}/lib
>>>> >     --with-make-prog
>>>> >     --without-make-prog
>>>> >     --srcdir=.
>>>> >     --curdir
>>>> >     --ruby=/usr/local/bin/ruby
>>>> >     --with-zlib-dir
>>>> >     --without-zlib-dir
>>>> >     --with-zlib-include
>>>> >     --without-zlib-include=${zlib-dir}/include
>>>> >     --with-zlib-lib
>>>> >     --without-zlib-lib=${zlib-dir}/lib
>>>> >     --with-iconv-dir
>>>> >     --without-iconv-dir
>>>> >     --with-iconv-include
>>>> >     --without-iconv-include=${iconv-dir}/include
>>>> >     --with-iconv-lib
>>>> >     --without-iconv-lib=${iconv-dir}/lib
>>>> >     --with-xml2-dir
>>>> >     --without-xml2-dir
>>>> >     --with-xml2-include
>>>> >     --without-xml2-include=${xml2-dir}/include
>>>> >     --with-xml2-lib
>>>> >     --without-xml2-lib=${xml2-dir}/lib
>>>> >     --with-xslt-dir
>>>> >     --without-xslt-dir
>>>> >     --with-xslt-include
>>>> >     --without-xslt-include=${xslt-dir}/include
>>>> >     --with-xslt-lib
>>>> >     --without-xslt-lib=${xslt-dir}/lib
>>>> >
>>>> >
>>>> > Gem files will remain installed
>>>> > in /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0 for inspection.
>>>> > Results logged
>>>> > to
>>>> /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out
>>>> >
>>>> > When I try to install psych or yaml I get the same errors listed
>>>> > above.
>>>> >
>>>> > Thank you
>>>> > --
>>>> > Ruby Student
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Ruby Student
>>>
>>
>
>
> --
> Ruby Student
>

In This Thread