BUG: [Pull from Private Registry not working]

Problem Description
I was testing the feature https://github.com/projectsveltos/addon-controller/pull/681 which was recently made available in v0.38.1. I tested 2 scenarios:

Scenario A: Use a private helm repository (not OCI) in ClusterProfile.
Scenario B: Use a public helm repository in ClusterProfile which references images that are hosted in private repositories.

Please see System Information for info about both the Management Cluster and Target Cluster (created via CAPI).
Scenario A
I create the secret that will contain the credentials to my account. The secret is in the format:
apiVersion: v1
kind: Secret
metadata:
  name: my-msrci-creds
data:
  config.json: <base64-encoded-auths-json>

Where the content of config.json is in the following format, and base64 encoded credential for my account (that has access to the private repository hosting the helm chart) is in the format of user:password.
{
  "auths": {
    "msr.ci.mirantis.com": {
      "auth": <base64-encoded-cred>
    }
  }
}

I create the following ClusterProfile:
apiVersion: config.projectsveltos.io/v1beta1
kind: ClusterProfile
metadata:
  name: nginx
spec:
  clusterSelector:
    matchLabels:
      env: fv
  helmCharts:
    - repositoryURL:    https://msr.ci.mirantis.com/charts/wali/nginx/
      repositoryName:   nginx
      chartName:        nginx/nginx
      chartVersion:     v1.16.0
      releaseName:      nginx
      releaseNamespace: nginx
      helmChartAction:  Install
      credentials:
        name: my-msrci-creds
        namespace: hmc-system

Now when I take a look at the ClusterSummary object, I see:
➜  ~ kubectl -n hmc-system get clustersummary nginx-capi-wali-aws-dev -o yaml
apiVersion: config.projectsveltos.io/v1beta1
kind: ClusterSummary
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"config.projectsveltos.io/v1beta1","kind":"ClusterProfile","metadata":{"annotations":{},"name":"nginx"},"spec":{"clusterSelector":{"matchLabels":{"env":"fv"}},"helmCharts":[{"chartName":"nginx/nginx","chartVersion":"v1.16.0","credentials":{"name":"my-msrci-creds","namespace":"hmc-system"},"helmChartAction":"Install","releaseName":"nginx","releaseNamespace":"nginx","repositoryName":"nginx","repositoryURL":"https://msr.ci.mirantis.com/charts/wali/nginx/"}]}}
  creationTimestamp: "2024-09-13T04:01:06Z"
  finalizers:
  - clustersummaryfinalizer.projectsveltos.io
  generation: 1
  labels:
    projectsveltos.io/cluster-name: wali-aws-dev
    projectsveltos.io/cluster-profile-name: nginx
    projectsveltos.io/cluster-type: Capi
  name: nginx-capi-wali-aws-dev
  namespace: hmc-system
  ownerReferences:
  - apiVersion: config.projectsveltos.io/v1beta1
    kind: ClusterProfile
    name: nginx
    uid: 7b39a8e4-c191-446f-a17d-230645345e2a
  resourceVersion: "103165"
  uid: 240be2c4-4431-4ef7-98bc-5011160669c6
spec:
  clusterName: wali-aws-dev
  clusterNamespace: hmc-system
  clusterProfileSpec:
    clusterSelector:
      matchLabels:
        env: fv
    continueOnConflict: false
    helmCharts:
    - chartName: nginx/nginx
      chartVersion: v1.16.0
      credentials:
        name: my-msrci-creds
        namespace: hmc-system
      helmChartAction: Install
      releaseName: nginx
      releaseNamespace: nginx
      repositoryName: nginx
      repositoryURL: https://msr.ci.mirantis.com/charts/wali/nginx/
    reloader: false
    stopMatchingBehavior: WithdrawPolicies
    syncMode: Continuous
    tier: 100
  clusterType: Capi
status:
  dependencies: no dependencies
  featureSummaries:
  - failureMessage: 'failed to fetch https://msr.ci.mirantis.com/charts/wali/nginx/index.yaml
      : 404 Not Found'
    featureID: Helm
    hash: SE0iKFgXG/wIvhOdve9ljx1ORdY8GBbMaQTJ8W5u9JY=
    lastAppliedTime: "2024-09-13T04:01:47Z"
    status: Provisioning
  helmReleaseSummaries:
  - releaseName: nginx
    releaseNamespace: nginx
    status: Managing

However if I curl the index.yaml file with my credentials I can retrieve it successfully:
➜  ~ curl https://msr.ci.mirantis.com/charts/wali/nginx/index.yaml -u $MSRCI_CREDS
{
 "apiVersion": "v1",
 "generated": "2024-09-13T04:06:02.983674443Z",
 "entries": {
  "nginx": [
   {
    "name": "nginx",
    "version": "1.16.0",
    "description": "A Helm chart for Kubernetes",
    "apiVersion": "v2",
    "appVersion": "1.16.0",
    "type": "application",
    "urls": [
     "https://msr.ci.mirantis.com/charts/wali/nginx/nginx/nginx-1.16.0.tgz"
    ],
    "created": "2024-09-13T01:51:01.291Z",
    "digest": "631a21c5b13a38a696fcc3fb0e77c9025b99efb8ca5ef6ce1e3c1cd746b96019"
   }
  ]
 },
 "serverInfo": {
  "contextPath": "/charts"
 }
}%

Scenario B
I create the secret that will contain the credentials to my DockerHub account the same way as in Scenario A, where the content of config.json is in the following format, and base64 encoded credential for DockerHub is in the format of user:password.
{
  "auths": {
    "https://index.docker.io/v1/": {
      "auth": <base64-encoded-cred>
    }
  }
}

I create the following ClusterProfile:
apiVersion: config.projectsveltos.io/v1beta1
kind: ClusterProfile
metadata:
  name: nginx
spec:
  clusterSelector:
    matchLabels:
      env: fv
  helmCharts:
    - repositoryURL:    https://msr.ci.mirantis.com/charts/wali/nginx-public/
      repositoryName:   nginx-public
      chartName:        nginx-public/nginx
      chartVersion:     v1.16.0
      releaseName:      nginx
      releaseNamespace: nginx
      helmChartAction:  Install
      credentials:
        name: my-dockerhub-creds
        namespace: hmc-system

The nginx image in the referenced helm chart is in a private repository on DockerHub:
➜  ~ helm template nginx --repo https://msr.ci.mirantis.com/charts/wali/nginx-public/ --version v1.16.0 | grep nginx:1.16.0
          image: "wali90/nginx:1.16.0"

