WIP: Allow labels to contain emoji

Resolves #6062
Currently a WIP only because I'm not 100% sure I like the formatting in the labels and I am not the best with CSS...
In my opinion they seem a little bulky...

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7a72aa6). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #6063   +/-   ##
=========================================
  Coverage          ?   38.86%
=========================================
  Files             ?      345
  Lines             ?    49508
  Branches          ?        0
=========================================
  Hits              ?    19243
  Misses            ?    27482
  Partials          ?     2783

Impacted Files
Coverage Δ

routers/repo/issue_label.go
46.76% <0%> (ø)

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 7a72aa6...ec3e1a3. Read the comment docs.

I did the same find and replace to test this out locally, but you've beat me in creating a PR :-)
I've seen that in the labels overview the labels to have a label icon at the beginning, maybe this has a different css class and fits better?

Looks as though Semantic got excited about label images and made their height !important

As much as I hate using !important to fight other !important rules, it seems that until we re-design without Semantic this might be the best choice. I will add another style for these labels for now to correct the emoji size.
Compare these new images with the old ones in the original comment.

Semantic is full of weird hacks like that :cry:
Looking at your screenshots, I think the emojis are a little bit too big and seem not exactly vertically centered in some cases. Maybe you could get them a bit closer to GitHub's styling below. I'd certainly recommend 1em width/height and 1em font-size in case emojis are actual unicode characters.
g-emoji {
    font-family: Apple Color Emoji,Segoe UI,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 20px;
    vertical-align: middle;
}

.emoji img {
  height: 1em;
  width: 1em;
}

.IssueLabel .g-emoji {
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    position: relative;
    top: -.05em;
}

.IssueLabel--big .g-emoji {
    display: inline-block;
    margin-top: -1px;
}

g-emoji img {
    height: 1em;
    width: 1em;
}

Hmmm....I'm not sure I agree. This is at 1em and I think it's a tad too small, some of the emoji are getting hard to recognize.
Ultimately I'll go with what most people prefer, but as it stands I think I prefer the images above this one.

I like them at 1em, but wouldn't mind a bit bigger, maybe 1.2em.

I think 1.2em looks fine.

Ouch... It was for 1.9.0... sry, already merged :)

Ugh, sorry about the Makefile. I've been trying to keep up with that and removing it before committing.
Darn Windows being difficult.


Port feature collection dictionary fix from WebListener

FYI: This conflicts with https://github.com/aspnet/HttpAbstractions/issues/370


Hitting Error: with microk8s enable dns storage ..... <IP_ADDRESS>:16443: connect: connection refused

microk8s enable storage ingress metallb:<IP_ADDRESS>-<IP_ADDRESS>
Enabling default storage class
[sudo] password for psakamoori:
deployment.apps/hostpath-provisioner unchanged
storageclass.storage.k8s.io/microk8s-hostpath unchanged
serviceaccount/microk8s-hostpath unchanged
clusterrole.rbac.authorization.k8s.io/microk8s-hostpath unchanged
clusterrolebinding.rbac.authorization.k8s.io/microk8s-hostpath unchanged
Storage will be available soon
Enabling Ingress
ingressclass.networking.k8s.io/public unchanged
namespace/ingress unchanged
serviceaccount/nginx-ingress-microk8s-serviceaccount unchanged
clusterrole.rbac.authorization.k8s.io/nginx-ingress-microk8s-clusterrole unchanged
role.rbac.authorization.k8s.io/nginx-ingress-microk8s-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/nginx-ingress-microk8s unchanged
rolebinding.rbac.authorization.k8s.io/nginx-ingress-microk8s created
configmap/nginx-load-balancer-microk8s-conf created
configmap/nginx-ingress-tcp-microk8s-conf created
configmap/nginx-ingress-udp-microk8s-conf created
daemonset.apps/nginx-ingress-microk8s-controller created
Ingress is enabled
Enabling MetalLB
Applying Metallb manifest
namespace/metallb-system created
secret/memberlist created
Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
podsecuritypolicy.policy/controller created
podsecuritypolicy.policy/speaker created
serviceaccount/controller created
serviceaccount/speaker created
clusterrole.rbac.authorization.k8s.io/metallb-system:controller created
clusterrole.rbac.authorization.k8s.io/metallb-system:speaker created
role.rbac.authorization.k8s.io/config-watcher created
role.rbac.authorization.k8s.io/pod-lister created
clusterrolebinding.rbac.authorization.k8s.io/metallb-system:controller created
clusterrolebinding.rbac.authorization.k8s.io/metallb-system:speaker created
rolebinding.rbac.authorization.k8s.io/config-watcher created
error when creating "STDIN": Post "https://<IP_ADDRESS>:16443/apis/rbac.authorization.k8s.io/v1/namespaces/metallb-system/rolebindings?fieldManager=kubectl-client-side-apply": unexpected EOF
error when retrieving current configuration of:
Resource: "apps/v1, Resource=daemonsets", GroupVersionKind: "apps/v1, Kind=DaemonSet"
Name: "speaker", Namespace: "metallb-system"
from server for: "STDIN": Get "https://<IP_ADDRESS>:16443/apis/apps/v1/namespaces/metallb-system/daemonsets/speaker": dial tcp <IP_ADDRESS>:16443: connect: connection refused
error when retrieving current configuration of:
Resource: "apps/v1, Resource=deployments", GroupVersionKind: "apps/v1, Kind=Deployment"
Name: "controller", Namespace: "metallb-system"
from server for: "STDIN": Get "https://<IP_ADDRESS>:16443/apis/apps/v1/namespaces/metallb-system/deployments/controller": dial tcp <IP_ADDRESS>:16443: connect: connection refused
error when retrieving current configuration of:
Resource: "/v1, Resource=configmaps", GroupVersionKind: "/v1, Kind=ConfigMap"
Name: "config", Namespace: "metallb-system"
from server for: "STDIN": Get "https://<IP_ADDRESS>:16443/api/v1/namespaces/metallb-system/configmaps/config": dial tcp <IP_ADDRESS>:16443: connect: connection refused
Appreciate any help...  My kubernetes master node/api-server is hosted on <IP_ADDRESS>
$sudo microk8s enable dns storage ingress metallb:<IP_ADDRESS>-<IP_ADDRESS>
Enabling DNS
Applying manifest
The connection to the server <IP_ADDRESS>:16443 was refused - did you specify the right host or port?
=== /etc/hosts file ===
<IP_ADDRESS>       localhost
<IP_ADDRESS>       pvlab
The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
====Tried below: But did not help:====
sudo microk8s.refresh-certs --cert server.crt
Taking a backup of the current certificates under /var/snap/microk8s/3202/certs-backup/
Creating new certificates
Signature ok
subject=C = GB, ST = Canonical, L = Canonical, O = Canonical, OU = Canonical, CN = <IP_ADDRESS>
Getting CA Private Key
Restarting service kubelite.
Restarting service cluster-agent.
$ sudo microk8s.refresh-certs --cert ca.crt
Taking a backup of the current certificates under /var/snap/microk8s/3202/certs-backup/
Creating new certificates
Can't load /root/.rnd into RNG
140534406043072:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
Signature ok
subject=C = GB, ST = Canonical, L = Canonical, O = Canonical, OU = Canonical, CN = <IP_ADDRESS>
Getting CA Private Key
Signature ok
subject=CN = front-proxy-client
Getting CA Private Key
1
Creating new kubeconfig file
Run service command "stop" for services ["daemon-apiserver" "daemon-apiserver-kicker" "daemon-cluster-agent" "daemon-containerd" "daemon-control-plane-kicker" "daemon-controller-manager…
Stopped.
Started.
The CA certificates have been replaced. Kubernetes will restart the pods of your workloads.
Any worker nodes you may have in your cluster need to be removed and re-joined to become aware of the new CA.
==================
DNs Pods running good
psakamoori@pvlab:~/.kube$ kubectl get pods --all-namespaces
NAMESPACE     NAME                            READY   STATUS    RESTARTS         AGE
kube-system   coredns-6d4b75cb6d-dm98k        1/1     Running   0                4h18m
kube-system   coredns-6d4b75cb6d-nq459        1/1     Running   0                4h18m
kube-system   etcd-pvlab                      1/1     Running   4                5d2h
kube-system   kube-apiserver-pvlab            1/1     Running   6                5d2h
kube-system   kube-controller-manager-pvlab   1/1     Running   5 (6m59s ago)    5d2h
kube-system   kube-flannel-ds-jjxx6           1/1     Running   0                3d21h
kube-system   kube-flannel-ds-mwzgv           1/1     Running   0                3d21h
kube-system   kube-proxy-27s2q                1/1     Running   0                3d21h
kube-system   kube-proxy-4rbng                1/1     Running   0                5d2h
kube-system   kube-scheduler-pvlab            1/1     Running   22 (6m59s ago)   5d2h
Appreciate any inputs on how to get this resolved...I am beginner in this space..

With mick8s inspect...I am seeing below error:
May 30 16:20:29 pvlab systemd[1]: snap.microk8s.daemon-apiserver-kicker.service: Succeeded.
May 30 16:20:29 pvlab systemd[1]: Stopped Service for snap application microk8s.daemon-apiserver-kicker.
May 30 16:21:03 pvlab systemd[1]: Started Service for snap application microk8s.daemon-apiserver-kicker.
May 30 16:21:28 pvlab microk8s.daemon-apiserver-kicker[2413711]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-1': No such file or directory
May 30 16:22:36 pvlab microk8s.daemon-apiserver-kicker[2417496]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-3': No such file or directory
May 30 16:28:29 pvlab microk8s.daemon-apiserver-kicker[2431855]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-1': No such file or directory
May 30 16:32:05 pvlab microk8s.daemon-apiserver-kicker[2440983]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-3': No such file or directory
May 30 16:39:59 pvlab microk8s.daemon-apiserver-kicker[2460148]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-1': No such file or directory
May 30 16:48:55 pvlab microk8s.daemon-apiserver-kicker[2482172]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-1': No such file or directory
May 30 16:59:11 pvlab microk8s.daemon-apiserver-kicker[2507326]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/open-2': No such file or directory
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2517451]: Signature ok
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2517451]: subject=C = GB, ST = Canonical, L = Canonical, O = Canonical, OU = Canonical, CN = <IP_ADDRESS>
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2517451]: Getting CA Private Key
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2517456]: Signature ok
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2517456]: subject=CN = front-proxy-client
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2517456]: Getting CA Private Key
May 30 20:22:41 pvlab microk8s.daemon-apiserver-kicker[2412231]: CSR change detected. Reconfiguring the kube-apiserver
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2517617]: Signature ok
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2517617]: subject=C = GB, ST = Canonical, L = Canonical, O = Canonical, OU = Canonical, CN = <IP_ADDRESS>
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2517617]: Getting CA Private Key
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2517622]: Signature ok
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2517622]: subject=CN = front-proxy-client
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2517622]: Getting CA Private Key
May 30 20:22:49 pvlab microk8s.daemon-apiserver-kicker[2412231]: CSR change detected. Reconfiguring the kube-apiserver
May 30 20:23:36 pvlab microk8s.daemon-apiserver-kicker[2519596]: chgrp: changing group of '/var/snap/microk8s/3202/var/kubernetes/backend/open-2': No such file or directory
May 30 20:29:42 pvlab microk8s.daemon-apiserver-kicker[2534528]: chgrp: changing group of '/var/snap/microk8s/3202/var/kubernetes/backend/open-1': No such file or directory
May 30 20:29:54 pvlab microk8s.daemon-apiserver-kicker[2535007]: chmod: cannot access '/var/snap/microk8s/3202/var/kubernetes/backend/kine.sock': No such file or directory

