DB operations are being done in parallel

Discovered some time ago, DB operations can not be supported in parallel/async, seems like the issue has popped up again.
May want to introduce a wrapper class for DB that includes a global lock.

The class already somewhat exists, State.IndexContext could implement a SaveChangesSafe where a static object is locked so ensure saves changes don't occur at once.

Apparently the multithreaded mode was supported at some point but then reverted as per https://github.com/dotnet/efcore/issues/22330#issuecomment-1291916289 since it "does not seem possible to do this safely". We also may not share instances of DbContext, which would have given us a elegant way to deal with this.

Pretty sure what we're doing is a supported pattern, that's very annoying.
The cleaner way to implement this would be to pass all things that should be saved to another class and then write it in batch.
We could obviously add a mutex of some kind but that would block all threads on a single writer, I think that could pile up.


At my wits end lol - Textrazor dictionary issue

I've been working on this for a few days... I am new yes, but I hate not figuring something out. I have read documentations until my eyes hurt, and I've have made at least a few hundreds attempts to get this script working.
Any help would be greatly appreciated.
It's the the "import textrazor.py" file, thanks
https://github.com/reconrad48/github-1

Hi Ralph, it looks like your get_row_data_for_data_type function is being passed Python dictionaries, so you are hitting an error when you try to call item.id. You could change this to item.get('id', ''), like you use for the "entities" response above. Alternatively, there's no need to unpack these to dicts in extract_all_data and you could simply pass around the TextRazor result objects.
Finally it looks like the return extracted_data line 319 is indented too far, right now you will only be retrieving results matching the first batch. You would just need to remove 4 spaces to make it in line with the main function body to fix that.

Since there isn't an issue with the library itself I'll close this for now. If you have any further trouble feel free to get in touch again at<EMAIL_ADDRESS>

do you guy have a regular discussion forum? Thanks for taking a look at it... I have some other questions, I'll email.


Analyzer Feedback from IntelliJ

Version information

IDEA AI-192.7<IP_ADDRESS>92135
2.7.0-edge.16cbabec3a00e715173c68e8f761a8e1296cc9e5
AI-192.7<IP_ADDRESS>92135, JRE 1.8.0_212-release-1586-b04x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1600x900

@vishalrajbh , closing this issue there is no information listed for us to follow up. Do reopen if you have more info.


Files are saved to the disk when using Parcel

First, thanks for creating astroturf, it has almost everything I'd like in a CSS-in-JS library!
I'm trying to use it with Parcel, but lots of files are being generated (saved to disk):

This is a bummer, since I don't want to have my source files polluted like that.
I tried to tweak .babelrc to use writeFiles: false, but then I get the following error:

For what is worth it, I'm using Parcel v2.
Is there an easy way to fix this behavior?

hi there, yes the files are written to disk when using parcel, or any other thing besides webpack. The reason boils down webpack is pluggable in a way that allows for keeping the files in memory and still processing them as if they were on disk. AFAIK that isn't possible in Parcel, or at least I don't know how to write a plugin that allows it and integrates nicely.
The other possible issue with Parcel is it uses very outdated tooling for processing css modules so some astroturf features aren't possible like selector interpolation. cc @devongovett Who can correct me if i'm  super off-base!

Would it be possible to at least remove those files after the build is done? I don't mind creating those extra files temporarily, the problem is having to remove them after I'm done.

some sort of Parcel plugin might be able to. Babel plugin tho has no idea when the build is done or even that it's being used inside of parcel and so can't guess when it'd be safe to remove them. Super open to making this better, but since i'm not personally a user of Parcel i don't have a lot of expertise or time to build it!


physics3 ,how to make a physic model rotation?

how to make a physic model rotation

Thank you for your input. We'd really like to keep GitHub issues specifically for actual issues with the library. Therefor please ask coding support questions like this in the Phaser forum. If you prefer direct chat then you could use Slack or Discord. Or even Stack Overflow with the correct tag.


feat(api,combine-api,dispatch,platform): added support for references for projects

Closes #3989

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


sriov-network-device-plugin is unable to load Mellanox DPDK device (readlink failure)

What issue would you like to bring attention to?
SRIOV-network-device-plugin fails to load the device selector mentioned in the configuration :
The logs of the plugin
$ kubectl -n kube-system logs kube-sriov-device-plugin-amd64-c5ssv
I0118 11:43:42.739952       1 manager.go:52] Using Kubelet Plugin Registry Mode
I0118 11:43:42.740270       1 main.go:44] resource manager reading configs
I0118 11:43:42.740362       1 manager.go:86] raw ResourceList: {
"resourceList": [{
"resourceName": "mlnx_sriov_dpdk",
"resourceprefix": "mellanox.com",
"selectors": {
"vendors": ["15b3"],
"devices": ["1019"],
"drivers": ["vfio-pci", "igb_uio"],
"pciAddresses": ["0000:1f:00.1"],
"pfNames": ["ens3f1"],
"rootDevices": ["000:1f:00.1"]
}
}
]
}
I0118 11:43:42.740421       1 factory.go:168] net device selector for resource mlnx_sriov_dpdk is &{DeviceSelectors:{Vendors:[15b3] Devices:[1019] Drivers:[vfio-pci igb_uio] PciAddresses:[0000:1f:00.1]} PfNames:[ens3f1] RootDevices:[000:1f:00.1] LinkTypes:[] DDPProfiles:[] IsRdma:false NeedVhostNet:false}
I0118 11:43:42.740439       1 manager.go:106] unmarshalled ResourceList: [{ResourcePrefix:mellanox.com ResourceName:mlnx_sriov_dpdk DeviceType:netDevice Selectors:0xc000260f20 SelectorObj:0xc000358820}]
I0118 11:43:42.740468       1 manager.go:193] validating resource name "mellanox.com/mlnx_sriov_dpdk"
I0118 11:43:42.740476       1 main.go:60] Discovering host devices
I0118 11:43:42.792864       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.0	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0118 11:43:42.793154       1 netDeviceProvider.go:116] excluding interface eno1:  default route found: {Ifindex: 2 Dst:  Src:  Gw: <IP_ADDRESS> Flags: [] Table: 254}
I0118 11:43:42.793213       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.1	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0118 11:43:42.793257       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.0	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0118 11:43:42.793317       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.1	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0118 11:43:42.793381       1 main.go:66] Initializing resource servers
I0118 11:43:42.793395       1 manager.go:112] number of config: 1
I0118 11:43:42.793399       1 manager.go:115]
I0118 11:43:42.793403       1 manager.go:116] Creating new ResourcePool: mlnx_sriov_dpdk
I0118 11:43:42.793408       1 manager.go:117] DeviceType: netDevice
E0118 11:43:42.793432       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:0b:00.1 readlink /sys/bus/pci/devices/0000:0b:00.1/driver: no such file or directory"
E0118 11:43:42.793757       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:1f:00.0 readlink /sys/bus/pci/devices/0000:1f:00.0/driver: no such file or directory"
E0118 11:43:42.793777       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:1f:00.1 readlink /sys/bus/pci/devices/0000:1f:00.1/driver: no such file or directory"
I0118 11:43:42.793794       1 manager.go:130] no devices in device pool, skipping creating resource server for mlnx_sriov_dpdk
I0118 11:43:42.793802       1 main.go:72] Starting all servers...
I0118 11:43:42.793807       1 main.go:77] All servers started.
I0118 11:43:42.793812       1 main.go:78] Listening for term signals
Separately, when I try to perform the same command, it works fine :
$  readlink /sys/bus/pci/devices/0000:1f:00.1/driver
../../../../bus/pci/drivers/igb_uio
What is the impact of this issue?
The dpdk device is not allocated to the node for SRIOV.
Do you have a proposed response or remediation for the issue?
SRIOV CRD is defined as follows:
$ cat sriov_yamls/sriov_cni.yaml
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: sriov-net1
annotations:
k8s.v1.cni.cncf.io/resourceName: mellanox.com/mlnx_sriov_dpdk
spec:
config: '{
"type": "sriov",
"cniVersion": "0.3.1",
"name": "sriov-dpdk",
"type": "sriov",
"vlan": 1000
}'

Please see docs dpdk [1] on how to configure Mellanox with dpdk
[1] https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/blob/master/docs/dpdk/mlnx-dpdk/configMap.yaml

Please see docs dpdk [1] on how to configure Mellanox with dpdk
[1] https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/blob/master/docs/dpdk/mlnx-dpdk/configMap.yaml

Thanks, I followed the config provided, and there is some progress where the driver is detected. However, the resource for the mellanox device is still not created. Please find the logs below :
$ kubectl -n kube-system logs kube-sriov-device-plugin-amd64-jgdcj
I0119 04:29:05.997868       1 manager.go:52] Using Kubelet Plugin Registry Mode
I0119 04:29:05.998276       1 main.go:44] resource manager reading configs
I0119 04:29:05.998423       1 manager.go:86] raw ResourceList: {
"resourceList": [{
"resourcePrefix": "mellanox.com",
"resourceName": "mlnx_connectx5",
"selectors": {
"vendors": ["15b3"],
"devices": ["1019"],
"drivers": ["mlx5_core"]
}
}
]
}
I0119 04:29:05.998514       1 factory.go:168] net device selector for resource mlnx_connectx5 is &{DeviceSelectors:{Vendors:[15b3] Devices:[1019] Drivers:[mlx5_core] PciAddresses:[]} PfNames:[] RootDevices:[] LinkTypes:[] DDPProfiles:[] IsRdma:false NeedVhostNet:false}
I0119 04:29:05.998545       1 manager.go:106] unmarshalled ResourceList: [{ResourcePrefix:mellanox.com ResourceName:mlnx_connectx5 DeviceType:netDevice Selectors:0xc0001d0f20 SelectorObj:0xc0002d6a90}]
I0119 04:29:05.998604       1 manager.go:193] validating resource name "mellanox.com/mlnx_connectx5"
I0119 04:29:05.998618       1 main.go:60] Discovering host devices
I0119 04:29:06.055780       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.0	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 04:29:06.056163       1 netDeviceProvider.go:116] excluding interface eno1:  default route found: {Ifindex: 2 Dst:  Src:  Gw: <IP_ADDRESS> Flags: [onlink] Table: 254}
I0119 04:29:06.056233       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.1	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 04:29:06.056409       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.0	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 04:29:06.057043       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.1	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 04:29:06.057548       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.2	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.057721       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.3	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.057886       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:01.2	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.058074       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:01.3	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.058243       1 main.go:66] Initializing resource servers
I0119 04:29:06.058258       1 manager.go:112] number of config: 1
I0119 04:29:06.058263       1 manager.go:115]
I0119 04:29:06.058268       1 manager.go:116] Creating new ResourcePool: mlnx_connectx5
I0119 04:29:06.058272       1 manager.go:117] DeviceType: netDevice
I0119 04:29:06.060596       1 manager.go:130] no devices in device pool, skipping creating resource server for mlnx_connectx5
I0119 04:29:06.060610       1 main.go:72] Starting all servers...
I0119 04:29:06.060615       1 main.go:77] All servers started.
I0119 04:29:06.060621       1 main.go:78] Listening for term signals
$ cat sriov_yamls/sriov_crd_connectx5.yaml
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: sriov-dpdk-mlnx-connectx5
annotations:
k8s.v1.cni.cncf.io/resourceName: mellanox.com/mlnx_connectx5
spec:
config: '{
"cniVersion": "0.3.1",
"type": "sriov",
"name": "sriov-mlnx-connectx5",
"ipam": {
"type": "host-local",
"subnet": "<IP_ADDRESS>/24",
"routes": [{
"dst": "<IP_ADDRESS>/0"
}],
"gateway": "<IP_ADDRESS>"
}
}'

