[Doc Improvement][Enable settings in message extensions note][3772649]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/includes/messaging-extensions/messaging-extensions-common.md
88
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/includes/messaging-extensions/messaging-extensions-common.md
91
5
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/includes/messaging-extensions/messaging-extensions-common.md
91
6
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Fix build fail with i686 toolchain

As noted in #31, I was experiencing a similar linker error and failure with the i686 toolchain. I had some time to dig into it a little bit and I believe I have a resolution for this issue that I would like to share.
The problem appeared to be the calling convention for the kernel32 DLL function and a  u64 being used even with the i686 (32-bit) toolchain. Apparently on Windows, a DWORD is always 32-bit (u32) even on a 64-bit system (x86_64). The GetStdHandle declaration was using a u64.
Additionally, the system calling convention needed to be added because in 64-bit environments (x86_64), the calling convention is C but in 32-bit environments the calling convention is stdcall, as noted in the Rust book's FFI section:

Most of the abis in this list are self-explanatory, but the system abi may seem a little odd. This constraint selects whatever the appropriate ABI is for interoperating with the target's libraries. For example, on win32 with a x86 architecture, this means that the abi used would be stdcall. On x86_64, however, windows uses the C calling convention, so C would be used. This means that in our previous example, we could have used extern "system" { ... } to define a block for all windows systems, not only x86 ones.

The system calling convention automatically handles the difference depending on the environment/toolchain. Without this notation, the linker would fail because the calling convention would not match the declarations for all three functions.
After making these changes, I was able to successfully build the crate using the stable-i686-pc-windows-msvc toolchain with a x86 environment (Developer Prompt for x86) and pass all tests. I was also able to successfully build the crate with the stable-x86_64-pc-windows-msvc. I used the following commands from the x86 Developer Prompt on a 64-bit architecture running Windows 10 to build and pass the tests that were previously failing to build because of the linker error:
C:\set RUSTUP_TOOLCHAIN=stable-i686-pc-windows-msvc
C:\cargo test
...
test result: ok. 56 passed; 0 failed, 0 ignored; 0 measured; 0 filtered out
...
test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

As mentioned in #31, this pull request can be ignored.


Numpy and TensorFlow bumps, brought to you by inner morpheus-nv community!

See merges below for details, most are just automated pulls and merges from other developers and managers. Via nv-morpheus#182 - nv-morpheus#239
plus val-run-pipeline.sh, test-cli.py and cli.py updates by other morpheus-nv workers.
277 files changed, 6 contributors, and 12 new commits.

Has @everyone done their checks for the Google CLA?
Let me know!

[ ] https://github.com/classicvalues/Morpheus/commit/768490889d220f347af329799d0f128bebf0cf5d Author: @mdemoret-nv<EMAIL_ADDRESS>

[ ] https://github.com/classicvalues/Morpheus/commit/9fba09c02425e838f6ae9e8c9f2b3530c2abe04a Author: @cwharris<EMAIL_ADDRESS>

[ ] https://github.com/classicvalues/Morpheus/commit/ec8afcd49840f2fb4ca404d4b80289823527f0ed Author: @dagardner-nv<EMAIL_ADDRESS>

[ ] https://github.com/classicvalues/Morpheus/commit/f6e98739e5dee3a5293e3196ad3167cac59bace3 Author: @tzemicheal<EMAIL_ADDRESS>

[ ] https://github.com/classicvalues/Morpheus/commit/35f01d3fc4f7523c9a231963ce1ba46f1b82d0f4 Author: @bsuryadevara<EMAIL_ADDRESS>

[ ] https://github.com/classicvalues/Morpheus/commit/30f275e60ba5e5b7940a6da52ed6fa7b69664f48 Author: @raykallen<EMAIL_ADDRESS>

Has @everyone done their checks for the Google CLA? Let me know!

