Initial work on configuring Java

This PR introduces workspace setup and configuration to the JVM build service
Presently this will:

Create a new cache instance in the local workspace if the jvm-build-config configmap is present in the namespace
Configure this cache from the map
Configure system wide images from a system config map
Configure builder images from a system config map

Infra deployments PR: https://github.com/redhat-appstudio/infra-deployments/pull/537
Build Definitions PR: https://github.com/redhat-appstudio/build-definitions/pull/179

OK done with PR review @stuartwdouglas
e2e failure .ci/common-ci-settings-and-functions.sh: line 57: JVM_BUILD_SERVICE_JDK8_BUILDER_IMAGE: unbound variable should be addressed with the openshift/release merge I believe
/retest

bad luck with app studio bootstrap:
         1.6593693589970229e+09	ERROR	controller	timed out waiting for taskrun CRD to be created	{"error": "configmaps \"jvm-build-system-config\" not found"}
        github.com/redhat-appstudio/jvm-build-service/pkg/controller.NewManager
        	/opt/app-root/src/pkg/controller/controller.go:118
        main.main
        	/opt/app-root/src/cmd/controller/main.go:39
        runtime.main
        	/usr/lib/golang/src/runtime/proc.go:255
        1.6593693589970791e+09	ERROR	main	unable to start manager	{"error": "configmaps \"jvm-build-system-config\" not found"}
        main.main
        	/opt/app-root/src/cmd/controller/main.go:48
        runtime.main
        	/usr/lib/golang/src/runtime/proc.go:255

/retest

same error as before
         1.659372107494306e+09	ERROR	controller	timed out waiting for taskrun CRD to be created	{"error": "configmaps \"jvm-build-system-config\" not found"}
        github.com/redhat-appstudio/jvm-build-service/pkg/controller.NewManager
        	/opt/app-root/src/pkg/controller/controller.go:118
        main.main
        	/opt/app-root/src/cmd/controller/main.go:39
        runtime.main
        	/usr/lib/golang/src/runtime/proc.go:255
        1.6593721074943602e+09	ERROR	main	unable to start manager	{"error": "configmaps \"jvm-build-system-config\" not found"}
        main.main
        	/opt/app-root/src/cmd/controller/main.go:48
        runtime.main
        	/usr/lib/golang/src/runtime/proc.go:255

possibly related to my comment https://github.com/redhat-appstudio/jvm-build-service/pull/105/files#r932612117 something must be amiss with that addition, especially in light that CRD check is already in main branch at https://github.com/redhat-appstudio/jvm-build-service/blob/7d2f00b2bb9ed3de167a76e8533d03921518026d/pkg/controller/controller.go#L35-L46
I'll start comparing files in a few

duh - I need better glasses:
        1.659372107494306e+09	ERROR	controller	timed out waiting for taskrun CRD to be created	{"error": "configmaps \"jvm-build-system-config\" not found"}
it is the new code looking for the system config map
though that message should be updated to not say taskrun CRD
(that said the duplication of the CRD check needs to be cleaned up also)
this PR's test needs the PRs @stuartwdouglas noted in the description (minimally https://github.com/redhat-appstudio/infra-deployments/pull/537)
sorry for the noise @stuartwdouglas .... I'll clean up some noisy comments

/retest

/retest

/retest

some github throttling in the image failure
appstudio bootstrap failure in jvm-build-service-e2e though I just merged a build-service fix that should help there
the sample component maven-goals pod failed, so no artifactbuild / dependencybuild generation:
    jvm_build_service_test.go:51: time: 2022-08-02 10:37:07.264819823 +0000 UTC m=+641.164228848: pod logs for container step-mvn-goals in pod sample-component-build-rj2gt-maven-run-pod:  [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------< org.example:simple-java-project >-------------------
        [INFO] Building simple-java-project 1.0-SNAPSHOT
        [INFO] --------------------------------[ jar ]---------------------------------
        Downloading from mirror.default: http://localhost:2000/maven2/org/apache/maven/plugins/maven-shade-plugin/3.2.4/maven-shade-plugin-3.2.4.pom
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time:  30.921 s
        [INFO] Finished at: 2022-08-02T10:29:41Z
        [INFO] ------------------------------------------------------------------------
        [ERROR] Plugin org.apache.maven.plugins:maven-shade-plugin:3.2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-shade-plugin:jar:3.2.4: Could not transfer artifact org.apache.maven.plugins:maven-shade-plugin:pom:3.2.4 from/to mirror.default (http://localhost:2000/maven2): Transfer failed for http://localhost:2000/maven2/org/apache/maven/plugins/maven-shade-plugin/3.2.4/maven-shade-plugin-3.2.4.pom 500 Internal Server Error -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [ERROR]
        [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        cat: /workspace/maven-settings/sidecar.log: No such file or directory

/test images

/test jvm-build-service-e2e

hmm ... images failed again ... may not be a flake ... looking again

Nope - same thing - very weird / bad luck, this PR is not changing what is running elsewhere best as I can tell
/test images

The sidecar is running out of memory on the image build.

Last test the operator was complaining about the config map not being available.
But now https://github.com/redhat-appstudio/infra-deployments/pull/537 has merged, so let's try again.
/test jvm-build-service-in-repo-e2e

OK controller still getting
         1.6595440611397045e+09	ERROR	controller.configmap	Reconciler error	{"reconciler group": "", "reconciler kind": "ConfigMap", "name": "jvm-build-config", "namespace": "jvm-build-service-test-namespace-sls8w", "error": "roles.rbac.authorization.k8s.io \"pipeline-anyuid-role\" not found"}
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        	/opt/app-root/src/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        	/opt/app-root/src/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227

complaining about  the role in particular ... I'll spend cycles now/this afternoon trying to sort out.

@gabemontero jvm-build-service-in-repo-e2e is green, and I have removed the need for privileged containers. I am going to squash this and do some cleanup and it should be good to go.

/retest

@gabemontero jvm-build-service-in-repo-e2e is green, and I have removed the need for privileged containers. I am going to squash this and do some cleanup and it should be good to go.

awesome on both counts !!
still morning for me, but as of this moment, not going to merge this yet because we also need to really get https://github.com/redhat-appstudio/infra-deployments/pull/558 merged to facilitate the e2e work over in e2e-tests, and merging this will interrupt that effort.  And given the amount of non-jvm flakes we are already hitting there, I want to avoid any interrupts I can control.
That said, if we end up at my EOB and that PR is still struggling, I'll merge and we can pick back up on https://github.com/redhat-appstudio/infra-deployments/pull/558 and the various CI testing tomorrow / Monday.

@stuartwdouglas - can you point out to me where in the PR correlates to your removing the need for privileged containers?
I think it relates to earlier forms of the PR where you were assigning the anyuid role, but I don't see that anymore ... is that it?
Otherwise, when I first read of, I thought of https://github.com/redhat-appstudio/jvm-build-service/blob/650846d2011d745b82c72cd59cf1e2398daeddfa/pkg/reconciler/dependencybuild/buildrecipeyaml.go#L137 for example, but of course the use of runAsUser is still there.
thanks

OK https://github.com/redhat-appstudio/infra-deployments/pull/558 has merged.
That said, I'm now curious about https://github.com/redhat-appstudio/jvm-build-service/pull/105#discussion_r938031556 and a) did you try it and it did not work, or b) did not try it, but are willing to do so in this PR
So I'll defer hitting the merge button @stuartwdouglas to you, where either

you merge because the answer to a) was "it did not work" ... I can look into why on Monday unless you already know
the answer to b) is you want to defer that change to a follow up PR
you decide to make the change to remove runAsUser: 0 and then you merge this after CI passes with that change

@gabemontero the cache deployment yaml is a transitional thing, once this is merged and infra deployments is updated it will be deleted, which is why I did not look at fixing the user.
I also looked removing it from the tasks but there seems to be an issue with the git clone task not specifying a user and the Java build ones do, which results in the workspace not being writable.

@gabemontero the cache deployment yaml is a transitional thing, once this is merged and infra deployments is updated it will be deleted, which is why I did not look at fixing the user.
I also looked removing it from the tasks but there seems to be an issue with the git clone task not specifying a user and the Java build ones do, which results in the workspace not being writable.

sounds good cache deployment and yeah forgot about the git clone (I remember having to make and update for that now) ... would think that is a app studio wide issue, though I'm not sure if I've seen the need for that in the other build tasks.  I'll revisit that next week.
So yeah merge away at your leisure @stuartwdouglas


Segmentation aux-out loss

Could you inform me of the theoretical rationale (e.g. related paper) for aux-out loss? The deeplabv3 network in your code outputs additional prediction w/o ASPP.

I founded.
It is based on PSPNet :)
Thanks!


Fix circle ci and Dockerfile update

Circle: update orb version, cause the previous one deprecated
Circle: explicitly set python 3.11 version to use for test and build
Dockerfile: update debian version to last one
Dockerfile: update UWSGI cause previous doesn't support python 3.11

Спасибо тебе! 💪


Update README.md

At first I was not understanding where to look for RabbitMQ, then I understood it was a typo 😅

Yes @jodydonetti , my bad 🥲
Sorry for that

Ahah no worries!
At the moment I cannot install Docker so I was thinking about how to bypass that regarding having RabbitMQ etc, so that is why I hadn't yet tried your POC.
Now I just cloned the repo, used my local Redis instance and voilà: everything is working as expected (meaning, not working, you were right 😅).
Anyway thank you very much, your MRE is really top notch: minimum as it can be, no fuss attached, straight to the point.
Will update you asap with the new version that will hopefully fix this issue!