Thanks, I followed the config provided, and there is some progress where the driver is detected. However, the resource for the mellanox device is still not created. Please find the logs below :
$ kubectl -n kube-system logs kube-sriov-device-plugin-amd64-jgdcj
I0119 04:29:05.997868       1 manager.go:52] Using Kubelet Plugin Registry Mode
I0119 04:29:05.998276       1 main.go:44] resource manager reading configs
I0119 04:29:05.998423       1 manager.go:86] raw ResourceList: {
"resourceList": [{
"resourcePrefix": "mellanox.com",
"resourceName": "mlnx_connectx5",
"selectors": {
"vendors": ["15b3"],
"devices": ["1019"],
"drivers": ["mlx5_core"]
}
}
]
}
I0119 04:29:05.998514       1 factory.go:168] net device selector for resource mlnx_connectx5 is &{DeviceSelectors:{Vendors:[15b3] Devices:[1019] Drivers:[mlx5_core] PciAddresses:[]} PfNames:[] RootDevices:[] LinkTypes:[] DDPProfiles:[] IsRdma:false NeedVhostNet:false}
I0119 04:29:05.998545       1 manager.go:106] unmarshalled ResourceList: [{ResourcePrefix:mellanox.com ResourceName:mlnx_connectx5 DeviceType:netDevice Selectors:0xc0001d0f20 SelectorObj:0xc0002d6a90}]
I0119 04:29:05.998604       1 manager.go:193] validating resource name "mellanox.com/mlnx_connectx5"
I0119 04:29:05.998618       1 main.go:60] Discovering host devices
I0119 04:29:06.055780       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.0	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 04:29:06.056163       1 netDeviceProvider.go:116] excluding interface eno1:  default route found: {Ifindex: 2 Dst:  Src:  Gw: <IP_ADDRESS> Flags: [onlink] Table: 254}
I0119 04:29:06.056233       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.1	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 04:29:06.056409       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.0	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 04:29:06.057043       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.1	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 04:29:06.057548       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.2	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.057721       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.3	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.057886       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:01.2	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.058074       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:01.3	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex Virtual...
I0119 04:29:06.058243       1 main.go:66] Initializing resource servers
I0119 04:29:06.058258       1 manager.go:112] number of config: 1
I0119 04:29:06.058263       1 manager.go:115]
I0119 04:29:06.058268       1 manager.go:116] Creating new ResourcePool: mlnx_connectx5
I0119 04:29:06.058272       1 manager.go:117] DeviceType: netDevice
I0119 04:29:06.060596       1 manager.go:130] no devices in device pool, skipping creating resource server for mlnx_connectx5
I0119 04:29:06.060610       1 main.go:72] Starting all servers...
I0119 04:29:06.060615       1 main.go:77] All servers started.
I0119 04:29:06.060621       1 main.go:78] Listening for term signals
$ cat sriov_yamls/sriov_crd_connectx5.yaml
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: sriov-dpdk-mlnx-connectx5
annotations:
k8s.v1.cni.cncf.io/resourceName: mellanox.com/mlnx_connectx5
spec:
config: '{
"cniVersion": "0.3.1",
"type": "sriov",
"name": "sriov-mlnx-connectx5",
"ipam": {
"type": "host-local",
"subnet": "<IP_ADDRESS>/24",
"routes": [{
"dst": "<IP_ADDRESS>/0"
}],
"gateway": "<IP_ADDRESS>"
}
}'

After changing the device selector's device id to "101a", the VF, the device got selected correctly. Please note that the config I have used is :
"resourceList": [{
        "resourcePrefix": "mellanox.com",
        "resourceName": "mlnx_connectx5",
        "selectors": {
            "vendors": ["15b3"],
            "devices": ["101a"],
            "drivers": ["mlx5_core"]
        }
    }
]

}
for the device :
1f:00.0 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] [15b3:1019]
1f:00.1 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] [15b3:1019]
1f:00.2 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]
1f:00.3 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]
1f:01.2 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]
1f:01.3 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]

After changing the device selector's device id to "101a", the VF, the device got selected correctly. Please note that the config I have used is :
"resourceList": [{
        "resourcePrefix": "mellanox.com",
        "resourceName": "mlnx_connectx5",
        "selectors": {
            "vendors": ["15b3"],
            "devices": ["101a"],
            "drivers": ["mlx5_core"]
        }
    }
]

}
for the device :
1f:00.0 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] [15b3:1019]
1f:00.1 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex] [15b3:1019]
1f:00.2 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]
1f:00.3 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]
1f:01.2 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]
1f:01.3 Ethernet controller [0200]: Mellanox Technologies MT28800 Family [ConnectX-5 Ex Virtual Function] [15b3:101a]

You also need isRDMA flag to be true  for dpdk application to work

You also need isRDMA flag to be true  for dpdk application to work

When I set isRdma flag as true , I get the below error :
$ kubectl -n kube-system logs kube-sriov-device-plugin-amd64-gfz4f
I0119 05:38:13.747787       1 manager.go:52] Using Kubelet Plugin Registry Mode
I0119 05:38:13.748146       1 main.go:44] resource manager reading configs
I0119 05:38:13.748234       1 manager.go:86] raw ResourceList: {
"resourceList": [{
"resourcePrefix": "mellanox.com",
"resourceName": "mlnx_connectx5",
"selectors": {
"vendors": ["15b3"],
"devices": ["101a"],
"drivers": ["mlx5_core"],
"isRdma": true
}
}
]
}
I0119 05:38:13.748288       1 factory.go:168] net device selector for resource mlnx_connectx5 is &{DeviceSelectors:{Vendors:[15b3] Devices:[101a] Drivers:[mlx5_core] PciAddresses:[]} PfNames:[] RootDevices:[] LinkTypes:[] DDPProfiles:[] IsRdma:true NeedVhostNet:false}
I0119 05:38:13.748307       1 manager.go:106] unmarshalled ResourceList: [{ResourcePrefix:mellanox.com ResourceName:mlnx_connectx5 DeviceType:netDevice Selectors:0xc0001e2f20 SelectorObj:0xc0002e6b60}]
I0119 05:38:13.748343       1 manager.go:193] validating resource name "mellanox.com/mlnx_connectx5"
I0119 05:38:13.748354       1 main.go:60] Discovering host devices
I0119 05:38:13.800944       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.0	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 05:38:13.801264       1 netDeviceProvider.go:116] excluding interface eno1:  default route found: {Ifindex: 2 Dst:  Src:  Gw: <IP_ADDRESS> Flags: [] Table: 254}
I0119 05:38:13.801330       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.1	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 05:38:13.801366       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.0	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 05:38:13.801416       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.1	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 05:38:13.801485       1 main.go:66] Initializing resource servers
I0119 05:38:13.801497       1 manager.go:112] number of config: 1
I0119 05:38:13.801504       1 manager.go:115]
I0119 05:38:13.801510       1 manager.go:116] Creating new ResourcePool: mlnx_connectx5
I0119 05:38:13.801519       1 manager.go:117] DeviceType: netDevice
E0119 05:38:13.801540       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:0b:00.1 readlink /sys/bus/pci/devices/0000:0b:00.1/driver: no such file or directory"
E0119 05:38:13.801880       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:1f:00.0 readlink /sys/bus/pci/devices/0000:1f:00.0/driver: no such file or directory"
E0119 05:38:13.801901       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:1f:00.1 readlink /sys/bus/pci/devices/0000:1f:00.1/driver: no such file or directory"
I0119 05:38:13.801914       1 manager.go:130] no devices in device pool, skipping creating resource server for mlnx_connectx5
I0119 05:38:13.801920       1 main.go:72] Starting all servers...
I0119 05:38:13.801925       1 main.go:77] All servers started.
I0119 05:38:13.801931       1 main.go:78] Listening for term signals
Is there something else I am missing?

