liveness and readiness probes failing on some nodes

Some calico pods are in crashloopbackoff state due to liveness and readiness probes failing.
The logs are not showing a clear error message:
2022-02-17 09:45:35.728 [DEBUG][46] felix/health.go 148: GET /readiness
2022-02-17 09:45:35.729 [DEBUG][46] felix/health.go 182: Checking state of reporter reporter=&health.reporterState{name:"felix-startup", reports:health.HealthReport{Live:true, Ready:true}, timeout:0, lates
t:health.HealthReport{Live:true, Ready:true}, timestamp:time.Time{wall:0xc07ba42ec3aa4eec, ext:1327941909, loc:(*time.Location)(0x37fb6c0)}}
2022-02-17 09:45:35.729 [DEBUG][46] felix/health.go 182: Checking state of reporter reporter=&health.reporterState{name:"int_dataplane", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000000
000, latest:health.HealthReport{Live:true, Ready:false}, timestamp:time.Time{wall:0xc07ba42f2b7e8697, ext:2996161222, loc:(*time.Location)(0x37fb6c0)}}
2022-02-17 09:45:35.729 [WARNING][46] felix/health.go 188: Reporter is not ready. name="int_dataplane"
2022-02-17 09:45:35.729 [DEBUG][46] felix/health.go 182: Checking state of reporter reporter=&health.reporterState{name:"async_calc_graph", reports:health.HealthReport{Live:true, Ready:true}, timeout:20000
000000, latest:health.HealthReport{Live:true, Ready:false}, timestamp:time.Time{wall:0xc07ba42f48b048ac, ext:3412219617, loc:(*time.Location)(0x37fb6c0)}}
2022-02-17 09:45:35.729 [WARNING][46] felix/health.go 188: Reporter is not ready. name="async_calc_graph"
2022-02-17 09:45:35.729 [INFO][46] felix/health.go 196: Overall health status changed newStatus=&health.HealthReport{Live:true, Ready:false}
2022-02-17 09:45:35.729 [DEBUG][46] felix/health.go 199: Calculated health summary healthResult=&health.HealthReport{Live:true, Ready:false}
2022-02-17 09:45:35.729 [WARNING][46] felix/health.go 154: Health: not ready

2022-02-17 09:45:32.269 [DEBUG][46] felix/sockmap_state.go 37: Created new Sockmap state.
2022-02-17 09:45:32.269 [DEBUG][46] felix/sockmap_state.go 191: Wiping old sockmap state.
2022-02-17 09:45:32.269 [DEBUG][46] felix/bpf.go 154: running: bpftool prog detach pinned /sys/fs/bpf/calico/sockmap/calico_sk_msg_v1 msg_verdict pinned /sys/fs/bpf/calico/sockmap/calico_sock_map_v1
2022-02-17 09:45:32.277 [DEBUG][46] felix/sockmap_state.go 194: Failed to detach sk_msg program from sockmap. error=failed to detach sk_msg prog from sockmap: exit status 255
Error: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sk_msg_v1): No such file or directory

2022-02-17 09:45:32.277 [DEBUG][46] felix/bpf.go 154: running: bpftool cgroup detach /run/calico/cgroup sock_ops pinned /sys/fs/bpf/calico/sockmap/calico_sockops_v1
2022-02-17 09:45:32.289 [DEBUG][46] felix/sockmap_state.go 198: Failed to detach sockops program from cgroup. error=failed to detach sockops prog from cgroup: exit status 255
Error: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sockops_v1): No such file or directory

2022-02-17 09:45:32.289 [DEBUG][46] felix/sockmap_state.go 202: Failed to remove sockops program. error=remove /sys/fs/bpf/calico/sockmap/calico_sockops_v1: no such file or directory
2022-02-17 09:45:32.289 [DEBUG][46] felix/sockmap_state.go 206: Failed to remove sk_msg program. error=remove /sys/fs/bpf/calico/sockmap/calico_sk_msg_v1: no such file or directory
2022-02-17 09:45:32.289 [DEBUG][46] felix/sockmap_state.go 210: Failed to remove sockmap endpoints map. error=remove /sys/fs/bpf/calico/sockmap/calico_sk_endpoints_v1: no such file or directory
2022-02-17 09:45:32.289 [DEBUG][46] felix/bpf.go 154: running: bpftool map --json getnext pinned /sys/fs/bpf/calico/sockmap/calico_sock_map_v1
2022-02-17 09:45:32.305 [DEBUG][46] felix/sockmap_state.go 214: Failed to remove sockmap program. error=failed to clear sock map: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sock_map_v1): No such file or directory
2022-02-17 09:45:32.306 [INFO][46] felix/connecttime.go 46: Running bpftool to look up programs attached to cgroup args=[]string{"bpftool", "-j", "-p", "cgroup", "show", "/run/calico/cgroup"}
2022-02-17 09:45:32.381 [DEBUG][46] felix/cleanup.go 33: Trying to clean up any left-over BPF state from a previous run.
2022-02-17 09:45:32.393 [DEBUG][46] felix/cleanup.go 53: Found calico map name="calico_failsafe"
2022-02-17 09:45:32.445 [INFO][46] felix/route_table.go 241: Calculated interface name regexp regex="^cali.*"
2022-02-17 09:45:32.445 [DEBUG][46] felix/int_dataplane.go 919: registering ManagerWithRouteTables manager=""
2022-02-17 09:45:32.445 [INFO][46] felix/ipsets.go 119: Queueing IP set for creation family="inet" setID="all-ipam-pools" setType="hash:net"
2022-02-17 09:45:32.445 [INFO][46] felix/ipsets.go 119: Queueing IP set for creation family="inet" setID="masq-ipam-pools" setType="hash:net"
2022-02-17 09:45:32.445 [INFO][46] felix/route_table.go 241: Calculated interface name regexp regex="^wireguard.cali$"
2022-02-17 09:45:32.445 [DEBUG][46] felix/int_dataplane.go 919: registering ManagerWithRouteTables manager=""
2022-02-17 09:45:32.445 [INFO][46] felix/int_dataplane.go 772: Registering to report health.
2022-02-17 09:45:32.457 [INFO][46] felix/int_dataplane.go 1500: attempted to modprobe nf_conntrack_proto_sctp error=exit status 1 output=""

Your Environment

Calico version v3.17.3
Kubernetes v1.20.2
Operating System and version: Ubuntu 20.04.1

Error: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sk_msg_v1): No such file or directory

Looks like a BPF failure. FWIW, Calico v3.17 is quite old and we've made a huge number of fixes to the BPF dataplane in particular since then. I'd highly recommend attempting to reproduce on a newer Calico version before digging in further.

I think those logs are a red herrring, it's just failing to clean up the old BPF programs (because they don't exist).  @der-ali are you running in eBPF mode?
What're the liveness/readiness errors shown by kubectl describe pod <calico-node pod> ?

Am also seeing the similar issue. Calico pod is not ready.
Environment

K8s version - 1.21.5
calico version - v3.19.2
Operating System - Debian 10
Kernel : 4.19.81-OpenNetworkLinux