After applying the cluster profile, I can see in the ClusterSummary object that nginx was provisioned onto the target cluster:
➜  ~ kubectl -n hmc-system get clustersummary nginx-capi-wali-aws-dev -o yaml
apiVersion: config.projectsveltos.io/v1beta1
kind: ClusterSummary
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"config.projectsveltos.io/v1beta1","kind":"ClusterProfile","metadata":{"annotations":{},"name":"nginx"},"spec":{"clusterSelector":{"matchLabels":{"env":"fv"}},"helmCharts":[{"chartName":"nginx-public/nginx","chartVersion":"v1.16.0","credentials":{"name":"my-registry-creds","namespace":"hmc-system"},"helmChartAction":"Install","releaseName":"nginx","releaseNamespace":"nginx","repositoryName":"nginx-public","repositoryURL":"https://msr.ci.mirantis.com/charts/wali/nginx-public/"}]}}
  creationTimestamp: "2024-09-13T02:46:54Z"
  finalizers:
  - clustersummaryfinalizer.projectsveltos.io
  generation: 1
  labels:
    projectsveltos.io/cluster-name: wali-aws-dev
    projectsveltos.io/cluster-profile-name: nginx
    projectsveltos.io/cluster-type: Capi
  name: nginx-capi-wali-aws-dev
  namespace: hmc-system
  ownerReferences:
  - apiVersion: config.projectsveltos.io/v1beta1
    kind: ClusterProfile
    name: nginx
    uid: e6536be2-28f9-4648-a1ab-6b46da5e25b6
  resourceVersion: "74733"
  uid: 97c666f0-d7a1-487b-9c22-e5f981056d6d
spec:
  clusterName: wali-aws-dev
  clusterNamespace: hmc-system
  clusterProfileSpec:
    clusterSelector:
      matchLabels:
        env: fv
    continueOnConflict: false
    helmCharts:
    - chartName: nginx-public/nginx
      chartVersion: v1.16.0
      credentials:
        name: my-registry-creds
        namespace: hmc-system
      helmChartAction: Install
      releaseName: nginx
      releaseNamespace: nginx
      repositoryName: nginx-public
      repositoryURL: https://msr.ci.mirantis.com/charts/wali/nginx-public/
    reloader: false
    stopMatchingBehavior: WithdrawPolicies
    syncMode: Continuous
    tier: 100
  clusterType: Capi
status:
  dependencies: no dependencies
  featureSummaries:
  - featureID: Helm
    hash: 7W7E08lMdzRGyXoqGzJfxtMASMJWLZtxupfToxn+RUI=
    lastAppliedTime: "2024-09-13T02:47:04Z"
    status: Provisioned
  helmReleaseSummaries:
  - releaseName: nginx
    releaseNamespace: nginx
    status: Managing
    valuesHash: Eq4yyx7ALQHto1gbEnwf7jsNxTVy7WuvI5choD2C4SY=

However on the target cluster, I get the ImagePullBackOff error:
➜  ~ kubectl -n nginx describe pod nginx-576c54bd58-r6ncf
. . .
Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  60m                  default-scheduler  Successfully assigned nginx/nginx-576c54bd58-r6ncf to wali-aws-dev-md-84dgv-l28sg
  Warning  Failed     59m (x6 over 60m)    kubelet            Error: ImagePullBackOff
  Normal   Pulling    59m (x4 over 60m)    kubelet            Pulling image "wali90/nginx:1.16.0"
  Warning  Failed     59m (x4 over 60m)    kubelet            Failed to pull image "wali90/nginx:1.16.0": failed to pull and unpack image "docker.io/wali90/nginx:1.16.0": failed to resolve reference "docker.io/wali90/nginx:1.16.0": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
. . .

System Information
CLUSTER API OPERATOR: v0.12.0
KUBERNETES VERSION:
➜  ~ kubectl version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0

Management Cluster
I have Sveltos running in projectsveltos namespace in the management cluster:
➜  ~ kubectl -n projectsveltos get deployments
NAME                    READY   UP-TO-DATE   AVAILABLE   AGE
access-manager          1/1     1            1           5h12m
addon-controller        1/1     1            1           5h12m
classifier-manager      1/1     1            1           5h12m
conversion-webhook      1/1     1            1           5h12m
event-manager           1/1     1            1           5h12m
hc-manager              1/1     1            1           5h12m
sc-manager              1/1     1            1           5h12m
shard-controller        1/1     1            1           5h12m
sveltos-agent-manager   1/1     1            1           5h11m
➜  ~
➜  ~
➜  ~ kubectl -n projectsveltos get deployment addon-controller -o wide
NAME               READY   UP-TO-DATE   AVAILABLE   AGE     CONTAINERS   IMAGES                                              SELECTOR
addon-controller   1/1     1            1           5h15m   controller   docker.io/projectsveltos/addon-controller:v0.38.1   app.kubernetes.io/instance=projectsveltos,app.kubernetes.io/name=projectsveltos,control-plane=addon-controller

I have the following Cluster API target cluster with env=fv label applied to it:
➜  ~ kubectl -n hmc-system get cluster --show-labels
NAME           CLUSTERCLASS   PHASE         AGE    VERSION   LABELS
wali-aws-dev                  Provisioned   5h6m             app.kubernetes.io/managed-by=Helm,env=fv,helm.toolkit.fluxcd.io/name=wali-aws-dev,helm.toolkit.fluxcd.io/namespace=hmc-system,sveltos-agent=present

Target Cluster
In the target cluster I have the Sveltos Agent running:
➜  ~ kubectl -n projectsveltos get deployment -o wide
NAME                    READY   UP-TO-DATE   AVAILABLE   AGE    CONTAINERS   IMAGES                                           SELECTOR
sveltos-agent-manager   1/1     1            1           5h9m   manager      docker.io/projectsveltos/sveltos-agent:v0.38.1   control-plane=sveltos-agent

Thank you @wahabmk
Regarding point 2. This is how I would do:

create a ClusterProfile that deploys a Secret containing your credentials. Let's say we call this ClusterProfile "deploy-secret-with-credentials"
Have your second clusterProfile (the one that deploys nginx from public registry referencing images in private registry) depend on your first ClusterProfile. You can do that by simply adding the dependsOn

    dependsOn:
    - deploy-secret-with-credentials

What this means is that your second clusterProfile won't be deployed till your first one is (so your helm chart will be deployed only after secret with credentials is created).

use patches to add imagePullSecrets field

apiVersion: config.projectsveltos.io/v1beta1
kind: ClusterProfile
metadata:
  name: nginx
