v1.12 docs: Use stable-v0.14.txt for cilium-cli version

The next cilium-cli release is v0.15.0 with Helm mode as the default installation mode. Continue to use v0.14 cilium-cli for v1.12 docs since we haven't validated v1.12 docs using Helm mode.
Also change the branch name from master to main. The default branch name recently changed from master to main in cilium-cli repo.
Ref: https://github.com/cilium/cilium-cli/pull/1759
Ref: #26430

this pull request only modifies a file under Documentation/ directory, so no need to run the full CI. merging 🚀


Torque Scheduler Support

Hello LatentStrain Team,
Currently our HPC uses the Torque scheduling software for job execution, as do many other HPC systems. Is there currently any support for this architecture. If not would you be able to show me the individual commands executed to perform the "Analyzing Data sets" so I can make my own submission scripts.
Many Thanks,
Brian

Hello Latent Strain,
Working on doing this if it has not been done.
Cheers
Brian

Hi Brian,
Sorry for the earlier non-reply. That's great to hear that you're doing it!
If you haven't already done so, you can see how the various job submission
scripts are created in LSF_scripts/create_jobs.py.
You'll be able to create some of these submission scripts without having a
project already going, and for others you'll need certain directory
structures and files in place (the size of job arrays is determined from
file counts in many cases). One thing you could try is to setup and run the
test data (no distributed computing required), then, with all these
directories and files in place, run the various commands to create the
submission scripts. This way you'll get to see what the final submission
script at each step is supposed to look like (keeping in mind that the size
of the array should be variable).
I hope this helps!
On Wed, Oct 28, 2015 at 6:14 PM, mbcouger<EMAIL_ADDRESS>wrote:

Hello Latent Strain,
Working on doing this if it has not been done.
Cheers
Brian
—
Reply to this email directly or view it on GitHub
https://github.com/brian-cleary/LatentStrainAnalysis/issues/4#issuecomment-152014147
.

Hello Brian,
No Issue at all, really glad to see this software released an the Nature Biotech Publication, scaling has been a huge problem for quiet some time with metagnomemics. I have started looking through the python scripts and how to adapt them to a different scheduler. Once I am further along or have any questions I will send you an update.
Cheers,
Brian

Hello all,
FYI I am currently working on adapting the LSF submission script to SLURM for my cluster. At this point not sure whether I will reconfigure create_job.py or just rewrite the individual job scripts calling SLURM variables rather than BSUB. Either way I will keep this thread posted on any progress or issues.
Cheers,


Can't open allure report in chrome and IE

But in FF it works fine, in chrome and ie I got always just 'loading' icon

https://github.com/allure-framework/allure-core/wiki/FAQ-and-Troubleshooting#i-see-nothing-when-opening-the-report-page-in-my-browser--access-denied-message


[3/6] Arm(R) Ethos(TM)-U NPU TIR compiler with conv2d support

This commit adds the lowering passes necessary to lower an NPU Relay module down to a TIR module that can be compiled for the NPU. Conv2d is supported as the first NPU operator. An intermediate TE stage between Relay and TIR allows support for scheduling the operators.
This PR implements P3 on our tracking issue for initial Ethos-U support in TVM: https://github.com/apache/tvm/issues/8482. Our RFC can be found here: https://github.com/apache/tvm-rfcs/pull/11.

Thanks for the contribution guys!
I know how painful of a request this is, but is there any way you guys could logically split this up into smaller sets of changes? I know I am one of the worst offenders of very large PRs but an 8k PR is very hard/nearly impossible to review well in one shot.
My hope is for us to build wider understanding of these big changes so we can spread the future review and maintenance burden across many people. For example @areusch has the most context but is on vacation for the next couple of weeks.

I appreciate this doesn't exactly trivialize the patch, but it's actually 'only' 4k lines because this is on top of https://github.com/apache/tvm/pull/8795. I've got this as draft until that PR gets merged to give visibility, but I'm not expecting this to necessarily get reviewed until the dependent PR gets merged.
The particular problem we have splitting this PR up is that we need to introduce an operator alongside some of the compiler support so that we can test it. That's not to say it's impossible though, and if you still think 4k is too much I'm happy to explore some options to reduce it further.

Sounds good let's focus on #8795 first and then we can revisit this one afterwards!

a friendly ping @mbs-octoml @jroesch , this is ready for review now.

I've left 4 comments above.

I've left 4 comments above.

@mbs-octoml Not sure if this is a GitHub bug on my end, but I can't see your comments. Could you check that you've submitted the review?

D'oh - forgot to hit submit.

Hi All,
In order to unblock reviews for the rest of the PRs (4/6 --> 6/6), we are committing to address the comments in P3a as mentioned here : https://github.com/apache/tvm/issues/8482.
Having said that, can we get this in ? @mbaret

Thanks @manupa-arm @mbaret @areusch @jroesch @mbs-octoml, this is merged now.


node-gyp rebuild issues

Hi,
i have node 6.2.0 and npm latest versions. I'm unable to install libxmljs due to node-gyp rebuild issues:
[gundetir@c4t05733 test]$ npm i --save libxmljs

<EMAIL_ADDRESS>install /home/gundetir/projects/test/node_modules/libxmljs
node-gyp rebuild

