161767-162844

161529-197832 subjects 161867-163119

^ [IRB Tab Completion not working on OS X after complete build]
161767 [untz san.rr.] Ezra,
161774 [james graypr] Hope that helps.
161983 [rictic gmail] Just from reading this, I don't think it's the solution to this problem. I'=
+ 161986 [k.parnell gm] Peter,
| 162053 [rictic gmail] I put this into my ~/.irbrc and it's working great now.
+ 161987 [ezra yakima-] Peter-

^ [ANN] Ferret 0.1.0 (Port of Java Lucene) released
161773 [dbalmain.ml ] I know there have been at least a few people looking for something like thi=
+ 161778 [jqshenker gm] Whoa. Very cool. Thanks, David!
+ 161782 [leavengood g] Uh oh, there goes another Ruby Quiz idea[1] torpedoed by a diligent
| + 161785 [dbalmain.ml ] Thanks for pointing that out. I missed it. I do think it's a great idea for
| + 161831 [james graypr] I still think the quiz will be fun.  Our goals are humble compared to
+ 161783 [tobias.luetk] Amazing,
+ 161796 [sean.ohalpin] Superb! Thanks!
| 161918 [hal9000 hype] I'm probably wrong, but I thought we already had
| 161931 [dbalmain.ml ] Yes and also one called rubylucene. Unfortunately Erik Hatcher never had th=
+ 161819 [hutch recurs] This is great news! I'm installing it now, and will have a go at it
| 161830 [dbalmain.ml ] Bob, thanks for that, the link is fixed now. Unfortunately my
| 161836 [twifkak comc] How does this compare to (Estraier/Hyper
| 161928 [dbalmain.ml ] I'm afraid I've only briefly looked at those other IR systems but I'll try
+ 161828 [george.mosch] Can't wait to try this!
+ 161944 [mileskeaton ] David -
  161977 [dbalmain.ml ] I'm looking in to it now. I'll send you the bill. ;-)
  161995 [dbalmain.ml ] T24gMTAvMjIvMDUsIERhdmlkIEJhbG1haW4gPGRiYWxtYWluLm1sQGdtYWlsLmNvbT4gd3JvdGU6
  162058 [mileskeaton ] one correction:RegExpTokenizer should be RETokenizer(at least in the version you've released publicly)
  162098 [dbalmain.ml ] Doh, I meant to change that for the email. Anyway, in case you're

^ gnuplot on ruby
161776 [faker yahoo.] I installed gnuplot gem, and I am getting some syntax errors when I try to
161780 [Ara.T.Howard] it looks like the code must do
161835 [gordon.j.mil] Ara is completely correct with his diagnosis.  You have two choices,
+ 161850 [faker yahoo.] Aha! I see it now. The problem isn't that gnuplot isn't in the path, but
+ 161861 [faker yahoo.] gordon, It looks like the gnuplot executable on windows needs to be
| 162027 [phurley gmai] Another FYI, I have found that under windows, the gnuplot from cygwin
+ 161872 [Ara.T.Howard] def which bin
  + 161974 [faker yahoo.] You will have to add something to change the search to look for pgnuplot.exe
  | 162000 [evl tkwsping] While we are on the topic off rgnuplot, does anybody know if it is
  | 162215 [gordon.j.mil] I'm not too familiar with the interactive gnuplot capabilities (I
  + 162216 [gordon.j.mil] Sorry for the delay in replying, I only participate in the digest mode.

^ Ruby/Tk question
161777 [noSpam noSpa] I have an application that pops up a window until someone
162060 [nagai ai.kyu] You closed the root window here, didn't you?.
162068 [noSpam noSpa] Yes indeed... you are exactly right.  Thank you!
162231 [nagai ai.kyu] Hmm... Probably, some part of the interpreter will not be

^ Madeleine, SQLite and multi-platform issues (in ruby :-)
161790 [assaph gmail] I need some advice around Ruby, SQLite an cross-platform problems. I
+ 161791 [ezra yakima-] What about using a pure ruby solution like KirbyBase?
| 161808 [assaph gmail] Nice idea. I like the plain-text backend (particularly fitting for my
| + 161840 [cribbsj oakw] I've thought a little bit about writing an ActiveRecord adapter for
| | 162002 [assaph gmail] Too much work for something I can do without :)
| | 162029 [jcribbs twmi] Not sure what you mean by "how invasive is KB regarding the objects it
| | 162056 [assaph gmail] Do I need to inherit from a certain base class (like in AR)? Do I need
| | 162067 [jcribbs twmi] No, you don't need to inherit from any specific class.  The only thing
| | 162179 [assaph gmail] Oh well, time to read the docs I guess :-)
| | 162212 [jcribbs twmi] Feel free to keep asking questions.  I just mentioned the examples in
| | 162241 [assaph gmail] Sounds like standard practice to my (inexperienced) mind. I was just
| | 162269 [cribbsj oakw] Unfortunately, no.  That might be cool to have; I'll have to put that on
| + 161897 [ezra yakimah] Well kirbybase is really a nice little database. It now has one
|   162057 [assaph gmail] That's encouraging. Condering my "model" is already non-AR and that
+ 161896 [alex deletem] I use SQLite as the storage format for a gui app; my experience
  162004 [assaph gmail] Thanks for your replies!
  162205 [alex deletem] No problems with compatibility between minor versions of sqlite-ruby;
  162242 [assaph gmail] Is that the way to also deal with dropping columns? Would the right
  162266 [alex deletem] Yes, or it's probably safer to start a transaction, rename the old table

