415889-428463 subjects 428667-429259

make aes-encrypted zip file in ruby?
428438 [ruby-talk.li] For a client project, I am trying to create an AES-256 encrypted zip
+ 428439 [jeremy@bo p.] I'm the author of Archive::Zip, and while the project is pretty dormant,
+ 428441 [ak@ca lr d. ] please unsubscribe me
  428447 [rylee@ry ee ] 1. Point your web browser at

Why does YAML::load converting nil object to 'nil' while loading
428440 [aruprakshit@] I am not understanding why `YAML::load` converting *nil* object to string
428442 [stefano.croc] Because in YAML, the value nil is not represented by the literal nil but with
428443 [aruprakshit@] Great information. I was also reading one online YAML doc, but  I didn't find
+ 428444 [stefano.croc] I'm not sure I understand you correctly. What you can do to have the string
| 428445 [aruprakshit@] You got me correctly.
+ 428446 [matthew@ke w] How is it coming from outside? If it's not coming as yaml (as appears

Fwd: object oriented and currying
428451 [r.wobben@ho ] I wonder if there a good books where I can learn more about OO -

Re: object oriented and currying
428452 [adamwenham64] Practical Object Oriented Design by Sandi Metz is an excellent OO book and
428453 [wbrisett@at ] Try this for currying:=20

ruby monk problem
428454 [r.wobben@ho ] I have to make three defenitions add, subtract and calculate with has to
428456 [ryand-ruby@z] What is that supposed to do?
+ 428457 [cookrn@gm il] As Ryan mentioned, you have a couple of issues...
| 428459 [r.wobben@ho ] If I look at the test i can contain add = true or substract = true
| 428460 [r.wobben@ho ] ...
| 428462 [jgabrielygal] Take a look at the order of the arguments when calling calculate.
| 428464 [r.wobben@ho ] def calculate(*numbers, options = { :add => true,:substract => false})
+ 428458 [r.wobben@ho ] add( 1,2,3)

How can I make the difference between the two classes
428465 [r.wobben@ho ] module Perimeter
428466 [mike@st k. a] Including the module in a class adds it to the ancestors of the class, so when Ruby searches for methods on a Square or a Rectangle it will search the module after searching the including class.
428468 [r.wobben@ho ] Thanks,

Do not understand the error messages.
428467 [r.wobben@ho ] ...
428469 [rylee@ry ee ] These are RSpec issues. Something in your test suite is not meeting
428470 [r.wobben@ho ] I know that and there are not mine expectations but of the site rubymonkey
428471 [r.wobben@ho ] Makes a call to 'rand' or 'Array#shuffle'
428474 [mike@st k. a] ~/tmp  irb

why does Rubymonkey makes this true
428472 [r.wobben@ho ] ...

[ANN] nokogiri 1.6.3.rc3 Released
428473 [mike.dalessi] nokogiri version 1.6.3.rc3 has been released!

[ANN] md2man 2.1.1 - markdown to manpage
428475 [sunaku@gm il] md2man is a Ruby library and command-line program that converts

[ANN] md2man 3.0.0 - markdown to manpage
428476 [sunaku@gm il] md2man is a Ruby library and command-line program that converts

[ANN] binman 3.3.3 - man pages for bin scripts
428477 [sunaku@gm il] binman produces UNIX manual pages for executable scripts using

Fwd: Is anyone using -w ?
428478 [sylvain.joye] I've been wanting to use -w ... However, I found out that quite a few
+ 428496 [kf7qga@gm il] wayne@mercury:~$ irb -w
| + 428497 [sylvain.joye] This is a bit my problem as well. Maybe there is a need to be able to turn
| | 428499 [kf7qga@gm il] I wondered what it would be like if Ruby had something like C++ #pragma
| + 428498 [steve.tooke@] There are definitely valid reasons for wanting private/protected accessors
+ 428512 [joelvanderwe] class PointOnTimeline

