Add integration test with a static go binary is scoped, and uses tls transport

(belongs in transport test, maybe?)
This is related to the finding in #992.

I added a test case to the existing transport test suite.
To "test the test", I did the following:
edited contrib/Makefile to delete the "no-threads" build flag for openssl
make clean all test
cd test/integration
make transport

This failed as expected, since the "no-threads" build flag is required.
Then I did a git checkout contrib/Makefile to effectively add the no-threads build flag back in, rebuilt, and reran the transport integration test.
The test passed.

I was able to capture a backtrace of the unexpected crash.
cd test/integration
make transport-shell
/usr/local/scope/scope-test
apt update
apt install gdb
gdb --args scope run -c tls://<IP_ADDRESS>:10090 -- /opt/test/bin/plainClientStatic
run

This is the output:
(gdb) run
Starting program: /usr/local/scope/bin/scope run -c tls://<IP_ADDRESS>:10090 -- /opt/test/bin/plainClientStatic
process 637 is executing new program: /tmp/libscope-1.1.0/ldscopedyn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 637 is executing new program: /tmp/libscope-1.1.0/ldscopedyn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 637 is executing new program: /opt/appscope/bin/linux/x86_64/scope
[New LWP 641]
[New LWP 642]
[New LWP 643]
[LWP 643 exited]
[LWP 642 exited]
[LWP 641 exited]
process 637 is executing new program: /root/.scope/ldscope
process 637 is executing new program: /tmp/libscope-1.1.0/ldscopedyn
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6269700 (LWP 644)]
[New Thread 0x8dd9b0 (LWP 645)]
[New Thread 0x8dd9b0 (LWP 646)]
[New Thread 0x8dd9b0 (LWP 647)]
Response status: 200 OK
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
[New Thread 0xc000038090 (LWP 648)]
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="author"<EMAIL_ADDRESS>/>

Thread 9 "ldscopedyn" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xc000039c90 (LWP 648)]
0x00007ffff6f20cbb in CONF_parse_list () from /tmp/libscope-1.1.0/libscope.so
(gdb) bt
#0  0x00007ffff6f20cbb in CONF_parse_list () from /tmp/libscope-1.1.0/libscope.so
#1  0x00007ffff6eb1bee in SSL_CTX_set_ciphersuites () from /tmp/libscope-1.1.0/libscope.so
#2  0x00007ffff6ebd334 in SSL_CTX_new_ex () from /tmp/libscope-1.1.0/libscope.so
#3  0x00007ffff6defabe in establishTlsSession (trans=0x7ffff6d0ce70) at src/transport.c:395
#4  0x00007ffff6df071a in checkPendingSocketStatus (trans=0x7ffff6d0ce70) at src/transport.c:755
#5  0x00007ffff6df10f0 in transportConnect (trans=0x7ffff6d0ce70) at src/transport.c:1030
#6  0x00007ffff6df709d in ctlConnect (ctl=0x7ffff667c1d0, who=CFG_CTL) at src/ctl.c:1150
#7  0x00007ffff6dd67fe in doConnection () at src/report.c:3410
#8  0x00007ffff6dd68e7 in doEvent () at src/report.c:3445
#9  0x00007ffff6da92c2 in reportPeriodicStuff () at src/wrap.c:897
#10 0x00007ffff6da9601 in handleExit () at src/wrap.c:991
#11 0x00007ffff6e027a0 in c_exit (stackaddr=0xc000045f60 "") at src/wrap_go.c:1949
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Digging in some more, I think I understand what the problem is...
When I look at the disassembly of CONF_parse_list, it does this for the implementation of isspace():
  1f9cb6:       e8 85 5c e8 ff          callq  7f940 <__ctype_b_loc@plt>
  1f9cbb:       48 8b 00                mov    (%rax),%rax
  1f9cbe:       66 90                   xchg   %ax,%ax
  1f9cc0:       f6 44 58 01 20          testb  $0x20,0x1(%rax,%rbx,2)
  1f9cc5:       74 b9                   je     1f9c80 <CONF_parse_list+0x30>

So what to do about this?  After consulting with @michalbiesek, we understand that it should be reasonable to just switch from using __ctype_b_loc to using scopelibc___ctype_b_loc.  Originally, I didn't think that musl was binary compatible in this way, but musl does provide a __ctype_b_loc that will work if we switch to use it.  So cool.
So the solution here is to switch from using glibc's __ctype_b_loc to instead use our own musl's version of the same.

The last commit here is to fix the test execution of the new transport test case on ARM.
We don't yet support go on ARM processors, so when I added the execution of plainClientStatic (a go app) to the transport test, the transport test started failing when run on ARM.  The test showed a real problem, that we were trying to run go applications under ldscope on the ARM architecture when we shouldn't try to do that.
This last commit “just runs” go applications if we’re running on ARM (without running them under ldscope).

@abetones - from a docs point of view...  there are two issues to consider here:

We saw a crash of a static go application because we should have been using a function from our internal libc but were accidentally using the function from glibc.  There is no need to mention this in the docs, imho, because we're just adding internal libc in 1.1.0, so there isn't a chance that someone has encountered this before and since we've fixed it, nobody will ever encounter it.
The last commit is something that could be called out in the changelog and/or in requirements, at your discretion.  We've already said in the requirements "AppScope cannot:" ... "Instrument Go executables on ARM."  This was true and still is.

While working on this ticket, we realized that if someone tries to scope Go on ARM before 1.1.0, we'd try to scope it and fail to be able to do so.  As a result, the go app wouldn't get executed and scope would return an error code.
The fix we added was to make it so that if someone to scope go on ARM with 1.1.0 or after, we'll make sure that the the go app is executed.  It won't be instrumented, (it will be as if it was run without scope), but it will be executed now.
TLDR for 2); we're handling a case of unsupported applications (go on ARM) more elegantly than before.


Replace lolex with sinonjs/fake-timers in jest-dom-mock

Description
lolex is old and deprecated and its deprecation notice says it should be replaced with @sinonjs/fake-timers - which is the same package, just renamed and brought under the sinon namespace.
This PR updates @shopify/jest-dom-mocks to depend on @sinonjs/fake-timers instead of lolex. This is required to unblock node 18 support, as lolex doesn't support node 18.

/snapit

Testing this over in https://github.com/Shopify/web/compare/test-jdm: With just a version bump and no code modifications, all tests pass except one that hangs indefinitely. It seems to be because that test case overeagly mocks out the clock in cases that don't need it, which causes graphql fetching to not work as expected. Refactoring the test to make it only mock the clock when it is needed, results in a terminating test case, with 7 failures due to timeouts.
I'm tempted to outright remove clock and timer (and maybe requestAnimationFrame) as they're all mocked out by jest's useFakeTimers stuff already, pushing people towards using native jest behaviour instead of this indirection, but that's going to trigger a bunch of migration work that I don't want to do, so I'm going to leave the instances around, but mark them as depreacted.


Roll Flutter Engine from ab9daaa0bcc7 to 94f56a2c6b85 (4 revisions)

