Bring ng2-ui-auth into dockstore-ui2

Description
Commit files from ronzeidman/ng2-ui-auth to our repo, and tweak. We've been using ng2-ui-auth as an npm dependency.

ng2-ui-auth does not build/load with newer versions of Angular
It has not been updated for 5 years.
I investigated and tried using other libraries instead,  including angular-oauth2-oidc and angular-auth-oidc-client, but they're both OIDC-centric, and GitHub does not even support OIDC. Digression: I was incorrectly thinking OAuth and OIDC are basically the same, but they're not.
Started to write my own code, but then I realized I was duplicating/rewriting what ng2-ui-auth already does, so,
Just copied the files into our repo.
That way we can tweak the files for future Angular upgrades as necessary.

More info in the issue, dockstore/dockstore#3641.
Also ran into, and hopefully fixed, flaky test issues. Latest theory is that animation starts when you click, and we need to let if finish by waiting before doing another selector. Looks promising so far, although the sample size is small.
Review Instructions
Ensure that logging in/out, and linking 3rd party accounts, all still work.
Issue
dockstore/dockstore#3641
DOCK-1475
Security
This is used for authN/Z, but it's the same code as before, just now committed to our repository, so risks should be no worse than before.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.
[x] Check whether this PR disables tests. If it legitimately needs to disable a test, create a new ticket to re-enable it in a specific milestone.

Unfortunate situation with a fine approach. Curious if there is a reason why you opted to move the code into this repo instead of forking and modifying it? I'm fine with this as is but it seems cleaner to be able to do use the npm machinery and maintain the dependency in a different repo. Also avoids needing to change the path to the deps in the individual source files (which you've already done so it's fine).
https://docs.npmjs.com/cli/v6/configuring-npm/package-json#github-urls

We haven't published anything on npm; I'm personally unfamiliar with the process, it just seemed easier to use locally. I did publish a personal thing the central Maven repo once, and it was a bit of a hassle. No idea if the npm publishing is easier/harder. Plus I was viewing this as more of a stopgap measure, so it didn't seem like we should.
If we can get the licensing issue sorted out, it might be the better approach.

@coverbeck Sorry my comment was unclear. The link I sent shows how you install directly from a github url. So in our package json we could add
  "dependencies": {
    "ng2-ui-auth": "dockstore/ng-2-ui-auth#main"
  }

This gives us the ease of using npm install to get the dependencies but the files themselves are all stored on github.

@david4096 , Oh, my bad. I just assumed, incorrectly, that I knew what you were talking about and didn't click your link. I do like your proposal.
If we get the license issue sorted out, I agree, we should go with your approach.

Update: I've spent over a day trying to get dockstore/ng2-ui-auth work as a library. It works when I run ng serve, e.g., running locally, but not when I do an ng build and run against those assets; I get provider and injection errors and I'm unable to find a fix. I'm sure there's a way, but it's eluding me. There's a whole deep dive into how npm packages work that I'm not familiar with.
At this point, I think it's just better to go with the approach of this PR and unblock the move to Angular 16, which is more important.
The license issue was resolved in the source repo.

My apologies for inadvertently leading you down that rabbit hole. I had thought it would be interchangeable

My apologies for inadvertently leading you down that rabbit hole. I had thought it would be interchangeable

No need to apologize; I think your suggestion is the right approach; it would let us stay in sync more easily with any changes to the upstream repo or forks. I wish it had worked more easily.


Fix blob type validator

The blob_type cannot be set to append because of this validator, such as in az storage blob upload command by --type argument.

To fix the error, it looks like you need to re-record the blob scenario test. In the storage test recordings delete the test_storage_blob_scenario.yaml file and then run:
python -m unittest azure.cli.command_modules.storage.tests.test_storage.StorageBlobScenarioTest


Add the 128k token preview model to the list. Update ModelPagePanel.form

Thank you for your PR! But it happens that I have support for gpt-4-1106-preview and gpt-3.5-turbo-1106 already added few days ago, and had it in testing. Right now new version v0.2.11 with new models is released and waiting for Marketplace approval.
Sorry for closing this.


[Bug] updateDataSync接口 重复调用在viewbox很小的时候 渲染元素未清除

Version
develop
Link to Minimal Reproduction
none
Steps to Reproduce
1
Current Behavior

Expected Behavior
1
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

fixed in 1.11.10


improvement: change to global module

Changing to a global module helps to use @InjectQueue in nested sub-modules without having to import BullModule every time

Thanks for contributing. However, I'm not a big fan of global modules. I'll sleep on it and let you know if this will be merged ;) In the meantime, if anyone has any opinion to express on that matter, feel free to do so.
@ZhiXiao-Lin could you also add tests?

Thanks for contributing. However, I'm not a big fan of global modules. I'll sleep on it and let you know if this will be merged ;) In the meantime, if anyone has any opinion to express on that matter, feel free to do so.
@ZhiXiao-Lin could you also add tests?

If I can't inject it anytime, anywhere, I will be unhappy. If there are other people like me, please raise your hand.


Create an auto-deploy for open PRs

Look into using https://aws.amazon.com/amplify/hosting/ to deploy the frontend of new branches and PRs automatically for review

Addressed through surge deploy https://github.com/WFP-VAM/prism-app/pull/495


Grafana variables rewritten as absolute numbers when scenes are enabled

Using this plugin in Grafana 11.3.0, the time range variables are sometimes changed to absolute time stamps.  This screen recording shows it happening after I duplicate the panel, but that's not the only event that causes it; it also happens sometimes after editing a panel or just refreshing the page.
This problem can be avoided by modifying the Grafana config file like this:
[feature_toggles]
dashboardScene = false

I'm using the plugin build from #268.  Unfortunately I don't have a way of testing this with the release version, but I don't think the changes in that PR are relevant here.
The specific query does not matter but here is one example:
SELECT count(*) AS count
FROM prodhive.bdp.particle_google_meet_hardware
WHERE time_usec/1000 >= ${__from} AND time_usec/1000 <= ${__to}
AND event_type = 'ISSUE'
AND dateint > 20241030

Notice in the video, the third line of the query is turned into WHERE time_usec/1000 >=<PHONE_NUMBER>811 AND time_usec/1000 <=<PHONE_NUMBER>811, and after this happens, changing the time range has no effect.
https://github.com/user-attachments/assets/6b1c162f-f92c-451d-8f4c-6a90489e7453

Could this be a Grafana issue, not an issue with this plugin? I don't even know what Dashboard Scenes are.

I discussed this with Grafana support via email and they think it's a bug in the plugin because they were unable to reproduce it with other SQL data sources.


Error on installing extension

I got this error when running make command. I use PHP7. Is there a test version for PHP7?

$ phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012

$ ./configure --with-mosquitto=/usr/mosquitto
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/php
checking for PHP includes... -I/usr/php/include/php -I/usr/php/include/php/main -I/usr/php/include/php/TSRM -I/usr/php/include/php/Zend -I/usr/php/include/php/ext -I/usr/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/php/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /usr/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for mosquitto support... yes, shared
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h

