Release to maven central

@rultor release, tag=1.8.3

@rultor release, tag=1.8.3

@velo OK, I will release it now. Please check the progress here

@rultor release, tag=1.8.3

@rultor release, tag=1.8.3

@velo Oops, I failed. You can see the full log here (spent 6min)
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom.asc (819 B at 6.7 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar (45 KB at 76.3 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar.asc (819 B at 6.2 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar.asc (819 B at 6.6 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar.asc (819 B at 4.8 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1098/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar (16 KB at 42.5 KB/sec)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "commarvinformatics-1098".

Waiting for operation to complete...
.........

[INFO] Remote staged 1 repositories, finished with success.
[INFO] Remote staging repositories are being released...

Waiting for operation to complete...
.......

[INFO] Remote staging repositories released.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:09 min
[INFO] Finished at: 2019-05-06T22:11:02+00:00
[INFO] Final Memory: 60M/559M
[INFO] ------------------------------------------------------------------------
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 1.8.3 -m '1.8.3: tagged by rultor.com'
+ git reset --hard
HEAD is now at d0e6080 1.8.3
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was d0e6080).
+ git push --all origin
To git@github.com:velo/avro-maven-plugin.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git@github.com:velo/avro-maven-plugin.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
container c813e9eea223670ea7d9f2dc650a766360a60d66077dadb9f4ed64c41466f2e2 is dead
Tue May  7 00:12:15 CEST 2019

@rultor release, tag=1.8.3

@rultor release, tag=1.8.3

@velo OK, I will release it now. Please check the progress here

@rultor release, tag=1.8.3

@velo Oops, I failed. You can see the full log here (spent 3min)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom (16 KB at 43.2 KB/sec)
[INFO] Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/maven-metadata.xml
[INFO] Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/maven-metadata.xml
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/maven-metadata.xml
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/maven-metadata.xml (348 B at 0.6 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/maven-metadata.xml
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/maven-metadata.xml (228 B at 0.6 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom.asc (819 B at 6.7 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar (45 KB at 78.5 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar.asc (819 B at 6.8 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar.asc (819 B at 6.6 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar.asc (819 B at 6.8 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1099/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar (16 KB at 43.1 KB/sec)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "commarvinformatics-1099".

Waiting for operation to complete...
........

[INFO] Remote staged 1 repositories, finished with success.
[INFO] Remote staging repositories are being released...

Waiting for operation to complete...
...

[ERROR]
[ERROR] Nexus Staging Rules Failure Report
[ERROR] ==================================
[ERROR]
[ERROR] Repository "commarvinformatics-1099" failures
[ERROR]   Rule "RepositoryWritePolicy" failures
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar'
[ERROR]
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:22 min
[INFO] Finished at: 2019-05-06T22:17:26+00:00
[INFO] Final Memory: 60M/531M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project avro-maven-plugin: Could not perform action: there are failing staging rules! Staging rules failure! -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container 1e2560914cca1d0a7b964763c070eca7ce46127e4167fad4ee4f4c189679a3c2 is dead
Tue May  7 00:18:07 CEST 2019

@rultor release, tag=1.8.3

@velo OK, I will release it now. Please check the progress here

@rultor release, tag=1.8.3

@velo Oops, I failed. You can see the full log here (spent 3min)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom (16 KB at 31.1 KB/sec)
[INFO] Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/maven-metadata.xml
[INFO] Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/maven-metadata.xml
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/maven-metadata.xml
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/maven-metadata.xml (348 B at 0.6 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/maven-metadata.xml
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/maven-metadata.xml (228 B at 0.5 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom.asc (819 B at 6.5 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar (45 KB at 74.1 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar.asc (819 B at 6.3 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar.asc (819 B at 6.7 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar.asc
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar.asc (819 B at 6.7 KB/sec)
[INFO] Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar
[INFO] Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/commarvinformatics-1100/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar (16 KB at 41.3 KB/sec)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "commarvinformatics-1100".

Waiting for operation to complete...
......

[INFO] Remote staged 1 repositories, finished with success.
[INFO] Remote staging repositories are being released...

Waiting for operation to complete...
...

[ERROR]
[ERROR] Nexus Staging Rules Failure Report
[ERROR] ==================================
[ERROR]
[ERROR] Repository "commarvinformatics-1100" failures
[ERROR]   Rule "RepositoryWritePolicy" failures
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-sources.jar'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.pom'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3.jar'
[ERROR]     * Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/marvinformatics/avro/avro-maven-plugin/1.8.3/avro-maven-plugin-1.8.3-javadoc.jar'
[ERROR]
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:37 min
[INFO] Finished at: 2019-05-06T22:23:36+00:00
[INFO] Final Memory: 60M/557M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project avro-maven-plugin: Could not perform action: there are failing staging rules! Staging rules failure! -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container 51387f45cb460335e791a053832c00945b718a761b6a6280a1f3a92f1befef20 is dead
Tue May  7 00:23:53 CEST 2019


fix(runtime-web): 修复 swiper 组件 previousMargin nextMargin 为小数获取失败的问题

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

@aboyforwind 这个看看么

@shujian-cao 你好 可以看看我提的PR嘛 一直没处理


Add custom callbacks to acts_as_hashed class

Thanks for the PR. Could you please Update CHANGELOG.md with a brief description of your changes under the unreleased heading.

:green_heart: :clap:

I think you can add on README some documentation about this change, how to use etc.


Hello, I'm having the same error message:

Hello, I'm having the same error message:
2019-03-15 11:27:05 INFO:  >>>IoTHubClient_LL_SendEventAsync accepted message for transmission to IoT Hub.
2019-03-15 11:27:14 INFO:  >>>Connection status: disconnected
2019-03-15 11:27:14 ERROR: File:C:\Users\v-zuhu\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.5.1\cores\arduino\azure-iot-sdk-c\c-utility\adapters\tlsio_mbedtls.c Func:tlsio_mbedtls_open Line:560, Underlying IO open failed
2019-03-15 11:27:14 ERROR: File:C:\Users\v-zuhu\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.5.1\cores\arduino\azure-iot-sdk-c\umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1001, Error: io_open failed
2019if
2019-03-15 11:27:15 INFO:  >>>Re-connect.
2019-03-15 11:27:15 INFO:  >>>Confirmation[0] received for message tracking id = 0 with result = IOTHUB_CLIENT_CONFIRMATION_BECAUSE_DESTROY
2019-03-15 11:27:15 INFO:  Iothub Version: 1.2.10
2019-03-15 11:27:19 INFO:  >>>Connection status: disconnected
2019-03-15 11:27:19 ERROR: File:C:\Users\v-zuhu\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.5.1\cores\arduino\azure-iot-sdk-c\c-utility\adapters\tlsio_mbedtls.c Func:tlsio_mbedtls_open Line:560, Underlying IO open failed
2019-03-15 11:27:19 ERROR: File:C:\Users\v-zuhu\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.5.1\cores\arduino\azure-iot-sdk-c\umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1001, Error: io_open failed
2019tf
Note that no such file or directory exists on my computer. I ran into this when following this tutorial: https://docs.microsoft.com/th-th/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started
To be added, I'm also quite new to Arduino.
Originally posted by @Miggov in https://github.com/MicrosoftDocs/azure-docs/issues/24720#issuecomment-473253709

Sorry poor referencing, original message is here: https://github.com/MicrosoftDocs/azure-docs/issues/24720#issue-408989743

@Miggov Thank you for the question! We are investigating this and will get back to you shortly.

@Miggov Were you able to overcome this by doing what customer mentioned on the other GitHub issue?

@Miggov Are you still facing this issue?

Colleague got it working at weekend. Seems to be similiar issue or network related, since the wlan I used appears to restrict the traffic. I'll try the serial monitor again when I have time.

Thanks for the update @Miggov I am glad you guys got it to work. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Python Concepts: List Comprehension

Description 📜
I have explained List Comprehension with examples and problems.
I have made all the suggested changes.
Issue no. #575

Type of change 📝

[ ] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

Python_#Domain

Checklist ✅

[✅] I follow Contributing Guidelines & Code of conduct of this project.
[✅ ] I have performed a self-review of my own code or work.
[✅ ] I have commented my code, particularly in hard-to-understand areas.
[✅] My changes generates no new warnings.
[✅ ] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@adityabisoi Close this pr


Nonnegative (positive only) LCA

When nonnegative==True,  modify threshold nonlinearity such that coefficients cannot take on negative numbers.

Looks good to me! Using relu instead of clamp(min=0) might read easier for the idea of a thresholding nonlinearity but that's being nitpicky


"Cannot add this block" 0.21.1 -> 0.22

I get "Cannot add this block as it as already attached to another container (block.Parent != null)" after updating from 0.21.1 to 0.22 (nothing else changed)..
I'm a bit lost - any hints?

This seems to be happening in Microsoft.DocAsCode.MarkdigEngine.Extensions.MarkdownDocumentVisitor:
Markdig.Helpers.ThrowHelper.ArgumentException(String message)
Markdig.Syntax.ContainerBlock.set_Item(Int32 index, Block value)
Microsoft.DocAsCode.MarkdigEngine.Extensions.MarkdownDocumentVisitor.RewriteContainerBlock(ContainerBlock blocks)
Microsoft.DocAsCode.MarkdigEngine.Extensions.MarkdownDocumentVisitor.Visit(MarkdownDocument document)
Markdig.Parsers.ProcessDocumentDelegate.Invoke(MarkdownDocument document)

You should report that on docfx repo then.

In Markdig 0.22 we can no longer reuse a same node in multiple places

ok, mark me - I'll dig into it later :) closing this

I misread this - this is merged into the v3 branch - not current release.. FYI if someone else gets here: https://github.com/dotnet/docfx/pull/6616

a newbie question on this then. If I want to just take some blocks from one document and copy them to another document, how is that possible? Do I have to artificially remove them from the original?


avm install doesn't work

avm install 0.26.0

cargo install --git https://github.com/project-serum/anchor avm --locked --force

It looks like you're on an older version of Rust. clap 4.0.0+ needs Rust 1.60 and above. You can check the version by running rustc --version.
If it is old, you can do a rustup update (and something like rustup default stable) to get on the latest version.

Ah sorry for this but it does look like the solution is to just update your rust to at least 1.60. Avm should work ok then


Hero

Desktop

Mobile

Variation 1 (https://www.audi.co.uk/uk/web/en/used-cars/used-electric-and-hybrid.html)

Variation 2 (https://www.audi.co.uk/uk/web/en/used-cars/used-electric-and-hybrid.html)

Hero (default)
Variation 1: Hero image with center text and no bg color for the text
Variation 2: Hero image with aligned text with a white bg color just for the text


Make sure all fonts are fully loaded.

I updated 6x6 font but need to verify that all the borders are correct.

Finished.


How writing extension in C to mruby

Hello,
Where is example,tutorial ,web page to show how writing extension in C
I know what embeding C code to mruby, but exist normal interpreter 'mruby'
How using it?
how runing
$mruby file.mrb
10
$cat file.mrb
requite 'myextension'
puts myfunction(1)
in C
static mrb_value fun(mrb_state* mrb, mrb_value obj)
{
mrb_int a;
mrb_get_args(mrb, "i", &a);
a=a10;
return a; / return a 'a' variable */
}

The documentation for C API is not done yet.  Check doc/guides/mrbgems.md file and example/mrbgems directory.

Is a trouble with mrb_get_args()
What I can chech how many variables is running in function?
my(1) or my(1,2,3,4).
how check what is a kind of value?

If you want 4 mandatory arguments, call mrb_get_args(mrb, "iiii", &i1, &i2, &i3, &i4).  For more information, check out comments in class.c (search for mrb_get_args()).

I would like to respond to any number of arguments. 2 if the program will work, but at 4 arguments it will work to.

How determining counts of arguments?
How writing this function
def fajne(tytul,*argumenta)
puts "[#{tytul}]"
return argumenta.join("/")
end
#How determine count and type
fajne("a",1,7,2.0)

Why don't you write code in Ruby? It's much easier.
I think you will understand how to count argument numbers after reading mrb_get_args() comments.
Checking some functions in array.c and string.c would help too.

I cant write C extension in mruby !
Can You write me simple example/answer.
How determining number of *arg , default value etc. this is not easy.
Please dont close this issue


Change default_client_allowed_ips type to string

Closes #1374

Pull Request Test Coverage Report for Build 01284cba00eefd6f69d24cf9e28532baf0a9cfc6-PR-1387

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.358%

Totals

Change from base Build 9801617ef5387b76e40345e7313a7167349cc81f:
0.0%

Covered Lines:
1426

Relevant Lines:
2056

💛  - Coveralls


parse header names and only parse measured columns

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 15 (6.67%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 83.131%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pygef/tests/xml/test_cpt.py
0
1
0.0%

pygef/broxml/parse_cpt.py
0
13
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
1163

Relevant Lines:
1399

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 15 (6.67%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 83.131%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pygef/tests/xml/test_cpt.py
0
1
0.0%

pygef/broxml/parse_cpt.py
0
13
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
1163

Relevant Lines:
1399

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 15 (6.67%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 83.131%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pygef/tests/xml/test_cpt.py
0
1
0.0%

pygef/broxml/parse_cpt.py
0
13
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
1163

Relevant Lines:
1399

💛  - Coveralls


Update howto-authentication-methods-usage-insights.md

CSS wiki implies AAD Premium license is required. In test tenant, I confirmed that I cannot see actual usages information without AAD Premium licenses in the tenant.
https://supportability.visualstudio.com/AzureAD/_wiki/wikis/AzureAD/214228/Data-Insights-for-Self-Service-Password-Reset-(SSPR)-Multi-Factor-Authentication-(MFA)?anchor=roles-and-licensing

If you do not have the appropriate licensing, users will not be able to reset their passwords and you will not see password reset data in the reports.

@MS-ToruMiura : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Tracking issues: add the support of all missing comands in the stream type

Search before asking

[X] I had searched in the issues and found no similar issues.

Motivation
This issue considers to implement all missing commands like redis stream.
Already implemented commands:
XADD, XDEL, XLEN, XINFO STREAM, XRANGE, XREVRANGE, XREAD, XTRIM, XSETID
redis 5.0.0
consumer group:
XACK, XCLAIM, XGROUP CREATE, XGROUP DELCONSUMER, XGROUP DESTROY, XGROUP SETID, XPENDING, XREADGROUP
info:
XINFO CONSUMERS, XINFO GROUPS
redis 6.2.0
XAUTOCLAIM, XGROUP CREATECONSUMER
We can implement these commands through 3 stages:
1.Implement create, delete and simple comsume operations: XGROUP CREATE, XGROUP DESTROY, XREADGROUP
2.Implement critical operations: XACK, XPENDING, XCLAIM, XINFO CONSUMERS, XINFO GROUPS
3.Implement other operations: XGROUP CREATECONSUMER, XGROUP DELCONSUMER, XAUTOCLAIM, XGROUP SETID
Solution
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Hi @Yangsx-1, thanks for creating the tracking issue.
It would be nice if you create an issue per every command and make a list of these issues in this issue.

Is there anything we should pay special attantion to? @git-hulk @PragmaTwice @mapleFU @torwig

Hi @Yangsx-1, thanks for creating the tracking issue.
It would be nice if you create an issue per every command and make a list of these issues in this issue.

OK! I'll create some issues for commands in stage1.  :)

Oh, but if you think that, like, there are a group of commands whose implementation code is closely connected and is not possible to assign each part to different people for implementation.
In that case, you can simply raise one issue.

Oh, but if you think that, like, there are a group of commands whose implementation code is closely connected and is not possible to assign each part to different people for implementation, in that case, you can simply open one issue for the group of commands.

That would be nice.

@Yangsx-1 Hello, are you planning to implement these commands on your own? I am a beginner, but I am very interested in this. I'm wondering if I can participate. Thank you!

@Yangsx-1 Hello, are you planning to implement these commands on your own? I am a beginner, but I am very interested in this. I'm wondering if I can participate. Thank you!

Thank you for your interest! I'm now doing issue #1586 . You can leave a comment in issue #1588 if you want to participate.
#1586 is a prerequisite for #1588 . You can research it first and implement it after i finish #1586 .
Good luck. :)

@Yangsx-1 Hello, are you planning to implement these commands on your own? I am a beginner, but I am very interested in this. I'm wondering if I can participate. Thank you!

Thank you for your interest! I'm now doing issue #1586 . You can leave a comment in issue #1588 if you want to participate. #1586 is a prerequisite for #1588 . You can research it first and implement it after i finish #1586 . Good luck. :)

Nice! Thank you so much!

Hi @Yangsx-1 , these issues seem interesting, Can I pick up any issue that you need a hand on / are independent of other issues?

Hi @Yangsx-1 , these issues seem interesting, Can I pick up any issue that you need a hand on / are independent of other issues?

You can pick any issue you like, and refer to #1654 for design. @uds5501


Update columnstore-indexes-overview.md

it seems it's possibile to use anchor links , as far i understood i need to add the anchor in the .md file.
i hope it is ok.
i added the 2 anchors referring the 2 cases mentioned , one for create clustered index (with drop existing on) and the other for dropping the CCI converting the table back to an heap.

@baleng : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@baleng : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@baleng : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@baleng thank you for your submission - I updated the label on the links. Good suggestions. I appreciate it. #sign-off


Remove pinned SHA for btfhub archive

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
The repo will get force-pushes for their updates so we have to remove
the pin. This may lead into CI failures, means we do not verify on the
diff any more.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Codecov Report

Merging #798 (64fba79) into main (521e80f) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #798      +/-   ##
==========================================
- Coverage   53.52%   53.47%   -0.06%
==========================================
  Files          42       42
  Lines        4174     4178       +4
==========================================
  Hits         2234     2234
- Misses       1873     1877       +4
  Partials       67       67

/retest

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e

/retest

/retest


Alias for table function in FROM clause is wrongly handled

Describe the bug
It's changed from func_name.func_name to alias.alias
xxchan@/tmp:postgres>  select * from generate_series(1,2);
+-----------------+
| generate_series |
|-----------------|
| 1               |
| 2               |
+-----------------+
SELECT 2
Time: 0.007s
xxchan@/tmp:postgres>  select * from generate_series(1,2) a;
+---+
| a |
|---|
| 1 |
| 2 |
+---+
SELECT 2

In RisingWave, it's changed to alias.func_name
dev=> select a.range from range(1,2) as a;
 range
-------
     1
(1 row)

https://github.com/risingwavelabs/risingwave/issues/10134#issuecomment-1584447777
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

https://github.com/risingwavelabs/risingwave/issues/8829#issuecomment-1519363639


Provide an option to configure FPS

I noticed that from 0.3 to 0.5, the FPS got raised to 60. This is way more than I need for my kind of videos and just slows down the render process needlessly. I can't find a place to configure the FPS. Can you please add an option to the renderVideo function?

this can be adjusted through your project.meta file. Have you already tried modifying this?

talked about it on Discord - setting fps in project.meta works, therefore closing this issue :)


Can I have your training data? Please

And please tell me what algorithem you used in this project? Come from which paper? This is very important to me, thank you!

And please tell me what algorithem you used in this project? Come from which paper? This is very important to me, thank you!


can't run in react native v.0.69 and react v.18.0.0

why i'm install in react native v.0.69 and react v.18.0.0 can't run ?
which threw an
exception: Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.

why i'm install in react native v.0.69 and react v.18.0.0 can't run ? which threw an exception: Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.

Try upgrading your project to React Native 0.71, this version has restored the deprecated feature ViewPropTypes therefore it'll work again.


SpannerScanner: allow databoost to be disabled

Given that the point of this connector was to take advantage of dataBoost, by default let's make databoost enabled in SpannerScanner and allow it to be disabled.
/cc @halio-g

Implemented in commit https://github.com/GoogleCloudDataproc/spark-spanner-connector/commit/b9473c47c7746543d0ee315afac30488191d1a3f


fix compilation without CK on Windows

The porting of Composable Kernels to Windows is pending. The PR fixes the compilation when MIOPEN_USE_COMPOSABLEKERNEL is OFF.

@CAHEK7 I turned off the changes from the PR, and it does compile without them. That is precisely what you said. I am closing the PR. It must have been early in the porting process that we hit the build brake because of CK, which propagated. Thanks!


Create google API service

haha thanks. after long time thinking what was it about I realised I posted an issue instead of creating an issue on my own repo. I guess I'm part of a history now. fixes #53


HDDS-4058. Wrong use of AtomicBoolean in HddsDatanodeService

What changes were proposed in this pull request?

AtomicBoolean isStopped should be final, not volatile, since the reference is not being changed
stop() should use atomic getAndSet() instead of get() followed by set()

https://issues.apache.org/jira/browse/HDDS-4058
How was this patch tested?
Not really tested, trivial code change.
CI passed:
https://github.com/adoroszlai/hadoop-ozone/runs/939478014

Thanks @arp7 for reviewing and committing it.


Use private static config

This allows using the SilverStripe config API... thoughts @frankmullenger ?

Probably more work needed here, just thought I'd start this as a place holder ;)

Replaced by #3


Menguchiud

For the Ymesei Ezekiel song "Tal Morael," there are the lines:  Le kau ke ngikel el kesebekuu / ke sekelekoll me ke uai sei / el morael e ke menguchiud er kau.  All of the songbooks I have spell the word "menguchiud," which I understand means to twist or, in this case, walk in a sinuous path (like an eel), swinging your hips back and forth.  Is this a different word than mengiud?

Mengiuid is to twist with fingers, like pinch and twist. Like getting
excessive water from laundry before you hang. Sorry my English kinda went
out the door right now. 😁 per se ‘cheliuid’ is tobacco leaves treated and
twisted into a bundle called ‘cheliuid’. Hope it makes sense…
On Tue, Apr 2, 2024 at 14:34 JimGeselbracht @.***>
wrote:

For the Ymesei Ezekiel song "Tal Morael," there are the lines: Le kau ke
ngikel el kesebekuu / ke sekelekoll me ke uai sei / el morael e ke
menguchiud er kau. All of the songbooks I have spell the word "menguchiud,"
which I understand means to twist or, in this case, walk in a sinuous path
(like an eel), swinging your hips back and forth. Is this a different word
than mengiud?
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/490, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF2DJJBZAAGG4L67PHZ2RUDY3MQABAVCNFSM6AAAAABFUEPXJWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDCNBZG4ZDAOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Notification calculation migrate to extension-side

There are client and extension sides to an extension.  We need to migrate logic for triggering notifications to the extension-side so they can run without being inside the application UI.

How is this going?


Bring Go/Alpine current in Dockerfile

https://github.com/lrills/helm-unittest/pull/84

@lrills please review


UG tableofcontents

Added a table of contents.
Please note the table of contents has some sections rearranged, to better suit CS2101 format & requirements. Sections still needing to be done are:

Product Overview
Getting to know TeachStack/UI
All additional features that have been added

Request everyone complete and move their sections to the correct location.

LGTM!

LGTM 👍

Please note the table of contents has some sections rearranged, to better suit CS2101 format & requirements. Sections still needing to be done are:

Product Overview
Getting to know TeachStack/UI
All additional features that have been added

Request everyone complete and move their sections to the correct location.

Noted, will work on this


Fix usage of constant in xml namespace uri definitions

Purpose
Fixes #35277
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Better if we can add a bala test for negative scenario as well.
module/Foo
public const k = "";

module/Bar
xmlns Foo:k as ns0;

public function main() {
    string s = ns0:foo;
}


Added sort to Meeting Format checkboxes on Formats page by format cod…

…e #64

cool yea that made more sense


Reinstate strict warnings-as-errors for sphinx

#545 removes the -W because sphinx has become stricter and we don't have time to tackle this today.

Nevermind, forgot that I already addressed this by pinning sphinx to an old version in our test requirements. See #517. The -W option stays.


Add port to change_url

Problem

Port variable is needed for change_url to work

Solution

Use ynh_app_setting_get to get the port variable, used in the nginx config.

PR Status

[X] Code finished and ready to be reviewed/tested

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme

!testme

!testme

!testme

!testme

!testme


xGov -150 - Cross-Chain community promotion and collaberation

Thank you for considering this proposal for cross-chain activities to boost the algorand eccosystem.

Proposer, please post your algorand forum discussion thread link here. Thank you.

Proposer, please post your algorand forum discussion thread link here. Thank you.

https://forum.algorand.org/t/xgov-proposal-150-cross-chain-community-promotion-and-collaberation/11098/16

A link to our forum post.
https://forum.algorand.org/t/xgov-proposal-150-cross-chain-community-promotion-and-collaberation/11098/16


Why doesn't the octoblox provider support NS record types?

I have been looking at using this provider to automate DNS changes into a test Infoblox instance that I have, and in doing so I've discovered that it doesn't support NS record types.
I was wondering if you could clarify why this is?
I do know that Infoblox treats NS record types differently from most of the other DNS server products out there.  It's API essentially makes you create a delegation object where you have to provide the NS record along with the corresponding A records that are the authoritative name servers for the delegation.
Kind of like this:
{
  "fqdn": "test.example.com",
  "delegate_to": [
    { "name": "ns1.test.example.com", "address": "<IP_ADDRESS>" },
    { "name": "ns2.test.example.com", "address": "<IP_ADDRESS>" }
  ]
}

From what I can tell most of the other DNS server products out there, just treat each record type individually, and so they don't enforce associations between individual record types. It looks like OctoDNS was built around this understanding and is why it also treats each record/record type individually and is why you can define a delegation within an octoDNS zone yaml config file like this:
config\example.com.yaml
test:
  ttl: 300
  type: NS
  values:
  - ns1.test.example.com.
  - ns2.test.example.com.
myhost1:
  ttl: 300
  type: A
  value: <IP_ADDRESS>
ns1.test:
  ttl: 300
  type: A
  value: <IP_ADDRESS>
myhost2:
  ttl: 300
  type: A
  value: <IP_ADDRESS>
ns2.test:
  ttl: 300
  type: A
  value: <IP_ADDRESS>

Notice how in the octoDNS yaml above, I've defined the myhost1 and the myhost2 A records inbetween the NS record and the two A record entries for the ns1.test and ns2.test name servers. OctoDNS doesn't care that the NS record is in one location within the yaml file and the A records for ns1.test and ns2.test are scattered elsewhere throughout the yaml.  Again, this is because octocDNS is expecting the target DNS service to treat all records seperately.
Given the above, is the reason why the octoblox provider doesn't support NS record types, because Infoblox forces you to assoociate NS records with A records and that this is fundametally incompatible with the way OctoDNS works?
Any insight you could provide on this would be very much apprreciated.

Why your NS and glue Records do not work is usually specific to the configuration of your InfoBlox instance.
The expected behaviour is to not specify NS records but to reference an NS group to allow administration tasks to be separate from record management.
OctoBlox did not support the creation of zone_delegated object types however there is now a pre-release version that makes this configurable.
Here is an example of how to use this feature:
pip install --pre octoblox
# -or-
pip install octoblox==0.5.0rc1

config.yaml
providers:
  config:
    class: octodns.provider.yaml.YamlProvider
    directory: ./config
    default_ttl: 3600
    enforce_order: True
  infoblox:
    class: octoblox.InfoBloxProvider
    endpoint: infoblox.example.com
    username: admin
    password: env/INFOBLOX_PASSWORD
    create_zones: true
    new_zone_fields:
      grid_primary:
        - name: infoblox.example.com
      ns_group: default
      restart_if_needed: true
      soa_default_ttl: 3600
      view: default
      use_grid_zone_timer: true
  infoblox_delegated:
    class: octoblox.InfoBloxProvider
    endpoint: infoblox.example.com
    username: admin
    password: env/INFOBLOX_PASSWORD
    create_zones: true
    zone_type: zone_delegated
    new_zone_fields:
      delegated_to:
        - name: ns1.test.example.com
          address: <IP_ADDRESS>
        - name: ns2.test.example.com
          address: <IP_ADDRESS>
      restart_if_needed: true

zones:
  example.com.:
    sources:
      - config
    targets:
      - infoblox
  test.example.com.:
    sources:
      - config
    targets:
      - infoblox_delegated

config/example.com.yaml
myhost1:
  ttl: 300
  type: A
  value: <IP_ADDRESS>
myhost2:
  ttl: 300
  type: A
  value: <IP_ADDRESS>

config/test.example.com.yaml
{}

There has been a subsequent update to handle the issues raised in #2 that changes how delegated zones are configured. Check https://github.com/asyncon/octoblox/issues/2#issuecomment-1165529272 for an example.

Version 0.5.0 will be released and this issue closed at the end of next week unless anymore issues are reported.


Adding GHES support

Overview
This pull request adds several enhancements for expanded use cases:

GHES support
For GitHub customers needing to export and import teams across or outside of GHES environments, this pull request includes additional environment variables for overriding the URLs used for REST and GraphQL APIs.

Configurable .env support
For GitHub customers needing to export and import teams across enterprise boundaries, it is necessary to work with wholly different API end points, organizations, and tokens.  This pull request expands the script with minimal option parsing to allow overriding of the default .env file for configuration information needed.

Captures setup note around logs directory

Fixes minor issue with progress output around log filenames

Testing performed

Created team-transfer-target GHES organization

Setup .env for exporting teams from tinyfists GHEC organization
andyfeller/team-transfer ‹ghes-support*›$ cat .env
GH_ORG=tinyfists
GH_TARGET_ORG=
GH_TOKEN=ghx_xxxxxxxxxxxxxx
ADMIN_TO_DELETE=

Export teams from tinyfists GHEC organization

andyfeller/team-transfer ‹ghes-support*›$ ruby get_teams.rb
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Fetching team hierarchy... ⚽
Writing team hierarchy to file... 📝
Writing logs to logs/get_teams_log_2023-06-16-15-01-02.txt... 📝

andyfeller/team-transfer ‹ghes-support*›$ cat logs/get_teams_log_2023-06-16-15-01-02.txt
- Initial team members count in tinyfists: 15
- Successfully parsed 15 teams within tinyfists
------

andyfeller/team-transfer ‹ghes-support*›$ cat teams.yml
---
- :team_name: admin
  :team_id: 6450759
  :parent:
  :members:
  - polivebranch
  :maintainers:
  - andyfeller
  :children: []
- :team_name: away
  :team_id: 5177363
  :parent:
  :members:
  - evgenyrahman
  - apdarr
  :maintainers:
  - andyfeller
  :children:
  - :team_name: mostly-away
    :team_id: 5836500
    :parent: away
    :members:
    - apdarr
    :maintainers: []
    :children: []
  - :team_name: partly-away
    :team_id: 5836498
    :parent: away
    :members:
    - evgenyrahman
    :maintainers: []
    :children: []
- :team_name: lgtm
  :team_id: 5814790
  :parent:
  :members:
  - bval
  - evgenyrahman
  - jefeish
  - garnertb
  - apdarr
  - BrytBoy
  - kevfoste
  - vila89
  - decyjphr
  - enyil
  - polivebranch
  - katiem0
  :maintainers:
  - andyfeller
  :children:
  - :team_name: lgtm-reviewers
    :team_id: 6111085
    :parent: lgtm
    :members:
    - evgenyrahman
    :maintainers:
    - andyfeller
    :children: []
- :team_name: lgtm-sensitive
  :team_id: 6123331
  :parent:
  :members: []
  :maintainers:
  - andyfeller
  :children:
  - :team_name: lgtm-sensitive-reviewers
    :team_id: 6123335
    :parent: lgtm-sensitive
    :members: []
    :maintainers:
    - andyfeller
    :children: []
- :team_name: monks
  :team_id: 5199086
  :parent:
  :members: []
  :maintainers:
  - andyfeller
  :children: []
- :team_name: omni-reviewers
  :team_id: 5199367
  :parent:
  :members: []
  :maintainers:
  - andyfeller
  :children:
  - :team_name: reviewers
    :team_id: 5199369
    :parent: omni-reviewers
    :members:
    - evgenyrahman
    :maintainers:
    - andyfeller
    :children: []
- :team_name: ps-delivery-engineers
  :team_id: 5263239
  :parent:
  :members:
  - evgenyrahman
  - jefeish
  - apdarr
  - JaredEgolf
  - ssulei7
  - decyjphr
  - katiem0
  :maintainers:
  - andyfeller
  :children: []
- :team_name: pull-perms
  :team_id: 5836501
  :parent:
  :members:
  - apdarr
  :maintainers: []
  :children: []
- :team_name: readers
  :team_id: 5836499
  :parent:
  :members:
  - evgenyrahman
  :maintainers: []
  :children: []
- :team_name: under_scores
  :team_id: 6379627
  :parent:
  :members: []
  :maintainers:
  - andyfeller
  :children: []

Setup .env-gheboot for importing teams into team-transfer-target GHES organization
andyfeller/team-transfer ‹ghes-support*›$ cat .env-gheboot
GH_GRAPHQL_API=https://andyfeller-0785a2994314098ba.ghe-test.com/api/graphql
GH_REST_API=https://andyfeller-0785a2994314098ba.ghe-test.com/api/v3
GH_ORG=team-transfer-target
GH_TARGET_ORG=team-transfer-target
GH_TOKEN=ghx_xxxxxxxxxxxxxx
ADMIN_TO_DELETE=

Import teams into team-transfer-target GHES organization

andyfeller/team-transfer ‹ghes-support*›$ ruby create_teams.rb -e .env-gheboot
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Creating teams in team-transfer-target... 🏗
Writing logs to logs/create_teams_log_2023-06-16-15-02-04.txt... 📝

andyfeller/team-transfer ‹ghes-support*›$ cat logs/create_teams_log_2023-06-16-15-02-04.txt
- Created 15 teams in team-transfer-target

Delete teams.yml from previous export prior to exporting teams from team-transfer-target GHES organization
andyfeller/team-transfer ‹ghes-support*›$ rm teams.yml

Export teams from team-transfer-target GHES organization
andyfeller/team-transfer ‹ghes-support*›$ ruby get_teams.rb -e .env-gheboot
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Fetching team hierarchy... ⚽
Writing team hierarchy to file... 📝
Writing logs to logs/get_teams_log_2023-06-16-15-13-09.txt... 📝

andyfeller/team-transfer ‹ghes-support*›$ cat logs/get_teams_log_2023-06-16-15-13-09.txt
- Initial team members count in team-transfer-target: 15
- Successfully parsed 15 teams within team-transfer-target
------

andyfeller/team-transfer ‹ghes-support*›$ cat teams.yml
---
- :team_name: admin
  :team_id: 19
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children: []
- :team_name: away
  :team_id: 20
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children:
  - :team_name: mostly-away
    :team_id: 21
    :parent: away
    :members: []
    :maintainers:
    - ghe-admin
    :children: []
  - :team_name: partly-away
    :team_id: 22
    :parent: away
    :members: []
    :maintainers:
    - ghe-admin
    :children: []
- :team_name: lgtm
  :team_id: 23
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children:
  - :team_name: lgtm-reviewers
    :team_id: 24
    :parent: lgtm
    :members: []
    :maintainers:
    - ghe-admin
    :children: []
- :team_name: lgtm-sensitive
  :team_id: 25
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children:
  - :team_name: lgtm-sensitive-reviewers
    :team_id: 26
    :parent: lgtm-sensitive
    :members: []
    :maintainers:
    - ghe-admin
    :children: []
- :team_name: monks
  :team_id: 27
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children: []
- :team_name: omni-reviewers
  :team_id: 28
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children:
  - :team_name: reviewers
    :team_id: 29
    :parent: omni-reviewers
    :members: []
    :maintainers:
    - ghe-admin
    :children: []
- :team_name: ps-delivery-engineers
  :team_id: 30
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children: []
- :team_name: pull-perms
  :team_id: 31
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children: []
- :team_name: readers
  :team_id: 32
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children: []
- :team_name: under_scores
  :team_id: 33
  :parent:
  :members: []
  :maintainers:
  - ghe-admin
  :children: []

Setup .env-andyfeller-volcano for importing teams into andyfeller-volcano GHEC EMU organization

andyfeller/team-transfer ‹ghes-support*›$ cat .env-andyfeller-volcano
GH_ORG=andyfeller-volcano
GH_TARGET_ORG=andyfeller-volcano
GH_TOKEN=ghx_xxxxxxxx
ADMIN_TO_DELETE=

Import teams into andyfeller-volcano GHEC EMU organization

andyfeller/team-transfer ‹ghes-support*›$ ruby create_teams.rb -e .env-andyfeller-volcano
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Creating teams in andyfeller-volcano... 🏗
Writing logs to logs/create_teams_log_2023-06-16-15-21-05.txt... 📝

andyfeller/team-transfer ‹ghes-support*›$ cat logs/create_teams_log_2023-06-16-15-21-05.txt
- Created 15 teams in andyfeller-volcano

@apdarr : know this might have slipped by, just checking if any feedback

LGTM, thanks for the assistance here @andyfeller!


Email links followed by a hyphen are not detected

When there is a valid email address, such as<EMAIL_ADDRESS>if it is followed by a hyphen, linkify.test returns false:
console.log(linkify.test('name@example.com'));   // true
console.log(linkify.test('name@example.com,'));  // true
console.log(linkify.test('name@example.com-'));  // false

I would expect both to be true.
You can test this by adding these two lines to test/fixtures/lines.txt:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Please explain use case. Because looks like broken content. Linkifier is expected to be used with valid human-readable texts.

This came up in https://github.com/HabitRPG/habitica/issues/12437
Someone has a sentence with an email<EMAIL_ADDRESS>expects the address to have a link.

Looks like GitHub's link parser also has amusing behavior when hyphens are involved :laughing:

https://markdown-it.github.io/#md3={"source"%3A"address--name%40example.com--and\n\naddress---name%40example.com---and\n\naddress--http%3A%2F%2Fexample.com--and\n\naddress---http%3A%2F%2Fexample.com---and"%2C"defaults"%3A{"html"%3Afalse%2C"xhtmlOut"%3Afalse%2C"breaks"%3Afalse%2C"langPrefix"%3A"language-"%2C"linkify"%3Atrue%2C"typographer"%3Atrue%2C"_highlight"%3Atrue%2C"_strict"%3Afalse%2C"_view"%3A"html"}}
Similar poblem exists for links. I see how heading for emails can be improved, but not sure about tail.

It's curious that it's just hyphens. To be honest, I have trouble parsing the regexes, so I can't be of much help. The simplest I idea I have is to strip trailing hyphens (which are not part of TLD/SLDs), if that's a feasible solution.


Update 2.6.11 with missing 2.6.x commits

In rancher/ui, these commits needs to get in:

4ea810eed68fcf053ddb8da3fc39322f5baefc2a
HARVESTER: Disable Harvester cloud provider option when the credential is external
PR: https://github.com/rancher/ui/pull/4881

52e0c850c800bc3115071520f9955cf029656259
Update default image for gke nodes
PR: https://github.com/rancher/ui/pull/4891

Let's check that they're in master and then the 2.6 branch. For reference, these went into 2.6.9-rc1 but not 2.6.9-rc2. This is similar to what happened with https://github.com/rancher/ui/pull/4890

We will need a new release candidate for 2.6.11 before we start testing.

tested on rancher v2.6.11-rc8:

deploy a new gke cluster

default image is now optimized for containerd -- pass

deploy rancher v2.6.8

create an external cloud credential for harvester
upgrade rancher to v2.6.11-rc8
ensure that the node driver for harvester is disabled after the upgrade -- pass


Jetson Triton v1 to v2 Tensorflow

Description
When moving from the v1 version of triton to v2, ssd_mobilenet_v1_coco is failing during model execution with error:
2020-07-21 21:25:33.666641: E tensorflow/core/common_runtime/executor.cc:648] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'explicit_paddings' not in Op<name=DepthwiseConv2dNative; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_HALF, DT_BFLOAT16, DT_FLOAT, DT_DOUBLE]; attr=strides:list(int); attr=padding:string,allowed=["SAME", "VALID"]; attr=data_format:string,default="NHWC",allowed=["NHWC", "NCHW"]; attr=dilations:list(int),default=[1, 1, 1, 1]>; NodeDef: {{node FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_1_depthwise/BatchNorm/batchnorm/mul_1}}. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
	 [[FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_1_depthwise/BatchNorm/batchnorm/mul_1]]

Triton Information
What version of Triton are you using?
Moved from release 1.12 to 2.0.0
Are you using the Triton container or did you build it yourself?
I built my own container using the triton tarball release for jetpack
To Reproduce
Steps to reproduce the behavior.
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Configuration:
name: "ssd_mobilenet_coco"
platform: "tensorflow_graphdef"
max_batch_size: 1
input [
  {
    name: "image_tensor"
    data_type: TYPE_UINT8
    format: FORMAT_NHWC
    dims: [ 300, 300, 3 ]
  }
]
output [
  {
    name: "detection_boxes"
    data_type: TYPE_FP32
    dims: [ 100, 4 ]
  },
  {
    name: "detection_scores"
    data_type: TYPE_FP32
    dims: [ 100 ]
  },
  {
    name: "num_detections"
    data_type: TYPE_FP32
    dims: [ 1 ]
    reshape: { shape: [ ] }
  },
  {
    name: "detection_classes"
    data_type: TYPE_FP32
    dims: [ 100 ]
  }
]

Expected behavior
Moving from v1 to v2 shouldn't affect the behavior of calls to tensorflow, as at least according to the release notes, both releases of jetpack triton support Tensorflow 1.15.2.

@jishminor which version of TF are you using? Is this error seen during the execution of the model it can likely be caused by different versions of TF being used to train and run the model.

I just pulled the pretrained model from the Tensorflow model zoo. Given this model worked with release 1.12, its my assumption that the tensorflow version the new triton for jetpack is built against may have had a version bump. Is this correct? I don’t have access to your jetpack build logic to verify this is the case.

The 2.0.0 release for Triton is indeed based on Tensorflow 1.15.2 which is the same base version as the one used for the 1.12.0 release. Could you try running the model using Tensorflow 1.15.2 directly? Specifically with the version from this container:
docker pull nvcr.io/nvidia/tensorflow:20.06-tf1-py3
It is possible there were certain patches made between 20.03 and 20.06 that caused the tensorflow version used in 20.06-tf1 to be unable to load the model. If this is the case it would definitely be a bug.

After a bit of playing around I opened this issue in error. I was using an optimized version of the model which differed from the model I was using in my v1 triton image. No bug.


Allow user to choose different presentations for facet controls

The code currently seems to largely map ermrest column types to presentation methods. However, some of the presentation models are equally valid for some types depending on use-case.

Conceptually, a slider can work for any ordered type including numbers, times, dates, datetimes, and even strings since they have lexicographic ordering.
A text-entry box can be useful for pretty much any type.
The pick-list is also valid for any small set of values.

In addition to the heuristic pick-list presentation, it would be helpful to allow a user to toggle different presentations at runtime or even save personal preference settings of some kind.

I would also like to see boolean support in the form of Yes/No radio buttons.  This should be the default for boolean types in the discovered schema, and perhaps a configurable automatic option via annotation for integer types that range between 0 and 1 only.

(Sorry, made a mistake in a commit message that references this issue number. Please ignore the reference from me.)

moved to wishlist


Building without nix

Hi,
Is there a way to build it without nix ? I can't change the default fallbackshell and so it fails to build
thanks

Oh, I should probably add a note in the readme. Will do when I get on my laptop, but here's the command you need: zig build --release=safe --cpu=baseline -Dfallback_shell=<path>

thanks !

For you information
zig build --release=safe --cpu=baseline -Dfallback_shell=/bin/bash
unrecognized argument: '--cpu=baseline'

without cpu=baseline, it builds !

Oh, it seems to be -Dcpu=baseline. Added that to the readme, this makes the issue resolved

thanks again


PppoS(Sim800L): Cannot Connnect with MQTT  (IDFGH-2164)

Environment

Development Kit:      ESP32-DevKitC

Kit version: DevKitC: v4

Module or chip used:  ESP32-WROOM-32D

IDF version (run git describe --tags to find it): v4.1-dev-369

Build System: Make

Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp32-2019r1) 8.2.0

Operating System:     Linux

Power Supply:      external 5V

Problem Description
I have recently bought a sim800L module and i am not able to connect to the broker of the example: PppoS of esp-idf. The module is working correctly since i get an IP address and all the info, such as: IMSI, battery state... and i can see that i am connected by GPRS.
The problem comes when i initialize the MQTT client. Every time i try to connect to the broker i get the message: "MQTT client: Error Transport connect" and right after, i get the event "ERROR" followed by "DISCONNECTED".
The Url of the broker is the same as in the example so, i assume, thats not the problem. i wonder if my data plan company is stopping my connection. I am from Spain and my company is Movistar.es
And another doubt: really often it resets due to timeout even if the module is in stably mode.
Does it work better with the other module of the example: BG96
Thanks in advance!!
Expected Behavior
Connect to broker, subscribe to any topic and then publish
Actual Behavior
Doesnt connect to the broker
Steps to repropduce

Connect pins of the module:
5V --> External 5V battery with enough output current
GND -> GND
Sim_TX -> Default Example(26)
Sim_RX-> Default Example(25)
Reset -> pin number 4 of esp32 and high (otherwise resets constantly)

Make flash monitor example

Code to reproduce this issue
The code is the same as in the example
Debug Logs
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_netif_output[1]: proto=0x21, len = 44
pppos_netif_output[1]: proto=0x21, len = 44
pppos_input[1]: got 98 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_netif_output[1]: proto=0x21, len = 44
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 44
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_netif_output[1]: proto=0x21, len = 44
E (124780) MQTT_CLIENT: Error transport connect
I (124780) pppos_example: MQTT_EVENT_ERROR
I (124780) pppos_example: MQTT_EVENT_DISCONNECTED
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_input[1]: got 50 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_input[1]: got 50 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
I (139780) pppos_example: MQTT other event id: 7
pppos_netif_output[1]: proto=0x21, len = 44
pppos_netif_output[1]: proto=0x21, len = 44
pppos_netif_output[1]: proto=0x21, len = 44
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_netif_output[1]: proto=0x21, len = 44
pppos_netif_output[1]: proto=0x21, len = 44
pppos_input[1]: got 49 bytes
ppp_input[1]: ip in pbuf len=44
pppos_netif_output[1]: proto=0x21, len = 40
pppos_netif_output[1]: proto=0x21, len = 44
pppos_netif_output[1]: proto=0x21, len = 44
E (158280) MQTT_CLIENT: Error transport connect
I (158280) pppos_example: MQTT_EVENT_ERROR
I (158280) pppos_example: MQTT_EVENT_DISCONNECTED
----------------------------Reset issue------------------------------------
I (451) spi_flash: detected chip: generic
I (452) spi_flash: flash io: dio
I (452) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (460) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (470) uart: queue free spaces: 30
E (970) esp-modem: esp_modem_dte_send_cmd(215): process command timeout
E (970) dce_service: esp_modem_dce_sync(48): send command failed
E (970) sim800: sim800_init(460): sync failed
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x400d460c  PS      : 0x00060130  A0      : 0x800d26a9  A1      : 0x3ffb6200
0x400d460c: app_main at /home/juan-platero/esp/esp-idf/examples/protocols/pppos_client/main/pppos_client_main.c:285
A2      : 0x00000000  A3      : 0x3ffb2ea8  A4      : 0x3ffb97bc  A5      : 0x00000000
A6      : 0x00060021  A7      : 0x00060023  A8      : 0x800d460a  A9      : 0x3ffb61d0
A10     : 0x00000000  A11     : 0x3ffbb1d4  A12     : 0x400d5920  A13     : 0x3ffb6240
0x400d5920: sim800_deinit at /home/juan-platero/esp/esp-idf/examples/protocols/pppos_client/components/modem/src/sim800.c:428
A14     : 0x00000000  A15     : 0x0001c200  SAR     : 0x00000004  EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000007c  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffc
ELF file SHA256: 708a5ad985c93136b3d03532c5b62401be8ab83d9eb67ff9d1c25e850e4aa394
Backtrace: 0x400d4609:0x3ffb6200 0x400d26a6:0x3ffb62e0 0x40088a05:0x3ffb6300
0x400d4609: app_main at /home/juan-platero/esp/esp-idf/examples/protocols/pppos_client/main/pppos_client_main.c:279
0x400d26a6: main_task at /home/juan-platero/esp/esp-idf/components/esp32/cpu_start.c:569
0x40088a05: vPortTaskWrapper at /home/juan-platero/esp/esp-idf/components/freertos/port.c:143

Hi @MrCurio
The first issue is very unlikely the esp-modem problem if you are correctly getting the IP address. An easy way to check is to try to access some page with the SIM card and then update the pppos-client example to use e.g. esp_http_client to get to the same page.
As for the other one (reset issue), could you please try to increase this timeout value and test again?

I have found what the problem was. Due to current power to my module, the synchronization between the esp32 and the module was not as good as it should be. Thats why sometimes i got the ip and suddenly i couldnt connect!
Anyway, thanks for your reply @david-cermak !
I will close the issue! Bye!

Hii, @david-cermak ,in my module also i get same issue,first i got ip but after that ,below error get and MQTT DISCONNECT.
I (78097) esp-netif_lwip-ppp: Connection lost
I (78097) pppos_example: Modem Disconnect from PPP Server
E (158427) TRANS_TCP: [sock=54] connect() error: Host is unreachable
E (158427) MQTT_CLIENT: Error transport connect
E (351247) MQTT_CLIENT: esp_mqtt_connect: mqtt_message_receive() returned 0
E (351247) MQTT_CLIENT: MQTT connect failed.
I continue publish data using MQTT but after some time Connection lost and disconnect from PPP ...please let me know how can i resolve this issue,
i used counter at MQTT DISCONNECT event and if 3 times get MQTT DISCONNECT so i called pppos_stop() and pppos_start() API,i try to reconnect but some times its work some time not work,
please let me know in between my pppos disconnect,what is a reason behind this issue.
thanks in advance!

Hi @PIYUSHGIRI2021
I'm afraid we cannot help if it's a traditional connection lost kind of error. I'd suggest switching back to command mode and checking the signal strength if you cannot connect.

Hi @david-cermak
my APN is CMNET ,main issue are PPPOS is not continuously connect it will lost Connection after sometime, so how to handle this issue,if mqtt through continue(using while loop) i publish data and sim remove or so network not come or any other setuation ip lost so how can i resonnect..
right now i used this API for reconnect if 4 time get mqtt disconnect or PPPOs connection lost
void reconnect_fun(void)
{
//esp_mqtt_client_destroy(mqtt_client);
esp_modem_stop_ppp(dte);
esp_modem_start_ppp(dte);
/* attach the modem to the network interface */
esp_netif_attach(esp_netif, modem_netif_adapter);
}
please let me know how can i handle when at starting publish data properly after sometime (in-between)not publish, this condition happen due to IP lost or any pppos connection lost.it is not reconnect automatically..so how can i resolve this issue.
thanxs.

There is RESET pin on SIM800L. Worth to use it (pull down for 1-2s).
I am currently working with this module and it is running when no wifi connection, so maybe not the same use case as yours, but i have reliable mechanism, i think.
void connectLTEmodem()
{
    if(dte) return;

    dte = esp_modem_dte_init(&config);
    /* Register event handler */
    ESP_ERROR_CHECK(esp_modem_set_event_handler(dte, modem_event_handler, ESP_EVENT_ANY_ID, NULL));

    // Init netif object
    esp_netif_config_t cfg = ESP_NETIF_DEFAULT_PPP();
    esp_netif = esp_netif_new(&cfg);
    assert(esp_netif);

    modem_netif_adapter = esp_modem_netif_setup(dte);
    esp_modem_netif_set_default_handlers(modem_netif_adapter, esp_netif);

    digitalWrite(MODEM_RESET_PIN, 0);
    delay(2000);
    digitalWrite(MODEM_RESET_PIN, 1);

    while (!dce)
    {
        /* create dce object */
#if CONFIG_EXAMPLE_MODEM_DEVICE_SIM800
        dce = sim800_init(dte);
#elif CONFIG_EXAMPLE_MODEM_DEVICE_BG96
        dce = bg96_init(dte);
#elif CONFIG_EXAMPLE_MODEM_DEVICE_SIM7600
        dce = sim7600_init(dte);
#else
#error "Unsupported DCE"
#endif
    }

    assert(dce != NULL);
    ESP_ERROR_CHECK(dce->set_flow_ctrl(dce, MODEM_FLOW_CONTROL_NONE));
    ESP_ERROR_CHECK(dce->store_profile(dce));
    while (!dce->oper || strlen(dce->oper) < 2)
    {
        delay(1000);
        if(dce && !dce->oper < 2) esp_modem_dce_get_operator_name(dce);
        else ESP_LOGW(TAG, "Operator name: %s", dce?dce->oper:"");
    }

    /* Print Module ID, Operator, IMEI, IMSI */
    ESP_LOGW(TAG, "Module: %s", dce->name);
    ESP_LOGW(TAG, "Operator: %s", dce->oper);
    ESP_LOGW(TAG, "IMEI: %s", dce->imei);
    ESP_LOGW(TAG, "IMSI: %s", dce->imsi);
    /* Get signal quality */
    uint32_t rssi = 0, ber = 0;
    ESP_ERROR_CHECK(dce->get_signal_quality(dce, &rssi, &ber));
    ESP_LOGI(TAG, "rssi: %d, ber: %d", rssi, ber);
    /* Get battery voltage */
    uint32_t voltage = 0, bcs = 0, bcl = 0;
    ESP_ERROR_CHECK(dce->get_battery_status(dce, &bcs, &bcl, &voltage));
    ESP_LOGI(TAG, "Battery voltage: %d mV", voltage);
    /* setup PPPoS network parameters */
#if !defined(CONFIG_EXAMPLE_MODEM_PPP_AUTH_NONE) && (defined(CONFIG_LWIP_PPP_PAP_SUPPORT) || defined(CONFIG_LWIP_PPP_CHAP_SUPPORT))
    esp_netif_ppp_set_auth(esp_netif, auth_type, CONFIG_EXAMPLE_MODEM_PPP_AUTH_USERNAME, CONFIG_EXAMPLE_MODEM_PPP_AUTH_PASSWORD);
#endif
    /* attach the modem to the network interface */
    esp_netif_attach(esp_netif, modem_netif_adapter);
    /* Wait for IP address */
    xEventGroupWaitBits(event_group, CONNECT_BIT, pdTRUE, pdTRUE, portMAX_DELAY);

    LTE_CONNECTED = true;
}

// --------------------------------- > DEINIT PPPOS <------------------------------- //
void disconnectLTEmodem()
{
    if(!dte) return;

    // /* Exit PPP mode */
    ESP_ERROR_CHECK(esp_modem_stop_ppp(dte));

    // /* Power down module */
    ESP_ERROR_CHECK(dce->power_down(dce));
    ESP_LOGI(TAG, "Power down");
    ESP_ERROR_CHECK(dce->deinit(dce));

    /* Unregister events, destroy the netif adapter and destroy its esp-netif instance */
    esp_modem_netif_clear_default_handlers(modem_netif_adapter);
    esp_modem_netif_teardown(modem_netif_adapter);
    esp_netif_destroy(esp_netif);

    ESP_ERROR_CHECK(dte->deinit(dte));
    dte = NULL;
    dce = NULL;
    ESP_LOGW(TAG, "LTE modem and connection destroyed");
    LTE_CONNECTED = false;
}

Its basically copy/paste espressif example with few small changes.
It is not fully tested yet, and i dont know how it will behave when SIM800L lost signal and disconnect.

Hii @david-cermak & @MrCurio
Is there possible to work PPPOS and GPS both are work together?if yes than pls let me know which way we can do it.
Thanks

Hi @PIYUSHGIRI2021
Yes, it is possible. Assuming you mean sending and receiving AT+CGPSINFO-like commands and at the same time maintaining the network connection in PPP mode.
There are basically two options:

pausing and resuming PPP mode using +++ and ATO commands (I have some WIP commits when experimented with two-phase OTA -- paused the network while updating FW -- resumed for downloading the image. I can share it here if you like)
using CMUX mode with one virtual terminal designated to PPP mode (example here https://github.com/espressif/esp-protocols/tree/master/components/esp_modem/examples/simple_cmux_client)


Create footer in default page template as per wireframe

See https://xd.adobe.com/view/10a67d9b-1288-4542-943f-ad51c87e4a07-45f5/

Nominally done. Added custom settings for footer background colour and logo.
I've not lined the menu items up vertically yet, want to check that is definitely required before I change what the secondary menu does now.

Leave decision about the vertical stacking of menu items and/or separate navigation columns to phase 2.


On-chain node configuration

I'm not a solidity dev to judge this well.
But it feels very weird this generic bytes field, when what you have is polymorphism.
In a sane language, which I guess it not solidity, I'd expect a usage like:
IDataAvailability da = app.getDataAvailability();
if (da instanceof IEspressoDataAvailability) {
  IEspressoDataAvailability eda = (IEspressoDataAvailability) da;
  eda.getFromBlock();
  eda.getNamespaceId();
}

Yes, this solution could work, but then you would have to deploy this data availability contract for every application that uses Espresso. In reality, we don't need polymorphism. We only need algebraic data types, as in Haskell or Rust:
enum DataAvailabilityConfig {
  InputBox { inputBoxContract: Address },
  InputBoxAndEspresso { inputBoxContract: Address, fromBlock: Uint256, namespaceId: Uint32 },
}

The way we are encoding algebraic data types in Solidity is as ABI-encoded function calls.

The way we are encoding algebraic data types in Solidity is as ABI-encoded function calls.

You have to agree that is a very non-idiomatic way of expressing algebraic types. 😵💫

You have to agree that is a very non-idiomatic way of expressing algebraic types. 😵💫

Unfortunately, that is the best way I know of expressing algebraic types in Solidity.


No package for Ubuntu 19.04 (Disco)

Is your feature request related to a problem? Please describe.
Ubuntu is officially releasing version 19.04 (Disco Dingo) within a week.
There is currently no package available for this version in the Microsoft repository.
The old 18.10 package is still installed from before upgrading from 18.10 is still present and works. But all matters related to the Microsoft repository fails in 19.04 (install, update, upgrade, etc.).
Describe the solution you'd like
The installation instructions of Azure CLI on Debian/Ubuntu should work on Ubuntu 19.04.

Thanks for the reminder on this, @vidarw.

The only solution I found it to aggregate Bionic repo instead...

I have used the Cosmic repo and that works as well.  Would love a real fix though.  Pretty please?  :)

We've now published 2.0.63 to a repository made for Disco. Can @vidarw, @dalareo, or @ctktfg confirm that it's available now?

Worked for me in the sense that it installs.  However I now get this error:
/opt/az/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

I am able to perform the first couple of basic queries that I could think of without issue.  Should I put the error above in a separate issue?

Yes please! It doesn't look like the fix will be available for 2.0.64 which is getting cut from the dev branch later today, but I should be able to get that fixed by 2.0.65.

Closing this out as the original issues is fixed.


Passing parameter values from commit message

For a CI build pipeline that is triggered by code pushes, is there a way to read parameter values directly from the commit message ?

You have Build.SourceVersion variable that contains commit id. Having this id you can use git commands to read the message.

In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. Sorry for the delay/confusion.


docs-bug(form-field): Links to MatLegacyFormFieldControlHarness are broken

Documentation Feedback
Steps to reproduce

Visit https://material.angular.io/components/input/api#MatInputHarness
Click the "MatLegacyFormFieldControlHarness" link

Expectation
The link takes you to documentation explaining what "MatLegacyFormFieldControlHarness" is & does.
Actual
The link takes you to the site's home page: https://material.angular.io/.
Affected documentation page
https://material.angular.io/components/input/api#MatInputHarness

Closing since the legacy components were deleted.


Incorrect use of the IsWeaponOut condition

Security guards never comment on the player's unholstered weapon due to incorrect use of the IsWeaponOut condition.

Details
The function IsWeaponOut returns the following values:

0 - If the Actor does not have a weapon drawn.
1 - If the Actor has only his fists out.
2 - If the Actor has a weapon.

Security guards should comment on the player's unholstered weapon (e.g., "Want to put that weapon away? You're making me nervous."). However, in these dialogs, the game checks for IsWeaponOut=1, not for IsWeaponOut=2. Because of that, these lines never trigger.

Affected lines

0006175C
0006175D
0006175E
000447DA
000447DB
00217853
00219AF1
001569C9
0015DA46
0015DA47

How to fix

Quest \ 00061754  \ 00061757 \ 0006175C - "Gonna need you to holster that weapon."
Quest \ 00061754  \ 00061757 \ 0006175D - "Hey, no weapons. Put that away."
Quest \ 002BCA5E  \ 0015DA4D \ 001569C9 - "Whoa whoa. Any reason you can't holster that?"

Quest \ 00061754  \ 00061757 \ 0006175E - "Better not start any trouble."

This phrase can be said for both weapons AND fists.

 We just want to be friends."
Quest \ 0023FB04 <UC_TerrormorphSupportQuest> \ 0023FAF9 \ 000447DB - "You! Put it down! Put down the weapon or we shoot!"

Quest \ 0026D87F <MQ105_AlwaysOnDialogueNeon> \ 0026D87E \ 00217853 - "Hey, keep the weapon holstered, will you?"
Quest \ 002BCA5E  \ 0015DA4D \ 0015DA46 - "Want to put that weapon away? You're making me nervous."
Quest \ 002BCA5E  \ 0015DA4D \ 0015DA47 - "Want to put that weapon away, chief? You're making me nervous."

Quest \ 002A0E95 <UC05_EmbassySupportQuest> \ 001DC55F \ 00219AF1 - "Stash the weapon. You're in an embassy, for goodness' sake."

Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps

Unholster your weapon.
Try to talk to any common guard in New Atlantis (or other cities) as many times as you can.
Notice that guards never comment on your weapon.

An ESM file with a fix: https://drive.google.com/file/d/152_c0Hey8Zg4mZaL2EeChmiUHASw7qpT/view?usp=sharing


[BUG]: exception when field.value is a function

in Model.js line 207 we check if field.value exists then we pass to getValueVars where we use regex on the value
// line 222
v.replace(/\${(.*?)}/g, (match, varName)

when v is not a string but a function that fails
to fix that I changed line 207 to
if (field.value && typeof field.value !== 'function')

but I am not sure if that is the right way

Thanks. That will work. Our solution is pushed into getValueVars
    getValueVars(v) {
        let list = []
        if (Array.isArray(v)) {
            list = v
        } else if (typeof v != 'function') {
            v.replace(/\${(.*?)}/g, (match, varName) => {
                list.push(varName)
            })
        }
        return list
    }

We've added to the documentation the following caveat

A value function must not depend on the value of other value properties that may or many not have been computed when the function is called.

Fixed in 1.4.5


Deterministic geometric shaped avatars

@mradkov As i undestood it is already implemented, shall we close it?


improve api error ux

when making a request with a bad or invalid api key you get a very non-useful error message
DEVTO_API_KEY=badvalue devtogo -s posts
Error: error decoding response body: invalid type: map, expected a sequence at line 1 column 0

Caused by:
    invalid type: map, expected a sequence at line 1 column 0

lets fix that

Fixed in https://github.com/softprops/devtogo/pull/6


faster and cleaner teardown

Add more k8s helpers
Use k8s API for more things

Not opposed to this if it is much faster (and we've confirmed that speeding up helm is not possible), but as I mentioned in #527 I'm worried about leaving things in an inconsistent state between what helm thinks is deployed/not deployed vs what the cluster thinks. It also feels like a bit of a regression since one of the motivations of adding helm was to have less python code talking directly to the K8s API. This seems to be reverting back to our old approach.
Perhaps we look at tuning helm first and see if there's a way to make it faster?

Some faster/cleaner teardown is achieved as part of https://github.com/bitcoin-dev-project/warnet/pull/531/commits/fd8b8b8615768273e890e8c841f2d14b60e3f924
It can be extracted if necessary


No data fixer registered for nuclear_craft:anti_gravity_ammo

when i run nuclear_craft-1.16.4-0.6.4.jar on forge 35.1.37 i get this error No data fixer registered for nuclear_craft:anti_gravity_ammo

NuclearCraft != nuclear_craft
You want https://github.com/SongXia-NYU/nuclear_craft/issues

NuclearCraft != nuclear_craft
You want https://github.com/SongXia-NYU/nuclear_craft/issues

@MrWhosHacking Yeh, unforunately this mod is not mine :P

@MrWhosHacking Yeh, unforunately this mod is not mine :P


Add support for regional fitting and use scatter intead of text to plot the true location.

These changes are made for introducing the TS map method into my localization pipeline and optimizing the plotting method.
Update 1
In order to accelerate the ts map fitting in localization simulation, I modified fast_ts_fit.py to fit a specific disc region instead of the full map.
Update 2

hp.projtext will place an offset between the text and the coordinate you give, which caused a noticeable systematic offset between the localized 90% containment region and the true location.

Now it uses hp.projscatter, and the markers are placed at the exact location. If you run ts map tutorial notebook, you will find that the containment region is more consistent with the true location of the source than before.

Thanks @Yong2Sheng . Can you please separate this into two PRs? The plotting change is simple and I'd like to include it in DC2, but I rather not merge the other one right before the release.

Sure! I will make a new branch that has the changes in the plot method only!

Thanks @Yong2Sheng !

Hi @israelmcmc, I made another PR #172 that only contains the updates to the plotting method. I will modify this one later so it will only contain the updates to the regional fitting part.

I changed the target branch to "develop". I want to avoid adding new features to the version we're releasing today. I'll explain this further tomorrow during the cosipy meeting.

Hi @Yong2Sheng , I tried your pr and everything went well for me. That's indeed fast when you can get lot of CPUs.
However, why do you use a so fine binning in time (0.5s) for Crab_bkg_galactic_inputs.yaml  It is making a heavy file for the background and I don't see where you use the time in  you code  because it seems for me you are using the total 3 months bck.
In addition you only used the albedo photon background component. I tried with total_bg_3months_binned_for_continuum.hdf5, that's only 188Mo because time binning is 3600s. The TS map seems to converge well when we use all the background.

Hi @GallegoSav,
Thank you for your comments!  it’s a good idea to use larger time binning to save the file size. I will make a new version of the data and upload to Wasabi after tests. (Total background and larger time binning).

@Yong2Sheng: @GallegoSav is a good suggestion, but I think it can be done in a separate PR, if you want. This one is working properly, it's only a matter of the user inputs. The only thing preventing this PR from being merged is the unit test. 50% of the new lines need to be covered (it says 100%, but I have a tolerance of 50% for now). Please let me know if you need help with the unit tests.

@Yong2Sheng: @GallegoSav is a good suggestion, but I think it can be done in a separate PR, if you want. This one is working properly, it's only a matter of the user inputs. The only thing preventing this PR from being merged is the unit test. 50% of the new lines need to be covered (it says 100%, but I have a tolerance of 50% for now). Please let me know if you need help with the unit tests.

@israelmcmc I think I would need help for unit test because I never done that

Hi @israelmcmc,
Thank you for the comments. I will work on the unit test. I will let you know if I need help on this.

@GallegoSav I was asking Yong to add the tests for this PR, but you'll need to do it as well at some point hehe. Here are some instructions: https://github.com/cositools/cosipy/blob/c8eb53631f686621d93a8b56395ce66ae3d71825/docs/dev/unit_tests.rst

Hi @israelmcmc @GallegoSav , the unit test of ts_map module has been added:

fast_norm_fit.py coverage is 80%
fast_ts_fit.py coverage is 54%

Could you please take a look? Thank you!


Fix strawberry.lazy() when using relative modules

When using Annotated["SomeType", lazy(".some_module")], the call stack is inspected to fetch the proper package necessary to resolve .some_module.
There was a mistake where the wrong frame was being inspected (4rd frame instead of 3rd).
This wasn't caught in the tests previously because there were 2 frames for type_a.py when calling lazy() inside a class definition:
  File "/media/Paulo/Workspace/pass2go/strawberry/tests/schema/test_lazy/type_a.py", line 13, in <module>
    class TypeA:
  File "/media/Paulo/Workspace/pass2go/strawberry/tests/schema/test_lazy/type_a.py", line 19, in TypeA
    def type_b(self) -> Annotated["TypeB", strawberry.lazy(".type_b")]:
  File "/media/Paulo/Workspace/pass2go/strawberry/strawberry/lazy_type.py", line 70, in lazy
    return StrawberryLazyReference(module_path)
  File "/media/Paulo/Workspace/pass2go/strawberry/strawberry/lazy_type.py", line 61, in __init__
    frame = inspect.stack()[2][0]

Types of Changes

[ ] Core
[x] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[ ] Documentation

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

Fix wrong stack frame being used in strawberry.lazy()

Here's the preview release card for twitter:

Here's the tweet text:
🆕 Release (next) is out! Thanks to Paulo Costa for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)


In Velocity, non-administrators are unable to use commands to enter servers.

When using Velocity, there may be an issue where commands for server groups cannot be accessed without administrator permissions. The command is not found in such cases, while administrators can use it normally.

Thanks for the info. I did not make the velocity port and have never used its API but I will see what I can find out.

小雨已收到你的来信已存放至小雨的收件箱


Update config-plugins-postbuild.sh

This commit is to fix a typo of the "pr-postbuild-resource" module.
Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>

:memo: Version: 1.3.20190927. Thank you for submitting PR #605. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

INFO: You can read if there are syntax errors in the our shellcheck report. Please read http://nnsuite.mooo.com/TAOS-CI/ci/repo-workers/pr-checker/605-201912091701080.48663902282715-f1aedf91493e00ec80502158235efe1775ff3269/report/shellcheck_syntax_result.txt.


Extract feature modules

Break down components module into feature modules
Move remaining components out of components module into new feature
modules named after each function area of the application.
https://www.pivotaltracker.com/story/show/138278069
@miq-bot add_label euwe/no, refactoring, housekeeping

@chriskacerguis The CC errors are the same unrelated issues from before, should I address them in another PR?

@jjlangholtz I approved them.


Move logic from index.html to index.tsx

we need to move all the old logic from index.html to index.tsx

I got this

Awesome. Thanks mike.


python310Packages.env-canada: 0.5.24 -> 0.5.25

Description of changes
https://github.com/michaeldavie/env_canada/releases/tag/v0.5.25

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.environment_canada
python310Packages.env-canada
python39Packages.env-canada