nu shell (nushell) with no PATH set on nixos-wsl

Using nushell as default shell results in PATH not being set correctly so totally unusable.
Using: 23.11.2413.32f63574c85f (Tapir)
users = {
  defaultUserShell= pkgs.nushell;
};

In case you need to revert the changes, the binaries are here:

/run/current-system/sw/bin/vim
/run/wrappers/bin/sudo /run/wrappers/bin/su
/run/current-system/sw/bin/nixos-rebuild switch

nix-shell -p nushell
using 'nu' from the bash shell works.

This is also not supported in NixOS (https://github.com/NixOS/nixpkgs/issues/193880) so likely a NixOS problem.
Also as this is not recommended upstream, I would blame them for not providing a posix compliant shell.

This works on nixos but not on nixos-wsl.

Hello @qknight , I did as you said but in my system, the path is set and so all the programs work, here is my system metadata:
$ nix-shell -p nix-info --run "nix-info -m"

 - system: `"x86_64-linux"`
 - host os: `Linux <IP_ADDRESS>-microsoft-standard-WSL2, NixOS, 24.05 (Uakari), 24.05.20240210.d934204`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"home-manager, nixos-23.11, nixos-wsl"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Here is the PATH in nushel:
╭────┬──────────────────────────────────────────────────────────────────────────────────────────────────╮
│  0 │ /run/wrappers/bin                                                                                │
│  1 │ /home/aikoo7/.nix-profile/bin                                                                    │
│  2 │ /nix/profile/bin                                                                                │
│  3 │ /home/aikoo7/.local/state/nix/profile/bin                                                        │
│  4 │ /etc/profiles/per-user/aikoo7/bin                                                                │
│  5 │ /nix/var/nix/profiles/default/bin                                                                │
│  6 │ /run/current-system/sw/bin                                                                       │
│  7 │ /mnt/c/Program Files/WindowsApps/Microsoft.WindowsTerminalPreview_1.18.1462.0_x64__8wekyb3d8bbwe │
│  8 │ /mnt/c/Program Files (x86)/gnupg/bin                                                             │
│  9 │ /mnt/c/Program Files (x86)/VMware/VMware Workstation/bin/                                        │
│ 10 │ /mnt/c/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/um                               │
│ 11 │ /mnt/c/Program Files/Alacritty/                                                                  │
│ 12 │ /mnt/c/Program Files/CryFS/0.11.4/bin                                                            │
│ 13 │ /mnt/c/Users/Computador/AppData/Local/Programs/VSCodium/bin                                      │
│ 14 │ /mnt/c/Users/Computador/AppData/Roaming/minisign                                                 │
│ 15 │ /mnt/c/msys64/mingw64/bin                                                                        │
│ 16 │ /mnt/c/Ninja                                                                                │
│ 17 │ /mnt/c/Users/Computador/Documents/rclone-v1.63.1-windows-amd64                                   │
│ 18 │ /mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common                                       │
│ 19 │ /mnt/c/Program Files/Common Files/Oracle/Java/javapath                                           │
│ 20 │ /mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath                                     │
│ 21 │ /mnt/c/ProgramData/Oracle/Java/javapath                                                          │
│ 22 │ /mnt/c/WINDOWS/system32                                                                          │
│ 23 │ /mnt/c/WINDOWS                                                                                │
│ 24 │ /mnt/c/WINDOWS/System32/Wbem                                                                     │
│ 25 │ /mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/                                                  │
│ 26 │ /mnt/c/WINDOWS/System32/OpenSSH/                                                                 │
│ 27 │ /mnt/c/ProgramData/chocolatey/bin                                                                │
│ 28 │ /mnt/c/ProgramData/chocolatey/lib/mpv.install/tools                                              │
│ 29 │ /mnt/c/Program Files/Git/cmd                                                                     │
│ 30 │ /mnt/c/Program Files/dotnet/                                                                     │
│ 31 │ /mnt/c/Users/Computador/.dotnet/tools                                                            │
│ 32 │ /mnt/c/Program Files (x86)/dotnet/                                                               │
│ 33 │ /mnt/c/Users/Computador/AppData/Local/Microsoft/WindowsApps                                      │
│ 34 │ /mnt/c/Users/Computador/AppData/Local/Keybase/                                                   │
│ 35 │ /mnt/c/adb                                                                                │
│ 36 │ /mnt/c/Program Files/Go/bin                                                                      │
│ 37 │ /mnt/c/Program Files/CMake/bin                                                                   │
│ 38 │ /mnt/c/HashiCorp/Vagrant/bin                                                                     │
│ 39 │ /mnt/c/Program Files (x86)/FAHClient                                                             │
│ 40 │ /mnt/c/Program Files/GitHub CLI/                                                                 │
│ 41 │ /mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/                          │
│ 42 │ /mnt/c/Strawberry/c/bin                                                                          │
│ 43 │ /mnt/c/Strawberry/perl/site/bin                                                                  │
│ 44 │ /mnt/c/Strawberry/perl/bin                                                                       │
│ 45 │ /mnt/c/Program Files/NASM                                                                        │
│ 46 │ /mnt/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/                         │
│ 47 │ /mnt/c/metasploit-framework/bin/                                                                 │
│ 48 │ /mnt/c/Program Files/PuTTY/                                                                      │
│ 49 │ /mnt/c/Program Files/Docker/Docker/resources/bin                                                 │
│ 50 │ /mnt/c/Program Files/WezTerm                                                                     │
│ 51 │ /mnt/c/Program Files/nodejs/                                                                     │
│ 52 │ /mnt/c/Program Files/PowerShell/7/                                                               │
│ 53 │ /mnt/c/Users/Computador/AppData/Local/pnpm                                                       │
│ 54 │ /mnt/c/Users/Computador/.cargo/bin                                                               │
│ 55 │ /mnt/c/Users/Computador/AppData/Local/Programs/Python/Python38/Scripts/                          │
│ 56 │ /mnt/c/Users/Computador/AppData/Local/Programs/Python/Python38/                                  │
│ 57 │ /mnt/c/Users/Computador/AppData/Local/Programs/Python/Python311/Scripts/                         │
│ 58 │ /mnt/c/Users/Computador/AppData/Local/Programs/Python/Python311/                                 │
│ 59 │ /mnt/c/Users/Computador/scoop/shims                                                              │
│ 60 │ /mnt/c/Users/Computador/AppData/Local/Programs/Microsoft VS Code/bin                             │
│ 61 │ /mnt/c/Users/Computador/AppData/Local/Programs/oh-my-posh/bin                                    │
│ 62 │ /mnt/c/Users/Computador/AppData/Local/spicetify                                                  │
│ 63 │ /mnt/c/Users/Computador/go/bin                                                                   │
│ 64 │ /mnt/c/Program Files/JetBrains/PyCharm Community Edition 2023.1.4/bin                            │
│ 65 │ /mnt/c/Users/Computador/AppData/Local/JetBrains/Toolbox/scripts                                  │
│ 66 │ /mnt/d/texlive/2023/bin/windows                                                                  │
│ 67 │ /mnt/c/Users/Computador/AppData/Local/Programs/Espanso                                           │
│ 68 │ /mnt/c/Users/Computador/Documents/evilginx                                                       │
│ 69 │ /mnt/c/Users/Computador/.aftman/bin                                                              │
│ 70 │ /mnt/c/Users/Computador/AppData/Roaming/npm                                                      │
│ 71 │ /mnt/c/Program Files/Neovim/bin                                                                  │
│ 72 │ /mnt/c/Users/Computador/AppData/Local/Pandoc/                                                    │
│ 73 │ /home/aikoo7/                                                                                │
╰────┴──────────────────────────────────────────────────────────────────────────────────────────────────╯

And here is the PATH in zsh (my default shell):
/run/wrappers/bin:/home/aikoo7/.nix-profile/bin:/nix/profile/bin:/home/aikoo7/.local/state/nix/profile/bin:/etc/profiles/per-user/aikoo7/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/mnt/c/Program Files/WindowsApps/Microsoft.WindowsTerminalPreview_1.18.1462.0_x64__8wekyb3d8bbwe:/mnt/c/Program Files (x86)/gnupg/bin:/mnt/c/Program Files (x86)/VMware/VMware Workstation/bin/:/mnt/c/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/um:/mnt/c/Program Files/Alacritty/:/mnt/c/Program Files/CryFS/0.11.4/bin:/mnt/c/Users/Computador/AppData/Local/Programs/VSCodium/bin:/mnt/c/Users/Computador/AppData/Roaming/minisign:/mnt/c/msys64/mingw64/bin:/mnt/c/Ninja:/mnt/c/Users/Computador/Documents/rclone-v1.63.1-windows-amd64:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/Common Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/ProgramData/chocolatey/lib/mpv.install/tools:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/dotnet/:/mnt/c/Users/Computador/.dotnet/tools:/mnt/c/Program Files (x86)/dotnet/:/mnt/c/Users/Computador/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Computador/AppData/Local/Keybase/:/mnt/c/adb:/mnt/c/Program Files/Go/bin:/mnt/c/Program Files/CMake/bin:/mnt/c/HashiCorp/Vagrant/bin:/mnt/c/Program Files (x86)/FAHClient:/mnt/c/Program Files/GitHub CLI/:/mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/mnt/c/Strawberry/c/bin:/mnt/c/Strawberry/perl/site/bin:/mnt/c/Strawberry/perl/bin:/mnt/c/Program Files/NASM:/mnt/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit/:/mnt/c/metasploit-framework/bin/:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Program Files/WezTerm:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/PowerShell/7/:/mnt/c/Users/Computador/AppData/Local/pnpm:/mnt/c/Users/Computador/.cargo/bin:/mnt/c/Users/Computador/AppData/Local/Programs/Python/Python38/Scripts/:/mnt/c/Users/Computador/AppData/Local/Programs/Python/Python38/:/mnt/c/Users/Computador/AppData/Local/Programs/Python/Python311/Scripts/:/mnt/c/Users/Computador/AppData/Local/Programs/Python/Python311/:/mnt/c/Users/Computador/scoop/shims:/mnt/c/Users/Computador/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/Computador/AppData/Local/Programs/oh-my-posh/bin:/mnt/c/Users/Computador/AppData/Local/spicetify:/mnt/c/Users/Computador/go/bin:/mnt/c/Program Files/JetBrains/PyCharm Community Edition 2023.1.4/bin:/mnt/c/Users/Computador/AppData/Local/JetBrains/Toolbox/scripts:/mnt/d/texlive/2023/bin/windows:/mnt/c/Users/Computador/AppData/Local/Programs/Espanso:/mnt/c/Users/Computador/Documents/evilginx:/mnt/c/Users/Computador/.aftman/bin:/mnt/c/Users/Computador/AppData/Roaming/npm:/mnt/c/Program Files/Neovim/bin:/mnt/c/Users/Computador/AppData/Local/Pandoc/::/home/aikoo7/.zsh/plugins/powerlevel10k:/home/aikoo7/.zsh/plugins/powerlevel10k-config:/home/aikoo7/.zsh/plugins/zsh-autosuggestions

They are different, but I didn't find any issues in clang and nvim. Can you tell us what programs you had a problem with?

@aikooo7 you mentioned that you disabled native systemd in #305. Given that nushell isn't broken in the tests (which can't use native systemd, because they run in an emulated wsl environment) i'm pretty sure that this is the reason, why the environment variables show up for you

@aikooo7 you mentioned that you disabled native systemd in #305. Given that nushell isn't broken in the tests (which can't use native systemd, because they run in an emulated wsl environment) i'm pretty sure that this is the reason, why the environment variables show up for you

I will test it even when I have time, but if it is indeed because native systemd then we should start make a list of what is broken because of it

i think i can confirm the use of native systemd is at fault here. for reference, here is my path when wsl.nativeSystemd is false
╭───┬─────────────────────────────────────────╮
│ 0 │ /run/wrappers/bin                       │
│ 1 │ /home/seth/.nix-profile/bin             │
│ 2 │ /nix/profile/bin                        │
│ 3 │ /home/seth/.local/state/nix/profile/bin │
│ 4 │ /etc/profiles/per-user/seth/bin         │
│ 5 │ /nix/var/nix/profiles/default/bin       │
│ 6 │ /run/current-system/sw/bin              │
╰───┴─────────────────────────────────────────╯

and true
╭────┬─────────────────────────────────────────────────────────────────╮
│  0 │ /usr/local/sbin                                                 │
│  1 │ /usr/local/bin                                                  │
│  2 │ /usr/sbin                                                       │
│  3 │ /usr/bin                                                        │
│  4 │ /sbin                                                           │
│  5 │ /bin                                                            │
│  6 │ /usr/games                                                      │
│  7 │ /usr/local/games                                                │
│  8 │ /usr/lib/wsl/lib                                                │
│  9 │ /mnt/c/WINDOWS/system32                                         │
│ 10 │ /mnt/c/WINDOWS                                                  │
│ 11 │ /mnt/c/WINDOWS/System32/Wbem                                    │
│ 12 │ /mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/                 │
│ 13 │ /mnt/c/WINDOWS/System32/OpenSSH/                                │
│ 14 │ /mnt/c/Program Files/Tailscale/                                 │
│ 15 │ /mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common      │
│ 16 │ /mnt/c/Program Files/PowerShell/7/                              │
│ 17 │ /mnt/c/Program Files/dotnet/                                    │
│ 18 │ /mnt/c/Program Files/Mullvad VPN/resources                      │
│ 19 │ /mnt/c/Users/setha/scoop/apps/gpg/current/bin                   │
│ 20 │ /mnt/c/Users/setha/scoop/apps/temurin8-jdk/current/bin          │
│ 21 │ /mnt/c/Users/setha/scoop/apps/temurin17-jdk/current/bin         │
│ 22 │ /mnt/c/Users/setha/scoop/apps/rustup-msvc/current/.cargo/bin    │
│ 23 │ /mnt/c/Users/setha/scoop/shims                                  │
│ 24 │ /mnt/c/Users/setha/AppData/Local/Microsoft/WindowsApps          │
│ 25 │ /mnt/c/Users/setha/AppData/Local/Programs                       │
│ 26 │ /mnt/c/Users/setha/AppData/Local/Programs/Microsoft VS Code/bin │
│ 27 │ /mnt/c/Users/setha/AppData/Local/JetBrains/Toolbox/scripts      │
│ 28 │ /mnt/c/Users/setha/AppData/Local/Microsoft/WindowsApps          │
╰────┴─────────────────────────────────────────────────────────────────╯

and here is the full config i'm using for the module
{
  wsl = {
    enable = true;
    defaultUser = "seth";
    nativeSystemd = true;
    wslConf.network = {
      hostname = "glados-wsl";
      generateResolvConf = true;
    };
    startMenuLaunchers = false;
    interop.includePath = false;
  };
}

if you haven't noticed yet, wsl.interop.includePath is also ignored when nativeSystemd is true - maybe there's a correlation here?
here's my nix-info output just in case it's needed. nixos-wsl is at c8ddba82ca6b791be1acaae4b336ff8e857ec70b
nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux <IP_ADDRESS>-microsoft-standard-WSL2, NixOS, 24.05 (Uakari), 24.05.20240216.5863c27`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`

+1 Tested on my current install of nixos-wsl and can confirm @getchoo's comment above.  wsl.nativeSystemd.enable = true causes nix related paths to not be added to $env.PATH when using nushell as the default user shell.

I looked into this a bit. In syschdemd, we explicitly sourced /etc/set-environment before starting the shell. With native systemd, we can't do that, because the code that starts the shell comes from microsoft

@nzbr, Just tested this with a fresh NixOS VM (not exactly "bare-metal" but it's as close as I can get with what hardware I've got :P ); anyway, happy to report that nushell behaves as expected on your normal NixOS install, so it looks like this is specifically linked to NixOS-WSL weirdness.

@nzbr, Just tested this with a fresh NixOS VM (not exactly "bare-metal" but it's as close as I can get with what hardware I've got :P ); anyway, happy to report that nushell behaves as expected on your normal NixOS install, so it looks like this is specifically linked to NixOS-WSL weirdness.
Edit: Probably helps if I mention the config... From the clean install, all I added to the configuration.nix was simply users.users.my-user.shell = pkgs.nushell;

For what I see this yet again confirms this might be another native wsl systemd

@nzbr, Just tested this with a fresh NixOS VM (not exactly "bare-metal" but it's as close as I can get with what hardware I've got :P ); anyway, happy to report that nushell behaves as expected on your normal NixOS install, so it looks like this is specifically linked to NixOS-WSL weirdness.
Edit: Probably helps if I mention the config... From the clean install, all I added to the configuration.nix was simply users.users.my-user.shell = pkgs.nushell;

For what I see this yet again confirms this might be another native wsl systemd problem

@nzbr, Just tested this with a fresh NixOS VM (not exactly "bare-metal" but it's as close as I can get with what hardware I've got :P ); anyway, happy to report that nushell behaves as expected on your normal NixOS install, so it looks like this is specifically linked to NixOS-WSL weirdness.
Edit: Probably helps if I mention the config... From the clean install, all I added to the configuration.nix was simply users.users.my-user.shell = pkgs.nushell;

For what I see this yet again confirms this might be another native wsl systemd problem

Finally got around to testing the changes introduced in #452, and I can confirm that it has resolved the nushell PATH issue.
nushell environment variables are now correctly set when using nushell as the user's default shell with wsl.nativeSystemd = true;
Thanks for looking into this and for your hard work here, @nzbr! ❤


"Sample" option not working

Describe the bug
When the "Sample" option is clicked, a blank window appears and the user becomes unable to click on or use anything ese on the screen. The only option left is to refresh the tab.
Severity : Medium
Persona : Data Scientist
What happened?
I clicked on the "Sample" option to explore it. A blank window appeared and then I became unable to exit from it or use any other option. The only option left was to refresh the tab.

What did you expect to happen?
I expected the "Sample" option to work and show me some samples.
How would you reproduce the bug?

Log in to Microsoft Fabric and choose the Data Scientist persona.
Choose "sample" option on the home screen,

Did this happen via Desktop and/or Smartphone?
Desktop
Operating System
Windows 11
What browsers are you seeing the problem on?
Microsoft Edge
Version
No response
Device
No response
What is your current role?
Student Ambassador
What technical topic is this bug related to?
AI/Data Science/Machine Learning
Relevant log output
No response

@Manya-tech, can you try again? It could be network issue.

Thanks, @Manya-tech, for confirmation.

I am also getting this same issue. In fact I am getting this issue with all the buttons where I get only a blank page on clicking on them


Update deployment process to use conda instead of github/pip/other stuff

Last night, I was unable to reset the node environments because it was unable to install btax. In this PR, I refactored the install scripts so that all of the OSPC packages are installed with conda instead of some confusing mix of cloned github repos and pip installations.
All packages are installing correctly now. The only problem is that they are in a different location relative to the PUF file. Thus, if you run TaxBrain on the test app, you get:

taxcalc traceback:
or on CCC you get:

btax traceback:
Traceback (most recent call last):
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/celery/app/trace.py", line 374, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/celery/app/trace.py", line 629, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/ubuntu/deploy/taxbrain_server/celery_tasks.py", line 159, in btax_async
    tables = json.loads(runner_json_tables(**user_mods))
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/btax/front_end_util.py", line 172, in runner_json_tables
    out = runner(test_run, start_year, iit_reform, **user_params)
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/btax/execute.py", line 48, in runner
    run_btax(test_run, True, start_year, {}, **econ_params)
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/btax/run_btax.py", line 110, in run_btax
    iit_reform, **user_params)
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/btax/parameters.py", line 207, in get_params
    indiv_rates = get_rates(baseline, start_year, iit_reform)
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/btax/get_taxcalc_rates.py", line 83, in get_rates
    reform=reform)
  File "/home/ubuntu/miniconda2/envs/aei_dropq/lib/python2.7/site-packages/btax/get_taxcalc_rates.py", line 45, in get_calcu