https://github.com/flutter/engine/compare/ab9daaa0bcc7...94f56a2c6b85
2024-09-13<EMAIL_ADDRESS>Roll Skia from a5a6d12b3642 to 9877f459399a (2 revisions) (flutter/engine#55187)
2024-09-13<EMAIL_ADDRESS>Roll Dart SDK from eb664303c5ff to 302b6472b849 (2 revisions) (flutter/engine#55182)
2024-09-13<EMAIL_ADDRESS>[skwasm] Scene builder optimizations for platform view placement (flutter/engine#54949)
2024-09-13<EMAIL_ADDRESS>add back test itSendsTextShowPasswordToFrameworkOnAttach with new mock for display metrics (flutter/engine#55110)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Closing to generate a new roll.

Commit queue failed; closing this roll.


Impossible to use fly on remote server

Hi team,
Since the 4.0.0 release, fly login uses browser based callbacks to grab the auth token. I use fly on my linux server, often SSH-ing in from my phone or tablet. As it stands, I can't figure out what is the format of the token that fly expects on the CLI. I've tried stripping the localhost callback parameter from the oauth URL, but that didn't seem to work.
How can one log in to a concourse instance using fly on a remote, headless system?

Linking to concourse/concourse#2464 and closing. Thanks for reporting though!


wallet - created wallet for mainnet doesn't load

What happened:
When you have a mainnet and playground wallet loaded, and you exit playground wallet. It will go to onboarding page, which is expected. When you re-open the app, it should load mainnet wallet since it's existing.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

I need to re-deploy to fix this. I will deploy now


Add keepend to pythonString in syntax/python.vim

Is there a particular reason to not have a keepend on pythonString and pythonRawString?
If a keepend is added, it makes it a bit easier to use embedded syntax in python strings. See for example this SO answer in which the two mentioned syntax regions are copied with a keepend.

please contact the syntax script maintainer and discuss the issue with him. Thanks.


Network statistics have stopped updating

Looks like something broke with network stats, as it hasn't updated in a while:

fock!
need fix it asap
Thank you

Whoops, wrong repo. Moved to https://github.com/S-anasol/siahub/issues/31


AI Tools - Dictionary Augmented Translations - Weekly updates - week 1, 2 and 3

Project
AI Tools - Dictionary Augmented Transformers
Changes

Setup folder for project in docs/2023/AI Tools/Dictionary Augmented Transformers
Added milestones & learnings for week 1, 2, and 3

@wasup-yash The PR says there are issues in deploying to Preview. Could you help with this?

@wasup-yash The PR says there are issues in deploying to Preview. Could you help with this?

that's the issue they have to look into your PR is fine to merge


cargo-expand: 1.0.55 -> 1.0.56

Diff: https://github.com/dtolnay/cargo-expand/compare/1.0.55...1.0.56
Changelog: https://github.com/dtolnay/cargo-expand/releases/tag/1.0.56
Description of changes
another one

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 239675 run on aarch64-darwin 1

1 package built:

cargo-expand


Fix round_trip_parse_gen tests

~Too late to finish it https://www.diffchecker.com/SDnOYloi Tomorrow I'll end it.~

~Note: the right one is the correct one. Left-side, ours.~

So I went for the simple syntax tree (changes might be made in the future if needed) tests are running now, I'll post the report when they're ready.
********************

Testing Time: 3493.74s
********************
Failing Tests (2):
    Swift(macosx-x86_64) :: SILGen/addressors.swift
    Swift(macosx-x86_64) :: SILOptimizer/prespecialize.swift

  Expected Passes    : 6654
  Expected Failures  : 21
  Unsupported Tests  : 170
  Unexpected Failures: 2

4 warning(s) in tests

stdlib: compiling

It's really hurting me, that this "incorrect" syntax tree works, while the "correct" doesn't. But maybe I'm just too much of a perfectionist...

I'm thinking on uploading the status after this PR to the Apple's PR and look for some checks (compatibility check, smoke test, etc) what do you think?


docker container port not reachable via macos

Hi, I am trying to get connectivity from host to docker container running node-app working.

Exposed port in docker file and mapped that port using docker run
docker run --name beemgr_node3 --link beecomput-redis:redis -d -p 8001:8001 -p 8000:8000 -w /usr/src/beemgr/js/ 59d388eb3d33  node

Obtained Ip address using
docker-machine ip default
<IP_ADDRESS>

http://<IP_ADDRESS>:8000 or http://<IP_ADDRESS>:8001 returns connection refused
curl -i <IP_ADDRESS>:8000
curl: (7) Failed to connect to <IP_ADDRESS> port 8000: Connection refused
curl -i <IP_ADDRESS>:8001
curl: (7) Failed to connect to <IP_ADDRESS> port 8001: Connection refused

Ensure that node app returns http response on same ports, if not run inside container.

Any thing I might be missing?
ONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                              NAMES
9aeed3369eef        59d388eb3d33        "node beemgr_main.js"    14 minutes ago      Up 14 minutes       <IP_ADDRESS>:8000-8001->8000-8001/tcp   beemgr_node3
7b908f91a453        redis               "/entrypoint.sh redis"   About an hour ago   Up About an hour    6379/tcp                           beecomput-redis

docker inspect 9aeed3369eef
[
{
"Id": "9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365",
"Created": "2016-02-05T01:15:58.15936759Z",
"Path": "node",
"Args": [
"beemgr_main.js"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 9982,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-02-05T01:15:58.329074584Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "59d388eb3d3369ddaa67535b47c54814b9000baa310409b3d18d64ebaf445ab8",
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/resolv.conf",
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/hostname",
"HostsPath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/hosts",
"LogPath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365-json.log",
"Name": "/beemgr_node3",
"RestartCount": 0,
"Driver": "aufs",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": [],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"KernelMemory": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": -1,
"Privileged": false,
"PortBindings": {
"8000/tcp": [
{
"HostIp": "",
"HostPort": "8000"
}
],
"8001/tcp": [
{
"HostIp": "",
"HostPort": "8001"
}
]
},
"Links": [
"/beecomput-redis:/beemgr_node3/redis"
],
"PublishAllPorts": false,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"VolumesFrom": null,
"Devices": [],
"NetworkMode": "default",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"VolumeDriver": ""
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [],
"Config": {
"Hostname": "9aeed3369eef",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8000/tcp": {},
"8001/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NPM_CONFIG_LOGLEVEL=info",
"NODE_VERSION=4.2.6"
],
"Cmd": [
"node",
"beemgr_main.js"
],
"Image": "59d388eb3d33",
"Volumes": null,
"WorkingDir": "/usr/src/beemgr/js",
"Entrypoint": null,
"OnBuild": null,
"Labels": {},
"StopSignal": "SIGTERM"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "69646495c2c055ef6878f52e8196245b0654edc9c97bd768ffe2438111eb0c7d",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"8000/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "8000"
}
],
"8001/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "8001"
}
]
},
"SandboxKey": "/var/run/docker/netns/69646495c2c0",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "e701b11f30846bde3751e062d5acb34374fbfdbd6b2f5b8993c5f27961f74e26",
"Gateway": "<IP_ADDRESS>",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"EndpointID": "e701b11f30846bde3751e062d5acb34374fbfdbd6b2f5b8993c5f27961f74e26",
"Gateway": "<IP_ADDRESS>",
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Description of problem:
docker container port not reachable via mac host
docker version:
cker version
Client:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.3
Git commit:   a34a1d5
Built:        Fri Nov 20 17:56:04 UTC 2015
OS/Arch:      darwin/amd64
Server:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.3
Git commit:   a34a1d5
Built:        Fri Nov 20 17:56:04 UTC 2015
OS/Arch:      linux/amd64
docker info:
docker info
Containers: 77
Images: 163
Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 317
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.13-boot2docker
Operating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015
CPUs: 1
Total Memory: 996.2 MiB
Name: beecompute-dev
ID: 3IPM:ERGS:FOJM:RKZH:NTSR:HNEF:SPYO:U5BX:TFMM:S6L6:5UOZ:ZM5T
Debug mode (server): true
File Descriptors: 22
Goroutines: 38
System Time: 2016-02-05T02:50:46.520493262Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
provider=virtualbox
uname -a:
darwin MacBook-Pro.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
Environment details (AWS, VirtualBox, physical, etc.):
virtualbox
How reproducible:
Steps to Reproduce:

Exposed port in docker file and mapped that port using docker run
docker run --name beemgr_node3 --link beecomput-redis:redis -d -p 8001:8001 -p 8000:8000 -w /usr/src/beemgr/js/ 59d388eb3d33 node

Obtained Ip address using
docker-machine ip default
<IP_ADDRESS>

http://<IP_ADDRESS>:8000 or http://<IP_ADDRESS>:8001 returns connection refused
curl -i <IP_ADDRESS>:8000
curl: (7) Failed to connect to <IP_ADDRESS> port 8000: Connection refused
curl -i <IP_ADDRESS>:8001
curl: (7) Failed to connect to <IP_ADDRESS> port 8001: Connection refused

Ensure that node app returns http response on same ports, if not run inside container.
Actual Results:
curl -i <IP_ADDRESS>:8000
curl: (7) Failed to connect to <IP_ADDRESS> port 8000: Connection refused
curl -i <IP_ADDRESS>:8001
curl: (7) Failed to connect to <IP_ADDRESS> port 8001: Connection refused
Expected Results:
Expecting node server inside container to return http response. logs on node server indicate that the http req never reaches the node server
Additional info:
docker inspect 9aeed3369eef
[
{
"Id": "9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365",
"Created": "2016-02-05T01:15:58.15936759Z",
"Path": "node",
"Args": [
"beemgr_main.js"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 9982,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-02-05T01:15:58.329074584Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "59d388eb3d3369ddaa67535b47c54814b9000baa310409b3d18d64ebaf445ab8",
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/resolv.conf",
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/hostname",
"HostsPath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/hosts",
"LogPath": "/mnt/sda1/var/lib/docker/containers/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365/9aeed3369eef1b4993dfa02b8942677671c19d764fd5c63038846331e3cb2365-json.log",
"Name": "/beemgr_node3",
"RestartCount": 0,
"Driver": "aufs",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": [],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"KernelMemory": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": -1,
"Privileged": false,
"PortBindings": {
"8000/tcp": [
{
"HostIp": "",
"HostPort": "8000"
}
],
"8001/tcp": [
{
"HostIp": "",
"HostPort": "8001"
}
]
},
"Links": [
"/beecomput-redis:/beemgr_node3/redis"
],
"PublishAllPorts": false,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"VolumesFrom": null,
"Devices": [],
"NetworkMode": "default",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"VolumeDriver": ""
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [],
"Config": {
"Hostname": "9aeed3369eef",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8000/tcp": {},
"8001/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NPM_CONFIG_LOGLEVEL=info",
"NODE_VERSION=4.2.6"
],
"Cmd": [
"node",
"beemgr_main.js"
],
"Image": "59d388eb3d33",
"Volumes": null,
"WorkingDir": "/usr/src/beemgr/js",
"Entrypoint": null,
"OnBuild": null,
"Labels": {},
"StopSignal": "SIGTERM"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "69646495c2c055ef6878f52e8196245b0654edc9c97bd768ffe2438111eb0c7d",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"8000/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "8000"
}
],
"8001/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "8001"
}
]
},
"SandboxKey": "/var/run/docker/netns/69646495c2c0",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "e701b11f30846bde3751e062d5acb34374fbfdbd6b2f5b8993c5f27961f74e26",
"Gateway": "<IP_ADDRESS>",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"EndpointID": "e701b11f30846bde3751e062d5acb34374fbfdbd6b2f5b8993c5f27961f74e26",
"Gateway": "<IP_ADDRESS>",
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]

Is the application in the container listening to all ip-addresses, and not just <IP_ADDRESS>? What happens if you run, for example, docker run -d -p 8001:80 nginx and try to connect? If that works, I suspect it's something with the container.
Given that the docker inspect output shows that the ports are correctly published, I suspect this is not a docker bug. I'll close this issue, but feel free to continue the discussion.

Thanks for response.

My app is listening for all ip addresses

The issue is not resolved by using ngnix:

docker run -d -p 8001:80 nginx
96dfc7b65e7cbb61c5c4b147a3b64d2711a35040db9cb24644e21484293d9d0b
Santoshs-MacBook-Pro:beecomputing santosh$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                           NAMES
96dfc7b65e7c        nginx               "nginx -g 'daemon off"   15 seconds ago      Up 14 seconds       443/tcp, <IP_ADDRESS>:8001->80/tcp   nostalgic_meitner
I got same error: ERR_CONNECTION_REFUSED
Hide details
The issue gets resolved (workaround) is to add explicit port forwarding rules in virtualbox
TCP (host)<IP_ADDRESS> 8001 ->  (guest) 8001

do you get the same issue on a newly created VM? Sounds like a docker-machine / toolbox issue otherwise

@schandrac @thaJeztah I got the same error. cant connect properly to the ports exposed. any tip for a fix ?

@wesleyvicthor  The workaround is to explicitly configure port forwarding rules in virtualbox config.
Go to settings -> network -> port forwarding. Add one rule for each port you want to be forwarded from host to guest OS.


[VS Code] Request was cancelled

Error:
Request was cancelled
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.472

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.25.1

platformName
MacOS

platformVersion
17.7.0

@fredriccliver  Thanks for reporting this error. This seems to be similar to #469. Could you please run the Live Share: Export Logs command attach the resulting zip file to issue #469? That will help us investigate what might be going on. Thanks!


change org_type.go to visible_type.go and fix the notes

It seems VisibleType is only designed for org at first. But it is also used by user's visibility now.
So I think org_type.go can be changed to visible_type.go.

Make lgtm work


Remix interface

[documenting offline conversation with @blacker ]
Some quick thoughts about how the interface for synthesizing waveforms should look.

We'll need some kind of audio container object that includes an audio buffer + metadata (sampling rate, # channels, duration, etc)
Synthesis happens via generators, eg something like this for a beat-reverser:

>>> def my_generator(Track):
    start = Track.duration
    for beat in Track.beats[::-1]:
        start = start - beat.duration
        yield start, beat
>>> syn = synthesize(duration=Track.duration, my_generator)

The generator returns an audio container corresponding to a particular sample, and a target position for the sample in the output buffer
The synthesize function iterates over the generator and adds samples into the output stream.  It returns a new audio object (I guess, an audio container object itself).  Stereo/resampling/zc-alignment are all handled within synthesize

This makes it easy to do concatenative synthesis (as above).  You can also do additive mixing by having overlapping target times.

Some other points to work out here:

How do we handle different sampling rates?

We can have synthesize resample each signal to the target rate, but this might be wasteful.  Maybe there's something more clever we could do?

What about stereo/mono discrepancies?

I think this isn't too difficult, but I might be missing something.
Stereo samples for a mono target get downmixed; mono samples for a stereo output get duplicated.  If a user wants to direct a mono sample to the left- or right-channel, this can be done from within the sample generator.
Stereo to stereo is interesting in that we'd have to do channel-wise zero-crossing alignment.  The logic I have in mind here is to increase the start- and decrease the end-time to match the closest zc's internal to the sample boundaries, and then add them at the specified output position.  I think this shouldn't introduce any discontinuities.

Is it too restrictive to require the output duration to be pre-computed?

We could dynamically infer the output duration, but there are some subtleties to doing this efficiently.  The way I'm picturing it, we could pre-allocate an enormous sparse matrix to contain the synthesized audio, and keep track of the maximum sample number touched during synthesis.  When the iterator is exhausted, we can trim down to the inferred duration, convert to dense, and call it a day.  The only trick here is making sure that the initial pre-allocation is big enough to contain the audio, but that can be user-configurable.  A default of 20 minutes ought to be fine for 99% of cases, if I had to SWAG.

How do we handle different sample rates?

@bmcfee can you elaborate on how resampling each signal to the target rate could we wasteful? I imagine that resampling would happen at the "last minute", in synthesize, so we could resample only the portions of each input signal that are actually getting included in the output.

How do we handle output duration?

Pre-allocating a large matrix sounds reasonable. I suppose another alternative would be to pre-allocate a smaller matrix (or a really small one) and extend it as needed during synthesis, but I don't see any compelling advantages to that approach.

@bmcfee can you elaborate on how resampling each signal to the target rate could we wasteful? I imagine that resampling would happen at the "last minute", in synthesize, so we could resample only the portions of each input signal that are actually getting included in the output.

Yes, but that could introduce artifacts at the boundaries, especially in the low frequencies.  It's probably better to resample the entire source signal and then trim out the sample.  Of course, if the input is really large, and we're only grabbing a few small pieces of it, then this will do much more work than we need.
A compromise might be to resample a large window around the source sample, and then trim out the region of interest.  The window padding could be calculated in terms of the period of the lowest frequency we wish to retain.
For a first cut, I think it's simplest to do the full resample at synthesis time.  We can worry about efficiency enhancements later.

Pre-allocating a large matrix sounds reasonable. I suppose another alternative would be to pre-allocate a smaller matrix (or a really small one) and extend it as needed during synthesis, but I don't see any compelling advantages to that approach.

Reallocate and copy will generally be much slower than pre-allocating a very large (but sparse) matrix.

That all makes sense. And I agree that a full resample at synthesis time is a good approach for the initial version.

So just so I am sure about this resampling, we want to take each audio source and re-load the entire file for that audio source, at the target output sample rate?
I also have a version of this working that pre-calculates the size of the target matrix.  Do you cats feel strongly that preallocating a giant sparse matrix then trimming is better?

So just so I am sure about this resampling, we want to take each audio source and re-load the entire file for that audio source, at the target output sample rate?

Yeah.  Like I said above, it's inefficient, but correct, and we can make it more efficient later on.

I also have a version of this working that pre-calculates the size of the target matrix. Do you cats feel strongly that preallocating a giant sparse matrix then trimming is better?

How does that work?  The generator-based synthesis does not know the total track duration.
The algorithm I had in mind is to preallocate something absurdly large with a scipy.sparse matrix, and then dynamically compute the effective duration after synthesis.  This should be both memory-efficient and simple to implement.

Oh, because I didn't make synthesize take a generator - at the moment it just takes a list.
I suppose if we want it to accept a list or a generator, we'll have to preallocate.

Ah.  I think it's better to implement the generator version first, and then wrap it with a simpler list interface.
I can hack this out if you're puzzling the details.

(Don't we both have jobs?)
I'll try to get a PR with my version up this weekend, so you cats can see what I am, doing.  I suspect that if we pre-allocate, what I have will work for both a list and a generator.
Also, should this return a new Audio object, or should it write out a .wav file?

I'll try to get a PR with my version up this weekend, so you cats can see what I am, doing. I suspect that if we pre-allocate, what I have will work for both a list and a generator.

Yeah, it should be pretty straightforward to switch over.

Also, should this return a new Audio object, or should it write out a .wav file?

If it's an Audio object, that opens up the possibility of chaining synthesizers....

So synthesize returns a new audio object, and then an audio object can write itself out as a .wav file.  Got it!

As the above says:  https://github.com/algorithmic-music-exploration/amen/pull/25

Closing with #25!


Refer to local community

Add the field "referring policy" for talk proposal.

Codecov Report

Merging #657 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #657      +/-   ##
==========================================
+ Coverage   73.62%   73.64%   +0.01%
==========================================
  Files          72       72
  Lines        2673     2675       +2
==========================================
+ Hits         1968     1970       +2
  Misses        705      705

Impacted Files
Coverage Δ

src/proposals/forms/mixins.py
100% <ø> (ø)
:arrow_up:

src/proposals/forms/proposals.py
100% <ø> (ø)
:arrow_up:

src/proposals/admin.py
100% <ø> (ø)
:arrow_up:

src/core/models.py
94.44% <100%> (+0.21%)
:arrow_up:

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 a567999...f264c9c. Read the comment docs.

硬要跟一下 o/


php(-nts)-xdebug: Update to version 3.2.0-8.2

Closes #9954

[X] I have read the Contributing Guide.

/verify

Could someone review this please? I'm relying on xdebug to try to debug my application...

Anyone at all? It's been a week...

Anyone at all?


Script in the example makes simulator run slow.

The script -  react-native-swiper/examples/scripts/watch-and-copy-src.js makes the simulator lag. It happens universally to all apps now.
How can I  undo the script and return to normal simulator functioning?
Version
Which versions are you using:
Expected behaviour
React-Native apps do not lag and work as the originally did.
Actual behaviour
React-Native apps lag because of the script.

Hmm, instead of using it, you can, for each change in src, do
 rm -rf node_modules; yarn;


JWT token of User aptitude doesn't encode a unique user ID

If I decode the JWT token obtained from the User aptitude, I can get something like:
{
  "header": {
    "alg": "RS256",
    "typ": "JWT"
  },
  "payload": {
    "azp": "aaaaaaaa-cccc-dddd-eeee-ffffffffffffff.loop.oliveai.com",
    "exp":<PHONE_NUMBER>,
    "iss": "https://sidekick.oliveai.com/api/user/createJWT",
    "sub"<EMAIL_ADDRESS>  }
}

The sub field is the user's email instead of a unique user ID. We want to obtain a unique user ID that won't change even if the user changes his email.
And the JWT token cannot be validated using the public keys available at https://login.oliveai.com/.well-known/jwks.json
p.s. This is the same issue I reported in Slack. I just create this one to help to track.

Hello @hans-hsieh-asus - Thanks for reporting this. We have work in progress to update sub to be a unique userId. The internal task for this is: SIDE-2454 and is scheduled to go out with our next OH release.

Thanks. I see the new user JWT token now has a user ID as the sub.

Glad you noticed! You're correct, the issued JWTs should now have a unique ID in the sub claim and the user's current email address has been moved to a non-standard claim called email too.


Add ability to parse XML documents to Serde

Currently, all the resulting JSON is only rustc-serialize compatable, but allowing for the XML to be (optionally?) Serde compatable as well would be a nice feature

Is any development going on to complete this Enhancement request? rustc-serialize is deprecated in favor of serde. I will nice to have support of serde as well.


Cannot properly render the debugger for my php script

Just followed the minimal example... did I miss something?
Of course, I've installed the package like so: composer require spatie/ignition
<?php // ./app/index.php

namespace App;

use Spatie\Ignition\Ignition;

require __DIR__ . '/../vendor/autoload.php';

Ignition::make()->register();

throw new Exception('Bye world');

My directory structure:
.
├── app
│   └── index.php
├── bin
│   └── composer
├── composer.json
├── composer.lock
├── docker-compose.yml
└── vendor
    ├── autoload.php
    ├── bin
    ├── composer
    ├── doctrine
    └── ...

And my docker-compose.yml:
version: '3'
services:
  app:
    image: php:8.1-apache
    ports:
      - 89:80
    volumes:
      - .:/var/www/html

This package is still under heavy development. We aim to have a version that you can test somewhere by the end of January. I suggest you try again at that time.


digitalocean: remove unneeded wait for ssh

This removes a "WaitForSSH" command that seems related to causing hang ups when creating DO droplets.
After this fix, I haven't had a "hang" on creating again -- perhaps just a coincidence :)
Refs #951

Heh.... yeah I'm currently in the process of trying to figure out whether or not this is the underlying issue.  Whether or not this that's the case though this PR LGTM as the wait is superfluous now :+1:

cool thanks -- i'm going to merge it as it's unneeded anyway :)


