Cannot find module 'chalk' or its corresponding type declarations.

"typescript": "^4.0.5",

There's absolutely no way I can begin to diagnose your problem with a single image and an unrelated dependency declaration.
Please give us more information. If you don't know how to use package.json, please consult other resources as this is primarily a bug tracker (and this is surely not a bug with Chalk).

There's absolutely no way I can begin to diagnose your problem with a single image and an unrelated dependency declaration.
Please give us more information. If you don't know how to use package.json, please consult other resources as this is primarily a bug tracker (and this is surely not a bug with Chalk).

 "dependencies": {
    "axios": "0.21.0",
    "chalk": "^4.1.0",
    "clean-webpack-plugin": "^3.0.0",
    "cors": "^2.8.5",
    "crypto-js": "^4.0.0",
    "defer-to-connect": "^2.0.0",
    "dotenv-webpack": "^5.0.1",
    "email-templates": "^7.1.2",
    "eslint-plugin-node": "^11.1.0",
    "express": "^4.17.1",
    "fast-async": "^6.3.8",
    "fast-xml-parser": "3.17.4",
    "friendly-errors-webpack-plugin": "^1.7.0",
    "helmet": "^4.2.0",
    "lodash": "4.17.20",
    "module-alias": "^2.2.2",
    "moment": "2.29.1",
    "mongodb": "3.6.2",
    "mongoose": "5.10.12",
    "node-dev": "6.2.0",
    "node-notifier": "8.0.0",
    "nodemailer": "6.4.14",
    "npm-run-all": "^4.1.5",
    "pug": "^3.0.0",
    "terser-webpack-plugin": "5.0.3",
    "ts-loader": "8.0.9",
    "ts-node": "^9.0.0",
    "typescript": "^4.0.5",
    "uuid": "8.3.1",
    "validate.js": "^0.13.1",
    "webpack": "5.4.0",
    "webpack-cli": "4.2.0",
    "webpack-node-externals": "2.5.2",
    "webpackbar": "^4.0.0",
    "yarn-check": "^0.0.3"
  },
  "devDependencies": {
    "@babel/cli": "7.12.1",
    "@babel/core": "7.12.3",
    "@babel/node": "7.12.6",
    "@babel/preset-env": "7.12.1",
    "@types/body-parser": "^1.19.0",
    "@types/bson": "^4.0.3",
    "@types/cors": "^2.8.8",
    "@types/crypto-js": "^4.0.1",
    "@types/dotenv-webpack": "^5.0.0",
    "@types/express": "^4.17.8",
    "@types/friendly-errors-webpack-plugin": "^0.1.2",
    "@types/mongoose": "^5.7.36",
    "@types/node": "^14.14.6",
    "@types/node-notifier": "^8.0.0",
    "@types/webpack-node-externals": "^2.5.0",
    "@types/webpackbar": "^4.0.0",
    "@typescript-eslint/parser": "^4.6.1",
    "babel-eslint": "10.1.0",
    "babel-loader": "^8.1.0",
    "babel-plugin-module-resolver": "^4.0.0",
    "babel-plugin-syntax-dynamic-import": "^6.18.0",
    "babel-preset-airbnb": "^5.0.0",
    "cache-loader": "^4.1.0",
    "cross-env": "7.0.2",
    "eslint": "7.12.1",
    "eslint-config-airbnb-base": "14.2.0",
    "eslint-config-prettier": "6.15.0",
    "eslint-import-resolver-babel-module": "^5.1.2",
    "eslint-import-resolver-webpack": "^0.13.0",
    "eslint-plugin-import": "2.22.1",
    "eslint-plugin-jsdoc": "30.7.7",
    "eslint-plugin-json": "^2.1.2",
    "eslint-plugin-package-json": "^0.1.4",
    "eslint-plugin-prettier": "3.1.4",
    "eslint-plugin-promise": "^4.2.1",
    "prettier": "2.1.2"
  },
  "optionalDependencies": {
    "fsevents": "^2.1.2"
  },
  "resolutions": {
    "@types/webpack": "^4.41.24"
  }

I created a new file, transferred the import there and the error disappeared for some reason 😢

Seems like an issue with your build config. There isn't anything we can do to debug this for you; check the webpack issue tracker or StackOverflow, as I doubt this has anything to do with chalk.


K8SSAND-1544 ⁃ Unable to install cass-operator with a private registry

What did you do?
I tried to install cass-operator on GKE cluster after changing the image registry to be private.
I followed the following steps:
helm pull  k8ssandra/cass-operator
Modify the values.yaml and set the registry to private as shown in the manifest section.
And install the operator:
helm install  cass-operator ./ -n cass-operator
Environment

Cass Operator version:

kubectl describe deployment cass-operator

  W0608 15:00:36.207978   35258 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
Name:                   cass-operator
Namespace:              cass-operator
CreationTimestamp:      Wed, 08 Jun 2022 12:00:28 +0200
Labels:                 app.kubernetes.io/instance=cass-operator
                        app.kubernetes.io/managed-by=Helm
                        app.kubernetes.io/name=cass-operator
                        app.kubernetes.io/part-of=k8ssandra-cass-operator-cass-operator
                        helm.sh/chart=cass-operator-0.35.3
Annotations:            deployment.kubernetes.io/revision: 1
                        meta.helm.sh/release-name: cass-operator
                        meta.helm.sh/release-namespace: cass-operator
Selector:               app.kubernetes.io/instance=cass-operator,app.kubernetes.io/name=cass-operator,app.kubernetes.io/part-of=k8ssandra-cass-operator-cass-operator
Replicas:               1 desired | 1 updated | 1 total | 0 available | 1 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:           app.kubernetes.io/instance=cass-operator
                    app.kubernetes.io/managed-by=Helm
                    app.kubernetes.io/name=cass-operator
                    app.kubernetes.io/part-of=k8ssandra-cass-operator-cass-operator
                    helm.sh/chart=cass-operator-0.35.3
  Service Account:  cass-operator
  Containers:
   cass-operator:
    Image:      europe-west1-docker.pkg.dev/ofr-pns-db-sbx/k8ssandra-repository/cass-operator:v1.11.0
    Port:       <none>
    Host Port:  <none>
    Command:
      /manager
    Args:
      --config=/configs/controller_manager_config.yaml
    Liveness:   http-get http://:8081/healthz delay=15s timeout=1s period=20s #success=1 #failure=3
    Readiness:  http-get http://:8081/readyz delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment:
      WATCH_NAMESPACE:   (v1:metadata.namespace)
    Mounts:
      /configs from manager-config (rw)
  Volumes:
   manager-config:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      cass-operator-manager-config
    Optional:  false
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Available      False   MinimumReplicasUnavailable
  Progressing    False   ProgressDeadlineExceeded
OldReplicaSets:  <none>
NewReplicaSet:   cass-operator-7b797b7877 (1/1 replicas created)
Events:          <none>

Manifests:
The values.yaml that I changed to set my private registry

    global:
      # -- Determines whether cass-operator only watch and manages
      # CassandraDatacenters in the same namespace in which the operator is deployed
      # or if watches and manages CassandraDatacenters across all namespaces.
      clusterScoped: false
    # -- A name in place of the chart name which is used in the metadata.name of
    # objects created by this chart.
    nameOverride: ''
    # -- A name in place of the value used for metadata.name in objects created by
    # this chart. The default value has the form releaseName-chartName.
    fullnameOverride: ''
    # -- Labels to be added to all deployed resources.
    commonLabels: {}
    # -- Sets the number of cass-operator pods.
    replicaCount: 1
    # -- Configures admission webhooks deployed with cass-operator.
    admissionWebhooks:
      # -- Turns the admission webhooks on or off
      enabled: false
    # Sets properties for the cass-operator container
    image:
      # -- Container registry containing the repository where the image resides
      registry: europe-west1-docker.pkg.dev/my_project
      # -- Docker repository for cass-operator
      repository: k8ssandra-repository/cass-operator
      # -- Pull policy for the operator container
      pullPolicy: Always
      # -- Tag of the cass-operator image to pull from image.repository
      tag: v1.11.0
      # -- Docker registry containing all cass-operator related images. Setting this
      # allows for usage of an internal registry without specifying serverImage,
      # configBuilderImage, and busyboxImage on all CassandraDatacenter objects.
      registryOverride:
    # -- References to secrets to use when pulling images. See:
    # https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    imagePullSecrets:
    - name: google-docker-registry
    serviceAccount:
      # -- Annotations to add to the service account.
      annotations: {}
    # -- Annotations for the cass-operator pod.
    podAnnotations: {}
    # -- PodSecurityContext for the cass-operator pod. See:
    # https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
    podSecurityContext: {}
    securityContext:
      # -- Run cass-operator container as non-root user
      runAsNonRoot: true
      # -- Group for the user running the cass-operator container / process
      runAsGroup: 65534
      # -- User for running the cass-operator container / process
      runAsUser: 65534
      # -- Run cass-operator container having read-only root file system permissions.
      readOnlyRootFilesystem: true
    # -- Resources requests and limits for the cass-operator pod. We usually
    # recommend not to specify default resources and to leave this as a conscious
    # choice for the user. This also increases chances charts run on environments
    # with little resources, such as Minikube. If you want to specify resources, add
    # `requests` and `limits` for `cpu` and `memory` while removing the existing
    # `{}`
    resources: {}
    # -- Enables specific VMware functionality. If you need this functionality it
    # will automatically be enabled for you.
    vmwarePSPEnabled: false

Cass Operator Logs:

│                                                                    Autoscroll:On     FullScreen:Off     Timestamps:Off     Wrap:Off                                                                     │
│ 1.6546830809016378e+09    ERROR    setup    unable to load the image config file    {"error": "could not decode file into runtime.Object: yaml: line 7: did not find expected key"}                     │
│ main.main                                                                                │
│     /workspace/main.go:93                                                                                │
│ runtime.main                                                                                │
│     /usr/local/go/src/runtime/proc.go:255

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1544
┆priority: Medium

Hi @ahmedjami
This is covered by https://github.com/k8ssandra/k8ssandra/issues/1404 and will hopefully be fixed by https://github.com/k8ssandra/k8ssandra/pull/1421.

Thanks a lot @jsanda for your reply.
Is the fix will cover also k8ssandra/cass-operator?  From https://github.com/k8ssandra/k8ssandra/pull/1421, I can see that changes are applied 'only' at the k8ssandra V1 repo.
Greetings,
Ahmed

Yes, the fix will cover k8ssandra/cass-operator. When the changes get merged, a new version of the k8ssandra/cass-operator chart will get published. A new, non-dev version of the k8ssandra/k8ssandra chart will get published when the next v1 release goes out.

Thanks @jsanda


avalon_mm_bfm_pkg readdatavalid, wrong data

