Issue with jenkins deployment on CDK2/Fabric8.   Secrets not found.

Created the "cd-pipeline".    Waiting for pods to start but jenkins won't start up.   Viewing messages.
Successfully assigned jenkins-v7c0l to rhel-cdk
Unable to mount volumes for pod "jenkins-v7c0l_sample-project": secrets "jenkins-docker-cfg" not found
Error syncing pod, skipping: secrets "jenkins-docker-cfg" not found

ran secrets just because...
[vagrant@rhel-cdk ~]$ ./gofabric8 secrets -y
             ▄▄▄▄▄▄▄
             ███████
     ▄▄▄▄▄▄▄ ▄▄▄▄▄▄█
     ███████ ▀▀▀▀▀▀▀ ▄▄▄▄▄▄
     ▄▄▄▄▄▄▄         ██████
   ▄▄▄▄▄             ▄▄▄▄▄▄
   ▀▄▄▄▄▄      ▄▄▄       ▄▄▄
    ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▀
      ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▄▄▀
        ▀▀▄█▄▄▄▄▄▄▄▄▄▄▄▄▄▀
          ▄█▄▄▄█▄▄▄█▄▄▄
          ▄█▄▄▄▄▄▄▄▄▄▄▄
           ▄▄█▄▄▄▄▄▄▄▄
            ▄▄▄▄▀▀▄█▄
         ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
         ▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Setting up secrets on your OpenShift installation at https://<IP_ADDRESS>:8443 in namespace sample-project

Failed to load Catalog configmaps %s the server could not find the requested resource
Importing secret: jenkins-docker-cfg/config.json
Warning: open jenkins-docker-cfg/config.json: no such file or directory
jenkins-docker-cfg secret.....................................................✔
Importing secret: jenkins-git-ssh/ssh-key
Importing secret: jenkins-git-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-git-ssh secret........................................................✔
Importing secret: jenkins-master-ssh/ssh-key
Importing secret: jenkins-master-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-master-ssh secret.....................................................✔
Importing secret: jenkins-ssh-config/config
Warning: open jenkins-ssh-config/config: no such file or directory
jenkins-ssh-config secret.....................................................✔
Importing secret: jenkins-release-gpg/gpg.conf
Warning: open jenkins-release-gpg/gpg.conf: no such file or directory
Importing secret: jenkins-release-gpg/secring.gpg
Warning: open jenkins-release-gpg/secring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/pubring.gpg
Warning: open jenkins-release-gpg/pubring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/trustdb.gpg
Warning: open jenkins-release-gpg/trustdb.gpg: no such file or directory
jenkins-release-gpg secret....................................................✔
Importing secret: jenkins-maven-settings/settings.xml
Warning: open jenkins-maven-settings/settings.xml: no such file or directory
Importing secret: Using deafult maven settings from https://raw.githubusercontent.com/fabric8io/gofabric8/master/default-secrets/mvnsettings.xml
jenkins-maven-settings secret.................................................✔
Importing secret: jenkins-hub-api-token/hub
Warning: open jenkins-hub-api-token/hub: no such file or directory
jenkins-hub-api-token secret..................................................✔
Importing secret: gerrit-admin-ssh/ssh-key
Importing secret: gerrit-admin-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
gerrit-admin-ssh secret.......................................................✔
Importing secret: gerrit-users-ssh-keys/id-jenkins-rsa.pub
No secrets found on local filesystem, generating SSH public key
Importing secret: gerrit-users-ssh-keys/id-sonar-rsa.pub
No secrets found on local filesystem, generating SSH public key
gerrit-users-ssh-keys secret..................................................✔
Importing secret: jenkins-release-gpg/gpg.conf
Warning: open jenkins-release-gpg/gpg.conf: no such file or directory
Importing secret: jenkins-release-gpg/secring.gpg
Warning: open jenkins-release-gpg/secring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/pubring.gpg
Warning: open jenkins-release-gpg/pubring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/trustdb.gpg
Warning: open jenkins-release-gpg/trustdb.gpg: no such file or directory
jenkins-release-gpg secret....................................................✘ secrets "jenkins-release-gpg" already exists
Importing secret: jenkins-maven-settings/settings.xml
Warning: open jenkins-maven-settings/settings.xml: no such file or directory
Importing secret: Using deafult maven settings from https://raw.githubusercontent.com/fabric8io/gofabric8/master/default-secrets/mvnsettings.xml
jenkins-maven-settings secret.................................................✘ secrets "jenkins-maven-settings" already exists
Importing secret: jenkins-hub-api-token/hub
Warning: open jenkins-hub-api-token/hub: no such file or directory
jenkins-hub-api-token secret..................................................✘ secrets "jenkins-hub-api-token" already exists
Importing secret: jenkins-docker-cfg/config.json
Warning: open jenkins-docker-cfg/config.json: no such file or directory
jenkins-docker-cfg secret.....................................................✘ secrets "jenkins-docker-cfg" already exists
Importing secret: jenkins-git-ssh/ssh-key
Importing secret: jenkins-git-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-git-ssh secret........................................................✘ secrets "jenkins-git-ssh" already exists
Importing secret: jenkins-master-ssh/ssh-key
Importing secret: jenkins-master-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-master-ssh secret.....................................................✘ secrets "jenkins-master-ssh" already exists
Importing secret: jenkins-ssh-config/config
Warning: open jenkins-ssh-config/config: no such file or directory
jenkins-ssh-config secret.....................................................✘ secrets "jenkins-ssh-config" already exists

did it work when you ran secrets? it should :)
On Wed, May 11, 2016 at 8:59 AM, Albert Wong<EMAIL_ADDRESS>wrote:

ran secrets just because...
[vagrant@rhel-cdk ~]$ ./gofabric8 secrets -y
▄▄▄▄▄▄▄
███████
▄▄▄▄▄▄▄ ▄▄▄▄▄▄█
███████ ▀▀▀▀▀▀▀ ▄▄▄▄▄▄
▄▄▄▄▄▄▄         ██████
▄▄▄▄▄             ▄▄▄▄▄▄
▀▄▄▄▄▄      ▄▄▄       ▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█▄▄▀
▀▀▄█▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▄█▄▄▄█▄▄▄█▄▄▄
▄█▄▄▄▄▄▄▄▄▄▄▄
▄▄█▄▄▄▄▄▄▄▄
▄▄▄▄▀▀▄█▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Setting up secrets on your OpenShift installation at https://<IP_ADDRESS>:8443 in namespace sample-project
Failed to load Catalog configmaps %s the server could not find the requested resource
Importing secret: jenkins-docker-cfg/config.json
Warning: open jenkins-docker-cfg/config.json: no such file or directory
jenkins-docker-cfg secret.....................................................✔
Importing secret: jenkins-git-ssh/ssh-key
Importing secret: jenkins-git-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-git-ssh secret........................................................✔
Importing secret: jenkins-master-ssh/ssh-key
Importing secret: jenkins-master-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-master-ssh secret.....................................................✔
Importing secret: jenkins-ssh-config/config
Warning: open jenkins-ssh-config/config: no such file or directory
jenkins-ssh-config secret.....................................................✔
Importing secret: jenkins-release-gpg/gpg.conf
Warning: open jenkins-release-gpg/gpg.conf: no such file or directory
Importing secret: jenkins-release-gpg/secring.gpg
Warning: open jenkins-release-gpg/secring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/pubring.gpg
Warning: open jenkins-release-gpg/pubring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/trustdb.gpg
Warning: open jenkins-release-gpg/trustdb.gpg: no such file or directory
jenkins-release-gpg secret....................................................✔
Importing secret: jenkins-maven-settings/settings.xml
Warning: open jenkins-maven-settings/settings.xml: no such file or directory
Importing secret: Using deafult maven settings from https://raw.githubusercontent.com/fabric8io/gofabric8/master/default-secrets/mvnsettings.xml
jenkins-maven-settings secret.................................................✔
Importing secret: jenkins-hub-api-token/hub
Warning: open jenkins-hub-api-token/hub: no such file or directory
jenkins-hub-api-token secret..................................................✔
Importing secret: gerrit-admin-ssh/ssh-key
Importing secret: gerrit-admin-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
gerrit-admin-ssh secret.......................................................✔
Importing secret: gerrit-users-ssh-keys/id-jenkins-rsa.pub
No secrets found on local filesystem, generating SSH public key
Importing secret: gerrit-users-ssh-keys/id-sonar-rsa.pub
No secrets found on local filesystem, generating SSH public key
gerrit-users-ssh-keys secret..................................................✔
Importing secret: jenkins-release-gpg/gpg.conf
Warning: open jenkins-release-gpg/gpg.conf: no such file or directory
Importing secret: jenkins-release-gpg/secring.gpg
Warning: open jenkins-release-gpg/secring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/pubring.gpg
Warning: open jenkins-release-gpg/pubring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/trustdb.gpg
Warning: open jenkins-release-gpg/trustdb.gpg: no such file or directory
jenkins-release-gpg secret....................................................✘ secrets "jenkins-release-gpg" already exists
Importing secret: jenkins-maven-settings/settings.xml
Warning: open jenkins-maven-settings/settings.xml: no such file or directory
Importing secret: Using deafult maven settings from https://raw.githubusercontent.com/fabric8io/gofabric8/master/default-secrets/mvnsettings.xml
jenkins-maven-settings secret.................................................✘ secrets "jenkins-maven-settings" already exists
Importing secret: jenkins-hub-api-token/hub
Warning: open jenkins-hub-api-token/hub: no such file or directory
jenkins-hub-api-token secret..................................................✘ secrets "jenkins-hub-api-token" already exists
Importing secret: jenkins-docker-cfg/config.json
Warning: open jenkins-docker-cfg/config.json: no such file or directory
jenkins-docker-cfg secret.....................................................✘ secrets "jenkins-docker-cfg" already exists
Importing secret: jenkins-git-ssh/ssh-key
Importing secret: jenkins-git-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-git-ssh secret........................................................✘ secrets "jenkins-git-ssh" already exists
Importing secret: jenkins-master-ssh/ssh-key
Importing secret: jenkins-master-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key pair
jenkins-master-ssh secret.....................................................✘ secrets "jenkins-master-ssh" already exists
Importing secret: jenkins-ssh-config/config
Warning: open jenkins-ssh-config/config: no such file or directory
jenkins-ssh-config secret.....................................................✘ secrets "jenkins-ssh-config" already exists
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fabric8io/gofabric8/issues/49#issuecomment-218505301

