azure-cni returns unparseable output on IP address exhaustion, causes infinite retry loop

Is this an ISSUE or FEATURE REQUEST? (choose one): Issue

Which release version?: 1.0.7

Which component (CNI/IPAM/CNM/CNS): CNI

Which Operating System (Linux/Windows): Windows Server version 1803

When the IP range for a node is exhausted, the kubelet needs to be able to parse the CNI output correctly to determine the error. in IP exhaustion - the pod should be evicted and scheduled on another node. Since the output cannot be parsed - the kubelet will go into a loop trying to schedule the container forever. If there are too many doing this, it can make the node unresponsive.
Logs from kubelet:
E0712 22:28:39.344476    2872 cni.go:260] Error adding network: netplugin failed but error parsing its diagnostic message "{\n    \"cniVersion\": \"0.3.0\",\n    \"interfaces\":
 [\n        {\n            \"name\": \"eth0\"\n        }\n    ],\n    \"dns\": {}\n}{\n    \"code\": 100,\n    \"msg\": \"Failed to allocate address: Failed to delegate: Failed
to allocate address: No available addresses\"\n}": invalid character '{' after top-level value
E0712 22:28:39.344476    2872 cni_windows.go:49] error while adding to cni network: netplugin failed but error parsing its diagnostic message "{\n    \"cniVersion\": \"0.3.0\",\
n    \"interfaces\": [\n        {\n            \"name\": \"eth0\"\n        }\n    ],\n    \"dns\": {}\n}{\n    \"code\": 100,\n    \"msg\": \"Failed to allocate address: Failed
to delegate: Failed to allocate address: No available addresses\"\n}": invalid character '{' after top-level value
W0712 22:28:39.344476    2872 docker_sandbox.go:372] failed to read pod IP from plugin/docker: NetworkPlugin cni failed on the status hook for pod "iis-1803-688b96c57b-rqlxs_def
ault": netplugin failed but error parsing its diagnostic message "{\n    \"cniVersion\": \"0.3.0\",\n    \"interfaces\": [\n        {\n            \"name\": \"eth0\"\n        }\
n    ],\n    \"dns\": {}\n}{\n    \"code\": 100,\n    \"msg\": \"Failed to allocate address: Failed to delegate: Failed to allocate address: No available addresses\"\n}": invali
d character '{' after top-level value

Steps to reproduce:

Deploy a 2-node Windows cluster using acs-engine v0.19.2
Cordon one of the nodes to force all to be scheduled on 1 node
Create an IIS deployment with kubectl apply -f https://gist.github.com/PatrickLang/0df013d20d32eb98bc57456c4f73461a
Attempt to scale it to 30 kubectl scale deploy/iis-1803 --replicas=30
Uncordon the other node
run kubectl get pod -o wide to watch if any fail over to other node. they won't
Look at c:\k\kubelet.err.log on the node

Ack! We will look and update if fix is needed.. Thanks Patrick!

I think it's worth noting that I've been having this issue on a brand new cluster with barely any containers running on the failed node.

@atomaras What version of azure-cni and aci-engine are you using? Also, can you please confirm if you are using server 1803 as agent VMs?

@sharmasushant
acs-engine: 1.19.5
azure-cni: containernetworking/networkmonitor:v0.0.4
k8s: 1.11.1
agent VMs: Server 1803

@atomaras networkmonitor is not valid for windows cluster. Also, I think you mistyped acs-engine version, and missed azure-cni version. Can you please provide those?

@sharmasushant Fixed the acs-engine version. I have a k8s cluster with 1 linux master and 2 windows nodes. The azure-cni image i mentioned is the actual image acs-engine selected for my cluster.

Can you please paste the first few lines from the log file C:\K\azure-vnet.log
It should contain the version of azure-cni v1.0.xxx

@sharmasushant  This one?
2018/07/20 20:52:57 [cni-net] Plugin azure-vnet version v1.0.7.

@PatrickLang Opened an issue in containernetworking/cni github repo - https://github.com/Azure/azure-container-networking/issues/195

Since this issue has not been fixed yet, do we have any quick fix or workaround now? Or I have to re-deploy a totally new cluster?

We identified the cause of the issue and will fix it in next release. The issue is CNI should not write result to stdout in case of error.

kubelet.log before
2018/08/01 22:04:51 "Start Flag true CniSucceeded false Name CNI Version v1.0.7 ErrorMessage A Compute System with the specified identifier does not exist. vnet []
				Context AzureCNI SubContext "
2018/08/01 22:04:51 OrchestratorDetails &{  kubectl command failed due to exit status 1}
2018/08/01 22:04:51 OSDetails &{windows    }
2018/08/01 22:04:51 SystemDetails &{0 0 0 0 0 0 }
2018/08/01 22:04:51 InterfaceDetails &{Primary <IP_ADDRESS>/12 <IP_ADDRESS> 00:0d:3a:f9:09:bb vEthernet (Ethernet 2) 30 0 }
2018/08/01 22:04:51 BridgeDetails <nil>
E0801 22:04:53.995054    5092 cni.go:260] Error adding network: netplugin failed but error parsing its diagnostic message "{\n    \"cniVersion\": \"0.3.0\",\n    \"interfaces\": [\n        {\n            \"name\": \"eth0\"\n        }\n    ],\n    \"dns\": {}\n}{\n    \"code\": 100,\n    \"msg\": \"A Compute System with the specified identifier does not exist.\"\n}": invalid character '{' after top-level value
E0801 22:04:53.995054    5092 cni_windows.go:49] error while adding to cni network: netplugin failed but error parsing its diagnostic message "{\n    \"cniVersion\": \"0.3.0\",\n    \"interfaces\": [\n        {\n            \"name\": \"eth0\"\n        }\n    ],\n    \"dns\": {}\n}{\n    \"code\": 100,\n    \"msg\": \"A Compute System with the specified identifier does not exist.\"\n}": invalid character '{' after top-level value

kubelet.log after
2018/08/02 01:14:02 "Start Flag true CniSucceeded false Name CNI Version v1.0.10-2-g14efabc-dirty ErrorMessage  vnet []
				Context AzureCNI SubContext "
2018/08/02 01:14:02 OrchestratorDetails &{  kubectl command failed due to exit status 1}
2018/08/02 01:14:02 OSDetails &{windows    }
2018/08/02 01:14:02 SystemDetails &{0 0 0 0 0 0 }
2018/08/02 01:14:02 InterfaceDetails &{Primary <IP_ADDRESS>/12 <IP_ADDRESS> 00:0d:3a:f9:09:bb vEthernet (Ethernet 2) 30 0 }
2018/08/02 01:14:02 BridgeDetails <nil>
E0802 01:14:04.307700    4616 cni.go:268] Error adding network: A Compute System with the specified identifier does not exist.
E0802 01:14:04.307700    4616 cni_windows.go:49] error while adding to cni network: A Compute System with the specified identifier does not exist.