Hi,
there seems to be a problem in the avalon_mm_bfm if you configure it with use_readdatavalid        => true.
If avalon_mm_if.readdatavalid is high the bfm waits another rising edge and a bit and then samples avalon_mm_if.readdata.
I fixed this by commenting out the waits....
@@ -581,8 +582,8 @@ package body avalon_mm_bfm_pkg is
       if timeout then
         alert(config.max_wait_cycles_severity, proc_call & "=> Failed. Timeout waiting for readdatavalid");
       else
-        wait until rising_edge(clk);
-        wait_until_given_time_after_rising_edge(clk, config.clock_period/4);
+        --wait until rising_edge(clk);
+        --wait_until_given_time_after_rising_edge(clk, config.clock_period/4);
       end if;

     else  -- not waitrequest or readdatavalid - issue read, wait num_wait_states before finishing the read

Could you check please?
kind regards
Frank

Hi Frank,
You are absolutely correct.
This is changed in UVVM 2.0 to be released very soon.
Best regards
Espen
From: soundart<EMAIL_ADDRESS>Sent: Tuesday, January 31, 2017 1:12 PM
To: UVVM/UVVM_All
Cc: Subscribed
Subject: [UVVM/UVVM_All] avalon_mm_bfm_pkg readdatavalid, wrong data (#10)
Hi,
there seems to be a problem in the avalon_mm_bfm if you configure it with use_readdatavalid => true.
If avalon_mm_if.readdatavalid is high the bfm waits another rising edge and a bit and the samples avalon_mm_if.readdata.
I fixed this by commenting out the waits....
@@ -581,8 +582,8 @@ package body avalon_mm_bfm_pkg is
if timeout then
alert(config.max_wait_cycles_severity, proc_call & "=> Failed. Timeout waiting for readdatavalid");
else
·            wait until rising_edge(clk);

·            wait_until_given_time_after_rising_edge(clk, config.clock_period/4);

·            --wait until rising_edge(clk);

·            --wait_until_given_time_after_rising_edge(clk, config.clock_period/4);
·          end if;
·      else -- not waitrequest or readdatavalid - issue read, wait num_wait_states before finishing the read
Could you check please?
kind regards
Frank
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/UVVM/UVVM_All/issues/10, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQAGEcyKu6Tr68yuoB81WmN_P46pJ5cVks5rXyT0gaJpZM4LyjVL.

Hi Epsen,
thank you for the confirmation.
kind regards
Frank

Workaround in git thanks!


Cannot lookup .kr domains

Other domains work fine, but when I try to lookup .kr domain, I get:
Traceback (most recent call last):
  File "test.py", line 425, in whoisf
        results = obj.lookup_rdap(depth=1)
  File "/usr/local/lib/python2.7/dist-packages/ipwhois/ipwhois.py", line 340, in lookup_rdap
        field_list=nir_field_list, is_offline=False
  File "/usr/local/lib/python2.7/dist-packages/ipwhois/nir.py", line 573, in lookup
        form_data=form_data
  File "/usr/local/lib/python2.7/dist-packages/ipwhois/net.py", line 954, in get_http_raw
        raise HTTPLookupError('HTTP lookup failed for {0}.'.format(url))
HTTPLookupError: HTTP lookup failed for https://whois.kisa.or.kr/eng/whois.jsc.

Do you know, what might be the problem?

Do you have an IP that I can test? My tests for KRNIC are working ok.

You can reproduce this error on : <IP_ADDRESS>

Quick work arround : set a HTTPSHandler
import ssl
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
https_handler = request.HTTPSHandler(context=ctx)
opener = request.build_opener(https_handler)
obj = IPWhois(self.lock, proxy_opener=opener)

@secynic To reproduce:
from ipwhois import IPWhois
obj = IPWhois('<IP_ADDRESS>')
results = obj.lookup_rdap(depth=1)

@noJ0y will that disable TLS on subsequent requests ?

@noJ0y Are you still having this issue? Can you try testing the dev branch? That is pointing to the dev branch now, due to #243

I have this error too.
ipwhois.exceptions.HTTPLookupError: HTTP lookup failed for https://whois.kisa.or.kr/eng/whois.jsc
Is it solved? Should I try de dev branch, Stil on python2.7......

This is fixed in the dev branch, please let me know if you still have issues

Still happening on the latest git version
ssl.CertificateError: hostname '후이즈검색.한국' doesn't match either of 'whois.kisa.or.kr', 'xn--c79as89aj0e29b77z.xn--3e0b707e', 'whois.kr', 'xn--c79as89aj0e29b77z.kr', 'whois.nic.or.kr'

I got same error, too. But I met 2 deferent cases in the same ipwhois version. First, It was OK on my laptop, but same error occurred on old system. It looks like the openssl or python ssl library version issues.

This is starting to annoy me. They keep adding DNS entries.
Browsing to https://whois.kisa.or.kr redirected me to https://후이즈검색.한국/

@toomuchio @eureka386 Can you tell me what Python and openssl versions you got this error on? I am not able to replicate the error in my tests.

The troubled version is 3.6.
As I told you, I'm not sure but It looks like the native urllib.request library issue.
(hmm...might be not openssl issues, sorry)
Because it works fine using the Requests library(3rd party) on that(old) server.
(I have no idea what library use in the requests library, but it works well)
// python3.6

import requests
requests.get('https://후이즈검색.한국/')
<Response [200]>                         <=== no error.

import urllib.request
local_filename, headers = urllib.request.urlretrieve('https://후이즈검색.한국/')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/urllib/request.py", line 248, in urlretrieve

....
ssl.CertificateError: hostname '후이즈검색.한국' doesn't match either of 'whois.kisa.or.kr', '후이즈검색.한국', 'whois.kr', '후이즈검색.kr', 'whois.nic.or.kr'     <= ssl errors

So it looks like Python 3.7 and later use openssl for hostname checks and cert validation. Requests uses urllib3 which implements its own hostname checks. I am trying to figure out how to get this working for <3.7 without adding a dependency for Requests.

fwiw.. the change as mentioned in https://github.com/secynic/ipwhois/issues/207#issuecomment-628887068 worked around this issue.   though I suspect it's a temp thing.

@secynic is correct, the root cause Python bug #28414 is present in Python 2.7, 3.6, 3.7, but fixed only in Python 3.7+

I have similar problem with ipwhois. I get a error: ipwhois.exceptions.HTTPLookupError: HTTP lookup failed for http://rdap.db.ripe.net/ip/<IP_ADDRESS>.
I have Python 3.9.2


GetConsoleMode on STD_INPUT_HANDLE failed with 6

 Session Info
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] plumber_0.4.6   analogsea_0.6.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.1          compiler_3.5.3      later_0.8.0         prettyunits_1.0.2   base64enc_0.1-3     remotes_2.0.2
 [7] tools_3.5.3         aws.s3_0.3.12       testthat_2.0.1      digest_0.6.18       pkgbuild_1.0.3      pkgload_1.0.2
[13] jsonlite_1.6        memoise_1.1.0       rlang_0.3.2         cli_1.1.0           rstudioapi_0.10     curl_3.3
[19] yaml_2.2.0          withr_2.1.2         httr_1.4.0          xml2_1.2.0          fs_1.2.7            desc_1.2.0
[25] askpass_1.1         devtools_2.0.1      rprojroot_1.3-2     glue_1.3.1          R6_2.4.0            processx_3.3.0
[31] sessioninfo_1.1.1   callr_3.2.0         magrittr_1.5        usethis_1.4.0       backports_1.1.3     promises_1.0.1
[37] ps_1.3.0            assertthat_0.2.1    aws.signature_0.4.4 httpuv_1.5.0        stringi_1.4.3       openssl_1.3
[43] crayon_1.3.4

I get this error when I try to run plumbers "do_provision()" function.

It just hangs immediately and does nothing.

@coryhogan sorry about the error. we're close to submitting a new version to CRAN, see milestone https://github.com/sckott/analogsea/milestone/6 .
Install the development version remotes::install_github("sckott/analogsea") and try it again.
It may still not work as theres some issues to be resolved with the ssh pkg that does the ssh connection - see https://github.com/sckott/analogsea/issues/154 and https://github.com/sckott/analogsea/issues/173

Appreciate the quick response! I'll look forward to an update. Just to let you know for your own debugging use this is the error I get when I use the current master branch analogsea.

thanks, i'll have a look soon.

@coryhogan Jeroen has been making some changes to the ssh package that may help here, see https://github.com/ropensci/ssh/blob/master/NEWS#L1-L5 -- Can you reinstall remotes::install_github("ropensci/analogsea") (which will install the dev version of ssh) and try again? Making sure to reaload R session.

Still getting the same exact error even with the development version of ssh.

okay, thanks for trying. I'll have a look soon

I'm very much a novice on digital ocean and analogsea but I get stranded with the same error message as coryhogan after the last of the following analogsea commands:
(drops <- droplets())
d <- droplet(drops[[1]]$id)
d %>% docklet_rstudio()
I'm running Windows 10 with Rstudio 1.1.463 and R 3.5.3 with analogsea 0.6.0.

@tomand-uio can you try the development version of analogsea please, remotes::install_github("sckott/analogsea"), then try that example again

Hiya,
I came across this issue while searching.  I installed the latest dev version (<IP_ADDRESS>00) of analogsea today, and I'm getting exactly this error.  The error message is below:
id <- plumber::do_provision(region="ams3", size="s-1vcpu-3gb")
THIS ACTION COSTS YOU MONEY!
Provisioning a new server for which you will get a bill from DigitalOcean.
Using default ssh keys: R_ssh_home, R_SSH_Work, Sbook2, R_SSH_Tablet
NB: This costs $0.02232 / hour until you droplet_delete() it
Waiting for create ...............
New server key: 4c:53:e4:ff:34:bc:35:ec:db:9d:20:67:77:59:b7:55:11:54:00:49
Error in normalizePath(path.expand(path), winslash, mustWork) :
  path[1]="C:\Users\mathe\AppData\Local\Temp\RtmpWmqiw2\file2f385e3953fa": The system cannot find the file specified

with the following traceback
7: normalizePath(to, mustWork = TRUE)
6: ssh::scp_download(session = session, files = remote, to = local,
       verbose = TRUE)
5: cat(ssh::scp_download(session = session, files = remote, to = local,
       verbose = TRUE), sep = "\n")
4: do_scp(droplet, local, remote, user, scp = "download", keyfile,
       ssh_passwd, verbose = verbose)
3: analogsea::droplet_download(droplet, paste0("/tmp/", randName),
       tf)
2: droplet_capture(droplet, "swapon | grep \"/swapfile\" | wc -l")
1: plumber::do_provision(region = "ams3", size = "s-1vcpu-3gb")