calico pod description
Warning  Unhealthy  26m (x2 over 26m)     kubelet            Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused
Normal   Killing    25m                   kubelet            Container calico-node failed liveness probe, will be restarted
Normal   Created    25m (x2 over 26m)     kubelet            Created container calico-node
Normal   Pulled     25m (x2 over 26m)     kubelet            Container image "quay.io/calico/node:v3.19.2" already present on machine
Warning  Unhealthy  16m (x44 over 26m)    kubelet            Liveness probe failed:
Warning  BackOff    6m21s (x38 over 19m)  kubelet            Back-off restarting failed container
Warning  Unhealthy  82s (x80 over 26m)    kubelet            Readiness probe failed:
Calico pod log
2022-03-05 15:20:37.156 [DEBUG][73] felix/int_dataplane.go 936: Checking if we need to clean up the VXLAN device
2022-03-05 15:20:37.156 [DEBUG][73] felix/int_dataplane.go 940: VXLAN disabled and no VXLAN device found
2022-03-05 15:20:37.157 [DEBUG][73] felix/lib.go 105: Raw kernel version rawVersion="Linux version 4.19.81-OpenNetworkLinux (root@mustaq-VirtualBox) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Thu Mar 3 05:12:02 UTC 2022\n"
2022-03-05 15:20:37.157 [DEBUG][73] felix/lib.go 113: Parsed kernel version version=4.19.81
2022-03-05 15:20:37.158 [DEBUG][73] felix/xdp_state.go 111: Created new xdpState.
2022-03-05 15:20:37.158 [INFO][73] felix/int_dataplane.go 466: XDP acceleration enabled.
2022-03-05 15:20:37.243 [DEBUG][73] felix/sockmap_state.go 37: Created new Sockmap state.
2022-03-05 15:20:37.243 [DEBUG][73] felix/sockmap_state.go 191: Wiping old sockmap state.
2022-03-05 15:20:37.243 [DEBUG][73] felix/bpf.go 154: running: bpftool prog detach pinned /sys/fs/bpf/calico/sockmap/calico_sk_msg_v1 msg_verdict pinned /sys/fs/bpf/calico/sockmap/calico_sock_map_v1
2022-03-05 15:20:37.245 [DEBUG][73] felix/sockmap_state.go 194: Failed to detach sk_msg program from sockmap. error=failed to detach sk_msg prog from sockmap: exit status 255
Error: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sk_msg_v1): No such file or directory
2022-03-05 15:20:37.245 [DEBUG][73] felix/bpf.go 154: running: bpftool cgroup detach /run/calico/cgroup sock_ops pinned /sys/fs/bpf/calico/sockmap/calico_sockops_v1
2022-03-05 15:20:37.247 [DEBUG][73] felix/sockmap_state.go 198: Failed to detach sockops program from cgroup. error=failed to detach sockops prog from cgroup: exit status 255
Error: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sockops_v1): No such file or directory
2022-03-05 15:20:37.247 [DEBUG][73] felix/sockmap_state.go 202: Failed to remove sockops program. error=remove /sys/fs/bpf/calico/sockmap/calico_sockops_v1: no such file or directory
2022-03-05 15:20:37.247 [DEBUG][73] felix/sockmap_state.go 206: Failed to remove sk_msg program. error=remove /sys/fs/bpf/calico/sockmap/calico_sk_msg_v1: no such file or directory
2022-03-05 15:20:37.248 [DEBUG][73] felix/sockmap_state.go 210: Failed to remove sockmap endpoints map. error=remove /sys/fs/bpf/calico/sockmap/calico_sk_endpoints_v1: no such file or directory
2022-03-05 15:20:37.248 [DEBUG][73] felix/bpf.go 154: running: bpftool map --json getnext pinned /sys/fs/bpf/calico/sockmap/calico_sock_map_v1
2022-03-05 15:20:37.249 [DEBUG][73] felix/sockmap_state.go 214: Failed to remove sockmap program. error=failed to clear sock map: bpf obj get (/sys/fs/bpf/calico/sockmap/calico_sock_map_v1): No such file or directory
2022-03-05 15:20:37.250 [INFO][73] felix/connecttime.go 51: Running bpftool to look up programs attached to cgroup args=[]string{"bpftool", "-j", "-p", "cgroup", "show", "/run/calico/cgroup"}
2022-03-05 15:20:37.252 [DEBUG][73] felix/cleanup.go 33: Trying to clean up any left-over BPF state from a previous run.
2022-03-05 15:20:37.258 [INFO][73] felix/route_table.go 249: Calculated interface name regexp regex="^cali.*"
2022-03-05 15:20:37.258 [DEBUG][73] felix/int_dataplane.go 981: registering ManagerWithRouteTables manager=""
2022-03-05 15:20:37.258 [INFO][73] felix/ipsets.go 126: Queueing IP set for creation family="inet" setID="all-ipam-pools" setType="hash:net"
2022-03-05 15:20:37.259 [INFO][73] felix/ipsets.go 126: Queueing IP set for creation family="inet" setID="masq-ipam-pools" setType="hash:net"
2022-03-05 15:20:37.259 [INFO][73] felix/route_table.go 249: Calculated interface name regexp regex="^wireguard.cali$"
2022-03-05 15:20:37.259 [DEBUG][73] felix/int_dataplane.go 981: registering ManagerWithRouteTables manager=""
2022-03-05 15:20:37.259 [INFO][73] felix/int_dataplane.go 834: Registering to report health.
2022-03-05 15:20:37.262 [INFO][73] felix/int_dataplane.go 1623: attempted to modprobe nf_conntrack_proto_sctp error=exit status 1 output=""
2022-03-05 15:20:37.262 [INFO][73] felix/int_dataplane.go 1625: Making sure IPv4 forwarding is enabled.
2022-03-05 15:20:37.263 [INFO][73] felix/table.go 506: Queueing update of chain. chainName="cali-failsafe-in" ipVersion=0x4 table="raw"
2022-03-05 15:20:37.263 [DEBUG][73] felix/table.go 939: Would invalidate dataplane cache but it was already invalid. ipVersion=0x4 reason="chain update" table="raw"
2022-03-05 15:20:37.263 [INFO][73] felix/table.go 506: Queueing update of chain. chainName="cali-failsafe-out" ipVersion=0x4 table="raw"
2022-03-05 15:20:37.263 [DEBUG][73] felix/table.go 939: Would invalidate dataplane cache but it was already invalid. ipVersion=0x4 reason="chain update" table="raw"
2022-03-05 15:20:37.263 [INFO][73] felix/table.go 506: Queueing update of chain. chainName="cali-PREROUTING" ipVersion=0x4 table="raw"
2022-03-05 15:20:37.263 [DEBUG][73] felix/table.go 577: Incref chain chainName="cali-from-host-endpoint"
2022-03-05 15:20:37.263 [INFO][73] felix/table.go 580: Chain became referenced, marking it for programming chainName="cali-from-host-endpoint"
2022-03-05 15:20:37.263 [DEBUG][73] felix/table.go 939: Would invalidate dataplane cache but it was already invalid. ipVersion=0x4 reason="chain update" table="raw"
2022-03-05 15:20:37.341 [INFO][73] felix/table.go 506: Queueing update of chain. chainName="cali-OUTPUT" ipVersion=0x4 table="raw"
2022-03-05 15:20:37.341 [DEBUG][73] felix/table.go 577: Incref chain chainName="cali-to-host-endpoint"
2022-03-05 15:20:37.342 [INFO][73] felix/table.go 580: Chain became referenced, marking it for programming chainName="cali-to-host-endpoint"
2022-03-05 15:20:37.342 [DEBUG][73] felix/table.go 939: Would invalidate dataplane cache but it was already invalid. ipVersion=0x4 reason="chain update" table="raw"
2022-03-05 15:20:37.342 [DEBUG][73] felix/table.go 459: Updating rule insertions chainName="PREROUTING" ipVersion=0x4 table="raw"
2022-03-05 15:20:37.342 [DEBUG][73] felix/table.go 577: Incref chain chainName="cali-PREROUTING"
2022-03-05 15:20:37.342 [INFO][73] felix/table.go 580: Chain became referenced, marking it for programming chainName="cali-PREROUTING"
2022-03-05 15:20:37.342 [DEBUG][73] felix/table.go 939: Would invalidate dataplane cache but it was already invalid. ipVersion=0x4 reason="insertion" table="raw"
2022-03-05 15:20:37.342 [DEBUG][73] felix/table.go 459: Updating rule insertions chainName="OUTPUT" ipVersion=0x4 table="raw"
2022-03-05 15:20:37.342 [DEBUG][73] felix/table.go 577: Incref chain chainName="cali-OUTPUT"
2022-03-05 15:20:37.343 [INFO][73] felix/table.go 580: Chain became referenced, marking it for programming chainName="cali-OUTPUT"
2022-03-05 15:20:37.343 [DEBUG][73] felix/table.go 939: Would invalidate dataplane cache but it was already invalid. ipVersion=0x4 reason="insertion" table="raw"
2022-03-05 15:20:37.343 [DEBUG][73] felix/static.go 556: Adding workload match rules ifacePrefix="cali"
2022-03-05 15:20:37.343 [DEBUG][73] felix/static.go 272: Adding workload match rules ifacePrefix="cali"
2022-03-05 15:20:37.343 [DEBUG][73] felix/static.go 653: Adding workload match rules ifacePrefix="cali"
2022-03-05 15:20:37.343 [DEBUG][73] felix/static.go 155: Adding workload match rules ifacePrefix="cali"

@cpsrujana do your nodes with typha pods on them allow typha inbound traffic? Is traffic allowed on the BGP port?

I am going to close this due to inactivity but if the problem still persists, give us a shout and we'll reopen the issue.

@mgleung Could you please reopen this issue.
I met the same issue when install calico with kubernetes.
The exception happen during join one worker node to kubernetes cluster, could anyone help to take a look?

@xiaomixin could I get you to share the details of your cluster and probably some of the logs requested above as well?

@xiaomixin this issue is close to 2 years old, so most probably not the same problem you're facing. I will close this, could you please open a new issue and fill in all the requested info from the template (the more detailed the better). Thanks!


fix: failed tests

Issue #, if available:
N/A
Description of changes:

Fixed failed tests

Description of how you validated changes:

The function role tag propagation feature was introduced by #1194
Three tests did not correspond with this

Checklist:

[x] Write/update tests
[x] make pr passes
~Update documentation~
~Verify transformed template deploys and application functions as expected~
~Add/update example to examples/2016-10-31~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@260e473). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1234   +/-   ##
==========================================
  Coverage           ?   94.48%
==========================================
  Files              ?       72
  Lines              ?     3736
  Branches           ?      739
==========================================
  Hits               ?     3530
  Misses             ?      104
  Partials           ?      102

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 260e473...1a91dd5. Read the comment docs.


WIP: MWW test

Coverage decreased (-0.6%) to 60.327% when pulling 778e6c9ff245525fe34f96338c984f44cd673610 on doutib:contributing-issue-175 into fe934f35e67546a66e3cc71c8f58aec6ea14211d on berkeley-stat222:master.

@hduongtrong do you have any suggestion for the tests I can do for this function? For example the first one pvalues which computes p values of hypothesis tests on a bunch of sample distribution.

@lunadadada @z357412526 @CenzhuoYao Do you have any suggestion for the code ?

Are the docstrings clear enough?
Any idea to make it faster?
What about writing style?

@doutib yeah testing function maybe: generate 1000 standard Gaussian, generate another 1000 standard Gussian, perform the function and make sure the pvalues is > say 0.5? Then generate 1000 standard gaussian, generate 1000 standard exponential, then make sure the pvalues is < say 0.5?

Coverage increased (+1.8%) to 62.758% when pulling e9c20f9108782c769cb01177b411e697f0e37aeb on doutib:contributing-issue-175 into fe934f35e67546a66e3cc71c8f58aec6ea14211d on berkeley-stat222:master.

@hduongtrong thank you for the review, I have just addressed them.
@lunadadada @z357412526 @CenzhuoYao do you have any idea of what could make the code better, and what other tests I can add for the other functions?

Coverage increased (+2.8%) to 63.79% when pulling bd9d464f1368fadb7d969a1ed4b8218679c8ab78 on doutib:contributing-issue-175 into fe934f35e67546a66e3cc71c8f58aec6ea14211d on berkeley-stat222:master.

Coverage increased (+2.8%) to 63.81% when pulling 0fa3c063ef8285073f79c6311ec5a2d88d1b47fc on doutib:contributing-issue-175 into fe934f35e67546a66e3cc71c8f58aec6ea14211d on berkeley-stat222:master.

Coverage increased (+0.6%) to 64.905% when pulling 64052fc4e0647eced8ffc76f848dccfaa3f3056c on doutib:contributing-issue-175 into 5cc92835424905375f56ee90b9e2f70c6cde4455 on berkeley-stat222:master.

Coverage increased (+0.6%) to 64.905% when pulling 64052fc4e0647eced8ffc76f848dccfaa3f3056c on doutib:contributing-issue-175 into 5cc92835424905375f56ee90b9e2f70c6cde4455 on berkeley-stat222:master.

Coverage increased (+0.6%) to 65.013% when pulling a8889c33f8186e1dd0788d77f8a0bb127c72d2e4 on doutib:contributing-issue-175 into 67bdb6692f6e64d54dd63ce3edb7480eb4a1d6a3 on berkeley-stat222:master.

@jarrodmillman
Are we able to merge this PR? It helps to perform the Mann–Whitney–Wilcoxon test over mice distances.


[core modules] Update the staging so we don't overwrite binary if it's the same

This was causing us to constantly rebuild the stdlib Rust binary since the mtime was changing.
Now, as long as the binaries don't change we won't change the staged files. Further, this PR separates out the stdlib and compiled_stdlib crates. Due to this separation, we shouldn't ever need to recompile Rust to build the stdlib. However, if the compiled binaries changed, then the a build will be triggered for crates that use the compiled_stdlib.

:hourglass: Testing commit 04d4c6fa99c306d94fc605cd9009c91b904736bf with merge f2e1fbf38aa9954af70815acf5def37246bf3901...

:broken_heart: Test failed - checks-circle_commit_workflow

Unrelated question: we only do include_bytes to make docker happy, right? And if so, I wonder if we could do it somewhere else where it won't disrupt the build...

So we could do it elsewhere. I would say the best way to do that would be to separate out the "get me the staged stdlib" related functions into a separate library crate, and have that pull in the staged files. I'm happy to do that if you think that would be preferable.

Seems worth considering later perhaps (since changing the standard library Move code, but not wanting to wait for the Rust binary to recompile is pretty common), but definitely not a blocker for this clear improvement!

@bors-libra r=sblackshear

:pushpin: Commit 46b7b1a has been approved by sblackshear

:hourglass: Testing commit 46b7b1a5db2711b8615fd9d7d482947e36bc5e69 with merge b95e7e2b0aa07859b1fe54e3f2bc9abb04334724...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: sblackshear
Pushing b95e7e2b0aa07859b1fe54e3f2bc9abb04334724 to master...


Infinite Loading & Scroll To

Added the ability to determine when you have reached the top of the messages, which would allow for lazy loading
Added a binding to scroll to a specific message in the chat

@EnesKaraosman Looks like the build failed because it is pulling in a version of Kingfisher that requires macOS 10.14, and a version of WrappingHStack that requires macOS 10.15. Is this something that you are experiencing on other branches?


