Import Error coming from first steps of How-To article

The article How to use Azure Queue storage from Python leads to an ImportError in the very first step.
I have Python 3.6.8 and created a brand new folder. In the folder, I created a file:
test.bat
@ECHO from azure.storage.queue import QueueService> test.py
CALL python -m venv venv
CALL venv/Scripts/activate
CALL python -m pip install --upgrade pip
CALL pip install azure-storage-queue
CALL pip list
CALL python test.py

This is the output:

As you can see, the import failed. Maybe this is because I don't have the azure-common-storage package mentioned somewhere in the article. So I ran these commands:
pip install azure-storage-common
pip list
python test.py

And this is the output:

In my venv\Lib\site-packages\azure_storage_queue-12.0.0.dist-info folder, there were no Python files, just a few meta files.
However, in venv\Lib\site-packages\azure\storage\queue, I find the files that my import seems to be pointing to as changing test.py to have from azure.storage.queue import QueueClient runs just fine.
The short version is that from azure.storage.queue seems to point to this repo instead of pointing to the documented repo.
How do I properly import the QueueService?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 59cdec64-6b86-6e2b-db74-5952d825bea4
Version Independent ID: e41416cc-85b4-743b-7bcf-ac2a97297a9d
Content: How to use Azure Queue storage from Python - Azure Storage
Content Source: articles/storage/queues/storage-python-how-to-use-queue-storage.md
Service: storage
Sub-service: queues
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

It looks like the issue is that last night the azure-storage-queue package jumped from version 2.1.0 to 12.0.0 and is not backwards compatible. The article in question (here) should be updated to reflect the new API as should the azure-storage-queue repo.

@wkeithvan Thank you for bringing this to our attention. We are investigating this issue and will update this when we have thoroughly researched this issue.

No worries. In the future, it'd be awesome to see all Azure how-to articles clearly marked with the version(s) to which they apply and possibly even a small banner on the article marking that they are no longer the most recent version. You could even add a small bit of JavaScript on the pages that double checks the latest version from the package repos (PyPi in this case) to automate this message.
It was definitely a waste of a large part of my Friday work day trying to figure out why I couldn't get the basic tutorials to work just to find out that documentation a couple weeks old (the article was dated mid-September) was already out-of-date. Anything in the future that could make the docs more clear about their validity would be appreciated.

@wkeithvan I have added version information to the article. Thank you again for your feedback. It should be published soon.
#please-close


pacman -Sy  returned error: s3.amazonaws.com returned 403

Here is the problem,
I have done everything told in the instructions here
Though I am getting this issue, Please anyone helps with this?
Thank you.

Duplication of https://github.com/termux-pacman/termux-packages/issues/9
We apologize for the inconvenience, but at the moment all the latest events will be cleared up there.


--ignore multi option to ignore specific files

For eg --ignore LICENSE - should support glob syntax too.

Need to update the README with this now.

files-to-prompt README.md files_to_prompt/cli.py | llm -m opus \
  --system 'Update README to reflect all options'


Yaml support does not work

Duplicates

[X] I have searched the existing issues

Current behavior 😯
I have a repo of many ansible playbooks in yaml format. When I run onefetch, none of the yaml files are detected.
Expected behavior 🤔
yaml files are picked up and counted in statistics.
Steps to reproduce 🕹

Onefetch 2.12.0 from nixpkgs
Run onefetch in repo with yaml files

By default we show programming (e.g. Rust) and markup (e.g. HTML), and hide prose (e.g. Markdown) and data (e.g. YAML).
Please look at the -T/--type option.
Closing for now, but let us know if you need any more help 🙂


Subscription Error 3 - infinite loop

I got subscription Error 3 and an infinite loop (on the latest version 4.0.0):
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 2171067 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1724935 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1172702 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1172095 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 902939 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1107335 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 983510 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1887554 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 2023317 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1643821 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 2139485 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1974699 ms...
2023-11-02 07:28:32 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1705197 ms...

I don't have any more logs, they were overwritten. After restart it works fine.

Please keep an eye on it if it happens again now that the issue is gone after the restart

The problem is reproducible. I guess the problem is with sleep. It grows in a rather strange way.
2023-11-04 12:46:07 NAS chip.DMG[1] ERROR Subscription Liveness timeout with SubscriptionID = 0xbca2fc45, Peer = 01:0000000000000002
2023-11-04 12:46:07 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 0 ms...
2023-11-04 12:46:38 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:46:52 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:46:52 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:46:52 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 7987 ms...
2023-11-04 12:47:32 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:47:46 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:47:46 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:47:46 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 6396 ms...
2023-11-04 12:48:23 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:48:37 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:48:37 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:48:37 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 14619 ms...
2023-11-04 12:49:27 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:49:41 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:49:41 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:49:41 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 20826 ms...
2023-11-04 12:50:40 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:50:54 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:50:54 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:50:54 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 23698 ms...
2023-11-04 12:51:50 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:52:04 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:52:04 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:52:04 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 74824 ms...
2023-11-04 12:53:02 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:53:16 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:53:16 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:53:16 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 77363 ms...
2023-11-04 12:55:37 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:55:51 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:55:51 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:55:51 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 181564 ms...
2023-11-04 12:58:35 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 12:58:49 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 12:58:49 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 12:58:49 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 313784 ms...
2023-11-04 13:04:07 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 13:04:21 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 13:04:21 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 13:04:21 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 536884 ms...
2023-11-04 13:08:02 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 13:08:16 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 13:08:16 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 13:08:16 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 476714 ms...
2023-11-04 13:19:29 NAS chip.DIS[1] ERROR Timeout waiting for mDNS resolution.
2023-11-04 13:19:43 NAS chip.DIS[1] ERROR OperationalSessionSetup[1:0000000000000002]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2023-11-04 13:19:43 NAS chip.DMG[1] ERROR Failed to establish CASE for re-subscription with error 'src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout'
2023-11-04 13:19:43 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 50, re-subscribing in 1275024 ms...
2023-11-04 13:19:43 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 1414155 ms...
2023-11-04 13:19:43 NAS matter_server.server.device_controller.[node 2][1] INFO Previous subscription failed with Error: 3, re-subscribing in 583906 ms...

After error 50 there is error 3. Error 3 is run in the loop without any sleep. I have high cpu load. After connect Matter device error 3 is still reported and I need to restart service.

Yes, this has been reported on the discord channel as well. The resubscription logic (at sdk level) seems to go into an infinite loop and ignores the timeout.

We release a new version of the server that includes a patch for this. Thanks for reporting!

Thanks for the quick fix. Seems to be working now.


Optimization: if I am not watching a particular peer, do not send me their video

Is your feature request related to a problem? Please describe.
In order to bump the max number of peers, do  not send me video for peers that I can't see on my screen.

Hi with https://github.com/security-union/videocall-rs/issues/39 being underway it seems this issue can be tackled next by me. I got a little more into Actix capabilities and as far as I understand all messaging is done through the server that acts as a broker in that regard.
So the way I'm thinking about approaching the issue is that each user (Subscriber) will have to subscribe (there might be also some default setting here) on MediaType::VIDEO/SCREEN for users (Publisher) that video/screen transmission Subscriber would like to receive. The server keep track of all Subscribers per each Publisher and distribute the messaging accordingly. At first stage such subscription would be mandatory for all (20) Publishers that fit the screen (as per https://github.com/security-union/videocall-rs/issues/39 ) but then we could extend it to opting all out or selecting specific ones from PeerList.
@darioalessandro  tell me what do you think, maybe you had some other approach in mind?

@mkamonMdt that is correct, the UI will need to tell the actix server the list of peers that it wants to receive video for.
you can use protobuf messages here to signal the server:
You could define a new type within packet wrapper:
https://github.com/security-union/videocall-rs/blob/d8eee8a2770dcd52d1f84d5dde71a5aaa03693c3/protobuf/types/packet_wrapper.proto#L4-L8
Then have the actix server read them.


Make net plugins build on non-unix

@cjcullen build/release.sh is running now

Except someone was a jerk and reverted the #5678 first, sorry. :)

thanks Obama.

Whew, should be settled now
sorry for the noise.  We have to get CI to do multi-platform builds.  I will internalize this lesson.  Again

Thanks for fixing @thockin . @rajatchopra and I knew that we had to do this but forgot and build did not catch it earlier.


Add S3 to S3 copy functionality

Hello! I saw that the S3 to S3 functionality hadn't been implemented yet.
Let me know what you think or if anything should change. I don't contribute a lot to OSS so let me know if there is anything more you'd like to see here.
I'm not able to run tests locally as I don't have everything configured for that, so let's see what the CI tells us.
matthew

Ah the CI only runs on merge to main. I don't see any reason why this shouldn't but would love confirmation from a test.
Any hints on getting set up locally for tests would be great.