--
Christian Posta
twitter: @christianposta
http://www.christianposta.com/blog
http://fabric8.io

maybe it did.   hmm...   front page instruction need to change.


Cpp/fix/#452

This PR is my attempt to fix issue https://github.com/jeff-hykin/better-cpp-syntax/issues/427.

Thanks for the contribution! it looks great

Your fix should be available on v1.15.19 of the extension now


index.js - unexpected token

Hi, So after downloading the project > installing with yarn install > then running start I get the following error:
C:\Users\Dan (Mosquito)\Desktop\react-cool-starter-master\index.js:20
).server(dirRoot, () => {
^
SyntaxError: Unexpected token )
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)
[nodemon] app crashed - waiting for file changes before starting...

I also tried  start: production first but it breaks on the same part.
Any help or suggestions?
Thanks

What happens when you run yarn build followed by yarn start?

returns the same error man @iamacup

This is a wierd Windows specific issue that i was able to recreate.
If you remove the comma at the end of line 17 to make the code look like this:
// Settings of webpack-isomorphic-tools
global.webpackIsomorphicTools = new WebpackIsomorphicTools(
  require('./tools/webpack/WIT.config')
).server(dirRoot, () => {
  require('./src/server');
});

It should work
It is questionable syntax anyway, but it does work fine on nix
@danjonesdev can you check that it works and i will pop a PR in.

@iamacup good catch! just tried and removing the comma works, even formatting with prettier or similar removes the comma automatically, that's why I never got the error.

@iamacup I can confirm that did the trick, thank you kindly!


Multiprocessing support for metric calculation (inference)

Description of changes:

Added multiprocessing support for metric calculation (inference)

I have measured speedups up to 3x on lager datasets like m4_yearly and up to 10% on smaller dataset like m4_hourly. Whats essentially limiting is the read/write speeds of the hard disk now.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Ups, seem I have worked off the wrong branch.


Last updated date

Hi Nithya,
Can you provide last updated date detail at the bottom?

done.
gave it top.


YARN-11654. [JDK17] TestLinuxContainerExecutorWithMocks.testStartLoca…

…lizer fails
I have ran this test locally and verified

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 33s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
42m 46s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 37s

trunk passed

+1 :green_heart:
mvnsite
0m 42s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 25s

trunk passed

+1 :green_heart:
shadedclient
32m 37s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 27s

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 0 new + 3 unchanged - 1 fixed = 3 total (was 4)

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 32s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 32s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 23s

the patch passed

+1 :green_heart:
shadedclient
32m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
24m 16s

hadoop-yarn-server-nodemanager in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

150m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.44 ServerAPI=1.44 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6528/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6528

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 274d96550475 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / be835e44742a7755c26d1b26d196db8cb2894e6a

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6528/1/testReport/

Max. process+thread count
558 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6528/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

_ Prechecks _

+1 :green_heart:
dupname
0m 00s

No case conflicting files found.

+0 :ok:
spotbugs
0m 01s

spotbugs executables are not available.

+0 :ok:
codespell
0m 01s

codespell was not available.

+0 :ok:
detsecrets
0m 01s

detect-secrets was not available.

+1 :green_heart:
@author
0m 00s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m 00s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
94m 09s

trunk passed

+1 :green_heart:
compile
5m 02s

trunk passed

+1 :green_heart:
checkstyle
4m 37s

trunk passed

+1 :green_heart:
mvnsite
5m 32s

trunk passed

+1 :green_heart:
javadoc
5m 11s

trunk passed

+1 :green_heart:
shadedclient
151m 33s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 09s

the patch passed

+1 :green_heart:
compile
2m 36s

the patch passed

+1 :green_heart:
javac
2m 36s

the patch passed

+1 :green_heart:
blanks
0m 00s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m 08s

the patch passed

+1 :green_heart:
mvnsite
2m 45s

the patch passed

+1 :green_heart:
javadoc
2m 32s

the patch passed

+1 :green_heart:
shadedclient
157m 56s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
5m 44s

The patch does not generate ASF License warnings.

427m 40s

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/6528

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
MINGW64_NT-10.0-17763 9d60b5d6be65 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys

Build tool
maven

Personality
/c/hadoop/dev-support/bin/hadoop.sh

git revision
trunk / be835e44742a7755c26d1b26d196db8cb2894e6a

Default Java
Azul Systems, Inc.-1.8.0_332-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6528/1/testReport/

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6528/1/console

versions
git=2.44.0.windows.1

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Possibly incorrect winding order

According to node-mapnik, "Vector Tile has POLYGON with first ring clockwise. It is not valid according to v2 of VT spec."
A very simple tile, decoded with the protobuf decoder:
layers {
  name: "landcover"
  features {
    tags: 0
    tags: 0
    tags: 1
    tags: 0
    type: POLYGON
    geometry: 9
    geometry: 7534
    geometry: 6334
    geometry: 26
    geometry: 406
    geometry: 42
    geometry: 42
    geometry: 201
    geometry: 429
    geometry: 43
    geometry: 15
  }
  keys: "class"
  keys: "subclass"
  values {
    string_value: "farmland"
  }
  extent: 4096
  version: 2
}

The vertices are:
3767,3167
3970,3188
3991,3087
3776,3065
3767,3167