can't perform any CRUD

Describe the bug
everytime i try to perform any CRUD the page just loads and ends dying. I can display a result from the following commands:
dd(app('firebase.firestore')->database());
dd(app('firebase.firestore')->database()->collection('test'));
dd(app('firebase.firestore')->database()->collection('test')->document(1));

but if i perform any of the operations shown here: https://medium.com/@moizali1011/mastering-firestore-crud-operations-in-laravel-a-comprehensive-guide-1e4f2f7bb28f
even this from 'https://github.com/googleapis/google-cloud-php-firestore' doesn't do anything:
$collectionReference = $firestore->collection('Users');
$documentReference = $collectionReference->document($userId);
$snapshot = $documentReference->snapshot();

echo "Hello " . $snapshot['firstName'];

it just ends up killing the page with The connection was reset error
Installed packages
I have installed google/cloud-firestore and this package

PHP version and extensions
composer               2.7.7    Composer package
composer-plugin-api    2.6.0    The Composer Plugin API
composer-runtime-api   2.2.2    The Composer Runtime API
ext-bcmath             8.1.12   The bcmath PHP extension
ext-bz2                8.1.12   The bz2 PHP extension
ext-calendar           8.1.12   The calendar PHP extension
ext-ctype              8.1.12   The ctype PHP extension
ext-curl               8.1.12   The curl PHP extension
ext-date               8.1.12   The date PHP extension
ext-dom                20031129 The dom PHP extension
ext-exif               8.1.12   The exif PHP extension
ext-fileinfo           8.1.12   The fileinfo PHP extension
ext-filter             8.1.12   The filter PHP extension
ext-ftp                8.1.12   The ftp PHP extension
ext-gd                 8.1.12   The gd PHP extension
ext-gettext            8.1.12   The gettext PHP extension
ext-grpc               1.67.0   The grpc PHP extension
ext-hash               8.1.12   The hash PHP extension
ext-iconv              8.1.12   The iconv PHP extension
ext-intl               8.1.12   The intl PHP extension
ext-json               8.1.12   The json PHP extension
ext-libxml             8.1.12   The libxml PHP extension
ext-mbstring           8.1.12   The mbstring PHP extension
ext-mysqli             8.1.12   The mysqli PHP extension
ext-mysqlnd            0        The mysqlnd PHP extension (actual version: mysqlnd 8.1.12)
ext-openssl            8.1.12   The openssl PHP extension
ext-pcre               8.1.12   The pcre PHP extension
ext-pdo                8.1.12   The PDO PHP extension
ext-pdo_mysql          8.1.12   The pdo_mysql PHP extension
ext-pdo_sqlite         8.1.12   The pdo_sqlite PHP extension
ext-phar               8.1.12   The Phar PHP extension
ext-readline           8.1.12   The readline PHP extension
ext-reflection         8.1.12   The Reflection PHP extension
ext-session            8.1.12   The session PHP extension
ext-simplexml          8.1.12   The SimpleXML PHP extension
ext-soap               8.1.12   The soap PHP extension
ext-sodium             8.1.12   The sodium PHP extension
ext-spl                8.1.12   The SPL PHP extension
ext-tokenizer          8.1.12   The tokenizer PHP extension
ext-xml                8.1.12   The xml PHP extension
ext-xmlreader          8.1.12   The xmlreader PHP extension
ext-xmlwriter          8.1.12   The xmlwriter PHP extension
ext-zip                1.19.5   The zip PHP extension
ext-zlib               8.1.12   The zlib PHP extension
lib-bz2                1.0.8    The bz2 library
lib-curl               7.77.0   The curl library
lib-curl-libssh2       1.10.0   curl libssh2 version
lib-curl-openssl       <IP_ADDRESS> curl OpenSSL version (<IP_ADDRESS>)
lib-curl-zlib          1.2.12   curl zlib version
lib-date-timelib       2021.17  date timelib version
lib-date-zoneinfo      2022.4   zoneinfo ("Olson") database for date
lib-fileinfo-libmagic  540      fileinfo libmagic version
lib-gd                 2.0.35   The gd library
lib-gd-freetype        2.9.1    freetype version for gd
lib-gd-libjpeg         8.0      libjpeg version for gd
lib-gd-libpng          1.6.34   libpng version for gd
lib-gd-libxpm          3.5.12   libxpm version for gd
lib-iconv              1.16     The iconv library
lib-icu                70.1     The ICU unicode and globalization support library
lib-icu-cldr           40       ICU CLDR project version
lib-icu-unicode        14.0.0   ICU unicode version
lib-libsodium          1.0.18   The libsodium library
lib-libxml             2.9.12   libxml library version
lib-mbstring-libmbfl   1.3.2    mbstring libmbfl version
lib-mbstring-oniguruma 6.9.7    mbstring oniguruma version
lib-openssl            <IP_ADDRESS> OpenSSL 1.1.1q  5 Jul 2022
lib-pcre               10.39    The pcre library
lib-pcre-unicode       14.0.0   PCRE Unicode version support
lib-pdo_sqlite-sqlite  3.36.0   The pdo_sqlite-sqlite library
lib-zip-libzip         1.7.1    The zip-libzip library
lib-zlib               1.2.12   The zlib library
php                    8.1.12   The PHP interpreter
php-64bit              8.1.12   The PHP interpreter, 64bit
php-ipv6               8.1.12   The PHP interpreter, with IPv6 support
php-zts                8.1.12   The PHP interpreter, with Zend Thread Safety

Steps to reproduce the issue.
performing any of the CRUD commands posted above
Error message/Stack trace
none

Additional information
none

