159521-160420 subjects 159917-162899

^ ruby9i bind_param errors
159704 [crdiaz324 gm] I've been looking around and I just can't seem to find too much
159706 [crdiaz324 gm] By the way, this is failing as soon as it tries to bind the first param.
159767 [crdiaz324 gm] Ok, I feel like an idiot.  I just found my error.  There is no problem

^ GNU readline with suggested text
159737 [theaney cabl] Say I am using GNU readline to get a line of input like so

^ indent for Ruby, to reformat it
159745 [phlipcpp yah] ...
+ 159746 [jqshenker gm] Um..... Vim!!! ;-)
| 159747 [phlipcpp yah] ...
| + 159748 [martindemell] ...
| | 159751 [phlipcpp yah] ...
| | + 159752 [jqshenker gm] Vim's Ruby indentation has actually worked very well for me, althoughthe syntax coloring gets confused at times. And yes, Vim detects the.rb and indented accordingly.
| | | + 159759 [phlipcpp yah] ...
| | | | + 159760 [david vallne] Hack up three lines of Emacs Lisp to get the Emacs ruby-mode to do the
| | | | | 159779 [theaney cabl] Yes, that's what I meant.
| | | | + 159762 [jqshenker gm] There's something wrong with your Vim install, because it does workwell for me. Get the latest Vim-Ruby stuff athttp://vim-ruby.rubyforge.org/ . Oh, and the prepackaged vimrc filesalmost never work very well...
| | | + 159833 [dougkearns g] If you report them as bugs someone might try and fix them. ;-)
| | |   159834 [jqshenker gm] Well, I just updated and most if not all went away! I am a reallyhappy camper now. But!!!... if I do find any *real* bugs (i.e. notfrom 2 yrs ago) I'll let someone know for sure ;-).
| | + 169387 [fkc_email-ne] Not so hard really, if you add 3 lines to your init file ( I seem to
| + 159750 [jqshenker gm] Ok! Just pop it open, then type 'G=gg'. See more Vim indenting tricks athttp://www.vim.org/tips/tip.php?tip_id=83
|   159758 [khaines enig] I use vim a lot, but have never asked it to indent my code for me.  And
|   159793 [gsinclair gm] With a modern setup, bad results are an exception rather than a rule.
|   + 159795 [jqshenker gm] Just fyi, to update your vim-ruby stuff, do:$ gem install vim-ruby$ vim-ruby-install.rb (point it at your vim install path if you didn't set $VIM)
|   + 159799 [khaines enig] The machine(s) are hardly ancient.  One is a Gentoo box that has not had any
|   + 159802 [khaines enig] to install, and then make sure your .vimrc is setup to make use of what you
|     159811 [martindemell] ...
+ 159749 [theaney cabl] I let ruby-mode.el do it
| 159753 [james_b neur] Does that go and install vim for the user?
+ 159922 [jussij zeuse] The Zeus for Windows IDE will do auto-indenting.

^ How to call Ruby function in javascript?
159755 [wanjun gmail] anyone could help? Thanks
159756 [david vallne] God is in the details. What are you trying to do?

^ Looking for a parser generator
159763 [ehames gmail] I'm looking for a nice parser generator which given an EBNF grammar
+ 160074 [ruby-lang wi] (...though not the generator itself).
+ 160488 [probertm acm] Depending on what you are after, the EBNF and attributes, one of

^ (none)
159764 [sandhya1205 ] ...

^ cross compiling Ruby
159766 [kero chello.] ...

^ [SOLUTION] Text Image (#50)
159775 [SimonKroeger] This solution uses the RMagick lib to read the image and
159778 [james graypr] Wow, I really like that!  Too cool.
+ 159780 [cyclists nc.] [SOLUTION] Text Image (#50)
| 159790 [leavengood g] I'm surprised how easy this Quiz was because of ImageMagick and
| 159792 [james graypr] Indeed.  I only found RMagick two weeks ago, but it impressed me
+ 159894 [SimonKroeger] Thanks, yes it turned out better than expected.
  159908 [rascal1182 g] I tried this one out.  I'm not sure if I was successful or not...

^ Newbie Hint for the day: .keys.sort
159776 [john.carter ] If, like me, you make heavy use of the ruby Hash type, you quite likely to

^ facets gem error
159784 [briankbuckle] Typing "gem update" on the command line is producing the error message
159810 [transfire gm] Interesting. That's the development directory --all sorts of
159845 [briankbuckle] Cool.  The error is gone.  One thing however -- the version number is
159933 [transfire gm] Yes. It is.

^ [ANN] BitStruct
159789 [vjoel path.b] (Exerpt from the docs at the project page,
+ 159796 [vjoel path.b] Someone asked offline about block-based initialization, and BitStruct
+ 160978 [taria the-ar] [I really wish I knew how to make eudora do attribution lines automatically...]
  161018 [vjoel path.b] Not yet. I haven't needed variable sized arrays of anything except

^ local_variable_set ?
159803 [hal9000 hype] No, this isn't April Fool's Day. I'm seriously wondering
+ 159804 [dblack wobbl] binding[:alpha] = 123
| 159806 [dblack wobbl] Maybe not, though.  I guess the idea would be that the caller is
+ 159809 [twifkak comc] Well, it's feasible now.
| 159842 [ mfp acm.org] The eval("lambda{|x| #{lvar} = x}", somebinding).call(val) trick won't
| 159855 [twifkak comc] Point.
+ 159826 [jeremy bitsw] a954f8aaf698a0b9

^ [ANN]  Ruby Code & Style
159812 [james_b neur] The newest on-line resource for serious Ruby information has gone live.
+ 159831 [surrender_it] <snipall>
+ 159853 [james graypr] I've read, and enjoyed, the first article.
| 159858 [james_b neur] CTRL +
| + 159864 [Ara.T.Howard] vim does this from the command line.  this converts a directory full of ruby
| | 159865 [james_b neur] Ah so!  See, vim has *everything* !
| + 159867 [hgs dmu.ac.u] First read that as "me too" then realised it's a Firefox reference.
| | 159895 [ezra yakima-] There is also the syntax gem that does great ruby highlighting in html.
| + 159982 [gavin refine] Heck, with a bit of work, someone could do a variation on http://
+ 159886 [john.carter ] Thanks! Good Stuff!
  159893 [james_b neur] Hmm. Given that the first issue has an article on PDF::Writer ...

^ New Ruby'zine launced
159813 [ptkwt aracne] ...
159815 [jqshenker gm] It just was mentioned five minutes ago ;-).

^ Soma-Cube
159814 [CBlair1986 g] I'm looking to take something like
+ 159818 [greg7224 gma] irb(main):001:0> "/123/456/789/0ab/cde/fgh/ijk/lmn/opq".split("/")
+ 159820 [michael.dain] your_input.split.map {|line| line.split('/')[1..-1] }
  159822 [greg7224 gma] Yeah, this is probably what you're looking for.  A quick explanation of
  159824 [mvette13 gma] ...
  159827 [greg7224 gma] In the original post, it looks like he wanted an array for each line...
  159829 [CBlair1986 g] Yes, that's exactly what I wanted. Thanks, you all.

^ QtRuby OS X Tiger
159817 [fugalh gmail] QtRuby is neat, and pleasantly easy to get working on Debian, which
+ 159849 [caleb aei-te] Yeah, this is a bug that didn't make it into the book (because I fixed it
| + 159868 [fugalh gmail] Ok, good to know I didn't break anything.
| | 159869 [caleb aei-te] Will do.  I also updated the qtruby and korundum releases at rubyforge
| | 159870 [caleb aei-te] And by "this bug", I mean the one that causes the compile time error.
| + 159875 [fugalh gmail] I figured this one out. Somehow My DYLD_FALLBACK_LIBRARY_PATH got set
| + 159876 [fugalh gmail] I figured this one out. Somehow My DYLD_FALLBACK_LIBRARY_PATH got set
+ 160009 [fugalh gmail] Ok, I figured out the strange behavior and QtRuby is finally working
  161775 [wrong socal.] this is impossible. i tried to get qtruby working a couple weekends,
  161893 [fugalh gmail] Hmm, not sure. I didn't get these errors. You are following the
  162408 [wrong socal.] thanks for the help. still can't get it though. i wonder what i'm
  162765 [fugalh gmail] cc -dynamic -bundle -undefined suppress -flat_namespace -L/opt/local/

^ How to overload Object's methods automagicaly?
159839 [zbl operamai] I am playing with a Synchronized class that automates resource locking
159843 [bob.news gmx] You can iterate all instance methods, alias each one and create a new one
159994 [zbl operamai] Eurica!
160012 [bob.news gmx] And which method do you invoke then if you undefined all those methods?
160163 [zbl operamai] If I invoke to_s() on Sync object, then method_missing()  will be
160173 [bob.news gmx] Well yes, but from what I understand from your postings your aim is to
160380 [zbl operamai] I want to use method_missing() to call the original methods
160409 [bob.news gmx] Where is this a contradiction?
+ 160415 [Ara.T.Howard] i only think at most half of what i write.  is that bad?  ;-)
| 160430 [brockweaver ] ...
+ 160568 [zbl operamai] When MonitorMixin is used any transaction can be treated as single

^ Re: [bulk]: How to overload Object's methods automagicaly?
159841 [r_mueller im] What about the "methods" method? You get an Array whith all the method-names of the current object.

^ unsubscribe
159848 [tranqy gmail] ...

^ ruby on rails problem
159857 [kamran.remin] i installed ruby1.8 and ruby on rails on my linux (debian) box. Im using
159859 [james_b neur] James

^ [ANN] KirbyBase 2.3 Production Version
159871 [cribbsj oakw] I would like to announce the production release of version 2.3 of
+ 159905 [ezra yakima-] Hey thanks Jamey. This stuff is great! Keep 'em coming.
| 159914 [jcribbs twmi] Thank you!
+ 159915 [hal9000 hype] Jamey -- once again thanks for all your hard work. You rock.
  159924 [jcribbs twmi] Man, I was hoping that flattery would get me somewhere!

^ Honolulu Ruby Users Group
159872 [sam neurogri] Just to let you know that we're setting up a Ruby User's Group in
159873 [Daniel.Berge] If *only* I could attend. :)

^ How to use Session
159880 [csjasnoch wi] I do not understand how Session works.
159889 [Ara.T.Howard] starting at the top directory
160011 [victor.reyes] ...
160021 [Ara.T.Howard] i'm certainingly willing for that to happen.  an RCR maybe?

^ help with htree
159892 [Ara.T.Howard] i'm trying use the htree library for a relatively simple task in the hope that
+ 159896 [Ara.T.Howard] irb(main):019:0> HTree("<hr/>").display_html ''
| 160007 [hutch recurs] Thanks for the pointer to HTree.
+ 159983 [gavin refine] Not answering your question: why not use regexp?
  159986 [Ara.T.Howard] i already have a working version.  i just wanted to learn htree.  it's very
  159993 [gavin refine] Certainly, if your input is likely to have such. It would be illegal

^ Sort pseudo-lists
159897 [pete.boardma] - imagine it's aspiring to be a list of sublists, with 4 reals in
+ 159898 [james graypr] Well, if you can count on the data format, the following is pretty
| + 159959 [pete.boardma] Thanks, James - simple, elegant, and nearly perfect! Is it easy to
| | + 159961 [martindemell] ...
| | | 160008 [bob.news gmx] Strictly speaking that's wrong: the code above and arr.sort are not
| | | 160010 [james graypr] Making Martin's answer right on.
| | | 160014 [bob.news gmx] Erm, yes.  My fault!  Apparently I'm not able to read news properly any
| | + 159962 [w_a_x_man ya] a = "{{2.1, 2.2, 9.5, 2.1}, {2.1, 2.2, 2.4, 2.2}, {2.1, 2.2, 2.1,
| + 159963 [w_a_x_man ya] arr.sort_by{|x| x.first }
| | 159972 [dblack wobbl] arr.sort
| + 160107 [meta pobox.c] I'd just like to remind everyone that if the data is input by users,
+ 159899 [Ara.T.Howard] buf = "{{3.1, 1.3, 2.5, 2.1}, {2.1, 3.1, 2.4, 2.2}, {1.4, 2.2, 2.1, 4.2}}"
+ 159966 [pete.boardma] Thanks for these answers!
+ 159977 [pete.boardma] One more thing - I forgot that I need to get the result back to a
  + 159981 [simon.kroege] a = [[1.4, 2.2, 2.1, 4.2], [2.1, 3.1, 2.4, 2.2], [3.1, 1.3, 2.5, 2.1]]
  | 159985 [pete.boardma] Cool - didn't realise Ruby had mapcar stuff. Haven't got that far in
  + 160069 [ruby-ml magi] Kernel#p actually prints stuff, using #inspect rather than #to_s. So,
    160103 [pete.boardma] Right, so I can get access to the form shown by 'p'. Great!

^ verifying proper vim-ruby install
159900 [r.mark.volkm] The message above came from another thread.
159912 [mailing-list] Can you _please_ take vim-ruby related stuff to the vim-ruby
+ 160004 [r.mark.volkm] On 10/10/05, Nikolai Weibull
| + 160034 [mailing-list] What kind of an answer did you expect?  If the gem installed without
| + 160037 [dougkearns g] Well, just to annoy Nikolai, I'll respond here... ;-)
+ 160056 [r.mark.volkm] On 10/10/05, Nikolai Weibull
  160059 [r.mark.volkm] Never mind. I see in the reply from Doug that this is the list for me
  160174 [gsinclair gm] I created that list and intended it to be for developers.  User
  160177 [mailing-list] That assumes that every project maintainer/developer actually listens to
  + 160180 [gsinclair gm] It [what happens during a vim-ruby install and how to verify it] is
  | 160185 [mailing-list] And then what?  At some point one has to sink or swim.  If the installer
  + 160181 [hgs dmu.ac.u] ...
  | 160190 [mailing-list] ^^-- Why, oh, why?
  + 160194 [dougkearns g] Sheesh, I'm really getting tired of these vim-ruby threads on
    160221 [mailing-list] Sorry, ;-)

^ argc *argv[] in Ruby
159901 [raw73 poczta] Does Ruby have something like C has argc and *argv[]?
+ 159902 [chriseskow g] ...
+ 159904 [chriseskow g] ...
  159950 [bob.news gmx] Adding to that there's also ARGF which is a single IO like object that

^ pre-Ruby-Conf dinner Thursday night
159903 [sera fhwang.] Hey everyone,
+ 159906 [gregory.t.br] Count me in.  I actually wanted to hunt you down anyway because though
+ 159907 [twifkak comc] _why seems to see something special in the Ch? Caf?. Touristy things
| 160536 [daniel.amela] ...
+ 159909 [james_b neur] Sounds good.
| + 159911 [twifkak comc] Coincidentally, the Ch? Caf? is vegetarian.
| + 160054 [hober0 gmail] If you don't mind the cultish aspects to it, Jyoti-Bihanga on Adams Ave.
+ 159910 [binary42 gma] Sounds fun, though, we might have too many takers for one group (all
+ 159918 [adam thereal] I'm planning on attending.  (You can see my lovely mug in the
| + 159920 [hal9000 hype] While we're there, we're all Californians. My system has never been
| | 159921 [adam thereal] From what I've gathered in reading PyCon summaries, Sprints are
| | 159923 [james_b neur] I'm interested in getting my head around Mousehole.
| | 160378 [george.mosch] Still some bugs to hunt down, I am afraid :(
| + 159925 [twifkak comc] Sure. Never done one before, so, you know, I might suck, but sure.
| | 159929 [adam thereal] Awesome!  I'm really pumped others are interested in this.  I've
| | 159930 [james_b neur] Well, the wiki page doesn't require invites, making it a bit more open
| | 159931 [adam thereal] Tell it to the wiki!  http://www.rubygarden.org/ruby?
| + 159928 [gregory.t.br] Since when is a problem for New Yorkers to eat at Midnight?
+ 160060 [hober0 gmail] There are a bunch of good food options right near the hotel. On El Cajon
+ 160117 [byrd.timothy] Though I can't come to the conference - in class all day Saturday - I'd
| 160122 [hal9000 hype] Assuming you didn't try to sneak into the conf or anything, I'm sure
| 160306 [wilsonb gmai] We'll have to remember to check for authorized barcode tattoos at the door.
| 160486 [byrd.timothy] Ha!  Well, much as I'd like to attend the conf, I'm not going to miss
+ 160330 [hal9000 hype] Mine lands at 8:20, so there may be some of us "latecomers"
| + 160400 [halostatue g] Curt, are you coming from Phoenix on America West? Because that's when
| | 160412 [curt.hibbs g] ...
| | 160426 [halostatue g] Very cool. See you this evening.
| + 160495 [gregory.t.br] I'm stuck in Dallas on standby.  I fell asleep in a chair in my friends
+ 160386 [Bil.Kleb NAS] I might show up: You guys treated me well last year.
+ 160434 [jeremy hineg] I'll be there,
  160459 [wilsonb gmai] As will I. I'm sitting in my point-of-origin airport right now.

^ [ANN] el4r-0.9.3 - EmacsLisp for Ruby
159913 [rubikitch ru] ...

^ Facebook... only 154 to go?
159916 [hal9000 hype] I added my own pic just now. You should, too...
160062 [wilsonb gmai] It seems like we've got two separate revisions going, neither of which
+ 160071 [rubyhacker g] Hmm. How did we end up with two?
+ 160073 [halostatue g] I suspect that one of these is in the tarpit. If your title bar says
  + 160077 [jamis 37sign] Okay. That's really annoying. I understand the purpose of the tarpit,
  + 160084 [billk cts.co] To clarify, does case matter here?  My title bar says "Ruby: ..."
  | + 160086 [halostatue g] Case matters. I'm not sure that this is a case of the tarpit, having
  | | 160092 [wilsonb gmai] OK.. I made an account, and now the title bar says 'Ruby', rather than 'RUBY'.
  | | 160093 [james_b neur] Just how *does* one log in?  The log in page (I think I found it)
  | | + 160273 [wilsonb gmai] I went to the "Preferences" page, linked from HomePage, and set some.
  | | | 160289 [matt technor] Ok, I've figured that out.  Now where do I store the picture to link to?
  | | + 160277 [halostatue g] It's in the tarpit, but as soon as you have the cookie, you can
  | + 160094 [james_b neur] And where is the hoodwink.d layer so we can all leave snarky comments
  |   160111 [ruby-talk wh] Uh... I thought I added that?  hum?... ohhhh, you must be stuck in the
  |   160280 [leavengood g] I feel like I really shouldn't feed the _why, but I almost passed out
  + 160121 [hal9000 hype] Well... I see "Ruby:" on both, but "RUBY" on neither.