429127-429347

428910-429137 subjects 429332-429590

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

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

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

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

[ANN] Ruby 2.1.4, ruby-2.0.0-p594 and ruby-1.9.3-p550 are released
429131 [usa@ga ba ec] Ruby 2.1.4, ruby-2.0.0-p594 and ruby-1.9.3-p550 are released.

ruby upload file with mechanize
429132 [oliviermo75@] I try to automated upload file in youwatch and i blocked here ! When i

Source install of Ruby 2.1.4 on OS X 10.8 hangs
429133 [gvimrc@gm il] I managed to install Ruby 2.1.2 from source on my OS X 10.8 machine but
429134 [botpena@gm i] cant answer your particular question, but, i use rbenv on mac os x for
+ 429135 [atma@co va e] ┌─[atma@gauss] - [~/Code/Projects/pritory] - [Τρι Οκτ 28, 09:17]
| 429136 [botpena@gm i] indeed. rvm runs on my other pc
+ 429138 [gvimrc@gm il] Sorry, but I have my reasons for not running rvm - mainly the way it

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

DSL question
429140 [jgabrielygal] I'm trying to build a little internal DSL to create mini Sinatra

How to fix - "ArgumentError: invalid byte sequence in UTF-8"
429141 [aruprakshit@] I am trying to read the file(http://wikisend.com/download/703976/votes.txt)
+ 429142 [abinoam@gm i] Why are you "encoding" the strings?
| 429143 [abinoam@gm i] Your source file (votes.txt) is not "clean".
| 429149 [aruprakshit@] Thanks for your reply. I am thinking, why my custom converter didn't wo=
| 429160 [abinoam@gm i] Perhaps you  could try to use String#scrub to sanitize the string.
| 429165 [aruprakshit@] Thanks Abinoam. I finally used String#scrub method and it worked.
| 429166 [abinoam@gm i] Congrats!
| 429167 [aruprakshit@] Ohh! IO::foreach works well, problem is with CSV::foreach. I was not aware of
+ 429161 [andrew@av t.] content into different types. (Integer, Date, etc.)
  429162 [aruprakshit@] Thanks Andrew for your reply. CSV::parse need data as a string. But the log

[ANN] RubyInstaller 1.9.3-p550 released
429144 [luislavena@g] I'm very pleased to announce the release of RubyInstaller packages for Ruby

[ANN] RubyInstaller 2.0.0-p594 released
429145 [luislavena@g] I'm very pleased to announce the release of RubyInstaller packages for Ruby

[ANN] RubyInstaller 2.1.4 released
429146 [luislavena@g] ## Ruby 2.1.4

[ANN] when_exe 0.4.0 Released!
429147 [suchowan@bo ] when_exe version 0.4.0 has been released!
429148 [suchowan@bo ] Please see <http://www2u.biglobe.ne.jp/~suchowan/when_exe/frames.html>

[ANN] Rails 3.2.20, 4.0.11, 4.1.7, and 4.2.0.beta3 have been released
429150 [tenderlove@r] I would like to announce that Rails 3.2.20, 4.0.11, 4.1.7, and 4.2.0.beta3 =

guard vs autotest (sinatra)
429151 [atma@co va e] Which way to watch for file changes and launch rspec is faster, guard or =
429152 [ryand-ruby@z] On Oct 30, 2014, at 12:10, Panagiotis Atmatzidis <atma@convalesco.org> =
429153 [atma@co va e] $ time rspec
429154 [coolesting@g] The holy rubygem called rerun, use it to hold your web server in

[ANN] sqlite3 1.3.10 Released
429155 [luislavena@g] sqlite3 version 1.3.10 has been released!

[ANN] Created new programming language with Ruby
429156 [mail@ta ak k] ...
429157 [bruka@id ta ] Very interesting.
+ 429158 [ulpianmorina] +1
+ 429159 [mail@ta ak k] ...
  429163 [saji@u- iz .] Quite nice! I am looking forward to checking it out.  :)
  429168 [mail@ta ak k] ...
  429169 [saji@u- iz .] Thanks!  I will try with ruby 2.0.0+

