Timeout when request too slow

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I can not change Timeout when request too slow, it respone timeout

<title>504 Gateway Time-out</title>

504 Gateway Time-out

nginx

What did you see instead?
Change timeout response
What version of Traefik are you using?
2.6.6
What is your environment & configuration?

This is my helm chart
# Default values for Traefik
image:
  name: traefik
  # defaults to appVersion
  tag: ""
  pullPolicy: IfNotPresent

#
# Configure the deployment
#
deployment:
  enabled: true
  # Can be either Deployment or DaemonSet
  kind: Deployment
  # Number of pods of the deployment (only applies when kind == Deployment)
  replicas: 1
  # Amount of time (in seconds) before Kubernetes will send the SIGKILL signal if Traefik does not shut down
  terminationGracePeriodSeconds: 60
  # Additional deployment annotations (e.g. for jaeger-operator sidecar injection)
  annotations: {}
  # Additional deployment labels (e.g. for filtering deployment by custom labels)
  labels: {}
  # Additional pod annotations (e.g. for mesh injection or prometheus scraping)
  podAnnotations: {}
  # Additional Pod labels (e.g. for filtering Pod by custom labels)
  podLabels: {}
  # Additional containers (e.g. for metric offloading sidecars)
  additionalContainers: []
    # https://docs.datadoghq.com/developers/dogstatsd/unix_socket/?tab=host
    # - name: socat-proxy
    # image: alpine/socat:1.0.5
    # args: ["-s", "-u", "udp-recv:8125", "unix-sendto:/socket/socket"]
    # volumeMounts:
    #   - name: dsdsocket
    #     mountPath: /socket
  # Additional volumes available for use with initContainers and additionalContainers
  additionalVolumes: []
    # - name: dsdsocket
    #   hostPath:
    #     path: /var/run/statsd-exporter
  # Additional initContainers (e.g. for setting file permission as shown below)
  initContainers: []
    # The "volume-permissions" init container is required if you run into permission issues.
    # Related issue: https://github.com/traefik/traefik/issues/6972
    # - name: volume-permissions
    #   image: busybox:1.31.1
    #   command: ["sh", "-c", "chmod -Rv 600 /data/*"]
    #   volumeMounts:
    #     - name: data
    #       mountPath: /data
  # Custom pod DNS policy. Apply if `hostNetwork: true`
  # dnsPolicy: ClusterFirstWithHostNet
  # Additional imagePullSecrets
  imagePullSecrets: []
    # - name: myRegistryKeySecretName

# Pod disruption budget
podDisruptionBudget:
  enabled: false
  # maxUnavailable: 1
  # maxUnavailable: 33%
  # minAvailable: 0
  # minAvailable: 25%

# Use ingressClass. Ignored if Traefik version < 2.3 / kubernetes < 1.18.x
ingressClass:
  # true is not unit-testable yet, pending https://github.com/rancher/helm-unittest/pull/12
  enabled: true
  isDefaultClass: false
  # Use to force a networking.k8s.io API Version for certain CI/CD applications. E.g. "v1beta1"
  fallbackApiVersion: ""

# Activate Pilot integration
pilot:
  enabled: false
  token: ""
  # Toggle Pilot Dashboard
  # dashboard: false

# Enable experimental features
experimental:
  plugins:
    enabled: false
  kubernetesGateway:
    enabled: false
    appLabelSelector: "traefik"
    certificates: []
    # - group: "core"
    #   kind: "Secret"
    #   name: "mysecret"
    # By default, Gateway would be created to the Namespace you are deploying Traefik to.
    # You may create that Gateway in another namespace, setting its name below:
    # namespace: default

# Create an IngressRoute for the dashboard
ingressRoute:
  dashboard:
    enabled: true
    # Additional ingressRoute annotations (e.g. for kubernetes.io/ingress.class)
    annotations: {}
    # Additional ingressRoute labels (e.g. for filtering IngressRoute by custom labels)
    labels: {}

rollingUpdate:
  maxUnavailable: 1
  maxSurge: 1

#
# Configure providers
#
providers:
  kubernetesCRD:
    enabled: true
    allowCrossNamespace: false
    allowExternalNameServices: false
    # ingressClass: traefik-internal  - --serversTransport.forwardingTimeouts.responseHeaderTimeout=0
    # labelSelector: environment=production,method=traefik
    namespaces: []
      # - "default"

  kubernetesIngress:
    enabled: true
    # labelSelector: environment=production,method=traefik
    namespaces: []
      # - "default"
    # IP used for Kubernetes Ingress endpoints
    publishedService:
      enabled: false
      # Published Kubernetes Service to copy status from. Format: namespace/servicename
      # By default this Traefik service
      # pathOverride: ""

#
# Add volumes to the traefik pod. The volume name will be passed to tpl.
# This can be used to mount a cert pair or a configmap that holds a config.toml file.
# After the volume has been mounted, add the configs into traefik by using the `additionalArguments` list below, eg:
additionalArguments:
# - "--providers.file.filename=/config/dynamic.toml"
# - "--ping"
# - "--ping.entrypoint=web"
- "--entryPoints.web.transport.respondingTimeouts.readTimeout=300"
- "--entryPoints.websecure.transport.respondingTimeouts.writeTimeout=300"
volumes: []
# - name: public-cert
#   mountPath: "/certs"
#   type: secret
# - name: '{{ printf "%s-configs" .Release.Name }}'
#   mountPath: "/config"
#   type: configMap

# Additional volumeMounts to add to the Traefik container
additionalVolumeMounts: []
  # For instance when using a logshipper for access logs
  # - name: traefik-logs
  #   mountPath: /var/log/traefik

# Logs
# https://docs.traefik.io/observability/logs/
logs:
  # Traefik logs concern everything that happens to Traefik itself (startup, configuration, events, shutdown, and so on).
  general:
    # By default, the logs use a text format (common), but you can
    # also ask for the json format in the format option
    # format: json
    # By default, the level is set to ERROR. Alternative logging levels are DEBUG, PANIC, FATAL, ERROR, WARN, and INFO.
    level: ERROR
  access:
    # To enable access logs
    enabled: false
    # By default, logs are written using the Common Log Format (CLF).
    # To write logs in JSON, use json in the format option.
    # If the given format is unsupported, the default (CLF) is used instead.
    # format: json
    # To write the logs in an asynchronous fashion, specify a bufferingSize option.
    # This option represents the number of log lines Traefik will keep in memory before writing
    # them to the selected output. In some cases, this option can greatly help performances.
    # bufferingSize: 100
    # Filtering https://docs.traefik.io/observability/access-logs/#filtering
    filters: {}
      # statuscodes: "200,300-302"
      # retryattempts: true
      # minduration: 10ms
    # Fields
    # https://docs.traefik.io/observability/access-logs/#limiting-the-fieldsincluding-headers
    fields:
      general:
        defaultmode: keep
        names: {}
          # Examples:
          # ClientUsername: drop
      headers:
        defaultmode: drop
        names: {}
          # Examples:
          # User-Agent: redact
          # Authorization: drop
          # Content-Type: keep

metrics:
  # datadog:
  #   address: <IP_ADDRESS>:8125
  # influxdb:
  #   address: localhost:8089
  #   protocol: udp
  prometheus:
    entryPoint: metrics
  # statsd:
  #   address: localhost:8125

globalArguments:
  - "--global.checknewversion"
  - "--global.sendanonymoususage"

#
# Configure Traefik static configuration
# Additional arguments to be passed at Traefik's binary
# All available options available on https://docs.traefik.io/reference/static-configuration/cli/
## Use curly braces to pass values: `helm install --set="additionalArguments={--providers.kubernetesingress.ingressclass=traefik-internal,--log.level=DEBUG}"`
additionalArguments: []
#  - "--providers.kubernetesingress.ingressclass=traefik-internal"
#  - "--log.level=DEBUG"

# Environment variables to be passed to Traefik's binary
env: []
# - name: SOME_VAR
#   value: some-var-value
# - name: SOME_VAR_FROM_CONFIG_MAP
#   valueFrom:
#     configMapRef:
#       name: configmap-name
#       key: config-key
# - name: SOME_SECRET
#   valueFrom:
#     secretKeyRef:
#       name: secret-name
#       key: secret-key

envFrom: []
# - configMapRef:
#     name: config-map-name
# - secretRef:
#     name: secret-name

# Configure ports
ports:
  # The name of this one can't be changed as it is used for the readiness and
  # liveness probes, but you can adjust its config to your liking
  traefik:
    port: 9000
    # Use hostPort if set.
    # hostPort: 9000
    #
    # Use hostIP if set. If not set, Kubernetes will default to <IP_ADDRESS>, which
    # means it's listening on all your interfaces and all your IPs. You may want
    # to set this value if you need traefik to listen on specific interface
    # only.
    # hostIP: <IP_ADDRESS>

    # Override the liveness/readiness port. This is useful to integrate traefik
    # with an external Load Balancer that performs healthchecks.
    # healthchecksPort: 9000

    # Defines whether the port is exposed if service.type is LoadBalancer or
    # NodePort.
    #
    # You SHOULD NOT expose the traefik port on production deployments.
    # If you want to access it from outside of your cluster,
    # use `kubectl port-forward` or create a secure ingress
    expose: true
    # The exposed port for this service
    exposedPort: 9000
    # The port protocol (TCP/UDP)
    protocol: TCP
  web:
    port: 8000
    # hostPort: 8000
    expose: true
    exposedPort: 80
    # The port protocol (TCP/UDP)
    protocol: TCP
    # Use nodeport if set. This is useful if you have configured Traefik in a
    # LoadBalancer
    # nodePort: 32080
    # Port Redirections
    # Added in 2.2, you can make permanent redirects via entrypoints.
    # https://docs.traefik.io/routing/entrypoints/#redirection
    redirectTo: websecure
  websecure:
    port: 8443
    # hostPort: 8443
    expose: true
    exposedPort: 443
    # The port protocol (TCP/UDP)
    protocol: TCP
    # nodePort: 32443
    # Set TLS at the entrypoint
    # https://doc.traefik.io/traefik/routing/entrypoints/#tls
    tls:
      enabled: false
      # this is the name of a TLSOption definition
      options: ""
      certResolver: ""
      domains: []
      # - main: example.com
      #   sans:
      #     - foo.example.com
      #     - bar.example.com
  metrics:
    port: 9100
    # hostPort: 9100
    # Defines whether the port is exposed if service.type is LoadBalancer or
    # NodePort.
    #
    # You may not want to expose the metrics port on production deployments.
    # If you want to access it from outside of your cluster,
    # use `kubectl port-forward` or create a secure ingress
    expose: false
    # The exposed port for this service
    exposedPort: 9100
    # The port protocol (TCP/UDP)
    protocol: TCP

