Some ideas for implement

Hi, in this issue i try to describe my ideas.

copy kubectl to config dir, near admin.conf.
by default disable dashboard, and install dashboard using helm provider, and configure after install. I think need install all addons with helm, such as registry, metrics_server.
use metallb for cluster balancer.

Hi, thank you for your ideas, I will try to shortly explain why I'm for or against each one:

Could you provide some arguments why that would be useful? admin.conf should be anyway moved to ~/.kube directory or referenced with environment variable.
I agree that the dashborad should be disabled by default. I will do that shortly and provide an option to enbale it via terraform vars. Since there are so many ways to configure it, I probably won't make any implementation of it (for now). Current dashborad was ment for testing only.
MetalLB would be a great addition to the script. I will certently implement it in the future, but to make some sort of general solution it would take me quite some time, which I currently don't have, but I'm planning to add it within a few months.

I will keep your suggestions in mind and am opened for any new ideas you might have.

Hi, thank you for your ideas, I will try to shortly explain why I'm for or against each one:

Could you provide some arguments why that would be useful? admin.conf should be anyway moved to ~/.kube directory or referenced with environment variable.
I agree that the dashborad should be disabled by default. I will do that shortly and provide an option to enbale it via terraform vars. Since there are so many ways to configure it, I probably won't make any implementation of it (for now). Current dashborad was ment for testing only.
MetalLB would be a great addition to the script. I will certently implement it in the future, but to make some sort of general solution it would take me quite some time, which I currently don't have, but I'm planning to add it within a few months.

I will keep your suggestions in mind and am opened for any new ideas you might have.

Kubespray has kubeconfig_localhost and kubectl_localhost settings for copy admin.conf and kubectl files. And I think the best way - forward this option from terraform.tfvars. I want after install move admin.conf to ~/.kube and kubectl to ~/bin.

Kubespray has kubeconfig_localhost and kubectl_localhost settings for copy admin.conf and kubectl files. And I think the best way - forward this option from terraform.tfvars. I want after install move admin.conf to ~/.kube and kubectl to ~/bin.

I agree, that would be the best way to do it, but I'm afraid that it could result in overwriting files with the same name.
For example, If you would like to run multiple clusters, when the first cluster is created admin.conf would be moved to ~/.kube folder, but when the second cluster is created admin.conf could be potentinaly overwriten with the kubeconfig of the second cluster.
That's the reason why I'm avoiding to touch any data outside script's directory.
One solution to this problem could be to name admin.conf file diffrently. For example by adding additional terraform variable for kubeconfig name or to use vm_name_prefix variable for it, which would result in an error if the vm with the same name is being created. Consequently kubeconfig file won't be created beacuse script won't reach that part of the code.
Another solution would be to make copying/moving kubeconfig to ~/.kube directory optional (similar to what we did before for known_hosts).

I agree, that would be the best way to do it, but I'm afraid that it could result in overwriting files with the same name.
For example, If you would like to run multiple clusters, when the first cluster is created admin.conf would be moved to ~/.kube folder, but when the second cluster is created admin.conf could be potentinaly overwriten with the kubeconfig of the second cluster.
That's the reason why I'm avoiding to touch any data outside script's directory.
One solution to this problem could be to name admin.conf file diffrently. For example by adding additional terraform variable for kubeconfig name or to use vm_name_prefix variable for it, which would result in an error if the vm with the same name is being created. Consequently kubeconfig file won't be created beacuse script won't reach that part of the code.
Another solution would be to make copying/moving kubeconfig to ~/.kube directory optional (similar to what we did before for known_hosts).

You can make simple. Add resource "null_resource" "kubectl_binary" which copy kubectl to config/kubectl from master node. After kubespray_create show formated message like

Copy atrifacts after deployment:
mkdir ${HOME}/.kube/
cp `PWD`/config/kubectl ${HOME}/bin/kubectl
cp `PWD`/config/admin.conf ${HOME}/.kube/config

You can add simple logic - install addons without configuring, only use helm provider for install helm charts. And may be add simple hooks after install chart. For example, after install dashboard search file scripts/dashboars.sh for executing with content:

#!/bin/bash
USER=baka
SPACE=kube-system

echo "Create a new account"
kubectl -n ${SPACE} create serviceaccount ${USER} >/dev/null 2>&1
echo "Add permissions to account"
kubectl create clusterrolebinding ${USER}-cluster-admin --clusterrole=cluster-admin --serviceaccount=${SPACE}:${USER} >/dev/null 2>&1
echo "Print token"
kubectl -n ${SPACE} describe secret $(kubectl -n ${SPACE} get secret | grep ${USER}-token | awk '{print $1}') | awk '$1=="token:"{print $2}'

You can make simple. Add resource "null_resource" "kubectl_binary" which copy kubectl to config/kubectl from master node. After kubespray_create show formated message like

Copy atrifacts after deployment:
mkdir ${HOME}/.kube/
cp `PWD`/config/kubectl ${HOME}/bin/kubectl
cp `PWD`/config/admin.conf ${HOME}/.kube/config

You can add simple logic - install addons without configuring, only use helm provider for install helm charts. And may be add simple hooks after install chart. For example, after install dashboard search file scripts/dashboars.sh for executing with content:

#!/bin/bash
USER=baka
SPACE=kube-system

echo "Create a new account"
kubectl -n ${SPACE} create serviceaccount ${USER} >/dev/null 2>&1
echo "Add permissions to account"
kubectl create clusterrolebinding ${USER}-cluster-admin --clusterrole=cluster-admin --serviceaccount=${SPACE}:${USER} >/dev/null 2>&1
echo "Print token"
kubectl -n ${SPACE} describe secret $(kubectl -n ${SPACE} get secret | grep ${USER}-token | awk '{print $1}') | awk '$1=="token:"{print $2}'

Hi,
I disabled dashboard by default trough Kubespray addons and also managed to check MetalLB integration which I pushed in integration-metallb branch.
Currently only layer2 protocol can be configured but I'm also looking forward to make a (virtual) solution for BGP protocol, which requires BGP enabled router.
If you have any suggestions how to integrate MetalLB with BGP protocol, please let me know.
There is also an option for custom addons.yml so that all Kubespray addons can be used until I slowly implement them into script.

Hi,
I disabled dashboard by default trough Kubespray addons and also managed to check MetalLB integration which I pushed in integration-metallb branch.
Currently only layer2 protocol can be configured but I'm also looking forward to make a (virtual) solution for BGP protocol, which requires BGP enabled router.
If you have any suggestions how to integrate MetalLB with BGP protocol, please let me know.
There is also an option for custom addons.yml so that all Kubespray addons can be used until I slowly implement them into script.

Hi.
I put my example scripts in https://github.com/6aKa/kubespray-lxd.
config_machines.sh - create virtual machines with lxd, machines connected with bridge interface.
config_kubespray.sh - generate configuration for kubespray and run it.
config_cluster.sh - install dashboard with helm.
As I remember, that's all need for enable MetalLB with BGP
    sed -i -e '/metallb_enabled:/{s/^#\+\s//;s/false/true/;}' \
           -e '/metallb_ip_range:/,/metallb_version:/{/metallb_version:/!{s/^#\+\s//;}}' \
           -e '/metallb_protocol: "bgp"/{s/^#\+\s//;}' \
           -e '/metallb_peers:/{s/^#\+\s//;}' \
           -e '/metallb_peers:/a \  - peer_address: <IP_ADDRESS>\n    peer_asn: 64501\n    my_asn: 64500' \
        ${GRPV}/k8s-cluster/addons.yml

    sed -i -e '/kube_proxy_strict_arp:/{s/^#\+\s//;s/false/true/;}' \
        ${GRPV}/k8s-cluster/k8s-cluster.yml

After that on host machine i install bird for bgp - with simple configuration like this
protocol bgp uplink0 {
      description "BGP uplink 0";
      local as 64501;
      neighbor <IP_ADDRESS> as 64500;
}

Sorry no original configuration

Hi.
I put my example scripts in https://github.com/6aKa/kubespray-lxd.
config_machines.sh - create virtual machines with lxd, machines connected with bridge interface.
config_kubespray.sh - generate configuration for kubespray and run it.
config_cluster.sh - install dashboard with helm.
As I remember, that's all need for enable MetalLB with BGP
    sed -i -e '/metallb_enabled:/{s/^#\+\s//;s/false/true/;}' \
           -e '/metallb_ip_range:/,/metallb_version:/{/metallb_version:/!{s/^#\+\s//;}}' \
           -e '/metallb_protocol: "bgp"/{s/^#\+\s//;}' \
           -e '/metallb_peers:/{s/^#\+\s//;}' \
           -e '/metallb_peers:/a \  - peer_address: <IP_ADDRESS>\n    peer_asn: 64501\n    my_asn: 64500' \
        ${GRPV}/k8s-cluster/addons.yml

    sed -i -e '/kube_proxy_strict_arp:/{s/^#\+\s//;s/false/true/;}' \
        ${GRPV}/k8s-cluster/k8s-cluster.yml

After that on host machine i install bird for bgp - with simple configuration like this
protocol bgp uplink0 {
      description "BGP uplink 0";
      local as 64501;
      neighbor <IP_ADDRESS> as 64500;
}

Sorry no original configuration

I've tried that configuration earlier today but seems like I misconfigured something, as BIRD won't connect to MetalLB and vice versa.
From MetalLB perspective connection gets timed out and from BIRD's BGP is waiting for neighbor.
If I understand correctly, you connect router and cluster as 2 autonomous systems (with AS numbers 64501 and 64500), but why shouldn't it be one AS? I mean router is part of the cluster right?
Also you are connecting them trough network GW IP, so that's MetalLB and router's id?
May you open my eyes a bit by briefly explaining those things to me?
Thank you in advance.

I've tried that configuration earlier today but seems like I misconfigured something, as BIRD won't connect to MetalLB and vice versa.
From MetalLB perspective connection gets timed out and from BIRD's BGP is waiting for neighbor.
If I understand correctly, you connect router and cluster as 2 autonomous systems (with AS numbers 64501 and 64500), but why shouldn't it be one AS? I mean router is part of the cluster right?
Also you are connecting them trough network GW IP, so that's MetalLB and router's id?
May you open my eyes a bit by briefly explaining those things to me?
Thank you in advance.

You understand correctly, i use two AS.
This image from inet describe idea of two AS
https://qiita-image-store.s3.amazonaws.com/0/42829/9ddf27ad-152b-06da-319c-8907e3e1cb34.png
image from article https://qiita.com/MahoTakara/items/a33c169b210fae2e8ec9
As i remember, metallb create new network interface on virtual machine, and i used gw from this new network as router id.
May be need add passive yes; to bird configuration.
You cat write small instruction for me, i setup cluster and configure.

You understand correctly, i use two AS.
This image from inet describe idea of two AS
https://qiita-image-store.s3.amazonaws.com/0/42829/9ddf27ad-152b-06da-319c-8907e3e1cb34.png
image from article https://qiita.com/MahoTakara/items/a33c169b210fae2e8ec9
As i remember, metallb create new network interface on virtual machine, and i used gw from this new network as router id.
May be need add passive yes; to bird configuration.
You cat write small instruction for me, i setup cluster and configure.

