Re: JESS: assertion - exception out of memory

2009-09-30 Thread jo
Is there a way to coax some statistics out of jess to see the impact of asserted facts/rules ? or a kind of dump of the built network... Tx J - Original Message From: Ernest Friedman-Hill ejfr...@sandia.gov To: jess-users jess-users@sandia.gov Sent: Wednesday, September 30, 2009

Re: JESS: Exception in thread main java.lang.OutOfMemoryError: Java heap space

2009-09-16 Thread jo
Consulting Group Blog] If I have seen a little further it is by standing on the shoulders of giants. Sir Isaac Newton in a letter to Robert Hooke, 5 Feb 1676 Come to October Rules Fest and stand on the shoulders of the Giants of the industry; if only for a week. On Sep 14, 2009, at 8:42 AM, jo wrote

JESS: Is it possible to redirect output of facts command to a file for post mortem investigation purposes ?

2009-09-11 Thread jo
Hi Is it possible to redirect output of facts command to a file for post mortem investigation purposes ? This without redirect of the output of other commands in the same script. Thanks In Advance, Joe To

JESS: strings versus symbols in facts

2009-09-03 Thread jo
Hi I have a large quantity of facts to be matched against a rulebase. Currently the facts use symbols everywhere but it is causing a headache as some symbols like : cause jess parser exceptions and need special treatment. Strings would solve this but then I wonder if that would not cause a

JESS: how to dumping rules ?

2009-09-02 Thread jo
Hi I tried to dump the rules loaded at some point in time as follows but it did not work out... I do not know the names beforehand and have to figure out why they are not firing... Jess (rules) For a total of 0 rules in module MAIN. Jess (defrule x (f $? )=) TRUE Jess (rules) MAIN::x For a

Re: JESS: how to dumping rules ?

2009-09-02 Thread jo
@sandia.gov Sent: Wednesday, September 2, 2009 1:55:47 PM Subject: Re: JESS: how to dumping rules ? (rules) just prints, returning nil. (foreach ?v (explode$ (ppdefrule *)) (ppdefrule ?v)) -W On Wed, Sep 2, 2009 at 11:25 AM, jo etaoi...@yahoo.com wrote: Hi I tried to dump the rules loaded

Re: JESS: how to dumping rules ?

2009-09-02 Thread jo
) listDefrules)) (while (?it hasNext) (printout t (ppdefrule ((?it next) getName)) crlf crlf) ) Regards, Florian On Wed, Sep 2, 2009 at 11:25 AM, jo etaoi...@yahoo.com mailto:etaoi...@yahoo.com wrote: Hi I tried to dump the rules loaded at some point in time as follows but it did

Re: JESS: JESS Simple Variable Question

2009-08-18 Thread jo
I think you want this? ( + ?slide 1) - Original Message From: John Chrysakis hrysa...@ics.forth.gr To: jess-users@sandia.gov Sent: Tuesday, August 18, 2009 3:24:25 PM Subject: JESS: JESS Simple Variable Question Hello to all community, I am trying to bind an int variable e.g

Re: JESS: strings and quoting

2009-07-29 Thread jo
show an example of Jess or Java code, what it prints and what you expect it to do. -W On Tue, Jul 28, 2009 at 5:22 PM, jo etaoi...@yahoo.com wrote: Hi everybody, I am wrestling with strings in jess java Now everytime strings get trough a printout to file I get more and more escaped quotes

JESS: strings and quoting

2009-07-28 Thread jo
Hi everybody, I am wrestling with strings in jess java Now everytime strings get trough a printout to file I get more and more escaped quotes and escaped backslashses, like ie . mystring ... How can I avoid this trouble? I tries str-cat, implode$, nothing but somehow quoting

Re: JESS: jess: (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 /a/b)) versus Jess (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 .a/b))

2009-07-27 Thread jo
must absolutely be written as quoted strings in Jess; i.e., this does what you want: Jess (explode$ 679196dc49add8e88a07bd9fd34ec2f7 \/a/b\)) (679196dc49add8e88a07bd9fd34ec2f7 /a/b) On Jul 24, 2009, at 10:41 AM, jo wrote: Hi, (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 /a/b)) 3

JESS: jess: (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 /a/b)) versus Jess (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 .a/b))

2009-07-24 Thread jo
Hi, (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 /a/b)) 3 Jess (length$ (explode$ 679196dc49add8e88a07bd9fd34ec2f7 .a/b)) 2 Jess (explode$ 679196dc49add8e88a07bd9fd34ec2f7 .a/b) (679196dc49add8e88a07bd9fd34ec2f7 .a/b) Jess (explode$ 679196dc49add8e88a07bd9fd34ec2f7 /a/b)

JESS: need to call unix cmds that contain a mix of single and double quotes.

2009-07-22 Thread jo
Hi, I need to call unix cmds that contain a mix of single and double quotes. ie awk '{$1=; print }' ?fnamein ?fnameout However I have not managed to find a combination of quotes that works. What is best practice for handling quotes? Kind Regards, Joe