panic: node with zero ID when running wush serve on ARM Windows, freezes in the other direction

Windows server
I'm running ARM Windows 11 in a VM (set up following these instructions ) and ran wush serve there from the official binary at
https://github.com/coder/wush/releases/download/v0.2.1/wush_0.2.1_windows_arm64.zip
It seems to work, but when I run wush ssh or wush cp from the ARM Mac OS host, I get the same error:
macos:~$ wush cp VERSION
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     San Francisco
        > Server overlay public key:    [MKp73]
        > Server overlay auth key:      [gIf3M]
Bringing WireGuard up..
panic: node with zero ID

goroutine 437 [running]:
tailscale.com/wgengine/magicsock.devPanicf({0x103d1dbdb, 0x11}, {0x0, 0x0, 0x0})
        tailscale.com@v1.70.0/wgengine/magicsock/magicsock.go:2168 +0x74
tailscale.com/wgengine/magicsock.(*Conn).SetNetworkMap(0x140003b1408, 0x14000d1e008)
        tailscale.com@v1.70.0/wgengine/magicsock/magicsock.go:2043 +0x364
tailscale.com/wgengine.(*userspaceEngine).SetNetworkMap(0x1400019d808, 0x14000d1e008)
        tailscale.com@v1.70.0/wgengine/userspace.go:1253 +0x2c
tailscale.com/ipn/ipnlocal.(*LocalBackend).SetControlClientStatus(0x14000123208, {0x10438e7e0, 0x1400043f040}, {{}, {0x0, 0x0}, {0x0, 0x0}, 0x14000d1e008, {0x14000439440}, ...})
        tailscale.com@v1.70.0/ipn/ipnlocal/local.go:1441 +0x10ec
tailscale.com/control/controlclient.(*Auto).sendStatus.func1()
        tailscale.com@v1.70.0/control/controlclient/auto.go:610 +0x50
tailscale.com/util/execqueue.(*ExecQueue).run(0x1400043f080, 0x14000446df0?)
        tailscale.com@v1.70.0/util/execqueue/execqueue.go:57 +0x28
created by tailscale.com/util/execqueue.(*ExecQueue).Add in goroutine 190
        tailscale.com@v1.70.0/util/execqueue/execqueue.go:31 +0x1a0

On the server, I get messages like
15:01:37 Received connection request over DERP from ...
15:01:38 Received updated node from  ....
15:01:38 Received updated node from  ....
15:01:38 Received updated node from  ....

Windows client
When I run wush serve on the Mac OS host, I get a different problem. When I run wush cp on the Windows VM, I get:
windows:~>  ./wush cp wush.exe
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     Los Angeles
        > Server overlay public key:    [fy3OO]
        > Server overlay auth key:      [ZNkj+]
Bringing WireGuard up..

... and everything freezes. On the server, it prints:
macos:~$  wush serve
Picked DERP region  Los Angeles  as overlay home
Your auth key is:
        >  ...
Use this key to authenticate other  wush  commands to this instance.
15:04:03 WireGuard is ready
15:04:03 SSH server enabled
15:04:03 File transfer server enabled
15:04:24 Received connection request over DERP from WINDOWS-OANL56F\ilyagr@WINDOWS-OANL56F
15:07:16 Received connection request over DERP from WINDOWS-OANL56F\ilyagr@WINDOWS-OANL56F

wush ssh gives the same result

Hey @ilyagr, thanks for reporting. Could you share the logs of wush cp -v VERSION? It may contain IP addresses, fyi.

Here you go:
macos:~> wush  cp -v mkdocs.yml
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     San Francisco
        > Server overlay public key:    [7II/4]
        > Server overlay auth key:      [z9fOB]
Bringing WireGuard up..
time=2024-09-30T18:33:15.381-07:00 level=INFO msg="got key request"
time=2024-09-30T18:33:15.386-07:00 level=INFO msg="got noise upgrade request"
time=2024-09-30T18:33:15.386-07:00 level=INFO msg="accepted control http"
time=2024-09-30T18:33:15.387-07:00 level=INFO msg="got noise registration request"
time=2024-09-30T18:33:15.387-07:00 level=INFO msg="notify update"
time=2024-09-30T18:33:15.387-07:00 level=INFO msg="notify update done"
time=2024-09-30T18:33:15.387-07:00 level=INFO msg="finished registration"
time=2024-09-30T18:33:15.388-07:00 level=INFO msg="got noise poll request"
time=2024-09-30T18:33:15.388-07:00 level=INFO msg="got noise poll request"
time=2024-09-30T18:33:15.388-07:00 level=INFO msg="endpoint update"
time=2024-09-30T18:33:15.388-07:00 level=INFO msg=streaming
time=2024-09-30T18:33:15.392-07:00 level=INFO msg="got noise poll request"
time=2024-09-30T18:33:15.392-07:00 level=INFO msg="endpoint update"
panic: node with zero ID

goroutine 443 [running]:
tailscale.com/wgengine/magicsock.devPanicf({0x101d8aecf, 0x11}, {0x0, 0x0, 0x0})
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/wgengine/magicsock/magicsock.go:2168 +0x74
tailscale.com/wgengine/magicsock.(*Conn).SetNetworkMap(0x14000400c08, 0x1400095a6c8)
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/wgengine/magicsock/magicsock.go:2043 +0x36c
tailscale.com/wgengine.(*userspaceEngine).SetNetworkMap(0x1400039e008, 0x1400095a6c8)
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/wgengine/userspace.go:1253 +0x2c
tailscale.com/ipn/ipnlocal.(*LocalBackend).SetControlClientStatus(0x1400027ad88, {0x1023fb540, 0x140003ca280}, {{}, {0x0, 0x0}, {0x0, 0x0}, 0x1400095a6c8, {0x140001e05a0}, ...})
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/ipn/ipnlocal/local.go:1441 +0x10f8
tailscale.com/control/controlclient.(*Auto).sendStatus.func1()
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/control/controlclient/auto.go:610 +0x50
tailscale.com/util/execqueue.(*ExecQueue).run(0x140003ca2c0, 0x140004928f0?)
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/util/execqueue/execqueue.go:57 +0x28
created by tailscale.com/util/execqueue.(*ExecQueue).Add in goroutine 81
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240815205130-c39ab8bcc2a9/util/execqueue/execqueue.go:31 +0x1a4

And in the other direction:
windows-arm:~> $ ./wush cp -v wush.exe
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     San Francisco
        > Server overlay public key:    [ygFsB]
        > Server overlay auth key:      [c1LUJ]
Bringing WireGuard up..

It freezes forever at this point.

I pushed a commit https://github.com/coder/wush/commit/e9a79582a816325c49b5cce61d6c3959d44c2c78 that should help debug further, I wasn't outputting the tailscale logs in verbose mode. If you could retry verbose on windows where it's hanging on the latest commit, that should clear it up. Thanks!

Here you go.
MacOS as  the client (crash)
🐟 go run . cp -v cp.go
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     San Francisco
        > Server overlay public key:    [lbiZk]
        > Server overlay auth key:      [VyyZU]
Bringing WireGuard up..
[v1] using fake (no-op) tun device
[v1] using fake (no-op) OS network configurator
[v1] using fake (no-op) DNS configurator
dns: using dns.noopManager
link state: interfaces.State{defaultRoute=en0 ifs={bridge100:[<IP_ADDRESS>/24 fd92:bcb2:adb8:4777:1c7f:e258:d7c3:58ed/64 llu6] en0:[<IP_ADDRESS>/24 llu6]} v4=true v6=true}
onPortUpdate(port=63117, network=udp6)
[v1] warning: fakeRouter.UpdateMagicsockPort: not implemented.
onPortUpdate(port=62390, network=udp4)
[v1] warning: fakeRouter.UpdateMagicsockPort: not implemented.
[v1] magicsock: peermtu: peer MTU status is false
[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening not supported on this OS
[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening not supported on this OS
magicsock: disco key = d:3d9070d8cb67133e
Creating WireGuard device...
Bringing WireGuard device up...
wg: [v2] UDP bind has been updated
wg: [v2] Interface state was Down, requested Up, now Up
Bringing router up...
[v1] warning: fakeRouter.Up: not implemented.
Clearing router settings...
[v1] warning: fakeRouter.Set: not implemented.
Starting network monitor...
Engine created.
wg: [v2] Routine: receive incoming receiveDERP - started
wg: [v2] Routine: receive incoming mkReceiveFunc - started
wg: [v2] Routine: receive incoming mkReceiveFunc - started
pm: migrating "_daemon" profile to new format
logpolicy: using system state directory "/Users/ilyagr/.local/share/tailscale"
[v1] netmap packet filter: (not ready yet)
tsnet starting with hostname "wush-send", varRoot "/var/folders/lj/rv4h95_d0mxb9ryztzpz4qph0000gn/T/"
Start
[vJSON]1{"Hostinfo":{"IPNVersion":"1.71.0-ERR-BuildInfo","BackendLogID":"fd23dc23f760198f29f76092b618b9894faf3d038a2253403ff5d4e9f21da52e","OS":"macOS","Package":"tsnet","Hostname":"macaw","Machine":"arm64","GoArch":"arm64","GoVersion":"go1.22.5","Userspace":true,"UserspaceRouter":true,"AppConnector":false}}
generating new machine key
machine key written to store
[v1] netmap packet filter: (not ready yet)
timeout waiting for initial portlist
control: [v1] HostInfo: {"IPNVersion":"1.71.0-ERR-BuildInfo","BackendLogID":"fd23dc23f760198f29f76092b618b9894faf3d038a2253403ff5d4e9f21da52e","OS":"macOS","Package":"tsnet","Hostname":"wush-send","Machine":"arm64","GoArch":"arm64","GoVersion":"go1.22.5","Userspace":true,"UserspaceRouter":true,"AppConnector":false}
Backend: logs: be:fd23dc23f760198f29f76092b618b9894faf3d038a2253403ff5d4e9f21da52e fe:
control: [v1] authRoutine: state:new; goal=nil paused=false
control: [v1] mapRoutine: state:new
Switching ipn state NoState -> NeedsLogin (WantRunning=true, nm=false)
control: [v1] HostInfo: {"IPNVersion":"1.71.0-ERR-BuildInfo","BackendLogID":"fd23dc23f760198f29f76092b618b9894faf3d038a2253403ff5d4e9f21da52e","OS":"macOS","Package":"tsnet","Hostname":"wush-send","Machine":"arm64","GoArch":"arm64","GoVersion":"go1.22.5","Services":[{"Proto":"peerapi-dns-proxy","Port":1}],"Userspace":true,"UserspaceRouter":true,"AppConnector":false}
blockEngineUpdates(true)
health(warnable=is-using-unstable-version): error: This is an unstable version of Tailscale meant for testing and development purposes. Please report any issues to Tailscale.
health(warnable=warming-up): error: Tailscale is starting. Please wait.
[v1] magicsock: peermtu: peer MTU status is false
wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)
wgengine: Reconfig: configuring router
[v1] warning: fakeRouter.Set: not implemented.
wgengine: Reconfig: configuring DNS
dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}
dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}
dns: OScfg: {}
[v1] wgengine: Reconfig done
LocalBackend state is NeedsLogin; running StartLoginInteractive...
StartLoginInteractive: url=false
control: client.Login(6)
control: [v1] mapRoutine: context done.
control: [v1] mapRoutine: state:new
control: [v1] authRoutine: context done.
control: [v1] authRoutine: state:new; wantLoggedIn=true
control: [v1] direct.TryLogin(flags=6)
control: LoginInteractive -> regen=true
control: doLogin(regen=true, hasUrl=false)
time=2024-10-01T12:53:22.386-07:00 level=INFO msg="got key request"
control: control server key from http://localhost:8080: ts2021=[5E/wt], legacy=
control: Generating a new nodekey.
control: RegisterReq: onode= node=[Qzszg] fup=false nks=false
control: [v1] creating new noise client
time=2024-10-01T12:53:22.393-07:00 level=INFO msg="got noise upgrade request"
time=2024-10-01T12:53:22.394-07:00 level=INFO msg="accepted control http"
time=2024-10-01T12:53:22.395-07:00 level=INFO msg="got noise registration request"
time=2024-10-01T12:53:22.395-07:00 level=INFO msg="notify update"
time=2024-10-01T12:53:22.395-07:00 level=INFO msg="notify update done"
time=2024-10-01T12:53:22.395-07:00 level=INFO msg="finished registration"
control: RegisterReq: got response; nodeKeyExpired=false, machineAuthorized=true; authURL=false
control: [v1] No AuthURL
control: [v1] sendStatus: authRoutine-success: state:authenticated
control: [v1] restartMap: synced=false
control: [v1] authRoutine: state:authenticated; goal=nil paused=false
control: [v1] mapRoutine: context done.
control: [v1] PollNetMap: stream=false ep=[]
control: [v1] mapRoutine: state:authenticated
blockEngineUpdates(false)
control: [v1] PollNetMap: stream=true ep=[]
[v1] authReconfig: netmap not yet valid. Skipping.
[v1] authReconfig: netmap not yet valid. Skipping.
time=2024-10-01T12:53:22.396-07:00 level=INFO msg="got noise poll request"
time=2024-10-01T12:53:22.397-07:00 level=INFO msg="got noise poll request"
time=2024-10-01T12:53:22.397-07:00 level=INFO msg="endpoint update"
time=2024-10-01T12:53:22.397-07:00 level=INFO msg=streaming
control: [v1] successful lite map update in 1ms
control: [vJSON]1{"controltime":"2024-10-01T19:53:22.397125Z"}
health(warnable=not-in-map-poll): ok
control: [v1] new network map (periodic):
netmap: self: [Qzszg] auth=machine-authorized u=userid:7b [<IP_ADDRESS>/32]