spec:
  dependsOn:
  -  deploy-secret-with-credentials
  clusterSelector:
    matchLabels:
      env: fv
  helmCharts:
    - repositoryURL:    https://msr.ci.mirantis.com/charts/wali/nginx-public/
      repositoryName:   nginx-public
      chartName:        nginx-public/nginx
      chartVersion:     v1.16.0
      releaseName:      nginx
      releaseNamespace: nginx
      helmChartAction:  Install
  patches:
  - target:
      group: apps
      version: v1
      kind: Deployment
      name: nginx
    patch: |-
      apiVersion: apps/v1
      kind: Deployment
      metadata:
        name:  nginx
      spec:
        template:
          spec:
            imagePullSecrets:
            - name: regcred

@wahabmk closing this. Please re-open if you encounter any issue with v0.38.2. Thank you!


add script to help with FE token testing when using second account

This is very old, is it still relevant or can we close it out?


How to return multiple webpack configurations properly?

Hello, I need to build for different targets and according to webpack's documentation, I have to use multiple configurations in order to do that. So instead of returning a single configuration, I return an array containing both configurations:
module.exports = {
   webpack: (config) => {
      // [...] Original config override

      const electronConfig = {
         target: "electron-main",
         mode: "production",
         entry: path.join(__dirname, "src", "electron.js"),
         output: {
            path: path.resolve(__dirname, "build"),
	    filename: "static/js/electron.js"
         },
         module: {
            rules: [
               {
                  test: /\.?js$/,
                  exclude: /node_modules/,
                  use: {
                     loader: "babel-loader",
                     options: {
                        presets: ["@babel/preset-env", "@babel/preset-react"]
                     }
                  }
               }
            ]
         },
         plugins: [
            new HtmlWebpackPlugin({
               chunks: ["electron"],
               inject: false
            })
         ]
      };

      return [config, electronConfig];
   }
};

Now, if I try to build the app I get an error:
  309.08 kB  build\static\js\main.16c4ca1d.js
  14.01 kB   build\static\css\main.e82c063c.css
  3.89 kB    build\static\js\electron.js
  2.82 kB    build\static\js\389.1f4c0928.chunk.js
  2.35 kB    build\static\js\422.f2cecec0.chunk.js
  1.82 kB    build\static\js\183.a71eb1d3.chunk.js

Cannot read properties of undefined (reading 'publicPath')
error Command failed with exit code 1.

Despite this error, the files seem to be correctly compiled.
I have no idea what this error means since publicPath is an option set in output, and it is defined is both configurations. I don't have this error if I return a single configuration (both work).
I am missing something or is react-app-rewired not compatible with multiple configurations? How can I do?

I found out where the problem comes from.
It's because of this line on CRA's build script. With multiple configurations, config.output is undefined since config is an array.
I don't think react-app-rewired can solve this problem so I will close this issue.

I found a solution to this issue by configuring multiple entries for webpack. Although this has been a longstanding issue, I’m sharing it here with your specific case in mind, as it might help someone in the future:
module.exports = {
   webpack: (config) => {
      // Multiple entries (the default entry from react-scripts and your custom Electron entry)
      config.entry = {
         main: config.entry,
         electron: path.join(__dirname, "src", "electron.js")
      }
      // It is also possible to configure multiple outputs, as long as the path is the same — e.g., /build.
      config.output = {
         path: path.resolve(__dirname, "build"),
         publicPath: './',
         filename: (pathData) => {
             switch (pathData.chunk.name) {
                 case "electron": // custom output
                     return `static/js/electron.js`
                  // You can add as many outputs as you need
                 default: // default output from react-scripts
                     return `static/js/[name].[contenthash:8].js`
             }
         },
      }
      // Add as many plugins as necessary.
      config.plugins.push(
         new HtmlWebpackPlugin({
            chunks: ["electron"],
            inject: false
         })
      )

      return config;
   }
};


How can we remove all meeting if the meeting owner leaves the company

How can we remove all meeting if the meeting owner leaves the company.

Hi,
I know this is a bit late but if you wipe the user's calendar data then it will remove all meetings they have set up in the calendar and will remove them from events and will delete events they have created.
Does this answer your question?

This is an issue tracker for bugs. Please post questions to the discussion group:
https://groups.google.com/forum/#!forum/google-apps-manager


[MathML+useMathMLspacing:true] two adjacent fractions have no space

This was reported on the User Group.
Something like .
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mfrac>
    <mi>a</mi>
    <mi>b</mi>
  </mfrac>
  <mfrac>
    <mi>a</mi>
    <mi>b</mi>
  </mfrac>
</math>

will have the fraction lines touch (all outputs).
Up to v2.3, the rendering had some space between the fractions (and without useMathMLspacing that's still the case of course).
Was this an intentional change?

This was due to the changes for issue #547.  A solution would be to remove the && !this.useMMLspacing from line 2581 in the HTML-CSS jax (and the corresponding lines 2482 and 1782 in the CHTML and SVG jax).  Alternatively,  one could use something other than the TeX nulldelimiterspace value for the useMMLspacing case.

The issue1626 branch of my fork of MathJax fixes this.

==> Merged

==> In testsuite
MathMLToDisplay/Presentation/GeneralLayout/mfrac/issue1626.html


Fixing get_item_using_anchor

Issue: Click Item keyword fails with error message "UnboundLocalError: local variable 'correct' referenced before assignment" if SearchMode is set to None with RF built-in variable ${NONE}.
Fix: Assigning value to var 'correct' before ifCONFIG['SearchMode'] block.

@mehent Thank you! I think we've had a default value in SearchMode for so long, that this just hasn't come up.


Copy the generated .http-mitm-proxy/certs/ca.pem to your mobile Add it to the "trusted certificates"

Copy the generated .http-mitm-proxy/certs/ca.pem to your mobile
Add it to the "trusted certificates"
how i do this??
how i copy in my mobile?where i copy it?and where i put it?

You can share it with Google Drive or email it to yourself.
Follow https://support.google.com/nexus/answer/2844832?hl=en and choose "VPN and apps" if prompted.

and where i run the commands sir?


[stable/percona-xtradb-cluster] Add SST check to livenessProbe

What this PR does / why we need it:
Adds check to livenessProbe for presence of /var/lib/mysql/sst_in_progress to prevent failure and pod restart during SST.
Which issue this PR fixes

fixes #12912

Special notes for your reviewer:
@paulczar
@maver1ck
Checklist

[x] DCO signed
[x] Chart Version bumped

/assign @maver1ck

/ok-to-test

/lgtm


[BEAM-9547] Implementation for drop, explode

This PR primarily adds support for DataFrame.{drop,explode}.
I also noticed an edge case affecting the generated proxy in rename, so I included a change in this PR to make TransformTest.run_scenario verify that the deferred DataFrame's proxy matches the shape of the expected output. This detected a couple of issues (the aforementioned rename issue, verified in a new test, as well as a problem in str.repeat).

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @robertwb

Run Python_PVR_Flink PreCommit

Windows failures look like BEAM-10921


Compatibility with Laravel 5.5.

Any fire methods present on your Artisan commands should be renamed to handle.
https://laravel.com/docs/5.5/upgrade

Thanks!


Add blog post for User Profile Redesign rollout

Co-authored-by: Saray Cabrera Padrón<EMAIL_ADDRESS>

Deploy preview for openbuildservice ready!
Built with commit 78dd57e8abd2f7b25f01ac6d7ca95e72922ee58c
https://deploy-preview-288--openbuildservice.netlify.app


PM a user the output to a command if it's on cooldown

This could help further reduce spam/overuse of commands. Right now when a command is on cooldown it's not uncommon for people to spam-call it while they wait for it to come off cooldown. If we made it instead PM them the output, they would immediately get the information they wanted while still keeping the public channel relatively tidy.
I think we should still keep a message of some description like we currently do - perhaps something like That command has been used recently in this channel. I've PMed you instead.. This should still be deleted after a few seconds

Forgot that I also want to make excess !s and !r requests get redirected to DM too.

Changed my mind, because a) the limit is already quite high and b) people can just look at the full leaderboard if they want to see lots of stats. Will revisit this if there's a demand for it


