232096-238668

231814-232586 subjects 232297-233875

^ mysql-ruby won't connect
232096 [ziggurism gm] I'm trying to get my first ruby box set up.  I'm so far unable to
+ 232108 [schapht gmai] Interestingly enough I have the same problem, but hadn't noticed
+ 235888 [schapht gmai] Sorry this took me forever to get back to, but I think I may have
| + 236622 [ziggurism gm] Alright, I've done this step.
| | 237755 [ziggurism gm] I said that this workaround didn't fix things for me, but maybe it
| + 238668 [ziggurism gm] I can confirm that it is indeed necessary to delete those lines after
+ 237750 [ziggurism gm] For the sake of completeness and self-containedness, let me type in

^ announce: pam module for blocking failed attempts
232101 [v.konrad lse] for one reason or another, the pam_abl module stopped working with the
232325 [v.konrad lse] i have added some comments to the code...

^ what gui tool does david use in that screencast ?
232102 [TODO01 gmail] the admin tool for mysql he used in that
+ 232109 [TODO01 gmail] thanks in advance
+ 232127 [jeremymcanal] It's a tool called CocoaMySQL: http://cocoamysql.sourceforge.net/
  232129 [TODO01 gmail] Thanks a billion Jeremy,you really do me a  very huge favor ,thanks ..

^ how to concanate this mysql query?
232103 [rajibsukanta] could any pl suggest me how to create this mysql query string in ruby?
232132 [schapht gmai] This looks like more a of a mysql problem.  But I think you need to
232245 [rajibsukanta] Thanks I also tried to put ' around the csv_name variable  but
232261 [schapht gmai] I'm not sure what you mean.  That string looks fine to me.  irb agrees.
232288 [rajibsukanta] Thanks  for the lead it is resolved
232344 [schapht gmai] Nice work.  You should be able to safely remove those +'s, but do

^ where to begin?
232107 [mapleoin ner] charset="us-ascii"
+ 232110 [TimHunter nc] A lot of open source projects need better documentation. A way to start
| 232171 [jbornhoft gm] I am in the same boat as Oin Maple although I am pretty sure my code is
+ 232111 [spoooq gmail] When a team accepts your code, then you are good enough. Most projects
+ 232281 [timx nospam.] It usually takes a bit of time to get across any project you join which has
  232340 [schapht gmai] And a hearty +1 to that!  Nice work, Tim.  That's probably one of the
  232532 [timx nospam.] Thanks. However, I'm embarrassed to admit I still don't have a blog! Just one

^ 3D Game engine with Ruby binding ?
232113 [user domain.] binding?
232116 [jameskilton ] A "solid and well maintained" one doesn't exist yet, though many are being

^ address server
232115 [marco.burlan] Do you know a method for find address of the server ?
232120 [shortcutter ] In what kind of application?
232126 [marco.burlan] In a web application
+ 232128 [shortcutter ] Often you can get this information from the URL of the current page.
+ 232195 [fredjean fre] I'm going to make the assumption that we are talking about a Rails app. The
| 232326 [marco.burlan] Me too. This was my trouble.
+ 232283 [timx nospam.] I'm suspecting your asking the wrong question. Can you expand a bit more on

^ operator precedence of assignment
232119 [dan-ml dan42] How do you think ruby parses this expression?
+ 232136 [gavin refine] Per...
+ 232148 [matz ruby-la] Ah, for your information, that surprised me as well.  Perhaps bison
  232153 [shortcutter ] I think Daniel did not want you to do anything - in fact he seems rather
  232155 [matz ruby-la] _That_ made me wonder what I should do.
  232205 [shortcutter ] But *you* chose it, didn't you?  So... :-)

^ [ANN] RubyOSA 0.2.0
232130 [laurent.sans] I'm pleased to announce the second public release of RubyOSA, 0.2.0.
232137 [schapht gmai] *applauds*

^ Detecting default used in method calls
232131 [argnosis yah] I would like to know if a function has been called with or without an
+ 232139 [schapht gmai] Not sure if there's something more graceful, but my first instinct
+ 232140 [florgro gmai] def fun(a, b = (no_b = true; 5))
| + 232151 [shortcutter ] But clever!
| + 232199 [transfire gm] Huh... That's pretty cool. Maybe prettier is we reduce it even more?
+ 232142 [gavin refine] def foo( a, b=nil )
+ 232145 [jeremymcanal] def myfunction(a, b = nil)
+ 232189 [drbrain segm] No need to do those complicated things that everybody else is
| 232197 [transfire gm] class X
+ 232192 [ara.t.howard] def the_function *a, &b

