ready for js-ipfs >= 0.41

close #762

Cool! Can't wait to have a look at this

Getting few errors here, although the tests still pass. It would still be prudent to deal with these before merging.
orbit-db - Multiple Databases (go-ipfs)
Creating databases and waiting for peers to connect
Peers connected
Writing to databases
(node:11352) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:36705/api/v0/pubsub/pub?arg=%2Forbitdb%2FzdpuAyVAAr1erMHdLSmbDBCj1PeiF81vRjSFjsUCWenBRQBUG%2Fcustom-ke
ystore&arg=%5b%7b%22hash%22%3a%22zdpuAs1vQLJH1WdbSzi2jYiHQBCVAEGNFKd9c3AxP8dPFiKP9%22%2c%22id%22%3a%22%2forbitdb%2fzdpuAyVAAr1erMHdLSmbDBCj1PeiF81vRjSFjsUCWenBRQBUG%2fcustom-keystore%22%2c%
22payload%22%3a%7b%22op%22%3a%22COUNTER%22%2c%22key%22%3anull%2c%22value%22%3a%7b%22id%22%3a%22044470d6c853af394fe1afcd240f404edc22b82d9aa2f01b3eb3e7da756a6d3c9958bbf2ad151d6c63499482afc764
5df5d69bf82fe4d40bfd27d147ca6d634396%22%2c%22counters%22%3a%7b%22zdpuAyVAAr1erMHdLSmbDBCj1PeiF81vRjSFjsUCWenBRQBUG%22%3a0%2c%22044470d6c853af394fe1afcd240f404edc22b82d9aa2f01b3eb3e7da756a6d
3c9958bbf2ad151d6c63499482afc7645df5d69bf82fe4d40bfd27d147ca6d634396%22%3a8%7d%7d%7d%2c%22next%22%3a%5b%5d%2c%22refs%22%3a%5b%5d%2c%22v%22%3a2%2c%22clock%22%3a%7b%22id%22%3a%22044470d6c853a
f394fe1afcd240f404edc22b82d9aa2f01b3eb3e7da756a6d3c9958bbf2ad151d6c63499482afc7645df5d69bf82fe4d40bfd27d147ca6d634396%22%2c%22time%22%3a1%7d%2c%22key%22%3a%22044470d6c853af394fe1afcd240f404
edc22b82d9aa2f01b3eb3e7da756a6d3c9958bbf2ad151d6c63499482afc7645df5d69bf82fe4d40bfd27d147ca6d634396%22%2c%22identity%22%3a%7b%22id%22%3a%220361ab7a23d4576085b561e987fd806cdb703d92d290bfdf29
ebb3e17ef8d795d9%22%2c%22publicKey%22%3a%22044470d6c853af394fe1afcd240f404edc22b82d9aa2f01b3eb3e7da756a6d3c9958bbf2ad151d6c63499482afc7645df5d69bf82fe4d40bfd27d147ca6d634396%22%2c%22signatu
res%22%3a%7b%22id%22%3a%223045022100ab27d7721dc101e1c11b187988769d86856d64c77cac8947be95ec2e57ae4e870220079993fc89027904c5f268becf7ade09b47ee3dc9b8a77222a7f5c440ffdb24c%22%2c%22publicKey%22
%3a%223045022100c49692df98a3cbf9e155c9a4984db2a0475efc6e6e580a11a069a8eea11fa0dd02205b7048b7766bd2d0e04721ee1ae79c0f7e5fba8f919ec45dbbe0ce85ec8ced88%22%7d%2c%22type%22%3a%22orbitdb%22%7d%2c
%22sig%22%3a%2230450221009a66663bc795c7c67d0d03bc6efd4d847621c51d59524d2fc6af230a541d3fd60220713dd32e3993f9cebdda06c807de3e3c294471d9eb605a8297dc452075a3c4c4%22%7d%5d failed, reason: socket
 hang up
    at ClientRequest.<anonymous> (/home/mark/Projects/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:321:20)
    at Socket.socketOnEnd (_http_client.js:463:9)
    at Socket.emit (events.js:333:22)
    at endReadableNT (_stream_readable.js:1201:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:11352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a pro
mise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html
#cli_unhandled_rejections_mode). (rejection id: 1297)
(node:11352) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-
zero exit code.

orbit-db - Offline mode (go-ipfs)
(node:11352) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:43753/api/v0/pubsub/pub?arg=%2Forbitdb%2FzdpuAwByhLyKnQeLuMoozZTnaXCMyZRJctnoKBXkVFiWqrNH8%2Fcustom-ke
ystore&arg=%5b%7b%22hash%22%3a%22zdpuArLnGDxxbv8JznHrwYJMyZANp52VTuXvMTbW6p5BAm9TV%22%2c%22id%22%3a%22%2forbitdb%2fzdpuAwByhLyKnQeLuMoozZTnaXCMyZRJctnoKBXkVFiWqrNH8%2fcustom-keystore%22%2c%
22payload%22%3a%7b%22op%22%3a%22COUNTER%22%2c%22key%22%3anull%2c%22value%22%3a%7b%22id%22%3a%2204da6912ed43fcb5ca8bc1cd232fae380c252ec3f71ec1b7dac3ca9baac3fa5574814d8a34796fa09383694e58904f
693591776c06444daa32e8ac84ca0adf0ebc%22%2c%22counters%22%3a%7b%22zdpuAwByhLyKnQeLuMoozZTnaXCMyZRJctnoKBXkVFiWqrNH8%22%3a0%2c%2204da6912ed43fcb5ca8bc1cd232fae380c252ec3f71ec1b7dac3ca9baac3fa
5574814d8a34796fa09383694e58904f693591776c06444daa32e8ac84ca0adf0ebc%22%3a8%7d%7d%7d%2c%22next%22%3a%5b%5d%2c%22refs%22%3a%5b%5d%2c%22v%22%3a2%2c%22clock%22%3a%7b%22id%22%3a%2204da6912ed43f
cb5ca8bc1cd232fae380c252ec3f71ec1b7dac3ca9baac3fa5574814d8a34796fa09383694e58904f693591776c06444daa32e8ac84ca0adf0ebc%22%2c%22time%22%3a1%7d%2c%22key%22%3a%2204da6912ed43fcb5ca8bc1cd232fae3
80c252ec3f71ec1b7dac3ca9baac3fa5574814d8a34796fa09383694e58904f693591776c06444daa32e8ac84ca0adf0ebc%22%2c%22identity%22%3a%7b%22id%22%3a%22id%22%2c%22publicKey%22%3a%2204da6912ed43fcb5ca8bc
1cd232fae380c252ec3f71ec1b7dac3ca9baac3fa5574814d8a34796fa09383694e58904f693591776c06444daa32e8ac84ca0adf0ebc%22%2c%22signatures%22%3a%7b%22id%22%3a%22%3csignature%3e%22%2c%22publicKey%22%3
a%22%3csignature%3e%22%7d%2c%22type%22%3a%22custom%22%7d%2c%22sig%22%3a%22%3csignature%3e%22%7d%5d failed, reason: socket hang up
    at ClientRequest.<anonymous> (/home/mark/Projects/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:321:20)
    at Socket.socketOnEnd (_http_client.js:463:9)
    at Socket.emit (events.js:333:22)
    at endReadableNT (_stream_readable.js:1201:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:11352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a pro
mise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html
#cli_unhandled_rejections_mode). (rejection id: 1299)

orbit-db - Replication (js-ipfs)
    ✓ replicates database of 1 entry (1011ms)
(node:11352) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limi
t
(node:11352) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(node:11352) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limi
t
(node:11352) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(node:11352) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit

orbit-db - Persistency with custom cache (js-ipfs)
    load
(node:11352) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:43891/api/v0/pubsub/pub?arg=%2Forbitdb%2FzdpuAvMYNmLnRuTXGyeeELJSBPExoFtpxQVwJ39GiG2DVTjig%2Forbit-db-
tests&arg=%5b%7b%22hash%22%3a%22zdpuAqkke3NoVFvMxGRTai4z6fSCusJ68X1SF3oGkGQCErnsQ%22%2c%22id%22%3a%22%2forbitdb%2fzdpuAvMYNmLnRuTXGyeeELJSBPExoFtpxQVwJ39GiG2DVTjig%2forbit-db-tests%22%2c%22
payload%22%3a%7b%22op%22%3a%22PUT%22%2c%22key%22%3a%22key1%22%2c%22value%22%3a%5b1%2c2%2c3%2c4%2c5%5d%7d%2c%22next%22%3a%5b%5d%2c%22refs%22%3a%5b%5d%2c%22v%22%3a2%2c%22clock%22%3a%7b%22id%22%3a%2204c584b0983cbdb26096ef50d64378f0fa87fd126b187c3e4ca3974fcc85a62efdc40e93e40ce5a3155fce49b2142c2849068426c91b5e03590eba6dc35e02672a%22%2c%22time%22%3a1%7d%2c%22key%22%3a%2204c584b0983cbdb26096ef50d64378f0fa87fd126b187c3e4ca3974fcc85a62efdc40e93e40ce5a3155fce49b2142c2849068426c91b5e03590eba6dc35e02672a%22%2c%22identity%22%3a%7b%22id%22%3a%220300e595a6103b302043b2bd0de7a$9cb4a1992dfd54cc166edfa0dcdf557f9747%22%2c%22publicKey%22%3a%2204c584b0983cbdb26096ef50d64378f0fa87fd126b187c3e4ca3974fcc85a62efdc40e93e40ce5a3155fce49b2142c2849068426c91b5e03590eba6dc35e02672a%22%2c%22signatures%22%3a%7b%22id%22%3a%223044022060372133d7074d9695553b4fe6b8617e32c145fb93f78afcc5292b73097e3f3e02204d904269eb9d6a3f590b069c070aaaf5991ff1ddd5ad12d6c4d6418c46c50bfc%22%2c%22publicKey%22%3a%22304402200d942fb2d733c851a76d414fcf3c0654a18c1c97c9070448db0dc7d12d88751602205555285e7f2c7f50e761686441ed5bb127756fdae16cb723ef57c2b5f8edc458%22%7d%2c%22type%22%3a%22orbitdb%22%7d%2c%22sig%22%3a%22304402201ed1fb39c04e81b34387faba3400cb13ea79374a8a823f617d527561e24b13770220598f73e872cdf51431c3abaa36d88593b63b5235cbdaec6f66f18ad090744c24%22%7d%5d failed,
reason: socket hang up
    at ClientRequest.<anonymous> (/home/mark/Projects/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:321:20)
    at Socket.socketOnEnd (_http_client.js:463:9)
    at Socket.emit (events.js:333:22)
    at endReadableNT (_stream_readable.js:1201:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:11352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4071)

orbit-db - Replication Status (js-ipfs)
(node:11352) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:40485/api/v0/pubsub/peers?arg=%2Fipfs-pubsub-direct-channel%2Fv1%2FQmTu7C7xtLJ6K8DcVXQfc6iRSzqKnSKn9PF
BpP11N7CNzM%2FQmedvSDnmLtCkkLrVJsMiaRBCNAY9x281QFFwBmq9V9eiW failed, reason: connect ECONNREFUSED <IP_ADDRESS>:40485
    at ClientRequest.<anonymous> (/home/mark/Projects/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:321:20)
    at Socket.socketErrorListener (_http_client.js:432:9)
    at Socket.emit (events.js:321:20)
    at emitErrorNT (internal/streams/destroy.js:84:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:11352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a pro
mise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html
#cli_unhandled_rejections_mode). (rejection id: 7480)

Provisional approval pending on the above comment about the errors. Need to discuss and work through those

I believe this is the list of repos that need to be updated to<EMAIL_ADDRESS>
[ ] https://github.com/orbitdb/orbit-db-counterstore
[ ] https://github.com/orbitdb/orbit-db-docstore
[ ] https://github.com/orbitdb/orbit-db-kvstore
[ ] https://github.com/orbitdb/orbit-db-feedstore
[ ] https://github.com/orbitdb/orbit-db-eventstore

I don't think we need to update orbit-db-feedstore, as it depends on orbit-db-eventstore ~1.7.0.
If we publish orbit-db-eventstore v1.7.1, ~1.7.0 can match it.

Even though you were extremely diligent about backwards-compatibility in orbit-db-store, I still think these need to be minor-versioned so there's no inadvertently getting updates that aren't technically patches

Just the feedstore is left!

Still need to deal with those errors above as well :thinking:

Go ahead and bump the version to 0.24.0-rc.1 on this branch and I'll publish to @next for testing. We still have docs and the CHANGELOG to write. Are you still seeing the aforementioned errors when you test

Yes, even more errors
 orbit-db - Multiple Databases (js-ipfs)
Creating databases and waiting for peers to connect
Peers connected
Writing to databases
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
Waiting for replication to finish
    ✓ replicates multiple open databases (2513ms)

  orbit-db - Offline mode (js-ipfs)
(node:1738) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:38693/api/v0/pubsub/pub?arg=%2Forbitdb%2FzdpuArnYJiLkUbi2Zo6TCwQ9jx6Paf7fySW17B6WHJKLsS9EM%2Fcustom-keystore&arg=%5b%7b%22hash%22%3a%22zdpuAxkXonTRvgiTF4uXPGszp3fAF9BkQHwwenuewjFEatrga%22%2c%22id%22%3a%22%2forbitdb%2fzdpuArnYJiLkUbi2Zo6TCwQ9jx6Paf7fySW17B6WHJKLsS9EM%2fcustom-keystore%22%2c%22payload%22%3a%7b%22op%22%3a%22COUNTER%22%2c%22key%22%3anull%2c%22value%22%3a%7b%22id%22%3a%22047be0a2017559970a95ee8371c87c8192282b7714b093cb1c31df150ec9746d1dfd856acdd099a4642ebd23d667d630a5d9690ddc5220c16ec64ebea8b05f98ec%22%2c%22counters%22%3a%7b%22zdpuArnYJiLkUbi2Zo6TCwQ9jx6Paf7fySW17B6WHJKLsS9EM%22%3a0%2c%22047be0a2017559970a95ee8371c87c8192282b7714b093cb1c31df150ec9746d1dfd856acdd099a4642ebd23d667d630a5d9690ddc5220c16ec64ebea8b05f98ec%22%3a8%7d%7d%7d%2c%22next%22%3a%5b%5d%2c%22refs%22%3a%5b%5d%2c%22v%22%3a2%2c%22clock%22%3a%7b%22id%22%3a%22047be0a2017559970a95ee8371c87c8192282b7714b093cb1c31df150ec9746d1dfd856acdd099a4642ebd23d667d630a5d9690ddc5220c16ec64ebea8b05f98ec%22%2c%22time%22%3a1%7d%2c%22key%22%3a%22047be0a2017559970a95ee8371c87c8192282b7714b093cb1c31df150ec9746d1dfd856acdd099a4642ebd23d667d630a5d9690ddc5220c16ec64ebea8b05f98ec%22%2c%22identity%22%3a%7b%22id%22%3a%2202a04a435fc4ba5702d66bdad8617f66e176f594e066e0d011d42ea66667d8877a%22%2c%22publicKey%22%3a%22047be0a2017559970a95ee8371c87c8192282b7714b093cb1c31df150ec9746d1dfd856acdd099a4642ebd23d667d630a5d9690ddc5220c16ec64ebea8b05f98ec%22%2c%22signatures%22%3a%7b%22id%22%3a%223044022066560ea2764beaf890bc9641380ae00bb47f00f76d07682fa4ce9dbbe6a86a1602201154dc9e471d89e83b70ed2eefde04ad2c8e3efa5e0ac029c9af56a43e13ce26%22%2c%22publicKey%22%3a%223045022100bd9071f28191acb81a7f4d9e679fccc9153b33d20799fe1f25cb588e5412aef60220391d21983397d02f58cfe9b7820dbda66accf10a4e043be3281895b13e0124b4%22%7d%2c%22type%22%3a%22orbitdb%22%7d%2c%22sig%22%3a%2230440220276e7e3fb76bb2aa8914bb24edc1c77efea8831bb7c3e19e3c5d594a5e6ba80002200e9d3e07f46ebf3f465d958adbeb365940f3b37c1d425caa2dfb434d9a39ecd3%22%7d%5d failed, reason: socket hang up
    at ClientRequest.<anonymous> (/home/circleci/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:198:13)
    at Socket.socketOnEnd (_http_client.js:435:9)
    at Socket.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:1738) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1296)
(node:1738) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    ✓ starts in offline mode
    ✓ does not start in offline mode
    ✓ does not start in offline mode - default
    ✓ throws error if no `id` passed in offline mode

  orbit-db - Offline mode (go-ipfs)
(node:1738) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:39339/api/v0/pubsub/pub?arg=%2Forbitdb%2FzdpuAwByhLyKnQeLuMoozZTnaXCMyZRJctnoKBXkVFiWqrNH8%2Fcustom-keystore&arg=%5b%7b%22hash%22%3a%22zdpuAyc9BQxT25j4ThiU4xvC93p4Buz4r7eRuzdTvzn8VhGz8%22%2c%22id%22%3a%22%2forbitdb%2fzdpuAwByhLyKnQeLuMoozZTnaXCMyZRJctnoKBXkVFiWqrNH8%2fcustom-keystore%22%2c%22payload%22%3a%7b%22op%22%3a%22COUNTER%22%2c%22key%22%3anull%2c%22value%22%3a%7b%22id%22%3a%22042428dd95dd6990470424afcce7a820f26d841ece46c4e4aa5687356d18aece09cdd67347e2c15ae9c91c81bcbbc146764a0990024d01f8dd5cdde03929252ba8%22%2c%22counters%22%3a%7b%22zdpuAwByhLyKnQeLuMoozZTnaXCMyZRJctnoKBXkVFiWqrNH8%22%3a0%2c%22042428dd95dd6990470424afcce7a820f26d841ece46c4e4aa5687356d18aece09cdd67347e2c15ae9c91c81bcbbc146764a0990024d01f8dd5cdde03929252ba8%22%3a8%7d%7d%7d%2c%22next%22%3a%5b%5d%2c%22refs%22%3a%5b%5d%2c%22v%22%3a2%2c%22clock%22%3a%7b%22id%22%3a%22042428dd95dd6990470424afcce7a820f26d841ece46c4e4aa5687356d18aece09cdd67347e2c15ae9c91c81bcbbc146764a0990024d01f8dd5cdde03929252ba8%22%2c%22time%22%3a1%7d%2c%22key%22%3a%22042428dd95dd6990470424afcce7a820f26d841ece46c4e4aa5687356d18aece09cdd67347e2c15ae9c91c81bcbbc146764a0990024d01f8dd5cdde03929252ba8%22%2c%22identity%22%3a%7b%22id%22%3a%22id%22%2c%22publicKey%22%3a%22042428dd95dd6990470424afcce7a820f26d841ece46c4e4aa5687356d18aece09cdd67347e2c15ae9c91c81bcbbc146764a0990024d01f8dd5cdde03929252ba8%22%2c%22signatures%22%3a%7b%22id%22%3a%22%3csignature%3e%22%2c%22publicKey%22%3a%22%3csignature%3e%22%7d%2c%22type%22%3a%22custom%22%7d%2c%22sig%22%3a%22%3csignature%3e%22%7d%5d failed, reason: socket hang up
    at ClientRequest.<anonymous> (/home/circleci/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:198:13)
    at Socket.socketOnEnd (_http_client.js:435:9)
    at Socket.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:1738) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1298)
    ✓ starts in offline mode
    ✓ does not start in offline mode
    ✓ does not start in offline mode - default
    ✓ throws error if no `id` passed in offline mode

 orbit-db - Replicate and Load (js-ipfs)
    two peers
