I want to eliminate a 'magic number' used by methods in a single
class. I'd like to do that by creating a symbol that would be
available to all the methods in the class. Where and how should I
create such a symbol? I can't seem to find an example anywhere.
Thanks: John
Is it possible to write code that adds methods to a class at runtime.
In particular I'm thinking about something like attr_accessor in Ruby
which adds get and set methods for instance variables so you don't
have to write them.
Thanks to everybody who has answered my questions so far!
---
Mark Volkmann
I¹m having no luck at all. I¹m trying to build from sources but the system
keeps complaining that gcc can¹t create executables. I tried doing it as
root but it made no difference.
This is ridiculous. Everything is fighting against me. I don't want to have
to debug my C development environment. I just want to run Squeak!
Why is it that everyone else has no problem running Squeak 3.9 under Feisty
Fawn??? This is driving me crazy.
What binaries/libraries are the Squeak VM installation looking for?
Richard
----------
Hi
> No, not install from source. As I said, I tried to install
> Squeak-3.9-8.i686-pc-linux-gnu.tar.gz
> ...which is the binary download from Squeak.org. And I¹m using 32-
> bit Linux
> (Ubuntu).
Ok. I see.
> The Synaptic package is out of date--the latest version it has is
> 3.8. I
> need 3.9 (because I have development images of Seaside based on 3.9).
I guess, this vm works with never images, too
> This is really goofy. What can possibly be wrong with my fresh
> Feisty Fawn
> installation???
Just do an installation from source. Download the source of the vm
and follow the instructions in the package to install.
It works without problems here.
Good luck
Enno
I¹m trying to install Squeak on a *fresh* installation of Ubuntu Linux 7.04
(Feisty Fawn) using...
Squeak-3.9-8.i686-pc-linux-gnu.tar.gz
...from Squeak.org. But it complains...
³No binaries/libraries found for i686-pc-linux-gnulibc1.²
I am completely baffled by how this can fail, unless no one on this planet
has ever installed Squeak on Feisty Fawn. Can somebody give me a clue?
Thanks,
Richard
How are Squeak applications typically deployed to users? Is there a
way to create an image that runs a given method when double-clicked?
Is there a way to reduce an image to contain only the classes used
from a given starting class?
---
Mark Volkmann
No, not install from source. As I said, I tried to install
Squeak-3.9-8.i686-pc-linux-gnu.tar.gz
...which is the binary download from Squeak.org. And I¹m using 32-bit Linux
(Ubuntu).
The Synaptic package is out of date--the latest version it has is 3.8. I
need 3.9 (because I have development images of Seaside based on 3.9).
This is really goofy. What can possibly be wrong with my fresh Feisty Fawn
installation???
Regards,
Richard
-------------
Hi
> I¹m trying to install Squeak on a *fresh* installation of Ubuntu
> Linux 7.04
> (Feisty Fawn) using...
> Squeak-3.9-8.i686-pc-linux-gnu.tar.gz
> ...from Squeak.org. But it complains...
> ³No binaries/libraries found for i686-pc-linux-gnulibc1.²
> I am completely baffled by how this can fail, unless no one on this
> planet
> has ever installed Squeak on Feisty Fawn. Can somebody give me a clue?
Squeak runs on Ubuntu 7.04 without problems here.
You download a tar.gz, so you want to install from source?
Try a pre-compiled Synaptic package instead. (Could be difficult on a
64bit Linux)
If you want to build from source, dont forget to install all the
development tools before.
Go to synaptic and install the "build-essential" package.
Hope that helps
Enno
What happens in Smalltalk if multiple categories contain a class with
the same name? Is that allowed? If so, how do you specify which one
you want?
---
Mark Volkmann
I'm trying to write a test for a method that uses atRandom to choose
a random integer. Is there a way to seed the random number generator
to generate a predictable sequence of numbers, so I end up with
testable results?
TIA: John
Hello
www.squeakland.org/ may be of more use to you then www.squeak.org as it's
more about squeak in education.
What tutorials are you using? I'm working my way throw this one:
http://squeak.preeminent.org/tut2007/html/index.html and am finding it very
usful.
Also the book: Squeak: Learn Programming with Robots, may be of use to you.
Hope this help, Darren
Constructionist wrote:
>
> Where is the best place to go to start learning about Squeak? I am
> interested about it because my school doesn't use it and I was told that
> it is a good platform to use in the class room. Are their any examples
> that I could use to demonstrate the uses of squeak to the other teachers.
> I have been trying to learn squeak from the tutorials I found at
> Squeak.org but some things don't quite work.
>
>
--
View this message in context: http://www.nabble.com/Squeak-Beginner-tf4226134.html#a12088189
Sent from the Squeak - Beginners mailing list archive at Nabble.com.