control: [v1] mapRoutine: netmap received: state:synchronized
control: [v1] sendStatus: mapRoutine-got-netmap: state:synchronized
[v2] netstack: registered IP <IP_ADDRESS>/32
active login: <missing-profile>
[v1] netmap packet filter: 1 filters
Switching ipn state NeedsLogin -> Starting (WantRunning=true, nm=true)
monitor: gateway and self IP changed: gw=<IP_ADDRESS> self=<IP_ADDRESS>
[v1] shouldUseOneCGNATRoute: macOS automatic=true
magicsock: SetPrivateKey called (init)
[v1] magicsock: peermtu: peer MTU status is false
wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)
wg: [v2] UAPI: Updating private key
wgengine: Reconfig: configuring router
[v1] warning: fakeRouter.Set: not implemented.
wgengine: Reconfig: configuring DNS
dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:1}
dns: Resolvercfg: {Routes:{} Hosts:1 LocalDomains:[]}
dns: OScfg: {}
[v1] wgengine: Reconfig done
[v1] authReconfig: ra=true dns=true 0x02: <nil>
peerapi: serving on http://<IP_ADDRESS>:37067
control: [v1] HostInfo: {"IPNVersion":"1.71.0-ERR-BuildInfo","BackendLogID":"fd23dc23f760198f29f76092b618b9894faf3d038a2253403ff5d4e9f21da52e","OS":"macOS","Package":"tsnet","Hostname":"wush-send","Machine":"arm64","GoArch":"arm64","GoVersion":"go1.22.5","Services":[{"Proto":"peerapi4","Port":37067},{"Proto":"peerapi-dns-proxy","Port":1}],"Userspace":true,"UserspaceRouter":true,"AppConnector":false}
control: [v1] PollNetMap: stream=false ep=[]
[v1] shouldUseOneCGNATRoute: macOS automatic=true
[v1] magicsock: peermtu: peer MTU status is false
[v1] wgengine: Reconfig done
[v1] authReconfig: ra=true dns=true 0x02: <nil>
time=2024-10-01T12:53:22.404-07:00 level=INFO msg="got noise poll request"
time=2024-10-01T12:53:22.404-07:00 level=INFO msg="endpoint update"
control: [v1] successful lite map update in 0s
control: [vJSON]1{"controltime":"2024-10-01T19:53:22.462345Z"}
control: [v1] mapRoutine: netmap received: state:synchronized
control: [v1] sendStatus: mapRoutine-got-netmap: state:synchronized
[v1] netmap diff:
+                     :

[v1] magicsock: got updated network map; 1 peers
panic: node with zero ID

goroutine 467 [running]:
tailscale.com/wgengine/magicsock.devPanicf({0x1054ceba1, 0x11}, {0x0, 0x0, 0x0})
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/wgengine/magicsock/magicsock.go:2168 +0x74
tailscale.com/wgengine/magicsock.(*Conn).SetNetworkMap(0x140003a6c08, 0x1400089c008)
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/wgengine/magicsock/magicsock.go:2043 +0x36c
tailscale.com/wgengine.(*userspaceEngine).SetNetworkMap(0x140000fa608, 0x1400089c008)
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/wgengine/userspace.go:1253 +0x2c
tailscale.com/ipn/ipnlocal.(*LocalBackend).SetControlClientStatus(0x1400040a008, {0x105b3f640, 0x140000f2280}, {{}, {0x0, 0x0}, {0x0, 0x0}, 0x1400089c008, {0x14000001440}, ...})
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/ipn/ipnlocal/local.go:1441 +0x10f8
tailscale.com/control/controlclient.(*Auto).sendStatus.func1()
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/control/controlclient/auto.go:610 +0x50
tailscale.com/util/execqueue.(*ExecQueue).run(0x140000f22c0, 0x140003acee0?)
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/util/execqueue/execqueue.go:57 +0x28
created by tailscale.com/util/execqueue.(*ExecQueue).Add in goroutine 195
        /Users/ilyagr/go/pkg/mod/github.com/coadler/tailscale@v1.1.1-0.20240926000438-059d0c1039af/util/execqueue/execqueue.go:31 +0x1a4
exit status 2

Windows as a client
PS H:\dev\wush\cmd\wush> ./wush cp -v .\version.go
Auth information:
        > Server overlay STUN address:  Disabled
        > Server overlay DERP home:     San Francisco
        > Server overlay public key:    [kaT7v]
        > Server overlay auth key:      [QcjTq]
Bringing WireGuard up..
[v1] using fake (no-op) tun device
[v1] using fake (no-op) OS network configurator
[v1] using fake (no-op) DNS configurator
dns: using dns.noopManager
link state: interfaces.State{defaultRoute=Ethernet (Red Hat VirtIO Ethernet Adapter) ifs={Ethernet:[<IP_ADDRESS>/24 fd92:bcb2:adb8:4777:3905:97aa:fee1:9dfd/128 fd92:bcb2:adb8:4777:d857:b470:1d75:4a54/64 llu6] Tailscale:[<IP_ADDRESS>/32 fd7a:115c:a1e0::6501:1a01/128 llu6]} v4=true v6=true}
onPortUpdate(port=51435, network=udp6)
[v1] warning: fakeRouter.UpdateMagicsockPort: not implemented.
onPortUpdate(port=51436, network=udp4)
[v1] warning: fakeRouter.UpdateMagicsockPort: not implemented.
[v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening not supported on this OS
[v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening not supported on this OS
magicsock: disco key = d:c9387b814555f131
Creating WireGuard device...
Bringing WireGuard device up...
wg: [v2] UDP bind has been updated
wg: [v2] Routine: receive incoming mkReceiveFunc - started
wg: [v2] Routine: receive incoming mkReceiveFunc - started
wg: [v2] Interface state was Down, requested Up, now Up
Bringing router up...
[v1] warning: fakeRouter.Up: not implemented.
Clearing router settings...
[v1] warning: fakeRouter.Set: not implemented.
Starting network monitor...
wg: [v2] Routine: receive incoming receiveDERP - started
Engine created.
logpolicy: using LocalAppData dir C:\Users\ilyagr\AppData\Local\Tailscale
[v1] netmap packet filter: (not ready yet)
tsnet starting with hostname "wush-send", varRoot "C:\\Users\\ilyagr\\AppData\\Local\\Temp"
Start
[vJSON]1{"Hostinfo":{"IPNVersion":"1.71.0-dev20241001-t76648322e-dirty","BackendLogID":"d8ae73d301bef59a95ede53ee02b7e7396fb7f0c2f08ad5284676755ddbf8467","OS":"windows","OSVersion":"10.0.22631.4169","Package":"tsnet","Hostname":"WINDOWS-OANL56F","GoArch":"arm64","GoVersion":"go1.22.5","Userspace":true,"UserspaceRouter":true,"AppConnector":false}}
generating new machine key
machine key written to store
Start: serverMode=false
[v1] netmap packet filter: (not ready yet)
timeout waiting for initial portlist
control: [v1] HostInfo: {"IPNVersion":"1.71.0-dev20241001-t76648322e-dirty","BackendLogID":"d8ae73d301bef59a95ede53ee02b7e7396fb7f0c2f08ad5284676755ddbf8467","OS":"windows","OSVersion":"10.0.22631.4169","Package":"tsnet","Hostname":"wush-send","GoArch":"arm64","GoVersion":"go1.22.5","Userspace":true,"UserspaceRouter":true,"AppConnector":false}
control: [v1] authRoutine: state:new; goal=nil paused=false
control: [v1] mapRoutine: state:new
Backend: logs: be:d8ae73d301bef59a95ede53ee02b7e7396fb7f0c2f08ad5284676755ddbf8467 fe:
Switching ipn state NoState -> NeedsLogin (WantRunning=true, nm=false)
control: [v1] HostInfo: {"IPNVersion":"1.71.0-dev20241001-t76648322e-dirty","BackendLogID":"d8ae73d301bef59a95ede53ee02b7e7396fb7f0c2f08ad5284676755ddbf8467","OS":"windows","OSVersion":"10.0.22631.4169","Package":"tsnet","Hostname":"wush-send","GoArch":"arm64","GoVersion":"go1.22.5","Services":[{"Proto":"peerapi-dns-proxy","Port":1}],"Userspace":true,"UserspaceRouter":true,"AppConnector":false}
health(warnable=warming-up): error: Tailscale is starting. Please wait.
health(warnable=is-using-unstable-version): error: This is an unstable version of Tailscale meant for testing and development purposes. Please report any issues to Tailscale.
blockEngineUpdates(true)
wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)
wgengine: Reconfig: configuring router
[v1] warning: fakeRouter.Set: not implemented.
wgengine: Reconfig: configuring DNS
dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}
dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}
dns: OScfg: {}
[v1] wgengine: Reconfig done
LocalBackend state is NeedsLogin; running StartLoginInteractive...
  I'll see what I can do to reproduce this now. What OS are you running wush serve from?