# TLS Options are created as TLSOption CRDs
# https://doc.traefik.io/traefik/https/tls/#tls-options
# Example:
# tlsOptions:
#   default:
#     sniStrict: true
#     preferServerCipherSuites: true
#   foobar:
#     curvePreferences:
#       - CurveP521
#       - CurveP384
tlsOptions: {}

# Options for the main traefik service, where the entrypoints traffic comes
# from.
service:
  enabled: true
  type: LoadBalancer
  # Additional annotations applied to both TCP and UDP services (e.g. for cloud provider specific config)
  annotations: {}
  # Additional annotations for TCP service only
  annotationsTCP: {}
  # Additional annotations for UDP service only
  annotationsUDP: {}
  # Additional service labels (e.g. for filtering Service by custom labels)
  labels: {}
  # Additional entries here will be added to the service spec.
  # Cannot contain type, selector or ports entries.
  spec: {}
    # externalTrafficPolicy: Cluster
    # loadBalancerIP: "<IP_ADDRESS>"
    # clusterIP: "<IP_ADDRESS>"
  loadBalancerSourceRanges: []
    # - <IP_ADDRESS>/32
    # - <IP_ADDRESS>/16
  externalIPs:
    - <IP_ADDRESS>
  # One of SingleStack, PreferDualStack, or RequireDualStack.
  # ipFamilyPolicy: SingleStack

## Create HorizontalPodAutoscaler object.
##
autoscaling:
  enabled: false
#   minReplicas: 1
#   maxReplicas: 10
#   metrics:
#   - type: Resource
#     resource:
#       name: cpu
#       targetAverageUtilization: 60
#   - type: Resource
#     resource:
#       name: memory
#       targetAverageUtilization: 60

# Enable persistence using Persistent Volume Claims
# ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
# After the pvc has been mounted, add the configs into traefik by using the `additionalArguments` list below, eg:
additionalArguments: []
  # default-ssl-certificate: "kubeapps/becamexidc-cert"
# - "--certificatesresolvers.le.acme.storage=/data/acme.json"
# It will persist TLS certificates.
persistence:
  enabled: false
  name: data
#  existingClaim: ""
  accessMode: ReadWriteOnce
  size: 128Mi
  # storageClass: ""
  path: /data
  annotations: {}
  # subPath: "" # only mount a subpath of the Volume into the pod

# If hostNetwork is true, runs traefik in the host network namespace
# To prevent unschedulabel pods due to port collisions, if hostNetwork=true
# and replicas>1, a pod anti-affinity is recommended and will be set if the
# affinity is left as default.
hostNetwork: false

# Whether Role Based Access Control objects like roles and rolebindings should be created
rbac:
  enabled: true

  # If set to false, installs ClusterRole and ClusterRoleBinding so Traefik can be used across namespaces.
  # If set to true, installs namespace-specific Role and RoleBinding and requires provider configuration be set to that same namespace
  namespaced: false

# Enable to create a PodSecurityPolicy and assign it to the Service Account via RoleBinding or ClusterRoleBinding
podSecurityPolicy:
  enabled: false

# The service account the pods will use to interact with the Kubernetes API
serviceAccount:
  # If set, an existing service account is used
  # If not set, a service account is created automatically using the fullname template
  name: ""

# Additional serviceAccount annotations (e.g. for oidc authentication)
serviceAccountAnnotations: {}

resources: {}
  # requests:
  #   cpu: "100m"
  #   memory: "50Mi"
  # limits:
  #   cpu: "300m"
  #   memory: "150Mi"
affinity: {}
# # This example pod anti-affinity forces the scheduler to put traefik pods
# # on nodes where no other traefik pods are scheduled.
# # It should be used when hostNetwork: true to prevent port conflicts
#   podAntiAffinity:
#     requiredDuringSchedulingIgnoredDuringExecution:
#     - labelSelector:
#         matchExpressions:
#         - key: app
#           operator: In
#           values:
#           - {{ template "traefik.name" . }}
#       topologyKey: failure-domain.beta.kubernetes.io/zone
nodeSelector: {}
tolerations: []

# Pods can have priority.
# Priority indicates the importance of a Pod relative to other Pods.
priorityClassName: ""

# Set the container security context
# To run the container with ports below 1024 this will need to be adjust to run as root
securityContext:
  capabilities:
    drop: [ALL]
  readOnlyRootFilesystem: true
  runAsGroup: 65532
  runAsNonRoot: true
  runAsUser: 65532

podSecurityContext:
  fsGroup: 65532

Add more configuration information here.
If applicable, please paste the log output in DEBUG level
No response

this is my manifest file on k8s
---
# Becamex IDC > XLNT > Smartin service
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: becamex-xlnt-dev
  name: smartin-service
spec:
  replicas: 1
  selector:
     matchLabels:
       app: smartin-service
  template:
    metadata:
      labels:
        app: smartin-service
    spec:
      terminationGracePeriodSeconds: 30
      imagePullSecrets:
        - name: private-secret
      containers:
      - name: smartin-service # renamed from `web-api`
        image: becamexidc2020/xlnt_web-api:latest
        imagePullPolicy: Always
        ports:
        - containerPort: 1121
        - containerPort: 1122
        env:
        - name: TZ
          value: Asia/Ho_Chi_Minh
        - name: BCM_SMARTIN_CONNECTION
          value: Server=<IP_ADDRESS>;Database=Dev_BCM_SmartIn;user id=sa;password=Becamex@1234;Trusted_Connection=False;MultipleActiveResultSets=true
        - name: BCM_AUTH_CONNECTION
          value: Server= <IP_ADDRESS>,1433;Database=Dev_Auth;user id=sa;password=f@st123;Trusted_Connection=False;MultipleActiveResultSets=true
        - name: LICENSE_KEY
          value: license/License.lic
        - name: PUBLIC_KEY
          value: MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAmeeyd7CU/4y6vwlm+cqzKEoDYKCY2mXPMk0LfqwCZmpFSfbV8trGXgGaSWB90lnZ/ttztjtxDOVkzPBmC3ojw==
        - name: BCM_AUTH_GRPC
          value: http://auth-service-headless:1126/
        - name: BCM_INVENTORY_GRPC
          value: http://inventory-service-headless:1124/
        - name: BCM_NOTIFICATION_GRPC
          value: http://notification-service-headless:1128/
        - name: API_GETEWAY
          value: https://apidev.becamex.com.vn
        - name: VERSION
          value: "CD_VERSION:46145fde"
        volumeMounts:
          - name: smartin-license
            mountPath: /app/license/
            readOnly: true
          - name: nfs-client
            mountPath: /app/wwwroot
            subPath: Resources
      volumes:
        - name: smartin-license
          secret:
            secretName: smartin-license
            items:
              - key: License.lic
                path: License.lic
        - name: nfs-client
          persistentVolumeClaim:
            claimName: pvc-app-share-dev
        # - name: smartin-resources
        #   emptyDir: {}

---
# K8s > internal service | headless
apiVersion: v1
kind: Service
metadata:
  namespace: becamex-xlnt-dev
  name: smartin-service-headless

spec:
  clusterIP: None
  ports:
    - protocol: TCP
      name: tcp
      port: 1121
    - protocol: TCP
      name: h2c
      port: 1122
  selector:
    app: smartin-service

---
# K8s > internal service | lb
apiVersion: v1
kind: Service
metadata:
  namespace: becamex-xlnt-dev
  name: smartin-service
spec:
  ports:
    - protocol: TCP
      name: tcp
      port: 1121
    - protocol: TCP
      name: h2c
      port: 1122
  selector:
    app: smartin-service

---
# Traefik > routing rule | http
# Matching rule: http://<gateway ip, hostname>/smartin
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: smartin-service-http
  namespace: becamex-xlnt-dev
spec:
  entryPoints:
    - web
  routes:
  - match: Host(`apidev.becamex.com.vn`)  && PathPrefix(`/smartin`)
    kind: Rule
    services:
    - name: smartin-service
      port: 1121

---
# Traefik > routing rule | https
# Matching rule: https://<gateway ip, hostname>/smartin
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: smartin-service-https
  namespace: becamex-xlnt-dev
spec:
  entryPoints:
    - websecure
  routes:
  - match: Host(`apidev.becamex.com.vn`) &&  PathPrefix(`/smartin`)
    kind: Rule
    services:
    - name: smartin-service
      port: 1121
  tls: {}
# ---
# apiVersion: traefik.containo.us/v1alpha1
# kind: ServersTransport
# metadata:
#   name: mytransport
#   namespace: becamex-xlnt-dev
# spec:
#   forwardingTimeouts:              # [6]
#     # dialTimeout: 420s               # [7]
#     # responseHeaderTimeout: 4200s     # [8]
#     idleConnTimeout: 4200s           # [9]
#     # readIdleTimeout: "1s"
#     # pingTimeout: "1s"

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Uncalibrated Values cannot be saved on Google Pixel 4a/5a