Taking over flexmock's maintenance
428479 [sylvain.joye] A week or so ago I've created an issue on flexmock... Only to realize today
428482 [ryand-ruby@z] On Jun 23, 2014, at 4:49, Sylvain Joyeux =

[ANN] celluloid and celluloid-io 0.16.0.pre2 released to RubyGems
428480 [bascule@gm i] I've published the second prerelease of Celluloid and Celluloid::IO to

Re: Is anyone using -w ?
428481 [ryand-ruby@z] On Jun 23, 2014, at 4:30, Sylvain Joyeux =
428484 [adamwenham64] what is -w? It's incredible hard to Google :)
428485 [ryand-ruby@z] % ruby -h
428486 [adamwenham64] like something I might be interested in. I might need a little guidance to
428487 [ryand-ruby@z] A number of specific things:=20
428494 [adamwenham64] Thanks Ryan, that actually sounds pretty interesting to me. I don't really
428495 [ryand-ruby@z] really know where to start though, so how could I get involved?
428500 [ryand-ruby@z] practice" in the ruby world these days ?
+ 428501 [ryand-ruby@z] because that's only the reader.
| 428503 [steve.tooke@] True!
+ 428502 [kf7qga@gm il] Excellent point!  I don't know what I was smoking.  I just checked, and
+ 428504 [echristopher] class Foo
  428505 [steve.tooke@] Oh that's interesting, I would expect you to get a NoMethodError for
  428506 [shortcutter@] Why would you?  bar= _is_ defined.
  428507 [steve.tooke@] That's how ruby responds when you try to call a private method using
  428508 [shortcutter@] Oh right.  I thought it was another error.  I just looked at the
  428513 [ryand-ruby@z] On Jun 26, 2014, at 17:28, Joel VanderWerf <joelvanderwerf@gmail.com> =
  428514 [joelvanderwe] That's not bad at all. Spaceship returns truthy, unless incomparable,

[ANN] Tork 19.8.0 - test with fork
428483 [sunaku@gm il] 1. Absorbs test execution overhead into a master process.

[ANN] ElixirConf 2014 - Don't Miss Jos Valim and Dave Thomas
428488 [jimfreeze@gm] Just a few more weeks until ElixirConf 2014!

[ANN] JRuby 1.7.13 Released
428489 [tom.enebo@gm] The JRuby community is pleased to announce the release of JRuby 1.7.13

how do I make the block running
428490 [r.wobben@ho ] ...
+ 428491 [abinoam@gm i] Dear Roelof Wobben,
+ 428492 [jgabrielygal] def sum(initial_value = 0, &blk)
  428493 [r.wobben@ho ] Thanks all.

Cycle enumerator
428509 [jgabrielygal] I was surprised today with a behaviour, maybe my expectation was wrong
+ 428510 [carlos.agari] This is surprising behavior to me. In case no one finds a good explanation
| 428516 [jgabrielygal] For the record: I asked in ruby-core and the answer is that it is a
+ 428511 [jjconti@gm i] This is not an answer for your question. But you can solve your original

Re: [ANN] Rails 4.1.2 and 4.0.6 have been released!
428515 [bfleischer@g] ...

[ANN] Tork 19.8.1 - test with fork
428517 [sunaku@gm il] 1. Absorbs test execution overhead into a master process.

[ANN] ojogo gem v0.1 - another world cup command line tool - prints today's matches
428518 [gerald.bauer] I've put together another litlle Ruby gem [1] for the World Cup 2014

[ANN] binman 3.4.0 - man pages for bin scripts
428519 [sunaku@gm il] binman produces UNIX manual pages for executable scripts using

[ANN] Milkode 1.8: Source code search engine of line-oriented
428520 [ongaeshi0621] Milkode version 1.8 has been released!

