283560-284294

283351-285874 subjects 283803-288333

^ Re: Programmer Ping-Pong (#150)
283560 [phrogz mac.c] On Dec 14, 8:30 am, John Joyce <dangerwillrobinsondan...@gmail.com>
+ 283565 [rubytraining] Ken,
| + 283566 [rubytraining] In an earlier discussion with James, I think forks are OK.  People
| + 283567 [bulibuta fak] I had the solution to Rob's ping (but stopped posting it so I could get
|   + 283587 [rubytraining] Well I think a lower bound would be log2(@content.length + 1).  The
|   + 283740 [Rob AgileCon] Paul,
+ 283570 [rick.denatal] I'm afraid that mail is going to be a terrible way to do this.
  + 283586 [rubytraining] avl_tree.rb
  | + 283590 [adam.shelly ] I agree with Eric's assumptions about the tree height, and his
  | + 283604 [hramrach cen] Now I think this one is misleading. Here you choose to lie about the
  |   + 283606 [rubytraining] I think that's a valid criticism.  It was a failed attempt to make it
  |   + 283616 [phrogz mac.c] So...write a failing test case :)
  + 283617 [james graypr] The rules did not ask for a zip file, no.
  + 283628 [james graypr] I also considered using Subversion over email.  The decision here was

^ Printing result of class method
283563 [rubyror goog] class Business
283572 [rubyror goog] Thanx PPL for Replying me. Buy I did it, on my own way.

^ unsubscribe
283564 [jjames isoth] unsubscribe

^ Net:Telnet to Cisco Router
283568 [contact thir] I have some code that will login to my cisco router and run a basic
+ 283601 [jeremymcanal] You don't have \n on the end of ENABLE, but I don't know if that makes
+ 283866 [boesemar gmx] charset="utf-8"

^ YAML Problem  YAML::Object
283571 [homebeautypi] c.lawsuit.customer_service_location
283602 [yermej gmail] On Dec 14, 11:38 am, Fransiscus Xaverius <homebeautyp...@yahoo.co.id>
283605 [homebeautypi] You just saved my life from fired. Thank You.

^ simple way to turn "foo and bar" to "+foo +bar"
283574 [toastkid.wil] I want to add a slightly hacky feature into my boolean mysql search
+ 283577 [phrogz mac.c] I feel like there's a more elegant one-pass regexp, but I haven't the
+ 283579 [jpywtora cal] How about...
+ 283580 [mental rydia] query = "foo and bar and baz"
| 283585 [jamesthepipe] Do you need to worry about phrases?
+ 283581 [funkaster gm] "foo and bar and baz".split(/\s+and\s+/i).map{|s| "+#{s}"}.join(' ')
  283582 [mental rydia] I think this one is best.
  + 283588 [phrogz mac.c] It's elegant, but it assumes that the search phrase always has "and".
  | 283593 [mike.s.mckin] just pass in the delimeter...
  | 283671 [toastkid.wil] Awesome, thanks a lot everyone!
  + 283589 [jpywtora cal] I could not resist, so a slight mod ;-)

^ Browser Compatibility Chart
283578 [gemblon yaho] Does anybody have a nice browser compatibility chart?
283636 [dangerwillro] For perhaps the latest, google "westciv" "css3"
283657 [gemblon yaho] thanks a bunch....

^ Test::Unit bug?
283598 [george nutru] Not sure if anyone's noticed this before, but there's bug in
283618 [ryand-ruby z] or just don't include 'test/unit'.

^ AVL Tree
283600 [fedzor gmail] I have a quick question about the AVL tree. Isn't this a lot like the
283610 [james graypr] Some people did use AVL balancing in their ropes, but I consider the
283682 [rick.denatal] I hope this is taken the right way, but as I think of this quiz, I'm
283685 [james graypr] I'm sure I make plenty of mistakes.  This could be one of them.