Hello.
I am using Sensor Logger on a Google Pixel 4a.
In Settings, even though I have Uncalibrated Values turned on, the Uncalibrated data for magnetics, acceleration and gyro are not saved.
To be precise, when I export the zip file after recording, AccelerometerUncalibrated.csv, GyroscopeUncalibrated.csv and MagnetometerUncalibrated.csv are generated. but the content of the file is 0 bytes.
Also, when I check the recorded data from the Recording list, the Uncalibrated data does not show the time series graph, while the Calibrated data shows it correctly.
This phenomenon occurs on several Google Pixel 4a units. (So I don't think any particular device is broken.)
By the way, the Android app I created is also able to get Uncalibrated Data on Google Pixel 4a.
However, Google Pixel 6 seems to be able to save Uncalibrated data correctly.
Finally, here is a summary of the conditions we tried.

Google Pixel 4a

OS: Android 13, TQ3A.230805.001
SensorLogger: 1.24.0 Build 3145851
Was uncalibrated data recorded?: No

Google Pixel 6

OS: Android 14, UP1A.231005.007
SensorLogger: 1.24.0 Build 3145851
Was uncalibrated data recorded?: Yes

Google Pixel 5a

OS: Andoird 13, TQ3A.230605.011
SensorLogger: 1.24.0 Build 3145851
Was uncalibrated data recorded?: No

Google Pixel 5a

OS: Andoird 14, UP1A.231005.007
SensorLogger: 1.24.0 Build 3145851
Was uncalibrated data recorded?: No

If there is any other information you need to help me solve the problem, please let me know.
Thanks for the great app!
EDIT: I had the wrong Android version for Google Pixel 6, so I fixed it.
EDIT2: Results on Google Pixel 5a were also added.
EDIT3: Results on Google Pixel 5a (Android 14) were added.

Hi @takanotume24, thanks for reporting this issue.
I have found a bug in the Sensor Logger code and this issue will be fixed in the next release 1.25.0. This should be available in the coming days.

Hello! Thanks for the quick fix. I will check when the update is delivered to my device.

Hi @takanotume24, version 1.25.0 has been out for a few days now. Has it resolved the issue? If not, may reopen the issue.

@tszheichoi Hello! Thanks for fixing it so quickly!
I confirmed that the Uncalibrated Data is saved on the Pixel 4a, I can't check on the Pixel 5a as I don't have it with me right now, but it will probably be fine.
Thanks! I will report back if there are any more problems.


CORE-6776: create combined worker installer scripts

As the combined worker is a runnable and not a consumable library we want people to install it via a script / downland, rather than consume it via Maven Central.
Adding gradle logic which will create a new archive zip produced by the combined worker module, this archive contains the following.

a shell script
a PowerShell script which will place the combined work
the actual combined worker jar.

These scripts add the combined worker to a users ~/corda directory and also generate a scrip which will start the combined worker, Further parameters can be passed to these scripts as needed e.g. combined worker DB details etc.
This is inline with how the corda-cli scripts currently work.
Further to this line ending updated specifically for *.sh to address errors some users were experiencing with line endigns.
A further piece of work will add a script that will download this from S3 which we will provide a direct link to allowing a user to run the following ....curl "https://xxxxxxxxxx/get-corda-combined-worker.sh" | sudo bash , this script will in turn download this new zip archive added in this PR, inflate it and generate a start-combined-worker,sh script

No objections with the PR, but out of interest, why are we doing this?
The combined-worker is supposed to be an internal configuration for R3 Corda Developers for debugging and Corda. My understanding was that it will also, temporarily, be packaged up with the DevEx tooling for DP2, but why does it need an installer?

@ronanbrowne , I thought the combined worker would only be consumed through the CSDE tooling, but @mattbradburyr3 should be able to confirm.
Again, I don't have an objection against this, but wonder if it's un-necessary work, and possibly un-necessary support follow-up.

@ronanbrowne , I thought the combined worker would only be consumed through the CSDE tooling, but @mattbradburyr3 should be able to confirm.
Again, I don't have an objection against this, but wonder if it's un-necessary work, and possibly un-necessary support follow-up.

Currently yes that's correct , I have a meeting later with Matthew will discuss then , If this is too big a change of interaction for DP2 it's something we can discuss for Beta - moving to draft until that discussion happens

FYI Closing this for DP2 after conversations with dev ex, will return to this for BETA if  required . CC @driessamyn  / @mattbradburyr3


Add CI testing

Travis CI is easy to integrate with GitHub. The only complication is that we depend on webgl, and headless browsers don't have that. Some people have claimed success with using https://github.com/stackgl/headless-gl and travis.

Turns out headless-gl doesn't support OES_texture_float. In order to unblock travis CI integration, we need to use textures with gl.UNSIGNED_BYTE data type. This issue is tracked at #19.

Does it not support the extension at all? If not, then we're out of luck entirely. The gl.UNSIGNED_BYTE trick is just because gl.readPixels for floating point textures is not available. We might want to abstract gl_FragColor and do integer packing in testing mode so we can get this working.


NLL used as benchmark

Looking as http://proceedings.mlr.press/v119/duan20a/duan20a.pdf
and looking at https://xgboost-distribution.readthedocs.io/en/latest/experiments.html it is not clear to me why NLL would be a good metric for model comparison. Isn't the better criteria to compare the performance with NGBoost divergence or directly loss function? How exactly is the distribution of every y^\hat prediction of the model incorporated in the benchmark?

Using the log likelihood as an evaluation metric basically quantifies how well the predicted distributions fit the observed data. This is exactly the training objective here, since we're are fitting via maximum likelihood estimation.
Here's an illustration: For each datapoint in the test data, we have ($y_i$, $X_i$). We predict on each $X_i$ to get the distribution parameters. For example, in the case of a normal distribution, we'd get $(\mu_i, \sigma_i)$ for each datapoint. We can then put the $(y_i, \mu_i, \sigma_i)$ into the probability density function for the normal distribution to estimate the likelihood of observing that datapoint under that distribution. Here's the corresponding line in code. Note that the reported NLL values in the experiments page are the average of the NLLs for each datapoint.

@CDonnerer Thanks, that answers my questions. Now, I understand it better.


Revert "Revert "Made grpc_core::Mutex compatible to absl::Mutex""

Reverts grpc/grpc#25537

The revert did not fix the xds_end2end_test flake, flake still happening; now reverting the revert to restore code base.


Cards open on touch down, change to touch up please

This layout is absolutely amazing visually.
However, I am using it inside of a viewpager, and it does not behave well with swiping, because it opens cards based on a touch down event, whereas I feel a more natural approach would be to respond to touch up events for selecting cards.
Thank you.

Card selection currently happens on Touch Up itself. Please look at https://github.com/mutualmobile/CardStackUI/blob/master/cardstack/src/main/java/com/mutualmobile/cardstack/CardStackAdapter.java#L199

It was due to ACTION_CANCEL happening during scroll. Fixed it


Venue hire: at-a-glance view of key information

Who it's for
Meeting planners visiting Venue Hire section
Problem to be solved
Analytics data for the past six months shows that traffic is up on the previous six months, but the user behaviour within the Venue Hire section shows that many people don't look at any of the subpages (available spaces and food & drink), and the consistent usage of those pages hints that they're having to look at every page to get the information they need.

Note that despite traffic to all of the Venue Hire pages being UP compared to the previous 6 months, this isn’t translating into increased bookings. Your total number of events are down, and total number of enquiries are down as well. Given the Commercial ambitions for the next FY, we need to look at making some changes that might contribute to increased conversion to bookings + income. This is one of those.
Hypothesis
The lack of an at-a-glance view of the rooms and their capacities is 1) off-putting to potential customers and 2) requires interested customers to hunt and peck to find this essential piece of information.
Ideas

Add a simple table with Rooms & Capacities to the Venue Hire page

Room
Capacity

Dale Room
18-50

Steel Room
18-50

Private Dining Room
24-80

Franks Room
32-70

Franks and Steel Rooms combined
48-120

Williams Lounge
60-160

Atrium
80-390

Henry Wellcome Auditorium
154

Reading Room
160


Fix the storage of Okta Config passwords.

Issue:

Problem

This ensures that when Okta is used with OpenLDAP and the password is stored in the AuthConfig, it will be split out into a separate secret.
Solution

This adds an additional migration condition and splits the secret out using the same logic as is used for Shibboleth.
Testing

Configure Okta with OpenLDAP and the password will appear in the authconfig/okta resource.
Upgrading to code with this fix will split it out and a secret is created serviceAccountPassword: cattle-global-data:oktaconfig-serviceaccountpassword with a new condition OktaPasswordMigrated.
Engineering Testing
Manual Testing

Automated Testing

Test types added/modified:

Unit
Integration (Go Framework)
Integration (v2prov Framework)
Validation (Go Framework)
Other - Explain: EXPLAIN
None
REMOVE NOT APPLICABLE BULLET POINTS ABOVE

If "None" - Reason: EXPLAIN THE REASON

If "None" - GH Issue/PR: LINK TO GH ISSUE/PR TO ADD TESTS

Summary: TODO
QA Testing Considerations

Regressions Considerations

TODO
Existing / newly added automated tests that provide evidence there are no regressions:

TODO

https://github.com/rancherlabs/rancher-security/issues/1315


Reuse information from depictions in categorization step

What is the user problem or growth opportunity you want to see solved?
It is tedious to add the category when it is perceived that the software could assist with data input.
How do you know that this problem exists today? Why is this important?
When I add that an image depicts something that has a Commons category connected on the Wikidata item, it feels like the app could assist me by suggesting that category for me as a user rather than needing to type it in again. "These categories are connected to things you added as depicted in the image: [list of connected categories with checkboxes]"
Who will benefit from it?
Every user that adds depicts information.
Anything else you would like to add?
No response

Hmm, I actually thought this was something that we had already implemented. @Ainali , could you confirm the version of the app that you are using?
Tagging @nicolas-raoul for input.

Now I see! I was confused because Q636666 did not show the category I expected. It turns out that it has two values on P373 and the one that unfortunately is hard to interpret for me is chosen in the app. Perhaps in cases where there are several values the app should show all of them, or if you only want to go with one, pick the one that is used as sitelink.

I did not know an item could have several P373. 🤯
It is a Wikidata constraint violation but I guess it is OK for some types of items ("ship can change name and flag state through time, but the IMO number remains the same through the hull's entire lifetime. As a result, it can be useful to identify a ship by using the IMO number.")
I am fine with either suggesting all linked categories, or only the one listed as "Multilingual sites" (there strictly can only be one so we can hope that the most appropriate is used).

Would you mind creating a new bug report for this? :-)

Sure, I'll do that!


Download from Pluzz fails with latest version, ok with 2016.12.01

Please follow the guide below

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

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.20. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.12.20

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ ~/youtube-dl/youtube-dl -v "http://pluzz.francetv.fr/videos/le_monde_de_jamy_,150486050.html"
[debug] System config: []
[debug] User config: [u'--prefer-ffmpeg']
[debug] Command-line args: [u'-v', u'http://pluzz.francetv.fr/videos/le_monde_de_jamy_,150486050.html']
[debug] Encodings: locale ISO-8859-1, fs ISO-8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2016.12.20
[debug] Python version 2.7.13 - Linux-4.9.0-rc8-x86_64-with-debian-stretch-sid
[debug] exe versions: avconv 3.2.2, avprobe 3.2.2, ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[pluzz.francetv.fr] le_monde_de_jamy_,150486050: Downloading webpage
[pluzz.francetv.fr] 150486050: Downloading video JSON
[pluzz.francetv.fr] 150486050: Downloading geo restriction info
[pluzz.francetv.fr] 150486050: Downloading m3u8 information
[pluzz.francetv.fr] 150486050: Downloading m3u8 information
ERROR: Both formats hls_v5_os-1467 and hls_v5_os-189 are video-only, you must specify "-f video+audio"
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/dw/youtube-dl/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 444, in main
    _real_main(argv)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/__init__.py", line 434, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1424, in process_video_result
    formats_to_download = list(format_selector(ctx))
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1069, in selector_function
    for format in f(ctx):
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1188, in final_selector
    return selector_function(ctx_copy)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1079, in selector_function
    picked_formats = list(f(ctx))
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1180, in selector_function
    yield _merge(pair)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1152, in _merge
    % (format_1, format_2))
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
    self.trouble(error_message, tb)
  File "/home/dw/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

