Added a function to parse the Jodrell Bank glitch catalogue

I have added a function get_glitch_catalogue that parses the Jodrell Bank glitch catalogue.

Hello @mattpitkin! Thanks for submitting the PR.

In the file psrqpy/config.py, following are the PEP8 issues :

Line 9:101: E501 line too long (104 > 100 characters)
Line 10:101: E501 line too long (112 > 100 characters)
Line 11:101: E501 line too long (126 > 100 characters)
Line 13:101: E501 line too long (111 > 100 characters)
Line 13:112: W291 trailing whitespace
Line 23:35: W291 trailing whitespace
Line 24:101: E501 line too long (151 > 100 characters)
Line 27:101: E501 line too long (180 > 100 characters)
Line 35:101: E501 line too long (155 > 100 characters)
Line 36:101: E501 line too long (136 > 100 characters)
Line 37:101: E501 line too long (119 > 100 characters)
Line 38:101: E501 line too long (134 > 100 characters)
Line 39:101: E501 line too long (129 > 100 characters)
Line 40:101: E501 line too long (153 > 100 characters)
Line 41:101: E501 line too long (135 > 100 characters)
Line 42:101: E501 line too long (119 > 100 characters)
Line 43:101: E501 line too long (141 > 100 characters)
Line 44:101: E501 line too long (126 > 100 characters)
Line 45:101: E501 line too long (125 > 100 characters)
Line 46:101: E501 line too long (156 > 100 characters)
Line 47:101: E501 line too long (141 > 100 characters)
Line 48:101: E501 line too long (126 > 100 characters)
Line 49:101: E501 line too long (125 > 100 characters)
Line 50:101: E501 line too long (131 > 100 characters)
Line 51:101: E501 line too long (127 > 100 characters)
Line 52:101: E501 line too long (200 > 100 characters)
Line 53:101: E501 line too long (142 > 100 characters)
Line 54:101: E501 line too long (141 > 100 characters)
Line 55:101: E501 line too long (185 > 100 characters)
Line 56:101: E501 line too long (256 > 100 characters)
Line 57:101: E501 line too long (134 > 100 characters)
Line 58:101: E501 line too long (186 > 100 characters)
Line 59:101: E501 line too long (210 > 100 characters)
Line 60:101: E501 line too long (148 > 100 characters)
Line 61:101: E501 line too long (201 > 100 characters)
Line 62:101: E501 line too long (119 > 100 characters)
Line 63:101: E501 line too long (145 > 100 characters)
Line 64:101: E501 line too long (150 > 100 characters)
Line 65:101: E501 line too long (150 > 100 characters)
Line 66:96: E261 at least two spaces before inline comment
Line 66:101: E501 line too long (210 > 100 characters)
Line 67:101: E501 line too long (230 > 100 characters)
Line 68:101: E501 line too long (157 > 100 characters)
Line 69:101: E501 line too long (127 > 100 characters)
Line 70:101: E501 line too long (140 > 100 characters)
Line 71:101: E501 line too long (113 > 100 characters)
Line 72:101: E501 line too long (123 > 100 characters)
Line 73:101: E501 line too long (143 > 100 characters)
Line 74:101: E501 line too long (148 > 100 characters)
Line 75:101: E501 line too long (136 > 100 characters)
Line 76:101: E501 line too long (144 > 100 characters)
Line 77:101: E501 line too long (138 > 100 characters)
Line 78:101: E501 line too long (144 > 100 characters)
Line 79:15: E124 closing bracket does not match visual indentation
Line 85:98: E261 at least two spaces before inline comment
Line 85:101: E501 line too long (136 > 100 characters)
Line 86:98: E261 at least two spaces before inline comment
Line 86:101: E501 line too long (154 > 100 characters)
Line 87:98: E261 at least two spaces before inline comment
Line 87:101: E501 line too long (135 > 100 characters)
Line 88:98: E261 at least two spaces before inline comment
Line 88:101: E501 line too long (155 > 100 characters)
Line 89:98: E261 at least two spaces before inline comment
Line 89:101: E501 line too long (162 > 100 characters)
Line 90:98: E261 at least two spaces before inline comment
Line 90:101: E501 line too long (161 > 100 characters)
Line 91:98: E261 at least two spaces before inline comment
Line 91:101: E501 line too long (163 > 100 characters)
Line 92:98: E261 at least two spaces before inline comment
Line 92:101: E501 line too long (162 > 100 characters)
Line 93:98: E261 at least two spaces before inline comment
Line 93:101: E501 line too long (162 > 100 characters)
Line 94:98: E261 at least two spaces before inline comment
Line 94:101: E501 line too long (164 > 100 characters)
Line 95:98: E261 at least two spaces before inline comment
Line 95:101: E501 line too long (163 > 100 characters)
Line 96:98: E261 at least two spaces before inline comment
Line 96:101: E501 line too long (162 > 100 characters)
Line 97:98: E261 at least two spaces before inline comment
Line 97:101: E501 line too long (134 > 100 characters)
Line 98:98: E261 at least two spaces before inline comment
Line 98:101: E501 line too long (128 > 100 characters)
Line 99:98: E261 at least two spaces before inline comment
Line 99:101: E501 line too long (158 > 100 characters)
Line 100:98: E261 at least two spaces before inline comment
Line 100:101: E501 line too long (148 > 100 characters)
Line 101:98: E261 at least two spaces before inline comment
Line 101:101: E501 line too long (158 > 100 characters)
Line 102:98: E261 at least two spaces before inline comment
Line 102:101: E501 line too long (157 > 100 characters)
Line 103:98: E261 at least two spaces before inline comment
Line 103:101: E501 line too long (158 > 100 characters)
Line 104:98: E261 at least two spaces before inline comment
Line 104:101: E501 line too long (157 > 100 characters)
Line 105:98: E261 at least two spaces before inline comment
Line 105:101: E501 line too long (157 > 100 characters)
Line 106:98: E261 at least two spaces before inline comment
Line 106:101: E501 line too long (159 > 100 characters)
Line 107:98: E261 at least two spaces before inline comment
Line 107:101: E501 line too long (158 > 100 characters)
Line 108:98: E261 at least two spaces before inline comment
Line 108:101: E501 line too long (157 > 100 characters)
Line 109:98: E261 at least two spaces before inline comment
Line 109:101: E501 line too long (126 > 100 characters)
Line 110:98: E261 at least two spaces before inline comment
Line 110:101: E501 line too long (314 > 100 characters)
Line 111:98: E261 at least two spaces before inline comment
Line 111:101: E501 line too long (160 > 100 characters)
Line 112:98: E261 at least two spaces before inline comment
Line 112:101: E501 line too long (255 > 100 characters)
Line 113:98: E261 at least two spaces before inline comment
Line 113:101: E501 line too long (174 > 100 characters)
Line 114:98: E261 at least two spaces before inline comment
Line 114:101: E501 line too long (134 > 100 characters)
Line 115:98: E261 at least two spaces before inline comment
Line 115:101: E501 line too long (135 > 100 characters)
Line 116:98: E261 at least two spaces before inline comment
Line 116:101: E501 line too long (135 > 100 characters)
Line 117:98: E261 at least two spaces before inline comment
Line 117:101: E501 line too long (120 > 100 characters)
Line 118:98: E261 at least two spaces before inline comment
Line 118:101: E501 line too long (120 > 100 characters)
Line 119:98: E261 at least two spaces before inline comment
Line 119:101: E501 line too long (120 > 100 characters)
Line 120:98: E261 at least two spaces before inline comment
Line 120:101: E501 line too long (120 > 100 characters)
Line 121:98: E261 at least two spaces before inline comment
Line 121:101: E501 line too long (120 > 100 characters)
Line 122:98: E261 at least two spaces before inline comment
Line 122:101: E501 line too long (121 > 100 characters)
Line 123:98: E261 at least two spaces before inline comment
Line 123:101: E501 line too long (121 > 100 characters)
Line 124:98: E261 at least two spaces before inline comment
Line 124:101: E501 line too long (121 > 100 characters)
Line 125:98: E261 at least two spaces before inline comment
Line 125:101: E501 line too long (121 > 100 characters)
Line 126:98: E261 at least two spaces before inline comment
Line 126:101: E501 line too long (121 > 100 characters)
Line 127:98: E261 at least two spaces before inline comment
Line 127:101: E501 line too long (121 > 100 characters)
Line 128:98: E261 at least two spaces before inline comment
Line 128:101: E501 line too long (121 > 100 characters)
Line 129:98: E261 at least two spaces before inline comment
Line 129:101: E501 line too long (122 > 100 characters)
Line 130:98: E261 at least two spaces before inline comment
Line 130:101: E501 line too long (122 > 100 characters)
Line 131:98: E261 at least two spaces before inline comment
Line 131:101: E501 line too long (122 > 100 characters)
Line 132:98: E261 at least two spaces before inline comment
Line 132:101: E501 line too long (122 > 100 characters)
Line 133:98: E261 at least two spaces before inline comment
Line 133:101: E501 line too long (122 > 100 characters)
Line 134:98: E261 at least two spaces before inline comment
Line 134:101: E501 line too long (120 > 100 characters)
Line 135:98: E261 at least two spaces before inline comment
Line 135:101: E501 line too long (120 > 100 characters)
Line 136:98: E261 at least two spaces before inline comment
Line 136:101: E501 line too long (120 > 100 characters)
Line 137:98: E261 at least two spaces before inline comment
Line 137:101: E501 line too long (121 > 100 characters)
Line 138:98: E261 at least two spaces before inline comment
Line 138:101: E501 line too long (121 > 100 characters)
Line 139:101: E501 line too long (120 > 100 characters)
Line 140:14: E124 closing bracket does not match visual indentation
Line 145:101: E501 line too long (309 > 100 characters)
Line 146:101: E501 line too long (121 > 100 characters)
Line 147:101: E501 line too long (126 > 100 characters)
Line 148:101: E501 line too long (137 > 100 characters)
Line 149:101: E501 line too long (129 > 100 characters)
Line 150:101: E501 line too long (108 > 100 characters)
Line 151:101: E501 line too long (144 > 100 characters)
Line 152:101: E501 line too long (129 > 100 characters)
Line 153:101: E501 line too long (129 > 100 characters)
Line 154:101: E501 line too long (173 > 100 characters)
Line 155:101: E501 line too long (139 > 100 characters)
Line 156:94: E261 at least two spaces before inline comment
Line 156:101: E501 line too long (110 > 100 characters)
Line 157:101: E501 line too long (118 > 100 characters)
Line 158:101: E501 line too long (146 > 100 characters)
Line 159:101: E501 line too long (146 > 100 characters)
Line 160:101: E501 line too long (172 > 100 characters)
Line 161:101: E501 line too long (151 > 100 characters)
Line 162:101: E501 line too long (156 > 100 characters)
Line 163:101: E501 line too long (156 > 100 characters)
Line 164:101: E501 line too long (138 > 100 characters)
Line 165:101: E501 line too long (138 > 100 characters)
Line 166:101: E501 line too long (148 > 100 characters)
Line 167:101: E501 line too long (133 > 100 characters)
Line 168:101: E501 line too long (164 > 100 characters)
Line 169:101: E501 line too long (138 > 100 characters)
Line 170:101: E501 line too long (146 > 100 characters)
Line 171:101: E501 line too long (137 > 100 characters)
Line 172:101: E501 line too long (120 > 100 characters)
Line 173:101: E501 line too long (135 > 100 characters)
Line 173:136: W291 trailing whitespace
Line 174:101: E501 line too long (144 > 100 characters)
Line 175:101: E501 line too long (125 > 100 characters)
Line 176:101: E501 line too long (125 > 100 characters)
Line 177:101: E501 line too long (137 > 100 characters)
Line 177:138: W291 trailing whitespace
Line 178:101: E501 line too long (133 > 100 characters)
Line 179:101: E501 line too long (138 > 100 characters)
Line 180:101: E501 line too long (146 > 100 characters)
Line 181:101: E501 line too long (137 > 100 characters)
Line 182:101: E501 line too long (120 > 100 characters)
Line 183:101: E501 line too long (135 > 100 characters)
Line 184:101: E501 line too long (144 > 100 characters)
Line 185:101: E501 line too long (119 > 100 characters)
Line 186:101: E501 line too long (121 > 100 characters)
Line 187:101: E501 line too long (133 > 100 characters)
Line 188:101: E501 line too long (133 > 100 characters)
Line 189:101: E501 line too long (148 > 100 characters)
Line 190:101: E501 line too long (168 > 100 characters)
Line 191:101: E501 line too long (149 > 100 characters)
Line 192:101: E501 line too long (125 > 100 characters)
Line 193:101: E501 line too long (137 > 100 characters)
Line 194:101: E501 line too long (137 > 100 characters)
Line 195:101: E501 line too long (124 > 100 characters)
Line 196:101: E501 line too long (140 > 100 characters)
Line 197:101: E501 line too long (154 > 100 characters)
Line 198:101: E501 line too long (148 > 100 characters)
Line 199:101: E501 line too long (140 > 100 characters)
Line 200:101: E501 line too long (151 > 100 characters)
Line 201:101: E501 line too long (139 > 100 characters)
Line 202:101: E501 line too long (139 > 100 characters)
Line 203:101: E501 line too long (153 > 100 characters)
Line 204:101: E501 line too long (133 > 100 characters)
Line 205:101: E501 line too long (159 > 100 characters)
Line 206:101: E501 line too long (159 > 100 characters)
Line 207:14: E124 closing bracket does not match visual indentation
Line 212:100: E261 at least two spaces before inline comment
Line 212:101: E501 line too long (140 > 100 characters)
Line 213:100: E261 at least two spaces before inline comment
Line 213:101: E501 line too long (141 > 100 characters)
Line 214:100: E261 at least two spaces before inline comment
Line 214:101: E501 line too long (139 > 100 characters)
Line 215:100: E261 at least two spaces before inline comment
Line 215:101: E501 line too long (167 > 100 characters)
Line 216:100: E261 at least two spaces before inline comment
Line 216:101: E501 line too long (137 > 100 characters)
Line 217:100: E261 at least two spaces before inline comment
Line 217:101: E501 line too long (138 > 100 characters)
Line 218:100: E261 at least two spaces before inline comment
Line 218:101: E501 line too long (130 > 100 characters)
Line 219:100: E261 at least two spaces before inline comment
Line 219:101: E501 line too long (144 > 100 characters)
Line 220:100: E261 at least two spaces before inline comment
Line 220:101: E501 line too long (167 > 100 characters)
Line 221:100: E261 at least two spaces before inline comment
Line 221:101: E501 line too long (130 > 100 characters)
Line 222:100: E261 at least two spaces before inline comment
Line 222:101: E501 line too long (143 > 100 characters)
Line 223:101: E501 line too long (142 > 100 characters)
Line 224:15: E124 closing bracket does not match visual indentation
Line 230:101: E501 line too long (113 > 100 characters)
Line 248:101: E501 line too long (106 > 100 characters)
Line 250:101: E501 line too long (117 > 100 characters)
Line 251:101: E501 line too long (111 > 100 characters)
Line 254:101: E501 line too long (122 > 100 characters)
Line 265:19: E124 closing bracket does not match visual indentation
Line 271:101: E501 line too long (131 > 100 characters)
Line 274:18: E124 closing bracket does not match visual indentation