I'm not sure I'm reading the spec correctly, but in any case it's the opposite winding order from the Feature-single-polygon.mvt tile from mvt-fixtures.
(A workaround is to change the version to 1, which doesn't have the counterclockwise requirement. They then render correctly: )

Great to know Matt!

Please note that postserve has been merged into tools - https://github.com/openmaptiles/openmaptiles-tools#test-tiles and this repo should be closed. Thanks!


Generated Image is also Associated with the Edited AI Response Saved as a Copy

Bug Report
Installation Method
I am using Open-WebUI in conjunction with ollama inside a docker-compose.
Environment

Open WebUI Version: v0.4.8

Ollama (if applicable): v0.5.1

Operating System: Windows 11

Browser (if applicable): Firefox 133.0

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
I would expect to see no picture attached when saving an edit of the answer as copy
Actual Behavior:
The picture generated with the original response gets attached automatically to the edited copy of the answer.
Description
Bug Summary:
After generating an image based of the AI answer. Editing the AI answer then saving it as a copy attaches the original image to the edited prompt.
Reproduction Details
Steps to Reproduce:

Send a prompt
generate an image with the answer
once the generated image is received, edit the LLM answer.
Save as copy

Logs and Screenshots
Screenshots:

Thanks for the hard work !

Fixed on dev!


Please note  N/A's meaning

Because N/A's meaning probably is Not Available/ Not applicable or Name and Address

@yulng - rather than add a note above the content, I'd recommend changing the single use of N/A in the content of this README to "not applicable" spelled out, or simply "no default, this value is required" in that field of the table

/assign

/lgtm
/approve


GCP project ID: Is it fixed at build time?

We're working on using separate GCP projects for test and production. But we are getting permission errors indicating that the application in the production environment tries to access the secret manager in the test environment.
It looks as if the GCP project ID is compiled into the application (ueber-jar package). Is this the case? Is this the case for all the options documented in https://quarkiverse.github.io/quarkiverse-docs/quarkus-google-cloud-services/main/#authenticating?
Since we plan to build the application (ueber-jar, native app and possibly Docker container) once and use the same artifact in both the test and production environment, the project should be separate for the built package. What options do we have to achieve this?

These should be runtime configuration, secret manager is more complex as it needs to access the configuration early enought to be part of the configuration.
This sounds like a bug

I've decompiled the generated application and found the GCP project ID in the class io.quarkus.runtime.generated.Config. It's inserted into a hash map:
      var34.put("quarkus.google.cloud.project-id", "our-gcp-project-id");

The key/values from application.properties are also inserted into the same hash map as well as many other key/values controlling the logging level.
The project ID must be picked up from the environment at build time. Whatever default GCP project we set before building seems to become the built-in project. That's what we want except it should be picked up at runtime.

I have upgraded my project to the latest version:

Quarkus 2.8.1
quarkus-google-cloud-secret-manager 0.11.0

This resolves the bug. The project ID is no longer part of package but instead taken from the environment (service account) at run-time.
I don't understand what exactly has resolved it. The previous version were:

Quarkus 2.2.2
quarkus-google-cloud-secret-manager 0.10.0

@manuelbl there was fix on the way the secretmanager extension get the project id, it may fix your issue.
By the way, version 1.0.0 is out (but I just noticed I didn't promote it in Github) you should use it.
In fact, as the extension is in the Quarkus platform, you should not manage the version by yourself but let the platform do it for you, see https://quarkiverse.github.io/quarkiverse-docs/quarkus-google-cloud-services/main/#dependency-management

@loicmathieu Thanks for the hint re the Quarkus dependency management. I wasn't aware of that. Surprisingly, the uber-jar size has jumped from 53MB to 73MB.

I thought the problem was fixed but I've just tricked myself in the deployment. It's still present in the latest version even though I can't find our project ID anywhere in uber-jar. But it clearly picks it up at build-time.

Can you please provide a reproducer project and the detailed steps to reproduce the issue ?

Yes, I can do that. Might take a few days though.

Here it is already:
General setup
Two GCP projects are needed. This description assumes that they are:

my-project-test
my-project-prod

In the my-project-prod only, create a secret in the secret manager called test-cookie and set its value to a random text.
Finally, an environment with a service account is needed to run the Quarkus application in the my-project-prod project. I've used a Compute Engine instance.
The code
The code is mainly generated on https://code.quarkus.io/ by selecting RESTEasy Classic and Google Cloud Secret Manager, including starter code.
The modifications then are:

delete the tests
modify application.properties and the GreetingResource class (see below and in attachment)

application.properties:
app.cookie=${sm//test-cookie}
quarkus.http.port=9980

GreetingResource.java:
public class GreetingResource {

    @ConfigProperty(name = "app.cookie")
    Optional<String> cookie;

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return "The cookie is: " + cookie.get() + "\n";
    }
}

Note that the project name is not in the source code.
Building for the happy case
$ gcloud config set project my-project-prod
$ mvnw clean package -Dquarkus.package.type=uber-jar

Then transfer the built file issue-277-1.0.0-SNAPSHOT-runner.jar  to the execution environment and run it:
$ /usr/bin/java -jar issue-277-1.0.0-SNAPSHOT-runner.jar

From a separate shell in the same execution environment, test the endpoint:
$ wget -qO- http://localhost:9980/hello
The cookie is: Chocolate Cookie

That's the expected result: From an environment in the my-project-prod, the secret in the same environment is accessed.
Building for the sad case
$ gcloud config set project my-project-test
$ mvnw clean package -Dquarkus.package.type=uber-jar

Then transfer the built file to the execution environment (again in the my-project-prod project) and run it:
$ /usr/bin/java -jar issue-277-1.0.0-SNAPSHOT-runner.jar

From a separate shell in the same execution environment, test the endpoint:
$ wget http://localhost:9980/hello
--2022-04-20 19:04:45--  http://localhost:9980/hello
Resolving localhost (localhost)... ::1, <IP_ADDRESS>
Connecting to localhost (localhost)|::1|:9980... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2022-04-20 19:04:45 ERROR 500: Internal Server Error.

The request fails with HTTP error 500. The error message from the Quarkus app is attached. The suspicious line is:
Caused by: com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.versions.access' denied for resource 'projects/my-project-test/secrets/test-cookie/versions/latest' (or it may not exist).

and in particular:
resource 'projects/my-project-test/secrets/test-cookie/versions/latest'

Note that it refers to the project my-project-test even though the project name is not present in the source code and even though the application is executed in a different project. It can only have picked up the project name at build time.
Reproducer project: issue-277.zip
Quarkus application error message: error.txt

Do your instructions for configuring the project ID apply to run-time, build-time or both?

It should be runtime.
That's why I ask to defne the property inside the application.properties and override it at runtime using environement variable or system property.

From all I can tell, the project ID is compiled into the ueber-jar. In your proposal:

Will the project ID still be picked up from the build environment and compiled into the ueber-jar, but be overridden at run-time?
Or can I used an invalid project ID in application.properties at build time and that one will be compiled into the ueber-jar?
Or can I prevent the project ID from being compiled into the ueber-jar completely?

I'm being rather picky here as it is very relevant for security. We need to understand what's going on so we can prevent any security incidents due to a mix up of project IDs.

Everyting inside the application.properties will be included in the package.
And if there is nothing, it will do ServiceOptions.getDefaultProjectId at runtime (there was a bug and it was done at build time, I'm working on it).
At runtime, you can override it.
You can use a dumb projectId if you want, I didn't thought about the security implication of having a projectId in the final packaging, but as I said, today ServiceOptions.getDefaultProjectId is called at build time which is a bug I'm working on.

Thanks a lot.
What would be the simplest way to include your version into our project? Can I selectively build the secret-manager?

No, you need to checkout the branch and build the all project.
Building is quick, you can skip tests and it'll be a few tens of seconds : mvn clean install -DskipTests

Thank you very much. That fixes it.
This is without configuring quarkus.google.cloud.project-id. I've built it while logged in to one Google project and executed in an instance of a different project, and it has correctly picked up the runtime project. So the project ID is no longer compiled into the jar.

Fixed by #286


buildBazelPackage: cleanup hacks and enforce them for all builds

Motivation for this change
Timestamp verification skip is no longer needed (not sure why). Generally we
better off always using the environment hack for all packages because that
ensures all NIX_* flags are correctly applied.
One possible improvement in future is to filter only NIX_* variables to
passthru in Bazel.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@Profpatsch you may also be interested in reviewing this one too.

cc @uri-canva

Yep, saw this as part of #64716, looks good to me.

@GrahamcOfBorg build bazel-watcher bazel-deps


fix contributing link

Currently the Contribute links to CODE_OF_CONDUCT.md which doesn't make sense. It should direct the user to CONTRIBUTING.md file for starting to contribute.
A quick fix, let me know how does it sound.

@benawad Thank you for the Merge :) Never knew I will be contributing to a Million Dollar Unicorn Startup ;)
P.S. A big fan of your coding humor while explaining classic Programming Concepts!


Cleanup //  "grunt webpack" task warns about "babel-register"

If you clone the repo, install all of the globals and then run:
$ gulp webpack
[09:37:31] Failed to load external module babel-register
[09:37:31] Requiring external module babel-core/register
[09:37:32] Using gulpfile ~/Code/clint/ui/gulpfile.babel.js
[09:37:32] Starting 'webpack'...

The build continues and is ultimately successful, but we see a sketchy warning: Failed to load external module babel-register. Haven't had the time to look into it yet, but perhaps a version upgrade of babel-core would solve the issue.

Just as a convenience, here is a list of potential upgrades throughout the package:
$ ncu
 normalize.css          ^3.0.3  →   ^4.1.1
 babel-core             ^5.4.2  →   ^6.7.6
 babel-loader           ^5.0.0  →   ^6.2.4
 css-loader            ^0.19.0  →  ^0.23.1
 gulp-template          ^3.0.0  →   ^4.0.0
 html-webpack-plugin    ^1.7.0  →  ^2.15.0
 karma-mocha-reporter   ^1.0.2  →   ^2.0.0
 ng-annotate-loader     0.0.10  →    0.1.0
 node-libs-browser      ^0.5.0  →   ^1.0.0
 style-loader          ^0.12.2  →  ^0.13.1
 stylus-loader          ^1.1.1  →   ^2.0.0
 yargs                  ^3.9.0  →   ^4.6.0

Upgrading all packages to the latest (perhaps unsurprisingly) causes critical issues:
$ gulp webpack
[09:55:31] Requiring external module babel-register
/Users/adminaccount/Code/clint/ui/gulpfile.babel.js:3
import gulp from 'gulp';
^^^^^^

SyntaxError: Unexpected token import
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:404:25)
    at loader (/Users/adminaccount/Code/clint/ui/node_modules/babel-register/lib/node.js:126:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/adminaccount/Code/clint/ui/node_modules/babel-register/lib/node.js:136:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:193:16)

@slurmulon I am having that too. Looking for the solution too

+1