Feature scorecard.Run() should take a leveled logging object/interface instead of or alternatively to log level.

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
In order to use structured logging and add additional key/values, scorecard.Run() should take a logger interface (of it's own design) and use that for logging.
I recommend something like this: https://pkg.go.dev/github.com/hashicorp/go-retryablehttp#LeveledLogger
That can be implemented by any number of popular loggers, then the calling program can decide what to log or configure the level of the underlying logger.
Describe alternatives you've considered
The logging level is good, but still logs in unstructured format

I recommend something like this: https://pkg.go.dev/github.com/hashicorp/go-retryablehttp#LeveledLogger

The standard library also has a structured logging library now too :)

Looks like the linked interface would work directly with a<EMAIL_ADDRESS>or a https://pkg.go.dev/go.uber.org/zap#SugaredLogger among others.


Material3 Tonal Palette incorrect colors

 material-color-utilities library doesn't return correct values as mentioned in this issue. As soon as it's fixed and have a package replace md3 package.

I found the following restricted method that seems to work.
@SuppressLint("RestrictedApi")
@ColorInt
private fun getColorRole(@ColorInt color: Int, @IntRange(from = 0, to = 100) tone: Int): Int {
    val hctColor = com.google.android.material.color.utilities.Hct.fromInt(color)
    hctColor.tone = tone.toDouble()
    return hctColor.toInt()
}

    val hexColor = java.lang.String.format("#%08X", -0x1 and color.toArgb())
    Toast
        .makeText(
            context,
            hexColor,
            Toast.LENGTH_SHORT
        )
        .show()


1.15.3 version  document.selectXpath() method frequently return null

When use 1.14.3 version ,it works stability with selectXpath() method, but the new version(1.15.3),  it frequently parse wrong~

Hi, I'm not familiar how selectXpath() was used in previous versions of Jsoup, but please see my comment related to a similar issue https://github.com/jhy/jsoup/issues/1857#issuecomment-1344859285.


[WIP] added step by step

[x] Guide on how to start the project if the person has no prior experience with Python and cannot attend the Bootcamp in person.
[x] https://github.com/the-full-stack/ask-fsdl/issues/24

Wow! Thanks for this detailed write-up. We've not done this yet because we expect the stack and process to change, which will lead to docs rot, but now that you've put it together, we should include it for the time being.
I've brought it in as a branch here, #35, so that I can work on it more directly.


Added sonarcloud + upgrade gradle wrapper

added integration with datadriven sonarcloud
upgrade gradle wrapper and spotless plugin
added badges into readme

Great job! <3 I have only one question regarding the sonar secret, than we can merge this 👍


Fix relative directory path

Description
This is a fix for relative model and dataset directory path when running the agents.
Type of change
Please check the options that are relevant.

[x] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[ ] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[ ] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[ ] I want a thorough review of the implementation.
[x] I want a high level review.
[ ] I want a deep design review.

Testing
Tested on devfair by running the agent and cuberite on devfair and Minecraft client on local machine.
Checklist:

[ ] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have added relevant collaborators to review the PR before merge.
[ ] [Polymetis only] I have verified that all scripts in tests/scripts runs on hardware.

Codecov Report

Merging #835 (b7a0ecf) into main (baa120c) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #835      +/-   ##
==========================================
- Coverage   32.74%   32.58%   -0.16%
==========================================
  Files         341      340       -1
  Lines       33459    33215     -244
==========================================
- Hits        10956    10823     -133
+ Misses      22503    22392     -111

Impacted Files
Coverage Δ

agents/argument_parser.py
17.64% <ø> (ø)

interpreter/robot/tests/world.py
88.32% <0.00%> (-0.73%)
:arrow_down:

interpreter/craftassist/tasks.py
74.45% <0.00%> (-0.55%)
:arrow_down:

agents/droidlet_agent.py


segfault when using undefined options

The following snippet results in a SEGFAULT when I do not input a -i <...> option running my program.
  try
  {
    cxxopts::Options options("xxx", "descr.");
    options.add_options("target")
      ("i,input",  "input (JSON format)", cxxopts::value<std::string>() )
      ("o,output", "output (CSV format)", cxxopts::value<std::string>() )
    ;
    auto namedOptions = options.parse(argc, argv);
    std::string inFile = namedOptions["input"].as<std::string>(); // << SEG FAULT

    // ...

  }
  catch(const cxxopts::OptionException& e)
  {
    std::cerr << "error parsing options : " << e.what() << std::endl;
    exit(EXIT_FAILURE);
  }

Am I doing something wrong ?
Thank you for your time.

Hello @Remi-Laot-CreiZyz,
I can confirm the behavior :/

if you add:
if (namedOptions.count("input")){
     std::string inFile = namedOptions["input"].as<std::string>();
}

you will not have the segfaults :-)

If you try to get the value of an option that hasn't been defined it will crash. This is expected, although an exception would probably be better than a segfault.

Actually looking at the code I didn't think it would do that. I'll try to reproduce this myself.

Mine doesn't segfault:
src/example
terminate called after throwing an instance of 'std::domain_error'
  what():  No value

Can you provide a full snippet that reproduces it?

if you compile:
#include "cxxopts.hpp"
#include <iostream>

int main(int argc, char *argv[]){
  try
  {
    cxxopts::Options options("xxx", "descr.");
    options.add_options("target")
      ("i,input",  "input (JSON format)", cxxopts::value<std::string>() )
      ("o,output", "output (CSV format)", cxxopts::value<std::string>() )
    ;
    auto namedOptions = options.parse(argc, argv);
    std::string inFile = namedOptions["input"].as<std::string>(); // << SEG FAULT
  }
  catch(const cxxopts::OptionException& e)
  {
    std::cerr << "error parsing options : " << e.what() << std::endl;
    exit(EXIT_FAILURE);
  }

}

this produce a segfaults

I just realised that for me it throws std::domain_error, which is probably a bug. I think they are the same problem. We might just be using different versions of the standard library.

I just looked at the code, and I realised that cxxopts is throwing the domain error. I think the intention here was that if you try to call as when the option was not defined, it is an error.
Are you sure that it's an actual segfault, or is it aborting on the exception being thrown?
The correct use of the library is to check with count as suggested above.

Running @eamanu 's snippet in gdb results in a segfault for me (gcc version 9.1.1 20190503 (Red Hat 9.1.1-1) (GCC)). Here is the gdb trace:
Program received signal SIGSEGV, Segmentation fault.
__cxxabiv1::__dynamic_cast (src_ptr=0x0, src_type=0x43ce00 <typeinfo for cxxopts::Value>,
    dst_type=0x43ca80 <typeinfo for cxxopts::values::standard_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >>, src2dst=0)
    at ../../../../libstdc++-v3/libsupc++/dyncast.cc:50
50	  const void *vtable = *static_cast <const void *const *> (src_ptr);

Apart from this, here is some context to my usage of cxxopts: I understand the correct use is to check with count before using a value. However, I am using cxxopts to keep track and document the parameters of my program. Every option I declare with it is mandatory for my program to run properly. I don't believe cxxopts proposes a way to define such mandatory options, and using checks for each of the options is tedious, because it means duplicating checks and error messages. Relying on exceptions for this is more compact and extensible

Which version of cxxopts are you using? It should definitely throw an exception there.
Can you give more of a stack trace?

Running @eamanu 's snippet results in a segfault for me (gcc version 9.1.1 20190503 (Red Hat 9.1.1-1) (GCC)). Here is the gdb trace:
Program received signal SIGSEGV, Segmentation fault.
__cxxabiv1::__dynamic_cast (src_ptr=0x0, src_type=0x43ce00 <typeinfo for cxxopts::Value>,
    dst_type=0x43ca80 <typeinfo for cxxopts::values::standard_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >>, src2dst=0)
    at ../../../../libstdc++-v3/libsupc++/dyncast.cc:50
50	  const void *vtable = *static_cast <const void *const *> (src_ptr);

Apart from this, here is some context to my usage of cxxopts: I understand the correct use is to check with count before using a value. However, I am using cxxopts to keep track and document the parameters of my program. Every option I declare with it is mandatory for my program to run properly. I don't believe cxxopts has a way to define such mandatory options, and using checks for each of the options is tedious, because it means duplicating checks and error messages. Relying on exceptions for this is more compact and extensible

You should be able to catch std::domain_error. I have something else planned that will make it easier to validate options. Basically a validator class that will check whether options exist and that they have suitable values.

I can confirm that it throws a std::domain_error (tested with v2.2.0), which is kind of unintuitive given that the README says that

errors parsing arguments derive from cxxopts::OptionParseException.

I would have expected a missing option to be a parse exception.

In this case it has not failed to parse, so that type of exception is not appropriate. The problem is that the user is trying to access something in a map that doesn't exist.

Is the bug present in the recent version? I was trying to build the example with sanitizers:
$ g++ bug.cpp -o bug -D_GLIBCXX_DEBUG -fsanitize=address,undefined

When running the program, I got the following output:
error parsing options : Option ‘input’ has no value

which seems to be correct.


Don't use relative for lis

For #68, we set the position of li's to "relative", which produced some
unexpected results (e.g. horizontal scroll bars were not longer selectable).
Rather than use a relative+absolute approach for collapsed paragraphs, this
patch uses float. You will recall that "collapsed" paragraphs are those
paragraphs which consist of only a paragraph marker.
Also adds a test and fixes a problem where an empty paragraph (with no
marker) was considered collapsed.

:+1:


[Storage File Share] Change Storage File Share readme and sample to fix issue 10317

[Storage File Share] Change Storage File Share readme and sample to fix issue https://github.com/Azure/azure-sdk-for-java/issues/10317
@jongio for notification

/azp run java - storage - ci

mvn  -rf :azure-storage-file-share

@jongio can we get this merged?

@jongio can we get this merged?


Add websocket-jetty11 permissions for prototyping