Looks like the error results are parsed correctly now. There are still errors that need investigation but at least they're correct in the logs.
Here's the corresponding error from azure-vnet.log for the curious
2018/08/02 01:14:01 [cni-net] Plugin azure-vnet version v1.0.10-2-g14efabc-dirty.
2018/08/02 01:14:01 [cni-net] Running on windows
2018/08/02 01:14:01 [net] Network interface: {Index:12 MTU:1500 Name:vEthernet (Ethernet 2) HardwareAddr:00:0d:3a:f9:09:bb Flags:up|broadcast|multicast} with IP addresses: [fe80::4ff:f6a0:4d9a:b291/64 <IP_ADDRESS>/12]
2018/08/02 01:14:01 [net] Network interface: {Index:1 MTU:-1 Name:Loopback Pseudo-Interface 1 HardwareAddr: Flags:up|loopback|multicast} with IP addresses: [::1/128 <IP_ADDRESS>/8]
2018/08/02 01:14:01 [net] Network interface: {Index:5 MTU:1500 Name:vEthernet (nat) HardwareAddr:00:15:5d:b2:61:10 Flags:up|broadcast|multicast} with IP addresses: [fe80::e033:81f0:4fc2:1b1a/64 <IP_ADDRESS>/20]
2018/08/02 01:14:01 [net] reboot time 0001-01-01 00:00:00 +0000 UTC store mod time 2018-08-02 01:13:58.4576856 +0000 UTC
2018/08/02 01:14:01 [net] Restored state, &{Version:v1.0.10-2-g14efabc-dirty TimeStamp:2018-08-02 01:13:58.4516939 +0000 UTC ExternalInterfaces:map[vEthernet (Ethernet 2):0xc042165980] store:0xc04210a8a0 Mutex:{state:0 sema:0}}
2018/08/02 01:14:01 External Interface &{vEthernet (Ethernet 2) map[azure:0xc042168a80] [<IP_ADDRESS>/12]  00:0d:3a:f9:09:bb [] [] <IP_ADDRESS> ::}
2018/08/02 01:14:01 network &{azure dd561022-1e37-4078-91d3-a30b26ee3124 bridge 0 [{2 {<IP_ADDRESS> fff00000} <IP_ADDRESS>}] map[88e3a956-eth0:0xc0421ce1e0 e5e4f423-eth0:0xc0421ce2d0 054b1b95-eth0:0xc0421ce000 63354a97-eth0:0xc0421ce0f0] 0xc042165980 false}
2018/08/02 01:14:01 endpoint &{054b1b95-eth0 b540b79d-36ab-4d56-88a3-489c9f964f31 054b1b95bf9e23330bc1db7dcee74e0b061244b71c4a404278216a0de9325d09 eth0  00:15:5d:54:18:9d [{<IP_ADDRESS> fff00000}] [<IP_ADDRESS>] {default.svc.cluster.local [<IP_ADDRESS> <IP_ADDRESS>]} [{{<IP_ADDRESS> 00000000} <IP_ADDRESS> }] 0 false}
2018/08/02 01:14:01 endpoint &{63354a97-eth0 26b883bb-5929-4181-8b45-07caebac5eeb 63354a97ca8e48605e132e1cdf8cfe2345c138ea51b2857e40d7fc7d3286f559 eth0  00:15:5d:54:18:39 [{<IP_ADDRESS> fff00000}] [<IP_ADDRESS>] {default.svc.cluster.local [<IP_ADDRESS> <IP_ADDRESS>]} [{{<IP_ADDRESS> 00000000} <IP_ADDRESS> }] 0 false}
2018/08/02 01:14:01 endpoint &{88e3a956-eth0 fc2c34c3-e8c8-4ad1-bfb3-0ee7871b5b71 88e3a95615b475593c3037c21e4515716aeff6052ad6861494bc7ac518caab31 eth0  00:15:5d:54:1c:15 [{<IP_ADDRESS> fff00000}] [<IP_ADDRESS>] {default.svc.cluster.local [<IP_ADDRESS> <IP_ADDRESS>]} [{{<IP_ADDRESS> 00000000} <IP_ADDRESS> }] 0 false}
2018/08/02 01:14:01 endpoint &{e5e4f423-eth0 277ee58f-6a6a-43f0-a0d2-0523263a5001 e5e4f42351ac8f4d645b3c4ca1772b061b0e727171fea85d5a427f06dd15cc59 eth0  00:15:5d:54:1e:fb [{<IP_ADDRESS> fff00000}] [<IP_ADDRESS>] {default.svc.cluster.local [<IP_ADDRESS> <IP_ADDRESS>]} [{{<IP_ADDRESS> 00000000} <IP_ADDRESS> }] 0 false}
2018/08/02 01:14:01 [cni-net] Plugin started.
2018/08/02 01:14:01 [cni-net] Processing ADD command with args {ContainerID:9441e82f9379324696a34449317b9f013467db91780adf5babcd6f993280f538 Netns:container:e5e4f42351ac8f4d645b3c4ca1772b061b0e727171fea85d5a427f06dd15cc59 IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=default;K8S_POD_NAME=whoami-1803-78fd64846f-9r5qz;K8S_POD_INFRA_CONTAINER_ID=9441e82f9379324696a34449317b9f013467db91780adf5babcd6f993280f538 Path:c:\k\azurecni\bin}.
2018/08/02 01:14:01 [cni-net] Read network configuration &{CNIVersion:0.3.0 Name:azure Type:azure-vnet Mode:bridge Master: Bridge:azure0 LogLevel: LogTarget: MultiTenancy:false EnableSnatOnHost:false Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet: Address: QueryInterval:} DNS:{Nameservers:[<IP_ADDRESS> <IP_ADDRESS>] Domain: Search:[svc.cluster.local] Options:[]} AdditionalArgs:[{Name:EndpointPolicy Value:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Name:EndpointPolicy Value:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}]}.
2018/08/02 01:14:01 PrimaryInterfaceIdentifier :<nil>
2018/08/02 01:14:01 Trying to retrieve endpoint id e5e4f423-eth0
2018/08/02 01:14:01 [net] Found existing endpoint through hcsshim: &{Id:277ee58f-6a6a-43f0-a0d2-0523263a5001 Name:e5e4f423-eth0 VirtualNetwork:dd561022-1e37-4078-91d3-a30b26ee3124 VirtualNetworkName:azure Policies:[[123 32 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 32 58 32 91 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 32 93 44 32 34 84 121 112 101 34 32 58 32 34 79 117 116 66 111 117 110 100 78 65 84 34 32 125] [123 32 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 32 58 32 34 49 48 46 48 46 48 46 48 92 47 49 54 34 44 32 34 78 101 101 100 69 110 99 97 112 34 32 58 32 116 114 117 101 44 32 34 84 121 112 101 34 32 58 32 34 82 79 85 84 69 34 32 125] [123 32 34 84 121 112 101 34 32 58 32 34 76 50 68 114 105 118 101 114 34 32 125]] MacAddress:00-15-5D-54-1E-FB IPAddress:<IP_ADDRESS> DNSSuffix:default.svc.cluster.local DNSServerList:<IP_ADDRESS>,<IP_ADDRESS> GatewayAddress:<IP_ADDRESS> EnableInternalDNS:false DisableICC:false PrefixLength:12 IsRemoteEndpoint:false Namespace:<nil>}
2018/08/02 01:14:01 [net] Attaching ep 277ee58f-6a6a-43f0-a0d2-0523263a5001 to container 9441e82f9379324696a34449317b9f013467db91780adf5babcd6f993280f538
2018/08/02 01:14:01 [cni-net] Failed to hot attach shared endpoint[277ee58f-6a6a-43f0-a0d2-0523263a5001] to container [9441e82f9379324696a34449317b9f013467db91780adf5babcd6f993280f538], err:A Compute System with the specified identifier does not exist..
2018/08/02 01:14:01 handleConsecutiveAdd failed with error A Compute System with the specified identifier does not exist.
2018/08/02 01:14:01 [cni-net] ADD command completed with result:Interfaces:[{Name:eth0 Mac: Sandbox:}], DNS:{Nameservers:[] Domain: Search:[] Options:[]} err:A Compute System with the specified identifier does not exist..
2018/08/02 01:14:01 Failed to execute network plugin, err:A Compute System with the specified identifier does not exist..
2018/08/02 01:14:01 Report plugin error
2018/08/02 01:14:04 SendReport failed due to [Azure CNI] HTTP Post returned statuscode 500
2018/08/02 01:14:04 [cni-net] Plugin stopped.

@tamilmani1989 @sharmasushant  - can you get a new azure-cni release with this fix?

This fix is available in ACS-Engine now:
https://github.com/Azure/acs-engine/releases/tag/v0.20.9

Hi team, I was meeting a regression on this issue on my k8s cluster deployed by acs-engine 0.21.2, the with the similar error in the kubelet.log, another error reported as:

Failed to initialize key-value store of network plugin, err:Store is locked.

and when I describe pods I find the pvc of azurefile mounts error which results in Pod sandbox changed, see below:
Events:
  Type     Reason                 Age                From                   Message
  ----     ------                 ----               ----                   -------
  Normal   SandboxChanged         13m (x25 over 1h)  kubelet, 37359k8s9001  Pod sandbox changed, it will be killed and re-created.

This problem is happening and seems to be quick to reproduce in our cluster.
E0909 12:47:27.938338    6072 cni_windows.go:50] error while adding to cni network: invalid character '{' after top-level value
W0909 12:47:27.938338    6072 docker_sandbox.go:384] failed to read pod IP from plugin/docker: NetworkPlugin cni failed on the status hook for pod "********": invalid character '{' after top-level value
2019/09/09 12:47:28 Formatted Boot time: 2019-09-06 17:06:01
2019/09/09 12:47:28 Connected to telemetry service
2019/09/09 12:47:28 [Azure-Utils] ver
I0909 12:47:28.369804    6072 fake_cpu_manager.go:45] [fake cpumanager] RemoveContainer (container id: 32ef256a8bc968aef122e9c4b8f78379460ef50ab5aabcd9b559121ca3ad3619)
I0909 12:47:28.370806    6072 fake_cpu_manager.go:45] [fake cpumanager] RemoveContainer (container id: 6e8aedba55d6639f42c66a5674dd1c04c9c71fb0687c4eed7e7775104f863d82)
I0909 12:47:28.370806    6072 fake_cpu_manager.go:45] [fake cpumanager] RemoveContainer (container id: 7ed04d04acb645b8d99a0b926559089dd12d1c5a04f55c5bb817657cc5314c09)
E0909 12:47:28.370806    6072 pod_workers.go:190] Error syncing pod dc207ac8-d2ce-11e9-9c76-a62f07b3f53e ("**********(dc207ac8-d2ce-11e9-9c76-a62f07b3f53e)"), skipping: failed to "StartContainer" for "*******" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=******** pod=********(dc207ac8-d2ce-11e9-9c76-a62f07b3f53e)"
E0909 12:47:28.370806    6072 pod_workers.go:190] Error syncing pod d6bf2baf-d2ce-11e9-9c76-a62f07b3f53e ("**********(d6bf2baf-d2ce-11e9-9c76-a62f07b3f53e)"), skipping: failed to "StartContainer" for "********" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=******** pod=************(d6bf2baf-d2ce-11e9-9c76-a62f07b3f53e)"
I0909 12:47:28.549806    6072 fake_cpu_manager.go:40] [fake cpumanager] AddContainer (pod: *******, container:********, container id: de1dc01965ed9756db581642846ef4d7b96c79a0b73eb6f7539390f0d9cce75c)
2019/09/09 12:47:28 Formatted Boot time: 2019-09-06 17:06:01
2019/09/09 12:47:28 Connected to telemetry service

AKS Kubernetes 1.14.5, latest Windows VM image + KB4512534 installed.


add the url for resolution in the warning message.

CLA is valid!

this has closed https://github.com/yahoo/secure-handlebars/issues/92

thanks.


Update INSTALL.rst

file name of python/dev-requirements.txt is currently incorrect, fixed here

Thanks very much!


fix: use a compression tool when writing files to an archive

At the moment, when passing the -a argument, files are only grouped, but not compressed

Closes #12


Release of code and data

Thanks for the great work, when will the code and data be released?

Hi, thanks for your attention.
The code and data have been arranged and saved in the company but now I have to observe home quarantine due to COVID-19. Therefore, it may need a few days to be released depending on the policy of Beijing.


LNbits LNURL withdraw not working with front end nginx proxy

I read many similar SSL/cert issues but none matched to my issue.
I want to access LNbits LNURL without VPS/VPN and any external vendors except my ISP.
I have configured DNS correctly and hostname matching LetsEncrypt cert is used in all the required locations.
I have tested following setups:
Working setup 1)
browser<->private IP-net<->raspiblizt-ngnix(ssl 5001 proxy_pass http 5000 to)<->lnbits
Optional Working setup 2)
browser<->internet<->router (with ssl 443 portforward to)<->raspiblizt-ngnix(ssl 5001 proxy_pass http 5000 to)<->lnbits
Optional Working setup 3)
browser<->internet<->router (with ssl 443 portforward to)<->raspiblitz nginx(ssl 443 proxy_pass https 5001 to)<->raspiblizt-ngnix(ssl 5001 proxy_pass http 5000 to)<->lnbits
Not working Setup 4) with separate host as front nginx host to proxy 443 to raspiblitz (and other hosts too) <- ISSUE
browser<->internet<->router (with ssl 443 portforward to)<->front nginx host (ssl 443 proxy_pass https 5001 to)<->raspiblizt-ngnix(ssl 5001 proxy_pass http 5000 to)<->lnbits
SETUP 1)
Please study following logs for working setup here:

Browser console debug shows no issues and networking seems ok.

SETUP 4)
Not working case logs:

LNbits shows an error:

Browser debug shows an error and networking has some issues:

Only case when I have issue is when nginx proxy is on another host!
My setup has many hosts on internal network to where I proxy_pass trafic from this front nginx. So it is mandatory to forward all 443 from internet to nginx outside of raspiblitz. Multible browsers were tested too and cookies / browser data was cleared also. All the other sites and their functionalities work. Event other parts of LNbits itself are ok. Also LND channels are fine and funds flow.
No avail. any ideas
ps. sorry about long issue and bad pictures.