In the file psrqpy/utils.py, following are the PEP8 issues :

Line 19:101: E501 line too long (105 > 100 characters)
Line 73:1: W293 blank line contains whitespace
Line 82:101: E501 line too long (101 > 100 characters)
Line 95:101: E501 line too long (110 > 100 characters)
Line 95:111: W291 trailing whitespace
Line 112:101: E501 line too long (105 > 100 characters)
Line 113:1: W293 blank line contains whitespace
Line 121:101: E501 line too long (110 > 100 characters)
Line 133:101: E501 line too long (114 > 100 characters)
Line 144:70: W291 trailing whitespace
Line 148:1: W293 blank line contains whitespace
Line 219:1: W293 blank line contains whitespace
Line 222:1: W293 blank line contains whitespace
Line 225:101: E501 line too long (119 > 100 characters)
Line 228:1: W293 blank line contains whitespace
Line 258:24: W291 trailing whitespace
Line 291:47: E261 at least two spaces before inline comment
Line 292:74: E261 at least two spaces before inline comment
Line 292:101: E501 line too long (143 > 100 characters)
Line 311:101: E501 line too long (114 > 100 characters)
Line 318:101: E501 line too long (136 > 100 characters)
Line 320:101: E501 line too long (148 > 100 characters)
Line 328:101: E501 line too long (113 > 100 characters)
Line 348:101: E501 line too long (137 > 100 characters)
Line 359:101: E501 line too long (155 > 100 characters)
Line 381:101: E501 line too long (120 > 100 characters)
Line 452:101: E501 line too long (117 > 100 characters)
Line 459:101: E501 line too long (142 > 100 characters)
Line 461:101: E501 line too long (125 > 100 characters)
Line 479:1: W293 blank line contains whitespace
Line 497:101: E501 line too long (107 > 100 characters)
Line 501:101: E501 line too long (103 > 100 characters)
Line 541:1: W293 blank line contains whitespace
Line 554:101: E501 line too long (110 > 100 characters)
Line 555:101: E501 line too long (115 > 100 characters)
Line 559:101: E501 line too long (101 > 100 characters)
Line 563:101: E501 line too long (110 > 100 characters)
Line 573:1: W293 blank line contains whitespace
Line 575:1: W293 blank line contains whitespace
Line 581:1: W293 blank line contains whitespace
Line 628:101: E501 line too long (141 > 100 characters)
Line 629:101: E501 line too long (124 > 100 characters)
Line 630:101: E501 line too long (106 > 100 characters)


⚠ SceneTime has degraded performance

In dd1eb3e, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2586 ms

Resolved: SceneTime performance has improved in 56d5f11 after 6 minutes.


metrics from http endpoint are invalid

In what area(s)?
/area runtime
What version of Dapr?
master
Expected Behavior
latency and request body size should show different number.
Actual Behavior
latency and request body size are same. both metric values keep increasing.

Steps to Reproduce the Problem

deploy dapr to AKS with azmonitor
apply the below configmap

kind: ConfigMap
apiVersion: v1
data:
  schema-version:
    #string.used by agent to parse config. supported versions are {v1}. Configs with other schema versions will be rejected by the agent.
    v1
  config-version:
    #string.used by customer to keep track of this config file's version in their source control/repository (max allowed 10 chars, other chars will be truncated)
    ver1
  log-data-collection-settings: |-
    # Log data collection settings
    # Any errors related to config map settings can be found in the KubeMonAgentEvents table in the Log Analytics workspace that the cluster is sending data to.
    [log_collection_settings]
       [log_collection_settings.stdout]
          # In the absense of this configmap, default value for enabled is true
          enabled = true
          # exclude_namespaces setting holds good only if enabled is set to true
          # kube-system log collection is disabled by default in the absence of 'log_collection_settings.stdout' setting. If you want to enable kube-system, remove it from the following setting.
          # If you want to continue to disable kube-system log collection keep this namespace in the following setting and add any other namespace you want to disable log collection to the array.
          # In the absense of this configmap, default value for exclude_namespaces = ["kube-system"]
          exclude_namespaces = ["kube-system"]
       [log_collection_settings.stderr]
          # Default value for enabled is true
          enabled = true
          # exclude_namespaces setting holds good only if enabled is set to true
          # kube-system log collection is disabled by default in the absence of 'log_collection_settings.stderr' setting. If you want to enable kube-system, remove it from the following setting.
          # If you want to continue to disable kube-system log collection keep this namespace in the following setting and add any other namespace you want to disable log collection to the array.
          # In the absense of this cofigmap, default value for exclude_namespaces = ["kube-system"]
          exclude_namespaces = ["kube-system"]
       [log_collection_settings.env_var]
          # In the absense of this configmap, default value for enabled is true
          enabled = true
       [log_collection_settings.enrich_container_logs]
          # In the absense of this configmap, default value for enrich_container_logs is false
          enabled = true
          # When this is enabled (enabled = true), every container log entry (both stdout & stderr) will be enriched with container Name & container Image
       [log_collection_settings.collect_all_kube_events]
          # In the absense of this configmap, default value for collect_all_kube_events is false
          # When the setting is set to false, only the kube events with !normal event type will be collected
          enabled = false
          # When this is enabled (enabled = true), all kube events including normal events will be collected
  prometheus-data-collection-settings: |-
    # Custom Prometheus metrics data collection settings
    [prometheus_data_collection_settings.cluster]
        # Cluster level scrape endpoint(s). These metrics will be scraped from agent's Replicaset (singleton)
        # Any errors related to prometheus scraping can be found in the KubeMonAgentEvents table in the Log Analytics workspace that the cluster is sending data to.
        #Interval specifying how often to scrape for metrics. This is duration of time and can be specified for supporting settings by combining an integer value and time unit as a string value. Valid time units are ns, us (or µs), ms, s, m, h.
        interval = "1m"
        ## Uncomment the following settings with valid string arrays for prometheus scraping
        #fieldpass = ["metric_to_pass1", "metric_to_pass12"]
        #fielddrop = ["metric_to_drop"]
        # An array of urls to scrape metrics from.
        # urls = ["http://myurl:9101/metrics"]
        # An array of Kubernetes services to scrape metrics from.
        # kubernetes_services = ["http://my-service-dns.my-namespace:9102/metrics"]
        # When monitor_kubernetes_pods = true, replicaset will scrape Kubernetes pods for the following prometheus annotations:
        # - prometheus.io/scrape: Enable scraping for this pod
        # - prometheus.io/scheme: If the metrics endpoint is secured then you will need to
        #     set this to `https` & most likely set the tls config.
        # - prometheus.io/path: If the metrics path is not /metrics, define it with this annotation.
        # - prometheus.io/port: If port is not 9102 use this annotation
        monitor_kubernetes_pods = true
        ## Restricts Kubernetes monitoring to namespaces for pods that have annotations set and are scraped using the monitor_kubernetes_pods setting.
        ## This will take effect when monitor_kubernetes_pods is set to true
        ##   ex: monitor_kubernetes_pods_namespaces = ["default1", "default2", "default3"]
        # monitor_kubernetes_pods_namespaces = ["default1"]
    [prometheus_data_collection_settings.node]
        # Node level scrape endpoint(s). These metrics will be scraped from agent's DaemonSet running in every node in the cluster
        # Any errors related to prometheus scraping can be found in the KubeMonAgentEvents table in the Log Analytics workspace that the cluster is sending data to.
        #Interval specifying how often to scrape for metrics. This is duration of time and can be specified for supporting settings by combining an integer value and time unit as a string value. Valid time units are ns, us (or µs), ms, s, m, h.
        interval = "1m"
        ## Uncomment the following settings with valid string arrays for prometheus scraping
        # An array of urls to scrape metrics from. $NODE_IP (all upper case) will substitute of running Node's IP address
        # urls = ["http://$NODE_IP:9103/metrics"]
        #fieldpass = ["metric_to_pass1", "metric_to_pass12"]
        #fielddrop = ["metric_to_drop"]
