From modesto2005 at gmail.com Fri Oct 7 02:14:38 2011 From: modesto2005 at gmail.com (Aeren) Date: Thu, 6 Oct 2011 17:14:38 -0700 (PDT) Subject: [sbe-discussion] About packages : question from a beginner Message-ID: <1317946478432-3880345.post@n4.nabble.com> Hello everyone. I've just started with smalltalk and i'm using the book "Pharo By Example" to start off (the latest version from 2009-10-28). However, it seems that many things have changed since then, and the latest and probably most destabilizing one concerns packages. In chapter 2, the book says to create a package through the browser. However, no matter how much I look and search (both on Pharo and internet), I can't seem to find the place to do it. I can add a category, browse a package, but not create a package. I use the image downloaded from the Pharo-Project website, so I guess it's a good one. Can anyone explain to me which part of information I have missed? -- View this message in context: http://forum.world.st/About-packages-question-from-a-beginner-tp3880345p3880345.html Sent from the Pharo By Example mailing list archive at Nabble.com. From bouraqadi at gmail.com Fri Oct 7 07:38:49 2011 From: bouraqadi at gmail.com (Noury Bouraqadi) Date: Fri, 7 Oct 2011 07:38:49 +0200 Subject: [sbe-discussion] Re: About packages : question from a beginner In-Reply-To: <1317946478432-3880345.post@n4.nabble.com> References: <1317946478432-3880345.post@n4.nabble.com> Message-ID: <8F931A93-A2F9-4278-A58D-B5533EA6A3C4@gmail.com> Hi, You should use the image used to build the book examples https://gforge.inria.fr/frs/download.php/27023/PBE-1.0.zip As you noted, it's an old one. A lot of thing changed. Fortunately, the system is improving. Have fin, Noury -- http://twitter.com/#!/NouryBouraqadi On 7 oct. 2011, at 02:14, Aeren wrote: > Hello everyone. > > I've just started with smalltalk and i'm using the book "Pharo By Example" > to start off (the latest version from 2009-10-28). However, it seems that > many things have changed since then, and the latest and probably most > destabilizing one concerns packages. > > In chapter 2, the book says to create a package through the browser. > However, no matter how much I look and search (both on Pharo and internet), > I can't seem to find the place to do it. I can add a category, browse a > package, but not create a package. > > I use the image downloaded from the Pharo-Project website, so I guess it's a > good one. Can anyone explain to me which part of information I have missed? > > -- > View this message in context: http://forum.world.st/About-packages-question-from-a-beginner-tp3880345p3880345.html > Sent from the Pharo By Example mailing list archive at Nabble.com. > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion From modesto2005 at gmail.com Fri Oct 7 08:18:47 2011 From: modesto2005 at gmail.com (Aeren) Date: Thu, 6 Oct 2011 23:18:47 -0700 (PDT) Subject: [sbe-discussion] Re: About packages : question from a beginner In-Reply-To: <8F931A93-A2F9-4278-A58D-B5533EA6A3C4@gmail.com> References: <1317946478432-3880345.post@n4.nabble.com> <8F931A93-A2F9-4278-A58D-B5533EA6A3C4@gmail.com> Message-ID: <1317968327336-3881097.post@n4.nabble.com> I already tried with this image, but it immediately crashes with a segmentation fault. And I also tried downloading the OmniBrowserO2 through Pharo which seems to be the second solution, but the download systematically fails after a few files... :S -- View this message in context: http://forum.world.st/About-packages-question-from-a-beginner-tp3880345p3881097.html Sent from the Pharo By Example mailing list archive at Nabble.com. From marcus.denker at inria.fr Fri Oct 7 08:24:07 2011 From: marcus.denker at inria.fr (Marcus Denker) Date: Fri, 7 Oct 2011 08:24:07 +0200 Subject: [sbe-discussion] Re: About packages : question from a beginner In-Reply-To: <880187467.199714.1317968348502.JavaMail.root@zmbs4.inria.fr> References: <1317946478432-3880345.post@n4.nabble.com> <8F931A93-A2F9-4278-A58D-B5533EA6A3C4@gmail.com> <880187467.199714.1317968348502.JavaMail.root@zmbs4.inria.fr> Message-ID: <630A1625-4D4B-476B-BD64-4829BB4A3513@inria.fr> On Oct 7, 2011, at 8:19 AM, Aeren wrote: > I already tried with this image, but it immediately crashes with a > segmentation fault. Yes, it is not compatible to the newer VMs. > And I also tried downloading the OmniBrowserO2 through > Pharo which seems to be the second solution, but the download systematically > fails after a few files... :S O2 is not been developped anymore and therefore does not work in newer versions of Pharo. Yes, all this is unfortunate but sadly the day has only 24hours and we do the best we can. The best solution actually would be to update the book, but nobody has time to do it. Marcus -- Marcus Denker -- http://marcusdenker.de From bouraqadi at gmail.com Fri Oct 7 18:58:42 2011 From: bouraqadi at gmail.com (Noury Bouraqadi) Date: Fri, 7 Oct 2011 18:58:42 +0200 Subject: [sbe-discussion] Re: About packages : question from a beginner In-Reply-To: <630A1625-4D4B-476B-BD64-4829BB4A3513@inria.fr> References: <1317946478432-3880345.post@n4.nabble.com> <8F931A93-A2F9-4278-A58D-B5533EA6A3C4@gmail.com> <880187467.199714.1317968348502.JavaMail.root@zmbs4.inria.fr> <630A1625-4D4B-476B-BD64-4829BB4A3513@inria.fr> Message-ID: On 7 oct. 2011, at 08:24, Marcus Denker wrote: > > On Oct 7, 2011, at 8:19 AM, Aeren wrote: > >> I already tried with this image, but it immediately crashes with a >> segmentation fault. > > Yes, it is not compatible to the newer VMs. > >> And I also tried downloading the OmniBrowserO2 through >> Pharo which seems to be the second solution, but the download systematically >> fails after a few files... :S > > O2 is not been developped anymore and therefore does not work in newer versions > of Pharo. > > Yes, all this is unfortunate but sadly the day has only 24hours and we do the best we can. > > The best solution actually would be to update the book, but nobody has time to do it. > Yes. Still a beginner might find useful materials. I suggest to try with an older VM (4.X). For windows its on GForge https://gforge.inria.fr/frs/download.php/28468/PharoVM-Win32-4.1.1-bin.zip Noury > Marcus > > > -- > Marcus Denker -- http://marcusdenker.de > > > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion Noury Bouraqadi Ecole des Mines de Douai http://car.mines-douai.fr/noury http://twitter.com/#!/NouryBouraqadi -- -19?mes Journ?es Francophones sur les Syst?mes Multi-Agents (JFSMA?11) http://www.univ-valenciennes.fr/congres/jfsma2011/ 17-19 Octobre 2011, Valenciennes, France -5th International Conference on Smalltalk Technologies http://www.fast.org.ar November 3th - 5th, 2011 Universidad Nacional de Quilmes (Argentina) From marcus.denker at inria.fr Sat Oct 8 13:54:56 2011 From: marcus.denker at inria.fr (Marcus Denker) Date: Sat, 8 Oct 2011 13:54:56 +0200 Subject: [sbe-discussion] Fwd: Pharo By Example problems, PBE 1.0 Mac OS/X Lion References: Message-ID: <37B6B81F-E191-4E03-8437-6807CEF741B2@inria.fr> Begin forwarded message: > From: "Charles R (Charlie) Martin" > Subject: Fwd: Pharo By Example problems, PBE 1.0 Mac OS/X Lion > Date: October 7, 2011 3:51:25 AM GMT+02:00 > To: sbe-discussion-owner at iam.unibe.ch > > I emailed the discussion list as suggested in the PBE docs. My message bounced. This is probably a docs bug; I also have the PBE bug described below. > > Thanks > > Charlie Martin > > ---------- Forwarded message ---------- > From: > Date: Thu, Oct 6, 2011 at 19:46 > Subject: Pharo By Example problems, PBE 1.0 Mac OS/X Lion > To: chasrmartin at gmail.com > > > You are not allowed to post to this mailing list, and your message has > been automatically rejected. If you think that your messages are > being rejected in error, contact the mailing list owner at > sbe-discussion-owner at iam.unibe.ch. > > > > ---------- Forwarded message ---------- > From: "Charles R (Charlie) Martin" > To: sbe-discussion at iam.unibe.ch > Date: Thu, 6 Oct 2011 19:46:22 -0600 > Subject: Pharo By Example problems, PBE 1.0 Mac OS/X Lion > I've downloaded the image, and it appears to run, but crashes with crash dump below. When reopened it says it needs to restore windows. On reopening, it appears to be a vanilla Pahro image. > > Sorry if this isn't fully informative, I'm new with Pharo. > > Regards > > Charlie Martin > > Process: pharo [4479] > Path: /Applications/Pharo-1.3-13307-OneClick.app/Contents/MacOS/pharo > Identifier: org.pharo.Pharo > Version: Pharo 1.3 (21.0) > Code Type: X86 (Native) > Parent Process: launchd [119] > > Date/Time: 2011-10-06 19:42:30.829 -0600 > OS Version: Mac OS X 10.7.1 (11B2118) > Report Version: 9 > > Interval Since Last Report: 593822 sec > Crashes Since Last Report: 16 > Per-App Interval Since Last Report: 22945 sec > Per-App Crashes Since Last Report: 6 > Anonymous UUID: 25D515AB-B8AF-44D6-98FB-93E7A846A385 > > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > Exception Type: EXC_BAD_ACCESS (SIGBUS) > Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000084 > > VM Regions Near 0x84: > --> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] ---/--- SM=NUL /Applications/Pharo-1.3-13307-OneClick.app/Contents/MacOS/pharo > __TEXT 0000000000001000-0000000000101000 [ 1024K] r-x/rwx SM=COW /Applications/Pharo-1.3-13307-OneClick.app/Contents/MacOS/pharo > > -- Marcus Denker -- http://marcusdenker.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From yoshiki at vpri.org Tue Oct 25 08:17:21 2011 From: yoshiki at vpri.org (Yoshiki Ohshima) Date: Mon, 24 Oct 2011 23:17:21 -0700 Subject: [sbe-discussion] A question in Metaclass chapter Message-ID: Hello, Metaclasses.tex has a sentence: ---------------------- \clsind{Behavior} provides the minimum state necessary for objects that have instances: this includes a superclass link, a method dictionary, and a description of the instances (\ie representation and number). ---------------------- I'd assume that "a description of the instances (\ie representation and number)." means the class format, but what is "number" here? (And "representation"?) -- Yoshiki From yoshiki at vpri.org Tue Oct 25 08:25:20 2011 From: yoshiki at vpri.org (Yoshiki Ohshima) Date: Mon, 24 Oct 2011 23:25:20 -0700 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: References: Message-ID: And, it says that "the notion of a name (abstract)," is something that ClassDescription adds to Behavior. What is "the notion of a name (abstract)"? -- Yoshiki From yoshiki at vpri.org Tue Oct 25 08:42:14 2011 From: yoshiki at vpri.org (Yoshiki Ohshima) Date: Mon, 24 Oct 2011 23:42:14 -0700 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: References: Message-ID: Sorry for short messages... But the chapter also says: ----------------------- \ct{Class} knows how to create instances, so all metaclasses should inherit ultimately from \ct{Class}. ----------------------- Before this, however, it was about Behavior knowing how to create instances. And the use of "should" here somewhat contradicts to the idea that metaclass creation is "implicit". For this one, the right question to ask perhaps, is "can I remove the line?" Or any suggestions to the improvement? Then (second question in an email), there is a part that says: ----------------------- \ct{Metaclass} represents common metaclass behaviour. It provides methods for instance creation (\lct{sub\-class\-Of:}) creating initialized instances of the metaclass's sole instance, ----------------------- But what is subclassOf:? Is it something to do with "methods for instance creation"? Does a Metaclass actually instanciate its sole instance? Thanks you! -- Yoshiki From stephane.ducasse at free.fr Tue Oct 25 15:12:25 2011 From: stephane.ducasse at free.fr (stephane ducasse) Date: Tue, 25 Oct 2011 15:12:25 +0200 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: References: Message-ID: <5B4A640A-FC6B-4558-82D0-63CF58A54EC6@free.fr> problably the number of instance variables. Stef On Oct 25, 2011, at 8:17 AM, Yoshiki Ohshima wrote: > Hello, > > Metaclasses.tex has a sentence: > > ---------------------- > \clsind{Behavior} provides the minimum state necessary for objects > that have instances: this includes a superclass link, a method > dictionary, and a description of the instances (\ie representation and > number). > ---------------------- > > I'd assume that "a description of the instances (\ie representation > and number)." means the class format, but what is "number" here? (And > "representation"?) > > -- Yoshiki > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > From stephane.ducasse at free.fr Tue Oct 25 15:13:04 2011 From: stephane.ducasse at free.fr (stephane ducasse) Date: Tue, 25 Oct 2011 15:13:04 +0200 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: References: Message-ID: <98932582-B35D-49F0-8BE0-C30F1A039A3D@free.fr> no idea on this one :) Stef On Oct 25, 2011, at 8:25 AM, Yoshiki Ohshima wrote: > And, it says that "the notion of a name (abstract)," is something > that ClassDescription adds to Behavior. What is "the notion of a name > (abstract)"? > > -- Yoshiki > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > From marianopeck at gmail.com Tue Oct 25 20:35:18 2011 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 25 Oct 2011 20:35:18 +0200 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: <5B4A640A-FC6B-4558-82D0-63CF58A54EC6@free.fr> References: <5B4A640A-FC6B-4558-82D0-63CF58A54EC6@free.fr> Message-ID: On Tue, Oct 25, 2011 at 3:12 PM, stephane ducasse wrote: > problably the number of instance variables. > > or maybe "representation AS number" ? because at the end, the instVar "format" is a number that says nothing as it is, because it stores several numbers together. To get real value you have to do use #instSpec, #instSize etc. > Stef > > On Oct 25, 2011, at 8:17 AM, Yoshiki Ohshima wrote: > > > Hello, > > > > Metaclasses.tex has a sentence: > > > > ---------------------- > > \clsind{Behavior} provides the minimum state necessary for objects > > that have instances: this includes a superclass link, a method > > dictionary, and a description of the instances (\ie representation and > > number). > > ---------------------- > > > > I'd assume that "a description of the instances (\ie representation > > and number)." means the class format, but what is "number" here? (And > > "representation"?) > > > > -- Yoshiki > > _______________________________________________ > > Sbe-discussion mailing list > > Sbe-discussion at iam.unibe.ch > > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > > > > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > -- Mariano http://marianopeck.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From yoshiki at vpri.org Tue Oct 25 20:41:47 2011 From: yoshiki at vpri.org (Yoshiki Ohshima) Date: Tue, 25 Oct 2011 11:41:47 -0700 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: References: <5B4A640A-FC6B-4558-82D0-63CF58A54EC6@free.fr> Message-ID: Okay. It sounds like there is a room for me to make a few things better in the Japanese version^^; -- Yoshiki At Tue, 25 Oct 2011 20:35:18 +0200, Mariano Martinez Peck wrote: > > On Tue, Oct 25, 2011 at 3:12 PM, stephane ducasse wrote: > > problably the number of instance variables. > > or maybe "representation AS number" ?? because at the end, the instVar "format" is a number that says nothing as it is, because it stores several numbers together. To get real value you have > to do use #instSpec, #instSize etc. > > ? > > Stef > > On Oct 25, 2011, at 8:17 AM, Yoshiki Ohshima wrote: > > > ?Hello, > > > > Metaclasses.tex has a sentence: > > > > ---------------------- > > \clsind{Behavior} provides the minimum state necessary for objects > > that have instances: this includes a superclass link, a method > > dictionary, and a description of the instances (\ie representation and > > number). > > ---------------------- > > > > I'd assume that "a description of the instances (\ie representation > > and number)." means the class format, but what is "number" here? ?(And > > "representation"?) > > > > -- Yoshiki > > _______________________________________________ > > Sbe-discussion mailing list > > Sbe-discussion at iam.unibe.ch > > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > > > > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > > -- > Mariano > http://marianopeck.wordpress.com > > > [2 ] > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion From stephane.ducasse at free.fr Wed Oct 26 08:31:37 2011 From: stephane.ducasse at free.fr (stephane ducasse) Date: Wed, 26 Oct 2011 08:31:37 +0200 Subject: [sbe-discussion] Re: A question in Metaclass chapter In-Reply-To: References: <5B4A640A-FC6B-4558-82D0-63CF58A54EC6@free.fr> Message-ID: <6E39CE8E-D750-465F-8476-B8CA8EB5B823@free.fr> On Oct 25, 2011, at 8:41 PM, Yoshiki Ohshima wrote: > Okay. It sounds like there is a room for me to make a few things > better in the Japanese version^^; usre please let us know your changes so that we can log them and retrofit into the main branch. > > -- Yoshiki > > At Tue, 25 Oct 2011 20:35:18 +0200, > Mariano Martinez Peck wrote: >> >> On Tue, Oct 25, 2011 at 3:12 PM, stephane ducasse wrote: >> >> problably the number of instance variables. >> >> or maybe "representation AS number" ? because at the end, the instVar "format" is a number that says nothing as it is, because it stores several numbers together. To get real value you have >> to do use #instSpec, #instSize etc. >> >> >> >> Stef >> >> On Oct 25, 2011, at 8:17 AM, Yoshiki Ohshima wrote: >> >>> Hello, >>> >>> Metaclasses.tex has a sentence: >>> >>> ---------------------- >>> \clsind{Behavior} provides the minimum state necessary for objects >>> that have instances: this includes a superclass link, a method >>> dictionary, and a description of the instances (\ie representation and >>> number). >>> ---------------------- >>> >>> I'd assume that "a description of the instances (\ie representation >>> and number)." means the class format, but what is "number" here? (And >>> "representation"?) >>> >>> -- Yoshiki >>> _______________________________________________ >>> Sbe-discussion mailing list >>> Sbe-discussion at iam.unibe.ch >>> https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion >>> >> >> _______________________________________________ >> Sbe-discussion mailing list >> Sbe-discussion at iam.unibe.ch >> https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion >> >> -- >> Mariano >> http://marianopeck.wordpress.com >> >> >> [2 ] >> _______________________________________________ >> Sbe-discussion mailing list >> Sbe-discussion at iam.unibe.ch >> https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion > > _______________________________________________ > Sbe-discussion mailing list > Sbe-discussion at iam.unibe.ch > https://www.iam.unibe.ch/mailman/listinfo/sbe-discussion >