$ make
/bin/sh /src/Mosquitto-PHP/libtool --mode=compile cc  -I. -I/src/Mosquitto-PHP -DPHP_ATOM_INC -I/src/Mosquitto-PHP/include -I/src/Mosquitto-PHP/main -I/src/Mosquitto-PHP -I/usr/php/include/php -I/usr/php/include/php/main -I/usr/php/include/php/TSRM -I/usr/php/include/php/Zend -I/usr/php/include/php/ext -I/usr/php/include/php/ext/date/lib -I/usr/mosquitto/include  -DHAVE_CONFIG_H  -g -O2   -c /src/Mosquitto-PHP/mosquitto.c -o mosquitto.lo
mkdir .libs
cc -I. -I/src/Mosquitto-PHP -DPHP_ATOM_INC -I/src/Mosquitto-PHP/include -I/src/Mosquitto-PHP/main -I/src/Mosquitto-PHP -I/usr/php/include/php -I/usr/php/include/php/main -I/usr/php/include/php/TSRM -I/usr/php/include/php/Zend -I/usr/php/include/php/ext -I/usr/php/include/php/ext/date/lib -I/usr/mosquitto/include -DHAVE_CONFIG_H -g -O2 -c /src/Mosquitto-PHP/mosquitto.c  -fPIC -DPIC -o .libs/mosquitto.o
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client___construct’:
/src/Mosquitto-PHP/mosquitto.c:114: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsCertificates’:
/src/Mosquitto-PHP/mosquitto.c:159: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsInsecure’:
/src/Mosquitto-PHP/mosquitto.c:195: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsOptions’:
/src/Mosquitto-PHP/mosquitto.c:222: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsPSK’:
/src/Mosquitto-PHP/mosquitto.c:247: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onConnect’:
/src/Mosquitto-PHP/mosquitto.c:421: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:423: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:424: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onDisconnect’:
/src/Mosquitto-PHP/mosquitto.c:455: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:457: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:458: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onLog’:
/src/Mosquitto-PHP/mosquitto.c:489: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:491: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:492: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onSubscribe’:
/src/Mosquitto-PHP/mosquitto.c:523: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:525: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:526: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onUnsubscribe’:
/src/Mosquitto-PHP/mosquitto.c:557: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:559: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:560: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onMessage’:
/src/Mosquitto-PHP/mosquitto.c:591: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:593: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:594: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onPublish’:
/src/Mosquitto-PHP/mosquitto.c:625: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:627: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:628: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘mosquitto_client_object_get’:
/src/Mosquitto-PHP/mosquitto.c:862: warning: initialization makes pointer from integer without a cast
/src/Mosquitto-PHP/mosquitto.c: In function ‘mosquitto_client_object_destroy’:
/src/Mosquitto-PHP/mosquitto.c:884: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:884: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:885: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:885: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:886: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:886: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:887: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:887: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:888: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:888: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:889: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:889: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:890: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:890: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: At top level:
/src/Mosquitto-PHP/mosquitto.c:900: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘mosquitto_client_object_new’
/src/Mosquitto-PHP/mosquitto.c:967:56: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_connect_callback’:
/src/Mosquitto-PHP/mosquitto.c:967: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
/src/Mosquitto-PHP/mosquitto.c:967: error: (Each undeclared identifier is reported only once
/src/Mosquitto-PHP/mosquitto.c:967: error: for each function it appears in.)
/src/Mosquitto-PHP/mosquitto.c:970: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:972: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:976: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:980: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:981: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:984: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_disconnect_callback’:
/src/Mosquitto-PHP/mosquitto.c:1005: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1007: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1011: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1015: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1018: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1039:44: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_log_callback’:
/src/Mosquitto-PHP/mosquitto.c:1039: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
/src/Mosquitto-PHP/mosquitto.c:1044: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1046: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1050: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1054: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1055: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1058: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_message_callback’:
/src/Mosquitto-PHP/mosquitto.c:1078: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c:1082: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1084: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1088: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1092: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1095: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_publish_callback’:
/src/Mosquitto-PHP/mosquitto.c:1118: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1120: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1124: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1128: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1131: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_subscribe_callback’:
/src/Mosquitto-PHP/mosquitto.c:1161: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1163: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1167: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1171: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1172: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1173: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1176: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_unsubscribe_callback’:
/src/Mosquitto-PHP/mosquitto.c:1198: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1200: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1204: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1208: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c:1211: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval **’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zm_startup_mosquitto’:
/src/Mosquitto-PHP/mosquitto.c:1302: error: too many arguments to function ‘zend_register_internal_class_ex’
/src/Mosquitto-PHP/mosquitto.c:1303: error: ‘mosquitto_client_object_new’ undeclared (first use in this function)
/src/Mosquitto-PHP/mosquitto.c:1307: error: too many arguments to function ‘zend_register_internal_class_ex’
make: *** [mosquitto.lo] Error 1

Hi,
I've not had a lot of time to work on the PHP 7 port yet, though I have started it. I'll have a look in the next few days to see if I can get through it.