Alright, two nodes are up and running on the test app. Progress is slow, but it's happening.

Testing strategy:
Detach the worker nodes from the production app one-by-one and update them. If the update was successful, I attached it to the test app which was running on 1.4.0 and checked the log for each each node to make sure that they were all still sending and receiving jobs. I did this for eight of the nine nodes. The ninth is still serving the production app and will be updated when the production app is updated.


feat(tabs): paginated tab list

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our
guidelines: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[ ] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] input
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] pagination
[ ] popover
[ ] progress
[ ] radio-group
[ ] scroll-area
[ ] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] spinner
[ ] switch
[ ] table
[x] tabs
[ ] textarea
[ ] toast
[ ] toggle
[ ] tooltip
[ ] typography

What is the current behavior?

Closes #203
What is the new behavior?
Add hlm-paginated-tab-list component which handles pagination built on top of MatPaginatedTabHeader

Current issues I am facing:

Doesn't scroll on initial load to another tab
Should find the position of the "Tab 20" and scroll it into view.

Scroll position is calculated from tabs trigger, but the extra padding (p-1) on the list interferes with the correct scroll position
When scrolling left with the keyboard it scrolls to "Tab 29" but does not consider the extra padding. The next paginator button is also still enabled, but should be disabled when it is at the end.

This is when it is scrolled all the way to the end. The next paginator is disabled and the padding around the tab is visible.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@goetzrobin do you have an idea how to handle the extra padding around the tabs? I noticed when I add padding to the material tabs it behaves the same as with the current solution.
Not sure if we need to specify the padding amount to consider while scrolling.