doc/stdenv: don't use name in examples, highlight preferring pname

Description of changes
To avoid newbies (and not-so-newbies like me) making footguns
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tweag-nix-dev-update-47/27387/1


Road Detailing Issue

Hello!
Thanx for this gorgeous plugin ,
I m having detailing issue with road.
when ever I run car over it seems like its is raveling its details as I travel  on.

That is an issue with the Standard shader that we're looking into.


Dependency of langchain-google-community on tenacity = "~8.3.0" is too restrictive

It would be great to see more up-to-date support for the tenacity library, the restriction is clashing with my other dependencies.

langchain-core depends on tenacity, so we can actually drop our dependency


Search Performance Test (100M Dataset, 768 Dim) 数据通过阿里云拉取不到

后台日志
pre run case error: {'status': 404, 'x-oss-request-id': '65D7FC444CD81B3437038CBF', 'details': {'Code': 'NoSuchKey', 'Message': 'The specified key does not exist.', 'RequestId': '65D7FC444CD81B3437038CBF', 'HostId': 'assets.zilliz.com.cn', 'Key': 'benchmark/laion_large_100m/neighbors_tail_1p.parquet', 'EC': '0026-00000001', 'RecommendDoc': 'https://api.aliyun.com/troubleshoot?q=0026-00000001'}} (task_runner.py:92) (1036951)

related to: #267

是不准备提供了么，267 issues已经很久了

@renhongchao will be fixed soon, please use s3 for 100M LAION dataset before the fix :)

Is there an ETA on when the fix will occur? Want to use this without S3 while testing Milvus

HI Team, could you please release the version that fixes the issue?

@kish5430 we will release next version at 0.0.7 milestone, before that, you could clone this repository and use the latest code by pip install -e .

0.0.7 release, should be fixed


Removed CodePen samples from article: Add a polygon extrusion layer to the map

Removed CodePen samples from article: Add a polygon extrusion layer to the map

@sign-off

Staged in https://github.com/MicrosoftDocs/azure-docs-pr/pull/241512


What's wrong with this binding?

Hey there,
sorry for opening so many issues but I'm just trying to use viewmodel for everything :D
Code first:

ViewModel.addBind 'selected', (p) ->
  p.element.bind 'click', ->
    property = p.vm[p.property]
    value = p.element.data 'value'

    if property() is value
      property ''
    else
      property value

[Log] Error: undefined is not a function (evaluating 'property()') (reporters.js, line 67)

What I want: I have three divs. One of them can be selected, it's also possible to select none. When I click an element, I want the selection property to be updated. I've looked at this code from viewmodel.coffee and think my code should work as well. What's wrong here?

I just tried so many things that I forgot to add the property to my viewmodel. The issue was that I tried to use value here, which doesn't work. data-value  instead works great :)

You're making things harder than they need to be. Don't add another binding. Just do the following:

One

Two

  Selected:

Template.body.viewmodel
  selection: 0

Great to know this works, but in my situation I need to reset the selection when the user clicks it again.

Same deal:
Template.body.viewmodel
  selected: ''
  selection: (n) -> @selected( if n is @selected() then '' else n )

Nice! So the hard thing for me will be figuring out what goes into viewmodel functions and when to use custom bindings. Maybe you could add some advice to the docs?


Parameter resolver cannot resolve simple arithmetics

I am writitng a simple script and got an error. Is this expected?
For larger circuit this is inconvenient.
circuit = cirq.Circuit()
x = cirq.NamedQubit('x')
a = cirq.Symbol('a')
circuit.append(cirq.H(x)**(1.2*a))
print(circuit)
TypeError: unsupported operand type(s) for *: 'float' and 'Symbol'

Yes this is a known issue.  #393 or #961 would both solve this.  Please chime in on those, as this is creeping up in our prioritization.

This works now that we've moved to sympy but i don't think the repr of the circuit is correct.

Yes, this is now fixed.
If a repr is incorrect, open as separate issue.


Number formatting for v2.2-rc

NEXT MINOR release
The following items are to be included with the next MINOR release of the auro-input element all PRs are to be from the feature branch to v2.2-rc branch.
Support an optional max length to input types to allow for confirmation code and MileagePlan number validation