When I set isRdma flag as true , I get the below error :
$ kubectl -n kube-system logs kube-sriov-device-plugin-amd64-gfz4f
I0119 05:38:13.747787       1 manager.go:52] Using Kubelet Plugin Registry Mode
I0119 05:38:13.748146       1 main.go:44] resource manager reading configs
I0119 05:38:13.748234       1 manager.go:86] raw ResourceList: {
"resourceList": [{
"resourcePrefix": "mellanox.com",
"resourceName": "mlnx_connectx5",
"selectors": {
"vendors": ["15b3"],
"devices": ["101a"],
"drivers": ["mlx5_core"],
"isRdma": true
}
}
]
}
I0119 05:38:13.748288       1 factory.go:168] net device selector for resource mlnx_connectx5 is &{DeviceSelectors:{Vendors:[15b3] Devices:[101a] Drivers:[mlx5_core] PciAddresses:[]} PfNames:[] RootDevices:[] LinkTypes:[] DDPProfiles:[] IsRdma:true NeedVhostNet:false}
I0119 05:38:13.748307       1 manager.go:106] unmarshalled ResourceList: [{ResourcePrefix:mellanox.com ResourceName:mlnx_connectx5 DeviceType:netDevice Selectors:0xc0001e2f20 SelectorObj:0xc0002e6b60}]
I0119 05:38:13.748343       1 manager.go:193] validating resource name "mellanox.com/mlnx_connectx5"
I0119 05:38:13.748354       1 main.go:60] Discovering host devices
I0119 05:38:13.800944       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.0	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 05:38:13.801264       1 netDeviceProvider.go:116] excluding interface eno1:  default route found: {Ifindex: 2 Dst:  Src:  Gw: <IP_ADDRESS> Flags: [] Table: 254}
I0119 05:38:13.801330       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:0b:00.1	02          	Broadcom Inc. and...	NetXtreme II BCM5709 Gigabit Ethernet
I0119 05:38:13.801366       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.0	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 05:38:13.801416       1 netDeviceProvider.go:78] netdevice AddTargetDevices(): device found: 0000:1f:00.1	02          	Mellanox Technolo...	MT28800 Family [ConnectX-5 Ex]
I0119 05:38:13.801485       1 main.go:66] Initializing resource servers
I0119 05:38:13.801497       1 manager.go:112] number of config: 1
I0119 05:38:13.801504       1 manager.go:115]
I0119 05:38:13.801510       1 manager.go:116] Creating new ResourcePool: mlnx_connectx5
I0119 05:38:13.801519       1 manager.go:117] DeviceType: netDevice
E0119 05:38:13.801540       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:0b:00.1 readlink /sys/bus/pci/devices/0000:0b:00.1/driver: no such file or directory"
E0119 05:38:13.801880       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:1f:00.0 readlink /sys/bus/pci/devices/0000:1f:00.0/driver: no such file or directory"
E0119 05:38:13.801901       1 netDeviceProvider.go:52] netdevice GetDevices(): error creating new device: "error getting driver info for device 0000:1f:00.1 readlink /sys/bus/pci/devices/0000:1f:00.1/driver: no such file or directory"
I0119 05:38:13.801914       1 manager.go:130] no devices in device pool, skipping creating resource server for mlnx_connectx5
I0119 05:38:13.801920       1 main.go:72] Starting all servers...
I0119 05:38:13.801925       1 main.go:77] All servers started.
I0119 05:38:13.801931       1 main.go:78] Listening for term signals
Is there something else I am missing?


Add jwt bearer and saml assertions flows

This PR adds two more strategies (SAML and JWT-Bearer)

Looking at travis failures

RBX failed?


Consider using Grunt dev tools in VS to help keep LESS and CSS in sync

Idea from @chenriksson
https://docs.microsoft.com/en-us/aspnet/core/client-side/using-grunt
Right now, you have to run grunt in src/bootstrap to make sure the LESS is synced with the Gallery's CSS.
/cc @ryuyu

Alternatively, the build script could require npm/grunt and run the compile for every build.
Related conversation: https://github.com/NuGet/NuGetGallery/pull/4599.
/cc @khellang


No error displayed when failing to connect due to CredSSP

When BeRDP is unable to connect to a server without CredSSP, no error message is display via the GUI.
If you run from the command line, an error message will be written "Failed to connect, CredSSP is required by the server."

I am trying to use popen to read back the output from the rdesktop command, in the hopes that I can grab that last error line and pass it to a BAlert for the user.
Unfortunately when I try to do that, it only grabs the first 2 lines and the third line still gets written to the terminal.
Am I using popen incorrectly? Or perhaps there is a better way to be doing this?
// Execute RDesktop
//system(cmdline.String());

char buffer[2048];
std::string result = "";

FILE* pipe = popen(cmdline.String(), "r");

if (!pipe) throw std::runtime_error("popen() failed!");

while (fgets(buffer, 2048, pipe) != NULL) result += buffer;

pclose(pipe);

BAlert* alert = new BAlert("Title goes here", result.c_str(),
"Aww darn", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING,
B_STOP_ALERT);
alert->SetShortcut(0, B_ESCAPE);
int32 button_index = alert->Go();


Nested dialogs are dismissed immediately

The global click handler for dialogs doesn't differentiate what dialog is "at the top", so any click on the top dialog dismisses any dialog "below" if that click is outside that dialogs area.
A concrete example is a Dialog with position: :right, which includes a nested Dialog with default settings. Any clicks to the nested dialog will register as "outside" of the root dialog and close it.

Thanks for opening this up, @koddsson!
I'm curious about the use case for nested dialogs, and whether that's a design pattern we want to support. @langermank I know you worked on defining the Dialog interface guidelines; do you have any thoughts on this?

@lesliecdubs; Sure! I think nested dialogs are a bit 😬 but I was given a design for github/github which uses a side panel which includes a trigger for a more conventional dialog. I don't wanna give too much away in public since this is a unreleased feature but I can share additional info with you or the team in Slack.


slurp: 1.4.0 -> 1.5.0

Description of changes
For better hidpi support, namely the cursor/crosshair now scales correctly.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Not sure how this is usually handled, but wouldn't it make more sense to ask for a new release upstream?

ping @buffet


Improve parseFlags test in ParserUtil

Codecov Report

Merging #251 (687ce4a) into master (185aaf9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #251   +/-   ##
=========================================
  Coverage     68.13%   68.13%
  Complexity      745      745
=========================================
  Files            94       94
  Lines          2583     2583
  Branches        345      345
=========================================
  Hits           1760     1760
  Misses          765      765
  Partials         58       58

Impacted Files
Coverage Δ

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Unable to read file 'vscode-userdata://extensions.json' (Error: Unable to resolve nonexistent file 'vscode-userdata://extensions.json')

Error: Unable to read file 'vscode-userdata://extensions.json' (Error: Unable to resolve nonexistent file 'vscode-userdata://extensions.json')
at Object.factory in src/vs/platform/extensionManagement/common/extensionsProfileScannerService.ts:237:12

Go to Errors Site

Maybe you can try to give the directory 'vscode-userdata://' writing Permissions
chmod a+w vscode-userdata


fix: added loading animation

Description
Added loading animation
Related Issue
Fixes #1725
Checklist

[✅] The code follows the project's coding standards and is properly linted (npm run lint).
[ ] Tests have been added or updated to cover the changes.
[ ] Documentation has been updated to reflect the changes.
[ ] All tests pass successfully locally.(npm run test).

@jonaslagoni should i add a animated loading icon ? or this is fine

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.364%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5869

Relevant Lines:
6193

💛  - Coveralls

Hi @Min2who, I can see the loading screen on both the input and output panel (I think this should only be on the output panel cc: @jonaslagoni) only when the website is loaded for the first time, but not when we change any setting. We also want the loading screen (on the output panel only) when we tweak settings.

Hi @Min2who, I can see the loading screen on both the input and output panel (I think this should only be on the output panel cc: @jonaslagoni) only when the website is loaded for the first time, but not when we change any setting. We also want the loading screen (on the output panel only) when we tweak settings.

@devilkiller-ag can yu check it one more time the loading screen is only in the output screen only

Hi @Min2who, I can see the loading screen on both the input and output panel (I think this should only be on the output panel cc: @jonaslagoni) only when the website is loaded for the first time, but not when we change any setting. We also want the loading screen (on the output panel only) when we tweak settings.

@devilkiller-ag can yu check it one more time the loading screen is only in the output screen only

Here is the screenshot of my inspection. It's showing loading screen on both input editor panel and output panel.

Hi @Min2who, I can see the loading screen on both the input and output panel (I think this should only be on the output panel cc: @jonaslagoni) only when the website is loaded for the first time, but not when we change any setting. We also want the loading screen (on the output panel only) when we tweak settings.

@devilkiller-ag can yu check it one more time the loading screen is only in the output screen only

Here is the screenshot of my inspection. It's showing loading screen on both input editor panel and output panel.

@devilkiller-ag this is not because of my changes that i have made
This loading is present in the website only

Any updates here? 👀

Any updates here? 👀

@jonaslagoni can you review the pr .I have added the loading animation on the output screen

@Min2who all you @devilkiller-ag

Hi @Min2who @jonaslagoni, I will review the PR tomorrow as I don't have my laptop with me for now.
@Min2who Can you tick all the checklists in the PR description for then?

Any updates on this @Min2who?

Any updates on this @Min2who?

https://github.com/asyncapi/modelina/assets/127925465/2f726f40-5ae7-4a2d-8519-18162eedffcf

@Min2who That looks good to me. But don't you think we should also screen-load animation while changing the options 🤔?
https://github.com/asyncapi/modelina/assets/43639341/affa5e64-f25d-45ea-bc0a-9db19327709e
@jonaslagoni What do you think?

I agree @devilkiller-ag, its actually part of the issue description ✌

When you change the input, open the playground, or change the settings, ...

@Min2who That looks good to me. But don't you think we should also screen-load animation while changing the options 🤔?
2024-02-02.07-54-59.mp4
@jonaslagoni What do you think?

doing it 🙇♂

Hey @Min2who have you had a chance to take a look at it? :v:

@jonaslagoni should I close this PR as we have not got any updates from @utnim2 since last two months?

I am really sorry for it @jonaslagoni @devilkiller-ag


[WIP] Add negative test for input binding.

Description
Added negative test for input binding.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1809
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

/ok-to-test

/ok-to-test

E2E tests failed in windows because Dapr was not able to start. Completely independent of this PR. https://github.com/dapr/dapr/runs/1234747210?check_suite_focus=true#step:13:30


Sync different sheet tabs w/ different calendars

Is it possible to have different sheet tabs link to different calendars?

I'd love to see that, too!


feat: add missing path APIs

This adds support for all System.IO.Path members in .NET 5 and 6.
BREAKING CHANGE: This is a breaking change for people implementing System.IO.Abstractions.IPath or deriving from System.IO.Abstractions.PathBase because new members have been added to their API surface.
Fixes #774

Sorry if I should open a new issue rather than comment here (I can open a more descriptive issue if needed).
The Path.Join methods which take strings are also shipped with Core 3.0 and Core 3.1, not just .Net 5 and 6 (these methods were put behind conditional compilation constant "FEATURE_PATH_JOIN_WITH_PARAMS" in this PR).
string Join(params string[] paths);
string Join(string path1, string path2);
string Join(string path1, string path2, string path3);

Sorry if I should open a new issue rather than comment here (I can open a more descriptive issue if needed).
The Path.Join methods which take strings are also shipped with Core 3.0 and Core 3.1, not just .Net 5 and 6 (these methods were put behind conditional compilation constant "FEATURE_PATH_JOIN_WITH_PARAMS" in this PR).
string Join(params string[] paths);
string Join(string path1, string path2);
string Join(string path1, string path2, string path3);

