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? ..
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!
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
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
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
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,
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
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!
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
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
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
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: {
[$] -
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
*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
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
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
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
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
18 matches
Mail list logo