Hi @psakamoori, how did you install microk8s? i see the control plane components running as pods.
psakamoori@pvlab:~/.kube$ kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-6d4b75cb6d-dm98k 1/1 Running 0 4h18m
kube-system coredns-6d4b75cb6d-nq459 1/1 Running 0 4h18m
kube-system etcd-pvlab 1/1 Running 4 5d2h
kube-system kube-apiserver-pvlab 1/1 Running 6 5d2h
kube-system kube-controller-manager-pvlab 1/1 Running 5 (6m59s ago) 5d2h
kube-system kube-flannel-ds-jjxx6 1/1 Running 0 3d21h
kube-system kube-flannel-ds-mwzgv 1/1 Running 0 3d21h
kube-system kube-proxy-27s2q 1/1 Running 0 3d21h
kube-system kube-proxy-4rbng 1/1 Running 0 5d2h
kube-system kube-scheduler-pvlab 1/1 Running 22 (6m59s ago) 5d2h

Hi @neoaggelos , Below are the steps I followed
Step 1.  Created kubernetes cluster using kubeadm as given here "https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/"
Step 2: As I want to try MLops pipeline using kubeflow - following instruction given here "https://charmed-kubeflow.io/docs/quickstart" at this step "microk8s enable dns storage ingress metallb:<IP_ADDRESS>-<IP_ADDRESS>" I am getting above error.
Thank you.

Got it. Thank you. Will try it out.

I see - I need to use  below command to get the nodes
psakamoori@pvlab:~/.kube$ microk8s kubectl get nodes
NAME    STATUS   ROLES    AGE   VERSION
pvlab   Ready       35m   v1.21.12-3+6937f71915b56b
Hope my understanding is correct here..

Able to resolve as steps explained above


Scroll to correct position

This function should not scroll to the end or to the top. It should scroll to the cursor position.
I added a workaround for myself:
func textViewDidChangeHeight(_ textView: GrowingTextView, height: CGFloat) {
    UIView.setAnimationsEnabled(false)
    let caret = tableView.convert(textView.caretRect(for: textView.selectedTextRange!.start), from: textView)
    let keyboardTopBorder = textView.bounds.size.height - tableView.frame.width
    if caret.origin.y > keyboardTopBorder && textView.isFirstResponder {
        tableView.scrollRectToVisible(caret, animated: true)
    }
    UIView.setAnimationsEnabled(true)
}

Thanks for the suggestion. I believe in some case users still expect scroll to the end or the top (at least in my case). Maybe I will add this option in later version.


illegalStateException toast on settings screen

when the user opens the settings a toast is displayed about an illegalStateException

Seems related to "_matrix/client/unstable/devices" call