@bora89 I was able to come by this by introducing a .babelrc file with:
  "presets": ["es2015"]
}```

and adding extra dependencies:

npm install babel-preset-es2015 --save-dev
npm install babel-register --save-dev
npm install --save-dev run-sequence
npm install --save-dev del

@madflow thank you for the reply, but I am afraid that will work only with Babel 6.x. Did you update it safely?

Yes - it is for Babel 6. Sorry - I came to this repo for inspiration for a current project. I just started with what npm gave me. I can not comment on if it is save to update this specific "Starter Seed" - but I have no indication that you should not use angular+webpack+babel 6.x.

@madflow I did the same as you with ncu, babel 6 etc... I confirm that it works (after a couple of search... :) ) as you mentionned for the main part.
I still have some stylus alert to fix (on webpack script) but for now the NG6 starter seed works as before.


bump spark-sql version to 3.2.0

its only a provided dependency, but there's a few vulnerabilities in the transitive dependencies for 3.1.0.
dependabot opened this for it in the past https://github.com/IBM/FHIR/pull/2985 ...we closed but I forget why
Signed-off-by: Lee Surprenant<EMAIL_ADDRESS>

yeah - it doesn't work properly with our environment.  If you've tested this. I'll approve, I'd rather not accept it until it's tested

I ran the following local smoketest:

marked the spark and stocator dependencies as runtime (instead of provided)
deployed to a local test server
configured the server with an ibm-cos storageProvider that has "enableParquet": true1
loaded a db with 1690 practitioner resources,
ran an export with _outputFormat=application/fhir+parquet and _type=Practitioner

I noted this, but I think we had the same warning with 3.1.0 and I don’t think there’s much we could do about it:
Illegal reflective access by org.apache.spark.unsafe.Platform (file:/Users/lmsurpre/.m2/repository/org/apache/spark/spark-unsafe_2.12/3.2.0/spark-unsafe_2.12-3.2.0.jar) to constructor java.nio.DirectByteBuffer(long,int)

I also noted some odd logging behavior, but I'm not sure if thats a regression either...still investigating.

I confirmed that the odd logging behavior is not a regression (we get the same odd behavior with the current versions).
I opened https://github.com/IBM/FHIR/issues/3070 for that one and I think we're good to merge this in the meantime.


DEP: ANCOMBC unable to load phyloseq

Bug Description
ruuning ancombc on QIIME2-metagenomics-2024.5  on Linux.
Error: package or namespace load failed for ‘phyloseq’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/scratch/crh423/conda2/envs/qiime2-metagenome-2024.5/lib/R/library/ade4/libs/ade4.so':
/scratch/crh423/conda2/envs/qiime2-metagenome-2024.5/lib/R/bin/exec/../../lib/../.././libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /scratch/crh423/conda2/envs/qiime2-metagenome-2024.5/lib/R/library/ade4/libs/ade4.so)
Command
qiime composition ancombc --i-table end-all-taxa-5-metaphlan-table-freq-filt.qza  --m-metadata-file ../../../metadata-current.tsv --p-formula  "Type"  --o-differentials type-diff
Comments

I was able to get this to work by switching to q2-metagenome-2024.2
This error is not reproducible on MAC

Screenshots

Computation Environment

OS: Linux
QIIME 2 Release QIIME2-metagenomics-2024.5

I'm able to reproduce this on my linux machine as well.
We've found that all of the library objects are loaded from within the conda environment, so it's not a case of escaping the env.
Rather it appears that there's an unknown-to-conda conflict in libcxx here. This will take some investigation into the original recipes.

forum xref: https://forum.qiime2.org/t/q2-composition-ancombc-error/31271

seems like it's just an issue with the linux environment file. @Oddant1 is testing on his machine today to confirm.

okay so this is a confirmed issue with the linux environment files for 2024.5 (both metagenome and amplicon are affected). @Oddant1 confirmed that creating a fresh environment from the 2024.5 seed environment resolved the issue, so I'm re-minting the 2024.5 environment files and we'll make sure that fixes the issue before merging.


Docs: Server API: Typo fixed.

 You should sign our Contributor License Agreement in order to get your pull request merged.Konstantin Molchanov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).


[Bug]

Hi !!
I am trying to pass this command in google colab :
!CUDA_VISIBLE_DEVICES=0 PORT=29500 ./tools/dist_train.sh \ {/content/mmpose/configs/wholebody_2d_keypoint/topdown_heatmap/coco-wholebody/cspnext-m_udp_8xb64-210e_coco-wholebody-256x192.py}/group_fisher_{act}prune{cspnext-m_udp_8xb64-210e_coco-wholebody-256x192}.py 1
--work-dir '/content/mmrazor/work_dir'
and I am receiving this error :
/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py:181: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use-env is set by default in torchrun.
If your script expects --local-rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
usage: train.py [-h] [--work-dir WORK_DIR] [--amp] [--auto-scale-lr] [--resume]
[--cfg-options CFG_OPTIONS [CFG_OPTIONS ...]]
[--launcher {none,pytorch,slurm,mpi}] [--local_rank LOCAL_RANK]
config
train.py: error: unrecognized arguments: --local-rank=0
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 2) local_rank: 0 (pid: 10358) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 196, in
main()
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 192, in main
launch(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launch.py", line 177, in launch
run(args)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 785, in run
elastic_launch(
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
./tools/train.py FAILED
Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2023-10-17_14:58:52
host      : 511a211dac06
rank      : 0 (local_rank: 0)
exitcode  : 2 (pid: 10358)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
Did somebody had the same problem ?
Thank you for your attention

What I am trying to do is prunning an model from cpsnext called mmpose, is there any way to do this using a command ?

It seems that you use torch >= 2.0. Please use torch <2.0


S2 Messages Handling

This is PR includes the work of the past weeks regarding the handling of S2 messages.
It includes:

websocket_server.py and websocket_client.py to emulate a RM and CEM, as a standalone websockets server.
test_s2_coordinator.py and test_frbc_utils.py to test the functionality of the CEM and the FRBC control type.

This implementation only supports 1 RM per CEM. A potential workaround to support multiple RMs is to create one CEM per each RM, although it comes with some limitations:

Trigger happens, independently, in each CEM.
Integration of the data of the multiple RM can only happen in the cloud.

Please, let me know what do you think :D

Can you please still resolve the conflicts?


Update docs so that log-opts takes map ({}) instead of []

This fix updates docs so that log-opts takes map ({}) instead of [], as is defined in the impmenetation (map[string]string)
This fix fixes #22311.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

LGTM

LGTM :cat:


Sort resources by name

It would be nice if the resource types table was sorted in alphabetical order.

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

ID: c6dff4c3-d2d7-3825-d753-fc7338004f43
Version Independent ID: b2c190ac-1d2e-93fc-caee-d59c278f549a
Content: Recommended naming and tagging conventions - Cloud Adoption Framework
Content Source: docs/ready/azure-best-practices/naming-and-tagging.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#180237

The resources are now grouped by category. Take a look and let us know what you think. Thanks!


fix(select) 5449-update-model-properties-when-directly-changed

Attempted fix for issue #5449

This is planned for 1.5, see #12783


Mostly TOC changes

OPS Build status updates of commit 35cc331:
:clock10: Preparing: average preparing time is 39 sec(s)

OPS Build status updates of commit 35cc331:
:clock10: Incremental building: average incremental building time is 19 sec(s)

OPS Build status updates of commit 35cc331:
:warning: Validation status: warnings

File
Status
Preview URL
Details

enterprise-graph/create_source_schema.md
:warning:Warning

Details

enterprise-graph/toc.yml
:warning:Warning

Details

enterprise-graph/qs-creating-an-ontology.md
:white_check_mark:Succeeded

enterprise-graph/qs-querying-your-graph.md
:white_check_mark:Succeeded

enterprise-graph/create_source_schema.md

[Warning] Author stflanag cannot be recognized in GitHub.
Line 0: [Warning] Invalid file link:(~/mapping_source_data).
Line 44: [Warning] Invalid file link:(~/media/creating-your-ontology/create_source_schema.png).
Line 60: [Warning] Invalid file link:(~/media/creating-your-ontology/fields_not_mapped.png).

enterprise-graph/toc.yml

Line 0: [Warning] Invalid file link:(~/create-source-schema.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Customer question on Reinstalling and Updating packages

https://docs.microsoft.com/en-us/nuget/consume-packages/reinstalling-and-updating-packages#comments-container
zbalkan Aug 27, 2017
After a .Net Framework Upgrade (from 4.6.1 to 4.7 in my case), some packages need to be reinstalled, which notified in an untitle and unnumbered warning. I'm pretty sure this issue could be added to VS code analysis warnings as it's possible to reinstall those packages through command line or GUI in an easy way.

@kraigb  responded to the comment.


Disable horizontal scrolling when editing an element in explorer

Fixes #71291

Updated the PR just in case

Hi @jeanp413, I spent some time yesterday looking into this. Your changes do address the issue, and you showed really good insight in order to make them, great job! But since they are a bit hacky I won't merge them in. Ultimately if we were able to dynamically enable/disable list horizontal scrolling at runtime without needing to reload, this would be an easier fix: simply disable while the rename widget is visible and reenable it again.
So, I started that work here: https://github.com/microsoft/vscode/tree/joao/list-dynamic-horizontal-scrolling. So far I can already disable/enable the feature without a reload. So I'll now add the ability to do that while the widget is visible.
Thanks once again for your changes, I hope you understand!

Done: https://github.com/microsoft/vscode/commit/d6ee5437e300f07d032c92a50def90b0ebe77350
Thanks once again @jeanp413


-- Migrate from package:pedantic to package:lints

Describe the solution you'd like
Per the guidance from dart-lang/lints:
in each pubspec.yaml:
-  pedantic: ^1.11.0
+  lints: ^1.0.1

and in each analysis_options.yaml:
-include: package:pedantic/analysis_options.yaml
+include: package:lints/recommended.yaml

Hi, can I work on this issue?


getMatch expansion

When calling getMatch with sentence expansion=true, the annotation of the match is cut according to the krill.match.max.tokens but the primary data (surface text) not.
Some suggestions for solutions:

expansion should recognize the match-max-size + context-max-size.
sentenceExpansion configurable

These are two issues. One is: a) Primary data should respect the max values, even for span expansion and b) span expansion for maxes should probably take context size into account for max expansion.

I have created another issue for handling span expansion using context size. See https://github.com/KorAP/Krill/issues/144


Need better error handling around verisign API

Sometimes verisign won't even return a response, we should handle this with a better error message.
2016-01-13 18:09:44,418 ERROR: 'Response' [in /apps/lemur/lemur/common/utils.py:60]
Traceback (most recent call last):
  File "/apps/lemur/lemur/common/utils.py", line 46, in wrapper
    resp = f(*args, **kwargs)
  File "/apps/lemur/lemur/certificates/views.py", line 386, in post
    return service.create(**args)
  File "/apps/lemur/lemur/certificates/service.py", line 244, in create
    cert, private_key, cert_chain = mint(kwargs)
  File "/apps/lemur/lemur/certificates/service.py", line 151, in mint
    cert_body, cert_chain = issuer.create_certificate(csr, issuer_options)
  File "/apps/lemur/lemur/plugins/lemur_verisign/plugin.py", line 157, in create_certificate
    cert = handle_response(response.content)['Response']['Certificate']
KeyError: 'Response'

This is due to verisign actually trying to read some extensions from the CSR and returning a different kind of certificate.
2016-01-13 18:33:03,079 DEBUG: Verisign response: <Response xmlns:tns="http://webservices.mpki4ssl.verisign.com"><StatusCode>0x00</StatusCode><Message>success</Message>...<Order type="JavaCodeSigning" orderNumber="847091551" ordered="2" used="2" remaining="0" expiration="DEC 08, 2016" /></Response> [in /apps/lemur/lemur/plugins/lemur_verisign/plugin.py:118]
We can either support these other types of certificates, or we will have to disable/strip the extension data that is headed for verisign.


Restore AssemblyInfo files to their initial state after build

We patch AssemblyInfo files as a part of the build process. I've added target to restore those files to their original state after the build.
We need this PR because after the build we have a lot of dirty files in the git tree and it's pretty annoying to reset their state manually.

Thanks for the review 👍


Does SweRV run RISCV 64-bit unit tests? Is there a configuration to enable that?

I am able to compile RISCV tests in 32-bit mode and run them fine on SweRV RTL.
But when I run with 64-bit compiled tests, the Verilator behavior is unpredictable.
Not sure what is wrong. Need some guidance in setting the right configuration.
Krishna

Keep in mind that SweRV is 32IMC core - it is only 32-bit.
Z.
On Sat, Jun 8, 2019, 06:51 ksundara20<EMAIL_ADDRESS>wrote:

I am able to compile RISCV tests in 32-bit mode and run them fine on SweRV
RTL.
But when I run with 64-bit compiled tests, the Verilator behavior is
unpredictable.
Not sure what is wrong. Need some guidance in setting the right
configuration.
Krishna
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/westerndigitalcorporation/swerv_eh1/issues/24?email_source=notifications&email_token=AAI5KI3BAHRY7W5B3RAEVZ3PZO2OJA5CNFSM4HWHJZWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYMMGWA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI5KI7FHSMIPII3CNZFVWDPZO2OJANCNFSM4HWHJZWA
.

Hi Mr. Bandic, that explains it. But I am curious why that is not mentioned anywhere in the online documentation. I would appreciate it if you will add that to the README. Thanks.

Hi Krishna,
Please look at the overview chapter of the Programmer’s Reference Manual (PDF) for a list of the features supported by the SweRV EH1 core.
Kind regards,
Thomas

I have updated the README file to state that SweRV 1 is a 32-bit, machine
mode only, implementation of RISC-V including options I, M, and C.
On Sun, Jun 9, 2019 at 8:48 AM ksundara20<EMAIL_ADDRESS>wrote:

Hi Mr. Bandic, that explains it. But I am curious why that is not
mentioned anywhere in the online documentation. I would appreciate it if
you will add that to the README. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/westerndigitalcorporation/swerv_eh1/issues/24?email_source=notifications&email_token=AASHQXZ5D3OE2IMEVM3QAMDPZUCZJA5CNFSM4HWHJZWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIKPQA#issuecomment-500213696,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASHQX4TLYM3FRBZ5AVVIG3PZUCZJANCNFSM4HWHJZWA
.


User struct never contains an email

It seems like the User struct never contains a value for email, even when a given user's profile has a public email.

I wonder if maybe it's populated when viewing the current user with an oauth token that has email scope?

Do you mean User.Email, the user's public email?
If so, I can't reproduce. Here's an example user with a public email:
https://api.github.com/users/mojombo
(Note that "email" is present.)
And here's what UsersService.Get("mojombo") returns:

Can you post more details on how to reproduce this?

I've seen this happen, and even if the user has a public email in their E-mails settings, unless it's configured in their profile (https://github.com/settings/profile) as shown, then it won't show up when fetching Users, in which case, you need to hit the ListEmails (/user/emails).
Hope that helps?
Though when calling githubClient.Users.ListEmails(nil) i'm just getting 404's, but that is a different issue of course!

Hmm. The reported issue was that "User struct never contains an email" (emphasis mine), which I think https://github.com/google/go-github/issues/305#issuecomment-198214426 is a good counter-example proof.
If the email field was indeed never populated, then we could/should remove it. But if it's only populated some of the time but not always, there's nothing we need to change.
I think we should close this as not a bug.


Fixing indentation of example code

Quick change to make the indentation of this page consistant.
Previously had a mix of 2 and 4 spaces.
Updated to 4 spaces to match the example bellow.

@Apollo-Roboto : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@dlepow
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

#sign-off


Kotlin Gradle plugin version error

When I tried to run a new project (react-native run-android) I got the following:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':callstack_repack' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10

It looks like I needed to add kotlinVersion = "1.5.20" in the android build.gradle.
That is not mentioned in the Getting started page, so I assume is not an expected behaviour.
I was able to deduce the solution from this line of code. I discovered that it is taking the version 1.4.10 here.
A default compatible version should be set for the plugin, or more information/steps is needed in the Getting started guide.

@malkomich I've merged a fix for this issue, I plan to publish new Repack release tomorrow, cheers!

Nice! Thank you @RafikiTiki 😃


Fix a bug where putting files into open commits fail silently

The solution is to have a separate "open commits" collection wherein a commit ID exists if it's open.  Then, PutFile is done in a transaction whose pre-condition is that the commit exists in the collection.  The motivation behind the design is to ensure that PutFile only involves one round-trip to etcd.
One complication is that if you call PutFile with a branch name such as master, we still need one more round-trip to figure out the real commit ID of master.  Thus, a note is added into the documentation to clarify that there's a small performance overhead for using branch names in put-file.  Such performance overhead should only manifest if you issue a large amount of PutFile with small files.

Fixes #2003


Scroll wheel event in centered layout sashes should still scroll editor

Issue Type: Feature Request

Toggle centered layout
Use scroll wheel in sashes on the side
Observe no scrolling

Expected:
Still scrolls as this is the only relevant scroll bar in the view (especially in Zen mode)
VS Code version: Code 1.21.1 (79b44aa704ce542d8ca4a3cc44cfca566e7720f1, 2018-03-14T14:46:47.128Z)
OS version: Windows_NT x64 10.0.17123

If you mean the vertical scroll this is a fair feature request.
We accept PRs that fix this, however might not be trivial since the scrolling is embeded in the editor and the sashes migh not have access to that
Code pointer https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/browser/parts/editor/editorGroupsControl.ts#L100


Added csvs for all function coefficients

Brief description
Added csvs for the coefficients for all functions, and updated existing to include interactions. Functions are for empowerment, intent, and contraceptive use. Also added the R code to create these.
closes #370 closes #361
Type(s) of change

[ ] Bugfix
[ ] Refactor
[ ] New feature
[ ] Other

Checklist

My code follows the style guide

[ ] Yes
[ ] N/A

I've commented my code

[ ] Yes
[ ] N/A

I've incremented the version number

[ ] Yes
[ ] N/A

I've updated the changelog

[ ] Yes
[ ] N/A

I've added tests and checked code coverage

[ ] Yes
[ ] N/A

Closing to reopen against methodtime feature branch


Arrowhead Excercise

Was a bit unsure about what to do for this exercise. From what I gathered, it seems like I was to make the if/then rabbit hole simple by checking and returning errors first and then going about the rest of the program. I also thought the addition of commas at the end of the array was an error so I omitted those too.
Cheers.

Nice first iteration.  Take a look at the comments above, refactor and resubmit.  Let me know if you have any questions.


fix: only relevant units are shown in search filter

🛠 Changelog

Requires backend changes: query timeout's only in production.
https://github.com/City-of-Helsinki/tilavarauspalvelu-ui/pull/1166
original reverted waiting for backend changes

🧪 Test plan

Manual testing: see original PR.

🎫 Tickets

TILA-3247
TILA-3248

Recreating this PR because rebase doesn't like that the commit was reverted.


storage/driver/azure: Update to azure-sdk-for-go 2.x

https://github.com/MSOpenTech/azure-sdk-for-go has a breaking change in its newer releases (see PR 41). Once updated to latest, import paths and several pointer usages must be fixed.
I'll do that sometime (assign to me, please). It's not really urgent as no new functionality added or anything is fixed.

@ahmetalpbalkan do you want this to happen before docker/1.6 release?

@dmp42 hmm, I think it's not really required at this point. It can stay as is. I did not have a chance/time to spin up a registry with azure driver and try it with docker master binaries, though. :sob:

Ok, n.p.
Thanks Ahmet.

@ahmetalpbalkan Will you have bandwidth to get this together for 2.1 or should I move it off this milestone?

Please let's move off. We haven't settled on a stable API in the rewrite yet. Thanks.

Closed via #623.


counting cars

can this method be used to count cars instead of people ?

On 15 Mar 2016, at 04:11, hardjob<EMAIL_ADDRESS>wrote:
can this method be used to count cars instead of people ?

In theory yes, but with a caveat: if you’re using a low power device like a pi, then it can only process around 10 frames per second. This means it will miss cars if you’re zoomed in too close, since they go a lot faster than people.
However, cars on a far away camera will show up fairly small, so you’ll need to tweak and test parameters to get reasonably accurate results.
In summary, I wouldn’t like to guarantee it’ll work: but if you try it out then let us know how it goes!
Oliver.

thanks i'll try this


 It relies on this webservice PR https://github.com/dockstore/dockstore/pull/5243.
The UI closely follows this mock-up, but there's some deviations based on what I thought made the most sense for us.

Pending invitations don't have a Resend Invite button because I don't think that makes sense for us. Instead, they have the Edit button so an admin can edit the invitation role
There was no mock-up for rejected invites, but I made them look like pending invitations, except instead of an Edit button, it has a Resend Invite button

Functionality changes:

Organization admins can view pending and rejected invitations.
For pending invitations, they can:

Edit the member role
Delete the invitation

For rejected invitations, they can:

Resend the invite (the requested user will see it in their requests tab)
Delete the invitation. Rejected invitations do not go away on their own. The admin must delete it to remove the organization user.

The functionality of accepted members remains the same. Admins can edit their roles or remove them from the organization
The members count displayed in the Members tab includes pending and rejected invitations for the admin. The public view only shows accepted members
The members are displayed in one column if the user can edit membership so that the buttons can fit without overlapping in the card. This also matches the mock-up
Updated the Add User button to Invite a Member to match the mock-up. Also updated the dialog to match this mock-up.

Other changes:

Noticed some tests in organization.ts were being skipped, so I removed .skip and updated them so they pass
Remove duplicate function declarations in constants.ts
Updated some related dialog button texts to match the other re-designed dialogs we have

Ex: No thanks -> Cancel

Updated the Add Collection button so it matches the mock-up because I also updated the Member's Add User button to match the mock-up
Made a small change in a CWL workflow file in the db dump because it was causing two tests to fail. It wasn't revealed before because the UI tests were using the 1.13.0 webservice artifact and not what's latest in develop.

This workflow was causing a Unprocessable Entity: Unable to parse CWL workflow when getting the tools json table. The fix was to fix the indentation of one line in the workflow file

I attached some screenshots and videos to show the UI and the functionality. The videos don't work for me in Firefox so if the same happens to you, try Chrome.
Organization admin view before:

Organization admin view after:

Admin interacting with pending invitation:
https://user-images.githubusercontent.com/25287123/202487052-9f92c777-94eb-4dc1-8520-470c0e0b6fca.mp4
Admin resending invite for rejected invitation:
https://user-images.githubusercontent.com/25287123/202485656-add5a7b4-8383-4687-842f-78be720fedb7.mp4
Admin deleting rejected invitation:
https://user-images.githubusercontent.com/25287123/202485728-9421a355-2b8a-44b3-943b-98a582a48fd6.mp4
Admin interacting with accepted invitation:
https://user-images.githubusercontent.com/25287123/202485788-097419f9-2545-4cbd-8555-ca300421012d.mp4
I'll update the CircleCI jar to one off the develop branch after I merge the webservice PR
Review Instructions

Create an organization and invite users to it. Verify that users who haven't accepted the invite yet are displayed in the Members tab and that you can edit the member's role and delete the invitation.
Invite a user then have that user reject the invite. Verify that the user shows up in the Members tab and that you can resend an invitation to the user. This should update the invitation from Rejected Invitation to Pending Invitation.

Issue
https://github.com/dockstore/dockstore/issues/4226
DOCK-1781
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain
[ ] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Might be better to wait for the new dashboard My Organizations to be implemented before updating the docs

Made a small change in a CWL workflow file in the db dump because it was causing two tests to fail. It wasn't revealed before because the UI tests were using the 1.13.0 webservice artifact and not what's latest in develop.

Neat, FYI @svonworl

Looking at this code, and in regards to my comment on your web PR, I see that we have always had the UI filter members.

I know we're not showing it in the UI currently, but technically that info shouldn't be available via the API either.

I changed the webservice PR so that only organization admins can view all members. This allowed me to remove the member filtering in the UI. Re-requesting your review

Discussed, case changes are not actually failing when running against the webservice

FYI, I changed references of plain- or PLAIN- to PLAIN_ to match the webservice openapi: https://github.com/dockstore/dockstore/blob/86ba4b876c0018cd7aff7a43557869473759536d/dockstore-webservice/src/main/resources/openapi3/openapi.yaml#L2828-L2832
I didn't change it to fix any failures against the webservice


[5.7] HttpException to HttpExceptionInterface

For exceptions handling, i think laravel should check if exception is HttpExceptionInterface instead of HttpException for more flexibility.

https://github.com/laravel/framework/pull/23712/commits/70884dacc948d314164ccb3053cc7d0a05b34c03

Use fully qualified class name in DocBlock:
\Symfony\Component\HttpKernel\Exception\HttpExceptionInterface

Not changing this type hint on a point release.

Do not understand, is it convenient to say the specific reasons?

It means that you should create a new PR with this change targeting the master branch (5.8).

If HttpException implements the HttpExceptionInterface, I see no reason why this shouldn't be go to 5.7

@deleugpn Because changing the method signature is a breaking change. If anybody has overridden that method in their app exception handler after this change they'd get this:
Declaration of App\Exceptions\Handler::renderHttpException(Symfony\Component\HttpKernel\Exception\HttpException $e) should be compatible with Illuminate\Foundation\Exceptions\Handler::renderHttpException(Symfony\Component\HttpKernel\Exception\HttpExceptionInterface $e)

@yuchonghua yes, just create same PR for the master branch.

ok, thank you very much

https://github.com/laravel/framework/pull/25975

https://github.com/laravel/framework/pull/25975#issuecomment-427554438
In phpstrom annotations, how to automate use fully qualified class name in DocBlock
/ping @antonkomarev

When you start typing class name you will see in autocomplete box imported class as well as fully qualified. Imported class will has double arrows icon before the class name.

Okay thank you


Could a new release be considered to remove the 0.7MB logo from the package ?

Hello, packaging my Castor app as a Phar I've tried to reduce the size as much as I could but the main culprit remains the packaged logo in this lib.
Representing 11% of the total phar archive.

I've seen the commit fixing this issue  but it hasn't been released yet.
So before implementing a workaround on my side that would become obsolete in the next release, I was just wondering if a new release is / could be considered soon ?
Thanks

https://github.com/Seldaek/monolog/releases/tag/3.6.0 is now out sorry for the delay


K8S resource update will cause the master/backup switching

Hey, guys, I'm back ...
In short:
when any k8s resources get updated(svc,pod,configmap), I observe the MASTER keepalived instance will switch to BACKUP. (version = 0.33), because the "Cleanup()" in every reload logic.
Wed May 15 09:31:51 2019: (vips) removing VIPs.
Wed May 15 09:31:51 2019: (vips) Entering BACKUP STATE (init)

(1) who will suffer ?
During this transition, if at this moment,  the keep-alive connections will suffer from connection lost.
(my test: running ab -c 200 -n 10000 -k http://$VIP/ ( the -k means enable keep-alive),
during the MASTER/BACKUP transition, a few seconds, the client will fail apr_socket_recv: Connection reset by peer (104))
(2) suspicion:
I found Cleanup() is involved in Reload(), it seems unreasonable , because it will remove the VIP from the NIC, and cause master/backup switching.
// Reload sends SIGHUP to keepalived to reload the configuration.
func (k *keepalived) Reload() error {
    glog.Info("Waiting for keepalived to start")
    for !k.IsRunning() {
        time.Sleep(time.Second)
    }

    k.Cleanup()
    glog.Info("reloading keepalived")
    err := syscall.Kill(k.cmd.Process.Pid, syscall.SIGHUP)

I'm also digging the rational for Cleanup() here, And also hope you gurus can share a quick hint here.
(3) detail logs
the master log as below:
I0515 09:31:50.946543       8 keepalived.go:167] Waiting for keepalived to start
I0515 09:31:50.946589       8 keepalived.go:250] Cleanup: [10.6.*.112 10.6.*.101]
I0515 09:31:50.946596       8 keepalived.go:272] removing configured VIP 10.6.*.112
Wed May 15 09:31:50 2019: Netlink reflector reports IP <IP_ADDRESS> removed from ens192
Wed May 15 09:31:50 2019: (vips) Entering BACKUP STATE
Wed May 15 09:31:50 2019: (vips) sent 0 priority
Wed May 15 09:31:50 2019: (vips) removing VIPs.
I0515 09:31:51.146184       8 keepalived.go:272] removing configured VIP <IP_ADDRESS>
Wed May 15 09:31:51 2019: Unknown VRID(13) received on interface(ens192). ignoring...
I0515 09:31:51.452042       8 keepalived.go:173] reloading keepalived
Wed May 15 09:31:51 2019: Reloading ...
Wed May 15 09:31:51 2019: Opening file '/etc/keepalived/keepalived.conf'.
Wed May 15 09:31:51 2019: Reloading
Wed May 15 09:31:51 2019: Got SIGHUP, reloading checker configuration
Wed May 15 09:31:51 2019: Reloading
Wed May 15 09:31:51 2019: Opening file '/etc/keepalived/keepalived.conf'.
Wed May 15 09:31:51 2019: Initializing ipvs
Wed May 15 09:31:51 2019: service [<IP_ADDRESS>]:tcp:80 no longer exist
Wed May 15 09:31:51 2019: Opening file '/etc/keepalived/keepalived.conf'.
Wed May 15 09:31:51 2019: Removing service [<IP_ADDRESS>]:tcp:80 from VS [<IP_ADDRESS>]:tcp:80
Wed May 15 09:31:51 2019: Activating healthchecker for service [<IP_ADDRESS>]:tcp:80 for VS [<IP_ADDRESS>]:tcp:80
Wed May 15 09:31:51 2019: Activating healthchecker for service [<IP_ADDRESS>]:tcp:80 for VS [<IP_ADDRESS>]:tcp:80
Wed May 15 09:31:51 2019: Activating healthchecker for service [<IP_ADDRESS>]:tcp:80 for VS [<IP_ADDRESS>]:tcp:80
Wed May 15 09:31:51 2019: Activating healthchecker for service [<IP_ADDRESS>]:tcp:80 for VS [<IP_ADDRESS>]:tcp:80
Wed May 15 09:31:51 2019: SECURITY VIOLATION - scripts are being executed but script_security not enabled.
Wed May 15 09:31:51 2019: (vips) Ignoring track_interface ens192 since own interface
Wed May 15 09:31:51 2019: Assigned address 10.6.*.43 for interface ens192
Wed May 15 09:31:51 2019: Assigned address fe80::250:56ff:feb4:3f33 for interface ens192
Wed May 15 09:31:51 2019: (vips) removing VIPs.
Wed May 15 09:31:51 2019: (vips) Entering BACKUP STATE (init)
Wed May 15 09:31:51 2019: VRRP sockpool: [ifindex(2), family(IPv4), proto(112), unicast(0), fd(11,12)]

when any k8s resources get updated(svc,pod,configmap)

It shouldn't be triggered on every svc, pod, configmap change in kubernetes. It should only be if specifically the keepalived configmap changes or any svc/endpoint that is related to a vip in that configmap changes. Are you seeing something different?

I'm also digging the rational for Cleanup() here, And also hope you gurus can share a quick hint here.

The intent was to cleanup VIPs on startup to fix duplicate VIPs issue since keepalived didn't do it properly itself. Since then, there were other changes that cleaning up in reload doesn't make sense anymore. Now that we have the health check I think we can actually remove the cleanup in reload. The health check now will trigger a shutdown if not MASTER and has a VIP, and shutdown calls Cleanup() to remove the duplicate VIP.
E0516 16:03:39.525379       6 main.go:464] Health check unsuccessful: BACKUP should not contain VIP <IP_ADDRESS>
I0516 16:03:39.887737       6 main.go:325] Received SIGTERM, shutting down
I0516 16:03:39.887786       6 main.go:343] shutting down controller queues
I0516 16:03:39.887808       6 keepalived.go:252] Cleanup: [<IP_ADDRESS>]
I0516 16:03:39.887846       6 keepalived.go:274] removing configured VIP <IP_ADDRESS>
I0516 16:03:40.061462       6 main.go:333] Exiting with 0
Thu May 16 16:03:40 2019: Stopping

I can do a PR for this.


Changing directories

Fixed automatically by fixing the stat function in https://github.com/ByteOtter/nuFAT/pull/1


Compile blade file to .php instead of .html

I want to compile a blade to .php instead of .html.  I use PHPMailer to send emails and I want to use Session_start () to tell the contact.blade.php if the mail has been sent or if an error has occurred.
How can I achieve this?

@sir-red-dab the idea behind Jigsaw is to create a static website that can be hosted on simple hosting services like Github Pages and Netlify. If Jigsaw started generating PHP files and requiring users to host those, it would not be a static website and would not be able to be hosted on those platforms.


Update the ROCm version to 6.2

When upgrading to the latest version of ROCm, the vLLM installation error was fixed.
Tested on AMD Radeon RX 7900 XTX.
The image is assembled without errors when setting the arguments to true
services:
  llamafactory:
    build:
      dockerfile: ./docker/docker-rocm/Dockerfile
      context: ../..
      args:
        INSTALL_BNB: true
        INSTALL_VLLM: true
        INSTALL_DEEPSPEED: true
        INSTALL_FLASHATTN: true

LGTM!


Specialize unit enum variants to only serialize variant name

this simplifies serialization/deserialization for unit enum variants which only need to serialize the variant name
example:
enum Animal{
   Cat,
   Dog
}
let animal = Animal::Dog;

animal will now be serialized as "Dog" instead of {"Dog":[]}

:+1:

I'm not sure if it'd be appropriate in the deserializer to decide to serialize enums like this. Instead, I mentioned in https://github.com/serde-rs/serde/issues/251#issuecomment-188382905 an idea on how to allow the serializee to decide on whether or not it should be serialized as a string. Can we shift the discussion over to that issue?

:umbrella: The latest upstream changes (presumably c53ce95) made this pull request unmergeable. Please resolve the merge conflicts.

I agree that this is better addressed by https://github.com/serde-rs/serde/issues/251, so we can close this PR.


FIX: Add a retry to result fetching in filters

See Slack
Problem
Mar 09 23:17:37 ip-172-31-40-164 nox[37276]: 2024-03-09T23:17:37.158639Z ERROR tokio-runtime-worker ThreadId(04) chain-listener: newHeads event processing error: newHeads: timestamp field not found; got {"code":23,"message":"failed to process events: Tendermint RPC error: response error\n\nCaused by:\n    Internal error: could not find results for height #1006291 (code: -32603)\n\nLocation:\n    /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9 (code: 0)"}

We receive this event when we do eth_subscribe for newHeads:
{"code":23,"message":"failed to process events: Tendermint RPC error: response error\n\nCaused by:\n    Internal error: could not find results for height #1006291 (code: -32603)\n\nLocation:\n    /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9 (code: 0)"}
It did happen before, but it was rare, and now it happens almost constantly. Maybe 1 out of 10 comes a normal Block Header.

Here's how we subscribe
https://github.com/fluencelabs/nox/blob/master/crates/chain-listener/src/listener.rs#L490-L505
ws_client.subscribe("eth_subscribe", rpc_params!["newHeads"], "eth_unsubscribe")

these are logs from ETH Relay,
2024-03-10T00:22:00.942578Z ERROR fendermint/eth/api/src/filters.rs:702: filter subscription error id=15601448746221408946 query="message.to = 'f410fsfsfbk3zkmjid2gjywhl2yebvgrmjuo6gdcqo3i' AND event.t1 = '8e4b27eeb3194deef0b3140997e6b82f53eb7350daceb9355268009b92f70add' AND event.t2 = 'b068321220c4095a955bca5bd4af9612ad80d5456c7cb22adbb1bb224c5a2b74'" error=response error
    /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9

2024-03-10T01:01:52.336574Z  INFO fendermint/eth/api/src/filters.rs:423: handling filter events id=4280370999387660030

    /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9 (code: 0) id=10488377558512049232
Location:
    Internal error: could not find results for height #1010749 (code: -32603)

Caused by:
2024-03-10T01:01:52.245167Z ERROR fendermint/eth/api/src/filters.rs:604: sending error to WS: failed to process events: Tendermint RPC error: response error
2024-03-10T01:01:01.143922Z  INFO fendermint/eth/api/src/filters.rs:423: handling filter events id=10488377558512049232

    /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9 (code: 0) id=11818235614209661783
Location:

Bandaid
When eth_subscribe is used with the WebSocket client it needs full blocks, whereas in the JSON-RPC API it needs block hash. To construct full blocks, we need to fetch transcaction results: even though the block will only contain the hashes when it's sent to the client, to fill the gas_used for example we need all the transactions.
The NewBlock event we receive from Tendermint has result_begin_block and result_end_block, but for some reason the logs above say that height cannot be queried yet. This PR adds a retry loop there, assuming that we procude blocks with ~1 interval, so if we try max 5 times with 1s sleep we should see something.

An alternative implementation would be to store the event and wait for the next NewBlock to signal that the results must be available by now. This might involve more delay, but there's no retry loop and sleep involved.


Change array to string in map variable

Throws a validation error, all the map elements must have the same type

This would require the confirms to move to 0.12, which is why I've been holding off on merging this. Changing to a string breaks 0.11.

Gotcha, honestly after I did this I went the rest of the way and there are about 8 other errors that are blocking.
Probably should just close this out, considering your going to have a bunch of other stuff to go along with it.

@sethvargo Do you have a working branch somewhere locally or have you not even started looking at what it would take?

@RiFi2k These scripts are used heavily by enterprises who don't necessarily jump on the latest version. My plan is to do a sweeping, breaking-changes update when 12.1 is released.

We are moving off bare metal right now and building out a whole new setup for everyone in GCP, so I'm looking to not build out in a version that is just in maintain mode. Anyways just wondering if you had something tucked away.


Cleaned up code for the session selection

Use the selected flag instead of icons.
Now will show checkbox checkmark for options you selected in session.

#492


Daterangepicker Laggs

Hey i have some problems with the Daterangepicker.
If i type in the enddate as example to 31.12.2099 the whole Site gets very laggy and hang.
Any Solution or fixes for this Issue?

@kernle27
first of all, try to update to the latest 4.4.x (Angular 15)

@kernle27 potential fix on the way

@kernle27
check it out with the latest v4.4.6

@xidedix thank you for your help. i will give it a try

Hey i have Updated to the newest Version and it worked. Thanks


Create sethi

ℹ Repository information
The repository has:

[ ] At least three issues with the good first issue label.
[ ] At least 10 contributors.
[ ] Detailed setup instructions for the project.
[ ] CONTRIBUTING.md
[ ] Actively maintained.

testing


Uri to specific line doesn't work

VSCode Version: 1.5.1
OS Version: 10.11.6 (15G1004)

Steps to Reproduce:

Create an extension that uses vscode.previewHtml command to open an URI that is registered to TextDocumentContentProvider
Generate a document that contains a link to a file URI to a specific line. I've noticed the file needs to be in the current project that is open. If it's not, the bug doesn't appear.
The link doesn't work when it has also a line reference, without it it works.

For example I was able to reproduce the issue with the extension below. Execute the command when there's a file open in the project. The URI to the file to a specific line doesn't work, but the URI to the same file without line specified it works.
"use strict";

const vscode = require("vscode");

const scheme = "test-scheme";
const eventEmitter = new vscode.EventEmitter();

const provider = {
    scheme,

    provideTextDocumentContent: function(uri) {
        const file = vscode.window.activeTextEditor.document.uri.toString();
        const urlWithLine = `${ file }#L10`;
        const urlWoLine = `${ file }`;
        return `
Link to file with line, doesn't work

Link to same file without line, works
`;
    },

    onDidChange: function() {
        return eventEmitter.event;
    },

    update: function(uri) {
        eventEmitter.fire(uri);
    }
};