Concerning Ruby `protected` access modifier
429164 [francesco.be] Recently I've been playing around with `protected` access modifier. After

Converting between ASCII-8BIT and UTF-8
429170 [mcpierce@gm ] I have an issue where I have a string of arbitrary data in Ruby, which
429171 [quintus@qu n] ASCII-8BIT is not really an “encoding”. It means that you have binary
+ 429172 [mcpierce@gm ] have binary
| 429175 [fluido@fl id] Strings are just sequences of bits, like other data. But while with
+ 429173 [ryand-ruby@z] binary
+ 429178 [mcpierce@gm ] have binary

[ANN] nokogiri 1.6.4 Released
429174 [mike.dalessi] nokogiri version 1.6.4, codename "Chip and Dale", has been released!

Autoindentation not working in IRB
429176 [aruprakshit@] Here is my ~/.irbrc file content.
+ 429177 [shortcutter@] I don't think so.  It's just that the "end" is indented on the same
+ 429179 [suy@ba op .o] =20

making REXML or Nokogiri vulnerable to XXE
429180 [ruby@di i. i] I'm doing security research and I'm trying to create a Ruby script
429219 [kou@co mi ng] REXML doesn't support expanding SYSTEM entity. So REXML
429220 [dninja@gm il] Thats useful to know, thanks

Simple question about yield :layout for Rails 2.3 app
429181 [bruka@id ta ] I'm maintaining and old app. I'm seeing in the layouts they've used
+ 429182 [drummond@re ] This isn't something thats been deprecated from rails, its also present in
| 429183 [bruka@id ta ] I think you misunderstood my question.
+ 429184 [steve@st ve ] unsubscribe

Better Ruby way?
429185 [leamhall@gm ] Ruby 1.8.x
+ 429186 [q.leonetti@g] I think you should use symbols instead. This way you will be able to order
| 429187 [rajsahae@gm ] Alternatively, you could use option parsing and that way pass them in any
| 429192 [kf7qga@gm il] Here's a demo of OptionParser.  OptionParser comes with Ruby.
+ 429188 [keystonelemu] One of the big questions is why you're using 1.8 still. It's deprecated.
| 429189 [ryand-ruby@z] How does that matter when you're just learning the language?
| 429191 [keystonelemu] There were significant changes from 1.8 to 1.9. A better question is why
| + 429193 [leamhall@gm ] The servers I support are on a mix of 1.8.5 and 1.8.7. Whatever I write
| | 429197 [lists@ch ck ] You may want to consider Rubinius. There is a 1.8.7 branch that is =
| + 429199 [bruka@id ta ] I use 1.8.7 with Rails 2.3 because my project managers do not consider it a
|   429200 [kf7qga@gm il] It is indeed complicated.
|   429201 [tom@th ma le] Yup, we had some discussions around that at work.  We invested in =
|   429202 [bruka@id ta ] I don't want to take this thread on a tangent but since you asked.
|   + 429203 [bkerley@br c] charset=utf-8
|   | 429207 [shortcutter@] I do not know anything about the specifics of the company involved,
|   + 429204 [leamhall@gm ] Yeah, large companies have issues since the larger install base
+ 429190 [ryand-ruby@z] I think that's a bad requirement.
  429198 [shortcutter@] file, sum = ARGV
  429208 [botpena@gm i] just joining the fun (w robert and ryan) in the hope to make the op
  429209 [leamhall@gm ] Hmm...I wanted to make the parameters movable to give me a reason to
  429213 [shortcutter@] And that is also true of users of your program. Often less choices are better.
  429254 [leamhall@gm ] Thanks!

[ANN] nokogiri 1.6.4.1 Released
429194 [mike.dalessi] nokogiri version 1.6.4.1 has been released!

