It’s true I only stumbled on it because I was playing with an otherwise
also deliberately incorrect piece of code.

([ myself ] of myself) which does not reach backward up the context layers,
but as it should, creates a new inner context.)

On Fri, Jun 10, 2022 at 4:28 PM John Chen <yuehanchen2...@u.northwestern.edu>
wrote:

> I do see children using carefully but probably not combined with myself.
>
> John
>
> On Fri, Jun 10, 2022 at 15:26 Jeremy Baker <jeremy.ba...@northwestern.edu>
> wrote:
>
>> I definitely agree it should be fixed, but I don't think I would call it
>> high priority.  It only affects the use of two prims (`myself` and
>> `other-end`) when used inside of `carefully`.  To me that seems pretty
>> unlikely to trip anyone up; few people use `carefully` at all.  We've had
>> two reports about it, one it 2017, and obviously this one in 2022, both
>> from "advanced" NetLogo users, so it doesn't seem to be causing too much
>> trouble.  Just to check, I ran it in NetLogo 5.3.1 and it was a problem
>> there, too, so it's even older than 2017.
>>
>> -Jeremy
>>
>> ------------------------------
>> *From:* Uri Wilensky <uri.wilen...@gmail.com> on behalf of Uri Wilensky <
>> u...@northwestern.edu>
>> *Sent:* Friday, June 10, 2022 3:21 PM
>> *To:* Jeremy Baker <jeremy.ba...@northwestern.edu>
>> *Cc:* netlogo-devel <netlogo-devel@googlegroups.com>
>> *Subject:* Re: [netlogo-devel] Affect of CAREFULLY on MYSELF
>>
>> Thanks Jeremy.
>> This bug seems reasonably high priority to me.
>>
>>
>> —Uri
>>
>>
>> Uri Wilensky
>> Lorraine H. Morton chaired Professor
>> Professor of Learning Sciences, Computer Science and Complex Systems
>> Director, Center for Connected Learning  and Computer-Based Modeling (CCL)
>> Northwestern University
>>
>>
>>
>>
>>
>> On Jun 10, 2022, at 2:51 PM, jeremy...@northwestern.edu <
>> jeremy.ba...@northwestern.edu> wrote:
>>
>> It turns out this was previously reported, albeit in a different way
>> using `other-end`:  https://github.com/NetLogo/NetLogo/issues/1345
>> <https://urldefense.com/v3/__https://github.com/NetLogo/NetLogo/issues/1345__;!!Dq0X2DkFhyF93HkjWTBQKhk!WcpwRNgmLpziryt_DPkObfyZ_YWBCcc8rAGRwwQ-C_Rc-thprzrIHBreYVw3KAvEELiwYi-9DfcJDlAtaDDEreaixS5U_qLR$>
>>
>> Roberts comment there lays it out pretty clearly:
>>
>> >  The problem (in NetLogo terms) is that myself is incorrectly set
>> to self within carefully (and the implementation of other-end uses myself).
>>
>> He goes on to elaborate on the technical issues.
>>
>> I added a slimmed down version of this code there as a language test we
>> could add to NetLogo to help work the issue.
>>
>> -Jeremy
>>
>> On Thursday, June 9, 2022 at 2:28:38 PM UTC-5 se...@tisue.net
>> <https://urldefense.com/v3/__http://tisue.net__;!!Dq0X2DkFhyF93HkjWTBQKhk!Tc8UL9stFgdNIOok1ulGYMe-MUHDFBlGuW5u4DgjpyYVvpK_MFr-H5iTIJwjXoLX6hIouVLxOmzlp6L9SWsHn69SQuLE$>
>> wrote:
>>
>> Seems like a bug to me. I don't think we designed it that way.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "netlogo-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to netlogo-devel+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/netlogo-devel/67a2bc89-8c0c-419d-beb7-baaa80924794n%40googlegroups.com
>> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/netlogo-devel/67a2bc89-8c0c-419d-beb7-baaa80924794n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!WcpwRNgmLpziryt_DPkObfyZ_YWBCcc8rAGRwwQ-C_Rc-thprzrIHBreYVw3KAvEELiwYi-9DfcJDlAtaDDEreaixcXsD1K_$>
>> .
>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "netlogo-devel" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/netlogo-devel/8gRKO-Q9q44/unsubscribe
>> <https://urldefense.com/v3/__https://groups.google.com/d/topic/netlogo-devel/8gRKO-Q9q44/unsubscribe__;!!Dq0X2DkFhyF93HkjWTBQKhk!Tc8UL9stFgdNIOok1ulGYMe-MUHDFBlGuW5u4DgjpyYVvpK_MFr-H5iTIJwjXoLX6hIouVLxOmzlp6L9SWsHn_yIb_O4$>
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> netlogo-devel+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/netlogo-devel/91463E15-DFDE-46E7-A1C6-809990911265%40northwestern.edu
>> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/netlogo-devel/91463E15-DFDE-46E7-A1C6-809990911265*40northwestern.edu?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!Tc8UL9stFgdNIOok1ulGYMe-MUHDFBlGuW5u4DgjpyYVvpK_MFr-H5iTIJwjXoLX6hIouVLxOmzlp6L9SWsHnx12qO9o$>
>> .
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "netlogo-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to netlogo-devel+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/netlogo-devel/SN6PR05MB4669A140CBD73FC95998ABBFFEA69%40SN6PR05MB4669.namprd05.prod.outlook.com
>> <https://groups.google.com/d/msgid/netlogo-devel/SN6PR05MB4669A140CBD73FC95998ABBFFEA69%40SN6PR05MB4669.namprd05.prod.outlook.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "netlogo-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to netlogo-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/netlogo-devel/CAJ_UcvybnF_HKFrq4u6W72nR_4Q-zY2yZAd4DZpJV7_D3MMMPQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/netlogo-devel/CAJ_UcvybnF_HKFrq4u6W72nR_4Q-zY2yZAd4DZpJV7_D3MMMPQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/CADiHOG4h6i%3Dt5HJG8owRj%3D9TtAw53rP%3Da9XABp9KUYc9rLVKxg%40mail.gmail.com.

Reply via email to