[jira] [Commented] (MNEMONIC-360) Collection based query feature

2017-09-05 Thread Wang, Gang (JIRA)

[ 
https://issues.apache.org/jira/browse/MNEMONIC-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16154697#comment-16154697
 ] 

Wang, Gang commented on MNEMONIC-360:
-

Hi [~ni...@switchfire.com], Thank you very much for supporting the integration 
with CQEngine and pointing out those issues and the documentation should be 
improved significantly as you advised, we will follow up to clean up the 
documentation and improve the Examples for usability, Thank you again for 
allowing and supporting our project to integrate with CQEngine, please also 
stay patient and that will be improved as soon as possible. 


> Collection based query feature
> --
>
> Key: MNEMONIC-360
> URL: https://issues.apache.org/jira/browse/MNEMONIC-360
> Project: Mnemonic
>  Issue Type: Wish
>  Components: Collection, Core, Query
>Affects Versions: 0.9.0-incubating
>Reporter: Wang, Gang
>
> This would be a new major feature for Mnemonic.
> Mnemonic would be able to act as a service to process query request.
> This feature is expected to build on top of Durable Collection (DC), Durable 
> Object Model (DOM) and Durable Computing Model (DCM).
> It is inspired by CQEngine [https://github.com/npgall/cqengine]. 
> The significant performance improvement contributed by CQEngine has been 
> proved so we can expect the equivalent effect on Mnemonic.
> We will ask for the agreement to allow Mnemonic to adopt the features of 
> CQEngine.
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MNEMONIC-360) Collection based query feature

2017-09-05 Thread Niall Gallagher (JIRA)

[ 
https://issues.apache.org/jira/browse/MNEMONIC-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16154621#comment-16154621
 ] 

Niall Gallagher commented on MNEMONIC-360:
--

As the owner of CQEngine I would be happy to allow Mnemonic to adopt or 
integrate it. I did take a look at the documentation for Mnemonic, to figure 
out where I could get started with an integration.

However to be honest I think the documentation for Mnemonic needs to be cleaned 
up significantly. On the main page the example usage looks incredibly complex.

**Example 1**
{quote} 
/**
 \* setup generic info manually to avoid performance penalty
 \*/
@Override
public void setupGenericInfo(EntityFactoryProxy[] efproxies, 
GenericField.GType[] gftypes) \{

\}
{quote}
... what is this generic info? What are efproxies? What is this performance 
penalty? 
Do I actually need to implement this method, and if so, how?

If this is supposed to show how Mnemonic can be used, why isn't this method in 
the example implemented?

I think Mnemonic needs to hide this complexity from end users by default.

**Example 2**

{quote}// keep this person on non-volatile handler store
act.setHandler(keyidx, person.getHandler());

for (int deep = 0; deep < rand.nextInt(100); ++deep) \{

// create another person as mother
mother = PersonFactory.create(act);
mother.setAge((short)(50 + rand.nextInt(50)));
mother.setName(String.format("Name: \[%s\]", 
UUID.randomUUID().toString()), true);

// set the person's mother
person.setMother(mother, true);

person = mother;
\}{quote}

If I understand it correctly, this example demonstrates non-deterministic 
behavior. 

Why is there a random number generator in the example? What has it got to do 
with Mnemonic?
If it does not directly relate to Mnemonic, then it should not be in the 
example.

What is the 'act' variable? What is keyidx? What is a handler?
Variables should have descriptive names.

**TL;DR**
I think as a fairly experienced developer that if I can't understand how to use 
a project from the front page, then a lot of less experienced developers will 
be put off by it completely.

The front page needs to provide a radically simpler example.
To begin with, I'd suggest to show in no more than a few lines of code, how to 
persist a single object.

I have spent so much time figuring out how to do the simple stuff with Mnemonic 
due to lack of documentation, that I have not made much progress with the 
integration yet. 

I am still interested in integrating as I think Mnemonic is a promising 
technology, though :)
Please clean up the documentation!