Top level methods are becoming singleton method as well as instance method - Why ?
429195 [aruprakshit@] ...
429196 [shortcutter@] $ ruby -e 'def foo;end;p self, method(:foo),
429205 [aruprakshit@] What I meant to say, is, Why I am able to call a method on Object as well as
429206 [matthew@ke w] Remember that Object is an instance of Class, which inherits from Object.

OO -- When to collect attributes into objects?
429210 [leamhall@gm ] Naturally, learning Ruby is helped by linking it to a game. In this case
429211 [atma@co va e] IMHO that's the most difficult programming problem: design :-)
429214 [shortcutter@] And actually the most important one because it determines how you
429215 [leamhall@gm ] Extensibilty is key. In theory others will take what I write and add stuff.
+ 429216 [ruralhack@gm] A change in prospective is worth 80iq points. ~Alan Kay
| 429217 [shortcutter@] There is just one tricky thing about the future: you cannot know it
+ 429218 [shortcutter@] If I understand what you are suggesting here you want to lump the

Fwd: Top level methods are becoming singleton method as well as instance method - Why ?
429212 [shortcutter@] Apparently the last message did not go to the list.

[ANN] license_finder 1.2 released
429221 [mike.dalessi] license_finder version 1.2 has been released!

rbenv with $GEM_HOME ?
429222 [gvimrc@gm il] I would like to be able to upgrade Ruby minor versions without
429230 [suy@ba op .o] I started with Ruby from the system. Added GEM_HOME to the mix, because I want
429232 [gvimrc@gm il] Are you saying you used rbenv and had it install your gems in GEM_HOME?
429233 [suy@ba op .o] If I recall correctly, yes. If you set GEM_HOME is always trying to install
429235 [gvimrc@gm il] My mistake, it seems. I just reinstalled rbenv with GEM_HOME already

Excel saveas using a variable
429223 [davesruby@gm] When I run this code in Sketchup, it performs it's duties, then opens
+ 429260 [masaki.suket] Try
+ 429261 [masaki.suket] Try
  429334 [davesruby@gm] That did it thanks

[ANN] GothamGo Golang Conference This Weekend!
429224 [gray.herter@] in New York City, Nov 15. We have created a special discount just for you,
429225 [shortcutter@] What a diabolic ploy to pull
429234 [ammarabuali@] On Nov 11, 2014, at 6:51 PM, Robert Klemme <shortcutter@googlemail.com> =

Why Nokogiri::HTML::DocumentFragment not working, while  Nokogiri::HTML::Document working well
429226 [aruprakshit@] The below is working :-

[ANN] minitest 5.4.3 Released
429227 [ryand-ruby@z] minitest version 5.4.3 has been released!

[ANN] omnifocus-github 1.8.0 Released
429228 [ryand-ruby@z] omnifocus-github version 1.8.0 has been released!

[ANN] rdoc_osx_dictionary 2.1.0 Released
429229 [ryand-ruby@z] rdoc_osx_dictionary version 2.1.0 has been released!

[ANN] world.db.codes - 245 Country Codes (Alpha2, Alpha3, FIFA, ISO,  TLDs, etc.) - Sample App in Ruby
429231 [gerald.bauer] the world's country codes (so far alpha 2, alpha 3, internet top level

Library to find Ruby modules/packages/dependencies?
429236 [kw@co eb ke ] I'm looking for a Ruby library to recursively scan a Ruby project and
+ 429239 [cookrn@gm il] I don't think I'm understanding quite what you're looking for, but using
| 429251 [kw@co eb ke ] As I understand bundler, it allows you to create recipes to manage a
| 429252 [cookrn@gm il] Ah. So you want to remove all extraneous libraries, even if they are a part
| 429253 [nskerben@gm ] I'd like to ad to this that OS X comes with ruby std
+ 429243 [drummond@re ] If you just want to create a package containing all the dependencies you

[ANN] Ruby 2.1.5, ruby-2.0.0-p598 and ruby-1.9.3-p551 are released
429237 [usa@ga ba ec] Ruby 2.1.5, ruby-2.0.0-p598 and ruby-1.9.3-p551 are released.