Description
Like #2638, but for Jetty 11. Even though we're not using Jetty 11 yet, the lack of these permissions prevents me from getting an incremental build of https://github.com/jenkinsci/jenkins/pull/6085:
Invalid archive retrieved from Jenkins, perhaps the plugin is not properly incrementalized?
Error: ZIP error: Error: No permissions for org/jenkins-ci/main/websocket-jetty11/2.363-rc32712.2307a_6dc9273/websocket-jetty11-2.363-rc32712.2307a_6dc9273-sources.jar from https://ci.jenkins.io/job/Core/job/jenkins/job/PR-6085/3/artifact/**/*2307a*6dc9273*/*2307a*6dc9273*/*zip*/archive.zip

The lack of that incremental build prevents me from bootstrapping the test harness and doing further prototyping, so I would like to get these permissions set up.

https://github.com/jenkinsci/jenkins

Submitter checklist for adding or changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Thank you very much!


Apt package mismatch, outdated packages in setup-php.com/ondrej/php/ubuntu

Describe the bug
With github workflow config:
- name: Setup PHP
  uses<EMAIL_ADDRESS>  with:
      php-version: 8.2
      extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql
      coverage: none
      ini-values: opcache.enable_cli=1, opcache.jit=disable

We're running into problems where gd and imagick fail to install. It happens several times a day.
We turned on verbose and narrowed the problem.
As it goes through the process of installing extensions, it switches from one ppa.launchpad.net/ondrej/php/ubuntu to another setup-php.com/ondrej/php/ubuntu which leads to:
deb [arch=amd64 signed-by=/usr/share/keyrings/sp-php-keyring.gpg] https://setup-php.com/ondrej/php/ubuntu jammy main
Get:1 https://setup-php.com/ondrej/php/ubuntu jammy InRelease [24.6 kB]
Get:2 https://setup-php.com/ondrej/php/ubuntu jammy/main amd64 Packages [123 kB]
Get:3 https://setup-php.com/ondrej/php/ubuntu jammy/main Translation-en [38.0 kB]
 ...
 The following packages have unmet dependencies:
 php8.2-gd : Depends: php8.2-common (= 8.2.20-2+ubuntu22.04.1+deb.sury.org+1) but 8.2.22-1+ubuntu22.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.

Looking carefully at the error:
8.2.20-2+ubuntu22.04.1+deb.sury.org+1
8.2.22-1+ubuntu22.04.1+deb.sury.org+1

8.2.20 != 8.2.22
We looked into the fallback mirror and it has an outdated package for some of the extensions like gd
Package: php8.2-gd
Version: 8.2.20-2+ubuntu22.04.1+deb.sury.org+1
Priority: optional
Section: php
Source: php8.2
Maintainer: Debian PHP Maintainers<EMAIL_ADDRESS>Installed-Size: 143 kB
Provides: php-gd
Depends: php-common (>= 1:81~), ucf, php8.2-common (= 8.2.20-2+ubuntu22.04.1+deb.sury.org+1), libc6 (>= 2.4), libgd3 (>= 2.3.3)
Download-Size: 32.9 kB
APT-Sources: https://setup-php.com/ondrej/php/ubuntu jammy/main amd64 Packages
Description: GD module for PHP
 This package provides the GD module(s) for PHP.
 .
 PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
 open source general-purpose scripting language that is especially suited
 for web development and can be embedded into HTML.

Possibly related:

https://github.com/shivammathur/setup-php/issues/834
https://github.com/shivammathur/setup-php/commit/2a5212466ca8f626f5b334783f6a2e7438e75326

Version

[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[x] v2
[ ] v1

Runners

[x] GitHub Hosted
[ ] Self Hosted

Whoops, my colleague submitted the same problem. This is a duplicate of https://github.com/shivammathur/setup-php/issues/863

Whoops, my colleague submitted the same problem. This is a duplicate of https://github.com/shivammathur/setup-php/issues/863


sorting col on web app for numeric cols is alphabetical

In this table: https://concepticon.clld.org/contributions
when you sort by items it sorts alphabetically instead of numerically.

Oh weird, sorry. neither can I. I think when I clicked it once and then again to get descending the col widths changed so that I accidentally sorted it by something else, that's the only solution I can think of .


Reusable Layout Support

Can we extend project to support multiple instances with docs layout

Documentation - Doc Layout
Guides - Doc Layout
Podcast - Blog Layout
Posts - Blog Layout
Articles - Blog Layout
Use Cases - Blog Layout

Similarly, we can extend contents with different layouts simply reusing the concept.

Hi @impondesk! Of course, it's a good suggestion.
I will update the repo soon to add the new dashboard design. I could add that if you want. If you have design suggestions for a podcast page or use cases. Feel free to leave them here.

Thanks @mickasmt, Ever tried to have multiple instances of Documents Layout with custom side bar or navigation?
Somwthing similar to Docuraus https://docusaurus.io/docs


#2 Store verbs selection in local storage

Closing since we are not working with forks for this issues anymore.


14.17 update please ? .

Would you still be willing to update version 14.17

A update for 14.17 is neccessary without you cant use the skin changer .-.


Feature request: Defaulting the editor path during installation

When installing an editor, after it's done downloading, you're getting this menu:

Then you need to click on the folder icon and pick one of the two files here:

Can you make it not ask and just pick one by default, and then use the regular or the console version at project launch time, with a checkbox or something?

Or make the prompt more explicit. The first time I thought I was able to choose my location so I was confused. I didn't get that I was choosing between two versions

For remote editors we could probably infer the path and name, so we don't need the import dialogue. If the users desire to run the editor with a shell then we could add a setting for the user to set a preferred terminal emulator and a button/option to run the editor from a shell (on mac we can default to the standard terminal and on windows we can set open_console to true when running the editor with OS.create_process).


Cannot find module '../lib'

I am trying to launch my website which depends on an edited package of docusaurus.
so my dependencies look like this:
 "@docusaurus/core": "file:../docusaurus/packages/docusaurus",
there is no major changes in the package.
anyway the project used to work well but now trying to launch it on another machine I got this error.

Error: Cannot find module '../lib'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (C:\Users\Rami\git\studio-website\10StudioWebsite\website\node_modules\@docusaurus\core\bin\docusaurus.js:14:41)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)

which correspond to this file
https://github.com/facebook/docusaurus/blob/master/packages/docusaurus/bin/docusaurus.js#L14
the lib file doesn't exit in the package and I don't know where it comes from.
is there any command I should run to generate this file ?

Hi,
Docusaurus 2 is a TS project.
You have to compile it to obtain the final code that will be run on NodeJS (ie generating the /lib folder).
After compilation, the /lib folder will exist:

At the root of the repo, run yarn install && yarn tsc and it should compile everything you might need


node-red web SVG UI performance degradation due to forced reflow with large number of nodes

Current Behavior
When there is a large number of nodes in the Node-RED Web UI, forced reflow occurs, leading to performance degradation.
Descend to around ten frames per second
Expected Behavior
The Node-RED Web UI should maintain optimal performance even with a large number of nodes.
Steps To Reproduce
Create a Node-RED flow with a large number of nodes.
Drag a line from the right end of one node.
Observe the performance degradation in the Web UI.
https://github.com/node-red/node-red/assets/43309591/9a1531ab-bf75-4fb1-913f-478c50217961
Example flow
Copy the following nodes approximately 20 times. Because I actually have a flow containing 800 nodes
[{"id":"bbe01c7420878f04","type":"function","z":"0eea570ad552021f","name":"function 139","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":450,"y":300,"wires":[["00beed838fe1b1ef"]]},{"id":"00beed838fe1b1ef","type":"switch","z":"0eea570ad552021f","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"}],"checkall":"true","repair":false,"outputs":8,"x":710,"y":300,"wires":[["6453d740cd4cad01"],["dd4c9ce2563d6152"],["76e871108cd7f6af"],["b93e73fc7e357324"],["b3eb44b263a09a13"],["e83c14dbf2f2ce2a"],["66e91a56fd734625"],["f3064db696057b4d"]]},{"id":"6453d740cd4cad01","type":"function","z":"0eea570ad552021f","name":"function 140","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":220,"wires":[["a3d322ba93bbe644"]]},{"id":"dd4c9ce2563d6152","type":"function","z":"0eea570ad552021f","name":"function 141","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":260,"wires":[["33e0cb7b900bd8a7"]]},{"id":"76e871108cd7f6af","type":"function","z":"0eea570ad552021f","name":"function 142","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":300,"wires":[["e90367b511cb5cfb"]]},{"id":"b93e73fc7e357324","type":"function","z":"0eea570ad552021f","name":"function 143","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":340,"wires":[["6a035e658f22e346"]]},{"id":"b3eb44b263a09a13","type":"function","z":"0eea570ad552021f","name":"function 144","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":380,"wires":[["ef363349d6ce8e18"]]},{"id":"e83c14dbf2f2ce2a","type":"function","z":"0eea570ad552021f","name":"function 145","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":420,"wires":[["a4fe65f97e430ca6"]]},{"id":"66e91a56fd734625","type":"function","z":"0eea570ad552021f","name":"function 146","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":460,"wires":[["0ca8223aaa03e4a6"]]},{"id":"f3064db696057b4d","type":"function","z":"0eea570ad552021f","name":"function 147","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":930,"y":500,"wires":[["7fa4f1d372216ab9"]]},{"id":"a3d322ba93bbe644","type":"debug","z":"0eea570ad552021f","name":"debug 483","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":220,"wires":[]},{"id":"33e0cb7b900bd8a7","type":"debug","z":"0eea570ad552021f","name":"debug 484","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":260,"wires":[]},{"id":"e90367b511cb5cfb","type":"debug","z":"0eea570ad552021f","name":"debug 485","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":300,"wires":[]},{"id":"6a035e658f22e346","type":"debug","z":"0eea570ad552021f","name":"debug 486","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":340,"wires":[]},{"id":"ef363349d6ce8e18","type":"debug","z":"0eea570ad552021f","name":"debug 487","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":380,"wires":[]},{"id":"a4fe65f97e430ca6","type":"debug","z":"0eea570ad552021f","name":"debug 488","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":420,"wires":[]},{"id":"0ca8223aaa03e4a6","type":"debug","z":"0eea570ad552021f","name":"debug 489","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":460,"wires":[]},{"id":"7fa4f1d372216ab9","type":"debug","z":"0eea570ad552021f","name":"debug 490","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":500,"wires":[]},{"id":"03bd678ae1952ded","type":"inject","z":"0eea570ad552021f","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":190,"y":300,"wires":[["bbe01c7420878f04"]]}]

