225266-226198 subjects 225695-226923
^ Various errors installing gem documentation
225531 [gavin refine] It's usually some method called on a very large negative Fixnum. Note
225533 [spielmann co] Robert Spielmann
^ Suggestions for Nuby transition through "suck" stage??
225534 [tluedeke exc] I once read that in learning Ruby, there is a "suck" stage where it is
+ 225535 [tluedeke exc] Also, I have substantial amounts of experience coding pseudo-OO Fortran
| 225556 [nospam nosit] / ...
+ 225539 [hgs dmu.ac.u] Using what as your main development language then? That will
+ 225548 [unet rexx.co] I never experienced the "suck" stage...it's been wow all the way.
| 225881 [tomp earthli] It's nice to know I'm not the only one who has felt that way. I'm
+ 225553 [juozas tuesd] I started learning Ruby after two years of programming experience in
+ 225619 [jeff schwabc] It helps to have a concrete problem you need to solve. Do you have any
+ 225620 [sillewille g] It's always struck me that the key to that nirvana seems to lie mostly
^ Metaprogammatically define methods.
225536 [thedossone g] I'm writing a harness for some tests that use watir. Rather than having
+ 225549 [dblack wobbl] We (Austin Codefest of 2002) did something very like this in the tests
+ 225627 [ snk gna.org] testlist = File.open('readme.txt').readlines
+ 225628 [ snk gna.org] File.open('readme.txt').each_line do |entry|
| 226403 [thedossone g] File.open('readme.txt').each_line do |entry|
| 226413 [dblack wobbl] define_method takes a string, so you can get rid of "to_sym". (Same
+ 225637 [dblack wobbl] You don't need to_sym there; define_method will take a string.
+ 225859 [thedossone g] I still run into undefined method errors using this format. Are there
^ [ANN] Piston 1.2.0: status, better update
225537 [francois.bea] * New status subcommand. Shows M if locally or remotely modified.Applies to one, many, all folders. This subcommand *requires* theuse of a Subversion 1.2.0 client. Thanks to Chris Wanstrath for theinspiration. His Rake tasks are available athttp://errtheblog.com/post/38.
225739 [has.sox gmai] Fran=E7ois,
^ irb on Ruby.NET
225546 [andrea.guerr] Has someone tried to run irb on Ruby.NET? I tried but I just got this
^ ruby equivalent PHP function is_numeric?
225547 [josselin wan] After reading completely my Ruby book, I cannot find a function
+ 225554 [nospam nosit] #!/usr/bin/ruby -w
| + 225560 [josselin wan] thanks Paul... I see why there is no such function (I am translating
| + 225561 [rimantas gma] => false
| 225564 [nospam nosit] What purpose does the underscore play? I see that it is accepted, I just
| + 225565 [gavin.kistne] big = 10000000
| | 225605 [nospam nosit] You mean, avoid ambiguous locale-specific group separators ",|.", yes?
| + 225566 [tdenkinger g] What purpose does the underscore play? I see that it is accepted, I just
+ 225569 [jsn.s.rubix.] There is no such function, although you can pretty readily use regexes
| 225574 [ara.t.howard] use
| 225576 [gavin.kistne] Float( mystring )
| 225583 [gilesb gmail] hmm, I'm new to Ruby too, so I tried this in irb.
| 225773 [logancapaldo] Nah. Integer( ) works the same way. Think about Float( ) and Integer( )
+ 225572 [ara.t.howard] def is_numeric?(n) Float n rescue false end
225615 [david vallne] def is_numeric?(n) begin Float n; return true rescue false end
225623 [wilsonb gmai] def is_numeric?(n)
225633 [m.fellinger ] and the handy version, if you actually don't care but want something
225649 [matt tidbits] Where can I find documentation on the syntax of "rescue" that makes this
225651 [TimHunter nc] Pickaxe 2nd ed. page 374: "Exceptions may be handled...after the
225768 [david vallne] is
^ Installation of GTK and GLADE for Windows
225552 [djmj12 gmail] After going thru the steps outline here,
225568 [agenteo gmai] I had the same error here, try to download and install this version of
225570 [djmj12 gmail] That's much better, thanks!
^ Referncing values of local variables
225555 [tluedeke exc] I apologize in advance, because I know this gets asked again and again
+ 225557 [stefano.croc] In ruby, constant names begin with a capital letter (it is common
| 225559 [tluedeke exc] Umm, uh (crawls under desk in embarassment...). Thanks. :}
+ 225558 [dblack wobbl] That's not a constant; it's a local variable. It sounds like you
^ rubygems install hook
225578 [ara.t.howard] searching the docs and archives - i'm still unclear: is there, or is there
+ 225588 [Bil.Kleb NAS] Don't think so,
| 225592 [djberg96 gma] Regards,
| 225594 [ara.t.howard] found a workaround
| 225597 [ara.t.howard] scratch that. doesn't work quite right.
| 225635 [rosco roscop] I played around with the same idea before I made that feature request. It
+ 225611 [jim weirichh] There is no provision in gems for pre/post install steps.
225612 [halostatue g] Please keep it that way. The only thing I'd *like* is a custom message
^ [ANN] Curb 0.0.1 - New ruby libcurl bindings
225581 [rosco roscop] Curb 0.0.1 is now available from http://curb.rubyforge.org. Curb provides
+ 225584 [james graypr] Bravo! Thank you for this!
+ 225595 [jeremy bitsw] Awesome, Ross! In my basic testing, it seems to work on amd64 also.
^ Re: turn 0.1.0 Released
225589 [djberg96 gma] Where are you hosting this Tim? I didn't see anythingon the RAA or
+ 225606 [tim.pease gm] It lives on RubyForge under the codeforpeople project (thanks Ara)
| 225617 [djberg96 gma] Ah, yes. Whoops. Forgot. Thanks.
+ 225638 [chneukirchen] #606<3|>lilith:~/src/liquid$ specrb -s test/*test.rb
^ qtruby and the ListViewItemIterator
225599 [nigel waspz.] I'm trying qtruby out and have struck an issue I can't conquer.
225603 [vincent.four] Well, the operator ++ is meant to be called directly ++ when written
+ 225626 [richard.j.da] irb(main):002:0> lv = Qt::ListView.new
| 226222 [nigel waspz.] That works for me - thanks very much
+ 225952 [richard.j.da] That will nearly work, but the method is a C++ method in the Smoke
^ [ANN] VimMate 0.6.0
225609 [guillaume.be] The first public release of VimMate (version 0.6.0) is out.
225616 [reid.thompso] you may want to fwd this to the vim list also... vim at vim dot org
225636 [martindemell] Brilliant! A vim analogue of ScitePM has been near the top of my
^ Question about -r command line option, rubygems
225613 [djberg96 gma] Ruby 1.8.5 (one click)
+ 225614 [david vallne] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
+ 225641 [chad chadfow] The problem is that unfortunately the -r option doesn't use the
225896 [djberg96 gma] Hm, could it be altered to use the hookable require method? If so, what
^ America in Denial
225622 [snowsgood gm] This is technically not SPAM, as this article will enrich your life!
225634 [ jupp gmx.de] Once upon a time (10 years or so) "Spam" was an appropriate category.
^ Just a reminder: Do not reply to spam threads
225624 [hal9000 hype] Just a public service announcement...
225625 [matt tidbits] Ooops, I disobeyed.
+ 225643 [haug berndha] Off to my killfile you go.
| + 225678 [ jupp gmx.de] That was a good one. Actually I didn't mean to reply to the message
| + 225703 [w_a_x_man ya] Just a reminder ...
+ 225922 [jeff schwabc] I believe Hal's (well taken) point is that replying to spam, as Josef
225629 [makenai gmai] This is kind of silly, but hopefully not too off topic for the list. :)
+ 225670 [hal9000 hype] As Zefrem Cochrane is my witness, that is the strangest thing
| + 225674 [makenai gmai] Glad to have raised an eyebrow. :) Your new book is great by the way!
| + 225700 [znmeb cesmai] But it's harder in Ruby than most of the others. :)
+ 225928 [ryand-ruby z] inlinefortran_100_released.html
^ How to pass arrays in and/or out of Oracle PL/SQL Package using OCI8
225630 [jasonvogel g] Sorry to bug you. I can't figure this out.
+ 225631 [nospam nosit] / ...
+ 225639 [pit capitain] Jason, doesn't the output look right to you? The two strings of the
225671 [jasonvogel g] Sorry guys,
225685 [nospam nosit] The problem is not the problem. The problem is your description of the
225706 [jasonvogel g] That's fair; I'm new to Ruby/Rails. I'm coming from a Java /
226435 [jasonvogel g] I've posted by solution....
^ help with require in win32ole
225640 [chen_li3 yah] I recently play with win32ole library. In order to use it I put a line
225731 [jan.svitok g] You have to define the moduke ExcelConst, because it is not a part of
225746 [chen_li3 yah] If it isn't part of the library of WIN32OLE, then where does it come
225756 [jan.svitok g] Sorry I wasn't clear enough.
225772 [chen_li3 yah] Thank you very much for the explanations.
225852 [jan.svitok g] (not tested: I've made up this from documentation, the change is in
^ How to call a class method via the singleton if it exists
225642 [transfire gm] I want to call a class level method from the the instance level, but I
+ 225645 [shortcutter ] Two ideas attached.
| 225650 [transfire gm] thanks robert. you helped clarify that unfortunately I've i mis-stated
| 225652 [shortcutter ] Just replace self.class with class<<self;self;end in my code.
| 225672 [shortcutter ] How about this?
| 225715 [transfire gm] Nice. Looks like that'll work!
+ 225679 [nobu ruby-la] def f; self.class.f; end
^ RE : [ANN] VimMate 0.6.0
225644 [guillaume.be] Thanks for your comment.
225646 [martindemell] Got it now. Great work!
^ newbie: how to script windows commands with ruby?
225647 [slamboy gmai] I've been learning ruby for a little while, but I'm having trouble
+ 225658 [kallen19918 ] `ping xxx` will work in windows as well.
+ 225660 [nospam nosit] Yes, that's right, and it works in Windows (under Ruby) the same way. But
225662 [slamboy gmai] I feel ashamed of myself, but I hadn't actually tried using what I thought
^ [ADV] Ruby on Rails Introductory Workshop, Toronto, December 15
225653 [dblack wobbl] What?
^ How to use regexp to replace character with backslash plus this character
225656 [bantu SKASUJ] 1.8.5.
225659 [nospam nosit] #!/usr/bin/ruby -w
+ 225661 [bantu SKASUJ] Thank you. But what is the interpretation of 5! backshlashes. First
| 225663 [gavin refine] Please search the mailing list archive - this question comes up at
| 225667 [bantu SKASUJ] Thank you, but as you can see -- google -- not in that context -- so
+ 225702 [w_a_x_man ya] irb(main):055:0> puts ";!&%$".gsub( /[;!&%$]/, '\\\\\&' )
225707 [nospam nosit] / ...
^ send e-mail -- pickup
225664 [parragh dayk] could someone pls help me out a bit: I'd like send out e-mails from a
225668 [nospam nosit] You aren't being very clear about what you do and don't want, but in any
225675 [parragh dayk] Thanks for the reply.
225684 [nospam nosit] Okay, I get it, you are designing a mail relay bot that receives a message,
^ Los Angeles Ruby Group
225665 [joe.chavez c] I've setup a website for the Los Angeles Ruby group. There is a mailing
^ Ruby vs Java vs c++
225681 [na nomail.in] i need to start to learn a programming language to be able to develop
+ 225683 [nospam nosit] You can count on it.
| + 225687 [znmeb cesmai] There was a time not too long ago (RubyConf 2006) when I thought pretty
| | + 225689 [matt technor] Not true, Hal Fulton doesn't own a Macintosh. But I'll bet he would
| | + 225691 [nospam nosit] Hmm. :)
| | + 225693 [hal9000 hype] Well, Dave Thomas is, and many others... Austin Z is (only recently).
| | + 225694 [support chil] - friend functions
| | + 225709 [why ruby-lan] Only one. :]
| | + 225778 [gregory.t.br] I'm really proud of myself for actually trying a Mac, finding out it
| | 225783 [znmeb cesmai] Quick quiz -- how many vim users actually donate money to the orphanage
| | + 225991 [gregory.t.br] Good question. I should do that sooner or later.
| | + 226081 [raju.gandhi ] Hey there!!!
| + 225688 [na nomail.in] tx a lot 4 the feedback, Paul. i will take e/g into consideration.
| 225690 [nospam nosit] By a human. e.g. me. It's not automated. It might be sometime in the future,
| 225698 [na nomail.in] ok, tx 4 clearing that up. it means that u must have knowledge of both
+ 225686 [znmeb cesmai] I think you'll find that Ruby is the easiest to learn, followed by Java
| 225697 [na nomail.in] ok, so i cd conceivably develop in ruby and integrate c++ 4 the number
+ 225704 [wmwilson01 g] I'd rather suggest that you go the Ruby route because I think that you
| + 225705 [nospam nosit] / ...
| | + 225711 [na nomail.in] u mean this http://www.arachnoid.com/ruby/RubyGUIProject/index.html (but
| | + 225748 [david vallne] This was discussed recently, they aren't. Yet (maybe).
| | 225751 [support chil] About 20 years ago, when I graduated from University of Illinois'
| | + 225767 [david vallne] While my experience was notably shorter, I never, ever saw a problem
| | + 225774 [nospam nosit] The OP is not trying to become a programmer qua programmer. He wants to be
| | | 225777 [na nomail.in] paul i think u'r correct in the sense that u can be a great driver w/ out
| | | 225780 [nospam nosit] / ...
| | | 225805 [na nomail.in] well that's really helpful........
| | | 225823 [nospam nosit] / ...
| | | 225905 [na nomail.in] My literacy is just fine, thank you very much. For the sake of speed, I
| | | + 225906 [gabriele.mar] Gabriele Marrone
| | | + 225907 [jameshcunnin] Sure, I *can*, but I'll be less inclined to undertake the effort of
| | | | + 226202 [ebonak-a- t-] New Zealand students to use 'text-speak' in exams
| | | | + 226328 [ebonak-a- t-] New Zealand students to use 'text-speak' in exams
| | | + 225920 [peter semant] Not everyone has English as a first language and therefore the use of
| | | + 225923 [richard.conr] You realise how self-defeating that is? Your speed of typing translates
| | | + 225929 [hgs dmu.ac.u] If you are using vi or vim you can program the editor to expand
| | | + 225961 [Diego.Viraso] Although I must agree that Paul was nitpicking too much, and I am happy
| | | | 226010 [stef.bm hotm] I didn't realize I was being so cryptic. I guess I'll have to remember
| | | + 226051 [jes luretank] Please do understand that it is not _your_ literacy that's important, it's
| | + 225785 [znmeb cesmai] Well, speaking of bachelors' degrees from the University of Illinois,
| | + 225831 [ebonak-a- t-] For someone wanting/needing a deeper understanding of how things work
| | + 225985 [charleshixsn] From that perspective, I'd recommend starting with MIX & Knuth. But if
| + 225710 [na nomail.in] u'r right; i guess that's what i'm looking 4....
| + 225712 [roseanne jav] Everybody here or somewhere else take that for granted: Java is slower
| | + 225713 [roseanne jav] Everybody here or somewhere else take that for granted: Java is slower
| | + 225714 [na nomail.in] thanks for the info; i see that i was not the only one with that idea
| | | 225719 [znmeb cesmai] Ayup ... ask the jRuby folks about that :). Of course, there is YARV
| | | 225784 [na nomail.in] sounds good to me ;)
| | + 225986 [charleshixsn] Your answer is processor cache relative. It also depends on how well
| | 225993 [znmeb cesmai] The process of profiling/optimizing C++ is an iterative one, and most
| + 225725 [martindemell] I'm learning OCaml for just that reason :) Some of the Scheme dialects
| 225726 [ dak gnu.org] I have looked through several compilers. I have to say that one of
| 225727 [znmeb cesmai] I haven't dug into Scheme implementation benchmark shootouts recently,
| 225733 [ dak gnu.org] Chicken <URL:http://www.call-with-current-continuation.org/index.html>
| + 225747 [david vallne] C++ mixins anyone? Multiple inheritance with data is evil, but as long
| | 226005 [charleshixsn] When multiple inheritance is done properly, it's not terrible at all. I
| | 226013 [znmeb cesmai] Bah! Double Bah! Triple Bah!
| | 226199 [charleshixsn] You are thinking about C++. I am thinking about Eiffel and Ada and
| + 225781 [znmeb cesmai] Yeah, I've got Chicken (and DrScheme and Guile and Gambit and a couple
+ 225720 [mshock shadr] trained young programmers,
| 225799 [na nomail.in] tx a lot 4 the feedback. sounds good
+ 225721 [phlipcpp yah] Only if you promise to read every danged post you inspired.
| + 225749 [mshroyer gma] Being reasonably experienced in developing both C++ and Java applications,
| | 225802 [na nomail.in] u make a good case. tx.
| + 225750 [david vallne] it=20
| | 225817 [phlip2005 gm] Apologies for misunderstand you, but which one was the zealot?
| + 225801 [na nomail.in] i AM reading e/y single post in the thread, believe me.
| 225822 [nospam nosit] / ...
| + 225836 [dblack wobbl] I think the point has been made enough times that stef uses a lot of
| + 225854 [rosco roscop] How about introducing an [OT][WHINE] subject prefix for this stuff? So I
| 226011 [stef.bm hotm] You do have a point there. Some people are just plain A-N-A-L.....
+ 225764 [david vallne] al
+ 225814 [allergic-to-] If you're not too attached to the mainstream, Eiffel could be another
| + 225815 [na nomail.in] tx. i'll definitely check out eiffel; and you're right: i'd like to
| + 226009 [charleshixsn] Eiffel USED to be a good language. Unfortunately they started making a
| 226014 [znmeb cesmai] If you want a "core language", Gambit Scheme/Termite is a good choice.
| 226215 [charleshixsn] There's one (1) text on Erlang, and it's out of print. There's so
| 226224 [znmeb cesmai] Actually, the open source install package contains the entire
+ 225830 [ebonak-a- t-] The one thing Ruby (and Python) have over C++ (and Java to
+ 225843 [just-for-new] Why not Ruby and Java and C++?
| + 225858 [znmeb cesmai] Back when dinosaurs walked the Earth amongst humans, I used *Fortran*
| | + 225864 [spoooq gmail] I would like to suggest the newbie learns VBA. The financial world
| | | + 225866 [ dak gnu.org] Isn't VBA rather similar to Ruby, anyway?
| | | | + 225867 [spoooq gmail] To me it looks like an OO BASIC with support for databases and Office apps.
| | | | | 225935 [cparticle gm] My two cents here as someone who swtiched from VB script to Ruby on why
| | | | + 225948 [nospam nosit] Not remotely. It has its roots in Visual Basic, which Microsoft abandoned a
| | | | | + 226201 [greg.kujawa ] The corporate-owned, single-vendor product angle is a debatable point.
| | | | | + 226326 [greg.kujawa ] The corporate-owned, single-vendor product angle is a debatable point.
| | | | | 226441 [nospam nosit] Not when the vendor can kill it. Microsoft killed Visual Basic. Q.E.D.
| | | | | 226453 [greg.kujawa ] Not to belabor the topic, but how is Microsoft killing off VB? I
| | | | | 226466 [nospam nosit] It's dead, and Microsoft killed it. First they killed it, then they stopped
| | | | + 226012 [charleshixsn] I stopped using VBA after I caught it making arithmetic mistakes. Not
| | | | 226016 [znmeb cesmai] Excel itself has a long and painful history of mathematical
| | | | 226219 [charleshixsn] I'm talking about something on the level of 17 + 3 => 21
| | | + 225946 [nospam nosit] Perhaps, but IMHO after he learns programming. Otherwise VBA is a VBI. It is
| | + 225865 [keith.nichol] As beginner you need to be prepared to pick up a few languages.
| | + 225874 [ebonakDUH_ h] Oh yes, good old JCL ...
| | + 225981 [znmeb cesmai] You feel old? Apparently you missed my post on ILLIAC I. :)
| | | 225987 [ebonakDUH_ h] (you are kidding right??)
| | + 226017 [hal9000 hype] Oh, so you own _Software Tools_, eh?
| + 225898 [Reid.Thompso] Ch is an embeddable C/C++ interpreter for cross-platform scripting,
| 225934 [just-for-new] Yeah I know that but I was talking of compiled C. So a bit different
| 225999 [vjoel path.b] There's tcc. It's a C compiler for linux and (maybe) now windows that
| 227259 [ryand-ruby z] Looks really neat. Zed pointed me at it a few weeks ago. I'd love to
+ 226045 [henryj parad] I have been thinking, and talking, about this quite a bit lately.
| + 226046 [znmeb cesmai] How does C++ deliver "seriously performance critical" applications where
| | + 226096 [david vallne] And conversely, what's the problem with using C++ instead of C for
| | | + 226099 [znmeb cesmai] Absolutely nothing. I know of several high-performance (and quite
| | | + 226694 [henryj parad] Don't know. Just seems that most prefer c when writing extensions
| | + 226693 [henryj parad] It doesn't and I never said it did.
| | 227281 [rubyfan gmai] In the past I've sometimes not been too fond of C++. However after
| | 227284 [ dak gnu.org] Well, that is a problem source in my book. Template programming is an
| + 226452 [ebonak-a- t-] I like this summary, I'll already used it today :-)
| 226451 [ dak gnu.org] be called a fast program.
+ 226236 [daniel.schau] And that would be the best choice. If you want efficiency you should
+ 226259 [guido sohne.] Where reasonable means what? If you are using C++ to do text processing, I
| 226307 [znmeb cesmai] R if you want free software, Matlab or Mathematica if the boss is buying. :)
| 226396 [guido sohne.] I would agree with your assertion that APL has been supplanted.
+ 226351 [damphyr free] It seems that questions of this type always degenerate into a pro/contra
226500 [nospam nosit] I agree with your point, but the OP is quite obviously planning to amend his
226527 [znmeb cesmai] IIRC the original poster specified a domain (financial modeling and