Happy to try anything else out that you might need to solve this.

I took a closer look at this this morning.  The issue arose in plumber's droplet_capture() command, and the latest development version of plumber fixes this problem, so it works a charm now!

thanks @mathesong sorry about delay was on vacation. Glad it works now!


tcsh - new line

Hi,
Thanks for this - a great powerline like shell implementation, especially given the support for tcsh, which I'm currently forced into at work. (the standard powerline not working with tcsh as far as I know )
Anyway - I noted that there was no newline support for tcsh. Please see below my attempt at getting it to work.  It seems to now (at least for me!).  Note the space before \\n and also the double \\ I've no idea why this works but after playing around for a bit it does appear to.  Any education on why this is the case would be great.  Anyway, hope this is useful. Rob
# powerline_shell/segments/newline.py
from ..utils import BasicSegment, warn

class Segment(BasicSegment):
    def add_to_powerline(self):
        if self.powerline.args.shell == "tcsh":
             self.powerline.append(" \\n",
                                   self.powerline.theme.RESET,
                                   self.powerline.theme.RESET,
                                   separator="")
        else:
             self.powerline.append("\n",
                                   self.powerline.theme.RESET,
                                   self.powerline.theme.RESET,
                                   separator="")

thank you so much it worked perfect for me, it is weird that nobody else has responded...


chore: separate dependent typeclass assumptions

Flagged by the linter at #14731.
If you are reviewing, there is a challenge: sectioning off IsDomain from IsDedekindDomain means that a lemma that before this PR had both in scope and actually really used IsDomain has suddenly become "worse", since now it only has IsDedekindDomain in scope.
I am thinking about how to automatically address this challenge, but for the moment, this is what there is!  :smile:

Can you generate doc pages for both versions (or otherwise pretty-print all theorems in the file) and compare them?

Thanks!
bors delegate+

bors r+


/servicenow subscriptions add is not opening the modal as expected

There seems to be an issue on some servers where the modal for adding a subscription will not open. Nothing happens when you run the slash command. I see nothing relevant in browser dev logs or console logs.
The modal does open with the Add New subscription button.
https://user-images.githubusercontent.com/35588783/206378678-d6d5598d-951f-4384-9945-306b0b20e1ea.mov

This occurs on a cloud server I have running 5.37.3 I do not see the same issue occur locally.
Both servers are running the v2.3.3 build from the version bump PR in this repo.
This occurs in all browsers and the desktop client.

@DHaussermann this issue will be fixed with issue #120

@ayusht2810 are you able to provide some context on why my other server is not affected?
Was it possible to open a modal with the command on earlier builds before v2.3.3?

@ayusht2810 after discussing this issue it could be lower in priority however on the 5.37 server in the video - There is no button to add additional subscriptions beyond the 1st once 1 is created.

This also does not repro on my local. Ping me if it helps to send an invite to the affected server. Also happy to open a separate issue here if neded.

@ayusht2810 I also see this issue on the Add and Update  buttons can you see if this is the same probem

@DHaussermann this issue is fixed in the PR https://github.com/mattermost/mattermost-plugin-servicenow/pull/141

@DHaussermann These are fixed so please verify and close

@DHaussermann reminder to verify the issue.

@ayusht2810 Verified, the above issue are fixed now.
Tested on MM cloud server version v5.37.3 with master branch


Adding proxy support for pagerDuty client

Hey folks,
I'm trying to use this awesome pagerDuty client behind a corporate proxy and I'm having the same issue as described here: https://github.com/dikhan/pagerduty-client/issues/12
This PR introduces the ability to specify a proxy configuration when creating a PagerDutyEvents client. An alternative solution I've considered was to make the Unirest HTTP client automatically pick up system proxy env variables, but that might impact people already using this lib. Also, there are multiple env variables used for setting proxies since there is some convention around them, but not a standard (e.g. $http_proxy, $http.proxyHost)
Please take a look when you have a chance, I'm happy to address any of your comments here.
Thanks,
Bogdan.

Hi @bogdangherca ,
Thanks for contributing to the repo, much appreciate it! And sorry for the delay it's taken to reply on this, I have been afk for a long time.
The build did not seem to pass so I took a look at it. After some reading, looks like there is an issue with Travis java builds and the Ubuntu distribution used by task. So created a PR #18  that seemed to fix that problem and after merging it to master I went ahead and rebased this branch with master to pick up the change. The build seems to be working again and looks like few tests are failing, I ran the tests locally and the tests are not passing either.
Are you able to run the tests successfully on your end? We need to fix the tests before the branch can be merged.
Thanks!

@bogdangherca thanks again for opening the PR. I pushed few more commits to fix the build and the tests seem to be passing now so merging the PR.

@dikhan Thanks for taking the time to fix the build and merge this, highly appreciated!


[HxInput] Bound setter not getting called

Hi,
I ran into a problem after trying to create a formatted text input box using your HxInputText component. When typing the same thing into the box, the setter won't be called (which is probably by design), however even after setting the bound variable to something else and calling StateHasChanged results in no change whatsoever.
Consider the following example:
<HxInputText @bind-Value="@TestProp" @onfocusout="FocusOut"/>

private TimeSpan underlyingVar;

private string content;
public string Content
{
	get => this.content;
	set
	{
		this.underlyingVar = SomeParse(value);
		this.content = SomeFormatting(this.underlyingVar);
	}
}

public async Task FocusOut()
{
	this.content = SomeFormatting(this.underlyingVar);
	StateHasChanged();
}

My expected result after FocusOut would be a formatted string inside of the text box, however I get the same text that I typed in.
E.g. when I type '24h' into the box and parse, format it, unfocus the input I'd get '24:00:00', this works well for cases where I actually change the value, however when I type '24h' again, I just get stuck with '24h' in the textbox until I type in something that actually changed the underlying variable.
This logic works well in a simple HTML <input> although the bound property's setter gets called even if there was no change.
Is there something I could use to achieve the desired result or should I just stick to regular <input> ?
Thank you!

This issue seems to be present in other component frameworks as well. Radzen Numberic Formatted Value
The formatted value won't be formatted if the input value is the same.

@jirikanda, can you please take a look and provide an explanation or workaround?
This is a know issue in Blazor inputs, coming from InputBase, maybe even deeper (input element itself).
There is a demo for this at BlazorTestApp/HxInputTextTest.
Thank you.

Hi diejozef,
it is easy to achieve the same behavior without FocusOut method.
Try the following demo, enter "20" to the text box again and again. It formats the value to "20h" but only for the first time (the value is not formatted until you enter another value).
<HxInputText @bind-Value="@Content" />

@code{
	private TimeSpan underlyingVar;

	private string content;
	public string Content
	{
		get => this.content;
		set
		{
			this.underlyingVar = SomeParse(value);
			this.content = SomeFormatting(this.underlyingVar);
		}
	}

	private TimeSpan SomeParse(string value) => TimeSpan.FromHours(int.Parse(value.TrimEnd('h')));
	private string SomeFormatting(TimeSpan value) => value.Hours.ToString() + "h";}
}

Why this happens?
Imagine, the HxInputText component somewhere inside renders (in brief):
<input type="text" ... value="20h" />

OK, the 20h value is rendered.
You enter the value 20.
We format the value to 20h.
And the input should be rendered with 20h.
<input type="text" ... value="20h" />

But what happened? This input is not rendered because it contains no change! From the Blazor perspective, the value did not change from the time it was previosly rendered (Blazor does not look for the value to the DOM). Previously, the value was 20h, now it is 20h again. As a result, the input is not updated and the value 20 remains in the input.
How to solve this?
You need the component somehow to force the value to be updated. Ehm, javascript? No C# developer wants to have dirty hands...
One hack how to force refreshing the component is to use @key directive. Yes, it is a hack which can have side-effects and you need to know what you are doing...
<HxInputText @key="@key" @bind-Value="@Content" />

@code{
	private TimeSpan underlyingVar;
	private int key;

	private string content;
	public string Content
	{
		get => this.content;
		set
		{
			this.underlyingVar = SomeParse(value);
			this.content = SomeFormatting(this.underlyingVar);
			key++;
		}
	}

	private TimeSpan SomeParse(string value) => TimeSpan.FromHours(int.Parse(value.TrimEnd('h')));
	private string SomeFormatting(TimeSpan value) => value.Hours.ToString() + "h";
}

@jirikanda thank you for this thorough answer and for the potential solution as well. I didn't know of @key, I'll make sure to read up on it.
Can you perhaps give me an explanation on why this (my very first code snippet) works (without @key) when simply using <input> ?  Also, why is StateHasChanged not sufficient in this case? Isn't that function supposed to 'force' a refresh of the element?
Thank you very much in advance!

@diejozef

why is StateHasChanged not sufficient in this case

Using StateHasChanged you are requesting to update the "current" component. And yes, it should update all child components but the optimalization says: "Hey, the child component has no parameters changed, so let's skip updating of this child component to save some performance, battery, ..."
If you would like to deep dive into the logic "how Blazor determine whether the parameters are changed", start here:  https://github.com/dotnet/aspnetcore/blob/a450cb69b5e4549f5515cdb057a68771f56cefd7/src/Components/Components/src/RenderTree/RenderTreeDiffBuilder.cs#L545

give me an explanation on why this (my very first code snippet) works when simply using

Because you are skipping the component level of abstraction and the previous explanation with component update does not work here.
Let's do not continue this tutorial here and let's consider this issue solved.

From my point of view, StateHasChanged() is here not strong enough in any case (no matter of the child/parent or parameters here).
Although the component signals to rerender, the result of rendering goes into the virtual DOM.
It is the virtual DOM diff-logic which does not find any differences as it is not aware of the current value of the input, but compares the new value with the original one which did not change. You have to hack this logic with the @key to let the Virtual DOM diff-logic think there is a major change in the Virtual DOM which has to be synchronized to the real DOM.
@jirikanda Am I right?

@diejozef,
we found the reason for this and we are trying to verify the solution with Microsoft ASP.NET Blazor team:
#40097 InputText and other input components do not use SetUpdatesAttributeName() for two-way binding
We are currently able to fix this in our components but we want to verify with Blazor team that it does not cause any unwanted side effects (if there is any reason, other than bug, why they do not use the SetUpdatesAttributeName() in built-in Blazor components).

@diejozef, please note, after the fix, you will still have to create a derived component to achieve what you want - override the FormatValueAsString method, e.g.:
public class MyInputText : HxInputText
{
	protected override string FormatValueAsString(string value)
	{
		if (value == "24h")
		{
			return "24:00:00";
		}
		return value;
	}
}

Blazor PR: https://github.com/dotnet/aspnetcore/pull/40234
Havit.Blazor WIP.

...wating for actions in ASP.NET Blazor itself (opened PR) - we want our implementation to be aligned with that.

