Wouldn't it be convenient if you could do this:
msg := 'The number is ', number
msg := 'The number is {1} or else is {2}' format: { number. number2 }
Behaves this way and looks much better when you have multiple args.
Ramon Leon
http://onsmaltalk.com
comments do:
[ :each | self renderComment: each on: html ]
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
with a read write web dav folder which you use as an http
repository.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
never found a reason to subclass anything but
Object or another one of my own domain objects.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
or postfix.
That doesn't answer how you get to the object, if you only know the ID
though ;-)
Lukas
True, but I'm assuming Sophie knows how to use a Dictionary to hash any
objects she needs by id. If not, she can certainly find examples in the
package I mentioned.
Ramon Leon
http
: aStream.
^ self
newDay: day
month: month
year: year
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo
at: dateString ifAbsentPut: [Date from: dateString].
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
want
to call super initialize.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
far more than they want. Glorp is an
expert framework for experts, but those who don't grok mapping patterns in
general will be baffled by it.
Rob, if you don't need to scale too big, check out the SandstoneDb package
on SqueakSource, it should be familiar to anyone who likes ActiveRecord.
Ramon
are singletons, what do you have against using them
as such?
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
agree.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
appreciated,
Chris
Hope this helps.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
equivalent to a quote to turn code into a data structure.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hello,
The last time I looked at Squeak it was at 3.6 or 3.7. IIRC
the full image had the wonderful and charming SqueakLogo
morph with roving eyes.
Alas, my favorite mouse seems to have disappeared. Is there
a package that I can load to get him or her back?
Tom Porter
I hope
Unless you're in a time-warp, developing games out of Ahl's
Basic Computer Games[1], Javascript is not going to cut it.
Javascript isn't even usable for graphics/real-time games of
that era. At least, when I've googled Javascript games, I've
never found one that could do a decent Space
[EMAIL PROTECTED] wrote:
Try taking out the Transcript show's from inside the loop, that's very slow.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo
http on localhost.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
code. Learn how Monticello works, it's is the main version
control system for Squeak, and I don't see that changing any time soon.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http
, they'll merge them into the main line. With Magritte... the
main line is whatever line Lukas is working on.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman
anyone know if they are still accessible anywhere?
I'm pretty sure Ralph teaches in Squeak, not Visual Works. I recall
watching his video lectures last year as well, all were in Squeak.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
is to use Ramon's image:
http://onsmalltalk.com/my-squeak-image/
I bet it is coming from Shout.
Yes, it's from Shout, and the hotkey is ctrl + space to get intellisense.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners
about
code. In code, you'd simply browse to the SomeClass class, select a method
category, and then edit the empty method template, or choose an existing
method to edit.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners
| each name - each allInstances size])
asSortedCollection: [:a :b | a value b value]
It's not fast, but it'll get you what you want.
Ramon Leon
http://onsmalltalk.com
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http
Here's an idea:
I have a Person class, but I need him to inherit traits that
the Human class has and the Ninja class has.
Is that sufficient?
I need him to inherit 'traits' that the Human
This is what Traits are for... Traits were meant to supercede multiple
inheritance.
Ramon
Still get the same error even with the latest
Tsunami-rjl.13.mczrjl, 15 September 2006 6:45:23 pm
removed post install script
The error pops up as soon as I select Tsunami-rcl.13.mcz in
the Monticello/repository browser, even before I click
Load. I must be doing something wrong!
Cincom Smalltalk is a 640Meg download. Squeak is a 17Meg download.
What's missing from Squeak?
Jerry Muelver
Bloat ;)
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
My (naive) understanding is that somehow this DSL-like style
does not appear to have become popular in the Smalltalk
world. Is that true?
That's because this style relies on the fact that Ruby programs are text, in
a file, that get's run to create a live environment. During this run phase,
Whether add_attribute and remove_attribute use an
#attribute_dictionary on the class and key off
#doesNotUnderstand, or dynamically add/remove real accessor
methods, could be a separate design decision.
My (naive :-) understanding is that this kind of dsl-ish
enhancement is not
And an other thing is that I have reached the maximum size of
the changes set file. What can I do in this situation to
avoid to build a new image...
Thanks
Math
World menu, do, Smalltalk condenseChanges.
___
Beginners mailing list
2006/8/3, Ramon Leon [EMAIL PROTECTED]:
And an other thing is that I have reached the maximum size of the
changes set file. What can I do in this situation to
avoid to build
a new image...
Thanks
Math
World menu, do, Smalltalk condenseChanges.
Ok thx
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of itsme213
Sent: Saturday, July 01, 2006 9:33 PM
To: squeak-beginers
Subject: [Newbies] Ruby macros
I miss my Ruby macros (1st day in Squeak and I love it ...
dislike the camelCase tho'). Would
32 matches
Mail list logo