On 3 May 2016, at 07:04, justwakku<EMAIL_ADDRESS>wrote:
I got this error when running make command. I use PHP7. Is there a test version for PHP7?
$ phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
$ ./configure --with-mosquitto=/usr/mosquitto
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/php
checking for PHP includes... -I/usr/php/include/php -I/usr/php/include/php/main -I/usr/php/include/php/TSRM -I/usr/php/include/php/Zend -I/usr/php/include/php/ext -I/usr/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/php/lib/php/extensions/no-debug-non-zts-20151012
checking for PHP installed headers prefix... /usr/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for mosquitto support... yes, shared
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
$ make
/bin/sh /src/Mosquitto-PHP/libtool --mode=compile cc -I. -I/src/Mosquitto-PHP -DPHP_ATOM_INC -I/src/Mosquitto-PHP/include -I/src/Mosquitto-PHP/main -I/src/Mosquitto-PHP -I/usr/php/include/php -I/usr/php/include/php/main -I/usr/php/include/php/TSRM -I/usr/php/include/php/Zend -I/usr/php/include/php/ext -I/usr/php/include/php/ext/date/lib -I/usr/mosquitto/include -DHAVE_CONFIG_H  -g -O2 -c /src/Mosquitto-PHP/mosquitto.c -o mosquitto.lo
mkdir .libs
cc -I. -I/src/Mosquitto-PHP -DPHP_ATOM_INC -I/src/Mosquitto-PHP/include -I/src/Mosquitto-PHP/main -I/src/Mosquitto-PHP -I/usr/php/include/php -I/usr/php/include/php/main -I/usr/php/include/php/TSRM -I/usr/php/include/php/Zend -I/usr/php/include/php/ext -I/usr/php/include/php/ext/date/lib -I/usr/mosquitto/include -DHAVE_CONFIG_H -g -O2 -c /src/Mosquitto-PHP/mosquitto.c -fPIC -DPIC -o .libs/mosquitto.o
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client___construct’:
/src/Mosquitto-PHP/mosquitto.c:114: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsCertificates’:
/src/Mosquitto-PHP/mosquitto.c:159: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsInsecure’:
/src/Mosquitto-PHP/mosquitto.c:195: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsOptions’:
/src/Mosquitto-PHP/mosquitto.c:222: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_setTlsPSK’:
/src/Mosquitto-PHP/mosquitto.c:247: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onConnect’:
/src/Mosquitto-PHP/mosquitto.c:421: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval ’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:423: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:424: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onDisconnect’:
/src/Mosquitto-PHP/mosquitto.c:455: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:457: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:458: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onLog’:
/src/Mosquitto-PHP/mosquitto.c:489: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:491: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:492: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onSubscribe’:
/src/Mosquitto-PHP/mosquitto.c:523: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:525: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:526: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onUnsubscribe’:
/src/Mosquitto-PHP/mosquitto.c:557: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:559: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:560: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onMessage’:
/src/Mosquitto-PHP/mosquitto.c:591: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:593: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:594: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zim_Mosquitto_Client_onPublish’:
/src/Mosquitto-PHP/mosquitto.c:625: error: incompatible type for argument 1 of ‘zval_addref_p’
/usr/php/include/php/Zend/zend_types.h:820: note: expected ‘struct zval *’ but argument is of type ‘zval’
/src/Mosquitto-PHP/mosquitto.c:627: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:628: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: In function ‘mosquitto_client_object_get’:
/src/Mosquitto-PHP/mosquitto.c:862: warning: initialization makes pointer from integer without a cast
/src/Mosquitto-PHP/mosquitto.c: In function ‘mosquitto_client_object_destroy’:
/src/Mosquitto-PHP/mosquitto.c:884: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:884: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:885: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:885: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:886: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:886: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:887: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:887: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:888: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:888: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:889: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:889: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:890: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c:890: error: ‘zend_fcall_info’ has no member named ‘object_ptr’
/src/Mosquitto-PHP/mosquitto.c: At top level:
/src/Mosquitto-PHP/mosquitto.c:900: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘mosquitto_client_object_new’
/src/Mosquitto-PHP/mosquitto.c:967:56: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_connect_callback’:
/src/Mosquitto-PHP/mosquitto.c:967: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
/src/Mosquitto-PHP/mosquitto.c:967: error: (Each undeclared identifier is reported only once
/src/Mosquitto-PHP/mosquitto.c:967: error: for each function it appears in.)
/src/Mosquitto-PHP/mosquitto.c:970: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:972: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:976: error: invalid type argument of ‘unary *’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:980: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:981: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:984: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_disconnect_callback’:
/src/Mosquitto-PHP/mosquitto.c:1005: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1007: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1011: error: invalid type argument of ‘unary ’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1015: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1018: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1039:44: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_log_callback’:
/src/Mosquitto-PHP/mosquitto.c:1039: error: ‘ZVAL_STRINGL’ undeclared (first use in this function)
/src/Mosquitto-PHP/mosquitto.c:1044: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1046: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1050: error: invalid type argument of ‘unary ’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1054: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1055: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1058: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_message_callback’:
/src/Mosquitto-PHP/mosquitto.c:1078: warning: cast to pointer from integer of different size
/src/Mosquitto-PHP/mosquitto.c:1082: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1084: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1088: error: invalid type argument of ‘unary ’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1092: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1095: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_publish_callback’:
/src/Mosquitto-PHP/mosquitto.c:1118: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1120: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1124: error: invalid type argument of ‘unary ’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1128: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1131: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_subscribe_callback’:
/src/Mosquitto-PHP/mosquitto.c:1161: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1163: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1167: error: invalid type argument of ‘unary ’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1171: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1172: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1173: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1176: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c: In function ‘php_mosquitto_unsubscribe_callback’:
/src/Mosquitto-PHP/mosquitto.c:1198: warning: assignment from incompatible pointer type
/src/Mosquitto-PHP/mosquitto.c:1200: error: ‘zend_fcall_info’ has no member named ‘retval_ptr_ptr’
/src/Mosquitto-PHP/mosquitto.c:1204: error: invalid type argument of ‘unary ’ (have ‘zval’)
/src/Mosquitto-PHP/mosquitto.c:1208: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c:1211: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type
/usr/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval ’ but argument is of type ‘struct zval *’
/src/Mosquitto-PHP/mosquitto.c: In function ‘zm_startup_mosquitto’:
/src/Mosquitto-PHP/mosquitto.c:1302: error: too many arguments to function ‘zend_register_internal_class_ex’
/src/Mosquitto-PHP/mosquitto.c:1303: error: ‘mosquitto_client_object_new’ undeclared (first use in this function)
/src/Mosquitto-PHP/mosquitto.c:1307: error: too many arguments to function ‘zend_register_internal_class_ex’
make: *** [mosquitto.lo] Error 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


Implement tail

I'll do this.

It looks like this is not under active development... any objections to me tackling the remaining unimplemented pieces?


Decoding error with faulty Websites encoding

While decoding faulty websites like this one https://www.societe.com/societe/ankaboot-832320170.html
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byte
Exception ignored in: 'selectolax.lexbor.text_callback'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 2: invalid continuation byt

This may be fixed, if the default policy changes from "strict" (default) to "replace"
https://github.com/rushter/selectolax/blob/19ee5e054a33415c66d617a9d9a473348c16cbd0/selectolax/lexbor/node.pxi#L863
py_str = text.decode(_ENCODING, "replace")

Hi, I just had a look and turns out that the Modest HTMLParser already handles this by allowing to pass decode_errors kwarg to it:
HTMLParser(html, decode_errors="ignore")

Also for Modest the default is ignore.
I updated the code to have the same behavior for Lexbor, but still need to add tests / document, so I'll finish that over the weekend :)

Hi @JuroOravec, thanks for the awesome package! Is there any ETA on a fix for this issue?


Cache QueryATNF look-ups in pulsar.py

Hi Matt,
I ran into a performance bottleneck a while back while calling the psrqpy.pulsar.Pulsar object to create new sources. At the time I hadn't paid attention to the optional query kwarg, but started using it after I noticed it. I got sent a block of code from someone recently who had the same performance issues and wondered why, so I thought it might be worthwhile to offer a patch to cache the creation of the QueryATNF object when looking up individual pulsars.
As is, if the query kwarg is not set, calling a lookup on a variable for a psrqpy.pulsar.Pulsar will always generate a new QueryATNF lookup. This, needless to say, can be a bit slow. This PR adds a new "_cached_query" global variable to pulsar.py which is initially not set until a psrqpy.pulsar.Pulsar object has a lookup performed, but is then cached and cloned for further calls. To prevent issues with the query potentially having different states after performing look-ups on different sources, I use the builtin "copy" library to take a fresh copy of the cached QueryATNF variable for each new psrqpy.pulsar.Pulsar object.
Here is a sample block of code I was running in a few cells in ipython: taking the first 5 pulsar entries in psrcat, extracting the names, then looking up each of their DMs.
import psrqpy.pulsar as psr

samplePSRsStr = """1     J0002+6216    cwp+17
2     J0006+1834    cnt96
3     J0007+7303    aaa+09c
4     J0011+08      dsm+16
5     J0014+4746    dth78 """.split('\n')
samplePSRs = [entry.split()[1] for entry in samplePSRsStr]

%%timeit
pulsarDMs = []
for source in samplePSRs:
    pulsarDMs.append(psr.Pulsar(source)['DM'])

On the current head, the %%timeit  cell takes quite a while to run for 5 sources, regardless of how many times the cell is run (these are back-to-back runs in the same session)

38.6 s ± 1.51 s per loop (mean ± std. dev. of 7 runs, 1 loop each)
38.3 s ± 412 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

But with the proposed change, after the first QueryATNF object is created (~7-10 seconds on my machine), things run a lot faster:

1.58 s ± 94 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
1.61 s ± 40.3 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
1.61 s ± 38.4 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

All tests still pass after these changes:

❯ pytest
=================================================================== test session starts ====================================================================
platform linux -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/suddenly/git/psrqpy, configfile: pytest.ini
plugins: socket-0.5.1, anyio-3.5.0
collected 36 items
psrqpy/tests/query_test.py ....................................                                                                                [100%]
=================================================================== 36 passed in 24.79s ====================================================================

Let me know what you think about the changes, I know a lot of people aren't a fan of global variable caches, but I feel like this could improve the out-of-the-box experience for people trying to jump into using the library without paying too much attention to the documentation.
Cheers,
David

Hello @David-McKenna! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file psrqpy/pulsar.py:

Line 110:1: W293 blank line contains whitespace

@David-McKenna I've created #103 to supersede this. It takes a different approach (saving the QueryATNF object to a file and re-reading it as required), but seems to show the same speed ups as your method.

Hey Matt, that indeed looks like a much more elegant solution, I was under the impression that the base QueryATNF object was always different based on the kwargs rather than derived from a reference point so that looks like a much better solution, cheers!

