Transport endpoint not connected

Hi,
I know this is a common issue but I did not solve it after two days of investigating. I tried first to mount my google drive with google-drive-ocaml with basically the same result:
Everything works fine, the gdrive is correctly mounted with very few latency, but when I run a plex folder scan, the mount holds for about 10 minutes and then crashes with result "Transport endpoint not connected".
I'm starting to think the workload of plex when scanning maybe a bit high for my drive. The database to scan is about ~3TB.
I'm on a headless Ubuntu 16.04 system mounting on ext4 with :
sudo plexdrive mount -o allow_other --max-chunks=20000 -v 4 --refresh-interval=1m googledrive/ > plexlog.log
My fusermount version is 2.9.4 and my plexdrive is 5.0.0 latest. Here is the begining and the end of my logfile :
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : verbosity            : TRACE
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : root-node-id         : root
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : config               : /home/pi/.plexdrive
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : cache-file           : /home/pi/.plexdrive/cache.bolt
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : chunk-size           : 10M
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : chunk-load-threads   : 2
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : chunk-check-threads  : 2
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : chunk-load-ahead     : 3
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : max-chunks           : 20000
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : refresh-interval     : 1m0s
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : fuse-options         : allow_other
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : UID                  : 0
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : GID                  : 0
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : umask                : ----------
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Opening cache connection
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Authorizing against Google Drive API
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Loading token from cache
[PLEXDRIVE] [2018-06-04 09:52] TRACE  : Got token from cache {ya29.GlvPBZceF8WaGFYFafVQFhZJMIE1NOSdM9ALO8Oo7drn9wUja1-x9ch_xlQfph59NPkgmA0BV6eFI_s0BRX3oWEW8cf1yjS681A9eQUNDPGByYujudpOuILmbUO6 Bearer 1/ECLjtvcu05YIzPJ-5_wvAKcQAqvob-GRvP9FrlI1EGI 2018-06-04 01:54:05.034252062 +0200 CEST <nil>}
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Checking for changes
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Getting start page token from cache
[PLEXDRIVE] [2018-06-04 09:52] TRACE  : Got start page token 910408
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Last change id found, continuing getting changes (910408)
[PLEXDRIVE] [2018-06-04 09:52] INFO   : First cache build process started...
[PLEXDRIVE] [2018-06-04 09:52] INFO   : Mounting path googledrive/
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Getting root from API
[PLEXDRIVE] [2018-06-04 09:52] TRACE  : Converting Google Drive file: &{map[] 0x44203a2820 <nil>   false    false false   0AMVgqqhNAHwLUk9PVA <nil> false  <nil>  application/vnd.google-apps.folder false  2016-11-28T12:12:00.519Z Mon Drive  false [] [] [] map[] 0 false  <nil> 0 [] false   0 false  <nil> 0 <nil> false  false   false {200 map[X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[1; mode=block] Server:[GSE] Alt-Svc:[quic=":443"; ma=2592000; v="43,42,41,39,35"] Cache-Control:[private, max-age=0, must-revalidate, no-transform] Vary:[Origin X-Origin] Content-Type:[application/json; charset=UTF-8] X-Content-Type-Options:[nosniff] Expires:[Mon, 04 Jun 2018 07:52:25 GMT] Date:[Mon, 04 Jun 2018 07:52:25 GMT]]} [] []}
[PLEXDRIVE] [2018-06-04 09:52] DEBUG  : Storing page token 910408 in cache
[PLEXDRIVE] [2018-06-04 09:52] INFO   : First cache build process finished!
[PLEXDRIVE] [2018-06-04 09:53] DEBUG  : Checking for changes
[PLEXDRIVE] [2018-06-04 09:53] DEBUG  : Getting start page token from cache
[PLEXDRIVE] [2018-06-04 09:53] TRACE  : Got start page token 910408
[PLEXDRIVE] [2018-06-04 09:53] DEBUG  : Last change id found, continuing getting changes (910408)
[PLEXDRIVE] [2018-06-04 09:53] DEBUG  : Storing page token 910408 in cache
[PLEXDRIVE] [2018-06-04 09:54] DEBUG  : Checking for changes
[PLEXDRIVE] [2018-06-04 09:54] DEBUG  : Getting start page token from cache
[PLEXDRIVE] [2018-06-04 09:54] TRACE  : Got start page token 910408
[PLEXDRIVE] [2018-06-04 09:54] DEBUG  : Last change id found, continuing getting changes (910408)
[PLEXDRIVE] [2018-06-04 09:54] DEBUG  : Storing page token 910408 in cache
[PLEXDRIVE] [2018-06-04 09:55] DEBUG  : Checking for changes
[PLEXDRIVE] [2018-06-04 09:55] DEBUG  : Getting start page token from cache
[PLEXDRIVE] [2018-06-04 09:55] TRACE  : Got start page token 910408
[PLEXDRIVE] [2018-06-04 09:55] DEBUG  : Last change id found, continuing getting changes (910408)
[PLEXDRIVE] [2018-06-04 09:55] DEBUG  : Storing page token 910408 in cache
[PLEXDRIVE] [2018-06-04 09:56] DEBUG  : Checking for changes
[PLEXDRIVE] [2018-06-04 09:56] DEBUG  : Getting start page token from cache
[PLEXDRIVE] [2018-06-04 09:56] TRACE  : Got start page token 910408
[PLEXDRIVE] [2018-06-04 09:56] DEBUG  : Last change id found, continuing getting changes (910408)
[PLEXDRIVE] [2018-06-04 09:56] DEBUG  : Storing page token 910408 in cache
[PLEXDRIVE] [2018-06-04 09:56] TRACE  : FUSE <- Getattr [ID=0x2 Node=0x1 Uid=1001 Gid=1001 Pid=2448] 0x0 fl=0

