Reporting errors/problem with modules part of ruby base

I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and net/telnet). I think I did my homework in researching the behavior I observed, but never saw any replies to my postings.
Am I doing something wrong in reporting my findings? I wish I could contribute more and proposed fixes.. but I don't know Ruby enough, and I'm not a good code writer.

Thanks for any advice,
Dany

I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two

they're talking about this at the moment. i'll say "don;t be" :slight_smile:

postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and
net/telnet). I think I did my homework in researching the behavior I observed, but never saw
any replies to my postings.

replies may take some time. your posts are not ignored altogether. just that
others might be on to something else at the moment or are not just using the
pertinent module you are using (like me)

Am I doing something wrong in reporting my findings? I wish I could contribute more and
proposed fixes.. but I don't know Ruby enough, and I'm not a good code writer.

ayos!

edwin

···

On Wed, 8 Sep 2004 01:30:08 +0900, Dany Cayouette <danyc@nortelnetworks.com> wrote:

--
edwin eyan moragas

main expectorant
haaktu technologies
spewing spit since '73

Dany Cayouette ha scritto:

I am a ruby newbie and am intimitaded by posting to this newsgroup...

> only made two postings related to modules included with base ruby
> 1.8.0 and 1.8.1 (net/imap and net/telnet).
> I think I did my homework in researching the behavior I observed, but
> never saw any replies to my postings.
> Am I doing something wrong in reporting my findings?
> I wish I could contribute more and proposed fixes.. but
> I don't know Ruby enough,
> and I'm not a good code writer.
>

Well, I don't remember your messages, but probably they just got ignored. Sometimes this happens, it just happened to me in
ruby-talk:111575 :slight_smile:

I think that we should have some better unified and well known system to check/submit bugs, it's easy to see them slip away here in ruby-talk and yet not everybody can post them to ruby-core.

OTOH there is no problem in sending problem reports.
Rubyists are a nice community, I can't remember harsh answers to people reporting bugs erroneusly or asking newbie questions.
I mean what bad things could happen to usenet posters? :slight_smile:

Dany Cayouette wrote:

I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and net/telnet). I think I did my homework in researching the behavior I observed, but never saw any replies to my postings. Am I doing something wrong in reporting my findings? I wish I could contribute more and proposed fixes.. but I don't know Ruby enough, and I'm not a good code writer.

I'm sure you're not doing anything wrong.

But I don't remember seeing these posts. When/how were they made?

Occasionally we see behavior where messages posted via the newsgroup
just don't get to the mailing list for some reason. Usually this is
related to the NNTP server, I think.

Ask again, and we'll look at it.

Hal

I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and net/telnet). I think I did my homework in researching the behavior I observed, but never saw any replies to my postings.
Am I doing something wrong in reporting my findings? I wish I could contribute more and proposed fixes.. but I don't know Ruby enough, and I'm not a good code writer.

I often hang out in the ruby-talk channel on irc.freenode.net. I find
the problem stays fresh with more immediate chat than email provides
for helping.

Feel free to poke me on IRC and ask for help!

> I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two

they're talking about this at the moment. i'll say "don;t be" :slight_smile:

I've noticed the discussion which prompted me to write this note. I was concerned with 'breaking' some rules with my postings.

> postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and
> net/telnet). I think I did my homework in researching the behavior I observed, but never saw
> any replies to my postings.

replies may take some time. your posts are not ignored altogether. just that
others might be on to something else at the moment or are not just using the
pertinent module you are using (like me)

Thanks for the reply. At least I know my postings are going to the outside world.

Maybe you can help me with this question. For argument sakes, lets say that the problem I have seems to be in method preprocess of module Net::Telnet. I need to get a solution for my script. I don't think I want to modify the $PREFIX/lib/ruby/1.8/net/telnet.rb directly. I would want to 'override' the standard version with mine.

How would I do that?... would I just add to my script something like

Module Net
  class Telnet
   def preprocess (string)
    copy of the orginal method with my few lines of changes
   end
  end
end

Thanks,

Dany

···

On Wed, 8 Sep 2004 02:24:53 +0900 Edwin Eyan Moragas <haaktu@gmail.com> wrote:

On Wed, 8 Sep 2004 01:30:08 +0900, Dany Cayouette > <danyc@nortelnetworks.com> wrote:

The Net::Telnet was very recent. Last Friday, Sept 3rd.

http://groups.google.com/groups?q=danyc+group:comp.lang.ruby&hl=en&lr=&ie=UTF-8&group=comp.lang.ruby&selm=20040903183149.39597664.danyc%40nortelnetworks.com&rnum=1

The Net:IMAP was a while back with my first look/trial at ruby... Back on May 25th.

