[EN] Bug in Chrome Developer Tools

I've been observing device scale issues with Nexus devices in Device Emulator specifically with Nexus 6P and Nexus 5X. On switching devices, the viewport shows zoomed in view of the layout even when initial-scale=1 is set in <meta>.
The problem persists even after refreshing (soft and hard) the page. The only way I could go around this is by manually changing initial-scale values from the Elements Inspector in the Chrome Dev Tools.
Check the screen shot below.

You can clearly see that the initial-scale=1, yet Nexus 6P viewport is zoomed in.
Edit - Turns out, the bug is occurring for other devices too.

what does this mean?????
On Sat, Jun 11, 2016 at 8:24 AM, Kshitij Bhardwaj<EMAIL_ADDRESS>wrote:

I've been observing device scale issues with Nexus devices in Device
Emulator specifically with Nexus 6P and Nexus 5X. On switching devices, the
viewport shows zoomed in view of the layout even when initial-scale=1 is
set in .
The problem persists even after refreshing (soft and hard) the page. The
only way I could go around this is by manually changing initial-scale
values from the Elements Inspector in the Chrome Dev Tools.
Check the screen shot below.
[image: image]
https://cloud.githubusercontent.com/assets/4145434/15985794/6b97e73c-3016-11e6-9dcc-686b96748b30.png
You can clearly see that the initial-scale=1, yet Nexus 6P viewport is
zoomed in.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/issues/2984, or mute the
thread
https://github.com/notifications/unsubscribe/ASlDI3tijR2tlsq6_6vdTY7KIcaXbcfCks5qKtMpgaJpZM4IzksK
.

Please bug reports in the Chromium issue tracker. This tracker is for the documentation only and the team that works on the software itself does not look here.
Thank you.

Cool. I'll do that.


cattle could not add host - Timeout updating item(s) [pyagent, host-config] on [agent:

**Rancher Version:dev  version, cattle source clone  from the master branch.
**Setup Details: external MySQL 5.7
**Environment Type: Cattle
**Steps to Reproduce:
start cattle from dev environment,
and add agent from centos agent 1,
add agent from windows docker  toolbox, agent 2.
Results:**
2016-07-06 06:22:32,998 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:3]
2016-07-06 06:22:32,998 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:3 [2021770930] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:32,998 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:3 [1854578103] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:32,999 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:3]
2016-07-06 06:22:32,999 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:3 [1245563198] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:32,999 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:3]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [1882700781] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [235548670] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [66063691] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [1513199401] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [114178524] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [2097939832] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:2 [1157635347] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,178 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:1 [348549450] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [host-config, pyagent] on [agent:1]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:1 [765630842] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [host-config, pyagent] on [agent:1]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:1 [1404103282] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:1 [1600193426] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:22:33,391 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:1 [1304315300] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,392 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:22:33,392 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:1 [123369986] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:33,392 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:22:34,432 INFO  [:] [] [] [] [cutorService-23] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [2]
2016-07-06 06:22:36,435 INFO  [:] [] [] [] [cutorService-13] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [4]
2016-07-06 06:22:37,438 INFO  [:] [] [] [] [cutorService-39] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [3]
2016-07-06 06:22:38,451 INFO  [:] [] [] [] [cutorService-49] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [1]
2016-07-06 06:22:38,548 INFO  [:] [] [] [] [erviceReplay-18] [i.c.p.e.e.i.ProcessEventListenerImpl] Communication timeout on process [agent.reconnect:25] on [1] : null
2016-07-06 06:22:45,467 INFO  [:] [] [] [] [cutorService-20] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [2]
2016-07-06 06:22:46,469 INFO  [:] [] [] [] [cutorService-11] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [4]
2016-07-06 06:22:47,202 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:3]
2016-07-06 06:22:47,301 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:3 [394222194]
2016-07-06 06:22:47,301 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:47,470 INFO  [:] [] [] [] [cutorService-16] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [3]
2016-07-06 06:22:47,494 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:4 [935671901]
2016-07-06 06:22:47,494 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:22:47,606 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:1 [1962376773]
2016-07-06 06:22:47,606 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:22:47,830 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:2 [612573185]
2016-07-06 06:22:49,180 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:4 [1729327620] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:49,180 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:49,180 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:4 [199409686] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:49,180 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:49,180 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:4 [1411605405] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:49,181 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:49,181 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:4 [1316524563] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:49,182 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:49,182 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:4 [510077830] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:49,183 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:49,183 INFO  [:] [] [] [] [ecutorService-1] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Finished work item agent:4 [935671901] with exception [class io.cattle.platform.async.utils.TimeoutException:null]
2016-07-06 06:22:49,183 INFO  [:] [] [] [] [ecutorService-1] [.p.c.v.i.ConfigItemStatusManagerImpl] Timeout updating item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:22:51,072 INFO  [f7391139-e1f1-4b69-b25c-a6da3f5556da:25] [agent:1] [agent.reconnect->(AgentScriptsApply)] [] [erviceReplay-14] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:1 [330726998]
2016-07-06 06:22:52,376 INFO  [f7391139-e1f1-4b69-b25c-a6da3f5556da:25] [agent:1] [agent.reconnect->(AgentTimedConnectionClose)] [] [cutorService-12] [p.a.s.c.i.AgentConnectionManagerImpl] Closing connection to agent [1] [event://d007a283-a637-41db-96a1-5d85c906352f]
2016-07-06 06:22:52,897 INFO  [f7391139-e1f1-4b69-b25c-a6da3f5556da:25] [agent:1] [agent.reconnect->(AgentActivate)] [] [cutorService-30] [p.a.s.c.i.AgentConnectionManagerImpl] Creating connection to agent [1] [event://d007a283-a637-41db-96a1-5d85c906352f]
2016-07-06 06:22:55,479 INFO  [:] [] [] [] [cutorService-29] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [2]
2016-07-06 06:22:56,485 INFO  [:] [] [] [] [cutorService-41] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [4]
2016-07-06 06:22:57,488 INFO  [:] [] [] [] [cutorService-34] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [3]
2016-07-06 06:23:03,511 INFO  [:] [] [] [] [cutorService-25] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [1]
2016-07-06 06:23:03,558 INFO  [:] [] [] [] [ecutorService-9] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:3]
2016-07-06 06:23:03,696 INFO  [:] [] [] [] [ecutorService-9] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:3 [1894909741]
2016-07-06 06:23:03,696 INFO  [:] [] [] [] [ecutorService-9] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:23:03,907 INFO  [:] [] [] [] [ecutorService-9] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:4 [565531977]
2016-07-06 06:23:03,907 INFO  [:] [] [] [] [ecutorService-9] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:23:04,087 INFO  [:] [] [] [] [ecutorService-9] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:1 [133315817]
2016-07-06 06:23:04,087 INFO  [:] [] [] [] [ecutorService-9] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:23:04,239 INFO  [:] [] [] [] [ecutorService-9] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:2 [813492498]
2016-07-06 06:23:05,529 INFO  [:] [] [] [] [cutorService-48] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [2]
2016-07-06 06:23:06,521 INFO  [:] [] [] [] [cutorService-15] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [4]
2016-07-06 06:23:07,521 INFO  [:] [] [] [] [cutorService-35] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [3]
2016-07-06 06:23:14,538 INFO  [:] [] [] [] [cutorService-24] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [1]
2016-07-06 06:23:15,538 INFO  [:] [] [] [] [cutorService-47] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [2]
2016-07-06 06:23:16,538 INFO  [:] [] [] [] [cutorService-21] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [4]
2016-07-06 06:23:17,543 INFO  [:] [] [] [] [cutorService-18] [i.c.p.a.s.s.impl.AgentServiceImpl   ] Timeout waiting for response to [ping] agent id [3]
2016-07-06 06:23:19,992 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:3]
2016-07-06 06:23:20,132 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:3 [707105206]
2016-07-06 06:23:20,132 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:4]
2016-07-06 06:23:20,229 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:4 [142694744]
2016-07-06 06:23:20,229 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:1]
2016-07-06 06:23:20,401 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:1 [1678812356]
2016-07-06 06:23:20,411 INFO  [:] [] [] [] [ecutorService-7] [.p.c.v.i.ConfigItemStatusManagerImpl] Requesting update of item(s) [pyagent, host-config] on [agent:2]
2016-07-06 06:23:20,537 INFO  [:] [] [] [] [ecutorService-7] [i.c.p.c.v.impl.ConfigUpdatePublisher] 		Staring work item agent:2 [11629359]
Expected:

Did the centos host get added and jus tnot the windows one?
Note: we need to add in windows support. https://github.com/rancher/rancher/issues/4576