For comparison, here is the same output with version 2016.12.01:
$ youtube-dl -v "http://pluzz.francetv.fr/videos/le_monde_de_jamy_,150486050.html"
[debug] System config: []
[debug] User config: ['--prefer-ffmpeg']
[debug] Command-line args: ['-v', 'http://pluzz.francetv.fr/videos/le_monde_de_jamy_,150486050.html']
[debug] Encodings: locale ISO-8859-1, fs iso8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.5.2+ - Linux-4.9.0-rc8-x86_64-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[pluzz.francetv.fr] le_monde_de_jamy_,150486050: Downloading webpage
[pluzz.francetv.fr] 150486050: Downloading video JSON
[pluzz.francetv.fr] 150486050: Downloading geo restriction info
[pluzz.francetv.fr] 150486050: Downloading m3u8 information
[pluzz.francetv.fr] 150486050: Downloading m3u8 information
[debug] Invoking downloader on 'http://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2016/S51/J3/150486050-585afa909ff3f-,standard1,standard2,standard3,standard4,standard5,qad,.mp4.csmil/index_4_av.m3u8?null=0'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 677
[download] Destination: Le monde de Jamy - Feux d'artifice, cirques, parcs d'attractions  - des étoiles plein les yeux !-150486050.mp4
[download]   0.0% of ~1.24GiB at 203.91KiB/s ETA 02:23:21^C
ERROR: Interrupted by user

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
As seen on the two previous logs, there seems to be a regression on the pluzz.fr site.
Thanks in advance for your help.

I do not know if this is related or not, but the logs show that the first invocation is using python2.7 while the other is using python3.5. The handling of options also looks different in the two cases.
The first case is a clone of the repo with "make youtube-dl" while the other is a Debian package.

Thanks for the report, it should be fixed in the next version.


Splitting out into proper namespace and adding Env Utils

The rest is just noise and details.

I manually merged this and added a few small things. We do have some cleanup to do, but I wanted to move this along so that we can start using it


String Resources not available

In ConfigService.java string resources are not there where to get those ?
private void setIndianExpressElementsFromConstants() {
        setIndianExpressBody(Constants.getConstant(mContext, R.string.tie_body));
        setIndianExpressHead(Constants.getConstant(mContext, R.string.tie_head));
        setIndianExpressImage(Constants.getConstant(mContext, R.string.tie_image));

        setIndianExpressBusinessBody(Constants.getConstant(mContext, R.string.tie_business_body));
        setIndianExpressBusinessHead(Constants.getConstant(mContext, R.string.tie_business_head));
        setIndianExpressBusinessImage(Constants.getConstant(mContext, R.string.tie_business_image));
    }

Hi. These string res files were fall back values. The real values are sent on startup by Parse. For reference you can use these. I am not sure if all the values would work.

    <string name="th_body">p.body</string>
    <string name="th_head">h1</string>
    <string name="th_image_1">img.main-image</string>
    <string name="th_image_2">div#contartcarousel</string>

    <string name="toi_body">div.Normal > div.Normal</string>
    <string name="toi_head">span.arttle > h1</string>
    <string name="toi_image_1">div.flL_pos > img</string>
    <string name="toi_image_2">#articleimg1</string>

    <string name="tie_body">.main-body-content > p</string>
    <string name="tie_head">h1</string>
    <string name="tie_image">.main-story img</string>

    <string name="tie_business_body">p</string>
    <string name="tie_business_head">h1</string>
    <string name="tie_business_image">.storypic > img</string>

    <string name="fp_body">.fullCont > p</string>
    <string name="fp_head">h1</string>
    <string name="fp_image">.fullCont img</string>

Ok. The App Worked by these values. But What to do at Parse.com? Have I to add classes on my own or I have to run specific job or what ? May Be little help in readme file will help.

You have to craete cloud code at Parse. The code is available in https://github.com/sahildave/Gazetti_Newspaper_Reader/blob/master/app/cloud/cloud/main.js
You can read the cloud jobs at something like "get_data_hindu_all" at Line 129. When you have all the jobs ready, run them every 5 mins or so on Parse, and it would start fetching data. Leave it for a day to get a substantial amount.
I'll update the readme file too.


Remove Patryk Michalik from contributor list on About page

I can't do git so I'm just gonna do this manually lol


xctool fails to launch simulator and install application when running tests against XCode 6 Beta 5

Running application tests for iOS using xctool with XCode 6 Beta 5 fails.  This worked with XCode 6 Beta 4.
export DEVELOPER_DIR="/Applications/Xcode6-Beta4.app/Contents/Developer"
<path to xctool>/xctool.sh -workspace <workspace>.xcworkspace -scheme <schema> test -sdk iphonesimulator8.0

Result:
[Info] Collecting info for testables... (1542 ms)
  run-test appTests.xctest (iphonesimulator8.0, application-test)
    [Warning] Tried to install the test host app 'com.domain.app' but failed. (51 ms)
    [Info] Preparing test environment failed; will retry 2 more times (0 ms)
    [Info] Stopped any existing iOS simulator jobs to get a fresh simulator. (120 ms)
    [Info] Reset iOS simulator content and settings at path "/Users/jenkins/Library/Developer/CoreSimulator/Devices/BD4FCA64-F2E1-4A49-9DBF-A3F1A5E6E897/data" (103 ms)
    [Warning] Tried to install the test host app 'com.domain.app' but failed. (15 ms)
    [Info] Preparing test environment failed; will retry 1 more time (0 ms)
    [Info] Stopped any existing iOS simulator jobs to get a fresh simulator. (120 ms)
    [Info] Reset iOS simulator content and settings at path "/Users/jenkins/Library/Developer/CoreSimulator/Devices/BD4FCA64-F2E1-4A49-9DBF-A3F1A5E6E897/data" (120 ms)
    [Warning] Tried to install the test host app 'com.domain.app' but failed. (12 ms)
    [Warning] Preparing test environment failed. (0 ms)
      -[TEST_BUNDLE FAILED_TO_START]
--------------------------------------------------------------------------------
There was a problem starting the test bundle: Simulator 'iPhone 4s' was not prepared: Failed for unknown reason.
----|---------------------------------------------------------------------------
    X -[TEST_BUNDLE FAILED_TO_START] (0 ms) (0)
      -[APICompletionHandlerTests testBlockCallsLogoutAppropriately]

...cut out all other tests fail...

@BobReid, would you mind sharing that launch script that launches Web Start via a Terminal?

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Since it is more an Apple issue rather then xctool (and I doubt we can improve/fix it in xctool itself) I will close the issue. Hope you all found a workaround.
Feel free to send a PR with your workarounds. We can add all of them to a README, I guess, to help other engineers when they hit this issue.


fix subst drive paths on Windows

On Windows, if you use subst to create a new drive from a subpath of another drive, some software resolves paths back to the previous drive and others don't.
Sublime doesn't, but git does, it appears.
Eg:
D:\development\my_repo\architecture\models.py in Sublime gets turned into C:\d_drive\development\my_repo\architecture\models.py by git. To be more correct, running git rev-parse --show-toplevel returns C:\d_drive\development\my_repo which is clearly NOT a prefix of D:\development\my_repo\architecture\models.py and this breaks the relative file path calc in the RemoteUrlCommands.

Unfortunately, os.path.realpath DIDN'T resolve the path through subst paths until python3.8, so this necessitates an "upgrade" to py3.8, meaning Sublime4+ support only. Technically, the plugin should still work fine on older versions of sublime as the os.path function still exists and the .python-version file is ignored, but the bug won't be fixed on older versions. This is the obscure end of an obscure wedge...


Add TSC meeting notes from 02-03-2020

Signed-off-by: Michael Dolan<EMAIL_ADDRESS>

@hodoulp and @Shootfast I tried to capture your discussion about memory management, but please suggest changes if I missed a point.


Unexpected behavior when wallet.signMessage in useEffect - Mobile Chrome

I added some code info solana dapp-scaffold.
https://github.com/newcometlab/dapp-scaffold/blob/mobile-signmessage-test/src/views/home/index.tsx#L32-L48
https://dapp-scaffold-mobile-signmessage-test.vercel.app/
On mobile, I connected walllet, then I couldn't approve signMessage.

There was no issue in desktop browser.

Android v9
Chrome 112.0.5615.101v

Have anybody seen a similar issue to this?

Hmm, I'll flag this for someone on the Solana Mobile team. It looks like it's more likely to be something related to https://github.com/solana-mobile/mobile-wallet-adapter

@newcometlab Hi! I'm from the Solana Mobile team and this is behavior is unfortunately due to a known limitation with Android Chrome. By design, Android Chrome blocks all navigation that does not begin from a user gesture (i.e. pressing a button).
In your case, signMessage tries to navigate to a wallet app, but it begins from a useEffect which is not a user gesture. This gets blocked by chrome, and you're instead sent to a fallback URL for wallet selection (because MWA thinks you have no available wallets).
Couple of questions for you:

Whats the use-case you're trying to achieve for this useEffect -> signMessage flow?
Have you considered creating a native mobile app?

@Michaelsulistio Thank you for dealing my issue!

I want to create an access token by signMessage when users connect wallet.
I am only considering web app.

@newcometlab Gotcha. My recommendation is to detect when the user is an Android user on Chrome, then show them an alternate UI flow where they have to press some button to create an access token.
This current solution is not ideal, but in the future, we're exploring longer term solution where we can combine "connect + signMessage" from the first connect (a signIn API). @jordansexton has more info on this.


Opening an invalid file does not remove the previous one

Describe the bug
Opening an invalid file does not remove the previous one when navigating in multi-file mode after having opened a valid file
To Reproduce
Steps to reproduce the behavior:

Open the test folder using f3d --dry-run f3d\testing\data
Press right until you hit an invalid file
The previous file stays opened

Expected behavior
The previous actor should be removed.
System Information:

OS: Windows

F3D Information
2.2 RC2

I remember fixing that and even adding a test for it.

I reproduce


Trying a technique in order to circumvent rootDir errors

Closing in favor of https://github.com/blackbaud/skyux-builder/pull/368


Additional regressions

The HiSPARC project uses a derived version of this script in an analysis tool for students to work with cosmic-ray data. We were very pleased to have found this script, it saved us a lot of time. We did miss some functions so we extended the number of regression methods to include a sine and gaussian fit and added an exponential regression where each point has equal weight. Perhaps you can add these regressions back into your script, we did modify some of the code style and such, but the essentials should be easy to copy. You can find these added regressions (with references) in our latest version of the script:
https://github.com/HiSPARC/jsparc/blob/master/scripts/regression.js
Feel free to use it..