make: Entering directory /home/gundetir/projects/test/node_modules/libxmljs/build'   CC(target) Release/obj.target/libxml/vendor/libxml/buf.o   CC(target) Release/obj.target/libxml/vendor/libxml/catalog.o   CC(target) Release/obj.target/libxml/vendor/libxml/chvalid.o   CC(target) Release/obj.target/libxml/vendor/libxml/dict.o   CC(target) Release/obj.target/libxml/vendor/libxml/encoding.o   CC(target) Release/obj.target/libxml/vendor/libxml/entities.o   CC(target) Release/obj.target/libxml/vendor/libxml/error.o   CC(target) Release/obj.target/libxml/vendor/libxml/globals.o   CC(target) Release/obj.target/libxml/vendor/libxml/hash.o   CC(target) Release/obj.target/libxml/vendor/libxml/HTMLparser.o ../vendor/libxml/HTMLparser.c: In function ‘htmlParseElementInternal’: ../vendor/libxml/HTMLparser.c:4403: warning: missing initializer ../vendor/libxml/HTMLparser.c:4403: warning: (near initialization for ‘node_info.begin_pos’)   CC(target) Release/obj.target/libxml/vendor/libxml/HTMLtree.o   CC(target) Release/obj.target/libxml/vendor/libxml/legacy.o   CC(target) Release/obj.target/libxml/vendor/libxml/list.o   CC(target) Release/obj.target/libxml/vendor/libxml/parser.o   CC(target) Release/obj.target/libxml/vendor/libxml/parserInternals.o   CC(target) Release/obj.target/libxml/vendor/libxml/pattern.o   CC(target) Release/obj.target/libxml/vendor/libxml/relaxng.o   CC(target) Release/obj.target/libxml/vendor/libxml/SAX2.o   CC(target) Release/obj.target/libxml/vendor/libxml/SAX.o   CC(target) Release/obj.target/libxml/vendor/libxml/tree.o   CC(target) Release/obj.target/libxml/vendor/libxml/threads.o   CC(target) Release/obj.target/libxml/vendor/libxml/uri.o   CC(target) Release/obj.target/libxml/vendor/libxml/valid.o   CC(target) Release/obj.target/libxml/vendor/libxml/xinclude.o   CC(target) Release/obj.target/libxml/vendor/libxml/xlink.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlIO.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlmemory.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlmodule.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlreader.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlregexp.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlsave.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlschemas.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlschemastypes.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlstring.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlunicode.o   CC(target) Release/obj.target/libxml/vendor/libxml/xmlwriter.o   CC(target) Release/obj.target/libxml/vendor/libxml/xpath.o In file included from ../vendor/libxml/xpath.c:462: ../vendor/libxml/timsort.h: In function ‘libxml_domnode_tim_sort_collapse’: ../vendor/libxml/timsort.h:405: warning: comparison between signed and unsigned integer expressions ../vendor/libxml/xpath.c: At top level: ../vendor/libxml/trionan.c:218: warning: ‘trio_is_negative’ defined but not used ../vendor/libxml/xpath.c: In function ‘xmlXPathCastNumberToString’: ../vendor/libxml/xpath.c:3197: warning: array subscript is above array bounds   CC(target) Release/obj.target/libxml/vendor/libxml/xpointer.o   AR(target) Release/obj.target/vendor/libxml/xml.a   COPY Release/xml.a   CXX(target) Release/obj.target/xmljs/src/libxmljs.o In file included from ../src/libxmljs.cc:3: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:341: error: expected unqualified-id before ‘using’ /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:358: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:365: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:369: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:437: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: At global scope: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:477: error: expected unqualified-id before ‘using’ /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:809: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:834: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:846: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: At global scope: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:871: error: expected unqualified-id before ‘using’ /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:1108: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:1114: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:3246: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: At global scope: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:4463: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:4479: error: ‘nullptr’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:7348: error: ‘nullptr’ was not declared in this scope In file included from ../../nan/nan.h:184,                  from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan_maybe_43_inl.h: At global scope: ../../nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before ‘using’ ../../nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before ‘using’ ../../nan/nan_maybe_43_inl.h:19: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:24: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:31: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:36: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:41: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:46: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:51: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:60: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:65: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:70: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:77: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:84: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:92: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:99: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:109: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:115: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:119: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:126: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:131: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:136: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:140: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:146: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:151: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:157: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:163: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:169: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:175: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:181: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:187: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:195: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:202: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:206: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:210: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:214: error: expected initializer before ‘<’ token ../../nan/nan_maybe_43_inl.h:218: error: expected initializer before ‘<’ token In file included from ../../nan/nan.h:189,                  from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan_converters.h:14: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type ../../nan/nan_converters.h:14: error: expected ‘;’ before ‘<’ token ../../nan/nan_converters.h:16: error: ISO C++ forbids declaration of ‘Maybe’ with no type ../../nan/nan_converters.h:16: error: expected ‘;’ before ‘<’ token ../../nan/nan_converters.h:26: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:27: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:28: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:29: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:30: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:31: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:32: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:42: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:43: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:44: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:45: error: ‘return_t’ does not name a type ../../nan/nan_converters.h:46: error: ‘return_t’ does not name a type In file included from ../../nan/nan_converters.h:59,                  from ../../nan/nan.h:189,                  from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan_converters_43_inl.h:18: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Boolean>’ does not name a type ../../nan/nan_converters_43_inl.h:19: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Number>’ does not name a type ../../nan/nan_converters_43_inl.h:20: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::String>’ does not name a type ../../nan/nan_converters_43_inl.h:21: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Object>’ does not name a type ../../nan/nan_converters_43_inl.h:22: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Integer>’ does not name a type ../../nan/nan_converters_43_inl.h:23: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Uint32>’ does not name a type ../../nan/nan_converters_43_inl.h:24: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Int32>’ does not name a type ../../nan/nan_converters_43_inl.h:34: error: ‘return_t’ in class ‘Nan::imp::ToFactory<bool>’ does not name a type ../../nan/nan_converters_43_inl.h:35: error: ‘return_t’ in class ‘Nan::imp::ToFactory<double>’ does not name a type ../../nan/nan_converters_43_inl.h:36: error: ‘return_t’ in class ‘Nan::imp::ToFactory<long int>’ does not name a type ../../nan/nan_converters_43_inl.h:37: error: ‘return_t’ in class ‘Nan::imp::ToFactory<unsigned int>’ does not name a type ../../nan/nan_converters_43_inl.h:38: error: ‘return_t’ in class ‘Nan::imp::ToFactory<int>’ does not name a type In file included from ../../nan/nan.h:190,                  from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’: ../../nan/nan_new.h:21: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’ ../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’: ../../nan/nan_new.h:28: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’ ../../nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’: ../../nan/nan_new.h:35: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’ ../../nan/nan_new.h: At global scope: ../../nan/nan_new.h:43: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type ../../nan/nan_new.h:43: error: expected ‘;’ before ‘<’ token ../../nan/nan_new.h:75: error: ‘return_t’ does not name a type ../../nan/nan_new.h:141: error: ‘return_t’ does not name a type ../../nan/nan_new.h:147: error: ‘return_t’ does not name a type ../../nan/nan_new.h:148: error: ‘return_t’ does not name a type ../../nan/nan_new.h:160: error: ‘return_t’ does not name a type ../../nan/nan_new.h:161: error: ‘return_t’ does not name a type ../../nan/nan_new.h:162: error: ‘return_t’ does not name a type ../../nan/nan_new.h:163: error: ‘return_t’ does not name a type ../../nan/nan_new.h:165: error: ‘return_t’ does not name a type ../../nan/nan_new.h:166: error: ‘return_t’ does not name a type ../../nan/nan_new.h:182: error: ‘return_t’ does not name a type ../../nan/nan_new.h:183: error: ‘return_t’ does not name a type In file included from ../../nan/nan_new.h:189,                  from ../../nan/nan.h:190,                  from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan_implementation_12_inl.h:56: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Date>’ does not name a type ../../nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’: ../../nan/nan_implementation_12_inl.h:90: error: ‘NewInstance’ was not declared in this scope ../../nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)’: ../../nan/nan_implementation_12_inl.h:118: error: ‘NewInstance’ was not declared in this scope ../../nan/nan_implementation_12_inl.h: At global scope: ../../nan/nan_implementation_12_inl.h:198: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type ../../nan/nan_implementation_12_inl.h:217: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type ../../nan/nan_implementation_12_inl.h:223: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type ../../nan/nan_implementation_12_inl.h:255: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_implementation_12_inl.h:263: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_implementation_12_inl.h:269: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_implementation_12_inl.h:276: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_implementation_12_inl.h:282: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_implementation_12_inl.h:287: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_implementation_12_inl.h:348: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type ../../nan/nan_implementation_12_inl.h:355: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type In file included from ../../nan/nan.h:190,                  from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan_new.h:291: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_new.h:297: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_new.h:303: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_new.h:309: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_new.h:315: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_new.h:321: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../../nan/nan_new.h:327: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type In file included from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan.h:592: error: variable or field ‘AddGCEpilogueCallback’ declared void ../../nan/nan.h:592: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ ../../nan/nan.h:593: error: expected primary-expression before ‘gc_type_filter’ ../../nan/nan.h:598: error: variable or field ‘RemoveGCEpilogueCallback’ declared void ../../nan/nan.h:598: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ ../../nan/nan.h:603: error: variable or field ‘AddGCPrologueCallback’ declared void ../../nan/nan.h:603: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ ../../nan/nan.h:604: error: expected primary-expression before ‘gc_type_filter’ ../../nan/nan.h:609: error: variable or field ‘RemoveGCPrologueCallback’ declared void ../../nan/nan.h:609: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’: ../../nan/nan.h:641: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::ThrowError(const char*)’: ../../nan/nan.h:641: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’: ../../nan/nan.h:642: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’: ../../nan/nan.h:642: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’: ../../nan/nan.h:643: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’: ../../nan/nan.h:643: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’: ../../nan/nan.h:644: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’: ../../nan/nan.h:644: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’: ../../nan/nan.h:645: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’: ../../nan/nan.h:645: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: At global scope: ../../nan/nan.h:653: error: expected initializer before ‘<’ token ../../nan/nan.h:675: error: expected initializer before ‘<’ token ../../nan/nan.h:691: error: expected initializer before ‘<’ token ../../nan/nan.h:704: error: expected initializer before ‘<’ token ../../nan/nan.h:721: error: expected initializer before ‘<’ token ../../nan/nan.h:727: error: expected initializer before ‘<’ token ../../nan/nan.h:735: error: expected initializer before ‘<’ token ../../nan/nan.h:742: error: expected initializer before ‘<’ token ../../nan/nan.h:748: error: expected initializer before ‘<’ token /home/gundetir/.node-gyp/6.2.0/include/node/v8.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’: /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:3067: error: argument dependent lookup finds ‘class v8::Set’ ../../nan/nan.h:1368: error:   in call to ‘Set’ ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’: ../../nan/nan.h:1490: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’: ../../nan/nan.h:1508: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’: ../../nan/nan.h:1542: error: no matching function for call to ‘New(const char*)’ ../../nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’: ../../nan/nan.h:1831: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available ../../nan/nan.h:1831: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../nan/nan.h:1832: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’: ../../nan/nan.h:1844: error: ‘GetFunction’ was not declared in this scope ../../nan/nan.h:1845: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: ../../nan/nan.h:1870: error: ‘NewInstance’ was not declared in this scope ../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’: ../../nan/nan.h:1915: error: ‘NewInstance’ was not declared in this scope ../../nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’: ../../nan/nan.h:1965: error: ‘NewInstance’ was not declared in this scope ../../nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’: ../../nan/nan.h:2045: error: ‘NewInstance’ was not declared in this scope In file included from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’: ../../nan/nan.h:2116: error: no matching function for call to ‘New(const char*&)’ ../../nan/nan.h:2117: error: ‘GetFunction’ was not declared in this scope /home/gundetir/.node-gyp/6.2.0/include/node/v8.h:3067: error: argument dependent lookup finds ‘class v8::Set’ ../../nan/nan.h:2117: error:   in call to ‘Set’ ../../nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’: ../../nan/nan.h:2124: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’ ../../nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’: ../../nan/nan.h:2137: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../../nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’: ../../nan/nan.h:2143: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ In file included from ../src/libxmljs.cc:8: ../src/xml_document.h: At global scope: ../src/xml_document.h:23: error: ‘v8::Handle’ has not been declared ../src/xml_document.h:23: error: expected ‘,’ or ‘...’ before ‘<’ token In file included from ../src/libxmljs.cc:9: ../src/xml_node.h:32: error: ‘v8::Handle’ has not been declared ../src/xml_node.h:32: error: expected ‘,’ or ‘...’ before ‘<’ token In file included from ../src/libxmljs.cc:10: ../src/xml_sax_parser.h:16: error: ‘v8::Handle’ has not been declared ../src/xml_sax_parser.h:16: error: expected ‘,’ or ‘...’ before ‘<’ token In file included from ../src/libxmljs.cc:11: ../src/xml_namespace.h:19: error: ‘v8::Handle’ has not been declared ../src/xml_namespace.h:19: error: expected ‘,’ or ‘...’ before ‘<’ token ../src/libxmljs.cc: In function ‘v8::Local<v8::Object> libxmljs::listFeatures()’: ../src/libxmljs.cc:197: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:197: error: no matching function for call to ‘New(const char [7])’ ../src/libxmljs.cc:198: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:198: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:199: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:199: error: no matching function for call to ‘New(const char [7])’ ../src/libxmljs.cc:200: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:200: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:201: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:201: error: no matching function for call to ‘New(const char [7])’ ../src/libxmljs.cc:202: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:202: error: no matching function for call to ‘New(const char [8])’ ../src/libxmljs.cc:203: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:203: error: no matching function for call to ‘New(const char [7])’ ../src/libxmljs.cc:204: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:204: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:205: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:205: error: no matching function for call to ‘New(const char [4])’ ../src/libxmljs.cc:206: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:206: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:207: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:207: error: no matching function for call to ‘New(const char [6])’ ../src/libxmljs.cc:208: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:208: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:209: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:209: error: no matching function for call to ‘New(const char [7])’ ../src/libxmljs.cc:210: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:210: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:211: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:211: error: no matching function for call to ‘New(const char [8])’ ../src/libxmljs.cc:212: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:212: error: no matching function for call to ‘New(const char [6])’ ../src/libxmljs.cc:213: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:213: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:214: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:214: error: no matching function for call to ‘New(const char [9])’ ../src/libxmljs.cc:215: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:215: error: no matching function for call to ‘New(const char [6])’ ../src/libxmljs.cc:216: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:216: error: no matching function for call to ‘New(const char [9])’ ../src/libxmljs.cc:217: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:217: error: no matching function for call to ‘New(const char [8])’ ../src/libxmljs.cc:218: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:218: error: no matching function for call to ‘New(const char [7])’ ../src/libxmljs.cc:219: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:219: error: no matching function for call to ‘New(const char [9])’ ../src/libxmljs.cc:220: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:220: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:221: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:221: error: no matching function for call to ‘New(const char [8])’ ../src/libxmljs.cc:222: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:222: error: no matching function for call to ‘New(const char [11])’ ../src/libxmljs.cc:223: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:223: error: no matching function for call to ‘New(const char [8])’ ../src/libxmljs.cc:224: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:224: error: no matching function for call to ‘New(const char [6])’ ../src/libxmljs.cc:225: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:225: error: no matching function for call to ‘New(const char [10])’ ../src/libxmljs.cc:226: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:226: error: no matching function for call to ‘New(const char [10])’ ../src/libxmljs.cc:227: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:227: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc:228: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:228: error: no matching function for call to ‘New(const char [4])’ ../src/libxmljs.cc:229: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:229: error: no matching function for call to ‘New(const char [5])’ ../src/libxmljs.cc: In function ‘void libxmljs::init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’: ../src/libxmljs.cc:249: error: no matching function for call to ‘libxmljs::XmlDocument::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE&)’ ../src/xml_document.h:23: note: candidates are: static void libxmljs::XmlDocument::Initialize(int) ../src/libxmljs.cc:250: error: no matching function for call to ‘libxmljs::XmlSaxParser::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE&)’ ../src/xml_sax_parser.h:16: note: candidates are: static void libxmljs::XmlSaxParser::Initialize(int) ../src/libxmljs.cc:252: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:252: error: no matching function for call to ‘New(const char [15])’ ../src/libxmljs.cc:253: error: no matching function for call to ‘New(const char [6])’ ../src/libxmljs.cc:255: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:255: error: no matching function for call to ‘New(const char [22])’ ../src/libxmljs.cc:256: error: no matching function for call to ‘New(const char*&)’ ../src/libxmljs.cc:258: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:258: error: no matching function for call to ‘New(const char [21])’ ../src/libxmljs.cc:261: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:261: error: no matching function for call to ‘New(const char [9])’ ../src/libxmljs.cc:263: error: ‘Set’ is not a member of ‘Nan’ ../src/libxmljs.cc:263: error: no matching function for call to ‘New(const char [7])’ In file included from ../src/libxmljs.h:7,                  from ../src/libxmljs.cc:7: ../../nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with T = Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE]’: ../src/libxmljs.cc:265:   instantiated from here ../../nan/nan.h:1831: error: ‘GetFunction’ was not declared in this scope make: *** [Release/obj.target/xmljs/src/libxmljs.o] Error 1 make: Leaving directory /home/gundetir/projects/test/node_modules/libxmljs/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/gundetir/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 2.6.32-573.12.1.el6.x86_64
gyp ERR! command "/home/gundetir/node/bin/node" "/home/gundetir/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/gundetir/projects/test/node_modules/libxmljs
gyp ERR! node -v v6.2.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Linux 2.6.32-573.12.1.el6.x86_64
npm ERR! argv "/home/gundetir/node/bin/node" "/home/gundetir/node/bin/npm" "i" "--save" "libxmljs"
npm ERR! node v6.2.0
npm ERR! npm  v3.8.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libxmljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs libxmljs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls libxmljs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/gundetir/projects/test/npm-debug.log
[gundetir@c4t05733 test]$ npm owner ls libxmljs
polotek<EMAIL_ADDRESS>defunctzombie<EMAIL_ADDRESS>[gundetir@c4t05733 test]$ node -v
v6.2.0
[gundetir@c4t05733 test]$ npm -v
3.8.9
[gundetir@c4t05733 test]$