the problem caused by the following libs config in cattle-global.properties download timeout by the agent , I change to use the local libs and the host could be found, but there still logs telling Timeout in the cattle console.
#agent.package.python.agent.url=https://github.com/rancher/python-agent/releases/download/v0.85.0/python-agent.tar.gz
#agent.package.agent.binaries.url=https://github.com/rancher/agent-binaries/releases/download/v0.1.2/agent-binaries.tar.gz
#agent.package.node.agent.url=https://github.com/rancher/node-agent/releases/download/v0.1.0/node-agent.tar.gz
#agent.package.rancher.dns.url=https://github.com/rancher/rancher-dns/releases/download/v0.9.2/rancher-dns.tar.gz
#agent.package.rancher.metadata.url=https://github.com/rancher/rancher-metadata/releases/download/v0.5.1/rancher-metadata.tar.gz
#agent.package.host.api.url=https://github.com/rancher/host-api/releases/download/v0.33.1/host-api.tar.gz
#agent.package.rancher.net.url=https://github.com/rancher/rancher-net/releases/download/v0.4.1/rancher-net.tar.gz
#agent.package.cadvisor.url=https://github.com/rancher/cadvisor-package/releases/download/v0.23.2/cadvisor.tar.gz
#rancher.compose.linux.url=https://github.com/rancher/rancher-compose/releases/download/v0.1.0/rancher-compose_linux-amd64
#rancher.compose.darwin.url=https://github.com/rancher/rancher-compose/releases/download/v0.1.0/rancher-compose_darwin-amd64
#rancher.compose.windows.url=https://github.com/rancher/rancher-compose/releases/download/v0.1.0/rancher-compose_windows-386.exe
#service.package.catalog.url=https://github.com/rancher/rancher-catalog-service/releases/download/v0.7.1/rancher-catalog-service.tar.xz
#service.package.compose.executor.url=https://releases.rancher.com/compose/v0.8.4/binaries/linux-amd64/rancher-compose.gz,rancher-compose-executor
#service.package.websocket.proxy.url=https://github.com/rancher/websocket-proxy/releases/download/v0.16.4/websocket-proxy.tar.xz
#service.package.go.machine.service.url=https://github.com/rancher/go-machine-service/releases/download/v0.31.6/go-machine-service.tar.xz
#service.package.docker.machine.url=https://github.com/rancher/machine-package/releases/download/v0.7.0/docker-machine.tar.gz
#service.package.govc.url=https://github.com/vmware/govmomi/releases/download/v0.2.0/govc_linux_amd64.gz,govc
#engine.install.url=https://releases.rancher.com/install-docker/1.10.sh

I looked again at your issue and we currently don't have support for windows docker toolbox.
https://github.com/rancher/rancher/issues/4576


WFLY-9428 Distributed shared web sessions can expire prematurely

https://issues.jboss.org/browse/WFLY-9428

Closing for some tweaks.


[DO NOT MERGE] SEO edits for How Microsoft Teams uses memory

Edited description and one image alt tag to include keywords.
The SEO expert recommended linking to an article that addresses Teams memory issues, but I was not able to find one.
@DaniHalfin

@DaniHalfin can you check on this?


install

Installing from mittens-pull-request.

Everything looks good.

Committing.

Cleaning up pull request.

branch-parse-server

Installing branch-parse-server from github.com.

Merging and committing joy-machine-parse-server.


[dev-tool] Fix relative import of prettier options.

The import path isn't quite correct and ts-to-js throws.

Going to add a few tests for this in a different PR. Merging this to unblock samples publish.


Add the ability to set the render distance up to 64

This would be OF, Bobby and Farsight parity

Bobby and C2ME both allow one to increase render distance


stats dropdown is empty

for this design: https://gds-viewer.tinytapeout.com/?model=https://saladss.github.io/TT-secret-L/tinytapeout.gds.gltf

I think this is now fixed with the new viewer?


[Python Function] localrun deployment cannot store state

Updated description
When deploying a localrun python pulsar function i can never store any state successfully over the context object in the pulsar function. After i store some key, value using context.put_state(key=key, value=value) the context.get_state(...) method always returns None!
If i deploy the same function using "create" instead of "localrun"
the storage of state works fine.
To Reproduce
I use version 2.5.0 of the pulsar docker container.
If i deploy the function in the pulsar container, i ll use the pulsar-admin cli like this:
/pulsar/bin/pulsar-admin functions localrun \
--broker-service-url pulsar://broker_container:6650 \
--tenant user1 \
--namespace namespace1 \
--py /pulsar_functions/function1.py \
--name function_test \
--user-config '{"output_topic": "persistent://user1/namespace1/output_topic"}' \
--classname function1.Function1 \
--custom-serde-inputs '{"persistent://user1/namespace1/input_topic1":"function1.MyJsonSerDe"}' \

I noticed that the input msgs from the broker_container topic are indeed arriving in the function
and the process hook function gets triggered, but the state never gets stored.
Did i forget to specify something? (like --broker-service-url?)
Expected behavior
Be able to store and retrieve state from the context object no matter if the function is deployed
as "localrun" or with "create".

I updated the issue description because i noticed after some experimentation that the problem seems to rest solely in the "localrun" deployment, if i deploy using "create" instead, everything works fine.
I also notice that i cannot use the pulsar-admin cli in localrun deployment of the function to list or inspect the created function.

I found the solution, the problem was indeed the --broker-service-url flag.
I found the solution looking at the pulsar logs during function creation when using "create":
--state_storage_serviceurl bk://<IP_ADDRESS>:4181
There is no example or hint about this issue anywhere in the documentary so i suggest
to add this information too the documentary.
It is no bug.

@SaturnIC thank you! we will update the documentation part.


[Snyk] Security upgrade @hashgraph/sdk from 2.43.0-beta.1 to 2.43.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

718/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 6.5
Information Exposure SNYK-JS-FOLLOWREDIRECTS-6444610
No
Proof of Concept

631/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.2
Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

changes were already in main, closing


[WIP] [CI]: Check that we can assemble and link code snippets in CI

This PR will have a couple of extra "dummy" commits come and go to check that it triggers CI properly. The commit message for the first commit (the one that should eventually get merged) is:
[CI] Assemble OTBN code snippets on OTBN change
This should spot any complete disasters with the tooling.

Right, I've checked and this seems to work right. It triggers on changes to anything with /otbn/ in the path and runs the OTBN tooling to assemble and link each file in our code snippets directory.

Oh, it seems that GitHub deletes all the history of the PR if you mark a draft as ready for review. So you'll have to believe me that I've checked and it does fail correctly if something wonky appears in the code snippets.

Thanks for the review, Philipp. I've just re-pushed with a hacky "TMP" commit to make it trigger CI again and check that things won't break. If this goes through, I'll drop the TMP commit and merge.


Error: no such option

Hi,
I am getting the below error after executing the rpbot command
python -m rpbot.run --verbose --RP_UUID:"8778702f-2657-4093-81c7-d05dcf705197" --RP_ENDPOINT:"http://ip172-08-0-27-c2dmb8abcepg00dv5n1g-8080.direct.labs.play-with-docker.com" --RP_LAUNCH:"default_TEST_EXAMPLE" --RP_PROJECT:"default_personal" output.xml
On terminal error
run.py: error: no such option: --RP_ENDPOINT:http://ip172-08-0-27-c2dmb8abcepg00dv5n1g-8080.direct.labs.play-with-docker.com
I am not sure what I am doing wrong, Can you please guide me to solve this problem?
Thanks & Regards

Hi @Rohit-Medpalli123
Please remove colon(:) from options. You should write like below.
python -m rpbot.run --verbose --RP_UUID "8778702f-2657-4093-81c7-d05dcf705197" --RP_ENDPOINT "http://ip172-08-0-27-c2dmb8abcepg00dv5n1g-8080.direct.labs.play-with-docker.com" --RP_LAUNCH "default_TEST_EXAMPLE" --RP_PROJECT "default_personal" output.xml

Thanks for replying @doyou89
After executing the above command,i am getting the below error now
`Usage: run.py [options]
run.py: error: file "8778702f-2657-4093-81c7-d05dcf705197" does not exist`

--verbose should have LEVEL.
python -m rpbot.run --verbose INFO --RP_UUID "8778702f-2657-4093-81c7-d05dcf705197" --RP_ENDPOINT "http://ip172-08-0-27-c2dmb8abcepg00dv5n1g-8080.direct.labs.play-with-docker.com" --RP_LAUNCH "default_TEST_EXAMPLE" --RP_PROJECT "default_personal" output.xml