Yeah, the object actually always stores a DataFrame containing the whole catalogue, but the kwargs just define what is shown in the output table. The way I've set the cache store to load means that it discards any kwargs that it was saved with and the loaded object will have the kwargs that the current user has defined.

I've created a new version (v1.2.0) with #103 included in it.


Unable to generate valid bitstream when using openh264 with ffmpeg

I managed to configure and build ffmpeg with openh264 support, but I am having problems generating a valid bitstream. Here is a sample command that I used:
ffmpeg -f rawvideo -pix_fmt yuv420p -s:v 1280x720 -r 29.97 -i ~/Sources/test.yuv -c:v libopenh264 -b:v 500k -psnr test.264
During encoding, I am often getting this message:
[OpenH264] this = 0x0x7f8ab8c22450, Warning:WelsEncoderEncodeExt()MinCr Checking,codec bitstream size is larger than Level limitation
But when I try to play the resulting bitstream using ffplay, I get corrupted grey/green frames and a lot of messages signalling bitstream errors:
[h264 @ 0x7f8aa3003000] negative number of zero coeffs at 17 10/0
[h264 @ 0x7f8aa3003000] error while decoding MB 17 1
[h264 @ 0x7f8aa3003000] mb_type 27 in I slice too large at 2 12
[h264 @ 0x7f8aa3003000] error while decoding MB 2 12
[h264 @ 0x7f8aa3003000] top block unavailable for requested intra4x4 mode -1 at 2 24
[h264 @ 0x7f8aa3003000] error while decoding MB 2 24
[h264 @ 0x7f8aa3003000] negative number of zero coeffs at 16 36
[h264 @ 0x7f8aa3003000] error while decoding MB 16 36
[h264 @ 0x7f8aa3003000] concealing 3552 DC, 3552 AC, 3552 MV errors in I frame
[h264 @ 0x7f8aa3003000] corrupted macroblock 0 0 (total_coeff=-1)
[h264 @ 0x7f8aa3003000] error while decoding MB 0 0
[h264 @ 0x7f8aa3003000] corrupted macroblock 0 12 (total_coeff=-1)
[h264 @ 0x7f8aa3003000] error while decoding MB 0 12
[h264 @ 0x7f8aa3003000] negative number of zero coeffs at 0 22
[h264 @ 0x7f8aa3003000] error while decoding MB 0 22
[h264 @ 0x7f8aa3003000] P sub_mb_type 11 out of range at 18 30
[h264 @ 0x7f8aa3003000] error while decoding MB 18 30
[h264 @ 0x7f8aa3003000] Cannot use next picture in error concealment
[h264 @ 0x7f8aa3003000] concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
Is this a bug or I am not configuring the encoder correctly? Thanks in advance for any feedback!

Realized that this was due to using unsupported version of NASM on OSX (2.11.08). When built with an earlier version (2.11.06), everything was ok.


[BEAM-79] port OldDoFn to new DoFn

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @kennknowles

Nice! Not even so complicated. I'll merge it. The test failures do not seem caused by this.

