Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

traits question

0 views
Skip to first unread message

itsme213

unread,
Oct 3, 2006, 1:20:26 PM10/3/06
to
Why does traits use an instance variable to indicate that a value has been
set? Why not use a sentinel value (e.g. some object private to traits
itself)?

Thanks.


ara.t....@gmail.com

unread,
Oct 5, 2006, 10:28:57 AM10/5/06
to

the main reason:

module Traits
PER_OBJECT_SENTINELS = Hash.new
...
end

memory_leak = lambda do
obj = Object.new
obj.trait 'setting_would_update_sentinel'
obj.setting_would_update_sentinel = 'we have to be careful when obj
is destroyed...'
end

regards.

btw - this message shows up in google groups, but not via mailing
list... am i the only one who noticed?

-a

Trans

unread,
Oct 5, 2006, 11:11:47 AM10/5/06
to

Hmm... was it posted via comp.lang.ruby or ruby-talk-google?

T.

ara.t....@noaa.gov

unread,
Oct 5, 2006, 11:21:13 AM10/5/06
to
On Fri, 6 Oct 2006, Trans wrote:

> Hmm... was it posted via comp.lang.ruby or ruby-talk-google?

dunno. who can decipher this:

http://groups.google.com/group/comp.lang.ruby/msg/83b498dce4c5c64f?dmode=source

-a
--
in order to be effective truth must penetrate like an arrow - and that is
likely to hurt. -- wei wu wei

Martin Coxall

unread,
Oct 5, 2006, 11:30:58 AM10/5/06
to
> On Fri, 6 Oct 2006, Trans wrote:
>
> > Hmm... was it posted via comp.lang.ruby or ruby-talk-google?
>
> dunno. who can decipher this:
>
> http://groups.google.com/group/comp.lang.ruby/msg/83b498dce4c5c64f?dmode=source

That looks like a UUCP bang path. The message appears to have been
sent from 1978.

Martin

ara.t....@noaa.gov

unread,
Oct 5, 2006, 11:36:59 AM10/5/06
to

where are you pulling the 1978 bit from?

regards.

Martin Coxall

unread,
Oct 5, 2006, 11:42:15 AM10/5/06
to
> > That looks like a UUCP bang path. The message appears to have been
> > sent from 1978.
> >
> > Martin
>
> where are you pulling the 1978 bit from?

That was just a joke. 1978 or thereabouts was when usenet first
started shifting from UUCP to NNTP.

I gather by the existence of the bang path that it was sent to the
newsgroup, not the mailing list.

Martin

ara.t....@noaa.gov

unread,
Oct 5, 2006, 11:58:05 AM10/5/06
to
On Fri, 6 Oct 2006, Martin Coxall wrote:

k. so this is evidence that the gateway isn't working properly again... ;-(

ts

unread,
Oct 5, 2006, 12:03:01 PM10/5/06
to
>>>>> "a" == ara t howard <ara.t....@noaa.gov> writes:

a> k. so this is evidence that the gateway isn't working properly again... ;-(

Well, no for me your post ("traits question") is

[ruby-talk:218159]

and your message "mailing list problems?" is

[ruby-talk:218158]

:-)

Guy Decoux


James Edward Gray II

unread,
Oct 5, 2006, 12:14:41 PM10/5/06
to

On Oct 5, 2006, at 11:03 AM, ts wrote:

>>>>>> "a" == ara t howard <ara.t....@noaa.gov> writes:
>
> a> k. so this is evidence that the gateway isn't working properly
> again... ;-(
>
> Well, no for me your post ("traits question") is
>
> [ruby-talk:218159]

Ara wants to know where the original of this message is.

James Edward Gray II

ara.t....@noaa.gov

unread,
Oct 5, 2006, 12:18:15 PM10/5/06
to

did you see the orginal though guy?

ts

unread,
Oct 5, 2006, 12:25:26 PM10/5/06
to
>>>>> "a" == ara t howard <ara.t....@noaa.gov> writes:

a> did you see the orginal though guy?

No, but I suspect more an usenet problem rather than a gateway
problem. Perhaps I'm wrong.


Guy Decoux

James Edward Gray II

unread,
Oct 5, 2006, 12:27:59 PM10/5/06
to
On Oct 5, 2006, at 10:58 AM, ara.t....@noaa.gov wrote:

> On Fri, 6 Oct 2006, Martin Coxall wrote:
>
>>> > That looks like a UUCP bang path. The message appears to have been
>>> > sent from 1978.
>>> >
>>> > Martin
>>> where are you pulling the 1978 bit from?
>>
>> That was just a joke. 1978 or thereabouts was when usenet first
>> started shifting from UUCP to NNTP.
>>
>> I gather by the existence of the bang path that it was sent to the
>> newsgroup, not the mailing list.
>
> k. so this is evidence that the gateway isn't working properly
> again... ;-(

Well, the Gateway is an NNTP to mailing list mirror, so Marting
Coxall pretty much nailed the issue. Is that really a sign of the
Gateway not working properly though? I would say it's working as
advertised. ;)

We did look into the Gateway logs, but that message is never
mentioned. No success, no exception, nothing. I'm wondering if our
Usenet server didn't show us the message. Fred, can you confirm that
or tell me if I'm way off base?

James Edward Gray II


ts

unread,
Oct 5, 2006, 12:40:26 PM10/5/06
to
>>>>> "J" == James Edward Gray <ja...@grayproductions.net> writes:

J> Ara wants to know where the original of this message is.

Probably an usenet problem

[ruby-talk:218159] was sent via comp.lang.ruby
[ruby-talk:218158] was sent via ruby-talk


Guy Decoux


F. Senault

unread,
Oct 5, 2006, 1:03:17 PM10/5/06
to

The article was rejected by a filter on the (NNTP) server. Let's just
say I've had some... bad neighborhood relationships with rr.com.

I've relaxed the filter somewhat (i.e. punched a hole for clr).

Fred
--
Clouds, herbs and art
Rotating love through time
Tears after overkill
Reversing all my love (Hooverphonic, Cinderella)

0 new messages