function exec() {
    const uri = vscode.Uri.parse(`${ scheme }://test/test`);
    vscode.commands.executeCommand("vscode.previewHtml", uri);
}

function activate(context) {
    context.subscriptions.push(vscode.commands.registerCommand("testExt.exec", exec));

    context.subscriptions.push(vscode.workspace.registerTextDocumentContentProvider(scheme, provider));
}

exports.activate = activate;

@kieferrm This is a regression from https://github.com/Microsoft/vscode/commit/f165bc60395537ed9bd9a56880feb81064329e92 and I think I finally need to understand you guys did there ;-)

The code tries to determine if the anchor target is within the displayed document and if so to scroll to it. For that it uses the webView's baseUrl. The baseUrl, however,  is set to the workspace root not the url that is being displayed in the html preview. As this is the only use/purpose of the baseUrl we should change the baseUrl to be the uri of the resource being displayed in the html preview. This could be achieved by changing HtmlPreviewPart:setInput along the lines of
	public setInput(input: EditorInput, options: EditorOptions): TPromise<void> {

		if (this.input === input && this._hasValidModel()) {
			return TPromise.as(undefined);
		}

		this._model = undefined;
		this._modelChangeSubscription.dispose();

		if (!(input instanceof HtmlInput)) {
			return TPromise.wrapError<void>('Invalid input');
		}

		return super.setInput(input, options).then(() => {
			let resourceUri = (<HtmlInput>input).getResource();
			return this._editorService.resolveEditorModel({ resource: resourceUri }).then(model => {
				if (model instanceof BaseTextEditorModel) {
					this._model = model.textEditorModel;
				}
				if (!this._model) {
					return TPromise.wrapError<void>(localize('html.voidInput', "Invalid editor input."));
				}
				this._modelChangeSubscription = this._model.onDidChangeContent(() => this.webview.contents = this._model.getLinesContent());
				this.webview.baseUrl = resourceUri.toString(true);
				this.webview.contents = this._model.getLinesContent();
			});
		});
	}