:+1: for the added regression model and the mathjax conversion.
May be could making a PR to make the merge easier for Tom-Alexander@?

I currently do not have time to do that. Perhaps later, or someone else will need to do it.


feat: add Shutdown to support graceful quit of HTTP Server

📑 Description
Closes https://github.com/goravel/goravel/issues/436

@coderabbitai summary

✅ Checks

[ ] Added test cases for my code

In the previous PR, I said we need to change Singleton to Bind. I reviewed it, and it's wrong (sorry for this). The Route facade should be a singleton instance, because Routers are registered to the Route facade. If so, in order to adapt the situation of calling Run and RunTLS simultaneously, the server may need to change to []*http.Server from *http.Server in this PR: https://github.com/goravel/gin/pull/83/files , close all servers at the same time when calling the Shutdown method. Any thoughts, please?

I still think it is not suitable to use slice to manage server instances. In practice, there are usually no multiple instances at the same time. Mounting multiple http servers on the struct is also more convenient to manage than slice. More situations that need to consider multiple server instances are: different host, port and routes. In this case, maybe need to open a separate facade to create a new route instance. The default facade.Route() is associated with too many things.

Emm, another facade is unexpected. And yes, there are usually no multiple instances at the same time. Maybe we can add a new method: facades.Route().Host() or something else in the future, didn't think carefully. But for now, User can use Run, RunTLS simultaneously, so we have to deal with this situation.

@hwbrzzl has compatibled https://github.com/goravel/gin/pull/83

Hey @zxdstyle   We created a private channel in Discord for contributors. You can click the link and DM me (@Bowen) to join it if you are interested.
Here you can:

Send PR link or review others' PRs;
Discuss new features before creating an issue;
Vote for something;
etc.


fix(connect-wallet): only request connect if require

Without this check, wagmi will throw ConnectorAlreadyConnectedError when Metamask is already available .

fix #13520 by this PR.


Visit to Lead Optimization: A/B Test Framework

As an Opentrons marketer, I'd like to be able to run A/B tests on the Opentrons website, so that I can iterate on web design and improve visit to lead conversions.
Acceptance Criteria

Add 'optimize plugin' code snippet to existing Google Analytics tracking snippet
Snippet should be updated on every page

Implementation Notes
Instructions from Google (also available here):
Do the following on every page where you want to use Optimize:

Move your Analytics tracking code as high as possible in the  of the page.

Copy the Optimize plugin (below):
ga('require', 'GTM-56B6C9M');

Paste the Optimize plugin into your existing Analytics tracking code as shown below:

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-83820700-1', 'auto');
  ga('require', 'GTM-56B6C9M');
  ga('send', 'pageview');