@doyou89  After executing the above-mentioned command, I am observing below error
File "/media/jarvis/AutomationRepos/rfvscode/lib/python3.7/site-packages/rpbot/reportportal/service.py", line 47, in _get_launch_attributes
system_info = RobotService.rp.get_system_information(
AttributeError: 'ReportPortalService' object has no attribute 'get_system_information'
https://github.com/reportportal/agent-Python-RobotFramework/blob/master/robotframework_reportportal/service.py  --> doesn't have a "'get_system_information'" method

It's due to the change of reportportal-client 5.0.12 version.
I'll update my code for the change.

0.4.2 released. Try this, please.

@doyou89 working now, thanks for fixing


codepen embeds are blocked

100% from the CSP. whoops

wait i lied. think either codepen or cloudflare was down on the time cause it works now

it's fine in safari, but not firefox or chromium browsers. the error:
Refused to frame 'https://codepen.io/' because it violates the following Content Security Policy directive: "child-src *.codepen.io". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.

...which is weird. because look at it it's totally matching


Create GNU TLS package in free replacements

subj

GnuTLS is actually working!
That's great news, but bad news that it's too hard to build it by youself.
It relies on autogen and guile, and a lot of other unrelated libs, so it's a real challenge that I don't want to take
It's working against MSYS2 in Windows and probably will work on Linux, but it's cloudy what should I do on Mac.


The global Frogasaurus constant can name-clash

When you embed multiple libraries that have been made by frogasaurus, they'll try to define const Frogasaurus more than once.
Change to something library specific, eg: const FrogasaurusHello

Fixed


Add the add open all issues or PRs button

Using extensively the issues and PRs with combinations of filters, I very often come across the need to open all the filtered PRs or issues. This PR adds a new button to open either all issues if you are in the issues page or all the PRs.
Notes:

The button will be hidden if no PRs or issues are found.
A hot key o is added to the Open button as a shortcut

Important: I have found as part of this PR a bug in the pageDetect logic for issues list and PR list and is fixed now

This can already be done. Buttons like that can't be added anyway, it's unsightly.

@bfred-it reference to https://github.com/sindresorhus/refined-github/pull/1229#issuecomment-377228503 .. i still think this is valid

Feel free to add a button to that toolbar IF the checkboxes don’t appear. Keep it part of the same feature though

Fixed in https://github.com/sindresorhus/refined-github/pull/1402 @bfred-it


⚠ Bofrost.lu has degraded performance

In 7fa2a1e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 928 ms

Resolved: Bofrost.lu performance has improved in 5e73d74.


Dev 960 data licensing

SonarQube analysis reported 3 issues

 3 minor

Watch the comments in this conversation to review them.


clear extern functions in sensor driver

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add timber as logging module

Fixes #27

@ShridharGoel Good job. You can also help us in creating issues to help us adapt the new best practices in Android Development.

@ujjwalagrawal17 Thanks. Sure, I'll open new issues.


nixos/netdata: update service config

Motivation for this change
Add reload options and enable start with pid file.
Signals netdata handles:

HUP                    Close and reopen log files.
USR1                   Save internal DB to disk.
USR2                   Reload health configuration.

Update performance - https://docs.netdata.cloud/docs/high-performance-netdata/
cc @Mic92
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

would be nice if you could update the commits to reflect the changes: "update service config" is rather vague while the issue description is much better.

@teto thanks< update commit message.


Can't run npm update

I'm getting an error when trying to run npm update at https://github.com/k0swe/forester/commit/82cb2c9d6c6bd38314ac820f9e606ffba039c8aa with npm 9.3.1 and node 18.14.0:
...
6387 timing reifyNode:node_modules/google-gax/node_modules/@grpc/grpc-js Completed in 412ms
6388 timing reifyNode:node_modules/jose Completed in 417ms
6389 timing reifyNode:node_modules/google-gax Completed in 445ms
6390 timing reifyNode:node_modules/caniuse-lite Completed in 455ms
6391 timing reify:unpack Completed in 462ms
6392 timing command:update Completed in 34524ms
6393 verbose stack TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined
6393 verbose stack     at new NodeError (node:internal/errors:399:5)
6393 verbose stack     at validateString (node:internal/validators:163:11)
6393 verbose stack     at relative (node:path:1191:5)
6393 verbose stack     at /home/chris/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1093:21
6393 verbose stack     at Array.map (<anonymous>)
6393 verbose stack     at /home/chris/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1091:66
6393 verbose stack     at Array.map (<anonymous>)
6393 verbose stack     at [rollbackMoveBackRetiredUnchanged] (/home/chris/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1091:8)
6393 verbose stack     at [reifyPackages] (/home/chris/.nvm/versions/node/v18.14.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:239:31)
6393 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
6394 verbose cwd /home/chris/src/k0swe/forester
6395 verbose Linux 6.0.12-76060006-generic
6396 verbose node v18.14.0
6397 verbose npm  v9.3.1
6398 error code ERR_INVALID_ARG_TYPE
6399 error The "from" argument must be of type string. Received undefined
6400 verbose exit 1
6401 timing npm Completed in 34551ms
6402 verbose unfinished npm timer reify<PHONE_NUMBER>583
6403 verbose unfinished npm timer reify:audit<PHONE_NUMBER>621
6404 verbose unfinished npm timer auditReport:getReport<PHONE_NUMBER>621
6405 verbose unfinished npm timer reify:unretire<PHONE_NUMBER>102
6406 verbose code 1
6407 error A complete log of this run can be found in:
6407 error     /home/chris/.npm/_logs/2023-02-14T16_00_57_558Z-debug-0.log

Seems like maybe this is a bug in either reify or node itself? relative (node:path:1191:5) is trying to validateString but is actually passing undefined.
This is reproducing both in GitHub actions as well as on my workstation with identical results, so I don't think it's a local installation issue.

This looks like https://github.com/npm/cli/issues/4907.


how to connect AH

Hi There,
How can I integrate my auction house, I already have an auction house account.
Thank you

is there a config file where I can plug it in?

Thanks for your reply of course you can, where are you going to launch your version?

not really yet TBH. I was just playing around with it

auctionHouse/Helpers/constants.tsx - so you can edit the AH from that file directly
if you do deploy please let us know will be happy to see forked versions out in the wild but please note that if you do change the auction house please update and use your own logo:
utils/grapeTools/constants.tsx (we have a MARKET_LOGO and you can simply add a url there)

thank you I'll keep you posted!

absolutely, can't wait to see what you cook up ;)

if you'd like to collaborate (just an idea) we can provide marketing and all that stuff to send it to the moon

who is we???

as the project is very nice! We're ninjapromo


Update mueller.py for calibration matrix

Code implementation of the paper https://doi.org/10.1364/AO.46.008533 modified for Meuller matrices. Not sure if the number of singular values is correct, the paper uses 4 for calibrating a Stokes polarimeter, I used 9 or 16 depending if the matrix is (3,3) or (4,4). Also not sure how to save the W calibration matrix after it's calculated. This code is untested.

I've added example code and an explanation for how to produce a calibration matrix and save it to a file then load and use it to calculate the Mueller matrix. Also fixed some errors in the formatting and added in the methods to save and load a calibration file. Not sure how to save json files so I implemented it using a csv.

The calibration file I added should allow for calibration of Mueller matrices and Stokes vectors with the use of reference samples. Code is untested.


[GHSA-656c-6cxf-hvcv] Deserialization of Untrusted Data in Flask-Caching

Updates

Affected products
CVSS
Description
References
Severity

Comments
The CVE was mis-scored and mis-classified. Added context for the reduced scoring decision.

Hi @fluffy-critter,
Thank you for your community contribution, especially your description of why the advisory should have a lower severity and the reference link to your comment from 24 May.
I also changed the severity from critical to medium, but before changing the CVSS, I have a question about how you chose two metrics in the CVSS, namely Attack Vector: Local and Privileges Required: High. How did you determine those two metrics rather than Attack Vector: Network and Privileges Required: None?

I did not intend to change the attack vector value, but privileges are raised because it requires actual access to the caching backend and internal configuration values that allow one to forge a cache key. Any situation where the world is granted privileges to writing arbitrary values to the cache is akin to someone having a root account with no password.

@fluffy-critter thank you for the clarification! The advisory now includes a CVSS of CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N.


fix: Histogram chart not able to use decimal datatype column

SUMMARY
Fixes https://github.com/apache/superset/issues/30301 by making the Histogram chart more resilient when handling non-numeric columns or numeric columns with non-numeric values.
TESTING INSTRUCTIONS
Check the original issue for instructions.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Does it make sense to raise a warning that non-numeric data has been excluded when records are coerced to NaN?

Good point @fisjac. I changed the logic to let users handle non-numeric values as they might want to fix their datasets or add filters to remove these values.


cps2ds sometimes introduces ownerless Vars

I'm 99% sure it's also broken on current master but most of the time we won't notice because the ownerless Var will be optimized away. However, we sometimes have the effect on master that things break as soon as you print sth. This is the reason for this. I fixed one issue in #269 but this one here remains: `
./bin/thorin ../lit/direct/ad_mem.thorin.disabled2 -p clos

Speaking of this: Why is there also lit/direct/ad_mem.thorin.disabled?

removed old ad_mem.thorin.disabled and moved ad_mem.thorin.disabled2 -> ad_mem.thorin.disabled
there is also ad_mem2.thorin.disabled. do we need this?
both tests are a mess and we should probably come up with simpler tests that provoke the bug


Cultural Delights [Fabric] Avocado trees leaves do not decay when logs are broken

Fabric/Mod version:
fabric-loader-0.14.22-1.20.1
cultural-delights-fabric-0.14.11+1.20.1
Bug:
After breaking the logs of an Avocado tree the leaves remain in place forever
Steps to reproduce:
Plant Avocado tree. Harvest logs.
Expected behaviour:
After breaking the logs of an Avocado tree, the leaves should naturally decay on their own.

Unfortunately this is the github page for the 1.18.2 forge version of cultural delights and thus I cannot help you


No blog node created on install

I remember that installing the package it would automatically add a node in the root of Umbraco.
Now it doesn't anymore.
Is this a a bug or the new behavior of the package?

Nevermind, my mistake. Debugger was stuck


How to remove 'ping' at first

textSocketHandler.sendMessage(data1);
textSocketHandler.sendMessage(data2);
textSocketHandler.sendMessage(data3);
How can I disable sending "pings" to the server after a connection?
I don't need to send a "ping" to the server, which will result in an error return and denial of service by the server.
I have my own message to send, why do I need a "ping"?

I’m facing the same issue. I think it would be great to be able to disable completely the ping/pong or be able to customize it to have different messages.
In my case I would like to use 0/1 instead.

@sunjianan9900 @Lev09 Does this solve your problem? (See full example at https://pub.dev/packages/websocket_universal #4 Advanced ISocketMessage handling. Composite server response example. But custom ping/pong messages I show below). If this is still not enough, I encourage you to see how SocketMessageProcessor class implements IMessageProcessor<ISocketMessage<Object?>, IMessageToServer> interface and then you can implement your own custom message handler, but I think example below will be sufficient for you. Let me know if you need any more help, feel free to message me using email<EMAIL_ADDRESS>. And let me know if I can close the issue.
`/// Postman echo ws server (you can use your own server URI)
/// For local server it could look like 'ws://<IP_ADDRESS>:42627/websocket'
const websocketConnectionUri = 'wss://ws.postman-echo.com/raw';
const connectionOptions = SocketConnectionOptions(
pingIntervalMs: 3000, // send Ping message every 3000 ms
timeoutConnectionMs: 4000, // connection fail timeout after 4000 ms
/// see ping/pong messages in logEventStream stream
skipPingMessages: false,
);
/// Complex example:
/// Example using [ISocketMessage] and [IMessageToServer]
/// (recommended for applications, server must deserialize
/// [ISocketMessage] serialized string to [ISocketMessage] object)
final IMessageProcessor<ISocketMessage<Object?>, IMessageToServer>
customPingProcessor = SocketMessageProcessor.single(
'custom_ping_and_pong',
'custom_ping_and_pong',
);
final socketHandler =
IWebSocketHandler<ISocketMessage<Object?>, IMessageToServer>.createClient(
websocketConnectionUri,
customPingProcessor,
connectionOptions: connectionOptions,
);
socketHandler.logEventStream.listen((logEvent) {
// ignore: avoid_print
print('> ws log: ${logEvent.data}, ping=${logEvent.pingMs}');
});`

@sunjianan9900 @Lev09 Anyway, I published new version [websocket_universal: ^0.3.5] where SocketConnectionOptions has skipPingMessages. Set it to true if you want to ignore ping/pong message exchange. However I must warn you, that if you abort connection from server side - then the client will still think that it is connected (that is the behaviour of source google dart WS package). I will close this issue in a week if you have no more questions. Please, leave a like for my package :)
https://pub.dev/packages/websocket_universal

Closed as completed and no more question were asked


Opt in to deprecations in DVS

This won't make a lot of sense without the other part, but this disables adding the macros which opt out of the deprecation warnings to our command line. Note that separately we add them for Thrust/CUB for older compilers (GCC 4.8 and MSVC 2015).

@griwes has verbally consented to this.


Calling behaviours from bare functions causes seg fault

While working with PortAudio through the FFI, I found that I wasn't able to call behaviours on actors passed in using the userData field. In the past, I've successfully passed objects using userData fields, and called functions on them, but when I tried a similar action using an actor and a behaviour, it resulted in a Segmentation Fault. I've managed to recreate the bug in the following code snippet:
use "lib:portaudio"

primitive _PaStream

actor Main
  new create(env: Env) =>
    @Pa_Initialize[U8]()

    var stream = Pointer[_PaStream]

    // Stream pointer pointer, input channels, output channels, stream format (8 = paInt16), sample rate, frames-per-buffer (0 = auto), callback pointer, user data
    @Pa_OpenDefaultStream[U8](addressof stream, U8(0), U8(2), U32(8), F64(16000), U32(0), addressof this.callback_func, env.out)

    @Pa_StartStream[U8](stream)

    @Pa_Sleep[None](U32(2000))

  fun @callback_func(input: Pointer[U16], output: Pointer[U16], frames: U32, timeInfo: Pointer[U8], flags: U32, data: Any): U8 =>
    try
      var out = data as OutStream
      @printf[None]("About to call a behaviour...\n".cstring())
      out.print("Calling a behaviour.")
      @printf[None]("Behaviour was called.\n".cstring())
    end

    U8(0)

In the above code example, I expect the callback to print both lines using the FFI printf statements, and the "Calling a behaviour" line to be printed shortly after, however, after the first printf is called, the program seg faults and thus never prints the second line.
The exact output is:

ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
About to call a behaviour...
Segmentation fault (core dumped)

The output of ponyc -v is:

0.26.0-4a8bc944 [release]
compiled with: llvm 5.0.1 -- cc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Defaults: pic=true ssl=openssl_1.1.0

Please let me know if there's any further information I can provide.

The issue here is that your bare function is being called from a non-pony-scheduled thread.
This is okay, but you need to register the thread first, which you can do with this FFI function in libponyrt:
https://github.com/ponylang/ponyc/blob/c42ccd3a275fbadfff0d56d2dd30dd927756e243/src/libponyrt/pony.h#L471-L479
Can you try adding that FFI call to the top of your callback and see if it works?
Once we get your example working we can improve our docs to help with this.

Unfortunately, adding that call didn't change the outcome at all. The code still seg faults with the behaviour call, and passes without.

Hmmm... if I had to guess without seeing your latest example, I'd guess that there is an issue with allocating new objects using the Pony heap from a non-Pony thread?

The following is the bare function from my complete project. I assume when you say "without allocating any new objects", you are referring to the creation of new variable values (e.g var num: U8 = 0) ? If that is the case, my code below does nothing more than pass provided parameters into the behaviour (aside for the casting of data), but I still encounter the segmentation fault.
fun @def_callback(input_buf: Pointer[I16] iso, output_buf: Pointer[I16], frame_count: U32, timeInfo: Pointer[_PaStreamCallbackTimeInfo], flags: U32, data: Any tag): U8 =>
    @pony_register_thread[None]()
    try
      var l = data as SphinxListener
      // TODO Calling a behaviour from this bare function results in a SegFault if non-number args are used.
      l.process_chunk(consume input_buf, frame_count)
    end

    0

I assume when you say "without allocating any new objects", you are referring to the creation of new variable values (e.g var num: U8 = 0) ?

Sorry, I should have been more specific - I meant things that call the constructors of classes and actors to allocate new objects on the heap. Declaring a local variable of a non-object type like var num: U8 = 0 will just allocate a place on the stack, which should be fine.
It doesn't look like your current example allocates memory, so now I wonder if it is an issue with tracing the iso argument...

Unfortunately, even if the argument has a tag or val capability, it still causes a segmentation fault. It seems unlikely that would be the result of the iso.

Well, I guess the next step for troubleshooting this is to construct a pthread-based repro for this that can be tested without involving PortAudio.

Can confirm, Arch Linux, x86_64, using pony v27 and with SDL_mixer's threads

(@jemc)
Here's a working, clean example using pthread:
https://github.com/adri326/-threader-pony

@adri326 I would expect that to crash. You need to call pony_register_thread()

Forgot about this guy; did a push including it, it does not seem to affect anything

@adri326 you need to call pony_register_thread in thread_entry.

@SeanTAllen
What would that change? The bare lambda should be executed in the same thread, unless there are some hidden mechanics at the beginning of the bare lambda

I can't try rn

Given your small example above, i was able to verify the reason for the segfault:
src/libponyrt/sched/scheduler.c:1147: pony_ctx: Assertion `this_scheduler != NULL` failed.

I was able to run your small example app successfully with the following changes:
 void* thread_entry(void *param) {
+  pony_register_thread();
   printf("B' - 🦓\n");
   if (pony_fn == NULL) {
     printf("No callback registered?\n");
   } else {
     pony_fn();
   }
-  pthread_exit(NULL);
+//  pthread_exit(NULL);
 }

It is important to call this function before calling back into pony code as documented here: https://github.com/ponylang/ponyc/blob/master/src/libponyrt/pony.h#L471:L479
I removed the pthread_exit to have repeatable output. If you want to keep it, you should call pony_unregister_thread() beforehand.
I hope this helps for getting your portaudio code running.

Indeed, it does fix the issue. Thanks for the help!

@adri326 can this be closed?

I'd say yes

Closing.
This is a good topic for the ffi chapter in the tutorial (if it is not covered already).


to address issue #6

to resolve #6

going to merge this myself.

@katyhuff Were you waiting for me to merge it? This is the first time I've been on a project I'm not leading where I'm an admin...should I feel free to merge other's PRs after a good inspection?

Aha! Yes, I suppose I was (no big deal though since it's just the website and not actual software). I'm used to projects with a workflow in which every PR gets a review by someone with push rights (and didn't make the PR in the first place). It's fairly common, as workflows go, in the open source communitiy, but there can be issues when people are low on time or when the hierarchy is quite imbalanced. I supposed I would like to see this as a general norm in the group for collaborative work, but for projects where you're the lead dev, I'd say you definitely should go with whatever workflow you prefer.

(I should make some documentation about this somewhere... maybe in the guides... or maybe this is the kind of thing that emerges as research groups age collectively... hm... )

I definitely have no issue with doing the review; in fact it's exciting
to be part of truly collaborative work. Just wanted to make sure what
you're looking for. Now I know!
On 08/23/2016 06:40 PM, Katy Huff wrote:

(I should make some documentation about this somewhere... maybe in the
guides... or maybe this is the kind of thing that emerges as research
groups age collectively... hm... )
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/arfc/arfc.github.io/pull/7#issuecomment-241915150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJxgcJ80PhoNX7kPvVjSYH-AsArsWAIFks5qi4TYgaJpZM4JqLff.

Excellent!


Add option to remove unwanted characters from call numbers

The SpineOMatic Windows application has an option for removing specified characters from the call number that is printed on the label. It would be nice to have this option in the Cloud App version. This enhancement was originally mentioned in GitHub issue #86.

Available in v1.2.8.


[Bug] Select and Order Issue with decimals in the key

Bug report
What I did
Created a model with a select_and_order field where the values were key value pairs where the key contains a decimal.
Example:
[
'1.12' => 'test1',
'2.24' => 'test2',
'1.3' => 'test3',
'4.5' => 'test4',
'1.21' => 'test5'
]
The currently selected values were  ['1.12','1.3']
Creating the model worked fine. Editing the model caused an error when loading the page.
Upon loading the page there was an error in the console and the field did not initialize correctly.
Uncaught Error: Syntax error, unrecognized expression: li[value=1.21]
What I expected to happen
Shouldn't have been an error and the field initialized without error
What happened
Because the value is not wrapped in quotes "" it is throwing a syntax error.
Uncaught Error: Syntax error, unrecognized expression: li[value=1.13]
What I've already tried to fix it
Wrapping the selector with " fixes the problem on line 147 in select_and_order.blade.php
$dragSource.find('li[value="'+value+'"]').remove();
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 7.4.11 (cli) (built: Oct  1 2020 20:11:01) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
LARAVEL VERSION:
v8.13.0@37a0abd4f3dbc51e2256296b45f8be72c8fe2196
BACKPACK VERSION:
4.1.26@ae68ca24844929ac38d2e792197551e823c43570

Hello @arb362
Thanks for the report and sorry for taking so much time to look at it. I can confirm that is happening.
I've submitted the fix for this, it should be merged and tagged in the next few days, I will close this when we do it.
Cheers

Merged! We'll tag a new patch release on Monday, so it'll be available Monday the latest with a composer update. Thanks @arb362

Update: We've launched a new version of backpack/crud and backpack/pro. @arb362 , after you run a composer update you should have it fixed. Let us know if that's not the case and we'll reopen.
Cheers!

Thanks for the fix!


add cleanup in connpool

What this PR does:

use rpc error codes
extract cleanup logic
fix testcase

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report

Merging #155 (a5676e8) into main (37fb42a) will decrease coverage by 0.23%.
The diff coverage is 0.00%.

:exclamation: Current head a5676e8 differs from pull request most recent head 658a4a0. Consider uploading reports for the commit 658a4a0 to get more accurate results

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   45.94%   45.70%   -0.24%
==========================================
  Files          45       45
  Lines        1713     1713
==========================================
- Hits          787      783       -4
- Misses        875      880       +5
+ Partials       51       50       -1

Impacted Files
Coverage Δ

pkg/grpc/api.go
17.22% <0.00%> (ø)

pkg/filter/network/tcpcopy/strategy/switch.go
86.36% <0.00%> (-3.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Importing collections from Itch

Currently the itch extension only imports games from the "Owned Items" section of our Itch Library. I have many free games I'd like to have show up in Playnite without having them installed.
I propose a way to have collections be imported as well. I'm not familiar with the API enough to know if that's possible, but ideally in the itch import settings we could choose from a list of collections to also import, and an option to import from all collections (even newly created ones). If that's not feasible from a UI standpoint, I think a sensible default could be importing the standard "Library" collection on Itch.

Done via #149, option to choose collection will be done via #166


Rename mail_address to mailing_address in generator_constants.py

We don't actually support mail_address in AssemblyLine/ALIndividual at all. So we should only generate the mailing_address attributes for a PDF, not the mail_address ones.


[TorchBench] Performance Signal Detected

TorchBench CI has detected a performance signal.
Affected Tests:

eval-cuda-fp32:

hf_Bert[disc (latency)] 9.794->10.249, -4.6457%

detail data can be seen in oss://bladedisc-ci/TorchBench/tiny/20221121-12
created by TorchBench CI automatically

Not occur in https://github.com/alibaba/BladeDISC/actions/runs/3519853272/jobs/5900218083


Join not working properly

I'm trying to work with joins but it's not giving the expected output.
This is the query I'm trying to achieve :

SELECT users.id as id, full_name as name, user_type as type, company_id as company, company.name as company_name FROM users INNER JOIN company ON company.id = users.company_id WHERE users.email = "email" AND users.password = "this_is_pass" AND users.active = 1 LIMIT 1

This query works fine but when I try to implement it in PDO, the company_name value is always NULL
This is my code:
$query = $this->$pdo->select(['users.id as id', 'full_name as name', 'user_type as type', 'company_id', 'company.name as company_name'])
                       ->from('users')
                       ->join(new Clause\Join('company',
                            new \FaaPz\PDO\Clause\Conditional('users.company_id', '=', 'company.id'),
                            'INNER'
                        ))
                       ->where(
                           new \FaaPz\PDO\Clause\Grouping("AND",
                               new \FaaPz\PDO\Clause\Conditional('users.email', '=', $user),
                               new \FaaPz\PDO\Clause\Conditional('users.password', '=', md5($password)),
                               new \FaaPz\PDO\Clause\Conditional('users.active', '=', 1)
                       ))
                       ->limit(new Clause\Limit(1));

        $stmt = $query->execute();
        $data = $stmt->fetchAll();
        echo $query->__toString();
        print_r($query->getValues());
        var_dump($data[0]);

The response of __toString() is:

SELECT users.id as id, full_name as name, user_type as type, company_id, company.name as company_name FROM users INNER JOIN company ON users.company_id = ? WHERE users.email = ? AND users.password = ? AND users.active = ? LIMIT ?

And, the response of getValues is:
Array
(
    [
  0
] => company.id
    [
  1
] => email
    [
  2
] => this_is_pass
    [
  3
] => 1
    [
  4
] => 1
)

This is happening most probably because PDO is evaluating statement

new \FaaPz\PDO\Clause\Conditional('users.company_id', '=', 'company.id'),

as

where users.company_id = "company.id",                     [NOTE string instead of column]

instead of

where users.company_id = company.id,

Am I doing anything wrong here @kwhat  @FaaPz @delef ?

@mridah I'm running into the same problem. Did you already find any solution?

@sebastianroming I was able to get it working but not with the query builder.
I had to use raw queries like the following:
$db = new \Slim\PDO\Database($db, $username, $password);
$stmt = $db->query('select * from emp;');
$stmt->execute();
$data = $stmt->fetchAll();

Hi
if you don't want third Clause\Conditional parameter beeing evaluated as a string to quote, you have to use
Clause\Raw
this allow you to specify a literal, that wil be considered AS-IS during statement construction. So your query section became:
->join(new Clause\Join('company', new Clause\Conditional('users.company_id', '=', new Clause\Raw('company.id')), 'INNER'))
(assuming the rest of query is correct); this is quite verbose, i suggest to use 'use FaaPz\PDO\Clause\Raw, Conditional' in front of your php script.
Documentation examples in  GitHub are also wrong. Askinq developer to correct them, please.
Regards

Updated the JOIN documentation to show Raw clause.


Infinite redirect on files.pythonhosted.org:

Currently, when I try to install any package, I get an infinite redirect:
$ pip install awsebcli
Collecting awsebcli
  Downloading https://files.pythonhosted.org/packages/45/fd/f0f7ff9cba9a2ab803881d7d910ea06985834eee5ce28a09329b6c1a51e3/awsebcli-3.12.4.tar.gz (247kB)
    100% |████████████████████████████████| 256kB 1.4MB/s
Collecting blessed>=1.9.5 (from awsebcli)
Exception:
Traceback (most recent call last):
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/commands/install.py", line 310, in run
    wb.build(autobuilding=True)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/wheel.py", line 750, in build
    self.requirement_set.prepare_files(self.finder)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 370, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 587, in _prepare_file
    session=self.session, hashes=hashes)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/download.py", line 810, in unpack_url
    hashes=hashes
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/download.py", line 649, in unpack_http_url
    hashes)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/download.py", line 842, in _download_http_url
    stream=True,
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 487, in get
    return self.request('GET', url, **kwargs)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 606, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/home/phihag/.local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 113, in resolve_redirects
    raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)
TooManyRedirects: Exceeded 30 redirects.
You are using pip version 8.1.2, however version 10.0.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

This seems to be a problem of files.pythonhosted.org:
$ curl https://files.pythonhosted.org/packages/8e/ec/9f0fd5bb3c954742eb37545297bf62bfdb46ab80e9f5beea0c1ea263fc5f/awscli-1.15.4-py2.py3-none-any.whl -i
HTTP/2 302
server: Varnish
retry-after: 0
location: https://pypi.org/packages/8e/ec/9f0fd5bb3c954742eb37545297bf62bfdb46ab80e9f5beea0c1ea263fc5f/awscli-1.15.4-py2.py3-none-any.whl
content-type: text/html; charset=UTF-8
accept-ranges: bytes
date: Mon, 16 Apr 2018 15:24:37 GMT
age: 66
x-served-by: cache-lcy19222-LCY, cache-hhn1550-HHN
x-cache: HIT, HIT
x-cache-hits: 0, 1
x-timer: S1523892277.194156,VS0,VE0
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
x-robots-header: noindex
content-length: 98

<title>302 Found</title>
302 Found

duplicate #3702


”Silivașu de Câmpie” is listed in the drop-down menu

Description:
"Silivașu de Câmpie" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Silivașu de Câmpie" in the search bar.

Expected results
The location is listed in the drop-down menu as "Silivașu de Câmpie, Bistrița-Năsăud".


Add drives and volumes to server.status.storages

Can you please add some PR comments describing the proposed status change?


Pixi does not freeze version number for PyPI package installs

Problem description
When installing a package via PyPI, pixi does not freeze the installed version number (as it does for conda).
pixi add --pypi polars
results in
polars = "*"
whereas
pixi add polars
results in
polars = ">=0.20.31,<0.21"

You are correct. I believe this is a duplicate of https://github.com/prefix-dev/pixi/issues/1409

Closing in favor of #1409


SDP doesn't work on IE11

react-dates version
<EMAIL_ADDRESS>Describe the bug
When use SDP, open the calendar and click on a day but the chosen day won't fill on the date input.
Screenshots/Gifs

Desktop (please complete the following information):

OS: win10 pro version 1809
Browser

Is the issue reproducible in Storybook?
YES!!!!!!!!!!!!!!!!!!!!
Additional context

the unworked example in story book http://airbnb.io/react-dates/?selectedKind=SDP - Input Props&selectedStory=default&full=0&addons=1&stories=1&panelRight=0&addonPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel

Duplicated with #1530 and fixed by PR #1578 . But no release so far, @ljharb Could it release as soon as possible?

Closed as a duplicate of #1530.
As soon as a maintainer has time, there will be a release.

We need this release as well @ljharb, @majapw

Is there an older version of react-dates that works with IE11 that I can use temporarily until a fix is released?

As almost one month pass, could you please help to trigger a release @ljharb, @majapw

hey guys, we really need this, can you give us release date at least or we have to switch to another library @ljharb, @majapw

Is the status on this issue that the bug fix exists, but is not published, and the suggested work-around five weeks later is to downgrade from 20.x to 18.4? That feels very wrong. @ljharb @majapw

@eiriks I believe this should be addressed by #1530 in v20.2.0
Please try it out!


[docs] /docs 404s

Expected Behavior
navigating to createexpostack.com/docs should reroute to docs.createexpostack.com
Current Behavior
404
Steps to Reproduce

Go to https://createexpostack.com/docs

Just made the update. Will create a PR rn
Before

After


[stable/jenkins] Add master.jenkinsHome and master.jenkinsRef options

What this PR does / why we need it:
This PR enables those want to use their custom docker images from Jenkins or even to use Cloudbees Jenkins Distribution docker image. Now you can set the jenkins home path and the jenkins reference path where plugins and secrets are installed
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
/assign @torstenwalter
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

Hi @torstenwalter! I've just updated README.md to include both options. I forgot including them in my previous commit.

/assign @mogaal

Thank you for your contribution. Thats a nice addition.

Happy to help! :) Thanks @torstenwalter!