Waiting for peers...
Found peers
Writing to database...
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
Done
      ✓ replicates database of 100 entries and loads it from the disk (2226ms)

orbit-db - Replication (js-ipfs)
    ✓ replicates database of 1 entry (1004ms)
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
    ✓ replicates database of 100 entries (970ms)
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
    ✓ emits correct replication info (1016ms)

Writing 178 / 512 Writing 409 / 512 Writing 512 / 512 Duration: 1602 ms
    ✓ emits correct replication info on fresh replication (2704ms)
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit
    ✓ emits correct replication info in two-way replication (1387ms)

orbit-db - Replication Status (js-ipfs)
(node:1738) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:42153/api/v0/pubsub/peers?arg=%2Fipfs-pubsub-direct-channel%2Fv1%2FQmVy9XCCSS4VJVgyitnQZvV2SuSCFXD6siLqwUtowFEFQH%2FQmazdoYBN7xGCYf9YRRoY5wA6rtrMNeQumnuUHdjNCajuW failed, reason: connect ECONNREFUSED <IP_ADDRESS>:42153
    at ClientRequest.<anonymous> (/home/circleci/orbitdb/orbit-db/node_modules/ipfs/node_modules/node-fetch/lib/index.js:1455:11)
    at ClientRequest.emit (events.js:198:13)
    at Socket.socketErrorListener (_http_client.js:401:9)
    at Socket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:1738) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7309)
    ✓ has correct initial state
    ✓ has correct replication info after load
    ✓ has correct replication info after close
    ✓ has correct replication info after sync
    ✓ has correct replication info after loading from snapshot

Ok, let me see what I can do with those before I publish

this test may help, showing all added listeners for each event

(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicate.progress listeners added. Use emitter.setMaxListeners() to increase limit
(node:1738) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 replicated listeners added. Use emitter.setMaxListeners() to increase limit

I think we can simply ignore those things, only occur when receiving headers from the network.
Once headers are synchronized, listeners can be removed properly.

Adding concurrency limit on the _onMessage callback may be a better way, but sadly tests failed

What's the status of this? @Xmader @aphelionz
Any support you need?

@oed @Xmader We're lagging a bit now, as I 0.42.0 is out now. Wondering if we should pivot to support that or the next 0.42.1 patch release when it happens.

According to its changelog, js-ipfs 0.42.0 did not change much from 0.41.
I don't think we need to do anything.

If that's the case then why not support the latest? Is that what you mean?

If that's the case then why not support the latest? Is that what you mean?

Yes

Ok great, we can republish all the transient dependencies as patch versions

Pinging here again :) Ipfs was updated to 0.43 but I believe that it should still work fine (only breaking changes to the http endpoint api).

Really need this!

@Xmader can you fix the conflicts and re-run the tests?

@Xmader can you fix the conflicts and re-run the tests?

It says This branch has no conflicts with the base branch.

Sorry, rebase?