^ Fwd: [QUIZ] Programmer Ping-Pong (#150)
283614 [james graypr] (forwarding to Ruby Talk so all can benefit from this code)

^ Re: Work with Audio Files
283619 [lloyd 2live4] Posted via http://www.ruby-forum.com/.
283625 [kout.peter g] thank you for the link, but it's not what I was looking for. I do not
+ 283638 [dangerwillro] just dig through the gems.
| 283641 [kout.peter g] Thank you John,
+ 283644 [konrad tyler] charset="utf-8"
  + 283647 [kout.peter g] Okay Konrad, thanks very much! That sounds interesting. I will
  | 283649 [konrad tyler] charset="utf-8"
  + 283650 [dangerwillro] Remember, keyword there was CONSTANT bitrate, variable bitrate might
    + 283652 [konrad tyler] charset="iso-8859-1"
    + 283691 [pcrawfor gma] On Dec 14, 5:48 pm, John Joyce <dangerwillrobinsondan...@gmail.com>
      283697 [kout.peter g] thank you very much. That sounds like exactly what I am looking for.

^ doing require on some relateive path
283621 [junkone1 gma] I have the following 2 files
+ 283632 [jpywtora cal] The idiom I have seen used and use myself is...
| 283679 [vinbarnes gm] Some recommend being a bit more implicit with the path structure. So
+ 283703 [MonkeeSage g] $:.unshift(File.basename($0))
  + 283707 [MonkeeSage g] Oops. Those should have been "../../Dir2/File2.rb" &c.
  + 283709 [MonkeeSage g] Heh...I'm not batting so well here. That should also have been

^ How to maintain a single network connection? (newbie)
283624 [abcdesi yaho] things. I am writing a simple script to familiarize myself with the
283630 [jpywtora cal] I suspect it is the sftp.close stanza that is causing the problem.  Try
283658 [abcdesi yaho] Thanks for the reply. Unfortunately, that didn't work.

^ [noob] Parsing problems using https and redirects
283627 [ramirodt gma] I have to develop a simple script to parse some parts of a web site and I
283645 [konrad tyler] charset="utf-8"
283664 [ramirodt gma] Thank you very much Konrad, it seems that I am on my way now.

^ File Modification Monitor
283629 [rubynewbee l] I am new to ruby.  I have a thrid party application that stores
283888 [boss airblad] You might Autotest's code instructive.  It watches a directory (of

^ how to display an oracle trigger programatically
283648 [seannakasone] Is there a way to display an Oracle trigger programatically?  The only way
283651 [chris.hulan ] Don't really need Ruby, but it'd be easy to adapt...

^ help with timeout and IO.popen (newb)
283655 [weathercoach] I have a script where I use IO.popen to execute some system

^ Combinatorial testing
283656 [znmeb cesmai] I ran across an interesting article today on so-called "combinatorial"

^ 2 ruby apps sharing info
283659 [two55309 yah] Anyone have any ideas on having two ruby apps share information from two
+ 283660 [halostatue g] Yes. Read the Pickaxe. It'll tell you all kinds of neat things about
+ 283661 [dangerwillro] DRb

^ Pros and cons on dynamic method generation
283665 [nyarly gmail] class Contrived

^ ANN: Sequel 0.4.3 Released
283666 [ciconia gmai] Sequel version 0.4.3 has just been released. This release includes

^ SIGCHLD handler not working correctly
283669 [ayqaziZIG ya] #!/usr/bin/ruby -w
283678 [lionel-subsc] If I'm not mistaken, there's none because the child didn't call exit.

^ [ANN] One-Click Ruby Installer 186-26 Final Release
283670 [ml.chibbs gm] This updates Ruby to 1.8.6 patch level 111 (lots of bug fixes since

^ CFP : First Ruby and Rails devroom at Fosdem 2008
283672 [calamitates ] The Belgian Ruby User Group is happy to announce the first Ruby and

^ Smallest device to code ruby on?
283673 [pikselNOSPAM] Whats the smallest gadget you can code (and compile) ruby on?
+ 283675 [careo fastma] There is a ruby package for the iphone and iPod touch. I don't think
+ 283677 [ttmrichter g] The Nokia N800 has had Ruby ported to it, complete with UI bindings.
+ 283681 [alterego sdf] I've been working on getting Ruby integrated with the open source development
+ 283700 [gmane auxbus] Casimir P said...
+ 283716 [vjoel path.b] There's not many devices smaller than gumstix. They are cheap, too. I've
| 283750 [znmeb cesmai] I got Ruby running on a gumstix but not Rails. Which reminds me, my
+ 283733 [pikselNOSPAM] Thanks for all the replies. 8) You have given me a lot to look into. Not
+ 283752 [znmeb cesmai] Well ...
  283788 [pikselNOSPAM] Anybody here code ruby on cell size devices? Can you tell me how it feels
  + 283800 [pikselNOSPAM] etc.
  | + 283821 [tieg.zaharia] I think I remember reading that these will come with Ruby installed,
  | + 283875 [pikEISPAMMMs] Ya I kno. But if it wuzn't globals then it wuld "disappear" once the
  |   283916 [caduceass gm] You can't be serious.
  + 283828 [no spam.plea] Or Bluetooth, if you buy that version. Or just ssh to it using
  + 283854 [znmeb cesmai] OK ... now I have to port LOLCODE to the XO. :)

^ Problem with using win32ole in Linux server.
283674 [veeraa2003 y] I'm Having one excel file. I want this file using ruby, for this I used
283676 [jan.svitok g] This was discussed already, although quite some time ago.
283699 [rsteckly wha] Yes, but if you use OpenOffice, how do you script it?  Does Ruby have a

