Re: [Newbies] What is a weak reference

2008-07-15 Thread Herbert König
Hello Michael, MD Thanks, that's interesting - does that mean that the parent-child MD linkage in Rob's example isn't the root cause of his problem? see Bert's reply, he knows why it is so, I only know that I do it all the time (circular links) and it never prevents GC. -- Cheers, Herbert

Re: [Newbies] What is a weak reference

2008-07-15 Thread Michael van der Gulik
On Mon, 14 Jul 2008 12:07:51 +0200 Michael Davies [EMAIL PROTECTED] wrote: On Sun, Jul 13, 2008 at 6:15 PM, Rob Rothwell [EMAIL PROTECTED] wrote: Can someone explain what a weak vs (I am guessing) strong reference is? [snip] I, too, am maintaining parent/child relationships in my

Re: [Newbies] What is a weak reference

2008-07-15 Thread Michael Davies
On Tue, Jul 15, 2008 at 2:39 PM, cdrick [EMAIL PROTECTED] wrote: All that sounds like don't use weak reference :) Cédrick A nice clear summary! Thanks to all who have posted on this topic - it's been a very useful discussion. Michael ___

Re: [Newbies] What is a weak reference

2008-07-15 Thread Marcin Tustin
One of the uses of weak references in other languages is to keep a collection of all the instances of a class without preventing them being garbage collected. Obviously, this is not necessary in squeak. On 7/15/08, Herbert König [EMAIL PROTECTED] wrote: Hello cdrick, c All that sounds like

Re: [Newbies] What is a weak reference

2008-07-15 Thread Bert Freudenberg
Am 15.07.2008 um 06:42 schrieb Marcin Tustin: One of the uses of weak references in other languages is to keep a collection of all the instances of a class without preventing them being garbage collected. Obviously, this is not necessary in squeak. One major use in Squeak is for ensuring

Re: [Newbies] separating app from platform-specific parts of image?

2008-07-15 Thread John Chandler
I now need to see why the RFB package appears not to be working on Debian. I loaded the package on my laptop, started the server, and verified that I could connect to it with Chicken of the VNC. I did not stop the server, I saved the changes with a slightly altered name, and scp'd the

Re: [Newbies] What is a weak reference

2008-07-15 Thread Randal L. Schwartz
Herbert == Herbert König [EMAIL PROTECTED] writes: Herbert Hello cdrick, c All that sounds like don't use weak reference :) Herbert unless you know exactly what you are doing. One possible use I haven't seen in this thread is to keep notes on a class you don't own (and don't want to

Re: [Newbies] What is a weak reference

2008-07-15 Thread Herbert König
Hello Randal, RLS dictionary. This is how the classic dependents system works as well: the RLS dependencies are in a WeakDictionary so that when the watched object goes RLS away, the dependencies are also cleaned. thanks for some free education (no smiley, I mean it), now I'll do some homework

Re: [Newbies] Left-arrow for assignment

2008-07-15 Thread Bert Freudenberg
Am 14.07.2008 um 16:54 schrieb Dominic Espinosa: On Tue, Jul 15, 2008 at 11:40:58AM +1200, Michael van der Gulik wrote: On Mon, 14 Jul 2008 01:20:25 -0400 Dominic Espinosa [EMAIL PROTECTED] wrote: Hello, I've experimented with Squeak a bit, and have also seen the debate on the

Re: [Newbies] Left-arrow for assignment

2008-07-15 Thread Giuseppe Luigi Punzi Ruiz
I have Shout installed and I see, the := instead left arrow. I can see, on World Preferences Preference Browser, under 'browsing' category, an option called.. syntaxHighlightingAsYouTypeLeftArrowAssignment I don't know if this is the option, but If I enable it, My ':=' are changed to

Re: [Newbies] What is a weak reference

2008-07-15 Thread Bert Freudenberg
Am 15.07.2008 um 08:26 schrieb Herbert König: Hello Randal, RLS dictionary. This is how the classic dependents system works as well: the RLS dependencies are in a WeakDictionary so that when the watched object goes RLS away, the dependencies are also cleaned. thanks for some free

[Newbies] Re: What is a weak reference

2008-07-15 Thread nicolas cellier
Bert Freudenberg a écrit : Am 15.07.2008 um 08:26 schrieb Herbert König: Hello Randal, RLS dictionary. This is how the classic dependents system works as well: the RLS dependencies are in a WeakDictionary so that when the watched object goes RLS away, the dependencies are also cleaned.

Re: [Newbies] Re: What is a weak reference

2008-07-15 Thread Bert Freudenberg
Am 15.07.2008 um 13:23 schrieb nicolas cellier: Bert Freudenberg a écrit : Am 15.07.2008 um 08:26 schrieb Herbert König: Hello Randal, RLS dictionary. This is how the classic dependents system works as well: the RLS dependencies are in a WeakDictionary so that when the watched object

[Newbies] Re: What is a weak reference

2008-07-15 Thread nicolas cellier
Bert Freudenberg a écrit : Am 15.07.2008 um 13:23 schrieb nicolas cellier: Bert Freudenberg a écrit : The dependents are weak only for regular objects. Proper Models handle their own dependents collection in a non-weak manner. - Bert - Hmm, not really Warning: this example is stupid! |

Re: [Newbies] Re: What is a weak reference

2008-07-15 Thread Randal L. Schwartz
nicolas == nicolas cellier [EMAIL PROTECTED] writes: nicolas But maybe we have just quit the beginners rails... I think the moment you mention Weak, you're already outside beginner space. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED]

[Newbies] Re: What is a weak reference

2008-07-15 Thread nicolas cellier
Randal L. Schwartz a écrit : nicolas == nicolas cellier [EMAIL PROTECTED] writes: nicolas But maybe we have just quit the beginners rails... I think the moment you mention Weak, you're already outside beginner space. :) That's the quality of our Squeak beginners. They bring really advanced

Re: [Newbies] Re: What is a weak reference

2008-07-15 Thread Rob Rothwell
On Tue, Jul 15, 2008 at 5:47 PM, nicolas cellier [EMAIL PROTECTED] wrote: Randal L. Schwartz a écrit : nicolas == nicolas cellier [EMAIL PROTECTED] writes: nicolas But maybe we have just quit the beginners rails... I think the moment you mention Weak, you're already outside beginner

[Newbies] flash, index cards

2008-07-15 Thread waufrepi III
anyone know of if there's a package kicking around that creates index/flash cards? I have some good old fashion rote memorization to tackle and would like to stay in Squeak? wfpi ___ Beginners mailing list Beginners@lists.squeakfoundation.org