^ Can't post to Rails form
232135 [yitzhakbg gm] Application error (Rails)
232138 [schapht gmai] Email the rails list.  They should be able to tell you something.
232141 [gavin.kistne] ...

^ Detecting holidays
232143 [djberg96 gma] Well, it took seven years, but I've finally been annoyed enough by
+ 232147 [jeremymcanal] class Date
| 232177 [schapht gmai] For those sort of holidays you could use the Chronic gem to parse a
| + 232179 [jeremymcanal] I thought of Chronic (a fine library that I use often!); I'm toying
| + 232180 [nicksieger g] Emacs has a really robust holidays library that's not too lengthy, perhaps a
+ 232154 [kieran.tully] What currently happens when the report 'fails'? Could you generate an
| 232156 [djberg96 gma] True, I may end up doing that in practice.
+ 232160 [brabuhr gmai] You may be able to build something that checks againt an iCalendar
+ 232181 [djberg96 gma] For fixed holidays, sure - I think that's what Date::Calc does (i.e.
| + 232185 [kenosis gmai] And whatever solution, it needs to be dynamically updatable to account
| | 232190 [jeremymcanal] Well, the way I'm working it out is like AR's dynamic finders.  It
| | + 232193 [schapht gmai] Sounds neat.  Just please bottom post when replying :)
| | | 232258 [twifkak comc] No! I insist that you top post!*
| | + 232194 [djberg96 gma] Actually, once I took a stab at it, I think it's fairly easy for the
| |   232200 [schapht gmai] I think it would be cweek == 4, but I like the idea.  This particular
| |   232206 [djberg96 gma] Yeah, I think you're right about the cweek.  You're also right about
| + 232213 [_mwryder wor] I have an old copy of Computer Language that includes the C source for
|   232235 [gavin.kistne] You stingy bastard! I only get a holiday when it happens that New
+ 232252 [jeremymcanal] Okay, I got the code done.  I just need to create lists of holidays
  + 232254 [matt kettlew] RubyConf Days?
  + 232296 [alex blackke] Unfortunately, there doesn't seem to be much explanation of the logic
    232728 [jeremymcanal] I haven't forgotten!  I'm trying to get the architecture right (I was
    232732 [djberg96 gma] I tinkered a bit with the notion of using a module instead of monkey

^ Win32OLE: how to pass parameters by reference?
232146 [jan.svitok g] I need to call an OLE method that takes a VARIANT argument, and fills
232452 [masaki.suket] No, WIN32OLE_VARIANT is Ruby 1.9 feature.
232481 [jan.svitok g] In the meantime I have found the answer in your older answers. Thank
232632 [pit capitain] Jan, this is great. Enhancing the existing documentation of a library

^ A reftex-like mode for ruby in emacs ?
232150 [vincent.four] I'm a fervent emacs user, and I've been recently amazed and delighted
+ 232170 [chneukirchen] Try speedbar or maybe imenu.
| 232175 [vincent.four] speedbar doesn't seem to work with ruby files (?) but imenu is good.
| 232292 [timx nospam.] You can probably improve things by setting up exhuberant-tags and maintaining
+ 232187 [ian iandugga] Check out the emacs code browser as well (ecb).
  232196 [vincent.four] Yes, that is great, thanks !
  232241 [kristof vlee] (shameless plug :-)
  232293 [timx nospam.] and I will second that. I only started looking at ruby a few weeks ago. Since
  232432 [vincent.four] Thanks to all of you for your answers. I've been looking around, and I
  232437 [vincent.four] [sorry, oops, ri-show-topic is an old command of my own]

^ posipele to jump to another line in the program?
232164 [johannes_roo] Okay guys!
+ 232166 [james.britt ] Take a look at continuations, and throw/catch
+ 232172 [aledonne.lis] Johannes-
+ 232174 [vjoel path.b] One way is to use the "redo" keyword. However, it only works within a
+ 232188 [w_a_x_man ya] co1 = false

^ modicum
232167 [transfire gm] Sometimes you have code, not because it looks beautiful, or reads well

^ [ANN] Ruby In Steel Personal Edition RC1
232182 [huw DELTHISB] We've just put the first release candidate of Ruby In Steel PE online. Users
232201 [jgbailey gma] I've really enjoyed the product as you've been developing it. I prefer

^ Any projects need rdoc documentation help?
232198 [jbornhoft gm] As part of my effort to become increasingly more involved in the Ruby
+ 232216 [james.britt ] Yes. The Ruby Standard Library
+ 232218 [schapht gmai] How's your C?  Either way. Ruby itself could always use help with the
| + 232221 [jbornhoft gm] My C is non-existent... the only language I 'know' is Ruby.
| + 232278 [rob muhleste] Mat, I noticed that this still refers to the ruby_1_8 branch but I
|   232329 [schapht gmai] The word from Eric is that you should work against the trunk but also
+ 232246 [srobertjames] SOAP4R is a crucial lib, and has *no* RDoc (other than the
| + 232250 [rsanheim gma] +1 on Soap4R.  Its a shame how poorly documented that lib is.
| + 232255 [cdcarter gma] I too am willing to help document projects, and I will take a look at
| + 232263 [sean cyberwa] +1 for SOAP4R. It's crucial such libs are documented. Just my opinion
+ 232276 [rob muhleste] This touches on two broader topics as well 1) a master prioritized
| 232416 [rob muhleste] Ok, I confess I skipped over the "Writing CGI Scripts" section of the
+ 232395 [christopher.] The Watir project is looking for some rdoc help, see the last entry in

^ Strange behaviour with array of arrays
232208 [dan.stevens.] # Create an array of arrays by explicitly stating values
+ 232210 [james graypr] => [[nil, nil, nil], [nil, nil, nil], [nil, nil, nil]]
+ 232212 [tim.pease gm] The syntax you want is this ...

^ [ANN] Sup 0.0.3 Released
232211 [wmorgan-ruby] The most usable version yet, with mbox-over-ssh support, imap support
+ 232215 [schapht gmai] Best dedication ever!
+ 232242 [flori nixe.p] Small bug report: The net-ssh dependency seems to be missing in the sup gem.
+ 232376 [tim.pease gm] Another small bug report ...
  232431 [wmorgan-ruby] Thanks! Please try 0.0.4, which I just released. It's all bugfixes.

^ Calculating roman numerals
232214 [shiloh.madse] Ok, I'm having trouble with another exercise in this book. It has
+ 232217 [angus quovad] [Shiloh Madsen <shiloh.madsen@gmail.com>, 2007-01-02 22.35 CET]
| 232220 [shiloh.madse] Thank you. That gave me an entirely new way to look at this. I am
+ 232223 [w_a_x_man ya] class Integer
+ 232334 [ruby anthrop] } Ok, I'm having trouble with another exercise in this book. It has
| 232573 [w_a_x_man ya] require 'enumerator'
| 232663 [rodrigo.berm] -rb.
+ 232627 [jan.svitok g] Look for older thread "Need help with a program".
+ 232665 [tim.pease gm] Lest we all forget about the code snippets on RubyForge ...
| 232683 [gregory.t.br] The code snippets thing is super cool, if only it was better
+ 232672 [jbornhoft gm] Which book?
+ 233079 [g.h.p.ebberi] Many people have answered, but since I'm a beginner I would like to have
  233083 [w_a_x_man ya] The original poster asked for a way to translate from modern numerals

