Fwd: [ljc] Call for Help - OSS projects
by Stephen Masters
Hi Mark and the gang,
Not sure whether you guys have seen this already (I’m guessing some of you must in in LJC), but if you’re looking for more London-based developers to get involved in the community side of Drools/KIE related projects, then it might be worth checking this out.
Steve
Begin forwarded message:
> From: Barry Cranford <bc(a)recworks.co.uk>
> Subject: [ljc] Call for Help - OSS projects
> Date: 29 November 2013 06:39:11 GMT
> To: ljc-list(a)meetup.com
> Reply-To: ljc-list(a)meetup.com
>
> TL;DR
>
> - We have had 44 LJC events this year. Woo!
> - We need to connect with more OSS projects for an upcoming Meet a Project event
>
>
> Hi All,
>
> We are nearly at the end of our year of events (we have had 44 LJC events so far this year). Our very last one of the year is a 'Meet a Project' event scheduled and are looking for some budding project leads that are going to come down and present their projects to small groups of developers, eager to find a new OSS project or similar to get their teeth into.
>
> Date: 11th December
> Time: 6:30
> Venue: UCL, London
>
> If you are interested please reply to me directly.
>
> To give you a bit of background to these events and why we started this initiative - one thing I have observed over the years, both as a recruiter and as a community leader is that there is a gap in the software industry, around open source software. There are a lot of developers in the industry, from students to experienced developers that are interested to get involved in something in addition to their day time position, but aren't really sure where to start. There are also a great deal of interesting projects covering everything from popular open source frameworks to the Adopt a JSR program launched by the LJC. Many of these projects rely on support/enthusiasm from developers and are keen to get more enthusiastic people involved. Not to mention that most candidates that get involved in personal projects seem to escalate their careers, salaries, day rates and passion for the industry (which all makes our job easier ;-)).
>
> Having been involved in several sporadic events over the last few years that aim to plug this gap, we started a series of events called LJC Meet a Project (#LJCMaP). They are run in a speed networking style, similar to the GDC Meet a Mentor events, they involve Project Ambassadors speaking to small groups of 3-6 developers. Giving a pitch of the project, then answering questions before moving on to another group. The events are intended to answer potential committers' questions around the projects, focussed mainly around starting points. These are not recruitment events or opportunities for companies to find new employees, but to help offer a way for developers to work alongside their existing positions to gain experience and develop communications and technical skills. The events are organised by RecWorks, the events team here will take care of all of the organisation/facilitation of the events to ensure that all is well organised and the process is as smooth as possible, so all you need to do is turn up on the day.
>
> Thanks all, let me know if you have any questions.
>
> Warm regards,
> Barry
>
>
>
>
> | recworks.co.uk | bc(a)recworks.co.uk | LinkedIn | Skype barrycranford | +44 7876 355215 |
> | Office +44 20 7866 8155 | Fax: +44 20 7379 0801 |
>
> If you like what we do please tweet about it. Just use the hashtag #recworksreco
>
> RecWorks Ltd | Registered in England and Wales. Registered No. 05864437
>
> Email disclaimer: This email contains information which may be confidential. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) do not copy this communication, or disclose it to any other person. If you have received this email in error please notify the sender immediately, delete the message from your computer system and destroy any copies. Except where this email is sent in the usual course of our business, any views or opinions presented are solely those of the author and do not necessarily represent those of RecWorks Ltd. Although RecWorks Ltd operates anti-virus programs, it does not accept responsibility for any damage whatsoever that is caused by viruses being passed. Replies to this email may be monitored and/or recorded by RecWorks Ltd for operational or business reasons.
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list (ljc-list(a)meetup.com)
> This message was sent by Barry Cranford (bc(a)recworks.co.uk) from LJC - London Java Community.
> To learn more about Barry Cranford, visit his/her member profile
> To report this message or block the sender, please click here
> Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages
>
> Meetup, POB 4668 #37895 NY NY USA 10163 | support(a)meetup.com
12 years, 2 months
BEST_FIT Null Pointer Exception
by newbie
I am currently using final 6.0 and I used
<constructionHeuristicType>BEST_FIT</constructionHeuristicType> but after I
have run it propmts java.lang.NullPointerException pointing to my
PlanningVariableStrengComparator. Did I miss something? My planning variable
comparator by the way is :
public class MyVariableStrengthComparator implements Comparator<MyVariable>,
Serializable {
public int compare(MyVariable a, MyVariable b) {
return new CompareToBuilder()
.append(a.getId(), b.getId())
.toComparison();
}
}
--
View this message in context: http://drools.46999.n3.nabble.com/BEST-FIT-Null-Pointer-Exception-tp40269...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 2 months
Optaplanner with Apache Commons Collections 4.0
by jonathan.labin
Apache Commons Collections 4.0 has been released and has some data structures
that I'm interested in using in my application.
To your knowledge can Optaplanner function with version 4.0 swapped in place
of 3.2.1?
I have tried this and not encountered any issues at build or run time but
that of course doesn't mean they aren't there.
Will the next release of Optaplanner leverage this more recent release of
Collections?
Thanks,
Jon
--
View this message in context: http://drools.46999.n3.nabble.com/Optaplanner-with-Apache-Commons-Collect...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 2 months
Binding mysteries
by Sonata
Hi, got a few questions about binding variables, hope someone can help out,
thanks.
1. Does binding actually cache the result for the RHS?
example:
rule "no binding"
when c : MyClass(member1 != member2)
then c.somemethod(imp.getMember1());
end
rule "with binding"
when c : MyClass(m : member1, member1 != member2)
then c.somemethod(m);
end
Does "no binding" call getMember1() twice while "with binding" calls
getMember1() once and cache the result to m? Or are both the same?
2. Is the practice to bind before or after?
example
rule "binding after"
when c : MyClass(member1 != member2, m : member1)
then c.somemethod(m);
end
Is there any difference between "with binding" and "binding after"?
3. Is bind and use in the LHS any better?
example
rule "binding and use"
when c : MyClass(m : member1, m != member2)
then c.somemethod(m);
end
Is there any difference between "with binding" and "binding and use"?
4. Why binding with constraint is not recommended?
example
rule "binding with constraint"
when c : MyClass(m : member1 != member2)
then c.somemethod(m);
end
In the expert manual, Drools 5.5.0 section 4.8.3.3.5. Binding variables, it
said
// Not recommended
Person( $age : age * 2 < 100 )
// Recommended (separates bindings and constraint expressions)
Person( age * 2 < 100, $age : age )
Although I know $age : age * 2 < 100 is binding $age to age *ONLY*, while
$age : (age * 2 < 100) is binding $age to the result of (age * 2 < 100). Is
the recommendation only about this safety precaution?
Thank you so much for answering.
--
View this message in context: http://drools.46999.n3.nabble.com/Binding-mysteries-tp4026999.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 2 months
Drools 6 and dynamic update
by Nicolas Héron
Hi All,
In previous Drools version (5.3, 5.4, 55 and 5.6RC1), it was possible to
dynamically update the package content from Guvnor.
The use case was :
1) Some rules are created/updated/deleted on Guvnor
2) A new snapshot is built
3) The drools runtime is notified and reload a new knowledgeBase from this
new snapshot. (For this we developed some code to do that). No need to
redeploy a new application. No need for IT people to be involved.
4) It was possible to see the content of each snapshot and compare the
content of different snapshot.
Now in Version 6 :
Step 1 : no change
Step 2 : as all in Maven => We build a new maven build an increment the
version number
Step 3 : is is possible to do that ? How do I set in all that the new
Drools-wb maven repo ?
Step 4 : how can I do that from the UI ?
Thanks in advance
Nicolas Héron
12 years, 2 months
[Announce] EulerGUI 2.0
by Jean-Marc Vanel
Hi
I am pleased to announce the release 2.0 of EulerGUI, a development tool
and a framework for rules and the Semantic Web, under LGPL license, in Java
and Scala.
As was already told on this list, EulerGUI has Drools under the hood, plus
4 other rules engines, and integration with controled (formal) english (
ATTEMPTO <http://attempto.ifi.uzh.ch/site/>). EulerGUI does not use POJO
classes for business data modelization, but Semantic Web
triples<http://www.w3.org/2000/10/swap/Primer>
.
The accent in this release is the new N3 file format for projects, that is
OWL (and Protégé) compatible. Here is an example:
http://svn.code.sf.net/p/eulergui/code/trunk/eulergui/examples/newproject...
EulerGUI has SPARQL queries, drag'n'drop, local cache Apache Jena TDB
triple store <http://jena.apache.org/documentation/tdb/> and more...
The current developments for 2.1 are towards 100% Scala code,
modularization, quicker startup, and customizable domain applications based
on generic semantic -aware widgets.
For a complete list of changes, the change log is here:
http://svn.code.sf.net/p/eulergui/code/trunk/eulergui/CHANGELOG
DOWNLOAD:
https://sourceforge.net/projects/eulergui/files/eulergui/2.0/
And the ever updated User Manual is here:
http://svn.code.sf.net/p/eulergui/code/trunk/eulergui/html/documentation....
--
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://deductions-software.com/
+33 (0)6 89 16 29 52
Twitter: @jmvanel ; chat: irc://irc.freenode.net#eulergui
12 years, 2 months
Drools 5.5.0 - Execution Performance
by ch3xy
Hello,
first of all I'd like to mention that i am pretty new to Drools, so please
be patient :-)
We are using Drools 5.5.0. we have a knowledgeBase of about 500 rules and a
pretty complex object structure. So far everything is working fine … at the
moment we are testing the performance of the engine and we encountered a
quite strange thing. We generated about 10 objects, inserted it into the
session and measured time needed for execution of rules. To simulate a high
number of facts, we inserted the same objects over and over again (100x,
1000x, 10000x). When the first objects were inserted, the time of execution
was about 100ms but for each iteration the execution got faster and faster
(20ms, 10ms and later on even 1ms) ..
Now my question: Are the objects somehow cached in the working memory, so
that execution gets faster or does this increase of performance has an other
reason? I read a few things about shadow facts which are not present anymore
since Drools 5 and sync and async Rete and I think this could be a potential
answer for my question, but I am not able to understand this completely. For
me it is important to know whether the increase of performance is only due
to the fact that we are inserting the same facts over and over again or if a
significant increase of performance is still possible if facts are not
identical?
Can someone help me?
Thanks in advance
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-5-0-Execution-Performance-tp40...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 2 months
BUG: Can't build a rete network with an inner OR group element
by braveheart85
Hello guys,
I have just obtained this DroolsRuntimeException when i perform this rule:
$result : Number( ) from accumulate
(
($y: Year( ) from $o.data) &&
(Family( $relatives : relative ) from $y.familyEntity),
init( double total = 0; ),
action( total += $relatives.size(); ),
reverse( total -= $relatives.size(); ),
result( total ) )
I saw that this is a known bug in version 5.3.0. I'm developing with 5.5.0
Final.
Exists any workaround or version 5.6.0 resolve this bug?
Best regards
Andrea
--
View this message in context: http://drools.46999.n3.nabble.com/BUG-Can-t-build-a-rete-network-with-an-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 2 months
matches / not maches
by Peter Troelsen
Hey..
I have encountered a problem using the 'maches' operator in drool.. I wanna
write something like this (just made a simple example)
rule "Hello World"
when
m: Message("5" matches "5")
then
System.out.println("Test");
end
But eclipse tells me " '"5" ~= "5"' must be an boolean expression ", and i
get an runtime error if i try to run it.. However if I use 'not matches' it
works! Forcing me to do something like this:
when
not m: Message("5" not matches "5")
then
Any ideas how to fix this?
- Thanks!
--
Peter
12 years, 2 months