issue cleared some samples from interwebs had escape "" for $ on these nginx lines. Like this
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Removed "" as following
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
and now all good :)

@tlindi you closed this issue .. was there anything in there to be changed on the raspiblitz code side?

No need to make changes on raspiblitz - I had escape "" typo on my config.


Refactor the synching of the URLSearchParams and selected nodes

:rocket: Issue was released in v0.1.0 :rocket:


Error While using MIP on Linux Web App Services in Azure

Hello Team
While using MIP Sdks in Azure Linux based web application, we are getting below error message. We have raised MS ticket and MS engineer have suggested to raise a ticket/issue here.
We are using .Net Core 6.0 framework.
Please let us know if you need any additional details.
Error Details are below.
CorrelationIdLoadLibrary failed with error code 0 for: [/home/site/wwwroot/libmip_dotnet.so]MethodNameLoadLibrary failed with error code 0 for: [/home/site/wwwroot/libmip_dotnet.so]MessageLoadLibrary failed with error code 0 for: [/home/site/wwwroot/libmip_dotnet.so]Detailed MessageLoadLibrary failed with error code 0 for: [/home/site/wwwroot/libmip_dotnet.so]TimeStamp

The support engineer reached out to me. Sorry for missing this, notifications are getting buried somewhere. He mentioned that you're using Debian, which is unfortunately not supported with the .NET package today. Our packages are platform specific due to the underlying native dependency.

Thanks a lot Tom for your response... Just wanted to confirm.. MIP Packages are not supported on any of the Linux systems or specific, as based on that we need to take a call whether to use Windows Services or Linux Services to host our applications in Azure.


Video keeps playing with background playback when app is closed

The Issue
If you have background media playback enabled, minimize, and then close the app (or sometimes this happens on its own where it needs to reload), the video continues playing but there's no longer any controls for it.  If you reopen the app, it continues playing without any way to stop it.
It also happens with background playback on/playing video and if you just close the app via tab menu also or if you click back twice from a video. If we do want this to work, the app state should return to the video. Or it needs to stop the video if closing the app.
To kill the video now, the app needs to be restarted, closed and sdk manually quit from notification bar - and even then it doesn't stop sometimes (takes a minute for it to run out of range request data)
There was also a time where I closed and when I came back, sound was missing from other videos until restart.
System Configuration

Device:
Android version:

Anything Else

Screenshots

Internal Use
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

should be fixed, re-open if you get reports or experience @tzarebczan


UTable empty state null not working

Version
@nuxthq/ui: 2.7.0
nuxt: 3.6.5
Reproduction Link
I am using the UTable and I can't hide the empty state.
Steps to reproduce
<UTable
  :rows="tableRows"
  :columns="tableColumns"
  :empty-state="null"
/>

What is Expected?
Empty state should not be displayed. Docs

You can also set it to null to hide the empty state.

What is actually happening?
The default empty state is still being displayed.

Sure. Here the link https://stackblitz.com/edit/nuxt-starter-3e6p9d?file=app.vue.
I have open a PR with the fix. Looks like it was never null because it was a decomposition with the default empty state value


YARN-10809. Missing dependency causing NoClassDefFoundError in TestHBaseTimelineStorageUtils

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
13m 21s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m  9s

trunk passed

+1 :green_heart:
compile
0m 28s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 27s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
mvnsite
0m 32s

trunk passed

+1 :green_heart:
javadoc
0m 28s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 24s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
shadedclient
47m  3s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 23s

the patch passed

+1 :green_heart:
compile
0m 19s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 19s

the patch passed

+1 :green_heart:
compile
0m 18s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 18s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 20s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 20s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 16s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
shadedclient
14m 23s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 30s

hadoop-yarn-server-timelineservice-hbase-client in the patch passed.

-1 :x:
asflicense
0m 34s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

79m  2s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3081/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3081

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml

uname
Linux 45718c38df0d 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 1f5e40a846798a6c3fbb2d747cf97ce34bd32dc0

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3081/1/testReport/

Max. process+thread count
739 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3081/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


More DRYing up the test suite

I have found more spots in the test suite that could have been "DRYed" up.

@davidism fixed it :)


self.didChangePage not being called in iOS 9

This was working fine until I tried it on an iOS 9 device. The pageControl also is not updating where it was working fine before I tried iOS 9. Any thoughts?
    __weak typeof(self)weakSelf = self;
    self.didChangedPage = ^(NSInteger currentPageIndex) {
        // do something
        NSLog(@"page index: %i | scrollView: %@", (int)currentPageIndex, NSStringFromCGRect(weakSelf.scrollView.frame));
    };

Do your "self" have SLPagingViewController type?
Code below working at iOS 9 in my case.
SLPagingViewController *pageViewController = [[SLPagingViewController alloc] init ....];
pageViewController.didChangedPage = ^(NSInteger currentPageIndex) {
NSLog(@"pageDidChange");
};

Thank you @Eridana - yes, "self" is appropriate since my View Controller is a sub-class of SLPagingViewController. My issue turned out to be a problem combining SLPagingViewController with a side menu drawer controller - the view hierarchy was a little bit jacked up. Happy Thanksgiving!!


Using cmd.exe instead of poweshell

Did you change this in Atom's config.cson?
It works just fine just FYI.

Atom 1.28.0
Platformio-ide-terminal 2.8.3

Yes i tried this (C :\window\system32\cmd.exe)
but still there  is no change
On Tue, Jun 26, 2018, 04:31 the-j0k3r<EMAIL_ADDRESS>wrote:

Did you change this in Atom's config.cson?
It works just fine just FYI.
[image: cmd-exeinpio]
https://user-images.githubusercontent.com/31389848/41883957-faaa4a6a-78e8-11e8-9959-5466be0c480e.gif
Atom 1.28.0
Platformio-ide-terminal 2.8.3
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/platformio/platformio-atom-ide-terminal/issues/554#issuecomment-400147777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkMv9kaXMZ3HXmZRF1kdHm0K9T1eplouks5uAY7-gaJpZM4Uyyra
.

Are you using double slashes, are you typing the path without typos?
Copy and paste below to avoid typos
shell: "C :\\WINDOWS\\system32\\cmd.exe"

If that doesnt work please paste your Atom config.cson

Am using double slash
On Wed, Jun 27, 2018, 16:49 the-j0k3r<EMAIL_ADDRESS>wrote:

Are you using double slashes, are you typing the path without typos?
Copy and paste below to avoid typos
shell: "C :\WINDOWS\system32\cmd.exe"
If that doesnt work please paste your Atom config.cson
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/platformio/platformio-atom-ide-terminal/issues/554#issuecomment-400678241,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkMv9teJdmQ0XbyN6YSxFcoSAouZ-rxmks5uA41ggaJpZM4Uyyra
.

If that doesnt work please paste your Atom config.cson

Can you? If not Im out of ideas and in that case goodluck.

thanks for everything,
have a good time
On Wed, Jun 27, 2018 at 7:52 PM, the-j0k3r<EMAIL_ADDRESS>wrote:

If that doesnt work please paste your Atom config.cson
Can you? If not Im out of ideas and in that case goodluck.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/platformio/platformio-atom-ide-terminal/issues/554#issuecomment-400752329,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkMv9oBWipSh8pxXV5SwMDtAgb8xyNvzks5uA7hqgaJpZM4Uyyra
.

thanks

Hi @the-j0k3r ,
I guess I have the same problem.
Installed Atom 1.34, then installed Platformio Ide Terminal and changed shell override to C:\Windows\System32\cmd.exe.
However terminal does not works, I see cursor blinking, but can't type any text to terminal, maybe you know where the problem is?

read this https://github.com/platformio/platformio-atom-ide-terminal/issues/554#issuecomment-400752329

I pasted from your comment "C :\WINDOWS\system32\cmd.exe", problem still occurs
here is my Atom config.cson

Thats 2 too many slashes. This is correct.
shell: "C :\\WINDOWS\\system32\\cmd.exe"

changed, but terminal is still blank :(

You changed and restarted Atom right? Because this works flawlessly.

You changed/saved configuration files and restarted Atom right? Existing Terminals are not affected by changes on the fly, they need closing and reopening. This works flawlessly here.

I did everything as you said, even reinstalled atom and platformio several times. However bug still occurs :/

@ikekyte try on a virgin OS that never had Atom installed e.g. in a virtualbox/virtualmachine.
I cant reproduce any such issue, it simply works.
Microsoft Windows Pro 1803  [Version 10.0.17134.590]

>atom -v

Atom    : 1.34.0
Electron: 2.0.16
Chrome  : 61.0.3163.100
Node    : 8.9.3

>apm -v

apm  2.1.3
npm  6.2.0
node 8.9.3 x64
atom 1.34.0
python 3.5.2
git 2.20.1.windows.1
visual studio

@ikekyte If your using Windows 10 1809 it explains your issue, Solution downgrade your Windows version to and actually working version of windows 10.

Step by Step Solution
Go the Setting-> Packages -> In Search Bar, search for the platformio.
1- Open platformio and go to Shell Override Option.
2- Put the following line as per as your Terminal Requirement
For cmd- C:\WINDOWS\System32\cmd.exe
For Power Shell- C:\WINDOWS\Sysnative\WndowsPowerShell\v1.0\powershell.exe
For bash- C:\Program Files\Git\bin\bash.exe or C:\Windows\System32\bash.exe (depending on how you install the bash). Be Sure, that you have already install the bash into your computer.
Now, you can integrate bash, cmd, git bash, Power Shell into Atom using platformio as terminal.
[](https://stackoverflow.com/questions/42277302/change-terminal-in-atom-editors-platformio-ide-terminal-on-windows

)

This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal


Update natchez-core, natchez-noop to 0.3.6

About this PR
📦 Updates

org.tpolecat:natchez-core
org.tpolecat:natchez-noop

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

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.tpolecat" } ]

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

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

Superseded by #330.


feat(rest-client-from-swagger): Generate reactive http client from sw…

Before submitting a pull request, please read
https://github.com/bancolombia/scaffold-clean-architecture/wiki/Contributing
Description
Generate reactive http client from swagger file
Category

[x] Feature
[ ] Fix

Checklist

[x] The pull request is complete according to the guide of contributing
[x] Automated tests are written
[x] The documentation is up-to-date
[x] The pull request has a descriptive title that describes what has changed, and provides enough context for the changelog
[ ] If the pull request has changed structural files, you have implemented an UpgradeAction according to the guide
[ ] If the pull request has a new Gradle Task, you should add Analytics according to the guide

:tada: This PR is included in version 3.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat: SetSlot to override the calculated key slot of a command

Resolves https://github.com/redis/rueidis/issues/440

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7dfdb23) 95.96% compared to head (b496c10) 95.96%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #441   +/-   ##
=======================================
  Coverage   95.96%   95.96%