Adapting the packages from the bottom up has begun! I'm doing a sweep of all of them and fixing stuff as I go. Check out https://github.com/orbitdb/orbit-db-test-utils/pull/11

Any progress?  This is really screwing us right now:  https://github.com/ipfs/js-ipfs/issues/2986

I think a reasonable ETA on this is sometime next week

Any latest status, thanks?

Afaik this PR is outdated, and superseded by #794.
js-ipfs shouldn't be included via orbit-db to be bundled because its only a dev dependency, not an actual dependency.

@dkent600 also there is an orbit-db@next npm tag that points to the latest release candidate that you can use

@phillmac Thanks for your response.

js-ipfs shouldn't be included via orbit-db to be bundled because its only a dev dependency, not an actual dependency.

It seems that IPFS will no longer be a dependency at all, according to https://github.com/orbitdb/orbit-db/pull/794/files:

What issues are you seeing if you update the 3box dep to ipfs >=0.41?

I don't work for 3box, am just waiting for you to release the fix, and for 3box to pick it up.
The reason the devDependency is relevant is because the problem occurs when Heroku, in creating a review app, tries to copy all (dev)dependencies and ends up creating a "slug" that exceeds Heroku's max size limit, because of the problem in IPFS's packaging.

js-ipfs will be transitively included via orbit-db-test-utils... is that not ok?

js-ipfs will be transitively included via orbit-db-test-utils... is that not ok?

Should be fine as long as it is v >= 0.41

Yup, it's ^0.43.0 and ^0.5.0

Any ETA on https://github.com/orbitdb/orbit-db/pull/794/files ?

Still working through some pretty significant issues, so if you can use @next for now that would be awesome. I'll write an update in that thread to let folks know where I'm at

Thanks @aphelionz I think we will prepare for the update using @next and release it whenever you get the change to release the new version. What are the issues you are seeing? In orbitdb itself or the test suite?

Nice timing @oed. Just pinged you in #794

Closing this as we are up to 0.46 now. Thank you for the effort @Xmader !!


Question about train list in the code

I've downloaded the doc3d dataset and diw dataset and tried to train. But I  find that the train list (doc3d_trn.txt in the code) doesn't match the doc3d dataset, most of the data can't be found in the doc3d dataset.

Could you please let me know how many images you are missing in your downloaded dataset? What are the mismatched image filenames look like? There might be some naming convention issues...
I did some data scale based ablation studies in the supplementary and after 32K training images, the improve is becoming marginal.
The total number of images looks legit to me...As I directly pulled the data from our server, there might be subtle difference (tho unlikely) from the one you downloaded from.

Thanks for your reply. I guess it's just a name convention problem. I've generated a new train list.

I still have another question about bgtex.txt. I guess you use the same data augmentation as  DewarpNet (replace the background with a texture image). Could you tell me the increase in using this strategy?

I still have another question about bgtex.txt. I guess you use the same data augmentation as DewarpNet (replace the background with a texture image). Could you tell me the increase in using this strategy?

Yep the same augmentation.
I am not sure about the improvement brought by this as I have not ablated this part lol.
I was using black background synthetic training images in my docunet project and I found the trained model could not generalize to real world images with non-black background at all...so I have been using this techniques in all the following projects.

Thank you for sharing the experiment detail!


Multicast Relay on Raspberry Pi - HomeKit Issues (Detailed Breakdown)

SPOILER EDIT
It seems that I was able to get everything working with SETUP 6. I am going to leave the entire post up as it may be a good guide for others.
However, I am still experiencing issues with one device that will only sporadically work via Multicast-Relay. I would still like to get to the bottom of this. Details can be found in SETUP 1 and SETUP 6. I am also trying to understand a mystery of ifFilter outlined in SETUP 7. Any help on those would still be appreciated!
ORIGINAL POST
I have been trying to get Multicast Relay to work for almost two years. I still can not get it to work properly and it's driving me insane. I am hoping that the community may have some answers for me. To not waste anyone's time I'm going to try to be very detailed.
OBJECTIVE
I have three VLANS. VLAN 10, 20, and 30. I would like to send mDNS traffic from VLAN 30 to both VLAN 10 and VLAN 20. I do not want VLAN 10 and VLAN 20 to send mDNS traffic to each other.
NETWORK SETUP
Unifi Dream Machine Pro SE
UniFi OS v2.5.11
Network App v7.2.94
NETWORKS:

<IP_ADDRESS> - Main Network
<IP_ADDRESS> - VLAN 10 (Home)
<IP_ADDRESS> - VLAN 20 (IOT Devices)
<IP_ADDRESS> - VLAN 30 (Office)

SETTINGS:

Settings → Networks: Multicast DNS disabled
Settings → Networks: IGM Snooping disabled
Settings → Wifi → Each Wifi Network: Multicast Enhancement disabled
Settings → Wifi → Each Wifi Network: Multicast and Broadcast Control disabled

DEVICES
The following mDNS enabled devices are on each VLAN. I will only look at "_airplay._tcp", "_hap._tcp", and "_home-assistant._tcp" devices in the Discovery App. I will use these to test the various setups.
VLAN10
Living Room ATV (_airplay._tcp) - <IP_ADDRESS>:7000 - LAN
VLAN20
Bedroom ATV (_airplay._tcp) - <IP_ADDRESS>:7000 - WLAN
VLAN30
Homebridge (_hap._tcp) - <IP_ADDRESS>:51407 - LAN
Hue BCN (_hap._tcp) - <IP_ADDRESS> - LAN
Sensibo (_hap._tcp) - <IP_ADDRESS>:80 - WLAN
Shapes (_hap._tcp) - <IP_ADDRESS>:6517 - WLAN
Barcelona (_home-assistant._tcp) - <IP_ADDRESS>:8123 - LAN
OBSERVATIONS:
Using the Discovery App I can confirm that no mDNS devices from any VLANS show up in the other VLANS. They are only visible in their own VLAN. This is what I would expect.
RASPBERRY PI SETUP
I have decided to run MulticastRelay on a Raspberry Pi instead of the DMPSE itself. I don't want things to get messed up during UnifiOS upgrades and I also couldn't find great resources to get this running on the SE.
RASPBERRY PI
Raspberry Pi 4
Bullseye 32bit (without Desktop)
NSTALL DOCKER

"curl -sSL https://get.docker.com | sh"  → to install docker
"sudo usermod -aG docker ${USER}" → to add permission to pi user.

VLAN CONFIGURATION

"sudo apt-get install vlan" → to install VLAN support
Created "vlan" file in /etc/network/interfaces.d with the following contents:

auto eth0.10
iface eth0.10 inet manual
  vlan-raw-device eth0

auto eth0.20
iface eth0.20 inet manual
  vlan-raw-device eth0

auto eth0.30
iface eth0.30 inet manual
  vlan-raw-device eth0

auto eth0.60
iface eth0.60 inet manual
  vlan-raw-device eth0

"Sudo reboot" → restart pi
"Ifconfig" → to confirm the VLAN networks show up:

MULTICAST RELAY SETUPS
Next I am going to show the various ways I tried to achieve my objective.
SETUP 1 -  BASIC CONFIGURATION
The most basics Multicast-Relay setup to test functionality. Here I simply ask Multicast Relay to transmit information between all three VLANS.
INSTALL COMMAND
docker run -it -d \
--network=host \
--name multicast-relay \
--restart=always \
-e OPTS="--verbose" \
-e INTERFACES="eth0.10 eth0.20 eth0.30" \
docker.io/scyto/multicast-relay

OBSERVATION
While being connected to VLAN10 discovery app now shows the following devices:

Here I notice a small issue, as my "Sensibo" device does not show up. I can see it, as soon as I switch to VLAN30:

I have seen the Sensibo device show up sporadically on VLAN10 but when I'm connected to VLAN30 (where it resides) it permanently shows up in Discovery App. It also sporadically stops responding in HomeKit. When using the build in "Multicast DNS" service of the Dream Machine Pro this device is also broadcast to all VLANS. For some reason it does not work with multicast-relay.
Is there any way to troubleshoot this?
LOGS
I let the container run for about 15 minutes to create the log file:
log1.txt
SETUP 2 - USING IFFILTER OPTION
Next I will try to use ifFilter.json to broadcast VLAN 30 to VLAN 10 and VLAN 20.
 If I don't include VLANS 10 and 20 in the ifFilter they will broadcast to all networks according to @alsmith.
OBSERVATION
This is where things get really strange. VLAN10 and VLAN20 don't seem to talk to each other so that is good. However, only the Homebridge from VLAN30 show up in VLAN10 (via Discovery App):

LOGS
log2.txt
From the logs I notice a few things:

No devices from VLAN 10 or 20 are transmitting. This is as expected.
My Hue (<IP_ADDRESS>) almost exclusively transmits SSDP data now. It no longer transmits any mDNS data. After I restarted the Hue bridge around 15:33h and 15:55h some mdns data seems to have been transmitted briefly. It then went back to just SSDP. In Setup 1 it continuously keeps sending mDNS data.
Homebridge (<IP_ADDRESS>) is the only device that regularly keeps sending mDNS info
Sensibo (<IP_ADDRESS>) only sent mDNS info once.

Thoughts
What seems to happen in Setup 2 is that all of a sudden mDNS data from most of my VLAN30 devices is no longer being transmitted. Only one device (Homebride <IP_ADDRESS>) continuously keeps transmitting mDNS data. Why would including the ifFilter option have any impact on this?'
I am wondering if it is perhaps a problem that the HomeKit Hub (Apple TV <IP_ADDRESS> on VLAN 10) can't send mDNS information back to VLAN30 in this setup. I don't know enough about HomeKit to know if mDNS must be sent both ways.
SETUP 6
I am now trying something that I've tried last year but it didn't work back then. However, it appears to work now.
INSTALL COMMAND
docker run -it -d \
--network=host \
--name multicast-relay \
--restart=always \
--mount type=bind,src=/home/pi/multicast-relay,dst=/multicast-relay-config \
-e OPTS="--verbose --ifFilter=/multicast-relay-config/ifFilter.json" \
-e INTERFACES="eth0.10 eth0.20 eth0.30" \
docker.io/scyto/multicast-relay

IF FILTER
{
"<IP_ADDRESS>/24": ["eth0.30"],
"<IP_ADDRESS>/24": ["eth0.30"],
"<IP_ADDRESS>/24": ["eth0.10", "eth0.20"]
}
RESULTS
This seems to work! I can not see mDNS traffic between VLANS 10 and 20 (as intended) but mDNS information is being transmitted between VLAN30 to VLAN10 and VLAN 30 to VLAN20 (bi directional). Last year this did not work as traffic from VLAN 10 and 20 would be sent to VLAN 30 and then VLAN30 turned around and sent it back to VLANS 10 and 20 basically ending in a scenario where VLAN 10 and VLAN 20 would end up sharing mDNS information. I don't know why this works now but it works.
However, the Sensibo devices is still intermittent. This is the same issue I'm seeing in Setup 1 above.
LOGS
log6.txt
SETUP 7
At this point I just want to make sure I understand everything better so I can troubleshoot in the future. So I am changing the iFFilter from Setup 6 to:
{
"<IP_ADDRESS>/32": ["eth0.30"],
"<IP_ADDRESS>/24": ["eth0.10"],
"<IP_ADDRESS>/24": ["eth0.20"],
"<IP_ADDRESS>/24": ["eth0.10", "eth0.20"]
}

