Re: [Newbies] squeak.org unavailable?

2008-10-22 Thread Sean Allen
On Oct 21, 2008, at 10:26 AM, rickm45 wrote: I have been trying to access http://www.squeak.org over the past week and always get "10061 - Connection refused". Firefox or IE. I can access news.squeak.org though but not the others, ie, map.squeak.org, etc. I've tried from work and home

Re: [Newbies] before methods

2008-10-13 Thread Sean Allen
On Oct 12, 2008, at 12:13 PM, Matthew Fulmer wrote: yes. Make a subclass. overriddenMethod Transcript show: 'This is the before aspect'; cr. super overriddenMethod Transcript show: 'This is the after aspect'; cr. should have been more clear on that. want to go in the opposite direc

[Newbies] before methods

2008-10-11 Thread Sean Allen
I've been working on some code using Proxies to step in front of method calls and now have an explosion of Proxy objects that aren't doing anything to make the design clearer. Far from it ( see previous thread 'locking' an object ). I've come back around to my initial inspiration for the desi

Re: [Newbies] 'locking' an object

2008-10-02 Thread Sean Allen
On Oct 2, 2008, at 1:18 PM, Bert Freudenberg wrote: If you wanted to take a mutable object and make it immutable and be able to go back again to mutable, how could you do that? What is your use case? use case. system needs to track changes to itself. one option that has come up is... l

Re: [Newbies] 'locking' an object

2008-10-02 Thread Sean Allen
On Oct 2, 2008, at 1:18 PM, Bert Freudenberg wrote: Well, it's hardly a beginner's topic, but you could make your class use a modified compiler that protects instance variable assignment by the check of an "immutable" flag. This is basically how Avi's WriteBarrier works. I'm going to hav

Re: [Newbies] 'locking' an object

2008-10-02 Thread Sean Allen
On Oct 2, 2008, at 2:31 PM, Marcin Tustin wrote: On Thu, Oct 2, 2008 at 6:17 PM, Sean Allen <[EMAIL PROTECTED] > wrote: You'd have to specially code each accessor in that case to check the flag. Yes. This is unlikely to be a problem unless you have a lot of members. lots

Re: [Newbies] 'locking' an object

2008-10-02 Thread Sean Allen
es all of the accessors to throw an exception when it is set. Or am I missing something? On 10/2/08, Randal L. Schwartz <[EMAIL PROTECTED]> wrote: >>>>> "Sean" == Sean Allen <[EMAIL PROTECTED]> writes: Sean> If you wanted to take a mutable object and make i

[Newbies] 'locking' an object

2008-10-02 Thread Sean Allen
If you wanted to take a mutable object and make it immutable and be able to go back again to mutable, how could you do that? In particular the part that has me as a smalltalk beginner stumped is how to disallow any messages that would result in a state change while still allowing messages tha

Re: [Newbies] true/false defined where?

2008-08-05 Thread Sean Allen
On Aug 5, 2008, at 10:52 AM, Randal L. Schwartz wrote: "Sean" == Sean Allen <[EMAIL PROTECTED]> writes: Sean> I have a feeling the secret to unraveling that confusion comes from this: Sean> 'true and false and some of the very few objects known to the VM

Re: [Newbies] true/false defined where?

2008-08-05 Thread Sean Allen
On Aug 5, 2008, at 8:54 AM, Michael Rueger wrote: Sean Allen wrote: where do true and false spring into existence? They have been around longer than some people on this mailing list ;-) i've been poking around and cant figure it out. true and false and some of the very few ob

[Newbies] true/false defined where?

2008-08-05 Thread Sean Allen
where do true and false spring into existence? i've been poking around and cant figure it out. ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners

[Newbies] Colors as class variables...

2008-08-04 Thread Sean Allen
I'm wondering, the Color handling of different colors like blue etc where it dynamically creates class variables for a number of colors, is that the standard idiom or as the code looks to be kind of old, is it no longer accepted practice. If I needed to do something similar should I be follow

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-02 Thread Sean Allen
On Aug 2, 2008, at 10:50 AM, Benjamin Schroeder wrote: On Aug 2, 2008, at 10:43 AM, Sean Allen wrote: if I have class foo that is meant to only be descended from, never instantiated directly. and it has method bar that needs to made concrete by its descendents, what is the standard idiom

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-02 Thread Sean Allen
On Aug 2, 2008, at 12:44 AM, Matthew Fulmer wrote: On Sat, Aug 02, 2008 at 12:08:51AM -0400, Sean Allen wrote: you have an instance variable you only want to allow to set once, never again ( in that fashion its like variable binding in erlang. ) what is the accepted smalltalk way to do this

Re: [Newbies] Best place to ask Smalltalk questions?

2008-08-01 Thread Sean Allen
On Aug 1, 2008, at 6:01 PM, Randal L. Schwartz wrote: "Sean" == Sean Allen <[EMAIL PROTECTED]> writes: Sean> If I have beginner Smalltalk questions. What is the best forum for Sean> asking those? Sean> Here even if they aren't squeak specific? If you&

[Newbies] Best place to ask Smalltalk questions?

2008-08-01 Thread Sean Allen
If I have beginner Smalltalk questions. What is the best forum for asking those? Here even if they aren't squeak specific? Some other mailing list? ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mai

[Newbies] more of a general smalltalk question

2008-07-04 Thread Sean Allen
but i'm using squeak as my 'really learn smalltalk' einvironment so... can any suggest any good reading, books, websites, whatever for learning the ins and outs of how exceptions, signals etc work in smalltalk. i'm interested in both an 'end user' perspective as a start but getting into the n