328326-330366

328083-331062 subjects 328504-329688

^ Re: [ruby-ffi] [ANN] ffi-ncurses version 0.3.0
328326 [charles.nutt] I noticed this tries to install the ruby-ffi gem on JRuby. Perhaps we
328328 [sean.ohalpin] Ouch! Didn't try installing it as a gem in JRuby.

^ Re: [ruby-ffi] Re: [ANN] ffi-ncurses version 0.3.0
328336 [charles.nutt] No, it's not. RubyGems dependency mechanism is pretty simplistic. I
328361 [sean.ohalpin] $ jruby -S gem install ffi-ncurses  --ignore-dependencies
328364 [sean.ohalpin] That isn't enough - I have to remove the dependency altogether. Hmmm.

^ vim for ruby
328338 [bcruparel ya] I am using Ubuntu 7.10.  I installed vim-ruby package to get the ruby
+ 328339 [m.fellinger ] You need to run the vim-ruby-install.rb
+ 328394 [nico.bonada ] You need to put 'syntax on' in your ~/.vimrc, it should work with or
| 328666 [bcruparel ya] That was it.  Thanks.
+ 328397 [lists bertra] interactively execute Ruby code and insert the result into the
  328410 [jeff schwabc] ...
  + 328411 [micathom gma] What's the advantage of this approach over using the compiled-in ruby
  | 328414 [jeff schwabc] Who said there was any advantage of either approach over the other?
  + 329027 [robert.dober] Jeff this is one of the most valuable reads I ever had about vim. Many
    329030 [jeff schwabc] It was useful to me, too.  FWIW, I pretty much live in Screen and Vim
    329536 [devrubygem g] Hey guys, I decided to start using vim since I'm a beginner\Ruby
    + 329564 [lists bertra] Congrats; you're suspected to be a valuable programmer.
    | 329566 [devrubygem g] Thanks Bertram, I really can't wait to catch up in ruby\VIM, at least
    | + 329573 [minilith gma] Leo
    | | 329574 [devrubygem g] Thanks Leo =)
    | + 329700 [perrin apoth] =20
    + 329746 [jeff schwabc] Welcome to the rest of your life. :)  What OS are you using?
      + 329748 [perrin apoth] 1. Get really good at editing text.
      + 329842 [devrubygem g] Yeah I reinstalled gVim and sticking to whats already in the box, and I also

