ExceptionInInitializerError caused by NullPointerException thrown by  StatusConsoleListener log4j2 2.23.1

Description
I have created a java sample where I am only initializing the logger using LogManager.
Below is my sample code
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class TestLog {
	private final static Logger s_logger=LogManager.getLogger(TestLog.class);
	public static void main(String[] args) {
	}

When executing this code from inside IBM DB2 11.1 using a procedure, I am getting following exception.
java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError
	at org.apache.logging.log4j.spi.AbstractLogger.<clinit>(AbstractLogger.java:107)
	at org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:60)
	at com.test.TestLog.<clinit>(TestLog.java:11)
Caused by: java.lang.ExceptionInInitializerError
	at java.lang.J9VMInternals.ensureError(J9VMInternals.java:137)
	at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:126)
	at org.apache.logging.log4j.status.StatusLogger.getLogger(StatusLogger.java:564)
	at org.apache.logging.log4j.internal.DefaultLogBuilder.<clinit>(DefaultLogBuilder.java:40)
	at java.lang.Class.forNameImpl(Native Method)
	at java.lang.Class.forName(Class.java:343)
	at java.lang.invoke.MethodType.nonPrimitiveClassFromString(MethodType.java:311)
	at java.lang.invoke.MethodType.parseIntoClasses(MethodType.java:373)
	at java.lang.invoke.MethodType.fromMethodDescriptorString(MethodType.java:286)
	at java.lang.invoke.MethodHandle.getCPMethodTypeAt(Native Method)
	at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:849)
	... 3 more
Caused by: java.lang.NullPointerException: level
	at java.util.Objects.requireNonNull(Objects.java:239)
	at org.apache.logging.log4j.status.StatusConsoleListener.<init>(StatusConsoleListener.java:68)
	at org.apache.logging.log4j.status.StatusConsoleListener.<init>(StatusConsoleListener.java:54)
	at org.apache.logging.log4j.status.StatusLogger.<init>(StatusLogger.java:533)
	at org.apache.logging.log4j.status.StatusLogger$InstanceHolder.<clinit>(StatusLogger.java:505)
	... 12 more

Below is my procedure definition.
CREATE or REPLACE PROCEDURE ING_TEST (IN result VARCHAR(100)) LANGUAGE JAVA PARAMETER STYLE JAVA MODIFIES SQL DATA EXTERNAL NAME 'com.test.TestLog!testlog4j' / GRANT EXECUTE ON PROCEDURE ING_TEST TO PUBLIC WITH GRANT OPTION /
When using log4j2 2.23.0 jar everything works fine. But as I replaced log4j2 2.23.1 it starts giving above exception.
Configuration
log4j2 2.23.1
IBM DB2 version 11.1
IBM Java
java version "1.8.0" Java(TM) SE Runtime Environment (build pwa6480sr2fp10-20160108_01(SR2 FP10)) IBM J9 VM (build 2.8, JRE 1.8.0 Windows Server 2016 Datacenter amd64-64 Compressed References 20160106_284759 (JIT enabled, AOT enabled) J9VM - R28_20160106_1341_B284759 JIT  - tr.r14.java_20151209_107110.02 GC   - R28_20160106_1341_B284759_CMPRSS J9CL - 20160106_284759) JCL - 20151231_01 based on Oracle jdk8u71-b15
Version: [2.23.1]
Operating system: [Windows Server 2016]
JDK: [java version "1.8.0"
Java(TM) SE Runtime Environment (build pwa6480sr2fp10-20160108_01(SR2 FP10))
IBM J9 VM (build 2.8, JRE 1.8.0 Windows Server 2016 Datacenter amd64-64 Compressed References 20160106_284759 (JIT enabled, AOT enabled)
J9VM - R28_20160106_1341_B284759
JIT  - tr.r14.java_20151209_107110.02
GC   - R28_20160106_1341_B284759_CMPRSS
J9CL - 20160106_284759)
JCL - 20151231_01 based on Oracle jdk8u71-b15]

@aaaygupta, the stack trace doesn't really make sense to me. I cannot think of a way Config.getInstance().fallbackListenerLevel (StatusLogger.java:533) returns null. I am suspecting an unexpected behaviour in J9... :thinking:

Could you try placing static { org.apache.logging.log4j.status.StatusLogger.getLogger().error("test"); } just above the ... Logger = LogManager... line in TestLog? Does it solve the problem? If not, could you share the stack trace of the exception you get?
Could you share IngrianLogger and IngrianUtils sources, please?
I wanted to give J9 a spin myself, but I couldn't find a binary matching yours in AdoptOpenJDK. Could it be that you're using a really old J9 release? Could you update J9 to the most recent Java 8 supporting version? If not, where can I download the J9 VM matching yours to reproduce the problem?

@vy Sorry, for the wrong error stack before I have updated the stack in the description. Please have a look now

@aaaygupta, could you try placing static { org.apache.logging.log4j.status.StatusLogger.getLogger().error("test"); } just above the ... Logger = LogManager... line in TestLog? Does it solve the problem? If not, could you share the stack trace of the exception you get?

My guess is that J9 version 26 can not handle the static initialization cycle that starts with the StatusLogger class.
To initialize StatusLogger, you need to initialize its parent class AbstractLogger. The initialization of AbstractLogger causes DefaultLogBuilder to be initialized:
https://github.com/apache/logging-log4j2/blob/05f9d96b95e2c227b263650441c6bc5207914858/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java#L106
which starts the initialization of StatusLogger.
Most modern JVM handle this cycle correctly (I tested the latest Semuru OpenJ9 8 release), but J9 version 26 must not be among them.
@aaaygupta,
Can you upgrade the virtual machine used by DB2 to a more recent version of Semuru?

@aaaygupta, could you try placing static { org.apache.logging.log4j.status.StatusLogger.getLogger().error("test"); } just above the ... Logger = LogManager... line in TestLog? Does it solve the problem? If not, could you share the stack trace of the exception you get?

@vy
This is the new exception trace
java.lang.NoClassDefFoundError: com.test.TestLog (initialization failure) 	at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:87) Caused by: java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError 	at org.apache.logging.log4j.spi.AbstractLogger.<clinit>(AbstractLogger.java:107) 	at com.test.TestLog.<clinit>(TestLog.java:6) Caused by: java.lang.ExceptionInInitializerError 	at java.lang.J9VMInternals.ensureError(J9VMInternals.java:137) 	at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:126) 	at org.apache.logging.log4j.status.StatusLogger.getLogger(StatusLogger.java:564) 	at org.apache.logging.log4j.internal.DefaultLogBuilder.<clinit>(DefaultLogBuilder.java:40) 	at java.lang.Class.forNameImpl(Native Method) 	at java.lang.Class.forName(Class.java:343) 	at java.lang.invoke.MethodType.nonPrimitiveClassFromString(MethodType.java:311) 	at java.lang.invoke.MethodType.parseIntoClasses(MethodType.java:373) 	at java.lang.invoke.MethodType.fromMethodDescriptorString(MethodType.java:286) 	at java.lang.invoke.MethodHandle.getCPMethodTypeAt(Native Method) 	at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:849) 	... 2 more Caused by: java.lang.NullPointerException: level 	at java.util.Objects.requireNonNull(Objects.java:239) 	at org.apache.logging.log4j.status.StatusConsoleListener.<init>(StatusConsoleListener.java:68) 	at org.apache.logging.log4j.status.StatusConsoleListener.<init>(StatusConsoleListener.java:54) 	at org.apache.logging.log4j.status.StatusLogger.<init>(StatusLogger.java:533) 	at org.apache.logging.log4j.status.StatusLogger$InstanceHolder.<clinit>(StatusLogger.java:505) 	... 11 more
And this is my code
`package com.test;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class TestLog {
static { org.apache.logging.log4j.status.StatusLogger.getLogger().error("test"); }
private final static Logger s_logger=LogManager.getLogger(TestLog.class);
public static void main(String[] args) {
testlog4j("test");
}
public static void testlog4j(String a) {
    }

}`

My guess is that J9 version 26 can not handle the static initialization cycle that starts with the StatusLogger class.
To initialize StatusLogger, you need to initialize its parent class AbstractLogger. The initialization of AbstractLogger causes DefaultLogBuilder to be initialized:
https://github.com/apache/logging-log4j2/blob/05f9d96b95e2c227b263650441c6bc5207914858/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java#L106
which starts the initialization of StatusLogger.
Most modern JVM handle this cycle correctly (I tested the latest Semuru OpenJ9 8 release), but J9 version 26 must not be among them.
@aaaygupta, Can you upgrade the virtual machine used by DB2 to a more recent version of Semuru?

Appologies for silly queries as I am new with IBM java.
How did you say that the java that I am using is " J9 version 26" can you highlight that.
Also when you said that "J9 version 26 can not handle the static initialization cycle that starts with the StatusLogger class" then is it something introduced in log4j 2.23.1?
Because same sample works in same environment when I use log4j 2.23.0 jars

@aaaygupta, Log4j version 2.23.1 changed the way StatusLogger is initialized. This works fine with modern JVMs, but, as I indicated earlier and asked you to upgrade your J9 version, I suspect you get bitten by a bug in the J9 version you are using.
How do you install IBM DB2 11.1? How do you install J9?

My guess is that J9 version 26 can not handle the static initialization cycle that starts with the StatusLogger class.
To initialize StatusLogger, you need to initialize its parent class AbstractLogger. The initialization of AbstractLogger causes DefaultLogBuilder to be initialized:
https://github.com/apache/logging-log4j2/blob/05f9d96b95e2c227b263650441c6bc5207914858/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java#L106
which starts the initialization of StatusLogger.
Most modern JVM handle this cycle correctly (I tested the latest Semuru OpenJ9 8 release), but J9 version 26 must not be among them.
@aaaygupta, Can you upgrade the virtual machine used by DB2 to a more recent version of Semuru?

Appologies for silly queries as I am new with IBM java. How did you say that the java that I am using is " J9 version 26" can you highlight that. Also when you said that "J9 version 26 can not handle the static initialization cycle that starts with the StatusLogger class" then is it something introduced in log4j 2.23.1? Because same sample works in same environment when I use log4j 2.23.0 jars

Hi,
The issue got resolved after upgrading to IBM java 8 to its latest updated version of Semuru
(8.0.412.0
OpenJDK 8u412-b08
OpenJ9 0.44.0)
But it seems this jdk do not have all the required IBM DB2 specific jars. As I got another classnotfoundexception "com.ibm.xml.xlxp.api.jaxp.impl.SAXParserFactoryImpl"
When I compared the two jdks there were many jars that were missing.
Any opinion on this?

