105275-106468

105081-106305 subjects 105454-106187

^ Socket Status in ruby
105275 [acc ddlsc.co] Does anyone know of a way to get the socket state/status (a la netstat -t's

^ [ANN] Samizdat 0.5.2, the Wiki release
105278 [d.borodaenko] Samizdat 0.5.2, the Wiki release

^ Seperate body content from HTML
105281 [mrmargolis w] I am currently working on a script that will parse lyrics on online
+ 105284 [joaopedrosa ] Take a look at the HTMLTokenizer module at RAA.
| 105290 [mrmargolis w] Excellent.  Thank you very much.
+ 105399 [kapheine hyp] =20
  105436 [mrmargolis w] Thank you Zachary.  I am checking out the API docs right now.

^ How do you like this?
105286 [NoOne Nowher] stmt = '{"a"=>%w(a1 a2 a3), "b"=>%w(b1 b2 b3)}'

^ multiple returns from a function (sorry, method!)
105287 [graham rockc] (line,format_line)=replace_tabs(line,fmt_line,@current_ruler)
+ 105289 [ruby-lists l] line, format_line = replace_tabs(line, fmt_line, @current_ruler)
| 105295 [bob.news gmx] "Alexander Kellett" <ruby-lists@lypanov.net> schrieb im Newsbeitrag
+ 105292 [graham rockc] Doh!, it works - I just put in some debugging, andthe caller is getting the

^ tracing variables
105293 [surrender_it] I wonder: is there a way in ruby to trace assignments to variables?
+ 105334 [pbrannan atd] I don't know of any way, but I think it would be a nice feature to have.
+ 105336 [john.carter ] Umm, what exactly do you mean. $globals? Ruby magic variables like $:?
  105349 [surrender_it] paul, john, I'll try to answer both in one message.

^ [ANN] Net::SSH 0.0.2
105307 [jgb3 email.b] Version 0.0.2 brings the implementation to full compliance with the SSH2
+ 105308 [usenet1 nosp] It would be nice if key authentication using Putty Agent (on Windows)
| 105310 [jgb3 email.b] Good point. However, I believe the putty utilities all know to look at
| 105312 [jgb3 email.b] K. I looked at it, and it's going to require a lot of work to support.
+ 105315 [jm zzzzzzzzz] Thanks for working on this!!!
| 105323 [jgb3 email.b] Tunneling is not yet implemented, and I've been debating its usefulness
| 105324 [jm zzzzzzzzz] 1.  accessing hosted mysql/postgresql server (ssl protocol feature not
| + 105325 [dross code-e] If you are referring to the X11 and port forwarding, I would use it. Could
| + 105326 [vjoel PATH.B] I'd be interested in using this (for DRb) too.
|   105327 [jgb3 email.b] So, if I understand it correctly, what you (all) would expect to be able
|   105337 [patrick hexa] Why not just call the method #tunnel?
|   105372 [jgb3 email.b] Well, the term the SSH docs use is "port forwarding", so if you're
|   105438 [patrick hexa] Jamis,
+ 105328 [ksibilev bel] Jemis,
  + 105329 [jgb3 email.b] Good question. I'm not familiar with the work being done on 1.9, so I
  | 105338 [ksibilev bel] Your one-liner gives me the 'true' which makes me think that I have the
  | 105340 [gotoyuzo not] Sorry. I didn't apply the patch attached to [ruby-talk:103503].
  | 105371 [jgb3 email.b] Will do. Thanks for the clarification.
  | 105378 [gotoyuzo not] Yes. It was deleted on the day after ;-)
  + 105332 [nobu.nokada ] No.  It has already been merged to the HEAD at the same time as

^ Array::index and rindex operator
105314 [nospam danis] the Array::index and rindex functions
105321 [g_ogata optu] I'm not so sure about that; #=== is primarily meant for case
+ 105322 [vjoel PATH.B] Enumerable#grep does use #===, so maybe what the OP wants is something
+ 105362 [kristof vlee] I think that would be nice.  I would vote for it.
  105364 [bob.news gmx] "Kristof Bastiaensen" <kristof@vleeuwen.org> schrieb im Newsbeitrag
  105367 [dblack wobbl] The problem though (aside from 'idx' for 'i' :-) is that you always
  105373 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  105375 [dblack wobbl] module Enumerable
  105384 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  105390 [dblack wobbl] ary.index(x) {|e| <condition> }
  105392 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  + 105395 [hal9000 hype] I think it's common to accept a block or an arg, but it raises the
  | 105397 [dblack wobbl] I still have this nagging memory of a method that raises an exception
  | 105400 [decoux moulo] svg% ruby -e 'Hash.new("aa") {}'
  | 105475 [g_ogata optu] g@crash:~$ ruby -e 'Array.new(1, 1){1}'
  | 105479 [dblack wobbl] It's an interesting problem, since the existence of #block_given?
  | 105494 [g_ogata optu] Well, one could also counter-argue that in the useless-block cases
  | 105500 [dblack wobbl] I'd rather not have a warning in the general case (i.e., imposed by
  | 105559 [g_ogata optu] In your example, it *could* actually see that there's a "yield" node
  | 105564 [dblack wobbl] class NoBlockError < Exception; end
  | 105565 [dblack wobbl] ^ NoBlockError      # :-)
  + 105396 [dblack wobbl] I think we're talking about different things.  What I meant is: if you
    105474 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag

^ How to encode binary for http.post()
105317 [jm zzzzzzzzz] I'm having problems posting a binary string (around 256 characters)
106427 [discord mac.] The rfc that describes the base64 encoding has a slightly different
+ 106440 [jm zzzzzzzzz] I ran into problems precisely because of this issue.  I had "+" showing
| 106467 [discord mac.] I'm not sure what you mean... those two functions, added to the Base64
+ 106468 [discord mac.] Oops. Sorry to reply to my own post. I made a mistake.

^ A couple more questions
105320 [NoOne Nowher] I offered the code below to someone who wanted to output the values of a
105350 [surrender_it] maybe you want the prettyprinter.rb module? it's in the standad
105380 [NoOne Nowher] Thanks,  Gabriele,

^ Ruby Advocacy/Documentation/Sponsorship?
105330 [jm zzzzzzzzz] Having discovered Ruby recently and falling in love with it, I'm
+ 105331 [dross code-e] I have been working on a CMS with ruby documentation, examples, and API. I
| 105365 [daniel danie] I'm still having major problems with the documentation for ruby.  For
| 105374 [surrender_it] well, this would be nice, indeed.. A simple web form would fit imo..
| 105379 [jamesUNDERBA] Maybe.  It requires folks to take the time to actually write the docs,
+ 105339 [jamesUNDERBA] Yes, because it does.
| + 105351 [surrender_it] well, there is even: http://whyruby.rubyforge.org/wiki/wiki.pl
| | 105353 [michael.fivi] On that note, are there any wiki packages written in ruby?
| | 105354 [surrender_it] *lots* try to search on RAA :)
| | 105357 [michael.fivi] awesome @ rubyforge.
| + 105411 [jm zzzzzzzzz] James,
|   105501 [jamesUNDERBA] You're welcome.  Ruby-doc.org is a collaborative effort, and the real
+ 105358 [armin xss.de] It would be very simple to setup a common search engine based on
+ 105359 [dblack wobbl] Ruby Central, Inc. (http://www.rubycentral.org) is a non-profit

^ Ruby Net::LDAP and ASN.1 Support
105333 [halostatue g] I am trying to catch up on a number of my neglected Ruby projects --

^ Windows serial port
105335 [john.carter ] I'm trying to talk to a Windows serial port. COM1: in fact.
105361 [Stephan.Kaem] Hmm, be sure that no other programm is reading/writing to/from that

^ Initialize returning nil if error condition - how
105342 [graham rockc] I've got "The Ruby Way" & "Programming Ruby", but can't find out how to have
+ 105343 [graham rockc] Just had an idea (thats the 2nd time I've done that this week! (not had an
| 105348 [bob.news gmx] "Graham Nicholls" <graham@rockcons.co.uk> schrieb im Newsbeitrag
+ 105360 [nobu.nokada ] Default Class#new always returns created instance unless any

^ CfC: Workshop on Revival of Dynamic Languages @ OOPSLA'04
105344 [roel.wuyts u] CALL FOR CONTRIBUTIONS
105345 [surrender_it] this message may not be so much in line with the previous but..
105453 [roel.wuyts u] thinkg od is the one beetween the C
105530 [vjoel PATH.B] Hm. So a hybrid system simulation language embedded in ruby might be of

^ [ANN] Anonymous CVS repository of lib/csv and lib/soap4r suspended again
105346 [nahi keynaut] Anonymous CVS repository for csv(lib/csv) and soap4r(lib/soap4r) were

^ [Q] YAML Error: stack level too deep
105347 [unet01 radio] `quick_emit': stack level too deep (SystemStackError)
105352 [ndrsbngtssn ] You're probably writing a very deep object graph, which uses up all the
105355 [unet01 radio] Thank you, for the quick answer. But i don't want to go deeper in this
105356 [ndrsbngtssn ] I guess readability could be a problem, but you could attempt to
105425 [jbshaldane h] Actually you are almost certainly triggering a YAML bug which causes

^ I have sooooo many pics of Marge Simpson masturbating
105363 [shehad cosmi] Also, ever dream about watching Maggie Simpson cum?

^ Druby load_limit
105368 [han.holl pob] I'm using drb for a Postgres database connection pool, and to avoid problems

^ Windows - Socket - Connect - Nonblocking
105369 [jean-francoi] Ruby1.8.1, native ruby (from the pragmatic guys), WinXP.
105376 [surrender_it] select() on windows is just able to handle FD representing sockets,
+ 105382 [jean-francoi] I ran nmake test and it is successful.
+ 105388 [mailinglists] Yes i hope that some persons of the ruby core team will fix this.
  105538 [jean-francoi] For those interested by this thread, I have just sent my patch to the

^ Ever dream about watching Maggie Simpson cum?
105370 [beforeshe xx] Also, would you finger Marge Simpson until she fainted?!!?
105377 [michael.fivi] what a silly spam.
105387 [mailinglists] Maybe he used a state of the art ruby scriptable rendering engine
105389 [michael.fivi] hahaha.

^ beginner question
105391 [mikael.x.lar] Is there any standard way to do or mimic this shell construction in ruby
105393 [bob.news gmx] "Mikael Larsson" <mikael.x.larsson@tele2.se> schrieb im Newsbeitrag

^ source code comments
105394 [dirk.einecke] Is there any standard way to comment ruby-code (for example description
105404 [flgr ccan.de] Moin!
105455 [dirk.einecke] Thank you.

^ Net::SSH and port forwarding
105398 [jgb3 email.b] Looks like the local->remote port forwarding will be pretty easy to
105464 [rasputnik he] It would save you having to open multiple tunnels, at least in theory,
105518 [jgb3 email.b] Actually, this is something you wouldn't be able to do even with

^ Enumeration (Ala Pascal, C, Ada)
105407 [james.b.crig] I put together the code that follows in an attempt to emulate (in a
105432 [cyclists nc.] I don't know if this is exactly what you're looking for, but check out
105490 [james.b.crig] Thanks, Tim.  I did a copy and paste of the code from the wiki, and it
105495 [pbrannan atd] It has a very similar interface to the one on the addlib wiki (not

^ Bugtracking & UnitTests == good?
105408 [asdf asdf.co] interested in Bugtracking and Unit Tests, read no further! :-)
+ 105409 [sean celsoft] Actually, this does sound like a great idea.  Idea: allow the users who submit
| 105413 [jgb3 email.b] It would have to be handled delicately. Otherwise, this sounds like a
| 105415 [sean celsoft] On the other hand, it would save a lot of time trying to decipher cryptic bug
| 105418 [jgb3 email.b] To be sure, there is a trade off. In this case, it's a trade off between
| 105420 [sean celsoft] You've cut out my quote where I said "allow the user"; I didn't say or imply
| 105421 [rcoder gmail] The thing I like about the idea of having actual code which is being
| 105427 [sean celsoft] This is an excellent idea, even if combined with a system that allows users to
+ 105419 [jm zzzzzzzzz] The best bug/issue tracking tool I've found is Roundup which is written
| 105429 [mailinglists] I found that a AskSam is the best program for tracking
| 105439 [patrick hexa] Most things aren't that bad.  Mocking up files, mocking up command line
+ 105422 [cmills frees] Seems like a great way to prevent bugs from coming back to life.  The
+ 105933 [bret pettich] What if the test fails for a different reason that that which triggered the
  106042 [martin.anker] I finally had a bit time to look a bit further into this project. The

^ Druby and garbage collection
105414 [han.holl pob] require 'drb'
105451 [drbrain segm] This is very, very unsafe.  Your DatabaseProxy may destroy itself at any
105472 [han.holl pob] [ cut ]

^ Secure Ruby Compiler
105417 [jm zzzzzzzzz] One of the killer features lacking in most scripting languages is the
+ 105424 [rcoder gmail] Randy,
| 105441 [michael.fivi] If not for discouraging 'casual copying', then are there tools for
| + 105449 [rcoder gmail] You can generate Windows executables with Excerb, or package an entire
| | 105452 [surrender_it] that should be exerb , no "c"
| | 105458 [michael.fivi] thank you. sounds exactly like what I'm looking for.
| + 105467 [pan erikveen] Well, here's some advertising for my own projects...
|   105468 [mailinglists] What can i do when i have 2 or more  scripts (think about a
|   105470 [pan erikveen] No. The idea of RubyScript2Exe is to let a script run on
|   105473 [mailinglists] As long as less then 20% of the worlds computer user population has high
|   105491 [rcoder gmail] Lothar,
|   105493 [lymans gmail] I use Exerb, EZExerb, and NSIS with HMSoft's interface.
|   + 105513 [surrender_it] are you isng LZMA compression or others? latest nsis should support
|   + 105520 [rcoder gmail] UPX can only compress the Ruby core files and DLLs you feed into
+ 105463 [neil hakubi.] How much are you offering to pay?  After all, if you're going to be
  + 105497 [jm zzzzzzzzz] Are you implying that if a person or company wants to obfuscate (hide)
  | 105498 [neil hakubi.] Registration key algorithms.   Exactly.
  + 105808 [snowzone5 ho] Secure Ruby Compiler
    + 105832 [lymans gmail] The version of theWRAP that I just looked at didn't compress at all...
    | + 105833 [lymans gmail] sorry - I switched from zlib compression to LZMA compression - not LZW!!
    | + 105870 [snowzone5 ho] Secure Ruby Compiler
    + 105836 [sean.zuzu gm] in my not so humble opinion, the killer feature of so-called
      + 105845 [johnatl mac.] It's a choice. If you want to share your source, that is your decision.
      | + 105851 [sean.zuzu gm] i could burn down your house, and that would be my decision.
      | | 105861 [johnatl mac.] That's completely different. Burning down my house infringes on my
      | | 105862 [sean.zuzu gm] how does obfuscated code not infringe my rights?
      | | + 105863 [lymans gmail] Seriously guys.
      | | + 105864 [sean celsoft] On the subject of the pros and cons of open source vs. proprietary closed
      | | | 105867 [sean.zuzu gm] 0-1 Software Libre wins!  ;-)
      | | + 105868 [gsinclair so] It just doesn't.
      | | + 105871 [johnatl mac.] Because you have the choice not to use it.
      | |   105872 [sean.zuzu gm] sure, and slaves have the choice not to work.
      | + 105884 [neil hakubi.] So would changing the permissions on the file and taking root access from
      + 105875 [jm zzzzzzzzz] I love your passion for open source.  I love open source too.
      | 105881 [sean.zuzu gm] *BOOOP*  *BOOOP*  i think we're passing the buoy horns announcing
      | 105909 [jm zzzzzzzzz] I wish that were true but the law would disagree with you.
      + 105878 [jm zzzzzzzzz] I love your passion for open source.  I love open source too.

^ [RubyCocoa] Cocoa Bindings? (cont.)
105423 [hvs1 chello.] (to Kevin Bullock in this group: when searching for a solution, I saw
105431 [dhtapp see_s] Harry,
105556 [hvs1 chello.] Yes, they are part of the NSKeyValueCoding protocol and should be

^ REXML problem
105428 [jbshaldane h] I am trying to read from a zlib GzipReader with REXML (actually with
105496 [ser germane-] How do you define "behaves enough?"
105517 [jbshaldane h] Thanks for your prompt reply!
105589 [ser germane-] That should do it.  I mostly use readline and some diagnostics about

^ Unit Testing Without Frameworks
105433 [sean celsoft] I felt the same way.  I got back into unit testing in a way I don't think most
105958 [jm zzzzzzzzz] I used to feel the same until I came across this page.  It's the best 10

^ Rubygems Wiki Spam
105437 [cc1 cec.wust] Umm all of the rubygems wiki has been overwritten by spam from some
105440 [patrick hexa] Until Ruby-Forge adds in Deny directives, you can help by restoring the
105442 [chadfowler g] This is a problem that Wikis all over the web seem to be facing.
+ 105443 [botp delmont] provide a catcha before edit. Deny edit if invalid answer to catcha.. then
| 105456 [lists zara.6] that's captcha :-)
| 105457 [botp delmont] oops, goptcha. why did I missed that p? I never/seldom miss a p :-)
+ 105448 [quixoticsyco] Pass it through a Bayesian filter before committing changes.
+ 105450 [patrick hexa] You can't have a general solution to stop spammers.  There's a person
+ 105486 [nick activeh] it is not fully automated. They block 10-20 ips per day.
  105492 [paul vudmask] What what a great place to start when considering wiki spam.

^ Time to go vote ...
105444 [jamesUNDERBA] Oh, and be sure to vote for vim as favorite editor, too, while you're at it.
+ 105445 [matt technor] ALso, remember to write in a vote for Whitewater as your favourite File
| + 105446 [botp delmont] nah, I'll vote for aeditor ;-) So cmon Simon! [*]
| + 105447 [michael.fivi] voted for Ruby, but had to vote for SubEthaEdit as favorite editor.
+ 105502 [jm zzzzzzzzz] Done!
+ 105508 [mvondung gmx] Done that, too. :)
  105544 [botp delmont] put your vote in Others, then specify Centos.
threads.html
top