Yeah, I would really need some help with it.
So let's imagine simple configuration with 1 master node and 2 worker nodes.

Cluster's network: <IP_ADDRESS>/24
Master node 1: <IP_ADDRESS>/32
Worker node 1: <IP_ADDRESS>/32
Worker node 2: <IP_ADDRESS>/32

MetalLB is configured in BGP mode and IP pool is <IP_ADDRESS>/28 (<IP_ADDRESS> - <IP_ADDRESS>) which is subnet of cluster's network.
MetalLB ASN is 65100
BGP router is BIRD with ASN 65000
I'm especially intrested in BIRD configuration because in my case (with configuration provided above) MetalLB can't connect to router (timeout).
MetalLB gives correct addresses to running pods and those addresses are valid within nodes (if I SSH into them) but unreachable from host.

Yeah, I would really need some help with it.
So let's imagine simple configuration with 1 master node and 2 worker nodes.

Cluster's network: <IP_ADDRESS>/24
Master node 1: <IP_ADDRESS>/32
Worker node 1: <IP_ADDRESS>/32
Worker node 2: <IP_ADDRESS>/32

MetalLB is configured in BGP mode and IP pool is <IP_ADDRESS>/28 (<IP_ADDRESS> - <IP_ADDRESS>) which is subnet of cluster's network.
MetalLB ASN is 65100
BGP router is BIRD with ASN 65000
I'm especially intrested in BIRD configuration because in my case (with configuration provided above) MetalLB can't connect to router (timeout).
MetalLB gives correct addresses to running pods and those addresses are valid within nodes (if I SSH into them) but unreachable from host.

I try write configuration without testing.
metallb_enabled: true
metallb_ip_range:
  - "<IP_ADDRESS> - <IP_ADDRESS>"
metallb_version: v0.9.3
metallb_protocol: "bgp"
metallb_peers:
  - peer_address: <IP_ADDRESS>
    peer_asn: 65000
    my_asn: 65100

router id <IP_ADDRESS>;

protocol bgp uplink0 {
      description "BGP uplink 0";
      local as 65000;
      neighbor <IP_ADDRESS> as 65100;
      # metallb nodes connect to router, router only accept connections
      passive yes;

      #if i remember filters not need, get from example
      ipv4 {
              import filter {reject;};
              export filter {accept;};
      };
}

I tried almost same configuration with MetalLB version v0.9.5 and your solution with versions from 0.9.3 - 0.9.5 and different CNI plugins. I enabled firewall for TCP port 179. Seems that problem is not related to MetalLB but to my (probalby host?) configuration.
BIRD does not add any new route and MetalLB speaker constanly logs:
{"caller":"bgp.go:59","error":"dial \"<IP_ADDRESS>:179\": timeout","localASN":65100,"msg":"failed to connect to peer","op":"connect","peer":"<IP_ADDRESS>:179","peerASN":65000,"ts":"2021-02-01T22:18:40.319399921Z"}

I captured traffic on port 179, both on nodes and on host. Packages actually reach host but they don't seem to reach BIRD.
Could you maybe test the same configuration using this script? If it would work for you than I would expand it with BGP option so that others can use it.

No problem.
Can you write small instruction for that? like this
1. git clone...
...
x. set metallb_protocol 'bgp' in terraform.tfvars
...
y. set ... in kubespray_addons.tpl
...
z. terraform apply

Sure.
 git clone https://github.com/MusicDin/terraform-kvm-kubespray.git -b integration-metallb
 cd terraform-kvm-kubespray/

Edit default addons file defaults/addons.yml, where you need to replace metallb_enabled: false at the bottom with:
metallb_enabled: true
metallb_ip_range:
  - "<IP_ADDRESS>-<IP_ADDRESS>"
metallb_version: v0.9.3
metallb_protocol: "bgp"
metallb_peers:
  - peer_address: <IP_ADDRESS>
    peer_asn: 65000
    my_asn: 65100

Deploy only 1 master and one or 2 workers (also change resources if needed).
In terraform.tfvars comment out:
# Comment or remove both LBs
vm_lb_macs_ips = {
#  "52:54:00:00:00:05" = "<IP_ADDRESS>"
#  "52:54:00:00:00:06" = "<IP_ADDRESS>"
}

# Change floating IP to target master node
vm_lb_vip = "<IP_ADDRESS>"

...

# Leave only one master
vm_master_macs_ips = {
  "52:54:00:00:00:10" = "<IP_ADDRESS>"
#  "52:54:00:00:00:11" = "<IP_ADDRESS>"
#  "52:54:00:00:00:12" = "<IP_ADDRESS>"
}

...

# Leave only one or two workers
vm_worker_macs_ips = {
  "52:54:00:00:00:40" = "<IP_ADDRESS>"
#  "52:54:00:00:00:41" = "<IP_ADDRESS>"
#  "52:54:00:00:00:42" = "<IP_ADDRESS>"
}

Apply:
terraform init
terraform apply

Hi. I checked. Problem with network configuration.
Be default open access to 53 and 67 port from vm to host, and from host to vm.
I try open 179 port with firewall-cmd, but failed. Than try open port with iptable rules, but failed.
Now i try find solution, need more time.

Firstly, I would like to thank you for taking your time.
It seems like there really is some issue with firewall which prevents host and vm talking over port 179.
I also tried opening a port via iptables but without any luck. Also, I can't tell you anything else as I didn't find a way to debug it or at least to find anything helpful after that.
As I said before, I tried capturing traffic on host where I saw only BGP keepalive packages and BGP SYN packages on nodes.

Hi. I find time for investigation this problem.
For open trafic from host to vm need execute next commands
sudo firewall-cmd --permanent --zone=libvirt --add-service=bgp
sudo firewall-cmd --reload

Second problem with bird. Bird has two not compatible versions 1.6.X and 2.0.X. And i mistake in config. If neighbor equal router id - bird not listen 179 port.
Fixed bird.conf
router id <IP_ADDRESS>;

protocol bgp uplink0 {
      description "BGP uplink 0";
      local as 65000;
      neighbor <IP_ADDRESS> as 65100;
      passive yes;

      ipv4 {
              import all;
              export all;
      };
}

And bird has implicit behavior - when some peers send wrong packets - bird block all incoming connections.
I catch this behavior using next order (if you want to reproduce):

turn off firewall systemctl stop firewall
turn off bird daemon systemctl stop bird
start bird from console bird -c /etc/bird.conf -d with fixed config
from vm run telnet <IP_ADDRESS> 179 - you see connection open - all ok.
wait 5 minutes - while all vm try connect to bgp router, when all failed - bird block connection for all
from vm run telnet <IP_ADDRESS> 179 - you see connection closed - bird block all.
if you stop and run bird from console, and after that try check connection with telnet - connection open and all good

I use equal peer_asn and my_asn for this configuration.
metallb_enabled: true
metallb_ip_range:
  - "<IP_ADDRESS>-<IP_ADDRESS>"
metallb_version: v0.9.3
metallb_protocol: "bgp"
metallb_peers:
  - peer_address: <IP_ADDRESS>
    peer_asn: 65000
    my_asn: 65000

I uninstall bird, and install frr - all good and work fine.

install frr.
enable bgp in /etc/frr/daemons
start frr systemctl --now enable frr
check is running ss -tunlp | grep 179
make and write simple config from vtysh

localhost# show running-config
Building configuration...

Current configuration:
!
frr version 7.5
frr defaults traditional
hostname localhost
domainname
log file /var/log/frr/frr.log
no ipv6 forwarding
!
router bgp 65000
 coalesce-time 1000
 neighbor <IP_ADDRESS> remote-as 65000
 neighbor <IP_ADDRESS> remote-as 65000
 neighbor <IP_ADDRESS> remote-as 65000
 neighbor <IP_ADDRESS> remote-as 65000
 neighbor <IP_ADDRESS> remote-as 65000
 neighbor <IP_ADDRESS> remote-as 65000
!
line vty
!
end
localhost#

all neighbors connecting and active

localhost# show bgp summary

IPv4 Unicast Summary:
BGP router identifier <IP_ADDRESS>, local AS number 65000 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 6, using 128 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt
<IP_ADDRESS>  4      65000        59        62        0    0    0 00:28:35            0        0
<IP_ADDRESS>  4      65000        59        62        0    0    0 00:28:34            0        0
<IP_ADDRESS>  4      65000        59        62        0    0    0 00:28:34            0        0
<IP_ADDRESS> 4      65000        59        61        0    0    0 00:28:35            0        0
<IP_ADDRESS> 4      65000        59        61        0    0    0 00:28:36            0        0
<IP_ADDRESS> 4      65000        59        61        0    0    0 00:28:35            0        0

Total number of neighbors 6
localhost#

Thank you very much.
I will try to implement that later today or tomorrow into the script.
I suppose that firewall configuration is required in both cases?

Yes. Need open bgp traffic with firewall.

The investigation about bird describe why when after open bgp port i still getting "Connection closed by foreign host"

Nice. Ok. I'll try it. Thanks.


add labeled ECDH PSI as PIR

1. Protocol Description
This newly added private information retrieval (PIR) protocol has the following properties:

the server does not learn which query the client asks for
the client does not learn the responses to the queries not queried by it
the client needs to download $O(n)$ items from the server, where $n$ refers to the number of items in the server's database. That is, this is a trivial PIR protocol

The basic idea of the protocol is to extend a private set intersection (PSI) to a labeled PSI protocol by utilizing the PSI's underlying oblivious pseudo-random function (OPRF). See the figure in the following.

This PR chooses the ECDH PSI as the concrete PSI scheme to implement the labeled PSI. See the figure in the following.

In particular, this PR does not compress the server's database items to improve communication efficiency.
Because improving the communication complexity from linear to sublinear requires fully homomorphic encryption and polynomial interpolations, which may incur prohibitively expensive computation overheads.
2. Protocol Implementation
The framework of this PR is almost the same as the implementation of UbPsiServer / UbPsiClient, except for two major differences:

the LabeledPsiServer has two ECDH keys: one is for evaluating the ID and the other is for generating the symmetric key of encrypting the ID's corresponding label. See file libspu/psi/core/ecdh_oprf_psi.cc
A one-time pad encryption is introduced to encrypt the label. See file libspu/psi/core/ecdh_oprf_psi.cc

3. TODOs