hashchange: Select the new near id if it is already rendered.

If in the same narrow, we just want to select a new id which is already rendered, we don't need to call narrow.activate, we can just select the new id.

Updated to directly do filter comparison on message_view.show.

Looks great, merged, thanks @amanagr!


Optionally allow using fetchEvent to handle<EMAIL_ADDRESS>

As the title suggests, it would optionally use the fetchEvent that Starlingmonkey provides to handle incoming wasi-http requests. The upside to this would be to write apps that target a more idiomatic API which developers will be familiar with.
https://github.com/bytecodealliance/ComponentizeJS/blob/63e3453bab9513296ad3ec65607540288487bf93/crates/spidermonkey-embedding-splicer/src/splice.rs#L56-L63

Added in https://github.com/bytecodealliance/ComponentizeJS/pull/122.


Release 2.0.0

Since we're getting ready to push a release, I figured we could open an issue to keep track of outstanding issues and have a place to discuss release procedures.
I think what remains to be finalized are:

[x] import/export settings page functionality - issue #193
[x] Tentatively rename files for finalized commit - issue #172
[x] Update developer names in source code - issue #160
[x] dark mode - issue #183
[x] Fix header signal not sent in Chrome - issue #200
[x] Fix domain deletion and re-adding bug - issue #202
[x] GPC signal is sent despite being disabled on Firefox - issue #203
[x] Update wiki - issue #198

