Warning messages

Hi,
Apologies if this has been addressed previously but I couldn't find it. I've just downloaded and installed run the hello_pysb.py example and I'm getting lots of warning messages of the form below. I'm using the following versions
Mac OS X 10.8.4
Numpy 1.8.0
Scipy 0.13.0
Pysb 0.1.11
matplotlib 1.4
Is there any way to turn these off?
Cheers
Chris

Simulating...
['clang', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-g', '-Os', '-pipe', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-mno-fused-madd', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-Wall', '-Wstrict-prototypes', '-Wshorten-64-to-32', '
-DNDEBUG', '-g', '-Os', '-Wall', '-Wstrict-prototypes', '-DENABLE_DTRACE', '-arch', 'i386', '-arch', 'x86_64'] #######
Missing compiler_cxx fix for UnixCCompiler
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from /Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/weave_imp.cpp:7:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:130:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
_val = PyInt_AsLong(_obj);
~ ^~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:685:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int result = PyObject_Hash(_obj);
~~~~~~   ^~~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:763:18: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int result = PyObject_Size(_obj);
~~~~~~   ^~~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:818:18: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return _obj->ob_refcnt;
~~~~~~ ^~~
4 warnings generated.
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:17:
In file included from /Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/list.h:16:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/sequence.h:106:16: warning: 'py::sequence::set_item' hides overloaded virtual function [-Woverloaded-virtual]
virtual void set_item(int ndx, object& val) {
^
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:781:16: note: hidden overloaded virtual function 'py::object::set_item' declared here
virtual void set_item(const object& key, const object& val) {
^
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:19:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/dict.h:173:16: warning: 'py::dict::set_item' hides overloaded virtual function [-Woverloaded-virtual]
virtual void set_item(const char* key, object& val) {
^
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:781:16: note: hidden overloaded virtual function 'py::object::set_item' declared here
virtual void set_item(const object& key, const object& val) {
^
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:19:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/dict.h:179:16: warning: 'py::dict::set_item' hides overloaded virtual function [-Woverloaded-virtual]
virtual void set_item(object& key, object& val) const {
^
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:781:16: note: hidden overloaded virtual function 'py::object::set_item' declared here
virtual void set_item(const object& key, const object& val) {
^
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:22:
In file included from /Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/ndarrayobject.h:17:
In file included from /Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/ndarraytypes.h:1736:
/Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
/Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:668:9: warning: unused variable 'i' [-Wunused-variable]
int i;        /I would like to fill in changed locals and globals here.../
^
5 warnings generated.
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:16:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:130:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
_val = PyInt_AsLong(_obj);
~ ^~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:685:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int result = PyObject_Hash(_obj);
~~~~~~   ^~~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:763:18: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int result = PyObject_Size(_obj);
~~~~~~   ^~~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:818:18: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return _obj->ob_refcnt;
~~~~~~ ^~~
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:17:
In file included from /Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/list.h:16:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/sequence.h:106:16: warning: 'py::sequence::set_item' hides overloaded virtual function [-Woverloaded-virtual]
virtual void set_item(int ndx, object& val) {
^
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:781:16: note: hidden overloaded virtual function 'py::object::set_item' declared here
virtual void set_item(const object& key, const object& val) {
^
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:17:
In file included from /Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/list.h:16:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/sequence.h:80:16: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int rslt = PySequence_Count(_obj, value);
~~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/sequence.h:177:16: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int rslt = PySequence_Index(_obj, value);
~~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:19:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/dict.h:173:16: warning: 'py::dict::set_item' hides overloaded virtual function [-Woverloaded-virtual]
virtual void set_item(const char* key, object& val) {
^
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:781:16: note: hidden overloaded virtual function 'py::object::set_item' declared here
virtual void set_item(const object& key, const object& val) {
^
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:19:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/dict.h:179:16: warning: 'py::dict::set_item' hides overloaded virtual function [-Woverloaded-virtual]
virtual void set_item(object& key, object& val) const {
^
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/object.h:781:16: note: hidden overloaded virtual function 'py::object::set_item' declared here
virtual void set_item(const object& key, const object& val) {
^
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:19:
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/dict.h:164:12: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return PyDict_Size(_obj);
~~~~~~ ^~~~~~~~~~~~~~~~~
/Library/Python/2.7/site-packages/scipy-0.13.0.dev_c31f167_20130617-py2.7-macosx-10.8-intel.egg/scipy/weave/scxx/dict.h:167:12: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return PyDict_Size(_obj);
~~~~~~ ^~~~~~~~~~~~~~~~~
In file included from /Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:22:
In file included from /Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/ndarrayobject.h:17:
In file included from /Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/ndarraytypes.h:1736:
/Library/Python/2.7/site-packages/numpy-1.8.0.dev_074a40c_20130617-py2.7-macosx-10.8-intel.egg/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
/Users/cbarnes/.python27_compiled/sc_40d3d8fa3c65de8979d50fc530eb0b7f2.cpp:668:9: warning: unused variable 'i' [-Wunused-variable]
int i;        /I would like to fill in changed locals and globals here.../
^
13 warnings generated.

Weave is going away and the future is Cython. Closing this issue as it's a scipy/weave problem and they definitely aren't going to fix it.


MineMenu not working on multiplayer servers

When opening Minecraft (1.21 Fabric), everything in the radial menu disappears on servers until I enter a singleplayer world. Any fixes?

Is MineMenu installed on the server as well?

No, its a public server. How does it work? Do you believe it is possible to prevent this from happening?

I already tried only with MineMenu & dependencies
https://github.com/user-attachments/assets/5270b647-986d-4b56-87e5-3d5c24ea11b6

Sorry I don't know how to use Github lmao

I figured it out

I figured it out

How?

I made some modifications to the code so that the mod can also read the configuration file when entering the server

I made some modifications to the code so that the mod can also read the configuration file when entering the server

Can you send it to me? I don't know how to code

minemenu.zip

W

minemenu.zip


Allow target-specific overrides for default client transport-mode

Application can override the default client transport-mode from
mbed_app.json via definition:
"target.macros_add": ["MBED_CLOUD_CLIENT_TRANSPORT_MODE_UDP"],
If UDP or UDP_QUEUE is more suitable as default transport-mode.
For example cellular targets most likely should be UDP_QUEUE.

run-ci

Test run: SUCCESS

Test summary:
Executed: 24
Failed: 0
Skipped: 4
Errors: 0
Build artifacts
posted-by-tag: https://jenkins-client.isgtesting.com/job/mbed-os-example-pelion/


required GPU memory

Hi, @raghudeep,
How much GPU memory is required to run the segmentation? I got "out of memory" error using my Titan-Black 6GB GPU card. BTW, could I run the segmentation by reducing the batch number or other settings?
Thanks!

Hi @raghudeep,
I am running into the following error:
Loaded models/pspnet101_cityscapes_conv5_4netwarp_deploy.prototxt with models/pspnet101_cityscapes_conv5_4netwarp.caffemodel for GPU 0
0. lindau_000019_000000  3:19:21PM EDT on May 30, 2018 on GPU 0
/usr/lib/python2.7/dist-packages/numpy/core/fromnumeric.py:225: VisibleDeprecationWarning: converting an array with ndim > 0 to an index will result in an error in the future
return reshape(newshape, order=order)
F0530 15:19:22.213881  2557 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0)  out of memory
*** Check failure stack trace: ***
Aborted (core dumped)
Can you help me with this?
Thanks


How to write in vue.config.js?

hello,
you are awesome! I am use vue-cli 3.0 ,but i don't know how to write your plugin in "vue.config.js".
Can you provide examples to write config in it? Thanks a lot!

hello==

Hi @neciszhang I'm really sure as I don't use Vue, saw this article https://cli.vuejs.org/guide/webpack.html seems like it is just an abstraction of the webpack config. You can pass this plugin along with html plugin, please refer to the examples in this repo. Hope this helps.

@van-nguyen  Thank you very much! I write your config in "chainWebpack" like
"config.plugin('webpack-cdn-plugin').use(WebpackCdnPlugin, [{         modules: [{           name: 'vue',           var: 'Vue',           path: 'vue.min.js'         },")
I use it successfully.Thank you for providing this plugin!


deform_conv_ext.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor6deviceEv

Hello, when I run the program, the following error occurs: deform_ conv_ ext.cpython-38-x86_ 64-linux-gnu. so: undefined symbol: _ ZNK2at6Tensor6deviceEv
Is there any way to solve it？
thanks very much!

Hello,
You should use the recommended docker image to run the codes, otherwise there may be an environment conflict with the compiled DCN module.


Dynaform: Component attribute does not work with datatable, affected on PF11

Describe the bug
Use a component for dynaFormControl of Dynaform, that component has attributes and a datatable. Those attributes resolved to empty values although we pass non-empty values to those attributes.
Reproducer
A sample project is at https://github.com/lttung04/dynaform-with-datatable
Environment:

PF Version: 11.0.0

To Reproduce
Steps to reproduce the behavior:

Go to your deployed application, e.g. http://localhost:8080/primefaces-test/
Cannot see a table

NOTE Look at the sample code, you could see <h:outputText value="#{cc.attrs.nameColumnRendered}" />, but #{cc.attrs.nameColumnRendered} is resolved to empty value.
Expected behavior
See a table with one row
Sample XHTML
File dynaform.xhtml
			<h:form id="form">
				<local:DocumentContainer />
			</h:form>

File DocumentContainer.xhtml
<cc:interface>
</cc:interface>
<cc:implementation>
	<pe:dynaForm id="dyna-form" value="#{dynaFormController.model}" var="dynaData">
		<pe:dynaFormControl type="FileUpload" for="fileUpload">
			<local:DocumentTable id="fileUpload" notInDynaform="true" nameColumnRendered="true" />
		</pe:dynaFormControl>
	</pe:dynaForm>
</cc:implementation>

File DocumentTable.xhtml
<cc:interface>
	<cc:attribute name="nameColumnRendered" default="true" />
	<cc:attribute name="notInDynaform" default="true" />
</cc:interface>
<cc:implementation>
	<cc:renderFacet name="componentHeader" />

			<h:outputText id="name" value="#{document}" title="#{document}" />

	<h:outputText value="#{cc.attrs.nameColumnRendered}" />
	<cc:renderFacet name="componentFooter" rendered="#{cc.attrs.notInDynaform}" />
</cc:implementation>

Sample Bean
@ManagedBean
@ViewScoped
public class DynaFormController implements Serializable {

	private static final long serialVersionUID = 1L;
	private DynaFormModel model;
	private List<String> documents;

	public DynaFormController() {
		model = new DynaFormModel();
		documents = new ArrayList<>();
		documents.add("First doc");
		DynaFormRow row = model.createRegularRow();
		row.addControl(row, "FileUpload");
	}

	public DynaFormModel getModel() {
		return model;
	}

	public void setModel(DynaFormModel model) {
		this.model = model;
	}

	public List<String> getDocuments() {
		return documents;
	}

	public void setDocuments(List<String> documents) {
		this.documents = documents;
	}

}

Did this work on Previous PF versions?  This is inside a composite component as well which adds to the complexity.

Did this work on Previous PF versions? This is inside a composite component as well which adds to the complexity.
With PF 7.0.25, primefaces-extension 7.0.3, it works

Can you try removing the Datatable?
I am wondering if this is a DynaForm change (as this component has barely changed between 7.0 and 11.0 since no one really maintains the DynaForm) or whether this is actually a Datatable change in core PF.

If removing Datatable, then it works as expected
<cc:interface>
	<cc:attribute name="nameColumnRendered" default="true" />
	<cc:attribute name="notInDynaform" default="true" />
</cc:interface>
<cc:implementation>
	<cc:renderFacet name="componentHeader" />
	<h:outputText value="#{cc.attrs.nameColumnRendered}" />
	<cc:renderFacet name="componentFooter" rendered="#{cc.attrs.notInDynaform}" />
</cc:implementation>

I am going to close this for now as I don't really work on DynaForm and @Rapster was the only one keeping it alive and I think its Datatable related.

@lttung04 OK I fixed and stripped down your example:
pfe-799.zip
Unzip that and run mvn clean jetty:run and navigate to http://localhost:8080/primefaces-test/
It is working fine with a DynaForm with a Datatable.  I stripped out all your composite component stuff.
In my opinion you have an incredibly messy and complex use case here and you should try and simplify it and remove a lot of that CC stuff.
This works totally fine:
<!DOCTYPE html>

	<h:head>
		<title>PrimeFaces Test</title>
		<h:outputScript name="test.js" />
	</h:head>
	<h:body>

PFE 799

		<h:form id="frmTest">
			<pe:dynaForm id="dyna-form" value="#{dynaFormController.model}" var="dynaData">
				<pe:dynaFormControl type="FileUpload" for="fileUpload">

							<h:outputText id="name" value="#{document}" title="#{document}" />

				</pe:dynaFormControl>
			</pe:dynaForm>
		</h:form>

	</h:body>

Hi @melloware
Thanks for your example, it works as expected but our scenario is quite different. I know this is a quite complex use case. We wanted to reuse component and this is existing system, we migrated from PF7 to PF11 and it is broken.
I mean your sample code works but it is not our use case and migration from PF7 to PF11 for our use case is broken. Could you please analyze and support this use case?

@lttung04 OK I dug deeper into this deeper.  Here is a new reproducer where I use your Composite Component inside a DynaFormControl.

DyanForm -> Composite -> DataTable

		<h:form id="frmTest">
			<pe:dynaForm id="dyna-form" value="#{dynaFormController.model}" var="dynaData">
				<pe:dynaFormControl type="FileUpload" for="fileUpload">
					<local:DocumentTable id="fileUpload" notInDynaform="true" nameColumnRendered="true" />
				</pe:dynaFormControl>
			</pe:dynaForm>
		</h:form>

Here is what I found out if you run it.
mvn clean jetty:run -Pmojarra22 - FAILS
mvn clean jetty:run -Pmojarra23 - FAILS
mvn clean jetty:run -Pmyfaces22 - WORKS!!!
mvn clean jetty:run -Pmyfaces23 - WORKS!!!
So basically running 11.0 and PFE 11.0.3 work fine with MyFaces and fail with Mojarra so it is a Mojarra bug.

Hi @melloware
I have just checked the library, it is myfaces-impl-2.2.13.jar.
Thanks for your sample project. I updated the sample project so that it matches with my scenario Composite > DynaForm -> Composite -> DataTable.
Reproducer: pfe-799-4.zip

Composite > DynaForm -> Composite -> DataTable

<h:form id="composite-dynaform">
	<local:DocumentContainer />
</h:form>

Here is what I found out if you run it.
mvn clean jetty:run -Pmyfaces22 - FAILS with WARNING in console
[WARNING] handleException /primefaces-test/ java.io.IOException: parent Composite Component not found when rendering composite component facet composite-dynaform:j_id_9:dyna-form:r1c1p1reg:fileUpload:j_id_i
mvn clean jetty:run -Pmyfaces23 - WORKS!!!

So it means MyFaces2.2 does not work but MyFaces2.3 works.
@melloware Thanks for your analysis and effort. I think we need to consider to use MyFaces2.3 or find a way to solve with MyFaces2.2 like asking for a fix.

So yes JSF 2.2 came out in 2010 and JSF 2.3 in 2017.   So it might be worth upgrading to 2.3 since the 2.2 branch is most likely not going to receive much attention especially with JSF 4.0 on the horizon.

I meant to say too if you look through Myfaces commits for 2.3 and you figure out which one is the issue I can get it backported to 2.2 branch.

OK great news I got to the bottom of it:

I kept testing 2.3 versions and discoverde it was fixed between 2.3.3 and 2.3.4.
I looked at all commits between those 2 releases and found the one that did it its this one: https://issues.apache.org/jira/browse/MYFACES-4283
I then patched a local 2.2.15-SNAPSHOT with that fix and sure enough it fixes your issue!!!

So I am going to backport this fix into 2.2.15.  If you need 2.2.15 JARs to test let me know.
I just submitted this PR to backport the fix to 2.2.15:https://github.com/apache/myfaces/pull/266

myfaces-impl-2.2.15.zip
Inside that zip is Myfaces 2.2.15 impl JAR if you want to test it out in your environment.

Hi @melloware
I tried out myfaces-impl-2.2.15.zip in our environment but it still has error IOException: parent Composite Component not found when rendering composite component facet form:j_id_k:dyna-form:r1c1p1reg:fileUpload:j_id_t as we tested before with myfaces-impl-2.2.13.jar.

Hmm but it works fine with your reproducer above you provided?  That is what I tested with.

Hi @melloware
I have just tested in my environment and it works well with myfaces-impl-2.2.15.zip and myfaces-api-2.2.15.zip. Could you please let me when myfaces-2.2.15 is planned to release? Thanks a lot for your support!

That is great to hear!  I posted on the MyFaces users list asking for a release<EMAIL_ADDRESS>

MyFaces 2.2.15 is now in Maven Central.  just a warning though this is the last MyFaces 2.2.x release and the branch is being retired so you will eventually have to upgrade to 2.3.

@melloware Thanks for your information.

I have also confirmed this is now fixed in Mojarra 2.3.18 and 4.0.


Replace OpenMDAO's assert_check_totals in MPhys tests

Purpose

The new MPhys tests use OpenMDAO's assert_check_totals to test derivatives against finite difference values. However, this method does a simple relative error check which is prone to silly false positive test failures when testing values very close or equal to zero:

This PR replaces OpenMDAO's assert_check_totals with a custom version that uses numpy's assert_allclose, which works well even for small or zero values.
Expected time until merged

Soon plz, MPhys tests are failing on the arm image because of this.
Type of change

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing

Checklist

[x] I have run flake8 and black to make sure the Python code adheres to PEP-8 and is consistently formatted
[ ] I have formatted the Fortran code with fprettify or C/C++ code with clang-format as applicable
[x] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Approving, but a bit surprised that this issue hasn't showed up on OpenMDAO side. @A-CGray maybe make an issue?

Done: https://github.com/OpenMDAO/OpenMDAO/issues/3413


resolution of node_modules

In resolve_module_file requested CommonJS module with require('$name') is expected to have a package at node_modules/$name/package.json at root of a godot project.

What if one want to move all js files (with node_modules) into a subfolder, like /js?

What if packages installed like this - nodule_modules/a/node_modules/b? Package a requires package b and they might be positioned in such way if some other package requires package b with a different version.

What if one want to require node_modules/a/b.js by require('a/b')? If b is not exported in index of package a.

For node modules, its design intent is to quickly test third-party libraries

As i understand now, node_modules resolution is not intended to be proper, just bare minimum to test simple scripts.
For an actual project some bundler has to be used.


net: lwm2m: send callback on blockwise done

Call registered send callback when blockwise is done
Issue #64290

I'm not a big fan of
		/* Copy old msg reference to keep send_status_cb */
		msg->reply->user_data = msg->out.user_data;

		/* Copy msg userdata with send_status_cb as temporary buffer */
		msg->out.user_data = msg->reply->user_data;

But applicative callback is stored in user_data, so the fastest way to keep it is exchange.
	msg->type = COAP_TYPE_CON;
	msg->reply_cb = do_send_reply_cb;
	msg->message_timeout_cb = do_send_timeout_cb;
	msg->code = COAP_METHOD_POST;
	msg->mid = coap_next_id();
	msg->tkl = LWM2M_MSG_TOKEN_GENERATE_NEW;
	msg->out.out_cpkt = &msg->cpkt;

	ret = lwm2m_init_message(msg);
	if (ret) {
		goto cleanup;
	}
#if defined(CONFIG_LWM2M_RESOURCE_DATA_CACHE_SUPPORT)
	msg->cache_info = &cache_temp_info;
#endif

	/* Register user callback if defined for confirmation */
	if (reply_cb) {
		msg->reply->user_data = msg;
		msg->send_status_cb = reply_cb;
	}

Sorry, I'm too slow on reading my emails.
I created a PR regarding the same fix https://github.com/zephyrproject-rtos/zephyr/pull/64310
Difference is that I only keep the pointer locally the moment where we reset the msg stucture.

@SeppoTakalo Do you want I close this PR?

@RomainPelletant Yes, I think the https://github.com/zephyrproject-rtos/zephyr/pull/64310 bring same functionality with simpler code.


Upgrade version of Relinq

cc @anpete

:shipit:

@rowanmiller / @divega remember to update Chris with the version for his OSS tracking.


Route id (1) not found

_navigationService.navigateTo(                                     PageModuleRoutes.homeView,                                     id: 1,)
I'm getting this error when navigate to new screen
Unhandled Exception: Route id (1) not found

You have to pass the StackedService.nestedNavigationKey(1) into your Navigator's navigatorKey.

@rvndsngwn you happy with the answer above?

ExtendedNavigator(router: PageModuleRouter(), navigatorKey: StackedService.nestedNavigationKey(1)) I passed thenavigatorKey already! but the error is still.
@FilledStacks and @hurbes

@rvndsngwn Please provide an example it'll be easier to help. We know that should work because there's only 1 issue for it, meaning it works for us and everyone else. There might be something you're missing. A reproducible example will help to solve it.

for now I'm using AutoRouter. I appreciate and thank you for your support, @FilledStacks


Updated Dangerfile

This is first time I'm working with Danger.
This should warn if you change the English readme and not the Chinese and vice-versa.
I've got inspiration from the other rules and tried to implement it. 🚀

Maybe I should add #1559 in this PR too?

Codecov Report

Merging #1579 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1579   +/-   ##
=======================================
  Coverage   87.82%   87.82%
=======================================
  Files           5        5
  Lines         156      156
=======================================
  Hits          137      137
  Misses         19       19

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c982c08...a13eebe. Read the comment docs.


NoClassDefFoundErorr - IGClient.builder() ...

I implement instagram4j library by gradle and have this code which i use on android project :
public boolean login(String l, String p){
        try {
            IGConstants.client = IGConstants.client.builder().username(l).password(p).login();
        } catch (IGLoginException e) {
            log.error(String.valueOf(e));
        }
        log.info("Is logged in:"+IGConstants.client.isLoggedIn());
        return IGConstants.client.isLoggedIn();
    }

(IGConstants class is not class from instagram4j lib, its my local. IGConstants.client  == IGClient client)
This code cause next error:
 Caused by: java.lang.NoClassDefFoundError: com.github.instagram4j.instagram4j.-$$Lambda$IGClient$Builder$JvEqm0HBCQNTN7uVNiGD4nlZOww
        at com.github.instagram4j.instagram4j.IGClient$Builder.<init>(IGClient.java:228)
        at com.github.instagram4j.instagram4j.IGClient.builder(IGClient.java:193)

But if i try to create a new object of other classes ( for example, IGClient client = new IGClient(l,p); ) all works well.
build.gradle file :
apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "30.0.2"

    defaultConfig {
        applicationId "com.example.integram_v2"
        minSdkVersion 14
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }
    lintOptions {
        abortOnError false
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

    repositories {
        google()
        jcenter()
        maven{
            url 'https://dl.bintray.com/instagram4j/maven'
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
    // For loading and tinting drawables on older versions of the platform
    implementation 'androidx.appcompat:appcompat-resources:1.3.0-alpha02'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

    // Instagram4J lib :
    implementation 'com.github.instagram4j:instagram4j:develop-22c2bee'

    // OkHttp
    implementation 'com.squareup.okhttp3:okhttp:4.7.2'
    implementation 'com.squareup.okhttp3:okhttp-urlconnection:4.7.2'
    // jackson data-bind
    implementation 'com.fasterxml.jackson.core:jackson-databind:2.11.0'
    implementation 'com.fasterxml.jackson.core:jackson-annotations:2.11.0'
. . .
}

How i can resolve this problem or maybe its libraries bug?

This may be due to your proguard settings. Try to exclude the library from being obfuscated. Specifically it is having trouble with LoginHandler class located inside the Builder class inside the IGClient here.

This may be due to your proguard settings. Try to exclude the library from being obfuscated. Specifically it is having trouble with LoginHandler class located inside the Builder class inside the IGClient here.
I set useProguard to false, but it does not help

This may be due to your proguard settings. Try to exclude the library from being obfuscated. Specifically it is having trouble with LoginHandler class located inside the Builder class inside the IGClient here.

I set useProguard to false but it does not help

This may be due to your proguard settings. Try to exclude the library from being obfuscated. Specifically it is having trouble with LoginHandler class located inside the Builder class inside the IGClient here.

I set useProguard to false but it does not help

Try to clean and rebuild the app. I have tried this library in android and it is working for me. I don't know much of Android development to pinpoint your issue specifically, but I don't think it is related to the library. If you have more on this issue or future issue, I've made a gitter to avoid using GitHub issues for usage of library.


CocoaLumberjack 2.2.0+ support?

Are there plans to support the latest version of CocoaLumberjack?

now that I know that there is a latest version, yea.  I'll try to do this today or friday.

If you have time tho, feel free to fork and PR the update.  there likely wont be any conflict and it's just a matter of needed to rev the dependency in the podspec.

Coming up in a moment!

https://github.com/TechSmith/CrashlyticsLumberjack/pull/18

Thanks, will get it merged and push to cocoapods soon


Fix get_probe_with_id() for CMSIS-DAP

Calling CMSISDAPProbe.get_probe_with_id() would always return an object even if there was no matching probe. This also caused the same method on DebugProbeAggregator to always return a CMSISDAPProbe even if the ID only matched an STLink.
Underlying this was original behaviour of DAPAccessCMSISDAP, where you could create an instance with any unique ID. It would only fail when you called open(). This patch changes this behaviour so it fails early. Attempting to construct a DAPAccessCMSISDAP with an unique ID that does not match a CMSIS-DAP interface will cause a DAPAccessIntf.DeviceError to be raised.
Another problem was in CMSISDAPProbe.get_probe_with_id(), where it always returned an instance even for invalid IDs. This specific behaviour broke DebugProbeAggregator.
Closes #617

/morph test

/morph test


How to read server load from RouteMeta resolver

Which scope/s are relevant/related to the feature request?
router
Information
As a developer, I would like to have access to server data in the Route Metadata Resolve Function
Describe any alternatives/workarounds you're currently using
At the moment I see examples of how to access content data, but not load data from the server
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

See https://analogjs.org/docs/features/data-fetching/server-side-data-fetching#injecting-the-data

The object is always undefined in the header resolver , even it is ok in the component input

The title key is a resolved string/resolver and is on the route itself.
title = inject(ActivatedRoute).title; // Observable<string>

Here I will get the Router Title, and in my case, I would like to define it, as I use Localess Headless CMS, all content and page titles are remote. I load content on the server side, and I will need to fill it in the component and RouteMeta
// [...slug].server.ts
export const load = async ({ params, fetch }: PageServerLoad) => {
  console.log('server load');
  const slug = params!['slug'] || 'home';
  const document = await fetch<Content>(`remote URL`);
  return {
    document: document
  } satisfies SlugPageServerLoad;
};

// [...slug].page.ts
const documentNameResolver: ResolveFn<string> = (route, state) => {
  return injectLoad<typeof load>()
    .pipe(
      tap((it) => console.log(it)), // here the result is always undefined
      map(it => it?.document?.name || 'Unknown')
    )
};

export const routeMeta: RouteMeta = {
  title: documentNameResolver,
};

@Component({...})
export default class SlugComponent implements OnInit {
  load = input.required<SlugPageServerLoad>();
}


cd: auto generate debian repository

Automatically generate & update Debian repository on a branch in GitHub.
This resolve one of the requirements in https://github.com/oowl/quicssh-rs/issues/13.
Behavior
When tag v* pushed, then the bot moves(reset) branch publish to the tag commit, and creates the Debian repository in /publish/deb on the branch. When tag test-release* pushed, it uses pre_publish instead for testing. Published Debian packages use the information in Cargo.toml. The format is given in readme of cargo-deb.
Required preparation

create branch pre_publish and publish (which commit the branches stems from don't affect anything)
open GitHub pages on publish

Optional preparation
If you want to sign the repository by gpg, Additional steps are needed.

generate your own GPG key. Let the ID of the key to be [KEY_ID].
export your public and secret key in ASCII style.
put the SECRET key text into GitHub Secret DEB_GPG_SECRET_KEY .
append the below line into /publish/deb/conf/distributions:

SignWith: [KEY_ID]

put the PUBLIC key file in anywhere you like (reccomendation: /publish/deb/gpg.key.asc)
uncomment here:
https://github.com/oowl/quicssh-rs/blob/41b5e3f96be9cbdbd66d094c0a7d9d3f92b650c2/.github/workflows/release.yml#L188-L191

How to install
Do this:
sudo echo "deb [trusted=yes] https://oowl.github.io/quicssh-rs/publish/deb stable main" > "/etc/apt/sources.list.d/quicssh-rs.list"
sudo apt update
sudo apt install quicssh-rs

If GPG Signature enabled, do this instead:
curl -fsSL https://jyjyjcr.github.io/ngx-strict-sni/publish/deb/gpg.key.asc | sudo gpg --dearmor -o /etc/apt/keyrings/quicssh-rs.gpg
sudo echo "deb [signed-by=/etc/apt/keyrings/quicssh-rs.gpg] https://oowl.github.io/quicssh-rs/publish/deb stable main" > "/etc/apt/sources.list.d/quicssh-rs.list"
sudo apt update
sudo apt install quicssh-rs

Hi, Can you help me check https://github.com/oowl/quicssh-rs/actions/runs/8701995035/job/23865869691? it seems wired in the action environment, The First build is successful, but the next build can not find cargo deb command. @JyJyJcr

It seems that binstalled rust software is not restored, but the metadata of binstall is restored. as warning says, we should add --force option to assure the binstallation.
I'll create another PR and fix this.
And, please fix the typo of the branch publis to publish, and create pre_publish branch for testing. We can try publishing by push tag test-release*, without break thee published data.


Replace Tomcat with Jetty in tests

LGTM! Please squash commits and rebase against master, then I'll merge.


Broken Layout and Huge Icons

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
Hi BookStack team. I followed the steps described here to install the application on my Windows PC, and the application seems to work, but the design is broken and the icons are huge:

My APP_URL variable, in the .env file, looks like this:
APP_URL=http://localhost
I already read this other support case, but my installation was done from the release branch:
git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch
And I have content of the folders mentioned there:

I also followed the debugging guide, and after turning debugging in the .env file and reloading the app, I tried looking for the storage/logs/laravel.log file, but the file wasn't there. And Nginx's error log only shows this:
2022/09/12 22:44:29 [notice] 32896#30848: signal process started
Here is the software stack I used for the installation:
Bookstack 22.09 (taken from the version file on the installation folder)
mysql 8.0.30
nginx 1.23.1
php 8.1.10
Windows 10 Pro 21H2
I would appreciate if you could point me in the right direction to solve this issue. Thanks!
Exact BookStack Version
22.09
Log Content
No response
PHP Version
8.1.10
Hosting Environment
Windows 10 Pro 21H2

Hi @carlossierra311,
Can you right-click the page in the browser > View source > then within the source search for <!-- Styles and Fonts --> near the top then provide the first two lines under that?

Hi @ssddanbrown. Sure thing:
`
`
Thanks

@carlossierra311 Thanks, What do you see when you go direct
to the URL http://localhost/dist/styles.css?version=v22.09 ?

Hi @ssddanbrown. This is what I see:

Thanks.

@carlossierra311 Okay, thanks. Right file is being served but likely with the wrong content-type. Likely due to some webserver misconfiguration. Look for any nginx config that's forcing a content-type. If you're not sure, please share as much of your nginx config as possible.

Hi @ssddanbrown. Thanks again!
Here is the whole content of the file:
worker_processes  1;
error_log  logs/error.log;
events {
	worker_connections  1024;
}

http {
	sendfile			on;
	keepalive_timeout	65;

	server {
		listen 80;
		server_name localhost;

		root   "D:/Bookstack/bookstack/public";
		index  index.php index.html;

		location / {
			autoindex on;
			try_files $uri $uri/ /index.php?$query_string;
		}

		location ~ \.php$ {
			fastcgi_pass   <IP_ADDRESS>:9000;
			fastcgi_index  index.php;
			fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
			include        fastcgi_params;
		}
	}
}�

@carlossierra311 In a typical nginx setup mimes.types file would be included within the http block as shown here:
https://www.nginx.com/resources/wiki/start/topics/examples/full/
Never used nginx on Windows, but did it come with such a file you can include?

Hi @ssddanbrown. It came with such a file. I just included it within the http block, restarted Nginx, force-refreshed the page in Chrome, but the result was the same.

Any other ideas?
Thanks!

Hi @carlossierra311,
Are you sure those lines are valid for your windows setup? Those added lines have unix style paths.
Also, you should not need the proxy or fastcgi lines for this, they may be confusing things.
I downloaded the windows files for nginx and the default provided http block contained the following line:
    include       mime.types;

Might be worth removing the lines you added and add the above to your http block.

Yes, that was it @ssddanbrown. Thank you so much for your time and help.
In case anyone else comes here to try and solve this or get a working nginx.conf sample for Windows 10, here is the final file content:
worker_processes  1;
error_log  logs/error.log;
events {
	worker_connections  1024;
}

http {
	include    		mime.types;
	default_type 		application/octet-stream;
	sendfile			on;
	keepalive_timeout	65;

	server {
		listen 80;
		server_name localhost;

		root   "D:/Bookstack/bookstack/public";
		index  index.php index.html;

		location / {
			autoindex on;
			try_files $uri $uri/ /index.php?$query_string;
		}

		location ~ \.php$ {
			fastcgi_pass		<IP_ADDRESS>:9000;
			fastcgi_index		index.php;
			fastcgi_param		SCRIPT_FILENAME  $document_root$fastcgi_script_name;
			include			fastcgi_params;
		}
	}
}

Yes, that was it @ssddanbrown. Thank you so much for your time and help.
In case anyone else comes here to try and solve this or get a working nginx.conf sample for Windows 10, here is the final file content:
worker_processes  1;
error_log  logs/error.log;
events {
	worker_connections  1024;
}

http {
	include    		mime.types;
	default_type 		application/octet-stream;
	sendfile			on;
	keepalive_timeout	65;

	server {
		listen 80;
		server_name localhost;

		root   "D:/Bookstack/bookstack/public";
		index  index.php index.html;

		location / {
			autoindex on;
			try_files $uri $uri/ /index.php?$query_string;
		}

		location ~ \.php$ {
			fastcgi_pass   <IP_ADDRESS>:9000;
			fastcgi_index  index.php;
			fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
			include        fastcgi_params;
		}
	}
}

@carlossierra311 Good to hear that got things working. Will therefore close this off.


Buttons & Switches interact to all hits

Buttons previously only activated with Hitscan weapon, now should activate with Projectiles.
Switches now react to both Hitscan & Projectiles.
Technically also possible to hit with Pickaxe but difficult to line up due to Pickaxe collision box being tiny and not intersecting with the players crosshair. May be worth enlarging Pickaxe Collision area

Hey, thanks so much for this! Looks pretty good, but I'd reckon this behavior should be easy to switch on/off (and maybe even more fine-tuneable?
There's games where I wouldn't want all switches to be triggered by shooting at them. Also PREY 2017 comes to mind, where only the foam darts let you activate the display buttons...

We may have to edit the Damage system then to tell us what caused the damage as currently it'd be impossible to do a setup where Soft Projectiles can work and Hitscan damage can't.
Hitscan = true,  Projectile = true - Current setup, activates on any damage
Hitscan = true, Projectile = false - Possible by disabling CogitoProperties for the Switch, thereby blocking Soft projectile damage
Hitscan = false, Projectile = true - Currently impossible as there's no way to distinguish hitscan from projectile damage
Hitscan = false, Projectile = false - Possible by disabling Health for the Switch
I started writing a hacky workaround that passes item reference through from the weapon to the func damage of the hitbox, but that seems against the immersive sim spirit since we should probably rely on some sort of "damage type" rather than using specific references

Yeah, I'd hold off on that until the whole cogito_properties system is more robust and fleshed out.
I don't see this as a high-prio feature.
Thinking out loud here, just adding a hitbox component to a switch and hooking up it's signal to trigger the switch should be good enough to make this feature work without having to actively make the switch itself more complex.
Then any future cogito_properties behavior could be part of the hitbox component.

Just removed the health attribute to simplify it.
Currently switches don't react to hits but buttons do, so it may still be worth merging this one just for the sake of having consistent behaviour between them.  With the idea of revisiting the issue in future once the damage system has been updated
Could also remove the CogitoProperties if you'd prefer that for now, but it'd cause no reaction from projectiles


Check for token files BEFORE accessing them

Check that OAuth token files are present before attempting to access them so that the program does not throw an error is they are missing. Instead, print a message with instructions on where to put the token files and the link where the user can generate the tokens.

F16 OK (70 pts)


Make Helium remember settings

Hi! Thanks for such a great project. I was wondering, how can I change default size, position and translucency of the helium's window? It's little uncomfortable to change it every time when you launch the app. It would be nice if Helium remember user's setting.

+1

+1

+1 Excellent app and I would love to be able to save settings if possible please.


Rename module to jsontableschema_bigquery

Required by https://github.com/datapackages/jsontableschema-py/issues/49

DONE


Inline Code comments do not emit when inside a switch-statement

Related forum thread:
http://forums.bridge.net/forum/bridge-net-pro/bugs/1508-bridge-1-10-4-inline-code-doesn-t-work-inside-a-switch-statement
Live Bridge test case:
http://live.bridge.net/#2b00a1f2ac8637e1a599

This issue is pretty much related to #139, I believe.


Whats the status of this?

Hi,
whats the current status of DevExtreme TagHelpers, will it be ready for Asp.Net Core 1.0 release, and to what extent?

Hi @Se3ker
The project has been published with the "Release Candidate" status. It's ready for use today (with RC1 release of ASP.NET Core), and we'll continue to update source code and NuGet packages for RC2 and RTM too.

Ok, but there's only 6 or 7 helpers now? Im using DevExtreme bower package and NuGet TagHelpers package, is that correct, or do I need to install from this link to get all the widgets?
https://go.devexpress.com/DevExpressDownload_DevExtremeCompleteTrial.aspx
If this is all there is at the moment, will full DevExtreme be ready for Core 1.0 release?

there's only 6 or 7 helpers now

That's right, currently we provide tag helpers for the most complex components (Data Grid, Charts, Scheduler). Other widgets can be added to views using the jQuery approach (check the related docs).

will full DevExtreme be ready for Core 1.0 release?

Though there's no public roadmap for DevExtreme, I can tell that the team is actively working on better integration with ASP.NET MVC. Stay tuned and subscribe to our blogs at https://community.devexpress.com/Blogs/


Custom route breaks error page

We migrated a WordPress site to Grav, everything is good except a custom route makes 404 error page broken.
The old URL structure is  site.com/title. In Grav, we build the blog in this URL structure site.com/blog/title/ so we use this custom route to keep the old structure:
routes:
  /(.*): /blog/$1

This works, but if we access a non-existing page, instead of getting a 404 error, we get 500 error
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in system/src/Grav/Common/Utils.php on line 95

Is it possible to modify the custom route to prevent this problem?

Did you try setting "Home page" to the the blog and setting hide home route in URLs? (options in system config)
That should do what you want without setting routes.

Unfortunately the blog is not the home page :(

You are getting this because your redirect is causing an infinite loop. This is not the fault of Grav itself, but your configuration.

Yes I know that is the problem with custom route and not from Grav. My question is if there is any solutions to fix or work around.
Redirecting hundreds of blog post URLs from domain.com/X-Y-Z to domain.com/blog/X-Y-Z is difficult.

@tranduyhung I did something similar, I used a regex to stop redirections when a route began with a certain string. (We use grav for a docs site, where we structure content into version 1.0, 1.1.. etc) The regex looks like:
'^(?!(\/1.)|(\/Development)|(\/development)|(\/search)|(\/sitemap.xml)|(\/^admin$))(.*)$': '/1.6$7'
So a route like:
/test would go to /1.6/test, but if this page didn't exist, it would not go into the redirect loop because the regex would exclude routes beginning  /1.. You could do something similar for routes beginning /blog.
However - this worked until recently when I updated Grav to 1.5.1 (it was 1.1.17) and now it goes to the redirect loop again. Perhaps I should open a new issue for that?


[BUG] Missing User Deletion Functionality

Context & versions

If the username our test tries to add is already occupied, then the test cases dependent on the authentication state (where the username is set) will be skipped.
Currently, we generate usernames using Faker. Although the test has not failed yet, there is a possibility that a previously set username could match a new one. If this happens, all other tests dependent on the set username will be skipped, leading to potential timeouts on this page.

To prevent this issue, it would be better to delete the set username after the test is completed during the teardown phase.

After discussion at the daily, it is clear that the username is permanent and there is no deletion made possible or intended. It is accepted as such.
Therefore, @kneerose we'll need to workaround this issue while testing by generating unique usernames for tests. For eg. using timestamps or uuids along with Faker.
For now, lets close the issue as not-a-bug but a design choice.
CC: @bosko-m @ValMBO


Increasing Heap Size

I'm running out of memory running dynamoDB locally. I have been trying to increase the heap size on startup, like this:
DynamoDbLocal.launch(8000, null, ['-sharedDb','-Xms4096m','-Xmx8192m'])
But either I'm using a ridiculous amount of memory, or it's not working. Should the above work?

So here's the problem. As it stands, the args passed in in that array are placed at the end of the java command. But those needed to alter the heap size need to come immediately after the java command.
This does not work:
java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -port 8000 -sharedDb -Xms1024m -Xmx2048m
This works:
java -Xms1024m -Xmx2048m -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -port 8000 -sharedDb

@rickwaugh1 My PR resolves this problem.
Until it gets merged, you can use my fork.
npm install nmors/dynamodb-local#add-support-for-java-options
await DynamoDbLocal.launch(
        8000,
        null,
        [],
        true,
        true,
        '-Xmx256m'
);


Progress report overflows

Description

Despite that it seems from looking at the code of
void ProcessObject::IncrementProgress(float increment)
that it protects from overflow, it doesn't and it easily overflows, if, for example, we increment progress 11 times by 0.1.
But because of floating-point arithmetic, it also overflows if we increment progress 10 times by 0.1.
This is because m_Progress.fetch_add(integerIncrement) doesn't return updated value, but the value that was stored in m_Progress before fetch_add() (see the description of fetch_add()). But even if fetch_add() was implemented in such a way, so that it would return an updated value, the code still would be incorrect, because race condition between multiple threads may occur.
Steps to Reproduce

Here's the code that reproduces the problem:
#include <itk/itkResampleImageFilter.h>
#include <gtest/gtest.h>
TEST(Progress, IncrementOverflow)
{
auto filter = itk::ResampleImageFilter<itk::Image<double, 3>, itk::Image<double, 3>>::New();
for (size_t i = 0; i < 11; ++i)
{
filter->IncrementProgress(0.1);
std::cout << filter->GetProgress() << std::endl;
}
}
Expected behavior

The expected output of the above code would be:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
1.0
Actual behavior

But the actual output is:
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.25729e-08
0.1
As you can see, on the 10-th step it already overflowed (because of floating-point arithmetic), and on eleven step we get 0.1 instead of expected 1.0
Reproducibility

100%.
Versions

ITK 5.1.2
But I looked at the latest master, and the code of IncrementProgress() is identical, so the issue is reproducible with the latest ITK.
Environment

Windows 10
Compiler: Visual Studio 2019, version=14.26,host=x64
Additional Information

Confirmed.

I think a better implementation of ProcessObject::IncrementProgress could use an std::atomic::atomic_compare_exchange  method. The method could do the overflow check before the "exchange" if the exchange fails then try again.

The proposed PR fixes the obvious error. It does not address possible race between threads, because all threads are expected to increase progress and it does not matter which one maxes out first.
This also alleviates the problem of numeric accuracy (0.1f being, in fact, 0.100000001).

The code I used to reproduce is:
#include <itkResampleImageFilter.h>

void main()
{
  auto filter = itk::ResampleImageFilter<itk::Image<double, 3>, itk::Image<double, 3>>::New();
  for (size_t i = 0; i < 11; ++i)
  {
    filter->IncrementProgress(0.1);
    std::cout << filter->GetProgress() << std::endl;
  }
}


Error in installing

Hi @JiaxinYangJX ,
Thanks for your efforts to update FLAMINGOrLite!
I met an error when I tried to install the package shown as follows:
> install_github('JiaxinYangJX/FLAMINGOrLite',ref='HEAD')
Downloading GitHub repo JiaxinYangJX/FLAMINGOrLite@HEAD
Erreur : Failed to install 'FLAMINGOrLite' from GitHub:
$ operator is invalid for atomic vectors
De plus : Message d'avis :
Dans FUN(X[[i]], ...) :
DESCRIPTION file of package 'FLAMINGOrLite' is missing or broken
Could you take a look at what happened?
Best,
Han

Hello again @JiaxinYangJX,
I've fixed what I met before. But I encountered another problem as shown below.
**_> library(FLAMINGOrLite)

res = flamingo_main(hic_data='./4DNFI1UEG1HD.hic',file_format='hic',domain_res=1e6,frag_res=5e3,chr_name='chr21',normalization='KR',nThread=20)
[1] "Preparing data..."
[1] "Finshed time:  0.03  mins"
[1] "Dividing domains..."
[1] "Writing out temp files..."
[1] "Finshed time:  0.04  mins"
[1] "Reconstructing backbones..."
[1] "Finshed time:  0.02  mins"
[1] "Reconstructing intra-domain structures..."
Error in checkForRemoteErrors(lapply(cl, recvResult)):
20 nodes produced errors; first error: no package named ‘FLAMINGOrLite’ found
_**

Thank you for your time.
Han

I had a similar problem when I tried to install it.
It seems the complete list of required library is missing.


Remove cluster-info command from riak-debug

https://github.com/basho/riak/issues/832 explains that a riak-debug that also executes the cluster-info command has been seen to crash an already stressed node. We should run cluster-info separately if this information is required. Everything else in riak-debug is very useful and fairly lightweight to run.

Forgot to add I tested this by running riak-debug pre- and post-change and compared output. Only cluster-info and cluster-info.html are missing from post-change riak-debug, as desired.

Looks good to me. Anyone else?

This going into the next release ?

Nice one @roooms @bsparrow435

create jira issue


[google_maps] Map goes blank when moved to background and throws ANRs

Steps to Reproduce

Run the sample app
move the app to the background (probably for 10 secs)
bring the app to the foreground
lock the phone (for another 10 secs)
unlock the phone

Expected Results: The app continues to work
Actual Result: App has a blank black screen and shows App not responding pop up
I was able to record this since this happens frequently with the above reproducible steps on the stable channel and it happens on the master channel too with a long delay.
https://user-images.githubusercontent.com/31410839/154945227-af172943-5c28-4bd3-90f8-1a149a8ccb46.mp4
Additionally, on the master channel map isn't displayed full screen for the below code sample there is some padding from the bottom.
Here's a reproducible sample project(created on stable 2.10.2) to verify this issue. you can run it by adding the maps api key in the Android manifest.
Logs

Logs

Launching lib/main.dart on Redmi K20 Pro in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: /Users/mahesh/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://<IP_ADDRESS>:59800/ClN_nQBZF5Y=/ws
I/zzbz    (15927): Making Creator dynamically
W/ple.maps_sampl(15927): Unsupported class loader
W/ple.maps_sampl(15927): Skipping duplicate class check due to unsupported classloader
W/ple.maps_sampl(15927): Unsupported class loader
I/DynamiteModule(15927): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203115000
I/DynamiteModule(15927): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203115000
V/DynamiteModule(15927): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/ple.maps_sampl(15927): ClassLoaderContext classpath size mismatch. expected=3, found=4 (DLC[];PCL[/data/app/~~HgG0q9kUQG0PIGuCEadKLg==/com.whatsapp-4zjWe0Ygbp7GdPpomnV9Yw==/base.apk*2023969809:/data/app/~~HgG0q9kUQG0PIGuCEadKLg==/com.whatsapp-4zjWe0Ygbp7GdPpomnV9Yw==/base.apk!classes2.dex*1581413119:/data/app/~~HgG0q9kUQG0PIGuCEadKLg==/com.whatsapp-4zjWe0Ygbp7GdPpomnV9Yw==/base.apk!classes3.dex*3045803654]{PCL[/system/framework/org.apache.http.legacy.jar*1721227950]} | DLC[];PCL[/data/app/~~QzIBykjV2SS0vikdzPXoGg==/com.example.maps_sample-Q6jzWADn_WGka_kkITNENQ==/base.apk*2373407578:/data/app/~~QzIBykjV2SS0vikdzPXoGg==/com.example.maps_sample-Q6jzWADn_WGka_kkITNENQ==/base.apk!classes2.dex*4128526065:/data/app/~~QzIBykjV2SS0vikdzPXoGg==/com.example.maps_sample-Q6jzWADn_WGka_kkITNENQ==/base.apk!classes3.dex*1176249800:/data/app/~~QzIBykjV2SS0vikdzPXoGg==/com.example.maps_sample-Q6jzWADn_WGka_kkITNENQ==/base.apk!classes4.dex*2459272281]{PCL[/system/framework/org.apache.http.legacy.jar*1721227950]})
W/ple.maps_sampl(15927): Found duplicate classes, falling back to extracting from APK : /data/user_de/0/com.google.android.gms/app_chimera/m/000002a5/MapsDynamite.apk
W/ple.maps_sampl(15927): NOTE: This wastes RAM and hurts startup performance.
W/ple.maps_sampl(15927): Found duplicated class when checking oat files: 'Landroid/support/v4/app/RemoteActionCompatParcelizer;' in /data/app/~~QzIBykjV2SS0vikdzPXoGg==/com.example.maps_sample-Q6jzWADn_WGka_kkITNENQ==/base.apk and /data/user_de/0/com.google.android.gms/app_chimera/m/000002a5/MapsDynamite.apk
I/Google Maps Android API(15927): Google Play services client version: 12451000
I/Google Maps Android API(15927): Google Play services package version: 214815037
I/Google Maps Android API(15927): Google Play services maps renderer version(legacy): 203115000
W/ProtoDataStoreFlagStore(15927): Unable to retrieve flag snapshot for com.google.android.gms.maps#com.example.maps_sample, using defaults.
I/TetheringManager(15927): registerTetheringEventCallback:com.example.maps_sample
D/SurfaceView(15927): UPDATE null, mIsCastMode = false
W/Looper  (15927): PerfMonitor doFrame : time=42ms vsyncFrame=1435916 latency=458ms procState=2 historyMsgCount=3 (msgIndex=1 wall=473ms seq=168 running=326ms runnable=28ms io=10ms binder=108ms late=2ms h=android.os.Handler c=io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ)
E/GoogleMapController(15927): Cannot enable MyLocation layer as location permissions are not granted
I/ple.maps_sampl(15927): WaitForGcToComplete blocked RunEmptyCheckpoint on ProfileSaver for 9.414ms
I/ple.maps_sampl(15927): ProcessProfilingInfo new_methods=1423 is saved saved_to_disk=1 resolve_classes_delay=8000
I/bf      (15927): Successfully registered with Phenotype.
W/BpBinder(15927): PerfMonitor binderTransact :  time=365ms interface=com.google.android.gms.maps.auth.IApiTokenService code=1
E/libc    (15927): Access denied finding property "ro.vendor.df.effect.conflict"
E/libc    (15927): Access denied finding property "ro.vendor.knock.type"
W/Thread-6(15927): type=1400 audit(0.0:172389): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=28869 scontext=u:r:untrusted_app:s0:c1,c260,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.example.maps_sample
W/DynamiteModule(15927): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule(15927): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:6
I/DynamiteModule(15927): Selected remote version of com.google.android.gms.googlecertificates, version >= 6
W/ProtoDataStoreFlagStore(15927): Unable to retrieve flag snapshot for com.google.android.libraries.consentverifier#com.example.maps_sample, using defaults.
W/ProtoDataStoreFlagStore(15927): Unable to update local snapshot for com.google.android.libraries.consentverifier#com.example.maps_sample, may result in stale flags.
W/ProtoDataStoreFlagStore(15927): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: Package signed with unknown certificate (go/gsrlt)
W/ProtoDataStoreFlagStore(15927): 	at age.s(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):3)
W/ProtoDataStoreFlagStore(15927): 	at age.get(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):2)
W/ProtoDataStoreFlagStore(15927): 	at aii.a(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):1)
W/ProtoDataStoreFlagStore(15927): 	at aho.g(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):1)
W/ProtoDataStoreFlagStore(15927): 	at wn.d(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):1)
W/ProtoDataStoreFlagStore(15927): 	at xu.run(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):0)
W/ProtoDataStoreFlagStore(15927): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
W/ProtoDataStoreFlagStore(15927): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ProtoDataStoreFlagStore(15927): 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
W/ProtoDataStoreFlagStore(15927): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/ProtoDataStoreFlagStore(15927): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/ProtoDataStoreFlagStore(15927): 	at java.lang.Thread.run(Thread.java:923)
W/ProtoDataStoreFlagStore(15927): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: Package signed with unknown certificate (go/gsrlt)
W/ProtoDataStoreFlagStore(15927): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:2376)
W/ProtoDataStoreFlagStore(15927): 	at android.os.Parcel.createException(Parcel.java:2360)
W/ProtoDataStoreFlagStore(15927): 	at android.os.Parcel.readException(Parcel.java:2343)
W/ProtoDataStoreFlagStore(15927): 	at android.os.Parcel.readException(Parcel.java:2285)
W/ProtoDataStoreFlagStore(15927): 	at dx.aZ(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):2)
W/ProtoDataStoreFlagStore(15927): 	at ql.a(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):4)
W/ProtoDataStoreFlagStore(15927): 	at id.e(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):2)
W/ProtoDataStoreFlagStore(15927): 	at jc.t(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):2)
W/ProtoDataStoreFlagStore(15927): 	at jc.u(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):3)
W/ProtoDataStoreFlagStore(15927): 	at jc.e(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):2)
W/ProtoDataStoreFlagStore(15927): 	at jg.handleMessage(:com.google.android.gms.dynamite_mapsdynamite<EMAIL_ADDRESS>(150400-0):69)
W/ProtoDataStoreFlagStore(15927): 	at android.os.Handler.dispatchMessage(Handler.java:102)
W/ProtoDataStoreFlagStore(15927): 	at android.os.Looper.loop(Looper.java:236)
W/ProtoDataStoreFlagStore(15927): 	at android.os.HandlerThread.run(HandlerThread.java:67)
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49358260, downTime=49358260 } moveCount:0
W/MirrorManager(15927): this model don't Support
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49358268, downTime=49358260 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49359255, downTime=49358260 } moveCount:62
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49359271, downTime=49358260 } moveCount:64
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49359582, downTime=49359582 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49359591, downTime=49359582 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49360205, downTime=49359582 } moveCount:65
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49360213, downTime=49359582 } moveCount:66
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49360497, downTime=49360497 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49360541, downTime=49360497 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=49361577, downTime=49360497 } moveCount:102
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=49361577, downTime=49360497 } moveCount:102
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49361997, downTime=49361997 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49361997, downTime=49361997 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=49363136, downTime=49361997 } moveCount:84
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=49363169, downTime=49361997 } moveCount:87
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49364651, downTime=49364651 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49364677, downTime=49364651 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49365124, downTime=49364651 } moveCount:48
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49365140, downTime=49364651 } moveCount:50
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49365905, downTime=49365905 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_DOWN(1), id[0]=0, id[1]=1, pointerCount=2, eventTime=49365922, downTime=49365905 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_POINTER_UP(0), id[0]=0, id[1]=1, pointerCount=2, eventTime=49366536, downTime=49365905 } moveCount:49
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=1, pointerCount=1, eventTime=49366536, downTime=49365905 } moveCount:49
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49375374, downTime=49375374 } moveCount:0
W/Choreographer(15927): Frame time is 0.049284 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49376017, downTime=49375374 } moveCount:50
W/PlatformViewsController(15927): Creating a virtual display of size: [1080, 2340] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2210].
D/SurfaceView(15927): UPDATE Surface(name=SurfaceView - Sys2030:com.example.maps_sample/com.example.maps_sample.MainActivity)/@0x6a7bdcc, mIsCastMode = false
D/SurfaceView(15927): UPDATE null, mIsCastMode = false
D/SurfaceView(15927): UPDATE Surface(name=SurfaceView - Sys2030:com.example.maps_sample/com.example.maps_sample.MainActivity)/@0xf2f54f5, mIsCastMode = false
D/SurfaceView(15927): UPDATE null, mIsCastMode = false
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49390841, downTime=49390841 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49392038, downTime=49390841 } moveCount:100
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49392539, downTime=49392539 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49393229, downTime=49392539 } moveCount:42
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49399056, downTime=49399056 } moveCount:0
W/Choreographer(15927): Frame time is 0.223018 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49399518, downTime=49399056 } moveCount:43
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=49399550, downTime=49399550 } moveCount:0
D/MIUIInput(15927): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=49399727, downTime=49399550 } moveCount:7
I/ple.maps_sampl(15927): Thread[5,tid=15937,WaitingInMainSignalCatcherLoop,Thread*=0xb400007108ad6c00,peer=0x13300260,"Signal Catcher"]: reacting to signal 3
I/ple.maps_sampl(15927):
I/ple.maps_sampl(15927): Wrote stack traces to tombstoned
Lost connection to device.
Exited (sigterm)

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (2 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 2.11.0-0.0.pre.582, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.582 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (5 days ago), 2022-02-16 00:00:11 -0500
    • Engine revision b09cf53269
    • Dart version 2.17.0 (build 2.17.0-105.0.dev)
    • DevTools version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Here's a similar issue https://github.com/flutter/flutter/issues/40284 but the logs don't look similar

Hi @maheshmnj, I attempted to reproduce this on my Poco X3 NFC and Pixel 4a  but it did not reproduce, on both master and stable.
Kindly see video below and let me know if I missed something about the steps to reproduce.
https://user-images.githubusercontent.com/88313112/154968613-a195c982-b061-49dc-970d-216d80f4d08c.mov

I've been attempting to reproduce this but with no luck. Considering you were not able to reproduce on the emulator as well, I think this might be affecting a group of devices.
Since I'm unable to reproduce this locally, I'm going to label this for further investigation.
I'll keep looking into it and update if I'm able to reproduce this.

I reproduce this issue in debug mode.

I can recreate it on Android 12 by repeatedly locking and unlocking my phone.
(might take 10-15mins of trying)

Samsung Galaxy S20 FE, flutter 2.10.5, Google_maps_flutter 2.1.4

This error keeps repeating in logcat when my map disappears.
2022-04-29 10:39:56.223 27141-28899/com.XXX.YYY E/BufferQueueProducer: [SurfaceTexture-0-27141-2](id:6a0500000024,api:0,p:-1,c:27141) dequeueBuffer: BufferQueue has no connected producer
2022-04-29 10:39:56.223 1132-1132/? E/CompositionEngine: ANativeWindow::dequeueBuffer failed for display [flutter-vd] with error: -19
2022-04-29 10:39:56.223 1132-1132/? W/CompositionEngine: Dequeuing buffer for display [flutter-vd] failed, bailing out of client composition for this frame

Some things i've noticed:

The map is transparent, you can see widgets behind it.
It still catches touch events, you can't press a button behind it.
Touch events on (now invisible) markers still work if you manage to find them.
Occasionally the map restores after resuming the app again. The same actions causing the bug can sometimes revert it.

#40284 Looks the same but probably has a different cause.
Their workaround of controller.setStyle on application resume works for my older android devices, but I get this (nearly identical?) bug on Android 12.
A workaround is removing the GoogleMap widget from the widget tree for 1 frame.
But I haven't found a good way to detect that the bug has occurred, so this needs to be triggered manually for now.
Widget build(BuildContext context) {
  ...
  if(_includeMap)
    GoogleMap(key: .., ),
  ...
}

//Build a new google map widget
 void _resetMap() {
    // set true after the build that handles setting it false
   WidgetsBinding.instance!.addPostFrameCallback((_) {
      setState(() {
        _includeMap = true;
      });
  });
  setState(() {
    _includeMap = false;
  });
}

I also have this issue every time I locked phone and unlocked it.
on:
Android 12 Poco F3 GT
Redmi note 10 pro

This Problem reproduced on Emulator (Android 11, 12)
log include this line.
dequeueBuffer: BufferQueue has no connected producer

and maybe TLHC cause this issue.
not reproduce on HC(PlatformViewsService.initExpensiveAndroidView).

I can't reproduce this issue at flutter head using version 2.5.3 of google_maps_flutter.

hey, it's very critical issue.
Interaction with the map screen becomes impossible.
Just closing it just because it can't be reproduced ignores the function of the community.
Please review it again. Intermittent, but it is judged that there are enough reproduction steps.

This bug is multiple years old and isn't getting a lot of attention from users. Given those facts, I don't see why this should be considered a "critical" issue. Most of the comments on the bug are people confirming they cannot reproduce the issue and some suggestions that it is device-specific.
I spent a lot of time trying to reproduce this issue yesterday and couldn't. If a bug can't be reliably reproduced it won't get fixed and keeping bugs open without reliable reproduction steps doesn't serve anyone.
That being said, I encourage you to file a new bug with reliable reproduction steps against the latest releases of Flutter and the Google Maps plugin.


url or parameters changed

Hi Alistair,
Your job is really good but I think bitcoincharts.com have changed the url or parameters...
In this moment, if you execute your code every data file get the same content (last day datas).
I have tried with differents urls:

http://bitcoincharts.com/charts/chart.json?m=bitstampUSD&r=1&i=1-min&e2017-04-09
http://bitcoincharts.com/charts/chart.json?m=bitstampUSD&r=1&i=1-min&e=2017-04-09
http://bitcoincharts.com/charts/chart.json?m=bitstampUSD&r=1&i=1-min&s=2017-04-09&e=2017-04-09
http://bitcoincharts.com/charts/chart.json?m=bitstampUSD&r=1&i=1-min&zsg=2017-04-09&zeg=2017-04-09

It works fine:
http://bitcoincharts.com/charts/chart.json?m=bitstampUSD&r=60&i=1-min&c=1&s=2017-04-13&e=2017-04-13

@bukosabino i've tried to use your url but this just gives me data for the last two days. did you manage to get more data out of the api?

@joernroeder bitcoincharts api has a data limit. You need a api call per day or per 2 days if you want datas with 1 minute period.
This repo is a good example with javascript or you can see this implementation with python.

@joernroeder - I don't see any limits here on 1 min API. Perhaps it helps if you have a session open in your browser at the same IP? (But I would doubt they are throttling that way). I am able to get the entire history after making a small update.
@joernroeder - I was having a similar issue with the script. I would get data for some files but not others. Some of the requests are getting throttled. I updated the code to work on streams. I've set me maxstreams to 8, and it works fine. If something goes wrong, you can pick up where you left of and not have to re-fetch data for days you already have.

@bukosabino you were right. The url params did need updating. When charting the data I got back, it was a mess.
I've updated and pushed those.

@F1LT3R thanks for updating the script! I'll give it a try on the weekend.


Force Band support?

Hey, I know it's a bit forgotten but nowadays the Force Bands (which can be used to drive sphero's LE robots like Ollie of BB-8 & Co, and even Mini, with just motion control) are pretty cheap now and I'd like to see at least SOME hacking effort for it seeing how it has a speaker, LED, and could work as a very interesting method of input or maybe even body tracking for, say, VR, by putting two on each leg maybe.
EDIT: I realize the EDU app doesn't support it, but still, maybe by revenging the force band app itself we could figure it out? Plus considering how it can connect to every bot but 1.0/2.0/SPRK and (probably?) RVR, I doubt its protocol is THAT different from the bots themselves.