=======================================
  Files          77       77
  Lines       32414    32421    +7
=======================================
+ Hits        31106    31113    +7
  Misses       1113     1113
  Partials      195      195

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Values not retreived anymore after LibreLinkUp App update to version 4.7

I was forced to update yesterday the LibreLinkUp App to version 4.7.
Since then GlucoseDirect is not able to pull and display any data anymore.

I am using an iPhone XS with iOS Version 16.5.
My sensor is a Libre 3 EU.
Should I do something to fix the error after the update of LibreLinkUp?

Same here. They just can't leave well enough alone over at Abbott. 😤🧨💣
Restarts didn't do anything, and there weren't any new terms to accept, either. Everything ends up in Libre LinkUp, but GlucoseDirect can't grab it for some reason.
iPhone 14 Pro Max running iOS 16.5.

Did you try a fresh build of the current main branch? It received multiple LibreView related updates recently, including for 4.7 and automatically accepting TOU.

How do we get a fresh build? Sorry totally a newbie here. Just a simple user to get my data over to apple health.

It is now solved for me.
When I entered into the GlucoseDirect app (installed via TestFlight), an update notification was shown and everything works fine again.
(This update was not shown when I opened this issue last week, but at some point after that.)

Hi, can someone tell me where is the option to add the Libre LinkUp connection in the Glucose Direct app?

@miguelruivo AFAIK you need to scan a FSL 3 sensor to unlock it. It would be nice to make it an option for any sensor if somehow you prefer going via Libre LinkUp/API.

For me that would be perfect @FokkeZB. I plan to use the GlucoseDirect as a "bridge" only between Libre LinkUp and calendar events, when the new update kicks in that will turn the Libre app into CGM.

@miguelruivo AFAIK you need to scan a FSL 3 sensor to unlock it.

No: Glucose Direct doesn’t activate a Libre 3 whey scanning the sensor, it is just getting its serial number and state from its new extended patchInfo (24 bytes instead of 6).
I discovered that when you send the NFC custom command A0 (I still have to understand which A0 and A8 are CMD_ACTIVATE_SENSOR and CMD_SWITCH_RECEIVER: https://github.com/gui-dos/DiaBLE/blob/58fc7b288faa392ac4448dc04aa4c645c9712744/DiaBLE/Libre3.swift#L765) you can get already the activation time avoid a first trip to the LibreLinkUp servers. And the BLE PIN also returned is a great bonus! ;-)


Unit tests failing

Description (required)
Fixes #4888
What changes did you make and why?
added a condition to check for beta flavor
Tests performed (required)
tested using betaDebug and prodDebug

@nicolas-raoul  can you please review this? Thanks

Thanks a lot!
This fixes the unit tests on both prod and beta.


Report fails when there are multiple BUSCO set directories

This problem occurs eg when the BUSCO set was modified. Both report scripts use a greedy approach to look for the BUSCO set directory and the dataset.cfg file. It gets confused when there are multiple ones.

fixed


implement getnodecount, don't throw error for 0 nodes

Implements MathProgBase.getnodecount and deletes duplicate function getnodecnt.
Also, get_node_count shouldn't throw an error if node count is 0.
See JuliaOpt/JuMP.jl#442

The docs say that cpxgetnodecnt uses 0 as a sentinel value for an internal error. Maybe this function should return 0 whenever the problem isn't a MIP, and call cpxgetnodecnt (and throw on it returning 0) otherwise.

In particular, we can use this flag.

Zero seems like a reasonable value to return in any case if no branch and bound nodes have been explored.

CPLEX doesn't seem to think so ¯_(ツ)_/¯

Isn't that what the docs say?

Would CPLEX consider solving a MIP at the relaxation using one B&B node?

Nope, I believe the node count in CPLEX can be 0.

Sounds like a broken API then.

Nah, even Gurobi does the same. The node count can be zero, if the root node is not closed, e.g., if presolve closes the gap.

That's what I mean, using the CPLEX interface how would you be able to distinguish an internal error from a situation when the node count is actually just zero (but everything else is fine)?

You don't, but then again, I guess you wouldn't like to identify an internal error by calling "getnodecnt".

I'm not really bothered by this behavior. Any case where I can imagine users calling getnodecount (say as part of numerical experiments), I would also expect them to check that the solution status reported is optimal.

The docs say "If a solution exists, CPXgetnodecnt returns the node count." What happens if the model is infeasible?
m1 = Model(solver=CplexSolver())
...
solve(m1) # => :Infeasible
CPLEX.get_node_count(m.internalModel.inner) # 0?

Seems that throwing an error rather than a spurious zero is more honest.

My point being: I'd rather err on the side of caution, rather than expect that of our users.

I'm a bit confused, even if the problem is infeasible, it's still valid to ask how many B&B nodes were explored in order to determine that the problem was infeasible. What does CPLEX return?

Not sure, I don't have an infeasible problem handy that's hard enough that CPLEX actually has to branch to prove infeasibility.

Not sure we can bank on CPLEX doing the smart thing, though, considering the docs pretty clear say that it won't.

But how are we supposed to model the internal state of CPLEX so that we can distinguish between the two different meanings of 0 nodes? I'd rather just not get in the way and put the blame on CPLEX when it returns something meaningless.

I'd rather just give a meaningful answer when we can (0 if the problem isn't a MIP) and error out when we know we can't trust CPLEX.

So you'd rather throw a error also in the case where everything went smoothly and you just explored 0 nodes? That sounds silly.

You'd be getting the right answer by pure luck, though. Any code that depends on this behavior would break when your model changes slightly and now CPLEX has to branch all of a sudden.

@joehuchette are you saying we should throw an error for any MIP where the reported node count is zero?

Nope, no reason to throw away good information when it's available.

So when do we return 0 and when do we return an error?

For other solvers, I mean. For CPLEX it seems that this information isn't reliable, so yes, I think we should throw an error whenever cpxgetnodecnt returns zero.

That means that any code which records node counts will have to have a special case to handle this error. E.g.,
status = solve(m)
# check that status is Optimal
try
    nodes = getnodecount(m)
catch
    # check if the solver is CPLEX.
    # If so, given that we know it's optimal, we set
    nodes = 0
end

I confirm, this looks silly to me, but whatever.

Yes, any safe library code will have to work around the fact that CPLEXs API is ambiguous and will leak through. This isn't any different if we propagate the zero, though:
status = solve(m)
if isa(CplexSolver, m.solver)
    if status == :Infeasible
        error("CPLEX doesn't want to give you a correct answer here")
    else
        # verify that getnodecount won't give you garbage...somehow
    end
end
nodes = getnodecount(m)

But honestly I'd be more concerned about the casual user than the library writer in this case, who can dip down into the internals a bit and deal with these cases. I'd be more worried about the (way more common) end user who we can't expect to know that CPLEX will randomly give the wrong answer when their problem is infeasible or invalidated in some way.

I think the best solution might be to implement our own heuristic in getnodecount that tries to sniff out if the zero is an error code or the right answer. Something like:
function MathProgBase.getnodecount(m:: CplexMathProgModel)
    ret = get_node_count(m.inner)
    if ret == 0
        if is_infeasible(m) || is_invalid(m.env) || is_invalid(m.lp)
            error("Cannot check number of nodes")
        end
    end
    ret
end

@joehuchette, the use case above isn't necessarily library code, it could easily be research code. If we can't provide a good implementation of getnodecount which doesn't require everyone using it to wrap it in try/catch, I'd rather not provide a MathProgBase implementation.
We also need to verify the behavior on infeasible instances. Are there any infeasible miplib problems?

Yep: http://miplib.zib.de/miplib2010-infeas.php
Even if it returns nonzeros, we're still relying on undefined behavior (or, rather, relying on something that goes against defined behavior). It's also not just infeasible problems, it seems that it's any problem without a feasible solution, which is even trickier to check without digging into the solver-specific stuff.

Tried on a couple of miplib instances. Ok, that API sucks, and the documentation too.
On a (hard) infeasible instance

if I set a time limit (and clearly no solution is found within the time limit), Cplex does return the number of explored nodes so far (which is what I would expect in theory and what also Gurobi does, although the documentation says something different..).
if I kill (ctrl+c), then I get 0 -- in addition, it looks like an "Error 217: No solution exists" is printed to output (...).

The state of the inner model then is kind of inconsistent, sometimes calling optimize again causes the optimization to restart (seemingly) in the correct way, otherwise you get garbage. Loading another model. In gurobi, killing the b&b and callling optimize again seems to work fine.
But I wouldn't want to do that anyway

Thanks for playing around with this. I opened a ticket with CPLEX; let's see what comes of it, if anything.

Response from CPLEX:
The wording in the reference documentation is a bit misleading. CPXgetnodecnt() returns the number of nodes it required the number of nodes it took CPLEX to terminate. If the problem was proven infeasible then this may well be greater than zero.
In order to figure out why CPLEX stopped you should not look at the node count. Instead you should look at the value returned by CPXgetstat(). That tells you exactly why CPLEX stopped.

I vote for directly returning the value from CPXgetnodecnt and letting the user check the status of the solver. Checking that the solver terminated with the expected status is standard practice for interacting with MIP solvers, especially at the level of anyone who knows enough about what's going on in order to ask for the number of branch and bound nodes.

@joehuchette, what do you think?


Deprecation marker and link removals

Following links are remained on the documents and marked as deprecated:

http://explorer.neoverse.io/
https://trello.com/b/6TngvuLf/neoblockchaindevelopment
https://antchain.xyz/

Following links are removed completed

Python smart contracts

Following Exchange is considered irrelevant to NEO/GAS trading and hence removed:

CryptoMate

Following merchandise page is considered as obsolete and hence removed:

HODL Apparels
NEO Sticker
NEO Sticker
NEO Sticker

neon-wallet release link is now replaced with its release page.
There are few 'Slack' word and URL references, that are now replaced with correct 'Discord'
reference.

👍

Re-sync latest change from master. There should have no more conflicts now.

Could you please resolve the conflicts? Then we can merge this :)

lol has this not been merged yet?!
sure I'll jump on it :)

Re-sync latest change from master. There should have no more conflicts now.

nice, thanks!