I was able to get the tests to run locally. Here is the output.
➜  s3sync git:(master) ✗ make fixture && make test
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket
make_bucket: example-bucket
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket
upload: ./README.md to s3://example-bucket/README.md
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket/foo/
upload: ./README.md to s3://example-bucket/foo/README.md
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket/bar/baz/
upload: ./README.md to s3://example-bucket/bar/baz/README.md
aws s3 --endpoint-url http://localhost:4572 mb s3://s3-source
make_bucket: s3-source
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://s3-source
upload: ./README.md to s3://s3-source/README.md
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://s3-source/foo/
upload: ./README.md to s3://s3-source/foo/README.md
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://s3-source/bar/baz/
upload: ./README.md to s3://s3-source/bar/baz/README.md
aws s3 --endpoint-url http://localhost:4572 mb s3://s3-destination
make_bucket: s3-destination
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-upload
make_bucket: example-bucket-upload
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket-upload/dest_only_file
upload: ./README.md to s3://example-bucket-upload/dest_only_file
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-upload-file
make_bucket: example-bucket-upload-file
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-delete
make_bucket: example-bucket-delete
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket-delete/dest_only_file
upload: ./README.md to s3://example-bucket-delete/dest_only_file
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-delete-file
make_bucket: example-bucket-delete-file
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket-delete-file
upload: ./README.md to s3://example-bucket-delete-file/README.md
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket-delete-file/dest_only_file
upload: ./README.md to s3://example-bucket-delete-file/dest_only_file
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-dryrun
make_bucket: example-bucket-dryrun
aws s3 --endpoint-url http://localhost:4572 cp README.md s3://example-bucket-dryrun/dest_only_file
upload: ./README.md to s3://example-bucket-dryrun/dest_only_file
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-directory
make_bucket: example-bucket-directory
aws s3 --endpoint-url http://localhost:4572 mb s3://example-bucket-mime
make_bucket: example-bucket-mime
aws s3api --endpoint-url http://localhost:4572 put-object --bucket example-bucket-directory --key test/
go test . -v
=== RUN   TestMultiErr
=== RUN   TestMultiErr/Nil
=== RUN   TestMultiErr/MultipleErrors
--- PASS: TestMultiErr (0.00s)
    --- PASS: TestMultiErr/Nil (0.00s)
    --- PASS: TestMultiErr/MultipleErrors (0.00s)
=== RUN   TestWithParallel
--- PASS: TestWithParallel (0.00s)
=== RUN   TestWithACL
=== RUN   TestWithACL/Nil
=== RUN   TestWithACL/WithACL
--- PASS: TestWithACL (0.00s)
    --- PASS: TestWithACL/Nil (0.00s)
    --- PASS: TestWithACL/WithACL (0.00s)
=== RUN   TestUploaderDownloaderOptions
=== RUN   TestUploaderDownloaderOptions/Uploader
=== RUN   TestUploaderDownloaderOptions/Downloader
--- PASS: TestUploaderDownloaderOptions (0.00s)
    --- PASS: TestUploaderDownloaderOptions/Uploader (0.00s)
    --- PASS: TestUploaderDownloaderOptions/Downloader (0.00s)
=== RUN   TestURLToS3Path
=== RUN   TestURLToS3Path/NoBucketName
=== RUN   TestURLToS3Path/Normal
--- PASS: TestURLToS3Path (0.00s)
    --- PASS: TestURLToS3Path/NoBucketName (0.00s)
    --- PASS: TestURLToS3Path/Normal (0.00s)
=== RUN   TestS3Path_String
--- PASS: TestS3Path_String (0.00s)
=== RUN   TestS3syncNotImplemented
--- PASS: TestS3syncNotImplemented (0.00s)
=== RUN   TestS3ToS3
2023/05/04 08:41:21 Copying bar/baz/README.md to s3://s3-destination/
2023/05/04 08:41:21 Copying foo/README.md to s3://s3-destination/
2023/05/04 08:41:21 Copying README.md to s3://s3-destination/
--- PASS: TestS3ToS3 (0.06s)
=== RUN   TestS3sync
=== RUN   TestS3sync/Download
2023/05/04 08:41:22 Downloading bar/baz/README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1339198855/bar/baz/README.md
2023/05/04 08:41:22 Downloading README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1339198855/README.md
2023/05/04 08:41:22 Downloading foo/README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1339198855/foo/README.md
=== RUN   TestS3sync/DownloadSkipDirectory
=== RUN   TestS3sync/DownloadSingleFile
2023/05/04 08:41:22 Downloading README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest557316555/README.md
2023/05/04 08:41:22 Downloading README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest557316555/foo/README.md
2023/05/04 08:41:22 Downloading README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest557316555/test.md
=== RUN   TestS3sync/Upload
2023/05/04 08:41:22 Uploading README.md to s3://example-bucket-upload/README.md
2023/05/04 08:41:22 Uploading bar/baz/README.md to s3://example-bucket-upload/bar/baz/README.md
2023/05/04 08:41:22 Uploading foo/README.md to s3://example-bucket-upload/foo/README.md
=== RUN   TestS3sync/UploadSingleFile
2023/05/04 08:41:22 Uploading README.md to s3://example-bucket-upload-file/README.md
2023/05/04 08:41:22 Uploading README.md to s3://example-bucket-upload-file/foo/README.md
2023/05/04 08:41:22 Uploading README.md to s3://example-bucket-upload-file/foo/test.md
2023/05/04 08:41:22 Uploading test2.md to s3://example-bucket-upload-file/foo/bar/test2.md
--- PASS: TestS3sync (0.60s)
    --- PASS: TestS3sync/Download (0.37s)
    --- PASS: TestS3sync/DownloadSkipDirectory (0.01s)
    --- PASS: TestS3sync/DownloadSingleFile (0.08s)
    --- PASS: TestS3sync/Upload (0.06s)
    --- PASS: TestS3sync/UploadSingleFile (0.08s)
=== RUN   TestDelete
=== RUN   TestDelete/DeleteLocal
2023/05/04 08:41:22 Downloading bar/baz/README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1191849401/bar/baz/README.md
2023/05/04 08:41:22 Downloading README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1191849401/README.md
2023/05/04 08:41:22 Deleting /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1191849401/dest_only_file
2023/05/04 08:41:22 Downloading foo/README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest1191849401/foo/README.md
=== RUN   TestDelete/DeleteLocalSingleFile
2023/05/04 08:41:22 Deleting /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest2342989082/dest_only_file
=== RUN   TestDelete/DeleteRemote
2023/05/04 08:41:22 Uploading README.md to s3://example-bucket-delete/README.md
2023/05/04 08:41:22 Uploading foo/README.md to s3://example-bucket-delete/foo/README.md
2023/05/04 08:41:22 Uploading bar/baz/README.md to s3://example-bucket-delete/bar/baz/README.md
2023/05/04 08:41:22 Deleting s3://example-bucket-delete/dest_only_file
=== RUN   TestDelete/DeleteRemoteSingleFile
2023/05/04 08:41:22 Deleting s3://example-bucket-delete-file/dest_only_file
--- PASS: TestDelete (0.14s)
    --- PASS: TestDelete/DeleteLocal (0.04s)
    --- PASS: TestDelete/DeleteLocalSingleFile (0.01s)
    --- PASS: TestDelete/DeleteRemote (0.06s)
    --- PASS: TestDelete/DeleteRemoteSingleFile (0.04s)
=== RUN   TestDryRun
=== RUN   TestDryRun/Download
2023/05/04 08:41:22 Downloading bar/baz/README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest2169595759/bar/baz/README.md
2023/05/04 08:41:22 Deleting /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest2169595759/dest_only_file
2023/05/04 08:41:22 Downloading foo/README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest2169595759/foo/README.md
2023/05/04 08:41:22 Downloading README.md to /var/folders/0h/z6ffy5zn17j6yh007625lm140000gp/T/s3synctest2169595759/README.md
=== RUN   TestDryRun/Upload
2023/05/04 08:41:22 Uploading README.md to s3://example-bucket-dryrun/README.md
2023/05/04 08:41:22 Uploading bar/baz/README.md to s3://example-bucket-dryrun/bar/baz/README.md
2023/05/04 08:41:22 Uploading foo/README.md to s3://example-bucket-dryrun/foo/README.md
2023/05/04 08:41:22 Deleting s3://example-bucket-dryrun/dest_only_file
--- PASS: TestDryRun (0.03s)
    --- PASS: TestDryRun/Download (0.01s)
    --- PASS: TestDryRun/Upload (0.02s)
=== RUN   TestPartialS3sync
=== RUN   TestPartialS3sync/DestinationEmpty
=== RUN   TestPartialS3sync/DestinationLackOneFile
=== RUN   TestPartialS3sync/DestinationOneOldFile
--- PASS: TestPartialS3sync (0.08s)
    --- PASS: TestPartialS3sync/DestinationEmpty (0.04s)
    --- PASS: TestPartialS3sync/DestinationLackOneFile (0.02s)
    --- PASS: TestPartialS3sync/DestinationOneOldFile (0.02s)
=== RUN   TestListLocalFiles
=== RUN   TestListLocalFiles/Root
=== RUN   TestListLocalFiles/EmptyDir
=== RUN   TestListLocalFiles/File
=== RUN   TestListLocalFiles/Dir
=== RUN   TestListLocalFiles/Dir2
--- PASS: TestListLocalFiles (0.00s)
    --- PASS: TestListLocalFiles/Root (0.00s)
    --- PASS: TestListLocalFiles/EmptyDir (0.00s)
    --- PASS: TestListLocalFiles/File (0.00s)
    --- PASS: TestListLocalFiles/Dir (0.00s)
    --- PASS: TestListLocalFiles/Dir2 (0.00s)
=== RUN   TestS3sync_GuessMime
=== RUN   TestS3sync_GuessMime/Guess
=== RUN   TestS3sync_GuessMime/NoGuess
=== RUN   TestS3sync_GuessMime/Overwrite
--- PASS: TestS3sync_GuessMime (0.12s)
    --- PASS: TestS3sync_GuessMime/Guess (0.04s)
    --- PASS: TestS3sync_GuessMime/NoGuess (0.04s)
    --- PASS: TestS3sync_GuessMime/Overwrite (0.04s)
PASS
ok      github.com/seqsense/s3sync      1.842s

@kamatama41 @kt3k @ossan-engineer @at-wat would it be possible to get a review on this PR? Let me know if you'd like me to change or add anything.

Hi @at-wat 👋 ! Any chance this could get merged soon? We have an alert constantly firing that this change would help quiet down. Thank you for your review and consideration!


fix match for hostname not match error on old ruby

In old versions the error was "hostname not match" instead of "hostname was not match", update check so that it catches both.

Reviewing


Mono repository

A full build takes a lot of time. We don't want to split our repo to a set of small repos.
Need to setup a mono repo for save-cloud.