Koan question
429238 [leamhall@gm ] Working through the Ruby koans and came up with a question.
429241 [drummond@re ] You're using the shorthand for "slice" on the array class.
429242 [drummond@re ] Specifically the last line of documentation for this method: "Returns nil if
429244 [leamhall@gm ] The nil part makes sense. What I don't get is why the first out of range,
429245 [drummond@re ] It is kind of strange.
429246 [rob.biedenha] ...
429248 [ken.chien@gm] I believe I've tracked it down.
429250 [leamhall@gm ] Ken, that's a lot of tracking, cool!

ruby-lang.org email
429240 [eric@ri el o] ...

Testing encoding / escaping in Ruby 1.8
429247 [bruka@id ta ] It's Rails 2.3, Ruby 1.8.7
429255 [bruka@id ta ] I spent a bunch of time investigating this and I'm glad I did because

rbenv/Ruby 2.1.5 ignoring MacPorts openssl
429249 [gvimrc@gm il] I have the latest openssl-1.0.1j installed via Macports and visible on

[ANN] yahns 1.4.0 -_- sleepy app server for Ruby
429256 [normalperson] A Free Software, multi-threaded, non-blocking network application server

TLS renegotiation
429257 [bar.hofesh@s] ...

TLS renegotiation
429258 [bar.hofesh@s] ...

[ANN] Rails 3.2.21, 4.0.12, and 4.1.8 have been released
429262 [tenderlove@r] I would like to announce that Rails 3.2.21, 4.0.12, and 4.1.8 have been rel=
429263 [certificatio] Thanks man!  ;)

[ANN] RubyInstaller 1.9.3-p551 released
429264 [luislavena@g] I'm very pleased to announce the release of RubyInstaller packages for Ruby

[ANN] RubyInstaller 2.0.0-p598 released
429265 [luislavena@g] I'm very pleased to announce the release of RubyInstaller packages for Ruby

[ANN] RubyInstaller 2.1.5 released
429266 [luislavena@g] I'm very pleased to announce the release of RubyInstaller packages for Ruby

[ANN] Rubyで論理型プログラミング言語Hilbertを作りました
429267 [mail@ta ak k] ...
429268 [botpena@gm i] +1  has potential to be another killer app for ruby
429269 [mail@ta ak k] ...
429313 [mail@ta ak k] ...

RegEx
429270 [sata@ma l. g] ...
+ 429271 [fxn@ha hr f.] Regular expressions are an amazing and powerful tool that any programmer
| 429272 [sata@ma l. g] ...
| + 429273 [carlos.agari] sata,
| | 429276 [fxn@ha hr f.] The book Carlos recommends is one of the best technical books I've read.
| + 429274 [eigil@sa af ] ...
|   429275 [shortcutter@] There is also http://weitz.de/regex-coach/ (runs also on Linux under
|   429279 [aruprakshit@] Thanks Robert for sharing this. :-)
+ 429277 [bruka@id ta ] Regular expressions are a vast and beautiful subject. However for
  429278 [sata@ma l. g] ...
  429347 [eveith@ww eb] ruka.

Pippi 0.6 released, now it finds a series of "select" calls
429280 [tom@th ma le] [1,2,3].select {|x| > 1 }.select {|x| x > 2 }

sorting problem
429281 [r.wobben@ho ] ...
+ 429282 [drummond@re ] Make sure you return the array at the end of your method
| 429283 [r.wobben@ho ] ...
| 429284 [hassan.schro] This could be shorter and more readable as
+ 429291 [shortcutter@] NEVER compare a value with a boolean constant! This will not improve

what is  wrong here
429285 [r.wobben@ho ] I have to make a sort of database for movies.
429286 [fxn@ha hr f.] Works for me.
429287 [r.wobben@ho ] ...
429288 [fxn@ha hr f.] movies = {harry_potter: 8}