New custom data asset type

Is your feature request related to a problem? Please describe.
As a big company with many data assets, we have data assets types that to not exists in OMD.
For examples - KPIs, BI events, Profile fields. Each one contain different features from the data assets metadata configuration - it can be owner, description, custom properties with connection to lineage and sample data.
Currently these assets does not fit any existing data asset in OMD.
Describe the solution you'd like
Allow to create a custom data asset in OMD, with adjustable configuration for the required features.

I support the request as this is becoming one of the critical points coming from users as they would like to easily create simple data assets like systems this data coming from, there should not be complex data models behind, just description, owner, custom icon, custom properties and the most important is possibility to use in lineage.


Need to host notebooks in JupyterHub

We need to host the [JupyterHub] (https://github.com/jupyter/jupyterhub) as server instead of just Jupyter alone. You can read the detailed documentation of it. JupyterHub, a multi-user server, manages and proxies multiple instances of the single-user  Jupyter notebook server. So that we can configure LDAP based authentication to execute the notebooks.
Though JupyterHub requires Python 3.0 to run, still we can select which python version kernel need to be executed when we create new notebook or executing existing notebook!
Hope the following links help us to deploy both JupyterHub and Python2.7 kernel:
1. https://linuxcluster.wordpress.com/2015/08/13/basic-setup-and-configuration-of-jupyterhub-with-python-3-4-3/
2. https://linuxcluster.wordpress.com/2015/08/16/using-python-2-on-jupyterhub/
3. http://stackoverflow.com/questions/29118729/how-to-install-multiple-ipython-3-0-kernels-python-2-7-python-3-4-etc-wit
4. https://github.com/jupyter/jupyter/issues/71
Thanks from NCMRWF

Hi @arulalant
I expect that all cube browser capabilities will be able to run inside a standalone notebook instance and as part of a JupyterHub instance
I think there are some interesting angles which JupyterHub might bring, for sharing output, so I think it is worth considering investigating setting up a temporary instance for this project.
I think this additive to the project; we don't want to be bound to JupyterHub, but we should be compatible with it, I think.
@jbednar @philippjfr @jlstevens does this concur with you views?

Yes, absolutely!
We would want to leverage JupyterHub only to make multi-user notebook sharing easier and not to get tied up with it in any way. Anything we would make available on JupyterHub would be runnable on a local machine using a regular, standalone notebook server.

@jlstevens - are we calling this issue completed or de we want to work out the access list first?

I am happy to have this issue closed as long as it is clear that we are operating a whitelist and anyone who would like access needs to send me their github user name.
You can access JupyterHub here: http://metoffice.continuum.io:8000/
I suggest we use this issue as a place for people to request access whether or not it is now closed.

@jlstevens  Thanks. could you please give me access. My github user name is "arulalant"
I am getting the following error when I am trying to start the server.
"Failed to start your server. Please contact admin."
Let me close this issue.

@arulalant It should be working for you now as I've added your account.

@jlstevens Thanks.  http://metoffice.continuum.io:8000/ is pretty awesome, especially the last one (In [17]) visualizing the ensembles Versus time slicers.
Just bringing to your notice that I couldn't make copy of the notebook due to permission denied.

Just bringing to your notice that I couldn't make copy of the notebook due to permission denied.

You can't edit a copy of the notebook? After running File -> Make a Copy?
If so, I'll have to look into it again as this is part of the recommended workflow. I'm fairly sure it was working when I last tested it!

I assume it's to do with the permissions in the share/notebooks folder.

@philippjfr That is probably true. The thing is the symbolic link is to the git repository and if I change the permissions there, that will almost certainly count as a change that git will want to track.
I suppose I can try to commit and push the permissions change and hope it sticks (as it should!) as the repository is updated over time.

@arulalant I've updated the permissions and tested it again. Making a copy should work now!

@jlstevens Thanks, now I able to make copy of notebook and work on that. So we can focus on creating notebooks and run it in JupyterHub.


CI Tests failing due to foundry toolchain possibly using an older foundry build

Hi,
During our test suite with foundry-toolchain/github actions the following error appears:

Test result: ok. 5 passed; 0 failed; finished in 1.08s
[269](https://github.com/superform-xyz/super-vaults/actions/runs/4113946632/jobs/7100701243#step:6:270)
2023-02-07T12:37:21.274109Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x7fa9385be102ac3eac297483dd6233d62b3e1496,
[270](https://github.com/superform-xyz/super-vaults/actions/runs/4113946632/jobs/7100701243#step:6:271)
(code: -32000, message: cannot query unfinalized data, data: None)) address=0x7fa9385be102ac3eac297483dd6233d62b3e1496
[271](https://github.com/superform-xyz/super-vaults/actions/runs/4113946632/jobs/7100701243#step:6:272)

[272](https://github.com/superform-xyz/super-vaults/actions/runs/4113946632/jobs/7100701243#step:6:273)
Running 1 test for src/aave-v3/test/AaveV3ERC4626Reinvest.t.sol:AaveV3ERC4626ReinvestTest
[273](https://github.com/superform-xyz/super-vaults/actions/runs/4113946632/jobs/7100701243#step:6:274)
[FAIL. Reason: Failed to get account for 0x7fa9385be102ac3eac297483dd6233d62b3e1496: 0x7fa9385be102ac3eac297483dd6233d62b3e1496]

which appears to be related to https://github.com/foundry-rs/foundry/issues/3874 but was fixed apparently in a nightly build at the end of December as commented here: https://github.com/foundry-rs/foundry/issues/3874#issuecomment-1358862493
It seems to us that the toolchain is possibly not using the latest version with this fix?
Our CI is supposedly using foundry "nightly" build:

Thank you

This might be related to the recently added cache - have you tried manually deleting the cache by following the instructions in the README?

I went to the mentioned caches page and couldn't find any cache.
I added a cache: false to the CI file. Also the issue seems random, because when you try sometimes re-running the CI job it passes without errors.

This is likely because the RPC you are talking to either times out, or does not have the data available. Remember that non-archive nodes only support accessing state for the n latest blocks.

This is likely because the RPC you are talking to either times out, or does not have the data available. Remember that non-archive nodes only support accessing state for the n latest blocks.

We are using quicknodes for all the chains we need the service and all of our nodes are archive nodes. So unless they are timing out, which I would find odd, I would rule out that.
Is it possible that what timeouts is because of foundry itself, expecting to get return data faster than what is possible?. Doesn't seem related foundry-toolchain actually.

Marking as resolved, if you are still having issues with Foundry feel free to open a ticket there


obnam: removed

Motivation for this change
Obnam has been retired for a year. See: https://obnam.org/

NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE!
The Obnam project is retired. See https://blog.liw.fi/posts/2017/08/13/retiring_obnam/ for more information. Please use another backup solution instead.
NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE! NOTE!

Things done

[ ] 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)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-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)
[x] Fits CONTRIBUTING.md.

I don't think we should simply remove backup software from our repo. While people should certainly not do any new backups using obnam, there are probably still people relying on it for restoring their old ones. Therefore, I vote to revert this change. We might want to mark obnam as broken or insecure and provide a link to the announcement.

I don't think it's our responsibility to slowly phase out software after the upstream project has been officially dead for a year.

There are probably still people relying on it for restoring their old ones.

Nothing's really deleted from git.  Anyone who really needs the package can just copy the expression locally and build it locally.
But feel free to revert if you disagree.

After updating my NixOS channel I have realised that it's time to find a new backup program. :-)
I think removing it from nixpkgs reflects the author's wishes because he asked for it to removed from the next release of Debian.
Lucky Nix users can run nix run -f channel:nixos-18.03 obnam, which should work for years to come.


DoFn lifecycle JavaDoc update.

Fixes issue #24184 by stating the the DoFn lifecycle both (1) has teardown on a best effort and (2) can vary by number of DoFn instances based on runner.
A comment-- I don't think it makes sense to link this page to the JavaDocs given that the JavaDocs all contain links to other JavaDocs, eg: https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/transforms/DoFn.html.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @Abacn

Test status not updated to GitHub UI. There is an error:
./website/www/site/content/en/documentation/programming-guide.md:1198:71: W201 Trailing whitespace

ah sorry about that, didn't see it locally.


Problem in running test for 082_MediaPipe_Meet_Segementation

I tried to run test.py from this folder (082_MediaPipe_Meet_Segementation) and got error. If I use a model I downloaded from "sudo gdown --id 1qOlcK8iKki_aAi_OrxE2YLaw5EZvQn1S" , I get this error.
Traceback (most recent call last):
  File "test.py", line 25, in <module>
    interpreter.set_tensor(input_details, img)
  File "C:\Users\Fransiskus Yoga Esa\AppData\Local\Programs\Python\Python38\lib\site-packages\tflite_runtime\interpreter.py", line 423, in set_tensor
    self._interpreter.SetTensor(tensor_index, value)
ValueError: Cannot set tensor: Dimension mismatch. Got 144 but expected 128 for dimension 1 of input 0.
PS D:\Users\Downloads\openCV\code\PINTO_model_zoo\082_MediaPipe_Meet_Segmentation>

if I use this model ( https://meet.google.com/_/rtcvidproc/release/336842817/segm_lite_v509.tflite ), I get this error
Traceback (most recent call last):
  File "test.py", line 21, in <module>
    interpreter.allocate_tensors()
  File "C:\Users\Fransiskus Yoga Esa\AppData\Local\Programs\Python\Python38\lib\site-packages\tflite_runtime\interpreter.py", line 259, in allocate_tensors
    return self._interpreter.AllocateTensors()
RuntimeError: Encountered unresolved custom op: Convolution2DTransposeBias.Node number 241 (Convolution2DTransposeBias) failed to prepare.

What model that I can use to run the test.py?

Hello @fransiskusyoga
Sorry but I don't know where to go from here. First I don't exactly know where you got the model or what test.py even have.
From what I see:

For this issue:

ValueError: Cannot set tensor: Dimension mismatch. Got 144 but expected 128 for dimension 1 of input 0.

Means that your input shape is different than your the input tensor of the model that you're trying to feed the input in.
2) For this issue:
RuntimeError: Encountered unresolved custom op: Convolution2DTransposeBias.Node number 241 (Convolution2DTransposeBias) failed to prepare.

That's more like a tflite_runtime issue when initializing the model, which should be asked here: https://github.com/tensorflow/tensorflow/issues

Hello @fransiskusyoga
Sorry but I don't know where to go from here. First I don't exactly know where you got the model or what test.py even have.
From what I see:

For this issue:

ValueError: Cannot set tensor: Dimension mismatch. Got 144 but expected 128 for dimension 1 of input 0.

Means that your input shape is different than your the input tensor of the model that you're trying to feed the input in.
2) For this issue:
RuntimeError: Encountered unresolved custom op: Convolution2DTransposeBias.Node number 241 (Convolution2DTransposeBias) failed to prepare.

That's more like a tflite_runtime issue when initializing the model, which should be asked here: https://github.com/tensorflow/tensorflow/issues

sorry, i did a wrong post

sorry, i did a wrong post


Viewport aggs PoC

Initial PoC for https://github.com/CartoDB/renderer-prototype/issues/19
This PoC just supports numeric properties of point features.
Implemented expression functions: viewportMax, viewportMin, viewportAvg, viewportSum, viewportCount.
Now maps like #eyJhIjoidHhfMDEyNV9jb3B5X2NvcHkiLCJiIjoiOGExNzRjNDUxMjE1Y2I4ZGNhOTAyNjRkZTM0MjYxNDA4N2M0ZWYwYyIsImMiOiJkbWFuemFuYXJlcy1kZWQxMyIsImQiOiJjYXJ0by1zdGFnaW5nLmNvbSIsImUiOiJ3aWR0aDogc3FydCgkYW1vdW50LzUwMDApKjEwKih6b29tKCkvNDAwMCswLjAxKSoxLjVcbmNvbG9yOiBvcGFjaXR5KGhzdigwLCAoKCRhbW91bnQvdmlld3BvcnRNYXgoJGFtb3VudCkpKSwxKSwgMC43KSIsImYiOnsibG5nIjoyLjE1NDI4NzU1NDQ3NjQ2ODQsImxhdCI6NDEuMzkyMzg2NTQxMjMwMzR9LCJnIjoxMy41MDk1Mzc3NTA3MjI0MTZ9 works.
Regarding the implementation, I've added a new internal-only method to the Expression base class. This new method returns the columns that have a viewport-dependant metadata usage. The renderer use this information to compute that data, and then it is passed to the _preDraw method to let the style expressions use it.
This PR includes quantiles() PoC: https://github.com/CartoDB/renderer-prototype/issues/11

Yes @Jesus89 I'm gonna update those tickets


bug: runs very sporadically.

Did you check docs and existing issues?

[X] I have read all the docs
[X] I have searched the existing issues
[X] I have searched the existing issues of plugins related to this issue (if relevant)

Neovim version (nvim -v)
v0.10.0-dev-2947+ge1ca7a7bf-dirty
Operating system/version
MacOS 14.4.1
Describe the bug
Single word text selection -> base64, yields error on simple text file..
[decipher]: base64: ...e/nvim/lazy/decipher.nvim/lua/decipher/codecs/base64.lua:153: attempt to index global 'bit' (a function value)

Steps To Reproduce

Open a empty file,
input a simple string,
require("decipher").encode_selection_prompt()
Select 'base64'

Expected Behavior
base64 text occurs.
Repro
No response

Thanks for submitting an issue and using the issue template 🙂
You say the bug occurs sporadically and I found that I am using neovim's bit library directly for only the base64 codec instead of decipher's bits wrapper module. My guess is that it occurs sporadically because something else is sometimes doing a require("lua") somewhere beforehand, and making the bit library available, and sometimes not, making it fail.
You can test out the fix on this branch but I'll merge it regardless since this is a bug even if it doesn't fix your issue.

Thank you for the plugin and the response!  This works better in non-preview mode for sure.  When I try to do a preview, I see the box pop up w/ the correct value and then it disappears in under a second.
I can live without the preview, however.

I figured it out!  autoclose = false

This works better in non-preview mode for sure.

Great 🙂 thanks for testing it out so quickly.

I figured it out! autoclose = false

The preview window should only be closing if you enter insert mode or move the cursor right after the pop-up window opens. I originally made a fix for the behavior you are describing but specifically for motions since they would move the cursor after doing the encoding/decoding, closing the window immediately. I never had this problem with the selection functions.

Does the window close itself even if you don't trigger any of these events after opening the window?
In your repro, I'm assuming that you visually select the text between steps 2 and 3, right?

Doing these steps, I cannot reproduce your issue (running neovim v0.9.5 on OSX 11.7.10):

Open a empty file.
Input a simple string.
Visually select the text.
Execute '<,'>lua require("decipher").encode_selection_prompt({ preview = true }) (works with '<,'>lua require("decipher").encode_selection('base64') as well).
Select 'base64'.

FYI, I've released v1.0.1 that includes the above mentioned fix https://github.com/MisanthropicBit/decipher.nvim/issues/11#issuecomment-2068189885

@sinkr Did you have a chance to verify that v1.0.1 fixed your issue?
It would also be great if you could check if either fix/float-autoclose-autocmds or fix/float-autoclose-autocmds2 fixes your issue with the preview closing with autoclose = true 🙂

Sadly no, it doesn't work for me, still.  I've fallen back to using b64.nvim; I'd love to have the preview/JSON feature, but damned if I can make it work.  It's probably PEBKAC.  Below's my config and a GIF of what I'm seeing.
return {
  "https://github.com/MisanthropicBit/decipher.nvim.git",

  init = function()
    require("decipher").setup({

      vim.keymap.set("v", "<leader>1", function()
        require("decipher").encode_selection_prompt({ preview = true })
      end, { desc = "Decipher Encode", noremap = true, silent = true }),

      vim.keymap.set("v", "<leader>2", function()
        require("decipher").decode_selection_prompt({ preview = true })
      end, { desc = "Decipher Decode", noremap = true, silent = true }),

      active_codecs = "all", -- Set all codecs as active and useable
      float = { -- Floating window options
        padding = 0, -- Zero padding (does not apply to title if any)
        border = { -- Floating window border
          { "╭", "FloatBorder" },
          { "─", "FloatBorder" },
          { "╮", "FloatBorder" },
          { "│", "FloatBorder" },
          { "╯", "FloatBorder" },
          { "─", "FloatBorder" },
          { "╰", "FloatBorder" },
          { "│", "FloatBorder" },
        },
        mappings = {
          close = "q", -- Key to press to close the floating window
          apply = "a", -- Key to press to apply the encoding/decoding
          jsonpp = "J", -- Key to prettily format contents as json if possbile
          help = "?", -- Toggle help
        },
        title = true, -- Display a title with the codec name
        title_pos = "left", -- Position of the title
        autoclose = false, -- Autoclose floating window if insert
        -- mode is activated or the cursor is moved
        enter = true, -- Automatically enter the floating window if
        -- opened
        options = {}, -- Options to apply to the floating window contents
      },
    })
  end,
}

So, I did a little more playing around and pretty much gave up on the selection_prompt variants.
What I found is the direction of the selection seems to matter:
To test, I would input text, hit  v 0 and essentially select from $ to 0; this does not work.
Somewhere along the way, I got fatigued and selected from 0 (in this case ^) to $ and it consistently works.  See attached animation from fix/float-autoclose-autocmds2:

Finally, the FIRST time I try to run the plugin it ALWAYS fails:

Did you have a chance to verify that v1.0.1 fixed your issue?

Here, I was referring to your original issue regarding 'attempt to index global 'bit' but it looks from the recordings (very helpful btw, thanks) that you can use the base64 codec without that issue now.
Your config looks fine to me so I'm not sure this is PEBKAC. Had a good laugh though, never heard that term before 🙂
I've tried to reproduce your issue but without any luck. I've tried with visual mode character-, line-, and block-wise. When I have some more time, I'll try and install your version of neovim (looks like some version of nightly) and see if I can reproduce it. Perhaps something changed regarding visual selection.
From the error message, it looks like neovim is complaining that you it cannot get text when the starting column is greater than the end column are reversed but the plugin already takes this into account for block visual mode where this is applicable.
You could also try to run nvim -u minimal_init.lua to make sure that no other plugin is interfering where minimal_init.lua is a file like:
vim.opt.rtp:append("<path_to_your_installation_of_decipher>")

Also thanks for making me aware of b64.nvim. I didn't know about that plugin.

Yep, it works out of the box w/ the minimal Lua, so I guess it's something else in my setup interfering.  I appreciate the help, however, because while I've been using Vim for several decades, I never decided to really enmesh myself in it and I'm trying to learn the ins and outs, especially since Lua came on the scene.
Just for my own edification, what would be the next steps be to debug this issue?  I find that LazyVim and Noice seemingly hide a lot of error messages, but I feel like there should be a debugger somewhere, maybe Vimspector?
Thanks for your time and the plugin!

Great! 🙂 Glad to hear it's working.
I've had some time to test this out now with your exact settings and I managed to trigger almost the same error.
E5108: Error executing lua: .../projects/vim/decipher.nvim/lua/decipher/selection.lua:224: Invalid 'end_col': out of range
stack traceback:
        [C]: in function 'set_visual_text'
        .../projects/vim/decipher.nvim/lua/decipher/selection.lua:224: in function 'set_text_from_selection'
        .../projects/vim/decipher.nvim/lua/decipher/ui/float.lua:354: in function 'apply_codec'
        .../projects/vim/decipher.nvim/lua/decipher/ui/float.lua:301: in function <.../projects/vim/decipher.nvim/lua/decipher/ui/float.lua:300>

With your settings, the steps to reproduce are:

Enter some text.
Do 0v$ or 0<c-v>$ in normal mode.
Press <leader>1.
Select a codec.
Press a to apply the codec.

If I instead do 0g_ in step 2 (to select to the last non-blank character of the line), it works fine. I couldn't reproduce your error with start_col by doing $v0 or $v^ with any of the other visual modes as well. I couldn't reproduce your startup issue either (with 0.9.5 or nightly).
NVIM v0.10.0-dev-3085+gb024643ca
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068

Tested on both master, fix/float-autoclose-autocmds, and fix/float-autoclose-autocmds2. I'll fix the issue above and then I'll mark this issue as resolved.

because while I've been using Vim for several decades, I never decided to really enmesh myself in it and I'm trying to learn
the ins and outs, especially since Lua came on the scene.

I myself come from a decade of using vim so I completely understand. Perhaps this is helpful? Especially the link to vim-differences and nvim-features are nice. Also :h luaref-intro.

Just for my own edification, what would be the next steps be to debug this issue? I find that LazyVim and Noice seemingly
hide a lot of error messages, but I feel like there should be a debugger somewhere, maybe Vimspector?

I have yet to see a great solution to this problem but I've had a similar problem before where I ended up doing a manual "git bisect" by disabling half my plugins, checking if the problem remained, and then gradually honing in on the problem. You may perhaps already have an idea of what types of plugins might be causing the issue. Disabling noice might also be a good start if you think it's hiding error messages.
Using Vimspector would probably be a good thing to try since it can attach to a running process so you don't have to set breakpoints and step through a lot of code. You could also try to see if there are other autocmds loaded that might interfere, e.g. doing verbose autocmd WinEnter.
You could also try to downgrade to the latest stable release (v0.9.5 as of this writing) to see if your particular version of nightly is the problem.

Is this fixed yet?

What specific issue are you referring to here? Multiple ones came up during the discussions above.
The selection issue should be partially fixed by #18. You are welcome to try out the branch and see if it works for you. I'll try to make time to test it properly and release it but life keeps getting in the way 🙂 OP discovered that this issue was caused by their setup. You can try to use the minimal_init.lua approach outlined above to see if that is the case for you as well if #18 doesn't help.


Merging AENetworks fix from ytdl-org

Fixes #228
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This is a fix that was merged into ytdl-org to fix aenetworks. Merging here as well.

@merval Is there any particular reason you made this into a separate PR when it is already part of #280?  Sorry about that :-/ I'll close this out.


Update jquery to 3.6.4

Updated jquery to 3.6.4.
This pr can replace #1903.

these tests are garbage - I'm going to merge on red. we need to figure out this transition rejection thing separately.

Backported to radjabov in commit 0fda04d102b0a58534f253894da09d46d87f55b7.
commit 0fda04d102b0a58534f253894da09d46d87f55b7
Author: Jason Frey<EMAIL_ADDRESS>Date:   Fri May 24 12:09:01 2024 -0400

    Merge pull request #1904 from GilbertCherrie/update_jquery_to_3.6.4

    Update jquery to 3.6.4

    (cherry picked from commit f64d280cc93c388b07fed154a51dfa25778b7a74)


Feature Request: Weighted Or (already have implementation to use)

Is your feature request related to a problem? Please describe
A request for Or() but with weights
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Or() equally gives each option the same probability.
Describe the solution you'd like
Each statement in the Or is in a tuple of which the first is the option the or chooses and second is the probability that the option is taken.
A clear and concise description of what you want to happen.
Describe alternatives you've considered
class WeightedOr(Field):
    """A ``Field`` subclass that chooses one of the provided values at
    random as the result of a call to the ``build()`` method. Takes an
    odds array rather than just direct values."""
    def __init__(self, *values, **kwargs):
        '''
        values is a list of tuples
        '''
        self.shortest_vals = None
        vals=[x[0] for x in values]
        self.values= list(map(maybe_binstr, vals))
        self.weights = [x[1] for x in values]
        #print(self.weights)
        if abs(1.0 - sum(self.weights)) > 0.0001:
            raise("Weights in WeightedOr don't sum to 1.0: {}".format(self.weights))
        if "options" in kwargs and len(values) == 0:
            self.values = list(map(maybe_binstr, kwargs["options"]))
        self.rolling = kwargs.setdefault("rolling", False)
    def build(self, pre=None, shortest=False):
        """
        :param list pre: The prerequisites list
        :param bool shortest: Whether or not the shortest reference-chain (most minimal)
        version of the field should be generated.
        """
        #self.values=list(map(val, self.values))
        #self.shortest_vals=list(map(val, self.values))
        if pre is None:
            pre = []
        # self.shortest_vals will be set by the GramFuzzer and will
        # contain a list of value options that have a minimal reference chain
        if shortest and self.shortest_vals is not None:
            return utils.val(random.choices(self.shortest_vals, self.weights)[0], pre, shortest=shortest)
        else:
            return utils.val(random.choices(self.values, self.weights)[0], pre, shortest=shortest)

A clear and concise description of any alternative solutions or features you've considered.
implementation of solution
Additional context
Add any other context or screenshots about the feature request here.

The code got messed up formatting
The implementation I mean is here:
https://github.com/mgree/smoosh-fuzz/blob/master/weightedOr.py

Thanks for the feature request! I like this idea a lot!

Added as part of v1.4.0:
from collections import defaultdict
from gramfuzz.fields import WeightedOr, WOr

counts = defaultdict(int)
wor = WOr(
    ("50%", 0.5),
    ("30%", 0.3),
    ("20%", 0.2),
)

iters = 100000
for x in range(iters):
    val = wor.build()
    counts[val] += 1

for k, v in counts.items():
    print("{}: {:.03f}%".format(k, (v / iters) * 100))

outputs
b'50%': 50.034%
b'30%': 30.163%
b'20%': 19.803%

Thanks for implementing! I believe there is a bug my code that ran before is not getting ""Weights in WeightedOr don't sum to 1.0" error when it worked before and I checked the values. Also I am unable to run it in Python 3 only in Python 2.7 does it work after running both setup.py in the repo and pip/pip3.


migrate stackstate extension to be vue3 compliant - rancher 2.10

migrate stackstate extension to be vue3 compliant - rancher 2.10

Build is broken @aalves08

Build is broken @aalves08

Have you switched to node 20 and cleaned up the old node_modules? It should not be broken... I've tried it multiple times yesterday and today I've cloned it from fresh and it worked fine:
https://github.com/user-attachments/assets/ec7babdc-d069-4b85-8619-07c5d28fce51

Build is broken @aalves08

Have you switched to node 20 and cleaned up the old node_modules? It should not be broken... I've tried it multiple times yesterday and today I've cloned it from fresh and it worked fine:
test.mov

@aalves08 the CI lint check step fails, everything is fine with node modules and node version

No worries @anton-ovechkin . Glad to help. I'll have to merge this when it's convenient for you guys since I don't have permissions to do so 🙏


Question

Is this still working? Specifically getting questions from artofproblemsolving.com

I honestly have no idea. This script's a really old project of mine.
If it doesn't work, I'd suggest looking into the download function around line 85. It's possible that if AoPS changes their wiki format, it'll break stuff.

Thanks for the quick response.
Maybe AoPS changed their format, since I get the message, "The requested contest does not exist"


Changed "WEBSITE_RUN_FROM_PACKAGE true" to "WEBSITE_RUN_FROM_PACKAGE 1"

Task name: Deploy task
Description: As per the documentation for the setting WEBSITE_RUN_FROM_PACKAGE from https://docs.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package  the value needs to be 1 to be enabled. the value 'true' does not work.
Documentation changes required: N
Added unit tests: N
Attached related issue: N
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

As discussed offline.
I have apps that have been deployed with WEBSITE_RUN_FOM_PACKAGE = true and it still does work.
I do agree with you that we should have this been consistent with the documentation.
If you didn’t mind however I would like to include this change in the V2 version of the task which I am hoping to merge soon.
azure-pipelines-tasks/Tasks/AzureFunctionAppV2 at users/finvamp1/FunctionsAppv2 · microsoft/azure-pipelines-tasks (github.com)

As discussed offline.
I have apps that have been deployed with WEBSITE_RUN_FOM_PACKAGE = true and it still does work.
I do agree with you that we should have this been consistent with the documentation.
If you didn’t mind however I would like to include this change in the V2 version of the task which I am hoping to merge soon.
azure-pipelines-tasks/Tasks/AzureFunctionAppV2 at users/finvamp1/FunctionsAppv2 · microsoft/azure-pipelines-tasks (github.com)

Hi @FinVamp1 ,
The behavior of how the app is being run is quite different when the value of WEBSITE_RUN_FOM_PACKAGE is '1' vs when it is not. Nevertheless, the app will run!
When it is not '1' zipdeploy will basically extract the zip file into the wwwroot folder. When the value is '1' the zipfile is not extracted into the wwwroot folder but rather mounted to wwwroot folder at runtime and the wwwroot will be readonly.
I would highly you suggest keeping this value as 1.
Thanks,
Sarath

Hello, @CodingIsBliss and @FinVamp1
Changing WEBSITE_RUN_FROM_PACKAGE to true causes an error and some users have their deployment blocked.
I think this PR may be able to resolve the issue, please can you see #16005 and #15983 ?

/azp run

We are experiencing issues with Elastic Premium Plan after this switch from expanded/wwwroot zip deploy to run from package. SyncTriggers sometimes fails to run and we now need to 1) notice that this happened (in the Activity Log of each Function App) and 2) manually run SyncTriggers per affected Function App.
The wwwroot zip deploy automatically sync's trigger information and we suspect this is why we didn't notice this problem until now.
Is it possible to override the deployment strategy for Elastic Premium Plan so that it uses the wwwroot zip deploy strategy for before this change?


