Hello,
I'm trying to do a distributed multi agent simulator in which I send my
agents to different remote sites and I was wondering if this is possible. If
it is, does anyone have any idea how to achieve such a thing.
I've already read the mozart documentation but I still don't quite get it.
such that the applied functor will use local resources.
If on the other hand your classes only do pure calculations without using
system modules, you don't need to worry about this.
If you need a simple example to get started, let us know.
Cheers,
Wolfgang
On Mon, Jun 21, 2010 at 10:47 AM, Khadija EL
Hello,
I can access them just fine.
2010/7/27 Gautam Thaker gautam.h.tha...@lmco.com
http://www.mozart-oz.org/download/view.cgi?action=printversion=1.3.2
shows
http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-print/tutorial/FiniteDomainProgramming.pdf.gz
and
Hello,
I have a problem which I've been trying to solve for quite some time now but
to no avail (I'm still very new to Oz/Mozart).
I have a class Environment in which I created 2 lists containing each a
numbre of a determined type of agents (Let us say a list of red agents and a
list of blue
and after modification
it did show true)
P.S.: Sorry for writing 1.3.8 instead of 1.3.2 (For some reason I was sure
it was 8 not 2, my mistake).
2010/8/12 Wolfgang Meyer wolfgang.m.me...@googlemail.com
On Thu, Aug 12, 2010 at 11:24 AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote
to possibilities:
1. import Inspector and call inspect qualified: {Inspector.inspect...}
2. or import it like this:
functor
import
Inspector(inspect:Inspect)
define
...
Then you can use Inspect unqualified.
Cheers,
Wolfgang
On Thu, Aug 12, 2010 at 4:29 PM, Khadija EL MAHRSI
khadija.elmah
= A
self.b = B
end
meth get(Feature $)
self.Feature
end
end
T = {New Test init(13 17)}
{Show {T get(a $)}}
{Show {T get(b $)}}
Cheers,
Wolfgang
On 8/13/10, Khadija EL MAHRSI khadija.elmah...@gmail.com wrote:
Hello,
I have another question, in the remote2.oz
Hello and thanks,
after taking a nap and resting a bit I could finally see what was wrong
which is really easy (you explaining the problem really made it easier for
me to know exactly where to look and what to look for). I was writing:
meth init(X Y)
.
.
{self.x = X}
Thanks anyway.
2010/8/25 Lyle Kopnicky li...@qseep.net
I would like to help but have no idea about that stuff... still finishing
Chapter 6 of CTM, so I haven't got to the OO or GUI chapters yet.
- Lyle
_
Hello,
* As I understand, the PicClass instances run on a different site than
the MainClass, correct? I also assume that both MainClass and PicClass
instances are stationary objects, i.e. their methods are executed at
the site where the instances were originally created. (Correct me if
my
Hello,
do you think that if I create the image in the MainClass and pass its tag to
the PicClass as parameter I will be able to use move
on this tag and have it move on my main GUI?
Thanks
2010/8/25 Wolfgang Meyer wolfgang.m.me...@googlemail.com
Hi,
I think it fails before the creation of
Hi,
On Aug 25, 2010 6:13pm, Khadija EL MAHRSI khadija.elmah...@gmail.com
wrote:
Hello,
do you think that if I create the image in the MainClass and pass its tag
to the PicClass as parameter I will be able to use move
on this tag and have it move on my main GUI?
No, this will not work (I
Hello,
I was wondering if it is possible to have a class running on a remote site
execute OS.(something) and put the result in a feature of this class (like
self.x=OS.rand for example).
Thanks
_
mozart-users mailing
Hello,
I was wondering if anyone had any idea about the following execution warning
and can explain it to me:
Warning: marshaling a variable as a resource!
Thanks.
_
mozart-users mailing list
Hello,
Correct me if I'm wrong, after some research I came to the conclusion that
since OS is sited it is not possible to achieve the idea I had so instead I
will have the result of OS.something passed to this class as parameter
through a method.
Thanks.
2010/9/4 Khadija EL MAHRSI khadija.elmah
Hello,
I have encountered a problem and I was wondering if anyone had an explanation
to it.
I have the following hierarchy:
class grandParent
class parent from grandParent
class child from parent
If I try to create an instance of the child class on a remote site, the
creation fails. If I write
for example usage of a sited module in the
constructor of parent. Hard to say without more details. Is there
any error message? Can you show the code of class parent?
Cheers,
Wolfgang
On Sun, Sep 5, 2010 at 5:12 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
I have
Hello,
I need to clarify something. In this application I don't get the warning it
is in another application that I'm writing that the marshalling warning
occurs.
Thanks.
2010/9/6 Boriss Mejias boris.mej...@uclouvain.be
On 06/09/10 10:32, Khadija EL MAHRSI wrote:
Hello,
the weird thing
Hello,
you were right I get the warning in this application too but I didn't notice
it. I will review my code and try to find out what's wrong otherwise I will
write the code in my next message.
Thanks a lot.
2010/9/6 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
I need to clarify
created from the Parent class cause no
problem and changing class Child from Parent into class Child from
GrandParent makes everything work. Any explanation?
Thanks.
2010/9/6 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
you were right I get the warning in this application too but I didn't
.
2010/9/6 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello again,
I have to admit I'm really puzzled. The warning disappeared (apparently it
doesn't appear each time that's why I didn't notice it earlier) and yet the
error is here to stay.
The code is basically something like this:
class
, that is
not necessary.
Hope this helps,
Wolfgang
On Mon, Sep 6, 2010 at 10:25 AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
using this information I wanted to do the following:
Create a stationary instance of a class (let's call it MyClass) on a
remote
site (thanks to the code
with a new seed at every
run, typically the current time.
You can do this by calling {OS.srand 0} at the beginning of your program.
Subsequent calls to OS.rand will look more random ;-)
Cheers,
Raphael
On Wed, Sep 8, 2010 at 11:02 AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote
)
and see whether the warning goes away.
This is just a wild guess, though. Not sure whether there is any relation.
Cheers,
Wolfgang
On Thu, Sep 9, 2010 at 4:01 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
could this warning be caused by the use of threads? I read
will do.
* The good thing is that such a server is relatively
easy to implement in Oz.*
I hope so because I can't afford to spend much time on this.
Thanks.
2010/9/9 Wolfgang Meyer wolfgang.m.me...@googlemail.com
Hi,
On Wed, Sep 8, 2010 at 7:38 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com
because
Mozart 1.4, distibuted programming and Windows don't go well together even
though I used the patch).
So I guess I will have to find the problem on my own but if you have any
suggestions please feel free to share them with me.
Thanks.
2010/9/10 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
I was wondering if anyone can tell me what the following execution error
means:
requesting the class of a ClassVar?!?
Thanks.
_
mozart-users mailing list
Hello,
I finally got rid of the warning which was caused by one of my classes that
used IOFile.
Thanks
2010/9/10 Wolfgang Meyer wolfgang.m.me...@googlemail.com
Hi again,
On Fri, Sep 10, 2010 at 9:59 AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
making the change you
Hello,
I was wondering if I could have an example where two classes each running on
different sites communicate using ports and streams.
In case one of the classes is stationary while the other isn't would it
change anything?
And if both classes are stationary each in its site would it still be
:'NewText')} the picture changed and
obviously the text didn't. How can I make it work?
Thanks
2010/8/27 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
I adapted the code you gave me to the one I had and it worked like a charm
(just like you said without MakeStat move doesn't work but when
Hello,
I just wanted to say that I managed to make an example by myself but if I
get an example maybe I could compare it to what I have and make sure that I
did things right.
Thanks
2010/9/20 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
I was wondering if I could have an example where
line: 138
origin: procedureFrame
vars:v('G':nil 'Y':nil))
entry(
'PC': 20309468
column: 6
data:P/10 MyClass,init/fast
file:'./MyClassesss.oz'
frameID:33
kind: call
line:123
origin:procedureFrame)]))
What does this mean?
Thanks.
2010/9/13 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello
to disable the firewall(s) for testing purposes.
Are there maybe multiple ssh exes in the path and Oz is accidentally
using the wrong one?
Cheers,
Wolfgang
On Fri, Sep 24, 2010 at 2:36 AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
maybe I forgot to mention that I used
Hello,
Did you add the OZEMACS Environment Variable?
Take a look at this link:
http://www.cse.iitk.ac.in/users/hk/cs350/2010/sw/readme.html/
I saw this link more than a year ago but when I took a look at it lately I
found it lacks the pictures used for explanation.
Hope this helps.
2011/4/28 Ali
Hello,
I've been trying to run a distributed application (to no avail) and I keep
getting the following line:
***Warning: HashTable reusing entry
So, does this have anything to do with why my application wouldn't work?
Thanks
Hi,
I've tried running the exact same application on another computer and it
worked just fine.
What could have been the cause of the problem?
Thanks
2011/4/30 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
my application is kind of complicated so I'll try writing a smaller one
which
version 1.3.2. That version
does not have the code that prints the warning and might work more robustly
in your scenario.
Whether this is feasible, depends on how much Mozart 1.4 features you have
used, of course.
Regards,
Wolfgang
On Wed, May 4, 2011 at 4:17 PM, Khadija EL MAHRSI
Hello,
I was wondering if there was a way using Oz to know the CPU and memory usage
of a machine so that I could compare them to a certain threshold.
Thanks
_
mozart-users mailing list
Thank you for the fast response, I will check it out.
Le 16 août 2011 14:32, Peter Van Roy peter.van...@uclouvain.be a écrit :
On 16/8/2011 2:29 PM, Khadija EL MAHRSI wrote:
Hello,
I was wondering if there were any additional information about the
packages and how to use them (like some
?
Thanks
2011/12/13 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hello,
I've been trying to do the Agent Server example from the Mobile agents
part in the following link (
http://graubart.rz.ifi.lmu.de/programming/mozart/print/tutorial/DistributedProgramming.pdf)
but for some reason couldn't
AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hi,
I've been doing some more tests and any use of D1 after the functor is
sent to the server results in an endless wait. Instead of using {Wait D1},
I used another variable D2 that uses D1 and the block still remains (since
D2 waits
Hello,
I just wanted to add that I think the code for the remote agent server is
also incorrect. I'm doing the same previous example but with a remote agent
server and trying to correct the provided code so if anyone can help me
with it I'd appreciate it.
Thanks.
2011/12/14 Khadija EL MAHRSI
Hi,
I wanted to know how to properly write the URL for loading pickles. I've
read the documentation but I'm afraid it still isn't clear enough for me.
In case I had 2 connected machines and one of them is trying to load a
pickle which exists on the other, how do I write the URL?
Thanks.
error messages? Maybe something in the nginx logs? (access.log /
error.log)
Cheers,
Wolfgang
On Dec 21, 2011 8:27pm, Khadija EL MAHRSI khadija.elmah...@gmail.com
wrote:
Hi,
I've tried nginx like you suggested and managed to serve the file at a
given URL. I can access the .ozf file from
at 11:08 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
When I used nginx, I made sure the firewall was disabled (both Windows'
and the antivirus'). I used another example to load a pickle and the same
thing happened: I can access the file with my browser but the Pickle.load
.
2011/12/23 Khadija EL MAHRSI khadija.elmah...@gmail.com
Hi,
I've been working on the remote agent server and I think I managed to
correct the given code (hopefully). However, I keep getting the exception
serverUnavailable even though the creation of the server is done
successfully. Maybe I'm
should create a local version of AgentServer,
for example by simply adding Agents to the toplevel imports section
and then using Agents.getserver.
Hope this helps,
Wolfgang
On Mon, Jan 16, 2012 at 11:55 AM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
Since I still
Hi,
I'm trying to create a distributed system with central log files. By
central I mean that the log files are to be created on one machine only
while the remote elements of the system access the log files on this
machine and write in them. Is it possible to achieve this?
Thanks
Hi,
I tried the code you gave me and it worked the way I wanted it to.
I really appreciate your help.
2012/2/27 Yves Jaradin yves.jara...@uclouvain.be
Le 27/02/12 14:21, Khadija EL MAHRSI a écrit :
Hi,
I'm trying to create a distributed system with central log files. By
central I mean
Hi,
I was working with virtual strings and tried to have the string displayed
on the screen using {TextHandler set(text:VirtualStr)}; however, it didn't
work.
I also tried to convert the virtual string to a string but this seems to
make things worse: I can't use anything related to VirtualString
, 2012 at 19:17, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hi,
I was working with virtual strings and tried to have the string displayed
on the screen using {TextHandler set(text:VirtualStr)}; however, it didn't
work.
I also tried to convert the virtual string to a string
. It could
appear that, for some reason, it does not contain what you think it
contains.
Sébastien
On Fri, Mar 30, 2012 at 20:49, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
After a number of tests, it became clear that the problem comes indeed
from the feature which
Hello,
I was experimenting with QTk and wanted to use the Dropdownlistbox. First
of all, the documentation page is weirdly displayed compared to the other
widgets and secondly (and more importantly), it's not working. The part
where the label is supposed to display the selected value from the list
are very
distorted.
Best wishes,
Torsten
On 3 May 2012, at 22:41, Khadija EL MAHRSI wrote:
Hi,
Thank you for trying to help. I managed to solve the problem which was
caused by a silly mistake actually. When I was about to put the part of the
code which caused the problem, I noticed
,
Sébastien
On Fri, May 4, 2012 at 5:23 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hi,
I'm having another problem with the Dropdownlist. The value returned by
the command:
{List.nth {D get($)} {D get(firstselection:$)}}
is a list of numbers (which I suppose represents the selected
What if I wanted to use the content of Var as an argument?
2012/5/4 Sébastien Doeraene sjrdoera...@gmail.com
Use {System.showInfo Var} instead.
Sébastien
On Fri, May 4, 2012 at 6:21 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
Hello,
Yes, I've figured that much and I
I tried both and none of them worked.
2012/5/4 Sébastien Doeraene sjrdoera...@gmail.com
'Application' is not a string, it's an atom. Application is a string.
Sébastien
On Fri, May 4, 2012 at 6:59 PM, Khadija EL MAHRSI
khadija.elmah...@gmail.com wrote:
The called procedure compares Var
Sorry, you were right it's just that when I tried Application before, I
missed the message that said true because there were so many other tests.
Thanks.
2012/5/4 Khadija EL MAHRSI khadija.elmah...@gmail.com
I tried both and none of them worked.
2012/5/4 Sébastien Doeraene sjrdoera
Hi,
I was reading the documentation about classes and noticed that there was no
possibility to have something similar to multiple constructors. Is this
correct? If so, is there a way to create a class which can be initialized
in more than one way?
Thanks.
2012, at 18:49, Khadija EL MAHRSI wrote:
Hi,
I was reading the documentation about classes and noticed that there was
no possibility to have something similar to multiple constructors. Is this
correct? If so, is there a way to create a class which can be initialized
in more than one way
Hi,
after going through my code, I've noticed that I had forgotten to change
the path to the pickle I was using to load the class and consequently, the
older version I was using to create my instances didn't have the new method
defined.
Sorry for the trouble.
2012/6/14 Khadija EL MAHRSI
Hi,
I'm working with Pickles in my application and when trying to load them,
the application fails and I have no idea why. I tried using try and catch
to see what exceptions I might be getting but for some reason, I can't seem
to be able to do so. The catch part is working properly because I can
know the problem :-(
2012/6/29 jorge.pelizz...@gmail.com jorge.pelizz...@gmail.com
What if you don't try to catch the exception? Normally the system itself
will print it for you.
Cheers,
Jorge.
Enviado por Samsung Mobile
Khadija EL MAHRSI ** escreveu:
Hi,
I'm working with Pickles
not be pickling a TICKET to that thing.
Jorge.
2012/6/29 Khadija EL MAHRSI khadija.elmah...@gmail.com:
I get a *** Warning: marshaling a variable as a resource! which is not
very specific and I'm not sure what could be the cause of this warning
so I
figured that maybe displaying
Hi,
my question concerning this module is as follows:
can a remote stationary class use this module to read the memory usage of
the remote site where it resides?
Thanks.
_
mozart-users mailing list
65 matches
Mail list logo