[ ] #2666: need to disable building of save-agent and save-demo for each build
[ ] exclude save-demo from a common build
[ ] exclude save-cosv from a common build
[ ] exclude save-sandbox from a common build

Useful info:

https://docs.gradle.org/6.3/userguide/multi_project_builds.html
Example on GitHub with tweaking CI: https://github.com/orangain/gradle-multi-project-monorepo/tree/master

Dependencies between modules:

Module
Dependencies

api-gateway
save-cloud-common, authentication-service

authentication-service
save-cloud-common

save-agent
save-cloud-common

save-api
save-cloud-common

save-api-cli
save-cloud-common, save-api

save-backend
save-cloud-common, authentication-service, test-analysis-core, save-cosv, test-utils

save-cloud-common
-

save-cosv
save-cloud-common

save-cosv-frontend
save-cloud-common, save-frontend-common

save-demo
save-cloud-common

save-demo-agent
save-cloud-common

save-demo-cpg
save-cloud-common

save-frontend
save-cloud-common, save-frontend-common

save-frontend-common
save-cloud-common

save-orchestrator
save-cloud-common, save-orchestrator-common, test-utils (only test)

save-orchestrator-common
save-cloud-common, test-utils (only test)

save-preprocessor
save-cloud-common, test-utils (only test)

save-sandbox
save-orchestrator-common, authentication-service, test-utils (only test)

test-analysis-core
save-cloud-common

test-utils
-


Changes to be used with own client

We are working on an open source Android streaming client that for now is only working using RTP as transport protocol and only decodes H264 encoded video.
While we were working on this project, we used libstreaming as streaming server so we found some issues that needed to be fixed. Also, we added some functionality or logs that made easier our job.
Notice we've merged most of the libstreaming pull requests available at the moment we started working with libstreaming. This may be outdated.

Thanks for some of these... I know this is quite an old post but at least the fix for the calculation of the resolution solved an issue for us where anything besides 176x144 would stream garbage.


Enhance OpenShift Pipelines installation depending on environment + pipeline route bugfix

When installing Red Hat OpenShift Pipelines operator, select version depending on OpenShift version, platform (AWS/GCP/...) and RHODS flavor (Managed/Self-Managed)
Do not deploy KubeflowUI when creating a pipeline server with the sample DataSciencePipelineApplication
Fix route used when creating a pipeline server with the sample DataSciencePipelineApplication (same as in PR #809)

Holding the merge after 1.28.1 release


Adding travis integration

This PR adds basic integration with Travis

LGTM
@thunterdb How close is this to running into problems with long Travis logs?

I'll merge this with master


plot_and_pred function

In the explanation for binary image classification https://github.com/mrdbourke/tensorflow-deep-learning/blob/main/03_convolutional_neural_networks_in_tensorflow.ipynb you defined class_names which were later used in pred_and_plot function to round the probability >0.5 to 1 and <0.5 to 0 to refer to steak and pizza, respectively. But unfortunately the references are 1 for steak and 2 for pizza due to ".DS_store" file at index 0.
If you look at the prediction (pizza_dad.jpeg) right before the start of the section on multi class classification, it predicts ".DS_store" where it should've been pizza, and the prediction above that is given pizza where it should be steak - The model is predicting right but comes out wrong due to class_names reference. Perhaps class_names = class_names[1:] will help.
Thanks you're a great teacher btw.

Wow, thank you for finding this. I missed it and I missed this issue.
Going to fix tomorrow and will update here when it's done.

Fixed :)
Thank you thank you


Please merge revision 3dcef185d65c5bbe98162624ef4ddc49571702e2 into dev channel

@ricowind @whesse @kasperl
<Fill in the labels for Milestone and Area to indicate what the merge applies to. E.g. if you're requesting a merge to fix an issue in Dart2JS, set the area to Area-Dart2JS. If this is a request to merge to stable please change the MergeToDev label to MergeToStable>
<Describe the problem this merge is fixing - include issue numbers if applicable>
This fixes issue #25470 (analyzer/tool/summary/check_test fails on Windows), by addressing a code path in which Windows line endings were not properly normalized.
<What revision(s) needs to be merged - please annotate revisions with reason if more than one>
3dcef185d65c5bbe98162624ef4ddc49571702e2

There is a trivial merge conflict.  CL uploaded here: https://codereview.chromium.org/1593243003/

Merged in 1.14.0-dev.7.1


Parameter variable substitution support for conditionals

Changes
Add parameter variable substitution support for conditionals
A Condition's spec.Check can refer to its declared parameters using
the ${params.param-name} syntax just like in a Task. Values can be
provided via the pipelinerun's parameters or via default values in the
condition or in the PipelineTaskCondition
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

Part of #1019, #1137
Release Notes
- Adds the ability to declare and use parameters in a Condition
whose values can be defined in a pipelinerun.

/lgtm

I've not reviewed the code yet, but I noticed that the params are limited to string - I wonder if we should support the newly added array params too? That could be a separate PR of course.

I wonder if we should support the newly added array params too?

Array params should be supported for the args and command fields just like in a task. Could not think of a good use case for it for the examples at the moment, but I could add it in!

/lgtm

/lgtm
/approve


Suggestion: Kick off a Macro

It would be nice to run a macro once this is triggered.  I can see it being used to kick off a role from LMRTF for example as a perception check.  Or just present some description text and audio.  Having a macro I can call what ever I can image.

Funny enough, this functionality was released yesterday! Unless I'm misunderstanding your ask here?

Amazing, that's exactly what I was talking about.


Support synchronizing OSX Calendar.app calendars from local sqlite database

As of OSX Ventura, calendar events for certain types of Calendar.app accounts (in my case, Exchange-synced) are stored in a local sqlite database (found in ~/Library/Calendars/$CALENDAR_NAME.sqlitedb).
As a plugin user, I would like to be able to sync events in my local calendar to Full Calendar within Obsidian, so that I can create meeting notes, populate my calendar, and generally take advantage of this wonderful plugin.
While making the sync two-way - allowing the user to edit meetings in Obsidian and seeing the changes in their local calendar - would be fantastic, I also assume that would require substantially more work. Even just a one-way sync (local -> Obsidian) would be really cool to see.

This is an interesting idea, but I'm not particularly interested in developing OS-specific functionality as part of Full Calendar. You should be able to sync events from your Apple Calendar by following the instructions in the documentation.

It's a hosted Exchange calendar, so no support for CalDAV (or any other connection options) unfortunately.
Thanks for taking a look at least! I may take a crack at it myself and fork or throw over a PR if/when I can figure out a way to do this.

Ah, my mistake for assuming it was a personal Apple Calendar! Thanks for understanding 😄


Remove CraigslistPersonals - banned globally March 2018

Remove subclass CraigslistPersonals
Craigslist removed Personals section in March, 2018.
NPR article on ban

Oh I didn't know that. Thanks!
Would you mind squashing those 3 commits into one to make them a bit less confusing?

I've replicated this changes in 8ca2c11. Thanks @irahorecka for pointing this out.
Closing this PR.


ui: v0.24.0

The configuration now has an advanced mode that allows the user to view and change all settings.
New users will now see an onboarding wizard that prompts the user to complete the necessary setup steps - it also shows the status and progress of each.
The configuration page now shows the changed status on fields if the user has made a change but the server values were since updated.
The command palette now includes navigation to configuration sections.
Fixed an issue where fiat input fields values were not displaying properly.
Data tables now refresh themselves without user interaction or refocusing the app, even more frequently if a long running operation is in progress.
The configuration is now much simpler by default, only requiring the user to set essential settings.

Closes #107


Error in FirePhp log writer DO NOT MERGE

The use statement @ line 17 is trying to load a class with a relative namespace path. This is not valid in PHP.  if you use the full namespace the unit tests will fail.
I have removed the use statement and just used the namespace FirePhp\FirePhpInterface in the instanceof statement and reversed the condition.
Fixes #7202
Contains temp commit which demonstrates the error.

Contains temp commit which demonstrates the error.

I think it is better to add a unittest.

@Martin-P the first commit is now a new unit test

Nice :+1: BTW, shouldn't this PR be merged against master? It is not a new feature, it is a bug fix.

Closing this based on @Martin-P recommendation. New PR is #7213


wrong image url in wyswyg with s3 storage

the s3 storage is working properly
then i try to upload image in code editor in CRUD, its working fine, but when i save the data, the image is gone wrong path

could you provide more detail explanation please, what is the current path and the expected path

I found the problem
the problem is the wyswyg upload file is to "storage/files" folder, not to "storage/photos" folder
I forgot to add permissions to the "storage/files" folder


Golang ElasticSearch-dump

Nodejs program execution efficiency is low, whether to consider implementing one with Golang.

sounds like a great idea, but I don't have enought Go experience and it would be a separate project


Fix compilation with gcc 14; Fix evaluation of $left, $right, $high, $low

This PR fixes compilation for newer gcc version by adding missing include.
It also fixes evaluation of $left, $right, $high, $low by adding missing $ when comparing function name.

Thank you for the review!


KMeans block size optimizations have been implemented.

This request includes block size optimizations for KMeans.

/intelci: run

/intelci: run


Allow running custom_lint in packages with different versions

Describe the bug
Currently running flutter pub run custom_lint will throw an error whenever a package A has a dependency on package B and C, and package B has also dependency on package C, but the versioning A has of C differs from the versioning B has of C.
I expect custom_lint to run where dart analyze runs.
To Reproduce
Since this issue requires a directory structure to reproduce, the minimal sample can be viewed here.
The sample shows how a package can't be analysed since it has a developer dependency on bloc 8.1.0 and its dependencies has a developer dependency on bloc 8.1.1
Expected behavior
custom_lint runs successfully where dart analzye runs successfully.

I am aware that this is currently intended.
I think this intention makes custom_lint unusable to run on "real" codebases if this is the case. Making it impossible to recommend as a tool.