> Collection based query feature
> --
>
> Key: MNEMONIC-360
> URL: https://issues.apache.org/jira/browse/MNEMONIC-360
> Project: Mnemonic
>  Issue Type: Wish
>  Components: Collection, Core, Query
>Affects Versions: 0.9.0-incubating
>Reporter: Wang, Gang
>
> This would be a new major feature for Mnemonic.
> Mnemonic would be able to act as a service to process query request.
> This feature is expected to build on top of Durable Collection (DC), Durable 
> Object Model (DOM) and Durable Computing Model (DCM).
> It is inspired by CQEngine [https://github.com/npgall/cqengine]. 
> The significant performance improvement contributed by CQEngine has been 
> proved so we can expect the equivalent effect on Mnemonic.
> We will ask for the agreement to allow Mnemonic to adopt the features of 
> CQEngine.
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: [VOTE] Release of Apache Mnemonic-0.9.0-incubating [rc2]

2017-09-05 Thread Henry Saputra
Signature file looks good
Hash files look good
LICENSE file exists
DISCLAIMER file looks good
NOTICE file exists
Source compiled
No third party exes in source artifact

+1 (binding)

- Henry


On Fri, Sep 1, 2017 at 4:26 PM, Johnu  wrote:

> Hi all,
>
> This is a call for a releasing Apache Mnemonic
> 0.9.0-incubating, release candidate rc2. This
> is the new release of Mnemonic incubating.
>
> The source tarball, including signatures, digests, etc. can be found at:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> 9.0-incubating-rc2/src/
>
> The tag to be voted upon is v0.9.0-incubating:
> https://git-wip-us.apache.org/repos/asf?p=incubator-mnemonic
> .git;a=shortlog;h=refs/tags/v0.9.0-incubating
>
> The release hash is 9861eb1e80edf46f600c3c5dd7f7e08255b278ba:
> https://git-wip-us.apache.org/repos/asf?p=incubator-
> mnemonic.git;a=commit;h=
> 9861eb1e80edf46f600c3c5dd7f7e08255b278ba
>
> Release artifacts are signed with the following key:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
>
> KEYS file available:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
>
> For information about the contents of this release, see:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> 9.0-incubating-rc2/CHANGES.txt
>
> The vote will be open for ~72 hours.
> Please download the release candidate and evaluate the necessary items
> including checking hashes, signatures, build from source, and test.  The
> please vote:
>
> [ ] +1 Release this package as apache-mnemonic-0.9.0-incubating
> [ ] +0 no opinion
> [ ] -1 Do not release this package because...
>
> Thanks,
> Johnu on behalf of the Apache Mnemonic (incubating) community
>


Re: Mnemonic board report is due.

2017-09-05 Thread Gang(Gary) Wang
We have submitted the board report as below for your review and approval,
Thanks!

https://wiki.apache.org/incubator/September2017

Very truly yours,
Gary.


On Tue, Sep 5, 2017 at 1:28 PM, Gary Wong  wrote:

> Hi Patrick,
>
> Thank you for reminding us, we will get it done today.
>
> Very truly yours,
> Gary
>
>
> On Tue, Sep 5, 2017 at 12:56 PM, Patrick Hunt  wrote:
>
>> Hi folks, the board report is due tomorrow. Please get it submitted asap.
>>
>> Regards,
>>
>> Patrick
>>
>
>


Re: [VOTE] Release of Apache Mnemonic-0.9.0-incubating [rc2]

2017-09-05 Thread Paley Shen
+1

On Sep 5, 2017 11:31 AM, "Debojyoti Dutta"  wrote:

+1



On Tue, Sep 5, 2017 at 10:06 AM, Patrick Hunt  wrote:

> +1 - sig/xsum verify, rat ran clean, I was able to compile the code ok.
>
> Patrick
>
> On Fri, Sep 1, 2017 at 4:26 PM, Johnu  wrote:
>
> > Hi all,
> >
> > This is a call for a releasing Apache Mnemonic
> > 0.9.0-incubating, release candidate rc2. This
> > is the new release of Mnemonic incubating.
> >
> > The source tarball, including signatures, digests, etc. can be found at:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> > 9.0-incubating-rc2/src/
> >
> > The tag to be voted upon is v0.9.0-incubating:
> > https://git-wip-us.apache.org/repos/asf?p=incubator-mnemonic
> > .git;a=shortlog;h=refs/tags/v0.9.0-incubating
> >
> > The release hash is 9861eb1e80edf46f600c3c5dd7f7e08255b278ba:
> > https://git-wip-us.apache.org/repos/asf?p=incubator-
> > mnemonic.git;a=commit;h=
> > 9861eb1e80edf46f600c3c5dd7f7e08255b278ba
> >
> > Release artifacts are signed with the following key:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
> >
> > KEYS file available:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
> >
> > For information about the contents of this release, see:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> > 9.0-incubating-rc2/CHANGES.txt
> >
> > The vote will be open for ~72 hours.
> > Please download the release candidate and evaluate the necessary items
> > including checking hashes, signatures, build from source, and test.  The
> > please vote:
> >
> > [ ] +1 Release this package as apache-mnemonic-0.9.0-incubating
> > [ ] +0 no opinion
> > [ ] -1 Do not release this package because...
> >
> > Thanks,
> > Johnu on behalf of the Apache Mnemonic (incubating) community
> >
>



--
-Debo~


Mnemonic board report is due.

2017-09-05 Thread Patrick Hunt
Hi folks, the board report is due tomorrow. Please get it submitted asap.

Regards,

Patrick


Re: [VOTE] Release of Apache Mnemonic-0.9.0-incubating [rc2]

2017-09-05 Thread Debojyoti Dutta
+1



On Tue, Sep 5, 2017 at 10:06 AM, Patrick Hunt  wrote:

> +1 - sig/xsum verify, rat ran clean, I was able to compile the code ok.
>
> Patrick
>
> On Fri, Sep 1, 2017 at 4:26 PM, Johnu  wrote:
>
> > Hi all,
> >
> > This is a call for a releasing Apache Mnemonic
> > 0.9.0-incubating, release candidate rc2. This
> > is the new release of Mnemonic incubating.
> >
> > The source tarball, including signatures, digests, etc. can be found at:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> > 9.0-incubating-rc2/src/
> >
> > The tag to be voted upon is v0.9.0-incubating:
> > https://git-wip-us.apache.org/repos/asf?p=incubator-mnemonic
> > .git;a=shortlog;h=refs/tags/v0.9.0-incubating
> >
> > The release hash is 9861eb1e80edf46f600c3c5dd7f7e08255b278ba:
> > https://git-wip-us.apache.org/repos/asf?p=incubator-
> > mnemonic.git;a=commit;h=
> > 9861eb1e80edf46f600c3c5dd7f7e08255b278ba
> >
> > Release artifacts are signed with the following key:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
> >
> > KEYS file available:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
> >
> > For information about the contents of this release, see:
> > https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> > 9.0-incubating-rc2/CHANGES.txt
> >
> > The vote will be open for ~72 hours.
> > Please download the release candidate and evaluate the necessary items
> > including checking hashes, signatures, build from source, and test.  The
> > please vote:
> >
> > [ ] +1 Release this package as apache-mnemonic-0.9.0-incubating
> > [ ] +0 no opinion
> > [ ] -1 Do not release this package because...
> >
> > Thanks,
> > Johnu on behalf of the Apache Mnemonic (incubating) community
> >
>



-- 
-Debo~


Re: [VOTE] Release of Apache Mnemonic-0.9.0-incubating [rc2]

2017-09-05 Thread Patrick Hunt
+1 - sig/xsum verify, rat ran clean, I was able to compile the code ok.

Patrick

On Fri, Sep 1, 2017 at 4:26 PM, Johnu  wrote:

> Hi all,
>
> This is a call for a releasing Apache Mnemonic
> 0.9.0-incubating, release candidate rc2. This
> is the new release of Mnemonic incubating.
>
> The source tarball, including signatures, digests, etc. can be found at:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> 9.0-incubating-rc2/src/
>
> The tag to be voted upon is v0.9.0-incubating:
> https://git-wip-us.apache.org/repos/asf?p=incubator-mnemonic
> .git;a=shortlog;h=refs/tags/v0.9.0-incubating
>
> The release hash is 9861eb1e80edf46f600c3c5dd7f7e08255b278ba:
> https://git-wip-us.apache.org/repos/asf?p=incubator-
> mnemonic.git;a=commit;h=
> 9861eb1e80edf46f600c3c5dd7f7e08255b278ba
>
> Release artifacts are signed with the following key:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
>
> KEYS file available:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/KEYS
>
> For information about the contents of this release, see:
> https://dist.apache.org/repos/dist/dev/incubator/mnemonic/0.
> 9.0-incubating-rc2/CHANGES.txt
>
> The vote will be open for ~72 hours.
> Please download the release candidate and evaluate the necessary items
> including checking hashes, signatures, build from source, and test.  The
> please vote:
>
> [ ] +1 Release this package as apache-mnemonic-0.9.0-incubating
> [ ] +0 no opinion
> [ ] -1 Do not release this package because...
>
> Thanks,
> Johnu on behalf of the Apache Mnemonic (incubating) community
>