As I mentioned in the first message, I'm running an ARM Windows VM on an ARM Mac. If you have an ARM Mac, you can reproduce it following the instructions I linked.
So, in the panicing case, Windows is running wush serve and Mac is running wuch cp. In the hanging case, it's the other way around.

Was able to replicate the same hanging on Windows arm64. Will have this fixed today :+1:

Seems to work. Thank you very much!


feat: Bump zksync-protocol to 0.150.6

What ❔

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.

@EmilLuta I don't think so.
@robik75 could you please help with debugging (I do not have a local setup to check it)? Looks like the failing test is in shivini:
test::zksync::compare_proofs_for_all_zksync_circuits

Most likely we need to update some test artifacts

The test should not fail but this looks more like some problem with the runner then the code itself, I restarted the job.

It failed again, I will try to run it locally.


feat: add Service Catalog AppRegistry ApplicationTagValue output

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Summary
Add Service Catalog AppRegistry ApplicationTagValue to stack output
Implementation highlights
(describe how the merge request does for feature changes, share the RFC link if it has)
Test checklist

[ ] add new test cases
[ ] all code changes are covered by unit tests
[ ] end-to-end tests

[ ] deploy web console with CloudFront + S3 + API gateway
[ ] deploy web console within VPC
[ ] deploy ingestion server

[ ] with MSK sink
[ ] with KDS sink
[ ] with S3 sink

[ ] deploy data processing
[ ] deploy data modeling

[ ] new Redshift Serverless
[ ] provisioned Redshift
[ ] Athena

[ ] deploy with reporting

Is it a breaking change

[ ] add parameters without default value in stack
[ ] introduce new service permission in stack
[ ] introduce new top level stack module

Miscellaneous

[ ] introduce new symbol link source file(s) to be shared among infra code, web console frontend, and web console backend

let's also output the ApplicationTagKey

I've verified that the ApplicationTagKey is constant string awsApplication. Since when we tag the stacks for AppRegistry, the tag key will always be awsApplication, I didn't see much value of adding ApplicationTagKey to output.


Anchor tag ALL THE THINGS

We really need anchor tags on:

Files
Line numbers (per-file too)

Github looks to use the format diff-$SHA_OF_FILE[L|R]$NUM - e.g. diff-48205bd927ef9295872L57
the SHA is pretty opaque, so it'd be nice to do diff-$FILEPATH-[L-R]$NUM e.g. diff-foo/bar.py-L89
But id= attributes have limited character ranges (ASCII) which I guess is why they chose SHAs...

Line comments

Do like github and have the id=the comment ID

When you hit the BASE -> COMMENT button, the comment will be somewhere as a line comment so we should jump to it.
When you hit COMMENT -> HEAD, the file may be really small/big, so should jump to the start of the file in question.

We now anchor tag lines :D but we still need to anchor tag line comments. Updating to reflect.

So we anchor line comments now but both impls only work on BASE -> HEAD diffs. We need to add more info to the anchor to indicate the from/to short SHAs. Once that is done, we can close this.

Done! (horribly)


Remove graduated GitHub v3 API preview header: antiope

GitHub Developer v3 API announcement:
https://developer.github.com/changes/2020-10-01-graduate-antiope-preview/
This custom preview header has now graduated and needs to be removed from this repo:

application/vnd.github.antiope-preview+json

This would be a great PR for any new contributor to this repo or a new Go developer.
All contributions are greatly appreciated!
Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work.
Please check out our CONTRIBUTING.md guide to get started.
Thank you!

@gmlewis I can take this up if no one's started yet.

Thank you, @n1lesh !  It's yours.

Submitted a PR #1636.


esputil flash 0 firmware.bin just hangs

Hi, I am trying the example/blinky and it seems that it builds with no problem but then it stops after
"esputil flash 0 firmware.bin" and hangs there forever.
firmware.bin is generated with no issues
I tried on two different esp32c3 boards, but the same result. So I am stuck with ideas on what to do next.
What is it waiting for when it is trying to flash the chip?
Where could be my next step in debugging this?
Thank you.

esputil does not work for me either.  When I make an elf file with it, checking it with esptool.py shows a corrupted hash.
It is also unable to flash any of my devices (says that the pinout is incorrect, where would I find the correct pinning for the port?)
I completely gave up on esputil, as I have not been able to use it even once with any degree of success.


netflow log rotation parameters

Hi Ad,
The current flowd log file is turned over 10 times for each 10 MB. In cases where this is larger traffic volume old data points may be lost when recreating the database, going into POLA violation territory because it's not obvious. What about making these two values configurable?
Or changing the defaults, or documenting them. Or something else entirely? :)
Cheers,
Franco
See: https://forum.opnsense.org/index.php?topic=3581.0

Hi Franco,
I don't mind adding some configuration parameters for it, but this issue should only happen when you trash the full database and try to recreate it from its source (which may take quite some time if you increase this value).... Personally I haven't seen corruption on the more aggregated datasets only saw the 30 seconds average get corrupted beyond repair, although others can get damaged by a crash as well (as can flowd.log) .
Basically it isn't a very good idea to trash data you actually want to preserve ;) The flowd log files are only meant for staging. You can't keep a lot of history in there, because it would take too much time to parse it back to our structure.
Cheers,
Ad

Upon further review this seems to work as intended if we can guarantee the log rotation to kick in, which seems to be the case with the database repair now. I will make a note in the GUI and close this.


force:data:soql:query returns [object Object] when querying grandparent fields

Summary
Queries that reference grand parent fields (say Lead owner profile name as in example below) does not render requested field correctly.
Looking at --json version the field is returned, but not rendered correctly.
Steps To Reproduce:
sfdx force:data:soql:query -q 'select owner.Profile.Name from lead limit 1'

Expected result
OWNER.PROFILE
───────────────
System Administrator

Actual result
OWNER.PROFILE
───────────────
[object Object]

System Information
sfdx-cli/7.116.2 darwin-x64 node-v14.15.1

