Cannot view contents of files in plexdrive mount

Plexdrive Version: 5
OS: Centos 7, Ubuntu 16.04
Plexdrive Command: [root@mediapull ~]# plexdrive mount -c /root/.plexdrive/ -o allow_other /mnt/plexdrive/ -v4 --max-chunks=200
#228 Possibly related
I am able to get my google drive mounted to /mnt/plexdrive. The initial caching process completes and I can transverse the folders in /mnt/plexdrive.
[root@mediapull rclone]# find /mnt/plexdrive/media/
/mnt/plexdrive/media/
/mnt/plexdrive/media/TV
/mnt/plexdrive/media/TV/Fargo
/mnt/plexdrive/media/TV/Fargo/Season 01
/mnt/plexdrive/media/TV/Fargo/Season 01/Fargo.-.S01E01.-.The.Crocodiles.Dilemma.-.720p.WEB-DL.en.srt
/mnt/plexdrive/media/TV/Fargo/Season 01/Fargo.-.S01E01.-.The.Crocodiles.Dilemma.-.720p.WEB-DL.mkv
/mnt/plexdrive/media/TV/Fargo/Season 01/Fargo.-.S01E01.-.The.Crocodiles.Dilemma.-.720p.WEB-DL.nfo
/mnt/plexdrive/media/TV/Fargo/Season 01/Fargo.-.S01E01.-.The.Crocodiles.Dilemma.-.720p.WEB-DL.tbn

I brought up plex (dockerized) with the /mnt/plexdrive/media mounted in the container. I add a new library pointed at /mnt/plexdrive/media/TV, errors are generated in the logs. The scanning process never completes.
==> Plex Media Server.log <==
Sep 28, 2017 20:59:44.328 [0x7fa1cfffc700] WARN - Waited one whole second for a busy database.
Sep 28, 2017 20:59:45.441 [0x7fa1cfffc700] ERROR - Failed to begin transaction (../Statistics/StatisticsManager.h:191) (tries=10): Cannot begin transaction. database is locked
Sep 28, 2017 20:59:45.441 [0x7fa1cfffc700] ERROR - Uncaught exception running threadpool task: Cannot begin transaction. database is locked

To simplify things I tried run [root@mediapull plexdrive]# cat userlist.txt on a text file in my google drive. It never outputs anything. I'm not seeing any errors in the plexdrive logs. I asked in the slack channel and another user confirmed they can cat files in their plexdrive mount.
logs from plexdrive
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3c6] Lookup 0x18 gen=236 valid=1m0s attr={valid=1m0s ino=7217178173311872721 size=0 mode=drwxr-xr-x}
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Forget [ID=0x3c7 Node=0x21 Uid=0 Gid=0 Pid=0] 1
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3c7] Forget
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Lookup [ID=0x3c9 Node=0x1 Uid=0 Gid=0 Pid=14518] "userlist.txt"
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : Getting object userlist.txt in parent 0AHQfOwAe8NCpUk9PVA
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : Got object from cache &{0B3QfOwAe8NCpOWxtaWdtdWg3T3M userlist.txt false 15 2017-09-28 23:37:19.774 +0000 UTC https://www.googleapis.com/drive/v3/files/0B3QfOwAe8NCpOWxtaWdtdWg3T3M?alt=media [0AHQfOwAe8NCpUk9PVA] true}
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3c9] Lookup 0x21 gen=237 valid=1m0s attr={valid=1m0s ino=7429371230070458921 size=15 mode=-rw-r--r--}
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Forget [ID=0x3cc Node=0x12 Uid=0 Gid=0 Pid=0] 1
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3cc] Forget
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Lookup [ID=0x3ca Node=0x1 Uid=0 Gid=0 Pid=14518] "userlist.txt"
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : Getting object userlist.txt in parent 0AHQfOwAe8NCpUk9PVA
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : Got object from cache &{0B3QfOwAe8NCpOWxtaWdtdWg3T3M userlist.txt false 15 2017-09-28 23:37:19.774 +0000 UTC https://www.googleapis.com/drive/v3/files/0B3QfOwAe8NCpOWxtaWdtdWg3T3M?alt=media [0AHQfOwAe8NCpUk9PVA] true}
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3ca] Lookup 0x12 gen=238 valid=1m0s attr={valid=1m0s ino=7429371230070458921 size=15 mode=-rw-r--r--}
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Forget [ID=0x3cb Node=0x21 Uid=0 Gid=0 Pid=0] 1
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3cb] Forget
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Read [ID=0x3cd Node=0x1 Uid=0 Gid=0 Pid=14518] 0x4 4096 @0x3a0 dir=true fl=0 lock=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3cd] Read 0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Release [ID=0x3ce Node=0x1 Uid=0 Gid=0 Pid=0] 0x4 fl=OpenReadOnly+OpenDirectory+OpenNonblock rfl=0 owner=0x0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3ce] Release
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Open [ID=0x3cf Node=0x1 Uid=0 Gid=0 Pid=8829] dir=true fl=OpenReadOnly+OpenDirectory+OpenNonblock
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3cf] Open 0x4 fl=0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Read [ID=0x3d0 Node=0x1 Uid=0 Gid=0 Pid=8829] 0x4 4096 @0x0 dir=true fl=0 lock=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : Getting children for 0AHQfOwAe8NCpUk9PVA
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : Got objects from cache [0xc420011980 0xc420011a00 0xc420011a80 0xc420011b00 0xc420011b80 0xc420011c00 0xc420011c80 0xc420011d00 0xc420011e00 0xc420011f80 0xc42011e000 0xc42011e080 0xc42011e100 0xc42011e180 0xc42011e280 0xc42011e300 0xc42011e380 0xc42011e400 0xc42011e480 0xc42011e500 0xc42011e580]
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3d0] Read 928
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Read [ID=0x3d1 Node=0x1 Uid=0 Gid=0 Pid=8829] 0x4 4096 @0x3a0 dir=true fl=0 lock=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3d1] Read 0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Release [ID=0x3d2 Node=0x1 Uid=0 Gid=0 Pid=0] 0x4 fl=OpenReadOnly+OpenDirectory+OpenNonblock rfl=0 owner=0x0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3d2] Release
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Getattr [ID=0x3d3 Node=0x1 Uid=0 Gid=0 Pid=8829] 0x0 fl=0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3d3] Getattr valid=1m0s ino=1 size=0 mode=drwxr-xr-x
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Open [ID=0x3d4 Node=0x12 Uid=0 Gid=0 Pid=15133] dir=false fl=OpenReadOnly
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3d4] Open 0x4 fl=0
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Read [ID=0x3d5 Node=0x12 Uid=0 Gid=0 Pid=15133] 0x4 4096 @0x0 dir=false fl=0 lock=0 ffl=OpenReadOnly
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE <- Statfs [ID=0x3d6 Node=0x1 Uid=1103 Gid=0 Pid=15851]
[PLEXDRIVE] [2017-09-29 04:12] TRACE  : FUSE -> [ID=0x3d6] Statfs blocks=0/0/0 files=0/0 bsize=0 frsize=0 namelen=0

syslog from an ubuntu 16.04 vm
I'm seeing the same behavior on centos7
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.300138] INFO: task cat:13865 blocked for more than 120 seconds.
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.306523]       Not tainted 4.4.0-1022-aws #31-Ubuntu
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.311783] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319192] cat             D ffff880036c6bbb8     0 13865  13849 0x00000004
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319197]  ffff880036c6bbb8 ffff880000018260 ffffffff81e11500 ffff88003b629b80
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319199]  ffff880036c6c000 ffff880036c6bbe8 ffff880000018260 ffff88003c6de850
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319201]  fffffffffffffe00 ffff880036c6bbd0 ffffffff81810125 ffff880000018190
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319202] Call Trace:
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319212]  [<ffffffff81810125>] schedule+0x35/0x80
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319217]  [<ffffffff81315cef>] request_wait_answer+0x12f/0x290
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319222]  [<ffffffff810c2fd0>] ? wake_atomic_t_function+0x60/0x60
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319224]  [<ffffffff81315ed4>] __fuse_request_send+0x84/0x90
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319226]  [<ffffffff81315f07>] fuse_request_send+0x27/0x30
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319227]  [<ffffffff8131eec4>] fuse_do_readpage+0x154/0x1d0
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319229]  [<ffffffff8131ef7a>] fuse_readpage+0x3a/0x60
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319233]  [<ffffffff8118e24b>] generic_file_read_iter+0x34b/0x670
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319235]  [<ffffffff810c9c91>] ? __raw_callee_save___pv_queued_spin_unlock+0x11/0x20
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319237]  [<ffffffff8131d7ac>] fuse_file_read_iter+0x4c/0x70
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319240]  [<ffffffff8120be34>] new_sync_read+0x94/0xd0
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319242]  [<ffffffff8120be96>] __vfs_read+0x26/0x40
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319244]  [<ffffffff8120c456>] vfs_read+0x86/0x130
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319246]  [<ffffffff8120d1a5>] SyS_read+0x55/0xc0
Sep 28 23:20:03 ip-172-31-11-130 kernel: [ 6720.319248]  [<ffffffff81814232>] entry_SYSCALL_64_fastpath+0x16/0x71

