271614-272946 subjects 271986-275831
^ which language allows you to change an argument's value?
271784 [Summercoolne] I wonder which language allows you to change an argument's value?
+ 271788 [samy.rolka g] Of course in C++, functions that don't modify argument's value should
+ 271790 [dolgun excit] Sure you do. You look at the function's signature. In order to use
| 271849 [Summercoolne] do you mean in C++? I tried to find signature in two C++ books and it
| + 271862 [Erik-wikstro] A signature is what is required to identify a function and includes
| | 271877 [jstucklex at] No, the function's signature does not include the return type.
| + 271864 [jstucklex at] You need to get more C++ books :-). You generally won't find them in
| + 271873 [netizen gmx.] .oO(Summercool)
| + 271954 [james.kanze ] That's not really correct. It's more a case that if you don't
+ 271792 [fxn hashref.] Java can't do that, Perl _only_ works that way.
+ 271794 [Erik-wikstro] Since you know C++ can do it why do you include c.l.c++? Honestly cross-
| 271883 [arne vajhoej] Neither C or Java has call by reference.
| + 271937 [bohnenkamp m] so what? the references in c++ are passed by value too, its just a nice
| + 271944 [Erik-wikstro] I never said that, what I said was that C allows you to simulate it by
+ 271811 [david cybers] From my understanding, in Ruby all argument passing is by value.
+ 271858 [googlegroupi] Some would say that in truely good OO design, the state should be
+ 271875 [fakeaddress ] I think you've missed how Python works, and probably others.
+ 271904 [see_website ] Seem to me you could in FORTRAN and Pascal, and maybe even Algol. It
| + 271933 [wlfraed ix.n] <email@example.com> declaimed the following in
| | + 272261 [rick.denatal] Fortran II was like this. It cost me a day or two of head-scratching
| | + 272468 [jwkenne attg] However, some implementations passed /and returned/ elementary arguments
| | + 272730 [blmblm myrea] In FORTRAN/Fortran, don't they call that "copy-in/copy-out"? Same
| | | 272896 [blmblm myrea] Huh. I'd have said I was remembering the terminology from back
| | + 272984 [james.kanze ] ed
| | 272985 [alfps start.] This is all to simple. Please discuss Algol pass-by-name. Much more
| | 273046 [jcoffin taeu] [ ... ]
| | 273128 [bbound gmail] This sounds rather like macro expansion as found in languages ranging
| | + 273129 [lew lewscano] Zen.
| | | 273130 [znmeb cesmai] No, the word you're looking for is "bullshit"
| | + 273146 [james.kanze ] Not really. The arguments of a macro are normally expanded
| | 273441 [nebulous99 g] You seem to be meaning to disagree with me, but it's unclear exactly
| | 273485 [james.kanze ] r,
| + 272935 [jwkenne attg] FORTRAN generally looked like call by reference, but was often actually
+ 272018 [sgifford sus] Perl will let you change the value of a passed-in object directly.
^ How to see Ruby error when called from PHP
271789 [mtlmeijer gm] I'm not seeing an error message when I call my Ruby script from PHP with
^ XML in Ruby syntax
271800 [transfire gm] Recently I saw an announcement for an XML/HTML builder lib that
271802 [jgabrielygal] It was a post/email (I use the mailing list) from Michael Neumann on
271827 [transfire gm] On Sep 30, 6:38 am, "Jesù¸ Gabriel y GaláÏ" <jgabrielyga...@gmail.com>
^ [SOLUTION][QUIZ] Probable Iterations (#141)
271807 [jesse.d.merr] charset="utf-8"
^ How can I uninstall Ruby? Need to reinstall - please help!
271809 [bostonantifa] My Ruby installation doesn't recognize "gets", among other things, so
+ 271832 [bigboss64 ip] You probably fragged the install or got a very bad download of the installer
+ 271936 [d_rems yahoo] I have used One-Click Ruby Installer and everything is installed in
+ 272285 [stefan mahli] Any chance that you are using SciTE?
^ How to use RSS2 parser to parse tags with colon?
271813 [eryan.yu gma] I am trying to user the RSS2 parser to parse the weather feed from
^ [ANN] Ruby on OpenMoko / Neo1973
271830 [kero chello.] FYI,
+ 271895 [konrad tyler] charset="utf-8"
+ 271898 [jeremy hineg] This just made my day. I've been waiting for the consumer OpenMoko
^ Regular Expression newbie question about upper & lower case
271847 [bostonantifa] I want to check for both upper & lower case answers when a user keys in
+ 271850 [summercoolne] something like
+ 271852 [sepp2k googl] If you only care whether the first character is a y you can just do
^ Re: A mechanism for specifying static type signatures (NOT STATIC TYPING)
271848 [micathom gma] If it provides hints for the compiler to cry on obvious errors, I
^ Re: Regular Expression newbie question about upper & lower c
271853 [bostonantifa] Thank you much. Does the i at the end of the expression indicate
+ 271854 [sepp2k googl] Yes.
+ 271856 [summercoolne] yes, it is a modifier, and i for case insensitivity and m for multiline
^ Re: Will 1.8.6 remain compiled with VC6?
271863 [znmeb cesmai] Yes, let's take this to Ruby-Talk so we can all participate. Most of the
+ 271899 [luislavena g] Maybe you're right, cross-posting this could get more answers from
+ 271909 [cfis savagex] Postgresql 8.3 is moving to VC2005. Python also uses VC++ (2003 IIRC).
^ canonical Array#append to hang hook
271876 [nicolas.rass] I have a class which inherit from Array. I want to perform some task
+ 271972 [shortcutter ] I'd probably consider not using inheritance but wrapping your Array in
+ 272043 [vjoel path.b] It's not clear to me (though maybe it is clear to you) whether + should
+ 272046 [logancapaldo] class Narray
272157 [nicolas.rass] Sure I can do this but this way I lose every benefit of inheritance! And
+ 272159 [halostatue g] No you don't. #method_missing and #respond_to? are your friends. Or
| 272161 [nicolas.rass] a = NRArray.new
+ 272199 [shortcutter ] Actually the only real difference is object identity IMHO. As has been
| 272250 [nicolas.rass] Right for me
+ 272206 [logancapaldo] Heh I'm silly. There actually is no Array#append method so that's what
^ Help with a Windows port of a Ruby extension
271878 [junk greay.p] I'm working on a game that's in the early stages, and I want to make
271906 [dangerwillro] Well, if you want Objective-C to be portable, you'll have to build it
271913 [junk greay.p] Cocoa might not be portable, but Objective C most certainly is. I've
271920 [dangerwillro] Well, sorry for the noise then.
272017 [junk greay.p] The paths aren't the issue. Cygwin lets you use *NIX style paths, yes.
272025 [dangerwillro] Well, good luck! That sounds like uncharted waters.
^ Re: Probable Iterations (#141)
271879 [badcarl gmai] Carl
^ got a range from an array, but looking for other ways of doing it
271882 [significants] a is an array. I'm trying to chop the first and last third off. or,
+ 271887 [farrel.lifso] irb(main):002:0> a = Array(1..100)
+ 271888 [list.push gm] That's a very rough third :)
+ 271896 [summercoolne] a = Array(1..100)
| 271911 [summercoolne] that's strange, if i do
| 272258 [rick.denatal] No it's not because the leftmost = in the first statement is'nt doing
+ 271965 [shortcutter ] What exactly do you want to do with the slice?
^ Optimizing testing
271890 [chabotm yaho] I have a rake task that lunches all my unit tests. The execution of
+ 271893 [phlipcpp yah] rake test TESTOPTS=-n/_long$/
| 271901 [chabotm yaho] Thank you for your advices, it will be of a great help.
+ 271929 [drbrain segm] If your tests take twenty minutes, they aren't unit tests. Unit
271951 [chabotm yaho] In fact I use unit testing to test a Ruby wapper over a C++ tool that
272054 [drbrain segm] If you only want to test the wrapper you should stub out the C++
272063 [mchabotsol h] In fact it is a command line application. I think it is a good idea to
^ GTK ListBox?
271900 [lcl tarazed.] Greetings Ruby gurus
271926 [no spam.plea] Nearly everything about Gtk is hard - debugging esp - but...
271928 [lcl tarazed.] Yes, I noted TreeView and ListStore but that seemed too complicated for
272038 [lcl tarazed.] Apologies for answering my own post. Had another go with wxWidgets.
^ [ANN] mms2r 1.1.10 Released
271903 [mikemondrago] mms2r version 1.1.10 has been released!
^ bindings/wrapper: how to?
271914 [dangerwillro] Any tips or resources for creating a wrapper or bindings in Ruby to
+ 271916 [vjoel path.b] vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
+ 271919 [alexg kuicr.] The pickaxe has an excellent chapter on how to proceed with a simple
+ 271922 [dangerwillro] SWIG may be the way to go.
271945 [TimHunter nc] The Pickaxe has an excellent chapter on extending Ruby, or you can read
^ Gtk not work
271930 [bad_good_lio] my os --> ubuntu 7.04
+ 271931 [bad_good_lio] sorry i did't tell my problem
+ 271932 [stefano.croc] Your code lacks a call to the method which starts the event loop, that is
271934 [bad_good_lio] yes i got it....
^ gem_original_require no such file to load
271939 [andrea.masch] I have a ruby project structured in this way
271942 [wieczo.yo go] Yes, I think that the IDEs add your project path to the $LOAD_PATH
+ 271950 [andrea.masch] Wow. That seems to be a really good and practical idea. But i noticed that
+ 271963 [mortee.lists] The problem is actually that while you invoke the scripts from their own
271997 [andrea.masch] Phew! That's exactly what i was searching for!
^ URI.join inconsistency
271941 [gareth.adams] irb(main):001:0> URI.join('http://www.example.com/something', 'else').to_s
272052 [drbrain segm] URIs and paths are not the same, "http://example.com/something" and
272061 [mortee.lists] Then again, /something in the filesystem may just as well be a file,
^ Ruby vs. PHP
271943 [mailing.mr g] My company is trying to get big contract for creating and maintaining
+ 271946 [waleed.harbi] ====================================
| 271947 [robert.dober] This has been discussed a lot on this list, and I believe that a
| + 271982 [mailing.mr g] i found this one, and also it's interprete ruby not YARV or JRbuy
| + 272892 [perrin apoth] I agree. The site is useful -- just not in the immediately obvious way.
| | 272903 [znmeb cesmai] Well ...
| | 272930 [perrin apoth] No, I'm not assuming that. I'm pointing out that objections to using
| | 272940 [znmeb cesmai] Well ... OK ... you agree with me that they are useful for core
| | + 272948 [znmeb cesmai] OK ... here's the analysis. The attached PDF is what's known as a box
| | | + 272962 [perrin apoth] Nice. I wasn't expecting anything as effective for a quick, by-the-pants
| | | | 272965 [znmeb cesmai] R ... and no, I haven't ported the benchmarks to R ... and yes, I should. :)
| | | | 272968 [perrin apoth] Then maybe we can turn a translation of that R code into Ruby into a Ruby
| | | + 272998 [khaines enig] And THAT is where microbenchmarks can lead one astray. Compare PHP to
| | | 273033 [igouy2 yahoo] -snip-
| | | 273045 [znmeb cesmai] test iter
| | | 273047 [igouy2 yahoo] The more interesting approach would be how can we fix the other failing
| | | 273050 [znmeb cesmai] I haven't looked at them. My focus until mid-November or thereabouts is
| | + 272959 [perrin apoth] I still think you're missing my main point -- which is that, in general,
| | 272960 [znmeb cesmai] Well ... I guess I don't think Perl's OOP syntax is all that bad. I can
| | 272963 [perrin apoth] Perl's is bolted on and fugly. I usually disagree when people say Perl's
| + 272895 [shevegen lin] I can hear the ice crunching and breaking under your feet
+ 271948 [richard.conr] Why is this a good idea?
| + 271979 [dangerwillro] I wouldn't sweat it much.
| | 272004 [mailing.mr g] One of main reasons why my (small and new) company is considered is
| + 272001 [mailing.mr g] why not?
| + 272003 [shevegen lin] Finally a topic I like :)
| | + 272007 [mailing.mr g] since i have background in php i can provide investor with code samples,
| | + 272051 [perrin apoth] Actually, while PHP is much easier to pick up for web development for the
| | + 272056 [grkhetan gma] I thought this topic was quite related so posted in this same thread..
| | | + 272062 [mailing.mr g] december
| | | + 272064 [lionel-subsc] Ruby speed is irrelevant.
| | | 272080 [dangerwillro] If you by "serving videos" you mean streaming videos, you'll want
| | + 272060 [dangerwillro] PHP actually is a full-fledged programming language.
| | + 272083 [listbox juli] The reason it took off is mod_php, and I am kind of dreaming about
| | + 272099 [perrin apoth] Who ever said a templating language couldn't be a "programming language"?
| | 272104 [dangerwillro] nah most of what I type is only directed at my computer.
| | 272115 [listbox juli] Not exactly. Because PHP is so intimate with spitting text at people,
| | + 272197 [dangerwillro] That's fine to use a sigil some opening-closing delimiters with
| | + 272277 [perrin apoth] I'd say that PHP should have taken a hint from environment variables if
| | 272485 [listbox juli] To my understanding, ruby-talk is too noble a place to discuss the
| | 272486 [greg cyberfu] or the Java clone it's becoming.
| + 272016 [richard.conr] Well thats a claim you will have to back up. I don't see it as being
| | 272020 [mailing.mr g] I heard they are STARTING to use ruby from one of google employes.
| | + 272032 [dolgun excit] I'm sure google will try anything that will give them an advantage, but
| | + 272033 [wayneeseguin] Marcin,
| | | 272050 [mailing.mr g] this thread is geting complicated, i ended up replaying to few people on
| | + 272166 [richard.conr] Yeah, but slower for which end, the Database or the Rails pizza box?
| | 272249 [mailing.mr g] in my expirience when in my test (but based on real case) database DB
| + 272126 [perrin apoth] My first thought was that it's a good idea because PHP is more painful to
| | 272171 [richard.conr] Read my response again - the high availability of PHP developers suits
| | + 272201 [znmeb cesmai] This thread has gone on so long that I've forgotten the original
| | | 272229 [richard.conr] Well thats what has shaped my answers. In particular the OP wanted
| | | + 272252 [mailing.mr g] Well, yes, it WAS buisenes questions, with spawned, lots of subthreads,
| | | + 272282 [perrin apoth] I don't think saying that PHP serves the customer better is such an open
| | | 272284 [mailing.mr g] Thank God someone that understands :) that are reasons why i want to use
| | + 272280 [perrin apoth] You're talking about which is more socially acceptable to a manager,
| | 272308 [znmeb cesmai] 1. I don't remember how I stumbled across it, but somewhere in the great
| | + 272332 [ news jay.fm] I think that was Steve Yegge's blog post - he used to work for Amazon, now
| | + 272424 [perrin apoth] Missed opportunities . . .
| | | 272502 [znmeb cesmai] Well ... I must say I enjoyed the Scheme workshop, but, yes, Scheme is
| | + 272501 [rubify softo] Sorry for OT, but I did not start it :). The intervew question for quick
| + 272278 [rick.denatal] I'm jumping in late here, and I've only skimmed most of the replies,
| 272286 [mailing.mr g] well, I'm still considering merb, in fact my custom framework borrowed
+ 272012 [wayneeseguin] I highly advise checking out the up and coming release of Merb for your
| 272015 [mailing.mr g] Thanks i was talking with Ezra Zygmuntowich on irc a while ago, and i
+ 272082 [listbox juli] I have an argument, altough a weird one at that. PHP is all about
+ 272101 [lloyd 2live4] There is a recent thread that covers speed. If you take ruby 1.9 and
^ regexpression: scanning a special charachters // ?
271949 [kazaam oleco] result = overlook.scan(/myoverlook://(.+?)\n/m)
+ 271952 [mbj seonic.n] You escaped the ( to, so that your cloasing ) is unmatched...
+ 271959 [sepp2k googl] That would be correct if you hadn't accidentally escaped the (, too.
+ 271961 [shortcutter ] I'd also change the RX to a more appropriate one, e.g. any of these
+ 271962 [kazaam oleco] thanks for both your answers. I had thought I had to surround a / with two \ to escape it. Now it works :)
^ connecting to sql server with dbi ?
271955 [wbsurfver ya] I'm trying to figure out how to connect to sql server (2005 i think)
^ Gem Developer Guide
271968 [cardosojp ne] Can someone tell me where is the developer guide to the ruby gems?
+ 271970 [rmagick gmai] Posted via http://www.ruby-forum.com/.
| 272073 [cardosojp ne] Thnaks,
| 272074 [TimHunter nc] AFAIK that's as close to a "dev guide" as there is. Perhaps somebody
| 272076 [cardosojp ne] Well...
| 272079 [dangerwillro] There is info in several books.
+ 272089 [wilsonb gmai] What kind of information are you looking for?
+ 272105 [wdierkes 5do] If you are just looking for information on how to create a ruby gem
+ 272135 [cardosojp ne] Thanks. That is enough I think :)
| 272263 [drbrain segm] It handles everything you need for building gems and publishing them,
+ 272173 [chris.lowis ] Posted via http://www.ruby-forum.com/.
272279 [frdrch web.d] Regards
^ passing dynamic parameter in a bloc
271984 [josselin wan] in a RoR plugin, I am passing a string parameter (column name) i.e
272055 [logancapaldo] This is really a rails specific question but here's a guess on how you
272147 [josselin wan] thanks a lot for your advice... that's true it's a Rail specific
^ Accessing Kernel namespace from within classes...
271985 [gabe dragffy] Hoping someone could tell me the answer to the following.
271991 [whiteqt gmai] Are you using a complete URI or just part of one? For example,
272000 [gabe dragffy] Oh thank you so much, you spotted that one a million miles off, I
+ 272008 [whiteqt gmai] No problem. If you need more help, be sure to give us the code that is
| 272355 [gabe dragffy] Thanks, Matt!
+ 272059 [gwtmp01 mac.] You can force constants to be evaluated from the
272356 [gabe dragffy] Thank you, Gary!