(merged, but you'll have to close it)

R: @jbonofre


Link from Linen README to the reference docs

Adapted from #754

Codecov Report

Merging #1021 (edcf940) into master (1fdf7c5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1021   +/-   ##
=======================================
  Coverage   81.26%   81.26%
=======================================
  Files          57       57
  Lines        4552     4552
=======================================
  Hits         3699     3699
  Misses        853      853

Continue to review full report at Codecov.

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


Cal contrast updates

Updates for https://github.com/cds-snc/ircc-rescheduler/issues/446
Default:

before
after

Inverted:

before
after

@pcraig3 I worked with @emanelfy on these updates if you can take a look.


added ccsd initial state for free projection

@ankit76 Could you fix the failing tests so that we could merge this?


Add precision to view_index

Set precision on the new view_index uniform in the GLES2 driver. Also added some comments to the precision define blocks to prevent future confusion around this.
Fixes #50225

@madmiraal can you test to see if this indeed resolves your issue? The machine I'm on right now has some issues compiling for Android but in theory this should resolve stuff.

You could make a note that for uniforms and varyings that are present in both vertex and fragment shader, we should probably always specify precision explicitly, and make sure they match. And that such changes should be tested on android devices, because shader compilers there are most likely to flag this error (some let it go if I remember right, and some complain).
Maybe this requirement could be checked by our shader compiler code as it translates to glsl?

Thanks!


e2e: pass non-empty Namespace/Name in deletePVCAndPV()

When getting the PVC or PV failed, the returned object may contain empty
values. If that happens, a retry uses the empty values for Namespace and
Name, which will never be successful.
Instead, use the Namespace and Name attributes from the original object,
and not from the object returned by the Get() call.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

/retest ci/centos/mini-e2e-helm/k8s-1.23


Make the plot commands more generic

Hi everyone,
We would like to make the plot commands more generic, with the possibility to slice over new axes (e.g. phases, z, radius), and remove the notion of "time" and "space" which is not always present in the data we want to plot. The titles would also become more precise.
Therefore, we suggest to rename the former plot_A_2D, plot_A_3D and plot_A_4D (which simply format the figure, given lists of ndarrays, titles, etc) as: plot_2D, plot_3D and plot_4D. No other modification should be necessary in these plot commands.
Then, plot_A_space, plot_A_time, plot_A_fft_time and plot_A_fft_space would be merged into a single plot command: plot_2D_Data with a syntax used in SciDataTool. For example:
out.plot_2D_Data("mag.Br", "angle{°}") or more advanced parameters such as:
out.plot_2D_Data("mag.Br", "time", "angle[-1]", "phase[0,1,2]", "freqs=[0,5000]{elec_order}", unit="mT", is_norm=False)
This syntax is heavier, but more generic, and avoids duplicating code.
Finally, plot_A_surf, plot_A_fft2 and plot_A_cfft2 would be merged into plot_3D_Data:
out.plot_3D_Data("mag.B", "time", "space") for a surface plot,
out.plot_3D_Data("mag.B", "freqs", "wavenumber") for a stem fft2 plot,
out.plot_3D_Data("mag.B", "freqs", "wavenumber", is_2D_view=True) for a 2D fft2 plot (former plot_A_fft2)
(One could similarly add intervals to plot_3D_Data: "freqs=[0,5000]")
What do you think?

Done in release 1.0.2


Backport of commit status fixes in PR #8316 and PR #8321 to v1.9

This is a backport of PR #8316 and PR #8321 to v1.9.

CI failed.


Called JitsiMeetElectron.obtainDesktopStreams but it is not defined

Hi i'm trying to use @jitsi/react-sdk on my electron
whenever I try to share my screen it doesn't work and there is no sharing option showing up

In your electron app you need to use
https://github.com/jitsi/jitsi-meet-electron-sdk#screen-sharing

Can you show me how to use it ?

Can I drop here my existing code because I'm using also @jitsi/react-sdk it is working on web but when in electron it is not.

You can check the code in https://github.com/jitsi/jitsi-meet-electron how it uses it.

Because I had a react typescript project inside my electron root directory project. so I'm using JaasMeeting upon trying to share screen event though I have setupScreenSharingRender and setupScreenSharingMain it is not working


Automated Package Upgrade

:tada: This PR is included in version 2.2.448 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


issue 908 - update storage-location edit view for new theme

Resolves #908
Updated storage-location edit view to match other examples of the bootstrap 4 new_theme update.

followed conventions in other examples
did not run any tests, since my tests were not running locally
part of the open source workshop at RailsConf 2019

Looks great, thanks! :+1: pending Travis :heavy_check_mark:

Travis choked, restarting build

Thanks so much for this!!!


type internal dicts inside lists

https://github.com/seanbreckenridge/google_takeout_parser/blob/368017199f822196f78a3e70f7b27584066b8796/google_takeout_parser/models.py
can be typed with a metadata dict now, since https://github.com/karlicoss/cachew/issues/28 was fixed

I think using a namedtuple would keep this 100% backwards compatible as well


Write a Haskell program to convert inches to feet

Description
Write a Haskell program to convert inches to feet
1 foot = 12 inches
Input  : 60
Output : 5

How to contribute

Save the solution in convert_inches_to_feet.hs file
Add convert_inches_to_feet.hs file in program/convert-inches-to-feet folder

!assign


test: Disable K8sVerifier on 4.19 and net-next CI pipelines

K8sVerifier was mistakenly enabled on 4.19 and net-next in #14129. This pull request reverts it.
Fixes: #14129
Fixes: #14159

test-me-please

Travis CI is blocked and RuntimePrivilegedUnitTests is flaking. All other builds are passing. I think this is ready-to-merge given it only affects K8sVerifier.


Ensured PeakGroup.name is composed of compound synonyms instead of primary name

Summary Change Description
Ensured PeakGroup.name is composed of compound synonyms instead of primary name.  See the issue description for more.
Details:

PeakAnnotationsLoader

Made get_or_create_peak_group take a list of compound synonyms instead of the peak group name
Renamed get_peak_group_name_and_compounds to get_peak_group_compounds_dict and made it return a dict of compound records keyed on compound synonym.
Removed class attribute CompoundNamesDelimiter (and replaced it with the new PeakGroup.NAME_DELIM.

PeakGroup

Added class attribute: NAME_DELIM
Improved the help_text for PeakGroup.name to be more specific about how it differs from the primary compound name.

Affected Issues/Pull Requests

Resolves #1127
Merges into PR #1141

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[ ] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

This completes the implementation of milestone 29.


Modify @RetryableListener Tests to use AssertJ

Used assertThat and assertThatExceptionOfType from the AssertJ library instead of assert* methods from junit library.
Fixes #1721

Sure. I can fix the remaining test classes. Just to confirm, all test classes need to be moved over to AssertJ?

Yes, thanks; I fixed the checkstyle.xml to detect JUnit5 asserts (it previously only detected JUnit4).
If you rebase your branch against master, you'll see the remaining errors:
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/listener/KafkaConsumerBackoffManagerTest.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/listener/KafkaConsumerBackoffManagerTest.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/listener/KafkaConsumerBackoffManagerTest.java:21: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/listener/adapter/KafkaBackoffAwareMessageListenerAdapterTest.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/BackOffValuesGeneratorTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DeadLetterPublishingRecovererFactoryTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DeadLetterPublishingRecovererFactoryTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DeadLetterPublishingRecovererFactoryTests.java:21: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DefaultDestinationTopicProcessorTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DefaultDestinationTopicProcessorTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DestinationTopicContainerTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DestinationTopicContainerTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DestinationTopicPropertiesFactoryTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DestinationTopicPropertiesFactoryTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DestinationTopicPropertiesFactoryTests.java:21: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/ListenerContainerFactoryConfigurerTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/ListenerContainerFactoryConfigurerTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/ListenerContainerFactoryResolverTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/ListenerContainerFactoryResolverTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/retrytopic/ListenerContainerFactoryResolverTests.java:21: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/support/KafkaStreamBrancherTests.java:19: Please use AssertJ imports. [RegexpSinglelineJava]
[ant:checkstyle] [ERROR] /Users/grussell/Development/spring-kafka/spring-kafka/src/test/java/org/springframework/kafka/support/KafkaStreamBrancherTests.java:20: Please use AssertJ imports. [RegexpSinglelineJava]

Many thanks for the contribution!


is the new stage_nwis_ts robust against a site with no data?

Haven't tested, but I fear it will not fail gracefully. check this against a known empty against >= v0.9.1

it is now. i ran into issues and fixed them.
> stage_nwis_ts(c('nwis_04024315','nwis_04024430'), var='doobs', times=c('2014-01-01','2014-01-03'))
NULL

https://github.com/USGS-R/mda.streams/commit/af61ca94f1ea6c955806783fd85420665a94bacf


Feat: Mediline-Plus medical encyclopedia scraper

Describe the feature
I'd scrape all the details from the medical encyclopedia published and maintained by Mediline-Plus, which contains info about all medicines, most famous medicines, their usage, and so on. It also contains a glossary about various medical terms.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC 23 contributor
[X] I want to work on this issue

@nikhil25803 please check out my issue request. Thanks!

Sounds good, go ahead @jaivsh |

Sounds good, go ahead @jaivsh |

thanks!


Address overrides by component

Since the overrides map is keyed by the component name, use that when
addressing it.
This avoid any problems downstream, in case that the image names are
getting rewritten.
This should resolve https://github.com/stolostron/submariner-addon/issues/452
Signed-off-by: Mike Kolesnik<EMAIL_ADDRESS>

Since the overrides map is keyed by the component name, use that when addressing it.

That may have been the intention but it doesn't seem to be the case, unless I'm missing something. subctl join validates the image overrides obtained from the command line against names.ValidImageNames which references the *Image constants. For all but ServiceDiscovery and LighthouseCoreDNS  it doesn't matter since the Image and Component are the same.

Makes sense, there’s not much point in having two arguments with the same value.

They're not all the same value as mentioned here

That may have been the intention but it doesn't seem to be the case, unless I'm missing something. subctl join validates the image overrides obtained from the command line against names.ValidImageNames which references the *Image constants. For all but ServiceDiscovery and LighthouseCoreDNS it doesn't matter since the Image and Component are the same. It's fine if we switch to keying by the component name but we need to be consistent and modify subctl as well.

It's not directly related to the issue though but yeah we could do that, but this is only an issue if the names diverge (e.g. on stolostron).
On subctl it's usually a 1:1 relation, and it's not the only way to deploy Submariner, so we should fix it there.
Also names.ValidImageNames is unused in operator, so really does it even make sense to keep in the operator?
I think it's a remnant of the split and better live in subctl

Also names.ValidImageNames is unused in operator, so really does it even make sense to keep in the operator? I think it's a remnant of the split and better live in subctl

I think it's fine to leave it here since it's related to names defined here but we could move it locally in subctl in the one place where it's actually used.


Update docs to recommend users to use .aws/cred file vs ENV variables.

Without setting up your profile on your machine and if you try and just use the ENV variables the project will not load and will complain for a REGION to be set.
The current docs talk about setting .env values, but we should change this.

Some problems and other information can found in #3


Adding troubleshooting to docs.

Solves https://github.com/zulip/zulip/issues/14400.
Updated the PR including specific timeout cause in backend.
Casper

Backend

Thanks for working on this @Abhishek-Balaji!  I'm closing this PR for the reasons noted on the issue thread.


Still maintained?

This package is a couple of years behind now, and I'm wondering if it is superceded by.

https://github.com/torchbox/vagrant-django-template
https://github.com/torchbox/bakerydemo-p13n
...something else I'm not aware of.

Hi @loleg,
The template we currently use in-house at Torchbox is not public, and there's no official Wagtail one beyond the built-in one you get with wagtail start myproject (because we don't want to push one particular set of technologies as the "correct" ones). There are a few alternatives listed at https://github.com/springload/awesome-wagtail#tools though...

@gasman Perhaps we could update the readme to that effect.


building on Mac M2 arch

@mwtoews - I hope there is a reasonably simple answer, but following the https://github.com/pypest/pypestutils/blob/main/BUILD.md instructions, I installed meson and ninja via pip and already have gfortran available at the commandline. When I run the build libs script, however, I get an error about not being able to find GNU compiler. Top of the error is like this:

and after all the #defines I see this

I'm on OS 13.6. Does this ring any bells?

thanks @mwtoews I tried reinstalling XCode CLtools but still same error.....

Bummer! Is your set-up able to compile other gcc/gfortran projects with meson such as mf6, or is it only having difficulty with pestutils? Is it via homebrew's gcc? What version does gfortran --version show? @briochh might have ideas, as he has a macOS silicone laptop (I don't).