This is the same issue as:
https://github.com/dweidenfeld/plexdrive/issues/249
Just upgraded my VPS to 2x cpu and 4GB ram and its working fine now

Um ... Is it short of memory?
I have same issue.
But I think mine has enough memory.
I'm using QNAP NAS with 4-core AMD SOC CPU
and 6GB RAM (4GB Free)


Update docker build, add instructions to README

Fixes #5, #6

Thank you!

BTW, what happens on upgrades, does the Postgres database get wiped?
Would it make sense to have some light documentation on how to store the data appropriately?

The postgres data is stored in a docker volume called pgdata. That keeps existing across updates, reboots, etc unless the user explicitly removes it. An alternative is to change - pgdata:/var/lib/postgres/data to use a mounted folder, like - /some-folder:/var/lib/postgres/data.

Thanks for the clarification :+1:


maa-cli: 0.4.10 -> 0.4.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/MaaAssistantArknights/maa-cli/releases.
meta.description for maa-cli is: Simple CLI for MAA by Rust
meta.homepage for maa-cli is: https://github.com/MaaAssistantArknights/maa-cli
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.11 with grep in /nix/store/jw2g80n2c1d4w1jhhdwgaa4f7rf678fx-maa-cli-0.4.11
found 0.4.11 in filename of file in /nix/store/jw2g80n2c1d4w1jhhdwgaa4f7rf678fx-maa-cli-0.4.11

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

maa-cli

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/a419f4caccd860643aecf5976acb46f94ea68adf#maa-cli

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

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

1 package built:

maa-cli

Maintainer pings
cc @Cryolitia for testing.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


App permissions UI

When installing Apps, we want to present to the user all the permissions that an app is asking for.
As per App Ideas Permissions
Permissions might be something like:

Can add, edit and delete posts.
Can add a new route

All apps by default will be able to:

browse and read published posts
browse and read users, where each user only returns safe data

The permissions can either be accepted or denied as a group.
Accepting will install the app, denying will not install the app.

Temporarily closing all of the app specific issues (tagged with later). Will review & reopen those that are still relevant when we kick off that project, which should be shortly after Zelda lands.


feat: add support for new download method in Protect 4.x

Description of change
Adds export_camera_video() which is the exact implementation of what get_camera_video() used to be.
Adds prepare_camera_video() which is the new implementation used by Unifi Protect 4, and the recommended way to get videos.
Adds download_camera_video() which is the follow call that needs to be made after prepare_camera_video()
Rewrites get_camera_video() to automatically choose between export or prepare/download to maintain backwards compatability.
Once we are happy with the functionality, I will add tests & tidy up the commit history with proper messages.
Pull-Request Checklist

[x] Code is up-to-date with the main branch
[x] This pull request follows the contributing guidelines.
[x] This pull request links relevant issues as Fixes #0000
[ ] There are new or updated unit tests validating the change
[ ] Documentation has been updated to reflect this change
[ ] The new commits follow conventions outlined in the conventional commit spec, such as "fix(api): prevent racing of requests".

If pre-commit.ci is failing, try pre-commit run -a for further information.
If CI / test is failing, try poetry run pytest for further information.

Summary by CodeRabbit

New Features

Introduced methods for downloading and preparing camera videos, enhancing video handling capabilities.
Added a new enumeration for video export types, including options for timelapse and rotating formats.

Bug Fixes

Improved error handling for camera ID validation and video export types.

I forgot to run mypy through this so please bare with me

Generally looks good. Needs some tests to make sure the http requests are sending the expected payloads

I will add some tests in tomorrow as its getting late here now.
I have one remaining question about this whole change. Do we really want to replace the old mechanism with the new one silently based on version? I worry if there is some unexpected differences in this new mechansim it will affect downstream consumers.

I have one remaining question about this whole change. Do we really want to replace the old mechanism with the new one silently based on version? I worry if there is some unexpected differences in this new mechansim it will affect downstream consumers.

Assuming the old methods still work then it makes more sense to add this all as new instead of replacing the old mechanism with the new one silently.

I am trying to write tests, but the built in sample data is pre v4.0.0, so I tried to generate my own data and get the following error trying to run one of the existing tests:
uiprotect on  new-download [!] is 🐳 v24.0.9 via ·uiprotect-461Fq3yj-py3.12
➜ UFP_SAMPLE_DIR=(pwd)/ufp-data pytest tests/test_api.py -k test_get_camera_video
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.
  warner(PytestBenchmarkWarning(text))