[...]
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE <- Forget [ID=0x1ef2 Node=0x6b Uid=0 Gid=0 Pid=0] 1
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE -> [ID=0x1ef2] Forget
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE <- Forget [ID=0x1eee Node=0x1b9 Uid=0 Gid=0 Pid=0] 1
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE -> [ID=0x1eee] Forget
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE -> [ID=0x1eeb] Forget
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE <- Forget [ID=0x1ef3 Node=0xaf Uid=0 Gid=0 Pid=0] 1
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : FUSE -> [ID=0x1ef3] Forget
[PLEXDRIVE] [2018-06-04 10:03] DEBUG  : Starting download 0B8VgqqhNAHwLX2RCMU5yN1FacUk:1048576000 (preload: true)
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : Sending HTTP Request &{GET https://www.googleapis.com/drive/v3/files/0B8VgqqhNAHwLX2RCMU5yN1FacUk?alt=media HTTP/1.1 1 1 map[Range:[bytes=1048576000-1059061760]] <nil> <nil> 0 [] false www.googleapis.com map[] map[] <nil> map[]   <nil> <nil> <nil> <nil>}
[PLEXDRIVE] [2018-06-04 10:03] DEBUG  : Starting download 0B8VgqqhNAHwLX2RCMU5yN1FacUk:1059061760 (preload: true)
[PLEXDRIVE] [2018-06-04 10:03] TRACE  : Sending HTTP Request &{GET https://www.googleapis.com/drive/v3/files/0B8VgqqhNAHwLX2RCMU5yN1FacUk?alt=media HTTP/1.1 1 1 map[Range:[bytes=1059061760-1069547520]] <nil> <nil> 0 [] false www.googleapis.com map[] map[] <nil> map[]   <nil> <nil> <nil> <nil>}

Thanks for any help, this program is awesome, minus the crashes.

You've setup max-chunks to 20.000, with a value of 10M per chunk it means you have a server with at least 200GB RAM. Nice :D

I would still reduce the max-chunks. The max-chunks is not a hard limit, so you should not go above 30-40% RAM usage just for plexdrive.
So if you have 3.5GB free, you should use at most 1.4 GB max-chunks.
With a chunk size of 10M you should set the max-chunks to 100, then there should be enough space left for other stuff.
I am still wondering, that there are HTTP download requests during the plex scan. Did you disable the Plex features for metadata/image etc recognition. It should only scan the files and not start to download them.

Can the recommendation for max-chunks be included on the README?

fusermount -u foldername


whole lotta refactoring

@adamnemecek Could you explain? You also broke a lot of tests.

It's all refactoring. The build Break isn't due to me.

@adamnemecek It seems obvious you broke some tests https://travis-ci.org/kishikawakatsumi/SpreadsheetView/builds/259969071?utm_source=github_status&utm_medium=notification. Could you make sure the tests passing before submitting PR? I cannot merge this PR until you fix them. Also, I recommend split each commit into multiple smaller PRs.

@adamnemecek I cannot merge this because the changes break existing behavior. But that’s really helpful each change. Thanks for contributing!


Formatting error on "File based configurations" instructions

$webhook->setUrl("https://requestb.in/slmm49sl?uniqid=" . uniqid());
$webhook->setEvent('unconfirmed-tx');

'webhook' should be 'webHook'

Hi @toneloc I can not find the file containing that code:
https://github.com/blockcypher/php-client/search?utf8=✓&q=%24webhook->setEvent('unconfirmed-tx')%3B

OK sorry @toneloc I have found in the wiki:
https://github.com/blockcypher/php-client/wiki/File-based-Configurations
Thanks.

Fixed, FYI you have more docs in: http://dev.blockcypher.com/?php#


Create webpack.yml

Why are these changes needed?

Related issue number

Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

Thanks for the contribution. Could you please answer the question: Why are these changes needed?


Add webinar video to teaching page

Add a new section at the bottom of the page, below "Participedia in the classroom"
Header: Democratic Teaching & Learning Webinar Series
Paragraph text: This webinar series was designed to connect Participedia researchers and collaborators with shared interests and to exchange knowledge about challenges and successes in the field of teaching methods, theories and cases that support democratic participation. The series was developed and launched in 2018 by Co-Chairs of the Teaching, Training and Mentoring Committee of Participedia.net, Drs. Joanna Ashworth & Bettina von Lieres.
Embed video: https://www.youtube.com/watch?v=P31gnl4WIJY&list=PLlq-sVJshsvD0k-6QeMHPGY49DYireJA1 (not sure if that's different than adding a specific video? there are 3 videos in the playlist)

this is the playlist link - https://youtube.com/playlist?list=PLlq-sVJshsvD0k-6QeMHPGY49DYireJA1
(the link above is the "play all" link)
Ideally we want people to be able to watch the playlist without leaving the site.


Planning v2

A long time has passed from the first release.
And we've got many feature requests and some issues. Thank you for trying to use this library out.
Currently, I don't have enough time to maintain this lib but I'm thinking of how we could make it to be better than now.
Now I have followings:

Recently, handling media software contains so many features and user interfaces, it seems the one application that can be released as a product. That's why I think it needs something good state-management (like Verge)
The UI to modify image differs from each use-case in products. So it should be easy to switch with other types of UI. That's why I architected PixelEngine and PixelEditor.

Dear Muukii
This is my project with SwiftUI & your PixelEngine
https://github.com/PingAK9/photo-editor-luts-swiftui
Thanks for writing this very useful plugin! It works great.


Database manager app

Currently only supports MySQL, will add support for more databases as per the requirement.

About time we got this implemented! Thanks :D


Document cockroach dump limitation

Fixes #5192.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4d0430d430094c6a1233ca5cbaecb54a53964f62/
Edited pages:

v19.1/known-limitations.md
v19.1/sql-dump.md
v19.2/known-limitations.md
v19.2/sql-dump.md


Add Montemorelos University

Montemorelos University Request

@lafuented First stage of verification passed, official domain is um.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lafuented First stage of verification passed, official domain is um.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lafuented Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Some tests are skipped on CI

Looking at the test report from the latest build on master, it seems not all tests are executed: https://apm-ci.elastic.co/job/apm-agent-java/job/apm-agent-java-mbp/job/master/432/testReport/
These are the packages that contain executed tests:
co.elastic.apm.agent.asynchttpclient
co.elastic.apm.agent.concurrent
co.elastic.apm.agent.configuration
co.elastic.apm.agent.es.restclient.v5_6
co.elastic.apm.agent.es.restclient.v6_4
co.elastic.apm.agent.es.restclient.v7_1
co.elastic.apm.agent.httpclient
co.elastic.apm.agent.jaxrs
co.elastic.apm.agent.jdbc
co.elastic.apm.agent.jms
co.elastic.apm.agent.jms.spring
co.elastic.apm.agent.kafka
co.elastic.apm.agent.log.shipper
co.elastic.apm.agent.mongoclient
co.elastic.apm.agent.okhttp
co.elastic.apm.agent.redis.lettuce
co.elastic.apm.agent.report
co.elastic.apm.agent.resttemplate
co.elastic.apm.agent.scala.concurrent
co.elastic.apm.agent.spring.webmvc.exception
co.elastic.apm.agent.urlconnection
co.elastic.apm.agent.util
co.elastic.apm.api
co.elastic.apm.servlet
co.elastic.apm.spring.boot

For example, the Dubbo tests and co.elastic.apm.agent.error.logging are missing here.
Looking at the logs, the Dubbo tests are skipped for some reason.
[2020-06-30T12:06:03.536Z] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ apm-dubbo-plugin ---
[2020-06-30T12:06:03.536Z] [INFO] Tests are skipped.

Another snippet from the logs for the apm-error-logging-plugin
[2020-06-30T12:04:08.302Z] [INFO] --------------< co.elastic.apm:apm-error-logging-plugin >---------------
[2020-06-30T12:04:08.302Z] [INFO] Building co.elastic.apm:apm-error-logging-plugin 1.17.1-SNAPSHOT  [9/77]
[2020-06-30T12:04:08.302Z] [INFO] --------------------------------[ jar ]---------------------------------
[2020-06-30T12:04:08.302Z] [INFO]
[2020-06-30T12:04:08.302Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.302Z] [INFO]
[2020-06-30T12:04:08.302Z] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.302Z] [INFO]
[2020-06-30T12:04:08.302Z] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.302Z] [INFO] argLine set to -javaagent:/var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/.m2/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/target/jacoco.exec
[2020-06-30T12:04:08.302Z] [INFO]
[2020-06-30T12:04:08.302Z] [INFO] --- license-maven-plugin:1.19:update-file-header (first) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.302Z] [WARNING] The failOnMissingHeader has no effect if the property dryRun is not set.
[2020-06-30T12:04:08.302Z] [WARNING] The failOnNotUptodateHeader has no effect if the property dryRun is not set.
[2020-06-30T12:04:08.302Z] [INFO] adding extra resolver file:////var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/../../licenses
[2020-06-30T12:04:08.302Z] [INFO] Will search files to update from root /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/src/main/java
[2020-06-30T12:04:08.302Z] [INFO] Will search files to update from root /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/src/test/java
[2020-06-30T12:04:08.302Z] [INFO] Scan 7 files header done in 4.589ms.
[2020-06-30T12:04:08.302Z] [INFO] All files are up-to-date.
[2020-06-30T12:04:08.302Z] [INFO]
[2020-06-30T12:04:08.302Z] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.302Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2020-06-30T12:04:08.302Z] [INFO] Copying 1 resource
[2020-06-30T12:04:08.303Z] [INFO]
[2020-06-30T12:04:08.303Z] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.303Z] [INFO] Changes detected - recompiling the module!
[2020-06-30T12:04:08.303Z] [INFO] Compiling 4 source files to /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/target/classes
[2020-06-30T12:04:08.564Z] [WARNING] bootstrap class path not set in conjunction with -source 7
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2020-06-30T12:04:08.564Z] [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/src/test/resources
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Changes detected - recompiling the module!
[2020-06-30T12:04:08.564Z] [INFO] Compiling 3 source files to /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/target/test-classes
[2020-06-30T12:04:08.564Z] [WARNING] bootstrap class path not set in conjunction with -source 9
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Tests are skipped.
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Skipping JaCoCo execution due to missing execution data file.
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Building jar: /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/target/apm-error-logging-plugin-1.17.1-SNAPSHOT.jar
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- maven-javadoc-plugin:3.1.1:jar (default) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Skipping javadoc generation
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (default) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Tests are skipped.
[2020-06-30T12:04:08.564Z] [INFO]
[2020-06-30T12:04:08.564Z] [INFO] --- animal-sniffer-maven-plugin:1.17:check (signature-check) @ apm-error-logging-plugin ---
[2020-06-30T12:04:08.564Z] [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
[2020-06-30T12:04:09.136Z] [INFO]
[2020-06-30T12:04:09.136Z] [INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ apm-error-logging-plugin ---
[2020-06-30T12:04:09.136Z] [INFO] Tests are skipped.
[2020-06-30T12:04:09.136Z] [INFO]
[2020-06-30T12:04:09.136Z] [INFO] --- license-maven-plugin:1.19:check-file-header (license-header-check) @ apm-error-logging-plugin ---
[2020-06-30T12:04:09.136Z] [INFO] adding extra resolver file:////var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/../../licenses
[2020-06-30T12:04:09.136Z] [INFO] Will search files to update from root /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/src/main/java
[2020-06-30T12:04:09.136Z] [INFO] Will search files to update from root /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/src/test/java
[2020-06-30T12:04:09.136Z] [INFO] Scan 7 files header done in 4.135ms.
[2020-06-30T12:04:09.137Z] [INFO] All files are up-to-date.
[2020-06-30T12:04:09.137Z] [INFO]
[2020-06-30T12:04:09.137Z] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ apm-error-logging-plugin ---
[2020-06-30T12:04:09.137Z] [INFO] Installing /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/target/apm-error-logging-plugin-1.17.1-SNAPSHOT.jar to /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/.m2/co/elastic/apm/apm-error-logging-plugin/1.17.1-SNAPSHOT/apm-error-logging-plugin-1.17.1-SNAPSHOT.jar
[2020-06-30T12:04:09.137Z] [INFO] Installing /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/apm-agent-plugins/apm-error-logging-plugin/pom.xml to /var/lib/jenkins/workspace/t-java_apm-agent-java-mbp_master/src/github.com/elastic/apm-agent-java/.m2/co/elastic/apm/apm-error-logging-plugin/1.17.1-SNAPSHOT/apm-error-logging-plugin-1.17.1-SNAPSHOT.pom

Seems like https://github.com/elastic/apm-agent-java/pull/1263 didn't quite do the trick. Maybe it's the update of the surefire plugin from https://github.com/elastic/apm-agent-java/pull/1048 that caused this. See also the test trend chart: https://apm-ci.elastic.co/job/apm-agent-java/job/apm-agent-java-mbp/job/master/

As of version 2.22.0 of the surefire plugin, there's a new way to declare dependencies to the test runners: https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven


Currency pairs crash

Currency pair conversion seems broken.
example :
$CAD-USD
gives the following error:
Traceback (most recent call last):
  File "stock.py", line 80, in <module>
    main()
  File "stock.py", line 76, in main
    details = query_symbol_details(args.symbol)
  File "stock.py", line 48, in query_symbol_details
    result = response['quoteResponse']['result'][0]
IndexError: list index out of range

Fixed on https://github.com/obsantos/MarketBot/pull/1

About time....


Continuous PoweredOff state on OSX

Hi,
I have a 2011 macbook pro(OSX 10.11.1) and I am using a BLE dongle with it. I've ensured the dongle is selected as the default bluetooth device using the Xcode Hardware IO Tools and I am trying to make my macbook pro be a peripheral.
However on 'stateChange' is continuously showing a state of 'poweredOff' and as such it is not advertising anything. It is not showing up in LightBlue either.
Here is my code : https://github.com/shekit/peeqo-robot/blob/master/bleno_test/index.js
Since the exact same code seems to be working on the raspberry pi, I'm unsure where the issue lies.

@shekit I suspect this is something to do with your setup.
Please see if the LightBlue OS X app or a native CoreBluetooth app has the same issue. If not, please re-open this issue.
Here's a sample native CoreBluetooth app: https://github.com/sandeepmistry/osx-ble-peripheral


papi: <IP_ADDRESS> -> 7.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/papi/versions.
meta.description for papi is: "Library providing access to various hardware performance counters"
meta.homepage for papi is: "https://icl.utk.edu/papi/"
meta.changelog for papi is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.0.0 with grep in /nix/store/mbxh3jqzpl1m1zmgqj2a1g4i9nz5hyml-papi-7.0.0
found 7.0.0 in filename of file in /nix/store/mbxh3jqzpl1m1zmgqj2a1g4i9nz5hyml-papi-7.0.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
papi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mbxh3jqzpl1m1zmgqj2a1g4i9nz5hyml-papi-7.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A papi https://github.com/r-ryantm/nixpkgs/archive/21dfd5d378e54d914d40b2f3527516fc979b672d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mbxh3jqzpl1m1zmgqj2a1g4i9nz5hyml-papi-7.0.0
ls -la /nix/store/mbxh3jqzpl1m1zmgqj2a1g4i9nz5hyml-papi-7.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

papi

Maintainer pings
cc @costrouc @zhaofengli for testing.

works fine!


Connect constants are undocumented

The Connect* constants aren't documented. Expected them to be.
Workaround: Had to resort to source code to try to understand what they do.

Thanks, good point.
Can anyone post a PR?

This issue is open to anyone to pick it up


Tag output with uSWIDs

Fixes #129

With these changes, we now append an uSWID to the actual Tow-Boot "binaries", which in turn should unblock future work around fwupd.
~/.../Tow-Boot/uswid $ ./result-uswid/bin/uswid --load result/binaries/Tow-Boot.mmcboot.bin --save uswid.xml
Found USWID header at offset: 817665

<?xml version='1.0' encoding='utf-8'?>
<SoftwareIdentity xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd" xmlns:SHA256="http://www.w3.org/2001/04/xmlenc#sha256" xmlns:SHA512="http://www.w3.org/2001/04/xmlenc#sha512" xmlns:n8060="http://csrc.nist.gov/ns/swid/2015-extensions/1.0" xml:lang="en-US" name="Tow-Boot for Pinebook (A64) [variant: mmcboot]" tagId="qnhl8243ns10vpcg0x1nbx7dwp3p0gjb-Tow-Boot-pinebook_defconfig-mmcboot-aarch64-unknown-linux-gnu-2023.07-007-rc1-pre" version="2023.07-007-rc1-pre" versionScheme="multipartnumeric+suffix">
  <Entity name="Tow-Boot" regid="tow-boot.org" role="tagCreator licensor maintainer softwareCreator"/>
  <Meta product="Tow-Boot" persistentId="org.tow-boot.tow-boot"/>
</SoftwareIdentity>

And the ini from the uSWID:
[uSWID]
tag-id = qnhl8243ns10vpcg0x1nbx7dwp3p0gjb-Tow-Boot-pinebook_defconfig-mmcboot-aarch64-unknown-linux-gnu-2023.07-007-rc1-pre
software-name = Tow-Boot for Pinebook (A64) [variant: mmcboot]
software-version = 2023.07-007-rc1-pre
version-scheme = multipartnumeric+suffix
summary = An opinionated distribution of U-Boot
product = Tow-Boot
persistent-id = org.tow-boot.tow-boot

[uSWID-Entity:TagCreator]
name = Tow-Boot
regid = tow-boot.org
extra-roles = Licensor,Maintainer,SoftwareCreator

cc @DylanVanAssche, @hughsie, especially regarding fwupd, is there anything outright problematic in here?
I've used NISTIR 8060 Guidelines for the Creation of Interoperable Software Identification (SWID) Tags as a source of truth to know what tags meant, and their required state or not. But I don't assume I've understood all and how it applies in practice here.
(Note that the empty evidence values are currently a workaround, see https://github.com/hughsie/python-uswid/issues/53.)
Now, what's up with that weird tag-id?? Glad you asked! It's the basename of the Nix store path for the build of the binary. They are a hash encapsulating the whole derivation, which includes the whole build environment. Hopefully that is not a problematic tag-id to use, as not only is it convenient, it is actively unique to the whole stack used to produce the build including what was used to produce the uSWID.
About git revision
Adding the git revision used for the build could be done, but is kind of unergonomic when referring to the repository in which the expressions reside. The best way to do it would be "from the outside" when e.g. building the project, passing --argstr rev "$(...)".
It might be worth it to add more useful information for the build, but would be reserved, I suppose, for release builds mainly, and is really orthogonal to these changes. It wouldn't be hard to add it in the SWID after the fact.

They are a hash encapsulating the whole derivation, which includes the whole build environment

That sounds like you're re-inventing the other two hashes :) e.g. see https://github.com/hughsie/python-uswid#ini-file
The colloquial-version should be a hash of all the source files, and the edition should describe the "tree" -- i.e. anything build in the same tree would have the same edition, but change the source files within a tree and the colloquial-version should be different.
I think in general the tag ID should be able to be compared between SWIDs -- i.e. the SWID from last year should have the same set of tag-id as the one from today.

From my side, it looks good, but @hughsie is a better expert on uSWID than me :P
As long as I can make fwupd happy with a good version number, it is fine for me.

I believe there are two distinct issues here, so we don't talk past each-other, I'll title them in how I see them. Sorry if this is a bit long.
Also note that I'm not trying to contradict you, but trying to understand fully what I'm doing. I am not discounting that I could be missing something.

Arbitrary reproducible tag-id source

They are a hash encapsulating the whole derivation, which includes the whole build environment

That sounds like you're re-inventing the other two hashes :) e.g. see https://github.com/hughsie/python-uswid#ini-file

The goal here is not what I think you're understanding from my description.
It isn't to have it be the meaningful hashes, but be a unique predictable and reproducible value, in the meaning of Reproducible builds. Given the same inputs, it should be expected that we have the same outputs, so using e.g. a random GUID here breaks reproducibility.
In that optic, is using that arbitrary tag-id problematic?
My understanding is that it wouldn't be, as NIST.IR.8060 implies it can be anything that is globally unique as an identifier for the tagged product. Assuming the binary is reproducible in all other aspects (last I checked, the U-Boot builds were), it means that whoever builds the binary here gets the same binary, and that it would be correct to use a reproducible identifier here.
RFC9393 stats it uniquely references a software component. Here I'm assuming software component would refer to a build thereof.
That's why I'm using the store path basename, as it intrinsically is unique to the given inputs, and assumed to be producing the same output.
In other word, we get a globally unique identifier for free from the intrinsic properties of the build system, so is there any technical reason not to use them?
(Side-note: let's absolutely trust those assumptions about reproducibility in this discussion, whether or not they apply is irrelevant when asking assuming those assumptions are right.)

Tags usage
I'm unsure what to make of the tags and their usage, seeing the web generator/uswid, and NIST.IR.8060 don't seem to agree about the semantics.

That sounds like you're re-inventing the other two hashes :) [...]
The colloquial-version should be a hash of all the source files, and the edition should describe the "tree" -- i.e. anything build in the same tree would have the same edition, but change the source files within a tree and the colloquial-version should be different.

quolloquial-version
Quoting from NIST.IR.8060, for <Meta>:

@colloquialVersion: the informal version of the product (e.g., 2013). The colloquial version may be the same through multiple releases of a software product where the @version specified in <SoftwareIdentity> is much more specific and will change for each software release.

From RFC9393:

A textual value for the software component's informal or colloquial version. Examples may include a year value, a major version number, or a similar value used to identify a group of specific software component releases that are part of the same release/support cycle. This version can be the same through multiple releases of a software component, while the software-version specified in the concise-swid-tag group is much more specific and will change for each software component release. This version is intended to be used for string comparison (byte by byte) only and is not intended to be used to determine if a specific value is earlier or later in a sequence.

My understanding here, for Tow-Boot, is that I would be putting 2023.07-007 here. Whether it's rc1, rc5, the final release, an in-dev  version. It would be the same version commonly referred to when speaking in general terms.
edition
Quoting from NIST.IR.8060, for <Meta>:

@edition: the variation of the product (e.g., “Home”, “Enterprise”, “Student”).

From RFC9393:

A textual value indicating that the software component represents a functional variation of the code base used to support multiple software components. For example, this item can be used to differentiate enterprise, standard, or professional variants of a software component.

My understanding here is that edition would never change between builds, even when updated... A bad example would be making a "Standard" and "Pro" version of Tow-Boot, that's what would be put in Edition. So using any "input" like the git revision identifier isn't correct?
(I debated putting the variant as edition, but the variant is a not relevant as a "functional variation", it's more of an implementation detail. Relatedly, the device identifier maybe is more suited for the edition...)
tag-id

I think in general the tag ID should be able to be compared between SWIDs -- i.e. the SWID from last year should have the same set of tag-id as the one from today.

I'm not sure I follow this. What does "last year" refer to here? Last year when building the same source tree? They will be. There are no untracked inputs (nor impurities) here that would change the hash, nor the outputs.
If it refers to a different release of the software, does that imply that every different builds will have the same identifier? That breaks referring to a specific "software component"'s SWID (a binary's SWID) using swid:${tag-id}, as it would refer to many other too.
RFC9393 seem to agree with my interpretation here.

Woah, lots to unpack there. I'm just trying to tell you what I'm advising they use the "colloquial-version" and "edition" for -- it's not according to the specifications, as I'm trying to be pragmatic.

Yeah, sorry, if that was a lot.
I was trying to understand where the advice comes from, since it didn't map with what I've found about SWIDs. Again, I'm trying to ensure I understand what I'm implementing fully here, since I believe this is a crucial thing to get right.
I don't want to find out later down the line that either something doesn't match SWID (whatever that means), or that it breaks assumptions under LVFS/fwupd.
Assuming my understanding of SWIDs is correct, are there problems under the assumptions of LVFS/fwupd with using those values as they are specced?
Or maybe to frame it in another way: is there a "SWIDs as actually found in the wild" guide book that might help here?
And again, thank you for taking with this.

is there a "SWIDs as actually found in the wild" guide book

We wrote this if that helps: https://uefi.org/node/4424


What does Ipv4PacketInfo do?

Hi!
First of all, thanks a lot for this library!
I would love to have some comment on line explaining what it does, as I don't find anything useful when googling. Thanks a lot!

That sets the IP_PKTINFO socket option. That is needed to know which of the interfaces received the multicast packet.
As we are joining multiple interfaces, recv does not inform the appropriate interface received, only the bound address. We need to enable this option to get the original interface information using recvmsg and other OS-level methods.
There are more references to understand it better.

Wow! Thanks a lot for the man page pointer. I studied the socket manpage, the sendmsg man page, the setsockopt man page, but I did not know about the ip man page, which finally documents stuff. Awesome! :-)


Create a squoosh toggle for validation app

Fixes: #1384

Breaks all examples into 3 category: works only with squoosh, works only with default renderer, works with both.

Updates the main activity to include a switch to toggle squoosh renderer on/off.

Updates roborazzi to capture squoosh screenshots too for examples working with both renderers.

So for the set of tests that we do in both squoosh and non-squoosh we don't compare their PNGs yet, correct?

No we don't compare yet.

Overall I think this change looks good, though I don't think we should add extra overlays in the example display area. Could you move the Squoosh toggle to be above the list of examples?

Done.


Expected behavior
It runs until the end.
Steps to reproduce
50% of the time the test pipeline step gets killed.
Logs
 ##[debug]Re-evaluate condition on job cancellation for step: 'run'.
##[debug]Skip Re-evaluate condition on runner shutdown.

Test Suites: 35 passed, 35 total
Tests:       271 passed, 1 skipped, 272 total
Time:        4 minutes 5 seconds
##[debug]Re-evaluate condition on job cancellation for step: 'Run bluefireteam/spec-action@main'.
##[debug]Skip Re-evaluate condition on runner shutdown.
Test run was interrupted.
Error: The operation was canceled.
##[debug]System.OperationCanceledException: The operation was canceled.
##[debug]   at System.Threading.CancellationToken.ThrowOperationCanceledException()
##[debug]   at GitHub.Runner.Sdk.ProcessInvoker.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Channel`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Common.ProcessInvokerWrapper.ExecuteAsync(String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Channel`1 redirectStandardIn, Boolean inheritConsoleHandler, Boolean keepStandardInOpen, Boolean highPriorityProcess, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Worker.Handlers.DefaultStepHost.ExecuteAsync(IExecutionContext context, String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, String standardInInput, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Worker.Handlers.ScriptHandler.RunAsync(ActionRunStage stage)
##[debug]   at GitHub.Runner.Worker.ActionRunner.RunAsync()
##[debug]   at GitHub.Runner.Worker.Handlers.CompositeActionHandler.RunStepAsync(IStep step)
##[debug]Finished: run
##[debug]Finishing: Run bluefireteam/spec-action@main

More info
I read something about this only happening on ubuntu-latest and not the older one, could also be worth checking if the action is running out of RAM or something like that.

Might be solved with #2698


Unpin pylint version

Can an issue be opened to fix the linting error and remove the pin, with an example of what needs to be fixed.
Issue linked here so it's not lost, and is connected to the PR
Originally posted by @cidrblock in https://github.com/ansible/ansible-navigator/issues/538#issuecomment-902095978

Pylint is temporarily capped in https://github.com/ansible/ansible-navigator/pull/538 and to drop the limitation we have to fix R1732 (consider-using-with).
The exact failures upgrade produces related to the new rule consider-using-with that appeared in v2.9 are:
************* Module ansible_navigator.actions.open_file
ansible_navigator/actions/open_file.py:91:27: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
ansible_navigator/actions/open_file.py:95:27: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
ansible_navigator/actions/open_file.py:98:27: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
ansible_navigator/actions/open_file.py:102:27: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)

FTR this may end up addressed with https://github.com/ansible/ansible-navigator/issues/499.


Request for Example: Fine-tuning BLIP-3 on an Interleaved Text-Image Dataset

Hello,
Thank you for the amazing work you’ve done on BLIP-3 release. I really appreciate the effort that has gone into it, and I understand that the team has been busy with the code release.
Would it be possible to provide an example of how to fine-tune BLIP-3 on an interleaved text-image dataset?
The current readme only shows an example with one image per conversation and I also had a hard time finding scripts/example_finetune_xgenmmv1-phi3_mini_4k_instruct.sh mentioned in readme. Please forgive me if I missed any of them.
Thanks again for your hard work and for considering this request!
Best regards,
Xiang Li

Hi @LostXine, thank you for trying out our code and feedback.
There were some files that were ignored in my initial commit. Thank you for bringing this up. We have uploaded the missing script and an example data config file (data_configs/example_data_config.yaml).
The launch script for multi-image fine-tuning is the same as the single-image one provided in the repo. In terms of data format, it should follow same as the example format provided in README.md. So, for example, if you want to use Mantis-Instruct, you should convert some keys in their data entry, (i.e.,  "role": "user" -> "from": "human"; "content" -> "value")
Thank you for being patient. Feel free to let me know if you have any other questions.

Hi @azshue ,
Thank you so much for your quick reply and detailed instructions. With the newly updated files, I can now understand how it works much better.
Just a note for people who are going to train this model on an interleaved dataset, please correct me if I'm wrong.
Based on this code, if you have multiple images in one conversation, you can turn this image item in the dataset into a list of images (i.e., "image": ["coco/train2017/000000033471.jpg", "coco/train2017/000000033472.jpg", ...], ), and the current code is designed to handle it seamlessly.
Thanks again for your great effort in this project.
Best regards,
Xiang Li


Support json format for fe logs

Feature request
Is your feature request related to a problem? Please describe.
By logging to JSON, you:
Ensure that the stack trace is properly wrapped into the log event.
Ensure that all log event attributes (such as severity, logger name, and thread name) are properly extracted.
Gain access to Mapped Diagnostic Context (MDC) attributes, which you can attach to any log event.
Avoid the need for custom parsing rules.
The following instructions show setup examples for the Log4j, Log4j 2, and Logback logging libraries.
Describe the solution you'd like
https://docs.datadoghq.com/logs/log_collection/java/?tab=log4j#json-format
Describe alternatives you've considered
N/A
Additional context
N/A

@kevincai @chaoyli


ModernizeStrposFixer - fix leading backslash with yoda

Currently the modernize_strpos rule doesn't work when yoda coding is used in combination with a leading backslash:
if (0 === \strpos($haystack5, $needle)) {}

Coverage increased (+0.01%) to 93.133% when pulling 61a5fd5662736e70c524812b953506f0530b90d7 on HypeMC:modernize-strpos-namespace-with-yoda into aa805a8a4d8384c71a1367fceb57a081a4d969e4 on FriendsOfPHP:master.

Thanks, looking good, nice fix!
Hope it will be merged soon by some of the other members :+1:

Thank you @HypeMC.


can't build, missing files to build?

on the Dockerfile line 17... its copying some files from somewhere.. how do I get this files?
$ docker build -t graphhopper .
Sending build context to Docker daemon  102.4kB
Step 1/15 : FROM maven:3.6.3-jdk-8 as build
 ---> d1b3f61d61f2
Step 2/15 : WORKDIR /graphhopper
 ---> Using cache
 ---> bcbf97944ea4
Step 3/15 : COPY graphhopper .
COPY failed: file not found in build context or excluded by .dockerignore: stat graphhopper: file does not exist

https://github.com/IsraelHikingMap/graphhopper-docker-image-push/blob/main/Dockerfile#L17

You should use build.sh - it clones and builds graphhopper from their repo.
Also note that this repo builds graphhopper on a daily basis and pushes that to dockerhub, so I'm not sure why would you want to build it locally...

ok, can u point me to the dockerhub image? or documentation on how-to set this up. i can't find it anywhere.. i've been hopping from repo to repo.. i just need
localhost:8989/
The idea is:
I'm developing this open source tool:
https://github.com/helpbuttons/helpbuttons
the idea is that when setting up the webapp, on the configuration page, there would be a multiple choice so maps would download, and be ready to use on the server.
in resume:
How do I run this using docker-compose? I don't understand.

So I added this image to my docker-compose.yml
https://github.com/helpbuttons/helpbuttons/blob/graphhopper/docker-compose.yml#L33
Try to run it using:
docker-compose graphhopper
got this error:
$ docker-compose up bb
WARNING: Found orphan containers (helpbuttonsorg_graphhopper_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating helpbuttonsorg_bb_1 ... error

ERROR: for helpbuttonsorg_bb_1  Cannot start service bb: failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "./graphhopper.sh": permission denied: unknown

ERROR: for bb  Cannot start service bb: failed to create shim: OCI runtime create failed: runc create failed: unable to start container process: exec: "./graphhopper.sh": permission denied: unknown
ERROR: Encountered errors while bringing up the project.
```

Did you try out what the readme in this repo explains? Did it not work?
This is my dicker compose:
https://github.com/IsraelHikingMap/Site/blob/b5cabb95246d0327f3399ba8fd698b98d51ebb78/docker-compose.yml#L26
And here's is the script to creat a routing graph that needs to run before the first up command:
https://github.com/IsraelHikingMap/Site/blob/b5cabb95246d0327f3399ba8fd698b98d51ebb78/gh-update.ps1

cool. i will try it. anyway i recommend to add this line in your Dockerfile:
RUN chmod +x ./graphhopper.sh
you probably always deploy from the same machine, try to run all the deploy from a blank machine, you will bump into this problem ;)

I setup the docker-compose entrypoint like this:
entrypoint: bash -c "chmod +x ./graphhopper.sh && ./graphhopper.sh --host <IP_ADDRESS> -i ignore.pbf -o /data/default-gh/ -c /data/gh-config.yml"
and it works.. also made a PR ;)


Fullscreen mode issue when watching videos

F11 fullscreen mode terribly works! So it's impossible to watch youtube videos in fullscreen.
OS: windows 10 ltsc 1809
Love your app :)
Thank you for your work!

Not sure if applicable here but:
As of 5.5.0, fullscreen is not working on startup.
Now everytime you startup, the app goes back to default window screen size. Not fullscreen as expected if you had last time you closed the app.
It worked as expected in 5.4.3

@catarino issue should be fixed thanks to @dannyqiu via #733 🙏 Keeping open as the original issue seems to be regarding fullscreen mode when watching videos.

@kytwb Great thx!

Verified that F11 full screen mode is retained after restarting the application.


PowerToys Run crashes when copying to clipboard

Microsoft PowerToys version
<IP_ADDRESS>
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Open PowerToys running using hotkey
Perform simple mathematical calculation
click on the results to copy to clipboard

✔ Expected Behavior
Results of the calculation to be copied to the clipboard.
❌ Actual Behavior
The app crashes approximately 90% of the time; can't establish an exact pattern.
Log:
2021-07-13.txt
Other Software
No response

Exception
System.InvalidCastException: Unable to cast object of type 'System.Windows.Documents.Run' to type 'System.Windows.FrameworkElement'.
   Source: PowerLauncher
   TargetAssembly: PowerLauncher, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
   TargetModule: PowerLauncher.dll
   TargetSite: Void SuggestionsList_PreviewMouseLeftButtonUp(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at PowerLauncher.MainWindow.SuggestionsList_PreviewMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnPreviewMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Duplicate of #11898.

This was fixed with the release of v0.41.4.
Please update to the latest version of PowerToys and this issue should be resolved.


exclude CI files

I'll buy that. It's got me thinking what other files cargo publish slurps up that equally of no value... I'm wondering why keeping them is a default rather than explicit exclusion when they are so common. May also be worth reaching out to the cargo team to create a default exclusion list


torbrowser-launcher v tor browser autoupdate

Good morning
Today I got the expected "your browser is out of date" when I launched tbb from torbrowser-launcher.  I then went off for a few minutes and when returned I was prompted with a message that the update had downloaded and a restart of tbb would install it.
Obviously TBB does not know it is being managed by torbrowser-launcher  but I wonder how is the best way to handle this? I would like to continue using torbrowser-launcher as it has gpg sig checking and updates over Tor but realistically the TBB built in autoupdate is nearly always going to beat the launcher to the update.
The current update does not appear to have affected launcher managed TBB and torbrowser-launcher detects that TBB is at the most recent after I forced launcher to do a check.
Is there much issue in letting the two fight it out for access, what's the future for torbrowser-launcher if there is?

i tell a lie.  looking at ~/.config/torbrowser/settings  it says installed ver is 5.0.2 despite tbb reporting 5.0.3  so there is a disconnect somewhere

tb-updater (a Tor Browser downloader, similar to torbrowser-launcher), had the same issue. This is how we decided to more or less solve it:

renamed updater to downloader
deprecated local version number detection (https://phabricator.whonix.org/T400)
recommend using Tor Browser's internal updater once TBB has been initially downloaded for most cases (except clean re-installation)
explain all this to the user

See also this screenshot:

@grrrrr you make a great point that I've been thinking about too. TBL is not needed nearly as much as it used to be now that Tor Browser autoupdates, and now they the Linux version includes a .desktop file so you can launch it entirely from the GUI.
In terms of your specific case, it's actually totally fine to use the built-in Tor Browser auto-updater in conjunction with TBL. if you go ahead and update using the built-in updater, and TBL also discovers that an update is required, it will detect that you're already using that version and just launch it rather than trying to update again. TBL only checks for updates at most once every 24 hours, not every time you launch it. So you must have launched it within the 24 hour window before an update, and it didn't find anything new. Then you launched it again after the update, but TBL skipped checking for updates because it checked so recently.
@adrelanos I actually really like this solution! TBL constantly breaks because of changes in the RecommendedTBBVersions file, or changes in Tor Browser itself (like renaming/moving the start-tor-browser script). This will be way less of a problem if TBL only needs to do this on new systems that don't have Tor Browser installed yet, rather than with every launch.
And on a side-note @adrelanos, I actually rarely use TBL myself anymore because most of my Tor Browser usage is in Whonix workstations, so I end up using tb-updater instead. :+1:

So, I still use this package, but maybe it is time for a change in scope? It seems that the primary purpose now is to download Tor Browser for-the-first-time. I would be interested in a package that pegs 5.0 with baked in checksums and gpg keys, downloads the browser, installs its .desktop file, then gets out of the way. This would be more future-proof and in-line with how the Tor Project wants upgrades to be handled.
Like TBL, this would still hand off trust to the system's package manager. For my use-case, and I imagine many others, this is an acceptable choice.

I don't think it makes sense to peg to the 5.0 release. Like, maybe the autoupgrade feature won't be able to upgrade from 5.0 to 7.0 (or whatever), and I can foresee other problems related to pegging to a specific version.
But I do think it makes sense to install the latest Tor Browser once, and then get out of the way.

I'd probably seek clarity from Tor Project on what they foresee for the autoupgrade before making a decision. I like that pegging to a release pushes more of the upgrade burden on Tor Project. I don't have an understanding of the nuances around pegging though.
Also, it seems like you'd still need your own .desktop file... so maybe in the absence of pegging all we're really talking about is removing the update features from TBL?

Here's my plan:
TBL will download Tor Browser if it's not installed, and otherwise it will launch it. No more checking for updates. It will only detect the latest version if Tor Browser isn't installed, so it can download and install it.
This will require changing the settings around a lot:

It should tell you if Tor Browser is installed or not, but no need to keep track of which version is installed anymore.
Also no need to keep track of the last time it checked for updates.
Rename Download updates over Tor (recommended) to Download over Tor, and default it to unchecked (#188).
Get rid of Check for updates next launch options.
Add a Reinstall Tor Browser button, which should the currently installed Tor Browser and re-download it.


Add MultiSelectRelatedOnlyFilter

This MultiSelectRelatedOnlyFilter is only inheriting of the current MultiSelectRelatedFilter but override the field_choices method with Django's RelatedOnlyFieldListFilter method.
The current test suit should be enough to keep the coverage. If not, I will add some tests accordingly.
Closes #12

@clemsau Thank you for the contribution. Just merged it. Tests would be fine though.


Add a tooltip under each annotation to name them

This would help to distinguish annotations when there are too many labels to distinguish the colours. Related to the issue https://github.com/chakki-works/doccano/issues/253

Thank you , clarus.  I submit this issue #253.
Is the tooltip you added a mouse hovering?
If that is true, I think this style may be better: https://prodi.gy/demo?view_id=pos_manual

Yes, this is mouse hovering.

Thank you. Would you consider this solution?

Not for now.

Thanks!


plugin: Add missing fields to JobMemory for DNC,DRK,MNK,MCH,SAM

Overlooked this way back, sorry!

I've gone over all the jobs memory regions and added all the missing data with help from #1823

Thank you for all of this! The fixups, the spelling changes, the test update! So appreciated.  :100:


core: fix package.json types/main order

core: fix package.json types/main order
website: fix send transaction demo

Current dependencies on/for this PR:

main

PR #392   👈

This stack of pull requests is managed by Graphite.


enh(swift) add parameter pack keywords

Parameter packs are supported in Swift 5.9
Their usage can be seen in SE-0393. This essentially just requires a promotion of each to a keyword and matching repeat and each as keywords in generic parameters.
Changes

Support repeat and each parameter pack keywords.

Checklist

[x] Added markup tests, or they don't apply here because...
[x] Updated the changelog at CHANGES.md

So what is repeat when used outside a generic?

Is it not a keyword in those other contexts?

It is a keyword in those contexts as well, it's already in the "keywords" list though because it's already used for loops.
repeat {
    print(number)
    number += 1
} while number <= 20

Ah that's what I was missing. 😀


cache: Create missing intermediate directories when caching a file

What does this PR change? What problem does it solve?
Although the cache directory structure should be properly setup when starting restic, someone might delete the cache in the meantime which sends restic into a worst-case fallback path: it tries to cache the file, fails at that and then only requests the needed file part.
To avoid this fallback path due to missing folders, just recreate them.

Was the change previously discussed in an issue or on the forum?
Fixes #4130

Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[x] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

LGTM, except the test fails on Windows. I suppose that means it's hard to remove the cache on Windows, too, so that should be fine. Maybe call this a best-effort fix only?

I'm leaning towards just failing if mkdir fails instead of recreating the missing directories. Deleting the cache while restic is running, doesn't sound like a use case we want to (officially) support. It also begs the question what restic should do if e.g. caching some pack file fails as the disk ran out of space...

I've changed the PR according to https://github.com/restic/restic/issues/4130#issuecomment-1407488666 . This will cause backend operations to fail if writing to the cache is not possible. The big question is now whether this will cause unnecessary command failures or not...


CLAS records can produce invalid results.

[4:37 AM] Danae: Hello again, getting this in my warning txt
Class Barbarian contains invalid data. Make sure all attributes and skills are unique.
 This is my rebirth install where I assume classes where tweaked as well.
[4:38 AM] Danae: The error appears when merged.objects is loading.

Merged Objects.esp. TES3Merge.log.
The issue here is that skills/attributes are individual fields. This can create merges where duplicate skills/attributes are defined. E.g. alchemy can appear as both a major and a minor skill.
Custom merging needs to be done on CLAS so that this doesn't happen.

Potential fix in this build: TES3Merge 0.6-prerelease.zip
Waiting on tester feedback before release.


Refactor data management

What is the context of this PR?
This PR refactors the questionnaire design page and attempts to separate the data management by introducing new container types where it makes sense to do so.
How to review
This PR is still WIP and is not ready for merge, but PR raised for visibility.

 Refactor data management (8)


[REALEX] Improvements, validations and formatted phone number

Are you going to be closing https://github.com/activemerchant/offsite_payments/pull/345 in favour of this one? If I'm not wrong, it looks like 348 contains 345 changes and some more

Hi @nebdil, @pi3r, do we have any news on this? Thanks.

Hi @nebdil, @pi3r, do we have any news on this? Thanks.

@apetrovici I'm working on it

@apetrovici I'm working on it

@apetrovici would you mind updating the PR description to reflect the changes? And I am getting another set of eyes on the PR now, if everything's good I'll merge it and start the deploy

@apetrovici would you mind updating the PR description to reflect the changes? And I am getting another set of eyes on the PR now, if everything's good I'll merge it and start the deploy

I'll merge this change now and we will release a new gem later today, ok?

I'll merge this change now and we will release a new gem later today, ok?

@douglas, yes, it's ok. Thank you for your help!

@douglas, yes, it's ok. Thank you for your help!


Removed GroupConfig which is not needed anymore

Removed GroupConfig which is not needed anymore. The user can set the username password security config using the ClientConfig::setCredentials(std::shared_ptr<security::username_password_credentials>(...)).  Similarly user can also set a token credentials.
Added tests for username password and token credentials.

Windows test FAILed.

Linux test FAILed.

opened issue for unrelated test failure at linux: https://github.com/hazelcast/hazelcast-cpp-client/issues/645

Linux test FAILed.

Windows test FAILed.

Linux test PASSed.

Windows test PASSed.

Linux test FAILed.

Linux test FAILed.

Windows test PASSed.

Windows test PASSed.

Linux test FAILed.

Windows test PASSed.

Linux test PASSed.


Modified so that connection timeout and read timeout can be set when …

…calling oauth2.googleapis.com in ServiceAccountCredentials.refreshAccessToken()
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕
If you write sample code, please follow the samples format.

@stager0909 Hi, Thanks for your contribution. Do you have an issue opened for this? If not please open one and provide a description of the problem you are trying to solve.

@TimurSadykov Hi
My merge request is related to the issue below.
The default value of connectionTimeout and readTimeout of google credential is 20 seconds, but I hope that it can be changed by injecting this.
https://github.com/googleapis/google-auth-library-java/issues/356


270 new user details phone validation

Change Summary
[Briefly summarise the changes that you made. Just high-level stuff]
Added PhoneNumber Validation in ./src/components/UpdateDetails/SubmitButton.tsx. This will keep checking phone number if it is in correct format.
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

[x] The pull request title has an issue number
[ ] The change works by "Smoke testing" or quick testing
[ ] The change has tests
[ ] The change has documentation

Other Information
[Is there anything in particular in the review that I should be aware of?]

Need to correct code


Produce a Vert.x DnsClient.

[ ] Have you followed the guidelines in our Contributing document?
[ ] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

Not sure how, but OpenTracing test is failing

Yah, saw that.
How do we cause CI to retrigger for v4?
On Fri, Jun 22, 2018 at 3:29 PM Ken Finnigan<EMAIL_ADDRESS>wrote:

Not sure how, but OpenTracing test is failing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/thorntail/thorntail/pull/1017#issuecomment-399556793,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA-TzSjCz5587a3hsTGaRhOy5TwML_tks5t_UVxgaJpZM4U0OZS
.

I clicked rebuild, don't think there's a way through comments

not sure why we had the CI hiccup, hopefully not a race condition

You’re correct in all cases. I’m seriously out of practice.

@bobmcwhirter when you have a chance, can you rebase this and update based on @mkouba comments?


Grid size

Could you add a grid size modifier option under settings menu ?
Also an adjustable time speed in real time under the control window would be a good plus.
Thank you for coding such a good application that is user friendly.

Yes, I'm going to add that after my exams =)


Source code line's comments are not taken into account on Pull Requests page

Description
On the Gitea demo site, source code line's comments are not taken into account on Pull Requests page. So, they are not added to the count of the MR's comments count.
Gitea Version
1.19.0+dev-291
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I visit it via a browser.
Database
None

Should they be counted?

Well I think 'there are no comments' if there is not a badge (on Pull Requests page). But they are.

I agree, line comments should count towards the comment count. This is how it works on GitHub as well.

#30556


Slight rewording in MPI version reported

Hi folks!
I've been upgrading MPI versions, and I noticed Charm++ prints out:
Charm++> Running on MPI version: 3.1

This confused me for a couple minutes until I realized it meant the MPI standard version. Maybe rephrase to:
Charm++> Running on MPI standard: 3.1

I support the proposed change, and note that we could also print out the MPI library name/version by calling MPI_Get_library_version(). That could help users know whether they built on OpenMPI, Intel MPI, etc.

Having the MPI lib name and version also printed would actually be really fantastic :D

Closed in #3585.


vtk reporter now outputs collision mask

I wanted to be able to include my bounce back mask in ParaView, so I made the vtk reporter output it as vtk file at the start of the simulation. Tested it for 2D and 3D mask output.

Alright, this helps visualizing flows around obstacles (which means that you should add the 2D and 3D obstacle test cases soon)
Also a test case would be nice that checks if the VTK writer still works properly (with and without mask in two and three dimensions). Just complement the existing ones.
Thank you

good idea.
I am happy to merge this once it's tested.

Unless I am mistaken, this requires a flow that has a mask attribute, so it will have to wait until the obstacle flow is merged?

Poiseuille would do the job

Am 08.09.2020 um 00:22 schrieb MartinKliemank<EMAIL_ADDRESS>Unless I am mistaken, this requires a flow that has a mask attribute, so it will have to wait until the obstacle flow is merged?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Olllom/lettuce/pull/36#issuecomment-688527269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHLG7KYLJ4OVSWROKN5KEP3SEVML7ANCNFSM4QMVZREA.

That's a good way of doing this.


Write ATS for TG requirement 30

The "type" attribute of the link element shall be used to indicate the media type of resource that will be returned if the link is resolved. A valid media type must be used for the value of this attribute; if the media type is not registered with IANA it should still follow the conventions for unregistered media types.

Hard to test completely. Only testing that a type is provided in the link, is feasible. Checking for validity of the media type is not realistic.

Agreed, that it's very difficult to verify that the returned resource actually matches the media type indicated by "type" attribute.
Moreover, the requirement #34 states the only the reqistered media types are allowed in dataset feed download links INSPIRE.
I'd say we add a test here just to verify that a non-empty type attribute is given, and let the test for #34 verify that it contains one of the allowed values.

BTW @thijsbrentjens: I can't find a n explicit mentions of requiring the "type" attribute from #26 or #29. Thus I'm suggesting to add it here.

@ilkkarinne so I think we can close this one, right?

Closing


Unable to use tf.multinomial in Android. No OpKernel was registered to support Op 'Multinomial'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): NO
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS Sierra 10.12.6, Android APK 23
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below): 1.3
Python version: 2.7
Bazel version (if compiling from source):N/A
CUDA/cuDNN version:N/A
GPU model and memory:N/A

Describe the problem
I cannot use tf.multinomial in Android while it works in mac. The error message is in the next section. I'm using tensorflow from TensorFlowSharp and ml-agents in Unity. Unity builds my game uisng tensorflow for Android.
Source code / logs
TFException: No OpKernel was registered to support Op 'Multinomial' with these attrs.  Registered devices: [CPU], Registered kernels:<no registered kernels>
[[Node: multinomial/Multinomial = Multinomial[T=DT_FLOAT, seed=0, seed2=0](dense_2/MatMul, multinomial/Multinomial/num_samples)]]
at TensorFlow.TFStatus.CheckMaybeRaise (TensorFlow.TFStatus incomingStatus, System.Boolean last) [0x0004a] in <252020d87a4e4581ad2cfe3f9cc7a0ac>:0

Please check out StackOverflow and Google for similar issues. It's a common issue with Android development to make sure the right kernels get included in a build. Please note they use the registration pattern.


[BUG] DeserializeEventGridEvents is not working when using the ServiceBusQueue flow

Describe the bug
I have not tried all consumer, but when trying it with the Azure Service Bus Queue, the data does not come as an array as mentioned in the doc page here https://docs.microsoft.com/en-us/dotnet/api/overview/azure/eventgrid?view=azure-dotnet
Consequently, calling DeserializeEventGridEvents expects to receive an array, but I receive only 1 object.
Expected behavior
Explain how this should work better via the documentation, or provide a better method, or fix the what is being passed in to the queue?
Actual behavior (include Exception or Stack Trace)

Environment:

Microsoft.Azure.EventGrid: 3.2.0
Microsoft.Azure.ServiceBus: 3.1.1

@jfggdl, do we have any updates on this issue?

Hello @jsgoupil .. thanks for reaching out and reporting this issue.
I am not sure if you are reporting the issue against the EventGridSubscriber.DeserializeEventGridEvents() Method (https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.eventgrid.eventgridsubscriber.deserializeeventgridevents?view=azure-dotnet ) or you are hitting this issue when you are trying to deserialize it yourself. From the code snippet above, it seems it is the latter case.
Reported
var evt = JsonConvert.DeserializeObject(requestContent)
while I would expect something like
EventGridEvent[] eventGridEvents = JsonConvert.DeserializeObject<EventGridEvent[]>(requestContent)
In other words, you are missing [] in  and instead you would use <EventGridEvent[]>
Can you please try it out and if this does not answer you question, can you please provide additional information.
thanks

No, it's the first case.
The data coming in is not an array

Deliverying to Service bus queue does not support batching of events since service bus queue itself does not support that. You can try event hub for that matter.
Are you getting specific error when trying to EventGridSubscriber.DeserializeEventGridEvents() ?

I understand that you might only support delivering only 1 event to the service bus, but then your API EventGridSubscriber does not work properly. It expects an array.
Here is the callstack.
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'Microsoft.Azure.EventGrid.Models.EventGridEvent[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'id', line 1, position 6.

   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Microsoft.Azure.EventGrid.EventGridSubscriber.DeserializeEventGridEvents(String requestContent, JsonSerializer jsonSerializer)
   at Microsoft.Azure.EventGrid.EventGridSubscriber.DeserializeEventGridEvents(String requestContent)
   at MyCode

Thanks for the additional info. it is helpful. We are adding this to our backlog and will triage appropriately. thanks.

We added this to our backlog and will address this appropriately.

We added this to our backlog and will address this appropriately.

@ahamad-MS please re-open the issue. External folks don't have any visibility into internal backlogs. Unless there's an associated public issue, which you should link to, this should remail opened.
When the problem is addressed/fixed then it will be appropriate to close this (public) issue. Until then, anyone running into this problem should see that it's in-progress/backlogged. Thank you.

Update: This issue is being handled as part of the Azure Data Plane SDK integration and it is still in the design phase. We will be handling this issue/bug but no ETA for its availability yet.

Just noting that this is not an issue in the new Event Grid SDK that is currently in beta - https://www.nuget.org/packages/Azure.Messaging.EventGrid/4.0.0-beta.2

Just noting that this is not an issue in the new Event Grid SDK that is currently in beta - nuget.org/packages/Azure.Messaging.EventGrid/4.0.0-beta.2

If only the v4 was not a beta 😀

Hello @jsgoupil ... Can you please move to use the newest SDK https://www.nuget.org/packages/Azure.Messaging.EventGrid/4.0.0-beta.2 and let us know if you still hitting the issue?
Thanks

This is a total new package... With no documentation.
Well, one more in the list... you guys change package once a year, seriously?
There are too many packages to choose correctly, you guys should have a documentation on which package to pick because this is absurd.

Microsoft.Azure.EventGrid
Microsoft.Azure.Management.EventGrid
Microsoft.Azure.WebJobs.Extensions.EventGrid
Azure.Messaging.EventGrid

Based on this code
https://github.com/Azure/azure-sdk-for-net/blob/b20c241c4eb82a2636cd03afb7eee795abfe4ecc/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridEvent.cs#L100
It seems that you will handle it.
I'm not updating to your new package though. No doc.
Thanks.

Hello @jsgoupil .. thanks for your feedback and we understand your concern.
FYI, Microsoft.Azure.Management.EventGrid is used for various CRUD management APIs through ARM for Event Grid. These are used for control plane only. Microsoft.Azure.EventGrid and Azure.Messaging.EventGrid are for the data plane operations only. The separation between management/control and data plane is the pattern observed by all Azure services and not specific to Event Grid. Actually, it is a requirement for our team to do so.
As for the new Azure.Messaging.EventGrid.. We are still in the process of authoring/finalizing this new package. We are working on documentation including migration documents. The goal is to ensure the new package addresses all customers feedback and include all new features (as well as fix any existing bugs in the old package).
We appreciate and understand the pain during this period and we are working hard to address this.
thanks

Hello @jsgoupil .. thanks for your feedback and we understand your concern.
FYI, Microsoft.Azure.Management.EventGrid is used for various CRUD management APIs through ARM for Event Grid. These are used for control plane only. Microsoft.Azure.EventGrid and Azure.Messaging.EventGrid are for the data plane operations only. The separation between management/control and data plane is the pattern observed by all Azure services and not specific to Event Grid. Actually, it is a requirement for our team to do so.
As for the new Azure.Messaging.EventGrid.. We are still in the process of authoring/finalizing this new package. We are working on documentation including migration documents. The goal is to ensure the new package addresses all customers feedback and include all new features (as well as fix any existing bugs in the old package).
We appreciate and understand the pain during this period and we are working hard to address this.
thanks


'Verify All Destinations Are Filled' error when only trying to save locally

As above. I cannot download PKGs from any Jamf Cloud instances, I just receive the above error even when everything is configured correctly.

So it turns out I now have to enter my local computer account credentials and specify a destination - I never had to do this before, everything just went to Downloads automatically.
Also, it just spins the little circle logo and doesn't let me actually download any of the visible PKGs.

That does indeed work, thanks 😊 However, it still says 'Upload completed' as though it's tried to send it to the same JSS again.

Issue should be addressed in latest version, v3.3.3.

Issue should be addressed in latest version, v3.3.3.

Wicked, thanks mate I’ll give it a try tomorrow.

@BIG-RAT - Sorted, absolute diamond!

Thanks for the update.


Use smop to convert a list of codes in a folder

Hi Is it possible to convert a list of files in a folder
for example:
folderA/a.m
folderA/folderB/b.m
folderA/c.m
Is there a command to convert a.m, b.m and c.m without state each file name one by one?
Thanks.

The usual shell  globbing works. Try foo*.m  bar/*.m. etc

Collect all the files you need in tar archive, then pass it with -a flag
tar cvf my.tar   my_folder
smop -a my.tar
Take a look at this example
$ wget ftp://ftp.gnu.org/ftp/octave/octave-4.0.2.tar.gz
$ smop -a octave-4.0.2.tar.gz -g '*/scripts/*.m'
$ ls -1 *.py | wc
$ python -m py_compile *.py
$ ls -1 *.pyc | wc
$ wget ftp://ftp.gnu.org/ftp/octave/octave-4.0.2.tar.gz
$ smop -a octave-4.0.2.tar.gz -g '*/scripts/*.m'
$ ls -1 *.py | wc
$ python -m py_compile *.py
$ ls -1 *.pyc | wc


instance scripts syntax fixed

Scripts should be enclosed in " in order to receive arguments properly.

Thanks for catching this.


Report: Unit tests

Would it make sense to have unit test for report.
I'm thinking about making sure a parameter that is not translated and therefore reported appears on the report side.

I think https://github.com/fusor/cpma/pull/214 adds reports for all the components I haven't already done.


LSP support planned?

Thanks for checking out zee! Yes indeed, LSP is at the top of the things I want to add -- I'll leave this as the tracking issue for LSP support.

for LSP support, there's another rust terminal editor the can be a reference: https://github.com/helix-editor/helix


Heroku deployment issue

Hi, I tried to follow the wiki, but it seems not having enough detail for my knowledge.
Context:

I have a S3 bucket with pictures that I want to resize

I just install Thumbd following the wiki, but nothing happen well:
Here is the error:
 { [Error: ENOENT, stat '/bottles/labelPictures/-K1_hi7UEJrXjBN0II00.jpg']
   errno: 34,
  code: 'ENOENT',
  path: '/bottles/labelPictures/-K1_hi7UEJrXjBN0II00.jpg' }

Here is the code I run
var Client = require('thumbd').Client,
client = new Client({
    awsKey: process.env.AWS_KEY,
    awsSecret: process.env.AWS_SECRET,
    awsRegion: process.env.AWS_REGION,
    sqsQueue: process.env.SQS_QUEUE,
    s3Bucket: process.env.BUCKET
});

var destination = '/example/awesome.jpg';

client.upload('/bottles/labelPictures/-K1_hi7UEJrXjBN0II00.jpg', destination, function(err) {
    if (err) {
        console.log(err);
        throw err;
    };
    client.thumbnail(destination, [{suffix: 'small', width: 100, height: 100, background: 'red', strategy: 'matted'}], {
        notify: 'https://callback.example.com', // optional web-hook when processing is done.
        prefix: 'foobar' // optional prefix for thumbnails created.
    });
});

I'm not an AWS expert either, so

I created a new person in IMA to get the credentials
I created a new SQS, will all access
My region is eu-west-1

As there is not much log, I have no idea which way I must investigate.
At least it will help further newbies.

@afaucogney does the user you created in IMA have access to the S3 bucket and to SQS (by default I think there's a chance that IMA creates a user with limited credentials).
CC: @coen-hyde, @taeram, @seratonik, have you been running Thumbd on Heroku recently? does anything jump out at you?

It was not the case, so I added policy about SQS, and checked it (by simulation and with re running on Heroku) but nothing changed. Is there any way to check that connection is made with AWS ?

Le 21 janv. 2016 à 21:05, Benjamin E. Coe<EMAIL_ADDRESS>a écrit :
@afaucogney https://github.com/afaucogney does the user you created in IMA have access to the S3 bucket and to SQS (by default I think there's a chance that IMA creates a user with limited credentials).
CC: @coen-hyde https://github.com/coen-hyde, @taeram https://github.com/taeram, @seratonik https://github.com/seratonik, have you been running Thumbd on Heroku recently? does anything jump out at you?
—
Reply to this email directly or view it on GitHub https://github.com/bcoe/thumbd/issues/105#issuecomment-173692984.

Why are you uploading the files if they are already on S3? The error you have ENOENT means the file is not on your local computer, not S3. If the files are already on S3 you only have to use client.thumbnail to generate new thumbnails of existing files.


GeometryArrayTrait::value() should return an option

Should do a bounds check

As part of https://github.com/geoarrow/geoarrow-rs/pull/235, I'm aligning with the arrow-rs API, which panics if the index is out of range: https://docs.rs/arrow/latest/arrow/array/trait.ArrayAccessor.html#tymethod.value


Project cannot compile on branch step052

Hello!
I'm running Ubuntu 22.04, I tried to build the project on branch step052, using the command in the readme, but I get the following error :

cmake . -B build
-- Using X11 for window creation
-- Configuring done
CMake Error in webgpu/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "webgpu".
CMake Error in webgpu/CMakeLists.txt:
IMPORTED_LOCATION not set for imported target "webgpu".
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Hi Lucas,
Did you close this issue because it ended up working? Otherwise I just updated the branch could you check again?
FTR this repository holds the hopefully most up to date content of the webgpu/ dist: https://github.com/eliemichel/WebGPU-binaries

Hello,
Oh I'm sorry I closed the issue mistakenly. The first error is gone but now there's an issue with the second command :
$ cmake --build build
...
[ 95%] Building CXX object CMakeFiles/App.dir/main.cpp.o
/home/lucas/misc/prog/webgpu/LearnWebGPU-Code/main.cpp: In function ‘int main(int, char**)’:
/home/lucas/misc/prog/webgpu/LearnWebGPU-Code/main.cpp:235:40: error: lvalue required as unary ‘&’ operand
  235 |         layoutDesc.bindGroupLayouts = &(WGPUBindGroupLayout)bindGroupLayout;
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Can you try either
layoutDesc.bindGroupLayouts = &((WGPUBindGroupLayout)bindGroupLayout);

or
layoutDesc.bindGroupLayouts = (WGPUBindGroupLayout*)&bindGroupLayout;

I have mostly tested on Windows so far, sorry that you are the one going through these compiler difference details, shouldn't be a showstoper though! I'll eventually set up some continuous integration like I did here.


⚠ BeyondHD has degraded performance

In 3bc2488, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 2314 ms

Resolved: BeyondHD performance has improved in 421f0a6 after 418 days, 17 hours, 52 minutes.


GltfAsset has internal setters, but Unity is complaining that other classes in other assemblies can't reach them.

Describe the bug
After loading MRTK into Unity, I am faced with an error in the IDE.
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@6e1cf463ea39-1618851698458\Core\Utilities\Gltf\Serialization\Importers\GltfEditorImporter.cs(32,13): error CS0200: Property or indexer 'GltfAsset.GltfObject' cannot be assigned to -- it is read only
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@6e1cf463ea39-1618851698458\Core\Utilities\Gltf\Serialization\Importers\GltfEditorImporter.cs(34,13): error CS0200: Property or indexer 'GltfAsset.Model' cannot be assigned to -- it is read only
To reproduce
Unity 2019.4.22f1
MRKT 2.6.1 Loaded via UPM or Asset package
Loading that Unity version with that asset version. exposed that error on two machines.
At this point in the IDE, the project shows 2 exceptions that won't go away.
Expected behavior
There should be no errors (, at least with compiling/running Unity)
The application should be able to run.
Screenshots

Your setup (please complete the following information)

Unity Version [e.g. 2018.3.11f1]
MRTK Version [e.g. v2.0]

Target platform (please complete the following information)

Unity IDE on PC

Additional context
None.

This was due to a local bug that was hiding the internal visibility, it is not an issue.


Change "latest" angular dependency to avoid shrinkwrap issues

Hi!
In your package.json, you specify the angular dependency with the version of latest. Using the latest version has proven to be problematic because it doesn't seem like npm and the shrinkwrap file can handle resolving the dependencies correctly.
Here are a few issues that explain the issue in a bit more detail:

https://github.com/npm/npm/issues/13496
https://github.com/npm/npm/issues/10142

It also might make more sense to make angular a peer dependency instead of a normal dependency. That way, users of your module are required to also have angular listed as a dependency, but it doesn't lock down the version as harshly as a normal dependency. You can just specify 1.x.x or >= 1.2.0 or whatever minimum requirements you have.
I'd be happy to submit a PR if you let me know how you want to resolve the issue! Thanks for the great work!

Thanks for the info @robinjoseph08! Your suggestion of changing it to a peer dependency looks like a good route to go. A PR would be a big help if you have time.


Patches for origin station

About the PR

Ballistics turret removed in nukie shuttle
Randomized four guaranteed insuls spawnpoints
Replaced PA emitter with a new one (no visual change) but this should fix detection issues.

Why / Balance

Discussion on discord, about here, continued here.
Technical details

n/a
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Removed turret in nukie shuttle:

Replaced PA (exactly the same as before but posting anyway for completeness):

Breaking changes

n/a
Changelog

n/a

Hold off on merging, more requested changes coming.

Merging is now allowed if PR meets the criteria.


[feat][proxy] PIP-250: Add proxyVersion to CommandConnect

PIP #19623
Relates to https://github.com/apache/pulsar/pull/19540
Motivation
In order to get more information about connections, it is helpful for the proxy to supply its version to the broker.
Modifications

Add proxy_version field to the CommandConnect protobuf message
Update proxy and broker to handle this new field

Verifying this change
New tests are added with this PR.
Does this pull request potentially affect one of the following parts:

[x] The binary protocol

This will be submitted as part of a PIP.
Documentation

[x] doc-not-needed

Matching PR in forked repository
PR in forked repository: Skipping since this is only a draft.

I plan to submit a PIP for this PR. I'll leave it in draft mode until we have a PIP.

Since we will start the RC version of 3.0.0 on 2023-04-11, I will change the label/milestone of PR who have not been merged.

The PR of type feature is deferred to 3.1.0
The PR of type fix is deferred to 3.0.1
So drag this PR to 3.1.0

Codecov Report

Merging #19618 (232cbb6) into master (32e677d) will increase coverage by 0.84%.
The diff coverage is 66.27%.

@@             Coverage Diff              @@
##             master   #19618      +/-   ##
============================================
+ Coverage     71.70%   72.55%   +0.84%
- Complexity    31368    32094     +726
============================================
  Files          1848     1853       +5
  Lines        137151   138401    +1250
  Branches      15111    15199      +88
============================================
+ Hits          98338   100410    +2072
+ Misses        30904    30007     -897
- Partials       7909     7984      +75

Flag
Coverage Δ

inttests
24.14% <20.93%> (?)

unittests
72.30% <66.27%> (+0.60%)
:arrow_up:

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

Impacted Files
Coverage Δ

...sar/broker/authorization/AuthorizationService.java
58.00% <0.00%> (+2.80%)
:arrow_up:

...ker/loadbalance/extensions/BrokerRegistryImpl.java
83.33% <ø> (ø)

...apache/pulsar/proxy/server/DirectProxyHandler.java
73.10% <ø> (-0.09%)
:arrow_down:

...rg/apache/pulsar/proxy/server/ProxyConnection.java
57.02% <0.00%> (-0.97%)
:arrow_down:

...rg/apache/pulsar/broker/web/PulsarWebResource.java
64.61% <50.00%> (+0.67%)
:arrow_up:

...a/org/apache/pulsar/proxy/server/ProxyService.java
79.44% <60.86%> (-0.74%)
:arrow_down:

...va/org/apache/pulsar/broker/service/ServerCnx.java
71.32% <92.00%> (+0.04%)
:arrow_up:

...va/org/apache/pulsar/common/protocol/Commands.java
90.88% <100.00%> (+0.42%)
:arrow_up:

...org/apache/pulsar/proxy/server/ProxyClientCnx.java
51.16% <100.00%> (+1.16%)
:arrow_up:

... and 224 files with indirect coverage changes

Docs added here: https://github.com/apache/pulsar-site/pull/531


Use a cancellable handler when loading, storing and refreshing caches

This is a fix for #685. I've used it with success yesterday, but if someone else could test it/review it before I merge, it would be better.

Rebased on the latest code head.


Spevacus: Watch avasystemssignals.com

Spevacus requests the watch of the watch_keyword avasystemssignals\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

avasystemssignals\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Tuples for job names?

If I put together a quick patch to allow job names to be set as tuples, not just atoms, would that be something you'd be happy to pull, in theory?
I'm looking at building a system which would result in effectively user defined jobs that I'd need to be able to delete at a later date. If I rely on atom names I'll run the risk of atom exhaustion eventually, but if I use references I have no effect way to store them in my DB and then find them at a later date it seems.
I've done a really quick PoC and it seems to behave OK.
Or am I barking up the wrong tree and is there a better way?

The current application allows for atoms & references as job names. If you have a grander scheme on how to manage jobs I'd recommend you to use references and then keep some kind of registry.
We allowed for more job name types in the v1 branch, but this was removed in favor of a cleaner interface.
If we were to do the proposed change, this could only be done in v3 since this would pose a breaking change for the storage adapters. v3 is still a longer way to go currently.
I think your problem can be solved using references as names, do you agree with that?

I was having issues storing references outside of elixir (I.e. Postgres) and then reloading them, but perhaps I’ve missed something.
Thanks for the advice and fantastic library ❤

@theangryangel There's a way to serialize / unserialize references:

:erlang.ref_to_list/1 - converts a reference to a charlist
:erlang.list_to_ref/1 - converts a charlist back to a reference

http://erlang.org/doc/man/erlang.html

@theangryangel Do not hesitate to ask again if you're having problems setting things up with this approach.

I'm not really comfortable with having my own registry with names -> refs, as I don't feel like I know enough about quantums internals to be sure I don't get into race conditions between my registry and quantum and even how to do proper cleanup in case of errors in the first place.
If adapters are meant to have a simpler interface than in v1 and a registry is the proposed solution, then I'm wondering why quantum shouldn't be able to do the registry + name conversion leaving the adapter interface the same and enabling to widen the interface for quantum users.


Initial version of Broker / IBBroker classes

This is nowhere near complete, just posting to enable better collaboration on the outstanding tasks.
No testcases so far, I'm not sure if it is reasonable to mock out/simulate the whole TWS interaction
(prod is the new dev).

Two errors to be addressed:

IbPy2 is missing on Win64 in appveyor. Not sure if it is a conda, windows or appveyor issue
Unable to download benchmark data. Might be related to network outage in quandl / yahoo finance

Will look into these issues soon.

The Zipline team is aware of the unable to download benchmark data issue:  https://github.com/quantopian/zipline/issues/1776.

Thanks for merging!


Aman roy's project added.

Great work!

Thanks @hanjiexi .
Give it a star if you really liked. :+1:


Building w/o private externals access

Could not build the controls directory without SNOPT.
I downloaded Gurobi outside of the OH build process, but there were no instructions on how to link the compiler to my external Gurobi installation.
Could not run build  Director without the Controls directory and some Atlas drivers.
Spoke to Russ about setting up OpenHumanoids with a precompiled binary for SNOPT.

Could not build the controls directory without SNOPT.

We're compiling the public version without SNOPT and without Matlab on the Travis build server and it doesn't throw. We do not yet check whether the user has SNOPT and based on that add or remove subdirectories. So the case of a user having matlab but not SNOPT isn't handled in our build process at the moment - thanks for reporting.

I downloaded Gurobi outside of the OH build process, but there were no instructions on how to link the compiler to my external Gurobi installation.

Correct, here's how to do it:
export GUROBI_HOME=[PATH_TO]/gurobi/gurobi562/linux64
export PATH=$PATH:$GUROBI_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GUROBI_HOME/lib
export GRB_LICENSE_FILE=$HOME/gurobi.lic

Could not run build Director without the Controls directory and some Atlas drivers.

Sorry, I haven't tested that and cannot comment. Would you mind sharing the error output? Does it just show a blank/darkgrey screen? If so, press F8 and copy the errors there.

Spoke to Russ about setting up OpenHumanoids with a precompiled binary for SNOPT.

I personally don't know about a timeline or process for this.
Thanks! :)


[ci skip] adding user @yangcal

Hi! This is the friendly automated conda-forge-webservice.
I've added user @yangcal as instructed in #52.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #52

Thanks for adding me add a maintainer.