If you go on amazon or hell, even ebay, they're about $10-$20 on average, which to me is kinda funny considering how the original MSRP was like $80. Maybe if you do ever hack it (it'd be nice to get control over the speaker and the 3 LEDs in there, though they just act as one in there) we could get it to work with other non-sphero robots, either on its own or via a bridge. Either way some way of getting more use outta the thing would be great.

From: SuperFashi @.>
Sent: Saturday, December 10, 2022 12:59 AM
To: artificial-intelligence-class/spherov2.py @.>
Cc: jeffyjeffy1023 @.>; Author @.>
Subject: Re: [artificial-intelligence-class/spherov2.py] Force Band support? (Issue #28)
Maybe, if I can get my hands on one.
This honestly might be a project of itself.
—
Reply to this email directly, view it on GitHubhttps://github.com/artificial-intelligence-class/spherov2.py/issues/28#issuecomment-1345149683, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3GYST6YDRSZ6URIMYTWMQL5DANCNFSM6AAAAAAS2BR6MQ.
You are receiving this because you authored the thread.Message ID: @.***>

Oh, and one more thing: You'll need the app to set it up unfortunately, but considerinf how you'd need it anyway to reverse engineer it, that doesn't seem like too much of an issue. If you need the APK or OBB, just lemme know.
Maybe if we reverse engineer it enough to get a python lib working, maybe we could set them up without the need for the app..

From: jeffyjeffy1023 @.>
Sent: Saturday, December 10, 2022 1:58 PM
To: artificial-intelligence-class/spherov2.py @.>
Cc: jeffyjeffy1023 @.>; Your activity @.>
Subject: Re: [artificial-intelligence-class/spherov2.py] Force Band support? (Issue #28)
If you go on amazon or hell, even ebay, they're about $10-$20 on average, which to me is kinda funny considering how the original MSRP was like $80. Maybe if you do ever hack it (it'd be nice to get control over the speaker and the 3 LEDs in there, though they just act as one in there) we could get it to work with other non-sphero robots, either on its own or via a bridge. Either way some way of getting more use outta the thing would be great.

From: SuperFashi @.>
Sent: Saturday, December 10, 2022 12:59 AM
To: artificial-intelligence-class/spherov2.py @.>
Cc: jeffyjeffy1023 @.>; Author @.>
Subject: Re: [artificial-intelligence-class/spherov2.py] Force Band support? (Issue #28)
Maybe, if I can get my hands on one.
This honestly might be a project of itself.
—
Reply to this email directly, view it on GitHubhttps://github.com/artificial-intelligence-class/spherov2.py/issues/28#issuecomment-1345149683, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3GYST6YDRSZ6URIMYTWMQL5DANCNFSM6AAAAAAS2BR6MQ.
You are receiving this because you authored the thread.Message ID: @.***>
—
Reply to this email directly, view it on GitHubhttps://github.com/artificial-intelligence-class/spherov2.py/issues/28#issuecomment-1345362409, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK2WA3ESDT25DZCDWHR6TSTWMTHHFANCNFSM6AAAAAAS2BR6MQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


micro: L2_POOL_2D flatbuffer fix

Fix for shape data for tensors sometimes existing in the flatbuffer, which is supposed to be read-only.  L2_POOL_2D now modifies the tensor shape data after relocating it.
Additional fix for Issue #47814

Could you move the RelocateTensorDims function to kernels/kernel_util.* instead? We try to keep kernel code separate from the general micro interpreter code as much as possible, so in theory the kernels could be redeployed without the wider framework.
Also, renaming the function to CreateWritableTensorDimsCopy() or something similar might be clearer?

@petewarden Fixed.


Update Spanish doc 2.4.4

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

Here I am, monitoring the Spanish documentation.  😄


KON-309 Improve Architecture Assertion Error Messages

It would be good to add before and after error messages in PR description


chore: fix pact test for system account

The system account creation uses the Location header to extract the user's UUID. This was missing in the pact test, but was not apparent because the assertion checked a value that was guaranteed to be correct (a value that was not extracted from the HTTP request). The only value that is dynamic from the HTTP test was the UUID, which was not covered by the test.
This change addresses the gap.

Closing, fixed in 22eea52.


Change test app name

Change-type: patch
Signed-off-by: Roman Mazur<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Build example:
https://jenkins.dev.resin.io/job/yocto-qemux86/4468

@resin-jenkins ok to test


Use lazy eval of attributes

This is helpful for attributes that are derived from other attributes. Otherwise a wrapper cookbook or any cookbook that references this one and attempts to set the version will have unexpected results.

:+1: LGTM @shopkeep/devops let me just get a second approval and I'll get this merged.

lgtm also. :+1:


spim_nrf52: Fixes

Here are two fixes for the SPIM driver of the NRF52.

The first patch fixes a bug that prevents using a speed of 8 MHz due to a missing "break"
The second patch fixes a glitch issue when configuring the CS line

Oh sorry, I should have rebased on zephyr/arm. I will do it ASAP.

Looks better.


Trigger for language and distance values

Language and distance button on toolbar doesn't seem to be "triggering" action. Button should allow user to change language between:

Germany / English
metric / imperial

@amyleew Where did the language button go? This is kind of important, we have a large non-English speaking community.

@TheMarex - Had trouble implementing this. Removed for initial launch.

@TheMarex - Added icons to this PR: https://github.com/Project-OSRM/osrm-frontend/pull/164:

images/flags.svg
images/measurements.svg

Let me know if you need anything else for these :information_desk_person:


Add a menu entry swap for Gourd tree and Storage unit

Some raids menu swaps.
Swap Pick with Pick-lots.

Swaps chest option Shared while holding shift to Private.

Fix #1756

Low priority


Added keys validation to cpgvalidator.

Refactored cpgvalidator:

extracted existing validators
extracted facts
extracted import logic

Added keys validation and tests for it.

I'm guessing we don't have an automatic check for it, but this has some formatting changes that disagree with scalafmt output.


fix: archive finalized state when shutting down beacon node

Motivation
State archiving when shutting down the beacon node is broken at the moment, this means we might load a state that's up to 32 epochs old when restarting the node, causing high sync times (~5-10 mins).
Description
Archive finalized state when shutting down beacon node. This restores behavior before changes done in https://github.com/ChainSafe/lodestar/pull/7170.

:tada: This PR is included in v1.23.0 :tada:

:tada: This PR is included in v1.24.0 :tada:


Change to prevent JDK version from being entered as the default value for buildmetadata.

The JDK version is automatically entered as the default value in buildmetadata. Depending on the user, they may want to leave the buildmetadata information blank, but since the JDK version is automatically filled in, it limits flexibility. This needs to be improved.

I accidentally created an issue for a feature that already exists. I will close this issue right away.


Generate unit tests for pkg/bundle/client.go

There are currently no unit tests for pkg/bundle/client.go.

Let's use https://github.com/aws/eks-anywhere-packages/issues/164 to address pkg/bundle together.


docs: Add Makefile and documentation for "fast" development targets

This commit introduces documentation for "fast" development targets in Cilium. The "fast" targets allow for quicker development workflows by building Cilium locally and deploying it on an existing kind cluster. This approach eliminates the need to create and deploy Docker images each time a source code change is made.
Additionally, the documentation has been updated to include these new Makefile targets and provides a quick start guide with essential information for working with Cilium.
When a cluster is already running with a Cilium container, we can simply volume mount the binaries into the container and restart the pod to pick up the changes. A similar approach can be used for C code, with the caveat that the bpf/lib directory needs write permissions by Cilium to generate the C Header features file, making it impossible to use the volume as read-only. Since all nodes share the same kernel features, there won't be any conflicts when multiple nodes write to the same volume mount.

Is it something we could backport, so we could use it when troubleshooting issues on the older branches, as well?

/test


need documentation for 'tokens', and remove magic import

I would suggest to use the tokens modules as:
from easypy.tokens import Token
AUTO = Token('AUTO')
MAX = Token('MAX')

we could allow magic import but it's implementation should also use the Token class as above. that way we make it super easy for others to understand what is happening.

fixed by #123


fix: invalidate _deleted in ForkedStorageTrie if a subsequent put happens

This PR resolves #571 by wrapping the Trie.put method in ForkedStorageTrie, checking if _deleted.get(rpcKey) === 1, and setting it to 0 if it is. This PR adds a simple test that gets to the root of the issue: _deleted was being set for a storage slot 0 when a bool was changed from true to false, but we never "undelete" it if it's set back to true. This caused an erroneous error when contracts looked at that boolean again and got 0 because ForkedStorageTrie determined it was set to 0 (interpreted as false) here
To add a reason for supporting merging #610, those Infura tests gave me a simple, ready to use way to reproduce the error and understand the root cause. From there, I determined I could create a non-Infura reproduction of the error.

Coverage increased (+0.05%) to 82.582% when pulling 34504feaa59d7e59fcc360c0332df10f57131b51 on forking/fix-storage-deletion into 93c24880bd8b6eba15bd5b585cc4581f216e9c74 on develop.

Coverage increased (+0.05%) to 82.582% when pulling 34504feaa59d7e59fcc360c0332df10f57131b51 on forking/fix-storage-deletion into 93c24880bd8b6eba15bd5b585cc4581f216e9c74 on develop.

@seesemichaelj thank you so much!

This is great!  Any idea when this will get merged into ganache-cli?

@chanhosuh You can try it out now with v6.10.1-beta.2!


Create a theme key for terminal command options

Currently, if you type something like python -m in the terminal, "-m" is colored in terminal.ansiBrightBlack. The problem is that with dark themes that have a dark terminal.background color you can not see the command option very well unless you redefine what black is,

Please add a specific key for these options.

I don't understand the request, these two colors are terminal. ansiBrightBlack and terminal.background as you suggest. You just need to increase the contrast between the 2 colors.

I can just change the terminal. ansiBrightBlack so that the readability is good enough, sure, but then black is not black any more. if any program wants to output something in BrightBlack, it prints the light color i set to have a contrast to the background.If I change it to yellow and the output should be a character with a yellow background and a bright black foreground color, you would just see a yellow block.
I hope you understand what i mean :)
(btw how can i find out that colors have other use than what the dscription is saying? I had to find this with trial and error, is there a better way?)

@tweakimp most terminals would tweak ansiBlack and ansiBrightBlack to be a grey that you can make out. The inverse is also an issue with white text on white background. It's just a flaw in the way that terminals were designed, there isn't really a fix to it other than that.
The description is the only way to find out what it does, for these keys specifically they're only used for what you're seeing.

Ok, thank you for your time.
Keep up the good work!