279846-295010
279671-284430 subjects 280007-298494
^ [ANN] heel 0.5.0 Released
279846 [jeremy hineg] heel version 0.5.0 has been released.
280028 [no spam.plea] Is this behavior available separately? I had been thinking
280239 [jeremy hineg] gem install launchy
^ Simple Class Question
279848 [eggie5 gmail] Why can't I do this?
279849 [stefano.croc] Because the body of the class is executed as soon as it is read, that is,=20
^ is out of the office.
279851 [Ryan_McDonal] I will be out of the office starting 11/20/2007 and will not return until
^ table layout question
279855 [remco.zwaan ] I am getting grey hair...i don't now the right setup for the solution.
^ Re: rcov-0.8.1: compatibility with Ruby 1.8.6-p11[01], inten
279856 [michel demaz] Still a REXML incompatibility in 0.8.1. ?
279866 [ mfp acm.org] The workaround must only be used with ruby 1.8.6 p11[01]. This is entirely my
^ Standard location to put extension info?
279858 [chintanaw gm] I need to store some information such as the default log level, an
^ Dynamically call classes
279860 [tazmaniack g] I'm new to Ruby but have got several years of experience with PHP. I
279861 [peter rubyra] => Status
279865 [tazmaniack g] Ok, but now, how can I access for example the method Hello which this
+ 279868 [tazmaniack g] Don't care about what I said, it works fine!
+ 279871 [peter rubyra] class Animal
+ 279899 [rick.denatal] You can do this, and others are already helping. but...
280193 [jacob.dunphy] And with this, you can do the var = Kernel.const_get("ClassName") and
280203 [ara.t.howard] imho const_get is just to fragile for most uses, i prefer something
^ Marshaled data ordering inconsistent
279862 [maurice.aubr] It seems that when you marshal hashes the binary representations aren't
279888 [shortcutter ] Sounds good to me. What happens if keys are not sortable? Fallback
^ Random string
279863 [jocke gnu.or] lala = 'Koko'
279873 [jarvo88 gmai] If I understand you right, you just want to print one of them variables
^ [Matrix] eigenvalues, eigenvectors in Ruby ???
279870 [unbewusst.se] is there algo allready implemented to find eigenvalues, eigenvectors in
+ 279917 [AEtzold gmx.] As far as I know, there is nothing like that in the "matrix.rb" Matrix
| 279922 [znmeb cesmai] One of the Summer of Code projects extends Matrix to do most of the
| + 279929 [cameron.mcbr] That's kind of neat, I missed it. Thanks.
| | 279937 [AEtzold gmx.] Dear Ed and Cameron,
| | + 279987 [unbewusst.se] yes i had this prob with gsl, my matrices (coming from chemistry then
| | | + 279997 [cameron.mcbr] On Nov 20, 2007 2:35 PM, Une B=E9vue
| | | + 280026 [AEtzold gmx.] That's because GSL internally calculates with double precision numbers,
| | | 280085 [unbewusst.se] YES, that's the one i've followed...
| | + 280032 [znmeb cesmai] Yes, one of the design goals was to support Rational arithmetic. But
| | 280107 [AEtzold gmx.] Dear Ed,
| + 280083 [unbewusst.se] I've downloadd it, how do I install it ?
| 280104 [AEtzold gmx.] You should just require it : require "matrix".
+ 279925 [cameron.mcbr] Like several have already said, if you're doing numerical work - you
279988 [unbewusst.se] OK, fine thanks, i've a lot a orking solution right now...
^ Ruby on Rails Developer London Upto ¡ò55k Ruby on Rails
279872 [jason hanove] An exciting opportunity for Ruby on Rails fans!!
^ Re: rcov-0.8.1: compatibility with Ruby 1.8.6-p11, inten
279874 [michel demaz] Sorry to insist : now rcov does not install .
279879 [ mfp acm.org] If you use the mswin32 binary package, gem shouldn't try to build the
279939 [michel demaz] there's probably a
^ Libs for high-level file processing?
279875 [pikEISPAMMMs] Is there anything you comp.lang.ruby readers would recommend that would
+ 279913 [AEtzold gmx.] Dear Casimir,
| 280018 [pikselNOSPAM] I admint! I is dummy! IT's easy! 8)
| 280084 [jari.william] I think the lines above are more easily handled if you use the methods
+ 279947 [shortcutter ] I am not sure what you are missing. You can do
^ read, write, seek method in a ring buffer class
279877 [martin angle] Could any body help me with creating a ring buffer class using a string.
279897 [james graypr] Show us what you have tried and tell us where you are stuck. We will
280049 [martin angle] Iam new to this language, could u help me out to solve this problem
+ 280073 [martin angle] Iam new to this language, could u help me out to solve this problem
+ 280128 [phrogz mac.c] It looks like you're off to a good start. What are your specific
280252 [martin angle] Actually i need to create a ring buffer class, with read, write, seek
280261 [jgabrielygal] I think you are doing too much work. I would wrap a StringIO which is basically
280262 [martin angle] Thank you Jesús for spending your precious time but unfortunately i dont
280265 [jgabrielygal] StringIO *is* a String buffer. It just happens to have the same
280268 [martin angle] Thank you once again jesus but could you do the same along with my
+ 280512 [martin angle] Thank you once again jesus but could you do the same along with my
+ 280848 [james graypr] Jes=FAs's code works just fine in other applications.
^ require functionality
279880 [junkone1 gma] can i verify if a library is loaded before doing a require 'library'.
+ 279882 [pikEISPAMMMs] As far as I know the very nature of 'require' is such that if it fails
+ 279884 [fxn hashref.] require loads a library only once, it returns a boolean that indicates
+ 279912 [yermej gmail] By "if a library is loaded", do you mean if a library exists on the
^ Re: eigenvalues, eigenvectors in Ruby ???
279881 [edder tkwspi] Une Bév
279885 [alex.shulgin] On Nov 20, 12:49 pm, unbewusst.s...@weltanschauung.com.invalid (Une
279983 [unbewusst.se] ok, fine thanks, to both !
^ is there an nicer way for this expression?
279887 [remco huijdt] perhaps a stupid question.
+ 279889 [shortcutter ] # note: if you do this frequently you should probably
+ 279890 [bad_good_lio] foo.bar == 1 || 2
| + 279892 [shortcutter ] Sure? Did you test this?
| + 279893 [bad_good_lio] sorry , i forgot
| + 279894 [sepp2k googl] 1||2 is 1. Always.
| + 280045 [celtic sairy] No, that won't work either.
+ 279895 [robert.dober] what about?
+ 279900 [lojicdotcom ] foo.bar.equals_one(1, 2, 7)
| 279901 [lojicdotcom ] equals_any is probably a better name...
| 279959 [lojicdotcom ] Nice name choice :)
+ 279906 [transfire gm] if [1,2].include?(foo.bar)
| + 279920 [shortcutter ] Hey, this looks familiar! ;-)
| | 279924 [remco huijdt] thank a lot for the input!
| + 280052 [botp delmont] # case foo.bar when 1,2 then
| 280131 [lojicdotcom ] class Object
+ 280144 [wemagor hotm] Not a stupid question at all. Many people want this in Ruby!
280148 [jmedelstein ] Yeah, The Ruby Way also says that this should be part of the language.
^ Choosing a scripting language for scientific programming
279896 [deltaquattro] I'm a Fortran scientific programmer, and recently I have had to write
+ 279898 [Bil.Kleb NAS] Me too, although not so much anymore. Ruby's ruined it for me. :)
| + 280115 [chris.lowis ] I'd love to have some more information, or a little write-up off how you
| | 280139 [ara.t.howard] for plotting
| + 280450 [deltaquattro] sorry for not replying before to your very interesting post: I'm very
| + 280459 [lavigne.eric] I think that Python is easier to learn, but Ruby provides more
| + 280464 [Bil.Kleb NAS] Certainly.
| 280541 [shevegen lin] "Right now I'm using awk and (to a lesser extent) perl to
| 280556 [lavigne.eric] I hope that the original poster will just start learning one of Ruby
+ 279985 [coreyhaines ] have you looked at F#?
| 279986 [Bil.Kleb NAS] Or http://fortress.sunsource.net ?
+ 280145 [Paul.vanDels] I use ruby to glue together a great deal of my Fortran executables. More importantly for
+ 280149 [ara.t.howard] session.rb : allows one to drive idl from ruby
+ 280153 [lavigne.eric] Ruby is one of the better ones, but yes this difference has more to do
^ Where's A?
279902 [transfire gm] irb(main):001:0> module X
280016 [sean.ohalpin] class A
280046 [transfire gm] Oops. Yes.
^ (none)
279905 [szallol sunc] unsubscribe *
^ Re: Goedel (#147)
279908 [phrogz mac.c] PRIMES = DATA.read.split(/\s+/).map{ |s| s.to_i }
279909 [phrogz mac.c] which is the more interesting value. (As a hex string it's 221 chars,
^ Array object but to_a is needed to access data
279911 [lucevers gma] Below a progam (test version) that shall analyse syslog messages.
279964 [fox nscl.msu] towards the end of the State module def.. at least I hope these are
280480 [lucevers gma] Ron,
^ Arrays not working as I expected - help
279930 [rrajeshh gma] I am new programmer to Ruby. Just 1 days old. I do have some
279933 [cameron.mcbr] At a knee-jerk guess, you've changed how 'values' is populated. I'd
279945 [rrajeshh gma] On Nov 20, 11:11 am, Cameron McBride <cameron.mcbr...@gmail.com>
^ AJAX without Rails
279940 [mikisvaz yah] I need to do some simple web interfaces for some project I have. A
+ 279953 [mikisvaz yah] Actually, I'm not sure I'm using eruby, I'm using mod_ruby and
| 279961 [dvohra09 yah] generating the html with markaby. I'm a bit lost with all the technology
| 279963 [mikisvaz yah] Isn't this precisely a rails tutorial? I'm trying not to use rails,
| 279967 [dvohra09 yah] Ruby on Rails is the only Ajax framework for Ruby.
| + 279968 [mikisvaz yah] Posted via http://www.ruby-forum.com/.
| | 280147 [mneumann nte] Keep smiling :)
| | 280179 [mikisvaz yah] Thanks a lot for your replies guys, I have a lot of information here to
| + 279969 [alex blackke] I don't think that's quite true - doesn't Nitro have AJAX support?
| + 280043 [dangerwillro] Asynchronous Javascript And Xml
| | 280082 [alex blackke] This is true; however I understood the question to be asking whether
| + 280201 [james.britt ] That's a laughable claim.
| 281078 [benjohn fysh] ...
| 294984 [tonydema gma] I just ran across this post. I am taking swimming lessons in Ruby,
| 294985 [hassan.schro] That's not how it works, period. JavaScript running in the browser
| 294991 [tonydema gma] @ Hassan,
| 294993 [hassan.schro] Then you haven't actually found any AJAX examples. JQuery is a
| 294994 [tonydema gma] Thanks Hassan, I'll keep searching...
| 295004 [james.britt ] You should dig up a tutorial on the XmlHttpRequest object.
| + 295005 [shevegen lin] Have to agree with the one writing about some replies ago, in that
| + 295010 [botp delmont] # www.ramaze.net
+ 280110 [eeklund gmai] AJAX is fairly simple, at least as long as you ignore the "XML" part
280287 [nicoantoniad] Hall=E5 Eivind.
280849 [mikisvaz yah] I ended up using Camping and calling the Ajax by hand. I din't know how
^ Unit Testing Framework
279941 [sagar_veerla] Can anyone let me know whether there exists any tool in Ruby that
279942 [jan.svitok g] test/unit
279943 [sagar_veerla] Can you please give me further information regarding test/unit and other
279954 [jan.svitok g] You'll find everything you need at http://www.google.com/search?q=ruby+test+unit
^ POST data and mod_ruby
279944 [REMOVE-CAPSb] Can someone point me to how I can retrieve http POST data that is passed
279950 [jan.svitok g] Don't know mod_ruby, but CGIs read it from stdin.
^ ruby1.9 and fcgi
279946 [funkaster gm] I'm testing some web applications (not rails) that use ruby-fcgi with
279948 [funkaster gm] nevermind... it was an easy fix :-P
^ Disregard Re: POST data and mod_ruby
279949 [REMOVE-CAPSb] I think I finally found some info though it might be good to post it again.
^ Quick way to get attributes (without using collect)
279952 [toastkid.wil] This was inspired by Rails, but i think it's common Ruby question. Say
+ 279955 [farrel.lifso] You can use the Symbol#to_proc method
| 279965 [lojicdotcom ] map is shorter than collect. Also, adding optional args to to_proc
+ 279956 [jan.svitok g] Let me introduce to you #method_missing. It's being called when the
+ 279958 [sepp2k googl] In rails you can do "employee_names = employees.collect(&:name)" which is
279960 [toastkid.wil] Thanks guys - i'll try the method missing approach, and also the rails
^ remove tags
279966 [junkone1 gma] how to remove the tags in teh data like this
279971 [phrogz mac.c] irb(main):001:0> str = "<OrderNumber>-04</OrderNumber>
280197 [junkone1 gma] thanks a lot
^ gsub question on special charaters
279970 [rlkeller yah] ts = "^LThe beginning of the sentence"
+ 279972 [phrogz mac.c] irb(main):001:0> ts = "^LThe beginning of the sentence"
+ 279974 [alex.doan wa] ts.gsub!(/^\^L/,'')
+ 279975 [ben benatkin] Yours doesn't work because characters in the square brackets can't be
^ Ruby kiosk client suggestions.
279973 [kyle.m.hall ] I'm writing an Open Source Internet-Cafe style kiosk system for
+ 280015 [alex deletem] wxRuby has a Frame#show_full_screen method which will display a Frame
+ 280121 [lojicdotcom ] Make sure it handles <ctrl><alt><del> on Windows,
+ 280133 [richard.j.da] Jan Pilz has created a Windows gem for QtRuby 1.4.9 with everything
^ doc for if, do, until etc
279976 [nathanv roge] I do not see doc for above in rdoc. iam new to pgming.
+ 279977 [flo andersgr] Those are keywords and not functions. Thus, they are not covered in
| 279980 [nathanv roge] How these keywords are syntax checked for proper structure? Tx
+ 279978 [phrogz mac.c] ...
279981 [nathanv roge] thanks.
^ save pp output to a string
279979 [fwang2 gmail] how do I save the output from pp to a string for later use?
+ 279982 [phrogz mac.c] irb(main):001:0> require 'pp'
| 279990 [fwang2 gmail] exactly what I need, thanks very much.
+ 279989 [ruby-talk me] require 'pp'
^ [ANN] Packet : A Pure Ruby Library for Event Driven Network Programming
279984 [gethemant gm] I am pleased to announce "Packet", A pure ruby library for Event
+ 279991 [andre digira] Hemant,
| 279992 [gethemant gm] Andre,
+ 280029 [cremes.devli] Did you ever consider working on the EventMachine project so it could
280033 [cdcarter gma] I think mainly that this is pure ruby, and event machine is a C++ backend.
280042 [gethemant gm] I would have liked nothing more than having it in EventMachine. But as
^ How to Round off and Truncate in ruby
279995 [surjit.meite] Scenario.
280000 [phrogz mac.c] On Nov 20, 1:07 pm, Surjit Nameirakpam <surjit.mei...@gmail.com>
280002 [surjit.meite] I am getting the truncate but the round off mentioned above doesn't work
+ 280003 [phrogz mac.c] On Nov 20, 1:31 pm, Surjit Nameirakpam <surjit.mei...@gmail.com>
+ 280004 [surjit.meite] Sorry.. Its the opposite round of works but truncate doesn't work
| 280008 [phrogz mac.c] Ah, I missed that you also wanted truncate.
+ 280006 [Bil.Kleb NAS] Please share your test, e.g., http://tinyurl.com/24825g
^ Ruby Tool Survey
280005 [Tim.Bray Sun] I'm running a survey to find out what tools Ruby and Rails people
+ 280010 [rick.denatal] Well I took the survey but found it unsatisfying.
| + 280013 [devi.webmast] Agreed. I'd be curious to see a much more comprehensive survey.
| + 280192 [halostatue g] ;)
+ 280117 [lojicdotcom ] I agree that the survey was limited, but why would one need anything
| 280141 [ara.t.howard] i also *need* screen. because i worked remotely on at least a dozen
| 280454 [lojicdotcom ] Nice tip on screen. My need is not as great, but there have been times
| 280546 [bostonantifa] Brian,
| + 280571 [lojicdotcom ] man screen
| | + 280588 [charles.nutt] It always amazes me every time someone doesn't know about screen. Back
| | + 280666 [ara.t.howard] these are the aliases i use most often from the command line
| | + 280813 [znmeb cesmai] Emacs and Lisp are so tightly interbred from many decades of co-use that
| | + 280950 [ara.t.howard] the quality sux but the conversion to flv was blowing up on my box -
| | | + 281009 [cameron.mcbr] very cool.
| | | | 281036 [ara.t.howard] no. you caught me ;-) it *was* after 5 !
| | | + 281130 [ara.t.howard] yep and yep.
| | + 281090 [ara.t.howard] you mean gvim? does vim do tabs somehow then?
| | + 281116 [reid.thompso] yes vim will do tabs also
| | + 281200 [cvonkleist g] I don't use GVim because it doesn't work inside screen, but yes, Vim
| | 281205 [ara.t.howard] well i'll be...
| | 281211 [cvonkleist g] Yep, I've been using Vim/vi since 1998 in my first college C class,
| + 280850 [james graypr] James Edward Gray II
| 280851 [cvonkleist g] I use screen + vim + rails.vim. I'm in heaven. If you haven't seen
+ 280140 [ara.t.howard] Insertion Failure
threads.html
top