@12emerta This package does not target .NET Core 3.1. If these APIs are not available in .NET Standard we won' be able to expose them (see https://github.com/TestableIO/System.IO.Abstractions/issues/562 and https://github.com/TestableIO/System.IO.Abstractions/pull/540 for some more reasoning).

Sorry if I should open a new issue rather than comment here (I can open a more descriptive issue if needed).
The Path.Join methods which take strings are also shipped with Core 3.0 and Core 3.1, not just .Net 5 and 6 (these methods were put behind conditional compilation constant "FEATURE_PATH_JOIN_WITH_PARAMS" in this PR).
string Join(params string[] paths);
string Join(string path1, string path2);
string Join(string path1, string path2, string path3);

@12emerta This package does not target .NET Core 3.1. If these APIs are not available in .NET Standard we won' be able to expose them (see #562 and #540 for some more background).

Thanks for the quick reply! I didn't realize Core 3.x wasn't supported.  Will try and do some inheritance magic as a workaround.


open championship does not respect entrylist when car switches occur

https://opengt3.assettocorsaservers.com/championship/116b6716-00e0-419f-998d-d82a3f328640
Augusto C. shows up in results but not in championship results. his car slot must have been taken by someone else

maybe joining (for the first time) and leaving a championship in the same session removes you from the entrylist when you leave?


Html report broken

nyc appears to correctly report code coverage when it prints to the console:

But when I then run nyc report --reporter=html the generated html report is useless:

The code in that image is executed hundreds of times during the tests, but the html report shows nothing.
I feel like I'm missing something, perhaps related to source maps. You can see that the source file under test is dist/js-data.js. dist/js-data.js.map is available, but the source map seems to be ignored, as nyc doesn't split the report up for the individual files that were bundled into dist/js-data.js.
Steps to reproduce:

git clone https://github.com/js-data/js-data.git
cd js-data
git checkout v3
npm install
npm test
npm run html-report
open coverage/index.html

Thanks for any help. I'd love to get coverage reporting for the individual source files, in addition to an html report that tells me which lines I still need to cover.

Okay, my problem is that I'm transpiling and bundling my sources from running the tests, instead of letting ava transpile my sources.

@jmdobry
Your best bet is to transpile with source-maps (either embedded our external .map linked files).
If you don't want to deploy source-maps, transpile to protectDir/build with embedded source-maps, and use those for testing, transpile to projectDir/lib for deploying (without source-maps). I usually do it this way anyways, and add projectDir/build to .gitignore - that way the dist folder only gets updated when I do a version bump.

Closing. Feel free to open another issue if you think there's something nyc can do to make this less painful.

This is what I ended up with:
"babel": {
  "presets": [
    "es2015",
    "stage-0"
  ]
},
"ava": {
  "babel": "inherit",
  "files": [
    "test/**/*.js"
  ],
  "source": [
    "src/**/*.js"
  ],
  "require": [
    "babel-register"
  ]
},

Which now gives me coverage reporting for individual source files. However, at the very first occurence of a "not covered branch" in the html report, the css paints the entire rest of the page yellow.

Try adding sourceMaps: "inline" to the babel portion of the config.

Didn't make a difference. If I inspect the html, the first occurrence of a "not covered branch" starts with:
<span class="branch-1 cbranch-no" title="branch not covered">

Instead of that span closing at the end of the not covered code, it continues and the entire rest of the page's html is nested under that span, and is therefore painted yellow because of the cbranch-no class.

Hmm. That almost seems like an istanbul issue. I'm not sure how our source-map remapping could impact that.

I guess it's not a big deal, it just forces me to add coverage from the top of the file on down.

I guess it's not a big deal, it just forces me to add coverage from the top of the file on down.

It should be fixed. Either in istanbul or here.

@jmdobry - Can you create a minimal reproduction on GItHub that @novemberborn and I can clone and play with.

There may already be an open issue: gotwarlost/istanbul#557

@jmdobry closing in favor of https://github.com/bcoe/nyc/pull/266

@jmdobry give this a spin:
https://github.com/bcoe/nyc#use-babel-plugin__coverage__-for-better-es6es7-support
we've released better support for ES6/ES7 coverage using the coverage instrumentation library.

I'll give it a try


First execution of pg_dump_backups causes an error

Hi,
When pg_dump_backups is run for the first time, the following erreur appears :
Remote command execution failed: Use of uninitialized value in subtraction (-) at /home/dalibo/bin/check_pgactivity line 4493.
This error should be silented.

HI, if there is a warning like "perl warning: setting locale failed", I thinks the link is helpful for you.
http://ubuntuforums.org/showthread.php?t=1346581

@yuhuman : I'm not sure to understand how related to the topic it is.
@frost242 : fixed in commit 1785596b7b2e144b348e723ec143f25691f9a139

Thanks !


Create a new release with changes in master branch

New versions of node_exporter uses stdout instead of stderr. These fix is applied in master branch, but release 2.0.0 does not have this fix applied. Can you please create a new release of this role?
Thanks in advance

Hello! Faced the same issue! Please release new version

You can find fixed version in https://github.com/prometheus-community/ansible/tree/main/roles/node_exporter

You can find fixed version in https://github.com/prometheus-community/ansible/tree/main/roles/node_exporter

But using a role from git main branch will break old playbooks, so pinning to a release is a best practice

This role has been deprecated in favor of a the prometheus-community/ansible collection.


Not able to add m3u link in IOS PWA

i can upload the m3u but not add it via link (in order to keep it up to date). not on IOS Safari nor in the "installed" PWA.
cheers
bendsch

The backend is needed to fetch and update playlists via URL because of CORS policy in the browser. It will also be used for PWA app to fetch the EPG by in the future.

Maybe it is the size of the playlist file, more details/logs are needed to understand the reason.

it works in the electron version, so i don't think that's the case (?).

npm run ng:serve on Linux Debian doesn't download m3u from url (infinite loading). How to enable debug logging to analyze the problem?

@plimut yeah, additionally to the frontend, you need to start iptvnator-backend and debug the response and parsing there.

Forgive our misunderstanding, after running iptvnator-backend on port 3000, the playlist loads and works fine, maybe this should be added to the README.md description.

for me it's still not working  even though the backend is running. uploading the m3u works just fine. excuse my amateur question, but is parsing not needed if you upload the file?

@plimut no problem, I'll adapt the readme file :+1:
@bendschs the parsing is always necessary in order to convert m3u to json.
 If you open the backend url (localhost:7333) in your browser, do you see the "Hello world" message? And what does the docker ps command return?

it seems to be running.
CONTAINER ID   IMAGE                            COMMAND                  CREATED        STATUS        PORTS                    NAMES
d6f7d1fc4a83   4gray/iptvnator:latest           "/docker-entrypoint.…"   39 hours ago   Up 10 hours   <IP_ADDRESS>:4333->80/tcp     docker_frontend_1
70d16800ed19   4gray/iptvnator-backend:latest   "docker-entrypoint.s…"   39 hours ago   Up 10 hours   <IP_ADDRESS>:7333->3000/tcp   docker_backend_1

when i manually call "http://localhost:7333/parse?url=http://<IP_ADDRESS>:7777/api/tby/file/favorites.m3u" in the browser i can see the m3u ...

Everything looks good. Did you change something in the docker-compose.yml file, maybe the ports? Can you try to import some other playlist that is not hosted locally, maybe from iptv-org or kodinerds?

it does not work with them either
i tried
https://raw.githubusercontent.com/iptv-ch/iptv-ch.github.io/master/tvopenchde.m3u
and
https://raw.githubusercontent.com/sunsettrack4/zattoo_tvh/additional/wilmaa-free.m3u

I think I know what the reason is, if you open the application in browser it's not running on localhost, right? A custom ip address is used?

i use the player mostly from remote machines.  but you are right, if i try to add the m3u (via link) by opening the app in the browser on the device running it, it works. that said, shouldn't it work for remote devices as well? As i understand the app, it's supposed to be server anyway, right?

Yes, that's correct. To do this, you need to change the CLIENT_URL value in docker-compose.yml, just replace localhost with the right address. But this probably won't be enough, since the client needs to know the correct backend address as well (if it's not localhost).
To be honest, I've only tested on a local machine, I'll try to install on a raspberry pi one of these days. Anyway thanks for testing and feedback 👍

allright! you were right, does not seem to be enough. thank you, for all this amazing work! 🙏

I added a new env variable called BACKEND_URL, it means that now you can specify custom front- and backend addresses. To test it, you need to fetch new docker containers with docker-compose pull first and after that before docker-compose up -d you have to adapt the urls in the docker-compose.yml file.
It should be something like this:
version: '3'

services:
  backend:
    image: 4gray/iptvnator-backend:latest
    ports:
      - "7333:3000"
    environment:
      - CLIENT_URL=http://<IP_ADDRESS>:4333 #this one should match with the address and port in frontend CLIENT_URL env

  frontend:
    image: 4gray/iptvnator:latest
    ports:
      - "4333:80"
    environment:
      - BACKEND_URL=http://<IP_ADDRESS>:7333 # this one should match with the address of the backend service

great job! can confirm it works now.
if you need more testing i am available.

one more question:
would it be possible to tell the player it should retrieve the m3u from the localhost it runs on?
i plan on reverse proxying the playeradress so it is reachable from outside my home network. with the current configuration i still need access to the lan to retrieve channels.
cheers, bendsch

Glad it worked out!
About the last question, I think it's about the same/similar as discussed here: https://github.com/4gray/iptvnator/issues/221 if not, I'd ask for a separate issue. I like the idea, but I need to think about the best way to implement it.
I'll close this thread just to avoid mixing different issues.


⚠ Carbubu has degraded performance

In 070aa32, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 4077 ms

Resolved: Carbubu performance has improved in b101308 after 6 minutes.


fix: don't add FLY_REGION prefix when using recent flyctl version

New versions of flyctl, when running fly postgres attach, use flycast URLs to connect to the DB. This provides the same geo-aware load balancing that the stack already achieves today by prefixing the hostname with the region. Flycast doesn't support region prefixes. This has been causing failures for new apps.
For example:
Old: postgres://top2.nearest.of.my-postgres.internal
New: postgres://my-postgres.flycast
The old format supports a region prefix, but the new one does not.
Fixes #182

cc @rubys @dalperin

@MichaelDeBoey can you take a look at this PR when you get some time?

What about adding the FLY_REGION prefix only if the host ends with .internal?  Or not adding it if it ends with .flycast ?

I'd appreciate it if this were expedited, developers are seeing problems with apps v2 and we are making a push to move people off of apps v1.

@rubys The updated code looked good to me. Merged! :)