@aaaygupta, Log4j version 2.23.1 changed the way StatusLogger is initialized. This works fine with modern JVMs, but, as I indicated earlier and asked you to upgrade your J9 version, I suspect you get bitten by a bug in the J9 version you are using.
How do you install IBM DB2 11.1? How do you install J9?

Hi @vy As per my last comment the issues got resolved after upgrading to IBM java 8 to its latest updated version of Semuru
(8.0.412.0
OpenJDK 8u412-b08
OpenJ9 0.44.0)
But it seems this jdk do not have all the required IBM DB2 specific jars. As I got another classnotfoundexception "com.ibm.xml.xlxp.api.jaxp.impl.SAXParserFactoryImpl"
When I compared the two jdks there were many jars that were missing.
Any opinion on this?
I downloaded IBM DB2 using this link download and install

Since it is confirmed that this is not a Log4j bug, I am converting this ticket to a discussion instead.


rustup

I am on mobile and so I couldn't test this... let's see how it goes. ;)

@bors r+

:pushpin: Commit ea63a695c8ba0f4322f21074f7646e0ea9f43001 has been approved by RalfJung

:hourglass: Testing commit ea63a695c8ba0f4322f21074f7646e0ea9f43001 with merge 19ef76477c0ea1722f91ab6b1c2dcb365f064992...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 19ef76477c0ea1722f91ab6b1c2dcb365f064992 to master...


fix Pick Insert init plan error may forget to abort txn (#34220)

Pick https://github.com/apache/doris/pull/34220

run buildall


Project env vars in config file not being passed to parent terragrunt.hcl

I am trying to set up Infracost on our Terragrunt repository. This repo keeps things DRY by re-using the same directory for different environments. Each environment is ran by specifying some environment variables (ENV and REGION). These values are found by Terragrunt using the get_env() function:
locals {
  region = get_env("REGION")
  env    = get_env("ENV")
}

The above code is in in the "parent" terragrunt.hcl, which is included in the base terragrunt.hcl with an include block:
include {
  path   = find_in_parent_folders()
  expose = true
}

The base terragrunt.hcl is the one Infracost is running against.
It seems that Infracost should be able to handle this by using a config file, where each environment is configured as its own project with its own set of env vars, according to the docs here.
Example of my config file infracost.yml (TG_DIR is set to the directory I want to run Infracost in; the location of the base terragrunt.hcl):
version: 0.1
projects:
    - name: dev
      path: ${TG_DIR}
      env:
        ENV: dev
        REGION: us-east-1
    - name: qa
      path: ${TG_DIR}
      env:
        ENV: qa
        REGION: us-east-1
    - name: prod
      path: ${TG_DIR}
      env:
        ENV: prod
        REGION: us-east-1

However, this doesn't work as expected. When running infracost breakdown --config-file ${TG_DIR}/infracost.yml it complains that the environment variables aren't defined:
Error in function call; Call to function "get_env" failed:
          EnvVarNotFound:
            Required environment variable ENV - not found.

It works fine when I don't use the config file but instead pass through the env vars when running the infracost breakdown command, but then I'd have to run each project separately, which isn't ideal. Is this a bug, or am I doing something wrong?

Thanks @aliscott  👍

Hi @Rwwn, thanks for reporting this issue. We've released a fix for this in Infracost version v0.10.28


[Bug][Config UI] AxiosError: Request failed with status code 502

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When I try to access Config UI using http://localhost:4000, I get the AxiosError: Request failed with status code 502 error
What do you expect to happen
I want to view Config UI dashboard
How to reproduce
None
Anything else
No response
Version
v1.0.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Was it docker-compose or helm-chart?

I have the same problem. I am a first-time user. I am using docker-compose. All I have to work with is a docker-compose.yml and a .env file. I am following instructions from this url https://devlake.apache.org/docs/GettingStarted/DockerComposeSetup.

When I checked the logs of the docker container that was running devlake, I saw an error stating that 'ENCRYPTION_SECRET' was missing and that I needed to enter that in the .env file. The instructions on the Getting Started guide suggested to add it as an env var locally, but that didn't work. I saved the encryption secret in the .env file and did a docker-compose up -d. Then it worked.


@comet/create-app add run lint autofix

Based on: #159
After the execution of each command eslint autofix is run if the dependencies are installed. Additionally, create-app now installs the project dependencies per default.

@max-debug022 Is there a reason why we don't just execute the lint scripts as a last step? (like https://github.com/vivid-planet/comet-upgrade/pull/9/files) Since I didn't review the script initially, I'm not 100% familiar with how it's structured.

@max-debug022 Is there a reason why we don't just execute the lint scripts as a last step? (like https://github.com/vivid-planet/comet-upgrade/pull/9/files) Since I didn't review the script initially, I'm not 100% familiar with how it's structured.

@thomasdax98 That is a good idea - I will implement that.

@max-debug022 could you please rebase this PR now that #159 has been merged? Thanks!

@max-debug022 could you please rebase this PR now that #159 has been merged? Thanks!

@johnnyomair done!

And please resolve the conflicts

@max-debug022 please fix the failing pipeline


construct Transport explicitly rather than copying to make go vet happy

LGTM.  Can you add a comment that we should switch back after 1.7?

Cool; Thanks Patrick!


Implementation For larger infrastructure

Azure Key Vaults used to store secrets
Azure Devops Service connections used to authenticate pipeline agents instead of saving Azure Service principle in Devops library as a variable group
Pipeline stages, parameters and AzureCLI tasks used
JMeter properties files used to:

make load profile flexible
enabling multiple test environments

JMeter worker count made configurable so it can be set via pipeline
Azure Backend Listener plugin has been added to the Dockerfile

Hello @hepsi204 !
Thank you so much for this wonderful work, congratulations for putting together such great example!
I have some considerations about it. I think we may need to break it into different PRs with different purposes:
What I believe we should take and accept:

Key Vault implementation: I loved the idea of adding it to the sample. It definitely makes it more secure. I created #30 for that.
Azure Devops Service connections. We can address it in the same PR that solves #30.

What I believe we should just add as documentation:

Azure Backend Listener plugin: the reason why is to keep Dockerfile as simple and as generic as possible for any future user. Not everyone will use this plugin, so we shouldn't add it directly do the Dockerfile. On the other hand, we can write a markdown file and add it to the docs folder explaining not only how people install it, but also how they can use the plugin.

What I believe we shouldn't introduce now:

JMeter properties files: for the same reason of keeping the sample simple. If you check the main README file, you should see some instructions in the end on how to make it more flexible:

If you feel that more is necessary, how about a documentation on the docs directory explaining how to do it?

What I would like to ask you:

Pipeline stages. Do you feel that breaking into separated stages gives us any advantage? Or does it add complexity?

I would love your thoughts on these topics!
Again, thank you so much! Let's work together to introduce all the great changes you are proposing!

@hepsi204 I marked it as a Draft PR so we can iterate on it :)

Hi @allantargino ,
Thank you for getting back to me so soon and the kind words. :)
I needed to bounce ideas off you all to decide what to keep/drop hence I added the entire implementation as a separate folder as this is my very first open source PR, so your feedback is perfect.
I also think all the points made were good points.
What are your thoughts on making JMeter slave counts configurable as parameters so users can choose number of slaves to initialise ? - keep/drop ?
I will get started on breaking the work into PR's.
Thanks,
Hepsiba Reddy

Hi @hepsi204!
I am sorry it took so long to reply you back now!
I think that having that as a library variable makes the experience easy for me. Do you think that it's best to have it as a parameter inside a template?

I didn't intended to close this, sorry! I deleted the master branch in favor of the new main one and didn't realize this PR was in draft. But I think most of the code is being iterated on #33  right?
Feel free to open this again.


Docs june 2022

Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

Codecov Report

Merging #6 (4515b97) into main (e6338ad) will increase coverage by 0.07%.
The diff coverage is 54.76%.


if measureRef is called multiple times with different values, scroll offset can be wrong

I attempted to put together a codesandbox for this (and will try again later), but we have a third-party component that can, on occasion, change it's height each re-render for ~3 cycles. This would normally be fine, except that it starts out relatively small, jumps up to something really big, then reverts to it's actual size. Internally, react-virtual keeps using the same scrollOffset because the onScroll handler does not get called for each change, which results in an inaccurate offset measurement. This can cause quite a jump while scrolling.
For now, I've just copied the code over and, in defaultScrollToFn, I also update latestRef.current.scrollOffset to equal what the parentRef.current[scrollKey] is being set to. This fixed my issue, but I don't know if it's the most effective way to deal with the mis-calculating.

I think this is a good workaround for now (and I hope it still is). I'm not sure how else to improve the situation currently, so let's keep tabs on this case and keep addressing it in the future as we improve the library.


Build: Switch to use pnpm

The yarn lockfile seems near corruption somehow.
Could switch to yarn berry, or just take the dive into the future.

📦 Published PR as canary version: 0.0.4-canary.5.764258f.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Someone should go visit the design-system packages and fix this:
└─┬ @storybook/design-system 7.15.11
  ├── ✕ unmet peer<EMAIL_ADDRESS>|| ^16.0.0 || ^17.0.0": found 18.0.0
  ├── ✕ unmet peer<EMAIL_ADDRESS>|| ^16.0.0 || ^17.0.0": found 18.0.0
  └─┬ react-popper-tooltip 2.11.1
    ├── ✕ unmet peer<EMAIL_ADDRESS>found 18.0.0
    ├── ✕ unmet peer<EMAIL_ADDRESS>found 18.0.0
    └─┬ react-popper 1.3.11
      └── ✕ unmet peer<EMAIL_ADDRESS>|| ^15.0.0 || ^16.0.0 || ^17.0.0": found 18.0.0

This PR is not strictly necessary anymore if https://github.com/storybookjs/storybook/pull/23080 lands and works as expected, but I'd propose still moving forward with it.. pnpm is a great package manager.
I understand it's annoying to have to run pnpm run XYZ instead of yarn XYZ, there's a lot of muscle-memory to overcome.


Deckgrid does not work in IE11

a client reminded me of a page not rendering.
when looking further it showed that Chrome, FF etc were working fine.
I found out that it had to do with the initialization of the content variable.
before parsing the content var I added a console.log(content) and suddenly the page came to life (weird!!!). Because I didn't want to leave the console.log in the code I added this:
if(content) {
                content = $.extend(true,{},content);
                content = content.content;
            }

