Hi,
On 12.05.2010, at 00:05, Kommentaren wrote:
Well, I take this to mean you do not know about any decent documentation for
Smalltalk classes?
Like javadoc, people have built extraction tools. Few people use them and
the extracted comments rapidly fall out of date.
This just is NOT
On Sun, 2008-10-05 at 20:19 -0500, Mark Volkmann wrote:
Have I summarized this correctly?
Smalltalk doesn't support the concept of enumerated types like in Java
5 and above. Instead, the Smalltalk way is to:
1. create a class that represents the enumerated type
2. add a class
On Tue, 2008-09-30 at 05:31 -0500, Mark Volkmann wrote:
If I put TODO comments in my code to mark things I still need to
finish, is there an easy way to get a list of all of those? For that
matter, how do you search all the code in a given category for a given
string?
Searching for
On Mon, 2008-09-29 at 13:16 +0100, Marcin Tustin wrote:
A class is just another object whose own class is Class. I actually
don't know when the class initialisiation method is called after
creation. As usual, if all it does is things you know to be safe, go
ahead and call it manually.
It is
On Sun, 2008-09-28 at 07:54 -0500, Mark Volkmann wrote:
How are constants represented in Smalltalk? Do you create a method
whose name is the name of the constant and return the value?
You have several ways to define something you could call
constant. If we see a constant as a global
On Sun, 2008-09-28 at 08:56 -0500, Mark Volkmann wrote:
On Sep 28, 2008, at 8:33 AM, Norbert Hartl wrote:
On Sun, 2008-09-28 at 07:54 -0500, Mark Volkmann wrote:
How are constants represented in Smalltalk? Do you create a method
whose name is the name of the constant and return the value
On Sun, 2008-09-28 at 09:08 -0500, Mark Volkmann wrote:
When I'm looking at the methods of a class in a System Browser, is
there an easy way to tell it I want to see inherited methods too?
Otherwise I have to browse the superclasses one by one.
In the method pane press ALT+P (uppercase)
On Sun, 2008-09-28 at 09:16 -0500, Mark Volkmann wrote:
Does the standard Squeak image contain a class for operating on
regular expressions?
No, nothing beside Stringmatches: But you can load
a regex package from squeaksource. You know squeaksource
already?
Norbert
On Fri, 2008-09-26 at 17:02 -0500, Mark Volkmann wrote:
Is there a convention for naming keywork arguments that should have a
boolean value?
When it's not a boolean, it seems the convention is
value: aValue
That doesn't seem right for booleans though. I'd end up with arguments
like
On Fri, 2008-09-26 at 18:05 -0700, Randal L. Schwartz wrote:
Norbert == Norbert Hartl [EMAIL PROTECTED] writes:
Norbert There is no strict rule to it but I think here the majority
Norbert follows some hint what to expect rule. That means you name
Norbert the argument after the class
On Thu, 2008-09-25 at 17:26 -0500, Mark Volkmann wrote:
Can someone point me to an example of how to raise and handle
exceptions in Squeak Smalltalk? My Googling came up empty.
[
Transcript show: 'Here it is shown...'.
(Exception new messageText: 'and there it is thrown') signal
]
On Sat, 2008-07-12 at 10:36 +0200, John Chandler wrote:
On Jul 11, 2008, at 7:34 PM, Janko Mivšek wrote:
Hi John,
John Chandler wrote:
I understand that I can run a Squeak package that implements VNC,
and that there is a headless mode that should allow me to launch
Squeak w/o
On Wed, 2008-06-04 at 18:07 -0400, Rob Rothwell wrote:
Ok...so we sort of got Ubuntu running on a server...which VM should I
go get?
(Yes, I am so NOT Linux-enabled at this particular time...)
Easiest is to use the one in ubuntus multiverse. If you have
enabled multiverse in your software
On Wed, 2008-06-04 at 14:41 +0200, Klaus D. Witzel wrote:
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
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 to delete it, I am trying to do so
quite explicitly
On Wed, 2008-04-02 at 22:48 -0400, Rob Rothwell wrote:
Has anyone written anything like the ActiveRecord for Glorp? VW7.6
has something, but it would be slightly painful to port (for me at
least) as it uses VW Package definitions and a few other things I am
not familiar with.
There is a
On Thu, 2008-01-10 at 13:12 +0100, Ch Lamprecht wrote:
Hello,
could anybody help me to understand, how to use MonticelloBrowser?
(Working with 3.9 #7067) I read SBE and it says:
The right-hand pane lists all of the source-code repositories that
Monticello
knows about, usually because
On Thu, 2008-01-03 at 09:16 +0200, Miron Brezuleanu wrote:
Hello,
I'm trying to download GLORP from SqueakMap and the contents of the
sar file are in fact a small html with a login form, not zipped
content as Squeak seems to expect.
I tried getting a new password from SqueakMap (why do I
. The map reflects my change I've done two hours ago. But the
install action seems to try to load from the old URL which still leads
to the login form. The URL which is now in the map is correct but the
install fails. I'll monitor this.
Norbert
Thanks again,
On Jan 6, 2008 1:01 PM, Norbert Hartl
On Tue, 2007-11-27 at 19:23 +0100, Petr Fischer wrote:
OK. I implemented this functionality. Look at comment in method:
PGConnectionexecute: sqlString withRowBlock: aRowBlock
Is possible to add attached changesets to PostgresV2 package? (by
Yanni Chiu)
Just publish your changes on
On Sun, 2007-11-11 at 21:32 -0800, Don McLane wrote:
Thanks Michael.
My problem may have become immediately obvious when I tried to load
REPLServer. I need TCPService. But where do I get that? It's not on
SqueakMap. Google isn't helpful.
You can find it on squeakmap. It is called
On Tue, 2007-10-30 at 08:27 +0100, Oscar Nierstrasz wrote:
Strange. I do not see these methods supported by ReadStream in my
image.
I only see 13 implementors of #collect:
What does your implementation of ReadStreamcollect: say?
Oh, I'm sorry. The methods in ReadStream are added by
Hi,
I get a ReadStream from some part of a program which is
created this way
stream := (ReadStream on: #( #(#a #b) #(#b #c)))
I like to use collect: on that stream:
stream collect: [:each| 'k',each first]
Is there a possibility to specify the resulting collection
produced by collect. The
Hi,
is the order of elements in a dictionary preserved?
I mean if I can assume that the first element added
stays the first element in associations, keys and
values?
thanks,
Norbert
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
On Fri, 2007-09-07 at 15:26 +0200, Norbert Hartl wrote:
Hi,
is the order of elements in a dictionary preserved?
I mean if I can assume that the first element added
stays the first element in associations, keys and
values?
Oh, I tested it the wrong way. I can easily that the
answer to my
Hi,
is there a way to access the environment variables of
the underlying OS?
thanks,
Norbert
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
On Thu, 2007-08-02 at 12:31 +0200, Michael Rueger wrote:
Norbert Hartl wrote:
How can I provide Monticello with information where it
can find the files to resolve the dependencies?
For Sophie we use config maps, not dependencies.
You have to have all needed repositories already setup
On Thu, 2007-08-02 at 14:48 -0700, Chris Cunningham wrote:
Ok, nice tool. In principal exact what I was looking for.
Unfortunately it doesn't support directory repositories
and it that way.
Hi Norbert,
Attached is a simple change set that will allow it to
On Tue, 2007-07-31 at 12:58 -0700, Conrad Taylor wrote:
Hi, could someone recommend a PostgreSQL client for Squeak? At this
time, the current version in SqueakMap Package Loader hasn't been
blessed to work with Squeak 3.9 (7076).
You can just ignore the warnings that is not known to work
for
Hi,
I'm thinking right now about some role and permission
stuff for my webapp. But I'm asking myself what will
be a good approach for this.
At first I created a lot of classes like AdminRole,
MemberRole, CreatePermission, ModifyPermission etc.
I used the class objects for this. These only carry
On Tue, 2007-06-26 at 15:45 +0200, Michael Rueger wrote:
Norbert Hartl wrote:
At first I created a lot of classes like AdminRole,
MemberRole, CreatePermission, ModifyPermission etc.
I used the class objects for this. These only carry
some state like index, label. The role objects also
On Tue, 2007-06-26 at 15:46 +0200, Michael Rueger wrote:
Norbert Hartl wrote:
Hi,
I'm thinking right now about some role and permission
stuff for my webapp. But I'm asking myself what will
be a good approach for this.
P.S. have you looked at the SmallWiki permission and role
On Tue, 2007-05-22 at 15:58 +0100, Darren White wrote:
Hello
Is there a way to use a string as the name for a object? For example
if I have the input string 'fred' from a user input field how do I
create a object named userFred or even just fred?
You can get the class object from a String
On Tue, 2007-05-01 at 10:52 +0200, Mispunt wrote:
Hi people,
I there a way to run a test to be sure that a message exists in a
class? I am working on some peace of code that just run a message of a
unknown class, so it is possible that this message doesn't exist and
fire an error.
Yes,
On Mon, 2007-04-30 at 15:17 -0400, David Shaffer wrote:
Norbert Hartl wrote:
Hi,
I'm trying to save an image under a different name. I
have a image I'm working with (e.g. VNC enabled) and I
like to create a derived image under a different name.
I use
MySetupdeploy
Hi,
I'm trying to save an image under a different name. I
have a image I'm working with (e.g. VNC enabled) and I
like to create a derived image under a different name.
I use
MySetupdeploy
RFBServer doStopServer.
SmalltalkImage current closeSourceFiles.
SmalltalkImage
On Fri, 2007-04-27 at 00:40 +0400, George Herolyants wrote:
Hi Norbert,
I hope the following code will make clear this strange behaviour.
| i delay |
i := 0.
delay := Delay forMilliseconds: 1000.
Transcript clear.
10 timesRepeat: [Transcript cr; show: (i := i + 1). delay wait].
Hi,
I have some problems trying to merge with monticello.
If I merge I get a list of all changes from the actual
version to the selected version. For every entry in the
list I can press keep or reject. But I don't know how
it is supposed to be used. For me it shows no effect at
all pressing each
On Mon, 2007-03-19 at 12:23 -0400, Ron Teitelbaum wrote:
Hi Norbert,
I just had a look at the package to make sure it was working properly. We
had an error sneak in and it keeps popping its head up. I just released a
new version of Cryptography-Core which should fix the problem.
I am
I would like to put it on the official (lukas') repo. But I'm
not sure how to do it. Packages have information about the
package version they are based on. But the version numbers in
MagritteGlorp aren't present in the official repository. What
would be the result of putting my
Hi,
at the moment I try to figure out how the three configuration
management approaches fit together. After switching to Monticello
I found my life a lot easier :) Monticello is of great help!
Then I noticed that changesets are named after the Monticello
package that was last imported. I'm
On Wed, 2006-12-13 at 09:09 -0500, Benjamin Schroeder wrote:
Hi Norbert,
Hi,
I'm asking myself if there is any common sense about
how to indent the code in smalltalk/squeak.
Most of the time I see something like
statement do: [ :parameter |
otherStatement selector: [
42 matches
Mail list logo