In Ruby everything are Objects ... except Functions / Methods?
428530 [addis.aden@g] i am new to this ruby-talk list, so i hope my question is not annoying
+ 428531 [jgabrielygal] 2.0.0p195 :001 > def addition(a, b)
+ 428532 [echristopher] Not at all. As you might have seen from other messages today, we're
  428547 [addis.aden@g] Its that easy. Wow, thank you. never heard of the method method :D
  428549 [shortcutter@] A Proc is a closure which a method is not. A Method only catches self
  428551 [addis.aden@g] Ohh, scope matters :) Thank you for the hint ^^

read text and binary files
428538 [epeterson@rh] here's my question worthy of 2 of all ya'll's time (but not much more).
+ 428548 [addis.aden@g] I am not so familiar with unicode but the difference with binary and
+ 428550 [shortcutter@] $ ruby -e 'File.open("xx", "rb") {|io| p io.external_encoding}'

[ANN] RIMS (Ruby IMap Server) 0.0.4 released
428543 [toki@fr ed m] I am making imap server using ruby.

A guide to reporting security vulnerabilities in gems?
428544 [joel@jo lc i] A little while ago after a discussion on the London Ruby User Group mailing

What is the usefulness of using only greedy operator as the argument in method parameter list ?
428552 [aruprakshit@] From the Rspec doco, I found one code :-
+ 428553 [shortcutter@] You make your class robust against super class #initialize changes.
+ 428554 [abinoam@gm i] _You_ wouldn't be able to access it, but your 'super' friend will be.
  428577 [aruprakshit@] +1 to you and Robert both. Thanks for the detail answer. :-)

[ANN] Tork 19.8.2 - test with fork
428555 [sunaku@gm il] 1. Absorbs test execution overhead into a master process.

[ANN] binman 3.4.1 - man pages for bin scripts
428557 [sunaku@gm il] binman produces UNIX manual pages for executable scripts using

Building a C extension
428560 [mosny@zy .l ] I have a gem, I want to build the C extensions for. The gem source is located here: https://github.com/nirnanaaa/cracklib .
428563 [eveith@ww eb] build-essential pulls in libc6-dev, which contains /usr/include/sys/types.h.
428571 [mosny@zy .l ] $ find . -type f -name mkmf.log|xargs cat

Proc question
428561 [danielmarvin] a = proc{ puts x } (NOT! a = proc{ |x| puts x })
+ 428568 [zettabyte@gm] The array instance returned by #parameters is just for your information.
| 428569 [danielmarvin] Oh duh.. I think the 108 degree heat was affecting me today :-) I did
+ 428570 [shortcutter@] Frankly, I did not even fully understand what you are attempting to

Convert integer string to array of integers.
428572 [aruprakshit@] I did use the below  :-
428573 [matthew@ke w] Does it matter that much? BTW if all you care about is only creating a
428578 [aruprakshit@] Curiosity ... :-)
428585 [shortcutter@] And what do you want to know?
428587 [aruprakshit@] Robert,
428588 [aruprakshit@] sorry for wrong copy paste :-
428589 [abinoam@gm i] Sorry if I misunderstood your question, but I'll try to help.
428590 [abinoam@gm i] Continuation...
428591 [aruprakshit@] Thanks for your details explanation.
+ 428592 [mike@st k. a] On Jul 6, 2014, at 7:27 AM, Arup Rakshit <aruprakshit@rocketmail.com> =
+ 428593 [shortcutter@] There are use cases for #enum_for though - these are typically related