</script>```

Closing; no longer relevant


Add a fluent API for repeating with various options.

There are various ways to repeat stuff. With or without a separator, with a minimum number of repetitions, allowing 0 repetitions or not, gathering into some accumulator. There is also a ticket open to add a maximum: https://github.com/typelevel/cats-parse/issues/97
That gives rise to a lot of different combinations for repeating parser constructors, with opportunity for inconsistency and not having some specific combinations of concerns.
What do you think about adding a fluent API starting from rep or rep0, and then adding combinators for min, max, separator and accumulator?

I'm open to this but I'm a bit worried about making rep or rep0 harder to use in the default case. Like, what is the return type?
We could imagine a few possibilities:

a new subclass of Parser/Parser0 like RepParser/RepParser0 that has some methods that that Parser does not (like, withMin, withMax, withSep, or something like that).
an independent class that you have to convert at the end to a parser: .toParser or something
an independent class for which there is an implicit conversion to Parser

I'm a bit negative on magic APIs. A principle I like a lot is "no weird shit" (of course, what is weird is left to the reviewer, but we should put a real penalty on anything cute or fancy).
All this having been said, my bias is towards regular methods on Parser/Parser0 or the companion object. To me, a method on the companion with all the possible arguments, but defaults given, and calling with by name parameters seems good enough: it is familiar, nothing to learn, no magic, the only thing is possibly lacks is convenience in a pipeline of operations (so you might have to do: val foo = ....; val bar = Parser.repWith(min = ... max = ... sep = ..., acc = Accumulator....)

I'll draft something with both variations.

https://github.com/typelevel/cats-parse/compare/main...martijnhoekstra:rep?expand=1 is WIP on a Repeater API
I tried to abstract over Parser0 and Parser so that the min combinator works with/without allowing 0. That's probably not a fruitful direction -- the difficulty lies in the variance on the element type in the accumulator.
I'll make another one for repWith, though that might come tomorrow.

One suggestion after looking at that PR: do you want to send a separate PR for a maximum number of repeats, and separate the idea of the API considerations from the capabilities?
Secondly, a suggestion: rather than using -1 as infinite, we could put max - 1 as the parameter. Then we could do while (cnt <= maxMinusOne)
So, if we set that to Int.MaxValue, it is always true and we recover the previous behavior (and only one comparison)

That's a good idea for the sentinel.
Submitting a PR making Rep and Rep0 capable of max first so you can separate those concerns sounds good to me.

That's a good idea for the sentinel.
Submitting a PR making Rep and Rep0 capable of max first so you can separate those concerns sounds good to me.

So we have #132 merged.
We don't have a fluent API still. I wonder a bit if repetition is important enough to have such an API. The core repetition primitive does have an internal representation because it has a loop in it, and doing that explicitly seems to improve performance and stack safety (vs using Defer which could also be used to power recursion).
An alternative idea would be to add another series of rep methods that accept a sep: Parser[Any].
This isn't as pretty a builder, but it does side-step what the return type should be of a partially built fluent API.

So we have #132 merged.
We don't have a fluent API still. I wonder a bit if repetition is important enough to have such an API. The core repetition primitive does have an internal representation because it has a loop in it, and doing that explicitly seems to improve performance and stack safety (vs using Defer which could also be used to power recursion).
An alternative idea would be to add another series of rep methods that accept a sep: Parser[Any].
This isn't as pretty a builder, but it does side-step what the return type should be of a partially built fluent API.

#141 and #142 added all the methods we want without a fluent API, but I think it may be good enough.

#141 and #142 added all the methods we want without a fluent API, but I think it may be good enough.

Let's call it good then.

Let's call it good then.


Check calculations

It appears the sums are off for the forecast years.  I'll track down what the numbers should be and share them here.

My estimates and the current estimates in the tool (in parentheses) are:
2010: 109,797,472 (109,797,472)
2020: 115,538,796 (231,077,593)
2030: 120,217,415 (240,434,829)
2040: 126,117,627 (252,235,255)
The 2020, 2030, and 2040 numbers are exactly 2 times what they should be.

I have passed this one on to Lisa.  I checked the front end and summary views.  All seems appropriate.  Lisa will check the sql script to confirm any errors with the underlying data table processing.

Ooops, I think this is due to a bug in the core summaries script (an extraneous SAMPLESHARE divide).  Sorry about that!  I'll update the vmt tables in the database and let @Keareys know when it's done so he can regenerate the cached table(s?).


chore: fix 404 link

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Tenant: show proper access error

Currently 403 errors in api calls on tenant pages only show a Toast in the screen corner, keeping the page empty and the loaders spinning. This PR adds a proper Access Denied page for this situation. It displays when either /viewer/json/tenantinfo or /vierer/json/describe responds with 403.

If we show Access Denied illustration, it is no need to show toast. It seems it should be deleted in respective cases.

Actually I realised there is no toast for the 403 error. Just a blank page with an infinite spinner. Toasts are shown for http errors 500+: https://github.com/ydb-platform/ydb-embedded-ui/blob/main/src/store/utils.js#L35
@Raubzeug I think there is no such changes required as for now.


Hue with ID Broker HA

When multiple entry is there in fs..ext.cab.address as ID Broker HA, hue fails to connect to fb
Jira: CDPD-27884
How was this patch tested?
Tested manually by setting fs.s3a.ext.cab.address in core-site with
https://testing1.testing.com:8444/gateway,https://testing2.testing.com:8444/gateway

Selecting at random looks much better than only choosing the first host even in HA mode . But it also has its own downside when one IDBroker instance is down and we randomly send request to it.
Can we try implementing something like this? This is for RM HA. https://github.com/cloudera/hue/blob/8f24a01cf49c23747078e74a0d6c74fc97d4bbbf/desktop/libs/hadoop/src/hadoop/cluster.py#L40-L56
There are some supporting methods also in the file.
cc: @wing2fly @quadoss

Selecting at random looks much better than only choosing the first host even in HA mode . But it also has its own downside when one IDBroker instance is down and we randomly send request to it.
Can we try implementing something like this or the logic part? This is for RM HA.
https://github.com/cloudera/hue/blob/8f24a01cf49c23747078e74a0d6c74fc97d4bbbf/desktop/libs/hadoop/src/hadoop/cluster.py#L40-L56
There are some supporting methods also in the file. cc: @wing2fly @quadoss

Made the needed change @Harshg999 by checking to see if the IDBroker returns valid response code and then returning that.


Add use_ipfs_daemon fixture

Is your feature request related to a problem? Please describe.
See here. The use_ipfs_daemon fixture is being used in three different repos.
Describe the solution you'd like
Add it to open-autonomy.

Already extracted https://github.com/valory-xyz/open-aea/blob/main/plugins/aea-cli-ipfs/aea_cli_ipfs/test_tools/fixture_helpers.py#L29


Dbaty/django 10 compat and related fixes

compatibility with Django 1.10 (same fix as in #24, a new test for it, and adapt existing tests);
document support of Python 3.6 (and add builds to Travis)
fix requirement installation in Makefile (all Travis builds use the same Django version, currently).

Merged (somewhat) as 71058964d6835b7f3a5c8848e21be9a8fda07a27; thanks!


Unnecessary presence update events after restoring a connection

Which version of the Ably SDK are you using?
1.2.20
On which platform does the issue happen?
iOS16.5.1
Are you using Carthage?
no
Are you using Cocoapods?
no
Which version of Xcode are you using?
14.3.1
What did you do?
The iOS app is present in a channel:

When the app goes to the background, the ARTRealtime connection goes to a disconnected state after a few seconds.
The app leaves the presence, as expected:

When the app is going back to the foreground,  the ARTRealtime connection is restored (connected state) and the app enters the presence once again. The app might also push an extra 'update' event on the presence of the channel.

The extra 'update' event is not expected. When the app moves multiple times to the background, lost its connections and restoring the connection when bringing back to the foreground, the extra 'update' events keep stacking. After a while, multiple 'update' events can be seen on one connection restore:

Our app does not send any update events from our code.
We have users that keep the app open for multiple days, the app goes many times to the background / foreground. This results in more than 50 update messages each time the app restores its connection.

Thank you for the report @DCleymans, this does not sound like an expected behaviour. We'll look into it.

Please check v1.2.26
Should be fixed now.

Closing this one since we haven’t heard back from the reporter. Feel free to re-open if this is still affecting you, @DCleymans.


Project Feedback!

:+1: nice work. A few notes after checking out the code:

Nice to see you successfully used OAuth login. OAuth is widely used and it's important to understand OAuth v1 and v2 properly.
Good to see you were able to format the timestamp cleanly.
Nice to see you used the SwipeRefreshLayout for easy timeline refreshes.
Nice touch with the character count being displayed while the user composes a tweet.
Consider moving TwitterClient into network folder.
Good to see you added persistence using DBFlow.
Good to see you used DialogFragment. Fragment is an important component and its use is good practice.
Consider using GSON to conveniently serialize and deserialize API responses into objects.

Here's a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, ActionBar, Navigation, Models, Authentication, API Communication, Persistence, et al) and see how they all fit together. We are close now to a turning point in the course where you should be hitting a "critical mass" towards your knowledge of Android.

:+1: nice work. A few notes after checking out the code:

Good to see you used ViewPager and TabLayout. These
components are recommended by Material Design to enhance user experience and are found in majority of the apps. ViewPager can also be used separately without TabLayout to show paging of content using swipe in any section of the screen layout.
Aim to get familiar with creating custom drawables and styles by trying to customize different widgets.
Remember to add an indeterminate progress indicator during background tasks.
Nice to see you played around with styling the sliding tab strip
Nice to see you appropriately used OnClickListeners on the user's profile image to navigate to their profile view.
Nice to see you properly communicated the user to the user timeline fragment from the profile activity.
Glad to see you properly hooked up each of the different timelines to infinitely paginate.
For a future exercise, challenge yourself to move even more of the logic into the base Fragment class and out of the extension timeline fragments. For example, the scroll listener could be set in the base class and then the "onLoadMore" could call an abstract method which is defined separately in the extended class. This approach could be used to move almost all the logic into the base except for certain key abstract methods.

Here's a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you might be able to improve your submission.
This week (Week 5), we are going to cover the last major piece to the Android puzzle and that is using the hardware and SDK components such as the camera, photo gallery, location, maps, etc. After that, Week 6 and week 7 we will be covering a few important intermediate topics such as more about styling and animation as well as testing.
Following the bootcamp, we are going to have a public demo day to celebrate the progress you've all made with our next batch of Android students and multiple companies attending to see the group projects that you all have built. We are going to help however we can over the next few weeks to get the team project apps in shape for that.


Error GLSL

Error :
There was an error initializing the shades: failed compiling shader: 0: 14(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20 ans 1.00 ES
DEBIAN 32 bit

Same problem on my amd64 Gentoo with intel video.

+1 that one #128

Thanks for the report! Closing as duplicate. Please subscribe to #128 for updates.

Sorry,
Didn't saw that


feature: add meta server for handling prometheus metrics and pprof by yurttunnel

Ⅰ. Describe what this PR does

add a meta server for yurttunnel in order to handle http requests like profiling and metrics.
default meta port on which serve meta requests by yurt-tunnel-server is: 10265, and can be set by user with --meta-port parameter.
default meta port on which serve meta requests by yurt-tunnel-agent is: 10266, and also can be set by user with --meta-port parameter.

Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
make all
make release WHAT=cmd/yurt-tunnel-server
make release WHAT=cmd/yurt-tunnel-agent
and check pprof and metrics at http://<IP_ADDRESS>:10265(6)/metrics or http://<IP_ADDRESS>:10265(6)/debug/pprof
Ⅴ. Special notes for reviews

lgtm


Feature: third-order MPRK methods

[ ] out-of-place versions of MPRK43I and MPRK43II
[ ] in-place versions of MPRK43I and MPRK43II

The in-place versions have been implemented, didn't you?

You're right, that was done in #79


fix: downgrade onboard

What it solves
Resolves #3607
How this PR fixes it
It seems that, after deployment, it doesn't work. I will look more into this tomorrow.
~The previous version of onboard displays injected wallets by default. Frame now appears in the onboard modal and succesfully connects.~

For future reference: it seems as though onboard's most recent release (before v2) altered the wallet detection, breaking Frame integration. Even with "detectedwallet" enabled, it would show (with a generic icon) in the modal but not connect. Downgrading to 1.35.5 fixes this.
How to test it
The injection seems tempermental so you must ensure that:

All browser extension wallets are disabled, e.g. MetaMask
The Frame app is installed and open
The Frame browser extension is installed and injecting as Frame

Testing method:

Open the Safe and attempt to connect to it.
Observe that Frame is displayed in the modal, with it's default icon and succesfully connects when choosing it.

Screenshots

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3364

Relevant Lines:
8723

💛  - Coveralls

It seems that, after deployment, it doesn't work. I will look more into this tomorrow.

Looking at onboard's most recent release, I see no reason as to why it would successfully inject Frame, however: https://github.com/blocknative/web3-onboard/blob/1.38.2/src/modules/select/index.ts

Closing because we decided not to enable Detected Wallet again. Frame can be used via MM.


Add NFS export policy name to file system space metrics

closes #75
FS with both smb and nfs with a policy
purefb_file_systems_space_bytes{name="testfs",nfs="3,41",nfspolicy="All_Access",smb="3",space="provisioned"} 4.294967296e+11
purefb_file_systems_space_bytes{name="testfs",nfs="3,41",nfspolicy="All_Access",smb="3",space="snapshots"} 0
purefb_file_systems_space_bytes{name="testfs",nfs="3,41",nfspolicy="All_Access",smb="3",space="total_physical"} 2.63722799297e+11
purefb_file_systems_space_bytes{name="testfs",nfs="3,41",nfspolicy="All_Access",smb="3",space="unique"} 2.63722799297e+11
purefb_file_systems_space_bytes{name="testfs",nfs="3,41",nfspolicy="All_Access",smb="3",space="virtual"} 3.49897389568e+11

only smb
purefb_file_systems_space_bytes{name="SMB_TEST",nfs="",nfspolicy="",smb="3",space="provisioned"} 0
purefb_file_systems_space_bytes{name="SMB_TEST",nfs="",nfspolicy="",smb="3",space="snapshots"} 0
purefb_file_systems_space_bytes{name="SMB_TEST",nfs="",nfspolicy="",smb="3",space="total_physical"} 0
purefb_file_systems_space_bytes{name="SMB_TEST",nfs="",nfspolicy="",smb="3",space="unique"} 0
purefb_file_systems_space_bytes{name="SMB_TEST",nfs="",nfspolicy="",smb="3",space="virtual"} 0

only nfs3
purefb_file_systems_space_bytes{name="RsyncTest",nfs="3",nfspolicy="",smb="",space="provisioned"} 1.099511627776e+12
purefb_file_systems_space_bytes{name="RsyncTest",nfs="3",nfspolicy="",smb="",space="snapshots"} 0
purefb_file_systems_space_bytes{name="RsyncTest",nfs="3",nfspolicy="",smb="",space="total_physical"} 0
purefb_file_systems_space_bytes{name="RsyncTest",nfs="3",nfspolicy="",smb="",space="unique"} 0
purefb_file_systems_space_bytes{name="RsyncTest",nfs="3",nfspolicy="",smb="",space="virtual"} 0

@mboeckelmann please review at your leisure.

Doesn't the spec need updating as well

Yes, a lot of the spec needs to be filled in - this will stay in draft until it’s ready for merge.

approved for merge

@chrroberts-pure this has a merge conflict

the best ones always do - ready for merge @sdodsley


obsolete degenerative disorder

closes #528

See related ticket:
https://github.com/monarch-initiative/mondo/issues/2312


Week 13 - FRQ 2 (Classes)

Build Tester Method (Commit)

[x] Tester Method with All Argument and Zero Argument

[x] build toString method to display attributes of the class

Attributes and API (Commit)

[x] Added Height and Weight Attributes

[x] Added BMI Calculator as API

Testing API Frontend (Commit)

SetStats Bug

Extra StepTracker (Commit)

[ ] tester method with zero argument
[ ] added attributes
[ ] added api (bmi calculator)
[ ] step tracker with goal steps +
[ ] set stats debugged but not working -

score-- 2.8/2.9


FR: Omit fastlane installation instructions from autogenerated fastlane docs

The fact that fastlane is able to autogenerate documentation for lanes is brilliant. However, installation instructions vary from team to team. For example, we use bundler.
In general, some projects are known to maintain their own installation instructions for their repository's dependencies, which can make the generated instructions very misleading for developers that are still being onboarded.
I'd like to contribute a PR to specify fastlane NOT include installation instructions at the top of the generated README.md.

Hey @ILI4S - I totally understand this can be confusing, but we do think its helpful for a lot of our users. Do you think that we could just change the text to say something like "Common installation instructions, your team may use a different method" or something to that end?

@ohayon thanks for your response
I completely agree it’s helpful for many users. I meant my feature request as an opt-in setting for fastlane.
Your suggestion is valid, too. What about placing the instructions below the lane documentation?


Bug found related to bouncerTimeout

In production, the bouncerTimeout is set to 5400, which equals 90 minutes. Today, I connected to IRC with Jbnc and noticed that it disconnected at 17:09, even though I was still connected to IRC with JBNC. I had been connected since 15:40. This is the second time this bug has occurred this month, but it may happen more often without me noticing.
Where could the issue be coming from?

It means it thinks no clients are connected... not a good thing if you're actually connected!

@realrasengan I think I now know how to reproduce the bug. It might require the following steps:

Connect to IRC with JBNC (using device 1) and leave it connected.
Use another device, connect (and maybe set yourself as away or trigger away mode, then come back and let it go away again).
After this, it seems that JBNC shuts down abruptly after 1 hour and 30 minutes, which is the duration of the bouncerTimeout.

I haven't tested it with a lower value, like 1 minute, but I will. JBNC shuts down suddenly and doesn’t stop the way it usually should.

I just tested this locally; here is the test.
Requirements:

Have 3 IRC clients open
The first one is logged in to JBNC (client-1)
The second is also a client connected to JBNC using the same PASS (client-2)
The third client (client-3) is, for example, an Ircop or any client that can send messages in a test channel for the Login user to read on JBNC. It is not connected to JBNC.

Here is the test:

Connect to JBNC with client-1.
Using client-3 (e.g., Not JBNC), write "test1" in the channel. It is successfully received on client-1, and the message is visible.
Connect to JBNC with client-2.
Using client-3 (e.g., Not JBNC), write "test2" in the channel. It is successfully received on both client-1 and client-2, and the message is visible.
Disconnect client-2 from JBNC with a simple "/quit".
Using client-3 (e.g., Not JBNC), write "test3" in the channel. Client-1 does not receive it. No further messages are received. Now I test with a PM, and it is not received either. However, JBNC remains connected to IRC, it seems it stays connected, and the bouncerTimeout has no effect. The client is not marked as away either.

Where could the issue come from? This is problematic, as it can affect regular users (99%) who reconnect to their JBNC client, first with one device, then later with another, such as a computer and a smartphone. Bad for UX.

I have updated: https://github.com/freenode/jbnc/pull/86 and I am currently testing it in production.


Communications Specification

Research and design the message exchanges between different IOTA Identity powered actors. Write out a specification for all different exchanges between actors such as DID Authentication, Verifiable Presentation, request for Verifiable Credentials etc...
The specification is a pre-requisite for the implementation of an actor who eventually will be able to handle all of the flows.
Prior Art:

https://identity.foundation/didcomm-messaging/spec/
Jolocom Interaction Flows
Hyperledger Aries RFCs such as:

DID Exchange
Issuer Credential
Present Proof

(WIP, IGNORE FOR NOW)
Open questions for discussion in the standup(s):

Authentication Request:Request: Do we need an ID?
Authentication Request:Request: Do we need a timestamp?
Authentication Request:Request: Do we need any other field(s)?
Authentication Request:Response: What exactly do we sign, description or everything?
Authentication Request:Response: Do we need any other fields?


An addition to /docs/5.1/content/typography/

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
To make something like this [1] easier, how about adding something like this [2] to the typography features at
mentioned at /docs/5.1/content/typography/.

Motivation and context
To make something like this [1] easier.

Thanks, but we'll pass on this.


#38 Adding automatic Docker builds.

Coverage remained the same at 98.305% when pulling 4d3343b0d4f62ce7dbfd7f9430eece6c34057192 on feature/38-add-docker-build into 054221557ded3be470fd65d4c8978fdb54325d4a on master.


Unified account - Update UI for transaction history and confirmation screen

Describe the task
Update UI for transaction history and confirmation screen

[x] Transaction history: https://www.figma.com/design/aEnkI859zkZaIpyzPidYwh/SubWallet-Apps?node-id=1309-391018&t=wr9sa68AlWUIiu7j-4
[ ] Confirmation: Updating...

Version test: https://drive.google.com/file/d/18ZN8BwJODbjDZY4d9PSeZLmOGhWubFjl/view?usp=sharing

[ ] Update for Swap history

Actual: Do not show network

Expect:

Swap signle chain: Show network field
Swap cross chain: Show network according the screenshot

[ ] Update address component on the Confirmation screen

Use component: https://www.figma.com/design/lsJoDNOy7hqT41tfiiAk1Z/SubWallet-UI-Base-1.0.1-(NEW)?node-id=8048-2721&t=JlJD8wUFoT5Dyrj6-4

[ ] Update Approve token confirmation

Version test : https://drive.google.com/file/d/18ZN8BwJODbjDZY4d9PSeZLmOGhWubFjl/view?usp=sharing

[ ]  Re-check UI on modal Pool/Validator details

Actual :

Expect :

[ ]  Re-check UI on Earning position details screen

Version test: https://drive.google.com/file/d/1H9TKwdQsr8LhZyiHqrVJP7M6xa-SE-rE/view?usp=drive_link

[ ] UI bug when account name is long

[ ] Add max width for component

[ ] Update title position

[ ] Update position when Sender/Recipient has only address

Version test : https://drive.google.com/file/d/1LYxMbOhk6Ds7ks2tTLLPqR2Pd0iihvxA/view?usp=drive_link

[ ] Update font-size for address
Expect : Font-size = 12px

[ ] UI bug on Confirmation screen

[ ] UI bug on Swap transaction screen

Version test : https://drive.google.com/file/d/1lNr3LmXaG1DiwW8OfeotJxwm_60L081y/view?usp=drive_link
Validation passed in case :

On transaction history screen

Send on chain

Send cross chain

Swap on chain

Swap cross chain

Stake

Unstake

Cancel unstake

Claim reward

Show address for validator/pool


Move osu! API to v2 with rosu_v2

Progress

[x] Add rosu-v2
[x] Construct rosu api
[x] Implement beatmap collecting from rosu-v2
[x] Add cache clear command
[x] Implement user api from rosu
[x] Implement scores api
[x] Clean up all previous API code

Problems

[ ] Lazer mod system -> we need to rewrite mods basically

Will just YOLO this one and delay the work on revamping mods until people play more on lazer


Request : Add application-specific whitelists

I'd like to see whitelists for know application's false-positives :

[x] nextcloud
[ ] matrix ?

Any update on this?

Any update on this?

Can you be more specific? as you can see nextcloud is mostly flushed out but nobody has provided us with matrix logs / issues for us to be able to start one

Do you just need logs of non-200 status codes?

Or would you prefer just normal logs? Idk how stable the log output is but I can supply some.

Well just outline where the false positive is happening EG: "I get banned because too many 404 to /this/endpoints and it triggers these scenarios"
Then provide the logs that caused said statement above


[minor](error msg) Fix wrong error message

Proposed changes
Format uses {} as a placeholder
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 37.7 seconds
load time: 602 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221103141204_clickbench_pr_39346.html


Elision and variadic parameters

Elision does not seem to match variadic parameters - which also use the ... notation.
Below is a simple repro.
Patch file (goal is to swap order of first 2 parameters only):
@@
var first expression
var second expression
@@
-bar(second, first,...)
+bar(first, second,...)

Input:
func foo() {
	bar("b", "a")
	bar("b", "a", "c")
	bar("b", "a", []string{"c"}...)
}

Output:
func foo() {
	bar("a", "b")
	bar("a", "b", "c")
        // Expected: bar("a", "b", []string{"c"}...)
	bar("b", "a", []string{"c"}...)
}

Thanks for the report @aws5295! We'll work on addressing this.


Add ComposeLifeApp tests

Codecov Report

Merging #135 (019da9d) into main (433aeee) will increase coverage by 1.97%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   75.46%   77.44%   +1.97%
==========================================
  Files          42       42
  Lines        1822     1822
  Branches      254      254
==========================================
+ Hits         1375     1411      +36
+ Misses        328      288      -40
- Partials      119      123       +4

Impacted Files
Coverage Δ

...elife/preferences/DefaultComposeLifePreferences.kt
77.77% <100.00%> (ø)

...m/alexvanyo/composelife/ui/CellUniverseInfoCard.kt
79.61% <0.00%> (+0.63%)
:arrow_up:

...vanyo/composelife/model/TemporalGameOfLifeState.kt
94.69% <0.00%> (+0.75%)
:arrow_up:

...lexvanyo/composelife/ui/InteractiveCellUniverse.kt
86.20% <0.00%> (+1.72%)
:arrow_up:

...in/com/alexvanyo/composelife/ui/CellWindowState.kt
84.44% <0.00%> (+8.88%)
:arrow_up:

...lin/com/alexvanyo/composelife/ui/ComposeLifeApp.kt
79.31% <0.00%> (+79.31%)
:arrow_up:

...otlin/com/alexvanyo/composelife/ui/MainActivity.kt
85.71% <0.00%> (+85.71%)
:arrow_up:

Continue to review full report at Codecov.

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


Added markov shard to Algorithms and Data Structures

[x] Generally useful to the community
I hope so :)
[x] Functional
Object Oriented actually ;)
[x] Actively maintained
You bet.
[x] Stable
As stable as a library written in an Alpha-stage language gets!
[x] Documented
I'd like to take this moment to thank the crystal docs command
[x] Has tests (when possible)
100% tested code

Nice example of a situation when the list's curators may not be fully compliant with the functionality the PR subject brings. However, this looks good to me and this is why:

Friendly README
Great documentation @ http://www.mccallalexander.com/markov
Appropriate code style
Amazing (from the first glance) specs

There are some issues, though:

No build badge. We don't know whether is the edge version is stable
No releases (and no version:  in README). We don't know which version is stable. It's a good practice to do GitHub releases
docs folder in the repo itself should be removed. I might suggest you need this folder for GitHub pages, however there are another ways. Refer to this page and see example .travis.yml

@vladfaust please don't spread your comments on a specific subject around random issues in a repository. @mccallofthewild likely has no idea what you're talking about.

@RX14 I might be missing some context here, but I assume this is a continuation of https://github.com/veelenga/awesome-crystal/issues/223 and https://github.com/veelenga/awesome-crystal/pull/219.
@vladfaust Thanks for pointing out the issues! Versioning/releasing is definitely a skillset I'm looking to improve. I'll fix those problems pronto.

Done!

@mccallofthewild just a heads up, the version tag should be v0.1.1 not 0.1.1.

@RX14 Thanks, I looked into that and ended up deciding not to use the v. After reading through https://github.com/mojombo/semver/issues/204, it would seem that the v is not actually part of semantic versioning, but rather an optional prefix that certain communities/package managers decide to use. Seeing as the Crystal language itself doesn't use the v (https://github.com/crystal-lang/crystal/tags), I decided against it.

@mccallofthewild shards itself requires a v prefix to find versions. Crystal itself doesn't use v as a historical artefact that is hard to change, not to set an example.

Ah, gotcha... "the repository is expected to have version tags following a semver-like format, prefixed with a v" - https://github.com/crystal-lang/shards#usage
I'll change it! :)

I think there definitely needs to be a "shard guide" containing robust steps on how to go from an idea to a crystal shard.

https://veelenga.github.io/make-your-own-shard-in-crystal-language/
This might need some improvements and additions, but at least something.

@RX14 @veelenga Given what I learned from this discussion, I put something together while building my next shard.
Welcome to Crystal Shards 101!
GitHub: https://github.com/mccallofthewild/crystal-shards-101
Lots to be done, but it's a start. Let me know what you think!

@mccallofthewild I'd mention crystal tool format in the section on code style and the travis section.

@RX14 I'm personally not using crystal tool format right now, just because I like to put my method arguments on new lines and crystal tool format breaks this formatting.
E.g.
def my_method(
    my_arg : String,
    my_other_arg : Int32,
    another_arg : Array(String) = ["my string", "my other string"]
)

instead of
def my_method(my_arg : String, my_other_arg : Int32, another_arg : Array(String) = ["my string", "my other string"])

But it certainly wouldn't hurt to mention it! The Crystal Compiler is a wonderful tool altogether.
Thanks & good idea w/ the crystal-book PR. Will do.

@mccallofthewild you can certainly break up your call args into multiple lines and have it format...
I think
def my_method(my_arg : String,
              my_other_arg : Int32)
end

might work.

@mccallofthewild Actually, see https://github.com/crystal-lang/crystal/issues/1924 which is going to make it into the next 0.24.0 release. This should solve your formatter issue!


[TFLite] Fully Connected layers are not outputting accurate values with INT16 inputs of rank > 2

Describe the current behavior
The Fully connected layers outputs in a TensorFlow Lite model when using INT16 acitvations are completely off when the input rank is greater than 2, but totally correct when the rank is 2.
It seems that the computation is somehow broken when the rank >= 3.
I was able to reproduce this in TensorFlow 2.5.0-rc2 and 2.6.0-dev.
Standalone code to reproduce the issue
import tensorflow as tf
print(tf.__version__)

class MyModel(tf.keras.Model):
    def __init__(self, squeeze=False):
        super().__init__()
        self.squeeze = squeeze
        self.dense = tf.keras.layers.Dense(5)

    def call(self, x):
        if self.squeeze:
            x = tf.squeeze(x)
        return self.dense(x)

def representative_dataset():
    for _ in range(100):
        yield [tf.random.uniform(shape=[1, 30, 5])]

model = MyModel(squeeze=False)
model(tf.random.uniform(shape=[1, 30, 5]))

converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset
converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8]

tflite_model = converter.convert()

input_ = tf.random.uniform(shape=[1, 30, 5])
output = model(input_)

interpreter = tf.lite.Interpreter(model_content=tflite_model)

interpreter.allocate_tensors()
interpreter.set_tensor(interpreter.get_input_details()[0]['index'], input_)
interpreter.invoke()
tflite_output = interpreter.get_tensor(interpreter.get_output_details()[0]['index'])

print(tf.reduce_max(tf.abs(output - tflite_output)))

When running this code, the output was : tf.Tensor(2.128053, shape=(), dtype=float32).
I ran it multiple times and always got a value of that order.
In the next snippet, I am using the same model, and the same input shape, but I squeeze the input in the forward pass so that the Fully Connected layer effectively receives an input tensor of rank 2:
model = MyModel(squeeze=True)
model(tf.random.uniform(shape=[1, 30, 5]))

converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset
converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8]

tflite_model = converter.convert()

input_ = tf.random.uniform(shape=[1, 30, 5])
output = model(input_)

interpreter = tf.lite.Interpreter(model_content=tflite_model)

interpreter.allocate_tensors()
interpreter.set_tensor(interpreter.get_input_details()[0]['index'], input_)
interpreter.invoke()
tflite_output = interpreter.get_tensor(interpreter.get_output_details()[0]['index'])

print(tf.reduce_max(tf.abs(output - tflite_output)))

This time the output was: tf.Tensor(0.0044746697, shape=(), dtype=float32)

@Tessil ,
Hi Tessil, is this a known limitation?

@jianlijianli  No, it seems it's also a problem with the reference int8 kernel. Using experimental_op_resolver_type=tf.lite.experimental.OpResolverType.BUILTIN_REF with int8 will produce the same kind of error.
Applying the same batches and output_depth calculations as the reference float kernel to both the int8 and int16 reference kernels seems to solve the problem.

Thanks Tessil. Confirmed that this happens to int8 reference kernel as well but int8 optimized kernel is OK.
Just to avoid duplicated work, do you plan to fix the issue (since it happens to 16x8 as well)? Otherwise, I can work on it.

I can eventually work on a fix but as I will not be able to really work on it until the end of next week it'll be faster to leave it to you if possible.

Thanks @Tessil,
There has been some changes in the tflite conversion workflow and squeeze logic is getting update, and I think https://github.com/tensorflow/tensorflow/issues/48959#issuecomment-883321475 is outdated. This is my current observation: for int8 quantization, int8 kernel (reference) works fine for both "squeeze = True" or "squeeze = False". For 16x8 quantization, "squeeze = True" works but "squeeze = False" fails during runtime for multiplier being too small.
Please take a look if you are interested. I am working on a fix.
Michael, I suppose you are not actually blocked by this issue, right?

No, I found a workaround for what I was doing, no worries!

The session crashes when 16x8 quantization is used on TF >2.6 with both squeeze = True and False.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.


SSR Date Picker drop document is not defined error

TuSimple/naive-ui version (版本)
2.24.7
Vue version (Vue 版本)
3.2.25
Browser and its version (浏览器及其版本)
Chrome 97.0.4692.99
System and its version (系统及其版本)
MacOs 12.1
Node version (Node 版本)
Reappearance link (重现链接)
https://gitlab.com/pitama99/naiveui-ssr/-/tree/master
Reappearance steps (重现步骤)
After when is install the component library to my ssr demo it's works. But when I add the datepicker to my Home page, after restart it's drop an error:
ReferenceError: document is not defined
    at Object.queryElement (/Users/pintertamas/Frontside/ssr-vue/node_modules/css-render/lib/utils.js:17:5)
    at Object.mount (/Users/pintertamas/Frontside/ssr-vue/node_modules/css-render/lib/mount.js:62:35)
    at Object.wrappedMount [as mount] (/Users/pintertamas/Frontside/ssr-vue/node_modules/css-render/lib/c.js:14:35)
    at setup (/Users/pintertamas/Frontside/ssr-vue/node_modules/vueuc/lib/binder/src/Follower.js:97:15)
    at callWithErrorHandling (/Users/pintertamas/Frontside/ssr-vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:157:22)
    at setupStatefulComponent (/Users/pintertamas/Frontside/ssr-vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6966:29)
    at setupComponent (/Users/pintertamas/Frontside/ssr-vue/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6922:11)
    at renderComponentVNode (/Users/pintertamas/Frontside/ssr-vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:198:17)
    at renderVNode (/Users/pintertamas/Frontside/ssr-vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:310:22)
    at renderVNodeChildren (/Users/pintertamas/Frontside/ssr-vue/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:325:9)

Expected results (期望的结果)
Works with ssr
Actual results (实际的结果)
it's not working
Remarks (补充说明)

maybe same this https://github.com/07akioni/css-render/issues/564

maybe same this 07akioni/css-render#564

I looked, It can't help me

I find there's a issue for date picker dropdown panel rendering. You can create an new issue for that. We will try to fix it.

@07akioni then your firs tip is not working? Or what you find, it's another issue?

Hi guys,
I have this problem in Nuxt 3.
Any advice?


Desktop: RTL empty TextField, incorrect cursor direction on focus gain

Hi,
On desktop, when layout direction has been set to the RTL, empty text fields have incorrect cursor position when focus gain. But when start typing, the cursor has placed in the right direction.

Expected behavior: When the layout direction is RTL, the cursor should be in the right direction even text field is empty.

fixed in https://github.com/JetBrains/compose-jb/issues/1950

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


RNG gives different results in YYC

It's a static table, so how???

VM was grabbing completely wrong numbers from the table, so I replaced the static table with a multiply-with-carry pseudorandom number generator. The results are consistent between VM and YYC now.


Can't type letters with typewrite()

Investigate the issue this user is having: https://stackoverflow.com/questions/35582155/missing-symbols-in-pyautogui-typewriter

Also this issue: https://stackoverflow.com/questions/33844149/pyautogui-typewrite-is-writing-only-numbers

I am using PyAutoGui 0.9.36 on Win7x64.  I am using it in a script which is meant to run 24/7.  Every couple of minutes I called the typewrite() function to say "/Challenge 6" and "/Accept".  However I noticed that after about 8 hours it made the mistake of writing just "'Challenge 6" and at 16 hours it wrote the same 5 times in a row.

This seems to be related with issue 70 (which I believe is a non-qwerty keyboard issue). I'm closing this since issue 70 is open.


ARROW-1115: [C++] use CCACHE_FOUND value

summary
for C++ Project
use CCACHE_FOUND value when cmake build.
Because an error occurs in macOS environment with Homebrew installation.
error detail
Even if /usr/local/bin is not included in the PATH environment variable, find_program will return /usr/local/bin/ccache. In that case, ccache (not /usr/local/bin/ccache) will be used as the ccache's program name.
As a result the build will fail.
reference
https://github.com/Homebrew/homebrew-core/pull/14105

I cherry-picked this. Thanks!

If you let me know your ASF JIRA username I will add you to the contributor list.

ASF JIRA username : hhatto
Thank you very much!


[Bug]: When there are no assigned projects in the database, click to apply for library permissions without content

ODC version
odc424
OB version

What happened?

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?

Execute a search statement on a database without a project
Click to apply

Anything else we need to know?
No response
Cloud
No response

PASS


Login API with OAuth2PasswordRequestForm Fails Due to Incorrect Content-Type

Title:
Login API with OAuth2PasswordRequestForm Fails Due to Incorrect Content-Type
Description:
Problem:
I have built a backend using FastAPI, and the login API utilizes OAuth2PasswordRequestForm, which accepts Content-Type: application/x-www-form-urlencoded. However, when using @hey-api/openapi-ts to generate the client and @hey-api/fetch-client for API calls, the requests are sent with Content-Type: application/json, causing the login process to fail.
Steps to Reproduce:

Create a FastAPI backend with a login API using OAuth2PasswordRequestForm.
Generate the client using @hey-api/openapi-ts.
Make a login request using the generated client and @hey-api/fetch-client.

Expected Behavior:
The login request should be sent with Content-Type: application/x-www-form-urlencoded, allowing the API to process the form data correctly.
Actual Behavior:
The login request is sent with Content-Type: application/json, causing the API to reject the request and it gives 422 Unprocessable Entity.
Environment:

FastAPI version: 0.111.1
@hey-api/openapi-ts version: 0.1.9
@hey-api/fetch-client version: 0.48.3

In @hey-api/fetch-client

In Axios

@sagardwivedi How did you resolve it?

I didn't resolve it. I can do custom configuration but it will get overwritten if i try to generate client again.

Which you think will work best?

@sagardwivedi Content type should work the best, that's the route I'd take to fix it in the package too, so until it's fixed you can patch it on your end. Sorry for the inconvenience

Duplicate of https://github.com/hey-api/openapi-ts/issues/660

Hey, this should be handled in the next release of both openapi-ts and client-fetch. Can you let me know if that resolves your issue when you try it? Thanks!