We should also make sure our readme and other documentation are up to date (related issue #188).
Then we should do one final performance test, review all the code, and get ready for release. I will review Firefox's release requirements for when we are ready to go. We should also remember to release for the Chrome store.

We should note that this release is also significant because it fixes the GPC DOM injector according to issue #195.

I'm wrapping up double checking the code and testing for correct logic, and opened issue #199 to help resolve some quirks I found. I should be able to do this fairly quickly .

I just pushed a few fixes regarding several issues I managed to catch. (1) I pushed a change fixing the logic of how the extension's mode is handled (i.e., is OptMeowt enabled/disabled/domainlisted) (Regarding this, I think we should add a 3 way switch or something similar to the popup in the future). (2) I also pushed a change that fixes rendering issues on the popup when a given tab's domain is null or undefined.
I'm fairly confident that's most of what there was left to fix. I will start getting ready to package everything together tomorrow morning, and in the meantime, I can do one last test run to make sure I didn't miss anything else
@ everyone, let me know if you all find anything else that needs to be fixed while testing if you happen to check it out yourselves. I'm excited to see were so close!

Indeed, 2.0.0 ... :)

I just pushed some notes regarding issue #183 and issue #203, I believe the two outstanding issues. At this point in time I think we are basically done and can move forward with pushing our release in the morning.