@goetzrobin do you have an idea how to handle the extra padding around the tabs? I noticed when I add padding to the material tabs it behaves the same as with the current solution.
Not sure if we need to specify the padding amount to consider while scrolling.

I think this is a tough one to figure out. I'd say as good as Angular Material is good enough for me. What do you think?

Yes think so too, will be tough to figure out the value. I am fine with the current limitation. I can add a note about it to the docs. I will add paginated tabs as a section to the tabs page.

Cool that's awesome! Maybe we can make the docs more fun at a later date, but definitely not a blocker! This is great!

Good idea to improve the docs. Adding all inputs/outputs of a component could also be helpful.

@marcjulian is this ready to go?

@goetzrobin yes is ready to go. I will solve the merge conflicts.


MD030 in admonitions

MD030 currently doesn't apply to indented lists (ol / ul).
Based on this config:
# Default state for all rules
default: true

# MD003/heading-style/header-style - Heading style
MD003:
  # Heading style
  style: atx
#
# MD004/ul-style - Unordered list style
MD004:
  # List style
  style: sublist
#
# MD007/ul-indent - Unordered list indentation
MD007:
  # Spaces for indent
  indent: 4

# MD010/no-hard-tabs - Hard tabs
MD010:
  # Include code blocks
  code_blocks: true
  # Number of spaces for each hard tab
  spaces_per_tab: 4

# Disable line length check for tables and code blocks
# MD013/line-length - Line length
MD013:
  # Include code blocks
  code_blocks: false
  # Include tables
  tables: false

# MD029/ol-prefix - Ordered list item prefix
MD029:
  # List style
  style: ordered

# MD030/list-marker-space - Spaces after list markers
MD030:
  # Spaces for single-line unordered list items
  ul_single: 3
  # Spaces for single-line ordered list items
  ol_single: 2
  # Spaces for multi-line unordered list items
  ul_multi: 3
  # Spaces for multi-line ordered list items
  ol_multi: 2

# MD033/no-inline-html - Inline HTML
MD033:
  # Allowed elements
  allowed_elements: [br]

# MD046/code-block-style - Code block style
# conflicting with admonitions...
MD046: false

# MD048/code-fence-style - Code fence style
MD048:
  # Code fence style
  style: backtick

Just look at the errors in
A ul

- def

and a ol ul combination

1. abc
    - cde

vs

!!! note "admonition test as e.g. used / defined in mkdocs material"
    1. abc
        - cde

    or

    - def

and you will notice that only the case outside the admonition displays an error

Tested on

markdownlint version 0.30.0
installed via node version 16.13.0
on Mac 11.6.5

Syntax isn't supported, see https://github.com/DavidAnson/markdownlint/issues/207

Thanks for the quick replies from both of you.
As mentioned in the other issue already it seems the plugin is no longer maintained (last commit from 4 years ago)...
Are there still no plans to support admonitions?

I do not have plans for admonitions. If there is something lacking with that plug-in, I would appreciate if someone helped improve it.


Support for ESP32-CAM modules

Although Ai-Thinker ESP32-CAM module and the clones can work with the generic esp32 environment, there are some specifics different from the esp32doit-devkit-v1 board configuration used in it.
With this change OTA actually works fine through the following changes:

board configuration set to esp32cam
partitions spec set to min_spiffs.csv, which allows for OTA partitions to be set up on the image (unlike the default one)
ArduinoOTA timeout changed from the default 1s to 3s — I found that otherwise it bails out too often before completing, especially if the wireless connection isn't ideal

Additionally, this adds a helpful WiFi status indication through the on-board red LED present on those modules at pin 33. When set to LOW it will turn on and it will turn off when set to HIGH.

@excieve  What would the esp32-cam add to the ESPAltherma? Is there something specific that needs to be photographed on the heatpump or anything? (Just trying to understand the usecase for the camera)


Manually add renovate

I tried to do this in the configure/renovate branch, then the bot wrestled control away. This is another try.

https://github.com/iterative/cml.dev/pull/306


Tumblr video not downloading

I was trying to download a video from Tumblr with 2 different links and none of them work. Only the first of these links worked to download the video on a different video downloading site, but ideally both should work.
The links, both for the same video, are:

https://kronkk.tumblr.com/post/767057879056482304
https://www.tumblr.com/kronkk/758988847624388608

Edit: The error I am getting is "Could not retrieve video URL", same error for both links.

@tom22k there appears to be an issue with the Cobalt API tools affecting Tumblr, YouTube, and Reddit. I'll resolve this as soon as possible 😊

Cobalt API is officially shutdown
https://github.com/imputnet/cobalt/discussions/860

FetchIt uses cobalt API for downloading videos from youtube Tumblr few other platforms. However, due to the recent shutdown of all Cobalt API instances, FetchIt is now unable to download videos from these platforms.


fix: Pin Yarn to 1.22.19 to avoid issue in newer version

The latest Yarn version breaks the Querybook build, see: https://github.com/yarnpkg/yarn/issues/9011

Fixed upstream, closing


Error when installing Haystack to Minikube

When using the current terraform scripts to deploy Haystack to Minikube I get the following error
Error getting plugins: 2 problems:

- module "alerting": "mc-a2m-mapper" is not a valid argument
- module "alerting": missing required argument "a2m-mapper”

Hey, was a fix for this ever found?

@absrivastava : Can you post the solution here.


API.verify_credentials() throws Error instead of returning False if consumer_key is set to None

Title says it all.
Example code:
import tweepy

auth = tweepy.OAuthHandler(None, None)

api = tweepy.API(auth)

api.verify_credentials()

 Traceback
