126880-129037
126642-131110 subjects 127080-129318
^ Re: Fwd: [suby-ruby] Your all time desired fundamental Ruby mod
126880 [transami run] But its not just idiomatic, its functional. For instance what if nil is a
126881 [dblack wobbl] I think we have to agree on a parting of the ways on this at this
126882 [transami run] Okay. But that's too bad I think. I'd really like to get more to the bottom of
^ Arachno Ruby IDE evaluation expired
126894 [mulperi iki.] My evaluation just expired. I'm willing to buy this fine IDE, but
126896 [lyle.johnson] What did the software vendor (Scriptolutions) say when you contacted
126897 [mulperi iki.] Lyle,
+ 126899 [msparshatt y] My understanding is that Arachno is still in the beta stage and that it
+ 126903 [mailinglists] Hmm, there are 24 different time zones on this world.
126995 [mulperi cc.h] Yes my bad. Since you are a living in Germany and I'm in Finland I supposed
^ Rails config problem
126908 [Ian.Hobson n] help - I'm trying to set up ruby on rails (via detours through Apache,
126909 [wenn0029 tc.] rails@lists.rubyonrails.org
^ My regexp stupidity needs assistance before loose all my hair!
126911 [transami run] Let me painfully honest: I hate parsing, especially w/ regexp, and I don't
+ 126914 [zdennis mkte] The trick here is to make sure you are non-greedy.
| + 126916 [zdennis mkte] Almost forgot, $1 is the match you are looking for.
| + 126921 [transami run] Thanks. I _see_ now why mine wasn't working, though I don't _understand_ why
| | + 126925 [transami run] Oops scratch that. That's not the reason either (sigh). But I got it working
| | + 126927 [assaph gmail] It has todo with the pattern matching being greedy, not the /x flag.
| | 126935 [transami run] Thanks Assaph,
| | 126936 [assaph gmail] Thats because [^`] will match 'a single character that is not `'.
| | 126938 [discordantus] I may be reading this wrong, but I think that with the zero-width
| + 126931 [discordantus] s =~ /\[.*?\]/
+ 126915 [rampant gmai] I think that this is what you need: /\[[\w]+\]/
| + 126917 [zdennis mkte] Ah, this is nicer and shorter then mine... I think I will use this one
| | 126926 [rampant gmai] And I was thinking "ooh, Zach's looks like a better way to do it" :)
| + 127034 [lists bertra] What are the square brackets for? As far as I see /\[\w+\]/
| | + 127040 [zdennis mkte] In a regular expression squares brackets represent a character class. A
| | | + 127041 [james graypr] Shortcuts like \w define character classes, so the brackets are not
| | | + 127051 [rampant gmai] What do you want to match? "[heh, this is [b]" or "[b]"?
| | + 127042 [zdennis mkte] Almost forgot to hit up your question...
| + 127055 [k.neirynck g] Regex-coach is also quite helpful here.
+ 126918 [glenn.parker] s =~ /\[([^\]]*)\]/
+ 126943 [john.carter ] Given your other posts in this forum I cannot believe that you are stupid.
126972 [transami run] Ah this is my major problem. I tend to write whole chunks of code at once and
^ PHP ERB
126920 [patrick hexa] One of the nice things about php is that the '<?>' keys are close to
+ 126923 [aredridel nb] +1 in concept, because XML standards suggest it this way, too. However,
| + 126928 [rampant gmai] or just, <?r ?>
| | + 126933 [lgomez vfxne] <?rb ?> gets my vote
| | + 126990 [rff_rff remo] +1 for <?r (which IIRC is Nitro's way of doing things :)
| | 127052 [chneukirchen] Get pragmatic and allow both <?r and <?ruby. :-)
| + 126940 [stesch no-sp] Why bother? I don't think something like
| | 127001 [george.mosch] but,
| | 127039 [stesch no-sp] <a href="foo/?baz=23" <?ruby if xyz.poo(42) ?> target="moep"
| + 127000 [george.mosch] <?r if user.role("admin") ?>
+ 126924 [patrick hexa] Cheers,
+ 126957 [drbrain segm] That's because you're using the wrong keyboard. Switch to dvorak
^ Ruby Exam - unittest yourself
126939 [neoneye gmai] I chatted on the #ruby-lang irc channel.. and suddenly I was
+ 126944 [gfb tonesoft] Hmm... I must be late -- all questions are taken by others :-(. The page
+ 126991 [vanweerd gma] are there answers?
127038 [djberg96 hot] Not yet. Should folks put them on the same page? Or perhaps a
^ Re: [Solution] Animal Quiz (#15)
126952 [rasputnik he] Thanks, had fun with that. Sounded easy at first read but had
^ Problems with Passive Arguments and refactoring
126956 [zoso foton.e] Sorry for breaking the thread, I mistakenly deleted the old message.
+ 126971 [transami run] Not that you don't have a point. You do. But a number of things would catch
| 127005 [zoso foton.e] ch=20
| 127017 [transami run] Okay, maybe a little. I don't think it slows people down too much. But I take
+ 126973 [transami run] Oh, BTW, I know the feeling. Those days are hair pullers indeed!
^ Documenting ruby.h and intern.h (was rb_const_get documentation)
126959 [cmills frees] VALUE cGlitVec = rb_path2class("GLIT::Vec");
126961 [eero.saynatk] Seconded, along with a more complete how-to for Ruby extensions
127634 [jamesUNDERBA] Yes.
127717 [eero.saynatk] Excellent!
+ 127719 [jamesUNDERBA] Ah. Well, then perhaps more comments are needed in the source code,
+ 127720 [ruby-talk wh] You can see for yourself: <http://i.loveruby.net/ja/rhg/>
127738 [rasputnik he] (http://www.excite.co.jp/world/english/web/body/?wb_url=http%3A%2F%2Fi.loveruby.net%2Fja%2Frhg%2Findex.html&wb_lp=JAEN&wb_dis=2)
^ [OT] Re: Problems with Passive Arguments and refactoring
126997 [bob.news gmx] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag
^ [ruby-gtk2] Garbage collection and memory use
126999 [davinciSINSP] #!/usr/bin/ruby
127033 [mutoh highwa] (gcc -o test `pkg-config gtk+-2.0 --libs --cflags` test.c)
^ Ruby Weekly News 10th - 16th January 2005
127002 [timsuth ihug] Ruby Weekly News 10th - 16th January 2005
127014 [transami run] Thanks for the news Tim. Very nice, very helpful.
+ 127016 [eustaquioran] Hey!
| 127074 [timsuth ihug] Funny, it works for me, and no-one has edited the page since I posted. What
+ 127032 [martin.anker] That would be an interresting idea for a Ruby-Quiz: Write a program
+ 127075 [timsuth ihug] That's a very good idea. I'll do that :-)
+ 127084 [tsawyer gmai] Oh. You are quite welcome. Glad to be a help.
+ 127129 [tsawyer gmai] Hey. Just had another small idea. Let's keep an eye out for the best
127310 [timsuth ihug] Okay. Send me any interesting quotes you see.
127481 [tsawyer gmai] Okay, but it'll certainly will take more then this here pair of eyes.
^ Connecting to a remote Oracle DB
127004 [george.mosch] using the ruby Oracle driver I connect to a local db with the following
127007 [jason.sweat ] My initial guess is you should add the information to your systems
+ 127010 [george.mosch] Thank you,
+ 127011 [george.mosch] Thank you,
^ Re: Ignoring RUBYOPT ? - The Solution
127006 [google erikv] The problem with RUBYOPT is fixed! Or rather worked-around...
^ [ANN] WWW::Mechanize alike in Ruby
127013 [mneumann nte] I just read the Web-testing thread in the latest "Ruby Weekly News" and want
127018 [jamis_buck b] Isn't 1.8.2 the current Ruby? Or does "Ruby-current" mean something
+ 127020 [halostatue g] If it isn't 1.9 (CVS HEAD), then it's probably a post 1.8.2 release
| 127022 [mneumann nte] I'm not sure whether it's in the stable branch. Just look for the
+ 127021 [mneumann nte] With -current I mean the development version of Ruby. Sorry for the
^ Goodle Groups and My New Address
127024 [tsawyer gmai] Just an FYI I will be moving all my email activity to my gmail address
+ 127023 [tsawyer gmai] Oops. That should be Google Groups.
| + 127030 [ptkwt aracne] Did you ever read that book "Goodle, Etcher, Buck"?
| | 127031 [tsawyer gmai] LOL! In fact I have, twice! Dougy Hof is soooo coooool :)
| + 127048 [bob.news gmx] <tsawyer@gmail.com> schrieb im Newsbeitrag
+ 127037 [gavri.fernan] I've chosen to use gmail for reading and posting to the list. A much
+ 127046 [craig.m.mora] I am using this Google email addy specifically for the Ruby ML and
127047 [gavri.fernan] Hmm...Why is this a problem? I set all mails that are filtered and
127049 [craig.m.mora] It is possible that you misunderstood me. After I Label something, I
127050 [gavri.fernan] The filter I've set labels and archives automatically. So at no point
127053 [craig.m.mora] I'm sure that I'm being misunderstood now. From my first message on
127056 [vanweerd gma] I've done the same. Not sure what I'm going to do about other mail
127134 [tsawyer gmai] Looks like gmail is the recommend interface. I'm tyring to live with
127211 [tsawyer gmai] Anyone know who Google Droups determine what messages are new?
127240 [tsawyer gmai] Okay. I can officially say that I really miss my KMail autospell
127241 [tsawyer gmai] Great Googles! I can't even type anymore!
127302 [tsawyer gmai] Testing...
^ jobs.perl.org for ruby?
127043 [lists zara.6] Is there something akin to http://jobs.perl.org/ for Ruby? If not,
+ 127045 [alex verk.in] I could make a category for this on Ruby Forum. Are there _jobs_?
+ 127083 [regexman gma] I am interested in helping start one if there is not one out there and
^ trouble with ruby_options() on win32 and ruby 1.8.2
127054 [dave infoeth] I'm trying to embed ruby into a win32 application; however, when
+ 127060 [eero.saynatk] See http://www.ruby-doc.org/doxygen/1.8.1/eval_8c-source.html#l01345
| 127157 [dave infoeth] Actually, the source code indicates that the first argument should be
+ 127547 [nobu.nokada ] Which version do you use? Since last november, ruby_options()
^ value by reference
127057 [mkhan lextra] def do_something(a, b, c)
+ 127058 [tsawyer gmai] I beleive it is by reference, the problem is you need to modify
| + 127079 [tsawyer gmai] I would like to elaborate on this generally. Is ti possibel to have a
| + 127090 [tsawyer gmai] Sorry. #succ does not act inplace and nothing does on Fixnum. Its been
| 127121 [flgr ccan.de] Of course nothing can change the value of immediate Objects. :)
| + 127127 [glenn.parker] Sorry, but I can't believe anybody would actually want to use the lambda
| | + 127131 [dblack wobbl] Then again, I've found that when people get confused by things in
| | | + 127135 [blaumag gmai] def do_something(a, b, c)
| | | | + 127137 [dblack wobbl] What would you replace 5 with? :-)
| | | | | 127139 [blaumag gmai] idea would be to modify the language to allow that kind of
| | | | | + 127142 [ruby-lists l] replace already exists in string and makes a lot of sense.
| | | | | | 127145 [tsawyer gmai] Is the "right" design pure by-value? You seem to be pushing in that
| | | | | | 127151 [ruby-lists l] yes
| | | | | | 127208 [tsawyer gmai] Actually, I absolutely agree with you. I do beleive in functional
| | | | | + 127144 [dblack wobbl] I guess that's similar to the "become" idea that people have discussed
| | | | | + 127164 [flgr ccan.de] Something is usually wrong when you want an Object to change classes at
| | | | | 127209 [blaumag gmai] Actually I've never had the need for this hack, I just wanted to share
| | | | | + 127210 [blaumag gmai] David? I mean Florian!
| | | | | + 127215 [tsawyer gmai] Wizard Peter Vanbroekhoven has also written a #become patch for Ruby.
| | | | | + 127216 [flgr ccan.de] I disagree. I think there are some core principles of Ruby that make it
| | | | | 127243 [ruby-talk wh] Disagreement here as well. I've needed Object#become quite a bit in my
| | | | | 127266 [flgr ccan.de] Actually, it isn't. Have a look at the evil-ruby project. There is a lot
| | | | + 127140 [langstefan g] But replace doesn't replace the object the variable
| | | | + 127205 [discordantus] String#replace doesn't change the object the variable refers to, it
| | | | 127212 [flgr ccan.de] Ref.new(false) or Ref.new(nil) do not act like you would expect them to
| | | | 127231 [discordantus] Ah, I hadn't thought of that. I guess if you would need to
| | | | 127234 [flgr ccan.de] Yup, #to_bool is really missing here.
| | | + 127253 [glenn.parker] Ouch! That's what I get for posting code without trying it out first.
| | | 127261 [jim weirichh] Perl does it by creating a reference (with a backslash) and then
| | | 127268 [flgr ccan.de] BTW, I think this actually inspired me to write Binding.of_caller and
| | + 127155 [halostatue g] The Variable method is useful; I agree about lambda for this bit.
| | + 127159 [flgr ccan.de] They are wordy only when you want to increment multiple variables from
| | + 127184 [aredridel gm] Rightly so. I can't see any reason for .succ! to exist, really, and
| + 127128 [tsawyer gmai] Right. I'm not suggesting that Ruby change this. I'm just wondering if
| + 127132 [ruby-lists l] sorry if this offends, but there is no less blunt way to say it.
| | 127146 [tsawyer gmai] That's silly. By that line of reasoning, nearly every other language
| | + 127149 [ruby-lists l] sure. people who want quick unmaintainable hacks shouldn't use ruby i
| | + 127152 [mkhan lextra] Here, I agree with you.
| | | 127154 [ruby-lists l] performance
| | + 127158 [halostatue g] No, it's not silly. Consider that C didn't have reference arguments
| | | 127197 [tsawyer gmai] Never mentioned POLS. As for ducky nature, I'm simply referring to it
| | + 127168 [flgr ccan.de] No, other languages use other models that need this. They don't work
| | 127171 [as computer-] A nice discussion.
| | 127175 [flgr ccan.de] Thanks, but I just spotted myself using "you're" instead of "your".
| | 127181 [as computer-] It's a change for the worse.
| + 127166 [flgr ccan.de] Please, don't. That would actually make all this wrong thinking models
| + 127219 [jim weirichh] A perfectly good way to think of variables in FORTRAN, Ada, Pascal,
+ 127059 [flgr ccan.de] This is not easily done. First of all you should ask yourself why you
| 127063 [mkhan lextra] I really need it.
| 127069 [flgr ccan.de] Maybe you could return a Hash then?
+ 127061 [assaph gmail] It's probably easier if you're used to think in pointers / references.
+ 127085 [dblack wobbl] Fixnums are immediate values, and are immutable, even when they're
+ 127147 [mkhan lextra] #!/usr/bin/env ruby
| + 127160 [flgr ccan.de] x, y, z = 1, 2, 3
| | 127165 [mkhan lextra] I understand that.
| | + 127173 [flgr ccan.de] First, let's agree on using the term "mutable" (or "changeable") instead
| | | 127176 [mkhan lextra] agreed on using term 'mutable'.
| | | + 127183 [halostatue g] Different things entirely.
| | | + 127188 [langstefan g] You have to tell ruby what object you want to pass
| | + 127179 [halostatue g] The distinction is not between clonable objects and non-clonable
| + 127163 [halostatue g] I don't know why you're not getting this, as it is very simple.
| 127169 [mkhan lextra] May be I am not that simple!! :p
| + 127174 [flgr ccan.de] Every thing is an Object. Names for things are not Objects because then
| + 127182 [halostatue g] Yes, and no.
| 127190 [mkhan lextra] It would be great if we can do
| 127199 [flgr ccan.de] Which would be Objects whose values can be changed?
| + 127204 [mkhan lextra] In this instance it would be confusing.
| | + 127217 [flgr ccan.de] There's other ways that work without changing the language. They were
| | + 127226 [halostatue g] *Why* do you want to be able to do that? Is there not something else
| + 127237 [chneukirchen] I disagree. a simply is an *reference to an* Integer, initalized with
+ 127225 [mkhan lextra] What I was missing, this thread made me to understand that.
^ [ANN] solaris-kstat 0.2.0
127062 [djberg96 hot] I'm happy to announce the release of solaris-kstat 0.2.0. This is a
^ [ann] aeditor-2.1 (megacorp release)
127064 [neoneye gmai] * added folding
+ 127078 [tsawyer gmai] Simon, is it still dependednt on FOX? I couldn't find any info on
| + 127091 [lymans gmail] I'm going with - yes, it requires FOX/FXRuby
| | 127092 [tsawyer gmai] Sheesh. If it were a snake it would have bit me.
| + 127122 [flgr ccan.de] I'd prefer wxRuby, personally.
| + 127148 [tsawyer gmai] Yeppy! I will download and try right away.
| 127156 [ruby-lists l] i'll prob work on vim like keybindings
+ 127089 [mailinglists] Your code is very short, so i'm curious which of the 16 points on your
+ 127099 [martindemell] I'd be interested in it, at any rate.
+ 127114 [neoneye gmai] 1. Bad caching: no caching at the moment.
+ 127192 [neoneye gmai] I am not interested in color bloated fonts.. just nice fonts (or retro fonts).
^ Re: Pimki 1.4
127067 [assaph gmail] of that,
^ Re: Madeleine snapshots (was: [ANN] Pimki 1.4)
127068 [alex verk.in] I've been fiddling with MadeleineService in Instiki - it is somewhat
129037 [ndrsbngtssn ] I guess that's me! :)
^ [ANN] Tar2RubyScript 0.4.4
127072 [google erikv] I've released Tar2RubyScript 0.4.4 [1,2].
^ [ANN] RubyScript2Exe 0.3.2
127073 [google erikv] I've released RubyScript2Exe 0.3.2 [1,2].
127264 [google erikv] Writing in a human language is as much fun as writing in a
127385 [itsme213 hot] Nope, it's something I know very little about.
127404 [google erikv] That's more than I know about it...
threads.html
top