I'm going to go ahead and push a new release for v2.0.0 and begin uploading our updated extension to the Firefox Add-Ons store.
I believe the requirements are that if we do have built or obfuscated code, we need a link and instructions on how to build in some public source code, which we do. I will go ahead with making this happen.

Great! I will submit the new release to the Chrome Web Store.

I ran into some issues on the Chrome Web Store. Our 2.0.0 release was rejected. I contacted the support for the exact reason so that we can fix it.

OK, I resubmitted on the Chrome Web Store. This time it should pass. I just submitted the wrong files the last time. I totally forgot that we are now using Webpack etc. and instead of submitting the dist files for chrome I submitted the src files. So, this should sort itself out soon.

@kalicki1, it would be good to decide in our meeting tomorrow on the status of the readme in the background folder. It seems a bit hidden to me. Maybe, move it to the main readme or move it to the top level?

Along those same lines, there is a comment with future cookie functionality that looks obsolete and that we should discuss tomorrow.

OK, published on the Chrome Web Store!
@kalicki1, can you update the Wiki (issue #198), and then we can close that and this issue.

I just pushed a small change related to how our dev environment is setup per our last call.
Given the minor difficulty we had in building our production releases for both Chrome and Firefox, I went ahead and added a few scripts to our package.json so that npm run build also packages everything in the distribution folder right into ready-to-ship zip files. These zips get dropped into the src/dist/packages folder.
In addition, I also noticed that we still had an unsafe eval declaration in our manifest. Since we use this for our source maps in development, I split our manifest into manifest-dev.json and manifest-dist.json in the source and told webpack how to select the correct ones for our builds. This will save us from remembering to take the unsafe eval out for releases.

I included a brief explanation in the readme developer install section on the unsafe eval.

OK, great! I think that is that. Feel free to reopen anyone in case there is still something open as to the release.


Add Python snippet

I've added a new snippet to flatten lists with uneven nesting levels in Python.

Hi, @agilarasu. Thanks for the contribution. 🙌

Hey, can I add snippets for frameworks like Flask, and FastAPI?

Hey, can I add snippets for frameworks like Flask, and FastAPI?

Thanks for the contribution. 🙌
Regarding the question, of course. Also, if you want to make the framework as a separate language, make sure that it can be populated with enough snippets in the future as well. But if there are only few useful ones you use, I would suggest making it as a category for now, later expand it when there's a need.


PyTorch Lightning EcoCI integration to check for compatibility with latest & upcoming releases

Hey Valentino & Luca,
I am just catching up with some bookmarks and remembered your repo here :). As someone who constantly fuzzes about the ideal project structure, that's actually pretty cool. I have been using an adapted version of the data science cookiecutter for generic ML projects, but nothing sophisticated like this here with code stubs.
Haven't thoroughly played with it yet, though, besides creating an example folder and looking at the pl_module.py and datamodule.py files, which look good to me!
In any case, long story short, I was wondering if you'd be interested in the PyTorch Lightning's ecosystem CI to make sure that it stays fresh and relevant wrt to upcoming version releases (comes with free CPU and multi-GPU CI tests): https://devblog.pytorchlightning.ai/stay-ahead-of-breaking-changes-with-the-new-lightning-ecosystem-ci-b7e1cf78a6c7
If you are interested in that, I am sure my colleague @Borda would be happy to assist with questions & technical details -- he built this thing, so he probably knows best :)

Hello Sebastian,
Thank you for your message!
We are definitely interested in Lightning's ecosystem CI.  Actually, I did already read something about it and thought our template would be a perfect use case for it.
Unfortunately at the moment, we do not have a lot of bandwidth to work on it and we are not sure of the amount of work required to set it up.

Unfortunately at the moment, we do not have a lot of bandwidth to work on it and we are not sure of the amount of work required to set it up.

Hello, I think we are happy to help! I may suggest if you can open a PR which just draft receipt and we can then finish it for you... How does it sound? :rabbit:

Thank you so much for your interest and offer!
I opened a Draft PR https://github.com/PyTorchLightning/ecosystem-ci/pull/44, I also tried to highlight what I found difficult to configure :smiley:

I think we can continue the discussion in https://github.com/Lightning-AI/ecosystem-ci/pull/44
Thanks! :smile:


slice, array:  interface must be a pointer to a struct

It seems slice and array types are supported only on struct properties.

