respondsTo: bug/Hydra

Chris Cunnington cunnington at sympatico.ca
Mon Dec 24 22:24:18 UTC 2007


> I can't agree with you on this. Classes are just objects, instances of
> own metaclass.
> Any object (including classes) refers to it's class. And to learn what
> object can do or can't, you may send #respondsTo: to any object in
> system.
>

Hi Ivan, 

Thank you for correcting me. I wrote that post hoping somebody would show me
where I'm wrong. I guess I'm close on some things and not so close on
others.

I've never used #respondsTo:.
I tried this: 

Object respondsTo: asMorph

I print it, and get:

Object respondsTo: asMorph false

I thought this was a way of asking any object in the system if it has a
certain method. How should I use respondsTo:? It's probably a beginner
question, but, hey. That's me.



I read the Hydra posting, and if I understand it correctly, it's very
exciting. If I download a standard Squeak package (VM, Sources, and image)
and put that on a server and server it to the Internet, then that's probably
fine. 

If I add ten other images, then I guess they're all being served by the same
VM, and problems will happen. What can go wrong? They freeze? I've always
wondered how many Seaside images a person could put on a server, if they
have installed the standard Squeak VM in a Linux server, like say RHES.

If I understand you are saying Hydra address the problems of such a
configuration. Many images on one Squeak VM, but specially modified for the
job, and all serving to the Internet. That's Hydra.

It's only available for Windows at the moment, I guess. I see that I can
download the HydraVM-sig.1.mcz. But what do I do with it? Do I file it into
an image, does that make sense? Doesn't it need to stand alone from images?
How do you un-zip an mcz file, so that it stands alone from an image? Are
all mcz files just for filing in?

Oh, one last question. When you say "threads" do you meaning anything
different from the word "process"? I can, and have, run several Squeak
images on the same server. Each has its own process number for starting and
stopping it. Is that what you mean by threads, or is it something else? Do
threads have a process number?

Any help you can give me understanding this would be great. Sorry if these
questions are so rudimentary.

Chris 






More information about the Squeak-dev mailing list