^ Problem with vim and SimpleFold
232222 [guido.de-mel] I just started using the SimpleFold [1] plugin with vim 6.4.
232232 [ mfp acm.org] This comes from the rcodetools plugin. completefunc was added in vim 7.0 and
232304 [guido.de-mel] Thanks a lot for your help!
233047 [ mfp acm.org] (oops, I forgot this in +postponed)
233163 [bruparel mer] My two cents.  Install VIM 7.0.x.  Here is a link that I followed

^ Webdav adding contacts
232226 [lrlebron gma] Does anyone have an example of adding/deleting contacts from an

^ Delete line from file
232228 [julesjacobs ] Given a line number, what is the best way to delete this line from a
+ 232229 [w_a_x_man ya] lines = IO.readlines('junk1')
| 232230 [dblack wobbl] irb(main):004:0> a = %w{ a b c d e f }
| + 232233 [gavin.kistne] irb(main):001:0> a = %w{a b c d e f }
| + 232428 [w_a_x_man ya] True.
|   232433 [dblack wobbl] That's OK if you don't have any nils in the array you want to keep.
|   232440 [w_a_x_man ya] ARGV.unshift 'junk2'
|   232441 [dblack wobbl] True.  I'd meandered away from the original question a bit.
+ 232306 [shortcutter ] $ cat x
| 232313 [dblack wobbl] #!/usr/local/bin/ruby -ni.bak
| + 232375 [akbarhome gm] That is so "perl"......
| | 232378 [dblack wobbl] I assume you're referring to the "(or some variant thereof)" advice
| + 232442 [w_a_x_man ya] The $_ can go.
+ 232333 [julesjacobs ] Thanks for these solutions!