metadata:
  name: container-azm-ms-agentconfig
  namespace: kube-system

@jjcollinge I think http middleware has a bug. even prometheus shows increasing http latency metric value. Can you please reproduce it on your side? I'm digging into the problem now.

I saw this yesterday but haven’t had time to dig in - I won’t have time until Wednesday this week unfortunately. We can always fall back to custom metric registrations if we need to.

@jjcollinge Sorry for confusion. I think we need to use the right query to get the metrics correctly
https://github.com/improbable-eng/go-httpwares/blob/6144c42a79c9eb8333b7dd26d0674cdce4c724ce/metrics/prometheus/server.go#L33
even prometheus shows the same behavior. it is running as expected. I got the correct metric values from prometheus. let me figure it out the query on azure monitor.


feature: add sqlite storage

Adds sqlite storage option using libsql. better-sqlite3 doesn't play well with bun.
Fixes #11

I think an improvement here would be to make the table name configurable, or make it something much less likely to have a collision __openauth__kv_storage

made some changes but i think TTL is not respected? get/scan should not return values that have expired (maybe worth deleting those too on read)

Added one liner to cleanup expired rows on get/scan. Do we need something similar for memory storage as well to cleanup expired values?

sorry i should have been more explicit
i don't think we should run a cleanup on every call - i meant when we do a get we should check if it's expired and delete it and not return it
similarly with scan, if we come across an expired value we should delete it
it's not necessary so i'll merge even without that just as long as the adapter is not returning expired values

btw i just pushed a basic set of tests, maybe can try them with the sql adapter


Improve readability of function _check_token in django/middleware/csrf.py

@lokesh1729 Thanks for this patch :+1: However, this change doesn't increase readability, IMO. Moreover we're going to rewrite it in #14776.


question about Model D training

Awesome work, Congratulations!
I have some questions about the Model D training.
1、In this model，Pre-train with [Mask,Concept]，this concept means the text embeddings(2560 categories)? Than how get this  concept to 1B masks?
2、In this paper, get 2.25TB image embedding.  How use this data?

Hi, @jetyingjia

Each mask has an pre-computed image embedding for encoding target via encode_tgt(...)
2.25TB image embedding database contains 1B embeddings for 1B masks, used in 1.

Hi， @PhyscalX
1、This means the model D‘s classify branch target is the concept distribution（image embeeding project to 2560-dimension distribution logits), not the region pseudo label(many paper use pseudo label, eg：OWL)
2、The idea of learn the concept distribution, have other paper recommended?
Thank you!

We have clarified that we use KL divergence loss in Sec 3.1.
This method is used by many CLIP-based distillation papers (e.g. RegionCLIP, a modified Faster R-CNN
for Open-Vocabulary Classification). However, it is challenging to integrate this method into SAM with 1B masks.

@PhyscalX
Good idea，Do you have the plan to release the full project(including training)?  As I want to fine-tune this model in my datasets.

Refer to issue #5, currently, we have no plan to release the full code.
Instead, we have released the visual prompter and losses for pre-training and fine-tuning.


IGNITE-8547 Use JVM serialization for enum values with OptimizedMarsh…

…aller, avoid deadlock.

Looks good, but I would like to see a code comment on why do we handle enums specially.


Remove --promql-enable-feature in 0.8.0

See https://github.com/timescale/promscale/pull/896.

Done by #964


Spring Vault documentation broken link

The Token Lifecycle chapter has a bullet list with tokens:

The second list item LoginToken is broken and points to non-existing JavaDoc page

That's fixed now and will become visible after releasing our documentation.


Remove old proto dependencies

These protoc plugin imports are no longer requires since the
v1 proto generation is accomplished through the use a docker
image. That image controls the versions, this is just a
cleanup commit.
Ref #12931
Signed-off-by: Glib Smaga<EMAIL_ADDRESS>

The "go-mod" GitHub action failure looks real (https://github.com/cilium/cilium/runs/1087913955). Seems like something stripped whitespaces in vendor/github.com/envoyproxy/protoc-gen-validate/validate/validator.py). Otherwise LGTM.

❯ go mod tidy && go mod vendor
❯ gs
On branch pr/glibsm/old-proto-deps
Your branch is up to date with 'origin/pr/glibsm/old-proto-deps'.

nothing to commit, working tree clean

test-me-please

test-me-please

retest-4.9

retest-runtime


Fix buffer init leading to incomplete requests.

I've discovered, that the new bunched request feature sometimes screws up the request. Initialising the buffers fixes it.

I've found that the usage of snprintf is not ok. I think it is the real reason.
Case detail: buffer length equals to data what to write.

I've fixed it~


Enhancement contacts

add profileImages to contacts

Coverage decreased (-0.1%) to 37.959% when pulling 34ed142b87dba4086c32237ee39c3fe1fd6e392b on embbnux:enhancement-contacts into a8d423328704ededd0f0b2b5f4c33ecbd7353650 on ringcentral:master.


LUCENE-9962: Allow DrillSideways sub-classes to provide their own "drill down" facet counting implementation (or null).

Description
This change allows users to sub-class DrillSideways and override the logic for creating a "drill down" FacetsCollector/FacetsCollectorManager. This is useful if the user doesn't want to collect for drill downs (e.g., they can provide null), or if they're already collecting for drill downs in a custom Collector/CollectorManager that's already being provided to search. In the latter case, they may want to override these methods to return null so they don't wastefully collect for drill downs twice (once in their customer collector and again internally to DrillSideways).
Solution
DrillSidewaysQuery/DrillSidewaysScorer already support a null drill down FacetsCollector so this is as simple as modifying DrillSideways itself. I added protected methods for creation of the drill down collectors, allowing sub-classes to override.
Tests
Added new tests to test a sub-classed DrillSideways that provides null collectors.
Checklist
Please review the following and check all that apply:

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

Why is Gradle precommit check failing after 0 seconds here?  I tried to poke through and find a log or something but failed.

@mikemccand as for the gradle check, I think something was busted temporarily. I noticed a number of failing workflows during that time. It's now passed for this.


Migrate away from @emotion/react

Seeing the css`` syntax everywhere makes me want to kill myself.  Let's get rid of it.

I've also removed usage of @emotion/styled.  Yay less devdependencies!

#28


ci: more tests

:notebook: Overview
Adds more tests. Further removes old staking returned rich errors.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 28 (39.29%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.2%) to 42.77%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/staking/GrgVault.sol
2
3
66.67%

contracts/staking/StakingProxy.sol
1
2
50.0%

contracts/staking/libs/LibSafeDowncast.sol
2
3
66.67%

contracts/staking/sys/MixinParams.sol
0
1
0.0%

contracts/staking/libs/LibFixedMath.sol
0
13
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
2.2%

Covered Lines:
500

Relevant Lines:
1061

💛  - Coveralls


Validation for subscriptions in schema.Exec

I've added validation for subscriptions in scheme.Exec which is invalid. I also added unit test for it.
PR for https://github.com/graph-gophers/graphql-go/issues/348.

Thank you for your contribution!


Geode 3993 remove setPoolName from DataInput/OutputInternal

Looking for feed back to see if this is any better than what was there (no reference wrapper now)
DataOutputInternal::setPoolName was used pretty far from where it DataOutput is created, so not sure we caught every case.

Rebased and forced!

Unit tests are failing. Back to the drawing board.

rebased to resolve conflicts


cmake build system works wrong with cmake version 3.15.5

Describe the bug
When I update to the newest master branch of zephyr, the build system seems work wrong.
There must be some changes in build system these days, when I using an other branch which hundreds
commits behind the newest master branch, it works fine.
And When I update my cmake to version 3.17.3, and the problem fixed.
as zephyr project required cmake_minimum_required(VERSION 3.13.1), so I think this is a bug.
https://github.com/zephyrproject-rtos/zephyr/blob/a043d48c54726082521f3e335d807dc649cc02f3/cmake/app/boilerplate.cmake#L20-L29
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -GNinja -DBOARD=nsim_em ..
See error

Logs and console output
cmake -GNinja -DBOARD=nsim_em ..
Including boilerplate (Zephyr base): C:/Users/zhiwei/Desktop/module/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world
-- Zephyr version: 2.3.99 (C:/Users/zhiwei/Desktop/module/zephyr)
-- Found Python3: C:/Python/Python37/python3.exe (found suitable exact version "3.7.1") found components:  Interpreter
-- Board: nsim_em
-- Found west: C:/Python/Python37/Scripts/west.exe (found suitable version "0.7.2", minimum required is "0.7.1")
-- Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: cross-compile (C:/arc_gnu/bin/arc-elf32-)
-- Found BOARD.dts: C:/Users/zhiwei/Desktop/module/zephyr/boards/arc/nsim/nsim_em.dts
-- Generated zephyr.dts: C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world/build.nsim_em/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world/build.nsim_em/zephyr/include/generated/devicetree_unfixed.h
Parsing C:/Users/zhiwei/Desktop/module/zephyr/Kconfig
Loaded configuration 'C:/Users/zhiwei/Desktop/module/zephyr/boards/arc/nsim/nsim_em_defconfig'
Merged configuration 'C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world/prj.conf'
Configuration saved to 'C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world/build.nsim_em/zephyr/.config'
Kconfig header saved to 'C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world/build.nsim_em/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.3.1
-- The CXX compiler identification is GNU 9.3.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/arc_gnu/bin/arc-elf32-gcc.exe
-- Cache files will be written to: C:\Users\zhiwei\AppData\Local/.cache/zephyr
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/CheckCCompilerFlag.cmake:41 (set):
  Syntax error in cmake code at
    C:/Program Files/CMake/share/cmake-3.15/Modules/CheckCCompilerFlag.cmake:41
  when parsing string
    -fmacro-prefix-map=C:\Users\zhiwei\Desktop\module=WEST_TOPDIR
  Invalid character escape '\U'.
Call Stack (most recent call first):
  ../../cmake/extensions.cmake:1340 (check_c_compiler_flag)
  ../../cmake/extensions.cmake:810 (check_compiler_flag)
  ../../cmake/extensions.cmake:1379 (zephyr_check_compiler_flag)
  ../../cmake/extensions.cmake:1355 (target_cc_option_fallback)
  ../../cmake/extensions.cmake:118 (target_cc_option)
  ../../CMakeLists.txt:343 (zephyr_cc_option)

-- Configuring incomplete, errors occurred!
See also "C:/Users/zhiwei/Desktop/module/zephyr/samples/hello_world/build.nsim_em/CMakeFiles/CMakeOutput.log".

Environment (please complete the following information):

OS: (Windows)
Toolchain (cross-compile)

I noticed this:
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/CheckCCompilerFlag.cmake:41 (set):
  Syntax error in cmake code at
    C:/Program Files/CMake/share/cmake-3.15/Modules/CheckCCompilerFlag.cmake:41
  when parsing string
    -fmacro-prefix-map=C:\Users\zhiwei\Desktop\module=WEST_TOPDIR
  Invalid character escape '\U'.

which is the root cause for your error, and has been fixed here:
https://github.com/zephyrproject-rtos/zephyr/pull/26783
Please fetch latest master.

Closed as already fixed here: https://github.com/zephyrproject-rtos/zephyr/pull/26783


add a test that waits for handshake completion after sending 0-RTT data

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2279   +/-   ##
======================================
  Coverage      86%     86%
======================================
  Files         108     108
  Lines        8074    8074
======================================
  Hits         6944    6944
  Misses        852     852
  Partials      278     278

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 07d76c5...e436b73. Read the comment docs.

Which other PR? This is just testing that HandshakeComplete() works, and we don't send out data intended for 1-RTT as 0-RTT.

Ah, okay, I thought thiss was related to the broken 0RTT support. Case in point, better explanation what the test checks would be helpful ;)