Indeed the response model has changed for the pusher registered on iOS.
The pusher model defined in matrix-android-sdk consider pusher.data as a Map<String, String> (https://github.com/matrix-org/matrix-android-sdk/blob/903ae8a8d7c05d90a5c9888c6ae9b1e58d8d4ad7/matrix-sdk/src/main/java/org/matrix/androidsdk/data/Pusher.java#L29), which is not the right model for ios pusher.data.
The ios pusher data has now a default_payload param which is not String, but Object
"data": {
    "url": "https://example.com/_matrix/push/v1/notify",
    "default_payload": {
             "aps": {
                 "alert": {
                     "loc-key": "MESSAGE",
                     "loc-args": []
                        },
                "mutable-content": 1
                    }
                },
    "format": "event_id_only"
}

To sum up, this exception is displayed on Tchap-Android as soon as the user is connected on Tchap-iOS with the notifications turned on.


error decoding 'ntp.max_desync'

Hello
Thank you very much for providing a Helm chart for Authelia!
I tried to install version 0.8.58 on a single node Microk8s cluster (v1.29) using the values.local.yaml file provided here but the pod fails to start with the following error:
level=error msg="Configuration: error occurred during unmarshalling configuration: 10 error(s) decoding:\n\n* error decoding 'ntp.max_desync': could not decode '3 seconds' to a time.Duration: could not parse '3 seconds' as a duration\n* error decoding 'regulation.ban_time': could not decode '5 minutes' to a time.Duration: could not parse '5 minutes' as a duration\n* error decoding 'regulation.find_time': could not decode '2 minutes' to a time.Duration: could not parse '2 minutes' as a duration\n* error decoding 'server.timeouts.idle': could not decode '30 seconds' to a time.Duration: could not parse '30 seconds' as a duration\n* error decoding 'server.timeouts.read': could not decode '6 seconds' to a time.Duration: could not parse '6 seconds' as a duration\n* error decoding 'server.timeouts.write': could not decode '6 seconds' to a time.Duration: could not parse '6 seconds' as a duration\n* error decoding 'session.expiration': could not decode '1 hour' to a time.Duration: could not parse '1 hour' as a duration\n* error decoding 'session.inactivity': could not decode '5 minutes' to a time.Duration: could not parse '5 minutes' as a duration\n* error decoding 'session.remember_me_duration': could not decode '1 month' to a time.Duration: could not parse '1 month' as a duration\n* error decoding 'webauthn.timeout': could not decode '60 seconds' to a time.Duration: could not parse '60 seconds' as a duration"

Am I doing something wrong?

You're using the latest chart with an incompatible version, that chart version is only compatible with 4.38 and above, use 0.8.x or lower if you want that to work.

Thanks a lot for your quick reply!
I was using 0.8.58 with the following command:
helm install authelia authelia/authelia --version 0.8.58 --namespace authelia --values values.local.yml

Is this not the right one?

It is the right one, you'll just have to make sure to use the values file from that version.

I switched to the values.local.yml provided at tag 0.8.58 and the error is not occuring anymore.
I am not having this issue https://github.com/authelia/chartrepo/issues/88 but as it is unrelated I will close the current one.
Thanks a lot for your support!


BCH support on poloniex

Hi,
I have read some threads about trading BCH on poloniex but I am a new semi technical user. I have already a gekko running. What is the best adn easiest way to add bch?
I have already one strategy running.
Thanks,

BCH landed in the develop branch (see #971). If you already want it download this version of Gekko:
https://github.com/askmike/gekko/tree/develop

Do I need to download it or can I update with git?

Will it be enough if I just copy poloniex.js to exchanges folder?

yes you can update via git, but you need to switch to the develop branch:
git fetch
git checkout develop
git pull

Will it be enough if I just copy poloniex.js to exchanges folder?

You can do that as well, but upgrading in the future becomes harder (merge conflicts, etc.)


Remote Signer Authorization Model Changes

Description
To take advantage of the remote signer, there must be a authorization process in place that allows users (with the appropriate permissions) to use RCRAInfo/e-Manifest API credentials of others from their organization/site.
Options
1. Role Based Access Control
Description
This is my favored approach. Under this approach, a Org has many Sites and a Org has Users with "orgadmin" role (we already have this implemented). These users could supply their e-Manifest/RCRAInfo API credentials. Org admins could delegate permissions to users in their organization through roles.  Certain roles could use the RCRAInfo API credentials in use cases when necessary.
Challenges
This requires object level permissions, which is not supported out of the box by Django (it's almost like a Django anti-pattern it seems like lol). The django.contrib.auth app includes migrations for a permissions table, we need to look whether it would be a good idea to use foreign keys to that table.
We also have to navigate the twisted labyrinth that is Django's authentications systems which includes

Authentication Backends
Middleware
DRF Permissions Classes
Django Permisssions/Groups
(Custom) user model
The Admin Page

Advantages
This is a more scalable solution, and offers methods of utilizing API credentials at multiple levels (e.g., users can use API credentials from their own account, credentials associated with a site, or credentials associated with an organization, or even sub-organization).
There's also a learning opportunity here.
2. Access Control List
Description
This is, essentially, what Django implements out of the box. See the Django documentation on their authentication system here.
Challenges
it would conceptually difficult to match the real world to this method of authorization, and may not be particularly maintainable if things change in the future.
Advantages
This is what we have implemented, in part, now. It's simple, and if we decide that this is not a core feature of the project then we can leave it as it is. However, that's were this projects stops then.
Implementation (post research conducted during #740 )

[x] #741
[x] #742
[x] #743
[x] #744
[x] #745
[x] #746

closed with #752


feat: read tmate connection options from env var

Applicable spec: N/A
Overview
This action allows reading tmate configuration from the environment variables, allowing GitHub runners to automatically be able to configure the runner.
This is intended to be run with self-hosted GitHub runners: link to change PR
Example successful run: https://github.com/yanksyoon/selfhostedtest/actions/runs/7297117097/job/19885879545
Rationale
In order to improve the user experience when using self-hosted runner, the custom tmate configuration is removed and is read from the environment variable so that the tmate configuration does not have to be passed onto the users.
Checklist

[x] Readme is updated
[x] Lib is built

The build result lib/index.js seems incomplete, could you please run npm run build again?

@weiiwang01 I've re-run npm run build but it does seem most of the prev functions are gone, the functionality doesn't seem to be affected though.

@weiiwang01 I've re-run npm run build but it does seem most of the prev functions are gone, the functionality doesn't seem to be affected though.

Interesting, when I run the npm run build the output file is similar sized with the upstream index.js (17678 lines)


[OPENJDK-1812] correct jre module version for ubi9/openjdk-17-runtime

https://issues.redhat.com/browse/OPENJDK-1812
I broke this image with the Maven 3.8 update PR. This should fix it.

Looks good to me.

I had to take a look at https://github.com/jboss-container-images/openjdk/pull/338 and https://github.com/jboss-container-images/openjdk/pull/347 again to understand what has been done here. This was the breaking change.

Sorry I'll include more context in future.


Allow index  [key: string] to be typed - only allow certain strings for the index

Search Terms
keyof arrays typeof index
Suggestion

const Events = <const> [
  'repo:push',
  'pullrequest:unapproved',
  'pullrequest:created'
];

type MyEvents = typeof Events[number];

export interface InterosTag {
  [key: string]: {
    [key: keyof MyEvents]: {   // this part does not work
      "jenkins-job": string,
      "deploy": boolean,
      "eks-key": string
    }
  }
}

Examples
I am trying to create a type for this:
const needsTypeInfo = {
      "events": {
              "repo:push": {
                "jenkins-job": "build_entity_tools",
                "deploy": false,
                "eks-key": "entity-tools"
            },
              "pullrequest:unapproved": {
                "jenkins-job": "build_entity_tools",
                "deploy": false,
                "eks-key": "entity-tools"
            },
            "pullrequest:unapprovedXXX": {
                "jenkins-job": "build_entity_tools",
                "deploy": false,
                "eks-key": "entity-tools"
            }
      }
}

the key with XXX should fail because it's not in the list:
const Events = <const> [
  'repo:push',
  'pullrequest:unapproved',
  'pullrequest:created'
];

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

https://github.com/microsoft/TypeScript/pull/26797

Yeah in particular, I was hoping that this would work as is:
const Events = [
  'pullrequest:rejected',
  'pullrequest:fulfilled',
  'pullrequest:created'
];

export interface InterosTag {
  [key: string]: {
    [key: keyof Events]: {    // use keyof here (or some related operator)
      "jenkins-job": string,
      "deploy": boolean,
      "eks-key": string
    }
  }
}


dont know if that already counts as helping

fix typho

Always helps! Thank you :heart:

:heart:


does not run

the training and testing codes of spgan exist two or more bugs.

https://github.com/Simon4Yan/eSPGAN/blob/master/py-spgan/train_spgan.py#L104
https://github.com/Simon4Yan/eSPGAN/blob/master/py-spgan/test_spgan.py#L58

Hi, thanks for your question.
There are not bugs. First, you could use zip instead of itertools.izip (maybe you are asking this, it depends on your python version); Second, please make sure your dataset size can be divided exactly by the batch size .
Hope the above is helpful for you.

thx.
https://github.com/Simon4Yan/eSPGAN/blob/master/py-spgan/train_spgan.py#L104
I have used zip instead of itertools.zip, since the size of a_loader, b_loader is different, so when i>12936，a_real will be empty.

No, you misunderstood the usage of zip. The zip() function will only iterate over the smallest list passed. If given lists of different lengths, the resulting combination will only be as long as the smallest list passed.

thx. I got the errors as follows, I tried to use drop_last in Dataloader, it doesn't work. and reset the batchsize=1, when i=12936, errors occured.
a_real = a_real[0].to(device)
TypeError: 'NoneType' object is not subscriptable

Maybe you should check your data loader. Or you could check the data preparation in https://github.com/LynnHo/CycleGAN-Tensorflow-2/tree/v1.

thx. before running the spgan, i did not modify any codes, including the data loader. so, is there some bugs?

By the way, maybe you could check the length of "itertools.izip(a_loader, b_loader)". Also, the length of a_loader and b_loader.
I remember the training data size is 12,936, so the length of "itertools.izip(a_loader, b_loader)" should be 12936. In this case, the maximum of i is 12,935.
You could check your dataset loader code step by step. Good luck!

First, I have released this code for about 11 months. You are the first one "find" a bug.
Moreover, I mean you need to check your data path preparation. You need to make sure you put images into the right path. Again, check the path structure in https://github.com/LynnHo/CycleGAN-Tensorflow-2/tree/v1.
Last, I have given you some possible ways to find out the issue.

thanks for your detailed reply.
I reclone the code and fix the errors, and apologizes.


onInit method of a component is called many times

Description of the bug:
According to this explanation, onInit() method should be called only once whether it is rendered or re-rendered.
Here is the fiddle that demonstrates it is called everytime it rendered: https://jsfiddle.net/ceremcem/ruv3nw8u/1/
Versions affected:
Stable, Edge

This is actually correct behavior. When a component is in a section that gets removed, it gets torn down completely. You can manually un-render and re-render the component, and oninit will not be called multiple times.
There was some discussion about keeping components intact if they go out with a conditional, and then re-rendering if the conditional comes back. I don't think any version of Ractive has done that though.

Thank you. So I should use something like jQuery.hide() instead of {{#if ... }} ... {{/if}}?

If you just want to show/hide something on the page, you can just use an inline style attribute e.g.
...
 or
...
. You can't use inline styles on components, but you can on a wrapping element or on the top-level elements of the component.


Update anaconda to use --installation-path option

Move the installation to /usr/local instead of home directory

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Closes #32699

If Maintainers accept to move ahead with #32699

Shouldn't we rather be using HOMEBREW_PREFIX here, instead of hard-coding /usr/local?

Shouldn't we rather be using HOMEBREW_PREFIX here, instead of hard-coding /usr/local?

Definitely.

@reitermarkus @vitorgalvao Removed the hardcoding

It’s not very flexible, but it solves the issue for me.


Fix for captcha solving + SolveResult.UserAgent is null

Hello,
Solving a challenge using a captcha provider will throw an exception here because Id is null.
In order to fix that, you can set Id to string.Empty in this method.
I also noticed that the UserAgent of a returned SolveResult is always null, I don't know if this is only for captcha challenges as I was too lazy to check for javascript challenges too, but this is something else you should fix for sure ;)
Regards,
Matt.

Update:
SolveResult.Cookies.Cf_Clearance also seems to be null!
I didn't check for more.

#####- - - - - ````````

```[[[[[[[[[[[](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)](https://youtu.be/JEazocvsLL4)

Closing this as it probably never will get fixed...


Parse cpuinfo and set default threads

Set the thread count to the number of performance cores detected on the system.
If we're on Windows on a >64 logical processor system, we need to reduce down to just the number of cores in a single socket given current limitations in the C++ code.
This now carries #5820
Fixes #5554

A few examples of the API:
{
  "system": {
    "total_memory":<PHONE_NUMBER>8,
    "free_memory":<PHONE_NUMBER>0,
    "free_swap":<PHONE_NUMBER>6,
    "library": "cpu",
    "variant": "avx2",
    "UnreliableFreeMemory": false,
    "gpu_id": "0",
    "name": "",
    "compute": "",
    "CPUs": [
      {
        "ID": "",
        "VendorID": "",
        "ModelName": "",
        "CoreCount": 16,
        "EfficiencyCoreCount": 0,
        "ThreadCount": 32
      }
    ]
  },
  "gpus": [
    {
      "total_memory":<PHONE_NUMBER>6,
      "free_memory":<PHONE_NUMBER>8,
      "library": "cuda",
      "variant": "v12",
      "lib_path": "C:\\Users\\danie\\code\\ollama\\dist\\windows-amd64\\lib\\ollama",
      "UnreliableFreeMemory": false,
      "gpu_id": "GPU-13b3d4ff-808b-ab50-e395-de65e58aa716",
      "name": "NVIDIA GeForce RTX 4090",
      "compute": "8.9",
      "driver_major": 12,
      "driver_minor": 3
    }
  ],
  "unsupported_gpus": null,
  "discovery_errors": [
    "no compatible amdgpu devices detected"
  ]
}

{
  "system": {
    "total_memory":<PHONE_NUMBER>0,
    "free_memory":<PHONE_NUMBER>8,
    "free_swap":<PHONE_NUMBER>,
    "library": "cpu",
    "variant": "avx2",
    "UnreliableFreeMemory": false,
    "gpu_id": "0",
    "name": "",
    "compute": "",
    "CPUs": [
      {
        "ID": "0",
        "VendorID": "AuthenticAMD",
        "ModelName": "AMD Ryzen 9 6900HX with Radeon Graphics",
        "CoreCount": 8,
        "EfficiencyCoreCount": 0,
        "ThreadCount": 16
      }
    ]
  },
  "gpus": [],
  "unsupported_gpus": [
    {
      "total_memory":<PHONE_NUMBER>,
      "free_memory":<PHONE_NUMBER>,
      "library": "rocm",
      "variant": "",
      "UnreliableFreeMemory": false,
      "gpu_id": "0",
      "name": "1002:1681",
      "compute": "gfx1035",
      "driver_major": 6,
      "driver_minor": 7,
      "reason": "unable to verify rocm library, will use cpu: no suitable rocm found, falling back to CPU"
    }
  ],
  "discovery_errors": []
}

{
  "system": {
    "total_memory":<PHONE_NUMBER>24,
    "free_memory":<PHONE_NUMBER>84,
    "free_swap":<PHONE_NUMBER>24,
    "library": "cpu",
    "variant": "avx2",
    "UnreliableFreeMemory": false,
    "gpu_id": "0",
    "name": "",
    "compute": "",
    "CPUs": [
      {
        "ID": "",
        "VendorID": "",
        "ModelName": "",
        "CoreCount": 40,
        "EfficiencyCoreCount": 0,
        "ThreadCount": 80
      },
      {
        "ID": "",
        "VendorID": "",
        "ModelName": "",
        "CoreCount": 40,
        "EfficiencyCoreCount": 0,
        "ThreadCount": 80
      }
    ]
  },
  "gpus": [],
  "unsupported_gpus": null,
  "discovery_errors": [
    "Unable to load cudart library C:\\Users\\daniel\\tmp\\windows-amd64\\lib\\ollama\\cudart64_12.dll: your nvidia driver is too old or missing.  If you have a CUDA GPU please upgrade to run ollama",
    "unable to load amdhip64_6.dll, please make sure to upgrade to the latest amd driver: The specified module could not be found."
  ]
}


Remove unnecessary ServiceName index seek if tags query is available

Which problem is this PR solving?

Reduce the amount of queries against the badger backend store if Tags are used as a query parameter. Also, if the Tags is the only query, then we also remove single merge-join phase.

Short description of the changes

Tags' key already includes the ServiceName so it makes no sense to add the ServiceName index seek as we can filter it all in a single index seek.

Multiple tests have Tags-queries, yes. The TestRandomTraceID fetches a query with Tags & ServiceName parameters and as such tests this code path with just the Tags-query being executed.

Nice to see a PR from you :-)


Bug fix for spurious contours

The code sometimes creates spurious contours in the shape of a row of 'bowties', such as at the top right of the star in example.jpg.  This simple change in main.js cures that:
        if(seen[i] || skipping) {
            skipping = true
        } else {
            var contour = traceContour(imageData, i)
            contours.push(contour)
            // this could be a _lot_ more efficient
            contour.forEach(c => {
                seen[c] = true
            })
            skipping = true        // FIX -- add this line
        }

The issue is that it needs to be in 'skipping' mode after completing a contour to ensure that it doesn't immediately start a new contour in the middle of the black area.
Since skipping = true is now done in both sides of the if clause, a bit of refactoring can be done, but I'll leave that as an exercise for the reader.

Fantastic, thank a lot @StarsoftAnalysis.
I've added your fix and hopefully get some time to come back to the refactoring.


Fix memory leak of HPACK

This leak was introduced by 2bbcc48195e98b65b681a7e28c9ae1c2ab5d6994
/cc @sudheerv @jvgutierrez

Cherry-picked to 8.1.x

Cherry-picked to v9.0.x branch.


Devel

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

15 of 15 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 90.776%

Totals

Change from base Build<PHONE_NUMBER>0:
0.5%

Covered Lines:
1368

Relevant Lines:
1507

💛  - Coveralls


Add a select one mode to the multiselect widget

Describe the feature request.

Due to the performance issues we are facing on the maps we would like to add a select one mode to the multi-select widget.
This means the users will only be allowed to select one root at a time.  If a second item is selected then the initially selected one will be deselected.
This will be used on the filter defined on this icon https://github.com/opensrp/fhircore/issues/3565

Acceptance criteria

[ ] Add a select one mode that restricts the users to only select one root at a time.
[ ] If another root is selected then the previous one is deselected.

Implementation plan (For Engineers)
The plan for implementing the solution e.g. via a description or a checklist for the various ordered tasks that will need to be completed.
i.e. Describe how you intend to solve the problem

@ndegwamartin I am closing this since it was completed


Add missing location param in upload_chunk

Fixes #350

Please run black for formatting (I would not want to push to your main branch).

Done!

Thank you!


Added SWMMI files with a resized floorplan

In total there should be 7 SEM images.

Wow, there are over 900 Functional Verification errors per file!
https://github.com/SiEPIC/openEBL-2024-07-Si-Heaters/actions/runs/9933397556?pr=110
That may be a new record...
It is easy to fix these errors.  Just put a Device Recognition (DevRec) box around your Device.  Ensure all the shapes are inside the DevRec polygon.
Manufacturing DRC  - no errors, so the design is manufacturable.

Will you be fixing the DevRec errors?
I will merge, but if you could fix it that would be great.
thank you

@lukasc-ubc
I am running into some issues trying to properly align the devrec layers with my devices. It is likely that I will not be able to resolve these issues, but I will keep trying. If you could merge anyways, I would appreciate that.


shap.TreeExplainer fails when CatBoost has a categorical feature.

Shapley isn't working for some reason and I'm getting incredibly obscure errors. Even though CatBoost is throwing the error it must be because of shap as the CatBoost models still work when called directly. I think the problem is because shap calls get_feature_importance() with a deprecated argument.
The error is
Traceback (most recent call last):
  File "C:/Users/antho/.PyCharm2019.3/config/scratches/scratch_5.py", line 17, in <module>
    shap_values = explainer.shap_values(x)
  File "C:\Users\antho\Miniconda3\lib\site-packages\shap\explainers\tree.py", line 247, in shap_values
    phi = self.model.original_model.get_feature_importance(data=X, fstr_type='ShapValues')
  File "C:\Users\antho\Miniconda3\lib\site-packages\catboost\core.py", line 2322, in get_feature_importance
    fstr, feature_names = self._calc_fstr(type, data, thread_count, verbose, shap_mode)
  File "C:\Users\antho\Miniconda3\lib\site-packages\catboost\core.py", line 1287, in _calc_fstr
    return self._object._calc_fstr(type.name, pool, thread_count, verbose, shap_mode)
  File "_catboost.pyx", line 4084, in _catboost._CatBoost._calc_fstr
  File "_catboost.pyx", line 4114, in _catboost._CatBoost._calc_fstr
_catboost.CatBoostError: c:/goagent/pipelines/buildmaster/catboost.git/catboost/libs/data/model_dataset_compatibility.cpp:47: Feature CHAS is Categorical in model but marked different in the dataset

Process finished with exit code 1

it's probably due to calling a deprecated argument fstr_type='ShapValues'...
File "C:\Users\antho\Miniconda3\lib\site-packages\shap\explainers\tree.py", line 247, in shap_values
    phi = self.model.original_model.get_feature_importance(data=X, fstr_type='ShapValues')

The code required to get this error
import shap
import pandas as pd
from catboost import CatBoostRegressor
from sklearn.datasets import load_boston

bunch = load_boston()
x, y = load_boston(True)
x = pd.DataFrame(x, columns=bunch.feature_names)
x['CHAS'] = x['CHAS'].astype(str)
print(x)

model = CatBoostRegressor(1000, cat_features=['CHAS'], verbose=False)
model.fit(x, y)

if __name__ == '__main__':
    explainer = shap.TreeExplainer(model)
    shap_values = explainer.shap_values(x)

Thanks for noting this! It was because of a problem noting which feature were categorical when converting the dataframe you passed to a Pool object.


Tenant Active User Quota Reached

Describe the bug
Can't activate sandbox because error occur:
Requesting a Cloud Shell.Failed to provision a Cloud Shell: {"code":"TenantActiveUserQuotaReached","message":"Tenant '604c1504-c6a3-4080-81aa-b33091104187' has '152' active users in location 'centralindia', which exceeds the active user quota."}
To Reproduce
Steps to reproduce the behavior:

Go to 'https://docs.microsoft.com/ru-ru/learn/modules/welcome-to-azure/4-create-a-vm?pivots=windows-cloud
Click on Activate Sandbox
Accept agreement and permissions
See error

Expected behavior
Sandbox should be activated without error
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10 (OS Build 18362.175)
Browser: Firefox
Version: 67.0.4 (64-bit)

Additional context
Maybe sandbox should be region agnostic or less used one, because 'centralindia' region resides in huge population region.

@ibakirov Thank you for this feedback. We have added this to our internal bug tracking system.

The samething here.

Same issue again.

Some information regarding this can be found at https://twitter.com/docsmsft/status/1159615738568564737

Some information regarding this can be found at https://twitter.com/docsmsft/status/1159615738568564737

@ctkano, I guess it's why you was (or are) not able to access the sandbox through Microsoft Learn.

Got the same problem @ https://docs.microsoft.com/en-us/learn/modules/access-data-with-cosmos-db-and-sql-api/2-setup-cosmosdb
Requesting a Cloud Shell.Failed to provision a Cloud Shell: {"code":"TenantActiveUserQuotaReached","message":"Tenant '604c1504-c6a3-4080-81aa-b33091104187' has '151' active users in location 'southcentralus', which exceeds the active user quota."}

@cabhilash very disappointing hear that this problem still exists

I got this problem just now ...

I'm getting the very same issue now, so it's still an ongoing issue.

Yep, happening to me right now:  Failed to provision a Cloud Shell: {"code":"TenantActiveUserQuotaReached","message":"Tenant '604c1504-c6a3-4080-81aa-b33091104187' has '150' active users in location 'westeurope', which exceeds the active user quota."}

I'm getting the same issue
{"code":"TenantActiveUserQuotaReached","message":"Tenant '604c1504-c6a3-4080-81aa-b33091104187' has '154' active users in location 'northeurope', which exceeds the active user quota."}

Same here
Requesting a Cloud Shell.Failed to provision a Cloud Shell: {"code":"TenantActiveUserQuotaReached","message":"Tenant'604c1504-c6a3-4080-81aa-b33091104187' has '150' active users in location 'northeurope', which exceeds the active user quota."}

I faced this issue today (August 4, 2020).
Requesting a Cloud Shell.Failed to provision a Cloud Shell:

{
"code":"TenantActiveUserQuotaReached",
"message":"Tenant '604c1504-c6a3-4080-81aa-b33091104187' has '353' active users in location 'southeastasia', which exceeds the active user quota."
}

I will retry after few hours and check if it was a temporary issue regarding Sandbox's resources.

Failed to provision a Cloud Shell: {"code":"TenantActiveUserQuotaReached","message":"Tenant '9bc8569b-1f4b-45d0-b9f6-8f8db6ec55b2' has '20' activeusers in location 'centralindia', which exceeds the active user quota."}
I am getting this above exception. Can anyone suggest me a solution?

@codeWithUtkarsh re-try it for a long period of time. I overcome such this limitations on next days


[Feature]: Support puppeteer docker image being extensible base

Feature description
I was trying to make my docker image based on puppeteer like
FROM ghcr.io/puppeteer/puppeteer:19.11.1
# check current at https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer
# that has node:18 which is the same as node:18-bullseye, see https://hub.docker.com/_/node

RUN apt-get update \
    && apt-get install openjdk-17-jdk -y

But it fails adding e.g. java
 => CACHED [1/5] FROM ghcr.io/puppeteer/puppeteer:19.11.1                                                                                0.0s
 => ERROR [2/5] RUN apt-get update     && apt-get install openjdk-17-jdk -y                                                                                0.3s
------
 > [2/5] RUN apt-get update     && apt-get install openjdk-17-jdk -y:
#5 0.202 Reading package lists...
#5 0.260 E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
#5 0.260 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
#5 0.260 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
------
executor failed running [/bin/sh -c apt-get update     && apt-get install openjdk-17-jdk -y]: exit code: 100

Please support puppeteer docker image being extensible base.

have you tried changing the USER back to the root?

Thanks for hint.
I found that even for own node.js script image USER root and then USER pptruser should be used
FROM ghcr.io/puppeteer/puppeteer:19.11.1
# check current at https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer

USER root

# for /home/pptruser see https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile#L18
COPY pdf-server-js.js /home/pptruser/

RUN chown pptruser:pptruser /home/pptruser/pdf-server-js.js

USER pptruser

# run server
CMD ["node", "pdf-server-js.js"]

Otherwise copied to image file is owned by root.
That was even more surprising, because to install e.g. java USER root is similar needed.
FROM ghcr.io/puppeteer/puppeteer:19.11.1
#FROM ghcr.io/puppeteer/puppeteer:19.8.5
# check current at https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer
# puppeteer image is based on node:18 which is the same as node:18-bullseye, see https://hub.docker.com/_/node

USER root

RUN apt-get update \
    && apt-get install openjdk-17-jdk -y

WORKDIR /home/pptruser
# for /home/pptruser see https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile#L18

ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} ./app.jar
RUN chown pptruser:pptruser ./app.jar

USER pptruser

# run server
ENTRYPOINT ["java","-jar","./app.jar"]


Issue #539 Skip invalid "numbers" when reporting to graphite

@gehel This PR fixes the issue reported in #539
I added a utility method isValidNumber that ensures that the number is not NaN or infinity.

Thanks a lot!


Disallow undefined parameters

This could be tricky because you need to know the context a template is operating in, and probably all helpers/components, but if I have the following in a template:
{{foo}} and {{bar}}

And the following component:
export default Component.extend({
  foo: "here"
});

It should warn that bar is not defined.

This problem wouldn't be solvable here, as it only scans the template AST and not the js. You might have some luck with https://github.com/minichate/ember-cli-tree-shake


Provide  integration for for exposing Jaeger client's internal metrics through /metrics endpoint

The Jaeger  client's   have a number of  internal metrics  for   key data points on sampler and reporter statistics.   These include data points such as counts of spans reported,  spans  dropped ,  current queue length of the reporter,  sampling strategy changes in case of remote sampling etc.
Details of such metrics  are available at  - https://github.com/jaegertracing/jaeger-client-java/blob/7544006e1aaf42c35d1e9dbc086608f6f6964e56/jaeger-core/src/main/java/io/jaegertracing/internal/metrics/Metrics.java#L138
Some of these metrics are very useful  for  diagnosis  of issues  where we see that traces are loosing spans,  or sampling not working as expected.
Jaeger client provides  SPI  "io.jaegertracing.spi.MetricsFactory"  that is loaded via the Java Service loader  mechanism.   An implementation has to provide  the mechanism to create  the  metrics such as Counter, Timer & Gauge that is specific to the  platform.
An example  of such  a implementation already exists for Micrometer and is  available at
https://github.com/jaegertracing/jaeger-client-java/tree/master/jaeger-micrometer
We need to have an implementation for Helidon that will work for both SE as well as MP.
Environment Details

Helidon Version:
Helidon SE or Helidon MP  - Both
JDK version:   11
OS:
Docker version (if applicable):

Tried a quick  prototype.
There is no code change required in Helidon
Just had to implement the  Jaeger's service provider interface   "io.jaegertracing.spi.MetricsFactory"  , and  make it available to the sample service via adding dependency in pom.xml,  as below

io.helidon.tracing.jaeger
helidon-tracing-jaeger-metrics
1.0

Now  when I invoke  /metrics   on my sample MP  based service it's also listing the Jaeger's internal metrics
curl -X GET http://localhost:7070/metrics  | grep -i jaeger
TYPE application_jaeger_tracer_baggage_restrictions_updates_total counter
HELP application_jaeger_tracer_baggage_restrictions_updates_total
application_jaeger_tracer_baggage_restrictions_updates_total{result="err"} 0
application_jaeger_tracer_baggage_restrictions_updates_total{result="ok"} 0
TYPE application_jaeger_tracer_baggage_truncations_total counter
HELP application_jaeger_tracer_baggage_truncations_total
application_jaeger_tracer_baggage_truncations_total 0
TYPE application_jaeger_tracer_baggage_updates_total counter
HELP application_jaeger_tracer_baggage_updates_total
application_jaeger_tracer_baggage_updates_total{result="err"} 0
application_jaeger_tracer_baggage_updates_total{result="ok"} 0
TYPE application_jaeger_tracer_finished_spans_total counter
HELP application_jaeger_tracer_finished_spans_total
application_jaeger_tracer_finished_spans_total 911
TYPE application_jaeger_tracer_reporter_queue_length gauge
HELP application_jaeger_tracer_reporter_queue_length
application_jaeger_tracer_reporter_queue_length 0
TYPE application_jaeger_tracer_reporter_spans_total counter
HELP application_jaeger_tracer_reporter_spans_total
application_jaeger_tracer_reporter_spans_total{result="dropped"} 0
application_jaeger_tracer_reporter_spans_total{result="err"} 0
application_jaeger_tracer_reporter_spans_total{result="ok"} 911
TYPE application_jaeger_tracer_sampler_queries_total counter
HELP application_jaeger_tracer_sampler_queries_total
application_jaeger_tracer_sampler_queries_total{result="err"} 0
application_jaeger_tracer_sampler_queries_total{result="ok"} 0
TYPE application_jaeger_tracer_sampler_updates_total counter
HELP application_jaeger_tracer_sampler_updates_total
application_jaeger_tracer_sampler_updates_total{result="err"} 0
application_jaeger_tracer_sampler_updates_total{result="ok"} 0
TYPE application_jaeger_tracer_span_context_decoding_errors_total counter
HELP application_jaeger_tracer_span_context_decoding_errors_total
application_jaeger_tracer_span_context_decoding_errors_total 0
TYPE application_jaeger_tracer_started_spans_total counter
HELP application_jaeger_tracer_started_spans_total
application_jaeger_tracer_started_spans_total{sampled="n"} 0
application_jaeger_tracer_started_spans_total{sampled="y"} 912
TYPE application_jaeger_tracer_traces_total counter
HELP application_jaeger_tracer_traces_total
application_jaeger_tracer_traces_total{sampled="n",state="joined"} 0
application_jaeger_tracer_traces_total{sampled="n",state="started"} 0
application_jaeger_tracer_traces_total{sampled="y",state="joined"} 2
application_jaeger_tracer_traces_total{sampled="y",state="started"} 5

Attaching the prototype code
helidon-tracing-jaeger-metrics.tar.gz

Can this get integrated into helidon?  if so any inputs as to what time frame?

Hi, @vasanth-bhat  I have taken a look at the code you attached and thanks very much for the effort to write it. It looks very clear and straightforward.
I plan to begin integrating the prototype into Helidon this week.
I will need to add some tests, write some documentation, etc. I will also probably register the Jaeger metrics in the vendor repository rather than the application one, but that's a minor change.
Because of other work in progress it might be a couple weeks or so until I finish this up. I'll keep you posted.


Resource tags referencing a parameter which is a user-defined data type containing properties with optionality marker yields BCP321.

Bicep version
Bicep CLI version 0.30.3
Describe the bug
A parameter is declared as a user-defined data type containing properties that are string literals with or without a union type and an optionality marker. When this parameter is referenced by the tags property of a resource declaration the BCP321 warning is displayed for each property with an optionality marker.
To Reproduce
Steps to reproduce the behavior:
main.bicep
targetScope = 'subscription'

type Tags = {
  stringLiteral: string
  stringLiteralUnionType: ('foo' | 'bar')
  stringLiteralOptionalityMarker: string?
  stringLiteralUnionTypeOptionalityMarker: ('foo' | 'bar')?
}

param name string
param location string
param tags Tags

resource rg 'Microsoft.Resources/resourceGroups@2024-07-01' = {
  name: name
  location: location
  tags: tags
}

Expected a value of type "string" but the provided value is of type "null | string".
Expected a value of type "string" but the provided value is of type "'bar' | 'foo' | null".

Additional context
This issue has only arisen since upgrading to version 0.30.3 of Bicep.

The latest version of Bicep added deep type checking on values sourced from parameters, and it looks like the type check is correct here. I tried to deploy this template:
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "resources": [
        {
            "type": "Microsoft.Resources/tags",
            "apiVersion": "2024-03-01",
            "name": "default",
            "properties": {
                "tags": {
                    "nullabilityTest": null
                }
            }
        }
    ]
}

and the deployment failed with the error message: Invalid tag value. The following tags 'nullabilityTest' have a null value. Tag value cannot be null. (Code: InvalidNullTagValue).
Tagging for discussion to see if this is something we should address in the backend or if this is working as intended.

Generally, we strongly discourage RPs from making a distinction between a property with an explicit null value vs one that was omitted. I think the issue here is how resource tagging behaves, and after we address that, the type check in Bicep can be relaxed.

There weren't any objections to making tags support null values, but some resource types (particularly proxy resources) handle their own tags, so we should make sure no RPs make a semantic distinction between null-valued vs omitted properties. In any case, this change will need to be made in the ARM backend and not require any updates to Bicep.


Area bitwise manipulation

Hi all,
I noted that @bryanmcconkey expresses in issue https://github.com/recastnavigation/recastnavigation/issues/81 the need of working bitwise with areas.
I got the same need on my side.
It is quite clear: in some use cases (more complex than a handful of area ids, or data-driven engines) multiple systems interacts with the path finding generation. But they do not know each other, and the combinations of area ids is huge.
E.g. 4 types of units, each one with it's no-go zones, makes 16 combinations. But it's only a matter of 4 independent flags, after all !
According to me, this feature is nice to have to make it scalable in a modern game engine.
I propose to make a PR for it.
Are you open to that ?
Would you have some requirements or advices before I commit ?
Regards

Thanks for doing this in #260!


Train on videos of different length

Hi,
Thanks for sharing your work first of all.
I am working on finetuning i3d to my own dataset, which only has two classes. The distribution of the two classes is imbalanced, and I have around 500 video clips in total. One class may account for 80% of the data. I read other posts and open-source materials and found only 64 frames are sampled from each video. In my case, can I train the network with videos of different length in one batch?
I also wonder if it is possible to implement real-time classification with this model? I will be using RGB data only. In my understanding, we have to pre-process data into npy. format, which can be a bit, but not much time-consuming. Eventually, I think the input of RGB images should have similar output as video data. Do you have any advice on this?

Hi Kent,
Regarding having variable number of frames in training, this is generally
hard in tensorflow. One possibility is to have a different number of frames
in different batches (e.g. training the first batch with 32, second with
64, etc.) -- tensorflow may be adaptive enough (i did this in tensorflow 2
when experimenting with curriculum training).
Simpler options include cropping the various videos into the same number of
frames as we did for the i3d paper -- that's by far the most used option.
Another option would be to pad the shorter videos to the length of the
longest one.
Regarding real-time classification the simplest approach is to have a delay
of a few frames (e.g. if your model is training on 16 frame clips, then you
could output class labels every 16 frames). If you'd like to run the model
frame by frame, you can either a) pay the computational price by feeding
the previous 16 frames to the model every frame, or b) spend a lot of time
implementing a caching of previous features -- we did this in
https://arxiv.org/abs/1806.03863, it has also been done for wavenet (e.g.
https://arxiv.org/abs/1611.09482).
Best regards,
Joao
On Thu, Mar 19, 2020 at 6:23 PM Kent Wu<EMAIL_ADDRESS>wrote:

Hi,
Thanks for sharing your work first of all.
I am working on finetuning i3d to my own dataset, which only has two
classes. The distribution of the two classes is imbalanced, and I have
around 500 video clips in total. One class may account for 80% of the data.
I read other posts and open-source materials and found only 64 frames are
sampled from each video. In my case, can I train the network with videos of
different length in one batch?
I also wonder if it is possible to implement real-time classification with
this model? I will be using RGB data only. In my understanding, we have to
pre-process data into npy. format, which can be a bit, but not much
time-consuming. Eventually, I think the input of RGB images should have
similar output as video data. Do you have any advice on this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kinetics-i3d/issues/97, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXKU2VLOWVCOR4L4J2JS4DRIJPINANCNFSM4LPQCGVQ
.

Thanks for the suggestions!
The length of each video is ranged from 100 to 200-ish frames and the two classes are essentially slipping and not slipping. Considering a slip could happen within a couple of frames, I don't think different batches or cropping suits my case here. I am concern that sub-sampling may exclude desired actions(slips) once original videos are broken to clips (16, or 64 frames etc), then false labels would be assigned to the processed video clips.
I am not sure about the last option. I assumed using the length of the longest video as some parameter of the batch, and then process (pad) shorter videos into one of such length? If so, this may not work well either.
Another naive question is, can I feed one video to the model one at the time (bach size = 1), so the batch can adapt to videos of different lengths? Or are there other ways that can serve my purpose?
I am still relatively new to this field. Please correct me if I am wrong. :)


Update README.md

The proposed modification has been made in the latest version of README. Thanks!


Authorization delegation

Clients should be able to provide keys for the store to be used.
┆Issue is synchronized with this JIRA Story
┆Issue Number: DOCK-30
┆Epic: DOS File Provisioner

Note to self: I think this is for the use of Google tokens with Dockstore, when users lack a Dockstore account

This is for the DOS File Provisioner plugin, which only supports non-authenticated calls.


EXC_BREAKPOINT subcode 0xe7ffdefe in iOS addOrUpdate method

the plugin builds just fine for iOS, but when the addOrUpdate method runs the app freezes and xCode shows this error.

I'm running xCode 6.3.1

I have no idea why you are having this error. Any other error logs?

Any of this help?
GeofencePlugin - GeoNotifications table was created successfully
GeofencePlugin - GeoNotificationManager init
GeofencePlugin - Location services enabled
ERROR: Method 'deviceready:' not defined in Plugin 'GeofencePlugin'
-[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
"INVALID",
"GeofencePlugin",
"deviceready",
[
]
]
THREAD WARNING: ['PushPlugin'] took '25.395996' ms. Plugin should use a background thread.
enabledRemoteNotificationTypes is not supported in iOS 8.0 and later.
active
didChangeAuthorizationStatus
didChangeAuthorizationStatus: 3 => AuthorizationStatusAuthorized
Converted locationManager:didChangeAuthorizationStatus: into didChangeAuthorizationStatus
[DOM] _onDelegateCallback() {"eventType":"didChangeAuthorizationStatus","status":"AuthorizationStatusAuthorized"}
[DOM] _mapDelegateCallback() found eventType didChangeAuthorizationStatus
[DOM] DEFAULT didChangeAuthorizationStatus()
active
THREAD WARNING: ['Geolocation'] took '27.729004' ms. Plugin should use a background thread.
THREAD WARNING: ['FileTransfer'] took '21.376953' ms. Plugin should use a background thread.
GeofencePlugin - GeoNotificationManager addOrUpdate

Nope :/. Are you trying this on device or simulator? Test if example application works for you.

Testing on an iPad mini. I'll try the test app and see if I have the same issue. Thanks.

So I cloned the example app, and when I add the ios platform, it fails with this error:
Installing "com.google.playservices" for ios
Failed to install 'com.cowbell.cordova.geofence':Error: Cannot find module 'cordova-lib/src/plugman/platforms'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:48:12)
at run (/Users/station5/Projects/phonegap/ionic-geofence/plugins/com.cowbell.cordova.geofence/hooks/add_swift_support.js:18:33)
at module.exports (/Users/station5/Projects/phonegap/ionic-geofence/plugins/com.cowbell.cordova.geofence/hooks/add_swift_support.js:13:5)
at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:152:18)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:130:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:115:20
Perhaps my cordova install is missing something...

Yes, I ran npm install -g cordova ionic

Hmm, there are always problems with installing packages globally. I think you should also install npm install -g plugman

Actually plugman is not needed. Sorry. Try to run just npm install . I need to upgrade manual.

Yeah, I tried both, but still get the same error.
Failed to install 'com.cowbell.cordova.geofence':Error: Cannot find module 'cordova-lib/src/plugman/platforms'

I've been trying to fix this problem all day and just figured it out.  This problem happens in Cordova 5.0, it seems like the platforms script has been broken out into 1 js file per platform.
These changes in hooks/add_swift_support.js is what fixed my problem:

in line 18, change the module path to 'cordova-lib/src/plugman/platforms/ios'
in line 24, change "platforms['ios'].parseProjectFile(iosPlatformPath)" to "platforms.parseProjectFile(iosPlatformPath)"

Should install properly then.

I recently updated to OS X Yosemite, and I think it's causing some issues. NPM seems to be completely broken. So, once I get these other issues worked out, I'll get back to you and let you know if these fixes work.

@lcoling thanks. I will look at cordova 5.0 and try to make plugin compatible with it. @graphicgeek it is always good practice to install npm packages locally only, then you will use proper packages versions after npm install.

Ok, so I got NPM reinstalled and working. It seems it may be a Cordova 5.0 issue. @lcoling's suggestion worked to get the example app working.
I created a blank cordova app (cordova create hello com.example.hello "HelloWorld"), added the ios platform, and then when I add the geofence plugin I get this:
Fetching plugin "https://github.com/cowbell/cordova-plugin-geofence" via git clone
Installing "com.cowbell.cordova.geofence" for ios
Fetching plugin "https://github.com/vstirbu/PromisesPlugin.git" via git clone
Installing "com.vladstirbu.cordova.promise" for ios
WARNING: android.support.v4 has been renamed to cordova-plugin-android-support-v4. You may not be getting the latest version! We suggest you cordova plugin rm android.support.v4 and cordova plugin add cordova-plugin-android-support-v4.
Fetching plugin "android.support.v4" via cordova plugins registry
Installing "android.support.v4" for ios
WARNING: com.google.playservices has been renamed to cordova-plugin-googleplayservices. You may not be getting the latest version! We suggest you cordova plugin rm com.google.playservices and cordova plugin add cordova-plugin-googleplayservices.
Fetching plugin "com.google.playservices" via cordova plugins registry
Installing "com.google.playservices" for ios
Failed to install 'com.cowbell.cordova.geofence':Error: Cannot find module 'cordova-lib/src/plugman/platforms'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Context.requireCordovaModule (/usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:48:12)
at run (/Users/station5/Projects/phonegap/hello/plugins/com.cowbell.cordova.geofence/hooks/add_swift_support.js:18:33)
at module.exports (/Users/station5/Projects/phonegap/hello/plugins/com.cowbell.cordova.geofence/hooks/add_swift_support.js:13:5)
at runScriptViaModuleLoader (/usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:152:18)
at runScript (/usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:130:16)
at /usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:115:20
Error: Cannot find module 'cordova-lib/src/plugman/platforms'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Context.requireCordovaModule (/usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:48:12)
at run (/Users/station5/Projects/phonegap/hello/plugins/com.cowbell.cordova.geofence/hooks/add_swift_support.js:18:33)
at module.exports (/Users/station5/Projects/phonegap/hello/plugins/com.cowbell.cordova.geofence/hooks/add_swift_support.js:13:5)
at runScriptViaModuleLoader (/usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:152:18)
at runScript (/usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:130:16)
at /usr/local/Cellar/node010/0.10.38_1/libexec/npm/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:115:20

I've just submitted a pull request which handles the pre-5.0 and 5.0 cordova cases.

I finally figured out what was causing this. In the parameters object I was passing to the addOrUpdate method, my latitude and longitude were strings instead of floats. I converted these to floats, and viola.

Thanks for update. Looks like debugging swift code is a disaster. Error message doesn't say anything useful.


Python function for bxscr in JSON

Need to check the status of the boxscore on the json file to see if it exists or not.
It will only exist if the game is live.

This is achieved with a Key Error function and works smoothly enough for me to continue


fix: tapping light box crashing app

Why
Tapping lightbox in profile is crashing the app. Caused by https://github.com/showtime-xyz/showtime-frontend/pull/2158 changes

How
gesture handler is using measure function from reanimated, so we need to wrap it in runOnUI.

Test Plan
Tapping user profile picture should not crash the app

LGTM


Sampler Choice

Should the samplers be "random" and "oort", instead of "random and "kuiper" as is mentioned in the file?
https://github.com/SymbioticLab/FedScale/blob/fe2eb88a339e5215f4735c61beaeaa0096132c15/core/aggregator.py#L129-L142

Please submit a PR to fix it. Thanks.


Resolve a bunch of Manta => Minio => S3 issues

This series of commits resolves a few issues involved Manta semantics within the context of Minio/S3. Things such as...

ListObjects not properly handling sub directories (there might still be more work here)
GetObjectInfo not sending HEAD requests into Manta (latest triton-go)
Add back sub-directory delimiter to resolve prefixes properly.
Updates to latest triton-go.

These fixes allow me to list and upload sub directories that already exist in Manta, which were issues during Minio's last review.
Also, we need joyent/triton-go#77 updated within this branch before the merge. That includes the latest tweak to how HEAD requests perform error handling in the triton-go client.

@cheapRoc this looks good - there is another triton-go update coming that needs to make sure it makes it into this PR - 0.4.1 - small bug fixes for path issues in ForceInsert functionality

This looks good now - I just bumped the govendor version


AVX-512: optimize valid UTF-8 to UTF-16 for ASCII/fast path

Current implementations are fast even in the ASCII case, but not always as fast as legacy implementations.

Issue resolved.


Set glibc versions for standalone installers

Summary
Per Discord, it sounds like cargo-dist will assume that 2.31 is our minimum glibc version, since we're building our own binaries. (You can confirm this by looking at uv-installer.sh.)
cargo-dist now supports specifying a glibc override for each target: https://opensource.axo.dev/cargo-dist/book/reference/config.html#min-glibc-version. This is great, since we use 2.17 everywhere, but 2.28 for ARM.

Ran dist build -a global --tag=v0.5.11 locally, and verified that target/distrib/uv-installer.sh contains the right versions, e.g.:
"armv7-unknown-linux-gnueabihf")
    _archive="uv-armv7-unknown-linux-gnueabihf.tar.gz"
    if ! check_glibc "2" "17"; then
        _archive=""
    fi
    if [ -n "$_archive" ]; then
        echo "$_archive"
        return 0
    fi
    _archive="uv-armv7-unknown-linux-musleabihf.tar.gz"
    if [ -n "$_archive" ]; then
        echo "$_archive"
        return 0
    fi
    ;;
...
"aarch64-unknown-linux-gnu")
    _archive="uv-aarch64-unknown-linux-gnu.tar.gz"
    if ! check_glibc "2" "28"; then
        _archive=""
    fi
    if [ -n "$_archive" ]; then
        echo "$_archive"
        return 0
    fi
    _archive="uv-aarch64-unknown-linux-musl.tar.gz"
    if [ -n "$_archive" ]; then
        echo "$_archive"
        return 0
    fi
    ;;


Use Cursor::Pointer when hovering over Button

Usually buttons show that they are clickable by changing the cursor to a pointer.

This is a bit tricky; on macOS, for instance, the cursor does not switch to the pointer when a button is hovered.
To me this feels mostly like a web convention? Is it the default behaviour on windows or in gtk?

TIL, this does indeed only seem to be a web convention. I guess everything is web nowadays to the point where it felt weird for druid not to do it. But native Windows apps do indeed not seem to behave that way. I don't know how it is on Linux.

Maybe this can be a theme::BUTTON_CURSOR setting?

Also web doesn't use pointer cursor by default for <button>, see mdn button docs for demo


Shipping std and std.compat modules

This landed in LLVM 18, but it's still early days. Here's a recent thread about it. Might be good to have a separate package for it.
In any case, we need to solve the whole MacOS 10.13 situation first... 😑

This is now enabled by default as of libcxx 19: https://github.com/llvm/llvm-project/commit/19d2d3fe50c301272350d12c53c801b17e29e64e

This shipped in #195


Added initializeAnchorStateRegistry config. Update Fault Proof config

Added a new config flag initializeAnchorStateRegistry to skip the initialization of AnchorStateRegistry in the execution of Deploy.s.sol. This, can be initialized latter when the faultGameGenesisOutputRoot is known.
Also updated the config  template in config-vars-celo.sh to match OP Mainnet and Sepolia FaultProof config.

Hey @jcortejoso, what I'm not understanding here is how was this working for optimism? Because you need to have done the l1 deployments in order to generate the l2 genesis allocs, and here in order to call initializeAnchorStateRegistry you need to have the l2 genesis. So it seems like it could never have worked for them?

@piersy my understanding is that OP deployment has been different from us, and they introduced Fault Proofs in a posterior upgrade, so they can init the state to an arbitrary existing block:
This is initialized with the starting anchor for CANNON and PERMISSIONED_CANNON games set to block number 120059863 and output root 0x2694ac14dcf54b7a77363e3f60e6462dc78da0d43d1e2f058dbb6a1488814977.

I wonder for a migrated network in our case we could use a pre-migration block as anchor for the deployment. My concern if that can be risky because op-proposer may require archive data afaik.


Need to upgrade tnetstring from 0.2.0 to 0.2.1

The embedded tnetstring is 0.2.0
https://github.com/mitmproxy/mitmproxy/blob/master/libmproxy/tnetstring.py#L71
The latest is 0.2.1
https://github.com/rfk/tnetstring/blob/master/tnetstring/__init__.py#L51
Perhaps we should consider depending on the package rather than embedding the library.
I encountered an obscure tnetstring error and I thought I should spend my effort working on the tnetstring library rather that some obsolete embedded version.
Also, depending on the library will allow some users to use the _tnetstring.c performance improvements.
Maybe, if necessary we could host a forked version of the library at
https://github.com/mitmproxy/tnetstring if there are mitmproxy specific changes, and that is why the library was embedded in the first place.
Thoughts?

Thanks for the suggestion!

The latest is 0.2.1

There are no code changes between 0.2.1 and 0.2.0 for the Python version: https://github.com/rfk/tnetstring/compare/v0.2.0...master

Perhaps we should consider depending on the package rather than embedding the library.

I would do that immediately, but there's no binary wheel on PyPI and the installation does not degrade gracefully if no compiler is present. Thus, you wouldn't be able to pip install mitmproxy (on Windows) without having a compiler installed

Also, depending on the library will allow some users to use the _tnetstring.c performance improvements.

See above.

Maybe, if necessary we could host a forked version of the library at
https://github.com/mitmproxy/tnetstring if there are mitmproxy specific changes, and that is why the library was embedded in the first place.

Casually diffing against the official 0.2.0, the only additions seems to be a file.flush(), which we could certainly move out of the library.
Another thing to keep in mind is that there's no Python 3.5-compatible tnetstring version available. So, we probably need to switch (or fix the existing implementation) at some point.
You're very welcome to tackle any of the issues mentioned above. :smiley:
If someone provides OSX and Windows wheels (or gracefully degrading source distributions) that maybe would even be Py3-compatible, I'd be happy to switch to that.

I'm closing this for now because we (as the core dev team) don't intend to make any changes here rather soon. Nonetheless, we welcome external contributions for this! :smiley:


TypeError: Cannot call method 'resolve' of null

I am seeing this error occasionally,
where it couldn't resolve the promise in case of a socket error and throws a TypeError.
From my logs, i could see the connection is re-established and the notifications are getting pushed, but the notification doesn't gets transmitted to few devices when i see this error. Maybe few device ids is lost in a broken pipe?
Any idea why this occurs ?
2015-07-13T07:14:42.861Z - TypeError: Cannot call method 'end' of undefined
2015-07-13T07:14:42.888Z - Socket Error occurred
2015-07-13T07:14:42.907Z - Socket Error : Error: Connect timed out
...
...
2015-07-13T07:14:46.500Z - TypeError: Cannot call method 'resolve' of null

Are you definitely running the latest version of node-apn? The top error you quote currently has a guard around it so the method end should not be called if it is undefined.

I am using 1.7.3. Upgrading it to 1.7.4 should get rid of it?

It should do, yes.

I'm going to close this as I assume the problem is now resolved. Feel free to reopen if you are still seeing it.


Match dimensions for Financial Statement Values

For filing
filing = Filing(company='GENERAL DYNAMICS CORP', cik=40533, form='10-Q', filing_date='2024-07-24',
                    accession_no='0000040533-24-000035')

The values are all dimensioned and so we need to match the dimension with the label

Fixed


Update diagnose-connection-problems-with-the-skype-for-business-online-connector.md

fix the numbers associated with the skype for business remote powershell tenant level quota.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Publish lambda layer as part of each build

Have the github pipeline create and publish a "lambda layer" zip file too.
From my experience with lambda, this would need to be created with the "zip" utility (not gzip).
This was a follow on ticket related to #874.
When this is available, we should note it in the docs section here.  Seems like the section could be simplified a little too.

@abetones, I'm adding a documentation tag as a reminder to rework the lambda section in the docs (https://appscope.dev/docs/library-using/) per this update...

The first attempt didn't work in lambda, so we reworked it.
The first attempt was done on a branch named  feat/964-publish-lambda-layer
The second attempt was done on a branch named feat/964-publish-lambda-layer-2


Setup Kanban projects board

Setup Kanban projects board

[ ] automate moving tasks from Todo to In Progress when linked to a branch or PR

[ ]  automate moving tasks from Todo to In Progress when linked to a branch or PR

as of right now, this looks infeasible


Registry with S3 backend returns 404

We're running a private registry which uses S3 as backend storage, version 2.0.1.
We have several issues, the most recent is that pulling images are barely working.
I've created a new registry instance, and started to pull the same image from several clients.
There are a few HTTP 200s in the log but then 404s start to appear and then all pull requests fail.
For the 404s I have a few different error in the log:

error fetching signature from \"/docker/registry/v2/repositories/<image_name>/_manifests/revisions/sha256//signatures/sha256//link\": The request signature we calculated does not match the signature you provided. Check your key and signing method.
error fetching signature from : net/http: transport closed before response was received\

Upgrading to 2.1.1 we got the manifest unknow errors like in #861
$ docker version
Client version: 1.7.0
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 0baf609
OS/Arch (client): linux/amd64
Server version: 1.7.0
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 0baf609
OS/Arch (server): linux/amd64

The same setup works in another environment. Any clues what should I look at?

2.1.1 fixed #861
If things work well in another environment, it's quite likely the problem is with the environment itself.
That being said, I need more information to provide any valuable feedback, specifically things listed here:
https://github.com/docker/distribution/blob/master/CONTRIBUTING.md#if-you-have-not-found-an-existing-issue-that-describes-your-problem
Be sure to include registry logs at the moment you got failure, and also docker daemon logs at the same moment.
Any other details about your specific setup (proxy? load balancers?) and associated error logs might help.

I know #861 was fixed by 2.1.1, that's what I wanted to point out, that I'm hitting the same or a very similar bug with same symptoms.
 When I'm pulling from a single client, everything is fine. But in our system we have 20-40 nodes launching 10-20 containers per node quite frequently, and after a while errors start to appear in the log. The registry has a few thousand connection to S3 (I saw values between 4K and 20K). Getting logs from the docker daemons corresponding with logs from the registry would be quite difficult.

Our setup runs on AWS, the clients are connecting to an elastic load balancer, which in turn connects to an nginx instance proxying request to the registry's container.

For the sake of testing I have launched a few more registry instances, and that has reduced the errors significantly.

Thank you @akerekes
About fetching the logs, wouldn't docker logs registry_container get you these?
ping @docker/distribution-maintainers here.
error fetching signature from : net/http: transport closed before response was received is interesting.

@akerekes : just to clarify.  You are only seeing these errors under load?  If that is the case #861 is not your issue.  You would receive 404 errors 100% of the time if you were.
Unfortunately, our vendored s3 library does not reuse TCP connections which would explain what you are seeing in regards to S3.  I wonder if AWS is closing them on you due to this.

@dmp42 yeah, I thought fetching the logs from the clients would be difficult: finding correlation logs in the registry log and one of the clients logs (having many request per minute). I have some error messages from the registry container log.
@RichardScothern I guess then it must be because of the s3 library. What I saw is that two registry instances were producing close the 50% error responses, but then scaling them up to 10 has basically made the errors disappear. Scaling down after a while and the errors did not reappear, not sure why. We're trying to reproduce the high-load scenario and hopefully see the 404s reappearing.
Here are the error messages I saw at the registry:
{"log":"time=\"2015-08-14T14:45:08.542589846Z\" level=warning msg=\"the ResponseWriter does not implement CloseNotifier\" environment=dev http.request.host=XXXXX http.request.id=2b24191e-495d-4f6b-908e-1bf6a4d4bb11 http.request.method=PUT http.request.remoteaddr=<IP_ADDRESS> http.request.uri=\"/v2/XXXXX/blobs/uploads/da0165d1-8735-41b8-8722-187af8f7752e?_state=XR-daVPRU_EeHkCQ6pMzUUGWD5sytIOneFhgVSiHfZp7Ik5hbWUiOiJjb250ZW50LnB5IiwiVVVJRCI6ImRhMDE2NWQxLTg3MzUtNDFiOC04NzIyLTE4N2FmOGY3NzUyZSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAxNS0wOC0xNFQxNDo0NDo1NC4zODAxMDY0OThaIn0%3D\u0026digest=sha256%3Ae6589ada9c3d80f584fbbe185adf4f00de5a798e2cc8ac29972d1d7beb1261fe\" http.request.useragent=\"docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.13.0-46-generic os/linux arch/amd64\" instance.id=7249bedf-8152-4edd-9e6b-11f5a005d385 service=registry vars.name=content.py vars.uuid=da0165d1-8735-41b8-8722-187af8f7752e version=v2.1.1 \n","stream":"stdout","time":"2015-08-14T14:45:08.54295055Z"}

{"log":"time=\"2015-08-14T14:37:51.448007979Z\" level=error msg=\"response completed with error\" environment=dev err.code=\"MANIFEST_UNKNOWN \" err.detail=\"Get https://s3.amazonaws.com/XXXXX/registry/docker/registry/v2/repositories/XXXXX/_manifests/r evisions/sha256/8a03dbad664a66199e26f3dfffc9fbfedbab234861e1277d895db2b73b2c0d9f/signatures/sha256/ddf873addee2023c813fbfa8f193df6b3f85aab887 ee0d7bbce1719d502f8e0f/link?X-Amz-Security-Token=XXXXX: net/http: transport closed before response was received\" err.message=\"manifest un known\" http.request.host=XXXXX http.request.id=87a014fa-d781-4aeb-9b49-bfb642bd5246 http.request.method=GET http .request.remoteaddr=<IP_ADDRESS> http.request.uri=\"/v2/XXXXX/manifests/latest\" http.request.useragent=\"docker/1.7.1 go/go1.4.2 git-co mmit/786b29d kernel/3.13.0-46-generic os/linux arch/amd64\" http.response.contenttype=\"application/json; charset=utf-8\" http.response.durat ion=7m4.482973738s http.response.status=404 http.response.written=1133 instance.id=7249bedf-8152-4edd-9e6b-11f5a005d385 service=registry vars .name=XXXXX vars.reference=latest version=v2.1.1 \n","stream":"stdout","time":"2015-08-14T14:37:51.448230884Z"}

{"log":"time=\"2015-08-14T14:37:51.44725211Z\" level=error msg=\"response completed with error\" environment=dev err.code=\"MANIFEST_UNKNOWN\ " err.detail=\"Get https://s3.amazonaws.com/XXXXX/registry/docker/registry/v2/repositories/XXXXX/_manifests/re visions/sha256/8a03dbad664a66199e26f3dfffc9fbfedbab234861e1277d895db2b73b2c0d9f/signatures/sha256/2e2f022f06aca8dce6297580ff2aab533c9026ea9ab 7a003ad794933bb314c57/link?X-Amz-Security-Token=XXXXX: EOF\" err.message=\"manifest unknown\" http.request.host=XXXXX http.request.id=8bef1c07-47d6-4ecc-93e4-37369f9e9e35 http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri=\"/ v2/XXXXX/manifests/latest\" http.request.useragent=\"docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.13.0-46-generic os/linux arch/a md64\" http.response.contenttype=\"application/json; charset=utf-8\" http.response.duration=7m4.477071993s http.response.status=404 http.resp onse.written=1133 instance.id=7249bedf-8152-4edd-9e6b-11f5a005d385 service=registry vars.name=XXXXX vars.reference=latest version=v2.1.1  \n","stream":"stdout","time":"2015-08-14T14:37:51.447438418Z"}

{"log":"time=\"2015-08-14T14:37:35.956105023Z\" level=error msg=\"error fetching signature \\\"sha256:2277607a0d5963146ea61b93a38a754252c31f7 c0624232bb002040d6c08b3d4\\\": Get https://s3.amazonaws.com/XXXXX/registry/docker/registry/v2/repositories/XXXXX/_manifests/revisions/sha256/8a03dbad664a66199e26f3dfffc9fbfedbab234861e1277d895db2b73b2c0d9f/signatures/sha256/2277607a0d5963146ea61b93a38 a754252c31f7c0624232bb002040d6c08b3d4/link?X-Amz-Security-Token=XXXXX: EOF\" environment=dev http.request.host=XXXXX http.request.id=245cdf02-d30f-494d-bfba-39792ccb5dea http.request.method=GET http.request.remoteaddr=<IP_ADDRESS> http.request.uri=\"/v 2/XXXXX/manifests/latest\" http.request.useragent=\"docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.13.0-46-generic os/linux arch/am d64\" instance.id=7249bedf-8152-4edd-9e6b-11f5a005d385 service=registry vars.name=XXXXX vars.reference=latest version=v2.1.1 \n","stream ":"stdout","time":"2015-08-14T14:37:35.956328865Z"}

{"log":"time=\"2015-08-14T14:48:36.365509337Z\" level=error msg=\"response completed with error\" environment=dev err.code=\"BLOB_UNKNOWN\" err.detail=sha256:ba1be07a1643a89fa2a36066e070f1bb403c1248b2447e6b5958eeb23644392e err.message=\"blob unknown to registry\" http.request.host=XXXXX http.request.id=5544e737-5641-4905-8992-2c13ec6b8ded http.request.method=HEAD http.request.remoteaddr=<IP_ADDRESS> http.request.uri=\"/v2/XXXXX/blobs/sha256:ba1be07a1643a89fa2a36066e070f1bb403c1248b2447e6b5958eeb23644392e\" http.request.useragent=\"docker/1.7.1 go/go1.4.2 git-commit/786b29d kernel/3.13.0-46-generic os/linux arch/amd64\" http.response.contenttype=\"application/json; charset=utf-8\" http.response.duration=4.050964698s http.response.status=404 http.response.written=157 instance.id=7249bedf-8152-4edd-9e6b-11f5a005d385 service=registry vars.digest=\"sha256:ba1be07a1643a89fa2a36066e070f1bb403c1248b2447e6b5958eeb23644392e\" vars.name=XXXXX version=v2.1.1 \n","stream":"stdout","time":"2015-08-14T14:48:36.365630759Z"}

@akerekes : is this still an issue for you?

We implemented a workaround by installing docker registry to all our worker nodes locally thus distributing the load and since then we haven't seen this type of error.
Since then we haven't tested it with high load on a single instance so not sure whether it has been resolved or still exists.

OK, I'm closing this for now.  We have seen a lot of temporal S3 errors

For the records, because I seem to recall to find a cause for some of the error I'm linking here a libc bug and the corresponding golang issue which can cause connection errors under heavy load:
https://github.com/golang/go/issues/6336
https://sourceware.org/bugzilla/show_bug.cgi?id=15946
Also a workaround is described but it requires enabling the pure-go resolver by rebuilding the standard library with it turned on. Being a go beginner, not sure if it only means rebuilding go on the host or also rebuilding the registry code is required.

@akerekes That is a nasty bug but could explain some behavior we've seen in certain systems, with and without the registry.
We may opt for the pure Go resolver when we upgrade to using Go 1.5 by default.


Drag & drop image to Add new button to add new field

Is it any way we can make it so when user Drags & Drops an image to add new button, it generate a new field/nested_form with image inside input field?

Never tried that. It is not something cocoon supports out of the box, if that is what you are asking. Better look at something like dropzone.js in that case.
Nevertheless I think it should be possible. Something like:

add a link_to_add_association button
listen for a drop event on the button

When a drop occurs:

trigger the click event of the button
in the after-insert callback you set the input field to the dropped contents (file/image?)

Anyway, better ask such a question on stackoverflow.com where you will can get more relevant help sooner.

Thank you for your help 👍


I can't see  'Flutter's mode' wiki

Hi~
I see a compiling the flutter engine for ios.
3rd - For a discussion on the various flags and modes, see Flutter's mode.
(https://github.com/flutter/flutter/wiki/Compiling-the-engine)
click Flutter's mode link but can' see and do not have permission.
Would you give me view permission for Flutter's mode??
Thank you Flutter Team!

You don't need permission to visit this wiki

Thank you @kangwang1988  👍


can't install 0.4.3

I have the same issue with shrink image width like issue : #44  with 0.4.2
I should update , but I've got  error : Cause 1: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find io.github.team-preat:peekaboo-ui:0.4.3.
Required by:
project :composeApp
Cause 2: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find io.github.team-preat:peekaboo-image-picker:0.4.3.
Required by:
project :composeApp

Hi @masterofdaemon, you might have used io.github.team-preat as the group id, but now you need to update your Gradle dependencies to use the new group id, which is io.github.onseok.


SwaggerOperation

[Route("api/[controller]")]
public class ProductController : Controller
{
    [HttpGet("list")]
    [SwaggerOperation(Tags = new[] { "111" })]
    [ProducesResponseType(typeof(ApiResult<IList<Product>>), 200)]
    public ApiResult<IList<Product>> List()

  I have used SwaggerOperation and the tag is "111"

In the version 2.5,    it's ok.In the version 3.0,It's not work
http://chuantu.biz/t6/341/1531452819x-1404781126.png

Did you explicitly enable annotations (i.e. c.EnableAnnotations) in Startup.cs as per the docs?

You should find how to enable annotations here: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/README.md#swashbuckleaspnetcoreannotations


Changed the support library version

Fixes so that it is compatible with phonegap-plugin-push

v4 and v13 are different libraries, so not sure why your fix is to change one for the other.
I don't think the plugin really uses v4, but it neither needs v13.
phonegap-plugin-push uses v13, but it's default value is 27.+ too, not sure why you change it to 26 here.
Anyway, those are just default values, you can set those versions by using preferences in your config.xml for ANDROID_SUPPORT_V4_VERSION and ANDROID_SUPPORT_V13_VERSION and set the version you want to use.


dsc_script - can't pass a variable created by ps_credential to flags

Description
See #5640
Copy of that issue below:
'Invalid argument type' error is returned when the dsc_script resource is used with the 'command' property & a 'flags' property that contains a Chef::Util::Powershell::PSCredential type.
/lib/chef/util/powershell/cmdlet.rb is what is disallowing this.
There are 2 workarounds I'm aware of, both of which aren't very desirable for how I'm using chef/dsc:

Don't use a .ps1 as a command.  I prefer to keep my DSC resources in external .ps1 files that I keep in \files\default in my cookbook for portability reasons (I use these in other environments not currently being managed by chef).
Pass the userid/password as strings to flags.  For now I'm storing creds encrypted in a vault & decrypting them in my recipe, setting PSDscAllowPlainTextPassword = $true in configuration data, but this isn't secure & the password ends up appearing in the logs if dsc_script fails & in the temp mof files.

Chef Version
Chef 12.16.42
Platform Version
Tested on Server 2012R2 & Server 2016
Replication Case
Sample recipe:
creds_pso = ps_credential('domain\user', 'password')
dsc_script 'doathing' do
 command "C:\dscscripts\doathing.ps1"
 flags ({:cred => creds_pso})
 configuration_data <<-EOH
  @{
   AllNodes = @(
    @{
    NodeName = "localhost";
    PSDscAllowDomainUser = $true
    })
   }
   EOH
end

doathing.ps1:
Configuration doathing {
 param (
  [System.Management.Automation.PSCredential] $cred
 )
 Import-DscResource -ModuleName PSDesiredStateConfiguration

 Node $AllNodes.Nodename {
  Group AddDomainUserToLocalGroup {
   GroupName = 'AGroup'
   MembersToInclude = 'domain\anotheruser'
   Credential = $cred
  }
 }
}

Client Output
[2016-12-09T15:01:41-05:00] INFO: Processing dsc_script[doathing] action run (mycookbook::default line 37)
[2016-12-09T15:01:41-05:00] ERROR: DSC operation failed: Invalid argument type `Chef::Util::Powershell::PSCredential` specified for PowerShell switch `:admincreds`. Arguments to PowerShell must be of type `String`, `Numeric`, `Float`, `FalseClass`, or `TrueClass`

Stacktrace
attached
chef-stacktrace.zip
NOTE: CHEF CLIENT BUGS ONLY
This issue tracker is for the code contained within this repo -- chef-client, base knife functionality (not
plugins), chef-apply, chef-solo, chef-client -z, etc.

Server issues
ChefDK issues
Cookbook Issues (see the https://github.com/chef-cookbooks repos or search Supermarket or GitHub/Google)

Can you describe what you think the API should look like here? Should it just be as simple as allowing a ps_creds object to be passed in to flags and some magic expansion happens, or is there something we could do better?
I'll note in passing that adding the sensitive property to your resources should alleviate some of the concerns you have around logging.

I'm looking for dsc_script to be able to accept a flag of type Chef::Util::Powershell::PSCredential when used with command, the same way that dsc_script supports using a ps_credential variable in a code block (see https://github.com/chef/chef/pull/3772 for an example).
https://github.com/chef/chef/blob/master/lib/chef/util/powershell/cmdlet.rb lines 128-140 show that you support Numeric, Float, FalseClass, TrueClass, and Strings as flags.  I'd like to see Chef::Util::Powershell::PSCredential added.
Based on https://docs.chef.io/resource_common.html the sensitive property only works with 3 chef resources: execute, file, and template.

I'm going to close this issue out at this point. Sensitive works on all resources and passing objects into the resource like this isn't something the team would be building. If someone in the community wants to propose extending the resource with additional auth options that's something we'd be interested in, but not something we'd be building outselves.