Fixed in net8 and Havit.Blazor v4.3.5+.


Add required deployment variables for MCE deploy.

Update values.yaml
Update the deployment template for the hypershift-deployment-controller

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>

Issue Reference: https://github.com/stolostron/backlog/issues/18754
Additional reference: https://github.com/stolostron/backlog/issues/20258

/lgtm

/approve


Cards: Add repo name

To better contextualize the pull requests
Closes #197

CR 👍

CR :gear:

[cloned this repo into my home directory on cominor]

checked out this branch
Ran update-pulldasher
Did some visual inspection of pulldasher at pulldasher.cominor.com
Clicked on some buttons

hovering over a card and pressing ctrl+c and the branch name still added to clipboard
toggling day and night modes
resizing the window

Looks good to me
QA :sunny:
For reference:
<EMAIL_ADDRESS>/mnt/ebs/home/agrant/pulldasher (add-repo-name-to-card)
$ which update-pulldasher
/home/ifixit/ifixit_scripts/update-pulldasher


Add some new features

New features:

add a function for parsing local date to standard time.
add a function for dealing JSONData asynchronously.

@KuTuGu the title of the issue is too generic, rename it to have the first bullet point of that list and create another issue for the second bullet point please.


'Zero' values are not shown by gz topic -e

This is rather strange:
Execute in one terminal:

gz topic -e -t /foo

Execute in another terminal:

gz topic -t /foo -m gz.msgs.Int32 -p 'data:10'
gz topic -t /foo -m gz.msgs.Int32 -p 'data:0'
gz topic -t /foo -m gz.msgs.Float -p 'data:0.5'
gz topic -t /foo -m gz.msgs.Float -p 'data:0.0'
gz topic -t /foo -m gz.msgs.Float -p 'data:0.1'

Expected output:

data: 10
data: 0
data: 0.5
data: 0.0
data: 0.1

Actual output:

data: 10

data: 0.5

data: 0.1

So there is an extra line feed, but no data for 'zero' values.
This is for both the default and the json output.
Relevant code part:
https://github.com/gazebosim/gz-transport/blob/c31134a9caf6dda0e5a9aa457233d0f679e3dddb/src/cmd/gz.cc#L265-L280
I assume it must be an oddity of the protobuf message?
https://github.com/gazebosim/gz-transport/blob/c31134a9caf6dda0e5a9aa457233d0f679e3dddb/include/gz/transport/TransportTypes.hh#L71

@azeey My main reason to report the issue was just to make sure that this is normal behavior, and not a symptom of some other, underlying problem.
And indeed it turns out to be default and well documented behavior of protobuf, see this application note and this discussion.
There's an optional keyword since protoc 3.12 (flag --experimental_allow_proto3_optional) and 3.15 (no longer experimental), to indicate Explicit Presence.
I did a test per these implementation instructions:

Add this to Generator.hh:

uint64_t GetSupportedFeatures() const override {
return FEATURE_PROTO3_OPTIONAL;
}

Add optional keyword to float data in float.proto

