send() failed (32: Broken pipe) when performing HTTP POST to Immich

When running Immich (https://github.com/immich-app/immich) behind NPM(plus) and enabling Crowdsec/Appsec, it is not possible to upload files to the server via HTTP POST:
2024-09-27T11:33:13.859502771Z 2024/09/27 13:33:13 [error] 32855#32855: *10529 send() failed (32: Broken pipe), client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

2024-09-27T11:33:13.859545312Z 2024/09/27 13:33:13 [error] 32855#32855: *10529 [lua] crowdsec.lua:578: AppSecCheck(): Fallback because of err: broken pipe, client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

2024-09-27T11:33:13.859553917Z 2024/09/27 13:33:13 [error] 32855#32855: *10529 [lua] crowdsec.lua:651: Allow(): AppSec check: broken pipe, client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

2024-09-27T11:33:13.859564759Z 2024/09/27 13:33:13 [alert] 32855#32855: *10529 [lua] crowdsec.lua:718: Allow(): [Crowdsec] denied 'MY_IPADDRESS' with 'ban' (by appsec), client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

The issue was initially reported at https://github.com/ZoeyVid/NPMplus/discussions/1123.

When running Immich (https://github.com/immich-app/immich) behind NPM(plus) and enabling Crowdsec/Appsec, it is not possible to upload files to the server via HTTP POST:
2024-09-27T11:33:13.859502771Z 2024/09/27 13:33:13 [error] 32855#32855: *10529 send() failed (32: Broken pipe), client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

2024-09-27T11:33:13.859545312Z 2024/09/27 13:33:13 [error] 32855#32855: *10529 [lua] crowdsec.lua:578: AppSecCheck(): Fallback because of err: broken pipe, client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

2024-09-27T11:33:13.859553917Z 2024/09/27 13:33:13 [error] 32855#32855: *10529 [lua] crowdsec.lua:651: Allow(): AppSec check: broken pipe, client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

2024-09-27T11:33:13.859564759Z 2024/09/27 13:33:13 [alert] 32855#32855: *10529 [lua] crowdsec.lua:718: Allow(): [Crowdsec] denied 'MY_IPADDRESS' with 'ban' (by appsec), client: MY_IPADDRESS, server: immich.mydomain.org, request: "POST /api/assets HTTP/1.1", host: "immich.mydomain.org"

The issue was initially reported at ZoeyVid/NPMplus#1123.

Hey 👋🏻
I have setup a similar setup environment and don't see to be experiencing the same issue. I am uploading a 3mb file as per your reddit thread I dont see any errors.
Is CrowdSec / AppSec running locally to NPMPlus?
Could you provide the full nginx configuration that is generated by NPMplus as I am using nginx (since its the same code I dont want to spend time configuring NPMPlus since its the same lua code)

server {
server_name _;

listen *:80;

# allow large file uploads
client_max_body_size 50000M;

# Set headers
proxy_set_header Host              $http_host;
proxy_set_header X-Real-IP         $remote_addr;
proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

# enable websockets: http://nginx.org/en/docs/http/websocket.html
proxy_http_version 1.1;
proxy_set_header   Upgrade    $http_upgrade;
proxy_set_header   Connection "upgrade";
proxy_redirect     off;

# set timeout
proxy_read_timeout 600s;
proxy_send_timeout 600s;
send_timeout       600s;

location / {
proxy_pass http://<IP_ADDRESS>:2283;
}
}

everything seems to be getting processed:
root@bookworm:/etc/nginx/sites-enabled# cscli metrics show appsec
Appsec Metrics:
╭─────────────────┬───────────┬─────────╮
│ Appsec Engine   │ Processed │ Blocked │
├─────────────────┼───────────┼─────────┤
│ <IP_ADDRESS>:7422/ │ 296       │ -       │
╰─────────────────┴───────────┴─────────

Is CrowdSec / AppSec running locally to NPMPlus (on same host to reduce latency)?

Yup, both Crowdsec and NPMPlus are running in docker containers on the same host. Part of the same docker-compose:
services:
  npmplus:
    container_name: npmplus
    image: zoeyvid/npmplus:latest
    restart: always
    network_mode: host
    volumes:
      - "/opt/npm:/data"
    environment:
      - "TZ=Europe/Brussels"
      - "NGINX_LOG_NOT_FOUND=true"
      - "LOGROTATE=true"
      - "LOGROTATIONS=7"
      - "GOA=true"

  crowdsec:
    container_name: crowdsec
    image: crowdsecurity/crowdsec:latest
    restart: always
    network_mode: bridge
    ports:
      - "<IP_ADDRESS>:7422:7422"
      - "<IP_ADDRESS>:8080:8080"
    environment:
      - "TZ=Europe/Brussels"
      - "COLLECTIONS=ZoeyVid/npmplus"
      - "LEVEL_FATAL=true"
      - "LEVEL_ERROR=true"
      - "LEVEL_WARN=true"
      - "LEVEL_INFO=false"
      - "LEVEL_DEBUG=false"
      - "LEVEL_TRACE=false"
    volumes:
      - "/opt/crowdsec/conf:/etc/crowdsec"
      - "/opt/crowdsec/data:/var/lib/crowdsec/data"
      - "/opt/npm/nginx:/opt/npm/nginx:ro"
      - "/var/run/docker.sock:/var/run/docker.sock:ro"

  geoipupdate:
    container_name: geoipupdate
    image: maxmindinc/geoipupdate:latest
    restart: always
    network_mode: bridge
    environment:
      - "TZ=Europe/Brussels"
      - "GEOIPUPDATE_EDITION_IDS=GeoLite2-Country GeoLite2-City GeoLite2-ASN"
      - "GEOIPUPDATE_ACCOUNT_ID=my_account_id"
      - "GEOIPUPDATE_LICENSE_KEY=my_license_key"
      - "GEOIPUPDATE_FREQUENCY=24"
    volumes:
      - "/opt/npm/etc/goaccess/geoip:/usr/share/GeoIP"

Immich is running on the same host as well, as a docker container. The config for that one is very standard with little to no customization.
My proxy config in NPMPlus looks like this:

Nothing in custom locations, and a regular certbot certificate to force enable HTTPS.
My crowdsec.conf file is this:
ENABLED=true
API_URL=http://<IP_ADDRESS>:8080
API_KEY=my_API_key
CACHE_EXPIRATION=1
# bounce for all type of remediation that the bouncer can receive from the local API
BOUNCING_ON_TYPE=ban
FALLBACK_REMEDIATION=ban
REQUEST_TIMEOUT=3000
UPDATE_FREQUENCY=10
# live or stream
MODE=live
# exclude the bouncing on those location
EXCLUDE_LOCATION=
#those apply for "ban" action
# /!\ REDIRECT_LOCATION and RET_CODE can't be used together. REDIRECT_LOCATION take priority over RET_CODE
BAN_TEMPLATE_PATH=/data/etc/crowdsec/ban.html
REDIRECT_LOCATION=
RET_CODE=
#those apply for "captcha" action
#valid providers are recaptcha, hcaptcha, turnstile
CAPTCHA_PROVIDER=
# Captcha Secret Key
SECRET_KEY=
# Captcha Site key
SITE_KEY=
CAPTCHA_TEMPLATE_PATH=/data/etc/crowdsec/captcha.html
CAPTCHA_EXPIRATION=3600
#APPSEC_URL=http://<IP_ADDRESS>:7422
#APPSEC_FAILURE_ACTION=deny

The two bottom lines are currently commented out to make it work. If I uncomment them, it breaks with the broken pipe error message when uploading anything.

To hopefully contribute, I started discussion 1241 that @Zoey2936 linked above. It was suggested I post here answering the below questions so here we go:
Is the deployment local or remote (VPS)? Local
Is the domain being proxied by a CDN like cloudflare? For full transparency I do use a Cloudflare tunnel, but only for external connections. The tunnel isn't involved while on the LAN.
Does it happen on upload like the OP or when you said when immich makes a backup? I am the OP in that thread. I believe the single image upload and backup feature are basically the same thing using the same endpoint. The backup feature just does it automatically and in batches.
This is what happens when I attempt to upload (or backup) a single photo:
2024/11/19 17:20:06 [warn] 80110#80110: *51203 a client request body is buffered to a temporary file /usr/local/nginx/client_body_temp/0000000050 while reading request body, client: <IP_ADDRESS>, server: immich.example.com, request: "POST /api/assets HTTP/1.1", host: "immich.example.com"
2024/11/19 17:20:06 [error] 80110#80110: *51203 send() failed (32: Broken pipe), client: <IP_ADDRESS>, server: immich.example.com, request: "POST /api/assets HTTP/1.1", host: "immich.example.com"
2024/11/19 17:20:06 [error] 80110#80110: *51203 [lua] crowdsec.lua:578: AppSecCheck(): Fallback because of err: broken pipe, client: <IP_ADDRESS>, server: immich.example.com, request: "POST /api/assets HTTP/1.1", host: "immich.example.com"
2024/11/19 17:20:06 [error] 80110#80110: *51203 [lua] crowdsec.lua:651: Allow(): AppSec check: broken pipe, client: <IP_ADDRESS>, server: immich.example.com, request: "POST /api/assets HTTP/1.1", host: "immich.example.com"
2024/11/19 17:20:06 [alert] 80110#80110: *51203 [lua] crowdsec.lua:718: Allow(): [Crowdsec] denied '<IP_ADDRESS>' with 'ban' (by appsec), client: <IP_ADDRESS>, server: immich.example.com, request: "POST /api/assets HTTP/1.1", host: "immich.example.com"

(Domain name changed for privacy and yes, I use a non-typical subnet)
Disabling Appsec fixes the issue, albeit with the trade off of reduced security.
Thanks.

Hey,
Do you know how big is the body of the request when you get this error ?
Currently, the appsec will try to process any body it sees, regardless of the size, which will lead to issues (also tracked here: https://github.com/crowdsecurity/lua-cs-bouncer/issues/71).
I haven't performed any real tests to see where the actual limit is currently, but I guess anything over a few hundred MBs will trigger this error.
Once https://github.com/crowdsecurity/lua-cs-bouncer/pull/80 is merged (it includes a large refactoring of the code, so we have to wait for it), we plan to add additional configuration on how to handle large bodies (allow to set a maximum body size and whether to drop the request or just analyze the headers when it's over the limit)

I just met this issue today with my own Ghost blog post editing. appsec will block me from time to time as I was editing posts. No solution found yet but fortunately saw this issue

Do you know how big is the body of the request when you get this error ?

The photos are a couple of MB each and it does one request per photo, so definitely not in the few hundred MB territory.

Having the same issue.
I'm using nginxproxymanager with crowdsec_openresty_bouncer and appsec.

Issue happens even when inside the LAN, so no cloudflare on anything else involved.
Appsec is, in theory, setup properly and running fine:
curl -I -X POST localhost:7422/ -i -H 'x-crowdsec-appsec-api-key: {redacted}' -H 'x-crowdsec-appsec-ip: <IP_ADDRESS>' -H 'x-crowdsec-appsec-uri: /test' -H 'x-crowdsec-appsec-host: test.com' -H 'x-crowdsec-appsec-verb: GET'
HTTP/1.1 200 OK
Date: Tue, 03 Dec 2024 23:04:30 GMT
Content-Length: 36
Content-Type: text/plain; charset=utf-8

what could be causing the broken pipe between the appsec and the proxy? (They are on the same docker network)


🐛 Bug Report: ERROR 404: PAGE NOT FOUND  Looks like someone dropped the mic!

📜 Description
Hello,
Hope you are doing well.
I am trying to take ownership of a table but i received "ERROR 404: PAGE NOT FOUND Looks like someone dropped the mic!"
Can you please help me to fix this issue?
Thank you in advance.
Kind regards,
Nita
👍 Expected behavior
It should be able to transfer the ownertship of the table
👎 Actual Behavior with Screenshots

👟 Reproduction steps
https://bstage.prod.booking.com/notifications/team?orgunit_id=60001233
Click on notification:
action approve/ reject --> approved
📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi! Did you mean to report this internally?

yes, i am sorry it is the first time for me to open a ticket.
I guessed i made a mistake on this ticket?

The thing is, you should probably not be on https://github.com/backstage/backstage at all. I expect you have some internal bug tracker of sorts. Reach out to the team that owns Backstage at your company for guidance.


Added Tree sorting

@ReciHub I added sorting using BST.

@ReciHub please have look and consider to be merged

Thank you for your contributions! Please check the comments and make necessary changes!

Thank you for your contribution @CodeXstalker


refactor #92 to work without mutation

What it does and why:
this is a possible alternate way to approach https://github.com/Shopify/shopify_transporter/pull/92 that (IMO) is more ruby-ic
Demo
Before:

After:

^ demo images courtesy of Ziyan
Checklist:

[x] Testing & QA: Passes tests and linting.
[ ] :tophat:: I have manually tested these changes.

Related issues:
Closes:
https://github.com/Shopify/shopify_transporter/issues/91

looks like it can be done in the convert step. i think both #92 and #93 should be closed.
cc @zliu1020

Looks like we can do this in the convert step.


Firefox-Developer-Edition-bin (Version: 90.0b6): wrong wmclass & icon + add option to launch in Private Window

Describe the bug
Firefox Developer Edition using the wrong wmclass (firefox) which is causing the browser to use Firefox stable icon rather than the official Firefox DevEdition icon (Gnome).
Also there happens to be a missing common launch option, "Open a New Private Window", for Firefox developer edition, not certain if the same applies to the other variants provided in this repository.
To Reproduce
Steps to reproduce the behavior:

Add firefox-devedition-bin to configuration.nix.
sudo nixos-rebuild switch
Reboot.
Launch Firefox and observe the icon behaviour.
alt+F2 -> run command lg -> windows tab.
Right-click on Firefox DevEdition icon from Application Launcher and notice the missing option.

Expected behavior

Firefox Developer Edition using the correct wmclass and using the correct Firefox Developer Edition icon.
An alternative launch option, "Open a New Private Window", to prevent restoring the several windows waiting to be launched while being able to browse freely.

Screenshots

Alternative launch option:

Additional context
@jtojnar was able to find a solution which had been implemented in the past to resolve a similar issue for the Pale Moon browser.
Notify maintainers

Since you are the last two people who have pushed forward the recent updates for Firefox DevEdition I've chosen to ping you, @adisbladis & @FlorianFranzen, to hopefully resolve the issue.
Metadata
❯ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/lp90qhw19dcp79cnlicjg09llgh7dzsz-bash-interactive-4.4-p23-dev
copying path '/nix/store/lp90qhw19dcp79cnlicjg09llgh7dzsz-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.12.11-xanmod1-cacule, NixOS, 21.11pre296557.33d42ad7cf2 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210601_5985b8b`
 - channels(sirius): `""`
 - channels(root): `"home-manager, nixos-21.11pre296557.33d42ad7cf2"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I think I'm having this issue too: for me my NixOS install doesn't have Firefox installed, so I'm left with no icon.


Axios sends an OPTIONS (http code-204) request before/ after every get request.

Summary
Hi I am using axios with react, and I am facing a strange issue. After every get request, the axios library makes a 204 request. Is it supposed to be this way, or am I doing something incorrectly ?  Please take a look at CORS.


Azure Functions V2.0 with EntityFramework Core unable to create migration

From @JoasE on February 12, 2019 8:53
Steps to reproduce

Create a new Azure Functions V2.0 project in visual studio
Install:

Microsoft.EntityFrameworkCore v2.2.1
Microsoft.EntityFrameworkCore.Design v2.2.1
Microsoft.EntityFrameworkCore.SqlServer v2.2.1

Add a model to the project (EG: User)
Add a DbContext to the project and include a DbSet<User>
Open the project in your favorite CLI.
Type: dotnet ef migrations add Initial --verbose

Repro repo: https://github.com/JoasE/ReproDotnetEFError
Expected  behavior
A migration is created.
Actual behavior
>dotnet ef migrations add Initial --verbose
Using project 'C:\Users\Joas\source\repos\TestApp\TestApp\TestApp.csproj'.
Using startup project 'C:\Users\Joas\source\repos\TestApp\TestApp\TestApp.csproj'.
Writing 'C:\Users\Joas\source\repos\TestApp\TestApp\obj\TestApp.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=C:\Users\Joas\AppData\Local\Temp\tmpE710.tmp /verbosity:quiet /nologo C:\Users\Joas\source\repos\TestApp\TestApp\TestApp.csproj
Writing 'C:\Users\Joas\source\repos\TestApp\TestApp\obj\TestApp.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=C:\Users\Joas\AppData\Local\Temp\tmpEABA.tmp /verbosity:quiet /nologo C:\Users\Joas\source\repos\TestApp\TestApp\TestApp.csproj
dotnet build C:\Users\Joas\source\repos\TestApp\TestApp\TestApp.csproj /verbosity:quiet /nologo

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.14
dotnet exec --depsfile C:\Users\Joas\source\repos\TestApp\TestApp\bin\Debug\netcoreapp2.1\TestApp.deps.json --additionalprobingpath C:\Users\Joas\.nuget\packages --additionalprobingpath "C:\Program Files\dotnet\sdk\NuGetFallbackFolder" --runtimeconfig C:\Users\Joas\source\repos\TestApp\TestApp\bin\Debug\netcoreapp2.1\TestApp.runtimeconfig.json "C:\Program Files\dotnet\sdk\2.2.103\DotnetTools\dotnet-ef\2.2.1\tools\netcoreapp2.2\any\tools\netcoreapp2.0\any\ef.dll" migrations add Initial --assembly C:\Users\Joas\source\repos\TestApp\TestApp\bin\Debug\netcoreapp2.1\TestApp.dll --startup-assembly C:\Users\Joas\source\repos\TestApp\TestApp\bin\Debug\netcoreapp2.1\TestApp.dll --project-dir C:\Users\Joas\source\repos\TestApp\TestApp\ --language C# --working-dir C:\Users\Joas\source\repos\TestApp\TestApp --verbose --root-namespace TestApp
Error:
  An assembly specified in the application dependencies manifest (TestApp.deps.json) was not found:
    package: 'TestApp', version: '1.0.0'
    path: 'TestApp.dll'

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   2.2.103
 Commit:    8edbc2570a

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17134
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.2.103\

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

.NET Core SDKs installed:
  2.1.4 [C:\Program Files\dotnet\sdk]
  2.1.102 [C:\Program Files\dotnet\sdk]
  2.1.103 [C:\Program Files\dotnet\sdk]
  2.1.104 [C:\Program Files\dotnet\sdk]
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.400 [C:\Program Files\dotnet\sdk]
  2.1.401 [C:\Program Files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]
  2.1.503 [C:\Program Files\dotnet\sdk]
  2.2.103 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3-servicing-26724-03 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Copied from original issue: dotnet/cli#10751

Moving to EF for initial investigation. It seems the tool was invoked correctly from the logs above.

Temporary workaround for anyone running into this issue until it is fixed

Create a separate class library project in your solution targeting netcoreapp2.1.
Install the nuget packages in the reproduce steps above in the class library project you just created instead of the Azure Functions project.
Create your models and DbContext in the class library project aswell.
Create a IDesignTimeDbContextFactory in the class library project. (see: https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dbcontext-creation)
Reference the class library project from your Azure Functions project.
Run the dotnet ef migrations add command from within the class library project or use the --project argument to specify the class library's .csproj file.

Duplicate of #14084

Is anyone (@ajcvickers perhaps) aware of an open issue page where I can follow this issue (specifically concerning the '.deps.json' error) or of the official solution? Also, I'm sorry if there is something that I overlooked. I don't mean to waste anyone's time. Please assist and thank you ahead of time. :)
My current status
The issue

I receive a 'deps.json' error when I try to scaffold.
I tried creating the models and context manually then tried adding a migration and received the same error.
I tried it on Visual Studio 2017 with v2.1 and 2.2 of .Net Core. My EF project is in a different library; adding that in because it was a suggested work-around on another issue page.
I tried older versions and the most current versions (2.2.4 at the time of writing) of Microsoft.EntityFrameworkCore, Microsoft.EntityFrameworkCore.Design, and Microsoft.EntityFrameworkCore.SqlServer.
I even tried it, for what it's worth anyway, in the newly released VS 2019 and got the same error.

Research
All of the Github articles I can find about this issue (specifically concerning the '.deps.json' error), or at least those that are referenced in other articles, including this one, are closed and I didn't notice a solution, just that they were merged into something else. For example:

https://github.com/dotnet/core-setup/issues/3965
https://github.com/aspnet/EntityFrameworkCore/issues/14084
https://github.com/aspnet/EntityFrameworkCore/issues/14679
https://github.com/dotnet/cli/issues/10751

I noticed that a couple more issues pages are referenced as being replacements for possible duplicates. I read those and they are similar or may be where this issue stems from, but I didn't notice a reference to this specific error in either:

https://github.com/Azure/azure-functions-host/issues/2408
https://github.com/Azure/azure-functions-host/issues/2366

@tjorxwrynch As far as I am aware, the last two Azure Functions issues are the best place to follow up on this.

@tjorxwrynch As far as I am aware, the last two Azure Functions issues are the best place to follow up on this.

Thank you @ajcvickers!

Yes! I am getting this error as well tried EFcore 2.0.0 and latest 2.2.4 . This is offcourse trying to create an azure function, as a standalone console or app it works fine (well in 2.2.4 not testing in 2.0.0) .
Please help microsoft, has any one tried version 3?

I have used this workaround and now I get numerous "dbset is defined in an assembly that is not referenced" errors in the AzureFunction project. So that leads you down another rabbit hole of issues, and another, until you just give up.

There reason for this error that Azure function does some organising to build artefacts with certain structure and it moves dlls to subdirectory different to the project.dll.
To fix that you need to add PostBuildEvent as following:

<Target Name="PostBuild" AfterTargets="PostBuildEvent"  Condition="'$(OS)' == 'Windows_NT' ">
    <Exec Command="copy /Y "$(TargetDir)bin\*.dll" "$(TargetDir)*.dll"
" />
  </Target>


Bone app

[FEA] Bone Segmentation App #198
First version of CT bone segmentation algorithm.

Please run auto style fixes: ./run check --autofix
BTW, expanding the details of the build/test to see the failures, and also checking the version of the checkers (a few) are the same in dev env; it happened to me that the out of sync versions caused to do quite a number of commit to correct the styling complaints.

Hi @shekhardw. So, I see that you are using [clcat] (https://pypi.org/project/clcat/). Initially I had no idea about clcat so good to see that there is a clara toolkit. So, I tried installing once
gupta@DIGI1036734:/data/Vikash/Tools/monai_deploy_new/monai-deploy-app-sdk/examples/apps/ct_bone_seg_app$ pip install clcat
Collecting clcat
  Downloading clcat-0.0.3-cp38-cp38-manylinux1_x86_64.whl (196 kB)
     |████████████████████████████████| 196 kB 88 kB/s
Collecting patchelf
  Downloading patchelf-<IP_ADDRESS>-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.musllinux_1_1_x86_64.whl (326 kB)
     |████████████████████████████████| 326 kB 102 kB/s
Installing collected packages: patchelf, clcat
Successfully installed clcat-0.0.3 patchelf-<IP_ADDRESS>
gupta@DIGI1036734:/data/Vikash/Tools/monai_deploy_new/monai-deploy-app-sdk/examples/apps/ct_bone_seg_app$ ls

However, when I tried to install the same inside a conda environment, I cannot install it
ERROR: Could not find a version that satisfies the requirement clcat (from versions: none)
ERROR: No matching distribution found for clcat
(base) gupta@DIGI1036734:/data/Vikash/Tools/monai_deploy_new/monai-deploy-app-sdk/examples/apps/ct_bone_seg_app$

Can you please look into this.
In addition, I was wondering if the bone segmentation app should also be something like the spleen segmentation app.
Another question are the bone segmentation model embeded in clcat ?

@shekhardw Sounds good. If the clcat can be installed I can proceed with further testing. Let me know if you need more information to track down that error.

@shekhardw Do we have any updates on this? Specifically clcat ?

@vikashg This work is on hold due to other high priority items. @rahul-imaging can share his thoughts.

With all indications this PR would not be finalized. Closing it now.


Add interpolation

Delay by one frame and interpolate to the last frame to smooth network

Curiosity: Is this really needed? Wouldn't it be better to let clients interpolate?

This would be essentially client side interpolation , but embedded inside the receiver so the dev doesn't have to do anything (ideally). This would obviously be a toggle so each use case can pick their optimal setting.


Fix calls to require to not modify the global environment

This prevents issues with executing lua run.lua tests, which would not be able to find the pl module

Coverage decreased (-1.0%) to 80.677% when pulling b800c48fd8535d3fd6e083aae6e1d5a1b3b6ecd1 on urzds:fix/require into 97ab0408b8f06454e5b2b0dc9c408264ac54810b on stevedonovan:master.

The reduced coverage is fixed in #217 by directly testing import_into more extensively.

Thanks!


what should I do to make the characters sing in turn help Shadow Mario

What is your question?
what should I do to make the characters sing in turn help Shadow Mario I'm making a port of shaggy and matt and how do I make them sing in turn?

make Shaggy GF or something then use GF Sing notes for him idk figure stuff out by yourself too


Don't use actionbar and pass style manually

I need to style the crop activity with different colors depending on where I want to use it.
I suggest to remove the supportActionBar stuff completely and use a plain toolbar directly.
Then the colors etc for the theme could be passed directly through the builder.
If you like I can make a pull request for this.

but then you can support old APIs.
you can just create your own activity, it's not a lot of code

What about bumping to api 14? The support library you use right now is outdated and won't get any more fixes.

done, published 2.5.0

So a pull request would be accepted?

What will it include? You still can't use Toolbar directly...

Toolbar is part of the support library.

Sorry, I don't think I understand the change.
If you feel it's valuable to the users and doesn't break backward compatibility then I will accept the PR.


Wrong info fill to form when editing protected site

Actually:

We had Protected Site (A)
Open a new tab with Other Site (B)
In tab B, click edit Site A
When form display, the Site B info is filled into the form

Expect:
In this case, Site A info must be filled into the editing form.

This is fixed in commit 07b9948faa57b23fa8dd7e3004c381a6750c4b41


Cannot Copy and Paste

I like to copy and paste my code but godbolt only allows for uploading code from files. I cannot even upload a text file with my code in it.

Hi: there's an issue with the menus (#359) which we are awaiting an upstream fix for. In the short term you can use the keyboard shortcuts control-C and control-V to copy and paste code.
Can you elaborate on the "I cannot even upload a text file"? Have you tried the "Load from filesystem"? Click the floppy disc icon and then choose "File system".

Hi @MaeCon - did this solve your issue or are you still having trouble?

Using paste, gratuitous white space and extra braces are added.
Copy doesn't copy everything, it only copies a small part and adds an ellipsis.
So it's basically unusable.

Hi @tni - I've not seen this (and I use copy and paste an awful lot!) Can you put together a step-by-step reproduction for me, and also let me know which browser you're using. It certainly sounds unusable!

I'm using the current Firefox. It's actually caused by DOM clipboard events being disabled (abused by some web sites). If I enable them things work.
It was working pretty well with clipboard events disabled a few months ago.

Hi @tni - thanks for letting me know it was a DOM clipboard issue on your side. I obviously can't do much about that in general.
A few months ago we were using a different editor -- we have a bug filed to have a "simple UI" #443 - but I don't have any plans to roll back to the earlier editor. I'm still hoping (with fingers crossed!) that this was the right decision to make, as a number of features now rely on Monaco.

Latest Monaco (f88a92ea248d51d5ba79ac2f3cbfd975f61eddf1) should fix this I hope.


[Feature request] Fiat value in checkout

Please show fiat-value of preferred currency in checkout.
Most merchants but also users have set their wallets and online-shops to a fiat-currency and the UX breaks here. That mean you cannot check easily if the amount of sats charged is correct.
This goes especially for NFC payments, where you do not see the fiat-value again in your wallet before proceeding to pay.

Where is this fiat set, and is there a global variable we can tap to? Showing a fiat value is fairly straight forward, i just need to know what currency!
@dni @jackstar12 ?

Where is this fiat set, and is there a global variable we can tap to? Showing a fiat value is fairly straight forward, i just need to know what currency!

This currency would have to be set in the creation form, if I understood it correctly, and then used as an argument to create_invoice: https://github.com/lnbits/satspay/blob/ba0496e75cc623fae1c1f5237a20f6a68ae14e7c/crud.py#L31-L37

I thought that what was asked was to just display the value on the charge in fiat (@arbadacarbaYK ?)! not defining the charge in fiat terms, that's another beast, and can cause some issues if for example i have a charge that expires in 24h!
So there's a currency property on g.wallet? I can use that... Convert at mount and display the fiat value, if exists in the wallet!

If the charge is only onchain, that doesn't work! On setting fiat tracking, there could/should be a global variable with that currency! It would make things easier for using at extensions.

If the charge is only onchain, that doesn't work! On setting fiat tracking, there could/should be a global variable with that currency! It would make things easier for using at extensions.

Well, there is. this.g.wallet.currency if the current if ai remember correctly

I thought that what was asked was to just display the value on the charge in fiat (@arbadacarbaYK ?)! not defining the charge in fiat terms, that's another beast, and can cause some issues if for example i have a charge that expires in 24h!
So there's a currency property on g.wallet? I can use that... Convert at mount and display the fiat value, if exists in the wallet!

its was not just about displaying, also about storing in the csv - it belongs to
https://github.com/lnbits/lnbits/issues/1754#issuecomment-1597603884 and some others where alltoghetheri asked for a default national fiat currency and to have that possible to be overwritten in extensions and tored in the csv, tx-history and print-outs.
Because it has gotten so many unconnected PR i lost track.
https://github.com/lnbits/lnbits/pull/1852
and
https://github.com/lnbits/lnbits/pull/1789
and
https://github.com/lnbits/tpos/issues/20
and
https://github.com/lnbits/lnbits/pull/1852
and
https://github.com/lnbits/lnbits/pull/1756
and
https://github.com/lnbits/lnbits/pull/1813
and
https://github.com/lnbits/lnbits/pull/1869
and
https://github.com/lnbits/lnbits/issues/1909
and
https://github.com/lnbits/lnbits/issues/1666


Building for Android on Mac fails

Describe the bug
I built android version filament on a Mac host . using ninja
./build.sh -p android release
Screenshots

unfortunately, it always fail. Could we compile android version filament on a Mac host? thanks.

Hi, building Android on macos is supported (I use macos myself). This error happens because your version of CMake has a known bug. You need to upgrade CMake (I use CMake 3.13 and the bug doesn't happen). Make sure you have NDK 19 too.

Great! It works. Thanks a lot.


User effects

Provide algebraic user effects.

Agree. I would like to rename Xyz.Tk to XyzK. Then we have no more confusion when manipulating Tk.


Building with Kade Engine Instruction on Linux doesn't work!

If I want to compile the mod with Kade Engine Instructions I get the following error:
source/PlayState.hx:738: characters 18-28 : Type not found : FileSystem
source/PlayState.hx:785: characters 18-28 : Type not found : FileSystem
source/PlayState.hx:836: characters 18-28 : Type not found : FileSystem

Can you tell me what I'm doing wrong?
Can you give me build instructions?
Thanks!

delete those lines of code i think


[IRGen] Lowered de/alloc_pack.

Lowered to dynamic or static allocation of getPackElementSize() * count.

@swift-ci please test

@swift-ci please test


add ipfs-check blog post

I'm blocking publishing until we address https://github.com/ipfs/ipfs-check/issues/70

We deployed a fix to the issue I mentioned. So this is good to go.


Camera chime extender switch not working

The problem
When toggling the chime extender switch on a camera from home assistant, an error is returned rather than toggling the functionality. When toggling the chime extender switch from the Vivint app, the switch in home assistant does correctly reflect the change, it is only broken when toggling it from inside home assistant.
What version of Home Assistant Core are you running?
2023.11.2
What was the last working version of Home Assistant Core?
No response
Anything in the logs that might be useful?
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 1:11:00 PM (1 occurrences)
Last logged: 1:11:00 PM

[548132673984] <AioRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:<IP_ADDRESS>:443: Failed to connect to remote host: FD Shutdown" debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:<IP_ADDRESS>:443: Failed to connect to remote host: FD Shutdown {created_time:"2023-11-20T13:11:00.60188149-06:00", grpc_status:14}" >
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
    return await service.entity_service_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
    response_data = await _handle_entity_call(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/vivint/switch.py", line 143, in async_turn_on
    await self.entity_description.turn_on(self.device)
  File "/usr/local/lib/python3.11/site-packages/vivintpy/devices/camera.py", line 169, in set_as_doorbell_chime_extender
    await self.api.set_camera_as_doorbell_chime_extender(
  File "/usr/local/lib/python3.11/site-packages/vivintpy/vivintskyapi.py", line 191, in set_camera_as_doorbell_chime_extender
    response: beam_pb2.SetUseAsDoorbellChimeExtenderResponse = await stub.SetUseAsDoorbellChimeExtender(
                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/grpc/aio/_call.py", line 318, in __await__
    raise _create_rpc_error(
grpc.aio._call.AioRpcError: <AioRpcError of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:<IP_ADDRESS>:443: Failed to connect to remote host: FD Shutdown"
	debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:<IP_ADDRESS>:443: Failed to connect to remote host: FD Shutdown {created_time:"2023-11-20T13:11:00.60188149-06:00", grpc_status:14}"
>

Additional information
No response

This should be resolved in 2023.11.0

Just updated and tested, seems to be working great now! Thanks for the super fast fix!


Compression

Adds gzip compression to all SDS WaveForm samples. Also adds description to Readme files. Python requests module automatically handles compression internally, so also added a note to the SDS TimeSeries Python sample to indicate this.

Is there compression shown for Python?

Is there compression shown for Python?

It's mentioned here: https://github.com/osisoft/OSI-Samples-OCS/tree/compression/basic_samples/SDS/Python/SDSPy/Python3#establish-a-connection
Basically, the 'requests' Python module that we do automatically does compression under the hood by default, there's no action required.

I swear I read that area like 5times and somehow missed it... 👍


Show version of prettyhtml in the frontend

yep I was thinking the same thing but where? below the logo or in the about section? :D

I would say above the "editor" label with light grey out font or like this:

I added a basic version label beside the link in the help section for debugging purposes. Feel free to improve it.


SocketException in .NET Core App

Looks like any .net core app I run this in, I end up with:
Unhandled Exception: System.Net.Sockets.SocketException: Operation not supported
   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
   at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent)
   at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue)
   at System.Net.Sockets.Socket.set_DontFragment(Boolean value)
   at Harmony.DiscoveryService.BroadcastTo(String ipAddress)
   at Harmony.DiscoveryService.Broadcast()
   at Harmony.DiscoveryService.BroadcastContinually(CancellationToken token)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---

It works fine on a standard .NET console app.

It looks like your computer is having trouble setting the DontFragment property on a UDP socket. Commit 73e9de9b7614add27a80c4c7285e37cff1646095 should fix this.
See if installing the latest prerelease resolves your issue: Install-Package Harmony.NET -Version 0.1.1-beta.

Looks like maybe that commit didn't actually make it into 0.1.1-beta.  I just pulled the nupkg and inspected the dll and I still see the DontFragment being set:

That being said, I pulled down the source at that commit and that change does fix running in a .net core app.
If you could have a look at the release that would be great!  Appreciate the quick feedback :)

Alright, well I made sure to actually add the changes in 0.1.1 (decompiled to make sure!), and included the XML documentation comments in the latest version, 0.1.2, if you're interested.

Working great now, thanks!


Attachments should be forwarded when only latest retry is kept

Bug description
Since the #166 squash the list of test failures to only include the latest retry, this also means that unless attachments are created on the last retry they are lost.
It would be better to forward attachments, than losing them entirely - especially for tests that fails both on first attempt and any subsequent retries.
...
use: {
   screenshot: "only-on-failure"
}

(from what I can tell the screenshot is not retaken on retries (?) )
How to reproduce (please include a snippet of your Playwright Slack Reporter configuration)

Expected behavior
No response
Environment & setup

OS:
Node.js version:

playwright-slack-report version
    "playwright-slack-report": "1.1.86",

Are you sure you were previously getting the behaviour you desire? What you described is how playwright works out of the box. If you have the screenshot only on failure CLI option set, you will get a screenshot on the last retry. If a test fails, then passes later no screenshot will be taken.
Maybe you can make a feature request to playwright to request a new screenshot option. maybe something like screenshot: on-every-retry

I think you're right that this is with Playwright itself. I've since set the screenshot option to on to ensure that I have it. I think this issue can be closed, thanks for the reply 🙏


minor typo & grammar changes

reworked a few sentences

Invitation sent. Visit https://github.com/perl6 to accept it. You can then merge this PR yourself and commit fixes like this directly.

Note, however, that it seems like your commit left some trailing whitespace. It was fixed in https://github.com/perl6/doc/commit/5181c552639699b4494c8014d03fd7540ed273fa. I think you can use make xtest to detect these problems.

oops! Thanks


ERR_CONNECTION_REFUSED when trying to go to https://localhost:44316 (Step 5)

Hello,
During Step 5 of this article, an ERR_CONNECTION_REFUSED is received when going to https://localhost:44316 (using both Edge and Chrome). I did not see where in the documentation it called out this scenario, or if this was expected ?

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

ID: 714f2c6b-3bc4-9e14-7f0a-7b56d52ac1fa
Version Independent ID: 7a00b7d7-f46b-1aa3-f2ea-7fd0bcee3f95
Content: Configure authentication in a sample web application by using Azure Active Directory B2C
Content Source: articles/active-directory-b2c/configure-authentication-sample-web-app.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@bburgos928
Thanks for your feedback! We will investigate and update as appropriate.
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

Hi yes, of course (link below, Step 5):
https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-web-app?tabs=visual-studio#step-5-run-the-sample-web-app

@bburgos928
kindly go through below steps
Go to Settings->Additional->Network
please select Monitor selected ports only
and click on "Select" next to it and unchecked "Monitor all network ports for applications that are vulnerable to network attacks

Hi @ManoharLakkoju-MSFT , can you advise where I will need to complete the steps provided; Edge ? Chrome ? PC ? ... I have note been able to find those settings unfortunately. Pls advise.

Hi @bburgos928
Connection refused is often either a network issue I suggest you to clear the browser cache and cookies
The first step in any troubleshooting is to clear the browser cache/cookies.      (you need to clear ALL cookies)
For Internet Explorer browser & MSN Butterfly: Press CTRL+SHIFT+DEL simultaneously and click Delete
For Google Chrome: Press CTRL+SHIFT+DEL simultaneously and click Clear Browsing Data
For Firefox: Press CTRL+SHIFT+DEL simultaneously and click Clear Now

@ManoharLakkoju-MSFT , I cleared everything. Issue continues

@bburgos928
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


Implement functionality to collect pipeline metrics from Maven

Description
A decision has been reach to continue the development for the collection of pipeline metrics in Arnold, so the functionality developed in Maven will be implemented within Arnold.

resolved


Add support for SSH private keys with a passphrase when running a BBS migration

When performing a migration from Bitbucket Server, an SSH username and private key are required for connecting to the server and downloading the migration archive.
If your SSH private key is protected with a passphrase, an error is triggered and it is not possible to continue with your migration:
[16:26] [ERROR] Renci.SshNet.Common.SshPassPhraseNullOrEmptyException: Private key is encrypted but passphrase is empty.

We should add support for using private keys with a passphrase.

Can't users load their key into ssh-agent? Does this solution not work?

I don't believe that using an SSH agent is supported - my SSH agent didn't kick in - but that would, in my view, be a great way to fulfil the intent of this issue.


Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.execution.command.LeafRunnableCommand

use delta 1.1.0 on spark 3.1.1 Error
Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.execution.command.LeafRunnableCommand

Delta 1.1.0 requires Spark 3.2.*.

Delta 1.1.0 requires Spark 3.2.*.

Unfortunately, this did not solve it for me. I have installed delta==1.1.0 and pyspark==3.2.0 in a virtual environment. Any other idea what the solution might be?

        For example, string representation of integers are converted to Python
        integer, string representation of objects are converted to JavaObject
        instances, etc.

        :param answer: the string returned by the Java gateway
        :param gateway_client: the gateway client used to communicate with the Java
            Gateway. Only necessary if the answer is a reference (e.g., object,
            list, map)
        :param target_id: the name of the object from which the answer comes from
            (e.g., *object1* in `object1.hello()`). Optional.
        :param name: the name of the member from which the answer comes from
            (e.g., *hello* in `object1.hello()`). Optional.
        """
        if is_error(answer)[0]:
            if len(answer) > 1:
                type = answer[1]
                value = OUTPUT_CONVERTER[type](answer[2:], gateway_client)
                if answer[1] == REFERENCE_TYPE:
                    raise Py4JJavaError(
                        "An error occurred while calling {0}{1}{2}.\n".
>                       format(target_id, ".", name), value)
E                   py4j.protocol.Py4JJavaError: An error occurred while calling o85.save.
E                   : java.lang.NoClassDefFoundError: org/apache/spark/sql/execution/command/LeafRunnableCommand
E                   	at java.lang.ClassLoader.defineClass1(Native Method)
E                   	at java.lang.ClassLoader.defineClass(Unknown Source)
E                   	at java.security.SecureClassLoader.defineClass(Unknown Source)
E                   	at java.net.URLClassLoader.defineClass(Unknown Source)
E                   	at java.net.URLClassLoader.access$100(Unknown Source)
E                   	at java.net.URLClassLoader$1.run(Unknown Source)
E                   	at java.net.URLClassLoader$1.run(Unknown Source)
E                   	at java.security.AccessController.doPrivileged(Native Method)
E                   	at java.net.URLClassLoader.findClass(Unknown Source)
E                   	at java.lang.ClassLoader.loadClass(Unknown Source)
E                   	at java.lang.ClassLoader.loadClass(Unknown Source)
E                   	at org.apache.spark.sql.delta.sources.DeltaDataSource.createRelation(DeltaDataSource.scala:148)
E                   	at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:46)
E                   	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
E                   	at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
E                   	at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:90)
E                   	at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan.scala:180)
E                   	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:218)
E                   	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
E                   	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:215)
E                   	at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:176)
E                   	at org.apache.spark.sql.execution.QueryExecution.toRdd$lzycompute(QueryExecution.scala:132)
E                   	at org.apache.spark.sql.execution.QueryExecution.toRdd(QueryExecution.scala:131)
E                   	at org.apache.spark.sql.DataFrameWriter.$anonfun$runCommand$1(DataFrameWriter.scala:989)
E                   	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$5(SQLExecution.scala:103)
E                   	at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:163)
E                   	at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:90)
E                   	at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:775)
E                   	at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:64)
E                   	at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:989)
E                   	at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:438)
E                   	at org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:362)
E                   	at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:293)
E                   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
E                   	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
E                   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
E                   	at java.lang.reflect.Method.invoke(Unknown Source)
E                   	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
E                   	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
E                   	at py4j.Gateway.invoke(Gateway.java:282)
E                   	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
E                   	at py4j.commands.CallCommand.execute(CallCommand.java:79)
E                   	at py4j.GatewayConnection.run(GatewayConnection.java:238)
E                   	at java.lang.Thread.run(Unknown Source)
E                   Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.execution.command.LeafRunnableCommand
E                   	at java.net.URLClassLoader.findClass(Unknown Source)
E                   	at java.lang.ClassLoader.loadClass(Unknown Source)
E                   	at java.lang.ClassLoader.loadClass(Unknown Source)
E                   	... 44 more

..\..\venv\lib\site-packages\py4j\protocol.py:328: Py4JJavaError

@mikeweltevrede could you print the spark version in your code to check? Such as
>>> print(sc.version)
3.2.0

@zsxwing thanks for your swift response. Here is the screenshot:

@mikeweltevrede Could you try sc.version or spark.version instead (sc is the spark context)? It will show the version of your Spark jar that pyspark uses. My hunch is pyspark runs with 3.2.0 python files but 3.1.x jar files. The following command can find the Spark jar location:
>>> print(spark._jsparkSession.getClass().getResource("/org/apache/spark/sql/SparkSession.class"))
jar:file:.../jars/spark-sql_2.12-3.2.0.jar!/org/apache/spark/sql/SparkSession.class

@zsxwing I find the following, so you are indeed correct:

Is there a way to solve this?

The following command can find the Spark jar location:
>>> print(spark._jsparkSession.getClass().getResource("/org/apache/spark/sql/SparkSession.class"))
jar:file:.../jars/spark-sql_2.12-3.2.0.jar!/org/apache/spark/sql/SparkSession.class

In addition, you can also check your environment SPARK_HOME to see if it points to a different Spark distribution.

Thank you @zsxwing - that solves my issue!


Drop Python35

Drop Python 3.5 support, which is already unsupported by some dependencies.

Codecov Report

Merging #244 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #244   +/-   ##
=======================================
  Coverage   29.31%   29.31%
=======================================
  Files          26       26
  Lines        1624     1624
=======================================
  Hits          476      476
  Misses       1148     1148

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 c5208e7...a27eb69. Read the comment docs.


Include test coverage report in default CI

Gitlab has support for integrating the outputs of test coverage reports in the interface. Having this capability turned on by default will make it easier for everyone to keep track of test coverage consistently.

One down side to implementing this is that it assumes a testing framework, and that testing framework is not compatible across R and Python. This would need to be turned off for R based projects.

It looks like the testthat package in R is the primary test runner, and covr is the test coverage reporter of choice. Running these from a CI job should not be an issue, although neither of them seems to support reporting in a format that will be GitLab compatible. From what I can tell testthat doesn't support JUnit XML output, and while covr does report coverage by item, it doesn't seem to provide a total that can be picked up by regex easily.
This is all just based on looking at their docs. More research could certainly be warranted.

Answered my own question with a quick search. R CMD check should be called by the CI. The reporter would go in the test declaration so that file should be stubbed out as well.


Send registration reminder email to Mail Chimp list

I think simple and sweet and 7 a.m. Friday morning would be great. Thanks @natalienoel1 .


Camper News comments should be editable by their author for at least some duration of time

Is this still a wanted feature if so I will write it up. @CodeNonProfit @QuincyLarson

This would also require adding the ability to search through own stories which is currently a feature not implemented.

All the information required to allow editing the post is currently
presented in the view, I'm failing to see why searching through own stories
is required for this.
On Thu, Mar 19, 2015 at 3:23 AM Berkeley Martinez<EMAIL_ADDRESS>wrote:

This would also require adding the ability to search through own stories
which is currently a feature not implemented.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/freecodecamp/issues/211#issuecomment-83110239
.

I tried to find a past story I posted and could not. While I can just do a ctrl + f 'berkeleytrue' to find my posted stories, imagine camper news has over a thousand stories? What if my story gets buried right away and I want to edit it?
As a camper, I want to hit a link to take me to all the stories that I have posted. Here I would like to edit my stories.
Granted I rarely go to hacker news so this might be functionality that is not required. It might be the case that if a story falls off we might not want to store and/or track it. In this case stories should be editable as long as they are still visible and my previous statement is moot.

We could just make it so the post id and the logged in author are passed
through and use them for an Ajax call. All secured up of course
On Mar 18, 2015 4:30 PM, "Berkeley Martinez"<EMAIL_ADDRESS>wrote:

I tried to find a past story I posted and could not. While I can just do a
ctrl + f 'berkeleytrue' to find my posted stories, imagine camper news has
over a thousand stories? What if my story gets buried right away and I want
to edit it?
As a camper, I want to hit a link to take me to all the stories that I
have posted. Here I would like to edit my stories.
Granted I rarely go to hacker news so this might be functionality that is
not required. It might be the case that if a story falls off we might not
want to store and/or track it. In this case stories should be editable as
long as they are still visible and my previous statement is moot.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/freecodecamp/issues/211#issuecomment-83158833
.

I'm not a fan of indefinite editing. At some point the message should be made permanent. I think any more than 10 minutes is plenty of time, personally.

Cool, @MrRenter you want to give this a go?

Yea. I'll get it done.
On Mar 18, 2015 4:44 PM, "Berkeley Martinez"<EMAIL_ADDRESS>wrote:

Cool, @MrRenter https://github.com/MrRenter you want to give this a go?
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/freecodecamp/issues/211#issuecomment-83163569
.

sweet.

Hi MrRenter can you give us a quick status update on this? I think if the comments are editable that is sufficient, as they can leave blank comments and we can just put  in the even to an empty comment.
We don't want to have to worry about handling subsequent comments.

@mrrenter any progress on this?

@QuincyLarson there is a pull request in the hopper for it. #299

Awesome! I'll take a look when I come up for air :)

Quincy Larson
"Anyone who has begun to think, places some portion of the world in
jeopardy." - John Dewey

On Wed, Apr 8, 2015 at 1:18 PM, A.L. Drake<EMAIL_ADDRESS>wrote:

@QuincyLarson https://github.com/QuincyLarson there is a pull request
in the hopper for it. #299
https://github.com/FreeCodeCamp/freecodecamp/pull/299
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/freecodecamp/issues/211#issuecomment-91024664
.

sorry, i actually misspoke. :( I thought this was a different issue as it came up in my feed. my bad.

No worries. This should be easy enough to fix on my own if need be.

Quincy Larson
"Anyone who has begun to think, places some portion of the world in
jeopardy." - John Dewey

On Wed, Apr 8, 2015 at 1:22 PM, A.L. Drake<EMAIL_ADDRESS>wrote:

sorry, i actually misspoke. :( I thought this was a different issue as it
came up in my feed. my bad.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/freecodecamp/issues/211#issuecomment-91025649
.

@mrrenter I think the fix would be simple: Campers should be able to edit their comments forever. Instead of being able to delete their comments, they should be able to simply blank them out.

Sorry this got put on the back burner but here is a working elegant solution to the issue #328


=economystats is bugged

Upon checking eco stats ive found the gp from dailys is bugging as I personally had more than 70m gp from dailys. Just wanted to make youe aware so it can be fixed:)
Axz4

no longer tracking, resolved


Add setup section to readme to install test packages

I was getting the following error when trying to run the newly-documented test coverage command from https://github.com/deepgram/deepgram-python-sdk/pull/129:
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov=deepgram
  inifile: None
  rootdir: /.../deepgram-python-sdk

I needed to install pytest-cov.
Updated the readme documentation to also specify that users should install pytest in order to run the tests.
We could create a top-level requirements.txt instead, but not sure if this would be undesirable to users who don't want to have external dependencies, especially for the optional purpose of running tests?

I added a requirements-dev.txt file in #124 so pytest-cov could be added to that and the README docs could be updated to pip install -r requirements-dev.txt (for development).


$translate.proposedLanguage() returns undefined

I have an application that uses angular-translate, local storage, etc..
Everything works fine exept I can't get the currently used language in a var.
The method $translate.proposedLanguage() alwayes returns "undefined".
I'm using angular-translate v1.0.1 with angular v1.0.7
Here's my controller :
angular.module('App')
.controller('MainCtrl', function ($scope, $http, $translate) {
var lang = $translate.proposedLanguage();
alert(lang);
});

I had same problem, I solved it by using window.localStorage.getItem('NG_TRANSLATE_LANG_KEY') to get cached language directly from localStorage


Mixtral 8x7B network support

🚀 Feature
Mixtral 8x7B is a mixture-of-experts LLM that splits the parameters in 8 distinct groups an I would like to do both training and inference with Thunder.
Work items

[x] Run thunder.examine
[ ] #124
[ ] #195
[ ] #187
[ ] Create Mixtral benchmark

Additional context
Even though examine does not signal any problem with the ops, some testing revealed that Mixtral uses torch.where(condition) signature of the torch.where function which is not supported at the moment. Moreover, the second issue I was able to identify stems from the indexing done in Mixtral forward function. At the moment, the _advanced_indexing clang operation does not take into account None as a valid index together with other tensors.

you will have data-dependent control flow.

Exactly! What is our current stance on data-dependent control flows?

I don't think it's on the roadmap any time soon.

Adding #303 that might be the key to get the model supported in Thunder
cc. @IvanYashchuk


Provide hsqldb database support (issue 303)

Issue: https://github.com/spring-projects-experimental/spring-graalvm-native/issues/303
Add a new hint HSQLDBHints to import required class and resources.
Add a substitute to hsqlb class FrameworkLogger. This class attempts to retrieve log configuration at runtime but cannot find them since the property java.home is not set (see https://sourceforge.net/p/hsqldb/src/org/
hsqldb/lib/FrameworkLogger.java#l364).
To workaround this issue the method isDefaultJdkConfig is overriden.

@Query-Interface Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@Query-Interface Thank you for signing the Contributor License Agreement!

Thanks a lot I will review and hopefully merge it next week.

Merged via 16a5bed878ba364a431757a577352fb78994ff15 thanks for your contribution.


Update dependencies

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Closing as dependency are updated in the next-node branch.


no-qualifying-attribute with wildcard

On the latest version of sass-lint, the warning not to use qualifying elements is thrown even when the equivalent selector is impossible to use. I'm using a wildcard to match a class beginning with language-, and the linter on my SASS file complains, even though I can't use .language- to do this kind of matching. Perhaps this rule should be revised?

Never mind, I misunderstood the message.


Add quickcheck tests for printer and parser

Would be nice to automatically generate some tests with a quickcheck implementation such as https://github.com/emil-e/rapidcheck
One could generate some AST, print it, parse the source code and check if the AST still matches

I don't want to pull in yet another dependency, but for what it's worth, the lang unit tests already do the inverse of this for many inline examples: i.e., they test that PrettyPrint(Parse(str)) == str.


cli, Azure Monitor: add configmap update flag and logic

[Tentative]
Adds CLI flag --azmon to also update the required config map upon
enabling/disabling metrics on a namespace for Azure Monitor backend.

CLI Tool               [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Sounds good @michelleN, thanks for the feedback.

closing for now.


feat(Upstream Keyers)

This PR is a big one: it fully implements Upstream Keyers.
As of it right now it is completely untested, both for serialization and deserialization. Much testing needs to be done before merging.

I've force-pushed fixes to the fill/cut source commands, they should work now.

Whoops, that force-push failed and I hadn't noticed. Now it should be good.

I've done some more checking, and everything seems to be correct apart from the DVE Border settings and one weird thing where the DVE mask in the state becomes value - 1.

Do you have a repro for the issue with DVE Border settings? I checked locally and it seems like things are correct, but I could be overlooking something.
I've also not yet reproduced the described issue with DVE masks.

The issue with the DVE masks is probably due to a rounding error on the ATEM's side, the parsing of the protocol on our side seems correct. (Also, it is only reproducible with significantly small values)
I don't see any other issues with merging this.

Ah yeah the UI does rounding, so it's not always the same as what the
protocol sends.
On Fri, May 11, 2018, 9:18 AM Balte de Wit<EMAIL_ADDRESS>wrote:

The issue with the DVE masks is probably due to a rounding error on the
ATEM's side, the parsing of the protocol on our side seems correct. (Also,
it is only reproducible with significantly small values)
I don't see any other issues with merging this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nrkno/tv-automation-atem-connection/pull/8#issuecomment-388377398,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1SNNXM0PVIoF1phnkTkwa2y6objUX4ks5txZ20gaJpZM4Tz1-V
.


Added option for navigation container

Added an option to reference a container that wraps around the navigation ul.
• New option: navigationContainer (default is empty)
• Can be a class or an element, but has to be inside the tab element.
• If container is set, this is used as the $ul variable instead.
Keep up the great work! It's still the best responsive tab plugin! :)

References issue #15.

Thanks for your PR! Didn't have time to try it out myself until now.


z-index revamp (z-index hooks)

from @bradenmacdonald on slack

Hey folks, does Paragon have a philosophy for handling z-index conflicts? For example, we are trying to use a Form.Autosuggest inside a modal, and the autosuggest dropdown is appearing behind parts of the modal (screenshot). I couldn't see any docs about this, and could only find these pre-defined z-index classes. If that's all that Paragon has right now, it's too simplistic. Because obviously a modal should normally be higher than a dropdown, but a dropdown in a modal should be higher than a modal. I would also argue that if you had a proper layer system, you could put popover and tooltip lower than modal as well.

One approach I know of for solving this is using utility classes (Tailwind style). Currently, the Form.Autosuggest has some code like .pgn__form-autosuggest__dropdown { ... z-index: $zindex-dropdown; ... }  . Adding CSS rules to give such components a higher z-index conditionally (when they're in a modal) is problematic, because either the Autosuggest component has to be aware of all the possible layers like modals and account for them (.modal-layer & { z-index: $zindex-modal + $zindex-dropdown }) or the Modal component has to be aware of all the possible components and account for them (& .dropdown { z-index: $zindex-modal + $zindex-dropdown).
=> But if you use a small set of predefined classes like .zindex-dropdown so that the autosuggest has that extra utility class, then it's a bit easier to plan for the interactions like .zindex-modal .zindex-dropdown .zindex-tooltip { z-index: $zindex-modal + $zindex-dropdown + $zindex-tooltip } (a tooltip over a dropdown in a modal), and your components don't have to otherwise be aware of each other.

But as you can see from the example of "a tooltip in a dropdown in a modal", managing those rules can still get complex. So I have found that a simple zindex hook provides the cleanest solution for this problem, by using the React tree to determine the z-index of each component by using the z-index of its parent (from context) and adding some fixed amount based on the type of component. (example of use in a Modal)

Apparently, using CSS isolation: isolate on contexts like modals etc. may be an even simpler way to solve this issue :)


Emit a metric when a basebackup is created.

This will assist in more easily monitoring basebackups. By sending a metric as soon as the basebackup creation process begins, it can be used to reconcile subsequent activity, ensuring that it is closely followed by basebackup progress metrics.

The formatter would like to put the change on one line: https://github.com/aiven/pghoard/actions/runs/3389824536/jobs/5633324265

Fixed a couple of mypy errors in another branch, rebased this off the fixes.


fix calendarquery with windows phone

Windows Phone does a
http REPORT https://xxxxxx/public/sync/calendars/username/calendarname/
'Depth:0' 'Content-type:text/xml'
<?xml version="1.0" encoding="UTF-8"?><calendar-query xmlns="urn:ietf:params:xml:ns:caldav"><prop xmlns="DAV:"><getetag /></prop><filter><comp-filter name="VCALENDAR"><comp-filter name="VEVENT"><time-range start="20150512T000000Z" end="20151110T000000Z" /></comp-filter></comp-filter></filter></calendar-query>

, which is not caught by either condition. Moreover, this case is not handled, so request is stuck until it timeouts.
Ping @Olegas for review.

Alright, this looks good to me - stealing review from @Olegas


Created Readme file with the link to the new repo

Created Readme file with the link to the new repo
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
(Bug fix, feature, docs update, ...)
[Type here]
What is the current behavior?
(You can link to an open issue)
[Type here]
What is the new behavior
(if this is a feature change)?
[Type here]
Does this PR introduce a breaking change?
(What changes might users need to make in their application due to this PR?)
[Type here]
Other information:
[Type here]

Created Readme file with the link to the new repo


Accept insecure flag for vsphere cloud-controller-manager config

When migrating to v1beta1 the insecure option got removed. This PR
adds it back
Issue #, if available: https://github.com/aws/eks-anywhere/issues/1117
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@TerryHowe ah thanks

lets backport this

/cherrypick release-0.7


error with the demo code (saving result in windows 10)

Hi
I tried the code in Readme and this repository:
https://github.com/ArashHosseini/3d-pose-baseline
I received this error while trying training code in anaconda prompt (h5py 2.10.0, tensorflow 2.1.0 with modification) about saving the result
Is it the same issue as here?
https://github.com/una-dinosauria/human-motion-prediction/issues/10
Thank you very much in advance

Your operating system : Window 10 Home
Your tensorflow version: tensorflow 2.1.0
( changed the import code as advised here https://github.com/una-dinosauria/3d-pose-baseline/issues/149

changed
import tensorflow as tf
to
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
)
3. Your python version python 3.6.10
4. The stack trace of the error that you see
the error:
2020-03-12 19:01:26.636116: W tensorflow/core/framework/op_kernel.cc:1655] OP_REQUIRES failed at save_restore_v2_ops.cc:109 : Not found: Failed to create a NewWriteableFile: experiments\All\dropout_0.5\epochs_1\lr_0.001\residual\depth_2\linear_size1024\batch_size_64\no_procrustes\maxnorm\batch_normalization\use_stacked_hourglass\predict_17\checkpoint-24371.data-00000-of-00001.tempstate602890883713020701 : The system cannot find the path specified.
; No such process
entered this code in anaconda prompt:
python src/predict_3dpose.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise --use_sh --epochs 1

More information
After getting result:
Global step:         24371
Learning rate:       9.90e-04
Train loss avg:      0.1855
===Action=== ==mm==
Directions    60.27
Discussion    66.98
Eating        70.40
Greeting      71.79
Phoning       90.83
Photo         97.25
Posing        63.89
Purchases     67.59
Sitting       90.86
SittingDown  121.15
Smoking       77.19
Waiting       72.79
WalkDog       77.53
Walking       64.22
WalkTogether  66.28
Average       77.27
I receive this error:
2020-03-12 19:01:26.636116: W tensorflow/core/framework/op_kernel.cc:1655] OP_REQUIRES failed at save_restore_v2_ops.cc:109 : Not found: Failed to create a NewWriteableFile: experiments\All\dropout_0.5\epochs_1\lr_0.001\residual\depth_2\linear_size1024\batch_size_64\no_procrustes\maxnorm\batch_normalization\use_stacked_hourglass\predict_17\checkpoint-24371.data-00000-of-00001.tempstate602890883713020701 : The system cannot find the path specified.
; No such process
Saving the model... Traceback (most recent call last):
File "C:\Users\Leila\Anaconda3\envs\TestEnv3\lib\site-packages\tensorflow_core\python\client\session.py", line 1367, in _do_call
return fn(*args)
File "C:\Users\Leila\Anaconda3\envs\TestEnv3\lib\site-packages\tensorflow_core\python\client\session.py", line 1352, in _run_fn
target_list, run_metadata)
File "C:\Users\Leila\Anaconda3\envs\TestEnv3\lib\site-packages\tensorflow_core\python\client\session.py", line 1445, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a NewWriteableFile: experiments\All\dropout_0.5\epochs_1\lr_0.001\residual\depth_2\linear_size1024\batch_size_64\no_procrustes\maxnorm\batch_normalization\use_stacked_hourglass\predict_17\checkpoint-24371.data-00000-of-00001.tempstate602890883713020701 : The system cannot find the path specified.
; No such process
[[{{node save/SaveV2}}]]

shortening train_dir worked for saving the model, it seems that matplotlib have problem with set_aspect in new versions...
File "C:\Users\Leila\3d-pose-baseline\src\viz.py", line 56, in show3Dpose
ax.set_aspect('equal')
File "C:\Users\Leila\Anaconda3\envs\TestEnv3\lib\site-packages\matplotlib\axes_base.py", line 1281, in set_aspect
'It is not currently possible to manually set the aspect '


JSDoc type import parsing broken in JSDoc typedefs

TypeScript Version:  3.2.0-dev.20181024

Search Terms: jsdoc import parsing
Code
/**
 * @typedef {Object} options
 * @property {import("./module").MyClass} option
 */

Expected behavior:
The module ./module can be resolved and type MyClass is recognized. This used to work before commit ff6f94791feeb9c2b22ff1ada41c173a61f347fb.
Actual behavior:
Since commit ff6f94791feeb9c2b22ff1ada41c173a61f347fb, this generates the following error message:
error TS2307: Cannot find module './module.js'.

I cannot reproduce this on master. Can you test with typescript@next?

I still run into the issue with typescript@next and master. I'll see if I can provide a failing test case.  It might only affect defualt imports ({import("./module").default}) and/or imports of another typedef ({import("./mymodule").options}).

Actually this is not fixed yet. I'm going to create a test case that shows the issue.


Stop function didn't work on looping videos

I want to play multiple videos in loop. I'm using it like below.
var OmxManager = require('omx-manager');
var manager = new OmxManager(); // OmxManager
var omx = manager.create(videos, {'--loop': true}); // OmxInstance
omx.play();
But when I call omx.stop();, It only stop the current video that is playing. It again playing loop by starting with next video. I want to stop the omxplayer loop completely. How it can be possible?
Thanks for the help!

Should be fixed with 0.1.4.


DSK routines

Hello,
I am trying to work a routinge with DSK, namely  the dskxv. It works fine with a single vertex and direction vector. However, providing for both a 4x3 float Matrix (as numpy arrays) does not properly work. Only the first vector of the matrices is evaluated and results returned. All others are returned with false. Though changing the vertex and direction vectors within the array to the first spot will result in a correct results for the first vector again but not for the others.
Could it be that the cspice.dll is not build correctly? I have tested and debugged what arrives at the dskxv routine. All correct as far as I can see. But after the call
libspice.dskxv_c(pri, target, nsurf, srflst, et, fixref, nray, vtxarr, dirarr, xptarr, fndarr)
it goes wrong.
Best,
konwill

I won’t be able to directly examine this for a few days, it sounds like it could be a issue with how I am wrapping the function so it would not be related to the dll. It sounds like you can work around this by using a loop for now.
-Andrew Annex

On Jun 1, 2018, at 10:27 AM, konwill<EMAIL_ADDRESS>wrote:
Hello,
I am trying to work a routinge with DSK, namely the dskxv. It works fine with a single vertex and direction vector. However, providing for both a 4x3 float Matrix (as numpy arrays) does not properly work. Only the first vector of the matrices is evaluated and results returned. All others are returned with false. Though changing the vertex and direction vectors within the array to the first spot will result in a correct results for the first vector again but not for the others.
Could it be that the cspice.dll is not build correctly? I have tested and debugged what arrives at the dskxv routine. All correct as far as I can see. But after the call
libspice.dskxv_c(pri, target, nsurf, srflst, et, fixref, nray, vtxarr, dirarr, xptarr, fndarr)
it goes wrong.
Best,
konwill
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for the quick reply. I do looping at the moment. Was hoping to speed up things by calling spice c implemented routine fewer times.

I looked into this for a bit and I don't currently an issue with my wrapping of the function that could explain this problem.

so I think I have identified the issue however the fix will require a bit more thought and will also mean a new release will be made so the patch is probably a week or two out.


channelHandlers has null object

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 3.2
Operating System version: macOS Big Sur
Java version: 8

Steps to reproduce this issue

simple test

public class NPETest {

    protected WorldHandler handler = new WorldHandler();

    @Test
    void handlerIsNull() throws RemotingException {
        Exchangers.bind("",null, handler);
    }

}

handler is not null in this step

    public ChannelHandlerDispatcher(ChannelHandler... handlers) {
        this(handlers == null ? null : Arrays.asList(handlers));
    }

channelHandlers will add a null handler

    public ChannelHandlerDispatcher(Collection<ChannelHandler> handlers) {
        if (CollectionUtils.isNotEmpty(handlers)) {
            this.channelHandlers.addAll(handlers);
        }
    }

connected, disconnected, sent and caught method will NPE

Expected Behavior
channelHandlers have no null object
Actual Behavior
channelHandlers have null object
reason
   public ChannelHandlerDispatcher(ChannelHandler... handlers) {
        this(handlers == null ? null : Arrays.asList(handlers));
    }

   public ChannelHandlerDispatcher(Collection<ChannelHandler> handlers) {
        if (CollectionUtils.isNotEmpty(handlers)) {
            this.channelHandlers.addAll(handlers);
        }
    }

if handlers is null, it will cast to ChannelHandler and use the first method then handlers is not null
we can filter the null object when add to channelHandlers
Can I fix it?

Please go ahead

It has been solved in #11360.


Add contributing docs specific to rule-testing patterns

Summary

This PR adds a section to the contributing guide addressing Ruff's patterns for testing rules! I wrote my first rule a few hours ago and hadn't worked with this kind of testing before, so I figured it'd be good to explicitly addressing this.
Test Plan

n/a

These are great. Thanks tons, @jlaneve!


fix: decrease white space

:tada: This PR is included in version 1.0.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Model] Lab model has different scale from headsets

Describe the bug
Currently, lab fbx was converted to gltf model via https://github.com/facebookincubator/FBX2glTF and the output gltf model is too small compared to the existing headset gltf model.
To Reproduce
Load lab gltf model directly.
Expected behavior
A correct scale.
Screenshots

Desktop (please complete the following information):

Browser [chrome]

Additional context
We need to find a way to convert other formats to gltf model for metaroom to use.
We also need to figure out the unit in webxr, unity, unreal, etc.
@cdefanti Feel free to add any description for progress control.

Please copy the commit link here and even attach a new screenshot if possible. I'd love to help integrate into main branch so this issue is finalized.

Sure thing: https://github.com/futurerealitylab/immersive-presentation/commit/31e5c5ea5037b0716acac354188e2f789cbc9b3c
Here are a couple screenshots.

The textures, particularly the floor texture, is a bit blurry, so we might want a rescan of it at some point. Additionally, we may want to introduce more lights into the scene to have the ceilings and office rooms better lit.
However, I think this is ready to go. The main reason why I haven't yet merged into main is that I wanted to check with the team if we should have this model be the default for the scene (replacing the futuristic lab model), or if this should be loaded in with a different button press. Otherwise, it should merge in with few to no conflicts.

Excellent!
@kenperlin Please take a look at the screenshot. Shall we rescan the lab, or use the lab model for our environment setup in main branch, or?

We should use this as the default. We can hold off on rescanning.
On Mon, May 3, 2021, 11:23 PM Zhenyi He @.***> wrote:

Excellent!
@kenperlin https://github.com/kenperlin Please take a look at the
screenshot. Shall we rescan the lab, or use the lab model for our
environment setup in main branch, or?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/futurerealitylab/immersive-presentation/issues/10#issuecomment-831674517,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMEVLEEQYQD7D5XYLPU5HTTL5ZFLANCNFSM4343QKPA
.

Great!
@cdefanti please open a pull request when you are ready and specify me or anyone else as the reviewer.
Any clue for my confusion here?
Additional context
We need to find a way to convert other formats to gltf model for metaroom to use.
We also need to figure out the unit in webxr, unity, unreal, etc.

@cdefanti Shall we try that now so maybe it could be ready for tomorrow's meeting.
Thanks!

Here you go: https://github.com/futurerealitylab/immersive-presentation/pull/17
Looks like it can't auto-merge, but there is only 1 line of conflict, so it should be easy to manually fix.

Currently, scale 100x in blender and re-export to gltf.


Follow system theme for editor's checkboard.

Added an option to set Editor's checkboard to follow system theme settings.
As the grid colors are set on specific colors in order to correctly keep the info about 'FollowSystem' option, and additional settings property was created to hold the value ('GridColorsFollowSystem`).
Additionally checkboard colors were extracted to existing Constants class in order to reuse them from certain parts of the code.
As a note, Options.xaml.cs class could be cleaned up a little bit in regards to those colors i.e. dead code in CheckBoardScheme but don't know whether I should do such changes in the same PR.
Closes #910 (though I didn't change the behavior about the title bar)

Awesome.
I'm going to clean up the unused code in another commit.
The title bar theme should be changed by the user, by altering the theme options from Windows. ;)


Added InsetLayout.

Sets it's width/height automatically to the left, top, right or bottom inset. Can be used to draw i.E. a color under the status/navigation bar on KitKat.
This is just something I'm using personally. Not sure if it has something to do with what the library is originally intended for.

I think this is quite useful for KitKat. Thanks!


No ability to generate random in Drupal\Driver\BlackboxDriver

Hi,
This is just a minor suggestion, but when the error No ability to generate random in Drupal\Driver\BlackboxDriver. Put @apiinto your feature and add an API driver (ex:api_driver: drupal) in behat.yml. (Drupal\Driver\Exception\UnsupportedDriverActionException) is thrown, it would be much appreciated if the url for the documentation page(https://behat-drupal-extension.readthedocs.io/en/3.1/drush.html) is provided if possible as a reference.
Thank you.

Move your issue to appropriate repository https://github.com/jhedstrom/drupalextension


[GOBBLIN-1064]Add writer schema to WorkUnitState

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-1064] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1064

Description

[ ] Here are some details about my PR, including screenshots (if applicable):
Add the writer schema for to WorkUnitState

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Make sure at the publish level, workUnitState contains the writer schema

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@autumnust Can you take a look at this minor change? Thanks!

Codecov Report

Merging #2905 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2905      +/-   ##
============================================
- Coverage     45.86%   45.85%   -0.02%
- Complexity     9169     9181      +12
============================================
  Files          1932     1933       +1
  Lines         72795    72836      +41
  Branches       8022     8030       +8
============================================
+ Hits          33389    33400      +11
- Misses        36349    36374      +25
- Partials       3057     3062       +5

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/org/apache/gobblin/runtime/fork/Fork.java
75% <ø> (ø)
68 <0> (ø)
:arrow_down:

...gobblin/metrics/kafka/KafkaAvroSchemaRegistry.java
14.81% <ø> (ø)
2 <0> (ø)
:arrow_down:

.../hive/filter/LookbackPartitionFilterGenerator.java
78.94% <0%> (-21.06%)
6% <0%> (+3%)

...re/ControllerUserDefinedMessageHandlerFactory.java
39.06% <0%> (-12.5%)
4% <0%> (ø)

...lin/util/filesystem/FileSystemInstrumentation.java
85.71% <0%> (-7.15%)
3% <0%> (ø)

...estli/GobblinServiceFlowConfigResourceHandler.java
44.61% <0%> (-6.16%)
10% <0%> (-1%)

.../modules/scheduler/GobblinServiceJobScheduler.java
53.71% <0%> (-4.58%)
19% <0%> (-2%)

.../apache/gobblin/service/FlowConfigsV2Resource.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...rg/apache/gobblin/service/FlowConfigsResource.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

...hive/filter/DateRangePartitionFilterGenerator.java
50% <0%> (ø)
4% <0%> (?)

... and 4 more

Continue to review full report at Codecov.

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


Fix called set on destroyed object (issue 58)

Fixes https://github.com/kaliber5/ember-sticky-element/issues/58

It turns out it was being called from parentTopExited.

Hm, ok. Not sure about this, as it's hard to reproduce, but I guess it might not be limited to parentTopExited, maybe it just was happening there in your particular case. I think moving it back to updatePosition would be the safer place then!? Sorry for the confusion! 😝

I agree. It's unlikely to hurt performance much I think.

Hm, Travis seems unhappy, but I don't think this is related to your changes here. Will have to investigate this...

There were definitely some other unguarded sets in the codebase... I'd guard them all just to be safe, but it's up to you.

Had a look at the failing tests. The root issue seems to be caused by the updated ember-in-viewport 3.1.0. After pinning to 3.0.0 the test failures are gone, and also the isDestroyed-guards are not needed anymore (working again as it was before). As the changes here don't fix the tests, I am closing this in favor of #61.
Thanks you nevertheless for your effort here!

No problem, thanks for the addon!


Abyl/custom length

Describe your changes
Sometimes you want to extract a custom length bit message which can be non divisible by 8 or placed in the middle of data payload. This is my initial work toward decoding the messages according to j1939DA where 1 PGN could actually have several SPNs located at different bit positions and sometimes can have irregular length
How has this been tested?
Have written unit test that should cover cases:

Bit starts at non 0 index of data payload and the length of bits is divisible by 8
Same as 1 but not divisible by 8
Bit starts at non 0 index and its length is less than 8

@ad3154 All comments have been resolved


reduce no. of lines

In the current version, there are 30 lines shown at a time which avoids a full view unless the browser screen is zoomed down to 60%. A reduction to appr. 15 lines combined with the aligned image snippet #26 would improve usability by a great deal.

set DisplayRowsto 20 7c89b012cb00a4a8d8bc7e64bba5fa76aa8fc430

I've set the number of rows to 20 now, which leaves a lot of dead space on my screen. Can you test again if this is going in the intended direction? What resolution are you working with?

I see - it differs for me, since I have a laptop screen and a docking screen. It does go in the intended direction and is far more usable already, yes. Generally, a responsive interface would be desireable. Alternatively, manual dynamic adaption would be an option (e.g. a filter to chose between 30, 20 and 10 lines on display). If non of this is feasible, please optimize for the student assistant's screen, which is 1536x864. I attach a sceenshot of the display on her screen in Firefox with the most current version. Atm, she zooms out to 80% in order to have full display.

Wooo, 864px is not much. Unfortunately, for this use case, it will not be possible to make a fully responsive interface. I will set the display to 15 lines then, as it seems that will fit the student assistant's screen (counting 18 lines in the screenshot).

changed in 509eb9512c6e175e4d22c6df7ba4c0fbb648ce6d


Compare 2 octrees

Is there already a layer that produces a loss on the difference between 2 already fully formed octrees as input (for example 2 octrees that have been loaded in separate OctreeDatabase layers)?  Or a good fast way to compose layers to do this?  Other than going through  all the octree masks and octree properties and splits etc...?

The shuffled key of octree can be accessed via the OctreePropertyLayer. According to the shuffled key, the xyz coordinates of each octree node can be calculated (refer to the orignal OCNN paper for details). Then difference of two octree can be got by comparing these octree node coordinates.


Fix storybook issue

spelling mistake with withDocsCustom. Also, some extra accordion comments

Codecov Report

Merging #719 into feature/accordion will not change coverage by %.
The diff coverage is 100.00%.

@@                Coverage Diff                 @@
##           feature/accordion     #719   +/-   ##
==================================================
  Coverage              99.71%   99.71%
==================================================
  Files                    131      131
  Lines                    695      695
  Branches                  79       79
==================================================
  Hits                     693      693
  Misses                     2        2

Impacted Files
Coverage Δ

components/accordion/src/index.js
100.00% <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 88946aa...e647468. Read the comment docs.

Hi, thanks for looking in to this.
I'm not sure what this PR is for and why there's so many changes.

Fix storybook issue
what issue?

spelling mistake with withDocsCustom
some extra accordion comments
not sure why these changes would result in so many changed files.

Are you able to make individual PRs for these against master? Otherwise I'll try get to it at some point.


Proper way to set owner of config file

I have used a pkgs.writeText for generating my own config for msmtp utility.
When my app run it, in security reasons msmtp throws an error like this:
msmtp: /nix/store/1qncl9naf6wgm2i5v4irlnhw7sibz04r-msmtprc: must be owned by you

But I can't find a proper way to fix owner.
I have tried the next solution but something went wrong and actual owner is root (not www):
let
  fixOwner = owner: path: rec {
      inherit path;
      res = runCommand "fixOwner" { inherit owner path; } ''
        chown $owner "$path"
      '';
    }.path;
  myConf = fixOwner "www" writeText "msmtprc" ''
    ...
  '';
in
...

[kayo@nixie:~]$ ls -al /nix/store/*msmtprc*
-r--r--r-- 1 root nixbld  320 Jan  1  1970 /nix/store/1qncl9naf6wgm2i5v4irlnhw7sibz04r-msmtprc

You cannot and shouldn't change ownership of files in nix store. If you need that, write stuff in /etc with environment.etc.

Ok. Thanks.

Looks like this is resolved.

write stuff in /etc with environment.etc on nixos.

How do I change the chown with environment.etc?

How do I change the chown with environment.etc?

Aha, found it with https://nixos.org/nixos/options.html#etc.
Example:
    environment.etc.myfile = {
      target = "mydir/myfile1";
      text = "blabla";
      mode = "0440";
      uid = config.ids.uids.postgres;
    };