hmmmm..... no - I haven't compiled anything in a bit.
version is GNU Fortran (GCC) 12.1.0
I'll see if @briochh sees the bat signal :). Thanks!

I see it, but I may not be much help. I am sans computer for the next months. The only thing I remember is that I could only compile using a true python version (i.e. not conda python).
Also I don't think i used meson, i think I was running cibuildwheel ...

@mnfienen, @mwtoews has put together some steps for building on Mac running arm. I have just work through on my M1 machine to upload arm wheels to pypi. You could see if it also works on M2?
https://github.com/pypest/pypestutils/wiki/BuildingBdistForMacOSarm64

I'm actually still on M1 Max I figured out. But....I found that by  mamba installing gfortran from conda-forge into the same env as meson and ninja everything just worked fine

Updates to https://github.com/pypest/pypestutils/blob/main/BUILD.md are always welcome! Perhaps more conda-specific instructions should be there? (Currently it's primarily conda for Windows)

great idea - I'll PR some instructions


added links for AKS and Azure functions

Hi, @Buzzardo, could you please help to merge this PR？

merged with https://github.com/spring-guides/gs-spring-boot-for-azure/pull/12


Curl add user

following instructions on how to add user to db and I'm getting this error. Not sure what I'm doing wrong.
{"level":"error","msg":"could not create profile","handler":"ProfileHandler","method":"Create","error":"ent: missing required field
\"username\""}

Using
curl -X 'POST' -H 'Content-Type: application/json' -d '{"username":"Elk","email":"elk@gmail.com","password":"Elk123"}' 'localhost:3000/profiles

Tried postman, same error. Profile looks like this:
func (Profile) Fields() []ent.Field {
	return []ent.Field{
		field.String("username").
			Immutable(),
		field.String("email").
			Unique(),
		field.String("password").
			Sensitive(),
	}
}
func (Profile) Edges() []ent.Edge {
	return []ent.Edge{
		edge.To("customers", Customer.Type),
		edge.To("suppliers", Supplier.Type),
		edge.To("admins", Admin.Type),
	}
}

Does it work without immutable username? If yes, you might have found a bug.

doesn't look like it. I removed all methods;
func (Profile) Fields() []ent.Field {
return []ent.Field{
field.String("username"),
field.String("email"),
field.String("password"),
}
}
and got
{"level":"error","msg":"could not create profile","handler":"ProfileHandler","method":"Create","error":"ent: missing required field "username""}
my server.go file looks like this *mysql)
func main() {
c, err := ent.Open("mysql", "user:pass@tcp(localhost:3306)/testdb")
if err != nil {
log.Fatalf("failed opening connection to sqlite: %v", err)
}
defer c.Close()
// Run the auto migration tool.
if err := c.Schema.Create(context.Background()); err != nil {
log.Fatalf("failed creating schema resources: %v", err)
}
// Start listen to incoming requests.
fmt.Println("server is running on port :3000")
if err := http.ListenAndServe(":3000", elk.NewHandler(c, zap.NewExample())); err != nil {
	log.Fatal(err)
}

}

this is what the handler looks like for profile;
// ProfileHandler handles http crud operations on ent.Profile.
type ProfileHandler struct {
client *ent.Client
log    *zap.Logger
}
func NewProfileHandler(c *ent.Client, l *zap.Logger) *ProfileHandler {
return &ProfileHandler{
client: c,
log:    l.With(zap.String("handler", "ProfileHandler")),
}
}
func (h *ProfileHandler) MountCreateRoute(r chi.Router) *ProfileHandler {
r.Post("/profiles", h.Create)
return h
}
func (h *ProfileHandler) MountReadRoute(r chi.Router) *ProfileHandler {
r.Get("/profiles/{id}", h.Read)
return h
}
func (h *ProfileHandler) MountUpdateRoute(r chi.Router) *ProfileHandler {
r.Patch("/profiles/{id}", h.Update)
return h
}
func (h *ProfileHandler) MountDeleteRoute(r chi.Router) *ProfileHandler {
r.Delete("/profiles/{id}", h.Delete)
return h
}
func (h *ProfileHandler) MountListRoute(r chi.Router) *ProfileHandler {
r.Get("/profiles", h.List)
return h
}
func (h *ProfileHandler) MountCustomersRoute(r chi.Router) *ProfileHandler {
r.Get("/profiles/{id}/customers", h.Customers)
return h
}
func (h *ProfileHandler) MountSuppliersRoute(r chi.Router) *ProfileHandler {
r.Get("/profiles/{id}/suppliers", h.Suppliers)
return h
}
func (h *ProfileHandler) MountAdminsRoute(r chi.Router) *ProfileHandler {
r.Get("/profiles/{id}/admins", h.Admins)
return h
}
func (h *ProfileHandler) MountRoutes(r chi.Router) {
h.MountCreateRoute(r).MountReadRoute(r).MountUpdateRoute(r).MountDeleteRoute(r).MountListRoute(r).MountCustomersRoute(r).MountSuppliersRoute(r).MountAdminsRoute(r)
}
Error again
{"level":"error","msg":"could not create profile","handler":"ProfileHandler","method":"Create","error":"ent: missing required field "username""} Question, should their be a username field in the post method while there is an error?

db table profile

i will share

Your code regeneration is not working because there was a bug in elk when generating schemas with an uuid on a non-ID field. I fixed it in this commit. I added a new tag v0.4.6.
Running this commands in your repo should fix it:
go get -u<EMAIL_ADDRESS>go generate ./...

Sorry for the inconvenience.

well, when you fix one another one shows up :). I ran the following
go run server.go
server is running on port :3000
2021/09/23 10:00:11 http: panic serving <IP_ADDRESS>:47062: runtime error: invalid memory address or nil pointer dereference
goroutine 152 [running]:
net/http.(*conn).serve.func1()
        /usr/local/go/src/net/http/server.go:1801 +0xb9
panic({0xa84440, 0x1003400})
        /usr/local/go/src/runtime/panic.go:1047 +0x266
github.com/wr125/auction_ent/ent/http.ProfileHandler.Create({0xc000097c70, 0xc00023e0c0}, {0xbf10b0, 0xc000104620}, 0xc000108a00)
        /home/robert/go/src/github.com/wr125/auction_ent/ent/http/create.go:929 +0xdb3
net/http.HandlerFunc.ServeHTTP(0xa81e20, {0xbf10b0, 0xc000104620}, 0xc00020151d)
        /usr/local/go/src/net/http/server.go:2046 +0x2f
github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0000abb00, {0xbf10b0, 0xc000104620}, 0xc000108a00)
        /home/robert/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.4/mux.go:442 +0x216
net/http.HandlerFunc.ServeHTTP(0xbf55f8, {0xbf10b0, 0xc000104620}, 0x1003020)
        /usr/local/go/src/net/http/server.go:2046 +0x2f
github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0000abb00, {0xbf10b0, 0xc000104620}, 0xc000108700)
        /home/robert/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.4/mux.go:88 +0x442
net/http.serverHandler.ServeHTTP({0xbf02e8}, {0xbf10b0, 0xc000104620}, 0xc000108700)
        /usr/local/go/src/net/http/server.go:2878 +0x43b
net/http.(*conn).serve(0xc000244aa0, {0xbf56a0, 0xc0002580f0})
        /usr/local/go/src/net/http/server.go:1929 +0xb08
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:3033 +0x4e8
^Csignal: interrupt