and by making sure the web view is creating or updating the base element accordingly.

Unsure if that breaks cases in which folks have server relative paths (we have seen things like that with the extensions preview). We should consider using window.location for the in-page navigation.

fixed with #12966


Fix #1368 - getResources should never return null

This has been tested manually and confirmed to fix the original issue in which the return null broke builds that used hazelcast.
I've checked for any code within the sbt repo relying on a null return from getResources, but could find none apart from the updated lines and ClassLoaders.scala.
I've left the null check and subsequent null return in place on line 89 of ClassLoaders.scala as it does no harm and might conceivably be relied on by third party code with it's own non compliant classloader.

Can one of the admins verify this patch?

LGTM pending CI.

LGTM as well


Dragging the floating player should not toggle Play state

Drag the floating player ... every time we release, the Play state toggles.

Upgrading to 7.15.4 was the culprit.  Something in our code needs updating.


fix(crux-ui): breadcrumb navigations on list pages

Fix: Breadcrumb navigation on list pages while creating a new item.

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

Project coverage is 11.86%. Comparing base (2d22943) to head (2e4b9c9).
Report is 3 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #928      +/-   ##
===========================================
- Coverage    17.96%   11.86%   -6.11%
===========================================
  Files          346      274      -72
  Lines        17429     9727    -7702
  Branches      1020     1021       +1
