Re: [Newbies] 3.10 image hang

2009-09-26 Thread Claus Kick
K. K. Subramaniam schrieb: On Saturday 26 Sep 2009 11:46:05 am Prashanth Hebbar wrote: Thank you very much Subbu. The low space issues seems to have gone away. However, I still get a DNU on isSystemDefined method. On which object? could you list the last ten contexts from the Debugger? ..

[Newbies] Re: [squeak-dev] The Weekly Squeak Summary No. 20: Aug 17, 2008 - Jan 31, 2009

2009-02-04 Thread Claus Kick
Michael Haupt wrote: [15] Smalltalk on Eclipse http://news.squeak.org/2008/10/31/smalltalk-on-eclipse/ Does anyone have contact to that team as to find out whether they have been laid off or whether they are continuing their work? I am curious about that project!

Re: [Newbies] String construction and replacement

2009-02-02 Thread Claus Kick
Randal L. Schwartz wrote: Claus == Claus Kick claus_k...@web.de writes: Claus pattern := 'HI'. Claus replacement := 'HELLO'. Claus resultString := ''. Claus i := 1. Claus answer do:[:element | (element = pattern ) ifTrue:[i = 1 ifTrue:[resultString Claus := resultString, replacement . i := i

Re: [Newbies] Accessors for everything?

2009-01-06 Thread Claus Kick
David Mitchell wrote: I've seen both. I try to avoid creating accessors and only add them as I need. I try to create methods based on the responsibilities of the object and not around its data structure. But, I've worked on projects where every object had accessors for every variable (often

Re: [Newbies] Squeak Guilt

2008-12-16 Thread Claus Kick
Ryan Zerby wrote: I'm in a position where I want to learn Squeak/Smalltalk because it's cool, but I find myself thinking that I should spend my time working on something that might actually advance my career. I used to be a Java Programmer, but am now a Build Engineer, so I don't directly

Re: [Newbies] Squeak Guilt

2008-12-16 Thread Claus Kick
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 though, not Smalltalk in general. I fully agree though,

Re: [Newbies] Re: Squeak Guilt

2008-12-16 Thread Claus Kick
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 with Squeak-based non-web applications. I think

Re: [Newbies] Re: Inspector instances

2008-12-07 Thread Claus Kick
Zulq Alam wrote: Once you have the window you can #delete it. There may better (safer?) ways. (Inspector allInstances gather: [:e | e dependents collect: [:d | d window]]) asSet do: [:e | e delete] Ah, ok, thank you very much! delete it is!

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

2008-11-21 Thread Claus Kick
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* happened during the *recent* months: Why would one not

Re: [Newbies] pretty printing

2008-09-29 Thread Claus Kick
Bert Freudenberg wrote: Am 28.09.2008 um 09:52 schrieb Randal L. Schwartz: Claus == Claus Kick [EMAIL PROTECTED] writes: Claus YourClass escape: aString Claus escapes a String Claus |result| Claus result := ''. Claus aString do:[:char | result := result, char xmlEscaped]. Claus ^result

Re: [Newbies] pretty printing

2008-09-29 Thread Claus Kick
Bert Freudenberg wrote: Am 29.09.2008 um 10:07 schrieb Claus Kick: Bert Freudenberg wrote: Guess I have to provide an alternative: #('' 'amp;' '' 'lt;' '' 'gt;' 'apos;' '' 'quot;') pairsDo: [:c :s| string := string copyReplaceAll: c with: s]. (this is the same approach

Re: [Newbies] pretty printing

2008-09-28 Thread Claus Kick
Mark Volkmann wrote: Here is how one of my methods was pretty printed. escape: aString escapes special characters in XML text | result | result := ''. aString do: [:char | result := result , (char caseOf: { [$] -

Re: [Newbies] Windows

2008-08-17 Thread Claus Kick
Roger Thedog wrote: Claus Kick wrote: If you are on Windows or Linux, you could also try VisualAge from Instantiations. Or Dolphin Smalltalk from Object-Arts, if you are on Windows. Claus I played around with Visualage when I was looking at Smalltalk the first time around. I was quite

Re: [Newbies] Totally dumbfounded!!

2008-07-05 Thread Claus Kick
*snip* It seems to me though that even though in smalltalk/squeak it is possible to read all the code in the system, it is still a very poor and inefficient way of learning about any of the class libraries in Smalltalk. After looking up some of the code, I find I end up more confused

Re: [Newbies] Totally dumbfounded!!

2008-07-05 Thread Claus Kick
Rob Rothwell wrote: *snip* I am in nearly the same place David is, except that I have asked all these questions myself already, and have gotten the same responses! I am SLOWLY learning Smalltalk, so I have seen others pick it up much faster through the same process. Anyway, I found a

Re: [Newbies] Remove old instances of a Class

2008-05-24 Thread Claus Kick
why not just do MyClass allInstances do:[:i | i := nil]. Smalltalk unusedMemory. (Cannot recall if unusedMemory triggers a GC in Squeak, or even exists). Anyways, the first should nil all of your instances and then get them gc'ed. -- Claus Kick Wenn Sie mich suchen: Ich halte mich in der Nähe

Re: [Newbies] Easy way to define new methods referenced in a method?

2008-05-14 Thread Claus Kick
Tim M wrote: Is there an easy way to define methods when you reference them in a new method? e.g. renderContentOn: html html heading: 'ToDo-List'. html div class: 'menu'; with: self menuComponent. When I save it warns me that menuComponent isn't defined but there is no option to define

Re: [Newbies] on-line seaside tutorial or book

2008-05-14 Thread Claus Kick
Michael Haupt wrote: Hi, indeed the online tutorial and book are in sync most of the time. New material is added to the book, and the LaTeX sources are magically converted to Seaside code, which in turn forms the online version. :-) Now that is a nice solution - might be worth trying to