Dup.  Gated by #406 I think.


Region API

Hello!
In this thread some people had discussed about having a Region API.
The Region API should be a thing that a plugin can ask for example:

"Does this player own this block?"
"Who owns this block?"(a list of owners)
"To which 'region' belongs this block?"
"Which blocks belong to this 'region'?"
"Who owns this 'region'?"

I am not sure about the ownership thing(creator, owner, member, ...) and as @gravityfox stated here about multiple 'region' provider.

I'm not really sure that this should be in the API.
The current 'creator and 'notifier' concepts in the API don't really have to do with ownership - they're purely a tracking concept. The 'creator' represents the player that originally spawned an entity/set a BlockSnapshot, while the 'notifier' represents the last player to trigger a block update (it's currently not set for entities).
What you're describing could be exposed by an individual protection plugin, but doesn't really belong in the API. Any such regions should be completely transparent to a plugin. Instead, a plugin can provide the Player it's performing an action on behalf of. This could be in the form of a Context when checking permissions, or a Cause object when setting a block.
The advantage to this approach is that it doesn't require the plugin to be aware of the underlying regions, or if there are regions at all. A protection plugin can simply cancel an event as necessary, based on the information (usually a Player) provided by the calling plugin.

My problem was that my plugin had to check before registering a block to its system if the player has build permission on this block. My only idea was to provide a command to go in edit mode in which the player has to switch before breaking the block. If the player break wasn't undone by any other plugin I assumed that the player has build permissions there.
It would definitely a better user experience to just check via an unified API if the player has permissions. Otherwise I would have to rely on the different APIs by WorldGuard, FoxGuard, RedProtect and others.