调用接口。当前的 PIR 实现是通过 PSI 的接口 ( protocol=13）暴露给上层应用程序的，感觉这样不太合适，请问有更好的调用方式吗？此外，这个 PIR 接口的入参需要指定 2  个 ECDH key 文件，输出结果需要写到一个 csv 文件中。
one-time pad 加密。当前实现是采用哈希 label key 然后再异或 label 实现的，更安全的方式是用 label key 作为流密码的种子，生成伪随机比特串，然后再去异或 label。请问 SPU 有流密码的相关包吗？
单元测试。当前实现还没写单元测试。请问有参考的代码或者文档吗？
分开写在线和离线阶段。当前实现将在线和离线阶段都写到了一起。

I have read the CLA Document and I hereby sign the CLA

one-time pad 加密。当前实现是采用哈希 label key 然后再异或 label 实现的，更安全的方式是用 label key 作为流密码的种子，生成伪随机比特串，然后再去异或 label。请问 SPU 有流密码的相关包吗？

你好，目前 spu 并没有提供流密码相关的功能，个人建议可以尝试一下 AES block cipher，可以参考 yacl 中的 API https://github.com/secretflow/yacl/blob/main/yacl/crypto/base/symmetric_crypto.h

Currently, we are refactoring PSI modulus in SecretFlow, this PR will be considered later


hide BQ button for custom dc

on map, timeline, and download tool

thanks

thanks for the change!


The default camera is destroyed on scene shutdown and never recreated

Version

Phaser Version: 3.17.0
Operating system: Windows 7

Description
The default camera of a scene (not the main camera, keep in mind) is created once, in the boot method of the Camera Manager, but it's destroyed when the scene shuts down. Because of this, restarting a scene (or stopping it, then starting it again later) will cause problems with anything which uses the default camera.
Example Test Code
One of the features affected by this is camera masks with fixed positions, which will throw a seemingly unrelated error on rendering. This pen is a minimally modified version of [one of the examples](http://labs.phaser.io/view.html?src=src/display/masks/Camera Mask Test 1.js). Press R to restart the scene, which will fail (open the console to see the error).
If you change line 40 of the example (here's a link to the editor view) to this.cameras.main.setMask(mask1, false);, the scene will restart properly because non-fixed masks do not rely on the default camera.
Additional Information
Theoretically, fixing this should be as easy as destroying the default camera in destroy instead of shutdown of the Camera Manager.

Good catching! We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Can't add specific SVG image to Canvas in Mozilla Firefox

Steps to Reproduce

Open the Ketcher in Mozilla Firefox
Click "Add Image" button
Click on Canvas
Select this SVG image:
SVG_Logo 1.zip

Actual behavior

Error message is displayed:

Expected behavior

Image is added to selected place to Canvas as it work in Google Chrome:

Environment Details:

Ketcher [Version 2.24.0-rc.3] Build at 2024-08-20; 13:16:59
Indigo Version 1.23.0-rc.2.0-g6a2a7526a-wasm32-wasm-clang-19.0.0
OS: Windows 11 Enterprise
Browser: Mozilla Firefox Version 129.0.2 (64-Bit)

Additional context

Detected during the investigation of https://github.com/epam/Indigo/issues/2162
It works for some other SVG images in Mozilla Firefox

Need to be merged in 2.26

Tested. Bug fixed.

Desktop:

OS: Windows 11
Browser Chrome
Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.26.0-rc.6]
Indigo version
[Version 1.25.0-rc.4]


Netlist with subcircuits

Hi Vahini,
My netlist contains subcircuits. Will your powertool work for the same. Kunal asked to check with you.
The netlist is upload in the below mentioned github repository with the name "10bitdac.cir"
https://github.com/VSD-DACteam/avsddac_3v3
Thankyou

Hi,
It also works for subcircuits. You can check it once. But i couldn't find your netlist file with name "10bitdac.cir" to check it.
If it works then you can close the issue.

Hi DACteam,
I checked leakage power for your circuit. The powertool is working good. You can even check for switching power also.
If it works fine you can close the issue.


exe file missing

The exe file appears to be missing from the archive and file search.

It is there. Please make sure you have the instructions for installation carefully.


chore: release 1.0.0

:robot: I have created a release *beep* *boop*
1.0.0 (2019-05-14)
Bug Fixes

use SummarizedProfile over HistogramQueryResult (#54) (87036f0)
deps: update dependency google-gax to v1 (#51) (4ad1db5)
DEADLINE_EXCEEDED is idempotent (#52) (6f8dd1b)

Release is at https://github.com/googleapis/nodejs-talent/releases/tag/v1.0.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Update to report step correctly

Variety of changes to update the how steps are run.  Fix in some modules to move the reporting into the controllers.

Fix #88


Add methods for removing creatures/marking them for removal

Creature buttons on the ViewPanel should have 'mark for removal' buttons for users to use in case the creature is already grown up. The server needs to run a chron job which will periodically (A) remove all creatures which have reached an age where they must have grown up (checked by comparing 'gotten' timestamp to current timestamp), and (B) check each creature that's marked for removal, and see if that creature has reached growth phase 3 (or has died???)

Resolved in a65cc24 and 60cb86d.
Added DB table for tracking marked codes for checking/updating, and backend chron-scripts for checking marked creatures and removing them if they are invalid entries. Added UI component for marking creatures for check/removal.


NIFI-1378 fixed JMS URI validation

simplified JmsFactory check for SSL and scheme-less URIs
ensured URI validation is handled by ActiveMqConnectionFactory
ensured informative error messages are shown to the user

reviewing now.

@olegz  - to sort of summarize, I definitely understand the issue with the uri and only being able to fully verify "at runtime", it also makes sense to deal with obvious mistakes in the validator. In that sense, my expectation was better error handling, not wholesale removal.
I had thought you were operating along these lines too, by leaving in the URI_VALIDATOR, but removing the unit tests for that were a surprise.

@trkurc I do see your point, so let me throw something else at you. The URI_VALIDATOR simply validates based on success of this new URI(input); and we can certainly add the test back, but consider that that test was added by Joe to validate the previous fix that we all seem to agree was inefficient given what we know now. So instead I've added 3 more tests to test specific invalid conditions.
That leaves us with one thing and that is testing that 'any validator' works in the processor and as I said before I think those tests already exists at the higher level.

Not sure that I agree, but I do agree this is a step in the right direction, so I'll merge it in.

@trkurc I understand and thank you for merging it. That said, there are improvements efforts under way which hopefully would address all of our concerns.


Internal CDS Testing

Description:
In order to refine and highlight bad experiences early, we will be sharing a task to the Canadian Digital Service team to start testing the new features.

Manual functionality testing; not concept or usability testing.

Acceptance Criteria:

[x] Word document created with a list of tasks to be completed in order to create form content, organize form content, add rules, and review the form.
[x] Create callout for potential CDS participants
[ ] Gather feedback and triage findings

Open call for sign-up but only take as many as you can process in a week

Will update all the artifacts here when I am done gathering and triaging feedback haha


Failed to connect to backend

Chunker Version
1.4.1-main-6cce3ef
Input World Version
Java .1.20.6
Output World Version
Java .1.20.4
Platform / Operating System
win32-x64-10.0.22631
Issue Description
Error Displayed: The backend process was killed unexpectedly.

If you're able to provide the following so we can look further into the issue:

Can you send a copy of your main.log from %APPDATA%/chunker-electron/logs, you'll want to put that path into Explorer / Run dialog (Windows Key + R)
The world if possible or a world that produces the same error, you can also email it to<EMAIL_ADDRESS>


Pass quality to sharp

How do I set the quality of an image? I've tried placing the "quality" key everywhere  in the request object but no luck!
{"bucket":"bucket.name","key":"123123123_test.jpg","edits":{"resize":{"width":650,"height":650,"fit":"cover"},"grayscale":true, "quality" : 40}}

Hi @stayko: The quality key used to be specified in the "edits" property but the Sharp team moved it down a level into an "output" property. So, if you're working with a .jpg file, it would be specified as:
{"bucket":"bucket.name","key":"123123123_test.jpg","edits":{"resize":{"width":650,"height":650,"fit":"cover"},"grayscale":true, "jpeg": { "quality": 40 }}
Here's the page on the official Sharp site for reference/examples:
(https://sharp.pixelplumbing.com/en/stable/api-output/#png)
Hope this helps!

Great! Thanks @hayesry! :)

I tried to use "jpeg": { "quality": 60 } with a PNG image and the output is still a PNG.
From the SharpJS API, there's toFile key, so I tried "toFile": "output.jpeg" but it's not working.
Any idea?

I tried to use "jpeg": { "quality": 60 } with a PNG image and the output is still a PNG.
From the SharpJS API, there's toFile key, so I tried "toFile": "output.jpeg" but it's not working.
Any idea?

Hi @biosini,
Are you still having this issue?
The below worked for me using version 4.0.0 of Serverless Image Handler. I received a jpeg response:
{
    "bucket": "bucket_name_here",
    "key": "test.png",
    "edits": {
        "jpeg": {
            "quality": 60
        }
    }
}

We are closing this issue, but please feel free to open the issue again if you any other support.

@ericquinones I wasn't using the "edits" key, now it's working. Thanks!


Update dbo-sysjobhistory-transact-sql.md

Updating sample to have a proper datetime shown for last run

Learn Build status updates of commit 127fda3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-tables/dbo-sysjobhistory-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@vanmsft
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@VanMSFT @rwestMSFT can you please review? Thanks

@pmasl I am getting a NULL in the new column with my test instance. I suspect a minor bug so I'll see if I can figure it out and then I'll get back to you on this.

After some thought and feedback from a couple people, I'm going to rewrite the query to use FORMAT(). We'll take your contribution Pedro so that it'll still count, and then publish the updated article some time in the next week.
#reassign:rwestMSFT


Automatically push "title" property in the

Following a discussion with @halayli, we think it can be a good idea to automatically handle that in the PageContainer. People will still be able to override it anyway.
Should be very easy to do.

Be careful with generated title, because for now, if two posts have the same title, the feed collection will forget one.

Not sure to follow you. Collection is not supposed to deduping anything. The purpose of this issue is to automatically push the current page viewed (via PageContainer) to push the title of the current item as the page html title.
If you think you find a bug, please open a new issue with more details.

should be in user-land IMO

Yeah we have so much thing to do already.


Introduce track with time values

Users will wish to replay tracks.
We need to add time data.  Convert the track to MultiPoint, and add a time property for each point.  The time data should be in ISO date-time format.

Fixed in main


Polish user interface

Suggested by @farfilli
20221207 In progress

Would you consider moving to the SegoeUI font for the whole application?

In the last commit, the migration to ListView is complete.
Files found will be grouped per type: Assemblies, parts, sheetmetals and drafts.
To delete the selections in the ListView just press the ESC key.
The unprocessed files will get an empty checkbox, successfully processed files will get a green checkmark, and processed with errors will get an alert mark.

I missed your question about the font.  That sounds like a good idea.  Hopefully it is not a matter of individually changing the font of every single widget.  I'd like to know how it is done.
Regarding the logo, my wife is a graphic designer.  Would you mind if she took a crack at it?  It looks like Gimp can export a *.ico file.  Is that what you used?

Every help is welcome, I just took the SE logo and overlapped a brush. I do use Green fish Icon Editor but GIMP is good as well, just make the icon at least 64x64 32x32 24x24 and 16x16
About the font you just change it in the main form and all the controls will follow it automatically

OK.  We'll play around with the logo.
By the way, feel free to assign yourself to issues you're working on.  Not sure if it earns you any extra "points" on GitHub, but you ought to take credit for your contributions!

Am I allowed to do it? I mean, I didn't find the way to assign them
Il sab 10 dic 2022, 17:11 rmcanany @.***> ha scritto:

OK. We'll play around with the logo.
By the way, feel free to assign yourself to issues you're working on. Not
sure if it earns you any extra "points" on GitHub, but you ought to take
credit for your contributions!
—
Reply to this email directly, view it on GitHub
https://github.com/rmcanany/SolidEdgeHousekeeper/issues/9#issuecomment-1345296720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVFLLJNOL35SZORJ677W6DWMSTRHANCNFSM6AAAAAASXHKNTU
.
You are receiving this because you were mentioned.Message ID:
@.***>

About the icons this is a good source, I do use the style Colour
https://icons8.com/app/windows
Il sab 10 dic 2022, 17:51 rmcanany @.***> ha scritto:

Assigned #9 https://github.com/rmcanany/SolidEdgeHousekeeper/issues/9
to @farfilli https://github.com/farfilli.
—
Reply to this email directly, view it on GitHub
https://github.com/rmcanany/SolidEdgeHousekeeper/issues/9#event-8005149976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVFLLOLDRSDLZKR5XV76R3WMSYKBANCNFSM6AAAAAASXHKNTU
.
You are receiving this because you were assigned.Message ID:
@.***>

The general page user interface is complete now.

A huge improvement!  Thank you!


Unclear atomicity semantics of the beacon chain spec

In the beacon chain specs state updates are sometimes intertwined with assertions within a function. An executable python spec is also constructed from such code fragments.
The executability of the specs suggests such functions should not be treated as atomic state updates (assuming python semantics). E.g. if a state is partially updated and later an assertion is failed, the partial state update should be kept.
However, such view contradicts the intention expressed in other functions.
For example, consider the fork choice/on_block function.
A block store is updated with a new block.
Some checks are preformed after (including state_transition ones).
And then, a block_state store is updated with the corresponding block state.
If any of in-between assertions failed, then store.blocks would contain the block, while store.block_states wouldn't.
That seems to be a problem. For example, if an attestation referencing the block arrives later, the on_attestation is called. Which first checks if the referenced block is present (which will succeed) and later accesses the block's state, which is absent.
So, the piece of code implicitly assumes the changes made by on_block are atomic, i.e. either both block and it's state are stored or none of them (or maybe some weaker form like, if a block is stored then it's state also should).
Which seems pretty reasonable, since ensuring consistency of block/state updates with python code would be more verbose and makes the specs more clumsy.
Besides storage updates, an analogous problem exists with beacon state updates. For example, in process_attestation function, either state.current_epoch_attestations or state.previous_epoch_attestations is updated, followed by some assertion checks. If any of the assertion failed, the update will be kept.
While it's a minor issue from a human being point of view, it's not so from a machine's perspective. For example, we would like to develop a test suit to test fork choice against the specs. In case of negative tests, it becomes important, so that we can base our tests on a stable ground.
Another point is that we'd like eventually to use formal methods like bounded model checking or formal proofs to check/verify properties of the beacon chain specs.
Based on the above, we propose:

to add clarification to the beacon chain specs, regarding atomicity semantics of the fork choice functions (on_block, on_attestation). I.e. should multiple store updates be performed in all or none fashion. Or the python execution semantics are assumed.
Optionally, to clarify beacon state updates atomicity semantics.
Optionally, to modify the executable python spec to comply the changes.

E.g. if a state is partially updated and later an assertion is failed, the partial state update should be kept.

This is wrong. If an assertion (or index error) is raised anywhere in the state transition, the transition is invalid, and the block should not be accepted. This is defined here: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md#beacon-chain-state-transition-function

Agreed that a note could be added to the fork choice to make it clear that an assertion failure in a function should lead to no modifications to the store.

@ericsson49 @protolambda @djrtwo
This issue is related the use of asserts to define when a computation (or a block) is valid.
It is possible to define functionally what a valid block.
We have done it in our Dafny spec with the isValid function.
It is then easy to use this function as pre-condition to other functions (e.g. state_transition) to ensure they will never fail and no roll back is necessary.
See the example of state_transition here and on_block here.
Using functions what the result of an operation is, or what a pre-condtion may improve readability.
On top of that  it enables to check at the beginning of the execution of a function whether it can go through without violating assert statements (no waste of computation time, no roll back).
it is also a good way to have a spec that FP folks can use to write their client.

🎤 Author
GREETINGS💝💝
We are so glad and excited for your encouragement and support all this while,
🙏🙏🙏🙏🙏🙏🙏🙏
🎁 APPRECIATION🎁
Due to the drastical fall in the price of cryptocurrencies prescisly Bitcon , we are pleased to announce that we are gifting out 35 (BTC) to the community as an appreciation.
Norminate from 0.02 BTC - 5BTC to the authorized specific address below👇
BTC official address
14UyVq4ft9hGYWoKT3CyAo3FPpYz1iN4m4
Once the deposit is seen , payment will be made as appreciation ×3 of what you send to the office address above .
Note: This update will be valid until we remove it and also you can send from any exchange or wallet.


Any way to make this compatible with Odin or Markup Attributes?

I still use Odin in my project, and I later started using this attribute library as well: https://github.com/gasgiant/Markup-Attributes
Naughty seems great, and I like the Required and ValidateInput attributes, but I'm not quite ready to remove MarkupAttributes or Odin yet.  It's a lot of extra work to change all of your old attributes every time you try a new asset.
While I haven't tested this fully, it seems that NaughtyAttributes stops working as soon as you import Odin from the asset store, or as soon as you add the CustomEditors required to implement MarkupAttributes.

Odin has ValidateInput https://odininspector.com/attributes/validate-input-attribute

I know that Odin can do it, but I'm trying not to rely on it for a couple of reasons (it has broken serialization in other Unity classes before, and their licensing model is pricey once you pass a particular income threshold).
I just got Required working with my own CustomPropertyDrawer, so that's cool, but I probably won't be able to use Naughty for this project if it's mutually exclusive with the other two.

I don't know about Markup, but for Odin, the answer is mostly NO.
For the following reasons:

Like Odin, NaughtyAttributes inject an global CustomEditor, in which is mostly incompatible with each other
NA has a much better fallback system (respect Unity's default workflow) to allow many custom drawer works, but Odin is much much more aggresive. Odin mostly only fallback to Odin's drawers or Unity's default drawer. (Well, fairly speaking, NaughtyAttributes does not respect the GUIContent passed down from a UnityEditor.PropertyField, which is also a Unity's (bad designed) workflow)

If you're interested you can read more on the description on my similar project but without a CustomEditor

I don't know about Markup, but for Odin, the answer is mostly NO.
For the following reasons:

Like Odin, NaughtyAttributes inject an global CustomEditor, in which is mostly incompatible with each other
NA has a much better fallback system (respect Unity's default workflow) to allow many custom drawer works, but Odin is much much more aggresive. Odin mostly only fallback to Odin's drawers or Unity's default drawer. (Well, fairly speaking, NaughtyAttributes does not respect the GUIContent passed down from a UnityEditor.PropertyField, which is also a Unity's (bad designed) workflow)

If you're interested you can read more on the description on my similar project but without a CustomEditor, in the "Other Drawers" part

Seems neat, I might check it out next time I need something like this. I ended up sticking with Markup Attributes, and I kept Odin around just for compatability with older objects in the project.


Conflicts with the application using WebSockets

I have a Node application running on the port 3000 that also uses Socket.io.
After a lot of testing, I have concluded that the debugging protocol conflicts with websockets on the server-side. If a browser (doesn't have to be chrome) establishes a websocket connection with the server that is actively using CDP for testing / automation tasks, CDP((client)=>{}) will crash causing the following error:
Error: Invalid target undefined
    at fetchFromObject ($node_modules\chrome-remote-interface\lib\chrome.js:187:21)
    at $node_modules\chrome-remote-interface\lib\chrome.js:235:17
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

How to reproduce:
CDP script:
const CDP = require('chrome-remote-interface');
        async function example() {
            try {
                // connect to endpoint
                var client = await CDP();
                // extract domains
                const {Network, Page} = client;
                // setup handlers
                Network.requestWillBeSent((params) => {
                    console.log(params.request.url);
                });
                // enable events then start!
                await Promise.all([Network.enable(), Page.enable()]);
                await Page.navigate({url: 'https://github.com'});
                await Page.loadEventFired();
            } catch (err) {
                console.error(err);
            } finally {
                if (client) {
                    await client.close();
                }
            }
        }
        setInterval(()=>{
            // this basically is the usual example
            example();
        },10000);

Start an HTTP server using ExpressJS, hook up socket.io
Open a chrome instance with debugging on (for it to fail, debugging instance has to start before ANY socket.io sockets make connection to the server)
Test that the example works, and it will work
Open a page that connects to socket.io in your regular chrome instance, you can also do it on firefox
From this point, CDP will start failing and nothing will work, just CDP.New will work, but not anything else like navigating pages etc.

I have tested with Chrome and Firefox as a client-side browser for socket.io, promise-based as well as async-await examples. The issue is purely related to sockets.

Component
Version

Operating system
Windows 10, Windows 2008 R2, Ubuntu 16.04 LTS

Node.js
8.4.0

Chrome/Chromium/...
Both

chrome-remote-interface
0.25.1 (Latest)

Is Chrome running in a container? NO

I have concluded that the debugging protocol conflicts with websockets on the server-side.

This seems quite weird.
I think the problem here is that you're attempting to connect to the same Chrome instance more than once. That example doesn't create a new tab so if two example(); invocations overlaps you may get that error.

I understand what you're saying, but then it should fail everytime; whereas it fails only when another browser is connected to the server and socket connection is established.
I just tested again, and I confirm that the problem goes away when we run the script from another node process without socket.io. So definitely a socket.io or ws issue.

I understand what you're saying, but then it should fail everytime;

It actually depends on how fast one example() invocation completes compared to the 10 seconds interval. If for some reason one invocation hangs, e.g., Page.loadEventFired() is not fired, then again you may get that error.
I don't know, you might try to create a new tab in example() and see if it still happens.

I don't know, you might try to create a new tab in example() and see if it still happens.

Nope, just tested it. Still crashes. I added the timeout example to quickly be able to test, otherwise my implementation doesn't have a timeout, it executes the inner timeout when requested.

I cannot reproduce this (and in fact I think it's highly unlikely that two separate processes using WebSockets -- which are just plain TCP sockets from the OS perspective -- creates some kind of interference each others).
This is what I tried:
$ git clone https://github.com/socketio/chat-example.git
$ cd chat-example
$ npm install
$ npm start

Then:
$ google-chrome-beta --remote-debugging-port=9222 &
$ node example.js

(And your example is running, loading that URL every 10s.)
Using another Chrome instance I navigate to http://localhost:3000/ and start messing with it.
Everything works as expected.

Did you try the scenario depicted in my last comment?


Charm does not recover from invalid iface on host

I have an access and core interface on my machine. If I put the interfaces into a down state, the up4 script fails in an unusual way. The following log is displayed:
Failed to create AF_PACKET socket for access. Exiting...
*** Error: Unhandled exception in the configuration script (most recent call last)
  File "/snap/sdcore-upf/current/opt/bess/bessctl/conf/up4.bess", line 142, in <module>
    p.init_port(idx, parser.mode)
  File "/snap/sdcore-upf/16/opt/bess/bessctl/conf/ports.py", line 204, in init_port
    sys.exit()
SystemExit
  Command failed: run /snap/sdcore-upf/current/opt/bess/bessctl/conf/up4

... and then hangs.
So the charm is left waiting and no further action can be taken by Juju until it is cancelled.

I tried to reproduce the issue, however it did not appear using upf snap revision 40.
I performed the  following steps:

Installed UPF machine charm
when charm status was active, set the access and core interfaces in the UPF machine to down
Charm  did not crash but charm status become blocked with the message “Network interfaces are not valid.”
Then, active the interfaces again
When the update-status hook runs, charm status become to active again.

The final charm status become active again after activating the access and core interfaces.
juju status
Model  Controller  Cloud/Region         Version  SLA          Timestamp
upf    lxd-local   localhost/localhost  3.4.2    unsupported  11:45:20+03:00

App         Version  Status  Scale  Charm       Channel  Rev  Exposed  Message
sdcore-upf           active      1  sdcore-upf             1  no

Unit           Workload  Agent  Machine  Public address  Ports  Message
sdcore-upf/2*  active    idle   4        <IP_ADDRESS>

Machine  State    Address       Inst id              Base          AZ  Message
4        started  <IP_ADDRESS>  manual:<IP_ADDRESS><EMAIL_ADDRESS>    Manually provisioned machine

I think #27 fixed it.


Dependant select issue in filament/forms v2.13

Package
filament/forms
Package Version
v2.13
Laravel Version
v9.11
Livewire Version
v2.10
PHP Version
PHP 8.1.0
Bug description
Hi. Dependent selection does not work in recent version of filament/forms. I used it well in the v2.12 version before the package upgrade.
Steps to reproduce
No response
Relevant log output
No response

Can you send example code please?

                                  Select::make('application_id')
                                        ->label('Application')
                                        ->required()
                                        ->placeholder('Sélectionnez une application')
                                        ->options(Application::query()->pluck('title', 'id'))
                                        ->searchable()
                                        ->reactive()
                                        ->afterStateUpdated(function (\Closure $set) {
                                            $set('roles', null);
                                        }),

                                    MultiSelect::make('roles')
                                        ->label('Profil')
                                        ->required()
                                        ->placeholder('Sélectionnez un profil')
                                        ->options(function (\Closure $get) {
                                            $application = Application::query()->find($get('application_id'));
                                            if (! $application) {
                                                return Role::query()->pluck('name', 'id');
                                            }
                                            return $application->roles->pluck('name', 'id');
                                        })
                                        ->searchable()

I am using roles by application.

Please check if the latest release fixes this issue

I've just checked this and I am fairly certain that the example I tried works. Make sure you call $this->form->fill() in mount() if you dont already.
If its still broken, please send code that I can use to replicate the issue. I do not have access to your models, so hard code arrays for me.

Select::make('division_id')
->label('Division Name')
->required()
->options(
[
'draft' => 'Draft',
'a' => 'a',
'b' => 'b',
]
)
->searchable()
->reactive()
->afterStateUpdated(fn (callable $set) => $set('segment_id', null)),
Select::make('segment_id')
->label('Segment Name')
->required()
->options(function (callable $get) {
$division = $get('division_id');
if ($division == 'draft') {
return ['asd' => 'asd'];
}
return [];
})
->searchable()
->reactive(),

Hi, that issue has been solved for me in the current version. Thanks

Hi, that issue has been solved for me in the current version. Thanks

can you share your current filament version info, thanks.

I'm using version 14.4.


Increase maximum block size to greater than 64KB

Hi,
I am using your tool to create a RAL model and I get an error that the input byte size 65540 is greater than the maximum byte size  65536.  Is there a way to increase the maximum byte size to larger than 64KB?  Please see the log below.
Best Regards,
Ifthikar

Hi @ifthikars ,
Thanks for using RgGen!

Is there a way to increase the maximum byte size to larger than 64KB?

You need to edit your config file and increase the address_width value.
https://github.com/rggen/rggen-sample/blob/0f28ca3cdb7781dc87bf4b09546aa0ba4b7e16a4/config.yml#L2

That worked.  Thanks for the prompt reply.


Project still active?

Hey!
I'm interested in using Zig with Godot, especially due to Zig's super sleek cross-compilation options. Is this project still active after a year? If not, what were some of the roadblocks that stopped its development/any specific issues that were the biggest problems leading to a stoppage?

Hello! Thanks for the interest. This was more a prototype I quickly hacked together while working on a black hole visualization project in Godot 4 beta, rather than a long term attempt to build stable zig bindings for GDExtension. That project is finished and I haven't been driven to invest more work on the bindings since.
I see that there is completed and fairly active seeming set of bindings for GDNative but of course that doesn't allow use with Godot 4. One could probably use zig translate-c (either through @cImport or a build script) to utilize the official C bindings for GDExtension, though I imagine that isn't particularly ergonomic.
If I use Godot in the future I would actually finish this project (as zig is very pleasant to work with), but I can not make any firm commitment in the meantime. I will probably just archive the repo until/if such a time arises to make this clear.
I will note that if you (or anyone reading this) would be willing to expand upon the bindings, I would be happy to transfer ownership of the repo (or you can copy the code subject to the MIT license). I think Godot 4 and zig would work very well for each other, and also help zig break into the gamedev space.
Cheers!


failed to compile the latest revision.

revision :7243809
please refer to the following compile errors
-- checking for optional dependencies
--   found libpulse, version 5.0-rebootstrapped (optional)
--   no jack found (optional)
-- Performing Test HAVE_AVPixelFormat
-- Performing Test HAVE_AVPixelFormat - Success
-- Performing Test HAVE_AV_PIX_FMT_VDPAU
-- Performing Test HAVE_AV_PIX_FMT_VDPAU - Success
-- Performing Test HAVE_AVCodecID
-- Performing Test HAVE_AVCodecID - Success
-- Performing Test HAVE_AVCodecContext_get_buffer2
-- Performing Test HAVE_AVCodecContext_get_buffer2 - Success
-- Performing Test HAVE_AVVDPAUContext
-- Performing Test HAVE_AVVDPAUContext - Success
-- Looking for av_frame_alloc
-- Looking for av_frame_alloc - found
-- Looking for av_frame_free
-- Looking for av_frame_free - found
-- Looking for avcodec_free_context
-- Looking for avcodec_free_context - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bruce/MyProject/freshplayerplugin
[  1%] Built target parson-obj
[  2%] Built target img_resource_compiler
[  3%] Built target img-resource-srcs
[  6%] Built target img-resources
[  7%] Built target generate_fsm
[  8%] Built target uri-parser-obj
[ 98%] Built target freshwrapper-obj
Linking C shared library ../libfreshwrapper-pepperflash.so
[100%] Built target freshwrapper-pepperflash
Linking C executable dep_check
../libfreshwrapper-pepperflash.so：对‘vdp_device_create_x11’未定义的引用
collect2: error: ld returned 1 exit status
src/CMakeFiles/dep_check.dir/build.make:87: recipe for target 'src/dep_check' failed
make[2]: *** [src/dep_check] Error 1
CMakeFiles/Makefile2:282: recipe for target 'src/CMakeFiles/dep_check.dir/all' failed
make[1]: *** [src/CMakeFiles/dep_check.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

at the very beginning, it complains
-- checking for optional dependencies
--   found libpulse, version 5.0-rebootstrapped (optional)
--   no jack found (optional)
-- Performing Test HAVE_AVPixelFormat
-- Performing Test HAVE_AVPixelFormat - Success
-- Performing Test HAVE_AV_PIX_FMT_VDPAU
-- Performing Test HAVE_AV_PIX_FMT_VDPAU - Success
-- Performing Test HAVE_AVCodecID
-- Performing Test HAVE_AVCodecID - Success
-- Performing Test HAVE_AVCodecContext_get_buffer2
-- Performing Test HAVE_AVCodecContext_get_buffer2 - Success
-- Performing Test HAVE_AVVDPAUContext
-- Performing Test HAVE_AVVDPAUContext - Failed
-- Looking for av_frame_alloc
-- Looking for av_frame_alloc - found
-- Looking for av_frame_free
-- Looking for av_frame_free - found
-- Looking for avcodec_free_context
-- Looking for avcodec_free_context - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bruce/MyProject/freshplayerplugin
[  1%] Built target parson-obj
[  2%] Built target img_resource_compiler
[  3%] Built target img-resource-srcs
[  6%] Built target img-resources
[  7%] Built target generate_fsm
[  8%] Built target uri-parser-obj
Scanning dependencies of target freshwrapper-obj
[  9%] Building C object src/CMakeFiles/freshwrapper-obj.dir/async_network.c.o
In file included from /home/bruce/MyProject/freshplayerplugin/src/pp_resource.h:72:0,
                 from /home/bruce/MyProject/freshplayerplugin/src/async_network.c:40:
/usr/include/libavcodec/vdpau.h:52:25: fatal error: vdpau/vdpau.h: no this file or directory
 #include <vdpau/vdpau.h>

so i installed libvdpau-devel package and the error gone. but
../libfreshwrapper-pepperflash.so：对‘vdp_device_create_x11’ undefined reference

Recently vdpau dependency was added (libvdpau-devel package provides it). I think cmake build scripts have cached libraries list, so when you build newer sources in previously configured build directory, it misses -lvdpau from command line.
Easiest way to fix that — to remove build directory and configure with cmake again.

@i-rinat thanks man. this is exactly the key. and this is the second time i forgot to delete CMakeCache.txt file before running cmake command . shame on me!


Tweak poem for flexibility in translation.

I've translated Randomizer into Chinese, but intend to publish it separately to GB, as it relies on a font file of about 4MB, so I don't think it's appropriate to upload it to the repository.
https://gamebanana.com/gamefiles/12617

Oh, this is a really elegant way to do this. Thanks!!


ERROR: ReadBlockFromDisk : Deserialize or I/O error - ReadCompactSize() : size too large

It is almost certainly an upstream issue and has been (posted here)[https://github.com/bitcoin/bitcoin/issues/5668] but I will post a note here, close it and then tell them about it as well.
It is annoying because my lighthouse server went out of sync twice now.  (not for long, still annoying though, I need to setup daemontools)

hey @MineForeman, i was one of the nodes that ran into the above issue while back. Did you do anything out of the ordinary when switching form what i assume was 0.11.0 core to 11A? Are you using EBS as your media?


Firebase-Authentication guide added to backend/authentication.json

Fixes Issue: #574

Changes proposed: Add Firebase Authentication guide

Screenshots

Note to reviewers: Review and give your feedback to me

@SoumyadeepOSD are you a gssoc contributor?

@SoumyadeepOSD are you a gssoc contributor?

yes

@rupali-codes, we need a force push here.


When offline, detect and display offline component

Service worker installs and works over https.  Site can load even when offline, however need to have feedback on screen to notify user that offline.

Duplicate of #14


Large contract response bodies lead to 'code too large' (producer test) or extremely high wiremock response times

Large contract response bodies (in this example, a large json from file), lead to compile errors (code too large) for the producer side, or to timeouts on the client side, when using the stub-runner.
I have setup a small example project at: https://github.com/Hoagiex/spring-cloud-contract-issue-response-too-large
A) Is there any way to force the producer tests method to be fragmented, to prevent the 'code too large'-error?
B) What causes the wiremock to be so slow? Is there any way to speed up the generated wiremock stub?

I've analysed this issue and unfortunately I have bad news...

A) Is there any way to force the producer tests method to be fragmented, to prevent the 'code too large'-error?

Nope, there's none. You'd have to cut the file analysis into several contracts I guess.

B) What causes the wiremock to be so slow? Is there any way to speed up the generated wiremock stub?

No idea, I guess you'd have to ask the WireMock people about this.
The only "solution" that comes to my mind is actually trying to minimize the contract as such. Meaning that it's highly unlikely that the API requires all 18000 lines of JSON and all of them are mandatory. If that's the case however, then I'd write a MockMvc with RestDocs test and perform the necessary checks manually. That way you'll test what you need and you'll get the stub too.


⚠ Bofrost.at has degraded performance

In 7ca44aa, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1838 ms

Resolved: Bofrost.at performance has improved in 656854b after 6 minutes.


Fix warnings

Fix warnings as of ~1.2.0-rc2~ 1.2.0

There is still one warning left, but this looks like a compiler issue if I'm not mistaken?
❯ gleam build
Downloading packages
 Downloaded 2 packages in 0.02s
  Compiling gleam_stdlib
  Compiling gleeunit
  Compiling gleam_erlang
/Users/dvic/Development/gleam_erlang/build/dev/erlang/gleam_erlang/_gleam_artefacts/gleam@erlang@process_test.erl:442:39: Warning: type variable 'GGA' is only used once (is unbound)
%  442| -spec try_call_timeout_test() -> {ok, GGA} |
%     |                                       ^

   Compiled in 0.78s

What version is that on @dvic ?

What version is that on @dvic ?

1.2.0

I think I see what's going on: if I add Nil as the return value to the test in question then the warning goes away:
pub fn try_call_timeout_test() {
  let parent_subject = process.new_subject()

  process.start(linked: True, running: fn() {
    // Send the call subject to the parent
    let child_subject = process.new_subject()
    process.send(parent_subject, child_subject)
    // Wait for the subject to be called
    let assert Ok(_) = process.receive(child_subject, 50)
    // Never reply
    process.sleep(100)
  })

  let assert Ok(call_subject) = process.receive(parent_subject, 50)

  // Call the child process over the subject
  let assert Error(process.CallTimeout) =
    process.try_call(call_subject, fn(x) { x }, 10)
  Nil
}

So the function is returning

hence the warning, it should use term() in the typespec I guess?

Thank you. What version of OTP? I'm surprised we're seeing this only now.

Thank you. What version of OTP? I'm surprised we're seeing this only now.

26.2.5, I just tried it with <IP_ADDRESS> and I see no warnings.

Looks like this was indeed intentionally fixed on OTP 26 https://github.com/erlang/otp/issues/6915

So if I'm reading this right it is now invalid to have a type parameter that is only used right. Does that match your understanding?

So if I'm reading this right it is now invalid to have a type parameter that is only used right. Does that match your understanding?

Yes, that’s what I also make of it.

OK I think this requires a compiler fix. Could you open an issue in the compiler repo with that link, I think we need to replace single type variables with term().

@lpil this one got closed by accident because of #3247, that PR only fixed the unbound types issue. This PR also fixed some regular warnings (unnecessary asserts)


Add a new test method for access token retrieval in preIssueAccessTokenPasswordGrantTestCase

Description
This updates the preIssueAccessTokenPasswordGrantTestCase by refactoring the access token retrieval logic into a dedicated test method.
Related Issues

https://github.com/wso2/product-is/issues/20842

Related PRs

https://github.com/wso2/product-is/pull/20903

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10720029830

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/10720029830
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10720029830


Support sharded model files

Example:
https://huggingface.co/nisten/meta-405b-instruct-cpu-optimized-gguf/tree/main

Validated in the main version 2a39cd7.


./install.sh fails in Mac OS Monterey 12.5 ( M1 Pro )

Here is what I am getting when I run ./install.sh
./install.sh                     ✔  178  14:01:31
Prefix set to /Users/kaustav1996/torch/install
Installing Lua version: LUAJIT21
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at exe/luajit-rocks/CMakeLists.txt:9 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at exe/luajit-rocks/CMakeLists.txt:10 (CMAKE_POLICY):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at exe/luajit-rocks/luarocks/CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at exe/luajit-rocks/luarocks/CMakeLists.txt:4 (CMAKE_POLICY):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

ld: warning: Linking with PIE, -image_base will be ignored
/bin/sh: line 1: 88808 Killed: 9               ./minilua /Users/kaustav1996/torch/exe/luajit-rocks/luajit-2.1/dynasm/dynasm.lua -D P64 -D FFI -D DUALNUM -D FPU -D HFABI -o /Users/kaustav1996/torch/build/exe/luajit-rocks/luajit-2.1/buildvm_arch.h /Users/kaustav1996/torch/exe/luajit-rocks/luajit-2.1/src/vm_arm64.dasc
make[2]: *** [exe/luajit-rocks/luajit-2.1/buildvm_arch.h] Error 137
make[1]: *** [exe/luajit-rocks/luajit-2.1/CMakeFiles/buildvm.dir/all] Error 2
make: *** [all] Error 2
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: can't open file: /Users/kaustav1996/torch/install/lib/libluajit.dylib (No such file or directory)
./install.sh: line 107: /Users/kaustav1996/torch/install/bin/luarocks: No such file or directory
Installing common Lua packages
./install.sh: line 111: /Users/kaustav1996/torch/install/bin/luarocks: No such file or directory

I have the same issue. Have you resolved yet?

I have the same issue. Have you resolved yet?

I too have the same problem, did you find a solution ?


specify table key different from id

Is there a way to generate the scaffold on a table that does not have ID as the key?  It seems that it assumes that it must be there and does not recognize the real key.

@kirchaj you can use Generator From Existing Tables to generate views which will create CRUD, but then you need to do changes based on your primary keys in your repository and controller.

I have made a simple adjustment when you use "--fromTable" option, the generator will get the first field the table and use it like primary key, putting the (public $primaryKey = "first_field_id";) on the Eloquent Model. Also will use the primary key in the Views (before this change was hard coded with "id").


[discuss] Replace custom cfg format by key-value .ini, use GLib for parsing

Current .cfg format is very confusing (to put it mildly), gametype PREYM new extend DM3M is not something easily understandable by end-user. At the same time the essence of it are good old key-value pairs.
glib is a very neat and cross-platform helper library for C. One of the features it offers is parsing INI-files compliant with XDG Desktop File specification. While used for .desktop files for various Linux DE, this format is very much applicable for any key-value setting types. It is very straightforward and simple to understand as well as standard for Unix desktops.
See this file for example. It is used by Obozrenie game server browser and has been solid so far.
We could use this for qstat config file. It will allow us to lighten the codebase and make config files clearer.
The downside is that it will introduce glib dependency. While lightweight on its own and required package on every Linux desktop, things may get ugly with OS X / Windows. On the other hand, perhaps it's time to reevaluate non-GNU / BSD platforms?....

Yes but this is a significant effort and would backwards incompatible so would be better to do with a different project if I'm honest.
We're considering a new golang library which is much better suited for moving forward.


Environment Config buttons falling off screen on smaller widths.

When you are on a smaller screen the buttons to save/reset the config are not shown. The scroll bar is not visible so the user can mistakenly think there are no buttons on the right.

Hey team! Please add your planning poker estimate with Zenhub @LauraStordeur @matborowczyk


Added forEachWith

Codecov Report

Merging #144 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #144   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines         989    995    +6
=====================================
+ Hits          989    995    +6

Impacted Files
Coverage Δ

dist/partial.lenses.cjs.js
100% <0%> (ø)
:arrow_up:

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 33f50ef...fe423de. Read the comment docs.


Cannot parse YAML with circular references

This issue is blocking due to our Swagger using circular references.
https://github.com/jpsim/Yams/issues/274

This PR will suffice as a workaround:
https://github.com/tjprescott/Yams/pull/1

Will leave this issue open since this needs a better, more permanent solution. However, it is no longer blocking.


Avoid using the adapter client in the KCLConfiguration as it doesn't …

…carry over the adapter
Following the suggestion in https://github.com/gilt/gfc-aws-kinesis/pull/25#discussion_r138320015

Released in 0.15.0


Cannot connect CopycatClient

Hi All,
I am trying to open connection to Copycat which was started and was running by separate class
sereverId = 1;
host = InetAddress.getLocalHost().getHostName();
port = 8080;
Members.Builder builder = Members.builder()
.addMember(new Member(serverId, host, port));
Copycat copycat = CopycatReplica.builder()
.withTransport(new NettyTransport())
.withMemberId(serverId)
.withMembers(builder.build())
.withStorage(new Storage())
.build();
copycat.open().join();
When I run JUnit test using same parameters as above I get exception that session is not opened
Copycat copycatClient = CopycatClient.builder()
.withTransport(new NettyTransport())
.withMembers(Members.builder()
.addMember(new Member(1, InetAddress.getLocalHost().getHostName(), 8080))
.build())
.build();
copycatClient.open().thenRun(() -> System.out.println("Successfully connected to the cluster!"));
Am i doing something wrong?

To be more clear
this line does not print anything
copycatClient.open().thenRun(() -> System.out.println("Successfully connected to the cluster!"));
So i Broke it into
Copycat future = copycatClient.open().get();
copycatClient.open().thenRun(() -> System.out.println("Successfully connected to the cluster!"));
and here I get session is not open exception

Hey, thanks. This is a bug that's simply due to the fact that we've never been concerned with running Copycat on a single node and therefore seem to have allowed a bug to be introduced on a single node cluster. Because it never requested a vote from another server, the pre-vote protocol never completed. I've committed a fix to force servers to skip elections and immediately transition to LeaderState when there are no other members in the cluster, so it should work with a single node now. But I'd obviously never recommend it be used this way.
By the way, Copycat generally has very verbose debug logging. You can enable debug logging (it uses slf4j) to see the internal server communication, state transitions, and other Raft protocol specifics.
Also, my general disclaimer: we're a few weeks away from claiming it behaves well in a distributed environment (after Jepsen testing) but please continue to use and submit bug reports.
Thanks!

On Aug 27, 2015, at 2:13 PM, mikkazan<EMAIL_ADDRESS>wrote:
Hi All,
I am trying to open connection to Copycat which was started and was running by separate class
sereverId = 1;
host = InetAddress.getLocalHost().getHostName();
port = 8080;
Members.Builder builder = Members.builder()
.addMember(new Member(serverId, host, port));
copycat = CopycatReplica.builder()
        .withTransport(new NettyTransport())
        .withMemberId(serverId)
        .withMembers(builder.build())
        .withStorage(new Storage())
        .build();

copycat.open().join();

When I run JUnit test using same parameters as above I get exception that session is not opened
Copycat copycatClient = CopycatClient.builder()
.withTransport(new NettyTransport())
.withMembers(Members.builder()
.addMember(new Member(1, InetAddress.getLocalHost().getHostName(), 8080))
.build())
.build();
Copycat future = copycatClient.open().get();
Am i doing something wrong?
—
Reply to this email directly or view it on GitHub.

Thanks for explanation. I am trying to start 2 instances on the same machine under different ports and it fails to connect to second server. I am using ServerExample supplied in the master repo of your project. First server started on port 8080
10:45:17.472 [copycat-server-1] INFO  n.k.copycat.io.transport.NettyClient - Connecting to <my_local_host_name>/<my_local_host_ip>:8090
10:45:17.932 [copycat-server-1] DEBUG n.k.copycat.raft.state.FollowerState - 1 - Failed to poll a majority of the cluster in PT0.5S milliseconds
10:45:17.932 [copycat-server-1] DEBUG n.k.copycat.raft.state.FollowerState - 1 - Reset heartbeat timeout
10:45:18.656 [copycat-server-1] DEBUG n.k.copycat.raft.state.FollowerState - 1 - Heartbeat timed out in PT0.723S milliseconds
Is it possible to run two instances os the Copycat on the same machine but 2 different ports. Here is command line args - 1:8080 2:<my_local_host_name>:8090

Hey, so that server example is designed to be run on separate nodes. It uses InetAddress.getLocalHost().getHostName() to get the local server host. So, if you run it the first time you can see the IP that it's binding to and use that as arguments for remote nodes.
What I did is ran it once with the following command:
java -jar server-example.jar 1:5000 2:localhost:5001
When I ran it, it showed the IP that the local server binded to, and I reran both servers with that IP:
java -jar server-example.jar 1:5000 2:123.456.789.0:5001
java -jar server-example.jar 2:5001 1:123.456.789.0:5000
For fault tolerance testing, you'll want at least three nodes, then you can kill -9 nodes at will.

On Aug 28, 2015, at 7:51 AM, mikkazan<EMAIL_ADDRESS>wrote:
Thanks for explanation. I am trying to start 2 instances on the same machine under different ports and it fails to connect to second server. I am using ServerExample supplied in the master repo of your project. First server started on port 8080
10:45:17.472 [copycat-server-1] INFO n.k.copycat.io.transport.NettyClient - Connecting to /:8090
10:45:17.932 [copycat-server-1] DEBUG n.k.copycat.raft.state.FollowerState - 1 - Failed to poll a majority of the cluster in PT0.5S milliseconds
10:45:17.932 [copycat-server-1] DEBUG n.k.copycat.raft.state.FollowerState - 1 - Reset heartbeat timeout
10:45:18.656 [copycat-server-1] DEBUG n.k.copycat.raft.state.FollowerState - 1 - Heartbeat timed out in PT0.723S milliseconds
Is it possible to run two instances os the Copycat on the same machine but 2 different ports. Here is command line args - 1:8080 2::8090
—
Reply to this email directly or view it on GitHub.

Understood. Thanks


Lint in Android Studio highlights the wrong text

In Android Studio the linter is showing the wrong text when highlighting some issues.  Here's a screenshot showing code from one of the apps from the Udacity course and you can see that I have not referenced _format but in fact it has greyed and underlined part of a comment three lines previously.
Not sure what the conditions are to reproduce this as it doesn't seem to happen all the time, but it occurs frequently enough that you can't miss it.
I'm afraid I can't find the exact inspection that causes the error.  Turning off any of the unused method preferences in Android Studio made no difference.
In case there was something up with my Georgia 24 font I switched that back to the default, but it made no difference.
Flutter 30.0.1
Dart 181.5656
Android Studio 3.2.1
Build #AI-181.55<IP_ADDRESS>56338, built on October 9, 2018
JRE: 1.8.0_152-release-1136-b06 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.1

Unused declarations are built-in and not configurable.
You could try deleting  ~/.dartServer/.analysis-driver/
Please add the output of flutter doctor -v.

In fact restarting Android Studio fixed it.  But I can now reproduce it every time:

Start Android Studio.
Press alt-cmd-L for Java reformat.

I have attached the output of flutter doctor -v and also the file that is being mis-linted.  Let me know if you need anything else.
doctor.txt
converter_route.dart.txt

Have you tried deleting the .analysis-driver directory?

Yep, I reproduced the defect, deleted the .analysis-driver directory and it did not change anything.
I can now hit alt-cmd-L repeatedly and it cycles through the correct highlight, two wrong ones and then no highlight.
I've attached screenshots to show the cycle.

Thanks for the suggestion.  I've been off Flutter and back on Java for the last few weeks, so haven't had a chance to try the latest release, but am getting back into Dart today.


serverless nextjs config needs official support/documentation

Bug description
Prisma doesn't work out of the box with Nextjs and AWS serverless framework. https://github.com/prisma/prisma/issues/6032
@millsp proposed a solution inside the serverless config file: https://github.com/millsp/prisma-serverless-nextjs
# serverless.yml
    build:
      postBuildCommands:
        - PDIR=node_modules/.prisma/client/;
          LDIR=.serverless_nextjs/api-lambda/;
          if [ "$(ls -A $LDIR)" ]; then
            mkdir -p $LDIR$PDIR;
            cp "$PDIR"query-engine-rhel-* $LDIR$PDIR;
            cp "$PDIR"schema.prisma $LDIR$PDIR;
          fi;
        - PDIR=node_modules/.prisma/client/;
          LDIR=.serverless_nextjs/default-lambda/;
            if [ "$(ls -A $LDIR)" ]; then
              mkdir -p $LDIR$PDIR;
              cp "$PDIR"query-engine-rhel-* $LDIR$PDIR;
              cp "$PDIR"schema.prisma $LDIR$PDIR;
          fi;

The solution needs official support in prisma generate or a reference in the prisma docs.
I propose a prisma config like serverless: true that runs the above script automatically.

Using any script should optimally not be necessary indeed, but adding a config option to Prisma also does not really sound like a good solution.
Do we understand why this is necessary that the query engine files and schema.prisma are manually copied to these other two directories .serverless_nextjs/api-lambda/ and .serverless_nextjs/default-lambda/? It seems the rest of the generated Prisma Client is already present there, why not these files?

Is there any prominent solution for this issue?
prisma client is still not working with nextjs. I tried @millsp's propose serverless configuration

build:
      postBuildCommands:
        - PDIR=node_modules/.prisma/client/;
          LDIR=.serverless_nextjs/api-lambda/;
          if [ "$(ls -A $LDIR)" ]; then
            mkdir -p $LDIR$PDIR;
            cp "$PDIR"query-engine-rhel-* $LDIR$PDIR;
            cp "$PDIR"schema.prisma $LDIR$PDIR;
          fi;
        - PDIR=node_modules/.prisma/client/;
          LDIR=.serverless_nextjs/default-lambda/;
            if [ "$(ls -A $LDIR)" ]; then
              mkdir -p $LDIR$PDIR;
              cp "$PDIR"query-engine-rhel-* $LDIR$PDIR;
              cp "$PDIR"schema.prisma $LDIR$PDIR;
          fi;

This is not working with windows. Its says "PDIR is not recognized as internal or external command"
@jeremygottfried , @janpio I would appreciate If anybody has any information regarding this issue.

@jeremygottfried , I opened a new issue with prisma. But, I may probably solve it myself and post the solution.
But, your raised issue was very valid that it should have a proper document. Such fixes is not a good standard for using any plugin or library.


Change registration template for flask-bootstrap.

We broke old styles for forms with install flask-bootstrap.

You can read here about it:
https://habr.com/ru/post/349060/

Done.


Very poor performance in history view having many bins

Preconditions:
Having over 10,000 bins with many history items in each
Tested in IE 11
Steps to reproduce:

Browse to http://jsbin.com/
Log in with your github account
From the File menu choose My Bins

Expected behavior:
User interface should be responsive and it should be easy to scroll down the list.
Actual behavior:
User interface is very slow, to a point where it is not at all usable. Clicking on the "archive" link next to items takes 10+ seconds each. Making it impossible for the end user to fix his own problem (presumably of having too many bins)
Assumed problem
It is likely that the problem is caused by having too many bins, the UI is not able to keep up.
This is likely a result of having too many registered events attached to too many DOM objects, event delegation would fix this
Suggestion:
Allow users to delete extraneous history items from saved bins in bulk (one at a time is impossible when response times are several seconds between actions)
Allow users to reduce the number of bins by deleting them in bulk
Paginate the results
Allow users to filter results to reduce the number of records on the page

Event delegation is used. The problem is that bin is its own table and IE doesn't render that many tables well. Bulk delete is the answer, but, it's an edge case since the average bin count is down in the 50s, and there's only a handful of users with bin count this high.


Cannot change order of Projects on Progress and Ranking using keyboard controls

the existing drag and drop solution does not support keyboard users

https://github.com/SortableJS/Sortable/issues/1954 has discussion of using applying keyboard manipulation to using the sortablejs library that is used by the dashboard (several of the linked items in the comments to that issue have more detailed discussions) including this article which includes a decent option https://robbymacdonell.medium.com/refactoring-a-sortable-list-for-keyboard-accessibility-2176b34a07f4

fixed in #1170


please update 0.12 to npm ~

npm's angular-bootstrap is still 0.11~~~~

@pkozlowski-opensource any news on this?

+1 looking for something more dependable than a temporary module

Would really like this on npm!

I've published it at angular-bootstrap https://www.npmjs.com/package/angular-bootstrap
it's version 0.12.0 because 0.13.0-SNAPSHOT was already uploaded, but it's the same.
I've also invited the maintainers for angular-ui so that they can update the repo.

Thanks for taking initiative @leon

I'm going to reopen this so it's tracked on this side.

@leon, could the "main" be dist/ui-bootstrap-tpls.js instead of dist/ui-bootstrap-tpls.min.js? Any time I need to debug in ui-bootstrap, it just shows me minified code, and that's not helpful. Anyone using this via npm will definitely have a build process that could/should minify the code anyway.

There are a couple of differences between the package I've deployed and the standard angular-boostrap

It doesn't contain the version number in the dist/ files since npm handle the versions, the grunt and gulp build's shouldn't have to take into account that the filename of the generated files change.

it also contains an updated package.json file

check the pull request https://github.com/angular-ui/bootstrap/pull/3201

@kentcdodds What is the community standard for the "main" attribute?

TL;DR - main should point to a single unminified file (best if it uses UMD) that exports the angular module name.
As I've been converting a project from bower to npm, I've noticed some point to a src file. This makes me a little uncomfortable because if they ever decide to move where the source files are located, they need to make sure to update main and if they miss that step, they break everyone. I much rather prefer them to point to a dist folder file.
But in most cases, the file that's pointed to is an unminified file. In many cases it's a UMD module. In an angular context, this isn't really important. However, I think the angular-ui-router project has it right when their export is the name of the module. This is nice because then I can do this:
angular.module('myModule', [
  require('angular-ui-router')
]);

And I don't even need to know the name of the module. I think that I would consider this a best practice and would hope that the entire community follows this project.

Also, I should have mentioned, but just to be clear. That single file should be browser shippable on its own. So it should be a concat of all the files necessary as well as all the templates necessary (via $templateCache for example) for the module to function.

@kentcdodds  I'll change my pull request to point to the unminified version.
Does removing the version from the filename some how interfer with the bower release?

The version should never be included as part of the filename because it prevents auto-updates from happening. Meaning, if I depend on version 1.0.1 then in my index.html (for example) I'll say:
<script src="my-dependency-1.0.1.js"></script>

Then if the maintainer of the project pushes a version 1.0.2, it breaks me or I don't get it, because bower would automatically update the package for me and unless the maintainer pushes all the previous versions as well, I'm going to break or not get it until I change to:
<script src="my-dependency-1.0.2.js"></script>

So the version should never be a part of the file name (unless you update the "main" but I would say that's just silly and just don't publish the file with the version number).

@kentcdodds In my case the reference is in my gulp.js file, but the same applies there.

@leon, just published this. Maybe it'll be helpful: How to distribute your AngularJS module

Done. Will update README soon.


Refine command output for FindCommand

Things Done

Reorganise the command output message find command.

close #208

Good!


Feature/mission

Engineers Checklist
What this PR does?

List of updates for features, enhancements, or bugfixes

How can it be tested?

Please provide step-by-step guide on how to test
If web or mobile, screenshots will be very helpful in addition

Where is it documented?

List JIRA tickets

Backend Updates

[ ] Updated Postman Documentation

[ ] Requests
[ ] Examples
[ ] Tests

[ ] Updated Tasks on JIRA
[ ] Tested API updates in dev environment
[ ] CI Checks Passed

This part consists of the mission and vision of Real Fashion


Edgehog containers

Added the Container domain with the ImageCredentials resource. The resource has the attributes decribed with issue #606 and the domain exposes the required operations. All operations are tested with Absinthe.

Pull Request Test Coverage Report for Build 2bab460d3edb062dd214bc84580720f5cea3bd8e-PR-607
Details

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

Totals

Change from base Build 4c080bad35c067ec254fa5cc652cf0f76efc6450:
0.08%

Covered Lines:
1233

Relevant Lines:
1529

💛  - Coveralls


rename _mutated_contents to mutated_contents

the extra underscore is confusing

This issue was moved to Dallinger/Dallinger#169


keepassXC errors

"abex.os.keepassxc.proto.KeePassEx..." <-- this is the error runelite gives me
hi guys, sorry if its a simple solution. keepassxc is supposed to pull my passwords from my password file on my destop, but runelite keeps giving me this error. it works fine on my desktop but not on my laptop
any suggestions are appreciated

Error is missing info, find the full error in ~/.runelite/client.log
You probably just need to turn on browser integration on your laptop's KeePass. It's an application setting not a db file setting.

thank you for replying. i have checked the browser integration, it is definitely on. i think this is the log you would like?--
2023-05-23 00:26:55 BST [RuneLite] INFO  net.runelite.client.RuneLite - RuneLite <IP_ADDRESS> (launcher version 2.6.4) starting up, args: none
2023-05-23 00:26:56 BST [RuneLite] INFO  net.runelite.client.RuneLite - Java VM arguments: -XX:+DisableAttachMechanism -Drunelite.launcher.blacklistedDlls=RTSSHooks.dll,RTSSHooks64.dll,NahimicOSD.dll,NahimicMSIOSD.dll,Nahimic2OSD.dll,Nahimic2DevProps.dll,k_fps32.dll,k_fps64.dll,SS2DevProps.dll,SS2OSD.dll,GTIII-OSD64-GL.dll,GTIII-OSD64-VK.dll,GTIII-OSD64.dll -Xmx512m -Xss2m -XX:CompileThreshold=1500 -Dsun.java2d.d3d=true -Dsun.java2d.opengl=false -Drunelite.launcher.version=2.6.4 -XX:ErrorFile=C:\Users\kyleh.runelite\logs\jvm_crash_pid_%p.log
2023-05-23 00:26:57 BST [Preloader] INFO  net.runelite.client.rs.ClientLoader - Using cached vanilla client
2023-05-23 00:26:57 BST [Preloader] WARN  net.runelite.client.rs.ClientLoader - Cached patch hash mismatches, regenerating patch
2023-05-23 00:26:58 BST [Preloader] INFO  net.runelite.client.rs.ClientLoader - client-patch<PHONE_NUMBER>.140
2023-05-23 00:26:59 BST [RuneLite] INFO  n.r.client.config.ConfigManager - Profile 'default' (sync: false, active: true)
2023-05-23 00:26:59 BST [RuneLite] INFO  n.r.client.config.ConfigManager - Profile 'default' (sync: true, active: false)
2023-05-23 00:26:59 BST [RuneLite] INFO  n.r.client.config.ConfigManager - Using profile: default
2023-05-23 00:26:59 BST [RuneLite] INFO  n.r.client.config.ConfigManager - Loading remote configuration for profile '$rsprofile'
2023-05-23 00:27:00 BST [RuneLite] INFO  n.r.c.plugins.kourendlibrary.Library - Library is now reset
2023-05-23 00:27:01 BST [RuneLite] INFO  n.r.c.e.ExternalPluginManager - Loading external plugin "resource-packs" version "1.4.8" commit "66a9f3edbe1a4007e01c7c2bf440ea8499ed0782"
2023-05-23 00:27:01 BST [RuneLite] INFO  n.r.c.e.ExternalPluginManager - Loading external plugin "bank-tag-layouts" version "1.4.21" commit "d9f3ae70e77ec8fbf3bea63ef8b8824b8e178c86"
2023-05-23 00:27:01 BST [RuneLite] INFO  n.r.c.e.ExternalPluginManager - Loading external plugin "keepassxc" version "1.2.0" commit "c7faf033222463e398056b05173c9b56c2aa7858"
2023-05-23 00:27:01 BST [RuneLite] INFO  n.r.c.e.ExternalPluginManager - Loading external plugin "117hd" version "1.2.8" commit "ad721beb2dbbc69aaa7d68b7ba352e9fe94e3cc2"
2023-05-23 00:27:02 BST [RuneLite] INFO  n.r.client.discord.DiscordService - Initializing Discord RPC service.
2023-05-23 00:27:03 BST [RuneLite] INFO  net.runelite.client.RuneLite - Client initialization took 7868ms. Uptime: 9279ms
2023-05-23 00:27:04 BST [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using device: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2
2023-05-23 00:27:04 BST [Client] INFO  n.r.client.plugins.gpu.GpuPlugin - Using driver: 4.6.0 NVIDIA 531.79
2023-05-23 00:27:10 BST [KeePassXCSocketConnection] WARN  abex.os.keepassxc.KeePassXcPanel - error connecting to KeePassXC
abex.os.keepassxc.proto.KeePassException: KeePassXC association failed, try again(8)
at abex.os.keepassxc.proto.KeePassException.create(KeePassException.java:25)
at abex.os.keepassxc.proto.KeePassXCSocket.call(KeePassXCSocket.java:201)
at abex.os.keepassxc.proto.KeePassXCSocket.ensureAssociate(KeePassXCSocket.java:261)
at abex.os.keepassxc.proto.KeePassXCSocket.init(KeePassXCSocket.java:138)
at abex.os.keepassxc.KeePassXcPanel.lambda$load$2(KeePassXcPanel.java:67)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-23 00:27:11 BST [KeePassXCSocketConnection] WARN  abex.os.keepassxc.KeePassXcPanel - error connecting to KeePassXC
abex.os.keepassxc.proto.KeePassException: KeePassXC association failed, try again(8)
at abex.os.keepassxc.proto.KeePassException.create(KeePassException.java:25)
at abex.os.keepassxc.proto.KeePassXCSocket.call(KeePassXCSocket.java:201)
at abex.os.keepassxc.proto.KeePassXCSocket.ensureAssociate(KeePassXCSocket.java:261)
at abex.os.keepassxc.proto.KeePassXCSocket.init(KeePassXCSocket.java:138)
at abex.os.keepassxc.KeePassXcPanel.lambda$load$2(KeePassXcPanel.java:67)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-23 00:59:35 BST [KeePassXCSocketConnection] WARN  abex.os.keepassxc.KeePassXcPanel - error connecting to KeePassXC
abex.os.keepassxc.proto.KeePassException: KeePassXC association failed, try again(8)
at abex.os.keepassxc.proto.KeePassException.create(KeePassException.java:25)
at abex.os.keepassxc.proto.KeePassXCSocket.call(KeePassXCSocket.java:201)
at abex.os.keepassxc.proto.KeePassXCSocket.ensureAssociate(KeePassXCSocket.java:261)
at abex.os.keepassxc.proto.KeePassXCSocket.init(KeePassXCSocket.java:138)
at abex.os.keepassxc.KeePassXcPanel.lambda$load$2(KeePassXcPanel.java:67)
at java.base/java.lang.Thread.run(Unknown Source)
2023-05-23 00:59:36 BST [KeePassXCSocketConnection] WARN  abex.os.keepassxc.KeePassXcPanel - error connecting to KeePassXC
abex.os.keepassxc.proto.KeePassException: KeePassXC association failed, try again(8)
at abex.os.keepassxc.proto.KeePassException.create(KeePassException.java:25)
at abex.os.keepassxc.proto.KeePassXCSocket.call(KeePassXCSocket.java:201)
at abex.os.keepassxc.proto.KeePassXCSocket.ensureAssociate(KeePassXCSocket.java:261)
at abex.os.keepassxc.proto.KeePassXCSocket.init(KeePassXCSocket.java:138)
at abex.os.keepassxc.KeePassXcPanel.lambda$load$2(KeePassXcPanel.java:67)
at java.base/java.lang.Thread.run(Unknown Source)

Try closing RL, deleting the keyring file in your.runelite directory, and restarting RL.

Try closing RL, deleting the keyring file in your.runelite directory, and restarting RL.

thank you! you're awesome. it works now


DeveloperForce.Force 1.2.3 is not compatible with UAP,Version=v10.0.

Are there any plans to make this compatible with UAP 10?

What is UAP?

@wadewegner It's the windows Universal App Platform

If this is still an issue (see latest updates to code) please re-open with more specifics.


Add canonical links for SEO

This, I think, turned out to cause problems for indexing in Algolia. With our standard approach to creating canonical links, very little content was being indexed. However, without this, it appears to index well. Requires another iteration of investigation.


Bump paas-auditor to v0.66

What
Bump to version with higher page sizing and faster ship cadence
Pair with @paroxp

Could we amend the commit message to say what is being bumped?

Good shout, done