Here I am basically trying to combine Setup 2 and 6. I am telling VLAN 10 to only transmit to VLAN 10 and VLAN 20 only to VLAN 20. This did not work in Setup 2. However, here I am also adding this line:
"<IP_ADDRESS>/32": ["eth0.30"]
With that I am trying to tell the relay to take JUST relay traffic from my AppleTV HomeKit up on <IP_ADDRESS> and send that to VLAN 30.
However, from the logs I can see that no information from <IP_ADDRESS> is being sent:
log7.txt
So I still don't think I understand the ifFilter fully. Why doesn't this work?
SUMMARY
I was able to solve this with Setup 6. However, even in this setup one of my devices (Sensibo) only seems to transmit mDNS traffic sporadically. It comes and goes. So there is still something going on here that needs to be figured out.
I also don't think I understand ifFilter fully. In Setup 7 I am trying to send all traffic from VLAN 10 to itself BUT send traffic from one specific ip address (<IP_ADDRESS>) to VLAN 30. This does not seem to work. Why?
So the following questions remain:

Why is one of my devices <IP_ADDRESS> only working sporadically in Setup 1 and Setup 6 when everything else seems to work? It shows up in the Discovery App when connected to its native VLAN 30 but only shows up sporadically on the VLANS I relay to. The Sensibo device also works perfectly when using the Multicast DNS service of the Dream Machine.

Why does the ifFilter logic in Setup 7 not work? What am I doing wrong here?

Hey. Your breakdown helped me and all is working. Quick question. Is there any advantage of using the Multicast relay mDNS vs Unifi mDNS?

Hey. Your breakdown helped me and all is working. Quick question. Is there any advantage of using the Multicast relay mDNS vs Unifi mDNS?

I’m glad it helped. I eventually gave up since it never 100% worked for me.
I guess the theoretical benefit is that you can be more granular. The Unifi mDns broadcasts to all selected VLANS.

nice write up, thanks!
one thing i will say is many clients don't purely use multicast traffic to do connections they sometimes use unicast for certain functions too (this is the case with sonos).
so your issue may go beyond normal mDNS multicast to other multicast group protocols that do discover like SSDP or even to unicast protocols
k

nice write up, thanks!
one thing i will say is many clients don't purely use multicast traffic to do connections they sometimes use unicast for certain functions too (this is the case with sonos).
so your issue may go beyond normal mDNS multicast to other multicast group protocols that do discover like SSDP or even to unicast protocols
k

Yes this is absolutely possible. I just know when I turn on the Unifi mdns all my devices work. When I use multicast-relay it’s intermittent. Maybe Unifi mdns does more than just mdns?

Wait so did you ever get this running ? I have a UDM Pro and trying to set up a very similar network it does not work. I can not get Sonos to work across vlans for the life of me. Lots of older info that doesn't seem to apply anymore. Any help would be greatly appreciated.

Wait so did you ever get this running ? I have a UDM Pro and trying to set up a very similar network it does not work. I can not get Sonos to work across vlans for the life of me. Lots of older info that doesn't seem to apply anymore. Any help would be greatly appreciated.

I got this running on my raspberry pi 4 using steps mentioned in the write up. I specifically did this for my Sonos devices across vlans. I had the multicast relay working on my old UDM Pro (pre-v2) using podman. I now have a UXG pro and since this doesn't apply anymore the RPI4 route was the way to go.

nice write up, thanks!
one thing i will say is many clients don't purely use multicast traffic to do connections they sometimes use unicast for certain functions too (this is the case with sonos).
so your issue may go beyond normal mDNS multicast to other multicast group protocols that do discover like SSDP or even to unicast protocols
k

Yes this is absolutely possible. I just know when I turn on the Unifi mdns all my devices work. When I use multicast-relay it’s intermittent. Maybe Unifi mdns does more than just mdns?