http://groups.google.com/groups?q=danyc+group:comp.lang.ruby&hl=en&lr=&ie=UTF-8&group=comp.lang.ruby&selm=20040526022529.6c80eb0a.danyc%40hotmail.com&rnum=3

You can say that I'm picky.. :wink:
Dany

···

I'm sure you're not doing anything wrong.

But I don't remember seeing these posts. When/how were they made?

Occasionally we see behavior where messages posted via the newsgroup
just don't get to the mailing list for some reason. Usually this is
related to the NNTP server, I think.

Ask again, and we'll look at it.

Hal

I often hang out in the ruby-talk channel on irc.freenode.net. I find
the problem stays fresh with more immediate chat than email provides
for helping.

Feel free to poke me on IRC and ask for help!

Gosh darnit, I meant #ruby-lang. Sheesh.

I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two

they're talking about this at the moment. i'll say "don;t be" :slight_smile:

I've noticed the discussion which prompted me to write this note. I was concerned with 'breaking' some rules with my postings.

postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and
net/telnet). I think I did my homework in researching the behavior I observed, but never saw
any replies to my postings.

replies may take some time. your posts are not ignored altogether. just that
others might be on to something else at the moment or are not just using the
pertinent module you are using (like me)

Thanks for the reply. At least I know my postings are going to the outside world.

Maybe you can help me with this question. For argument sakes, lets say that the problem I have seems to be in method preprocess of module Net::Telnet. I need to get a solution for my script. I don't think I want to modify the $PREFIX/lib/ruby/1.8/net/telnet.rb directly. I would want to 'override' the standard version with mine.

How would I do that?... would I just add to my script something like

Module Net
  class Telnet
   def preprocess (string)
    copy of the orginal method with my few lines of changes
   end
  end
end

Yep! That would be the accepted way. Although, if you think there's *any* possibility that you might want to use the original method (for testing or something), you might want to alias it, just so it hangs around:

Module Net
   class Telnet
    alias :original_preprocess :preprocess
    def preprocess (string)
     copy of the orginal method with my few lines of changes
    end
   end
end

cheers,
Mark

···

On Sep 7, 2004, at 11:20 AM, Dany Cayouette wrote:

On Wed, 8 Sep 2004 02:24:53 +0900 > Edwin Eyan Moragas <haaktu@gmail.com> wrote:

On Wed, 8 Sep 2004 01:30:08 +0900, Dany Cayouette >> <danyc@nortelnetworks.com> wrote:

Thanks,

Dany

Dany Cayouette wrote:

The Net::Telnet was very recent. Last Friday, Sept 3rd.

http://groups.google.com/groups?q=danyc+group:comp.lang.ruby&hl=en&lr=&ie=UTF-8&group=comp.lang.ruby&selm=20040903183149.39597664.danyc%40nortelnetworks.com&rnum=1

The Net:IMAP was a while back with my first look/trial at ruby... Back on May 25th.

http://groups.google.com/groups?q=danyc+group:comp.lang.ruby&hl=en&lr=&ie=UTF-8&group=comp.lang.ruby&selm=20040526022529.6c80eb0a.danyc%40hotmail.com&rnum=3

You can say that I'm picky.. :wink:

Checking back, I see that I did get both of those. :slight_smile: I thought
I would remember such an unusual (to me) last name, but I was
mistaken.

I wish I could help with either of these. I've used both these
libs, but have not encountered the type of problem you see, and
have not dug much into their internals.

My impression is that this is the sort of thing that is (mostly)
understood solely by the library authors.

Now that you've failed to get any help from us, I think it's quite
acceptable to look in the source, find the author's name, and
email him directly.

Hal

···

Dany

I'm sure you're not doing anything wrong.

But I don't remember seeing these posts. When/how were they made?

Occasionally we see behavior where messages posted via the newsgroup
just don't get to the mailing list for some reason. Usually this is
related to the NNTP server, I think.

Ask again, and we'll look at it.

Hal

Checking back, I see that I did get both of those. :slight_smile: I thought
I would remember such an unusual (to me) last name, but I was
mistaken.

About the last name... seems to be an 'oddity' even in my mother tongue, French. Only meet 3 people that could prononce it correctly the first time :slight_smile:

I wish I could help with either of these. I've used both these
libs, but have not encountered the type of problem you see, and
have not dug much into their internals.

A pro for Ruby, in my opinion, but maybe a Con from Library writers... I tried to look at what was done in the perl cpan net/telnet module but got lost and gave up. I was able (for the most part, I think) to follow what was done in Ruby, even if I'm new to Ruby. I'm starting to like it more and more... :slight_smile:

My impression is that this is the sort of thing that is (mostly)
understood solely by the library authors.

Now that you've failed to get any help from us, I think it's quite
acceptable to look in the source, find the author's name, and
email him directly.

Another person was of the same opinion. I'll give that a try. Thanks to all for the replies.

Regards,
Dany