Environment

Node-RED version:  v3.1.4
Node.js version:  v16.20.2
npm version:  8.19.4
Platform/OS:  windows 11@23H2
Browser: Microsoft<EMAIL_ADDRESS>

I have encountered a real project where a single flow contains 782 nodes. Comparatively, when observing the performance using Chrome DevTools, the "Performance" tab indicates a significant increase in frame time, from around 6.1ms to approximately 100ms, in comparison to a flow containing only one node.
During mouse drag operations within the flow, it has been observed that there are over four thousand layout recalculations per frame, which are adversely impacted by Forced Reflows.
Given these observations, I am interested in exploring potential optimization strategies.

#4594


P3 workspace changes

Hey - the main point of this commit is to change the behavior of p3-login and p3-logout to update .kbase_config as well as the .p3 config so that the stock KBase tools work properly.
There is an old fix in here for the zero-size update bug we ran into last year; I'm not sure why it did not get rolled in before ...

I’m really not enamored with having the patric login changing the KBase config, as this essentially precludes one from using both PATRIC and KBase at the same time - a position that I find myself and my collaborators in quite often. The problem is, changes to the default config files persist even when one shifts the environment of the shell.
Can we have kbase tools in PATRIC configured to point to the patric config file using the environment variable instead? Aren’t all KBase tools already configured to use an environment variable for the config? Couldn’t we make the setting of this environment variable as default part of user-env.sh in the PATRIC build? This seems like a better solution that trying to have two systems with different account types sharing a common config file for login, and thus forcing users to constantly log in and out of both services...
On January 29, 2016 at 12:30:57 PM, olsonanl<EMAIL_ADDRESS>wrote:
Hey - the main point of this commit is to change the behavior of p3-login and p3-logout to update .kbase_config as well as the .p3 config so that the stock KBase tools work properly.
There is an old fix in here for the zero-size update bug we ran into last year; I'm not sure why it did not get rolled in before ...
You can view, comment on, or merge this pull request online at:
https://github.com/cshenry/Workspace/pull/24
Commit Summary
Fix zero-size update bug
Merge branch 'master' of https://github.com/cshenry/Workspace
Update .kbase_config when p3-login is run.
Also update .kbase_config on p3-logout.
File Changes
M lib/Bio/P3/Workspace/ScriptHelpers.pm (31)
M lib/Bio/P3/Workspace/WorkspaceImpl.pm (4)
Patch Links:
https://github.com/cshenry/Workspace/pull/24.patch
https://github.com/cshenry/Workspace/pull/24.diff
—
Reply to this email directly or view it on GitHub.

BTW, if this is really needed and there’s no reasonable work around, I’m willing to merge this. I just wanted to register my concerns.
On January 29, 2016 at 1:11:21 PM, Chris Henry<EMAIL_ADDRESS>wrote:
I’m really not enamored with having the patric login changing the KBase config, as this essentially precludes one from using both PATRIC and KBase at the same time - a position that I find myself and my collaborators in quite often. The problem is, changes to the default config files persist even when one shifts the environment of the shell.
Can we have kbase tools in PATRIC configured to point to the patric config file using the environment variable instead? Aren’t all KBase tools already configured to use an environment variable for the config? Couldn’t we make the setting of this environment variable as default part of user-env.sh in the PATRIC build? This seems like a better solution that trying to have two systems with different account types sharing a common config file for login, and thus forcing users to constantly log in and out of both services...
On January 29, 2016 at 12:30:57 PM, olsonanl<EMAIL_ADDRESS>wrote:
Hey - the main point of this commit is to change the behavior of p3-login and p3-logout to update .kbase_config as well as the .p3 config so that the stock KBase tools work properly.
There is an old fix in here for the zero-size update bug we ran into last year; I'm not sure why it did not get rolled in before ...
You can view, comment on, or merge this pull request online at:
https://github.com/cshenry/Workspace/pull/24
Commit Summary
Fix zero-size update bug
Merge branch 'master' of https://github.com/cshenry/Workspace
Update .kbase_config when p3-login is run.
Also update .kbase_config on p3-logout.
File Changes
M lib/Bio/P3/Workspace/ScriptHelpers.pm (31)
M lib/Bio/P3/Workspace/WorkspaceImpl.pm (4)
Patch Links:
https://github.com/cshenry/Workspace/pull/24.patch
https://github.com/cshenry/Workspace/pull/24.diff
—
Reply to this email directly or view it on GitHub.


REST service to fetch a list of all Rasa forms

AS AN Architect
I WANT to have a REST service to fetch all Rasa forms
SO THAT there wouldn't be duplicate services for it
Acceptance Criteria

Temporary list of endpoints - https://github.com/buerokratt/Buerokratt-onboarding/issues/8

[ ] Use GET endpoint /rasa/forms to list all forms
[ ] Source of truth to fetch a list of Rasa forms is Rasa domain.yml

Example of input and output
forms of domain.yml as a raw input
forms:
  custom_fallback_form:
    required_slots:
        - affirm_deny
  direct_to_customer_support_form:
    required_slots:
        - affirm_deny

Output for /rasa/forms
["custom_fallback_form", "direct_to_customer_support_form"]

@janyprus please link this issue with an appropriate pull request.

Pull request #144

Seems to work as intended!


Added Table of Contents

Easy for users to navigate to different sections.
Documentation only PR, no builds affected

FWIW, GitHub automatically generates a Table of Contents for these if you just click on the upper-left menu button near the filename in the viewing panel:

The beauty of GitHub's automatic solution is that it will never become out-of-date. ✨
With that in mind, do we still want to add this? It is undoubtedly more visible, so it's just a question of if that visibility outweighs the long-term maintenance burden. 🤷♂ 🤔

@JimmyJammer FWIW, GitHub automatically generates a Table of Contents for these if you just click on the upper-left menu button near the filename in the viewing panel:

The beauty of GitHub's automatic solution is that it will never become out-of-date. ✨
With that in mind, do we still want to add this? It is undoubtedly more visible, so it's just a question of if that visibility outweighs the long-term maintenance burden. 🤷♂ 🤔

Good point! As amazing as this feature is, I think we'd still go with considering this PR for this particular repository. "More visibility" isn't exactly going to be the criterion, but I think the design team intended on having this added to the README.
Nevertheless, thank you for pointing out the fact that there's a button that automatically generates the ToC for us! It will now be helpful for me every time I navigate through GitHub repositories. 🤗

Forgot I was logged into my test account there. 😊

Forgot I was logged into my test account there. 😊

@JamesMGreene Haha, big reveal, James! 😁 Your test account just got a new follower~! Had I known it was you, I'll probably let you make the final decision instead of what was proposed in the bugbash. Sorry about that!

I'm fine with the change! 👍🏻


[Feature] Search for a solution to get the match result on a muliplayer match

What should be done
We need to think how we could get the statistik from a match between multiple players.
Some ideas are

Find the data in memory and use it
The players take a screenshot which get analysied

@WizzardMaker I think we already got a solution via a external program, right?
We can close this up?

Yeah, kind of
We can use the mod API to retrieve those values
The question is, how to relay those information to the launcher?
Maybe a .txt file with the information when the game finishes (And a checksum of some sort for safety)?


[Docs] Use ternary operator in example

I'm actually not that convinced for the example to use a ternary here. Even though  I would use it in my projects, I think it's easier to learn using a plain if/else @chrisvfritz WDYT?

Shouldn't we be showing best practice examples?


Check failed when running tensorflow.python.ops.gen_nn_ops.max_pool_grad_with_argmax

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
22.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
nvidia-cudnn-cu11==<IP_ADDRESS>, cudatoolkit=11.8.0
GPU model and memory
No response
Current behavior?
Specific input combination is caused check failure.
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np
from tensorflow.python.ops import gen_nn_ops
try:
  try:
    with tf.device('/CPU'):
      arg_0_tensor = tf.random.uniform([2, 3, 3, 1], dtype=tf.float32)
      arg_0 = tf.identity(arg_0_tensor)
      arg_1_tensor = tf.random.uniform([2, 2, 2, 1], dtype=tf.float32)
      arg_1 = tf.identity(arg_1_tensor)
      arg_2_tensor = tf.random.uniform([2, 2, 2, 1], minval=-256, maxval=257, dtype=tf.int64)
      arg_2 = tf.identity(arg_2_tensor)
      ksize_0 = 1
      ksize_1 = 2
      ksize_2 = 2
      ksize_3 = 1
      ksize = [ksize_0,ksize_1,ksize_2,ksize_3,]
      strides_0 = 1
      strides_1 = 1
      strides_2 = 1
      strides_3 = 1
      strides = [strides_0,strides_1,strides_2,strides_3,]
      padding = "VALID"
      include_batch_in_index = False
      out = gen_nn_ops.max_pool_grad_with_argmax(arg_0,arg_1,arg_2,ksize=ksize,strides=strides,padding=padding,include_batch_in_index=include_batch_in_index,)
  except Exception as e:
    print("Error:"+str(e))
  try:
    with tf.device('/GPU:0'):
      arg_0 = tf.identity(arg_0_tensor)
      arg_0 = tf.cast(arg_0, tf.float32)
      arg_1 = tf.identity(arg_1_tensor)
      arg_1 = tf.cast(arg_1, tf.float32)
      arg_2 = tf.identity(arg_2_tensor)
      arg_2 = tf.cast(arg_2, tf.int64)
      ksize = [ksize_0,ksize_1,ksize_2,ksize_3,]
      strides = [strides_0,strides_1,strides_2,strides_3,]
      gen_nn_ops.max_pool_grad_with_argmax(arg_0,arg_1,arg_2,ksize=ksize,strides=strides,padding=padding,include_batch_in_index=include_batch_in_index,)
  except Exception as e:
    print("Error:"+str(e))
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
2023-08-21 00:36:14.553160: F tensorflow/core/kernels/maxpooling_op.cc:1081] Check failed: grad_out_index >= output_start && grad_out_index < output_end Invalid output gradient index: 77, 0, 18
Aborted