^ a self.method! returning a changing self attributes
283680 [unbewusst.se] say, i've a class "Clazz" i've a method #revert_to_saved

^ Question about sockets/listeners
283683 [crofty_james] this.  I am writing a script that listens for UDP packets on a
+ 283689 [gwtmp01 mac.] My first guess is that you are running out of file descriptors.  It
| 283692 [crofty_james] Sorry, I should have said, I am expecting mulitple responses from the
+ 283690 [gwtmp01 mac.] You main thread may be existing before all the
+ 283693 [garbagecat10] Using a nonthreaded approach, I got up to about 360 packets through on a
+ 283698 [garbagecat10] #---------------------------------------

^ Splitting string into array keeping delimiters
283684 [garyc40 gary] Yesterday I came across an interesting problem.
+ 283687 [sepp2k googl] If the regex has capturing groups you'll get those in the array as well.
| 283688 [fxn hashref.] 'abcd1234abc123'.scan(/\D+|\d+/) # ["abcd", "1234", "abc", "123"]
| 283695 [phrogz mac.c] irb(main):004:0> str.split /(?<=\D)(?=\d)|(?<=\d)(?=\D)/
| 283728 [no spam.plea] 'abcd1234abc123'.shatter(/\d+/)
| 283749 [garyc40 gary] Wow, there sure are more than one way to solve a problem in Ruby.
+ 283777 [MonkeeSage g] And the highly esoteric version...

^ [ANN] Zerenity 1.2
283694 [farrel.lifso] == Synopsis

^ _id2ref in finalize or how get object.var from class.finalize
283696 [Andrey.D.Nik] #!/usr/bin/ruby1.8

^ _id2ref in finalize or how get object.var from class.finalize
283702 [andrey.d.nik] #!/usr/bin/ruby1.8
283743 [nobu ruby-la] Finalizer is called after the object was disposed.  So _id2ref

^ JRubyHub.com: The hub to all JRuby and JRuby on Rails (JRoR)  resources...
283704 [sbaltagi gma] I'm very pleased to announce the launch of JRubyHub.com : a One-Stop

^ autoindenting ruby
283708 [martindemell] Something most of the "IDE roundup" threads seem to pass over lightly
+ 283711 [phrexianreap] Have you looked into the indent utility? I know it works with C well,
| + 283712 [martindemell] That misses the "hit return and have the next line indented properly"
| + 283713 [vasyl.smirno] In Emacs I use the following function, found somewhere on the net.
|   283715 [konrad tyler] charset="iso-8859-1"
|   283754 [ryand-ruby z] read the code above again and tell me that 'gg=G' does all that...
|   + 283762 [konrad tyler] charset="iso-8859-1"
|   + 283781 [MonkeeSage g] For vim, that function would be something like...
|     283832 [reid.thompso] ...
+ 283717 [jari.william] NetBeans 6 has auto-formatting of regions, auto-indenting when pressing
+ 283814 [eric.promisl] Komodo does auto-indent for Ruby, including Ruby code in RHTML blocks.
  283827 [huw darkneon] Ruby In Steel does smart auto-indenting of Ruby and embedded Ruby (in

^ Ruby + OpenOffice Was: Re: Problem with using win32ole in Linux server.
283721 [jan.svitok g] They all are pretty old...
283723 [james.britt ] Ooo4r is old and dead.

^ An idiomatic way to traverse all pairs in an enumerable?
283722 [ shot hot.pl] enum.each do |a|
+ 283734 [Rob AgileCon] for
| + 283772 [MonkeeSage g] On Dec 15, 6:25 pm, Rob Biedenharn <R...@AgileConsultingLLC.com>
| | 283789 [ shot hot.pl] Ah, perfect. In my (limited) case, it ended up to be
| + 283790 [ shot hot.pl] Thanks a lot!
+ 283787 [transfire gm] Facets exits for you.
  283817 [ shot hot.pl] (I can=E2=80=99t help but love the typo.)

^ [ANN] JRuby 1.0.3 Released
283724 [Thomas.Enebo] The JRuby community is pleased to announce the release of JRuby 1.0.3.
283730 [drinkwat hot] What is Jruby, and how is it different than Ruby?
+ 283732 [jari.william] www.jruby.org
+ 283737 [no spam.plea] Point your mouse at the first link in the message you quoted,
  283736 [Bil.Kleb NAS] Forgot your manners?
  283742 [no spam.plea] I get a lot of requests to write personalized responses to people who
  283746 [billk cts.co] Even so, that probably doesn't trump MINASWAN on this list, though,
  283773 [no spam.plea] You're right, I was uncivil. I'll try to be better. Sorry folk.

^ string to code?
283725 [pavel989 gma] is it possible to get user input, and put that in as a code. like lets
283727 [TimHunter nc] Well, you can certainly use the eval method, which just executes a
+ 283751 [pavel989 gma] yes i know that, and in the actual app im not going to have that. just
+ 283768 [sepp2k googl] Why not? I mean the user wouldn't type something like this without knowing

^ Automatic Range?
283731 [jari.william] I want to know if an integer is within the range of x and y. However, I
283735 [Rob AgileCon] That's probably as good as it gets.  However, Ranges with #end <
283765 [jari.william] Ah, of course - there it makes sense. Thanks!

^ Re: Logging irb stdin & stdout to file but still remain showin
283741 [RubyTalk gma] Hey,
283801 [james graypr] Really?  Why?

^ Leopard rails 2.0 hell
283744 [treasonx gma] I did something very silly tonight that I am now paying dearly for!! I
+ 283745 [anthonyeden ] 1.) Post the errors you are seeing.
+ 283764 [timocratic g] Also, if all you did is upgrade rails you haven't really touched the
  + 283784 [dangerwillro] If you're really worried and don't know what to do, don't rush to 2.0
  + 283897 [rick.denatal] or freeze the existing project(s)

