[#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

[ANN] ruby-xz 0.1.0 released

From: Quintus <sutniuq@...>
Date: 2012-02-17 17:37:20 UTC
List: ruby-talk #393512
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I am proud to announce the 0.1.0 release of ruby-xz, a binding to the
liblzma compression library[1] whose native XZ compression format is
known to achieve very high compression ratios. With ruby-xz, you can
use its compression power in an easy-to-use rubyish way.

ruby-xz is written ontop of ffi[2] so there’s no need to compile anything.

== Examples

require "xz"

# Compress a string
str = XZ.compress("I love Ruby")
# Decompress it
puts XZ.decompress(str)) #=> I love Ruby

# Use it together with archive-tar-minitar in order to read
# XZ-compressed tarballs (.tar.xz files):
require "archive/tar/minitar"
XZ::StreamReader.open("foo.tar.xz") do |txz|
  Archive::Tar::Minitar.unpack(txz, "foo")
end

For more possible usecases, refer to the RDoc documentation.

== What’s new?

* Thanks to Christoph Plank’s contribution, we’re currently
  1.8-compatible. But don’t count on this for the future.
* The new classes XZ::StreamReader and XZ::StreamWriter allow to
  access XZ-compressed data through an IO-like interface, letting
  you easily (de)compress .tar.xz files with your favourite TAR
  reader library.
* New dependency on the "io-like" gem.
* Several minor bugs such as encoding mismatches have been corrected.
  See the git commit log for the complete list.
* No breaking changes, so programs written for the previous version
  should still work. If not, file a bug.

== Web pages

Sourcecode:  https://github.com/Quintus/ruby-xz
Bug tracker: https://github.com/Quintus/ruby-xz/issues

== How to install

Just as always, ruby-xz is available via RubyGems.

# gem install ruby-xz

== License

ruby-xz is licensed under the MIT license, see the README for the
complete text. Please also note that this gem contains Steve Klabnik’s
require_relative gem’s sourcecode for a 1.8-compatible
require_relative method. That gem is licensed under the BSDL (see the
sourcecode in xz.rb for further information)[3].

Enjoy! ;-)

Valete,
Marvin

[1] http://tukaani.org/xz
[2] https://github.com/ffi/ffi
[3] Reasoning for including the sourcecode: I didn’t want two separate
gems for 1.8 and 1.9, but it’s not possible to specify dependencies
just for a specific Ruby version.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPPo/3AAoJELh1XLHFkqha/9oH/j158XPZA29j/surErSpH/El
9VdqfwErDWXnrYIrQm3eMA9hlL+wLEYZCJK+ZwyJS8PlIfvaKI1DO896LKxn8M6b
Ivot5BnNCCKpCLj+ehwvLmktbu8V/HEpQSbQIF4YjfsxMa/WiHIdwdPX7Uc0xSkm
gp0un6VoY9Icr1hSIUg3oZGAQE9Zn72N6ckVu98jQKCBRLBPY1S0R/O6ojN3x0Fg
ChE1Fd7XIMp8RUmtz1NC7qVyKuGvgjUQZAOM3WHlqcvBrJo3D2oAHpl2atpKXwzc
FhZXGdjAQVDYa1aAm0C7bXg7CAo3YqU+HOECWWArQkfAlcJR6AppBydX7Fhr0ms=
=OM0v
-----END PGP SIGNATURE-----

In This Thread

Prev Next