Unexpected behavior while doing interpolation inside %W() construct
428574 [aruprakshit@] Look the below code :-
+ 428575 [danieldasilv] You would have to do %W(#{str1} #{str2})
| 428576 [aruprakshit@] That's not my question. :-)
+ 428579 [abinoam@gm i] If you use %W() the character " is not special inside it. Look at it again
+ 428580 [wishdev@gm i] I believe the easiest way to understand this is that the %W does not do the
  + 428581 [danieldasilv] ...
  | 428582 [jgabrielygal] where tWORDS_BEG is %W (you can find that searching in that file), and
  + 428583 [danieldasilv] ...
    + 428584 [aruprakshit@] Good question.
    + 428586 [tamouse.list] For this depth of information, the code will always be the best place to

[ANN] ZenTest 4.10.1 Released
428594 [ryand-ruby@z] ZenTest version 4.10.1 has been released!

[ANN] minitest 5.4.0 Released
428595 [ryand-ruby@z] minitest version 5.4.0 has been released!

PPC64 improvement
428596 [leonardo.bia] =0A=
428598 [echristopher] So the legend of Eldorado is true ;)
428603 [leonardo.bia] Would be very nice if the legend was true =)
428604 [abinoam@gm i] I see you've managed to open an issue.
428605 [abinoam@gm i] Well, well... my bad!

Confusion with Proc#arity
428597 [aruprakshit@] I am having confusion with the output of Proc#arity
428599 [echristopher] The docs seem to be lacking. Perhaps part of the reason for the

Ruby 1.9 new Hash syntax is not always useful
428600 [aruprakshit@] <doco> http://www.ruby-doc.org/core-2.1.0/Hash.html
428601 [frank@ay lo ] I run into this all the time writing Mongo queries for MongoMapper. I end
428602 [abinoam@gm i] Perhaps it's not worth the work to deambiguate this with the global

OSX only gem
428606 [ktam@yv .e .] I've written a LaunchAgent which is like a unix daemon but runs as a =
+ 428608 [carlos.agari] I don't think there is an official method for enabling your gem to be
| 428609 [ktam@yv .e .] ...
| 428611 [stu@ru yp og] Keven I'm curious. You understand that rvm is not a dependency. What's your
| 428612 [ktam@yv .e .] The launch agent I have written, is a native os x tool. It is written
| 428614 [stu@ru yp og] I guess I don't see it. GCC and Clang both have the objective-c natively
| 428615 [ktam@yv .e .] ...
+ 428613 [ryand-ruby@z] me how I can use the gemfile to limit to OS X Mavericks (or higher) the =

[ANN] Only 14 Days Before ElixirConf 2014!
428607 [jimfreeze@gm] The World Premiere ElixirConf 2014 is just around the corner.

Problem with ExecJS in PowerPC Debian/Linux (asset pipeline)
428610 [atma@co va e] charset=us-ascii

[ANN] factbook gem - Turn World Factbook Public Domain Country Profiles into Open Data (e.g JSON)
428616 [gerald.bauer] I've put together a factbook gem [1] that lets you read in World
428617 [saji@u- iz .] Very nice! Thanks for this gem..

[ANN] RubyKaigi 2014 Registration Page Is Now Online
428618 [snoozer.05@g] This is @snoozer05 of RubyKaigi team.
428619 [fluido@fl id] * When: Sep 18 - Sep 20 (Thu - Sat)

The Ruby Web Benchmark Report
428620 [brianknapp@g] I spent the last few months benchmarking every combination of ruby server,
+ 428621 [shortcutter@] Brian, thank you so much for that work! I haven't seen such a thorough
| 428622 [brianknapp@g] You're welcome!
| + 428626 [shortcutter@] For RDBMS I would suggest
| | 428630 [brianknapp@g] Robert,
| + 428628 [normalperson] I suggest using Rack::MockRequest to test ORMs, even.  No need to have
|   428631 [brianknapp@g] That interesting. I was planning on writing a minimal Rack app to do this,
+ 428623 [bascule@gm i] Kind of surprised by the Reel results, especially on JRuby. Last I
| 428624 [brianknapp@g] Tony,
| 428627 [shortcutter@] Did you fiddle with GC settings? For server applications there is G1
+ 428625 [normalperson] Thank you for posting here, I don't comment on commercial sites and
| 428629 [brianknapp@g] Eric,
| 428632 [normalperson] Rack is probably too low-level for most folks and requires reading the
+ 428633 [lars.mai@ko ] that's very interesting, thank you for doing this. I'm a little suprised
  428634 [brianknapp@g] Lars,
  428635 [shortcutter@] Maybe too large cracks. ;-)