@dmc1778,
I was able to reproduce the issue on colab using TF v2.12, 2.13, tf-nightly. Please find the attached gist.
Since Segmentation faults can be considered as potential security vulnerabilities please read SECURITY.md and report them through proper channel as mentioned in SECURITY.md. If you want to stick to a specific version then please follow this and create your own patch to resolve such issues.
Thank you!


WinUI 3 - Use PropertyChanged on Window to report changes

Today for properties such as Bounds or Visible, WinUI uses separate events to report changes to the application. While there are benefits to this, I think the Window class should also report changes through INotifyPropertyChanged::PropertyChanged as well as separate events. This will make it easier to bind such properties which you might want to need when creating a custom title bar for example.

They should be dependency properties, not INPC


Resync with mushroom parent

Description
Resynced the fork with the parent piitaya/lovelace-mushroom
Related Issue
https://github.com/phischdev/lovelace-mushroom-better-sliders/issues/8
This PR fixes or closes issue: fixes #8
Motivation and Context
Gets this fork back up to date, and solved the icons not loading with HASS 2024.2 and up.
How Has This Been Tested
I've loaded the dist/mushroom.js file in my own HASS environment and it worked perfectly fine! Tested on desktop (Chrome) and in the HASS app on Android.
Types of changes

[X] 🐛 Bug fix (non-breaking change which fixes an issue)
[  ] 🚀 New feature (non-breaking change which adds functionality)
[  ] 🌎 Translation (addition or update a translation)
[  ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have tested the change locally.
[x] I followed the steps if I add a new language .

This is my first Github pull request with a fork of a repo. It's been tested and it works, at least on my instance of HASS here.


Code Style

There should be some sort of linter config in the project root to reduce issues due to code style conflicts when merging pull requests. Thoughts?

I think a linter would be great now that it is a team project. Good call. Make sure it can be easily used in a popular editor (e.g. Atom). It might also be used in a test that can be run to make sure new code changes are lint free before merging.

I was thinking ESLint, as that seems most popular for JS projects around Github. We can also setup TravisCI for checking code when pull requests are made.

I'm closing this out unless somebody really wants to tackle this.  The urgency is low since pull requests are rare and I am able to push back on any major style violations.


Possible to integrate with other module? (drag-ruler)

https://github.com/manuelVo/foundryvtt-drag-ruler
Thanks

Fraid not no. I have added libRuler support and that is as far as it will go. If drag ruler wants to user the same lib system then they will work better together


Update FracturedJson to 4.0.3

Hi,
I have some test projects using Faqt, and Visual Studio is highlighting transitive dependencies to System.Text.Json 6.0.6 through it which suffers from https://github.com/advisories/GHSA-8g4q-xg66-9fp4.
FracturedJson has now been updated to use System.Text.Json 6.0.10 which fixes the issue, so I wondered if there was interest in updating the dependency here to fix the warning?
Thanks.

Thanks!

Will be released in v4.2.1 shortly.


Compact tree nodes do not have all accessibility attributes set

Issue Type: Bug

With NVDA running, Press sctrl+shift+e and navigate to a location that has the following structure: a/b/c.txt, where a and b are otherwise empty.

Expected: these should be exposed as treeitems with information about whether it is collapsed or expanded. However, these nodes are being exposed as links instead.
VS Code version: Code - Insiders 1.44.0-insider (e62c4302b0e4f3e28bbcb0f3b6e46bb00e39679c, 2020-03-26T05:51:24.240Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (4.80GB free)

Process Argv

Screen Reader
yes

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.1.1

gitlens
eam
10.2.1

prettier-vscode
esb
3.20.0

markdown-table-formatter
fcr
2.0.3

vscode-mysql
for
0.4.0

rest-client
hum
0.23.2

rust-analyzer
mat
0.2.100

Go
ms-
0.13.1

vscode-typescript-tslint-plugin
ms-
1.2.3

vsliveshare
ms-
1.0.1847

vscode-yaml
red
0.7.2

rust
rus
0.7.0

vscode-webhint
web
1.5.4

@Neurrone great catch.
As a workaround I have fixed the role of those 'compact' elements as we call them. So they will now correctly have the role of treeitem.
However the correct fix would be that all tree attributes are nicely set on them. Which is aria-level, aria-expended, aria-selected, aria-posinset.
Until we get this nicely working I suggest as a workaround to disable compact elements
"explorer.compactFolders": false
Renaming this issue and also assigning to @joaomoreno

Actualy duplicate of https://github.com/microsoft/vscode/issues/86414


Fix some broken links in Lambda sections

Hyperlinks to the Decidable chapters are broken, found in
https://github.com/Agda-zh/PLFA-zh/runs/5684809207?check_suite_focus=true#step:9:72

Thank you. There are some similarly buggy links in part1, if you'd like to also fix those.


FirstOrCreate + sql.NullString

In the course of creating #551, I noticed some peculiar behavior around using sql.NullString and FirstOrCreate together.
Schema:
create table things (
      id serial primary key,
      name varchar(20) null,
      age bigint null
);

Struct:
type Thing struct {
	Id   uint32
	Name sql.NullString
	Age  sql.NullInt64
}

Code:
func FetchOrCreateThingNull(db *gorm.DB, name string, age int64) {
	outThing := Thing{}
	whereThing := Thing{Name: sql.NullString{String: name, Valid: true}}
	attrsThing := Thing{Age: sql.NullInt64{Int64: age, Valid: true}}

	if err := db.
		Debug().
		Where(whereThing).
		Attrs(attrsThing).
		FirstOrCreate(&outThing).
		Error; err != nil {
		println(err)
	} else {
		println(fmt.Sprintf("No err. outThing is %v %v", outThing.Name, outThing.Age))
	}
}

which produces the output:
(/Users/chris/sandbox/go/src/git.charge.co/core/thing.go:55)
[2015-07-01 08:04:09]  [1.11ms]  SELECT  * FROM "things"  WHERE ("name" = 'Name') ORDER BY "things"."id" ASC LIMIT 1

(/Users/chris/sandbox/go/src/git.charge.co/core/thing.go:55)
[2015-07-01 08:04:09]  [0.84ms]  INSERT INTO "things" ("age","name") VALUES ('0','') RETURNING "things"."id"
No err. outThing is { true} {0 true}

The thing to note here is that at object creation time, the name field was not set to "name" as it should have been. Instead it was set to empty string. If I change the Name field to be just a string rather than a sql.NullString, it works as expected. The database reflects this as well:
core=> select * from things;
 id | name | age
----+------+-----
  1 |      |   0
(1 row)

I've tripped over this as well just now.

I've now also seen this crop up with a sql.NullInt64 + FirstOrInit as well.

Thank you for your report, this should been fixed.


[5.7][LookupVisibleDecls] Implement shadowing for unqualified lookups

Cherry-pick #58512 into release/5.7

Explanation: lookupVisibleDecls() function used by code completion is supposed to return all visible and usable declarations. It used to have several issues, such as local types/funcs declared after the code completion point weren't reported despite they are usable, unusable instance members in outer type context were reported, unusable local values outside the current type context were reported, and the name shadowing wasn't implemented. Especially, the lack of shadowing results duplicated code completion entries, for example, in if let user = user { <HERE> }, both the outer user: User? and the inner user: User were reported, which was confusing. This change resolves those issues, so that code completion can provide more accurate results.
Scope: Non-member code completion (i.e. code completion at primary-expression and type-identifier)
Risk: Low. This doesn't affect compilation
Issues: rdar://86285396
Testing: Added regression test cases
Reviewer: Slava Pestov (@slavapestov)

@swift-ci Please test


General bugs

When you remove something from a container, your carrying capacity is ignored, making it possible to carry more than 10*hardiness.
Another thing which may be me misunderstanding how Eamon is supposed to work:
According to the manual, the "to hit"-penalty of shield and leather armor should be 1% and 4% respectively. But when in the mainhall, the penalty of these is mentioned to be 5% and 10%. By dropping the shield and armor I found that the shield does not influence the "chance to hit" whereas the armor influence by 10%, not 4%.
Anyway, you are doing a great job!

At one point, there were a few loopholes which would allow you to carry almost anything (including things you couldn't normally pick up no matter how strong you are) if they were placed in a container first. I fixed most of those loopholes, but I might have missed one. Is there a particular adventure or a particular container you noticed this with?
Also, the documentation is a bit confusing with regards to the combat system. It's based on an older version of the game logic. I'm planning to revise and clarify that in the next couple weeks.

I experienced it in Curse of the Hellsblade when removing the axe from the trunk. I also experienced it in another game, but I don't remember which one.

You have definitely improved the documentation. You may also have fixed the issue with Curse of the Hellsblade, so I am closing this issue too.


feat: Use git email as performer when available

Getting performer identifier from git configuration when it's available makes sense to me for a couple reasons :

Value should be more unique and create less conflicts
Git config can be overriden on a per-repo basis, which means a user could appear in the audit logs with their preferred git identity.

I think I made it so we'll still fall back to the sane default whoami that ensures a value is set.

@djmb, please take a look when you have time. Using email when possible makes total sense to me.


Adjusted the new API URI

in rbattlenet.rb (line 71-73)
def base_uri(path)
"https://#{@@region}.battle.net/api/#{path}"
end
Keep running into connection errors, is there any way i can track what kinda connection error im getting?
Any help would be greatly appreciated.

Hey @hageneez
Have a look https://dev.battle.net/io-docs and play with the API there, The Request URI section will have the exact base URI you need

Ok thanks you for the respond,  i think is misread some info about base_uri. (my mistake).
I think i found the issue, getting a SSL cert error on the API request.
SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError)
Guess i gotta figure this one out somehow.


Fix pagination tripping up if there are no filter criteria

All but the first page were empty if no filter criteria are specified.
Fixed by explicitly setting an empty filter if no filter criteria are specified.
Fixes #18

A request to http://localhost:5006/api/plugins/?type=processing&item-count=25 results in an error, but with other plugin types it works.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.10/site-packages/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.10/site-packages/flask/views.py", line 107, in view
    return current_app.ensure_sync(self.dispatch_request)(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/flask/views.py", line 188, in dispatch_request
    return current_app.ensure_sync(meth)(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/webargs/core.py", line 594, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/flask_smorest/arguments.py", line 82, in wrapper
    return func(*f_args, **f_kwargs)
  File "/usr/local/lib/python3.10/site-packages/flask_smorest/response.py", line 90, in wrapper
    func(*args, **kwargs)
  File "/app/qhana_plugin_registry/api/plugins/root.py", line 161, in get
    pagination_info = default_get_page_info(
  File "/app/qhana_plugin_registry/api/models/pagination_util.py", line 165, in default_get_page_info
    return get_page_info(
  File "/app/qhana_plugin_registry/db/pagination.py", line 153, in get_page_info
    DB.session.query(
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/operators.py", line 440, in __getitem__
    return self.operate(getitem, index)
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 869, in operate
    return op(self.comparator, *other, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/operators.py", line 440, in __getitem__
    return self.operate(getitem, index)
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/type_api.py", line 77, in operate
    return o[0](self.expr, op, *(other + o[1:]), **kwargs)
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/default_comparator.py", line 181, in _getitem_impl
    _unsupported_impl(expr, op, other, **kw)
  File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/default_comparator.py", line 185, in _unsupported_impl
    raise NotImplementedError(
NotImplementedError: Operator 'getitem' is not supported on this expression


CanvasNoPanels has no mouseDown

CanvasNoPanels has no mouseDown
i tried copying the method from mouseUp
canv.mouseDown = (posn, button) => mouseDown(posn, button, actives.filterToList(_.ptInside(posn)).map(_.evObj))
but got this error:

type mismatch;
[error]  found   : List[Any]
[error]  required: ostrat.AnyRefs
[error]     (which expands to)  ostrat.Refs[AnyRef]
[error]   canv.mouseDown = (posn, button) => mouseDown(posn, button, actives.filterToList(.ptInside(posn)).map(.evObj))

need to access via canvasPlatform


bodymovin_light.js contains a syntax error

As mentioned in this issue, https://github.com/QubitProducts/react-bodymovin/issues/1, there is a var statement at the bottom of the file that is directly attached to a closing parenthesis. This does not parse as valid JavaScript and causes build tools to fail.

fixed


Collapse the many forks?

Hello.
I'm assuming many people have submitted pull requests, but it's unclear why these haven't been merged? Is this an abandoned project? Would be good to know what people are using, if so.
Thanks.

I think this project is basically dead, but I did a complete rewrite that properly highlights the newer fish features:
nickeb96/fish.vim
It has much more accurate syntax highlighting and I plan on maintaining it and responding to issues/pulls for the foreseeable future.


Module 3 exercises [MARVIN AYEH]

WS2_M3E1_Template.docx

Well done, Marvin. You clearly grasped the material outlined in Module 3 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


jedit: 5.2.0 -> 5.6.0-unstable-2023-11-19, adopt and rewrite

Description of changes
This is a PR has a complete rewrite of the derivation of the jedit package.
The main difference is that this uses a FOD for ivy dependencies instead of using prefetched .jar files. This is much less error-prone in my opinion.
I used an unstable version, because it has proper jdk15+ support.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 297255 run on x86_64-linux 1

1 package built:

jedit

The ofborg darwin failure mirrors what i got on two x86_64-linux builders:
download-ivy:
    [mkdir] Created dir: /private/tmp/nix-build-jedit-5.6.0-unstable-2023-11-19-ivy-deps.drv-0/jEdit-r25703/lib/ivy
      [get] Getting: https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
      [get] To: /private/tmp/nix-build-jedit-5.6.0-unstable-2023-11-19-ivy-deps.drv-0/jEdit-r25703/lib/ivy/ivy-2.2.0.jar
init-ivy:
retrieve:
[ivy:retrieve] :: Ivy 2.2.0 -<PHONE_NUMBER>0623 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = /private/tmp/nix-build-jedit-5.6.0-unstable-2023-11-19-ivy-deps.drv-0/jEdit-r25703/ivysettings.xml
[ivy:retrieve] :: resolving dependencies<EMAIL_ADDRESS>[ivy:retrieve]  confs: [default, master, compile, runtime, test, provided, sources, javadoc, ant-contrib, docbook, fop, launch4j, scripting, default-plugins, appbundler]
[ivy:retrieve]  found org.jedit.plugins#MacOS;1.5 in jedit-plugins
[ivy:retrieve]  found org.jedit.plugins#QuickNotepad;5.0 in jedit-plugins
BUILD FAILED
/private/tmp/nix-build-jedit-5.6.0-unstable-2023-11-19-ivy-deps.drv-0/jEdit-r25703/build.xml:125: impossible to resolve dependencies:
        java.io.FileNotFoundException<EMAIL_ADDRESS>(No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:289)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:230)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorUpdater.update(XmlModuleDescriptorUpdater.java:138)
        at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.toIvyFile(XmlModuleDescriptorParser.java:153)
        at org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor.toIvyFile(DefaultModuleDescriptor.java:547)
        at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:248)
        at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:195)
        at org.apache.ivy.Ivy.resolve(Ivy.java:502)
        at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:244)
        at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
        at org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java:217)
        at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.java:164)
        at org.apache.ivy.ant.IvyRetrieve.doExecute(IvyRetrieve.java:57)
        at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
        at org.apache.tools.ant.Main.runBuild(Main.java:818)
        at org.apache.tools.ant.Main.startAnt(Main.java:223)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

It seems the FOD is very flaky. I notice that the builder hostname is a part of the filename at /var/empty/.ivy2/cache/, not sure if that is relevant

lets see if the upstream repository is flaky:
@ofborg build jedit jedit.passthru.tests

If this doesn't work we can probably just go back to manually fetching.

Still failing...
/var/empty/.ivy2/cache looks suspicious to me, try setting $HOME

@ofborg jedit jedit.passthru.tests

@ofborg jedit jedit.passthru.tests

@ofborg build jedit

It seems to be able to build on darwin now


feat(Measure/WithDensityFinite): redefine Measure.toFinite

Redefine Measure.toFinite using exists_isFiniteMeasure_absolutelyContinuous.
Redefine Measure.densityToFinite as rnDeriv, deprecate it.
Drop some lemmas about toFiniteAux.
Simplify proofs.

@RemyDegenne I updated docs

Thanks!
bors r+


Remove amazon-cloudwatch delete and call APIs before remote sample app

Issue #, if available:
Metric limiter is having frequent failures due to two issues:

remote-sample-app /healthcheck is called before the sample-app generates two APIs, causing the metric to have the actual value instead of AllOtherRemoteOperation (Sample Link)
during amazon-cloudwatch delete namespace, the amazon-cloudwatch-observability-controller doesn't restart properly and ADOT isn't installed. (Sample Link)

Description of changes:

Call two sample app APIs before pinging the remote sample app
Do not delete amazon-cloudwatch. It is not a necessary operation

Test run: https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/8886143322
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I believe amazon-cloudwatch-observability-controller is responsible for installing ADOT onto the sample applications. I'm not sure why it sometimes doesn't restart after deleting though.


fixtures ordering between bundles

is there a way to make ordering of the fixtures between bundles?

i found this https://github.com/hautelook/AliceBundle/blob/master/src/Locator/EnvDirectoryLocator.php


Review FilterX documentation

The review results will be handed over in: https://docs.google.com/document/d/1DUwcuvuhbqgvhzEwMLgyLRS_zOyIL8xU8T4cHvvYDTc/edit?usp=sharing

The main task is complete, I just have to convert and transfer my on-paper comments to the google document.

@fekete-robert I have added all of my suggestions.


MFA with google autthenticator BUG

Describe the problem
not working MFA adjunted capture with the problem.

Error with Feature-Policy header: Some features are specified in both Feature-Policy and Permissions-Policy header: payment. Values defined in Permissions-Policy header will be used.

Hello @kenjkm77
I think that this is related to Zitadel. Could you please ask in their repo?
https://github.com/zitadel/zitadel


Check for fee/market account low balance

Originally, the blockchain listener was responsible, among other things, to watch for the balance of the fee or market account and notify the operator via a warning message on stdout in case the balance was too low.
That service doesn't have such responsibility anymore, and at the moment, the daemon checks only for zero balance into MarketPrice and TradePropose RPCs.
Is it necessary to add some kind of balance threshold under which the daemon denies previews/trades?

I do think we already return error in preview/trades.
What we can do is to trigger an action webhook to notify via email about this.


Expected more than 1 value per channel when training when using PAN, other architecture works fine

model = smp.PAN(
    encoder_name="efficientnet-b3",
    encoder_weights=None,
    in_channels=1,
    classes=num_classes,
    activation= None
)
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
model.to(device)
test = torch.rand(1, 1, 128, 128).cuda()
out = model(test)
out.shape

Got this error when running the code above :
ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 32, 1, 1])
the code works fine if you change PAN to another architecture..

Currently works with shape of input tensor >= [B x C x 128 x 128] for pytorch <= 1.1.0 and with shape of input tensor >= [B x C x 256 x 256] for pytorch == 1.3.1
Try to increase spatial resolution

changing to
test = torch.rand(1, 1, 256, 256).cuda()
and
test = torch.rand(1, 1, 800, 320).cuda()
still got the same result

Seems like the issue is raised by batch size equals 1. I suppose it happens because of the batch_norm module somewhere inside the model. You can try to increase batch size, or if this is during testing, then do model.eval().

you are right! Thanks.

In some cases increasing batch_size may not work. Make sure that dataset length is devisible by batch size without a remainder. This remainder could be a root of the problem, so use drop_last=True in Dataloader to avoid this problem


Not compatible with Node.js v22

I recently updated to Node.js v22 and now I get the error message:
The plugin "homebridge-webos-tv" requires Node.js version of ^18.20.4 || ^20.15.1 which does not satisfy the current Node.js version of v22.11.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF

Thanks for the info! I will validate if everything works fine with v22 and enable it!

Node.js v22 should now work with version 2.4.6


Version bump, Comments to readme, Updated image in setup_env.sh

Minor changes:

version bump init
version bump to lusee image in setup_env -- in general this should be done at release tag
added a note on environment variables (README.md was wrong about what is set and what needs to be set fo setup_env; also added LUSEEOPSIM_PATH)

Updating opsim


Reduce LoadingBuilder nesting and lazy load fonts

Could be split up into dedicated pull request if necessary, but I'd prefer to rebase this branch if changes occur.
4c7ed02
Parallelizes LoadingBuilders in Settings for the first block. Could/should also be done further down, but this is a first proof of concept.
65871dc
Extracts the FontRadioDialog Widget
bedd444
Modifies the FontDialog to have a state and lazy loads the fonts. It loads one font each 300 ms currently which is a fine speed, but there's way too many fonts available to ever reach reasonable performance. Either there needs to be a subset for selection or buffering needs to start upon launching the app (which is not reasonable imo).

Due to list optimizations, can show the fonts directly. Any further proposals?

Pushed some improvements on your branch.

Should I rebase / squash / amend some commits?


Change the logo of IIITA and Open the link in a new tab

Issue Number #98
Changes proposed in this pull request : Change the logo.
Link: https://ritikamotwani.github.io/Girls-who-code/

LGTM :+1:


Hyprland stutters a lot after an upgrade to Linux 6.11, adds an invisible "unknown" monitor between the two.

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196

flags: (if any)

System Information:
System name: Linux
Node name: purplejam
Release: 6.11.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:50 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD102 [GeForce RTX 4090] [10de:2684] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  split-monitor-workspaces by Duckonaut ver 1.2.0

======Config-Start======

Config File: /home/user/.config/hypr/hyprland.conf: Read Succeeded
env = QT_QPA_PLATFORM,wayland
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
# Disable GSYNC
env = __GL_GSYNC_ALLOWED,0
# Make electron apps work better
env = ELECTRON_OZONE_PLATFORM_HINT,auto

# Experiments
env = __GL_MaxFramesAllowed,1
env = __GL_SYNC_TO_VBLANK,0

# Enable tearing: disables the usage ot a newer kernel DRM API that doesn't support tearing yet.
env = WLR_DRM_NO_ATOMIC,1

plugin {
    split-monitor-workspaces {
        count = 5
    }
}

debug {
    enable_stdout_logs = true
    disable_logs = false
}

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=DP-3, 2560x1440@240, 0x0, 1, vrr, 0, bitdepth, 10
monitor=DP-2, preferred, auto, 1, vrr, 0, bitdepth, 10
monitor=HDMI-A-1, disable

# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
exec-once = waybar
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = dbus-update-activation-environment --all
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
exec-once=hyprctl plugin load /home/user/workspace/split-monitor-workspaces/split-monitor-workspaces.so

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# Some default env vars.
env = XCURSOR_SIZE,24

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options = grp:alt_shift_toggle
    kb_rules =

    follow_mouse = 1

    touchpad {
        natural_scroll = no
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    #accel_profile = "flat"
    force_no_accel = true
}

cursor {
    inactive_timeout = 2
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 20
    border_size = 2
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    layout = dwindle

    # Enable tearing
    allow_tearing = true
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10

    blur {
        enabled = true
        size = 3
        passes = 1
    }

    drop_shadow = yes
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)
}