ENYO-1292: ExpandableListItem: Lack of Padding displays in RTL

Issue:
Lack of padding displays to the right edge of the expandable list item header when in RTL mode
Fix:
The right padding for expandable picker header was changed from 0px to @moon-spotlight-outset
DCO-1.1-Signed-Off-By: Anish TD<EMAIL_ADDRESS>

Changed the css class name

used expandable list item class instead of expandable picker class

Corrected by ENYO-2144


NWCDialog: Try reput  to fix responsiveness

(only need to add "Tap QR code to open Nostr Client")


[Feature] Angular 16 support

Description
With the release of Angular 16, it is necessary to update NgDoc to version 16 by adding support for Angular 16.
Proposed solution
This task does not include any changes or improvements to the code related to new Angular features, but only involves updating packages.
Alternatives considered

The release is likely to be released around May 10 due to my vacation. But you can try to install NgDoc 15 together with Angular 16, it may work because I didn't lock the versions of angular packages


clean up CoreTypes file of commented code

The comments described in the problem were removed: #23

Hey @Franqsanz, this is ready to merge! Thank you 🙏
One last step, could you please sign your commit before I can merge it? See what I mean here https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification

Yes, no problem, but I will do it on Monday, if you don't mind, thank you!

Sure @Franqsanz, no worries!

Hello @GabrielCTroia, good morning, how do I sign the current commit or should I upload a new one, I have already generated my password.

If you have signed the commit locally, you can just push it again here using git push -f to force it to override the previous one!
Let me know if you have issues and thank you! Looking forward to merge this in 🙏

I can't figure out how to sign a commit already uploaded in github, I've tried as you mentioned but nothing happens. Maybe I'm skipping some step. 😅

Hey, no worries – I'm sure that's annoying! :)
It's this commit that needs to be signed as well clean up CoreTypes file of commented code, not a future one.
Sorry for the hassle is this https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification not describing well enough?

Hey, no worries – I'm sure that's annoying! :)
It's this commit that needs to be signed as well clean up CoreTypes file of commented code, not a future one.
Sorry for the hassle is this https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification not describing well enough?

Try this: git rebase --exec 'git commit --amend --no-edit -n -S' -i YOUR_BRANCH

Well I think I've done it now, sorry for all this lost time, it's the first time I use commit signed! thanks for your patience.

Yep, no worries! Running the tests one more time and I'm ready to merge it!
Thank you so much for your effort and patience as well! 🙏
I'm curios if you have any feedback for the project:

was it easy to get around the codebase and understand?
did you understand the docs?
do you have any suggestions for improvements?

And lastly, could you please give us a star so we can bump the repo up a bit!?
Thank you once more! ❤🙏🚀


Foundation 6.5 Release

Hi guys,
Just curious as to when we can expect the actual F6.5 to be released?
Last I remember, it was slated for June release but the only thing released were the rc versions.
Just wanted to know is all. Thanks for all you do.
Keep being AWESOME!

Hi @tsquez, 👋
I am sorry, it took some time to stabilize the v6.5 version. There is some pull requests waiting for peer review (at least https://github.com/zurb/foundation-sites/pull/11445). Your review is welcome 😉
Foundation v6.5.0 (stable) should be ready after that.
Thank you for your support !


SOLR-17037 - Clone LTRScoringQuery on rewriting to preserve queryResultCache key

https://issues.apache.org/jira/browse/SOLR-17037

Description
Clone the LTRScoringQuery during rewriting so it benefits from the cache
Solution
Clone the LTRScoringQuery during rewriting so it benefits from the cache
Tests
See added test that repros, which is now fixed.
Checklist
Please review the following and check all that apply:

[X] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[X] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[X] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[x] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Fixed the interleaving tests :)

Thanks @softwaredoug for the contribution!
Pretty sure my colleague @aruggero worked on this as well, but can't remember if she wrote any blog on it or if she has any further consideration!


W0D2 Wrong class variable

https://github.com/NeuromatchAcademy/course-content/blob/a35045a706b9780d11a680da7bd3c79e5f901b91/tutorials/W0D2_PythonWorkshop2/solutions/W0D2_Tutorial1_Solution_f9a049ea.py#L52
In the solution script of Exercise 7 in the notebook of W0D2, the line referred above should be corrected as
clamped = (self.last_spike + self.t_ref > t)

Otherwise, the class function will access the global variable t_ref which does not belong to the NeuralSimulator class, and lead to incorrect result.

Good catch @NeoNeuron! Copy-pasta always gets the best pf me. ;-)
Corrected in the updated version.


Some video nodes incorrectly flagged having no files

Some videos are marked in the content database as "total_files = 0", which leads to them not being downloadable through the KA Lite interface (and some screwiness in the counts).
This is because remote_size is also 0 for these videos. Seems to be because download_size is 0, coming from KA:
https://github.com/fle-internal/content-pack-maker/blob/a941dc7e6e4a514cb1981e6092cdc675396554b5/contentpacks/khanacademy.py#L975
Affected videos, by YT ID:
zhNP1LM479g
yjU49bK1gkA
ocAAkB32Hqs
nHi-3jP6Mvc
tlAiM2QSIBg
zlP5NwdiuAU
z_KX8Xpxa-c
zS6N5EqXpCY
uYoX_Qyknao
o6zzLAhEyqo
q5sG_CkkAs8
_GiPxFvUUxs
xRGjQdHToNA
Yhaa214UKvA
u-FSLjbuv_s
BjIPqJ0paXI
ocAAkB32Hqs
nHi-3jP6Mvc

I have a similar issue with Swahili (Kiswahili), the json data is meaningless. Says that 88% is translated, 10% of topic tree, has 0 videos.
The entire content.db is empty.
{
   "language_pack_version":1,
   "software_version":"0.16",
   "code":"sw",
   "percent_translated":88.0184331797,
   "topic_tree_translated":10.8234036305,
   "subtitle_count":0,
   "video_count":0,
   "name":"Swahili",
   "native_name":"Kiswahili",
   "beta":true
}

Related issue:
https://github.com/learningequality/ka-lite/issues/5294


Needs to have shared annotation so can be runnable

The shared annotation needs to be added to the run method so that it can be run by default.

You're right, thanks :)


Why all the link dataset not found?

All displayed 404 not found when click the link
example:
https://f000.backblazeb2.com/file/malay-dataset/dumping/twitter/manglish.json
https://f000.backblazeb2.com/file/malay-dataset/dumping/singlish/singlish.txt

We changed to huggingface repository, we will update the urls ASAP, sorry sir

Feel free to check corpus at https://huggingface.co/datasets/malaysia-ai/pretrain-text-dataset


Results

Could you achieve the results of the paper?

I can not say yes because my work has been paused.

I want to ask a question
Will the FCN parameters be updated when the CNN parameters are updated?

I think that fcn parameters being updated well. however As I mentioned before, This is a work in progress. Thanks for interest.

Hi Guoleming.
I've fixed a lot of code.
If you don't mind, please check again.
Many thanks.


default to mpl with text fallback for circuits

Summary
One part of #2319
Details and comments

This needs to be tweaked after #2331 is merged.

@mtreinish, A test you added in #2331 test_default_backend_auto_output_without_mpl seems to fail for me.  It looks as if the mocking for HAS_MATPLOTLI=False does not stick.  Inserting a print in the test shows that it is still True.  As I have no idea how the mocking works, your help would be most appreciated.

Ah, the issue is because the logic to module level now, so where we're mocking in that test no longer works. I'll take a look and see if I can come a fix for that in a bit.

Does #2319 actually ask for mpl to be the default drawer? It asks for mpl to have colors by default... @jaygambetta?

Sorry I said that I would look at the test mocking shortly and completely forgot about it. But, as I remembered to fix the tests again I started thinking more about this change and I wonder if we really want to do this. I have a couple of concerns, the first being we've defined the visualization interface as stable and changing the default behavior would break that (existing users with mpl installed correctly would have draw calls change). For example, a code snippet I've seen a bunch of places is something like:
qc = QuantumCircuit(1)
qc.x(0)
print(qc.draw())

(which honestly I don't understand because you can just do print(qc), but people seem to like it) If people are using that script they could potentially going from working as expecting and printing the actual circuit with the text drawer to printing Figure(334.444x108.694). The other concern is the use of fallbacks by default. We had this before when it was just latex and mpl and decided to change that because it was too surprising for users. When they called the circuit_drawer() they didn't know which backend they were going to get and we wanted a more predictable interface for users. While this isn't the same type of fallback (since it's based on an ImportError instead of a runtime error) I do think the same concerns still apply. For example if we consider the same example above when copying it between 2 machines it could potentially behave differently (going from mpl to text or vice versa).

The stated goal is to have parity between qiskit and the IQX qiskit installations.  The latter having 'mpl' set by default in order to match the circuit composer.  Thus we want an user, by default, to have the niceties of the mpl backend if available.

Should we close this?
My main concern is speed. For a 20 q circuit, mpl takes a couple seconds to render, whereas text is almost instantaneous.

I will just close this


Improve installing extensions while syncing

Settings Sync currently downloads one extension at a time. For people with tons of extensions, this takes forever.
My idea is that Settings Sync could download multiple extensions at once, dramatically speeding up things like Codespaces.

Extensions are installed in bulk now


Problem building with Piranha

Hi! I'm trying to build symengine.py with symengine built against piranha on OS X 10.11 El Capitan. Although symengine itself builds fine, I hit this issue when building symengine.py (both v0.2.0 and the git master branch):
In file included from /Users/jp/Programs/GitHub/Spack/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/symengine-develop-t5qygkkgym536nmvw6wnblly6pdyi55p/include/symengine/mp_wrapper.h:4:
/Users/jp/Programs/GitHub/Spack/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/symengine-develop-t5qygkkgym536nmvw6wnblly6pdyi55p/include/symengine/symengine_rcp.h:378:20: error: no matching constructor for initialization of 'const SymEngine::Integer'
    return rcp(new T(std::forward<Args>(args)...));
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/folders/lc/b4bjrtcn69d279m6rf4f42y00000gn/T/jp/spack-stage/spack-stage-bFCR0D/symengine.py-0.2.0/symengine/lib/symengine_wrapper.cpp:20451:105: note: in instantiation of function template specialization 'SymEngine::make_rcp<const SymEngine::Integer, int &>' requested here
    __pyx_v_self->__pyx_base.__pyx_base.thisptr = ((SymEngine::RCP<SymEngine::Basic const > )SymEngine::make_rcp<const SymEngine::Integer>(__pyx_v_i_));
                                                                                ^
