Re: [Newbies] Re: [Newbie's] Strange behavior on Squeak 3.10 alpha

2007-04-12 Thread Edgar J. De Cleene



El 4/11/07 12:33 PM, Offray Vladimir Luna Cárdenas
[EMAIL PROTECTED] escribió:

 I'm still too newbie to know how to use Monticello, but I will try to learn.

Welcome to the forced to use :=)

 My main problem is that I can not export from 3.10alpha as a pr file...
 I don't know what's wrong. Just I get the metadata form and saving grid,
 but then nothing, I can't choose if I want to publish my project on the
 hard disk or on the web.

Again no idea. Here I put a picture of in development FunSqueak
As you could see, Fabrik, Wonderland, MathMorphs and some old of me.
You try http://ftp.squeak.org/3.10alpha/Squeak3.10alpha.7081.zip ?

And we are working all time, now you should get 7084.
This morning we (Damien , I ) chat long to figure what was wrong with some
what Jerome do Mantis bug reports , but don't show in my image.
The story ends with Damien could cook some new test.

 Vale, te enviaré correos privados para esas pequeñas cosas. Gracias por
 todo el trabajo en 3.10 y por un Squeak más modular.
 
 Chao,
 
 Offray

Ya lo tenemos a fredy en nuestra lista, faltas tu.
La semana que viene empiezo con un nuevo grupo.
Comisionare alguno para hacer una pequeña guia Sobreviviendo al 3.10 :=)

Edgar

attachment: Picture_1.jpg
___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Re: Squeak Firefox plugin on Linux

2007-04-12 Thread Jens Lincke

You have to install the squeak-vm package before

there should be the /usr/lib/squeak/npsqueakregister, which tries to 
register

the plugin in various places.

- Jens -

Andrew Dabrowski schrieb:
I tried installing your deb file but got the following error.  Do I 
have to do something with the changes file before installing the deb?



Selecting previously deselected package squeakland.
(Reading database ... 238563 files and directories currently installed.)
Unpacking squeakland (from .../deb/squeakland_3.8-4u_all.deb) ...
Setting up squeakland (3.8-4u) ...
/var/lib/dpkg/info/squeakland.postinst: 33: 
/usr/lib/squeak/npsqueakregister: not found

dpkg: error processing squeakland (--install):
 subprocess post-installation script returned error exit status 127





Hi,

there was a bug in the npsqueak, try using the packages from:

http://www.impara.de/~jens/ubuntu/

- Jens -

Andrew Dabrowski schrieb:
I have Ubuntu Linux and the Squeak plugin for Firefox isn't working. 
For example, when I go to the Etoys page at Squeakland Im told I 
need to download a plugin, even if I've already installed it.  Does 
anyone know if this is the fault of Squeak, Ubuntu, Firefox, or me?
 




___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
  


___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Error: No content to install

2007-04-12 Thread Göran Krampe
Hi!

 I can invoke the image without problem. When I try to pass a script
 file on the command line there's a Error: No content to install.

 The script file 'file:test.sq' is set in the url field of
 HTTPDownloadRequest

I guess you did not use a proper file URL? They generally look like:

file://$HOME/startup.st

regards, Göran

PS. This is a common gotcha, IMHO we might add a default fallback looking
in PWD for a file name if the arg does not look like a proper URL.

___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] My Spamfilter

2007-04-12 Thread Frank Urbach
Hi all,

I apologize for sending this eMail. My spam-filter is filtering mails
from the list. With this eMail I can change this behavior.
Again I apologize.

Cheers,
  Frank


___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] Re: Adding methods to Integers...

2007-04-12 Thread Klaus D. Witzel

Hi Patrick,

some of the symptoms you describe have to do with a small set of classes  
being hardwired in Squeak's virtual machine. To see which they are,  
evaluate (printIt)


 Smalltalk specialObjectsArray select: [:each | each isBehavior]

So when you do primitive arithmethic with your own subclass of  
LargePositiveInteger, the VM returns an instance of LargePositiveInteger  
(and not your subinstance of it).


Of course the specialObjectsArray can be changed and from then on the VM  
(after being notified) will use your subclass but, I think this is not  
what you really want ;-)


Putting your methods into Integer is fine as long as they do not conflict  
with anything else. Yes, this is the usual approach for adding new  
behavior to all the integers :)


/Klaus