DeferredCallable has different type parameters than Promise/Deferred

DeferredCallable has type parameters <D, P> while Promises have type parameters <D, F, P> . That means the Deferred in the DeferredCallable has error type "Throwable" instead of a user specified error type.
I'd like to specify my own error type with DeferredCallable. Was this difference intended or is it a TBD? Is there any reason not to add a type parameter for errors in DeferredCallable?

hiya, Java Callables expects user to throw exception when there is an error.  If you want to use your own error types, you can use a Runnable instead.
Cheers,

Ah, makes sense, thanks!


tags with x-traitTag: true are now greyed out in redoc ouput

I had to remove some content from my swagger.yaml file and now tags with x-traitTag: true are greyed out in redoc left navigation.
https://andrewjtech123.github.io/rebilly-validschema/

and if i scroll to bottom of page, the page freezes and redoc display issues start to occur

I can't reproduce it on the link you sent

try now please

also what is meant by x-traitTag is deprecated from the change log

@andrewjtech123 can reproduce the issue now.
A new release is planned for tomorrow or Friday.
Will try to include fix for this issue

x-traitTag deprecation is now reconsidered. I will remove deprecated warning in the next release

Thank you ! For now we are removing all tags with x-traitTag and just using Level 1 headings in Description.  But this is not ideal as we lose the ability to control where in the left navigation we would like to place the tag content.