misc {
    disable_hyprland_logo = true
    background_color = 0x000000
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_status = master
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = off
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device {
    name = compx-pulsar-xlite-wireless
    sensitivity = 0
    accel_profile = flat
    #force_no_accel = true
}

# Allow tearing for Quake
windowrulev2 = immediate, title:^(Quake Live)$
windowrulev2 = immediate, title:^(Freesync test)$
# Let steam NOT lose focus
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, C, killactive,
bind = $mainMod SHIFT, M, exit,
bind = $mainMod, V, togglefloating,
bind = $mainMod, F, fullscreen,
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, split-workspace, 1
bind = $mainMod, 2, split-workspace, 2
bind = $mainMod, 3, split-workspace, 3
bind = $mainMod, 4, split-workspace, 4
bind = $mainMod, 5, split-workspace, 5
bind = $mainMod, 6, split-workspace, 6
bind = $mainMod, 7, split-workspace, 7
bind = $mainMod, 8, split-workspace, 8
bind = $mainMod, 9, split-workspace, 9
bind = $mainMod, 0, split-workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, split-movetoworkspace, 1
bind = $mainMod SHIFT, 2, split-movetoworkspace, 2
bind = $mainMod SHIFT, 3, split-movetoworkspace, 3
bind = $mainMod SHIFT, 4, split-movetoworkspace, 4
bind = $mainMod SHIFT, 5, split-movetoworkspace, 5
bind = $mainMod SHIFT, 6, split-movetoworkspace, 6
bind = $mainMod SHIFT, 7, split-movetoworkspace, 7
bind = $mainMod SHIFT, 8, split-movetoworkspace, 8
bind = $mainMod SHIFT, 9, split-movetoworkspace, 9
bind = $mainMod SHIFT, 0, split-movetoworkspace, 10

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, split-workspace, e+1
bind = $mainMod, mouse_up, split-workspace, e-1

# Basic ALT-TAB functionality.
bind = $mainMod, tab, cyclenext
bind = $mainMod SHIFT, tab, cyclenext, prev
bind = $mainMod, return, exec, /home/user/downloads/browser/Warp-x86_64.AppImage
bind = $mainMod SHIFT, G, exec, hyprctl keyword monitor "DP-2, modeline 1504.400 2560 2568 2600 2640 1440 1575 1580 1583 +hsync -vsync, 0x0, 1, vrr, 0"
bind = $mainMod CTRL, G, exec, hyprctl keyword monitor "DP-2, modeline 1504.400 2560 2568 2600 2640 1440 1575 1580 1583 +hsync -vsync, 0x0, 1, vrr, 1"
bind = $mainMod SHIFT, A, exec, hyprctl keyword input:kb_layout "us" && notify-send "us"
bind = $mainMod CTRL, A, exec, hyprctl keyword input:kb_layout "us,ru" && notify-send "us,ru"
bind = $mainMod, L, exec, urlshortener-cli --get-from-clipboard --set-to-clipboard
bind = $mainMod, O, split-changemonitor, +1
bind = $mainMod, D, dpms, off DP-3
bind = $mainMod, S, dpms, off DP-2
bind = $mainMod SHIFT, D, dpms, on DP-3
bind = $mainMod SHIFT, S, dpms, on DP-2
bind = $mainMod SHIFT, D, exec, xrandr --output DP-2 --primary
bind = $mainMod SHIFT, S, exec, xrandr --output DP-2 --primary
bind = $mainMod SHIFT CTRL, return, exec, shutdown -h now
bind = $mainMod, Z, focusmonitor, +1
bind = CTRL ALT, Z, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
# Screenshot the entire display area (all the monitors).
bind = CTRL SHIFT, 3, exec, grim /tmp/screenshot.png
# Screenshot a part of the screen (user selection).
bind = CTRL SHIFT, 4, exec, slurp | grim -g - /tmp/screenshot.png
# Screenshot for the current active window.
bind = CTRL SHIFT, 5, exec, hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g - /tmp/screenshot.png
# Toggle waybar
bindr = ALT, Alt_R, exec, killall -SIGUSR1 waybar

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
======Config-End========

Description
I can run Hyprland, but I have a 2-hertz refresh rate after yesterday's ArchLinux upgrade and a weird fake monitor between my two. According to the logs, somehow, aquamarine detects two GPUs and creates the rendering backends for both of them; however, only one is enabled in BIOS (the discrete GPU):
   11 [LOG] GPU information:
   12 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD102 [GeForce RTX 4090] [10de:2684] (rev a1) (prog-if 00 [VGA controller])

  561 [LOG] DRM driver information: simpledrm v1.0.0 from 0 description DRM driver for simple-framebuffer platform devices
  562 [LOG] DRM driver information: nvidia-drm v0.0.0 from 0 description NVIDIA DRM driver

 81 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1
   82 [LOG] [AQ] libseat: Device /dev/dri/card1 supports kms
   83 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-DP-1
   84 [ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-DP-1, no devnode
   85 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-DP-2
   86 [ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-DP-2, no devnode
   87 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-DP-3
   88 [ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-DP-3, no devnode
   89 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-HDMI-A-1
   90 [ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1/card1-HDMI-A-1, no devnode
   91 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/simple-framebuffer.0/drm/card0
   92 [LOG] [AQ] libseat: Device /dev/dri/card0 supports kms
   93 [LOG] [AQ] drm: Enumerated device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/simple-framebuffer.0/drm/card0/card0-Unknown-1
   94 [ERR] [AQ] drm: Skipping device /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/simple-framebuffer.0/drm/card0/card0-Unknown-1, no devnode
   95 [LOG] [AQ] drm: Found 2 GPUs
   96 [LOG] [AQ] drm: Starting backend for /dev/dri/card0, with driver simpledrm
   97 [LOG] [AQ] drm: Registered gpu /dev/dri/card0
   98 [LOG] [AQ] drm: Atomic supported, using atomic for modesetting
   99 [LOG] [AQ] drm: drmProps.supportsAsyncCommit: false
  100 [LOG] [AQ] drm: drmProps.supportsAddFb2Modifiers: true
  101 [LOG] [AQ] drm: drmProps.supportsTimelines: false
  102 [LOG] [AQ] drm: found 1 CRTCs
  103 [LOG] [AQ] drm: found 1 planes
  104 [LOG] [AQ] drm: Plane 32 has type 1
  105 [LOG] [AQ] drm: Plane 32 has 1 formats
  106 [LOG] [AQ] drm: Plane: checking for modifiers
  107 [LOG] [AQ] drm: Basic init pass for gpu /dev/dri/card0
  108 [LOG] [AQ] drm: Scanning connectors for /dev/dri/card0
  109 [LOG] [AQ] drm: Scanning connector id 36
  110 [LOG] [AQ] drm: Initializing connector id 36
  111 [LOG] [AQ] drm: Connector gets name Unknown-1
  112 [LOG] [AQ] drm: Connector 36 connection state: 1
  113 [LOG] [AQ] drm: Rechecking CRTCs
  114 [LOG] [AQ] drm: Skipping connector Unknown-1, has crtc 34 and is connected
  115 [LOG] [AQ] drm: slot 0 crtc 34 taken by Unknown-1, skipping
  116 [LOG] [AQ] drm: rescanning after realloc
  117 [LOG] [AQ] drm: Scanning connectors for /dev/dri/card0
  118 [LOG] [AQ] drm: Scanning connector id 36
  119 [LOG] [AQ] drm: Connector id 36 already initialized
  120 [LOG] [AQ] drm: Connector 36 connection state: 1
  121 [LOG] [AQ] drm: Connector Unknown-1 connected
  122 [LOG] [AQ] drm: Connecting connector Unknown-1, CRTC ID 34
  123 [LOG] [AQ] drm: Dumping detected modes:
  124 [LOG] [AQ] drm: Mode 0<EMAIL_ADDRESS>(preferred)
  125 [LOG] [AQ] drm: Physical size [Vector2D: x: 677, y: 381] (mm)
  126 [ERR] [AQ] drm: failed to parse edid
  127 [LOG] [AQ] drm: Description    (Unknown-1)
  128 [LOG] [AQ] drm: connector Unknown-1 crtc is incapable of vrr: props.vrr_capable -> 0, crtc->props.vrr_enabled -> 24
  129 [LOG] [AQ] drm: Explicit sync unsupported
  130 [LOG] [AQ] drm: gpu /dev/dri/card0 becomes primary drm
  131 [LOG] [AQ] drm: Starting backend for /dev/dri/card1, with driver nvidia-drm with primary /dev/dri/card0
  132 [LOG] [AQ] drm: Registered gpu /dev/dri/card1
  133 [LOG] [AQ] drm: Atomic supported, using atomic for modesetting

Then, further in the logs it says that the "card0" becomes the primary DRM, while card1 being the NVIDIA one (the discrete GPU only enabled in BIOS). And the last problem is many-many messages of:
eglCreateSyncKHR failed

And other sorts of error messages. Just before yesterday's evening ArchLinux update everything was flawless, nothing except the new packages has changed.
UPD: found from here
env = AQ_DRM_DEVICES,/dev/dri/card1

Completely fixes the issue. What has happened and why? Did the new kernel suddenly start to report the GPU, which is disabled in BIOS, as enabled so that Aquamarine attempts to use it?
How to reproduce
Use the latest ArchLinux. It has two GPUs, one disabled in BIOS.
Crash reports, logs, images, videos
The log file is too big (10.2 MB) and is constantly growing, can't upload it here, I guess, so uploading as an archive.
log.tar.gz
Drm log:
dmesg.log

unknown display is an nvidia bug.

Completely fixes the issue. What has happened and why? Did the new kernel suddenly start to report the GPU, which is disabled in BIOS, as enabled so that Aquamarine attempts to use it?

dk, ask nv

unknown display is an nvidia bug.

Completely fixes the issue. What has happened and why? Did the new kernel suddenly start to report the GPU, which is disabled in BIOS, as enabled so that Aquamarine attempts to use it?

dk, ask nv

But finding two GPUs, too? Even though in the beginning, just one was reported to be found?
The problem wasn't just the unknown display.

sounds like an nvidia bug

I figured that the /dev/dri/card0 is also nvidia (so one GPU is found instead of reported two), but it is the simple framebuffer instead. I doubt any renderer should use the direct framebuffer instead of using the proper GPU device.
I also don't think this is an NVIDIA problem since this is a Linux-generic thing, not related to NVIDIA or any other vendor.
Linux exposes the device node from the DRM/tiny module:
1147 Oct 02 09:58:57 purplejam kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
1149 Oct 02 09:58:57 purplejam kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device

The entire problem appears to be using this device node instead of the proper GPU device node for rending using Aquamarine. Hyprland shouldn't probably ever be using the framebuffer device nodes. It is easy to filter out the framebuffer devices.
Here we could simply check for the device not being the "simple-framebuffer" implementation and otherwise skip it. This is wrong for any vendor for all the scenarios. It should be used when there is a direct purpose for it. It is wrong to require each and every user to manually and always disable it on their system when we know we can skip it because it is, either way, wrong to try working with it.
If there really had been two different GPUs as it is claimed, for example, one integrated and one discrete, or three, then it would have made sense to remind the users to use the AQ_DRM_DEVICES environment variable to specify the device(s) they want to be used. But using the simple-framebuffer device is just wrong all the way in all the cases. Do you mind if I create a PR addressing this issue? Just to re-iterate, this is Linux-related, not NVIDIA/AMD/Intel/Qualcomm/PowerVR/etc related.

sounds like an nvidia bug

I have a laptop with only intel graphics and it also happened to me.

sounds like an nvidia bug

I have a laptop with only intel graphics and it also happened to me.
00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])

Also I have only 1 monitor, and it adds the second one "Unknown-1". Using env variable doesn't help in my case.
FYI, my workaround for stutters is to disable(in config) this fake monitor.

What is your Linux kernel version and when it started to happen? Does disabling the simple framebuffer help? Try adding this to your kernel cmd line before you boot it:
initcall_blacklist=sysfb_init

What is your Linux kernel version and when it started to happen?

Linux archlinux 6.11.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:48 +0000 x86_64 GNU/Linux
I'm not sure when it has happened, but a month ago there was no this bug.

Does disabling the simple framebuffer help?

Yes, it helped.

I can say prior to upgrading to 6.11 there were no issues, so I connect this to the changes there. Anyway, thanks for your report, I'll create the aquamarine patch this week.


Paket doesn't create binding redirects based upon referenced DLLs

Description
I have a C# paket based solution that includes a project that s an externally produced DLL. That DLL references, say, version 4 of an assembly. The assembly is listed in paket.dependencies and has paket.references from other projects in the solution.
When running paket install or update with --redirects --create-new-binding-files , the paket.lock file resolves the assembly as, say, version 6 but doesn't add update / add a a redirect in the app.config file for the problem project (probably since it doesn't have a paket.reference.)
When I build the problem project the compiler warns that I should have redirects that map version 4 to version 6 of the assembly.
Expected behavior
paket install or update should add an any version to version 6 redirect into the problem project's app.config file.
Actual behavior
The problem project's app.config remains unchanged.
Known workarounds
I suspect that I could resolve this by explicitly adding the assembly to the project's paket.references file, but that's a maintenance issue since the project itself doesn't actually make that reference. Future updates could obviate the need for this reference but would it would be hard to detect.

Also, currently using version 5.257.0 of paket.

I suspect that this may be beyond the design of paket but would like suggestions about the best way to handle this situation. Namely, a 'rogue' DLL that has references to assemblies that are also being used by the solution.


Settings Crashes and does not open

Microsoft PowerToys version
0.35.0
Windows 10 20H2
Running as admin

[X] Yes

Area(s) with issue?
Settings, System tray interaction
Steps to reproduce

Install PowerToys using the latest Stable Github Release
Run the EXE File and install PowerToys
Try opening settings and see it crash

✔ Expected Behavior
Open Settings when I click it
https://i.imgur.com/FVBFnc7.gif
❌ Actual Behavior
Crashes instead of opening Settings
Other Software
No response

@WickedWizard3588 can you run the "Report Bug" tool and include the zip?

Sure, here you go :)
PowerToysReport_2021-04-27-20-12-38.zip

Hello,
I performed a Clean Install of my PC, due to a few issues, and Powertoys works perfectly now. I'll close this issue now.
Thank you :)


fix #7367: Replace isAndroid with window.ConpositionEvent.

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
#7367

Thanks for the PR - this should be safe to be always enabled. See f7ca21eab1e0d661945aa6070fc988028c90966f


Use bluss/maplit

This will make our code look much nicer:
https://bluss.github.io/maplit/doc/maplit/index.html

Or... https://github.com/tomjakubowski/json_macros