On Thu, 12 Apr 2007 17:28:01 +0200, you wrote:



Background:
::

The most recent MathFactor Podcast ( http://mathfactor.uark.edu/ )
ended with a request to write a computer program that could, in
principal, given enough time and memory, compute Graham's Number
( http://mathworld.wolfram.com/GrahamsNumber.html ).

Smalltalk was a natural choice since it already supports LargeIntegers.

Problem:
:::

Being new to Smalltalk, my first thought was that I should make my
own class as a subclass of LargePositiveInteger, put my methods there,
and violá.  Alas, no love.

I ran into the following problems:
* I couldn't find a way to give a value to myself.
* I couldn't find a way to get integers to adapt to my class 
anyway.

I ended up just adding my methods to the Integer class.  But, this felt
very naughty.  Is it the usual approach?

Thanks,
Patrick


___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Re: Adding methods to Integers...

2007-04-12 Thread Bert Freudenberg

This is actually wrong. Only SmallIntegers are special [*].

What happens is this: When you add two SmallIntegers (like 3 + 4),  
and the result is a SmallInteger, the result is calculated in the  
bytecode directly. Otherwise, a regular send of #+ is performed. From  
there, everything else happens in the image, including conversion to  
LargeIntegers - see implementors of #+. Like, if the receiver was a  
SmallInteger, it tries the add primitive, which fails, and then the  
implementation of #+ in class Integer is invoked. This method then  
creates a large integer.


For the implementation of all this see #bytecodePrimAdd and  
#primitiveAdd. You may have to load VMMaker first.


- Bert -

[*] Well, Floats are optimized a bit, and we have a plugin to speed  
up LargeIntegers, but this is all optional and  doesn't matter in  
this discussion.


On Apr 12, 2007, at 18:05 , Klaus D. Witzel wrote:


Hi Patrick,

some of the symptoms you describe have to do with a small set of  
classes being hardwired in Squeak's virtual machine. To see which  
they are, evaluate (printIt)


 Smalltalk specialObjectsArray select: [:each | each isBehavior]

So when you do primitive arithmethic with your own subclass of  
LargePositiveInteger, the VM returns an instance of  
LargePositiveInteger (and not your subinstance of it).


Of course the specialObjectsArray can be changed and from then on  
the VM (after being notified) will use your subclass but, I think  
this is not what you really want ;-)


Putting your methods into Integer is fine as long as they do not  
conflict with anything else. Yes, this is the usual approach for  
adding new behavior to all the integers :)


/Klaus

On Thu, 12 Apr 2007 17:28:01 +0200, you wrote:



Background:
::

The most recent MathFactor Podcast ( http://mathfactor.uark.edu/ )
ended with a request to write a computer program that could, in
principal, given enough time and memory, compute Graham's Number
( http://mathworld.wolfram.com/GrahamsNumber.html ).

	Smalltalk was a natural choice since it already supports  
LargeIntegers.


Problem:
:::

Being new to Smalltalk, my first thought was that I should make my
	own class as a subclass of LargePositiveInteger, put my methods  
there,

and violá.  Alas, no love.

I ran into the following problems:
* I couldn't find a way to give a value to myself.
		* I couldn't find a way to get integers to adapt to my class  
anyway.


	I ended up just adding my methods to the Integer class.  But,  
this felt

very naughty.  Is it the usual approach?

Thanks,
Patrick


___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners





___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] Re: Squeak Firefox plugin on Linux

2007-04-12 Thread Andrew Dabrowski


You've lost me.  The installer did put  npsqueak.so into the plugins 
directory, but eToys still aren't working in Firefox.


What is libXt?

That's exactly the problem - until very recently, both Mozilla and  
Firefox linked to libXt by default. Now Firefox does not anymore. So  
our new version links libXt directly into the squeak plugin. It  
should be sufficient to install the new plugin, and manually run  
npsqueakregister. Or even manually create the symlinks from  
npsqueak.so into your browser's plugins directory (that's all  
npsqueakregister does).


- Bert -




begin:vcard
fn:Andrew Dabrowski
n:Dabrowski;Andrew
email;internet:[EMAIL PROTECTED]
tel;work:812 855-5470
x-mozilla-html:FALSE
version:2.1
end:vcard

___
Beginners mailing list
[EMAIL PROTECTED]
http://lists.squeakfoundation.org/mailman/listinfo/beginners