mdns isn't all multicast (its just a discovery protocol)
multicast relay relays specific groups of multicast  (you can add additional multicast groups, it's also a relay not a router or proxy)
UI's mdns toggle IIRC does more than just mdns too...
i am hoping the new IGMP proxy feature of OS3 removes the need for any of this container (i only built it because i was annoyed by the daily occurrence of people asking about sonos, lol)

Wait so did you ever get this running ? I have a UDM Pro and trying to set up a very similar network it does not work. I can not get Sonos to work across vlans for the life of me. Lots of older info that doesn't seem to apply anymore. Any help would be greatly appreciated.

the way the sonos works is (IIRC) the client uses multicast to find the server, the server then makes a unicast connection back to the client (this is first time only) as such you need to make sure you have enough firewall ports open from the VLAN where the sonos device is back to the LAN (aka a firewall rule that lets the sonos contact any client it wants.... at which point you have to ask WTF was the point fo putting it on a VLAN... lol)  so you should always start with zero traffic being blocked between VLANS/LAN get stuff working and then build up rules
(note the one time discover unicast issue can make this container look unreliable - it isn't, it is the sonos behavior changes)
of course you may have a different issue entirely!


Turkish Lira unicode character

I recommend adding the Turkish Lira Unicode character as it will be more informative than just TL and will also look great on recipes.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds Turkish lira Unicode character instead of TL
What is the current behavior? (You can also link to an open issue here)
Shows TL instead of the Lira symbol
What is the new behavior (if this is a feature change)?
This feature will change the current TL to ₺
Does this PR introduce a breaking change?
NO

I signed it!


Record resolving in vcs system

Problem
I have multiple databases initialized at the same baseline state (with docker, used for ci&test). If I want to correctly apply migrations after baseline, as I understand, I need to run npx prisma migrate resolve --applied 0_init for every database.
Suggested solution
Based on the assumption that all database should be in the same state, can we just add something like "applied migrations" in migration_lock.toml, so that resovling can be recorded in vcs like git and easily applied among different databases?

Ongoing discussion: https://github.com/prisma/prisma/discussions/23610 Please don't create both discussion and issue.


Container level presentation

Not sure why this requires a second pull request.

This is already completed. Unsure why there was a second PR.


Add template to web.xml in accountrecoveryendpoint

Is your suggestion related to an experience ? Please describe.
Need to template web.xml in the accountrecoveryendpoint
Describe the improvement
Templating web.xml will help to change the value from the deployment.toml it self

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


add option to set NumericInput as controlled component via value

Coverage decreased (-1.1%) to 92.353% when pulling b52d7c3c764ca32df337e6044d4299bc9fbef863 on brucebinary:master into 7abe16335060139e4e1fb79146de60cfa6eff600 on binary-com:master.

@ashkanx @aminroosta  Please review and release this. It is needed for https://github.com/binary-com/binary-next-gen/pull/705


wren_core.h references IO.write (which is a Lua thing, not Wren thing)

// There is one limitation, though. Methods written in C cannot call Wren ones.
// They can only be the top of the callstack, and immediately return. This
// makes it difficult to have primitive methods that rely on polymorphic
// behavior. For example, `IO.write` should call `toString` on its argument,
// including user-defined `toString` methods on user-defined classes.

Is that intentional?  I suspect that dates from an earlier version of Wren which named System to IO?  Not sure.  Or maybe it just assumes the reader knows Lua?

Yes I think it's referring to System.write there.

The message may still be dated however, since system.write is (presumably
intentionally to solve this?) implemented in wren_core.wren.
Donno. Regardless, thanks for the reply.
On Sat, Jun 12, 2021 at 9:47 AM Josh Goebel @.***>
wrote:

Yes I think it's referring to System.write there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wren-lang/wren/issues/1039#issuecomment-860078648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADU2TNOKO4G5XGDDFYHNPDTSOFQPANCNFSM46SZED4A
.

I don't think the message is not-dated (just the symbol name)... it's talking about this very thing explicitly.  In core we'd prefer to call toString from C to follow the "as much C as possible" rule but we can't do that in this single case because re-entrancy could bite us - so it must be done on the Wren side instead.
Presumably in the future if this limitation was removed then this would be moved out of Wren and into the C side (that's how I read the comment).

System.write() was IO.write() in the past, renamed in 58e4d266487f9e9eb7fdec79582ab1ac80fbc7bb.


Self-moves break several sorting algorithms

I tweaked the move_only test in the test suite to also check that self-moves don't happen. It is reasonable to require that no self-move happens when sorting, and thus to support types for which self-move is an error/might destroy the value. This matters because even std::string might destruct its value on a self-move. The result is a bit saddening, I will at least have to fix the following sorters:

[x] block_sorter (at least with a fixed buffer of size 0)
[x] drop_merge_sorter (see also adrian17/cpp-drop-merge-sort#4)
[x] quick_merge_sorter
[x] selection_sorter

In the meantime I'll be marking the test as [!mayfail]. It's not a regression: we simply never tried to check that self-move worked.
Note: see the comments below to understand the striked-through bullet items.

More on this: a note in Swappable actually makes it clear that the two operands of swap(t1, u1) can denote the same object:

[ Note: t1 and u1 can denote distinct objects, or the same object. — end note ]

This means that ensuring that the expression using std::swap; swap(x, x); is the responsibility of the author of the class whose x is an instance, and that generic algorithms can assume that the expression just works and does the right thing. There are still no guarantees for self-move, even for standard library types (even though they should soon be guaranteed to leave the self-moved object in a valid but unspecified state, meaning that assigning to such an object is still a valid operation).
In our case, it means that we need to:

[ ] Change the move_only type in the test suite by adding an ADL-found swap operation to it which doesn't throw an exception on self-swap.
[ ] Remove the code that makes selection_sort safe against self-swap.
[ ] Document in the library introduction the expected semantics for self-move and self-swap, which is: algorithms expect self-swap to be a valid operation and rely on it, but otherwise strive to avoid raw self-moves. Mention the Swappable concept.

it's worth noting that if self-move are eventually guaranteed to leave an object in a valid but unspecified state, it might be safe to perform "reference-rotation" operations on a same object (swap just rotates the values of two objects).

Everything item in this issue has been fixed, it was almost fast. Closing the issue.


spleen_ct_segmentation doesn't save tensorboard or models during multi-gpu training

Describe the bug
When running with torchrun command, no tensorboard or models training are saved.
To Reproduce
Run using
torchrun --standalone --nnodes=1 --nproc_per_node=2 -m monai.bundle run training --meta_file configs/metadata.json --config_file "['configs/train.json','configs/multi_gpu_train.json']" --logging_file configs/logging.conf

No eval folder is generated.
Expected behavior
tb and models should be saved.
Screenshots
Folder structure after completed training
ls -1
configs
docs
models

Environment
monai 1.0.0 container
root@3473155:/opt/monai# python -c 'import monai; monai.config.print_debug_info()'
================================
Printing MONAI config...
================================
MONAI version: 1.0.0
Numpy version: 1.22.4
Pytorch version: 1.13.0a0+d321be6
MONAI flags: HAS_EXT = True, USE_COMPILED = False, USE_META_DICT = False
MONAI rev id: 170093375ce29267e45681fcec09dfa856e1d7e7
MONAI __file__: /opt/monai/monai/__init__.py

Optional dependencies:
Pytorch Ignite version: 0.4.10
Nibabel version: 4.0.2
scikit-image version: 0.19.3
Pillow version: 9.0.1
Tensorboard version: 2.9.1
gdown version: 4.5.1
TorchVision version: 0.14.0a0
tqdm version: 4.64.0
lmdb version: 1.3.0
psutil version: 5.9.1
pandas version: 1.4.3
einops version: 0.4.1
transformers version: 4.21.3
mlflow version: 1.28.0
pynrrd version: 0.4.3

For details about installing the optional dependencies, please visit:
    https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies

================================
Printing system config...
================================
System: Linux
Linux version: Ubuntu 20.04.4 LTS
Platform: Linux-5.4.0-109-generic-x86_64-with-glibc2.10
Processor: x86_64
Machine: x86_64
Python version: 3.8.13
Process name: python
Command: ['python', '-c', 'import monai; monai.config.print_debug_info()']
Open files: []
Num physical CPUs: 40
Num logical CPUs: 80
Num usable CPUs: 80
CPU usage (%): [8.8, 12.1, 9.3, 16.0, 27.0, 21.4, 13.0, 11.2, 16.7, 23.3, 15.8, 24.4, 10.5, 24.9, 24.6, 30.2, 19.1, 25.2, 23.6, 99.2, 5.0, 6.5, 17.1, 16.9, 15.1, 11.7, 8.4, 9.3, 52.5, 24.7, 40.1, 38.8, 13.2, 11.7, 6.7, 7.9, 27.2, 17.7, 23.9, 15.0, 61.5, 8.4, 8.0, 18.1, 7.2, 8.8, 7.2, 7.5, 8.0, 7.6, 9.9, 9.6, 11.1, 10.0, 15.8, 9.6, 9.8, 18.7, 17.4, 9.4, 15.6, 13.5, 5.1, 5.3, 13.9, 42.9, 48.3, 31.0, 8.1, 6.7, 5.9, 4.8, 6.5, 6.9, 7.5, 5.8, 6.7, 7.0, 7.2, 10.2]
CPU freq. (MHz): 2684
Load avg. in last 1, 5, 15 mins (%): [18.8, 20.6, 20.2]
Disk usage (%): 77.1
Avg. sensor temp. (Celsius): UNKNOWN for given OS
Total physical memory (GB): 503.8
Available memory (GB): 457.5
Used memory (GB): 40.4

================================
Printing GPU config...
================================
Num GPUs: 4
Has CUDA: True
CUDA version: 11.7
cuDNN enabled: True
cuDNN version: 8500
Current device: 0
Library compiled for CUDA architectures: ['sm_52', 'sm_60', 'sm_61', 'sm_70', 'sm_75', 'sm_80', 'sm_86', 'compute_86']
GPU 0 Name: Tesla V100-SXM2-16GB-N
GPU 0 Is integrated: False
GPU 0 Is multi GPU board: False
GPU 0 Multi processor count: 80
GPU 0 Total memory (GB): 15.8
GPU 0 CUDA capability (maj.min): 7.0
GPU 1 Name: Tesla V100-SXM2-16GB-N
GPU 1 Is integrated: False
GPU 1 Is multi GPU board: False
GPU 1 Multi processor count: 80
GPU 1 Total memory (GB): 15.8
GPU 1 CUDA capability (maj.min): 7.0
GPU 2 Name: Tesla V100-SXM2-16GB-N
GPU 2 Is integrated: False
GPU 2 Is multi GPU board: False
GPU 2 Multi processor count: 80
GPU 2 Total memory (GB): 15.8
GPU 2 CUDA capability (maj.min): 7.0
GPU 3 Name: Tesla V100-SXM2-16GB-N
GPU 3 Is integrated: False
GPU 3 Is multi GPU board: False
GPU 3 Multi processor count: 80
GPU 3 Total memory (GB): 15.8
GPU 3 CUDA capability (maj.min): 7.0

Additional context
n/a

Hi @yiheng-wang-nv ,
Could you please help confirm and fix the issue in model-zoo?
Thanks in advance.

Hi @holgerroth ,
I think maybe your bundle_root in the config is not correct?
Thanks.

Thanks. I confirmed it's working with spleen_ct_segmentation_v0.3.7. Likely the bundle_root was misconfigured as suggested by @Nic-Ma. Closing this now.


Items not appended using momentum/inertia scroll on iOS

When showing scrolling through a collection on iOS, new items are not added during momentum/inertia scrolling. As soon as the finger leaves the screen/mouse/trackpad, no new items are added. I'm assuming this has to do with scroll events not being fired once the screen is not being touched.
Is there any known fix for this issue?

@jcypret I'm assuming you are referring to a cordova app?

@runspired Actually, yes! I'm working on a Cordova app. Do I need to configure things differently with that in mind?

@jcypret you need either something like iscroll or to upgrade to wkWebView

We built yapplabs/ember-virtual-scrollkit on top of ember-collection to
solve this problem in UIWebViews. It is unfortunately not well-documented
yet.
On Wednesday, February 24, 2016, Chris Thoburn<EMAIL_ADDRESS>wrote:

@jcypret https://github.com/jcypret you need either something like
iscroll or to upgrade to wkWebView
—
Reply to this email directly or view it on GitHub
https://github.com/emberjs/ember-collection/issues/105#issuecomment-188472058
.

@runspired @lukemelia Thanks for the recommendations! I ended up going with wkWebView and it worked like a charm!


Drop event not delivered on Xfce

I am currently working on a computer running Debian 9.0 (stretch) with the XFCE desktop environment.  I have tested many GLFW callbacks and the only one I am seeing issues with is glfwSetDropCallback.  Nothing seems to happen with it, I can't cause anything to trigger the callback.  I have attached test code that works on Windows but not on Debian.  I have also queried X11 XdndAware and it returns true, that is in the test code as well.
// TEST GLFW glfwSetDropCallback
glfwInit();

// You might need some of the window hints

GLFWwindow *window = glfwCreateWindow(600, 400, "Test glfwSetDropCallback", NULL, NULL);

glfwSetDropCallback(window, [](GLFWwindow*, int count, const char **paths)
{
    std::cout << "Drag and Drop count - " << count << std::endl;

    for (unsigned int i = 0; i < count; ++i)
        std::cout << "- " << paths[i] << std::endl;
});

while (!glfwWindowShouldClose(window))
{
    glfwSwapBuffers(window);
    glfwPollEvents();
}

glfwDestroyWindow(window);

glfwTerminate();

// TEST X11 Xdnd
Display *display =XOpenDisplay((char *)0);
if(XInternAtom(display, "XdndAware", False))
    std::cout << "Supported" << std::endl;

What version of GLFW are you using?

The version given by glfwGetVersionString() is:
3.2.1 X11 GLX EGL clock_gettime /dev/js Xf86vm shared

I referred him from Stack Overflow.

Exactly what Mr Vallentin said.

Unable to reproduce on MATE.

Verified on Xfce.

Bug is due to Thunar providing text/uri-list while GLFW assumed UTF8_STRING was supported. Fix incoming.

This and many other bugs relating to XDND should be fixed now with 6a65341e14bc7745c52fe86fe53be08dbd682dd9.

Thank you

@elmindreda , what is the version of Thunar supported by glfw?

@cpicanco Drag and drop should work with any file manager that implements the XDND protocol. Is it not working with a particular version of Thunar?

Thank you for the information. I must say that I am just a user conserning glfw stuff. So what I can tell you for sure is that the pupil player application that is based on glfw does not receive drops from Xfce Thunar 1.6.3 but but will receive drops from GNOME nautilus 3.14.1. Is there anything else I can do to fix this? (also the title bar is missing)

@cpicanco Are you using a copy of GLFW that includes the fix above?

The pupil application uses libglfw3-dev as a dependency.

The version of GLFW you got from your package system isn't new enough to contain this fix.

Even in Ubuntu Xenial?

Ubuntu Xenial has GLFW 3.1.2, which was released October 12, 2015. The fix above will be included in GLFW 3.3.

Thank you Camilla.
On Aug 22, 2017 13:01, "Camilla Löwy"<EMAIL_ADDRESS>wrote:

Ubuntu Xenial has GLFW 3.1.2, which was released October 12, 2015. The fix
above will be included in GLFW 3.3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/glfw/glfw/issues/968#issuecomment-324072681, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGNc6XNSUelYUjrwUDMaXy8fs8gYpZsWks5savtOgaJpZM4MeKk0
.


Add role check

Allow to restrain specific ressource to specific roles
The role is picked in JWT_ROLE field of identity, if the intersection of allowed roles and roles of the user is not empty the user can access to the ressource.
The default  payload_handler doesn't put role into the JWT, a specific handler should be done to server JWT with role (example done into the tests)
My usage is to implements microservices using a JWT not served by python.
The client part is already live and working well in python 2.7.
Tests are ok in 2.7, 3.3 and 3.4

Very nice suite of tests. Merged and published on pypi (https://pypi.org/project/Webstack-Flask-JWT/). Thank you.


How to rename options ?

Hi,
I'm trying to rename options for variants with API since a few days and i don't found the solution ...
A shopify employee ( Busfox 👍  ) gives me this code :
With a PUT request
{
"product": {
"options":[
{
"name":"Color","position":1,"values":["Rose","Dark Red"]
},
{
"name":"Device","position":1,"values":["iPhone 7","iPhone 7 Plus"]
}]
}
}
And  It works when you have an only one option, but if I have two or three options, le name is never changing.
The problem is the key, if i have an only one option and no key, the array is rewrited and it's updating the name, so it works.
But if i have more of one option, i must add a key to my call, like this :
$optionsArray[$key]= array( "name" => $value, "position" => 1, "values" => $optionsValues );
$data = array( 'product' => array( 'options' => $optionsArray));
Any idea to help me ? is it a bug?  or Is it me that has a bug ?
Thx !

The repository is intended for support for the Ruby client library gem. General support for the API is provided by the community at the Shopify forums.
I would imagine that the issue is in your PHP code.

Oh yes.. i'm sorry jamiemtdwyer. 👍


Add interface for Torque motors

interface for motors that are controlled by setting target torque.

To simplify the work for robotics, such an interface is not needed. The plain direct access controls of the RMD-X7 should be enough for the team.


[KYUUBI #1510] Add TRINO engine type and TrinoProcessBuilder

Why are the changes needed?

Add TRINO engine type and TrinoProcessBuilder
How was this patch tested?

[X] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[X] Run test locally before make a pull request

Codecov Report

Merging #1695 (b5c583e) into master (628719f) will decrease coverage by 0.05%.
The diff coverage is 51.20%.

:exclamation: Current head b5c583e differs from pull request most recent head 7916408. Consider uploading reports for the commit 7916408 to get more accurate results

@@             Coverage Diff              @@
##             master    #1695      +/-   ##
============================================
- Coverage     59.58%   59.52%   -0.06%
- Complexity      193      197       +4
============================================
  Files           265      269       +4
  Lines         13094    13224     +130
  Branches       1648     1661      +13
============================================
+ Hits           7802     7872      +70
- Misses         4637     4690      +53
- Partials        655      662       +7

Impacted Files
Coverage Δ

...che/kyuubi/engine/trino/TrinoEngineArguments.scala
0.00% <0.00%> (ø)

...rg/apache/kyuubi/engine/trino/TrinoSqlEngine.scala
0.00% <0.00%> (ø)

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
84.31% <0.00%> (-1.69%)
:arrow_down:

...ache/kyuubi/engine/trino/TrinoProcessBuilder.scala
63.75% <63.75%> (ø)

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
95.52% <100.00%> (+0.08%)
:arrow_up:

...in/scala/org/apache/kyuubi/engine/EngineType.scala
100.00% <100.00%> (ø)

...he/kyuubi/engine/spark/repl/KyuubiSparkILoop.scala
90.16% <0.00%> (-3.28%)
:arrow_down:

.../kyuubi/engine/flink/operation/GetTableTypes.scala
100.00% <0.00%> (ø)

...ache/kyuubi/operation/KyuubiOperationManager.scala
95.00% <0.00%> (+2.50%)
:arrow_up:

...ine/flink/operation/FlinkSQLOperationManager.scala
58.33% <0.00%> (+12.87%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

thanks, merged to master


1.9.0 Changelog

Hi Guys,
is there a Changelog from 1.8.0 to 1.9.0 available?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10363163-1-9-0-changelog?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

There will be soon, we are still in the release process and will include a proper announcement later.


[Enhancement] Add queue_subscription support for nats jetstream streaming source

Description

https://github.com/mage-ai/mage-ai/issues/4122 implementation, a configurable nats jetstream subscription method, that support for PULL and PUSH consumer type with queue group options.
New Configuration:

consumer_type: define what the type of consumer you want, available types: PULL and PUSH, the default is PULL.
use_queue_group: this is the configuration for a PUSH consumer. If set to True, it allows the consumer to use a queue group.

How Has This Been Tested?

tested locally by creating NATS streaming pipeline with new configuration.

Checklist

[ ] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[x] I have performed a self-review of my own code
[ ] I have added unit tests that prove my fix is effective or that my feature works
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] If new documentation has been added, relative paths have been added to the appropriate section of docs/mint.json

cc:

@mfreeman451 @wangxiaoyou1993

hi, any updates on this? I also need this feature on my side. thanks a lot before


Support for changing the prompt temporariliy during a session

Hello :),
I need to run shell commands on ios-xr, that means entering the "run" command, getting into the linux shell.
I tried with :
shellPattern := regexp.MustCompile(`(?im)^\[[^]]+\]\$\s*$`)
shellResp, err :=  d.SendCommands(
  append([]string{"run", "pwd"}),
  options.WithPromptPattern(shellPattern),
)

but it doesn't seem to be applied. I think PrompPattern is a channel option only (and not an operation option) ?
Is it possible to change the prompt during the same session ?
In my case, changing it at the transport level wouldn't work because we still land on the normal NOS shell as we connect.

I was able to make it work rolling my own option:
func WithInterimPromptPattern(p *regexp.Regexp) util.Option {
	return func(o interface{}) error {
		c, ok := o.(*channel.OperationOptions)

		if !ok {
			return util.ErrIgnoredOption
		}

		c.InterimPromptPatterns = []*regexp.Regexp{p}

		return nil
	}
}

However I think that InterimPromptPatterns should be initialized inside the NewOperation, so that we can do append in the option.
Also, maybe there should be a simpler way to do that (like a switch-case in WithPromptPattern that works for operations.Channel also) ?

Custom platform looks like the right solution indeed. Never used it in go yet :)

If im following correctly -- maybe the option can just accept variadic? that would be no public api change (basically), and then could still append as many patterns as ya want?

My issue here is that the c.InterimPromptPatterns array is not initialized anywhere, so in my WithInterimPromptPattern function I cannot do "append" to c.InterimPromptPatterns. Well I can but it will crash :)

hah, well that makes a lot of sense :P ok will investigate this weekend and get something sorted out! thanks for all the help!

BTW I opened a PR to add the run shell to the list of privilege levels.
I figured anyone could use it, I'll let you decide if it's indeed the case :)

BTW I opened a PR to add the run shell to the list of privilege levels.
I figured anyone could use it, I'll let you decide if it's indeed the case :)

saw it, and merged! thank you!

My issue here is that the c.InterimPromptPatterns array is not initialized anywhere, so in my WithInterimPromptPattern function I cannot do "append" to c.InterimPromptPatterns. Well I can but it will crash :)