^ Managing "requires" in projects with many subdirectories
232234 [jeffz_2002 y] I'd like to know how people people managing their file dependencies
+ 232253 [drbrain segm] This'll work great right up until you have something like myproj/
| + 232541 [dan-ml dan42] Like everybody else except rails... which adds about 41 entries to the
| | 232575 [james graypr] And I believe the salted login generator for Rails once had the exact
| + 232550 [jan.svitok g] I agree with Eric. We used to add all directories recusively to the
|   232670 [jeffz_2002 y] (file a.rb)
|   232671 [drbrain segm] At worst I use ruby -Ilib my_file.  Rarely is it way over there in
+ 232256 [transfire gm] You mention a root/ so that makes me think you're running directly from

^ RMagick - missing methods on Magick::Draw
232236 [robert.worle] I've recently moved a Rails app from a Linux box to a Solaris container.
232237 [TimHunter nc] All those methods are defined in RMagick.rb. If you're getting

^ [QUIZ] Solution #2
232238 [alex_w00t ho] This is probably a better solution than my first, but you can be the judge

^ Running a Rake task without prereqs
232244 [srobertjames] Any way to force a rake task to run but skip its prereqs?  Sometimes you
232248 [transfire gm] task :without do
232249 [srobertjames] I mean preexisting tasks in Rakefiles.
232262 [transfire gm] That's liable to be "dangerous". So it's probably not possible.

^ New Ruby Feed Aggregator
232257 [john jpevans] I just thought I would drop in to let everyone know I've launched a new

^ daemon in ruby uses alot of memory ?
232259 [wbsurfver ya] I was told by someone that tried to write a daemon process in Ruby to
232264 [khaines enig] There are WAY too many variables in the above information.
232273 [rob muhleste] Usually if a daemon process is holding onto memory it isn't the

^ Pickaxe question: "... on the way to true Ruby mastery."
232268 [jeffz_2002 y] for id in ids
232271 [andreas_s ho] My guess is it is necessary to keep the value in the array in case the real
232277 [jeffz_2002 y] Hey Andre, I believe the line reads slightly differently than you've
+ 232291 [andreas_s ho] I think this is the intention of the code, that the assignment function is
+ 232301 [dblack wobbl] if @foo
  232409 [jeffz_2002 y] Thanks David and Andre, I finally get it, and Andre, you're right about
  + 232423 [dblack wobbl] I'd say Dave Thomas's characterization of it as non-obvious and
  + 232472 [kenosis gmai] Welcome to the wonderful world of meta-programming in Ruby!  And don't

^ Getting locale information?
232272 [jeremymcanal] I'm working on a library, and it would be very nice to automatically
+ 232419 [schapht gmai] If you're working in rails, it sounds like the globalize plugin might
| 232434 [jeremymcanal] I didn't think of that...I'm not working in Rails, but I'll grab
+ 232499 [mutoh highwa] Ruby-GetText-Package supports the system locale.

^ Inherited called at different times
232280 [ruby marc-an] I have encountered a strange phenomenon about when self.inherited is

^ unroll array in initial vars
232284 [krekna gmail] I'd like to know how I can unroll an array into some instance variables.
+ 232285 [farrel.lifso] You do it exactly as you described
| 232286 [matt kettlew] [ ["name_1", "add_1", "birth_1"], ["name_2", "add_2", "birth_2"] ]
+ 232309 [shortcutter ] Not exactly.  I'm irritated by the order of statements.  You use
  232336 [krekna gmail] Good thinking indeed. But what if the parameter list is fixed? I think
  232346 [shortcutter ] Err, what exactly do you mean by "fixed"?  If you want to initialize

^ RDoc Diagram with Dot
232287 [matt kettlew] I was trying to get the diagramming working with RDocs, and it said that

^ Learning how Ruby compiles etc.
232294 [t_lawetta ya] feeling quite at home now with the Ruby way of programming and
+ 232298 [jan.svitok g] ruby sources
| 232300 [fxn hashref.] Does YARV change this substantially? Or perhaps it doesn't except for
+ 232315 [m_goldberg a] If you're going to dig into the C internals of Ruby, you will

^ Jabber server in Ruby
232295 [gerardo.sant] Does a Jabber server written in Ruby exist already or in development,
232345 [garbagecat10] On 1/3/07, Gerardo Santana G=F3mez Garrido <gerardo.santana@gmail.com> wrot=
232349 [gerardo.sant] jabberd and ejabberd are the better ones, AFAIK.
+ 232399 [garbagecat10] On 1/3/07, Gerardo Santana G=F3mez Garrido <gerardo.santana@gmail.com> wrot=
| 232542 [gerardo.sant] If you want to talk about it, let's take it off the list. I've already
+ 232545 [drbrain segm] Would a perl jabber server work?
threads.html
top