[ANN] yahns 1.3.1 -_- (BUGFIX) sleepy app server for Ruby
428636 [normalperson] A Free Software, multi-threaded, non-blocking network application server

[ANN] md2man 3.0.1 - markdown to manpage
428637 [sunaku@gm il] md2man is a Ruby library and command-line program that converts

[ANN] color 1.7.1 Released
428638 [halostatue@g] color version 1.7.1 has been released!
428639 [space.ship.t] That's an awesome library, thanks for all the work you've done on it.

[ANN] Tork 19.9.0 - test with fork
428640 [sunaku@gm il] 1. Absorbs test execution overhead into a master process.

Rails server issue in production environment
428641 [jjwang0506@g] I'm having troubles to run rails server in production environment.
428642 [mailme@hs s.] Can you share your production log? Since it dies after the request is made
+ 428643 [jjwang0506@g] Unfortunately no errors in server log.
+ 428644 [eveith@ww eb] Could you (i.e., the OP) please also share some details about the environment,
  428645 [jjwang0506@g] AWS Redhat 6.5
  428646 [jjwang0506@g] It's been solved.
  428648 [atma@co va e] charset=windows-1252
  428649 [mailme@hs s.] It is a bit strange that the log didn't say anything about the assets

[ANN] flog 4.3.0 Released
428647 [ryand-ruby@z] flog version 4.3.0 has been released!

[ANN] flickr_airlift 0.5.1 released
428650 [beholdthepan] Flickr Airlift is a command line tool to download any set or all photos in

[ANN] flickr_cli 0.2.4 released
428651 [beholdthepan] Greetings Human.

Extrage behaviour when concatenating a string pointed from a constant and a string (with no space after operator)
428652 [jjconti@gm i] Large subject.
428653 [ryand-ruby@z] =3D> s(:call, s(:const, :A), :+, s(:const, :B))
428654 [jjconti@gm i] Right, thanks. But why that is not happening with a +"B"?
428655 [ryand-ruby@z] Because you've already taught the interpreter that 'a' is a local =
428659 [jjconti@gm i] I got it!
+ 428660 [abinoam@gm i] Dear Juanjo Conti,
| + 428662 [jjconti@gm i] You're right.
| + 428664 [jjconti@gm i] Ok... can I say that a method in upercase with no arguements can't be
|   428665 [matthew@ke w] irb(main):001:0> def Aja *args
+ 428661 [matthew@ke w] a + 1
  428663 [jjconti@gm i] This email is really clear. Thanks!

[ANN] nokogiri 1.6.3 Released
428656 [mike.dalessi] nokogiri version 1.6.3 has been released!

Send password to subprocess without echoing it to terminal
428657 [dmurvihill@g] Sorry if this isn't the correct list; I'm new to Ruby and couldn't find an
428666 [sandor.szuec] require 'rubygems'

how to avoid warning of 'Insecure world writable dir /local_vol1_nobackup in PATH, mode 040777'
428658 [Sidney.Luo@a] I tried in my ruby script to call an external program, then it report a warning of 'Insecure world writable dir /local_vol1_nobackup in PATH, mode 040777', my script stopped.
428673 [Sidney.Luo@a] Is anyone have idea about this issue? Thanks very much.
+ 428685 [tamouse.list] This is a warning only, it is not likely causing your script to stop. If
+ 428687 [eveith@ww eb] Are you spawning a zsh instance with oh-my-zsh?
  428688 [jhart@sp of ] I can't help you fix this problem without seeing your code, but the problem
  428689 [eveith@ww eb] roblem
  + 428690 [jhart@sp of ] zsh may or may not have its own complications/peculiarities here, but the
  + 428691 [ryand-ruby@z] On Jul 23, 2014, at 11:12, Eric MSP Veith <eveith@wwweb-library.net> =
    428692 [eveith@ww eb] Ryan,