this hack magically works so I hope others will benefit from it.
Better solutions are welcome :-)

We are facing the same issue. Our application is not loading in IE11, getting the below error in console,
angular-deckgrid: No CSS configuration found (see https://github.com/akoenig/angular-deckgrid#the-grid-configuration).
Could you please let us know any solution available for this or please let us know where this hack can be applied.
Thanks in advance!

Same here.
This seems to be a somewhat bizarre issue with the latest IE11 update. The relevant bit of code in deckgrid is this:
        Deckgrid.prototype.$$getLayout = function $$getLayout () {
            var content = $window.getComputedStyle(this.$$elem, ':before').content,
                layout;

            if (content) {
                content = content.replace(/'/g, '');  // before e.g. '3 .column.size-1of3'
                content = content.replace(/"/g, '');  // before e.g. "3 .column.size-1of3"
                content = content.split(' ');

                if (2 === content.length) {
                    layout = {};
                    layout.columns = (content[0] | 0);
                    layout.classList = content[1].replace(/\./g, ' ').trim();
                }
            }

            return layout;
        };

If you exchange the first three lines of the function with this:
        Deckgrid.prototype.$$getLayout = function $$getLayout () {
            var styles = $window.getComputedStyle(this.$$elem, ':before'),
                layout, content;
            content = styles.content;

and then use the debugger to inspect respectively the styles and content variables, you'll note that the styles.content attribute exists, but seems to disappear into a 'none' string when you try to assign it.
However, if you try to print the styles variable with console.log before you assign it to the content variable, it works!
I am deeply puzzled.

GaryWenneker's workaround seems to work, though you have to extract the CSSStyleDeclaration first, like I do above. In the context of my example:
        Deckgrid.prototype.$$getLayout = function $$getLayout () {
            var styles = $window.getComputedStyle(this.$$elem, ':before'),
                layout, content;
            styles = $.extend(true,{},styles);
            content = styles.content;

As far as I can see though, this workaround is dependent on having a full jQuery available. I don't think the jQuery Lite that comes with Angular includes .extend, and angular.extend doesn't seem to work in the same way.

@praabjerg workaround successfully corrects the issue. Thanks!

yo! It worked...Thanks!

Here is some additional info:
The bug only seems to occur with IE11 version:11.0.9600.17843 - update version: 11.0.20. When you use IE11 version: 11.9600.17914 -update version: 11.0.21.
@praabjerg Thanks for the fix.


Update EC2InstanceWithSecurityGroupSample.json2

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The source of truth is yaml, the json files are generated and should not be edited directly. Also, the changes do not appear to be valid.


chore: release main

:robot: I have created a release beep boop
@libp2p/bootstrap: 10.0.8
Dependencies

The following workspace dependencies were updated

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

circuit-relay-v2: 1.0.8
1.0.8 (2023-12-19)
Bug Fixes

query for circuit relays after start (#2309) (dc56856)

Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/peer-record bumped from ^7.0.1 to ^7.0.2
@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/floodsub: 9.0.4
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/pubsub bumped from ^9.0.2 to ^9.0.3

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/identify: 1.0.7
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/peer-record bumped from ^7.0.1 to ^7.0.2

@libp2p/interface-compliance-tests: 5.0.8
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/multistream-select bumped from ^5.0.2 to ^5.0.3
@libp2p/utils bumped from ^5.0.3 to ^5.1.0

@libp2p/kad-dht: 11.0.8
Dependencies

The following workspace dependencies were updated

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8
@libp2p/peer-store bumped from ^10.0.2 to ^10.0.3

@libp2p/mdns: 10.0.8
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/mplex: 10.0.8
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/multidim-interop: 2.0.11
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/circuit-relay-v2 bumped from ^1.0.7 to ^1.0.8
@libp2p/identify bumped from ^1.0.6 to ^1.0.7
@libp2p/mplex bumped from ^10.0.7 to ^10.0.8
@libp2p/tcp bumped from ^9.0.7 to ^9.0.8
@libp2p/webrtc bumped from ^4.0.10 to ^4.0.11
@libp2p/websockets bumped from ^8.0.7 to ^8.0.8
@libp2p/webtransport bumped from ^4.0.10 to ^4.0.11
libp2p bumped from ^1.0.10 to ^1.0.11

multistream-select: 5.0.3
5.0.3 (2023-12-19)
Bug Fixes

graceful close of optimistic selection with early data (#2318) (a7c6a93)

@libp2p/peer-record: 7.0.2
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

@libp2p/peer-store: 10.0.3
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/peer-record bumped from ^7.0.1 to ^7.0.2

@libp2p/perf: 3.0.8
Dependencies

The following workspace dependencies were updated

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/plaintext: 1.0.8
Dependencies

The following workspace dependencies were updated

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/prometheus-metrics: 3.0.8
Dependencies

The following workspace dependencies were updated

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/pubsub: 9.0.3
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

@libp2p/tcp: 9.0.8
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/upnp-nat: 1.0.6
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

utils: 5.1.0
5.1.0 (2023-12-19)
Features

allow joining jobs in peer queues (#2316) (9eff7ef)

Bug Fixes

remove results map on job queue clear (#2320) (230afea)

webrtc: 4.0.11
4.0.11 (2023-12-19)
Bug Fixes

use node-datachannel WebRTC polyfill (#2306) (ad6f70b)

Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/circuit-relay-v2 bumped from ^1.0.7 to ^1.0.8
@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8
@libp2p/websockets bumped from ^8.0.7 to ^8.0.8
libp2p bumped from ^1.0.10 to ^1.0.11

@libp2p/websockets: 8.0.8
Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8

@libp2p/webtransport: 4.0.11
Dependencies

The following workspace dependencies were updated

devDependencies

libp2p bumped from ^1.0.10 to ^1.0.11

libp2p: 1.0.11
1.0.11 (2023-12-19)
Bug Fixes

update log messages (#2324) (984f13e)

Dependencies

The following workspace dependencies were updated

dependencies

@libp2p/multistream-select bumped from ^5.0.2 to ^5.0.3
@libp2p/peer-store bumped from ^10.0.2 to ^10.0.3
@libp2p/utils bumped from ^5.0.3 to ^5.1.0

devDependencies

@libp2p/circuit-relay-v2 bumped from ^1.0.7 to ^1.0.8
@libp2p/identify bumped from ^1.0.6 to ^1.0.7
@libp2p/interface-compliance-tests bumped from ^5.0.7 to ^5.0.8
@libp2p/mplex bumped from ^10.0.7 to ^10.0.8
@libp2p/plaintext bumped from ^1.0.7 to ^1.0.8
@libp2p/tcp bumped from ^9.0.7 to ^9.0.8
@libp2p/websockets bumped from ^8.0.7 to ^8.0.8

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/plaintext-v1.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/interface-compliance-tests-v5.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/kad-dht-v11.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/libp2p-v1.0.11 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/multistream-select-v5.0.3 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/bootstrap-v10.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/mdns-v10.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/peer-record-v7.0.2 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/peer-store-v10.0.3 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/identify-v1.0.7 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/perf-v3.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/pubsub-v9.0.3 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/floodsub-v9.0.4 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/mplex-v10.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/circuit-relay-v2-v1.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/tcp-v9.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/webrtc-v4.0.11 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/websockets-v8.0.8 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/webtransport-v4.0.11 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/upnp-nat-v1.0.6 :sunflower:

:robot: Release is at https://github.com/libp2p/js-libp2p/releases/tag/utils-v5.1.0 :sunflower:


feat(multi-select): make titleText slottable

Closes #1747
add titleText slot to MultiSelect

.vs directory got included in this commit, I will submit a new clearn pull request.


What is the current status of Linux support?

Hi,
Can I know the current status of Linux support? Can Stride GE run little well on Linux?

You can compile your games only on windows ( due to the wpf editor and the asset compiler being windows only), but you can target linux.

But isn't Microsoft making many parts of Windows open source to integrate them in MAUI? Will things change perhaps with .NET6 release?

The editor is written using WPF which is windows only technology even if it's an open source solution. There are discussions about the editor that you can check on the discord and might have been extended to some existing issue

Geez... What a hassle. Is Microsoft financing this project? WPF for cross platform solution? Or wait till MS decides to extend support of it's legacy framework?

@ykafia has answered the question and this is discussed here: https://github.com/stride3d/stride/issues/8
@UltraBurstXD can this issue be closed?

Closing: duplicate, see @herocrab 's reply, thanks @herocrab


add separate effect for aura to the Bane spell

I was in a session of Kingmaker and noticed the spell didn't have an aura :|
There is no fancy automation, this is more for tracking purposes to see how far the Aura has been extended via sustain.

Going to close this as we should just wait for proper aura save support


Be able to  run rubocop in a "nested project" without picking up config in parent directories.

I'm not 100% sure if this is a feature request or a bug report (see below). But here's the issue:
I have a project where I'm trying to add rubocop to a nested project (which is a dependency of the other project but can be run independently - they might be better set up as siblings, but for various reasons the "parent" project is in the parent directory). The rubocop in the nested project adds the configuration of the parent directory, including the "require" - but these are not present in the nested project.
I can exclude the nested project from the parent's rubocop (or include it -- either way are fine and controllable) however there's no way to say to rubocop - run it in this directory and don't reference the parent directory's .rubocp.yml.
Feature request or bug?
As was stated in #9879 :

... the configuration system doesn't have the concept of project root, only of ancestor directories

However #8314 seems to imply there is a concept of project root (and in fact that it shouldn't look in parent directories for .rubocop.yml)
I've used the sections from both feature request and bug report to cover all the bases 😀
Describe the solution you'd like
I think rubocop should have some way of differentiating between traversing down to pick up new configs from a directory (which might well be its own project - it's up to the parent to sensibly include or exclude those directories) and traversing up to look for parent project's config.
When you invoke rubocop in a directory  that has a .rubocop.yml and that is recognised as a project root (by the same tokens that bundler does as per #8314
There's would then be a difference between

running rubocop nested-project and
cd nested-project; rubocop`

Expected behavior
I've documented a toy example in https://github.com/timdiggins/rubocop-nested-test
The top level directory has a .rubocop.yml and excludes the nested-project.
It requires 'rspec-performance', and the Gemfile specifies it also.
When you run rubocop in the top directory it works as expected.
The nested-project directory represents a project nested within the top level project (see below for why it might occur).
The nested-project's .rubocop.yml does not require 'rspec-performance', and the Gemfile does not specify it.
Expectation: cd nested-project; rubocop would run without error, using just the configuration from the nested-project/.rubocop.yml
Actual behavior
if you run rubocop in the nested-project directory, it fails because rspec-performance gem can't be found.

output of `bundle exec rubocop --debug` from nested-project
For /rubocop-nested-test/nested-project: configuration from /rubocop-nested-test/nested-project/.rubocop.yml
Default configuration from ...../gems/rubocop-1.36.0/config/default.yml
AllCops/Exclude configuration from /rubocop-nested-test/.rubocop.yml
cannot load such file -- rubocop-performance
...../gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:46:in `rescue in rescue in load'
...../gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:39:in `rescue in load'
...../gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:32:in `load'
...../gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:21:in `load'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:14:in `block (2 levels) in resolve_requires'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:13:in `each'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:13:in `block in resolve_requires'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:12:in `tap'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:12:in `resolve_requires'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader.rb:46:in `load_file'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader.rb:130:in `add_excludes_from_files'
...../gems/rubocop-1.36.0/lib/rubocop/config_loader.rb:110:in `configuration_from_file'
...../gems/rubocop-1.36.0/lib/rubocop/config_store.rb:68:in `for_dir'
...../gems/rubocop-1.36.0/lib/rubocop/config_store.rb:47:in `for_pwd'
...../gems/rubocop-1.36.0/lib/rubocop/cli.rb:99:in `parallel_by_default!'
...../gems/rubocop-1.36.0/lib/rubocop/cli.rb:46:in `run'
...../gems/rubocop-1.36.0/exe/rubocop:19:in `block in <top (required)>'
...../lib/ruby/2.7.0/benchmark.rb:308:in `realtime'
...../gems/rubocop-1.36.0/exe/rubocop:19:in `<top (required)>'
...../bin/rubocop:25:in `load'
...../bin/rubocop:25:in `<main>'
...../bin/ruby_executable_hooks:22:in `eval'
...../bin/ruby_executable_hooks:22:in `<main>'

Steps to reproduce the problem
see above or see https://github.com/timdiggins/rubocop-nested-test
RuboCop version
╰─ bundle exec rubocop -V                                                                                ─╯
1.36.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.21.0, running on ruby 2.7.5) [x86_64-darwin21]
  - rubocop-performance 1.15.0

Workarounds:
The main workaround is to run rubocop only from the parent project, and allow the nested-project to define a .rubocop.yml overriding config as and when appropriate,  and never running rubocop when in the nested-project(and probably excluding rubocop from the nested-project's Gemfile).

A similar discussion about running rubocop both from a root project and from nested projects happened in https://github.com/rubocop/rubocop/issues/4328, the suggested technique would be to either:

run bundle exec rubocop in the nested project directory (which already works as you intend)
run bundle exec rubocop --ignore-parent-exclusion nested-project/ from the root project directory, which will make rubocop only pick up the configuration in nested-project instead of recursing to the current directory.

I think that will support your use-case. However, I'm also afraid that you may run into surprising issues when running bundle exec rubocop nested-project/ from the root project directory, since that would be picking up the rubocop version of root's Gemfile instead of nested-project's Gemfile version, which might well be incompatible with the configuration file nested-project/.rubocop.yml

Thanks for response @tdeo it led me to the right answer, but it still feels like a workaround.
bundle exec rubocop in the nexted project directory doesn't work on it's own--  I'm still getting a complaint about rubocop-performance not being found in the Gemfile (see below).
However if I do rubocop --ignore-parent-exclusion then it will work.
The problem is that the scan for the parent AllCops/Exclude leads to rubocop trying to require rubocop-performance (in the require array)  from the parent directory's config, even though this is unnecessary for the AllCops/Exclude and not supported in the child's (source) Gemfile).
So this works -- but feels like a workaround

I tried using https://github.com/timdiggins/rubocop-nested-test: cd nested-project; bundle exec rubocop
I think this is functionally equivalent to running the binstub bin/rubocop within nested-project
output (with --debug flag)
$ bundle exec rubocop --debug                                                                                ─╯
For /Volumes/data/t/rubocop-nested-test/nested-project: configuration from /Volumes/data/t/rubocop-nested-test/nested-project/.rubocop.yml
Default configuration from<EMAIL_ADDRESS>AllCops/Exclude configuration from /Volumes/data/t/rubocop-nested-test/.rubocop.yml
cannot load such file -- rubocop-performance
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:46:in `rescue in rescue in load'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:39:in `rescue in load'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:32:in `load'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/feature_loader.rb:21:in `load'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:14:in `block (2 levels) in resolve_requires'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:13:in `each'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:13:in `block in resolve_requires'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:12:in `tap'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader_resolver.rb:12:in `resolve_requires'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader.rb:46:in `load_file'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader.rb:130:in `add_excludes_from_files'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_loader.rb:110:in `configuration_from_file'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_store.rb:68:in `for_dir'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/config_store.rb:47:in `for_pwd'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/cli.rb:99:in `parallel_by_default!'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/lib/rubocop/cli.rb:46:in `run'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/exe/rubocop:19:in `block in <top (required)>'
/Users/t/.rvm/rubies/ruby-2.7.5/lib/ruby/2.7.0/benchmark.rb:308:in `realtime'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/gems/rubocop-1.36.0/exe/rubocop:19:in `<top (required)>'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/bin/rubocop:25:in `load'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/bin/rubocop:25:in `<main>'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/bin/ruby_executable_hooks:22:in `eval'
/Users/t/.rvm/gems/ruby-2.7.5@rubocop/bin/ruby_executable_hooks:22:in `<main>'

That's indeed surprising, the implementation of the logic for finding the project root (which is the place up to where rubocop includes configuration recursively), as being the parent-most directory containing a Gemfile (or the parent-most folder containing a gems.rb as a fallback)
The commit setting that behavior is https://github.com/rubocop/rubocop/commit/e1a2da0e28, but unfortunately lacks a bit of context about the reason behind the change (except excluding the current_user's home directory).
My first thought would rather be that rubocop should consider as project root the first ancestor of pwd which contains a Gemfile or gems.rb, since that would be the project bundle takes into account to run the command.
I believe that actually gives a bit more freedom to users, in case of a single-project with nested rubocop.yml files for specific folders, things would still work the same way as currently, and in case of nested-projects (typically with git submodules), the behavior would become opt-in by explicitly adding an inherit_from: [../.rubocop.yml] into the sub-project configuration.
Maybe @bbatsov can give more context about the original choice and the vision of the topic

I have a Gemfile with Rubocop and its various extensions, and a .rubocop.yml at ~. I use them for small scripts or one-off code that I write without a project/Gemfile. But in another project/folder with a Gemfile, Rubocop fails unless I have the exact set of extensions both at ~ and in the project.
I think it should not inherit requires if there is a Gemfile between the inherited config and the current folder since that Gemfile might not have the extensions of the higher-level folder.
Ideally, though, I'd like to disable inheriting from the global config. Because my personal configuration may or may not make sense for a particular project.

I just ran into this behavior myself. We have a separate project in a subfolder that has its own rubocop configuration and the parent folder has a required rubocop gem we don't want in the subfolder (the gem has no requirement).
I think at the minimum I'd really like the ability to control this behavior in the .rubocop.yml itself so I don't need to manage the different places that might be invoking rubocop, including the vs code extension, with the command line argument --ignore-parent-exclusion.
Does this seem like a reasonable approach? I don't mind getting a PR together, just want to make sure the approach makes sense to you folks before getting started.

I've run into this too. I have a gem I'm working on inside a rails app directory for ease of development with the plan to extract it later. Nothing I have tried will stop rubocop from trying to include the rails app's .rubocop.yml, and the only way I can get the rubocop integration in my neovim setup to work is to rename the rails app's .rubocop.yml so rubocop can't find it. --ignore-parent-exclusion doesn't help, specifying the exact config file with -c doesn't help.
Rubocop automatically including other additional configuration files outside of the working directory is extremely unintuitive, and being unable to stop it from doing so is frankly very irritating.

Another workaround that's worked for me if you typically call rubocop as a rake task is the following mod to my Rakefile:
require "rubocop/rake_task"
+ require "rubocop/config_finder"
+
+ RuboCop::ConfigFinder.project_root = File.expand_path(".")

RuboCop::RakeTask.new

But that doesn't solve the case of running rubocop and/or bundle exec rubocop from the command line.

rubocop ./spec -c /dev/null


Testing support for Map

From https://github.com/phetsims/tasks/issues/992, we would like to be able to use Map, but there is some uncertainty on how well it works on our supported platforms. We made some tests that exercise several Map features that will help us understand this to decide if we can use it.
Link to test: https://phet-dev.colorado.edu/html/jg-tests/map-tests.html
Please run this test on all of our supported platforms and report any issues here. If the tests pass, it will look like this:

If tests fail, they will show up red on that page.
Thanks!

[ ] Win 10 chrome
[ ] Win 10 firefox
[ ] Win 10 edge

[ ] Win 7 chrome
[ ] Win 7 firefox
[ ] Win 7 IE

[ ] Mac 10.14 chrome
[ ] Mac 10.14 safari

[ ] Mac 10.13 chrome
[ ] Mac 10.13 safari

[ ] Mac 10.12 chrome
[ ] Mac 10.12 safari

[ ] Mac 10.11 chrome
[ ] Mac 10.11 safari

[ ] Mac 10.10 safari

[ ] Chrome OS
[ ] iOS 12
[ ] iOS 11

Fails on Win 7 IE
Syntax error
Source: https://phet-dev.colorado.edu/html/jg-tests/map-tests.html:22

Happens on Win 10 IE as well

QA is done

Thanks @KatieWoe, great.  We will take results back to phetsims/tasks#992

Shoot, it failed in IE11 because I used es6 in the tests.

Here is the output when I remove ES6:

So IE11 just doesn't like new Map( iterable ). Re-closing.

I identified all the tests that are failing in IE11. Closing.


🌱 Uplift k8s version to 1.23.8 and cluster api to v1.1.5

Uplift k8s version to 1.23.8, e2e Upgrade will test upgrade from k8s 1.23.5 to 1.23.8. Also uplift cluster api to v1.1.5

/test-v1b1-ubuntu-integration

/test-v1b1-centos-e2e-parallel

/test-v1b1-ubuntu-integration
/test-v1b1-centos-e2e-parallel

/retest


Vhost item gets skipped if web scenario exists but trigger does not

If for some reason creating a trigger did not work but creating a web scenario did, the site will be skipped the next time it runs because it seems that only the web scenario is checked. If I remove the web scenarios as well it will run again.
...
DEBUG - [zabbix_lld_ws] - item: Vhost https://mysite.net item
DEBUG - [zabbix_lld_ws] - - url 'https://mysite.net'
DEBUG - [zabbix_lld_ws] - web scenario has been found for url 'mysite.net', skip
...

Thanks for report, let me check.

Please check new version:
https://github.com/tinyops-ru/zabbix-lld-ws/releases/tag/0.7.1

Thanks, this works. But it will exit with 2023-09-29 14:56:09 - INFO - [zabbix_lld_ws] - web scenarios and triggers have been created even when every single trigger fails. Just an FIY :) I will close the issue since the functionality is there now

Thanks for testing, agree the message little bit confusing so it will be removed in next build.


 equivalent

Hey, I updated .netcore3 and swashbuckle v5 so now I have problem with  Microsoft.AspNetCore.Mvc.Versioning project.My filter look like this :
 public void Apply(OpenApiOperation operation, OperationFilterContext context)
        {
            var apiDescription = context.ApiDescription;

            operation.Deprecated |= apiDescription.IsDeprecated();

            if (operation.Parameters == null)
            {
                return;
            }

            // REF: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/412
            // REF: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/413
            foreach (var parameter in operation.Parameters.OfType<NonBodyParameter>())
            {
                var description = apiDescription.ParameterDescriptions.First(p => p.Name == parameter.Name);

                if (parameter.Description == null)
                {
                    parameter.Description = description.ModelMetadata?.Description;
                }

                if (parameter.Default == null)
                {
                    parameter.Default = description.DefaultValue;
                }

                parameter.Required |= description.

The type or namespace name 'NonBodyParameter' could not be found (are you missing a using directive or an assembly reference?
Is there any equivalent of this?

related https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1147
I think we just need to create a OpenApiParameter. There is a OpenApiBodyParameter but it's defined as internal https://github.com/microsoft/OpenAPI.NET/blob/578e5870d299992b9cd8414c1a1e655a56e0403c/src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L319

Same thing happened to me.  I switched to OpenApiParameter and used the In = ParameterLocation.Header property.  It's not exactly your usage, but hopefully this helps.
BEFORE
operation.Parameters?.Add( new NonBodyParameter
{
    Name = "Authorization",
    In = "header",
    Description = "Bearer access token",
    Required = true,
    Type = "string"
});

AFTER
operation.Parameters?.Add( new OpenApiParameter
{
    Name = "Authorization",
    In = ParameterLocation.Header,
    Description = "Bearer access token",
    Required = true,
    Schema = new OpenApiSchema { Type = "string" }
});

What is the new equivalent for file uploads? This works in v4:
operation.Parameters.Add(new NonBodyParameter
{
Name = "uploadedFile",
In = "formData",
Description = "Upload File",
Required = true,
Type = "file"
})
In v5 OpenApiParameter does not have a FormData type for In and there is not Type field at all.

Just to provide another example, I used this to add the following headers per-request:

operation.Parameters.Add(new NonBodyParameter
{
    Name = "Accept-Language",
    In = "header",
    Type = "string",
    Enum = new List<object> { "pt-BR", "en-US" },
    Default = "pt-BR"
});

Is there any way to replicate this behavior with the new OpenApiParameter, since it doesn't have the Type, Enum, and Default fields?

@CleytonGoncalves looks like it might have all been moved into the Schema property and wrapped:
operation.Parameters.Add(new OpenApiParameter
{
	Name = "Accept-Language"
	In = ParameterLocation.Header,
	Schema = new OpenApiSchema
	{
		Type = "string",
		Enum = new List<IOpenApiAny>
		{
			new OpenApiString("pt-BR"),
			new OpenApiString("en-US")
		},
		Default = new OpenApiString("pt-BR")
	}
});

@joannayankova can this be closed?

Closing due to inactivity

@domaindrivendev please answer this question

EDIT: Nevermind, it seems v5 detects file uploads and annotates them automatically now, a good thing! Before I needed an IOperationFilter, seems I can ditch that now.
What is the new equivalent for file uploads? This works in v4:
operation.Parameters.Add(new NonBodyParameter
{
Name = "uploadedFile",
In = "formData",
Description = "Upload File",
Required = true,
Type = "file"
})
In v5 OpenApiParameter does not have a FormData type for In and there is not Type field at all.

First of all, you guys completely broke this for no reason.  So there's that.
And then nobody answered this question - what did you break it to?  Nobody can figure it out.
Why is it broken?  Nobody knows.  Stop breaking stuff.

Why is it closed? I have the same issue.
How do I can transform following code?
operation.Parameters.Add(new NonBodyParameter
{
Name = "uploadedFile",
In = "formData",
Description = "Upload File",
Required = true,
Type = "file"
})


Randomize New and Featured Products

I wanted to give visitors more interaction visiting our site. Rather than displaying simply 4 featured products and new products in the same order, I thought it would be good to display a randomized collection of Featured and New products. Here are my changes:
packages/Webkul/Products/src/Repositories/ProductRepository.php near Line 265
-- ->orderBy('product_id', 'desc');

++ ->inRandomOrder();

Line 290:
-- ->orderBy('product_id', 'desc');

++ ->inRandomOrder();

With those changes, you can also have more than 4 catalog items listed as new or featured so more items get promoted over time.

Hi @richmondnursery
Thanks for your suggestion, we will implement this one.

@richmondnursery
Thanks,
We have implement this. Feel free to reopen the issue if any query regarding this.


mismatched_organization error

when comparing local llama2 model with GPT4, got error:
ERROR    Failed to send a test chat completion to the GPT deployment due to error:                                                                    evaluate.py:110
Error code: 401 - {'error': {'message': 'OpenAI-Organization header should match organization for API key', 'type': 'invalid_request_error',
'param': None, 'code': 'mismatched_organization'}

Yes Pamela, I am learning from your video using llama2 via ollama which I deployed local and GPT4 deployed at azure.

Okay, so to clarify:

You are using GPT4 for the evaluation?
You are using llama2 for the chat application itself?

The error in your report shows an issue with the evaluation model, which would be GPT-4. But you shouldn't need to specify OpenAI organization for an Azure model. Do the logs indicate whether it's trying to use Azure or OpenAI.com?
You should see the logs from this code:
https://github.com/Azure-Samples/ai-rag-chat-evaluator/blob/7b5d503dc96a5185446b16bd8db24558614d2ec9/scripts/service_setup.py#L14


Update to include clarification on the "from" address and notifications

Includes a quick mention or tip to remind users that the "Notifications" email address is the address to which we'll send exports, etc.
Additionally, I provided an excerpt to remind users that the "from" email must be a valid email as this is a common cause of frustration because they usually think it can be a fake email.
Description of the change:
Reason for the change: https://sendgrid.com/docs/ui/sending-email/senders/
Link to original source:

Closes #

Hello @lpresgrove,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


OrderStatus.DONE should be a valid OrderStatus for listing orders

Docs: https://docs.pro.coinbase.com/#list-orders
Your API is called getOpenOrders, and I suppose it makes sense to have only open statuses available, but it seems that you may be missing a simple getOrders method that will accept any OrderStatus.
It would be nice to be able to use OrderStatus.DONE without having to use @ts-ignore. I could just use all for my purposes, but I feel like that could cause problems without extra filtering at some point.

Hey @XaeroDegreaz, I renamed getOpenOrders to getOrders in v2.20.0 and enabled using OrderStatus.DONE in the query.status parameter. Please give it a try! 🍾

Thanks for the response. Isn't this a breaking change, though? Perhaps for backwards compatibility for everyone else, you could just make a separate getOrders method in addition to the getOpenOrders one. getOpenOrders could just be a convenience method that calls getOrders with whatever OrderStatus' are passed to it, or the defaults it already provides.
Either that or maybe update the version to 3.0.0 o_O?
Some helpful semantic versioning resources:
https://semver.org/
https://docs.npmjs.com/about-semantic-versioning

Hi @XaeroDegreaz, I don't see much value in having a "convenience" method as it will just cost extra maintenance for no extra functionality. I also don't want to have deprecated functions inside of the code base.  Thanks to TypeScript, everyone using this library with TypeScript will be informed that the getOpenOrders is no more and then you can see from the CHANGELOG what has been changed.

To support JavaScript developers, using "coinbase-pro-node", I have just deprecated v2.20.0 with a notice to use v3:

npm deprecate<EMAIL_ADDRESS>
Starting from v3, this package follows Semantic Versioning to fit well into npm's ecosystem. Thanks for proving your take on this, @XaeroDegreaz.
You can find the latest version here:

https://www.npmjs.com/package/coinbase-pro-node/v/3.0.0

Thanks for the work, great library! I think this is safe to close now


Update CC endpoint

Hello @guyzsarun
Do you want to do it using the RSE attributes?
https://github.com/ivmfnal/cms_consistency/tree/master/site_cmp3#parameters-controlled-by-site-admin
Later, we can define RSE attributes that site-admins can modify as part of https://github.com/ivmfnal/cms_consistency/tree/master/site_cmp3#parameters-controlled-by-site-admin

Hello @dynamic-entropy ,
Forgive my ignorance, but considering that all the necessary information for CE is available in Rucio, Is there any reason not to use the xrootd protocol defined on each RSE to avoid duplication?

Hello @guyzsarun ,
Not all sites provide a root endpoint for transfer operations, and only exclusively for file listings by CC. @ivmfnal or @ericvaandering can correct me if I am mistaken on the "exclusive" part.
An e.g. would be T2_IT_Bari.
So to keep it simpler they are defined separately.

@guyzsarun Please reopen if something else is required here.


Get BadGateway Error

I keep getting BadGateway on the step to create the adaptive card. I've copied and pasted the body from this page. I'm the owner of the Team and connecting under my account. Not sure where to go from here.

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

ID: da15c461-b88d-7497-cd59-efcd785d5994
Version Independent ID: 00dd913a-44c7-b407-02c5-528c3b0e7643
Content: Learn to create flows that post adaptive cards to Microsoft Teams - Power Automate
Content Source: articles/create-adaptive-cards-teams.md
Service: flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

@michael-kubala Thanks for using Power Automate. Kindly use the support options for this issue: https://flow.microsoft.com/support/


Information discrepancy

Information on COMP4033 page is not consistent with the official catalogue.
If possible, please recrawl these information.
Thanks.

Hi, thanks for this issue. I am aware that the data hasn't been updated for a while. However, since there have been some major updates on the official catalogue, the crawler has to be rewritten. That would take a while to finish if it can be finished at all and I will be grateful if you know anyone can help with this project.

Some updates: I'm currently working on a new crawler for the new official catalogue and I expect to have the data on nottCourse updated within a week.

I'm faster than I thought and all the data has been updated. Please check the website now. Let me know if there's any problems.


API Error around 400 - {"errors":[{"title":"Bad Request","detail":"cant search a future time time"}]}

Our servers are in east coast and we are basically sending requests for "current date time" yet when we send the call we get the above error.
our system does have ntp clock sync working.
So 2 questions:

it was my understanding that any future date is converted to "current" by api servers and hence even if our clock was wrong we should not get this error.
can you check if there is a clock out of sync on your server
What time zone do we have send the date in for this check?

The same parameters work after a couple of seconds, that makes me believe some clock is out of sync hence causing this issue. also we only saw the increase of these error only recently.

I agree.  It should ignore future time.  We can file this one as an API bug.
All dates are UTC.
We'll check the server clocks too!

we are currently running current time - 1min to avoid this bug. this only appeared today - in case it helps debug.
thanks.

This is the code we were running to generate requests from a time < now to now:
        let last_start = new Date(start.getTime()),
            payloads = [];
        // loop forwards, adding 4w until we passed NOW
        while (last_start < end) {
            let this_end = new Date(last_start.getTime() + (4 * 60*60*24*7*1000)),  // add 4w
                this_start = new Date(last_start.getTime());

            if(this_end > end) this_end = end;
            // set the request payload
            pl["params"]["filter[createdAt-start]"] = this_start.toISOString();
            pl["params"]["filter[createdAt-end]"] = this_end.toISOString();
            payloads.push(pl);
            // +1s, do not overlap start&end, or a match at created_at=start=end will appear twice
            last_start = new Date(this_end.getTime() + 1000);
        }
        return payloads;

Our logs have entries like these:
2017-08-11T05:32:05.881Z - info: API response uri=https://api.dc01.gamelockerapp.com/shards/sg/matches, filter[playerIds]=0faf6e9a-07e8-11e7-a82d-02b3611af5e6, filter[gameMode]=casual,ranked, sort=createdAt, filter[createdAt-start]=2017-08-10T19:57:50.000Z, filter[createdAt-end]=2017-08-11T05:32:05.798Z, status=400, connection_start=0.31527799999457784, connection_end=78.69289000000572

You can see that the log timestamp (2017-08-11T05:32:05.881Z) is more recent than the createdAt-end timestamp (2017-08-11T05:32:05.798Z). The difference between the request and the response log is 83ms, and the http request took 78.69ms, which looks good too. Our server's time is in sync with my laptop's (measured by hand) and both are synced via NTP.
Yesterday, we hotfixed fixed it with end.setMinutes(end.getMinutes() - 1); and haven't had any problems since.

All set! Searches in the future will be defaulted to time.now on our server.

Thanks Brian!


Update multiple rows and multiple columns

Hi
I am trying to update multiple rows with different values and I am not able to get the syntax but hints from these two :
1475
1691
However I came across this query to update multiple rows :
UPDATE drive
SET cost = CASE Id
    WHEN 1 THEN 1.60
    WHEN 3 THEN 3.60
    WHEN 10 THEN 10.60
END,
oil = CASE Id
    WHEN 1 THEN 126.3
    WHEN 3 THEN 326.3
    WHEN 10 THEN 1026.3
END,
  tyre = CASE Id
    WHEN 1 THEN 13.76
    WHEN 3 THEN 33.76
    WHEN 10 THEN 103.76
END
WHERE id IN (1,3,10)

but not able to convert according to mysqljs syntax, and my guess if I update cost then I have to :
var sql  = 'UPDATE t_bt_drive SET cost = CASE id WHEN ?  THEN ? END WHERE Id IN (?)   ' ;
var result =  yield mysql.pool.queryP(sql,[1,2511.60,[1]]);

and I have to push values in array normally where I cannot distinguish the other values ?
e.g. SET cost = CASE id WHEN ?  THEN ?  I have to  [1,2511.60] OR
SET cost = CASE id WHEN ?  THEN ? WHEN ?  THEN ? (If i build query) then [3,35.65] etc.
I am little new to mysql but for this particular case what will be mysqljs syntax?
Thanks for your time.

There is no way to expand the ? into a case statement currently in the expansion rules. If you think there should be, feel free to put together a proposal for how we would do that (either as a pull request or even just in writing if you're not sure how to start).


werf helm render does not respect --tag-by-stages-signature param

werf helm render command  uses TAG for images tags instead of signatures when --tag-by-stages-signature has been specified.

Fixed in v1.2 by the https://github.com/werf/werf/pull/2821


Make search box empty if no query given, not None

Changes in this PR
The word 'None' no longer appears in the search bar if the user visits /search/
Screenshots of UI changes
Before

After
The search bar is empty if you visit /search/

 "None" in search box


Wrong type for codegen models for items with AWSJSON in their fields (DataStore)

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
React
Amplify APIs
Authentication, GraphQL API, DataStore, Storage
Amplify Categories
No response
Environment information

# Put output below this line
  System:
    OS: macOS 12.2.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 1.01 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    npm: 7.19.0 - {REDACTED}/node_modules/.bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  npmPackages:
    -: 0.0.1 => 0.0.1
    @aws-amplify/ui-react: ^2.8.0 => 2.8.0
    @aws-amplify/ui-react-internal:  undefined ()
    @aws-amplify/ui-react-legacy:  undefined ()
    @material-ui/core: ^4.12.2 => 4.12.2
    @material-ui/icons: ^4.11.2 => 4.11.2
    @testing-library/jest-dom: ^5.14.1 => 5.14.1
    @testing-library/react: ^11.2.7 => 11.2.7
    @testing-library/user-event: ^12.8.3 => 12.8.3
    @types/react: ^17.0.19 => 17.0.19
    @types/react-dom: ^17.0.9 => 17.0.9
    @types/react-router-dom: ^5.3.3 => 5.3.3
    @uiw/react-md-editor: ^3.6.3 => 3.6.3
    aws-amplify: ^4.3.14 => 4.3.14
    bootstrap: ^4.6.0 => 4.6.0
    g: ^2.0.1 => 2.0.1
    npm: ^7.19.0 => 7.19.0
    react: ^17.0.2 => 17.0.2
    react-app-rewired: ^2.1.8 => 2.1.8
    react-dom: ^17.0.2 => 17.0.2
    react-lorem-ipsum: ^1.4.9 => 1.4.9
    react-markdown: ^7.0.1 => 7.0.1
    react-player: ^2.9.0 => 2.9.0
    react-router-dom: ^5.2.0 => 5.2.0
    react-scripts: 4.0.3 => 4.0.3
    rehype-katex: ^5.0.0 => 5.0.0
    remark-math: ^5.1.0 => 5.1.0
    source-map-loader: ^3.0.0 => 3.0.0
    ts-loader: ^9.2.5 => 9.2.5
    typescript: ^4.3.5 => 4.3.5
    uuid: ^8.3.2 => 8.3.2 (3.3.2, 3.4.0)
    web-vitals: ^1.1.2 => 1.1.2
  npmGlobalPackages:
    @aws-amplify/cli: 7.6.22
    aws-cdk: 2.3.0
    corepack: 0.10.0
    npm: 8.1.2

Describe the bug
When getting an item that has AWSJSON in its fields, DataStore returns a Typescript JSON object for the AWSJSON field instead of a string.
However, the codegen models for Typescript label the field as a string instead of an object. Therefore, this causes issues since Typescript thinks an object is a string.
Expected behavior
The codegen models should have labeled AWSJSON fields as objects instead of strings.
Reproduction steps
(Not tested, hypothesized reproduction steps)

Create Schema with a type that has AWSJSON in one of its fields.
Use DataStore to query for an item of the above type
Log typeof type.field and it should return object instead of string.

}

Log output

// Put your logs below this line

aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
Workarounds
Use // @ts-ignore when assigning the value to another place and act as it is a JSON object.
Other symptoms
May cause A cross-origin error was thrown. React doesn’t have access to the actual error object in development. in React.
May be related to GraphQL Transformer V2 issues: https://github.com/aws-amplify/amplify-adminui/issues/426

Hi @thecodehen 👋 Thanks for raising this issue. It has been transferred to the CLI repo because it seems the issue has to do with codegen rather than the JS Library and/or DataStore.


[main] Upgrade to latest dependencies

testing -dprotaso
/cc knative/operations-wg-leads
/assign knative/operations-wg-leads
Produced by: knative-extensions/knobots/actions/update-deps

/test eventing-upgrade-tests
/test serving-upgrade-tests

/lgtm
/approve


Add Jammy stack support

Summary

Dep seems to work just fine on Jammy Jellyfish. This PR adds support for the jammy tiny stack so the Go language family will work on the Jammy Tiny stack. See https://github.com/paketo-buildpacks/builder-jammy-tiny/pull/2
Use Cases

Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[ ] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

This dependency isn't hosted in the dep server, so there's no metadata elsewhere to update.


ISPN-6580 Hotrod performance regressions after ISPN-5342 ISPN-6545

https://issues.jboss.org/browse/ISPN-6580
Some numbers from the Reproducer.java, on Linux:

8.2.1.Final
9.0.0-SNAPSHOT

Put
13s
15s

Get
71s
66s

Alloc
130 MB/s
47 MB/s

There is one test failure on SiteDownFailoverTest, investigating...

Test failure fixed.

@anistor Rebased and added the EOL :smile:

Updated again. Pushed one tiny fix to RemoteClientPutGetTest

Rebased. Also a slight change of plan: epoll is disabled by default for now, and can be enabled by a System property.

Pushed. Great job @gustavonalle and @wburns


Map setCenter from Page

I was easily able to get the plugin working with my ionic2 app and found it much easier and cleaner than working on the lazy loading myself. I'm just having some issues figuring out how to get access to the Injectables provided.
After Importing directives and providers
import {
  ANGULAR2_GOOGLE_MAPS_PROVIDERS,
  ANGULAR2_GOOGLE_MAPS_DIRECTIVES
} from 'angular2-google-maps/core';

And passing them as arguments to Page
  providers: [[ANGULAR2_GOOGLE_MAPS_PROVIDERS]],
  directives: [[ANGULAR2_GOOGLE_MAPS_DIRECTIVES]],

I'm unable to figure out how to access the GoogleMapsAPIWrapper in order to setCenter(), for example. Can you provide any direction on how this is possible? I'm thinking I would need to instantiate the Injectable in my constructor and assign it to a member of this for use in other class methods, but I'm not sure how...
PS: I know this is more of an Angular2 question than an Angular2-Google-Maps question and appreciate any direction you can send me. Thanks!

Hey @ofanged1,
I am having the same issue. Every time that I add a new marker on my map it doesn't automatically get centered.
I also added this in my ts files:
import {GoogleMapsAPIWrapper} from 'angular2-google-maps/services/google-maps-api-wrapper';
@Component(...
providers: [GoogleMapsAPIWrapper]
...
//But when I do this, nothing happens
constructor(private _wrapper: GoogleMapsAPIWrapper) {
this._wrapper.getMap().then((m) => {
console.log(m)
}
}

Thanks @esnaremaussa, I think I'm going to move towards using a component to interact with the map as you have pointed out (and I should have realized from the angular2 quickstart).


Concerns in Mist

Thanks guys for making this awesome tool.It is totally working as expected.I had been using 0.13.3 version of mist instead of building it from GIT.
However, there are following concerns while utilizing is its performance which I felt to highlight.
1)The efficiency of a "collect" method.The response time increases due to it. Maybe something more efficient is needed in such regard.I am dealing with Kbs of data only but it is taking 2 to 4 seconds.
2)Collection of Row to be parsed directly to output instead of inherently converting to RDD and then collect the data.It takes seconds for this conversion, maybe those can be utilized in constructing output.

Glad to hear that. Thank you.

These such methods are working how they were originally written in spark, mist can't affect their speed, using them you are using spark api directly.

Is it about automatic serialization to an output of job? If it's, we have almost complete new api, that can do such things.

ok..thanks.waiting for new release then :)


Import 'github.com/hillu/go-yara/internal/callbackdata" makes forking harder

When someone clones this repository the path github.com/hillu/go-yara/internal/callbackdata imported from utils.go causes the following error:
util.go:10:2: use of internal package not allowed

As the path contains internal it can only be imported from code inside the same module (ie: github.com/hillu/go-yara) the cloned repo has a different path and can't use this import path.
All users cloning this repository for experimentation will be faced with this error and may think that the code in the original repository is broken.

Argh, I should have seen that one coming. Do you see any solution that does not add an external dependency and that does not move the callback-related code back into the main package?

I can't find a solution that doesn't involve having an external dependency. What's your worry about the external dependency?

Yep, I support the idea of keeping it as self-contained as possible.


Testing/ilpv4 enhancements

This PR primarily fixes #166, but also contains other minor cleanups for ILPv4, including slightly enhanced abstract unit test classes for the Codec classes.

Codecov Report

Merging #167 into master will decrease coverage by 0.8%.
The diff coverage is 63.88%.

@@             Coverage Diff              @@
##             master     #167      +/-   ##
============================================
- Coverage     73.26%   72.46%   -0.81%
- Complexity      282      284       +2
============================================
  Files            77       78       +1
  Lines          1242     1264      +22
  Branches        132      132
============================================
+ Hits            910      916       +6
- Misses          273      289      +16
  Partials         59       59

Impacted Files
Coverage Δ
Complexity Δ

...ger/core/asn/codecs/AsnInterledgerPacketCodec.java
74.07% <ø> (ø)
9 <0> (ø)
:arrow_down:

...rc/main/java/org/interledger/btp/BtpErrorCode.java
100% <ø> (ø)
6 <0> (ø)
:arrow_down:

...g/asn/framework/AsnObjectSerializationContext.java
67.34% <ø> (ø)
9 <0> (ø)
:arrow_down:

.../interledger/encoding/asn/codecs/AsnUintCodec.java
100% <ø> (ø)
6 <0> (ø)
:arrow_down:

...nterledger/encoding/asn/codecs/AsnUint32Codec.java
82.35% <ø> (+5.88%)
6 <0> (+1)
:arrow_up:

...re/src/main/java/org/interledger/btp/BtpError.java
30% <0%> (-70%)
1 <0> (ø)

...main/java/org/interledger/btp/BtpSubProtocols.java
6.25% <0%> (-0.42%)
1 <0> (ø)

...ing/asn/serializers/oer/AsnUint8OerSerializer.java
69.23% <100%> (ø)
3 <0> (ø)
:arrow_down:

...er/encoding/asn/framework/CodecContextFactory.java
88.88% <100%> (+0.88%)
3 <0> (+1)
:arrow_up:

...interledger/encoding/asn/codecs/AsnUint8Codec.java
70% <100%> (ø)
4 <1> (ø)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


TileMapEditor Fix preview rendering and transform calculations

Makes the preview tile rects be properly transformed. Previously the transform was applied to the tile rect before sending the draw command to the rendering server. Doing so resulted in obtaining the AABB (here box = rect) of the actual potentially not axis aligned rect, and that's what was send to be drawn. Now an untransformed local tile rect is send, and its transform is applied on top of the canvas item used for drawing on the rendering server.

Example for a skewed TileMap:

Before
After

Fixes #74969.

Makes the calculations for input/rendering include the canvas transform the given TileMap is in.

Example for a TileMap in rotated and scaled CanvasLayer:

Before
After

Makes grid fading be properly calculated for selections of more than one tile:

Before
After

Thanks!

Cherry-picked for 4.0.2.


Issue 4 proper handling of k 1 encoding

Encoding the single parity of k+1 code is XORing all data parts with the existing, potentially random and uninitialized content of the parity buffer.
Do a copy first, then XOR all the rest.

Thanks @maximelubin , I made the requested PR changes already in another PR:
https://github.com/ronomon/reed-solomon/commit/6f23d45c0c0a10fa5032a5d1ce6536a92c601186


TextField MultiValueCharFilter filtering implemented in BaseFilterSet…

… along with tests
Fixes: #477
I added MultiValueCharFilter to FILTER_DEFAULTS for a TextField and wrote appropriate tests.

Can you confirm (manually is fine) that the REST API filtering on a TextField still accepts filters that worked before this change?

Can you confirm (manually is fine) that the REST API filtering on a TextField still accepts filters that worked before this change?

I just checked and couldn't find any filters which reference a TextField. But I checked the CharField filters and it works the same with just one value and/or many values, and this uses the same MultiValueCharFilter as the TextField has been setup to use.


Image padding

Like the description of scipy.signal.convolve2d(), provide the arguments mode, boundary, fillvalue.

Already provide a function paddingImage. The remaining is to padding according to the args.


Check for one canary per node running osd

Previously we were checking for a canary per osd, when the validation should have been one canary per node an osd runs on.

this and https://github.com/openshift/ocs-operator/pull/238 are related. We need both to be merged before CI has a chance at passing.
There's also an issue with noobaa getting stuck due to exponential backoff that is being addressed in pr #216

/test ocs-operator-e2e-aws


Register operator

What
Registers the the Kubernetes Operator with the ngrok API. If bindings are enabled, it generates the TLS secret with a private key, creates a CSR as part of registration, and saves the returned certificate in the secret.
How

Consolidate the binding configuration and TLS secret reconcilers into the KubernetesOperator reconciler.

Breaking Changes
Yes, some of the existing CRDs are being replaced with this change. We haven't released these yet, so unless someone is running on the latest main, they won't be impacted.

I need to fix this before its ready. I thought it was but I discovered that we can't create the KubernetesOperator CR in the helm chart like I thought we could. I'll be moving this back to a similar pattern like we had above where it is created as part of the api-manger's main.


ERROR  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string

Version
3.0.1
Reproduction link
https://github.com/Deviad/vuejs-typescript-playground
Node and OS info
npm 9.9.0
Steps to reproduce
run npm run serve --port 6000 --host "<IP_ADDRESS>" or any port working on your system
What is expected?
The dev web server should be running using the given parameters without throwing the aforementioned error.
What is actually happening?
The dev web server throws  ERROR  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
Additional notes
The problem is happening with or without Babel and with our without Jest.

https://docs.npmjs.com/cli/run-script
-- is required to pass arguments to npm scripts.
So the correct command is: npm run serve -- --port 6000 --host "<IP_ADDRESS>"

Thank you @sodatea.


Fix handling of tag control items in build_vm_provision_request.

fix_dialog_tags_hash to allow for support of Tag Control items in dialogs.  Previously, the Tag Control would
push values in as an array, which is not supported.  The fix_dialog_tag_hash parsed the dialog_tags_hash and changes
all array values to strings.
Thanks to scottd018 for sharing this method with me.

Jeff,
Can you rebase this and push it into the correct version? probably cf4.2.
Thanks

Looks like you made changes to the branches after I submitted the pull request.  Was it not able to be merged?

I forgot to merge it before i split the branch off and i couldnt figure out how to merge it into 4.2

OK, I submitted a PR to 4.2 then.  Looks like no other changes or anything so should be good.


[baxter_description] add electric gripper if condition in baxter.urdf.xacro

add if condition, otherwise every time electric grippers are loaded to gazebo.

ping

+1

@IanTheEngineer can you review this, too?

@knorth55, apologies for the delay in review. I have just added https://github.com/RethinkRobotics/baxter_common/pull/90 which accounts for "null grippers" which must still include the <side>_gripper endpoint. Does this meet the needs from your PR?


Feature Request: Tags page

A page where I can see all the current existing tags so that I can click on one of them and only see the questions that have that tag. Currently I have to manually search to find a question that might potentially have the tag that I am thinking about and then click on it.

@markovial could you link the page which you said looks similar to what you're thinking?

I lost the link... Is there a way to recover links from Discord voice calls? Basically, I was just thinking of some big buttons with flaticons as a visual indicator and the name of the tag.

@markovial those channel's history should be saved, but I'm not seeing the relevant message by you for some reason

Found it. Here is a link to a live website preview version. Basically it involves a card that has : a flaticon + tag name + number of items for that tag


Logger should not be used for improper debugging

As this is used for SLA logging. Any attempt to write as a standard log generates  a bad behaviour.

Thanks @fabienbussinger for your PR,
However I strongly advise you to change this behaviour by extending the DefaultMetrikHandler by your own.
public class BussingerMetrikHandler extends DefaultMetrikHandler {

    @Inject
    public BussingerMetrikHandler(SpringMetrikProperties properties) {
        super(properties);
    }

    @Override
    protected String getObjectProperty(Object bean, String propertyName, String orElse) {
        try {
            return this.formatObject(PropertyUtils.getProperty(bean, propertyName));
        } catch (Exception e) {
            return orElse;
        }
    }
}

And then register this bean in your MetrikConfiguration like :
@Configuration
public class BussingerConfiguration {

    @Inject
    private SpringMetrikProperties props;

    @Bean
    public MetrikHandler defaultMetricHandler() {
        return new BussingerMetrikHandler(this.props);
    }
}


Error 500 on some "initialFilters" URL

On my machine, the link on about page to get observations initially imported in import #16 is:
https://dev-alert.riparias.be/?filters={'initialDataImportIds'%3A+[16]} (works fine)
However, according to the logs some users have a slighlty different URLs that triggers an error 500:
https://dev-alert.riparias.be/?filters={'initialDataImportIds'%3A%2B[16]}
To be investigated

The URL generation (on about page?) appears more suspicious than the parsing: both URLs weirdly include a + character (URL-encoded in the case of the problematic query, not encoded in the working case).

Update: it appears the way we generate URLs with a non-encoded "+" sign is actually correct (see https://stackoverflow.com/a/40557716 and https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote_plus).
In fact, the URLs with the encoded + are indeed incorrect for our application (should be deserializable to a dict) and appear to be generated by a bot (https://www.semrush.com/bot/)
To avoid receiving mails for errors 500, the solution might therefore be to block bots using robots.txt

Problem doesn't happen much anymore, closing this.

Problem is frequently back and polluting mail notifications, working on a fix.


class helloworld::HelloRequestDefaultTypeInternal’ has no member named ‘Shutdown’

What version of gRPC and what language are you using?
C++ with Protobuf 3.5.0
What operating system (Linux, Windows, …) and version?
Ubuntu 16.04
What runtime / compiler are you using (e.g. python version or version of gcc)

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609

What did you do?
I'm trying to compile the C++ helloworld example in grpc/examples/cpp/helloworld
What did you expect to see?
Hello world.
What did you see instead?
$ make

g++ -std=c++11 pkg-config --cflags protobuf grpc  -c -o helloworld.pb.o helloworld.pb.cc
helloworld.pb.cc: In static member function ‘static void helloworld::protobuf_helloworld_2eproto::TableStruct::Shutdown()’:
helloworld.pb.cc:82:35: error: ‘class helloworld::HelloRequestDefaultTypeInternal’ has no member named ‘Shutdown’
HelloRequest_default_instance.Shutdown();
^
helloworld.pb.cc:84:33: error: ‘class helloworld::HelloReplyDefaultTypeInternal’ has no member named ‘Shutdown’
HelloReply_default_instance.Shutdown();
^
: recipe for target 'helloworld.pb.o' failed
make: *** [helloworld.pb.o] Error 1

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?

@Zomaka Are you still seeing this issue with the latest version of gRPC?

Closing due to reporter inaction. Please feel free to re-open if this is still an issue.


feat(*): setup basic OAuth with Microsoft

Signed-off-by: Aman Sharma<EMAIL_ADDRESS>These changes set up a basic OAuth with Microsoft to interact with its APIs.

We aren't exactly logging in here but simply giving consent to the app about the APIs the app will use. For example, reading/writing file, reading user information.

Setup for testing

Make a copy of .env.sample as .env.
.env file has the following attributes.

REACT_APP_MICROSOFT_CLIENT_ID - One can get a client ID by registering an application here https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade.
REACT_APP_REDIRECT_URI - Redirection after successful OAuth.
REACT_APP_SCOPES - the allowed scopes for the app. For example, user.read  allows the app to read the user profile.

Start the server and sideload the app.
Click on the login button and give consent to use the APIs.

Package addition

@microsoft/microsoft-graph-client - used for creating the client for making API requests to Microsoft Apps.
msal - used for OAuth with Microsoft.

Demonstration

So right now, a user is not logged in and using Word. But in order for the Add-In to use APIs, Word requires an authentication, but doesn't require logging in?

Why do we need additional permissions? What is the use case?

@dselman To give our app access to OneDrive files. We can probably store the contract data there.

So right now, a user is not logged in and using Word. But in order for the Add-In to use APIs, Word requires an authentication, but doesn't require logging in?

It will login first for the user if they are not logged in. And we will make sure that this authentication is required only if it is necessary.

@dselman To give our app access to OneDrive files. We can probably store the contract data there.

Let's discuss that. I think there are advantages in storing all the data inside the document - so that it can be exchanged easily with counter-parties and other products.

@dselman To give our app access to OneDrive files. We can probably store the contract data there.

Let's discuss that. I think there are advantages in storing all the data inside the document - so that it can be exchanged easily with counter-parties and other products.

Ideally, that would be great. But how do you propose that? I couldn't find a way which will enable me to store the data as metadata.

So right now, a user is not logged in and using Word. But in order for the Add-In to use APIs, Word requires an authentication, but doesn't require logging in?

It will check if the user is logged in prior to asking for consent. If the user is not logged, it will login first.
Also we shall make the app such that this is necessary only when we have to access the APIs.


Organise Countries From Largest Population To Smallest

All the countries in the world organised by largest population to smallest.
All the countries in a continent organised by largest population to smallest.
All the countries in a region organised by largest population to smallest.

A country report requires the following columns: Code, Name, Continent, Region, Population, Capital.


[GWT] FileHandle.readBytes() doesn't work for internal

ver 1.6.4
The method reads and returns only 1 byte of data:
FileHandle tfile = Gdx.files.internal(("badlogic.jpg"));
L.d("tfile", tfile + " : " + tfile.exists());

byte[] byts = tfile.readBytes();
L.d("byts", byts.length + " " + tfile.length());

Texture img = new Texture(tfile);
L.d("img1", img);

For images and audio this is behaving as intended. For files declared as text and binary, the file can be read as bytes.
Will have to defer to @badlogic for the specifics on why this was done this way.

How does the back-end reads textures then?

It loads them into image/canvas elements.

OK, but I assume it needs to read data-bytes for that, right?

No.

So how can I declare a file as binary?

You have to change the extension to .bin.
I wanted to add an issue "inconsistent behaviours with FileHandle" when I found this one.
Duplicate badlogic.jpg and rename it badlogic.bin.
tfile.readBytes()
tfile.length()
will then work as expected BUT you won't be able to load the bin file as a texture.
On gwt, it seems that everything depends on the file extension.
On Android it doesn't care. It can recognize an image even if the extension has been changed.
For me this issue shouldn' be closed.
FileHandle should work the same on all platforms (internal files case), and if not possible, at least this trick should be mentioned in the Handling file documentation.
I used to have binary files (not images) in my android projects with no extension and obviously FileHandle fails to treat them correctly.
Same goes for UTF-8 encoding text files without the .bin extension. In this case the data loaded are corrupted. "\r\n" -> "\n" and length files differ from Desktop to Gwt. So searching for "\r\n" obviously fails.
It can save days of debugging knowing those !

You can supply your own AssetFilter that will be called for every asset, which allows you to specify whether it should be included as well as the type to apply to it. You don't have to change the extension.

I have custom atlas loader. It works fine on all backends except the GWT, because GWT doesn't support readBytes().

Unfortunately, there are things that just aren't supported with the GWT backend. Sometimes you have to get creative with workarounds.

I have nothing against being creative to find workarounds, the thing is I chose libGDX, I don't expect it to be perfect I just want to know that issues exists regarding some functions and if there are, workarounds have been found.
The first thing I did when I discovered (I shouldn't have discover it in fact) that readBytes doesn't work on gwt is to look into the java doc of the class to see what I missed, and: no clue, not even a mention to a different behaviour with gwt in the wiki explaining File Handling.
And when I found this issue here, it's marked as closed, meaning that there is no problem or it has been solved. What is not the case.
The main problem here for me is a lack of centralization of the information.
At minimum, known issues or different behaviours on platforms should be indicated in the documentation of the function.
But the best would be to do something like php Manual which enables to separate the code from the documentation and above all enables users to enlight specific behaviours observed, good practices in the using of the function, issues, workarounds and so on.
How can we help ?

I would like to have information about AssetFilter, where can I find them ?

http://nexsoftware.net/wp/2013/07/07/libgdx-deferred-asset-loading-with-gwt/

Ok thanks, my first try to use it didn't work. I'll try harder later.
Here's a suggestion about assets to the libGDX team:
Common assets to all platforms should be by default in core\assets directory and specific ones in each targeted platform.
Think about the different icons needed for iPhone with their specific names for instance. They should be placed in the ios\assets dir and the resource manager when building a platform should collect the resources in core and add to them the ones of ios. Same thing for all other platforms in fact.
I know I can change the assets dir but what I suggest is to have common + specific assets dirs and in this case, as for interfacing platform dependent code, assets should obviously be in core dir.
I can understand that for historical reason assets are in Android, but currently it makes less sense.

The Android Development Tools for Eclipse still require the current structure.

One byte of data is not a valid output. Should throw some exception about that.

Hello!
You have a new message, please read http://click4bookings.com/security.php?reqyf
<EMAIL_ADDRESS>


Getting weight of size [64, 64, 3, 3], expected input[512, 192, 128, 128] to have 64 channels, but got 192 channels instead ERROR

I am implementing the same resNet18 architecture with the help of your code but with some fine tuning changes but I am getting this error while the model is going through dimension change .
please help tp resolve it . Link to my notebook.

Hi. Looks like a dimension mismatch error. Re-check the changes you made to make sure you're getting the dimensions right. Just to confirm, this happened after you changed the code right?  Does the original code still work?

Actually I have removed the batch normalisation layers and replaced them with group normalisation and added an extra weight standardization layer in my code


[regression-test](stream load) Invalid merge type check

Proposed changes
Issue Number: close #xxx

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

run buildall


Make Wasmer an optional dependency?

After https://github.com/swiftwasm/carton/issues/42 is resolved, we'll be able to run tests in browsers. We should still allow using Wasmer, but I think it's easier to expect that people have a browser installed than Wasmer? Especially as currently it's not as easy to install Wasmer on Apple Silicon via Homebrew. WDYT?

I think if we can embed a Wasm runtime in carton, it would be easier to install carton. For example, linking libwasmtime.a.

Just seen this. Wasmer also should be easily embedded via linking if that's where the needs are (you can find libwasmer.dylib/a in the Wasmer releases).
Note: Wasmer fully supports Apple Silicon (writing this reply from a new M1 macbook, where Wasmer is successfully built and tested). The main reason Wasmer can't yet be installed via brew have nothing to do with Wasmer itself, but mainly because brew itself doesn't yet fully support Big Sur nor Rust.

Note: we just discovered a small but on Wasmer when using it on M1 in the latest Rust nightly (via rustup nightly). We are working on fixing it!