From music at watson.ibm.com Mon Jun 11 20:26:22 2001 From: music at watson.ibm.com (Daniel V. Oppenheim) Date: Sat Jan 28 03:59:43 2012 Subject: [BUG] two different ways to handle assert: Message-ID: <4.3.2.7.2.20010611161149.02956900@fusion.watson.ibm.com> The system handles in two different ways: Object expects a Block as argument, whereas all other 3 classes expect a Boolean. This is not a good idea... However, there are only 39 senders so its an easy fix; slightly complicated with the implementation of in BlockContext, but that only has 7 senders. I think aBoolean makes more sense than aBlock as argument. Since I need to fix this anyhow in order to file in my own code I will be happy to make the change, update all system methods, and send the fix in -- but being new to the squeak-fix process please let me know what is the preferred way of handling this. Thanks Danny Oppenheim --- Dr. Daniel V. Oppenheim Computer Music Center IBM T.J. Watson Research Center phone: (914) 945-1989 P. O. Box 218 (or Route 134) fax: (914) 945-3434 Yorktown Heights, NY 10598 www.research.ibm.com/music From johnmci at smalltalkconsulting.com Mon Jun 4 22:35:33 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 03:59:44 2012 Subject: Collection squared but what about fractions. Message-ID: I couldn't help but noticing that most methods in the math function category of Collection follow the form foo ^ self collect: [:each | each foo] yet squared ^ self collect: [:each | each * each] Ah,is this an issue? Well each * each is the math for squared, but are there special cases? Yes Fraction has a special case of squared. So if I change Collection>>squared to ^self collect: [:each | each squared] Then squaring a collection of fractions now takes 62% of the original time, because Fraction>>squared is much faster than Fraction>>* (140ms) But on the other hand array of numbers foo squared runs 20% slower (36ms) because we have another method call to make to get to the point of each * each. So thoughts are welcome. I didn't really see any collections being squared in the image so I'm not sure of the impact. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From vngalchin at yahoo.com Fri Jun 1 18:52:22 2001 From: vngalchin at yahoo.com (Galchin Vasili) Date: Sat Jan 28 03:59:44 2012 Subject: Distributed squeak? In-Reply-To: <3B1783B1.A607F721@dmat.uevora.pt> Message-ID: <20010601185222.85895.qmail@web12205.mail.yahoo.com> Francisco, I totally agree with you. I am also waiting for replies to your posting. Regards, Vasili --- Francisco Colho wrote: > > Hi, > > Is there some option to "execute" some squeak code > on a remote VM/Image? > > If not, wouldn't this be great? > -- > > Francisco Coelho > ==================================== > Departamento de Matematica > Universidade de Evora > Rua Romao Ramalho, 59 > 7000-671 Evora > tel. 351 91 900 63 79 > email fc@dmat.uevora.pt > www http://www.dmat.uevora.pt/~fc > ==================================== > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From noel at devtech.com Sun Jun 17 02:05:04 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 03:59:44 2012 Subject: About the wonderful internet browser In-Reply-To: <3B2BA7B2.2B73855F@telinco.co.uk> Message-ID: > loads and turns Squeak black with the latest image and changeset but > loads fine on the older image/changeset I have on my Windows partition. That sounds like an artifact of having an updated changeset without having an updated VM, with the 3D changes. Andreas Raab should be able to confirm that diagnosis. --- Noel From rgiuly at hotmail.com Sun Jun 10 04:54:43 2001 From: rgiuly at hotmail.com (Richard Giuly) Date: Sat Jan 28 03:59:45 2012 Subject: relative coordinates, newbie Q Message-ID: The Morph messages that I could find for changing position (top, left, position) were relative to the whole squeak window, not the parent Morph. Are there some that are relative to the parent or is the convention to explicitly add on the parent's position if you want things relative to the parent? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From tim at sumeru.stanford.edu Fri Jun 22 01:47:36 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 03:59:46 2012 Subject: StrongARM JIT? In-Reply-To: References: Message-ID: <025e618e4a.rowledge@goldskin.stcla1.sfba.home.com> In message "Noel J. Bergman" wrote: > Tim, > > I have been purusing http://www-sor.inria.fr/~piumarta/squeak/Jitter-3.1/, > and there is no such clause to be found in that tree, nor any similar > comment, as far as I can see. In fact, the COPYING file > (http://www-sor.inria.fr/~piumarta/squeak/Jitter-3.1/Squeak-2.8/COPYING) > explicitly provides for derivative works. > > Please go take a look, and see for yourself. :-) Ah but look at the directly relevant COPYING file in http://www-sor.inria.fr/~piumarta/squeak/Jitter-3.1/Squeak-2.8/src/Squea kCompiler/ ..... err which isn't there anymore. Oh goody. But this is odd; I downloaded the 'SqueakCompiler' directory at the end of february and it is in that copy, so how come the directory claims to have been untouched since november last year? Very odd. Guess that means I can add another item to my to-do list. tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim The problem with the gene pool is that there is no lifeguard. From Craig.Latta at NetJam.ORG Sat Jun 23 00:01:30 2001 From: Craig.Latta at NetJam.ORG (Craig Latta) Date: Sat Jan 28 03:59:51 2012 Subject: iPAQ WinCE memory problem workaround Message-ID: <3B33DC5A.618EC88C@NetJam.ORG> Yay! Apparently my attempts to write large buffers to main-memory files took too much CPU away from the WinCE file compressor, causing it to use more file space than I had. (And of course the compressor's file space usage isn't taken into account when you ask the system how much available file space there is, either because it's "hidden" or because by the time you can ask it's no longer in use.) This would lead to the system reporting ample available file space before and after a write (and reporting the correct size for the file to which I was writing), but failing the write with a "file space full" error. Not knowing how to turn off the compressor, I rewrote sqImageFileWrite() to write in passes, sleeping a bit between each one. Now I can snapshot. So now I have a small handheld system which runs Smalltalk with the same bits I use on any other machine (no shrinking, full sources). I've been waiting for this for quite some time. :) Of course, I'm still interested in getting iPAQ Linux Squeak working (I need to get Linux to see all 64 on my machine), so I can have sources for the entire system, but this will do quite nicely in the meantime. My version of sqImageFileWrite() is below. -C *** int sqImageFileWrite(void *elements, int elementSize, int numberToWrite, sqImageFile file) { DWORD numberWrittenLastPass; DWORD numberWrittenSoFar = 0; int result, error, pass; int numberOfPasses = 10; int bytesPerPass = (numberToWrite * elementSize) / numberOfPasses; DWORD fileSize; STORE_INFORMATION filesystemInfo; #ifdef _WIN32_WCE /* * Apparently, writing blocks larger than about 13M all at once * starves the WinCE compressor, leading to "filesystem full" errors * (on a 206MHz 64M iPAQ, anyway). So write large blocks in passes, * sleeping a bit between each one. */ if ((numberToWrite * elementSize) < 10) { WriteFile( (HANDLE) (file - 1), (LPCVOID) ((unsigned char *) elements + numberWrittenSoFar), (DWORD) ((numberToWrite * elementSize) - numberWrittenSoFar), (LPDWORD) &numberWrittenLastPass, NULL);} else { for (pass = 0; pass < (numberOfPasses - 1); pass++) { /* a useful place to break and inspect if things aren't working... */ GetStoreInformation(&filesystemInfo); result = WriteFile( (HANDLE) (file - 1), (LPCVOID) ((unsigned char *) elements + numberWrittenSoFar), (DWORD) bytesPerPass, (LPDWORD) &numberWrittenLastPass, NULL); if (result == 0) { GetStoreInformation(&filesystemInfo); fileSize = GetFileSize( (HANDLE) (file - 1), NULL); error = GetLastError(); return numberWrittenSoFar;} numberWrittenSoFar += numberWrittenLastPass; Sleep((DWORD) 50);} /* a useful place to break and inspect if things aren't working... */ GetStoreInformation(&filesystemInfo); result = WriteFile( (HANDLE) (file - 1), (LPCVOID) ((unsigned char *) elements + numberWrittenSoFar), (DWORD) ((numberToWrite * elementSize) - numberWrittenSoFar), (LPDWORD) &numberWrittenLastPass, NULL); if (result == 0) { GetStoreInformation(&filesystemInfo); fileSize = GetFileSize( (HANDLE) (file - 1), NULL); error = GetLastError(); return numberWrittenSoFar;}} return numberToWrite; #else WriteFile( (HANDLE) (file - 1), (LPCVOID) elements, (DWORD) numberToWrite * elementSize, (LPDWORD) &numberWrittenLastPass, NULL); return (numberWrittenLastPass / elementSize); #endif } -- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)] From noel at devtech.com Mon Jun 18 21:41:45 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 03:59:51 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: <20010618135039F.Yoshiki.Ohshima@disney.com> Message-ID: >> Has the iPAQ buttons some function with Squeak for WinCE?? > You have to get the source tree, #define MAP_HARDWARE_KEY and rebuild the VM. Ohshima-san, Do you mind if I replace the hardcoded values in mapVirtualKey() for the hardware keys with references to the GXKeyList structure? --- Noel From tim at jump.net Fri Jun 22 14:32:28 2001 From: tim at jump.net (Tim Olson) Date: Sat Jan 28 03:59:52 2012 Subject: Hardware & Software improvements (was: historical note) Message-ID: <200106221432.f5MEWR202882@mail22.jump.net> Bob Jarvis wrote: >That's an interesting question. I'd like to ask two related questions: > > Why and how does hardware get faster? How: Hardware (specifically, the microprocessor) has achieved a factor of roughly 500x performance improvement over the past 20 years. By far the largest factor in this is raw clock frequency, going from ~16MHz to greater than 1GHz (60x). Most of this is directly due to process improvements ("process" here means the feature size and series of steps used in fabricating devices on the silicon wafer). As more and more transistors were able to be packed into the same area, due to the same process improvements that gave us higher frequencies, microarchitectural improvements were able to achieve another factor of 10x. These improvements, such as pipelining, superscalar and speculative execution, exploit various levels of parallelism, and trade off increased die area for decreased time. Larger caches also exploit spatial and temporal locality found in almost all code. Why: The demand for high-performance processors has been large. Since the cost to process a silicon wafer is relatively fixed, shrinking the die size via process improvements allows many more parts to be produced for the same fixed cost. And as a side-effect, the parts run faster (since those same process improvements give us higher frequencies). Processor designers then have a new process available in which to pack more performance-enhancing features in the next-generation processor, and we jump on the treadmill again. Another factor here is that improving performance is a fairly easy goal to quantify and verify. It can be attacked by standard scientific and engineering techniques. > Can we do similar things to improve software? Depends upon what you mean by "improve". There's no economic incentive to reduce the size of software, since replication is essentially free. And smaller software doesn't automatically run faster, anyway. Software users complain more about general software "bugginess" rather than performance. But program correctness is a much harder goal to quantify and verify. -- tim From Dan at SqueakLand.org Sat Jun 9 20:14:20 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 03:59:52 2012 Subject: BitBlt question In-Reply-To: <3B226B2D.1EA54A83@chello.se> References: <3B226B2D.1EA54A83@chello.se> Message-ID: >Is there a already implemented way to adjust the likes >of brightness and saturation in the BitBlt combination >rules ? I can't tell enough from your phrase "adjust the likes of". There are now 39 rules supported in BitBlt. Some have been added recently and I don't know exactly what they do, but many are described in the class comment for BitBlt, and for any that you are not sure of, the exact code can be found by looking for implementors of the selectors listed in initializeRuleTable. Hope this helps. - Dan -- From riks at smOO.com Wed Jun 20 18:49:58 2001 From: riks at smOO.com (Rik Fischer Smoody) Date: Sat Jan 28 03:59:55 2012 Subject: my tiny method is broken...... In-Reply-To: <3B30EA02.FA554E85@telinco.co.uk> Message-ID: Well, the method is OK, but misplaced. It should be a class-side method. Remember that creating new instances is the bailiwick of classes. Any particular Stack does not know how to create new ones. At 7:22 PM +0100 6/20/01, John Hinsley wrote: >I'd be grateful if someone could take a peek at this if they have a >moment to spare. > >I'm trying to put all the "special" methods from M206 (which natively >use Learning Works) >into Squeak so that, ultimately, students could choose to use whatever >Smalltalk (and whatever platform) they chose. > >As usual, I fell flat on my face at the first hurdle! > >Here's the brief (note: this isn't a marked exercise!): > >"In the class browser create a new class called Stack (as a subclass of >Object) having an instance variable called elements." > >Here are the suggested tests: > >myStack := Stack new. > >myStack isEmpty. > >myStack push:1. > >myStack isEmpty > >myStack push:2 > >"Check 2 is popped from the stack." > > myStack pop > > "Check 1 is popped from the stack." > > myStack pop > > "Check an exception results from popping an empty stack." > > myStack pop > >Now, according to the brief, inspecting elements within myStack should >display an empty OrderedCollection. It doesn't in Squeak (or at least, >not in my implementation). I wonder if the " ^super new initialize " >method was creating problems? > >Alternatively, it could be that I'm not using the Browser to create new >classes and methods correctly: the only documentation I seem to have is >in Spanish! > >Cheers > >John > >-- >****************************************************************************** >Marx: "Why do Anarchists only drink herbal tea?" >Proudhon: "Because all proper tea is theft." >****************************************************************************** >Object subclass: #Stack > instanceVariableNames: 'elements ' > classVariableNames: '' > poolDictionaries: '' > category: 'M206'! > >!Stack methodsFor: 'accessing' stamp: 'jh 6/20/2001 18:41'! >pop > "Remove and answer with the first element of elements." > > ^elements removeFirst >! ! > >!Stack methodsFor: 'accessing' stamp: 'jh 6/20/2001 18:41'! >push: anObject > "Add anObject to the front of elements and return the updated receiver." > > elements addFirst: anObject >! ! > > >!Stack methodsFor: 'testing' stamp: 'jh 6/20/2001 18:39'! >isEmpty > "Is elements empty?" > > ^elements isEmpty >! ! > > >!Stack methodsFor: 'creation' stamp: 'jh 6/20/2001 18:37'! >initialize > "Initialise the elements to an empty OrderedCollection instance." > > elements := OrderedCollection new > >! ! > >!Stack methodsFor: 'creation' stamp: 'jh 6/20/2001 18:34'! >new > "Answer with an initialised instance of the receiver." > > ^super new initialize >! ! Rik Fischer SmOOdy riks@smoo.com smOOdynamics - Systems Made Outa Objects 503-249-8300 ph/fx 2400 NE 25th, Suite 800 Portland, OR 97212 --- Don't worry that people will steal your ideas. . . Good ideas have to be crammed down peoples' throats. . . and even then, they might not sink in. From RossBoylan at stanfordalumni.org Wed Jun 27 05:20:22 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 03:59:55 2012 Subject: Experiences and questions with the Morph Tutorial in Morphic Message-ID: <5.1.0.14.0.20010626221016.04169a20@mail.dslnorthwest.net> I've gone a little bit through it, and ran into several problems. Some have little to do with the tutorial. I'm running a 3.1a image with the latest fileins, currently on W2K. 1. On the superswiki I wanted to find out a little more about some of the projects, and tried selecting a project and hitting browser changes. It didn't work. Should it? Is there another way to get some info without loading the whole project. (I seem to remember doing so earlier, but haven't been able to reproduce it). 2. When I override drawOn: around p. 3 I get errors and then a red box with yellow cross lines. After that, I can't seem to get the drawOn: code to be called again (I put in a self halt, and it wasn't hit. I think eventually I did something that hit it, the I had to kill the image, presumably b/c it got caught in a loop). I see the morph gets an extension attribute that it's in error, and if I delete that attribute I can redisplay. This seems pretty awkward (though I know that getting in a loop when you can't display is awkward too). 3. The first time through I started trying to resize things so I could see more of the workspace with the text. Somehow (probably when I clicked on the pick up handle) things get pulled out of their proper embedding, and I never could get them back. The only way I've found to restore the project was to pull it in again. I know the tutorial didn't call for such messing around, but I thought I'd pass it on, since others might be similarly tempted. If there are better ways to handle these problems, I'd love to know. Thanks for your work on the tutorial. From noel at devtech.com Wed Jun 20 14:52:14 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:00:04 2012 Subject: documentation requests? In-Reply-To: Message-ID: > I'd suggest the whole image segments/SmartFileStream/project loading complex > of various classes. (If not all, then any part of it would be nice.) yup. With respect to Morphic internals, Tim Rowledge recently implied that perhaps he'd go back inside it, and address the performance problems. I'd expect that it would entail significant code change, which would make documenting Morphic internals, such as the drawing cycle, an ephemeral benefit; something you said you wanted to avoid. --- Noel From noel at devtech.com Fri Jun 29 14:49:39 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:00:04 2012 Subject: BankAccount Tutorial In-Reply-To: Message-ID: > It seems most newbies are using 3.0. Or later. --- Noel From JArchibald at aol.com Tue Jun 19 08:29:10 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:00:05 2012 Subject: [newbie] Complex boolean value? Message-ID: => 6/19/01 2:36:18 AM EDT, ok@atlas.otago.ac.nz => << Let's face it, "number" is a concept from other languages too, >> Yes, that is true. But to get someone to understand Smalltalk, you must teach them that Number is something different in Smalltalk. It is a Class in the Smalltalk hierarchy, and I can, for example, go and change the meaning of the binary method #+ in Integer (a subclass of Number), if I so choose, and have some meaningful results I intend to achieve by doing so. Someone threw in the example: 1000 factorial / 999 factorial recently, which indeed looks quite trivial. I went and evaluated it in Squeak, and sat and thought about the results for a good long while, wondering what I was missing. When I figured it out, I was quite impressed. I have been looking at expressions like this for 20 years -- why wasn't I impressed before. This is one of the things I like about Smalltalk -- its ability to astonish one with things you thought you already knew. And it seems to do this on a regular basis. A box of wonder, which regularly refreshes itself ! Hang in there, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From jhinsley at telinco.co.uk Thu Jun 14 04:44:48 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:00:10 2012 Subject: a morphic tutorial in morphic References: <3B2762D2.76AA0217@telinco.co.uk> <8f.bcff730.28587a7b@aol.com> Message-ID: <3B284140.59ADE7A9@telinco.co.uk> Alan Kay wrote: > > BTW, Squeak runs really well (including the 3D stuff) on the new > iBook from Apple. So, well in fact, that I have been giving all my > recent demos on it. (It's not quite as fast as the big Powerbooks, > but very impressive nonetheless on this very inexpensive machine.) > > Cheers, > > Alan Sounds good! Anyone know if it'll run Linux? (Or can be set up to dual boot?). (Incidentally, *inexpensive* can mean many different things: this is being typed -- and all my "real" work is done -- on a box I could throw together for $300 :-) ). Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From noel at devtech.com Fri Jun 22 01:28:25 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:00:20 2012 Subject: StrongARM JIT? In-Reply-To: <0a2b5c8e4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: Tim, I have been purusing http://www-sor.inria.fr/~piumarta/squeak/Jitter-3.1/, and there is no such clause to be found in that tree, nor any similar comment, as far as I can see. In fact, the COPYING file (http://www-sor.inria.fr/~piumarta/squeak/Jitter-3.1/Squeak-2.8/COPYING) explicitly provides for derivative works. Please go take a look, and see for yourself. :-) --- Noel -----Original Message----- From: Tim Rowledge [mailto:tim@sumeru.stanford.edu] Sent: Thursday, June 21, 2001 20:51 To: squeak@cs.uiuc.edu Subject: Re: StrongARM JIT? "Noel J. Bergman" is widely believed to have written: > >> Anyone care to do a StrongARM JIT? > >Yes indeed - just as soon as the license is less offensive. > > License? To author a JIT? What kind of license? Please explain. :-) See the file 'COPYING' in the distribution of the jitter source code. It expressly forbids me from making my usual living if I look at the code: > 1. The software may not be used for commercial advantage. Neither you nor > your employer nor any other organisation with which you are associated > are permitted to charge for the software or for other programs that might > be developed based on any part of the software itself or knowledge of the > algorithms contained therein. Do not even look at the software if this > restriction might conflict with your professional activities or those of > your employer. I rather think that that would be unlawful and surely not in the normal vein of open source licenses, and almost certainly not concomitant with the squeak license. From lex at cc.gatech.edu Wed Jun 20 02:48:18 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:00:23 2012 Subject: documentation requests? Message-ID: Some students in the Georgia Tech OO class are thinking of investigating and documenting parts of Squeak in order to get extra credit. Here's your chance: what would you most like someone to dig into and then write up? Alternatively, if you've written some fantastic Squeak system, how would you like to have someone else do the documentation? I suggested they might look into the new morphic layout mechanism, which to my knowledge hasn't been documented anywhere. What else might be useful? Reply here, or post it yourself to: http://coweb.cc.gatech.edu/cs2340/1401 The only constraint is that it must be something a student would have a chance of doing.... Cheers, Lex Spoon From editor at squeaknews.com Mon Jun 11 10:07:31 2001 From: editor at squeaknews.com (Editor) Date: Sat Jan 28 04:00:24 2012 Subject: squeak manual References: <200106110950.LAA38162@mailhub1.isdnet.net> Message-ID: <3B249863.4F4FF150@squeaknews.com> We are in the making of a reference manual and a user guide and will be ready within a few months. Cheers Tansel Editor, Squeak News Projet DeepLow wrote: > Hi, > > We're looking for a manual for squeak. Does anyone know anything > aboout a complete squeak manual. > > Thanks in advance. > > > Projet DeepLow > Ma?trise Informatique > Universit? de Savoie (France) > Explorateur 3D en SmallTalk > Serna Audrey (madame_dodue@hotmail.com) > Fleutot Pierre (foreveroux@yahoo.fr) > Josserand Samuel (samjosserands@yahoo.fr) > Loiseau Mathieu (MateOstl96@aol.com) From ok at atlas.otago.ac.nz Mon Jun 25 01:03:27 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:00:25 2012 Subject: Morph selectors size -> 924 Message-ID: <200106250103.NAA167954@atlas.otago.ac.nz> Michael Rueger wrote: Which you still did. If your application does not use HTML, what do you need a HTMLEntities table in String for. The original statement was that String was linked to the HTML *parser*. While an application might not have any need to *read* HTML, it might very well need to *write* HTML. Of course, HTML writing should be off in an HTMLWriter class somewhere. Presumably, with the GUI-saved-as-XML stuff coming along, there'll be an XMLWriter class coming with it? From guzdial at cc.gatech.edu Tue Jun 12 17:22:43 2001 From: guzdial at cc.gatech.edu (Mark Guzdial) Date: Sat Jan 28 04:00:26 2012 Subject: Squeak ate my day's work! (or: how do I get my code out of an image?) In-Reply-To: References: Message-ID: We get into this state in our lab cluster on a regular basis. Are you working with Squeak on the local machine and your image/changes file across a network (e.g., across Samba)? If so, if there's a network hiccup while you're trying to save to your changes file, Squeak gets confused and the connection to the changes file is pretty much hosed. We encourage students to put their image/changes file in the local temp directory and copy it back afterward to avoid this problem. Mark At 12:01 PM -0500 6/12/01, Aaron J Reichow wrote: >Thanks to everyone who replied to this... > >I'd follow up questions, but for some reason, an hour after sending the >note about my problem, I was able to save again. Windows networking and >Squeak (it's probably just Windows getting very confused) don't play >together around here. > >After copying and pasting decompiled methods for an hour, miracalously I >was able to save the original, sick image. > >Thanks! >Aaron (it's already been a long day...) > >Aaron Reichow :: Twin Ports ACM VP :: http://www.d.umn.edu/~reic0024/ >"The profit system follows the path of least resistance and following the >path of least resistance is what makes a river crooked." -U. Utah Phillips -------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 Associate Professor - Learning Sciences & Technologies. Collaborative Software Lab - http://coweb.cc.gatech.edu/csl/ (404) 894-5618 : Fax (404) 894-0673 : guzdial@cc.gatech.edu http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html From deeplowsoftware at oreka.com Wed Jun 20 23:10:14 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:00:27 2012 Subject: Wonderland textures Message-ID: <200106202210.AAA18226@mailhub1.isdnet.net> sorry I forgot to put a title for the e-mail (it is more convenient for a mailing list), here is the question again: Hi there, as some of you may know we are currently working on a 3D windows explorer in SmallTalk, which works as a virtual library. A directory is represented by a room and a file is represented by a book. And that's were we have a problem : we succeeded in creating a book and putting it where we want it to be, BUT we can't apply a texture that has more than one color. The texture is supposed to work with a bitmap and a morph (cf. asTexture method). Unfortunately when the bitmap contains more than one color the actor doesn't change or becomes all black. And we definitely need to be able to put some information on the book (e.g. the name of the file). Then our question is : does anyone know a way to make the textures work ? (is there a package we must download ?) We then thought we would add a morph to the WonderlandWrapper but it doesn't work (the morph is succesfully added ut is never shown on the screen). Is there any alternative way to add a VISIBLE StringMorph to an actor ? Thanks in advance for your answers. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From rbw3 at cet.nau.edu Mon Jun 4 20:30:08 2001 From: rbw3 at cet.nau.edu (rbw3@cet.nau.edu) Date: Sat Jan 28 04:00:30 2012 Subject: Squeakland plugin directory creation Message-ID: I am attempting to use the squeakland plugin, but can't since I don't have write-access to my root directory (in windows). Yes... this is a sick thing, but I am working in a government labratory and they love their security... So how can I ask the images on squeakland.org to use a different directory (they are currently trying to use "c:\my squeak" or something like that)? The plugin itself works fine, its only the directory that the images want to make that breaks. --Brock From reic0024 at d.umn.edu Tue Jun 12 17:01:22 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:00:31 2012 Subject: Squeak ate my day's work! (or: how do I get my code out of an image?) In-Reply-To: <144652478.992282097@JANEG-PC2> Message-ID: Thanks to everyone who replied to this... I'd follow up questions, but for some reason, an hour after sending the note about my problem, I was able to save again. Windows networking and Squeak (it's probably just Windows getting very confused) don't play together around here. After copying and pasting decompiled methods for an hour, miracalously I was able to save the original, sick image. Thanks! Aaron (it's already been a long day...) Aaron Reichow :: Twin Ports ACM VP :: http://www.d.umn.edu/~reic0024/ "The profit system follows the path of least resistance and following the path of least resistance is what makes a river crooked." -U. Utah Phillips From jdbell at fareselaw.com Wed Jun 6 12:56:48 2001 From: jdbell at fareselaw.com (Jerry Bell) Date: Sat Jan 28 04:00:31 2012 Subject: On interfaces - Morphic Wrappers Message-ID: <909E88754E6BD411926B00400531D64AC9648F@CLEVINGER> I've always liked playing around with Morphic Wrappers. I'm surprised that it hasn't migrated into the main release yet- is there any reason it hasn't been folded in? Typing on air is fun! Jerry Bell jdbell@fareselaw.com > -----Original Message----- > From: Gerardo Richarte [mailto:core.lists.squeak@core-sdi.com] > Sent: Tuesday, June 05, 2001 1:43 PM > To: squeak@cs.uiuc.edu > Cc: recipient list not shown; @cs.uiuc.edu > Subject: On interfaces - Morphic Wrappers > > > This days we have a thread on user interfaces, this > time is about > how to use Squeak with non-standard input devices, or, more precisely, > without keyboard. It is not the first time we can enjoy this kind of > discussions, there have been a lot of them in the list. > Personally, I love > to read about UIs. > > Today, we can say that once again there is a version of the > MorphicWrappers available to download. This latest version is ready to > be used in a Squeak3.1a-4048. It's not a long time since that previous > update (just 100 updates), but before that it was a little longer (800 > updates). > > It's a really tough job to maintain MorphicWrappers (we > all suffer > for maintaining packages for squeak up to date...) We almost > gave up, but > the team keeps growing and the new people comes with fresh energy to > maintain the package. > > So here it comes, from deep in the heart of the latest > adopters of > the MorphicWrappers way of interacting with the World: > > We started the project almost 3 years ago with the first version > of Morphic, in Squeak 2.3 (I'm not really sure when it was). > MW is today > an ancient project, but we think it's still current, and even > a little in > the future. We?ve been using it continously all this time, and we got > adicted to them. > > Here at core where I work, there is people that learned > Smalltalk & Squeak using them, and the other day, one of them > asked what a Workspace > is! just imagine that! > > Don't wait! You have to live the MorphicWrappers > experience, then, you'll have the experience to say "I don't > like MWs", but you won't say > it. > Go get them at http://mathMorphs.swiki.net/MorphicWrappers > > Interfacing Bye! > Once again, Richie > > --- For a personal reply use gera@core-sdi.com > > From Torsten.Bergmann at phaidros.com Sat Jun 16 07:28:46 2001 From: Torsten.Bergmann at phaidros.com (Torsten.Bergmann@phaidros.com) Date: Sat Jan 28 04:00:33 2012 Subject: SuperSwiki Message-ID: <904AA220ACB4D211A10600104B3E85C92604D9@MAIL> Jerry Bell wrote: >Bob's SuperSwiki is very cool. I'd like to set up a local SuperSwiki to >play with here. I've had trouble finding details- is the code for a >SuperSwiki publically available? If so, where? I've looked around the >image a bit, but I haven't found the server code itself. I've set up an own local super swiki too. You need to install a Comanche46/11 and the following files from the super swikis upload directory (http://209.143.91.36/super/uploads/): "BobSwikiMods.15Mar1745.cs" Bobs Midifications on Comanche "BSS michael 21-2-01.sit" Contains the xml templates for the swiki You can also use the image Bob is using: "swikiTest29.changes.sit" "swikiTest29.image.sit" To use your normal Squeak image with this new super swiki add it as a new server to the blue file list with: |s| s := SuperSwikiServer new type: #http; server: '127.0.0.1:8080'; directory: '/super/SuperSwikiProj'. ServerDirectory addServer: s named: 'Local SuperSwiki' Have fun, Torsten From bparsia at email.unc.edu Mon Jun 11 21:54:57 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:00:35 2012 Subject: Squeak ate my day's work! (or: how do I get my code out of an image?) In-Reply-To: Message-ID: <144652478.992282097@JANEG-PC2> --On Monday, June 11, 2001 4:05 PM -0500 Aaron J Reichow wrote: > Good afternoon everyone, > > I was happily Squeaking along at work today, when the machine which shared > my image, changes, and VM file crashed. VM and image remained up and > running, but I could no longer browse code. (Message Not Understood: > isSeperator) I've had this happen before, Ouch! Is this a Squeak issue or a machine issue? > and simply waiting for the > machine to come back up and doing a save as... and restarting right where > I left off from the newly saved image. > > Today, that didn't work. > > I managed to copy the image file (Windows 2000 at the GUI and command line > level tells me "The specified network name is no longer available" when I > try to copy the changes file). However, when I open up the image file, I > can't file out any of the reconscructed (by the decompiler) code. Are you sure your changes file is hosed? I mean, what happened to the *orginal* (not the save ased) changes file? It's pretty easy to reconstruct an image from a changes file. (but if you don't have it, you don't have it) > My questions: > > 1. I still have the broken image up and running. Is there *anything* I > can do to restore the image and changes files? Attempting to save on a > local drive doesn't work, as it cannot access the original changes file. Again, do you still *have* the original changes file, anywhere? If so, you may be able, aside from fileing in changes to a fresh image, reset the path that the image is using to not find the changes file. Does the specified network name not being available mean that the *file* isn't available? I'm confused by that. > 2. If I'm only left with the image file, is there any way to salvage my > code from it? Eh...Only the decompiled code (no comments or variable names :(). Cheers, Bijan Parsia. From JArchibald at aol.com Wed Jun 13 15:45:28 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:00:37 2012 Subject: a morphic tutorial in morphic Message-ID: <97.16ca5a80.2858e498@aol.com> => 6/13/01 8:30:56 AM EDT, joey@joeygibson.com => << On my Win2k system, my first blue click on the blue box morph gets the book morph, second blue gets the page and the third blue gets the Blue morph in question. A fourth blue click cycles back to the book morph. Try that. >> Joey, Aha! And of course, once you have that knowledge, you can properly interpret the statement: "Press the blue button (or Alt plus the red button) until you obtain a halo around Joe." which follow in the same paragraph. I knew there must be something I was missing. I would recommend the wording, "Press the blue button repreatedly ...". Thanks, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From jdbell at fareselaw.com Wed Jun 6 15:37:03 2001 From: jdbell at fareselaw.com (Jerry Bell) Date: Sat Jan 28 04:00:38 2012 Subject: On interfaces - Morphic Wrappers Message-ID: <909E88754E6BD411926B00400531D64AC9649B@CLEVINGER> Extremely good news! I for one am really looking forward to seeing what this "omniuser" environment shapes up to be. Are there any clues in the image as it stands now, experimental add-ons, or notes/sketches available? Jerry Bell jdbell@fareselaw.com > -----Original Message----- > From: Alan Kay [mailto:Alan.Kay@squeakland.org] > Sent: Wednesday, June 06, 2001 11:24 AM > To: squeak@cs.uiuc.edu > Cc: recipient list not shown; @cs.uiuc.edu > Subject: RE: On interfaces - Morphic Wrappers > > > We like it too. We have an itch to make it fit in a little more with > the main stream "omniuser" environment (and with Nathanial's Genie > recognizer) that is s l o w l y being built by us, > and we just haven't had the time to give Morphic Wrappers the > attention it deserves. There clearly should also be an integration of > some of Ned Konz's stuff into the "writing on air" interface. > > Also, the exit from Disney has slowed things down a bit. > > Cheers, > > Alan and Dan > From johnmci at smalltalkconsulting.com Wed Jun 13 05:07:08 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:00:42 2012 Subject: Squeak in tomorrow's NY Times Markoff column. In-Reply-To: <5.0.2.1.0.20010612195900.02372cc0@hand2mouse.com> References: <5.0.2.1.0.20010612195900.02372cc0@hand2mouse.com> Message-ID: http://www.nytimes.com/2001/06/13/technology/13PROG.html (subscription required) It's really about Alan's departure from Disney, but has some nice comments like >Squeak was designed to be a complete computer programming >environment that allows children to create their own complex >computer programs, rich in sound and graphics and capable of running >on many different kinds of computers. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From lex at cc.gatech.edu Mon Jun 25 21:30:13 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:00:43 2012 Subject: [BUG][FIX] ifError: error blocks are often incorrect References: <200106250950.CAA18030@q7.q7.com> Message-ID: mdr@scn.org (Mike Rutenberg) wrote: > In 5 methods, people have coded natural but incorrect exception > handling of the form > [normalExpression] ifError: [errorResultExpression] > The allowed form is presently only: > [normalExpression] ifError: [ :err :rcvr | errorResultExpression] > > For, example, > ImageSegment>>copyFromRoots:sizeHint:areUnique: > has the incorrect expression > [outPointerArray _ Array new: segSize // 20] ifError: [ > state _ #tooBig. ^ self]. > > Since the error block is not checked for the right number of arguments, > this mistake will remain dormant until the error exception is actually > taken. A debugger will appear complaining that the block is being > evaluated with the wrong number of arguments. > IMHO, the much bigger problem is that there is code in the image that has never been run! Statement coverage will always flush out this error, and statement coverage is a pretty minimal level of testing. That said, I don't *mind* if ifError: does the check. -Lex From bparsia at email.unc.edu Sat Jun 2 12:02:59 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:00:44 2012 Subject: Solutions Conference Confirmation Monday, April In-Reply-To: <200106020617.XAA05344@yoda.bmi.net> Message-ID: Just a quick warning: this isn't from Les *per se*. Les is the victim of what he describes as a fairly nasty virus. It's a windows email virus, and, IIRC, it worked because a justly scare quoted "friend of Les" (FoL (but *loooooong* 'O' there :)), was checking mail with pine, noted the attachment, *downloaded it* to the borrowed windows machine, and *ran* it. It's a file destroyer, so take due precautions. Cheers, Bijan Parisa. From Dan at SqueakLand.org Thu Jun 21 19:22:17 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:00:45 2012 Subject: New Block Closures In-Reply-To: <41c1338e4a.rowledge@goldskin.stcla1.sfba.home.com> References: <41c1338e4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: Anthony Hannan wrote... > > My stacks are regular heap allocated objects that chain together when they >> get full. A stack holds context information for many contexts in a row. >> The main benefit I see is that it eliminates the need to copy the receiver >> and arguments on every message send. It only needs to do this copy when > > creating a new stack when the current stack is full. Tim Rowledge replied... >A really quite intelligable description of this scheme can be found in >Eliot Miranda's 1987 OOPSLA paper on BrouHaHa. A reasonably well done >implementation is probably worth a near doubling of send heavy >benchmarks. Yay, Back to the Future! I did this in the NoteTaker Smalltalk implementation (1978) for an 8086 that ran at 8 (count 'em) MHz. The ref is page 19 of the "green book" where the figure of 6 (count 'em) k bytes for the kernel interpreter also appears. Interestingly I ran into Al Kossow a couple of weeks ago, and he forwarded to me a disk image that included the old code for the NoteTaker interpreter. - Dan -- From m.rueger at acm.org Thu Jun 21 22:16:15 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:00:46 2012 Subject: historical note (was: New Block Closures) References: <41c1338e4a.rowledge@goldskin.stcla1.sfba.home.com> <01062117070501.00883@gandalf.merlintec.com> Message-ID: <3B32722F.99EFF00C@acm.org> Dan Ingalls wrote: > > (we couldn't get 8MHz chips until late in the project ;-). This was for a suitcase-sized computer. My iPAQ runs Squeak about 100 times faster, has 100 times as much memory, color, etc. > > Now why haven't we made such amazing progress in software? Huh? Well, we have: todays programms run 100 times slower, 100 times more memory and in color ;-) Michael From dway at riskmetrics.com Wed Jun 27 04:38:57 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:00:47 2012 Subject: Very slow performance on faster machine In-Reply-To: <009501c0feab$65a8d500$0201a8c0@honda> Message-ID: On Tue, 26 Jun 2001 20:49:26 -0500 timcuth@bellsouth.net (Tim Cuthbertson) wrote: >Does anyone know why Squeak 3.1 alpha would perform so extremely slowly on my >office computer (500 mHz P-III, 256 MB RAM, Win NT 4.0 SP-6) when it performs >very snappily on my much less capable home machine (P-II 300, 128 MB, >Win98SE)? E.g., it takes about 4 seconds, maybe more, to print 1 factorial. >Everything is similarly slow. If it's just Squeak and not other Windows apps that are slower on this machine, you may want to make sure that there's not something wrong with your image. Does a freshly downloaded 3.1alpha image perform this slowly? Also, it might be worth checking the CPU meter in the Windows task manager while Squeak is running (and while it's not running) to see if anything unusual is going on. - Doug Way dway@riskmetrics.com From hmm at heeg.de Fri Jun 1 16:08:44 2001 From: hmm at heeg.de (Hans-Martin Mosner) Date: Sat Jan 28 04:00:51 2012 Subject: [ANN] StableSqueak first release - 0.1! References: Message-ID: <3B17BE0C.C6EA57B8@heeg.de> Very nice looking stuff! I just poked some random functionality, and here is one thing I stumbled across: After loading SUnitConfig and BaseTests, I opened the TestRunner and did a RunAll. This brings up a walkback in CollectionIntervalTest(CollectionProtocolTest)>>testAllSatisfyErrors. Is this a known problem? AFAICT, the collection behavior is correct (it raises Error where it should) but the SUnit framework seems to miss the exception. Cheers, Hans-Martin From Dan at SqueakLand.org Sun Jun 10 16:20:15 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:00:53 2012 Subject: BitBlt question In-Reply-To: <3B2336BD.C9A96709@chello.se> References: <3B226B2D.1EA54A83@chello.se> <20010609192940V.Yoshiki.Ohshima@disney.com> <3B2336BD.C9A96709@chello.se> Message-ID: >I have not found a way to 'ligthen' the image using this rule. Karl - This might not be complicated enough, but set your display depth to 32 and try... Display fill: Display boundingBox rule: Form blend fillColor: (Color white alpha: 0.1) In a loop to 20 it does a reasonable fade to white. Use "black" to darken, naturally. - Dan -- From tim at sumeru.stanford.edu Wed Jun 20 22:36:51 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:00:57 2012 Subject: Morphic "performance" [sic] In-Reply-To: References: Message-ID: <7b11cc8d4a.rowledge@goldskin.stcla1.sfba.home.com> "Noel J. Bergman" is widely believed to have written: > A 50% overall improvement in Morphic would be a start, and 30% lighter in > space might turn into even more performance on cache-light processors. Damn right - get that code out there Andreas! > > With respect to Morphic performance, Tim has said on a couple of occasions > that, in his opinion, a 4x overall improvement in "normal case performance" > could be achieved, but that "somebody has to have the time to tackle it." > One area he mentioned was that Morphic uses floating point extensively, and > that is a major problem for some processors. He quoted a 10x drop in > performance going from real to emulated floating point, in one experiment. My thesis ( and one I'm quite aware could be proved completely wrong if ever it were possible to find time to really test it) is that a lot of the code in morphic is there to allow all the wonderfully clever things and that it ought to be possible (aside from all the normal performance improving stuff we know and love) to make sure that the 'ordinary' morphs (simple lists, text views, buttons, windows etc) do everything as simply as possible. My claim is something like :- "the tricky stuff is rarely used so make sure that not having it allows it to cost nothing". Or something like that. I think that a reasonable approach would be to have some way to create basic morphs to do basic work and have them morph into clever morphs if a clever facility is needed. > > And no, I wasn't trying to cajole Tim into doing the work. I really did > interpret his comments the other night as suggesting that he was "in the > mood" to tackle Morphic's performance problems. Very much in the mood, but completely out of money to allow the time to try it. Gimme a job! tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim E Pluribus UNIX. From jk at xylema.org Sat Jun 30 15:27:37 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:01:00 2012 Subject: Supporting newish input devices Message-ID: <15165.61417.328000.732311@noontide.demon.co.uk> I've got some (PC) peripherals it would be nice to have more support for, and I've started to dig around looking at adding some. I'd appreciate any comments on the feasibility or folly of these: wacom tablet. By default, this acts as another way to move the mouse cursor, but can be used as a another, independent, pointing device. I'd like to have two separate Hands, the pen one having genie on and the mouse one not. MS Intellimouse. It's got five buttons; it'd be nice to use them all... windows keyboard. I'd like to be able to use the windows and menu keys - could someone point be at where global key bindings live? Is there a utility that dumps out the keyboard stream (or something like emacs' view-lossage)? thanks, John From RossBoylan at stanfordalumni.org Fri Jun 29 20:16:18 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:01:02 2012 Subject: Cassowary Demo Question In-Reply-To: <20010629075926.A28840@cc.gatech.edu> References: <5.1.0.14.0.20010629012505.00afc5d0@mail.earthlink.net> <20010629075926.A28840@cc.gatech.edu> Message-ID: <20010629131618.E2597@wheat.boylan.org> On Fri, Jun 29, 2001 at 07:59:26AM -0400, Joshua 'Schwa' Gargus wrote: > Hi Ross, > > On Fri, Jun 29, 2001 at 01:35:06AM -0700, Ross Boylan wrote: > > I hate to be dense, but what do the demos do? > > The demos are broken. Apparently, the demo morphs are not well-behaved > morphs. When they are stored into a project, they don't properly store > their Cassowary solver state. I'm looking into this right now... > > > Or where does one find what > > the demos do? I see if I click on things stuff happens, though it seems to > > be mostly one way--things disappear after awhile. > > Try "ClCrossedQuadDemo new openInWorld", etc. This will give you fresh, > well-behaved demos. Yes, that works much better! With that and your pointer to the right method, I have a fighting chance. From bparsia at email.unc.edu Sun Jun 17 19:27:13 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:01:02 2012 Subject: [newbie] Complex boolean value? In-Reply-To: <3B2CF3D5.4050404@terminal.cz> Message-ID: <654188275.992791633@JANEG-PC2> --On Sunday, June 17, 2001 8:15 PM +0200 Frantisek Fuka wrote: > Sorry about my stupid question but I started to experiment with Squeak > yesterday and when I wanted to come up with Boolean expression to check > if any of the 3 conditions is true, I came up with this: > > ((value < 1 or: [value > x1]) or: [value > x2]) > ifTrue: [self error: 'Invalid value']. > > It works, but it looks rather complex. How to do this more "cleanly", > with less parentheses? You could use | (and for #and:, &) (value < 1) | (value > x1) | (value > x2) ifTrue: [self error: 'Invalid value']. Or parallel ifTrue:s value < 1 ifTrue: [self error: 'Invalid value']. value > x1 ifTrue: [self error: 'Invalid value']. value > x2 ifTrue: [self error: 'Invalid value']. Yick. A code smell wafts for sure. However, it seems a bit of a weird set of tests to begin with. Hope this helps. Cheers, Bijan Parsia. From karl.ramberg at chello.se Sun Jun 17 15:29:38 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:01:03 2012 Subject: Bitmap accessing References: <200106171502.LAA01367@fellspt.charm.net> Message-ID: <3B2CCCDF.F7EE4C65@chello.se> Bob Arning wrote: > > Karl, > > Bitmaps contain 32-bit integers. If the Form is 8 or 16 bits deep, then one word in the Bitmap contains the data for 4 or 2 pixels. Accessing these pixels requires shifting and masking to get the appropriate portion of the 32-bit word. Ok, seems to work if I change to: 1 to: largeness do:[:c| i _ bilde at: c. oldpixel _ Color colorFromPixelValue: i depth: d. newpixel_ oldpixel pixelValueForDepth:d. test_ Color new pixelWordFor:d filledWith: newpixel. pixels at: c put: test] Karl > On Sun, 17 Jun 2001 15:54:12 +0200 Karl Ramberg wrote: > >pixels _ newImage form bits. > >oldBits _ oldForm bits. > >largeness _ oldBits size. > >d _ oldForm depth. > >1 to: largeness do:[:c| i _ oldBits at: c. > > oldpixel _ Color colorFromPixelValue: i depth: d. > > pixels at: c put: (oldpixel pixelValueForDepth: d)] > > > >It works as expected in 32 bits depth but in 16 or 8 > >bits I get vertical stripes of transparency... > > > >Anybody know why ? From marcel at metaobject.com Sun Jun 3 13:23:26 2001 From: marcel at metaobject.com (Marcel Weiher) Date: Sat Jan 28 04:01:03 2012 Subject: Squeak for iPAQ In-Reply-To: Message-ID: On Samstag, Mai 12, 2001, at 04:14 Uhr, Noel J. Bergman wrote: > >> there may be an unexpected interaction between Windows CE and event > processing. > > That would impact Morphic but not MVC? Very possible. I saw some pretty nasty interactions between Morphic + the new event handling code and MacOS-X's event system that madea 233 MHz G3 pretty much unusable in Morphic, though everything was fine in MVC. Marcel From rms at cs.brown.edu Sat Jun 30 23:15:41 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:01:06 2012 Subject: newbie question - killing a process In-Reply-To: <200106302240.SAA07939@fellspt.charm.net> Message-ID: On Sat, 30 Jun 2001, Bob Arning wrote: > On Sat, 30 Jun 2001 18:14:58 -0400 (EDT) Rosemary Michelle Simpson wrote: > >Well, that worked on getting a consistent 15 processes. I discovered that > >if I terminate a process labeled "a Process in ProcessorScheduler > >class>>idleProcess" I freeze not only Squeak but my machine and > >terminating a process labeled "a Process in Delay class>>DoIt" freezes > >Squeak but I can still quit from the top menubar File menu. The clock is > >still running. Here are the fifteen process descriptions: > > Well, let's see... > > -- these look normal and should be left alone -- > >1 a Process in Delay class>>DoIt > >2 a Process in WeakArray class>>DoIt > >13 a Process in InputSensor>>userInterruptWatcher > >14 a Process in SystemDictionary>>lowSpaceWatcher > >15 a Process in ProcessorScheduler class>>idleProcess > > -- one or both of these are normal -- > >11 a Process in Delay>>wait > >12 a Process in Delay>>wait > > -- these are terminated processes. something is keeping them around -- > >3 a Process in nil > >9 a Process in nil > >10 a Process in nil > > -- these are processes for which a debugger is open. try dismissing all open debuggers -- > >4 a Process in Debugger class>>openContext:label:contents: > >5 a Process in Debugger class>>openContext:label:contents: > >6 a Process in Debugger class>>openContext:label:contents: > >7 a Process in Debugger class>>openContext:label:contents: > >8 a Process in Debugger class>>openContext:label:contents: > > Try doing this (again, all at once): > > Smalltalk garbageCollect. > Process allInstances do: [ :p | PointerFinder on: p]. > > This will open a pinkish window for each process showing what's keeping it in the image. The processes in the third and fourth groups above are the ones you are interestd in getting rid of. OK. I terminated all the debug processes, which sent them to nil but kept them around. I saved and quit and then opened again and ran the PointerFinder loop. The vast majority of the pink windows have the following message, which I suspect refers to the 'process is nil' processes: #ScheduleControllers -> ControlManager activeController: ProjectController model: Project activeProcess: Process suspendedContext: MethodContext 1. Process does that provide any further info? Is there any additional way of getting rid of them since terminate doesn't? The clock is still running, btw. R> From bolot at cc.gatech.edu Tue Jun 5 22:22:07 2001 From: bolot at cc.gatech.edu (Bolot Kerimbaev) Date: Sat Jan 28 04:01:10 2012 Subject: SyntaxHighlighting on 3.0 In-Reply-To: <4.2.0.58.20010426090657.00b17720@munich.netsurf.de>; from Helge.Horch@munich.netsurf.de on Thu, Apr 26, 2001 at 09:20:07AM +0200 References: <20010425231844.A22739@cc.gatech.edu> <4.2.0.58.20010426090657.00b17720@munich.netsurf.de> Message-ID: <20010605182207.A29218@cc.gatech.edu> Here's a new update on SyntaxHighlighting goodie. This one incorporates Helge's updates from Apr 26, and does a more radical migration to syntax highlighting: instead of changing all methods that call #makeSelectorBoldIn: and #askIfAddStyle:req:, these methods are changed to call either their original versions or the syntax highlighting code (driven by the Preferences browseWithPrettyPrint). http://fce.cc.gatech.edu/~bolot/squeak/opp/sq31-syntaxHighlighting.05Jun1813.cs A reminder: this is Helge Horch's work, I just tweaked it to work with Squeak 3.1. Bolot From lamneth at sympatico.ca Sat Jun 16 18:21:25 2001 From: lamneth at sympatico.ca (Benoit St-Jean) Date: Sat Jan 28 04:01:11 2012 Subject: test Message-ID: <3B2BA3A4.2EA5EBA2@sympatico.ca> test?!?! From lamneth at sympatico.ca Sat Jun 16 19:11:23 2001 From: lamneth at sympatico.ca (Benoit St-Jean) Date: Sat Jan 28 04:01:12 2012 Subject: Sorry... References: <3B2B9D16.58C116BB@sympatico.ca> <001201c0f695$920f2540$3a97e5cf@kb9ngi> Message-ID: <3B2BAF5B.66B830FA@sympatico.ca> Jim Beyer wrote: > C+ Sorry guys... My problem is fixed now... For some very strange reason, I was able to post but I could not receive anything! I just unsubscribed and subscribed again and everything's fine now... Sorry again for those zillion tests... I'm squeaking again! :) From schwa at cc.gatech.edu Fri Jun 29 12:02:55 2001 From: schwa at cc.gatech.edu (Joshua 'Schwa' Gargus) Date: Sat Jan 28 04:01:14 2012 Subject: Cassowary Demo Question In-Reply-To: <20010629075926.A28840@cc.gatech.edu>; from schwa@cc.gatech.edu on Fri, Jun 29, 2001 at 07:59:26AM -0400 References: <5.1.0.14.0.20010629012505.00afc5d0@mail.earthlink.net> <20010629075926.A28840@cc.gatech.edu> Message-ID: <20010629080255.B28840@cc.gatech.edu> A small correction... On Fri, Jun 29, 2001 at 07:59:26AM -0400, Joshua 'Schwa' Gargus wrote: > Hi Ross, > > On Fri, Jun 29, 2001 at 01:35:06AM -0700, Ross Boylan wrote: > > I hate to be dense, but what do the demos do? > > The demos are broken. Apparently, the demo morphs are not well-behaved > morphs. When they are stored into a project, they don't properly store > their Cassowary solver state. I'm looking into this right now... Actually, they don't copy the solver state even when you duplicate a properly-functioning demo morph. I'll let you know when it's fixed. Joshua From Dan at SqueakLand.org Mon Jun 25 15:45:39 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:01:14 2012 Subject: Nebraska question In-Reply-To: <200106250441.OAA29213@bondi.austlii.edu.au> References: <200106250441.OAA29213@bondi.austlii.edu.au> Message-ID: >I've been playing around with Nebraska a little and have a question. > >Is it possible with the code as it now stands to have an image serving >out multiple active worlds (so that, for example, two different users >can be browsing two different projects? And that they can change the >project they are looking at without affecting the project the other user >is viewing?) > >If it isn't, how much would I need to do (roughly) to implement this? > >I am wondering whether Nebraska could be used as a sort of graphical >MUD/MOO, with projects being similar to 'rooms'. Russell - This is a great question. There are two parts to the answer, as I see things: 1. We would need to be able to have multiple projects active at the same time. This is already possible in certain ways. An interesting aspect to what you seek is that it is in this sense equivalent to another significant potential improvement to Squeak: namely, running multiple projects in multiple OS windows. 2. The other thing that is required is also equivalent to another important current need in Squeak, and that is to run separate name spaces in separate projects so that multiple projects will not cause reference conflicts. We expect to have this out in the system imminently. It is only my being somewhat scattered that has caused it to wait this long :(. Therefore, I don't think it would be that hard to do what you ask, and I think it could be a lot of fun. - Dan -- From reic0024 at d.umn.edu Wed Jun 20 22:26:17 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:01:14 2012 Subject: Funky behavior of hidden morphs? In-Reply-To: <014501c0f9d0$b3800800$6401a8c0@we.mediaone.net> Message-ID: > What version are you using? I've tried this in Squeak 3.0 final and Squeak > 3.1-4081 and cannot replicate this black square phenom. Insert the usual > list of questions here. What version of the image, which VM etc, etc. You're > saying a stock, freshly downloaded image doesn't work? I'm using Squeak 3.0 final #3545 on Win32 with Squeak-GL. This occurs in my own image. I just tried the unmodified 3.0final image, and didn't get the same problem. However, I do not the invisible-window-recieving-events phenomenon you speak of. I'll have a look at rejectsEvent:... Thanks! Aaron From lamneth at sympatico.ca Sat Jun 16 18:22:52 2001 From: lamneth at sympatico.ca (Benoit St-Jean) Date: Sat Jan 28 04:01:16 2012 Subject: test Message-ID: <3B2BA3FB.EAA88301@sympatico.ca> After 108749387429 tries, I hope I'll see this one... :( From ok at atlas.otago.ac.nz Tue Jun 26 00:14:29 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:01:20 2012 Subject: Undoing changes Message-ID: <200106260014.MAA178522@atlas.otago.ac.nz> "look like Dot" is indeed a problem which should be fixed. What's the best way to do it? A new tile "lookLikeMySelf"? I suppose "takeOffClothes" isn't great for little kids :), but takeOffCostume might be okay. Why use three words when two (removeCostume) will do? More generally, wearPreviousCostume "Don the next costume in the history and add the current one to the history. Repeating this will cycle through all the costumes that have been used." costumes addLast: costume. ^self renderedCostume: costumes removeFirst. I _think_ this works, but I don't begin to understand Players, so there is bound to be something wrong with it. From DiegoGomezDeck at ConsultAr.com Tue Jun 19 00:06:05 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:01:21 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: <3B2E92C6.ADB388C2@NetJam.ORG> References: Message-ID: <5.1.0.14.0.20010618210420.00bc3368@mail.consultar.com> > > Noel writes: > > > I was refering to the use of GAPI *with* landscape orientation. :-) Those > > are the portions of display code I thought probably need some work. :-) > > Hmm; it seems to work properly on my machine. Which VM works?? and Which product (JS Lanndscape or NVD) ?? >-C > >-- >Craig Latta >composer and computer scientist >craig.latta@netjam.org >www.netjam.org >crl@watson.ibm.com >Smalltalkers do: [:it | All with: Class, (And love: it)] Cheers, Diego Gomez Deck From karl.ramberg at chello.se Tue Jun 26 06:03:14 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:01:21 2012 Subject: nice new swiki look Message-ID: <3B38259A.40E63159@chello.se> Je77 The new look is great, thanks. Karl From jhinsley at telinco.co.uk Fri Jun 8 15:34:43 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:01:22 2012 Subject: TexFileOut problems References: <200106080140.NAA25806@atlas.otago.ac.nz> <3B2047BB.C1B968FD@telinco.co.uk> <3B20552D.109387AE@cvtci.com.ar> Message-ID: <3B20F093.3C8F0937@telinco.co.uk> Andres Valloud wrote: > > Hello. > > > Since then Thomas Kuehne and Andres Valloud himself have put me on the > > right track. It really is a fine little tool, and getting it to produce > > TeX which resolves into a printeable and beautifully formatted dvi file > > requires very little. But, if it could be made to produce LaTeX output > > which was "well behaved" enough for reLyX to accept, (or even to produce > > LyXable output) we'd have a fully functioning documentation system which > > would -- I think -- be unbeatable. > > I have never used LaTeX. You may want to take a look at the macros used > in the class TeXFileOut. You definitely know more LaTeX than I do. Try > subclassing TeXFileOut into say LaTeXFileOut. Then, you could take a > look at the methods that define the macros used, like vboxes, hboxes, > fonts and the like. By reimplementing them I think it should be pretty > straightforward to get a well behaved LaTeX file out. It should be > pretty easy, I wrote TeX macros once and only once in their own > messages. > > Let me know if I can be of any help. And > I responded to this in the Squeak mailing list... but I wanted to > mention a hidden feature. If you want it to stop splitting methods > across pages, turn on the useVBoxes preference by sending a message to > the TeXFileOut class. Thanks Andres I'll take a look: but it'll have to wait 3 or 4 months. So if anyone wants to make a start on this right away (Thomas?) please feel free. ;-) For those who are following this but are struggling to work out what the fuss is all about, TeX and LaTeX are typesetting tools developed by Knuth. reLyX is a command line tool which converts "well behaved" LaTeX to a format which LyX will accept -- it's *very* fussy. LyX is a super Open Source WYSIWYM document processor which can produce final output as postscript and will accept postscript "images" (which Gimp or Photoshop, for example, will produce from gifs and other formats -- made with Squeak's Image Capture facility, perhaps). Put all these together and you'd have an easy way of further documenting the beautifully formatted output which TexFileOut produces (which could be re-edited without delving into the complexities of TeX/LaTeX) and illustrating what code snippets produce -- nicer to show the output of (say) as an image as well as code, methinks. Final output as postscript which common Open Source tools can convert to pdf for distribution to the masses. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From lex at cc.gatech.edu Wed Jun 20 02:48:15 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:01:22 2012 Subject: MPEG on Windows NT? Message-ID: Has anyone had luck with MPEG on Windows NT? A couple of us have been testing with an MPEG file called "AlienSong", and we're suddenly getting protection faults at a very predictable position in the replay. I know I've seen this exact MPEG work on NT before, and it works fine under Linux, but now it crashes Squeak on NT. We've tried: - 16-bit and 32-bit depths for the screen (choosing little-endian when given the choice) - 2.8, 3.0, and 3.1-somethinglarge images - the newest Squeak/Win VM, and the fixed one STP (I think it was) posted last time I asked about MPEG troubles It might well be something that has changed in our NT setup... But I don't even know where to look. Squeak's crash.dmp is appended (thanks Andreas!), which shows the system to be crashing inside of the primitive that decodes a video frame. The MPEG is at: http://coweb.cc.gatech.edu:8888/cs2340/uploads/AlienSong.mpg Any ideas? Has anyone else been trying MPEG on Windows NT? If you get it to work, can you recommend a VM plus DLL to use? -Lex From jeff at szuhay.org Fri Jun 15 20:41:36 2001 From: jeff at szuhay.org (Jeff Szuhay) Date: Sat Jan 28 04:01:24 2012 Subject: Squeak in reuters post this evening Message-ID: >I only get >The news story you have requested is unavailable. >when I click on the link. Could someone forward the text ? MacCentral is rehashing this report on their web site. The direct link is 8-) -- ************************************************** Jeff Szuhay A randomly-directed www.szuhay.org chaotical wetware pattern jeff@szuhay.org recognizer/generator. When there's more sick ones than well ones, by golly the sick ones will lock the well ones up. --Eric F. Goldman [Crucial Decade] From m.rueger at acm.org Sat Jun 16 07:37:24 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:01:24 2012 Subject: SuperSwiki References: <904AA220ACB4D211A10600104B3E85C92604D9@MAIL> Message-ID: <3B2B0CB4.9F28889E@acm.org> Torsten.Bergmann@phaidros.com wrote: > To use your normal Squeak image with this new super swiki add it as a new > server to the blue file list with: If you are running the Superswiki on a Linux box it is also helpful to have it connect to a VNC server instead of running it headless. Oh, and don't forget to turn off the source and changes file checks if you are running Squeak headless. Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From karl.ramberg at chello.se Sun Jun 17 13:54:12 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:01:26 2012 Subject: Bitmap accessing Message-ID: <3B2CB680.8391A3BB@chello.se> I run the code pixels _ newImage form bits. oldBits _ oldForm bits. largeness _ oldBits size. d _ oldForm depth. 1 to: largeness do:[:c| i _ oldBits at: c. oldpixel _ Color colorFromPixelValue: i depth: d. pixels at: c put: (oldpixel pixelValueForDepth: d)] It works as expected in 32 bits depth but in 16 or 8 bits I get vertical stripes of transparency... Anybody know why ? Karl From ok at atlas.otago.ac.nz Tue Jun 19 06:33:27 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:01:27 2012 Subject: [newbie] Complex boolean value? Message-ID: <200106190633.SAA123614@atlas.otago.ac.nz> JArchibald@aol.com affirms that he uses 'binary message' not for messages that are binary, but for messages that are spelled without letters, and writes: What is confusing is to introduce concepts from other languages, and expect them to do as good a job in describing Smalltalk programs as Smalltalk's own concepts. To be honest, I hadn't thought of "operator" as a programming language concept at all. It certainly has nothing to do with precedence, or any particular programming language. And if you'd tried teaching Smalltalk to people who had recently learned about the difference between I mode and A mode in FTP, you might not find "binary message" so intuitive to them. Let's face it, "number" is a concept from other languages too, and if "Boolean" wasn't in Algol before it was in Smalltalk I must have hallucinated every copy of the Algol 60 report I've ever seen. Nor is "stream" a concept peculiar to Smalltalk. What matters is not whether terms or concepts are used in describing other languages or are peculiar to Smalltalk, but whether they *work*. Since unary/binary/keyword is not a TRUE description (keyword messages may be unary and they may be binary), the simple fact that that terminology WAS used in Smalltalk and IS used by some Smalltalkers does NOT mean that it is appropriate for all Smalltalkers for all time. Note that I am not advocating that everyone use the term "operator" for (historically-so-called) "binary selectors" (not messages!), nor am I advocating a wholesale revision of Smalltalk terminology. What I *am* doing is defending my use of "operator" as being at least as truthful as "binary message" (more truthful, in fact, since #+ is not a message, it's a selector) and as appropriate in context. If anyone wants to argue about this any more, please don't. We have better things to do in this mailing list. From tyrrell at canis.uiuc.edu Sat Jun 2 06:17:49 2001 From: tyrrell at canis.uiuc.edu (Les Tyrrell) Date: Sat Jan 28 04:01:28 2012 Subject: Solutions Conference Confirmation Message-ID: <200106020617.XAA05344@yoda.bmi.net> 11, 2001 Stephens Convention Center 5555 N River Road Rosemont, IL 60018 USA You are registered for the following: Leslie A Tyrrell UIUC 234 Apple Ree Dr Urbana IL 61802-7371 Fee Description: Fee: Payments: Balance: Full Conf Reg w/2 Tutorial by 3/1/2001 $1,247. -------------- next part -------------- A non-text attachment was scrubbed... Name: OEMRNCE.EXE Type: application/octet-stream Size: 51712 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010601/91a11eb6/OEMRNCE.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: Leslie Tyrrell.doc Type: application/octet-stream Size: 20480 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010601/91a11eb6/LeslieTyrrell.obj From bparsia at email.unc.edu Sun Jun 24 03:51:14 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:01:32 2012 Subject: historical note (was: New Block Closures) In-Reply-To: Message-ID: On Sat, 23 Jun 2001, Alan Kay wrote: > Revolutions come from standing on the shoulders of giants and facing > in a better direction. Hmm. Seems to me that the sensible thing to do when standing on the shoulder of giants is *not look down* :) (It's windy up there!) Cheers, Bijan Parsia. From editor at squeaknews.com Tue Jun 19 10:41:15 2001 From: editor at squeaknews.com (Editor) Date: Sat Jan 28 04:01:37 2012 Subject: [ANN][ADV]Squeak News E-Zine First ever issue References: <0A86973A0847D4119E1B00508BAD3040B7DA8B@civntex1.civ.utwente.nl> Message-ID: <3B2F2C4B.81537632@squeaknews.com> G.J.Tielemans@dinkel.utwente.nl wrote: > Saw the index... > > 1. Will there be a column like "Squeak for Dummies"? We are planning a "beginner's corner" hopefully will cater for what you want. > > 2. Will you cover "Swiki for non-webmasters"? If we can find a volunteer to write about it. Any takers? Cheers Tansel From wuyts at iam.unibe.ch Tue Jun 26 13:59:40 2001 From: wuyts at iam.unibe.ch (Roel Wuyts) Date: Sat Jan 28 04:01:39 2012 Subject: Fellow Squeaker with project you might find interesting In-Reply-To: Message-ID: Sorry, I couldn't read my mail the last week or so, but now I'm 'back in business' :-) I hope to find some time to have a more thorough look at your stuff, but this sounds a lot like the nested lazy streams I use in the previous implementation of SOUL. These streams are created as wrappers around existing collections or use a general block to define whatever you want (such as infinite streams of numbers etc.). Then you can enumerate these streams (such as asking for elements one at a time, or trying to get all elements, etc.). But of course, this is still very basic. Like you mentioned, you also want to be able to define a new stream as some operation over the elements of another stream (like a map in functional programming), for example to created a 'square numbers' stream. Besides this, I also have a special stream that wraps to streams and combines their elements according to a block. All computation is lazy: whenever you ask for a next element, only the necessary elemenents are calculated. I used this to implement the logic interpretation of SOUL in a more or less functional fashion, just because it was easy to do. Note that this implementation with streams is now replaced in the squeak implementation of SOUL by a stack-based version implemented by Johan Brichau and other people at PROG. This speeds up the logic interpretation, because it's more efficient to implement it with a stack, but bot nearly as much fun :-) On 16/06/01 22:51, "Brian Rice" wrote: > Hi Roel and Squeakers, > I've played around with QSOUL a little and considered your ideas. I > am heavily involved in my own somewhat similar but less orthodox (not > that yours is orthodox in most senses ;) project, and I thought I'd > share what I'd developed. > > The source code is at http://www.tunes.org/~water/arrow and most of > it is not relevant to your average Smalltalker. However, I managed to > create a really neat little utility that others interesting in > functional/logic ideas would find possibly useful to look at. (Please > ignore the project file which contains out-of-date code.) > > I have these lazy (immutable but often infinite) collections with > caches which can be made either Weak or regular Sets for the various > purposes these collections play. Because they contain arrows (this is > the part most irrelevant to Smalltalkers), I call them graphs, but > otherwise your average Smalltalker should not find them too difficult. > > Anyway, part of the protocol is that I can take lazy collections of > objects and filter them with a block as a one-item predicate query. > ArrowGraph class>>top returns basically the top collection type > instance that contains everything when queried. The filter operator > is >> and can be sequentially-applied quite safely. > > So basically I can enter: > > f _ ArrowWorld objects. "Due to the current arrow architecture." > g _ f >> [:value | value isKindOf: Number]. > g includes: (Arrow wrapping: 3/4 in: f). "A membership test." > > and g will contain all the numbers. g can accept further filters > itself. You can force addition of elements to the cache of a filter > using +. Filtered lazy collections can also be lazily combined with > set operations | and &. The existential quantification feature > requires a pattern-matcher which is integral to Arrow so it's not > likely your average Smalltalker would want to put up with the whole > Arrow environment overhead to get the benefit (at least until I > mature the architecture and manage to fork a Smalltalk utility > sub-package for the matcher). > > Anyway, what do you think? > ~ -- Roel Wuyts Software Composition Group Roel.Wuyts@iam.unibe.ch University of Bern, Switzerland Board member of the European Smalltalk User Group: www.esug.org From ned at bike-nomad.com Sun Jun 17 20:40:15 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:01:39 2012 Subject: [newbie] Complex boolean value? In-Reply-To: <3B2CF3D5.4050404@terminal.cz> References: <20010617175149.WJWS18257.mail2.rdc2.bc.home.com@aSqueakSystem> <3B2CF3D5.4050404@terminal.cz> Message-ID: <01061713401502.00807@ned.bike-nomad.com> On Sunday 17 June 2001 11:15, Frantisek Fuka wrote: > Sorry about my stupid question but I started to experiment with Squeak > yesterday and when I wanted to come up with Boolean expression to check > if any of the 3 conditions is true, I came up with this: > > ((value < 1 or: [value > x1]) or: [value > x2]) > ifTrue: [self error: 'Invalid value']. > > It works, but it looks rather complex. How to do this more "cleanly", > with less parentheses? (value between: 1 and: (x1 min: x2)) ifFalse: [ ... ] -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From bert at isg.cs.uni-magdeburg.de Sat Jun 2 16:06:06 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:01:43 2012 Subject: Squeakland plug in and image In-Reply-To: <3B1904DE.5695962F@telinco.co.uk> Message-ID: On Sat, 2 Jun 2001, John Hinsley wrote: > Since the Squeakland page still doesn't direct me to a Linux plug-in (in > fact, it doesn't even recognise that I'm using Linux and thinks I'm > running Mac! -- refrain: "If I were a reetch man...." -- (I'd probably > buy Sparc...... ;-) )) I though I'd ask what plugin/image are Unix folk > using to get at Squeakland? http://isgwww.cs.uni-magdeburg.de/~bert/squeak/plugin/download.html -- Bert From noel at devtech.com Sun Jun 3 19:53:30 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:01:46 2012 Subject: Multiple disjoint object memory in Smalltalk In-Reply-To: Message-ID: >See self longAt: oop put: (header bitAnd: AllButRootBit). clears that >Root Bit everywhere. But I'd think ObjectMemory>>clearRootsTable >should do that which is called from fullGC which is called from >ObjectMemory>>primitiveSnapshot. > >Still need to count those objects tho... > FWIW, it would be easy to forego the counting, since the forwarding block allocation could be > determined in a worst-case way from the size of the image instead. Plus, it's an interim > solution anyway. There's a better way that's waiting for some free time. The better solution sounds good. In the meantime, how exactly would this alternative approach be coded? I'd really like to be able to skip adjustAllOopsBy when mapping an image into the same location in memory. - Dan From chrisn at Kronos.com Wed Jun 20 15:29:38 2001 From: chrisn at Kronos.com (Norton, Chris) Date: Sat Jan 28 04:01:47 2012 Subject: test Message-ID: <8E197B764EBFD4118D120020480E3D754912AC@exchgcc.kronos.com> ... yet another test... I've tried unsubsribing and re-subscribing. Hopefully this one will come back to me. :-) ---==> Chris PS> Tim -- it's true. I'm not cool anymore. :-( PPS> Thanks to Aaron and Bob for helping me diagnose this malady. From jhinsley at telinco.co.uk Fri Jun 8 03:34:19 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:01:53 2012 Subject: TexFileOut problems References: <200106080140.NAA25806@atlas.otago.ac.nz> Message-ID: <3B2047BB.C1B968FD@telinco.co.uk> "Richard A. O'Keefe" wrote: > > John Hinsley wrote: > This results in a file "Symbol class.tex" in my home directory. Of > course, "Symbol class.tex" is an illegal file name under any *nix. So I > change it to "Symbol_class.tex" (legal under any OS) in Kde. > > No, "Symbol class.tex" is a perfectly legal file name under any *nix and has > been at least since the days of Version 6 back in the late 70s. If you try > to mention it in a shell, you'll have to quote it > 'Symbol class.tex' > "Symbol class.tex" > Symbol\ class.tex > but that's all. Whether TeX (not originally a UNIX program) likes it is > of course another matter. Well, we could argue about whether being able to use it in a shell or not (sans escapes, sans quotes) defines its legality. But that gets us nowhere. //snip// > > The result is not meant to be a stand-alone document, but to be embedded > in a document which already has the right class and pulls in the right > macro definitions. Since then Thomas Kuehne and Andres Valloud himself have put me on the right track. It really is a fine little tool, and getting it to produce TeX which resolves into a printeable and beautifully formatted dvi file requires very little. But, if it could be made to produce LaTeX output which was "well behaved" enough for reLyX to accept, (or even to produce LyXable output) we'd have a fully functioning documentation system which would -- I think -- be unbeatable. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From woods at weird.com Thu Jun 7 20:07:04 2001 From: woods at weird.com (Greg A. Woods) Date: Sat Jan 28 04:02:01 2012 Subject: Odd interaction between Gvim and Squeak In-Reply-To: References: <3B1AF65A.6C445C59@telinco.co.uk> Message-ID: <20010607200704.F2CAB10E@proven.weird.com> [ On Wednesday, June 6, 2001 at 17:37:56 (-0500), Lex Spoon wrote: ] > Subject: Re: Odd interaction between Gvim and Squeak > > For what it's worth, XWindows cut and paste actually is pretty > complicated. There is no actual clipboard, if that gives you any idea > of the difficulties. It looks like some programs want a slightly > different flavor of cut-and-paste than what Squeak/Unix does right now. > Any XWindows hackers are heartily invited to take a look at sqXWindow.c > and see if you can figure out what the problem is! Yes, that's something I'm very keen to look at after I get the Unix/X11 VM working properly on monochrome (and maybe greyscale). I don't know if I've got any better understanding of X11 programming though! ;-) (I cannot handle the stress of using the colour monitor I've got now for more than a few hours at a time and so until I can afford a very hi-res flat-panel screen (or better!) and whatever it takes to drive it best I have to continue using my very clean 1600x1280 monochrome screen for the majority of my work.) -- Greg A. Woods +1 416 218-0098 VE3TCP Planix, Inc. ; Secrets of the Weird From Henrik.Gedenryd at lucs.lu.se Wed Jun 20 11:55:20 2001 From: Henrik.Gedenryd at lucs.lu.se (Henrik Gedenryd) Date: Sat Jan 28 04:02:02 2012 Subject: documentation requests? In-Reply-To: Message-ID: Lex Spoon wrote: > Some students in the Georgia Tech OO class are thinking of investigating > and documenting parts of Squeak in order to get extra credit. Here's > your chance: what would you most like someone to dig into and then write > up? > > The only constraint is that it must be something a student would have a > chance of doing.... > I thought it might be useful to answer this on a general level. I'd say documentation is particularly useful for parts that are not already documented (particularly, in the Smalltalk-80 book[s], or the squeakbook), either because they are new or have been changed since then. Also, that the more "core" the functionality is, and the less likely the code is to change fundamentally, the more useful documentation would be. (Perhaps this is obvious and everyone agrees on it?) Now what would this mean? Morphic is certainly a central new part, but there are already (too) many different pieces on that. I'd suggest the whole image segments/SmartFileStream/project loading complex of various classes. (If not all, then any part of it would be nice.) This because it could be very useful as a foundation for general modularity mechanisms, but if they are to serve such a central function, then they dearly need to be well documented. Just such a small part of this as veryDeepCopy needs to be better documented. I have learned that part myself but that was in the hard way. The part where GC is used to map out a part of memory would be nice to have clearly explained as well. One shouldn't have to understand the GC implementation to use that mechanism. One piece of Morphic that is not yet documented is the drawing cycle. It is also not exactly intuitive, it can be really hard to debug. It would be very nice to have good diagrams and so on that explain double buffering and how redrawing is triggered and when it is carried out, etc.. Henrik From arning at charm.net Sun Jun 17 17:37:09 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:02:07 2012 Subject: Bitmap accessing Message-ID: <200106171737.NAA15099@fellspt.charm.net> On Sun, 17 Jun 2001 19:24:47 +0200 Karl Ramberg wrote: >Hmmm. I see. So the shortcut to access the form bits has some issues :-) >Maybe I'll go back to form x@y again, to keep this simple. >But the speed gain was so much fun... Karl, You might want to look at BitBlt class>>bitPokerToForm: and #bitPeekerFromForm:. These will give you the right bits and, with a little tweaking, will run pretty fast. An alternative would be to do all your behind-the-scenes processing in 32-bit depth with your original code and use a single copy to convert the input or output when the depths are not 32. Cheers, Bob From karl.ramberg at chello.se Tue Jun 19 15:00:41 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:02:09 2012 Subject: [ANN][ADV]Squeak News E-Zine First ever issue References: <3B2F1198.B4A127DF@squeaknews.com> Message-ID: <3B2F6918.E0BAE6CC@chello.se> This looks great. I'd love a lifetime subscripton (but the swedish kronor is soooo weak against the dollar at the moment...) Karl From DiegoGomezDeck at ConsultAr.com Fri Jun 29 12:51:00 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:02:11 2012 Subject: Philosophical questions about collections In-Reply-To: <200106281857.AA19595938@mail.consultar.com> Message-ID: <5.1.0.14.0.20010629095001.00b41308@mail.consultar.com> I can't find the correct way to think about #= message for collections... For example, Dictionary use Set>>= that ignores keys. Bag, has not implemented the message. All the SequenceableCollection family seems to be good (IMHO). There exists a message that compares the elements of a collection with another ignoring the collection species? TIA, Diego Gomez Deck From ken at create.ucsb.edu Thu Jun 28 02:31:55 2001 From: ken at create.ucsb.edu (Kenneth Fields) Date: Sat Jan 28 04:02:11 2012 Subject: invitation Message-ID: Discourse mapper: a metalanguage question. You're invited to an interdisciplinary discussion of object oriented analysis of global discourse and designing a Squeak interface for discourse browsing. ooDiscourse-subscribe@topica.com I know the registration at topica is very unacademic but this is a guerilla tactic for temporary, dynamic listserving - part of the demonstration that we need a ListservSwiki. After you're registered there is no junk email in my experience. On second thought, maybe this is an ideal method, to incorporate the Academy into the loud and tainted world of e-commerce and pop networking. Kenneth Fields Ph.D. Media Arts and Technology Institute of Human Computer Interaction and Media Integration Department of Computer Science Tsinghua University Beijing, China 100084 ken@tsinghua.edu.cn ken@create.ucsb.edu http://www.create.ucsb.edu/ken (86 10) 8316 1363 From ajh18 at cornell.edu Fri Jun 29 18:39:56 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:02:12 2012 Subject: InterpreterSimulator In-Reply-To: <3B3CBABF.732D8CBB@chello.se> Message-ID: Attached are a few changes I made to get the InterpreterSimulator to open a mini image. It works but it won't accept keyboard input, only mouse input. Anyone know how to fix this? -------------- next part -------------- A non-text attachment was scrubbed... Name: InterpreterSimulatorFixes-ajh.1.cs Type: application/octet-stream Size: 3000 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010629/6b53c0d7/InterpreterSimulatorFixes-ajh.1.obj From RossBoylan at stanfordalumni.org Sun Jun 17 00:50:05 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:02:14 2012 Subject: How to print Message-ID: <5.1.0.14.0.20010616173236.02d6cec8@mail.dslnorthwest.net> I have a system browser, select a class, and pick show hierarchy. How do I get the stuff in the main pane to come out on a piece of paper? I gather from the FAQ and archives that this is not straightforward. I have a postscript printer, and run under Linux and W2K. Should I just copy the thing into notepad? If I select the area and hit middle mouse/more/ send contents to printer I get traffic sent to the printer, but nothing actually prints. (In fact under W2K my printer queue ended up blocked with a document I can't delete. I've seen this happen with other programs too.) There are various pretty print entries on the same menu, but they don't seem to do anything. I also see a printer setup entry, but I'm not sure if it's used. At any rate, it doesn't have any references to specific operating system devices. From ajh18 at cornell.edu Fri Jun 22 19:17:16 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:02:15 2012 Subject: Distributed Squeak and Environments In-Reply-To: <4.3.2.7.2.20010622125532.02741bd0@pop.mindspring.com> Message-ID: > Now I'm trying to understand the young object optimization. It seems > to imply something about the behavior of the Squeak gc. Old objects that point to a young object automatically get added to a roots table (See Interpreter>>#beRootIfOld: and its senders). Incremental GC (collect young space only) starts its mark and trace from the Interpreter oops AND the roots table. >> [From looking up methods of old classes in environments] >> Yes, and its old methods will be found in the original parent environment. >> Even more interesting is instances of classes not even defined in the >> current environment ancestory can be passed into a method. Messages sent >> to it will not be understood unless Object (or another known superclass) >> implements it. Usually, this is unintentional and means the environments >> have to be refactored. But it can be appropriate if objects are only >> "passing through". > > This is potentially dangerous. Messages sent to object "passing through" > are, in effect, bound lexically rather than statically. If you're sending > a mutating method, if a method of that name can be found at all, > it's probably the wrong one. It's worth thinking about preventing or > controlling this behavior. It is easy to raise an exception if an instance of an unknown class is sent a message, because there will be no method dictionary found for its class index. >> You can extend this guarantee to a forked off block that takes arguments or >> captures outside variables, if you first check these variables and confirm >> that they don't point (directly or indirectly) to any unknown classes. > Fair enough, but these checks sound run-time expensive. We can not do the check and let the exception be raised above when/if a message is sent to it. Thanks for your feedback, Dave. From deeplowsoftware at oreka.com Sat Jun 23 03:13:19 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:02:23 2012 Subject: More Wonderland Textures Message-ID: <200106230217.EAA34241@mailhub10.isdnet.net> Hi, First of all thanks for your answer. I'm going to try to be more specific, and I hope you will understand what I mean but my friends tend to tell me I am very bad at explaining things, moreover I'm french and my english might make me even less clear. * More Precisions about my project : We are trying to make a sort of 3D virtual library in smallTalk. We have built an environment in which we added some books. The books are actors made from the VRML : book.wrl attached to the mail. The next step is to be able to set the book's texture so that the user will be able to see what the book's name is. Since there is a method asTexture in Morph we thought we could use a BasicButton for example for the texture, in order to display the name on the book. Therefore we used the command : book setTexturePointer: (BasicButton new asTexture). But instead of becoming yellow with something written on it the book became black. * my problem explained as clearly as possible : I have a WonderlandActor, made from the VRML file book.wrl attached to this e-mail, and I would like to be able to find a way to make its title available for people to read. To do so, I thought of setting its texture using a morph as texture, but it doesn't work at all. * by can't apply a texture that has more than one color I mean the following thing : I've tried to set the texture of a wonderland actor (by using setTexture: aFullPath), and it works well as long as the file contains just one color. When the file as two or more colors then then the computer finds the color which is used most in the bitmap and paints the whole book using that color. *What I mean by make the texture work is : either : -be able to use a morph as a texture and use it to write the book title on the book. or : -be able to use a bitmap with different colors and possibly a drawing that would be rendered on the object. I have a preference for option number 1. *Does the demo project work : if that is the pink alice rabbit you're talking about, yes it works, still I haven't found out by myself how it can help me. *about wrappers : that means I won't be able to do anything with them ? *about adding morphs : I would have thought so, but I thought that maybe there was a chance out of a million that it would work. I hope that this time I was clear enough for you to solve my problem. It would be so great if you did, unfortunately, my lack of "explaining abilities" or my "frenchness" might get in the way. I sent a copy of this to the mailing list so if someone has an idea please feel free to send it in. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From chrisn at Kronos.com Wed Jun 20 15:32:26 2001 From: chrisn at Kronos.com (Norton, Chris) Date: Sat Jan 28 04:02:26 2012 Subject: test Message-ID: <8E197B764EBFD4118D120020480E3D754912AD@exchgcc.kronos.com> Wooop! He's back! (and he's bad) Go Squeak! Cheers, ---==> Christobal -----Original Message----- From: Norton, Chris [mailto:chrisn@Kronos.com] Sent: Wednesday, June 20, 2001 11:30 AM To: Squeak (E-mail) Subject: test ... yet another test... I've tried unsubsribing and re-subscribing. Hopefully this one will come back to me. :-) ---==> Chris PS> Tim -- it's true. I'm not cool anymore. :-( PPS> Thanks to Aaron and Bob for helping me diagnose this malady. From scott at squeakland.org Tue Jun 5 09:33:13 2001 From: scott at squeakland.org (Scott Wallace) Date: Sat Jan 28 04:02:28 2012 Subject: [ENH] Expand box on system Window In-Reply-To: <000801c0e8e4$2585ff20$8a598218@we.mediaone.net> References: <000801c0e8e4$2585ff20$8a598218@we.mediaone.net> Message-ID: Jim, This is really useful, and nicely done. Your fileout is now in the internal update stream, with a few minor tweaks plus a do-it in the postscript that adds the zoom box to existing system windows. Thanks, -- Scott At 1:40 AM -0700 5/30/01, Jim Benson wrote: >One of the little friends that I miss in Squeak after jumping from OS >windows back to Squeak is the 'expand to full screen' button that is >available on most OS title bars. > >Surprisingly, I missed my little friend enough to write one for Squeak !!! I >even created a very special icon for it ( well, maybe not so special, it >looks disturbingly similar to the MVC collapse icon. However, I did draw it >myself without any tracing paper ;-) > >I wrote and tested this for Squeak 3.1, changeset number 4081. > > >Jim > >Content-Type: application/x-gzip; > name="ExpandBox.1.cs.gz" From karl.ramberg at chello.se Fri Jun 29 11:13:17 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:02:28 2012 Subject: Handling big morphs References: <5.1.0.14.0.20010629013615.04529ec8@mail.earthlink.net> Message-ID: <3B3C62CC.A0231893@chello.se> Ross Boylan wrote: > > I have some items to display that will take up too much real estate. What > are the standard ways to handle this? > > I'm thinking of solutions like > * window or morph with scrollbars > * no scrollbars, but item relocates as you move the mouse (maybe it moves > the point where the mouse is to the center?). > > Then there are more application specific tricks I might do, like having > parts popup with greater detail under some conditions, and then be > swallowed when I move focus away. > > But I'm really only looking for appropriate class and usage pattern for the > vanilla patterns. Also, if anyone has any wisdom about good metaphors, I'd > love to hear it. Look at TwoWayScrollPane Karl From arning at charm.net Sat Jun 30 21:30:44 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:02:31 2012 Subject: newbie question - killing a process Message-ID: <200106302130.RAA02813@fellspt.charm.net> On Sat, 30 Jun 2001 16:51:16 -0400 (EDT) Rosemary Michelle Simpson wrote: >> FWIW, 34 processes seems like a very high number. Have you repeated the example you gave 20 or 30 times? > >It gets even stranger. (1) the number of processes goes up and up and >then down - it went as high as 85 and as low as 20. (2) doing DoIt on >(self at: n) terminate for the processes labeled "a Process in >UndefinedObject>>DoIt" turns the comment to "a Process in nil" but even >doing that to all has not gotten rid of the clock and new processes seem >to be being spawned. I feel like the sorcerer's apprentice... Of course, >I could trash this image and bring in another from the CD, but I want to >understand how to work with the processes. Rosemary, The problem is that ProcessorScheduler>>yield creates a new, but very short-lived, process and this may happen very often. In order not to see these guys, which are really dead and soon-to-be-garbage-collected, inspect the following two lines as a single unit: Smalltalk garbageCollect. Process allInstances. A clean image will have around 8 or 9 processes. Cheers, Bob From beoneel at mindspring.com Wed Jun 6 11:11:23 2001 From: beoneel at mindspring.com (Bruce ONeel) Date: Sat Jan 28 04:02:33 2012 Subject: Wormhole Instability (was Why do things keep changing?) Message-ID: <3B176F570017E041@mta1n.bluewin.ch> (added by postmaster@bluewin.ch) Hi, In one of my past lives I ran a load of email lists via different list processors. It is suprising how hard this is to get running well. You'd think it would be easy, but, you want to distribute an inbound message out to multiple outbound processes and then those multiple out bound processes try to send the mail out. On a high traffic mail list you eassily can get replies going out before the origional message goes out just by having one of the outbound process hang trying to contact someone's inbound email server. And you can easily get multiple copies if the last little bit of the SMTP protocol is dropped on the floor by TCP. Sigh.. Another choice is to force single threading, ie, one message is delivered to the whole list of users before the next message is delivered. On a list of any size this will result in very few messages per day since some node on the list is always disconnected and requires a timeout and wait for N minutes to retry. Oh yea, the number of bounces, even from well connected nodes is stunning. Kudos to teh uiuc folks :-) cheers bruce "Jarvis, Robert P. \(Contingent\)" wrote: > Ouch - that came out harsher than I meant. > > To be fair to the people at UIUC, who have been incredibly generous in the > support of the Squeak and Smalltalk communities, my observation is that > *ALL* list servers have problems. > > Bob Jarvis > Compuware @ Timken > > > -----Original Message----- > > From: Jarvis, Robert P. (Contingent) > > Sent: Thursday, May 31, 2001 8:17 AM > > To: 'squeak@cs.uiuc.edu' > > Subject: RE: Wormhole Instability (was Why do things keep changing?) > > Importance: High > > > > > > > -----Original Message----- > > > From: JArchibald@aol.com [mailto:JArchibald@aol.com] > > > Aha! Now I understand Fleeberz's comment: "I've only had a > > > few bounces in the last 17 years or so". > > > > > > THEY ARE BOTH WRITING TO US FROM SEVENTEEN YEARS IN THE FUTURE. > > > AND THE MAILING LIST IS STILL SCREWING UP !!! > > > > Yes, well...isn't it nice to know that despite the ups and > > the downs, the > > vicissitudes of life, the general tendency towards chaos and > > anarchy, and > > the lack of a good five cent cigar, one can count on some > > things and say, > > "Well, no matter what else may happen you can always count on > > the Squeak > > list server to have problems". It's rather endearing, really... :-) > > > > Bob Jarvis > > Compuware @ Timken > > From noel at devtech.com Sat Jun 16 05:54:56 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:02:34 2012 Subject: iPAQ 3670 (was: a morphic tutorial in morphic) In-Reply-To: <200106160536.f5G5a52139365@pachyderm.pa.dec.com> Message-ID: FWIW, the best price I've found on a ThinkOutside Stowaway Keyboard for the iPAQ is from Amazon, who has it at $89.99 with FREE shipping/handling. http://www.amazon.com/exec/obidos/ASIN/B00005AMDE/ That is where I got mine. How hot is this item? It is ranked #63 on their sales list. --- Noel From dway at riskmetrics.com Sat Jun 30 15:25:30 2001 From: dway at riskmetrics.com (doug way) Date: Sat Jan 28 04:02:37 2012 Subject: BankAccount Tutorial In-Reply-To: <3B3DDE29.93622107@telinco.co.uk> Message-ID: <200106301532.IAA02236@harrier.mail.pas.earthlink.net> On Saturday, June 30, 2001, at 10:11 AM, John Hinsley wrote: > > Also, now that Mark's book has finally made it to these far off shores > (on order for nearly 3 months!) how much of it is 2.8 specific? [Brow > furrows while trying to work out how to have two different versions of > Squeak living in happy harmony on the same system. Decides to go back to > bed instead.] Actually, it's very easy to have more than one version of Squeak living in harmony on your system. Heck, I probably have about 50 versions of Squeak sitting on my hard drive, ranging from Squeak 2.2 to 3.1alpha. (I guess that would be 50 .image/.changes combos, but probably only 7 or 8 VM's.) A nice thing about Squeak is that each .image/.changes pair is a standalone environment which doesn't interfere with other images. You can even run more than one version of Squeak at the same time... I need to do this on occasion. (Contrast this with, say, VisualAge/Java, with which it isn't possible to run more than one version at a time.) Anyway, you can always keep your 2.8 and 3.0 versions of Squeak in separate directories, so that you don't intermingle changesets that belong to one or the other. - Doug Way dway@riskmetrics.com From ned at bike-nomad.com Sat Jun 30 17:13:43 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:02:38 2012 Subject: Newbie Questions In-Reply-To: <20010630165521.MYQU1615.mail1.rdc2.bc.home.com@aSqueakSystem> References: <20010630165521.MYQU1615.mail1.rdc2.bc.home.com@aSqueakSystem> Message-ID: <01063010134308.00791@ned.bike-nomad.com> On Saturday 30 June 2001 10:54, Steve Wart wrote: > I am a little confused by the distinction between scripts and methods, > especially when I look at the SyntaxMorph. How hard would it be to get > the methods to show up in the Viewer? Scripts are (special) methods that live in so-called "uniclasses". If you browse the Morphic-User Objects category, you'll see the actual classes that were made on the fly. Each scripted object gets its own class. But there's some special plumbing that lets a method be usable for scripting, mostly including declaring slots and commands for the Viewer. I suspect that the reason that regular methods aren't visible in the Viewer is that the eToy user would be overwhelmed. Look at implementors of "additionsToViewerCategories" to see how a class adds commands and slots to the Viewer. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From Joern.Eyrich at brokat.com Wed Jun 27 21:30:13 2001 From: Joern.Eyrich at brokat.com (=?iso-8859-1?Q?J=F6rn?= Eyrich) Date: Sat Jan 28 04:02:39 2012 Subject: [REMINDER] the "old farts" conference Message-ID: <3B3A5065.9EAE4002@brokat.com> As mentioned in April on this list, sd&m's "Software Pioneers" conference will be held on the next two days (June 28/29) in Bonn, Germany. A live webcast will be available (mind that the times in the schedule are in middle european time). see http://www.sdm.de/conf2001/index_e.htm From dway at riskmetrics.com Thu Jun 28 23:12:05 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:02:39 2012 Subject: how did i get unsubscribed? References: Message-ID: <3B3BB9C5.ADD2BC05@riskmetrics.com> Brian Rice wrote: > > I didn't receive any Squeak mail for about 48 hours there, only to > test mail and found out that I had to re-subscribe. Does anyone know > how this might have happened? I do use email re-routing between two > accounts, but this has not changed recently. Not sure how it happened, but we do know that the Squeak list at uiuc has been somewhat unreliable over the last month or two, and is running mostly unattended. There's general agreement that the list needs to be moved to a new host, and there is a plan afoot to move it soon, but I'm not sure what the status of that is right now. - Doug Way dway@riskmetrics.com From arning at charm.net Fri Jun 29 15:53:24 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:02:42 2012 Subject: Fwd: BankAccount Tutorial Message-ID: <200106291553.LAA29211@fellspt.charm.net> Greg, On Fri, 29 Jun 2001 11:13:51 -0400 (EDT) woods@weird.com (Greg A. Woods) wrote: >[ On Friday, June 29, 2001 at 08:52:58 (-0400), Dan Ingalls wrote: ] >> Subject: Re: Fwd: BankAccount Tutorial >> >> 3. This did not find anything I hoped for (users of a new centering >> message), except that it located the wonderfully revealing method, >> convertOldAlignmentsNov2000: varDict using: smartRefStrm >> which makes it quite clear that the old #centering: message has been >> replaced by a new #wrapCentering: message. > >This brings up a question I've had about managing change in message >protocols. > >It's very interesting to see that there are indeed instances of methods >such as the one you refer to above. > >It seems very good to write such methods and use them to convert >everything that happens to be in an image at the time, as well as to >leave them in the system for posterity, but this doesn't do anything for >code that might be written in older images, saved in changesets or >projects, etc. These methods are not there just for posterity. In fact, their primary purpose is to convert old instances that are encountered when loading a project created before the changeover into a more modern image, so they have a definite day-to-day utility. As for converting code, it might be possible to do *something*, but I'm not sure how useful it could be without a great deal of work. Sometimes the protocol change is a simple 1-to-1 replacement, using #foo in all cases instead of #fu, e.g. Other changes may not be so simple -- changes to the semantics of #hResizing: and #vResizing: necessitated a careful examination of each sender to determine whether #shrinkWrap or #spaceFill was the appropriate choice going forward. In an even larger view, these same changes mean that any Morph can do the job once done by AlignmentMorph and do it better. This may affect the design of some morphs such that layer(s) of nested morphs required to accomplish a given layout might be replaced with a single, more capable layer. How to search for these in any helpful way would be hard to implement. Cheers, Bob >Would it be possible to (also) collect such methods into an enhanced >"fileIn" that would be able to at least detect old protocols, if not >actually fix them on the way in? From ned at bike-nomad.com Thu Jun 21 18:38:10 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:02:42 2012 Subject: [NEWBIES]:new menu on a PluggableTextMorph ? In-Reply-To: <008201c0fa6c$91bbf480$1b0224d5@taenia> References: <01062109012507.06042@ned.bike-nomad.com> <008201c0fa6c$91bbf480$1b0224d5@taenia> Message-ID: <01062111381008.06042@ned.bike-nomad.com> On Thursday 21 June 2001 09:09, Vince Mazo wrote: > We are trying to set a menu on a right click event for a > pluggableTextMorph. How can we do that? > This menu should understand what the selection is in order to perform > action on this selection.(like emphasize or alignement) > > (sorry for our french english speaking(?)) By setting the pluggableTextMorph's getMenuSelector, your model will be called with that selector. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From csawtell at xtra.co.nz Fri Jun 29 07:53:54 2001 From: csawtell at xtra.co.nz (Christopher Sawtell) Date: Sat Jan 28 04:02:45 2012 Subject: New VM for Linux? References: Message-ID: <3B3C3412.AB6E3737@xtra.co.nz> Bert Freudenberg wrote: > > On Thu, 28 Jun 2001, Christopher Sawtell wrote: > > > Greetings Squeak World, > > > > Recently, when updating the image at patch # 4023B3DBumper, I noticed a > > mention of the need to install a new VM which was to be available > > 'soon'. > > > > I had a look around some of the usual ftp archive but could not find > > anything apart from the VM for the N.S. Plugin, which btw, seems to go > > well. > > It's "do it yourself" for now. I can send you my VM + OpenGL plugin if you > want I collected your VM off your ftp archive a couple of days ago. The binary did not work because we are on Linux-Mandrake 7.1 which is a glibc-2.1, so I compiled the sources and installed by hand. It all goes well as a plugin. My 11 and a half year old son is, in a word, "captivated" by Squeak and the EToys. We have made a car race track and added a lake in which the car makes splashing noises. I am hoping to be able to interest Caleb's school in the whole Squeak / EToy thing, but as we are here in NZ and Internet traffic is not without cost, I expect that I will have to set up a local mirror of Squeakland.org. Could we do that please? Are there any special modules for the server or is a "standard" Apache all right? A couple of tiny bugs in the Squeak plugin are that the area of the plugin does not quite fill the netscape browser window - tehre is about 2 cms of black around the right-hand and bottom edges, and when I go to full screen i.e. "escape the browser" and then try to go back into the browser we loose all our work. The plugin area of the browser stays a very light grey. Today I fetched the B3DAcceleratorPlugin stuff from the ftp archive so that - hopefully - all the Alice stuff will work, but cannot work out where the B3DAcceleratorPlugin sources are supposed to be put in the source tree. I would be very gratful if somebody would be so kind as to give me a couple of hints as it's school holdays next week... -- Sincerely etc., NAME Christopher Sawtell CELL PHONE 021 257 4451 ICQ UIN 45863470 EMAIL csawtell @ xtra . co . nz CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz -->> Please refrain from using HTML or WORD attachments in e-mails to me <<-- From Craig.Latta at NetJam.ORG Tue Jun 19 00:16:52 2001 From: Craig.Latta at NetJam.ORG (Craig Latta) Date: Sat Jan 28 04:02:47 2012 Subject: iPAQ Squeak & landscape References: <5.1.0.14.0.20010618210420.00bc3368@mail.consultar.com> Message-ID: <3B2E99F4.339583E3@NetJam.ORG> > > Noel writes: > > > > > I was refering to the use of GAPI *with* landscape orientation. :-) Those > > > are the portions of display code I thought probably need some work. :-) > > > > Hmm; it seems to work properly on my machine. > > Which VM works? And which product (JS Landscape or NVD)? Yoshiki's landscape support in his Squeak VM sources (http://www.is.titech.ac.jp/~ohshima/squeak/iPAQ/SqueakCE3.1alpha3-May11.tar.gz) works, and JS Landscape works if you rebuild Yoshiki's sources with GAPI turned off. I haven't yet tried NVD. -C -- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)] From K.Hodges at ftel.co.uk Mon Jun 4 10:39:25 2001 From: K.Hodges at ftel.co.uk (Keith Hodges) Date: Sat Jan 28 04:02:48 2012 Subject: Squeakland Evolution project thingy References: <3B1650F3.8C176D28@ftel.co.uk> <20010601072827.A12422@cc.gatech.edu> Message-ID: <3B1B655D.E5069B2B@ftel.co.uk> Joshua 'Schwa' Gargus wrote: > > What I would prefer to see is people using language to say what they really > > mean, something like this "If we hold the theory of evolution to be true, which > > it is likely to be given the philosphical viewpoint or axiom that assumes there > > is no outside agent then it is likely that the process of evolution evolved the > > animals, both their bodies and their habits ..." > > Umm... keep in mind the target audience for the active essay that sparked this > thread. Don't you think that this wording might be a bit much for a sixth grade > student? > > > > Being English I do not know what age 6th grade is, I assume it is around about 12. Even at this age I think it is important to frame science in terms of the assumptions being made. At an earlier age it could be argued that we should be teaching exporative rather than prescriptive science experiences for our students. Keith > Joshua The good news is that in my travels I am beginning to find examples of how Squeak could be used to explore more positive philosophies. For example a collaborative story writing project in which the question goes something like this. "Write a strory in which you the story writer are a character and you interact with other characters" Douglas adams used to complain that computers were glorified type writers and did not help him to doo his job developing characters and story lines. So Squeak the ideas processor should be able to help! Do the characters have free will and moral responsibility if you are responsible for writing the story. What difference does it make if you introduce characters in the story that write for themselves and have genuine free will? (i.e. other collaborative story writers whose characters they control) thanks Keith From lex at cc.gatech.edu Thu Jun 21 04:17:04 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:02:48 2012 Subject: documentation requests? References: Message-ID: Thank you incredibly much, everyone. I've added everyone's suggestions to: http://coweb.cc.gatech.edu/cs2340/1401 I'll leave the "add new suggestions" box on the page, but now there's PLENTY. Only about 2% of the class actually wants to be proactive about documentation, even when extra credit is available. Future offerings of the class, though, might have students that are interested. By the way, I hope if you suggested something you don't mind students emailing you to try to flesh things out. If you do mind, either email me, or just remove your name and email from the swiki page. Finally, I just have to say that it's been really staggering reading through these posts. There is a LOT of good software and ideas both in and around Squeak! Now we'll just see if anyone bites. The class ends, uh, the last week of July, and most likely things will be turned in later rather than earlier. Lex Spoon From ned at bike-nomad.com Fri Jun 1 16:01:28 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:02:57 2012 Subject: More advanced Graphing In-Reply-To: <87itig1wea.fsf@jaderholm.com> References: <87n17s1y1a.fsf@jaderholm.com> <01053123325604.00781@ned.bike-nomad.com> <87itig1wea.fsf@jaderholm.com> Message-ID: <01060109012808.00781@ned.bike-nomad.com> On Friday 01 June 2001 00:39, J Scott Jaderholm wrote: > Ned Konz writes: > > Do you need interaction or not? GraphMorph has a lot of logic for cursor > > control. > > You mean the red line that's placed there with the mouse? So far I've > not used that and I don't think I will be using it. > > > Do you need it to change in real time (i.e. as data is coming in)? > > Scroll? > > I don't need it to change in real time, nor do I need it to scroll, > although scrolling might be nice (it's not a priority at the moment). Then you might just make your own Morph and use PolygonMorphs a/k/a LineMorphs to draw the lines. You can change the vertices of the lines as new data comes in. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From jwelton at pacific.mps.ohio-state.edu Tue Jun 12 21:38:11 2001 From: jwelton at pacific.mps.ohio-state.edu (Jesse Welton) Date: Sat Jan 28 04:02:57 2012 Subject: [ENH] Cursors for Resizing Message-ID: Submitted for inclusion in Squeak 3.x. "Change Set: CursorsForResizing Date: 12 June 2001 Author: Jesse Welton Changes morphic SystemWindows to use invisible resizer handles and cursor changes for better resizing aesthetics. This version is fully multi-hand aware, and includes improved handling of window resizing by software hands in general. Previously, software hands could not resize windows or their panes at all when the #fastDragWindowForMorphic preference was on. Now, they gracefully and automatically switch to live resizing. Note: This change set requires HandMorphCursorEnh-JW to work." This version has worked flawlessly for me in all combinations I have tried, including resizing a window over a Nebraska connection (with an EventRecorder running, playback will also resize the window), and playing back a record of a fast-framing resize made with the local hardware hand (replay uses live updating rather than fast framing). -Jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: CursorsForResizing-JW.cs.gz Type: application/octet-stream Size: 3872 bytes Desc: Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010612/d958c793/CursorsForResizing-JW.cs.obj From reic0024 at d.umn.edu Wed Jun 20 20:34:39 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:02:58 2012 Subject: Funky behavior of hidden morphs? In-Reply-To: Message-ID: I said: > Right now I'm simply avoiding the problem by having RealEstateAgent > class>>#assignCollapseFrameFor: just return (0@-80 corner: 200@-60) to > always collapse windows to an area off screen. Er... Cancel that. When I save the image, everything offscreen is shoved back on screen. Aaron From m.rueger at acm.org Sun Jun 17 16:05:59 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:02:59 2012 Subject: SuperSwiki References: Message-ID: <3B2CD567.2ED9920D@acm.org> Bert Freudenberg wrote: > > Oh, and don't forget to turn off the source and changes file checks if > > you are running Squeak headless. > > Huh? What's headlessness got to do with sources? Squeak puts up this prompter about missing source or changes file, which you can't really "click away" when you are running headless. I'm not developing on Linux, only running the superswiki, so no changes or source file on that machine. The server never seemed to start, until I found out Squeak was waiting on that prompter when I used VNC. Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From jhinsley at telinco.co.uk Wed Jun 6 15:54:05 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:03:03 2012 Subject: TexFileOut problems Message-ID: <3B1E521D.79FF3388@telinco.co.uk> I need to preface this by saying that I know nothing about Latex: messing about with pure tex has about as much appeal for me as editing raw postcript or juggling with a chainsaw. But TexFileOut would seem to offer the possibility of outputting a .tex file and getting nice formatted output of class files. I could even convert them to LyX format and do further editing (IMHO the output produced by LyX is still superior to that produced by any other kind of document processor). So, I load in the change set, pop open a browser and from the menu TexFileOut (for example) Collections-Text Symbol. This results in a file "Symbol class.tex" in my home directory. Of course, "Symbol class.tex" is an illegal file name under any *nix. So I change it to "Symbol_class.tex" (legal under any OS) in Kde. Opening up the file I see something that looks like a .tex file: % TeXFileOut version 20000201 by Andres Valloud (SqR!) % Class definition submitted for class: Symbol. {\sf \noindent {\ssbf String variableByteSubclass: }Symbol \item{} Category: Collections-Text \item{} Class variable names: SymbolTable } % Comments submitted. \bigskip \medskip \noindent {\ssbf Class comments} \bigskip \smallskip \noindent {\rm \noindent I represent Strings that are created uniquely. Thus, someString asSymbol $=$$=$ someString asSymbol. } \bigskip \medskip \noindent {\ssbf Class protocol} \bigskip \smallskip \noindent {\ssbf Methods for category: access} //snipped! this is one big file!// To my naive eyes this looks OK, so I run latex on it: john@molehole:~ > latex Symbol_class.tex This is TeX, Version 3.14159 (Web2C 7.3.1) (Symbol_class.tex LaTeX2e <1999/12/01> patch level 1 Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. ! Undefined control sequence. l.4 {\sf ? And so on. Forcing continuation by hitting the return key several times results in further error messages and a .dvi file which consists of nothing more than a series of arrows, bars, -, +, X, == signs, and finally a tiny bit of text which reads: {$P. Se. $n.} {$P. $c. $n} as: Sym- bol All of which is partially enclosed in a rectangle which might just represent a page. Any ideas? What am I doing wrong? Do I have the wrong version of Latex? Am I being Maced on from a great height? Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From jdboyd at cs.millersville.edu Sat Jun 30 14:33:55 2001 From: jdboyd at cs.millersville.edu (Joshua D. Boyd) Date: Sat Jan 28 04:03:05 2012 Subject: BankAccount Tutorial In-Reply-To: <3B3DDE29.93622107@telinco.co.uk> Message-ID: On Sat, 30 Jun 2001, John Hinsley wrote: > This seems a good compromise, but I wonder if people go to Mark's book > because of Squeak or to Squeak because of Mark's book? I bought Mark's book because of squeak. However, friends who don't squeak have shown interest in buying/borrowing the book, so their introduction would be through Mark. However, we are discussing a tutorial seperate from that book, so if people can get to the tutorial, then they should be able to also upgrade their squeak. -- Joshua Boyd From water at tunes.org Thu Jun 28 21:06:33 2001 From: water at tunes.org (Brian Rice) Date: Sat Jan 28 04:03:07 2012 Subject: how did i get unsubscribed? Message-ID: I didn't receive any Squeak mail for about 48 hours there, only to test mail and found out that I had to re-subscribe. Does anyone know how this might have happened? I do use email re-routing between two accounts, but this has not changed recently. Thanks, ~ From Dan at SqueakLand.org Fri Jun 29 12:52:58 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:03:08 2012 Subject: Fwd: BankAccount Tutorial In-Reply-To: References: Message-ID: Hello Michael - This is the result of the Alignment rewrite last fall. A bunch of protocol has changed, and we don't even use alignment morphs any more, although they *should* still work. >>I have been working through the tutorial but when I try to "accept" the >>following code, >> >>historyMorph >> |bars m| >> bars_history collect: [:v| Morph new extent: 5@v]. >> m_AlignmentMorph newRow centering: #bottomRight. >> m addAllMorphs: bars. >> ^m >> >>Squeak tells me that "centering:" is an unknown selector. Of course, when I >>told it to confirm and then tried to do a "printIt" in the workspace of the >>following, I get an error. I believe I know enough about Squeak that I >>shouldn't have had to ask it to confirm "centering:" Well, I disagree that you "shouldn't" have been asked to confirm. What it is saying is "You will get an error if you try to execute this (so you might want to stop now and fix it), but if you intend later to define #centering:, then you may want to proceed as is. >>, and just because I did >>confirm it, doesn't mean that their is an object to communicate with, am I >>right? There is an object, but it does not understand #centering:. Note that, if you really knew what you were doing, you could have confirmed and then, when you got the error, you could have defined #centering:, and then proceeded, and all would have worked. This is why you are allowed the option of proceeding. >>Is the tutorial wrong, or is my version of Squeak (3.0) inappropriate, or >have I made some error in copying it? The tutorial is out of date because the alignment rewrite did not preserve the existing protocols. Here is how I figured out the problem to answer your dilemma: 1. I confirmed your experience. 2. I knew there must be some new protocol similar to #centering:, so I selected bbottomRight, and used cmd-N for find all references to it (all seNders for that message. 3. This did not find anything I hoped for (users of a new centering message), except that it located the wonderfully revealing method, convertOldAlignmentsNov2000: varDict using: smartRefStrm which makes it quite clear that the old #centering: message has been replaced by a new #wrapCentering: message. 4. When I made that change to the above code from the tutorial, it did something reasonable (I haven't tested the rest of the tutorial). If you wish to know more about the new alignment protocol, you might look through the TableLayouts project on Bob's Superswiki, which documents a lot of the changes that were made. Hope this helps. - Dan -- From arning at charm.net Sat Jun 30 13:50:13 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:03:15 2012 Subject: Out of space + other flakiness Message-ID: <200106301350.JAA22800@fellspt.charm.net> Hi Ross, On Fri, 29 Jun 2001 22:32:18 -0700 Ross Boylan wrote: >Thanks. I think things are back under control now. So the rest of >this is making conversation. > >A handy thing I found was "Smalltalk pointersTo:" to trace object >references back. Also quite useful is PointerFinder on: This will trace back to Smalltalk and open a window showing the links in the chain. >I thought the current VMs could grow as needed. I'm surprised to see >that it apparently can't. I *think* the Windows VM may be able to do that now, but I'm not really sure. >Among the oddities encountered: >I frequently ended up with two squeak processes running when it hung. >I was a bit surprised to find it launching separate processes. Which OS is this? >TheWorldMenu was pointing to one of the projects I hand't used much. Hmm.. doesn't sound like a good thing. I'll take a look at it. >I got into some very weird debugger states, where it apparently >switched the identifiers of variables. The code ran OK when not in >the debugger. While inspecting the results of Project allInstances >I entered the following in the bottom pane: >#(2 11 12 13 14) do: [:i | > |aProject| > Transcript show: i printString; tab. > aProject _ self at: i. > self halt. > Transcript show: aProject printString; cr. > ProjectHistory forget: aProject. > Project deletingProject: aProject.]. > >When I looked in the debugger, i contained a project, and aProject had >the number 2 in it--the reverse of what should have been. The code >also acted this way--when I went forward I got errors because objects >weren't the right types. When I removed the halt, the sensible values >came out on the transcript, and the most of the requested deletions >did occur. I thought we had this one fixed, but your example gives me the clues I need. I'll put out an update to fix it. Thanks. >Here's my top printSpaceAnalysis before: >Class code space # instances inst space percent >String 16824 69965 3482093 18.1 >ByteArray 3192 559 3276681 17.0 >CompiledMethod 7578 41735 2691360 14.0 >Array 1494 48182 2288068 11.9 >Bitmap 3277 1526 2025812 10.5 >Symbol 3610 32939 663867 3.5 > >and after > >String 16824 68212 3365324 22.5 >CompiledMethod 7578 41715 2690236 18.0 >Array 1478 42607 2139148 14.3 >Bitmap 3277 825 1784456 12.0 >Symbol 3610 32937 663822 4.4 Is this a clean image or one you have added stuff to? I ask because you have many more Strings than I do (although not that much more in terms of space). Have you tried ChangeSet allInstancesDo: [:cs | cs zapHistory] >By far the biggest win was ByteArray, which lost over 2.6Mg of memory >in 92 objects. What were those likely holding? bit maps (not the >class, but something related)? One use of ByteArrays is to hold the compressed version of Forms which have been hibernated. One technique I use in rooting out these mysteries is something like: PointerFinder on: (ByteArray allInstances asSortedCollection: [ :a :b | a size > b size]) first >I'm guessing the strings are source >code. Maybe literals in methods, but the source itself is usually only found on disk. The exceptions would be any browsers you have open, etc. Some interesting things to inspect: (String allInstances collect: [ :x | x size]) asBag (String allInstances select: [ :x | x size > 1000]) Cheers, Bob From deeplowsoftware at oreka.com Sat Jun 23 03:49:55 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:03:19 2012 Subject: the VRML file Message-ID: <200106230249.EAA42462@mailhub10.isdnet.net> Oops, seems like I had forgotten to attach the VRML file. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) -------------- next part -------------- A non-text attachment was scrubbed... Name: C:WINDOWSBureaubook.wrl Type: model/vrml Size: 4122 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010623/2176502b/WINDOWSBureaubook.wrl From lex at cc.gatech.edu Wed Jun 13 20:30:37 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:03:33 2012 Subject: [ENH] ScreenShotButton Message-ID: Here's a simple morph that, when clicked, will wait five seconds and then take a screenshot. This is useful if you want a screenshot while the mouse is busy -- e.g., you want a screen shot with the mouse pressing down on a button. The screenshot is stored as (what else?) a sketch morph, scaled down by a factor of 3. -Lex -------------- next part -------------- A non-text attachment was scrubbed... Name: ScreenshotButton.1.cs Type: application/octet-stream Size: 2986 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010613/f95b19ae/ScreenshotButton.1.obj From karl.ramberg at chello.se Sat Jun 16 05:38:09 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:03:34 2012 Subject: Mssrs ? Re: iPAQ 3670 (was: a morphic tutorial in morphic) References: Message-ID: <3B2AF0BF.C5D2042D@chello.se> "Noel J. Bergman" wrote: > > John, > > Jim Gettys is a very active participant on the iPAQ linux mailing list @ > www.handhelds.org. As are Mssrs Kay, Ingalls, Raab, et al on this list. In > general, you will find that the "names" you know from your readings are also > really nice people, not just sub-cultural icons. Mssrs ? I could not find any online reference that explained what this means. Karl From bert at isg.cs.uni-magdeburg.de Mon Jun 4 11:15:41 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:03:35 2012 Subject: [EXPERIMENTAL][ENH] HintingBrowser In-Reply-To: <200106022129.AAA02564@mailgw3.netvision.net.il> Message-ID: Daniel, if you want those posts to be automatically collected in the SQFIXES archive, put the [ENH] at the very beginning of the subject line. Cheers! -- Bert From jdboyd at cs.millersville.edu Fri Jun 29 13:18:24 2001 From: jdboyd at cs.millersville.edu (Joshua D. Boyd) Date: Sat Jan 28 04:03:38 2012 Subject: Image Morphs In-Reply-To: <3B3C64E6.127F7049@chello.se> Message-ID: I've been poking around the systems browser, and I've figured out how to load a jpeg into an ImageMorph. But, how to I get access to that jpeg, pixel by pixel (like to built a histogram of the image, for instance), and write it back to disk? Or is the ImageMorph the wrong way to go about this? -- Joshua Boyd From ajh18 at cornell.edu Sat Jun 30 17:30:50 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:03:41 2012 Subject: Sorting on Oops In-Reply-To: <005101c100e9$e37b8eb0$6000a8c0@insearch> Message-ID: Is it true that objects in memory never change relative position? The garbage collector only slides objects and never swaps them. If this characteristic is likely to remain. I would like to surface the oops in the image so we can sort objects by them and do binary searches on them. I find this useful for creating a LargeIdentityDictionary that has a hash table of 4096 entries (exhausting the 12 bits of identity hash) with buckets in each entry that hold its elements in sorted oop order. The objects in the buckets can then be search using binary search on their oops. What do you think? -Anthony From RossBoylan at stanfordalumni.org Fri Jun 29 19:51:26 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:03:43 2012 Subject: Icons In-Reply-To: <3B3C52F8.113953F6@xtra.co.nz> References: <5.1.0.14.0.20010629005847.023035d8@mail.earthlink.net> <3B3C52F8.113953F6@xtra.co.nz> Message-ID: <20010629125126.D2597@wheat.boylan.org> On Fri, Jun 29, 2001 at 10:05:44PM +1200, Christopher Sawtell wrote: > Ross Boylan wrote: [snip] > > Any recommended sources of icons on the net? > > http://www.google.com/search?q=icon+library&btnG=Google+Search > > hundreds of them!!! > > There are also many very beautiful icons within the kde distribution > packages but it seems that they are not separated from their program > suites. > > What in particular are you looking for? The only particular thing I wanted was the little X for deleting morphs, and I think I found it in the forms dictionary under Halo-Dismiss. Beyond that I'm thinking something to show containers as full or empty (maybe a Russian doll set?), and little icons for appointments, todo's and such. But I was also curios about the problem in general. Thanks to everyone for the advice (in this and other threads). The people on this list are so helpful. It's wonderful! From sr at evolgo.de Sat Jun 30 19:04:55 2001 From: sr at evolgo.de (Stephan Rudlof) Date: Sat Jan 28 04:03:43 2012 Subject: ping... (please ignore this mail) Message-ID: <3B3E22D7.744A22E2@evolgo.de> Explanation for this mail: Squeakers, my domain was unavailable between 26.-28.6.. No it is available again, but I don't get any Squeak ML mails. Since there could be an intelligent mailing list program, which possibly waits for some action after a disconnection: this is it... Greetings, Stephan -- Stephan Rudlof (sr@evolgo.de) "Genius doesn't work on an assembly line basis. You can't simply say, 'Today I will be brilliant.'" -- Kirk, "The Ultimate Computer", stardate 4731.3 From werdna at mucow.com Sat Jun 2 15:52:02 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:03:45 2012 Subject: Stable squeak isn't (on mac, maybe) In-Reply-To: <3B1897CF.561630CE@trentu.ca> Message-ID: <200106021552.f52FqK522874@smtp-server1.tampabay.rr.com> I had no problem getting Squeak running. I just couldn't build any of the Stable Squeak projects. On Saturday, June 2, 2001, at 03:37 AM, jack wrote: > hi, > > i have had consistant problems getting squeak to run from after > decompacting. > > i have a suspicion that it might have to do with stuffit expander, can't > be sure about that. > > however, if you have a high speed connection and/or some patience, this > workaround might get your squeak working right. > > i had os x running, i had fixed my squeak and was running it from a > carbon vm. since then my os x crashed my powerbook firewire *hard*. now, > when i open os x it doesn't show any of its own app icons or folders > properly, they are all blank (if anyone knows how to fix this get back > to me at jeaton @ trentu.ca or on this list)... it happens despite any > number of reformats and reinstalls. > > anyway, i reformatted and am back to os 9.0.4 but this might work for > you: > > go to the platform independent section of your favorite squeak ftp site, > and get the package that has the changes and image, and get the one that > has the sources... go to www.versiontracker.com or some similar site and > get macgzip and zipit. uncompact the files you download with those > programs, and then change the file types and creators with res edit or > its mac os x equivalent. > > creator for all of these must be: FAST > file type for the image is: STim > file type for the sources and changes is: STch > > another thing is to give the vm more memory than it asks for... mine was > set too low initially. > > at worst you might waste a half an hour or so, at best you'll get a > stable squeak. it worked for me. > > jack > From arning at charm.net Fri Jun 29 13:34:14 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:03:46 2012 Subject: Philosophical questions about collections Message-ID: <200106291334.JAA04138@fellspt.charm.net> Diego, On Fri, 29 Jun 2001 09:51:00 -0300 Diego Gomez Deck wrote: >I can't find the correct way to think about #= message for collections... You are not alone in this feeling. ;-) >For example, Dictionary use Set>>= that ignores keys. > >Bag, has not implemented the message. > >All the SequenceableCollection family seems to be good (IMHO). > >There exists a message that compares the elements of a collection with >another ignoring the collection species? I don't think so, but you could do something like collection1 asSet = collection2 asSet or collection1 asArray = collection2 asArray The fact that these two options could easily produce different results suggests that there may be more than one way to think about collection equality. My inclination would be to write a method that did what I wanted in a particular situation and try to make it clear whether the order of the elements was important or not and whether duplicate elements should affect the result. Other factors, such as the precise way of comparing elements, may also be important. Cheers, Bob From noel at devtech.com Fri Jun 22 16:03:01 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:03:50 2012 Subject: Help with Wonderland textures In-Reply-To: <200106221539.RAA88527@mailhub10.isdnet.net> Message-ID: Actually, you received a reply from Andreas Raab, answering some points, and poising questions to you: http://groups.yahoo.com/group/squeak/message/30391 --- Noel From ajh18 at cornell.edu Fri Jun 29 17:27:50 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:03:54 2012 Subject: New Block Closures, New Compiled Methods, and System Tracer In-Reply-To: <41c1338e4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: I saw on the squeak swiki two Squeak Central projects: http://minnow.cc.gatech.edu/squeak/BlockClosures, and http://minnow.cc.gatech.edu/squeak/NewCompiledMethodFormat. Is there any code for these, particularly any SystemTracer code. I already have most of the compiler and interpreter re-written using the new CompiledMethod format and BlockClosures, but I can't test it until I convert an image using SystemTracer. I ran the basic SystemTracer that comes with the latest image. It finishes creating an image file, but when I start it up the VM crashes (Exception code: C0000005) in Windows 98. Has anyone created a working clone lately? Tim Rowledge is widely believed to have written: > I hope you've remembered to make it possible to manipulate the closures > from the image side. It should remain possible to alter the return > context, the receiver etc. I have. > Don't forget to modify the exception handling related prims > to be able to scan up your frames rather than the Contexts they > currently chase. I'm working on this. From RossBoylan at stanfordalumni.org Fri Jun 29 08:12:09 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:04:06 2012 Subject: Icons Message-ID: <5.1.0.14.0.20010629005847.023035d8@mail.earthlink.net> If I want to make a little icon, what's the best way to do it? Can it be done with the internal painting tool? I have a hazy recollection of seeing a recommendation to use an external paint program and then importing the result (into one of the image or button morphs?). While poking around I found the forms dictionary in Scripting System. Can anyone tell me if the code that populates it is in the system, or are we left only with the artifact? (I found some code for a few items, but not most). Any recommended sources of icons on the net? Thanks. From bert at isg.cs.uni-magdeburg.de Mon Jun 4 18:45:25 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:04:08 2012 Subject: [EXPERIMENTAL][ENH] HintingBrowser In-Reply-To: <50.16a8cc4d.284ccecc@aol.com> Message-ID: On Mon, 4 Jun 2001 JArchibald@aol.com wrote: > => 6/4/01 7:15:15 AM EDT, bert@isg.cs.uni-magdeburg.de => > << if you want those posts to be automatically collected in the SQFIXES > archive, put the [ENH] at the very beginning of the subject line. >> > > Bert, > > How does one access the SQFIXES archive? http://swiki.gsug.org/sqfixes > There are some other auto-collected archives also, correct? How does one > access them, anyone? See http://squeak.org/documentation/#mailing -- Bert From gohu at rocketmail.com Tue Jun 5 14:21:03 2001 From: gohu at rocketmail.com (Göran Hultgren) Date: Sat Jan 28 04:04:08 2012 Subject: Distributed squeak? In-Reply-To: <20010605084900.64617.qmail@web13901.mail.yahoo.com> Message-ID: <20010605142103.87749.qmail@web13903.mail.yahoo.com> Hi again! --- Göran Hultgren wrote: [SNIP] > at home - one from Rob Withers I believe (was it called RMP? Remote Message Passing?), I was > very > interested for a while for a project of ours but it is "sleeping" right now. That particular one should have been "...from Johan Fabry..." not Rob Withers (but I think he has something too IIRC) sorry, I mixed things up. regards, Göran ===== Göran Hultgren, goran.hultgren@bluefish.se GSM: +46 70 3933950, http://www.bluefish.se "Department of Redundancy department." -- ThinkGeek __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From water at tunes.org Sat Jun 16 20:51:03 2001 From: water at tunes.org (Brian Rice) Date: Sat Jan 28 04:04:14 2012 Subject: Fellow Squeaker with project you might find interesting Message-ID: Hi Roel and Squeakers, I've played around with QSOUL a little and considered your ideas. I am heavily involved in my own somewhat similar but less orthodox (not that yours is orthodox in most senses ;) project, and I thought I'd share what I'd developed. The source code is at http://www.tunes.org/~water/arrow and most of it is not relevant to your average Smalltalker. However, I managed to create a really neat little utility that others interesting in functional/logic ideas would find possibly useful to look at. (Please ignore the project file which contains out-of-date code.) I have these lazy (immutable but often infinite) collections with caches which can be made either Weak or regular Sets for the various purposes these collections play. Because they contain arrows (this is the part most irrelevant to Smalltalkers), I call them graphs, but otherwise your average Smalltalker should not find them too difficult. Anyway, part of the protocol is that I can take lazy collections of objects and filter them with a block as a one-item predicate query. ArrowGraph class>>top returns basically the top collection type instance that contains everything when queried. The filter operator is >> and can be sequentially-applied quite safely. So basically I can enter: f _ ArrowWorld objects. "Due to the current arrow architecture." g _ f >> [:value | value isKindOf: Number]. g includes: (Arrow wrapping: 3/4 in: f). "A membership test." and g will contain all the numbers. g can accept further filters itself. You can force addition of elements to the cache of a filter using +. Filtered lazy collections can also be lazily combined with set operations | and &. The existential quantification feature requires a pattern-matcher which is integral to Arrow so it's not likely your average Smalltalker would want to put up with the whole Arrow environment overhead to get the benefit (at least until I mature the architecture and manage to fork a Smalltalk utility sub-package for the matcher). Anyway, what do you think? ~ From deeplowsoftware at oreka.com Wed Jun 20 23:06:24 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:04:17 2012 Subject: No subject Message-ID: <200106202206.AAA22601@mailhub5.isdnet.net> Hi there, as some of you may know we are currently working on a 3D windows explorer in SmallTalk, which works as a virtual library. A directory is represented by a room and a file is represented by a book. And that's were we have a problem : we succeeded in creating a book and putting it where we want it to be, BUT we can't apply a texture that has more than one color. The texture is supposed to work with a bitmap and a morph (cf. asTexture method). Unfortunately when the bitmap contains more than one color the actor doesn't change or becomes all black. And we definitely need to be able to put some information on the book (e.g. the name of the file). Then our question is : does anyone know a way to make the textures work ? (is there a package we must download ?) We then thought we would add a morph to the WonderlandWrapper but it doesn't work (the morph is succesfully added ut is never shown on the screen). Is there any alternative way to add a VISIBLE StringMorph to an actor ? Thanks in advance for your answers. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From kgf at golden.net Thu Jun 28 17:40:20 2001 From: kgf at golden.net (Kevin Fisher) Date: Sat Jan 28 04:04:22 2012 Subject: A problem with startUp messages In-Reply-To: <200106281636.MAA17207@fellspt.charm.net>; from Bob Arning on Thu, Jun 28, 2001 at 12:36:28PM -0400 References: <200106281636.MAA17207@fellspt.charm.net> Message-ID: <20010628134020.A15238@blackwolf.golden.net> Hi Bob: Thanks for the info...I'll regenerate my interpreter and see how things go. I checked Ian's site and 3.0-beta2 is still the latest and greatest (which is what I use). On Thu, Jun 28, 2001 at 12:36:28PM -0400, Bob Arning wrote: > Kevin, > > Generating a new interp.c from a current image will deal with the exception stuff, but you might see if any of the *n*x gurus can point you to a shortcut. Or you might try Ian Piumarta's site -- maybe there is a sufficiently recent VM there. > > Cheers, > Bob > > On Thu, 28 Jun 2001 07:17:23 -0400 Kevin Fisher wrote: > >This could then explain some oddness I'm seeing with text selections in Genie > >as well. I'm using the stock UNIX VM from the ftp site...I'm assuming that it > >is lagging significantly behind the patches that have been flying around this > >list the past several months. > > > >Can this be rectified by generating a new interp.c, or is there a patch on the > >sqfixes archive? > > > > > > > >> Kevin, > >> > >> This is a due to a VM which does not have the latest exception handling code. If you can't easily get a suitable VM, you can work around this problem by changing > >> > >> file _ [fd readOnlyFileNamed: keysFileName] > >> on: FileDoesNotExistException do:[:ex| nil]. > >> > >> to > >> > >> file _ [fd readOnlyFileNamed: keysFileName] > >> on: FileDoesNotExistException do:[:ex| ex resume: nil]. > >> > From Alan.Kay at squeakland.org Tue Jun 26 15:40:13 2001 From: Alan.Kay at squeakland.org (Alan Kay) Date: Sat Jan 28 04:04:23 2012 Subject: Very large amount of Objects In-Reply-To: References: Message-ID: There's a preference to turn on ImageSegment swapping of projects. I have not used it recently, but I did use it heavily for several years to deal with a very large demo image, and it worked swiftly and perfectly. "One of these days" we will get around to making the Squeakland plugin image automatically swap with image segments (it's not that it is difficult to do, it's that it should be tested under any and all conditions so that the novice users don't get zapped -- and we don't have time right now). Cheers, Alan ------- At 10:03 PM -0600 6/25/01, jatzeck@freenet.edmonton.ab.ca wrote: >********************************** >* Bernhard Michael Jatzeck * >* * >* jatzeck@freenet.edmonton.ab.ca * >********************************** > >On Mon, 25 Jun 2001, Andreas Raab wrote: > >How does one use them? I'm writing a program which handles and processes >large volumes of data and I've already found that a Squeak image can >become a memory hog. > > >> ImageSegments. Not exactly trivial to use (and I'm no expert at it) but >> they're really fast provided you've got enough memory. >> >> Cheers, >> - Andreas >> >> > -----Original Message----- >> > From: Diego Gomez Deck [mailto:DiegoGomezDeck@ConsultAr.com] >> > Sent: Monday, June 25, 2001 7:13 PM >> > To: squeak@cs.uiuc.edu >> > Subject: Very large amount of Objects >> > >> > >> > What?s the best way to store about 1 million objects in Squeak?? >> > >> > I tried ReferenceStream but seems too slow.... >> > >> > TIA, >> > >> > Diego Gomez Deck >> > >> -- From Brent.Pinkney at reuters.com Mon Jun 4 08:19:19 2001 From: Brent.Pinkney at reuters.com (Brent Pinkney) Date: Sat Jan 28 04:04:27 2012 Subject: Odd interaction between Gvim and Squeak Message-ID: FWIW, Works fine between Squeak and gvim on Windows. Brent ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. From tim at sumeru.stanford.edu Mon Jun 18 17:18:43 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:04:34 2012 Subject: multi-threaded squeak References: <3.0.3.32.20010618110357.00e60648@bobjectsinc.com> Message-ID: <3B2E37F3.D54148C1@sumeru.stanford.edu> > It would be great to have this for FFI, and it's not particularly difficult > to implement. I don't know if there is any explicit support for doing this > for Plugin primitives, but I suspect not. Am I right about that? The nearest I can think of right now is the usage of the AsynchFilePlugin and the asynch parts of the Socket code. There's nothing in the plugin per se, but it isn't hard to include a semaphore in the API and make you platform code use a suitable thread to signal that sem when appropriate. I've not yet heard of a truly portable OS thread system, so I'd strongly recommend that you never include the thread stuff in the plugin code but leave it in the platform code. tim From dway at riskmetrics.com Thu Jun 28 17:24:42 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:04:35 2012 Subject: Mac OS X VM (was Re: New VMs) References: Message-ID: <3B3B685A.8987F5A3@riskmetrics.com> Speaking of OS X, I recently installed it at home (OS X final version). I wanted to run Squeak on OS X, and I figured I'd try the Cocoa version for the true OS X experience. So, to get the VM I downloaded and untarred Squeak3.0.1-MacOSX-VM.tar.gz, and it contained all the sources, but I just wanted the compiled VM so I then untarred the Frameworks subpackage as per the Readme instructions. I tried double-clicking the resulting CocoaSqueak app (which had the correct Squeaky VM icon), but it only bounced for a second and didn't run. (Also, it's only 60K or so which was odd.) Drag-and-dropping an .image on it didn't work either. I then realized I probably needed to move the Squeak.framework file into the framework search path, which the Readme mentions. I tried moving it to the suggested directories (I had to create them both), but I'm not sure if they were actually in my framework search path. (I checked my environment variables but didn't see one which looked like the right one. Yes, I am a Cocoa newbie, but I'm familiar with Unix.) Double-clicking the VM still didn't work. Anyway, do all Cocoa apps need a separate .framework file? (Or is it only needed for building a VM?) It seems like a little bit of a hassle that this is necessary to run Squeak, since it's not needed on MacOS, Unix or any other Squeak platforms that I'm aware of. Should I just stick to the Carbon version? - Doug Way dway@riskmetrics.com Henrik Gedenryd wrote: > > Giovanni Giorgi wrote: > > > Excuse me, I am new to Mac Os X. > > Can I use the carbon VM on Mac Os X? > > Thank you! > > Yes, that is precisely the point of Carbon. > > It works well, with just a known glitch when switching apps in full-screen > mode. > > Henrik From karl.ramberg at chello.se Fri Jun 29 11:22:16 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:04:37 2012 Subject: Icons References: <5.1.0.14.0.20010629005847.023035d8@mail.earthlink.net> Message-ID: <3B3C64E6.127F7049@chello.se> Ross Boylan wrote: > > If I want to make a little icon, what's the best way to do it? Can it be > done with the internal painting tool? > > I have a hazy recollection of seeing a recommendation to use an external > paint program and then importing the result (into one of the image or > button morphs?). There is a FatBitsEditor for morphic. Inspect a Image or Sketch morph and write: self form bitEdit Karl > > While poking around I found the forms dictionary in Scripting System. Can > anyone tell me if the code that populates it is in the system, or are we > left only with the artifact? (I found some code for a few items, but not > most). > > Any recommended sources of icons on the net? > > Thanks. From ned at bike-nomad.com Sun Jun 3 03:28:20 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:04:43 2012 Subject: [FIX] ProtocolBrowserSuperclassFix-nk In-Reply-To: <200106011552.KAA20656@dcs-server1.cs.uiuc.edu> References: <200106011552.KAA20656@dcs-server1.cs.uiuc.edu> Message-ID: <01060220282008.12828@ned.bike-nomad.com> On Friday 01 June 2001 09:52, I wrote: > This fixes a problem with the ProtocolBrowser where attempting to view methods in superclasses causes a walkback."! Please ignore the change set. The ProtocolBrowser changes were fighting some of my local changes. I made the mistake of not checking a stock image... -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From kgf at golden.net Thu Jun 28 01:30:44 2001 From: kgf at golden.net (Kevin Fisher) Date: Sat Jan 28 04:04:46 2012 Subject: A problem with startUp messages Message-ID: <200106280130.VAA12285@blackwolf.golden.net> Hi folks: I've been working with David Lewis, trying to figure out why OSProcess has been leaving behind zombie processes. It turns out, the problem isn't with OSProcess at all... In my image, the SystemDictionary's StartUpList has UnixOSProcessAccessor later in the ordered collection, after SecurityManager. When the image gets restarted, only classes iterated over the StartUpList up to and including SecurityManager receive the startUp message. After that, SystemDictionary>> send:toClassesNamedIn:with: terminates prematurely, leaving several classes not restarted (including UnisOSProcessAccessor, the source of the OSProcess zombies). Actually I'm not sure it terminates at all, it seems to get stuck at SecurityManager. It looks as though SecurityManager class>>startUp never returns...but only during startup. Once the image is up and running, doing a SecurityManager startUp seems to work just fine...it's only during the startup that something funny happens. The trick is to put Transcript show: scaffolding around 'self default startUp' in SecurityManager class>>startUp...open a Transcript, save the image and quit, reload and watch what gets put in the Transcript. The first Transcript show: will appear, but the second does not. However, once the image is up, doing a SecurityManager startUp will show both Transcript show: 's. Perhaps some sort of deadlock is happening during the restart of the image? I'm a bit stumped at this point...any ideas? This is on the UNIX VM, with the latest changes in the 3.1 image. From Joern.Eyrich at brokat.com Fri Jun 1 18:37:47 2001 From: Joern.Eyrich at brokat.com (=?iso-8859-1?Q?J=F6rn?= Eyrich) Date: Sat Jan 28 04:04:52 2012 Subject: squeak@cs.uiuc.edu no longer list address? References: <01060110464209.00781@ned.bike-nomad.com> Message-ID: <3B17E0FB.DC5DA983@brokat.com> I think it's just that the mail system at wdi has been fooled by the mail headers. Your mails arrive at my mailbox with From: Ned Konz To: squeak@cs.uiuc.edu I guess they also arrive with these at the address Ted Kaehler has subscribed to the list with. Now WDI has installed an autoreply on this mailbox that just returns a template message of the form "address has moved" to the address in the "From" header, where is just taken from the "To" header, which in this case does not contain the final receiver, and not derived from the actual mailbox name. So Ted K. would probably have to unsubscribe the old address from the list to stop that (or wdi would have to switch off the autoreply) I was just about to ask the obvious question in the next sentence, when Dan Ingalls's "Onward and Upward" message popped in ;-) Joern Ned Konz wrote: > > I just got a couple of responses presumably from code that I posted to the > list from within Squeak. These look like: > > -------------------- > The account squeak@cs.uiuc.edu is nolonger at this address. (Ted Kaehler, > Fri Jun 1 09:26:52 2001) > > The user squeak@cs.uiuc.edu that you emailed to is no longer at this > address. > > Your email has been forwarded to their new address. > > Their new address is: Ted.Kaehler@squeakland.org. Please adjust your future > mailings accordingly. > > Sincerely, > > WDI Information Services. > > This has been an automated response. > ---------------- > > So is squeak@cs.uiuc.edu not the right list address? If so, shouldn't Squeak > be told about this? From jwelton at pacific.mps.ohio-state.edu Wed Jun 13 11:53:12 2001 From: jwelton at pacific.mps.ohio-state.edu (Jesse Welton) Date: Sat Jan 28 04:05:00 2012 Subject: a morphic tutorial in morphic In-Reply-To: from "Scott Wallace" at Jun 13, 2001 01:32:34 AM Message-ID: <200106131153.HAA02038@campbell.mps.ohio-state.edu> Scott Wallace wrote: > > A very straightforward way to get to "Bob's SuperSwiki" and download > a project from it, if you have the "project navigator" showing (viz. > Preference #showProjectNavigator set to true,) is to open up the > navigator (my moving the cursor over it) and then hit the "Find" > button. > > -- Scott Note that this also addresses the issue Jerry mentioned about it being somewhat difficult to get back to the previous project: Simply hit the "< prev" button on the navigator. The thing may be a bit intrusive, but it sure can be handy! -Jesse > At 3:31 AM -0400 6/13/01, JArchibald@aol.com wrote: > >=> 6/13/01 1:49:44 AM EDT, vngalchin@yahoo.com => > ><< I am not one of the initiated :^) Can you please give a URL? > > > > Thanks, > > --- Lex Spoon wrote: > > > I've written a simple morphic tutorial and posted it to > > > Bob's SuperSwiki with the name "LearningMorphic". > > > >Vasili, > > > > (0) In a morphic environment, with an active Internet connection: > > (1) Open up a FileList. > > (2) In directory pane (up left), select root '[]' at the top. > > (3) From file pane (up right), select 'Bobs SuperSwiki'. > > (4) In file pane, select project file 'LearningMorphic.00x.pr'. > > (5) From (right button) action menu, select 'load as project' > > > >and the magic will follow. > > > >If you're like me, you might find it a little difficult to get out of -- I > >had to bring up the PasteUp halo to get a "desktop" menu to jump back to > >previous projects. There may be a better way ... :-) > > > >Cheers, > >Jerry. > > From bert at isg.cs.uni-magdeburg.de Fri Jun 22 14:26:52 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:05:03 2012 Subject: MIME type for Squeak project In-Reply-To: <3B310A68.C334336@acm.org> Message-ID: On Wed, 20 Jun 2001, Michael Rueger wrote: > > > "Jochen F. Rick" wrote: > > > > Hi, > > > > how would you go about getting the Squeak plug-in to automatically open > > project documents when you click on them in a browser? I assume that > > there is some kind of a MIME document type that the server could tell the > > browser. If so, what is that MIME type? > > The plugin is registered for the following MIME types: > > application/x-Squeak-Project Squeak Project Files pr > application/x-Squeak-Source Squeak Source Files sts What happened to application/x-squeak-object Squeak Object Files .sqo? And, do Mac/Win plugins support opening just the file? Like, if you go to this URL? http://isgwww.cs.uni-magdeburg.de/~bert/squeak/plugin/test/plugintest.sts -- Bert From Torsten.Bergmann at phaidros.com Mon Jun 11 07:02:54 2001 From: Torsten.Bergmann at phaidros.com (Torsten.Bergmann@phaidros.com) Date: Sat Jan 28 04:05:10 2012 Subject: About the wonderful internet browser Message-ID: <904AA220ACB4D211A10600104B3E85C92604B2@MAIL> >How does it differ from Scamper? > > --- Noel Have a look at: http://www.huv.com/smalltalk/browser.html for some screenshots or grab the image or source code at: http://www.huv.com/smalltalk/MvBrowser.tar.gz and http://www.huv.com/smalltalk/OriginalSource.tar.gz Bye Torsten From core.lists.squeak at core-sdi.com Tue Jun 5 18:43:01 2001 From: core.lists.squeak at core-sdi.com (Gerardo Richarte) Date: Sat Jan 28 04:05:14 2012 Subject: On interfaces - Morphic Wrappers Message-ID: <3B1D2854.38ACAC28@core-sdi.com> This days we have a thread on user interfaces, this time is about how to use Squeak with non-standard input devices, or, more precisely, without keyboard. It is not the first time we can enjoy this kind of discussions, there have been a lot of them in the list. Personally, I love to read about UIs. Today, we can say that once again there is a version of the MorphicWrappers available to download. This latest version is ready to be used in a Squeak3.1a-4048. It's not a long time since that previous update (just 100 updates), but before that it was a little longer (800 updates). It's a really tough job to maintain MorphicWrappers (we all suffer for maintaining packages for squeak up to date...) We almost gave up, but the team keeps growing and the new people comes with fresh energy to maintain the package. So here it comes, from deep in the heart of the latest adopters of the MorphicWrappers way of interacting with the World: We started the project almost 3 years ago with the first version of Morphic, in Squeak 2.3 (I'm not really sure when it was). MW is today an ancient project, but we think it's still current, and even a little in the future. We?ve been using it continously all this time, and we got adicted to them. Here at core where I work, there is people that learned Smalltalk & Squeak using them, and the other day, one of them asked what a Workspace is! just imagine that! Don't wait! You have to live the MorphicWrappers experience, then, you'll have the experience to say "I don't like MWs", but you won't say it. Go get them at http://mathMorphs.swiki.net/MorphicWrappers Interfacing Bye! Once again, Richie --- For a personal reply use gera@core-sdi.com From hirschfeld at acm.org Tue Jun 19 23:44:07 2001 From: hirschfeld at acm.org (Robert Hirschfeld) Date: Sat Jan 28 04:05:28 2012 Subject: [GOODIE] MethodWrappers Port Message-ID: <3B2FE3C7.3C488EE4@acm.org> Hi everyone, Here is a port of John Brant's MethodWrappers. It is based on his version for VisualWorks 3.0 (1999-04-17). [Squeak3.0, latest update: #3552] http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/MethodWrappers/20010619/MethodWrappers.19Jun1221.cs.gz [Squeak3.1alpha, latest update: #4081] http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/MethodWrappers/20010619/MethodWrappers.19Jun1146.cs.gz The only difference between the versions for 3.0 and 3.1alpha is in the use of WeakIdentityKeyDictionary from 3.1alpha. More detailed information about MethodWrappers can be found at the MethodWrappers home page: http://st-www.cs.uiuc.edu/~brant/Applications/MethodWrappers.html or from the paper 'Wrappers to the Rescue' by John Brant, Brian Foote, Ralph Johnson, and Don Roberts: http://www.laputan.org/brant/brant.html I haven't used this port that much myself since I took a subset of it to do something else, but I thought that MethodWrappers in general might be of interest to some of us. I almost forgot: WARNING! Incorrectly using the MethodWrappers port may result in an inconsistent image that can't be trusted anymore. Therefore, before experimenting with the MethodWrappers port, please save and backup your image. Best, -Robert "PS:" Thanks to Dan for helping with the class format tweak (MwMethodWrapper>>tweakClassFormat) to make subclassing of CompiledMethod work. From bparsia at email.unc.edu Sat Jun 30 17:33:14 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:05:39 2012 Subject: BankAccount Tutorial In-Reply-To: <3B3E0816.70AC74A7@telinco.co.uk> Message-ID: On Sat, 30 Jun 2001, John Hinsley wrote: [snip] > Again, that seems a good compromise: if I was sensible I might go that > way. Not being a compromising kinda person I think I'll try the code > with 3.1! I may well fall flat on my face (not unusual!) but I can > always chicken out/ask for help. > > In some ways, as soon as we start to use something with a lead time as > long as a book, or a course, we're stuck in this kind of bind. [snip] While having read Mark's book, I've not yet "worked" through it, particularly with a >=3.0 image, so it's hard to say how messy it'll be. I know for the Anthology, there's supposed to be a companion website where updates and errata could be posted, something similar for the textbook would be nifty. Cheers, Bijan Parsia. From DiegoGomezDeck at ConsultAr.com Thu Jun 28 22:57:38 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:05:43 2012 Subject: Philosophical questions about collections Message-ID: <200106281857.AA19595938@mail.consultar.com> I can't find the correct way to think about #= message for collections... For example, Dictionary use Set>>= that ignores keys. Bag, has not implemented the message. All the SequenceableCollection family seems to be good (IMHO). There exists a message that compares the elements of a collection with another ignoring the collection species? TIA, Diego Gomez Deck From tim at sumeru.stanford.edu Fri Jun 22 03:16:05 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:05:43 2012 Subject: StrongARM JIT? In-Reply-To: References: Message-ID: "Noel J. Bergman" is widely believed to have written: > If you post it, I'm sure there would be plenty of volunteers to help you > prioritize it. ;-) Gee, 4x improvement in Morphic or a Jitter? Choices, > choices ... personally, I'm guessing that the J3 benefits will the higher of > those two. Actually neither; getting a job so's I can afford to have a net connection (and eat!) is the highest. tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim Useful random insult:- Ignorant, and proud of it. From noel at devtech.com Wed Jun 20 18:46:56 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:05:47 2012 Subject: Morphic "performance" [sic] In-Reply-To: Message-ID: A 50% overall improvement in Morphic would be a start, and 30% lighter in space might turn into even more performance on cache-light processors. I wonder what the complaints would be? I suppose that if there were a Morphic plugin, people might complain about having to change C code to affect changes in Morphic. Andreas, what were you thinking? :-) With respect to Morphic performance, Tim has said on a couple of occasions that, in his opinion, a 4x overall improvement in "normal case performance" could be achieved, but that "somebody has to have the time to tackle it." One area he mentioned was that Morphic uses floating point extensively, and that is a major problem for some processors. He quoted a 10x drop in performance going from real to emulated floating point, in one experiment. And no, I wasn't trying to cajole Tim into doing the work. I really did interpret his comments the other night as suggesting that he was "in the mood" to tackle Morphic's performance problems. --- Noel From DiegoGomezDeck at ConsultAr.com Thu Jun 7 23:59:39 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:05:49 2012 Subject: Plot frendy alternative to GraphMorph? In-Reply-To: Message-ID: <5.1.0.14.0.20010607205822.00b3aa78@mail.consultar.com> Halo.... What is the functionality you need in PlotMorph.... I?m making some changes and I can find some time for your request.... Cheers, Diego Gomez Deck >Hello again, > >I've been using PlotMorph (part of the genetic algorithm package by Diego >Gomez Deck and Gustavo Sznaider) to plot out data. I also see that there >is a GraphMorph already in the system, but it doesn't seem to be able to >handle points, just single data values. > >Before I set myself on PlotMorph, are ther any other classes in the system >I should be looking at? I like GraphMorph's ability to select points and >retrieve their values, something PlotMorph cannot do. > >Hopefully not too vague of a question... > >Thanks! >Aaron > >Aaron Reichow :: Twin Ports ACM VP :: http://www.d.umn.edu/~reic0024/ >"The profit system follows the path of least resistance and following the >path of least resistance is what makes a river crooked." -U. Utah Phillips From Alan.Kay at squeakland.org Fri Jun 8 04:12:26 2001 From: Alan.Kay at squeakland.org (Alan Kay) Date: Sat Jan 28 04:05:50 2012 Subject: A Graphics Guru Challenge... In-Reply-To: <000201c0ef87$294cdb20$4f0c10ce@rd.wdi.disney.com> References: <000201c0ef87$294cdb20$4f0c10ce@rd.wdi.disney.com> Message-ID: I think Duane means with a quadrilateral transform. As you know better than I a 4x4 homogenous coordinates matrix can represent at least the computer version of perspective for vertices ... Cheers, Alan ----- At 12:22 PM -0700 6/7/01, Andreas Raab wrote: >Duane, > >> Unfortunately, you can't represent a true perspective >> projection with just a 4x4 transform. > >Err ... what exactly do you mean by a "true" perspective projection?! > >Cheers, > - Andreas -- From noel at devtech.com Fri Jun 22 07:05:39 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:05:54 2012 Subject: Contest! In-Reply-To: <3B32E91A.142FA61E@chello.se> Message-ID: > Also note that a new UI is comming to a image near you: > A Minimal Morphic-free UI for PDAs and Kiosks > in the next issue of www.squeaknews.com What details are known about this additional UI? MVC works just fine on PDAs, and is small, fast, rich, and flexible; what does this minimal UI offer to warrant YAUI? --- Noel From arning at charm.net Sat Jun 30 01:57:33 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:05:57 2012 Subject: Out of space + other flakiness Message-ID: <200106300157.VAA27620@fellspt.charm.net> On Fri, 29 Jun 2001 16:13:41 -0700 Ross Boylan wrote: >I've hunted around for tools >or convenience methods that would give me a more complete picture of >object memory--all I have now is the # free bytes ( '1,148,708 bytes >available'). I'd like to know how much memory it thinks its using, >the amount each class's instances are taking and such. Ross, Try Smalltalk spaceTallyTo: 'somefile.txt'. or Smalltalk printSpaceAnalysis: 1000 on: 'STspace.text0'. BTW, 1.1 meg free is not a lot. Cheers, Bob From ken at tsinghua.edu.cn Tue Jun 26 03:56:57 2001 From: ken at tsinghua.edu.cn (Kenneth Fields) Date: Sat Jan 28 04:06:02 2012 Subject: Invitation Message-ID: Discourse mapper: a metadiscourse question. I am hoping there are some metalanguage experts on this list! The problem is to describe professional/academic discourse units in object oriented terms (classes, attributes, services). The language I would like to ultimately express this in is UML (unified modeling language). This is an opportunity for me to learn more about object oriented analysis and discourse analysis. What is the proper term for discourse analysis at this most general level of societal conversation? It is not called discipline analysis, because disciplines contain overlapping discourse. One important object in the problem domain would be professional/academic associations - who hold conferences - who discuss the cutting edge of their field - who work on collaborative projects - who have an important archive of information regarding their field - who have important journals, listservs... The question: what are the important classes (objects) at this general level of discourse, what are those classes attributes, what actions can they perform, what are their responsibilities, what knowledge do they contain. The Interdis community would be an exceptional case study as our discourse is about discourse. One class would be <>, another class would be daily conversation on the <>; the org has a <>: AIS; the org knows <>, the Listserv talks about many <>... The model and interface will be done in Squeak. I have set up a temp listserv at topica.com because I am inviting a number of discourses into the parlor. send an email to: ooDiscourse-subscribe@topica.com Don't be put off by the topica.com registration... it has proven to be no problem in the past for me - quite a good way to set up a limited term conversation - just how limited that term may be, we will see. Thanks, Kenneth Fields Ph.D. Media Arts and Technology Institute of Human Computer Interaction and Media Integration Department of Computer Science Tsinghua University Beijing, China 100084 ken@tsinghua.edu.cn ken@create.ucsb.edu http://www.create.ucsb.edu/ken (86 10) 8316 1363 From danielv at netvision.net.il Sun Jun 10 23:37:00 2001 From: danielv at netvision.net.il (danielv@netvision.net.il) Date: Sat Jan 28 04:06:09 2012 Subject: About the wonderful internet browser Message-ID: <200106102131.AAA09807@mailgw1.netvision.net.il> Yup, I'm d/ling your files now. It wasn't quite clear to me what I'd find there, well, one way to find out... I hope I can grok enough to make it work (at least some). Do you mind if I ask questions (assuming I get that far)? Daniel Jon Hylands wrote: > On Mon, 11 Jun 2001 01:54:44 +0300 , danielv@netvision.net.il wrote: > > > Just got to wondering again when I will have a great browser in Squeak, > > one of the last things I venture outside for, and this was the most > > recent news I could find of your endeavour... > > Well, I actually released the code back in April, shortly after getting > back from Smalltalk Solutions. > > I don't know if anyone is doing anything with it, though. I haven't heard a > peep about it since the conference... I was hoping that I was going to find > the time to work on it, but I find myself with so little time on my hands > right now, I barely have time to work on MicroSeeker... > > Later, > Jon > > -------------------------------------------------------------- > Jon Hylands Jon@huv.com http://www.huv.com/jon > > Project: Micro Seeker (Micro Autonomous Underwater Vehicle) > http://www.huv.com From Allen_Wirfs-Brock at Instantiations.com Thu Jun 21 06:46:08 2001 From: Allen_Wirfs-Brock at Instantiations.com (Allen Wirfs-Brock) Date: Sat Jan 28 04:06:15 2012 Subject: Pat Caudill 1945-2001 Message-ID: <5.1.0.14.0.20010620234513.035b2ec8@mail.instantiations.com> It is with deepest sorrow that we inform you of the passing of Pat Caudill. Pat died quietly in his sleep of natural causes on the evening of June 14. Pat was a key contributor to the development of Smalltalk virtual machine technology. From 1983-1988 he helped create the Tektronix Smalltalk virtual machines. These were the first commercially available, high performance Smalltalk-80 implementations. After leaving Tektronix, Pat joined the original Instantions, which ultimately became part of Digitalk. At Digitalk, he made many contributions to the virtual machines in various versions of Smalltalk/V and VSE. While Pat was a uniquely talented implementor of programming languages his greatest contributions were probably in the area of garbage collection. At Tektronix he implemented what was probably the first multi-generational garbage collector to be used in a commercial software product. The Tektronix collector implemented a number of innovations such as the use of a separate large object space to minimize copying overhead. Pat continued to develop garbage collector technology during the rest of his career. Most recently, Pat developed for Instantiations' JOVE Java compiler an innovative garbage collector that utilized thread local heaps to maximize GC concurrency. When Pat wasn't collecting garbage he was an avid skier and ski instructor. He also loved hiking the tails of Oregon, Washington, and Colorado. Pat's friends and colleagues will be getting together along with some of Pat's favorite microbrews Saturday, June 23. Any of Pat's friends in the area who would like the details of this gathering should email pat.caudill.wake@instantiations.com as soon as possible. From noel at devtech.com Fri Jun 22 18:35:27 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:06:16 2012 Subject: Minimalist PDA/Kiosk UI In-Reply-To: <3B32FF4E.6A5E4E76@squeaknews.com> Message-ID: I'll look forward to seeing it. A lot of us want a fast, compact, stylus-centric UI for use on PDAs, but we don't want to give up being able to do development on the PDA (e.g., we still want browsers, the compiler, etc.). IAE, I'm looking forward to seeing it, although I am still not sure why such a UI could not be built using MVC interfaces. The idea of using a state machine caught my attention. I am currently in the process of building a project using a general state machine approach. The current state is encoded in the notion of a Context; the Context holds the current Actions that can be performed in the Context; the Actions cause a a transition to another Context. That is model behavior, but the contexts can viewed, and a selection of an action made. Actions are objects, not methods. The actual application is hidden within the Actions and the way in which the context graph is constructed dynamically. --- Noel Tansel Ersavas [Editor, SqueakNews http://www.squeaknews.com] wrote: > "Noel J. Bergman" wrote: >> What details are known about this additional UI? MVC works just fine on >> PDAs, and is small, fast, rich, and flexible; what does this minimal UI >> offer to warrant YAUI? Well, I guess I made a few demos to a few people, but I doubt if anyone can remember. Apart from that nobody knows much about it. You'll have to wait at least about a month and a bit to see the full details but I can tell you this: It is not actually intended to compete with neither MVC nor Morphic. I guess it should be called a toolkit rather than "UI" but what the heck, it is a UI. It is aimed at minimal machines and works on top of an almost fully stripped image (no MVC, no Morphic, only sound and basic Blt support, images under 1M). The goal is to quickly program slick looking PDAs and Kiosk applications with minimal programming (very narrow focus). Supports sound and still and animated graphics. It is programmed as a state machine or a hierarchy of state machines so most of the generation can be automated (You don't have to, but makes things easier). It works well with stylus and all requests are point and click, it has its own keyboard layout which is so flexible it can emulate a keyboard, a pop-up menu or a yes-no answer in exactly the same way. It is about 10 classes and 190 methods, semi-commercially tested and working. It was borne out of a need and helped me to develop a 30+ page full color mostly functioning prototype on a Cassiopeia with 16M memory and 10M+ graphics and sound files, all in 3-4 weeks, including the toolkit itself. This was around January 2000 when I was in a more functioning state, it needs a little dusting. Cheers From dmacq at erols.com Tue Jun 5 00:54:42 2001 From: dmacq at erols.com (Donald MacQueen) Date: Sat Jan 28 04:06:17 2012 Subject: digital video In-Reply-To: <3A6B12B0.C71031F4@create.ucsb.edu> References: <3A6B12B0.C71031F4@create.ucsb.edu> Message-ID: <7614575959.20010604205442@erols.com> Stephen, The family video camera went kablooiee this week and I wanted to ask you a few questions to cement what you said at lunch in Chicago. I want to get, I suppose, a -digital- camera. My goal is to be able to create (someday) video cds, which you called dvd-ram. So what options should I look for in a camera? Firewire? USB? S-VHS? Any faqs you can point me to would be great. It was good to finally put a face together with a name I'd seen for so long. Thanks. -- Donald Donald M. MacQueen Registered Smalltalk Bigot, [Esq.] From lex at cc.gatech.edu Fri Jun 22 16:02:21 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:06:22 2012 Subject: MPEG on Windows NT? References: <3B31DC5F.FEB389ED@brokat.com> Message-ID: Okay, so it's something about *our* setup or *our* files. This is very helpful.... And this www.krank.dk/mpg site is cool.... -Lex =?iso-8859-1?Q?J=F6rn?= Eyrich wrote: > I couldn't download the mpeg from coweb, but with > "http://www.krank.dk/mpg/AlienSong.mpg", it works for me (sort of, > audio and video are not properly synchronized, and playback stops just > short of the end - but it doesn't crash) > > OS: NT4SP5 > > VM: Squeak 3.1 VM (alpha build 4) from May 1 2001 > > Plugin: don't know how to find out the version, but the File has a > date of March 15 2001 (but I don't know if this is just the date I put > it on my machine), size is 244736bytes, md5sum is > 62ef6dd43dc97b0b9e5bd489c85a370d, and it contains this string: > Mpeg3Plugin 27 October 2000 (e) > > HTH, > Joern > > P.S.: HINT: It's even funnier if you watch (and listen to) it in fast > forward in Quicktime Player ;-) > From karl.ramberg at chello.se Sat Jun 16 10:33:43 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:06:28 2012 Subject: [GOODIE]PixelFilterMorph (0.3) References: <3B0F800C.B7EDDD3D@chello.se> <3B12622A.D652832B@chello.se> Message-ID: <3B2B3602.D6D4E909@chello.se> Karl Ramberg wrote: > > > I took the liberty to extend on Mike Reutenbergs POPIMorph goodie > > and started to make a simple image adjustment morph. The idea is > > to be able to adjust the likes of brightness and saturation of > > images without leaving Squeak to do this in fx. Photoshop . > > Open the morph from the NewMorph/Demo/PixelFilterMorph menu. > > Select a effect and drop a SketchMorph on it. > > > > This is a very early version and any suggestions, specially > > better ways of doing the color adjustments, speed this morph up > > etc. appreciated. > > Also the mechanism for adding new filters/effects is very crude at the moment... > > Here it is again slightly improved. Transparency is now preserved > for all filters. Also replaced the brightness and saturation filters > with 'lighter' and 'darker', and saturation with 'more saturated' and > 'less saturated'. Select the filter and then pull the slider to get > the desired value. > > Speed is still a big issue. Every thing else is also in mild flux. Still more changes... -Now it accesses the form bits array instead of the x and y coordinates. This is a slight speed improvement:-). But it's on the cost of the wave and fuzzy filters, I have not implemented them to the new model. Transparency is not preserved either... -Adding new filters should be easier :-) Any hints to improve appreciated. Have fun. Karl -------------- next part -------------- A non-text attachment was scrubbed... Name: PixelFilterMorph.4.cs.gz Type: application/octet-stream Size: 1829 bytes Desc: Unknown Document Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010616/379e04f9/PixelFilterMorph.4.cs.obj From JArchibald at aol.com Tue Jun 19 08:20:02 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:06:37 2012 Subject: [newbie] Complex boolean value? Message-ID: <11f.7de028.28606532@aol.com> => 6/19/01 2:36:18 AM EDT, ok@atlas.otago.ac.nz => << Since unary/binary/keyword is not a TRUE description (keyword messages may be unary and they may be binary), the simple fact that that terminology WAS used in Smalltalk and IS used by some Smalltalkers does NOT mean that it is appropriate for all Smalltalkers for all time. >> Of course it is not appropriate at all times. With a depth of experience and knowledge about programming languages (which is certainly true of the Smalltalk community), one can discuss all kinds of interesting comparisons. However, one does have to get one's terminology straight. Rightly or wrongly, the terms 'unary', 'binary', and 'keyword' have been pre-empted by Smalltalk, and are used to desribe the basic message forms. If one says, "Well, I don't care about that. I want to use 'unary' and 'binary' with some other meaning," then the interaction must qualify these terms. I will say 1 + 2 is a "binary message in Smalltalk terms'" or it is a "binary operator in many other programming languages ... ". In this way, the discussion is clarified. To address the above, a keyword message/method can be "binary in the sense of other programming languages;" this is true when there is only one parameter/argument. Keyword messages cannot be unary, however, there must be at least one parameter. To say that Smalltalk should not have pre-empted these terms is a different discussion. But to deny that this occurred is just not correct. Cheers, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From Dan at SqueakLand.org Tue Jun 26 02:05:40 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:06:39 2012 Subject: [updates] 9 more for 3.1alpha Message-ID: -- Folks - I have just forwarded another 9 updates to the servers for 3.1a. Enjoy - Dan ------------------------- 4165lsbTexFix-ar -- Andreas Raab -- 14 June 2001 Fixes texture uploads in accelerated B3D" 4166HandCaching-ar -- Andreas Raab -- 23 June 2001 This change set changes the strategy for figuring out if morphs which are held in the hand can be cached or not. Rather than asking each and every morph about whether it has some translucent color the new strategy takes into account that most translucent morphs will be backed by some opaque morph. An example is the current use of the optional button pane which is constructed using a transparent holder embedded in an opaque system window. Before these changes any window containing such a construction was not cached - now it is." 4167TruncateFile-JMM -- johnmci@smalltalkconsulting.com -- 24 May 2001 Add logic to support truncating of an open file" 4168GenieDictRelocation-ar -- Andreas Raab -- 24 June 2001 Relocate the gesture dictionary from the event handler to the other properties. The gesture dictionary is in no way involved in event handling and heavily complicates various future reformulations." 4169scamperStart-ls -- Lex Spoon -- 17 June 2001 Make Scamper start at local start page, instead of instantly downloading something." 4170dbLessCeleste-ls -- Lex Spoon -- 21 June 2001 Allow Celeste to run without a database open. Such an empty Celeste would be well suited for the Tools flap...." 4171scamperCeleste-sw -- Scott Wallace -- 25 June 2001 Put a Scamper web browser and a Celeste email tool into the tools flap. This became possible thanks to Lex Spoon's recent scamperStart and dbLessCeleste updates that allow Scamper to start up with a default local url and Celeste to survive even if there is no mail data base yet established." 4172magnified-sw -- Scott Wallace -- 25 June 2001 Fixes a condition once seen in MagnifierMorph initialization, which could halt the creation of a 'Widgets' flap. Makes Magnifiers launched from the Widgets flap be named 'Magnifier' rather than 'Screening'" 4173MIExtras2-tk From karl.ramberg at chello.se Thu Jun 21 05:09:37 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:06:39 2012 Subject: MPEG on Windows NT? References: Message-ID: <3B318166.57B24EC0@chello.se> Lex Spoon wrote: > > Thanks John, Robert, other John, and Noel -- you have really helped > narrow the problem! In fact, it seems to work for everyone but us! > Either the problem is specific to Windows NT, or there is something > goofy in our setup -- either of NT, or of Squeak. > > It would still be wonderful to hear from anyone who has specifically a > pre-Win2000 Windows NT box who can try this experiment. In the > meantime, though, I guess we're going to start recompiling various > versions of the plugin and seeing what we can come up with.... > > John Maloney writes: > > The bugs are in the original C library--which we got for free, so I'm not > > complaining. I don't think that John Macintosh introduced any of these > > bugs; they seem completely unrelated to the color conversion code that > > he worked on. > > > > Too bad about the C bugs. I've actually seen an occasional one of these > myself, in particular if your MPEG file is questionable. It sure would > be nice to have a *Squeak* MPEG reader, so that the errors can be > tracked down more easily, but like John says, we're much better off than > with no MPEG reader at all! Yup, big thanks to JMM for making the MPEGPlugin. There is a java MPEG player 'out there' so why not a Squeak one? I've been looking into writing one but the logic is too overwhelming at the moment. If more people were interested I would be happy to collaborate though. A pure smalltalk MPEG video player would be too slow for anything but research though, but with Slang and native compiling, it would be a great contribution to 'the effort' :-) Karl From Torsten.Bergmann at phaidros.com Fri Jun 29 13:47:45 2001 From: Torsten.Bergmann at phaidros.com (Torsten.Bergmann@phaidros.com) Date: Sat Jan 28 04:06:41 2012 Subject: Image Morphs Message-ID: <904AA220ACB4D211A10600104B3E85C9260511@MAIL> Have a look at the PixelFilter demo accessible on Bobs Super Swiki (BSS) http://209.143.91.36/super.308 Download it from within you squeak using the orange "find" button at the bottom of your squeak window or install the squeak plugin from www.squeakland.org and open the project inside of your browser. The projects changeset includes the code. Also have a look at the Image processing framework source code. http://209.143.91.36/super.347 (Project Overview) and http://webs.sinectis.com.ar/jmvuletich/ImageProcessing/ImageProcessing.html for the code and samples. Cheers Torsten -----Original Message----- From: Joshua D. Boyd [mailto:jdboyd@cs.millersville.edu] Sent: Freitag, 29. Juni 2001 15:18 To: squeak@cs.uiuc.edu Subject: Image Morphs I've been poking around the systems browser, and I've figured out how to load a jpeg into an ImageMorph. But, how to I get access to that jpeg, pixel by pixel (like to built a histogram of the image, for instance), and write it back to disk? Or is the ImageMorph the wrong way to go about this? -- Joshua Boyd From nadja at cc.gatech.edu Wed Jun 20 20:31:16 2001 From: nadja at cc.gatech.edu (Jochen F. Rick) Date: Sat Jan 28 04:06:50 2012 Subject: MIME type for Squeak project Message-ID: <20010620163116.B11330@cc.gatech.edu> Hi, how would you go about getting the Squeak plug-in to automatically open project documents when you click on them in a browser? I assume that there is some kind of a MIME document type that the server could tell the browser. If so, what is that MIME type? Peace and Luck! Je77 From spair at advantive.com Mon Jun 18 18:11:19 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:06:50 2012 Subject: multi-threaded squeak In-Reply-To: <3B2E37F3.D54148C1@sumeru.stanford.edu> Message-ID: You might be able to create something like a "HostThread" class that when instantiated would maintain a handle to a platform independent structure that would in turn hold a reference to the platform dependent handle (much like the Socket code works). You would then have a set of primitives appropriate for host threads. There would always be one of these threads in which the image runs. Then, you could at least use Smalltalk code to create and maintain the host thread pools. The FFI code could be made a little more generic such that calls could be dispatched on any available thread...and if it happened to be the Smalltalk thread, the behavior would be identical to the current situation. If the VM for a particular plaform didn't support host threads for foreign calls, then the FFI framework would only have one thread (the one the Smalltalk code uses) from which to choose. - Stephen > -----Original Message----- > From: Tim Rowledge [mailto:tim@sumeru.stanford.edu] > Sent: Monday, June 18, 2001 1:19 PM > To: squeak@cs.uiuc.edu > Subject: Re: multi-threaded squeak > > > > > > > It would be great to have this for FFI, and it's not > particularly difficult > > to implement. I don't know if there is any explicit support > for doing this > > for Plugin primitives, but I suspect not. Am I right about that? > The nearest I can think of right now is the usage of the > AsynchFilePlugin and the asynch parts of the Socket code. There's > nothing in the plugin per se, but it isn't hard to include a semaphore > in the API and make you platform code use a suitable thread to signal > that sem when appropriate. > > I've not yet heard of a truly portable OS thread system, so I'd strongly > recommend that you never include the thread stuff in the plugin code but > leave it in the platform code. > > tim > From ned at bike-nomad.com Sat Jun 30 19:48:51 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:06:57 2012 Subject: newbie question - killing a process In-Reply-To: References: Message-ID: <0106301248510C.00791@ned.bike-nomad.com> On Saturday 30 June 2001 12:35, Rosemary Michelle Simpson wrote: > How do you kill a process whose objects have gone away? I created a > clock process (part of Mark's examples) and then made the mistake of > quitting without terminating the process. Now I have an orphan clock that > wont go away. I did as he suggested and did: > > Smalltalk garbageCollect. > Process allInstances inspect. > > This produced a long array of 34 processes, most of which say "a Process > in UndefinedObject>>DoIt". Mark says to 'find the one you want (probably > near the bottom of the list) and send it terminate." > > My question is: > > How do I select a receiver from this array to terminate? Easiest way is to use the Process Browser (World menu/debug/open Process Browser). If they're still around, something's hanging on to them. Are you assigning the Process to a variable (you must be or it would be GC'd when it stopped)? You need to find (and delete) whatever's hanging on to the variables that are hanging on to the Processes. Just select one of your defunct processes in the Process Browser, kill it (using the context menu), then see if it goes away. If not, pop up the context menu again, and choose "chase pointers". You'll see what's hanging on to that Process. Then just nil out the variable, re-collect garbage, and it should be gone. I added that when I made the Process Browser because this was a common problem for me. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From noel at devtech.com Tue Jun 26 01:35:30 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:06:57 2012 Subject: Squeakland plugin doesn't work with latest IE6 beta? In-Reply-To: <000001c0fddb$19978740$0a0c10ce@rd.wdi.disney.com> Message-ID: Are you talking about IE6 for Windows? I am running 6.00.2462.0000, and Squeakland appears to be working just fine for me. --- Noel -----Original Message----- From: Andreas Raab [mailto:Andreas.Raab@gmx.de] Sent: Monday, June 25, 2001 20:58 To: squeak@cs.uiuc.edu Subject: RE: Squeakland plugin doesn't work with latest IE6 beta? Well it seems as if IE6 (which I just installed) doesn't support *any* Netscape style plugins. Or did you have any success with, e.g., QT in IE6? Makes me wonder if that's deliberate or not... Cheers, - Andreas > -----Original Message----- > From: John Kozak [mailto:jk@xylema.org] > Sent: Sunday, June 24, 2001 4:45 AM > To: squeak@cs.uiuc.edu > Subject: Squeakland plugin doesn't work with latest IE6 beta? > > > subject says it all really: it's IE version 6.0.2479.0006, and the > plugin doesn't seem to connect to it at all... > > John > > From wiebe at cosmocows.com Sun Jun 3 00:42:40 2001 From: wiebe at cosmocows.com (Wiebe Baron) Date: Sat Jan 28 04:07:07 2012 Subject: [ENH] inlined errors not (was: RE: Squeak textbox and events) In-Reply-To: Message-ID: Here's one late-night solution to in lined error message irritations. It basically does what most coding environments do, error messages appear at the bottom of the window and the cursor is moved to the offending spot. This is a quick hack but the error box could be turned into some kind of listMorph supporting multiple error messages, code warnings, optimization hints, encouragements, recipes, squeak foundation banner advertising... I digress. At the very least it'll save you one keystroke. Jpeg attached. -Wiebe > -----Oorspronkelijk bericht----- > Van: Andrew P. Black [mailto:apb@cse.ogi.edu] > Verzonden: 13 May 2001 20:08 > Aan: squeak@cs.uiuc.edu > Onderwerp: RE: Squeak textbox and events. > > > We have the tools to do something that might feel more natural, at > least to someone unused to the Smalltalk Paragraph Editor. That is: > we have balloons, as used in balloon help. It seems to me a balloons > would be a natural place to put an error message. What I can't > figure out is: when is the "natural" time to make the balloons > disappear? Probably not when you first put the cursor at the > offending place, because you may not have fully read the contents > yet. But while you are editing, the balloon would be in the way. It > seems that in lined error messages that I can read or delete at will > have advantages. -------------- next part -------------- A non-text attachment was scrubbed... Name: errorBar.jpg Type: image/jpeg Size: 46081 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010603/7e4c820c/errorBar.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: ErrorBar.1.cs Type: application/octet-stream Size: 4749 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010603/7e4c820c/ErrorBar.1.obj From jhinsley at telinco.co.uk Fri Jun 29 01:16:44 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:07:07 2012 Subject: Very slow performance on faster machine References: <3B39594C.D5A2E22C@telinco.co.uk> <2a1f02914a.rowledge@goldskin.stcla1.sfba.home.com> <3B397236.B69FB393@telinco.co.uk> <006001c0ff6e$22da6f40$0201a8c0@honda> <003201c10036$9a93dc60$0201a8c0@honda> Message-ID: <3B3BD6FC.71143518@telinco.co.uk> Tim Cuthbertson wrote: > Good Lord, who would have thunk (sic) that 1/4 gig of RAM wouldn't be enough > on a PC? > Who indeed? But then, who would have thought that 128Mb of PC133 would cost $20? I remember paying twice that for 64Mb only last Christmas! (Dammit!) And about the same for 8Mb of FastPage a couple of years before. The defrag issue does seem a bit wierd. But I wonder if a delete, defrag and re-install would help? Or you might like to try stopping the management server. I'm not sure what Oracle does on/to NT, but I know it wants to play about with the kernel (and grab a huge amount of RAM) on Linux. -- Which (as well as my calculating that I'd never, ever be able to afford to run it commercially) is why I use MySQL. But that's another story. There are so many interesting (and instructive) possibilities: I hope you keep fiddling with it! Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From DiegoGomezDeck at ConsultAr.com Sat Jun 2 23:15:26 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:07:08 2012 Subject: More advanced Graphing In-Reply-To: <3B18CD28.504763EA@bluewin.ch> References: <5.1.0.14.0.20010601131448.00b39968@mail.consultar.com> Message-ID: <5.1.0.14.0.20010602201351.00b39cc8@mail.consultar.com> Attached are 2 file-outs with PlotPoint and PlotMorph classes, first file-in PlotPoint then PlotMorph... You can find some examples in testX class methods at PlotMorph.. Do not hesitate to contact me for questions, Cheers, Diego Gomez Deck www.ConsultAr.com/DiegoGomezDeck >Hi Diego, > >Your PlotMorph looks very nice, I would be very happy >if you could send it to me. >I am playing with simulation and it's the kind of Morph >I want to represent the graphic result. > >Have a nice day. >Alain > > > >Diego Gomez Deck wrote: > > > > If you want, I can send my PlotMorph... > > > > it looks like the atachs... > > > > TIA, > > > > Diego Gomez Deck -------------- next part -------------- A non-text attachment was scrubbed... Name: PlotMorph.zip Type: application/zip Size: 5157 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010602/6c77e761/PlotMorph.zip From m.rueger at acm.org Wed Jun 20 20:41:12 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:07:10 2012 Subject: MIME type for Squeak project References: <20010620163116.B11330@cc.gatech.edu> Message-ID: <3B310A68.C334336@acm.org> "Jochen F. Rick" wrote: > > Hi, > > how would you go about getting the Squeak plug-in to automatically open > project documents when you click on them in a browser? I assume that > there is some kind of a MIME document type that the server could tell the > browser. If so, what is that MIME type? The plugin is registered for the following MIME types: application/x-Squeak-Project Squeak Project Files pr application/x-Squeak-Source Squeak Source Files sts Michael From karl.ramberg at chello.se Wed Jun 13 18:36:21 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:07:13 2012 Subject: The battle to define the future of the book in the digital world. Message-ID: <3B27B29C.D8A8C6B1@chello.se> I saw this refereed to on slashdot, it's a interesting article about the future of books. http://firstmonday.org/issues/issue6_6/lynch/index.html Karl From danielv at netvision.net.il Sat Jun 2 19:37:19 2001 From: danielv at netvision.net.il (danielv@netvision.net.il) Date: Sat Jan 28 04:07:13 2012 Subject: [EXPERIMENTAL!][ENH] HintingBrowser 0.2 Message-ID: <200106022129.AAA02542@mailgw3.netvision.net.il> Roel Wuyts wrote: > On 02/06/01 17:27, "danielv@netvision.net.il" > wrote: > > Stephane Ducasse wrote: > >> What could be interesting to add is: > >> - abstract methods > > Done. Wasn't sure whether methods that call #shouldNotImplement also > > count as abstract. What do you think? > Well, no, as the intention is not that subclasses should override this to > implement the behavior, quite the contrary. Hmm, right. It's not delaying implementation, but refusing it. >ShouldNotImplement is used for > 'cancellation': 'removing' unwanted behavior inherited from superclasses. > Maybe this is another category. I think it should be, but it's not so important. > >> - extends (overide + call super) [super calls on different names] > Yes. Methods with a selector foo: that in their implementation call do a > super call to another method then foo: are considered very bad and could > lead to hard-to-track bugs. I know - the question is whether this is worth showing. As in the previous case, I'm not sure what I want to do with the relatively rare cases. > I normally call this is a 'bad super send', and > show it differently from regular super sends. and > Yes, it quickly does, does it ? I never found a good intuitive way of doing > it... Where do show these sort of things? Are you implying that SOUL got a body? how is that going? > > BTW, you have better ideas about how to display these things? I think > > the single-letter-flag idea is past it's usefulness ;-) > Icons are also not very practical. Maybe letters or icons in > combinations with tooltips ? That way you can hover over an icon/flag and > get more info ? I was thinking of icons too, but I like the tooltip idea. The problem with icons is you need pretty icons (a problem by itself ;-) that designate some pretty abstract ideas... Daniel From jhinsley at telinco.co.uk Sun Jun 24 02:02:53 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:07:13 2012 Subject: historical note (was: New Block Closures) References: <5DA5491C2D46D311BACE00508B0AC0F102100659@ctnhemail02.corp.timken.com> <004901c0fb4a$0ba6b400$6401a8c0@we.mediaone.net> <20010623135659.A28532@conch.msen.com> <001701c0fc27$8901e220$6401a8c0@we.mediaone.net> Message-ID: <3B354A4D.BD772877@telinco.co.uk> Jim Benson wrote: //snipped >Parts [of Linux] are better than run of > the mill 'nixes, some parts worse. It's not the case where someone sat down > to write a what we would call a better Unix, they just wrote a different > one. Before someone takes me to task and feels the need to 'educate' me > about Linux and how much better it is than other *nixes, I'll tell you up > front that I don't care. Well, I wouldn't presume to 'educate' you. For one thing, I'd get my butt kicked. But I would be interested in your educating me by telling me your reasons for making that assertion. Otherwise you don't seem to be saying anything more than "that's what I think, take it or leave it." > So how do you make software better? Personally, I don't see it coming from > rewriting thirty year old software. Me thinks it comes from the revolution > side. I'd *like* to believe that too. But I can't think of a single "revolution" which wasn't evolutionary in the sense of "standing on the shoulders of giants". Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From david at simberon.com Tue Jun 26 02:17:09 2001 From: david at simberon.com (David Buck) Date: Sat Jan 28 04:07:15 2012 Subject: Reminder: Ottawa Smalltalk User Group meeting June 28 Message-ID: <3B37F0A5.BA6045C1@simberon.com> The Ottawa Smalltalk Users Group (in Ottawa, Ontario, Canada) will be having a meeting on June 28, 2001: Designing 3D Game Worlds in Smalltalk Anthony Lander Learning Dimensions Learning Dimensions uses Smalltalk to design worlds for 3D video games. Anthony's talk will look at various aspects of 3D video game design. The talk begins with an overview of the game development pipeline, then looks at some 3D algorithms, and overall design strategies. June 28, 2001 7:00 PM Export Development Corporation 151 O'Connor St. Ottawa Meet in the lobby by 6:45 Please RSVP to david@simberon.com if you intend to attend so that we can get an idea of the number of people who will be attending. From karl.ramberg at chello.se Mon Jun 25 16:25:46 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:07:18 2012 Subject: Nebraska question References: <200106250441.OAA29213@bondi.austlii.edu.au> Message-ID: <3B376609.42C196FB@chello.se> Dan Ingalls wrote: > > >I've been playing around with Nebraska a little and have a question. > > > >Is it possible with the code as it now stands to have an image serving > >out multiple active worlds (so that, for example, two different users > >can be browsing two different projects? And that they can change the > >project they are looking at without affecting the project the other user > >is viewing?) > > > >If it isn't, how much would I need to do (roughly) to implement this? > > > >I am wondering whether Nebraska could be used as a sort of graphical > >MUD/MOO, with projects being similar to 'rooms'. > > Russell - > > This is a great question. There are two parts to the answer, as I see things: > > 1. We would need to be able to have multiple projects active at the same time. This is already possible in certain ways. You can test to enter a project active: Click and hold down over a ProjectViewMorph and a menu pops up. Select enter active and the project is activated but scaled down within the current project. >An interesting aspect to what you seek is that it is in this sense equivalent to another significant >potential improvement to Squeak: namely, running multiple projects in multiple OS windows. > > 2. The other thing that is required is also equivalent to another important current need in Squeak, and that is to run separate name spaces in separate projects so that multiple projects will not cause reference conflicts. We expect to have this out in the system imminently. It is only my being somewhat scattered that has caused it to wait this long :(. > > Therefore, I don't think it would be that hard to do what you ask, and I think it could be a lot of fun. It would be cool if we could have a permanet Nebraska image up with net access. This would have to be on a system that would reboot by it self when it goes down:-) I could do this if I had a extra computer available (donations accespted) I think loots of people have only one computer and have not tested Nebraska at all. Karl From jhinsley at telinco.co.uk Thu Jun 14 04:44:54 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:07:20 2012 Subject: a morphic tutorial in morphic References: <3B2762D2.76AA0217@telinco.co.uk> <8f.bcff730.28587a7b@aol.com> Message-ID: <3B284146.6D167023@telinco.co.uk> Lex Spoon wrote: > > John Hinsley wrote: > > > Works the same for me under Linux. But I'm getting *very* slow response: > > I did "browse morph class" and I really thought Squeak had locked up! > > (I've probably got too many projects from Squeakland loaded). I have > > memory 70mk. Any ideas how high I can push it with X and Kde running? I > > note I can't run Gimp and Squeak and Kde together anymore. 128Mb RAM. > > > > Well, it's not *real* fast on my computer, so maybe you're already > seeing it as good as it gets! Two things you might try, though, are: > > 1. Run Squeak with more memory, e.g. "Squeak -memory 30m > Squeak3.0.image" > > 2. Get the latest VM. The way mouse input works has changed, and an > old VM plus a new image might just be a slow combination. > Thanks Lex, but I'm running Squeak 3.1 with the latest change set (and image) with 70m, so...... it does look like this is as good as it gets without buying more memory -- praise the Lord, it's cheap right now! But unloading the Squeakland stuff (I can always put it back when I need it) certainly got things up to a reasonable speed again. Another thing I've been toying with is running with a less memory intensive window manager and doing more through Squeak. But it's a really nice tutorial: I've not worked all the way through it yet, but already learnt stuff. One thing: on my system, the behaviour of the oval morph within the blue rectangle morph isn't as you predict until I embed it in "morph" (the blue one, that is). Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From dway at riskmetrics.com Fri Jun 29 18:54:00 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:07:24 2012 Subject: BankAccount Tutorial References: <3B3C9B9D.BA2BFAC3@riskmetrics.com> <3B3CA175.87750A5A@brokat.com> <3B3CA7B9.8115E484@riskmetrics.com> <3B3CAEB8.E731116@brokat.com> Message-ID: <3B3CCEC8.F6AC9A5B@riskmetrics.com> Joern Eyrich wrote: > > I also had the problem that Netscape (4.7 Win32) wouldn't let me edit it. It seems it is limited to 30000 characters in the text edit box, and the tutorial is slightly larger. IE (5.5) doesn't have that problem (and lets you search for text in the edit box...) Thanks, that was the problem. The Swiki seems to be running well on Linux, so far! > Doug Way wrote: > > Cool. Still, the problem remains that most people will go look at the out-of-date one on www.squeak.org. Maybe that one could point to the Swiki instead. (on the other hand, sometimes it's nice to have a more stable tutorial maintained on a non-Swiki page... but then again, if it's not maintained... :) ) > > Exactly! I volunteer to correct things like these that are brought up on the list, if someone gives me an account. Sounds good to me, although I'm not in charge of the site. ;) - Doug Way dway@riskmetrics.com From JArchibald at aol.com Wed Jun 13 21:27:40 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:07:25 2012 Subject: a morphic tutorial in morphic Message-ID: => 6/13/01 4:48:59 PM EDT, Alan.Kay@squeakland.org => << BTW, Squeak runs really well (including the 3D stuff) on the new iBook from Apple. So, well in fact, that I have been giving all my recent demos on it. (It's not quite as fast as the big Powerbooks, but very impressive nonetheless on this very inexpensive machine.) >> Alan, The New York Times had an article recently (May 31, 2001: "4 Laptops Lilliputians Might Like" by David Pogue) recommending 4 recent laptops that was very complimentary of the new iBook. Quoting: ---------------------------------------------------- 1. It runs for about four and a half hours, making the iBook the only laptop here that can play a whole DVD movie on one charge.) 2. On iBooks with CD-RW or combination drives, you find out how Apple thinks CD burning should work: you just drag files and folders onto a blank CD's desktop icon as though it were any old disk, and a Burn CD command does the rest. 3. But the iBook's stealth feature is its price. The base model, at $1,300 (with 64 megabytes of RAM and a CD drive), is $500 less than the lowest-priced similarly configured Windows competitor ... ] ---------------------------------------------------- Unfortunately, the Apple computer was presented last, in spite of its claimed substantial superiority. The Windows entries were from Fujitsu, NEC and WinBook. Cheers, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From jhinsley at telinco.co.uk Sat Jun 2 15:23:10 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:07:31 2012 Subject: Squeakland plug in and image Message-ID: <3B1904DE.5695962F@telinco.co.uk> Since the Squeakland page still doesn't direct me to a Linux plug-in (in fact, it doesn't even recognise that I'm using Linux and thinks I'm running Mac! -- refrain: "If I were a reetch man...." -- (I'd probably buy Sparc...... ;-) )) I though I'd ask what plugin/image are Unix folk using to get at Squeakland? Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From michael at ns.kanazawa-h.ed.jp Thu Jun 14 00:30:08 2001 From: michael at ns.kanazawa-h.ed.jp (Michael Guenter) Date: Sat Jan 28 04:07:33 2012 Subject: BBEdit.Lite fileOut documents error Message-ID: Hello, When I select fileOut, Squeak automatically makes the text file a BBEdit file. This would be fine, except that BBEdit cannot open the file, but instead gives me the following error. an unexpected end-of-file was encountered (Mac OS error -39) If you know what I am doing wrong, please help. Thanks for your time. Michael (The ultimate newbie) From ajh18 at cornell.edu Sat Jun 16 21:15:32 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:07:34 2012 Subject: Distributed Squeak and Environments In-Reply-To: <4.3.2.7.2.20010608191352.0269f900@pop.mindspring.com> Message-ID: I've been writing a distributed Squeak package that differs from the previously mentioned remote-message-passing implementations in the following ways: 1. Uses Image Segments Image segments are transfered between images, instead of just the roots of arguments and results, which helps reduce network traffic. OutPointers become remote references to the original image. 2. Remote Exception Handling and Block Returns Processes wait for the remote message to finish and can receive and handle exceptions signaled remotely. 3. Distributed Garbage Collection Remotely referenced objects and their remote proxies are cached weakly on both sides. Finalization sends the free objects to the other image. 4. Environments for Version Control and Security I'm still working on this but here is my proposal: Every process has a working environment associated with it that is used to look up global variables AND message selectors at runtime (instead of compile time). An environment can inherit from one or more static environments (or packages). When a message is sent to an object the class-selector pair is looked up in the working environment and its inherited environments in topological sort order (the specific order depends on the order of the immediate parents). If the pair is not found then the superclass is paired with the selector and the environment graph is searched again, and so on for each superclass. Changesets can now be loaded as packages (environments) into any Squeak system that already has the required prerequisites (inherited environments) loaded. When an environment is loaded it passes through a security filter that may disable primitive methods and methods that directly access instance variables or sensitive globals like #Smalltalk. Runtime lookup of globals and selectors allows different processes to see different isolated working environments (or projects) at the same time. When a new Squeak-to-Squeak connection is made each image loads the other's working environment and then makes a new working environment for that connection that inherits from both. The order of the inheritance is server environment then client environment, so execution will be the same no matter which machine is actually executing. This is important since objects move across images when they become garbage in one image but are still referenced in another. Inherited environment values can not be changed, only overridden in the working environment. And values retrieved from static environments are immutable, ie. classes and methods are immutable. Changing a class definition really defines a new class with the same name in the working environment, where future references will find the new class before the old one. I'm still working on this and block closures so please stand by... Cheers, Anthony From lex at cc.gatech.edu Wed Jun 27 17:51:37 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:07:36 2012 Subject: Experiences and questions with the Morph Tutorial in Morphic References: <5.1.0.14.0.20010626221016.04169a20@mail.dslnorthwest.net> Message-ID: Thanks for your thoughts, Ross! > 1. On the superswiki I wanted to find out a little more about some of the > projects, and tried selecting a project and hitting browser changes. It > didn't work. Should it? Is there another way to get some info without > loading the whole project. (I seem to remember doing so earlier, but > haven't been able to reproduce it). Heh. I'll let someone else take this one. :) You just tried to treat a project like a changeset, but now that you mention it the menus do make it sound reasonable. > > 2. When I override drawOn: around p. 3 I get errors and then a red box with > yellow cross lines. After that, I can't seem to get the drawOn: code to be > called again (I put in a self halt, and it wasn't hit. I think eventually > I did something that hit it, the I had to kill the image, presumably b/c it > got caught in a loop). I see the morph gets an extension attribute that > it's in error, and if I delete that attribute I can redisplay. This seems > pretty awkward (though I know that getting in a loop when you can't display > is awkward too). Ah, of course. If your drawOn: method has a bug, the morphic system will stop drawing your morph. You need to fix the drawOn: method and then do "start drawing again" from the grey halo handle. This should be fixed in my tutorial... > > 3. The first time through I started trying to resize things so I could see > more of the workspace with the text. Somehow (probably when I clicked on > the pick up handle) things get pulled out of their proper embedding, and I > never could get them back. The only way I've found to restore the project > was to pull it in again. I know the tutorial didn't call for such messing > around, but I thought I'd pass it on, since others might be similarly tempted. > Hmm, I wonder if turning "system window embed" turned off would cause extra difficulties? I need to check. Frankly, SystemWindow's seem to be un-morphic in a few ways. Not wanting to embed properly is one of them. At any rate, whatever the cause is, you've certainly had an *authentic* Morphic experience. :) It might have been nicer if it hadn't been quite so soon, though! Cheers, Lex Spoon From joey at joeygibson.com Wed Jun 13 12:28:03 2001 From: joey at joeygibson.com (Joey Gibson) Date: Sat Jan 28 04:07:37 2012 Subject: a morphic tutorial in morphic In-Reply-To: <8f.bcff730.28587a7b@aol.com> References: <8f.bcff730.28587a7b@aol.com> Message-ID: On Wed, 13 Jun 2001 04:12:43 EDT, JArchibald@aol.com wrote: ||| At the very beginning of this Tutorial, where a basic Blue rectangular morph ||| (aMorph) is presented, accompanied by the following text: ||| ||| "First, you must make halos appear. ||| Press the "blue" button if your mouse has three buttons." ||| ||| that, although that morph is selectable, and movable, with both red and ||| yellow buttons, it is not selectable (in my Windows'98, Squeak3.1a@4081) ||| environment with the blue button to get its halo. The halo I get is the ||| BookMorph halo. On my Win2k system, my first blue click on the blue box morph gets the book morph, second blue gets the page and the third blue gets the Blue morph in question. A fourth blue click cycles back to the book morph. Try that. Joey From JArchibald at aol.com Mon Jun 18 10:02:16 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:07:45 2012 Subject: [newbie] Complex boolean value? Message-ID: <92.16355483.285f2ba8@aol.com> => 6/17/01 2:20:17 PM EDT, fuxoft@terminal.cz => << ((value < 1 or: [value > x1]) or: [value > x2]) ifTrue: [self error: 'Invalid value']. It works, but it looks rather complex. How to do this more "cleanly", with less parentheses? >> Since Smalltalk has a light weight syntactic protocol, it creates the need for "additional" parentheses in certain cases. I have usually treated complex Boolean expressions as a formatting issue, and usually write something like: ((value < 1 or: [ value > x1 ]) or: [ value > x2 ]) ifTrue: [self error: 'Invalid value']. and, of course, there are a lot of suggestions from others that preceded this. Cheers, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From wuyts at iam.unibe.ch Tue Jun 5 15:09:14 2001 From: wuyts at iam.unibe.ch (Roel Wuyts) Date: Sat Jan 28 04:07:48 2012 Subject: [ANN] 1st ESUG Doctoral Symposium Message-ID: 1st ESUG Doctoral Symposium part of the 9th ESUG Smalltalk Conference Essen, Germany http://www.esug.org/summerschools/2001_Essen/index.html The ESUG Doctoral Symposium brings together PhD and Master students with experienced Smalltalk developers from industry and academia. Students have the opportunity to present their research in a separate, dedicated track of the 9th ESUG Smalltalk Conference. The program committee will then give feedback on their work, from a research and a Smalltalk perspective. This call is for both students and committee members: - Students that are interested in participating should send their name, affiliation, promotor and an abstract. The abstract should describe the context of the research, the problem that is tackled, and the outline of the solution. It should indicate where Smalltalk is used and the motivation for using it. - Experienced Smalltalkers or holders of a PhD are invited to join the event and form a committee that will review the abstracts, attend the Doctoral Symposium and give comments on the students' research. Please send a short resumee to rwuyts@iam.unibe.ch. More information about the 9th ESUG Smalltalk Conference (and the Doctoral Symposium) can be found on the ESUG website: http://www.esug.org/summerschools/2001_Essen/index.html/. See you in Essen ! Roel Wuyts & Elit Miranda -- Roel Wuyts Software Composition Group Roel.Wuyts@iam.unibe.ch University of Bern, Switzerland Board member of the European Smalltalk User Group: www.esug.org From lex at cc.gatech.edu Fri Jun 22 16:08:06 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:07:53 2012 Subject: Squeak, source code and repository References: Message-ID: Bert Freudenberg wrote: > On Wed, 20 Jun 2001, Benoit St-Jean wrote: > > > Just a quick question... > > > > Is there any "central repository" for all > > fixes/goodies/apps/whatever and all bits and pieces of > > squeak code posted here ? Something like the UIUC > > repository but just for Squeak... With a search engine? > > No. But everything properly posted gets collected at the SQFIXES archive, > see http://minnow.cc.gatech.edu/squeak/ReportingBugsAndFixes > Also, there is the AllProjects page on the Swiki, from which many people link their Squeak projects. http://minnow.cc.gatech.edu/squeak/1406 Some people upload their code right to the swiki, and others just link to a web page elsewhere. -Lex From noel at devtech.com Fri Jun 8 04:24:05 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:07:54 2012 Subject: Seeking comments on double-buffered 2D graphics in Squeak In-Reply-To: <000101c0efc8$f104dfa0$4f0c10ce@rd.wdi.disney.com> Message-ID: >>> I haven't worked directly with Windows APIs before, and haven't run >>> across the ones that let me get at the vertical blanking >> I am not aware of the existance of such an API in Win32. > It is [supported] in DirectX. Look at the IDirectDraw interface; > it supports both, retrieving and waiting for vertical blank status ... Weird! When I searched MSDN for "wait vertical blank", it gave me references to just the version of DirectDraw released on WinCE for a game console (Dreamcube), not in the general DirectDraw docs. After your reference, I went so far as to download the DirectX 8 SDK documentation, and even there there is no documentation for IDirectDraw (for further reading, it says to look in the SDK docs ... rather self-referential); I had to find the CAggDirectDraw C++ class to locate the supported API. FWIW, the DDVIDEOPORTCAPS structure seems to provide for hardware supported automatic double buffering (the hardware has multple buffers, and will flip for you on the VBI). FWIW, it is not in GAPI. Not a surprise, given the hardware. :-) --- Noel From dmacq at erols.com Tue Jun 5 01:18:26 2001 From: dmacq at erols.com (Donald MacQueen) Date: Sat Jan 28 04:07:55 2012 Subject: digital video In-Reply-To: <7614575959.20010604205442@erols.com> References: <3A6B12B0.C71031F4@create.ucsb.edu> <7614575959.20010604205442@erols.com> Message-ID: <2016000213.20010604211826@erols.com> Well, it looks like I didn't pay enough attention when I hit the reply button. My apologies. > Stephen, > The family video camera went kablooiee this week and I wanted to ask > you a few questions to cement what you said at lunch in Chicago. I > want to get, I suppose, a -digital- camera. My goal is to be able to > create (someday) video cds, which you called dvd-ram. So what options > should I look for in a camera? Firewire? USB? S-VHS? Any faqs you can > point me to would be great. > It was good to finally put a face together with a name I'd seen for so > long. Thanks. -- Donald Donald M. MacQueen Registered Smalltalk Bigot, [Esq.] From hirzel at spw.unizh.ch Mon Jun 11 10:32:38 2001 From: hirzel at spw.unizh.ch (Hannes Hirzel) Date: Sat Jan 28 04:07:56 2012 Subject: squeak manual In-Reply-To: Message-ID: Great to hear, that a professional indexer and hypertext designer wants to join the Squeak documentation team. Thanks a lot!! Hannes Hirzel On Mon, 11 Jun 2001, Rosemary Michelle Simpson wrote: > Wonderful news! Do you need some help? In my variegated background is a > long stint as a technical writer. Plus I am a professional indexer and > hypertext designer and would be happy to put any of these skills at your > service. > > R. > > > On Mon, 11 Jun 2001, Editor wrote: > > > We are in the making of a reference manual and a user guide and will be ready within a few months. > > > > Cheers > > > > Tansel > > Editor, Squeak News > > > > Projet DeepLow wrote: > > > > > Hi, > > > > > > We're looking for a manual for squeak. Does anyone know anything > > > aboout a complete squeak manual. > > > > > > Thanks in advance. > > > > > > > > > Projet DeepLow > > > Ma?trise Informatique > > > Universit? de Savoie (France) > > > Explorateur 3D en SmallTalk > > > Serna Audrey (madame_dodue@hotmail.com) > > > Fleutot Pierre (foreveroux@yahoo.fr) > > > Josserand Samuel (samjosserands@yahoo.fr) > > > Loiseau Mathieu (MateOstl96@aol.com) > > > > > > From scott at jaderholm.com Sat Jun 2 01:51:43 2001 From: scott at jaderholm.com (J Scott Jaderholm) Date: Sat Jan 28 04:07:57 2012 Subject: More advanced Graphing In-Reply-To: <5.1.0.14.0.20010601131448.00b39968@mail.consultar.com> (Diego Gomez Deck's message of "Fri, 01 Jun 2001 13:20:11 -0300") References: <5.1.0.14.0.20010601131448.00b39968@mail.consultar.com> Message-ID: <87elt31weo.fsf@jaderholm.com> Diego Gomez Deck writes: > If you want, I can send my PlotMorph... Definitely, that looks *exactly* like what I wanted. Sincerely, jsj -- the sky is tired of being blue From karl.ramberg at chello.se Tue Jun 26 17:10:57 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:08:00 2012 Subject: Jerry Archibald, 1940-2001 References: Message-ID: <3B38C221.BDFDC9C8@chello.se> Very sad news indeed. I'll miss his active and cheerful contribution to the Squeak community. Karl "David N. Smith (IBM)" wrote: > > All: > > I just got the following note about the death of Jerry Archibald from his daughter. I thought some of you would be interested since he was active here. > > I first met Jerry sometime in the early 1980's while I was reading the Blue Book a few pages a night, loving it, but all alone. I discovered Jerry, who was a Smalltalk fan, and we used to have very long discussions about what it all meant. He'd thought a lot about some of the critical issues and kept me on the straight and narrow when I drifted. Jerry retired from IBM a few years back, did consulting work and stayed active in the Smalltalk community. > > He will be missed. > > Dave > > --------------------------------------------- > Dear All: > > I got your email names from a couple mass mailings my father sent me and all > of you. If I or one of my relatives has spoken to you in person, please > disregard this; my sister Elizabeth will also send out a mailing to the > people on his computer address book, so there may be some duplicates. > > I am extremely sorry to tell you that my father died of a sudden heart attack > last Friday morning, June 22. He was 60 years old. If any of you are in the > New York area, > the wake will be today, Tuesday, 2-4 pm, and 7-9 pm, and the funeral > tomorrow, Wednesday the 27th, at 10 am. Both will be held at the Heritage > Funeral Home, Morrissey Drive, Putnam Valley. The number there is 526-3000, > area code I believe 845 (if not, then 914), if you need to call for > directions. > > If you need to contact a family member, there is myself at this email > address, Cormaca@aol.com, and (212)982-0575, and my sister Elizabeth, at > Lizzaboo@aol.com, (914)739-5567. > > Sincerely, > > Christine Archibald > -- > _______________________________ > David N. Smith > IBM T J Watson Research Center > Hawthorne, NY > dnsmith@watson.ibm.com From jdbell at fareselaw.com Wed Jun 27 14:33:17 2001 From: jdbell at fareselaw.com (Jerry Bell) Date: Sat Jan 28 04:08:01 2012 Subject: Bouyancy project on BSS Message-ID: <909E88754E6BD411926B00400531D64AC965E6@CLEVINGER> Thanks! I'll take a look at it ASAP. Jerry > -----Original Message----- > From: John.Maloney@disney.com [mailto:John.Maloney@disney.com] > Sent: Wednesday, June 27, 2001 12:21 PM > To: jdbell@fareselaw.com > Cc: recipient list not shown; @cs.uiuc.edu > Subject: Bouyancy project on BSS > > > Hi, Jerry. > > Looks like the code for this project didn't make it into the > update stream. > Here it is. I'll also post it as an update so it will > eventually make its way > into the baseline system. Thanks for reporting this! > > -- John > From reic0024 at d.umn.edu Fri Jun 15 20:28:02 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:08:04 2012 Subject: Squeak in reuters post this evening In-Reply-To: <3B2A6CFE.668E986@chello.se> Message-ID: On Fri, 15 Jun 2001, Karl Ramberg wrote: > I only get > The news story you have requested is unavailable. > when I click on the link. Could someone forward the text ? I have the same problem when I copy and paste each part of the link (it wraps on my term) or click it. Aaron Aaron Reichow :: Twin Ports ACM Pres :: http://www.d.umn.edu/~reic0024/ "life, probably the biggest word i've ever said, that says a lot 'cause there is a whole lot of words inside my head..." -- atmosphere From schwa at cc.gatech.edu Fri Jun 1 11:28:27 2001 From: schwa at cc.gatech.edu (Joshua 'Schwa' Gargus) Date: Sat Jan 28 04:08:08 2012 Subject: Squeakland Evolution project thingy In-Reply-To: <3B1650F3.8C176D28@ftel.co.uk>; from K.Hodges@ftel.co.uk on Thu, May 31, 2001 at 03:11:01PM +0100 References: <3B1650F3.8C176D28@ftel.co.uk> Message-ID: <20010601072827.A12422@cc.gatech.edu> On Thu, May 31, 2001 at 03:11:01PM +0100, Keith Hodges wrote: > What I would prefer to see is people using language to say what they really > mean, something like this "If we hold the theory of evolution to be true, which > it is likely to be given the philosphical viewpoint or axiom that assumes there > is no outside agent then it is likely that the process of evolution evolved the > animals, both their bodies and their habits ..." Umm... keep in mind the target audience for the active essay that sparked this thread. Don't you think that this wording might be a bit much for a sixth grade student? Joshua From johnson at cs.uiuc.edu Tue Jun 26 14:35:35 2001 From: johnson at cs.uiuc.edu (Ralph Johnson) Date: Sat Jan 28 04:08:12 2012 Subject: Fellow Squeaker with project you might find interesting Message-ID: <200106261435.JAA24113@salon.cs.uiuc.edu> >From: Roel Wuyts >... this sounds a lot like the nested lazy streams I use in the previous >implementation of SOUL. These streams are created as wrappers around >existing collections or use a general block to define whatever you want >(such as infinite streams of numbers etc.). The way I do this is to define select: and collect: on streams. These methods return a SelectStream and a CollectStream, which are probably the same thing as your nested lazy streams. This way you can treat streams about the same as collections. My rule of thumb is that I use collections for reasonably small groups, and streams for large or infinite groups. It would be reasonable to define to:do: on streams, but I haven't needed it yet. -Ralph From arning at charm.net Fri Jun 29 12:46:08 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:08:13 2012 Subject: Icons Message-ID: <200106291246.IAA26679@fellspt.charm.net> Ross, On Fri, 29 Jun 2001 01:12:09 -0700 Ross Boylan wrote: >If I want to make a little icon, what's the best way to do it? Can it be >done with the internal painting tool? There are several possible ways: 1. Use the normal painting tool (the paintbrush on the navigator or "make a new drawing" from the new morph menu). When you "keep" the painting, you will have a SketchMorph which you can inspect or explore to get to the Form that you just painted. From the explorer or inspector, write a simple bit of code to put that Form somewhere (like ScriptingSystem or elsewhere) for future use. Or you can print "self storeString" when inspecting the form to get actual code you can put in a method. 2. Use the fat bits tool as Karl suggests. Do something like (Form extent: 32@32 depth: 16) bitEdit There are lots of useful tools in the red halo menu. When you are done, use "inspect" from this menu to get at the Form and use one of the techniques from above to save it for posterity. 3. Sometimes it seems easier (at least to geeks like me) to create it programmatically. Here is a stop button for a vcr controller widget: makeStopButton | f aButton | f _ Form extent: 24@15 depth: 32. f fillColor: Color gray. f fill: (f boundingBox center - (4@4) extent: (8@8)) rule: Form over fillColor: Color white. aButton _ IconicButton new borderWidth: 0; labelGraphic: f; color: Color gray; actWhen: #buttonUp; useRoundedCorners. ^aButton Advantages: #1 makes for easy painting, but is sometimes difficult to do precise work in smaller sizes. Also, if an exact image size is important, this is extra work. #2 allows for fine control at the pixel level, but it's tougher to do larger objects like circles, etc. #3 requires some coding expertise, but can produce very precise images when they can be described in terms of lines, rectangles, etc. An additional technique to use here is to draw the thing at 2x or 4x initially and then reduce the final image using WarpBlt. This will anti-alias the edges and can produce a nice clean image in small sizes. >I have a hazy recollection of seeing a recommendation to use an external >paint program and then importing the result (into one of the image or >button morphs?). You can certainly do that. Squeak can read GIF, JPG, BMP, PNG and perhaps others I have forgotten. Once you have it in Squeak, techniques like those above can copy all or part of the image for use in your UI. >While poking around I found the forms dictionary in Scripting System. Can >anyone tell me if the code that populates it is in the system, or are we >left only with the artifact? (I found some code for a few items, but not >most). I think the general practice is to include the code that adds things to ScriptingSystem as a postscript to a changeset. That way the code does not need to be kept in the system forever (it would essentially be a duplicate in terms of space). Cheers, Bob From rms at cs.brown.edu Sat Jun 30 12:20:40 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:08:15 2012 Subject: BankAccount Tutorial In-Reply-To: <3B3CCEC8.F6AC9A5B@riskmetrics.com> Message-ID: On Fri, 29 Jun 2001, Doug Way wrote: > > Joern Eyrich wrote: > > > > I also had the problem that Netscape (4.7 Win32) wouldn't let me edit it. It seems it is limited to 30000 characters in the text edit box, and the tutorial is slightly larger. IE (5.5) doesn't have that problem (and lets you search for text in the edit box...) > > Thanks, that was the problem. The Swiki seems to be running well on Linux, so far! > > > Doug Way wrote: > > > Cool. Still, the problem remains that most people will go look at the out-of-date one on www.squeak.org. Maybe that one could point to the Swiki instead. (on the other hand, sometimes it's nice to have a more stable tutorial maintained on a non-Swiki page... but then again, if it's not maintained... :) ) > > > > Exactly! I volunteer to correct things like these that are brought up on the list, if someone gives me an account. > > Sounds good to me, although I'm not in charge of the site. ;) One point to consider is that people buying Mark Guzdial's book as the first entrance into Squeak will be using 2.8 since that is the version included on the CD. It might be good to leave the BankAccount tutorial as it is with a notation that it is 2.8 specific and have a pointer to the newer version. R. From werdna at mucow.com Mon Jun 4 15:23:58 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:08:19 2012 Subject: [BUG][FIX]Unstable Squeak Won't Load Modules on Macintosh In-Reply-To: Message-ID: <200106041524.f54FOgv22932@mushake.mucow.com> >> 4. Suggestions for SUnit testing. In earlier versions of SUnit tester >> GUIs, I was able to filter by category and method those tests that >> would >> be run in the "Run All" button. > > If that already exists (as it seems from what you write), someone can > drop > sarkela@home.com a note that they want to contribute it. There are a bunch of SUnit ports out there that do this. One, for Squeak 2.8, for example, is at: http://www-ia.tu-ilmenau.de/~hirsch/Projects/Squeak/SUnit/SUnit.html Since I routinely write code and tests together these days, I haven't given a moment's thought to whether I uploaded the current copy myself or whether an SUnit (based on SUnit 2.X) is already in the Squeak 3.1 base image. At any rate, I'll probably undertake to backport the 3.X Sunit to Squeak 3.1 anyway in the near term for my own use (any reason why it wouldn't "just work?")\\. At that time, I'll just go ahead and add the feature. Now, this raises an important question the answer for which I'd like to hear from the StSq community: I know how and in what shape a contribution can be made for the regular Squeak image -- all I need to do is build a changeset, load it into a base image, and test. It is far less obvious for me how to do this with the Repository. Since more than a few of you are working on the product, I presume you already have this pegged -- how do you package up your contributions/changes and, just as important, add them to the repository? Will this require new tools not yet built, or are there mechanisms already in place for this? By the way, I am massively excited about a superstructure for packaging Squeak goodies and the like. I have long since felt that, with or without modules, a "FreeBSD ports"-like facility would be invaluable to the Squeak community, making it unnecessary to perform the agonizing search through Swiki or maintaining a long mail archive of code, most of which I will never use. It would be even better for the bulk of the repository code to exist off-line, so that the entire panoply of "ports" could be available in an image without occupying any great amount of space on disk, but still providing excellent version management features. (Again, FreeBSD ports does this as well as I've seen it done). Anyway, I've got my Stable Squeak under control on my machine now -- I'd be inclined to repackage it for the rest of us, but I understood that John intended an imminent release of a new version. Recommendations? From jhinsley at telinco.co.uk Mon Jun 4 02:45:46 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:08:20 2012 Subject: Odd interaction between Gvim and Squeak Message-ID: <3B1AF65A.6C445C59@telinco.co.uk> Here's a peice of wierd behaviour I noted. AFAIK it applies only to Squeak on *nix. I evaluate some code in a workspace. Rather than type it out again so I can write it up I highlight it, do alt+c, click to another window where Gvim lies patiently waiting and use the middle mouse button to paste it. But the first character invariably gets lost! So, if I've copied: myDictionary:= Dictionary new. myDictionary at: 'Tunde' put: 27; at: 'Jill' put: 23; at: 'John' put: 49. I get: yDictionary:= Dictionary new. myDictionary at: 'Tunde' put: 27; at: 'Jill' put: 23; at: 'John' put: 49. Now, I only get this in Gvim (Netscape doesn't loose anything, for example) and I only get it in Gvim when I'm copying and pasting from Squeak. Any ideas? Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From arning at charm.net Fri Jun 29 13:13:09 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:08:23 2012 Subject: BankAccount Tutorial Message-ID: <200106291313.JAA00539@fellspt.charm.net> Here is one of the previous messages on this subject: On Tue, 12 Jun 2001 02:49:36 +0200 (CEST) Edmund Ronald wrote: >Hmmm, now it works but it ain't pretty sez the newbie. So he changes the >bar width, and adds a little bit of data, and ventures to suggest these >changes be written back into the excellent tutorial . > >Edmund. > >historyMorph > "displays barchart, width 30 per bar" > | bars m | > bars _ history collect: [:v | Morph new extent: 30@v]. > m _ AlignmentMorph newRow > hResizing: #shrinkWrap; > vResizing: #shrinkWrap; > cellPositioning: #bottomRight. > m addAllMorphs: bars. > ^ m > >"in the workspace, add some example data" >b initialize; deposit:100; withdraw:20; deposit:30; withdraw:20; deposit:30; > withdraw:20; deposit:30. > >"show it" >b historyMorph openInWorld. From woods at weird.com Mon Jun 4 06:12:37 2001 From: woods at weird.com (Greg A. Woods) Date: Sat Jan 28 04:08:26 2012 Subject: stable Squeak (Fonts) free Accuny for browser. In-Reply-To: <3B1AFFC0.2904F5A6@kurtz-fernhout.com> References: <200106040124.f541Ox525725@smtp-server1.tampabay.rr.com> <3B1AFFC0.2904F5A6@kurtz-fernhout.com> Message-ID: <20010604061237.3C19A100@proven.weird.com> [ On Sunday, June 3, 2001 at 23:25:52 (-0400), Paul Fernhout wrote: ] > Subject: Re: stable Squeak (Fonts) free Accuny for browser. > > I did like the much earlier suggestion (a year ago?) of > having the default fonts be from X-11 which someone said were > effectively completely unencumbered. Just in case you'd like nicer looking fonts with more complete sets of glyphs than the default X11 fonts offer, at least for fixed-width uses, you might want to have a look at the ETL fonts for X11. ftp://ftp.gnu.org/pub/gnu/intlfonts/ There are a few TrueType and PS Type-1 fonts in there along with all the BDFs. Most importantly there are fonts for all the major Asian and European languages in the standard encodings. I don't know if these are completely unencumbered or not, but they are apparently freely redistributable. There's no copyright notice in the distribution and the README says they are "free". And they do look very nice. (in particular they do not appear to be under the GPL) There's also a collection of about 79 additional add-on fonts for X11 called the "freefonts". Most are proportional. Some of them are complete in at least a few sizes. Some are unique or bizzare, such as braille and davysbigkeycaps. Some are even nice looking. They're available in several places, including here: ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz -- Greg A. Woods +1 416 218-0098 VE3TCP Planix, Inc. ; Secrets of the Weird From ned at bike-nomad.com Sun Jun 3 03:29:30 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:08:30 2012 Subject: [ENH] BrowseLocal-nk (3.1 CS4055 or later ONLY) In-Reply-To: <200106011557.KAA20980@dcs-server1.cs.uiuc.edu> References: <200106011557.KAA20980@dcs-server1.cs.uiuc.edu> Message-ID: <01060220293009.12828@ned.bike-nomad.com> On Friday 01 June 2001 09:57, I wrote: > Recent changes broke the browse local functionality because the menu got changed. I will have a better (smaller) version of this change set soon. The one I posted steps on some methods it probably doesn't need to. Sorry. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From dnsmith at watson.ibm.com Mon Jun 11 17:36:44 2001 From: dnsmith at watson.ibm.com (David N. Smith (IBM)) Date: Sat Jan 28 04:08:32 2012 Subject: [Bug] Reading flash file In-Reply-To: References: Message-ID: Stef: There are some fixes that address problems like this. Look at 3948 and 3954 in the 3.1 alpha stream. Dave At 18:16 +0200 6/11/01, Stephane Ducasse wrote: >hi > >I was used to do a demo with a flashfile available at: >http://titan.cnds.unibe.ch:8080/SmalltalkWiki/97 > >look for > >areallycoolflash.swf > >I usually load the fiel and select one of the character makes it grow.... >With 2.8 it was working really well. > >I tried with the 30 version (VM 6 on mac) and with the latest version on mac >(roel is in contact with john mcIntosh). And the loading of the file is ok >then when you select a character and try any halos the system freeses and >often my mac too ;(. > >Stef -- _______________________________ David N. Smith IBM T J Watson Research Center Hawthorne, NY dnsmith@watson.ibm.com From kgf at golden.net Sun Jun 17 20:05:18 2001 From: kgf at golden.net (Kevin Fisher) Date: Sat Jan 28 04:08:34 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: Your message of "Sun, 17 Jun 2001 16:39:04 -0300." <5.1.0.14.0.20010617163736.00b3bff0@mail.consultar.com> Message-ID: <200106172005.QAA11429@blackwolf.golden.net> Hmm, it's been a while but the last time I tried it it worked just fine. This was on Linux-iPaq, of course, not WinCE. > Anyone tried LS Landscape and Squeak?? > > I did and Squeak don?t ?want? rotate.... > > TIA, > > Diego Gomez Deck From marcus at ira.uka.de Fri Jun 1 09:09:40 2001 From: marcus at ira.uka.de (Marcus Denker) Date: Sat Jan 28 04:08:36 2012 Subject: VMMaker & Mac and a few people needed... In-Reply-To: ; from johnmci@smalltalkconsulting.com on Thu, May 31, 2001 at 08:42:45AM -0700 References: <200105310408.QAA474363@atlas.otago.ac.nz> Message-ID: <20010601110939.A30238@ira.uka.de> On Thu, May 31, 2001 at 08:42:45AM -0700, John M McIntosh wrote: > >Are you also going to include enough tech to build a VM using the free > >Apple compiler as well, for those of us who never got enough into > >mac programming to want to buy Yet Another Compiler system? :) > > > >-- > >Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > > >Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. > >See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! > > > It's not so much building the VM, VMMaker just drops the files you > need to build the VM somewhere. So it's if you have a make file for > MPW, or for project builder. > > see http://irafs1.ira.uka.de/~marcus/j3/ for an MPW one. > I will integrate the J3-source with VMMaker -- But I don't have a mac right now (need to buy one, maybe in a month or two, I hope). Marcus -- Marcus Denker marcus@ira.uka.de -- Squeak! http://squeakland.org From ok at atlas.otago.ac.nz Fri Jun 8 01:40:02 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:08:39 2012 Subject: TexFileOut problems Message-ID: <200106080140.NAA25806@atlas.otago.ac.nz> John Hinsley wrote: This results in a file "Symbol class.tex" in my home directory. Of course, "Symbol class.tex" is an illegal file name under any *nix. So I change it to "Symbol_class.tex" (legal under any OS) in Kde. No, "Symbol class.tex" is a perfectly legal file name under any *nix and has been at least since the days of Version 6 back in the late 70s. If you try to mention it in a shell, you'll have to quote it 'Symbol class.tex' "Symbol class.tex" Symbol\ class.tex but that's all. Whether TeX (not originally a UNIX program) likes it is of course another matter. ' Opening up the file I see something that looks like a .tex file: % TeXFileOut version 20000201 by Andres Valloud (SqR!) % Class definition submitted for class: Symbol. {\sf \noindent {\ssbf String variableByteSubclass: }Symbol No, it is clearly *part* of a TeX document. LaTeX documents must begin with a \documentclass (or backwards-compatible \documentstyle) declaration. Any ideas? What am I doing wrong? Do I have the wrong version of Latex? Am I being Maced on from a great height? The result is not meant to be a stand-alone document, but to be embedded in a document which already has the right class and pulls in the right macro definitions. From jk at xylema.org Sat Jun 30 23:02:18 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:08:40 2012 Subject: Supporting newish input devices In-Reply-To: <01063009015506.00791@ned.bike-nomad.com> References: <15165.61417.328000.732311@noontide.demon.co.uk> <01063009015506.00791@ned.bike-nomad.com> Message-ID: <15166.23162.437000.833732@noontide.demon.co.uk> Ned Konz writes: > There is already (IIRC) tablet support in Squeak. Look at > JoystickTabletPlugin. I don't know what it's good for, though. (I'm getting a > tablet soon, so I'm interested). Ta. Been having a quick look, can't quite fathom what it's supposed to do... I've got WinTab, a free SDK from http://www.pointing.com, which has an example that does the "two pointers" thing I was after. > > > MS Intellimouse. It's got five buttons; it'd be nice to use them all... > > > > windows keyboard. I'd like to be able to use the windows and menu > > keys - could someone point be at where global key bindings live? Is > > there a utility that dumps out the keyboard stream (or something like > > emacs' view-lossage)? > > There are key bindings all over the place. Most are set in the class side of > ParagraphEditor, though. Do you know where something like alt-. is defined? I'd like to be able to (say) popup the "new morph..." menu anywhere by doing win-m. > > Look at EventSensor for the definition of the input events. It looks like you > have extra mouse button bits, and/or can add new keystroke modifiers for > special keys. You'll have to modify the platform-specific bits of your VM to > pass the additional mouse buttons and keystrokes through, first. Thanks. I note a few "(buttonState >> 3)"s in the C code... I'll want to encode the pressure info somewhere too, and propagate that into e.g. the sketch morph. ISTM that I might define a new event of type EventTypePen in the VM John From sqrmax at cvtci.com.ar Fri Jun 8 04:31:41 2001 From: sqrmax at cvtci.com.ar (Andres Valloud) Date: Sat Jan 28 04:08:50 2012 Subject: TexFileOut problems References: <200106080140.NAA25806@atlas.otago.ac.nz> <3B2047BB.C1B968FD@telinco.co.uk> Message-ID: <3B20552D.109387AE@cvtci.com.ar> Hello. > Since then Thomas Kuehne and Andres Valloud himself have put me on the > right track. It really is a fine little tool, and getting it to produce > TeX which resolves into a printeable and beautifully formatted dvi file > requires very little. But, if it could be made to produce LaTeX output > which was "well behaved" enough for reLyX to accept, (or even to produce > LyXable output) we'd have a fully functioning documentation system which > would -- I think -- be unbeatable. I have never used LaTeX. You may want to take a look at the macros used in the class TeXFileOut. You definitely know more LaTeX than I do. Try subclassing TeXFileOut into say LaTeXFileOut. Then, you could take a look at the methods that define the macros used, like vboxes, hboxes, fonts and the like. By reimplementing them I think it should be pretty straightforward to get a well behaved LaTeX file out. It should be pretty easy, I wrote TeX macros once and only once in their own messages. Let me know if I can be of any help. Cheers, Andres. From johnmci at smalltalkconsulting.com Sat Jun 16 18:52:56 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:08:52 2012 Subject: Squeak Plugin install problems In-Reply-To: <3B2BA078.9B801F3A@chello.se> References: <200106161752.NAA10752@wayland.cs.brown.edu> <3B2BA078.9B801F3A@chello.se> Message-ID: >Rosemary Michelle Simpson wrote: >> > > When I do a find on all my disks the only NPSqueak is that alias. > >This is a known bug. You have to select custom install instead of easy >install. > >Karl This problem has been fixed, and a new installer and a new plugin that support hardware acceleration is pending in the distribution pipe. However before that occurs I believe the custom install should work. For the curious the problem is that if you install then delete say netscape on your macintosh hard disk, then the method I originally coded to find the browsers says, yes netscape exists, but then the installer gets confused because it can't find the browser, and attempts to cancel the install which doesn't work quite right and you end up with that alias in the Squeak internet system perference folder. The fix is to use the volume catalog on each local volume and hunt for the browsers. This is more time consuming, but also deals with the problem of having multiple browsers and multiple volumes. I have found many users are surprised to find they have multiple browsers on their hard disks because Apple installs both IE and netscape and over the years Apple and Netscape have made numerious changes to the folder layouts and locations so sometimes someone might have 6 browsers on their hard disk. Note This installer does NOT work with the carbon version of Netscape. A carbonized IE squeak plugin does exist, I'll look at getting instructions up somewhere on how to deal with that issue. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From Alan.Kay at squeakland.org Tue Jun 12 21:12:50 2001 From: Alan.Kay at squeakland.org (Alan Kay) Date: Sat Jan 28 04:09:04 2012 Subject: Clio? In-Reply-To: References: Message-ID: Andreas Raab did quite awhile ago (via the CE port). We had the Sharp version of this called the "Tripad". It had a pretty slow Hitachi processor. Cheers, Alan ------ At 2:59 PM -0400 6/12/01, Jeff Szuhay wrote: >Did anybody ever get Squeak to run on >a Clio? > >Jeff Sz. > > >-- > ************************************************** > Jeff Szuhay A randomly-directed > www.szuhay.org chaotical wetware pattern > jeff@szuhay.org recognizer/generator. > > > Men are from Earth. > Women are from Earth. > Deal with it. -- From JArchibald at aol.com Sat Jun 16 20:42:46 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:09:08 2012 Subject: Sorry... Message-ID: => 6/16/01 4:02:10 PM EDT, kb9ngi@enteract.com => << C++ ?? Nah!!! >> C - - ?? I got a good laugh from someone (Alan, Ward Cunningham, Kent Beck, ??) at an OOPSLA quite a few years back, when he said sarcastically, "It would have been nice if we'd have gotten back ++C instead. You know, with the incremental additions included, instead of before the increment was done. ;-) " (I'm sure the wink was included) Cheers, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From johnmci at smalltalkconsulting.com Mon Jun 4 01:50:02 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:09:09 2012 Subject: stable Squeak (Fonts) free Accuny for browser. In-Reply-To: <200106040124.f541Ox525725@smtp-server1.tampabay.rr.com> References: <200106040124.f541Ox525725@smtp-server1.tampabay.rr.com> Message-ID: >That's great, actually. Where did we get the initial images printed >to paper? Were they also from the original fonts? That gets you >back to the origin, and once again, we are relying on the >noncopyrightability of fonts and bitmap fonts. While I don't >dispute that this is probably just fine under current law, my >understanding was that some felt it was imperative that we evade >forever the apple font heritage. I didn't share this view, but some >did. Ah well the images came from using the text tool to type into a macintosh paint program fixing those bits into a canvas of bits, then enlarged, and printed the canvas, but as we know it's a clone of an noncopyrightability bitmap font. > >This is the reason I asked this question in the first place. Let me >put it plain one more time: > > 1) Does anyone in our forum still feel it is essential to >remove the Apple fonts from the image?; and if there are still those >who do, > 2) Were the Accu fonts derived from and with permission of >Arts Mangement Systems, as owners of these fonts, or from Apple? > >Paul F., in particular, seemed to feel that the ownership needed to >be entirely clear of an Apple font heritage. Has he changed his >views in this regard? Re point 2) The fonts in the stable squeak image are derived from the Accufonts windows font files, which is only my understanding of what took place, based on the permission/license spoke to in my previous note, but the people who negotiated the agreement will need to confirm that. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From jhinsley at telinco.co.uk Tue Jun 5 00:15:36 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:09:18 2012 Subject: Squeakland plug in and image References: Message-ID: <3B1C24A8.20F42F3@telinco.co.uk> Bert Freudenberg wrote: > > On Sat, 2 Jun 2001, John Hinsley wrote: > > > Since the Squeakland page still doesn't direct me to a Linux plug-in (in > > fact, it doesn't even recognise that I'm using Linux and thinks I'm > > running Mac! -- refrain: "If I were a reetch man...." -- (I'd probably > > buy Sparc...... ;-) )) I though I'd ask what plugin/image are Unix folk > > using to get at Squeakland? > > http://isgwww.cs.uni-magdeburg.de/~bert/squeak/plugin/download.html Thanks Bert. If anyone needs a pre built vm for glibc 2.1.3 (that is, if they get the GLIBC 2.2 error message on loading your prebuilt vm) they should mail me off list (unless you want to provide a home for it). Note that the prebuilt vm available in the "usual" places will work fine with most earlier glibc versions. (But probably not as a plug-in image.) Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From karl.ramberg at chello.se Sat Jun 16 19:00:32 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:09:18 2012 Subject: About the wonderful internet browser References: <200106151320.QAA02206@mailgw2.netvision.net.il> <3B2AF21E.41F1E1E4@chello.se> <3B2B1623.99CCF19E@chello.se> <783nito229tb8o4fs7oinn6h3epccv9jhv@4ax.com> <3B2BA7B2.2B73855F@telinco.co.uk> Message-ID: <3B2BACC6.F7512C4B@chello.se> John Hinsley wrote: > > Jon Hylands wrote: > > > > On Sat, 16 Jun 2001 10:17:39 +0200, Karl Ramberg > > wrote: > > > > > Have you read the document at > > > http://209.143.91.36/super/70 > > > > Well, if there was actually a document there... :-) > > > > I don't know if the project has any documentation in it or not, I've never > > downloaded it. > > > > Have you looked at it? Is it useful? It would really help if there was a > > one-paragraph summary of what each project was, and why I would want to > > download it. (I know, not your job, but I'm speaking to the larger > > community here). > > OK, so Jon discovered that it was, indeed, a document. But there are so > many wonderful (and sometimes wierd ;-) ) things on BSS that I think > Jon's general remark "It would really help if there was a one-paragraph > summary of what each project was" bears looking at. (Of course, that's > not Karl's job!) > > Incidentally, I just downloaded the pooh_20testing.004.pr which just > loads and turns Squeak black with the latest image and changeset but > loads fine on the older image/changeset I have on my Windows partition. > (I'm guessing that this is due to it being built for the image built for > the earlier changesets.) Can anyone point me to: > > What I ought to be looking at to get it loading correctly in my up to > date image/cs. -- Presumably I can file it out and tweak the code? > > What can I do with Pooh? I see a Wonderland with one line of code and > get the debugger coming up as soon as I execute it. (So I guess I need > pointing to a Pooh HOWTO). Open a Wonderland Wonderland new Blue button on the blue background in the landscape/ 3d view. Click on the handle that look like a teddy - that's Pooh ! Now you can draw in the landscape/ 3d view. Once you release the mouse a 3d object is created from the outline you created. This object can be painted: blue click on it, click on the paint handle and paint away. You can move the object and rotate it using different modifying keys. You can create more onbjects and these can again be linked together, but that's beyond me at the moment. You can script these objects with the tile scripting. Karl From ned at bike-nomad.com Fri Jun 1 17:46:42 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:09:23 2012 Subject: squeak@cs.uiuc.edu no longer list address? Message-ID: <01060110464209.00781@ned.bike-nomad.com> I just got a couple of responses presumably from code that I posted to the list from within Squeak. These look like: -------------------- The account squeak@cs.uiuc.edu is nolonger at this address. (Ted Kaehler, Fri Jun 1 09:26:52 2001) The user squeak@cs.uiuc.edu that you emailed to is no longer at this address. Your email has been forwarded to their new address. Their new address is: Ted.Kaehler@squeakland.org. Please adjust your future mailings accordingly. Sincerely, WDI Information Services. This has been an automated response. ---------------- So is squeak@cs.uiuc.edu not the right list address? If so, shouldn't Squeak be told about this? -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From Jarvisb at timken.com Mon Jun 18 16:11:39 2001 From: Jarvisb at timken.com (Jarvis, Robert P. (Contingent)) Date: Sat Jan 28 04:09:24 2012 Subject: Mssrs ? Re: iPAQ 3670 (was: a morphic tutorial in morphic) Message-ID: <5DA5491C2D46D311BACE00508B0AC0F10210064C@ctnhemail02.corp.timken.com> >From the Cambridge International Dictionary of English: Messrs formal plural of "Mr" title used before a man's name, esp. used before the names of two or more people in the title of a company Messrs Wood and Laurence, solicitors It's pronounced much like (and has meaning similar to) the French word "messieurs", except that the trailing "s" *is* pronounced in English (i.e. "may-syurz"). Bob Jarvis Compuware @ Timken > -----Original Message----- > From: Karl Ramberg [mailto:karl.ramberg@chello.se] > Sent: Saturday, June 16, 2001 1:38 AM > To: squeak@cs.uiuc.edu > Subject: Mssrs ? Re: iPAQ 3670 (was: a morphic tutorial in morphic) > > > > > "Noel J. Bergman" wrote: > > > > John, > > > > Jim Gettys is a very active participant on the iPAQ linux > mailing list @ > > www.handhelds.org. As are Mssrs Kay, Ingalls, Raab, et al > on this list. In > > general, you will find that the "names" you know from your > readings are also > > really nice people, not just sub-cultural icons. > > Mssrs ? > I could not find any online reference that explained what this means. > > Karl > From lex at cc.gatech.edu Sat Jun 30 16:13:29 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:09:25 2012 Subject: Philosophical questions about collections References: <5.1.0.14.0.20010629095001.00b41308@mail.consultar.com> Message-ID: > For example, Dictionary use Set>>= that ignores keys. This looks like an accident, to me. Lex From schwa at cc.gatech.edu Fri Jun 1 19:16:44 2001 From: schwa at cc.gatech.edu (Joshua 'Schwa' Gargus) Date: Sat Jan 28 04:09:33 2012 Subject: Squeakland Evolution project thingy In-Reply-To: <20010601185708.19429.qmail@web12206.mail.yahoo.com>; from vngalchin@yahoo.com on Fri, Jun 01, 2001 at 11:57:08AM -0700 References: <20010601072827.A12422@cc.gatech.edu> <20010601185708.19429.qmail@web12206.mail.yahoo.com> Message-ID: <20010601151644.A1843@cc.gatech.edu> Agreed. However, even parsing that sentence would be more than many young readers are now capable of. Best, Joshua On Fri, Jun 01, 2001 at 11:57:08AM -0700, Galchin Vasili wrote: > As far as "six graders" are concerned, it never kills > anybody to develop the skill to think critically! > > Regards, > > Vasili N Galchin > > --- Joshua 'Schwa' Gargus wrote: > > On Thu, May 31, 2001 at 03:11:01PM +0100, Keith > > Hodges wrote: > > > > > > > > > What I would prefer to see is people using > > language to say what they really > > > mean, something like this "If we hold the theory > > of evolution to be true, which > > > it is likely to be given the philosphical > > viewpoint or axiom that assumes there > > > is no outside agent then it is likely that the > > process of evolution evolved the > > > animals, both their bodies and their habits ..." > > > > Umm... keep in mind the target audience for the > > active essay that sparked this > > thread. Don't you think that this wording might be > > a bit much for a sixth grade > > student? > > > > > > > > Joshua > > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ From Torsten.Bergmann at phaidros.com Thu Jun 21 12:16:28 2001 From: Torsten.Bergmann at phaidros.com (Torsten.Bergmann@phaidros.com) Date: Sat Jan 28 04:09:49 2012 Subject: Contest! Message-ID: <904AA220ACB4D211A10600104B3E85C92604EB@MAIL> Nice idea ;) Additionally I would suggest creating a second committee Committe for Senseless Method Addition / Collission Detection (CSMA/CD) that will test if these methods really crash if anyone is using it. O.K., let's take it seriously: Has anyone ever thought about adding aspects to Squeak for seperating the behavior currently found in the bloated classes ? But I think this requires a major change in thinking about the design of the squeak class library and (multiple) Inheritance. Torsten From karl.ramberg at chello.se Fri Jun 15 20:15:59 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:09:51 2012 Subject: Squeak in reuters post this evening References: Message-ID: <3B2A6CFE.668E986@chello.se> I only get The news story you have requested is unavailable. when I click on the link. Could someone forward the text ? Karl John M McIntosh wrote: > > Well maybe it's slow on the list, or the server isn't giving me much > email, since I've only seen 8 messages today, however my news filters > are busy spitting Squeak related news articles at me. > > http://www.reuters.com/news_article.jhtml?type=technology&Repository=TECHNOLOGY_REP&RepositoryStoryID=%2Fnews%2FIDS%2FTechnology%2FTECH-INDUSTRY-DISNEY-KAY-DC_TXT.XML > > -- > -- > =========================================================================== > John M. McIntosh 1-800-477-2659 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > =========================================================================== From m.rueger at acm.org Tue Jun 5 20:21:21 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:09:53 2012 Subject: Legal view on Public Licenses Message-ID: <3B1D3F41.6BC299B6@acm.org> This rather extensive memo on "The Enforceability of Mass-Market Public Software Licenses" was published on slashdot: http://www.vjolt.net/vol5/issue3/v5i3a11-Ravicher.html Thought it might be an interesting read. Michael From werdna at mucow.com Sat Jun 2 15:55:30 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:09:55 2012 Subject: Stable squeak isn't (on mac, maybe) In-Reply-To: <3B1897CF.561630CE@trentu.ca> Message-ID: <200106021903.f52J3hv21454@smtp-server2.tampabay.rr.com> BTW, to get it working on OsX, all I did was select the Stable Squeak image I wanted to run in the finder, select "Get information" (or Command-I from the menu), select "Specific Application," and then select the Stable Squeak VM. This all worked without a hitch. Squeak comes up, Morphic runs fine. Browser works as usual, so far as I can tell. I can filein various of the Stable Squeak projects from the file browser, but the project browser wasn't working, nor was the "command-line" version. On Saturday, June 2, 2001, at 03:37 AM, jack wrote: > hi, > > i have had consistant problems getting squeak to run from after > decompacting. > > i have a suspicion that it might have to do with stuffit expander, can't > be sure about that. > > however, if you have a high speed connection and/or some patience, this > workaround might get your squeak working right. > > i had os x running, i had fixed my squeak and was running it from a > carbon vm. since then my os x crashed my powerbook firewire *hard*. now, > when i open os x it doesn't show any of its own app icons or folders > properly, they are all blank (if anyone knows how to fix this get back > to me at jeaton @ trentu.ca or on this list)... it happens despite any > number of reformats and reinstalls. > > anyway, i reformatted and am back to os 9.0.4 but this might work for > you: > > go to the platform independent section of your favorite squeak ftp site, > and get the package that has the changes and image, and get the one that > has the sources... go to www.versiontracker.com or some similar site and > get macgzip and zipit. uncompact the files you download with those > programs, and then change the file types and creators with res edit or > its mac os x equivalent. > > creator for all of these must be: FAST > file type for the image is: STim > file type for the sources and changes is: STch > > another thing is to give the vm more memory than it asks for... mine was > set too low initially. > > at worst you might waste a half an hour or so, at best you'll get a > stable squeak. it worked for me. > > jack > From rms at cs.brown.edu Mon Jun 11 10:53:52 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:09:59 2012 Subject: squeak manual In-Reply-To: <3B24A137.44B7A07A@squeaknews.com> Message-ID: Oops! Sorry to have forgotten about your message, Tansel. Yes, I do have it in my archives. June 15 is almost here. R. On Mon, 11 Jun 2001, Editor wrote: > By all means! I already remember sending you an invitation before. For the other people interested we'll announce details with our first issue that will be available in July and on our web site. > > Cheers > > Tansel > > Rosemary Michelle Simpson wrote: > > > Wonderful news! Do you need some help? In my variegated background is a > > long stint as a technical writer. Plus I am a professional indexer and > > hypertext designer and would be happy to put any of these skills at your > > service. > > > > R. > > > > On Mon, 11 Jun 2001, Editor wrote: > > > > > We are in the making of a reference manual and a user guide and will be ready within a few months. > > > > > > Cheers > > > > > > Tansel > > > Editor, Squeak News > > > > > > Projet DeepLow wrote: > > > > > > > Hi, > > > > > > > > We're looking for a manual for squeak. Does anyone know anything > > > > aboout a complete squeak manual. > > > > > > > > Thanks in advance. > > > > > > > > > > > > Projet DeepLow > > > > Maîtrise Informatique > > > > Université de Savoie (France) > > > > Explorateur 3D en SmallTalk > > > > Serna Audrey (madame_dodue@hotmail.com) > > > > Fleutot Pierre (foreveroux@yahoo.fr) > > > > Josserand Samuel (samjosserands@yahoo.fr) > > > > Loiseau Mathieu (MateOstl96@aol.com) > > > > > > > > From mailinglist.fischer at bluewin.ch Sat Jun 2 11:25:28 2001 From: mailinglist.fischer at bluewin.ch (Alain Fischer) Date: Sat Jan 28 04:09:59 2012 Subject: More advanced Graphing References: <5.1.0.14.0.20010601131448.00b39968@mail.consultar.com> Message-ID: <3B18CD28.504763EA@bluewin.ch> Hi Diego, Your PlotMorph looks very nice, I would be very happy if you could send it to me. I am playing with simulation and it's the kind of Morph I want to represent the graphic result. Have a nice day. Alain Diego Gomez Deck wrote: > > If you want, I can send my PlotMorph... > > it looks like the atachs... > > TIA, > > Diego Gomez Deck > From lex at cc.gatech.edu Wed Jun 13 06:05:16 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:10:04 2012 Subject: Need help with ScrollPane and model... References: Message-ID: Stephane Ducasse wrote: > > The problem is that if later I changed the contents of the aTextMorph > then I have to **explicitly** reset the scrollbar of the scrollPane. > > Is there any way using model and changed event to have this behavior > automatically > Using PlugabbleTextMorph and the changed/update mechanism would seem to make all this easier. Here's how to do it. First, create a model object -- this technique doesn't really work from raw workspace code. Suppose the model is an instance of ReallyCoolStuff. Second, add a method to ReallyCoolStuff that computes the string to be displaed. For example, I'll copy your code: reallyCoolAttributeDescription | st | st := ''. Smalltalk classNames do: [:each | st := st , each asString , ' ']. ^st Next, create and open the PluggableTextMorph: > (PluggableTextMorph on: myReallyCoolStuff text: #reallyCoolAttributeDescription accept: nil) openInWorld Finally, make sure that whenever your really cool stuff changes, that you execute "self changed: #reallyCoolAttributeDescription" in order for the PluggableTextMorph to get updated. Here's a simple example of the whole process using arrays (I love this example because arrays obviously don't have GUI code built in): ============================= "create an array and open a text view of the first element" myKewlArray := #('abc' 'def' 'ghi') copy. (PluggableTextMorph on: myKewlArray text: #first accept: nil) openInWorld. "modify the first element" myKewlArray at: 1 put: 'blah blah'. "cause the view(s) to actually update" myKewlArray changed: #first. ============================= This example is especially kewl if you execute the "openInWorld" line more than once and thus create multiple views. Whenever you change the array and send changed:, all the PluggableTextMorph's will update in parallel. -Lex From johnmci at smalltalkconsulting.com Tue Jun 5 21:06:27 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:10:08 2012 Subject: Collection squared but what about fractions. In-Reply-To: <3B1D0643.1010704@keyww.com> References: <3B1D0643.1010704@keyww.com> Message-ID: > >As the original author... If you implement the latter, then any >mathematical entity you want to put in your collections will need to >implement squared. Not a big deal, but its nice to just be able to >implement */+-raisedTo: and have just about every other derived >function work. Why is squared taking so long (don't have a current >Squeak image)? I'm betting it avoids the reduction test? Well Number>>squared is implemented. But my point is that if you create a Numeric based object Foo, and a specialized squared method for performance, then stick that into a collection and square the collection then your work isn't used. The pattern being used in math in collections is aways foo operator, but in squared we've used foo otheroperator. Andreas pointed out a way to ensure the fraction logic gets used, and it' has some merit because it also considers the generate case of someone doing object * object. But it doesn't solve the general case above. However I'll tidy up Andreas suggestion and submit it. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From rsiler at u.washington.edu Fri Jun 1 23:55:25 2001 From: rsiler at u.washington.edu (Randy Siler) Date: Sat Jan 28 04:10:12 2012 Subject: Onward and Upward In-Reply-To: Message-ID: Just curious: Does this involve a disassociation with Disney? > From: Dan Ingalls > Reply-To: squeak@cs.uiuc.edu > Date: Fri, 1 Jun 2001 11:21:46 -0700 > To: squeak@cs.uiuc.edu > Subject: Onward and Upward > Resent-From: squeak@cs.uiuc.edu > Resent-Date: 1 Jun 2001 18:18:24 -0000 > > > -- > Folks - > > You may notice that the members of Squeak Central have new email addresses > today. > > We have long contemplated a more independent existence, and the time has come > to take that step. We have formed "The Learning Research Institute" to > continue our interests in "Personal Computing For Children of All Ages" and > all of us are now part of "LRI". > > For members of this list, there should be no noticeable impact. Squeak is our > vehicle of choice, and we will continue to bestow the usual attention on it as > well as on our evolving vision of personal and interpersonal computing. We > remain committed to maximizing synergy in the Squeak community through > collaboration and coordinated evolution of Squeak itself. > > For us, the change enables a continued focus on the barriers that remain > between the potential of Squeak and what is accessible to the large majority > of children and adults in the world. It also allows us to press on with the > SqueakLand work, opening what we have achieved so far to everyone connected to > the Internet. > > With a Squeak Foundation taking shape, and important results emerging from the > Stable Squeak World Tour, this is a time of opportunity. Our intention, as > always, is to work entirely in the open, and to collaborate with the rest of > the community in every way possible. > > On to SqueakLand! > > - Dan, for all of us at SqC > > > From Yoshiki.Ohshima at disney.com Mon Jun 18 20:50:39 2001 From: Yoshiki.Ohshima at disney.com (Ohshima, Yoshiki) Date: Sat Jan 28 04:10:20 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: <5.1.0.14.0.20010618171952.00bdf800@mail.consultar.com> References: <200106172005.QAA11429@blackwolf.golden.net> <5.1.0.14.0.20010618171952.00bdf800@mail.consultar.com> Message-ID: <20010618135039F.Yoshiki.Ohshima@disney.com> Hi, Diego, > Has the iPAQ buttons some function with Squeak for WinCE?? The short answer is yes. However, the current VM I put on the Web doesn't. You have to get the source tree, #define MAP_HARDWARE_KEY and rebuild the VM. Hope this helps, -- Yoshiki From JArchibald at aol.com Tue Jun 19 08:48:43 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:10:21 2012 Subject: [FIX] [BUG] MessageSet>>parse:toClassAndSelector:-- fix for error Message-ID: <73.ed8c3aa.28606beb@aol.com> All-- I ran into a bug which a one of a kind. In a Browser looking at class Object, select method #class, then select 'implementors of...' to bring up a browser on MessageSet. If you then select the only method there, the contents pane will contain 'Missing'. This is not correct. As far as I can tell, this the the only case which causes this. This change set fixes this. >From the preamble: Fixes incorrect parse for case 'Object class' in MessageSet when there is a {message category} (which is now usually the case). Cheers, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: FixMessageSetParsing-jla.2.cs.gz Type: application/octet-stream Size: 809 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010619/8f492aa9/FixMessageSetParsing-jla.2.cs.obj From spair at advantive.com Thu Jun 21 11:08:36 2001 From: spair at advantive.com (Committee on Senseless Method Addition) Date: Sat Jan 28 04:10:33 2012 Subject: Contest! In-Reply-To: Message-ID: As you all may be aware, the Morph class has 924 methods. That leaves only 76 methods to reach the 1000 method mark. To encourage and help achieve this milestone, the Committe for Senseless Method Addition is announcing a contest. The person to release the 1000th method on Morph into the update stream will recieve a prize (to be determined). To ensure that these methods are not trivial, do nothing methods, the winner must contain at least 30 lines of code (one line with 30 statements is acceptable). These methods must be located in Morph, not subclasses of Morph, however, methods that should logically reside in a subclass of Morph, but are implemented in Morph are acceptable providing that you also submit override methods for non-applicable subclasses that simply invoke #doesNotUnderstand:. I hope that everyone will be eager to participate...if everyone of the list were to contribute just one method, I'm sure that we could break the 1000 mark in no time. Good Luck! The Committe for Senseless Method Addition (CSMA) From bert at isg.cs.uni-magdeburg.de Thu Jun 28 12:54:12 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:10:39 2012 Subject: New VM for Linux? In-Reply-To: <3B3B0098.473C9C7E@xtra.co.nz> Message-ID: On Thu, 28 Jun 2001, Christopher Sawtell wrote: > Greetings Squeak World, > > Recently, when updating the image at patch # 4023B3DBumper, I noticed a > mention of the need to install a new VM which was to be available > 'soon'. > > I had a look around some of the usual ftp archive but could not find > anything apart from the VM for the N.S. Plugin, which btw, seems to go > well. It's "do it yourself" for now. I can send you my VM + OpenGL plugin if you want (compiled in RedHat 7.1 so probably requires fairly new glibc). -- Bert From bstjean at yahoo.com Wed Jun 20 15:51:41 2001 From: bstjean at yahoo.com (Benoit St-Jean) Date: Sat Jan 28 04:10:40 2012 Subject: [GOODIE]MenuBarMorph - Squeak 3.1 In-Reply-To: <003101c0f99e$ca85f6e0$6401a8c0@we.mediaone.net> Message-ID: <20010620155141.67477.qmail@web14607.mail.yahoo.com> --- Jim Benson wrote: > Here is a version of the MenuBarMorph that runs > under Squeak 3.1 version Wow! Wow! Exactly what I needed! Thanks a lot! __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From arning at charm.net Fri Jun 29 12:12:23 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:10:44 2012 Subject: [BUG] SyntaxMorph testClass:andMethod: Message-ID: <200106291212.IAA22521@fellspt.charm.net> Steve, First, it is possible (although certainly not ideal) to resize the scriptor you get in this fashion. If you move the scriptor a bit away from the top left corner, then cmd-click just to the left of the blue square that is visible inside the scriptor, you will get the halo. Click until the label on the halo is "TwoWayScrollPane", then drag the yellow handle and the scriptor will resize. Second, there is a newer way to do this that you may find more useful - from the menu icon at the top of the browser, turn ON the "tiles" option. Then you will see the tiles right in the browser. Third, I'm not clear on which method it is that you think is confusing and nasty. Cheers, Bob On Thu, 28 Jun 2001 21:47:28 -0800 Steve Wart wrote: >If you click on a method in a browser and select 'tile scriptor' the >SyntaxMorph comes up in a little window in the upper left hand corner of >the screen. Can't resize, pretty confusing. > >If you revert to the 3.0 version of this method, everything is fine. In >fact the 3.0 version of the method is much simpler. It is sending >#openInWindow to the SyntaxMorph whereas the 3.1 version creates an >AlignmentMorph and sends it #openInWorld. > >The 3.1 version of the method is quite confusing and nasty (IMHO), in >addition to the fact that it doesn't seem to work correctly. I would >suggest that the first version is 'right', or at least that some >refactoring is in order. From jk at xylema.org Sun Jun 24 17:28:13 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:10:49 2012 Subject: Severe MSIE problem (Re: [pws] John Kozak on Linux Swiki problems) In-Reply-To: <001501c0fc33$725fda70$01000001@computer2> References: <15157.339.687000.39773@noontide.demon.co.uk> <001501c0fc33$725fda70$01000001@computer2> Message-ID: <15158.9005.0.979276@noontide.demon.co.uk> Andreas Kuckartz: > I have not yet verified the MSIE version number, but our Intranet Swiki > shows the same terrible effect when it is accessed with the released MSIE > 5.5 (?) as soon as the reload button is hit before a page was displayed > completely in the browser. One missing bitmap usually is enough. I think I may have fixed this. I'm running a version with my fix here, and it seems OK - in particular, it's immune to jamming the F5 key, which would kill the distributed version dead. What I've done is basically a bodge: I've examined what was going wrong at the lowest level, then made the least changes to fix that. This isn't always a recipe for long-term happiness, so I'll present my analysis of what's wrong, and hopefully an "official" fix modulo a proper understanding of the squeak TCP/IP innards can emerge. source file sqUnixSocket.c, lines 645 ff: /* let's assume it's a transient error, and continue to wait for a connection */ pss->sockError= errno; pss->sockState= WaitingForConnection; perror("acceptHandler (ignored)"); aioEnable(pss); "aioEnable" here should "turn the server socket back on", but it doesn't: * the handler isn't set to acceptHandler * lastSocket isn't set correctly Essentially, aioEnable isn't the inverse of aioDisable. Fix: I added this line immediately after those quoted above: aioHandle(pss, acceptHandler, AIO_RD); and that seems to work. regards, John From jwelton at pacific.mps.ohio-state.edu Tue Jun 12 21:24:24 2001 From: jwelton at pacific.mps.ohio-state.edu (Jesse Welton) Date: Sat Jan 28 04:10:52 2012 Subject: [ENH] HandMorph Cursor Enhancements Message-ID: Submitted for inclusion in Squeak 3.x. "Change Set: HandMorphCursorEnh-JW Date: 12 June 2001 Author: Jesse Welton This change set makes the cursor handling of hands smarter, so that 'aHand showCursor: aCursor' will display a hardware cursor whenever possible, and fall back on a software cursor whenever necessary. This happens automatically as needed due to changes in the hand's state, without losing the current cursor shape. HandMorph is refactored by pulling the Sensor-specific event functionality out into a separate class, SensorHandMorph. This makes a clearer distinction between default behavior for all HandMorph subclasses and behavior specific to the local hardware hand, and greatly facilitates the implementation of the cursor enhancements, due to the very special bahavior the hardware hand must show. (Software hands such as replay hands and remote hands continue to have no effect on the hardware cursor.) Warning: Hand-tweaked changeset, will not fileout again properly." The version of this changeset generated by simply filing it out includes two redefinitions of HandMorph, the first of which adds the new instance variables and the second of which removes those which are removed. I had to tweak it by hand because Squeak would hang when reading the second class definition. All I did was to move the second (final) definition up to replace the first one. The only effect of this (other than making it possible to file it in) seems to be that it results in a bunch of undefined reference warnings on the Transcript, which are all resolved within the changeset. Two questions come to mind: Why does a changeset get filed out with this organization (ie, what purpose have I overridden)? And why does Squeak hang when evaluating the second class definition in this case? -Jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: HandMorphCursorEnh-JW.cs.gz Type: application/octet-stream Size: 6656 bytes Desc: Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010612/c8fa0345/HandMorphCursorEnh-JW.cs.obj From bert at isg.cs.uni-magdeburg.de Wed Jun 20 16:02:01 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:10:59 2012 Subject: Squeak, source code and repository In-Reply-To: <20010620155727.69582.qmail@web14607.mail.yahoo.com> Message-ID: On Wed, 20 Jun 2001, Benoit St-Jean wrote: > Just a quick question... > > Is there any "central repository" for all > fixes/goodies/apps/whatever and all bits and pieces of > squeak code posted here ? Something like the UIUC > repository but just for Squeak... With a search engine? No. But everything properly posted gets collected at the SQFIXES archive, see http://minnow.cc.gatech.edu/squeak/ReportingBugsAndFixes -- Bert From JArchibald at aol.com Mon Jun 4 05:18:07 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:11:01 2012 Subject: stable Squeak (Fonts) free Accuny for browser. Message-ID: => 6/3/01 10:09:52 PM EDT, johnmci@smalltalkconsulting.com => << FYI, I'll refer you all to a sybase manual page to see the table of how the accufonts map to macintosh fonts. http://manuals.sybase.com/onlinebooks/group-pb/corepbm/apptech/@Generic__BookT extView/36587 >> All-- You might find that the following link works better: http://manuals.sybase.com/onlinebooks/group-pb/corepbm/apptech/@Generic__BookV iew;hf=0 The link John provided was a frame from a frame-based presentation. I found that it gave me javascript errors, and loaded extremely slowly. yt, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From edtor at squeaknews.com Sat Jun 23 19:28:35 2001 From: edtor at squeaknews.com (Editor- Squeak News) Date: Sat Jan 28 04:11:03 2012 Subject: [SqueakNews][Trivia]This month's Squeak Question Message-ID: <3B34EDE3.ABB73CED@squeaknews.com> In the SqueakNews e-zine we will feature a question every month and choose and publish selected answers on the site. "The editor's choice" will even get a surprise present. I would like to be able to post these questions to the list. This month's question is an actual event that happened, and goes as follows: Just before going on a business trip, a fellow Squeaker found out that his house had just been broken into and intruders had apparently fled minutes ago without being able to touch anything. He was annoyed, but had to leave house quickly again for his trip. He had a small portable alarm laying around and his house had a permanent cable-Internet connection. Before leaving, he mounted and turned on the the alarm, and wrote about 15 lines of Squeak code that would determine if the alarm was set off and would send him an email indicating that the alarm was on. In that short time he had no way of physically connecting that portable alarm to his computer. The warning would need to be reasonably quick and accurate so that intruders wouldn't have a chance to silence it before he was notified, and he could depend on it to call the police or inform friends to check the house from wherever he was. He also wanted to get a "heart beat" email every 10 minutes so that he would know that his computer was alive (bear in mind that's a lot of messages a day). In the 15 minutes he had before leaving he managed to do all of that with enough time for testing and even printing stickers to warn intruders. Can you guess what did he do and how he did it? ps: He found this utility so useful he still uses it whenever he is away from home. Later he slightly modified the utility to increase the frequency of heartbeats and send email messages to a special mailbox. He then wrote another utility for his laptop to check that special mailbox every minute and warn him if there were heartbeats missing, or if there was an alarm raised. He extended this utility to check his web site and warn him if that site goes down as well, and now dreaming of connecting a webcam and picturing intruders, but that's another story. You don't need to do this part, but if you like a challenge who are we to stop you? Please send your answers with code snippets directly to me as we don't want to clutter the list more than it is now. To be able to be included in the current issue answers must reach to us by 27th June. Sorry for the short notice, next month we will have more time. Cheers Tansel Ersavas Editor, Squeak News http://www.squeaknews.com From vincent.coetzee at rmb.co.za Wed Jun 20 07:00:03 2001 From: vincent.coetzee at rmb.co.za (Vincent Coetzee) Date: Sat Jan 28 04:11:05 2012 Subject: documentation requests? In-Reply-To: Message-ID: <200106200700.f5K709319722@carbon.rmb.co.za> On Wednesday, June 20, 2001, at 05:02 , Dan Ingalls wrote: > > > Hi, Lex - > >> Some students in the Georgia Tech OO class are thinking of >> investigating >> and documenting parts of Squeak in order to get extra credit. Here's >> your chance: what would you most like someone to dig into and then >> write >> up? Alternatively, if you've written some fantastic Squeak system, how >> would you like to have someone else do the documentation? >> >> I suggested they might look into the new morphic layout mechanism, >> which >> to my knowledge hasn't been documented anywhere. I have recently been doing some work around using Squeak to produce native Cocoa apps on Mac OS X. Documentation regarding the mechanism used to channel OS events into Squeak and how the event handling is performed in Squeak might be very useful. Is this covered in one of the Smalltalk books, or does Squeak use significantly different mechanisms for handling this ? > > Actually, Andreas put a pretty good summary in a project on Bob's super > swiki, back around Feb, methinks. Can't get to it right now to give you > the link. But it would certainly be nice to get this into the image. > Also > a guide to morphic event handling. > >> What else might be >> useful? >> >> Reply here, or post it yourself to: >> >> http://coweb.cc.gatech.edu/cs2340/1401 >> >> >> The only constraint is that it must be something a student would have a >> chance of doing.... > > This might be too broad a request, but I think it's time for a concerted > pass over the class comments to get at least a few useful sentences > about > what each class does and how it works with others. > > Then a simple addition with a lot of leverage would be to add a > 'find...' > command to the browser that would search class comments for matching > text, > just as the current one searches for matching names. > > This would have allowed Benoit St-Jean to find PopUpChoiceMorph when he > was > looking for menu bar tools this morning. > > - Dan > -- > From DiegoGomezDeck at ConsultAr.com Tue Jun 26 02:12:45 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:11:14 2012 Subject: Very large amount of Objects Message-ID: <5.1.0.14.0.20010625231050.00b3df30@mail.consultar.com> What?s the best way to store about 1 million objects in Squeak?? I tried ReferenceStream but seems too slow.... TIA, Diego Gomez Deck From jimm at io.com Wed Jun 6 16:13:15 2001 From: jimm at io.com (Jim Menard) Date: Sat Jan 28 04:11:22 2012 Subject: TexFileOut problems In-Reply-To: <3B1E521D.79FF3388@telinco.co.uk> References: <3B1E521D.79FF3388@telinco.co.uk> Message-ID: <15134.22171.647838.538355@fnord.io.com> John Hinsley writes: > So, I load in the change set, pop open a browser and from the menu > TexFileOut (for example) Collections-Text Symbol. > > This results in a file "Symbol class.tex" in my home directory. Of > course, "Symbol class.tex" is an illegal file name under any *nix. So I > change it to "Symbol_class.tex" (legal under any OS) in Kde. Spaces are perfectly legal file name characters under *nix. You may have to escape the space or put the file name in quotes, however prompt> ls Symbol\ class.tex prompt> ls "Symbol class.tex" Try typing "Symb" then hitting the tab key. Many modern shells will complete the file name, including doing the escaping or quoting for you. > Opening up the file I see something that looks like a .tex file: The output looks like TeX, not LaTeX. Jim -- Jim Menard, jimm@io.com, http://www.io.com/~jimm/ "I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it." -- Jack Handey From scott at squeakland.org Wed Jun 13 08:32:34 2001 From: scott at squeakland.org (Scott Wallace) Date: Sat Jan 28 04:11:22 2012 Subject: a morphic tutorial in morphic In-Reply-To: <9a.1598d9e4.285870be@aol.com> References: <9a.1598d9e4.285870be@aol.com> Message-ID: A very straightforward way to get to "Bob's SuperSwiki" and download a project from it, if you have the "project navigator" showing (viz. Preference #showProjectNavigator set to true,) is to open up the navigator (my moving the cursor over it) and then hit the "Find" button. -- Scott At 3:31 AM -0400 6/13/01, JArchibald@aol.com wrote: >=> 6/13/01 1:49:44 AM EDT, vngalchin@yahoo.com => ><< I am not one of the initiated :^) Can you please give a URL? > > Thanks, > --- Lex Spoon wrote: > > I've written a simple morphic tutorial and posted it to > > Bob's SuperSwiki with the name "LearningMorphic". > >Vasili, > > (0) In a morphic environment, with an active Internet connection: > (1) Open up a FileList. > (2) In directory pane (up left), select root '[]' at the top. > (3) From file pane (up right), select 'Bobs SuperSwiki'. > (4) In file pane, select project file 'LearningMorphic.00x.pr'. > (5) From (right button) action menu, select 'load as project' > >and the magic will follow. > >If you're like me, you might find it a little difficult to get out of -- I >had to bring up the PasteUp halo to get a "desktop" menu to jump back to >previous projects. There may be a better way ... :-) > >Cheers, >Jerry. From m.rueger at acm.org Mon Jun 11 20:14:10 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:11:28 2012 Subject: [BUG] Flash file JPEG decoding Message-ID: <3B252692.96C9EAAE@acm.org> Hi all, I've encountered a problem with a Flash file containing JPEGs. Somehow on reading the first marker it encounters an EOI instead of SOI. I'm attaching the offending file and a modification to parseFirstMarker and processDefineBitsJPEG2: data which allows the FlashFile reader to at least skip over the images. Could some JPEG expert have a look at this? Thanks Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: jpeg-bug.zip Type: application/x-zip-compressed Size: 8678 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010611/7b4879c5/jpeg-bug.bin From schwa at cc.gatech.edu Sun Jun 17 06:05:14 2001 From: schwa at cc.gatech.edu (Joshua 'Schwa' Gargus) Date: Sat Jan 28 04:11:32 2012 Subject: About the wonderful internet browser In-Reply-To: ; from jon@huv.com on Fri, Jun 15, 2001 at 05:56:10PM -0600 References: <200106151320.QAA02206@mailgw2.netvision.net.il> Message-ID: <20010617020514.A17722@cc.gatech.edu> On Fri, Jun 15, 2001 at 05:56:10PM -0600, Jon Hylands wrote: > The main problem with the browser as it sits now is that I basically threw > out all the original layout code to do layout in morphic, and it is > painful, given the strange ways that morphic does layout. If someone wanted > to do it right, the way to do it would be to use a constraint system for > doing the layout. The Squeak port of Cassowary (a linear constraint solver) currently resides at: http://penguin.cc.tg.atl.ga.us:8080/schwa/63. For papers that describe how Cassowary can be applied to the web, see: http://www.cs.washington.edu/research/constraints/web If anyone wants to pick this up, feel free to contact me to answer any questions about Cassowary that might arise. The demos I ported should point you in the right direction. Joshua > > Later, > Jon > > -------------------------------------------------------------- > Jon Hylands Jon@huv.com http://www.huv.com/jon > > Project: Micro Seeker (Micro Autonomous Underwater Vehicle) > http://www.huv.com From werdna at mucow.com Mon Jun 4 01:24:46 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:11:34 2012 Subject: stable Squeak (Fonts) free Accuny for browser. In-Reply-To: Message-ID: <200106040124.f541Ox525725@smtp-server1.tampabay.rr.com> That's great, actually. Where did we get the initial images printed to paper? Were they also from the original fonts? That gets you back to the origin, and once again, we are relying on the noncopyrightability of fonts and bitmap fonts. While I don't dispute that this is probably just fine under current law, my understanding was that some felt it was imperative that we evade forever the apple font heritage. I didn't share this view, but some did. This is the reason I asked this question in the first place. Let me put it plain one more time: 1) Does anyone in our forum still feel it is essential to remove the Apple fonts from the image?; and if there are still those who do, 2) Were the Accu fonts derived from and with permission of Arts Mangement Systems, as owners of these fonts, or from Apple? Paul F., in particular, seemed to feel that the ownership needed to be entirely clear of an Apple font heritage. Has he changed his views in this regard? On Sunday, June 3, 2001, at 09:13 PM, John M McIntosh wrote: >> On Sunday, June 3, 2001, at 07:15 PM, John M McIntosh wrote: >> >>>> >>> At 7:35 PM -0400 6/2/01, Andrew C. Greenberg wrote: >>>> On the legal side, are you sure these fonts are all completely >>>> Kosher? There seem to me to be direct ripoffs, at least, of the >>>> early Apple MacOS Chicago, Chancery and Symbol bitmap fonts. If we >>>> were aspiring to be purely license-clean, there may be some serious >>>> issues. >>>> >>> This was address by Arts Management Systems Ltd (the suppliers of the >>> fonts) in the early 1990's via correspondence with Apple Legal >>> department. At the time it was a point of concern since these fonts >>> were later marketed as a commercial product, which can be found in >>> Informix products, Omnis (Blyth Software), and PowerBuilder (Sybase). >>> The fact they got sold to these vendors in the early/mid/late 1990's >>> is a result of the discussions with Apple. >>> >>> The legal reasoning is summed up on >>> http://minnow.cc.gatech.edu/squeak/1849 at the comment of >> >> I agree -- after all, those were my arguments! However, various >> members of the community have been troubled by the existence of the >> Apple bitmap fonts in the Squeak image, and some have savaged SqC for >> failing to remove them, citing to these new fonts as the second coming >> of Squeak. If the Accuny fonts heritage is identical to that of the >> Apple bitmap fonts, however, what, then, has been gained? > > Well I'm not sure the heritage is identical, I presume the original > Squeak fonts were taken directly from Apple files and manipulated by > some Squeak code to produce the bit images. Thus a clear heritage/usage > of the apple font bits via the reference to the original bits. Also > reference to them in the original license and of course they retain the > same names which *is* a licence issue. I sure as far as Apple is > concerned the Squeak folks just embedded the Apple font files with > alterations into Squeak. > > Now on the other hand the accufonts were painfully tapped into a > Windows 3.0 SDK font bit editor by hand based on images printed to > paper which were enlarged by silicon beachs SuperPaint, then compiled > into windows 3.0 font files and compared to the macintosh originals for > spacing and alignment using the high tech tool of printing to color > transparencies and viewing the results by visually overlaying them and > squinting. Now I understand these window font files were then read into > Squeak by Duane Maxwell & company and translated into the squeak aware > bit images. So although they look the same they *do not* share the same > heritage from an understanding of were the bits come from. Certainly if > they were computer derived from the original apple files (they are not) > then we would be no better off. > > Note: Since we can make clones of bitmap fonts then I'll ask is there a > more proper/legal way to do it since the effort took weeks of time... > > BTW the intercharacter spacing for some of the accufonts is different > from the original Squeak fonts, I can't say without doing some analysis > which font is wrong in the spirit of being bit identical to the > original Apple font. > >> >> So here it is, then. Has AMS granted us rights to "their" fonts, >> acknowledged their lack of a Copyright interest, dedicated them to the >> public, or not? If so, can we simply agree that there is no big deal >> about using these fonts, any of them, including those in the present >> Squeak image? > > I'll refer you to the license text found in the stable squeak project > files. I'll let other interpret what it means... > > Squeak World Tour note: > The Apple and Microsoft fonts referred to in this license have > been expunged from this image. There are no Apple or Microsoft derived > fonts in this image. Information on the fonts in this image may be > found in the script titled, AccuFont License. This image is derived > from the Squeak 2.8 base image and virtual machine. Additional code > provided by Squeakers world wide has been included > > The AccuFontLicense.text file reads: > > "Copyright Arts Management Systems, Ltd." > > ? Arts Management Systems Ltd. > > The fonts distributed as part of this base image are derived from > fonts copyright Arts Management Systems, Ltd. Use of the fonts in > derivative software products is allowed. > > The fonts should retain their AccuFont names. > > The acknowledgement should read: > >> Doug Easterbrook >> Arts Management Systems Ltd. >> mailto:doug@artsman.com >> http://www.artsman.com >> Phone (403) 215-5701 Fax (403) 215-5704 > > > > -- -- > ========================================================================= > == > John M. McIntosh 1-800-477-2659 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > ========================================================================= > == > From John.Maloney at disney.com Thu Jun 21 14:35:12 2001 From: John.Maloney at disney.com (John.Maloney@disney.com) Date: Sat Jan 28 04:11:52 2012 Subject: Morph selectors size -> 924 In-Reply-To: Message-ID: Stephane, I concur, I'd love to see a smaller class Morph. Of course, it defines protocols for a lot of functionality, so it will always be a larger-than-average class, but earlier versions were a mere 200-300 methods, I believe. Unfortunately, classes like Morph, Object, Collection, and Number tend to accumulate methods because they are the roots of large hierarchies of useful classes. And once methods are added, they are difficult to remove because other code depends on them. My conclusion is that code bloat is a natural progression in any useful class library. Every commercial Smalltalk seems to bloat over time, and Java exhibits the same phenomenon. We're fortunate that Squeak has a pretty efficient representation of classes and methods, so the image size grows slowly as code is added. One could try to fight this effect, but I think you would risk either creating a sterile system that noone used (but it could be very small and elegant) or you'd at least have to slow the rate of evolution to a crawl so that every addition could be carfully considered and discussed. Neither of these alternatives is in the spirit of Squeak's open source nature. So, while I also abhor the bloat, I've decided that the best thing to do is to accept it as inevitable, try not to add to the problem myself, and focus on building cool appliations on top of the system as it is. (To be honest, I also dream of building a new Morphic-like system from scratch some day, even though I know that that, too, will become bloated if it is successful. But I sure do love the early days of a system, when it is still small enough to keep it all your head.) -- John P.S. The Squeak image is like a city. You can try to plan the general layout, major streets, etc, but to some extent it just grows organically, built by the people who live in it. And older cities, with a long history of organic growth, are far more interesting than new, "perfect" ones. At 8:28 AM +0200 6/21/01, Stephane Ducasse wrote: >Hi > >I'm starting to look at Squeak with our tools (moose and codecrawler). And >while browsing I saw that Morph has 924 methods. I was thinking that there >was a bug in our tools because I could not believe it. > >And sadly I checked in Squeak and yes there are 924 methods in the class >Morph. >So any body has a suggestion on how to react? >I'm not expert at all in Morph but I have the impression that if we do not >do anything Morphic will really miss the point. I have the impression that >the spirit of Morphic are rape when I see such a class. > >We can all laugh at Swing or other Java stuff when we have a big blob like >that in our system. I hope that with the results of Stable Squeak we will be >able to attack this problem. > >Stef From noel at devtech.com Sun Jun 17 02:05:04 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:12:04 2012 Subject: Squeak in IPAQ In-Reply-To: <5.1.0.14.0.20010616203100.00b3bc00@mail.consultar.com> Message-ID: Diego, > I just get a Compaq IPAQ only for run Squeak on it.... :-) > The only choice is to install linux?? or exists any > version that can run on WinCE?? Yes, we have a Squeak running on iPAQ under WinCE. I believe that Ohshima-san is planning an update soon (hopefully with the Genie plug-in included, to speed up recognition). Meanwhile, you can download his current port from http://www.is.titech.ac.jp/~ohshima/squeak/iPAQ/. --- Noel From Dan at SqueakLand.org Sat Jun 23 21:55:04 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:12:07 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] Message-ID: -- Folks - I have just forwarded 80 updates from the last month to the servers for 3.1 alpha. These include various features and fixes in just about every corner of the system. The inconsistent ordering has been fixed, so downloading should work with no problem. - Dan ------------------------ 4082CursorWrapped-ar -- Andreas Raab -- 25 May 2001 Fixes a problem when a cursor is modified in a morph with no submorphs." 4083SquarePoohTextures-ar 4084WnldRename-ar -- Andreas Raab -- 26 May 2001 Allow renaming of wonderland actors." 4085WnldNav-ar -- Andreas Raab -- 26 May 2001 Better Wnld navigation." 4086GenieUpdate-NS -- Nathanael Scharli -- 26 May 2001 Genie is a character and gesture recognition system for Squeak. This changeset contains a new class CRStrokeMorph which drastically speeds up the graphical feedback while entering a gesture. In addition it fixes a bug related to the event-handling" 4087copyFix-sw -- Scott Wallace -- 26 May 2001 Fixes the bug that made 'foos copy' continuously reevalute in a Viewer. The postscript fixes up existing vocabularies. Also fix the bug that had blocked the viewer menu for #copy from showing its traditional 'give me a copy now' item" 4088altUrlFix-raa -- Bob Arning -- 27 May 2001 Handle case where #altUrl is " 4089BetterPoohPaint-ar -- Andreas Raab -- 27 May 2001 Makes Pooh painting use antialiased strokes (hey, we got 32bpp so why not use it :-)" 4090fasterSymbols1-raa -- Bob Arning -- 26 May 2001 Speed up #asSymbol for Characters (part 1 of 2)" urger@Suntrust.com PO box 678 Lynchburg, VA 24505 Carolyn Crist 804-847-2358 John Richards/Nell McIver 804-846-2768 after 5: 804-846-2771 fx: 804-847-8195 JFRichards@PLDDR.com home 804-384-1629 Sarah 401-521-6108 Dartmouth We 4091fasterSymbols2-raa -- Bob Arning -- 28 May 2001 Speed up #asSymbol for Characters (part 2 of 2)" 4092TexPaintTweaks-ar -- Andreas Raab -- 28 May 2001 Fix up the obsolete #view mode and make filling faster." 4093StackSummary-tk -- Ted Kaehler -- 28 May 2001 Adds menu item to StackMorphs: 'Find via this Template'. The current card is taken to have search keys in each field. All cards that match all keys in the corresponding fields are displayed in a list. Click on any item to see that card in the stack. (In homage to Steve Weyer's FindIt information retrieval system from the mid-1970s." 4094fewerBecomes1-raa -- Bob Arning -- 28 May 2001 Part 1 of 2 - eliminating a fair number of #become: sends while filing in a change set" 4095fewerBecomes2-raa -- Bob Arning -- 28 May 2001 Part 2 of 2 - eliminating a fair number of #become: sends while filing in a change set" 4096GermanVocab-ar -- Andreas Raab -- 28 May 2001 Adds a german vocabulary for eToys." 4097MoreTexPaintTweaks -- Andreas Raab -- 28 May 2001 Adds more tweaks for texture painting." 4098NewSymbols1-raa -- Bob Arning -- 29 May 2001 (Part 1 of 2) - When creating new Symbols, add them to NewSymbols so that the entire SymbolTable does not get into roots and slow down incremental GC." 4099NewSymbols2-raa -- Bob Arning -- 29 May 2001 (Part 2 of 2) - When creating new Symbols, add them to NewSymbols so that the entire SymbolTable does not get into roots and slow down incremental GC." 4100lessFlushing-raa -- Bob Arning -- 29 May 2001 To speed up fileins, skip the #flush of the changes file that would normally occur after every method is written. The speed gained here may vary from OS to OS, but it was a big winner for me and the disk got a lot quieter." 4101lessGrowing-raa -- Bob Arning -- 29 May 2001 Perhaps a bit controversial, but increasing the initial size of a MethodDictionary will decrease the number of times it needs to grow as methods are added. Can save on the order of 15 to 20% on the time required to filein a change set." 4102methodRefs-raa -- Bob Arning -- 29 May 2001 Implements MethodReference to be used in places where we once used strings of the form 'Blah class fooMessage' This will avoid the extra work of reparsing the string and looking up symbols. May have benefits elsewhere as well. Browsing senders of #mref will point out some of the odd situations still to be cleaned up 4103symbolGoof-raa -- Bob Arning -- 29 May 2001 Fix a few recent goof relating to enumeration of symbols and the method finder" 4104CardPlayerUndo-tk -- Ted Kaehler -- 29 May 2001 Update 4093StackSummary-tk.cs added an instance variable to CardPlayer. This was a bad idea. The mechanism that fixes up instances inside an older ImageSegment can't deal with changes in the shape of CardPlayer or Player. In this update we put CardPlayer back the way it was. The results of a template search in a StackMorph are now held in a class variable of each specfic CardPlayer class." 4105noBecome1-raa -- Bob Arning -- 30 May 2001 Part 1 of 2 - offer alternate ways to add and remove methods in MethodDictionary that do not involve #become:" 4106StackFix-tk -- Ted Kaehler -- 30 May 2001 I finally found the bug that has caused text in StackMorphs to be duplicated on many cards. When the contents of a field was stored into the CArdPlayer, it was not being copied. The same Text object then lived on the background and in the card data. When a new card was created, modifed and stored, the same Text object was stored for it also!" 4107inheritedComment-sw -- Scott Wallace -- 30 May 2001 Adds to the available annotations an element which reports the first precode comment of the method, or that of its super-method if missing. Also (unrelated) changes the code-pane provenance button to be transparent" 4108vocabSwitch-sw -- Scott Wallace -- 30 May 2001 When the user switches to a different vocabulary in a Viewer, all the scripts and viewer panes belonging to the object in question are now transformed so that they show the new vocabulary." 4109BetterGermanVocab-ar -- Andreas Raab -- 30 May 2001 Puts umlauts in the appropriate places. Sigh. This is a pain in the neck on this keyboard..." 4110MPEGPlayer-jm -- John Maloney -- 30 May 2001 This is a reworked MPEG and MP3 player with improved performance. To try it, do: MPEGMoviePlayerMorph new openInWorld Then use the 'open' button to open an MPEG movie file." 4111NebraskaTweaks-raa -- Bob Arning -- 31 May 2001 Some visual improvements for the NebraskaServerMorph" 4112pianoRollClickFix-jm -- John Maloney -- 1 June 2001 Removes clicks and other artifacts when mousing on chords in a PianoRollMorph." 4113WnldNavFixes-ar 4114twoFixes-sw -- Scott Wallace -- 31 May 2001 (1) A fix for a problem with changing data type of an instance variable. (2) A fix for the tear-off-tile-getter-of-type feature." 4115listFont-sw -- Scott Wallace -- 1 June 2001 Allows PluggableListMorphs to have their font size and styles changed via menu command." 4116navFixes-raa -- Bob Arning -- 1 June 2001 Be more insistent on positioning of InternalThreadNavigationMorph at the lower right of world." 4117WnldNavFix-ar 4118StackLooks-tk -- Ted Kaehler -- 31 May 2001 To change to color of a blank TextMorph, execute self setProperty: #nullTextColor toValue: Color transparent. in it. " 4119SearchLooks2-tk -- Ted Kaehler -- 2 June 2001 Fix a bug in template search results when card is not a gradient fill. HyperCard text Find now respects word starts. Another Find bug fixed, also. My previous update, 4118StackLooks-tk, has an incorrect description. Here is a better version: Update to improve the template stack searching. The 'blank text color' everywhere in the system is now a translucent light gray. The list of search results looks better, and is enclosed in a rectangle. If the card has a gradient fill, the search results will also." 4120PaintFeedback-ar -- Andreas Raab -- 2 June 2001 Make viewers hide and scripts stop when we go into any kind of painting mode. Refactors these actions into PasteUp>>prepareToPaint." 4121RenamePoohActor -- Andreas Raab -- 3 June 2001 Automatically name Pooh created objects as 'sketch'." 4122KeepRunning-ar -- Andreas Raab -- 3 June 2001 Keep scripts running when painting 3D objects." 4123anotherGoof-raa -- Bob Arning -- 4 June 2001 Fixes a bug I introduced in searching all method source for a string" 4124ButtonFillStyles-ar -- Andreas Raab -- 4 June 2001 Enable the use of fill styles in buttons." 4125mpegLoop-jm -- John Maloney -- 3 June 2001 Adds a repeat button to the MPEG player. Also adds a work-around for bugs in the C library that cause errors if you seek to a new position while playing. The work-around is to simply stop playing if the position slider is dragged. Finally, hides the video display when playing an audio-only (MP3) file." 4126mpegAppearance-jm -- John Maloney -- 4 June 2001 Gradient-fill style appearance per Alan's request." 4127moviePlayerFix-mir -- Michael Rueger -- 4 June 2001 Fixes the problem with running movies in the browser plugin. It turned out that AsycFile wants a full file name." 4128nebraskaGribblies-raa -- Bob Arning -- 4 June 2001 Attempt to remove gribblies in Nebraska when not 1x1 scaling. May cost some speed, so let's see if it's worth it" "Smalltalk at: #Q1 put: (Array new: 10)." 4129TranslateVocab-tk -- Ted Kaehler -- 4 June 2001 1) fixed menu items in 'choose language' in the shift menu of a text pane. 2) Vocabulary>>strings returns the parts of the vocabulary for scripting that need to be translated to add a new foreign language. A template for making a new addGermanVocabulary method. 3) Instructions on how to submit a vocabulary to a web language translation site. Not very good results, but fun." 4130vocabOnRefStream-raa -- Bob Arning -- 4 June 2001 When writing the EToyVocabulary known as #eToy, write a reference instead of the object itself to save space and time" 4131boldSelector-sw -- Scott Wallace -- 4 June 2001 Restores the bolding of selectors in browsers, which was inadvertently clobbered by a recent update." 4132B2DGradientFix-ar -- Andreas Raab -- 4 June 2001 Fixes a long-standing bug in the Balloon engine when linear gradients had a negative orientation." 4133vocabSymbol-sw -- Scott Wallace -- 4 June 2001 **PATCHED 6 June 2001*** Makes objects that formerly held references to a vocabulary now hold on to a symbol representing that vocabulary. This patched version includes both of the methods subsequently published in update 4140; they are retrofitted here to preclude a failure that could occur when filing in the original version of this update into an image that had any Alice scripting going on in it" 4134expandBox-jlb -- Jim Benson -- 5 June 2001 Add another button to the system window frame to expand/collapse a window fullscreen (Morphic Only). Tweaked by Scott Wallace." 4135preCodeComments-raa -- Bob Arning -- 5 June 2001 Some aids for Scott's documentation efforts: (1) Have the spell-checker, when adding new temporary variables, insert the temps declaration *after* any initial precode comment the method may have. (2) Make #firstPrecodeCommentFor: return the first comment found in the method before the actual code begins, whether that comment precedes or follow the temps declaration. 4136test1-jm -- John Maloney -- 4 June 2001 Test update; no contents, just testing update mechanism." 4139PlaceHolder-tk 4140vocabFix-sw -- Scott Wallace -- 5 June 2001 Fixes an error and an oversight in update 4133." 4141miscellany-sw -- Scott Wallace -- 6 June 2001 (1) Changes the wording of the prototypical TextMorph (such as is found in a Supplies flap) from 'Text for Editing' to 'Abc'. Won't show up in Supplies flap unless you reinitialize flaps (e.g. by stopping the use of shared flaps and then starting it again). (2) Fixes bug that could crop up in PluggableListMorphOfMany when #mouseMove: happened to get called while #dragOnOrOff was nil. (3) Protects various methods against the new convention that message-list entries might have the pseudo-selectors #Comment, #Definition, or #Hierarchy, such as when requesting Versions for such an item. (4) Arranges for CollapsedMorphs *not* to have zoom boxes. (5) Restores the health of PluggableListMorph.verifyContents, which was not savvy about the recent shift to MethodReference objects and consequently could drop the user into a debugger. (6) Modifies the check-for-methods-without-comments check in the change sorter so that only precode comments are considered in the search." 4142msgListBalloonHelp-sw -- Scott Wallace -- 6 June 2001 Under control of a new Preference, #balloonHelpInMessageLists, makes it possible for message lists in Morphic to provide balloon help in conjunction with a mouseover of any list item, whether selected or not. The balloon help provided is the first precode comment in the method, but if the method has no precode comment, then the superclass chain is searched until a usable precode comment is found. This works in browsers and message lists. The preference is initially set to false (these balloons will be very annoying to some people,) so you will need to set it to true proactively to see the effect." 4143moreFilters-sw -- Scott Wallace -- 6 June 2001 Implements six further filters for the little-talked-about 'filter-message-set' feature, including an item that allows you to type in a filtering block on the fly. Provides balloon help for all the filtration items." 4144chgListDiffs-sw -- Scott Wallace -- 8 June 2001 For change-list browsers and versions browsers, stop offering various irrelevant code-viewing options (byteCodes, tiles, etc.), but *do* offer diffs and prettyDiffs, and make the right thing happen in both kinds of browsers when prettyDiffs are in effect (neither had been working right.) If the optional button pane is showing for either kind of browser, offer checkbox toggles for both kinds of diffs." 4145KeepCngSet-tk 4146ConvMethods-tk -- Ted Kaehler -- 8 June 2001 When an author files out a changeSet, and he has added inst vars, deleted inst vars, or renamed a class, prompt him to fill in conversion method. The preference #conversionMethodsAtFileOut controls this. This code tries to be polite. Bring up to date with Bob Arning's changes to conversion methods in January. AUTHORS, please run with #conversionMethodsAtFileOut set to true!" 4147ConvMthsFix-tk 4148ConvMthFix2-tk -- Ted Kaehler -- 11 June 2001 Further fix the conversion method prototype. If a conversion method exists in the class, add a comment to the end. The comment explains which inst vars are changing this time. Programmer must test to see if this particular conversion is happening, and write code to fill in new inst vars. He must move the new code up into the body of the method (before the ^ super...). If the class has no conversion method, create a prototype. Programmer must test for this conversion and store values. New class comment." 4149ChngSetMetaCls-tk -- Ted Kaehler -- 11 June 2001 When a class is defined, nothing about its metaclass is recorded in the ChangeSet. When the metaclass is subsequently changed, such as adding a class-instance-variable, the metaclass is marked 'changed' instead of 'added'. This fix tests if the non-metaclass is marked 'add', and marks the metaclass the same way. This is a very old bug, and was discovered recently by Bob Arning." 4150FlashScripting-ar -- Andreas Raab -- 12 June 2001 Fixes various issues with scripting flash morphs." 4151flashJPEGWorkaround -- Michael Rueger -- 12 June 2001 Adds a workaround to the flash reader until reading flash files with multiple jpegs is fixed." 4152flashHolder-mir -- Michael Rueger -- 12 June 2001 Adds the ability to FlashPlayerMorph to act as an eToy scriptable holder." 4153jpegWorkaround2-mir -- Michael Rueger -- 13 June 2001 Adds another workaround to the JPEG reader for Flash weirdnesses." 4154flashHolder2-mir -- Michael Rueger -- 13 June 2001 Fixes some problems with the first version of the flash holder: - rendered images are no longer added to the player's costume list - the player's scaling and rotation now works" 4155partsBin-sw -- Scott Wallace -- 14 June 2001 Provides a simple new basis for parts-bin functionality, and redefines the default flaps in the system to use it. Icons in these new parts bins have labels and balloon help, and the new morphs launched by each are formulated dynamically, which makes for quite a savings in space consumption of the default flaps, and obviates the need to rejimmie the default flaps when a preference such as #optionalButtons is toggled. The parts bins can be readily added to (just use dNd) and deleted from (use the dismiss box in an element's halo). Some recourse is added for the problem of people expecting to use a parts bin by *clicking* on items rather than by 'tearing off copies' using a drag gesture: Items that have just come from a parts bin are now not accepted for drop into a parts bin. And if a drop of an item torn off from a parts bin would leave the newborn partially off-screen, it is forced to be fully visible after the drop. Another standard default flap, 'Widgets', is added, with quite a few handy items. The Tools flap has a number of additions (e.g. Transcript, Preferences, Process browser, Recent-Submissions brower) The actual choice of 'Standard' flaps, flap names, flap colors, flap locations, flap contents, are all just works in progress. Mechanisms now exist to make it much easier to define different contents for these or other parts-donor flaps." 4156eventRecorderHelp-raa -- Bob Arning -- 14 June 2001 Add some balloon help to the EventRecorderMorph - especially to remind user about ESC key." 4157emptyListFix-bfRAA -- Bert Freudenberg -- 17 April 2001 Fixes a walkback when using cursor keys in an empty list." 4158twoFixes-sgeRAA -- Steve Elkins -- 16 April 2001 To see the minor problems these changes correct, evaluate , choose 'explore morph' from the debug menu of Time Profile window, and outline expand the root's model. The resulting walkback uncovers 2 bugs. One is that ObjectExplorerWrapper>>asString lets exceptions through. The other is that MessageTally>>printOn: fails after MessageTally>>close has been sent to an instance. One tweak makes ObjectExplorerWrapper>>asString behave somewhat like Inspector>>selectionPrintString and the other prevents walkbacks in MessageTally>>printOn:." 4159oldInnerWorlds-raa -- Bob Arning -- 18 June 2001 Since the old inner world (world-in-a-window) has not kept pace with recent developments, remove its item in the world/open menu to avoid temptation." 4160chgListAnnotTweak-sw -- Scott Wallace -- 18 June 2001 When a method in a ChangeList browser has no in-image counterpart, make the annotation reflect that more directly." 4161chgListFix-sw -- Scott Wallace -- 20 June 2001 Fixes a long-standing bug in morphic change-list handling, whereby a list selection that starts with a mouse down in the list-pane but not *over* any actual item would drop you into a debugger. Instead, the right thing is now done -- the selection status of the first actual item dragged over will determine whether this gesture will select or deselect items." 4162methodBalloonHelp-sw -- Scott Wallace -- 20 June 2001 Backs off from an earlier flawed design for putting up balloon help for arbitrary selectors in viewers. The revised mechanism is very much less error-prone. Bulletproofs Behavior>>firstPrecodeCommentFor: against the case where the class does not in fact implement the method -- a situation that sometimes does arise in the current design." 4163viewMorphDirectly-sw -- Scott Wallace -- 20 June 2001 Adds a command in the menu of the viewer that is looking at a morph/player to view the morph itself directly, i.e. without the mediation of the player." 4164deleteableProjects-di -- Dan Ingalls -- 6 June 2001 Make it possible to expunge a project from a projectViewMorph, and updates the removal effected by closing a project view window. Also fixes a bug in changeSorters opened before the addition of categories. Also fixes a bug in MVC related to the recent addition of MethodReferences. From spair at advantive.com Tue Jun 12 18:28:29 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:12:08 2012 Subject: [BUG] two different ways to handle assert: In-Reply-To: <001b01c0f37d$726ef5f0$811157a5@ws2kpablo> Message-ID: It's not good to implement Boolean>>value just so that it can be passed to #assert:. I would avoid diluting the Boolean protocol (especially with the message #value) just for the sake of avoiding a larger amount of work...better to make things work right than hack around the problem (IMO). I suppose that you want to pass a block to #assert: so that you can implement a mechanism to turn on and off assertions, correct? If this is this case, the protocol had better be well defined, otherwise, people could make assertions with behavior that is critical to the working of a method...then when assertions are turned off...boom...code breaks. What if #assert were defined for any object to mean: "does this object exist in a consistent state?" The method #assert: would redispatch #assert to its argument providing that assertions are enabled. Overriding #assert: would be done when the normal response to an assertion failure needs to be customized. Overriding #assert would be done in cases where you wanted to redefine what it means to be "in a consistent state" for a given class of objects. Here's some example code: ----- Object>>assert: aBlockOrBool Preferences assertionsEnabled ifTrue: [ aBlock assert ifFalse: [ ^self throwAssertionError ]. ]. ----- Object>>assert ^true ----- True>>assert ^self ----- False>>assert ^self ----- BlockContext>>assert self value assert ----- Person>>assert ^self ageInDays == (Date today - self birthDate) ----- This code would allow all of: self assert: [ 1 = 1 ]. self assert: (1 = 1). self assert: aPerson. The False singleton would always be considered "in an inconsistent state." Perhaps to avoid confustion, a different selector could be used for #assert (i.e. #isConsistent). - Stephen > -----Original Message----- > From: Pablo Murias [mailto:p.murias@mercapsoftware.com] > Sent: Tuesday, June 12, 2001 4:23 PM > To: squeak@cs.uiuc.edu > Subject: Re: [BUG] two different ways to handle assert: > > > I think that we must have only one way of handle #assert:. > If you implement #assert: assuming that the argument is a block that > evaluates to a boolean, or an object that understand value and answer a > boolean (this is the reason to implement Boolean>value), then you > don't have > to rewrite the senders of #assert:, only the implementors. > > cheers, Pablo > > > > ----- Original Message ----- > From: "Daniel V. Oppenheim" > To: > Sent: Tuesday, June 12, 2001 8:24 AM > Subject: Re: [BUG] two different ways to handle assert: > > > > Pablo > > > > The problem is that the system has two different implementations -- one > > expects a block as argument, the other a boolean. This is not good. > > > > Danny > > > > At 11:09 AM 6/12/01 -0700, you wrote: > > >You can expect allways a block, and implement > > > > > >Boolean>>value > > > ^self > > > > > > > > >By the way, this is my first message to the list and I must say thanks > for > > >Squeak to the people that made it and to all the people that works to > make > > >it better > > > > > >Pablo > > > > > > > > >----- Original Message ----- > > >From: "Daniel V. Oppenheim" > > >To: "Squeak Mailing List" > > >Sent: Monday, June 11, 2001 1:26 PM > > >Subject: [BUG] two different ways to handle assert: > > > > > > > > > > The system handles in two different ways: Object expects a > Block > > > > as argument, whereas all other 3 classes expect a Boolean. > This is not > a > > > > good idea... However, there are only 39 senders so its an easy fix; > > > > slightly complicated with the implementation of in > BlockContext, > > > > but that only has 7 senders. > > > > > > > > I think aBoolean makes more sense than aBlock as argument. > > > > > > > > Since I need to fix this anyhow in order to file in my own > code I will > be > > > > happy to make the change, update all system methods, and > send the fix > > >in -- > > > > but being new to the squeak-fix process please let me know > what is the > > > > preferred way of handling this. > > > > > > > > Thanks > > > > > > > > Danny Oppenheim > > > > --- > > > > > > > > Dr. Daniel V. > > > > Oppenheim > > > > > > > > Computer Music Center > > > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > > > > > > > > --- > > > > Dr. Daniel V. > > Oppenheim > > > > Computer Music Center > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > From jhinsley at telinco.co.uk Sat Jun 30 17:10:59 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:12:09 2012 Subject: BankAccount Tutorial References: <200106301532.IAA02236@harrier.mail.pas.earthlink.net> Message-ID: <3B3E0823.E9D79807@telinco.co.uk> doug way wrote: > Anyway, you can always keep your 2.8 and 3.0 versions of Squeak in > separate directories, so that you don't intermingle changesets that > belong to one or the other. Yes, so I delete the squeak in /usr/local/bin (or wherever) create 2 directories (Squeak_3.1) and (Squeak_2.8) and plonk all the stuff relevant to each in each and call them "from" their own directories. I can probably find an icon to represent "old" Squeak and "new" Squeak too. That all makes sense (must remember not to do "make install"!). But I'll see how the code gets on with 3.1 first. ;-) Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From roel.wuyts at iam.unibe.ch Sat Jun 2 18:00:54 2001 From: roel.wuyts at iam.unibe.ch (Roel Wuyts) Date: Sat Jan 28 04:12:09 2012 Subject: [EXPERIMENTAL!][ENH] HintingBrowser 0.2 In-Reply-To: <200106021621.TAA27842@mailgw1.netvision.net.il> Message-ID: On 02/06/01 17:27, "danielv@netvision.net.il" wrote: > Stephane Ducasse wrote: >> What could be interesting to add is: >> - abstract methods > Done. Wasn't sure whether methods that call #shouldNotImplement also > count as abstract. What do you think? Well, no, as the intention is not that subclasses should override this to implement the behavior, quite the contrary. ShouldNotImplement is used for 'cancellation': 'removing' unwanted behavior inherited from superclasses. Maybe this is another category. >> - extends (overide + call super) > It now says SU if the method calls upon super. This raises two issues - > 1. For the other indications, if you get them you don't need to know the > methods complexity. Should one get things like SU3 for a complex, super > calling method? > 2. SU isn't exactly like extends, because some methods call super > differentMethod. Is this an important distinction? Yes. Methods with a selector foo: that in their implementation call do a super call to another method then foo: are considered very bad and could lead to hard-to-track bugs. I normally call this is a 'bad super send', and show it differently from regular super sends. >> - override without super call >> - delegate > define delegate... (same parameters? same name? or just only a single > send? does it have to return the result of the delegation?) > > BTW, you have better ideas about how to display these things? I think > the single-letter-flag idea is past it's usefulness ;-) Yes, it quickly does, does it ? I never found a good intuitive way of doing it... Icons are also not very practical. Maybe letters or icons in combinations with tooltips ? That way you can hover over an icon/flag and get more info ? From noel at devtech.com Fri Jun 22 00:21:38 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:12:17 2012 Subject: StrongARM JIT? In-Reply-To: Message-ID: >> Anyone care to do a StrongARM JIT? >Yes indeed - just as soon as the license is less offensive. License? To author a JIT? What kind of license? Please explain. :-) --- Noel From hirzel at spw.unizh.ch Fri Jun 22 21:24:30 2001 From: hirzel at spw.unizh.ch (Hannes Hirzel) Date: Sat Jan 28 04:12:21 2012 Subject: Contest! In-Reply-To: <0106211648210E.06042@ned.bike-nomad.com> Message-ID: Hi Ned , On Thu, 21 Jun 2001, Ned Konz wrote: > On Thursday 21 June 2001 14:24, Hannes Hirzel wrote: > > > you say it wasn't easy for you to understand the class Morph (obvious if > > it has 1000 methods - imagine a C program with 1000 functions). > > There's a difference in those examples. A C program with 1000 functions is > probably using all of them. The methods in Morph are often not used by > anything in the image; they're there to make it easy for programmers. This is > a difference between an application and a framework. > > [later] well, I was going to say that, but it appears that only 63 of the > selectors in Morph aren't called in my image. > > (Smalltalk allUnSentMessagesIn: (Morph selectors)) size > > Still, many of these are probably only called from within Morph. > > Also, there's nothing that says you have to know about all these 1000 methods > to make a Morph work. > > Some of these categories don't even need to be looked at, generally -- eToy > support, genie, geometry eToy, pen, scripting, player*, etc. include hundreds > of methods, and I have never used one of them as far as I know. > > There are also a lot of methods for Morph structure traversal; you see a lot > of the Collection sorts of methods being duplicated in Morph. (see the > structure and submorphs* categories). > > Also, many of the Morph methods exist mostly so they can be called from the > menus. > > > Could you give some examples of the things you found most difficult to > > understand? > > The rather involved event handling chain was tricky. After Andreas changed > it, it was somewhat nicer, but can still be hard to follow, especially if > you're trying to do something out of the ordinary. > > Making non-standard event handlers (see Morph>>processEventUsing and > MorphicEventDispatcher) can be hard to get right or to follow. > > veryDeep copying took some learning to get right, especially since I have > Morphs that have references to other Morphs that aren't submorphs. > > There is a lot of interaction with the Hand (you should probably add the > HandMorph methods and the PasteUpMorph methods if you're trying to get a feel > for Morphic complexity). > > Transformations, especially nested ones, can be hard to debug. And you have > to make sure that you do them right if you're writing event handlers that > use world coordinates. > > This also applies to nested PasteUpMorphs with separate transforms. > > The combined operation of the ParagraphEditor, CharacterScanner, and > PluggableTextMorph are, um, a bit intricate. > > > Do you have any suggestions for refactoring? > > It all depends on what a Morph is supposed to be able to do. Note that one of > the reasons that Morph got bigger was that specific functionality got moved > into it: > > * any morph can be a button (not just *Button*Morph classes) > * any morph now knows how to do fancy layout (not just AlignmentMorph) > * any morph can be dropped into a piano roll > * morphs know how to print themselves > * morphs have an extendable set of halos > > etc. There's a lot of functionality that *any* morph possesses that would be > hard or inefficient to reorganize. Some of this has already been done (like > with layout policy objects). > > One of the things I'd like to see is a refactoring of the menu code; rather > than hard-wired menus, I'd like to see a menu repository that could be edited. > > But I'm not sure that making a Morph class has to be all that terrifying. > Like any other framework, you need to get over the idea that you should (or > can) understand it all before you use it. > > -- > Ned Konz > currently: Stanwood, WA > email: ned@bike-nomad.com > homepage: http://bike-nomad.com > Thank you Ned, for your reply. It is helpful to see how somebody who did a considerable add-in to Morphic perceives this. Your response motivated me to come up with the calculation belowe. "Squeak 3.1-3910" "Build Collection of all the Morph method selectors" (s _ Morph selectors asSortedCollection) inspect "How many methods has class Morph?" s size 970 "Build collection of method selectors which are defined within class Morph but the methods are sent from outside: Go through s and look generate a list of senders for each selector. Then check this list if there is a least one sender from the outside of class Morph and keep this selector. The following calulation needs a long time." calledFromOutSide _ ((s select: [ :sel | ((Smalltalk allCallsOn: sel) detect: [ :eachMethod | (eachMethod asString findTokens: ' ') first asSymbol ~= #Morph] ifNone: [ nil]) notNil]) asSortedCollection) inspect "How many?" calledFromOutSide size 710 Is this calculation correct? Actually 710 methods of class Morph seem to be called from other classes (including subclasses of Morph). This actually means that 970 - 710 = 260 methods are private to class Morph. But 710 methods is still an enormously heigh number. Every book on OO design I have in my library strongly discourages this. I think the next interesting thing could be to count how many methods are defined in class Morph but actually only called from a subclass. This would give the number of methods which could be moved into subclasses. This seems to me to be much more difficult to calculate. The next thing would be to come up with a script which automatically moves these methods to an appropriate subclass. What do you think about this? Regards Hannes From music at watson.ibm.com Tue Jun 12 16:57:05 2001 From: music at watson.ibm.com (Daniel V. Oppenheim) Date: Sat Jan 28 04:12:25 2012 Subject: [BUG] two different ways to handle assert: In-Reply-To: <001b01c0f37d$726ef5f0$811157a5@ws2kpablo> References: <4.3.2.7.2.20010611161149.02956900@fusion.watson.ibm.com> <4.3.2.7.2.20010612112333.02aaaa10@fusion.watson.ibm.com> Message-ID: <4.3.2.7.2.20010612125535.00ddea00@fusion.watson.ibm.com> Thanks Pablo! I clean forgot that returns self. So both implementations work the same both for booleans and block arguemnts, so long the blocks return a boolean when evaluated. Danny At 01:22 PM 6/12/01 -0700, you wrote: >I think that we must have only one way of handle #assert:. >If you implement #assert: assuming that the argument is a block that >evaluates to a boolean, or an object that understand value and answer a >boolean (this is the reason to implement Boolean>value), then you don't have >to rewrite the senders of #assert:, only the implementors. > >cheers, Pablo > > > >----- Original Message ----- >From: "Daniel V. Oppenheim" >To: >Sent: Tuesday, June 12, 2001 8:24 AM >Subject: Re: [BUG] two different ways to handle assert: > > > > Pablo > > > > The problem is that the system has two different implementations -- one > > expects a block as argument, the other a boolean. This is not good. > > > > Danny > > > > At 11:09 AM 6/12/01 -0700, you wrote: > > >You can expect allways a block, and implement > > > > > >Boolean>>value > > > ^self > > > > > > > > >By the way, this is my first message to the list and I must say thanks >for > > >Squeak to the people that made it and to all the people that works to >make > > >it better > > > > > >Pablo > > > > > > > > >----- Original Message ----- > > >From: "Daniel V. Oppenheim" > > >To: "Squeak Mailing List" > > >Sent: Monday, June 11, 2001 1:26 PM > > >Subject: [BUG] two different ways to handle assert: > > > > > > > > > > The system handles in two different ways: Object expects a >Block > > > > as argument, whereas all other 3 classes expect a Boolean. This is not >a > > > > good idea... However, there are only 39 senders so its an easy fix; > > > > slightly complicated with the implementation of in >BlockContext, > > > > but that only has 7 senders. > > > > > > > > I think aBoolean makes more sense than aBlock as argument. > > > > > > > > Since I need to fix this anyhow in order to file in my own code I will >be > > > > happy to make the change, update all system methods, and send the fix > > >in -- > > > > but being new to the squeak-fix process please let me know what is the > > > > preferred way of handling this. > > > > > > > > Thanks > > > > > > > > Danny Oppenheim > > > > --- > > > > > > > > Dr. Daniel V. > > > > Oppenheim > > > > > > > > Computer Music Center > > > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > > > > > > > > --- > > > > Dr. Daniel V. > > Oppenheim > > > > Computer Music Center > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > --- Dr. Daniel V. Oppenheim Computer Music Center IBM T.J. Watson Research Center phone: (914) 945-1989 P. O. Box 218 (or Route 134) fax: (914) 945-3434 Yorktown Heights, NY 10598 www.research.ibm.com/music From karl.ramberg at chello.se Wed Jun 20 17:50:07 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:12:28 2012 Subject: documentation requests? References: Message-ID: <3B30E24F.B7A9A980@chello.se> Please forgive a dumb newbie question, but what is the 'shift' menu? I tried the yellow-button menu but can't find a menu item title 'class comments with it'. R. It's a shortcut for the 'more...' menu option. Just hold down shift and yellowbutton. Karl From Dan at SqueakLand.org Sun Jun 24 04:51:59 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:12:39 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] In-Reply-To: <3B355BAE.1EEDC32E@telinco.co.uk> References: <3B355BAE.1EEDC32E@telinco.co.uk> Message-ID: > > I have just forwarded 80 updates from the last month to the servers for 3.1 alpha. These include various features and fixes in just about every corner of the system. The inconsistent ordering has been fixed, so downloading should work with no problem. > >Mmmmm. Trying to update from 4081 I get the first 4 or 5 changesets >without problem, then just the hourglass for approx 5 minutes (at which >point I recon something's broke and crash myself out of Squeak). Well, Hmm back. I did run through the entire set after posting (and over a somewhat flaky connection at that), and all seemed fine. That's how I printed the summaries. So I am hoping a couple of other people will confirm that it *can* work. Then all we have to do is figure out the problem on your end. >I can't get a squeak from the European server. Hmm again. Can some European folks answer what's up there? >This at 0400 BST (when more or less everyone in North America is tucked >up in bed). On the contrary, that's so early that it's still only late here. (Feed that into your natural language understanding program ;-). - Dan -- From John.Maloney at disney.com Fri Jun 1 14:50:48 2001 From: John.Maloney at disney.com (John.Maloney@disney.com) Date: Sat Jan 28 04:12:44 2012 Subject: [BUG] VM Crash In-Reply-To: Message-ID: Dave, Try turning off the preference "stopSoundWhenDone". It sounds as though there may be a bug in the sound player primitive that causes it to fail on startup some of the time. Changing the preference should keep the sound player running continuously rather than turning it off when no sound is playing. Let me know if this solves the problem. If so, it will help us find the bug in the sound startup primitive. -- John At 1:17 PM -0400 5/31/01, David N. Smith \(IBM\) wrote: >The Windows VM crashes for me now and then when playing MIDI on 3.0. The screen shows: > > Sorry but the VM has crashed. > > Exception code: C0000005 > Exception address: 4B435553 > Current byte code: 144 > Primitive index: 117 > >Virtually the same thing happens at other times, always on a key down, and always after other notes have been successfully played. I cannot reproduce it on demand; it just happens. > >Anyone have any ideas? > >Dave >Content-Id: >Content-Type: multipart/appledouble; boundary="============_-1220793046==_D============" > > >Content-Type: application/applefile; name="%DNS_CRASH.DMP" >Content-Disposition: attachment; filename="%DNS_CRASH.DMP" > ; modification-date="Thu, 31 May 2001 13:06:14 -0400" > >Attachment converted: Sackbut:DNS CRASH.DMP (TEXT/dosa) (0000DD58) >The attachment contained extra information, map: 8 From deeplowsoftware at oreka.com Fri Jun 22 16:33:02 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:13:15 2012 Subject: No subject Message-ID: <200106221536.RAA16027@mailhub5.isdnet.net> Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From DiegoGomezDeck at ConsultAr.com Fri Jun 29 14:38:53 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:13:18 2012 Subject: Philosophical questions about collections Message-ID: <200106291038.AA96534924@mail.consultar.com> >Diego, > >On Fri, 29 Jun 2001 09:51:00 -0300 Diego Gomez Deck wrote: >>I can't find the correct way to think about #= message for collections... > >You are not alone in this feeling. ;-) > >>For example, Dictionary use Set>>= that ignores keys. >> >>Bag, has not implemented the message. >> >>All the SequenceableCollection family seems to be good (IMHO). >> >>There exists a message that compares the elements of a collection with >>another ignoring the collection species? > >I don't think so, but you could do something like > > collection1 asSet = collection2 asSet >or > collection1 asArray = collection2 asArray > >The fact that these two options could easily produce different results suggests that there may be more than one way to think about collection equality. My inclination would be to write a method that did what I wanted in a particular situation and try to make it clear whether the order of the elements was important or not and whether duplicate elements should affect the result. Other factors, such as the precise way of comparing elements, may also be important. The other 'criteria' could be the way that the keys get compared. Example: d := Dictionary new. d at:1 put:'A'. d at:2 put:'B'. d at:3 put:'C'. {'A'. 'B'. 'C'} isEqualsTo: d > >Cheers, >Bob > Diego Gomez Deck From spair at advantive.com Mon Jun 18 23:52:37 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:13:18 2012 Subject: [BUG] inner worlds In-Reply-To: <200106181826.OAA07499@fellspt.charm.net> Message-ID: Changing the display mode to #window doesn't work so good. Apparently, windows inside the project get confused with the window containing the embedded world (making a window in the embedded world active inactivated the container window...rending the inner windows un-usable). What I've found to work pretty well is to make a "Tests" flap, and put the embedded world on it. The embedded world is sized to contain a single browser on my SUnit test classes. It's a little more convenient than jumping in and out of the project. - Stephen > -----Original Message----- > From: Bob Arning [mailto:arning@charm.net] > Sent: Monday, June 18, 2001 2:26 PM > To: spair@advantive.com; squeak@cs.uiuc.edu > Subject: Re: RE: [BUG] inner worlds > > > On Mon, 18 Jun 2001 14:00:26 -0400 "Stephen Pair" > wrote: > >It would be nice to allow scroll bars in the embedded world to > scroll around > >the desktop of the embedded world. Also, if the embedded world > is placed in > >a window, it would be nice to drop the green border automatically. > > Stephen, > > Although the current style of embedded worlds has been the main > focus, there were other styles that were tried at one time. If > you change PasteUpMorph>>embeddedProjectDisplayMode to return a > different value, you can experiment with the others, although > they may be a bit buggy. > > Cheers, > Bob > > 'From Squeak3.1alpha of 5 February 2001 [latest update: #4158] on > 18 June 2001 at 2:20:25 pm'! > > !PasteUpMorph methodsFor: 'world state' stamp: 'RAA 6/18/2001 14:13'! > embeddedProjectDisplayMode > > "#naked - the embedded project/world is just a pasteup in > the outer p/w > #window - the embedded p/w is in a system window in the outer p/w > #frame - the embedded p/w is in a green frame and clipped > #scaled - the embedded p/w is in a green frame and scaled to fit" > > ^#window > ! ! > From tim at jump.net Tue Jun 12 13:00:45 2001 From: tim at jump.net (Tim Olson) Date: Sat Jan 28 04:13:18 2012 Subject: [BUG] Flash file JPEG decoding Message-ID: <200106121300.f5CD0k615399@mail21.jump.net> I've debugged this problem a little more. Ignoring the extraneous EOI, SOI on the front, it appears to be a valid JFIF image. However, the FlashJPEGDecoder (a subclass of JPEGReadWriter) is performing the Flash tag 21 "ProcessDefineBitsJPEG2", which reads a JFIF header, parsing the JFIF markers while looking for an EOI marker (i.e. it seems to be expecting just a JFIF header with no JPEG image data following it). I'm not sure what the real purpose of ProcessDefineBitsJPEG2 is, as after it reads the JFIF header and an expected EOI, it then performs decodeNextImageFrom:, which would then process an entire JFIF image (including parsing all the header data from the stream again, in effect discarding the header data previously read). I think Andreas Raab was the person who implemented the Flash support -- Andreas, do you have any insights into what is going on in this case? -- tim From ned at bike-nomad.com Thu Jun 21 23:48:21 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:13:20 2012 Subject: Contest! In-Reply-To: References: Message-ID: <0106211648210E.06042@ned.bike-nomad.com> On Thursday 21 June 2001 14:24, Hannes Hirzel wrote: > you say it wasn't easy for you to understand the class Morph (obvious if > it has 1000 methods - imagine a C program with 1000 functions). There's a difference in those examples. A C program with 1000 functions is probably using all of them. The methods in Morph are often not used by anything in the image; they're there to make it easy for programmers. This is a difference between an application and a framework. [later] well, I was going to say that, but it appears that only 63 of the selectors in Morph aren't called in my image. (Smalltalk allUnSentMessagesIn: (Morph selectors)) size Still, many of these are probably only called from within Morph. Also, there's nothing that says you have to know about all these 1000 methods to make a Morph work. Some of these categories don't even need to be looked at, generally -- eToy support, genie, geometry eToy, pen, scripting, player*, etc. include hundreds of methods, and I have never used one of them as far as I know. There are also a lot of methods for Morph structure traversal; you see a lot of the Collection sorts of methods being duplicated in Morph. (see the structure and submorphs* categories). Also, many of the Morph methods exist mostly so they can be called from the menus. > Could you give some examples of the things you found most difficult to > understand? The rather involved event handling chain was tricky. After Andreas changed it, it was somewhat nicer, but can still be hard to follow, especially if you're trying to do something out of the ordinary. Making non-standard event handlers (see Morph>>processEventUsing and MorphicEventDispatcher) can be hard to get right or to follow. veryDeep copying took some learning to get right, especially since I have Morphs that have references to other Morphs that aren't submorphs. There is a lot of interaction with the Hand (you should probably add the HandMorph methods and the PasteUpMorph methods if you're trying to get a feel for Morphic complexity). Transformations, especially nested ones, can be hard to debug. And you have to make sure that you do them right if you're writing event handlers that use world coordinates. This also applies to nested PasteUpMorphs with separate transforms. The combined operation of the ParagraphEditor, CharacterScanner, and PluggableTextMorph are, um, a bit intricate. > Do you have any suggestions for refactoring? It all depends on what a Morph is supposed to be able to do. Note that one of the reasons that Morph got bigger was that specific functionality got moved into it: * any morph can be a button (not just *Button*Morph classes) * any morph now knows how to do fancy layout (not just AlignmentMorph) * any morph can be dropped into a piano roll * morphs know how to print themselves * morphs have an extendable set of halos etc. There's a lot of functionality that *any* morph possesses that would be hard or inefficient to reorganize. Some of this has already been done (like with layout policy objects). One of the things I'd like to see is a refactoring of the menu code; rather than hard-wired menus, I'd like to see a menu repository that could be edited. But I'm not sure that making a Morph class has to be all that terrifying. Like any other framework, you need to get over the idea that you should (or can) understand it all before you use it. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From danielv at netvision.net.il Sat Jun 2 15:27:25 2001 From: danielv at netvision.net.il (danielv@netvision.net.il) Date: Sat Jan 28 04:13:24 2012 Subject: [EXPERIMENTAL!][ENH] HintingBrowser 0.2 Message-ID: <200106021621.TAA27842@mailgw1.netvision.net.il> Stephane Ducasse wrote: > What could be interesting to add is: > - abstract methods Done. Wasn't sure whether methods that call #shouldNotImplement also count as abstract. What do you think? > - extends (overide + call super) It now says SU if the method calls upon super. This raises two issues - 1. For the other indications, if you get them you don't need to know the methods complexity. Should one get things like SU3 for a complex, super calling method? 2. SU isn't exactly like extends, because some methods call super differentMethod. Is this an important distinction? > - override without super call > - delegate define delegate... (same parameters? same name? or just only a single send? does it have to return the result of the delegation?) BTW, you have better ideas about how to display these things? I think the single-letter-flag idea is past it's usefulness ;-) > Stef Daniel from preamble: "Change Set: HintingBrowser 0.2 Date: 2 June 2001 Author: Daniel Vainsencher Experimental!! Adds hints about the contents of methods in the Browser. A - accessor S - just return self C - just return some constant P - a primitive a number - regular code, higher number mean more complicated code. Now also: ABS - the method is a subclassResponsibility SU - the method calls upon the super class This is very alpha code, much hackery, not meant for inclusion in update stream... Having gotten this clear, this code can say various things - 1. We can get some information more easily than entering the method, especially when browsing code. The info found by this version is only the trivially available, we could do more. 2. Cute icons might be better than letters 3. A smarter PluggableList would be able to get lists of things other than texts, and display each appropriately - (not like in this code by a fixed mapping) maybe by asking the list items, maybe by being configured with the right morph Factory by the application"! -------------- next part -------------- A non-text attachment was scrubbed... Name: HintingBrowser.cs.gz Type: application/octet-stream Size: 2453 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010602/dcb8c197/HintingBrowser.cs.obj From karl.ramberg at chello.se Mon Jun 25 12:51:07 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:13:25 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] References: <3B355BAE.1EEDC32E@telinco.co.uk> Message-ID: <3B3733BB.3D5458DF@chello.se> Dan Ingalls wrote: > > >Mmmmm. Trying to update from 4081 I get the first 4 or 5 changesets > >without problem, then just the hourglass for approx 5 minutes (at which > >point I recon something's broke and crash myself out of Squeak). > > > >I can't get a squeak from the European server. > > Hi, John - > > Given that we now have a fair number of successes elsewhere, you probably are having some sort of network problems. If you are interested in a work-around, it is possible to load updates in two stages: first download them to your disk by executing... > > Utilities readServerUpdatesThrough: nil > saveLocally: true > updateImage: false > > and then load them in by executing... > > Utilities applyUpdatesFromDisk > > For this to work, all the updates must be in a subdirectory named 'updates' in your working directory (the first command should do that). > > This should at least allow you to separate your file transfer problems from the process of updating your image. > > Another tactic is to execute, eg, > > Utilities readServerUpdatesThrough: 4090 > saveLocally: false > updateImage: true. > > If that completes successfully, then save your image, and execute this again through 4100, and so on until you have succeeded through the 81 updates. > > I think these suggestions must be on some SWIKI help page. > If not they should be. At http://minnow.cc.gatech.edu/squeak/24 you get at least some of this info. It should be linked to the FAQ and updated though... Karl From noel at devtech.com Mon Jun 18 04:12:35 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:13:28 2012 Subject: [BUG]Celeste in MVC broken In-Reply-To: <3B2D7E03.24EB18CE@sumeru.stanford.edu> Message-ID: >> (Amazing how nippy MVC is. I haven't used it in so long!) > Hmm, time to get some work done on making morphic a bit lethargic Making morphic letharic? Methinks it needs no help in that area; it seems to do quite a fine job of being lethargic all by itself. --- Noel From noel at devtech.com Fri Jun 22 16:08:08 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:13:32 2012 Subject: Good interfaces gone bad In-Reply-To: Message-ID: > it's natural to pop an #asFoo method into String to make converstion convenient If String>>as was taken any further than it is (and ideally a few of them should be moved), it would be a good example of a bad implementation pattern. It increases the surface area of String, coupling it to more and more classes. Instead, X>>fromString: would serve the exact same purpose, semantically represent the encapsulated behavior in the proper place, and leave the surface area of String at a minimum. For example, could one seriously suggest that "Color fromString: '#FFCCAA'" is unclear or inconvenient compared to '#FFCCAA' asColor", or that it would be worth polluting the String interface for the perceived convenience, were someone so inclined? Don't focus too much on String. String is just an example, inspired by the "it's natural" comment above, but the point is that it should not be a responsibility of String to convert itself to/from the myriad of other objects. And if something isn't an object's responsibility, it shouldn't be in the interface. And when did we get away from the notion of responsibility, anyway? --- Noel From Yoshiki.Ohshima at disney.com Mon Jun 18 16:15:56 2001 From: Yoshiki.Ohshima at disney.com (Ohshima, Yoshiki) Date: Sat Jan 28 04:13:33 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: References: <200106172005.QAA11429@blackwolf.golden.net> Message-ID: <20010618091556E.Yoshiki.Ohshima@disney.com> Hi, > There is code in the build for handling landscape mode, but it is currently > #IFDEF'd out. I haven't looked at it, but it probably > needs work. According to Craig, if you undef USE_GAPI, JS Landscape works fine. > Personally, I'd use something like NVD instead, if it is GAPI compatible > (I've sent off an e-mail inquiry, since I haven't tried it). For one thing, > the use of a keyboard and the use of landscape mode are currently > incompatible, since the Stowaway mounts the device in portrait orientation. Sorry, but what is NVD? -- Yoshiki From jhinsley at telinco.co.uk Mon Jun 18 02:09:08 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:13:39 2012 Subject: How to Pooh References: Message-ID: <3B2D62C4.BCC003A7@telinco.co.uk> Bert Freudenberg wrote: > > On Sat, 16 Jun 2001, John Hinsley wrote: > > > Incidentally, I just downloaded the pooh_20testing.004.pr which just > > loads and turns Squeak black with the latest image and changeset but > > loads fine on the older image/changeset I have on my Windows partition. > > (I'm guessing that this is due to it being built for the image built for > > the earlier changesets.) > > Probably. It might also be due to a not-yet-published buglet fix in the > B3D code if you're using OpenGL on a little endian platform. The fix is > attached. Thanks Bert: the buglet fix didn't fix Pooh in Linux, but it hasn't broken anything! It looks like I'll have to Pooh in Windows! Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From m.rueger at acm.org Fri Jun 22 15:07:44 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:13:40 2012 Subject: MIME type for Squeak project References: Message-ID: <3B335F40.CEAD53C@acm.org> Bert Freudenberg wrote: > What happened to application/x-squeak-object Squeak Object Files .sqo? I think it is a "historic" format which is no longer supported to avoid backward compatibility issues. Not that many people used it anyways... > And, do Mac/Win plugins support opening just the file? Like, if you go > to this URL? > http://isgwww.cs.uni-magdeburg.de/~bert/squeak/plugin/test/plugintest.sts Well, it launches the plugin on Win, but doesn't execute the code. Good point, I'll look into this. Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From bert at isg.cs.uni-magdeburg.de Sun Jun 17 10:10:15 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:13:43 2012 Subject: multi-threaded squeak In-Reply-To: Message-ID: On Sun, 17 Jun 2001, Daniel Parnell wrote: > G'day All, > > does the Squeak VM support threads? Yes, but they're called processes, which might be slightly confusing. Try "ProcessBrowser open" to see what processes are running in your image. The scheduling is done in Squeak to be independend of the OS. > If so, how are they used? You can fork off any block by sending it #fork. For example: [10 timesRepeat: [Transcript cr; show: 'Squeak!'. (Delay forSeconds: 1) wait] ] fork You can give a priority using #forkAt:. See classes Process and ProcessorScheduler. -- Bert From csawtell at xtra.co.nz Fri Jun 29 10:05:44 2001 From: csawtell at xtra.co.nz (Christopher Sawtell) Date: Sat Jan 28 04:13:48 2012 Subject: Icons References: <5.1.0.14.0.20010629005847.023035d8@mail.earthlink.net> Message-ID: <3B3C52F8.113953F6@xtra.co.nz> Ross Boylan wrote: > > If I want to make a little icon, what's the best way to do it? Can it be > done with the internal painting tool? > > I have a hazy recollection of seeing a recommendation to use an external > paint program and then importing the result (into one of the image or > button morphs?). I would concur with that statement. If you use unix / linux your could try the GIMP http://www.gimp.org/ or the KDE Icon editor. http://www.kde.org/ ( KDE home page. ) Photoshop for that man's apology of an o/s. > While poking around I found the forms dictionary in Scripting System. Can > anyone tell me if the code that populates it is in the system, or are we > left only with the artifact? (I found some code for a few items, but not > most). > > Any recommended sources of icons on the net? http://www.google.com/search?q=icon+library&btnG=Google+Search hundreds of them!!! There are also many very beautiful icons within the kde distribution packages but it seems that they are not separated from their program suites. What in particular are you looking for? -- Sincerely etc., NAME Christopher Sawtell CELL PHONE 021 257 4451 ICQ UIN 45863470 EMAIL csawtell @ xtra . co . nz CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz -->> Please refrain from using HTML or WORD attachments in e-mails to me <<-- From jon at huv.com Sat Jun 16 16:46:47 2001 From: jon at huv.com (Jon Hylands) Date: Sat Jan 28 04:13:59 2012 Subject: About the wonderful internet browser In-Reply-To: <3B2B1623.99CCF19E@chello.se> References: <200106151320.QAA02206@mailgw2.netvision.net.il> <3B2AF21E.41F1E1E4@chello.se> <3B2B1623.99CCF19E@chello.se> Message-ID: <783nito229tb8o4fs7oinn6h3epccv9jhv@4ax.com> On Sat, 16 Jun 2001 10:17:39 +0200, Karl Ramberg wrote: > Have you read the document at > http://209.143.91.36/super/70 Well, if there was actually a document there... :-) I don't know if the project has any documentation in it or not, I've never downloaded it. Have you looked at it? Is it useful? It would really help if there was a one-paragraph summary of what each project was, and why I would want to download it. (I know, not your job, but I'm speaking to the larger community here). Later, Jon -------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com From johnmci at smalltalkconsulting.com Sat Jun 16 21:49:12 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:14:00 2012 Subject: Squeak Plugin install problems In-Reply-To: References: Message-ID: >If someone would tell me where to find the appropriate modules and where >they need to go and any special incantations required I will be happy to >hand install the plugin. I just want a working plugin! > >Thanks! > >R. Ok, I've emailed you a copy of the plugin and instructions. We'll fix things early next week ... -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From jhinsley at telinco.co.uk Sat Jun 30 04:35:43 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:14:05 2012 Subject: GraphicsFile guru needed! References: <3B3D436B.62A57780@telinco.co.uk> <01062920534503.00791@ned.bike-nomad.com> Message-ID: <3B3D571F.7156A25A@telinco.co.uk> Thanks Ned Of course, it won't work on them all, but it does most of them very well indeed! Thanks again Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From RossBoylan at stanfordalumni.org Sat Jun 30 20:48:54 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:14:46 2012 Subject: Out of space + other flakiness In-Reply-To: <200106301350.JAA22800@fellspt.charm.net> Message-ID: <5.1.0.14.0.20010630131210.04192f00@mail.earthlink.net> At 09:50 AM 6/30/01 -0400, Bob Arning wrote: >Hi Ross, > >On Fri, 29 Jun 2001 22:32:18 -0700 Ross Boylan > wrote: > >Thanks. I think things are back under control now. So the rest of > >this is making conversation. > > > >A handy thing I found was "Smalltalk pointersTo:" to trace object > >references back. > >Also quite useful is > > PointerFinder on: > >This will trace back to Smalltalk and open a window showing >the links in the chain. Beautiful! Sounds like just what I need. Can it cope with multiple paths and loops? > >Among the oddities encountered: > >I frequently ended up with two squeak processes running when it hung. > >I was a bit surprised to find it launching separate processes. > >Which OS is this? Debian GNU/Linux, kernel 2.4.2. Mostly "woody" level packages. > >TheWorldMenu was pointing to one of the projects I hand't used much. > >Hmm.. doesn't sound like a good thing. I'll take a look at it. I thought this might be the result of some interrupted processing because of the memory problems, rather than a bug in code. E.g., I exited that project but ran out of memory before the project in TheWorldMenu was updated. Although I guess I'd expect the project to be reset every time I switched projects... > >Here's my top printSpaceAnalysis before: > >Class code space # instances inst space percent > >String 16824 69965 3482093 18.1 > >ByteArray 3192 559 3276681 17.0 > >CompiledMethod 7578 41735 2691360 14.0 > >Array 1494 48182 2288068 11.9 > >Bitmap 3277 1526 2025812 10.5 > >Symbol 3610 32939 663867 3.5 > > > >and after > > > >String 16824 68212 3365324 22.5 > >CompiledMethod 7578 41715 2690236 18.0 > >Array 1478 42607 2139148 14.3 > >Bitmap 3277 825 1784456 12.0 > >Symbol 3610 32937 663822 4.4 > >Is this a clean image or one you have added stuff to? I ask because you >have many more Strings than I The image is far from clean. >do (although not that much more in terms of space). Have you tried > > ChangeSet allInstancesDo: [:cs | cs zapHistory] Just did it. I now see Smalltalk bytesLeftString '4,284,616 bytes (internal) 193,700,040 bytes (physical) 523,161,800 bytes (total) ' Before I got '5,245,932 bytes available' However, I'm now on Win32 and the "before" is Debian. I can't tell if this is progress. Based on the total space use from printSpaceAnalysis, I gained almost 2Mg.. And here's the new report: Class code space # instances inst space percent String 16824 63818 2648056 20.3 CompiledMethod 7578 39332 2397428 18.4 Array 1478 39769 1742016 13.3 Bitmap 3277 765 1572108 12.0 Symbol 3610 32913 663370 5.1 ByteArray 3192 447 606958 4.6 ChangeRecord 1250 13593 489348 3.7 MethodDictionary 1826 3568 387532 3.0 WeakArray 711 54 346680 2.7 Total 4897893 297339 13059104 96.9 > >By far the biggest win was ByteArray, which lost over 2.6Mg of memory > >in 92 objects. What were those likely holding? bit maps (not the > >class, but something related)? > >One use of ByteArrays is to hold the compressed version of Forms which >have been hibernated. One technique I use in rooting out these mysteries >is something like: > >PointerFinder on: (ByteArray allInstances asSortedCollection: [ :a :b | a >size > b size]) first > > >I'm guessing the strings are source > >code. > >Maybe literals in methods, but the source itself is usually only found on >disk. The exceptions would be any browsers you have open, etc. Some >interesting things to inspect: > > (String allInstances collect: [ :x | x size]) asBag > > (String allInstances select: [ :x | x size > 1000]) Most of the biggest strings apppear to be C source code. I have 967 0 length strings. >Cheers, >Bob Thanks very much. From music at watson.ibm.com Tue Jun 12 15:24:22 2001 From: music at watson.ibm.com (Daniel V. Oppenheim) Date: Sat Jan 28 04:14:51 2012 Subject: [BUG] two different ways to handle assert: In-Reply-To: <002f01c0f36a$c2c90210$811157a5@ws2kpablo> References: <4.3.2.7.2.20010611161149.02956900@fusion.watson.ibm.com> Message-ID: <4.3.2.7.2.20010612112333.02aaaa10@fusion.watson.ibm.com> Pablo The problem is that the system has two different implementations -- one expects a block as argument, the other a boolean. This is not good. Danny At 11:09 AM 6/12/01 -0700, you wrote: >You can expect allways a block, and implement > >Boolean>>value > ^self > > >By the way, this is my first message to the list and I must say thanks for >Squeak to the people that made it and to all the people that works to make >it better > >Pablo > > >----- Original Message ----- >From: "Daniel V. Oppenheim" >To: "Squeak Mailing List" >Sent: Monday, June 11, 2001 1:26 PM >Subject: [BUG] two different ways to handle assert: > > > > The system handles in two different ways: Object expects a Block > > as argument, whereas all other 3 classes expect a Boolean. This is not a > > good idea... However, there are only 39 senders so its an easy fix; > > slightly complicated with the implementation of in BlockContext, > > but that only has 7 senders. > > > > I think aBoolean makes more sense than aBlock as argument. > > > > Since I need to fix this anyhow in order to file in my own code I will be > > happy to make the change, update all system methods, and send the fix >in -- > > but being new to the squeak-fix process please let me know what is the > > preferred way of handling this. > > > > Thanks > > > > Danny Oppenheim > > --- > > > > Dr. Daniel V. > > Oppenheim > > > > Computer Music Center > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > --- Dr. Daniel V. Oppenheim Computer Music Center IBM T.J. Watson Research Center phone: (914) 945-1989 P. O. Box 218 (or Route 134) fax: (914) 945-3434 Yorktown Heights, NY 10598 www.research.ibm.com/music From jk at xylema.org Sat Jun 30 20:49:51 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:15:09 2012 Subject: Supporting newish input devices In-Reply-To: References: <01063009015506.00791@ned.bike-nomad.com> Message-ID: <15166.15215.437000.915231@noontide.demon.co.uk> Thanks - I'm happy with the win32 side (already added 5 button mouse support to ntemacs). JOhn From Henrik.Gedenryd at lucs.lu.se Wed Jun 6 16:33:17 2001 From: Henrik.Gedenryd at lucs.lu.se (Henrik Gedenryd) Date: Sat Jan 28 04:15:11 2012 Subject: CAS and Squeak In-Reply-To: Message-ID: I enjoyed your explanation, I could sort of guess to some % of certainty what you meant with MGP, by trying to blend the idea of metaclasses with that of genotype/phenotype, but I couldn't be sure I had blended it correctly. Now I think my interpretation was valid that in MGP phenotype corresponds to instance and genotype to class. > For implementing adaptive systems > with a complexity like that above(including GAs), MGP is very useful. And in that context I believe it becomes more concrete and therefore easier to understand as well. I can also picture how MGP becomes useful in that context, while almost seeming absurd in its hyper-abstractness if presented without a useful application. I would then assume that Whole Value in this context is about reifying the apparently abstract concept of phenotype, for example. Consider yourself encouraged to keep this coming! regards, Henrik From jecel at merlintec.com Mon Jun 18 21:50:40 2001 From: jecel at merlintec.com (Jecel Assumpcao Jr) Date: Sat Jan 28 04:15:12 2012 Subject: Distributed Squeak and Environments In-Reply-To: References: Message-ID: <01061817504004.00883@gandalf.merlintec.com> Anthony, this sounds like a great project! I think it is a good idea to unify objects being sent to disk and objects being sent to a peer system using image segments. While associating environments with processes is also a good idea, we only have one process for the GUI and that is a problem. It would be nice if different visual objects could live in separate environments. I could call up a system browser for the base environment, for example, and another browser for an environment including some changeset. In a system like BeOS each window would have its own process, but in Squeak they don't (as far as I know). -- Jecel From dnsmith at watson.ibm.com Wed Jun 27 18:18:57 2001 From: dnsmith at watson.ibm.com (David N. Smith (IBM)) Date: Sat Jan 28 04:15:16 2012 Subject: Jerry Archibald, 1940-2001 In-Reply-To: References: Message-ID: Rosemary: I have enquired of his daughter whether or not there is a preferred charity or other place for contributions. I'll post an answer when I get one. Dave At 21:40 -0400 6/26/01, Rosemary Michelle Simpson wrote: >Is there going to be any sort of community contribution in Jerry's name? >If so, I would like to know where to send my contribution. > >R. -- _______________________________ David N. Smith IBM T J Watson Research Center Hawthorne, NY dnsmith@watson.ibm.com From noel at devtech.com Sun Jun 24 17:06:34 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:15:26 2012 Subject: opening files In-Reply-To: <200106241522.RAA79198@mailhub1.isdnet.net> Message-ID: > We have another problem in squeak : we would like to > be able to open a file from the Squeak environment. As a general rule, you might want to browse the source code for the classes. I tend to do it in emacs, but that's because I know emacs a lot better than I know the browsing tools. In any event, if you were to search for !FileDirectory (or use the browser), you'd find the class comment telling you that the FileDirectory represents the directory: the list of files. Its responsibility is to know its own path, and to enummerate the files it contains. Next, look for !FileStream (or use the browser), and you'll find that its class comments tell you that files are typically accessed using the FileStream class. This is a typical pattern segregating responsibility for I/O from responsibility for folder behavior. --- Noel From arning at charm.net Sat Jun 30 22:40:09 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:15:28 2012 Subject: newbie question - killing a process Message-ID: <200106302240.SAA07939@fellspt.charm.net> On Sat, 30 Jun 2001 18:14:58 -0400 (EDT) Rosemary Michelle Simpson wrote: >Well, that worked on getting a consistent 15 processes. I discovered that >if I terminate a process labeled "a Process in ProcessorScheduler >class>>idleProcess" I freeze not only Squeak but my machine and >terminating a process labeled "a Process in Delay class>>DoIt" freezes >Squeak but I can still quit from the top menubar File menu. The clock is >still running. Here are the fifteen process descriptions: Well, let's see... -- these look normal and should be left alone -- >1 a Process in Delay class>>DoIt >2 a Process in WeakArray class>>DoIt >13 a Process in InputSensor>>userInterruptWatcher >14 a Process in SystemDictionary>>lowSpaceWatcher >15 a Process in ProcessorScheduler class>>idleProcess -- one or both of these are normal -- >11 a Process in Delay>>wait >12 a Process in Delay>>wait -- these are terminated processes. something is keeping them around -- >3 a Process in nil >9 a Process in nil >10 a Process in nil -- these are processes for which a debugger is open. try dismissing all open debuggers -- >4 a Process in Debugger class>>openContext:label:contents: >5 a Process in Debugger class>>openContext:label:contents: >6 a Process in Debugger class>>openContext:label:contents: >7 a Process in Debugger class>>openContext:label:contents: >8 a Process in Debugger class>>openContext:label:contents: Try doing this (again, all at once): Smalltalk garbageCollect. Process allInstances do: [ :p | PointerFinder on: p]. This will open a pinkish window for each process showing what's keeping it in the image. The processes in the third and fourth groups above are the ones you are interestd in getting rid of. Cheers, Bob From editor at squeaknews.com Mon Jun 25 19:48:59 2001 From: editor at squeaknews.com (Editor - Squeak News) Date: Sat Jan 28 04:15:29 2012 Subject: [ANN]Coming soon: SqueakNews en espanol y El Problema Squeak de Junio References: <3B379170.E84D5A45@squeaknews.com> Message-ID: <3B3795AB.81E41006@squeaknews.com> > Por favor, ... c?digo directamente a Apolog?as: el email address debe ser editor@squeaknews.com Apologies: email address should be editor@squeaknews.com > > > Tansel > Editor, Squeak News > http://www.squeaknews.com From wiebe at cosmocows.com Sun Jun 3 12:22:01 2001 From: wiebe at cosmocows.com (Wiebe Baron) Date: Sat Jan 28 04:15:30 2012 Subject: [BUG][FIX]Unstable Squeak Won't Load Modules on Macintosh In-Reply-To: <034801c0ec18$19b841d0$01000001@computer2> Message-ID: Joseph, StSq was released at this point "In the interest of getting this proto release into as many hands and minds as possible". Hands and minds means comments, complaints and fixes. Your comments on the StSq list: "We don't need more traffic. This list consists of two groups - the StSq developers (a paltry few), and the lurkers. Let's keep it this way" seem to suggest that input from anyone, including other developers, is not welcome. I don't believe that this was the intention of the Squeak World Tour. Many of the concerns expressed on this list are not unfounded. If StSq becomes the pink-plane basis of *our* Squeak, its functioning will impact us all. We're not all just looking for a free Visual Works to base our work on. Many of us share SqC's vision of the "personal computing environment". If the *real* computer revolution is going to happen with Squeak, the pink-plane is going to have to follow the blue-plane into the clouds. Now is a good time to comment. Yesterday perhaps, would have been better. Cheers, Wiebe > -----Oorspronkelijk bericht----- > Van: Andreas Kuckartz [mailto:a.kuckartz@dokom.net] > Verzonden: 03 June 2001 12:30 > Aan: squeak@cs.uiuc.edu > Onderwerp: Re: [BUG][FIX]Unstable Squeak Won't Load Modules on Macintosh > > > > Lots of complaints here. People want a preview of a work-in-progess, and > > then complain that not everything works. > > If the StSq-people are reading bug reports (and fixes) and > suggestions from > people who spent some time with StSq as complaints then it really might be > better for others not to spend time with it at all. > > Is that what you are suggesting? > > I think open source projects which are not perceptive for users reactions > are about as bad as hidden source projects. > > Andreas > > > From jdboyd at cs.millersville.edu Sat Jun 30 14:28:29 2001 From: jdboyd at cs.millersville.edu (Joshua D. Boyd) Date: Sat Jan 28 04:15:36 2012 Subject: Luna/Borg Look for Squeak ? In-Reply-To: <003d01c10123$60f2e9e0$28b97ed8@kidnapper> Message-ID: Go for the confess option. I like reading long detailed reports of subsystems. -- Joshua Boyd On Fri, 29 Jun 2001, Jim Benson wrote: > Confess. What in the world are you doing? [ The reply might be long, but > may be entertaining if you're easily amused ] > > Oh my, what in the world have you done? [ Said in the tone of a mother > scolding a bad child. This would produce a more concise, almost whimsical > tour of the Zurgle world ] > > Shut your mouth, and crawl back into your hole [ I fully expect this to be > the most popular choice ] > > Jim > > > > > From chrisn at Kronos.com Tue Jun 19 20:21:56 2001 From: chrisn at Kronos.com (Norton, Chris) Date: Sat Jan 28 04:15:36 2012 Subject: test Message-ID: <8E197B764EBFD4118D120020480E3D7549129F@exchgcc.kronos.com> I haven't gotten any Squeak mail since June 15th. Did I get dropped off of the mailing list?!? ---==> Chris From jhinsley at telinco.co.uk Sat Jun 16 01:59:12 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:15:45 2012 Subject: The text of the Reuters post Message-ID: <3B2ABD70.2ABEF85C@telinco.co.uk> Here it is as a gzipped pdf (having saved it as postscript, it would have taken years to edit out all the sidebar stuff). Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: Disney_news_article.pdf.gz Type: application/x-gzip Size: 15501 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010616/420a917c/Disney_news_article.pdf.bin From dnsmith at watson.ibm.com Fri Jun 1 14:36:37 2001 From: dnsmith at watson.ibm.com (David N. Smith (IBM)) Date: Sat Jan 28 04:15:55 2012 Subject: CAS and Squeak (emerging... ;-)) In-Reply-To: References: Message-ID: At 9:54 -0400 6/1/01, Sam Adams wrote: > Something like >that in Morphic would be way cool. Consider a little robot (or even >better, several) wandering around your desktop reassembling morphs, >copying, stealing and de/recomposing scripts. Sort of like blobmorphs with >a mission. I did, Sam, and decided it would be better on your desktop! :-) (After all, almost all variations on a genetic theme are garbage.) Dave -- _______________________________ David N. Smith IBM T J Watson Research Center Hawthorne, NY dnsmith@watson.ibm.com From arning at charm.net Sun Jun 17 15:02:53 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:15:57 2012 Subject: Bitmap accessing Message-ID: <200106171502.LAA01367@fellspt.charm.net> Karl, Bitmaps contain 32-bit integers. If the Form is 8 or 16 bits deep, then one word in the Bitmap contains the data for 4 or 2 pixels. Accessing these pixels requires shifting and masking to get the appropriate portion of the 32-bit word. Cheers, Bob On Sun, 17 Jun 2001 15:54:12 +0200 Karl Ramberg wrote: >pixels _ newImage form bits. >oldBits _ oldForm bits. >largeness _ oldBits size. >d _ oldForm depth. >1 to: largeness do:[:c| i _ oldBits at: c. > oldpixel _ Color colorFromPixelValue: i depth: d. > pixels at: c put: (oldpixel pixelValueForDepth: d)] > >It works as expected in 32 bits depth but in 16 or 8 >bits I get vertical stripes of transparency... > >Anybody know why ? From deeplowsoftware at oreka.com Mon Jun 11 10:50:59 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:16:02 2012 Subject: squeak manual Message-ID: <200106110950.LAA38162@mailhub1.isdnet.net> Hi, We're looking for a manual for squeak. Does anyone know anything aboout a complete squeak manual. Thanks in advance. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From Dan at SqueakLand.org Tue Jun 12 00:13:44 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:16:08 2012 Subject: Squeak ate my day's work! (or: how do I get my code out of an image?) In-Reply-To: References: Message-ID: >Good afternoon everyone, > >I was happily Squeaking along at work today, when the machine which shared >my image, changes, and VM file crashed. VM and image remained up and >running, but I could no longer browse code. (Message Not Understood: >isSeperator) I've had this happen before, and simply waiting for the >machine to come back up and doing a save as... and restarting right where >I left off from the newly saved image. > >Today, that didn't work. Aaron - I suggest that you fire up a healthy squeak, and execute... ChangeList browseFile: 'SickSqueak.changes'. This should let you view either the entire changes file (probably very long), or the most recent million characters, as a list of changes. You can then select what you care about, and file these out to a changes file that can be read into a healthy squeak. There may be a way to nurse your image back to health as is, but I can't glean enough info from your report to know. Hope this helps. - Dan -- From eronald at rome.polytechnique.fr Mon Jun 11 00:51:46 2001 From: eronald at rome.polytechnique.fr (Edmund Ronald) Date: Sat Jan 28 04:16:21 2012 Subject: Newbie issues In-Reply-To: Message-ID: Hi - I discovered Squeak while looking for a rapid prototyping environment for some evolutionary computation work, and would like to thank all of you for making this tool available. Now, I wonder whether there is an accepted way of enjoying the benefits of being on this list without the mailbox overflow effect ? Usually I get about 2/3 messages a day, and now my mailbox is squeak-full :) Should I make a spare account, is there a digest, what is the usual way to deal with this sort of overload from stuff one _is_ intersted in ? Also, I wondered whether the missing implementation information from the current purple book is online somewhere ? I would like a glance at it, particularly since the omitted VM underlies squeak ... Finally, I have been going through the BankAccount tutorial, and it ran fine under OS X, except that my Mac squeak hung once on save (good show, one hour to first hang on a new piece of software, no irony intended) and also something is wrong with the morphic example at the end of the tutorial, the lines below don't make the current squeak happy, something to do with the "centering:" historyMorph JJJJJJJ | bars m | JJJJJJJ bars _ history collect: [:v | Morph new extent: 5@v]. JJJJJJJ m _ AlignmentMorph newRow centering: #bottomRight. JJJJJJJ m addAllMorphs: bars. JJJJJJJ ^ m From pdfernhout at kurtz-fernhout.com Mon Jun 4 03:25:52 2001 From: pdfernhout at kurtz-fernhout.com (Paul Fernhout) Date: Sat Jan 28 04:16:28 2012 Subject: stable Squeak (Fonts) free Accuny for browser. References: <200106040124.f541Ox525725@smtp-server1.tampabay.rr.com> Message-ID: <3B1AFFC0.2904F5A6@kurtz-fernhout.com> "Andrew C. Greenberg" wrote: > Paul F., in particular, seemed to feel that the ownership needed to be > entirely clear of an Apple font heritage. Has he changed his views in > this regard? No I haven't. :-) But for me there are other more pressing issues and certainly I don't want to stand in anyone's way. On the fonts subject, I'm not inclined to tempt fate by using similar looking fonts or ones with more complex licenses or ones from Microsoft(!), but I'm not the lawyer (I acknowledge your statement on bitmaps), or the person doing the work (thanks everyone!). Making nice fonts is an art and is time consuming, and I can see why people want to go with what already works or looks nicest. I did like the much earlier suggestion (a year ago?) of having the default fonts be from X-11 which someone said were effectively completely unencumbered. However, I'm happy with a brainlessly easy way to add and remove font modules (and ensure they were completely removed) so I could just do what I felt like with fonts and font subsystems of my choice. It seems like the current processes have gotten us pretty much there. It would be great to be able to remove that fonts section from the Squeak license someday if the fonts were gone, if such were legally possible at some point, because that clause is one more tiny confusing barrier to adoption. But that's a completely different can of worms. -Paul Fernhout Kurtz-Fernhout Software ========================================================= Developers of custom software and educational simulations Creators of the Garden with Insight(TM) garden simulator http://www.kurtz-fernhout.com From Dan at SqueakLand.org Wed Jun 20 03:02:00 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:16:52 2012 Subject: documentation requests? In-Reply-To: References: Message-ID: Hi, Lex - >Some students in the Georgia Tech OO class are thinking of investigating >and documenting parts of Squeak in order to get extra credit. Here's >your chance: what would you most like someone to dig into and then write >up? Alternatively, if you've written some fantastic Squeak system, how >would you like to have someone else do the documentation? > >I suggested they might look into the new morphic layout mechanism, which >to my knowledge hasn't been documented anywhere. Actually, Andreas put a pretty good summary in a project on Bob's super swiki, back around Feb, methinks. Can't get to it right now to give you the link. But it would certainly be nice to get this into the image. Also a guide to morphic event handling. >What else might be >useful? > >Reply here, or post it yourself to: > > http://coweb.cc.gatech.edu/cs2340/1401 > > >The only constraint is that it must be something a student would have a >chance of doing.... This might be too broad a request, but I think it's time for a concerted pass over the class comments to get at least a few useful sentences about what each class does and how it works with others. Then a simple addition with a lot of leverage would be to add a 'find...' command to the browser that would search class comments for matching text, just as the current one searches for matching names. This would have allowed Benoit St-Jean to find PopUpChoiceMorph when he was looking for menu bar tools this morning. - Dan -- From dway at riskmetrics.com Fri Jun 29 15:15:41 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:16:58 2012 Subject: BankAccount Tutorial References: Message-ID: <3B3C9B9D.BA2BFAC3@riskmetrics.com> "Rev. Aaron" wrote: > > Do we all think that perhaps it is time to replace the code on that > Morphic tutorial to work with 3.0 on the Swiki itself? It seems most > newbies are using 3.0. Yes, I agree that the tutorial should be updated to work with 3.0. The tutorial itself is on squeak.org, not on a Swiki, so not just anyone can update it... perhaps whoever is in charge of squeak.org could update it. Would that be Russell? I assume it would just be a matter of pasting in the new code forwarded in Bob's message, plus maybe a note at the top indicating that the tutorial is compatible with 3.0. "Noel J. Bergman" wrote: > > > It seems most newbies are using 3.0. > > Or later. Some might, although generally newbies should be using 3.0 and not 3.1alpha (especially if they expect tutorials to work :) ). Although I suppose there are some newbies out there using 3.1alpha in order to try squeakland.org stuff. But it's still probably better to have tutorials pegged to a released version rather than a moving alpha version. - Doug Way dway@riskmetrics.com > Aaron > > > > Basically, the tutorial was written for an earlier version of Squeak, so > > > the old alignment stuff doesn't work properly now. It certainly used to, > > > so, strictly speaking, the tutorial isn't wrong. > > > > > > Someone did post a fix for it, but I can't find it and it looks like it > > > may not have made it back to the tutorial. > > > > > > I'll try and find it tomorrow or you might like to trawl through the > > > archived list at Yahoo. > > > > > > Cheers > > > > > > John > > > > > > > > > -- > > > ****************************************************************************** > > > Marx: "Why do Anarchists only drink herbal tea?" > > > Proudhon: "Because all proper tea is theft." > > > ****************************************************************************** > > From beoneel at bluewin.ch Thu Jun 28 03:10:09 2001 From: beoneel at bluewin.ch (Bruce ONeel) Date: Sat Jan 28 04:17:09 2012 Subject: New zip Message-ID: <3B2F46B0001E5B7E@mta1n.bluewin.ch> (added by postmaster@bluewin.ch) Henrik Gedenryd wrote: > I have put up a zip with the latest changes (4164). > > Henrik Thanks! Squeak3.1a-4164.zip is up on the ftp site in Squeak/3.0/unstable-testPilot. cheers bruce From karl.ramberg at chello.se Wed Jun 13 17:09:05 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:17:11 2012 Subject: a morphic tutorial in morphic References: Message-ID: <3B279E2F.1C57047B@chello.se> JArchibald@aol.com wrote: > > => 6/13/01 9:19:11 AM EDT, karl.ramberg@chello.se => > << Command + shift + click selects it directly on Mac. >> > > This is true (with appropriate translation) on Win'98: > > Alt + shift + blue-button-click brings up the Morph halo > > -- and also: > > Ctrl + shift + blue-button-click brings up the Morph menu directly. > > Is there a table somewhere of useful key combinations usable for addressing > morphic elements? Squeak Quick Reference http://minnow.cc.gatech.edu/squeak/1859 Andrew Greenberg, and was extensively revised by Andrew Black This is a good print out Karl From werdna at mucow.com Sat Jun 2 04:34:10 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:17:38 2012 Subject: Stable Squeak Isn't? In-Reply-To: <87elt31weo.fsf@jaderholm.com> Message-ID: <200106020434.f524Y9v25846@smtp-server2.tampabay.rr.com> I have had no success whatsoever using the test pilot under MacOSX. After adjusting the file properties on the "try me" image so it boots correctly, the interpreter comes up and Morphic appears to be running fine, but nothing of the StSq projects appears to be running. Attempting to load anything from the Project Browser gets a walkback. Filing in the VWDialog stuff fixes that walkback, but then I appear to need to file in other things. The basic image suffers similar problems. I bootstrap fine, but then when I try to actually load some of the projects, again I run into a walkback. Am I missing something? Is it possible the image shipped in the Macintosh wasn't at the same release level as the PC VM? From tim at jump.net Fri Jun 29 13:55:58 2001 From: tim at jump.net (Tim Olson) Date: Sat Jan 28 04:18:09 2012 Subject: Image Morphs Message-ID: <200106291355.f5TDtwk17173@mail23.jump.net> >I've been poking around the systems browser, and I've figured out how to >load a jpeg into an ImageMorph. But, how to I get access to that jpeg, >pixel by pixel (like to built a histogram of the image, for instance), and >write it back to disk? Or is the ImageMorph the wrong way to go about >this? You can get the form using: form := Form fromFileNamed: 'my_image_file.jpg'. This is a 32-bit-per-pixel form, stored as 4 8-bit color components (alpha, red, green, blue). To get the raw pixel bits: pixels := form bits. You can then do a histogram something like: redHist := Bag new. greenHist := Bag new. blueHist := Bag new. bits do: [:pel | redHist add: ((pel bitShift: -16) bitAnd: 255). greenHist add: ((pel bitShift: -8) bitAnd: 255). blueHist add: (pel bitAnd: 255)]. -- tim From bparsia at email.unc.edu Mon Jun 18 01:34:05 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:18:13 2012 Subject: [BUG]Celeste in MVC broken Message-ID: <676200326.992813645@JANEG-PC2> Just a heads up. In various version of 3.x, Celeste in MVC is quite, quite broke. The messages list is broke. Selecting a category isn't nice. Etc. etc. etc. It doesn't look like it's an enormous amount of work to fix, but I'm not going to do it (right now) :) I did see that it's been removed from the Open menu as has Scamper and the IRC client (a very good thing for the last, but I'm not as sure about Scamper). (Amazing how nippy MVC is. I haven't used it in so long!) Cheers, Bijan Parsia. From chrisn at Kronos.com Wed Jun 20 15:57:15 2001 From: chrisn at Kronos.com (Norton, Chris) Date: Sat Jan 28 04:18:14 2012 Subject: [GOODIE]MenuBarMorph - Squeak 3.1 Message-ID: <8E197B764EBFD4118D120020480E3D754912AE@exchgcc.kronos.com> Jim, Thank you! Thank you! Thank you! This is really *very* nice. I can't wait 'til I have some time to tinker with it! Cheers, ---==> Chris PS> I looked at this for 5 minutes, so this is just "from the gut" feedback. I'm wondering if your menu morph should "push down" whatever morph happens to be in it's spot? This would be good for projects or windows that may utilize this feature. Or, alternatively, there could be a roll-up button that sort of shrinks/shoots the menu out of the way if you want to grab whatever is beneath it. Looking over the example you made, I'm reminded that there is something in the default Squeak menus that has bothered me for some time -- the '...'. The New Morph menu has these slick little '>' symbols that automatically expand menus. I'm thinking that now might be a good time to use this feature on the other menus too. Just my 2 bits! From Brent.Pinkney at reuters.com Mon Jun 4 19:08:30 2001 From: Brent.Pinkney at reuters.com (Brent Pinkney) Date: Sat Jan 28 04:18:18 2012 Subject: Question about ClassDescription>>#category Message-ID: Hi, Whilst wandering through the code I discovered that the #category method does not use the instance variable in Class. ClassDesciption>># category "Answer the system organization category for the receiver." ^SystemOrganization categoryOfElement: self name However Class has an instance variable 'category', which is *mostly* nil. However the following script shows a handful of classes that do have a non-nil variable... Smalltalk allClasses select: [ :c | (c instVarNamed: 'category') notNil. ] When I tried to recompile everything without this instance variable I was notified that changes to Class required other changes to DataStream (I think) Now, 1. Does anyone know why this is so ? 2. Does anyone else care that we are not tidying up behind ourselves ? 3. Do we have a mechanism for distibuting large changes to the image ? 4. Do we have an incentive to tidying up code, especially removing redundant Classes ? More practically, is there a script for duplicating an image without this instance varisable. Or with a new one ? Thanks Brent ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. From Joern.Eyrich at brokat.com Thu Jun 21 11:37:03 2001 From: Joern.Eyrich at brokat.com (=?iso-8859-1?Q?J=F6rn?= Eyrich) Date: Sat Jan 28 04:18:31 2012 Subject: MPEG on Windows NT? References: Message-ID: <3B31DC5F.FEB389ED@brokat.com> I couldn't download the mpeg from coweb, but with "http://www.krank.dk/mpg/AlienSong.mpg", it works for me (sort of, audio and video are not properly synchronized, and playback stops just short of the end - but it doesn't crash) OS: NT4SP5 VM: Squeak 3.1 VM (alpha build 4) from May 1 2001 Plugin: don't know how to find out the version, but the File has a date of March 15 2001 (but I don't know if this is just the date I put it on my machine), size is 244736bytes, md5sum is 62ef6dd43dc97b0b9e5bd489c85a370d, and it contains this string: Mpeg3Plugin 27 October 2000 (e) HTH, Joern P.S.: HINT: It's even funnier if you watch (and listen to) it in fast forward in Quicktime Player ;-) Lex Spoon wrote: > > Thanks John, Robert, other John, and Noel -- you have really helped > narrow the problem! In fact, it seems to work for everyone but us! > Either the problem is specific to Windows NT, or there is something > goofy in our setup -- either of NT, or of Squeak. > > It would still be wonderful to hear from anyone who has specifically a > pre-Win2000 Windows NT box who can try this experiment. In the > meantime, though, I guess we're going to start recompiling various > versions of the plugin and seeing what we can come up with.... > > John Maloney writes: > > The bugs are in the original C library--which we got for free, so I'm not > > complaining. I don't think that John Macintosh introduced any of these > > bugs; they seem completely unrelated to the color conversion code that > > he worked on. > > > > Too bad about the C bugs. I've actually seen an occasional one of these > myself, in particular if your MPEG file is questionable. It sure would > be nice to have a *Squeak* MPEG reader, so that the errors can be > tracked down more easily, but like John says, we're much better off than > with no MPEG reader at all! > > -Lex -- Joern Eyrich Brokat AG Phone: +49 711 / 78844 - 125 Industriestr. 3 Fax: +49 711 / 78844 - 779 70565 Stuttgart, Germany Email: Joern.Eyrich@brokat.com From lex at cc.gatech.edu Wed Jun 6 22:37:56 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:18:37 2012 Subject: Odd interaction between Gvim and Squeak References: <3B1AF65A.6C445C59@telinco.co.uk> Message-ID: Beats me -- it works okay with emacs. (At last! Clear proof that emacs is better!!) It doesn't work at all from Squeak to Opera, however, which can be irritating. For what it's worth, XWindows cut and paste actually is pretty complicated. There is no actual clipboard, if that gives you any idea of the difficulties. It looks like some programs want a slightly different flavor of cut-and-paste than what Squeak/Unix does right now. Any XWindows hackers are heartily invited to take a look at sqXWindow.c and see if you can figure out what the problem is! Lex John Hinsley wrote: > Here's a peice of wierd behaviour I noted. AFAIK it applies only to > Squeak on *nix. > > I evaluate some code in a workspace. Rather than type it out again so I > can write it up I highlight it, do alt+c, click to another window where > Gvim lies patiently waiting and use the middle mouse button to paste it. > > But the first character invariably gets lost! So, if I've copied: > > myDictionary:= Dictionary new. > myDictionary at: 'Tunde' put: 27; at: 'Jill' put: 23; at: 'John' put: > 49. > > I get: > > yDictionary:= Dictionary new. > myDictionary at: 'Tunde' put: 27; at: 'Jill' put: 23; at: 'John' put: > 49. > > Now, I only get this in Gvim (Netscape doesn't loose anything, for > example) and I only get it in Gvim when I'm copying and pasting from > Squeak. > > Any ideas? > > Cheers > > John > -- > ****************************************************************************** > Marx: "Why do Anarchists only drink herbal tea?" > Proudhon: "Because all proper tea is theft." > ****************************************************************************** From karl.ramberg at chello.se Fri Jun 29 17:05:57 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:18:44 2012 Subject: Fwd: BankAccount Tutorial References: Message-ID: <3B3CB575.242A5F53@chello.se> Dan Ingalls wrote: > 3. This did not find anything I hoped for (users of a new centering message), except that it located the wonderfully revealing method, > convertOldAlignmentsNov2000: varDict using: smartRefStrm > which makes it quite clear that the old #centering: message has been replaced by a new #wrapCentering: message. I seen this method and have a few questions: Will this method convert old code, and if can how do I use it ? And a hookup to the FileList would be cool then... Karl From johnmci at smalltalkconsulting.com Tue Jun 5 00:47:01 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:18:44 2012 Subject: Collection squared but what about fractions. In-Reply-To: References: <000101c0ed51$d35a0580$4f0c10ce@rd.wdi.disney.com> Message-ID: > >>>>> "Andreas" == Andreas Raab writes: > >Andreas> John, >Andreas> How about making a little tweak in Fraction along the lines of: > >Fraction> * aNumber >Andreas> self == aNumber ifTrue:[ >Andreas> "special case for squaring fractions" >Andreas> ^self squared] >Andreas> "...." > >Andreas> This might even help in some other cases (note that the >above uses #== to >Andreas> prevent doing a full comparison in case of a non-fractional >argument). > >Does that actually make sense? Are all 1/2's identical? I can see >using "=", but not "==". > >Just tested: > >(1/2) == (1/2) false >(1/2) = (1/2) true > >So, nope, that true branch would most likely never get triggered. Ah, you need to step back and look at the squared in Collection, that uses each * each so each == each. Evaluating (1/2) == (1/2) is false because of the way the compiler builds/treats the (1/2). In VisualAge it would be true because it's compiler (in 3.x) would treat the two constants (1/2) as the same object. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From rsussan at yahoo.com Thu Jun 7 19:45:15 2001 From: rsussan at yahoo.com (remi sussan) Date: Sat Jan 28 04:18:52 2012 Subject: A new french column available (and newbie questions) References: <3B1F4435.A30606EF@yahoo.com> <3B1FA645.43ABF206@riskmetrics.com> Message-ID: <3B1FD9CB.FAD0FDD@yahoo.com> Doug Way wrote: > Bring up the Morphic halos and use the yellow halo to resize. (Use the "blue"/third mouse button (Alt-click or Cmd-click) to bring up the halos. For more info on the red/yellow/blue mouse button terms, see the Squeak FAQ at http://minnow.cc.gatech.edu/squeak/squeakFaq .) > > > an other question which puzzles me (forgive me, I'm really a complete > > newbie, in Squeak as in Smalltalk). Every time I try to "load" an > > external program (I use for that "FileIn selection" in the menu) I > > always obtain the same message: "missing right parenthesis", can > > somebody tell me what I am doing wrong? > > There's more info in the Squeak FAQ about how to load/file-in changesets into Squeak. (See the Goodies and Changesets item.) Thanks! Remi _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From wuyts at iam.unibe.ch Mon Jun 11 17:43:55 2001 From: wuyts at iam.unibe.ch (Roel Wuyts) Date: Sat Jan 28 04:19:02 2012 Subject: [Bug] Reading flash file In-Reply-To: Message-ID: Stef and I tried this with an 3.1 alpha image updated until fix 4081. I'll try to get any updates after that tonight (when I'm at home, where there is no proxy so the 'update code' works directly). On 11/06/01 19:36, "David N. Smith (IBM)" wrote: > Stef: > > There are some fixes that address problems like this. Look at 3948 and 3954 in > the 3.1 alpha stream. > > Dave > > > At 18:16 +0200 6/11/01, Stephane Ducasse wrote: >> hi >> >> I was used to do a demo with a flashfile available at: >> http://titan.cnds.unibe.ch:8080/SmalltalkWiki/97 >> >> look for >> >> areallycoolflash.swf >> >> I usually load the fiel and select one of the character makes it grow.... >> With 2.8 it was working really well. >> >> I tried with the 30 version (VM 6 on mac) and with the latest version on mac >> (roel is in contact with john mcIntosh). And the loading of the file is ok >> then when you select a character and try any halos the system freeses and >> often my mac too ;(. >> >> Stef > -- Roel Wuyts Software Composition Group Roel.Wuyts@iam.unibe.ch University of Bern, Switzerland Board member of the European Smalltalk User Group: www.esug.org From karl.ramberg at chello.se Sat Jun 16 05:44:00 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:19:04 2012 Subject: About the wonderful internet browser References: <200106151320.QAA02206@mailgw2.netvision.net.il> Message-ID: <3B2AF21E.41F1E1E4@chello.se> Jon Hylands wrote: > > On Fri, 15 Jun 2001 18:23:35 +0300 , danielv@netvision.net.il wrote: > > > It looks like the image is not the image on which the code grew... can > > you tell us a bit more about it's history, so we can know what to expect > > a port might entail (I realize you might not be able to tell us about > > code that was not meant for release). > > Daniel, > > There is a ton of stuff in that image that doesn't work. I took the source > code for the browser, which didn't include a lot of the support classes, > and filed it into a 2.9 image. > > The main problem with the browser as it sits now is that I basically threw > out all the original layout code to do layout in morphic, and it is > painful, given the strange ways that morphic does layout. If someone wanted > to do it right, the way to do it would be to use a constraint system for > doing the layout. Do you use the latest morphic layout framework, that appeared in 2.9alpha- 3.0 - 3.1alpha somewhere ? This framework seems flexible and powerfull but I have not fully understood it yet :-) Karl From vngalchin at yahoo.com Wed Jun 27 18:49:14 2001 From: vngalchin at yahoo.com (Galchin Vasili) Date: Sat Jan 28 04:19:09 2012 Subject: Really newbie question ... printing .cs files In-Reply-To: <200106271756.MAA07055@webapps.d.umn.edu> Message-ID: <20010627184914.88668.qmail@web12203.mail.yahoo.com> Squeak, squeak .... I want to print .cs in landscape mode to printer. There must be way to set browser so that lines will wrap (almost everybody uses very, very long lines in .cs files). So, how to set browser. Regards, Vasili __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From Yoshiki.Ohshima at disney.com Mon Jun 18 18:08:46 2001 From: Yoshiki.Ohshima at disney.com (Ohshima, Yoshiki) Date: Sat Jan 28 04:19:10 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: References: <20010618091556E.Yoshiki.Ohshima@disney.com> Message-ID: <20010618110846W.Yoshiki.Ohshima@disney.com> Hello, > > According to Craig, if you undef USE_GAPI, JS Landscape > > works fine. > > I was refering to the use of GAPI *with* landscape orientation. :-) Those > are the portions of display code I thought probably need > some work. :-) Ok. I'm way behind the technology. I'll check NVD and to see how we can use it. > How comes the next base set of code for SqueakCE, and what do you expect to > have in it (e.g., the GENIE plug-in or FFI)? I just decompress Andreas' alpha6 src tree, few second ago. I'll start editing it right after I send this email:-) Thank you for your patience. -- Yoshiki From karl.ramberg at chello.se Thu Jun 21 04:40:15 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:19:23 2012 Subject: Distributed Squeak and Environments References: <01062016240401.00883@gandalf.merlintec.com> Message-ID: <3B317A82.DA539A42@chello.se> Jecel Assumpcao Jr wrote: > > On Wednesday 20 June 2001 10:13, Anthony Hannan wrote: > > Thanks for the encouragement. > > I think this is a key step in solving Squeak's pink/blue dilemma, as I > explain below. > > > > While associating environments with processes is also a good idea, > > > we only have one process for the GUI and that is a problem. > > > > No its not, a process can change environments by doing: > > [x doSomething] valueIn: anEnvironment. > > Great! That does the trick nicely. The Us language has a special > (non-ASCII) operator for changing "viewpoints" and I had suggested that > blocks and a keyword selector would work just as well (I called mine > #asSeenBy:). > > The reason I claimed you have a solution to the problem of maitaining > compatibility while advancing in new directions is that you added a new > dimension to inheritance: > > a class doesn't have to implement stuff that is in its superclasses > > a class doesn't have to implement stuff that is in its "super > environments" > > Imagine that I have a set of classes in an environment called > Collections2.7 and the same classes in another environment called > Collections3.1 and the latter "inherit" from the former. With some > care, I would be able to run the very latest stuff and still run old > things knowing for sure that they won't break. Stable and advanced at > the same time. Hans Martin Mosner has been working on a system called Collage that would do some of this. http://minnow.cc.gatech.edu/squeak/745 Karl > > The image would not be that much larger than what we have currently > since Collections3.1 only has to include what Collections2.7 does not. > The changes files gives us a good idea of how much bloat we would have. > > -- Jecel From kgf at golden.net Thu Jun 28 11:17:23 2001 From: kgf at golden.net (Kevin Fisher) Date: Sat Jan 28 04:19:24 2012 Subject: A problem with startUp messages In-Reply-To: Message from Bob Arning of "Thu, 28 Jun 2001 00:27:05 EDT." <200106280427.AAA17498@fellspt.charm.net> Message-ID: <200106281117.HAA14734@blackwolf.golden.net> This could then explain some oddness I'm seeing with text selections in Genie as well. I'm using the stock UNIX VM from the ftp site...I'm assuming that it is lagging significantly behind the patches that have been flying around this list the past several months. Can this be rectified by generating a new interp.c, or is there a patch on the sqfixes archive? > Kevin, > > This is a due to a VM which does not have the latest exception handling code. If you can't easily get a suitable VM, you can work around this problem by changing > > file _ [fd readOnlyFileNamed: keysFileName] > on: FileDoesNotExistException do:[:ex| nil]. > > to > > file _ [fd readOnlyFileNamed: keysFileName] > on: FileDoesNotExistException do:[:ex| ex resume: nil]. > > Cheers, > Bob > > On Wed, 27 Jun 2001 22:06:46 -0400 Kevin Fisher wrote: > >To follow up a bit on this: I've tracked things down a bit further. The > >method that is hanging is SecurityManager>>loadSecurityKeys. > > > >It is hanging at this point: > >.. > >.. > >file _ [fd readOnlyFileNamed: keysFileName] > > on: FileDoesNotExistException do:[:ex| nil]. > > > >file ifNil:[ ^self]. "no keys file" > > > >.. > >.. > > > >For some reason, during the start up of the image, the return from this method > >seems to deadlock..the rest of SecurityManager>>startUp never gets run. > > > >Again, if you run the startUp manually after the image has started, it works > >just fine... From RossBoylan at stanfordalumni.org Sat Jun 30 05:32:18 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:19:29 2012 Subject: Out of space + other flakiness In-Reply-To: <200106300157.VAA27620@fellspt.charm.net> References: <200106300157.VAA27620@fellspt.charm.net> Message-ID: <20010629223218.G7776@wheat.boylan.org> Thanks. I think things are back under control now. So the rest of this is making conversation. A handy thing I found was "Smalltalk pointersTo:" to trace object references back. I killed almost all the projects, most of which were not reachable through clicking on navigator windows. (They did show on the menu). I now have 5 Mg free (which still seems kind of small), and the image saves to a 14Mg file. This included killing the Intro to Squeak project and its subprojects. I thought the current VMs could grow as needed. I'm surprised to see that it apparently can't. Among the oddities encountered: I frequently ended up with two squeak processes running when it hung. I was a bit surprised to find it launching separate processes. TheWorldMenu was pointing to one of the projects I hand't used much. I got into some very weird debugger states, where it apparently switched the identifiers of variables. The code ran OK when not in the debugger. While inspecting the results of Project allInstances I entered the following in the bottom pane: #(2 11 12 13 14) do: [:i | |aProject| Transcript show: i printString; tab. aProject _ self at: i. self halt. Transcript show: aProject printString; cr. ProjectHistory forget: aProject. Project deletingProject: aProject.]. When I looked in the debugger, i contained a project, and aProject had the number 2 in it--the reverse of what should have been. The code also acted this way--when I went forward I got errors because objects weren't the right types. When I removed the halt, the sensible values came out on the transcript, and the most of the requested deletions did occur. Some object sizing below. On Fri, Jun 29, 2001 at 09:57:33PM -0400, Bob Arning wrote: > On Fri, 29 Jun 2001 16:13:41 -0700 Ross Boylan wrote: > >I've hunted around for tools > >or convenience methods that would give me a more complete picture of > >object memory--all I have now is the # free bytes ( '1,148,708 bytes > >available'). I'd like to know how much memory it thinks its using, > >the amount each class's instances are taking and such. > > Ross, > > Try > > Smalltalk spaceTallyTo: 'somefile.txt'. > or > Smalltalk printSpaceAnalysis: 1000 on: 'STspace.text0'. > > BTW, 1.1 meg free is not a lot. > > Cheers, > Bob Here's my top printSpaceAnalysis before: Class code space # instances inst space percent String 16824 69965 3482093 18.1 ByteArray 3192 559 3276681 17.0 CompiledMethod 7578 41735 2691360 14.0 Array 1494 48182 2288068 11.9 Bitmap 3277 1526 2025812 10.5 Symbol 3610 32939 663867 3.5 and after String 16824 68212 3365324 22.5 CompiledMethod 7578 41715 2690236 18.0 Array 1478 42607 2139148 14.3 Bitmap 3277 825 1784456 12.0 Symbol 3610 32937 663822 4.4 By far the biggest win was ByteArray, which lost over 2.6Mg of memory in 92 objects. What were those likely holding? bit maps (not the class, but something related)? I'm guessing the strings are source code. I also almost halved the number of Points and Rectangles. From pdfernhout at kurtz-fernhout.com Sat Jun 23 15:41:51 2001 From: pdfernhout at kurtz-fernhout.com (Paul Fernhout) Date: Sat Jan 28 04:19:30 2012 Subject: Hardware & Software improvements (was: historical note) References: <200106221432.f5MEWR202882@mail22.jump.net> Message-ID: <3B34B8BF.9D0F2FE5@kurtz-fernhout.com> Tim Olson wrote: > Bob Jarvis wrote: >> I'd like to ask two related questions: >>Why and how does hardware get faster? > Hardware (specifically, the microprocessor) has achieved a factor of > roughly 500x performance improvement over the past 20 years. By far the > largest factor in this is raw clock frequency, going from ~16MHz to > greater than 1GHz (60x). Most of this is directly due to process > improvements ("process" here means the feature size and series of steps > used in fabricating devices on the silicon wafer). > > As more and more transistors were able to be packed into the same area, > due to the same process improvements that gave us higher frequencies, > microarchitectural improvements were able to achieve another factor of > 10x. These improvements, such as pipelining, superscalar and speculative > execution, exploit various levels of parallelism, and trade off increased > die area for decreased time. Larger caches also exploit spatial and > temporal locality found in almost all code. Tim- Not to quibble with the thrust of your argument, but I see more like a 10,000x to 100,000x speedup at a constant dollar cost over the last 20 years especially if one looks at system costs (although your figures may be closer for the same chip area). For example, around 1980 I paid $1000 for a 1Mhz Commodore Pet with around 16K (and only a couple years earlier a little less for a KIM-1 with only 1K). Now $1000 will buy me around a 1.0+Ghz system with 128MB of memory. So CPU speed is 1000, plus a 10 to 100 fold (or more) improvement from other factors you mention (including being able to do execute complex operations like floating point calculations in a single clock cycle) resulting in a 10,000x - 100,000x speedup. Memory is also up 10,000 times (and is faster). Back then I bought a dual floppy drive for about $1200 that could store a total of around 360K or 0.36M. Now, that amount of money can buy about close to terrabyte of disk space storage (1,000,000M), so about a 1,000,000x increase. Communications bandwidth is harder to measure, (and with modems has held constant longer) but we are in for some major sudden increases as DSL and fiber and 3G wireless become more available. People in the lab have demonstrated over 1 Terrabits per second per optical fiber and expect continued imporvements. I expect the improvements to computing power at a constant cost in the next twenty years to be closer to 1,000,000x or more, as essentially the rate of increase is also increasing. Especially for bandwidth when we get fiber to the home. Even if limits are reached for current technologies, there are many other technologies waiting in the wings (3D chips, optical computing, DNA computers, nanotech computers, quantum computers, self-assembling computers) which will likely keep the exponential trend moving. In fact, this has already happened about five times in computing to keep up exponential growth with a progression from relays to tubes to discrete transistors to ICs to VLSIC and beyond. See for example: http://www.kurzweilai.net/articles/art0134.html http://nanodot.org/articles/00/06/28/0045201.shtml http://www.transhumanist.com/volume1/AI_power_075.jpg http://news.cnet.com/news/0-1006-200-6343049.html?tag=owv It is common go think in linear terms instead of exponential terms. Kurzweil talks about this in detail in his essay. Kurzweil and Vinge think we are heading (without unexpected disruption like war, plague, etc.) for a post-scarcity technological singularity around 2020-2040 as $1000 worth of computer power greatly exceeds the computational power of a human brain and then soon all human brains. http://www.ugcs.caltech.edu/~phoenix/vinge/vinge-sing.html I've also written an essay on this topic as well: http://www.bootstrap.org/dkr/discussion/0126.html My take on what drives "Why ... does hardware get faster?" is that such progress is the result of a technological arms race between capitalistic corporations (and individuals) on several motherhood-and-apple-pie fronts (lowering costs, better products to consumers, better market analysis, better R&D via simulation). The mindset is that organizations and individuals need better technology to more effectively compete as their competition similarly ratchets up in computer "arms" levels. That's one reason such technology has had limited benefit in the developing world (the "Digital Divide"). The technology isn't being created today mainly to be about helping people -- it's about fighting an (economic) war (even though visionaries like Alan Kay, Doug Engelbart, and Ted Nelson and others may have had other values in the 1960s and likewise people may have an interest in free software or open source software like Squeak for similar reasons). I'm not saying this technological arms race is good in and of itself (although it does open new possibilities -- space settlement, flexible cheap manufacturing, robots to assist with drudgery, better services for the ill or handicapped). Rather, I feel a major issue facing the future of computing is to figure out a way to transcend technological arms races because ultimately one usually can't win them without destroying one's way of life (and likely everything else). For example, several native American tribes finally did adopt the methods of their genocidal invaders (horses, guns, capitalism, deceit, slaughter) but it was very damaging to their own way of life. [See Howard Zinn's works like "A People's History of the United States"] http://www.people.fas.harvard.edu/~sachs/Zinn/online_works.html or "Lies My Teacher Told Me: Everything Your American History Textbook Got Wrong" by James W. Loewen http://www.uvm.edu/~jloewen/ With such a history of what happens as a result of advanced military and technological power in the hands of morally corrupt (or at best amoral) profit driven individuals and organizations meeting groups without such military power, http://www.dsl.org/copyleft/11-rules.shtml there is much that needs to be done to ensure a future for humaneness and humanity in the face of organizations soon to have supercomputers a million times faster or smaller (think super-"smart" bombs) if they are still primarily driven primarily by a profit or profit-defense motive. That's one problem I have with U.S. military policy -- I want the defense establishment to be told to by government to defend me from arms races (including technological ones), whereas they are told by government to win them (which thus makes the situation worse). :-( Theodore Sturgeon's short story "The Skills of Xanadu" is a good illustration of a society who has at least locally transcended the technological arms race. James P. Hogan's "Voyage from Yesteryear" is another. Both show what happens when a post-scarcity society meets a scarcity society, so perhaps there is room for some hope -- assuming such a post scarcity society is allowed to come into existence in the first place. There is a downside to the current approach of technological funding in the US producing these continuing increases in certain forms of computing capacity. Many possible futures could be invented, but the path often chosen is the one of least resistance -- short term profit -- which is kind of like trying to climb the mountain of human spirituality by picking the easy path down into the valley. The best one can do is try to find ventures which both help humanity and make short term economic sense -- but there needs to be a consciousness of making a decision about what to innovate and an acceptance that short-term profits might not always be maximized (even if one might still survive economically). "Excitement" is another bad reason to pick what one innovates on -- one needs to pick more a convergence of excitement, humane need, and fundability. Yet, "excitement" is driving much of technological change, sort of like betting one's house on every role of the dice -- exciting, but probably not sensible. One of my wife's favorite books is "Finite and Infinite Games" by James P. Carse http://www.wunderland.com/WTS/Jake/fig.html http://www.alamut.com/subj/artiface/games/infiniteGames.html I would argue it is important for individuals and organizations to start playing infinite games, not finite ones, especially in the context of technological change. I just saw the movie "Atlantis" last night and I thought the ending [hopefully not a spoiler considering this was a Disney film] was an excellent example of some people deciding to choose the infinite game route in the face of seemingly more profitable short-term choices relating to finite technological advancement. Way to go Disney! However, the only easy way the old guard can maintain control through scarcity economics in a post-scarcity world (implied by these trends in computing and other technology) is by draconian legal controls http://freeipx.org/display.php3?id=68 http://slashdot.org/articles/01/06/21/2010249.shtml to enforce economic scarcity (think a "Copying War" like the "Drug War" described in the movie "Traffic" but magnified 100 times). The DMCA making copying a felony is just the start. Bob Young from above: "We then approached the question from another angle, saying: if the Open Source movement failed what would cause it to fail? The answer is that if left to market forces Open Source will inevitably prevail, simply because the consumers prefer it over the legacy proprietary binary-only model. But the technology markets were not being left to market forces. The government is playing an increasing role at the urging of the major global publishing organizations. ..." Microsoft is just starting to flex its muscles in this regard: http://news.cnet.com/news/0-1003-200-6352301.html?tag=mn_hd http://www.zdnet.com/zdnn/stories/comment/0,5859,2668713,00.html http://content.techweb.com/wire/story/TWB20010501S0002 We will be in for a wild ride of conflict between community and vested special interests also driving technological and social change. The "Drug War" has over the last twenty years added around 1,000,000 people http://www.drugwarfacts.org/ to the US prison population without much of an outcry (at least in the US -- in fact, politicians and others in the US have built their careers on promoting the drug war), so if a few million computer users are imprisoned in the US for non-violent "illegal" copying, who will raise an outcry? (Especially when raising an outcry may make you a target, just like any politician who speaks out on the Drug War will be labelled as "soft on crime".) Of course, such laws are often selectively enforced, so they provide yet another opportunity for censorship, authoritarianism, and corruption. For example, here are a couple of college students facing felony (not civil) charges under DMCA for distributing software: http://www.marist.edu/resnet/unions.html While I don't condone their actions, the deeper issue is we are creating a society where sharing is not encouraged but instead is illegal: http://www.gnu.org/gnu/thegnuproject.html http://www.gnu.org/philosophy/why-free.html http://www.gnu.org/philosophy/right-to-read.html How soon is it before police get civil forfeiture laws allowing them to confiscate computer equipment and auction it with the proceeds to their own budgets on just the suspicion of illegal copying, the way they can with cars and such on even the suspicion of drug use? Considering how much of the technology and content we use is generally either funded directly or indirectly by grants or tax subsidies (e.g. R&D tax credit) often through non-profit organizations like universities, this is all very ironic. (For example, the patents to MP3 are held by a "non-profit" organization). "Corporate-Sponsored Research Untrustworthy" http://slashdot.org/science/01/06/20/1750231.shtml "Can University Students GPL Their Submitted Works?" http://slashdot.org/article.pl?sid=01/06/18/1622204 Business (and academia) doesn't have to be like that. William C. Norris in the 1970s http://www.digitalcentury.com/encyclo/update/william_norris.html talked about the responsiblity of business to "meet society's unmet needs" either alone or through true public-private partnerships. That is ultimately why the state allows businesses to be chartered. From that page: "It has been [William C. Norris's] lifelong dream to use corporate responsibility to eliminate poverty, unemployment, and hunger, and to revolutionize the educational system to provide the most opportunity to the most people. Though often misunderstood and sometimes ridiculed for his beliefs, Norris has had a profound effect on corporate America?s social conscience." Corporations also need to remember that working in the public interest can have a big effect on employee morale. Langdon Winner writes in his 1977 book "Autonomous Technology: Technics-out-of-Control as a Theme in Political Thought" about the importance of open systems understandable and modifiable by the end-user as the basis for a free society: http://www.rpi.edu/~winner/ http://www.anu.edu.au/mail-archives/link/link9810/0203.html Free and open systems like Squeak can play an important role in helping keep computer systems accountable to human needs through transparent and user-adjustable operation to minimize the worst aspects of these exponential technological arms-race trends. So, really, the future of answering Bob Jarvis's question "Can we do similar things to improve software?" hinges on what one means by "improve". In a Langdon Winner sense, Squeak improves software by making it more open even if it makes it run slower. -Paul Fernhout Kurtz-Fernhout Software ========================================================= Developers of custom software and educational simulations Creators of the Garden with Insight(TM) garden simulator http://www.kurtz-fernhout.com From Dan at SqueakLand.org Wed Jun 13 21:37:15 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:19:33 2012 Subject: a morphic tutorial in morphic In-Reply-To: <200106131153.HAA02038@campbell.mps.ohio-state.edu> References: <200106131153.HAA02038@campbell.mps.ohio-state.edu> Message-ID: >Scott Wallace wrote: > > A very straightforward way to get to "Bob's SuperSwiki" and download >> a project from it, if you have the "project navigator" showing (viz. >> Preference #showProjectNavigator set to true,) is to open up the >> navigator (my moving the cursor over it) and then hit the "Find" > > button. > Jesse Welton replied: >Note that this also addresses the issue Jerry mentioned about it being >somewhat difficult to get back to the previous project: Simply hit the >"< prev" button on the navigator. The thing may be a bit intrusive, >but it sure can be handy! An item on my to-do list is to offer a preference that puts the navigator bar on a mouse-over tab. It's nowhere near the top though so, if anyone else would like to write the code, I'll see that it makes it into the update stream. - Dan -- From reic0024 at d.umn.edu Mon Jun 11 21:05:18 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:19:34 2012 Subject: Squeak ate my day's work! (or: how do I get my code out of an image?) Message-ID: Good afternoon everyone, I was happily Squeaking along at work today, when the machine which shared my image, changes, and VM file crashed. VM and image remained up and running, but I could no longer browse code. (Message Not Understood: isSeperator) I've had this happen before, and simply waiting for the machine to come back up and doing a save as... and restarting right where I left off from the newly saved image. Today, that didn't work. I managed to copy the image file (Windows 2000 at the GUI and command line level tells me "The specified network name is no longer available" when I try to copy the changes file). However, when I open up the image file, I can't file out any of the reconscructed (by the decompiler) code. My questions: 1. I still have the broken image up and running. Is there *anything* I can do to restore the image and changes files? Attempting to save on a local drive doesn't work, as it cannot access the original changes file. 2. If I'm only left with the image file, is there any way to salvage my code from it? Any and all help would be appreciated... Thanks! Aaron Aaron Reichow :: Twin Ports ACM VP :: http://www.d.umn.edu/~reic0024/ "The profit system follows the path of least resistance and following the path of least resistance is what makes a river crooked." -U. Utah Phillips From arning at charm.net Sat Jun 30 21:23:03 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:19:40 2012 Subject: Out of space + other flakiness Message-ID: <200106302123.RAA02219@fellspt.charm.net> Ross, On Sat, 30 Jun 2001 13:48:54 -0700 Ross Boylan wrote: >> >A handy thing I found was "Smalltalk pointersTo:" to trace object >> >references back. >> >>Also quite useful is >> >> PointerFinder on: >> >>This will trace back to Smalltalk and open a window showing >>the links in the chain. > >Beautiful! Sounds like just what I need. Can it cope with multiple paths >and loops? Loops - sure. Multiple paths - not really. It reports the first path it finds that leads back to Smalltalk. If you are trying to clear out dead wood, eliminate that reference and then retry to see if there are any more. Remember to close inspectors, etc that may be holding references. >> >Among the oddities encountered: >> >I frequently ended up with two squeak processes running when it hung. >> >I was a bit surprised to find it launching separate processes. >> >>Which OS is this? > >Debian GNU/Linux, kernel 2.4.2. Mostly "woody" level packages. I don't know Linux, but I have a vague recollection about two processes. Someone on the list surely knows. > >> >TheWorldMenu was pointing to one of the projects I hand't used much. >> >>Hmm.. doesn't sound like a good thing. I'll take a look at it. > >I thought this might be the result of some interrupted processing because >of the memory problems, rather than a bug in code. E.g., I exited that >project but ran out of memory before the project in TheWorldMenu was >updated. Although I guess I'd expect the project to be reset every time I >switched projects... An instance of TheWorldMenu may have a reference to the project it belongs to, but this would not be a problem under normal circumstances, since the project points to the world which points to the menu and it's all in the family. Something else is probably keeping the whole mess around if you have really killed the project. > >Just did it. I now see >Smalltalk bytesLeftString '4,284,616 bytes (internal) >193,700,040 bytes (physical) >523,161,800 bytes (total) ' >Before I got '5,245,932 bytes available' >However, I'm now on Win32 and the "before" is Debian. I can't tell if this >is progress. The Windows VM can tap into the OS and grab more memory for the Smalltalk heap, so it considers all of OS memory available. The other VM's use a preallocated size, so free space can mean very different things. >Based on the total space use from printSpaceAnalysis, I >gained almost 2Mg.. Well, that sounds good. >> (String allInstances collect: [ :x | x size]) asBag >> >> (String allInstances select: [ :x | x size > 1000]) > > >Most of the biggest strings apppear to be C source code. Those are parts of the VM that are carried in the image as C source. If you are interested in saving more space *and* you don't plan on generating a new VM using this image, you could delete those methods. Cheers, Bob From ok at atlas.otago.ac.nz Wed Jun 20 02:29:39 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:19:40 2012 Subject: documentation requests? Message-ID: <200106200229.OAA123843@atlas.otago.ac.nz> "Lex Spoon" asked for suggestions about parts of Squeak that students at Georgia Tech might document. ParagraphEditor and its relatives. That's my suggestion. From editor at squeaknews.com Fri Jun 22 08:18:23 2001 From: editor at squeaknews.com (Editor) Date: Sat Jan 28 04:19:43 2012 Subject: Contest! References: Message-ID: <3B32FF4E.6A5E4E76@squeaknews.com> "Noel J. Bergman" wrote: > What details are known about this additional UI? MVC works just fine on > PDAs, and is small, fast, rich, and flexible; what does this minimal UI > offer to warrant YAUI? Well, I guess I made a few demos to a few people, but I doubt if anyone can remember. Apart from that nobody knows much about it. You'll have to wait at least about a month and a bit to see the full details but I can tell you this: It is not actually intended to compete with neither MVC nor Morphic. I guess it should be called a toolkit rather than "UI" but what the heck, it is a UI. It is aimed at minimal machines and works on top of an almost fully stripped image (no MVC, no Morphic, only sound and basic Blt support, images under 1M). The goal is to quickly program slick looking PDAs and Kiosk applications with minimal programming (very narrow focus). Supports sound and still and animated graphics. It is programmed as a state machine or a hierarchy of state machines so most of the generation can be automated (You don't have to, but makes things easier). It works well with stylus and all requests are point and click, it has its own keyboard layout which is so flexible it can emulate a keyboard, a pop-up menu or a yes-no answer in exactly the same way. It is about 10 classes and 190 methods, semi-commercially tested and working. It was borne out of a need and helped me to develop a 30+ page full color mostly functioning prototype on a Cassiopeia with 16M memory and 10M+ graphics and sound files, all in 3-4 weeks, including the toolkit itself. This was around January 2000 when I was in a more functioning state, it needs a little dusting. Cheers Tansel Ersavas Editor, SqueakNews http://www.squeaknews.com From dway at riskmetrics.com Fri Jun 1 03:55:22 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:19:44 2012 Subject: mail dropout :-( References: Message-ID: <3B17122A.2802D5B5@riskmetrics.com> "Noel J. Bergman" wrote: > > > I think it's probably high time to move the list off the UIUC server. > > Since the list is already mirrored on eGroups > (http://groups.yahoo.com/group/squeak), all that would have to happen would > be for people to subscribe to the group, unsubscribe from the list, and > start posting to squeak@egroups.com, instead of squeak@cs.uiuc.edu. Since > the lists are mirrors, nothing is lost as people migrate. > > The migration should be painless, since the mirroring is already in place. > The last person on the UIUC server would still see all of the messages, > barring server failures at UIUC. Not a bad idea, although running a list directly on eGroups/Yahoo means that there are ads attached to email posts, which can be annoying. I think a privately run list would be preferable, since we have a few offers. - Doug Way dway@riskmetrics.com From jecel at merlintec.com Wed Jun 20 20:02:27 2001 From: jecel at merlintec.com (Jecel Assumpcao Jr) Date: Sat Jan 28 04:19:46 2012 Subject: my tiny method is broken...... In-Reply-To: <200106201838.OAA03054@fellspt.charm.net> References: <200106201838.OAA03054@fellspt.charm.net> Message-ID: <01062016022700.00883@gandalf.merlintec.com> On Wednesday 20 June 2001 14:38, Bob Arning wrote: > The #new method should be on the class side, not the instance side. This is by far the number one mistake new Smalltalk programmers make. An added problem is that while some people will "get it" as soon as you point it out to them, others need a lot of explanation before it makes sense to them. The main reason I got interested in Self is because it doesn't have this problem. A less radical solution is to make sure all Smalltalk courses, introductory textbooks and so on include a good example just about this as early as possible. -- Jecel From dway at riskmetrics.com Sat Jun 2 04:42:05 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:19:50 2012 Subject: building a simple app with "active" gui in squeak? References: <3B1839E8.E49417C4@trentu.ca> Message-ID: <3B186E9E.29274047@riskmetrics.com> Hello Jack, welcome to Squeak! Your project doesn't sound trivial to implement in a weekend for someone who's not that familiar with Squeak or Smalltalk, but it should be doable, with hopefully some progress made in a weekend. (I'm guessing it should be possible for someone to write this in Squeak with less than half the source code it would take to implement in Visual Basic.) Anyway, since I figured you'd want to start playing with something sooner rather than later (and I don't have all night to write up a detailed message), here's some code which implements a bit of the UI. First, create a subclass of SimpleButtonMorph called GridButtonMorph. Then add a instance-side method called #doButtonAction which does the following: doButtonAction self color = Color red ifFalse: [self color: Color green darker]. (This overrides the doButtonAction in the superclass.) Then, in a workspace, execute the following: | y | firstYearCourseNames := {'100'. '110'. '118'. '160'. '168H'}. secondYearCourseNames := {'200'. '202'. '216'. '220'. '235H'}. "etc." columnMorph := RectangleMorph new. columnMorph hResizing: #shrinkWrap. columnMorph vResizing: #shrinkWrap. y := 0. firstYearCourseNames do: [ :courseName | fieldMorph := GridButtonMorph newWithLabel: courseName. fieldMorph color: Color yellow. courseName = '118' ifTrue: [fieldMorph color: Color red]. fieldMorph position: 0 @ y. fieldMorph width: 70. fieldMorph useSquareCorners. columnMorph addMorph: fieldMorph. y := y + fieldMorph height]. columnMorph openInWorld. This will bring up a column of yellow boxes. If you click on a yellow box, it will turn green, but a red box won't (because of the code we added in #doButtonAction). For your application, you'll need to add more logic to decide whether the code should be yellow or red in the first place (based on the course prerequisites), of course. (An excellent exersize in figuring out how this code works is to put a "self halt." near the beginning of the code, execute it, and use the debugger to step through (or send into) each message.) This code I provided isn't especially good, but it works as a quick example. You'd want to move this workspace code into the UI-building code of a DegreePlannerMorph, or whatever you want to call the whole window. You'll need to add an outer loop to build multiple columns. You wouldn't want to hard-code the firstYearCourseNames as a variable as I did... you might want to use an Array2D instead, or a collection of collections. And some of the messages sent to fieldMorph could be moved into the #initialize method in GridButtonMorph, etc. Feel free to ask the list if you run into further problems. (also you can check the mailing list archives (see squeak.org) if you aren't receiving list messages) Hope this helps, - Doug Way dway@riskmetrics.com jack wrote: > > hi, > > i am a 3rd year computer studies student at university in canada. i am > in a summer course right now doing a 3 person group project to create a > prototype for degree planning and academic advice software. i have > attached a small .jpg that shows what we are trying to achieve (it shows > the project in a web browser, but that is not essential). i have been > reading about squeak and playing with the demo projects a little bit for > maybe 2 weeks, and am now eager to try and use it more powerfully as an > idea processor but don't know where to begin. > > someone suggested smalltalk for wrapping my head around what oo really > is, and i chose squeak. i have just spent the day with self 4.1 (mac) > because i read that would help with morphic but i didn't make much > progress there either. > > the rest of my group wants to do this project in visual basic, and i > wanted to try and get it done in squeak before the end of the weekend, > so that we would have to resort to vb at all... and i could get some > good experience with squeak. > > here is a textual description of our functional requirements [see the > diagram for more clarity]: > > the student shall be presented with a grid. there shall be four columns, > one to represent each year of an undergraduate degree. there shall be 5- > rows, and each box in the grid will represent a course. for example: > 100, 122, 205, etc. > > there are two features that comprise the desired core functionality: > > i) active gui: > > the initial state of the grid will be as follows: courses for which no > prerequisites are required shall be yellow. courses for which the > student lacks the appropriate prerequisite shall be red. > > once the student clicks on any given course, signifying that he/she has > taken that course, or would like to see the effects of taking that > course it shall turn green. > > upon any course turning green, indicating successful completion of that > course and therefor its eligibility as a prerequisite, any courses for > which that newly green course alone or another combination of previous > green courses with that new green course shall turn from red to yellow > to indicate their availability. > > this is mostly an exploratory way for the student to visualize the > relationships between courses in a single major. > > after indicating all of the courses he/she has completed and pressing > the "process" button the student shall receive > > ii) suggestion screen > > the software must be able to store the courses that the student has > taken and sort them against a list of the required courses for their > major. the suggestion screen shall provide the student with a written > indication of the courses he/she should take to complete the degree. > > ---------------------------- > ideas so far: > > i think that the active gui will have something to do with embedding > morphs inside of each other, the buttons will go on top of rows or > columns? i was in self all day, so i don't know how similar the squeak > morphic is yet. i don't know how to implement that [to me] complex > behaviour where the other buttons would all change the appropriate color > in any language.... not a clue. > > we were thinking that the gui state could be translated somehow into an > array of courses taken and then sorted against an array of courses > required or something like that, or maybe using an orderedcontainer or > bag? then some simple text processing could transform that container > into english sentences? > > i would greatly appreciate any and all suggestions... i have been > reading some of the broad kind of context level papers on smalltalk and > squeak and i like the vision and goals much more than visual basic... > besides i don't even have a pc so it would be hard for me to do any > meaningful [all night] work on that platform. i think that these days it > is irresponsible to develop in any language that is not ported to at > least 3 hardware platforms anyway. > > lastly, please cc your responses to me directly at jeaton@trentu.ca, as > for some reason the list server won't send me the list traffic. > > *big* thanks in advance, > > jack eaton > trent university > canada > > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > [Image] From lex at cc.gatech.edu Wed Jun 13 06:22:12 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:19:55 2012 Subject: a morphic tutorial in morphic Message-ID: I've written a simple morphic tutorial and posted it to Bob's SuperSwiki with the name "LearningMorphic". The tutorial goes through very basic morphic programming skills, including basic attributes, owner/submorph structure, mouse events, keyboard events, stepping, and simple menus and fill-in-the-blank queries. It's extremely basic, but it should get people moving in the right direction. -Lex From jon at huv.com Sat Jun 16 06:15:10 2001 From: jon at huv.com (Jon Hylands) Date: Sat Jan 28 04:20:04 2012 Subject: About the wonderful internet browser In-Reply-To: <3B2AF21E.41F1E1E4@chello.se> References: <200106151320.QAA02206@mailgw2.netvision.net.il> <3B2AF21E.41F1E1E4@chello.se> Message-ID: On Sat, 16 Jun 2001 07:44:00 +0200, Karl Ramberg wrote: > Do you use the latest morphic layout framework, that appeared in > 2.9alpha- 3.0 - 3.1alpha somewhere ? This framework seems flexible > and powerfull but I have not fully understood it yet :-) Yes, that's exactly my thoughts on it as well. I'm sure that somebody somewhere understands how it all works, but it sure isn't obvious how you make things work programatically. I spent many frustrating hours trying to make text morphs do what I want them to do, and it still doesn't completely make sense to me. I think one of the main problems with morphic is that most of the effort seems to have gone into the interactive, drag-and-drop side of building user interfaces, which of course is pretty much useless for laying out HTML... The web browser originally didn't use Squeak widgets at all -- I did all the layout myself by drawing the layout objects directly onto a window. When I controlled the layout, it was relatively easy to do things like tables, and embedded layout (tables within tables) pretty much just worked. Later, Jon -------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com From Dan at SqueakLand.org Fri Jun 22 21:40:42 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:20:10 2012 Subject: DO NOT FETCH UPDATES Message-ID: -- Folks - I ran into a problem part way through posting the latest set of updates. Then to make things interesting, my ISP is having trouble, so I can't undo the problem in the usual twinkling of an eye. Therefore... Please do not try to fetch updates ...until you get an "All Clear" message. If you ignore this warning, you will get updates out of sequence, and a message not understood part way through the third or fourth file. Thanks - Dan From deeplowsoftware at oreka.com Fri Jun 22 16:36:08 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:20:20 2012 Subject: Help with Wonderland textures Message-ID: <200106221539.RAA88527@mailhub10.isdnet.net> I already posted the following mail to ask for help with textures in wonderland. Apparently nobody saw this message I don't know if I got it back myself. Well if someone has some information about it please e-mail as soon as possible : we are to hand the project in Tuesday and haven't found a way to do it yet. Here is the mail : Hi there, as some of you may know we are currently working on a 3D windows explorer in SmallTalk, which works as a virtual library. A directory is represented by a room and a file is represented by a book. And that's were we have a problem : we succeeded in creating a book and putting it where we want it to be, BUT we can't apply a texture that has more than one color. The texture is supposed to work with a bitmap and a morph (cf. asTexture method). Unfortunately when the bitmap contains more than one color the actor doesn't change or becomes all black. And we definitely need to be able to put some information on the book (e.g. the name of the file). Then our question is : does anyone know a way to make the textures work ? (is there a package we must download ?) We then thought we would add a morph to the WonderlandWrapper but it doesn't work (the morph is succesfully added ut is never shown on the screen). Is there any alternative way to add a VISIBLE StringMorph to an actor ? Thanks in advance for your answers. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From spair at advantive.com Tue Jun 12 19:06:20 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:20:24 2012 Subject: [FIX] assertions [again] In-Reply-To: Message-ID: The previous change set contained True>>assert, which is unnecessary because its implementation is no different than Object>>assert. - Stephen > -----Original Message----- > From: Stephen Pair [mailto:spair@advantive.com] > Sent: Tuesday, June 12, 2001 2:59 PM > To: squeak@cs.uiuc.edu > Subject: [FIX] assertions (was: [BUG] two different ways to handle > assert:) > > > Ok, the code in my previous post had a couple of issues, but attached is a > change set that addresses the problem, and doesn't require changes to > existing code in Squeak (I think). > > Object>>assert does nothing by default, and is overridden by subclasses to > specialize the determination of whether an object is in a "consistent > state"...if not, this method should signal the assertion exception. > > Object>>assert: simply redispatches #assert, override this if you > want your > subclasses to make assertions on other objects and handle them differently > that #assert: or #assert normally does. > > True>>assert does nothing > > False>>assert signals the assertion exception > > BlockContext>>assert does "(self value == true) assert" > > - Stephen > > > -----Original Message----- > > From: Stephen Pair [mailto:spair@advantive.com] > > Sent: Tuesday, June 12, 2001 2:28 PM > > To: squeak@cs.uiuc.edu > > Subject: RE: [BUG] two different ways to handle assert: > > > > > > It's not good to implement Boolean>>value just so that it can > be passed to > > #assert:. I would avoid diluting the Boolean protocol > > (especially with the > > message #value) just for the sake of avoiding a larger amount of > > work...better to make things work right than hack around the > > problem (IMO). > > > > I suppose that you want to pass a block to #assert: so that you can > > implement a mechanism to turn on and off assertions, correct? > If this is > > this case, the protocol had better be well defined, otherwise, > > people could > > make assertions with behavior that is critical to the working of a > > method...then when assertions are turned off...boom...code breaks. > > > > What if #assert were defined for any object to mean: "does this > > object exist > > in a consistent state?" The method #assert: would redispatch > > #assert to its > > argument providing that assertions are enabled. Overriding > #assert: would > > be done when the normal response to an assertion failure needs to be > > customized. Overriding #assert would be done in cases where > you wanted to > > redefine what it means to be "in a consistent state" for a > given class of > > objects. Here's some example code: > > > > ----- > > Object>>assert: aBlockOrBool > > > > Preferences assertionsEnabled ifTrue: [ > > aBlock assert ifFalse: [ > > ^self throwAssertionError > > ]. > > ]. > > > > ----- > > Object>>assert > > ^true > > > > ----- > > True>>assert > > ^self > > > > ----- > > False>>assert > > ^self > > > > ----- > > BlockContext>>assert > > > > self value assert > > > > ----- > > Person>>assert > > > > ^self ageInDays == (Date today - self birthDate) > > ----- > > > > This code would allow all of: > > > > self assert: [ 1 = 1 ]. > > self assert: (1 = 1). > > self assert: aPerson. > > > > The False singleton would always be considered "in an > inconsistent state." > > Perhaps to avoid confustion, a different selector could be used > > for #assert > > (i.e. #isConsistent). > > > > - Stephen > > > > > -----Original Message----- > > > From: Pablo Murias [mailto:p.murias@mercapsoftware.com] > > > Sent: Tuesday, June 12, 2001 4:23 PM > > > To: squeak@cs.uiuc.edu > > > Subject: Re: [BUG] two different ways to handle assert: > > > > > > > > > I think that we must have only one way of handle #assert:. > > > If you implement #assert: assuming that the argument is a block that > > > evaluates to a boolean, or an object that understand value > and answer a > > > boolean (this is the reason to implement Boolean>value), then you > > > don't have > > > to rewrite the senders of #assert:, only the implementors. > > > > > > cheers, Pablo > > > > > > > > > > > > ----- Original Message ----- > > > From: "Daniel V. Oppenheim" > > > To: > > > Sent: Tuesday, June 12, 2001 8:24 AM > > > Subject: Re: [BUG] two different ways to handle assert: > > > > > > > > > > Pablo > > > > > > > > The problem is that the system has two different > > implementations -- one > > > > expects a block as argument, the other a boolean. This is not good. > > > > > > > > Danny > > > > > > > > At 11:09 AM 6/12/01 -0700, you wrote: > > > > >You can expect allways a block, and implement > > > > > > > > > >Boolean>>value > > > > > ^self > > > > > > > > > > > > > > >By the way, this is my first message to the list and I must > > say thanks > > > for > > > > >Squeak to the people that made it and to all the people > that works to > > > make > > > > >it better > > > > > > > > > >Pablo > > > > > > > > > > > > > > >----- Original Message ----- > > > > >From: "Daniel V. Oppenheim" > > > > >To: "Squeak Mailing List" > > > > >Sent: Monday, June 11, 2001 1:26 PM > > > > >Subject: [BUG] two different ways to handle assert: > > > > > > > > > > > > > > > > The system handles in two different ways: > > Object expects a > > > Block > > > > > > as argument, whereas all other 3 classes expect a Boolean. > > > This is not > > > a > > > > > > good idea... However, there are only 39 senders so its an > > easy fix; > > > > > > slightly complicated with the implementation of in > > > BlockContext, > > > > > > but that only has 7 senders. > > > > > > > > > > > > I think aBoolean makes more sense than aBlock as argument. > > > > > > > > > > > > Since I need to fix this anyhow in order to file in my own > > > code I will > > > be > > > > > > happy to make the change, update all system methods, and > > > send the fix > > > > >in -- > > > > > > but being new to the squeak-fix process please let me know > > > what is the > > > > > > preferred way of handling this. > > > > > > > > > > > > Thanks > > > > > > > > > > > > Danny Oppenheim > > > > > > --- > > > > > > > > > > > > Dr. Daniel V. > > > > > > Oppenheim > > > > > > > > > > > > Computer Music Center > > > > > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > > > > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > > > > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > > > > > > > > > > > > > > > > --- > > > > > > > > Dr. Daniel V. > > > > Oppenheim > > > > > > > > Computer Music Center > > > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > > > > > > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: assert.4.cs Type: application/octet-stream Size: 1021 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010612/7f11fa48/assert.4.obj From karl.ramberg at chello.se Mon Jun 11 04:44:56 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:20:24 2012 Subject: About the wonderful internet browser References: Message-ID: <3B244CC8.188B4991@chello.se> "Noel J. Bergman" wrote: > > Daniel, > > > Jon [posted] an image and sources, so that ball too, is in now our hands. > > Where did he post it? I don't see it on his site, nor do I find it in the > Squeak Fixes Archive (http://swiki.gsug.org:8080/sqfixes/all). > > How does it differ from Scamper? http://www.huv.com/smalltalk/MvBrowser.tar.gz - image (2.9) & change log http://www.huv.com/smalltalk/OriginalSource.tar.gz - the Interval code Karl From core.lists.squeak at core-sdi.com Wed Jun 6 21:41:47 2001 From: core.lists.squeak at core-sdi.com (Gerardo Richarte) Date: Sat Jan 28 04:20:34 2012 Subject: On interfaces - Morphic Wrappers References: <909E88754E6BD411926B00400531D64AC9648F@CLEVINGER> <15134.40401.640000.127748@noontide.demon.co.uk> Message-ID: <3B1EA3DE.79B25EC9@core-sdi.com> John Kozak wrote: > > Just downloaded and fileIn'd this, and seem to have hit a bugette > (this with squeak 3.1 4081). I'm sure you haven't done anything wrong. This is what I meant when I said that it was hard to mantain a package up to date. The problem with the text appearing outside the balloon is not new, it appeared with one of the latests Squeak updates (between 2000 and 4048), we tried to fix it, but it will take some time (does anybody want to give it a try?). The other problem (the doesNotUnderstand:) is pretty new, I haven't heard of it before, so it must have appeared with an update between 4048 and 4081. As soon as we update our images, and have some time, we'll fix it... sorry for the inconvenience... I'll announce the updated version on the list as soon as we have it. Buggy Bye! Richie --- For a personal reply use gera@core-sdi.com From arning at charm.net Mon Jun 18 18:26:29 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:20:35 2012 Subject: [BUG] inner worlds Message-ID: <200106181826.OAA07499@fellspt.charm.net> On Mon, 18 Jun 2001 14:00:26 -0400 "Stephen Pair" wrote: >It would be nice to allow scroll bars in the embedded world to scroll around >the desktop of the embedded world. Also, if the embedded world is placed in >a window, it would be nice to drop the green border automatically. Stephen, Although the current style of embedded worlds has been the main focus, there were other styles that were tried at one time. If you change PasteUpMorph>>embeddedProjectDisplayMode to return a different value, you can experiment with the others, although they may be a bit buggy. Cheers, Bob 'From Squeak3.1alpha of 5 February 2001 [latest update: #4158] on 18 June 2001 at 2:20:25 pm'! !PasteUpMorph methodsFor: 'world state' stamp: 'RAA 6/18/2001 14:13'! embeddedProjectDisplayMode "#naked - the embedded project/world is just a pasteup in the outer p/w #window - the embedded p/w is in a system window in the outer p/w #frame - the embedded p/w is in a green frame and clipped #scaled - the embedded p/w is in a green frame and scaled to fit" ^#window ! ! From karl.ramberg at chello.se Mon Jun 25 04:23:21 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:20:44 2012 Subject: Undoing changes References: <3B36A95E.2DED9735@crystal-objects.com> Message-ID: <3B36BCB8.7698B082@chello.se> There is a general undo option in the world menu. Try that Karl Frank Caggiano wrote: > > Hello, > > I'm just starting to look at Squeak and have a question. > > I was playing around with the project 'Building with Squeak' (driving > the car around the track). I messed around with it some and managed to > really break it; I pressed the '!' for 'car look like dot' It did and I > don't see a 'car look like car' anywhere :-) > > Anyway I wanted to get back to the original project before I messed it > up. I know I can quit without saving and then reload but I was hopping > for a way to do it without exiting and restarting. I looked at the > 'changes' stuff but didn't see anything that could help. > > Thanks for the help, regards > -- > Frank Caggiano "The best education for the best > caggiano@crystal-objects.com is the best education for all." > http://www.crystal-objects.com/ Robert M. Hutchins > > Logo Users Ring > http://www.crystal-objects.com/logo/logoring.html From core.lists.squeak at core-sdi.com Tue Jun 12 23:44:36 2001 From: core.lists.squeak at core-sdi.com (core.lists.squeak@core-sdi.com) Date: Sat Jan 28 04:20:51 2012 Subject: ESUG 2001 Message-ID: <3B26A964.804B0CC2@core-sdi.com> Hi! who is planning to attend ESUG this august? http://www.esug.org/summerschools/2001_Essen/programme-2001.html Traveling Bye! Richie From johnmci at smalltalkconsulting.com Thu Jun 14 00:45:17 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:21:00 2012 Subject: BBEdit.Lite fileOut documents error In-Reply-To: References: Message-ID: >Hello, > >When I select fileOut, Squeak automatically makes the text file a BBEdit >file. This would be fine, except that BBEdit cannot open the file, but >instead gives me the following error. > >an unexpected end-of-file was encountered (Mac OS error -39) > >If you know what I am doing wrong, please help. Thanks for your time. > >Michael >(The ultimate newbie) If you do a get info, what does the mac finder report about the file size. Usually a -39 (end of file) is indication of some type of disk i/o error, since bbedit is trying to read all the bytes of the file and finds the OS read routine doesn't return all the requested bytes because of some issue with reading the file, or getting read permission (if for example you are using OS-X), or a problem with the disk directory structure (check with disk first aid). try duplicating the file in the finder and see what happens -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From thecows at home.com Fri Jun 29 17:04:38 2001 From: thecows at home.com (Steve Wart) Date: Sat Jan 28 04:21:01 2012 Subject: Cassowary Demo Question Message-ID: <20010629160440.BSNW1615.mail1.rdc2.bc.home.com@aSqueakSystem> If you load them up you will see the title is 'How The Mouse Roars' Cheers, Steve Ross Boylan wrote: > > I'm also wondering what HTMR stands for in project names on the SuperSwiki.... > > Yours in curiosity. From K.Hodges at ftel.co.uk Tue Jun 26 15:46:11 2001 From: K.Hodges at ftel.co.uk (Keith Hodges) Date: Sat Jan 28 04:21:11 2012 Subject: Nebraska question References: <200106250441.OAA29213@bondi.austlii.edu.au> <3B376609.42C196FB@chello.se> Message-ID: <3B38AE43.F4B6AB25@ftel.co.uk> It appears that we are working towards an equivalent of a "graphical wiki" where each wiki-page is a project. Multiple users can concurrently work on any one project. And we could look at the wiki as a metaphore for developing this further. I.e. Wiki features to be implemented in a morphic-wiki server. Project linking, versioning, collaboration... does anyone agree that this is where we are going? Keith From beoneel at mindspring.com Mon Jun 11 18:39:57 2001 From: beoneel at mindspring.com (Bruce ONeel) Date: Sat Jan 28 04:21:29 2012 Subject: Squeak for iPAQ/Linux? Message-ID: <3B08B861006810DD@mta3n.bluewin.ch> (added by postmaster@bluewin.ch) Hi, Thanks! This is up on the ftp site under 3.0/unix-linux/iPaq. cheers bruce Kevin Fisher wrote: > > Hi: > > Check out www.reasonability.net/ipaq. I've got an ipaq/ARM compiled VM as > well as a shrunken Squeak image up there. It works great for me on Familiar > 0.04. > > Hopefully I'll get around to updating the VM and the plugins with the latest & > greatest patches soon. > > > > I know someone out there must've made a tarball of Squeak for > > iPAQ/Linux. Could someone send me a link to the download pages? (I'm > > using a root-nfs intimate distro, so size of the squeak image isn't > > really a problem) > > > > Dean From JArchibald at aol.com Wed Jun 13 15:48:00 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:21:31 2012 Subject: a morphic tutorial in morphic Message-ID: => 6/13/01 9:19:11 AM EDT, karl.ramberg@chello.se => << Command + shift + click selects it directly on Mac. >> This is true (with appropriate translation) on Win'98: Alt + shift + blue-button-click brings up the Morph halo -- and also: Ctrl + shift + blue-button-click brings up the Morph menu directly. Is there a table somewhere of useful key combinations usable for addressing morphic elements? Thanks, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From bert at isg.cs.uni-magdeburg.de Fri Jun 29 12:14:13 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:21:31 2012 Subject: New VM for Linux? In-Reply-To: <3B3C3412.AB6E3737@xtra.co.nz> Message-ID: On Fri, 29 Jun 2001, Christopher Sawtell wrote: > I collected your VM off your ftp archive a couple of days ago. The > binary did not work because we are on Linux-Mandrake 7.1 which is a > glibc-2.1, so I compiled the sources and installed by hand. It all > goes well as a plugin. That VM is more recent than Ian's 3.0pre2, but does not yet have the latest additions. > I expect that I will have to set up a local mirror of Squeakland.org. > > Could we do that please? Are there any special modules for the server or > is a "standard" Apache all right? It's standard Apache plus one tiny CGI script (actually this is a JSP but a *very* tiny Perl script could do the same). > A couple of tiny bugs in the Squeak plugin are that the area of the > plugin does not quite fill the netscape browser window - tehre is about > 2 cms of black around the right-hand and bottom edges, Yes, happens here, too ... hadn't had time to look at it, yet. > and when I go to full screen i.e. "escape the browser" and then try to > go back into the browser we loose all our work. The plugin area of the > browser stays a very light grey. You need to resize the browser-window a little bit, then the plugin jumps back into the page - I'm not yet sure, why. > Today I fetched the B3DAcceleratorPlugin stuff from the ftp archive so > that - hopefully - all the Alice stuff will work, but cannot work out > where the B3DAcceleratorPlugin sources are supposed to be put in the > source tree. It's easiest to make a subdirectory src/unix/B3DAcceleratorPlugin and put the necessary files there (B3DAcceleratorPlugin.c B3DAcceleratorPlugin.h sqOpenGLRenderer.c sqOpenGLRenderer.h sqUnixOpenGL.c sqUnixOpenGL.h). And you need to build a new VM from the image. -- Bert From alphahere at home.com Mon Jun 18 02:44:48 2001 From: alphahere at home.com (Alan P. Kennedy, Sr) Date: Sat Jan 28 04:21:34 2012 Subject: SuperSwiki In-Reply-To: <3B2CD567.2ED9920D@acm.org> References: <3B2CD567.2ED9920D@acm.org> Message-ID: How do you turn off the sources and changes file checks? Sorry if this is a simple question but I'm new to this stuff. I really like my swiki though, and will try to learn some smalltalk because swiki was so cool. Thanks >>>>> "Michael" == Michael Rueger writes: Michael> Bert Freudenberg wrote: >> > Oh, and don't forget to turn off the source and changes file >> checks if > you are running Squeak headless. >> >> Huh? What's headlessness got to do with sources? Michael> Squeak puts up this prompter about missing source or changes Michael> file, which you can't really "click away" when you are Michael> running headless. I'm not developing on Linux, only running Michael> the superswiki, so no changes or source file on that Michael> machine. The server never seemed to start, until I found out Michael> Squeak was waiting on that prompter when I used VNC. Michael> Michael Michael> -- "To improve is to change, to be perfect is to change Michael> often." Winston Churchill Michael> +------------------------------------------------------------+ Michael> | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | Michael> +------------------------------------------------------------+ From rhian.lewis at MCR1.POPTEL.ORG.UK Fri Jun 29 19:40:17 2001 From: rhian.lewis at MCR1.POPTEL.ORG.UK (rhian lewis) Date: Sat Jan 28 04:21:34 2012 Subject: flash Message-ID: ?Does any one have any examples of using the Balloon MMFlash code, or notes relating to it. If so I would really appreciate having a look at them. at From bert at isg.cs.uni-magdeburg.de Sun Jun 17 09:30:24 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:21:54 2012 Subject: SuperSwiki In-Reply-To: <3B2B0CB4.9F28889E@acm.org> Message-ID: On Sat, 16 Jun 2001, Michael Rueger wrote: > > > Torsten.Bergmann@phaidros.com wrote: > > > To use your normal Squeak image with this new super swiki add it as a new > > server to the blue file list with: > > If you are running the Superswiki on a Linux box it is also helpful to > have it connect to a VNC server instead of running it headless. > Oh, and don't forget to turn off the source and changes file checks if > you are running Squeak headless. Huh? What's headlessness got to do with sources? -- Bert From gohu at rocketmail.com Fri Jun 1 06:47:10 2001 From: gohu at rocketmail.com (Göran Hultgren) Date: Sat Jan 28 04:22:05 2012 Subject: Community and Artifact Define One Another In-Reply-To: Message-ID: <20010601064710.96358.qmail@web13908.mail.yahoo.com> Hi all! --- Stephen Pair wrote: > I was not attempting to rewrite history (indeed, attempts at rewriting > history really boil my blood...so please be careful when making such > accusations). > > I guess it comes down to your interpretation of what exactly constitutes a > fork. My definition of a fork is any line of development that occurs in > parallel to any other line of development. When you download Squeak and > begin writing code, you have just forked. (this very technical view of > forking is perhaps influenced by my experience in developing source code > management systems) I would personally call that a branch. But that may be me being influenced by CVS terminology. [SNIP] > So, regardless of what the StSq people may say about forks, according to my > definition, they forked long ago. And, I hope they sync up soon and often. :-) In my world I consider a fork to be more of a statement that "we are going our own way here and do not intend to go back" - or something like that. And as far as I know/can tell such a statement hasn't really been made by StSq - on the opposite actually. But hey, I haven't been involved for so long. :-) On the other hand there are priority differences between SqC and StSq and probably other parties involved too in Squeak (of course) so I can envision scenarios in the future where some forking may occur. On the other hand, one thing to realize here is that the stuff currently being feverishly worked on in StSq (at least three brilliant guys working very hard and producing working results) will hopefully make it much easier to deal with dependencies and packaging which will work as an "antidote" against any ideas of forking! So... anybody accusing StSq for forking blabla should keep that in mind I think - StSq is actually working hard to PREVENT forking in the future. regards, Göran ===== Göran Hultgren, goran.hultgren@bluefish.se GSM: +46 70 3933950, http://www.bluefish.se "Department of Redundancy department." -- ThinkGeek __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From jon at huv.com Sun Jun 10 21:14:20 2001 From: jon at huv.com (Jon Hylands) Date: Sat Jan 28 04:22:13 2012 Subject: About the wonderful internet browser In-Reply-To: <200106102049.XAA13044@mailgw2.netvision.net.il> References: <200106102049.XAA13044@mailgw2.netvision.net.il> Message-ID: On Mon, 11 Jun 2001 01:54:44 +0300 , danielv@netvision.net.il wrote: > Just got to wondering again when I will have a great browser in Squeak, > one of the last things I venture outside for, and this was the most > recent news I could find of your endeavour... Well, I actually released the code back in April, shortly after getting back from Smalltalk Solutions. I don't know if anyone is doing anything with it, though. I haven't heard a peep about it since the conference... I was hoping that I was going to find the time to work on it, but I find myself with so little time on my hands right now, I barely have time to work on MicroSeeker... Later, Jon -------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com From arning at charm.net Sat Jun 30 03:12:12 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:22:19 2012 Subject: Fw: Fw: Very slow performance on faster machine Message-ID: <200106300312.XAA05524@fellspt.charm.net> Tim, Have you tried giving Squeak more memory? Free space of only 3.4% seems quite low. Cheers, Bob On Fri, 29 Jun 2001 21:24:19 -0500 "Tim Cuthbertson" wrote: >> Here are my VM statistics. It does not appear to be doing too many full >> GC's. >> >> uptime 57h54m17s >> memory 18,423,976 bytes >> old 16,357,628 bytes (88.8%) >> young 1,434,376 bytes (7.8%) >> used 17,792,004 bytes (96.6%) >> free 631,972 bytes (3.4%) >> GCs 422 (493975ms between GCs) >> full 1 totalling 388ms (0.0% uptime), avg 388.0ms >> incr 421 totalling 530ms (0.0% uptime), avg 1.0ms >> tenures 0 >> Since last view 201 (193ms between GCs) >> uptime 38.8s >> full 0 totalling 0ms (0.0% uptime) >> incr 201 totalling 254ms (1.0% uptime), avg 1.0ms >> tenures 0 From jk at xylema.org Tue Jun 19 21:22:02 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:22:20 2012 Subject: [pws] Re: [BUG] swiki under-slashification In-Reply-To: <20010619144423.A21368@cc.gatech.edu> References: <15151.37685.828000.512881@noontide.demon.co.uk> <20010619144423.A21368@cc.gatech.edu> Message-ID: <15151.49786.609000.371358@noontide.demon.co.uk> > Yea. This should not longer be a problem. I remember that it was a > problem at one time though. You should probably upgrade to the newest > version (http://minnow.cc.gatech.edu/swiki). Aha - I was using the version in PWS in the 3.1alpha image, which seems to be a bit backlevel. Downloaded and am investigating ComSwiki. Many thanks, John P.S. Is the PWS list archived, btw? From daniel.parnell at oz.quest.com Sun Jun 17 06:41:31 2001 From: daniel.parnell at oz.quest.com (Daniel Parnell) Date: Sat Jan 28 04:22:21 2012 Subject: multi-threaded squeak Message-ID: G'day All, does the Squeak VM support threads? If so, how are they used? Thanks Daniel From jhinsley at telinco.co.uk Fri Jun 29 03:04:18 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:22:23 2012 Subject: BankAccount Tutorial References: Message-ID: <3B3BF032.598151AA@telinco.co.uk> Michael Guenter wrote: > > Hi, > > I have been working through the tutorial but when I try to "accept" the > following code, > > historyMorph > |bars m| > bars_history collect: [:v| Morph new extent: 5@v]. > m_AlignmentMorph newRow centering: #bottomRight. > m addAllMorphs: bars. > ^m > > Squeak tells me that "centering:" is an unknown selector. Of course, when I > told it to confirm and then tried to do a "printIt" in the workspace of the > following, I get an error. I believe I know enough about Squeak that I > shouldn't have had to ask it to confirm "centering:", and just because I did > confirm it, doesn't mean that their is an object to communicate with, am I > right? > > Is the tutorial wrong, or is my version of Squeak (3.0) inappropriate, or > have I made some error in copying it? > > Thanks for your time. Basically, the tutorial was written for an earlier version of Squeak, so the old alignment stuff doesn't work properly now. It certainly used to, so, strictly speaking, the tutorial isn't wrong. Someone did post a fix for it, but I can't find it and it looks like it may not have made it back to the tutorial. I'll try and find it tomorrow or you might like to trawl through the archived list at Yahoo. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From karl.ramberg at chello.se Fri Jun 15 16:04:36 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:22:28 2012 Subject: SuperSwiki References: <909E88754E6BD411926B00400531D64AC9651A@CLEVINGER> Message-ID: <3B2A3214.B3F127B3@chello.se> Jerry Bell wrote: > > Bob's SuperSwiki is very cool. I'd like to set up a local SuperSwiki to > play with here. I've had trouble finding details- is the code for a > SuperSwiki publically available? If so, where? I've looked around the > image a bit, but I haven't found the server code itself. > > Thanks, > > Jerry Bell There is a class called SuperSwikiServer in the 3.1alpha image. No documentation though, you have to ask Bob Arning who made it. Karl From m.rueger at acm.org Fri Jun 22 06:32:38 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:22:31 2012 Subject: Morph selectors size -> 924 References: Message-ID: <3B32E686.500F45EE@acm.org> Stephane Ducasse wrote: > > Thanks for exactness > > I did not check this one! But My intention was to show the impact of been > free to extend class (which I like) in a uncontrolled manner. > > > While I too like classes that are small enough to understand, > > this specific claim is untrue. String>>asHtml uses only Collection > > methods. The HtmlEntities table it refers to lives in String. Which you still did. If your application does not use HTML, what do you need a HTMLEntities table in String for. Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From JArchibald at aol.com Wed Jun 13 08:12:43 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:22:32 2012 Subject: a morphic tutorial in morphic Message-ID: <8f.bcff730.28587a7b@aol.com> => 6/13/01 1:33:50 AM Eastern Daylight Time, lex@cc.gatech.edu => << The tutorial goes through very basic morphic programming skills, including basic attributes, owner/submorph structure, mouse events, keyboard events, stepping, and simple menus and fill-in-the-blank queries >> Lex, At the very beginning of this Tutorial, where a basic Blue rectangular morph (aMorph) is presented, accompanied by the following text: "First, you must make halos appear. Press the "blue" button if your mouse has three buttons." that, although that morph is selectable, and movable, with both red and yellow buttons, it is not selectable (in my Windows'98, Squeak3.1a@4081) environment with the blue button to get its halo. The halo I get is the BookMorph halo. I have noticed this with a couple of other morphs; in particular, a new BOBTransformationMorph created in a normal morphic environment from the 'new morph' menu. Is there a way to (blue button) select for halo a "non-halo" morph? Or is there something peculiar about my environment that I should know about? Thanks, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From bert at isg.cs.uni-magdeburg.de Mon Jun 18 10:40:17 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:22:40 2012 Subject: question In-Reply-To: <001601c0f718$5671aca0$6938a8c0@VETEXCH> Message-ID: On Sun, 17 Jun 2001, Vetal Donchenko wrote: > Can I use an exported function from a dll, Yes, using FFI: http://minnow.cc.gatech.edu/squeak/1414 > which i've previosly written in c++ Nope, this is C only. You'd have to write a C wrapper or declare your functions with C linkage (extern "C"). > in squeak enviroment or propably may be squeak support ole automation? I don't think it does OLE. > And can i do it? Look at the FFI examples (class Win32Window) -- Bert From bert at isg.cs.uni-magdeburg.de Wed Jun 13 15:19:09 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:22:50 2012 Subject: a morphic tutorial in morphic In-Reply-To: <3B276822.70F06F8C@chello.se> Message-ID: On Wed, 13 Jun 2001, Karl Ramberg wrote: > > > Joey Gibson wrote: > > > > On Wed, 13 Jun 2001 04:12:43 EDT, JArchibald@aol.com wrote: > > > > ||| At the very beginning of this Tutorial, where a basic Blue rectangular morph > > ||| (aMorph) is presented, accompanied by the following text: > > ||| > > ||| "First, you must make halos appear. > > ||| Press the "blue" button if your mouse has three buttons." > > ||| > > ||| that, although that morph is selectable, and movable, with both red and > > ||| yellow buttons, it is not selectable (in my Windows'98, Squeak3.1a@4081) > > ||| environment with the blue button to get its halo. The halo I get is the > > ||| BookMorph halo. > > > > On my Win2k system, my first blue click on the blue box morph gets the > > book morph, second blue gets the page and the third blue gets the Blue > > morph in question. A fourth blue click cycles back to the book morph. Try > > that. > > > > Joey > > Command + shift + click selects it directly on Mac. Not only on Mac. Shift+blue selects from innermost to outer morphs, blue click alone frome outer to inner. -- Bert From tim at sumeru.stanford.edu Sat Jun 30 23:06:00 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:22:50 2012 Subject: newbie question - killing a process References: <200106302130.RAA02813@fellspt.charm.net> Message-ID: <3B3E5B58.526A001D@sumeru.stanford.edu> Bob Arning wrote: > The problem is that ProcessorScheduler>>yield creates a new, but very short-lived, process and this may happen very often. I submitted a trivial primitive that completely obviates this minor irritation some time ago. tim From karl.ramberg at chello.se Wed Jun 13 10:04:50 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:23:10 2012 Subject: Drag and drop question Message-ID: <3B273ABF.9A6002A0@chello.se> Is there a way to enable the whole dragging morph as a morph wanted to be dropped, not just the cursor within the whole thing ? (So that when I drag a big morph any part of that over the target morph will be accepted.) Karl From tim at sumeru.stanford.edu Fri Jun 15 14:20:23 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:23:13 2012 Subject: VMMaker & Mac and a few people needed... In-Reply-To: <20010601110939.A30238@ira.uka.de> References: <200105310408.QAA474363@atlas.otago.ac.nz> <20010601110939.A30238@ira.uka.de> Message-ID: <756f0b8b4a.rowledge@goldskin.stcla1.sfba.home.com> Marcus Denker is widely believed to have written: > I will integrate the J3-source with VMMaker -- But I don't have > a mac right now (need to buy one, maybe in a month or two, I hope). > Any progress on this Marcus? tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim "How many Grogs does it take to change a lightbulb?" "One. Something with manipulatory appendages will be along eventually." From ducasse at iam.unibe.ch Thu Jun 7 05:54:05 2001 From: ducasse at iam.unibe.ch (Stephane Ducasse) Date: Sat Jan 28 04:23:20 2012 Subject: A new french column available In-Reply-To: <001201c0ecc3$a2a87220$4f0c10ce@rd.wdi.disney.com> Message-ID: Hi Apparently my first column on Squeak has been printed on a french journal (programmez) I'm waiting to see it. My intention was to give squeak with the cd but this was too late for the first version. I have now written the second column Squeak syntax and small scripts. Thanks for your help continue to post code snippets :) My favorite is 1000 factorial / 999 factorial this is pure fun. It took a while to figure that I was too used to big number and real fraction to realize how good it was. The pdf of the second column will be available on my web page. If you want to read before just send me an email Stef From karl.ramberg at chello.se Sat Jun 9 18:30:13 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:23:27 2012 Subject: BitBlt question Message-ID: <3B226B2D.1EA54A83@chello.se> Is there a already implemented way to adjust the likes of brightness and saturation in the BitBlt combination rules ? Karl From danielv at netvision.net.il Thu Jun 14 21:31:01 2001 From: danielv at netvision.net.il (danielv@netvision.net.il) Date: Sat Jan 28 04:23:30 2012 Subject: ESUG 2001 Message-ID: <200106151320.QAA02183@mailgw2.netvision.net.il> I'll be there. Am I really the only reply or are we losing mails, or what? Daniel core.lists.squeak@core-sdi.com wrote: > Hi! > > who is planning to attend ESUG this august? > http://www.esug.org/summerschools/2001_Essen/programme-2001.html > > Traveling Bye! > Richie From dway at riskmetrics.com Sat Jun 30 15:54:13 2001 From: dway at riskmetrics.com (doug way) Date: Sat Jan 28 04:23:41 2012 Subject: Mac OS X VM (was Re: New VMs) In-Reply-To: Message-ID: <200106301601.JAA04711@albatross.prod.itd.earthlink.net> On Friday, June 29, 2001, at 11:16 AM, Marcel Weiher wrote: > On Thursday, June 28, 2001, at 07:24 Uhr, Doug Way wrote: > >> So, to get the VM I downloaded and untarred Squeak3.0.1-MacOSX- >> VM.tar.gz, and it contained all the sources, but I just wanted the >> compiled VM so I then untarred the Frameworks subpackage as per the >> Readme instructions. > > Is it a problem that it includes source? Not really. I assume at some point we'd want to package a non-sources version (like the pre-built VM-only packages for other platforms), but maybe it's a bit early for that. >> I then realized I probably needed to move the Squeak.framework file >> into the framework search path, which the Readme mentions. > > Both Squeak.framework and SqueakAppKit.framework. Sorry, this was my problem... not sure how I missed this. Once I moved SqueakAppKit.framework over, double-clicking the VM worked, and I could open the .image file from within CocoaSqueak. The feel of CocoaSqueak is slower than running Squeak in the classic environment, but the benchmarks are about the same between the two, so I guess the display updating or events must be a bit slower at this point? Otherwise, it seemed to work pretty well... I didn't run into any crashes (except for the known quit-from-world-menu problem). Thanks for the detailed explanation on Cocoa frameworks. Probably at some point it'd be good to have a combined/binary-only distribution, but it's obviously good to have the framework-based distribution as well. - Doug Way dway@riskmetrics.com > >> I tried moving it to the suggested directories (I had to create them >> both), > > Yes, sadly, the default OS-X install doesn't create those. > >> but I'm not sure if they were actually in my framework search path. > > Either > > /Library/Frameworks/Squeak.framework > /Library/Frameworks/SqueakAppKit.framework > > or > > ~/Library/Frameworks/Squeak.framework > ~/Library/Frameworks/SqueakAppKit.framework > > should work. > > >> (I checked my environment variables but didn't see one which looked >> like the right one. Yes, I am a Cocoa newbie, but I'm familiar with >> Unix.) > > The framework search path is not encoded in environment variables. > >> Double-clicking the VM still didn't work. > > That should have done the trick. > >> Anyway, do all Cocoa apps need a separate .framework file? > > Yes and no. > > Frameworks are the 'default' method for bundling functionality (code / > shared libraries) in MacOS-X. Look at /System/Library/Frameworks and > /System/Library/PrivateFrameworks/, almost all the higher level > functionality in MacOS-X is there. They differ from shared libraries > in that they can contain both code and non-code resources, including > documentation, headers, data-files, user-interface elements, squeak > images/projects, whatever and also have a versioning mechanism so > multiple version of frameworks can exist at the same time and be used > by different applications. > > Since just about all applications on MacOS-X require at least some of > these frameworks, and Cocoa itself comes as (several) frameworks all > Cocoa applications do, in fact, 'require' separate framework 'files', > just like programs on other platforms usually require (system) shared > libraries. > > Not all Cocoa programs bring their own framework files, however. Some > programs simply aren't themselves modular, all the relevant code is > heaped into one single executable (apart from references to system > libraries). However larger pieces of software tend to also have code > that is split into individual frameworks (shared libraries), just like > the system code. I consider this (i.e. system-supported modularity) a > Good Thing. As a matter of fact, absence of this or a comparable > mechanism is one of the biggest problems I have with Squeak at this > time. It's a bit like dynamic messaging: difficult to do without once > you've become used to it. > > When functionality is packaged as frameworks it ceases to be private to > your particular application but instead becomes available for others as > well. For example, OmniWeb makes virtually all of the functionality of > a web-browser available as separate frameworks. Mail.app references a > Message.framework for mail-delivery that is also available to other > applications, ScreenSaver functionality is available as a framework, > etc. > > Apart from the utilitarian effect, this sort of packaging also has a > positive (and difficult to describe) effect on the code you write, > well, at least on the code I write. Together with Objective-C > categories (which allow you to add methods to pre-existing classes), > you can really split your code into small, self contained units that do > one thing, and only one thing, well. Applications then usually become > a matter of a little glue to tie several frameworks together, possiby > with some UI, but maybe also without. That is why CocoaSqueak.app is > only 60K, it really just ties together Squeak.framework (base > interpreter and faceless I/O), SqueakAppKit.framework (GUI, > interaction, media) and Cocoa's application-support. > > This opens up a whole range of possibilities. For example, you can > very easily build your own Squeak-based Cocoa-applications, using a > custom icon, custom code etc. but sharing all the common Squeak VM > stuff via the framework. The framework could also be a centralized > repository for other shared Squeak resources, such as the sources file > or even one or several 'standard' image files. Squeak-Cocoa apps could > then consist of the small binary (as you noted about 60K), some custom > native classes or plugins and maybe a project file. > > A Squeak Shell ( sqsh? ) could benefit from the same mechanism, with a > small executable linking in the framework and thus being able to > execute with a standard image. Of course, the usability of this > depends on being able to load the 'standard' image file quickly. > CocoaSqueak already maps the image-file into memory, so once its there > loading time is negligible with Mach's very lazy virtual memory > subsystem, and Andreas hinted that we might soon be able to do without > going through the image each time on load if we manage to get the same > VM address. > > However, as you note, the problem with this approach is that it makes > installation more difficult, requiring detailed instructions or an > installer program. (I figured that the average Squeak user at this > point is savvy enough to deal with it...). Anyway, MacOS-X also > provides a mechanism for placing an application's frameworks inside the > application wrapper (applications and frameworks are both kinds of > 'Bundles', a specific directory structure for packing executable code > and resources). Of course, this hides the frameworks again, making > them, once again, unavailable for others. Also, this packaging method > requires some voodoo that isn't entirely well supported by Apple's > development tools at this point, which is why I haven't gotten around > to it yet. > > However, creating a combined (and possibly binary-only) CocoaSqueak > package is something that is on the list of things to do, but hasn't > gotten done (along with lots of other things) because I've had a few > other things on the table recently. What would then be great is a > mechanism for making those frameworks sharable as well. > > I hope this answers you question. > > Marcel > From jeff at szuhay.org Wed Jun 27 04:48:20 2001 From: jeff at szuhay.org (Jeff Szuhay) Date: Sat Jan 28 04:23:46 2012 Subject: Very slow performance on faster machine Message-ID: <200106270448.XAA29387@dcs-server1.cs.uiuc.edu> >If it's just Squeak and not other Windows apps that are slower on this >machine, you may want to make sure that there's not something wrong with your >image. Does a freshly downloaded 3.1alpha image perform this slowly? > >Also, it might be worth checking the CPU meter in the Windows task manager >while Squeak is running (and while it's not running) to see if anything >unusual is going on. Doug brings up some very good points. Also, check available hard drive space. I personally have experienced sluggish performance when available disk goes below 100MB. Jeff Sz. -- ************************************************** Jeff Szuhay A randomly-directed www.szuhay.org chaotical wetware pattern jeff@szuhay.org recognizer/generator. We do not inherit the earth from our ancestors, we borrow it from our grandchildren. -- Haida Indian Saying From jhinsley at telinco.co.uk Mon Jun 4 08:40:57 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:23:49 2012 Subject: Odd interaction between Gvim and Squeak References: Message-ID: <3B1B4999.32A898FD@telinco.co.uk> Brent Pinkney wrote: > > FWIW, > > Works fine between Squeak and gvim on Windows. > Yes (sob). This makes me suspect that it may be some kind of problem (very minor in my case, massive in Ned's) with Xwindow. But this really is just a suspicion. BTW, are Reuters doing anything interesting with Squeak/Smalltalk? Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From karl.ramberg at chello.se Sun Jun 24 18:46:45 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:23:55 2012 Subject: opening files References: <200106241522.RAA79198@mailhub1.isdnet.net> Message-ID: <3B363593.F2DFB3F@chello.se> I guess you are in morphic so this would open a number of images: (SketchMorph withForm: (Form fromFileNamed: 'path/to/file.bmp')) openInWindow could be .bmp .gif jpg. .png and a few other I cant remember. Karl Projet DeepLow wrote: > > Hi, > > thanks to Andreas Raab for his explanations, they have really helped > us A LOT. We now know how to set the texture to a VRML object or more > precisely we know how to create a VRML so that we can set its texture. > > We have another problem in squeak : we would like to be able to open a > file from the Squeak environment. By opening we mean see its content > and maybe editing it (in a squeak window), but at least opening it. It > would be great if we could work out txt (for opening and editing) and > bmp files(for opening). We are working on the FileDirectory class and > it doesn't seem to help us a lot. > > Projet DeepLow > Ma?trise Informatique > Universit? de Savoie (France) > Explorateur 3D en SmallTalk > Serna Audrey (madame_dodue@hotmail.com) > Fleutot Pierre (foreveroux@yahoo.fr) > Josserand Samuel (samjosserands@yahoo.fr) > Loiseau Mathieu (MateOstl96@aol.com) From Dan at SqueakLand.org Tue Jun 19 15:33:10 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:23:55 2012 Subject: Menus In-Reply-To: <992872839.3b2e09871f537@webmail.inf.ufsc.br> References: <20010618072242.17854.qmail@web14604.mail.yahoo.com> <992872839.3b2e09871f537@webmail.inf.ufsc.br> Message-ID: Benoit - There are several suggestions from the list now. If you want something really simple, you will find that PopUpChoiceMorph does almost everything needed. If you just put a bunch of these side by side in a rectangle, you'll have a menu bar. See EnvelopeEditorMorph>>addControls for an example of its use. If you want something a bit more iconic, you could also look at SystemWindow>>addMenuControl which creates the menu button in the title bar of morphic windows. - Dan > > Benoit St-Jean wrote: >> >> Anyone knows where I could find a "menu bar" class >> (either MVC or morphic) ? > > I remember Jim Benson implemented a "MenuBarMorph", a long time ago, and sent >to the list. > Egroups and Georg Gollman's mail archive have problems with the attached file. > I don't have the change set here at work (MenuBar.2.cs), but I'll take a look >at home for it. > Jim, do you still have it with you? > > > Ricardo -- From Dan at SqueakLand.org Wed Jun 20 19:16:12 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:24:15 2012 Subject: documentation requests? In-Reply-To: <909874063.993047319@JANEG-PC2> References: <909874063.993047319@JANEG-PC2> Message-ID: >--On Wednesday, June 20, 2001 8:03 PM +0200 Henrik Gedenryd wrote: > >>Noel J. Bergman wrote: >> >>>With respect to Morphic internals, Tim Rowledge recently implied that >>>perhaps he'd go back inside it, and address the performance problems. >>>I'd >> >>Andreas Raab has written to me that he knows a way to make Morphic >>probably about 50% faster about 30% "lighter" (in terms of space usage), >>but that he doesn't think people will accept those changes. > >But *why*? I kinda assume that Andreas doesn't think that we're all dummies or something. That suggests that there are some tradeoffs involved.... > >(Andreas, I'm curious about this whatever the final decision would be!) Folks - Here are a couple of points to bear in mind about Morphic speed (and MVC comparisons). 1. A significant part of MVC's zippiness is that it caches the full bitmap for every window on the screen (you can turn this off in the 'windows...' menu). We could easily do this in morphic as well. It takes more space, but we could certainly make it an option as with MVC. We tend to use full color 16-bit screens with morphic (my MVC window cache is clever in that it really saves only 1-bit deep ColorForms), but there are similar strategies for morphic as well. 2. Another part of the zippiness is that MVC blts screen bits around as part of scroll operations. This can save a lot of time, and it would be quite straightforward to put a cache into ScrollPane (for instance) to do this. 3. Finally, MVC simply doesn't do a lot of things that Morphic does. If MVC repainted its windows during reframing operations, it would not seem so much faster. Using the 'fastDragForMorphic' option in preferences.windows makes a dramatic difference for morphic on slow machines. It may sound like I'm saying there are good reasons that Morphic is slow, but what I mean is that a couple of simple things (that we did a long time ago in MVC) could make it quite a bit faster. I really only think it would take a day or two to experiment with (1) and (2) above, if anyone is interested. I don't know how this relates to other ideas that Andreas may have had. - Dan -- From lex at cc.gatech.edu Sat Jun 30 16:06:36 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:24:31 2012 Subject: Very slow performance on faster machine References: <3B3BD6FC.71143518@telinco.co.uk> <3B39594C.D5A2E22C@telinco.co.uk> <2a1f02914a.rowledge@goldskin.stcla1.sfba.home.com> <3B397236.B69FB393@telinco.co.uk> <006001c0ff6e$22da6f40$0201a8c0@honda> <003201c10036$9a93dc60$0201a8c0@honda> Message-ID: John Hinsley wrote: > The defrag issue does seem a bit wierd. But I wonder if a delete, defrag > and re-install would help? Or you might like to try stopping the > management server. I'm not sure what Oracle does on/to NT, but I know it > wants to play about with the kernel (and grab a huge amount of RAM) on > Linux. -- Which (as well as my calculating that I'd never, ever be able > to afford to run it commercially) is why I use MySQL. But that's another > story. The changes file would naturally get very fragmented, as every "do-it" or method accept will add a record to the end of it. Then again, the changes file is only used if you are browsing code. 2+2 print-it should still be fast. Opening menus and such should still be fast. Lex From ssadams at us.ibm.com Tue Jun 5 13:35:10 2001 From: ssadams at us.ibm.com (Sam Adams) Date: Sat Jan 28 04:24:39 2012 Subject: CAS and Squeak Message-ID: Robert, Your right of course about the time scale required for reasonably successful browser evolution, but hey, parts of the Smalltalk image have been runnning continuosly (sans naps) for decades. And then theres the voting thing. Chad happens. Actually, the most interesting part of the "browser evolution problem" for me is the part about modeling both the functional genotype and functional phenotypes. Alan has lamented for years how we all just accepted the metaclass/class/instance framework we've inherited. THis is a good example of using the existing metaclass/class/instance system to bootstrap a different "metaclass" system, albeit for a specific modeling domain. What we would need for this browser evolution thing would be a Smalltalk class that models a genotype (the brower meta definition) and another Smalltalk class that models the phenotype(s) (the actual running browser instance). This requires a bit of cognitive gymnastics, because the class of your genotype object is effectively the genotype of the genotype (I call them metatypes) and the class that models your phenotype is the genotype of the instance from the Smalltalk perspective, but not from the modeling perspective. But of course, these are also just Smalltalk classes and instances at the same time from the programmer's perspective. Remind anyone of their first Smalltalk class when someone asked the question, "well if everything is an object, and all objects are instance of some class, then a class is an instance, so what is its class?" And the green grass grows all around, all around. And the green grass grows all around. This is a pattern (Metatype-Genotype-Phenotype, or MGP) that shows up frequently when modeling domains that include class/instance relationships. Its a bit too "meta" for most folks, but its very powerful, in my view one of the 3 most powerful complexity reducing patterns known, the others being Ward's "Whole Value", aka make your objects model your domain, and "Thing/GroupThing" (TGT), a slightly more complete form of the "Gang of Four" composite pattern. Whenever I have a design where all three of these patterns can be applied in concert, I get extreme reduction in the complexity of the design and a resulting object model with incredible expressive power while staying true to the domain. On the irreversibility question, interesting ways to look at the work of an image might include: 1) the "unorganized" memory that is colonized with new instances (image growth) 2) the amount of memory reclaimed from object death (garbage collection) 3) the diversity of instance populations (image ecology) 4) the connectedness of the instances (high connectedness implies a highly collaborative design) 5) the growth of diversity (new classes or varying prototypes) 6) the number of blitted bits (total energy output?) 7) number of characters or mouse clicks consumed from the user 8) number of characters or documents (files) input or output 1-5 sounds alot like Thomas Ray's TIERRA alife, so there might be more fruitful analogies along that path. For instance, what is a parasite object or morph in Squeak? Regards, Sam Sam S. Adams, IBM Distinguished Engineer, IBM Research tie line 444-0736, outside 919-254-0736, email: ssadams@us.ibm.com <> "Robert Withers" To: Subject: Re: CAS and Squeak 06/05/01 09:40 AM Please respond to squeak Sam, "Evolving" systems do seem to suffer this problem of slow improvements, to which David refers. A measure I had heard was that a GA halves the fitness distance to the optimal solution for each doubling of evolution time. We would also have a performance cost for evaluating individuals in a population. For browser evolution with voting feedback, if we want 1000 individuals per generation, and it takes 1 sec per evaluation, with 40 generations to evolve over, we have a lot of evaluating (and voting too!). This is why CAS stikes a chord. Once the engine is started, it should change behavior over shorter timescales. Maybe it would be interesting to evolve a screensaver evaluator, where we evolve the fitness evaluator for screensaver evolution. This could work by generating a random evaluator, then the screensaver would evolve using this evaluator. We vote relatively on the best screensaver to come from that evaluator when we come back from coffee. :) CAS would seem to drive a different view of generating new browser layouts if we could only specify and model it. A genetic specification, for a browser layout, could efficiently encode the structure for the evolution side of alife. We could include the action handlers and aspect displayers as part of the gene expression for the browser. I am having difficulty in imagining how we could structure the phenotype as a CAS. Do you think we could model a CAS as the event processor behind a browser, to "evaluate" the phenotype of each browser genotype? The Browser CAS should be able to always enforce the constraints (layout, event handling, and display), but also efficiently produce results. These results could be the answer to any query, especially alt-q types of queries and senders/implementors. As I get further in Kauffman's book, irreversibility starts to come back to me from the dark days of stat mech and work cycles. Can we define the "work" that an image does when we interact with it? Perhaps in the area of reflection activities? Every operation certainly changes the thermodynamic state of the image, but we also keep a history list. Doits that aren't reversable ("OrderedCollection allInstances become: Smalltalk") seem to represent irreversible informational actions, and since information is a thermodynamic state of energy.... cheers, Robert ----- Original Message ----- From: Sam Adams To: Sent: Friday, June 01, 2001 9:54 AM Subject: Re: CAS and Squeak (emerging... ;-)) > Rob, > Here's an example "alife" application to try in Squeak. Since we have all > these nice high level morphs, events and scripts now, why not let your > tools "evolve" on their own? For instance, what if our beloved browser > occasionally opened up with a different structure, even just a different > layout, or perhaps with an extra pane or two showing other known aspects of > classes, variables and methods. The "genes" involved determine the kinds > of panes to include, their relative size and layout, what menu items to > present, etc. Selection would occur via the user "voting" in various > degrees in favor of the change, perhaps by the time the window is left > open, the number of clicks within (usage), or a simple ballot on the title > bar. The alife system would then take the experience into consideration > when proposing the next browser to the user. Slow, for sure. Frustrating > for the user, probably. But would it generate something novel that might > stick? Possibly, which is often the best you can do with > generation/variation/selection systems. > > Paul Fernhout once built a fascinating alife application when we were both > at the AI lab at North Carolina State University. These robot critters > wandered around scavenging (and sometimes stealing) parts from the > environment and each other and assembling copies of themselves that then > went off to do likewise. Aside from the fun of watching such a system run, > there were a number of interesting cases where more than one critter fought > over the same part, or strange hybrid critters appeared. Something like > that in Morphic would be way cool. Consider a little robot (or even > better, several) wandering around your desktop reassembling morphs, > copying, stealing and de/recomposing scripts. Sort of like blobmorphs with > a mission. > > Regards, > Sam > > Sam S. Adams, IBM Distinguished Engineer, IBM Research > tie line 444-0736, outside 919-254-0736, email: ssadams@us.ibm.com > <> > > > > > "Robert > Withers" To: > iaone.net> Subject: Re: CAS and Squeak (emerging... ;-)) > > 06/01/2001 > 02:45 AM > Please respond > to squeak > > > > > > Hi Sam, > I didn't know Squeak could do that. :) That's the exact vein of reading > that I've done in years past. I made it through half of Prigogine's > "Order > out of Chaos" (and it was tough going) and read Kauffman's original volume > "Orgins of Order", which rocks. It's also out of print though. > > I hadn't heard of Echo, since it has been several years since I followed > SFI > work. Here is a link in case others are interested: > http://www.santafe.edu/projects/echo/. Unfortunately it seems as if many > of > the links are broken. I'd be interested in helping bring Echo to Squeak. > > The only stumbling block I come across when considering alife and friends > is > what to apply it too. It is interesting for it's own sake, and of course > there is cognition (wow!), but most things done in a computer are linear > ordered operations. Almost everything people do _programmatically_ is > focussed around controlling inputs (in a very restrictive way), > transforming > the data, and generating output. Except for (and not exclusively) we (wee? > wheee!) Squeakers and Smalltalkers. Maybe the reactive parts of a computer > environment could be good areas for this, like scheduling, simulation, UI > event processing and human interaction, and 'new breed' AI (neural nets, > GAs, alife). > > There is this aspect of the Squeak environment that seems as if it is close > to doing your next task for you. How could we increase feedback to Squeak > about the efficiency and fluidity of an individual interacting with Squeak? > There seems to be several modes that I operate in with Squeak. Exploring > classes, debugging, designing, playing with tools like Alice, sound and > such. A properly specified CAS may detect these different modes and may > be > able to change structure/behavior appropriately. Instead of separate > bounded projects, each with their own layouts and open views, when we > switch > modes, Squeak would restructure the current project's tools for that mode > of > interaction (we would still have different Projects but I like how one can > switch immersions). I like to think there is a way to build a CAS that > could adapt to those perceived modes of operation and the resulting > immersion. > > Everyone puts so much work into Squeak, that we may be able to achieve > negative changes in entropy, but I think that's different than > irreversibility. Now where did I leave Ilya's book... > > Rob > > > ----- Original Message ----- > From: Sam Adams > To: > Sent: Thursday, May 31, 2001 10:56 PM > Subject: CAS and Squeak (evolved from: Squeakland Evolution project thingy > ;-)) > > > > Rob, > > Ahh, now you're talking. I too have been long fascinated by the dynamics > > of complex systems, especially emergent behavior. Hollands "Hidden > Order" > > is a great source of ideas and approaches for complex software systems. > > Anyone up for implementing ECHO in Squeak? Also, Kauffman's previous > work > > "At Home in the Universe" contains an excellent but simple experiment to > > describe his NK models (the buttons and string example) that would make a > > great interactive essay. Almost 5 years ago, Steve Burbeck and I > > implemented something akin to his random boolean networks in Squeak as > part > > of our research into Self Configuring Systems at IBM. It's truly amazing > > how quickly such system's lock into the "frozen" or "highly ordered" > > regime, even starting from a completely (pseudo)random network of > > interacting nodes with random goals. Very counterintuitive. This > research > > has led us to develop techniques for harnessing and steering emergent > > behavior in the service of some very ambitious research goals, namely > > human-like cognition in machines. Yes, in Squeak. Most of the details > are > > all under wraps of course and we expect a number of years of work ahead > to > > achieve the goal, but some of the progress we are making is very > promising. > > Think feedback loops, lots of them, intersecting each other, then go and > > contemplate a whirlpool vortex in your local creek or bathtub for awhile. > > Sorry, flush toilets won't do, on either side of the equator. ;-) > > > > While I'm on the subject of complex adaptive systems (CAS) and Squeak, > has > > anyone spent any cycles considering the irreversibility of a Squeak > image? > > Ilya Prigogine, Nobel laureate in chemistry, wrote an excellent if > > difficult book on complexity and irreversibility called "Order out of > > Chaos", back in 1989, but it seems to be out of print. I haven't read > his > > latest work, "The End of Certainty : Time, Chaos, and the New Laws of > > Nature" by Isabelle Stengers and Ilya Prigogine, but it seems to be on > the > > same track. His preoccupation with the so called "Arrow of Time" could > be > > very enlightening if applied to software development, especially in the > > dynamical social context of the Squeak community. > > > > FYI, I recently found an excellent online introduction to Chaos and > > Complexity in a rather unorthodox place, http://www.cna.org/isaac/lw1.pdf > . > > Warning, its a bit of a fat download for the narrowbanded. > > > > Regards, > > Sam > > > > Sam S. Adams, IBM Distinguished Engineer, IBM Research > > tie line 444-0736, outside 919-254-0736, email: ssadams@us.ibm.com > > <> > > > > > > > > > > > > From chrisn at Kronos.com Fri Jun 29 18:46:11 2001 From: chrisn at Kronos.com (Norton, Chris) Date: Sat Jan 28 04:24:41 2012 Subject: Icons Message-ID: <8E197B764EBFD4118D120020480E3D7549130B@exchgcc.kronos.com> Duane Maxwell wrote: "I think there are a few changesets lurking around that add XPM reading to Squeak. I know I released one a while back, and was told that somebody had written a better one before me." You can find Chris Reuter's and Duane Maxwell's XPM code here: http://swiki.gsug.org/sqfixes/ Go to the bottom of the page, click on "Show all messages", then search the page for XPMReadWriter. Cheers, ---==> Chris From DiegoGomezDeck at ConsultAr.com Mon Jun 18 20:20:33 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:24:47 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: References: <200106172005.QAA11429@blackwolf.golden.net> Message-ID: <5.1.0.14.0.20010618171952.00bdf800@mail.consultar.com> Has the iPAQ buttons some function with Squeak for WinCE?? TIA, Diego Gomez Deck >Diego, > >Do you mean JS Landscape? From Jimmy Software? > >There is code in the build for handling landscape mode, but it is currently >#IFDEF'd out. I haven't looked at it, but it probably needs work. > >Personally, I'd use something like NVD instead, if it is GAPI compatible >(I've sent off an e-mail inquiry, since I haven't tried it). For one thing, >the use of a keyboard and the use of landscape mode are currently >incompatible, since the Stowaway mounts the device in portrait orientation. > > --- Noel From hirzel at spw.unizh.ch Thu Jun 21 21:24:28 2001 From: hirzel at spw.unizh.ch (Hannes Hirzel) Date: Sat Jan 28 04:24:50 2012 Subject: Contest! In-Reply-To: <01062109012507.06042@ned.bike-nomad.com> Message-ID: On Thu, 21 Jun 2001, Ned Konz wrote: > On Thursday 21 June 2001 04:08, Committee on Senseless Method Addition wrote: > > > I hope that everyone will be eager to participate...if everyone of the list > > were to contribute just one method, I'm sure that we could break the 1000 > > mark in no time. > > I don't know... my image has 1025 selectors in Morph. I added a number of > them in my Connectors stuff. > > I can't say it was easy getting there. Ned, you say it wasn't easy for you to understand the class Morph (obvious if it has 1000 methods - imagine a C program with 1000 functions). Could you give some examples of the things you found most difficult to understand? Do you have any suggestions for refactoring? Cheers Hannes Hirzel From vincent.coetzee at rmb.co.za Tue Jun 12 15:52:11 2001 From: vincent.coetzee at rmb.co.za (Vincent Coetzee) Date: Sat Jan 28 04:24:56 2012 Subject: Loading true type fonts into Squeak Message-ID: <200106121552.f5CFqDo13796@carbon.rmb.co.za> Hi there Squeak uses truetype fonts (or so I am told).I have tried repeatedly to load TT fonts into Squeak using the TTFontReader. This works however when I try to use the font menu to select the font for use I get BitBlt errors. Is there a fix for this problem or some other way to correctly load fonts into Squeak ? Thanks Vincent Squeakl Newbie From Alan.Kay at squeakland.org Wed Jun 13 21:47:35 2001 From: Alan.Kay at squeakland.org (Alan Kay) Date: Sat Jan 28 04:25:14 2012 Subject: a morphic tutorial in morphic In-Reply-To: References: <3B2762D2.76AA0217@telinco.co.uk> <8f.bcff730.28587a7b@aol.com> Message-ID: BTW, Squeak runs really well (including the 3D stuff) on the new iBook from Apple. So, well in fact, that I have been giving all my recent demos on it. (It's not quite as fast as the big Powerbooks, but very impressive nonetheless on this very inexpensive machine.) Cheers, Alan ------ At 1:13 PM -0500 6/13/01, Lex Spoon wrote: >John Hinsley wrote: > >> Works the same for me under Linux. But I'm getting *very* slow response: >> I did "browse morph class" and I really thought Squeak had locked up! >> (I've probably got too many projects from Squeakland loaded). I have >> memory 70mk. Any ideas how high I can push it with X and Kde running? I >> note I can't run Gimp and Squeak and Kde together anymore. 128Mb RAM. >> > >Well, it's not *real* fast on my computer, so maybe you're already >seeing it as good as it gets! Two things you might try, though, are: > > 1. Run Squeak with more memory, e.g. "Squeak -memory 30m >Squeak3.0.image" > > 2. Get the latest VM. The way mouse input works has changed, and an >old VM plus a new image might just be a slow combination. > > > >-Lex -- From karl.ramberg at chello.se Fri Jun 29 21:04:33 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:25:19 2012 Subject: Color accuracy Message-ID: <3B3CED5A.24CB23E4@chello.se> Why is color internally represented with 1023 possible values for each red green or blue, when a color at 32 bit screen depth is limited to 255 for each? That's 4 times the precision needed. Karl From Yoshiki.Ohshima at disney.com Fri Jun 29 17:38:54 2001 From: Yoshiki.Ohshima at disney.com (Ohshima, Yoshiki) Date: Sat Jan 28 04:25:34 2012 Subject: New Block Closures, New Compiled Methods, and System Tracer In-Reply-To: References: <41c1338e4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: <20010629103854I.Yoshiki.Ohshima@disney.com> Hello, Anthony, > Is there any code for these, particularly any SystemTracer code. I already > have most of the compiler and interpreter re-written using the new > CompiledMethod format and BlockClosures, but I can't test it until I convert > an image using SystemTracer. I ran the basic SystemTracer that comes with > the latest image. It finishes creating an image file, but when I start it > up the VM crashes (Exception code: C0000005) in Windows 98. Has anyone > created a working clone lately? The problem is the handling of the obsoleted classes. Attached changeset should fix the problem. Try it and let me know the outcome. (It was while ago I did this and the memory is a bit vague. You might have to rehash some unordered collection after the cloned image is started up.) Hope this helps, -- Yoshiki -------------- next part -------------- 'From Squeak3.1alpha of 7 March 2001 [latest update: #4081] on 29 June 2001 at 10:33:36 am'! 'From Squeak3.0 of 4 February 2001 [latest update: #3545] on 22 February 2001 at 9:40:30 am'! Object subclass: #SystemTracer instanceVariableNames: 'oopMap map file writeDict maxOop specialObjects initialProcess hashGenerator imageHeaderSize cleaningUp compactClasses replacementClasses validOops ' classVariableNames: 'Clamped NewNil UnassignedOop ' poolDictionaries: '' category: 'VMConstruction-Interpreter'! !SmallInteger methodsFor: 'comparing'! hashMappedBy: map ^ self! ! !SystemTracer methodsFor: 'initialization'! initCompactClasses | c | c _ Array new: 31. "These classes have a short name (their index in this table. It is not their oop.) Thus their instances can use just a single word as their header in memory." c at: 1 put: CompiledMethod. c at: 2 put: Symbol. c at: 3 put: Array. c at: 4 put: Float. c at: 5 put: LargePositiveInteger. c at: 6 put: String. c at: 7 put: MethodDictionary. c at: 8 put: Association. c at: 9 put: Point. c at: 10 put: Rectangle. c at: 11 put: ClassOrganizer. c at: 12 put: TextLineInterval. "**NOTE** at present the Squeak VM relies on BlockContext=13 and MethodContext=14" c at: 13 put: BlockContext. c at: 14 put: MethodContext. c at: 15 put: PseudoContext. compactClasses _ c. "16 to 31 are available for user defined compact classes." "Attempt to correctly write contextCache image.." compactClasses _ Smalltalk compactClassesArray! ! !SystemTracer methodsFor: 'initialization'! initDict writeDict _ Dictionary new: 256. Smalltalk allClassesDo: [:class | class isBits ifTrue: [writeDict at: class put: (class isBytes ifTrue: [#writeBytes:] ifFalse: [#writeWords:])] ifFalse: [writeDict at: class put: #writePointers:. (class inheritsFrom: Set) | (class == Set) ifTrue: [writeDict at: class put: #writeSet:]. (class inheritsFrom: IdentitySet) | (class == IdentitySet) ifTrue: [writeDict at: class put: #writeIdentitySet:]. (class inheritsFrom: IdentityDictionary) | (class == IdentityDictionary) ifTrue: [writeDict at: class put: #writeIdentitySet:]. (class inheritsFrom: MethodDictionary) | (class == MethodDictionary) ifTrue: [writeDict at: class put: #writeMethodDictionary:]]. ]. "check for Associations of replaced classes" writeDict at: Association put: #writeAssociation:. Smalltalk allObjectsDo: [:obj | (obj isKindOf: Behavior) ifTrue: [ writeDict at: obj class put: #writeBehavior:]]. writeDict at: PseudoContext class put: #writeBehavior:. writeDict at: SmallInteger put: #writeClamped:. writeDict at: CompiledMethod put: #writeMethod:. writeDict at: Process put: #writeProcess:. writeDict at: MethodContext put: #writeContext:. writeDict at: BlockContext put: #writeContext:.! ! !SystemTracer methodsFor: 'mapping oops'! hasNoSmallIntegerClamped: obj ^ (self mapAt: obj) = Clamped! ! !SystemTracer methodsFor: 'mapping oops'! initOopMap "oopMap is an array 4096 long indexed by basicHash. Each element a subarray of object/newOop/hash triplets. The subarrrays must be linearly searched. Access to an object causes it to be promoted in the subarray, so that frequently accessed objects can be found quickly." oopMap _ (1 to: 4096) collect: [:i | Array new]. validOops _ IdentitySet new: 250000. "replacementClasses is a simple Dictionary to contain pairs of classes (well, globals should work actually) where the key is a class being replaced and the value is the replacement class" replacementClasses _ Dictionary new! ! !SystemTracer methodsFor: 'mapping oops'! mapAt: obj put: oop with: hash "Assign the new oop for this object" | bucket | bucket _ oopMap at: obj identityHash+1. "Check for multiple writes (debug only)" " 1 to: bucket size by: 3 do: [:i | obj == (bucket at: i) ifTrue: [self halt]]. " oopMap at: obj identityHash+1 put: (Array with: obj with: oop with: hash) , bucket. validOops add: oop! ! !SystemTracer methodsFor: 'private'! permutationFor: array useIdentity: useIdentity "Return an inverse permutation for an array to permute it according to the mapped oop values. The keys in array MUST have been mapped." | len perm key hash | len _ array basicSize. perm _ Array new: len. 1 to: len do: [:i | key _ array basicAt: i. (key == nil or: [self hasNoSmallIntegerClamped: key]) ifFalse: [hash _ (useIdentity or: [key class = Symbol]) ifTrue: [key identityHashMappedBy: self] ifFalse: [key hashMappedBy: self]. hash _ hash \\ len + 1. [(perm at: hash) == nil] whileFalse: [hash _ (hash = len ifTrue: [1] ifFalse: [hash + 1])]. perm at: hash put: i]]. ^ perm! ! !SystemTracer methodsFor: 'private'! writePointerField: obj | newOop | obj class == SmallInteger ifTrue: [obj >= 0 ifTrue: [newOop _ obj * 2 + 1] ifFalse: [newOop _ (16r80000000 + obj) * 2 + 1]. self write4Bytes: newOop. ^ obj]. "normal pointers" (newOop _ self mapAt: obj) = Clamped ifTrue: ["If object in this field is not being traced, put out nil." self write4Bytes: NewNil] ifFalse: [(validOops includes: newOop) ifFalse: [self halt]. self write4Bytes: newOop]! ! !SystemTracer class methodsFor: 'instance creation'! writeClone "SystemTracer writeClone" | tracer | tracer _ self new. "Delay shutDown." "part of Smalltalk processShutDownList." Symbol useHardSymbolTable. tracer doit. " <-- execution in clone resumes after this send" tracer == nil "will be nil in clone, since it is clamped" ifTrue: [Smalltalk processStartUpList: true. Symbol useWeakSymbolTable. "Set allInstances do: [:s | s rehash]." "Dictionary allInstances do: [:s | s rehash]." ]. ^ tracer! ! From G.J.Tielemans at dinkel.utwente.nl Tue Jun 19 10:27:22 2001 From: G.J.Tielemans at dinkel.utwente.nl (G.J.Tielemans@dinkel.utwente.nl) Date: Sat Jan 28 04:25:48 2012 Subject: [ANN][ADV]Squeak News E-Zine First ever issue Message-ID: <0A86973A0847D4119E1B00508BAD3040B7DA8B@civntex1.civ.utwente.nl> Saw the index... 1. Will there be a column like "Squeak for Dummies"? 2. Will you cover "Swiki for non-webmasters"? -----Original Message----- From: Editor [mailto:editor@squeaknews.com] Sent: Tuesday, June 19, 2001 10:47 AM To: squeak@cs.uiuc.edu Subject: [ANN][ADV]Squeak News E-Zine First ever issue Hello, fellow Squeakers, This email is to inform you that there is now a periodical fully dedicated to Squeak. Squeak News e-zine (electronic magazine) is a radical departure from most classical periodicals because it is interactive and multi-media, and uses the medium that it is created for as a main means of delivery! The first ever issue is the July 2001 issue and it is available in two forms: a subset of the e-zine will be available on the http://www.squeaknews.com on 1st of July, and the full featured e-zine is available fully in Squeak on small saddle-shaped CDs (or standard CDs for people whose computers can't read smaller CDs) which will start shipping before 1st of July. There is also a monthly email newsletter that contains the summary of activities in that month. I invite you to examine the site and would very much like your comments and feedback. Check out the contents. In this issue there are cool articles by prominent Squeakers such as Ted Kaehler and Tim Rowledge, the first part of an in-depth interview with John Maloney, and fun articles such as learning how to juggle in Squeak. If there are no objections, I would like to be able to send the table of contents to the list every month. Most articles are directly related to Squeak. Bear in mind that although this is a commercial venture or at least attempting to be commercial, it is long way away from being self sufficient and all contributions to the e-zine were done voluntarily by generosity of the authors, and I am indebted to them. Let me take this opportunity to thank them all. The site is not in its final stage. There is a lot more to do. Unfortunately not all parts of the site are fully observable from Scamper, but our goal is to be able to hook up to the site using only Squeak for Squeak users, totally eliminating the browser. We are close to this goal so bear with us. There is also an ambitious Squeak documentation initiative that will be launched with the e-zine on the 1st July. I know that to a lot of us Squeak documentation is very important. Your help in this area will ensure that we have the best and most up to date documentation for Squeak accessible from within Squeak as well as on the web and in a printable form. Finally, I would again like to call all of you to contribute. It is extremely rewarding to see an article come to life, a much different experience to having text on paper. By having your article featured in the e-zine you will get a free one year subscription to the CD-Rom version of the e-zine. Please let your friends who have even a mild interest in Squeak know that there is now such an e-zine. You will find that it is an excellent tool to promote Squeak. We have no means of advertising at this stage and if Squeak News is to take off it will be only through word of mouth. Thanks again to all people who contributed, encouraged and believed. This is your achievement. Cheers Tansel Editor, Squeak News From jiehuang at cse.ogi.edu Wed Jun 6 21:45:29 2001 From: jiehuang at cse.ogi.edu (Jie Huang) Date: Sat Jan 28 04:25:50 2012 Subject: Distributed squeak? References: <20010605142103.87749.qmail@web13903.mail.yahoo.com> Message-ID: <3B1EA479.E6985758@cse.ogi.edu> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: s2s.1.cs.gz Type: application/x-gzip Size: 28482 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010606/c3b76873/s2s.1.cs.bin From johnmci at smalltalkconsulting.com Mon Jun 4 01:23:08 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:25:52 2012 Subject: stable Squeak (Fonts) free Accuny for browser. In-Reply-To: <200106040028.f540SFv16659@smtp-server2.tampabay.rr.com> References: <200106040028.f540SFv16659@smtp-server2.tampabay.rr.com> Message-ID: >any of them, including those in the present Squeak image? Didn't address this. The intent of acquiring a right to use the accufonts was to get a license for the Squeak community, not just stable Squeak. How that gets into the mainstreamm Squeak image and how the licence file changes etc hasn't as you've noticed been address yet. I've not seen exactly what that licence agreement requires, so perhaps Duane Maxwell can comment since he was responsible for the arrangement. Or maybe the Squeak stable folks can speak since they should be following that agreement. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From m.rueger at acm.org Fri Jun 22 22:55:04 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:25:56 2012 Subject: Good interfaces gone bad References: Message-ID: <3B33CCC8.D7A99687@acm.org> "Noel J. Bergman" wrote: > For example, could one seriously suggest that "Color fromString: '#FFCCAA'" > is unclear or inconvenient compared to '#FFCCAA' asColor", or that it would > be worth polluting the String interface for the perceived convenience, were > someone so inclined? But then you are giving up polymorphism: aVariableContainingAColorOrBitMapOrStringOrWhatever asColor Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From noel at devtech.com Sun Jun 10 23:14:01 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:26:03 2012 Subject: About the wonderful internet browser In-Reply-To: <200106102131.AAA09796@mailgw1.netvision.net.il> Message-ID: Daniel, > Jon [posted] an image and sources, so that ball too, is in now our hands. Where did he post it? I don't see it on his site, nor do I find it in the Squeak Fixes Archive (http://swiki.gsug.org:8080/sqfixes/all). How does it differ from Scamper? --- Noel From rwithers12 at mediaone.net Thu Jun 28 04:12:14 2001 From: rwithers12 at mediaone.net (Rob Withers) Date: Sat Jan 28 04:26:09 2012 Subject: A problem with startUp messages In-Reply-To: <01062723532400.32716@bacchus.callisto.com> References: <200106280130.VAA12285@blackwolf.golden.net> <01062723532400.32716@bacchus.callisto.com> Message-ID: <01062800185200.03333@bacchus.callisto.com> Just ignore my previous post, please. Imagine a computer that wasn't completely booting and here I am asking if it's been plugged in. "Is it that thingy causing the problem?" :-) On Wed, 27 Jun 2001, Rob Withers wrote: > Hi Kevin, > > Is there a signal handler being installed for SIGCHLD, in the vm? The default > action (SIG_DFL) is to ignore the signal. I thought the child PID goes > zombie as a result, but I couldn't find evidence in the man pages.. > > Rob > > On Wed, 27 Jun 2001, Kevin > Fisher wrote: > Hi folks: > > > > I've been working with David Lewis, trying to figure out why OSProcess has > > been leaving behind zombie processes. It turns out, the problem > > isn't with OSProcess at all... > > > > In my image, the SystemDictionary's StartUpList has UnixOSProcessAccessor > > later in the ordered collection, after SecurityManager. When the image gets > > restarted, only classes iterated over the StartUpList up to and including > > SecurityManager receive the startUp message. After that, SystemDictionary>> > > send:toClassesNamedIn:with: terminates prematurely, leaving several classes > > not restarted (including UnisOSProcessAccessor, the source of the OSProcess > > zombies). Actually I'm not sure it terminates at all, it seems to get stuck > > at SecurityManager. > > > > It looks as though SecurityManager class>>startUp never returns...but only > > during startup. Once the image is up and running, doing a SecurityManager > > startUp seems to work just fine...it's only during the startup that something > > funny happens. The trick is to put Transcript show: scaffolding around 'self > > default startUp' in SecurityManager class>>startUp...open a Transcript, save > > the image and quit, reload and watch what gets put in the Transcript. The > > first Transcript show: will appear, but the second does not. However, once > > the image is up, doing a SecurityManager startUp will show both Transcript > > show: 's. Perhaps some sort of deadlock is happening during the restart of > > the image? > > > > I'm a bit stumped at this point...any ideas? This is on the UNIX VM, with the > > latest changes in the 3.1 image. From jhinsley at telinco.co.uk Thu Jun 28 15:05:56 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:26:13 2012 Subject: New VM for Linux? References: Message-ID: <3B3B47D4.756E7470@telinco.co.uk> Bert Freudenberg wrote: > > On Thu, 28 Jun 2001, Christopher Sawtell wrote: > > > Greetings Squeak World, > > > > Recently, when updating the image at patch # 4023B3DBumper, I noticed a > > mention of the need to install a new VM which was to be available > > 'soon'. > > > > I had a look around some of the usual ftp archive but could not find > > anything apart from the VM for the N.S. Plugin, which btw, seems to go > > well. > > It's "do it yourself" for now. I can send you my VM + OpenGL plugin if you > want (compiled in RedHat 7.1 so probably requires fairly new glibc). Alternatively, I can send you mine built around SuSE 6.4 (glibc 2.1.3). I don't have the OpenGL plug in, though. ;-( Ask and you shall receive. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From spair at advantive.com Fri Jun 1 14:44:30 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:26:14 2012 Subject: [ANN] StableSqueak first release - 0.1! In-Reply-To: <20010601071436.11537.qmail@web13904.mail.yahoo.com> Message-ID: Guys, this is really looking good so far... Actually...it seems the Squeak look and feel has grown on me more than I've realized. I adjusted the fonts a little (I prefer a thinner font than the default), changed some colors here and there...but no big deal. I like that you've purged the controversial fonts out of the system. I have one suggestion about the URLs...how about using "src" or "code" for the prefix instead of "repos"...or, if you don't want to use something that indicates source code, how about "sqtp" or "stp"? The URLs would then look like: src://SqueakBase/SUnitConfig/0.1 code://SqueakBase/SUnitConfig/0.1 stp://SqueakBase/SUnitConfig/0.1 rtp://SqueakBase/SUnitConfig/0.1 - or - sqtp://SqueakBase/SUnitConfig/0.1 Also, have you actually defined the streaming protocol yet? - Stephen > -----Original Message----- > From: Gvran Hultgren [mailto:gohu@rocketmail.com] > Sent: Friday, June 01, 2001 3:15 AM > To: squeak@cs.uiuc.edu > Subject: [ANN] StableSqueak first release - 0.1! > > > I am posting this on behalf of John who has trouble with his connection. > > Last minute note: > Before you guys jump in - the Squeakfoundation server was moved > just a few hours ago so it seems a > file has gone missing in that process - a contribution for Mac > users by Henrik Gedenryd. Henrik > will probably upload it again within a few hours as soon as he > reads his email. > > Ok, enough with the silly talk, here is John: > ----------------- > For the impatient, a public crash dummy release of the > Squeak World Tour code is available at: > http://swiki.squeakfoundation.org/stablesqueak > > Others are advised to wait a few days when a far > more comprehensible update will be released. > Mail will be sent to the list upon each release > update. > > Documentation in the image is currently out of sync > with the code. Not all of the subsystems have been > placed in the repository, nor does the distribution > match exactly what Goran Hultgren describes in his > very informative report on the prerelease. > > Andreas Raab has graciously provided me with code > snippets that will make the image play happily with > the latest 3.1 VM. These changes will be going in this > weekend with documentation correction, cleanup and > enhancement. Further code should also have loadable > configurations. > > Further, mac users will probably have to know how > to set the creator flags on the image file in order > for it to be double clickable. > > (Quoted text is from the article, "Design Principles > Behind Smalltalk" by some guy named Dan Ingalls) > > The Squeak world tour is a traveling feast that has > roamed around the world with the express intention of > reflecting upon the core of Squeak and applying > refactorings to make the code more reusable and > configurable. It is an offshoot of the Camp Smalltalk > project which is an ad hoc community effort to build > lots of really useful stuff that is portable to all > of the major dialects of Smalltalk. > > It was Ralph Johnson who suggested a tour guide. > Someone to give a thread of continuity to the effort. > That role somehow fell upon my head. In my role as > tour guide I cull bits and pieces of work that others > have done and reshape them into something new called the > Squeak World Tour image. > > It is my express goal to serve as a shepherd in this > process. It is my fervent hope that a myriad of configurations > will grow from this base as people explore their passions > and use the environment to experiment with new ways > of doing things. After all, a fundamental principle > in the design of Smalltalk is... > > "Personal Mastery: If a system is to serve the creative spirit, > it must be > entirely comprehensible to a single individual." > > Smalltalk has quite admirably addressed this principle > in its image based development. The first releases of > the World Tour are intended to come up with the smallest > possible image that is still a usable development environment. > Further, the code that comprises this is externalized in > a repository, first as fileins later as modules or whatever > else people choose to do. Configurations of these files > may be named and revisioned as well. A very small bootstrap > of very portable code is all that is required to allow > other dialects to access one of these repositories. > > "Modularity: No component in a complex system should depend on > the internal > details of any other component." > > Most of the early work in the tour was directed toward understanding > unnecessary coupling of classes and methods in the base image. > Models don't need explicit knowledge of morphs and view, so that > was factored out. Two very important goodies in the first release > are Smalllint and RefactoringBrowser. These are two extremely > powerful tools for examining the code base and making controlled > improvements to said code base. > > "Natural Selection: Languages and systems that are of sound design will > persist, to be supplanted only by better ones." > > I am a strong believer in self organizing systems and evolution as > tools of progress. Unlike others on the list, I think forking is good. > With the caveat that one needs to be able to share the best of what > one does with others who may live on other branches or even in different > trees. (What is the sound of a metaphor breaking? ;-}> ) The fear of > forking comes in that one may wind up on an evolutionary dead end... > abandanado and verloren. If we can recognize, name, and structure > variation, then we have a means of sharing the valuable parts of > our experimentation with others... even if they reject our world > as a whole. My belief system asserts that variation is the means > of evolution and selection is the process. Making tools to recognize, > categorize and revision variation gives us the tools and vocabulary > to cross fertilize ideas (not only between different Squeak images, > but between any Smalltalk images) and intentionally select which > features from which experiments get included in subsequent variations. > > "Purpose of Language: To provide a framework for communication." > > Finally, when answering developers asking for guidance and tasking > I have tried to focus not on dictating how things get done, but > define tasks that will facilitate sharing objects and information > as widely and freely as possible. I see a world in which we each > can be master of our own image and construct it from uniform > components. The goal is to facilitate each developer in their > process of evolving the language/environment to meet their > particular needs. Both in supporting the selection of desirable > traits and features as well as in not requiring the inclusion > of features that are not used. > > John Sarkela :-}> > Squeak World Tour Guide > > > ===== > Gvran Hultgren, goran.hultgren@bluefish.se > GSM: +46 70 3933950, http://www.bluefish.se > "Department of Redundancy department." -- ThinkGeek > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > From Fleeberz at aol.com Wed Jun 27 04:59:47 2001 From: Fleeberz at aol.com (Fleeberz@aol.com) Date: Sat Jan 28 04:26:15 2012 Subject: [BUG] mandala doesn't work w/update 4173? (fixed!) Message-ID: <39.16c023fc.286ac243@aol.com> On 2001-06-26 at 7:08:59 PM, martin@hand2mouse.com noted: >Fleeberz@aol.com wrote: >>Could be (probably is) me, but I can't make this work: >> >>Display restoreAfter: [Pen new mandala: 30] >It works okay for me. Image updated to 4173, Win98. I'll try it on a Mac >when I get home, but what you're seeing sounds like a Squeak compilation >error and therefore less likely to be platform-specific. >-Martin ** No problem any more ** I loaded the update files, one by one, testing each time, and now everything works as expected. Odd luck. I'll try to be more thorough next time before screaming "Bug!" but I'd been quite careful to keep updating to a "pristine" image so I'd have something to fall back on one day, honest! Thanks for the help anyway (what little there was of it, since it's doubtful anybody else could duplicate the problem if they tried... ;-) --Flee From ok at atlas.otago.ac.nz Mon Jun 18 05:04:32 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:26:15 2012 Subject: [newbie] Complex boolean value? Message-ID: <200106180504.RAA105881@atlas.otago.ac.nz> > (4) The parenthesis count could be reduced still further if min: and max: > were operators instead of keywords. Duh? Operators? We don't got no steenkin operators. Now _binary messages_ ok, but operators? operator == binary message, ok? There's no law that says operators have to have precedences, see APL for a counterexample. If it ducks like a quack, ... From thecows at home.com Sun Jun 17 18:51:27 2001 From: thecows at home.com (Steve Wart) Date: Sat Jan 28 04:26:25 2012 Subject: Fw: Q: comp.lang.smalltalk.squeak ? Message-ID: <20010617175149.WJWS18257.mail2.rdc2.bc.home.com@aSqueakSystem> FYI - some folks on the Usenet newsgroup comp.lang.smalltalk have expressed interest in creating a newsgroup for Squeak. I know this topic has come up here several times in the past, so there may be some interest among readers of this list to take part in the discussion or to participate in the vote (especially if you have any strong feelings regarding this subject). Cheers, Steve ----- Original Message ----- From: "panu" Newsgroups: comp.lang.smalltalk Sent: Sunday, June 17, 2001 10:15 AM Subject: Re: Q: comp.lang.smalltalk.squeak ? > Mark Watson wrote: > > > Several people have mentioned the possibility of a Squeak > > specific UseNet news group. What needs to be done to > > set up a new newsgroup? > > Here's a link Mike Wahler posted some time ago in response to my similar > request about starting 'comp.patterns' (Thanks Mike): > > http://www.duke.edu/~mg/usenet/newnewsgroup.html > > Following this link I created what is called a Request For Discussion > (RFD) and emailed it to an address given by the link. Currently that > proposal is about to enter a 'discussion' period, after which there will > be a vote. If there are more than 100 YES-votes than NO -votes, the > newsgroup will be created. Note that the process is largely handled by > "internet volunteers". > > Personally I think "comp.lang.smalltalk.squeak" is a very good idea > and I will definitely vote YES for it. > > One question to consider is whether it should be called > "comp.lang.smalltalk.squeak" or just "comp.lang.squeak". I prefer the > former because it adds to the momentum of Smalltalk as a whole, and > follows the example of "comp.lang.smalltalk.dolphin" for instance. > > Panu Viljamaa > > From G.J.Tielemans at dinkel.utwente.nl Sun Jun 24 18:53:13 2001 From: G.J.Tielemans at dinkel.utwente.nl (G.J.Tielemans@dinkel.utwente.nl) Date: Sat Jan 28 04:26:27 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] Message-ID: <0A86973A0847D4119E1B00508BAD3040033200F3@civntex1.civ.utwente.nl> For some time I did parallel upgrades starting from a squeak3.0 and a Squeak3.1 image. They never became the same or even close, I now live with only that 3.1 (Oh yes: my upload-succes was under Windows98 from that 3.1 image) -----Original Message----- From: Dan Ingalls [mailto:Dan@SqueakLand.org] Sent: zondag 24 juni 2001 17:37 To: John Hinsley Subject: Re: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] >Mmmmm. Trying to update from 4081 I get the first 4 or 5 changesets >without problem, then just the hourglass for approx 5 minutes (at which >point I recon something's broke and crash myself out of Squeak). > >I can't get a squeak from the European server. Hi, John - Given that we now have a fair number of successes elsewhere, you probably are having some sort of network problems. If you are interested in a work-around, it is possible to load updates in two stages: first download them to your disk by executing... Utilities readServerUpdatesThrough: nil saveLocally: true updateImage: false and then load them in by executing... Utilities applyUpdatesFromDisk For this to work, all the updates must be in a subdirectory named 'updates' in your working directory (the first command should do that). This should at least allow you to separate your file transfer problems from the process of updating your image. Another tactic is to execute, eg, Utilities readServerUpdatesThrough: 4090 saveLocally: false updateImage: true. If that completes successfully, then save your image, and execute this again through 4100, and so on until you have succeeded through the 81 updates. I think these suggestions must be on some SWIKI help page. If not they should be. Good luck with this. - Dan -- From ducasse at iam.unibe.ch Mon Jun 18 06:44:19 2001 From: ducasse at iam.unibe.ch (Stephane Ducasse) Date: Sat Jan 28 04:26:35 2012 Subject: About projects Message-ID: Hi Is there a means to know before loading a project that some classes have changed. Do projects have any identification mechanism regarding the last udpate? I'm dreaming of a day where projects will be able to refer to some specific module versioning number... Another question: I played with the HTMR projects (great! continue.) and some projects are included into other ones. Such projects often refer to a project on SuperBob Wiki this means that if I download them and I'm off network I cannot load them. I tried to download them separately but is there a way to specify that if a project is loaded in memory the other projects referencing to name do not have to fetch them on the server but just open them. So I can load one by one but I lose the structure proposed by the author. Stef From m.rueger at acm.org Fri Jun 22 15:02:44 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:26:47 2012 Subject: historical note (was: New Block Closures) References: <5DA5491C2D46D311BACE00508B0AC0F102100659@ctnhemail02.corp.timken.com> Message-ID: <3B335E14.3ED52B34@acm.org> "Jarvis, Robert P. (Contingent)" wrote: > Can we do similar things to improve software? > Well, while doing disgusting things in terms of wasting cycles and bytes, there also has been some remarkable progress for algorithmic problems, a good example are compression techniques and 3D graphics. Which are all problems, well, sort of close to hardware. We seem to have become worse at solving soft problems (like morphic), maybe because we are not really solving them, just adding more and mre patches to our incomplete understanding of how things should work. Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From jecel at merlintec.com Sat Jun 23 22:20:27 2001 From: jecel at merlintec.com (Jecel Assumpcao Jr) Date: Sat Jan 28 04:26:52 2012 Subject: historical note In-Reply-To: References: <01062212115701.00883@gandalf.merlintec.com> Message-ID: <01062318202701.00883@gandalf.merlintec.com> On Saturday 23 June 2001 13:52, Lex Spoon wrote: > You're citing an article where the guy says he can't make up his > mind.... Which track do you consider the dead end? :) While he does say that each paper contradicts the previous one, it didn't seem that way to me as I read them. The dead end path is Unix and C. And I already thought that as I urged my university department to adopt them back in 1982. I felt it would get them much further than the VersaDOS and Pascal that they were using and I was right. By 1989 I was trying to get people to replace Wordstar, DOS and daisy wheel printers with Write for Windows (1.0, which wasn't the latest version back then, but it was what they had) and dot matrix printers. I was fully aware that this was also a dead end solution. I am not against following a dead end if where we are now is really bad and the construction crew is just starting work on "the right way". But it is silly to hope to keep on going in that direction forever. > IMHO, the original Worse is Better presents a false dichotomy. There > is never a 100% solution to a problem, and instead you can spend more > or less time designing before you start building. No matter how much > time you spend designing, you are doomed to eventually have a design > assumption broken. The second paper, "Worse Is Better Is Worse", says exactly the same thing. But I didn't see this as really contradicting the conclusion. > This is not doom and gloom! Software in many environments is > flexible, so the problems can usually be fixed. What I'm really > arguing is: Software should stay alive, and should never be > completely frozen. Which is why it was very nice to see GNU Smalltalk come back from the dead after having suffered just such a fate for many years. We are back to the community/artifact discussion, here. > Ah well. I'm not sure what impact these sweeping discussions have on > anything, but it's fun to muse about. I hope these off topic considerations haven't been annoying too many people on this list. But they have a vital impact on me - I have bet everything I have that RPG is wrong and sometimes "the right thing" does win. Sometimes software problems can't be fixed, no matter how many billions of dollars you throw at them. If people care enough about them (which very rarely happens) then they are willing to start over on a different path. People used to really hate me when they asked "This is ridiculous! I have a whooping 4 MB of RAM on my machine but my programs can only use 640KB. When will they fix this?" and I would reply "They already have. But you need to give up DOS and those applications. Nobody will even remember SideKick in a few years anyway..." I was obviously totally insane in those days. Still am ;-) -- Jecel From reic0024 at d.umn.edu Mon Jun 18 14:12:55 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:27:02 2012 Subject: Menus In-Reply-To: <992872839.3b2e09871f537@webmail.inf.ufsc.br> Message-ID: I have no problems retrieving it from the SqFixes archive... Works great in 2.8, I've not tried it in 3.0 yet, but it doesn't fly with 3.1a. I've not explored it yet, but after filing it in, I get a MessageNotUnderstood for HandMorph>>updateMouseDownTransform. Here it is: http://swiki.gsug.org:8080/sqfixes/947.html Aaron Aaron Reichow :: Twin Ports ACM Pres :: http://www.d.umn.edu/~reic0024/ "life, probably the biggest word i've ever said, that says a lot 'cause there is a whole lot of words inside my head..." -- atmosphere On Mon, 18 Jun 2001, [ISO-8859-1] Ricardo José Lo Feudo Ferreira wrote: > > > Benoit St-Jean wrote: > > > > Anyone knows where I could find a "menu bar" class > > (either MVC or morphic) ? > > I remember Jim Benson implemented a "MenuBarMorph", a long time ago, and sent > to the list. > Egroups and Georg Gollman's mail archive have problems with the attached file. > I don't have the change set here at work (MenuBar.2.cs), but I'll take a look > at home for it. > Jim, do you still have it with you? > > > Ricardo > From scott at jaderholm.com Fri Jun 1 07:39:41 2001 From: scott at jaderholm.com (J Scott Jaderholm) Date: Sat Jan 28 04:27:12 2012 Subject: More advanced Graphing In-Reply-To: <01053123325604.00781@ned.bike-nomad.com> (Ned Konz's message of "Thu, 31 May 2001 23:32:56 -0700") References: <87n17s1y1a.fsf@jaderholm.com> <01053123325604.00781@ned.bike-nomad.com> Message-ID: <87itig1wea.fsf@jaderholm.com> Ned Konz writes: > Do you need interaction or not? GraphMorph has a lot of logic for cursor > control. You mean the red line that's placed there with the mouse? So far I've not used that and I don't think I will be using it. > Do you need it to change in real time (i.e. as data is coming in)? Scroll? I don't need it to change in real time, nor do I need it to scroll, although scrolling might be nice (it's not a priority at the moment). Sincerely, jsj -- the sky is tired of being blue From m.rueger at acm.org Sat Jun 9 02:23:58 2001 From: m.rueger at acm.org (Michael Rueger) Date: Sat Jan 28 04:27:18 2012 Subject: Hopefully last ping References: <200106090218.f592IMv11790@smtp-server2.tampabay.rr.com> Message-ID: <3B2188BE.2009E637@acm.org> "Andrew C. Greenberg" wrote: > > One more time -- concerned I am losing messages No, you don't, everybody else is watching the Lakers game ;-) Michael -- "To improve is to change, to be perfect is to change often." Winston Churchill +------------------------------------------------------------+ | Michael Rueger m.rueger@acm.org ++1 (310) 937 7196 | +------------------------------------------------------------+ From ssadams at us.ibm.com Fri Jun 1 02:56:12 2001 From: ssadams at us.ibm.com (Sam Adams) Date: Sat Jan 28 04:27:28 2012 Subject: CAS and Squeak (evolved from: Squeakland Evolution project thingy ;-)) Message-ID: Rob, Ahh, now you're talking. I too have been long fascinated by the dynamics of complex systems, especially emergent behavior. Hollands "Hidden Order" is a great source of ideas and approaches for complex software systems. Anyone up for implementing ECHO in Squeak? Also, Kauffman's previous work "At Home in the Universe" contains an excellent but simple experiment to describe his NK models (the buttons and string example) that would make a great interactive essay. Almost 5 years ago, Steve Burbeck and I implemented something akin to his random boolean networks in Squeak as part of our research into Self Configuring Systems at IBM. It's truly amazing how quickly such system's lock into the "frozen" or "highly ordered" regime, even starting from a completely (pseudo)random network of interacting nodes with random goals. Very counterintuitive. This research has led us to develop techniques for harnessing and steering emergent behavior in the service of some very ambitious research goals, namely human-like cognition in machines. Yes, in Squeak. Most of the details are all under wraps of course and we expect a number of years of work ahead to achieve the goal, but some of the progress we are making is very promising. Think feedback loops, lots of them, intersecting each other, then go and contemplate a whirlpool vortex in your local creek or bathtub for awhile. Sorry, flush toilets won't do, on either side of the equator. ;-) While I'm on the subject of complex adaptive systems (CAS) and Squeak, has anyone spent any cycles considering the irreversibility of a Squeak image? Ilya Prigogine, Nobel laureate in chemistry, wrote an excellent if difficult book on complexity and irreversibility called "Order out of Chaos", back in 1989, but it seems to be out of print. I haven't read his latest work, "The End of Certainty : Time, Chaos, and the New Laws of Nature" by Isabelle Stengers and Ilya Prigogine, but it seems to be on the same track. His preoccupation with the so called "Arrow of Time" could be very enlightening if applied to software development, especially in the dynamical social context of the Squeak community. FYI, I recently found an excellent online introduction to Chaos and Complexity in a rather unorthodox place, http://www.cna.org/isaac/lw1.pdf. Warning, its a bit of a fat download for the narrowbanded. Regards, Sam Sam S. Adams, IBM Distinguished Engineer, IBM Research tie line 444-0736, outside 919-254-0736, email: ssadams@us.ibm.com <> "Withers, Robert" To: "'squeak@cs.uiuc.edu'" Subject: RE: Squeakland Evolution project thingy 05/31/2001 11:46 AM Please respond to squeak Sam, Sorry about that. You're absolutely right; we shouldn't go into the faith issues. I meant to question technical merits of evolution, as opposed to other mechanisms describing organic system formation, with the goal of doing simulations in Squeak. I am intrigued by a system capable of negotiating distributed meta-services with feedback mechanisms to drive configuration and activity. John Holland developed the original "Selectrons" system that used a blackboard and a bucket brigade feedback mechanism. He was simulating thought processes. Rob PS. is there an essay on comparative religion from an Islamic perspective about? That would be interesting! -----Original Message----- From: Sam Adams [mailto:ssadams@us.ibm.com] Sent: Thursday, May 31, 2001 9:06 AM To: squeak@cs.uiuc.edu Subject: Re: Squeakland Evolution project thingy After carefully reading the many recent posts on this topic, I would like to strongly suggest that those on the list who want to discuss matters of faith, and that includes the faith in evolution, chaos, complexity, or God, please take them to another forum. As I understand it, the Squeak community is one based on a common interest in using and advancing certain software technologies, not personal ideologies (scientific, religious, or otherwise). It is one thing to discuss astrophysical simulation (at any scale) or generative variation/selection (evolutionary) algorithms, but this "we, the enlightened of science" vs "they, the endarkened of faith" kind of discussion presumes a uniformity of belief on this list and presses a defacto statement of faith on its membership. I do not think any of us either believe this uniformity exists or want this result, so please have some consideration for those of your Squeak "brethren"(and "sistren" !) who may not share your ideology or wish to discuss it on this list. Do we really want this already very full list to be cluttered with such things? If you quote Dawkins or Kaufman (both of which I read), not for technical reference but in defense of your ideology, how would you react if others quote Jesus, Paul, or selections from Ecclesiastes (which I also read, and believe) with equal force in defence of theirs? Innapropriate for the list? "Go and do likewise" - Jesus As for the *content* of applications that some member of the list *uses* Squeak to create, I do not believe the list should stand in judgement as an open forum. What anyone posts on BobsSuperSwiki, like any swiki, is their own responsibility, unless of course the swiki master sets and enforces limits. This should be true for the 8 year old in an open school, the members of SqC or anyone else. How would you react to a long discussion on the list of the literary and spiritual merits of an interactive essay on the book of Philippians or, say, an interactive essay on comparative religion from an Islamic perspective? But would that essay be allowed on the SuperSwiki as an example use of Squeak technology? My point is this. If we succeed in creating a truly wonderful environment for dynamic and interactive media, and succeed in getting many in the world to use it, they will create there own content without our permission or ideological agreement. As a technologist, that is what I expect and that's good enough for me. As a christian, I choose to take my stand on matters of faith in other forums. Go and do likewise. Sam S. Adams, IBM Distinguished Engineer, IBM Research tie line 444-0736, outside 919-254-0736, email: ssadams@us.ibm.com <> From rms at cs.brown.edu Sat Jun 30 19:35:27 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:27:30 2012 Subject: newbie question - killing a process In-Reply-To: Message-ID: How do you kill a process whose objects have gone away? I created a clock process (part of Mark's examples) and then made the mistake of quitting without terminating the process. Now I have an orphan clock that wont go away. I did as he suggested and did: Smalltalk garbageCollect. Process allInstances inspect. This produced a long array of 34 processes, most of which say "a Process in UndefinedObject>>DoIt". Mark says to 'find the one you want (probably near the bottom of the list) and send it terminate." My question is: How do I select a receiver from this array to terminate? R. From karl.ramberg at chello.se Wed Jun 20 04:37:28 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:27:33 2012 Subject: documentation requests? References: Message-ID: <3B302889.8F3226DC@chello.se> Lex Spoon wrote: > > Some students in the Georgia Tech OO class are thinking of investigating > and documenting parts of Squeak in order to get extra credit. Here's > your chance: what would you most like someone to dig into and then write > up? Alternatively, if you've written some fantastic Squeak system, how > would you like to have someone else do the documentation? > > I suggested they might look into the new morphic layout mechanism, which > to my knowledge hasn't been documented anywhere. The morphic layout is documented in this bookmorph/ project on Bobs Super Swiki http://209.143.91.36/super/70 Also, the new e-zine / site squeaknews.com has a documentation initative in progress, so it would be cool to send the finished decumentation to them. Karl From karl.ramberg at chello.se Wed Jun 13 09:32:24 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:27:39 2012 Subject: Loading true type fonts into Squeak References: <200106121552.f5CFqDo13796@carbon.rmb.co.za> Message-ID: <3B273328.35B03462@chello.se> Vincent Coetzee wrote: > > Hi there > > Squeak uses truetype fonts (or so I am told).I have tried repeatedly to > load TT fonts into Squeak using the TTFontReader. This works however > when I try to use the font menu to select the font for use I get BitBlt > errors. Is there a fix for this problem or some other way to correctly > load fonts into Squeak ? >From a previous email: On Sunday 20 May 2001 08:07, doug edmunds wrote: > I am looking for some examples / tutorials / > documentation pertaining to using truetype fonts > in Squeak. What do you mean "using"? You can get individual strings of your choice in a single font using a TTSampleStringMorph; to use TT fonts in text windows requires conversion to a FormSetFont or StrikeFont. I posted some fixes for this purpose on the list. See http://groups.yahoo.com/group/squeak/message/26604 for these fixes. You can search the egroups list for discussions about Truetype: http://groups.yahoo.com/group/squeak/messagesearch?query=truetype Henrik Gedenryd has done work with Freetype and LCD displays. See http://groups.yahoo.com/group/squeak/message/19651 -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com Karl From gohu at rocketmail.com Tue Jun 5 08:49:00 2001 From: gohu at rocketmail.com (Göran Hultgren) Date: Sat Jan 28 04:27:40 2012 Subject: Distributed squeak? In-Reply-To: <20010601185222.85895.qmail@web12205.mail.yahoo.com> Message-ID: <20010605084900.64617.qmail@web13901.mail.yahoo.com> Hi all! --- Galchin Vasili wrote: > Francisco, > > I totally agree with you. I am also waiting for > replies to your posting. > > Regards, Vasili > > --- Francisco Colho wrote: > > > > Hi, > > > > Is there some option to "execute" some squeak code > > on a remote VM/Image? There have been several frameworks for this floating around, I have at least 3 I think downloaded at home - one from Rob Withers I believe (was it called RMP? Remote Message Passing?), I was very interested for a while for a project of ours but it is "sleeping" right now. The easiest way to find these things would be to check the Swiki, and yep, there I found at least two (one of them being an attempt of a SOAP implementation): http://minnow.cc.gatech.edu/squeak/684 http://minnow.cc.gatech.edu/squeak/1399 Had you checked it? ;-) :-) regards, Göran PS. I think the stuff by Rob I mentioned looked the most interesting at the time (if my memory serves me right). Check the searchable email archive at: http://macos.tuwien.ac.at:9009/Server.home DS ===== Göran Hultgren, goran.hultgren@bluefish.se GSM: +46 70 3933950, http://www.bluefish.se "Department of Redundancy department." -- ThinkGeek __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From ajh18 at cornell.edu Wed Jun 20 14:13:38 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:27:46 2012 Subject: Distributed Squeak and Environments In-Reply-To: <01061817504004.00883@gandalf.merlintec.com> Message-ID: Jecel Assumpcao Jr wrote: > this sounds like a great project! ... Thanks for the encouragement. > While associating environments with processes is also a good idea, we > only have one process for the GUI and that is a problem. No its not, a process can change environments by doing: [x doSomething] valueIn: anEnvironment. > It would be nice if different visual objects could live in separate environments. Visual objects could point to different environments and use the above #valueIn: message when executing requests - Anthony From noel at devtech.com Sat Jun 16 03:27:36 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:27:51 2012 Subject: iPAQ 3670 (was: a morphic tutorial in morphic) In-Reply-To: <3B2AC632.B7A0957A@telinco.co.uk> Message-ID: John, Jim Gettys is a very active participant on the iPAQ linux mailing list @ www.handhelds.org. As are Mssrs Kay, Ingalls, Raab, et al on this list. In general, you will find that the "names" you know from your readings are also really nice people, not just sub-cultural icons. Kevin already has Squeak running on familar, with plug-ins for Genie and OSProcess. :-) And you can add a Stowaway keyboard. You can evan get a Flipout QR case w/ Stowaway pocket from www.flipoutpda.com, and carry an entire Squeak development system on your belt. Are we having fun yet? ;-) --- Noel -----Original Message----- From: John Hinsley To: squeak@cs.uiuc.edu "Noel J. Bergman" wrote: > > John, > > Why not get an iPAQ 3670, and help optimize? :-) I'm not worthy! I'm not worthy! I must take a peek at the iPAQ: I liked the idea of the Yopy because it looks to be the "complete" solution -- especially if they come up with one of those collapsable keyboards -- but it is looking more and more like vapourware. In the meantime, in between time, Linux User sent me this snippet: Jim Gettys, who started the original X Window System and is a member of the GNOME Foundation board, is rarely interviewed. This feature sees Jim to describing his work at Compaq making Linux and Xwindows run on the iPAQ PDA. http://www.linuxpower.org/display.php?id=211 Cheers John From editor at squeaknews.com Tue Jun 19 08:47:20 2001 From: editor at squeaknews.com (Editor) Date: Sat Jan 28 04:27:54 2012 Subject: [ANN][ADV]Squeak News E-Zine First ever issue Message-ID: <3B2F1198.B4A127DF@squeaknews.com> Hello, fellow Squeakers, This email is to inform you that there is now a periodical fully dedicated to Squeak. Squeak News e-zine (electronic magazine) is a radical departure from most classical periodicals because it is interactive and multi-media, and uses the medium that it is created for as a main means of delivery! The first ever issue is the July 2001 issue and it is available in two forms: a subset of the e-zine will be available on the http://www.squeaknews.com on 1st of July, and the full featured e-zine is available fully in Squeak on small saddle-shaped CDs (or standard CDs for people whose computers can't read smaller CDs) which will start shipping before 1st of July. There is also a monthly email newsletter that contains the summary of activities in that month. I invite you to examine the site and would very much like your comments and feedback. Check out the contents. In this issue there are cool articles by prominent Squeakers such as Ted Kaehler and Tim Rowledge, the first part of an in-depth interview with John Maloney, and fun articles such as learning how to juggle in Squeak. If there are no objections, I would like to be able to send the table of contents to the list every month. Most articles are directly related to Squeak. Bear in mind that although this is a commercial venture or at least attempting to be commercial, it is long way away from being self sufficient and all contributions to the e-zine were done voluntarily by generosity of the authors, and I am indebted to them. Let me take this opportunity to thank them all. The site is not in its final stage. There is a lot more to do. Unfortunately not all parts of the site are fully observable from Scamper, but our goal is to be able to hook up to the site using only Squeak for Squeak users, totally eliminating the browser. We are close to this goal so bear with us. There is also an ambitious Squeak documentation initiative that will be launched with the e-zine on the 1st July. I know that to a lot of us Squeak documentation is very important. Your help in this area will ensure that we have the best and most up to date documentation for Squeak accessible from within Squeak as well as on the web and in a printable form. Finally, I would again like to call all of you to contribute. It is extremely rewarding to see an article come to life, a much different experience to having text on paper. By having your article featured in the e-zine you will get a free one year subscription to the CD-Rom version of the e-zine. Please let your friends who have even a mild interest in Squeak know that there is now such an e-zine. You will find that it is an excellent tool to promote Squeak. We have no means of advertising at this stage and if Squeak News is to take off it will be only through word of mouth. Thanks again to all people who contributed, encouraged and believed. This is your achievement. Cheers Tansel Editor, Squeak News From rsiler at u.washington.edu Thu Jun 7 17:34:51 2001 From: rsiler at u.washington.edu (Randy Siler) Date: Sat Jan 28 04:27:56 2012 Subject: Bravo!! Re: Refactored Date and Time Classes In-Reply-To: Message-ID: Bravo! This is beautiful! > From: Brent Pinkney > Reply-To: squeak@cs.uiuc.edu > Date: Thu, 07 Jun 2001 09:31:47 +0100 > To: squeak@cs.uiuc.edu > Subject: Refactored Date and Time Classes > Resent-From: squeak@cs.uiuc.edu > Resent-Date: 7 Jun 2001 08:35:27 -0000 > > > > Hi, > > I have updated my refactoring and added a page > http://minnow.cc.gatech.edu/squeak/1871. > > Cheers > Brent > > > > ----------------------------------------------------------------- > Visit our Internet site at http://www.reuters.com > > Any views expressed in this message are those of the individual > sender, except where the sender specifically states them to be > the views of Reuters Ltd. > > > From bstjean at yahoo.com Wed Jun 20 15:57:27 2001 From: bstjean at yahoo.com (Benoit St-Jean) Date: Sat Jan 28 04:27:59 2012 Subject: Squeak, source code and repository Message-ID: <20010620155727.69582.qmail@web14607.mail.yahoo.com> Just a quick question... Is there any "central repository" for all fixes/goodies/apps/whatever and all bits and pieces of squeak code posted here ? Something like the UIUC repository but just for Squeak... With a search engine? __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From ok at atlas.otago.ac.nz Mon Jun 25 03:27:41 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:28:06 2012 Subject: historical note (was: New Block Closures) Message-ID: <200106250327.PAA169922@atlas.otago.ac.nz> "Jarvis, Robert P. \(Contingent\)" wrote: Database: Relational databases are common. Object databases are new. I don't know what is "too new" these days. Deductive databases; semi-structured databases with XQL. From spair at advantive.com Mon Jun 18 18:00:26 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:28:10 2012 Subject: [BUG] inner worlds In-Reply-To: <200106181728.NAA25436@fellspt.charm.net> Message-ID: Thanks! This works pretty well, mainly because the scale gets set at 1.0. Then, I'm able to set the embedded world border very small and embed that in a system window so that it can be collapsed and expanded. It would be nice to allow scroll bars in the embedded world to scroll around the desktop of the embedded world. Also, if the embedded world is placed in a window, it would be nice to drop the green border automatically. Also, it would be handy (and perhaps more directly accomplish the desired result) to be able to choose a morph in an embedded world to be simultaneously drawn in the parent world (or any other world). That way, a system window, or any morph, could be drawn in a project other than it's home project. I suspect that might not be as easily accomplished however. - Stephen > -----Original Message----- > From: Bob Arning [mailto:arning@charm.net] > Sent: Monday, June 18, 2001 1:28 PM > To: spair@advantive.com; squeak@cs.uiuc.edu > Subject: Re: [BUG] inner worlds > > > Stephen, > > On Mon, 18 Jun 2001 10:59:23 -0400 "Stephen Pair" > wrote: > >The inner worlds feature seems to be broken...(try open->inner world) > > This feature has had very little attention since being supplanted > by the active world concept. I have added an update to the > internal stream to drop the menu item to avoid confusion in the future. > > >I was trying to create a project that I could work with directly > as opposed > >to jumping into it. Basically, I like to work on projects where > one project > >is the real work, and I have another project for building up SUnit tests. > >But, it can become cumbersome to switch back and forth between the two > >projects. I'd like to have a window within the main project > that allowed me > >to develop the test cases such that those changes would > automatically go to > >the "test" change set. Is there an easy way to do this without > needing to > >swith between projects? > > I invite you to try the change set below and see if it does what > you want. Consider it very experimental and let me know how it > works for you. > > Cheers, > Bob > > 'From Squeak3.1alpha of 5 February 2001 [latest update: #4158] on > 18 June 2001 at 1:21:11 pm'! > "Change Set: worldSizing > Date: 18 June 2001 > Author: Bob Arning > > An experiment in having two worlds (the outer world plus an inner > active world) such that changes made in each world will go to the > appropriate change set. A possible scenario: > > 1. Create a new morphic project. > 2. Click on the project view for this project and wait for the > menu to appear. > 3. Select 'ENTER ACTIVE' from this menu. > 4. From the red halo menu on the green frame around this active > world (or from the control-menu of the world itself), select > 'world scale and clip...', then 'resize the world'. This will > allow you to choose a new bounds rectangle for the inner active > world and will set the scale to 1.0. > 5. Changes made in this inner active world will be recorded in > the change set for the inner world/project rather than the global > change set known as SystemChanges. > > For extra amusement, you can put the inner world in a flap so it > doesn't take up so much room. > > > "! > > > !MenuMorph methodsFor: 'private' stamp: 'RAA 6/18/2001 12:17'! > positionAt: aPoint relativeTo: aMenuItem inWorld: aWorld > "Note: items may not be laid out yet (I found them all to > be at 0@0), > so we have to add up heights of items above the selected item." > > | i yOffset sub delta ptInWorld | > > "Probably not the best way to do this..." > ptInWorld _ aPoint - aWorld boundsInWorld topLeft. > > self fullBounds. "force layout" > i _ 0. > yOffset _ 0. > [(sub _ self submorphs at: (i _ i + 1)) == aMenuItem] > whileFalse: [yOffset _ yOffset + sub height]. > > self position: ptInWorld - (2 @ (yOffset + 8)). > > "If it doesn't fit, show it to the left, not to the right > of the hand." > self right > aWorld worldBounds right > ifTrue: [self left: self left - self width + 4]. > > "Make sure that the menu fits in the world." > delta _ self bounds amountToTranslateWithin: aWorld worldBounds. > delta = (0 @ 0) ifFalse: [self position: self position + delta]! ! > > > !PasteUpMorph methodsFor: 'menu & halo' stamp: 'RAA 6/18/2001 13:07'! > addScalingMenuItems: menu hand: aHandMorph > > | subMenu | > > (subMenu _ MenuMorph new) > defaultTarget: self; > add: 'show application view' action: #showApplicationView; > add: 'show factory view' action: #showFactoryView; > add: 'show whole world view' action: #showFullView; > add: 'expand' action: #showExpandedView; > add: 'reduce' action: #showReducedView; > addLine; > add: 'define application view' action: > #defineApplicationView; > add: 'define factory view' action: #defineFactoryView; > add: 'resize the world' action: #selectNewWorldSize. > menu > add: 'world scale and clip...' > subMenu: subMenu! ! > > !PasteUpMorph methodsFor: 'menu & halo' stamp: 'RAA 6/18/2001 13:10'! > selectNewWorldSize > > | r myTransform greenFrame | > > myTransform _ owner. > greenFrame _ myTransform owner. > r _ Rectangle fromUser. > self extent: r extent. > self transformToShow: bounds. > greenFrame extent: r extent + (greenFrame extent - > myTransform extent). > greenFrame position: r origin - greenFrame borderWidth asPoint > ! ! > > > !SystemDictionary methodsFor: 'sources, change log' stamp: 'RAA > 6/18/2001 13:02'! > changes > "Answer the current system ChangeSet." > > | p | > ActiveWorld ifNil: [^SystemChanges]. > (p _ ActiveWorld project) ifNil: [^SystemChanges]. > ^p changeSet ifNil: [SystemChanges]! ! > > From DiegoGomezDeck at ConsultAr.com Sun Jun 17 19:39:04 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:28:11 2012 Subject: iPAQ Squeak & LS Landscape Message-ID: <5.1.0.14.0.20010617163736.00b3bff0@mail.consultar.com> Anyone tried LS Landscape and Squeak?? I did and Squeak don?t ?want? rotate.... TIA, Diego Gomez Deck From tim at sumeru.stanford.edu Fri Jun 22 00:50:49 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:28:20 2012 Subject: StrongARM JIT? In-Reply-To: References: Message-ID: <0a2b5c8e4a.rowledge@goldskin.stcla1.sfba.home.com> "Noel J. Bergman" is widely believed to have written: > >> Anyone care to do a StrongARM JIT? > >Yes indeed - just as soon as the license is less offensive. > > License? To author a JIT? What kind of license? Please explain. :-) See the file 'COPYING' in the distribution of the jitter source code. It expressly forbids me from making my usual living if I look at the code:- > 1. The software may not be used for commercial advantage. Neither you nor > your employer nor any other organisation with which you are associated > are permitted to charge for the software or for other programs that might > be developed based on any part of the software itself or knowledge of the > algorithms contained therein. Do not even look at the software if this > restriction might conflict with your professional activities or those of > your employer. I rather think that that would be unlawful and surely not in the normal vein of open source licenses, and almost certainly not concomitant with the squeak license. tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim "I love deadlines. I love the whooshing noise they make as they go by." Douglas Adams, R.I.P. From jhinsley at telinco.co.uk Sat Jun 16 18:38:42 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:28:20 2012 Subject: About the wonderful internet browser References: <200106151320.QAA02206@mailgw2.netvision.net.il> <3B2AF21E.41F1E1E4@chello.se> <3B2B1623.99CCF19E@chello.se> <783nito229tb8o4fs7oinn6h3epccv9jhv@4ax.com> Message-ID: <3B2BA7B2.2B73855F@telinco.co.uk> Jon Hylands wrote: > > On Sat, 16 Jun 2001 10:17:39 +0200, Karl Ramberg > wrote: > > > Have you read the document at > > http://209.143.91.36/super/70 > > Well, if there was actually a document there... :-) > > I don't know if the project has any documentation in it or not, I've never > downloaded it. > > Have you looked at it? Is it useful? It would really help if there was a > one-paragraph summary of what each project was, and why I would want to > download it. (I know, not your job, but I'm speaking to the larger > community here). OK, so Jon discovered that it was, indeed, a document. But there are so many wonderful (and sometimes wierd ;-) ) things on BSS that I think Jon's general remark "It would really help if there was a one-paragraph summary of what each project was" bears looking at. (Of course, that's not Karl's job!) Incidentally, I just downloaded the pooh_20testing.004.pr which just loads and turns Squeak black with the latest image and changeset but loads fine on the older image/changeset I have on my Windows partition. (I'm guessing that this is due to it being built for the image built for the earlier changesets.) Can anyone point me to: What I ought to be looking at to get it loading correctly in my up to date image/cs. -- Presumably I can file it out and tweak the code? What can I do with Pooh? I see a Wonderland with one line of code and get the debugger coming up as soon as I execute it. (So I guess I need pointing to a Pooh HOWTO). Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From bert at isg.cs.uni-magdeburg.de Fri Jun 22 15:51:24 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:28:38 2012 Subject: Help with Wonderland textures In-Reply-To: <200106221539.RAA88527@mailhub10.isdnet.net> Message-ID: On Fri, 22 Jun 2001, Projet DeepLow wrote: > I already posted the following mail to ask for help with textures in > wonderland. Apparently nobody saw this message Actually, Andreas Raab answered it: http://groups.yahoo.com/group/squeak/message/30391 -- Bert From thecows at home.com Fri Jun 29 07:16:33 2001 From: thecows at home.com (Steve Wart) Date: Sat Jan 28 04:28:51 2012 Subject: Instance-based Programming Message-ID: <20010629061637.YNBK2135.mail1.rdc2.bc.home.com@aSqueakSystem> I would like to create a simple UI in Squeak. Say (for example) a nice little dialog for filtering messages in Celeste. It seems like I should be able to paint a window with fields and buttons, etc., and script it up using the Viewer. When I do this, do I need to create a class to hang onto these methods? What are the issues with just keeping the instance around and giving it a global name? It seems easier to create an E-toy, give it a name, and then activate that E-toy from within a regular button. I don't really like the idea of a large number of globally scoped instances, but it's probably not practically any different than having a large number of globally scoped classes. Will this cause problems, for example, with change sets? Can I browse versions on scripts they way I can with methods on classes? Adding this would be nice. I found that I have a tendency to obliterate big chunks of methods using the SyntaxMorph, and versioning is like a rich person's undo :-) Cheers, Steve From chrisn at Kronos.com Tue Jun 26 17:32:13 2001 From: chrisn at Kronos.com (Norton, Chris) Date: Sat Jan 28 04:28:57 2012 Subject: Jerry Archibald, 1940-2001 Message-ID: <8E197B764EBFD4118D120020480E3D754912EA@exchgcc.kronos.com> Thank you David. Jerry was very kind to me on all matters Squeak. Thinking back over the nearly 3 years that I've participated in this mailing list, I recall that Jerry has ever been cheerful, thought provoking and downright helpful. I will miss him too. ---==> Chris From gohu at rocketmail.com Wed Jun 6 06:32:11 2001 From: gohu at rocketmail.com (Göran Hultgren) Date: Sat Jan 28 04:29:01 2012 Subject: CAS and Squeak In-Reply-To: <013a01c0ee32$45173c20$6401a8c0@ne.mediaone.net> Message-ID: <20010606063211.41764.qmail@web13904.mail.yahoo.com> Hi Robert and guys! I am totally uneducated on GAs but did dabble with them for fun in VW 5 years ago. My silly question with some background first: I remember I built a small framework with different DNA mixing algorithms, different rules for mating and survival etc. etc. and toyed on the "travelling salesman" with it. When I was kneedeep in parameters - like 30 or so - trying them out and seeing what made it go faster/better etc. I realized that THAT in itself was an optimizationproblem that ought to be applicable to GAs... But pretty soon my old PC choked on the idea of having to run say 50 generations on 100 individuals for each fitness function evaluation... But I still liked the idea though! Q: Has that been done? Have any of you working with GAs more professionally done it? regards, Göran ===== Göran Hultgren, goran.hultgren@bluefish.se GSM: +46 70 3933950, http://www.bluefish.se "Department of Redundancy department." -- ThinkGeek __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From jdbell at fareselaw.com Fri Jun 15 14:54:25 2001 From: jdbell at fareselaw.com (Jerry Bell) Date: Sat Jan 28 04:29:02 2012 Subject: SuperSwiki Message-ID: <909E88754E6BD411926B00400531D64AC9651A@CLEVINGER> Bob's SuperSwiki is very cool. I'd like to set up a local SuperSwiki to play with here. I've had trouble finding details- is the code for a SuperSwiki publically available? If so, where? I've looked around the image a bit, but I haven't found the server code itself. Thanks, Jerry Bell From karl.ramberg at chello.se Sat Jun 23 13:14:57 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:29:12 2012 Subject: historical note (was: New Block Closures) References: <5DA5491C2D46D311BACE00508B0AC0F102100659@ctnhemail02.corp.timken.com> <004901c0fb4a$0ba6b400$6401a8c0@we.mediaone.net> Message-ID: <3B34964D.B47F5E88@chello.se> Jim Benson wrote: > Instead of building tools to efficiently deal with the almost inevitable > thousand method class, Anybody working on stuff like this out there ? One way to handle this could be the MethodFinder. Really good seaching and finding the relevant info/class/method, not just dump out the whole class. What else would a tool like this need ? Karl From bert at isg.cs.uni-magdeburg.de Tue Jun 19 18:18:20 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:29:16 2012 Subject: [BUG] swiki under-slashification In-Reply-To: <15151.37685.828000.512881@noontide.demon.co.uk> Message-ID: On Tue, 19 Jun 2001, John Kozak wrote: > If, in a swiki, I enter some XML, I'd expect to do syntax escaping, > given that HTML is allowed. So I enter (e.g.) "" as > "<bert/>". Fine, if a bit prolix. But, if I edit the page > again, the textbox contains "", which will then "disappear" if > I save it. This makes discussing XML on a swiki, umm, wearing... Works for me (using Comanche/Swiki and Netscape). What Swiki-version and what browser are you running? Btw, the pws@cc.gatech.edu list is especially for diskussing Swiki-related stuff. -- Bert From G.J.Tielemans at dinkel.utwente.nl Wed Jun 27 21:39:00 2001 From: G.J.Tielemans at dinkel.utwente.nl (G.J.Tielemans@dinkel.utwente.nl) Date: Sat Jan 28 04:29:20 2012 Subject: Newbie Questions Message-ID: <0A86973A0847D4119E1B00508BAD304003320100@civntex1.civ.utwente.nl> Several years ago (around 1990) there was a Hypercard-clone under windows called PLUS. It was from: Spinnaker software corporation 7808 Creekridge Circle Minneapolis MN 55439-9871 Don't know if this company still exist.... (Other options: Toolbook? Hyperstudio? of course writing a utility to import stacks in Squeak would be the royal way.) -----Original Message----- From: Steve Wart [mailto:thecows@home.com] Sent: woensdag 27 juni 2001 19:49 To: squeak@cs.uiuc.edu Subject: Newbie Questions I find myself with a welcome surfeit of spare time. Therefore I have the following questions: 1. I have some stuff (a bibliography) in a HyperCard format, but I am now using Windows. Has someone created something in Squeak that I can use to port this stack, or at least retrieve the data? [nb: I did a google search but was not able to find anything definitive, although clearly the relationship between HyperCard and Squeak has been discussed in the past]. From arning at charm.net Mon Jun 18 17:28:19 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:29:38 2012 Subject: [BUG] inner worlds Message-ID: <200106181728.NAA25436@fellspt.charm.net> Stephen, On Mon, 18 Jun 2001 10:59:23 -0400 "Stephen Pair" wrote: >The inner worlds feature seems to be broken...(try open->inner world) This feature has had very little attention since being supplanted by the active world concept. I have added an update to the internal stream to drop the menu item to avoid confusion in the future. >I was trying to create a project that I could work with directly as opposed >to jumping into it. Basically, I like to work on projects where one project >is the real work, and I have another project for building up SUnit tests. >But, it can become cumbersome to switch back and forth between the two >projects. I'd like to have a window within the main project that allowed me >to develop the test cases such that those changes would automatically go to >the "test" change set. Is there an easy way to do this without needing to >swith between projects? I invite you to try the change set below and see if it does what you want. Consider it very experimental and let me know how it works for you. Cheers, Bob 'From Squeak3.1alpha of 5 February 2001 [latest update: #4158] on 18 June 2001 at 1:21:11 pm'! "Change Set: worldSizing Date: 18 June 2001 Author: Bob Arning An experiment in having two worlds (the outer world plus an inner active world) such that changes made in each world will go to the appropriate change set. A possible scenario: 1. Create a new morphic project. 2. Click on the project view for this project and wait for the menu to appear. 3. Select 'ENTER ACTIVE' from this menu. 4. From the red halo menu on the green frame around this active world (or from the control-menu of the world itself), select 'world scale and clip...', then 'resize the world'. This will allow you to choose a new bounds rectangle for the inner active world and will set the scale to 1.0. 5. Changes made in this inner active world will be recorded in the change set for the inner world/project rather than the global change set known as SystemChanges. For extra amusement, you can put the inner world in a flap so it doesn't take up so much room. "! !MenuMorph methodsFor: 'private' stamp: 'RAA 6/18/2001 12:17'! positionAt: aPoint relativeTo: aMenuItem inWorld: aWorld "Note: items may not be laid out yet (I found them all to be at 0@0), so we have to add up heights of items above the selected item." | i yOffset sub delta ptInWorld | "Probably not the best way to do this..." ptInWorld _ aPoint - aWorld boundsInWorld topLeft. self fullBounds. "force layout" i _ 0. yOffset _ 0. [(sub _ self submorphs at: (i _ i + 1)) == aMenuItem] whileFalse: [yOffset _ yOffset + sub height]. self position: ptInWorld - (2 @ (yOffset + 8)). "If it doesn't fit, show it to the left, not to the right of the hand." self right > aWorld worldBounds right ifTrue: [self left: self left - self width + 4]. "Make sure that the menu fits in the world." delta _ self bounds amountToTranslateWithin: aWorld worldBounds. delta = (0 @ 0) ifFalse: [self position: self position + delta]! ! !PasteUpMorph methodsFor: 'menu & halo' stamp: 'RAA 6/18/2001 13:07'! addScalingMenuItems: menu hand: aHandMorph | subMenu | (subMenu _ MenuMorph new) defaultTarget: self; add: 'show application view' action: #showApplicationView; add: 'show factory view' action: #showFactoryView; add: 'show whole world view' action: #showFullView; add: 'expand' action: #showExpandedView; add: 'reduce' action: #showReducedView; addLine; add: 'define application view' action: #defineApplicationView; add: 'define factory view' action: #defineFactoryView; add: 'resize the world' action: #selectNewWorldSize. menu add: 'world scale and clip...' subMenu: subMenu! ! !PasteUpMorph methodsFor: 'menu & halo' stamp: 'RAA 6/18/2001 13:10'! selectNewWorldSize | r myTransform greenFrame | myTransform _ owner. greenFrame _ myTransform owner. r _ Rectangle fromUser. self extent: r extent. self transformToShow: bounds. greenFrame extent: r extent + (greenFrame extent - myTransform extent). greenFrame position: r origin - greenFrame borderWidth asPoint ! ! !SystemDictionary methodsFor: 'sources, change log' stamp: 'RAA 6/18/2001 13:02'! changes "Answer the current system ChangeSet." | p | ActiveWorld ifNil: [^SystemChanges]. (p _ ActiveWorld project) ifNil: [^SystemChanges]. ^p changeSet ifNil: [SystemChanges]! ! From beoneel at bluewin.ch Wed Jun 27 05:18:07 2001 From: beoneel at bluewin.ch (Bruce ONeel) Date: Sat Jan 28 04:29:38 2012 Subject: New VMs Message-ID: <3B2F46B0001A8F48@mta1n.bluewin.ch> (added by postmaster@bluewin.ch) Hi, Thanks to John we have new Mac VMs in Squeak/3.0/mac. There is a new netscape plugin at 3.0.23, and a mac and carbon VMs at 3.0.18. Thanks! cheers bruce From dway at riskmetrics.com Mon Jun 4 23:43:11 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:29:44 2012 Subject: 3.1alpha update for Whisker (Re: [BUG] newest updates to 3.1alpha seem to break all browsers if whisker 0.92 installed) References: <3AEEE0F7.36A8E5FF@riskmetrics.com> Message-ID: <3B1C1D0F.56E001C@riskmetrics.com> FYI, if anyone's interested, I finally posted a new 3.1alpha update for Whisker on the Whisker home page. See http://www.mindspring.com/~dway/smalltalk/Whisker-31alpha-4048update.1.cs . (First load Whisker.0.92-Sq3.0.cs into a current 3.1alpha image, close the debugger window that comes up, then load the above changeset.) - Doug Way dway@riskmetrics.com Doug Way wrote: > > I'll try to take a look at this later today. > > Since Whisker isn't part of the base image, it's probably more accurate to call this a conflict with Whisker, not a [BUG] in 3.1alpha. It's odd that all browsers would break, though... could point to a non-Whisker problem. (or maybe not :-) ) > > (It's not too surprising that a conflict occured, since Preferences was just given an overhaul in 3.1alpha, and I was customizing Preferences a bit. Hopefully the new Prefs code will need less customizing... but if it still does, I should probably just submit the needed changes to the list.) > > - Doug Way > dway@riskmetrics.com > > txporter@mindspring.com wrote: > > > > Grrr, sorry for the mangled subject in the prior message. Hope this makes it to the bug list. > > > > Hello folks, > > > > I upgraded to the newest alpha updates on both Linux and WIn98, starting from > > both a stock 3.0final and a 3.1alpha3910b set of changes and images. > > > > All combinations seem to break all browsers if I have Whisker 0.92 installed > > before the updates. If I install Whisker afterwards, I get the same debug > > error during the update: > > > > The Debug reports: > > False(Object)>>doesNotUnderstand: > > Preferences class>>addNonExistingPreferences:catagory:default:ballonHelp: > > WhiskerBrowser class>>initializePreferences > > WhiskerBrowser class>>initialize > > UndefinedObject>>DoIt > > > > BTW, is there a way to capture the top pane of the debug window/error handler > > window to a file, since my mail debug report seems not to work as I am behind > > a firewall? > > > > Thanks, > > > > Tom P. From johnmci at smalltalkconsulting.com Tue Jun 5 00:33:31 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:29:48 2012 Subject: Collection squared but what about fractions. In-Reply-To: <000101c0ed51$d35a0580$4f0c10ce@rd.wdi.disney.com> References: <000101c0ed51$d35a0580$4f0c10ce@rd.wdi.disney.com> Message-ID: >John, > >How about making a little tweak in Fraction along the lines of: > >Fraction>>* aNumber > self == aNumber ifTrue:[ > "special case for squaring fractions" > ^self squared] > "...." > >This might even help in some other cases (note that the above uses #== to >prevent doing a full comparison in case of a non-fractional argument). > >Cheers, > - Andreas Well we could do that, I'd check first to see what the impact is, but since we already do some checking in Fraction>>* I doubt there will be any great impact. However the issue is kind of still there, if you add a specialized squared routine for performance reasons, you don't get it invoked when dealing with collections. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From ducasse at iam.unibe.ch Wed Jun 27 11:02:05 2001 From: ducasse at iam.unibe.ch (Stephane Ducasse) Date: Sat Jan 28 04:30:06 2012 Subject: Need input for binary component model for Squeak Message-ID: Hi we are starting to work on new models of binary components. We would like to take Squeak projects or VW parcels (may be class files) as a starting point and introduce more meta-information, description of services provided, compatibility with version of classes in the image (once we have stable Squeak Module available). In the process we would like to see how we can provide more robust (regardings identification of changes in image) projects for Squeak. As you see the work is just starting and point in several directions. We would like to gather your ideas and input, related papers... Any feedback is welcome. Stef From Torsten.Bergmann at phaidros.com Fri Jun 29 14:11:51 2001 From: Torsten.Bergmann at phaidros.com (Torsten.Bergmann@phaidros.com) Date: Sat Jan 28 04:30:07 2012 Subject: Luna/Borg Look for Squeak ? Message-ID: <904AA220ACB4D211A10600104B3E85C9260514@MAIL> Does anyone know who did the screenshots of the Luna and Borg look for Squeak at http://minnow.cc.gatech.edu/squeak/1869 ? Really cool! The name "Zurgle" in one of the screenshots reminds me on Jim Bensons WindowFrame Goodie ? Jim, could you tell us something about it ? Thanks Torsten From noel at devtech.com Sun Jun 17 20:34:31 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:30:14 2012 Subject: iPAQ Squeak & LS Landscape In-Reply-To: <200106172005.QAA11429@blackwolf.golden.net> Message-ID: Diego, Do you mean JS Landscape? From Jimmy Software? There is code in the build for handling landscape mode, but it is currently #IFDEF'd out. I haven't looked at it, but it probably needs work. Personally, I'd use something like NVD instead, if it is GAPI compatible (I've sent off an e-mail inquiry, since I haven't tried it). For one thing, the use of a keyboard and the use of landscape mode are currently incompatible, since the Stowaway mounts the device in portrait orientation. --- Noel From thecows at home.com Mon Jun 18 03:31:47 2001 From: thecows at home.com (Steve Wart) Date: Sat Jan 28 04:30:17 2012 Subject: Fw: Q: comp.lang.smalltalk.squeak ? Message-ID: <20010618023150.UDJL3880.mail1.rdc2.bc.home.com@aSqueakSystem> Rosemary Michelle Simpson wrote: > Why fragment the discussions still further when we have the Swikis, which > get picked up by the Web crawlers, and the mailing lists, which could if > they were archived on a website. > I agree. I do not wish to rehash this discussion here. I just wanted to point out that the process for creating said newsgroup *has* started on Usenet, and that is where the relevant discussion and subsequent vote will occur. Steve From werdna at mucow.com Sun Jun 3 12:48:48 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:30:19 2012 Subject: [BUG][FIX]Unstable Squeak Won't Load Modules on Macintosh In-Reply-To: <4.2.0.58.20010603114657.01298d58@mail.balcab.ch> Message-ID: <200106031249.f53CnZv15381@smtp-server2.tampabay.rr.com> On Sunday, June 3, 2001, at 05:54 AM, Joseph Pelrine wrote: > Lots of complaints here. People want a preview of a work-in-progess, > and then complain that not everything works. I think that John did a > damn good job of just getting this stuff bundled up and distributed. It > IS release 0.1, anyway. The author misunderstands both my intentions and, apparently, the substance of what I had posted. If not, there is a far greater impedance mismatch here than I had thought at first. A bug post and fix to make software work are generally not considered "lots of complaints" in an open-source community. I was under the impression that our advices, thoughts and contributions were affirmatively solicited. A bug post and fix to make software work are, in fact, mother's milk and the most fundamental virtue of open source development. A bug post and fix to make software work are the reason why for-profit entities such as Apple and Netscape give away some software for free. A bug post and fix to make software work are considered, in most open source communities, to be a very good thing. Such reports don't come easily. In this case, it took me about 4 hours to figure out that and why "not everything works" (indeed, nothing AT ALL worked). Ordinarily, people on the Squeak list perceive such efforts, not as snide, but rather as a measure of enthusiasm and support. From jk at xylema.org Sun Jun 24 11:45:03 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:30:27 2012 Subject: Squeakland plugin doesn't work with latest IE6 beta? Message-ID: <15157.53951.859000.83917@noontide.demon.co.uk> subject says it all really: it's IE version 6.0.2479.0006, and the plugin doesn't seem to connect to it at all... John From lex at cc.gatech.edu Thu Jun 21 04:33:25 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:30:37 2012 Subject: MPEG on Windows NT? References: Message-ID: Thanks John, Robert, other John, and Noel -- you have really helped narrow the problem! In fact, it seems to work for everyone but us! Either the problem is specific to Windows NT, or there is something goofy in our setup -- either of NT, or of Squeak. It would still be wonderful to hear from anyone who has specifically a pre-Win2000 Windows NT box who can try this experiment. In the meantime, though, I guess we're going to start recompiling various versions of the plugin and seeing what we can come up with.... John Maloney writes: > The bugs are in the original C library--which we got for free, so I'm not > complaining. I don't think that John Macintosh introduced any of these > bugs; they seem completely unrelated to the color conversion code that > he worked on. > Too bad about the C bugs. I've actually seen an occasional one of these myself, in particular if your MPEG file is questionable. It sure would be nice to have a *Squeak* MPEG reader, so that the errors can be tracked down more easily, but like John says, we're much better off than with no MPEG reader at all! -Lex From rms at cs.brown.edu Sat Jun 30 20:51:16 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:30:45 2012 Subject: newbie question - killing a process In-Reply-To: <200106302026.QAA27470@fellspt.charm.net> Message-ID: On Sat, 30 Jun 2001, Bob Arning wrote: > On Sat, 30 Jun 2001 15:35:27 -0400 (EDT) Rosemary Michelle Simpson wrote: > >How do you kill a process whose objects have gone away? I created a > >clock process (part of Mark's examples) and then made the mistake of > >quitting without terminating the process. Now I have an orphan clock that > >wont go away. I did as he suggested and did: > > > > Smalltalk garbageCollect. > > Process allInstances inspect. > > > >This produced a long array of 34 processes, most of which say "a Process > >in UndefinedObject>>DoIt". Mark says to 'find the one you want (probably > >near the bottom of the list) and send it terminate." > > > >My question is: > > > >How do I select a receiver from this array to terminate? > > Rosemary, > > In the bottom pane of the inspector, do this: > > (self at: n) terminate > > where n is the index in the array of the Process you want to kill. > > FWIW, 34 processes seems like a very high number. Have you repeated the example you gave 20 or 30 times? It gets even stranger. (1) the number of processes goes up and up and then down - it went as high as 85 and as low as 20. (2) doing DoIt on (self at: n) terminate for the processes labeled "a Process in UndefinedObject>>DoIt" turns the comment to "a Process in nil" but even doing that to all has not gotten rid of the clock and new processes seem to be being spawned. I feel like the sorcerer's apprentice... Of course, I could trash this image and bring in another from the CD, but I want to understand how to work with the processes. Thanks! R. From JArchibald at aol.com Wed Jun 13 19:25:57 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:30:52 2012 Subject: a morphic tutorial in morphic Message-ID: => 6/13/01 1:09:40 PM EDT, karl.ramberg@chello.se => << JArchibald@aol.com wrote: > Is there a table somewhere of useful key combinations usable for > addressing morphic elements? Squeak Quick Reference http://minnow.cc.gatech.edu/squeak/1859 >> Karl (or anyone) -- The SqueakLanguageRef and SqueakClassesRef refer almost solely to the Smalltalk aspects of Squeak. That information is excellent, but does not go into morphic activities. What I was asking was, is there a reference (corresponding to Andrew and Andrew's) of basic information (such as key combinations) for working in _morphic environments_? After all, Lex's tutorial is a tutorial on "Learning Morphic" Thanks, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From bstjean at yahoo.com Fri Jun 22 18:11:36 2001 From: bstjean at yahoo.com (Benoit St-Jean) Date: Sat Jan 28 04:30:53 2012 Subject: Contest! In-Reply-To: Message-ID: <20010622181136.20178.qmail@web14608.mail.yahoo.com> --- Hannes Hirzel wrote: > you say it wasn't easy for you to understand the > class Morph (obvious if > it has 1000 methods - imagine a C program with 1000 > functions). Now imagine yourself trying to convince your boss that OO and Smalltalk is good because of "reuse" ... :) __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ From jhinsley at telinco.co.uk Fri Jun 29 14:57:35 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:30:58 2012 Subject: BankAccount Tutorial References: Message-ID: <3B3C975F.2DF90A02@telinco.co.uk> "Rev. Aaron" wrote: > > Do we all think that perhaps it is time to replace the code on that > Morphic tutorial to work with 3.0 on the Swiki itself? It seems most > newbies are using 3.0. > I think so. After all, this is one of the most "pointed at" tutorials and if it doesn't work people are likely to get turned off. After all, some people come to Squeak without any other Smalltalk -- let alone Morphic -- experience and are unlikely to be able to fix it themselves. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From G.J.Tielemans at dinkel.utwente.nl Sun Jun 24 11:24:08 2001 From: G.J.Tielemans at dinkel.utwente.nl (G.J.Tielemans@dinkel.utwente.nl) Date: Sat Jan 28 04:31:02 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] Message-ID: <0A86973A0847D4119E1B00508BAD3040033200F1@civntex1.civ.utwente.nl> me too -----Original Message----- From: mdr@scn.org [mailto:mdr@scn.org] Sent: zondag 24 juni 2001 10:07 To: squeak@cs.uiuc.edu Subject: Re: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] I just updated from the European update server. Everything worked smoothly. (It actually told me 81 new updates) Mike From Yoshiki.Ohshima at disney.com Thu Jun 14 01:38:26 2001 From: Yoshiki.Ohshima at disney.com (Ohshima, Yoshiki) Date: Sat Jan 28 04:31:03 2012 Subject: BBEdit.Lite fileOut documents error In-Reply-To: References: Message-ID: <20010613183826Z.Yoshiki.Ohshima@disney.com> Hello, I've never seen this problem, but one possiblity is that the file contains some bytes whose 8th bit is on and BBEdit misinterpreted the file as Shift-JIS encoded Japanese text. Try to see if it is the case or not with some tools, or Squeak. In Squeak, suppose the file is named 'foo.st', you can verify it by evaluating the following code in a Workspace. ((FileStream oldFileNamed: 'memo.txt') binary contentsOfEntireFile select: [:byte | byte >= 128]) size > 0 If it says true, the file contains such byte(s). -- Yoshiki From editor at squeaknews.com Mon Jun 25 19:30:56 2001 From: editor at squeaknews.com (Editor - Squeak News) Date: Sat Jan 28 04:31:04 2012 Subject: [ANN]Coming soon: SqueakNews en espanol y El Problema Squeak de Junio Message-ID: <3B379170.E84D5A45@squeaknews.com> Just a quick note to let you know that SqueakNews will also be published in Spanish, and upon request: here is this month's question in Spanish: En la revista electr?nica Squeak Noticias todos los meses vamos a plantear un problema; las respuestas seleccionadas aparecer?n publicadas en nuestro sitio. El autor de la respuesta que resulte "elegida por el editor" ganar? un regalo sorpresa. Nos gustar?a poder publicar las preguntas en esta lista. La pregunta de este mes es un caso que realmente sucedi?, aqu? va: Justo antes de salir en viaje de negocios, un Squeaker encontr? que su casa hab?a sido violada y que los intrusos hab?an escapado minutos antes sin alcanzar a tocar nada. Estaba furioso pero ten?a que volver a dejar la casa sola a causa de su viaje. Ten?a por ah? una peque?a alarma port?til y una conexi?n permanente por cable a Internet. Antes de irse, conect? y activ? la alarma y escribi? unas 15 l?neas de c?digo Squeak que determinar?an si la alarma se desconectaba y enviar?an un email indicando que la alarma se hab?a disparado. En tan poco tiempo no ten?a manera de conectar f?sicamente la alarma port?til a su computadora. El aviso ten?a que ser razonablemente r?pido y preciso de manera tal que los intrusos no tuviesen tiempo de desconectar la alarma antes de que ?l fuese notificado y pudiese llamar a la polic?a o pedirle a alg?n amigo que fuera hasta su casa a ver qu? ocurr?a. Tambi?n quiso "escuchar los latidos" de su computadora por email cada 10 minutos, de modo de poder saber si su computadora segu?a con vida (piense que eso produce un gran n?mero de emails diarios). En los 15 minutos que le quedaban antes de partir pudo disponer todo, probarlo e incluso imprimir unas etiquetas de advertencia para los intrusos. ?Puede adivinar qu? hizo y c?mo lo hizo? PD: La aplicaci?n le result? de tanta utilidad que todav?a la usa cuando tiene que salir de su casa. M?s tarde modific? ligeramente el c?digo para aumentar la frecuencia de los latidos y envi? los emails a una cuenta de correo especial. Luego escribi? otra aplicaci?n para que su laptop chequeara esa cuenta especial de correo una vez por minuto y le avisara si se deten?an los latidos o si la alarma se hab?a activado. Tambi?n extendi? esta utilidad para verificar su sitio de web y enterarse si el sitio se ca?a; ahora sue?a con conectar una webcam y fotografiar a los intrusos. Pero esa es otra historia; usted no necesita hacer esta parte, claro que si le gusta el desaf?o nadie va a imped?rselo. Por favor, env?en sus respuestas con los fragmentos de c?digo directamente a y no a esta lista. Para que podamos incluirlas en el n?mero de Julio, las respuestas deben llegarnos antes del 27 de Junio. Disculpen el apuro, el mes pr?ximo tendremos m?s tiempo. Tansel Editor, Squeak News http://www.squeaknews.com From danielv at netvision.net.il Fri Jun 15 15:23:35 2001 From: danielv at netvision.net.il (danielv@netvision.net.il) Date: Sat Jan 28 04:31:12 2012 Subject: About the wonderful internet browser Message-ID: <200106151320.QAA02206@mailgw2.netvision.net.il> Hey Jon, I've been playing around with the image you posted. As is, it doesn't seem to work - it would appear to expect functionality to be in the image for which there is no trace. For example, TextFontChange currently can record a change to a specific size, but the browser expects it to implement relative changes (class size method called: delta, used to implement HTML relative font size specification). It looks like the image is not the image on which the code grew... can you tell us a bit more about it's history, so we can know what to expect a port might entail (I realize you might not be able to tell us about code that was not meant for release). Daniel Jon Hylands wrote: > On Mon, 11 Jun 2001 01:54:44 +0300 , danielv@netvision.net.il wrote: > > > Just got to wondering again when I will have a great browser in Squeak, > > one of the last things I venture outside for, and this was the most > > recent news I could find of your endeavour... > > Well, I actually released the code back in April, shortly after getting > back from Smalltalk Solutions. > > I don't know if anyone is doing anything with it, though. I haven't heard a > peep about it since the conference... I was hoping that I was going to find > the time to work on it, but I find myself with so little time on my hands > right now, I barely have time to work on MicroSeeker... > > Later, > Jon > > -------------------------------------------------------------- > Jon Hylands Jon@huv.com http://www.huv.com/jon > > Project: Micro Seeker (Micro Autonomous Underwater Vehicle) > http://www.huv.com From jhinsley at telinco.co.uk Sat Jun 30 17:10:46 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:31:13 2012 Subject: BankAccount Tutorial References: Message-ID: <3B3E0816.70AC74A7@telinco.co.uk> Rosemary Michelle Simpson wrote: > > On Sat, 30 Jun 2001, Joshua D. Boyd wrote: > > > On Sat, 30 Jun 2001, John Hinsley wrote: > > > > > This seems a good compromise, but I wonder if people go to Mark's book > > > because of Squeak or to Squeak because of Mark's book? > > > > I bought Mark's book because of squeak. However, friends who don't squeak > > have shown interest in buying/borrowing the book, so their introduction > > would be through Mark. However, we are discussing a tutorial seperate > > from that book, so if people can get to the tutorial, then they should be > > able to also upgrade their squeak. > > However, it makes sense to stay with the Squeak 2.8 that is on the CD > while you are working with the book and its exercises/example code. When > learning a new language, especially one as different from most as is > Squeak, it seems wise to not change the language version in mid-stream. > Having said that I must confess that I jumped all the way to the 3.1 alpha > because I wanted the "class comments with it" facility. Still, I kept the > 2.8 image and use it in conjunction with the book. Again, that seems a good compromise: if I was sensible I might go that way. Not being a compromising kinda person I think I'll try the code with 3.1! I may well fall flat on my face (not unusual!) but I can always chicken out/ask for help. In some ways, as soon as we start to use something with a lead time as long as a book, or a course, we're stuck in this kind of bind. If I try and do it my awkward way it's because I'm awkward and have really bad memories of doing Java with the old AWT (which, I later discovered, no-one "really" uses -- and no wonder!) and learning C on DOS and discovering that none of that non-ANSI compliant code they taught you, none of those calls to DOS kludge libraries, could be made to work with any degree of ease on any operating system where C still held any degree of sway. Ouch! It still hurts. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From Ted at SqueakLand.org Wed Jun 20 16:19:28 2001 From: Ted at SqueakLand.org (Ted Kaehler) Date: Sat Jan 28 04:31:18 2012 Subject: documentation requests? In-Reply-To: References: Message-ID: Students and all, The thing that I thirst for is the "basic idea" behind each class. What is the purpose of this class? That's the thing you can't get from reading the implementation. What are the unwritten assumptions? At 8:02 PM -0700 6/19/01, Dan Ingalls wrote: >Then a simple addition with a lot of leverage would be to add a >'find...' command to the browser that would search class comments >for matching text, just as the current one searches for matching >names. This is already in the system! Just type what you want to search for in any text pane, get the shift menu, and choose "class comments with it". Up pops a MessageSet with all of the class comments containing that text. You can 'Browse Full' from there. --Ted. -- Ted Kaehler Ted@SqueakLand.org is my new email address. (home) 3261 Montecito Drive, Las Vegas, NV 89120. voice (702) 456-7930 http://www.squeakland.org/~ted/ From Fleeberz at aol.com Sat Jun 16 06:16:43 2001 From: Fleeberz at aol.com (Fleeberz@aol.com) Date: Sat Jan 28 04:31:33 2012 Subject: Mssrs ? Re: iPAQ 3670 (was: a morphic tutorial in morphic) Message-ID: <51.d068b9f.285c53cb@aol.com> In a message dated 2001-06-15 11:39:05 PM, karl.ramberg@chello.se writes: >Mssrs ? >I could not find any online reference that explained what this means. Well, it either means "Monopulse Secondary Surveillance Radars" or perhaps it is the plural form of "Mr." (also spelled "Messrs." not to be confused with "Mses.," the plural of "Ms.") --Flee From csawtell at xtra.co.nz Thu Jun 28 10:02:00 2001 From: csawtell at xtra.co.nz (Christopher Sawtell) Date: Sat Jan 28 04:31:44 2012 Subject: New VM for Linux? References: Message-ID: <3B3B0098.473C9C7E@xtra.co.nz> Greetings Squeak World, Recently, when updating the image at patch # 4023B3DBumper, I noticed a mention of the need to install a new VM which was to be available 'soon'. I had a look around some of the usual ftp archive but could not find anything apart from the VM for the N.S. Plugin, which btw, seems to go well. Thanks for everything, Squeakland has certainly caught the attention of my 12 year old son who thinks it is just wonderful! Here is the version info on what I have currently installed bash-2.04$ /opt/squeak/bin/squeak -version i586-pc-linux-gnu 3.0 #1 XShm Sat Mar 31 14:35:48 CST 2001 gcc egcs-2.91.66 Linux st.cs.uiuc.edu 2.2.14 #1 Fri Apr 7 14:59:12 CDT 2000 i586 unknown default plugin location: /usr/local/lib/squeak/3.0/*.so Thanks 10^6 -- Sincerely etc., NAME Christopher Sawtell CELL PHONE 021 257 4451 ICQ UIN 45863470 EMAIL csawtell @ xtra . co . nz CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz -->> Please refrain from using HTML or WORD attachments in e-mails to me <<-- From johnmci at smalltalkconsulting.com Mon Jun 4 01:13:37 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:31:59 2012 Subject: stable Squeak (Fonts) free Accuny for browser. In-Reply-To: <200106040028.f540SFv16659@smtp-server2.tampabay.rr.com> References: <200106040028.f540SFv16659@smtp-server2.tampabay.rr.com> Message-ID: >On Sunday, June 3, 2001, at 07:15 PM, John M McIntosh wrote: > >>> >>At 7:35 PM -0400 6/2/01, Andrew C. Greenberg wrote: >>>On the legal side, are you sure these fonts are all completely >>>Kosher? There seem to me to be direct ripoffs, at least, of the >>>early Apple MacOS Chicago, Chancery and Symbol bitmap fonts. If >>>we were aspiring to be purely license-clean, there may be some >>>serious issues. >>> >>This was address by Arts Management Systems Ltd (the suppliers of >>the fonts) in the early 1990's via correspondence with Apple Legal >>department. At the time it was a point of concern since these fonts >>were later marketed as a commercial product, which can be found in >>Informix products, Omnis (Blyth Software), and PowerBuilder >>(Sybase). The fact they got sold to these vendors in the >>early/mid/late 1990's is a result of the discussions with Apple. >> >>The legal reasoning is summed up on >>http://minnow.cc.gatech.edu/squeak/1849 at the comment of > >I agree -- after all, those were my arguments! However, various >members of the community have been troubled by the existence of the >Apple bitmap fonts in the Squeak image, and some have savaged SqC >for failing to remove them, citing to these new fonts as the second >coming of Squeak. If the Accuny fonts heritage is identical to that >of the Apple bitmap fonts, however, what, then, has been gained? Well I'm not sure the heritage is identical, I presume the original Squeak fonts were taken directly from Apple files and manipulated by some Squeak code to produce the bit images. Thus a clear heritage/usage of the apple font bits via the reference to the original bits. Also reference to them in the original license and of course they retain the same names which *is* a licence issue. I sure as far as Apple is concerned the Squeak folks just embedded the Apple font files with alterations into Squeak. Now on the other hand the accufonts were painfully tapped into a Windows 3.0 SDK font bit editor by hand based on images printed to paper which were enlarged by silicon beachs SuperPaint, then compiled into windows 3.0 font files and compared to the macintosh originals for spacing and alignment using the high tech tool of printing to color transparencies and viewing the results by visually overlaying them and squinting. Now I understand these window font files were then read into Squeak by Duane Maxwell & company and translated into the squeak aware bit images. So although they look the same they *do not* share the same heritage from an understanding of were the bits come from. Certainly if they were computer derived from the original apple files (they are not) then we would be no better off. Note: Since we can make clones of bitmap fonts then I'll ask is there a more proper/legal way to do it since the effort took weeks of time... BTW the intercharacter spacing for some of the accufonts is different from the original Squeak fonts, I can't say without doing some analysis which font is wrong in the spirit of being bit identical to the original Apple font. > >So here it is, then. Has AMS granted us rights to "their" fonts, >acknowledged their lack of a Copyright interest, dedicated them to >the public, or not? If so, can we simply agree that there is no big >deal about using these fonts, any of them, including those in the >present Squeak image? I'll refer you to the license text found in the stable squeak project files. I'll let other interpret what it means... Squeak World Tour note: The Apple and Microsoft fonts referred to in this license have been expunged from this image. There are no Apple or Microsoft derived fonts in this image. Information on the fonts in this image may be found in the script titled, AccuFont License. This image is derived from the Squeak 2.8 base image and virtual machine. Additional code provided by Squeakers world wide has been included The AccuFontLicense.text file reads: "Copyright Arts Management Systems, Ltd." ? Arts Management Systems Ltd. The fonts distributed as part of this base image are derived from fonts copyright Arts Management Systems, Ltd. Use of the fonts in derivative software products is allowed. The fonts should retain their AccuFont names. The acknowledgement should read: >Doug Easterbrook >Arts Management Systems Ltd. >mailto:doug@artsman.com >http://www.artsman.com >Phone (403) 215-5701 Fax (403) 215-5704 -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From RossBoylan at stanfordalumni.org Fri Jun 29 08:47:02 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:32:09 2012 Subject: Handling big morphs Message-ID: <5.1.0.14.0.20010629013615.04529ec8@mail.earthlink.net> I have some items to display that will take up too much real estate. What are the standard ways to handle this? I'm thinking of solutions like * window or morph with scrollbars * no scrollbars, but item relocates as you move the mouse (maybe it moves the point where the mouse is to the center?). Then there are more application specific tricks I might do, like having parts popup with greater detail under some conditions, and then be swallowed when I move focus away. But I'm really only looking for appropriate class and usage pattern for the vanilla patterns. Also, if anyone has any wisdom about good metaphors, I'd love to hear it. Background: I'm working on a priorities planning tool. (Even though it probably shouldn't be a priority for me!) One of the things I'm doing is classifying tasks in various ways, such as the part of my life they deal with and the kind of interaction they involve (e.g., people or machines). Each of these sets of spheres is (conceptually) a hierarchical tree, with more detailed divisions as you go down. But the trees get kind of large. That's my last question for the night! From tim at sumeru.stanford.edu Sat Jun 30 16:31:40 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:32:11 2012 Subject: OT: Invention v. Innovation References: Message-ID: <3B3DFEEB.9D5220C1@sumeru.stanford.edu> Henrik Gedenryd wrote: > > Andrew C. Greenberg wrote: > > > Forgive me, but I am in need of some solid authority and references > > relating the importance of incremental invention or innovation, as > > compared to pioneering and revolutionary invention. In particular, is > > there any consensus among authorities regarding the relative virtues of > > the two forms of creativity or their interactions? The distinction I was taught at Imperial was:- invention is creating something new innovation is making something new actually exist as a presence in some suitable marketplace. i.e. having a good idea is all very well but it does little good until you can obtain it some currency. To stretch the point a little, whilst it was only in PARC, Smalltalk was an invention, once it spread around (ParcPlace, Digitalk, etc) it was an innovation. > I think I agree with Alan that attending to small improvements (pink work) > will indeed impede progress on a greater scale (blue), by detracting > attention etc. The recent Internet craze probably held back genuine cs > advances for 5 years or so, because everyone focused on exploiting old > technologies instead of coming up with new ones. Bad for invention/progress, > good for the economy. Actually I'd argue that much of the waste was precisely because almost nobody involved had any idea of history and spent all their effort on 'inventing' stuff that could be looked up in bazillions of standard texts. A pretty typical process in my experience with CS types.... smart young CS grad insists on 'inventing' a sort algorithm every time instead of using a standard one and getting on with the important stuff. People with engineering backgrounds tend to understand the idea of usig standard parts; they rarely make custom nuts and bolts. tim From lex at cc.gatech.edu Sat Jun 23 17:52:22 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:32:15 2012 Subject: historical note References: <01062212115701.00883@gandalf.merlintec.com> <01062117070501.00883@gandalf.merlintec.com> Message-ID: Jecel Assumpcao Jr wrote:> > One reason is that we have been sidetracked into a dead end path: > > http://www.dreamsongs.com/WorseIsBetter.html > You're citing an article where the guy says he can't make up his mind.... Which track do you consider the dead end? :) IMHO, the original Worse is Better presents a false dichotomy. There is never a 100% solution to a problem, and instead you can spend more or less time designing before you start building. No matter how much time you spend designing, you are doomed to eventually have a design assumption broken. This is not doom and gloom! Software in many environments is flexible, so the problems can usually be fixed. What I'm really arguing is: Software should stay alive, and should never be completely frozen. Ah well. I'm not sure what impact these sweeping discussions have on anything, but it's fun to muse about. -Lex From martin at hand2mouse.com Fri Jun 15 01:26:59 2001 From: martin at hand2mouse.com (Martin McClure) Date: Sat Jan 28 04:32:16 2012 Subject: Seeking Squeak work Message-ID: Hi all, I'm looking for a position working with Squeak (or, failing that, another Smalltalk) that requires creativity and a thorough knowledge of Smalltalk. I've been using Smalltalk since 1985, and Squeak since 1997. I'm currently based in Portland, OR, USA, but am willing to travel for the right position. For the past several years I have been a Senior Software Engineer at GemStone Systems. The company was acquired a few months by Brokat Technologies, and they recently laid off 80% of GemStone's Java engineering group. The Smalltalk group has not been affected, but I had the misfortune to be assigned to the Java unit at the time. Since a change is being forced upon me, I really want to make it a change back to Smalltalk. My resume is available at http://hand2mouse.com/martin If you have any leads or comments, please reply to me off-list at mailto:martin@hand2mouse.com Thanks, -Martin McClure From bert at isg.cs.uni-magdeburg.de Sun Jun 17 10:49:52 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:32:34 2012 Subject: How to Pooh (was: Re: About the wonderful internet browser) In-Reply-To: <3B2BA7B2.2B73855F@telinco.co.uk> Message-ID: On Sat, 16 Jun 2001, John Hinsley wrote: > Incidentally, I just downloaded the pooh_20testing.004.pr which just > loads and turns Squeak black with the latest image and changeset but > loads fine on the older image/changeset I have on my Windows partition. > (I'm guessing that this is due to it being built for the image built for > the earlier changesets.) Probably. It might also be due to a not-yet-published buglet fix in the B3D code if you're using OpenGL on a little endian platform. The fix is attached. > Can anyone point me to: > > What I ought to be looking at to get it loading correctly in my up to > date image/cs. -- Presumably I can file it out and tweak the code? Not sure. The project seems rather old, there were some significant changes lately. > What can I do with Pooh? I see a Wonderland with one line of code and > get the debugger coming up as soon as I execute it. Pooh is the equivalent of "draw a morph" for 3D: 0. Make a new Wonderland: "Wonderland new" 1. Bring up the halo on the camera window. 1a. Enlarge the window, enable hardware acceleration from the red-handle menu 2. Click the Pooh handle (center of right edge) 3. Draw the outline of an object into the wonderland window. It must be one single stroke that becomes the silhouette. It should not have intersections. A circle does nicely for beginners. A fish is cool if you are in the NudiBranch project: ___ / \_/| | _ < \___/ \| 4. When you release the mouse button, the outline is "inflated". 5. Bring up a halo on your new object, click the center handle of the object. 6. Paint on the objects surface. 7. Bring up the object's halo again, open a viewer (eye handle), experiment :-) -- Bert -------------- next part -------------- A non-text attachment was scrubbed... Name: lsbTexFix-ar.1.cs.gz Type: application/x-gzip Size: 1109 bytes Desc: Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010617/528ce17e/lsbTexFix-ar.1.cs.bin From spair at advantive.com Mon Jun 18 14:59:23 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:32:40 2012 Subject: [BUG] inner worlds Message-ID: The inner worlds feature seems to be broken...(try open->inner world) I was trying to create a project that I could work with directly as opposed to jumping into it. Basically, I like to work on projects where one project is the real work, and I have another project for building up SUnit tests. But, it can become cumbersome to switch back and forth between the two projects. I'd like to have a window within the main project that allowed me to develop the test cases such that those changes would automatically go to the "test" change set. Is there an easy way to do this without needing to swith between projects? - Stephen From RossBoylan at stanfordalumni.org Fri Jun 29 16:20:29 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:32:49 2012 Subject: Cassowary Demo Question In-Reply-To: References: Message-ID: <20010629092029.B2597@wheat.boylan.org> I went into the system browser and found the Cassowary-xxx categories; one of them is Cassowary-Demo. Another technique would be to interrupt the demo in the middle of it running (e.g., alt-. on Linux or Win) and look up the stack. The nice thing about smalltalk is that, unless someone is being perverse, you always have the source. On Fri, Jun 29, 2001 at 11:05:54AM -0400, Rosemary Michelle Simpson wrote: > Hi Ross, > > I have a newbie question to ask you triggered by the statement in your > message: > > > less taxing than "read the source code." > > How do you find out what the source is for a demo when all you have is the > executing demo? > > Thanks, > > R. > > > From jk at xylema.org Tue Jun 19 18:00:21 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:32:59 2012 Subject: [BUG] swiki under-slashification Message-ID: <15151.37685.828000.512881@noontide.demon.co.uk> If, in a swiki, I enter some XML, I'd expect to do syntax escaping, given that HTML is allowed. So I enter (e.g.) "" as "<bert/>". Fine, if a bit prolix. But, if I edit the page again, the textbox contains "", which will then "disappear" if I save it. This makes discussing XML on a swiki, umm, wearing... John Kozak From noel at devtech.com Wed Jun 20 04:35:36 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:33:01 2012 Subject: MPEG on Windows NT? In-Reply-To: Message-ID: > Well I did make some C code changes for performance reasons to the > source code and shipped it May 2nd (from my email on that day): >The C source code was changed. Linux/Windows/BSD developers are >encouraged to download the C code and create a new version of the >plugin. Andreas has a new 3.1 VM coming out ADN. He'll have a new(er) Genie plugin in the build tree. Perhaps he can tell us what else he expects to have in the next snapshot; perhaps your MPEG plugin is in there. --- Noel From mdr at scn.org Mon Jun 18 16:56:53 2001 From: mdr at scn.org (Mike Rutenberg) Date: Sat Jan 28 04:33:16 2012 Subject: [BUG]Celeste in MVC broken Message-ID: <200106182225.PAA02433@q7.q7.com> This is a problem, and thank for reporting it. I think it haves to do with the new aligned item lists that were introduced last fall. Also, the status line is broken under MVC. I do not know either well, so if one of the creators wants to take a look that would be best. Otherwise I will take a look when I get done with what I am working on right now. Mike p.s. Just for completeness, the other outstanding Celeste bug is that opening two Celestes on the same database presently does not work properly. You can see this if you close one of the celestes. The other will be unusable. Since I almost never operate like this, it is not too difficult for me, but should be fixed... From mdr at scn.org Mon Jun 25 16:49:01 2001 From: mdr at scn.org (Mike Rutenberg) Date: Sat Jan 28 04:33:35 2012 Subject: [ENH] Speed up writing Celeste catgeory files Message-ID: <200106251628.JAA26763@q7.q7.com> This simple exercise in buffering speeds up writing of the category file by 6x for me, while leaving everything else unchanged. This is a big help if you have a large mail file! Also two other minor changes. Mike -------------- next part -------------- A non-text attachment was scrubbed... Name: CelesteCatSpeed-mdr.1.cs Type: application/octet-stream Size: 2797 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010625/945e23fc/CelesteCatSpeed-mdr.1.obj From rms at cs.brown.edu Wed Jun 27 01:40:10 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:33:47 2012 Subject: Jerry Archibald, 1940-2001 In-Reply-To: <3B39375F.14790108@kurtz-fernhout.com> Message-ID: Is there going to be any sort of community contribution in Jerry's name? If so, I would like to know where to send my contribution. R. From bert at isg.cs.uni-magdeburg.de Tue Jun 5 09:58:56 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:33:57 2012 Subject: Squeakland plug in and image In-Reply-To: <3B1C24A8.20F42F3@telinco.co.uk> Message-ID: On Tue, 5 Jun 2001, John Hinsley wrote: > Bert Freudenberg wrote: > > > > On Sat, 2 Jun 2001, John Hinsley wrote: > > > > > Since the Squeakland page still doesn't direct me to a Linux plug-in (in > > > fact, it doesn't even recognise that I'm using Linux and thinks I'm > > > running Mac! -- refrain: "If I were a reetch man...." -- (I'd probably > > > buy Sparc...... ;-) )) I though I'd ask what plugin/image are Unix folk > > > using to get at Squeakland? > > > > http://isgwww.cs.uni-magdeburg.de/~bert/squeak/plugin/download.html > > > Thanks Bert. If anyone needs a pre built vm for glibc 2.1.3 (that is, if > they get the GLIBC 2.2 error message on loading your prebuilt vm) they > should mail me off list (unless you want to provide a home for it). Please send it to me, I'll put it on the page. Did the compile go smoothly? Linux gurus: Is there an easy way to compile a "backwards compatible" VM? That is, one that hopefully runs with every GLIBC version? > Note that the prebuilt vm available in the "usual" places will work fine > with most earlier glibc versions. (But probably not as a plug-in image.) Most certainly not, as I added quite some stuff lately ... -- Bert From marcel at metaobject.com Fri Jun 29 15:16:45 2001 From: marcel at metaobject.com (Marcel Weiher) Date: Sat Jan 28 04:34:13 2012 Subject: Mac OS X VM (was Re: New VMs) Message-ID: On Thursday, June 28, 2001, at 07:24 Uhr, Doug Way wrote: > So, to get the VM I downloaded and untarred Squeak3.0.1-MacOSX- > VM.tar.gz, and it contained all the sources, but I just wanted the > compiled VM so I then untarred the Frameworks subpackage as per the > Readme instructions. Is it a problem that it includes source? > I tried double-clicking the resulting CocoaSqueak app (which had the > correct Squeaky VM icon), but it only bounced for a second and didn't > run. (Also, it's only 60K or so which was odd.) Drag-and-dropping an > .image on it didn't work either. As you correctly figured out, those 60K contain virtually no code. > I then realized I probably needed to move the Squeak.framework file > into the framework search path, which the Readme mentions. Both Squeak.framework and SqueakAppKit.framework. > I tried moving it to the suggested directories (I had to create them > both), Yes, sadly, the default OS-X install doesn't create those. > but I'm not sure if they were actually in my framework search path. Either /Library/Frameworks/Squeak.framework /Library/Frameworks/SqueakAppKit.framework or ~/Library/Frameworks/Squeak.framework ~/Library/Frameworks/SqueakAppKit.framework should work. > (I checked my environment variables but didn't see one which looked > like the right one. Yes, I am a Cocoa newbie, but I'm familiar with > Unix.) The framework search path is not encoded in environment variables. > Double-clicking the VM still didn't work. That should have done the trick. > Anyway, do all Cocoa apps need a separate .framework file? Yes and no. Frameworks are the 'default' method for bundling functionality (code / shared libraries) in MacOS-X. Look at /System/Library/Frameworks and /System/Library/PrivateFrameworks/, almost all the higher level functionality in MacOS-X is there. They differ from shared libraries in that they can contain both code and non-code resources, including documentation, headers, data-files, user-interface elements, squeak images/projects, whatever and also have a versioning mechanism so multiple version of frameworks can exist at the same time and be used by different applications. Since just about all applications on MacOS-X require at least some of these frameworks, and Cocoa itself comes as (several) frameworks all Cocoa applications do, in fact, 'require' separate framework 'files', just like programs on other platforms usually require (system) shared libraries. Not all Cocoa programs bring their own framework files, however. Some programs simply aren't themselves modular, all the relevant code is heaped into one single executable (apart from references to system libraries). However larger pieces of software tend to also have code that is split into individual frameworks (shared libraries), just like the system code. I consider this (i.e. system-supported modularity) a Good Thing. As a matter of fact, absence of this or a comparable mechanism is one of the biggest problems I have with Squeak at this time. It's a bit like dynamic messaging: difficult to do without once you've become used to it. When functionality is packaged as frameworks it ceases to be private to your particular application but instead becomes available for others as well. For example, OmniWeb makes virtually all of the functionality of a web-browser available as separate frameworks. Mail.app references a Message.framework for mail-delivery that is also available to other applications, ScreenSaver functionality is available as a framework, etc. Apart from the utilitarian effect, this sort of packaging also has a positive (and difficult to describe) effect on the code you write, well, at least on the code I write. Together with Objective-C categories (which allow you to add methods to pre-existing classes), you can really split your code into small, self contained units that do one thing, and only one thing, well. Applications then usually become a matter of a little glue to tie several frameworks together, possiby with some UI, but maybe also without. That is why CocoaSqueak.app is only 60K, it really just ties together Squeak.framework (base interpreter and faceless I/O), SqueakAppKit.framework (GUI, interaction, media) and Cocoa's application-support. This opens up a whole range of possibilities. For example, you can very easily build your own Squeak-based Cocoa-applications, using a custom icon, custom code etc. but sharing all the common Squeak VM stuff via the framework. The framework could also be a centralized repository for other shared Squeak resources, such as the sources file or even one or several 'standard' image files. Squeak-Cocoa apps could then consist of the small binary (as you noted about 60K), some custom native classes or plugins and maybe a project file. A Squeak Shell ( sqsh? ) could benefit from the same mechanism, with a small executable linking in the framework and thus being able to execute with a standard image. Of course, the usability of this depends on being able to load the 'standard' image file quickly. CocoaSqueak already maps the image-file into memory, so once its there loading time is negligible with Mach's very lazy virtual memory subsystem, and Andreas hinted that we might soon be able to do without going through the image each time on load if we manage to get the same VM address. However, as you note, the problem with this approach is that it makes installation more difficult, requiring detailed instructions or an installer program. (I figured that the average Squeak user at this point is savvy enough to deal with it...). Anyway, MacOS-X also provides a mechanism for placing an application's frameworks inside the application wrapper (applications and frameworks are both kinds of 'Bundles', a specific directory structure for packing executable code and resources). Of course, this hides the frameworks again, making them, once again, unavailable for others. Also, this packaging method requires some voodoo that isn't entirely well supported by Apple's development tools at this point, which is why I haven't gotten around to it yet. However, creating a combined (and possibly binary-only) CocoaSqueak package is something that is on the list of things to do, but hasn't gotten done (along with lots of other things) because I've had a few other things on the table recently. What would then be great is a mechanism for making those frameworks sharable as well. I hope this answers you question. Marcel From ned at bike-nomad.com Sat Jun 30 03:53:45 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:34:13 2012 Subject: GraphicsFile guru needed! In-Reply-To: <3B3D436B.62A57780@telinco.co.uk> References: <3B3D436B.62A57780@telinco.co.uk> Message-ID: <01062920534503.00791@ned.bike-nomad.com> On Friday 29 June 2001 20:11, John Hinsley wrote: > 0 to: f height-1 do: [ :y | add the temps: 0 to: f height-1 do: [ :y | | color index | Change set with fixes enclosed (minus FileList menu stuff). -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com -------------- next part -------------- A non-text attachment was scrubbed... Name: XPM.1.cs.gz Type: application/x-gzip Size: 1388 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010629/d54def75/XPM.1.cs.bin From bert at isg.cs.uni-magdeburg.de Fri Jun 1 08:01:52 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:34:14 2012 Subject: consolidating squeak web presence In-Reply-To: Message-ID: On Thu, 31 May 2001, Noel J. Bergman wrote: > > my view is that we should have a rewrite rule on minnow that hides it. So > > when addressed as http://swiki.squeak.org, the wiki appears at the top > > level. > > Based on your comment above, though, I don't think you're actually > > arguing in favor of keeping the /squeak/ path visible. Am I right? > > Correct, I am not. :-) There are several mechanisms which could be used to > cause the Squeak swiki to appear as the root, when coming from that host. Currently, the default document (/) lists all the Swikis on that site. But this can be changed easily - I'm just not sure how the GA-Tech folks feel about this ... If the only point is to help memorizing the URL, a simple redirect scheme works well. For example, my http://swiki.gsug.org:8888/ is redirected to http://swiki.gsug.org:8888/gsug/ while the original swiki list can be accessed via http://swiki.gsug.org:8888/all -- Bert From lalo at hackandroll.org Sat Jun 30 02:53:46 2001 From: lalo at hackandroll.org (Lalo Martins) Date: Sat Jan 28 04:34:15 2012 Subject: Can fragments get me a read-only image? Message-ID: <20010629235346.A1825@laranja.org> I'm tryint to cram squeak in my agenda (http://www.agendacomputing.com)... but I can't make an useful image < 5Mb. The point is, we have a lot of space in the "romdisk" (cramfs); I could probably live with a much larger image in there, but it would have to be read-only. Can fragments somehow help me to have a read-only image, and have my stuff written somewhere else (rw)? []s, |alo +---- -- http://www.laranja.org/ mailto:lalo@laranja.org pgp key: http://www.laranja.org/pessoal/pgp Brazil of Darkness (RPG) --- http://www.BroDar.org/ From johnmci at smalltalkconsulting.com Sun Jun 3 23:35:04 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:34:17 2012 Subject: stable Squeak (Fonts) free Accuny for browser. In-Reply-To: References: <200106022335.f52NZF501643@smtp-server1.tampabay.rr.com> Message-ID: >> > >Ah, I think New York, Geneva, and Monaco are in the image. Oops I should say fonts that look like these are in the stable squeak image. They have different names of course. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From nadja at cc.gatech.edu Wed Jun 20 16:59:46 2001 From: nadja at cc.gatech.edu (Jochen F. Rick) Date: Sat Jan 28 04:34:18 2012 Subject: [pws] Re: [BUG] swiki under-slashification In-Reply-To: <15151.49786.609000.371358@noontide.demon.co.uk>; from jk@xylema.org on Tue, Jun 19, 2001 at 10:22:02PM +0100 References: <15151.37685.828000.512881@noontide.demon.co.uk> <20010619144423.A21368@cc.gatech.edu> <15151.49786.609000.371358@noontide.demon.co.uk> Message-ID: <20010620125946.A882@cc.gatech.edu> > P.S. Is the PWS list archived, btw? No. I don't think that it is. I've tried to move relevant information to the Swiki Swiki (http://minnow.cc.gatech.edu/swiki). There's a FAQ there with some reasonable answers. Peace and Luck! Je77 From DiegoGomezDeck at ConsultAr.com Fri Jun 1 16:20:11 2001 From: DiegoGomezDeck at ConsultAr.com (Diego Gomez Deck) Date: Sat Jan 28 04:34:22 2012 Subject: More advanced Graphing In-Reply-To: <87n17s1y1a.fsf@jaderholm.com> Message-ID: <5.1.0.14.0.20010601131448.00b39968@mail.consultar.com> If you want, I can send my PlotMorph... it looks like the atachs... TIA, Diego Gomez Deck >Hi, > >Is there a way to graph multiple sets of data on one GraphMorph? > >Like right now it's just a bar graph, only handling one array of data. >I'd like to be able to graph multiple sets of data as lines and have >them appear in different colors, and later other more advanced things. > >Does GraphMorph handle this? Has anyone extended it to? Is there a >more advanced graphing facility? > >Sincerely, >jsj > >P.S. Thanks Bert & Mark for your wonderful answers to my last >questions. -------------- next part -------------- A non-text attachment was scrubbed... Name: Plot2.gif Type: image/gif Size: 5616 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010601/a6b70687/Plot2.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: Plot1.gif Type: image/gif Size: 7401 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010601/a6b70687/Plot1.gif From jon at huv.com Sat Jun 16 16:55:20 2001 From: jon at huv.com (Jon Hylands) Date: Sat Jan 28 04:34:23 2012 Subject: About the wonderful internet browser In-Reply-To: <783nito229tb8o4fs7oinn6h3epccv9jhv@4ax.com> References: <200106151320.QAA02206@mailgw2.netvision.net.il> <3B2AF21E.41F1E1E4@chello.se> <3B2B1623.99CCF19E@chello.se> <783nito229tb8o4fs7oinn6h3epccv9jhv@4ax.com> Message-ID: <1p3nit8s3djc9sfhjs57o84mb4ha5lvnp8@4ax.com> On Sat, 16 Jun 2001 10:46:47 -0600, Jon Hylands wrote: > Well, if there was actually a document there... :-) Never mind, I just downloaded the thing, and now I realize that it is in fact a document and nothing else... Later, Jon -------------------------------------------------------------- Jon Hylands Jon@huv.com http://www.huv.com/jon Project: Micro Seeker (Micro Autonomous Underwater Vehicle) http://www.huv.com From daniel.parnell at oz.quest.com Sun Jun 17 10:34:47 2001 From: daniel.parnell at oz.quest.com (Daniel Parnell) Date: Sat Jan 28 04:34:38 2012 Subject: multi-threaded squeak In-Reply-To: Message-ID: Thanks for that :) Daniel -----Original Message----- From: Bert Freudenberg [mailto:bert@isg.cs.uni-magdeburg.de] Sent: Sunday, 17 June 2001 8:10 PM To: Squeak List Subject: Re: multi-threaded squeak On Sun, 17 Jun 2001, Daniel Parnell wrote: > G'day All, > > does the Squeak VM support threads? Yes, but they're called processes, which might be slightly confusing. Try "ProcessBrowser open" to see what processes are running in your image. The scheduling is done in Squeak to be independend of the OS. > If so, how are they used? You can fork off any block by sending it #fork. For example: [10 timesRepeat: [Transcript cr; show: 'Squeak!'. (Delay forSeconds: 1) wait] ] fork You can give a priority using #forkAt:. See classes Process and ProcessorScheduler. -- Bert From tim at sumeru.stanford.edu Thu Jun 21 23:29:16 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:34:43 2012 Subject: historical note (was: New Block Closures) In-Reply-To: References: Message-ID: "Noel J. Bergman" is widely believed to have written: > Anyone care to do a StrongARM JIT? Yes indeed - just as soon as the license is less offensive. -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim You can swear at the keyboard and it won't be offended. It was going to treat you badly anyway From kgf at golden.net Thu Jun 28 02:06:46 2001 From: kgf at golden.net (Kevin Fisher) Date: Sat Jan 28 04:34:52 2012 Subject: A problem with startUp messages In-Reply-To: Your message of "Wed, 27 Jun 2001 21:30:44 EDT." <200106280130.VAA12285@blackwolf.golden.net> Message-ID: <200106280206.WAA12683@blackwolf.golden.net> To follow up a bit on this: I've tracked things down a bit further. The method that is hanging is SecurityManager>>loadSecurityKeys. It is hanging at this point: . . file _ [fd readOnlyFileNamed: keysFileName] on: FileDoesNotExistException do:[:ex| nil]. file ifNil:[ ^self]. "no keys file" . . For some reason, during the start up of the image, the return from this method seems to deadlock..the rest of SecurityManager>>startUp never gets run. Again, if you run the startUp manually after the image has started, it works just fine... > Hi folks: > > I've been working with David Lewis, trying to figure out why OSProcess has > been leaving behind zombie processes. It turns out, the problem > isn't with OSProcess at all... > > In my image, the SystemDictionary's StartUpList has UnixOSProcessAccessor > later in the ordered collection, after SecurityManager. When the image gets > restarted, only classes iterated over the StartUpList up to and including > SecurityManager receive the startUp message. After that, SystemDictionary>> > send:toClassesNamedIn:with: terminates prematurely, leaving several classes > not restarted (including UnisOSProcessAccessor, the source of the OSProcess > zombies). Actually I'm not sure it terminates at all, it seems to get stuck > at SecurityManager. > > It looks as though SecurityManager class>>startUp never returns...but only > during startup. Once the image is up and running, doing a SecurityManager > startUp seems to work just fine...it's only during the startup that something > funny happens. The trick is to put Transcript show: scaffolding around 'self > default startUp' in SecurityManager class>>startUp...open a Transcript, save > the image and quit, reload and watch what gets put in the Transcript. The > first Transcript show: will appear, but the second does not. However, once > the image is up, doing a SecurityManager startUp will show both Transcript > show: 's. Perhaps some sort of deadlock is happening during the restart of > the image? > > I'm a bit stumped at this point...any ideas? This is on the UNIX VM, with the > latest changes in the 3.1 image. > > > > From bparsia at email.unc.edu Wed Jun 20 18:28:39 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:34:56 2012 Subject: documentation requests? In-Reply-To: Message-ID: <909874063.993047319@JANEG-PC2> --On Wednesday, June 20, 2001 8:03 PM +0200 Henrik Gedenryd wrote: > Noel J. Bergman wrote: > >> With respect to Morphic internals, Tim Rowledge recently implied that >> perhaps he'd go back inside it, and address the performance problems. >> I'd > > Andreas Raab has written to me that he knows a way to make Morphic > probably about 50% faster about 30% "lighter" (in terms of space usage), > but that he doesn't think people will accept those changes. But *why*? I kinda assume that Andreas doesn't think that we're all dummies or something. That suggests that there are some tradeoffs involved.... (Andreas, I'm curious about this whatever the final decision would be!) Cheers, Bijan Parsia. From simon at joyful.com Tue Jun 26 16:56:05 2001 From: simon at joyful.com (Simon Michael) Date: Sat Jan 28 04:35:01 2012 Subject: nice new swiki look In-Reply-To: <3B38259A.40E63159@chello.se> (Karl Ramberg's message of "Tue, 26 Jun 2001 08:03:14 +0200") References: <3B38259A.40E63159@chello.se> Message-ID: <87zoavi3iy.fsf@joyful.com> Agreed, the new look is excellent. Fast, clean, attractive. From bob at bobjectsinc.com Mon Jun 18 16:03:57 2001 From: bob at bobjectsinc.com (Bob Hartwig) Date: Sat Jan 28 04:35:08 2012 Subject: multi-threaded squeak In-Reply-To: <20010617111557.A31163@ghostbitch.org> References: Message-ID: <3.0.3.32.20010618110357.00e60648@bobjectsinc.com> > >One common use of threads is to allow other tasks to run while one >task is blocked on IO. Does tihs work in Squeak? If so, how? If >there's only one operating system thread, won't the entire Squeak >process block on that IO request? > Yes it will, and this can be a real problem for some applications. It's not just a problem for IO primitives, any long-running API function will cause everything to block. Several commercial Smalltalks have addressed this by maintaining a cache of OS threads, and using them to make the API function call. The sending Smalltalk process waits on a Semaphore until the function call returns. IBM supports this technique through "Coroutine Platform Functions", VSE called the technique "Non-blocking API", and you could get there in /V for OS/2 through a third party framework called "API threads". We used to call this the "95% solution" to OS thread support, because about 95% of us who were clamoring for OS thread support only needed them to keep foreign functions from blocking Smalltalk. It would be great to have this for FFI, and it's not particularly difficult to implement. I don't know if there is any explicit support for doing this for Plugin primitives, but I suspect not. Am I right about that? -Bob From thecows at home.com Wed Jun 27 17:48:40 2001 From: thecows at home.com (Steve Wart) Date: Sat Jan 28 04:35:12 2012 Subject: Newbie Questions Message-ID: <20010627164954.HEXA2135.mail1.rdc2.bc.home.com@aSqueakSystem> I find myself with a welcome surfeit of spare time. Therefore I have the following questions: 1. I have some stuff (a bibliography) in a HyperCard format, but I am now using Windows. Has someone created something in Squeak that I can use to port this stack, or at least retrieve the data? [nb: I did a google search but was not able to find anything definitive, although clearly the relationship between HyperCard and Squeak has been discussed in the past]. 2. Is there a CalendarMorph or anything approaching a widget that I could use for selecting dates (e.g. as a filter in a mail application). 3. Is there a way to programmatically minimize the main window in Squeak? I have other questions but now that I have all this time, I think I have the means to answer them for myself. Thanks, Steve From jhinsley at telinco.co.uk Sun Jun 24 03:17:02 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:35:21 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] References: Message-ID: <3B355BAE.1EEDC32E@telinco.co.uk> Dan Ingalls wrote: > > -- > Folks - > > I have just forwarded 80 updates from the last month to the servers for 3.1 alpha. These include various features and fixes in just about every corner of the system. The inconsistent ordering has been fixed, so downloading should work with no problem. Mmmmm. Trying to update from 4081 I get the first 4 or 5 changesets without problem, then just the hourglass for approx 5 minutes (at which point I recon something's broke and crash myself out of Squeak). I can't get a squeak from the European server. This at 0400 BST (when more or less everyone in North America is tucked up in bed). Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From jeff at szuhay.org Wed Jun 13 23:18:56 2001 From: jeff at szuhay.org (Jeff Szuhay) Date: Sat Jan 28 04:35:50 2012 Subject: Text of "... Leaving Disney ..." Message-ID: > > >NYTimes on the web [www.nytimes.com] > >June 13, 2001 >Longtime Computer Designer Leaving Disney Research Unit I just hope they don'e end up at Microsoft. (I'd then have to take back every bad thing I've ever said about MS... ;-) Jeff Sz. BTW, Ted K.'s home page doesn't seem to be working. Anybody know what's up with that? -- ************************************************** Jeff Szuhay A randomly-directed www.szuhay.org chaotical wetware pattern jeff@szuhay.org recognizer/generator. If your perceptions are your reality, then your total reality is really screwed up, but... ... wanna buy a bridge? From spair at advantive.com Fri Jun 1 13:05:08 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:35:57 2012 Subject: Community and Artifact Define One Another In-Reply-To: <20010601064710.96358.qmail@web13908.mail.yahoo.com> Message-ID: > I would personally call that a branch. But that may be me being > influenced by CVS terminology. > > [SNIP] > > So, regardless of what the StSq people may say about forks, > according to my > > definition, they forked long ago. And, I hope they sync up > soon and often. > > :-) In my world I consider a fork to be more of a statement that > "we are going our own way here > and do not intend to go back" - or something like that. And as > far as I know/can tell such a > statement hasn't really been made by StSq - on the opposite > actually. But hey, I haven't been > involved for so long. :-) In that case, then it's likely that my position on this issue has been misunderstood. The statement "we are going our own way here and do not intend to go back" is not what I had in mind and is *not* a good thing in my opinion. There have to be some really severe issues to justify that approach (IMHO). And I don't any such issues exist. > On the other hand there are priority differences between SqC and > StSq and probably other parties > involved too in Squeak (of course) so I can envision scenarios in > the future where some forking > may occur. Hmmm...I should think that if StSq produces useful stuff, and SqC also produces useful stuff, that there should be no reason for the two to diverge. It may be that separate downloads are available for both, but there should be no reason that one should not load into the other's image and run just fine...and, it should be easy for a third party to create a unified system that includes the work of the SqC and StSq efforts. Good code is good code...and, if significant divergence were to occur, I would be suspicious that it might be due to a case of the "not invented here" syndrome. > On the other hand, one thing to realize here is that the stuff > currently being feverishly worked > on in StSq (at least three brilliant guys working very hard and > producing working results) will > hopefully make it much easier to deal with dependencies and > packaging which will work as an > "antidote" against any ideas of forking! So... anybody accusing > StSq for forking blabla should > keep that in mind I think - StSq is actually working hard to > PREVENT forking in the future. Yes...hopefully it will all be a moot point soon. - Stephen From lewis at mail.msen.com Sat Jun 23 17:56:59 2001 From: lewis at mail.msen.com (David T. Lewis) Date: Sat Jan 28 04:36:26 2012 Subject: historical note (was: New Block Closures) In-Reply-To: <004901c0fb4a$0ba6b400$6401a8c0@we.mediaone.net>; from jb@speed.net on Fri, Jun 22, 2001 at 11:35:00AM -0700 References: <5DA5491C2D46D311BACE00508B0AC0F102100659@ctnhemail02.corp.timken.com> <004901c0fb4a$0ba6b400$6401a8c0@we.mediaone.net> Message-ID: <20010623135659.A28532@conch.msen.com> On Fri, Jun 22, 2001 at 11:35:00AM -0700, Jim Benson wrote: > > It seems to be part of the software mentality to go 'back to the future'. > You hear things like, "In 1969 I used to solve the exact same problem in > less than 278 lovingly hand crafted, hand assembled instructions that I > hacked in through the front console". Look at the groundswell support for > Linux in the last few years. Apparently folks think it's a clever idea, I > guess I should say revolution, to spend a whole lot of time, energy and > effort rebuilding 30 year old operating systems. "It's really good, it's > written in assembler ( OK C, the same thing ). That makes if fast and small. > It's open source!!!". Which, of course, makes it so much different than the > GNU and BSD variations of Unix. Or, software reanimates old ideas into > something "new" like Java. Round and round, the whole thing looks pretty > stuck to me. > Granted, there is a lot of junk being put forward as "innovation." But with respect to eg Linux, I think that there is something to be said for a 25 or 30 year old design that was simple and general enough to have held up this long, especially if it serves as the basis for good new work. Squeak seems to be a case in point, and Linux is another. Somebody just "burned the disk packs" on Unix, and it came back stronger than ever. Dave From Jarvisb at timken.com Tue Jun 5 15:25:51 2001 From: Jarvisb at timken.com (Jarvis, Robert P. (Contingent)) Date: Sat Jan 28 04:37:20 2012 Subject: CAS and Squeak Message-ID: <5DA5491C2D46D311BACE00508B0AC0F102100629@ctnhemail02.corp.timken.com> > From: Sam Adams [mailto:ssadams@us.ibm.com] > > > This is a pattern (Metatype-Genotype-Phenotype, or MGP) that shows up > frequently when modeling domains that include class/instance > relationships. > Its a bit too "meta" for most folks, but its very powerful, > in my view one > of the 3 most powerful complexity reducing patterns known, > the others being > Ward's "Whole Value", aka make your objects model your domain, and > "Thing/GroupThing" (TGT), a slightly more complete form of > the "Gang of > Four" composite pattern. Whenever I have a design where all > three of these > patterns can be applied in concert, I get extreme reduction in the > complexity of the design and a resulting object model with incredible > expressive power while staying true to the domain. Is there a web page or other reference you could suggest describing these patterns? I found a reference for the "Whole Value" pattern at http://c2.com/ppr/checks.html, but could find no references to MGP or TGT. Thanks. Bob Jarvis Compuware @ Timken From Jarvisb at timken.com Fri Jun 22 11:58:59 2001 From: Jarvisb at timken.com (Jarvis, Robert P. (Contingent)) Date: Sat Jan 28 04:37:28 2012 Subject: historical note (was: New Block Closures) Message-ID: <5DA5491C2D46D311BACE00508B0AC0F102100659@ctnhemail02.corp.timken.com> > From: Dan Ingalls [mailto:Dan@SqueakLand.org] > > Now why haven't we made such amazing progress in software? Huh? That's an interesting question. I'd like to ask two related questions: Why and how does hardware get faster? and Can we do similar things to improve software? I don't know the answers to these questions. (OK, I know a *little* - just enough to know that I don't know enough). I'd be curious to hear someone expound upon these topics. Bob Jarvis Compuware @ Timken From michael at ns.kanazawa-h.ed.jp Fri Jun 29 04:25:42 2001 From: michael at ns.kanazawa-h.ed.jp (Michael Guenter) Date: Sat Jan 28 04:38:04 2012 Subject: BankAccount Tutorial In-Reply-To: <3B3BF032.598151AA@telinco.co.uk> Message-ID: Thanks John, I will try checking around. What is most important to me, however, is that I know it isn't my bad coding etc. I can try other things now. Michael -- "Technology will not replace teachers. Teachers who use technology will probably replace those who do not." Ray Clifford > > Basically, the tutorial was written for an earlier version of Squeak, so > the old alignment stuff doesn't work properly now. It certainly used to, > so, strictly speaking, the tutorial isn't wrong. > > Someone did post a fix for it, but I can't find it and it looks like it > may not have made it back to the tutorial. > > I'll try and find it tomorrow or you might like to trawl through the > archived list at Yahoo. > > Cheers > > John > > > -- > ****************************************************************************** > Marx: "Why do Anarchists only drink herbal tea?" > Proudhon: "Because all proper tea is theft." > ****************************************************************************** From Craig.Latta at NetJam.ORG Tue Jun 19 08:18:40 2001 From: Craig.Latta at NetJam.ORG (Craig Latta) Date: Sat Jan 28 04:38:10 2012 Subject: iPAQ Squeak & landscape References: Message-ID: <3B2F0AE0.A6E393DC@NetJam.ORG> > Craig, I was talking about landscape with GAPI turned ON. You first said > that it worked, and then said that it worked if you turned GAPI off. :-) > Or are you trying to say that the code nativelly supports landscape with > GAPI ON, and landscape with JS Landscape with GAPI off? Yes. I have yet to try Yoshiki's VM in landscape with GAPI turned off. -C -- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)] From johnmci at smalltalkconsulting.com Fri Jun 15 21:12:01 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:38:32 2012 Subject: Squeak in reuters post this evening In-Reply-To: <3B2A6CFE.668E986@chello.se> References: <3B2A6CFE.668E986@chello.se> Message-ID: The orginal article was pulled because the date was wrong, see http://www.reuters.com/news_company.jhtml?storyid=NEWS.REUT.20010614.N14276603rtr&ticker=DIS also in the la times http://www.latimes.com/class/employ/showbiz/20010614/t000049441.html LA Times by RICHARD VERRIER, Times Staff Writer A team of top computer scientists headed by renowned computer designer Alan Kay left Walt Disney Co. under the company's buyout program. Kay and a team of six programmers, who worked in Disney's vaunted Imagineering unit in Glendale, developed an education software system called Squeak, which allows children to create their own computer programs through games and graphics. The scientists accepted voluntary severance packages as part of the company's move to cut 4,000 jobs companywide. Six members of the team left in June; Kay will remain until September to complete his contract. "It's a difficult decision," Kay said. "I think there was a realization that with the current upheaval the company is going through, it probably wasn't the best matchup for what we were trying to do." Kay said he and his colleagues left voluntarily and that he plans to continue a relationship with Disney, in a capacity yet to be disclosed. The team will form a nonprofit group to continue its research and promote Squeak's use on the Internet, said a source familiar with the group's plans. A legend in the industry, Kay played a significant role in the development of a prototype of the personal computer at the Palo Alto Research Center of Xerox Corp. during the 1970s. Disney recruited Kay, a former research fellow at Apple Computer, to work on Squeak in 1996 when the company was moving heavily into the Internet and interactive games. The company has since retrenched from its ambitious Internet plans, shrinking its Go portal and laying off 300 workers from its Internet group earlier this year. Disney said the departure of Kay's team was unrelated to the contraction of its Internet business. "He [Kay] simply wanted to do his research in a different kind of environment," said Clare Thomas, spokeswoman for Walt Disney Imagineering. "We wish him all the best." Disney had been using the technology in interactive play areas in its theme parks, such as a submarine game at the Innoventions attraction at Epcot in Florida. Disney also has been researching possible applications of the technology for hand-held computing devices used in the theme parks. The team's departure won't affect Disney's ability to use the technology because Squeak is a so-called open source system. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From lex at cc.gatech.edu Fri Jun 22 04:34:59 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:38:38 2012 Subject: documentation requests? (future possibility) References: <200106211422.KAA29322@wayland.cs.brown.edu> Message-ID: Rosemary Michelle Simpson wrote: > One final idea, Lex, that is almost certainly not doable in your > current time frame but could be interesting for future classes - > active essays whose domain is Squeak documentation, > documentation that provides a hypertext-structured documentation > set including Squeaklets that illustrate what is being documented. > > Bright and motivated undergraduates take to this sort of > assignment, especially the creation of, in our case, applets. I agree. Actually, if they get into it and do an active essay on just about anything, I'd give them credit. I just haven't had any bites in that direction yet. > We have six undergraduates working with us this summer on > documenting difficult concepts in the CS123 computer graphics > course by writing applets, related documentation, and creating > hypertext structures to interlink the documentation with other > related materials. They learn about pedagogical techniques, user > interface issues, and, of course, the concepts themselves in much > greater depth. > That's wonderful! > I'd love to see a Squeakland section devoted to self-referential > material of this sort. Yes. I've taken an occasional stab at this, myself, and it's fun! It's much more work than a traditional essay, but the result seems more useful. -Lex From johnmci at smalltalkconsulting.com Fri Jun 15 04:46:52 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:38:44 2012 Subject: Squeak in reuters post this evening Message-ID: Well maybe it's slow on the list, or the server isn't giving me much email, since I've only seen 8 messages today, however my news filters are busy spitting Squeak related news articles at me. http://www.reuters.com/news_article.jhtml?type=technology&Repository=TECHNOLOGY_REP&RepositoryStoryID=%2Fnews%2FIDS%2FTechnology%2FTECH-INDUSTRY-DISNEY-KAY-DC_TXT.XML -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From fuxoft at terminal.cz Mon Jun 18 07:06:57 2001 From: fuxoft at terminal.cz (Frantisek Fuka) Date: Sat Jan 28 04:38:52 2012 Subject: [newbie] Complex boolean value? References: <200106180021.MAA102461@atlas.otago.ac.nz> Message-ID: <3B2DA891.1070507@terminal.cz> Richard A. O'Keefe wrote: > This is rather a strange test in the first place. There has to be > a more problem-oriented way to express it. Why does the test seem strange? I tried programming the famous "who gets the last match" game (also called NIM) and "value" was number of matches the human wants to take. So "value" is invalid if it's 1) smaller than 1, 2) larger than the number of remaining matches, or 3) larger than the maximum number of matches to be taken in one turn. -- Frantisek Fuka (yes, that IS my real name) (and it's pronounced "Fran-tjee-shek Foo-kah") ---------------------------------------------------- My E-mail: fuxoft@terminal.cz My Homepage: http://www.fuxoft.cz My ICQ: 2745855 From Alan.Kay at squeakland.org Sat Jun 2 14:38:30 2001 From: Alan.Kay at squeakland.org (Alan Kay) Date: Sat Jan 28 04:38:52 2012 Subject: Onward and Upward In-Reply-To: References: Message-ID: Yes. Cheers, Alan ------ At 4:55 PM -0700 6/1/01, Randy Siler wrote: >Just curious: Does this involve a disassociation with Disney? > >> From: Dan Ingalls >> Reply-To: squeak@cs.uiuc.edu >> Date: Fri, 1 Jun 2001 11:21:46 -0700 >> To: squeak@cs.uiuc.edu >> Subject: Onward and Upward >> Resent-From: squeak@cs.uiuc.edu >> Resent-Date: 1 Jun 2001 18:18:24 -0000 >> >> >> -- >> Folks - >> >> You may notice that the members of Squeak Central have new email addresses >> today. >> >> We have long contemplated a more independent existence, and the >>time has come >> to take that step. We have formed "The Learning Research Institute" to >> continue our interests in "Personal Computing For Children of All Ages" and >> all of us are now part of "LRI". >> >> For members of this list, there should be no noticeable impact. >>Squeak is our >> vehicle of choice, and we will continue to bestow the usual >>attention on it as >> well as on our evolving vision of personal and interpersonal computing. We >> remain committed to maximizing synergy in the Squeak community through >> collaboration and coordinated evolution of Squeak itself. >> >> For us, the change enables a continued focus on the barriers that remain >> between the potential of Squeak and what is accessible to the large majority >> of children and adults in the world. It also allows us to press on with the >> SqueakLand work, opening what we have achieved so far to everyone >>connected to >> the Internet. >> >> With a Squeak Foundation taking shape, and important results >>emerging from the >> Stable Squeak World Tour, this is a time of opportunity. Our intention, as >> always, is to work entirely in the open, and to collaborate with the rest of >> the community in every way possible. >> >> On to SqueakLand! >> >> - Dan, for all of us at SqC >> >> >> -- From Torsten.Bergmann at phaidros.com Thu Jun 7 06:59:13 2001 From: Torsten.Bergmann at phaidros.com (Torsten.Bergmann@phaidros.com) Date: Sat Jan 28 04:38:57 2012 Subject: Communicate with the Squeak Plugin Message-ID: <904AA220ACB4D211A10600104B3E85C926049E@MAIL> Is it possible to communicate with the squeak plugin on a webpage using scripting languages ? I think of an xml string a webpage script can give as parameter to the plugin, squeak will process the xml and give an xml string back to the script. (the script is then able to submit it back to a server) Any ideas ? Thanks Torsten From spair at advantive.com Tue Jun 12 18:58:40 2001 From: spair at advantive.com (Stephen Pair) Date: Sat Jan 28 04:39:03 2012 Subject: [FIX] assertions (was: [BUG] two different ways to handle assert:) In-Reply-To: Message-ID: Ok, the code in my previous post had a couple of issues, but attached is a change set that addresses the problem, and doesn't require changes to existing code in Squeak (I think). Object>>assert does nothing by default, and is overridden by subclasses to specialize the determination of whether an object is in a "consistent state"...if not, this method should signal the assertion exception. Object>>assert: simply redispatches #assert, override this if you want your subclasses to make assertions on other objects and handle them differently that #assert: or #assert normally does. True>>assert does nothing False>>assert signals the assertion exception BlockContext>>assert does "(self value == true) assert" - Stephen > -----Original Message----- > From: Stephen Pair [mailto:spair@advantive.com] > Sent: Tuesday, June 12, 2001 2:28 PM > To: squeak@cs.uiuc.edu > Subject: RE: [BUG] two different ways to handle assert: > > > It's not good to implement Boolean>>value just so that it can be passed to > #assert:. I would avoid diluting the Boolean protocol > (especially with the > message #value) just for the sake of avoiding a larger amount of > work...better to make things work right than hack around the > problem (IMO). > > I suppose that you want to pass a block to #assert: so that you can > implement a mechanism to turn on and off assertions, correct? If this is > this case, the protocol had better be well defined, otherwise, > people could > make assertions with behavior that is critical to the working of a > method...then when assertions are turned off...boom...code breaks. > > What if #assert were defined for any object to mean: "does this > object exist > in a consistent state?" The method #assert: would redispatch > #assert to its > argument providing that assertions are enabled. Overriding #assert: would > be done when the normal response to an assertion failure needs to be > customized. Overriding #assert would be done in cases where you wanted to > redefine what it means to be "in a consistent state" for a given class of > objects. Here's some example code: > > ----- > Object>>assert: aBlockOrBool > > Preferences assertionsEnabled ifTrue: [ > aBlock assert ifFalse: [ > ^self throwAssertionError > ]. > ]. > > ----- > Object>>assert > ^true > > ----- > True>>assert > ^self > > ----- > False>>assert > ^self > > ----- > BlockContext>>assert > > self value assert > > ----- > Person>>assert > > ^self ageInDays == (Date today - self birthDate) > ----- > > This code would allow all of: > > self assert: [ 1 = 1 ]. > self assert: (1 = 1). > self assert: aPerson. > > The False singleton would always be considered "in an inconsistent state." > Perhaps to avoid confustion, a different selector could be used > for #assert > (i.e. #isConsistent). > > - Stephen > > > -----Original Message----- > > From: Pablo Murias [mailto:p.murias@mercapsoftware.com] > > Sent: Tuesday, June 12, 2001 4:23 PM > > To: squeak@cs.uiuc.edu > > Subject: Re: [BUG] two different ways to handle assert: > > > > > > I think that we must have only one way of handle #assert:. > > If you implement #assert: assuming that the argument is a block that > > evaluates to a boolean, or an object that understand value and answer a > > boolean (this is the reason to implement Boolean>value), then you > > don't have > > to rewrite the senders of #assert:, only the implementors. > > > > cheers, Pablo > > > > > > > > ----- Original Message ----- > > From: "Daniel V. Oppenheim" > > To: > > Sent: Tuesday, June 12, 2001 8:24 AM > > Subject: Re: [BUG] two different ways to handle assert: > > > > > > > Pablo > > > > > > The problem is that the system has two different > implementations -- one > > > expects a block as argument, the other a boolean. This is not good. > > > > > > Danny > > > > > > At 11:09 AM 6/12/01 -0700, you wrote: > > > >You can expect allways a block, and implement > > > > > > > >Boolean>>value > > > > ^self > > > > > > > > > > > >By the way, this is my first message to the list and I must > say thanks > > for > > > >Squeak to the people that made it and to all the people that works to > > make > > > >it better > > > > > > > >Pablo > > > > > > > > > > > >----- Original Message ----- > > > >From: "Daniel V. Oppenheim" > > > >To: "Squeak Mailing List" > > > >Sent: Monday, June 11, 2001 1:26 PM > > > >Subject: [BUG] two different ways to handle assert: > > > > > > > > > > > > > The system handles in two different ways: > Object expects a > > Block > > > > > as argument, whereas all other 3 classes expect a Boolean. > > This is not > > a > > > > > good idea... However, there are only 39 senders so its an > easy fix; > > > > > slightly complicated with the implementation of in > > BlockContext, > > > > > but that only has 7 senders. > > > > > > > > > > I think aBoolean makes more sense than aBlock as argument. > > > > > > > > > > Since I need to fix this anyhow in order to file in my own > > code I will > > be > > > > > happy to make the change, update all system methods, and > > send the fix > > > >in -- > > > > > but being new to the squeak-fix process please let me know > > what is the > > > > > preferred way of handling this. > > > > > > > > > > Thanks > > > > > > > > > > Danny Oppenheim > > > > > --- > > > > > > > > > > Dr. Daniel V. > > > > > Oppenheim > > > > > > > > > > Computer Music Center > > > > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > > > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > > > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > > > > > > > > > > > > --- > > > > > > Dr. Daniel V. > > > Oppenheim > > > > > > Computer Music Center > > > IBM T.J. Watson Research Center phone: (914) 945-1989 > > > P. O. Box 218 (or Route 134) fax: (914) 945-3434 > > > Yorktown Heights, NY 10598 www.research.ibm.com/music > > > > > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: assert.3.cs Type: application/octet-stream Size: 1146 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010612/5a542532/assert.3.obj From ali at sparkdigital.com.au Thu Jun 14 04:42:53 2001 From: ali at sparkdigital.com.au (Ali Chamas) Date: Sat Jan 28 04:39:32 2012 Subject: Soft3D (a Squeak 3D Engine) In-Reply-To: <20010613183826Z.Yoshiki.Ohshima@disney.com> Message-ID: Hi, Well, i've finished my second assignment for uni . We had to write our own perspective Phong Shader, without using any existing graphics library. Again, i have chosen Squeak over any other language. I'll probably use C++ next semester for Ray Tracing though (want to work in the games business, need to be a C++ monkey). The URL is: http://www.sparkdigital.com.au/ali/index.html ...check out the "fractal mountains" part. The "computer graphics" part is also done in Squeak. When you browse the thumbnails, you'll see a "code" button. This is for browsing the classes online, but you can download the fileouts (3.0) with the little Squeak icon which appears with the thumbnails. Please feel free to use / modify / learn the code for whatever. The code is pretty clean, and covers the basics for 3D perspective projection, and shading. I have to say that i owe my rapid development time to Squeak. The colour support in Squeak is so natural that it made the shading side of the engine so easy (aColor mixed: aFloat with: aColor). I used Morphic to build a simple little 3D workspace with sliders and a menu (try: Soft3DWorkspace new open). It's by no means meant for any "serious" 3D work. I have simply made it to assist my rendering work. The window menu has all the goods... This is by no means another Alice (far from it), nor is it anything next to the BalloonEngine (Andreas, you are one cool cat). It's just a simple 3D Smalltalk engine. USe SquEak, Ali. From sgelkins at bellsouth.net Sun Jun 24 12:01:39 2001 From: sgelkins at bellsouth.net (Steve Elkins) Date: Sat Jan 28 04:39:38 2012 Subject: [FIX] CelesteTweaksAndPatch Message-ID: <20010624120248.DMUS28152.imf04bis.bellsouth.net@aSqueakSystem> from preamble: "Change Set: CelesteTweaksAndPatch Date: 23 June 2001 Author: Steve Elkins One tweak is removing the send of MailDB>>#cleanUpCategories in #emptyTrash because MailDB>>#deleteAll: (sent in the previous line) sends it last. The other tweak is removal of a class method duplicated on the instance side. The patch keeps CustomFilters and CustomFiltersCompiled synchronized when users make syntax errors editing filters."! -------------- next part -------------- A non-text attachment was scrubbed... Name: CelesteTweaksAndPatch.cs.gz Type: application/octet-stream Size: 1222 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010624/915dee10/CelesteTweaksAndPatch.cs.obj From sqrmax at cvtci.com.ar Thu Jun 7 01:38:12 2001 From: sqrmax at cvtci.com.ar (Andres Valloud) Date: Sat Jan 28 04:39:44 2012 Subject: TexFileOut problems References: <3B1E521D.79FF3388@telinco.co.uk> Message-ID: <3B1EDB04.BE50FEF0@cvtci.com.ar> Hello. > john@molehole:~ > latex Symbol_class.tex > This is TeX, Version 3.14159 (Web2C 7.3.1) > (Symbol_class.tex > LaTeX2e <1999/12/01> patch level 1 > Babel and hyphenation patterns for american, french, german, > ngerman, n > ohyphenation, loaded. > ! Undefined control sequence. > l.4 {\sf Ah, this is a macro for the default Sans Serif font under TeX... I guess it's not defined in LaTeX. If you check out the TeXFileOut package, you'll see that it can be configured to use other macros for Sans Serif fonts. Take a look at TeXFileOut>>setDefaultFonts. Alternatively, you may replace all occurrences of \sf with something else that selects a Sans Serif font in LaTeX. Hope this helps, Andres. From merlyn at stonehenge.com Tue Jun 5 00:42:29 2001 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Sat Jan 28 04:39:46 2012 Subject: Collection squared but what about fractions. In-Reply-To: <000101c0ed51$d35a0580$4f0c10ce@rd.wdi.disney.com> References: <000101c0ed51$d35a0580$4f0c10ce@rd.wdi.disney.com> Message-ID: >>>>> "Andreas" == Andreas Raab writes: Andreas> John, Andreas> How about making a little tweak in Fraction along the lines of: Fraction> * aNumber Andreas> self == aNumber ifTrue:[ Andreas> "special case for squaring fractions" Andreas> ^self squared] Andreas> "...." Andreas> This might even help in some other cases (note that the above uses #== to Andreas> prevent doing a full comparison in case of a non-fractional argument). Does that actually make sense? Are all 1/2's identical? I can see using "=", but not "==". Just tested: (1/2) == (1/2) false (1/2) = (1/2) true So, nope, that true branch would most likely never get triggered. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From ned at bike-nomad.com Sat Jun 30 16:01:55 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:39:50 2012 Subject: Supporting newish input devices In-Reply-To: <15165.61417.328000.732311@noontide.demon.co.uk> References: <15165.61417.328000.732311@noontide.demon.co.uk> Message-ID: <01063009015506.00791@ned.bike-nomad.com> On Saturday 30 June 2001 08:27, John Kozak wrote: > I've got some (PC) peripherals it would be nice to have more support > for, and I've started to dig around looking at adding some. I'd > appreciate any comments on the feasibility or folly of these: > > wacom tablet. By default, this acts as another way to move the > mouse cursor, but can be used as a another, independent, pointing > device. I'd like to have two separate Hands, the pen one having > genie on and the mouse one not. There is already (IIRC) tablet support in Squeak. Look at JoystickTabletPlugin. I don't know what it's good for, though. (I'm getting a tablet soon, so I'm interested). > MS Intellimouse. It's got five buttons; it'd be nice to use them all... > > windows keyboard. I'd like to be able to use the windows and menu > keys - could someone point be at where global key bindings live? Is > there a utility that dumps out the keyboard stream (or something like > emacs' view-lossage)? There are key bindings all over the place. Most are set in the class side of ParagraphEditor, though. Look at EventSensor for the definition of the input events. It looks like you have extra mouse button bits, and/or can add new keystroke modifiers for special keys. You'll have to modify the platform-specific bits of your VM to pass the additional mouse buttons and keystrokes through, first. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From lex at cc.gatech.edu Sun Jun 24 19:00:07 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:39:51 2012 Subject: historical note References: <01062318202701.00883@gandalf.merlintec.com> <01062212115701.00883@gandalf.merlintec.com> Message-ID: > > IMHO, the original Worse is Better presents a false dichotomy. There > > is never a 100% solution to a problem, and instead you can spend more > > or less time designing before you start building. No matter how much > > time you spend designing, you are doomed to eventually have a design > > assumption broken. > > The second paper, "Worse Is Better Is Worse", says exactly the same > thing. But I didn't see this as really contradicting the conclusion. > I was a tad too harsh. Often one design decision is WAY better than another, and it becomes tempting to say that they better one is "the right way". This bothers me, though: you can always do better! It's true that this doesn't matter for the basic thrust of the paper. Certain bad decisions have a way of sticking around, no matter how many iteration you do.... Lex From gohu at rocketmail.com Fri Jun 1 07:14:36 2001 From: gohu at rocketmail.com (Göran Hultgren) Date: Sat Jan 28 04:39:53 2012 Subject: [ANN] StableSqueak first release - 0.1! Message-ID: <20010601071436.11537.qmail@web13904.mail.yahoo.com> I am posting this on behalf of John who has trouble with his connection. Last minute note: Before you guys jump in - the Squeakfoundation server was moved just a few hours ago so it seems a file has gone missing in that process - a contribution for Mac users by Henrik Gedenryd. Henrik will probably upload it again within a few hours as soon as he reads his email. Ok, enough with the silly talk, here is John: ----------------- For the impatient, a public crash dummy release of the Squeak World Tour code is available at: http://swiki.squeakfoundation.org/stablesqueak Others are advised to wait a few days when a far more comprehensible update will be released. Mail will be sent to the list upon each release update. Documentation in the image is currently out of sync with the code. Not all of the subsystems have been placed in the repository, nor does the distribution match exactly what Goran Hultgren describes in his very informative report on the prerelease. Andreas Raab has graciously provided me with code snippets that will make the image play happily with the latest 3.1 VM. These changes will be going in this weekend with documentation correction, cleanup and enhancement. Further code should also have loadable configurations. Further, mac users will probably have to know how to set the creator flags on the image file in order for it to be double clickable. (Quoted text is from the article, "Design Principles Behind Smalltalk" by some guy named Dan Ingalls) The Squeak world tour is a traveling feast that has roamed around the world with the express intention of reflecting upon the core of Squeak and applying refactorings to make the code more reusable and configurable. It is an offshoot of the Camp Smalltalk project which is an ad hoc community effort to build lots of really useful stuff that is portable to all of the major dialects of Smalltalk. It was Ralph Johnson who suggested a tour guide. Someone to give a thread of continuity to the effort. That role somehow fell upon my head. In my role as tour guide I cull bits and pieces of work that others have done and reshape them into something new called the Squeak World Tour image. It is my express goal to serve as a shepherd in this process. It is my fervent hope that a myriad of configurations will grow from this base as people explore their passions and use the environment to experiment with new ways of doing things. After all, a fundamental principle in the design of Smalltalk is... "Personal Mastery: If a system is to serve the creative spirit, it must be entirely comprehensible to a single individual." Smalltalk has quite admirably addressed this principle in its image based development. The first releases of the World Tour are intended to come up with the smallest possible image that is still a usable development environment. Further, the code that comprises this is externalized in a repository, first as fileins later as modules or whatever else people choose to do. Configurations of these files may be named and revisioned as well. A very small bootstrap of very portable code is all that is required to allow other dialects to access one of these repositories. "Modularity: No component in a complex system should depend on the internal details of any other component." Most of the early work in the tour was directed toward understanding unnecessary coupling of classes and methods in the base image. Models don't need explicit knowledge of morphs and view, so that was factored out. Two very important goodies in the first release are Smalllint and RefactoringBrowser. These are two extremely powerful tools for examining the code base and making controlled improvements to said code base. "Natural Selection: Languages and systems that are of sound design will persist, to be supplanted only by better ones." I am a strong believer in self organizing systems and evolution as tools of progress. Unlike others on the list, I think forking is good. With the caveat that one needs to be able to share the best of what one does with others who may live on other branches or even in different trees. (What is the sound of a metaphor breaking? ;-}> ) The fear of forking comes in that one may wind up on an evolutionary dead end... abandanado and verloren. If we can recognize, name, and structure variation, then we have a means of sharing the valuable parts of our experimentation with others... even if they reject our world as a whole. My belief system asserts that variation is the means of evolution and selection is the process. Making tools to recognize, categorize and revision variation gives us the tools and vocabulary to cross fertilize ideas (not only between different Squeak images, but between any Smalltalk images) and intentionally select which features from which experiments get included in subsequent variations. "Purpose of Language: To provide a framework for communication." Finally, when answering developers asking for guidance and tasking I have tried to focus not on dictating how things get done, but define tasks that will facilitate sharing objects and information as widely and freely as possible. I see a world in which we each can be master of our own image and construct it from uniform components. The goal is to facilitate each developer in their process of evolving the language/environment to meet their particular needs. Both in supporting the selection of desirable traits and features as well as in not requiring the inclusion of features that are not used. John Sarkela :-}> Squeak World Tour Guide ===== Göran Hultgren, goran.hultgren@bluefish.se GSM: +46 70 3933950, http://www.bluefish.se "Department of Redundancy department." -- ThinkGeek __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From arning at charm.net Fri Jun 29 15:34:19 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:39:59 2012 Subject: BankAccount Tutorial Message-ID: <200106291534.LAA25649@fellspt.charm.net> Optionally, anyone could post an updated version on the public swiki at Ga Tech or on BSS. Cheers, Bob On Fri, 29 Jun 2001 11:15:41 -0400 Doug Way wrote: >"Rev. Aaron" wrote: >> >> Do we all think that perhaps it is time to replace the code on that >> Morphic tutorial to work with 3.0 on the Swiki itself? It seems most >> newbies are using 3.0. > >Yes, I agree that the tutorial should be updated to work with 3.0. The tutorial itself is on squeak.org, not on a Swiki, so not just anyone can update it... perhaps whoever is in charge of squeak.org could update it. Would that be Russell? > >I assume it would just be a matter of pasting in the new code forwarded in Bob's message, plus maybe a note at the top indicating that the tutorial is compatible with 3.0. From RossBoylan at stanfordalumni.org Sat Jun 30 05:53:07 2001 From: RossBoylan at stanfordalumni.org (Ross Boylan) Date: Sat Jan 28 04:39:59 2012 Subject: Debugger desirable feature Message-ID: <20010629225307.H7776@wheat.boylan.org> When in the debugger, pressing send will not get you out of a method. I think it would be good if it did. Is there any reason for the current implementation? While I'm at it, the debugger highlighting is also misleading around conditionals. if foo is false, code like this foo ifTrue: [ do something]. next command. has "do something" highlighted after evaluating the conditional, even though it will not execute that statement. At least, that's my recollection. When I try to evaluate the following method: silly |n| self halt. n_6. n _ Project allInstances size > 30 ifTrue: [n_5]. n _ n+10. ^n. I get a code simulation error at evaluating the +10. Other variants seem to work OK. From jecel at merlintec.com Thu Jun 21 21:07:05 2001 From: jecel at merlintec.com (Jecel Assumpcao Jr) Date: Sat Jan 28 04:40:00 2012 Subject: historical note (was: New Block Closures) In-Reply-To: References: <41c1338e4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: <01062117070501.00883@gandalf.merlintec.com> On Thursday 21 June 2001 15:22, Dan Ingalls wrote: > I did this in the NoteTaker Smalltalk implementation (1978) for an > 8086 that ran at 8 (count 'em) MHz. The ref is page 19 of the "green > book" where the figure of 6 (count 'em) k bytes for the kernel > interpreter also appears. Too bad "normal people" only got to try Smalltalk when Digitalk released their Methods product seven years later (1985). I got to use it on a 4.77 MHz 8088 machine (the PC), though I had a hard time finding one with a full 512KB of RAM... Looking at how far Squeak has come in seven years, I can't help thinking of the quote: "For of all sad words of tongue or pen, the saddest are these: It might have been!" - John Greenleaf Whittier -- Jecel From arning at charm.net Fri Jun 29 13:08:35 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:40:01 2012 Subject: New VM for Linux? Message-ID: <200106291308.JAA29787@fellspt.charm.net> Christopher, There are several possibilities for what I think you want to do. - If you are interested in kids publishing their projects and later being able to load them back, you could just use a normal Squeak image and a shared file server with directories for each student or each class. Navigation would be by either the blue publish/find dialogs or the plain old file list. - You could do something like BSS running locally. The code is available if you're up to a little hacking around or you can wait until it becomes part of the normal ComSwiki distribution. - If you want something just like squeakland.org, Andreas or Michael could tell you more about how that works. Cheers, Bob On Fri, 29 Jun 2001 19:53:54 +1200 Christopher Sawtell wrote: >I am hoping to be able to interest Caleb's school in the whole Squeak / >EToy thing, but as >we are here in NZ and Internet traffic is not without cost, I expect >that I will have to set up a local mirror of Squeakland.org. > >Could we do that please? Are there any special modules for the server or >is a "standard" Apache all right? From dway at riskmetrics.com Wed Jun 6 21:53:47 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:40:09 2012 Subject: On interfaces - Morphic Wrappers References: <909E88754E6BD411926B00400531D64AC9648F@CLEVINGER> <15134.40401.640000.127748@noontide.demon.co.uk> <3B1EA3DE.79B25EC9@core-sdi.com> Message-ID: <3B1EA66B.C659D524@riskmetrics.com> Actually, it might be nice to have a version of MorphicWrappers available for Squeak 3.0, since that's the current, relatively stable release, that people are most likely to have. (I had already overwritten my 3.1alpha-4048 with the latest 3.1alpha-4081 changes and ran into the same problem as John, so I had to go back to Squeak 2.8 to try out your 2.8 release of MorphicWrappers.) - Doug Way dway@riskmetrics.com Gerardo Richarte wrote: > > John Kozak wrote: > > > > Just downloaded and fileIn'd this, and seem to have hit a bugette > > (this with squeak 3.1 4081). > > I'm sure you haven't done anything wrong. This is what I meant > when I said that it was hard to mantain a package up to date. > The problem with the text appearing outside the balloon is not new, > it appeared with one of the latests Squeak updates (between 2000 and 4048), > we tried to fix it, but it will take some time (does anybody want to give > it a try?). > The other problem (the doesNotUnderstand:) is pretty new, I haven't heard of it before, so it must have appeared with an update between 4048 and 4081. As soon as we update our images, and have some time, we'll > fix it... sorry for the inconvenience... I'll announce the updated version on the list as soon as we have it. > > Buggy Bye! > Richie > > --- For a personal reply use gera@core-sdi.com From ned at bike-nomad.com Sat Jun 30 22:36:57 2001 From: ned at bike-nomad.com (ned@bike-nomad.com) Date: Sat Jan 28 04:40:14 2012 Subject: [GOODIE] ProcessBrowser for Squeak 2.8 Message-ID: <200106302236.RAA22866@dcs-server1.cs.uiuc.edu> For those who are still using Squeak 2.8... "Change Set: ProcessBrowserFor28 Date: 30 June 2001 Author: Ned Konz This is a version of my ProcessBrowser set up to work with Squeak 2.8. by Ned Konz, ned@bike-nomad.com "! -------------- next part -------------- Content-Type: application/octet-stream; name="ProcessBrowserFor28.cs.gz" Content-Disposition: attachment; filename="ProcessBrowserFor28.cs.gz" Content-Transfer-Encoding: base64 H4sIAAAAAAAAANU9a3PbRpKf+YH/YUxtFcldmSEpyQ8mcVaWnIsutuyzZLvuVLQKBIYiIhDA 4mGZe7r77dfd8wZAiZGZ1K1rNyIwr56e7p5+zaBztPDiK87OeDFptd5lic/z/GWW3OQ8+znJ xs/ax17Boai1N2T/XsacjYfDUfuwLBZJhq9PecB+TeJ/ttvnizBn8D+PfeFZHiYxS+ZsuWJu pyznBStTViTsJsmu2U1YLNjZP0ruXbPx4Nmg3Z6tmOp0l8U8+PssvOaP42TpBQM/WbY7j9rt oyTgvyRRgP2VMz/y8nzCdo75rLy64lm7FcZ54cU+/+hloTeL+Km35FCjG8YFz7IyLXggwWLW q6MkLrIkiqBXH37yr8VZ4fnXzsN5kjrPJ3HAvzpvXod5wTLu8xDwcBLnKfeLRPeoIMpNCbzl WexFJwoSliJsPPjoRSUHhEVQL4yv3h2xPCkzn7/xAH98mdKsWO59AdDLLIeuwjyJvAJw/wv3 Ajb3wogm+ht0wKDvJPvkwcAfTtTku+0WIa+KpyNrPr/yVQ5ouYahXmEX77lfivWF1mmSRMeh j0NCF9QW+wSauUqyFTydQ4X8sVqZ7qP2G1i6yF41lz7Wr53Ag1k49SxhZUsONBmc489UVKGV sH6Ltcr1IulfskAjV3eNIOqnM/qbIAl7mb84KzJYFOaVRfIhDWDGCrCAzwHXPHgDD94VB3yF acjjgkFvhagKC3Wo2mEn69ZhEwyf/vpYjSxxCFhuP6qwHXDOEmCAFV2m0OgHYFaYSuh70Ysu 4CgEbmbDR+2j9eJAS4LxU/YW8DCDXkEYDO8RBmnGo3AZAvArJRjajmBQUAPr8yVQ7KSJ6XWH AcCdhbMS1oOVMQqAYsGVAHkd+jzOOfR0GARQYfxEQTphi/BqEcH/gSJ8YHq52oCXgKvaT01t j9508/AKGBMWfOmlMEfebcuCUHCv5vPuLuvyr2kEdZx3S0EDrPCiaNVFqUdExyKkP1iQUnU4 D+NAyQhsGCMdq2dsJ+m43tIXS0ZrGBYwiAc9dQPkuC7zFwngJG/uoG2t5DIJcgai92UyY4dZ DEQ5abe9CCRSrlsC7tPIWyH2YKW7eVW0wyDtxyxfJDe6iYIK3gcZiM6ux4zghXktvIJ5aQoM lTOQKNzzFwBgzFU/MJTqgiUZLDcUAEUVRQjjxST/5sCR13FyE6tBeQ6V5uFXhOdDEUYhVCYM QM0r2n2IBQNoEiVegPynwL1Z8JiFICtjwEZvxCLBz17QljX60LWfAHf7UnywoFymBAPSoQd8 +oWr7trIh0r0SfmU/4ycBvQDUHlR+E/exX6IJ+NrNhp+N37+HXIVG+1NhmPg5CTl8c9lFJ0m ZyXQXBy89mYcmMST8qfd6hxlHCeE6577Cx6UETywOTRigRqd9lkE8QoAjEEUQScDdpywOCmg D1hn5FHoBeuAgM9QYLnTGXTarVvAY/ox5Dfstt06WwJVA2VfA2O+SbJ0EfrtViucn2cln0Cn rdYFyM45U1OQddwJDLBe0950ydTOpcDJU+8mPuU3ssbJHIXCSf7hZMLqGzv1+xnHn8JPBfUl I4hmZRgFbz4eqcXBsgpeAR1nsDwTtgeL8XeUdFY3vtEUcHKnybnCH1T6rHD0iG2LAE6TIpwD ydNeFxewCSzzKwloJOCmP+upIZY9sC8IfxM1UAsprwbQ0WGlDfJjzn4rQXpgSyXZJOXPwwx3 VA5yDwQmsnCO+h8WtVvEKbtiVI9kj+T8KMI+sVIpBQjOtka84RzENfQT8DyEjXXAgBI7p2/P X03YJ+TYAjcHgV6QvkWZxfkuzpkbQbTwQLxxqKtwEpC4amVlTOPfgPwFWHYJC8WizEWnCgW7 QDJi3iB9voQJlCvmSDIaoN3CIZCbxDCCWRHY8wUqcbRX3YQ4rYT6FuwE66hZKiWmgh0McDqP ynwBqtcs8bIAiMrW8i6ZrCQZQ7we6LbO6wmTreIkA36FWjjkpSEgeNMTBDDjV7CvfYJVAmI8 Sz0f9RQGS9TtW3x9IdoTH0EZ1TuS28yu6Ra5zlFHqQsg5FPc4kk4dD5xWBfAoRcBzQYrWLsv oGcGhGfdFqhzBah7/BhmcAP0tyTjQRBWq5V6JBpSISoQp62WBaDuBbSwBGhzdRh8AUhtQElQ uKpyTfRQHVe5lgNzFDzA0q+WHDaX2F+pgXD+mwpIIY5EBcXqJI4AJsXZkt+I8/8cmXkst3vk xTM/A6quCVKs31LCVEFuCVMCnSrZ4IsXWr4eoHztjfbZX9kB+xsbPYH/yH2DtN7oZVkUiHXU 3vqIVsXCxmBT7GiZcEBsSGkXKcCqpjJLQGeENX+ZgM1GSzd1yJIqb9Y9yUSpEVndbbRJSHAO iwnrpWzpfZ3g/gJYeDLsb7qBSN1QaiEoU+/aSJ7ARpLxvFwqKwU2unMJZyOdAvp+9qIc+V1X BNGe82lFGFnIaxY/VuUNZELFZl3HXQ0MGcYoPBoKLlkcRjR03frXYtq1ItmPP7KeqgP2R4pA vaEiXLQdrS4JwSgxRROoOwdesBFRvBagDXCkSXqeTATZVwzbqWyslqPRh5GjgbGmPaGkWRRZ QDWIE6pgVanKlgpB1QGb6h7uAF70Mq1OcyMutHhqssaTA/v5XRAidjqgX4AzyVgBsJHrFQ52 pc6jNWQ1/STmnUaiIoLDfl/yORqE4PDgBd9FHQaMYQ5MBDoAz+Ou3WtYdDbaMDQ3il5pcT8l GYAvhRE9TG26NG0skeRHSc4P4+BDrDSi0+SVYnALDkFar+VG/8kroDbqGh1Yt8LLCtQBcJfx cS+PA+ga5tG0NwFLzREeBzJZiEqkwsQhrfGUZF/7kXSinKP9vE6DfiyxWhOAT6UAHE2Gz0AA 5unqFQoP2IRADwtz7qPRaQSighQW7Y2skIAhiHsW94/LTKgjlooN814JRRv+JrGlUStS8oTS iM4C3BtBPUUbQWh+q2OOe1IRLvkQLc5z+IGuBtQCexqYMP8VVNO384kynB2RI/QHQje6yACM GByH6HdR7WG1eJeENtaUTjdvrfxTzgtRU2L8rgaiBhKE8uySkgxOBZjl2xmo9V9szvCMqqEQ ANsz/a2jXa0SbqqEpUtGSFqaakdR4l+ToxQqKSReSqT+zVk5wsGStGfpzkELAd5iG9SqLy5u GdE0dXJL/Gae7xm7pedz44VCYSSMk+dnwqqYqOFxBpXWD8AeW5B9952DGhvIHxQhTcGXAZsW Cg4Jy5IJb5YQtIDsa9I/qoBpdwtoYmgEa7oDHkUfGnD9O1kFdZUOiWTlOKB1J45AJJBbBP6g 6wW4NV90xApIBBX3YRUmTevYJAps8pQCAagfVLs7hMB4KITA24fw/C2aZwx+oYp4MRriPwIv f8/BfwWovNgbjPZHB88RhehpJStoij1fD7Bhbw2ZQ199gROs5czSBTZtbDskaRKDHxMFB/2V xo+gbnwDS26E32gIjw1yr01UsR4LaCiKWcnQC/QPbXztk5ClRF/gpeXe0vgrLiY5k1BmHGxm wFf+vVQPxF407aNkQ01ZGg9ggq7Ye9AOoiLvClX4m0lg9PyhJFAkP4fCMQ/icC5/ImGcGdnP vwDZiurg+9Cijn0CbhEMAp5HD3bhSGho2M6jznDl0Z0Z6K6hFToLUNu9oeaqgJab2vw5a05D XTKc/RktqobEQoQcU68tvsflFUureqEHyc0K6876Eec0reAzsYLDp5O9PVjBmfA4vzOM1hZ2 K6uXCH9GVd4KenooEPujRiDEUF78dkZ6Mi6U4ANcJfnrUlCDQCUxQBJr1sHlEwJhoBtgJOBd CTj9Sw9eavFMUL6FpqJarf4h2gPdPusi2xJqQGFLcYXR0NiRCgqunePcYQ29UGurAZvWVRBw fi2qME0NUKQgNsOo0eXl2iHzWYGhhMsdyyW8hE3rZezffSQaqij1IPqNy3UeFhFMoktGdnfw reOM1ThW3wX+AUHxVrg2tVcTmJ+4uXMinY0oID6cKEz/1JGwguJstmBhARnu1Qt3r4GnzTdt seBaSvDENlW1wZqNsDvaCwcSUx6k5YrirGEO9r0Nq6zhUJGoSwBkfAlib2I8TOH8ELSUGPfY qdGskvkcm5CrSuMUcKzj6BI2W8fHhq4AUsGriggwsbK1u8mTyR66VUT8TelEkueRkdUrYn43 eC38HuQ0MdjCZiRno5MYfMYvIw8GzDiENvMC47zkzVZBPmn9HMb5DcYrq8FxLSYsprJBuiQg 0UCDODLZc3apgo0JmYrA9Xp2hR/YCKVGC5F1YRe8WK8tTh058y5JP6RvMBIQxkA6S5jgS/Sq qgkOmIWYNZOb2FhWFk5px+KRPhyWfvBqD59Pxvuw2jLIq9exCpss386goLAcoOTC4LDct5C+ 5Norly45meQ7y+00R18n0l5T9UtHqOsciIGubXUk67rZEoRuKw3iDsJ9hfyIxrKoiTFwainM g1gZDsIs0tHxvIHGzXjV4cP81TJF7rOFDLkbtOlbnSvss6rInZooEOjTWtXXQi6AKqpvgfUB GjBvxFd10Brip7QR0mC/k5wetWV+wloyleXbIdPxaLJ/QINKwUtCUChcsDi0BwhJfNsAyZrN gQzEglTP7onxsbF5liyJZKpJL4P7dlJn2G1tqkfCGSj31vd87mGKEJKkdBOe/Gm7bec0AT8y 1Eem0s2I5TCeBq45hZBHj+7DyAyI8CpD0mvASoPsPoWNd5f5XtztWgpGw8DdCtANUMgwQhin ZbHZ6P+ZlGyJTlpwPvyWXKN8qI3jkuNlbcd0K9RbbKTEuG2qykxFA2jWaxygHqji2H1sbydC 3dYShA/YiZpENjOmx2cS2Gw6+OP2LCXVaaTmcWAdimRSGwu8Z/9EmzpI0JmRhuDNUPvABjtB Gg6Es8OAhfysqaTVwuQIqnxMA6AzgE1yHKYngI4TVRX+gYsNo5Uh+98fWfMc9D/S0aCjFw07 DOlklShPj4YOYz8qA56flTOxXu7+27dG0C0bt7VczVz8UwtQQJMp/vtX2E/XOQKeCX8SJYmA NkpueJUWCqwJjkzhDEIvqiedJyCnD1m+igvvq2gApnMKLA1bG2WfnYjwU7aSupLJW1yC0e9j Zs57D5w1qFDJ7MREZNOApxUEMMpAeJ9gngxI+U8eJfPJuugis4YG2Kd5sYr4Re8ZsDiE35/B /5+yPZjlUzaGX+O9/nw0252P/FkEePwef979iE+j/YPh/h6gSD6LUvi1HbyPxsILRImAK+Qj aFv357VbXpO51Y11LiTFRbzfpxJ8NgOscwB1XfWjNspGoc2HDS3GFn31fnr0qM/efDyyw373 z/zOrX9jEOxdnwbreJtv8RuPcvLWGqOD7H1Hw60R3+gpEZ+WTqiMAN2RTkIw4C+YD2W/iGMH Ilu4F/aVAcl6J/22if72ir7wG7Fe0G9XUnpZL+237QThwWAAu4J85115oO/1QCR3SdDuwjBO dnk1jN/FBDlULSh3/bFMh+15/W49Xi/rxvWqfbbLum35hnKKe2UfIaDcP/Aw9lCS4D4hDzAk Mb3dcU0TtuNa1FZuhX5j9Mkd19nCdizLmO1Yygl0k1xdRVzjgbOdmmeA9bekHD2bjPcMSZiN vZPDNsodLYJy4j9x7/owy7zVLruRKXCUGQ72wlUhEho55UVEBRG13YGXv8U8aBQekcQrBWHo ATUHyqG+VfpLk4TEGlO2XduvumoPtbjW2hY3CdkW1xgUceXrRkbFt5o21eH/n1g1TW5FlY5V BUIv0fSP8pU908bCPuZbVFkQk78qgknPv36MprBSqluVlkqDd62vW8yJgQiriNzXWhQqFh5U 0w7OVOhrTOV1WDA3QIU5MJFGCUodY4fRAzf437oj6coRx5SvA1oq4sfo90FwLI8RfTh5o3In L5pXbTq1enVU6IaqCrimScZhxKRvYUsaMoTKcLOswYHGIwSRzyokCv5cYb+BsdhQXLPaKSBm ZGPdqr+sn95S2Vlmca68bAb4lQIVdRWMU+I5rjL2C3OspFMdTY3ioedTnFrLpdH/myuN6U8t 54N8CtPaJFIbT2jeQEj15Qp789hkBr15RjV48SOb6ad6V3qnoeR7irdZFYTbX1nM1WFDfI+J R/WVqHovhibBiDbowI0wKo9Ks1WnQLif5DZI+bIIb59ckqoFRKPMAUHwKXYH8lyCOQB4yYZ1 tzZVbJY+a8Xo903O5j9ieinPxGaRK+pGYRYHGOJNYJvKzj068oRpCqoGmpeU0egvgMpj4VCV pzJmEDCioxgDdjIna1IGjXcZ6SWY/iKGRGsTA5grxADVBit4l845yJQfa/xdVETycunNohXt ntAPD8LinRdzMT4IUn8hz5UAHAijyOclI7YHamNde3uAJrleXVxCQ3HaV3Wri2S3+rmqg8r6 71XmnGpgXghbxIxlZ7HsuNKH7QhL3eSo2epvdUftaz+NIYF+3UnJanTibpxQq0zRONyMnDbY HEwcp0bCT6TiuDcZP9VZFNqnqHoDofA2PhLZim5Ws3UmN8kqhYrIHwbg+8NDR60/mIxHOsCr z3YjMjyjfLN2m8l/5mTxpV1jYCq4EtJxA1ZqVb1Zw2/CuRXEfGaCmBrp1aPUGwcxNxqSkmUq PFEf01Jca0e7dVKqMp4fToFPv5MidDwURpvL7Q1wbRop2xwXFYFRG7NZja8hQ3Yz3QZoQOsH CJotmiiKx325E1K2NPnw/ftDvgAMJXxhhBeP8S69eMVkgtlPtcBud582Yxzg0hrRzk7oUamK wUiftnj1XzxLpv3mCOIdyZRVTbGWBkfd/5UyLL8Jw5bfCOlNbzSO8qClC50E2taAe+idTv33 KHDQ70z4FuYrBKnwwJ4Mv1uH4fVZZnkShk47kw4gHdJ4WnjBNf70IXU6J36VUdJWSSH/L5Qa TfmKoezuFEdIfcxStq6wuHWUMxkYepvVAm4jhpEZoWzqyxrAto7dig37BVTaKWM6Ju4GcJ1O W62LCwvOy6adR54GysSTSIFtiYOIuJeaeShfWty0gclCETmQ0RXMtNEJgdJvT88i5IRWERPt HE221+3ZPv0+64JnDiqDUuBnIR2h22WSpfxs14KwDyx2LlIa8B+0EYdnpwYMuvFjMyAIAduD QaTU68WQqyZFol58Zcy1yC3iLKVdyVpU/ZoqGRp0KunXTlS2ckbMB5uOn6uaE9PIpU+MG7If 2XAtKQM7XNa2PIj0YIkTuai2gf88JpdFiB2oAY3tBpICzFKeFURgvUNwf/mhiEhdc7AnoT2x 6ASR2Kd+fqCzas1wYgjRnZZdlYtsGQcKhEMYwkP9XIj4aca/sAnlatzSkWpxCpJeEEx0WYrK cMC+/yZBgd8ikNczsGCwLeyLhlvZqJ+J1L6KKt5uXdyTNqBCcjLrf33O/57O+Qe5/Asdn0gA Bddc+TaxTBw6D1G0QrMvPMZbZMD332neOra5S2n1041t3ArzjOQ1/L3UoY6GYIc6oGoHPfQ7 CH5Ur1BhvcxUNC/fQ5gDLwMQsGPUQ1gMrDfro8ed9AyptuQYKRFREB2FGLN9JqLVzXGItWbe /WadZTPeZeH1ZQb2XXRjTnlpanPP3CO6wSk40XfSGAOxl/e75FBHgV01HwWvYPNtkAcwBmmw lQSGz8ZcsQTWTg9DrfoOm37lqLXdpCmAQX9U+up0Sxr/vnZGnpnh1+lhW8HY88lwWB90Altj WiyYlSlnZD/4237RUf8NkodZg4Uqjzz3jE0aE+KZyByp3n31gg2Zq0Q7QFxati0KW7f1vSGX tdEeneHdMIMebgZH9in3t3NxYwChrt+YeWWQuDbDS1cRe3vlpatn3IFcVdEy0+Zyk2uaTA2+ phkpL2q71ara/z2XXRSEwzoceqFs/61eymnf5HyMnrIDkI57Q/jP6ICN9uDveMj22Pg5G8F7 fD3G/+2x51ATXlG9fXgaP8G6B5g0Aq8PqPkTzBs5YOMx/jSdwSj7eLcWvsSqT0TBc6wywlL4 hRsPG/cbk0l08sjDH0r+/fY6+5d5uG/W94s3z8ciPPLi5DtUQtIP7kemqn2uecu/rceJoHzm xEKUhz/UyevVQFE1/EFKpU6mq6RqNm0Za0MgJgHx90xsvd90j7Zg15y0jXtxMBJMe+NVl8nI 6AWp2+3SnkGnO5PZeCKZpmqyWnLRsogv1/rrHFF1C+Ak2nrE35dr7nDEiiZdshq9w5ZoHAxM R3T5VJNEdjsnvGyiSaxfBKMH7Q2tRRBXgwhNy/gx5MQdQ7nu6rNx1LVScPQ8wEASLhyNvIrx XZ2oMIzwjlQdiVY9qBxa8Tho6E6Y420rEH1YyBsXJ+ycQiagBcMSB7oORnAmGkhaDF2GJpsq wVX7XpfcMQT4fyDQDqbgDLauBw3zbau8htUUEf7B3GaGqTGcxQZb5rkKvynO1txlcRvh9z5m 04Gm6e8T5paaY1kVD+xDbzDum+0IgIOntaHMzlOLLFf3HaOmCgdWTVFv6yzvUGnoroJe78lV Eas7mLuHuT4qBUV1+d23tRQKRwrpurUQl3tozC13BOiWJPMTykdDIfbZQHh/33ijV35XThMa jzIBSB03B8Udtfq4yB23Na7htw44ngz35fWPh/mbj0f2vTNpVF5d4UXBzl3bHG8vJLnkyfsM yfcuftr6Dd0FpJeGngyi1O2estkl+G2BDr0sOFvl4OKkYrxZcYkXOQu/9UDXntElrZ/CAHN0 R246irw37p2CXb3TzmZtQkVkIe/U8iktAdWgXdmG5PpaE3kdHbq1dqpJvFR2rS68div8Ci5T 2oLqs2q35PzBTsNr3IZ0pzcymr48tG9wBPvdWTnDdpPqotg5Kb8bXfVTJRayqjKxCVUVYWYj yvUH1tCki20kOTOxUSSQsjmSXJQUyXs0ZNGwrWOvQsYW+tS7OvpQVNREkTABQNrgGSsRX8K0 Lk8KQfK1qdcCR1WRSAB4+bW4BOw4zH3gIZBcr4IQL0RRGURugyol4bWAEIGLMUz6hNC0vxZN laHBHZs0UphsmnNxGTkiBxNx8p9JvwLPaIXvKpTFrOHl3bPdhrOYssYSYr3Lclm/SldBIaDP 9ckq2/tnzi1MTYvKtYrk3xRFW5C4e0biYr7mt8pcD1eDenIkak+I0k8WEummz24EQ2Vd4a5u kq9t0papQyCQniMbJMD/WrJUTJXHOInjzLs6Pc6SVDIHls0zOvVakarDwQE+Dw76W8DM/yux uTE+JAbW4MSiu4oIXIOLrcpAa/T75V/D8nk2oA4FwByVNBzB86i/JXHWM528XiPS+vLgLaVr b1XoVI8TITEwD/7LhMXryVta6ZXv5Ry3vv8G1Fz8JZyyxy+kn9rNhqTQ6cVfTqwKbnqkrFBY Far5krJK4AwicxFlWWqVuXmRssLcqmBlX8rSK6vUSseUpZ4NWyXzUVYpRRXWnIfLpv+Dd1BR 6uJNaNLivQzWqRHN0y0spxM//bbFdPHRsJhuhazeg4pWyhrv611UatgLpgOcsmxmlTkRzwZq sEOgsji3iqthyoctVP0zJ/U74dT3ZJiPOzkILTrGThYcJb2iLWMyrxvXf6Ne1xuOo2dSqwB1 otIzvu2svbTfrSy8RHdfEXuhb4FjlhpTubCrVufjEavgM8nUIdWNDXBzLZLI660fs7K9ZqZY aag0u5fVVgYsuruqAov9eYo7ruWisO/SW83wGNz1ibmm5F2Gh2w4nttg/jI4TopXtPUGv+8S EHO1avW6ju4HXGU9Yvcbbv5Y05WRWN+AoKG4GXPtVfE6emnOVuvFBBzgBxpOxFXz4Op0PrwA q3pDtxOHSqOu3JctpIE7tEz7oTsCMEEGb0sWuUH4fQl5YP4n5TSdu/FlDD1X4W1LXxqNaG4M aBiVxqwQXQP7l+q7MvdRXWURSdevf7mFqbvz1U2ScuWkLHA+UdP0IZdOw4078pMICiu3913z /pltQoXWBORpI3uQ+vcHnKUhP2f1IpZKF255vyG9s9JgfaYBW9dEjjGd1qnRhU5d3uK2J0Kp dLnBTS322lv3tbgdSdITBqL+7lfl6uslgJWtxKWKdxAgXU4RuTd3A9F9wqt5yxgomOjI3N+t P3OFp5TFBh1xdfSnwOQ0YDywR7IQiRZ0GJFNRZ9jIYZyj7K8SQCDP/zofinkfJHxfCHCOm7C buUczNqGZlU784xzCbs6KOvNEjxNrSvPxBXsdEMyfS0nuRHRENHsRmCFPhuipMmM85T84+rS c5NqVb87Wp5pC5e1yhNWe2XXPyP8HhYvVwXPX/N5MVkzXxSAwiC0lkpzJQrYOpwqs1DfwuxZ bTEFMaSDKSaVcA1EQ5K+YX7X6HdhQNiDqqB2Pz5IPahEn/7Bb7uUMVBXIeJlTfQpFwupM+OP 5c30PLj33vx1N1+637hxdaSNdmS3vdiI7+FcMIPB2QP2aVLeu3eI+/Rx29++yrIOJX+SvtJ+ ZL7M1rC9zjmsNLKrMOnyu25eEJ82AbEKusGHDFNQS/gvSNgi+Y+S42z/gX9o40TRh+Q5IQ7B X4zUC/ElOHtbRekP/r0P71/n4gtOqpMIv5PEsDqqOhF9urPgEOplbbrDCUeHKC/dga62agVe oO+zpROTnv4GHX2qM99VZyNVLT3cjvgsimgFr65QIboBQtqljxBwH4wXlnqh/M6bFzNOd2tB XzAD+U0rrkeng5BhvsA7h+QIaVko3YNmOjAYCilQjY/ixmrUwcRnC5R0FRpfkPglfmOSPtMo J8aD74Xidg1CNZdHR3RhJg5/XuH3/OhwCQSbvYwxb4HfbZGfD1t6YWxpkx19BQP/CouE7az+ QmojdjDxfY5bhAu1H+E3ONZ13WzUaql7W0IHSVdPs/bdwE69d7wyAOnQOjsBjyYUr5Br3Rcg KExf9wzVZQFO4JL9cn7+7izxr3nBFkWR/hsXdZhy0HVhc45CcePUdwkI0eKxuES5a3Xjq9Mw 1lXtlliogKDITqVZrNOzDK5qF8hUegQY5BUElYJut+mtplMqbMAxZmKKW2CVZlarZG6LNeCX tky1bpDtiE+a2DeSZmWMB3Gallh8uUbKM3ONQ5NAU8ahdDPc7TEYT/bQgm6+A0Jdlw3ql7o4 25x7UFJd6K1n+pDsjiubH7U770A5E2dzJm0xaa/2QdZOu8FbMYBh/g+JUr+7NnoAAA== From Yoshiki.Ohshima at disney.com Sun Jun 10 02:29:40 2001 From: Yoshiki.Ohshima at disney.com (Ohshima, Yoshiki) Date: Sat Jan 28 04:40:21 2012 Subject: BitBlt question In-Reply-To: <3B226B2D.1EA54A83@chello.se> References: <3B226B2D.1EA54A83@chello.se> Message-ID: <20010609192940V.Yoshiki.Ohshima@disney.com> Karl, If you are talking about something like "brightness correction" in some photo editors, here is possible first step. Suppose a form given by the following is an example of dark, under exposed, photo. morph _ BorderedMorph new. morph extent: 256@256. fs _ GradientFillStyle ramp: {0.0 -> (Color r: 0.25 g: 0.25 b: 0.25). 1.0 -> (Color r: 0.75 g: 0.75 b: 0.75)}. fs origin: (morph extent * 0.6) asIntegerPoint. fs direction: (morph bounds width // 2) @ 0. fs radial: false. morph fillStyle: fs. form _ morph imageForm asFormOfDepth: 16. The magic is done by colorMap of BitBlt. The following code enhances the intensity of the form 50% in simple minded way. dest _ Form extent: form extent depth: form depth. colorMap _ Bitmap new: 32768. 0 to: 32767 do: [:i | r _ (i >> 10) bitAnd: 16r1F. g _ (i >> 5) bitAnd: 16r1F. b _ i bitAnd: 16r1F. r _ (((r*1.5) asInteger) min: 31) bitAnd: 16r1F. g _ (((g*1.5) asInteger) min: 31) bitAnd: 16r1F. b _ (((b*1.5) asInteger) min: 31) bitAnd: 16r1F. colorMap at: (i+1) put: ((r << 10 bitOr: g << 5) bitOr: b). ]. bb _ BitBlt toForm: dest. bb copyForm: form to: 0@0 rule: Form over colorMap: colorMap. (I have to say the source form was not good example for this purpose, but I hope it shows how it works...) In the above, the color mapping is simple linear mapping, but it can be any kind of map. I can imagine a morph that maniputes given form with an envelop editor-like interface. Unfortunately, it seems there is not similar machanism for 32-bit depth form (right?). Because you can't hold 2^32 map in memory, you might have to do it in different way for 32-bit form. Hope this helps, -- Yoshiki From jecel at merlintec.com Fri Jun 22 16:11:57 2001 From: jecel at merlintec.com (Jecel Assumpcao Jr) Date: Sat Jan 28 04:40:21 2012 Subject: historical note In-Reply-To: References: <01062117070501.00883@gandalf.merlintec.com> Message-ID: <01062212115701.00883@gandalf.merlintec.com> Dan Ingalls wrote: > No sad words from me Oh, I was recriminating my own gloomy mood. > Now why haven't we made such amazing progress in software? Huh? One reason is that we have been sidetracked into a dead end path: http://www.dreamsongs.com/WorseIsBetter.html Bob Jarvis asks: > Why and how does hardware get faster? Mainly because the integrated circuit fabrication process is being improved continously. If you were to build a 0.13 micron 8086 it would be 100s of times faster than the original simply because the smaller the transistor, the less charge you have to move around to switch it (the faster it goes, ignoring wires). There has also been some improvement in microprocessor design, so the Pentium III is a few times faster than that modern 8086 would have been (two instructions per clock vs several clocks per instruction), but that is mostly an indirect consequence of the process improvements (we can fit many more transistors in the same area, now, so "wasteful" designs are possible). > and > > Can we do similar things to improve software? Yes and no. Faster hardware makes the old software fly (try Smalltalk V/286 on a 1.2 GHz Athlon machine...) but Michael Rueger commented: > Well, we have: todays programms run 100 times slower, 100 times more > memory and in color ;-) so we don't care about running old software better. Which is why the answer is no: most of the added transistors we get work in parallel while most of the added software is serial (the more there is, the slower it goes). -- Jecel From jhinsley at telinco.co.uk Sun Jun 10 04:41:08 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:40:26 2012 Subject: TexFileOut problems References: <200106080140.NAA25806@atlas.otago.ac.nz> <3B2047BB.C1B968FD@telinco.co.uk> <3B20552D.109387AE@cvtci.com.ar> <3B20F093.3C8F0937@telinco.co.uk> <3B21C2DB.582E8A20@chello.se> <3B227CD8.1321F329@telinco.co.uk> Message-ID: <3B22FA64.A2B8A2A4@telinco.co.uk> John Hinsley wrote: > > Karl Ramberg wrote: > > > > Also look at > > http://squeak.heeg.de:8080/FAQW9PFC7722LKP8L1CUKS5C7ZDH6MZ > > for WysiTeX, a WYSIWYG TeX editor for VisualWorks smalltalk. > > Thanks Karl. > > I'll take a peek. If it's portable it could be a big step towards a > Squeak version of LyX. On the other hand, attempts to load the parcel have so far led to the realisation that this parcel has a lot of dependencies which I've not loaded -- and which don't feature in the documentation -- (strangely, it seems to want the MSWindows interface although it seems to be configured to use the TeX stuff included on Linux systems!), VW has partially crashed Kde once already, and I'm getting some *really* screwy walkbacks. Give me about a week....... ;-) Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From tim at sumeru.stanford.edu Mon Jun 18 17:04:40 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:40:31 2012 Subject: [newbie] Complex boolean value? References: <200106180504.RAA105881@atlas.otago.ac.nz> Message-ID: <3B2E34A8.3C6D90E9@sumeru.stanford.edu> "Richard A. O'Keefe" wrote: > > > (4) The parenthesis count could be reduced still further if min: and max: > > were operators instead of keywords. > Duh? Operators? We don't got no steenkin operators. Now _binary > messages_ ok, but operators? > > operator == binary message, ok? Well since it's you, ok. I suspect that normally most people would tend to map 'operator' to 'reserved word' and similar concepts, which of course is not ok because we're too clever to limit ourselves to only a list of reserved words like mundane languages. tim From karl.ramberg at chello.se Sun Jun 17 15:05:38 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:40:32 2012 Subject: Bitmap accessing References: Message-ID: <3B2CC741.15969D0A@chello.se> Henrik Gedenryd wrote: > > Karl Ramberg wrote: > > > I run the code > > > > pixels _ newImage form bits. > > oldBits _ oldForm bits. > > largeness _ oldBits size. > > d _ oldForm depth. > > 1 to: largeness do:[:c| i _ oldBits at: c. > > oldpixel _ Color colorFromPixelValue: i depth: d. > > pixels at: c put: (oldpixel pixelValueForDepth: d)] > > > > It works as expected in 32 bits depth but in 16 or 8 > > bits I get vertical stripes of transparency... > > > > Anybody know why ? > > > > Karl > > There is not enough information in your mail to tell why. Eg. transparency > is related to blt mode used, but I guess it is paint in this case. And what > "depth", screen, source, or destination Form? To get transparency at 8 bits > the result pixel must be zero. Try something like this: > > 1 to: largeness do:[:c| i _ oldBits at: c. > oldpixel _ Color colorFromPixelValue: i depth: d. > newPixel _ oldpixel pixelValueForDepth: d . > newPixel = 0 ifTrue: [self halt]. > pixels at: c put: newPixel] > > > Then look at what oldpixel and i are when the halt is triggered. > It seems like it is a issue with the convertion from integer to color and back. When I run this code on a 32 bit depth picuture 1 to: largeness do:[:c| i _ bilde at: c. oldpixel _ Color colorFromPixelValue: i depth: d. newpixel_ oldpixel pixelValueForDepth: d. i = 4278716424 newPixel = 4278716424 But on a 16 bit image I get i = 134284321 newPixel = 1057 Both give the same color as result if I print Color colorFromPixelValue: 134284321 depth: 16 -> (Color r: 0.032 g: 0.032 b: 0.032) Color colorFromPixelValue: 1057 depth: 16 -> (Color r: 0.032 g: 0.032 b: 0.032) But I guess the fewer bits in the integer makes a difference ? Karl From lewis at mail.msen.com Sun Jun 3 16:41:41 2001 From: lewis at mail.msen.com (David T. Lewis) Date: Sat Jan 28 04:40:59 2012 Subject: An MVC scheduling question Message-ID: <20010603124141.A29918@conch.msen.com> I have a View in MVC with a method which wants to open a new StandardSystemController, sort of like this: MyView>>myMethod | aVar | aVar _ doSomeStuff. aVar inspect. "Opens a new StandardSystemController" self doSomeMoreStuff "This never gets done" Opening the inspector behaves like a goto, such that control is passed over to the inspector, and never returned to doSomeMoreStuff. What is the right way to open the new view without passing control out of the current method? I tried StandardSystemController>>openNoTerminate and it did horrible things to my MVC project, so I don't think that was the answer ;) Thanks, Dave From bert at isg.cs.uni-magdeburg.de Fri Jun 8 09:53:23 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:41:01 2012 Subject: Odd interaction between Gvim and Squeak In-Reply-To: <3B1FE1E3.3A5359EE@chello.se> Message-ID: On Thu, 7 Jun 2001, Karl Ramberg wrote: > "Greg A. Woods" wrote: > > > Yes, that's something I'm very keen to look at after I get the Unix/X11 > > VM working properly on monochrome (and maybe greyscale). > > Someone, maybe Bert Freudenberg did this a number of months back > After a quick search.... > http://swiki.gsug.org:8080/sqfixes/1142.html Indeed, I did that. The problem might be that I was too lazy to implement all color conversions. Only 32 bpp X visuals are supported. It should be rather easy to implement the rest, it's just boring work ... What's the problem exactly, Greg? -- Bert From danielv at netvision.net.il Wed Jun 6 22:57:03 2001 From: danielv at netvision.net.il (danielv@netvision.net.il) Date: Sat Jan 28 04:41:04 2012 Subject: [EXPERIMENTAL][ENH] HintingBrowser Message-ID: <200106062048.XAA05660@mailgw3.netvision.net.il> Thanks! didn't know that... Bert Freudenberg wrote: > Daniel, > > if you want those posts to be automatically collected in the SQFIXES > archive, put the [ENH] at the very beginning of the subject line. > > Cheers! > > -- Bert From karl.ramberg at chello.se Sat Jun 16 16:44:14 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:41:07 2012 Subject: Morph>>rejectDropMorphEvent: evt Message-ID: <3B2B8CDD.855DEDC7@chello.se> I have several times experienced that morphs disappear when a drag and drop fails. I think it's due to rule 3 in this method: Morph>>rejectDropMorphEvent: evt "The receiver has been rejected, and must be put back somewhere. There are three cases: (1) It remembers its former owner and position, and goes right back there (2) It remembers its former position only, in which case it was torn off from a parts bin, and the UI is that it floats back to its donor position and then vanishes. (3) Neither former owner nor position is remembered, in which case it is whisked to the Trash" What would be the best way to make sure the morph does not disappear if a drop fail ? Karl From sarkela at home.com Thu Jun 7 03:27:41 2001 From: sarkela at home.com (Sarkela) Date: Sat Jan 28 04:41:10 2012 Subject: On interfaces - Morphic Wrappers In-Reply-To: <5.1.0.14.0.20010606203826.00b3a7d0@mail.consultar.com> Message-ID: Ditto, For me, typing on air gave me the same kick in the gut that I got the first time I saw someone use Smalltalk. The physics of the desktop and representations of identity also were wildly visceral things. Morphic Wrappers are truly great. :-}> > > I feel the same..... > > Argentina seems like a good place for Squeak.... :-) > > Diego Gomez Deck > > >> --- In squeak@y..., Jerry Bell wrote: >>> I've always liked playing around with Morphic >> Wrappers. I'm surprised that >>> it hasn't migrated into the main release yet- is >> there any reason it hasn't >>> been folded in? Typing on air is fun! >> >> I strongly second this. >> Although I believe MorphicWrappers still need some >> work, IMHO they are an indispensable part of the >> Morphic world, mostly typing in the air. >> Just as Smalltalk, you've got to use them for a while >> to really graps their usefulness. >> >> Regards, >> >> Dan Rozenfarb > From JArchibald at aol.com Mon Jun 18 14:09:29 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:41:19 2012 Subject: Menus Message-ID: <2b.16fbec6e.285f6599@aol.com> => 6/18/01 10:04:13 AM EDT, lo@inf.ufsc.br => << I don't have the change set here at work (MenuBar.2.cs), but I'll take a look at home for it. >> I haven't used this, but I found a copy in my download folder. Good luck, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ -------------- next part -------------- 'From Squeak2.8 of 13 June 2000 [latest update: #2345] on 8 July 2000 at 6:15:26 pm'! "Change Set: Menu Bar Date: 8 July 2000 Author: James L. Benson Copyright 2000 I represent a simple menu bar for Squeak. I require Squeak 2.7 or above."! RectangleMorph subclass: #MenuBarItemMorph instanceVariableNames: 'menu expanded string isEnabled title isExpanded savedEnables ' classVariableNames: '' poolDictionaries: '' category: 'Menu Bar'! !MenuBarItemMorph commentStamp: '' prior: 0! I represent an item in a menu bar. I consist of a label that appears in the menu bar, and a pull down menu. I may be disabled, so that I may not be selected.! AlignmentMorph subclass: #MenuBarMorph instanceVariableNames: 'menuBarHeight ' classVariableNames: '' poolDictionaries: '' category: 'Menu Bar'! !MenuBarMorph commentStamp: '' prior: 0! I represent a menu bar! Object subclass: #MenuBarProperties instanceVariableNames: '' classVariableNames: 'MenuBarColor MenuBarDisabledColor MenuBarEnabledColor MenuBarFont MenuBarFontSize MenuBarHeight MenuBarShowDropShadow ' poolDictionaries: '' category: 'Menu Bar'! !MenuBarProperties commentStamp: '' prior: 0! I contain information about a menu bars appearance.! MenuMorph subclass: #PulldownMenuMorph instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Menu Bar'! !HandMorph methodsFor: 'zurgle' stamp: 'jlb 6/29/2000 00:20'! newMouseFocus: aMorphOrNil | itsPasteUp toView | ((mouseDownMorph isKindOf: MenuItemMorph) and: [(aMorphOrNil isKindOf: MenuItemMorph) not]) ifTrue: [(mouseDownMorph owner isKindOf: MenuMorph) ifTrue: ["Crock: If a menu is proffered with the mouse up and the user clicks down outside it (as is normal in MVC), then the menu goes away and nothing else happens." mouseDownMorph owner deleteIfPopUp. mouseDownMorph _ nil. ^ nil]]. aMorphOrNil ifNotNil: [((itsPasteUp _ aMorphOrNil pasteUpMorph) notNil and: [itsPasteUp automaticViewing]) ifTrue: [toView _ itsPasteUp submorphThat: [:aMorph | aMorphOrNil hasInOwnerChain: aMorph] ifNone: [nil]. (toView notNil and: [toView isCandidateForAutomaticViewing]) ifTrue: [toView openViewerForArgument]]]. mouseDownMorph _ aMorphOrNil. self updateMouseDownTransform. ! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/28/2000 11:14'! isEnabled ^isEnabled! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/28/2000 20:14'! isEnabled: aBoolean isEnabled _ aBoolean. title color: (isEnabled ifTrue: [MenuBarProperties menuBarEnabledColor] ifFalse: [MenuBarProperties menuBarDisabledColor]). self changed. isEnabled ifTrue: ["restore the enable state of the menu items" savedEnables ifNotNil: [savedEnables do: [:mli | (mli at: 1) isEnabled: (mli at: 2)]]. savedEnables _ nil] ifFalse: [ "save the enable state of the menu line items " savedEnables _ Set new. menu submorphs do: [:m | (m isKindOf: MenuItemMorph) ifTrue: [savedEnables add: (Array with: m with: m isEnabled). m isEnabled: false]]. ]! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/28/2000 19:39'! isExpanded ^ isExpanded! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/28/2000 19:36'! isExpanded: aBoolean isExpanded _ aBoolean.! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/24/2000 21:59'! menu ^ menu! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/28/2000 20:26'! menu: aMenuMorph "convert a MenuMorph to become a proper pull down menu" | titleMorph | menu _ aMenuMorph. menu ifNotNil: ["get rid of the title string of the menu in the new world order " titleMorph _ menu firstSubmorph. (titleMorph isKindOf: AlignmentMorph) ifTrue: [titleMorph delete]. "get rid of any stayup stuff" menu items do: [:item | item selector = #toggleStayUp: ifTrue: [item delete]]. menu stayUp: false. "and try not to line up as a line for the first entry" titleMorph _ menu firstSubmorph. (titleMorph isKindOf: MenuLineMorph) ifTrue: [titleMorph delete]. menu useSquareCorners. "menu borderColor: Color black." menu borderWidth: 1. menu color: Color white]! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/26/2000 19:37'! title ^ title.! ! !MenuBarItemMorph methodsFor: 'accessing' stamp: 'jlb 6/28/2000 19:47'! title: aString | maxWidth font | title ifNotNil: ["get rid of the current title" title delete. self changed.]. aString ifNil: [bounds _ bounds origin extent: ( self minimumExtent). title _ nil] ifNotNil: ["setup the font for a menu bar entry" font _ StrikeFont familyName: MenuBarProperties menuBarFont size: MenuBarProperties menuBarFontSize emphasized: 0. title _ StringMorph contents: aString font: font emphasis: 1. self addMorph: title. maxWidth _ font maxWidth. bounds _ bounds origin extent: title width + maxWidth @ MenuBarProperties menuBarHeight. self layoutChanged. self changed.]! ! !MenuBarItemMorph methodsFor: 'initialize' stamp: 'jlb 6/28/2000 19:58'! initialize super initialize. borderWidth _ 2. color _ Color veryLightGray. borderColor _ Color transparent. isExpanded _ false. isEnabled _ true. savedEnables _ nil.! ! !MenuBarItemMorph methodsFor: 'initialize' stamp: 'jlb 6/28/2000 19:48'! minimumExtent ^ 16 @ 16.! ! !MenuBarItemMorph methodsFor: 'initialize' stamp: 'jlb 6/28/2000 20:21'! reset borderColor _ Color transparent. self changed. self refreshWorld. self isExpanded: false. ! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/28/2000 19:36'! closeMenu menu deleteIfPopUp. isExpanded _ false. ! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/25/2000 00:16'! deletedMenu " Somebody deleted my menu ; reset me " self reset. ( self containsPoint: ( self cursorPoint ) ) ifTrue: [ " the user pressed mouse down inside of the menu header " borderColor _ #inset. self changed. ].! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/11/2000 16:41'! handlesMouseDown: evt ^ true.! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/11/2000 16:31'! handlesMouseOver: evt ^ true ! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/25/2000 00:07'! handlesMouseOverDragging: evt ^ true ! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/29/2000 15:15'! mouseDown: evt isEnabled ifTrue: [borderColor _ #inset. self changed. "make sure we show the border change immediately" self refreshWorld]. menu notNil ifTrue: [self openMenu: evt hand]! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/28/2000 20:20'! mouseEnter: evt | openMenu | (owner isKindOf: MenuBarMorph) ifTrue: [isExpanded ifFalse: ["we may have another open menu in the menu bar ; if so close that one and open ours" openMenu _ false. owner submorphs do: [:m | (m isKindOf: self class) ifTrue: [m isExpanded ifTrue: [m closeMenu. m mouseLeave: evt. openMenu _ true]]]. openMenu ifTrue: [self openMenu: evt hand]]]. isExpanded ifTrue: [borderColor _ #inset] ifFalse: [borderColor _ #raised]. self changed. self refreshWorld! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/28/2000 11:15'! mouseEnterDragging: evt " Mouse entered us already down " isEnabled ifTrue: [self borderColor: #inset]. ^ self mouseEnter: evt! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/28/2000 20:19'! mouseLeave: evt isExpanded ifFalse: [borderColor _ Color transparent. self changed. self refreshWorld.]! ! !MenuBarItemMorph methodsFor: 'event handling' stamp: 'jlb 6/28/2000 20:28'! openMenu: hand "open my menu under control of the given hand." | ds | MenuBarProperties menuBarShowDropShadow ifTrue: [ds _ DropShadowMorph new. ds color: (ds color alpha: 0.5). ds addMorph: menu] ifFalse: [ " make sure that the silly drop shadow is gone " (menu owner isKindOf: DropShadowMorph) ifTrue: [menu delete]]. menu user: self. " Make sure that nothing is currently selected in the menu " menu submorphs do: [:m | (m isKindOf: MenuItemMorph) ifTrue: [ m isSelected: false]]. menu pullDownAtPoint: bounds bottomLeft forHand: hand. isExpanded _ true. ! ! !MenuBarItemMorph methodsFor: 'geometry' stamp: 'jlb 6/24/2000 23:58'! layoutChanged | sm | super layoutChanged. ( sm _ self findA: StringMorph ) ifNotNil: [ sm position: self center - (sm extent // 2). ]. ! ! !MenuBarItemMorph class methodsFor: 'instance creation' stamp: 'jlb 6/29/2000 14:56'! fromMenuMorph: aMenuMorph | newMorph | newMorph _ aMenuMorph as: PulldownMenuMorph. aMenuMorph become: newMorph. ^ self fromString: ( aMenuMorph getTitleString ) menu: aMenuMorph.! ! !MenuBarItemMorph class methodsFor: 'instance creation' stamp: 'jlb 6/26/2000 19:23'! fromString: aString | toReturn | toReturn _ self new. toReturn title: aString. ^ toReturn! ! !MenuBarItemMorph class methodsFor: 'instance creation' stamp: 'jlb 6/26/2000 19:23'! fromString: aString menu: aMenuMorph | toReturn | toReturn _ self new. toReturn title: aString. toReturn menu: aMenuMorph. ^ toReturn! ! !MenuBarMorph methodsFor: 'geometry' stamp: 'jlb 6/7/2000 19:36'! ownerChanged super ownerChanged. self extent: ( (owner bounds width ) @ menuBarHeight ). ! ! !MenuBarMorph methodsFor: 'adding / removing' stamp: 'jlb 6/28/2000 22:26'! append: aMenuBarItemMorph self addMorphBack: aMenuBarItemMorph! ! !MenuBarMorph methodsFor: 'adding / removing' stamp: 'jlb 6/26/2000 09:53'! clear " delete all of the menu bar items " self removeAllMorphs.! ! !MenuBarMorph methodsFor: 'adding / removing' stamp: 'jlb 6/26/2000 09:53'! delete: aMenuBarItemMorph aMenuBarItemMorph delete.! ! !MenuBarMorph methodsFor: 'adding / removing' stamp: 'jlb 6/26/2000 19:07'! insert: aMenuBarItemMorph before: anItemMorph " Insert a menu before anItem in the menu bar " self addMorph: aMenuBarItemMorph inFrontOf: anItemMorph.! ! !MenuBarMorph methodsFor: 'drawing' stamp: 'jlb 6/28/2000 22:29'! drawOn: aCanvas super drawOn: aCanvas. "draw a seperator line at the bottom of the morph" aCanvas line: bounds bottomLeft - (0 @ 1) to: bounds bottomRight - (0 @ 1) width: 1 color: Color black! ! !MenuBarMorph methodsFor: 'menus' stamp: 'jlb 6/29/2000 00:38'! collapse " Don't collapse menu bars "! ! !MenuBarMorph methodsFor: 'initialize' stamp: 'jlb 6/28/2000 20:31'! initialize super initialize. self color: MenuBarProperties menuBarColor. menuBarHeight _ MenuBarProperties menuBarHeight. self setToAdhereToEdge: #topLeft. borderWidth _ 0. self beSticky. ! ! !MenuBarMorph methodsFor: 'initialize' stamp: 'jlb 6/28/2000 19:38'! reset submorphs do: [ :m | m isExpanded: false. m reset. ]! ! !MenuBarMorph class methodsFor: 'example' stamp: 'jlb 7/7/2000 20:02'! example | mb hand aMenu mi | "MenuBarMorph example " mb _ self new. " get a little away from the edge; you should put Squeak icon here " " mb addTransparentSpacerOfSize: ( 16 @ 0 ). " hand _ self currentWorld activeHand. " world menu " aMenu _ hand buildWorldMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'World'. mb append: mi. false ifTrue: [ " This doesn't work in 2.7 " " Project menu " aMenu _ hand projectMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'Project'. mb append: mi. ]. " Changes menu " aMenu _ hand changesMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'Changes'. mb append: mi. " Appearance menu " aMenu _ hand appearanceMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'Appearance'. mb append: mi. " Debug menu " aMenu _ hand debugMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'Debug'. mb append: mi. " Disable for fanciness " mi isEnabled: false. " Windows menu " aMenu _ hand windowsMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'Windows'. mb append: mi. " Help menu " aMenu _ hand helpMenu. mi _ MenuBarItemMorph fromMenuMorph: aMenu. mi title: 'Help'. mb append: mi. mb openInWorld.! ! !MenuBarProperties methodsFor: 'look in class' stamp: 'jlb 6/26/2000 19:45'! seeClassSide "All the code for MenuBarProperties is on the class side"! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 19:59'! menuBarColor " the color of the menu bar " ^ MenuBarColor! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 19:59'! menuBarColor: aColor " Set the color of the menu bar property " MenuBarColor _ aColor! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:03'! menuBarDisabledColor " The color of a disabled item in the menu bar " ^ MenuBarDisabledColor! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:03'! menuBarDisabledColor: aColor " set the color of a disabled item in the menu bar " MenuBarDisabledColor _ aColor.! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:03'! menuBarEnabledColor " the color of a enabled item in the menu bar " ^ MenuBarEnabledColor! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:04'! menuBarEnabledColor: aColor " set the color of a enabled item in the menu bar " MenuBarEnabledColor _ aColor.! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:23'! menuBarFont " return the name of the menuBar font family " ^ MenuBarFont.! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:23'! menuBarFont: aFontFamilyName " set the name of the menuBar font family " MenuBarFont _ aFontFamilyName.! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 19:59'! menuBarFontSize " the size of the font for strings in the menu bar " ^ MenuBarFontSize! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 19:59'! menuBarFontSize: anInteger " set the size of the font for strings in the menu bar " MenuBarFontSize _ anInteger! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:00'! menuBarHeight " the height of the menu bar in pixels " ^ MenuBarHeight.! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:00'! menuBarHeight: anInteger " set the height of the menu bar in pixels " MenuBarHeight _ anInteger! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:31'! menuBarShowDropShadow " show the drop shadow when menus are pulled down " ^ MenuBarShowDropShadow! ! !MenuBarProperties class methodsFor: 'properties' stamp: 'jlb 6/26/2000 20:32'! menuBarShowDropShadow: aBoolean " show the drop shadow when menus are pulled down " MenuBarShowDropShadow _ aBoolean! ! !MenuBarProperties class methodsFor: 'class initialization' stamp: 'jlb 6/26/2000 20:33'! initialize " MenuBarProperties initialize " self menuBarHeight: 24. self menuBarColor: Color veryLightGray. self menuBarEnabledColor: Color black. self menuBarDisabledColor: Color gray. self menuBarFont: #NewYork. self menuBarFontSize: 20. self menuBarShowDropShadow: true.! ! !MenuMorph methodsFor: 'zurgle' stamp: 'jlb 6/24/2000 22:57'! deleteIfPopUp "Remove this menu from the screen if stayUp is not true. If it is a submenu, also remove its owning menu." stayUp ifFalse: [self topRendererOrSelf delete. self user ifNotNil: [ self user deletedMenu ]]. (popUpOwner notNil and: [popUpOwner isKindOf: MenuItemMorph]) ifTrue: [ popUpOwner isSelected: false. (popUpOwner owner isKindOf: MenuMorph) ifTrue: [popUpOwner owner deleteIfPopUp]]. ! ! !MenuMorph methodsFor: 'zurgle' stamp: 'jlb 6/26/2000 22:30'! getTitleString | aMorph nameMorph | aMorph _ self submorphs first. (aMorph isKindOf: AlignmentMorph) ifTrue: [ nameMorph _ aMorph submorphs first. (nameMorph isKindOf: StringMorph) ifTrue: [ ^ nameMorph contents ]]. ^ 'Untitled'. ! ! !MenuMorph methodsFor: 'zurgle' stamp: 'jlb 6/28/2000 00:01'! pullDownAtPoint: aPoint forHand: hand "Present this menu at the given point under control of the given hand; do not adjust point to fit menu in world" | selectedItem i yOffset sub | popUpOwner _ hand. originalEvent _ hand lastEvent. selectedItem _ self items detect: [:each | each == lastSelection] ifNone: [self items isEmpty ifTrue: [^ self] ifFalse: [self items first]]. "Note: items may not be laid out yet (I found them all to be at 0@0), so have to add up heights of items above the selected item." i _ 0. yOffset _ 0. [(sub _ self submorphs at: (i _ i + 1)) == selectedItem] whileFalse: [yOffset _ yOffset + sub height]. self position: aPoint . hand world addMorphFront: (( owner isKindOf: DropShadowMorph ) ifTrue: [ owner ] ifFalse: [ self ] ). hand world startSteppingSubmorphsOf: self. hand newMouseFocus: selectedItem. self changed! ! !MenuMorph methodsFor: 'zurgle' stamp: 'jlb 6/24/2000 22:52'! user | user | "This returns the an interested party to the menu" (user _ self valueOfProperty: #user) ifNotNil: [^ user]. ^ nil! ! !MenuMorph methodsFor: 'zurgle' stamp: 'jlb 6/24/2000 22:51'! user: aMorph "This sets the interested party to the menu to be a Morph" self setProperty: #user toValue: aMorph. ! ! !PulldownMenuMorph methodsFor: 'accessing' stamp: 'jlb 6/29/2000 14:59'! getTitleString | aMorph nameMorph | aMorph _ self submorphs first. (aMorph isKindOf: AlignmentMorph) ifTrue: [ nameMorph _ aMorph submorphs first. (nameMorph isKindOf: StringMorph) ifTrue: [ ^ nameMorph contents ]]. ^ 'Untitled'. ! ! !PulldownMenuMorph methodsFor: 'accessing' stamp: 'jlb 6/29/2000 14:59'! user | user | "This returns the an interested party to the menu" (user _ self valueOfProperty: #user) ifNotNil: [^ user]. ^ nil! ! !PulldownMenuMorph methodsFor: 'accessing' stamp: 'jlb 6/29/2000 14:59'! user: aMorph "This sets the interested party to the menu to be a Morph" self setProperty: #user toValue: aMorph. ! ! !PulldownMenuMorph methodsFor: 'control' stamp: 'jlb 6/29/2000 14:59'! pullDownAtPoint: aPoint forHand: hand "Present this menu at the given point under control of the given hand; do not adjust point to fit menu in world" | selectedItem i yOffset sub | popUpOwner _ hand. originalEvent _ hand lastEvent. selectedItem _ self items detect: [:each | each == lastSelection] ifNone: [self items isEmpty ifTrue: [^ self] ifFalse: [self items first]]. "Note: items may not be laid out yet (I found them all to be at 0@0), so have to add up heights of items above the selected item." i _ 0. yOffset _ 0. [(sub _ self submorphs at: (i _ i + 1)) == selectedItem] whileFalse: [yOffset _ yOffset + sub height]. self position: aPoint . hand world addMorphFront: (( owner isKindOf: DropShadowMorph ) ifTrue: [ owner ] ifFalse: [ self ] ). hand world startSteppingSubmorphsOf: self. hand newMouseFocus: selectedItem. self changed! ! !PulldownMenuMorph methodsFor: 'submorphs-add/remove' stamp: 'jlb 6/29/2000 15:10'! delete " take me off of the display and tell my user I'm through " (owner isKindOf: DropShadowMorph) ifTrue: [ owner delete] ifFalse: [super delete]. self user ifNotNil: [ self user reset].! ! MenuBarProperties initialize! !MenuBarProperties class reorganize! ('properties' menuBarColor menuBarColor: menuBarDisabledColor menuBarDisabledColor: menuBarEnabledColor menuBarEnabledColor: menuBarFont menuBarFont: menuBarFontSize menuBarFontSize: menuBarHeight menuBarHeight: menuBarShowDropShadow menuBarShowDropShadow:) ('class initialization' initialize) ! !MenuBarProperties reorganize! ('look in class' seeClassSide) ! !MenuBarMorph class reorganize! ('example' example) ! "Postscript: Initialize class" MenuBarProperties initialize.! From rms at cs.brown.edu Wed Jun 20 17:23:03 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:41:25 2012 Subject: documentation requests? In-Reply-To: Message-ID: Please forgive a dumb newbie question, but what is the 'shift' menu? I tried the yellow-button menu but can't find a menu item title 'class comments with it'. R. On Wed, 20 Jun 2001, Ted Kaehler wrote: > Students and all, > > The thing that I thirst for is the "basic idea" behind each > class. What is the purpose of this class? That's the thing you > can't get from reading the implementation. What are the unwritten > assumptions? > > At 8:02 PM -0700 6/19/01, Dan Ingalls wrote: > >Then a simple addition with a lot of leverage would be to add a > >'find...' command to the browser that would search class comments > >for matching text, just as the current one searches for matching > >names. > > This is already in the system! Just type what you want to > search for in any text pane, get the shift menu, and choose "class > comments with it". Up pops a MessageSet with all of the class > comments containing that text. You can 'Browse Full' from there. > > --Ted. > > -- > Ted Kaehler > Ted@SqueakLand.org is my new email address. > (home) 3261 Montecito Drive, Las Vegas, NV 89120. voice (702) 456-7930 > http://www.squeakland.org/~ted/ > > From jhinsley at telinco.co.uk Sat Jun 30 14:11:53 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:41:27 2012 Subject: BankAccount Tutorial References: Message-ID: <3B3DDE29.93622107@telinco.co.uk> Rosemary Michelle Simpson wrote: > One point to consider is that people buying Mark Guzdial's book as the > first entrance into Squeak will be using 2.8 since that is the version > included on the CD. It might be good to leave the BankAccount tutorial as > it is with a notation that it is 2.8 specific and have a pointer to the > newer version. This seems a good compromise, but I wonder if people go to Mark's book because of Squeak or to Squeak because of Mark's book? Also, now that Mark's book has finally made it to these far off shores (on order for nearly 3 months!) how much of it is 2.8 specific? [Brow furrows while trying to work out how to have two different versions of Squeak living in happy harmony on the same system. Decides to go back to bed instead.] Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From lex at cc.gatech.edu Fri Jun 22 15:52:56 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:41:28 2012 Subject: MPEG on Windows NT? References: <3B318166.57B24EC0@chello.se> Message-ID: Karl Ramberg wrote: > There is a java MPEG player 'out there' so why not a Squeak one? > I've been looking into writing one but the logic is too overwhelming > at the moment. If more people were interested I would be happy > to collaborate though. > A pure smalltalk MPEG video player would be too slow for anything but > research though, but with Slang and native compiling, it would be > a great contribution to 'the effort' :-) > Karl You could say the same about JPEG. Yet, with three small primitives, Squeak's JPEG reader is really fast! If you build it, there are plenty of people who can make it run fast. But building it at all.... -Lex From lex at cc.gatech.edu Wed Jun 13 18:13:37 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:41:31 2012 Subject: a morphic tutorial in morphic References: <3B2762D2.76AA0217@telinco.co.uk> <8f.bcff730.28587a7b@aol.com> Message-ID: John Hinsley wrote: > Works the same for me under Linux. But I'm getting *very* slow response: > I did "browse morph class" and I really thought Squeak had locked up! > (I've probably got too many projects from Squeakland loaded). I have > memory 70mk. Any ideas how high I can push it with X and Kde running? I > note I can't run Gimp and Squeak and Kde together anymore. 128Mb RAM. > Well, it's not *real* fast on my computer, so maybe you're already seeing it as good as it gets! Two things you might try, though, are: 1. Run Squeak with more memory, e.g. "Squeak -memory 30m Squeak3.0.image" 2. Get the latest VM. The way mouse input works has changed, and an old VM plus a new image might just be a slow combination. -Lex From arning at charm.net Fri Jun 29 13:38:58 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:41:37 2012 Subject: Image Morphs Message-ID: <200106291338.JAA04897@fellspt.charm.net> Joshua, ImageMorph responds to #image (and #form) with the Form containing all the bits in the image. Once you have that form, you can access the pixels with #colorAt:, e.g. If counting the number of each different color is important, you might look at Form>>tallyPixelValues. Cheers, Bob On Fri, 29 Jun 2001 09:18:24 -0400 (EDT) "Joshua D. Boyd" wrote: >I've been poking around the systems browser, and I've figured out how to >load a jpeg into an ImageMorph. But, how to I get access to that jpeg, >pixel by pixel (like to built a histogram of the image, for instance), and >write it back to disk? Or is the ImageMorph the wrong way to go about >this? From bparsia at email.unc.edu Fri Jun 22 20:04:04 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:41:50 2012 Subject: Good interfaces gone bad In-Reply-To: Message-ID: On Fri, 22 Jun 2001, Noel J. Bergman wrote: > > it's natural to pop an #asFoo method into String to make converstion > convenient > > If String>>as was taken any further than it is (and ideally a few of them > should be moved), it would be a good example of a bad implementation > pattern. It increases the surface area of String, coupling it to more and > more classes. Is this an implementation problem or a design problem? > Instead, X>>fromString: would serve the exact same purpose, Well I did mention this pattern and pointed out that it sometimes feels clumsy. > semantically > represent the encapsulated behavior in the proper place, and leave the > surface area of String at a minimum. Yes, well, I suspect that this argument could be carried further. Why make each X know how to parse string representations? It certainly leads to problems with printing (set the various formatting and PrintPolicy packages). > For example, could one seriously suggest that "Color fromString: '#FFCCAA'" > is unclear or inconvenient compared to '#FFCCAA' asColor", Yes, though I wouldn't argue this one. > or that it would > be worth polluting the String interface for the perceived convenience, were > someone so inclined? Sure. If the former than the latter. "Polluting" is just a noise word there, the burden of proof is on you to show the larger costs of such convenience. And frankly, perceived convenience is often as important as "real" convenience. If it makes me inclined to use something and use it correctly and that leads to better overall code with fewer errors, then perceived convenience is extraordinarily valuable. > Don't focus too much on String. String is just an example, inspired by the > "it's natural" comment above, but the point is that it should not be a > responsibility of String to convert itself to/from the myriad of other > objects. Why not? You've not given an argument for that and a lot of systems go the other way. While natural, I'm not saying it's always *right* to pop in an asFoo method. The reason it's natural is that is seems to work well for some cases (example that drives me nuts: people seem to want 'c:\foo' asFilename. or 'foo.txt' readStream. (like visualworks), I find this crazy...yet I like 'http://www.foo.com' asUrl. Go figure! I suspect it's because I use asUrl in workspaces. e.g., 'http:\\www.foo.com' asUrl retrieveContents content inspect. The alternative (even with the easier #readString:) is not as useful, period: Url fromString: 'http:\\www.foo.com' "oh damn, have to put parens in" (Url fromString: 'http:\\www.foo.com') retrieveContents content inspect It's not just having to type a few extra characters, it's changing the entire syntax of the expression, that's burdensome in this case. Of course, if we had a canonical Url literal, it wouldn't be an issue: # retrieveContents content inspect works for me. But surely that's not a general solution (polluting the language with more and more literals! ;))) > And if something isn't an object's responsibility, it shouldn't be > in the interface. Hmm. Out of a comp.lang.lisp thread of #allInstances, I gleaned or imagined the following distincting: system functions/methods and "tool" ones. System one's are the kind of thing you'd want in a standard and to be able to use portably, etc. Tool ones tend to be vendor dependent and use more *ad hocly*. I think it's important to keep in mind that the objects in a squeak system get manipulated from a number of different perspectives, including direct manipulation, munging from inspectors, etc. yet use the same mechanisms (mostly) (i.e., messages and methods). There's bound to be some clashes ;) > And when did we get away from the notion of responsibility, anyway? Huh? If we get back to the original point, #asHtml introduces no coupling. All it's bits are inside String. It still may be nasty in several ways, but it's clearly a good example of large scale design grunginess. (And it's not even clear that #asHtml *doesn't* belong in string, as the system now stands, as several sorts of encoding are already handled by it. Cheers, Bijan Parsia. From ok at atlas.otago.ac.nz Sun Jun 17 23:38:01 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:41:51 2012 Subject: [newbie] Complex boolean value? Message-ID: <200106172338.LAA109371@atlas.otago.ac.nz> Sorry about my stupid question but I started to experiment with Squeak yesterday and when I wanted to come up with Boolean expression to check if any of the 3 conditions is true, I came up with this: ((value < 1 or: [value > x1]) or: [value > x2]) ifTrue: [self error: 'Invalid value']. (1) Rearrange like this: (value < 1 or: [value > x1 or: [value > x2]]) ifTrue: [self error: 'Invalid value']. (2) v > x OR v > y if and only if v > max(x,y), so (value < 1 or: [value > (x1 max: x2)]) ifTrue: [self error: 'Invalid value']. (3) Use #between:and# (value between: 1 and: (x1 max: x2)) ifFalse: [self error: 'Invalid value']. (4) The parenthesis count could be reduced still further if min: and max: were operators instead of keywords. So stick /\ x ^self min: x \/ x ^self max: x in Magnitude, and you can write (value between: 1 and: x1 \/ x2) ifFalse: [self error: 'Invalid value']. I rather like /\ and \/, having once used a C compiler that supported them. (Mind you, I had to fix a few bugs in the code generator before I could actually _use_ these operators...) However, since #min: and #max: already exist, (4) would make the code *less* readable by other Smalltalkers, so I don't actually recommend doing it. If I were you, I'd go with (3). From jk at xylema.org Wed Jun 20 19:33:29 2001 From: jk at xylema.org (John Kozak) Date: Sat Jan 28 04:41:52 2012 Subject: [pws] Re: [BUG] swiki under-slashification In-Reply-To: <20010620125946.A882@cc.gatech.edu> References: <15151.37685.828000.512881@noontide.demon.co.uk> <20010619144423.A21368@cc.gatech.edu> <15151.49786.609000.371358@noontide.demon.co.uk> <20010620125946.A882@cc.gatech.edu> Message-ID: <15152.64137.796000.437500@noontide.demon.co.uk> >> P.S. Is the PWS list archived, btw? > >No. I don't think that it is. joys of the net; I found: http://www.mail-archive.com/pws@cc.gatech.edu/ which is an archive of recent material! John From lewis at mail.msen.com Sat Jun 2 13:04:39 2001 From: lewis at mail.msen.com (David T. Lewis) Date: Sat Jan 28 04:41:56 2012 Subject: pending file primitives (EH?) In-Reply-To: <3B0F1DEE.5DA2880F@kurtz-fernhout.com>; from pdfernhout@kurtz-fernhout.com on Fri, May 25, 2001 at 11:07:26PM -0400 References: <3B0F1DEE.5DA2880F@kurtz-fernhout.com> Message-ID: <20010602090439.A18670@conch.msen.com> On Fri, May 25, 2001 at 11:07:26PM -0400, Paul Fernhout wrote: > John M McIntosh wrote: > > Some unix types love to duplicate file handles (typically used when > processes get forked -- sometimes for interprocess communication, > sometimes for parallel processing on the same file). This may not apply > that much in Squeak (isn't all file handling within the main Squeak > thread?) If you need this, it's already in the unix-specific part of OSProcess. And it is quite easy to add other platform-specific things like this to Squeak as needed. Dave p.s. Still looking for volunteers to do the Mac and Win ports of OSProcess. From michael at ns.kanazawa-h.ed.jp Thu Jun 14 01:04:47 2001 From: michael at ns.kanazawa-h.ed.jp (Michael Guenter) Date: Sat Jan 28 04:42:04 2012 Subject: BBEdit.Lite fileOut documents error In-Reply-To: Message-ID: Duplicating the file didn't work. I am still getting the -39 error. I am using Mac OS 9.0.2 (Japanese) maybe that is my problem? Hmm.... Anyway, I can still view the documents in M$Word, it is just that I would prefer BBEdit, especially since that seems to be the default for Squeak. Thanks for your time. Michael >> Hello, >> >> When I select fileOut, Squeak automatically makes the text file a BBEdit >> file. This would be fine, except that BBEdit cannot open the file, but >> instead gives me the following error. >> >> an unexpected end-of-file was encountered (Mac OS error -39) >> >> If you know what I am doing wrong, please help. Thanks for your time. >> >> Michael >> (The ultimate newbie) > > If you do a get info, what does the mac finder report about the file size. > > Usually a -39 (end of file) is indication of some type of disk i/o > error, since bbedit is trying to read all the bytes of the file and > finds the OS read routine doesn't return all the requested bytes > because of some issue with reading the file, or getting read > permission (if for example you are using OS-X), or a problem with the > disk directory structure (check with disk first aid). > > try duplicating the file in the finder and see what happens > > > -- > -- > =========================================================================== > John M. McIntosh 1-800-477-2659 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > =========================================================================== From lamneth at sympatico.ca Sat Jun 16 17:53:28 2001 From: lamneth at sympatico.ca (Benoit St-Jean) Date: Sat Jan 28 04:42:13 2012 Subject: test Message-ID: <3B2B9D16.58C116BB@sympatico.ca> test From laurencerozier at yahoo.com Thu Jun 28 18:22:45 2001 From: laurencerozier at yahoo.com (Laurence Rozier) Date: Sat Jan 28 04:42:21 2012 Subject: [ENH] Simple EToyTextNode Menu Message-ID: <20010628182245.90036.qmail@web14304.mail.yahoo.com> Hi, This changeSet provides a minimalist(style, size and color) set of cmd-6 menu options for EToyTextNode objects. It is a work in progress which refactors the changeEmphasis: method in an attempt to add clarity and flexibility. It evolve into a more generic approach for ParagraphEditor and TextMorphEditor but it serves what has become for me a pressing immediate need. I'm refining an outliner-based tool which needs to allow for easy text editing. Is anyone already working on refactoring changeEmphasis:? Cheers, Laurence PS This code works in 3.1 at updates 3848 and 4173. It *should* work in 3.0 after 3642 where MenuMorph adds a new method it uses. __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: TextMorphEditorMenu.1.cs Type: application/x-unknown Size: 5946 bytes Desc: TextMorphEditorMenu.1.cs Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010628/48f7ee6d/TextMorphEditorMenu.1.bin From ajh18 at cornell.edu Thu Jun 21 15:31:46 2001 From: ajh18 at cornell.edu (Anthony Hannan) Date: Sat Jan 28 04:42:33 2012 Subject: New Block Closures In-Reply-To: <4.3.2.7.2.20010620125520.00b2c100@pop.mindspring.com> Message-ID: At 01:35 PM 6/20/2001 -0400, David M. Siegel wrote: >At 05:55 PM 6/16/2001 -0400, Anthony Hannan wrote: >> I've been writing block closures for Squeak. [...] creates a BlockClosure >> object with a pointer to its own compiledMethod, the receiver (if accessed), >> the return home context (if it returns out (^)), and indexed slots for >> captured temps from the outer scope. Temps are put into value holders >> (in the home context and the closure) iff they are changed and used later. >> I added new bytecodes to the Interpreter for accessing closure vars, >> value holders, and for nilling out temps on there last use so they can be >> free even if the context is still running. Also, I've changed the >> Interpreter to use frames on a stack instead of instantiating/recycling >> contexts. This saves copying the receiver and arguments at each send and >> should allow a simpler JITTER implementation. pushActiveContext creates a >> simple context object that refers to a frame on a stack. When a stack is >> full, a new stack is created and the sender slot contains a context object >> (refering to the old stack) instead of a frame pointer. > I'd like to know a little more about the benefits of switching to frames on > a stack. I know that some language implementations have actually gotten > better performance out of heap allocated structures (Appel's ML > implementation's known for this). My stacks are regular heap allocated objects that chain together when they get full. A stack holds context information for many contexts in a row. The main benefit I see is that it eliminates the need to copy the receiver and arguments on every message send. It only needs to do this copy when creating a new stack when the current stack is full. - Anthony From werdna at mucow.com Sun Jun 3 20:54:11 2001 From: werdna at mucow.com (Andrew C. Greenberg) Date: Sat Jan 28 04:42:38 2012 Subject: Further thoughts on open source community . . . In-Reply-To: Message-ID: <200106032055.f53KtTv19797@smtp-server2.tampabay.rr.com> Much has been written in this forum of, on one hand, the "imperative of," and on the other, the "anathema of" formulating a committee-qua-committee, defined not by the program, but by some communally reached statement of purpose. I noted that it is foolish to insist upon choosing between a community-driven artifact and an artifact-driven community, noting that they are inherently co-dependent notions, neither well-defined without the other. Nothing in this colloquy has led me to reconsider that view. I am more convinced than ever that a community defined by some theoretical purpose rather than an underlying program is doomed to irrelevance, and that an ossified artifact program to define a community is likewise doomed. The looser the structure of the community, the better and more flexible it will be. As I was reading some recent criticism of Cas Sunstein's "REPUBLIC.COM," the following 1992 quote by Dave Clark of MIT caught my eye: "We reject kings, presidents and voting. We believe in: rough consensus and running code." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1135 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010603/c1727c3f/attachment.bin From rms at cs.brown.edu Mon Jun 11 10:29:09 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:42:43 2012 Subject: squeak manual In-Reply-To: <3B249863.4F4FF150@squeaknews.com> Message-ID: Wonderful news! Do you need some help? In my variegated background is a long stint as a technical writer. Plus I am a professional indexer and hypertext designer and would be happy to put any of these skills at your service. R. On Mon, 11 Jun 2001, Editor wrote: > We are in the making of a reference manual and a user guide and will be ready within a few months. > > Cheers > > Tansel > Editor, Squeak News > > Projet DeepLow wrote: > > > Hi, > > > > We're looking for a manual for squeak. Does anyone know anything > > aboout a complete squeak manual. > > > > Thanks in advance. > > > > > > Projet DeepLow > > Maîtrise Informatique > > Université de Savoie (France) > > Explorateur 3D en SmallTalk > > Serna Audrey (madame_dodue@hotmail.com) > > Fleutot Pierre (foreveroux@yahoo.fr) > > Josserand Samuel (samjosserands@yahoo.fr) > > Loiseau Mathieu (MateOstl96@aol.com) > > From jhinsley at telinco.co.uk Wed Jun 27 05:42:14 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:42:48 2012 Subject: Very slow performance on faster machine References: <3B39594C.D5A2E22C@telinco.co.uk> <2a1f02914a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: <3B397236.B69FB393@telinco.co.uk> Tim Rowledge wrote: > > John Hinsley is widely believed to have written: > > > The only way to tell is to install some pretty sophisticated > > benchmarking stuff or, easy peasy, take one block of memory out at a > > time and see if 1 factorial runs quicker. Incidentally, on my 333, 128mb > > on Linux, 100 factorial takes about 3 seconds. > That seems oddly slow for what should be a fast machine:- my Acorn > (200MHz cpu, negligable (like, 32Kb) cache, slow memory, five year old C > compiler) does > Time millisecondsToRun:[Transcript show: 100 factorial printString] > in 220 mS. Without the Transcript show: it is 100mS. > Time millisecondsToRun:[Transcript show: 1 factorial printString] > takes 90mS and without the Transcript show:, <1mS. Ah, I was trying to time it manually! (What an idiot!) Using your method I get: 199 with Transcript show: 3 without it. But i'm still very impressed by the performance of your Acorn! I just wonder, before Tim tears that box down, whether it needs a good defragging? I've heard of NT boxes coming to a grinding halt without it. Time for bed. Cheers John > > tim > > -- > Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim > Strange OpCodes: MD: Move and Drop bits -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From bert at isg.cs.uni-magdeburg.de Mon Jun 25 10:41:06 2001 From: bert at isg.cs.uni-magdeburg.de (Bert Freudenberg) Date: Sat Jan 28 04:42:51 2012 Subject: [FIX] Wonderland 1st person w/o camera controls Message-ID: Change Set: WnldClick-bf Date: 25 June 2001 Author: Bert Freudenberg Makes sure camera controls exist in 1st-person mode. -- Bert -------------- next part -------------- A non-text attachment was scrubbed... Name: WnldClick-bf.1.cs.gz Type: application/x-gzip Size: 930 bytes Desc: Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010625/2cc9754d/WnldClick-bf.1.cs.bin From nadja at cc.gatech.edu Fri Jun 29 18:13:39 2001 From: nadja at cc.gatech.edu (Jochen F. Rick) Date: Sat Jan 28 04:43:09 2012 Subject: New Squeak Swiki page color feature Message-ID: <20010629141339.C29223@cc.gatech.edu> Hi, I've been trying to follow the list, but a paper deadline is making me largely unavailable. Also, I will be going on vacation on July 11th, so I will largely be unavailable for a month after that. Now here's the good things: minnow is now a linux machine. Expect stability and speed. Yeah!!! I changed the look on the site. This time, I changed it so that it looks more compatible with the squeak.org site. In the last year or so, the Squeak web presence has started to look more professional. This new look is to go along with that trend. Also, there is a new feature. You can change the color of the page (or rather the color of the button banner). Go to a page, press the edit button, and scroll to the bottom of the page to check it out. Peace and Luck! Je77 From Craig.Latta at NetJam.ORG Sun Jun 24 01:22:19 2001 From: Craig.Latta at NetJam.ORG (Craig Latta) Date: Sat Jan 28 04:43:16 2012 Subject: Squeak in IPAQ References: <002301c0fb88$3c105040$eb267bd5@garywork> Message-ID: <3B3540CB.BE63516F@NetJam.ORG> > ...screenshot? There's one at http://netjam.org/pictures/squeak. -C -- Craig Latta composer and computer scientist craig.latta@netjam.org www.netjam.org crl@watson.ibm.com Smalltalkers do: [:it | All with: Class, (And love: it)] From hirschfeld at acm.org Fri Jun 22 02:44:52 2001 From: hirschfeld at acm.org (Robert Hirschfeld) Date: Sat Jan 28 04:43:18 2012 Subject: [ANN] AspectS -- AOP with Squeak Message-ID: <3B32B124.9ED89067@acm.org> AspectS is an aspect-oriented extension to Squeak. It is a prototype to support the exploration of AOP in dynamic environments like Squeak. It mainly draws on the results of two projects: the first is AspectJ from Xerox PARC, a general-purpose aspect-oriented language extension to Java, and the second is John Brant's MethodWrappers, a powerful mechanism to add behavior to a compiled Smalltalk method. In its current version, AspectS is implemented in regular Squeak, without extending neither Squeak's syntax nor its virtual machine. I have uploaded the current change set to: http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/AspectS/ Also, there is 3.1alpha image pre-loaded with AspectS 0.1.0 here: http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/AspectS/Old/AspectS-001-0013.zip http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/AspectS/Old/AspectS-001-0013.tar.gz I would like to invite anybody who is interested in working with me on AspectS, or another, better approach to explore AOP in Squeak. Best, -Robert "PS:" Documentation is on the way. I will put an updated paper on my website anytime soon ... From rgiuly at hotmail.com Sun Jun 10 03:55:45 2001 From: rgiuly at hotmail.com (Richard Giuly) Date: Sat Jan 28 04:43:25 2012 Subject:  export browser to text Message-ID: Is there a way to send pretty much all the information in the System Browser to a text file, or just all of the names in the top four lists? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From noel at devtech.com Sun Jun 24 08:27:25 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:43:29 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] In-Reply-To: Message-ID: 81 new ones processed fine for me. :-) --- Noel From jhinsley at telinco.co.uk Fri Jun 29 21:03:00 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:43:35 2012 Subject: Icons References: <8E197B764EBFD4118D120020480E3D7549130B@exchgcc.kronos.com> Message-ID: <3B3CED04.B7FFA260@telinco.co.uk> "Norton, Chris" wrote: > > Duane Maxwell wrote: > > "I think there are a few changesets lurking around that add XPM reading to > Squeak. I know I released one a while back, and was told that somebody had > written a better one before me." > > You can find Chris Reuter's and Duane Maxwell's XPM code here: > > http://swiki.gsug.org/sqfixes/ > > Go to the bottom of the page, click on "Show all messages", then search the > page for XPMReadWriter. > Thanks Chris unfortunately Chris R's account seems to have been closed while Duane's changeset throws a syntax error on loading : SyntaxError: XPMReadWriter accessing nextPutImage into 3.1a 4138. Ah well, I'll see if I can work out what's changed. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From rms at cs.brown.edu Sat Jun 16 21:55:04 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:43:37 2012 Subject: Squeak Plugin install problems In-Reply-To: Message-ID: Thanks, John. Flee sent me a stuffit file with the NPSSqueak v3.0 Alpha8MT version and I'm up and running. R. On Sat, 16 Jun 2001, John M McIntosh wrote: > >If someone would tell me where to find the appropriate modules and where > >they need to go and any special incantations required I will be happy to > >hand install the plugin. I just want a working plugin! > > > >Thanks! > > > >R. > > Ok, I've emailed you a copy of the plugin and instructions. We'll fix > things early next week ... > > -- > -- > =========================================================================== > John M. McIntosh 1-800-477-2659 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > =========================================================================== > > From editor at squeaknews.com Mon Jun 11 10:45:12 2001 From: editor at squeaknews.com (Editor) Date: Sat Jan 28 04:43:41 2012 Subject: squeak manual References: Message-ID: <3B24A137.44B7A07A@squeaknews.com> By all means! I already remember sending you an invitation before. For the other people interested we'll announce details with our first issue that will be available in July and on our web site. Cheers Tansel Rosemary Michelle Simpson wrote: > Wonderful news! Do you need some help? In my variegated background is a > long stint as a technical writer. Plus I am a professional indexer and > hypertext designer and would be happy to put any of these skills at your > service. > > R. > > On Mon, 11 Jun 2001, Editor wrote: > > > We are in the making of a reference manual and a user guide and will be ready within a few months. > > > > Cheers > > > > Tansel > > Editor, Squeak News > > > > Projet DeepLow wrote: > > > > > Hi, > > > > > > We're looking for a manual for squeak. Does anyone know anything > > > aboout a complete squeak manual. > > > > > > Thanks in advance. > > > > > > > > > Projet DeepLow > > > Ma?trise Informatique > > > Universit? de Savoie (France) > > > Explorateur 3D en SmallTalk > > > Serna Audrey (madame_dodue@hotmail.com) > > > Fleutot Pierre (foreveroux@yahoo.fr) > > > Josserand Samuel (samjosserands@yahoo.fr) > > > Loiseau Mathieu (MateOstl96@aol.com) > > > > From reic0024 at d.umn.edu Fri Jun 29 14:02:37 2001 From: reic0024 at d.umn.edu (Rev. Aaron) Date: Sat Jan 28 04:43:43 2012 Subject: BankAccount Tutorial In-Reply-To: Message-ID: Do we all think that perhaps it is time to replace the code on that Morphic tutorial to work with 3.0 on the Swiki itself? It seems most newbies are using 3.0. Aaron > > Basically, the tutorial was written for an earlier version of Squeak, so > > the old alignment stuff doesn't work properly now. It certainly used to, > > so, strictly speaking, the tutorial isn't wrong. > > > > Someone did post a fix for it, but I can't find it and it looks like it > > may not have made it back to the tutorial. > > > > I'll try and find it tomorrow or you might like to trawl through the > > archived list at Yahoo. > > > > Cheers > > > > John > > > > > > -- > > ****************************************************************************** > > Marx: "Why do Anarchists only drink herbal tea?" > > Proudhon: "Because all proper tea is theft." > > ****************************************************************************** > From jeaton at trentu.ca Sat Jun 2 07:37:51 2001 From: jeaton at trentu.ca (jack) Date: Sat Jan 28 04:43:55 2012 Subject: Stable squeak isn't (on mac, maybe) Message-ID: <3B1897CF.561630CE@trentu.ca> hi, i have had consistant problems getting squeak to run from after decompacting. i have a suspicion that it might have to do with stuffit expander, can't be sure about that. however, if you have a high speed connection and/or some patience, this workaround might get your squeak working right. i had os x running, i had fixed my squeak and was running it from a carbon vm. since then my os x crashed my powerbook firewire *hard*. now, when i open os x it doesn't show any of its own app icons or folders properly, they are all blank (if anyone knows how to fix this get back to me at jeaton @ trentu.ca or on this list)... it happens despite any number of reformats and reinstalls. anyway, i reformatted and am back to os 9.0.4 but this might work for you: go to the platform independent section of your favorite squeak ftp site, and get the package that has the changes and image, and get the one that has the sources... go to www.versiontracker.com or some similar site and get macgzip and zipit. uncompact the files you download with those programs, and then change the file types and creators with res edit or its mac os x equivalent. creator for all of these must be: FAST file type for the image is: STim file type for the sources and changes is: STch another thing is to give the vm more memory than it asks for... mine was set too low initially. at worst you might waste a half an hour or so, at best you'll get a stable squeak. it worked for me. jack From jwelton at pacific.mps.ohio-state.edu Wed Jun 13 12:26:47 2001 From: jwelton at pacific.mps.ohio-state.edu (Jesse Welton) Date: Sat Jan 28 04:44:13 2012 Subject: [FIX] TinyTextMorphFix Message-ID: Resubmitted with [FIX] tag to get added to SqFixes. Submitted for inclusion in Squeak 3.1. "Change Set: TinyTextMorphFix-JW Date: 19 May 2001 Author: Jesse Welton Fixes TextMorph to retain the current selection and other editor information when its extent is changed. This should prevent the selection from being reset by merely typing into TextMorphs in dynamic layouts." This prevents many instances of the annoying backwards-typing bug. -Jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: TinyTextMorphFix-JW.cs.gz Type: application/octet-stream Size: 497 bytes Desc: Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010613/ab964a9d/TinyTextMorphFix-JW.cs.obj From jdbell at fareselaw.com Tue Jun 26 13:00:24 2001 From: jdbell at fareselaw.com (Jerry Bell) Date: Sat Jan 28 04:44:21 2012 Subject: Bouyancy project on BSS Message-ID: <909E88754E6BD411926B00400531D64AC965CD@CLEVINGER> Hi, There is a project on BSS (Bouyancy) that I'd like to play with, but it requires a BouyancyAtom class that's not included with the project. Would someone be willing to send me the classes to make this example work? Thanks! Jerry Bell jdbell@fareselaw.com From Dan at SqueakLand.org Thu Jun 14 05:32:52 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:44:36 2012 Subject: Soft3D (a Squeak 3D Engine) In-Reply-To: References: Message-ID: >http://www.sparkdigital.com.au/ali/index.html > >...check out the "fractal mountains" part. The "computer graphics" part is >also done in Squeak. When you browse the thumbnails, you'll see a "code" >button. This is for browsing the classes online, but you can download the >fileouts (3.0) with the little Squeak icon which appears with the >thumbnails. Please feel free to use / modify / learn the code for whatever. >The code is pretty clean, and covers the basics for 3D perspective >projection, and shading. Cool stuff, Ali! Looks like you're having fun. - Dan -- From ok at atlas.otago.ac.nz Thu Jun 21 23:01:06 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:44:43 2012 Subject: Morph selectors size -> 924 Message-ID: <200106212301.LAA132123@atlas.otago.ac.nz> Stephane Ducasse wrote: At the end you end with a system where you can send asHtml to aString. Yeah really cool!!! but by doing that you are linked the HTML parser with the String core kernel class. And if you do not need Html for your application then you are in trouble. While I too like classes that are small enough to understand, this specific claim is untrue. String>>asHtml uses only Collection methods. The HtmlEntities table it refers to lives in String. There are quite a few bad things about this method, but linkage to the HTML parser is not one of them. From noel at devtech.com Mon Jun 11 01:45:28 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:44:44 2012 Subject: Newbie issues In-Reply-To: Message-ID: Edmund, Unsubscribe this list, and join the eGroup mirror. See: http://groups.yahoo.com/group/squeak. --- Noel From jhinsley at telinco.co.uk Thu Jun 14 12:00:21 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:44:52 2012 Subject: a morphic tutorial in morphic References: <3B2762D2.76AA0217@telinco.co.uk> <8f.bcff730.28587a7b@aol.com> <3B284140.59ADE7A9@telinco.co.uk> Message-ID: <3B28A755.D2E936AA@telinco.co.uk> Alan Kay wrote: > > But can you easily carry that box around? > No, indeed not. I'd dearly love a laptop, but fear I may have to settle for a Yopy (if and when they're finally released) rather than an i book. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From reic0024 at d.umn.edu Wed Jun 27 17:56:45 2001 From: reic0024 at d.umn.edu (reic0024@d.umn.edu) Date: Sat Jan 28 04:44:58 2012 Subject: Newbie Questions Message-ID: <200106271756.MAA07055@webapps.d.umn.edu> > 1. I have some stuff (a bibliography) in a HyperCard format, but I am > now using Windows. Has someone created something in Squeak that I can > use to port this stack, or at least retrieve the data? [nb: I did a > google search but was not able to find anything definitive, although > clearly the relationship between HyperCard and Squeak has been discussed > in the past]. Have a look at BookMorphs. A good tutorial can be found at . My limited experience with HyperCard places BookMorphs as a good analogue in Squeak, and the above tutorial seems to approach creating a Rolodex in a way similar to a HyperCard stack. However, I know of nothing that would automate this process of going from HyperCard to Squeak (or anything else). If you have access to a Mac, you could write some script in HyperCard to dump the data out into a file, and then read it back into Squeak. If you don't have access to a Mac anymore, perhaps an emulator like Executor or vMac , both which should be able to run HyperCard with no Problems. > 2. Is there a CalendarMorph or anything approaching a widget that I > could use for selecting dates (e.g. as a filter in a mail application). There is a month calendar view. Evaluate: MonthMorph new openInWorld MonthMorph, I believe, was new in Squeak 2.9a or 3.0. Hope it helps some, Aaron From lex at cc.gatech.edu Sat Jun 30 15:52:35 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:45:00 2012 Subject: Newbie Questions References: <20010627164954.HEXA2135.mail1.rdc2.bc.home.com@aSqueakSystem> Message-ID: Steve Wart wrote: > 3. Is there a way to programmatically minimize the main window in > Squeak? > No. Not all ports even *have* windows, keep in mind! On Mac's, I'd guess you could use Applescript to to it. Lex From jatzeck at freenet.edmonton.ab.ca Tue Jun 26 04:03:41 2001 From: jatzeck at freenet.edmonton.ab.ca (jatzeck@freenet.edmonton.ab.ca) Date: Sat Jan 28 04:45:01 2012 Subject: Very large amount of Objects In-Reply-To: <000101c0fde6$9f887700$0a0c10ce@rd.wdi.disney.com> Message-ID: ********************************** * Bernhard Michael Jatzeck * * * * jatzeck@freenet.edmonton.ab.ca * ********************************** On Mon, 25 Jun 2001, Andreas Raab wrote: How does one use them? I'm writing a program which handles and processes large volumes of data and I've already found that a Squeak image can become a memory hog. > ImageSegments. Not exactly trivial to use (and I'm no expert at it) but > they're really fast provided you've got enough memory. > > Cheers, > - Andreas > > > -----Original Message----- > > From: Diego Gomez Deck [mailto:DiegoGomezDeck@ConsultAr.com] > > Sent: Monday, June 25, 2001 7:13 PM > > To: squeak@cs.uiuc.edu > > Subject: Very large amount of Objects > > > > > > What´s the best way to store about 1 million objects in Squeak?? > > > > I tried ReferenceStream but seems too slow.... > > > > TIA, > > > > Diego Gomez Deck > > > From rms at cs.brown.edu Sat Jun 16 20:29:43 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:45:24 2012 Subject: Squeak Plugin install problems In-Reply-To: Message-ID: If someone would tell me where to find the appropriate modules and where they need to go and any special incantations required I will be happy to hand install the plugin. I just want a working plugin! Thanks! R. From fc at dmat.uevora.pt Fri Jun 1 11:59:45 2001 From: fc at dmat.uevora.pt (Francisco Colho) Date: Sat Jan 28 04:45:25 2012 Subject: Distributed squeak? Message-ID: <3B1783B1.A607F721@dmat.uevora.pt> Hi, Is there some option to "execute" some squeak code on a remote VM/Image? If not, wouldn't this be great? -- Francisco Coelho ==================================== Departamento de Matematica Universidade de Evora Rua Romao Ramalho, 59 7000-671 Evora tel. 351 91 900 63 79 email fc@dmat.uevora.pt www http://www.dmat.uevora.pt/~fc ==================================== From scott at squeakland.org Tue Jun 5 00:21:28 2001 From: scott at squeakland.org (Scott Wallace) Date: Sat Jan 28 04:45:27 2012 Subject: [BUG] Selector in browser code pane is no longer bold In-Reply-To: <3B1C1F92.802A8B45@riskmetrics.com> References: <3B1C1F92.802A8B45@riskmetrics.com> Message-ID: Thanks, Doug, No, it was definitely not intentional! I'll put out an update right away to fix this. Sorry about that. -- Scott At 7:53 PM -0400 6/4/01, Doug Way wrote: >This may be a bug or this may be intentional, but in the current >3.1alpha the code pane in browsers no longer makes the selector >appear bold. It looks like the change was introduced in update >#4055, with the code pane consolidation changes... the relevant code >is in Browser>>selectedMessage. > >If the change was intentional, I guess I'd say that I've gotten used >to it being bold and kind of prefer it that way... also, it was sort >of a convention that versions browsers would not make the selector >bold, but "live" browsers would, so you'd know whether you were >looking at a method in the image. (On the other hand, I guess >FileContentsBrowsers didn't follow this convention... so perhaps >it's not a big deal.) > >- Doug Way > dway@riskmetrics.com From thecows at home.com Fri Jun 29 17:19:08 2001 From: thecows at home.com (Steve Wart) Date: Sat Jan 28 04:46:21 2012 Subject: [BUG] SyntaxMorph testClass:andMethod: Message-ID: <20010629162005.CIAT5690.mail2.rdc2.bc.home.com@aSqueakSystem> Hi Bob, Sorry if I was a bit unclear with this message, I was a bit tired when I wrote it. 1. The confusing bit is how to resize the scriptor. I read the class comments on SyntaxMorph and couldn't get past the first step. After spending about and hour and consulting with someone who was using it with 3.0 we were able to track down the change and get the command to work with the earlier version of the method. Since this method is only used from StringHolder>>openSyntaxView, a hypothesis was put forth that this change made it easier to drop SyntaxMorphs into books for interactive demos. 2. Very cool. Thanks 3. The 'nasty' method is testClass:andMethod: -- in the sense that the original window-based method was pretty short and easy to understand. The new version of the method has what appear to be UI parameters hard-coded into it, and it's not clear why the authors made these changes. Cheers, Steve Bob Arning wrote: > Steve, > > First, it is possible (although certainly not ideal) to resize the scriptor you get in this fashion. If you move the scriptor a bit away from the top left corner, then cmd-click just to the left of the blue square that is visible inside the scriptor, you will get the halo. Click until the label on the halo is "TwoWayScrollPane", then drag the yellow handle and the scriptor will resize. > > Second, there is a newer way to do this that you may find more useful - from the menu icon at the top of the browser, turn ON the "tiles" option. Then you will see the tiles right in the browser. > > Third, I'm not clear on which method it is that you think is confusing and nasty. > > Cheers, > Bob > > On Thu, 28 Jun 2001 21:47:28 -0800 Steve Wart wrote: > >If you click on a method in a browser and select 'tile scriptor' the > >SyntaxMorph comes up in a little window in the upper left hand corner of > >the screen. Can't resize, pretty confusing. > > > >If you revert to the 3.0 version of this method, everything is fine. In > >fact the 3.0 version of the method is much simpler. It is sending > >#openInWindow to the SyntaxMorph whereas the 3.1 version creates an > >AlignmentMorph and sends it #openInWorld. > > > >The 3.1 version of the method is quite confusing and nasty (IMHO), in > >addition to the fact that it doesn't seem to work correctly. I would > >suggest that the first version is 'right', or at least that some > >refactoring is in order. From core.lists.squeak at core-sdi.com Wed Jun 6 15:47:49 2001 From: core.lists.squeak at core-sdi.com (Gerardo Richarte) Date: Sat Jan 28 04:46:36 2012 Subject: On interfaces - Morphic Wrappers References: <909E88754E6BD411926B00400531D64AC9648F@CLEVINGER> Message-ID: <3B1E50E6.9578FE8F@core-sdi.com> Hi Alan! This are great news! I whould love to help with the integration, but I'm not sure what it means... > There clearly should also be an integration of > some of Ned Konz's stuff into the "writing on air" interface. Here at work, Diego and Luciano are using Ned's connectors (a modified version, I think) together with MWs. Is that what you meant? What kind of integration do you have in mind? Integral Bye! Richie --- For a personal reply use gera@core-sdi.com From nadja at cc.gatech.edu Tue Jun 19 18:44:23 2001 From: nadja at cc.gatech.edu (Jochen F. Rick) Date: Sat Jan 28 04:46:38 2012 Subject: [pws] Re: [BUG] swiki under-slashification In-Reply-To: ; from bert@isg.cs.uni-magdeburg.de on Tue, Jun 19, 2001 at 08:18:20PM +0200 References: <15151.37685.828000.512881@noontide.demon.co.uk> Message-ID: <20010619144423.A21368@cc.gatech.edu> > > If, in a swiki, I enter some XML, I'd expect to do syntax escaping, > > given that HTML is allowed. So I enter (e.g.) "" as > > "<bert/>". Fine, if a bit prolix. But, if I edit the page > > again, the textbox contains "", which will then "disappear" if > > I save it. This makes discussing XML on a swiki, umm, wearing... > Works for me (using Comanche/Swiki and Netscape). What Swiki-version and > what browser are you running? > Btw, the pws@cc.gatech.edu list is especially for diskussing Swiki-related > stuff. Yea. This should not longer be a problem. I remember that it was a problem at one time though. You should probably upgrade to the newest version (http://minnow.cc.gatech.edu/swiki). Peace and Luck! Je77 From Dan at ltol.com Sat Jun 2 04:25:29 2001 From: Dan at ltol.com (Dan Ingalls) Date: Sat Jan 28 04:46:39 2012 Subject: Onward and Upward In-Reply-To: References: Message-ID: >Just curious: Does this involve a disassociation with Disney? Yes, it does. - Dan -- From JArchibald at aol.com Thu Jun 21 13:56:45 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:46:40 2012 Subject: majorShrink Message-ID: <9.1737bf03.2863571d@aol.com> => 6/21/01 3:44:21 AM EDT, fuxoft@terminal.cz => << I tried "Smalltalk majorShrink" just for the hell of it and received "You can only run majorShrink in the top project" error. >> Hi Frantisek, You probably tried to evaluate the #majorShrink that is in the distributed image. The majorShrink that you need is in the fileIn at: ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/3.0/platform-independent/MajorShrink For3.0.cs.gz which is where Dan put it when 3.0 was released. File this in and you're ready to go. You do need to be in an MVC project to evaluate this appropriately. To get to one, select from the background menu, 'open...>MVC project' and then click on the mini-window that appears. Then evaluate "Smalltalk majorShrink; abandonSources; lastRemoval." This does not appear to execute correctly in the latest 3.1 for unstable test pilots. I'll have to fix that. Cheers, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From Henrik.Gedenryd at lucs.lu.se Thu Jun 28 09:00:08 2001 From: Henrik.Gedenryd at lucs.lu.se (Henrik Gedenryd) Date: Sat Jan 28 04:46:41 2012 Subject: New VMs In-Reply-To: <3B3ADADB.4ABA55E5@sol-tec.it> Message-ID: Giovanni Giorgi wrote: > Excuse me, I am new to Mac Os X. > Can I use the carbon VM on Mac Os X? > Thank you! Yes, that is precisely the point of Carbon. It works well, with just a known glitch when switching apps in full-screen mode. Henrik From Henrik.Gedenryd at lucs.lu.se Mon Jun 4 11:30:07 2001 From: Henrik.Gedenryd at lucs.lu.se (Henrik Gedenryd) Date: Sat Jan 28 04:46:45 2012 Subject: [BUG][FIX]Unstable Squeak Won't Load Modules on Macintosh In-Reply-To: <200106022335.f52NZF501643@smtp-server1.tampabay.rr.com> Message-ID: Andrew, > (It would > be nice if you also provided under the Squeak-L license the old fonts, > BTW -- I'm not a fan of Chicago.) All the generic Mac fonts are there, look in the appearance/system fonts menu. Including a New York clone. > It is clear that it manifests a lot > of hard work (albeit not a lot of serious testing, unit or otherwise, on > the Macintosh!!!) and some great ideas. I guess John wasn't kidding about the in-progress state of it. I think things will work better if we get a decent module/repository system going, and I hear that someone is working on it... > 1. Startup. As noted, on MacOS 8.X and 9.X, you need to set the files > owner and type properly to double-click the executables. This is a I whipped up a Mac package and put it next to the zip, saving people the trouble. I have also made a utility that will fix the file types: > 3. Problem with file list. After selecting a file on any of the "0.1" > files, selecting more on the file menu gets a walkback. To fileIn the > file, I have to select the entire file in the file browser and fileIn > the selection in the text pane. SimpleServiceEntry>>selector ^selector takes care of that. Stephane Ducasse noted that this could be done better but that wouldn't work with the current menu system with a realistic amount of effort. > 4. Suggestions for SUnit testing. In earlier versions of SUnit tester > GUIs, I was able to filter by category and method those tests that would > be run in the "Run All" button. If that already exists (as it seems from what you write), someone can drop sarkela@home.com a note that they want to contribute it. Henrik From reic0024 at d.umn.edu Wed Jun 20 16:54:19 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:46:48 2012 Subject: [GOODIE]MenuBarMorph - Squeak 3.1 In-Reply-To: <003101c0f99e$ca85f6e0$6401a8c0@we.mediaone.net> Message-ID: On Wed, 20 Jun 2001, Jim Benson wrote: > This code does not appear to work with Squeak 3.0. If you *really* need the > code to work there, let me know and I'll see what I can do. Seems to work fine for me in Squeak 3.0 #3545. Aaron Aaron Reichow :: Twin Ports ACM Pres :: http://www.d.umn.edu/~reic0024/ "life, probably the biggest word i've ever said, that says a lot 'cause there is a whole lot of words inside my head..." -- atmosphere From dway at riskmetrics.com Mon Jun 4 23:53:54 2001 From: dway at riskmetrics.com (Doug Way) Date: Sat Jan 28 04:46:55 2012 Subject: [BUG] Selector in browser code pane is no longer bold Message-ID: <3B1C1F92.802A8B45@riskmetrics.com> This may be a bug or this may be intentional, but in the current 3.1alpha the code pane in browsers no longer makes the selector appear bold. It looks like the change was introduced in update #4055, with the code pane consolidation changes... the relevant code is in Browser>>selectedMessage. If the change was intentional, I guess I'd say that I've gotten used to it being bold and kind of prefer it that way... also, it was sort of a convention that versions browsers would not make the selector bold, but "live" browsers would, so you'd know whether you were looking at a method in the image. (On the other hand, I guess FileContentsBrowsers didn't follow this convention... so perhaps it's not a big deal.) - Doug Way dway@riskmetrics.com From drozenfa at yahoo.com.ar Wed Jun 6 15:23:39 2001 From: drozenfa at yahoo.com.ar (=?iso-8859-1?q?Dan=20Rozenfarb?=) Date: Sat Jan 28 04:46:59 2012 Subject: On interfaces - Morphic Wrappers Message-ID: <20010606152339.36700.qmail@web14304.mail.yahoo.com> --- In squeak@y..., Jerry Bell wrote: > I've always liked playing around with Morphic Wrappers. I'm surprised that > it hasn't migrated into the main release yet- is there any reason it hasn't > been folded in? Typing on air is fun! I strongly second this. Although I believe MorphicWrappers still need some work, IMHO they are an indispensable part of the Morphic world, mostly typing in the air. Just as Smalltalk, you've got to use them for a while to really graps their usefulness. Regards, Dan Rozenfarb > > Jerry Bell > jdbell@f... > > > -----Original Message----- > > From: Gerardo Richarte [mailto:core.lists.squeak@c...] > > Sent: Tuesday, June 05, 2001 1:43 PM > > To: squeak@c... > > Cc: recipient list not shown; @cs.uiuc.edu > > Subject: On interfaces - Morphic Wrappers > > > > > > This days we have a thread on user interfaces, this > > time is about > > how to use Squeak with non-standard input devices, or, more precisely, > > without keyboard. It is not the first time we can enjoy this kind of > > discussions, there have been a lot of them in the list. > > Personally, I love > > to read about UIs. > > > > Today, we can say that once again there is a version of the > > MorphicWrappers available to download. This latest version is ready to > > be used in a Squeak3.1a-4048. It's not a long time since that previous > > update (just 100 updates), but before that it was a little longer (800 > > updates). > > > > It's a really tough job to maintain MorphicWrappers (we > > all suffer > > for maintaining packages for squeak up to date...) We almost > > gave up, but > > the team keeps growing and the new people comes with fresh energy to > > maintain the package. > > > > So here it comes, from deep in the heart of the latest > > adopters of > > the MorphicWrappers way of interacting with the World: > > > > We started the project almost 3 years ago with the first version > > of Morphic, in Squeak 2.3 (I'm not really sure when it was). > > MW is today > > an ancient project, but we think it's still current, and even > > a little in > > the future. We?ve been using it continously all this time, and we got > > adicted to them. > > > > Here at core where I work, there is people that learned > > Smalltalk & Squeak using them, and the other day, one of them > > asked what a Workspace > > is! just imagine that! > > > > Don't wait! You have to live the MorphicWrappers > > experience, then, you'll have the experience to say "I don't > > like MWs", but you won't say > > it. > > Go get them at http://mathMorphs.swiki.net/MorphicWrappers > > > > Interfacing Bye! > > Once again, Richie > > > > --- For a personal reply use gera@c... > > > > _________________________________________________________ ?Lo probaste? Correo gratis y para toda la vida en http://correo.yahoo.com.ar From tim at sumeru.stanford.edu Tue Jun 19 20:40:24 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:47:18 2012 Subject: test In-Reply-To: <8E197B764EBFD4118D120020480E3D7549129F@exchgcc.kronos.com> References: <8E197B764EBFD4118D120020480E3D7549129F@exchgcc.kronos.com> Message-ID: "Norton, Chris" is widely believed to have written: > I haven't gotten any Squeak mail since June 15th. > > Did I get dropped off of the mailing list?!? > > ---==> Chris Yup. You're just not cool enough anymore Chris :-) -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim Systems programmers are the high priests of a low cult. - R. S. Barton From deeplowsoftware at oreka.com Sun Jun 24 16:22:01 2001 From: deeplowsoftware at oreka.com (Projet DeepLow) Date: Sat Jan 28 04:47:19 2012 Subject: opening files Message-ID: <200106241522.RAA79198@mailhub1.isdnet.net> Hi, thanks to Andreas Raab for his explanations, they have really helped us A LOT. We now know how to set the texture to a VRML object or more precisely we know how to create a VRML so that we can set its texture. We have another problem in squeak : we would like to be able to open a file from the Squeak environment. By opening we mean see its content and maybe editing it (in a squeak window), but at least opening it. It would be great if we could work out txt (for opening and editing) and bmp files(for opening). We are working on the FileDirectory class and it doesn't seem to help us a lot. Projet DeepLow Ma?trise Informatique Universit? de Savoie (France) Explorateur 3D en SmallTalk Serna Audrey (madame_dodue@hotmail.com) Fleutot Pierre (foreveroux@yahoo.fr) Josserand Samuel (samjosserands@yahoo.fr) Loiseau Mathieu (MateOstl96@aol.com) From lamneth at sympatico.ca Sat Jun 16 18:08:14 2001 From: lamneth at sympatico.ca (Benoit St-Jean) Date: Sat Jan 28 04:47:22 2012 Subject: test Message-ID: <3B2BA08E.75588D3E@sympatico.ca> test... From ali at sparkdigital.com.au Mon Jun 4 07:23:33 2001 From: ali at sparkdigital.com.au (Ali Chamas) Date: Sat Jan 28 04:47:40 2012 Subject: [ANN][GOODIE] New Version QuickTime for Squeak 3.1 -- Windows In-Reply-To: <005601c0ecb2$16d27900$8a598218@we.mediaone.net> Message-ID: Jim, > Sorry, I'm only going to support a Windows version at this time. I don't own > a Mac anymore. If someone had a *really* good reason for me to do the Mac > side (like an interesting project of some sort), I would consider writing a > Mac port. However, I'm not really inclined to do that at the present time. Oh well, worth a try. ;) > Off topic: [GUITARS] > > I usually play a 1990 White maple neck American Fender Stratocaster. > However, I've been spent most of the last six months in hotels, and have > been using a black Martin 00CXAE for practice. It's a wonderful travel > guitar because it's made with laminated materials, which do not lend > themselves to warp or finish problems inherent to conventional accoustic > guitar construction. It sounds great for a relatively inexpensive > instrument, especially considering its form factor (3 inch deep 00 style). > Plus, it has integrated electronics. I need to write a little drum machine > in Squeak so I can record some tunes when I'm on the road :-) Ah, a guitar and a laptop, just perfect for the travelling thinker. I'm trying to buy a big ol' white Gibson Epiphone, aka George Benson style. Unfortunately, i need a new computer, so i should put my money into that. Damn computers...all i wanna do is jam. Ali. > Jim > > ----- Original Message ----- > From: "Ali Chamas" > To: > Sent: Sunday, June 03, 2001 6:10 PM > Subject: Re: [ANN][GOODIE] New Version QuickTime for Squeak 3.1 -- Windows > > >> Outstanding!! Can we have a Mac (cake) version too (and eat it)? >> >>> throw about. I think I'll just go play my guitar instead. >> >> BTW. What kind of guitar is it? >> >> Ali. >> >>> >>> Hello, >>> >>> There is a new revision of QuickTime playback for Squeak -- Windows > version. >>> >>> This provides a couple of extra features over the last revision. >>> >>> First and foremost, QuickTime is fully integrated into the Morphic >>> environment using the new BitBlt functions with external forms. This may > be >>> accessed with: >>> >>> QuickTimeMoviePlayer getAndOpenFromOffscreen. >>> >>> This allows you to impress your friends and confuse your enemies by > rotating >>> your movie window morphs around on the screen. >>> >>> (If maximum speed is required, the previous version is still available > using >>> #getAndOpen ) >>> >>> Second, a 'movie poster' function allows any frame of a movie to be made >>> into an ImageMorph. >>> >>> Third, a new class, QuickTimeImages, is added which allows any QuickTime >>> supported image format to be imported into an ImageMorph. >>> >>> All of this fun is available at: >>> >>> http://people.we.mediaone.net/trade/quicktim.htm >>> >>> under the heading 3.1 Test Pilots. >>> >>> Note that this changeset requires changes up to 4081, and the new > Windows VM >>> located at: >>> >>> ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.0/unstable-testPilot/ >>> >>> >>> Enjoy, >>> >>> Jim Benson >>> >>> P.S. >>> >>> I almost feel silly at this point actually sending code to the list. I > know >>> I'm supposed to add some profound thoughts about evolution, creationism, >>> chaordic foundations or some such. However as most folks who know me > will >>> tell you, I don't have a thought in my head, much less profound ones to >>> throw about. I think I'll just go play my guitar instead. >>> >>> >> >> > From rms at cs.brown.edu Tue Jun 26 17:51:42 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:47:41 2012 Subject: Jerry Archibald, 1940-2001 In-Reply-To: Message-ID: As a newbie on the Squeak list I particularly remember how kind he was to me in my pursuit of reference material and I thoroughly enjoyed his comments on open source and many other issues. His leaving creates a big hole. R. From ned at bike-nomad.com Mon Jun 4 06:34:15 2001 From: ned at bike-nomad.com (Ned Konz) Date: Sat Jan 28 04:47:46 2012 Subject: Odd interaction between Gvim and Squeak In-Reply-To: <3B1AF65A.6C445C59@telinco.co.uk> References: <3B1AF65A.6C445C59@telinco.co.uk> Message-ID: <01060323341501.18145@ned.bike-nomad.com> On Sunday 03 June 2001 19:45, John Hinsley wrote: > Here's a peice of wierd behaviour I noted. AFAIK it applies only to > Squeak on *nix. > Now, I only get this in Gvim (Netscape doesn't loose anything, for > example) and I only get it in Gvim when I'm copying and pasting from > Squeak. You're lucky to have copying/pasting working at *ALL*. I can't get it to work (there's something broken between Squeak and kwin). Seriously, there's problems with the clipboard code in Squeak, but I haven't been able to figure out what it is. Squeak is the only program I use that I can't copy text from. Gvim is the only program that even tries, but it keeps giving me error messages (per character, I think). Other programs show nothing at all getting pasted. -- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com From ducasse at iam.unibe.ch Thu Jun 21 12:56:19 2001 From: ducasse at iam.unibe.ch (Stephane Ducasse) Date: Sat Jan 28 04:47:53 2012 Subject: Contest! In-Reply-To: <904AA220ACB4D211A10600104B3E85C92604EB@MAIL> Message-ID: > O.K., let's take it seriously: > Has anyone ever thought about adding aspects to Squeak for seperating > the behavior currently found in the bloated classes ? > But I think this requires a major change in thinking about the design > of the squeak class library and (multiple) Inheritance. I'm really thinking that Morph has too much responsibilities. May be technical things like mixin may help but at the design level there is a problem. We will have 9 aspects or mixin of 100 methods!! I would really like that john maloney reacts on this because his baby has taken an unexpected size. because the Morph Extension is already there!! From JArchibald at aol.com Fri Jun 1 19:47:21 2001 From: JArchibald at aol.com (JArchibald@aol.com) Date: Sat Jan 28 04:47:58 2012 Subject: Squeakland Evolution project thingy Message-ID: <8b.77bfe09.28494b49@aol.com> => 5/31/01 10:12:20 AM EDT, K.Hodges@ftel.co.uk => << "If we hold the theory of evolution to be true, which it is likely to be given the philosphical viewpoint or axiom that assumes there is no outside agent then it is likely that the process of evolution evolved the animals, both their bodies and their habits ..." >> It is suggested by other contributions that this sentence may be difficult to parse for sixth graders. I would suggest it's not too easy for adults, either. Nonetheless, to jump in the pool with all you philosophical sharks here for a minute, let's give it a try. Rephrasing ==> ---------------------------------------------- 1. The assumption that there is no outside agent implies that the theory of evolution is true. 2. If we hold the theory of evolution to be true then it is likely that the process of evolution evolved the animals, both their bodies and their habits ... 3. (I guess) ... thus the assumption that there is not outside agent implies the likelihood that the process of ... etc. ---------------------------------------------- Does this work? If so, I have two (actually three) naive questions about this outlook: Question 0: First an aside on the assumption: Why? For example, is there not the possibility of such a "thing" as an ?inside? agent (genetic, vibrational, etc.). Can we not conceive of other mechanisms? Question 1: Nonetheless, to examine the truth of the sentence itself, let us take the contrapositive: If the theory of evolution is false, then there is an outside agent. Is this a true sentence? Question 2: Is this the only description (ToE) which fit this process? Not that the ToE does not have a certain elegance of simplicity. But nothing of its rightness suggests exhaustiveness or exclusivity in its description of the "evolutionary" process. Is that not so? ---------------------------------------------- None of this appears tautological to me. I have read philosophy for 45 of my 60 years. I graduated from sixth grade in 1952. Maybe I would have understood it better then. :-) I can tell it's Friday afternoon, Jerry. ____________________________ Jerry L. Archibald systemObjectivesIncorporated ____________________________ From tim at sumeru.stanford.edu Sun Jun 24 05:49:03 2001 From: tim at sumeru.stanford.edu (Tim Rowledge) Date: Sat Jan 28 04:48:02 2012 Subject: [updates] 80 new ones for 3.1alpha [FETCH OK NOW] In-Reply-To: References: <3B355BAE.1EEDC32E@telinco.co.uk> Message-ID: Dan Ingalls is widely believed to have written: > Well, Hmm back. I did run through the entire set after posting (and over a somewhat flaky connection at that), and all seemed fine. That's how I printed the summaries. So I am hoping a couple of other people will confirm that it *can* work. Then all we have to do is figure out the problem on your end. I just updated from 4019 to 4164 with no problem - Acorn, pluginized VM based on 4019 + VMMaker code. tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim This is very curious ... as if someone was eating the wrong sort of mushrooms when they invented this sort of thing From arning at charm.net Fri Jun 29 16:43:48 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:48:07 2012 Subject: [BUG] SyntaxMorph testClass:andMethod: Message-ID: <200106291643.MAA10341@fellspt.charm.net> Steve On Fri, 29 Jun 2001 09:19:08 -0800 Steve Wart wrote: >1. The confusing bit is how to resize the scriptor. I read the class >comments on SyntaxMorph and couldn't get past the first step. After >spending about and hour and consulting with someone who was using it >with 3.0 we were able to track down the change and get the command to >work with the earlier version of the method. Since this method is only >used from StringHolder>>openSyntaxView, a hypothesis was put forth that >this change made it easier to drop SyntaxMorphs into books for >interactive demos. >3. The 'nasty' method is testClass:andMethod: -- in the sense that the >original window-based method was pretty short and easy to understand. >The new version of the method has what appear to be UI parameters >hard-coded into it, and it's not clear why the authors made these >changes. The changes were made to make script editors in the Universal tiles environment work correctly. If you change the final few lines #testClass:andMethod: to reas as follows: syn finalAppearanceTweaks. ">>SyntaxMorph setSize: nil andMakeResizable: outer.<<" outer setProperty: #autoFitContents toValue: true. outer openInWorld you will find it a bit friendlier. Cheers, Bob From reic0024 at d.umn.edu Wed Jun 20 19:25:51 2001 From: reic0024 at d.umn.edu (Aaron J Reichow) Date: Sat Jan 28 04:48:16 2012 Subject: Funky behavior of hidden morphs? Message-ID: Spurred on by the recent posting of Menu Bar for 3.x, I set out to fix one of my chief annoyances with the Squeak UI- management of collapsed windows. The problem I'm running into has to do with #hide'ing and #show'ing windows. When a morph is hidden by sending it the message #hide, a shadow of it is still there. When I click on a spot where the now hidden morph once was, a black rectangle pops up, and causes all sorts of trouble. Is this the way Morph>>#hide and #show should behave and the semantics are just confusing me? What would the proper way to handle this be? Perhaps collapsing (in the usual way as per SystemWindow>>#collapseOrExpand) and moving it out of the visible bounds? Thanks! Aaron Aaron Reichow :: Twin Ports ACM Pres :: http://www.d.umn.edu/~reic0024/ "life, probably the biggest word i've ever said, that says a lot 'cause there is a whole lot of words inside my head..." -- atmosphere From arning at charm.net Sat Jun 30 20:26:38 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:48:20 2012 Subject: newbie question - killing a process Message-ID: <200106302026.QAA27470@fellspt.charm.net> On Sat, 30 Jun 2001 15:35:27 -0400 (EDT) Rosemary Michelle Simpson wrote: >How do you kill a process whose objects have gone away? I created a >clock process (part of Mark's examples) and then made the mistake of >quitting without terminating the process. Now I have an orphan clock that >wont go away. I did as he suggested and did: > > Smalltalk garbageCollect. > Process allInstances inspect. > >This produced a long array of 34 processes, most of which say "a Process >in UndefinedObject>>DoIt". Mark says to 'find the one you want (probably >near the bottom of the list) and send it terminate." > >My question is: > >How do I select a receiver from this array to terminate? Rosemary, In the bottom pane of the inspector, do this: (self at: n) terminate where n is the index in the array of the Process you want to kill. FWIW, 34 processes seems like a very high number. Have you repeated the example you gave 20 or 30 times? Cheers, Bob From merlyn at stonehenge.com Wed Jun 20 17:27:12 2001 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Sat Jan 28 04:48:34 2012 Subject: documentation requests? In-Reply-To: References: Message-ID: >>>>> "Ted" == Ted Kaehler writes: Ted> This is already in the system! Just type what you want to Ted> search for in any text pane, get the shift menu, and choose "class Ted> comments with it". Up pops a MessageSet with all of the class Ted> comments containing that text. You can 'Browse Full' from there. So the important thing here is to get the current image to at *least* have class comments! I'd especially like to see some of the deprecated classes be labelled as such... I know over the past few years on this list I've seen "oh, don't use that, we're doing it this way now" more than once. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From rwithers12 at mediaone.net Thu Jun 28 03:48:49 2001 From: rwithers12 at mediaone.net (Rob Withers) Date: Sat Jan 28 04:48:44 2012 Subject: A problem with startUp messages In-Reply-To: <200106280130.VAA12285@blackwolf.golden.net> References: <200106280130.VAA12285@blackwolf.golden.net> Message-ID: <01062723532400.32716@bacchus.callisto.com> Hi Kevin, Is there a signal handler being installed for SIGCHLD, in the vm? The default action (SIG_DFL) is to ignore the signal. I thought the child PID goes zombie as a result, but I couldn't find evidence in the man pages.. Rob On Wed, 27 Jun 2001, Kevin Fisher wrote: > Hi folks: > > I've been working with David Lewis, trying to figure out why OSProcess has > been leaving behind zombie processes. It turns out, the problem > isn't with OSProcess at all... > > In my image, the SystemDictionary's StartUpList has UnixOSProcessAccessor > later in the ordered collection, after SecurityManager. When the image gets > restarted, only classes iterated over the StartUpList up to and including > SecurityManager receive the startUp message. After that, SystemDictionary>> > send:toClassesNamedIn:with: terminates prematurely, leaving several classes > not restarted (including UnisOSProcessAccessor, the source of the OSProcess > zombies). Actually I'm not sure it terminates at all, it seems to get stuck > at SecurityManager. > > It looks as though SecurityManager class>>startUp never returns...but only > during startup. Once the image is up and running, doing a SecurityManager > startUp seems to work just fine...it's only during the startup that something > funny happens. The trick is to put Transcript show: scaffolding around 'self > default startUp' in SecurityManager class>>startUp...open a Transcript, save > the image and quit, reload and watch what gets put in the Transcript. The > first Transcript show: will appear, but the second does not. However, once > the image is up, doing a SecurityManager startUp will show both Transcript > show: 's. Perhaps some sort of deadlock is happening during the restart of > the image? > > I'm a bit stumped at this point...any ideas? This is on the UNIX VM, with the > latest changes in the 3.1 image. From ok at atlas.otago.ac.nz Mon Jun 18 00:21:31 2001 From: ok at atlas.otago.ac.nz (Richard A. O'Keefe) Date: Sat Jan 28 04:48:54 2012 Subject: [newbie] Complex boolean value? Message-ID: <200106180021.MAA102461@atlas.otago.ac.nz> WHOOPS! (2) v > x OR v > y if and only if v > max(x,y), so sould read v > x OR v > y if and only if v > min(x,y), so replace max: and \/ by min: and /\ in the rest of that message. This is rather a strange test in the first place. There has to be a more problem-oriented way to express it. From ali at sparkdigital.com.au Mon Jun 4 01:10:44 2001 From: ali at sparkdigital.com.au (Ali Chamas) Date: Sat Jan 28 04:48:59 2012 Subject: [ANN][GOODIE] New Version QuickTime for Squeak 3.1 -- Windows In-Reply-To: <011d01c0eaeb$31f61980$8a598218@we.mediaone.net> Message-ID: Outstanding!! Can we have a Mac (cake) version too (and eat it)? > throw about. I think I'll just go play my guitar instead. BTW. What kind of guitar is it? Ali. > From: "Jim Benson" > Reply-To: squeak@cs.uiuc.edu > Date: Fri, 1 Jun 2001 15:35:43 -0700 > To: "Squeak" > Subject: [ANN][GOODIE] New Version QuickTime for Squeak 3.1 -- Windows > Resent-From: squeak@cs.uiuc.edu > Resent-Date: 1 Jun 2001 22:34:38 -0000 > > Hello, > > There is a new revision of QuickTime playback for Squeak -- Windows version. > > This provides a couple of extra features over the last revision. > > First and foremost, QuickTime is fully integrated into the Morphic > environment using the new BitBlt functions with external forms. This may be > accessed with: > > QuickTimeMoviePlayer getAndOpenFromOffscreen. > > This allows you to impress your friends and confuse your enemies by rotating > your movie window morphs around on the screen. > > (If maximum speed is required, the previous version is still available using > #getAndOpen ) > > Second, a 'movie poster' function allows any frame of a movie to be made > into an ImageMorph. > > Third, a new class, QuickTimeImages, is added which allows any QuickTime > supported image format to be imported into an ImageMorph. > > All of this fun is available at: > > http://people.we.mediaone.net/trade/quicktim.htm > > under the heading 3.1 Test Pilots. > > Note that this changeset requires changes up to 4081, and the new Windows VM > located at: > > ftp://st.cs.uiuc.edu/Smalltalk/Squeak/3.0/unstable-testPilot/ > > > Enjoy, > > Jim Benson > > P.S. > > I almost feel silly at this point actually sending code to the list. I know > I'm supposed to add some profound thoughts about evolution, creationism, > chaordic foundations or some such. However as most folks who know me will > tell you, I don't have a thought in my head, much less profound ones to > throw about. I think I'll just go play my guitar instead. > > From karl.ramberg at chello.se Wed Jun 20 16:18:32 2001 From: karl.ramberg at chello.se (Karl Ramberg) Date: Sat Jan 28 04:49:13 2012 Subject: documentation requests? References: <005101c0f9a3$58c89620$6401a8c0@we.mediaone.net> Message-ID: <3B30CCD9.270438BE@chello.se> > > Some students in the Georgia Tech OO class are thinking of investigating > > and documenting parts of Squeak in order to get extra credit. Here's > > your chance: what would you most like someone to dig into and then write > > up? Alternatively, if you've written some fantastic Squeak system, how > > would you like to have someone else do the documentation? > > The Utilities class has lots of stuff which is quite unrelated to each other but _very_ important Also some preferences need ballon text Karl From rms at cs.brown.edu Sat Jun 30 16:32:23 2001 From: rms at cs.brown.edu (Rosemary Michelle Simpson) Date: Sat Jan 28 04:49:14 2012 Subject: BankAccount Tutorial In-Reply-To: <20010630162408.18381DF@proven.weird.com> Message-ID: On Sat, 30 Jun 2001, Greg A. Woods wrote: > [ On Saturday, June 30, 2001 at 10:43:17 (-0400), Rosemary Michelle Simpson wrote: ] > > Subject: Re: BankAccount Tutorial > > > > However, it makes sense to stay with the Squeak 2.8 that is on the CD > > while you are working with the book and its exercises/example code. When > > learning a new language, especially one as different from most as is > > Squeak, it seems wise to not change the language version in mid-stream. > > Having said that I must confess that I jumped all the way to the 3.1 alpha > > because I wanted the "class comments with it" facility. > > it may be best to avoid unnecessary change when learning a _new_ > language, but because i already had some exposure to squeak, and more or > less knew the basics of smalltalk from long ago, i had already upgraded > to 3.0 even before i bought the book and i don't have a 2.8 image at the > moment.... > > > Still, I kept the > > 2.8 image and use it in conjunction with the book. > > (does a "current" vm work with the older image? is that a goal?) I have two separate folders with completely separate systems including the VMs - one contains the 2.8 system (image, VM, etc) from the CD plus all my work with the book and the other contains the 3.1 system will all my work on ConceptLab. R. From Jarvisb at timken.com Fri Jun 22 18:28:16 2001 From: Jarvisb at timken.com (Jarvis, Robert P. (Contingent)) Date: Sat Jan 28 04:49:19 2012 Subject: historical note (was: New Block Closures) Message-ID: <5DA5491C2D46D311BACE00508B0AC0F10210065B@ctnhemail02.corp.timken.com> > From: Michael Rueger [mailto:m.rueger@ACM.ORG] > We seem to have become worse at solving soft problems (like morphic), > maybe because we are not really solving them, just adding more and mre > patches to our incomplete understanding of how things should work. Well, where were we 20 years ago: Systems: Most programming was done on large, monolithic systems. Transaction processing (ala CICS) was the hot technology. 16 megabytes of real memory was a *lot*. Disk drives were the size of washing machines. Language: COBOL was the language of choice. Database: Flat files and simple non-transactional indexed files were common. Hierarchical and CODASYL databases were new; relational database were still "too new". Microsoft: Was a little compiler company in Arizona IIRC. Me: My "computer" was an HP-41C programmable calculator. Did some really neat stuff with it, though! Where are we today: Systems: Most new development takes place on small, networked computers. (I say "small" here in terms of size and cost. The PC I'm typing this on has more CPU and memory horsepower than the mainframes which 20 years back I was drooling over. (Which was appropriate seeing as how those old mainframes *were* water-cooled :-)). 16 megs of memory is nothing. 16 *gigabytes* of real memory, now, that's a *lot*. Disk drives fit in your hand. Language: *My* language of choice is Smalltalk in all its variants. The "industry" language of choice is probably C, with C++ and Java in the hunt. Dinosaurs still program in COBOL. Database: Relational databases are common. Object databases are new. I don't know what is "too new" these days. Microsoft: Is a multi-gazillion dollar cyber-Godzilla in Washington. Me: 1.2 GHz Pentium 4 (good) running Windows Me (bad, but needed to run games for the kids). I hardly get to look at it, let alone do any programming. I think that the problems we're trying to solve today are much more complex than the problems we dealt with 20 years ago. (I can't remember the last time I had to cook up some master-file update logic). Where are we going (2021): Systems: Don't ask me. Maybe multiprocessing systems (one process, one processor)? World-wide wireless networking? 16 gigs of memory won't be enough to do anything useful. 16 *terabytes* of memory will be a lot. Rotating disks will have vanished, replaced by multi-terabyte RAMsticks or something. Language: Beats me. I hope things will change/improve. I fear they won't. Dinosaurs will still use COBOL. Database: Ditto. Microsoft: Will go bankrupt in 2013 when everyone "Just Says No" to rebooting their PC's every five minutes, at $100 per reboot. Bill Gates becomes hunted fugitive; when surrounded by disgruntled investors at their corporate HQ in Antarctica he reboots himself all the way to Mars, thus escaping prosecution *and* opening up an entire new market for Windows ET (Extra-Terrestrial edition). This causes the financial markets to melt down, but the government saves the day by using the Social Security trust fund to bail out Wall Street. ("Which is more important", then-president Newt Ging-grinch will ask, "giving money to a bunch of whiney old people who'll soon be dead anyways, or giving money to a bunch of whiney rich people who will give a bunch of it BACK in political contributions!?!?"). Me: I'll be within a year of retirement, which I probably won't be able to afford (even without having counted on Social Insecurity), the last of my kids should be in college, and I might finally have time to do some programming for fun. Does Morphic still need to be refactored? :-) Bob Jarvis Compuware @ Timken From arning at charm.net Thu Jun 28 04:27:05 2001 From: arning at charm.net (Bob Arning) Date: Sat Jan 28 04:49:29 2012 Subject: A problem with startUp messages Message-ID: <200106280427.AAA17498@fellspt.charm.net> Kevin, This is a due to a VM which does not have the latest exception handling code. If you can't easily get a suitable VM, you can work around this problem by changing file _ [fd readOnlyFileNamed: keysFileName] on: FileDoesNotExistException do:[:ex| nil]. to file _ [fd readOnlyFileNamed: keysFileName] on: FileDoesNotExistException do:[:ex| ex resume: nil]. Cheers, Bob On Wed, 27 Jun 2001 22:06:46 -0400 Kevin Fisher wrote: >To follow up a bit on this: I've tracked things down a bit further. The >method that is hanging is SecurityManager>>loadSecurityKeys. > >It is hanging at this point: >.. >.. >file _ [fd readOnlyFileNamed: keysFileName] > on: FileDoesNotExistException do:[:ex| nil]. > >file ifNil:[ ^self]. "no keys file" > >.. >.. > >For some reason, during the start up of the image, the return from this method >seems to deadlock..the rest of SecurityManager>>startUp never gets run. > >Again, if you run the startUp manually after the image has started, it works >just fine... From jhinsley at telinco.co.uk Sat Jun 9 19:45:28 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:49:42 2012 Subject: TexFileOut problems References: <200106080140.NAA25806@atlas.otago.ac.nz> <3B2047BB.C1B968FD@telinco.co.uk> <3B20552D.109387AE@cvtci.com.ar> <3B20F093.3C8F0937@telinco.co.uk> <3B21C2DB.582E8A20@chello.se> Message-ID: <3B227CD8.1321F329@telinco.co.uk> Karl Ramberg wrote: > > Also look at > http://squeak.heeg.de:8080/FAQW9PFC7722LKP8L1CUKS5C7ZDH6MZ > for WysiTeX, a WYSIWYG TeX editor for VisualWorks smalltalk. Thanks Karl. I'll take a peek. If it's portable it could be a big step towards a Squeak version of LyX. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From Dan at SqueakLand.org Thu Jun 7 02:15:07 2001 From: Dan at SqueakLand.org (Dan Ingalls) Date: Sat Jan 28 04:49:44 2012 Subject: A Graphics Guru Challenge... In-Reply-To: References: Message-ID: > This post is for the graphics guys here in SqueakVille. I have a small >problem regarding WarpBlt. Can anyone think of a way to draw a source >rectangle from one Form, onto an arbitrary quadrangle of another? This has >been asked before, and i remember a few suggestions, yet none of them really >solved it. Hi, Ali - Yes, you can do this... within reason. First, the transformation from a quadrangle to a rectangle is an affine transformation. Once you know this, you can compute the affine transformation you desire, apply its inverse to the destination rectangle that WarpBlt requires, and you will then have the quadrilateral that you need to use on the source. Ted Kaehler wrote an affine transformation for exactly this reason shortly after I wrote WarpBlt, and I think it bounced around this list for a while. In my opinion, we should put it in the release with a simple example, just to save the periodic discussion. Anyway, I attach here the only relevant file I could find on my disk, but it should get you most of the way there, since it ends with a method called... copyRect: sourceRect toQuad: destQuad Someone else may have a more polished take on this. Enjoy, and we'll work on putting this into the system. - Dan -- -------------- next part -------------- A non-text attachment was scrubbed... Name: AffineStuff-tk.cs.gz Type: application/mac-binhex40 Size: 1799 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010606/489f4bef/AffineStuff-tk.cs.hqx From jeaton at trentu.ca Sat Jun 2 00:57:15 2001 From: jeaton at trentu.ca (jack) Date: Sat Jan 28 04:49:51 2012 Subject: building a simple app with "active" gui in squeak? Message-ID: <3B1839E8.E49417C4@trentu.ca> hi, i am a 3rd year computer studies student at university in canada. i am in a summer course right now doing a 3 person group project to create a prototype for degree planning and academic advice software. i have attached a small .jpg that shows what we are trying to achieve (it shows the project in a web browser, but that is not essential). i have been reading about squeak and playing with the demo projects a little bit for maybe 2 weeks, and am now eager to try and use it more powerfully as an idea processor but don't know where to begin. someone suggested smalltalk for wrapping my head around what oo really is, and i chose squeak. i have just spent the day with self 4.1 (mac) because i read that would help with morphic but i didn't make much progress there either. the rest of my group wants to do this project in visual basic, and i wanted to try and get it done in squeak before the end of the weekend, so that we would have to resort to vb at all... and i could get some good experience with squeak. here is a textual description of our functional requirements [see the diagram for more clarity]: the student shall be presented with a grid. there shall be four columns, one to represent each year of an undergraduate degree. there shall be 5- rows, and each box in the grid will represent a course. for example: 100, 122, 205, etc. there are two features that comprise the desired core functionality: i) active gui: the initial state of the grid will be as follows: courses for which no prerequisites are required shall be yellow. courses for which the student lacks the appropriate prerequisite shall be red. once the student clicks on any given course, signifying that he/she has taken that course, or would like to see the effects of taking that course it shall turn green. upon any course turning green, indicating successful completion of that course and therefor its eligibility as a prerequisite, any courses for which that newly green course alone or another combination of previous green courses with that new green course shall turn from red to yellow to indicate their availability. this is mostly an exploratory way for the student to visualize the relationships between courses in a single major. after indicating all of the courses he/she has completed and pressing the "process" button the student shall receive ii) suggestion screen the software must be able to store the courses that the student has taken and sort them against a list of the required courses for their major. the suggestion screen shall provide the student with a written indication of the courses he/she should take to complete the degree. ---------------------------- ideas so far: i think that the active gui will have something to do with embedding morphs inside of each other, the buttons will go on top of rows or columns? i was in self all day, so i don't know how similar the squeak morphic is yet. i don't know how to implement that [to me] complex behaviour where the other buttons would all change the appropriate color in any language.... not a clue. we were thinking that the gui state could be translated somehow into an array of courses taken and then sorted against an array of courses required or something like that, or maybe using an orderedcontainer or bag? then some simple text processing could transform that container into english sentences? i would greatly appreciate any and all suggestions... i have been reading some of the broad kind of context level papers on smalltalk and squeak and i like the vision and goals much more than visual basic... besides i don't even have a pc so it would be hard for me to do any meaningful [all night] work on that platform. i think that these days it is irresponsible to develop in any language that is not ported to at least 3 hardware platforms anyway. lastly, please cc your responses to me directly at jeaton@trentu.ca, as for some reason the list server won't send me the list traffic. *big* thanks in advance, jack eaton trent university canada -------------- next part -------------- A non-text attachment was scrubbed... Name: ape2.jpg Type: image/jpeg Size: 60654 bytes Desc: Unknown Document Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010601/fc8fcf85/ape2.jpg From Brent.Pinkney at reuters.com Thu Jun 7 08:31:47 2001 From: Brent.Pinkney at reuters.com (Brent Pinkney) Date: Sat Jan 28 04:49:51 2012 Subject: Refactored Date and Time Classes Message-ID: Hi, I have updated my refactoring and added a page http://minnow.cc.gatech.edu/squeak/1871. Cheers Brent ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. From ducasse at iam.unibe.ch Fri Jun 15 15:08:48 2001 From: ducasse at iam.unibe.ch (Stephane Ducasse) Date: Sat Jan 28 04:50:28 2012 Subject: ESUG 2001 In-Reply-To: <200106151320.QAA02183@mailgw2.netvision.net.il> Message-ID: hi richie we will be there since we organize it: roel, stephane and joseph john sarkela should be there and Craig Latta too The person that implemented pooh will be there too. on 6/14/01 11:31 PM, danielv@netvision.net.il at danielv@netvision.net.il wrote: > I'll be there. > Am I really the only reply or are we losing mails, or what? > > Daniel > > core.lists.squeak@core-sdi.com wrote: >> Hi! >> >> who is planning to attend ESUG this august? >> http://www.esug.org/summerschools/2001_Essen/programme-2001.html >> >> Traveling Bye! >> Richie > From lex at cc.gatech.edu Sat Jun 23 17:17:36 2001 From: lex at cc.gatech.edu (Lex Spoon) Date: Sat Jan 28 04:50:34 2012 Subject: Good interfaces gone bad References: Message-ID: "Noel J. Bergman" wrote: > > it's natural to pop an #asFoo method into String to make converstion > convenient > > If String>>as was taken any further than it is (and ideally a few of them > should be moved), it would be a good example of a bad implementation > pattern. It increases the surface area of String, coupling it to more and > more classes. > > Instead, X>>fromString: would serve the exact same purpose, semantically > represent the encapsulated behavior in the proper place, and leave the > surface area of String at a minimum. > > For example, could one seriously suggest that "Color fromString: '#FFCCAA'" > is unclear or inconvenient compared to '#FFCCAA' asColor", or that it would > be worth polluting the String interface for the perceived convenience, were > someone so inclined? > > Don't focus too much on String. String is just an example, inspired by the > "it's natural" comment above, but the point is that it should not be a > responsibility of String to convert itself to/from the myriad of other > objects. And if something isn't an object's responsibility, it shouldn't be > in the interface. > > And when did we get away from the notion of responsibility, anyway? > Maybe it shouldn't be the *responsibility* of a string to compute the represented integer, for example, but on the other hand isn't it natural for a string to *know* how to do this? String is widely used to represent of integers, after all. In fact, the reason I *like* Smalltalk, as opposed to merely finding it useful, is that objects have the common sense that I'd mentally attribute them. A Point just knows how to find its distince from the origin. A string knows how to convert itself to an integer. Really, once objects know how to print themselves, it's downhill from there. If you think string shouldn't have a conversion to colors, then why should it have a conversion to a printed representation, either? And what about #== -- isn't this a VM feature, which thus should be somewhere like SystemDictionary? Overall, I prefer to locate methods by deciding what things an object would reasonably know how to do. I want to avoid micromanaging which class is supposed to perform which operation. (Though I draw the line when the convenience leads to ambiguities--e.g., Object>>do:.) It's true that I often have the same functionality in two different methods -- e.g. #asUrl and #absoluteFromText: -- but similarly, if I walk into an office building and ask the wrong person to help me, they will frequently forward me to the right person. I don't think this is a bad thing. Now, something I'd agree with is that #asColor should be in a separate *module* from, say, String>>at:. #asColor should be in a Color module, and #asUrl should be in a URL module. Commercial Smalltalks allow you to do this, even if Squeak doesn't really support it. By the way, I have a separate problem with "#asColor": it can mean different things. In fact, my first two guesses about it were wrong. I guessed that the string would hold either a Color's printString, or a comma-separated list of *decimal* RGB values. Instead, it appears to be decoding HTML's color representation. Thus, I'd much rather it be #asColorFromHTML. Note that integers and URL's don't have this problem, at least with *my* first guesses about the representation. And finally, don't knock the convenience of these #asFoo methods. Philosophy aside, I'm sure it's the brevity that influences a lot of people to make and use these methods. -Lex From bparsia at email.unc.edu Fri Jun 22 14:04:06 2001 From: bparsia at email.unc.edu (Bijan Parsia) Date: Sat Jan 28 04:50:34 2012 Subject: Morph selectors size -> 924 In-Reply-To: <3B32E686.500F45EE@acm.org> Message-ID: On Thu, 21 Jun 2001, Michael Rueger wrote: > Stephane Ducasse wrote: > > > > Thanks for exactness > > > > I did not check this one! But My intention was to show the impact of been > > free to extend class (which I like) in a uncontrolled manner. > > > > > While I too like classes that are small enough to understand, > > > this specific claim is untrue. String>>asHtml uses only Collection > > > methods. The HtmlEntities table it refers to lives in String. > > Which you still did. If your application does not use HTML, what do you > need a HTMLEntities table in String for. Well there's a difference in having a method that couples two classes (or a class and a small group of classes) together and having methods that one may not use, plus a small amount of associated data, in a class. The table is around 100 entries of short strings to characters. I'm not bugged by that bloat ;) Yes...I know...it's not any *one* chunk of fat, it's that once you've tasted *one* the urge for more and more is strong and then everybody's doing it anyway and what's one more and you end up with a huge mound of uncontrolled blubber melting all over the place!!! So there is an impact of #asHtml, but it's not *that* big. The main problem with it, as far as I can tell offhand, is that it's not a very good method :) Kind of awkwardly named, not very often used, doesn't solve or easily point the way to solving, the general issue of entities and encodings... But lets take another example of a String>>asFoo method (after all, String is vulnerable this way, there being a lot of String representations of various sorts of objects so it's natural to pop an #asFoo method into String to make converstion convenient): String>>asUrl. Now *this* method couples String to some other classes (the Url hierarchy, in fact). I tend to use it since I've found it a bit easier to use than Url absoluteFromText: 'http://www.foo.com/'. Ok that's not the happiest selector, but even Url readFrom: 'http://www.foo.com/' doesn't seem so great. Hard to say. I could get used it, I suppose. Perhaps a better way would be to have a generic readTable that classes could register with when they have string parsing/writing methods. ANYway, my point is that there are a lot of things to trade off. One thing I'd generally *not* like to trade off is the richness of the environment. I'll take a bit of bloat for that. (And of course, bloat can stifle fecundity, so dealing with it sensibly is necessary) Cheers, Bijan Parsia. From johnmci at smalltalkconsulting.com Thu Jun 28 03:18:30 2001 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat Jan 28 04:50:41 2012 Subject: Very slow performance on faster machine In-Reply-To: <006001c0ff6e$22da6f40$0201a8c0@honda> References: <3B39594C.D5A2E22C@telinco.co.uk> <2a1f02914a.rowledge@goldskin.stcla1.sfba.home.com> <3B397236.B69FB393@telinco.co.uk> <006001c0ff6e$22da6f40$0201a8c0@honda> Message-ID: >Thanks, everybody. I will check into some of these suggestions when I get to >the office, tomorrow. > >Off the top of my head, my office PC is quite a workhorse on everything >except Squeak. I.e., on most stuff, it is quite fast. > >I did just get a new bank of memory installed about two months ago, and the >stuff that was the reason I was doubling the memory (Oracle database >administration apps written in Java) ran much faster after adding the new >memory. > >There is plenty of free disk space on the machine, and plenty of swap space. > >I defrag the disk, regularly (at least monthly, sometimes more). > >And the Squeak installation is very recent. Everything seems to work, >correctly, except for the sluggishness. Also, I just used the "1 factorial" >as an example (a real one, though) - everything I try to do in Squeak is >very slow. > >Being an Oracle DBA, I am a tuner, by nature. If my PC were generally that >slow, I would have fixed it a long time ago. I'd look at how much memory squeak has free to use. Invoke help menu, VM statistics and report back with the info. If you run squeak with very little free space then it tends to do a full GC, versus being able to do incremental GC work. (2) based on the image foot print and the type of GC work it is doing are you runnning into a paging issue? Smalltalk memory typically isn't very localized and a full GC touches all pages so if you do have paging going on as part of your normal minute to minute activity then you might be doing dozens of page faults per second. -- -- =========================================================================== John M. McIntosh 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== From G.J.Tielemans at dinkel.utwente.nl Wed Jun 13 18:54:56 2001 From: G.J.Tielemans at dinkel.utwente.nl (G.J.Tielemans@dinkel.utwente.nl) Date: Sat Jan 28 04:50:57 2012 Subject: Text of "... Leaving Disney ..." Message-ID: <0A86973A0847D4119E1B00508BAD3040B7DA78@civntex1.civ.utwente.nl> All I can offer is mental support: "Let the fun of Squeak beat that ugly money!! -----Original Message----- From: Dan Ingalls [mailto:Dan@SqueakLand.org] Sent: woensdag 13 juni 2001 18:58 To: squeak@cs.uiuc.edu Subject: Re: Text of "... Leaving Disney ..." >It's embarassing, guys, to have to get the details of Squeak news in the New >York Ttimes. On the other hand, things are picking up to the point where the >details would actually be in the New York Times. :-) Folks - Thanks, John, for the alert, and Jerry for forwarding the complete text. I'm sure you all can appreciate that there is a certain political component to changes such as this. It seemed appropriate to be quiet about the details of our transition, until Alan had a chance to make a public statement about it, such as the interview with John Markoff. The exact details of our next phase have not been nailed down, but you can be sure that we are staying together we are more than ever in control of our own destiny we value the entire Squeak community we will continue to share our work actively and openly. A number of exciting possibilities are on the horizon, but right now, we're just trying to get some work done after all the excitement of casting off. We'll do our best to keep you informed, but we hope you'll see the upside if it appears in the Times. - Dan, for SqC -- From Brent.Pinkney at reuters.com Thu Jun 28 17:07:39 2001 From: Brent.Pinkney at reuters.com (Brent.Pinkney@reuters.com) Date: Sat Jan 28 04:51:05 2012 Subject: [ENH] Class Extensions Message-ID: Hi, In an attempt to make more Squeak more modular I have implemented a Extensions class similar to those found in VisualAge. This is my first cut I have the gall to publish. 1. Concept ---------- We can define methods in system categories different to the one in which the class is defined. These methods can then be installed and deinstalled. 2. Architecture --------------- For now I have made Extension a subclass of ClassDescription to inherit all the methods used by Browser. ie ProtoObject Object Behavior ClassDescription Class Metaclass Extension 3. Look and Feel ---------------- New extensions are defined in the Browser as such: Smalltalk extend: #String category: 'Kernel-Numbers' The extension then appears in the browser as: String (extension) As this point methods can be added and removed as normal. These methods cannot be used until they are installed. 4. Workspace ------------ 4.1. The extensions of a class can be found by evaluating: String extensions. 4.2 Just as the printString for a class or metaclass class can be evaluated to return the object, so the printString for a class can be evaluated to return the printString instance. String extensions first -> String extensionIn: 'Kernel-Numbers' 5. Filein/FileOut ------------------ An extension can be filed in and out as a .st file. Currently ChangeSets are not supported. Advice would be appreciated. 6. ToDo ------- 6.1. I have not yet decided how to support extension methods for the class side of a class. Advice appreciated. 6.2. Support for ChangeSets is missing. 6.3. Support to refactor existing classes into extensions. Scripts, etc. 6.4. What to do about ImageSegments. Advice appreciated. 6.5. Removing the extension from the image. 6.5. General enhancements. 7. Samples ---------- 7.1 The Extensions change set. 7.2 A file out of an extension to String. File it in and try to evaluate: 'foo' asNil. Now browse category 'Kernel-Numbers'. You will see the exntesion in the class list. Select the install menu option. Now try 'foo' asNil. Voila ! 8. Advanced ----------- For elegance and symmetry with the definition string for an extension, modify Preferences>>#printDefinitionInEnvironment to return true. Now browse classes defined in the environment (Smalltalk). It is time. 9. Comments ----------- I have always thought that extensions were one of the most useful and elegant features in VisualAge as they encourage terse conversion methods, locality, etc. Having had the dubious priviledge of evaluating C#, I predict that one day C#/Java/C++ et al. will introduce extensions into the language and claim it as the New Greatest Thing. eg. namespace acme.stuff { extension System.string { public object toNil() { return nil; } } } To the masses, Java pretended garbage collection was an innovation, Javascript suggested dynamic typing was new; let nail this one please. PS. I will be back on Monday to reply. Cheers Brent (See attached file: Extensions.46.cs) (See attached file: String (extension).st) ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. -------------- next part -------------- A non-text attachment was scrubbed... Name: Extensions.46.cs Type: application/octet-stream Size: 30525 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010628/c4f05b19/Extensions.46.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: String (extension).st Type: application/octet-stream Size: 270 bytes Desc: not available Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010628/c4f05b19/Stringextension.obj From noel at devtech.com Fri Jun 22 02:41:04 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:51:22 2012 Subject: StrongARM JIT? In-Reply-To: <025e618e4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: > Ah but look at the directly relevant COPYING file in ..... err > which isn't there anymore. Oh goody. <> I *did* look for it, especially after you said it was there. Now go download it before it comes back. ;-) > Guess that means I can add another item to my to-do list. If you post it, I'm sure there would be plenty of volunteers to help you prioritize it. ;-) Gee, 4x improvement in Morphic or a Jitter? Choices, choices ... personally, I'm guessing that the J3 benefits will the higher of those two. --- Noel From noel at devtech.com Wed Jun 20 17:25:06 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:51:36 2012 Subject: documentation requests? In-Reply-To: <691dad8d4a.rowledge@goldskin.stcla1.sfba.home.com> Message-ID: >> With respect to Morphic internals, Tim Rowledge recently implied that >> perhaps he'd go back inside it, and address the performance problems. >Woah there guys! I'd really like to attack this but it isn't going to >happen any time soon (unless somebody actually employs me and includes >it as one of my jobs) I said "implied" and "perhaps," not "committed." :-) Which I think is a fair interpretation of your comment "Hmm, time to get some work done on making morphic a bit [less] lethargic methinks. It really shouldn't be much slower for common cases." > actually, documenting the morphic internals might be a useful way to > _find_ many of the places that could be attacked. Anything that gets Morphic running comparable to MVC in performance is a good thing. --- Noel From dway at riskmetrics.com Sat Jun 30 03:46:32 2001 From: dway at riskmetrics.com (doug way) Date: Sat Jan 28 04:51:44 2012 Subject: Out of space + other flakiness In-Reply-To: <200106300157.VAA27620@fellspt.charm.net> Message-ID: <200106300353.UAA25183@scaup.mail.pas.earthlink.net> You may also want to assign more memory to Squeak when you run it. There's an item on the Squeak FAQ ( http://minnow.cc.gatech.edu/squeak/squeakFaq ) which explains how to assign more memory to Squeak upon startup... it varies depending on your platform. - Doug Way dway@riskmetrics.com On Friday, June 29, 2001, at 09:57 PM, Bob Arning wrote: > On Fri, 29 Jun 2001 16:13:41 -0700 Ross Boylan > wrote: >> I've hunted around for tools >> or convenience methods that would give me a more complete picture of >> object memory--all I have now is the # free bytes ( '1,148,708 bytes >> available'). I'd like to know how much memory it thinks its using, >> the amount each class's instances are taking and such. > > Ross, > > Try > > Smalltalk spaceTallyTo: 'somefile.txt'. > or > Smalltalk printSpaceAnalysis: 1000 on: 'STspace.text0'. > > BTW, 1.1 meg free is not a lot. > > Cheers, > Bob > From Joern.Eyrich at brokat.com Fri Jun 29 16:37:12 2001 From: Joern.Eyrich at brokat.com (Joern Eyrich) Date: Sat Jan 28 04:51:49 2012 Subject: BankAccount Tutorial References: <3B3C9B9D.BA2BFAC3@riskmetrics.com> <3B3CA175.87750A5A@brokat.com> <3B3CA7B9.8115E484@riskmetrics.com> Message-ID: <3B3CAEB8.E731116@brokat.com> Doug Way wrote: > Cool. Still, the problem remains that most people will go look at the out-of-date one on www.squeak.org. Maybe that one could point to the Swiki instead. (on the other hand, sometimes it's nice to have a more stable tutorial maintained on a non-Swiki page... but then again, if it's not maintained... :) ) Exactly! I volunteer to correct things like these that are brought up on the list, if someone gives me an account. > Speaking of the Swiki, is the new look related to it moving to a Linux box, or is it still running on a Mac? Also, I tried to edit the tutorial page that Joern copied, and it wouldn't let me edit the text, but there was no indication that it was read-only. Are certain colored pages read-only? when I try to telnet to minnow, it says it's an i686 running Read Hat 7.1. I also had the problem that Netscape (4.7 Win32) wouldn't let me edit it. It seems it is limited to 30000 characters in the text edit box, and the tutorial is slightly larger. IE (5.5) doesn't have that problem (and lets you search for text in the edit box...) From Alan.Kay at squeakland.org Mon Jun 18 14:08:22 2001 From: Alan.Kay at squeakland.org (Alan Kay) Date: Sat Jan 28 04:51:53 2012 Subject: A Graphics Guru Challenge... In-Reply-To: References: Message-ID: At 9:22 PM -0400 6/17/01, Sam Adams wrote: > >"Duane Maxwell" is widely believed to have written: > >>> I stand corrected - you're right. What you can't do it use a simple >linear >>> interpolating 2D texture mapper (like WarpBlt) to correctly map a 3D >surface >>> in perspective. >>> >>Ah, well that would be after my time in the 3D graphics world. Back then >>we just dreamt of machines that would do a thousand polygons a seconds >>in plain colours. >> >>tim > >Colour! You had colour? Luxury! ;-) > >I still think BitBlt (even plain ol' black and white) is the coolest. >Thanks, Dan. >I'm a pretty imaginative guy, but its hard to imagine Squeak running on a >Tektronix DVST (Direct View Storage Tube)! Well, everything was slower then! > >Better Living Through Pixels, >Sam > >Sam S. Adams, IBM Distinguished Engineer, IBM Research >tie line 444-0736, outside 919-254-0736, email: ssadams@us.ibm.com ><> -- From jhinsley at telinco.co.uk Mon Jun 4 07:45:25 2001 From: jhinsley at telinco.co.uk (John Hinsley) Date: Sat Jan 28 04:52:03 2012 Subject: Odd interaction between Gvim and Squeak References: <3B1AF65A.6C445C59@telinco.co.uk> <01060323341501.18145@ned.bike-nomad.com> Message-ID: <3B1B3C95.29FFC10F@telinco.co.uk> Ned Konz wrote: > > You're lucky to have copying/pasting working at *ALL*. I can't get it to work > (there's something broken between Squeak and kwin). Ah. Perhaps, then, I should document my success!!!!? ;-) I'm running a pretty bog standard SuSE 6.4 (with bug fixes), and a built from source Gvim 5.4 (really ancient, but it's so reliable that I won't bother upgrading until I go to SuSE 7.2 and then, the version that SuSE put together will doubtless be horrible). So I've got the versions of XFree and Kde which shipped with the distro. Like I say, the only program which appears to have problems with Squeak's clipboard is Gvim. And I've just found a way round that (which is even more puzzling): if I copy straight from Squeak to Gvim, I get the missing first character, but any copying operation on Kde can leave a copy on Klipper (a sort of clipboard which goes part way to answering the clipboard as metaphor problem in that it doesn't overwrite itself -- shame it can't take bitmaps) if I re-activate the copy by clicking on the entry in Klipper, it pastes fine every time. It's a shame that Squeak can't use the "highlight to copy, middle click to paste" protocol -- it's one of the *nix tricks (although I'm told that Sun does things rather differently) that saves me most time and which I miss when I'm forced to work on other OSs. This is on 3.1a #4081 with a fair few nk bits. Cheers John -- ****************************************************************************** Marx: "Why do Anarchists only drink herbal tea?" Proudhon: "Because all proper tea is theft." ****************************************************************************** From noel at devtech.com Sun Jun 3 19:03:00 2001 From: noel at devtech.com (Noel J. Bergman) Date: Sat Jan 28 04:52:08 2012 Subject: Squeak for iPAQ In-Reply-To: Message-ID: Marcel, That's very interesting. Do you recall what the interactions were, and the solutions? --- Noel -----Original Message----- From: Marcel Weiher [mailto:marcel@metaobject.com] >> there may be an unexpected interaction between Windows CE and event >> processing. > > That would impact Morphic but not MVC? Very possible. I saw some pretty nasty interactions between Morphic + the new event handling code and MacOS-X's event system that made a 233 MHz G3 pretty much unusable in Morphic, though everything was fine in MVC. From k.perry at ix.netcom.com Mon Jun 25 17:01:16 2001 From: k.perry at ix.netcom.com (Ken Perry) Date: Sat Jan 28 05:00:05 2012 Subject: unscribe Message-ID: <3B376E5C.FD1A5DD7@ix.netcom.com> I've enjoyed the mail list but no longer have time to keep up with it. Thanks, Ken