Pass --experimental_allow_proto3_optional flag to protoc during build (I put it in a script as I don't know a better way):
colcon build --merge-install --packages-select gz-msgs9 --cmake-args -DPROTOC_EXEC=/tmp/protoc-exp

This works fine:

gz topic -t /foo -m gz.msgs.Float -p 'data:0.0'

gz topic -e -t /foo
data: 0

So that seems a possible resolution.
Anyway, as there is no real functional impact (other than the 0 values not being echoed), I close this issue.


Upgrade jboss-logging to 3.3.0.Final

Linux Build 2749 outcome was FAILURE using a merge of 7ef92a2798a9ddd41f098a541ded3991f01f05a4
Summary: Tests failed: 1 (1 new), passed: 3438, ignored: 64 Build time: 00:41:47
Failed tests
org.jboss.as.test.integration.logging.syslog.SyslogHandlerTestCase.testLogOnSpecificLevel: java.lang.AssertionError: Message with unexpected Syslog event level received. expected:<3> but was:<6>
	at org.jboss.as.test.integration.logging.syslog.SyslogHandlerTestCase.testLog(SyslogHandlerTestCase.java:136)
	at org.jboss.as.test.integration.logging.syslog.SyslogHandlerTestCase.testLogOnSpecificLevel(SyslogHandlerTestCase.java:121)
------- Stdout: -------
 [0m00:57:39,633 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment test-logging.jar (runtime-name: test-logging.jar) in 9ms
 [0m [0m00:57:39,640 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0002: Content removed from location /opt/buildAgent/work/8d74ae55e497982e/testsuite/standalone/target/wildfly-core/standalone/data/content/96/987bd5c4dabebae9ad856d7ceb0c653d19e2fb/content
 [0m [0m00:57:39,640 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0009: Undeployed "test-logging.jar" (runtime-name: "test-logging.jar")
 [0m [0m00:57:39,699 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location /opt/buildAgent/work/8d74ae55e497982e/testsuite/standalone/target/wildfly-core/standalone/data/content/d6/ba662b66c11118138e605f84bd1f1686674138/content
 [0m [0m00:57:39,700 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "logging-test.jar" (runtime-name: "logging-test.jar")
 [0m [0m00:57:39,718 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "logging-test.jar" (runtime-name : "logging-test.jar")
 [0m

retest this please

Core - Full Integration Build 1869 outcome was FAILURE using a merge of 7ef92a2798a9ddd41f098a541ded3991f01f05a4
Summary: Tests failed: 1 (1 new), passed: 3135, ignored: 373 Build time: 00:53:29
Failed tests
org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredTopic: java.lang.AssertionError: null
	at org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.receiveMessage(ClusteredMessagingTestCase.java:218)
	at org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredTopic(ClusteredMessagingTestCase.java:169)
------- Stdout: -------
19:00:38,609 WARNING [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Bundles path is deprecated and no longer used.
19:00:38,610 INFO  [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Starting container with: [/usr/java/latest/bin/java, -D[Standalone], -Xms64m, -Xmx512m, -Xmx512m, -Djava.net.preferIPv4Stack=true, -Djava.net.preferIPv4Stack=false, -Djava.awt.headless=true, -Djboss.modules.system.pkgs=org.jboss.byteman, -Djboss.dist=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/../../../dist/target/wildfly-10.0.0.CR2-SNAPSHOT, -Djboss.dist=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/../../../dist/target/wildfly-10.0.0.CR2-SNAPSHOT, -Djava.net.preferIPv6Addresses=true, -server, -Dts.timeout.factor=100, -Dnode0=::1, -Dnode1=::1, -Dmcast=ff13::1, -Dmcast.ttl=0, -Djbossas.ts.submodule.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering, -Djbossas.ts.integ.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/.., -Djbossas.ts.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/../.., -Djbossas.project.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/../../.., -Djboss.inst=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0, -Djboss.node.name=node-0, -Djboss.messaging.cluster.password=clusterpwd, -ea, -Djboss.home.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0, -Dorg.jboss.boot.log.file=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/log/server.log, -Dlogging.configuration=file:/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/configuration/logging.properties, -jar, /opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/jboss-modules.jar, -mp, /opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/modules:/opt/buildAgent/work/db872761b443af46/full/dist/target/wildfly-10.0.0.CR2-SNAPSHOT/modules:/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/modules, org.jboss.as.standalone, -Djboss.home.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0, -Djboss.server.base.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone, -Djboss.server.log.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/log, -Djboss.server.config.dir=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/configuration, -Dts.wildfly.version=10.0.0.CR2-SNAPSHOT, -c=standalone-full-ha.xml]
 [0m19:00:39,001 INFO  [org.jboss.modules] (main) JBoss Modules version 1.4.4.Final
 [0m [0m19:00:39,286 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
 [0m [0m19:00:39,367 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Full 10.0.0.CR2-SNAPSHOT (WildFly Core 2.0.0.CR2-SNAPSHOT) starting
 [0m [0m19:00:41,003 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 24) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [0m19:00:41,192 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
 [0m [0m19:00:41,227 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.3.2.Final
 [0m [0m19:00:41,235 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.2.Final
 [0m [0m19:00:41,353 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.10.Final
 [0m [0m19:00:41,388 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 39) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
 [0m [33m19:00:41,410 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 66) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
 [0m [0m19:00:41,426 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 52) WFLYJSF0007: Activated the following JSF Implementations: [main]
 [0m [0m19:00:41,449 INFO  [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.0.Final)
 [0m [0m19:00:41,450 INFO  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 45) WFLYIIOP0001: Activating IIOP Subsystem
 [0m [0m19:00:41,466 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 44) WFLYCLINF0001: Activating Infinispan subsystem.
 [0m [0m19:00:41,479 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 49) WFLYCLJG0001: Activating JGroups subsystem.
 [0m [0m19:00:41,483 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2
 [0m [0m19:00:41,487 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 57) WFLYNAM0001: Activating Naming Subsystem
 [0m [0m19:00:41,490 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 43) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors
 [0m [0m19:00:41,520 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 68) WFLYWS0002: Activating WebServices Extension
 [0m [0m19:00:41,550 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 64) WFLYSEC0002: Activating Security Subsystem
 [0m [0m19:00:41,685 INFO  [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=4.9.3.Final
 [0m [0m19:00:41,709 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0003: Undertow 1.3.0.CR1 starting
 [0m [0m19:00:41,749 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
 [0m [0m19:00:41,751 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
 [0m [0m19:00:41,751 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.3.0.CR1 starting
 [0m [0m19:00:42,001 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 67) WFLYUT0014: Creating file handler for path '/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
 [0m [0m19:00:42,062 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
 [0m [0m19:00:42,081 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting
 [0m [0m19:00:42,372 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on [::1]:8080
 [0m [0m19:00:42,381 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow AJP listener ajp listening on [::1]:8009
 [0m [0m19:00:42,427 INFO  [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.
 [0m [0m19:00:42,431 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.
 [0m [0m19:00:42,464 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 71) MODCLUSTER000001: Initializing mod_cluster version 1.3.1.Final
 [0m [0m19:00:42,481 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 71) MODCLUSTER000032: Listening to proxy advertisements on /ff13:0:0:0:0:0:0:1:23364
 [0m [0m19:00:42,626 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/deployments
 [0m [0m19:00:42,635 INFO  [org.wildfly.iiop.openjdk] (MSC service thread 1-1) WFLYIIOP0009: CORBA ORB Service started
 [0m [0m19:00:42,836 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
 [0m [0m19:00:42,899 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-1) WFLYMSGAMQ0075: AIO wasn't located on this platform, it will fall back to using pure Java NIO. Your platform is Linux, install LibAIO to enable the AIO journal and achieve optimal performance.
 [0m [0m19:00:43,012 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.1.0.Final
 [0m [0m19:00:43,225 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 70) AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=true,journalDirectory=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/data/activemq/journal,bindingsDirectory=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/data/activemq/bindings,largeMessagesDirectory=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/data/activemq/largemessages,pagingDirectory=/opt/buildAgent/work/db872761b443af46/full/testsuite/integration/clustering/target/wildfly-clustered-messaging-0/standalone/data/activemq/paging)
 [0m [0m19:00:43,250 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 70) AMQ221013: Using NIO Journal
 [0m [0m19:00:43,376 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 70) AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
 [0m [0m19:00:43,381 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 70) AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
 [0m [0m19:00:43,397 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 70) AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
 [0m [0m19:00:43,399 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 70) AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP

retest this please


feat(deckgl-map): use an arbitraty Mabpox style URL (#26027)

SUMMARY

In the DeckGL map plugin we can only select a Mapbox style from a predefined list.
I've made the select box free form, meaning that we can copy-paste a Mapbox style URL directly. I've also added a basic validator for UX purpose.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

Copy paste an arbitrary Mapbox URL in the select box and see the map change.
ADDITIONAL INFORMATION

[x] Has associated issue: Fixes #26027
[ ] Required feature flags:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thanks @francois-travais for the PR. I've cc'ed in somewhat who is likely well versed with DeckGL to review your change.

Thanks @john-bodley . I know I'm missing a translation key (in the validator) but I cannot get babel script to work. I'm gonna try again today.

@francois-travais Thank you for your contribution, looks really nice! I added 1 small suggestion, lmk if it makes sense

1 more - wdyt about moving mapbox style controls to a separate line, so that the whole style URL fits in it? We can do it as a follow up if you prefer

@kgabryje I modified the tooltip and moved Mapbox style select to a full line.

@kgabryje do you know in which release this feature is planned ? I don't see it in 3.1.0rc3.

@kgabryje do you know in which release this feature is planned ? I don't see it in 3.1.0rc3.

CC @michael-s-molina

@kgabryje do you know in which release this feature is planned ? I don't see it in 3.1.0rc3.

It will be available in the next RC.

Which version is this feature available ?


stripe timeout

https://sentry.io/the-hands-up-foundation/hands-up-events/issues/778432175/?referrer=github_plugin
TimeoutError:
(11 additional frame(s) were not displayed)
...
  File "web/stripe.py", line 392, in _request
    async with self._client.request(method, full_path, data=data or None, auth=self._auth, headers=headers) as r:
  File "aiohttp/client.py", line 855, in __aenter__
    self._resp = await self._coro
  File "aiohttp/client.py", line 391, in _request
    await resp.start(conn)
  File "aiohttp/client_reqrep.py", line 770, in start
    self._continue = None
  File "aiohttp/helpers.py", line 673, in __exit__
    raise asyncio.TimeoutError from None

TimeoutError:

Problem is here, solution is to increase the timeout to 20 seconds.
https://github.com/samuelcolvin/nosht/blob/56079e3f3a92cff9cc327d17736c6b954a1fdb0e/py/web/main.py#L51


Using 'Redeploy' command doesn't work, results in 'Failed to get status of deployment' message

Hi there,
In the Deployments section of our service, you can see a list of deployments that have been done previously as well as the one that is active.
However, when I try this, I get the following message:
2:48:39 PM MyApp-dev: Redeploying commit "bab3bd768e2f4b0ba27ffd1110058e86" to "MyApp-dev"...
12:49:44 PM: Error: Failed to get status of deployment.

Any ideas why this would be?

Hi @bengrah-miller
Do you know what your app's deployment configuration is? Redeploy only works if it's a git based deployment.
Also, could you let us know what kind of app this is? The azuretools team is responsible for both app service and functions, so I can't really tell which extension this is.

Hi @nturinski - I hadn't realised it was a Git project related function, I thought it was used to redeploy an earlier commit. Basically we're using the VSCode extensions Azure Resources and Azure App Services. I was using the Re-deploy functionality thinking I could redeploy an earlier update if required:

The project we're getting this issue on isn't a Git-integrated project, it's just an app service.
Thanks.


[serverless] Add EventBridge Inferred Spans

What does this PR do?

This PR fixes/adds EventBridge inferred spans for Lambda.
Now, users will see an EventBride span on any Lambda function that was directly invoked by EventBridge.
In the example architecture Lambda -> EventBridge -> Lambda, the traces look like this:

Two different traces. Second trace is missing an EventBridge span

Now, the trace looks like this:

Motivation
SNS and SQS are already supported. There was some code in place for EventBridge, but it didn't work properly and didn't show spans on Datadog. This PR aims to fix this.
Additional Notes

I have a PR here to inject trace context into the Java tracer. At the time of writing this, the tracers for .NET and Go do not inject trace context into SQS/SNS/EventBridge yet, but that's my next project.

The AWS API has no reliable way of getting the start time of the EventBridge span. It only gives time with precision to the second, which is not precise enough to create spans. Therefore, we try to get the start time from the tracer in the field x-datadog-sent-timestamp. If this field does not exist, we fall back to AWS API's start time.

Also, the AWS API has no way of getting the EventBridge bus name, so we attempt to get this from the tracer in the field x-datadog-bus-name for the span resource name. If this doesn't exist, we set the resource name to "EventBridge".

This should not be a breaking change, but this is an area for reviewers to focus on and double check. If the user is using an outdated tracer or .NET/Go that doesn't yet support inferred spans for EB/SQS/SNS, these changes shouldn't break anything, but it still shows an "EventBridge" span on any Lambda function invoked by the EventBridge event:

Possible Drawbacks / Trade-offs
Increased overhead
Describe how to test/QA your changes
Run local tests with invoke test --targets=./pkg/serverless from the root of the project
It's more complicated to test manually. Contact me if you want a live demo of these changes. Here's how I tested:

Create a serverless architecture that's supported, such as a Java Lambda function that publishes an event to EventBridge, an EventBridge event bus that has a target SQS queue or SNS notifier, and another Java Lambda function that subscribes to the queue/notifier.
Instrument the lambda functions using datadog-ci
Build the extension: ./scripts/publish_sandbox.sh
Build the new Java tracer from this PR: ./gradlew publishToMavenLocal && cd ~/.m2/repository/com/datadoghq/dd-java-agent/1.40.0-SNAPSHOT && zip layer.zip dd-java-agent-1.40.0-SNAPSHOT.jar
Create new layers on AWS by uploading those zip files, and replace your Lambda layers with your custom layers.
Set the environment variable JAVA_TOOL_OPTIONS: -javaagent:"/opt/dd-java-agent-1.40.0-SNAPSHOT.jar" on your lambda functions to use the new Java tracer
Invoke your first lambda function, and check Datadog for results. The spans should be combined into a single trace.

/merge


Possibility of clearing metrics every X seconds (memory problem)

I am using version v0.9.2, with the variables CE_WORKER_TIMEOUT and CE_PURGE_OFFLINE_WORKER_METRICS modified, the time was changed to 20 seconds.
In my structure every X minutes, several nodes in batches are started in Kubernetes with dozens of pods/celery consuming X queues.
Prometheus scrapes the metrics from the celery-exporter (9808/metrics) and stores them.
Apparently the purge variables don't work very well in my structure. In the logs I see purge of 1, 2 pods after many hours.
Would you like to know if there is a possibility to add a new parameter to purge all /metrics every X seconds? Or any tips for another solution.

Thanks and crongrats on the great project.

@adinhodovic

If your workers go offline (rotate) metrics should be quickly cleaned up. Works fine for us with up to ~100 pods. On new releases all metrics get cleaned quite quickly. We do it every 5 minute and a worker times out at 2.5 minutes. You are not seeing the purge message enough?
Maybe CE_GENERIC_HOSTNAME_TASK_SENT_METRIC=true will help with cardinality aswell?
we dont have an option to clean all metrics atm.

Hey,
I have same problem on my side,
I tried to activate CE_GENERIC_HOSTNAME_TASK_SENT_METRIC=true and some metrics has their hostname set as generic but there is still other that are labelled with pod name. I also tried to cutomize CE_PURGE_OFFLINE_WORKER_METRICS and CE_WORKER_TIMEOUT as well but there is no purge.
I tried to find how garbage collecting is working and I think i partially found the cause :

 self.track_timed_out_workers() is called at every scrap.
This method will iterate on self.worker_last_seen to  call   self.purge_worker_metrics()

On my side, problem is that self.worker_last_seen remains empty and it never get updated so metrics are never purged.

If your workers go offline (rotate) metrics should be quickly cleaned up. Works fine for us with up to ~100 pods. On new releases all metrics get cleaned quite quickly. We do it every 5 minute and a worker times out at 2.5 minutes. You are not seeing the purge message enough?
Maybe CE_GENERIC_HOSTNAME_TASK_SENT_METRIC=true will help with cardinality aswell?
we dont have an option to clean all metrics atm.

What do you mean by go offline ? Is it a gracefull disconnection made by workers or something like that ? ( sorry for this question but I absolutely know nothing about celery )


Fixed typo in code

Can one of the admins verify this patch?

@tensorflow-jenkins test this please


Feature - API tests with Auth

Mocks user authentication for controller tests in PostControllerTest.cs, EditPostTests.cs, DeletePostTests.cs, and DeleteCommentTests.cs
Fix small bugs in controllers such as calling CreatedAtAction for Post methods
Fix api route on the CommentsController DeleteAsync method to api/comments/{commentId}

Note that this branch enables auth in all the controller methods that use it. This has to be the LAST branch to merge

Note that this branch enables auth in all the controller methods that use it. This has to be the LAST branch to merge

cf reply here https://github.com/2011-fakebook-project3/posts/pull/100#discussion_r556693180

cf reply here https://github.com/2011-fakebook-project3/posts/pull/100#discussion_r556693180

Not enough time to test an async enumerator, requires changes on mocking the test

Not enough time to test an async enumerator, requires changes on mocking the test


Add negation to selector syntax.

Added the ! operator, which negates a sub-expression.

Code here looks fine.  The !! simplifier seems a bit superfluous, but it's simple enough.
According to the datamodel we also support ! for specifying rule targets (i.e. src_selector).  I might have missed something, but I don't think that code can deal with complex nesting of !s (e.g. it will need to make the translation !(X && Y) -> !X || !Y) for programming into iptables?  Am I missing something, or do we still need to write some code to support this?

Also - thanks for writing this so quickly! :)

@matthewdupre we actually render the whole selector into an ipset rather than rendering its individual matches as separate sets.  Made that choice precisely for the reason you outlined, it's tricky to do all the boolean ops in iptables.

retest this please

@matthewdupre FTR, the '!!' simplifier isn't strictly necessary but I think it's a lot more efficient to do operators as a ZeroOrMore(...) list rather than using recursion in pyparsing so you end up sending the 0-case and the 1-case through the same parse action anyway; may as well handle the n-case too.


trailing_commas should maybe deal with more than usual lists?

Having set trailing_commas to Never, the following trailing commans are still applied:
pub struct FileInput {
    input: StringInput,
    file_name: OsString,
}

match len {
    Some(len) => Ok(new(self.input, self.pos + len)),
    None => Err(self),
}

I'm personally not a big fan of trailing commas especially when using formatting software, so I'm basically asking whether the trailing_commas config should apply to every possible instance of enumarating items. I don't know the internals of rustfmt, so I have no idea how easy this would be to implement.

I agree that trailing_commas should apply everywhere and it is basically a bug where it does not.


verify should support code forges for more robust assertions

Description
Asking end-users to construct regular expressions to match against a URL for the full spec of a release of a project, while allowing the project to issue new releases, or switch branch names, or whatever else, is asking for verification mistakes.
If the UX for verifying signatures is to use cosign, then cosign should probably reconsider the OID deprecation of the GitHub attributes and provide a UX around verifying identities.
(I'm being careful around "forge" as a shorthand for "code hosting repository", because --issuer-forge sounds like forge in the sense of "forgery", so I'm using codeforge here to provide the limited service agnosticism.)
So instead of:
cosign verify-blob \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity-regexp 'https://github\.com/goreleaser/goreleaser-pro-internal/\.github/.+' \
  [...]

cosign might consider:
cosign verify-blob --issuer-codeforge github:goreleaser/goreleaser-pro-internal [...]

and then maintain an internal mapping of forge names to OIDC issuers, and which attributes make sense to use by default.  The self-hosted options can still be supported by explicit --certificate-oidc-issuer and probably should not be supported by the simplified UX, since the whole model here is that we're encouraging people to trust OIDC for claims from a well-run code forge.

Thanks for filing this.

Asking end-users to construct regular expressions to match against a URL for the full spec of a release of a project, while allowing the project to issue new releases, or switch branch names, or whatever else, is asking for verification mistakes.

Agreed, and thanks for the proposed UX which is much nicer than what we have now.
Related: https://github.com/sigstore/cosign/issues/2691 I'm probably going to mark this a dupe of that, but inline some of the ideas from this thread; expect a response there as well.


File not found when uploading multiple files at once

Hello guys,
is it possible to upload multiple files at once? Right now I'm getting selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: File not found : /workspace/resources/file.jpg
I'm using this method on plain webdriver and works just fine:
'\n'.join(['/path1', '/path2'])
example:
input = driver.find_element_by_css_selector("input[type='file']")
input.send_keys("/path/to/file1\n/path/to/file2")

@rsporny what is your Selenoid version, browser name and version?

@vania-pooh aerokube/selenoid:latest, browser chrome (selenoid/vnc:chrome_77.0)

@rsporny take a look at these examples: https://aerokube.com/selenoid/latest/#_uploading_files_to_browser

that works fine, it just failing with multiple files at once. Could you, please, try above method ('\n'.join() and let me know if if works for you?

I am having the same problem, in the end did you find any solution?
Thanks

Ok maybe is late but i found a workaround to avoid this to fail on Selenoid,
We must set the value of the file input element using javascript setting its value attribute.
var input = driver.find_element_by_css_selector("input[type='file']"); foreach(filePath in filePaths) {       ExecuteJavascript("return arguments[0].value="", input); //simulates a clear       ExecuteJavascript("return arguments[0].value=filePath, input); }
I have checked on C# and works fine i hope you get the idea.

@vania-pooh heello my dear friend Vanya)
well,i have the same problem with selenoid ([1.10.11]) and chrome=112.0.5615.49 and python 3.11
also try chrome=114.0.5735.133
this bug will be fixed some day? or just try some other solutions?

@wonder19 this is a rare use case, so PRs are welcome.


Automate ssc differ

Description
Automating the SSC Variable and SAM default differ to run in Github Actions
Requires an easy way to query and download the previous SAM version, this is done by adding the download paths to the Github Releases: such as for the 2021.12.02.r0.ssc.267 release here: https://github.com/NREL/SAM/releases/tag/2021.12.02.r0.ssc.267
Steps to Use:

Create a new Release in SAM repo and make it a "Pre-release". Add the download links
Trigger SAM's Github Actions by making a Push or a Pull Request
Download the Artefact version_diff.json from Github Actions and use in Release Notes

Here's an example Github Action run: https://github.com/NREL/SAM/actions/runs/1809701751
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:
If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

@dguittet, looking at the example https://github.com/NREL/SAM/actions/runs/1809701751 and the failing check, what actions should be taken by whoever is running the action? Should this be a pull request failure in the future?

@sjanzou That example is successful. The latest failed due to differences in the test script of the defaults. I'm not sure why that is as this PR has no impact on the test files or those results.

@dguittet I suspect these are due to underlying SSC changes. It seems reasonable that https://github.com/NREL/ssc/pull/743 would impact the stand alone battery LCOE.

@brtietz That makes sense it's SSC changes. I added upload of the test_results_linux64.csv to Github Actions so we can use it in the test results update process.

@brtietz It would be great to have a Windows test eventually! But it doesn't have to be right now unless you happen to already have it on your list.

@dguittet , did these changes get merged into develop, too?

@sjanzou Thanks for the reminder!


Options icon does not work

I get
This site can’t be reached

The webpage at chrome-extension://gbmdgpbipfallnflgajpaliibnhdgobh/pages/options.html might be temporarily down or it may have moved permanently to a new web address.

Never mind.  I had disabled the extension while I was experimenting with different JSON formatters.


Adding maintainers or transferring to adopted-ember-addons

Hi @aomran would you be open to giving some more maintainers access to this repo and npm and/or transferring to https://github.com/adopted-ember-addons?

@aomran do you mind adding me? My PR has been open quite awhile, and I would like to merge it.

I would highly recommend transferring to adopted-ember-addons, if you do not have the time to maintain this though. We would love to revitalize it!

@rwwagner90 I invited you as a collaborator. Sorry things have been crazy lately :(

@aomran no worries!


[freeglut] build failure

Host Environment

OS: [Windows]
C++

To Reproduce
Steps to reproduce the behavior:
`./vcpkg install freeglut  glew --triplet x64-windows
rror: Building package freeglut:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: freeglut:x64-windows
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
I just pulled the newest Version and now I get BUIL_FAILED for all librarys

Solved by recloning VCPKG


[Hypershift] Modify describe cluster to differentiate between classic vs hosted-cp

Relates SDA-6797

@pvasant @vkareh @igoihman could you PTAL?

LGTM

/lgtm


changeRes not triggering

I have used the setup recommended in your example.html file, with video.js v4.5 and the latest build available here as a zip, but all that happens when I select a different resolution is that item turns black ("selected"). I've added console logging and nothing shoes. By contrast, I get console logging events triggered for volumechange events. It's as though the clicks aren't registering in the appropriate way.

Interesting. I wonder if that's a compatibility issue with Video.js 4.5. Could you put together a jsFiddle, so I can take a look at it?

Sure, I'll work on that. Should I downgrade my video.js? Does it work with
a different version? I tested it with 4.2 and that didn't work, since the
mergeOptions function wasn't available.
On Wed, May 27, 2015 at 11:59 AM, Dominic<EMAIL_ADDRESS>wrote:

Interesting. I wonder if that's a compatibility issue with Video.js 4.5.
Could you put together a jsFiddle, so I can take a look at it?
—
Reply to this email directly or view it on GitHub
https://github.com/dominic-p/videojs-resolution-selector/issues/29#issuecomment-106036630
.

I haven't heard of any compatibility issues other than this one. You can try Video.js 4.4.0. That's the first version that exported the util.mergeOptions method. I have updated the minimum required version in the readme.
Let me know when that jsFiddle is ready, so I can take a look at it.

I'm having a tough time getting the jsfiddle working. Doesn't want to for
some reason. Still working on it, but you can see the page live at
http://kimochis.electronicadept.com/watch/?token=5565ea5b900c35.95705467 if
you want.
On Fri, May 29, 2015 at 9:57 AM, Dominic<EMAIL_ADDRESS>wrote:

I haven't heard of any compatibility issues other than this one. You can
try Video.js 4.4.0. That's the first version that exported the
util.mergeOptions method. I have updated the minimum required version in
the readme.
Let me know when that jsFiddle is ready, so I can take a look at it.
—
Reply to this email directly or view it on GitHub
https://github.com/dominic-p/videojs-resolution-selector/issues/29#issuecomment-106870480
.

Here's the fiddle, but I can't find secure video samples to use, so you may
need to supply your own samples. The ones I'm using on the site I'm working
on are proprietary, so I can't open them up to general use.
https://jsfiddle.net/9kkncjz9/4/
Cheers,
Matt
On Mon, Jun 1, 2015 at 4:06 PM, Matt Stewart<EMAIL_ADDRESS>wrote:

I'm having a tough time getting the jsfiddle working. Doesn't want to for
some reason. Still working on it, but you can see the page live at
http://kimochis.electronicadept.com/watch/?token=5565ea5b900c35.95705467
if you want.
On Fri, May 29, 2015 at 9:57 AM, Dominic<EMAIL_ADDRESS>wrote:

I haven't heard of any compatibility issues other than this one. You can
try Video.js 4.4.0. That's the first version that exported the
util.mergeOptions method. I have updated the minimum required version in
the readme.
Let me know when that jsFiddle is ready, so I can take a look at it.
—
Reply to this email directly or view it on GitHub
https://github.com/dominic-p/videojs-resolution-selector/issues/29#issuecomment-106870480
.

There seem to be some issues with the jsFiddle (it doesn't look like you are loading the plugin .js file at any point for one thing). I will see if I can get them straightened out. In the mean time though, I see that you have a typo in your changeRes handler. You are using a dot (.) instead of a plus (+) which will throw an error. I don't think this is the only error, but it's something.

Ok, I did some testing with the fiddle you posted. It turns out that the plugin won't function on anything less than Video.js 4.7.3. That seems to be your main issue (although once you correct that, the dot issue I mentioned before will throw an error as well). I'm sorry I had out dated info on the readme. I have bumped the minimum required versions to 4.7.
The latest stable Video.js release is 4.12.7. I would suggest that you update to that. Here is your corrected fiddle. All I did was move this plugin to a separate file (probably not necessary), reference Video.js 4.12 instead of 4.4, and fix the changeRes handler.
https://jsfiddle.net/9kkncjz9/7/

Thanks, man; I appreciate it. It's working fine now with 4.12.7 of video.js.
On Tue, Jun 2, 2015 at 1:35 PM, Dominic<EMAIL_ADDRESS>wrote:

Closed #29
https://github.com/dominic-p/videojs-resolution-selector/issues/29.
—
Reply to this email directly or view it on GitHub
https://github.com/dominic-p/videojs-resolution-selector/issues/29#event-320474709
.

No problem. I'm glad it's working for you.


Share post via whatsapp

I don't know how it works in other parts of the world, but here in Brazil many subjects are shared via Whatsapp. It would be interesting to also allow this form of sharing for posts.

We'll add this as a feature request. If you are technical, PRs are welcome as well. I don't know much about whatsapp, but the relevant partials are here:
https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/partials/social-share.html
https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/partials/social-follow.html

I tested the code below that I did and it worked. I just need to create a beautiful SVG file.
     {{ $whatsapp_href := printf "https://api.whatsapp.com/send?text=%s" $title}}
    <a href="{{ $whatsapp_href }}" class="whatsapp no-underline" aria-label="share on Whatsapp">
      {{ partialCached "svg/youtube.svg" (dict "size" $icon_size) $icon_size }}
    </a>

Is it the SVG file that is sensitive to mouse placement?

I'm not an expert on svg, but i draw this:
<svg{{ with .size }} height="{{ . }}" {{ end }} style="enable-background:new 0 0 67 67;" version="1.1" viewBox="0 0 67 67" width="{{ .size }}" xml:space="preserve"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink">
    <path d="M30,60A30.008,30.008,0,0,1,18.323,2.357,29.812,29.812,0,0,1,30,0c.3,0,.608,0,.908.013.161,0,.3<IP_ADDRESS>A29.911,29.911,0,0,1,51.2,8.778l.<IP_ADDRESS>.009.009c.<IP_ADDRESS>.109.11l.<IP_ADDRESS>.<IP_ADDRESS>a29.9,29.9,0,0,1,8.523,18.9c.<IP_ADDRESS>.<IP_ADDRESS>.017.277.025.4<IP_ADDRESS>.3<IP_ADDRESS>.3.014.606.014.908A29.976,29.976,0,0,1,30,60Zm-.01-48.276A17.85,17.85,0,0,0,14.531,38.48L12,47.724l9.458-2.48a17.844,17.844,0,1,0,8.532-33.52ZM29.984,44.4A14.983,14.983,0,0,1,21.9,42.014l-5.612,1.472,1.5-5.472a17.811,17.811,0,0,1-1.926-3.954,14.162,14.162,0,0,1-.693-4.5A14.828,14.828,0,1,1,29.984,44.4ZM23.673,21.325a1.621,1.621,0,0,0-1.188.558l-.09.1A4.916,4.916,0,0,0,20.925,25.6a8.5,8.5,0,0,0,1.815,4.6l0,.006c.<IP_ADDRESS>.08.113a19.291,19.291,0,0,0,7.534,6.617,26.058,26.058,0,0,0,2.541.94,5.72,5.72,0,0,0,1.727.262,7.3,7.3,0,0,0,1.081-.085c.816-.121,2.624-1.04,3.009-2.119a3.706,3.706,0,0,0,.26-2.12,1.423,1.423,0,0,0-.606-.4c-.078-.038-.16-.078-.249-.122-.44-.221-2.638-1.3-3.046-1.45a1.481,1.481,0,0,0-.479-.115.616.616,0,0,0-.525.339c-.311.466-1.207,1.513-1.412,1.748a.616.616,0,0,1-.48.254,1.108,1.108,0,0,1-.486-.144c-.073-.037-.172-.079-.3-.133a11.564,11.564,0,0,1-3.289-2.079,13.505,13.505,0,0,1-2.479-3.089c-.263-.45-.02-.694.194-.909.133-.132.288-.321.438-.5.077-.094.156-.19.232-.278a2.44,2.44,0,0,0,.385-.611l.065-.131a.822.822,0,0,0-.038-.782c-.077-.151-.516-1.222-.9-2.167-.182-.443-.352-.858-.47-1.141-.294-.705-.589-.764-.866-.764h-.137Z" style="fill-rule:evenodd;clip-rule:evenodd;" transform="translate(1.5,4)" />
</svg>

@melvinsalas and @budparr, I did it but SVG doesn't have the effect when I put the mouse on top, just like with twitter and facebook icons. See here.
The good news is that my code works to share a post via whatsapp.

I saw that the animation when placing the mouse on top is not made by the SVG file, there must be some HTML or CSS configuring this. I will search.

Did you add the .whatsapp class into _social-icons.css?

First, add .whatsapp into the first line to change color from black to gray.
Then, add the :hover, something like this:
.whatsapp:hover {
  fill: #128C7E;
}

Good luck!

It remains black. My file is:
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .keybase, .linkedin, .medium, .mastodon, .slack, .stackoverflow, .rss, .whatsapp {
  fill: #BABABA;
}

.new-window {
  opacity: 0;
  display: inline-block;
  vertical-align: top;
}
.link-transition:hover .new-window{
  opacity: 1;
}

.facebook:hover {
  fill: #3b5998;
}

.twitter:hover {
  fill: #1da1f2;
}

.instagram:hover {
  fill: #e1306c;
}

.youtube:hover {
  fill: #cd201f;
}

.github:hover {
  fill: #6cc644;
}

.gitlab:hover {
  fill: #FC6D26;
}

.keybase:hover {
  fill: #3d76ff;
}

.linkedin:hover {
  fill: #0077b5
}

.medium:hover {
  fill: #0077b5
}

.mastodon:hover {
  fill: #3088d4;
}

.slack:hover {
  fill: #E01E5A;
}

.stackoverflow:hover {
  fill: #f48024;
}

.rss:hover{
  fill: #ff6f1a;
}

.whatsapp:hover {
  fill: #128C7E;
}

I think the SVG should be transparent.

We will have a look for you all, but might take us a few days.
cc: @regisphilibert
Here's a good SVG source. https://github.com/FortAwesome/Font-Awesome/blob/master/svgs/brands/whatsapp.svg

@prdm0, I think you need to rebuild de css files.
@budparr, When you make a change on css, What command you run?

One of these scripts in the package file (in /src) should work: https://github.com/budparr/gohugo-theme-ananke/blob/master/src/package.json

@melvinsalas I think so, I think there should be something in chache. I think we are close to the solution.

npm install
npm start

on src folder, works to me 👍

It worked for me too. Now I have my website sharing the posts correctly for whatsapp. I'm an R programmer and all of this is new to me. I use Hugo through the R blogdown package: https://bookdown.org/yihui/blogdown/
It's working beautifully as you can see here.
Thanks to @melvinsalas and @budparr.
@melvinsalas , a doubt, where you searched for the whatsapp icon in the correct sizes of the Ananke theme. That might be useful to me in the future.

If either of you care to start a PR we can add to the theme for everyone to use. Otherwise, we'll add it soon ourselves.

I sent it for evaluation. Whatsapp is good to stay as one of the sharing standards because it makes a post spread quickly.
Kind regards,
@prdm0

It worked for me too. Now I have my website sharing the posts correctly for whatsapp. I'm an R programmer and all of this is new to me. I use Hugo through the R blogdown package: https://bookdown.org/yihui/blogdown/
It's working beautifully as you can see here.
Thanks to @melvinsalas and @budparr.
@melvinsalas , a doubt, where you searched for the whatsapp icon in the correct sizes of the Ananke theme. That might be useful to me in the future.

I searched a WhatsApp svg icon of the internet, anyone black/white works.
Then I used AdobeXD (free tool) and open a svg icon on the project, and found all icons are 60x60
Later, I used the Adobe tools to cut the WhatsApp icon into a 60x60 circle 😉 save the icon as svg and open with vs code, copy the path, and combine the structure with another icon on project.


ISPN-6227 ContinuousQueryMultipleCachesDistTest fails randomly

https://issues.jboss.org/browse/ISPN-6227

Seems fine to me integrating.

pulling

Integrated into master, thanks @anistor !

@anistor How does this fix the failures?

testCQCacheLeavesAndJoins calls killMember and then addClusterEnabledCacheManager during the test and does not wait for the new node to finish joining, which is ok, this should not cause and does not cause problems yet.
The next test will try to add a clustered listener but the joining node still did not finish joining (most of the times). The replicated callable is sent to the joining node too and DefaultExecutorService will complain that the node is not a member (SuspectException). I believe this is a known issue with clustered listeners, unrelated to this test, but could not find its jira. To fix this test either dispose cache managers between tests or add waitForClusterToForm() right after the addition of the new member (but that would be a bit silly).
I've extracted the relevant code to reproduce the SuspectException here https://gist.githubusercontent.com/anistor/ec4d1994d0d2c3b68cf2/raw/c671b0b8a59c2f20d45f378af31be191c72f3876/gistfile1.java

I guess in this case it doesn't matter because the test only has 2 methods, but in general I'd much rather have each test method clean up after itself (e.g. by waiting for the node to finish starting) than having to spend a lot of time to re-create the cluster for each test method.

Btw, re the known issue with SuspectException at cluster listener registration, I still cannot find it in jira. Have the id?

I'm not aware of any open issues about cluster listener registration...

Your test seems to fail because {{CacheNotifierImpl.addListener()}} sends a distributed task to all the nodes in the cluster ({{DefaultCacheManager.getMembers()}}, but then {{DefaultExecutorService.submit()}} checks that the target node is a member of the cache topology. After the ISPN-6214 changes, creating the cache manager is enough to start the transport and join the JGroups cluster, so adding a cluster listener before starting the cache on the new node will trigger the SuspectException.

Indeed. If no jira yet I'll add one now.


Using React-bootstrap-datetimepicker in Browser globals

how to Using React-bootstrap-datetimepicker in Browser globals.

Hi @babyboypk
If you are using bower, here is a way to use the datetimepicker :
<script src="./bower_components/react/react-with-addons.js"></script>
<script src="./bower_components/react-bootstrap/react-bootstrap.js"></script>
<script src="./bower_components/moment/moment.js"></script>
<script src="./bower_components/react-bootstrap-datetimepicker/dist/react-bootstrap-datetimepicker.js"></script>

<body>

<script>
React.render(React.createFactory(ReactBootstrapDatetimepicker)(), document.body);
</script>

or if you use JSX :
React.render(<ReactBootstrapDatetimepicker />, document.body);

In practice, you would also want to include the css, that you can find there https://github.com/quri/react-bootstrap-datetimepicker/blob/master/examples/bootstrap-datetimepicker.min.css
This make me realize I probably should be including it in the dist/ directory.


feat: port AlgebraicGeometry.AffineScheme

I decide to add explicit names for instances for the following reason:
when sometimes Lean4 can't synthesise some instance, Lean3 can do it and I will translate the terms thus synthesised, however, Lean4's instance names are often bad, therefore this is to future proof, just incase I need an explicit name later


GMP extras should be forked off into a separate package

You could make an integer-gmp-bits package for this. Once GHC Trac #7860 gets fixed, that can turn into a thin shell.

The whole extras thing is a bit tricky. It was written for the older integer-gmp and does not even compile with integer-gmp2. So I guess we have a rewrite to do as well...


Testhound/fp16 divide

This PR adds support for fp16 divide and is part of the overall effort to add support for fp16 operations.

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

gpuci run tests

I'm conscious that a lot of work has already gone into this PR, but I think we should put it on hold until #8001 has gone through - it seems that it might be more appropriate to use a similar mechanism to reuse the implementation in the C++ headers rather than re-implementing it in Numba (assuming that this approach proves to work well in #8001, which I'm hopeful it will).

I'm conscious that a lot of work has already gone into this PR, but I think we should put it on hold until #8001 has gone through - it seems that it might be more appropriate to use a similar mechanism to reuse the implementation in the C++ headers rather than re-implementing it in Numba (assuming that this approach proves to work well in #8001, which I'm hopeful it will).

@gmarkall I added support for fp16 divide to the math operator branch: https://github.com/numba/numba/pull/8001

@gmarkall I added support for fp16 divide to the math operator branch: https://github.com/numba/numba/pull/8001

Many thanks - I'll mark this as "abandoned" for now as it's superseded by that.

Closing as abandoned in favour of #8001.


Add topic owner team to topic overview

Linked issue
Resolves: #1682
What kind of change does this PR introduce?

[ ] Bug fix
[ ] New feature
[x] Refactor
[ ] Docs update
[ ] CI update

Description
Adds the topic owner team to the topic overview page.

Requirements (all must be checked before review)

[x] The pull request title follows our guidelines
[x] Tests for the changes have been added (if relevant)
[x] The latest changes from the main branch have been pulled
[x] pnpm lint has been run successfully

We don't have a design for this (and also no designer right now to ask ^^), so this is a suggestion how to add this. If you think it does not look ok, feel free to close PR!

@mathieu-anderson I tried this first 😬  but I thought it looked a bit weird? But I'll just post it in Slack now we have Design again :D


Dont compile

Prerequisites:
(windows)
i tried compile this engine but i got this source/base/dependency/FeatherDeps.hx:276: characters 4-21 : SScriptCall should be String
source/states/editors/OriginalChartingState.hx:447: characters 20-83 : String should be SScriptCall
source/states/editors/OriginalChartingState.hx:447: characters 20-83 : ... String has no field calledFunction

hey


RequestCameraPermissions method contains storage permission

Hello.
In iOS version of MediaImplementation class we have next code for TakePhotoAsync method:
var permissionsToCheck = new List<Permission> { Permission.Camera };
await CheckPermissions(permissionsToCheck.ToArray());
So when we're tapping "Take a photo" - we're seeing only 1 popup with Camera permission request.
On Android the same functionality contains next code for RequestCameraPermissions method (which is called inside the TakePhotoAsync() ):
if (hasCameraPermission != Permissions.Abstractions.PermissionStatus.Granted)
permissions.Add(Permissions.Abstractions.Permission.Camera);
if(hasStoragePermission != Permissions.Abstractions.PermissionStatus.Granted)
permissions.Add(Permissions.Abstractions.Permission.Storage);
The same functionality like on iOS but it requires 2 popup permissions.
Is there any way to avoid showing the permission popup for accessing storage in scenario when I want to take a photo?
Or it is not possible to use camera on Android without having both permissions?
Thanks in advance.

On android you ONLY need storage, but if you added the Camera permission in your android manifest then it is required:
bool checkCamera = HasPermissionInManifest(Android.Manifest.Permission.Camera);
So don't add that if you don't need to. Else you need both permissions.


Fix vulnerabilities (npm audit jimp 0.16.1) to 0.22.12

From "jimp": "^0.16.1" to
"jimp": "^0.22.12
https://github.com/jimp-dev/jimp/blob/main/CHANGELOG.md#v02212-fri-feb-23-2024
@dnicolson did you test the changes ?

@hthetiot yes, an iOS 12+ image file was tested.

available via 1.0.3, also added basic tests for regression and sample file

https://github.com/hthetiot/cpbitmap-to-png/blob/main/index.test.js


i18n(es): node.mdx update

What kind of changes does this PR include?

Updated content

Reference

d65293c

I see this update went into another PR, so I've merged that one and will close this, thanks for helping update these pages!


DOCS: Example of markdown table alignment

To demonstrate that table alignment works properly.
closes https://github.com/executablebooks/sphinx-book-theme/issues/322 closes https://github.com/executablebooks/sphinx-book-theme/issues/289 closes https://github.com/executablebooks/sphinx-book-theme/issues/276

The failing test is the locale converting, and is fixed in #490


ORC-1349: [C++] remove useless bufStream definition

What changes were proposed in this pull request?
In TestByteRLEEncoder.cc, bufStream was defined but not used, so remove those useless definitions.
Why are the changes needed?
the definitions are useless.
How was this patch tested?
It doesn't introduce new features and passed all test cases.

Are these all unused instances in TestByteRLEEncoder.cc file?

Yes, all unused. The unique_ptr outStream created with same arguments is used instead.

Merged to main for Apache ORC 1.9.0


[Question]: The content has been lost and turned blank

Describe your problem

我对切分方法做了一些修改，尝试每个chunk都带上他的所有层级的标题，在本地显示是有内容的（上面本地打印的是content_with_weight的内容），但是写到ragflow后内容丢失了，变成了一个换行符

Would you please provide some environment information?

RAGFlow version
ES or Infinity as the doc engine?
What kind of modification of the chunking method?

V0.13.0
ES
manual

我尝试将ragflow升级到v0.14.1，问题还是存在，并且在知识库管理页面，切片没有顺序了

What's your document type? Is it txt?
If it is, use a proper delimiter to split and turn down  the chunk token number.

What's your document type? Is it txt? If it is, use a proper delimiter to split and turn down the chunk token number.

pdf,


Show bound secret as a printer column

kubectl get servicebinding

NAME                  SECRET                READY   REASON         AGE
spring-petclinic-db   spring-petclinic-db   True    ServiceBound   20m

Signed-off-by: Scott Andrews<EMAIL_ADDRESS>

As per the current implementation, the name of the Secret is always the name of the ServiceBinidng resource, right?

@baijum It's supposed to be the name of the secret we fetched from the service.  From the spec:

A ServiceBinding SHOULD reflect the secret projected into the workload as .status.binding.name.

@sadlerap that's correct. It's not a great example that they happen to be the same.
@baijum the .spec.name will default to .metadata.name, is that what you're thinking of?

@scothis @sadlerap Please ignore my comment. I got confused by the example given in the description.


Db scanner additions

Add fileWriter buffer for db admin scanner to cut down on fileIO
Reduce amount of history read
Print pid to stop scan with

Coverage increased (+0.4%) to 69.369% when pulling 27dd715130772a6e9239113a774f755d9f90e75e on andrewjdawson2016:DBScannerAdditions into aefcfeef0b43ce52d833180a922ae22315cb035b on uber:master.


Remove TriggerHardForkAtEpoch

Due to #395, we have good evidence that no use case is fundamentally/crucially relying on TriggerHardForkAtEpoch. Hence, we would like to remove them to simplify the possible trajectories of the HFC (also see this HWW section).
Goals of this ticket:

Remove the TriggerHardForkAtEpoch constructor, and adapt documentation accordingly.
Introduce a different way for users to specify that they wish to directly skip to a later era. (The current interface/configuration options could be kept as is for a migration period.)
Provide guidance to migrate away from the remaining use cases of TriggerHardForkAtEpoch mentioned in #395.

Today, we discussed the following idea that should supersed supersede TriggerXXXHardForkAtEpoch (where XXX is an era): Introducing configuration that would cause the ledger to increase the (major) protocol version to a specific value.
For example, the node .yaml file could contain configuration like
ProtocolVersionUpdates:
- epoch: 5
  protocolVersion: 10

and the Ledger would hence update the major protocol version to 10 in epoch 5[^1].
This way, "scripted" era transitions on a testnet (e.g. Babbage at protocol version 8 for the first two epochs, then Conway at protocol version 9 for two epochs, then Conway at protocol version 10 for Chang+1 which unlocks new Plutus functionalities) are easily possible without actually having to submit any governance-related transactions. In particular, intra-era HFs (like to Chang+1 in the example) are not possible with the current TriggerHardForkAtEpoch mechanism.
The downside of this approach is that it makes Consensus/the HFC simpler at the expense of making Ledger more complex, so this definitely requires further thought/discussion whether this pays its weight.
[^1]: This requires a bit of thought re what should happen if the protocol version is already larger than 10, or whether this update should take precedence over a regular governance-induced update to the protocol version.


NaughtyInspector doesn't correctly render Unity 2020's reorderable lists

Unity 2020 turns on reorderable lists by default. (No [Reorderable] attribute required.)
When NaughtyAttributes is installed (clone upm branch into Packages/), NaughtyInspector draws later elements overlapping with lists.
Pictured: "Toggle" is drawn on top of "ListOfNames".

using System.Collections.Generic;
using UnityEngine;
public class BugRepro : MonoBehaviour
{
    [System.Serializable]
    public class Item
    {
        public List<string> m_ListOfNames = new List<string>{ "A", "B" };
        // m_Toggle is overlapped here.
        public bool m_Toggle;
    }
    public Item m_GameMode;

    public List<string> m_ListOfNames = new List<string>{ "A", "B" };
    // m_Toggle is fine here.
    public bool m_Toggle;
}

Commenting out the CustomEditor line in Packages\com.dbrizov.naughtyattributes\Scripts\Editor\NaughtyInspector.cs makes everything render as expected.
Adding [NaughtyAttributes.ReorderableList] to the List has no effect -- it's still overlapping.
Versions

Unity 2020.3.5f1
dbrizov/NaughtyAttributes bf09948bcab85f0d1c30ad438e7f6d1d590823fb
Tested in a new project.

While trying to narrow down the problem, I can't figure out how you're supposed to write a CustomEditor to prevent this problem.
Even a blank project (no Naughty) with only the above BugRepro.cs and the below BugRepro_Editor.cs demonstrates the bug. Not sure if there's a new way we're supposed to use CustomEditors or if Unity is just broken.
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(BugRepro), editorForChildClasses: true)]
class BugRepro_Editor : Editor
{
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        var bugrepro = target as BugRepro;

        if (GUILayout.Button("Click"))
        {
            Debug.Log("Button clicked");
        }
    }
}

I tested some other unity versions and it's fixed in both 2020.3.12f1 and 2021.1.12f1.
Closing as Unity bug.