fixed with the latest version (v1.8.0):
http://rebilly.github.io/ReDoc/?url=https://andrewjtech123.github.io/rebilly-validschema/swagger.json


Create guides for working with type conversions (Address to BytesN, String to ScVal, etc.) in various programming languages

Get awarded: up to $500 worth of XLM
Section: How-To Guides - Conventions
Guide could include:

Introduction that includes what type conversions are and discusses different data types like Address, BytesN, ScVal, etc., and their roles
Code examples of converting various types in whatever programming language you’re working with
Example scenarios where these types of conversions are used

Hi! @briwylde08 I’d like to work on this

You got it!

Is this up for grabs? If yes, I would to be assigned please

@Mackenzie-OO7, are you still working on this?
@od-hunter, let's give the assignee a few days to let us know if they're working on this issue still before you do any work.

@Mackenzie-OO7, are you still working on this?

Yes I am. Sorry I kind of got sidetracked😅. I’ll make a PR soon.

Hi @Mackenzie-OO7!
Congratulations! Your contribution to Deep Dive Docs Bounty has been accepted! 🎉
Your submission may qualify for an award of $500 worth of XLM! One last step: please fill out this form completely and accurately. Once we review the completed form and everything checks out, we will let you know the status of your potential award!
Please let us know if you have any questions.
All the best,
Bri