Related to this closed issue from last year: https://github.com/forcedotcom/cli/issues/264
The original issue was closed but the bug was never fixed :(

This was fixed in<EMAIL_ADDRESS>which has been included in sfdx since v7.121.3: https://github.com/salesforcecli/sfdx-cli/commit/4e109e3ef580e8443a2a85e7bb8da90df10ecdd7


Which is the most stable branch of this repo?

I am about to implement it at home with the Tactile Matrix and the projector, but before that, I would like to know which is the most stable version of the Cityscope repo?
Thank you very much,
@JLdelda

You'll probably find best luck with master branch


research: define basic rules for the c2c translator

Predefine basic rules to speed up the process of learning/deriving the rules. However, keep their number small, because the goal is to derive the rules and not to write them ourselves.

The first rule for Allocation is featured in the first prototype. The prototype differs between integers and floating point numbers.


Insiders: Margin Around Maximized Window on Wayland/Gnome 42.0

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

VS Code Version: 1.67.0-insider
OS Version: Linux x64 5.17.1-xm1.0.fc36.x86_64
Commit: 72b4be55fad0d41092d7df8e03b5597c715fd2e2
Electron: 17.4.1
Chromium: 98.0.4758.141

https://gfycat.com/elderlyrepulsivehyrax
Steps to Reproduce:

Install VSCode on Wayland
Start VSCode with these additional flags:
--enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --ozone-platform-hint=auto
Maximize the window

There is a margin around the window, most likely it is the size of the window drop shadow.
Demonstration: https://gfycat.com/elderlyrepulsivehyrax
Edit: when manually sizing/moving the window it does snap to the screen edges.

This seems to be an upstream Electron issue: https://github.com/electron/electron/issues/33161.

This should be addressed in latest stable 1.73


made slugify/urlify remove special characters

Fixed slugify to strip off the special characters which are not allowed by django's validator.
fixes #12300

Hi @Atif2077 - many thanks for the contribution! Unfortunately this isn't the correct behaviour - when WAGTAIL_ALLOW_UNICODE_SLUGS is true (which comes through to this function as the allowUnicode flag), we want the function to preserve letters in any alphabet, not just the Latin A-Z. It should just strip out whitespace, punctuation and other separator / combining characters. So, the expected result for the input 'উইকিপিডিয়ায় স্বাগতম!' should be "উইকপডযয-সবগতম".

Thank you so much for looking into this and correcting me, I am a new
contributor and learner and I am good at django but not at typescript and
other things, The cms platform and wagtail fascinates me a lot so I decided
to contribute something from my end, I will surely come up with a solution
Can you help me in a little issue :
As I am running the development wagtail from wagtail/tests.../manage.py,
When I make changes in the typescript or the javascript file it isn't
reflected on the page, How can I make changes reflect on the page
On Fri, 13 Sept 2024 at 18:01, Matt Westcott @.***>
wrote:

Hi @Atif2077 https://github.com/Atif2077 - many thanks for the
contribution! Unfortunately this isn't the correct behaviour - when
WAGTAIL_ALLOW_UNICODE_SLUGS is true (which comes through to this function
as the allowUnicode flag), we want the function to preserve letters in
any alphabet, not just the Latin A-Z. It should just strip out
whitespace, punctuation and other separator / combining characters. So, the
expected result for the input 'উইকিপিডিয়ায় স্বাগতম!' should be
"উইকপডযয-সবগতম".
—
Reply to this email directly, view it on GitHub
https://github.com/wagtail/wagtail/pull/12316#issuecomment-2348843886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGXKKQCFZWGERYJUXYZPFPTZWLLJ3AVCNFSM6AAAAABOFH2MG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBYHA2DGOBYGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Can you help me in a little issue : As I am running the development wagtail from wagtail/tests.../manage.py, When I make changes in the typescript or the javascript file it isn't reflected on the page, How can I make changes reflect on the page

Sure! There's a node.js build step that you need to run after any changes to the javascript / typescript / CSS, as detailed here: https://docs.wagtail.org/en/stable/contributing/developing.html#compiling-static-assets


The documentation page is not responsive

Node version:
Sails version (sails):
ORM hook version (sails-hook-orm):
Sockets hook version (sails-hook-sockets):
Organics hook version (sails-hook-organics):
Grunt hook version (sails-hook-grunt):
Uploads hook version (sails-hook-uploads):
DB adapter & version (e.g. sails-mysql@5.55.5):
Skipper adapter & version (e.g. skipper-s3@5.55.5):

The documentation page is not responsive.

Hey @rohinish404, our documentation pages are not responsive.
If you want to view a more mobile-friendly version of our docs, you can view them directly on GitHub in this repo.

Hey @rohinish404 our documentation pages are now responsive. You can check it out.
Fun fact: I documented the process of making it responsive in this thread on X


Split Open Access Button Import

Split the "all" Open Access Button Import to have two separate import methods: one for importing records that have a DOI and one for importing records that do not have a DOI.  Each of these will only take about a week to run, so it should allow us to run these imports with less interruption.  We can go back to running the OAB import with DOIs every week, and maybe do the no DOI import every other week (since this one may take a bit longer than a week to complete).  We should also add another second of sleep to the no DOI import so when both importers are running we aren't sending too many requests at once.  OAB asks that we don't send more than one request per second.

Fixes part of #590

@anaelizabethenriquez Just an FYI, I made these changes and released to production.  Instead of running the OAB importer on all publications at once, now it has an importer that just does the OAB import for publications with DOIs (this is how it used to be).  This will run every week on Sunday.  I also created another importer that will just import OAB metadata for publications without DOIs.  This will run on the 1st and 15th day of every month.
closed by #613

@ajkiessl Sounds great -- thank you!


Can the 'Custom format' option support escape characters when setting content

When I used Grafana's clock plugin, I found a feature that was incomplete，
Steps to reproduce the problem：
1.Edit the panel and select Mode as CountUp under Clock.
2.In the 'Custom format' input box under the CountUp option, enter characters such as M and H to display them, but they will be automatically escaped，And I can't use \n for line wrapping, so I can't do it either.
I suggest making improvements：
1.The use of escape symbols such as \ n can be used for related escapes.
2.Using the +transition symbol can cancel the escape. For example, \ M can display M.

Hi @ibarryyan
Internally clock panel uses momentjs to format using the custom format.
The momentjs documentation has a section that indicates you can escape characters in the format if you put them inside square brackets.
So if you'd like to escape something like Month: January you can write [Month:] MMMM where MMMM is the format code to display the full month (refer to the momentjs documentation)
I'll go ahead and add a small link in the panel options so people can refer to the momentjs documentation about this formatting options.


Step 5 of the Learn CSS Flexbox course says create an id but the solution is a class

Describe the Issue
Step 5 of the Learn CSS Flexbox by Building a Photo Gallery
course says create a div element with an id (gallery) but the Hint requests a class instead.
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-5
Steps to Reproduce

Copy-pasting the link in address bar,
Solving the step as described,
Clicking "Check Your Code" button/Pressing the Ctrl+Enter shortcut,
Regard Hint.

Recommended fix or suggestions
Having been blocked by this typo, I am running on the assumption that the solution will be consistent across the course. I recommend switching the 'id' text to 'class.'
Screenshots

Thank you for reporting this issue.
This is a standard message notifying you that the problem you mentioned here is present in production, but that it has already been fixed (#47223) in staging. This means that the next time we push our staging branch to production, this problem should be fixed. Because of this, we're closing this issue.
If you think we're wrong in closing this issue, please request for it to be reopened and add further clarification. Thank you and happy coding.


Download page

As now we have desktop app to keep CLI tool up to date, we want our main call to action to be about downloading that app.
Acceptance criteria

[x] nice download page at /download

Tasks

[x] download page (desktop app on top then comes cli binaries) [2h]

[x] design layout
[x] implement

[x] all download links should be tracked with GA [30m]

Analysis
Initial mockup as below. We will add more description like what you can do, eg, push/edit/manage datasets later. The screenshot should be replaced with nice one inside some iMac device probably:
Our app is the recommended way to put data on the DataHub and use its services.
It also installs and maintains the command line program up to date automatically.

FIXED - atm available for testing and will be live in production after redeploy:


Add components

I would like to add:

[x] Power connector
[x] Led for power connector
[x] Power button

Solved


Milestone 1 Preliminary Feedback

Very good and detailed proposal.
You do mention it in the proposal, but choose the specific models and evaluation metrics you will use to compare them.

Fixed with commit: https://github.com/UBC-MDS/522-Workflows-Group-414/commit/65af895c11c7c0b500fb6ba71aff284c25c904e7


C# (.NET) App Runner

Module Request
An app runner that builds/compiles the C# solution, and runs the built code upon instance start.
Also allows us to upload, and edit files via the file manager tab of the panel.
I confirm:

[x] that I have searched for an existing module request for this application.
[ ] that the server is an official server distributed by the games publishers/developers.
[x] that the server is available to the general public.
[x] that the server can be run headless (without a GUI).
[x] I have already attempted to create a configuration myself using the configuration tool

I've got a draft template in my dev branch: Greelan/AMPTemplates:dev. Haven't really tested it yet as I don't have a convenient project to use for it. Happy receive feedback


Add test cases for the issue when retrieving the timestamp value

Description:
When retrieving the timestamp value is not converted to current timestamp. Need to add test cases for this fix [1].
[1] https://github.com/ballerina-platform/ballerina-lang/pull/16210
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Moved to https://github.com/ballerina-platform/ballerina-lang/issues/20167


Add Design Tokens

Add Design Tokens, a plugin that allows designers to export tokens to JSON format.

@akbarbmirza this is my first time doing a pull request, I hope everything looks good!

updated the entry to reflect the changes

@kelbri10 can you reorder the entry so that it is in alphabetic order in the category and add a space between the heading and the links to the repo, plug-in, etc? once those are included, I can merge this

Updated !

@kelbri10 do you have twitter or linkedin? Would love to shout you out on both of those platforms later this week

Here's the link to my linkedin! @akbarbmirza


(De)Serializer Attack Surface

Hello, I am posting this a bit blind (I have searched on this repo's issue tracker and MBrace.Azure and have not found anything relating to this topic), recently (last few days) a talk was given at a security conference that mentioned .NET serialization vulnerabilities. FsPickler was especially mentioned, worryingly as an Example in the section referring to remote code execution.
The slide deck is available at https://www.blackhat.com/docs/us-17/thursday/us-17-Munoz-Friday-The-13th-Json-Attacks.pdf, unfortunately I don't have any additional useful information about it (as I was not in attendance of this conference), but I thought I would bring it to someones attention (it might be worthwhile cc'ing in people from MBrace.Azure to ensure no interfaces are exposed that would allow an attacker to abuse untrusted input that gets deserialized by FsPickle).

Thanks. This is part of the core design of this library, in particular to provide the ability to serialize arbitrary lambdas to power mbrace. Now, deserializing lambdas is enabling arbitrary code execution no matter how you look at it, which is kind of the point in distributed compute frameworks like mbrace or Spark. So I don't see how this could ever be changed or "fixed".
I only wish that the authors would take more time to investigate the background and motivation behind each library (e.g. https://github.com/mbraceproject/Vagabond) rather than lumping together everything they could scavenge from github. The fact that people use FsPickler as if it's suitable to run in something like a webserver doesn't help either.

See also http://eiriktsarpalis.github.io/mbrace-msrc/#/

Very good, indeed. There is now something searchable when people look for this issue! Perhaps it would avoid security authors of publishing false positives like this if FsPickler documentation provided a warning, much like python pickle (https://docs.python.org/2/library/pickle.html) to let everyone know that the library is not intended to be responsible for such things?

I think this has been answered and is definitely not an issue, closing! :)


Add functionality to track bitmap information and events

Hello! Thank you for this awesome library!
We are strongly using it for our Story functionality such as on Instagram, and we are willing to help to modify, improve and add more functionality to this library.
Our use-case, that made us create this merge-request, includes the following points:

Add the ability to attach buttons/links to a story
Add the ability to edit the information of these attachments during creation
Add the ability to recreate clickable areas on these attachments and do something if the user interacts

So, changes that we added to the library include these points:

Made ViewType a sealed interface instead of enum and used the correct naming conventions for children.
Added a new ViewType, called Custom<T>, that takes generic data as a parameter/property, this ViewType can be passed with the bitmap through photoEditor.addImage(bitmap, viewType), if nothing is passed, ViewType.Image will be used by default.
Changed OnPhotoEditorListener interface to return the rootView on each event, so we can extract the Rect and other information about the view and its properties
OnPhotoEditorListener.onAddViewListener is now called through rootView.post {} to make sure that this event is fired only after the view finishes its creation and setup

For now, this is enough to extract view's data and track it, also to create clickable ghosts during story preview.
I hope this Pull Request will be accepted, it would be awesome to have a review first, so I could adjust any errors since I'm not that well-involved into this library and can miss some moments. Thank you!

@tamimattafi Also, please make sure all the test passes. There are some failing tests on the current PR.

@tamimattafi Are there any updates on this?

Hello @burhanrashid52,
I apologize for being inactive and not responding to your comments. I was quite busy and didn't really check my notifications.
Thank you for your review, I can fix the issues and add some use-case examples if we can re-open the pull request

Hello @burhanrashid52, I apologize for being inactive and not responding to your comments. I was quite busy and didn't really check my notifications. Thank you for your review, I can fix the issues and add some use-case examples if we can re-open the pull request

Sure. I am reopening it.

Hello @burhanrashid52, I apologize for being inactive and not responding to your comments. I was quite busy and didn't really check my notifications. Thank you for your review, I can fix the issues and add some use-case examples if we can re-open the pull request

Sure. I am reopening it.

Thank you, I will make sure to do it this weekend.

Hello @burhanrashid52
I have checked my local code, I've made some changes before your review, fixed some issues and refactored some code. Should I close the Pull Request and open a new one, or I should update the current on with the new changes + add the changes you requested?

Hello @burhanrashid52 I have checked my local code, I've made some changes before your review, fixed some issues and refactored some code. Should I close the Pull Request and open a new one, or I should update the current on with the new changes + add the changes you requested?

If you've changed the majority of the structure then better to open a new PR and if you just address changes regarding my comment then it's better to keep the PR itself to track reviews.

@tamimattafi I am planning to publish a new version 3.0.1. So wanted to check up to see when can we expect the new PR. Or else I publish the new version for now.

@burhanrashid52 Sorry again for the delay, we have some troubles at work. I think you should publish the new release for now without my changes, I will try to prepare a new PR this weekend (Probably Sunday)


Support for arm64

This is not a bug/issue, but it would be great to have support for arm64 servers!

See https://github.com/EasyEngine/easyengine/discussions/1679


Autolayout issue

I am just starting to use Freestyle in a project that uses autolayout.
I have a UIButton subclass where I added my own image and label and lay them out side by side using autolayout.
I get the following error: "Auto Layout still required after executing -layoutSubviews. QButton's implementation of -layoutSubviews needs to call super".

Here is my scss style for button:
view.light-theme {

    button {
        border-radius: $button-border-radius;

        label {
            font-family: $button-text-font;
            font-size: $button-text-size;
            font-weight: $button-font-weight;
            text-transform: uppercase;
        }
    }

    button.flat{

        label{
            color: $button-flat-light-theme-normal-text-color;
        }

        &:normal{
            background-color: $button-flat-light-theme-normal-bg-color;
        }

        &:highlighted{
            background-color: $button-flat-light-theme-highlighted-bg-color;
        }
        &:selected{
            background-color: $button-flat-light-theme-selected-bg-color;
        }
        &:disabled{
            background-color: $button-flat-light-theme-disabled-bg-color;

            label {
                color: $button-flat-light-theme-disabled-text-color;
            }
        }
    }

}

Calling [PixateFreestyle updateStyles:self] solved the issue.


Update circe-core, circe-generic, ... to 0.14.8

About this PR
📦 Updates

io.circe:circe-core
io.circe:circe-generic
io.circe:circe-parser
io.circe:circe-refined

from 0.14.2 to 0.14.8
📜 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 = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #264.


Toast Modal Not Show/Hide Behind Expo presentation Modal in IOS

Using Expo Router and presentation screen in 'modal'. Toste Error Message Show But Behind the Modal in IOS Specific Issue.
https://github.com/user-attachments/assets/fde147cf-bd7f-4393-8c0d-0b402e893681
Code Snip
<Stack.Screen
                name="otp-verify"
                options={{
                  headerShown: false,
                  presentation: 'modal',
                }}
              />

import { useColorScheme } from 'react-native';
import { TamaguiProvider, type TamaguiProviderProps } from 'tamagui';
import { ToastProvider, ToastViewport } from '@tamagui/toast';
import { CurrentToast } from '../components/shared/CurrentToast';
import { config } from '../tamagui.config';
import { I18nextProvider } from 'react-i18next';
import i18next from '../lib/i18n/i18n';

export function TamagUIProvider({
  children,
  ...rest
}: Omit<TamaguiProviderProps, 'config'>) {
  const colorScheme = useColorScheme();

  return (
    <I18nextProvider i18n={i18next}>
      <TamaguiProvider
        config={config}
        defaultTheme={colorScheme === 'dark' ? 'dark' : 'light'}
        {...rest}>
        <ToastProvider
          swipeDirection="horizontal"
          duration={6000}
          native={
            [
              /* uncomment the next line to do native toasts on mobile.

I just encountered the same issue and was able to fix it. It's not ideal because when the modal is closing sometimes you can see that the toast on the modal view is separate. Also tried this fix https://github.com/tamagui/tamagui/issues/921#issuecomment-1836735100 without success.
In your otp screen use separate ToastViewport like this:
otp-verify.tsx
export default function Screen() {
  return (
    <>
      <Stack.Screen
        options={{
          headerShown: false,
        }}
      />
      <ToastViewport top="$8" left={0} right={0} />
      <OtpScreen />
    </>
  )
}


Pretrained checkpoints

Hi, thank you for sharing the awesome work! I'm wondering what's the difference between the checkpoints in the google drive and the links?

Hi, there is no difference for the models on Google drive and MPI drive. Just pick whichever link works for you.

Got it thank you!


Broken with Play Store version 7.6.08.N-All [0] [PR] 149245622

I've been compiling the latest LineageOS 14.1 with the following two patches.
https://github.com/microg/android_packages_apps_GmsCore/blob/master/patches/android_frameworks_base-N.patch
https://github.com/microg/android_packages_apps_UnifiedNlp/blob/master/patches/android_frameworks_base-N.patch
Since I was having issues trying to go from a build made on 03/12/2017 I decided to build a fresh one today, 03/09/2017 and install from scratch. Naturally I downloaded the latest Google Play Store apk to install along side microG in /system/priv-app/Phonesky/Phonesky.apk  So far the Play Store does not connect and causes microG framework to crash "microG Services Framework Proxy has Stopped". The Play Store itself displays "Error retrieving information from server. [RH-01]"
What should I do at this point?
Also possibly related is my issue with UnifiedNlp here, https://github.com/microg/android_packages_apps_UnifiedNlp/issues/132
System:
Moto X Pure (Clark)
LineageOS 14.1 Built on 03/09/2017
microG Services Framework Proxy v0.1.0
UnifiedNlp (no GAPPS) v0.2.4-79-g7f13738
LocalWifiNlpBackend v1.1.6
MozillaNlpBackend v1.3.2
NominatimNlpBackend v1.2.1

I found a workaround, use Google Play Store version 7.6.07.N-All [0] [PR] 148468439 or older.    The other issue microg/android_packages_apps_UnifiedNlp#132 still affects me though.

Closed, no longer an issue with microG version 0.2.4-81-gb1e98ea

You get "Error retrieving information from server. [RH-01]" when "Google device registration" is disabled in microG settings.

@ale5000-git I've since switched to NanoMod, I use that patcher and the official builds from LineageOS.   I've noticed that this error occurs on the first start of Play Store even with "Google device registration" switched on before launching the Play Store.  I find I have to clear the Play Store data and settings once my device is logged in to a Google account to get it to finally load.

Seems like the Play Store tries to load without first having you accept "terms and conditions". After clearing data and loading a second time I get a "terms and conditions" pop up.

Faced this issue with 7.8.16.P-all [0] [PR] 155590935
microG version is <IP_ADDRESS>20-5 (cfc90b4)
And how I resolved it:
Settings → Applications → Play Store
1. Stop
2. Remove all data
3. Disable application
4. Enable application
After that, when you start it, it asks you to accept "Terms and conditions" and works after as should.
PS: without steps 3 and 4 it doesn't work.


Error encountered while running project after sending 'Hi' message

I am trying to run this project, but I encountered an error after sending the "Hi" message.
Error
HTTPSConnectionPool(host='https', port=443): Max retries exceeded
with url: //dummy.openai.azure.com/.openai.azure.com/openai/deployments/dummy-gpt-35-turbo/extensions/chat/completions?api-version=2023-03-15-preview
(Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000017BFF2529B0>: Failed to resolve 'https' ([Errno 11001] getaddrinfo failed)"))
I have set the following parameters in my app.py
ACS Integration Settings
AZURE_SEARCH_SERVICE = ""
AZURE_SEARCH_INDEX = ""
AZURE_SEARCH_KEY =""
AOAI Integration Settings
AZURE_OPENAI_RESOURCE = ""
AZURE_OPENAI_MODEL = ""
AZURE_OPENAI_KEY = ""
Note
My Azure Open AI chatplayground working fine with my data

Please check that the URL matches the URL in the studio. You can click "View code", select "curl" in the dropdown, and compare the URL there. This is what's in your error message:
//dummy.openai.azure.com/.openai.azure.com/openai/deployments/dummy-gpt-35-turbo/extensions/chat/completions?api-version=2023-03-15-preview
If the URLs are different, then your environment variables need to be adjusted.

Thank you very much for your reply.
Before
AZURE_OPENAI_RESOURCE = "https://dummyai.openai.azure.com/"
Now, I have changed it to include only my resource name without the domain "openai.azure.com".
Only this parameter in project
AZURE_OPENAI_RESOURCE = "dummyai"
But new error occurs
Error
Resource not found
I have reposted my parameters with dummy fields to help you better understand the problem.
ACS Integration Settings
AZURE_SEARCH_SERVICE = "dummyaicogserv"
AZURE_SEARCH_INDEX = "policy-101"
AZURE_SEARCH_KEY ="j3j7ijweioru8923u98jsiodfjkldummy"
AOAI Integration Settings
AZURE_OPENAI_RESOURCE = "dummyai"
AZURE_OPENAI_KEY = "lksdjf98u29u09isdjfiojijsdfdummy"
AZURE_OPENAI_MODEL = "dummy-gpt-35-turbo"

Can you determine which resource triggered the "Resource not found" error? Was it openAI or ACS?
If helpful, you can enable more debug logs in the Flask app by adding this to app.py:
logging.basicConfig(level=logging.DEBUG)

Here's an example of correct config:
AZURE_OPENAI_KEY="dummy"
AZURE_OPENAI_MAX_TOKENS=1000
AZURE_OPENAI_MODEL="turbo"
AZURE_OPENAI_MODEL_NAME="gpt-35-turbo"
AZURE_OPENAI_PREVIEW_API_VERSION="2023-06-01-preview"
AZURE_OPENAI_RESOURCE="cog-7owkquzj3sveq"
AZURE_OPENAI_RESOURCE_GROUP="rg-wedspsf"
AZURE_OPENAI_SKU_NAME="S0"
AZURE_OPENAI_STOP_SEQUENCE=""
AZURE_OPENAI_STREAM="true"
AZURE_OPENAI_SYSTEM_MESSAGE="You are an AI assistant that helps people find information."
AZURE_OPENAI_TEMPERATURE=0
AZURE_OPENAI_TOP_P=1
AZURE_RESOURCE_GROUP="rg-wedspsf"
AZURE_SEARCH_CONTENT_COLUMNS="content"
AZURE_SEARCH_ENABLE_IN_DOMAIN="true"
AZURE_SEARCH_FILENAME_COLUMN="filepath"
AZURE_SEARCH_INDEX="gptkbindex"
AZURE_SEARCH_KEY="dummy"
AZURE_SEARCH_SEMANTIC_SEARCH_CONFIG="default"
AZURE_SEARCH_SERVICE="gptkb-7owkquzj3sveq"
AZURE_SEARCH_SERVICE_RESOURCE_GROUP="rg-wedspsf"
AZURE_SEARCH_SKU_NAME="standard"
AZURE_SEARCH_TITLE_COLUMN="title"
AZURE_SEARCH_TOP_K=5
AZURE_SEARCH_URL_COLUMN="url"
AZURE_SEARCH_USE_SEMANTIC_SEARCH="false"
AZURE_STORAGE_ACCOUNT="st7owkquzj3sveq"
AZURE_STORAGE_CONTAINER="content"
AZURE_STORAGE_RESOURCE_GROUP="rg-wedspsf"

However, I do not set my config manually, I run azd up, and it sets everything for me. Instructions for deploying via azd are here:
https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/README_azd.md

When the project start I noticed one error was already there "No identity provider found. Access to chat will be blocked"
but when i bypass this Still I show this message "Resouce not found" on web page.
Thank you once again for your dedication in resolving my project issue.

Thank you so much for your helpful answer! @pamelafox
I encountered two issues that I was facing:
1.When running the code with "Visual Studio Code," I noticed that any changes I made in app.py were not taking effect.
2.In app.py, my resources were defined with a domain name.
Thank you once again for your help!
Now, I would like to create a fine-tuned model for my chatbot using the "chat-gpt-35-turbo" model. Furthermore, I am interested in deploying this project on my own server.
Note: I'm pleased to inform you that my previous issue has been resolved.

Ah, it looks like I didn't update start.cmd to have auto-reloading.
Please try changing the Python line to:
call python  -m flask run --port=5000 --host=<IP_ADDRESS> --reload --debug
The --reload argument should cause auto-reloading when app.py is changed. It won't auto-reload for frontend changes though.
Is #2 an issue? I don't see the question there ("my resources were defined with a domain name").

Hi @SyadBabarAli as it looks like your issue has been resolved I will close this thread. For more information on fine tuning, please see the documentation: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/fine-tuning?pivots=programming-language-studio. Let us know if you run into any other issues.

Can you determine which resource triggered the "Resource not found" error? Was it openAI or ACS?
If helpful, you can enable more debug logs in the Flask app by adding this to app.py:
logging.basicConfig(level=logging.DEBUG)

Here's an example of correct config:
AZURE_OPENAI_KEY="dummy"
AZURE_OPENAI_MAX_TOKENS=1000
AZURE_OPENAI_MODEL="turbo"
AZURE_OPENAI_MODEL_NAME="gpt-35-turbo"
AZURE_OPENAI_PREVIEW_API_VERSION="2023-06-01-preview"
AZURE_OPENAI_RESOURCE="cog-7owkquzj3sveq"
AZURE_OPENAI_RESOURCE_GROUP="rg-wedspsf"
AZURE_OPENAI_SKU_NAME="S0"
AZURE_OPENAI_STOP_SEQUENCE=""
AZURE_OPENAI_STREAM="true"
AZURE_OPENAI_SYSTEM_MESSAGE="You are an AI assistant that helps people find information."
AZURE_OPENAI_TEMPERATURE=0
AZURE_OPENAI_TOP_P=1
AZURE_RESOURCE_GROUP="rg-wedspsf"
AZURE_SEARCH_CONTENT_COLUMNS="content"
AZURE_SEARCH_ENABLE_IN_DOMAIN="true"
AZURE_SEARCH_FILENAME_COLUMN="filepath"
AZURE_SEARCH_INDEX="gptkbindex"
AZURE_SEARCH_KEY="dummy"
AZURE_SEARCH_SEMANTIC_SEARCH_CONFIG="default"
AZURE_SEARCH_SERVICE="gptkb-7owkquzj3sveq"
AZURE_SEARCH_SERVICE_RESOURCE_GROUP="rg-wedspsf"
AZURE_SEARCH_SKU_NAME="standard"
AZURE_SEARCH_TITLE_COLUMN="title"
AZURE_SEARCH_TOP_K=5
AZURE_SEARCH_URL_COLUMN="url"
AZURE_SEARCH_USE_SEMANTIC_SEARCH="false"
AZURE_STORAGE_ACCOUNT="st7owkquzj3sveq"
AZURE_STORAGE_CONTAINER="content"
AZURE_STORAGE_RESOURCE_GROUP="rg-wedspsf"

However, I do not set my config manually, I run azd up, and it sets everything for me. Instructions for deploying via azd are here:
https://github.com/microsoft/sample-app-aoai-chatGPT/blob/main/README_azd.md

Hey could you also provide correct Config format for COSMOS DB? Thanks


Added error call state

Coverage remained the same at 100.0% when pulling b504b853b987a9cc1019ef318a0eb6b244cb8469 on JurySemerikov:master-call-state into ceb3df3d06e0eebfa125fd5e3d12fe38bfea4d6f on bandwidthcom:master.

@avbel we have several such calls:
{
"direction": "out",
"endTime": "2017-09-07T09:40:00Z",
"events": "https://api.catapult.inetwork.com/v1/users/u-ezexlq3syudojxmrf7vuu7y/calls/c-3rtok7ztulq5yttum5cinva/events",
"from": "+13232847222",
"id": "c-3rtok7ztulq5yttum5cinva",
"recordingFileFormat": "wav",
"recordingEnabled": false,
"recordings": "https://api.catapult.inetwork.com/v1/users/u-ezexlq3syudojxmrf7vuu7y/calls/c-3rtok7ztulq5yttum5cinva/recordings",
"startTime": "2017-09-07T08:39:52Z",
"state": "error",
"to": "+106860648",
"transcriptionEnabled": false,
"transcriptions": "https://api.catapult.inetwork.com/v1/users/u-ezexlq3syudojxmrf7vuu7y/calls/c-3rtok7ztulq5yttum5cinva/transcriptions"
}
The field state is 'error'. When I tried get this call through this library I got a error: "Requested value 'Error' was not found." This fix resolves this issue.


Helm Chart - Check prometheus CRD availability before creating ServiceMonitor - PodMonitor - PrometheusRule  resources

Given that the prometheus-stack dependency can be disabled (see condition: kube-prometheus-stack.install), adding a couple of guardrails to prometheus resources might make sense:

templates/podmonitors.yaml
templates/prometheusRules.yaml
templates/servicemonitors.yaml

I can open a PR if that helps.

Sure, please proceed to open a PR.

Hi @datacore-vvarakantham, I've just opened an PR to address this issue: https://github.com/openebs/monitoring/pull/108


setup_ngsi_go.sh script builder bug.

Checklist
Put an x in the boxes that apply

[ ] I have run the latest release.
[ ] I have inspeced the status of docker containers.
[ ] I have run the sanity check described in after-installation.md.
[x ] I have inspected all error messages.
[ ] I have inspected the log files in the /var/log/fiware directory.
[ ] I have run the make collect command.

Describe the bug
A clear and concise description of what the bug is.
You need to show why you think this issue is a bug.
"setup_ngsi_go.sh" script is not work collectly.
I copied that script to other machine(raspberry pi host) and tried to setup ngsi command on that host.
But ngsi command was not work well. Command output is following.
pi@raspberrypi:~ $ ngsi version
Run001 error 401 Unauthorized
<title>401 Authorization Required</title>

401 Authorization Required

nginx

pi@raspberrypi:~ $

The configuration of ngsi go command on that host(raspberry pi) is like following.
pi@raspberrypi:~ $ ngsi broker list --host orion.fiware-test.org
brokerHost https://orion.fiware-test.org
ngsiType v2
IdmType tokenproxy
IdmHost ttps://keyrock.fiware-test.org/token
Username<EMAIL_ADDRESS>Password ****************

So, I checked setup_ngsi_go.sh generation script in FIWARE Big-Bang source codes, then found following.
          "ORION" )  echo "ngsi broker add --host ${VAL} --ngsiType v2 --brokerHost https://${VAL} --idmType tokenproxy --idmHost ttps://${KEYROCK}/token --username \"\${IDM_ADMIN_EMAIL}\" --password \"\${IDM_ADMIN_PASS}\" --overWrite" >> "${SCRIPT_FILE}" ;;

it's looks like a bug.
Your system environment
Run make collect in a directory where you ran the lets-fiware.sh script and paste the results here.
ubuntu@orion:~/FIWARE-Big-Bang-0.23.0$ make collect
./config/script/collect.sh
Date: Mon Mar 27 16:47:02 JST 2023
Version: 0.23.0
Hash: 2d968c6830db7e9fc851dce69c026fca905c3b9287b92d450a346ac06e163909  lets-fiware.sh
App list: KEYROCK ORION NODE_RED
Install: completed
Docker containers:
make[1]: Entering directory '/home/ubuntu/FIWARE-Big-Bang-0.23.0'
sudo ./setup/ps.sh
NAME                                IMAGE                              COMMAND                  SERVICE             CREATED             STATUS                   PORTS
fiware-big-bang-0230-keyrock-1      letsfiware/idm:8.1.0               "docker-entrypoint.s…"   keyrock             2 weeks ago         Up 2 weeks (healthy)     3000/tcp
fiware-big-bang-0230-mongo-1        mongo:4.4                          "docker-entrypoint.s…"   mongo               2 weeks ago         Up 2 weeks               27017/tcp
fiware-big-bang-0230-mysql-1        mysql:5.7                          "docker-entrypoint.s…"   mysql               2 weeks ago         Up 2 weeks               3306/tcp, 33060/tcp
fiware-big-bang-0230-nginx-1        nginx:1.21                         "/docker-entrypoint.…"   nginx               2 weeks ago         Up 2 weeks               <IP_ADDRESS>:80->80/tcp, :::80->80/tcp, <IP_ADDRESS>:443->443/tcp, :::443->443/tcp
fiware-big-bang-0230-node-red-1     letsfiware/node-red:0.23.0         "npm --no-update-not…"   node-red            2 weeks ago         Up 2 weeks (healthy)     1880/tcp
fiware-big-bang-0230-orion-1        telefonicaiot/fiware-orion:3.8.0   "sh -c 'rm /tmp/cont…"   orion               2 weeks ago         Up 2 weeks (healthy)     1026/tcp
fiware-big-bang-0230-tokenproxy-1   letsfiware/tokenproxy:0.23.0       "docker-entrypoint.sh"   tokenproxy          2 weeks ago         Up 2 weeks               1029/tcp
fiware-big-bang-0230-wilma-1        letsfiware/pep-proxy:8.1.0         "docker-entrypoint.s…"   wilma               2 weeks ago         Up 2 weeks (unhealthy)   1027/tcp
make[1]: Leaving directory '/home/ubuntu/FIWARE-Big-Bang-0.23.0'
Keyrock:
{"keyrock":{"version":"8.1.0","release_date":"2021-07-22","uptime":"05:00:30.9","git_hash":"https://github.com/ging/fiware-idm/releases/tag/8.1.0","doc":"https://fiware-idm.readthedocs.io/en/8.1.0/","api":{"version":"v1","link":"https://keyrock.fiware-test.org/v1"}}}

ubuntu@orion:~/FIWARE-Big-Bang-0.23.0$
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Server (please complete the following information):

OS and OS version: Rasbian OS, version 11(bullseye)
Docker version:
Docker-compose version:

Additional context
Add any other context about the problem here.

Thank you for the feedback. I fixed the bug by PR #265 and released the FIWARE Big Bang v0.25.0.


Need guidance on use of preferRest; FIRESTORE_PREFER_REST is now being set to true by default in firebase functions causing preferRest to be default rather than opt-in

After our last round of deployments to firestore functions, we started to see a big increase in execution times in our functions (about double) and started to get frequent ECONNRESET errors in all newly deployed functions.
I did a lot of troubleshooting including rolling back our code to the code from prior deployments and nothing fixed our issue. I saw this issue: https://github.com/firebase/firebase-admin-node/issues/2243 about someone having ECONNRESET issues after enabling preferRest, and I turned on setLogFunction for firestore to see if I could see what was going on. I saw this in the logs:
Firestore (6.7.0) 2023-11-13T12:18:33.460Z epLhF [ClientPool.acquire]: Creating a new client (requiresGrpc: false)
Firestore (6.7.0) 2023-11-13T12:18:33.559Z ##### [clientFactory]: Initialized Firestore GAPIC Client (useFallback: rest)

I redeployed with {preferRest:false} and immediately the execution times returned to their previous times. Obviously our code performs better with this setting as false, so explicitly setting it to false is at least a short-term resolution for our needs.
I looked through release notes and noticed this: https://github.com/googleapis/nodejs-firestore/pull/1848; so I added a console.log for the FIRESTORE_PREFER_REST env variable and, sure enough, it's explicitly set to true in our environments. But we have set this nowhere in our code or in any configuration.
My questions are twofold:

when did the functions environments start defaulting FIRESTORE_PREFER_REST environment variable? I will log a support ticket to Google for this, since it seems not related to this package, but I wanted to note it here for awareness, especially if anyone else is wasting cycles on tracking this down like I was. As of a few weeks ago, this setting must not have been defaulting to true because we only saw the performance issues arise after our most recent deployment (Nov 7); as I mentioned, I tried redeploying the exact same code (including all sdk library versions) from a prior deployment and saw performance issues that we did not see with last deployment. In both cases the entire code was the same, we were using version 6.7.0 of this library.  If this environment variable was turned on in all new deployments, I would have expected to see this in release notes somewhere. I cannot find any record of this. This functionality is documented as opt-in behavior, but setting the env variable by default makes it opt-out, so surely that should be communicated. A lot of time was spent on this; it's not a normal expectation to redeploy the same exact code and have a performance hit without any clues about infrastructure changes that could be the reason behind this.
what is the recommendation for use of preferRest moving forward? As I mentioned the performance degradation was really large for us. Do you have information on what types of workloads you'd expect performance improvements versus which would expect performance degradation?

We aer encountering a similar issue.
In the recent update to version 12.8.0 of w9jds/firebase-action, which is using the 12.8.0 version of firebase-tool, the environment variable FIRESTORE_PREFER_REST is being automatically set to true. We've observed a critical issue where this change is causing some cloud functions (interact with Firestore with multiple reads), which are hosted through Firebase hosting, to get triggered multiple times (observed at least 10 times more than expected).
This behavior of multiple triggers does not occur when the function is invoked directly through its original Cloud Function trigger URL. However, the issue arises when the function is called via the Firebase hosting route.
A temporary workaround we found is to unset the FIRESTORE_PREFER_REST variable or using an older version to deploy, which resolves the issue of multiple triggers.

@sbhvt, Sorry to hear this change has caused performance degradation for you. preferRest was introduced to reduce function cold start times associated with loading and initializing the grpc stack. There's nothing wrong with choosing to set preferRest: false in the long run. We've had reports of perferRest helping customers, but I can't recall one that has show serious performance degradation. If possible, we'd like to learn more about your workloads to help us understand why you might be experiencing this.
Also, I forwarded this issue with the cloud functions team so they can follow up on questions in #1.

We've had reports of perferRest helping customers

Interesting data point: https://github.com/googleapis/nodejs-firestore/issues/1862 suggested that they were getting significantly better performance when using preferRest.

@MarkDuckworth thanks so much for forwarding that along.

@sbhvt, Sorry to hear this change has caused performance degradation for you. preferRest was introduced to reduce function cold start times associated with loading and initializing the grpc stack. There's nothing wrong with choosing to set preferRest: false in the long run.

Ok, that's what we will plan to do for now to get our performance times back to the previous.

We've had reports of perferRest helping customers, but I can't recall one that has show serious performance degradation. If possible, we'd like to learn more about your workloads to help us understand why you might be experiencing this.

Here's a breakdown of background on what we've seen:

Cold starts aren't really a concern for us; most of the functions in question have provisioned minimum instances and consistently have multiple instances running, those which do not have minimum instances are those we already deemed cold starts to be acceptable for (i.e. where execution time is not concern). Our bigger concern is ongoing execution time.
we don't have load-testing in our lower environments and obviously don't have the same level of steady traffic in dev/test, so I could only really see concrete measurable impacts against historical memory and execution times in our production environment, but even in the lower environments, we have started to frequently get the ECONNRESET errors in functions that were deployed in the last week. ECONNRESET issues were found for functions across ALL types of triggers (http, chron, firestore triggers, pubsub).
for all functions there was a visible impact to memory utilization: much higher and in most cases more variable. Incidentally, I upgraded node 16 to node 18 and saw an even worse impact on memory, but this was before I had identified the root cause so that's something I'd want to repeat again with preferRest off to be more confident with saying it was an issue.
some of our functions have pretty high variation of execution times while others have pretty steady execution times; for the functions that had historically steady execution times, it was very easy to see exactly when the impacts began and when they ended (when I set preferRest to false); for those it with variable times, I couldn't necessarily correlate the measurable difference in execution times.
the functions with the measurable execution time difference are all ones where we have multiple read queries to Firestore, pulling back only 1-2 records; the document size is pretty large but the number of records in the response is not.
I can't say whether we have seen an impact in functions which were not read-heavy workloads simply because this particular deployment happened to touch mostly functions that were reads only or functions with writes which already had highly variable execution times.

For reference here's a visual of the difference in execution times for one of our functions between when we first encountered the issue to when I finally set preferRest to false. This particular function had pretty steady request volume and, as you can see, steady execution times (showing the 50 and 95 percentiles). As you can see it more than doubled execution time during the period it was running with FIRESTORE_PREFER_REST enabled. Other functions saw similar execution time changes that were introduced exactly when the most recent deployment was made.

The function above is an http function that averages between 2-3 active and 2-3 idle instances consistently.
Is there any specific guidance you'd recommend based on what I've shared above? Or should we just proceed with disabling rest?

@MarkDuckworth additional info I forgot to mention above: when I enabled firestore logging, I could clearly see that the issue was with the increase in time from send request to receive response. The time itself differed depending on the query but for the same query, the time was much higher with preferRest, sometimes more than double. I did, however,  indeed see an improvement in time to initialize the first client (105 ms without rest, 40 with rest), but that was more than offset by the increase in each request time, plus since we have active instances running clients are reused most requests.

@sbhvt Engineer from Cloud Functions for Firebase here.
Thanks for detailing your setup and pointing out the issue with the recent update. Our intention with changing the default value for preferRest to improve the performance of initializing and using the Firestore client for majority of our users, but clearly, it didn't pan out that way for everyone. Sorry about the hassle it caused – that wasn't our plan.
We're pulling back on making preferRest: true the default. We're going to dig deeper into the issue you've surfaced and, if it makes sense, we might reintroduce it in a future update – but only through a major bump in the firebase functions SDK.
Your feedback was incredible helpful. We're on track to fix this and will let you know once it's sorted.

@taeold Thanks, appreciate the reply. Let me know if there's any more info you need.

Is there any update on this? I'm also facing this issue.


Fix

Problem description

Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

Hello @Heartyharts There's isn't any information on the ticket for us to take action on. I'm closing the issue here for that reason. Feel free to add more information on the ticket to continue the conversation.


Add Newfoundland and Labrador shields

Fixes #280.
Waiting for tile update before testing is possible.

Is there something special about the 26px width compared to other similar rectangle shields that use 30px?

I felt it matched the proportions of the real-life shield a little better. The default 34px width for rectangles looked too wide. Though a variable-width rectangle seems okay.

I agree that the 34px width looks too wide, and I'm not sure why that's the default.  Rhode Island (just to choose an arbitrary example here) has two different fixed-width signs (one for 1-2 digit routes and another for 3-digit routes) and we match that with variable width signs.  From what I see on Wikipedia about these highways, NFL+L also does the same, so I'd think we'd want to match that behavior with the variable width.

I agree that the 34px width looks too wide, and I'm not sure why that's the default.

Some European networks use a wide fixed-width rectangle. Not as common in North America.

Rhode Island (just to choose an arbitrary example here) has two different fixed-width signs (one for 1-2 digit routes and another for 3-digit routes) and we match that with variable width signs. From what I see on Wikipedia about these highways, NFL+L also does the same, so I'd think we'd want to match that behavior with the variable width.

I'm hesitant to make shield design assumptions based on SVGs created by Wikipedians, rather than real-life photographs. Actual signage appears to be a rectangle of constant proportions, but much closer to square than the European-style rectangles. However, I don't think the rectangle width is a necessary design element to recognize the route network, and I think most Newfoundlanders would probably agree. I've gone ahead and changed the shield to a variable-width rectangle.

The few examples I could find:

In other words, it seems entirely random.


added timestamp on task start and completion

remade the branch and PR .
@benbp @rolandpoulter

👍
@RackHD/corecommitters

Anyone else besides @benbp to review and help push along this PR?
@RackHD/corecommitters @rolandpoulter

test this please


feat(test): make code coverage and lint optional

Heavily inspired by @abner's work on #1799.
Partially address #1980
Fix #1798
Close #1799

hi @filipesilva . Great. i was absent for a while and could answer but i saw the solution and i really appreciate you mentioned me. :+1:  :smiley:

Well you really were the driving force for the feature :D


ABOAT-1480 - User authentication for Neb 2

Fixes # .
https://traderinteractive.atlassian.net/browse/ABOAT-1480
What does this PR do?
Added refresh flag to allow cache to be refreshed. This was needed for new PHP library to be able to update refresh tokens on the fly.
Checklist

[  ] Pull request contains a clear definition of changes
[  ] Tests (either unit, integration, or acceptance) written and passing
[  ] Relevant documentation produced and/or updated

@chrisryan as per your previous comment, i did notice the refresh flag on the constructor. i dont think this would work but i could be wrong. ill need to look into it a bit more before releasing. the issue i was having was needing to update a redis key/value pair on the fly while still being able to use the cache to fetch cached data. i think based on your comment, it would not allow me to fetch from the cache and it would update the cache on every call.

@chrisryan Hi. can you confirm if we are able to release this ? I dont think the refresh flag in the constructor will work as we are relying on an existing object instantiation of the memoize class from within Application.php i believe. we need to be able to refresh with the existing instance of memoize.

I don't see any problems with the changes. We will be tagging it as a major change since it changes the Interface methods.


Please make the notification param optional

I don't want to show a notification

just pass null and you won't see a notification.


Creator Templates

Goal
Reduce set-up time of new assets.
Motivation
All assets have some level of boilerplate associated with it, such as all residing within an assembly called ROOT. Some assets come with more boilerplate, such as mindbender.rig.
We can reduce the time taken to set-up each asset, minimise potential validation errors and further guarantee the uniformity of all assets by automatically providing the user with necessary hierarchy and content per family of asset.

Since Creator plug-ins, this can be managed on a asset-by-asset basis in an individual configuration.


pulseaudio: volume indicator update on default output switch

Right now the volume indicator does not update when the default output device changes.
I fixed it by saving the current default sink (and its state) and check on every sink-update-callback if the original sink is still present and active (Idle or Running).
If that is the case, every callback from other sinks are  ignored.
Example:
Top Bar: new
Bottom Bar: current master
Fixes: https://github.com/Alexays/Waybar/issues/605
https://github.com/user-attachments/assets/0a28b77a-d530-4e44-bc1b-e08b2321307a

fixed clang format, but had to touch another file unrelated to my changes to make it work

Is there a reason why this still hasn't been merged into main? It's a bit odd that you can't swap outputs with pavucontrol if you want waybar to recognise it.


ValueError: Only instances of keras.Layer can be added to a Sequential model. Received: <tensorflow_probability.python.layers.dense_variational_v2.DenseVariational object at 0x000001C67AF5B4D0> (of type <class 'tensorflow_probability.python.layers.dense_variational_v2.DenseVariational'>)

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15.0 /2.16.1
Custom code
Yes
OS platform and distribution
Jupyter notebook/ Kaggle/ Google Collab
Mobile device
Windows
Python version
3.11.3
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
It should have been ran normally and started should have made the model as specified
Standalone code to reproduce the issue
from sklearn.model_selection import train_test_split
import tensorflow as tf
from tensorflow import keras
import keras_tuner
import tensorflow_probability as tfp
from tensorflow_probability import distributions as tfd
from tensorflow.keras.models import Model
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dropout,Input,Dense
from tensorflow.keras.callbacks import EarlyStopping
from tensorflow.keras.optimizers import Adam
from keras import layers
from keras import regularizers

best_model_2 = tf.keras.Sequential([
    layers.Dense(181,activation='relu',input_shape=(21,)),
    tfp.layers.DenseVariational(181,activation='relu',make_posterior_fn=posterior_mean_field,
                                        make_prior_fn=prior_trainable,
                                        kl_weight=1/train_size,),
    layers.Dense(1,activation='linear')
])

Relevant log output
ValueError                                Traceback (most recent call last)
Cell In[42], line 7
      1 # tf.__version__
      2 # %pip uninstall tensorflow
      3 # import tensorflow
      4 # %pip install tensorflow==2.14
      5 # keras.__version__
----> 7 best_model_2 = tf.keras.Sequential([
      8     layers.Dense(181,activation='relu',input_shape=(21,)),
      9     tfp.layers.DenseVariational(181,activation='relu',make_posterior_fn=posterior_mean_field,
     10                                         make_prior_fn=prior_trainable,
     11                                         kl_weight=1/train_size,),
     12     layers.Dense(1,activation='linear')
     13 ])

File ~\anaconda3\Lib\site-packages\keras\src\models\sequential.py:73, in Sequential.__init__(self, layers, trainable, name)
     71 if layers:
     72     for layer in layers:
---> 73         self.add(layer, rebuild=False)
     74     self._maybe_rebuild()

File ~\anaconda3\Lib\site-packages\keras\src\models\sequential.py:95, in Sequential.add(self, layer, rebuild)
     93         layer = origin_layer
     94 if not isinstance(layer, Layer):
---> 95     raise ValueError(
     96         "Only instances of `keras.Layer` can be "
     97         f"added to a Sequential model. Received: {layer} "
     98         f"(of type {type(layer)})"
     99     )
    100 if not self._is_layer_name_unique(layer):
    101     raise ValueError(
    102         "All layers added to a Sequential model "
    103         f"should have unique names. Name '{layer.name}' is already "
    104         "the name of a layer in this model. Update the `name` argument "
    105         "to pass a unique name."
    106     )

ValueError: Only instances of `keras.Layer` can be added to a Sequential model. Received: <tensorflow_probability.python.layers.dense_variational_v2.DenseVariational object at 0x000001C663D64350> (of type <class 'tensorflow_probability.python.layers.dense_variational_v2.DenseVariational'>)

Hi @Suryansh-patidar ,

Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999.

Thank you!


Add ATL, CTL and TSB to Power Analysis

New public function to take TSS's as input and return:

Acute Training Load (Fatigue)
Chronic Training Load (Fitness)
Training Stress Balance (Form)

E.g. getFatigueFitnessForm($tss_values, $ctl_time_period = 84days, $atl_time_period = 14days)

TSS already included in powerMetrics() !!!

Hello Adrian
this functions needs previous athlete's data for calculating while your library's functions  often works on one activity only.
I'd like to contribute .May I have your contact info?


Callbacks should never pass data in the arguments.

Wasm modules should call helper functions and request data as needed.

@PiotrSikora can you elaborate on why?  Is it just for buffer management ?

We pass memory ownership from host to Wasm module when passing data in arguments, but when Wasm module isn't interested in it and ignores it (instead of freeing), then the memory is never freed.

Does this apply to onData type calls?

Fixed in #274.


Tab and Line Break Character Cleanup Tool

Some code editors has an auto-cleanup feature when you save the file that does things like removing hanging whitespaces etc, but it would be nice to be able to use it in a standalone tool for snippets without having the save the entire file.
Perhaps with dropdown options to choose how many whitespaces to convert a tab character into, rules for successive line breaks, whether to remove hanging whitespaces etc. it should be an input-output model with the text diff highlighted

Resolving mixed Windows/Unix line breaks would fit in great with this!

Duplicated with #160


add conf template

@MuYiYong Please list more datasources that we need to give the config templates. In this pr, just provide config template for csv and hive for both client import and sst import.
CSV on S3, HBase,Hive, MySQL,neo4j, MaxCompute，kafka, SST

@MuYiYong Please list more datasources that we need to give the config templates. In this pr, just provide config template for csv and hive for both client import and sst import.

CSV on S3, HBase,Hive, MySQL,neo4j, MaxCompute，kafka, SST

There are CSV, Hive, SST config templates already. I can add config template for neo4j, MaxCompute and Kafka.
But:

We DO NOT support S3.
HBase datasource is not typical,  no need to provide config template.
For MySQL, maybe JDBC is better?


Update protocol.json; Fix account link flow

Use the latest protocol.json provided by signald
There seem no changes in the code after running generateSignaldClasses and other instructions, except for the
wildcards in import (done by Intellij).
Fix account link flow: remove the requirement to have account in place. Save account after link process finished

@inthewaves Also pushed a fix to the account link flow, which was broken
If you could publish that to maven would be grateful, anyways appreciate your work on the library!

Hi, sorry for the delay; I was occupied with a lot of other things. I'll see about making a new Maven release shortly

This PR along with some other changes has been published as 0.30.0+signald-0.23.2-7-1583b4df and it should show up shortly


Startup error

When i try to launch the playmusiccl then I get following loading error:
load_entry_point('playmusiccl==0.6.2', 'console_scripts', 'playmusiccl')()
  File "/home/mikeyr/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 547, in load_entry_point
  File "/home/mikeyr/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 2719, in load_entry_point
  File "/home/mikeyr/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 2379, in load
  File "/home/mikeyr/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 2385, in resolve
  File "/home/mikeyr/anaconda2/lib/python2.7/site-packages/playmusiccl-0.6.2-py2.7.egg/playmusiccl/__init__.py", line 1, in <module>
    from playmusiccl import *
  File "/home/mikeyr/anaconda2/lib/python2.7/site-packages/playmusiccl-0.6.2-py2.7.egg/playmusiccl/playmusiccl.py", line 10, in <module>
    from gi.repository import GLib
ImportError: No module named gi.repository

@TheMikeyR are you on OS X? I'm on 10.10.5, and I fixed this error by installing pyGObject & GStreamer with Homebrew: brew install pygobject3 gstreamer. If you're installing PlayMusicCL in its own virtualenv you'll also need to symlink the system gi package; I use virtualenvwrapper and did this with the following commands:
cdsitepackages
ln -s /usr/local/lib/python2.7/site-packages/gi gi

(I would have preferred to install pygobject3 local to the virtualenv, but the package says that's only possible on Windows.)
Here are some links that helped me come up with my solution:
http://stackoverflow.com/questions/18119618/importerror-no-module-named-gi-repository-mac-os-x
http://stackoverflow.com/questions/9667517/gobject-gtk-gnome-gtk-gl-gtk2-gtk3-i-dont-understand/9672426#9672426
https://encrypted.google.com/search?hl=en&q=PyGObject install osx
http://macappstore.org/pygobject3/
http://stackoverflow.com/questions/6907473/cannot-import-gst-in-python
http://stackoverflow.com/questions/2767382/including-global-package-into-a-virtualenv-that-has-been-created-with-no-site

@charlescbeebe unfortunatly I'm sitting on Ubuntu 14.04


Support for 'to_post_number' parcel parameter

Hello!
I was wondering if you might be willing to include support for the 'to_post_number' parameter of the parcel creation endpoint (https://docs.sendcloud.sc/api/v2/shipping/#create-a-parcel)? It's needed for creating DHL Parcel Service Point deliveries in Germany (maybe in other places too).
This would have to be handled similarly to the 'to_service_point' parameter.
Thank you!

Thanks for creating an issue for this @ahegyes!
There is no mention about the format of this field. In the Netherlands we usually handle PO boxes by just using "Postbus #" as the street address and number and fill in the other details as usual.
How does this fit in with the other fields? Is this just a value you can optionally add on top of the other information?

I have this image from SendCloud's post box selection in Germany:

Basically, it's required to enter a so-called Postnummer (PO number?) that you get from DHL. As far as I know, it's always just a numeric string of length 9 but I guess that could vary. It's passed on as an extra parameter to DHL and the recipient will need to know this number in order to get their package (they also first need to register with DHL to get the number to begin with).
For myself, I actually went ahead and added a string parameter to try it out and it worked as expected on SendCloud's end. Basically I edited the function 'createParcel' in Client.php to accept a parameter ?string servicePointNumber and down the line I handled it the same as 'to_service_point' (except that it's a string, not an int).

Hey @ahegyes. Sorry for not getting back on this sooner, but v3.10.0 which just released supports an additional $postNumber argument in Client::createParcel().

Hey @ahegyes. Sorry for not getting back on this sooner, but v3.10.0 which just released supports an additional $postNumber argument in Client::createParcel().

Awesome, thank you very much!


[NEB-124] fix: fixed request size for bundle requests

NEB-124

[x] Ready for review
[x] Linked to Jira ticket

What does this PR do?

changed batching logic for bundle creation/extension/upload to take into consideration the real size of the expected request payload (file path + file hash + optional file content)
added maximum parallelization limit on batch upload (using p-map) to ease network congestions
added retry mechanism on 503 responses to avoid breaking the whole (possibly very long) extension flow because of a single network error
tuned the tests accordingly

Where should the reviewer start?
How should this be manually tested?
Any background context you want to provide?
Screenshots
Additional questions

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dataset JSUT and JVS

Hi!
I had a few questions pertaining to the datasets used:

I was wondering if there was any significant overlap between the JSUT and JVS corpora?
Why were only 20 hours of JVS data used instead of the full 30 hours? If there is overlap in the datasets, do you know which sections from JVS should be removed?
Do you have the dataset used for training linked anywhere to download?

I greatly appreciate your help and consideration.
Thank you,
Enrico

I did not prepare jvs recipe in this repo.
Please specify the codes that you mentioned.

I did not prepare jvs recipe in this repo. Please specify the codes that you mentioned.

My apologies for the inconvenience!
I was reading through this research paper, https://www.isca-speech.org/archive/pdfs/interspeech_2021/mizuta21_interspeech.pdf, which had this specific repository implementation linked.
I had assumed that the jvs data recipe was constructed in part by you. I will contact one of other researchers listed.
Thank you!


Update to Stacks 2.0 transactions

This PR updates the send_tokens and make_keychain command for Stacks 2.0
send_tokens new usage:
send_tokens ADDRESS AMOUNT FEE_RATE NONCE PAYMENT_KEY [MEMO]

$ blockstack-cli send_tokens ST1WZ69T99RHQMQX3D91ZH2R37GV5NK8KDS5D5VDZ 1000 1 0 381314da39a45f43f45ffd33b5d8767d1a38db0da71fea50ed9508e048765cf301 -t

make_keychain returns
{
  "mnemonic": "private unhappy random runway boil scissors remove harvest fatigue inherit inquiry still before mountain pet tail mad accuse second milk client rebuild salt chase",
  "keyInfo": {
    "privateKey": "381314da39a45f43f45ffd33b5d8767d1a38db0da71fea50ed9508e048765cf301",
    "address": "ST1BG7MHW2R524WMF7X8PGG3V45ZN040EB9EW0GQJ",
    "index": 0
  }
}

Testing Instructions:

Use the make_keychain command with the testnet option to generate a new key.

blockstack-cli make_keychain -t

Spin up a local testnet with the side car. Plug the address generated above into the genesis configuration. Alternatively, make a request to the faucet endpoint to send tokens to the address generated above.

curl <Your local side car instance URL>/debug/faucet?address=ST1BG7MHW2R524WMF7X8PGG3V45ZN040EB9EW0GQJ

Use the send_tokens command to send tokens to any address. Using the -t option for testnet and the -T option to set the transaction broadcast URL to your local core instance.

blockstack-cli send_tokens ST16KX11KMXWG9NRVCM1D5CHZGR3HFRQBK0DN9XAT 1000 1 0 381314da39a45f43f45ffd33b5d8767d1a38db0da71fea50ed9508e048765cf301 -t -T "<Your local core node URL>"

Verify balances using the balance command

blockstack-cli balance ST16KX11KMXWG9NRVCM1D5CHZGR3HFRQBK0DN9XAT

(node:15096) [DEP0091] DeprecationWarning: crypto.DEFAULT_ENCODING is deprecated.
(node:15096) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:15096) [DEP0011] DeprecationWarning: crypto.Credentials is deprecated. Use tls.SecureContext instead.
{
  "mnemonic": "legend moral hover stadium excite neck chapter tail report message endless muffin",
  "ownerKeyInfo": {},
  "paymentKeyInfo": {}
}
TWs-MacBook-Pro:cli-blockstack tw$ ```

Currently testing this PR locally

I am able to make_keychain
Making a request to the faucet endpoint to send tokens to the address generated above, is hanging.

@yknl @zone117x please take a look at the issue above

The balance seems to be incorrect, this is what I am receiving

This is what is in the stacks.toml file