^ What are your favorite Ruby features?
328345 [tony medioh.] I'm creating a new language which borrows heavily from Ruby, and I'm curious
+ 328347 [phlip2005 gm] Many of the items you list, such as "metaprogramming", or "easy to create DSLs",
| 328348 [zznmeb gmail] Those existed in Lisp, Scheme and Forth, but Ruby made them *popular*
+ 328354 [bezan99 gmai] Exception Handling , though it gets wacky at times...
| 328389 [phlip2005 gm] def foo
+ 328363 [shortcutter ] Why?
+ 328375 [dblack rubyp] Some of the choices involve coupling things that I wouldn't
| 328481 [tony medioh.] Sorry about that.  That one was a particularly bad case of trying to jam
| 328484 [dblack rubyp] I would say that altering core functionality badly is not a favorite
| 328514 [rick.denatal] Fortran is an example of an early DSL for the Domain of numerical
+ 328379 [robert.dober] Very nice, thank you for showing the polling results.
| 328382 [dblack rubyp] There's no usage extent implied. Does your diet consist mainly of your
| 328395 [robert.dober] Good point, David, but in "my favor" ;). My diet consists mostly of my
| 328400 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
| 328419 [robert.dober] I am glad you realize.
| + 328427 [hraducan gma] I can tell you what feature/style recommendation I hate the most. Using "_"
| | 328430 [jgabrielygal] I think this is a matter of opinion and getting used to things,
| | 328434 [zznmeb gmail] +1 ... I much prefer the Ruby / Rails convention. But you really need
| | 328437 [hraducan gma] In my opinion a well managed project will use whatever style convention is
| | 328458 [shortcutter ] That's interesting, I see it the other way round: because we have
| + 328548 [dblack rubyp] I'm not sure I quite understood. Can you recap your suggestion?
|   328552 [robert.dober] Gladly, let us ponder why lambdas are not used more although everyone
|   328561 [dblack rubyp] I didn't actually say that, but the food analogy isn't really worth a
|   328586 [robert.dober] Understood David
+ 328452 [b.candler po] - maybe you should poll (say) Erlang users about what their favourite
| 328473 [tony medioh.] Yes!
| + 328498 [ninja slapha] Reia! I thought your name sounded familiar.
| | 328523 [juan_zanos t] It's possible that without the humble feature of optional parentheses =20=
| | 328532 [rick.denatal] g as
| | + 328533 [flo andersgr] Descriptive code without braces, algorithmic code with braces.
| | + 328535 [juan_zanos t] It seems to me as if the coding style and the language feature are at =20=
| | + 328541 [ninja slapha] I found that after a few days of deliberately only using parentheses
| |   + 328544 [james.britt ] Same here.  I think of them as FGPs: Feel-good parentheses, used because
| |   | 328577 [flo andersgr] Thats a harsh statement for those that do actually like parantheses
| |   | + 328587 [robert.dober] I did not think so, unless you feel inferior because you are a C /
| |   | | + 328589 [flo andersgr] Nice bait. But I just had dinner.
| |   | | | + 328590 [robert.dober] Oh but I like LISP too, you see there is always some common ground ;)
| |   | | | + 328592 [dblack rubyp] I've never written any Ruby code for the purpose of making C and Java
| |   | | + 328594 [hramrach cen] yes, for a def the parentheses are superfluous. However, for a method
| |   | + 328627 [james.britt ] It's simply an observation based on reasons people have given me when  I
| |   | | + 328632 [flo andersgr] courses (and I learned Ruby before them). And as I said before, it's
| |   | | | 328637 [james.britt ] I think you're putting words in my mouth.
| |   | | | 328671 [billk cts.co] I agree there is some bias based on experience, as I went through
| |   | | | + 328750 [juan_zanos t] One of the things that confuses this discussion is that some people =20
| |   | | | | + 328756 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
| |   | | | | | 328762 [juan_zanos t] I haven't heard any different practices with regard to parenthesis =20
| |   | | | | | 328800 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
| |   | | | | | 328854 [shevegen lin] Even after 5 years of ruby, I cannot stand ruby code where
| |   | | | | + 328768 [billk cts.co] Nowadays, my brain finds the latter declaration with the parens,
| |   | | | | + 328772 [billk cts.co] [Sorry, hit some control key and sent my previous message before
| |   | | | + 328769 [rick.denatal] Somehow this reminds me of the old story of a waiter motioned over to one of
| |   | | + 328645 [dblack rubyp] I did learn C before Ruby, but post hoc ergo propter hoc is still a
| |   | + 328642 [ninja slapha] some_array = 1, 2, 3
| |   + 328596 [rick.denatal] That might be fine as long as you are the only one reading your code.
| |     328600 [robert.dober] That is very hard to read indeed, but why?
| |     328604 [juan_zanos t] Good point.  Syntax isn't all there is to readability.   But it does =20
| |     + 328605 [hramrach cen] Parentheses are traditionally used to group things together. If you
| |     | + 328607 [juan_zanos t] Michal,
| |     | | + 328612 [hramrach cen] ve
| |     | | + 328615 [robert.dober] I agree with you here, Juan.
| |     | + 328643 [ninja slapha] That is a good rule of thumb.
| |     + 328606 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
| |       328611 [juan_zanos t] Ok.  We don't have to agree completely.  We both seem to agree that =20
| |       328640 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
| |       328654 [robert.dober] That seems quite likely to me and I even daresay that if you were
| |       + 328655 [dblack rubyp] Just to be clear: I do understand the notation that I don't
| |       + 328668 [juan_zanos t] Relative to time spent learning a language I'd say the T might as =20
| + 329548 [Usenet Googl] You asked for it ...
+ 330352 [tony medioh.] I just blogged about the results of my
  + 330353 [phlip2005 gm] Tx for the work; this survey is relevant for all of language design. By "like"
  + 330366 [shortcutter ] Tony, thanks for posting the outcome of your poll!

^ Controlling a forked process
328346 [michael webl] If I start a process, is there some way that I can maintain control of
328360 [ninja slapha] Yes. The parent process should have the process ID of the child. With
328443 [michael webl] on the line
+ 328447 [default spir] fork1_pid = fork { # fork 1 body }
| 328450 [michael webl] Close ... and it may just be that I'm a bit dense today.
| 328471 [ninja slapha] Because the first call to fork is both spawning and returning the
| 328472 [michael webl] Thank you.
+ 328451 [ninja slapha] It's returning the pid of the spawned process in the parent process, and
  328457 [default spir] "What is causing the first call to fork to be tied to the first process

^ Extract values from Hash map
328351 [tech4me in.c] Following is my code wherein I am reading from an XML file

^ Perl Encrypt / Ruby Decrypt
328352 [maran.asteri] Dear folks,
328368 [b.candler po] The answer is "yes" if that perl function does a two-way encryption, or

^ :having problem
328356 [gani_chinta ] plz reply me with solution
+ 328358 [gregory.t.br] Sounds like :having is an unknown key.
+ 328399 [rick.denatal] First, off, I'm guessing that this is a question about ActiveRecord,

^ How to do this complicated logic in ruby
328373 [sumwo yahoo.] Dear all
+ 328377 [julian coret] Loop the array, changing the values of the hash as you go based on
+ 328378 [martindemell] 1. Have a 'signature' for each row, composed of the hosp, loc and
| 328381 [grabber gmai] my_array[0] =3D {:server =3D> "AHN", :hosp =3D>"AHN", :loc =3D>"PC1",
| 328383 [martindemell] Even better: http://www.codeforpeople.com/lib/ruby/arrayfields/
+ 328387 [shortcutter ] IMHO this is plainly the wrong data structure for the task.  Since you
| 328391 [martindemell] The different approach is mostly due to the fact that I'm
| 328433 [shortcutter ] Hehe, that would be something *I* would be uncomfortable with. :-)  It
+ 328442 [pit.capitain] While I agree on what the others have said, that you should create a
  328509 [sumwo yahoo.] Dear all

^ Q: visualisation for simple animations (e.g. cel. automata)?
328386 [Diego.Viraso] I would need to create a very simple visualisation for some scientific
+ 328388 [phlip2005 gm] Any GUI tool with the word "canvas" in it, such as TkCanvas.
| 328446 [vjoel path.b] TkCanvas is pretty good for 2D animations. I've used it in engineering
| 328454 [vjoel path.b] On second thought...
| 328469 [jg samdorr.n] Ruby-processing can be an option.
+ 328409 [chris.lowis ] It'll probably help to use an existing graphing package, as this will
+ 328435 [snob pense-m] The Ming library <http://www.libming.net/> allows you to generate Flash SWF

^ Hash :: Recursive traversing and stripping the values
328390 [cool.vimalsm] I am a Ruby Newbie.
+ 328393 [pjb informat] irb(main):001:0> h = Hash.new
| 328396 [cool.vimalsm] So is there any other way to carry out this stripping
| 328405 [alexandru gl] elsif v.class == Hash
| 328494 [cool.vimalsm] On Feb 16, 7:03=A0pm, "Alexandru E. Ungur"
| 328496 [cool.vimalsm] I found out another way to do this using a 'lambda' function
+ 328398 [lasitha.rana] You have a simple typo/bug there.
  328403 [lasitha.rana] hash[k] == v.strip!

^ load a Ruby source with params
328401 [cyril.wack g] Do you know how loading a Ruby source with parameters?  I had try so by
+ 328424 [b.candler po] I think you're confusing two things.
| 328441 [cyril.wack g] Many thanks for your detailled answer, Brian Candler.
| + 328449 [b.candler po] If you are consistent in your naming, you can map the filename to the
| | 328468 [cyril.wack g] Thank you, Brian Candler!
| + 328519 [jeff schwabc] Out of curiosity, why wouldn't you just define a function in the "other"
+ 328445 [vjoel path.b] ==========

^ [ANN] ffi-ncurses version 0.3.1
328404 [sean.ohalpin] ffi-ncurses version 0.3.1
328526 [Thomas.Enebo] Sean,
328527 [sean.ohalpin] It's on my roadmap. I'm planning to add an Ncurses compatibility layer
328530 [Thomas.Enebo] Cool beans.  We wish an army of ffi-lovers would come up and rewrite

^ Parsing CSV file into a database
328408 [niho28 tisca] How would i go about parsing a csv from the web eg yahoo finance stock
328415 [jgabrielygal] If you have a url to download the csv, you can read it with something
328420 [niho28 tisca] ok thanks thats great, thanks for the quick response. Have you any
328425 [james graypr] require "open-uri"
328432 [niho28 tisca] Ok great! will do
328444 [bosko.ivanis] def get_historical_data(symbol, startDateString, endDateString)
328453 [bbxx789_05ss] require 'date'
328505 [bosko.ivanis] uck.
328513 [bbxx789_05ss] require 'net/http'
328516 [s.korteling ] query.concat("&a=#{startDate.month-1}&b=#{startDate.mday}&c=#

^ Inherit and override in the same time?
328412 [philippe.lan] Let's say we have a Parent class, and a Child1 class that inherits from
+ 328416 [jcoglan goog] Smells a little of bad design. Consider putting the common methods for
+ 328418 [rick.denatal] It's not clear WHY you want to do this but..
| 328429 [philippe.lan] Thanks for your answer.
| 328440 [pit.capitain] class Form
| 328462 [rick.denatal] Exactly!
+ 328460 [shortcutter ] IMHO the "bug" is in your inheritance design.  You probably should rather do

^ [ANN/ADV] Ruby Training in Atlanta, April 1-3!
328423 [dblack rubyp] I'm very pleased to announce Ruby Training Atlanta, a co-production of

^ Process PCAP Data from Socket
328426 [btrichardson] I'm wondering if it's possible at all to process PCAP data using Ruby's
328522 [eleanor game] I can't comment on your particular case, but assuming your box is much

^ Re: visualisation for simple animations (e.g. cel. automata)?
328436 [philippe.lan] Have a look at FXRuby, a great and easy to use library.

^ [ANN] ruby-opengl 0.60.1 released (maintenance release)
328438 [jan.dvorak k] we've released version 0.60.1 of the ruby-opengl bindings.  This is

^ Difficulty accessing command line function return value (Hadoop FS  shell)
328439 [sd.codewarri] I'm attempting to use Hadoop FS shell (

^ [ANN] ffi-wiiuse 0.1.0
328448 [andrea.fazzi] ffi-wiiuse version 0.1.0
+ 328482 [aaron tender] Will I finally be able to write a Ruby library that beats Guitar Hero
+ 328499 [james.britt ] Very cool.  I've been using wiiusej with JRuby and liking it.

^ [ANN] vtd-xml 2.5
328455 [crackeur com] VTD-XML 2.5 is now released. Please go to https://sourceforge.net/project/s=

^ Re: [ruby-ffi] Re: Re: [ANN] ffi-ncurses version 0.3.0
328456 [charles.nutt] Great, thanks...we'll see about getting a dummy gem for JRuby; it might

^ Ruby Threading question Creating 4 threads
328459 [tristin.colb] I have some code where I create 4 threads that pop elements off an
+ 328461 [default spir] Thread.new do
| + 328464 [default spir] and looking at it more, I think it would be better to leave the less stuff
| + 328490 [julian coret] That won't ever exit the thread because puts returns nil.
+ 328489 [julian coret] Put a while around the pop and block of code to run.
  328502 [shortcutter ] Also class Queue has thread safety built in already.
  328520 [bbxx789_05ss] require 'thread'

^ Features diff between 1.8.5 and 1.8.6
328467 [jersingh gma] We've got a redhat 5.3 64bit server under support. Out of curiosity, I
328474 [nobu ruby-la] * 1.8.5 maintenance has finished already, so any security fixes
328477 [zznmeb gmail] I pointed that out to the Red Hat people when the Ruby core team

^ Building Ruby: Where is libruby1.8.so ?
328475 [whcernan yah] Ruby version: 1.8.6-p287
328479 [higgs.bozo g] ./configure --enable-shared

^ Reading and writing narray/sound data to file
328480 [info midhirr] I was wondering if anyone could help.
328488 [info midhirr] Having been able to declutter my brain I'm guessing I maybe should use

^ Re: best-performing Rss parser
328483 [tony medioh.] Sounds like a case of premature optimization to me.  If you intend to do
+ 328485 [raulparraco ] unsubscribe'
+ 328501 [ben.woosley ] Check out Paul Dix's Feedzirra.  It's an order of magnitude faster than

^ regex does not contain - or no match
328486 [sergio villa] okay, for some reason, i am not getting this.. i am feeling very
328487 [dblack rubyp] string !~ /regex/
328491 [sergio villa] wow!

^ rescue and principle of least surprise
328492 [matt tidbits] begin
328512 [rick.denatal] No, I don't think so.  The distinction between StandardErrors and the others

^ Re: POP email with SSL
328495 [poornima_dgl] I want to get my inbox messages from my account.i tried wit pop.i

^ gem install ruby-serialport gives error
328497 [2006.shilpa ] Install required dependency echoe? [Yn]  Y

^ multiple checkboxes in a page
328500 [eclipse3.4id] In my web page i have 20 check boxes. i want to check the first two
328549 [vjoel path.b] What, you mean like
threads.html
top