Does not do proper highlighting in typescript.

Its not showing proper syntax highlighting for my typescript files.

Share you config

This is colorscheme is written lua.  So, You have to call setup function.
if(has(termguicolors))
  set termguicolors
endif
" Onedark Theme
syntax enable
lua require("onedark").setup()

Check README#Configuration for option.


parser(fields): add more fields to the parser

bigauto -> BigAutoField,
bigint -> BigIntegerField,
binary -> BinaryField,
decimal -> DecimalField,
duration -> DurationField,
genericip -> GenericIPAddressField,
image -> ImageField,
nullbool -> NullBooleanField,
positiveint -> PositiveIntegerField,
positivesmallint -> PositiveSmallIntegerField,
smallint -> SmallIntegerField,

I have to fix something with the development dependencies, but thanks for the PR!
I think I'm missing some more tests, too.

development dependencies

already solved in you last PR but you haven't merge it yet, removing hashes or you could solve it by editing
pyproject.toml
 dependencies = [
   - "Django>=3.2.15"
   + "Django==4.1.2"
 ]

with

some more test
these 3 tests fails because all_raw_fileds list actually doesn't contains all raw fields.

I decided I don't want this, for now. I want to keep the tool simple. If you need more advanced fields like the ones you added, the user can add them manually.
Thanks for the contribution none the less.


discourse: 2.9.0.beta1 -> 2.9.0.beta2

Motivation for this change
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/request-for-help-fixing-discourse-in-nixpkgs/18008/1

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/request-for-help-fixing-discourse-in-nixpkgs/18009/1


Update virtual-machines-windows-powershell-sample-create-vm-from-snap…

…shot.md

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

@ssinsk Thank you for the contribution! I think that changes in other pull requests may have already fixed the initial issue. I'm going to close this for now, please let us know if you find anything else :)
#please-close


New streaming demos

I add new examples related with Twitter streaming (read all your timeline and some interaction with your tweets).

Hi @DanielaSfregola !!! I made the writing operation to add an example of some interaction between streaming and rest clients. I have another proposal to do this, so I think I'm going to split this PR in two new PR, one with the current simple example and another with the complex one, and close this PR. Thanks!!!
Pd: congrats for your talk, it was amazing!!

Thanks, I am glad my talk was useful!
I'll look forward to your next PR ;)


2 different replies when TV is off

Describe The Bug:
The TV has 2 different types of replies to the ping when it's off so the plugin keeps sending logs indicating that it can't determine the state of the TV.
The 2 replies are the following:
5 packets transmitted, 0 received, 100% packet loss, time 4047ms
Destination Host Unreachable
To Reproduce:
Turn ON or OFF the TV and wait for the logs to appear.
Expected behavior:
I want to get rid of those annoying logs. The plugin works but my homebridge console is full of this warning logs. Probably the best way to solve this is to set 2 different commands for the OFF state. I don't know if this is possible.
Logs:
powerStateMonitor: WARNING Samsung TV cannot determine power state from ping result! stdout: PING X.X.X.X (X.X.X.X) 56(84) bytes of data.

--- X.X.X.X ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4047ms

Plugin Config:
{
            "name": "Samsung TV HT",
            "pingCommand": "ping -c 1 -w 5",
            "pingInterval": 2,
            "pingResponseOn": "received, 0% packet",
            "pingResponseOff": "Destination Host Unreachable",
            "doublePressTime": 250,
            "triplePressTime": 450,
            "doublePressDelayTime": 300,
            "devices": [
                {
                    "name": "Samsung TV",
                    "ipAddress": "<IP_ADDRESS>",
                    "type": "television",
                    "manufacturer": "Samsung",
                    "powerOnCommand": "echo 'on 0' | cec-client -s -d 1",
                    "powerOffButton": "KEY_POWEROFF",
                    "viewTvSettingsCommand": "KEY_MENU",
                    "inputs": [
                        {
                            "inputName": "TV",
                            "inputKeyCode": "KEY_TV",
                            "inputSourceType": "2",
                            "inputDeviceType": "1"
                        },
                        {
                            "inputName": "HDMI",
                            "inputKeyCode": "KEY_HDMI",
                            "inputSourceType": "3",
                            "inputDeviceType": "1"
                        },
                        {
                            "inputName": "Source",
                            "inputKeyCode": "KEY_SOURCE",
                            "inputSourceType": "0",
                            "inputDeviceType": "1"
                        }
                    ],
                    "arrowUpButton": "KEY_UP",
                    "arrowUpButtonDoubleTap": "KEY_CHUP",
                    "arrowUpButtonTripleTap": "KEY_UP",
                    "arrowDownButton": "KEY_DOWN",
                    "arrowDownButtonDoubleTap": "KEY_CHDOWN",
                    "arrowDownButtonTripleTap": "KEY_DOWN",
                    "arrowLeftButton": "KEY_LEFT",
                    "arrowLeftButtonDoubleTap": "KEY_REWIND",
                    "arrowLeftButtonTripleTap": "KEY_LEFT",
                    "arrowRightButton": "KEY_RIGHT",
                    "arrowRightButtonDoubleTap": "KEY_FF",
                    "arrowRightButtonTripleTap": "KEY_RIGHT",
                    "selectButton": "KEY_ENTER",
                    "selectButtonDoubleTap": "KEY_SOURCE",
                    "selectButtonTripleTap": "KEY_HDMI",
                    "playPauseButton": "KEY_PLAY",
                    "playPauseButtonDoubleTap": "KEY_PAUSE",
                    "playPauseButtonTripleTap": "KEY_STOP",
                    "backButton": "KEY_RETURN",
                    "backButtonDoubleTap": "KEY_EXIT",
                    "backButtonTripleTap": "KEY_RETURN",
                    "infoButton": "KEY_MENU",
                    "infoButtonDoubleTap": "KEY_INFO",
                    "infoButtonTripleTap": "KEY_TOOLS",
                    "volupButton": "KEY_VOLUP",
                    "voldownButton": "KEY_VOLDOWN",
                    "voldownButtonTriplePress": "KEY_MUTE",
                    "muteButton": "KEY_MUTE"
                }
            ],
            "platform": "samsungtvht"
        }

Screenshots:

Environment:

Plugin Version: 0.1.10
Homebridge Version: Latest docker image
Node.js Version: 16.13.2
NPM Version: 8.1.2
Operating System: Docker

Interesting. It's not the TV replying as the TV cannot reply when it is off.
It is the ping tool your are using that is returning the response.
You can test your ping response by using the command line and pinging a non-existing IP address on your network.
From your log above you should be able to set pingResponseOff to "100% packet loss" and it should be reliable.

Thanks for your reply. It actually works with "100% packet loss" and I don't get any log message. It's still weird the "Destination Host Unreachable" thing but anyways, thank you.
Also, is there any way to customize the icons of the Remote app?. I see the play/pause, back and information buttons but I would like to add the Source button. I know I can change the Source with the Input configuration tab of the plugin, but it's kinda weird changing the Source from the Homekit app and then having to go to the Remote app to change volume, channel, etc.
Anyways, thanks for your fast response and the reliability of your plugin, it works really well.

Hi. the Remote Control layout is determined by Apple and can only be changed by Apple. I also wish they would make a better layout. Or allow a layout similar to the Apple TV layout.
The only thing possible to me was to enable single tap and double tap options on the buttons. So you can configure a double-tap to be a remote key (or key sequence) of your choice.

All fixed. User needed to adapt his config


My .sav file is overwriten and it still logs me in with a new character on the server

I'm under windows 11, I want to migrate my coop world into local dedicated server, I did the steps correctly multiple times, the .sav file is correctly generate, but it still logs me in with a new character on the server and the file is overwriten.
I just tried with total new world, and same thing append

I have the exact same issue.

I tried this variant and it worked for me: https://github.com/JannikBirn/palworld-host-save-fix/tree/main

I tried this variant and it worked for me: https://github.com/JannikBirn/palworld-host-save-fix/tree/main

how do you start your server? On dedicated mode or in community mode?

I used this guide: https://github.com/A1RM4X/HowTo-Palworld/tree/main#2-backing-up-and-restoring-server-data-localy

It's buggy. My character refuses to mine ore, it does one swing and stop. Same for swinging the bat, it stops. Very annoying

Ah and I have no name in the guild -_-

It worked ! But I have the same issues as you :(

This is where I’m at also. The whole process just isn’t working

All my players worked automatically without doing anything except for the old host.
I had to run the script twice for it to work but it worked.
I recommend having backups and doing multiple tries.

It's buggy. My character refuses to mine ore, it does one swing and stop. Same for swinging the bat, it stops. Very annoying

this is fixed by the dev ! https://github.com/JannikBirn/palworld-host-save-fix/issues/6
Just do the process again with the new git version

All my players worked automatically without doing anything except for the old host. I had to run the script twice for it to work but it worked.
I recommend having backups and doing multiple tries.

How do you run the script twice? It removes the old save...

Ah and I have no name in the guild -_-

This should be also fixed by the version 0.0.1 of my script, see https://github.com/JannikBirn/palworld-host-save-fix/releases

This should also be fixed by the version 0.0.1 of my script, see https://github.com/JannikBirn/palworld-host-save-fix/releases

Do you still have to do the coop guild ownership transfer and leave as the host before running this?

This should also be fixed by the version 0.0.1 of my script, see https://github.com/JannikBirn/palworld-host-save-fix/releases

Do you still have to do the coop guild ownership transfer and leave as the host before running this?

No, the host can be the owner of a guild.

@ch3573r make backups, they are important ;)

I'm going to close this issue as a duplicate of https://github.com/xNul/palworld-host-save-fix/issues/22. A couple fixes are referenced in there and @JannikBirn's script https://github.com/xNul/palworld-host-save-fix/issues/69 seems to work well too. Great work by them figuring it out. If you want to stay up to date with the state of the bug, feel free to follow https://github.com/xNul/palworld-host-save-fix/issues/22.