I think the biggest problem occurs, is when you are trying to work out if a player has permission to perform an action remotely at a given location.
E.g. Player wants to create a dangerous plugin provided thing. plugin wants to check explicitly for whether the player is trying to perform this action in an area where they would be allowed to place / break blocks.
 Sure it works, but other plugins assume a block was placed.
Check to see if a player has permission? The contextCalculators for the current player, are basing their checks based on the players current position, not at the position that the player is currently acting on. This means that you could stand outside of spawn, and create a dangerous thing just inside the boundary of spawn...
Provide a contextCalculator that evaluates to see whether the player is currently performing an action in a different context? Sounds like it's going to get messy fast.
Possible Solutions?

Have explicit support for acting at a remote distance with permissions / contexts.

Have some way of querying whether a player is an owner/member of an area.

Somehow have a context calculator that is action aware, and can tell where a player is interacting with.

Something else?

I would vote for 3. because Contexts are already there. So we have one thing, the Context, for direct and remote things.

I've been working on a region service for my modular Sponge plugin, and have been researching a few Bukkit region plugins for inspiration. @randombyte-developer, I think you are being a bit specific about what you want from regions, which is why there is pushback on putting it in the API.
It seems that all a service provider for regions needs to implement is a Region getRegion(Location) method. That way, an implementer can choose how to create/modify/delete regions (align with chunks? polygon shapes? have a limited height? can they overlap?) and other features (ownership? protections? notifications when entering/leaving? prevent physics?). Any other plugin would need to simply get a Region object by Location and determine how to act.
Am I totally off base here?

If anything, I think that's really what a region is. It's just a bounded area.
Foxguard already has regions defined that way. The IRegion class just has a few contains() methods for determining whether an entity or block is inside or outside the region.
There are then utility methods for getting all of the regions at a certain location.

As @Aaron1011 said, I'm not really sure that this should be in the API - this is something for plugins to do.

Actually.  The event can be a stub with nothing but the very basics.

First, it seems that all of this back and forth is because it isn't clear what the feature requests in the OP have to do with a Region API. I think Regions could possibly help for those features, but I agree that you can build these features without Regions. However, given that the issue title is about Regions, can we either shift the conversation back to Regions or can we change the title of this issue? If we're only going to give feedback on the specific features in the description, then the title doesn't reflect the discussion and I will gladly open a more relevant conversation in a different issue.
@gravityfox - I agree with you that region implementations belong in plugins. I'm glad FoxGuard has it as a feature. I'm not understanding the argument that because FoxGuard does it, how does it follow it doesn't belong in the API? How is it any different from the Economy API? Is it because lots of people want to make Economy plugins but few people want to do Regions? I would argue that having a common way to register regions across plugins would allow for some interesting features. And without an abstract API definition, each plugin has to maintain its own regions and server operators have to copy/redefine/recreate regions in each plugin that they want to use? It would be nice to be able to choose your Region system and be able to have plugins access your region list and build features around it.

I don't think I ever said that A Region API shouldn't be part of Sponge. It's just that @randombyte-developer is selling a specific use case that actually doesn't need a Region API at all. In fact, after a few conversations with @Aaron1011, we found several cases in which a Region API would be counterproductive for this purpose. A few things came out of that conversation which are worthy of note:

Regions may not actually offer protection at all, and a region provider may actually just define zones for other purposes.
There are valid example-cases where non-protection plugins that would have nothing to do with a hypothetical Region API could still cancel block events in a large area. In these cases, @randombyte-developer's use-case would break, because a plugin like that would not be providing regions.
Then this statement was made: "Ask for forgiveness, not for permission." It's better for a plugin to just do what it's going to do, and let the event bus figure out what to do with the action. If it gets canceled then it gets canceled, and the acting plugin should figure out what to do from there.
SetBlock should be changed along with the cause tracking refactor to return something more useful, so plugins that try to set a block can figure out whether the event was canceled or changed in some way.

There were some other points made, but those are the highlights I think.
Now, a Region API could be used for a lot of other things, and in that case, that could actually be great. However. an example use case does not immediately jump to mind, so if anyone has any ideas as to what a Region API could be useful for, that would help this conversation a great deal.

Meanwhile, I worked around this issue. But it would be cool if a plugin could check if a block is modifiable by a player. If the plugin would just register a block and some time later the plugin would actually modify the block the first time, the plugin could just modify it, without being cancelled because the cancelling plugin has no context who indirectly modified the block by registering it to the plugin. If the cancelling would know who indirectly modified the block the message "You don't have permission here" would be confusing to the player because he doesn't know that the plugin changed blocks in his context. Apart from that, the plugin could do other things like cancelling spawn events. Then the plugin couldn't even know if this action gets uncancelled.
So I'd now go for just checking if a player can modify a block.

@randombyte-developer - thanks for clearing up the issue title
@gravityfox - I apologize. You are correct. I've been very confused by people replying to the OP's use case and not talking about regions. Looks like we may need a separate issue after all.


What's the different about "url" "url_from_event" and "url_from_event"?

e.g
anget A get url list.
anget B check the url page.
set  B
url : {{url}}
it's looks worked.
B can get the url form A , just set {{url}},
some times   A cant's get the page . only some "id"
I can use B set  url: http://some site / pageid={{id}}
it's still worked.
So I don't understand What's the different about "url" "url_from_event" and "url_from_event"
Thanks a lot

Hi,
to be honest I don't think there is a difference anymore, both url and url_from_event are Liquid interpolated with the received event.
Maybe @knu knows if I am missing something.

Hi @dsander
thanks you.
i found some answers like this

ur: http...,
url_from_event:{{another_url_form_event}}

i think that's means i can set tow url values
one it's url . can be {{value}} , or http... write directly.
another it's url_from_event can be {{value}} from event
this 2 can work same time.
@knu  it's that right?
thanks guys

I think there are a couple of reasons: one is as described in #1205, WebsiteAgent had once only had url defaulted to the value url from the payload of an incoming event, and one would easily get unexpected behavior when an event had a key named url when what one really wanted was merge.  Hence the migration to the new key named url_from_event.
As a bonus, you can see clearly that if a WebsiteAgent has only url_from_event set and no url it will run only when receiving an event and will not work alone.


Enhancement Request - open files in new tab/window

Could you add an option that will allow files to open in new tab by adding target='_blank' to the file anchors?
Even better, if you could allow an array of file extensions as an option which would compare and apply the target attribute if matched?
Thanks

