Anyone have any idea why I would be getting? uninitialized constant Box::Command::DATA (NameError) when DATA is supposed to reference the text below __END__? This error doesn't make any sense to me. $ ruby -v ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux] Thanks, T.
on 14.04.2008 16:22
on 15.04.2008 02:24
On Apr 14, 2008, at 07:21 AM, Trans wrote: > Anyone have any idea why I would be getting? > > uninitialized constant Box::Command::DATA (NameError) > > when DATA is supposed to reference the text below __END__? This error > doesn't make any sense to me. > > $ ruby -v > ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux] $ cat data.rb p DATA.read __END__ woo! $ ruby data.rb "woo!\n" $ ruby -r data -e 0 ./data.rb:1: uninitialized constant DATA (NameError) There is only one DATA, there is not a DATA per file. PS: This is more appropriate for ruby-talk.
on 15.04.2008 04:48
On Apr 14, 8:23 pm, Eric Hodel <drbr...@segment7.net> wrote: > > ruby 1.8.6 (2007-06-07 patchlevel 36) [x86_64-linux] > There is only one DATA, there is not a DATA per file. That's Disappointing to learn (especially after all this time). It would be much more useful otherwise. > PS: This is more appropriate for ruby-talk. Well, I thought it might be an odd bug. My mistake. But don't EVER tell me what's appropriate for this list. T.
on 15.04.2008 12:51
> On Apr 14, 8:23 pm, Eric Hodel <drbr...@segment7.net> wrote: >> On Apr 14, 2008, at 07:21 AM, Trans wrote: >> There is only one DATA, there is not a DATA per file. > > That's Disappointing to learn (especially after all this time). It > would be much more useful otherwise. You may use this if you wish: http://butler.rubyforge.org/svn/trunk/lib/scriptfile.rb It's under both/either, the ruby license and/or GPLv2 (pick whichever suits you better). >> PS: This is more appropriate for ruby-talk. > > But don't EVER tell me what's appropriate for this list. Is this rude tone really necessary? It would be much appreciated if you could go without. Regards Stefan
on 15.04.2008 14:36
On Apr 15, 6:50 am, apeiros <apei...@gmx.net> wrote: > > >> PS: This is more appropriate for ruby-talk. > > > But don't EVER tell me what's appropriate for this list. > > Is this rude tone really necessary? It would be much appreciated if > you could go without. Not Rude. Just adamant and "bottom line". It is inappropriate for Eric to tell me, a long veteran of this list, what is and is not appropriate. The topic of what is appropriate has been discussed at great length in the past by myself, Matz, David Black and numerous others. And if Eric hasn't been around long enough to be aware of those discussions, then that's another reason he can refrain from being referee. In any case, I assure you my reply made his day. T.
on 15.04.2008 17:51
Am 15.04.2008 um 14:35 schrieb Trans: > It is inappropriate for Eric to tell me, a long veteran of this list, > what is and is not appropriate. As a veteran, shouldn't you even more so try to be a role model for us, that are still rookies on this list? > The topic of what is appropriate has > been discussed at great length in the past by myself, Matz, David > Black and numerous others. Any links or hints for google queries to find those, so we rookies know too what is appropriate for this list? > In any case, I assure you my reply made his day. How so? Regards Stefan
on 16.04.2008 05:26
On Apr 15, 11:50 am, apeiros <apei...@gmx.net> wrote: > Am 15.04.2008 um 14:35 schrieb Trans: > > > It is inappropriate for Eric to tell me, a long veteran of this list, > > what is and is not appropriate. > > As a veteran, shouldn't you even more so try to be a role model for > us, that are still rookies on this list? Be yourself. > > The topic of what is appropriate has > > been discussed at great length in the past by myself, Matz, David > > Black and numerous others. > > Any links or hints for google queries to find those, so we rookies > know too what is appropriate for this list? I tried some quick searches but the Google doesn't turn up much. It would take me a while to weed through old posts. I wish it were easier to do so. I can give you my take on the upshot of those discussions if your want (although I'm certain someone reading this right now, just itching to say this conversation isn't appropriate to the list). > > In any case, I assure you my reply made his day. > > How so? The first thing Eric ever said to me in my life was inconsiderate and mean spirited, and he's rarely missed an opportunity to make at least a passing condemnation. He likes to get a rise. So, in a way, he really just got what he wanted. But don't take my word for it: On Tue, Apr 15, 2008 at 5:13 AM, Eric Hodel <drbrain@segment7.net> wrote: > Thank you for making me smile today. T.
on 16.04.2008 05:57
Trans wrote: >> As a veteran, shouldn't you even more so try to be a role model for >> us, that are still rookies on this list? > > Be yourself. I bounce people off forums all the time and absolutely never get a flame-back for it. There is one and only one way to say this: --> you might get a better answer on group X <-- Anything else is just vacuous territoriality. Oh, and try, "My libraries are on-topic here, but yours are not." Incredible...
on 22.04.2008 05:21
On Apr 15, 2008, at 10:50 AM, apeiros wrote: > Am 15.04.2008 um 14:35 schrieb Trans: >> It is inappropriate for Eric to tell me, a long veteran of this list, >> what is and is not appropriate. > > As a veteran, shouldn't you even more so try to be a role model for > us, that are still rookies on this list? Terrific point. I wish all of us (myself included) would try harder to remember that. Setting an example of good behavior can only help Ruby. No downside there. James Edward Gray II
on 22.04.2008 13:07
On Apr 21, 11:20 pm, James Gray <ja...@grayproductions.net> wrote: > to remember that. Setting an example of good behavior can only help > Ruby. No downside there. Well... In the spirit of community, I apologize for getting testy. T.
on 22.04.2008 14:39
On Tue, Apr 22, 2008 at 9:07 PM, Trans <transfire@gmail.com> wrote: > On Apr 21, 11:20 pm, James Gray <ja...@grayproductions.net> wrote: > > On Apr 15, 2008, at 10:50 AM, apeiros wrote: > > Terrific point. I wish all of us (myself included) would try harder > > to remember that. Setting an example of good behavior can only help > > Ruby. No downside there. > Well... In the spirit of community, I apologize for getting testy. On behalf of me (and hopefully the comminity) I(we) accept! :) Now... lets hack some more code! :D Mikel