Test session starts (platform: darwin, Python 3.12.3, pytest 8.3.3, pytest-sugar 1.0.0)
cachedir: .pytest_cache
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /Users/seb/git/uiprotect
configfile: pyproject.toml
plugins: asyncio-0.24.0, cov-5.0.0, sugar-1.0.0, timeout-2.3.1, benchmark-4.0.0, xdist-3.6.1
asyncio: mode=Mode.STRICT, default_loop_scope=None
initialized: 8/8 workers/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
ready: 2/8 workers/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
collecting: 2/8 workers/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
collecting: 4/8 workers/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:208: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
8 workers [1 item]
scheduling tests via LoadScheduling
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (modu/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
le-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/control.py:888: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")

―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR at setup of test_get_camera_video ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[gw0] darwin -- Python 3.12.3 /Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/bin/python

request = <SubRequest 'protect_client' for <Coroutine test_get_camera_video>>, kwargs = {}, func = <function protect_client_fixture at 0x10785ccc0>
event_loop_fixture_id = 'event_loop', setup = <function _wrap_asyncgen_fixture.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x107a1f560>
finalizer = <function _wrap_asyncgen_fixture.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x107a1f600>

/Users/seb/Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module uiprotect was previously imported, but not measured (module-not-measured)
  self.warn(msg, slug="module-not-measured")
    @functools.wraps(fixture)
    def _asyncgen_fixture_wrapper(request: FixtureRequest, **kwargs: Any):
        func = _perhaps_rebind_fixture_func(fixture, request.instance)
        event_loop_fixture_id = _get_event_loop_fixture_id_for_async_fixture(
            request, func
        )
        event_loop = request.getfixturevalue(event_loop_fixture_id)
        kwargs.pop(event_loop_fixture_id, None)
        gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request))

        async def setup():
            res = await gen_obj.__anext__()  # type: ignore[union-attr]
            return res

        def finalizer() -> None:
            """Yield again, to finalize."""

            async def async_finalizer() -> None:
                try:
                    await gen_obj.__anext__()  # type: ignore[union-attr]
                except StopAsyncIteration:
                    pass
                else:
                    msg = "Async generator fixture didn't stop."
                    msg += "Yield only once."

        Raises ValidationError if the input data cannot be parsed to form a valid model.
        """
        # Uses something other than `self` the first arg to allow "self" as a settable attribute
        values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
        if validation_error:
>           raise validation_error
E           pydantic.v1.error_wrappers.ValidationError: 7 validation errors for Bootstrap
E           nvr -> is_stats_gathering_enabled
E             field required (type=value_error.missing)
E           nvr -> hardware_platform
E             field required (type=value_error.missing)
E           nvr -> is_station
E             field required (type=value_error.missing)
E           nvr -> enable_stats_reporting
E             field required (type=value_error.missing)
E           nvr -> is_hardware
E             field required (type=value_error.missing)
E           nvr -> storage_stats -> storage_distribution -> recording_type_distributions -> 3 -> recording_type
E             none is not an allowed value (type=type_error.none.not_allowed)
E           nvr -> network
E             field required (type=value_error.missing)

../../Library/Caches/pypoetry/virtualenvs/uiprotect-461Fq3yj-py3.12/lib/python3.12/site-packages/pydantic/v1/main.py:341: ValidationError
                                                                                100% ██████████

---------- coverage: platform darwin, python 3.12.3-final-0 ----------
Name                              Stmts   Miss  Cover   Missing
---------------------------------------------------------------
src/uiprotect/__main__.py            14     14     0%   1-24
src/uiprotect/api.py                818    591    28%   155-158, 217, 222-223, 231-232, 239-241, 246, 250, 254-260, 264-272, 292-297, 301-305, 308-312, 316-320, 331-385, 396-417, 423-444, 454-470, 489, 501-512, 516-518, 522-546, 550-566, 570-597, 600-609, 613-647, 651-675, 679, 683-687, 700, 788, 791, 795-798, 803-817, 831-833, 837-845, 849-872, 875-877, 880-889, 898-947, 988-1043, 1085-1120, 1131-1134, 1141-1144, 1155-1156, 1163, 1167-1172, 1185, 1193-1209, 1217, 1225, 1233, 1241, 1252, 1260, 1268, 1276, 1287, 1296-1310, 1318-1319, 1327, 1335, 1343, 1351, 1359, 1370, 1378, 1389, 1397, 1414-1429, 1447-1463, 1476-1486, 1507-1553, 1557-1563, 1589-1621, 1653-1707, 1721-1730, 1747-1757, 1780-1793, 1813-1814, 1821, 1825-1827, 1843, 1858, 1862, 1866, 1870, 1874-1882, 1886, 1890, 1898, 1912-1924, 1932, 1936, 1943-1965, 1969-1976, 2000-2011, 2033-2042, 2061-2069, 2073-2074, 2082, 2086-2092, 2096-2102, 2106, 2113-2114, 2118-2122
src/uiprotect/data/base.py          511    225    56%   141, 145-172, 181, 210, 242-243, 337, 365-374, 383-390, 403-410, 435-475, 484-515, 519-520, 523, 531-534, 555-557, 566, 571, 576, 591-594, 599, 606-608, 611-613, 616-618, 621-623, 626-628, 637-661, 686-700, 710-752, 756, 760-793, 814, 838-840, 849-852, 921, 947-949, 956-961, 972, 976, 980, 984, 988-990, 995, 1000, 1004, 1009-1012, 1016-1023, 1027-1037, 1041-1050, 1063, 1070-1072, 1076-1078
src/uiprotect/data/bootstrap.py     307    190    38%   105, 109-117, 128-144, 213, 231-239, 243, 246, 250, 254-259, 264-273, 278-282, 287-293, 297, 301, 306-310, 313-321, 328-352, 362-372, 385-403, 426-472, 488-515, 526-557, 566-578, 582-603, 607
src/uiprotect/data/convert.py        24     14    42%   49-59, 72-81
src/uiprotect/data/devices.py      1784    845    53%   114, 143, 148, 157-160, 164-172, 177-180, 185-188, 193-198, 203-206, 210-216, 236-250, 279-285, 289-295, 299, 345-347, 432-457, 480-487, 498, 504-511, 515-521, 528-540, 609-612, 617, 626-628, 643, 652-657, 678-683, 687, 749-770, 778-791, 870, 881, 885, 906-910, 1008, 1024, 1059-1093, 1096-1114, 1118-1125, 1129-1131, 1136-1138, 1143-1147, 1152-1155, 1162-1164, 1169-1173, 1180-1182, 1186, 1190-1191, 1201-1203, 1208, 1216, 1224, 1232-1234, 1239-1241, 1246-1250, 1255-1261, 1266, 1274, 1283-1289, 1294-1297, 1302, 1307-1308, 1319, 1331, 1339, 1344, 1349, 1354, 1358, 1363, 1374, 1382, 1387, 1392, 1397, 1401, 1408, 1418, 1423, 1428, 1433, 1437, 1447, 1455, 1460, 1465, 1470, 1474, 1481, 1489, 1494, 1499, 1504, 1508, 1515-1516, 1526-1527, 1534-1539, 1549, 1561, 1569, 1574, 1579, 1584, 1588, 1595, 1603, 1608, 1613, 1618, 1622, 1629, 1637, 1642, 1647, 1652, 1656, 1663, 1671, 1676, 1681, 1686, 1690, 1697, 1705, 1710, 1715, 1720, 1724, 1731, 1739, 1744, 1749, 1754, 1758, 1766, 1774, 1779, 1784, 1789, 1793, 1800, 1808, 1813, 1818, 1823, 1827, 1834, 1842, 1847, 1852, 1857, 1861, 1868, 1874, 1878, 1882-1884, 1888-1890, 1894-1896, 1900-1907, 1911-1913, 1917, 1921, 1927, 1933, 1939, 1943-1950, 1953-1956, 1959-1966, 1969-1971, 1984-1996, 2009-2024, 2052-2061, 2075-2081, 2085-2091, 2095-2107, 2112, 2119-2126, 2130-2142, 2146-2161, 2165-2171, 2175-2181, 2185-2191, 2195-2201, 2205-2211, 2215-2221, 2225, 2229-2245, 2249-2255, 2259-2265, 2269-2275, 2279-2285, 2289-2296, 2300-2309, 2316-2325, 2332-2348, 2355-2374, 2383-2415, 2425-2444, 2448-2459, 2482-2486, 2506-2510, 2514-2524, 2528-2530, 2533-2535, 2538-2540, 2567-2574, 2596, 2612-2618, 2622-2625, 2633-2636, 2640-2643, 2647-2650, 2654-2657, 2661-2664, 2668-2671, 2684, 2689, 2694, 2705-2714, 2784, 2789, 2806-2817, 2822-2824, 2828, 2832-2834, 2838, 2842, 2846, 2850, 2854, 2861, 2867, 2870-2871, 2875-2877, 2881-2883, 2887-2889, 2893-2895, 2899, 2904-2907, 2912-2915, 2920-2923, 2928-2931, 2936-2939, 2943-2954, 2959-2963, 2968-2971, 2975-2986, 2991-2995, 3000-3003, 3007-3018, 3023-3027, 3032-3035, 3040-3046, 3050-3058, 3075, 3084, 3093, 3100-3103, 3108-3114, 3119-3122, 3126-3132, 3136-3139, 3143-3146, 3154, 3165, 3177, 3182-3185, 3199, 3230, 3235, 3240-3242, 3246-3255, 3260-3271, 3275-3284, 3288-3294, 3303, 3307, 3311-3319, 3328-3339
src/uiprotect/data/nvr.py           773    253    67%   92, 100, 114, 122, 126, 148-150, 163, 170-172, 218, 226-230, 237-249, 283, 295, 305-307, 311-314, 318-321, 325-328, 332-335, 339-347, 355-365, 375-385, 394-404, 424-437, 454-462, 466-480, 552-554, 618-648, 652, 656, 701-707, 730-732, 789-796, 801-806, 810, 814, 818, 822, 826, 830, 834-837, 978, 1009, 1013, 1017, 1021, 1026-1028, 1038, 1047, 1054, 1063, 1071-1072, 1093-1096, 1101-1104, 1108-1111, 1116-1119, 1124-1127, 1131-1137, 1145-1148, 1158-1164, 1168, 1171-1182, 1187-1207, 1212-1216, 1220-1227, 1231-1238, 1243-1247, 1252-1256, 1261-1265, 1270-1275, 1280-1284, 1289-1293, 1298, 1310, 1315, 1331, 1339, 1347, 1355, 1358, 1375, 1383, 1391, 1399, 1407, 1415, 1423, 1431, 1439, 1456-1465, 1484, 1493, 1497
src/uiprotect/data/types.py         510     20    96%   45-47, 62-64, 69, 178, 275, 286, 291, 333, 605, 720-723, 728-731
src/uiprotect/data/user.py          148     44    70%   26, 47, 51-55, 98-106, 110, 153-154, 181-186, 195-203, 212-236
src/uiprotect/data/websocket.py     144     65    55%   68-70, 78-83, 101-134, 138-150, 157-161, 169-172, 175-179, 183, 196, 202-205, 209-215, 219-225, 229, 233-238, 242-245, 248-251
src/uiprotect/stream.py              96     59    39%   31-36, 40, 44-47, 51-57, 60-74, 82-86, 89-97, 100-112, 125-150, 154-161, 166
src/uiprotect/utils.py              395    233    41%   50, 99-100, 110-119, 132-141, 146-149, 153, 175, 179, 183, 198-201, 231, 235, 240, 249-250, 267-285, 290-296, 301-308, 313, 321, 330-331, 341-342, 352-353, 358-363, 367-385, 391-400, 404-410, 419-448, 459-479, 484-494, 499-510, 516-521, 526-552, 557-563, 567-610, 626-629, 634-635, 649-653, 658-662, 667, 672-674, 679-681, 686-688, 693
src/uiprotect/websocket.py          137     89    35%   77, 81-110, 114-117, 120-163, 167-172, 176-179, 183-196, 200-203, 211-215
---------------------------------------------------------------
TOTAL                              5691   2642    54%

4 files skipped due to complete coverage.

================================================================== short test summary info ==================================================================
FAILED tests/test_api.py::test_get_camera_video - pydantic.v1.error_wrappers.ValidationError: 7 validation errors for Bootstrap

Results (2.95s):
       1 error
(uiprotect-py3.12)

There is so much going on here I am struggling to see the wood for the trees. Is this something you have seen before?

Sorry I don’t remember how that’s intended to work. Some discovery will be needed

Just checking, is this an action on myself or you?

Just checking, is this an action on myself or you?

I'm likely not going to be able to do that any time soon so you'll probably get to it before I can

I was wondering if you have had a chance to look into why the tests don't work with data from the latest unifi releases? I am unable to test any tests I write till this is resolved because this PR relies on checking that the version is new enough.

I haven't had a large enough time block free to look at it yet. End of the year is crazy for me.  It usually calms down right after the holidays


Severe Memory Leak In scenarios/loop

BUG REPORT
High Level Description
@guanjiayi I am sorry for the length of time it took to discover where the problem is coming from. I have done some tests and confirmed that the configurations from the AgentInterface are not causing leaks. However, I have confirmed that the intersection/loop scenario has a bad memory leak and that the rl-agent:rl-agent-v0 agents also does not properly manage memory. I am trying to narrow down the specific source of the problem.
This problem also appears to exist on all versions of SMARTS.
Originally posted by @Gamenot in https://github.com/huawei-noah/SMARTS/issues/794#issuecomment-829316164
SMARTS version
0.4.12 - 0.4.15
Previous associated issues
#794
Steps to reproduce the bug
python3.7 examples/single_agent.py scenarios/loop --headless --episodes 1000
Resulting and expected behaviour
Memory will quickly grow and roughly reach 16gb at 1000 episodes.
Error logs and screenshots
[Text or screenshots (preferably text)]
System information

Operating system & Environment [Please note if using Docker]:
Ubuntu 18.04 LTS
Number of system cores available
16
Python version [Please note if using Jupyter]
3.7.5
Python packages [e.g. from pip freeze]
req.txt
SUMO version
Eclipse SUMO sumo Version 1.9.0
Date when bug occurred
2021-04-29

Impact [If known]
Excessive memory usage blocking training.

as another datapoint/clue:  I haven't been able to reproduce this myself.  I tried with both the current tips of master and the develop branch.  I'm using that same setup as you (Ubuntu 18.04, python 3.7.5, etc.) with the exception of less cores. I only ran for about 200 episodes on each branch, but the memory profile didn't budge throughout that.
So maybe there's something more complex than just a straightforward leak going on?

I managed to narrow this down to some extent. The larger kind of growth I am seeing is in virtual memory, which is increasing quite rapidly. I think virtual memory is an os optimisation so depending on the os settings it could cause a crash. Although even without tracking I am also seeing a small uptick in regular memory as well.
This memory growth goes away when I remove the social agents.


[ROCm]  Updating ROCm implementation to use MIOpen Immediate Mode API

This PR is to update the ROCm implementation (stream executor, conv kernels, XLA conv implementation) to use the MIOpen Immediate Mode API.
The changes in this PR, though big, are exclusive to the ROCm implementation, and should not have any impact on the rest of TF.

/cc @whchung @chsigg

@rthadur, gentle ping

@deven-amd sorry for the delay , waiting for internal approvals. thank you for your patience.

@deven-amd there are some build failures , can you please check .

@rthadur , those Windows Bazel and Windows Bazel GPU failures do not seem related to the changes in this PR.  In the previous CI run,  both the Windows builds had passed and nothing has changed in this PR since then.
thanks

@chsigg can you please merge the changes internally. Thank you


Add tcnative-boringssl-static dependency

Purpose
$subject
Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

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

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

[ ] Increased Test Coverage
[ ] Added necessary documentation

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

@dilanSachi Lets update the toml files as well of grpc, http, websub and mime

Updated


Navigate to final landing page

how can i set the Navigate task to run until page fully loaded
for example lets say i have a url that redirects in javascript to another url
and the location task gives me the first url unless i set a sleep task for about 30 seconds
and only then i get the redirected url with location task
preferred behavior is to wait until all JS finished or have timeout that i set in advanced in context
my current code:
func main() {
	var u string
	var index int64
	var entries []*page.NavigationEntry
	//var sleep, _ = time.ParseDuration("30s")

	ctx, cancel := chromedp.NewContext(context.Background())
	defer cancel()

	tasks := chromedp.Tasks{
		chromedp.Navigate("wantedUrl"),
		//chromedp.Sleep(sleep),
		chromedp.NavigationEntries(&index, &entries),
		chromedp.Location(&u),
	}
	if err := chromedp.Run(ctx, tasks); err != nil {
		panic(err)
	}

	fmt.Printf("URL => %s\n", u)
	fmt.Printf("entries => %s\n", entries)
}

Closing due to lack of activity.


Equipping Bow in 1st Person Causes Crippling Lag When Wearing Certain SMP Outfits

When holding a bow in your hands in first person view there is a huge lag wave that continues until you go out of 1st person view or sheathe the bow. During the lag, CPU usage jumps to 100% and the game becomes a single digit fps slideshow.
This only seems to happen when wearing certain outfits that have SMP physics on the arms such as the "Outerwear SMP" part from https://www.rektasmarket.com/post/coco-mysterious-mage.
Just did some more testing and this seems to happen when any weapon is equipped in 1st person view with the Outerwear SMP equipped.
Looking at the player character shadow during the lag event, the SMP parts seems to just stretch into infinity.
Tested with ImprovedCamera disabled and the problem goes away.

If the physics are bugging out in first person that has nothing to do with improved camera. And if its only specific hdt enabled mods, then its even less to do with us. Report this to the author that armor.

The issue goes away if ImprovedCamera is disabled though. Without Improved camera, in first person view, everything is fine.
So wouldn't that mean that Improved Camera has something to do with it?

Well one can assume, that because it happens in first person, it is because the body is now actually there in first person.
Improved camera has nothing to do with it because it doesn't modify hdt in any way, and like i said previously, if it's only on one, or a select few armors. It is the armor mod at fault, not improved camera.

It seems to happen with every single armor mod that has equipment SMP physics on the arms. Mods that are from different authors.
I can only assume that Improved Camera does something to the arms when it switches from weapon drawn and sheathed states and that causes the SMP arm equipment to spaz out and cause the lag.
So I guess this means that Improved Camera isn't compatible with any armor mods that have SMP physics on the arms?

@Hansukie can you test your setup with third person arms enabled, it shouldn't cause the issue then.
By default when the 3rd person model is displayed and a weapon is drawn we shrink the arms up into the shoulder sockets unless third person arms is enabled.
Above should fix the issue but it would mean you cannot use normal first person hands with that type of armor set enabled.

@ArranzCNL Thanks a lot!
Yea, enabling thirds person arms definitely makes the issue go away, but like you said, normal 1st person hands won't be usable with this type of armor equipped.
I'm guessing having the third person arms shrink to hide them when a weapon is drawn was the best implementation. However, it does have the side effect of causing arm armor with physics to propagate lag.
I assume there won't be a way to fix this bug with the current way hiding arms works.
Unless you come up with a new way to hide the arms that don't have side effects, but that's probably difficult as you probably have already thought about the best way to hide the arms.

I cannot see a viable solution to support ordinary first person hands along with physics on the arms unless we can find a different method other than shrinking them.

Closing this as only way for both physics arms and improved camera to work in harmony is to enabled third person arms.


[MCU] Implement Real Bus in CAN Driver

User story

As a developer
I want to send CAN messages to other nodes on the network
So that I can communicate with the vector adapter

Acceptance criteria

Demonstrate MCU <-> Vector Communication (CANoe or demo app from Michael)
Bitrate adjustable somehow (init function parameters or during runtime)

Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

@ibexq will review my code


Add Quantum Teleportation to examples.

Very simplistic Quantum Teleporation example that might serve as an instructive file.

As a heads-up, although the following line in quantum_teleportation.py passes the Travis CI tests:
(cirq.bloch_vector_from_state_vector(step.state_vector(), 0))
That line needs to be revised to the following for it to run correctly:
(cirq.bloch_vector_from_state_vector(step.state(), 0))

What do you mean it needs to be revised? Why isn't it revised already?

What do you mean it needs to be revised? Why isn't it revised already?

My apologies that my earlier comment was unclear. This code has been removed in the latest version, so this is no longer an issue.
In case it is helpful, the point I was trying to make is that Travis CI liked step.state_vector(), but that did not seem to work when I tried to run the code, with this working for me instead: step.state(). As such, I was unsure which I should use. That said, as I mentioned above, this has been entirely rewritten, so is no longer an issue in the actual code.
Thanks again for all of your help - I really do appreciate it!

Tagging: https://github.com/quantumlib/Cirq/issues/887


Sync resources individually dropping txt hash

In resource-dl.py, there is a typo: url_from_resouce is missing an 'r'


[DEV-5213] Show at least 1 category in CategoriesList.

If first category name is longer than 20 chars, list is fully collapsed.

LGTM but next time please ask someone from the platform team, ideally Oleg slightly_smiling_face as I won't be aware if this might cause any problems.

OK, will keep in mind! :D


RFP - Spacemacs

Spacemacs

Spacemacs is a new way to experience Emacs -- a sophisticated and polished set-up focused on ergonomics, mnemonics and consistency.

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages; yup
[x] There is no open issue for this package; not in this repo, no
[x] The issue title starts 'RFP - '; oh I wrote FRP again oops
[x] The download URL is public and not locked behind a paywall / login; GitHub is pretty open right now (Jan 2019)

Package Details
Software project URL : http://spacemacs.org/
Direct download URL for the software / installer : https://github.com/syl20bnr/spacemacs/archive/master.zip
Software summary / short description: The best editor is neither Emacs nor Vim, it's Emacs and Vim!
It's package emacs but with the additional step of cloning a config directory from GitHub.
Notice: I will notify the emacs package maintainers so they're aware of this RFP.
emacs-Package maintainers cbilson and 0xAFFE contacted

@JonasDralle

why should I remove the HTML comments? They won't be shown

Just to keep things tidy from the issue perspective. While they might not be shown they will still be stored. It's just a request!

put the checklist inside a spoiler? You know, this Bulletinboard-Thing?

I'd prefer they were visible but I'm open to what others think. However here really isn't the place to discuss it so I'll refer everybody to Gitter

@JonasDralle Hi Jonas, the link you have provided doesn't include either windows executable neither windows installer. Could you confirm and eventually, tell us if a spacemacs windows installer exists?
Thanks in advance.

There is no windows installer. Instead Emacs would need to be installed and the config downloaded into a emacs.d folder

Thank you for this information @JonasDralle . I understood it's like a plugin for emacs.
Status: Review
https://chocolatey.org/packages/spacemacs

Status: Published
https://chocolatey.org/packages/spacemacs
Can be closed.


sanic logger always print (sanic)[DEBUG]: False

python3.6 with sanic (master)
app.run(debug=True) will produce this:
2017-11-13 18:07:50 - (sanic)[DEBUG]: False
I don't know if it's a bug or a misconfiguration

Steps to reproduce:
from sanic import Sanic
from sanic.response import json

app = Sanic()

@app.route("/")
async def test(request):
    return json({"hello": "world"})

if __name__ == "__main__":
    app.config.LOGO = False
    app.run(host="<IP_ADDRESS>", port=8000, debug=True)

The code above (debug=True) will produce:

2017-11-16 14:10:25 - (sanic)[DEBUG]: False
2017-11-16 14:10:25 - (sanic)[INFO]: Goin' Fast @ http://<IP_ADDRESS>:8000
2017-11-16 14:10:25 - (sanic)[INFO]: Starting worker [2811]

OK, this line:
2017-11-16 14:10:25 - (sanic)[DEBUG]: False
is just for displaying the logo, not for indicating if we're in debug mode.
It's not an issue


RFC: Static Pages / Browser Only Fetching

Remix is pretty opinionated about always server rendering, but that's not really an opinion, it's just a starting point.
Remix's data loading, data mutation, and asset loading conventions around nested routes are useful whether you're server rendering, fetching data clientside only, or static rendering.
The following APIs will enable you to easily change which mode your route works with:
Build-Time Pre-Rendering
It seems the thing to do in this space is make up new acronyms. So we'll call this BTPR 😋. Just kidding, we'll just call it pre-rendering.
Inside of your remix config, you can define a prerender
export async function prerender() {
  let posts = (await getArticles()).map((a) => `/posts/${a.slug}`);
  return {
    context: {},
    paths: [...posts, "/about", "/team"],
  };
}

The loaders for these routes will be called:
// posts/$slug.tsx
export async function loader({ request, params, context }) {
  // - the request will be the same as if it were a normal request without headers
  // - the params will be the same
  // - context will *not* be `getLoadContext` but the prerender context.
}

This gives you the ability to fetch everything in prerender or let the loaders handle it:
// let the loader do it
import getPost from "../posts";

export async function loader({ request, params, context }) {
  return getPost(params.slug);
}

Or put it on context in prerender
export async function prerender() {
  let posts = await getPosts();
  let postsMap = new Map();
  for (let post of posts) {
    postsMap.set(post.id, post);
  }
  return {
    // Right here!
    context: { posts: postsMap },
    paths: [...posts, "/about", "/team"],
  };
}

And now a loader can just find it's post from context
export async function loader({ request, params, context }) {
  return context.posts.get(params.slug);
}

When Remix is bundling, it can render these pages and dump them into your public/ folder.
Clientside Data Fetching/Mutations
Remix calls your loaders serverside, even on script transitions. This is great for a few reasons:

You can server render dynamic data
You can write server-side only code (db connections, form validation, etc.)
You can greatly decrease the size of the payload sent over the wire to the user. Most APIs return HUGE objects. Having a "loader as a proxy" in front of your Remix UI is likely a significant performance improvement over calling the API directly from the browser.

That said, many databases allow you to connect to them in the browser, and some pages you don't care about SSR. Perhaps you're using clientside authentication with JWTs on pages you don't care to server render and you'd like to talk directly to your APIs from the browser w/o the Remix server in the middle (like FaunaDB, Hasura, or Firestore).
If you export a clientLoader, then Remix will use it instead of the loader on script transitions.
export function clientLoader({ request, params }) {
  return fetch("/api/whatever", {
    headers: {
      Auth: `Bearer ${sessionStorage.jwt}`,
    },
  });
}

There is no context because the server isn't involved, but we can still provide a request that is nearly identical to what the loader would get (just no headers, pretty much). Note that in place of cookies and sessions apps we use the browser's built-in sessionStorage.
And of course you can have a clientAction as well.
export function clientAction({ request, params }) {}

One image in our mind we keep when building Remix is the idea of "levers" you can pull to change how your app is delivered w/o having to change much (or anything) about your application code. For example, removing <Scripts/> and your app continues to function the same except with full page document loads.
A lever here could be a sessionStorage abstraction with the same API as our HTTP session storage. Consider the cookie session storage:
import { createCookieSessionStorage } from "remix";

let storage = createCookieSessionStorage();
let session = await getSession(cookie);
session.set("jwt", jwt);
session.unset("jwt");
session.flash("message", "...");
session.flash("message", "...");

We could have the same API for browser sessionStorage
import { createBrowserSessionStorage } from "remix";

// this is all superfluous, but hang with me
let storage = createBrowserSessionStorage();
let session = await getSession();

// now we've got the same API whether you're using HTTP sessions and server side
// data loading, or browser sessions and client side loading
session.set("jwt", jwt);
session.unset("jwt");
session.flash("message", "...");
session.flash("message", "...");

This means an app could theoretically write the code like this:
// assume this storage commits data to a database, not in the cookie
import { getSession } from "../customStorage";

export function action({ request }) {
  let body = new URLSearchParams(await request.text());
  let errors = validate(body);
  if (errors) {
    let session = await getSession(request.headers.get("Cookie"));
    session.set("errors", errors);
    return redirect("/some/form");
  }
}

export function loader({ request }) {
  let session = await getSession(request.headers.get("Cookie"));
  return session;
}

And then switch it to this:
// just change the import!
import { getSession, commitSession } from "../browserStorage";

export function clientAction({ request }) {
  let body = new URLSearchParams(await request.text());
  let errors = validate(body);
  if (errors) {
    let session = await getSession(request.headers.get("Cookie"));
    session.set("errors", errors);
    return redirect("/some/form");
  }
}

export function clientLoader({ request }) {
  let session = await getSession(request.headers.get("Cookie"));
  return session;
}

Of course, the request won't have a "Cookie" header, but the browser storage can just ignore it (and the app code should probably delete that part) but the point is this is another lever you can pull to change where your code is running without having to really change your code at all.
All the other tools in Remix will work identically: usePendingLocation, usePendingFormSubmit, the data diffing for loaders, etc.
What about both?
There's the possibility that you could export both loader and clientLoader. What do we do? Use loader for document requests and clientLoader for script requests?
I think this opens up far too many questions and is hard to pin down a solid use-case. Considering an authenticated user to get the same result on the server and the client would require a lot of code to have them authenticated in both places. Or even just a database connection, you'd need to establish it on the client and the server.
This is much easier to think about (and no doubt implement) if it's either/or.
Alternative API
Instead of changing the name of the exported function we could add a property to the function:
export function loader() {
  // ...
}
loader.target = "client";

Now it really is just a lever to change where the code runs, it also makes it impossible to define a loader and clientLoader.

What do you think?

I started a discussion thread not realizing this issue was already open:
https://github.com/remix-run/remix/discussions/1312#discussion-3774982
I think it would be most beneficial to have a @Shared() decorator and allow the loader and action to be shared between the client and the server.
I think what I wrote and what is being proposed here is somewhat different. I think there is tremendous value in executing a loader/action on a document request (on the server) and then executing that same loader/action on the client for a transition. The client has to make an HTTP request anyways why not bypass the proxy?

How would you use a decorator there if they are only usable with classes and their methods? Also they are not standard yet.
Also there’s a huge benefit of running loaders or actions only server side, you can recover extra data, in your example the list of gists only use two properties but each gist from the GitHub API comes with a lot, you could remove them on the server and send less data to the browser, you lose this if the loader runs client side

How would you use a decorator there if they are only usable with classes and their methods?

Ugh. that is weird. ok well maybe a loader.target = "shared"; could work?

Also there’s a huge benefit of running loaders or actions only server side, you can recover extra data, in your example the list of gists only use two properties but each gist from the GitHub API comes with a lot, you could remove them on the server and send less data to the browser, you lose this if the loader runs client side

Sure, but you're making a trade-off between amount of data being transferred and cacheability of that data. GitHub can cache that resource on an edge server indefinitely and purge it whenever it changes. If I am forced to proxy the request, that cache is effectively useless since the user is forced to make a request to my origin server (or I run the entire app at the edge, or I handle the caching and purging myself, which may be impossible).
Regardless, I don't think you can definitively say that less data transfer === less latency. Indeed, it may be the exact opposite depending on how far (geographically) the request has to travel in order to get a response. I think it would be more prudent to let engineers make that assessment on a per-loader/action basis.
I find it rather odd that if you build a single-page application with React, everything from a 3rd party API is fetched on the client, but if you use a framework that enables SSR (Remix, Next.js, Gatsby, etc.) then all of the sudden all 3rd party API requests are forced to be made on the server (if you want SSR as well).


[Enhancements] Responsive automation

This PR includes the following changes;

Responsive automation cases
Automation cases for old features

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mbalfour-amzn comments resolved


Geometry Data Type Returned as Unknown Charset in Results Grid

Azure Data Studio Version: 1.35.0
OS Version: macOS Monterey 12.2.1

Steps to Reproduce:

Run the following query in Azure Data Studio

SELECT geometry::STGeomFromText('POINT (-96.70 40.84)',4326) [Geo]
,geometry::STGeomFromText('POINT (-96.70 40.84)',4326).ToString() [GeoString]

Azure Data Studio Version
Version: 1.35.0
Commit: e9c8eb8564f537726b36b5f15c7f35e62f229284
Date: 2022-02-23T17:24:29.469Z
VS Code: 1.59.0
Electron: 13.5.0
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.3.0

Does this issue occur when all extensions are disabled?: Yes. This still occurs when all installed extensions are disabled.

@aborremans Thanks for reporting the issue, a new version with the fix for this issue should be available later this week.

@alanrenmsft Great news! Thanks for the quick turnaround on this issue. Much appreciated.


Peers don't reloads

Hello, Jerko.
I found an issue. I have 6 users in 1 room, and they run nicely. But sometimes one of the clients lost peer. One or two video screens just removes. How can I reload peers and add a video track to the user's screens?
I tried this on peercalls.com

You could try to fix it by emitting a ready websocket event after simple-peer's disconnect event is fired from the initiator's side. I believe this will be calleed if the websocket reconnects, so you should make sure not to call it twice.

If the page refreshes after matching, it won't reconnect and gives a black screen and a random username.

yes problem v4 roleback and fix.

@litashg did you solve the problem? the sound of the user with the camera turned off, but no video


[Question]: How to customize the form builder wizard panel configuration

I am using the Angular/Formio builder wizard for multiple pages/steps.
How can I customize the builder panel/modal for the wizard pages?
Referring to this wizard

Referring to this panel modal that pops up when I edit a wizard page

Can I customize the builder components that show up in this wizard panel modal?
If not can I build a custom component and get the wizard to use my own custom panel/page
I am able to configure the builder panel/modal for any custom components successfully
See example here:

https://formio.github.io/formio.js/app/examples/custombuilder.html
Note this describes how to customize component schema but not how to customize a the component configuration for an existing component in the builder panel

Hello, it is only possible to customize the editing modal of a custom component.


Replace gitter link with kubernetes slack channel in devfile/api and devfile samples support info

Which area/kind this issue is related to?

/area api
/area registry
Issue Description

Since the devfile project has been approved as a CNCF sandbox project, we are moving our chat system to the “devfile” channel in the Kubernetes slack https://kubernetes.slack.com/archives/C02SX9E5B55.
Replace gitter community link with kubernetes slack channel in devfile/api and devfile samples support info
Note: devfile/api update included in https://github.com/devfile/api/issues/731

devfile samples support info updated in PR: https://github.com/devfile-samples/devfile-support/pull/4


Update the sync tests for 1.28.0

based on the new query tip values
keep the backward compatibility with 1.27.0

done


Feature Request:

Checklist

[X] The feature would be useful to more users than just me.
[X] I have checked the feature overview and the feature doesn't already exist.
[X] If it is an entirely new feature: The requested feature makes more sense to be implemented in Alfred than in a plugin. Please also explain why.
[X] Feature Requests regarding daily notes will not be implemented, since there are other Alfred workflows that do focus on daily notes already.
[X] If you are looking for a way to trigger a specific Obsidian command from outside Obsidian, see this comment explaining how you can easily create such a workflow yourself.

Feature Requested
Hi, Buddy. I'm sorry to bother you but when I use the o function to search my notes, the picture saved in the local area will not appear through the quick-look function on mac.

Alternatives considered
Important information needs to be saved in the local area. however, the same  plug-in can do that such as https://github.com/hauselin/obsidian-alfred
Relevant Screenshot
No response

Unfortunately, there is nothing the workflow can do about it, since the quicklook functionality is controlled by macOS, not by Alfred. Alfred can only trigger QuickLook, how the quicklook looks is out of Alfred's control. And ![[]] is wikilink syntax specific to Obsidian, so I unfortunately doubt that there is any quicklook plugin that can change this, sorry.

Thanks for your reply. but there is another plugin can solve this problem using oss function. (https://github.com/hauselin/obsidian-alfred). so it's very strange, but i have tested many times.

using oss function.

please be more specific and provide screenshots, otherwise I cannot help. What does the plugin do, and how does it display quicklook functionality?

Well, thank you. I'm not at the computer right now. When I go back, I will immediately record the screen.

Hi, Thanks for your waiting.  You are right that there is no Quicklook plugin that can do this.

Unfortunately, there is nothing the workflow can do about it, since the quicklook functionality is controlled by macOS, not by Alfred. Alfred can only trigger QuickLook, how the quicklook looks is out of Alfred's control. And ![[]] is wikilink syntax specific to Obsidian, so I unfortunately doubt that there is any quicklook plugin that can change this, sorry.


Markdown Compatibility

Docbuilder does not make use of Markdown's syntax, not according to the spec.
Due to this, there are some differences, some of which should be supported, but currently are not.

Lazy blockquotes
Hanging indents (lists, etc)
Markdown escaping of characters (clashes with Python's escaping).

Much of this could be fixed by changing a single behaviour in Docbuilder:
Instead of naively placing newlines above and below every line processed, choose intelligently when to insert newlines.
e.g. Paragraphs of code should belong to a single code block.
Currently:
print("Hello")

print("World")

Should change to:
print("Hello")
print("World")

Currently marking as wontfix.
It isn't worth the effort to make Markdown sometimes have linespaces and sometimes not, to support this feature.
I'll reinvestigate it there's any interest.


Add setLogErrorRenderer() to ErrorHandler

Please review. If the logic looks good I'll add unit tests for this feature.
Closes #2797

The logic looks good to me. We should add unit tests.

@adriansuter definitely. @RyanNerd do you need help with writing the tests?

Coverage decreased (-0.2%) to 99.778% when pulling 4fae424722c4f4133970105b2aa2b357cf8b14a9 on RyanNerd:setLogErrorRenderer into a1ca5e9e5f38ea52f457c9b6d0ea04f0e7ab6890 on slimphp:4.x.

@l0gicgate I need to find some time to write the unit tests. Things got busy for me. I'll see if I can get something out there in the next 7 days.

@RyanNerd okay no problem. I might just get antsy and write the tests for you if I have 5 mins 😂


Badge - Review functionality and provide a complete storybook

Please check the component and provide a complete storybook

Badge component have correct functionality

Done!


Bundle and Minify output

Bundle
Minify
Template cache

Hey man, looking for an excuse to play around with ng2/TS and remembered you were working on this. Thought I might try to help out a bit if you are down for PRs.
Did you have any thoughts on a direction for this? I've done just straight concat/minify with gulp in the past, but Webpack seems like a much better approach these days if you're down for that.

I think the main goal is that it would bundle, minify (only for prod), and package templates as well. Then we could get rid of systemjs that I'm using currently.
I would lean towards webpack. I spent a little time playing with Browserify with tsify, but didn't get it to a working point.

Cool. Have an opinion about whether to continue to CDN external libs? Don't know if that was a technical or financial choice.

Currently, it's more than a financial choice. The angular2 bundles I have locally don't seem to work properly in all scenarios. If I choose the angular2.min.js, I actually get errors loading it in the browser, and it's 500kb. The CDN minified one is like 111kb, and no errors. Not sure what's going on there, but probably a beta thing.
Ideally we would have the option to switch back to including them in the bundle later. Though I'm not really opposed to just leaving it CDN.

Okay, I'll play around with it both ways and see what's up. I know one of the benefits of bundling them from local deps is being able to depend on only the submodules that you use instead of the entire lib. Like with lodash being able to do...
import {
    map,
    find
} from 'lodash';

...and have webpack only include the parts of the lib actually used.

Yea, that's another issue I have on here that I wanted to solve at one point. If you can tackle that all, go for it.

Hey man, made some progress on this over the weekend and interested in getting your feedback: https://github.com/smathson/chatty/commits/bundle-with-webpack
TLDR: Should be able to pull that branch, npm prune; npm install and run npm run start to kick off the webpack development server with livereload and sourcemaps for TS/SCSS. Everything seems to be running properly, but I'm obviously not as familiar with the codebase as you so might have missed something.
Done so far:

Set up webpack and webpack-dev-server for development bundling
Split package.json dependencies into dependencies and devDependencies
Import/require templates and styles so that webpack pulls them in and bundles them properly
Font Awesome and the Intl polyfill are still being CDNed, everything else is being imported from node_modules
SourceMaps set up for TS and SCSS files, currently inline instead of generating individual .map files

Still to do:

Add back in linting for SASS
Nuke unnecessary gulp tasks (should really only need gulp-awspublish after this)
Add production build configuration with minification, gzip, cache busting and no sourcemaps
Investigate vendor bundle size. In development vendor.bundle.js is 14MB(!) with inline sourcemaps. I know over half of that is due to sourcemaps, but hoping the rest is just lack of minification. If not, I'll need to do some research around whether dependencies are being duplicated somehow during bundling. Could also be related to NG2 dependencies not being optimized yet (which I know they are working on now). If things don't end up a reasonable size for production, we can always fall back to CDNing some libs for now.

Keep in mind that I tend to commit early and often with wip commits while developing and frequently rebase to squash, so don't trust the history on that branch or attempt to do any lasting work off of it. =]
Let me know if you have any questions/comments/concerns.

Did a cursory code review and it looks good.
A few thoughts

npm scripts should have clean, build, publish still after you're finished, not sure if this is what you meant by production configuration. I'll clarify either way just to be sure.

clean should wipe out any build dirs
build would create the output directory (which could be served by any local web server)
publish for now would do clean, build, and (for now) gulp publish. I'll probably drop gulp out though since it's not needed after webpack. I use this script a lot locally when pushing up to S3.

I noticed you are using plain node-sass now, any reason for the change? I had decent luck with PostCSS before, and we had moved away from plain sass as PostCSS gave us a lot of options.
I notice you're using require for pulling the templates into the components. Can't this be done using ES6 imports? Ex:

import * as template from './thread.html'

@Component({
    selector: 'thread',
    template,
    directives: [Comments, Post, ReplyBox]
})

Good start!

Yep, all those scripts will make a comeback with their webpack equivalents. I'll leave the existing gulp publish task in place and let you replace it with whatever makes the most sense for you and then you can nuke gulp.
Nope, no specific reason just wasn't as familiar with PostCSS and thought it was SASS we were pulling in. Should be simple to replace, I'll do that along with adding style linting back in.
Good catch, I'll bet you're right about the templates. Will try that.

:+1:

I've removed the gulp-publish task and associated dependency. You should be able to fully remove gulp now.

Any update on this? Pretty excited to get this bundled as it will reduce my s3 usage quite a bit. Also been avoiding working on anything big so you don't get merge conflicts. Anything I can help with?

Yeah sorry man, right in the middle of a job transition at the moment and haven't had enough free time lately to finish this. Got the styles switched back over to PostCSS and added style linting back in, so just need to do the production configuration now. Got some free time today to work on this but don't want to hold you up on anything so if I don't make enough progress I'll at least try to get things into a good state to hand off for you to finish.
Expect a PR later today!


Update RegistryCI.jl by updating the .ci/Manifest.toml file (1.6.0)

This pull request updates RegistryCI.jl by updating the .ci/Manifest.toml file.

Something is buggy. The other PR should have only modified the Manifest.1.5.3.toml file.

Something is buggy. The other PR should have only modified the Manifest.1.5.3.toml file.


i am getting multiple roots errors on render. please help i am using your sample csv only

i am getting multiple roots errors on render. please help i am using your sample csv only #239

Post an online sample, so I can check (you can extend one of the examples mentioned in readme files)


[IJ plugin] Add API keys section in settings

Add a GraphOS / API Keys section to the settings.
https://github.com/apollographql/apollo-kotlin/assets/372852/6b044c61-33a6-48ae-93a6-4e3bade69b65

UX feedback: I'd separate project into project & service and rename Service name to Apollo Graph

Gradle project: dropdown, defaults to the first project that applies the apollo plugin sorted lexicographically
Gradle service: dropdown, defaults to the first service in the selected project, sorted lexicographically
Apollo Key: text edit, hint to service:$Graph:$key
Apollo Graph: remove? And only support Graph keys? TBC that we can do that.

Updated, now there are 4 fields.
I kept user keys and graph name field, because I have my own example where I don't have enough rights to access API keys for a certain graph, so I must use my user API key.
Also used "GraphOS" instead of "Apollo" (but we'll probably get some product feedback later about the best wording to use).

Makes a ton of sense 👍 I liked Apollo Key because the setup in a lot of places is: export an environment variable named APOLLO_KEY but GraphOS API Key works too 👍 Something to bikeshed with the GraphOS team.


Git HTTPS authentication error

ORT has trouble accessing password-protected GIT repository
This surprises me as I think it used to work fine.
I have configured .git-credentials to store the username/password, and it works well when running git clone manually.
But when run via Gradle, I run in this error Authentication is required but no CredentialsProvider has been registered.
I found this issue in Gradle, about non-working authentication, but for Git protocol
17:40:56.526 [ScanCode-1] INFO  kotlinx.coroutines.CoroutineScope - No stored results found, scanning package Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05 in thread 'ScanCode-1' (1/1).
17:40:56.527 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Trying to download source code for 'Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05'.
17:40:56.529 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Trying to download 'Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05' sources to '/data/ort-home/download/_project_ScanCode_20200505_174051/Unmanaged/unknown/POC/4213d9ba0ecb5ef96f080e233945751443cb6b05' from VCS...
17:40:56.529 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Using processed VcsInfo(type=Git, url=https://<git-url>, revision=4213d9ba0ecb5ef96f080e233945751443cb6b05, resolvedRevision=null, path=). Original was VcsInfo(type=, url=, revision=, resolvedRevision=null, path=).
17:40:56.771 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Detected VCS type 'Git' from type name 'Git'.
17:40:56.976 [ScanCode-1] INFO  org.ossreviewtoolkit.utils.ProcessCapture - Running 'git --version' in '/opt/ORT/oss-review-toolkit'...
17:40:57.552 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.VersionControlSystem - Meta-data has invalid Git revision '4213d9ba0ecb5ef96f080e233945751443cb6b05': IOException: Unable to list the remote branches.
Caused by: TransportException: https://<git-url>: Authentication is required but no CredentialsProvider has been registered
Caused by: TransportException: https://<git-url>: Authentication is required but no CredentialsProvider has been registered
17:40:57.577 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.VersionControlSystem - No Git revision for version '4213d9ba0ecb5ef96f080e233945751443cb6b05' found: IOException: Unable to list the remote tags.
Caused by: TransportException: https://<git-url>: Authentication is required but no CredentialsProvider has been registered
Caused by: TransportException: https://<git-url>: Authentication is required but no CredentialsProvider has been registered
17:40:57.581 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Trying to download source artifact for 'Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05' from ...
17:40:57.584 [ScanCode-1] ERROR java.lang.Object - Could not download 'Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05': DownloadException: Download failed for 'Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05'.
Suppressed: DownloadException: Unable to determine a revision to checkout.,
Suppressed: DownloadException: No source artifact URL provided for 'Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05'.
17:40:57.584 [ScanCode-1] INFO  kotlinx.coroutines.CoroutineScope - Finished scanning Unmanaged::POC:4213d9ba0ecb5ef96f080e233945751443cb6b05 (1/1).
17:40:57.587 [main] INFO  org.ossreviewtoolkit.model.OrtResult - Computing excluded projects which may take a while...
17:40:57.589 [main] INFO  org.ossreviewtoolkit.model.OrtResult - Computing excluded projects done.

This surprises me as I think it used to work fine.

It probably used to work back when we were still calling git CLI, but broke when migrating to JGit. I'll try to take a look in the next days.

Here is some background info.

As a work-around, you should be able to provide credentials as part of a .netrc file as mentioned here.

As a work-around, you should be able to provide credentials as part of a .netrc file as mentioned here.

Thanks @sschuberth ; do you mean that writing a .netrc should work out of the box?
Couldn't make it work with fresh source code.

do you mean that writing a .netrc should work out of the box?

That's what I thought. But it looks like JGit only uses its NetRCCredentialsProvider when using the JGit CLI (aka jgit.pgm), not when using the JGit API 😞

@NicolasToussaint, as I'm planning to work on this soon, what would be your expectation / preferred way of providing HTTP(S) credentials to ORT? Indeed parsing .netrc, or via system properties, or via the ORT configuration file, or anything else?

Actually, it does not really matters, but since you ask (thanks!), I would have a slight preference for using the ORT configuration file (so it's all in the same place).
But any way is fine, really.

@NicolasToussaint thanks for you input. I somewhat "had" to still go for .netrc support as we're still calling Git CLI in addition to using JGit, and Git CLI already supports .netrc, so that was the "smallest common denomiator".
If you can spend some time, I'd appreciate if you could give the .netrc support in my http-auth branch a try.

@sschuberth
I did the following, but still observe the same error:

checked out and rebuilt  the http-auth branch (commit 60845864a1705236e2f254af46bc6a49d0c71b54)
wrote .netrecis user home directory
ran an analysis and scan

15:43:04.094 [main] INFO  org.ossreviewtoolkit.utils.ProcessCapture - Running '/opt/ScanCode/scancode-toolkit/bin/scancode --version' in '/opt/ScanCode/scancode-toolkit/bin'...
15:43:05.138 [FileBasedStorage with XZCompressedLocalFileStorage backend-1] INFO  kotlinx.coroutines.CoroutineScope - Looking for stored scan results for Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05 and ScannerDetails(name=ScanCode, version=3.0.2, configuration=--copyright --license --ignore *.ort.yml --info --strip-root --timeout 300 --ignore HERE_NOTICE --ignore META-INF/DEPENDENCIES --json-pp) (1/1).
15:43:05.146 [ScanCode-1] INFO  kotlinx.coroutines.CoroutineScope - No stored result found for Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05 and ScannerDetails(name=ScanCode, version=3.0.2, configuration=--copyright --license --ignore *.ort.yml --info --strip-root --timeout 300 --ignore HERE_NOTICE --ignore META-INF/DEPENDENCIES --json-pp), scanning package in thread 'ScanCode-1' (1/1).
15:43:05.148 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Trying to download source code for 'Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05'.
15:43:05.150 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Trying to download 'Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05' sources to '/data/ort-home/download/.../Unmanaged/unknown/_project_/4213d9ba0ecb5ef96f080e233945751443cb6b05' from VCS...
15:43:05.150 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Using processed VcsInfo(type=Git, url=https://_git-server_/.../_git/_project_, revision=4213d9ba0ecb5ef96f080e233945751443cb6b05, resolvedRevision=null, path=). Original was VcsInfo(type=, url=, revision=, resolvedRevision=null, path=).
15:43:05.367 [ScanCode-1] INFO  org.ossreviewtoolkit.utils.OrtAuthenticator - Authenticator was successfully installed.
15:43:05.368 [ScanCode-1] INFO  org.ossreviewtoolkit.utils.OrtProxySelector - Proxy selector is already installed.
15:43:05.524 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Detected VCS type 'Git' from type name 'Git'.
15:43:05.703 [ScanCode-1] INFO  org.ossreviewtoolkit.utils.ProcessCapture - Running 'git --version' in '/opt/ORT/oss-review-toolkit'...
15:43:10.577 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.VersionControlSystem - Meta-data has invalid Git revision '4213d9ba0ecb5ef96f080e233945751443cb6b05': IOException: Unable to list the remote branches.
Caused by: TransportException: https://_git-server_/tfs/MTM/_project_/_git/_project_: Authentication is required but no CredentialsProvider has been registered
Caused by: TransportException: https://_git-server_/tfs/MTM/_project_/_git/_project_: Authentication is required but no CredentialsProvider has been registered
15:43:15.070 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.VersionControlSystem - No Git revision for version '4213d9ba0ecb5ef96f080e233945751443cb6b05' found: IOException: Unable to list the remote tags.
Caused by: TransportException: https://_git-server_/tfs/MTM/_project_/_git/_project_: Authentication is required but no CredentialsProvider has been registered
Caused by: TransportException: https://_git-server_/tfs/MTM/_project_/_git/_project_: Authentication is required but no CredentialsProvider has been registered
15:43:15.074 [ScanCode-1] INFO  org.ossreviewtoolkit.downloader.Downloader - Trying to download source artifact for 'Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05' from ...
15:43:15.078 [ScanCode-1] ERROR java.lang.Object - Could not download 'Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05': DownloadException: Download failed for 'Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05'.
Suppressed: DownloadException: Unable to determine a revision to checkout.,
Suppressed: DownloadException: No source artifact URL provided for 'Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05'.
15:43:15.079 [ScanCode-1] INFO  kotlinx.coroutines.CoroutineScope - Finished scanning Unmanaged::_project_:4213d9ba0ecb5ef96f080e233945751443cb6b05 in thread 'ScanCode-1' (1/1).

* wrote `.netrec`is user home directory

That's a .netrc, right?

That's a .netrc, right?

It is, sorry, typo in the comment only.
Anything specific I can do to dig deeper ?

Tried to do a little bit of debug ... but it's not exaclty easy not knowing any of Kotlin.
It turns out that the .netrc file is detected: I enter this ifblock:
https://github.com/oss-review-toolkit/ort/blob/89b82419da7d2277a89cf6c82b8dd6461501c627/utils/src/main/kotlin/OrtAuthenticator.kt#L89
But can't find a way to use the log.info  stanza in this function:
fun getNetrcAuthentication(contents: String, machine: String): PasswordAuthentication?
https://github.com/oss-review-toolkit/ort/blob/89b82419da7d2277a89cf6c82b8dd6461501c627/utils/src/main/kotlin/OrtAuthenticator.kt#L108
I get this build error: e: /opt/ORT/oss-review-toolkit/utils/src/main/kotlin/OrtAuthenticator.kt: (118, 4): Unresolved reference: log

Tried to do a little bit of debug

Thanks!

But can't find a way to use the log.info stanza in this function

The log magic is only available for class instances, not for top-level functions. You could either work-around this by logging in the caller instead, like
getNetrcAuthentication(netrcFile.readText(), requestingHost)?.let {
    log.debug { "Parsing '$netrcFile' for machine '$requestingHost'." }
    return it
}

or create an anonymous dummy object like object {}.log.debug { "Debug" } and use that to log within the getNetrcAuthentication() function.

So maybe the syntax of your .netrc is not what we're expecting. Does it look anything like the ones in these tests?

Hello @sschuberth
I was trying to set up the config  .netrc file but sadly it doesn't work in my case
I placed the file .netrc inside the directory which I indicate in the scanning proces but
finally I still obtain: Authentication is required but no CredentialsProvider has been registered
Is there any way I could track the issue?

Authentication is required but no CredentialsProvider has been registered

Could you please copy & paste the full log line for this and maybe some surrounding lines, so I can see which class the log comes from?

I placed the file .netrc inside the directory which I indicate in the scanning proces

After re-reading that sentence, I guess that won't work: The .netrc file is always being looked for the in the user's home directory, not matter what the ORT config directory is. The reason being that .netrc is a "standard" file that's also used by other application, but ORT alone.

Hi
Exactly the same came to my mind last night :)
I  copied to $HOME/.netrc and that worked !!!
Thank you Sebastien

And by the way, sorry for not getting back on this, but it works for me too :-)


Connect React & Redux

The Redux was connected to the React
The button for adding books was made functional
The button for removing books was also made functional
The button for checking status was also activated

@zieeco, Accept my deepest Thanks.


Update mixin dashboards and alerts for new remote write label names.

In recent release we changed the remote write metrics labesl from queue to remote_name and url but never updated (most of ) the related alerts/dashboards.
Signed-off-by: Callum Styan<EMAIL_ADDRESS>

lgtm


Merging zones in FancyZones editor is not documented

Merging zones by clicking and dragging is only explained in the demo video. It should be documented in the app itself and on GitHub.

Hi @amaczugowski
thank you for your feedback.
We are already tracking the issue here https://github.com/microsoft/PowerToys/issues/581
Feel free to add your comments there, so we keep only one issue open.
I'm closing this one as duplicate.
Thank you.


Add column and table descriptions to MySQL reverse-engineered schemas

<table name="test" ... description="Test table">
  <column name="id" ... description="The ID">
</table>

This requires a rebase now.
Is it possible to add a test case along with the changes you propose? To outline why this changes?


Pin newer version of racket-mode to fix racket-xp-mode performance issue

Newer version of racket-mode fixes this issue: https://github.com/greghendershott/racket-mode/issues/473

racket was bumped in 120ba7d. I've done it myself because bump commits need to follow a particular format (which I haven't documented anywhere yet), for the sake of future CI. In any case, thanks for bringing it to my attention!


Added a new networking course (changes made)

What does this PR do?
Add resource(s)
For resources
Added a new networking course
Why is this valuable (or not)?
A new networking course has been added
How do we know it's really free?
It is provided free by the author on his page
For book lists, is it a book? For course lists, is it a course? etc.
Its a course
Checklist:

[s] Read our contributing guidelines.
[s] Search for duplicates.
[s] Include author(s) and platform where appropriate.
[s] Put lists in alphabetical order, correct spacing.
[s] Add needed indications (PDF, access notes, under construction).
[s] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Migrate voice search matching attribute to new interface using plugin

Task/Issue URL: https://app.asana.com/0/0/1207037593679449/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4413  👈
#4394
#4393
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @cmonfortep and the rest of your teammates on  Graphite


Declare pep518 build requirements.

Fixes #290

Also, if you like this change, I've got many more best-practices that I've been collecting in jaraco/skeleton. See the the docs there for more background. If you're interested in applying those changes wholesale, I can do that (and reconcile the conflicts), after which this project could diverge from those practices. Or if you'd rather cherry-pick different changes, I'd invite that as well, but that would have to come from some other mind that has preferences on which changes to select and omit.

Thanks that looks pretty great.  I've had ideas of doing something similar in the past (I think I even called it skeletor, before throwing it all away) so skeleton be really great to adopt IMO.


Upgrade dependencies to latest available versions

Hi,
We have been trying to run wetty on node v10.x, and have had issues because some of the dependencies are out of date. I have upgraded dependencies to latest available versions, and everything seems to be working correctly.
Package version needs to be bumped. I can do this also, but was unsure if you wanted to control versioning.
Regards,
Vamshi

can you rebase of master?

can you rebase of master?

Done. I've also re updated dependencies - some of them were already out of date.
Regards,
Vamshi


feat: check access token for group attribute as well; fix #43

This will add the feature of checking the access token for the OIDC_GROUPS_ATTRIBUTE. This is useful for cases where the needed value is stored in the access token and not in the user info token

@hahahannes thanks for your PR, could you please check #54 probably it will work for you. Otherwise, please update your PR in accordance with the new project structure

This problem still exists in the latest 3.0 version, maybe you need to re-fork and fix it on the latest branch?
(This is a useful fix, great job


CI pipeline

We can see that tests are now passing: https://github.com/heddn/php-tuf/actions/runs/196714937
This is ready for review.


Added gruvbox themes

Added Gruvbox themes from https://github.com/jdinhify/vscode-theme-gruvbox

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Carlos Coves Prieto seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.