/Users/jp/Programs/GitHub/Spack/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/symengine-develop-t5qygkkgym536nmvw6wnblly6pdyi55p/include/symengine/integer.h:17:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const SymEngine::Integer' for 1st argument
class Integer : public Number
      ^
/Users/jp/Programs/GitHub/Spack/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/symengine-develop-t5qygkkgym536nmvw6wnblly6pdyi55p/include/symengine/integer.h:208:17: note: candidate constructor not viable: no known conversion from 'int' to 'integer_class' (aka 'mp_integer<>') for 1st argument
inline Integer::Integer(integer_class i_) : i{std::move(i_)}

Build log attached. Note: I've had success in building symengine.py without piranha support activated in symengine.

@jppelteret thanks for the bug report! I wonder if we initialize the integer in symengine.py in a way that is not tested in symengine, and it fails with piranha integer.

Thanks a lot for the bugfix!


Create Design for Members Section

Description
 Create a design for Members section . Kindly go through the website  and make this in accordance with the present theme. The members section should contain the cards/details of the members of particular community. You should also make a design for mobile version.
Screenshots/testimonials

@hariom1625 want to go for it?

IMO we should ask @tusharjain0022 and @EricLiclair if they have any idea for the design of the member's section !!
Once the design will be finalized I will go for its implementation :-)

@EricLiclair was certainly working on one design. There was some confusion as to which members do we have to include to represent a community. We don't want to repeat members in the members page but we have to render them on two separate community page.
Apart from that, it is pretty straightforward.


Kill spawned process

Hi :-)
Basically, what I want to do is to kill the current process and spawn a new one.  Is there a way to kill (or "replace") the process spawned by helpers.exec()?
Thanks!

Hi @halohalospecial :)
I'm afraid that's not possible yet, is there any particular reason you want to terminate the previous process? Because at the moment if you spawn a process with helpers.exec(), the base linter will simply ignore the previous invocation's results and use the latest

Hi,
I'm linting on the fly, and want to kill the first process when I need to lint again (since the result of the first will not be applicable anymore).  It's mostly optimization, I guess, but not a showstopper.  Thanks for the quick response!

kill() method has been added in<EMAIL_ADDRESS>and will be available in<EMAIL_ADDRESS>(will be released soon).
Also note that any new atom-linter installation will automatically include that newer sb-exec version


GitHub now has custom properties for repos

GitHub now has custom properties for repos in an org. It might be nice to support custom properties in place of (or in addition to) repository topics.
https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization

oh yeah, the topics are getting clunky because of this action. Great idea!
hope anyone can contribute that


Hoist collapse shape out of scf.forall when possible and expand its destination

This pattern allows to hoist out collapse shape producer of tensor.parallel_insert_slice and expand the enclosing scf.forall destination. This is only safe because we are doing this on workgroup mapped sc.forall's and hence the slices are disjoint. The reason to have this pattern is that it allows us to eliminate empty tensors during bufferization which would otherwise be blocked due to the collapse.

Hmm, looks like punet fails to compile with this. I think it must be one of the conv dispatches (because nothing else uses this pass), but it seems a bit strange to me that this is causing a compilation failure.

Yeah thats a bummer, one thing I can try is to see if CI passes when I disable multi-result, if thats the case then the issue might be that the getTiedResult function assumes the multiple parallel_insert_slice are ordered in the same way as the results.

One way to fix this would be to check that the consumer of the scf.forall is a flow.dispatch.tensor.store with a full slice (i.e., zero offsets, unit strides, and source_size == target_size). This is making the pattern even more specific, but it is already quite specific, so maybe it is okay for now.

One way to fix this would be to check that the consumer of the scf.forall is a flow.dispatch.tensor.store with a full slice (i.e., zero offsets, unit strides, and source_sizes == target_sizes). This is making the pattern even more specific, but it is already quite specific, so maybe it is okay for now.

Makes sense, I guess theoretically it should be possible to support this?
flow.dispatch.tensor.store %20#1, %7, offsets = [0, 1, 0, 1, 0, 0], sizes = [2, 128, 8, 16, 20, 16], strides = [1, 1, 1, 1, 1, 1] : tensor<2x128x8x16x20x16xf16> -> !flow.dispatch.tensor<writeonly:tensor<2x128x8x16x20x16xf16>

Following up here from a discussion with Nirvedh offline. We are going with the solution I proposed here: https://github.com/iree-org/iree/pull/19044#issuecomment-2470913415
As long as the convolution has a consumer in the dispatch, then the pipeline should be able to handle not hoisting the collapse_shape when the dispatch.tensor.store has offsets (when a pad consumer has been fused). If there is no consumer, and the result of the convolution is directly stored with some offsets, then this will cause problems, but I don't think it is a case that is likely to be seen. There is typically an operation between convolutions and pads, and pad fusion does not happen by default anyway. It is a case to be aware of, but I think it is fine to proceed with this additional restriction for now.
In other words, the following case would be problematic if the pad is fused with the producer convolution:
%conv = linalg.conv_2d_nhwc_hwcf ...
%pad = tensor.pad %conv ...

However, this seems like an uncommon case, and pad fusion only happens with aggressive fusion anyway.


Moved projects to other folders

Everything is tested and works fine.

@HughPH Hey
I also want to make cleaner code in the Box2D.NetStandard project, as I did yesterday. This will be another PR.
And things like this: ttps://github.com/benzuk/box2d-netstandard/blob/master/src/box2dx/Box2D.NetStandard/Dynamics/World/World.cs#L1084
Will be fixed. The break should be inside the brackets.

And things like this:
https://github.com/benzuk/box2d-netstandard/blob/master/src/box2dx/Box2D.NetStandard/Dynamics/World/World.cs#L1084
Will be fixed. The break should be inside the brackets.

The break is outside the brackets in the original Box2D code! It's something I noticed and didn't get round to changing.
We have two ConsoleApps, both just drop a ball but one was to step through code. I think both are useless. I'm happy that the unit tests already cover that quite well.

And things like this:
https://github.com/benzuk/box2d-netstandard/blob/master/src/box2dx/Box2D.NetStandard/Dynamics/World/World.cs#L1084
Will be fixed. The break should be inside the brackets.

The break is outside the brackets in the original Box2D code! It's something I noticed and didn't get round to changing.
We have two ConsoleApps, both just drop a ball but one was to step through code. I think both are useless. I'm happy that the unit tests already cover that quite well.

So it's okay to keep the break out of brackets? Let's agree - I won't make logical changes. I won’t touch anything except the code style (long lines, etc.), spaces, empty lines, etc. Does that sound good?
I'll remove ConsoleApp now.

@HughPH BTW - FYI: If you need, I created a small library for use in my server-side project:
https://github.com/benzuk/maple-fighters-server/tree/develop/lib/physics/box2d (Available as NuGet Package)
Maybe I will add this library for use in this repository. :)

@benzuk

So it's okay to keep the break out of brackets? Let's agree - I won't make logical changes. I won’t touch anything except the code style (long lines, etc.), spaces, empty lines, etc. Does that sound good?

break outside brackets will work. The case statement without any brackets will work, too.
Feel free to make whatever changes you want - just make sure the unit tests pass :) Ideally, check that what you want to change is covered by unit tests. If not, create a unit test which covers it, then make changes.

@benzuk

So it's okay to keep the break out of brackets? Let's agree - I won't make logical changes. I won’t touch anything except the code style (long lines, etc.), spaces, empty lines, etc. Does that sound good?

break outside brackets will work. The case statement without any brackets will work, too.
Feel free to make whatever changes you want - just make sure the unit tests pass :) Ideally, check that what you want to change is covered by unit tests. If not, create a unit test which covers it, then make changes.

Gotcha. Thanks man!


statfs support subdir based on dir quota

Codecov Report
Patch coverage: 72.05% and project coverage change: +0.10 :tada:

Comparison is base (75643f7) 55.06% compared to head (1f4f00e) 55.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3393      +/-   ##
==========================================
+ Coverage   55.06%   55.17%   +0.10%
==========================================
  Files         148      148
  Lines       36123    36181      +58
==========================================
+ Hits        19892    19962      +70
+ Misses      14079    14050      -29
- Partials     2152     2169      +17

Impacted Files
Coverage Δ

cmd/destroy.go
16.96% <0.00%> (ø)

cmd/status.go
44.55% <0.00%> (ø)

pkg/meta/interface.go
55.00% <ø> (ø)

pkg/meta/base.go
64.89% <72.13%> (+0.40%)
:arrow_up:

cmd/config.go
65.27% <100.00%> (ø)

pkg/fs/fs.go
74.94% <100.00%> (+1.64%)
:arrow_up:

pkg/usage/usage.go
77.50% <100.00%> (ø)

pkg/vfs/backup.go
61.94% <100.00%> (ø)

pkg/vfs/vfs_unix.go
91.24% <100.00%> (ø)

... and 7 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Center bounding box automatically when new datasets are added

One of the main issues we've found with the usability tests is that our users expected the bounding box to center on the geometries when they add new layers to their maps. And it makes sense. Is this something feasible enough?

It should be feasible, or at least that's how the "Center map" button works inside a layer
/cc @ivanmalagon

in production 🚀


[#3002] fix(jdbc-mysql): Fix MySQL list tables bugs.

What changes were proposed in this pull request?
Set the connection database to the database passed by the method when getting the JDBC connection.
Why are the changes needed?
connection.getSchema() is null for MySQL and thus will cause the problem that list operation will get all tables in the MySQL instance NOT a specific database.
Fix: #3002
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
New UT was added.

Do we have a similar problem in PG and Doris?

Do we have a similar problem in PG and Doris?

Yes,  I have checked, the changes in the PR is in the module jdbc-common and will fix a similar issue in all JDBC catalogs.

@yuqi1129 can you please move forward this PR?

@yuqi1129 can you please move forward this PR?

Yeah, A related PR has just been merged, I will rebase it soon.

@danhuawang
Could you kindly verify if the performance has returned to normal since today? It seems that this issue has been resolved by https://github.com/datastrato/gravitino/pull/3316.

@danhuawang confirmed that the problem has been resolved by #3316 and the PR will be temporarily closed.


Autosave?

Hello,
Thank you for this cool mail client.
One feature that I'm missing though is autosave. Gmail for example saves messages, as soon as I write something, into the draft folder - so that whatever happens, no text gets lost. Could this be added?
Thanks :)