^ A comparison by example of keyword argument styles
161792 [binary42 gma] What I have bellow is what started as a post to RedHanded. It was
+ 161798 [bob.news gmx] Wow!  Quite a comprehensive discussion.  Thanks for writing this far! :-)
| 161803 [christophe.g] I'm afraid that would be too restrictive for Ruby. There are already cases (see
+ 161801 [christophe.g] Thanks for the post Brian. I want to say that I agree with your conclusion that
| 161966 [christophe.g] OK. That's about what I meant :) .
+ 161805 [daniel.schie] I still haven't given up on my own style :)
| + 161810 [damphyr free] snip
| | + 161823 [christophe.g] I agree. Also, the (a: "foo") syntax looks a lot like Smalltalk's named
| | + 162023 [daniel.schie] Erm, the keywords *are* symbols.
| |   162047 [dblack wobbl] looks bizarre.
| + 161871 [matz ruby-la] Why with a colon in front of it instead of right after it?
|   162024 [daniel.schie] Because the keys *are* symbols, and they have colons in front of them.
|   162025 [transfire gm] But they're *not* symbols. They're local vars.
|   162026 [daniel.schie] def foo(a:, **keys)
|   + 162028 [decoux moulo] Well, matz has given the reason
|   + 162030 [decoux moulo] and to give you another example
+ 161814 [transfire gm] a = [ :a, :b, :c ]
| 161818 [djberg96 gma] # This is *not* finalized
+ 161817 [djberg96 gma] Ruby has always favored implicitness over explicitness.  The fact that
| + 161821 [dblack wobbl] def meth(a,b,c) ... end
| | + 161826 [christophe.g] Amen. As I keep saying, it's a matter of interface. If you allow implicit
| | | 161848 [Daniel.Berge] The separation between implementation and behavior you make here is lost
| | | + 161854 [dblack wobbl] But that's the point: keyword arguments represent a decision to name
| | | | 162113 [surrender_it] I think you're supposing people will use your keyword arguments, which
| | | + 161857 [transfire gm] I must say, I was leaning with David, but these are good counter
| | | | + 161868 [kballard gma] I'd quote stuff, but I'd be pulling from too many messages that it
| | | | + 161895 [dblack wobbl] def meth(a,b,#c)    that's a comment
| | | |   161901 [transfire gm] puts "but this is #{not}"
| | | + 161858 [christophe.g] I happen to think that the fact that it was an explicit, conscious choice does
| | | | + 161862 [Daniel.Berge] Heh.  Thought about it.
| | | | | 162059 [agorilla gma] Has any thought been given to defining the parameters and keywords
| | | | | 162078 [transfire gm] But you can mitigate that. Also there's no need for this on regular
| | | | + 161875 [Daniel.Berge] But it *is* you who chooses it when you choose the parameter name.  I don't
| | | | + 162089 [ggarra advan] Well, I just realized reading the thread again that, syntax differences
| | | |   + 162110 [surrender_it] AFAIK, no, some pythonic friends seem to agree with this.
| | | |   + 162121 [transfire gm] List is great but I don't program in Lisp because of my eyes become
| | | |     + 162129 [eric_mahurin] At first glance I like this, but ...
| | | |     + 162132 [djberg96 gma] I could live with this particular exception.  Seriously, what are our
| | | |       + 162139 [matz ruby-la] For example?  It that good enough to break thousands of lines of code?
| | | |       | + 162141 [transfire gm] Not if you go back in time it won't ;)
| | | |       | | 162142 [warrens actc] charset="US-ASCII"
| | | |       | + 162156 [dblack wobbl] No.  Nor is there any reason for Ruby to converge onto what's common
| | | |       + 162193 [toby cbcg.ne] For my part, I prefer this syntax. Its natural to Lisp programmers,
| | | + 161951 [mailing-list] I”Ēm not pretending to understand what the whole discussion is about, but
| | |   161978 [matz ruby-la] Exactly.  I was writing slides about keyword arguments with opening
| | |   162007 [chneukirchen] Certainly, more language designers should do this. :-)
| | + 161870 [sean.ohalpin] I'm with you on this David. I find myself doing (a,b,*args) => (*args)
| + 161873 [matz ruby-la] Too much implicitness makes code cryptic.  Too much explicitness makes
|   + 161880 [Daniel.Berge] Not allowed because redefinition of the same parameter raises an error.  Here
|   | 161975 [matz ruby-la] Then what if foo(1,b:2,c:3) ?
|   + 161988 [ruby-ml magi] 1) foo is supposed to be a transparent proxy: the caller must take care
+ 161863 [transfire gm] "Ah, to Hek with interfaces. They're overrated anyways!", says Typo the
+ 161899 [binary42 gma] I am updating my original post with more information, namely some
| + 161904 [transfire gm] <quote author="Brian">
| + 161979 [matz ruby-la] Not yet.  The behavior was fixed on a night before the keynote.  It is
|   162019 [ggarra advan] One question.  Why this complexity in syntax?   Why the strange and
|   + 162020 [transfire gm] def foo(x)
|   + 162021 [matz ruby-la] Unlike Ruby, assignments are expression in Ruby.  Besides that, I
|     + 162031 [matz ruby-la] I meant "unlike Python".
|     + 162069 [ggarra advan] Yes, I am aware of that. But can you actually point to me some library
|       162099 [ggarra advan] Never mind me.  I read David Black's response and I see the point.
|       + 162244 [ggarra advan] So if I have default values on both positional and named parameters, it
|       + 162246 [ggarra advan] Much nicer than what I suggested, for sure.  The semicolon is already a
+ 162159 [daniel.schie] This is just to get the discussion focused. With named arguments, I'm
  + 162167 [transfire gm] There's no reason you can't leave the value off.
  | 162174 [mailing-list] Yes, it”Ēs a bit ugly, but to me, using => for key-value pairs is not
  + 162170 [mailing-list] It”Ēs impossible to implement without breaking the current semantics of
  | 162171 [leavengood g] I agree. At least both the Sydney and Matz techniques for keywordarguments use the colon. I do not think using equals will ever be avalid option. Ruby isn't Python, and thank goodness for that.
  + 162182 [eric_mahurin] I don't think this should be an assumption about how named
  | 162199 [matz ruby-la] It's for method delegation.  Currently we do
  | + 162214 [transfire gm] This is sinking worse and worse into a stenchy quagmire. If someone
  | | 162217 [Ara.T.Howard] require 'alib'
  | | + 162220 [transfire gm] That's nice, but then why would we need key args if we'd do this
  | | | 162234 [Ara.T.Howard] that was my point ;-)  just wondering out loud how important lanuage support
  | | + 162228 [ruby-ml magi] Yeah, but this just seems like fixing the symptoms of a problem
  | + 162299 [eric_mahurin] def foo(*args, &block)
  |   + 162331 [louis.j.scor] Right, so this is probably a really dumb idea, but I was just having a
  |   | + 162339 [transfire gm] def foo( required :bar, :baz ; optional :request=>'useless' ; named
  |   | | + 162345 [louis.j.scor] *agrees*
  |   | | | 162354 [Ara.T.Howard] not really, think about it
  |   | | | 162364 [transfire gm] Ah, at first I was gogin to say "STOP! You've got this all distorted.
  |   | | | 162368 [Ara.T.Howard] it's slippery all right.
  |   | | + 162443 [daniel.schie] AAARGH! My eyes ;)
  |   | + 162352 [Ara.T.Howard] require 'parseargs'
  |   |   + 162353 [Daniel.Berge] What's wrong with making them all implicit instead of forcing me to add
  |   |   | + 162359 [louis.j.scor] Well, my gut instinct was that this is breaking encapsulation: you didn't
  |   |   | | 162361 [Daniel.Berge] Never, unless someone suddenly comes along and tells you that your
  |   |   | + 162371 [mailing-list] I don”Ēt quite understand what you mean here, but if you mean why not all
  |   |   + 162355 [louis.j.scor] es'
  |   |   | 162358 [Ara.T.Howard] def meth *a, &b
  |   |   + 162370 [transfire gm] I idea is good but may I suggest it be a little less "cryptic"?
  |   |     162374 [Ara.T.Howard] how do you say that an argument is optional then?  are all keywords implied as
  |   + 162431 [matz ruby-la] It's longer than it is really needed.  I want to delegate everything
  |     + 162439 [surrender_it] sorry if this was already explained, how do I do if I don't want to
  |     | 162451 [matz ruby-la] Good point.  Both should be possible.
  |     + 162440 [Ara.T.Howard] amen!  maybe bar(_).
  |     + 162496 [eric_mahurin] So would a Proc for the block appear as the last element of
  |     + 162561 [akr m17n.org] I think an array, *args, is a structure too poor to
  |       162566 [Ara.T.Howard] i agree with you.  in my parseargs module i have Argument and Keyword classes.
  + 162275 [daniel.schie] How about this definition syntax (note that `=>' is just being used here

^ define_class and get_class
161811 [mushtaq.a gm] Methods can be defined and called dynamically using define_method and
+ 161813 [bob.news gmx] cl = Class.new do
+ 161815 [pbrannan atd] A = Class.new
+ 161816 [transfire gm] A = Class.new {
| 161829 [mushtaq.a gm] Not the same thing. I want to decide the class name at runtime. It could
| 161837 [bob.news gmx] cl = Class.new do
+ 161822 [dooby d10.ka] module Kernel

^ ruby on rails! yay!
161812 [zee_man78 ya] i have ruby1.8 and rails too on a debian sarge comp. i got the welcome
162834 [zee_man78 ya] does anybody have a clue? i have still the same problem :( thanX
+ 162842 [sillewille g] Did you create a controller as well as a view?
+ 162844 [drbrain segm] I have a clue.

^ Need feedback on Instiki-AR beta
161825 [alex verk.in] Following the recent release of Instiki-AR beta, I haven't had a lot of bug reports or other feedback.

^ Threads, timing and HTTP
161827 [Alexander.J.] charset=ISO-8859-1;
+ 161838 [bob.news gmx] Maybe you can exploit one of the result headers.  Chances are that there
| 161839 [Alexander.J.] I could go single thread (since indeed I am doing a ping per 30
| 161843 [bob.news gmx] You could also have a controller thread that watches your single testing
| 161846 [bob.news gmx] Yet another idea: you make the testing semi critical.  When a thread
| + 161849 [Alexander.J.] charset=ISO-8859-1;
| + 161853 [hutch recurs] This thread seems to thrashing around a bit.
|   161856 [Alexander.J.] Yes, you are right. This ping is really only the first building block
|   161859 [hutch recurs] I most certainly can imagine it... well, actually, I can rely on
+ 161844 [ysantoso-rub] Using process instead of thread would also have the same problem. You

^ [QUIZ] Ducksay (#52)
161834 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 161916 [ezra yakimah] This looks like a really fun quiz!
| 161954 [james graypr] I thought so too.  Submitters always make better quizzes than me,
| 162009 [mrkode gmail] Well, I'm new on this quiz thingy... And I've already have some results t=
| 162032 [james graypr] Looking great!  Can't wait to see it.
+ 162138 [mrkode gmail] my solution. not very OO at all, however. I just hope the formatting doesn'=
  162172 [jqshenker gm] Hey all, here's my first RQ submition and my first golf. Hurray!I know golfs aren't encouraged at all... but I couldn't resist... Sorry! ;-)

^ Re: Ferret 0.1.0 (Port of Java Lucene) released
161842 [Norjee gmail] Atm i'm using jruby to use lucene search, but this definitely sounds
161841 [Norjee gmail] I now find ruby's stemmer4r, which wraps the snowball stemmers. I can't
161845 [Norjee gmail] Atm i'm using jruby to use lucene search, but this definitely sounds
161919 [dbalmain.ml ] I've looked at the snowball parser and I don't think it would be too hard t=

^ REXML::XPath results out of sort order ?
161852 [peter.fitzgi] I need a reality check here,
161866 [dooby d10.ka] My quick test came up empty using this snippet on your data -
161882 [peter.fitzgi] 14-156516
161886 [dooby d10.ka] Gosh, that makes *such* a difference :))  <blush>
161906 [peter.fitzgi] xml')
161907 [peter.fitzgi] st.xml')
161980 [dooby d10.ka] There's a contradiction, somewhere (?)
162524 [peter.fitzgi] #-> 3.1.2.1 <http://3.1.2.1>
162628 [dooby d10.ka] *Or* you could use the method I referred you to in my first reply
threads.html
top