I recently loaded Magma into my image to play around with, following the Getting Started Guide at:
http://wiki.squeak.org/squeak/2689
I looked around for some more documentation or code examples but was not able to find any. Can someone point me to sample programs that illustrate how Magma is used?
Thanks,
Paul
PS: There may be a few errors or ommissions in the Getting Started guide. After creating the sample repository with,
MagmaRepositoryController
create: 'c:\myMagmaFolder'
root: Dictionary new
the guide explains that in single user mode, one can use the new obejct store by executing
myMagmaSession := MagmaSession openLocal: 'c:\myMagmaFolder\myRepository.magma'.
myMagmaSession connectAs: 'chris'
I got a traceback when I tried the above. I got it working only after trying
myMagmaSession := MagmaSession openLocal: 'c:\myMagmaFolder'.
myMagmaSession connectAs: 'chris'
Ie, the MagmaSession class>>openLocal: method takes a directory name rather than a particular '.magma' element.
--
_______________________________________________
Get your free email from http://mail.doramail.com
Powered by Outblaze
I'm an experienced programmer, but Squeak novice.
Can someone give me step-by-step instructions (for a novice) for how to find
the best regex implementation for Squeak and how to install it.
I developed a little Meta-Programming application, which adds methods to the MethodDictionary of a class and adds instance variables + getters/setters.
However, after running this application the changes are not reflected in the System Browser.
All new instance variables and new methods are not shown there.
On the other side I can run a little test application, which creates a new instance of class (to which I added some methods and variables), which in turn uses some of the added methods and instance variables through getters/setters without any errors.
Is there any trick to make these added methods and instance variables visible ?
Again, the new methods are correctly integrated into the MethodDictionary with selectors and CompiledMethods according to "aClass inspect".
Is there another way to check whether the new methods and new instance are really integrated into a new class?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I understand how Monticello deals with me adding (in my package) some
methods to an existing class like Object (from other package).
How does it deal with me adding an instance variable?
Thanks!
Is there an update to flashmorphreader or possibly another way to
support a flash file version greater than 3 (I have a few Flash
version 5 files)?
Best regards,
Rich
=============
Hi,
I added this code to a workspace:
oneMinBeeper := TaskScheduler new.
oneMinBeeper do: [Beeper beep] every: 1 minute.
oneMinBeeper start.
I then deleated the the workspace thinking that it would take the
oneMinBeeper object with it. Insacly one minute later I realized that's not
how it works! How do I now access this object? How can I kill it.
Also some general info where objects live would be useful. I notice that if
I open up another workspace and inspect oneMinBeeper, that it's referred to
an undefined object but it must be defined somewhare as it's still beeping.
Cheers
--
View this message in context: http://www.nabble.com/variables-declared-in-workspaces-tf4780061.html#a1367…
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
I'm trying to go through the pipsqueak tutorial, but it throws a
doesNotUnderstand error when I try to initialize the exitSides instance
variable the first time. The browser shows the exitSides variable (with
nil value), so the VM knows its there.
This is my class declaration:
Object subclass: #BlankCell
instanceVariableNames: 'activeSegments exitSides'
classVariableNames: ''
poolDictionaries: ''
category: 'Laser-Game-Model'
This is my init function:
initializeExitSides
self exitSides: Dictionary new.
self exitSides at: #north put: #south.
self exitSides at: #east put: #west.
self exitSides at: #south put: #north.
self exitSides at: #west put: #east.
And a screen shot of my error stack trace is here:
http://www.isi.edu/~amarshal/transfers/squeak_error.png
(How do I copy it as text anyway?)
Anm
Hi list,
when I do:
Transcript show: (XMLDOMParser parseDocumentFrom: (
ReadStream on: '<xml>T1<E1/><!--C-->T2<E2/></xml>'
))
I get: '
<xml>T1T2
<E1></E1>
<E2></E2></xml>'
The order of child nodes is wrong: T1,T2,E1,E2 instead of T1,E1,T2,E2.
I don't understand, why a XMLElement has TWO collections: contents elements
instead of ONE collection for childNodes.
salute
Thomas
--
View this message in context: http://www.nabble.com/BUG-in-XMLElement-%3E%3E-printXMLOn%3A-tf4806032.html…
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
I have been trying to install Squeak on Ubuntu 7.10 w/out success
I was able to install it w/ Debian packages but the sound didn't work.
At the advice of my colleague Luke Gorrie I tried installing it from the
VM-Source tarball
http://ftp.squeak.org/3.9/unix-linux/Squeak-3.9-8.src.tar.gz
I used the documentation in /unix/doc/HowToBuildFromSource.pdf
I ran the configure script and got an error that it couldn't find
npsqueak libraries.
I then tried ../config/configure --without-npsqueak
it configured but this showed up in the config.log
configure:26825: result: ******** disabling vm-display-X11
I then did make and make install
Predictably, I get this error when I try to open a squeak image
$ squeak olenepal-demo.4.image
could not find display driver vm-display-X11; either:
- check that /usr/local/lib/squeak/3.9-8/vm-display-X11.so exists, or
- use the '-plugins <path>' option to tell me where it is, or
- remove DISPLAY from your environment.
Aborted (core dumped)
Please assist :)
What's the best place to look for documentation on Squeak installation?
I found some in the Squeak wiki, OLPC wiki, and a few other places but
no single comprehensive resource. I will try to add notes on how to
successfully install Squeak on Ubuntu 7.10 onto the OLPC Wiki once I can
successfully install it myself :
Help! Part of my job is to teach people how to use Squeak so our
development team (the real programmers) can focus full-time on
developing learning activities w/ Squeak. I need to get up to speed on
Squeak quickly. Thanks
--
Bryan W. Berry
External Relations Manager
OLE Nepal, http://nepal.ole.org