I may be making myself even more confused, but since it will be nil from the get go (because not "initialized") you should still be able to append to that just fine? am I missing something else here?
type OperationOptions struct {
	InterimPromptPatterns []*regexp.Regexp
}

func main() {
	o := &OperationOptions{}

	o.InterimPromptPatterns = append(o.InterimPromptPatterns, regexp.MustCompile(`foo`))

	fmt.Println(o.InterimPromptPatterns)
}

^ works ok no? sorry I keep coming back to this long enough away that I lose all context and then get more confused :D hopefully above makes sense / is ok and we are good to go!

yes, my bad appending to a nil slice is legit in go :)
you are 100% right!!


binary wheel, and source release behaviour different from pip

Issue description
At this point in time(and probably not when you read this):

pygame has a 1.9.4.post1 source only release
but 1.9.4 release with binaries for windows
However, Pipenv selects the 1.9.4.post1 source only release on windows.
This is different behaviour from pip, which selects the binary file.
The pip behaviour results in a working install.

https://www.python.org/dev/peps/pep-0440/#post-releases
Original report from: https://github.com/pygame/pygame/issues/586

Pretty sure this behaviour is different in pip, not a pipenv related thing.
Sorry for the noise.


[PowerToys Run / KBM; BUG] PT Run is not usable when start is open and Win+R is used to open PT Run

Environment
Windows build number: 10.0.18363
PowerToys version: 0.18.0
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

Steps to reproduce

Press Win key to open start
Press shortcut (Win+R) to open PT Run
Type search string
Press escape to close start.
Press escape to close PT Run.

Expected behavior
PT Run's window is in focus. The typed text will be entered in PT Run.
I can close PT Run while pressing escape to close start and then press escape the second time to close PT Run.
Actual behavior
The typed text will be entered in start/windows search. Pressing escape two times to close start and PT Run doesn't close PT Run. I have to first click on PT Run to close it while pressing escape or clicking on the desktop background.
Screenshots
Shortcut mapping:

PT Run behavior:

There seems to be some very weird interaction happening here. I was able to reproduce this, so my first thought was maybe KBM is doing something wrong with Win key, because in the above scenario after you open start menu if you just press Ctrl+R, start menu closes and launcher is in focus.
However instead of Win+R I just tried Alt+R instead and the same issue occurs. And its not just that launcher doesn't appear in focus and start menu doesn't go away but also that launcher appears in an off-center position in my screen

If I re-map Win+R to Alt+Space this seems to be working fine for me in v18.1 on 1909.

Can you still reproduce this on 18.1? @htcfreek

Can you still reproduce this on 18.1? @htcfreek

Yes.

If I click inside "Open PowerToys Run" to specify the shortcut to use the Windows key, it doesn't even register that I pressed the key. It just defaults to "Undefined." Granted, I'm using BootCamp on a MacBook Pro, if that helps.

@tap52384 we are working on supporting combinations with the windows key to open PowerToys Run for 0.19. However, we currently don't support a single key for launching it (Windows key in your example). We may add support for this in the future. We will be adding better warnings and error messages so that it doesn't just say "Undefined", that is being tracked in #3992.

@tap52384 we are working on supporting combinations with the windows key to open PowerToys Run for 0.19. However, we currently don't support a single key for launching it (Windows key in your example). We may add support for this in the future. We will be adding better warnings and error messages so that it doesn't just say "Undefined", that is being tracked in #3992.

Awesome, thanks! I want to use Windows + Space.

FWIW, I also want to use Windows + Space since this is what Alfred uses and I'd rather not have to remap that in my brain. Looking forward to 0.19 since lacking this has completely prevented me from using the launcher.

Still exist on 0.19 for me that if start menu is open PT Run doesn't get focused after showing.

I'm still seeing this on v0.19.1, if I have the start menu open and then try and use Win+R to use PowerToys Run, it doesn't get focus, it also won't dismiss from the screen until I give it focus.
This also occurs the same if the Action Center is open.
I feel like I've run into other cases too, but can't recall specific circumstances at the moment.

if start menu is up, can we detect and somehow send a key or dismiss it programmatically so we cna do our stuff?  or we can't detect our keys due to it being up?

if start menu is up, can we detect and somehow send a key or dismiss it programmatically so we cna do our stuff?  or we can't detect our keys due to it being up?

I think the interesting question is why PT's window is not activated.

Still not fixed in 0.20!

This also occurs the same if the Action Center is open.
I feel like I've run into other cases too, but can't recall specific circumstances at the moment.

It also happens when other Taskbar menus are in focus. I see the same behavior if I enter my shortcut (Alt+Space) after clicking any icon in the notification area (e.g., volume, network, calendar, power) or right clicking an open app icon.
If I press Esc while any of these menus are open and then enter my shortcut, PT Run gets focus back. Start Menu is an exception to this, I always have to manually click on the PT Run prompt to close it if the Start Menu was the last shell view I'd opened.

due to how start menu operates, if it gets focus, it runs at a higher elevation.  something we can't override

@crutkas I'm confused, this started working for me a bit ago 😅


feat(emergency_handler): add timestamp when not pub timestamp

Description

Add timestamp when receiving the empty emergency command.
Related issue: https://github.com/autowarefoundation/autoware.universe/issues/742
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

It depends on the situation, but in this case, the time should be stamped not "when it is received" but "when it is published".
@shmpwk what is the purpose of adding the timestamp in subscriber?

Ok, no need to add timestamp in subscriber when publisher send timestamp.
I will rewrite them to distinguish those in which the publisher does not provide a timestamp.

@TakaHoribe
when it is published can be identity subscribing topics , but still  you want to keep that time  stamp ？

currently there is.no specific reason to overwrite time stamp  so please fix emergency handler time.stamp only :pray:

So like this for an emergency command?
if (hoge.stamp.empty()){
  throw std::invalid_argument("Empty timestamp");
  hoge.stamp = this->now();
}

@shmpwk  PR title maybe fix(emergency_handler):add missing timestamp for emergency control command.
and if you only.have 1 commit commit  message must be same as PR title.

Ok done.


Expose Map API

This exposes public slot-based API for working with maps.

This has been proposed several times! Here's a few:
#733
#725
#591
#421
As always the PR is appreciated. I would recommend checking existing PRs first, and if appropriate opening a discussion before doing work.


CSS is broken when built with -prod (CLI)

Bug, feature request, or proposal:

[x] Bug

What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?
Simply use any card or button components and build in prod mode.
$ ng build -prod # is breaking
$ ng build -dev # OK

Which versions of Angular, Material, OS, browsers are affected?
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Is there anything else we should know?

Hi,
This is a know issue. Check this 2 issues from angular and  angular-cli
#10618
#1662
The problem is in the minify-ing

Closing since it appears to be an issue with angular-cli


Website Freezing/Crashing when Switching Between Control and Flow Layers

Describe the bug
When I try to switch between the control and flow layer (by clicking their respective buttons), my 3duf crashes.
To Reproduce
Steps to reproduce the behavior:

Go to 'select layer'
Click on 'control' or 'flow' (depends on what current layer is, want to switch to other, non-current layer).
See error

Or add a GIF
Expected behavior
Supposed to cleanly switch between layers and not freeze.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS] Windows
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22] 10

Additional context
Add any other context about the problem here.

I wasn't able to attach my .json file as it said that file type is not supported (I will have to email it to you as it is too big for piazza attachment).