You didn't specify the version of the package you have installed, but just to be sure, make sure that you have the latest version.
The package only provides a bridge to Google's Firestore package and is out of my/the package's control - you should raise in issue at https://github.com/googleapis/google-cloud-php
However: Connection reset sounds like a networking issue. I recommend trying the commands in another environment, preferably on another machine in another region (perhaps the server you deploy the application to, if that's not the one where it fails, of course 😅)
I hope this helps!

how do i check if i've authenticated properly?

Please read the docs 😅

i decided to skip this since grpc doesn't want to send me back any data. I decided to use the REST API instead. thanks!

Uh, so the problem was that the gRPC extension created the issue? 😕

Thank you 🙏🏻, and thanks for sharing!


Is there any support for webtransport now?

Believe me, if I support webtransport now, your project will have a huge improvement

nope and its not planed


Fix send_message functionality

I fixed send_video and made it use send_message properly now @ImShady

@themarkrizkallah I made these changes yesterday, please git pull on master (and close this pr)


Update developer guide

See https://nus-cs2103-ay1920s1.github.io/website/schedule/week7/project.html#3-update-dg-user-stories-glossary-nfrs-use-cases and our private Google Docs.

[x] Change metadata (Fixed by #25)
[x] Add user stories for transaction
[x] Add user stories for repeatable transaction (Fixed by #44)
[x] Add user stories for loans
[x] Add user stories for budgeting (Fixed by #25)
[x] Add user stories for analytics
[x] Add use cases for transaction
[x] Add use cases for repeatable transaction (Fixed by #44)
[x] Add use cases for loans
[x] Add use cases for budgeting
[x] Add use cases for analytics
[x] Add glossary

I am lazy to find tag the respective PR, but I know its done. So closed!


add api key to param for OpenMapQuest Geocoder

api key is now a mandatory param (http://open.mapquestapi.com/geocoding/) so just send it to the api request :tada:.
Doesn't works any more without this param since MapQuest licensing structure change (http://devblog.mapquest.com/2014/11/17/are-you-a-community-edition-licensed-data-user/).

Fixed by 25c5c48. There were 4 PRs addressing the same issue: #155, #160, #169, #228, but neither was ready enough to be merged straight away. I'm going to close this, but thank you!


Update sbt-assembly to 2.3.0

About this PR
📦 Updates com.eed3si9n:sbt-assembly from 2.2.0 to 2.3.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.eed3si9n", artifactId = "sbt-assembly" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.eed3si9n", artifactId = "sbt-assembly" }
}]

labels: dependencies, sbt-plugin-update, early-semver-minor, semver-spec-minor, commit-count:1

[error] Deduplicate found different file contents in the following:
[error]   Jar name = okio-jvm-3.6.0.jar, jar org = com.squareup.okio, entry target = META-INF/okio.kotlin_module
[error]   Jar name = okio-3.6.0.jar, jar org = com.squareup.okio, entry target = META-INF/okio.kotlin_module

There might be a bug in the assemblyExcludedJars feature of sbt-assembly 2.3.0.
Need to investigate.


Remove strongswan option from ACM console

Now that submariner does not support strongswan cable driver, remove it from the options available on ACM console.

/assign @Jaanki

https://github.com/open-cluster-management/console/pull/842


Integrated storybook into Pilaf

Integrated Storybook into Pilaf, the app UI and the storybook UI can be switched with a .env file (read more here) this is done with react-native-config but setup for IOS is still needed
https://user-images.githubusercontent.com/34408108/111853467-c428eb80-88e0-11eb-8a97-cbba4d1881bf.mp4

can you set it up so the stories can use TypeScript

can you set it up so the stories can use TypeScript

Will do!

I've also integrated storyloader for automatically importing all stories, but it seems to display an error but only when configured to output a .ts file, I can add this commit to this PR or for a different one, it's up to you.


Adding some identity best practices

Thanks @chboudry !! One small ask, until Mark verifies this: would it be possible removing the localization in the More Info links (en-us)? Thanks!

Added @MGodfrey50 as reviewer

@MGodfrey50 any chance to review this?

Thanks for the nudge - will do it today.
MG
Sent from Outlookhttp://aka.ms/weboutlook
From: Jose Moreno @.>
Sent: Thursday, December 9, 2021 12:31 AM
To: Azure/review-checklists @.>
Cc: Mark Godfrey @.>; Mention @.>
Subject: Re: [Azure/review-checklists] Adding some identity best practices (PR #82)
@MGodfrey50https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMGodfrey50&data=04|01|mark.godfrey%40microsoft.com|e06d870a8cf144fa521b08d9baee3f82|72f988bf86f141af91ab2d7cd011db47|1|0|637746354700739295|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=HZR2vveRKB4aYUKzSMF5MHhO3b%2FCG4Lf%2Bm23JsySu2g%3D&reserved=0 any chance to review this?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Freview-checklists%2Fpull%2F82%23issuecomment-989624460&data=04|01|mark.godfrey%40microsoft.com|e06d870a8cf144fa521b08d9baee3f82|72f988bf86f141af91ab2d7cd011db47|1|0|637746354700739295|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=XGfbLBcMVIqIA6Z02x0oTys6Dcvh3ivTPO%2BB4%2FPuXHM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFMNMOJ3KKBGX5ZJ2RB4LZDUQBSMXANCNFSM5JOKZTTA&data=04|01|mark.godfrey%40microsoft.com|e06d870a8cf144fa521b08d9baee3f82|72f988bf86f141af91ab2d7cd011db47|1|0|637746354700739295|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Ilc%2BXdb78k4%2F1EPXA6dfwJF0Lq370sCGj9EUV20upd0%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|mark.godfrey%40microsoft.com|e06d870a8cf144fa521b08d9baee3f82|72f988bf86f141af91ab2d7cd011db47|1|0|637746354700739295|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Hblql%2BqibDwxUOOvbUbHL4ereuresD8T7ETgLgKvsTU%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|mark.godfrey%40microsoft.com|e06d870a8cf144fa521b08d9baee3f82|72f988bf86f141af91ab2d7cd011db47|1|0|637746354700739295|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=zviwrCmClmtvppiGB8Pkd%2BFidflkhzwCn1K%2BGaSRo%2BI%3D&reserved=0.


Unexpected error from parallel_stereo using mapprojected images since 3.2.1

Describe the bug
When I run parallel_stereo on a pair of mapprojected pinhole cameras, I get the following error:

The DEM used for map projection is different from the one provided on the command line.

I'm using version 3.2.1-alpha-2023-07-25-x86_64-Linux.
Running the same command using the previous version I had (3.1.1-alpha-2022-08-02-x86_64-Linux) does not return any error.
The error also does not seem to show up for a different case with a different input DEM.
I checked the metadata of the input images, for both of them, the DEM_FILE tag is the same as the input DEM in the command, i.e. "dem_GLODEM_RussianArctic_30m_epsg3413_filled.tif"
To Reproduce
The full command is
parallel_stereo --threads-multiprocess 8 --threads-singleprocess 16 --processes 2 --alignment-method none \
--stereo-algorithm 2 --corr-tile-size 5000 --corr-memory-limit-mb 55000 --corr-kernel 7 7 --xcorr-threshold 2 \
--save-left-right-disparity-difference \
img1.map.tif img2.map.tif img1_cam.tsai img2_cam.tsai outPrefix \
dem_GLODEM_RussianArctic_30m_epsg3413_filled.tif --stop-point 5

The input images are ~2GB each but I can share them if useful to reproduce the error.
Expected behavior
The command should proceed without error.
Your Environment (please complete the following information):

OS: Linux 4.18.0-425.13.1.el8_7.x86_64
ASP Version:

NASA Ames Stereo Pipeline 3.2.1-alpha
Build ID: 97b1980a
Build date: 2023-07-25
Built against:
NASA Vision Workbench 3.2.1-alpha
Build ID: 567ac71f
USGS ISIS 7.1.0
Boost C++ Libraries 1.72.0
GDAL 3.5.3 | 20221027

Full traceback

--> Setting number of processing threads to: 4
Stereo file ./stereo.default could not be found. Will use default settings and command line options only.
num_stereo_pairs,1
Using session: pinholemappinhole
The DEM used for map projection is different from the one provided on the command line.
Traceback (most recent call last):
File "/home/adehecq/bin/StereoPipeline-3.2.1-alpha-2023-07-25-x86_64-Linux/libexec/parallel_stereo", line 898, in
settings = run_and_parse_output("stereo_parse", args, sep, opt.verbose)
File "/home/adehecq/bin/StereoPipeline-3.2.1-alpha-2023-07-25-x86_64-Linux/libexec/asp_system_utils.py", line 298, in run_and_parse_output
raise Exception('Failed executing: ' + " ".join(call))

Thank you!

Thanks Oleg for checking this.
First of all, I tested with the latest release (3.3.0) and I have the same issue.
After making a lot of different tests where I could not reproduce my error, I finally found the problem! It's because in the path to my external DEM, there is a double slash (//) somewhere. If I remove this double slash, the error goes away...
What is strange is that the double slash is used consistently between the mapproject and parallel_stereo calls, so one of them must treat it differently since version 3.2.1.

This makes sense. I found in the code the part where the double slash was replaced with a single slash and wiped that code. Double slashes are not pretty, but if the user insists on having them, that's their problem. :)
The funny thing is that the problematic code is very old. It was not triggered so far because it is only recently the check for exact DEM match between mapproject and stereo was introduced.

I also made the error message more helpful. Now it says:
The DEM used for map projection is different from the one provided on the command line.
Left image DEM:  path//dem_GLODEM_RussianArctic_30m_epsg3413_filled.tif
Right image DEM:  path/dem_GLODEM_RussianArctic_30m_epsg3413_filled.tif
Command line DEM: path/dem_GLODEM_RussianArctic_30m_epsg3413_filled.tif

Hi Oleg,
Haha, I don't insist on having double slashes, but they tend to appear a lot depending on whether or not I have a trailing slash at the end of the arguments to my own wrappers. I've added some checks internally to avoid them, but I'm handling hundreds of paths within this script so it's not bulletproof.
In any case, I was actually gonna suggest to print the DEM paths along with the error, it helps understanding what went wrong!
Thanks for all the edits!


[Bug] Rollup issue with web-animations-js eval

Importing with Rollup seems to complain about eval sentence:
[14:56:15]  rollup: Use of `eval` (in
/home/carlos/Carlos/OSGroup/startApp/node_modules/web-animations-js/web-animations.min.js)
is strongly discouraged, as it poses security risks and may cause issues with minification.
See https://github.com/rollup/rollup/wiki/Troubleshooting#avoiding-eval for more details

Related issues:
https://github.com/driftyco/ionic-app-scripts/issues/129
https://github.com/rollup/rollup/issues/1043

@Rich-Harris has made some digging and found why this repo plays badly with Rollup, here's his comment: https://github.com/rollup/rollup/issues/1043#issuecomment-253208466

Any word on whether this polyfill will be updated to be able to be used in strict mode? ES6-ifying it would be cool.

We no longer use eval. Are you still experiencing a problem using web-animations-js with Rollup, or can we close this issue?


1390 - independent okta sender permissions

This PR separates the sender permission from the receiver permission on the ReportStream side when retrieving organization data.
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Changes

the /api/settings/organizations/{organame} endpoint now checks the headers for the authentication-type
if the auth type is okta, it passes that information to the api functions and gets the correct claims check from the okta verifier
added react hooks when getting the sender organization name
added a util function to get the sender client name  from the authstate

Checklist
Testing

[ ] Tested locally?
[ ] Ran quickTest all?
[ ] Ran ./prime test against local Docker ReportStream container?
[ ] Downloaded a file from http://localhost:7071/api/download?
[ ] Added tests?

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Fixes
List GitHub issues this PR fixes

#issue

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

@ronaldheft-usds would you mind taking a look at this to make sure we're secure?
i updated how senders can get their organization data using the okta authentication method.
also, that if a sender is coming from Okta and their claim is being verified, their group is not replaced so that we can retrieve the sender name from their client header/option.
thank you :smile:

@mauricereeves yes they have :slightly_smiling_face:

@MauriceReeves-usds Thanks!


Sort error mapping by numeric code

Correctness verified by existing tests it_should_map_error_kinds_to_codes and it_should_map_error_codes_to_error_kinds

Codecov Report

Merging #771 (9ce5401) into main (4b73b09) will decrease coverage by 24.78%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #771       +/-   ##
===========================================
- Coverage   54.64%   29.86%   -24.78%
===========================================
  Files         380      378        -2
  Lines       36762    30526     -6236
  Branches     8104     6273     -1831
===========================================
- Hits        20089     9117    -10972
- Misses      10690    18696     +8006
+ Partials     5983     2713     -3270

Flag
Coverage Δ

unittests-aries-vcx
29.86% <ø> (-24.68%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 213 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update cats-helper to 1.4.0

Updates com.evolutiongaming:cats-helper from 1.1.0 to 1.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "cats-helper" } ]

labels: semver-minor

Pull Request Test Coverage Report for Build 110

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 75.378%

Totals

Change from base Build 107:
0.7%

Covered Lines:
349

Relevant Lines:
463

💛  - Coveralls


Running TileMap::clear followed by adding tiles crashes

As the title says, doing the following:
map.clear();
map.set_tile(...);

crashes bevy with a panic in the render pass.

The issue should now be fixed in v0.5.1.


\S crashes

Uncaught ParseError: KaTeX parse error: Expected '}', got '\S' at position 16: displaystyle{\S̲}
as reported by http://khan.github.io/KaTeX/
should produce a section symbol

Does KaTeX support section symbols? K didn't think it did.

I finally found https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX.
I would recommend linking to that from the top-level README.
And for undefined symbols, maybe just rendering as "?" would be better than throwing an exception.

Well, I think the newest version of KaTeX continues on error and renders the other stuff anyway. I think.

@scottdraves if you disable the throwOnError option then KaTeX will render the unsupported source command in red.  See https://github.com/Khan/KaTeX#rendering-options for details.

After doing a little research it appears that we're missing glyph 0x78 from cmsy10.  This should be relatively easy to fix by:

[ ] updating https://github.com/Khan/MathJax-dev/blob/master/fonts/OTF/TeX/makeFF
[ ] following the instructions in https://github.com/Khan/KaTeX/tree/master/dockers/MathJaxFonts
[ ] updating https://github.com/Khan/KaTeX/blob/master/metrics/mapping.pl
[ ] running make metrics
[ ] updating https://github.com/Khan/KaTeX/blob/master/src/symbols.js

thanks for the tip, setting that options sounds like a good idea, will do.
but yea, you should have that symbol as well.


Unclear documentation for max_width

I was going through the rust startup documentation trying to learn the language and started messing around with the example hello world code.
If you use non ASCII characters then they may take up more space than just a single byte (in UTF-8).
The code documentation for the say method's max_width field says :

max_width is the maximum width of a line of text before it is wrapped

Which would imply that the code will wrap on the character and not on the number of bytes since the word text is used.
For example the following code:
fn main() {
    let stdout = stdout();
    let message = "🐢🐢🐢";
    // Three characters so the width should be 3
    let width = 3;

    let mut writer = BufWriter::new(stdout.lock());
    ferris_says::say(message.as_bytes(), width, &mut writer).unwrap();
}

produces:
 ____
/ 🐢 \
| 🐢 |
\ 🐢 /
 ----
        \
         \
            _~^~^~_
        \) /  o o  \ (/
          '_   -   _'
          / '-----' \

While the expected result (to me) was:
 ________
< 🐢🐢🐢 >
 --------
        \
         \
            _~^~^~_
        \) /  o o  \ (/
          '_   -   _'
          / '-----' \

My proposal is to either change the code so that it would cut at the character instead of at the byte and/ or update the documentation.
Though then again this is a package just for fun so it isn't the end of the world if nothing changes.

I think you're right in that it should be 3 "characters" how we as people would see them, not bytes. I think this was just an oversight. I mean I wrote a lot of this stuff years ago when I wasn't as familiar with things like utf-8 and text processing. Hell I'd update or throw away most of the code here today and rewrite it to be more idiomatic.

Would it be possible to keep the old signature around (mark it deprecated, etc), so that existing tutorials and code example don't break right away.


When restarting Kong it alerts the port is being used

$ kong restart
[WARN] No configuration at: /etc/kong/kong.yml using default config instead.
[INFO] Using configuration: /usr/local/lib/luarocks/rocks/kong/0.3.0-1/conf/kong.yml
[INFO] dnsmasq stopped
[INFO] Proxy port.........8000
       Admin API port.....8001
       dnsmasq port.......8053
       Database...........cassandra keepalive=60000 port=9042 timeout=1000 hosts=<IP_ADDRESS> keyspace=kong
[ERR] Port 8000 is already being used by another process.

This is a bug in the code that checks if the port is open or closed.

This has been fixed.


Contribution description

I have written a contribution file describing the Distributed Workflow.

Very cool, thank you!


social feed at the bottom of / sometimes cant get images and causes various 400s

we very often cant get images for folks on the social cards at the bottom of our homepage
which causes a variety of 400s
can we fix or account for this?
i think they only work correctly for twitter

@sean1588 i havent tried to look at this yet, but if you know of a quick fix pls pick this up


Unpin conda/pytables from conda-forge on travis

In #2738 a few changes were made to fix recent failures. Most of these are due (I think) to binary incompatibility issues on conda-forge right now. When these are fixed, we should be able to revert these changes.

[ ] Unpin conda (currently pinned, somehow fixing issues with graphviz)
[ ] Switch back to pytables from conda-forge (waiting on https://github.com/conda-forge/pytables-feedstock/issues/19)

The changes to be reverted are in d9a5e1945dd2 (all but the switch to conda list).

So I noticed that graphviz's pinnings were out of date. Not sure if that caused problems, but have refreshed them in PR ( https://github.com/conda-forge/graphviz-feedstock/pull/17 ).


Example to use socket.io-redis

Hi all and thanks for your time and your help.
I need a simple example for use socket.io-redis, with comments please.
I read the documentation, but I did not understand.
Thank you,

socket.io-redis does just extend the default in-memory adapter, nothing more.
var io = require('socket.io')(3000);
var redis = require('socket.io-redis');
io.adapter(redis({ host: 'localhost', port: 6379 }));

Every message sent is broadcast accross every server connected to the redis backend. Please see the sample chat here.

how to emit  or broadcast a message to others ?just like socket.emit("message",msg) and socket.broadcast("message",msg) in socket.io. I am not clear about it .

I use pm2 -i to start my socket server (bind express) by 4 workers .And use socket.io-redis as your code
but in same namespace sometimes the clients couldn't send/receive msg  each other. So what's the Keys in Redis. How to send to other worker's client?

@Merlin-Xu Did you find any solution to your problem ? I am facing similar issue. Emit might be triggered in some cluster and sometimes clients don't receive the data.

@akprats33  Give up! replace it with others. I used other tools ,like kue and ribbit to manage them. Work fine.

@Merlin-Xu Thanks for the response.


Start of e2e perf tests

Description
Add some basic perf tests in the e2e tests package for basic actions on loader, container, and summarization, and SharedCounter (no particular reason for this one, just a DDS that was easy to make a test for).

For the most part they're a copy of existing e2e tests, trimmed down or slightly modified so they run correctly with the benchmark tool (e.g. they're iterated a bunch so can't create the same container multiple times; or the tool runs them once to check they pass and then iterates them a bunch, so trying to validate actual values in some DDSes can get tricky).
While the new tests could potentially also be used to validate for correctness, I deliberately left that work to the original tests, so the new ones don't necessarily try to assert() on things. Their purpose is just to have the same piece of code running multiple times to get perf statistics, so other considerations are sometimes dropped in favor of that objective.
No compat scenarios are used. Not sure how worthwhile would they be.
The tests only run against local server for now.
The way they're run is pretty much the same as for the existing e2e tests, but it's the Performance benchmarks pipeline that does it instead of Real Service End to End Tests. Get the e2e tests package from the artifacts published by Build - client packages, install it, and call the appropriate npm scripts defined by that package. Then the same approach used by the existing perf tests to write the output to Kusto (use @fluid-tools/telemetry-generator to process the JSON files that contain the output of the perf tests).

Updates to the Performance benchmarks pipeline to run the new tests.

Extracted common logic into a template reused by unit perf tests for execution time, unit perf tests for memory usage, and the e2e perf tests.
Some minor refactor and cleanup.
Removed unnecessary trigger that made the pipeline run twice in some scenarios (once because it triggered on its own due to changes in some files, and a second time because a run of the Build - client packages pipeline triggered it (due to the resources.pipeline declaration).

Reviewer Guidance
Here's a test run of the updated pipeline passing.
And these are some entries for the new tests taken from Kusto.

Data_suiteName
Data_testName
timestamps
values
buildId

Container - memory usage benchmarks Non-Compat
Create loader
[   "2022-11-22T19:49:28.599Z",  "2022-11-22T21:39:41.583Z"]
[   18326.6666666667,  18377.7254901961]
[   "110915",  "111027"]

Container - memory usage benchmarks Non-Compat
Create detached container
[   "2022-11-22T19:49:28.601Z",  "2022-11-22T21:39:41.585Z"]
[   273660.8,  273284.8]
[   "110915",  "111027"]

Container - memory usage benchmarks Non-Compat
Create detached container and attach it
[   "2022-11-22T19:49:28.601Z",  "2022-11-22T21:39:41.585Z"]
[   801656.0,  805308.0]
[   "110915",  "111027"]

Container - memory usage benchmarks Non-Compat
Load existing container
[   "2022-11-22T19:49:28.601Z",  "2022-11-22T21:39:41.585Z"]
[   1912401.92,  1883875.63934426]
[   "110915",  "111027"]

Summarization - runtime benchmarks Non-Compat
Generate summary tree
[   "2022-11-22T19:49:28.601Z",  "2022-11-22T21:39:41.585Z"]
[   78305.4468085106,  80179.0967741935]
[   "110915",  "111027"]

Data_suiteName
Data_benchmarkName
timestamps
values
buildId

Container - runtime benchmarks Non-Compat
Create loader
[   "2022-11-22T19:49:11.599Z",  "2022-11-22T21:39:24.791Z"]
[   1.34239413945405E-05,  1.37605231487535E-05]
[   "110915",  "111027"]

Container - runtime benchmarks Non-Compat
Create detached container
[   "2022-11-22T19:49:11.6Z",  "2022-11-22T21:39:24.793Z"]
[   0.00125355970252343,  0.00126963605140003]
[   "110915",  "111027"]

Container - runtime benchmarks Non-Compat
Create detached container and attach it
[   "2022-11-22T19:49:11.6Z",  "2022-11-22T21:39:24.793Z"]
[   0.00828785833009223,  0.00918899545979021]
[   "110915",  "111027"]

Container - runtime benchmarks Non-Compat
Load existing container
[   "2022-11-22T19:49:11.601Z",  "2022-11-22T21:39:24.793Z"]
[   0.0251843541262626,  0.0285590889505495]
[   "110915",  "111027"]

SharedCounter - runtime benchmarks Non-Compat
increment value in 3 containers
[   "2022-11-22T19:49:11.601Z",  "2022-11-22T21:39:24.793Z"]
[   0.0045376115214603,  0.00450890203754403]
[   "110915",  "111027"]

Summarization - runtime benchmarks Non-Compat
Generate summary tree
[   "2022-11-22T19:49:11.601Z",  "2022-11-22T21:39:24.794Z"]
[   0.00082207839177262,  0.00104619871940768]
[   "110915",  "111027"]

AB#2257

/azp run Build - client packages

@Abe27342 feedback addressed.


[CLOUD-5932]: android local storage migration

@jahead are we still going to clean up the original local storage by removing the migrated key values?

@jahead are we still going to clean up the original local storage by removing the migrated key values?

I want to but I was going to do that in a seperate pr. As that's a different unit of work.
But i wasn't sure what you were going to do on the iOS side

iOS side has done the clean up:
https://github.com/ischemaview/cordova-plugin-nativestorage/pull/2/files#diff-9e88ac2f85f6b093c0241f5212a38b948a3a4ec6dc436993bcb800c77084c048R169

Awesome, I'll do the pr this morning cann you review this so I can base it off this one?


Cleanup network usage in NBitcoin #7

This should be the last part before we start moving the network classes.

LGTM


Warning: Office.js is loaded outside of Office client

I am following each step one by one to create outlook Add-in by using Node.js and yo generator-office. write a command to start the web server and load a URL of index.html 'https://localhost:3000'. page load properly but getting an warning message on console "Warning: Office.js is loaded outside of Office client"  and can't parse office item to fetch message. in .js file

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

ID: 15be7148-d1e8-b58b-b026-9f072efb638a
Version Independent ID: 53a5d00c-d82b-6536-2e80-3e2a3452879a
Content: Build an Outlook add-in - Outlook Developer
Content Source: docs/add-ins/quick-start.md
Product: outlook
GitHub Login: @jasonjoh
Microsoft Alias: jasonjoh

@shaikhshadab00 sorry to hear that you've run into this problem. Are you seeing the "Warning: Office.js loaded outside of Office Client" message whenever you load https://localhost:3000 in a web browser (as described in step #2 in the Start the dev server section of this article)? If so, that's expected behavior in the browser (because your add-in won't function properly outside the context of Outlook).
If you haven't already done so, please try to complete the instructions in the Try it out section of the article, including (especially) step 1 - Sideload the Outlook add-in for testing. You shouldn't see the "Warning: Office.js loaded outside of Office Client" message when the add-in loads within Outlook. Please let me know if you're still having trouble after attempting to sideload and use the add-in in Outlook.

@kbrandl Thank you for prompt reply. i am not getting any warning message when the add-in loads within Outlook. work perfectly fine now.


A quick fix for #424

A quick fix for #424 and python3 compatibility issue

KeyError: 'rhx_gis'

@zuenko em... I didn't change it. What was the stacktrace?


checklist-completion.tsx

I think it is working but  max-w-lg  or  max width is not working for some reasons.

 └── Encountered unexpected errors while processing of 1 documents. This is possibly a bug in Contentlayer. Please open an issue.

     • "docs/progress/checklist-completion.mdx": UnexpectedMDXError: YAMLException: the stream contains non-printable characters at line 3, column 111:
          ...  completed steps, and a counter.
                                              ^
                                              ```

Bro, I'm new to GitHub contributions and would appreciate some guidance.

@ShoomanKhatri Please create a new PR with only "related files" or restore the unrelated files.

okay


[WIP] Release 1.3.0

@davkal @foot @ekimekim @bowenli @jpellizzari @tomwilkie @abuehrle @pidster @errordeveloper @rade Please chip in by testing this release branch in the scenarios below and tick off what you tested afterwards (including your name at the end). Have a look at the CHANGELOG to prioritize your testing.
To make things easier to test I have pushed the image weaveworks/scope:release-1.3-3721fbe
Thanks!

[ ] Start a 2 node cluster and leave a UI connected, watch for performance regression
[x] Run a Scope cluster on ECS
[x] Run Scope on https://github.com/microservices-demo/microservices-demo/
[ ] Run Scope on Docker For Mac
[ ] Start and stop Scope in standalone mode

[x] Linux
[ ] docker-machine

[ ] Connect probes from release candidate to Weave Cloud

[ ] Local scope in probe-only mode connects to Weave Cloud and renders correctly

[ ] dev
[x] prod

[ ] Controls appear for containers and function correctly

[ ] dev
[x] prod

[ ] No new errors in logging or telemetry

[ ] dev
[ ] prod

[ ] UI integration

[ ] Hot-reloading cd client && npm i && npm start and open http://localhost:4042
[ ] UI under prefix path  cd client && npm run build && npm start-production and open http://localhost:4043/scoped/
[ ] URL parameters: Run previous release and click around, keep UI open, start new release, reload page

[ ] UI features
(To test: clone microservices demo and run cd deploy/docker-compose && docker-compose up)

[x] General: switch between topologies, see nodes and edges, details panel
[x] Zoom and pan, switch between topologies
[x] Topology filters: namespaces, system containers, etc.
[x] Metrics on canvas, try pinning/unpinning
[x] Search

[x] by container name
[x] by usage cpu < 2%

[x] Terminal

[x] Attach to container to see logs
[x] Exec to container and type ls
[x] Pop out terminal

[ ] Contrast mode
[ ] Download report
[ ] Pause button

Things to think about

ECS Integration
Kubernetes Integration
CPU and memory usage

Bug: Attempting to download report json instead downloads report.html, containing the contents of index.html.


feat: Allow ignoring changes in image_uri

Description
Allow to a rollout the image_uri (from a different place, e.g: Jenkins, GitHub Actions, etc) without requiring you to update the terraform code.
Unfortunately, I don't think there is a way to parametrize the ignore_changes field. Though, I wrote a feature request to opentofu to try to address this:

https://github.com/opentofu/opentofu/issues/1432

Motivation and Context
I want to create the lambda so that it targets to latest tag by default and I have always something that runs. However, when I make a change that only concerns to the code, I don't need to run terraform (which has all the dependencies for the lambda). I just want to change the image_uri to target the newly created image (even with aws-cli).
Breaking Changes

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

I understand this PR's reasoning but don't like the code duplication because it significantly increases the maintenance cost.
Unfortunately, I don't see a way to merge this as-is. I suggest that you deploy as you do and change the value via Terraform configuration to avoid the revert.

Ok, I understand. I uploaded this PR because I saw the same issue in the secrets-manager module: https://github.com/terraform-aws-modules/terraform-aws-secrets-manager/blob/v1.1.2/main.tf#L92-L116 . But I get that here is way more maintenance. I think I'll have to maintain it in my fork.
Then, we'll see if eventually this can be an opentofu feature instead. I post the issue link in case someone wants to support this feature by putting a 👍 in the opentofu issue :

https://github.com/opentofu/opentofu/issues/1432


Implement channel open application callbacks

The transfer channel handshake callbacks need to be modified to handle multiple versions.
implementation here

Closed by https://github.com/cosmos/ibc-go/pull/6175.


Add deep links to docs in Console

As an admin I want to be able to setup everything as easy as possible. If I do not understand something, I want to be able to read the documentation about it. Therefor I want to be able to see the documentation directly or have a link that sens me to the correlated documenation.
Acceptance Criteria

[ ] I can click a documentation link on each "settings catergory" (login policy, branding) that sends me to the correlated documentation
[ ] I can click a documentation link on the projects, that sends me to the correlated docs
[ ] I can click a documentation link on the applications, that sends me to the correlated docs
[ ] I can click a documentation link on the human users, that sends me to the correlated docs
[ ] I can click a documentation link on the service users, that sends me to the correlated docs
[ ] I can click a documentation link on the actions, that sends me to the correlated docs and the zitadel/action repository

I would love to see this feature 👍

@livio-a @fforootd
Depending on the depth and grade of the offered help there are several possibilities.
My suggestion would be to offer help on a 'section' basis (which can also apply to a whole 'page' in the same manner, by having a help icon where needed/helpful.
By pressing the button, you either go directly to the specific help page or - and that would be my personal favorite - first offer some quick tips for that specific topic in a dropdown element with a CTA to the page mentioned above.
Like this:

It would also be helpful to offer a small info box for new users (first time logging in the app), so they know where to find help.
Like this:

I think we should start with some text in the flyouts and a button for the
docs.
Later on we can improve by building a more interactive help with some kind
of wizard to it.
On Tue, 27 Apr 2021 at 16:25, Jay @.***> wrote:

@livio-a https://github.com/livio-a @fforootd
https://github.com/fforootd
Depending on the depth and grade of the offered help there are several
possibilities.
My suggestion would be to offer help on a 'section' basis (which can also
apply to a whole 'page' in the same manner, by having a help icon where
needed/helpful.
By pressing the button, you either go directly to the specific help page
or - and that would be my personal favorite - first offer some quick tips
for that specific topic in a dropdown element with a CTA to the page
mentioned above.
Like this:
[image: image]
https://user-images.githubusercontent.com/48990649/116256876-dca7e380-a773-11eb-91fb-df2059edb6ce.png
It would also be helpful to offer a small info box for new users (first
time logging in the app), so they know where to find help.
Like this:
[image: image]
https://user-images.githubusercontent.com/48990649/116258252-12999780-a775-11eb-9004-2cb03fd65b5f.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/caos/zitadel/issues/1677#issuecomment-827648047, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLMDKG5MYO7H3HCZRIKYEDTK3CM7ANCNFSM43UPQJZA
.

@juergrinaldi can you please have a look at this with regard to the redesigned console? if the new console has deep links to the docs you can close this issue. otherwise please write the tasks that need to be done.

Hi @livio-a, @hifabienne, @fforootd and @juergrinaldi, I'm working on this right now. I'm reviewing all console sections that still don't have deep links to docs (so far I've added 21 new links to docs).

That sounds great.
Quick question about your implementation. Are they always shown? Or are they hidden in some cases?
I just think about self hosted instances, they maybe don't want to show the links?
I am not 100% sure, but I think we also hide the Docuemntation link in the header in some cases.
@peintnermax note for you

I've followed the existing approach. Right now there are several info icons next to console titles (Project, Users...) which are always shown in self hosted instances, unless there's a setting or env variable to hide them that I've missed.

So I've added similar icons and links to docs in the rest of titles and settings. For example:

and

If you prefer to specify which titles you want to be covered with deep links or that all these info icons can be set to hidden at will, I may add a section in Other Settings for the Instance with a switch.
@hifabienne I'll wait for further instructions. Thanks!

I guess if it is already implemented with no possibility to hide, it is ok for now, maybe we have to change it in the future.


Followup of error catching too broad.

We still need to trigger our custom error event.

@njam please review.

lgtm

lgtm


odd superflus IPv6 locallink

On 10.0.2, since a few days, whenever delegating a prefix, dhcpcd creates a fresh fe80:: address on the bridge, in addition to the existing one:
$ LC_ALL=C journalctl -b -u<EMAIL_ADDRESS>| grep "p8h61 dhcpcd" | grep br0
Oct 04 05:58:21 p8h61 dhcpcd[950]: br0: activating for delegation
Oct 04 05:58:21 p8h61 dhcpcd[950]: br0: waiting for carrier
Oct 04 05:58:43 p8h61 dhcpcd[950]: br0: carrier acquired
Oct 04 05:58:43 p8h61 dhcpcd[950]: br0: IAID cd:8a:cb:71
Oct 04 05:58:43 p8h61 dhcpcd[950]: br0: adding address fe80::6e09:892:dc15:733b
Oct 04 05:58:45 p8h61 dhcpcd[950]: br0: adding delegated prefixes
Oct 04 05:58:45 p8h61 dhcpcd[950]: br0: adding address 2001:14ba:a0ee:1b05::1/64
Oct 04 05:58:45 p8h61 dhcpcd[950]: br0: adding route to 2001:14ba:a0ee:1b05::/64

As seen below, ::a887 is the address created when ifupdown creates the bridge. It has stable-privacy enabled via sysctl on bootup. Meanwhile, ::733b is created as above by dhcpcd.
5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether <redacted> brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global br0
       valid_lft forever preferred_lft forever
    inet6 2001:14ba:a0ee:1b05::1/64 scope global dynamic noprefixroute
       valid_lft 1988sec preferred_lft 1988sec
    inet6 fe80::6e09:892:dc15:733b/64 scope link
       valid_lft forever preferred_lft forever
    inet6 fe80::b075:485:5641:a887/64 scope link stable-privacy
       valid_lft forever preferred_lft forever

Am I missing anything? Why wouldn't dhcpcd keep on using the existing IPv6 locallink?

It's basically a race between the kernel adding the address and dhcpcd adding it.
If a lladdr already exists then dhcpcd will use it.
By default dhcpcd will turn the sysctl off for the kernel adding lladdrs for the interface when it gets activated.
This is because dhcpcd has supported stable private addresses for many years before any kernel did.
So don't turn the sysctls on and you should be fine.


Why can not use multi GPUs to train even though set CUDA_ENVISION_DEVICES='0,1,2,3'?

only ft_speed of this project support multi GPUs.


Asynchronously served static files

Unfortunately, a new error has appeared, this time again related to static files.
The error occurs because the express-autoindex module waits for the client to download the file, causing the entire server to hang. An example file download takes 50129.812 ms - during this time, the server is unable to process other requests.
Video: https://cdn.sefinek.net/static/23.07.2023/explorer_WSW3JMRxU5zI.mp4

https://github.com/sefinek24/Sefinek-Blocklist-Collection/commit/a3fcdc9d19ca522cb3276a148f61ff52676469b6

I'll end up believing that nothing works ^^
I'll look into it as soon as possible

https://cdn.sefinek.net/static/23.07.2023/webstorm64_oak981mHXAez.mp4

Version 1.4.1 has just been released.
So files are now sent asynchronously. I've done quite a few tests with files of several tens of GB, and the server no longer blocks them.
I've also added the HTTP header Last-Modified to each file sent, which is still useful and consumes very few resources.
I've also found a Windows-related bug: folders with spaces were leading to 404 errors in the best of cases. And now it's even possible to point to an entire disk (with C:, for example).
Don't hesitate to let me know how well it works @sefinek24

It looks like everything is probably working @c-bertran! But I have a feeling that the code is displaying incorrect dates, or maybe I messed something up in the code.
Production: https://blocklist.sefinek.net/generated/<IP_ADDRESS>

After analyzing the headers, I confirm that Last-Modified does not display the correct value. The file's last modification date is included in the Date header.

So, as always, it was the calamitous management of the Date javascript object that was to blame. So I decided to go ahead and parse the date provided by NodeJS by hand.
I had the same problem on my side.
Now the header is correct, as are the file and folder dates in UTC.
I've also added two new date format flags.
I hope that everything will now be working properly with version 1.4.2.

I confirm, the dates are now displayed correctly.

Fine then, I'll add you to the list of contributors, it was nice of you to be so patient.


fix: remove esm dependencies

Hi @rushelex !
I am encountering some problems with the current dependencies of your library.
I need to remove ES Modules that uses require() because off errors like follow: https://github.com/semantic-release/npm/issues/459
This error was triggered by Chalk and Lodash.
I am using Vite and Vite does not support ES Modules and I have not find a way to make Vite accept ES modules.
I downgraded Chalk to version 4.1.2.
I removed Lodash and I created a primitive.ts file in utils folder that contains the primitive utility functions like isObject, isNil, isString.
I also removed the barrel pattern used inside the utils folder to avoid circular dependencies.
I will release my own version of your package on my npm because I need this modification to be released very quickly.
But if you validate my PR, I will use your package.
Thanks!

Hi @BryanBerger98, I'm really glad you like this library and want to use it! Of course, let's make some changes to make this library work in as many environments as possible. I'll be making some changes to this PR soon to make the code more consistent with the rest of the code in the repository.

@BryanBerger98 I have released a new pre-release version 1.2.0-rc.5. Could you check if it solves your problem?


Feature: Introduce a proper CLI

What feature or improvement do you think would benefit Files?
Files would benefit from proper CLI integration and launch activation, using the powerful System.CommandLine APIs. This would allow for better activation and integration, and control of settings from outside Files.

A .NET console project Files.App.CLI or Files.App.Console and register it as an alias files.exe of Files.App
<uap3:Extension
    Category="windows.appExecutionAlias"
    Executable="files-cli.exe"
    EntryPoint="Windows.FullTrustApplication">
    <uap3:AppExecutionAlias>
        <desktop:ExecutionAlias Alias="files.exe" />
    </uap3:AppExecutionAlias>
</uap3:Extension>

Sample usage
C:\> files --help

Copyright (c) 2024 Files Community
Licensed under the MIT License.

files [[<drive>:]<path>] [-s|--select] [-f|--folder] [-v|--version] [-h|--help]

  -h, --help                Display usage of this CLI.
  -s, --select              Select one or more file(s) and folder(s) on folder view.
  -f, --folder              Go to a folder specified.
  -v, --version             Display current version of this CLI.

C:\> files --version

Copyright (c) 2024 Files Community
Licensed under the MIT License.

Files version: 3.5.25

C:\> files .

Launching Files on current folder...

C:\>

This console project should be called Files.CommandLine.

Semi-related matters

With this introduction, we'll have a strong power for FileOpenDialog and FileSaveDialog implementations. Current technical issue with those overridden dialogs is where the project (Files.App.OpenDialog and .SaveDialog) cannot pass information of the dialog (dialog caller can modify footer content of the dialog, adding a button for example) to Files app via command-line (truly difficult because passing as string would require serialization and deserialization. If we introduced our own COM interfaces as IPC in Files app this issue could be fixed.
<com:Extension Category="windows.comServer">
    <com:ComServer>
        <com:ExeServer Executable="$targetnametoken$.exe" DisplayName="Files">
            <com:Class Id ="4B115281-32F0-11cf-AC85-444553540000" DisplayName="..." ProgId="Files.Commandline.1" VersionIndependentProgId="Files.Commandline">
            </com:Class>
        </com:ExeServer>
        <!– ProgId –>
        <com:ProgId Id="Files.Commandline" CurrentVersion="Files.Commandline.1" />
        <com:ProgId Id="Files.Commandline.1" Clsid="4B115281-32F0-11cf-AC85-444553540000" />
    </com:ComServer>
</com:Extension>

<com:Extension Category="windows.comInterface">
    <com:ComInterface>
    <!– Interfaces –>
    <!– IID_FilesCommandLineReciever –>
    <com:Interface Id="0BDD0E81-0DD7-11cf-BBA8-444553540000" UseUniversalMarshaler="true">
        <com:TypeLib Id="4B115284-32F0-11cf-AC85-444553540000" VersionNumber="1.0" />
    </com:Interface>
    <!– TypeLib –>
    <com:TypeLib Id="4B115284-32F0-11cf-AC85-444553540000">
        <com:Version DisplayName = "..." VersionNumber="1.0" LocaleId="0" LibraryFlag="0">
            <com:Win32Path Path="..." />
        </com:Version>
    </com:TypeLib>
</com:Extension>

[ComImport(...)]
public interface FilesFileOpenDialogReciever
{
    void Advise(IFileDialogClosedSink *pfdcs);

    void Launch(FileDialogInformation *pfdi);
}

[ComImport(...)]
public interface IFileDialogClosedSink
{
    void PostSelected(string path);
}

Requirements

Add .NET console project
Write code to get and set data from CLI

Change app settings
Set theme
Open a folder
Open different views in Files
Display version
Update Files

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4391
Comments
I'm a big fan of this idea and @0x5bfa too. I use APIs like System.CommandLine's in many of my apps and would really like to work on this feature.

More information coming after the holidays!

Merging with #13021


Remove init-myservice init container from Ray worker nodes

Name of Feature or Improvement
Remove creation of init-myservice init container from Ray worker nodes. It is not needed any more.
Description of Problem the Feature Should Solve
Init container to wait  for Ray head node was removed as part of post 0.5.0 cleanup - for context see https://github.com/ray-project/kuberay/pull/1010, https://github.com/ray-project/kuberay/pull/973.
The init container can be removed from RayCluster CR created by SDK.
Describe the Solution You Would Like to See
Remove creation of init-myservice init container from Ray worker nodes.
Describe Alternatives You Have Considered
N/A
Additional Context
Add any other context, screenshots, console logs, etc. about the request here.

Duplicate of https://github.com/project-codeflare/codeflare-sdk/issues/297


So many mother cell in Experimental

Is there a way to reduce amount of mother cell?

Go to gamemode then open Experimental Change this   this.motherMinAmount = 20; to What ever amount you want

Fixed


Setup Contributing.md file

Reviewed contents of pre-generated CONTRIBUTING.md file. No modifications or additions required.


Custom title bar caption buttons blurry at 4K 175% scaling

VS Code Version: 1.55.0
OS Version: 10.0.20317.1

Steps to Reproduce:

Have a 4K display
Set Windows scaling to 175%
Open Visual Studio Code
Look at the title bar caption buttons (with Custom title bar enabled)

Does this issue occur when all extensions are disabled?: Yes

For reference, here is a comparison between VS Code's caption buttons, and caption buttons elsewhere
VS Code:

Edge:

UWP App:

this will be resolved with https://github.com/microsoft/vscode/issues/127449


D-Link camera because unreachable in Frigate even though Wifi is good

Version of the custom_component
3.0.0
-->
Configuration
mqtt:
host: <IP_ADDRESS>
user: XXXXXX
password: XXXXXX
cameras:
Dining: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:XXXXX@<IP_ADDRESS>:554/play1.sdp # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Garage: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:XXXXX@<IP_ADDRESS>:554/play1.sdp # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Front-door: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:XXXXX@<IP_ADDRESS>:554/play1.sdp # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Garten-house: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:XXXXX@<IP_ADDRESS>:554/play1.sdp # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Drive-way: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:XXXXX!@<IP_ADDRESS>:554/h264  # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
detect:
width: 2560 # <---- update for your camera's resolution
height: 1440 # <---- update for your camera's resolution
Patio: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:XXXXX!@<IP_ADDRESS>:554/h264  # <----- Update for your camera
roles:
- detect
- rtmp
rtmp:
enabled: True # <-- RTMP should be disabled if your stream is not H264
detect:
width: 2560 # <---- update for your camera's resolution
height: 1440 # <---- update for your camera's resolution

Add your logs here.

Describe the bug
The GARAGE camera is the one in question. It will work "fine" for a while but then Frigate will loose connection, usually overnight. The other cameras all work fine. I have two other D-Link cameras that also work.
Debug log

Error from stream worker: Error demuxing stream: [Errno<PHONE_NUMBER>] Immediate exit requested: 'rtmp://ccab4aaf-frigate-fa-beta/live/Garage'; last error log: [flv] Packet mismatch 853043513 1035 72649
4:20:03 PM – (ERROR) Stream - message first occurred at 3:09:23 PM and shows up 24 times
Error fetching information from http://ccab4aaf-frigate-fa-beta:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa-beta:5000 ssl:default [Name does not resolve]
11:08:24 AM – (ERROR) Frigate (custom integration) - message first occurred at 11:08:06 AM and shows up 2 times
Config entry 'ccab4aaf-frigate-fa-beta:5000' for frigate integration not ready yet; Retrying in background
11:08:06 AM – (WARNING) config_entries.py

Please see https://github.com/blakeblackshear/frigate-hass-integration/issues/272 you have created this issue in the incorect repo


Enhance: datanode optmize performance  When there are many extents

Signed-off-by: awzhgw<EMAIL_ADDRESS>
What this PR does / why we need it:

When using elatiseach to pressure test chubaofs, when writing and deleting continuously, a large number of extents will be generated under each dp, and these extents will be deleted continuously, the length of extentcache is only 40, when each extent is deleted , LoadExtentWithHeader will be loaded from the disk. When reading the header, it will read the 4096-byte header from the extentcrc file, thus causing some random reads. This pr is to optimize this phenomenon.

When there are many extents ，dataPartition computeUseSize  A lot of random IO was wasted, so The memory method is used to calculate the space used by dataPartition。

tinyExtentRepair donnot use limit by autoRepairLimit parameter

the length of extentcache is only 40,
How about adjust the value in config file?

Do you think the value of 40 is larger or smaller, and why?


when i execute powershell script, execution comes to terminal again

Whenever i select and run certain lines in powershell terminal, the same selected lines does appear in the terminal again after execution. this is same even if i run whole script or selection. This problem is happening only after recent vs code upgrade, don't know how to downgrade to previous version, so waiting for new version to release to upgrade.

thanks for the issue, could you pls include a gif?

Hello VSCode-Team,
i have the same problem selecting code and pressing F8. The integrated terminal is showing the ">>" sign in front of the prompt, like an incomplete cmldet in the CLI. After pressing "Return" the selected code is executed once again. This behaviour only appears since the update to 1.68.1. No configuration changes have been made. I have already checked the keyboard shortcuts and there are no double assignments.

Hello VSCode-Team,
after a downgrade to version 1.67.2, the execution of selected code runs as expected.

In the meantime I found out that it is not the VSCode version but the Powershell extension. Downgrade the Powershell extension to v2022.5.1 and it works again.

Yes, you are right. Just downgraded to 2022.5.1 and it is working fine now. Probably i will wait for the newer version before i upgrade it (I think it is getting upgraded automatically as new version releases).


use generics in QueryBuilder's API

The QueryBuilder uses generic Lists bound to Object, which is annoying to use from a client POV.
If I have a List with Something not being Object, I have to either copy my List to a
List or using toArray() to then call the varargs overload of the method.
This PR changes the bound to the wildcard ( List<?> instead of List ) so the client are not forced
to create wasteful copies of their List to workaround this limitation.
Existing client will not be impacted a method with List<?> as parameter may still be given a List.

Looks good to me.
One small request: could you make your PR against the 2.0 branch instead?

Closed in favor of #263.


git squash multiple selected commits

would be nice to have for some but I don't know how the respective git command(s) for that would look like.
Squashing is possible with git of course, but since the multiple-commits-selection can have arbitrary gaps...

I don't know what the action should do here (git / basic bash commands) without rewriting the entire extension

Suggestion:

Do not allow multiple selections (more than two) with Ctrl+click
Allow selection of multiple commits (without gaps) with Shift+click - with that selection it's maybe easier to squash them

Do not allow multiple selections (more than two) with Ctrl+click

but it's really handy for cherry-picking and reverting them :/

Do you usually revert multiple commits at once?

Allow selection of multiple commits (without gaps) with Shift+click

that's already possible, but yeah, with gaps allowed

No, shift + click doesn't work with v0.1.14 on my machine...

No, shift + click doesn't work with v0.1.14 on my machine...

are you using MacOS?

No, shift + click doesn't work with v0.1.14 on my machine...

are you using MacOS?

No, Linux

As an initial iteration, could the squash action only appear when the selection has no gaps?  That would be sufficiently useful for many (perhaps most) cases.

No, shift + click doesn't work with v0.1.14 on my machine...

@hansu is this still the case in the latest release?

As an initial iteration, could the squash action only appear when the selection has no gaps? That would be sufficiently useful for many (perhaps most) cases.

@SeijiSuenaga yes but main problem with this approach is that the concept of "gap" isn't distinct, as the ordering of commits depends on the sorting options currently set, and other branches' commits could be in the way. There's related discussion about this in #110. The continuitation logic would have to rely on Git's internal commit parent logic, but when it conflicts with the UI, that can be rather confusing. Shouldn't stop us from implementing this feature still.

No, shift + click doesn't work with v0.1.14 on my machine...

@hansu is this still the case in the latest release?

Works now, thanks!


is it possible to save and restore text selections?

I would like to be able to

select text (in a specific color) and keep the colored text visible in the pdf
select some more text (in another color) and also keep this second part visible

Additionally, I would like to be able to save these selections and be able to restore them when I open the document a second time.
I don't need to store them in the pdf itself since different users can create different annotations.
Is this technically feasible? If so, do you plan to tackle this somewhere in the future?

Basically, you can overlay anything on PDF pages using either PdfViewerParams.pagePaintCallbacks or PdfViewerParams.viewerOverlayBuilder.
The first one is using Canvas and it is faster if you want to overlay many things.
The second one is useful if you want to place widgets over the page.
And, then, PdfTextSearcher.pageTextMatchPaintCallback is a good example to use PdfViewerParams.pagePaintCallbacks:
https://github.com/espresso3389/pdfrx/blob/927999498cb3486ce62be8beacb8ca150aa3260f/lib/src/widgets/pdf_text_searcher.dart#L254-L275
There are two important things here:

Search result is in PdfTextMatch and it has a very useful method named PdfTextMatch.fromTextRange, which converts text index/end combination to PdfRect
PdfRect can be easily converted to in-canvas coordinate system

Text selection is not text-match but PdfTextMatch can be reused for highlighting text selections.
Only the missing piece here is to get current text selection from PdfViewer. I'll implement it.

This looks very promising! Thanks!

On 76b34c096075970f3d31a640d25f664d35d950ac, I've introduced PdfViewerParams.onTextSelectionChange.
// save the last text selection
PdfTextRanges? _selectedText;

PdfViewer.asset('some',
  params: PdfViewerParams(
    pagePaintCallbacks: [
      // example to draw the saved text selection
      _paintSelection,
    ],
    onTextSelectionChange: (selection) {
      // just an example; keep the last text selection
      if (selection != null && selection.isNotEmpty) {
        _selectedText = selection;
      }
     // hopefully, the widget is automatically setState
    },
  ]),
...

// simple example to paint the last selected ranges
void _paintSelection(Canvas canvas, Rect pageRect, PdfPage page) {
  if (_selectedText == null ||
      _selectedText!.pageText.pageNumber != page.pageNumber) {
    return;
  }
  final paint = Paint()
    ..color = Colors.green.withOpacity(0.5)
    ..style = PaintingStyle.fill;
  for (final range in _selectedText!.ranges) {
    final f = PdfTextRangeWithFragments.fromTextRange(
        _selectedText!.pageText, range.start, range.end);
    if (f != null) {
      canvas.drawRect(
          f.bounds.toRectInPageRect(page: page, pageRect: pageRect), paint);
    }
  }
}

0.4.40 is released!

75aa49f576b6df3f6ea17a93d7c1c9e9e7e1c2eb updated the example to have markers pane. The main logic is there;
https://github.com/espresso3389/pdfrx/blob/75aa49f576b6df3f6ea17a93d7c1c9e9e7e1c2eb/example/lib/main.dart#L310-L312
https://github.com/espresso3389/pdfrx/blob/75aa49f576b6df3f6ea17a93d7c1c9e9e7e1c2eb/example/lib/main.dart#L323-L347
On the example UI, you can see three color buttons on the toolbar. After selecting some text and tap one of them, you can add marker:
https://github.com/espresso3389/pdfrx/assets/1311400/72ab9047-d5b1-42f9-b13d-ec0195bf591c


[material-ui][Breadcrumbs] Convert to support CSS extraction

[X] I have followed (at least) the PR section of the contributing guide.

These steps were not needed for this component AFAIK, correct me if I'm wrong.

Move ownerState from the root style argument callback to variants
Use Object.entries(theme.palette) to populate colors

https://github.com/mui/material-ui/assets/44305048/6e15d842-add6-4303-93e5-fdff74d928fb
@siriwatknp

Can you also add the files added in the apps/* folders where you were testing the breadcrumb modifications ?

The e2e tests failed due to the the search being incorrect, however I haven't changed much there. Is my code related to it?

No. It's failing for all PRS and is unrelated to your changes.


Add credui support

Rebased against master

Please don't include the import libraries from the Windows SDK. I'm not sure if I'm legally allowed to redistribute them. Could you use mingw-w64's instead?

Replaced libraries and rebased


faiss: 1.7.2 -> 1.7.3

Description of changes

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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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

[ ] Fits CONTRIBUTING.md.

I think I'll get https://github.com/NixOS/nixpkgs/pull/168380 through first

Result of nixpkgs-review pr 224083 run on x86_64-linux 1

4 packages failed to build:

python310Packages.autofaiss
python310Packages.autofaiss.dist
python311Packages.autofaiss
python311Packages.autofaiss.dist

8 packages built:

faiss (python310Packages.faiss)
faiss.demos (python310Packages.faiss.demos)
faissWithCuda
faissWithCuda.demos
python310Packages.pytorch-metric-learning
python310Packages.pytorch-metric-learning.dist
python311Packages.faiss
python311Packages.faiss.demos

Result of nixpkgs-review pr 224083 --extra-nixpkgs-config '{ cudaCapabilities = [ "8.6" ]; cudaSupport = true; }' run on x86_64-linux 1

2 packages failed to build:

python310Packages.pytorch-metric-learning
python310Packages.pytorch-metric-learning.dist

8 packages built:

faiss (faissWithCuda ,python310Packages.faiss)
faiss.demos (faissWithCuda.demos ,python310Packages.faiss.demos)
python310Packages.autofaiss
python310Packages.autofaiss.dist
python311Packages.autofaiss
python311Packages.autofaiss.dist
python311Packages.faiss
python311Packages.faiss.demos

Failed derivations

[ ] python3.10-pytorch-metric-learning-2.0.1.drv (derivation hash: fagyjw5vjjw5yl6wayhx0k6kmnflx159)

https://gist.github.com/SomeoneSerge/219f906f9597e45f6386e5579cf6588b

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2044

v1.7.4 is released: https://github.com/facebookresearch/faiss/releases/tag/v1.7.4

Result of nixpkgs-review pr 224083 --extra-nixpkgs-config '{ cudaCapabilities = [ "8.6" ]; }' run on x86_64-linux 1

12 packages built:

faiss (python310Packages.faiss)
faiss.demos (python310Packages.faiss.demos)
faissWithCuda
faissWithCuda.demos
python310Packages.autofaiss
python310Packages.autofaiss.dist
python310Packages.pytorch-metric-learning
python310Packages.pytorch-metric-learning.dist
python311Packages.autofaiss
python311Packages.autofaiss.dist
python311Packages.faiss
python311Packages.faiss.demos

Hmm, the passthru tests. I'll push with format = "other"; and see the new logs


Update to tree-sitter-python introduced bug

Description
After this PR got merged and the commit got pinned in treesitter, which introduced the bug
Neovim version
v0.10.0-dev-661+gef94fb69c-Homebrew
Expected behavior
No error on file enter
Actual behavior
Error on entering any python file:
ERROR; Unable; to; load; context; query; for python:↲
...-ef94fb6/share/nvim/runtime/lua/vim/treesitter/query.lua:;277;: query: invalid; structure; at; position; 513; for language python

Minimal config
local plugins = {
  ts         = 'https://github.com/nvim-treesitter/nvim-treesitter',
  ts_context = 'https://github.com/nvim-treesitter/nvim-treesitter-context',
  -- ADD ADDITIONAL PLUGINS THAT ARE _NECESSARY_ TO REPRODUCE THE ISSUE
}

for name, url in pairs(plugins) do
  local install_path = '/tmp/nvim/site/'..name
  if vim.fn.isdirectory(install_path) == 0 then
    vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
  end
  vim.o.runtimepath = install_path..','..vim.o.runtimepath
end

-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE

Steps to reproduce

nvim --clean -u minimal.lua
:TSInstall python
error

We don't track issues for out of date queries, but will accept a PR.

I didn't understand a single word of what you just said.

Queries are what this plugin uses to define contexts for different languages. As parsers are updated, queries need updating too.
PR means "pull request".

I believe that should fix it, at least it did on my system

Many thanks!

Is there a mapping of the version/commit for nvim-treesitter-context which is compatible with the version/commit of nvim-treesitter? I am facing the same issue as above and can't update the nvim-tressitter to the latest version as that will break my config.

Not currently.
This repo is mostly community driven. It should aim to be compatible with the HEAD of nvim-treesitter. If it's not then someone needs to fix it via a PR. Raising issues will likely get ignored.


fix(dApp Explorer): fix dialog height while disconnecting dApps

Description / Change(s) / Related issue(s)
Ticket
YOMO-1941

[!NOTE]
Please create the ticket if missing it.

after fix on 4 devices


Send bundles with more than 1 transaction to sequencer

At the moment composer sends bundles to sequencer that contain only one transaction.
It should collect many transactions into a bundle before sending it.

This is related to #409 as well.


Delete chip not working for mobile on react-select autocomplete example

In the autocomplete example for 'react-select', once chips are added to the input, they cannot be deleted by clicking the 'X' while on mobile.

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

Expected Behavior
Chips should be able to be deleted by clicking 'X' while on mobile.
Current Behavior
Selection menu opens instead.
Steps to Reproduce
Link: https://material-ui.com/demos/autocomplete/#react-select

Add Chips to multiple input on mobile or using Chrome Dev Tool responsive mode
Try deleting a chip.

Your Environment

Tech
Version

Material-UI
v3.0.2

React

Browser
Chrome Mobile/Desktop, Safari

TypeScript

etc.

My bad, I should have followed the react-select API more closely. https://github.com/mui-org/material-ui/blob/09823b5a21fa76d6ab13a1042b5229dde672e28c/docs/src/pages/demos/autocomplete/IntegrationReactSelect.js#L177-L191
The issue can easily be fixed with the following diff:
+import CancelIcon from '@material-ui/icons/Cancel';

// ...

-       onDelete={event => {
-         props.removeProps.onClick();
-         props.removeProps.onMouseDown(event);
-       }}
+       deleteIcon={<CancelIcon {...props.removeProps} />}
+       onDelete={props.removeProps.onClick}

@eugenemlee Do you want to work on it?

I worked on this issue and submitted a pull request #12813

Thanks @oliviertassinari you saved my day.


fix-swift-testbed-crash-DEVEX-327

https://branch.atlassian.net/browse/DEVEX-327
https://fabric.io/branch-metrics/ios/apps/io.branch.testbed-swift/issues/5acd261736c7b23527213313?time=1523318400000%3A1523404799000

@sojanpr

Result of Integration 1
Duration: 27 minutes and 45 seconds
Result: Build failed 2 tests out of 227

LGTM 👍