Are you not able to achieve this by using the template option (https://github.com/expressjs/serve-index#template) given a function?

Ah yes of course.  Thanks


library does not compile with (at least) Xcode 12.0-12.4

So, I don't know if this is even something you would want to--or even could!--fix, but I noticed that yesterday you committed a change 9496593f8b0cfcfd47af61804d540181d2ff8f6d that would seem to imply you are testing with Xcode. I thereby figured I should at least mention the issue to see what the conclusion might be (and document it for others).
It could very well be that you are simply--as often am I--an old version of Xcode (whether because you know it won't work on newer ones or because you, like me, are usually stuck on 11.3.1 due to refuse no to upgrade to Catalina... I presume that is very-sadly rare, though ;P).
./vpn/shared/p2p/ctre/single-header/ctre.hpp:724:29: error: use of class template 'fixed_string' requires template arguments; argument deduction not allowed in template parameter
4477
template <typename Grammar, ctll::fixed_string input, typename ActionSelector = empty_actions, bool IgnoreUnknownActions = false> struct parser { // in c++20
4478
                            ^~~~

This seems to be caused by the following LLVM bug, which has already been fixed, but which hasn't been merged into Xcode.
https://bugs.llvm.org/show_bug.cgi?id=47841
As stated, Xcode 11 works, just not Xcode 12. I haven't tested to see if the upcoming Xcode 12.5--which is sadly only supported on macOS 11, which is going to cause massive delays with CI--has this issue fixed (if it doesn't, they sadly went into RC a few days ago, so I could see being forced to wait until Xcode 13).

Hi, I don't have pre-Catalina macOs available right now. But I will try to help you, can you please let me know values of these defines:
__cpp_nontype_template_parameter_class
__cpp_nontype_template_args
__clang_major__

It seems for a reason it triggers the c++20 version of API, which surely xcode didn't implement. As in upstream clang released it a few weeks ago.

Ah, I can see it in CI now I added xcode12.
https://travis-ci.org/github/hanickadot/compile-time-regular-expressions/jobs/768333013
Will try to fix it soon.

ok, it should be ok, but I will wait for the CI to finish

❤ Thank you for reporting it! I wouldn't notice.

Hi, I don't have pre-Catalina macOs available right now.

Oh, I guess I was confusing: Xcode 12 is the latest version of Xcode; if worked fine on Xcode 11 (and so I noted that maybe you--like me--are using old versions of Xcode for some reason).
Regardless: thanks!! (I filed this issue and then immediately went to do other tasks for a while, so I am sorry I wasn't more helpful with the values of the various #defines, but I am even more excited that this is now set up in your CI.)

It seems for a reason it triggers the c++20 version of API, which surely xcode didn't implement. As in upstream clang released it a few weeks ago.

Ah! I didn't realize that the underlying feature wasn't broken but simply not implemented (and then bypassed by Xcode 11). The issue--as you figured out--is that Apple's clang broke the ability to use clang_major directly by changing the semantics of it to match their Xcode releases instead of "the upstream equivalent clang".


Fixed incomplete sentence in the docs

Follow the instructions here to run your own Sui Full.

Follow the instructions here to run your own Sui Full Node.

As long as we follow a convention, it is good. Thanks @ronny-mysten.


TF 2.0 TPUStrategy error 'explicit_paddings' not in Op<name=Conv2D; ...>

System information

TensorFlow version: 2.0.0-alpha0
Python version: 3.6
Environment: Google Collaboratory with TPU

Describe the current behavior
I'm trying to do TPUStrategy for tensorflow 2.0 with disabled eager execution. I'm using Keras for the CNN model. When I try to run the .fit function on the model, I get an error:
NodeDef mentions attr 'explicit_paddings' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_HALF, DT_BFLOAT16, DT_FLOAT, DT_DOUBLE]; attr=strides:list(int); attr=use_cudnn_on_gpu:bool,default=true; attr=padding:string,allowed=["SAME", "VALID"]; attr=data_format:string,default="NHWC",allowed=["NHWC", "NCHW"]; attr=dilations:list(int),default=[1, 1, 1, 1]>; NodeDef: {{node conv2d/Conv2D}}. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
Code to reproduce the issue
Google Collaboratory notebook: https://gist.github.com/thatsmesasha/0b7cca49517987166f479382158d2d42

TPUs are not yet supported with TensorFlow 2.0.
You can track this issue to stay up-to-date on progress.

Closing this issue since we already have a tracking issue. Feel free to reopen if have any questions. Thanks!

I am having this problem with TensorFlow 1.13.1 while trt.create_inference_graph


set up compiling under freebsd

add 'freebsd' scope condition to project files
add 'defined FreeBSD' to preprocessor conditions in source files

Can you fix the failing Windows build? It complains about invalid character in .vcxproj file, this character must have come from a .pro file.

Also, I'm very surprise Catch2 (catch.hpp) doesn't support FreeBSD, you should submit your fix to them.

Great, thank you!
Does it actually work on FreeBSD now? Or only compiles successfully?

It runs under FreeBSD ( version 11.3 ),
but with one issue - it takes a long time to load ( about 30 sec. )

Interesting, I have no idea why. Have you tried launching a debugging session and pressing "Pause" during this startup delay to see whether it's spending time?


[SOLVED: use react-native 0.63+ or patch locally] react-native-fbsdk-next:compileDebugJavaWithJavac

Hi, months ago I use react-native-fbsdk and everything is already set. And this week I found that lib is already archived and it says to use react-native-fbsdk-next instead. So, I removed react-native-fbsdk and install react-native-fbsdk-next. I thought I don't need to follow any steps in Android Getting Started Guide because I already done that. I am able to run iOS but get an error in Android:
((my_directory_path))/node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java:16: error: constructor ReactContextBaseJavaModule in class ReactContextBaseJavaModule cannot be applied to given types;
public class FBProfileModule extends ReactContextBaseJavaModule {
^
required: ReactApplicationContext
found: no arguments
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ((my_directory_path))/node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/Utility.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-fbsdk-next:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

I never change anything yet and get this error. Then I open my app/build.gradle and found my old code:
implementation 'com.facebook.android:facebook-core:5.+'
I tried to replace it with:
implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
or
implementation 'com.facebook.android:facebook-core:[8,9)'
but it gives no effect. I also do manually linking but still the same. So can anyone help me to solve this please?
Environment

"react": "16.9.0",
"react-native": "0.61.1",
"react-native-fbsdk-next": "^4.2.0",

I think I solved this with Android Studio help because I'm not so familiar with Java...
In node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java there's no constructor. And as Android Studio suggestion, I click one of it's options (just like eslint fix) and this code is automatically generated:
    public FBProfileModule(@NonNull ReactApplicationContext reactContext) {
        super(reactContext);
    }

Then in node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKPackage.java in createNativeModules function:
new FBProfileModule() is not passing anything.
So, I pass reactContext to it:
new FBProfileModule(reactContext)
is this really how to solved it? Or I am doing it wrong but it still works?

I think I solved this with Android Studio help because I'm not so familiar with Java...
In node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java there's no constructor. And as Android Studio suggestion, I click one of it's options (just like eslint fix) and this code is automatically generated:
    public FBProfileModule(@NonNull ReactApplicationContext reactContext) {
        super(reactContext);
    }

Then in node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKPackage.java in createNativeModules function:
new FBProfileModule() is not passing anything.
So, I pass reactContext to it:
new FBProfileModule(reactContext)
is this really how to solved it? Or I am doing it wrong but it still works?

Only one thing is missing in this which I already recommended in commit review
import com.facebook.react.bridge.ReactApplicationContext;

When can we expect this fix with new release?
It works fine as expected please release this ASAP

@ts-amir-shaikh alternative method is to fix yourself locally until you can update to a modern react-native version - patch-package is the thing everyone uses for this - apply the patch locally and move on: https://github.com/ds300/patch-package

I think I solved this with Android Studio help because I'm not so familiar with Java...
In node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java there's no constructor. And as Android Studio suggestion, I click one of it's options (just like eslint fix) and this code is automatically generated:
    public FBProfileModule(@NonNull ReactApplicationContext reactContext) {
        super(reactContext);
    }

Then in node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKPackage.java in createNativeModules function:
new FBProfileModule() is not passing anything.
So, I pass reactContext to it:
new FBProfileModule(reactContext)
is this really how to solved it? Or I am doing it wrong but it still works?

Only one thing is missing in this which I already recommended in commit review
import com.facebook.react.bridge.ReactApplicationContext;

Yes, I forgot to mention it,  import com.facebook.react.bridge.ReactApplicationContext;

Can this please me mentioned in troubleshooting part of Readme?

I made the title prescriptive and pinned it on the repo. At this point effectively no one should be using 0.62 or lower as it literally does not compile with current Xcode, it's broken completely.

@ts-amir-shaikh alternative method is to fix yourself locally until you can update to a modern react-native version - patch-package is the thing everyone uses for this - apply the patch locally and move on: https://github.com/ds300/patch-package

@mikehardy Yes working with the patch for now

closing as #31 got merged

@ts-amir-shaikh alternative method is to fix yourself locally until you can update to a modern react-native version - patch-package is the thing everyone uses for this - apply the patch locally and move on: https://github.com/ds300/patch-package

@mikehardy Yes working with the patch for now

How should we applying this patch ? I am not familiar with apply patches

I think I solved this with Android Studio help because I'm not so familiar with Java...
In node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBProfileModule.java there's no constructor. And as Android Studio suggestion, I click one of it's options (just like eslint fix) and this code is automatically generated:
    public FBProfileModule(@NonNull ReactApplicationContext reactContext) {
        super(reactContext);
    }

Then in node_modules/react-native-fbsdk-next/android/src/main/java/com/facebook/reactnative/androidsdk/FBSDKPackage.java in createNativeModules function:
new FBProfileModule() is not passing anything.
So, I pass reactContext to it:
new FBProfileModule(reactContext)
is this really how to solved it? Or I am doing it wrong but it still works?

Hello,
I couldn't apply this because my FBProfileModule.java is not familiar with yours example.
I have this:
`package com.facebook.reactnative.androidsdk;
import com.facebook.Profile;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.module.annotations.ReactModule;
import androidx.annotation.NonNull;
/**

This is a {@link NativeModule} that allows JS to use FBSDKProfile info of the current logged user.
*/

@ReactModule(name = FBProfileModule.NAME)
public class FBProfileModule extends ReactContextBaseJavaModule {
public static final String NAME = "FBProfile";
@NonNull
@Override
public String getName() {
return NAME;

}
/**
* Get the current logged profile.
* @param callback Use callback to pass the current logged profile back to JS.
*/
@ReactMethod
public void getCurrentProfile(Callback callback) {
    //Return the profile object as a ReactMap.
    callback.invoke(Profile.getCurrentProfile() == null
            ? null
            : Utility.profileToReactMap(Profile.getCurrentProfile()));

}
}
`
How should i edit this ?

How should i edit this ?

You don't? The fix was merged so it's not necessary. Make sure you are using the current release here before attempting any troubleshooting, otherwise you may end up just chasing ghosts

you're faster than me @mikehardy  :p

Haha just getting that first cup of coffee and rolling through notifications @thebergamo 😁☕ cheers

How should i edit this ?

You don't? The fix was merged so it's not necessary. Make sure you are using the current release here before attempting any troubleshooting, otherwise you may end up just chasing ghosts

:) Well, i am receiving exact same error.
Hence my RN version is 0.61.5 , I use 4.2.0 and cant use 4.3.0 as the document says. So I am looking for a fix on 4.2.0

I believe 4.3.0 was specifically released to restore compatibility with older RN versions. The document may be out of date. How did it go when you tried it?

I believe 4.3.0 was specifically released to restore compatibility with older RN versions. The document may be out of date. How did it go when you tried it?

I did not try it hence document clearly says To use this library you need to ensure you match up with the correct version of React Native you are using..
`

FB SDK
lib version
Required React Native Version

= 9.3.0+ | react-native-fbsdk-next > 4.3.0 | >=0.63.3

`
So I am not talking gibberish mate

Didn't say you were talking gibberish:

I did not try it

I said "The document may be out of date. " not "you're talking gibberish. You should try it, report results.

Didn't say you were talking gibberish:

I did not try it

I said "The document may be out of date. " not "you're talking gibberish." You should try it, report results.

My apologies, you were right! Document needs a correction. It works on both android and iOS perfectly. Sorry I got you wrong. Thanks!

Fantastic! I was about to be really confused if it did not work actually since it was the point of the change before. But documentation frequently goes out of date, yes. I'll hit the edit button at the top of the page and propose a change to the ranges now that we are compatible again

@ugrdursun what do you think of #71 ? I tried to expose the actual technical tradeoff if old versions are used - they do work now and we are not trying to break anyway, but it could happen by accident again since old versions are out of support really, meaning no one tests on them actively

@ugrdursun what do you think of #71 ? I tried to expose the actual technical tradeoff if old versions are used - they do work now and we are not trying to break anyway, but it could happen by accident again since old versions are out of support really, meaning no one tests on them actively

With RN 0.61.5 and library 4.3.0 I did not receive any crash reports on a live app with around 15k+ users

I also have RN 0.61.5 and would like to use the 4.3.0 library if it fixes issues like mentioned above, but when I tried to install it, npm gave an err saying "unable to resolve dependency tree" since the dependency is >=0.63.3
It says
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
Sounds kinda scary to try force things... is this how you did it? @ugrdursun

use older npm or --legacy-peer-deps
but really update react-native for long term stability

I also have RN 0.61.5 and would like to use the 4.3.0 library if it fixes issues like mentioned above, but when I tried to install it, npm gave an err saying "unable to resolve dependency tree" since the dependency is >=0.63.3
It says
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
Not sure if it's ok to force something like this... is this how you did it? @ugrdursun
I usually don't run into situations like this so it's the first time for me where there's a dependency conflict that's hard to get around
I guess a better question is - is it safer/better for long term stability to use 4.2.0 and just try to fix the android issue, or use 4.3.0 despite the dependency conflict?

I am using 4.3.0 with 0.61.5 for more than a month and working fine on me. I think dependency conflict is not that deeper to cause any huge problem here.


Documentation for function variables was not inferred

Search terms
const, function
Expected Behavior
Documentation for function variables should be inferred, i.e. the description, parameter descriptions etc. should be inherited.
interface Callable
{
    /**
     * Convert a number to a string.
     *
     * @param payload A number.
     */
    (payload: number): string;

    /**
     * Convert a string to a number.
     *
     * @param payload A string.
     */
    (payload: string): number;
}

export declare const callable: Callable;

Actual Behavior

Steps to reproduce the bug
Please refer to the code snippet above.
Environment

Typedoc version: 0.20.28
TypeScript version: 4.1.5
Node.js version: 14.15.5
OS: Kubuntu 20.04

This is a really tricky one.
We could technically achieve this by relying on symbol.getDocumentationComment() in order to retrieve the comments... but unfortunately this directly conflicts with some other goals, since then comments on elements using declaration merging would show up in both places:
/** NS docs */
namespace Foo {}
/** Function docs */
function Foo() {}

I also wonder... what's the right solution in a case like this?
/** Does this get ignored? What it if includes important info like @hidden? */
export const callable: Callable = ...

I should really write down somewhere what TypeDoc currently does for comments so that it's easier to propose refinements to what it does...

This is a really tricky one.
We could technically achieve this by relying on symbol.getDocumentationComment() in order to retrieve the comments... but unfortunately this directly conflicts with some other goals, since then comments on elements using declaration merging would show up in both places:
/** NS docs */
namespace Foo {}
/** Function docs */
function Foo() {}

I also wonder... what's the right solution in a case like this?
/** Does this get ignored? What it if includes important info like @hidden? */
export const callable: Callable = ...

I should really write down somewhere what TypeDoc currently does for comments so that it's easier to propose refinements to what it does...

@Gerrit0 I think TypeDoc should at least inherit tags like @template, @param, @returns and @throws.

Inheritance isn't the tricky part - we already do that for normal interface/class members. The tricky part is inherit from where? There is no implements clause here.

In 0.23, TypeDoc tries to get docs from the signature itself, and therefore picks these up.


python312Packages.reflex: 0.5.10 -> 0.6.0

Changelog:
https://github.com/reflex-dev/reflex/releases/tag/v0.6.0
https://github.com/reflex-dev/reflex-chakra/releases/tag/v0.6.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 344324 run on x86_64-linux 1

8 packages built:

python311Packages.reflex
python311Packages.reflex-chakra
python311Packages.reflex-chakra.dist
python311Packages.reflex.dist
python312Packages.reflex
python312Packages.reflex-chakra
python312Packages.reflex-chakra.dist
python312Packages.reflex.dist

Result of nixpkgs-review pr 344324 run on x86_64-linux 1

8 packages built:

python311Packages.reflex
python311Packages.reflex-chakra
python311Packages.reflex-chakra.dist
python311Packages.reflex.dist
python312Packages.reflex
python312Packages.reflex-chakra
python312Packages.reflex-chakra.dist
python312Packages.reflex.dist


Will extra storage support contract data?

Hi,
The chainbase-multiindex db have some limitations, for example it has limited storage, it does not support String as key, and it support only 128 bit integer as key/index...So I want to know something about extra storage. I refer to mongodb-plugin but mongodb does not aim at storage extension per https://github.com/EOSIO/eos/issues/5150...
I have some questions here.
1  Do EOS have any plan to set extra storage for contract data?
2 How will EOS handle storage scalability? As far as I know, the chainbase storage is limited to machine, for example, if the system has 1 super node, the storage is X; The network has at most 21X storage space..

There are no plans to replace or extend storage of contract state to anything other than RAM.
Chainbase storage is indeed limited to the RAM available to producer nodes, which currently maxes out at 4 TB for supported platforms.  This limit does not multiply by the number of producer nodes—all producer nodes mirror one another.
Contracts need to be designed with these constraints in mind.


IMPRO-974: Modify lightning threshold and update tests

The purpose of this PR is to change the lightning probability threshold used in the weather symbol tree to 0.3 from 0.5. Also required was modifying the unit and acceptance tests to ensure this change is noticeable.
In addition I have removed a lot of duplicate cube set-up code. I have marked all the "new code" with comments, the rest is just slight refactoring.
Testing:

[x] Ran tests and they passed OK

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- improver_tests/wxcode/wxcode/test_WeatherSymbols.py  4

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -4

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver_tests/wxcode/wxcode/test_WeatherSymbols.py  4

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -4

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver_tests/wxcode/wxcode/test_WeatherSymbols.py  4

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -4

See the complete overview on Codacy

@cgsandford I've modified the tests to use the set_up_test_cubes utility. I have set the time for the cubes to allow the tests to pass without changing the results; essentially forcing the time to the middle of the day in autumn. This particular time and date was required to get the whole default region used by set_up_test_cubes (that stretches up to a latitude of 80) into the day or night at the same time.

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- improver_tests/wxcode/wxcode/test_WeatherSymbols.py  4

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -4

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver_tests/wxcode/wxcode/test_WeatherSymbols.py  4

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -4

See the complete overview on Codacy


Add validation to case settings where appropriate

I have noticed a handful of case settings that have implied bounds on their ranges, but where no check is ever actually done to confirm the user input a value in that range. For instance, burnSteps, nCycles, and power should all be non-negative but nothing stops the user from entering negative numbers.
In all of these instances, the code crashes somewhere where it is not necessarily clear what caused the crash. And in all instances, we could easily set a bound on the possible input values using the schema attribute when each of the Settings are defined and using some of the built-ins of Voluptuous (which we are already using). The schema for these cases would look something like voluptuous.Range(min=0). Very easy to add in.
I think it would be worthwhile to go through the case settings and add simple validators where they are not currently in place.
Does anybody have any objections to me doing this?

I think this is a good catch, and I'm all for someone fixing it. You can do it if you like. If not, provide as full a list as you can in the ticket, so someone else has a good starting place to take a stab at it.

I think a settings overhaul using voluptuous would be great.

I will do some work on this.

Checklist of settings to add validation:
From globalSettings:

Setting
Range
Complete

numProcessors
>= 1

axialMeshRefinementFactor
>= 1

minMeshSizeRatio
> 0

cycleLength
>= 0

availabilityFactor
>= 0

burnSteps
>= 0

beta
0 < f_i <= 1

decayConstants
lambda_i > 0

buGroups
0 < p_i <= 100

burnupPeakingFactor
>= 0

startCycle
>= 0

startNode
>= 0

lowPowerRegionFraction
0 <= F <= 1

mpiTasksPerNode
>= 0

nCycles
>= 1

numCoupledIterations
>= 0

power
>= 0

skipCycles
>= 0

targetK
>= 0

acceptableBlockAreaError
> 0

independentVariables
list of tuples

Tin
> -273

Tout
> -273

From databaseSettings:

Setting
Range
Complete

dbStorageAfterCycle
>= 0

From reportSettings:

Setting
Range
Complete

timelineInclusionCutoff
0 <= f <= 100


Create ex5_JakubMrozek.ipynb

Solution to exercise 5 of the IBM Quantum Challenge
Name: Jakub Mrożek
Chemical accuracy: 3 mHa
Score: 3
Number of parameters: 16

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Sorry for the delay. Thank you very much for your submission!


How to remove point cloud clipping

Hello,
I tried to train the model on my data, following the config from semantic Kitti. The problem is that the model does not seem to be able to detect the far away points to classify them correctly.
I thought it was because of the PointClip class and I removed it from the transforms array. However, the results are exactly the same. I also tried changing the values, so that the point cloud is clipped further away.
My question is: do you cip the point cloud in another place as well? Or what can I do in order to get predictions for the far away objects as well?
Thank you!

In my experience, PointClip is not needed for PTv2 and PTv3 but is necessary for SpUNet. You mentioned that the network can not predict well on far points as predicting far points is a challenge for outdoor perception as usually they are more sparse and sometime not labelled correctly.


FRR/BGP + CARP/VIP

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.
Originally posted by @OPNsense-bot in https://github.com/opnsense/plugins/issues/2106#issuecomment-841680855

Hello!, the request timeout but my understading this improvement is needed.
Usually you would run active/active BGP peering but that the asymetric traffic can break some types of connectivity in a OPNSense CARP setup (VPN landing on the active master, same for local gateways).
FRR plugin already allows integration with CARP where it starts on the master only, and starts on the slave as soon as we switch roles or the current master fails. That requires  that we setup two sessions (one per node) and the other party will see one session always down, which is usually unacceptable (it triggers unexpected alarms when a "green dashboard" is desired).
The "solution" (give an ECMP cluster without any other traffic breaking appart is not possible), would be to keep the "run on master only" but drive all the traffic with the CARP IP (outgoing & incomming), not the base/static IP of the node. This way the other party will see an "always stablished" session and not two sessions (one dead, the other active).
Also, I'm not sure if it's too much to ask for this integration, but usually in common routing environments, it's expected to be able to use multiple interaces (multiples CARP IPs in this case?) for different integrations: one interface going to network party A, a second one to network party B, etc.
For my usecase, I need BGP + BFD, but I assume the same would apply for OSPF.

Did you read my question in the other issue and tried to reproduce successfully?

Hello, I did the test.
The thing is that it still seems to initiate connection from the base IP.
root@vfw01:~ # grep bgpd_flags /etc/rc.conf.d/frr
bgpd_flags="${bgpd_flags} -M snmp -l <IP_ADDRESS>"

root@vfw01:~ # ps auxw|grep  bgpd
frr          65770   0.0  0.7   55960 28080  -  Ss   13:41       0:00.07 /usr/local/sbin/bgpd -M snmp -l <IP_ADDRESS> -d
root         99077   0.0  0.1 1061152  3232  1  S+   13:43       0:00.00 grep bgpd

root@vfw01:~ # sockstat | grep bgp
frr      bgpd       65770 4  dgram  -> /var/run/logpriv
frr      bgpd       65770 18 stream -> /var/run/frr/zserv.api
frr      bgpd       65770 21 tcp6   *:2605                *:*
frr      bgpd       65770 22 tcp4   *:2605                *:*
frr      bgpd       65770 23 stream /var/run/frr/bgpd.vty
frr      bgpd       65770 24 stream -> /var/run/frr/zserv.api
frr      bgpd       65770 25 tcp4   <IP_ADDRESS>:41479     <IP_ADDRESS>:179
frr      bgpd       65770 26 tcp4   <IP_ADDRESS>:179       *:*
frr      bgpd       65770 27 tcp4   <IP_ADDRESS>:45163     <IP_ADDRESS>:179

As you can see, the process is listening on <IP_ADDRESS>:179, but the connection to the remote <IP_ADDRESS>:179 & <IP_ADDRESS>:179 is initiated from the base/fixed IP (<IP_ADDRESS>).

Can you try outbound Nat?
Source WAN address, destination BGP peer, translated VIP

Well, checking with the other team, they kept both the base IP & the CARP IP. After dropping all the base IPs and keeping only the VIP, the session could be initiated (initiated by the other party):
root@vfw01:~ # sockstat | grep bgp
frr      bgpd       65770 4  dgram  -> /var/run/logpriv
frr      bgpd       65770 18 stream -> /var/run/frr/zserv.api
frr      bgpd       65770 21 tcp6   *:2605                *:*
frr      bgpd       65770 22 tcp4   *:2605                *:*
frr      bgpd       65770 23 stream /var/run/frr/bgpd.vty
frr      bgpd       65770 24 stream -> /var/run/frr/zserv.api
frr      bgpd       65770 25 tcp4   <IP_ADDRESS>:179       <IP_ADDRESS>:35037
frr      bgpd       65770 26 tcp4   <IP_ADDRESS>:179       *:*
frr      bgpd       65770 27 tcp4   <IP_ADDRESS>:179       <IP_ADDRESS>:42527

Now, also after adding the outgoing NAT, the session could be initiated from my (OPNSense) side:
root@vfw01:~ # sockstat | grep bgp
frr      bgpd       85143 4  dgram  -> /var/run/logpriv
frr      bgpd       85143 18 stream -> /var/run/frr/zserv.api
frr      bgpd       85143 21 tcp6   *:2605                *:*
frr      bgpd       85143 22 tcp4   *:2605                *:*
frr      bgpd       85143 23 stream /var/run/frr/bgpd.vty
frr      bgpd       85143 24 stream -> /var/run/frr/zserv.api
frr      bgpd       85143 25 tcp4   <IP_ADDRESS>:61223     <IP_ADDRESS>:179
frr      bgpd       85143 26 tcp6   *:179                 *:*
frr      bgpd       85143 27 tcp4   *:179                 *:*
frr      bgpd       85143 28 tcp4   <IP_ADDRESS>:22466     <IP_ADDRESS>:179

Is my understanding that we don't really need the "bind" parameter, since this can be accomodated with firewall rules + NAT:
1- Keep default of listening in all interfaces
2- Blocking undesired traffic to the base/fixed IP
3- Only allowing incomming connections to the VIP
4- Setting up outgoing NAT to the remote routers?
Is this correct?

Yes, I dont think there is a stable way to so auto nat when adding a checkbox and not breaking other inteded dual peer setups


datepicker is not working for me.

I am working on phonegap , in android phone date picker is not at all working , I have written the code as below.
this plugin is not working for me -->
VitaliiBlagodir/cordova-plugin-datepicker
function show_datepicker(){
console.log("hi");
var options = {
date: new Date(),
mode: 'date'
};
console.log(options);
console.log("hello");
datePicker.show(options, onSuccess, onError);
console.log(options);
function onSuccess(date) {
console.log("hello");
alert('Selected date: ' + date);
}
function onError(error) { // Android only
alert('Error: ' + error);
}
}
show_datepicker();
there is no console or alert is coming  error message

I have the same issue with the version 0.9.3. The datePicker object exposed in the global window object is an empty.


Hudson web sso

Under the checks where it says preview ready click details which will launch the deployed build then change end of url to qrTest and click sign in with google to see if works


Feature request: Ability to log test suite start/ends

At the moment there is no way to log moments of the test suite start and end,  as were are not according callbacks.
This feature can be useful to trace actually ran  test suites if test process get crashed in the middle.

There are some easy workarounds.
Consider this code
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest/doctest.h>

TEST_SUITE("suite-A") {
    TEST_CASE("test-A") {}
    TEST_CASE("test-B") {}
}

TEST_SUITE("suite-B") {
    TEST_CASE("test-A") {}
    TEST_CASE("test-B") {}
}

compiled into a test binary test (on Linux).
In bash you can do this
for suite in $(./test -lts | egrep -v '=+|doctest') ; do
    echo Testing suite $suite
    ./test -ts=$suite
done

which will give the output
Testing suite suite-A
[doctest] doctest version is "2.4.11"
[doctest] run with "--help" for options
===============================================================================
[doctest] test cases: 2 | 2 passed | 0 failed | 2 skipped
[doctest] assertions: 0 | 0 passed | 0 failed |
[doctest] Status: SUCCESS!
Testing suite suite-B
[doctest] doctest version is "2.4.11"
[doctest] run with "--help" for options
===============================================================================
[doctest] test cases: 2 | 2 passed | 0 failed | 2 skipped
[doctest] assertions: 0 | 0 passed | 0 failed |
[doctest] Status: SUCCESS!

You can do something similar in C++ by driving doctest yourself, see the docs: https://github.com/doctest/doctest/blob/master/doc/markdown/main.md


feat: Miner output also includes rule keys

This addresses #479.

Thanks @khaes-kth, this will make my work a lot less annoying!


Open camera only

is there any method i want to open camera only

https://github.com/ArthurHub/Android-Image-Cropper/issues/806


Okta auth handler

AuthHandler function should redirect to /404. NotFoundPage should be edited to say:
404 page not found
if you think this is an error please contact your administrator
if you have an admin account login here (link to login page)

404 page now has an option of directing back to the login page if user has admin creds.

 Link to issue #15


updated platform enumeration for 0.11.0

Change was made to Zig: https://github.com/ziglang/zig/pull/13101/files
So needs to be changed here too.

Thanks :)


Not showing

The rich presence doesn't show itself on Discord
I have no errors showing up on the installation process and I am sure to have followed it perfectly
Here's my env
"nvim --version"
NVIM v0.4.3
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=1 -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/builddir/build/BUILD/neovim-0.4.3/build/config -I/builddir/build/BUILD/neovim-0.4.3/src -I/usr/include -I/usr/include/lua-5.1 -I/builddir/build/BUILD/neovim-0.4.3/build/src/nvim/auto -I/builddir/build/BUILD/neovim-0.4.3/build/include
Compiled by mockbuild

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Discord.nvim health check is all OK
OS = Fedora Workstation 32
Discord version = latest installed with the tar.gz
Other rich presences works

Is game activity enabled in the Discord settings?

Yes it is
Yes I did

First, make sure g:discord_activate_on_enter is 1.
Then, set g:discord_log_debug to 1 and run :messages when neovim starts.

Yep, I got it fixed, thanks


Unable to build

Hi, trying to test this out but I'm unable to build it.
Running on Ubuntu 20.04 with Crystal 1.5.1
# crystal build src/eyrie.cr -o bin/eyrie -p --release --error-trace
In src/commands/root.cr:28:9f check)

 28 | def setup
          ^----