Fix variable and setting nodes not updating on type change

Fixes #2067
Fixes #2062 (Uses the proposed change in the issue)
May also fix #2063 , since I suspect a null value might be the product of the visual editor not generating the correct code
Changes

Made _value_type reset the value and force an editor refresh on change

Solves the issue of #2067 where changing the value type does not reset the value

Refactor event_variable and event_settings to use enums for their different value types to make the code easier to read
Refactor event_block to not call set_value on fields that are not visible. This prevents invisible fields from throwing errors when they get injected with the wrong data type in event nodes that have varying value types (such as event_variable and event_settings, whose value types can be strings, numbers, expressions, etc.)

This seems to work perfectly. Thank you very much!


Use a FieldBuilder type to define fields

Right now fields are defined like:
typeBuilder.AddField("friends", u => u.Friends)
Or, with arguments, like:
typeBuilder
  .AddField("friends", new { friendId = 0 },
    args => (db, u) => u.Friends.Where(f => f.Id == args.friendId))

Adding a FieldBuilder would allow throwing more options on the fields without having a crazy method signature. Ideally, either of the current approaches would work to start the builder. Then users could add on other fluent calls to define security constraints, complexity, or additional optional arguments. Here's a hypothetical example of how a pretend astronaut in the distant future might use this:
typeBuilder
  .AddField("friends", u => u.Friends) // if you used args here, those args would be *required*
  .WithComplexity(10, 100) // we estimate a typical user will have between 10 and 100 friends
  .WithArguments(new { id = 0 }, // optional filtering argument
    args => (db, friends) => friends.Where(f => f.Id == args.id), 1) // modifies complexity to 1
  .WithArguments(new { name = "" }, // optional filtering argument
    args => (db, friends) => friends.Where(f => f.Name == args.name))
  .WithSecurityFilter((db, friends) => friends.Where(f => idk(db, friends)) // filter query
  .WithSecurityAssertion(fs => fs.All(SecurityManager.HasPermissionToView)) // in-memory predicate

Due to problems with type inference, the base API will need to be changed to support this. We'll need to add an AddListField method for adding fields that return lists of objects and only use AddField for fields that return a single object. This is necessary so that we can know the type of TField at compile time.
Other suggested changes are that WithArguments should expose a filter method on the type itself rather than on the list of types. For example:
.WithArguments(new { id = 0 }, args => (db, friend) => friend.Id == args.Id, 1)

Also complexity modifications should be more fleshed out with options to modify the complexity by multiplication, or by setting a max value. The complexity modification could be based on the args as well. Possible API:
.WithArguments(new { id = 0 }, /* filter */, ComplexityMod.Max(1))
.WithArguments(new { contains = "" }, /* filter */,
    args => ComplexityMod.Multiply(1.0 / args.contains.Length))


Ability to depend on JDK modules

This is a work-in-progress patch, mostly for discussion, not intended to be merged as is.
The goal here is to allow NetBeans modules (modules in the NetBeans Module System) depend on JDK modules. As a result dependencies on JDK modules are much more precise. Some more information is here:
https://cwiki.apache.org/confluence/display/NETBEANS/JDK+Modules+Support+in+NetBeans+Module+System
There are 3 commits in this request, the middle one " Automatically adding JDK module dependencies to existing modules." is mechanically generated, based on jdeps output for the given module.
Feedback is welcome.

To me, looks good. Any comments/feedback from anyone?

@jlahoda Are we expecting any progress on this? Or just close this one?

@lkishalmi I would love to see some progress, but didn't have much time for quite some time. If you prefer, we can close this - it is easy to reopen or open a new PR after all.

Hi @jlahoda can you rebase this one on the current master, if it is still relevan. Let's not have this one bitrot in here...


Clock. Narrow seconds precision

Hi @Alexays . While previous commits, I lost the part of code which was truncating of the system time to seconds. So ... Even precision now is more higher ... users complains about it. So this commit solves #2344

Thanks for the quick fix!


Append perf bugfix

Fixes #130
Cause
Where N is the length of the iterator: N calls to RoaringBitmap::push required N calls toRoaringBitmap::max, which is not cheap.
Solution
Compare only the first item in the iterator to the bitmap max, then compare each element to its predecessor.
Future work
This could be strictly faster than inserting, given that it's always inserting into the last container (or pushing a new container)
Before

After

As an experiment, removing the binary search was "only" a ~30% improvement. I'm leaving it out as a more general solution is outlined in @richardstartin post under optimal sequence construction that could also be applied to non-sorted extending the bitmap.

I really thought that RoaringBitmap::max was fast enough as it is basically just fetching the last container and the last number in it. I also thought that Rust would have optimized that, but was dumb to think that, that's too complex for the optimizer to understand that by itself!
However, thank you very much for that PR, again! Love the energy you put into this crate ❤

As an experiment, removing the binary search was "only" a ~30% improvement (above the fix). I'm leaving it out as a more general solution is outlined in @richardstartin post under optimal sequence construction that could also be applied to unsorted extending the bitmap.

Yeah, 30% (after this optimization) is a lot! How much complexity does it bring? Because implementing the more general solution can take a lot of time too!

bors merge

Yeah, 30% (after this optimization) is a lot! How much complexity does it bring? Because implementing the more general solution can take a lot of time too!

Let's merge this as-is. The optimization could potentially be controversial and I think warrants some discussion.

Nice, I do this!
bors merge

I really thought that RoaringBitmap::max was fast enough as it is basically just fetching the last container and the last number in it. I also thought that Rust would have optimized that, but was dumb to think that, that's too complex for the optimizer to understand that by itself!

It's not O(1) for bitmaps. It must linearly scan the bitmaps in reverse order to find the highest set bit.

It's not O(1) for bitmaps. It must linearly scan the bitmaps in reverse order to find the highest set bit.

Yeah, indeed and that can be 63 loops by call to max, you're right!


Use a temporary KUBECONFIG file for all cluster auth

The current context for kubectl should ideally not change
when running hubploy. Almost all the tools used for fetching
cluster auth info write credentials to file specified in
KUBECONFIG. Temporarily setting that var for the course of
our deployment works great - helm can read from it too!

@salvis2 I don't have an AWS cluster ready to test this. Would you have time to do that?

Works when deploying the cluster locally on AWS, even when I delete the default kubeconfig file!
Also works if I point my GitHub Action at your hubploy build yuvipanda/hubploy:20200413124822a880de.
Looks all good to me!


Add Kind(Kubernetes in Docker) support for local test

/assign @hklai
PS. I successfully set up a local test environment using kind and will complete this task very soon.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: m1093782566
If they are not already assigned, you can assign the PR to them by writing /assign @m1093782566 in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/e2e/local/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@m1093782566: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
9cda63b09250afd586bda440ebc44e65b136657e
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: hklai
If they are not already assigned, you can assign the PR to them by writing /assign @hklai in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/e2e/local/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@m1093782566: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
8dad49ac955941b90d7f9f9f02429952c37759ea
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@m1093782566: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
58bf5bc7dae7f37f1aa3fe1989ba803eaf76d4d5
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hklai
This PR is almost ready for review except e2e tests failed to find kubeconfig.... I am still debuging...

@m1093782566: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
e82c7d45eeb14ab8ababff10644523318e3375cd
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/cc @BenTheElder

@hklai: GitHub didn't allow me to request PR reviews from the following users: BenTheElder.
Note that only istio members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @BenTheElder

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Very cool! couple of caveats:
I've not yet cut a stable release, I intend to though, and if you use the existing images and code it should continue to work fine. @Lion-Wei has been pitching in to help get proper kubernetes API tooling & versioning for the config so we can avoid breakage. I'll be spending Q4 stabilizing kind and looking at multi-node, but so far only cert-manager depends on kind in it's alpha state.
We're currently broken if you build an image from Kubernetes master due to a commit from last night, we know which commit did this and are investigating, something fun with cluster DNS and control plane image https://github.com/kubernetes-sigs/kind/issues/43, in the meantime the default kind create ships a v1.11.3 image that does not have this issue.

@m1093782566 Any update?

@m1093782566 will be on vacation right now AFAIK due to Golden Week :-)
On Mon, Oct 1, 2018 at 8:49 PM Andy Lai<EMAIL_ADDRESS>wrote:

@m1093782566 https://github.com/m1093782566 Any update?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/8944#issuecomment-426139679, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA4BqwBxJ9oks--V9JVVhY7R51nOQ9Ytks5uguJjgaJpZM4W4Qwe
.

oh right. =)

Hi all, I am back from holiday now.
BTW, I think this PR is ready to go :)

@m1093782566: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
e82c7d45eeb14ab8ababff10644523318e3375cd
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
28c35bdc8308f77eb19c6157ea3f1967ee934371
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@m1093782566: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
e82c7d45eeb14ab8ababff10644523318e3375cd
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
6f2941f7b095963a7b7fffc9f52f02304508e42b
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add MERGE INTO support

What do you want to change?
Free unicorns, plus MERGE INTO!
Postgresql 15 has a MERGE command that sqlc does not appear to support. In fact, it seems to fail silently with no output.
It is somewhat similar in function to an upsert, but allows more guidance to the engine on what to do if the row exists or doesn't exist.
It's a little unclear to me if MySQL and MariaDB support the command. I see third-party blogs and tutorials suggesting its use, but I'm failing to find it in the official docs.
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go

Another instance of https://github.com/sqlc-dev/sqlc/issues/1661


Check signature weight when loading block or header by height.

Closes #1655.

Closing this since we're rewriting it. We'll take your comments into account!


Backspace does not work sometimes in vim (insert) mode.

Description
Typing backspace doesn't do anything in vim insert mode if the cursor is in front of a '_' or a '#'.
For example, typing 'x_' and then backspace or '#' and then backspace in a project.
Reproduction URL
No response
Browsers
Firefox
OS
Linux

Is this possibly related to this https://github.com/typst/typst/issues/1229 ?

As far as I can tell no. The web app is not frozen, I can still type. The only thing that does not work is the backspace.
It is also easily reproducible on my end (i.e. everytime I type _ I can use backspace).
Although it could be that it happens on other syntax errors as well, I am not sure.

Happens to me as well, I just have to manually select the text and delete it.

Happens to me as well, only in vim insert mode. A minimal example is:
//
  ^ cursor here - can only delete the second forward slash

After deleting the second forward slash there is a syntax error, and I'm unable to delete the first forward slash using backspace. The text has to be manually selected to delete it.

I speculate this issue is related to the Vim implementation, I assume it uses a 3rd party library, since I've experienced this issue on Hackmd as well.

We use https://github.com/replit/codemirror-vim

met the same bug. backspace doesn't work when there is a error. any update here?

I made some changes, which seem to fix this in my testing. Please tell me if this is still an issue.

I can now delete normally after hashtag, underscore, left parenthesis, thanks so much for the fix!
Mac
Firefox


Regression  v1.37.0 ->  v1.37.1

I face a regression in the newest OmniSharp release.
As shown in the screenshot it has difficulty finding the namespaces/classes exhaustively.
1.37.0:

1.37.1:

Platform:
Arch Linux
Sublime Text, build 4084.
pacman -Qs mono                                                                                73% • Wed 2 18.35
local/mono <IP_ADDRESS>-1
    Free implementation of the .NET platform including runtime and compiler
local/mono-msbuild 16.6.xamarinxplat.2<IP_ADDRESS>.43-1
    Xamarin implementation of the Microsoft build system

echo $MSBuildSDKsPath
/usr/local/share/dotnet/sdk/2.2.207/Sdks

{
    "MsBuild": {
        "enabled": true,
        "EnablePackageAutoRestore" : true,
        "MSBuildSDKsPath": "/usr/local/share/dotnet/sdk/2.2.207/Sdks",
    },
    "RoslynExtensionsOptions": {
        "documentAnalysisTimeoutMs": 20000,
        "enableDecompilationSupport": true,
        "enableImportCompletion": true,
        "enableAnalyzersSupport": true,
    },                                                                                73% • Wed 2 18.32
    "FormattingOptions": {
        "OrganizeImports": true,
        "NewLinesForBracesInTypes": true,
        "NewLinesForBracesInMethods": true,
        "NewLinesForBracesInProperties": true,
        "NewLinesForBracesInAccessors": true,
        "NewLinesForBracesInAnonymousMethods": true,
        "NewLinesForBracesInControlBlocks": true,
        "NewLinesForBracesInAnonymousTypes": true,
        "NewLinesForBracesInObjectCollectionArrayInitializers": true,
        "NewLinesForBracesInLambdaExpressionBody": true,
        "enableEditorConfigSupport": true
    },
    "RenameOptions": {
        "RenameInComments": true,
        "RenameOverloads": true,
        "RenameInStrings": true
    },
}