[ ]  7684908 Author: @mdemoret-nv<EMAIL_ADDRESS>[ ]  9fba09c Author: @cwharris<EMAIL_ADDRESS>[ ]  ec8afcd Author: @dagardner-nv<EMAIL_ADDRESS>[ ]  f6e9873 Author: @tzemicheal<EMAIL_ADDRESS>[ ]  35f01d3 Author: @bsuryadevara<EMAIL_ADDRESS>[ ]  30f275e Author: @raykallen<EMAIL_ADDRESS>[ ]  [1f700a3](https://github.com/classicvalues/Morpheus/commit/1f700a32804478fa3f1f6b2ff1f5a6df0b6d7341 Author: @efajardo-nv<EMAIL_ADDRESS>

Thank you very much @efajardo-nv for having the CLA signed. I see a lot of lovely work that I am learning from. Appreciate the fact that @everyone has verified submissions this time around. Wish you all the best and hope we can get this pushed forward, love the time frame, since it is so much work at a very high level. Will keep some of the Docker developments I have opened up and work arounds for CVEs as well as unlabeled CVEs that come up as individual discussions and pulls on the NV-Morpheus OG page, or will do my best to pass them on to someone else on the NV Team to get them worked on (or if on Python, to the OG Python team, or on other PyPackages to those original Python and Jupyter Teams to get them sorted out and cleared off of everyone's board as soon as possible.) Have a blessed end of the year and an even better start to the fiscal year.
Respectfully,
Santiago De Jesus Villalobos-Gonzalez


Investigate FastCGI/uWSGI support

Currently the certidude serve spawns signer processes as root and then switches to user certitude to serve HTTP API. In order to use Kerberos authentication on the server we could serve the API on UNIX domain socket and let the web server do the heavy lifting. Currently there is no elegant way to start API as root and then have it's privileges dropped (UNIX domain socket binding is done once event loop starts), moreover FastCGI implementations seem to be somwhat behind for Python3. It might make sense to modify code to permit uWSGI usage from web server context (as user www-data), this assumes the certidude spawn is run during boot.

Resolved with 10a329c0feefa363c1cd0cc3766c46ef18865134


Partitions: Rules to apply Exchange operator into query trees

The following actions should be implemented as analyzer rules to be able to parallelize queries:

If parallelization is > 1, we can introduce an Exchange node, if not, the rule is doing nothing.

Exchange nodes should be added on top of much nodes as possible.

We stop adding nodes inside Exchange node when we found a binary node or the last node with no parents. We must also stop adding nodes inside Exchange node if we find an Aggregation. In the future, we can parallelize that kind of nodes too.

We cannot add Exchange nodes on top of other Exchange nodes, but we can have several Exchange nodes on siblings (see example graph).

Exchange nodes must finish always in a table.

Depends on #312

@ajnavarro parallelism is configurable or will we use a hardcoded value?

@erizocosmico Configurable: https://docs.google.com/document/d/1Z-5twQzCMb2CvC0AKzDkCM0VxLPC4sevKe4MD121Wvs/edit#heading=h.s5t1byc1rvtr


how to export giantt chart into PNG?//

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Other information (e.g. stacktraces, related issues, suggestions how to fix)

Hi, your issue reads like a support question. This github repo is only for bug reports and feature requests. Please try one of the listed Support Channels.


Unreliable binding of variables

Item#24

It's a top-level reporting problem. If you do a write of the variables you
can see the slot-numbers are correct. Will look into it.
On Fri, Jun 23, 2023 at 11:28 PM UWN @.***> wrote:

Item#24 http://www.complang.tuwien.ac.at/ulrich/trealla-prolog/Item#24
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/195, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEUHEWSLVBUKCB5Y3G3XMWKYRANCNFSM6AAAAAAZRSJ7OA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Some top level issues may be involved. But the core of it is not a top level problem:
?- ti(G_0,_), G_0.
   false.
?- ti(_,R_0), R_0.
   R_0 = (unify_with_occurs_check([[_A,_A|_B]|_B],[[[_A|_B]|_B]|_B]),unify_with_occurs_check([[_A|_B]|_B],[[[_A|_B]|_B]|_B]),unify_with_occurs_check([[_A|_B]|_B],[_A|_B])).

So the problem here is that the second goal R_0 succeeds, no matter what it is displaying. But it should fail like the first.


MoLPC colab error

Hi,
When running the test case works fine, but when trying to input our own sequence we get a FileNotFound error. However we don't think this is due to the naming of our input files. The file we are trying to run is in /content/MSA_2.a3m.
I attach some pictures with the variables inputted, and the error.
Variables inputted

Error

Thank you in advance

Hi, It seems that the ID is missing. I am not sure why this is. Try renaming MSA1 to MSA_1.a3m.

Hi again,
Thank you for the suggestion. One of my colleagues tried and she found this:
=========================
If I play around with the ID of the run, then I get an error in step 1 of the pipeline ([Errno 2] No such file or directory: '/content/MSA1_1.a3m').
I tried different combinations of IDs, and it lets me through to step 2 if I use ID: MSA
However, in step 2 it blocks me again with the same error as before:  [Errno 2] No such file or directory: '/content/gdrive/MyDrive/_1-2-3_paired.a3m'
Different IDs tried, error in step 1

As Bryant suggested -> ID: MSA_1.a3m

FileNotFoundError: [Errno 2] No such file or directory: '/content/MSA_1.a3m_1.a3m'

ID: MSA1 (as yesterday)

FileNotFoundError: [Errno 2] No such file or directory: '/content/MSA1_1.a3m'

ID: Cucumber

FileNotFoundError: [Errno 2] No such file or directory: '/content/Cucumber_1.a3m'

No ID at all (blank field)

[Errno 2] No such file or directory: '/content/_1.a3m'
======================
So, apparently it cannot find the file in /content/ even though it has been uploaded there. Do you have any idea of why can this be?
Thank you in advance

Hi, I am sorry that the naming is not more clear. The problem seems to be that the naming is not exact, which is required. Let's say you fill in ID=MSA. If you want to name your different MSAs ID_1,..,ID_N then you have to follow this exact convention. This means that the first MSA should be named: MSA_1 and not MSA_1.a3m. As you can see, the script can't find the file because it assumes the ending '.a3m' meaning that it looks for MSA_1.a3m_1.a3m' and not MSA_1.a3m. If you change to simply MSA_1 - it should work.
I am referring to this error:
FileNotFoundError: [Errno 2] No such file or directory: '/content/MSA_1.a3m_1.a3m'


bootstrap.service does not wait for ignition to finish causing OOM on root reprovision

Description
bootstrap.service does not wait for ignition to finish causing OOM on root reprovision on low memory (2GB) VM's.
On Fedora CoreOS when changing filesystem layout or using encryption, after first boot, the root filesystem is copied to a ZRAM in memory filesystem.  This is about 930MB.  bootstrap.service does not specify when to run so it tries to start kubelet during this copy process and causes my 2GB machines reprovisioning with LUKS rootfs cryptsetup to OOM and die.
Steps to Reproduce
see above
Expected behavior
provisioning not to fail
Environment

Platform: bare-metal
OS: fedora-coreos 35.20220116.3.0
Release: Typhoon version or Git SHA (reporting latest is not helpful)
Terraform:  terraform version
Terraform v1.1.5
on linux_amd64

provider registry.terraform.io/cloudflare/cloudflare v3.8.0
provider registry.terraform.io/hashicorp/null v3.1.0
provider registry.terraform.io/hashicorp/random v3.1.0
provider registry.terraform.io/hashicorp/template v2.2.0
provider registry.terraform.io/hashicorp/tls v3.1.0
provider registry.terraform.io/poseidon/ct v0.9.1
provider registry.terraform.io/poseidon/matchbox v0.5.0

Possible Solution

I added the following line to the bootstrap.service to have it start after provisioning is completed.
[Unit]
Description=Kubernetes control plane
ConditionPathExists=!/opt/bootstrap/bootstrap.done
**After=multi-user.target**

i cant reproduce this currently.  closing for now.


--local-tmp is currently broken after merged database change

Other possible issues with --local-tmp:

Will clash if two MPI processes run on the same node (unlikely but possible)
Will clash if two jobs with the same resultdb base name and the same --local-tmp run on the same nodes (also unlikely)
slice-search does not consider it for space calculation

@elileka is this fixed now with your changes?

Is there any update?

The first two issues should be handled as of commit cbb542af98095210bad8399cda02b67487d0bdde.
The third issue is a bit trickier. here's why:
The sliced search workflow (searchslicedtargetprofile.sh) is where the available disk (regular tmp folder) is taken into account to determine the number of profiles to process (the information is passed to it from search). --local-temp is a parameter, which is relevant only in MPI mode. Assuming all MPI nodes have the same available disk in their --local-tmp (does this even hold?), then the way to take it into account is to set the disk limit in the sliced search workflow as the minimum between the regular tmp folder (on the master node) and the available disk space on the master's --local-temp times the number of MPI nodes. However, the number of MPI nodes is determined through quite a complicated logic in the Prefilter constructor, which is called from within the sliced search workflow after it calculates the disk space limit. An exit with error could be added from within Prefilter (asking to re-run the program with --disk-space-limit equal to local-size x Nnodes) but it is not very elegant as the run already started by then.


Convert longitude and latitude to pitch and yaw

I wonder if there's a easy way to convert the two values.

They're exactly the same...

oh...thx


Regression: MBEDTLS_THREADING_ALT defined, but not all prerequisites

Since mbedtls 2.2.1, building fails on RHEL 7, 6 and 5 like this (all architectures):
cd /builddir/build/BUILD/mbedtls-2.2.1/library && /usr/bin/gcc  -Dmbedcrypto_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wmissing-declarations -Wmissing-prototypes -O2 -fPIC -I/builddir/build/BUILD/mbedtls-2.2.1/include   -o CMakeFiles/mbedcrypto.dir/aes.c.o   -c /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c
In file included from /builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/config.h:2509,
                 from /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:29:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/check_config.h:487:2: error: #error "MBEDTLS_THREADING_ALT defined, but not all prerequisites"
In file included from /builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/config.h:2509,
                 from /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:29:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/check_config.h:487:2: error: #error "MBEDTLS_THREADING_ALT defined, but not all prerequisites"
In file included from /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:38:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aes.h:279:21: error: aes_alt.h: No such file or directory
In file included from /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:43:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aesni.h:63: error: expected ')' before '*' token
In file included from /builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/config.h:2509,
                 from /builddir/build/BUILD/mbedtls-2.2.1/library/aesni.c:28:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/check_config.h:487:2: error: #error "MBEDTLS_THREADING_ALT defined, but not all prerequisites"
In file included from /builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aesni.h:26,
                 from /builddir/build/BUILD/mbedtls-2.2.1/library/aesni.c:35In file included from /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:38:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aes.h:279:21: error: aes_alt.h: No such file or directory
In file included from /builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:43:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aesni.h:63: error: expected ')' before '*' token
:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aes.h:279:21: error: aes_alt.h: No such file or directory
In file included from /builddir/build/BUILD/mbedtls-2.2.1/library/aesni.c:35:
/builddir/build/BUILD/mbedtls-2.2.1/include/mbedtls/aesni.h:63: error: expected ')' before '*' token
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c: In function 'mbedtls_aes_self_test':
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: 'mbedtls_aes_context' undeclared (first use in this function)
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: (Each undeclared identifier is reported only once
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: for each function it appears in.)
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: expected ';' before 'ctx'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1240: warning: implicit declaration of function 'mbedtls_aes_init'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1240: error: 'ctx' undeclared (first use in this function)
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1258: warning: implicit declaration of function 'mbedtls_aes_setkey_dec'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1261: warning: implicit declaration of function 'mbedtls_aes_crypt_ecb'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1274: warning: implicit declaration of function 'mbedtls_aes_setkey_enc'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1318: warning: implicit declaration of function 'mbedtls_aes_crypt_cbc'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1384: warning: implicit declaration of function 'mbedtls_aes_crypt_cfb128'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1442: warning: implicit declaration of function 'mbedtls_aes_crypt_ctr'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1483: warning: implicit declaration of function 'mbedtls_aes_free'
make[2]: *** [library/CMakeFiles/mbedcrypto_static.dir/aes.c.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/mbedtls-2.2.1'
/usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/mbedtls-2.2.1/CMakeFiles
make[1]: *** [library/CMakeFiles/mbedcrypto_static.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c: In function 'mbedtls_aes_self_test':
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: 'mbedtls_aes_context' undeclared (first use in this function)
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: (Each undeclared identifier is reported only once
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: for each function it appears in.)
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1237: error: expected ';' before 'ctx'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1240: warning: implicit declaration of function 'mbedtls_aes_init'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1240: error: 'ctx' undeclared (first use in this function)
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1258: warning: implicit declaration of function 'mbedtls_aes_setkey_dec'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1261: warning: implicit declaration of function 'mbedtls_aes_crypt_ecb'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1274: warning: implicit declaration of function 'mbedtls_aes_setkey_enc'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1318: warning: implicit declaration of function 'mbedtls_aes_crypt_cbc'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1384: warning: implicit declaration of function 'mbedtls_aes_crypt_cfb128'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1442: warning: implicit declaration of function 'mbedtls_aes_crypt_ctr'
/builddir/build/BUILD/mbedtls-2.2.1/library/aes.c:1483: warning: implicit declaration of function 'mbedtls_aes_free'
/builddir/build/BUILD/mbedtls-2.2.1/library/aesni.c:95: error: expected ')' before '*' token
make[2]: *** [library/CMakeFiles/mbedcrypto.dir/aes.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Note that mbedtls 2.2.0 was building fine on RHEL 7, 6 and 5 on all architectures.

ARM Internal Ref: IOTSSL-597

This is weird. MBEDTLS_THREADING_ALT should not be defined in config.h.
% wget -q https://tls.mbed.org/download/mbedtls-2.2.1-apache.tgz
% tar xf mbedtls-2.2.1-apache.tgz
% grep THREADING_ALT mbedtls-2.2.1/include/mbedtls/config.h
 * \def MBEDTLS_THREADING_ALT
//#define MBEDTLS_THREADING_ALT
 * You will have to enable either MBEDTLS_THREADING_ALT or

As you can see, it's commented out. Did you run any other Make target
beforehand? We recently change the apidoc target so that it now play tricks
with config.h - it's supposed to undo the changes though, but might fail to
if an error occurs - that could be a possible explanation.

https://kojipkgs.fedoraproject.org//work/tasks/7643/12487643/build.log is the complete build log. We are basically running:
/usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -D CMAKE_BUILD_TYPE:String=Release -D USE_SHARED_MBEDTLS_LIBRARY:BOOL=1 .
make -j4 all apidoc

Ok, the issue is you can't use -j if one of your targets is apidoc. If you replace that with make -j4 all && make apidoc that should work.

@mpg
But we are using the same build command on Fedora and it works fine?
See the Fedora buildlog: https://kojipkgs.fedoraproject.org//packages/mbedtls/2.2.1/1.fc23/data/logs/x86_64/build.log
The source RPM for RHEL 5, 6 and 7 is exactly the same as for Fedora.

Well, the issue with make -j4 all apidoc is it's racy, so I'm not particularly surprised it sometimes works and sometimes breaks. (I'm more surprised if it always works on Fedora and always fails on RHEL, but well.)

@mpg
It's now building fine with make -j 1 on RHEL 6 and 7. The cause may be an older version of cmake. Fedora has cmake 3.3.x and RHEL cmake 2.8.x.
Overall, I think it's not the best solution to build with make -j1. Maybe you can revert these apidoc changes? Especially with a minor version like 2.2.1.

The cause of this happing on RHEL only is definitely an old version of CMake. I tried with CMake 3.4 and 2.8.9 (easiest to get on Debian). CMake 3.4 inserts a .NOTPARALLEL target into the Makefile whereas 2.8.9 does not. This special target is enough to force make to build the all and apidoc targets in sequence.

@mortenstevens Yes, as I was saying in #391, I think I'll revert that change, I failed to anticipate that it would break parallel builds with multiple targets, and I think that's a good enough reason to revert it.
However, as there are at least two workarounds (using -j1 or make -j4 all && make apidoc), it may have to wait until we have other reasons to make a new release. Sorry for the inconvenience in the meantime.


Conversion from Bruker MS Imaging .d format (mcf, mcf_idx)

Currently, it is not possible to convert Mass Spectrometry Imaging data obtained directly from a Bruker MALDI-TOF instrument. First, one has to export the data to multiple fid subdirectories through FlexImaging, and then use msconvert to get mzML files and eventually an imzML image.
The original exported format contains MCF and MCF_IDX files. I tried searching for documentation online but came up empty.
One example can be found online => here.
The original files are:

MCF extensions
MCF_IDX extensions
ProjectCreationHelper
SyncHelper
Storage.mcf_idx

There are no u2 or baf files, the authors in the link must have obtained them through FlexImaging.
Is the export to mzML something that you considered adding to pwiz? If you have any pointers as to how to proceed, I'll be happy to look at it myself.

The example you linked to above does have a 1.2GB analysis.baf file. That's where the data is. The MCF files are some kind of metadata.

An imaging example is available here. The data is stored in MCF files.
See Kidney_30min -> .d subfolder.

Those datasets do have some big mcf files, but I'm not totally convinced that's where the data is. Looking at them in a hex editor I can't discern any obvious data arrays of floats or doubles.

Thanks for looking at this issue.
I will check whether this data is sufficient for the full conversion to XMASS fid through the proprietary software.
Unfortunately, I won't have access to the software in the near future. I will get back to you as soon as I can.

I didn't mean to imply the .d directory referenced files anywhere else. Only that some files might be missing from it. If you find any SDK that can read this data, we can integrate it to read the files directly, but your conversion using Bruker's converter to fid (BAF would be better if you can do that) may be your only option now.

I didn't mean to imply the .d directory referenced files anywhere else. Only that some files might be missing from it. If you find any SDK that can read this data, we can integrate it to read the files directly, but your conversion using Bruker's converter to fid (BAF would be better if you can do that) may be your only option now.

Hello, I am a little bit confused about the solution.

what's the meaning of analysis.baf file or what's the analysis.baf file representing for?
what do the word "fid" and the word "BAF" mean?
Thanks!


Did you miss dropout?

https://github.com/lucidrains/vit-pytorch/blob/6d7298d8ad5b15510f49b977847a3364302e74d2/vit_pytorch/vit.py#L58
Whether or not should add dropout layer after attention?

@Fei-Wang Hi Fei, so it turns out I removed the post-attention dropout due to an earlier issue https://github.com/lucidrains/vit-pytorch/pull/7 I must have read it too fast and concluded too soon that ViT did not have that specific dropout, when in fact, now that I look back on the original Jax repository, they do include that dropout..
I've readded that dropout throughout the entire repository, do let me know if I missed any!

https://github.com/lucidrains/vit-pytorch/pull/7/files#diff-fce7f92e0b957764a240f657482514430a2fcdd8a0fcfc1d23372f119a92e6ccL57


e2e: remove check member ready

point 4 in issue: https://github.com/coreos/etcd-operator/issues/788
Just sleep a little bit instead of relying on pod IP.

lgtm

issue tracked: https://github.com/coreos/etcd-operator/issues/808


Support for Laravel

Is it possible to use this package with Laravel? if not, is there any package like this for Laravel framework?

Yes. I think Workflower can be used with Laravel since it only uses Symfony components, not Symfony framework. But you may want well-integrated features such as WorkflowerBundle for Symfony.

Did you manage to do this? I need the same thing now, to integrate workflower into Laravel. Could you give me some hints?

@lakilevi No, I didn't use it.

Thanks!

What did you use instead for Laravel?

I handled it in some tricky way using roles and permissions like this:
Each user with a specific role,  can(permission) do some specific actions on our object in a specific state.


feat(rpc): add EthSubscriptionIdProvider

Closes #1720
Implements an random hex quantity string id provider

Codecov Report

Merging #1721 (ef19232) into main (12e9402) will decrease coverage by 29.58%.
The diff coverage is 15.09%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1721       +/-   ##
===========================================
- Coverage   73.05%   43.47%   -29.58%
===========================================
  Files         388      389        +1
  Lines       46469    46519       +50
===========================================
- Hits        33947    20226    -13721
- Misses      12522    26293    +13771

Flag
Coverage Δ

integration-tests
18.13% <9.43%> (-2.28%)
:arrow_down:

unit-tests
35.75% <11.32%> (-32.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/rpc/ipc/src/server/mod.rs
9.31% <ø> (-55.07%)
:arrow_down:

crates/rpc/rpc/src/lib.rs
100.00% <ø> (ø)

crates/rpc/rpc/src/eth/id_provider.rs
2.70% <2.70%> (ø)

crates/rpc/rpc-builder/src/lib.rs
62.43% <43.75%> (-4.18%)
:arrow_down:

... and 198 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[1.10.2]Crash during startup

Magic Bees Version: Beta 3.0.4
With Forge Version <IP_ADDRESS>1
ElecCore 1.7.431
Forestry <IP_ADDRESS>
Full Crash-Repo is down here:
http://paste.ubuntu.com/25925664/

Confirmed:
Works:

Crashes:

Log:
https://paste.ee/p/fb2a6
Expires 2018-05-12

Looks like the error was on ElecCore's end and has been fixed:
https://github.com/Elecs-Mods/ElecCore/issues/122
Pending pull request into Forestry:
https://github.com/Elecs-Mods/ElecCore/pull/123


Auto update .dat file on clients

#!/bin/bash

url="https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/iran.dat"
current_file="iran.dat"

if [ -f "$current_file" ]; then
    new_checksum=$(curl -L "$url.sha256" | cut -d " " -f 1)
    current_checksum=$(shasum -a 256 "$current_file" | cut -d " " -f 1)

    # Compare the two checksums
    if [ "$new_checksum" != "$current_checksum" ]; then
        curl -L "$url" -o "$current_file.temp"
        # Replace the current file with the new file only if the new one is valid
        if [ "$(shasum -a 256 "$current_file.temp" | cut -d " " -f 1)" == "$new_checksum" ]; then
            mv "$current_file.temp" "$current_file"
            echo "Domains file updated successfully."
        else
            rm "$current_file.temp"
            echo "Domains file is invalid."
        fi
    else
        echo "Domains file is already up to date."
    fi
else
    curl -L "$url" -o "$current_file"
    echo "Domains file downloaded successfully."
fi

hi  how can i use this? pls help i want an auto update for iran.dat file for all of clients. because we have to update every couple of days

To use this script, you would save it to a file, give the file execute permissions using the command chmod +x filename, and then run it using ./filename. Please replace "filename" with the actual name of the file you saved the script to.

The instructions on how to use this script have already been added to the readme file. You can find them there:
https://github.com/bootmortis/iran-hosted-domains#automatically-updating-the-irandat-file


[Chore] Stripe/infra - steps to get stripe endpoint fail

This step documented here.
source .env && echo "Your Stripe webhook endpoint URL is:\n$SERVICE_STRIPE_URI/stripe-api/stripe/webhook"

fails with the following:
source .env && echo "Your Stripe webhook endpoint URL is:\n$SERVICE_STRIPE_URI/stripe-api/stripe/webhook"
bash: Manage: command not found
bash: .env: line 4: syntax error near unexpected token `('
bash: .env: line 4: `  • An Application can have multiple environments (ex: dev, test, prod).'

Obviously I can get the value from the .env file but the step needs to be fixed.
Ran it in Codespaces.

Why are we creating a new .env file? It seems like it is yet another .env file that may be sitting around forever confusing developers.

Change azd env get-env > .env to azd env get-values > .env

Fixed by https://github.com/Azure-Samples/contoso-real-estate/pull/368


clarity for FCS_STO_EXT.1.1 selections and assurance activities

The third selection in FCS_STO_EXT.1.1 allows for application-implemented functionality for storing credentials.  Yet this is only acceptable on those non-mobile platforms which do not provide hardware protections for storage.
An Application Note should be added to clarify this.

Added Application Note -- the AAs restrict which selections can be made, on a per-platform basis.


Update mpl version to fix mde issue

we would want to fix this in pyproject.toml to fix all cases of this, not just in this tutorial. Also, I'm not convinced that this is a widespread error. Have you tried installing the highest version of 3.4 and testing it?

i tried 3.4, error on cell 16
ImportError: cannot import name '_png' from 'matplotlib' (/usr/local/lib/python3.7/dist-packages/matplotlib/__init__.py)

The error changes? That's not a good sign. There's likely something else that is at the bottom of this issue.

Just as a sanity check, I reran the unmodified notebook and it had no errors.

It looks like a Colab issue. Matplotlib is imported on start of a Colab session. You have to restart the notebook when you update Matplotlib.

Agreed, I think it's just a colab versioning issue.


What should happen if we write to dynamodb and can't connect to kinesis

Should we try to undo the dynamodb insert, or just log an error?

Group discussion of feb. 26:

leave record in dynamodb with provided data as is
log error of connection to kinesis
write better error handling for retries or flagging records that weren't able to be processed
make sure provenance / resource state is clear to know that the resource as received but not processed (make this a simple lifecycle state in MAP for now?)

@aaron-collier @eefahy look right?

LGTM

Doc'd here: https://github.com/sul-dlss-labs/taco/wiki/Prototype-Processing-Framework#error-recovery-framework


Fix theme name

This PR will fix name conflicts when user loads Malibu Dark theme in vscode.
The error that vscode shows is this:
Unable to load file:///c%3A/Users/devmor/.vscode/extensions/wicked-labs.malibu-0.0.6/themes/malibu-sunset.json: Unable to read file 'c:\Users\devmor.vscode\extensions\wicked-labs.malibu-0.0.6\themes\malibu-sunset.json' (Error: Unable to resolve nonexistent file 'c:\Users\devmor.vscode\extensions\wicked-labs.malibu-0.0.6\themes\malibu-sunset.json')
Just because of a filename typo (devmor is my username).

Fixed. It was a typo in the file.


Change the shard check to return the shard to use in the creation of …

…the api URL, and throw an exception if it is not a valid Shard name.
I hate to admit that I don't know how to test with the version I cloned over the version I have installed with pip, so I wasn't able to test my changes unfortunately. ( I am new to python, and self taught over the past month )
Let me know if it looks good.
Thank you for the link to how to make pull requests.

Hey that's OK. I haven't set up a proper test suite yet for this project (it's on my TODO list). I will test everything out before I merge.
Thanks for this. :)

You're welcome, and it's no problem, for now I just copied my code over the one in site-packages and it seems like it works.
It still allows an invalid shard to be used on initialization, but will then give the invalid exception on attempting to use it, possibly it would be better to also check the shard at this stage. Would still be nice to allow for None though so additional logic would be needed, I'll leave that alone.

Closes #2


Long-Term Validation support (PAdES-LT and PAdES-LTA)

This PR adds support for PAdES-LT and PAdES-LTA profiles as specified in ETSI 102 778. In these profiles, recovation data and a full certificate chain is embedded into the signature, allowing for long-term validation.
In user-centric terms, this will lead to a "Signature is LTV enabled" in Adobe Reader.
Closes #30

Overruling snyk, as shown volunarability in a lib is irrelevant for open-pd-sign


MM-48897: Reverts text change.

Summary
Reverting a text pending legal approval.
Ticket Link
https://mattermost.atlassian.net/browse/MM-48897
Screenshots
Previous change:

This PR reverts back to:

Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

@BenCookie95 @hmhealey Could you please review today before the code freeze?

@BenCookie95 I see the original PR updated i18n/en_AU.json. Do you know if I need to update that here too, or was that a mistake?

@BenCookie95 I see the original PR updated i18n/en_AU.json. Do you know if I need to update that here too, or was that a mistake?

@mkraft Let’s also update the en_AU.json file

Cherry pick is scheduled.


Is this constraint jupyter_server >=1.1,<2 still valid ? It makes the cond-forge package not compatible with jupyter_server 2.0

Comment:
Recently jupyterlab-git-0.41.0 was release to work with jupyter_server 2.0.x. Great, this works well when installing it with pip but not conda/mamba.
I have the following conda yaml config file:
name: test
channels:
  - conda-forge
dependencies:
  - python=3.10
  - jupyter_server=2.0.5
  - jupyterlab-git=0.41.0

I am getting:
Looking for: ['python=3.10', 'jupyter_server=2.0.5', 'jupyterlab-git=0.41.0']

Could not solve for environment specs
Encountered problems while solving:
  - package jupyterlab-git-0.41.0-pyhd8ed1ab_1 requires nbdime >=3.1,<4.0, but none of the providers can be installed

The environment can't be solved, aborting the operation

After some investigation:
it seems that jupyter_server=2.0.5 is not compatible with jupyter-server-mathjax=0.2.6
Could not solve for environment specs
Encountered problems while solving:
  - package jupyter-server-mathjax-0.2.6-pyhc268e32_0 requires jupyter_server >=1.1,<2, but none of the providers can be installed

and this constraints doesn't seems to exist for the pypi package. It seems to be coming from here:
https://github.com/conda-forge/jupyter-server-mathjax-feedstock/blob/main/recipe/meta.yaml
run:
    - python >=3.7
    - jupyter_server >=1.1,<2

now that jupyter_server is out and working well, is this requirement still valid  jupyter_server <2 as it is not present for pypi ?
Happy to submit a PR without this requirement to rebuild a conda-forge package jupyter-server-mathjax-0.2.6

I confirm that https://github.com/conda-forge/jupyter-server-mathjax-feedstock/pull/7 fixed the issue. Thanks for the quick approval.


VR support

this fantastic Shader-system does not work in VR yet.

No it doesn't, and I have no VR device nor any motivation to update it to support VR, sry for that :D


Some namespaces can be merged in combine items

An example of a generated file:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls_0="clr-namespace:Controls"
xmlns:controls_1="clr-namespace:Controls">

Notice that both controls_0 and controls_1  use the same namespace.

Since namespaces aren't modified anymore, we can close this.


workspace: anti aliasing

fixes: #2953
QA

[x] android
[x] ios
[x] windows
[ ] linux

windows screenshots

linux screenshots


Tower-of-Hanoi

Tower Of Hanoi
close #157
Proposed Changes

added  Tower-of-Hanoi problem with recursive  solution where  firstly we will take input and then send it as one of the argument in  function  (TOH) which is taking four arguments (number of disks, source ,helper ,destination)  then it will call itself  with three arguments (number of disks-1, source destination , helper )  and then printing output then again calling function with arguments(number of disks-1,helper, source , destination) , the function will call itself again and again until number of disks is greater than 1 with some other arguments.
I code the problem  with proper comments and with  time-complexity  of O(2^n) where n is the total number of disks.

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

please have a look on my PR

updated both readme and tower-of-hanoi.cpp

updated👍

@all-contributors please add @i-am-aisha  code


saa 620 - add comment to instance response

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (5c3afae) 84.96% compared to head (ca0676e) 84.97%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #417   +/-   ##
=========================================
  Coverage     84.96%   84.97%
- Complexity     2103     2104    +1
=========================================
  Files           285      285
  Lines          7997     8000    +3
  Branches        457      457
=========================================
+ Hits           6795     6798    +3
  Misses          942      942
  Partials        260      260

Impacted Files
Coverage Δ

...ctivitiesmanagementapi/entity/ScheduledInstance.kt
90.00% <100.00%> (+0.16%)
:arrow_up:

...iesmanagementapi/model/ActivityScheduleInstance.kt
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Aider ending bug fix

Description ✏
Closes #xxx
What changed? Feel free to be brief.

Bullet points are helpful.
Screenshots are helpful (if applicable).

Checklist ✅

[ ] I have added screenshots (if UI changes are present).
[ ] I have done a self-review of my code.
[ ] I have manually tested my code (if applicable).

Great job


Warning "incompatible pointer to integer" in CustomFooterView.m

Xcode 8.3, iOS 10.3, simulator
On compilation, get a warning in CustomFooterView.m:
warning reads:
" Incompatible pointer to integer conversion assigning to 'BOOL' (aka 'signed char') from 'UIView * _Nullable'"
from this line:
// Update Header Display State
self.shouldDisplayHeader = self.alertController.headerView;

@Solublepeter we have fixed this warning in the latest release. Thanks for the feedback.


Update policy-csp-defender.md

Looks like we have a mistake in the 'DisableCatchupFullScan' description.

Please also note that another PR for this file has been opened 2 days ago: #6177 (Update policy-csp-defender.md)


No resource with given identifier found (-32000)

 func listenNetWork(traceid string, timeoutCtx context.Context) {
	chromedp.ListenTarget(timeoutCtx, func(event interface{}) {
		switch event.(type) {
		case *network.EventResponseReceived:
			res := event.(*network.EventResponseReceived)
			go ProcessResponse(traceid, timeoutCtx, res)
		}
	})
}

func ProcessResponse(traceid string, timeoutCtx context.Context, r *network.EventResponseReceived) {
	resbody := ""
	p := network.GetResponseBody(r.RequestID)
	c := chromedp.FromContext(timeoutCtx)
	body, errb := p.Do(cdp.WithExecutor(timeoutCtx, c.Target))
	if errb == nil {
		fmt.Println(string(body))
	} else {
		fmt.Println(errb.Error())
	}
}

想通过上面的代码获取到请求响应的内容，大部分请求的响应内容body可以获取到，偶尔会报 No resource with given identifier found (-32000)，这个是什么原因呢，要怎么才能不报错

As stated by the message, there is not resource with the given request id. The message is returned from the browser:
https://github.com/chromium/chromium/blob/4c9e0cda7743d1140936644eab69437cfc10f3fa/third_party/blink/renderer/core/inspector/inspector_network_agent.cc#L2152
I don't know what will lead to this error. The good first step is to log the request when the error occurs.

Closing since no enough information is provided and the issue is not actionable.

一样遇到了

@oshellhahaha Can you provide a demo to show the issue?

I also met this case:
In my case, I listen network.EventResponseReceived and identify request the url i need and record this request id use variable reqId.
Then listen network.EventLoadingFinished to get response by network.GetResponseBody(reqId).Do(ctx) and i got error: No resource with given identifier found (-32000).

@xzvwang Can you provide a self-contained, executable demo?

I have the same problem.
After testing, I found that if the request method is OPTIONS , the response data is empty, or Content-Length = 0, GetResponseBody will appear No resource with given identifier found (-32000)  error.


Graph tags selector

When tags selector is maximized, tabs with alternative selectors must appear. One of alternative selectors is cloud selector, and other is graph selector. Both should switch to default linear one upon dragging selector down.
Graph selector represents a graph with tags as its vertices. When two tags A and B intersect (there are resources labeled with both of them) then we have edge between A and B.

Possible solution


M table generator

Generator Class for the Mtable

Hi @tsuehr , thanks a lot for your contribution.
where do you base this branch from? can you base your branch from master? this will make review and merge much easier.

on the other side, I dont see any test for this code? how do you make sure it works as expected?

closed in benefit of #17


Change date string parsing

We have started using your library in one of our projects and it is very good.
We have encountered a problem with the date parsing, though.
Dates on the format HD=20120105 will result in datetime.date(2021, 05, 01). I would expect that if the first part is the year, then it is followed by month and day.
I understand that it is impossible to always interpret the date strings correctly.
Are you willing to accept a pull request for this issue?
Again, thank you for a very nice library.

Heyas!
Thank you :)
IMHO, date string parsing should always prefer Scandinavian date formats over American when a date can be interpreted as both, as after all, SGF is the Swedish geotehcnical institute. HD=20210105  -> datetime.date(2021, 05, 01) is a bug in my opinion.
I have to admit I thought this was already working this way, given the dayfirst=True in this code used to parse dates:
dateutil.parser.parse(v, parserinfo=dateutil.parser.parserinfo(dayfirst=True)).date()
When I try it on the command line it seems to indeed work correctly:
>>> import dateutil.parser
>>> dateutil.parser.parse("20120105", parserinfo=dateutil.parser.parserinfo(dayfirst=True)).date()
datetime.date(2012, 5, 1)

I'd be happy to receive a PR!

Hello again
Just to clarify: Do you mean it is correct to interpret the date string 20210105 as datetime.date(2021, 5, 1)? I understand it is how it works today, but that is what I find problematic.
I agree if the year is the last part of the date string, the day comes before the month in Scandinavia, but if the year comes first, then the string should be interpreted as an ISO-8601 (YYYY-MM-DD) date string.
Please advice.

Just another factor, that I just discovered:

The specification says the date format should be in ISO-8601.

Oh... I'm apparently blind today! ;S
20210105 really should mean datetime.date(2021, 1, 5)... I guess dayfirst=True doesn't work with YYYYMMDD (and only solves DDMMYYYY vs MMDDYYYY)... So yes, if you have a solution for this I'd be happy to merge it!
Yes, the format "should" be YYMMDD, but in real life data I have come across (mostly files downloaded from NADAG), KD and RefDatum are seldom in a proper format - I guess because they're typically not automatically filled in but entered by a human as a text field...

>>> dateutil.parser.parse("20120105", parserinfo=dateutil.parser.parserinfo(dayfirst=False)).date()
datetime.date(2012, 1, 5)
>>> dateutil.parser.parse("05012012", parserinfo=dateutil.parser.parserinfo(dayfirst=False)).date()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/redhog/Projects/Emerald/EmeraldInterpret/env/lib/python3.8/site-packages/dateutil/parser/_parser.py", line 1356, in parse
    return parser(parserinfo).parse(timestr, **kwargs)
  File "/home/redhog/Projects/Emerald/EmeraldInterpret/env/lib/python3.8/site-packages/dateutil/parser/_parser.py", line 654, in parse
    ret = self._build_naive(res, default)
  File "/home/redhog/Projects/Emerald/EmeraldInterpret/env/lib/python3.8/site-packages/dateutil/parser/_parser.py", line 1229, in _build_naive
    naive = default.replace(**repl)
ValueError: month must be in 1..12
>>> dateutil.parser.parse("05012012", parserinfo=dateutil.parser.parserinfo(dayfirst=True)).date()
datetime.date(501, 12, 20)

So I'm not sure how any of this ever worked properly :(

>>> dateutil.parser.parse("05-01-2012", parserinfo=dateutil.parser.parserinfo(dayfirst=False)).date()
datetime.date(2012, 5, 1)
>>> dateutil.parser.parse("05-01-2012", parserinfo=dateutil.parser.parserinfo(dayfirst=True)).date()
datetime.date(2012, 1, 5)
>>> dateutil.parser.parse("2012-01-05", parserinfo=dateutil.parser.parserinfo(dayfirst=True)).date()
datetime.date(2012, 5, 1)
>>> dateutil.parser.parse("2012-01-05", parserinfo=dateutil.parser.parserinfo(dayfirst=False)).date()
datetime.date(2012, 1, 5)


Helium Distributors

@shawaj Reckon we can add a section for distributors?

I've added this as a rough template to begin with to see what it looks like.

I've added this as a rough template to begin with to see what it looks like.

No reason not to @JohnWhiting
Could always add it as a table or something

No reason not to @JohnWhiting
Could always add it as a table or something

If you want to, for now you could just create a list on that page @JohnWhiting and we can work on making it pretty later...

If you want to, for now you could just create a list on that page @JohnWhiting and we can work on making it pretty later...

Link https://github.com/NebraLtd/Helium-Guides/blob/main/docs/distributors.md

Link https://github.com/NebraLtd/Helium-Guides/blob/main/docs/distributors.md

And then you can get your face on here @JohnWhiting ...

😜😜😜

And then you can get your face on here @JohnWhiting ...

😜😜😜

Would this be the better page for the buy now button to link to?

Would this be the better page for the buy now button to link to?

That is a good question @ryanteck - see what @JohnWhiting thinks I guess?

That is a good question @ryanteck - see what @JohnWhiting thinks I guess?

Fixed via https://github.com/NebraLtd/Helium-Guides/commit/e53da31c4637909446017274a5d6a228e1faad10#diff-e5c01616d31cbeb7a4c977fe83b5e5f3658f54651c479586523dba89dd5c8858
@JohnWhiting are we missing anyone here?

Fixed via https://github.com/NebraLtd/Helium-Guides/commit/e53da31c4637909446017274a5d6a228e1faad10#diff-e5c01616d31cbeb7a4c977fe83b5e5f3658f54651c479586523dba89dd5c8858
@JohnWhiting are we missing anyone here?

Closing in favour of #21

Closing in favour of #21


[Feature][Api] Refactor org.apache.dolphinscheduler.api.controller.DataAnalysisController

Purpose of the pull request
Fix https://github.com/apache/dolphinscheduler/issues/11754

I feel the need for a uniform return instead of doing a type per interface

They all inherit Result, I think this is just a coding style, a unified style is fine.

@SbloodyS  I accidentally deleted Reviewers and Assignees, please help me set them up again.

I feel the need for a uniform return instead of doing a type per interface

They all extends Result, I think this is just a coding style, a unified style is fine.

If there are 1000 interfaces, do you want to create 1000 new classes for return?

I feel the need for a uniform return instead of doing a type per interface

They all extends Result, I think this is just a coding style, a unified style is fine.

If there are 1000 interfaces, do you want to create 1000 new classes for return?

Yes. That's what we wanted.

@SbloodyS I have revised it, please help to review it, thx


[layout] Toolbar

https://pf-next.com/layouts/toolbar/examples/

@dcaryl It looks like these links are broken now. Could you paste a screenshot here for posterity?


cg fix: update qs version

update qs from 6.7.0 to 6.11.0 in property-query-service package

@zhenmichael To resolve merge conflicts in pnpm-lock, just run pnpm i with the merge conflict. It'll detect it and fix it for you. Then inspect the results to make sure they're not dumb. :)


applicableLegislationrequired for geospatial HVD´s

a future geodcatap must assure that the attribute dcatap:applicableLegislation is included as this is required for geospatial HVD´s  metadata (current DCAT-AP-HVD)

Yes, there will be a section and a link to DCAT-AP HVD which states this requirement for HVDs.


Segfault on sapling that doesn't honor LEGION_FREEZE_ON_ERROR

Pull https://github.com/stanfordhpccenter/soleil-x/tree/bug/segfault-wo-freeze and follow the setup instructions for sapling. Then run:
USE_CUDA=0 ./soleil.sh -m ../testcases/hit_to_openchannel/upper.json

The application will crash with a segfault and exit, even though we are running with LEGION_FREEZE_ON_ERROR=1:
*** Caught a signal: SIGTERM(15) on node 1/2
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 19115 on node n0002 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

This is a CPU-only run on 2 nodes. You can add debug output to soleil_mapper.cc to verify that the runtime has started. The application doesn't make any progress, so this is not an issue of segfaulting after the runtime had shut down.

Are you passing all your environment variables to mpirun with the '-x' flag?

Yes https://github.com/stanfordhpccenter/soleil-x/blob/bug/segfault-wo-freeze/src/run.sh#L121-L127

Sean posited that this has something to do with the stack getting corrupted, and that caused both the original segfault, and also a segfault inside the signal handler.

I fixed my original issue. The workDual task requires ~3MB of stack space, and I was only setting -ll:ostack (which controls the stack space allocated to OpenMP threads) but not -ll:stacksize (which controls the same value for regular CPU threads). This caused Soleil to run out of stack space when running with just CPU processors. This should have been immediately obvious to me if I had bothered to disas $<workDual> at crash time:
Dump of assembler code for function $<workDual>:
   0x00000000012254a0 <+0>:    push   %rbp
   0x00000000012254a1 <+1>:    mov    %rsp,%rbp
   0x00000000012254a4 <+4>:    push   %r15
   0x00000000012254a6 <+6>:    push   %r14
   0x00000000012254a8 <+8>:    push   %r13
   0x00000000012254aa <+10>:    push   %r12
   0x00000000012254ac <+12>:    push   %rbx
   0x00000000012254ad <+13>:    sub    $0x328a98,%rsp
=> 0x00000000012254b4 <+20>:    mov    %rdi,-0x328270(%rbp)
   0x00000000012254bb <+27>:    mov    %rsi,-0x328268(%rbp)
   0x00000000012254c2 <+34>:    mov    %edx,-0x32825c(%rbp)
   0x00000000012254c8 <+40>:    mov    %rcx,-0x328258(%rbp)

In this situation the signal handler is invoked but immediately crashes, because $esp is pointing outside of mapped memory. Sean would like the signal handler to also catch this sort of error, and to accomplish this the signal handlers would need to be using an alternate stack. I'm keeping this issue open (and changing the name) to track work on this.

Assigning this to me.  As @manopapad suggests, I want to look at using sigaltstack() to catch segfaults in a more robust way.

This should be fixed with commit eb0c4131dbc61627d60e40f317c885fbc16b52d1.  @manopapad, do you want to test it out, or just take my word for it?

I have tested the fix and can confirm that Legion now freezes successfully even when we overflow the stack.


Enrollment Report: data validation

Please interrogate the data entry related to race/ethnicity/gender for BEACH participants that includes mom-baby.
MATERNAL ETHNICITY: BEACH Study Overview (report)/ mom_ethnicity_nih (variable)

[x] BLS098A
[x] BLS099A
[x] BLS100A
[x] BLS101A
[x] BLS104A
[x] BLS114A
[x] BLS115A
[x] BLS117A
[x] BLS118A
[x] BLS119A
[x] BLS121A

MATERNAL SEX: BEACH Study Overview (report)/ maternal_sex_nih (variable)

[x] BLS110A
[x] BLS111A
[x] BLS112A
[x] BLS113A
[x] BLS114A
[x] BLS115A
[x] BLS117A
[x] BLS118A
[x] BLS119A
[x] BLS121A

INFANT SEX: BEACH Study Overview (report)/ infant_sex_nih (variable)

[x] BLS100A
[x] BLS103A
[x] BLS114A
[x] BLS115A
[x] BLS117A
[x] BLS118A
[x] BLS119A
[x] BLS121A
20220907_missing_race.csv

@Decicco-Lewis will start working on BLS098-110 and I will wrap up entering some recently found missing files and start on BLS111 (and update after)

The data for the listed participants for those categories are entered. Please let me know if there are any questions.

Ran code and no fields marked as N/A in report. Should be good.

this issue has been resolved.


EventActivityBinder<TInstance,TEvent>.Schedule() results with message in error queue

Hi,
I try to schedule a message with this code
.Schedule(SomethingCompletedWithTimeout, __context => new SomethingCompletedMessage(__context.Instance.CorrelationId), __context => __context.Instance.Timeout)

and this message goes to error queue with information:
Content-Type:	application/vnd.masstransit+json
MT-Reason:	fault
MT-Fault-Message:	The queueName must be a sequence of these characters: letters, digits, hyphen, underscore, period, or colon.
MT-Fault-Timestamp:	2016-06-28T12:46:25.0842414Z
MT-Fault-StackTrace:	at MassTransit.RabbitMqTransport.RabbitMqAddressExtensions.VerifyQueueOrExchangeNameIsLegal(String queueName)
at MassTransit.RabbitMqTransport.RabbitMqAddressExtensions.GetReceiveSettings(Uri address)
at MassTransit.RabbitMqTransport.Configuration.Builders.RabbitMqBusBuilder.CacheDurationProvider(Uri address)
at MassTransit.Transports.SendEndpointCache.GetEndpointCachePolicy(ICacheExpirationSelector selector)
at MassTransit.Util.Caching.LazyMemoryCache`2.<>c__DisplayClass16_0.<Get>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
at MassTransit.Transports.SendEndpointCache.<GetSendEndpoint>d__6.MoveNext()
at MassTransit.Serialization.BaseConsumeContext.<GetSendEndpoint>d__48.MoveNext()
at MassTransit.Scheduling.EndpointMessageScheduler.<ScheduleSend>d__15`1.MoveNext()
at Automatonymous.Activities.ScheduleActivity`3.<Automatonymous-Activity<TInstance\,TData>-Execute>d__7.MoveNext()
at Automatonymous.Activities.DataConverterActivity`2.<Automatonymous-Activity<TInstance>-Execute>d__4`1.MoveNext()
at Automatonymous.Behaviors.ActivityBehavior`1.<Automatonymous-Behavior<TInstance>-Execute>d__5`1.MoveNext()

The schedule itself defined as
Schedule(() => SomethingCompletedWithTimeout,
	__x => __x.SomethingTimeoutId,
	__x =>
	{
		__x.Received = __e => __e.CorrelateById(__context => __context.Message.CorrelationId);
	});

Any ideas?

What's the address of the scheduler you are using? Is it properly formed and a valid RabbitMQ queue address?
rabbitmq://server/vhost/scheduler_queue

Yep, I forgot about vhost.


Using more than 2 TPDO

Hello,
When I m using more thant 2 TPDOs (configured with the OD_editor), the 2 first TPDOs are sent and then, nothing happens.
In CO_CANsend I have the error CO_ERROR_TX_OVERFLOW. If i only use 2 TPDOs, it works perfectly.
When i put a breakpoint before CO_process_TPDO, then it works and send all TPDOS, but the device will no longer receive any commands.

Here you can see the configuration in the OD_editor. If i check "invalid" for one TPDO it works fine

Probably there is a problem with the driver.

Hi!I have the same problem.I want to send 5 TPDO, the first TPDO was sent successfully，but the TPDO5 is not send.When i put a breakpoint in CO_TPDOsend(TPDO) .It running normal.
`        /* Send PDO by application request or by Event timer */
if (TPDO->transmissionType >= CO_PDO_TRANSM_TYPE_SYNC_EVENT_LO) {
#if (CO_CONFIG_PDO) & CO_CONFIG_TPDO_TIMERS_ENABLE
TPDO->inhibitTimer = (TPDO->inhibitTimer > timeDifference_us)
? (TPDO->inhibitTimer - timeDifference_us) : 0;
        /* send TPDO */
        if (TPDO->sendRequest && TPDO->inhibitTimer == 0) {
            CO_TPDOsend(TPDO);
        }

#if (CO_CONFIG_PDO) & CO_CONFIG_FLAG_TIMERNEXT
if (TPDO->sendRequest
&& timerNext_us != NULL && timerNext_us > TPDO->inhibitTimer
) {
/ Schedule for just beyond inhibit window */
timerNext_us = TPDO->inhibitTimer;
}
#endif
#else
if (TPDO->sendRequest) {
CO_TPDOsend(TPDO);
}
#endif
} / if (TPDO->transmissionType >= CO_PDO_TRANSM_TYPE_SYNC_EVENT_LO) */`

@Ashenoneq I replied to you on this issue

I forgot to update the issue but i solved my problem by changing the size of the heap and stack.
Also i changed the timing in the function CO_process_TPDO.
And now it works perfectly.


Problem with background-blend-mode in CSS

For some reason -blend-mode is out of hljs-attribute scope:
background-image: url(images/sample.png);
background-color: red;
background-blend-mode: multiply;

background-blend-mode: multiply;

Nominating it for the next release as I believe we should do something with it anyway. Be it a temporary solution or a full one.

As it happens, the idea of how to fix it came to me when I was trying to properly describe how it cannot be fixed right in this very comment form… Still feeling a little shocked :-)
Anyway, the upside of it is that rules are now allowed on the top of CSS, not only within { .. }, and detection doesn't seem to be broken.

Btw. the change in v8.5 certainly does the trick but only partially. In fact it breaks tag:pseudo-selector detection. See demo-8.5 vs. demo-8.4. Should I open new issue?
(the reason is obvious: no grammar difference between tag:pseudo-selector and property:value out of context).

Yeah, that is definitely a problem. Should think some more…

Otherwise every curly-brace based syntax tends to look very similar to CSS. I'm still not sure how to better fix this, I'll keep thinking.

I think if you added a match for RULE (deep copied) at the top level but dropped it's relevancy scores to 0... you'd be able to match CSS property lists without CSS "claiming" any victims in the auto-detect game.  It'd also be pretty much impossible to auto-detect properties only CSS though, so they'd constantly end up as JSON or YAML or whatever else they were similar to.

If you're wanting a fix just for yourself I'd consider what I just suggested... and make sure you explicitly label your blocks CSS.
I just tried VS Code just now and even it can't properly colorize CSS "out of context".  If you had a blog or somewhere where you constantly were posting such things I'd almost suggest you whip up your own cssprops grammar just for this usage.
Closing because it's really impossible to resolve this while keeping auto-detect in mind.
Also just wrapping the whole thing in {} without a selector even seems to work if you were willing to change your snippets:
background-image: url(images/sample.png);
background-color: red;
background-blend-mode: multiply;


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.10 to before v4.4.277",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1e0a8b13d35510e711fdf72e9a3e30bcb2bd49fa",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a18a8d9cfbb112ad72e625372849adc3986fd6bf"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "1e0a8b13d35510e711fdf72e9a3e30bcb2bd49fa",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "a18a8d9cfbb112ad72e625372849adc3986fd6bf",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: ti: fix UAF in tlan_remove_one\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.277 by commit a18a8d9cfbb112ad72e625372849adc3986fd6bf, it was introduced in version v3.10 by commit 1e0a8b13d35510e711fdf72e9a3e30bcb2bd49fa. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001471


Added rest of the contributors to the 'contributors' page

Also changed the display of the contributors page from flex to grid for better layout functionality for accommodating more items in the page.

Looks good to me 👍


get json file from device path

Hi,
I want to access json file into device file system for localization. How can read from file system path like '/data/user/0/com.project/files/test2.json' using  i18n? Can you help me?

This will help https://www.youtube.com/watch?v=1JhdbLl-Kdg


Fatal error with okhttp and Android 4.2.2

This code leads to a fatal error at Android 4.2.2:
Request request = new Request.Builder()
                                        .url(URL)
                                        .build();

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d

That's a pretty nasty native crash. Are you seeing this on a variety of manufactures or just one in particular?

Emulator and real device.

Which emulator and which device? Running the code you've provided doesn't SEGSEV on devices and emulators I use.

reopen if you can provide a reproduction or more concrete information.

i am using api 19 on android emulator ,it returns illegalStateException but only devices below api 21 above that it is working .
Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
@Override
public Response intercept(@NonNull Chain chain) throws IOException {
            Response originalResponse = chain.proceed(chain.request());  ****Getting Error Here****
            if (isNetworkAvailable(context)) {
                int maxAge = 120; // read from cache for 120 seconds
                return originalResponse.newBuilder()
                        .header("Cache-Control", "public, max-age=" + maxAge)
                        .build();
            } else {
                int maxStale = 60 * 60 * 24 * 7; // tolerate 1-week stale
                return originalResponse.newBuilder()
                        .header("Cache-Control", "public, only-if-cached, max-stale=" + maxStale)
                        .build();
            }
        }

    };


some auth issue? log included.

SuccessStory_2023-05-21.zip
it's not loading steam achievements or ea achievements.

I am also getting an error message regarding auth:
SuccessStory
Failed to parse
{"message":"Unauthenticated.","errors":["status":419,"code"."unauthorized","title":"Unauthenticated."}]}
Log:
SuccessStory_2023-06-12.zip

Try get yourself an api code for steam, even if your profile is set to public. I did that and success story started working.

Thanks for the hint! What do you do with the API code once you have it?

Put it in the box that says 'API'.

Ah, I'm sorry it hasn't worked for you.
All I can suggest is

try fiddle with these settings maybe. I'm not a coder so I can't help any further, I only know it worked when I did that.
Good luck!
(also, you could try asking at discord if you have no joy)

Thanks, I will try that. Thanks a lot for your help, anyway!

Figured it out! Steam was never the troublemaker; it was RetroAchievements (which I don't even use). After removing that checkmark, Playnite has been starting significantly faster and the error message is gone. :)

#389


[Request] Function - Fetch python callback in js and access javascript from FastAPI

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
!pip install jyserver

from flask import Flask
from flask import render_template
import jyserver.Flask as jsf # Is there function in FastAPI like this...

app = Flask(__name__)

@jsf.use(app)
class App:
    def __init__(self):
        self.count = 0

    def increment(self):
        self.count += 1
        self.js.document.getElementById('count').innerHTML = self.count

@app.route('/')
def index():
    return App.render(render_template('index.html'))

if __name__ == '__main__':
    app.run()

<!DOCTYPE html>

        <title>Change DOM</title>

0

        <button onclick="server.increment()">Increment</button>

Description

Add POST, GET in FastAPI
fetch in js
did not work

Wanted Solution

Add communicate function in between js and python callbacks
access js and DOM with pythonic function (like jyserver)
fetch python callback in js HTML page with simple method.
Request Easy Usage communicate JS functions and python

reference : https://github.com/sohan-py/ChangeDOM
reference : https://dev.to/ftrias/access-js-dom-from-flask-app-using-jyserver-23h9

Wanted Code
from fastapi import FastAPI
from fastapi import jsFastAPI as jsf

app = FastAPI()

@jsf.use(app)
class App:
    def __init__(self):
        self.count = 0

    def increment(self):
        self.count += 1
        self.js.document.getElementById('count').innerHTML = self.count

@app.route('/')
def index():
    return App.render(render_template('index.html'))

if __name__ == '__main__':
    app.run()

<!DOCTYPE html>

        <title>Change DOM</title>

0

        <button onclick="server.increment()">Increment</button>

Alternatives
fetch, POST, async ... these methods are invoked routing is entangled
Operating System
Linux
Operating System Details
Ubuntu 20.04.2 LTS
conda version : 4.10.3
python 3.8
FastAPI Version
0.70.0
Python Version
python 3.8
Additional Context
No response

oops..
It is already partial implemented in websocket....


i18n

Are any i18n file? I need to translate all buttons to portuguese-br, thanks

Duplicate of #169


XML will not parse when reading from Kafka unless rowTag is the highest-level tag

We noticed this when reading XML from Kafka where rowTag was set to a tag other than the highest tag in the document.  For example, in
<topLevel>
  <nextLevel>
    <value>val</value>
  </nextLevel>
<topLevel>

If we set the rowTag to topLevel, everything parses fine.  If we instead set it to nextLevel, we get a DataFrame with a single null value.
We do not notice this behavior when reading from files, only reading from RDD (from Kafka).  We are using Spark 2.0, spark-xml 0.4.1, and Kafka 0.10.0 (using the new Kafka010 API to read from Kafka).

Hm... it seems working okay.
spark.read.format("xml").option("rowTag", "nextLevel").load("path").show()

+-----+
|value|
+-----+
|  val|
+-----+

Do you mind if I ask some more contexts? Let me try to reproduce that.

Sure, I apologize I'm not able to isolate the issue more myself.  Whatever is happening is buried in our application code.  I only noticed this issue after our upgrade to Spark 2.0, Kafka 10.  And to reiterate, we only see this when reading from Kafka, so it's hard to reproduce without a full environment.  There is no issue when reading from a file.  I cannot guarantee that this is an issue with spark-xml, but I thought I should report it, just in case.

Sure, I apologize I'm not able to isolate the issue more myself. Whatever is happening is buried in our application code. I only noticed this issue after our upgrade to Spark 2.0, Kafka 10. And to reiterate, we only see this when reading from Kafka, so it's hard to reproduce without a full environment. There is no issue when reading from a file. I cannot guarantee that this is an issue with spark-xml, but I thought I should report it, just in case.

Yea, definitely good to report this. Thank you. Let me maybe try to do several things by myself.

Never mind, it was something I was doing in the code.  Apologies for the false alarm, and thanks for looking into it!  Closing this now.

I would no longer classify this an issue, but it might be helpful to be aware of the problem I was running into.  We have an application that takes a configuration file that specifies tables to be created from XML.  Our code parses this configuration into a Spark schema for the XML document and passes it to the XML parser.  When the rowTag in the configuration file is not the highest-level tag, our generated schema knows about the rowTag but not any higher-level tags.  This appears to be okay when reading from a file, but the xmlRDD code appears to handle this differently and can't read a document with a schema that starts at the rowTag and doesn't contain the higher-level tags.
Let me know if that doesn't make sense.


Add documentation on how to use common_beam

We have all the stuff implemented, but there wasn't an example.

Coverage remained the same at 75.404% when pulling 2f3ef04a484b39b07fed922c8aa6c34e7ef6e899 on keflavich:commonbeam_smoothing_docs into d80a73504f69511bf832eac966cd98f8e55a05d3 on radio-astro-tools:master.

Uh... my experience is the opposite of what you suggested.  I had to decrease the tolerance to get the algorithm to converge; I think tolerance is the "quitting criterion" that it iterates to, right?  I have experienced several cases where a tolerance of 1e-4 resulted in a failure, but a tolerance of 1e-5 took longer and succeeded.  I haven't played with epsilon as much.
I think we need more documentation about these criteria.

Interesting... It must be when the solution jumps slightly inside the valid solution region, giving a beam slightly too small that fails, but still satisfies the tolerance. So I guess tolerance could go both ways, which maybe isn't a helpful recommendation.
Marginally increasing epsilon is usually the what I've done to reach convergence. As long as it remains quite small (~<1e-3), the common beam area will be increased by less than one-pixel area.

Can you incorporate some of that discussion into the documentation, then?  It might be best to directly say "we don't know exactly what will result in a converged beam in all cases, try combinations of parameters..."

Added a full explanation for common beams in radio-beam: https://github.com/radio-astro-tools/radio-beam/pull/69. Is it worth having a brief explanation here, or just a link to the radio-beam docs?

A brief explanation here is warranted, since this has already proved to be a commonly-encountered error.

@keflavich -- I couldn't figure out how to make multi-line suggestions, so I just added a new commit

lgtm.  Ready to merge this, then?

:+1:

Links to radio-beam functions are still failing in the docs. I'm unsure if this is an issue here or whether the radio-beam docs aren't building properly.


Pushing images via ssh from host to host

The new registry is great and all - but I would soooo love if I could just simply push from one docker host to another via ssh.

@tcurdt We are attempting to take the project in a more flexible direction. First, the goal is to make docker speak a content addressable protocol internally (v2 API, as you'll hear it called) then leverage that to make the distribution model more flexible and secure.
As far as using ssh goes, you could run a registry local to each docker host and push from registry to registry using an ssh tunnel. Such a setup would have a registry bound to localhost on each host. Create a tunnel from each host to the remote registry, tag the image with the local tunnel port then perform the push with the docker client.
This probably isn't exactly what you want but could provide a close alternative.

@stevvooe yeah - I've got a tunnel setup working here. But it's a bit of a hassle.
Still probably worth a blog post if I find the time.
The content addressable protocol sounds interesting.
Is there an issue open where I can read up that? Searching the issues didn't yield a result for me.

@tcurdt Just read the api spec.

thx!


GH-37286: [Java] Start adding nullability/nullness annotations

Rationale for this change
Closes: https://github.com/apache/arrow/issues/37286
What changes are included in this PR?
Initial support for:

Use the Checker Framework to enhances Java’s type system to make it more powerful and useful. Planning to start with Nullness Checker

Are these changes tested?
These are the activities involved on this PR:

[x] Configure the Checker Framework
[x] Treat checker errors as warnings initially
[x] Applying Nullness Checker annotation as needed: @NonNull / @Nullable
[x] Check if building timer increases after this checker is added
[ ] Fixes for code review

Are there any user-facing changes?
Yes

Closes: #37286

Hello @lidavidm, could you please provide me with an initial review of how I intend to integrate Nullness evaluation into Java modules (please consider only: arrow-memory-core initially)?
I have these 02 doubts:

There are a lots of warning message if we are planning to include Nullness Checker ... then is needed to define an initial scope that could be:

Define what modules need to be analyzed by Nullness Checker, or
Define what classes need to be analyzed by Nullness Checker.

The building time of Java modules has doubled since Nullness Checker has been added.

Could you please help me with these two doubts so that I know how to proceed?
Thank you in advance

For (1), what are some examples of the warnings? Ideally, we'd only enable it one module at a time.
For (2), can we enable it only in a separate profile, and have that be run in CI? That way it does not affect the 'normal' builds.

(1) You could see warning messages here, search for [WARNING] /arrow/java/ inside of {2_AMD64 Debian 9 Java JDK 11 Maven 3.6.2.txt, ...}
(2) Ok, let me add that inside a custom profile only for CI

(1) let's only run the checker on memory-core to start with

For https://github.com/apache/arrow/tree/main/java/format/src/main/java/org/apache/arrow/flatbuf
let's add a package-info.java with a @DefaultQualifiers annotation to mark everything in the package as nullable-by-default

Thanks for opening up this PR @davisusanibar!
I see there are a lot of Suppressed warnings. Are they truly all needed? (I haven't looked into all of them). I would like to see zero suppressed warnings if possible. Otherwise, the checker doesn't feel as useful.

Hi @danepitkin yes this is possible to suppress some warnings such as @SuppressWarnings("nullness:dereference.of.nullable") adding more if/else logic.
Let me add that logic explicitly.

Thanks for opening up this PR @davisusanibar!
I see there are a lot of Suppressed warnings. Are they truly all needed? (I haven't looked into all of them). I would like to see zero suppressed warnings if possible. Otherwise, the checker doesn't feel as useful.

Hi @danepitkin yes this is possible to suppress some warnings such as @SuppressWarnings("nullness:dereference.of.nullable") adding more if/else logic.
Let me add that logic explicitly.

Hi @danepitkin I've been made changes to reduce the suppression of warning annotations

When third-party libraries or methods are used for which we do not have access, then it is necessary to suppress null warnings.
If you plan to call methods inside the constructor or for another method, please consider annotating them with @Initialized or @Underinitialized.

Given the code freeze is today, let's target Arrow 16

@github-actions crossbow submit java


Default Unity CameraRig/Camera no longer contains an Audio Listener

No AudioListener by default on the CameraRig/Camera. How so?
If adding an audiolistener to the Camera, then pressing play and then removing the audio listener i will still hear sound.
Without having to go through the code - where is the audio listener created? Should it not be visible in the editor?

There has been a bug in Unity where disabling the AudioListener did not fire an error. This has been fixed in 2019.1.1. Maybe this is why you've removed the AudioListener in the first place?
https://issuetracker.unity3d.com/issues/audio-is-playing-even-when-there-is-no-audio-listener-in-the-scene

Yeah looks like it got accidentally removed. Thanks for the report.

This should be fixed in 2.3.2 just released on the asset store and github: https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.3.2


v1.2.0 draft OpenAPI schemas

This PR contains the draft OpenAPI schema for v1.2.0-rc.1 based on work in https://github.com/Materials-Consortia/optimade-python-tools/pull/1427.
Here, we can comment on the effect of our latest changes to the schema before releasing or see #434 for an alternative, where we remove the OpenAPI schemas from this repo, do not consider them blocking for OPTIMADE releases, and instead use the Materials-Consortia/schemas repo (I will make a PR there too).

@ml-evs could you please refresh this PR as #464 is in now? I base my preview implementation on OpenAPI schemas.

@ml-evs could you please refresh this PR as #464 is in now? I base my preview implementation on OpenAPI schemas.

I can try, but this is a non-trivial amount of work to do properly. I will try to update the corresponding work in optimade-python-tools shortly https://github.com/Materials-Consortia/optimade-python-tools/pull/1427 (probably just in an ad hoc way for now since things have changed quite a lot in the underlying package recently so I can't make any correctness guarantees).

@merkys Just pushed a draft refresh of this that relies on the ECMA regexp for symm ops at #488.

Following online discussions and #502, this PR is now closed and OpenAPI schemas will be removed from this repo altogether. They will remain in the schemas repo: https://github.com/Materials-Consortia/schemas


Trying to fix https://github.com/typelead/eta/issues/372

This seems like a simple find-replace job. The required change is effected. If any files were left out, it should come up in the tests.
Only eta/docs/ and eta/libraries/ were changed.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: mbrc12:x: rahulmuttYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @mbrc12, your changes look fine, but the commit history has a couple of Revert's - I think you made the changes and tried to pull the recent master changes. Can you clean up this pull request using a rebase?

Yeah sure. I'm doing it immediately.

This has been addressed in #678, so I'm closing this PR.


[BlockStoreQueue] Block store should persist when the local node is in range of ConsensusIsConsideredToBeSyncedMargin

This relates to changes made in #2173.
If the node's consensus height is at 1 and no more blocks get mined, the node should be considered to be synced and we should push to store without waiting for the timer task to run out in BSQ,

This relates to changes made in #2173.
If the node's consensus height is at 1 and no more blocks get mined, the node should be considered to be synced and we should push to store without waiting for the timer task to run out in BSQ,

Why can't we wait for the timer?
Now that IBlockStore will look in the pending blocks batch we don't have an urgency to persist.

@dangershony as long as we dont have to wait for 37secs for the timer to run out before we persist then we are ok ;)

@fassadlr is this still an issue for integration tests?

@noescape00 Im closing this as the node sync speed's with running the node and integration tests has now been improved via other mechanisms.


[Bug]Godot platform2d demo Bug

https://youtu.be/GOQqWtPViDA

It's caused by the player's collision shape and the one way collision platform.When everything is gone in video,the player's position is here:
-403318496,67354935296
-404388192,67533594624
-405457888,67712253952
-406527584,67890913280
-407597280,68069572608
-408666976,68248231936
-409736672,68426891264
-410806368,68605550592
-411876064,68784209920

A duplicate of the bug reported can be found here, but for me I could only replicate in OSX, not Windows: https://github.com/okamstudio/godot/issues/2038

I replicate this in windows, when set "target_fps" into "30" in project setting,will replicate it easily.
It seem the physics doesn't work as my expected
"target_fps=30",no fixed_fps

"target_fps=30,fixed_fps=60"

It will freeze in some loop.
When android once touch the one way platform screen become grey besides the UI ,it might be the some problem.

+1 grey on android

There's a similar problem in HTML5 too, only instead of screen being grey, you can still see the parallax background. The left and right controls still works.

My duplicate bug report was removed, so this video is now simply being relinked for supplementation to this bug report: https://www.youtube.com/watch?v=Ngi-YJWPDsc
Recorded in OSX on my 09' Mac Mini.
By the way, in this video is how it happens for me every time. It is strange that you guys are getting other results.

From @ndee85 on #2294:

One way collisions worked once good for me. After this commit I had problems: 32b1b47

Now my character falls often through the collider. I have a moving platform that can float. Once It starts moving the character falls immediately through.

I send you an email a while back with my project which had the problem. Would be great if this could be fixed again :-)

Great.. will try it out right now. Building new godot version!
Thanks for fixing that issue! :+1:

Great.. will try it out right now. Building new godot version!
Thanks for fixing that issue! :+1:


Migrate GHA Image from jeefy/gha-runner to this repo

@jeefy calling this done
https://github.com/cncf/automation/tree/main/ci/gha-runner-image


Netfily hosting issue solved.

If you are having this issue when you host on netfily.

SOLUTION:
Navigate to https://app.netlify.com/sites//settings/deploys#environment and add the NPM_FLAGS variable like this


[feature] implement lipo deployer (#52)

This is a different approach to #52 where the user deploys once per architecture. The previous attempt used a custom command that handled multiple deployments.

I'm trying to test this out with conan 2.0.9.  I install them and see it installing
...
Copying file tools_lipo.py to /Users/thesin/.conan2/extensions/deployers/lipo
Copying file lipo.py to /Users/thesin/.conan2/extensions/deployers/lipo
Copying file lipo_add.py to /Users/thesin/.conan2/extensions/deployers/lipo
...

but I do not see an option for install --deploy in install -h and when I try to use it, I get an error about --deploy
conan install . --deploy=lipo . -s arch=armv8
...
conan install: error: ambiguous option: --deploy=lipo could match --deployer, --deployer-folder

I'm still trying to learn conan so sorry if this is a noob thing

perfect thank you!  I'll continue testing now ;)

It wasn't ambiguous in 2.0.6 but I've updated the README. If you have any feedback please let me know. I'm probably going to close the earlier custom command approach, but I've been waiting to see if anyone has thoughts about the two approaches.

Can we create universal packages without local deploy? Honestly I don't like idea copying everything to build folder.
I'm not sure I understand why you decide use deploy over hooks ?

if run lipo deployer with generator CMakeToolchain, after lipo_add it overrides CMAKE_OSX_ARCHITECTURES  to last used arch

The history in #59 is quite long now, and probably not worth reading in its entirety.
Most newcomers to Conan seem have the same initial thought: why can't I just set CMAKE_OSX_ARCHITECTURES and get universal binaries? Unfortunately there are thousands of recipes in CCI and many of them use other build systems (see OpenSSL). Some of these can be built by overriding CFLAGS with "-arch x86_64 -arch arm64" but the most reliable method is to simply build each architecture and run lipo on the resulting binaries.
I looked at different ways of automating this (without updating thousands of recipes) including hooks (not possible for all recipes) or modifying conan itself (very complicated and invasive).
This deployer is the simplest extension to start testing the lipo code and it still needs additional feedback. I haven't tested iOS at all. I hoped it would be merged by now, but maybe most people are just waiting for a full solution with a conanfile building a universal app?
Beyond this initial test as a deployer, I intend to investigate generating a universal CMake project as you mentioned above (which was possible in 1.x with toolchains but no longer seems to be officially supported). Then connecting the CMake generator to the universal dependencies.
I had a working 1.x solution here (for the universal dependency + CMake toolchain for final build) but it's very kludgy and uses Conan internals. I'd like to do something similar with the public API and new 2.0 features that is clean enough to be accepted to conan-extensions.
https://github.com/gmeeker/BuildConan

Hi @gmeeker !
I am very interested in testing your work as soon as my project will be conan 2 ready (my application is still using Rosetta).

Ok, Great I've been able to build universal libraries and project
except I have to use generator CMakeDeps
with CMakeToolchain it defines only the last arch used with lipo_add in cmake files
Greate work, than you, and please add to Readme how to proper install this extension. It's not obvious for newbie

I need to build universal binaries for my conan dependencies on Mac; this looks like it would be useful. Looks it hasn't been merged into main yet; any update on that?

Hi all,
Sorry, this hasn't been reviewed yet, there are too many things ongoing and the backlog is just too large, we have been trying to prioritize things like the migration of ConanCenter to Conan 2.0.
I think we need to resume this, I'll try to bring this to the team attention hopefully in the next weeks. Thanks for your patience.

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

It sounds like the deployer here is preferred over the custom command in #53 (the implementation details over argument parsing and loading conanfiles were never resolved cleanly.)
Also the iOS support here still needs to be tested. Support for xcarchive and xcframework might be necessary?

I'm now using conan 2.0 and I'm trying to make an univeral binary of my Qt MacOS application. If I understand well, this extension could help me, right ?

Hmm, I actually started by looking at custom commands but there were technical issues that made it impossible in one go without a deploy. See here: https://github.com/conan-io/conan-extensions/issues/52
The lipo deployer here runs lipo multiple times, so your approach seems more consistent with the way Xcode produces universal binaries.


eth_chainId problem

eth_chainId problem
Description
Your environment

ubuntu 20.04
8c076ec
develop

Steps to reproduce
Run polygon-sdk server
curl  http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":12}'

Expected behaviour
Returns the chain id.
Actual behaviour
{"jsonrpc":"2.0","id":12,"error":{"code":-32601,"message":"the method eth_chainId does not exist/is not available"}}
Logs
2022-01-13T13:32:44.667+0200 [DEBUG] polygon.jsonrpc: handle: request={"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":12}
2022-01-13T13:32:44.667+0200 [DEBUG] polygon.dispatcher: request: method=eth_chainId id=12
2022-01-13T13:32:44.667+0200 [DEBUG] polygon.jsonrpc: handle: response="{"jsonrpc":"2.0","id":12,"error":{"code":-32601,"message":"the method eth_chainId does not exist/is not available"}}"
2022-01-13T13:35:58.696+0200 [DEBUG] polygon.jsonrpc: handle: request={"jsonrpc":"2.0","method":"eth_chainID","params":[],"id":12}
2022-01-13T13:35:58.696+0200 [DEBUG] polygon.dispatcher: request: method=eth_chainID id=12
2022-01-13T13:35:58.697+0200 [DEBUG] polygon.jsonrpc: handle: response={"jsonrpc":"2.0","id":12,"result":"0x64"}

Proposed solution
The case of the method was changed in a recent commit here:
https://github.com/0xPolygon/polygon-sdk/blob/develop/jsonrpc/eth_endpoint.go#L19
Should be changed back because it's case sensitive and libraries like web3.js use eth_chainId

Hello @mrsmkl ,
Thank you for reporting this issue.
This is fixed with the latest PR<PHONE_NUMBER>00de195dc7356414477b1429a2667c , which has been merged to develop.
It also fixes net_peerCount method, which had a faulty implementation.
Closing this issue.


Package MVC with Tests

@shelleydoljack please merge when you get a chance.

can we do that in a different branch?

@shelleydoljack, @dlrueda Can we go ahead and merge everything before working on other issues?


mining with GPU

Can rana run with GPU?

I'm not expert at all on cryptography, what I read was GPU is not as efficient calculating EC keys as sha256 hashing, but I'm open to review PR for it and see how it works


Move badges to one place

Verified that @akuzminsky has signed the CLA. Thanks for the pull request!


Does kube-vip Work with VPN Environments like Wireguard?

My understanding is that kube-vip might not be fully compatible with VPNs like Wireguard, since it binds IP addresses to MAC addresses. I’m reaching out to confirm whether this is the case. Any insights or clarifications on this matter would be greatly appreciated.

Kube-vip support wireguard directly, closing this for now.


Add config param option validator

Currently, plugin authors can add any keyword options on config_param and config_argument, and these are not checked.
This may occur that plugin author want to set any options, but it doesn't work well by typo or any other reasons.
So I added a validator for these options, not to be set unexpected parameter options.

@repeatedly could you review this change?

LGTM

Rebased. I'll merge this after CI green.

Let me merge this, because failing CI on AppVeyor is about in_tail.


Fixed the broken blog link

Signed-off-by: Bhargav Mungara<EMAIL_ADDRESS>Fixes #699

I don't know what is wrong this time

Hey @bhargavmungara you have made changes in gemfile.lock please revert those changes

@bhargavmungara there are two PRs  #700 and #699 covering the same issue which is #698 so it is better to close one of these PRs.

@bhargavmungara this issue was fixed. You can go through any other good first issues for now.

This issue is solved from pr #701


Don't think reset_lgw.sh is used?

In the files we have two reset scripts:

reset_lgw.sh
reset-v2.sh

Here, we sed the pin number for reset into the reset_lgw.sh script:
https://github.com/NebraLtd/hm-pktfwd/blob/master/files/configurePktFwd.py#L125-L128
But we never actually use that script, and instead are using reset-v2.sh:
https://github.com/NebraLtd/hm-pktfwd/blob/master/files/configurePktFwd.py#L130-L160
In the dockerfile we copy the reset_lgw.sh script over twice. Once here:
https://github.com/NebraLtd/hm-pktfwd/blob/master/Dockerfile#L93-L95
And the other time here:
https://github.com/NebraLtd/hm-pktfwd/blob/master/Dockerfile#L107-L109
I am pretty sure this is unnecessary, but need to test some more that it is not required for properly starting an sx1302/sx1303 based concentrator.

ok so the reset_lgw.sh file is only used by the chip_id program to reset the gateway when trying to determine the EUI
https://github.com/Lora-net/sx1302_hal/blob/master/util_chip_id/src/chip_id.c#L151-L157
What I am still not clear on is why we need to use reset-v2 as well when the reset is already done by reset_lgw


test(feat): added ability to upload local core modification to lambda

no issue

[x] tested on lambda & release rocks

@basti1302 As you said on Friday removing "INSTANA_DISABLE_LAMBDA_EXTENSION" will still send data to the target backend is absolutely true. I am not sure why I had trouble in the first try, maybe because I was just confused? If you want to I can add this env to the deploy script. Let me know :)
Please merge both commits and do not squash :)

Resolved comments 👍


Issue with has_aux in ArmijoSGD

In the update function for ArmijoSGD, the value of aux is currently not updated:
next_state = ArmijoState(iter_num=state.iter_num+1,
                             error=error,
                             value=f_next,
                             aux=state.aux,
                             stepsize=stepsize,
                             velocity=next_velocity)

I think that in order to update the value of aux, the fourth line should be aux=aux instead of aux=state.aux.

Good catch, agreed!

Fix by #343


Hide results for incomplete tests

Fixes #48

This looks good to me.
We may want to eventually still show the results which are partial so that the user is able to do the cleanup of the results.
For the moment, though I think this is good.