Make .parse_html more useful?

Hi
I find the parse_html method useful for one time conversion of existing html  to code. But even then, it requires quite some work with adding id's and then using name_dict to hook up event handlers. Would it be possible to parse event handlers (like @click) in the html and hook them automatically to event handlers in code?
'''
html='<div @click="do_something/>'
def so_something(...):
...
c = jp.parse_html(html)
'''

Hi,
That is a good idea. I have been thinking about this also. I will add in a future version.

Cool! Thx


Delete successful chunks on recovery complete

Summary
Addresses an issue where recovery nodes never delete the recovered chunks, resulting in out of disk errors

Superseded by #690


double turns on crowded board allowed no catch happened

my ai before taking a turn asks for who is current color then makes a move for the current color. the move generated is for a var the game knows is next color, and is rare cases the last played stone say was white so my ai know it is black but somehow the board thinks it is white still to move and allows white to place where black should thus some times this is a suicide. the catch is not thrown the stone suicides and is accepted as play.
the last part (the board allows the removal of the suicide stone) this happens on a crowded board, so far i can not isolate a situation and i will do a workaround detect for it.
one such game this happens is http://eidogo.com/#477XD619y
late in the game are a lot of these up to 5 times black got turns in a row.
like i say i ask the board for current color, the prev stone was placed proper yet the color did not increment, and i can tell the ai thinks in proper color by its placement to kill a stone.
not hard to workaround but you might want to know someting is up.
if i get the answer ill let you know,
ps hey what you think of that game tho, that was generated on your board! still not machine learning that is purely scripted go playing.