Thats already working for me. Draft is saved to the defined draft folder after a couple of seconds. I would guess taht this is repeated every minute or so.

Oh okay, I didn't recognize that in the demo. An option in the settings to set autosave to every second would be really nice.

An option in the settings to set autosave to every second would be really nice.

This is overkill. A minute is more than fine.
An option to automatically save drafts (or not) is already present in the latest version.
If it solves your issue, please close it.


Docker push fails when I try to upload 556.1 MB image to my local repository via dcocker-client API

Docker push fails when I try to upload 556.1 MB image to my local repository via dcocker-client API. I can upload the same image via my docker CLI without any issue but it takes time.
I think docker-client times out before the upload complete and give error to the application.
Is there any way to increase the docker-client timeout.
Thanks,
Deependra.

The timeout for image push is by default 10 mins: https://github.com/fabric8io/docker-client/blob/6caffcf6b946b8b149c0ab44fbe165fa09386274/client/src/main/java/io/fabric8/docker/client/Config.java#L99
It can be changed globally in the Config object with code like:
     Config config = new ConfigBuilder()
            .withDockerUrl(dokcerHost)
            .withImagePushTimeout(customTimeout)
            .build();

    DockerClient client = new DefaultDockerClient(config);

I increased  ConnectionTimeout, RequestTimeout and PushTimeout but still API time out around 60 seconds.
Config config = new ConfigBuilder()
.withMasterUrl(DockerOpClientConstants.DEFAULT_DOCKER_URL)
.withConnectionTimeout(10601000)
.withRequestTimeout(10601000)
.withImagePushTimeout(10601000)
.build();

Can you please provide a stack trace?

No stack trace. Just onError triggers without any message.

There was an issue in my system.
Suggested code works.

That's great to hear!


Linux Binary GLIBC_2.32 error with Ubuntu 20.04LTS

When:
./ipfs-sync
it returns:
./ipfs-sync: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./ipfs-sync)
I searched for this error and it seems very hard/impossible to have GLIBC_2.32 for Ubuntu 20.04, some users recommends to upgrade to 20.10 to have GLIBC_2.32 support. Since 20.10 is not LTS I don't use it for a server. Possibly we can have Ubuntu 20.04 support for the Linux binary? Thank you.

@jurjendevries does this binary work better? Should be statically linked. ipfs-sync-noc.zip

@TheDiscordian Hi, yes this seems to be error free. Thank you.


Check retryable exceptions

There are some exceptions (i.e. 403, with reason "rateLimitExceeded") currently unlisted which may be retryable.  We should check best practices with the Cloud Resource Manager team.

Closed by #491


How do can I use multiple pallets

I want to use multiple pallets for a problem statement, what changes should I make to config python file?

Hi,
Thanks for opening the issue. If by "pallet" you mean "bin", then the solver automatically handles creating multiple bins depending on the products you're using and the layers that were generated by the tool. If by "pallet" you mean something else, such as how to arrange bins so that they occupy the least amount of space, then this is probably not supported. If you elaborate I can further help.
Best,
Alessio.

Thank you for the reply Alessio Falai , to explain my question, Lets use this as an example : I have 20 pallets already loaded and ready to go to container, how do I optimise their placement inside the container. Is it possible to do so?

It is possible, but it's not a functionality currently supported by this library unfortunately.

Got it, will try the maxrects generalized to 3D and try to find a way for my problem, thanks for the reply, Cheers


upload_to_play_store_internal_app_sharing not sending bundle

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

When running
fastlane run upload_to_play_store_internal_app_sharing aab:"path/to/bundle.aab" json_key:"path/to/key.json" everything seems to run smoothly and the command returns
Successfully uploaded AAB to Internal App Sharing URL: https://play.google.com/apps/test/[...]
However following the link returns a 404, and visiting the internal app sharing page in the play console doesn't show any uploaded build.
Uploading builds to internal lanes works fine, and uploading builds to internal app sharing manually through the play console works fine too.
The fastlane user has a release manager permissions level.
Command executed

