389090-398824 subjects 389545-390149

macruby versus MRI 1.9
389325 [cartercheng@] I was wondering what the differences between these two releases are. I was
389326 [cwprogram@li] the
389355 [cartercheng@] Thank Chris. I was actually more interested in this from an internals
+ 389356 [cwprogram@li] Ah=2C then I would recommend checking with the macruby-devel mailing list i=
| 389357 [cartercheng@] Thanks Chris. I figure I would just run some diffs- I am looking for some
+ 389359 [steve@st ve ] You should talk to the Rubinius people too, as they're also llvm +
  389363 [cartercheng@] I guess the question for me stems from two sources-

Error with Rake
389330 [zombiegenera] ...
389334 [echristopher] 9 , 10
389335 [zombiegenera] I know there's a problem in arithmetic2 because I wanted to have the
389383 [luislavena@g] Definitely you should state what is your question better since was not

need help with callbacks
389339 [luke.gru@gm ] I've recently tried to integrate a little bit of Rails-y stuff with

security thesis advice
389340 [jorgebo10@gm] I'm a student at the University and currently searching for a
+ 389341 [cwprogram@li] ce.
+ 389349 [paradisaeida] Ruby-ESAPI.
+ 389351 [cmdjackryan@] ce.
+ 389364 [hramrach@ce ] One thing where Ruby is lacking compared to PHP is user isolation on
| + 389365 [cartercheng@] I have actually recently become quite interested in these sorts of topics.
| | 389366 [jorgebo10@gm] Actually, i had an idea about building security on-demand...sounds a little
| | + 389367 [cartercheng@] What kind of thesis is this for? I suspect that any thesis type project
| | + 389380 [hramrach@ce ] This is fundamentally impossible.
| + 389384 [shortcutter@] Just for curiosity: what exactly do you mean by "user isolation" and
| | 389385 [hramrach@ce ] It is common to see shared hosting where one Apache instance runs
| | 389406 [cmdjackryan@] Actually, this relies on *Apache's* features: Apache spawns off a PHP
| + 389417 [chris@s- -u ] 'thin' and 'unicorn' (just to name some examples) both have built in
|   389420 [hramrach@ce ] I don't think this has anything to do with chrooting.
+ 389413 [chris@s- -u ] Hey there Jorge,
  389416 [jorgebo10@gm] Honestly, im just evaluating different approaches.I'm finding very
  389418 [chris@s- -u ] I've read your proposal, and it immediatelly reminded me about openbsd's
  389421 [hramrach@ce ] Yes, there some things that you are missing.
  389422 [chris@s- -u ] Sounds reasonable, gonna check it out.