What you're asking isn't possible without major memory concerns.
You can run the command within one specific package instead of on the whole project at once. Then it'll work.

Sorry, if the reply wasn't clear. I'll reformat it using your given format.
Given a project with the following architecture:
lib/
  foo.dart
packages/
  foo/
  bar/
pubspec.yaml
... # Other files

To see a real example check this.

As you mentioned it might be possible to analyze foo/ and bar/. What I'm saying is that it is impossible (due to the restriction) to analyse foo.dart without altering the versioning to align with its dependencies foo/ and bar/.
I hope this makes more sense, again thank you for the reply.

There's a PR to allow custom_lint lib to analyze only the lib folder and exclude the packages one in your case.
But honestly, you probably should fix the error by aligning the versions.

I think this happens when you use path dependencies.

Indeed, the sample uses path dependencies and shows this issue. @kuhnroyal do you know if git dependencies have the same issue?
With git dependencies I mean dependencies in the form of:
  foo:
    git:
      url: https://github.com/alestiago/foo
      ref: bde6f320d6d278a82f40420df

Path dependencies shouldn't impact this as long as all your projects use a path dependency.

Path dependencies shouldn't impact this as long as all your projects use a path dependency.

Yea not in general, only when you have them as sub folders because they are detected as separate context roots and then leads to the conflict.
If it points to a different folder or if you use a git dependency, this should not be a problem.

Awesome, thanks @kuhnroyal and @rrousselGit for participating in the conversation.
Given that it is not always possible to fix the error by aligning the versions. Do we all agree that this is a current issue with path dependencies?

No as I said before, this is unrelated to path dependencies.

Thanks @rrousselGit for the reply.
I agree with you. Ideally one would like the analyser to run on root and packages to visualise them within the IDE. In addition, in a utopian world, I also think that aligning the versions is also the simplest solution. However, in reality, is not always as easy to align the version of your root and packages folder, since this might be a tedious and complex process and it is not always possible to do so without compromises.
So far, I think custom_lint is nailing the developer experience (in terms of writing the lint). However, I believe asking users of custom_lint (ie people using a lint rules made with custom_lint) to align the versions of their packages is a mayor drawback in terms of user experience. In some scenarios, this may lead to users being unable to use custom_lint at all, since the cost of aligning the versions might be greater than the benefit custom_lint brings to their codebases. In addition, Flutter developers are used to the dart analyser and I believe most would expect custom_lint to run without any complications (out of the box) just as the dart analyze does.
Out of curiosity, I would love to know why you think what I'm asking isn't possible without major memory concerns. If this is indeed impossible I think it should be communicated clearly as part of the documentation as a limitation of custom_lint so users decide if it's worth the cost using it. In addition, perhaps further improvements to the suggested command could be made since it doesn't always align the versions in all scenarios. An improvement could be, adding prompts (wizard) asking the user on what version they desire to stay with.
Contrary, if it is possible I would love custom_lint to have said functionality.
Anyways, let me know what do you think about the given suggestions and questions and how can we move forward to close the issue 💙 .

There's a straightforward solution to your problem though: Don't open the whole project in your IDE at once.
As for the lib/packages issue, I'm suggest moving the root package inside the packages folder with the others. Then all of them will be in it, so opening a specific package won't open the other ones.
Alternatively your IDE should offer alternate ways to open the project without loading packages (cf folder exclude in vscode)
Custom_lint works by starting a single process that depends on all of the enabled plugins in your codebase. As such,
all plugins in your codebase must be compatible with each other.
The alternate solution is to have one process per pubspec.yaml with custom_lint enabled. But that means every project has to perform its own analysis. This can take gigabytes of memory per package with lots of it being duplicates (like the Flutter SDK being analyzed once per project).
Hence why custom_lint uses a single process, to share that memory between all plugins instead of duplicating it.
That's the same reason why the analysis_options.yaml now allows only a single "plugin" listed:
analyzer:
  plugins:
    - a
    # Not allowed anymore. Only a single plugin is allowed by Dart
    - b

There are improvements which could be made. Chances are there are a few cases where we could not throw. But fundamentally this restriction is likely here to stay.
It would help if you could explain more about your issue with the generated quick-fix though. Please make a new issue explaining your issues with it :)

Honestly I'd like to avoid doing that. It's kind of dangerous to resolve dependencies to not use what's locally installed by analyzed apps.

I'll close this in favour of the issues linked just above https://github.com/invertase/dart_custom_lint/issues/110 https://github.com/invertase/dart_custom_lint/issues/111


Full-featured documentation

This PR proposes a brand new documentation.
This PR closes #34 .
Please ignore the commits... the history of this PR is quite disturbing 😅 Everything will be squashed into a single commit when merging to master.
Please focus on 1) the structure and then 2) the content of:

https://github.com/dcmoura/spyql/blob/docs/README.rst
https://spyql.readthedocs.io/en/docs/

I am proposing deprecating the -> operator. It will still be supported but is not mentioned in the documentation. From now on, the . (dot) operator should be the standard way of accessing fields in dicts, followed by standard Python syntax (a_dict["key"]). Major drawback is that we will need to do a new video demoing the CLI and update some posts (e.g. stack overflow).
There is still some work to do on the lib side. Namely, we should add a section under Examples/Recipes. However, there is still some dev work to do, namely on accessing Pandas dataframes and series, as well as numpy arrays. Eventually we can also visit polars and other libs for tabular data. When we do that, we can extend the documentation.
In this first review let's try to focus on the big fish, and not so much on the details.
My goal is to publish the documentation soon, and then we can iterate on it over time.
Thanks!