fastlane run upload_to_play_store_internal_app_sharing aab:"android/app/build/outputs/bundle/release/app-release.aab" json_key:"android/play_console.json"
Complete output when running fastlane, including the stack trace and command used

 [[✔] 🚀
+----------------------------+---------+-------------------------------------------------------------------------------------+
|                                                        Used plugins                                                        |
+----------------------------+---------+-------------------------------------------------------------------------------------+
| Plugin                     | Version | Action                                                                              |
+----------------------------+---------+-------------------------------------------------------------------------------------+
| fastlane-plugin-versioning | 0.4.0   | get_version_number_from_git_branch increment_build_number_in_xcodeproj              |
|                            |         | get_version_number_from_plist get_build_number_from_plist ci_build_number           |
|                            |         | get_version_number_from_xcodeproj increment_version_number_in_xcodeproj             |
|                            |         | increment_version_number_in_plist get_app_store_version_number get_info_plist_path  |
|                            |         | get_build_number_from_xcodeproj increment_build_number_in_plist                     |
+----------------------------+---------+-------------------------------------------------------------------------------------+
12:38:56: --- Step: upload_to_play_store_internal_app_sharing ---
12:38:56: -------------------------------------------------------
12:38:56: To not be asked about this value, you can specify it using 'package_name'
12:38:56: The package name of the application to use: [redacted]
[12:44:00]: Successfully uploaded AAB to Internal App Sharing URL: https://play.google.com/apps/test/[redacted]
[12:44:00]: Result: https://play.google.com/apps/test/[redacted]
+------------+--------------+----------------+
|          Plugin updates available          |
+------------+--------------+----------------+
| Plugin     | Your Version | Latest Version |
+------------+--------------+----------------+
| versioning | 0.4.0        | 0.4.2          |
+------------+--------------+----------------+
[12:44:00]: To update all plugins, just run
[12:44:00]: $ bundle exec fastlane update_plugins

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.14.6

Ruby
2.6.3

Bundler?
true

Git
git version 2.23.0

Installation Source
~/.rvm/rubies/ruby-2.6.3/bin/fastlane

Host
Mac OS X 10.14.6 (18G87)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.6.3/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.2.1

System Locale

Variable
Value

LANG
en_GB.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
MY_APP_ID = "[App ID]"
MY_APP_STAGING_ID = "[App ID]"
MY_PROFILE = "match AppStore [App ID]"
MY_STAGING_PROFILE = "match AppStore [App ID]"
MY_TEAM = "[Team ID]"

platform :ios do
  before_all do
    ENV["SLACK_URL"] = "..."
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a staging build to Testflight"
  lane :staging do
    setup_circle_ci
    match(
      app_identifier: MY_APP_STAGING_ID,
      type: "appstore",
      git_url: "[certificates URL]",
      readonly: true
    )
    # set env vars
    set_info_plist_value(
      path: "ios/App/Info.plist",
      key: "CFBundleDisplayName",
      value: "App Staging"
    )
    build_no = ENV["CIRCLE_BUILD_NUM"]
    increment_build_number(
      build_number: build_no,
      xcodeproj: "ios/App.xcodeproj",
    )
    settings_to_override = {
      "-UseNewBuildSystem": "NO",
      :BUNDLE_IDENTIFIER => MY_APP_STAGING_ID,
      :PROVISIONING_PROFILE_SPECIFIER => MY_STAGING_PROFILE,
      :DEVELOPMENT_TEAM => MY_TEAM
    }
    gym(
      workspace: "ios/App.xcworkspace",
      scheme: "App",
      sdk: "iphoneos13.2",
      clean: true,
      silent: false,
      xcargs: settings_to_override,
      export_method: "app-store",
      export_options: {
        provisioningProfiles: {
          MY_APP_STAGING_ID => MY_STAGING_PROFILE
       }
      }
    )
    pilot(
      skip_waiting_for_build_processing: true
    )
    slack(
     message: "New staging build uploaded to TestFlight (Staging) - build " + build_no.to_s
    )
  end

  desc "Submit a new production Build to TestFlight"
  lane :production do |options|
    setup_circle_ci
    match(
      app_identifier: MY_APP_ID,
      type: "appstore",
      git_url: "[Certificates URL]",
      readonly: true
    )
    update_app_identifier(
      xcodeproj: "ios/App.xcodeproj",
      plist_path: "App/Info.plist",
      app_identifier: MY_APP_ID
    )
    build_no = ENV["CIRCLE_BUILD_NUM"]
    increment_build_number(
      build_number: build_no,
      xcodeproj: "ios/App.xcodeproj"
    )
    increment_version_number_in_plist(
      bump_type: options[:build_type],
      xcodeproj: "ios/App.xcodeproj",
      target: "App"
    )
    settings_to_override = {
      "-UseNewBuildSystem": "NO",
      :BUNDLE_IDENTIFIER => MY_APP_ID,
      :PROVISIONING_PROFILE_SPECIFIER => MY_PROFILE,
      :DEVELOPMENT_TEAM => MY_TEAM
    }
    gym(
      workspace: "ios/App.xcworkspace",
      scheme: "App",
      sdk: "iphoneos13.2",
      clean: true,
      silent: false,
      xcargs: settings_to_override,
      export_method: "app-store",
      export_options: {
        provisioningProfiles: {
          MY_APP_ID => MY_PROFILE,
        }
      }
    )
    pilot(
      skip_waiting_for_build_processing: true
    )
    branch_name = ENV["CIRCLE_BRANCH"]
    sh("git", "branch", "--set-upstream-to=origin/#{branch_name}")
    git_pull
    git_commit(path: "./ios/**/*.plist", message: "Bump ios version [ci skip]", skip_git_hooks: true)
    push_to_git_remote
    slack(
     message: "New app update uploaded to TestFlight (Production) - build " + build_no.to_s
    )
  end
end

platform :android do
  before_all do
    ENV["SLACK_URL"] = "[Slack URL]"
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a staging build to the Play Console"
  lane :staging do
    build_no = ENV["CIRCLE_BUILD_NUM"]
    gradle(task: 'clean', project_dir: 'android/')

    gradle(task: 'bundle', build_type: 'Release', project_dir: 'android/')

    # supply(track: 'internal', track_promote_to: 'internal', json_key: 'android/play_console.json', package_name: '[Package ID]')

    download_link = upload_to_play_store_internal_app_sharing(package_name: '[Package ID]', json_key: 'android/play_console.json')

    slack(
     message: "New staging build uploaded to the Play Store (Internal) - build " + build_no.to_s,
     attachment_properties: {
       title: "Click to download build",
       title_link: download_link
     }
    )
  end

  desc "Increments build number and send a prod build to the play console"
  lane :production do |options|
    build_no = ENV["CIRCLE_BUILD_NUM"]
    gradle(task: 'clean', project_dir: 'android/')
    gradle(task: 'bundle', build_type: 'Release', project_dir: 'android/', flags: "-Pbuild_type=" + options[:build_type])
    supply(track: 'beta', track_promote_to: 'beta', json_key: 'android/play_console.json', package_name: '[Package ID]')
    branch_name = ENV["CIRCLE_BRANCH"]
    sh("git", "branch", "--set-upstream-to=origin/#{branch_name}")
    git_pull
    git_commit(path: ['./android/gradle.properties'], message: 'Bump android version code and name [ci skip]')
    push_to_git_remote
    slack(
     message: "New prod build uploaded to the Play Store (Beta) - build " + build_no.to_s
    )
  end
end

`./fastlane/Appfile`
# app_identifier "" # The bundle identifier of your app
apple_id "" # Your Apple email address
team_id "" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md
for_platform :ios do
  for_lane :prod do
    app_identifier ''
  end
  for_lane :staging do
    app_identifier ''
  end
end

fastlane gems

Gem
Version
Update-Status

fastlane
2.143.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-versioning
0.4.0
🚫 Update available

Loaded gems

Gem
Version

did_you_mean
1.3.1

executable-hooks
1.6.0

bundler-unload
1.0.2

rubygems-bundler
1.4.5

bundler
2.0.2

CFPropertyList
3.0.2

public_suffix
2.0.5

addressable
2.7.0

atomos
0.1.3

aws-eventstream
1.0.3

aws-sigv4
1.1.1

jmespath
1.4.0

aws-sdk-core
2.11.460

aws-sdk-resources
2.11.460

aws-sdk
2.11.460

babosa
1.0.3

claide
1.0.3

colored2
3.1.2

cork
0.3.0

nap
1.1.0

open4
1.3.4

claide-plugins
0.9.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

multipart-post
2.0.0

faraday
0.17.3

faraday-http-cache
2.0.0

git
1.5.0

kramdown
2.1.0

kramdown-parser-gfm
1.1.0

no_proxy_fix
0.1.2

sawyer
0.8.2

octokit
4.14.0

unicode-display_width
1.6.1

terminal-table
1.8.0

danger
6.1.0

dotenv
2.7.5

emoji_regex
1.0.1

excon
0.72.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

jwt
2.1.0

memoist
0.16.2

multi_json
1.14.1

os
1.0.1

signet
0.13.0

googleauth
0.11.0

httpclient
2.8.3

mini_mime
1.0.2

declarative
0.0.10

declarative-option
0.1.0

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.36.4

digest-crc
0.5.1

google-cloud-env
1.3.1

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

google-cloud-storage
1.25.1

json
2.3.0

mini_magick
4.10.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.3.0

security
0.1.3

naturally
2.2.0

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.2.6

xcodeproj
1.15.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

danger-device_grid
0.2.0

fastlane-plugin-versioning
0.4.0

generated on: 2020-03-10

Hi. I'm having the same exact problem. Did you found a solution? Thanks

@andrewhavens Could you please check this action? I have an issue on this action too everything is ok, but the following link is error 404

@MaoChhaya We’ve been using this action to successfully upload APKs (not bundles) so I’m not sure if anything needs to change specific to bundles.

@MaoChhaya @andrewhavens we have been using this action for a while on our Jenkins job and we upload a bundle. The funny thing is, the url on the Jenkins console opens a 404 page, but, since we are sending automatically that url to the team slack, that url (opened from slack) works. Go figure!

Thank @andrewhavens and @ramirosilva1992 it works file both APKs and AAB(bundles). I didn't configure user access to the internal sharing app that's why I got status 404.

@andrewhavens https://github.com/andrewhavens   @ramirosilva1992
https://github.com/ramirosilva1992 Respected sir,
Since one week i am working in fastlane screengrab, i have worked with most
of the tools in fastlane like match, deliver, supply, etc., but this
screengrab is bothering me alot. I have followed the complete fastlane
screengrab documentation and also the github issues but i can't solve my
screengrab issue. I have raised the issue in github, the link is as
follows, I hope you will help me to solve this problem as soon as possible.
i will be waiting for your reply sir, please do consider my request
https://github.com/fastlane/fastlane/issues/16580
In advance thankyou sir
Regards
Sanjana V
In advance thankyou sir
On Mon, Jun 8, 2020 at 10:12 PM MaoChhaya<EMAIL_ADDRESS>wrote:

Thank @andrewhavens https://github.com/andrewhavens and @ramirosilva1992
https://github.com/ramirosilva1992 it works file both APKs and
AAB(bundles). I didn't configure user access to the internal sharing app
that's why I got status 404.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/16154#issuecomment-640742131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONJEDMNGHSZDLKHSL3OMBTRVUIFZANCNFSM4LE6E7JQ
.

Am still facing the same issue.


What caused the performance issues for the sap.ui.core.XMLComposite

Hello,
as per this answer, "major performance issues" were the reason that got the sap.ui.core.XMLComposite class deprecated. Is it possible to shed a little more light on this? What  exactly causes the issues, is usage of this control somewhat still safe if some guidelines are adhered?
Thanks

My use case: 1.96 OpenUI5 App; the XMLComposite control contains a big-ish sap.ui.layout.form.Form with a lot of inner dependencies between the FormElements

Hello @,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,

Hello @dfenerski,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Nayden

Any info on this?

Well, it was not only about performance. But let’s start with that one:
Performance
The main problem is with the ManagedObjectModel (MOM) which is used by the XMLComposite to connect its façade with the internals. The MOM introduces another layer of data binding (with two layers of events and listeners). When used in a fine-grained way (small composite controls), we observed a significant performance penalty through these additional layers. When used in a less fine-granular way, the performance of the MOM degrades, too as it installs many change listeners in larger control trees. This, btw, are not theoretical considerations. An early iteration of the sap.ui.mdc library (long before it went open source), heavily used XMLComposites and then ran into these issues. Most of the controls had to be re-implemented as “standard” composites to address the issues.
Synchronous Loading
As the XMLComposite is a control and as controls in UI5 are created synchronously via constructor, the XMLComposite uses synchronous processing of the fragment to build its control tree. This does not work well with strong Content Security Policies (CSPs). Currently, library preloads address this, but we also try to stay CSP compatible in single requests scenarios (thinking into the direction of http2 / http3 and smaller, portioned bundles or for Hybrid container apps). Making the XMLComposite compliant with such scenarios either would result in async control tree creation (causing a bad flickering “Web 2.0” experience) or would require additional investment in some kind of an async construction mechanism (like we have it for views and fragments).
XMLView Caching
The XMLComposite implements its dynamic aspects only after instantiating the control (as it loads the fragment only during construction to assign instance-specific IDs and as the MOM only works on controls). This prevents it from benefitting from the XMLView caching, which has to happen before controls are instantiated. As a result, the dynamic aspects have to be processed each time again, although in many cases (e.g. when based on model metadata) at least parts of it should be cacheable.
Complexity / Supportability
Additionally, the XMLComposite together with the MOM introduces a complexity that is hard to handle for developers. It’s hard to understand what’s going on, it’s hard to debug.
So from our point of view, the XMLComposite has several pain points. For sure, we could invest in each of them and try to find solutions. But in sum, there have been too many topics (esp. taking our limited capacity into account). Plus, there are alternative approaches. Scenarios, that don’t require the complexity of the MOM can use fragments; the Fiori Elements stack V4 (aka sap.fe) introduced another approach called macros (or, meanwhile building blocks) that are resolved at templating time and therefore perfectly integrate with XMLView caching). We had many controversial discussions before deciding, as we’re well aware of the need for and the benefits of a declarative approach for composites. But the need for significant investments in multiple areas on the other side or the risk of getting many customer incidents if the XMLComposite is used "as is" more widely, together with the existence of established alternatives finally made us decide for the deprecation.
Last but not least, we hope to revisit the topic of declarative composites again in future, but maybe with a rather build-time centric approach.


Playing large files in player doesnt start when scheduled (e.g 10mb)

Sorry, this is a bit how to, but I'm struggling getting large files to play at the right time. Admittedly, I kinda expected that might be the case, but I'm wondering what the best way around it is.
My scenario is as follows -
A musical journey that can play two samples during each section of music (sometimes on loop and sometimes not), then the next section will play a new section of music, but if the previous section is still playing it should end gracefully i.e. get to the end and not cut off. So with a total of 18 sections - that gives 36 samples.
Currently I have two players, which were being reused for each section, but if i have samples that need to carry on for longer than their section, so that they finish properly, I'm going to need a pool of players I think. But looking at the Players object, you seem to have to load all the URLs at the start? If I have 36 samples, is that going to work? My Java head is thinking I have an array of Player objects (say 10), and every time I get to a new section I .find() a player that is currently 'started'. Would that be a performant way to proceed?
Also, when the section sample is large, it isn't starting in time to play at the start of the section (when using the transport scheduling). Should I be preloading using buffers i.e. does that actually load the whole files in memory? That could get rather large with 18 x 2 samples (36).
Thanks for the great library, it has really helped loads. And sorry this is just asking for advice (again).

Preload all samples with the Players object, then play the samples. Your scenario shouldn't be a problem for ToneJS.

Thanks @dirkk0 I agree it seems like the delay is caused by waiting for the sample to load and not anything Tone.js related. Please send a test-case if it does seem like a Tone.js issue.
If you have many samples, i would recommend loading them just-in-time. Knowing exactly when to load them to avoid loading delays while not keeping too many audio files in memory is a complex balance.