===========================================
- Hits          3131     1154    -1977
+ Misses       14109     8548    -5561
+ Partials       189       25     -164

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


Bug Report

Bug Report: Joyboy Application
Mobile Account Claiming Tips and Import Issues

Claiming Tips on Mobile:

Issue: When trying to claim my tips on mobile, I encountered an issue where I was unable to claim my tips using my Braavos wallet.
Steps to Reproduce:

Open Joyboy application on mobile.
Log into your account.
Try to claim tips using Bravoos wallet.
Observe the inability to claim tips due to the fact that there is no Braavos (mobile) option.

Desktop Account Import:

Issue: I could not import the account I created on mobile to desktop.
Steps to Reproduce:

Create an account on the mobile application.
Attempt to import the account on the desktop application.
Observe the failure to import.

Warning Message on Account Import:

Issue: The message "creating your account will delete my current account" appears when I try to import another account, instead of logging out of the current account.
Steps to Reproduce:

Log into an account.
Attempt to import another account.
Observe the warning message.

Profile Update Issues

Profile Information Update:

Issue: Error messages "failed to update profile" and "request failed with no response" appear when I tried to update my profile information.
Steps to Reproduce:

Navigate to profile settings.
Attempt to update profile information.
Observe the error messages.

Profile Picture Update:

Issue: The issue persisted even after trying with different profile pictures.
Steps to Reproduce:

Navigate to profile settings.
Attempt to update profile picture with different images.
Observe the error messages.

Commenting and Reaction Issues

Comment Posting Delay:

Issue: Comments took a while to appear after posting.
Steps to Reproduce:

Post a comment on any content.
Observe the delay before the comment appears.

Reaction (Like) Delay:

Issue: Reactions (likes) took a while to appear on comments.
Steps to Reproduce:

Like a comment.
Observe the delay before the like appears.

Notification Issues

Comment Notifications:

Issue: I did not receive notifications on comments on my posts.
Steps to Reproduce:

Post content on the Joyboy application.
Have someone comment on the post.
Observe the absence of notifications for the comment.

Reaction Notifications:

Issue: I did not receive notifications on reactions (likes) on my posts.
Steps to Reproduce:

Post content on the Joyboy application.
Have someone react (like) the post.
Observe the absence of notifications for the reaction.

Icon Functionality Issues

Non-functional Icons:

Issue: The Share icon, About icon, and Follow icon are not working.
Steps to Reproduce:

Click on the Share icon, About icon, or Follow icon.
Observe no action or response.

Tokens Name Buttons Visibility:

Issue: Tokens names are not visible until I clicked.
Steps to Reproduce:

Navigate to the section with token buttons.
Observe the buttons not being visible until clicked.

Page Refresh Issues

Page Refresh Logout:

Issue: Refreshing the page logs me out and takes me back to the login page.
Steps to Reproduce:

Log into the Joyboy application.
Refresh the page.
Observe being logged out and redirected to the login page.

Tip Claiming Issues

Tip Claim Error:

Issue: Error prompt "Request failed with no response, please try again later" appears whenever I try to claim tips.
Steps to Reproduce:

Attempt to claim a tip.
Observe the error prompt.

Tip Claim Error Code:

Issue: Error prompt "Request failed with error code: ESTIMATION_ERROR" appears after trying again. I still have not been able to claim my tips.
Steps to Reproduce:

Attempt to claim a tip again.
Observe the error code prompt.

News Feed Issue

Blank Screen on News Feed:

Issue: A blank screen appears when clicking on the news feed icon, requiring a page refresh to load the news feed.
Steps to Reproduce:

Click on the news feed icon.
Observe the blank screen.
Refresh the page to load the news feed.

Okay. On it

Closing this in favour of other issues


retry failed requests

Feature Request
Proprty on IBotClient to retry requests that fail due to throttling on tg server.

I think it should be a property on request base class to allow per request setting. And it means that we need to implement all Bot API methods in terms of requests and responses first.

I think it should be a property on request base class to allow per request setting. And it means that we need to implement all Bot API methods in terms of requests and responses first.

What about now? 🗻


Scrape the entire universe of story data from the API

Is this even possible?

Closing since it works. Need specific tix.


Typing in Japanese text doubles its input

Describe the bug
When typing text in Japanese, after choosing the right kanji in the dropdown menu (IME system), MacVim input the text twice. For instance, typing あああ inputs ああああああ.
BTW: The CUI Vim that I built did not reproduce this problem.
minimum vimrc
set backspace=indent,eol,start
noremap! <Left> <Nop>

To Reproduce
Detailed steps to reproduce the behavior:

Run mvim --noplugin
Type Japanese and choosing the right kanji in the dropdown menu (IME system)

Expected behavior
Typing in Japanese text equal its input
Screenshots

Environment (please complete the following information):

Vim version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 12 2020 00:47:07)
macOS version
Included patches: 1-539
Compiled by<EMAIL_ADDRESS>Huge version with MacVim GUI.   When I test MacVim using Japanese input I don't see this, but there are different ways to enter Japanese text so I'm trying to understand exactly the input method you are using.

@ychin
Thanks for your quick resopnce.
I use google IME.
However, in my environment, this problem is reproduced using the standard MacOS IME.
reference

https://www.google.co.jp/ime/

Sorry for the delay, but have you tried using --clean @kazukazuinaina ? Otherwise can you show me what settings you have by showing your vimrc and results of running defaults read org.vim.MacVim | grep MM?

I am very sorry.
I tried the following steps to reproduce it clearly, but it did not reproduce.
minimum vimrc
set backspace=indent,eol,start
noremap! <Left> <Nop>

running mvim --noplugin -u vimrc.mim ( vimrc.min is the configuration shown above. )
There may be some kind of interference with the plugin.
Since I can't show you a reliable way to reproduce the problem, I'll close this problem for now.
I am very sorry.

Hmm ok. If you know which plugin, and they find out it's a MacVim issue feel free to re-open the issue.


TypeTag instances for SCrypt

I'm using Doobie and while trying to build an instance of Meta from another Meta using xmap, I've stumbed upon an issue. The xmap method needs a TypeTag type class instance. Usually those are provided by the compiler but in the case of SCrypt, the compiler was not able to do it.
I'm not familiar with TypeTag and I can't really help on this one. I worked around it by wrapping my SCrypt value inside a case class TTSCrypt(value: SCrypt) extends AnyVal and building a Metat[TTSCrypt instead.
It's not a major issue, it's just ugly.
Thanks for the library 👍 So far it works great!

I suspect the same thing happens for BCrypt and HardenedSCrypt

@daddykotex I know how to fix this issue quite easily, and it's something that requires library-wide changes (in a good way! nothing bad).
To explain a little, SCrypt is a little trick to use newtypes using cats.evidence.Is. In a sense, given that it's actually just a newtype, there is no type tag.
The actual definition for it in tsec is:
  protected val SCrypt$$ : TaggedString = new TaggedString {
    type I = String
    val is = Is.refl[String]
  }

  type SCrypt = SCrypt$$.I

This can give you compile-time newtypes that are typechecked, but can behave with much less overhead than case classes.
is has a subst method as such:
 /**
   * To create an instance of `A Is B` you must show that for every choice
   * of `F[_]` you can convert `F[A]` to `F[B]`. Loosely, this reads as
   * saying that `B` must have the same effect as `A` in all contexts
   * therefore allowing type substitution.
   */
  def substitute[F[_]](fa: F[A]): F[B]

Which means with the is instance for SCrypt, all you'd need to do is use is.subst(meta) to get a Meta[SCrypt].
For now, you can use metaString.asInstanceOf[Meta[SCrypt]], but I will make these fields public in the next milestone, thanks for pointing it out!
For the record, I've been enforcing this as of recently with my newtypes, as can be  seen here:
https://github.com/jmcardon/tsec/blob/tryswig/tsec-libsodium/src/main/scala/tsec/libsodium/hashing/package.scala#L27
Thank you! This solution is simple and simply using SCrypt.is.subst(meta) can fix it, but I didn't make the is public. I'll make sure to fix.

Also no, you don't need to wrap it in AnyVal. you can use asInstanceOf[Meta[Scrypt]] on a Meta[String] for now, and I'll make sure to fix this in a quick pr in a day or two (a tad busy today)

Oh wow. In the end, SCrypt is just a String.
And Meta[String].asInstanceOf[Meta[SCrypt]] worked just fine!
Should I close this?

@daddykotex not yet. I can pr a fix in a minute that's not ugly.
you shouldn't have to use .asInstanceOf. Is.subst is type checked and ultimately what you're after.

All right!
Also, there is no rush, take your time!

@daddykotex, not a problem, honestly, it was a quick fix that I intended to do anyway.
Thanks!
Fixed in #56, so I will be closing this issue. This fix will be out with the next milestone, which will release with Http4s-M6.

👍  thank you!


ArtifactDataReader should track open files

ArtifactDataReader should track files that are opened for reading with get_file and close all tracked filehandles when Artifact is done using the data reader. This is a safety net for plugin developers in case they forget to close the filehandles they request. It also makes plugin code simpler. This is a similar strategy to what ArtifactDataWriter does.

Closing as ArtifactDataReader no longer exists.


When saving connections, update workspace config only if already set. Always update user config.

Fixes https://github.com/looker-open-source/malloy/issues/256
In the future we can give the user more options here. But for now, this is the least likely to cause problems. When you click "Save" in the connections editor:

If malloy.connections is unset, or is only set in user config, user config is updated
If malloy.connections is set in workspace config, both user config and workspace config are updated

👍


[AutoRelease] t2-synapse-2022-11-23-05538(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/3454
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1566
BuildTargetingString
azure-mgmt-synapse
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3454


Add dnsmasq as extraContainer to loki-gateway

towards https://github.com/giantswarm/giantswarm/issues/28813

WAIT FOR MERGE:
Asked opinion to @giantswarm/team-cabbage about the fix and potential side effects

Maybe ask on slack ?

hi there. I don't see any problem with this; but I'm a bit skeptical about the end result.
After reading the gist linked in the issue, I have 2 things to clarify:

The issue manifests after the coredns pods backing the kube-dns service are restarted

NGINX doesn't talk directly to coredns; as we run k8s-dns-local-cache on each node. It's even more unlikely that the local cache gets restarted (without the entire node going down)

Kubernetes uses DNAT to route/re-write packets destined from a service's ClusterIP to one of the backing pod's IP, which results in an entry being created in the conntrack table.

with Cilium this is a bit different. Cilium relies on socket-LB and doesn't keep a conntrack table the same way that the traditional k8s network stack does.
but hey! if it works for you, go ahead :)


A small functional problem. Unable to display field comment description information

This problem is very troublesome to me, when connecting to the clickhouse database, the field comment description information cannot be displayed

thanks for the bug report

I've create a feature request in ClickHouse driver repo: https://github.com/ClickHouse/clickhouse-jdbc/issues/480

Will be fixed in clickhouse-jdbc 0.2.5

Will be fixed in clickhouse-jdbc 0.2.5

Fixed by #11195

verified


RDCC-326: Package structure refactor

JIRA link (if applicable)
AS part of RDCC-326 initial step like pacage structure modified.
Change description
rd-user-profile-api package structure Reorganisied .
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ X] No

Not required. Changes all ready moved.