Hey @themihai
currently that is correct, as the description states Package form Decodes url.Values into struct values
however, it actually might not be that hard to also decode directly into variables such as arrays or maps.
I will look into the possibility of adding this tonight after I get off work; thanks for the idea.

 I was quick to jump on the "Supported Types" section instead to read documentation more thoroughly.  Support for direct values would be nice as it would put query encoding on par with the other formats(i.e. json).

I've tried a quick  decoding implementation of direct struct slices(just hooked-up the slice decoding method into the main Decode function) but unfortunately some tests(see the commented out lines) are failing. These seem to be related to maps and arrays of the struct properties so I guess I'm missing some important steps in the decoding process.

Hey @themihai
It is a good attempt, I think you just may be overcomplicating it; all of the logic already exists to parse slices and maps, what I was thinking was change this line to call setFieldByType
and the rest should handle itself, at least that's the theory ;)

Hey @themihai just an FYI, I've completed the Decoder portion of these changes and if all goes well will finish up making the same changes to Encoder in the morning.

Indeed, it was easier than I thought!  Looking forward for the updates! With this change the encoder supports pretty much any valid data type including basic types.

Hey @themihai this change has been made is in Release 2.0.0
if there are any issues please don't hesitate to reopen.

Hey @themihai just checking to make sure this is working out for you?


Rebuild as 2<IP_ADDRESS>-1~bpo10+1 for buster-backports

supposed to create new branch: buster-backports
but there's no, so I can only create pull-request to master branch

On June 30, 2020 1:08:46 PM GMT-03:00, Roger Shimizu<EMAIL_ADDRESS>wrote:

supposed to create new branch: buster-backports
but there's no, so I can only create pull-request to master branch

Thank you very much for the pull request and for the backport.
I will create a proper branch and merge your pull request.
If you like, feel free to backport the package every time that I upload a new version to unstable. That way, our users will have the best of all worlds.
Thanks,
Rogério Brito.
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Hi, @rogers0.
I pulled the changes from salsa and pushed them here. Is there anything in what you pushed here that may be missing?
If not, can we close this issue?
Thanks,
Rogério Brito.

Hi, @rogers0.
I pulled the changes from salsa and pushed them here. Is there anything in what you pushed here that may be missing?
If not, can we close this issue?
Thanks,
Rogério Brito.


fix(aws): always session from externalcreds

Description
Fixes #463
It uses newSession function  to get AWS Credentials from externalcreds instead of the old newAWSSession function which does not uses inputed config.
The inconsistent usage of this methods introduced the bug described in the attached issue.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks. --> TBD
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.
[x] Attention Grunts - if this PR adds support for a new resource, ensure the nuke_sandbox and nuke_phxdevops jobs in .circleci/config.yml have been updated with appropriate exclusions (either directly in the job or via the .circleci/nuke_config.yml file) to prevent nuking IAM roles, groups, resources, etc that are important for the test accounts.

Release Notes (draft)

Added / Removed / Updated [X].
Updated: Uses AWS config stored in externalcreds for both regional and global resources, fixing #463
Migration Guide

N/A

Thanks for spotting this bug. The code LGTM. Let me trigger the test CI pipeline.

Hi @hongil0316 I see the test failing but I'm not sure if it related to this change or just flakiness.


Adding a SCANDAL implementation on Lotka-Volterra

This issue is to discuss how to implement a SCANDAL for the Lotka-Volterra problem.
Size of problem
In the original paper, a 5 points problem is used, but in SBI Benchmark, they use 10 points (so an observation vector of size 20) instead. I think it would make more sense to try to adopt the SBIBM setting.
Architecture
The observations are time series, so I don't think it makes much sense to model them as a realNVP with last half conditionned on first half. We should do something like next time step conditioned on previous one. Either going full MAF, or a slightly better realNVP variable ordering.

So, one comment @Justinezgh, if you want to restrict the size of the sample to 5 points, here is how you would do it:
    (log_prob, sample), score =  get_samples_and_scores(partial(lotka_volterra, ts=jnp.linspace(0,18.9,5)),
                                                        key,
                                                        batch_size=batch_size, score_type='conditional')

ok I did it with ts=jnp.linspace(0,10,5) but I'll change it

or actually maybe this is even better
jnp.linspace(0,18.9,10)[::2]

because this way we can also do observation[::2]

I used our flow for scandal and got these results for the likelihood:

and I don't know what I'm doing wrong but the posterior looks like this:

notebook

(the true likelihood is

)


[Event Change Request] codeunit 5944  SignServContractDoc - OnBeforeSetInvoicing2

Hello, would it be possible to add OnBeforeSetInvoicing2 event to codeunit 5944  SignServContractDoc, like this:
There is an existing event OnBeforeSetInvoicing( that has been updated with additional parameters.
    local procedure SetInvoicing(ServContractHeader: Record "Service Contract Header")
...
          IsHandled: Boolean;
     begin
         IsHandled := false;
         OnBeforeSetInvoicing(ServContractHeader, IsHandled);
//Existing->        OnBeforeSetInvoicing(ServContractHeader, IsHandled);
>         OnBeforeSetInvoicing2(ServContractHeader, InvoiceNow, IsHandled); //New Event
         if IsHandled then
             exit;

         if ServContractHeader."Invoice Period" = ServContractHeader."Invoice Period"::None then

      [IntegrationEvent(false, false)]
//Existing->    local procedure OnBeforeSetInvoicing(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)
     local procedure OnBeforeSetInvoicing2(var ServContractHeader: Record "Service Contract Header"; var InvoiceNow:Boolean; var IsHandled:Boolean)
     begin
     end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53874.


Don't use the 'Windows' brand in the name of any APIs or packages

When we port over the security middleware from Katana, rename WindowsAzureActiveDirectoryBearerAuthenticationOptions/Extensions to not use 'Windows'.
Ported from: https://katanaproject.codeplex.com/workitem/284

@Tratcher I don't see any mentions of "Windows" in the codebase anymore. Is this good to close? Or do we need to hold on to this to protect some future work?

This was tracking future ports, but it doesn't look like we're going to do any of those.


Allow users to configure the webserver port

Closes #1797
Code Changes

[x] add a port param to the start_webserver function
[x] log the values used to start the webserver
[x] Add an option to the fides webserver command for a port

Steps to Confirm

[ ] pip install the branch and try fides webserver --port 8081, observe the logged configuration values and confirm. Additionally check used ports and notice 8081 is being used

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation Updated:

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md

Description Of Changes
This is a small QOL fix to make deployments easier
Logs should now look something like this when using the flag:
fides webserver -p 8081

2022-11-28 17:40:23.349 | INFO     | fides.api.main:start_webserver:342 - Starting webserver - Host: <IP_ADDRESS>, Port: 8081, Log Level: 30

@RobertKeyser ready for your eyes! 🙂

Nice change thanks @ThomasLaPiana


improve splitting large rowset meta into multiple KVs

now large rowset meta save to fdb will fail, it will report error failed to commit rowset: failed to save rowset meta, err=Value length exceeds limit, rowset meta  need to split into multiple KVs when value is bigger than 90kb.

run buildall

run buildall

run buildall


Utility to verify account when accessing off chain storage

As a developer of complex web app (e.g. NEAR Wallet) I want to store some user data off chain for privacy/performance reasons. As a part of this I need to make sure that user accessing data has keys necessary for NEAR account access.
There is example of this in existing projects:

sign current block index https://github.com/near/near-wallet/blob/0e141ef6c9c42315cf0aa30853c42218558ef44e/src/utils/wallet.js#L305
verify signature https://github.com/near/near-contract-helper/blob/cf9bab1f05d3e639bb01c104cb465b35c89992b8/app.js#L133

Looks like it's useful for other projects as well, so we should extract it into near-api-js.

Here's my current implementation
On the client-side, you can create a b64 encoded token that contain userId, pubKey and signature. You can put this token on authorization header which will be sent to backend.
async authToken() {
    const userId = near.currentUser.accountId
    const arr = new Array(userId)
    for (var i = 0; i < userId.length; i++) {
      arr[i] = userId.charCodeAt(i)
    }
    const msgBuf = new Uint8Array(arr)
    const signedMsg = await this.signer.signMessage(msgBuf, this.wallet._authData.accountId, this.wallet._networkId)
    const pubKey = Buffer.from(signedMsg.publicKey.data).toString('hex')
    const signature = Buffer.from(signedMsg.signature).toString('hex')
    const payload = [userId, pubKey, signature]
    return Base64.encode(payload.join('&'))
  }

On backend side, you need to:

Verify the signature that contain userId using the pubKey
Match the userId and pubKey onchain

This code is used as middleware for expressjs
const authHeader = req.headers.authorization
const decodeAuthHeader = Base64.decode(authHeader)
const [userId, pubKey, signature] = decodeAuthHeader.split('&')
const pubKeyArr = _hexToArr(pubKey)
const signatureArr = _hexToArr(signature)
const hash = new Uint8Array(sha256.sha256.array(userId))
const verify = nacl.sign.detached.verify(hash, signatureArr, pubKeyArr)
if (!verify) {
  return res.status(400).json({
    success: 0,
    message: 'unauthorized'
  })
}
const b58pubKey = bs58.encode(Buffer.from(pubKey.toUpperCase(), 'hex'))
const response = await axios.post(`https://rpc.testnet.near.org`, {
  jsonrpc: '2.0',
  id: 'dontcare',
  method: 'query',
  params: {
    request_type: 'view_access_key',
    finality: 'final',
    account_id: userId,
    public_key: `ed25519:${b58pubKey}`
  }
})

if (response.data.result && response.data.result.error) {
  return res.status(401).json({
    success: 0,
    message: 'unauthorized'
  })
}
req.userId = userId
next()

Thanks @hdriqi this is helpful. What are you using this for right now?

@potatodepaulo I'm using it to verify users when they send data to offchain storage, my use case is to store the user follow/unfollow data which then will be used to sort/filter their news feeds which isn't practical if it is being programmed on chain (imagine filtering million posts for user with thousands following)


FormulaCellCacheEntry: Optimize ChangeConsumingCells method

Using a HashSet to reduce the time complexity of the ChangeConsumingCells method.
Similar to what is done in the original POI implementation:
https://github.com/apache/poi/blob/43b0529a67c813ae1ebd0812a7c8d87332704d71/poi/src/main/java/org/apache/poi/ss/formula/FormulaCellCacheEntry.java#L93
This change greatly improves the performance of formula value caching when the worksheet contains a lot of cells.

LGTM


Update 3_coreLayerContracts.md

Appropriately added and removed Punctuation marks.

This repo is being archived in favor of docs.wormhole.com


libhandy: 0.0.13 -> 1.0.0

Motivation for this change
Update libhandy (latest elementary onboarding needs it). I did run into an issue getting the tests to pass in the hdy-avatar.
It seems to be something gdk-pixbuf/librsvg related? I left the output in the comment in the expression.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Looks to be very breaking change: https://gitlab.gnome.org/GNOME/libhandy/-/tags/v0.80.0

Result of nixpkgs-review 1

26 packages failed to build:
- adapta-gtk-theme
- calls
- chrome-gnome-shell
- contrast
- epiphany
- fractal
- gnome-podcasts
- gnome3.bijiben
- gnome3.geary
- gnome3.gnome-calendar
- gnome3.gnome-clocks
- gnome3.gnome-control-center
- gnome3.gnome-session
- gnome3.gnome-shell
- gnome3.gnome-terminal
- gnome3.gnome-tweak-tool
- gnome3.pomodoro
- gnome3.seahorse
- gnomeExtensions.gsconnect
- pantheon.elementary-greeter
- pantheon.elementary-gsettings-schemas
- pantheon.elementary-onboarding
- pantheon.elementary-session-settings
- pantheon.wingpanel-applications-menu
- pantheon.wingpanel-with-indicators
- shortwave

2 packages built:
- gnome3.gnome-contacts
- libhandy

26 packages failed to build
Is it possible to merge this PR anyway, or someone has to patch/update all 26 packages?

We would either need to patch them, or provide package of two different versions of libhandy. Though I believe this is still not a stable version so not many things should depend on it.

Not sure if Bump API version to 1.0.0. denotes a stable version now. Given that it's now under the gnome umbrella, I've noticed the elementary projects have already made the switch to require this new version.

I would expect this to be a pre-pre-release for 1.0, since pre-releases are typically 0.90.

I'm thinking I'd have to have multiple versions of libhandy since elementary is trying to use the latest

libhandy is at 0.90.0 now, btw. (I am bumping it for myself for cchat-gtk)

Two days ago libhandy 1.0 released :) https://gitlab.gnome.org/GNOME/libhandy/-/releases

