Reporting errors/problem with modules part of ruby base

D

Dany Cayouette

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
 
E

Edwin Eyan Moragas

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" :)
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

--
edwin eyan moragas

main expectorant
haaktu technologies
spewing spit since '73
 
D

Dany Cayouette

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

I've noticed the discussion which prompted me to write this note. I was concerned with 'breaking' some rules with 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
 
G

gabriele renzi

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 :)

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? :)
 
M

Mark Hubbart

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


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 :eek:riginal_preprocess :preprocess
def preprocess (string)
copy of the orginal method with my few lines of changes
end
end
end

cheers,
Mark
 
H

Hal Fulton

Dany said:
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
 
H

Hal Fulton

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

http://groups.google.com/[email protected]&rnum=1

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

http://groups.google.com/[email protected]&rnum=3

You can say that I'm picky.. ;-)

Checking back, I see that I did get both of those. :) 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
 
D

Dany Cayouette

Checking back, I see that I did get both of those. :) 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 :)
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... :)
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
 
A

Aredridel

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!
 
A

Aredridel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,162
Messages
2,570,893
Members
47,432
Latest member
GTRNorbert

Latest Threads

Top