[ANN] rubypython 0.5.3 Released
389344 [halostatue@g] rubypython version 0.5.3 has been released!
389353 [code@ap th o] Would you please provide URIs for project pages (including URIs for
389360 [ryand-ruby@z] ...
389371 [code@ap th o] While your snarky response does point to something handy, it doesn't
389373 [ryand-ruby@z] Neither does your request as it only addresses a single instance.
389374 [code@ap th o] I'm not sure what you're trying to accomplish here.  Are you trying to
389409 [ryand-ruby@z] not
389424 [code@ap th o] (This is ridiculous.)

[ANN] Paramix v2.0.1 released
389345 [transfire@gm] Paramix 2.0.1 has been released.

installing RedCloth
389346 [sbstn26@ya o] So I've just installed DevKit successfully and have passed the
389347 [cczona@gm il] Those paths suggest that you may be using Ruby 1.9.1, which has lots
389350 [sbstn26@ya o] I am using 1.9.2
389354 [steve@st ve ] Ruby 1.9.2 has a 'library compatibility version' of 1.9.1, so they
389386 [sbstn26@ya o] Is this supposed to help me or are you just arguing with C. Zona?

Installing latest mysql2 on windows 7
389348 [zombiegenera] ...
+ 389505 [rogerpack200] what's your full error output?
+ 389529 [luislavena@g] Replace mysql with mysql2 gem and should work (except for the IRB testing code since mysql2 is different)

Ruby solar calculations
389352 [its.code.in.] But my equation of time <http://en.wikipedia.org/wiki/Equation_of_time> and

Open a webui
389358 [pred86@gm il] In trying to a ruby program that remove finished torrents in utorrent
389362 [cmdjackryan@] thatmachtedthesearch.
389369 [chris@s- -u ] Or mechanize if you just want to klick a few buttons/links easily.

[ANN] Radix v2.0.1 released
389368 [transfire@gm] Radix 2.0.1 has been released.
389372 [code@ap th o] If you don't mind the question -- what prompted the license change from

[ANN] mime-types 1.17.1 Released
389370 [halostatue@g] mime-types version 1.17.1 has been released!

Re: Radix v2.0.1 released
389375 [transfire@gm] There were a few reasons.
+ 389376 [transfire@gm] Oh, I should also ask, is it a problem?
| 389402 [code@ap th o] Absolutely not.  Between the two, I actually prefer the two clause BSD
+ 389401 [code@ap th o] Thanks for taking the time to explain your decision.  I understand (and

ASCII character help!
389377 [scytherdarks] i already finish this overall tutorial answered the exercise and now
+ 389379 [alanschwarz@] The question isn't asking you to write a program. It is only asking you
+ 389381 [scytherdarks] Thanks for replying Alan, also for the help and pointers....
| + 389394 [josh.cheek@g] You can use String#ord and Fixnum#chr to convert between ascii value and
| + 389399 [alanschwarz@] On Oct 24, 2011, at 1:16, Ray DarkScythe <scytherdarkscyther@yahoo.com> wrot=
|   389403 [alanschwarz@] Oops, sorry about that "From: " thing. I don't know how it got there.
+ 389414 [scytherdarks] Finaly it went through my head... thanks for all the help guys! (correct
+ 389423 [scytherdarks] repost the code: forgot and edit something

IMAP : Fail to download Audio attachment in correct format
389378 [sah.rupak@gm] I am using IMAP apis to access my mailbox and download attachments (.wav

how can i find users mac address
389387 [rajesh.13kit] I have a requirement,
+ 389388 [peterhickman] To the best of my knowledge you cant get this from a web connection.
+ 389389 [rajesh.13kit] Thanks peter,
| + 389390 [peterhickman] Well you could always look at the users IP address, this is available
| + 389391 [lazing@gm il] maybe some addon for browser, to submit macs to server
+ 389392 [rajesh.13kit] Thanks Pete :)
+ 389393 [rajesh.13kit] Ryan,
| 389395 [lazing@gm il] Rajesh,
| 389397 [jeremy@bo p.] There is a deeper problem here, and that is the fact that you have to
+ 389398 [botpena@gm i] unless all your users are in one lan, you cannot get their mac addr.

[ANN] Regex v1.1.1 released
389400 [transfire@gm] Regex 1.1.1 has been released.

insert compressed string to blob column mysql
389405 [aggouni2002@] I have a table in mysql with a blob column

[ANN] 2011 Call for grant proposals
389407 [shugo@ru y- ] The Ruby Association is looking to give grants for development projects
390897 [shugo@ru y- ] The following two projects have been selected from 16 proposals by
390898 [shugo@ru y- ] The previous mail was formatted wrong, so I resend it.

retrieve blob field
389412 [aggouni2002@] I saved a text into blob column in mysql table

Match values from Drop Down
389415 [idealone5@ho] i have a Scenario, wherein I am getting list of Drop Down values
389419 [jakekaiden@y] - j

[ANN] net-http-persistent 2.2 Released
389425 [drbrain@se m] * http://docs.seattlerb.org/net-http-persistent

[ANN] RichUnits v0.6.2 released
389427 [transfire@gm] RichUnits 0.6.2 has been released.

[ANN] BiCrypt v1.2.0 released
389428 [transfire@gm] BiCrypt 1.2.0 has been released.

Unusual behavior of a Ruby hash
389429 [kachaleedmon] Rubysters,
+ 389430 [shortcutter@] =3D>
+ 389431 [jgabrielygal] =3D>
  389487 [kachaleedmon] In fact, Jesus should be the program saviour (i'm kidding).
  389495 [jgabrielygal] h,
  389516 [kachaleedmon] 2011/10/27 Jes=FAs Gabriel y Gal=E1n <jgabrielygalan@gmail.com>

Rake problem
389432 [fullchaoz32@] database i dont know whats the problem i tried searching in google but

[ANN] rundown.js
389433 [transfire@gm] I just release an npm package called `rundown`. It is an RDoc document

Add logger to module/class
389434 [k.dorsel@gm ] class Logging < Logger
389435 [tim.pease@gm] Take a look at the "Logging" gem as it already support logging to =

[ANN] JRuby 1.6.5 Released
389436 [tom.enebo@gm] The JRuby community is pleased to announce the release of JRuby 1.6.5.
389510 [rogerpack200] Thanks again.
389558 [jon.forums@g] And JRuby's great for simple automation scripting.

[ANN] celluloid 0.5.0: easy-to-use concurrent objects for Ruby
389437 [tony.arcieri] Celluloid provides a simple and natural way to build fault-tolerant

Re: JRuby 1.6.5 Released
389438 [simonharriso] Thanks Thomas (and all others). Been checking ever since you said "1.6.5
389439 [tom.enebo@gm] 1.7 is end of yearish/early next year.  1.6.6 should be ~1month.

multi dimension array
389440 [jsalih75@ya ] a=[["doc1",["hi","bye","guy"],[],[],[]],["doc2",["bye","now","is","hi","hi","hi"],[],[],[]],["doc3",["bye","now","is","hi","hi","hi","why","go","guy"],[],[],[]]]
+ 389441 [ToMaTo@Go gl] The error indicates that you are calling "each" method on a Fixnum object.
+ 389444 [jakekaiden@y] a=[["doc1",["hi","bye","guy"],[],[],[]],["doc2",["bye","now","is","hi","hi","hi"],[],[],[]],["doc3",["bye","now","is","hi","hi","hi","why","go","guy"],[],[],[]]]
+ 389452 [shortcutter@] "hi","hi"],[],[],[]],["doc3",["bye","now","is","hi","hi","hi","why","go","g=
  389453 [shortcutter@] ,"hi","hi"],[],[],[]],["doc3",["bye","now","is","hi","hi","hi","why","go","=

[ANN] DNote v1.7.0 released
389442 [transfire@gm] DNote 1.7.0 has been released.

389443 [ryand-ruby@z] Tonight is our 350thish Meeting!

[ANN] Erbside v0.3.0 released
389445 [transfire@gm] Erbside 0.3.0 has been released.

[ANN] minitest 2.7.0 Released
389446 [ryand-ruby@z] minitest version 2.7.0 has been released!

Re: minitest 2.7.0 Released
389447 [sunaku@gm il] Hurray!  Thanks for the release.  Now I can has spec in xunit! :-)
389449 [ryand-ruby@z] Thanks (again) very much for the contribution!

[ANN] mime-types 1.17.2 Released
389448 [halostatue@g] mime-types version 1.17.2 has been released!

How to correctly handle partial write in Ruby Sockets?
389450 [grigory.v.p@] TCP sockets are streams, not messages, so berkeley sockets send()
389451 [shortcutter@] In blocking mode you can simply do
389454 [grigory.v.p@] Thanks for reply.
+ 389459 [b.candler@po] Because ruby's write will keep calling the underlying system write()
+ 389460 [shortcutter@] You're welcome.

How to SSH interactive Session
389455 [king.sabri@g] Good day everyone
+ 389458 [b.candler@po] I'd suggest using Net::SSH::Telnet. This is a wrapper around Net::SSH
| 389462 [king.sabri@g] Thanks Brian,,
| + 389473 [shortcutter@] ord"
| + 389541 [b.candler@po] Yes, well you have to explicitly expect the two different outcomes and
+ 389488 [king.sabri@g] @robert_k78 : Thanks dear
| 389489 [shortcutter@] ???
+ 389521 [king.sabri@g] Dear Robert
+ 389573 [king.sabri@g] Guys ,, I got the solution

389456 [dickyhide@gm] I have a network space on office, in the past I download and install gem
389481 [luislavena@g] Luis Lavena

Compromised IRB
389461 [leo.mmcm@gm ] I've got an issue.
+ 389463 [dan@na hb r.] I know nothing about fink.
| 389464 [waynefb@ea t] As a Mac OS X user, I want to second Dan's recommendation on using RVM instead. It's a much easier way to deal with Ruby installations.
+ 389469 [josh.cheek@g] I also don't know anything about Fink, but if you look at the load error, it
+ 389480 [leo.mmcm@gm ] Ahhhhh was a silly (but not that much) matter.

Modify only a .rb file, but not other .rb files, while still extending core classes?
389465 [shevegen@li ] Given is a small .rb file.
+ 389467 [jgabrielygal] One solution would be to create a module with the rand method, and
| 389468 [peter@va de ] 2011/10/26 Jess Gabriel y Galn <jgabrielygalan@gmail.com>
| 389470 [jgabrielygal] Sure, but if you need it in several arrays, the module approach is cleaner.
| + 389472 [shortcutter@] r.
| + 389474 [peter@va de ] 2011/10/26 Jess Gabriel y Galn <jgabrielygalan@gmail.com>
|   389493 [matma.rex@gm] On an unrelated note, if you want a random element from an array,
+ 389471 [josh.cheek@g] Things like that will be available in Ruby 2.0, but aren't available yet (

Re: DNote v1.7.0 released
389466 [shevegen@li ] Hmm you release many ruby related projects which is awesome!

[ANN] XOXO v1.2.0 released
389475 [transfire@gm] XOXO 1.2.0 has been released.

DateTime in Ruby 1.9.2
389476 [tcblues@gm i] I'm migrating all my code from 1.8.7 to 1.9.2 and now when I run
389477 [tcblues@gm i] I found out that it is necessary now to include
389478 [jeremy@bo p.] $ ruby -v -e 'puts DateTime.now.strftime("%Y%m")'

[ANN] HTMLFilter v1.2.1 released
389479 [transfire@gm] HTMLFilter 1.2.1 has been released.

[ANN] Cuts v1.1.0 released
389483 [transfire@gm] Cuts 1.1.0 has been released.

PROBLEM SOLVED, for those interested
389486 [sbstn26@ya o] Someone was kind enough to search a solution for me (I should have

scoping of special variables
389490 [cartercheng@] I am somewhat new to ruby and I was curious about certain details of the
+ 389491 [matma.rex@gm] If it starts with a $, it's global. I suppose you mean special
+ 389492 [jakekaiden@y] - j

Ruby C: How to convert any object type into a T_STRING?
389497 [ibc@al ax ne] class into a T_STRING.
389499 [admin@te so ] You can try
389500 [ibc@al ax ne] Thanks :)

Ruby 1.9.2 test Unit
389498 [tcblues@gm i] I'm migrating my code to from 1.8.7 and I had before something like
389502 [cczona@gm il] So, no need for your test to undefine it.
389504 [tcblues@gm i] Thanks!!

Kernel on Ruby 1.9.2
389501 [tcblues@gm i] Now it seems like Kernel it is not working the same way
+ 389503 [cczona@gm il] search for a method, then select a Ruby version number to see where it
+ 389535 [shortcutter@] Can you show the calling code?
  389600 [tcblues@gm i] I solved this by using it as public
  389612 [shortcutter@] That is not necessary, since your error was most likely that you

@_result object in Ruby 1.9.2
389506 [tcblues@gm i] I was using @_result in Ruby 1.8.7 but it seems that doesn't exist
+ 389527 [hanmac@gm .d] i does not find any information about @_result
| 389530 [tcblues@gm i] Yes, but in Ruby 1.8.x
+ 389534 [justincollin] This is because test/unit was completely replaced in 1.9 by minitest. It
  389538 [me@wa to ho ] Alternatively, you could try using the test-unit gem, which a more

RCR: output on non-main thread that die from an unrescued exception
389507 [rogerpack200] I noticed that the default behavior for ruby is, if a child (non-main)
389512 [regis.aubare] +1 for me,
389668 [rogerpack200] Thankfully with 1.0.x
389674 [cmdjackryan@] File a feature request http://redmine.ruby-lang.org/. It will get at

Memory issue with tail command
389508 [bluefootedpi] I am writing some code, that needs to open a file of size 12413 to read
389509 [bluefootedpi] I found out more information. The problem only comes up when I run the
389523 [shortcutter@] Sounds as if the error is in some totally unrelated place.  You

[ANN] String::Mask v0.3.2 released
389511 [transfire@gm] * Homepage: http://rubyworks.github.com/strmask

[ANN] NoBacksies v0.3.2 released
389513 [transfire@gm] NoBacksies 0.3.2 has been released.

[ANN] OpenDSL v1.1.1 released
389515 [transfire@gm] OpenDSL 1.1.1 has been released.

How to make my Ruby program more user friendly
389517 [manjuvpm02@y] I need some suggestion regarding how can I make my Ruby program more
389525 [mike@os n. r] Make it readable.

SOAP WSDLDriverFactory - where?
389518 [paulinedonna] I've seen various examples of using Ruby to generate a SOAP client, and
+ 389522 [shortcutter@] *** REMOTE GEMS ***
| 389524 [klauer@gm il] If you just want to use SOAP on the client side, there are a couple good
+ 392344 [paulinedonna] My apologies for not updating.

How to write TCPServer code that can exit?
389519 [chris.lervag] I've got a bit of a problem with my network code. Perhaps someone can
389520 [shortcutter@] I think you need to generally think about how that server will be shut

Use #extend on BasicObject ?
389526 [transfire@gm] Can it be done?
389528 [shortcutter@] Funnily enough I stumbled across the very same issue a few days ago.
389531 [transfire@gm] Thanks. Robert. You are a reliable work horse on this mailing list.
389542 [shortcutter@] Thank you!
389543 [transfire@gm] Probably b/c normally you're not supposed to call it directly. You use

[ANN] RAML v0.2.0 released
389532 [transfire@gm] RAML 0.2.0 has been released.
389533 [whitequark@w] All links on http://rubyworks.github.com/raml/ leading to rubydoc.info

Re: RAML v0.2.0 released
389537 [transfire@gm] Thanks. Looks like QED document did not get in the gem. I fixed and

[ANN] win32screenshot 1.0.6
389544 [jarmo.p@gm i] I've released new version of the Win32::Screenshot gem - Capture