Thx, will finish this up for that.

Okay, updated. I believe we'll just merge this into the gnome-3.38 branch. Due https://wiki.gnome.org/ThreePointThirtyseven#d2020-09-16

There are many third party packages that will likely not have updated when GNOME 3.38 is released so we will probably still need libhandy_0.

This is included in https://github.com/NixOS/nixpkgs/pull/98316 with the libhandy_0 package.


"Full" guest vs Email OTP guest? how to select the method of invitation

opting-in for the this functionality, if I understand correctly, replaces the default B2B guest invitaiton redemption scenario, since the invitation process doesn't change, and there is o option for the invited user to choose, whether they want to create an external user in the inviting directory, or use the Email OTP instead.
will there be such option in the future? how can we (inviting tenant) choose on case-by-case basis whether we want to invite using email OTP or full external user with guest account?

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

ID: 83f1378d-b047-11d1-a138-5c52a3fee6ba
Version Independent ID: 57c51f57-90ad-e0f9-1e6b-3262f94de02c
Content: One-time passcode authentication for B2B guest users - Azure Active Directory
Content Source: articles/active-directory/b2b/one-time-passcode.md
Service: active-directory
GitHub Login: @msmimart
Microsoft Alias: mimart

Hi @jurajgh ,
From what I can the ability to choose is not currently supported. As the document says, it will default to OTP for users who do not have Azure AD, Microsoft, or federated accounts. If you would like to leave what  you have mentioned as product feedback, please post to feedback.azure.com. It is monitored by the product team and the best place to get updates on new product feature requests. https://feedback.azure.com/forums/169401-azure-active-directory/
CCing @msmimart for visibility/confirmation as well.

We will proceed to close this thread. If you have further questions feel free to make a new issue or continue the conversation on the feedback forum.

I have created:
https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/38926399-permit-otp-for-users-who-do-have-a-corresponding-a
please upvote!


PubSub connection cannot be established when using .wait (but works when using tokio::run)

I don't know whether this is expected behavior. It definitely could be the case that this library actively relies on tokio fixtures or something. However, the failure (in my opinion) could be reported more cleanly.
As it is, if I change examples/pubsub.rs to use .wait() instead of tokio::run(...), I get
[2019-07-28T14:03:33Z ERROR redis_async::reconnect] Connection cannot be established: Cannot spawn a pubsub connection: SpawnError { is_shutdown: true }
ERROR, cannot receive messages. Error message: Connection(ConnectionFailed)

This led me down a rather annoying rabbit-hole, unfortunately, as the issue was with the event-loop rather than with networking which is implied by ConnectionFailed.

This is the same for paired_connect too, so it's not specific to PubSub.
The code to test this is:
extern crate futures;
#[macro_use]
extern crate redis_async;
extern crate tokio;

use std::env;
use std::sync::Arc;

use futures::sync::oneshot;
use futures::{future, Future};

use redis_async::client;

// An artificial "realistic" non-trivial example to demonstrate usage
fn main() {
    // Create some completely arbitrary "test data"
    let test_data_size = 10;
    let test_data: Vec<_> = (0..test_data_size).map(|x| (x, x.to_string())).collect();

    let addr = env::args()
        .nth(1)
        .unwrap_or_else(|| "<IP_ADDRESS>:6379".to_string())
        .parse()
        .unwrap();

    let connection = client::paired_connect(&addr).wait().unwrap();
    let (tx, rx) = oneshot::channel();

    let send_data = {
        let connection = Arc::new(connection);
        let futures = test_data.into_iter().map(move |data| {
            let connection_inner = connection.clone();
            connection
                .send(resp_array!["INCR", "realistic_test_ctr"])
                .and_then(move |ctr: String| {
                    let key = format!("rt_{}", ctr);
                    let d_val = data.0.to_string();
                    connection_inner.send_and_forget(resp_array!["SET", &key, d_val]);
                    connection_inner.send(resp_array!["SET", data.1, key])
                })
        });
        future::join_all(futures)
    };

    let deliver = send_data.then(|result| match result {
        Ok(result) => match tx.send(result) {
            Ok(_) => future::ok(()),
            Err(e) => {
                println!("Unexpected error: {:?}", e);
                future::err(())
            }
        },
        Err(e) => {
            println!("Unexpected error: {:?}", e);
            future::err(())
        }
    });

    tokio::run(deliver);

    let result: Vec<String> = rx.wait().expect("Waiting for delivery");
    println!("RESULT: {:?}", result);
    assert_eq!(result.len(), test_data_size);
}

which is lightly adapted from examples/realistic.rs and I believe should do the same thing.
Again, not really a "bug" because if you need tokio, you need tokio, but the error message itself is problematic in my opinion.


Add ability to disable executions via a Callback

The Idea of this pull request is to add the functionality to disable the act of executing somebody.
How to use the functionality:

//You can add a callbackmethod which is called after pressing the melee button
AddCallback_IsValidMeleeExecutionTarget( DisableExectionAsPilot )

//For example: disables executions if the player is a pilot
bool function DisableExectionAsPilot(entity attacker, entity target)
{
  if (attacker.IsTitan()) {
    return true
  } else {
    return false
  }
}

My changes:

Added the sh_melee.gnut file from the base TF2 game.
Added a callback AddCallback_IsValidMeleeExecutionTarget which takes in a bool functionref( entity attacker, entity target )
At the bottom of CodeCallback_IsValidMeleeExecutionTarget( entity attacker, entity target ) I loop through all the callbacks and if one returns false I block the execution from happening

The callbacks get triggered after the melee button is pressed. I couldn't find the place in the code where the check occurs for the popup.

This is handled in native and from looking at the function that handles it, absolutely not worth hooking.

Since this has already got 2 approvals, can this be merged?

Thanks for the poke, just looked at it and there's a lot of code added. I assume this adds a new vanilla file?
Cause then I should add that one first ^^

It does, first commit of the PR

Aight, will add that one separately rq ^^

Aight, added vanilla file and update PR branch @ASpoonPlaysGames or @uniboi or @Neoministein or someone else double check it still looks alright and then we merge :D

Double checkt it, LGTM


added a program that parses data via json from java to xml for displa…

…ying the data

added a program that parses data via json from java to xml for displaying the data