sorry for double posting, tonight i will double check my findings, i will look to see if the result in game is what is displayed in the sgf output, (as to the removal of dead stone etc. i have a routine to avoid this almost completed.

i incorporated a workaround after placeing a stone actually takes place i recheck the toggling took place and echo a console line and a pass for the color. im going to close this, with this solution for any that find the above happining.


api/formula: handle JSON file corruption.

If we can't parse the file: it's corrupt. Try again up to 3 times before bailing.
Fixes #14211

Review period skipped due to critical label.


Regular Expressions

Write a program that uses regular expressions to validate an email address.

Please assign this issue to me


Is it possible to forward files already stored on Telegram

Since a large number of files have been stored in Telegram, it is inconvenient to download and upload them again.

Since a large number of files have been stored in Telegram, it is inconvenient to download and upload them again.

You mean forward the files to other telegram chats?

Since a large number of files have been stored in Telegram, it is inconvenient to download and upload them again.

You mean forward the files to other telegram chats?

i can forward file from other channel to my private channel,  then i can download the forwarded file

Understood. This is indeed a good thing to support. How about let me extend the "tgfs cp" command line to enable copying from other chats? For example,
tgfs cp t.me/c/123498765/234 /some-path

Understood. This is indeed a good thing to support. How about let me extend the "tgfs cp" command line to enable copying from other chats? For example, tgfs cp t.me/c/123498765/234 /some-path

you can also add a new command like  tgfs import data.json
so i can batch add links
and provide a option  to delete the link from channel at once,  link tgfs clear data.json

tgfs import data.json /some-path

Do you want this command to mount a whole directory specified by data.json at /some-path?

tgfs import data.json /some-path

Do you want this command to mount a whole directory specified by data.json at /some-path?

batch mount all messages in data.json to /some-path dir

any update???

any update???

Not yet, still busying on fixing other bugs

please support this feature

The current road map is to migrate the meta info from json format to realm first. And then probably I will let users specify a local db file instead of using a json file.


Add value argument to call command

Pushes the changes from https://github.com/aurora-is-near/aurora.js/pull/34 here to the CLI. See the aurora.js PR for details.

Will update the lock files again after https://github.com/aurora-is-near/aurora.js/pull/34 is merged, then CI should build.


PlatformNotSupportException when sqlite-net is used in a .NET Standard 2.0 Library referenced by a UWP application compiled in Relase mode

I have a UWP application targeting SDK 17134, which references the latest SQLite-net-pcl package from NuGet. The same version is also referenced by a .NET Standard 2.0 library, which includes a couple of entities (mapped as tables) and a service class which uses the SQLiteAsyncConnection class to perform operations against the database. The UWP application has a reference to the .NET Standard 2.0 library.
If the UWP application is compiled in Debug mode, everything works great. If, instead, I compile it using the Release mode (with .NET Native turned on), the application stops working. As soon as I try to perform any operation on the SQLite database, I get the following exception:
System.PlatformNotSupportedException: 'Operation is not supported on this platform.'
The Default.rd.xml is correctly added to the project and it enables including all the types in the .NET Native compilation:
<Assembly Name="*Application*" Dynamic="Required All" />
Do you have any idea?
Thanks!

Update: I confirm the problem is specific with the .NET Standard 2.0 library. I've tried to create a dummy project which includes the same database classes directly in the UWP project and everything works also in Release mode. As soon as I move the database classes in a .NET Standard 2.0 library, I start to get the System.PlatformNotSupportedException error.


How to deploy an Azure SignalR service via ARM template with Managed Identity enabled

I am deploying an Azure SignalR service using an ARM template via an Azure Devops pipeline.  I need to have a system assigned managed identity to be set on my SignalR service, so that I can reference a secret that exist in KeyVault in my SignalR upstream settings.
However, I do not find any documentation on how I can enable a system assigned identity on my SignalR resource.
(See the available documentation here for instance).
I also cannot find how to do this via az cli or Powershell.
Is it possible to enable system assigned identity on SignalR via ARM , CLI or powershell ?  if so, could this be documented please ?
Since all our deployments need to happen via pipelines, I am forced to add a secret in plain text in my SignalR upstream settings, which is not ideal offcourse.

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

ID: 241f9b6c-9bdc-8bc1-3e68-5242f0130ef5
Version Independent ID: 4fbd2132-32a2-33d3-2264-1f483fbe08a4
Content: Quickstart: Create an Azure SignalR Service - ARM template
Content Source: articles/azure-signalr/signalr-quickstart-azure-signalr-service-arm-template.md
Service: signalr
GitHub Login: @sffamily
Microsoft Alias: zhshang

@fgheysels Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Additional information: when I manually enable the system defined identity via the Azure Portal, and I select 'export template' afterwards, I can see this:
"kind": "SignalR",
"identity": {
    "principalId": "1fd9e507-142b-42e8-a576-d10a4fb7f332",
    "tenantId": "bcca0ec4-4dd0-4e9e-b6e7-9ae9717b86d5",
    "type": "SystemAssigned"
},

I'll try if it is sufficient to change my template to just specify
"identity": {
  "type": "systemAssigned"
}

Specifying
"identity": {
  "type": "SystemAssigned"
}

indeed enables a System assigned Identity to my SignalR resource.  However, question is now:  how do I retrieve the principal-id that has been assigned ?
At first, I thought I' d add an output to my ARM template, which retrieves the identity in a similar fashion as what I do with for instance an Azure Function App:
"outputs": {
    "SignalR.PrincipalId": {
      "type": "string",
      "value": "[reference(concat('Microsoft.SignalRService/SignalR/', parameters('SignalR.Name')), '2020-05-01', 'Full').identity.principalId]"
    }
}

However, this gives a parse - error:

##[error]Unable to evaluate template outputs: 'SignalR.PrincipalId'. Please see error details and deployment operations. Please see https://aka.ms/arm-debug for usage details.
##[error]Details:
##[error]DeploymentOutputEvaluationFailed: The template output 'SignalR.PrincipalId' is not valid: The language expression property 'identity' doesn't exist, available properties are 'apiVersion, location, sku, tags, kind, properties, subscriptionId, resourceGroupName, scope, resourceId, referenceApiVersion, condition, isConditionTrue, isTemplateResource, isAction, provisioningOperation'..
##[error]Check out the troubleshooting guide to see if your issue is addressed: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting
##[error]Task failed while creating or updating the template deployment.

When I issue this command:
az signalr show --name <myname> --resource-group <myrg>

I see no property that contains the identity.

Is there already any news on this ?

I wonder if there's already any update on this ?

Is there already any update on this @BryanTrach-MSFT

Hi @fgheysels,
I'm sorry it has taken so long to get back to you. I have forwarded this issue to the product team for further review. Thank you for all the details you provided. I will get back to you with more information soon.

#reassign:vicancy

You can't specify principal id when using system assigned identity. But you can use user assigned identity. In your scenario, we suggest creating a user assigned identity and grant permission in advance. Then creating SignalR with this user assigned identity

I'm not saying I want to specify th e principal id when using a system assigned identity.  That would beat the whole idea of a system assigned identity, isn't it ?
I want to create a SignalR resource and specify that it should be given a system assigned identity.   Then, once the SignalR resource is created, I'd like to retrieve the principal ID that was generated for that SignalR resource.
I have found out that I can specify a system-assigned identity to the SignalR resource by specifying this:
"identity": {
  "type": "systemAssigned"
}

AFAIK, this was not specified in the documentation at the time, but now it is.
The issue that I'm now facing, is that it doesn't seem to be possible to specify an output in my bicep or ARM template which retrieves the principal Id that has been assigned by Azure to the SignalR resource that I've just created.

If you just need to get the principal id of the resource you've just created. With azure cli, you can use az signalr show -n <name> -g <resource-group> --query identity.principalId --out tsv

@fgheysels, is this still an open issue for you? What did you decide to do?
I have researched your question, and I'm almost certain there's no direct way to get the principal id for the SignalR Service system assigned identity from within an ARM or Bicep template.
If you want to do the entire deployment in one step using a template, I recommend that you use a user assigned identity. The user assigned identity is straightforward to implement and there are examples. You have to create another resource for the user assigned identity, but then you can easily get the principal ID. It is a workaround in this case, that's true, but at least it does work. You need the ID to assign permissions in key vault, and a user assigned identity is a relatively easy way to get a SignalR Service principal ID.
To use @zackliu suggestion, you'll have to use a shell script, pipeline, etc., or manual deploy, using az CLI commands. This approach is more flexible than the single ARM template, but it is outside the scope of the ARM deployment article.
I will add a comment to using managed identities, suggesting user assigned identities for ARM or Bicep deployments. Also, I will pass it on as a feature request to add a property that would expose the principal ID for the system-assigned identity.
I'm going to close this issue now, but you can reopen it if you have more comments.
#please-close


[HHH-12823] CompositeIdTest.testDistinctCountOfEntityWithCompositeId …

…fails on databases that don't support tuple distinct counts because it expects wrong exception
https://hibernate.atlassian.net/browse/HHH-12823
Could you please backport this fix to 5.3?

Merged, thanks!


Chip does not behave as controlled component

Hello everyone,
If Chipset is provided with selectedChipIds Array and user clicks on selected chip it loses its checkmark even though it is specified inside the Array and Chip iself has selected set.
I figured Chipset holds this array and modifies it as its state even though it probably should be only taking props from higher context.
Is there a way to prevent said behaviour? Unfortunately my component is functional component and I cannot simply re-render it - so it is kinda out of the question.
Thank you very much.

@Taskkill Thanks for opening the issue - we are aware of this issue as we've had it open since the Spring. I'm going to close this as we are already tracking this.
Thanks!
https://github.com/material-components/material-components-web-react/issues/785

@moog16  Thanks but my issue was question: Is there a way around it?
I' ve definitely seen that issue. But it does not propose some mean-time fix or workaround.

@Taskkill Not without a code change, sorry. I would suggest using RMWC in the meantime. JamesFriedman has done a great job at implementing material design and up holding React best practices. RMWC actually uses MDC Web's foundation/adapter just like MDC React does, so it will always be up to spec.

@moog16 Thank you for giving me that information. Appreciate it.

no problem! LMK if you have any other questions.


Fix tail method

There is currently a method called tail that lives in /lib/tail.js.
It is incomplete and needs to be fixed!

Acceptance Criteria:

Running yarn test <methodName> results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!
Optional: write one or two more tests surrounding the method you are solving to account for potential edge cases.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

I'll take this, @BlakeGuilloud!

@mrjwc Thanks for jumping in! I will keep this locked to you for 24 hours. If you need more time please just let us know. We are looking forward to your contribution.


Fix content types for XML responses

closes #152
I couldn't find any existing tests for this functionality, I had a start at it but I'm not sure what structure you'd want to setup the queues / urls that should be hit. Any chance of some pointers?

Hi @jamesrichford ! Thanks again for this fix, really appreciated! Regarding the unit tests (that's what you are referring to, right?). I really do not have a structure for that yet since I'm mostly using the official .NET Storage Unit Tests for validating the implementation. So feel free to propose a structure :-)


add breadcrumbs component

Summary | Résumé
Add gcds-breadcrumbs and gcds-breadcrumbs-item components.
<gcds-breadcrumbs
    hide-canada-link="false"            // boolean
>
</gcds-breadcrumbs>

<gcds-breadcrumbs-item
    href=""                             // string
    is-current-page="false"             // boolean
>
</gcds-breadcrumbs-item>

Example
<gcds-breadcrumbs>
    <gcds-breadcrumbs-item href="/about">About</gcds-breadcrumbs-item>
    <gcds-breadcrumbs-item is-current-page href="/contact">Contact</gcds-breadcrumbs-item>
</gcds-breadcrumbs>

This looks good!
Although I do agree the format of including the current page in the breadcrumbs as the last item with aria-current is the best way to do breadcrumbs, should we also build in a way to accommodate the way cnada.ca does their breadcrumbs?


csharp_style_prefer_not_pattern documentation isn't clear

The example in the doc page:
// csharp_style_prefer_not_pattern = true
var y = o is not C c;

// csharp_style_prefer_not_pattern = false
var y = !(o is C c);

To me, this implies that if I have set the option to false, it will enforce the usage of the second form and reports on the first form. However, this doesn't seem to match the implementation:
https://github.com/dotnet/roslyn/blob/d57cddbaa7536c8741db191be76d2a773fd0b86f/src/Analyzers/CSharp/Analyzers/UsePatternMatching/CSharpUseNotPatternDiagnosticAnalyzer.cs#L59-L62
The implementation bails out completely if the option is false, that's just equivalent to disabling the rule.
I'm not sure whether this is an analyzer issue or doc issue.
cc: @mavasani

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

ID: d8e3fbd2-8203-aade-79d5-34a982d21991
Version Independent ID: 424ce7cb-e532-a2b0-e686-053c47e48942
Content: IDE0083: Use pattern matching ('not' operator) - .NET
Content Source: docs/fundamentals/code-analysis/style-rules/ide0083.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@CyrusNajmabadi @sharwell to confirm the intent of the analyzer and the option.

@CyrusNajmabadi @sharwell to confirm the intent of the analyzer and the option.

This is a documentation issue. The analyzer is similar to the braces analyzer: it can require one form but it cannot remove it.

This is a documentation issue. The analyzer is similar to the braces analyzer: it can require one form but it cannot remove it.

This is a documentation issue. The analyzer is similar to the braces analyzer: it can require one form but it cannot remove it.

@sharwell Thanks for clarification. But wondering how this option to false is different than setting the severity to none? In other words, why the option exists if it just enables/disables the rule when there is an another way to do the same?

This is a documentation issue. The analyzer is similar to the braces analyzer: it can require one form but it cannot remove it.

@sharwell Thanks for clarification. But wondering how this option to false is different than setting the severity to none? In other words, why the option exists if it just enables/disables the rule when there is an another way to do the same?

The option sets the preferred style for other features that generate code automatically, even if the analyzer is disabled.

The option sets the preferred style for other features that generate code automatically, even if the analyzer is disabled.

@sharwell Makes sense. I believe the documentation should also mention that.

@sharwell Makes sense. I believe the documentation should also mention that.


XSS injecting with 4.0.0.beta3

When write or paste javascript code into the select2 input, it is being fired off.
I'm using just the tags option and I've tried in both beta3 and beta2. I downloaded the version of the script from the examples page and that version doesn't have this issue.

I downloaded the version of the script from the examples page and that version doesn't have this issue.

So it's something that has been fixed in the latest branch.
Most likely it's related to the escapeMarkup option which was added at some point recently.


Fix Fusion's CI on GitHub

This has been broken for ages and is currently providing no value to us. Perhaps this could be achieved by dividing Fusion more broadly into a testable 'interior' that does not depend on Roblox, versus an 'exterior' that needs to be manually tested in-engine. Alternatively we could get rid of the CI task entirely due to how impractical it has been to maintain.

The lint CI is still very much useful, it's just that the used Selene version needs updating to handle optional types in Roblox's API dump.
Formatting CI could also be useful, but depends on #39
I don't know of any replacement for run-in-roblox, so splitting the test CI into a non-roblox portion seems like a good idea.

Not sure if I've ever seen a use case for the CI, is it useful at all?

Lune looks really interesting. I'm definitely not closed off to the idea :)


Firefox search causes value to not be available to form.

Describe the bug
Firefox appears to fail to get updated form values from the selected search result.
To Reproduce

Create an HTML form.
Use tom-select in a  element with multiple entries.
Load your test page and search using tom-select and click a result.
Submit the form.
The form value for that select field will likely be empty.

Video of the problem is attached
Expected behavior
The form value should be returned (as it seems to be, reliably, in Chrome).
Additional context
Tested on Windows Firefox 86.0b8 and 86.0.
The problem also affects other firefox based browsers such as Pale Moon.
https://user-images.githubusercontent.com/761083/112556443-25116180-8dc2-11eb-8086-2a1918c80583.mp4

Do you have that codepen saved by chance?
On Thu, Mar 25, 2021, 17:31 drsox @.***> wrote:

Describe the bug
Firefox appears to fail to get updated form values from the selected
search result.
To Reproduce

Create an HTML form.
Use tom-select in a element with multiple entries. Load your test
page and search using tom-select and click a result. Submit the form. The
form value for that select field will likely be empty. Video of the problem
is attached Expected behavior The form value should be returned (as it
seems to be, reliably, in Chrome). Additional context Tested on Windows
Firefox 86.0b8 and 86.0. The problem also affects other firefox based
browsers such as Pale Moon.
https://user-images.githubusercontent.com/761083/112556443-25116180-8dc2-11eb-8086-2a1918c80583.mp4

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/orchidjs/tom-select/issues/51, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH6YRBU6EODDTVKEJCSUNTTFPBVNANCNFSM4Z2KR6CA
.

Never mind, was just trying to save a little time, I have it working ... or rather not working.
Thanks for taking the time to create a video, it's very helpful!

Looks like the source of the extra onchange event is this line: https://github.com/orchidjs/tom-select/blob/master/src/tom-select.ts#L1171

We might not be able to avoid ffox triggering an onchange event for the form when the control input is blurred, but we can probably make sure the value is set correctly before the blur/onchange occurs.

Good and bad:

The bad: the same behavior does occur in chrome
The good: found a great way to solve this

Thanks for the updates. Using the page in the same way on my implementation in Chrome didn't seem to trigger the problem. Glad you have ideas on how to fix it :)


Invalid device ordinal error

Hello,
I am running HET on criteo dataset on a single GPU node by setting HETU_VERSION = 'gpu' in HYBRID mode. I ran  `bash examples/ctr/tests/hybrid_wdl_criteo.sh, but I am getting the following error:

I tried printing dev_id in gpu_runtime.cc. It always gives 1, 2, 3 instead of 0.
This is my configuration file
shared :
  DMLC_PS_ROOT_URI : <IP_ADDRESS>
  DMLC_PS_ROOT_PORT : 13100
  DMLC_NUM_WORKER : 2
  DMLC_NUM_SERVER : 1
  DMLC_PS_VAN_TYPE : p3
launch :
  worker : 2
  server : 1
  scheduler : true
nodes:
  - host: lmohit95
    servers: 1
    workers: 2
    chief: true

Hi @lmohit95, hybrid_wdl_criteo.sh updated recently, which will not depend on configuration file anymore. Please run this script to run HET on a single GPU:
heturun -s 1 -w 1 python examples/ctr/run_hetu.py --model wdl_criteo --val --comm Hybrid --cache lfuopt --bound 3

Besides, there are still some errors when I run hybrid_wdl_criteo.sh, but it will be fixed by #60. Please wait for its merge and pull the new code. cc @Hsword.

The PR #60 has been merged. Please inform us if there is any further questions.

Thank you. It works with a single worker.

When I run heturun -s 1 -w 1 python examples/ctr/run_hetu.py --model wdl_criteo --val (without any hybrid/ps properties), each epoch runs for 145 hrs compare to 3 to 4 min for each epoch while using hybrid. Is such a significant difference in runtime times valid?

By launching more workers on a single GPU using
heturun -s 2 -w 1 python examples/ctr/run_hetu.py --model wdl_criteo --val --comm Hybrid --cache lfuopt --bound 3,
will the training work be divided among 2 workers on a single GPU?
Currently. I get this error on running the above command

I am also trying to setup multiple GPU nodes to perform distributed training on wdl_criteo dataset. In that case, I think I will need config file. Can you suggest how I can do distributed training using different machines?

For the first two questions, I tried to run the scripts given, but it worked well in my enviroment. Please try to check your work environment.
To run distributed training using different machines, please refer to examples in examples/runner/. I'm not sure if it works well now, so please inform us if there is any errors.

It seems like you are trying to use single GPU training (without hybrid or ps). In that case, we suggest to use the local execution mode, rather than heturun.

Colocating 2 workers on a single GPU is not a discouraged practice.
Both Q1 and Q2 will lead to undefined behaviors. Please strictly follow our usage instructions for correctness and efficiency.

For multiple nodes, please refer to #63 as described by @Hankpipi .


Ai turret ignore list functions

Implements feature(s) requested in issue #1272
The first feature is exposing a function to Torquescript that allows retrieving the count of the total number of objects on a turret's ai ignore list, ignoreListCount().
The second feature is exposing a function to Torquescript that allows retrieving a reference to an object on an AI turret's ignore list based off of the index in the list of that object, rather than the object's ID (so the object's ID does not have to be known beforehand).  The feature request issue #1272 requests for this feature to return the object's ID but then shows an example modifying the object directly (increasing the health of the object by 10), so to fulfill the requested functionality based on the example, this feature returns a reference to the object itself so that properties can be called and modified on the object directly, as shown in the example on the feature request.

Makes sense. Looks good, thanks again.

Thanks for this!


AIHW - My Hospitals v0.2 (independent publisher)

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.
Please note that we are experiencing a significant delay due to COVID delays, unanticipated team leaves, and high volume of connector submissions.

[x ] I attest that the connector works and I verified by deploying and testing all the operations.
[ x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[x ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[x ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.

[x ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.

[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

[[certify-connector]]

[[certify-connector]]

@paulculmsee Apologies for the delay in response.
Congratulations! The deployment of your connector and documentation page is now complete, We have a short survey on the connector certification process that we would like for you to complete. Your feedback is appreciated and will help us improve the program, Thanks.


Repo sync for protected CLA branch

The pull request is created from main637810634104203633 to main to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Fix oneOf/anyOf with extra properties

Wait this is completely wrong. One moment…

Coverage increased (+25.03%) to 72.807% when pulling 946f15f25a1412e3605ef8233916376d40d04075 on fix-oneof-extra-properties into f3ddb452f6da3a8f9310efd940371948b4ffde81 on master.

LGTM!


bower package?

is there bower package for ionic?

There is no bower package at this time.
I'm not an Ionic user, but I was under the impression that modules could be added to projects by simply providing a web address or a local file. Could you include www.parsecdn.com/js/parse-1.6.2.js ?

yes, i can do it, thanks,


Put new tag

In order to utilize the module loader, please have put new tag for bower.

While not ideal, you can just point to the specific commit for that change
until the tag gets created:
bower install shake.js#a9f746db3ce83152ca42799d704bed463a8a19b6 --save
Pablo E. Terradillos
On Thu, Jan 8, 2015 at 2:00 AM, shin<EMAIL_ADDRESS>wrote:

In order to utilize the module loader, please have put new tag for bower.
--
Reply to this email directly or view it on GitHub
https://github.com/alexgibson/shake.js/issues/24.

I will try and get this done soon, sorry for the delay

@tehsis @alexgibson Thank you!

https://github.com/alexgibson/shake.js/releases/tag/v1.2.0


Policy: Scenario 2

Electricity network (MV lines) and MG as transformers (make sure both get accounted in the calibration)
LPG using travel-time to cities
Biogas potential
No traditional biomass or ICS
Calibrate for higher electrification rate around 90%

We will need to combine the two distance rasters MV lines and MG and use it as input for the current elec calibration


Packaging bug on Fedora and packaging example?

I went in Brest to work with fluidsim_ocean developers. We had many problems, and most of them were related to Pythran :-)
In particular, we didn't manage to compile Pythran extensions on a Fedora machine with this silly but annoying error: g++: error: mypackage/mod_pythran.cpp: No such file or directory. We tried with fluidfft and fluidsim and nothing worked.
The C++ files are created by Pythran but cannot be found to create the extension!
Then, I thought "we have to try with a serious project using Pythran" but I didn't know what to use and there is nothing on examples of usages of Pythran in the doc (see #1055 ).
Then, I thought "Is there an example package which shows how to use Pythran?" but I think the answer is no...
Then, I thought "I have to write this example" and I did it (see https://bitbucket.org/fluiddyn/example_package_fluidpythran) but using fluidpythran because it was easier and because I anyway needed to have that. The good thing is that we are indeed able to reproduce the bug on Fedora (see this issue).
@serge-sans-paille do you understand this problem? Do you think I did something wrong with PythranBuildExt and PythranExtension?

Of course, I don't get the problem on my computers (on Ubuntu and Debian).
To reproduce (see this issue for the error log):
conda create --name toto -c conda-forge python=3.6
conda activate toto
conda install numpy pythran
pip install -e hg+https://bitbucket.org/fluiddyn/example_package_fluidpythran#egg=example_package_fluidpythran -v  --no-cache-dir
python -m example_package_fluidpythran

I'm going to ask Sylvie if she gets the same problem with your test examples.

yeah, that's how it's usually done. looks like for some reason, the cwd changes at some point... Maybe we could save the absolute path of the .cpp? I'll prepare a branch with that patch.

ok, that does not work, trying something else...

I just tried a fresh fedora install and run the above command, everything compiles gracefully. Inside a virtual env (not a conda env).

And tried through conda too: everything works fine. Maybe it's an issue related to the Ifremer environment?

@paugier : pythran is now packaged on fedora, does it solve the issue?

I Assume this is fixed now, three years of Pythran within Fedora should be enough of a test.


Performance improvements & shop updater refactor

Changes:

Fix issue #130
Merge PR #129
ShopUpdater is created once, then it manages its inner task, ShopUpdaterTask
ShopUpdaterTask is always running, even if there is no player online
Listening for 3 events (respawn, change world, login) to start/stop task is more intensive than running the task no matter what
Created method updateNearestShops, so square of maximal_distance and maximal_item_distance is calculated only once

Ask me if something needs to be changed, or if you have question about what I've done.

ShopUpdaterTask is always running, even if there is no player online

It was like that in older versions, but a few people reported high CPU usage even if no player was online, which was fixed by stopping that task when the server is empty and restart it when someone joins.

If I'm correct, in previous versions you were always doing update, in a while loop. Since this is not the case, keeping updater running even if there is nobody is not an issue.
I explained what seems to be the current performance issue here.

For the teleport issue, I used a queue to hide holograms just before the next update.
It may not be the best solution, but it should work great without making holograms disappear a few ticks and reappear later.

Concerning this piece of code:

     public Shop[] getShops() {
         Collection<Shop> shops = shopLocation.values();
         return shops.toArray(new Shop[shops.size()]);
      }

I changed to:
    return shopLocation.values().toArray(new Shop[0]);

As it was concluded here: https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion.

Also, may I ask why are you returning an array instead of a collection? Why don't you do something like:

     public Collection<Shop> getShops() {
         return Collections.unmodifiableCollection(shopLocation.values());
     }

And finally, since a double chest will put 2 entries in the hashmap, calling getShops() will have duplicates, right?

Also, may I ask why are you returning an array instead of a collection?

I don't know

And finally, since a double chest will put 2 entries in the hashmap, calling getShops() will have duplicates, right?

Yes, it will contain a shop for each chest of a double chest, even if the shop itself is the same.

Should be good for merging. I'll test it on my servers tomorrow.

I just realized that this throws a ConcurrentModificationException because shops are removed from shopLocation while iterating over the view shopLocationValues returned by getShops().
// ShopUtils line 229

for (Shop shop : getShops()) {
    removeShop(shop, false);
    plugin.debug("Removed shop (#" + shop.getID() + ")");
}

Oh, didn't thought of that. Then this would be fine:
    /**
     * Get all shops
     * Do not use for removing while iteration!
     *
     * @see #getShopsCopy()
     * @return Read-only collection of all shops, may contain duplicates
     */
    public Collection<Shop> getShops() {
        return shopLocationValues;
    }

    /**
     * Get all shops
     * Same as {@link #getShops()} but this is safe to remove while iterating
     *
     * @see #getShops()
     * @return Copy of collection of all shops, may contain duplicates
     */
    public Collection<Shop> getShopsCopy() {
        return new ArrayList<>(getShops());
    }

So for normal iteration, getShops() would be really fast, and if you need to remove shops then getShopsCopy() will work great.
The latter method doesn't have to be unmodifiable since this is a copy.

I just changed
return shopLocationValues;

to
return Collections.unmodifiableCollection(new ArrayList<>(shopLocation.values()));

I'm currently doing a PR to fix small issues in your code (and some that I did), but threading branch should not be necessary as #130 is already fixed.

It's not necessary, but it on a server 500 players are moving in a shop building there would be about 500 threads for showing holograms and another 500 for removing it. I don't know if about 1000 threads is a good idea.

Well tasks are created only if state does change. Also, registering a task using bukkit scheduler doesn't necessarily create a new thread.
But I just thought, since we are already iterating in an async thread, why are we creating new task?


Admin interface to edit the localize table

This will look like the Build interface, but it should be under admin.


Error occurs at Line 146 of get_edges()

When I use your full_atom.ckpt to sample for the protein pockets in the test set of CrossDocked dataset, the following error occured.
File "DiffSBDD/equivariant_diffusion/dynamics.py", line 146, in get_edges
    edges = torch.stack(torch.where(adj), dim=0)
RuntimeError: nonzero is not supported for tensors with more than INT_MAX elements,   file a support request

Could you please fix it? Is the checkpoint for CrossDocked dataset available? Hopefully, it is trained on its training set.

Thanks for this suggestion! We initially tried to minimize dependencies but if radius_graph is much faster, we should consider using it in the future.
Note that we don't remove self-loops in get_edges. If you set loop=True in radius_graph, the behavior should be more similar to the original function.

The new error appears to be unrelated to the old one. Are you sure it was caused by radius_graph?

Honestly, your code is very hard to run, because it needs a lot of memory. Even though I found a great GPU with large memory and trained your code for about 6 months, the sampling results are much worse than your first draft. So, not mention to the second manuscript. I am sorry to say that your reported results are not that convincing. Could you please make your code easy to run such that other researchers can test your results. By the way, I ran your code on CrossDocked dataset with full condition.


Support POST to oidc/logout

When ID_TOKEN value of id_token_hint is too long, browser tends to truncate logout URL. Hence, we need to support POST to logout.
https://localhost:9443/oidc/logout?id_token_hint=<ID_TOKEN>&post_logout_redirect_uri=<REDIRECT_URI>&state=

@ayshsandu Can we actually support POST?
We need to get the consent of the user before logging out and redirect the user back to post_redirect_uri after clearing cookies etc.

@ayshsandu It seems we already support this via HTML auto submit forms. Information seems to be missing from docs regarding this. Created https://wso2.org/jira/browse/DOCUMENTATION-7830 track doc changes.


Fix useSSL configuration

I added the config parameter to the wrong bean, it belongs on the construction of JedisPool not JedisSentinelPool

Should ask on the grails slack channel if they can release the branch again.  Did you bump the version?


Add an ID to the options-container

In the future I'll be adding an aria-controls={options-container-id} to the .container-head of this component. aria-controls exposes the relationship between .container-head and .options-container to accessibility APIs.
For this reason it is important that the .options-container actually has an #id so I'm adding it here.
Adding a non-optional value like this to a component would normally be a breaking change, however there are no bits of GOV.UK using this component yet so it's fine.

This looks fine as is. Just wondering why is adding aria-controls a future enhancement rather than part of this?

@edds Adding in the aria-controls is part of a bigger pull request I'm working on that uses js to replace div.container-head with a button which is better with assistive tech apis. This PR is the outcome of a conversation with Léonie which is documented here: https://github.com/alphagov/static/pull/529#issuecomment-71441290. This work is not big but it's quite hard to fit into my head all at once and so I want to get API changes like this (which would be a breaking change) into master ahead of the grunt work.

Thank you for explaining. That is cool then :+1:


How to know if this bundle is called automatically?

I have installed this bundle and it uses download_binary: true in config/packages/sensiolabs_minify.yaml.
I can download the binary:
/app # bin/console minify:install

 [OK] The Minify binary has been installed

Then I run asset-map:compile to simulate a deployment:
/app # bin/console --env=prod asset-map:compile -vvv

 // Compiling and writing asset files to public

 // Compiled 301 assets

 // Manifest written to public/assets/manifest.json

 // Import map data written to public/assets/importmap.json.

 // Entrypoint metadata written for 1 entrypoints (app).

How to know if this bundle is called automatically? Is a text supposed to appear to confirm that some files were minified when running asset-map:compile?
Then I set download_binary: true, delete the binary and run asset-map:compile to simulate a deployment:
/app # rm -v var/minify/minify
removed 'var/minify/minify'
/app # bin/console --env=prod asset-map:compile -vvv

 // Compiling and writing asset files to public

 // Compiled 301 assets

 // Manifest written to public/assets/manifest.json

 // Import map data written to public/assets/importmap.json.

 // Entrypoint metadata written for 1 entrypoints (app).

It should fail since I deleted the binary, but there is no error message.
So it looks like something is missing to call minify-bundle, it neither minify files or crash when the binary is missing.

I tried on another project and it looks like it works once we delete the cache.

Yes, assetmapper requires a php bin/console c:p:c --all i think


Blocking render call

Make it possible to render a new frame synchronously; in other words, a public API to call canvas._draw_frame_and_present directly. Do we have this?
Relates to https://github.com/pygfx/pygfx/discussions/667

We don't have this for normal canvases, but the offscreen canvas does exactly that:
https://github.com/pygfx/wgpu-py/blob/b54f628c59f0be89c4b61046a28c4ce380e8ae22/wgpu/gui/offscreen.py#L202-L209
User could use the private canvas._draw_frame_and_present for now. I'm a little worried, if we make this a public method, how this affects e.g. async code, once we implement that.

Relates to #391

I implemented this in #618. Some context I found along the way: It's not a matter of just calling _draw_frame_and_present(). Well, it is for glfw, for qt that'd result in flicker, because the drawing is done outside qt's draw event. Fortunately, the systems that need it (qt and wx) both have a method to force a repaint. For the jupyter backend we can also force the drawing, which will basically feed images to the browser until the websocket buffer fills up.
Another, more friendly, approach for supporting uses-cases for drawing inside a loop, could be to have an async method, that can request a draw and then await for that draw to have occurred.

Implemented in rendercanvas.


[PyTorch] Fix FP8 checkpointing for non forward execution cases

For saving the FP8 checkpoint in PyTorch, TE relies on internal attributes such as self.fp8 and self.fp8_calibration to figure out whether or not to keep the state as None or save all the relevant tensors from fp8_meta. This breaks for cases when the checkpointing is done without actually running forward execution because the defaults for self.fp8 and self.fp8_calibration are False. As a result, the FP8 checkpoint is saved with incomplete states. An example and common use case for this is when writing checkpoint converters or mappers. For more background.
The solution is to save some variable inside fp8_meta which can also be used as a check when saving the checkpoint.

/te-ci

FYI @sudhakarsingh27


⚠ ClamAV has degraded performance

In 2e73e12, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 571f80b after 13 minutes.


K8SSAND-1222 ⁃ Validation via Go struct tags

What is missing?
Some settings in Cassandra are immutable once a DC, cluster or node is bootstrapped.

It would be good to validate that these aren't changed via a validating webhook.
It might be good to keep track of what features can't be changed post DC/cluster/node bootstrap via struct tags attached to the API types.

Why do we need it?
Stability - we must ensure that users can't change (e.g.) num_tokens and similar fields after the DC is up.
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1222
┆priority: Medium

Is this a duplicate of #121?

I think it is separate. I'm not sure what will be implemented in #121, but I figured that it will probably be simpler things. This one is really for the harder cases and also focuses on providing a more general mechanism to define (im)mutability via the CRD, rather than writing custom logic to validate specific fields.


refactor(iroh): Add datagram send queue to RelayActor

Description
The RelayActor needs to process all sent datagrams and pass them onto the correct ActiveRelayActor.  But it also needs to process a few other inbox messages.
The other inbox messages are higher priority however, since they can heal the connected relays.  So this adds a separate datagram send queue, so that the inbox is not flooded by datagrams.
Breaking Changes

Notes & open questions
This targets #3061 as base.
Change checklist

[ ] Self-review.
[ ] Documentation updates following the style guide, if relevant.
[ ] Tests if relevant.
[ ] All breaking changes documented.

@matheus23 this is still draft but you might already have opinions on the channel created (RelayDatagramSendChannelSender and RelayDatagramSendChannelReceiver), which -pending review- final already.


FEATURE REQUEST: Set card size before stream starts

Currently if you have multiple WebRTC cards configured in a single dashboard with auto-play an accordion effect will occur as streams load and size is determined.
Would it be possible to set the card size to what the stream will be or perhaps has been in the past? That way each card is the expected size before a stream loads.

Shawn, thank you for your post, let me put in a word from my side.
I would be obliged if a "put in full-screen" option can be added to the card-window size feature request above.
I've been looking for various workarounds including browser-mod but they all are not very relevant.
Full-screen mode can be very helpful for a wall-panel setups including doorbell triggers.
Now there is a "full-screen" button in the webrtc mode, but I have no idea how to make it as an action from trigger.

You can try to set minimum height with style setting.
This card already has default size:
https://github.com/AlexxIT/WebRTC/blob/6245bb5c75a4bb6c26d89e7641618f37fd5df273/custom_components/webrtc/www/webrtc-camera.js#L44-L49


Plugin support.

Could you update and add vue plugin support - so we can easily just use vue.use(vueSlider);
import Vue from 'vue';

import VueSliderComponent from 'vue-slider-component';
Vue.use(vueSlider);

import VSlider from './vue2-slider.vue';

const VueSlider = {
    install(Vue, options) {
        Vue.component('VueSliderComponent', VSlider)
    };
};

export default VueSlider;

if (typeof window !== 'undefined' && window.Vue) {
    window.Vue.use(VueSlider);
}

I think this is not necessary, and this also limits the alias of the global component.
As you said, only two lines of code are needed to set up a global component.


refactor: turn metadata registry into a lightweight token

Issue or need
To save some bytes, metadata registry can be turned into a lightweight token

Proposed changes
Turn metadata registry into an injection token. Create a function to also provide a local one for late loading managers.

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#872  👈
main

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

Join @davidlj95 and the rest of your teammates on  Graphite


ch04_classification/Concept02_logistic error

python is show this error:
ValueError: Cannot feed value of shape (1, 2000) for Tensor 'y:0', which has shape '(?,)'
I just copyed the code from the notebook.


Clarify the purpose of getOrElse

Just a little tweak to make it clearer to beginners that getOrElse will return the wrapped value if the Option is a Some, and the provided default value if it is None (since there seemed to be some confusion in the comments on this section).

Thanks for the PR @emma-burrows. Sorry I didn't respond earlier I was a bit busy.

Thanks a lot! I'm gonna wait until tomorrow if someone else has any feedback. Otherwise I'll merge it :)


Feature request: Bridge to mas for installing Mac App Store apps too.

Description of feature/enhancement
Recently came across mas and it allows installing of apps in the app store and keeping them updates. Maybe a bridge to this app so that brew cask install <app> will check the app store if not found in any cask and install it from there too.
It does require installing via an ID and not the name, but it could possibly be searched and installed to override that. cask install irvue will try the cask, if not found under the hood do mas search irvue and get the id and then run mas install<PHONE_NUMBER>
Justification
Just a way to unify all app installs on macOS.
Example use case
brew cask install irvue -> Error: No available Cask for irvue
mas install<PHONE_NUMBER> -> Installing Irvue - Unsplash Wallpapers

Sorry, but we won't be implementing this. mas works just fine on its own, and I don't believe we gain anything my shimming around it.
If you want to keep all of your dependencies tracked in one place, homebrew-bundle allows you to specify mas apps alongside Casks and Formulae.

Ah that's good to know, thanks, @jawshooah


[Model] Add use_qk_norm option for Cohere model

This pr updates use_qk_norm option for Cohere series models like Command-R-Plus.

@tlopex Sorry for the delayed response. Split-and-combine is okay for now. Could you try the 4b quantized version on your end? If that's not possible I can find a way to test on my side.

@MasterJH5574
My device is equipped with 16GB of GPU memory, and after applying INT4 quantization, the 55.1B c4ai-command-r-plus-4bit model is estimated to still require around 27.5GB of memory, I assume that it will be difficult for me to test this. So I may need your assistance.

@MasterJH5574 Hi! Could you find a way to test this, so we can determine if the PR is ready for merging?


Create Your Own Blog Post About Verifiable Credentials (VCs)

Create Your Own Blog About VCs
🚀 Goal
Create your own blog post about verifiable credentials (VCs) on your website.
🤔 Background
This issue focuses specifically on spreading more awareness about VCs. Your contributions here will help you spread your knowledge across the web and to our community!
🤝 How You Can Contribute
We've broken it down into smaller tasks. Every contribution counts!
🔑 Tasks and Acceptance Criteria
❗You must only assign yourself one task at a time to give everyone a chance to participate.❗
You may assign yourself your next task after your current task is reviewed & accepted.

[ ] You must host your content on your own website or channel.
[ ] Add your content information directly to the site/src/externalContributors.json file in the repository.
[ ] Save your image in the site/static/image/external-contributor/ directory, ensuring the image is in a 16:9 ratio.
[ ] Create a pull request with your changes for review.
[ ] Link your submitted PR in a comment here to count towards Hacktoberfest.

Your contribution in externalContributors.json must include:

[ ] Type: Video, Blog, Social (please choose the appropriate one)
[ ] Thumbnail: the path to your image, e.g., /img/external-contributor/yourimage.png
[ ] Title: the title of your content
[ ] Link: a direct link to your content
[ ] Your name

Here’s an example of the JSON format to follow:
[
    {
        "type": "blog",
        "thumbnail": "/img/external-contributor/yourimage.png",
        "title": "Exploring Web5",
        "link": "https://linktoyourcontent.com/web5-post",
        "contributor": "Your Name"
    }
]

Available type options:

Video
Blog
Social

🌟 Resources

[ ] Our Blogs
[ ] Our YouTube channel

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch for this task
Follow the tasks outlined above
Submit a pull request with your changes
Respond to any feedback during the review process

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

.take

Hey @KiranBaliga , please keep in mind that all of these blog post and content issues must be focused on Web5 and not Web3. Here's some of our own resources on VCs in the context of Web5:

https://developer.tbd.website/docs/web5/verifiable-credentials/what-are-vcs
https://developer.tbd.website/docs/web5/verifiable-credentials/fan-club-vc
https://developer.tbd.website/blog/7-ways-we-use-vcs-today

Thank you!

@blackgirlbytes Please review the PR and action accordingly. Your feedback is highly appreciated.
Link : https://dev.to/kiran_baliga/understanding-verifiable-credentials-vcs-in-web5-a-beginners-guide-f38
Thank you!


Added new config option to override name of PowerShell executable

In PowerShell 6, some unix distros have changed the name of the executable from 'powershell' to 'pwsh'.
See issue #34.
Cheers,
Steph

It fails because it tries to merge to develop branch which is outdated (I do not used any more), but I have looked your commit and I get the idea.
I will try to include something similar into the next version (also for windows, because sometimes we
could need to launch a different executable which exists in another directory)


Fixed module names and descriptions for DFS

@JasonGerend,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Client-side schema field extensions

Add the possibility to change nullability of certain fields on the client.
Given the following type:
type RepositoryConnection {
 nodes: [Repository]
}

Allow the client to fail the whole query on null nodes by adding this to extra.graphqls:
type RepositoryConnection {
 nodes: [Repository!]!
}

If the nodes list or any list item is null, the error should bubble up like regular errors.
Gradle option
In addition to the manual schema.graphqls extensions, add a Gradle option that allows to opt-in non-null types globally based on schema coordinates and regexes:
apollo {
  schema {
    input.set("src/main/graphql/schema.graphqls")
    nonNull {
      // Make everything non-null by default
      includes.add(".*")
      // Except Query.repository
      excludes.add("Query.repository")
    }
  }
}

Nullability is handled with nullability directives. See https://www.apollographql.com/docs/kotlin/v4/advanced/nullability


Make dynamic status indicators uniform and pretty

There are several other HTML classes that link to dynamic status on the website. To make sure all of these look obviously dynamic and fit with the style and color scheme they should be grouped together.
Also it'd be nice if the border color and rounded corners of these boxes were the same as is used elsewhere on the site. So #428bca with 4px rounding. "It really ties the room together, man!"

@machikoyasuda could you review this PR?

Thanks for the great addition an the great pull request full of screenshots <3
Thanks for the review @machikoyasuda 🙌