I received;
curl -X 'POST' -H 'Content-Type: application/json' -d '{"username":"jack","email":"jack@gmail.com","password":"123"}' 'localhost:3000/profiles'
curl: (52) Empty reply from server

Also, I noticed the port is different from default.

I started the server in your repo and everything worked without a hassle:
curl -X 'POST' -H 'Content-Type: application/json' -d '{"username":"jack","email":"jack@gmail.com","password":"123"}' 'localhost:3000/profiles'

{"level":"info","msg":"profile rendered","handler":"ProfileHandler","method":"Create","id":1}

Running it on mysql gave me an error. I am investigating.

go get -u<EMAIL_ADDRESS>go generate ./...

You keep finding bugs. I am grateful, I can fix them :-)

Where differently making good progress here :)
server is running on port :3000
{"level":"error","msg":"could not create profile","handler":"ProfileHandler","method":"Create","error":"ent: constraint failed: Error 1062: Duplicate entry<EMAIL_ADDRESS>for key 'email'"}
{"level":"error","msg":"could not read profile","handler":"ProfileHandler","method":"Create","error":"sql: Scan error on column index 1, name "create_time": unsupported Scan, storing driver.Value type []uint8 into type *time.Time","id":3}
{"level":"error","msg":"could not read profile","handler":"ProfileHandler","method":"Create","error":"sql: Scan error on column index 1, name "create_time": unsupported Scan, storing driver.Value type []uint8 into type *time.Time","id":4}
^Csignal: interrupt
Input
curl -X 'POST' -H 'Content-Type: application/json' -d '{"username":"jack","email":"jack@gmail.com","password":"123"}' 'localhost:3000/profiles'
{"code":500,"status":"Internal Server Error"}
curl -X 'POST' -H 'ContElk","email":"elk@gmail.com","password":"Elk123"}' 'localhost:3000/profiles'
{"code":500,"status":"Internal Server Error"}
curl -X 'POST' -H 'Controbert","email":"rob@gmail.com","password":"rob231"}' 'localhost:3000/profiles'
{"code":500,"status":"Internal Server Error"}

Please always surround your codeblock with tripple backticks ``` to format it.

{"level":"error","msg":"could not create profile","handler":"ProfileHandler","method":"Create","error":"ent: constraint failed: Error 1062: Duplicate entry<EMAIL_ADDRESS>for key 'email'"}

This one is because you have field.String("email").Unique() in your schema.

{"level":"error","msg":"could not read profile","handler":"ProfileHandler","method":"Create","error":"sql: Scan error on column index 1, name "create_time": unsupported Scan, storing driver.Value type []uint8 into type *time.Time","id":3}
{"level":"error","msg":"could not read profile","handler":"ProfileHandler","method":"Create","error":"sql: Scan error on column index 1, name "create_time": unsupported Scan, storing driver.Value type []uint8 into type *time.Time","id":4}

You need to put parseTime=true in your DSN.

ok, lets take things slowly here please :)

I see there seems to be an issue the correct formatting (I want duplication check). So this needs to be resolved. How to do this; you say use  do I use field.String(email```).Unique(),? I don't think so, so where in the doc does this example clearly?
2)"You need to put parseTime=true in your DSN" I am using linux mint so do I need to edit a file? And what does this do?

go run server.go
server is running on port :3000
{"level":"info","msg":"profile rendered","handler":"ProfileHandler","method":"Create","id":5}
{"level":"info","msg":"profile rendered","handler":"ProfileHandler","method":"Create","id":6}
{"level":"info","msg":"profile rendered","handler":"ProfileHandler","method":"Create","id":7}
Input
curl -X 'POST' -H 'Contpat","email":"pat@gmail.com","password":"pat543"}' 'localhost:3000/profiles'
<EMAIL_ADDRESS>
curl -X 'POST' sally","email":"sally@gmail.com","password":"sally32"}' 'localhost:3000/profiles'
<EMAIL_ADDRESS>
curl -X 'POsimon","email":"simon@gmail.com","password":"simon12"}' 'localhost:3000/profiles'
<EMAIL_ADDRESS>

The string where you provide the credentials to connect to the database is called DSN. Putting parse time=True as I mentioned and you did is only requires, when you use datetime columns.

