[Newbies] Re: Smalltalk Data Structures and Algorithms

2009-07-29 Thread Klaus D. Witzel
On Wed, 29 Jul 2009 16:57:22 +0200, David Mitchell wrote: I don't think there is a misunderstanding. There is disagreement. You don't correct disagreement. Alan Kay feels his influence was from biology (and other things, including LISP). Richard finds flaws in the analogy. No

[Newbies] Re: [Q] Best way of doing ...

2009-05-06 Thread Klaus D. Witzel
On Tue, 05 May 2009 15:29:30 +0200, Edgar J. De Cleene wrote: People: I need a way for two collections of different size could be tested for all elements in both. A quick and dirty (a prototype) is, to put both into the same new IdentitySet (or set, depends on your #=) and then just

[Newbies] Polymorph (formerly UIEnhancements) [was: Squeak Guilt]

2008-12-17 Thread Klaus D. Witzel
On Tue, 16 Dec 2008 21:43:41 +0100, Claus Kick wrote: Klaus D. Witzel wrote: On Tue, 16 Dec 2008 20:50:58 +0100, Claus Kick wrote: Mark Volkmann wrote: That sounds great for applications with a web interface, but I wish there was a more attractive, easier way to do the same thing

[Newbies] Re: [OT] If programming languages were religions...

2008-12-17 Thread Klaus D. Witzel
On Wed, 17 Dec 2008 20:50:09 +0100, Edgar J. De Cleene wrote: On 17/12/2008, at 15:17, Klaus D. Witzel wrote: [... then] Smalltalk is the ancient Egyptian religion. The Initiated know it already had all the important concepts working long ago and most popular modern languages

[Newbies] Re: Squeak Guilt

2008-12-16 Thread Klaus D. Witzel
On Tue, 16 Dec 2008 20:50:58 +0100, Claus Kick wrote: Mark Volkmann wrote: That sounds great for applications with a web interface, but I wish there was a more attractive, easier way to do the same thing with Squeak-based non-web applications. I think that is mainly a problem of Squeak

[Newbies] Re: A browser for the WordNet lexical db in Smalltalk, anybody?

2008-12-12 Thread Klaus D. Witzel
Hi Steve, on Fri, 12 Dec 2008 03:07:34 +0100, you wrote: On Thu, Dec 11, 2008 at 10:03 AM, Klaus D. Witzel wrote: Hi Steve, on Thu, 11 Dec 2008 11:44:57 +0100, you wrote: Hi Klaus, This is a great idea! I'll be glad to test anything you create. :) Unfortunately I don't have any time

[Newbies] A browser for the WordNet lexical db in Smalltalk, anybody?

2008-12-10 Thread Klaus D. Witzel
Hi list, has anyone started with/plans for a browser for a WordNet lexical db in Smalltalk? I checked their Prolog formatted files, - http://wordnet.princeton.edu/obtain actually read them into a Squeak .image; they need only a handful of memory MB (7.5, strings as yet not symbolized) plus

[Newbies] Nothing much [was: what is holding back Smalltalk?]

2008-11-21 Thread Klaus D. Witzel
On Fri, 21 Nov 2008 00:02:47 +0100, Mark Volkmann [EMAIL PROTECTED] wrote: I don't have a lot of experience with Smalltalk yet, but I really love what I've seen so far. I'm curious what experienced Smalltalkers see as some of the reasons why it doesn't attract more attention. Me thinks

[Newbies] Re: Nothing much [was: what is holding back Smalltalk?]

2008-11-21 Thread Klaus D. Witzel
On Fri, 21 Nov 2008 21:23:13 +0100, Claus Kick wrote: Klaus D. Witzel wrote: Me thinks that the Smalltalk community is healthy and vibrant--it is just a community form one would not expect for Ruby or Python or Perl, etc. To get impression of my impression take a look at what *actually

[Newbies] Re: Binary file I/O performance problems

2008-09-03 Thread Klaus D. Witzel
Hi David, let me respond in reverse order of your points: I find it troubling that I am having to write code below the abstraction level of C to read and write data from a file. I thought Smalltalk was supposed to free me from this kind of drudgery? Right now, Java looks good and Python/Ruby

[Newbies] Re: if absent put nil (Riaan)

2008-08-06 Thread Klaus D. Witzel
On Wed, 06 Aug 2008 13:47:39 +0200, Riaan van Aarde wrote: I have the following code renderAttendeesOn: html self workSession attendees do: [:each | html text: each person displayString] separatedBy: [html text:'; '.] if there is no attendees for my

[Newbies] Re: Another extension proposal - subsets

2008-07-24 Thread Klaus D. Witzel
On Thu, 24 Jul 2008 18:27:48 +0200, Cedrick wrote: or withNicolas suggestion: SetasPowerset | subset | subset := (OrderedCollection new: (2 raisedTo: self size)) add: Set new; yourself. 1 to: self size do: [:subSize | don't copy anymore

[Newbies] Re: Proper object removal

2008-06-04 Thread Klaus D. Witzel
On Wed, 04 Jun 2008 09:55:11 +0200, Norbert Hartl wrote: On Wed, 2008-06-04 at 00:04 -0400, Rob Rothwell wrote: Hello, After much help already, I think I need some training in proper object removal. When my application creates an object and stores it in an OrderedCollection, and than wants

[Newbies] Re: Proper object removal

2008-06-04 Thread Klaus D. Witzel
On Wed, 04 Jun 2008 12:12:59 +0200, Bert Freudenberg wrote: On 04.06.2008, at 10:32, Klaus D. Witzel wrote: On Wed, 04 Jun 2008 09:55:11 +0200, Norbert Hartl wrote: The objects are still referenced in the collection you get from self selected. The line with each := nil is useless as each

[Newbies] Re: Proper object removal

2008-06-04 Thread Klaus D. Witzel
On Wed, 04 Jun 2008 15:20:05 +0200, Rob Rothwell wrote: On Wed, Jun 4, 2008 at 8:41 AM, Klaus D. Witzel wrote: {'this ', 'and ', 'that'} collect: [:each | ]. Smalltalk garbageCollect. {thisContext tempAt: 1} inspect first line: create some object and make a temp var point to it. second line

[Newbies] Explorer and MessageTally [was: remembering variables]

2008-06-03 Thread Klaus D. Witzel
On Tue, 03 Jun 2008 05:57:48 +0200, peter h meadows wrote: Ah. Well, more often than not the variables in my code stay as one 'type' of thing. And I thought that generally they would otherwise things would get really confusing!? For this part of your question use Squeak's explorer. Try

[Newbies] Re: Does create class prompt on save actually record to the changes file?

2008-05-14 Thread Klaus D. Witzel
On Wed, 14 May 2008 01:39:24 +0200, Tim M wrote: When I save a method that references a new class, it prompts me if I want to create the class when I save e.g. initialize super initialize. self menuComponent: StMenuComponent new If I let Squeak create the STMenuComponent class, i

[Newbies] Re: squeak 'wysiwyg' application?

2008-04-12 Thread Klaus D. Witzel
On Sat, 12 Apr 2008 20:55:49 +0200, David Goldstrom wrote: Hi, I'm working through a beginner tutorial, and like what I see so far, Welcome David :) but I have a side question... Is there a wysiwyg editor for squeak? I guess I can live without (and use LaTEX outside of Squeak) but it

[Newbies] SoC idea: Futuristic New Browser View

2008-03-08 Thread Klaus D. Witzel
Dear Squeakers, is anybody out there who wants to do a futuristic new browser view during this year's SoC. It's not about the browser itself, this machinery is supposed to be (re-)used from existing browsers. Also, not everything in the futuristic new browser view can be done in the

[Newbies] Re: Old local changes on a new image

2008-02-23 Thread Klaus D. Witzel
On Sun, 24 Feb 2008 03:40:20 +0100, Juan José Evangelista wrote: Hello I'm working on an app hosted in monticello. I made a heavy work on my classes in an image during the last three months. Some days ago, I need to create a new image and load my code from monticello. Everything goes ok,

[Newbies] Re: ordinary #hash and Dictionary [was: Recap: How to empty a collection]

2008-02-21 Thread Klaus D. Witzel
On Thu, 21 Feb 2008 21:44:05 +0100, nicolas cellier wrote: Klaus D. Witzel a écrit : Wouldn't this deserve a longer (Dictionary comment) ? You're right, the invariant is *essential* for Set and its subclasses, alas no word about it in its class comment. Please open a bug report

[Newbies] ordinary #hash and Dictionary [was: Recap: How to empty a collection]

2008-02-20 Thread Klaus D. Witzel
On Wed, 20 Feb 2008 00:59:57 +0100, nicolas cellier wrote: ... I see, become: does exchange #identityHash, and that makes our IdentityDictionary work, god thanks, but there is no such provision for ordinary #hash and Dictionary... But there are sufficient provisions in place, since

[Newbies] Re: is 0.1 a Float or a ScaledDecimal ?

2008-02-20 Thread Klaus D. Witzel
On Wed, 20 Feb 2008 18:27:09 +0100, cdrick wrote: ... I think all this is premature optimization for me :) as I'm only building an early prototype (I'm doing a start of Dempster Shafer Theory [1] implementation (actually Transferable Belief Model)... and it's won't reach a big size for a while.

[Newbies] Re: ordinary #hash and Dictionary [was: Recap: How to empty a collection]

2008-02-20 Thread Klaus D. Witzel
On Wed, 20 Feb 2008 22:12:57 +0100, nicolas cellier wrote: Klaus D. Witzel a écrit : On Wed, 20 Feb 2008 00:59:57 +0100, nicolas cellier wrote: ... I see, become: does exchange #identityHash, and that makes our IdentityDictionary work, god thanks, but there is no such provision

[Newbies] Re: Recap: How to empty a collection

2008-02-20 Thread Klaus D. Witzel
On Wed, 20 Feb 2008 23:05:47 +0100, nicolas cellier wrote: Klaus D. Witzel a écrit : On Wed, 20 Feb 2008 02:01:49 +0100, nicolas cellier wrote: Some proposed an alternative based on (self removeAll: self), and started writing optimized versions of #removeAll:. No, (anOrderedCollection

[Newbies] Re: Re: How to empty a collection?

2008-02-19 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 17:21:57 +0100, Klaus D. Witzel wrote: On Tue, 19 Feb 2008 16:56:48 +0100, cdrick wrote: Or maybe, if aCollection == self, a warning could be raised ? What do you think ? Thumbs down, I do not want anybody copy a collection behind my back (however small or large

[Newbies] Re: How to empty a collection?

2008-02-19 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 16:06:50 +0100, cdrick wrote: ... I forgot that in my first attemp (and I knew that !)... col := #(1 2 3) asOrderedCollection. col removeAll: col. ^col returns an OrderedCollection(2) col removeAll: col copy is ok. So, following Bert suggestion, would it be possible

[Newbies] Re: Re: How to empty a collection?

2008-02-19 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 16:56:48 +0100, cdrick wrote: Or maybe, if aCollection == self, a warning could be raised ? What do you think ? Thumbs down, I do not want anybody copy a collection behind my back (however small or large it is) just because remove* has nothing to do with copy. Ok,

[Newbies] Re: How to empty a collection?

2008-02-19 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 21:01:14 +0100, nicolas cellier wrote: cdrick a écrit : or again removeAll: aCollection aCollection == self ifTrue: [self removeAll: aCollection copy] ifFalse: [aCollection do: [:each | self remove: each]]. Or maybe, if aCollection

[Newbies] Re: [Squeak 0006937]: removeAll: aCollection doesn't do what we expect if aCollection==self

2008-02-19 Thread Klaus D. Witzel
Hi nicolas, in your counter example you have forgotten that this bug is about failure of removal, but your example does not fail, instead it removes all elements (in Squeak 3.9, where MappedCollection still exists). Can you tell us why? And please only add code to bug reports which does

[Newbies] Re: Recap: How to empty a collection

2008-02-19 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 22:14:49 +0100, Blake wrote: I've been following this debate with some interest, but I think it's gone beyond a noob discussion. Is there a noob answer to this question? There ought to be. I'm sort of leaning toward: Q. How do you empty a collection. A. You don't, you

[Newbies] Re: How to empty a collection?

2008-02-19 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 22:00:09 +0100, nicolas cellier wrote: Klaus D. Witzel a écrit : On Tue, 19 Feb 2008 21:01:14 +0100, nicolas cellier wrote: cdrick a écrit : or again removeAll: aCollection aCollection == self ifTrue: [self removeAll: aCollection copy

[Newbies] Re: Recap: How to empty a collection

2008-02-19 Thread Klaus D. Witzel
On Wed, 20 Feb 2008 02:01:49 +0100, nicolas cellier wrote: ... Bert's suggestion is simple and works well. The only question is about efficiency. Up to (Down to?) subclasses to optimize it. Some proposed an alternative based on (self removeAll: self), and started writing optimized versions

[Newbies] Re: Questions about primitives - how to avoid one ?

2008-02-18 Thread Klaus D. Witzel
Hi C'edrick, on Mon, 18 Feb 2008 01:10:41 +0100, you wrote: David T. Lewis wrote: If you comment out the primitive like this is should definitely work: If I comment out the primitive, in Float= ... and put a self halt after, the halt point has no effect. This is correct, both your

[Newbies] Re: How to empty a collection?

2008-02-18 Thread Klaus D. Witzel
On Tue, 19 Feb 2008 02:35:34 +0100, Marcin Tustin wrote: Isn't Cedrick's aida solution going to be significantly faster? No, solutions based on #become: are the slowest possible. The VM has to sweep the whole memory, for all variables in the system, to find all references during #become:,

[Newbies] Re: block in recursion, Any cure for that kind of situation?

2008-01-23 Thread Klaus D. Witzel
Hi Hilaire, on Wed, 23 Jan 2008 09:49:07 +0100, you wrote: Le mardi 22 janvier 2008 à 22:16 +, Marcin Tustin a écrit : I'm an idiot. That doesn't work either. Why not? Because still nested, I guess. Anyway I want to use that for teacher to design programmaticaly interactige geometry

[Newbies] Object copyFrom: [was: Object clone]

2008-01-15 Thread Klaus D. Witzel
Hi Jakub, on Tue, 15 Jan 2008 18:29:53 +0100, you wrote: yeah a, b instance of same class and i want copy all instance variables values to a i want do a := b but i dont want to a is same object as b. In memory will be two objects a, b with same values .. If you mean to have class Person and

[Newbies] Re: Switching between Browser views in the middle of (incomplete) edit - advice?

2007-12-09 Thread Klaus D. Witzel
Hi Sophie itsme213, have you tried alt-o which spawns a method browser on the partly-edited code and unlocks the main browser. /Klaus On Sun, 09 Dec 2007 00:50:10 +0100, itsme213 wrote: I frequently start to edit a method, then realize I need to look at or change something elsewhere. The

[Newbies] Re: Linux and Squeak server help

2007-11-06 Thread Klaus D. Witzel
:) /Klaus On Tue, 06 Nov 2007 12:54:32 +0100, Edgar J. De Cleene wrote: El 11/6/07 8:25 AM, Klaus D. Witzel escribió: From your resume I assume you have Squeak on Linux running in a desktop environment. Yes So in Squeak on the Linux desktop, copypaste the following into a workspace (I

[Newbies] Re: Save project thumbnail as image

2007-09-30 Thread Klaus D. Witzel
Hi Juliano, you can try the following expression (in a browser or a workspace) World asSnapshotThumbnail openInWorld and if that's what you wanted then find out what #asSnapshotThumbnail does. HTH. /Klaus On Sat, 29 Sep 2007 20:49:41 +0200, Juliano Bittencourt wrote: Hi everybody,

[Newbies] Re: Traits

2007-09-25 Thread Klaus D. Witzel
Hi Nick, on Tue, 25 Sep 2007 02:00:50 +0200, you wrote: Armed with new knowledge of Traits gained from the excellent Squeak By Example I tried: Smalltalk allClasses select: [:each | each hasTraitComposition] which gave: an OrderedCollection(ActionSequence BalloonBezierSimulation

[Newbies] Re: overwriting #new

2007-07-13 Thread Klaus D. Witzel
Hi Daniel, on Thu, 12 Jul 2007 22:56:22 +0200, you wrote: Hello, I have a class Foo inherited from Object. When I try to create a user defined #new (newFoo), to avoid the #initialize instance method to run as part of the object instantiation, I get the following error: ...

[Newbies] Re: Where is BytecodeGenerator?

2007-06-05 Thread Klaus D. Witzel
Hi Damian, class BytecodeGenerator in the NewCompiler.image ('Squeak3.9 of 7 November 2006'). Download NewComiler.zip from - http://www.iam.unibe.ch/~scg/Research/NewCompiler/ and enjoy. /Klaus P.S. the owner of NewCompiler is not subscribed to this list :| On Tue, 05 Jun 2007 20:55:20

[Newbies] Re: Tracing back objects

2007-05-25 Thread Klaus D. Witzel
On Fri, 25 May 2007 12:18:38 +0200, subbukk wrote: Hi, The following code: CompiledMethod allInstances inject: (CompiledMethod allInstances first) into: [:m :i | i size m size ifTrue: [i] ifFalse: [m]]. gives the largest method as an object. Is there an efficient way to trace back the

[Newbies] Re: string search

2007-04-24 Thread Klaus D. Witzel
Open a workspace and type+select 'My Squeak' without the quotes. Then do a right click, select more ... and one of the 'with it' options. HTH /Klaus On Tue, 24 Apr 2007 07:17:20 +0200, subbukk wrote: Hi, How do I do string searches in Squeak environment? For example, how do I search which

[Newbies] Re: Adding methods to Integers...

2007-04-13 Thread Klaus D. Witzel
On Fri, 13 Apr 2007 13:39:08 +0200, Bert Freudenberg wrote: On Apr 13, 2007, at 13:27 , Klaus D. Witzel wrote: Hi Bert, on Thu, 12 Apr 2007 18:31:55 +0200, you wrote: This is actually wrong. :) Only SmallIntegers are special [*]. What happens is this: When you add two SmallIntegers

[Newbies] Re: Adding methods to Integers...

2007-04-12 Thread Klaus D. Witzel
Hi Patrick, some of the symptoms you describe have to do with a small set of classes being hardwired in Squeak's virtual machine. To see which they are, evaluate (printIt) Smalltalk specialObjectsArray select: [:each | each isBehavior] So when you do primitive arithmethic with your own

[Newbies] PC World: What do you think is the greatest tech product ever?

2007-04-03 Thread Klaus D. Witzel
List, it's time again to tell the world, at the bottom of the list on - http://www.pcworld.com/article/id,130277/article.html there is a radio button which is labelled other followed by a text box in which you can enter Squeak, Smalltalk and any variant you like (and hit the vote button :)

[Newbies] Re: Re: A Question of Style

2007-04-01 Thread Klaus D. Witzel
who lives that role [talk small and create great things]. /Klaus On Sun, 01 Apr 2007 12:05:35 +0200, Stuart Herring wrote: On 4/1/07, Klaus D. Witzel [EMAIL PROTECTED] wrote: Smalltalk With Style makes this very clear. It definitely prefers that I communicate with Vendor in the language

[Newbies] Re: A Question of Style

2007-03-31 Thread Klaus D. Witzel
On Sat, 31 Mar 2007 19:08:08 +0200, you wrote: I've seen the suggestions in other responses to this and I don't like them. Calling everything a setter/getter seems to be J-zeitgeist but, what you have here is a collection of prices, indexed by a symbolic key, rooted at instances of

[Newbies] Re: A Question of Style

2007-03-30 Thread Klaus D. Witzel
On Fri, 30 Mar 2007 18:22:22 +0200, Tim Johnson wrote: Hi, I know the rules for naming accessor and setter methods. But what do I do when the accessor method needs a parameter? I'll try to provide an example. A vendor sells an item called #apple. If I want to get the vendor's price

[Newbies] Re: Re: A do with ONLY index? (plus,. a style question)

2007-02-09 Thread Klaus D. Witzel
Hi Blake, on Fri, 09 Feb 2007 09:15:43 +0100, you wrote: On Thu, 08 Feb 2007 22:58:32 -0800, Klaus D. Witzel wrote: Sure. Evaluate Object halt; new with doIt and then in the debugger, in the DoIt method line push the buttons Through then Into. Aha. Huh. Why doesn't this: ^ self

[Newbies] Re: anObject select: #aMethodName -- is this good Squeak?

2007-02-08 Thread Klaus D. Witzel
On Thu, 08 Feb 2007 10:21:53 +0100, Giovanni Corriga wrote: Il giorno gio, 08/02/2007 alle 07.53 +0100, Lukas Renggli ha scritto: That was one of the things that I originally thought would weigh against this idiom, but found to my surprise that Senders of identified these references

[Newbies] Re: anObject select: #aMethodName -- is this good Squeak?

2007-02-08 Thread Klaus D. Witzel
On Thu, 08 Feb 2007 12:15:34 +0100, Giovanni Corriga wrote: Il giorno gio, 08/02/2007 alle 11.37 +0100, Klaus D. Witzel ha scritto: On Thu, 08 Feb 2007 10:21:53 +0100, Giovanni Corriga wrote: Does it? I tried browsing for senders on a 3.9 image before sending my message, and it didn't work

[Newbies] Re: question on differences between images

2007-01-30 Thread Klaus D. Witzel
Hi Jordi, you could try Transcript show: 'Put 1'; cr; endEntry without anything around it. This should guarantee that something is send to Transcript *and* displayed (#endEntry forces to display things which are as yet not displayed). It is perhaps so that older Squeak does not do

[Newbies] Re: Re: Growing image

2006-11-29 Thread Klaus D. Witzel
Besides of that, you can look for class references and find the guilty who send #new or #new: to one of the classes. /Klaus On Wed, 29 Nov 2006 13:00:59 +0100, Norbert Hartl [EMAIL PROTECTED] wrote: On Wed, 2006-11-29 at 01:52 +0100, Klaus D. Witzel wrote: Hi Norbert, the tool is Smalltalk

[Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Klaus D. Witzel
Hi lanas, there are 4 possibilities which come to my mind: 1 - you're using an image which we don't know, alternately: I can see a message somiliar to your's only if on windows and hit alt-f4. 2 - you're indeed on windows doing alt-f4 then there is a bug 3 - the message says Save changes

[Newbies] Re: Bugging out of Squeak

2006-11-15 Thread Klaus D. Witzel
IC. But then he is correct, the text *must* include three dots Quit ... because there is another step in that particular dialog. Good find. Release-team, please add the three dots to the world menu, thank you. /Klaus On Wed, 15 Nov 2006 15:21:19 +0100, Ralph Johnson wrote: 4 - I cannot

[Newbies] Re: squeak and the jvm

2006-11-10 Thread Klaus D. Witzel
Hi Ben, on Wed, 08 Nov 2006 20:33:49 +0100, you wrote: On Nov 8, 2006, at 12:43 PM, Klaus D. Witzel wrote: Hi Mike, on Wed, 08 Nov 2006 18:13:17 +0100, you wrote: Yes, this is what I was referring to. Hotswapping is sort of there for the jvm. When I use Eclipse, it tries to hotswap

[Newbies] Re: Navigator tab, PUBLISH IT!

2006-11-10 Thread Klaus D. Witzel
Hi Dooright, on the World menu there is a flaps... where you can ask Squeak to show the Navigator flap. /Klaus On Fri, 10 Nov 2006 19:32:21 +0100, Dooright wrote: I'm trying to do the http://www.dmu.com/squeak/sq1.html Learning Squeak tutorial. How do I find the Navigator tab and/or the

[Newbies] Re: Re: Navigator tab, PUBLISH IT!

2006-11-10 Thread Klaus D. Witzel
;-) On Fri, 10 Nov 2006 19:54:07 +0100, Brad Fuller wrote: Klaus D. Witzel wrote: Hi Dooright, on the World menu there is a flaps... where you can ask Squeak to show the Navigator flap. heck, I never saw that before. That's easier. ___ Beginners

[Newbies] Re: squeak and the jvm

2006-11-08 Thread Klaus D. Witzel
Hi Mike, if by more message oriented opcode you mean Gilad Bracha's Invokedynamic opcode - http://www.google.com/search?q=jvm+Invokedynamic this is not sufficient for full Smalltalk/Squeak. Though it may be sufficient for scripting languages (languages in which, usually, types are

[Newbies] Re: squeak and the jvm

2006-11-08 Thread Klaus D. Witzel
: and hotswapping, etc, apply). /Klaus On 11/8/06, Klaus D. Witzel [EMAIL PROTECTED] wrote: Hi Mike, if by more message oriented opcode you mean Gilad Bracha's Invokedynamic opcode - http://www.google.com/search?q=jvm+Invokedynamic this is not sufficient for full Smalltalk/Squeak. Though it may

[Newbies] Re: squeak and the jvm

2006-11-08 Thread Klaus D. Witzel
just one of the two straight forward cases above. /Klaus On 11/8/06, Klaus D. Witzel [EMAIL PROTECTED] wrote: Hi Mike, on Wed, 08 Nov 2006 18:13:17 +0100, you wrote: Yes, this is what I was referring to. Hotswapping is sort of there for the jvm. When I use Eclipse, it tries to hotswap

[Newbies] Re: Beginners questions

2006-11-08 Thread Klaus D. Witzel
Hi Jeff, this is because you post in the HTML format, in which your messages appears quite nice - http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.beginners/1368 But all these mailing lists are run in plain text mode. So perhaps you switch your mail client to plain text

[Newbies] Re: Underscore in 3.9

2006-10-24 Thread Klaus D. Witzel
. Cheers, Andy - Original Message - From: Klaus D. Witzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: beginners@lists.squeakfoundation.org Sent: Tuesday, October 24, 2006 12:12 PM Subject: Re: Underscore in 3.9 Stef Marcus, would it be possible to change all syntaxHighlightingAsYouType

[Newbies] Re: Underscore in 3.9

2006-10-23 Thread Klaus D. Witzel
Hi Ramiro, on Tue, 24 Oct 2006 00:30:23 +0200, you wrote: Hello everyone, I started using the latest 3.9 image and there are no := there :) Only underscores. Even when I write := it turns into _ when I save. I am sure there is a very silly option out there to deactivate this

[Newbies] Re: binary streams, how to

2006-10-22 Thread Klaus D. Witzel
Hi Petr, on Mon, 23 Oct 2006 00:02:28 +0200, you wrote: Hi, which methods shall I use for binary (fast) reads/writes to file (stream)? I need to write Boolean (1byte), Integers (4 or 8 bytes), Floats (?) and Strings into big files, but standard way via storeOn: (text representation) is

[Newbies] Re: problem with big dictionary

2006-10-18 Thread Klaus D. Witzel
Hi Petr, it just passed 1 250 000 here, without the symptoms you describe, on a 1GB WinXP notebook. What platform are you using? /Klaus P.S. I always declare temps explicitly in a workspace, I don't like the possible surprise and also because I want to see the temps when I interrupt

[Newbies] Re: problem with big dictionary

2006-10-18 Thread Klaus D. Witzel
Hi Petr, hm, I think that I've seen that, have a look at - http://bugs.impara.de/view.php?id=4709 Find the word workaround on that page. Perhaps this helps you, too. /Klaus On Wed, 18 Oct 2006 16:04:39 +0200, Petr Fischer wrote: Klaus D. Witzel píše v St 18. 10. 2006 v 15:45 +0200: Hi

[Newbies] Re: problem with big dictionary

2006-10-18 Thread Klaus D. Witzel
Klaus D. Witzel píše v St 18. 10. 2006 v 16:31 +0200: Hi Petr, hm, I think that I've seen that, have a look at - http://bugs.impara.de/view.php?id=4709 Find the word workaround on that page. Perhaps this helps you, too. /Klaus On Wed, 18 Oct 2006 16:04:39 +0200, Petr Fischer wrote: Klaus D

[Newbies] Re: Inserting special characters?

2006-09-17 Thread Klaus D. Witzel
Hi Simon, in Squeak (Smalltalk) everything is always available, especially to developers :) You may want to print this expression (with printIt) Character characterTable Enjoy. /Klaus On Sun, 17 Sep 2006 21:57:27 +0200, Simon Guest wrote: Hi, How do I insert special characters in a

[Newbies] Re: what does Squeak leave out?

2006-09-14 Thread Klaus D. Witzel
On Thu, 14 Sep 2006 18:13:08 +0200, Ramon Leon wrote: Cincom Smalltalk is a 640Meg download. Squeak is a 17Meg download. What's missing from Squeak? Jerry Muelver Bloat ;) More Bloat 8-) ___ Beginners mailing list

[Newbies] Re: error trap

2006-08-14 Thread Klaus D. Witzel
On Sun, 13 Aug 2006 18:31:23 +0200, Damien Cassou wrote: Yes. And, into the other direction, even in good core methods one often finds things like ^ dict at: aKey ifAbsent: [nil] There seems to be a natural confusion between object value and block value. What's the problem with that ?

[Newbies] Re: error trap

2006-08-14 Thread Klaus D. Witzel
On Mon, 14 Aug 2006 10:17:40 +0200, Damien Cassou [EMAIL PROTECTED] wrote: Klaus D. Witzel wrote: For an example try a printIt on ^ true ifTrue: #a ifFalse: [false ifTrue: #b ifFalse: #c] Again, a natural confusion between an object's value and a block's value. - argument of ifTrue

[Newbies] Re: Why hasn't Smalltalk been wildly accepted?

2006-08-11 Thread Klaus D. Witzel
Hi Blake, on Fri, 11 Aug 2006 09:48:58 +0200, you wrote: On Thu, 10 Aug 2006 05:58:54 -0700, Klaus D. Witzel [EMAIL PROTECTED] wrote: On Thu, 10 Aug 2006 14:43:46 +0200, Michael Kohout wrote: When I get home(and if the weather isn't too nice) I play with Squeak. But when I go to work, I

[Newbies] Re: error trap

2006-08-11 Thread Klaus D. Witzel
On Fri, 11 Aug 2006 23:00:03 +0200, stéphane ducasse wrote: Klaus wrote: Yes. And, into the other direction, even in good core methods one often finds things like ^ dict at: aKey ifAbsent: [nil] this is much better. Why do you call failures in understanding things like this better, Stef?

[Newbies] Re: Re: Why hasn't Smalltalk been wildly accepted?

2006-08-10 Thread Klaus D. Witzel
On Thu, 10 Aug 2006 14:43:46 +0200, Michael Kohout wrote: When I get home(and if the weather isn't too nice) I play with Squeak. But when I go to work, I write Java(like a lot of people on this list, I'd imagine). 8-) One of the things that prevents me from even considering it at work is

[Newbies] Re: error trap

2006-08-10 Thread Klaus D. Witzel
On Thu, 10 Aug 2006 17:27:09 +0200, Roel Wuyts wrote: Note: no need for the endEntry when using show: it does it already (see TranscriptStream#show: ) Use a 'manual' endEntry when you would use nextPutAll: or print: etc. on the Transcript (which most people do not use anyway). Right you

[Newbies] Re: error trap

2006-08-10 Thread Klaus D. Witzel
Hi Ron, on Thu, 10 Aug 2006 17:02:11 +0200, you wrote: From: Klaus D. Witzel ... You didn't inspectIt for verifying No I didn't! The { } just looked so wrong and like C! Yes, same for me when I saw that for the first time in Squeak. Never saw that in Smalltalk/2.x (didn't look

[Newbies] Re: error trap

2006-08-09 Thread Klaus D. Witzel
On Wed, 09 Aug 2006 19:59:41 +0200, Brian Murphy-Dye wrote: Ron, another crazy possibility comes to mind when reading your excellent description: making each line it's own block. {[10/0]. [2 raisedToInteger: 1/2]. [-5 raisedTo: 1.5] } do: [:each | [each value] on: Exception do: [:ex |

[Newbies] Re: Re: error trap

2006-08-09 Thread Klaus D. Witzel
On Wed, 09 Aug 2006 21:11:40 +0200, Ron Teitelbaum wrote: Brian, Yes I agree it's a great suggestion, although a few changes: Literal blocks to not parse into collections automatically. Ron, please: a literal Array is a subclass of Collection and so the blocks in { [nil]. [true]. [false]

[Newbies] Re: Can't file in project with SqueakMap code in it

2006-07-29 Thread Klaus D. Witzel
Mike, thank you for sharing this experience. In another world at another time I'm investigating the dont's and do's of the (most likely rotten) interplay between the classic changes mechanism and SqMap and MC. You experience made it onto my toDo list, thank you. /Klaus On Sat, 29 Jul 2006

[Newbies] My favourite strange expression [was: Challenge]

2006-07-20 Thread Klaus D. Witzel
On Thu, 13 Jul 2006 12:39:53 +0200, Bert Freudenberg wrote: Heh. My favourite strange expression is this: # hi there :== '_' 1) Who can guess what the result is WITHOUT trying it? 2) Who can explain what's happening? 3) Do we need to fix it? - Bert - Found another one (relative to #7042):

[Newbies] Re: implementation

2006-07-09 Thread Klaus D. Witzel
Hi Math, on Sun, 09 Jul 2006 23:42:28 +0200, you wrote: Hi, I was reading code when I find several implementation of # selector. You have perhaps seen that in a recent 3.9 image? But they all have the same body. (Except for Integer). You can switch on the preference to show annotation

[Newbies] Shouldn't 7r6.5 be the same as 7r65 * 0.1

2006-07-03 Thread Klaus D. Witzel
Would some good soul please explain what Number readFrom: '7r6.5' should return. It is apparently not the same as 7r65 * 0.1 and before I dig deeper (why does this happen, is it a bug or feature) I'd appreciate that someone confirms or rejects (bug | feature). Thank you. /Klaus

[Newbies] Re: Shouldn't 7r6.5 be the same as 7r65 * 0.1

2006-07-03 Thread Klaus D. Witzel
Hi Ken, on Mon, 03 Jul 2006 20:51:00 +0200, you wrote: On Mon, 2006-07-03 at 20:30 +0200, Klaus D. Witzel wrote: Would some good soul please explain what Number readFrom: '7r6.5' should return. It is apparently not the same as 7r65 * 0.1 and before I dig deeper (why does this happen

[Newbies] Demystifying most Smalltalk’s don 't directly support multiple inheritance

2006-06-22 Thread Klaus D. Witzel
List, haven't you heard that Smalltalk and Squeak do not directly support multiple inheritance, time and again? But that Perl, Python and Ruby do (to some extent)? - http://www.google.com/search?q=python+ruby+multiple+inheritance Well, that is not the case for Smalltalk since the time that

Re: [Newbies] Re: Accessing projects from a Web page

2006-06-10 Thread Klaus D. Witzel
On Sat, 10 Jun 2006 11:04:48 +0200, Bert Freudenberg wrote: Am 10.06.2006 um 05:49 schrieb Klaus D. Witzel: Would some good soul please have a look a the plugintest.html page, which on my platform starts with the following text in the plugin window: Hello Plugin World! This window

Re: [Newbies] Re: Accessing projects from a Web page

2006-06-10 Thread Klaus D. Witzel
On Sat, 10 Jun 2006 12:45:37 +0200, Bert Freudenberg wrote: Am 10.06.2006 um 11:29 schrieb Klaus D. Witzel: This test page assumes you actually use Squeakland's SqueakPlugin.image. That image has the golden navigator flap enabled by default. I believe that is indeed the case, it says

[Newbies] Re: Accessing projects from a Web page

2006-06-09 Thread Klaus D. Witzel
Hi Mark, on Thu, 08 Jun 2006 23:40:09 +0200, you wrote: Hi, Is there a trick to accessing Squeak projects from a Web page? I built a Web page and linked to a project I put on my Web server which is hosted by a third party ISP. Instead of opening the project when the link is clicked the

[Newbies] Re: Accessing projects from a Web page

2006-06-09 Thread Klaus D. Witzel
Would some good soul please have a look a the plugintest.html page, which on my platform starts with the following text in the plugin window: Hello Plugin World! This window was opened by some code in the file plugintest.sts, which was downloaded by your web browser. The browser started

[Newbies] Re: self executable with squeak

2006-06-07 Thread Klaus D. Witzel
Hi Benjamin, on Wed, 07 Jun 2006 07:48:52 +0200, you wrote: hello, I apologize if this question has already been posted, but i did not find it. i wanted to know if it is possible to make a self executable file with a squeak package or more packages. Just so that someone can use it without