[ ] Confirmation Code Validation (Carentee) 6 letters
[ ] MileagePlan number Validation (Carentee) 9 numbers
[ ] Help (Consult) Loyalty team implement auro inputs in promo space.
[ ] Known Traveler number (TSA Precheck #/Redress number)

Date formatting

[ ] #93 Additional context #77

Release issues are no longer being maintained.


RMC14: The consequences of technology update

XENOMORPHS CAN WATCH TV (and translate what talls are saying with it) They can also use intercomms to speak with talls.

the reverse is true too, xenos can speak into a camera and be understood

Fixed


rhood/1992-PositiveCOVID

This PR fixes a bug in Mappers.kt.  "A" for abnormal was not being set in the OBX.8 for COVID "Positive" results.
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Changes

Added bug fix for Positive results not setting the OBX.8 to "A" for abnormal automatically.

Checklist
Testing

[x] Tested locally? Mappers.kt file is included in #2004 and #2008 and fully tested within these two new CSV senders schemas.
[x] Ran quickTest all?
[x] Ran ./prime test against local Docker ReportStream container?
[ ] Downloaded a file from http://localhost:7071/api/download?
[ ] Added tests?

Fixes
List GitHub issues this PR fixes

#1992

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Closed this Pull Request.  After discussions with Jim Duff, I'm rolling Pull Request #2009 , #2010 , #2008 into #2008 .


Return 'rack' as a main dependency

https://github.com/julik/idempo/commit/9a016a3f35bdebdbe5fc760f3edaf57bd0726bbe
This gem does need rack as main dependency, not just in development. It doesn't have to be a v3 too?

Maybe at least version 2?

@franzliedke good idea! adjusted :)

Wait, you are right - since we are using Rack::Request we do actually need it as a runtime dep 🤦 my bad


Update of "enqueue/dbal" and other dependencies?

Description
Please also update your dependencies from time to time to the next minor versions or remove the restriction to an exact version.
In my case I would update enqueue/dbal to update a package it depends on but it is fixed to 0.10.0

This should be updated


Alert admin if inventory is or almost full.

Sorry for the typing error on the commit title.

Sorry for the typing error.

Think we should add checks for this when fetching inventory too.

It would be nicer if the bot knew how many items it can hold, and then after each trade it would notify you if it has less than 10% space left.

Closing this. We should create another pull when a contributor is working on this since this guy clearly isnt + the pull will be more clear.


installation problem

when I want to install CIL toolbox with this code (conda create --name cil -c conda-forge -c intel -c ccpi cil=23.0.1 astra-toolbox tigre ccpi-regulariser tomophantom "ipywidgets<8")
this gives this error ( A directory already exists at the target location 'C:\Users\LENOVO\anaconda3\envs\cil'
but it is not a conda environment.)
would you please help me to solve this problem.

well, it looks like you already have a directory named cil in your anaconda installation. The easiest solution is to change the environment name
conda create --name cil_latest -c conda-forge -c intel -c ccpi cil=23.0.1 astra-toolbox tigre ccpi-regulariser tomophantom "ipywidgets<8"

The other option is to permanently delete it, C:\Users\LENOVO\anaconda3\envs\cil. Although I would say that this is rather safe, before doing so, make sure it does not contain files you'll regret deleting.


Mixed up titles and sections

Hello,
I am currently trying to make sense of your documentation and believe you have mixed up the sections
Use an existing Azure AD app for your bot and Use an existing Azure AD app for your bot.
The information given under Use and existing Azure AD app for your bot more suits the needs for a teams app instead of a bot. Are the titles accurate and am I missing something or are they swapped?

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

ID: 21407e37-6d61-5499-e833-71285372bea3
Version Independent ID: 21407e37-6d61-5499-e833-71285372bea3
Content: Use Teams Toolkit to provision cloud resources - Teams
Content Source: msteams-platform/toolkit/provision.md
Service: msteams
GitHub Login: @MuyangAmigo
Microsoft Alias: shenwe

@mrrobertsson - We will check it and if required update document accordingly. Thanks!


Unhighlighting on click is delayed until mouse exits current area

Describe the bug
In the demo, in cases when a mouse click should cause unhighlighting of a previously highlighted area, the unhighlighting does not render immediately. Rather, it appears to be delayed until the mouse exits the area it is currently over.
To Reproduce
In the demo for "Toggle Stay Highlighted Area": click one area, say the ceiling. The ceiling is highlighted. Now click the ceiling again to toggle its highlighting off. The ceiling remains highlighted. Move the mouse out of the ceiling, say, onto the wall. NOW the ceiling shows as unhighlighted.
In the demo for "Stay Selected Highlighted Area": click one area, say the celing The ceiling is highlighted. Then click another area, say the window. The window is highlighted, but the ceiling is NOT unhighlighted. Move the mouse out of the window, say onto the surrounding wall. NOW the ceiling shows as unighlighted.
Expected behavior
Expected the unhighlighting of the previously highlighted area to be visible immediately after the click to give immediate feedback on the effect of the mouse click on the selection state.
Desktop

OS: MacOS Monterey 12.5.1
Browser: Chrome
Version: 105.0.5195.125 (Official Build) (x86_64)

i ' m also facing same issue. @andersweinstein do you have any solution

@hirpararajesh99 Sorry, I have nothing to offer. I rejected this component because of this bug and non-responsiveness by the component author.

Hello @andersweinstein @hirpararajesh99 Resolved in V1.4.3
Please check and free feel to reopen if you found any bugs related to this issue.


[tomcat] Various updates