Traceback (most recent call last):
  File "/home/ven/.local/lib/python3.8/site-packages/tweepy/binder.py", line 184, in execute
    resp = self.session.request(self.method,
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
    prep = self.prepare_request(req)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 452, in prepare_request
    p.prepare(
  File "/usr/lib/python3/dist-packages/requests/models.py", line 317, in prepare
    self.prepare_auth(auth, url)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 548, in prepare_auth
    r = auth(self)
  File "/home/ven/.local/lib/python3.8/site-packages/requests_oauthlib/oauth1_auth.py", line 108, in __call__
    r.url, headers, _ = self.client.sign(
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py", line 313, in sign
    ('oauth_signature', self.get_oauth_signature(request)))
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py", line 127, in get_oauth_signature
    uri, headers, body = self._render(request)
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py", line 209, in _render
    headers = parameters.prepare_headers(
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/utils.py", line 32, in wrapper
    return target(params, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/parameters.py", line 59, in prepare_headers
    escaped_value = utils.escape(value)
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/utils.py", line 56, in escape
    raise ValueError('Only unicode objects are escapable. ' +
ValueError: Only unicode objects are escapable. Got None of type <class 'NoneType'>.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test.py", line 7, in <module>
    api.verify_credentials()
  File "/home/ven/.local/lib/python3.8/site-packages/tweepy/api.py", line 662, in verify_credentials
    return bind_api(
  File "/home/ven/.local/lib/python3.8/site-packages/tweepy/binder.py", line 252, in _call
    return method.execute()
  File "/home/ven/.local/lib/python3.8/site-packages/tweepy/binder.py", line 192, in execute
    six.reraise(TweepError, TweepError('Failed to send request: %s' % e), sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/six.py", line 702, in reraise
    raise value.with_traceback(tb)
  File "/home/ven/.local/lib/python3.8/site-packages/tweepy/binder.py", line 184, in execute
    resp = self.session.request(self.method,
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 519, in request
    prep = self.prepare_request(req)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 452, in prepare_request
    p.prepare(
  File "/usr/lib/python3/dist-packages/requests/models.py", line 317, in prepare
    self.prepare_auth(auth, url)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 548, in prepare_auth
    r = auth(self)
  File "/home/ven/.local/lib/python3.8/site-packages/requests_oauthlib/oauth1_auth.py", line 108, in __call__`
    r.url, headers, _ = self.client.sign(
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py", line 313, in sign
    ('oauth_signature', self.get_oauth_signature(request)))
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py", line 127, in get_oauth_signature
    uri, headers, body = self._render(request)
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/__init__.py", line 209, in _render
    headers = parameters.prepare_headers(
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/utils.py", line 32, in wrapper
    return target(params, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/parameters.py", line 59, in prepare_headers
    escaped_value = utils.escape(value)
  File "/usr/lib/python3/dist-packages/oauthlib/oauth1/rfc5849/utils.py", line 56, in escape
    raise ValueError('Only unicode objects are escapable. ' +
tweepy.error.TweepError: Failed to send request: Only unicode objects are escapable. Got None of type <class 'NoneType'>.

Using:

Python 3.8.5
tweepy 3.10.0

API.verify_credentials uses the Twitter API's GET account/verify_credentials endpoint.
The error originates from OAuthLib, which doesn't check the type of the consumer key or secret before attempting to use them to sign the API request.
The same error will be encountered when using any other API method to make a request to the Twitter API.
This isn't really a bug, since improper credentials are passed, but the error that occurs could probably be improved as it's a bit unclear.


Checking if a germ set is "amplificationally complete" (AC) takes a long time

In the example germ generation notebook, checking if a 1Q germ set is AC seems to be fine, but for 2Q it takes a while. (I can add more quantitative statements in a bit.)

Also addressed in #29

The suggested replacement, and several other similar ones, have been implemented in pyGSTi version 0.9.4.  Checks for amplification completeness can be performed using
pygsti.alg.test_germ_list_infl(gateset, germsToTest)

Note that germ testing for AC-ness is still not parallel, i.e. it still can only use one CPU at once.  This is a future update we're thinking about but haven't implemented yet.


Gitlab backport to v1

Backport of #1343 onto the v1 branch.

Deploy preview for netlify-cms-www ready!
Built with commit 48e2db65130f9d59f618d015fdfae27fcae5eff2
https://deploy-preview-1421--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 48e2db65130f9d59f618d015fdfae27fcae5eff2
https://deploy-preview-1421--cms-demo.netlify.com

Backported manually.


Different chromosome order with bigwigtobedgraph than with UCSC bigWigToBedGraph

bigtools bigwigtobedgraph gives a different chromosome order than UCSC bigWigToBedGraph on a bigwig file made with pyBigWig.
$ cut -f 1 test.bigtools.bedgraph | uniq
chr1
chr10
chr11
chr12
chr13
chr14
chr15
chr16
chr17
chr18
chr19
chr2
chr20
chr3
chr4
chr5
chr6
chr7
chr8
chr9
chrX
chrY

$  cut -f 1 test.ucsc.bedgraph | uniq
chr1
chr2
chr3
chr4
chr5
chr6
chr7
chr8
chr9
chr10
chr11
chr12
chr13
chr14
chr15
chr16
chr17
chr18
chr19
chr20
chrX
chrY

❯  bigWigInfo -chroms test.bw
version: 4
isCompressed: yes
isSwapped: 0
primaryDataSize: 1,236,921,292
primaryIndexSize: 3,993,736
zoomLevels: 9
chromCount: 23
        chr1 0 223616942
        chr2 1 196197964
        chr3 2 185288947
        chr4 3 169963040
        chr5 4 187317192
        chr6 5 179085566
        chr7 6 169868564
        chr8 7 145679320
        chr9 8 134124166
        chr10 9 99517758
        chr11 10 133066086
        chr12 11 130043856
        chr13 12 108737130
        chr14 13 128056306
        chr15 14 113283604
        chr16 15 79627064
        chr17 16 95433459
        chr18 17 74474043
        chr19 18 58315233
        chr20 19 77137495
        chrM 20 16564
        chrX 21 153388924
        chrY 22 11753682
basesCovered: 2,768,582,316
mean: 24.193325
min: 1.000000
max: 12332.000000
std: 56.607673

Also bigtools bigwiginfo is missing some option available in UCSC bigWigInfo

This should be fixed since 0.4.0.
Reading from a bigwig should now always match the existing order of chromosomes.


Glusterfs cannot set up a read-only storage in OpenPAI, v1.7.0

How to reproduce it:
Set up a Glusterfs ReadOnlyMany PV and corresponding PVC by:
# Gluster PV
apiVersion: v1
kind: PersistentVolume
metadata:
  name: gluster-volume
spec:
  capacity:
    storage: 20Gi
  accessModes:
    - ReadOnlyMany
  glusterfs:
    endpoints: glusterfs-cluster
    path: data
    readOnly: true
---
# Gluster PVC
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: glusterfs-storage
spec:
  accessModes:
  - ReadOnlyMany
  resources:
     requests:
       storage: 20Gi

However its access mode is RW:

I have no idea how to resolve it. Could you give me a help?

OpenPAI Environment:

OpenPAI version: v1.7.0
Cloud provider or hardware configuration: gpu servers
OS (e.g. from /etc/os-release): Ubuntu 16.04
Kernel (e.g. uname -a):  4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

Anything else we need to know:

Hi DC-y,
accessModes is only considered during PV/PVC binding time. OpenPAI doesn't use this label to identify read-only storage.
Please refer to https://openpai.readthedocs.io/en/latest/manual/cluster-admin/how-to-set-up-storage.html#read-only-storage to create a read-only storage volume.

Hi hzy46,
I have followed up blow setting,  and set spec.glusterfs.readOnly=true, but it's useless, the storage still RW.

the corresponding PV's attribute PersistentVolume.Spec..ReadOnly to be true

Here is the pv I used
# Gluster PV
apiVersion: v1
kind: PersistentVolume
metadata:
  name: gluster-volume
spec:
  capacity:
    storage: 20Gi
  accessModes:
    - ReadOnlyMany
  glusterfs:
    endpoints: glusterfs-cluster
    path: data
    readOnly: true

Actually we didn't test glusterfs. Can the system successfully mount the PVC into the job?

I have checked the code. The unknown type PVC will always have readOnly=false:
https://github.com/microsoft/pai/blob/7cf1ae351dd15d7228d2675212c1036c0aea8745/src/rest-server/src/models/v2/storage.js#L55-L104
For a workaround, please change the code here, and let it read the readOnly field of glusterfs.

After change the code, and rebuild the image, gluterfs storage can be set as readOnly type. Thanks !!!!! @hzy46


Correct "Entity Metadata Provides" to "Entity Metadata Providers"

There is a typo in the Objectives and Scope section where "Entity Metadata Provides" should read "Entity Metadata Providers".
https://ld4.github.io/entity_metadata_management/api/0.1/recommendations.html#objectives-and-scope

Fixed in https://github.com/LD4/entity_metadata_management/pull/21


PS1 Semi-Transparent modes?

These are quite a special feature of the PS1's GPU which tend to give even the transitions in games a really neat look, and come in 4 forms. They are implemented in emulators like Ares pretty succinctly as well. Very interesting project and I wish to keep an eye on it! :0

I will look into this thank you!


mediapipe iOS framework

I want to use mediapipe framework for ios app.
I already read issue #364, and tried build ios_framework.
My Build file :
//////////////////////////////////////////////////////////////////
load(
"@build_bazel_rules_apple//apple:ios.bzl",
"ios_framework",
)
ios_framework(
name = "HandTracker",
hdrs = [
"HandTracker.h",
],
bundle_id = "com.myprofile.handtracking",
families = [
"iphone",
"ipad",
],
infoplists = ["Info.plist"],
minimum_os_version = 11.0,
provisioning_profile = "//mediapipe/examples/ios:provisioning_profile",
deps = [
":HandTrackingGpuAppLibrary",
"@ios_opencv//:OpencvFramework",
],
)
//////////////////////////////////////////////////////////////////
Info.plist :
//////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////
bazel command :
//////////////////////////////////////////////////////////////////
bazel build -c opt --config=ios_arm64 mediapipe/examples/ios/handtrackinggpu:HandTracker
//////////////////////////////////////////////////////////////////
I tried build framework, But It's not working.
Framework's size is 34M and there is HandTracker, Info.plist, hand_landmark.tflite, hand_tracking_mobile_gpu.binarypb, palm_detection_labelmap.txt, palm_detection.tflite, HandTracker.h header files.
HandTracker's size is 15M.
When executed in xcode, shows "Unable to install ".
But this command is work very well.
bazel build -c opt --config=ios_arm64 mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp
I get .ipa from this build command, and run it.
My system environment is Mac OS 10.15.4, Xcode Version 11.4.1 (11E503a), bazel 3.1.0, python 3.7.7.
I tried for 3 days, but it didn't work.
What did I do wrong?
Would you help me?
Thank you.

The same guy that opened that Issue actually made a repo where he has a successful attempt of doing this. You can find it here and see his BUILD file. After that you should be able to just include the resulting .framework folder in xCode and do the corresponding bridging file if you want to use it with Swift.
You can also use carthage to download and use what he did.

Thank you for snacalvo's reply!
I already find it, tried download framework and using it.
But noppefoxwolf's framework has memory leak.
noppefoxwolf's build file is same as I tried.
I don't understand why size of my framework and noppefoxwolf's framework is too different.
My framework's size is 34M, but noppefoxwolf's framework is 300M.
What is the problem?
Thank you for your kind cooperation.
Best Regards.

check this https://github.com/google/mediapipe/issues/387 to fix memory leak,
use below command to build the framework
$ bazel build -c opt --config=ios_fat --define 3D=true mediapipe/develop:HandTracker

Thank you for gogoqaz's reply!
I read issue #387
My mediapipeframework/scheduler_queue.cc file contains already this contents.
My HandTrackingGpuApp don't have memory leak.
#ifdef APPLE
#define AUTORELEASEPOOL @autoreleasepool
#else
#define AUTORELEASEPOOL
#endif  // APPLE
AUTORELEASEPOOL {
if (is_open_node) {
DCHECK(!calculator_context);
OpenCalculatorNode(node);
} else {
RunCalculatorNode(node, calculator_context);
}
}
My system environment is Mac OS 10.15.4, Xcode Version 11.4.1 (11E503a)
bagel, python version is

I used below command to build the framework :

I get framework, framework's size is 28M.

But my framework not working in iOS app.
Error - Unable to install "MediaPipeHandTracking"
What did I do wrong?

you can check my fork https://github.com/gogoqaz/mediapipe
This is the HandTracker with newest mediapipe version (v0.7.5 I guess).
use below command to build the ios framework
bazel -c opt --config=ios_fat mediapipie/devlop:HandTracker
I'm still figuring how to get the left/right information from the handedness stream.
ps. my bazel version is 2.0.0

How is Xcode version and Mac OS version?
And php version?

How is Xcode version and Mac OS version?
And php version?

Xcode: 11.4.1
macOS: 10.15.4
python: 2.7.16

Starting local Bazel server and connecting to it...
WARNING: Download from https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/master.zip) = 4d32debb2de7e3d0a96b59859d3effc9860f8d1d1dedc0eae8e74bef86295b26
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "4d32debb2de7e3d0a96b59859d3effc9860f8d1d1dedc0eae8e74bef86295b26"
DEBUG: Repository rules_cc instantiated at:
no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/bazel_tools/tools/build_defs/repo/http.bzl:336:16: in
INFO: Repository local_execution_config_python instantiated at:
no stack (--record_rule_instantiation_callstack not enabled)
Repository rule local_python_configure defined at:
/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/py/python_configure.bzl:275:26: in
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/py/python_configure.bzl", line 213
_get_numpy_include(<2 more arguments>)
File "/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/py/python_configure.bzl", line 187, in _get_numpy_include
execute(repository_ctx, <3 more arguments>)
File "/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/remote_config/common.bzl", line 208, in execute
fail(<1 more arguments>)
Problem getting numpy include path.
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'numpy'
Is numpy installed?
INFO: Repository rules_java instantiated at:
no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/bazel_tools/tools/build_defs/repo/http.bzl:336:16: in
ERROR: Analysis of target '//mediapipe/develop:HandTracker' failed; build aborted: Traceback (most recent call last):
File "/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/py/python_configure.bzl", line 213
_get_numpy_include(<2 more arguments>)
File "/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/py/python_configure.bzl", line 187, in _get_numpy_include
execute(repository_ctx, <3 more arguments>)
File "/private/var/tmp/_bazel_ryb/1f06e6dc9abe405052af112572cc60fe/external/org_tensorflow/third_party/remote_config/common.bzl", line 208, in execute
fail(<1 more arguments>)
Problem getting numpy include path.
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'numpy'
Is numpy installed?
INFO: Elapsed time: 280.358s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (24 packages loaded, 75 targets configured)
currently loading: @bazel_tools//tools/jdk
Fetching @local_config_cc_toolchains; fetching
Fetching @local_config_cc; fetching

you can check my fork https://github.com/gogoqaz/mediapipe
This is the HandTracker framework with newest mediapipe version (v0.7.5 I guess).
use below command to build the ios framework
bazel -c opt --config=ios_fat mediapipie/develop:HandTracker
I'm still figuring how to get the left/right information from the handedness stream.
Maybe I can upload an iOS testbed if you need.
ps. my bazel version is 2.0.0

I need iOS framework, if you can upload it, please upload.
Thank you for your kind cooperation.

you can check my fork https://github.com/gogoqaz/mediapipe
This is the HandTracker framework with newest mediapipe version (v0.7.5 I guess).
use below command to build the ios framework
bazel -c opt --config=ios_fat mediapipie/develop:HandTracker
I'm still figuring how to get the left/right information from the handedness stream.
Maybe I can upload an iOS testbed if you need.
ps. my bazel version is 2.0.0

I need iOS framework, if you can upload it, please upload.
Thank you for your kind cooperation.

https://github.com/gogoqaz/HandTracker

Thank you very much!!!
Your framework works very well, usage of cpu and memory  is also very small.
Your framework is very nice framework that I want.
I hope users know a lot about your framework.
https://github.com/gogoqaz/mediapipe
I want to build the framework in my Mac OS system.
Would you help me?
Thank you for your kind cooperation.
Best Regards.

Thank you very much!!!
Your framework works very well, usage of cpu and memory is also very small.
Your framework is very nice framework that I want.
I hope users know a lot about your framework.
https://github.com/gogoqaz/mediapipe
I want to build the framework in my Mac OS system.
Would you help me?
Thank you for your kind cooperation.
Best Regards.

Glad to hear that, but the credit should belong to @noppefoxwolf, what I done is just upgrade the mediapipie for HandTracker.
I'm not familiar with Bazel,  maybe you can downgrade your bazel to v2.0.0 and try to build framework again. This is the only thing I can tell you.
Good luck!

ios_static_framework has not copts and includes option, as i want to expose some headers not in my current dir. for example:
Build file in mediapipe/example/ios/frameworks and i want expose some headers in mediapipe/obj/heads. How to do it?

you can check my fork https://github.com/gogoqaz/mediapipe
This is the HandTracker framework with newest mediapipe version (v0.7.5 I guess).
use below command to build the ios framework
bazel -c opt --config=ios_fat mediapipie/develop:HandTracker
I'm still figuring how to get the left/right information from the handedness stream.
Maybe I can upload an iOS testbed if you need.
ps. my bazel version is 2.0.0

I need iOS framework, if you can upload it, please upload.
Thank you for your kind cooperation.

https://github.com/gogoqaz/HandTracker

@gogoqaz can you guide me about an example project where I can get to use this model by mediapipe in ios project "object_detection_3d_sneakers.tflite" ?


Issue in startRecording() Method

Hi,
Encountering an error when trying to integrate the same code into my local application,  Requesting you to please respond onto this....

Thanks in Advance...

Replace your declaration with mention code for "mediaConstraints" variable:
let mediaConstraints = {
audio: true,
video: {
width: 1280,
height: 720
}
};


Metrics/segments

Add the --segments option to the metrics pipeline.
This option extracts metrics only on the required segments in a dataFrame having 'recording_filename', 'segment_onset' and 'segment_offset'.
Use this option with --by segments

[X] implementation
[X] tests
[X] docstrings

A few places where I simply didn't understand what was happening.
Your way to calculate lena_CTC is different from mine. I'll check the difference in the results - if any - on Monday.

Other than that, everything seems good.

The code could probably benefit from more inline comments

[ ] add comments

Added lena_CTC as you suggested (count of AICF AICM CIC XIC lines)
We will merge the branch but only release a new version after @kalenkovich 's testing of the segments extraction and lena CTC/CVC.

I got the merge notification but missed your comment, @LoannPeurey. I'll try to check the calculation today.
What do you mean by "segments extraction"?

I wasn't able to run the metrics pipeline. Here is what I tried:
child-project metrics /Users/ek221/blab/GIN/bergelson childproject_lena-metrics.csv custom metrics_list.csv --by recording_filename --recordings recordings.csv --period 5mins

And here is what I got:
child-project: error: unrecognized arguments: --by recording_filename --recordings recordings.csv --period 5mins

If I remove those three options, it works. But not the way I intended it to 😄  My best guess is that I messed up the order of the options/arguments. @LoannPeurey, do you mind checking what I did wrong?
And here are the recordings and metrics file I used.

Sorry for the delay, I am currently on leave until next monday so only checking sporadically email/github.
I suggest moving the options before the custom keyword.
So that should give
child-project metrics /Users/ek221/blab/GIN/bergelson childproject_lena-metrics.csv --by recording_filename --recordings recordings.csv --period 5mins custom metrics_list.csv

This specificity of the order feels like unwanted complexity. I should explore options.
In the meantime, try checking the doc page and putting all the arguments belonging to the base metrics pipeline before the keyword (lena,custom, etc) and any argument belonging to a specific keyword subcommand after.

I got the merge notification but missed your comment, @LoannPeurey. I'll try to check the calculation today.
What do you mean by "segments extraction"?

What I mean is extracting metrics from a list of audio fragments defined by recording_filename, segment_onset, segment_offset
To do that, you must use a csv (eg segments.csv) file with those 3 columns along with the CLI call:
child-project metrics /Users/ek221/blab/GIN/bergelson childproject_lena-metrics.csv --by segments --segments segments.csv custom metrics_list.csv

Got it, thank you! Enjoy your time off.
On Tue, 23 Aug 2022 at 12:56, Loann Peurey @.***> wrote:

I got the merge notification but missed your comment, @LoannPeurey
https://github.com/LoannPeurey. I'll try to check the calculation today.
What do you mean by "segments extraction"?
What I mean is extracting metrics from a list of audio fragments defined
by recording_filename, segment_onset, segment_offset
To do that, you must use a csv (eg segments.csv) file with those 3 columns
along with the CLI call:
child-project metrics /Users/ek221/blab/GIN/bergelson childproject_lena-metrics.csv --by segments --segments segments.csv custom metrics_list.csv
—
Reply to this email directly, view it on GitHub
https://github.com/LAAC-LSCP/ChildProject/pull/394#issuecomment-1224346492,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGUAWTWJQEAEVSRGIHCLNTV2T7FXANCNFSM554YVJEQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Support calling GDB over SSH

Could it be possible to implement support for calling GDB over SSH ?
From what I've understood, it seems quite easy to implement within code-debug. You would simply need to replace the system executable calls and stdio redirections by an appropriate SSH implementation. simple-ssh seems to do the job but there might be better alternatives.
You can take a look at the Visual Studio (!= vscode) GDB Debugger Extension for an example implementation of this use-case. Source code of Microsoft/MIEngine might also help :wink:
Here are my personal requirements for this feature:

Use either authentication with a password or with an SSH private key file.
Expose the possibility to use a custom SSH port
The target field must point to the target executable not the ssh server

launch.json proposal:
"request": "launch",
"target": "./bin/executable",
"cwd": "/home/target/build",
"ssh": {
  "host": "<IP_ADDRESS>",
  "port": "2222",
  "user": "jdoe",
  "password": "pw4jdoe"
}

Saving a password in clear text is terrible though. This should only allow private key files

Maybe "target": "jdoe@<IP_ADDRESS>:2222:/home/target/build/bin/executable" instead

Thanks for the feedback :+1:

Saving a password in clear text is terrible though.

Maybe for the most common usages but not when using a Vagrant box whose SSH ports are only exposed to the host system and whose SSH private keys are automatically regenerated :wink:

This should only allow private key files

I tend to believe that such decisions should be left to the end-user.

Maybe "target": "jdoe@<IP_ADDRESS>:2222:/home/target/build/bin/executable" instead

If you give me the choice between an option requiring a specific string format and an object consisting of clearly separated options, I would choose the first.
I find it worse that my configuration proposal because it would involve extra considerations which are not actually required. Apart from a debatable removal of extra JSON options (you would still have to specify a private key or password however), I see no obvious reason for creating an extra string format whereas such options would end up being loaded separately in the code.

Right, and having children in the json also gives better auto completion for vscode. Might use that then instead

I forgot an additional requirement. X11 forwarding must be supported (to debug native GUI applications). In that sense, it might be better to use ssh2 instead of simple-ssh.

Thanks for the quick implementation :smiley:
However it does not works with my use-case (Windows vscode connecting to a Linux SSH server).
Debug console output:
Running gdb over ssh...
undefined=thread-group-added,id="i1"
Failed to run command `file-exec-and-symbols "\\home\\vagrant\\build-debug\\hello-cxx"`: \home\vagrant\build-debug\hello-cxx: No such file or directory.
An error occured: \home\vagrant\build-debug\hello-cxx: No such file or directory.

My launch.json configuration:
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug",
      "type": "gdb",
      "request": "launch",
      "target": "./bin/hello-cxx",
      "cwd": "${workspaceRoot}",
      "ssh": {
          "host": "<IP_ADDRESS>",
          "port": 2222,
          "cwd": "/home/vagrant/build-debug",
          "password": "vagrant",
          "user": "vagrant"
      }
    }
  ]
}

It looks likes / are being converted to \ during the process...

Should be fixed now

Nope, same output here.
After a few searches, I fixed the issue by removing lines 53 and 54 of mi2.js:
if (!path.isAbsolute(target))
  target = path.join(cwd, target);

I now am suffering from similar problems when setting breakpoints:
Running gdb over ssh...
undefined=thread-group-added,id="i1"
Running executable
Breakpoints for file Z:\home\vagrant\build-debug\src\main.cxx
Failed to run command `break-insert Z:\home\vagrant\build-debug\src\main.cxx:5`: No source file named Z.
An error occured: No source file named Z.
Hello CXX!

Again, I fixed breakpoint issues by modifying lines which change some filesystem paths.
Ugly fix on line 167 of gdb.ts:
  path = this.switchCWD + '/' + path.replace('\\', '/'); // path.resolve(this.switchCWD, path);

A screen capture to show that everything works fine after applying my quick & dirty fixes :tada: :

Changed it to a less hacky way with path.posix now. Can you give it a try?

It's better but still not 100% working.
Here is what I have in-place of the source-file which has a breakpoint:
Source z:\src-github\code-debug\z:\src-github\proto\src\main.cxx is not available.

Screen capture:

Looks like the global posix usage had side-effects...

The weirdest being that z:\src-github\code-debug\z:\src-github\proto\src\main.cxx contains two different directories. The first one only contains the code-debug extension and the second one contains the debugged source code.
I wonder how can it be even possible to have the first one here :scream:

After a few debugging, I have opened a PR with the fix for my issue.
The problem came from path.resolve which relied on the POSIX convention whereas it needed the Windows one to translate the path to local.
Regardless of my fix, I believe that the filesystem path management should be clarified by only translating paths where really appropriate (i.e. the closer to extension IOs, the better) and not forcing a global POSIX path convention.


Will there be more carrots in the project?

WELL?
In my opinion it's not that good or not good. If I were to say what I value most in life, I would say people. Ekhm ... People who gave me a helping hand when I could not cope, when I was alone. And what's interesting, it is the chance meetings that affect our lives. The point is that when you confess certain values, even seemingly universal, it happens that there is no understanding, so to speak, that helps us develop. I was lucky to say that because I found them. And thank you life. Thank him, life is singing, life is dance, life is love. Many people ask me the same, but how do you do it? Where do you get this joy from? And I answer that it's simple, it's a love of life, it is today that makes me build machines today, and tomorrow ... who knows why not, I will devote myself to social work and I will be, even planting ... means ... carrots.

Nkdayzdcznr silyczrsrndi.
GA-DE-RY-PO-LU-KI

XDDX


Transactions cause fcl to switch currentUser to ServiceAccount (0.0.78)

Problem
While working on a project which implements functionality from KittyItems, I noticed that transactions appeared to be forcing currentUser to automatically swap to the ServiceAccount. This is with @onflow/fcl 0.0.78, fcl-dev-wallet:0.3.1, and emulator:latest. This did not happen with fcl-js 0.0.77.
Steps to Reproduce

Clone https://github.com/onflow/kitty-items
(If you already have it) Clear any cached "web"-related images in Docker.
Update web package.json to "@onflow/fcl": "0.0.78"
Add BASE_URL=http://localhost:8701 to dev-wallet env (in docker-compose.yml)
Deploy the project locally
Login as ServiceAccount, Initialize, and Mint an item
Log out, Fund Account A, login as Account A
Attempt to purchase an item

You will see the following warning in dev console:
You are manually enabling a very experimental feature that is not yet standard, use at your own risk.
         You can disable this warning by setting fcl.warning.suppress.redir to true in your config

You'll also see that fcl.currentUser().subscribe has updated the current user back to ServiceAccount. Additionally, you can see that even the Initialize and Mint transactions called when logged in as ServiceAccount caused the warning to fire and currentUser to swap (though, since you're logged in as ServiceAccount at the time, it doesn't impact anything).
This warning is coming from: https://github.com/onflow/fcl-js/blob/master/packages/fcl/src/current-user/index.js#L116

@cbcomdev I think the service account issue and the warning are unrelated, but glad you brought up the warning since it should have disappeared in the latest release. I made a PR here to remove it for the next release. Do you mind posting the service account issue on KittyItems? I think it's more likely dev wallet or Kitty Items than FCL.

@chasefleming Thanks for your response. As I mentioned, the issue only appears when updating fcl-js. KittyItems, dev wallet, and the emulator were not changed. That said, I will copy the issue to the other repos as you requested.

@cbcomdev I saw on this issue that they weren't able to reproduce it when dev wallet was upgraded to 0.3.2. I'm curious have you tried that and if so did that work?

I had exactly the same issue on version ^0.0.78, downgrade to ^0.0.77 fixed the problem. Hope it helps


Unable to load package list: undefined

Describe the bug
Using verdaccio/verdaccio:3.8.1, the first login report error:Unable to load package list: undefined
To Reproduce
Steps to reproduce the behavior:

docker run --name verdaccio2 -d -v /home/deploy/docker/verdaccio:/verdaccio -p 4873:4873  verdaccio/verdaccio:3.8.1
to pc client, register username: 'aaa', passwd: 'aaa'
Go to the browser to access http://<IP_ADDRESS>:4873/#/, and then login username: 'aaa' account
See error: Unable to load package list: undefined

Expected behavior
show package list
Screenshots

Docker || Kubernetes (please complete the following information):

Docker verdaccio tag: verdaccio:3.8.1
Docker commands: docker pull verdaccio:verdaccio:3.8.1
Docker Version: 18.06.1-ce

Configuration File (cat ~/.config/verdaccio/config.yaml)
storage: /verdaccio/storage

auth:
  htpasswd:
    file: /verdaccio/conf/htpasswd
    # Maximum amount of users allowed to register, defaults to "+inf".
    # You can set this to -1 to disable registration.
    #max_users: 1000
security:
  api:
    jwt:
      sign:
        expiresIn: 60d
        notBefore: 1
  web:
    sign:
      expiresIn: 7d

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/

packages:
  '@jota/*':
      access: $all
      publish: $all

  '@*/*':
    # scoped packages
    access: $all
    publish: $all
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish packages
    # (anyone can register by default, remember?)
    publish: $all

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

# To use `npm audit` uncomment the following section
middlewares:
  audit:
    enabled: true

# log settings
logs:
  - {type: stdout, format: pretty, level: trace}
  #- {type: file, path: verdaccio.log, level: info}

Debugging output

$ NODE_DEBUG=request verdaccio display request calls (verdaccio <--> uplinks)

in docker container exec command
> NODE_DEBUG=request verdaccio
 warn --- config file  - /root/.config/verdaccio/config.yaml
 warn --- Plugin successfully loaded: htpasswd
 warn --- Plugin successfully loaded: audit
 warn --- http address - http://localhost:4873/ - verdaccio/3.8.1
 fatal--- cannot create server: listen EADDRINUSE <IP_ADDRESS>:4873

$ DEBUG=express:* verdaccio enable extreme verdaccio debug mode (verdaccio api)

in docker container exec command
> DEBUG=express:* verdaccio
warn --- config file  - /root/.config/verdaccio/config.yaml
 warn --- Plugin successfully loaded: htpasswd
  express:application set "x-powered-by" to true +0ms
  express:application set "etag" to 'weak' +1ms
  express:application set "etag fn" to [Function: generateETag] +0ms
  express:application set "env" to 'production' +1ms
  express:application set "query parser" to 'extended' +0ms
  express:application set "query parser fn" to [Function: parseExtendedQueryString] +0ms
  express:application set "subdomain offset" to 2 +0ms
  express:application set "trust proxy" to false +0ms
  express:application set "trust proxy fn" to [Function: trustNone] +0ms
  express:application booting in production mode +0ms
  express:application set "view" to [Function: View] +0ms
  express:application set "views" to '/usr/local/app/bin/views' +0ms
  express:application set "jsonp callback name" to 'callback' +0ms
  express:application set "view cache" to true +0ms
  express:application set "env" to 'production' +0ms
  express:router use '/' query +1ms
  express:router:layer new '/' +0ms
  express:router use '/' expressInit +1ms
  express:router:layer new '/' +0ms
  express:router use '/' corsMiddleware +0ms
  express:router:layer new '/' +0ms
  express:router use '/' log +0ms
  express:router:layer new '/' +0ms
  express:router use '/' errorReportingMiddleware +0ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +0ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +0ms
  express:router:layer new '/' +0ms
  express:router use '/' compression +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/favicon.ico' +1ms
  express:router:layer new '/favicon.ico' +0ms
  express:router:route get '/favicon.ico' +0ms
  express:router:layer new '/' +0ms
 warn --- Plugin successfully loaded: audit
  express:router use '/' compression +3ms
  express:router:layer new '/' +0ms
  express:router use '/' jsonParser +7ms
  express:router:layer new '/' +0ms
  express:router:route new '/audits' +0ms
  express:router:layer new '/audits' +0ms
  express:router:route post '/audits' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/audits/quick' +0ms
  express:router:layer new '/audits/quick' +0ms
  express:router:route post '/audits/quick' +0ms
  express:router:layer new '/' +0ms
  express:router use '/-/npm/v1/security' router +0ms
  express:router:layer new '/-/npm/v1/security' +0ms
  express:router use '/' <anonymous> +1ms
  express:router:layer new '/' +0ms
  express:router use '/' jsonParser +0ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +0ms
  express:router:layer new '/' +0ms
  express:router use '/' encodeScopePackage +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/whoami' +0ms
  express:router:layer new '/whoami' +0ms
  express:router:route get '/whoami' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/whoami' +0ms
  express:router:layer new '/-/whoami' +0ms
  express:router:route get '/-/whoami' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/:version?' +0ms
  express:router:layer new '/:package/:version?' +0ms
  express:router:route get '/:package/:version?' +1ms
  express:router:layer new '/' +0ms
  express:router:route get '/:package/:version?' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/-/:filename' +0ms
  express:router:layer new '/:package/-/:filename' +0ms
  express:router:route get '/:package/-/:filename' +0ms
  express:router:layer new '/' +0ms
  express:router:route get '/:package/-/:filename' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/all(/since)?' +0ms
  express:router:layer new '/-/all(/since)?' +0ms
  express:router:route get '/-/all(/since)?' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/user/:org_couchdb_user' +0ms
  express:router:layer new '/-/user/:org_couchdb_user' +0ms
  express:router:route get '/-/user/:org_couchdb_user' +1ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/user/:org_couchdb_user/:_rev?/:revision?' +0ms
  express:router:layer new '/-/user/:org_couchdb_user/:_rev?/:revision?' +0ms
  express:router:route put '/-/user/:org_couchdb_user/:_rev?/:revision?' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/user/token/*' +0ms
  express:router:layer new '/-/user/token/*' +0ms
  express:router:route delete '/-/user/token/*' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/_session' +0ms
  express:router:layer new '/_session' +0ms
  express:router:route post '/_session' +0ms
  express:router:layer new '/' +0ms
  express:router:route post '/_session' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/:tag' +1ms
  express:router:layer new '/:package/:tag' +0ms
  express:router:route put '/:package/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/-/package/:package/dist-tags/:tag' +0ms
  express:router:route post '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route post '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route post '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/-/package/:package/dist-tags/:tag' +0ms
  express:router:route put '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +1ms
  express:router:route put '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/-/package/:package/dist-tags/:tag' +0ms
  express:router:route delete '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route delete '/-/package/:package/dist-tags/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/package/:package/dist-tags' +0ms
  express:router:layer new '/-/package/:package/dist-tags' +0ms
  express:router:route get '/-/package/:package/dist-tags' +0ms
  express:router:layer new '/' +0ms
  express:router:route get '/-/package/:package/dist-tags' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/package/:package/dist-tags' +0ms
  express:router:layer new '/-/package/:package/dist-tags' +0ms
  express:router:route post '/-/package/:package/dist-tags' +0ms
  express:router:layer new '/' +0ms
  express:router:route post '/-/package/:package/dist-tags' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/:_rev?/:revision?' +0ms
  express:router:layer new '/:package/:_rev?/:revision?' +0ms
  express:router:route put '/:package/:_rev?/:revision?' +1ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:_rev?/:revision?' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:_rev?/:revision?' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:_rev?/:revision?' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/-rev/*' +0ms
  express:router:layer new '/:package/-rev/*' +1ms
  express:router:route delete '/:package/-rev/*' +0ms
  express:router:layer new '/' +0ms
  express:router:route delete '/:package/-rev/*' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/-/:filename/-rev/:revision' +0ms
  express:router:layer new '/:package/-/:filename/-rev/:revision' +0ms
  express:router:route delete '/:package/-/:filename/-rev/:revision' +0ms
  express:router:layer new '/' +0ms
  express:router:route delete '/:package/-/:filename/-rev/:revision' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/-/:filename/*' +0ms
  express:router:layer new '/:package/-/:filename/*' +0ms
  express:router:route put '/:package/-/:filename/*' +0ms
  express:router:layer new '/' +2ms
  express:router:route put '/:package/-/:filename/*' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/-/:filename/*' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/:package/:version/-tag/:tag' +0ms
  express:router:layer new '/:package/:version/-tag/:tag' +0ms
  express:router:route put '/:package/:version/-tag/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:version/-tag/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:version/-tag/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route put '/:package/:version/-tag/:tag' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/ping' +0ms
  express:router:layer new '/-/ping' +0ms
  express:router:route get '/-/ping' +0ms
  express:router:layer new '/' +1ms
  express:router use '/' router +0ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +2ms
  express:router:layer new '/' +0ms
  express:router use '/' securityIframe +1ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/static/:filename' +0ms
  express:router:layer new '/-/static/:filename' +0ms
  express:router:route get '/-/static/:filename' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/-/verdaccio/logo' +0ms
  express:router:layer new '/-/verdaccio/logo' +0ms
  express:router:route get '/-/verdaccio/logo' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/' +0ms
  express:router:layer new '/' +0ms
  express:router:route get '/' +0ms
  express:router:layer new '/' +0ms
  express:router use '/' router +0ms
  express:router:layer new '/' +0ms
  express:router use '/' urlencodedParser +3ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +0ms
  express:router:layer new '/' +0ms
  express:router use '/' securityIframe +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/packages' +0ms
  express:router:layer new '/packages' +0ms
  express:router:route get '/packages' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/package/readme/(@:scope/)?:package/:version?' +0ms
  express:router:layer new '/package/readme/(@:scope/)?:package/:version?' +0ms
  express:router:route get '/package/readme/(@:scope/)?:package/:version?' +0ms
  express:router:layer new '/' +0ms
  express:router:route get '/package/readme/(@:scope/)?:package/:version?' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/sidebar/(@:scope/)?:package' +0ms
  express:router:layer new '/sidebar/(@:scope/)?:package' +0ms
  express:router:route get '/sidebar/(@:scope/)?:package' +1ms
  express:router:layer new '/' +0ms
  express:router:route new '/search/:anything' +0ms
  express:router:layer new '/search/:anything' +0ms
  express:router:route get '/search/:anything' +0ms
  express:router:layer new '/' +0ms
  express:router:route new '/login' +0ms
  express:router:layer new '/login' +0ms
  express:router:route post '/login' +0ms
  express:router:layer new '/' +0ms
  express:router use '/-/verdaccio/' router +0ms
  express:router:layer new '/-/verdaccio/' +0ms
  express:router:route new '/*' +0ms
  express:router:layer new '/*' +0ms
  express:router:route get '/*' +0ms
  express:router:layer new '/' +0ms
  express:router use '/' <anonymous> +1ms
  express:router:layer new '/' +0ms
  express:router use '/' final +0ms
  express:router:layer new '/' +0ms
 warn --- http address - http://localhost:4873/ - verdaccio/3.8.1
 fatal--- cannot create server: listen EADDRINUSE <IP_ADDRESS>:4873

$ npm -ddd prints:

in pc client exec command
>npm ddd
npm info it worked if it ends with ok
npm verb cli [ 'C:\\zznsoftware\\12_nodejs\\node.exe',
npm verb cli   'C:\\zznsoftware\\12_nodejs\\node_modules\\npm\\bin\\npm-cli.js',

npm verb cli   '-ddd' ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>
Usage: npm <command>

where <command> is one of:
    access, adduser, bin, bugs, c, cache, completion, config,
    ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
    explore, get, help, help-search, i, init, install,
    install-test, it, link, list, ln, login, logout, ls,
    outdated, owner, pack, ping, prefix, profile, prune,
    publish, rb, rebuild, repo, restart, root, run, run-script,
    s, se, search, set, shrinkwrap, star, stars, start, stop, t,
    team, test, token, tst, un, uninstall, unpublish, unstar,
    up, update, v, version, view, whoami

npm <command> -h     quick help on <command>
npm -l           display full usage info
npm help <term>  search for help on <term>
npm help npm     involved overview

Specify configs in the ini-formatted file:
    C:\Users\admin\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

<EMAIL_ADDRESS>C:\zznsoftware\11_nvm\nvm\v8.10.0\node_modules\npm

$ npm config get registry prints:

in pc client exec command
>npm config get registry
http://<IP_ADDRESS>:4873/

This is 4.x stuff 👍  .. the good thing is we have more beta testers :octocat:
security:
  api:
    jwt:
      sign:
        expiresIn: 60d
        notBefore: 1
  web:
    sign:
      expiresIn: 7d

Hi @GreenMashimaro we just fixed, please try when finish to build the image. Feel free to close the ticket if you are happy with the result 👍
https://hub.docker.com/r/verdaccio/verdaccio/builds/


design a Distributed Exchange

When we talk about colored coins, it would be nice to be able to trade them. If we make a distributed exchange, the trade would be more tamper proof and and less change to fail.

Seems like we might start assigning this to a milestone (soon), @robvanmieghem, given that @despiegk wants to have this ready as part of: https://docs.google.com/document/d/10Cm0LqWtRY49TsIpUiVAVkDsOPGdRr_YftlR4i_FeeY


update README: more emphasis on not updating build.gradle

I think it's good to put more emphasis on not adding 'com.android.billingclient:billing' to your own app's build.gradle. The reason is that the documentation that is referenced earlier in the README explicitly instructs you to include the line in your build.gradle. If you miss this line telling you not to add it, you will have quite some trouble, especially since the package gives no error message at all when this goes wrong. The app just stops loading the InAppPurchase instance without any error message. Took me quite some time to debug!
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the relevant style guides and ran the auto-formatter. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[ ] I signed the CLA.
[ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@googlebot I signed it!

@mvanbeusekom @cyanglaz Thoughts on this change? It's not clear to me that changing one word here will actually make this more noticeable, and it seems odd to start with "Important", but then have the text say, "it is not necessary" (which sounds very optional, not important).

[ ]  I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ]  I updated CHANGELOG.md to add a description of the change.

These steps are missing; please see the FAQ in the first link.

especially since the package gives no error message at all when this goes wrong. The app just stops loading the InAppPurchase instance without any error message.

I agree this is troublesome, but I don't think change one word in README would make much a difference.
I think the right fix is to somehow expose some error message for easier debugging.
If you could open a new issue and describe the steps to reproduce with plugin version that you used (or your pubspec.lock). (for example, which play billing library version you added to your app, which features are not working.), that'd be great. Then we can try to reproduce and figure out if it is easy to just expose some error message.

Created an issue for it: Issue #90666


Upgrade to get the example working with latest (0.14)

I would like try out making a todo item component, but for the time being this demonstrates the new User vs. the old Renderer.

Looking forward to merge this, I just want to try it out first :+1:


Warning BA failed

The bundle adjustment is failing and throwing the following exception:

Anyone have similar experience? I did not change any of the internals and dpvo setup built successfully. Any help or insight is much appreciated. Thank you!

From the function signature, it looks like the dpvo binaries were installed from a previous version of the code.
Try: pip uninstall dpvo && pip install .

I did that but I seem to be facing the same error. Is there a way for me to determine if I have installed the latest dpvo?

If the latest c++/cuda kernels are installed, the function signature you see when running >>> import torch; import cuda_ba; help(cuda_ba.forward) should be:
forward(...) method of builtins.PyCapsule instance
    forward(arg0: torch.Tensor, arg1: torch.Tensor, arg2: torch.Tensor, arg3: torch.Tensor, arg4: torch.Tensor, arg5: torch.Tensor, arg6: torch.Tensor, arg7: torch.Tensor, arg8: torch.Tensor, arg9: int, arg10: int, arg11: int, arg12: int, arg13: bool) -> List[torch.Tensor]

which matches the function signature:
https://github.com/princeton-vl/DPVO/blob/859bbbfdac6c6185f345003b3c473901fcd13ace/dpvo/fastba/ba.cpp#L32
Maybe delete the build/ folder and .egg files before reinstalling if you haven't tried that.

I see I see, thank you so much. I managed to resolve it by recreating a new environment and reinstalling the repo.


A package manager and module system for Filament

A key part of a language ecosystem is a well thought out package manager and module system so let's build one for Filament! There is a couple of key challenges with designing something like this for Filament:

Supporting hardware generators. For example, it should be possible for someone to write a hardware generator in Chisel and provide a command line invocation to generate the corresponding Verilog file for a given Filament extern. We should figure out exactly what the interface is here but I'm hopeful that something like "consume Filament signatures and generate verilog files" would be a good first pass.
Supporting Black box IP. We should support things like Xilinx's LogiCORE IP generator. Again, it is a similar problem to hardware generator but the problem is that we don't get access to Verilog files anymore. We need to be tied to a particular compilation flow (Xilinx vs Synopsys) and the Verilog is only visible during synthesis.
Downloading packages. It's too early for us to build a package repository. I suggest we take a note from cargo and allow people to point us to particular github repository or even commits to grab a particular file that implements desired modules. We should probably disallow arbitrary file downloads for safety reasons.

Module System
The space of module systems is vast and complicated. I suggest we start with something simple and extensible like Rust's module and namespacing scheme. We should have the ability to describe private and public components and referring to them using the :: syntax.
@sampsyo's writeup on modules for Calyx is a good starting point for other ideas. Specifically, take a look at the "related work" links which mentions verilog package managers: https://github.com/cucapra/calyx/discussions/419

FuseSoC provides a way to call generators. This is not quite want we want since it refers to a static configuration. We should ideally be able to compile a Filament program and extract all of the desired module. Then we can generate configurations like this for FuseSoC to do its own thing and link the Verilog together.

The DefinitelyTyped repository from the TypeScript ecosystem is a good example of a "shims" package manager. The idea is that someone else is in-charge of actually implementing the Verilog (JavaScript in their case) and we are responsible for providing types for the modules.
Unlike Filament, TypeScript makes it very easy to call arbitrary JavaScript functions. I'm not sure if we want to allow this but something to consider.

This would be fun to brainstorm about in more detail. One thing I'd be particularly interested in considering is what should be Filament-specific vs. what should be more general and happen at a lower level (e.g., Calyx or FuseSoC for RTL). For example, it seems clear that the concept of a "module" and the namespace resolution features within it need to be Filament-specific. But there may be a more general notion about this "metaprogrammed packaging and distribution" that is relevant beyond Filament and might benefit from including other stuff with a similar flavor. For instance, when Filament wants to do whole-program parameter tuning, it definitely needs to see all the Filament code for the whole project. But if it only wants to tune some things and obtain other things as "black box" results of generation from parameters, then maybe those deserve a more general distribution format.
I know it seems crazy, but I kinda think doing a slam-dunk job on this sort of thing could very quickly turn into a full-fledged research project of its own…


GitHub Actions - misc updates, test Ruby 2.2 thru 3.0

Description

eregon/use-ruby-action has been replaced with ruby/setup-ruby
Update to install bundler and cache 'bundle install' gems
Test Ruby 2.2 thru 3.0, exclude Windows 2.2 & 2.3 (old build tools)
Remove OS 'latest', replace with numeric
Add 'workflow_dispatch', which allows owners/maintainers to run CI on a specific branch.

[x] I have read the Contributing Guide.
[x] The pull request is complete (implemented / written).
[x] Git commits have been cleaned up (squash WIP / revert commits).
[ ] I wrote tests and ran bundle exec rake locally (if code is attached to PR).

Coverage remained the same at 93.414% when pulling 5769398fe300fab6806d57373e1c2842a07f2caf on MSP-Greg:actions into b589fa0dc0a21f3304da949dc418e0dc0032182b on lsegal:main.


Rename part to fragment

Codecov Report

Merging #87 (23cf75c) into master (05240e4) will increase coverage by 0.71%.
The diff coverage is 99.19%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   94.65%   95.36%   +0.71%
==========================================
  Files           5        5
  Lines         692      712      +20
==========================================
+ Hits          655      679      +24
+ Misses         37       33       -4

Impacted Files
Coverage Δ

src/fountain.rs
92.70% <99.10%> (+1.39%)
:arrow_up:

src/ur.rs
97.87% <100.00%> (ø)

Continue to review full report at Codecov.

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

Closing upon closer inspection of https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md#terminology


Add missing docs for v19.23

I noticed that the YOLO and Barlow Twins losses were missing from the index, so I added them. I hope I did it right.
Why are some losses in ml.html, while others are under dlib/dnn/loss_abstract.h.html?

Sweet, thanks.

It's live on dlib.net now too :D


Added cis.txt for ASU CIS domain for the faculty of Computer and Info…

faculty of Computer and Information Science, Ain Shams University
university official website URL: https://ums.asu.edu.eg/App?redirectUrl=https%3A%2F%2Fums.asu.edu.eg%2FUserInformation%2FCurrentCourse
URL of the official college website page: https://elearning.cis.asu.edu.eg/undergraduate/?redirect=0

@Kyrillos-Waheed I am sorry, the domain cis.asu.edu.eg is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).