I'm also having problems with the website being unresponsive. When I try to use the connection tools, nothing shows. At first I thought I was using it wrong, but in another tab I tried 3duf and used the connection tab first and it works. Then after a while it stops working again.
Desktop

OS
Chrome
Big Sur 11.2.3

Similarly when I use the command v function, the website undos connections instead of pasting.
https://user-images.githubusercontent.com/61927568/115661815-098b6f00-a30c-11eb-9fd7-bda34eeb987c.mov

Any luck uploading the Zip file (containing the json) for this ?

This is being fixed in v2


fix effect

[To make the new effects appear not from above but from below, it will be much more convenient and add a size adjustment that is inconvenient now

I do not understand what you mean. Please provide more information and if possible a screenshot of the problem.

and the right shift menu, you can shuffle the effects panel from the shuffled panel, new effects go up, this is inconvenient, it would be better if they went down, and it would also be nice if you could adjust the size of the hud

Ok thank you for your more detailed explanation, i unterstand the problem now.
It will be fixed soon.

thanks


nodeAssets don't work in engine

Hello.
I have addon which added some styles and assets for app. It work fine.
But when I transform addon to engine, nodeAssets don't add assets in the dist directory.
// index.js
options: {
    nodeAssets: {
        'roboto-fontface': function () {
            return {
                public: {
                    srcDir: 'fonts',
                    destDir: '/assets/fonts',
                    include: ['**/*']
                }
            };
        }
    }
}

What is nodeAssets? Is it some functionality provided by another addon? A reproduction of your issue would be helpful.

Ya, it's an addon. Can't recall the name, but I've chatted with @dfreeman (an author) about it in the past. He may be able to shed some light.

@trentmwillis nodeAssets is a part of ember-cli-node-assets

@kaermorchen See #441 here and https://github.com/dfreeman/ember-cli-node-assets/issues/11 over on the node-assets repo.


Twitter streaming agent hangs after few hours

Hello,  I am trying to deploy huginn as an alternative to yahoo pipes. I was able to deploy successfully after reading through several issues and following a guide posted for manual installation. However, for some strange reason twitter stream agent seems to exit/hang after few hours (2-3 hrs max) in production mode and am not able to get any feeds after that. Have also tried changing the procfile to use the old version instead of threaded version but that didn't solve this problem.
Also when I stop the huginn service and then start them through "foreman start" to check for errors I found a weird line "Twitter error: Invalid Status code 420". Is it in anyway connected or am I doing something wrong? any info would be really helpful.

How many copies of the TwitterStreamAgent do you have deployed in your instance?  Twitter's API service sends back an Error 420 (Enhance Your Calm) when you're being rate limited: https://dev.twitter.com/rest/public/rate-limiting
If you can, fold your TwitterStreamAgent instances into a single instance, feed the event stream into a copy of EventFormattingAgent to build messages of whatever kind you need, and then feed the event stream into one or more instances of TriggerAgent to sort them.

Mmm, that's weird as I was running only one TwitterStreamAgent. Is there anything else that can potentially cause huginn to be rate limited by twitter?
Also, I will restart my huginn instance through foreman start again and let you know if I could track the error more precisely, Thanks!

@msenthilvel also make sure you just have one threaded worker running. I am getting 420 errors when I use the same twitter credentials locally in development and in production, the same probably happens if a old instance of the threaded worker did not shut down properly.

Thanks, that solved my problem. Seems like one of the old instance has been running in the background since I probably did not shut down the processes properly while trying to debug them. Thanks again! :)

Glad it works now :smile:

I added a "debugging Twitter" section to https://github.com/cantino/huginn/wiki/Configuring-OAuth-applications#debugging-twitter -- how's it look?

Now that the source of error is known, my twitter stream keeps hanging and on analysis (htop command) I could see more than one twitter_stream.rb process. Is there a way to restrict them from spawning more than once ? I've also confirmed that there is no process open while starting huginn in production, so pretty sure it isn't a old instance.
Sorry to post it in an closed issue, thought it would be appropriate to post it in here.

Hey @msenthilvel, how are you starting / running Huginn?

wrote a init script that does the following in the order given:
bundle exec unicorn -E production -c config/unicorn.rb
bundle exec rails runner bin/schedule.rb
bundle exec rails runner bin/twitter_stream.rb
bundle exec script/delayed_job run
All commands are run as a separate user 'huginn' with disabled login.

Is it possible that one of those processes is getting run more than once?
/cc @dsander

@msenthilvel Maybe your init script does not properly shut down the old processes before restarting the new version?


Join forces

There is an issue open in the official Jaeger repository for a PHP client: https://github.com/jaegertracing/jaeger/issues/211
Based on the comments, others are working on a client as well. Maybe joining forces would be a good idea to create an official Jaeger client for PHP.

Agree 789%.  Was thinking the same.

Agree 789% too. It can make it more better.  And in my company , Jaeger-php work on  Test environment over one month, I will release it  to Pro environment in this month. waiting for my good new.


1.k.i Overview Deleted User Stories

Giving an overview of the user stories supports the project team members to stay up to date with all user stories. A user of the system can get an overview of all user stories.
Overview deleted user stories A user of the system can get an overview of all deleted user stories.
Priority: LOW
Estimation: 1

Accidentally did this one as well while doing the the delete user story user story - uppsi ;-P

Accidentally did this one as well while doing the the delete user story user story - uppsi ;-P


Local pull request success status testing

Docs Build status updates of commit 891e0da:
:clock10: Pending: waiting for processors (15 builds ahead of you)
:warning: Docs Build is busy, currently there are 15 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 891e0da:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


issues building on Linux

Hi,
I'm having a few issues building on Linux.
[1/4] Building CXX object CMakeFiles/AntSimulator.dir/src/utils.cpp.o
FAILED: CMakeFiles/AntSimulator.dir/src/utils.cpp.o
/usr/bin/c++  -I../include -I../lib  -MD -MT CMakeFiles/AntSimulator.dir/src/utils.cpp.o -MF CMakeFiles/AntSimulator.dir/src/utils.cpp.o.d -o CMakeFiles/AntSimulator.dir/src/utils.cpp.o -c ../src/utils.cpp
In file included from ../src/utils.cpp:1:
../include/utils.hpp: In instantiation of ‘float getLength(const sf::Vector2<T>&) [with T = float]’:
../src/utils.cpp:22:40:   required from here
../include/utils.hpp:17:13: error: ‘sqrt’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
   17 |  return sqrt(v.x * v.x + v.y * v.y);
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:473,
                 from /usr/include/c++/10.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/include/c++/10.2.0/x86_64-pc-linux-gnu/bits/c++config.h:518,
                 from /usr/include/c++/10.2.0/iosfwd:38,
                 from /usr/include/c++/10.2.0/ios:38,
                 from /usr/include/c++/10.2.0/ostream:38,
                 from /usr/include/SFML/System/Err.hpp:32,
                 from /usr/include/SFML/System.hpp:34,
                 from /usr/include/SFML/Window.hpp:32,
                 from /usr/include/SFML/Graphics.hpp:32,
                 from ../include/utils.hpp:2,
                 from ../src/utils.cpp:1:
/usr/include/bits/mathcalls.h:143:1: note: ‘double sqrt(double)’ declared here, later in the translation unit
  143 | __MATHCALL (sqrt,, (_Mdouble_ __x));
      | ^~~~~~~~~~
[2/4] Building CXX object CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o
FAILED: CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o
/usr/bin/c++  -I../include -I../lib  -MD -MT CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o -MF CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o.d -o CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o -c ../src/display_manager.cpp
In file included from ../include/marker.hpp:2,
                 from ../include/world.hpp:6,
                 from ../include/display_manager.hpp:4,
                 from ../src/display_manager.cpp:1:
../include/config.hpp:44:17: error: specializing member ‘Conf<>::FOOD_COLOR’ requires ‘template<>’ syntax
   44 | const sf::Color Conf<>::FOOD_COLOR = sf::Color(29, 129, 18);
      |                 ^~~~~~
../include/config.hpp:45:17: error: specializing member ‘Conf<>::TO_FOOD_COLOR’ requires ‘template<>’ syntax
   45 | const sf::Color Conf<>::TO_FOOD_COLOR = sf::Color(119, 211, 109);
      |                 ^~~~~~
../include/config.hpp:46:17: error: specializing member ‘Conf<>::TO_HOME_COLOR’ requires ‘template<>’ syntax
   46 | const sf::Color Conf<>::TO_HOME_COLOR = sf::Color(122, 105, 199);
      |                 ^~~~~~
../include/config.hpp:47:17: error: specializing member ‘Conf<>::COLONY_COLOR’ requires ‘template<>’ syntax
   47 | const sf::Color Conf<>::COLONY_COLOR = sf::Color(67, 46, 163);
      |                 ^~~~~~
../include/config.hpp:49:30: error: specializing member ‘Conf<>::ANT_TEXTURE’ requires ‘template<>’ syntax
   49 | std::shared_ptr<sf::Texture> Conf<>::ANT_TEXTURE;
      |                              ^~~~~~
../include/config.hpp:50:30: error: specializing member ‘Conf<>::MARKER_TEXTURE’ requires ‘template<>’ syntax
   50 | std::shared_ptr<sf::Texture> Conf<>::MARKER_TEXTURE;
      |                              ^~~~~~
In file included from ../include/ant.hpp:9,
                 from ../include/colony.hpp:5,
                 from ../include/display_manager.hpp:5,
                 from ../src/display_manager.cpp:1:
../include/direction.hpp: In member function ‘void Direction::updateVec()’:
../include/direction.hpp:62:13: error: ‘cos’ was not declared in this scope
   62 |   m_vec.x = cos(m_angle);
      |             ^~~
../include/direction.hpp:63:13: error: ‘sin’ was not declared in this scope; did you mean ‘sign’?
   63 |   m_vec.y = sin(m_angle);
      |             ^~~
      |             sign
../include/direction.hpp: In member function ‘void Direction::updateTargetVec()’:
../include/direction.hpp:68:20: error: ‘cos’ was not declared in this scope
   68 |   m_target_vec.x = cos(m_target_angle);
      |                    ^~~
../include/direction.hpp:69:20: error: ‘sin’ was not declared in this scope; did you mean ‘sign’?
   69 |   m_target_vec.y = sin(m_target_angle);
      |                    ^~~
      |                    sign
In file included from ../include/world.hpp:8,
                 from ../include/display_manager.hpp:4,
                 from ../src/display_manager.cpp:1:
../include/utils.hpp: In instantiation of ‘float getLength(const sf::Vector2<T>&) [with T = float]’:
../include/ant.hpp:65:41:   required from here
../include/utils.hpp:17:13: error: ‘sqrt’ was not declared in this scope
   17 |  return sqrt(v.x * v.x + v.y * v.y);
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~
[3/4] Building CXX object CMakeFiles/AntSimulator.dir/src/main.cpp.o
FAILED: CMakeFiles/AntSimulator.dir/src/main.cpp.o
/usr/bin/c++  -I../include -I../lib  -MD -MT CMakeFiles/AntSimulator.dir/src/main.cpp.o -MF CMakeFiles/AntSimulator.dir/src/main.cpp.o.d -o CMakeFiles/AntSimulator.dir/src/main.cpp.o -c ../src/main.cpp
In file included from ../include/marker.hpp:2,
                 from ../include/ant.hpp:4,
                 from ../include/colony.hpp:5,
                 from ../src/main.cpp:4:
../include/config.hpp:44:17: error: specializing member ‘Conf<>::FOOD_COLOR’ requires ‘template<>’ syntax
   44 | const sf::Color Conf<>::FOOD_COLOR = sf::Color(29, 129, 18);
      |                 ^~~~~~
../include/config.hpp:45:17: error: specializing member ‘Conf<>::TO_FOOD_COLOR’ requires ‘template<>’ syntax
   45 | const sf::Color Conf<>::TO_FOOD_COLOR = sf::Color(119, 211, 109);
      |                 ^~~~~~
../include/config.hpp:46:17: error: specializing member ‘Conf<>::TO_HOME_COLOR’ requires ‘template<>’ syntax
   46 | const sf::Color Conf<>::TO_HOME_COLOR = sf::Color(122, 105, 199);
      |                 ^~~~~~
../include/config.hpp:47:17: error: specializing member ‘Conf<>::COLONY_COLOR’ requires ‘template<>’ syntax
   47 | const sf::Color Conf<>::COLONY_COLOR = sf::Color(67, 46, 163);
      |                 ^~~~~~
../include/config.hpp:49:30: error: specializing member ‘Conf<>::ANT_TEXTURE’ requires ‘template<>’ syntax
   49 | std::shared_ptr<sf::Texture> Conf<>::ANT_TEXTURE;
      |                              ^~~~~~
../include/config.hpp:50:30: error: specializing member ‘Conf<>::MARKER_TEXTURE’ requires ‘template<>’ syntax
   50 | std::shared_ptr<sf::Texture> Conf<>::MARKER_TEXTURE;
      |                              ^~~~~~
In file included from ../include/ant.hpp:9,
                 from ../include/colony.hpp:5,
                 from ../src/main.cpp:4:
../include/direction.hpp: In member function ‘void Direction::updateVec()’:
../include/direction.hpp:62:13: error: ‘cos’ was not declared in this scope
   62 |   m_vec.x = cos(m_angle);
      |             ^~~
../include/direction.hpp:63:13: error: ‘sin’ was not declared in this scope; did you mean ‘sign’?
   63 |   m_vec.y = sin(m_angle);
      |             ^~~
      |             sign
../include/direction.hpp: In member function ‘void Direction::updateTargetVec()’:
../include/direction.hpp:68:20: error: ‘cos’ was not declared in this scope
   68 |   m_target_vec.x = cos(m_target_angle);
      |                    ^~~
../include/direction.hpp:69:20: error: ‘sin’ was not declared in this scope; did you mean ‘sign’?
   69 |   m_target_vec.y = sin(m_target_angle);
      |                    ^~~
      |                    sign
In file included from ../include/world.hpp:8,
                 from ../include/ant.hpp:6,
                 from ../include/colony.hpp:5,
                 from ../src/main.cpp:4:
../include/utils.hpp: In instantiation of ‘float getLength(const sf::Vector2<T>&) [with T = float]’:
../include/ant.hpp:65:41:   required from here
../include/utils.hpp:17:13: error: ‘sqrt’ was not declared in this scope
   17 |  return sqrt(v.x * v.x + v.y * v.y);
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~

Missing include <cmath> was added to include/utils.hpp which fixed the sqrt/cos/sin errors.  I've also added the missing  template<> syntax to include/config.hpp but now I get a linker error:
[3/3] Linking CXX executable AntSimulator
FAILED: AntSimulator
: && /usr/bin/c++   CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o CMakeFiles/AntSimulator.dir/src/main.cpp.o CMakeFiles/AntSimulator.dir/src/utils.cpp.o -o AntSimulator  /usr/lib/libsfml-graphics.so.2.5.1  -lpthread  /usr/lib/libsfml-window.so.2.5.1  /usr/lib/libsfml-system.so.2.5.1 && :
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o:(.bss+0x0): multiple definition of `Conf<int>::ANT_COLOR'; CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o:(.bss+0x4): multiple definition of `Conf<int>::FOOD_COLOR'; CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o:(.bss+0x4): first defined here
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o:(.bss+0x8): multiple definition of `Conf<int>::TO_FOOD_COLOR'; CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o:(.bss+0x8): first defined here
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o:(.bss+0xc): multiple definition of `Conf<int>::TO_HOME_COLOR'; CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o:(.bss+0xc): first defined here
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o:(.bss+0x10): multiple definition of `Conf<int>::COLONY_COLOR'; CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o:(.bss+0x10): first defined here
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o: warning: relocation against `_ZN4ConfIiE11ANT_TEXTUREE' in read-only section `.text._ZN4ConfIiE12freeTexturesEv[_ZN4ConfIiE12freeTexturesEv]'
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o: in function `World::render(sf::RenderTarget&, sf::RenderStates const&, bool) const':
display_manager.cpp:(.text._ZNK5World6renderERN2sf12RenderTargetERKNS0_12RenderStatesEb[_ZNK5World6renderERN2sf12RenderTargetERKNS0_12RenderStatesEb]+0xfb): undefined reference to `Conf<int>::MARKER_TEXTURE'
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/display_manager.cpp.o: in function `Colony::render(sf::RenderTarget&, sf::RenderStates const&) const':
display_manager.cpp:(.text._ZNK6Colony6renderERN2sf12RenderTargetERKNS0_12RenderStatesE[_ZNK6Colony6renderERN2sf12RenderTargetERKNS0_12RenderStatesE]+0x229): undefined reference to `Conf<int>::ANT_TEXTURE'
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o: in function `Conf<int>::loadTextures()':
main.cpp:(.text._ZN4ConfIiE12loadTexturesEv[_ZN4ConfIiE12loadTexturesEv]+0x2e): undefined reference to `Conf<int>::ANT_TEXTURE'
/usr/bin/ld: main.cpp:(.text._ZN4ConfIiE12loadTexturesEv[_ZN4ConfIiE12loadTexturesEv]+0x46): undefined reference to `Conf<int>::ANT_TEXTURE'
/usr/bin/ld: main.cpp:(.text._ZN4ConfIiE12loadTexturesEv[_ZN4ConfIiE12loadTexturesEv]+0xaf): undefined reference to `Conf<int>::ANT_TEXTURE'
/usr/bin/ld: main.cpp:(.text._ZN4ConfIiE12loadTexturesEv[_ZN4ConfIiE12loadTexturesEv]+0xdb): undefined reference to `Conf<int>::MARKER_TEXTURE'
/usr/bin/ld: main.cpp:(.text._ZN4ConfIiE12loadTexturesEv[_ZN4ConfIiE12loadTexturesEv]+0xf3): undefined reference to `Conf<int>::MARKER_TEXTURE'
/usr/bin/ld: main.cpp:(.text._ZN4ConfIiE12loadTexturesEv[_ZN4ConfIiE12loadTexturesEv]+0x15c): undefined reference to `Conf<int>::MARKER_TEXTURE'
/usr/bin/ld: CMakeFiles/AntSimulator.dir/src/main.cpp.o: in function `Conf<int>::freeTextures()':
main.cpp:(.text._ZN4ConfIiE12freeTexturesEv[_ZN4ConfIiE12freeTexturesEv]+0x32): undefined reference to `Conf<int>::ANT_TEXTURE'
/usr/bin/ld: main.cpp:(.text._ZN4ConfIiE12freeTexturesEv[_ZN4ConfIiE12freeTexturesEv]+0x62): undefined reference to `Conf<int>::MARKER_TEXTURE'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Any ideas?

Hi,
It is compiling fine with vc15 but I guess there are differences between these compilers.
Can you tell me which compliler you are using ? It will be easier for me to reproduce and fix :)

Just good old g++ but it does the same thing with clang++ as well.

It should be better now, tested on Ubuntu 20. Let me know if you have any issues.

Yep that worked perfectly, thanks!


Permisi, repo ini masih bisa digunakan?

ini pesan di browser saya
This Serverless Function has crashed.
Your connection is working correctly.
Vercel is working correctly.
500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED
ID: sin1::pb4l4-1669100779873-9284391a12e6
If you are a visitor, contact the website owner or try again later.
If you are the owner, learn how to fix the error and check the logs.

masih bisa, kadang kena 500 tapi kembali normal lagi


Failed to load url ./$types (resolved id: ./$types). Does the file exist?

Describe the bug
Failed to load url ./$types (resolved id: ./$types). Does the file exist?
Error: Failed to load url ./$types (resolved id: ./$types). Does the file exist?

in /routes/+page.svelte, but in vscode that's correctly recognized.
Reproduction
nothing
Logs
No response
System Info
System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    Container: Yes
    Shell: 3.6.0 - /usr/bin/fish
  Binaries:
    Node: 19.5.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.3.1 - /usr/bin/npm

Severity
blocking all usage of SvelteKit
Additional Information
No response

Do you mind uploading your project or a reproduction where this issue occurs? It will help with diagnosing the root cause of this.


fix(deps): update vulnerable test-exclude to v7

Description

Fixes https://github.com/vitest-dev/vitest/discussions/5096
Ref. https://github.com/istanbuljs/test-exclude/releases/tag/test-exclude-v7.0.0
Ref. https://github.com/istanbuljs/test-exclude/issues/53

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[ ] Ideally, include a test that fails without this PR but passes with it.
[x] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[x] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

I wasn't expecting test failures 🤔
Looks like there are some changes in the end locations of coverage maps. It shouldn't be that big of an issue but I'll need to check those manually first.

This breaks coverage completely on Windows. Coverage report is completely empty: https://github.com/vitest-dev/vitest/actions/runs/9445376953/job/26012848785?pr=5867

This breaks coverage completely on Windows. Coverage report is completely empty: https://github.com/vitest-dev/vitest/actions/runs/9445376953/job/26012848785?pr=5867

Fixed by<EMAIL_ADDRESS>✅


Support for AMD/global export

We needed AMD compatibility for our RequireJS/Karma stack.
I basically used the "module system magic" I know from https://github.com/domenic/chai-as-promised/
Would be nice to see it merge - let me know if there is anything that needs to be changed first

test coverege decreased, please write tests that uses all kinds of requires

@RobertHerhold Are you going to finish this PR?

@eagleeye I believe you meant @leoselig

@RobertHerhold whoops, sorry( Yea, I meant @leoselig

I'd love to, I won't be able to do so this week though
Until then: any experience on how to test the module system-agnostic
export? Otherwise, I first have to take a look how this could be done best
On Tue, Aug 18, 2015, 16:12 Andrii Shumada<EMAIL_ADDRESS>wrote:

@RobertHerhold https://github.com/RobertHerhold whoops, sorry( Yea, I
meant @leoselig https://github.com/leoselig
—
Reply to this email directly or view it on GitHub
https://github.com/debitoor/chai-subset/pull/11#issuecomment-132223001.

@leoselig I think you should add requirejs in dependencies and add a small test, that requires chai and chai subset via requirejs.
Also, you should make a cleaner branch for PR, where package name and description are not touched, as well as use strict is not included and so on

@leoselig also I found a bit better variation of AMD support in chai itself) https://github.com/chaijs/chai/commit/2035510254fec86d179b75146a552a37fbcdcd18#diff-cee0d57e893bb06a9c55e65f14c03cfdR2

Closing, because of inactivity of an author of PR. Feel free to create PR again, if you feel that you can finish what you started