normalize page (#2124)
use a table.html include to manage minimum Java versions
use the same changelogTemplate for all versions

The following links are bad with the current changelogTemplate:
Product Validator: Invalid link 'https://dlcdn.apache.org/tomcat/tomcat-7/v7.0.109/RELEASE-NOTES' for tomcat.md#7, got an error : '404 Not Found'.
Product Validator: Invalid link 'https://dlcdn.apache.org/tomcat/tomcat-6/v6.0.53/RELEASE-NOTES' for tomcat.md#6, got an error : '404 Not Found'.
Product Validator: Invalid link 'https://dlcdn.apache.org/tomcat/tomcat-5/v5.5.36/RELEASE-NOTES' for tomcat.md#5, got an error : '404 Not Found'.


Create SECURITY.md#

What does this PR do?

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[x] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[x] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[x] If applicable, the config template has been updated.

@6899kv Since this only adds an unfinished template file, doesn't have the CLA check passing, doesn't have the right labels, and doesn't have any description I'm assuming that it was opened in error. I'll close the PR but please feel free to reopen if needed.


fix the options file highlighting

@pq

fixed the .analysis_options syntax file to not conflict with the yaml one

I experimented with registering two completers (one for dart and one for the options files). From the docs, you're supposed to be able to return an array of completers instead of just a single object. I didn't have success, but it's something we could pursue.

(And thanks!)


Add ability to override download url and exe name via hiera

promoted a few variables to the params section. also fixed some copy/paste errors with dotnet filename.

@theyosef can you squash these commits?

@theyosef ping

This has been hanging for over half a year, closing it for now. If someone feels like squashing this or re-introducing this feature please raise a new PR.


Setting hovers in settings.json do not render markdown content

VSCode Version:
OS Version:

Steps to Reproduce:

Open the old settings editor
Hover over a settings such as "window.title" on the right hand side

Bug
Markdown is not rendered in the hover

Does this issue occur when all extensions are disabled?: Yes

How do I make it do that like it does for other hovers? @jrieken ?

Looks like those hovers come from our json support? You can render the hover content as markdown by returning it as a MarkdownString

We have to change all the setting registrations to use markdownDescription and markdownEnumDescriptions...


Generated patch incorrect for Array replacement

Here is a case that produces buggy patch:
src = {
  "spec": {
    "loadBalancerSourceRanges": [
      "<IP_ADDRESS>/16",
      "<IP_ADDRESS>/24"
    ]
  }
}

dst = {
  "spec": {
    "loadBalancerSourceRanges": [
      "<IP_ADDRESS>/24"
    ]
  }
}

The generated patch is:
[
  {
    "op": "remove",
    "path": "/spec/loadBalancerSourceRanges/0"
  },
  {
    "op": "remove",
    "path": "/spec/loadBalancerSourceRanges/1"
  },
  {
    "op": "add",
    "path": "/spec/loadBalancerSourceRanges/0",
    "value": "<IP_ADDRESS>/24"
  }
]

This results in an error. The problem seems to be that index 1 should be removed before index 0. If I reverse the order the generated patch works.
I tested patch generation using https://github.com/stefankoegl/python-json-patch library . This produces a valid patch:
[{"path": "/spec/loadBalancerSourceRanges/1", "op": "remove"}, {"path": "/spec/loadBalancerSourceRanges/0", "value": "<IP_ADDRESS>/24", "op": "replace"}]

https://gist.github.com/tamalsaha/e8b313aec8f8d8191bc01ba504247e30
I also tested against a node.js library here: https://json8.github.io/patch/demos/apply/ . I get the same issue.

I was having the same issue, so I used your fork in my project, but it didn't fix it for me.
The issue I had, which seems to be the same as this, was if src was ["A", "B", "C"] and to was ["D"], the patch that was generated causes the library I'm using to apply the patch to try to replace "A" with "D", and then remove index 1 and then index 2. But after index 1 is removed, there is no index 2 anymore, causing an "Index out of bounds exception" trying to apply the patch.
My fix was to sort removals alphabetically by path and also numerically by path index (in case index >=10) in descending order, so that in the scenario above, index 2 gets removed before index 1.
Here are my changes. Would you be interested in a PR?

Patch is welcome!


You need to have at least Xcode 7.3 because Alamofire 3.3 use swift 2.2

Thanks @Mycose! 🍻

Okay thank you, it works now


System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.

How did it happened .
1 - I opened a new project and leave old haxe project.xml file in the session.
2 - opened the new project.xml file and close the Flashdevelop
3 - restarted Windows, open the Flash develop and got this error And then it closes.
How did i solve it.
1 - Copy the \AppData\Local\FlashDevelop\  folder.
2 - Uninstall the Flashdevelop with Full options.
3 - After installing it replace all the folder with old settings folder EXCEPT the \AppData\Local\FlashDevelop\Settings\SessionData.fdb file
4 - make sure it is not replaced because i think it holds the old session data, i found it after installing it several times and replacing different settings.

Unhandled exception:

System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at HaXeContext.HaxeComplete.<>c__DisplayClass22_0`1.<StartThread>b__0(Object _)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

What version of FD are you using?

it's the latest one , <IP_ADDRESS>

Could you test the development build?

sure i will try it and update here .

Thanks :)


Add 'Create Function App' to node picker

And remove deploy from function app node (like I meant to do in #56)
Fixes #58

@nturinski nice catches!


Many Threads in jenkins

Seems like our jak GPU box is getting hammered pretty hard.  I wasn't even able to run nvidia-smi due to the many threads, see top below:
14135 jenkins   20   0 54904  44m 3280 R   25  0.0   0:00.75 cudafe
14158 jenkins   20   0 39660  29m 3264 R   14  0.0   0:00.43 cudafe
14165 jenkins   20   0 50384  24m  12m R   13  0.0   0:00.39 cicc
14188 jenkins   20   0 30484  20m 3228 R    7  0.0   0:00.22 cudafe
14190 jenkins   20   0 30292  20m 3228 R    7  0.0   0:00.22 cudafe
12464 jenkins   20   0  180g  69m  62m S    7  0.1   0:00.54 TestCudaGBSAOBC
12465 jenkins   20   0  180g  69m  62m S    7  0.1   0:00.57 TestCudaGBSAOBC
13621 jenkins   20   0  180g  54m  47m R    7  0.0   0:00.35 TestCudaNonbond
13441 jenkins   20   0  180g  69m  62m S    6  0.1   0:00.51 TestCudaNonbond
13622 jenkins   20   0  180g  69m  62m S    6  0.1   0:00.32 TestCudaNonbond
13789 jenkins   20   0  180g  68m  62m S    6  0.1   0:00.28 TestCudaHarmoni
14138 jenkins   20   0  180g  68m  62m S    5  0.1   0:00.15 TestCudaCustomI
13971 jenkins   20   0  180g  68m  62m S    5  0.1   0:00.14 TestCudaHarmoni
13972 jenkins   20   0  180g  68m  61m S    5  0.1   0:00.14 TestCudaHarmoni
14139 jenkins   20   0  180g  68m  62m S    4  0.1   0:00.13 TestCudaCustomI
14200 jenkins   20   0 49792  19m 8344 R    4  0.0   0:00.11 cicc
10980 jenkins   20   0  180g  69m  62m S    3  0.1   0:01.28 TestCudaCustomN
  594 root      20   0     0    0    0 S    3  0.0   0:00.30 kworker/6:1
  591 root      20   0     0    0    0 S    2  0.0   0:00.32 kworker/4:1
10097 root      20   0     0    0    0 D    2  0.0   0:00.25 kworker/0:7

I wonder if this is due to the following line in the jenkins config:
ctest -j 16

lol, yup. :)
On Wed, May 6, 2015 at 3:34 PM, Kyle Beauchamp<EMAIL_ADDRESS>wrote:

I wonder if this is due to the following line in the jenkins config:
ctest -j 16
—
Reply to this email directly or view it on GitHub
https://github.com/omnia-md/conda-recipes/issues/190#issuecomment-99631018
.

Fixed

Yep!  Is this problematic?

The machine was unresponsive.

I've set it to one thread for the time being.

Got it.  I hadn't realized it was causing issues.  I was running 16 tests in parallel on a machine that has 128GB RAM and 32 hyperthreads, and my previous tests indicated this gave a pretty hefty speed increase, taking tests from over an hour to something like 15 minutes.
Was it because there were other processes running on the machine (e.g. interactive development)?  Or was there something running out of control (e.g. the CPU platform was using all threads, and multiple of these instances were trying to use all threads)?

According to the log, it seemed like the main issue was the 10 or so TestCUDA* jobs running.  I was also doing some development, but I don't think that was the issue.

Those Titans should support multiple jobs running on them simultaneously.  I wonder if the issue was that nvcc tries to run multithreaded or something...

It does support multiple jobs to a limited extent, but not as much as that.  Imagine if you tried to run 16 jobs simultaneously on a single CPU core!  That's effectively what you're doing, only on a device with much less granular timeslicing.  Two jobs at a time should be fine, maybe even four.  But not 16.


rest: addition of etag to community details

Adds the etag header to the details of each community. (closes #38)

Signed-off-by: Javier Delgado<EMAIL_ADDRESS>

To be merged after PR #44

Coverage increased (+0.4%) to 67.006% when pulling 2cd5c3de641bfcf274286902b4743c77c61a27e2 on JavierDelgadoFernandez:etag into 5bedad5de139cfafe0d25daaf67d60e0dede3c2b on inveniosoftware:master.

Updated and rebased.

Coverage increased (+0.3%) to 67.391% when pulling 234aad0f65605439d7c7565546e6ccf7b53e803a on JavierDelgadoFernandez:etag into 95832976e0ab7d31adf3fa9fcb7e5581d7bed618 on inveniosoftware:master.

Coverage increased (+0.3%) to 67.391% when pulling c46a6774aae49d93d2bf4edab2a5d45244653416 on JavierDelgadoFernandez:etag into 95832976e0ab7d31adf3fa9fcb7e5581d7bed618 on inveniosoftware:master.

Coverage increased (+0.3%) to 67.391% when pulling 0c33781d8941b17b5f2acaacf036802531dc49e9 on JavierDelgadoFernandez:etag into 95832976e0ab7d31adf3fa9fcb7e5581d7bed618 on inveniosoftware:master.

@jirikuncar Updated.

Coverage increased (+0.3%) to 67.391% when pulling 3c65d6d5aa95e5691ab762c147715bb4aa451a80 on JavierDelgadoFernandez:etag into 95832976e0ab7d31adf3fa9fcb7e5581d7bed618 on inveniosoftware:master.


Hi there!

I'd like to have my profile on ghuser.io, thanks!

here you go :) https://ghuser.io/SourcingDenis
you probably want to have a look at https://github.com/AurelienLourot/ghuser.io#some-of-my-repos-are-not-showing-up-on-my-profile-why

perfect! thanks 🙌


WinUI 3.0 and with webview2 with support yo xbox one?

Is possible add support to xbox one with webview2 and winui 3?
[Enter feedback here]

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

ID: 49f58672-73e9-87bb-d7f0-8d67b6878e20
Version Independent ID: 94fc53da-622a-93c8-a4c8-4faaf7e442b8
Content: WinUI 3.0 Preview 1 (May 2020)
Content Source: hub/apps/winui/winui3/index.md
Product: uwp
Technology: apps
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

I think I heard that WinUI support for Xbox Series X wont be there at launch, but would be coming in the future.
I would assume the software platform will be shared, but I have not heard for sure, anything about what is to come for Xbox One.

Hi @darkxex, I'm closing this issue as it's not a documentation concern.
However, the WinUI team welcomes feedback, suggestions, and issues at https://github.com/microsoft/microsoft-ui-xaml.


fix some clippy lints

fix some clippy lints. mainly in regard to applying rust conventions to object names.
(also 'receive' is spelled incorrectly throughout)

(also 'receive' is spelled incorrectly throughout)

Oh dear. How come no-one noticed it earlier?
But then again, all of the original authors have English as a foreign language.

(also 'receive' is spelled incorrectly throughout)

Oh dear. How come no-one noticed it earlier?
But then again, all of the original authors have English as a foreign language.

Native speaker here. I've been staring at this codebase for weeks and I only just noticed ;)


Rename to bevy-cross-template

I'd like to see a bevy-native-template and bevy-wasm-template individually, which do not constrain eachother, so it makes sense this is the "bevy-cross-template" or "bevy-full-template".

It's too late, name is fine.


Add support for aggregations over distinct inputs

Add support for queries like SELECT count(distinct x) FROM t.
Inputs are first accumulated into SetAccumulators. When all input has been
received, unique values are aggregated.

@mbasmanova : Just FYI... I wondered if window aggregates also could be used this way. But Presto doesn't support them yet. Nor does Trino : https://github.com/trinodb/trino/issues/7885


Custom upload image event

Can't upload image as a custom event? This event is used to upload directly to the server, return the image address, and insert it into the editor

oh,i see, thank you

https://github.com/Leecason/element-tiptap/issues/49

Can't upload image as a custom event? This event is used to upload directly to the server, return the image address, and insert it into the editor

What should be done?（中文：应该怎么做）


By default what size of blocksize is taken?

If you don't pass any blocksize what size is taken?

Thanks for the hint. I just added the missing information to the documentation website.

To anyone involved in this issue, please see #16 "Future of bscp".


AbstractOptionalDoubleAssert.hasValue(double) fails with NaN

Describe the bug
The AbstractOptionalDoubleAssert.hasValue(double) javadoc state that NaN values are supported (last line of):
https://github.com/assertj/assertj/blob/35e54e0571de3711f4545c0ca08d321348bbcf50/assertj-core/src/main/java/org/assertj/core/api/AbstractOptionalDoubleAssert.java#L120-L123
The nature of NaN values prevents the == operator to works, but there is no hasNaNValue() method or equivalent, and the javadoc clearly state that it should works.

assertj core version: 3.24.2
java version: 21
test framework version: junit 5.10.1
os (if relevant): windows

Test case reproducing the bug
@Test
void testNaN() {
	assertThat(OptionalDouble.of(Double.NaN)).hasValue(Double.NaN);
}

Result:
org.opentest4j.AssertionFailedError:
Expecting actual:
  OptionalDouble[NaN]
to contain:
  NaN
but did not.

In the meantime, that can be bypassed by testing the double value directly:

@Test
void testNaN() {
	assertThat(OptionalDouble.of(Double.NaN).getAsDouble()).isNaN();
}

Thanks for reporting it, @Caceresenzo!

Sure, go for it, @pbacz!

@scordio
The simplest solution here would be to replace == comparison with equals() comparison.
This will have a side effect causing any test that compares 0.0 to -0.0 to fail (currently passing).
From the javadoc stating that assertThat(OptionalDouble.of(Double.NaN)).hasValue(Double.NaN) should pass I conclude that this was always the intent to compare using equals().
I propose to replace == check with equals() check and also state clearly in the javadoc which is used.
As this is potentially a breaking change for an edge case I'd like you to confirm if I should proceed with that.

A solution could also to add isNaN() to match AbstractDoubleAssert's API. (and add a isNotNaN() too?)
This would prevent breaking changes.

@Caceresenzo @scordio
Sure, I can do it either way. All I need is a decision

I think having both isNaN() and isNotNaN() would be best as there do not seems to have method for the opposite of hasValue(...).
Currently this passes:
assertThat(OptionalDouble.of(Double.NaN))
	.isNotEqualTo(Double.NaN);

(but I am sure its because its testing against the OptionalDouble and not the optional's value itself)

I propose to replace == check with equals() check and also state clearly in the javadoc which is used.

I tend to favor this solution, consistent with what the Javadoc already states and also in line with OptionalDouble::equals.
It's indeed a breaking change and the workaround to get the previous behavior would be something like:
assertThat(OptionalDouble.of(Double.NaN).getAsDouble()).isSameAs(Double.NaN);

@joel-costigliola do you agree?

@scordio @joel-costigliola
I created a PR for this issue.

Integrated thanks @pbacz !


Compilation failed of spouse exemple

Hello,
I'm new with Deepdive and I was trying to install and test it. The installation has been done successfully but I have found problems with spouse example (I’m following this tutorial http://deepdive.stanford.edu/example-spouse#4-error-analysis-and-debugging).
So when I do "deepdive do articles" I have this error:
[error] error while loading AnnotationPipeline, class file '/home/nadia/.ivy2/cache/edu.stanford.nlp/stanford-corenlp/jars/stanford-corenlp-3.5.1.jar(edu/stanford/nlp/pipeline/AnnotationPipeline.class)' is broken
2016-02-26 13:22:11.799106 [error] (class java.lang.NullPointerException/null)
2016-02-26 13:22:19.732839 [warn] one warning found
2016-02-26 13:22:19.733805 [error] one error found
2016-02-26 13:22:19.848327 [error] (compile:compileIncremental) Compilation failed
2016-02-26 13:22:19.853934 [error] Total time: 42 s, completed Feb 26, 2016 1:22:19 PM
Can you help me please?
Thank you,
Nadia

You are probably running Java 7. CoreNLP requires Java 8.
@netj We've encountered the same problem a couple of days ago. We should probably add some Java version validation code in the example code.

Thank you alldefector :) It was exactly the problem

@alldefector The docs are going to be updated by #506, but we can definitely add some checks to the example script.  Another big pitfall is not having wget installed on Mac, which leads to silently passing over a Bazaar/Parser setup error (the english SR parser download).  Will propose a fix there too.


JWT signature does not match locally computed signature

Hello,
after I'm running api i'm getting this error:
maybe you can advice how i can clean api cache and cookies? which command do i need to use?
thanks
2018-02-27 13:45:50,843 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/api] threw exception
io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:342) ~[jjwt-0.6.0.jar!/:0.6.0]
at io.jsonwebtoken.impl.DefaultJwtParser.parse(DefaultJwtParser.java:458) ~[jjwt-0.6.0.jar!/:0.6.0]
at io.jsonwebtoken.impl.DefaultJwtParser.parseClaimsJws(DefaultJwtParser.java:518) ~[jjwt-0.6.0.jar!/:0.6.0]
at com.capitalone.dashboard.auth.token.TokenAuthenticationServiceImpl.getAuthentication(TokenAuthenticationServiceImpl.java:59) ~[api.jar!/:2.0.5-SNAPSHOT]
at com.capitalone.dashboard.auth.token.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:37) ~[api.jar!/:2.0.5-SNAPSHOT]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-4.

Can you post your properties file? If your properties file is correct then you can try cleaning your browser cache or opening the browser in incognito mode.

https://github.com/capitalone/Hygieia/issues/1564, or https://github.com/capitalone/Hygieia/issues/1464

Clearing the cache or using incognito mode is not an acceptable solution. When I try to login tomorrow I will have the same problem. Would you ask people to clear their cache before logging into capitalone.com?
@Sbrenthughes, I have not been setting any value for auth.secret. I am giving a value now. It's been working today, will check again tomorrow. Is that the missing piece? Only one of the issues mentions this property specifically?

Well, once we set auth.secret we are not seeing this problem anymore. Documentation implies this property is optional... should be updated I think.

@fidelcoria-aa Can you help with what did you set as the auth.secret?

value does not matter. any alphanumeric string should work. I would avoid using special characters just in case.
Note: If you have multiple API instances make sure they all have the same auth.secret value.


dependencies are not installed

Environment
node 0.10.46
npm 3.10.5
needle 1.0.0
What happened?
Error: Cannot find module 'xml2js' from '<project path>/node_modules/<nested dependency>/node_modules/needle/lib'
needle is a dependency of a nested module but its dependencies were not installed during an npm install in my project path. I had to execute an npm install inside the needle directory of the dependency tree to get everything to work.
What did you expect to happen?
I expected the necessary dependencies to be installed from a high level npm install.
Thoughts
I recently updated to npm 3.10.5, before I was using 3.9.x and didn't have this problem I don't think.
I rm -rf'd my node_modules directory and then did a npm install before this error occurred.
Any help is greatly appreciated. Thank you for your time and such a great library! It's my go-to!

That's weird. If you don't have the xml2js dependency it shouldn't explode -- Needle should simply disable the XML parser. Here's the relevant piece of code.
Do you know if npm 3.10 changed in any way the logic upon which modules are required/loaded?

I know, right? I figured I'd try here first in case anyone had seen this problem already.
I just took a look at the 3.10.x release notes, there's a lot going on in there. It's entirely likely to me that one of the refactors in 3.10 has caused this.
I'll experiment with different npm versions to try and narrow it down.

This is my bad. Needle is glorious and wonderful.
I had added a node module to my browserify bundle, the package resolve was trying to require xml2js which wasn't installed and exploded.
Nothing to see here. Thank you for your time @tomas!

Is there a recommended resolution to this? I am running into precisely the same problem (albeit in a webpack context)


Show More Commits not working

GitLens Version: 9.2.3

VSCode Version: 1.30.1
OS Version: macOS 10.14.2

Steps to Reproduce:

Open a repository with a lot of commit
Click "Show More Commits"

Nothing happened, no earlier commits loaded.

@sherlockwang if this was helpful to you, consider giving a reward to the issue solver using Speedoss.com