I edited the credit_card field to look like this edge.To("creditcard", CreditCard.Type) and reran the code
go generate ./...
2021/09/23 14:50:09 running ent codegen: entc/gen: resolve "CardType" relations: edge "card_type" is missing for inverse edge: CardType.credit_card(CreditCard)
exit status 1
ent/generate.go:3: running "go": exit status 1
I want to use the below hook on the creditcard but ent can't find ent.CreditCardMutation. Do I also need the second hook?
func (CreditCard) Hooks() []ent.Hook {
	return []ent.Hook{
		// First hook.
		hook.On(
			func(next ent.Mutator) ent.Mutator {
				return hook.CreditCardFunc(func(ctx context.Context, m *ent.CreditCardMutation) (ent.Value, error) {
					if num, ok := m.Number(); ok && len(num) < 10 {
						return nil, fmt.Errorf("card number is too short")
					}
					return next.Mutate(ctx, m)
				})
			},
			// Limit the hook only for these operations.
			ent.OpCreate|ent.OpUpdate|ent.OpUpdateOne,
		),
		// Second hook.
		func(next ent.Mutator) ent.Mutator {
			return ent.MutateFunc(func(ctx context.Context, m ent.Mutation) (ent.Value, error) {
				if s, ok := m.(interface{ SetName(string) }); ok {
					s.SetName("Boring")
				}
				return next.Mutate(ctx, m)
			})
		},
	}

Manged to complie the code because I edited the card_type node. However, I still get CreditCardMutation not declared by package on m *ent.CreditCardMutation. What am I missing?

This are questions regarding Ent and not elk. So please ask them in either slack or discord. You will find help there (mine for example) 😊

Think there might be another issue or something, as I've added Positive(), method to a field and is showing an error in http/update.go file. Removed it and it goes away. Issue also with Username which I do have but saying its undefined in the update file. I've pushed the repository to github so you can do a pull request on it and let us know.


create google sitemap.xml file for better indexing

This has kind of dropped off the radar but will be increasingly important as the science content continues to improve and we try to raise the profile of CIViC. Right now if someone googles for "cancer variant interpretation database" or similar they will find CIViC. But, if they are looking for "WT1 mutation" or similar they likely will not find CIViC unless they also include "civic" as a search term and even then... ironically google returns lots of other civic-related hits such as from the two github repos, SolveBio's import of CIViC data, etc but not the actual CIViC page for that variant/gene.

Also: figure out how to incorporate metadata for improved SEO, page descriptions, etc.

@acoffman, this modification will place a sitemap.xml file into /dist during the build task. I'm assuming that your build process will then place this in the root of the site, but I wanted to give you a heads up in case you needed to tweak configuration files or deploy process.

@jmcmichael awesome - thanks for the heads up! That should work fine with the existing build process.


[Event Request] Codeunit 5763 "Whse.-Post Shipment" – New Event “OnBeforeCheckWhseJnlLine”

Could we please have a new publisher “OnBeforeCheckWhseJnlLine” in Function “PostWhseJnlLine”, Codeunit “Whse.-Post Shipment”?
    local procedure PostWhseJnlLine(var PostedWhseShptLine: Record "Posted Whse. Shipment Line"; var TempTrackingSpecification: Record "Tracking Specification")
    var
        TempWhseJnlLine: Record "Warehouse Journal Line" temporary;
        TempWhseJnlLine2: Record "Warehouse Journal Line" temporary;
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforePostWhseJnlLine(PostedWhseShptLine, TempTrackingSpecification, IsHandled);
        if IsHandled then
            exit;

        GetLocation(PostedWhseShptLine."Location Code");
        if Location."Bin Mandatory" then begin
            CreateWhseJnlLine(TempWhseJnlLine, PostedWhseShptLine);
*** start new code ***
            IsHandled := false;
            OnBeforeCheckWhseJnlLine(TempWhseJnlLine, IsHandled);
            if not (IsHandled) then begin
*** stop new code
                WMSMgt.CheckWhseJnlLine(TempWhseJnlLine, 0, 0, false);
*** start new code ***
            end;
*** stop new code ***
            OnBeforeRegisterWhseJnlLines(TempWhseJnlLine, PostedWhseShptLine);
…
*** start new code ***
    [IntegrationEvent(false, false)]
    local procedure OnBeforeCheckWhseJnlLine(var TempWhseJnlLine: record "Warehouse Journal Line" temporary; var IsHandled: Boolean)
    begin
    end;
*** stop new code ***

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


subtle links to the install hints

I'd rather link to the binaries instead of the wiki explaining how to build. It's what we did in the past but since it's boring to always update links i stopped doing it.

My intend is to make it visible how you can install YakYak with Homebrew on macOs which is a really convenient way to stay up-to-date.

It's the subtle part i think i don't like. It has to be clear. Does this look acceptable to you ?

Perfect! cheers


mark generated css as binary in git

this prevents it from diffing or trying to merge changes in the generated map, since it should be re-generated via sass to handle merging.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/b17f449ad3a06482d61ee604a7d4eecb9e74f8fe/


Reg\Facility - Internal User can view Single Facility Information page in read only mode

Description:
As an internal user, I can see a Single Facility Operation's Facility in read only mode
Acceptance Criteria:
Given I am on the operations grid
If the operation type is SFO
Then the button under Facilities says "View Facility" (same as external users button)
Given that I click on "View Facility",
Then it will redirect to the Facility Information page (instead of the facilities grid that is shown for an LFO)
Figma
The Issue BCGHGID buttons on the page are being handled in ticket #2152
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:
Dependencies
#1701

Blocked by
Blocking

Closing ticket - work being captured in #1704


"show-subscriber-summary/Port" parsers do not have correct RegEx

File names affected:
open-nti > data > junos_parsers > show-subscriber-summary.parser.yaml
open-nti > data > junos_parsers > show-subscriber-summary-port.parser.yaml
Correct syntax should be "subscribers" (plural) and current command file uses "subscriber" (singular).  Please change all references of "subscriber" to "subscribers".
Example:
Incorrect Regex: regex-command: show\s+subscriber\s+summary\s+|\s+display\s+xml
Incorrect: variable-name:  $host.bng.subscriber.summary.session-state-active
(Missing last "s" in subscribers)
Correct regex: regex-command: show\s+subscribers\s+summary\s+|\s+display\s+xml
Correct: variable-name:  $host.bng.subscribers.summary.session-state-active
Happy coding!

Hi @mmellin
Thanks for reporting this
Is it a cosmetic change or is it currently broken ?
Thanks
Damien

In version of 14.1 on mx, it is broken in that the stats do not collect
because of the XML.
Regards,
Matt
On May 15, 2016 9:29 AM, "Damien"<EMAIL_ADDRESS>wrote:

Hi @mmellin https://github.com/mmellin
Thanks for reporting this
Is it a cosmetic change or is it currently broken ?
Thanks
Damien
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Juniper/open-nti/issues/40#issuecomment-219295720

Hi @mmellin
Could you please copy/past the xml output for that command?
Regards
Efrain

I think it's mainly just missing an S in subscribers.  The current regex
and description say "show system subscriber" and it should be
"subscribers".  Check both the summary and port command.
I can double check the usage when I get back into the office next week.
show subscribers summary port | display xml

0

show subscribers summary | display xml

0

0

Regards,
Matt
On Wed, Aug 17, 2016 at 9:05 AM, Efrain<EMAIL_ADDRESS>wrote:

Hi @mmellin https://github.com/mmellin
Could you please copy/past the xml output for that command?
Regards
Efrain
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Juniper/open-nti/issues/40#issuecomment-240460951,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW46aikGbrM0L1zlKQiPfDb0A1Pfctvks5qgzFHgaJpZM4IbTp2
.

Hi @mmellin
You are totally right :)
there is a missing 's' in the parser filename AND inside the file content,  I'll fix it and create the pull request
Regards

We'll do the merge with #79


Views that show/hide in the Remote Explorer have unexpected behavior

Create codespaces and connect to it
Press F1->'Toggle Codespace Performance Explorer' to make 'CODESPACE PERFORMANCE' shown
F1->Reload Window
Press F1->'Toggle Codespace Performance Explorer' twice

🐛 See that there is a dead view in the Remote Explorer

Fixed by https://github.com/microsoft/vscode/commit/b34a71e2279dc56e821b39f52aebc8c4a588a584


Mining from other language/runtime

nodejs is one of the choices since it can be used in many platform.
other options are

Java for Android
Swift for iOS

🤔

Done for nodejs. https://github.com/SushiCoinHQ/sushi-mining-npm


Adopt vagrant-librarian-puppet

I couldn't find a mailing list or similar of voxpupili, so I'm posting here.
What do you think of adopting https://github.com/mhahn/vagrant-librarian-puppet?
It's a vagrant plugin to install puppet modules with librarian-puppet.
The project is mostly unmaintained at the moment and the owner would be up: https://github.com/mhahn/vagrant-librarian-puppet/issues/52
@igalic wdyt?

@njam we're reachable on freenode at #voxpupuli

:+1: , also, what @jyaworski said: if this needs more detailed discussion

this is somewhat unrelated but I thought might be interesting for this discussion.
I've just created a debian package for vagrant-librarian-puppet which is awaiting validation.
https://ftp-master.debian.org/new/vagrant-librarian-puppet_0.9.2-1.html
it might bring more users to that project (I am one of them at least :) )
if the project is adopted by voxpupuli in the future, I would like to change the upstream url to follow this transition!


weex build android/weex run android （没有把dist下面的文件夹内的文件copy到安卓模板中）

weex build android （
没有把src/dist下面的文件夹内的文件copy到安卓模板中
'platforms/android/app/src/main/assets/dist'
）

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


Missing _VECT in #pragma interrupt (Renesas RX100 series)

Illegal #pragma interrupt in port.c l.299 for Renesas RX100 series
Should be :
#pragma interrupt ( prvTickISR( vect = _VECT( configTICK_VECTOR ), enable ) )

Instead of :
#pragma interrupt ( prvTickISR( vect = configTICK_VECTOR, enable ) )

Thanks Plornel, we will take a look. I'll post update soon.

Hello Plornel,
Did you experience problem with the pragma statement with the latest compiler?  Amazon FreeRTOS does not support RX100 port.c, so I would like make sure.
Thanks.

Hello abhidixi11,
I encountered no problem with the syntax I suggest.

Hello Plornel,
Thanks for the response. I was wondering if you experience any problem with the existing pragma statement ?  (before addition of _VEC).
Thanks.

With the existing statement I have an error "Illegal #pragma interrupt declaration" (toolchain CCRX 3.01.00)

@Plornel Thank you. We are discussing internally for the other potential impact by merging this change. Shall be able to either merge directly from our side or get back to you with reasoning. Thanks again for bring it up.

The important thing here is the compiler version - the syntax needs to be correct for the latest compiler - which compiler version are you using?

@Plornel This has been resolved by #1013.  I will resolve the ticket.  Thank you again for pointing this out!


Update .gitignore

add files name in gitignore

A new inspection was created.

The inspection completed: No new issues