display problem
429289 [r.wobben@ho ] ...
429290 [jgabrielygal] Maybe they are expecting a space after the colon?
429292 [r.wobben@ho ] Thanks, wierd

proc problem
429293 [r.wobben@ho ] ...
+ 429294 [shortcutter@] It's all in the description of task 2. You pass something to a method but...
+ 429295 [jjconti@gm i] greeter &phrase
  + 429296 [r.wobben@ho ] ...
  | 429298 [jjconti@gm i] Did you read the article I pointed out? If you're learning, instead of just
  | 429299 [r.wobben@ho ] ...
  + 429297 [shortcutter@] <snip/>

what is wrong with this if
429300 [r.wobben@ho ] def display_balance(pin_number)
+ 429301 [shortcutter@] I think you got a syntax error because there are no brackets around
| 429302 [r.wobben@ho ] pin_number == @pin ? { puts "Balance: $#{@balance}."}  : pin_error
| + 429303 [sumit.pahuja] Try this, it will work.
| | 429306 [r.wobben@ho ] ...
| + 429304 [shortcutter@] It's a method call. You got the wrong brackets.
+ 429305 [matz@ru y. r] Only expression is allowed for then-part of ternary conditionals.
  + 429307 [r.wobben@ho ] Sorry, it works,
  | 429308 [sumit.pahuja] Nice that your error resolved, even this will also work.
  | 429309 [ruby@cc oc e] I'm not sure any of the previous answers will help you learn ruby,
  | 429310 [r.wobben@ho ] ...
  + 429315 [msfclipper@y] ...

test problem
429311 [r.wobben@ho ] I have now a exercise where I have to change a list to a string with the
429312 [axelrod.jere] For this line: "Test.assert_equals("10 9 8 7 6 5 4 3 2 1 liftoff!", liftoff
429314 [r.wobben@ho ] ...

How to tell if 8767 was backported to 2.0.0
429316 [jcoyne@ju ti] I'm on 2.0.0-p598 and I see a problem that looks a lot like
+ 429317 [fluido@fl id] The page that describes the issue (the link you post) includes some
+ 429318 [normalperson] Check the ChangeLog file that you got with the release and search for
  429339 [jcoyne@ju ti] Thanks Eric.  That was just what i was looking for.  I've opened

why can I here sum numbers
429319 [r.wobben@ho ] ...
429320 [axelrod.jere] The 'sum' variable needs to be initialized or else it takes the value of
+ 429321 [augusts@cr o] Yup, you need sum to be defined. Use inject to do just that
+ 429322 [r.wobben@ho ] ...
| 429323 [augusts@cr o] Accidental submit..
| 429324 [shortcutter@] No. Your approach is broken because
| 429325 [axelrod.jere] What if you put a number in the array?
| 429326 [shortcutter@] In the method you cannot know whether there are numbers in the
| 429327 [r.wobben@ho ] Can I have a answer to my question why the test is failing ??
| + 429328 [ram.psg.cse@] May be the space between sum and (1,2,3) is throwing error.
| + 429330 [ang0123dev@g] What is the result of "puts sum(1, 2, 3).inspect"?
|   429331 [shortcutter@] What is the sound of one hand clapping.  Sorry, your sentence just
|   + 429333 [ram.psg.cse@] *How about this?*
|   | 429335 [matthew@ke w] def sum(*args)
|   + 429336 [r.wobben@ho ] ...
|     429337 [chris.hulan@] naming is important
|     429338 [shortcutter@] He is simply invoking #inject on the wrong object (i.e. result of
|     429340 [r.wobben@ho ] Thanks,
|     429341 [shortcutter@] Exactly.
|     429342 [drummond@re ] Another valid option would be
|     429343 [shortcutter@] $ ruby <<CODE
|     429344 [r.wobben@ho ] ...
|     429345 [rob.biedenha] ...
|     429346 [r.wobben@ho ] ...
+ 429329 [bsv.1511@gm ] I would recommend the "inject" approach here. The reason why you are
threads.html
top