Sublime LSP entry:
	{
		"C#":
		{
			"command":
			[
				"/home/tb/.omnisharp-v1.37.1/omnisharp/OmniSharp.exe",
				"--languageserver"
			],
			"enabled": false,
			"languageId": "csharp",
			"scopes":
			[
				"source.cs"
			],
			"syntaxes":
			[
				"Packages/C#/C#.sublime-syntax"
			],
		},

dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.2.207
 Commit:    f7b16a2cd5

Runtime Environment:
 OS Name:     arch                                                                                73% • Wed 2 18.36
 OS Version:
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.2.207/

Host (useful for support):
  Version: 2.2.8
  Commit:  b9aa1abc51

.NET Core SDKs installed:
  2.2.207 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

How can I be of further assistance in solving this issue?

MSBuildSDKsPath is only observed when UseLegacySdkResolver is set to true, have you tried that?

I fixed this locally by pulling the NuGet assemblies (.msbuild/Current/Bin/*NuGet*) from v1.37.0 into v1.37.4.

Same problem here, reverted from v1.37.5 back to v1.37.0.

Same problem here, reverted from v1.37.5 back to v1.37.0.

As of today this regression is still present in the latest version, and the fix suggested by @corngood is working for me as well.

As of today this regression is still present in the latest version, and the fix suggested by @corngood is working for me as well.

Getting started with omnisharp-roslyn with lsp-mode on emacs has been quite a challenge! I have had to try about 10 releases as a guest work to finally get it working thanks to this ticket. The latest version didn't work because of the issue mentioned here (but I didn't come across this ticket back then), so I tried I bunch of releases before understanding that lsp support has actually been lacking, and got fixed progressively over a couple of releases. This plus the fact that I am using a platform that is not officially supported (freebsd, using omnisharp-mono.zip) so I wasn't quite sure what was due to my environment and what was due to omnisharp-roslyn.
And I pass on the fact that FreeBSD repositories still are on a very old mono version (5.X), so I also had to jump through some hoops to get something more up-to-date working there to rule out any possibility that the errors were due to my mono. It turned out that all my troubles where solely due to bugs in OmniSharp releases, and I finally came across this ticket which solves everything. Without this regression, the experience would have been seamless. Just leaving my experience as a gentle feedback, and also in case it helps someone else bumping into the same problems.

Getting started with omnisharp-roslyn with lsp-mode on emacs has been quite a challenge! I have had to try about 10 releases as a guest work to finally get it working thanks to this ticket. The latest version didn't work because of the issue mentioned here (but I didn't come across this ticket back then), so I tried I bunch of releases before understanding that lsp support has actually been lacking, and got fixed progressively over a couple of releases. This plus the fact that I am using a platform that is not officially supported (freebsd, using omnisharp-mono.zip) so I wasn't quite sure what was due to my environment and what was due to omnisharp-roslyn.
And I pass on the fact that FreeBSD repositories still are on a very old mono version (5.X), so I also had to jump through some hoops to get something more up-to-date working there to rule out any possibility that the errors were due to my mono. It turned out that all my troubles where solely due to bugs in OmniSharp releases, and I finally came across this ticket which solves everything. Without this regression, the experience would have been seamless. Just leaving my experience as a gentle feedback, and also in case it helps someone else bumping into the same problems.

I solved it, at least for me. Try setting the following enviroment variables:
MONO_CFG_DIR=/home/tb/.omnisharp-recent/etc
MONO_ENV_OPTIONS=--assembly-loader=strict --config /home/tb/.omnisharp-recent/etc/config

Where .omnisharp-recent of course is the root dir of your omnisharp package. I have tested it with both 1.37.6 and 1.37.7 and it works.

Yes this solves the issue for me, launching mono with mono --assembly-loader=strict.
I see that vscode always uses this flag when launching omnisharp-roslyn with mono too.

@nickspoons do you get full completions with the system mono?
I just tried to reproduce the issue (still on Arch Linux) and I have to both specify the mono --assembly-loader=strict and use the bundled mono in order to get full completions.

Yeah I have full completions in a .NET Framework project this way, in arch linux.
I am not using the bundled mono - that version doesn't have full msbuild support for .NET Framework projects. Here are the packages I have installed:
❯ pacman -Q | grep dotnet
dotnet-host 5.0.6.sdk203-1
dotnet-runtime 5.0.6.sdk203-1
dotnet-runtime-3.1 3.1.15.sdk115-1
dotnet-sdk 5.0.6.sdk203-1
dotnet-sdk-3.1 3.1.15.sdk115-1
dotnet-targeting-pack 5.0.6.sdk203-1
dotnet-targeting-pack-3.1 3.1.15.sdk115-1
❯ pacman -Q | grep mono
mono <IP_ADDRESS>-1
mono-msbuild 16.9.xamarinxplat.2<IP_ADDRESS>.05-1
mono-msbuild-sdkresolver 16.9.xamarinxplat.2<IP_ADDRESS>.05-1

I have also used the dotnet-install.sh script to install various extra SDKs, as described in the arch wiki:
❯ dotnet --info

.NET SDK (reflecting any global.json):
 Version:   5.0.300
 Commit:    2e0c8c940e

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /usr/share/dotnet/sdk/5.0.300/

Host (useful for support):
  Version: 5.0.6
  Commit:  478b2f8c0e

.NET SDKs installed:
  3.1.115 [/usr/share/dotnet/sdk]
  3.1.409 [/usr/share/dotnet/sdk]
  5.0.104 [/usr/share/dotnet/sdk]
  5.0.202 [/usr/share/dotnet/sdk]
  5.0.203 [/usr/share/dotnet/sdk]
  5.0.300 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.15 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.4 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

I've been having this problem as well, (using emacs-lsp with bundled roslyn)
For those who are the same, it would appear that using the emacs-lsp bundled omnisharp-roslyn lsp server is outdated...
Grabbing the latest 1.38 seems to have resolved my issues.
(although lsp-log still gives allot of errors, at least lsp-ui seems to be able to find binaries and goto definition and completions seem to be working.)
It's worth mentioning i also followed steps from @nickspoons with regards to installing dotnet binaries using dotnet-install.sh, which was specific to my project relying on multiple versions of dotnet core.


Feature Request: Don't load imagemin plugins if their options are set to null

In the same way that if pngquant is set to null, it won't load imageminPngquant(), I think it would be cool to have that logic for the remaining 4 plugins that are loaded by default.
This is trivial to do from a coding perspective; just create a method that takes an imagemin plugin and its options as method arguments and then push to this.options.imageminOptions.plugins if the plugin options argument is not null. I can submit a PR if you're open to the idea.
Thoughts?

I'm actually on vacation currently, so I'm gonna look at this Monday or Tues next week.

I love this idea and I added it to the plugin starting with version 1.1.2
I also did a bunch of other arch changes to get ready for some changes I want to do in the future.


sensor or listener is null

Hi,
I've copied the example  , then  at the moment to run shows nothing on device!!
on my debug console says : E/SensorManager( 2627): sensor or listener is null
Can you help me with this, please?

Hello, probably your device doesn't have rotation sensor. What device do you have?

Hi, is  a samsumg tablet

try using a phone . Do you know the model of the tablet? model/android version/  , give us more detail please.

ok, I'll  try on a phone,
The  tablet is Galaxy Tab A(2016)
model   :  SM-T580
Version Android 8.1.0

it's look like it doesn't have a rotation sensor https://www.sammobile.com/devices/galaxy-tab-a-2016-101-wi-fi/specs/SM-T580/

OK, thanks,
Sorry I had check that before!!, I will try on a phone...
Thanks again.

I have the same issue, it shows sensor or listener is null
Mobile : Moto e7 plus
Model : XT2081-2
Android version : 10

I have the same issue, it shows sensor or listener is null Mobile : Moto e7 plus Model : XT2081-2 Android version : 10

did u find a solution? can u please tell me how can we check if a device supports a particular sensor  in flutter ? i could find it anywhere


[WIP][SPARK-41591][PYTHON][ML] Training PyTorch Files on Single Node Multi GPU

NOTE: If you want to only view the diff from the other WIP PR regarding the baseline changes, look at this commit. Since I am sending out parallel PRs that are related, you should view this commit to see the diff pertaining to this ticket.
What changes were proposed in this pull request?

This is an addition to https://github.com/apache/spark/pull/39146 to add support for single node training using PyTorch files. The users would follow the second workflow in the design document to run training. I added some new utility functions as well as built on top of current functions. This is largely WIP so testing will be added very soon.
Why are the changes needed?

Look at the main ticket for more details.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Testing isn't done yet; tests will be added soon.

Can one of the admins verify this patch?

Merged to master.

@rithwik-db Left a few comments on strings.


I have a question in util.gradcheck

Here
https://github.com/jcjohnson/torch-rnn/blob/master/util/gradcheck.lua#L11
instead this
return math.abs(x - y) / math.max(math.abs(x) + math.abs(y), h)

isn't it this ?
return math.abs(x - y) / math.max(math.abs(x) , math.abs(y), h)

Can anyone comment on this? I'm not really sure what it's supposed to do (we really need better comments).


[0.5pt] Add footer - group task

Create footer according to the wireframe:

https://github.com/AndreaM2429/JavaScriptCapstone/pull/23


add soft and hard container constraints data model to titus batch job request

Additional fields added to Titus Batch Job Request object. Currently there is no generic use cases so these fields only exist in the titus request object instead of living across all layers. If, in the future, additional use cases emerges, these constraints can be extended to be attributes on the persistent layer as well.

Coverage decreased (-0.04%) to 93.885% when pulling 44258eb482f1bee1f26eeb1a89ab115f1a29fcc2 on enicloom:lt_titus_az into abe4f230fde07964a665ff1d5ad210836827499b on Netflix:master.


Issue in Assignee field | Autocomplete search

Currently when we are entering any name it is listing all the members of RDS. Can we create scroll bar so that it will only take fixed width for auto complete.
Snippets for reference:

Can you assign me this task ? Thanks.

Assigned to you


Airplay Error - set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")

Getting the below errors "set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")"
[2/15/2020, 2:57:10 PM] [Music] Onelink Speaker Guest: set on from false to true
[2/15/2020, 2:57:15 PM] [Music] applescript timeout
[2/15/2020, 2:57:15 PM] [Music] applescript: set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")
tell lib to setSpeakerOn("Onelink Speaker Guest", true)
[2/15/2020, 2:57:15 PM] [Music] Onelink Speaker Guest: could not set on to true
[2/15/2020, 2:57:33 PM] [Music] Onelink Speaker Guest: set on from false to true
[2/15/2020, 2:57:36 PM] [Music] Onelink Speaker Guest: on changed from true to false
[2/15/2020, 2:58:29 PM] [Music] Computer: set on from false to true
[2/15/2020, 2:58:31 PM] [Music] Computer: on changed from true to false
[2/15/2020, 2:58:44 PM] [Music] Computer: set on from false to true
[2/15/2020, 2:58:45 PM] [Music] Computer: could not set on to true
[2/15/2020, 2:59:12 PM] [Music] Music: set on from false to true
[2/15/2020, 2:59:13 PM] [Music] applescript error execution error: iTunes got an error: Can’t make some data into the expected type. (-1700)
[2/15/2020, 2:59:13 PM] [Music] applescript: set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")
tell lib to setPlayerOn(true, "")
[2/15/2020, 2:59:13 PM] [Music] Music: could not set on to true
[2/15/2020, 3:00:50 PM] [Music] Onelink Speaker Guest: set on from false to true
[2/15/2020, 3:00:55 PM] [Music] applescript timeout
[2/15/2020, 3:00:55 PM] [Music] applescript: set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")
tell lib to setSpeakerOn("Onelink Speaker Guest", true)
[2/15/2020, 3:00:55 PM] [Music] Onelink Speaker Guest: could not set on to true
[2/15/2020, 3:02:58 PM] [Music] Onelink Speaker Guest: set on from false to true
[2/15/2020, 3:03:03 PM] [Music] applescript timeout
[2/15/2020, 3:03:03 PM] [Music] applescript: set lib to (load script "/usr/local/lib/node_modules/homebridge-music/scripts/iTunes.scpt")
tell lib to setSpeakerOn("Onelink Speaker Guest", true)
[2/15/2020, 3:03:03 PM] [Music] Onelink Speaker Guest: could not set on to true

What macOS version are you on?  Does it still support iTunes or has it moved to Music?
Please capture and attach a full debug log file, see https://github.com/ebaauw/homebridge-hue#debug-log-file.

macOS 10.13.6, iTunes <IP_ADDRESS>
Switched to AirFoil and its much better. Wanted both, can i have both? here is my settings
"platforms": [
    {
        "name": "Music",
        "script": "AirFoil",
        "service": "switch",
        "brightness": true,
        "platform": "Music"
    }

Alsom "service": "speaker" doesnt work :(

What do you mean “both”?  You use iTunes to play your music and AirFoil to control your speakers.  AirFoil replaces the handling of Airplay speakers by iTunes.  It doesn’t play any music itself.

I use both to play music via Airfoil (VLC - TuneIn) or iTunes. But this is not how you have designed this. For now I will use it for Airplay speaker on/off and volume which is much better than my HAbridge implementation.


Add unittests for the Xoshiro256** bitgenerator

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

Project coverage is 93.60%. Comparing base (34094ad) to head (572cc94).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   92.92%   93.60%   +0.67%
==========================================
  Files           4        5       +1
  Lines         198      219      +21
==========================================
+ Hits          184      205      +21
  Misses         14       14

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


Random Passwords could work a lot better ...

Description of problem
This describes some issues with using random passwords for registration
Description of solution
Random Passwords
DNN has the ability to generate random passwords for user registration.
IMHO, there are two problems with this process.

Sometimes the random password doesn't meet the site's requirements for password complexity. This results in a failure to create the user, and a message to use a different password.  I submitted a bug report about this.

As most sites should be using hashed passwords, There is no way for the user to know his password, so he has to be smart enough to click the Reset Password link. DNN should be smart enough to automatically take the user to the password reset automatically. In my case, I'm using the Verified method, so DNN knows the user's email address, and should send this automatically or ... take him to the Change Password function without the requirement to specify an old password.

I'm using random passwords and verified registration.
After the user clicks the verification link in his email, he gets to a page that confirms verification.and then asks him to log in.  He doesn't know his password, so he has to be smart enough to know that he needs to get a reset password link.  So, he now has another password and link to handle.
If we are using hashed passwords, then a first login or completion of verification should just go to the reset password place.  There's no need to send an email (it was just verified), so just send the link, put a message on the screen and be done with it!
Simplifying the process, eliminating steps, etc. makes for happy users and fewer needs for an admin to deal with a confused or unhappy user.
Description of alternatives considered
Of course this can all be rectified by not using random passwords, but that's not the point.  The customer wants random passwords!  (So he gets them ...)
Screenshots
If applicable, provide screenshots to help explain your problem and/or feature.
Additional context
Add any other context about the feature that may be helpful with implementation.
Affected version

I suspect that this relates to all versions of DNN, but I'm using 9.2.2.

[x] 9.3.0
[x] 9.2.2
[x] 9.2.1
[x] 9.2
[x] 9.1.1
[ ] 9.1
[ ] 9.0

Affected browser
Not a browser issue.

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Internet Explorer
[ ] Edge

#2528


Invalid librdkafka version 901ff, expected at least 903ff

Hello
I'm getting this error as soon as I hit this line from the Cosumer Basic Example:
using (var consumer = new Consumer<Null, string>(config, null, new StringDeserializer(Encoding.UTF8)))
Invalid librdkafka version 901ff, expected at least 903ff
I'm using version 0.95
Any idea why?
Thanks

What framework do you target on which platform?
On classic net framework, be sure to NOT use LibRdkafka.Internals. Juste target confluent.Kafka 0.9.5, and if this does not work, add librdkafka.redist v0.9.5 and report the issue
Also check that you didn't manually copy the librdkafka.dll in your bin folder
Thanks!

It seems I had an earlier version installed (0.9.1)
I removed and I got an error (missing DLL)
So I installed the latest version and now it seems to go beyond the previous line of code.
My new error is:
4|2017-04-24 17:26:43.113|rdkafka#consumer-1|BROKER| [thrd:app]: Broker name "ht
tp://kafka1.pp-bigdata.[myKafka]:[portnumber]" parse error: unsupported protocol "HTTP"

so I removed the http and now it works : )

Yep, it's just tcp ;) And you should only have reference to confluent.kafka 0.9.5
If you have any other problems, please post it on confluent repo so we can track it more easily :)

If I remove the reference to  librdkafka.redist v0.9.5 I get the following error:
Unable to load DLL 'librdkafka': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
on this line:
using (var consumer = new Consumer<Null, string>(config, null, new StringDeserializer(Encoding.UTF8)))


Chrome data channels have trouble closing, breaking peerconnection

Data channels have a per-channel queue that may not drain before trying to close the channel.  Even the OPEN message (if the channel was created while the underlying sctp association was congested).
Chrome bug: https://code.google.com/p/chromium/issues/detail?id=474650

This issue can break thh peer connection

@mollyling is debugging, trying to verify our current hypothesis
I think we can detect this state when we get a failed to open; close while trying to open error; right now we're not catching this (it's prefixed by one of Chrome's uncaught promise messages) but if we do, we should probably terminate the peerconnection. I think that would be a lot less frustrating for users.

Since we have a workaround which we plan to keep anyway for performance reasons, I don't think we can treat this as high priority anymore.

I'm still gonna fix it :-)

The fix CL

Please do fix it! :-)

@mollyling Your fix has made it to Chrome, right? Can you provide some more details?

@mollyling ping

Should be in Chrome 45.  44 was released before this was submitted.


add Ubuntu 18.04 facts

Getting all the facter 3.x facts is currently pretty hard because Puppet didn't release any packages yet for 18.04. I only added facts from the gem version.

@mcanevet thanks! Could you create a new release as well?


Please add documentation on how to support follow-up prompts.

QnA has a feature called follow-up prompts. Unfortunately, the QnAMaker package doesn't give us the followup prompts. It just gives the answer. Please tell us how to support it, even if it's outside the scope of the QnAMaker nuget package. Perhaps how to call the HTTP endpoint for the QnA server and how to get follow up prompts from that.

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

ID: 2963321c-6720-be8f-aba6-225960eba1b3
Version Independent ID: bff968a7-33a8-bc53-b08b-6c17d672c3cd
Content: Use QnA Maker to answer questions - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-qna.md
Service: bot-service
GitHub Login: @ivorb
Microsoft Alias: kamrani

We'll update the docs when this feature becomes available in the SDK around November.

Hey
Can you share where the index.js file is. I see it in lib only? I have .env only.

@AskYous , support for multi-turn QnA Maker prompts is being added to v4.6 of the SDK. I'm working on a draft on how to support this feature. Here's the C#-specific info. It's still pretty rough, so let me know if you have any suggestions.
Additional information
Multi-turn prompts
QnA Maker supports follow-up prompts, also known as multi-turn prompts.
In version 4.6, the Bot Framework SDK added support for this feature.
To construct such a knowledge base, see the QnA Maker documentation on how to Use follow-up prompts to create multiple turns of a conversation.
Add conversation state properties
You need to track context information for the QnA Maker service.
To conversation state, add these properties:

A QnAResponseContext property for the QnA Maker context.

Initialize this property to null. You will include this information in each call to the QnA Maker service.
When QnA Maker requests follow-up information, you will save the context information and include it in the follow-up call to the QnA Maker service.

An int property for the ID that QnA Maker has assigned to the current question.
QnA Maker considers this value only if the QnA Maker context is non-null.

Send user input to the QnA Maker service
Provide stored QnA Maker context information when you call the QnA Maker service. This information is included in the QnA Maker options parameter.

Retrieve the QnA Maker context and question ID from conversation state.
Create a QnAMakerOptions object:

Set its Context property to the QnA Maker context. (This will be non-null if the user is responding to a follow-up question.)
Set its QnAId property to the question ID.
Set its other properties as you would for any other call to the QnA Maker service.

Call the QnAMaker.GetAnswersAsync method and provide the turnContext and QnAMakerOptions parameters.

The return value contains the likely results as normal, in a QueryResult array.
QueryResult.Answer contains QnA Maker's response, either the answer to the user's question or a follow-up question to the user.
QueryResult.Context.Prompts is a non-empty array if the response represents a follow-up question.
The prompts represent the options that QnA Maker expects the user to respond with.

If QnA Maker provided a final answer, present it to the user and clear the QnA Maker context and question ID properties in conversation state.
Otherwise, you have a follow-up question. You can present this to the user in a variety of ways, as a hero card or suggested actions, for example.

Send the QueryResult.Answer as a follow-up question to the user, with the QueryResult.Context.Prompts array as the available response options.
Save the QueryResult.Context and QueryResult.Id to your state properties for the QnA Maker context and question ID.

The next turn of the bot should contain the user's response. However, it's always possible for the user to respond in some unexpected way.

@nandaguruswamy Are you looking for the index.js file for the sample code? It's in this directory:
https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs/11.qnamaker

There is some debate over how the sample code should look, so a full explanation is on hold. I'll update this thread once that debate is settled.

Sure thanks for looking into this Jonathan.
Thanks
Nanda
On Mon 4. Nov 2019 at 20:08, Jonathan Fingold<EMAIL_ADDRESS>wrote:

There is some debate over how the sample code should look, so a full
explanation is on hold. I'll update this thread once that debate is settled.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/bot-docs/issues/1361?email_source=notifications&email_token=ACVMRK4ODX4EQ5742Y2W3WDQSBXLNA5CNFSM4I2TC7Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDALXAQ#issuecomment-549501826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACVMRK7H7ZMCCTY7XVYO53TQSBXLNANCNFSM4I2TC7QQ
.

--
Thanks & Regards
Nanda Guruswamy
Mobility and Virtualization Expert
AirWatch and Citrix certified
------------------------------------------------------Mob: (+91) 821 778
4249/973 908 7275Skype ID<EMAIL_ADDRESS><EMAIL_ADDRESS>------------------------------------------------------

Sample 49.qnamaker-all-features in the BotBuilder-Samples repo includes support for a bunch of QnA Maker features, including multi-turn prompts. This sample is not yet stable, in that it might be revised once or twice over the next couple months.


Pass through the callers User-Agent to fix picky sites

Some sites check the user agent to deny bot access. We can send through the original user User-Agent to get the right page for them.
This is to address https://github.com/hypothesis/via3/issues/187
Testing
Start Via 3 and visit:

http://localhost:9082/route?url=https://www.seattletimes.com/seattle-news/health/coronavirus-daily-news-updates-june-23-what-to-know-today-about-covid-19-in-the-seattle-area-washington-state-and-the-world/
This should fail without the PR (timeout) and work with it

I've got this to QA, but it doesn't appear to be fixing the issue as it did in dev... This is annoying.
You can see it fail to work at:

https://qa-via3.hypothes.is/route?url=https://www.seattletimes.com/seattle-news/health/coronavirus-daily-news-updates-june-23-what-to-know-today-about-covid-19-in-the-seattle-area-washington-state-and-the-world/


Rework payouts screen to use allocation list

What does this PR do and why?
Closes https://github.com/jbx-protocol/juice-interface/issues/2800
I have brought in the shared components from Create payouts screen here
Screenshots or screen recordings
https://user-images.githubusercontent.com/104132113/213974905-4b7a53f5-693c-4ec9-a289-9177a9d96ded.mov

Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2864

PR #2865   👈

This comment was auto-generated by Graphite.

Oh my lord, thanks so much for taking the initiative to do this. Much much needed. Going to review tomorrow <3


Add more useful Slack integrations

Is your feature request related to a problem?
N/A
Describe the solution you'd like
An onboarding bot and other Slack integrations that will enhance our community on Slack
https://aloha.ftw.nyc/
Supplemental material for onboarding
https://slackfoundry.builtbyslack.com/
https://slackdemo.com
https://get.slack.help/hc/en-us/articles/115004378828-Onboard-your-company-to-Slack-#apps-2
Slack Communication Guidelines
Should be a full on post describing threads, stars, pins, best practices, channel guidelines, etc.
https://slackhq.com/wp-content/uploads/2018/04/Channel-Naming-Conventions_v1.png
Describe alternatives you've considered
N/A
Additional context
See Techqueria Slack

Look into Slackbot responses and update them (like for COC).
Take pinned items and add them to website:
https://docs.google.com/spreadsheets/d/1bWOCvcRUtQv8DCtTE2lfXEw2QYVJOJSb66zTmk6SeTo/edit#gid=0

Latinas in Tech: https://docs.google.com/spreadsheets/d/182yCXP8p-rM6yWD57oAZ9aDFJG5LkrZB_CD5eWAdCs4/edit#gid=634347005


[Bug]: onScrolled not being fired

Contact Details
No response
What happened?
The onScrolled callback is not firing anymore after the recent updates
child: NotificationListener<ScrollEndNotification>(
        onNotification: (dynamic notification) {
          if (widget.options.onScrolled != null &&
              notification is ScrollUpdateNotification) {
            widget.options.onScrolled!(_carouselState!.pageController!.page);
          }
          return false;
        },
        child: wrapper, // The child widget (carousel)
      ),

The notification listener is filtering by ScrollEndNotification notifications only
Version
^3.0.1
What devices are you seeing the problem on?
Android, iPhone, Windows, Mac, Linux
OS
all
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @jorgelrj,
Thank you for reporting this! I'll look into the issue and verify if it's a bug in the package. If it is, I'll make sure to include a fix in the next update.
In the meantime, it seems the NotificationListener is filtering only for ScrollEndNotification events. You could try modifying the listener to capture other notifications, such as ScrollUpdateNotification, to see if that resolves the problem temporarily.
I'll keep you updated on the progress.
Best regards,
Nikhil

Hi @jorgelrj,
This issue has been fixed in the latest release. Please update to the latest version and check if the issue has been resolved on your end.
If everything is working fine, kindly close this issue. If you encounter any further problems, feel free to reopen the issue or create a new one.
Thank you for your patience and support!
Best regards,
Nikhil


docs: add reference to prometheus-kafka integration

@brian-brazil this is a minor change to add a link to prometheus-kafka-adapter, a write-only integration for Apache Kafka.
@brian-brazil ping as requested in CONTRIBUTING.md
Signed-off-by: Guido García<EMAIL_ADDRESS>

Thanks!
One thing to note is that JSON can't handle +Inf or NaN, so you probably want to have the value as a string like we do in our APIs.

Thanks for noticing.


Another shortcut keys for text selection

I am used to use the shortcut keys "asdfghjkl" for text selection, and hope it can be an option in this input method.

Fixed.


Keep cell type annotation coldata in the merge workflow

Currently, the merge workflow only retains columns as specified in the default scpcaTools::merge_sce_list() argument retain_coldata_cols: https://github.com/AlexsLemonade/scpcaTools/blob/2ebdc4f4dfc4233fad97805f9a9a5e3bc6919f1e/R/merge_sce_list.R#L50C5-L60 (as well as any altExp QC stats columns).
We will need to ensure that cell type annotation columns are also retained. We can do this by adding relevant columns to the retain_coldata_cols, as well as the current default column names, argument when calling this function from the merge script. We'll need to keep the following columns if each of these is present:

submitter

submitter_celltype_annotation
note also that, if at least one library has submitter values, we'll want to populate this column in all other libraries with "Submitter excluded"

SingleR

singler_celltype_annotation
singler_celltype_ontology, only if params.label_type is ontology

CellAssign

cellassign_celltype_annotation
cellassign_max_prediction

Closed by #656


Ruff Linter configuring

Enable Ruff Linter rules (https://docs.astral.sh/ruff/linter/#rule-selection),
Update requirements, delete autoflake, flake*,
make lint: mypy automatically install known missing stub packages for third-party libraries,
Fixe errors that Ruff Linter started to show with new rules.

accidentally closed


[V2] A way to reduce animation when mousing over clipboard entries

Before Submitting Your Feature Request

[X] Check that there isn't already a similar feature request to avoid creating a duplicate.
[X] I have seen the FAQ.

Problem
I just tried out Maccy 2.beta.15 after Maccy 1.0, and I found the animations that happen when mousing over clipboard entries annoying (as the full view of that clipboard entry expands). They are especially headache-inducing if you move the mouse up and down and want to see several clipboard entries expanded.
I tried the Mac OS X "reduce motion" option, and while that helped slightly, it was still annoying.
Solution
Make those animation far less prominent by default and/or have an option to disable them entirely.
I don't remember them being nearly as annoying in 1.0.
Cc: #819, which I think would also be helped by this. You can see the animation I'm talking about in the very beginning of the video at https://github.com/p0deje/Maccy/issues/819#issuecomment-2267491100. However, this request is different; I'd like that animation to just not happen entirely or be far less prominent.

@ilyagr I agree with you and I'd like the animation to be disabled but there is no way to do that using built-in SwiftUI as I described in #819. For now, I'd like to focus on releasing 2.0 and later address this inconvenience  in 2.1 or implement a different approach to previews (such as a detached popover or a sliding out area).

I see, I missed that sentence in the other bug. Sad, but it makes sense.

Closing in favor of #819


Inactive Programs aren't being filtered out of Program drop-down

InActive Programs still show up in the Program drop-down when adding a New Study

Issue cannot be reproduced.


Fix issue #866 caused by #855

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #866
Special notes for your reviewer:
@PravinRanjan10 PTAL, issue #866 is caused by #855
Release note:

Looks good, but we didn't use profileId in fileshare snapshot, it's better to change delete fileshare snapshot flow, such as get profile from fileshare.ProfileId

@wisererik Remove profileId directly has some potential risks like below:

file share snapshot may need profile for upload snapshot to cloud feature
remove profileId may cause other issues for file share snapshot operaiton

@wisererik Remove profileId directly has some potential risks like below:

file share snapshot may need profile for upload snapshot to cloud feature
remove profileId may cause other issues for file share snapshot operaiton

Ok, it's clear to me


Revive the AFP content in a standalone context

We need to dig out the AFP specific content from when it was originally rolled in with EBSS edit it, and put it in place on this stanadlone flow.

Text content from past:
Who can apply for the £200 alternative fuels payment
The alternative fuels payment is a £200 payment. It is for households that are not connected to the mains gas grid and use alternative fuels as their main form of heating.
Most homes that are eligible for this payment have already received it automatically as a credit to their electricity bills. You will have received it automatically if your home is in an area which is mainly not connected to the gas grid.
You might not have received this payment automatically if your home is in an area which is mainly connected to the gas grid or your home is not connected to either the gas or the electricity grid.
You are eligible for this payment if the main way you heat your home uses:

tank or bottled gas
liquid petroleum gas
oil
wood
solid fuel

If you have not received the payment automatically you can now apply. You might not have received the payment automatically if:

your home is in an area which is mainly connected to the gas grid
your home is not connected to either the gas or the electricity grid

More text from the past:
To apply for the £200 alternative fuels payment, you will need to upload proof that you buy alternative fuels to heat your home. You will need to upload proof of purchase with your name and address on it to the value of £200, dated in the last 6 months.


:name_badge: Add badge for GitHub releases

:rocket: deployment of nhsuk/connecting-to-services succeeded (http://connecting-to-services-pr-328.dev.beta.nhschoices.net)


TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'types.GenericAlias'

Thank you for building this component!
I get an error when importing streamlit-searchbox 0.1.4 with python 3.9.1 due to the following type hint
Traceback (most recent call last):
    from streamlit_searchbox import st_searchbox
  File "...\streamlit_searchbox\__init__.py", line 43, in <module>
    def _list_to_options_py(options: list[Any] | list[tuple[str, Any]]) -> list[Any]:
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'types.GenericAlias'

cf. https://bugs.python.org/issue42233

Hey, thanks for opening the issue.
Should be fixed in streamlit-searchbox==0.1.5 - can you maybe confirm it's working again for your Python version?

Works. Thank you for the super quick fix!


Combobox virtualization

I needed to make a Combobox with a large number of items. For this I used react-virtualized and disabled filtering by making my own. For some reason CommandInput loses focus when trying to enter characters.
2023-08-06 19-30-21.webm
My CommandInput - https://github.com/gosvoh/biocon/blob/6baaab5869aaf10a0741256ff2b3213905f29f7a/src/app/registration.dialog.tsx#L432
Any idea how to fix this issue?

@gosvoh I've managed to get virtualization working for the most part using TanStack virtual. You can have a look here in case it's useful for you: https://github.com/oaarnikoivu/shadcn-virtualized-combobox

@gosvoh  Did you find a solution to this bug? I have something very similar happening to an input in a form.
I think it is causing the parent to re-render, and I can't figure out why. Even a html  without any props loses focus within the Command element.

@oaarnikoivu, were you able to get keyboard support for the combobox with react-virtual?

@oaarnikoivu, were you able to get keyboard support for the combobox with react-virtual?

It currently doesn't support keyboard navigation, but I may look into adding it sometime soon

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Revert "run-dev: Run process_queue with DJANGO_AUTORELOAD_ENV."

This reverts commit 36a8e61e67deb71d875382b2054c3286e2fe5dbb (#13934).
The Django 2.2 autoreloader works by forking into a child process that exits with status 3 when a file changes, and a parent process that restarts the child when it exits with status 3.  Setting this environment variable had the effect of pretending we were already the child process, without a parent process to restart it.  Therefore, changing any code used by the queue processor caused it to exit rather than restart.
Cc @mateuszmandera @showell

Seems reasonable to me to revert this.

Ah, I see, thanks for figuring this out! Seems right to revert it, just two notes:

The circleci that this fixed may return - example  https://app.circleci.com/jobs/github/zulip/zulip/35215
The test-run-dev freeze was happening prior to the commit this is reverting - https://app.circleci.com/jobs/github/mateuszmandera/zulip/2929 - so whatever about https://github.com/zulip/zulip/commit/19429c3ad797a5d7541f2e38ad5820318de33bac was causing the issue, still remains to be found :thinking:

Probably worth debugging those before we merge this as a path forward.

I had tried debugging the test, and came up with some potential explanations for the test race condition, and not much in the way of solutions. But this fixes a blatant actual bug in run-dev that was introduced in an effort to satisfy the test. I conclude that the test is causing more harm than good, and it would be better to disable the test than to wait around in the current state.

I'm fine with disabling test-run-dev and opening a follow-up issue to investigate and re-enable.  It's not something that regresses for real often.


Add simultaneous cursor example to https://yorkie.dev

Description:
We have developed a simultaneous cursor(multi-cursor) example for https://yorkie.dev and examples.

PR: https://github.com/yorkie-team/yorkie-js-sdk/pull/590
Design: https://www.figma.com/proto/IBIiGml3fbfxgkSr14fSgy/Yorkie-(Sharing)?type=design&node-id=4552-184611&t=iAmanTZJDoJw3s5l-0&scaling=scale-down&page-id=4537%3A182659&starting-point-node-id=4552%3A184611&show-proto-sidebar=1

However, the example is not ready to display on the homepage.
Let's add the example to https://yorkie.dev/examples and https://yorkie.dev.

Related to https://github.com/yorkie-team/yorkie-team.github.io/issues/11 and https://github.com/yorkie-team/yorkie-team.github.io/issues/12

Why:

fileInfo.ts is already exists, is anyone working on the issue?
can i try this if there's no one?

@banma1234 Of course. Please let me know, if you have any questions.

@banma1234 Thanks for your contribution. You can find the example by visiting the following page: Simultaneous Cursors on yorkie.dev.
To integrate this example into https://yorkie.dev, please refer to the following Pull Request (PR) for guidance on how to do so: Adding Example Page


Implemented breakpoints in cells

This should be the last PR before releasing ;)

@jasongrout will appreciate the gif.