What a great job Daniel 👏 🎉
I'm sorry if most of these comments are just small nitpicks but that's a really good sign 😜
The only major thing is the reference section not being rendered correctly (see #80 (comment))

Thank you @recharte, this is great feedback!
The reference section is rendering fine locally, I will check what's happening in readthedocs.

@recharte Just finished going over your remarks, thanks!


Update Jenkins Chart

what

Updating Jenkins chart version to 3.3.23 from 2.17.0
Changed template keys in the helmfile values file to accommodate the updated chart values

why

The plugin manager that Jenkins used in the previous version tried downloading latest versions of dependencies
This caused errors when we had pinned versions that were older
The update that fixes this bug was not applied to a 2.x.x version of the Jenkins chart, as 2.17.0 is the newest 2.x.x

/test

/test

/test


possibility of sendArtnet receive other kinds of data, like unsigned char

Hello, first of all thanks for the great addon.
I've just noticed the complete rewrite. it would be great to accept other than ofPixels data too
Thank you

thanks your comment.
what else do you want?

unsigned char would be great!

I added that function pls check.


Error while running convert.py

Hi, I am facing these errors while running convert.py , I have 1100 images and their corresponding .txt files, but it only convert just one picture.
(yolo) asad@asad-Z370P-D3:~/YOLO-Annotation-Tool$ python convert.py
Input:./Labels/001/00923.txt
Output:./Labels/output/00923.txt
1
370 131 553 270
['1\n370', '131', '553', '270\n']
1
370
(1024, 576)
Traceback (most recent call last):
File "convert.py", line 89, in
print(float(xmin), float(xmax), float(ymin), float(ymax))
ValueError: invalid literal for float(): 1
370

Hi @MuhammadAsadJaved
I think the value '1\n370' value convert to float. So the issue is came. We have to split('\n') and get the index 1 value from the list.
Please show me your '00923.txt'. This is more helpfull.

this is the information inside "000923.txt" file ,
1
370 131 553 270
Why he is only reading this file? there are about 1105 text files for 1105 images.

This is reading all txt files but this file only happened the issue.

Hi,
I am using python 2.7 if I try to convert all txt files to single file it shows the value error.
/home/cd005/avengers/bin/python /home/cd005/Downloads/YOLO-Annotation-Tool-master/convert.py
Input:./Labels/003/pos-18.txt
Output:./Labels/output/pos-18.txt
1
81 144 191 248
['1\n81', '144', '191', '248\n']
1
81
Traceback (most recent call last):
File "/home/cd005/Downloads/YOLO-Annotation-Tool-master/convert.py", line 89, in
print(float(xmin), float(xmax), float(ymin), float(ymax))
ValueError: invalid literal for float(): 1
81
(375, 400)
Process finished with exit code 1
Values in pos-18.txt file::
1
81 144 191 248
Please give some suggestion to rectify this issue.


add gettext in common installs

thanks!

can you ping on https://github.com/dimagi/commcare-hq/pull/6481 when this is g2g?


Region condition: Add total number of pages column

Motivation

To be able to calculate percentages, the region condition data export needs an additional column: total number of pages
Proposed Solution

Add this column
Alternatives

None
User Story

As a service team member I need the total number of pages to calculate percentages in the data export
Additional Context

Original request by @osmers: https://github.com/digitalfabrik/integreat-cms/issues/3053#issuecomment-2454062136
Design Requirements

This issue is not resolved yet, as it leads to a server timeout

Superseded by #3189

Tested successfully on cms-test!


SceneImage::setImageCoordinates seems to be broken

I might have done something wrong, but when I tried to call setImageCoordinates with the full image size
img->setImageCoordinates(0,0, img->getWidth(), img->getHeight);
I get an empty black texture

Confirmed - It always shows the first top left, pixel color stretched to the given size - according to my observations..

Fixed in 00432a4a914af54e519fb6c55d5f24e5a917dad4


Documentation Question

I'm attempting to implement infinite scroll, you seem to wrap the call to pull new data in a set timeout,
It's not clear why?  Can you explain and update your documentation to explain as well
   setTimeout(() => {
      for (let i = 0; i < 30; i++) {
        this.items.push( this.items.length );
      }

       console.log('Async operation has ended');
       infiniteScroll.complete();
    }, 500);

Hello! Thank you for opening an issue with us!
The Ionic Framework issues list is designated for the reporting of bugs with the Ionic Framework or for requesting new features. As this is more of a support question I am going to close this issue.
I urge that you ask questions like this on our forum or on our slack channel.
To answer your question, though, the documentation is just an example, and the timeout is being done to simulate an asynchronous fetch of data.
Thanks for using Ionic!

@kensodemann thanks for answering and not making me repost this.


AppScan code sweep action doesn't run scanning on code

Hi,
I have followed your documentation and configured the workflow with secrets generated for API Key and secret via the URL: https://cloud.appscan.com/main/settings
once the action is executed it shows the below information in log.

Exiting...
##[debug]Docker Action run completed with exit code 0
Could you please let us know if there is something missed in terms of configuration here?

Hi,
What event(s) did you set your workflow to run on?  You'll want to use the pull_request event.  If you've already done that, can you show the yaml file you're using?

Hi,
Thanks for swift response. I have used for push event and below config.
on:
push:
branches: [ appscan* ]
Does it work only no pull request?

Hi,
Right now it only works for the pull_request event.

Ah Ok ! I will try with pull request then,
Out of curiosity to understand where is the config or control to make this action work only on PR. From the repo it has only action.yml which launches a docker container. Does that container has kind of control to make it work only for PR?

That's correct.  Until we support other events, I'll look to make the message more clear.  Right now it shows:
"Not interested in this event: null."
That should show the event you used (i.e. "push") but it's showing null for some reason.

Great ! Can we have read access to your action to understand the event based action setup?

I'm hoping to add the action code to the GitHub repo soon, but for now, I'm not able to do so.

I have used the pull request event as you suggested and the workflow is successful. and log here.
Checking for added files...
Checking for modified files...
Connecting to ASoC...
Running Codesweep security scan on updated files...
Few queries out of this execution as below.

Does the scan runs only for change set of files part of the pull request or it has possibility to run scan all the source code files part of the repo?
After the workflow run have been to the Dashboard (https://cloud.appscan.com/main/scans), But didn't see any scan run here. Is it due to no change in source code as per the event trigger?
How do i run the full scan and see the results back in the dashboard?
Please advise us.

@1633605-Phaneendra

The GitHub Action only scans new/changed code. It does not scan other files.
Currently there is no direct integration between GitHub & ASoC. It is planned, but not yet available. Results will only be in GitHub.
Depending on which toolset you use we recommend using the CLI, AppScan Go, maven/Gradle or one of the other CI/CD plugins like Jenkins, Azure DevOps ,etc. You can find a list of plugins here (https://cloud.appscan.com/plugins)

@coadaflorin  Thanks for the feedback.
As you mentioned that results are only available within github, does it in log or any other format or report available with in github?

At the moment only the results you see in the actions/pull request are available.

In version 2 we've added the option to publish issues found to AppScan on Cloud when the PR is merged. See the ReadMe for additional details.


Show Display Name of tags instead of classification.tag

Is your feature request related to a problem? Please describe.
Whenever I tag entities I see the tag in classification_name.tag_name format, but I really would wish to see the tags Display_Name because it is clearer and more concise for end user. They are clickable anyway, but at least, it is self-explanatory in the latter case.
Describe the solution you'd like
I really would wish to see the tags Display_Name because it is clearer and more concise for end user. They are clickable anyway, but at least, it is self-explanatory in the latter case.
Describe alternatives you've considered
No alternatives available
Additional context
For API FQN can stay as name, easier to access tags and classifications.

Hello, it's fixed from the backend side but the UI required some changes.


Interest in moving to RNPM plugin??

I was wondering if there is any interest in moving from a full blown fork of react-native to a plugin approach like react-native-windows adopted. My current project requirements make utilizing this library rather difficult as it stands. While I'm sure I can finagle a solution to my issues, wrestling with the fork approach has piqued my interest in maybe trying my hand at adopting this package into an rnpm plugin. Any feedback would be much appreciated.

One thing to note, its rumored that Apple will soon make it much easier to run iOS apps on macOS. We might want to wait for the 2018 WWDC cycle to see what they introduce, because it might make our lives a lot easier.

Yes, this is my intention. The future of this project has 3 possible ways, there is a project with implementing cross-platform React Native based on Qt, there is the Microsoft team working on new modular architecture for React Native, and there is Apple supposedly working on "rescuing the market of desktop macOS apps". We might finally have a superset of UIKit and AppKit or something like this.
Meantime I almost finished latest merging and it's been really exhausting, so it's not probably the right way how to do it. Even if Apple doesn't show anything, I'll spend some time on the new architecture.

Updated rumor https://daringfireball.net/2018/04/scuttlebutt_regarding_ui_project.
Declarative UI ! hope it's not only human readable storyboard & xib.
BTW, I was previously working on a new solution to port React Native into macOS.
As current react-native-macos's model is fork and modify code directly, and React Native upstream is actively development.
It would be a disaster to follow upstream.
I was proposing a layer called RCTXUIKit which is somewhat Chameleon did.
I tried to use ObjC category or inheritance to make AppKit's interface compatible with UIKit.
From React Native perspective,

Only to import RCTXUIKit.h for most of code.
Adding  macOS support into React.xcodeproj, pretty like tvOS did.

This model should be maintainable with upstream, more than that I also hope if it could be merged into upstream.
My current status is in early stage which still in fixing build break.
I have no experience for macOS development still not sure if this model will works.
Do you have any thought for this proposal?

You all might be interested in this post-WWDC experiment done with React Native and UIKit for Mac (Marzipan): notjosh/Marzipants, and this GitHub issue: facebook/react-native#19559.

Awesome @keplersj !
It's so surprising that the POC works without patching much code.


Grouped TextField select: value becomes undefined onChange

When you wrap  ListSubheader & MenuItems inside <TextField select /> in an element, like div, the value is lost (=undefined) on the next onChange.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
You are not allowed to use react fragments and when you use an element to dynamically map to a single root, value becomes undefined onChange.
Expected Behavior 🤔
It should be possible to either use fragment or wrap the above components in another element.
Steps to Reproduce 🕹
https://codesandbox.io/s/wizardly-snowflake-l7lu4
Steps:

open the example above
change the select value
see error

Your Environment 🌎

Tech
Version

Material-UI
v4.8.0

React
16.8.4

Browser
firefox 71

TypeScript
3.3.3

You have to apply the value prop on the outer most element, this is related to #14943.

It does not make sense to do so on 1. a div (value prop does not exist) and 2. using grouping, because there are multiple possible values.
So this basically means, dynamically grouping is not possible?

@akomm You can add an intermediary component do ignore the value prop from the outer element (the div). Dynamic grouping is possible, as long as you keep a flat array. Like in the existing demo.

Thanks.
The example did not really help, as it uses static definitions, not dynamic.
But I figured it out now myself - no intermediary component needed (also no dead value).
For those, who might seek for the solution: https://codesandbox.io/s/silly-mclaren-k7qul

Thanks for sharing, this would be perfect on StackOverflow.


Update ECB Encryption Mode to CBC Encryption Mode

Hi
Please update the required change to update to CBC Encryption Mode.

This should be updated later this week.

Thanks.....


Usage of non default colors breaks styling

Describe the bug
Passing a non default color to the component breaks the styling for selection in the calendar, and marker for the current date.
To Reproduce
No response
Code snippet
No response
Expected behavior
The pre-forked version of the library supported the usage of non-default colors, so I assumed this would too.
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
Without selecting any color:

With non default color:

Can you send a code example please?

Well, I ended up doing this to make it work, which I'm not sure if its the intended way, but it works.
    const options: ICalendarModalOptions = {
      //...
      cssClass: 'ion-my-non-default-color',
      color: 'custom',
    };

  ion-calendar-modal {
    --ion-color-custom: var(--ion-color-base);
    --ion-color-custom-rgb: var(--ion-color-base-rgb);
    --ion-color-custom-contrast: var(--ion-color-contrast);
    --ion-color-custom-contrast-rgb: var(--ion-color-contrast-rgb);
    --ion-color-custom-shade: var(--ion-color-shade);
    --ion-color-custom-tint: var(--ion-color-tint);
  }

If this is intended, I think it would be good to add this as an example to the readme section.


Unable to Unbond Dot on polkawallet app

Describe the bug
Unable to Unbond via the polkawallet app
To Reproduce
Steps to reproduce the behavior:

Go to Metahub from Dot wallet dashboard
Click on 'staking' then 'enter'
Select 'adjust bonded' then 'unbond'
Enter full amount to unstake in this case 50 Dot
Enter password
See error "Exception: Staking.Insufficentbond"

Expected behavior
For my tokens to be Unbond and available for transfer.
Smartphone (please complete the following information):

Device: Google Pixel6
OS: ?
Version up to date

Additional context
Fees are 0.014, I have 0.75 Dot available
No nominations are set
Wallet has been inactive for some time, maybe 3 or 4 months
App is up to date

Attempted to deposit more dot in order to be above 1 dot threshold to ensure my account is listed as active. I now have 5 dot available for fees and still can't Unbond my 50 locked dot. Same error.
Uninstalled and reinstalled app. Same error.
Noticed that occasionally even when the the error shows the fees are still paid but the amount locked is still 50 and it shows none of my tokens are in the unbonding stage.

Still having the issue. I'm hoping someone can help, is there a support email for the app? Someone, anyone.

Going to try the support email<EMAIL_ADDRESS>


ctc with context dependent phones

Hi
For ctc with context dependent phones, is there any special thing I should do.
Can i just use the acoustic model's output ( CD phones) and sum up the probabilities of these share the same middle phone, then use the TLG script in this project?
Best

By default, if you want to decode with the CD decoding graph, you would need to create the counts for the CD units in the training data, and use those to scale the posteriors. I think there is some possibility of “smoothing”, maybe, i.e. of averaging the counts of CD phones with the same center phones, but not sure if you want to set them all to the same value. I would be happy to look at your experimental results in that area and discuss, this is interesting, though.

On Aug 28, 2017, at 6:43 AM, Xiaofeng Wu<EMAIL_ADDRESS>wrote:
Hi
For ctc with context dependent phones, is there any special thing I should do.
Can i just use the acoustic model's output ( CD phones) and sum up the probabilities of these share the same middle phone, then use the TLG script in this project?
Best
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/srvk/eesen/issues/145, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnA8TuOSifMFE_K5vpJ2NJQckiWqQ1Vks5scpnBgaJpZM4PEXAO.


  However, it would appear that emitting kill to the stream does not kill off the livereload server.
The reason livereload is even enabled is because the server is also used during regular development. Of course I can use a quick fix and only run livereload when the server is not used in conjunction with the tests, but figured desired behaviour would be to kill livereload as well.
Cheers.

+1

+1, having same issue. trying to kill gulp-webserver once karma's done, but emitting the kill event does nothing.

+1 In addition to the explanations of @chiel I figured out, that the exact issue is that the change detection via "watch" is not stopped on shutdown. The livereload server however is closed correctly. I'm going to propose a fix

I republished the current version of gulp-webserver with #125 applied on global npm as @dsoko2/gulp-webserver for anyone, who also needs to have it fixed immediately. I will keep my fork close to the original project (if there should be updates) and deprecate it, when this issue is fixed in the original gulp-webserver on npm


Support embedded interfaces in cmg

Before, Clue Mock Generator would not include the methods from embedded interfaces, for example:
package something

import (
    "goa.design/clue/health"
)

type Client interface {
    Get() (string, error)

    health.Pinger
}

Would not include the methods from health.Pinger in the generated mock. Now it will!

Codecov Report

Merging #277 (dee734d) into main (13c6d8b) will increase coverage by 0.09%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #277      +/-   ##
==========================================
+ Coverage   94.33%   94.42%   +0.09%
==========================================
  Files          43       43
  Lines        2187     2225      +38
==========================================
+ Hits         2063     2101      +38
  Misses         91       91
  Partials       33       33

Flag
Coverage Δ

micro
94.42% <100.00%> (+0.09%)
:arrow_up:

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

Files Changed
Coverage Δ

mock/cmd/cmg/pkg/parse/interface.go
100.00% <100.00%> (ø)

mock/cmd/cmg/pkg/parse/method.go
100.00% <100.00%> (ø)

mock/cmd/cmg/pkg/parse/value.go
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(fslocator): add default region prop

Description
add default region to fslocator

Looks like a typo broke it:
src/components/MapView.tsx(100,63): error TS2459: Type 'Readonly<{ children?: ReactNode; }> & Readonly<PropType>' has no property 'defaultRregion' and no string index signature.

@DavidRhodesBB Thanks. Is there a good way to run tsc locally with flagship? When I try it wants to compile the whole project and run tests and all this other junk.

@BradHabenichtBB yes, for a faster more efficient build you can leverage the available scripts:
from @nathan-sankbeil :
yarn lint:ts <- checks for style issues. runs at project root
yarn prepare <- compiles all of the typescript into js, but does not watch for changes. can be run at the project root or in individual packages
yarn test <- runs the unit tests. can be run at the project root or in individual packages if they have tests
yarn ship:run-ios is comprised of three commands that you could run independently:
yarn ship:compile-ios <- builds the native iOS app. if you haven’t changed any native code or added any new modules with a native component, you don’t need to rerun this and can reuse the existing app in the simulator
yarn ship:run-bundler <- starts the bundler/server that serves the javascript to the app
yarn tsc:watch <- compiles all of the typescript files into js and watches all of the packages for changes. this can be quite resource intensive since it starts a separate node process for each package. if you’re only making changes in a limited number of packages, you can run yarn tsc:watch directly in those packages instead
so, let’s say you’re working on some style issues in pirateship and have already built the binary. you could run yarn ship:run-bundler at the project root and only run yarn tsc:watch in the pirateship directory. that should definitely help stop your computer from bogging down.


Adds dates of currently running saved shows to Global Saves + Follows

This PR surfaces the dates of a saved show if it is currently running in the Global Saves and Follows view per LD-252

#trivial
#skip_new_tests

Warnings

:warning:

Missing Test Files:

src/lib/Components/Lists/__tests__/SavedShowItemRow-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS


Roll engine 4d6847466d0b..95f9b3db6ef8 (3 commits)

https://github.com/flutter/engine/compare/4d6847466d0b...95f9b3db6ef8
git log 4d6847466d0b8223f2d3ba9572e397306b6debf4..95f9b3db6ef8f70ab7073cf80217eccd92697e7d --no-merges --oneline
95f9b3db6 Fix crash on minimize with GLFW shell (flutter/engine#9278)
8d017faea Roll src/third_party/skia a716809d5ad3..df586b7d568d (17 commits) (flutter/engine#9279)
10a3ab085 Fix missing return lint (flutter/engine#9246)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5774352595812352

Commit queue failed; closing this roll.


Helper for emission probability

Adds a helper for computing the emission probabilities.
Gives consistent names to this and the transition probability helper.
Uses positive rather than negative indices (which IMO are easier to debug with).

I believe this is pretty safe and have tested extensively so I am going to merge.


Edit: Kanal 7 Baltics (Latvia)

Channel ID (required)
Kanal7Baltics.lv
Channel Name
No response
Alternative Names
No response
Network
No response
Owners
No response
Country
No response
Subdivision
No response
City
No response
Broadcast Area
No response
Languages
rus;lat
Categories
No response
NSFW
None
Launched
No response
Closed
No response
Replaced By
No response
Website
No response
Logo
No response
Notes
Latvian not Latin.

Bruh... still say Latin.

The request specifies the code for Latin, the code for Latvian is lav.
https://github.com/iptv-org/database/blob/master/data/languages.csv

Oh, ok.


Invitation of figma for design work

https://www.figma.com/files/team/1442579145250180841/project/306081806/Team-project?fuid=1389844635960435587

Please sign up for the invitation link and write "Request for approval"


SkyDNS and First container on Network is getting same IP address

Global state:
netctl global info
Fabric mode: default
Forward mode: bridge
Vlan Range: 1-4094
Vxlan range: 1-10000

Error Log:
docker ps
CONTAINER ID        IMAGE                          COMMAND                  CREATED              STATUS              PORTS                    NAMES
56a3c80318fc        alpine                         "sh"                     About a minute ago   Up 59 seconds                                cranky_minsky
1ad001003f32        alpine                         "sh"                     About a minute ago   Up About a minute                            serene_bhaskara
8afd366e7220        alpine                         "sh"                     About a minute ago   Up About a minute                            amazing_sammet
3f05c26b3e63        skynetservices/skydns:latest   "/skydns"                7 minutes ago        Up 7 minutes        53/tcp, 53/udp           t1dns
67d401f30729        swarm:1.2.0                    "/swarm join --advert"   8 minutes ago        Up 8 minutes        2375/tcp                 swarm-agent
60d72f0bc981        swarm:1.2.0                    "/swarm manage -H :23"   8 minutes ago        Up 8 minutes        <IP_ADDRESS>:2375->2375/tcp   swarm-manager
7d6baed40dc4        skynetservices/skydns:latest   "/skydns"                8 minutes ago        Up 8 minutes        53/tcp, 53/udp           defaultdns

[vagrant@netplugin-node1 netplugin]$ docker inspect 3f05c26b3e63 | grep IPAddress
            "SecondaryIPAddresses": null,
            "IPAddress": "<IP_ADDRESS>",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPAddress": "<IP_ADDRESS>",

[vagrant@netplugin-node1 netplugin]$ docker inspect 8afd366e7220 | grep IPAddress
            "SecondaryIPAddresses": null,
            "IPAddress": "",
                    "IPAddress": "<IP_ADDRESS>",

To be precise - >
These are the steps I did:
1: make demo
2: create tenant, network and EPG. Then create containers. (I dont see the problem most of the times)
3: Then I edit some code.
4: From Inside Vagrant, I do make host-cleanup and make host-restart
5: Repeat step 2. But this time I see this problem

@gaurav-dalvi: Can we close this issue?

i guess now we dont skydns , its ok to close this issue now.


Getting values of decision variables

Hi,
I can get the Z value, but how can I find out the values of the decision variables?
Yours truly

You cannot access directly the dvar values: doopl only "extracts" tupleSet from OPL to Python.
If you look at the examples, such as loving_hearts or mulprod, you will see that they all declare post processing tupleSet structures that are filled via comprehensions on the decision variables values, then from python they are accessed via the get_table method.


react-native-web support

Hi,
with this in my node.api.js dev works like expected, but after yarn build, the page with the react native component is empty without any error.
export default () => ({
webpack: config => {
config.resolve.alias = {
...(config.resolve.alias || {}),
"react-native$": "react-native-web"
};
return config;

}
});
Maybe we need a plugin like https://github.com/slorber/gatsby-plugin-react-native-web but my Webpack skills are limited
Thanks

A plugin would be cool! I've never used RNW though, and I'm not sure how it fits into the React-Static ecosystem just yet. We'll keep an eye on it though and hopefully it becomes a larger use-case. For now, we don't have any direct support for it though.
Feel free to open a PR if you succeed!


Open file via URL should open hosted file via http

It would be nice to be able to specify a URL in the "vscode://file/" command, eg:
vscode://file/https://github.com/microsoft/vscode/blob/master/README.md
In my case I have a script-editor website where I would like to send a file straight to VSCode from my front-end, so that a user doesn't have to copy-paste the code manually, or the user has to click a link to download the file. It would be nice to try the VSCode://file/URL so that I can open the script straight into VSCode.
Furthermore, support a UNC path would also be nice, eg:
vscode://file/\\sharedServer\sharedFolder\README.md
Right now:

FYI - same error for UNC path:

Note, also tried double escaping the UNC path, causing no errors, but also not opening the file - probably an exception happening - cannot confirm:
vscode://file/\\JFOL-NB-02\Shared\File.cs

This the API that your extension needs to use: https://github.com/microsoft/vscode/blob/4a3c056e9a56e45bee19cff400f4891e2fb89774/src/vs/vscode.d.ts#L6675-L6696. Find an example (git extension) here


Memory leak in file download from google drive

I'm running the following code in google colab to download a large file (approximately 2.5 GB).
import io
from google.colab import auth
from googleapiclient.discovery import build
from googleapiclient.http import MediaIoBaseDownload
auth.authenticate_user()

drive_service = build('drive', 'v3')
file_id = '1M5ZTq0Iu0kttOZb1FpDPRG-TsagdYbIQ'
request = drive_service.files().get_media(fileId=file_id)
downloaded = io.BytesIO()
downloader = MediaIoBaseDownload(downloaded, request)
done = False
while done is False:
  status, done = downloader.next_chunk()
  print('Percent downloaded', int(100 * status.progress()))
downloaded.seek(0)
f = open('data.tar.gz', 'wb')
f.write(downloaded.read())
f.close()
del drive_service, downloader, downloaded, f
printm()

I am using the following script to determine memory usage:
!ln -sf /opt/bin/nvidia-smi /usr/bin/nvidia-smi
!pip install gputil
!pip install psutil
!pip install humanize
import psutil
import humanize
import os
def printm():
 process = psutil.Process(os.getpid())
 print("Gen RAM Free: " + humanize.naturalsize( psutil.virtual_memory().available ), " I Proc size: " + humanize.naturalsize( process.memory_info().rss))
printm()

However, it appears that there is a memory leak in the api client. I print the amount of memory usage at the very beginning, before running anything:
Requirement already satisfied: gputil in /usr/local/lib/python3.6/dist-packages (1.3.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from gputil) (1.14.3)
Requirement already satisfied: psutil in /usr/local/lib/python3.6/dist-packages (5.4.5)
Requirement already satisfied: humanize in /usr/local/lib/python3.6/dist-packages (0.5.1)
Gen RAM Free: 13.0 GB  I Proc size: 146.8 MB

After running the download script, which as you can see deletes all of the variables, as well as the %reset magic, the amount of memory is still much less than before:
Requirement already satisfied: gputil in /usr/local/lib/python3.6/dist-packages (1.3.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from gputil) (1.14.3)
Requirement already satisfied: psutil in /usr/local/lib/python3.6/dist-packages (5.4.5)
Requirement already satisfied: humanize in /usr/local/lib/python3.6/dist-packages (0.5.1)
Gen RAM Free: 6.7 GB  I Proc size: 6.5 GB

I think I came across a similar (or possibly the same) issue, but with GSheets.
Environment:
$ python --version
Python 3.6.4
$ pip show google-api-python-client
Name: google-api-python-client
Version: 1.7.3

Here's a simple reproducer (without a .client_secret.json):
#!/usr/bin/env python3

import httplib2
import os
from apiclient import discovery
from memory_profiler import profile
from oauth2client import client, tools
from oauth2client.file import Storage
from time import sleep

SCOPES = "https://www.googleapis.com/auth/spreadsheets.readonly"
# See https://cloud.google.com/docs/authentication/getting-started
CLIENT_SECRET_FILE = ".client_secret.json"
APPLICATION_NAME = "ClientDebug"
DISCOVERY_URL = "https://sheets.googleapis.com/$discovery/rest?version=v4"

def get_credentials():
    home_dir = os.path.expanduser("~")
    credential_dir = os.path.join(home_dir, ".credentials")
    flags = None
    if not os.path.exists(credential_dir):
        os.makedirs(credential_dir)
    credential_path = os.path.join(credential_dir,
                                "sheets.googleapis.com-clientdebug.json")

    store = Storage(credential_path)
    credentials = store.get()
    if not credentials or credentials.invalid:
        flow = client.flow_from_clientsecrets(CLIENT_SECRET_FILE, SCOPES)
        flow.user_agent = APPLICATION_NAME
        credentials = tools.run_flow(flow, store, flags)

    return credentials

@profile(precision=4)
def get_responses(creds):
    """Fetch spreadsheet data."""
    sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"

    http = creds.authorize(httplib2.Http())
    service = discovery.build("sheets", "v4", http=http,
                discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
    result = service.spreadsheets().values().get(
            spreadsheetId=sheet_id, range="A1:O").execute()
    values = result.get("values", [])

    print("Got {} rows".format(len(values)))

if __name__ == "__main__":
    creds = get_credentials()
    for i in range(0, 50):
        get_responses(creds)
        sleep(2)

For measurements I used memory_profiler module with following results:
First and second iteration
Got 760 rows
Filename: ./main.py

Line #    Mem usage    Increment   Line Contents
================================================
    35  26.5195 MiB  26.5195 MiB   @profile(precision=4)
    36                             def get_responses(creds):
    37                                 """Fetch spreadsheet data."""
    38  26.5195 MiB   0.0000 MiB       sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
    39
    40  26.5195 MiB   0.0000 MiB       http = creds.authorize(httplib2.Http())
    41  26.5195 MiB   0.0000 MiB       service = discovery.build("sheets", "v4", http=http,
    42  29.2891 MiB   2.7695 MiB                   discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
    43  49.5742 MiB  20.2852 MiB       result = service.spreadsheets().values().get(
    44  49.5742 MiB   0.0000 MiB               spreadsheetId=sheet_id, range="A1:O").execute()
    45  49.5742 MiB   0.0000 MiB       values = result.get("values", [])
    46
    47  49.5742 MiB   0.0000 MiB       print("Got {} rows".format(len(values)))

Got 760 rows
Filename: ./main.py

Line #    Mem usage    Increment   Line Contents
================================================
    35  49.5742 MiB  49.5742 MiB   @profile(precision=4)
    36                             def get_responses(creds):
    37                                 """Fetch spreadsheet data."""
    38  49.5742 MiB   0.0000 MiB       sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
    39
    40  49.5742 MiB   0.0000 MiB       http = creds.authorize(httplib2.Http())
    41  49.5742 MiB   0.0000 MiB       service = discovery.build("sheets", "v4", http=http,
    42  49.5742 MiB   0.0000 MiB                   discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
    43  67.9922 MiB  18.4180 MiB       result = service.spreadsheets().values().get(
    44  67.9922 MiB   0.0000 MiB               spreadsheetId=sheet_id, range="A1:O").execute()
    45  67.9922 MiB   0.0000 MiB       values = result.get("values", [])
    46
    47  67.9922 MiB   0.0000 MiB       print("Got {} rows".format(len(values)))

Last iteration
Got 760 rows
Filename: ./main.py

Line #    Mem usage    Increment   Line Contents
================================================
    35 229.6055 MiB 229.6055 MiB   @profile(precision=4)
    36                             def get_responses(creds):
    37                                 """Fetch spreadsheet data."""
    38 229.6055 MiB   0.0000 MiB       sheet_id = "1TowKJrFVbT4Bfp-HFcMh_CZ5anfH0CLfmoqCz9SUr9c"
    39
    40 229.6055 MiB   0.0000 MiB       http = creds.authorize(httplib2.Http())
    41 229.6055 MiB   0.0000 MiB       service = discovery.build("sheets", "v4", http=http,
    42 229.6055 MiB   0.0000 MiB                   discoveryServiceUrl=(DISCOVERY_URL), cache_discovery=False)
    43 229.6055 MiB   0.0000 MiB       result = service.spreadsheets().values().get(
    44 229.6055 MiB   0.0000 MiB               spreadsheetId=sheet_id, range="A1:O").execute()
    45 229.6055 MiB   0.0000 MiB       values = result.get("values", [])
    46
    47 229.6055 MiB   0.0000 MiB       print("Got {} rows".format(len(values)))

There's clearly a memory leak, as the reproducer fetches the same data over and over again, yet the memory consumption keeps rising. Full log can be found here.
As a temporary workaround for one of my long-running applications I use an explicit garbage collector call, which mitigates this issue, at least for now:
...
import gc
...
    result = service.spreadsheets().values().get(
            spreadsheetId=sheet_id, range="A1:O").execute()
    values = result.get("values", [])

    gc.collect()
...

I went a little deeper, and the main culprit seems to be in the createMethod function when creating dynamic method batchUpdate:
Method 'batchUpdate, approx. __doc__ size: 2886834
<class 'function'>
Filename: /home/fsumsal/venv/googleapiclient/lib64/python3.6/site-packages/googleapiclient/discovery.py

Line #    Mem usage    Increment   Line Contents
================================================
  1064     48.7 MiB     48.7 MiB     @profile
  1065                               def _add_basic_methods(self, resourceDesc, rootDesc, schema):
  1066                                 # If this is the root Resource, add a new_batch_http_request() method.
  1067     48.7 MiB      0.0 MiB       if resourceDesc == rootDesc:
...
  1086
  1087                                 # Add basic methods to Resource
  1088     48.7 MiB      0.0 MiB       if 'methods' in resourceDesc:
  1089     66.8 MiB      0.0 MiB         for methodName, methodDesc in six.iteritems(resourceDesc['methods']):
  1090     56.0 MiB      0.0 MiB           fixedMethodName, method = createMethod(
  1091     66.8 MiB     18.1 MiB               methodName, methodDesc, rootDesc, schema)
  1092     66.8 MiB      0.0 MiB           print(type(method))
  1093     66.8 MiB      0.0 MiB           self._set_dynamic_attr(fixedMethodName,
  1094     66.8 MiB      0.0 MiB                                  method.__get__(self, self.__class__))
  1095                                     # Add in _media methods. The functionality of the attached method will
  1096                                     # change when it sees that the method name ends in _media.
  1097     66.8 MiB      0.0 MiB           if methodDesc.get('supportsMediaDownload', False):
  1098                                       fixedMethodName, method = createMethod(
  1099                                           methodName + '_media', methodDesc, rootDesc, schema)
  1100                                       self._set_dynamic_attr(fixedMethodName,
  1101                                                              method.__get__(self, self.__class__))

(This method has a huge docstring.)
Nevertheless, there is probably a reference loop somewhere, as the gc.collect() call manages to collect all those unreachable objects.

The issue in the OP and the followup about Gsheets are related, inasmuch as both seem to cause more memory than desirable to be consumed, but they have independent causes.  Or, at least, the MediaIOBaseDownload.next_chunk() codepath never causes the createMethod function to be called.
@mrc0mmand would you be kind enough to open a separate issue about the Gsheets memory issue?

@mcdonc Sure thing, see #535.

@alexanderwhatley
For the record, I created the following script in order to attempt to replicate your findings:
import psutil
import humanize
import os
import io
from httplib2 import Http

from googleapiclient.discovery import build
from googleapiclient.http import MediaIoBaseDownload
from oauth2client import file, client, tools

def printm():
    process = psutil.Process(os.getpid())
    print("Gen RAM Free: " + humanize.naturalsize( psutil.virtual_memory().available ), " I Proc size: " + humanize.naturalsize( process.memory_info().rss))

printm()

# Setup the Drive v3 API
SCOPES = 'https://www.googleapis.com/auth/drive'

#'https://www.googleapis.com/auth/drive.metadata.readonly',

store = file.Storage('credentials.json')
creds = store.get()
if not creds or creds.invalid:
    flow = client.flow_from_clientsecrets('client_secret.json', SCOPES)
    creds = tools.run_flow(flow, store)
drive_service = build('drive', 'v3', http=creds.authorize(Http()))

file_id = '1RbGWNti3FNuSdX9bNgCTmMmDKRYMDby1'
request = drive_service.files().get_media(fileId=file_id)
downloaded = io.BytesIO()
downloader = MediaIoBaseDownload(downloaded, request)
done = False
while done is False:
    status, done = downloader.next_chunk()
    print('Percent downloaded', int(100 * status.progress()))

downloaded.seek(0)
f = open('data.tar.gz', 'wb')
f.write(downloaded.read())
f.close()
del drive_service, downloader, downloaded, f
printm()

I ran this under Python 2.7.15 and got the following result against a 2.5GB file:
('Gen RAM Free: 58.4 GB', ' I Proc size: 32.4 MB')
('Percent downloaded', 5)
('Percent downloaded', 11)
('Percent downloaded', 17)
('Percent downloaded', 23)
('Percent downloaded', 29)
('Percent downloaded', 35)
('Percent downloaded', 41)
('Percent downloaded', 47)
('Percent downloaded', 53)
('Percent downloaded', 59)
('Percent downloaded', 65)
('Percent downloaded', 71)
('Percent downloaded', 77)
('Percent downloaded', 83)
('Percent downloaded', 89)
('Percent downloaded', 95)
('Percent downloaded', 100)
('Gen RAM Free: 56.8 GB', ' I Proc size: 36.6 MB')

I got a similar result under Python 3.5.
Do you think you can run it on your system and see if you get the same results?

@mcdonc I don't have access to your files so I can't run your code, but as I showed above, I had the same issue as you.

@alexanderwhatley thanks for the response.
What I was getting at, though, is that I don't see an issue.  The problematic result in your original analysis is, I believe:
Requirement already satisfied: gputil in /usr/local/lib/python3.6/dist-packages (1.3.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from gputil) (1.14.3)
Requirement already satisfied: psutil in /usr/local/lib/python3.6/dist-packages (5.4.5)
Requirement already satisfied: humanize in /usr/local/lib/python3.6/dist-packages (0.5.1)
Gen RAM Free: 6.7 GB  I Proc size: 6.5 GB

I haven't been able to get a result like that.  Instead, memory is reclaimed by the end of the script.
Do you think you might be able to change the fileId of my script to a large file in your drive area and replicate your problematic result (possibly making changes to my script as necessary)?

Closing this issue as needs more info was added over a year ago, and there hasn't been more followup. Please open a new issue and reference this if you encounter this.
Thanks!


Ignore dimension element if it doesn't specify a range.

Simple fix for issue #142.

This way breaks some tests, you also need to let (dimension = null) otherwise

Sorry, had forgotten to push a local change to my branch.

Will your merge it in the main branch?


Fix multiple dialog windows bug

Changes

Fix shouldn't allow to open multiple export and choose file dialogs #1175

nice one @btzr-io !


Update rules_android. Reapply ba7310ce4a1d8fb14434597fbc7440a4074f7695

Reverts https://github.com/bazel-contrib/rules_jvm_external/pull/1215 plus accounting for additional changes since https://github.com/bazel-contrib/rules_jvm_external/commit/ba7310ce4a1d8fb14434597fbc7440a4074f7695 went in

Thanks for pushing this through! The failing tests look legitimate.


Optimize Communication Between Entry Point Agent and Other Agents Using sendMessage

We are facing an issue where the entry point agent occasionally sends incorrect or malformed information when communicating with other agents. To address this, I want to enforce that all messages sent by the entry point agent are in JSON format to improve message consistency and avoid errors in communication. Specifically, I need guidance on:
How can I ensure that all messages sent by the entry point agent are in JSON format?
Is there a way to optimize the sendMessage function to enforce JSON format for all outgoing messages?

Hey did you try to enable JSON mode for the CEO agent? Also, discord is the best place for questions like this so we can assist you quicker


Balancer off chain min BPT check

Do a dry-run of how much BPT should depositing liquidity yield, and then pass it along to VaultAdmin's depositToStrategy.  This PR also disables withdraw / deposit functions on Balancer strategy since this is never going to be a default strategy.
Things left to do:

make it possible to withdraw using multiple assets with 1 transaction
make it possible to pass min expected assets on withdrawal

TBD:
we need a sanity check if strategist is hijacked. We could:

still calculate price of BPT on chain and leave ~2% of wiggle room when strategist defines expected BPT on deposit / assets on withdrawal
limit a number of TX a strategist can execute in a give time interval -> so a circular transactions of depositing / withdrawing to/from strategy can't drain too much funds
something else?

We've decided to use the VaultValue checker and not rely on off chain calculations


Refactor [AzureDevOpsCoverage AzureDevOpsTests] to only report on completed builds

This is in response to this conversation. The change turned out being even easier than I had anticipated because the API supports a buildStatus filter. I did quite a bit of local testing to make sure this is solid. I also ran tests and checked coverage.
One thing I thought might be slightly odd is the name of this class doesn't match the file name. Not an issue and I'm not sure if it's intentional, but figured it was worth noting.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @DeanPDX!

  Generated by :no_entry_sign: dangerJS against ee0246d71673b19a460561b48307da52d68d6731

One thing I thought might be slightly odd is the name of this class doesn't match the file name. Not an issue and I'm not sure if it's intentional, but figured it was worth noting.

Good catch, feel free to change that to AzureDevOpsBase

OK - I'll update the base class name real quick. I wasn't sure if I should update the name of the class or the filename because it seemed as if BaseAzureDevOpsService was attempting to be consistent with BaseJsonService, etc.

Thanks so much!


Logging of actions taken

Script should log actions taken to a file which gets downloaded before the droplet is destroyed.
All actions taken should be logged. Will help in debugging automation.

Working on adding loggers to each plugin. Examples will exist soon.


Remove "Eunuch" from the gender enum.

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

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

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 79.187%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
818

Relevant Lines:
1033

💛  - Coveralls


The wrong physicalSize is reported after spawn a new lightweight engine

Steps to Reproduce

Clone the project of flutter sample: https://github.com/flutter/samples/tree/master/add_to_app/multiple_flutters
Write the code in Android project that makes one Android Activity having two FlutterView. The top and bottom of the screen use two engines respectively, the second engine is spawned from the first engine.
Use MediaQuery.of(context).size or window.physicalSize or SizeChangedLayoutNotifier in second flutter instance's dart entrypoint  to get the size of the engine.

Expected results: The second flutter instance returns the right physicalSize or returns zero size while initializing.
Actual results:  The second flutter instance returns the first flutter instance's physicalSize.

    final size = MediaQuery.of(context).size;
    print(size);
    print(window.physicalSize);
    print(window.physicalGeometry);

$ flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.789, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.6.0-12.0.pre.789 at /Users/eggfly/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6ae721de3d (2 days ago), 2021-11-21 15:22:37 -0500
    • Engine revision ad00d12833
    • Dart version 2.16.0 (build 2.16.0-35.0.dev)
    • DevTools version 2.8.0
    • Pub download mirror https://dart-pub.byted.org

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/eggfly/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/eggfly/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.55

• No issues found!

Hi @eggfly, thanks for filing the issue.
Can you please provide a sample repo that will help with reproducing the issue?
Thank you


Searching an URL hangs

For me, this hangs:
rak §reading https://dev.to/lizmat/its-time-to-rak-part-1-30ji

But obtaining the file with 'curl' succeeds:
curl https://dev.to/lizmat/its-time-to-rak-part-1-30ji

I cannot reproduce this:
$ rak §reading https://dev.to/lizmat/its-time-to-rak-part-1-30ji
https://dev.to/lizmat/its-time-to-rak-part-1-30ji
390:aria-label="Add to reading list"
783:
Thank you for reading all the way to the end!

So assume it is either fixed, or was a temporary fluke?
Closing, please re-open if you disagree.


Mention -F option to ssh instead of advising to move config around

https://github.com/PrincetonUniversity/removing_tedium/blob/6ef8ff6e564ae59574afa2346f968b17d3cac641/01_suppressing_duo/README.md?plain=1#L328
I think this would be easier with just ssh -F /dev/null (no config) or ssh -F path/to/alternate/config

The page has been updated with these suggestions.