^ Backslashes in Command Line Arguments
283753 [joepeck02 gm] In writing a script that takes strings on the command line I have run
+ 283770 [sepp2k googl] Yes.
| 283791 [joepeck02 gm] Sadly, passing those into example.rb to Ruby produces the same
| 283792 [sepp2k googl] It does?
| 283794 [joepeck02 gm] You are absolutely right, I don't know what I was thinking.
+ 283898 [rick.denatal] No, it's because you are using p instead of puts.
  283905 [joepeck02 gm] I purposely used p instead of puts for that exact reason.  Which is how
  283906 [MonkeeSage g] It does get a newline character...try looking at "\n"[0] (or if you're
  + 283907 [MonkeeSage g] Doh! Sorry Rick...brain said one thing, fingers rebelled.
  + 283911 [joepeck02 gm] It seems both of you have missed the point of my question.  The input is
    283915 [MonkeeSage g] Ah-ha. I understood your original problem, but I was confused about
    283921 [joepeck02 gm] No problem.  Also, after re-reading my previous comment I noticed I
    283920 [joepeck02 gm] Posted via http://www.ruby-forum.com/.

^ How t owrite an OR statement
283755 [danpeikes ho] Ok folks I know this is an easy question, I am trying to write a while
+ 283756 [joepeck02 gm] These don't use the OR logic, but they are similiar.
| 283757 [danpeikes ho] This is what I currently have, but it looks to be giving me an infinite
| + 283758 [joepeck02 gm] 1) The logic here has two parts, two sides of the or.
| + 283785 [shortcutter ] numbers = []
+ 283769 [sepp2k googl] Maybe my C is a bit rusty, but isn't anything that's not zero true in C? If so
+ 283774 [MonkeeSage g] Also, again != "y" || "n" evaluates to ((again != "y") == true) ||
  283775 [sepp2k googl] Not quite.
  283786 [MonkeeSage g] On Dec 16, 4:27 am, Sebastian Hungerecker <sep...@googlemail.com>

^ Re: JRuby 1.0.3 Released
283759 [bad_good_lio] how to improve jruby speed .
283795 [jari.william] Probably better to ask this in a JRuby or Rails group.
283796 [Thomas.Enebo] Which is user@jruby.codehaus.org and dev@jruby.codehaus.org.

^ Importing module to local namespace
283760 [neko18 gmail] #####
283761 [neko18 gmail] #####
283763 [timocratic g] For the easiest thing, just stick with your first example of using

^ SWIG function problem
283771 [flashdog gmx] class Random
283902 [jan.svitok g] See http://www.swig.org/Doc1.3/Ruby.html#Ruby_nn32
284294 [flashdog gmx] Your link doesn't help. My little code is atteched.

^ I need help debugging my program
283776 [phantom3380 ] I'm new to Ruby and I'm trying out a very basic user input program. The
+ 283778 [sepp2k googl] In this line you're asking ruby to give you a string representation of age.
+ 283779 [tek.katu gma] What does "birth = year -= age" try to do?
  283780 [maestroiut-r] That is not surprising since Ruby does not automatically cast values

^ Mixins and class variables
283793 [bruno.bazzan] I can't figure out how to set class variables from class methods
+ 283802 [MonkeeSage g] Use Module#class_variable_get/set for this kind of thing.
| 283806 [bruno.bazzan] Indeed !
| 283807 [timocratic g] Yeah, the pickaxe is only really a jumping off point.  It definitely
+ 283818 [gwtmp01 mac.] The New Haven Ruby Brigade spent an hour or so one night trying
| 283820 [MonkeeSage g] From the standpoint of intuitiveness, one would also expect that
+ 283819 [michael schu] Consider if class variables are really what you want.
  283877 [bruno.bazzan] You are totally right !
threads.html
top