Error: this method overrides CLI::Command#setup() which has an explicit return type of Nil.

Please add an explicit return type (Nil or a subtype of it) to this method as well.

I tried adding Nil return type but then get:
In src/commands/init.cr:2:3ef check)

 2 | class InitCommand < CLI::Command
     ^
Error: abstract `def CLI::Command#run(args : ArgsInput, options : OptionsInput)` must be implemented by Eyrie::Commands::InitCommand

Am I missing something?

Hi, this seems to be an issue with the CLI shard Eyrie uses: I forgot to set the version at the time so shards install is installing the latest version which isn't compatible. You can try setting the CLI dependency to version 1, but I think I will have to update everything to v2.

Thanks! Build worked fine after switch CLI on checkout 71706e2b6c6fce7f7bb73a505147ddeed4075542 (git releases didn't include v1)

Great to hear! I've updated Eyrie to use v2 now: d7c05ec88cffe6688388e36ea7f63a213e2a53e2, thanks for reporting this 👍


Add Max Documentation

Welcome to the the Max

This PR addresses adding the Max Monoid on [this issue] (https://github.com/evilsoft/crocks/issues/42) by adding the README for Max

Coverage remained the same at 100.0% when pulling c52e67722384bd089c25ad682f51032f1dddf4c0 on max-docs into 78f6014557e53d7945d9c76ac81b1beb71bb9a41 on master.


bin file reading issue (IDFGH-2613)

Hai ,
i working on gatt client example to send a data to other controller (nrf52840) . i am paring esp32 and nrf using ble . then i need to update nrf  on ota ...for that i am using esp32 to sending files to nrf ,to send my firmware file i kept my bin file in local server and downloading  bin file using http and the writing whole data in file(using fat file system) ...i can able to read data from file in hex format ..
but i need to seperate my file as several objects .. and to send through ble
how do i parse my file as packets ????
can  you please tell me??
thanks ,

Hi @sowmimalu, thanks for posting the issue.
This sounds like a general programming question. If that's the case, please consider asking this in the esp forum or any other programming forum.
If it's not the case, please add some more specific information where you have problems with the esp-idf (code, idf version, hardware, etc... the issue template will help you).
Thank you.

@sowmimalu As @0xjakob mentioned please file new issue with more detailed information, I will go ahead and close this one.


Can the setup be done thru PowerShell?

@ericmitt, @drajput, @tawalke, thanks for the demo video. I wanted to know if this setup could be achieved with the respective PowerShell modules for Azure and IoT.

Hi @Ayanmullick, the setup for Azure can be done via Powershell, but the ESP-IDF v.3.0 framework from Espressif based upon the documentation can be installed on Windows via MinGW or CMD using their scripts.
However, if you want to use the latest version of the ESP-IDF v4.x (lates), they do have a Powershell script for installation: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/windows-setup-update.html
I should note the components we have provided here have been tested using the stable (v3.0 production) but should work with v4.x as well.

Thanks @tawalke, for the update. The link  just asks to use a batch script from the Powershell console.
Is there an Azure Sample that documents the PowerShell steps to achieve this using the  PowerShell-IoT module ?  like below

Oh sorry @Ayanmullick  thanks for the clarification. No sorry there is not a Azure Sample for Espressif devices using Powershell-IoT module.

@Ayanmullick do you need more on this issue, or can we close it ?

@ericmitt , In December's Community Call the PowerShell team had discussed about a stripped down version of PowerShell that could potentially run on microcontrollers. The PowerShell team is probably busy with the version 7 release. But I would be interested to confirm if it's possible to have a pure-PowerShell Azure Sample to connect IoT [ESP] to Azure

Hi @Ayanmullick Currently there is not a version of Powershell that can run on a microcontroller or FreeRTOS (which ESP32/8266 runs). //cc @ericmitt

@tawalke @ericmitt , Could the issue be reopened once the PowerShell micro-controller version is available? We can close this temporarily.

@Ayanmullick make sense, closing for now.


generate .ics file for calendar

Hi @lipiji @sdogsq @oraluben @zwillim @Hsword ,
Good project and good UI design!
Could someone help write some functionality to generate .ics file?
The only two options we have are: 1) google calendar 2) apple calendar
However, there are still  a lot of people still using other calendars for various reasons.
They all use the standard calendar format file: .ics
Also, if someone can help add the functionality to let users set multiple conference deadline, and generate a single .ics file for that could be better!

looking forward to this feature