Announcement: new major version of @oclif/plugin-plugins

On 3/14/2024 we are going to switch to a new major version of @oclif/plugin-plugins which will use npm instead of yarn (v1) for installing and updating user plugins (PR).
Why is Salesforce making this change?
For a number of reasons:

yarn (v1) no longer receives bug fixes or security patches. This makes it difficult to address some of our user’s issues (such as https://github.com/forcedotcom/cli/issues/2540) because the bugs exist in yarn and not Salesforce CLI.
npm is the most commonly used package manager. As a result, we can count on npm to continue releasing bug fixes, features, and security patches.
The latest version of npm is significantly faster than yarn (v1).
Switching to npm simplifies environment setup for users behind company firewalls and who use private registries, because there won't be any conflict between global .yarnrc and .npmrc files.

What do I need to do?
In most cases, you don’t need to do anything. Any installed plugins will continue to work and will be updatable using sf plugins update.
If, however, you experience issues, we recommend running sf plugins reset --reinstall --hard, which will completely uninstall all your plugins and then reinstall them on your behalf. If you continue to experience issues, create a new GitHub issue and we'll do our best to help you.
These are some specific use cases in which you do need to do something:

If you rely on a .yarnrc file to configure the behavior of plugin installation (such as from a private registry), then you must migrate those settings to a .npmrc file.
If you rely on yarn-specific environment variables, then you must switch to their npm equivalents.
If you have npm environment variables set in your environment, they might affect the plugin installation behavior. We recommend that you review those environment variables and make any necessary adjustments.

Can I test the changes early?
Yes! And we highly encourage it.
Run sf plugins install @oclif/plugin-plugins@beta to install the new version. Let us know if you experience any issues.

Hey @mdonnalley - curious whether this has been delayed due to any issues found?
I've delayed a change I was planning to my build container to install plugins via npm (and then install them as dev plugins) to work around the issue where yarn doesn't respect private registry / proxy configuration.
Hoping this will land soon and I don't have to pick that change back up?

@ethan-sargent Yes, sorry - this was delayed by TDX.
@iowillhoit is currently doing a lot of great testing on the PR to ensure everything is good to go. At this point I'd say it's likely to make into this week's release candidate - but I'll post back if that's not the case.

@mdonnalley No need to apologise! Was mostly just looking to check if there was an 11th hour blocker.
Looking forward to this getting merged - thanks for the update.
Will have a crack at running a test once the rc is out to confirm all's with installs behind a proxy - hoping I get some time.

Update: This weeks's release candidate (2.35.6) has the new major of @oclif/plugin-plugins 🎉
Let us know if you encounter any issues!

Hi @nvuillam @mdonnalley Same here.

This will be promoted to latest today (in less than 2 hours). It should be fixed in latest-rc @RupertBarrow
https://github.com/forcedotcom/cli/issues/2818#issuecomment-2061945120


[Question] Validation of the JWT Token Expiry Time

First of all thanks for this useful project. Just wanted to ask if it's possible to validate on the exp (expiry time) of the passed token. Is that something you currently support? .. Would that be planned to be supported at some point of time?
My use case: some of our frontends may pass an expired token to the backends, that's when we want to know, throw an error and the frontend should be asking for a refresh and sending a new token.

I will check and let you know ;)

@Robbilie confirmed! with an expired token I get a 401 .. Thanks a lot.


script command error

When I tried to run a particular script, the results were not what I expected.
Command (prefix = c#):
c#s js for(let i = 0;i < 10;i++){
  console.log(i)
}

Output:
1
2
3
4
5
6
7
8
9

0
1
2
3
4
5
6
7
8
9

Fixed.


(🐞) js(IR) causes java.lang.IllegalStateException: Cannot find the Composer class in the classpath

Describe the bug
Can't build when using js(IR)
Affected platforms
Select one of the platforms below:

Web (K/JS) - HTML based API
Web (K/JS) - Canvas based API

Versions

Kotlin version*: 1.8.0
Compose Multiplatform version*: 1.3.0 / 1.4.0-alpha01-dev1008
OS version(s)* (required for Desktop and iOS issues): Windows 10
OS architecture (x86 or arm64): x86
JDK (for desktop issues):

To Reproduce
plugins {
    kotlin("multiplatform") version "1.8.0"
    id("org.jetbrains.compose") version "1.3.0" //"1.4.0-alpha01-dev1008"
}

repositories {
    mavenCentral()
}

kotlin {
    js(IR) {
        browser()
    }
}

run gradle build
> Task :compileKotlinJs FAILED
e: java.lang.IllegalStateException: Cannot find the Composer class in the classpath
	at androidx.compose.compiler.plugins.kotlin.lower.AbstractComposeLowering.<init>(AbstractComposeLowering.kt:111)
	at androidx.compose.compiler.plugins.kotlin.lower.ClassStabilityTransformer.<init>(ClassStabilityTransformer.kt:68)
	at androidx.compose.compiler.plugins.kotlin.ComposeIrGenerationExtension.generate(ComposeIrGenerationExtension.kt:79)

Expected behavior
doesn't fail
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


elm is broken

Neither
nix-env -iA nixos.pkgs.haskellngPackages.elm-compiler
nor
nixos.pkgs.haskell-ng.packages.ghc784.elm-compiler
work on a current nixos with these channels:
On ghc 7.8.4 the error is
'package ansi-terminal-<IP_ADDRESS> is broken due to missing package'
On ghc 7.10, the build fails on language-glsl-0.1.1

To provide more information about the problem I ran the commands on my machine and pasted the relevant error codes below.
NixOS version
$ nixos-version
15.05pre61665.4c01e6d (Dingo)

default GHC
$ nix-env -iA nixos.pkgs.haskellngPackages.elm-compiler
...
In-place registering language-glsl-0.1.1...
Preprocessing executable 'glsl-pprint' for language-glsl-0.1.1...

bin/glsl-pprint.hs:4:8:
    Ambiguous module name ‘Text.PrettyPrint.HughesPJClass’:
      it was found in multiple packages:
      pretty-<IP_ADDRESS>@prett_7jIfj8VCGFf1WS0tIQ1XSZ prettyclass-<IP_ADDRESS>@prett_2FbqlbOn8rU3vmeTF7SGKM
builder for ‘/nix/store/vkqskg721jsxsbyml4bfq39vrxbj5qc5-haskell-language-glsl-0.1.1.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/d86b29dpn9gjpj80k4r7bbpwjhl35psz-haskell-elm-compiler-0.15.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/d86b29dpn9gjpj80k4r7bbpwjhl35psz-haskell-elm-compiler-0.15.drv’ failed

According to this issue the problem lies upstream in language-gsl. There's a PR that fixes the problem waiting to be merged.

GHC 7.8.4
$ nix-env -iA nixos.pkgs.haskell-ng.packages.ghc784.elm-compiler
...
[55 of 66] Compiling Test.Property.Arbitrary ( tests/Test/Property/Arbitrary.hs, dist/build/compiler-tests/compiler-tests-tmp/Test/Property/Arbitrary.dyn_o )

tests/Test/Property/Arbitrary.hs:141:11:
    Couldn't match expected type ‘T.Type v’
                with actual type ‘T.AliasType v’
    Relevant bindings include
      rootType :: T.AliasType v
        (bound at tests/Test/Property/Arbitrary.hs:140:28)
      tvars :: [(String, T.Type v)]
        (bound at tests/Test/Property/Arbitrary.hs:140:22)
      tipe :: T.Type v (bound at tests/Test/Property/Arbitrary.hs:132:10)
      shrink :: T.Type v -> [T.Type v]
        (bound at tests/Test/Property/Arbitrary.hs:132:3)
    In the first argument of ‘(:)’, namely ‘rootType’
    In the expression:
      rootType
      : (T.Aliased name <$> shrinkList shrinkPair tvars
         <*> shrink rootType)
builder for ‘/nix/store/xzyhg1b0dkvfihix5462gx0chxi8hvbv-haskell-elm-compiler-0.15.drv’ failed with exit code 1
error: build of ‘/nix/store/xzyhg1b0dkvfihix5462gx0chxi8hvbv-haskell-elm-compiler-0.15.drv’ failed

Seems that this is a problem in upstream elm-compiler, see this issue.

https://github.com/NixOS/nixpkgs/pull/7791 fixes the compilation of language-glsl which removes one error on the way to being able to compile elm-compiler with GHC 7.10.
Two errors remain in elm-compiler itself:
src/Parse/Helpers.hs:210:1:
    Non type-variable argument in the constraint: Stream s m Char
    (Use FlexibleContexts to permit this)
    When checking that ‘betwixt’ has the inferred type
      betwixt :: forall b s u (m :: * -> *).

                     Stream s m Char =>
                     ([Char] -> a) -> ParsecT s u m a
    In an equation for ‘shader’:
        shader
          = do { try (string "[glsl|");
                 rawSrc <- closeShader id;
                 case glSource rawSrc of {
                   Left err -> parserFail . show $ err
                   Right tipe -> return ... } }
          where
              closeShader builder = choice [do { ... }, ....]

Which can be 'fixed' with:
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
index a05f70e..cc074ee 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -304,6 +304,8 @@ self: super: {
   # https://github.com/bos/bloomfilter/issues/11
   bloomfilter = dontHaddock (appendConfigureFlag super.bloomfilter "--ghc-option=-XFlexibleContexts");

+  elm-compiler = appendConfigureFlag super.elm-compiler "--ghc-option=-XFlexibleContexts";
+
   # https://github.com/ocharles/tasty-rerun/issues/5
   tasty-rerun = dontHaddock (appendConfigureFlag super.tasty-rerun "--ghc-option=-XFlexibleContexts");

but then two new errors crop up:
src/Docs.hs:127:26:
    No instance for (Foldable t0) arising from a use of ‘elem’
    The type variable ‘t0’ is ambiguous
    Note: there are several potential instances:
      instance Foldable (Control.Applicative.Const m)
        -- Defined in ‘Control.Applicative’
      instance Foldable (Either a) -- Defined in ‘Data.Foldable’
      instance Foldable Data.Functor.Identity.Identity
        -- Defined in ‘Data.Functor.Identity’
      ...plus 27 others
    In the first argument of ‘dropWhile’, namely
      ‘(`elem`
        " \n\
        \\r")’
    In the first argument of ‘(.)’, namely
      ‘dropWhile
         (`elem`
          " \n\
          \\r")’
    In the expression:
      dropWhile
        (`elem`
         " \n\
         \\r")
      . drop 2

src/Docs.hs:127:33:
    No instance for (Data.String.IsString (t0 Char))
      arising from the literal ‘" \n\
                                \\r"’
    The type variable ‘t0’ is ambiguous
    Note: there are several potential instances:
      instance (a ~ Data.ByteString.Internal.ByteString) =>
               Data.String.IsString
                 (attoparsec-<IP_ADDRESS>:Data.Attoparsec.ByteString.Internal.Parser a)
        -- Defined in ‘attoparsec-<IP_ADDRESS>:Data.Attoparsec.ByteString.Char8’
      instance Data.String.IsString (dlist-<IP_ADDRESS>:Data.DList.DList Char)
        -- Defined in ‘dlist-<IP_ADDRESS>:Data.DList’
      instance Data.String.IsString [Char] -- Defined in ‘Data.String’
    In the second argument of ‘elem’, namely
      ‘" \n\
       \\r"’
    In the first argument of ‘dropWhile’, namely
      ‘(`elem`
        " \n\
        \\r")’
    In the first argument of ‘(.)’, namely
      ‘dropWhile
         (`elem`
          " \n\
          \\r")’

Wouldn't those kind of issues best be reported on the elm tracker? It feels like Nixpkgs is not quite the right place to solve these kind of issues, because there is nothing Nix-specific about them. These look like genuine bugs in the software that upstream should fix, not we as a distributor of their packages.

I'm closing this ticket because this issue is a genuine upstream problem that would ideally be solved by the package authors. Once a new Elm release shows up on Hackage, we'll have it in a matter of hours.


Normalize texts for Stax

Include transition animation
Modify several texts
Add mechanism to set a custom text to describe transaction

:link: zboto Link

We should probably bump major as previous zemu tests will not work and require manual changes :)

mmmm the thing is that the app won't notice these changes... probably bumping the major version will be required in Zemu package but here there isn't any backward compatibility issue


Customize healthcheck query, document embeddings.yaml

This is to allow UN SDG to use a different default index with a corresponding health query

Thanks!


pfe-band issues / suggestions

1. height of children in body
.pfe-band__body {
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start; // this prop causes this children not to fill the height of the row
}

2. Inline styles in the demo
Demo page, orange example "Aside: left body top" has inline styles causing overlap
style="height: -webkit-fill-available;"

3. Formatting of grid props for readability
Not a bug, but a suggestion. Can we format the CSS so that its easier to see what the regions are?
--pfe-band--gridTemplateArea_desktop:
          "header  header"
          "body    aside"
          "footer  footer";

4. Band should set max-width instead of width
To avoid the band breaking out of any other container

Pull request to resolve: https://github.com/patternfly/patternfly-elements/pull/336

I was thinking that newlines in CSS variables wouldn't work but they totally do!! +1 https://codepen.io/castastrophee/pen/WmXvvE?editors=1100


CLA: trivial

CLA: trivial
spelling error cppfags2 => cppflags2 in Configurations/windows-makefile.tmpl

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

So many rookie mistakes done from my part.


interpretation-page: move editor below Comments: + remove : from Comments:

state 0--no comments:

added inside issue #179


Enable nested changelogs when this project is consumed

Following process outlined here (restricted access):
https://jel.ly.fish/pattern-enable-nested-changelogs-repos-consuming-repo-cf7bcc8
Change-type: patch
Signed-off-by: Kyle Harding<EMAIL_ADDRESS>

@balena-ci I self-certify!


When im sendMessage in HTML parse mode some link doesnt show preview.

Hi,why some link preview dosn't show in message.
video
this link in message dosn't show preview.why?
could any body help?
@boukeversteegh @akalongman @Metallizzer @zavg @SerafimPikalov

This library has nothing to do with preview generation.

For what it's worth, have a look at the disable_web_page_preview parameter for sendMessage.


Feature: Retrieve dependencies in chained pixi projects

Problem description
Hello,
It would be nice to be able to include the dependencies specified in the pyproject.toml of an old project in a new project. So that all the dependencies from the old and new projects are also available in the environment of the new project.
My old pixi project
[project]
authors = [{name = "julian-belina", email =<EMAIL_ADDRESS>dependencies = []
description = "Add a short description here"
name = "my_old_project"
requires-python = ">= 3.10"
version = "0.1.0"

[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64"]

[tool.pixi.dependencies]
python = { version = ">=3.10", channel = "conda-forge" }

[tool.pixi.pypi-dependencies]
pandas="*"

My New pixi project
[project]
name = "my_new_project"
authors = [{name = "julian-belina", email =<EMAIL_ADDRESS>dependencies = []
description = "Add a short description here"
name = "my_new_project"
requires-python = ">= 3.10"
version = "1.3.0"

[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64"]

[tool.pixi.dependencies]
python = { version = ">=3.10", channel = "conda-forge" }
gdal="*"

[tool.pixi.pypi-dependencies]
ethos_penalps = { path = "./my_old_project", editable = true }
pyaml="*"

So that the environment of the new project would contain pandas, gdal, pyaml and python.
Also I would like to thank the the developers of this project. It seems very promising to ease the struggle with Python installations.

Hi @julian-belina, thanks!
We are working on this as we speak. If you want to know more about the status feel free to join our show and tell tomorrow: https://discord.gg/dW5aGRD3?event=1273925563408453725
I'm going to close this for now as it doesn't say something new over what the current proposal covers. More information soon!

@ruben-arts is there already a specific start time for the show and tell? I couldnt find anything on the server

The event starts at 11:30 Berlin time


fixes undefined issue

fixed #26
Changed the captcha generating logic in order to handle "undefined", also ran it in a loop to make it more efficient.

@kshitijakarsh Kudos!! great fix.
Keep contributing.


Classes key as a string get quotes removed on formatting

Given a I have a class, as a string key, that relies on a boolean variable, its wrapping quotes get removed on formatting.
That's not an issue in cases where the string uses not reserved words or characters. But, for example, with BEM modifiers classes names containing a double dash sign -- it raises an error.
E.G.
Unformatted code:

    My title

Formatted code:

    My title

Sorry for the 'faux' issue.
Actually the plugin will take care of keeping single quotes on reserved words or characters, but will remove them on safe class names.


Wrong binding of Pusher event

app/assets/javascripts/component_data/member.js.coffee file. Wrong bind?
    channel.bind 'account', (data) =>
      gon.accounts[data.currency.code] = data
@trigger 'account::update', gon.accounts

Probably, it should be
    channel.bind 'accounts', (data) =>
      gon.accounts[data.currency.code] = data
@trigger 'account::update', gon.accounts

@dinesh-skyach can you please validate this with 1-8 Peatio branch?

@yivo I did check this and found that there is no event "account" or "accounts" triggered from Peatio.


End-to-end encryption

In order to allow for secure sum/division/multiplication, etc end-to-end-encryption is required. Also for security in the event of a hack the resulting data would be useless for the attacker.

Implemented E2EE (d5272a5c85516ca49041c21e08dd77231b89ae9d) for JSON input and output. Now we need to go for a more generalized form.

Fixed in 515d7dd999cb42d38ac507e0598ee1118058a724


 This is madness. I'm reconsidering using AppVeyor now ...

closing in favor of #9


ENH: Add a method to get the Mean Confidence Interval and Prediction Interval for an alpha value.

Is your feature request related to a problem? Please describe.
Currently, the linregress function only outputs the following:

slope
intercept
rvalue
pvalue
stderr
intercept_stderr

While it is easy to obtain the intercept and slope confidence intervals from this information, it is very difficult to construct the Confidence Interval for the Mean Response or the Prediction Interval for a New Response as it requires the mean square error and sum of squared deviations from the mean value of x which are private to the function.
Describe the solution you'd like.
The easiest solution would be to output Sxx and MSE from the linregress function and let the user evaluate the intervals.
Alternative 1: linregress could accept a flag to evaluate these intervals for a specified confidence level and output the corresponding arrays. The last part is rather inconsistent with the current functionality of the function since it doesn't output y_pred arrays either.
Alternative 2: Other function(s) to calculate these given x values and the Linear Regression Results tuple.
Describe alternatives you've considered.
The OLS regression available from the statsmodels module outputs all the necessary information.
Additional context (e.g. screenshots, GIFs)
https://online.stat.psu.edu/stat462/node/126/ - Mean Reponse CI
https://online.stat.psu.edu/stat462/node/127/ - New Response PI
I have implemented this in python for a project I undertook but I am not sure how to contribute to this codebase and whether this is a necessary feature or not, particularly since I'm new to this whole thing of open-source contributions.

This sounds like it would be a very helpful feature.

I have implemented this in python for a project I undertook but I am not sure how to contribute to this codebase and whether this is a necessary feature or not, particularly since I'm new to this whole thing of open-source contributions.

Typically, whether or not a feature should be added to Scipy is decided on a Github issue like this one or on the Scipy mailing list (especially if it's a big change). If this feature gets approved and you want to add it to the codebase yourself, the Scipy website has an excellent guide on how to get started.

This sounds indeed useful in principle but it is questionable if it falls in the scope of scipy. For fully-fleged linear models including prediction intervals, my tool of choice would be a dedicated package such as statsmodels or PyMC. scipy's docs also explicitly state something similar:

Statistics is a very large area, and there are topics that are out of scope for SciPy and are covered by other packages. Some of
the most important ones are:
statsmodels: regression, linear models, time series analysis, extensions to topics also covered by scipy.stats.

Let's wait for more reponses but from my side it would be -1.

I'm ok with adding the "Sxx and MSE" if they are already calculated and there are no specific concerns with doing so. @dschmitz89 were you -1 on that part?
I agree with https://github.com/scipy/scipy/issues/18306#issuecomment-1516616015 about the rest.

I would be +1 to adding these. We are adding more and more CI and for something like OLS, this is very natural that one would want to have it.
I am not concern with the overlap with other packages as we already have the function in. We either want to keep maintaining something or deprecate it. But personally I don't like in between things. i.e. if something is there and we want to continue maintaining it, we should do our best to make it useful to folks and have a good API, etc.

@karrablaster123 It looks like you did not ask for the confidence interval for the statistics that the function already returns (intercept and slope). It would be surprising to me if this function were to provide the CI for the mean response and PI for a new response without those.
Please see how we have been adding confidence_interval methods to some functions (e.g. ttest_1samp) and suggest a specific interface. For instance, there could be one method that calculates all four intervals, or there could be four methods that each returns an interval.
If I understand correctly, to produce these intervals, the method would need to know $x_h$ - a value that is not necessarily in the original sample?

It looks like you did not ask for the confidence interval for the statistics that the function already returns (intercept and slope), but it would be surprising to me if this function were to provide the CI for the mean response and PI for a new response without also providing those.

That is because the function outputs the standard error for the estimated intercept and slope. Simply using the corresponding t-value with the stderr(s) will provide the user with their required intercept and slope CI. The required outputs for the user to evaluate the CI/PI for the whole regression however are not provided (MSE, Sxx) which is why for consistency I suggested it output MSE and Sxx.

Please see how we have been adding confidence_interval methods to some functions (e.g. ttest_1samp) and suggest a specific interface for this function.

I took a look at that. If we wish to be consistent with the implementation for ttest_1samp, we could provide a method such as mean_reponse(x_h, confidence_level) and new_reponse(x_h, confidence_level) where x_h is the predictor value of interest. Alternatively, we could use a single confidence_interval method and give it a flag and optional parameters. Ex: confidence_interval(flag = "Intercept"/"MeanReponse"/"NewReponse*", confidence_level [, x_h]).
*I would like to specify that using confidence_interval as a method for the newreponse is unintuitive since a prediction interval is not a confidence interval.

If I understand correctly, to produce these intervals, the method would need to know x_h - a value that is not in the original sample? Would that be passed into the method(s) along with the confidence level?

I'm not sure what you mean by this. x_h is the predictor value we are obtaining an interval for. We would also need the corresponding t-value, the y_h (predicted) value at x_h, the x_bar (mean) of the predictor, the MSE (mean squared error of residuals), and the Sum of Squared Differences of X (Sxx) to evaluate both the Mean Response interval and the Prediction Interval.

I'm not sure what you mean by this

You answered this question in the previous part. x_h is passed into the methods.

Just to add a random voice to this:  generally python in my opinion is missing an accessible implementation that calculates confidence bands/intervals from least squares fits.  Kapteyon's kmpfit has some functionality and there are packages that implement bootstrap methods (like seaborn), but there isn't anything that is easy to implement and flexible.  I would love to see a method in the scipy library similar to what is done in this repo, which already is written to be friendly with scipy.optimize.curve_fit.


[SPARK-24251][SQL] Add analysis tests for AppendData.

What changes were proposed in this pull request?
This is a follow-up to #21305 that adds a test suite for AppendData analysis.
This also fixes the following problems uncovered by these tests:

Incorrect order of data types passed to canWrite is fixed
The field check calls canWrite first to ensure all errors are found
AppendData#resolved must check resolution of the query's attributes
Column names are quoted to show empty names

How was this patch tested?
This PR adds a test suite for AppendData analysis.

@cloud-fan, here are tests to validate the analysis of AppendData logical plans.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1964/
Test PASSed.

Merged build finished. Test PASSed.

Test build #94449 has started for PR 22043 at commit e58d4fc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2013/
Test PASSed.

Test build #94516 has started for PR 22043 at commit 765c5b4.

Test build #94516 has finished for PR 22043 at commit 765c5b4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94516/
Test PASSed.

thanks, merging to master!

Thanks for reviewing, @cloud-fan!


Work with string null values

When creating a sql query when a column has a null value, we must write this: column IS NULL instead column = NULL

Created a pull request to that. :-)

Finished in commit: #21


使用自定义lora模型生成图片报错：'获取模型版本失败，信息：record not found'

步骤：

将包含lora模型sweet_dress_style2_v1.safetensors的文件夹liblibai_sweet_dress_lora放于mnt/workspace/.cache/modelscope/ly261666
编辑facechain/facechain/constants.py文件：

neg_prompt = 'nsfw, paintings, sketches, (worst quality:2), (low quality:2) ' \
             'lowers, normal quality, ((monochrome)), ((grayscale)), logo, word, character'
pos_prompt_with_cloth = 'raw photo, masterpiece, chinese, simple background, wearing {}, high-class pure color background, solo, medium shot, high detail face, looking straight into the camera with shoulders parallel to the frame, slim body, photorealistic, best quality'
pos_prompt_with_style = '{} upper_body, raw photo, masterpiece, chinese, solo, medium shot, high detail face, slim body, photorealistic, best quality'

cloth_prompt = [
    {'name': '工作服(working suit)', 'prompt': 'high-class business/working suit'},  # male and female
    {'name': '盔甲风(armor)', 'prompt': 'silver armor'},  # male
    {'name': 'T恤衫(T-shirt)', 'prompt': 'T-shirt'},  # male and female
    {'name': '汉服风(hanfu)', 'prompt': 'beautiful traditional hanfu, upper_body'},  # female
    {'name': '女士晚礼服(gown)', 'prompt': 'an elegant evening gown'},  # female
    {'name': '洛丽塔(sweet lolita)', 'prompt':'sweet_dress,white thighhighs'}
]

styles = [
    {'name': '默认风格(default style)'},
    {'name': '凤冠霞帔(Chinese traditional gorgeous suit)',
     'model_id': 'ly261666/civitai_xiapei_lora',
     'revision': 'v1.0.0',
     'bin_file': 'xiapei.safetensors',
     'multiplier_style': 0.35,
     'cloth_name': '汉服风(hanfu)',
     'add_prompt_style': 'red, hanfu, tiara, crown, '},
    {'name': '甜美洛丽塔(sweet lolita)',
     'model_id': 'ly261666/liblibai_sweet_dress_lora',
     'revision': 'v1.0.0',
     'bin_file': 'sweet_dress_style2_v1.safetensors',
     'multiplier_style': 0.65,
     'cloth_name': '洛丽塔(lolita)',
     'add_prompt_style': 'sweet_dress,white thighhighs, amusement park, night, night sky, dramatic lighting,'},
]

启动，生成默认图片成功
调用甜美洛丽塔风格提示词报错，生成失败。报错：

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1428, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1245, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
  File "/opt/conda/lib/python3.8/site-packages/gradio/components/radio.py", line 161, in preprocess
    return self.choices.index(x)
ValueError: '洛丽塔(lolita)' is not in list
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1428, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1245, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
  File "/opt/conda/lib/python3.8/site-packages/gradio/components/radio.py", line 161, in preprocess
    return self.choices.index(x)
ValueError: '洛丽塔(lolita)' is not in list
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1428, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1245, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
  File "/opt/conda/lib/python3.8/site-packages/gradio/components/radio.py", line 161, in preprocess
    return self.choices.index(x)
ValueError: '洛丽塔(lolita)' is not in list
2023-08-22 15:51:01,471 - modelscope - ERROR - Authentication token does not exist, failed to access model ly261666/liblibai_sweet_dress_lora which may not exist or may be                 private. Please login first.
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/modelscope/hub/errors.py", line 81, in handle_http_response
    response.raise_for_status()
  File "/opt/conda/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://www.modelscope.cn/api/v1/models/ly261666/liblibai_sweet_dress_lora/revisions?EndTime=1692690661

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1431, in process_api
    result = await self.call_function(
  File "/opt/conda/lib/python3.8/site-packages/gradio/blocks.py", line 1123, in call_function
    prediction = await utils.async_iteration(iterator)
  File "/opt/conda/lib/python3.8/site-packages/gradio/utils.py", line 349, in async_iteration
    return await iterator.__anext__()
  File "/opt/conda/lib/python3.8/site-packages/gradio/utils.py", line 342, in __anext__
    return await anyio.to_thread.run_sync(
  File "/opt/conda/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/opt/conda/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/opt/conda/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/opt/conda/lib/python3.8/site-packages/gradio/utils.py", line 325, in run_sync_iterator_async
    return next(iterator)
  File "/opt/conda/lib/python3.8/site-packages/gradio/utils.py", line 694, in gen_wrapper
    yield from f(*args, **kwargs)
  File "app.py", line 109, in launch_pipeline
    model_dir = snapshot_download(matched['model_id'], revision=matched['revision'])
  File "/opt/conda/lib/python3.8/site-packages/modelscope/hub/snapshot_download.py", line 96, in snapshot_download
    revision = _api.get_valid_revision(
  File "/opt/conda/lib/python3.8/site-packages/modelscope/hub/api.py", line 479, in get_valid_revision
    revisions = self.list_model_revisions(
  File "/opt/conda/lib/python3.8/site-packages/modelscope/hub/api.py", line 433, in list_model_revisions
    handle_http_response(r, logger, cookies, model_id)
  File "/opt/conda/lib/python3.8/site-packages/modelscope/hub/errors.py", line 88, in handle_http_response
    raise HTTPError('Response details: %s' % message) from error
requests.exceptions.HTTPError: Response details: {'Code':<PHONE_NUMBER>1, 'Message': '获取模型版本失败，信息：record not found', 'RequestId': '6a8d9e85-80ac-46b9-9572-e6fc4746a5b4', 'Success': False}

ps：建议将资源文件从缓存目录移到项目文件夹下，方便开发者们开发

<EMAIL_ADDRESS>


Added Missing Include: ostream

The ValKind::operator<< uses ostream, but the include was missing. ostream is used so commonly that it's usually included by some other header. However, if you use wasmtime.hh as your first (or only) include, then you get a massive compile error on Apple toolchain compilers (I'm using xcode 16). The error does not reproduce on Linux.
The error when this include is missing is:
include/wasmtime.hh:519:32: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char[4]')
  519 |     WASMTIME_FOR_EACH_VAL_KIND(CASE_KIND_PRINT_NAME)
include/wasmtime.hh:504:3: note: expanded from macro 'WASMTIME_FOR_EACH_VAL_KIND'
  504 |   X(I32, "i32", WASM_I32)                                                      \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
include/wasmtime.hh:517:8: note: expanded from macro 'CASE_KIND_PRINT_NAME'
  517 |     os << name;                                                                \

To reproduce the issue, we could move the wasmtime.hh include in hello.cc to be the first one (before the iostream include). I could include that change if you'd like.

And yeah if you're up for it having this reproduce in CI I think would be good too

Ok, I got CI to fail with the exact same error I saw locally when I pushed this change. The change was simple, just include the wasmtime.hh header first:
https://github.com/bytecodealliance/wasmtime-cpp/commit/f4c369f4591d0bd0b500096eda75baf75bf90da8
Resulting CI Error:
https://github.com/bytecodealliance/wasmtime-cpp/actions/runs/12190299788/job/34007145848
I adjusted this pull request with the updated example and, if CI passes, this will confirm the issue is resolved.


Belongs to foreign key field name cannot be equal to primary key of assigned struct

GORM Playground Link

https://github.com/go-gorm/playground/pull/467
Description
Using
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
github.com/jackc/pgx/v4 v4.15.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-sqlite3 v1.14.12 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
gorm.io/driver/mysql v1.3.3
gorm.io/driver/postgres v1.3.4
gorm.io/driver/sqlite v1.3.1
gorm.io/driver/sqlserver v1.3.2
gorm.io/gorm v1.23.4

User case
The primary key of a struct may contain the struct name as a substring.
For instance:
type Vehicle struct {
	VehicleID string `gorm:"primarykey"`
}

You may want to create a struct that belongs to the previous struct.
For instance:
type ParkingSpot struct {
	ID        string `gorm:"primarykey"`
	VehicleVehicleID string
	Vehicle   Vehicle
}

but the field VehicleVehicleID is pedantic and VehicleID may be desirable. Following the instructions to override foreign key to yield the foreign key name VehicleID should result in something like this:
type ParkingSpot struct {
	ID        string `gorm:"primarykey"`
	VehicleID string
	Vehicle   Vehicle `gorm:"foreignKey:VehicleID"`
}

Expected results
Allow additional notation to support this naming convention, or a fix. Otherwise if either are infeasible, there should be documentation stating that the foreign key field cannot be equal to the primary key of the assigned struct.
Actual results
/main_test.go:22 ERROR: insert or update on table "vehicles" violates foreign key constraint "fk_parking_spots_vehicle" (SQLSTATE 23503

 type ParkingSpot struct {
        ID        string `gorm:"primarykey"`
        VehicleID string
-       Vehicle   Vehicle `gorm:"foreignKey:VehicleID"`
+       Vehicle   Vehicle `gorm:"references:VehicleID"`
 }

gorm will guess the relationship. If there may be a belongs to and has one relationship at the same time, any guess may be wrong (if the primary key and foreign key names are the same), we need to specify references in the belongs to  relationship.
We will add instructions to the documentation.

I was having a somewhat related issue with the below:
type PrimaryKeyType struct {
	FkStr string `gorm:"primaryKey;not null;default:null"`
}

type ForeignKeyType struct {
	OtherKey       string `gorm:"primaryKey;not null;default:null"`
	FkStr          string
	PrimaryKeyType *PrimaryKeyType `gorm:"foreignKey:FkStr"`
}

With this code, PrimaryKeyType has a foreign key TO the ForeignKeyType. In order to reverse the direction of the foreign key, I added the belongsTo tag:
type PrimaryKeyType struct {
	FkStr string `gorm:"primaryKey;not null;default:null"`
}

type ForeignKeyType struct {
	OtherKey       string `gorm:"primaryKey;not null;default:null"`
	FkStr          string
	PrimaryKeyType *PrimaryKeyType `gorm:"foreignKey:FkStr;belongsTo"`  // see extra tag here!!
}


visualization code docs / bugfixes

I agree, let's use this version in internal plot_util (but we can that only after we propagate changes to the internal version)


JNI methods

I was planning to look at how arrays are handled, but I found the ccall syntax hard to use.  I got distracted and wrote this.  It's basically a submodule with methods wrapping most JNI functions.
Instead of
realClass = ccall(jnifunc.GetObjectClass, Ptr{Void}, (Ptr{JNIEnv}, Ptr{Void} ), penv, obj.ptr)
you can write
realClass = GetObjectClass(penv, obj.ptr)
GetObjectClass is defined as
GetObjectClass(env::Ptr{JNIEnv}, obj::jobject) = ccall(jnifunc.GetObjectClass, jclass, (Ptr{JNIEnv}, jobject,), env, obj)
It's not perfect, but I think it's already an improvement.  It's mostly auto-generated from the comments in jnienv.jl.  The test suite passes, but most of these methods aren't exercised.
Since I don't know how much time I'll have to work on this coming up, I thought I should push it out in case anybody else finds it useful.

I think this is great, will make it much easier to work on this stuff. Thanks. i could probably do with some comments on the top of jnienv2.jl explaining how that file is generated.  And maybe a better name than jnienv2?

I've been playing around with this. While i like the idea of wrapping the JNI calls in their own methods, I don't like the module interactions that this causes. Seems a bit spaghetti to me. I'll need to think about how to arrange this code.


What is the event name for when a player closes the inventory?

Or is there a list of all the custom events?


BUG:No proper padding in Nav-Bar

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Nav Bar items doesnot have proper padding and all are having different padding or gap it is looking weird on the top of the website
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

i would like to address this issue


Implement battery monitoring

Battery monitoring will use the on-chip ADC to read the voltage level of the batteries. Can be used to report battery level in LoRaWAN.

Going to use this issue to show @aaron-wu1 embedded firmware development

Quickstart here: https://wiki.st.com/stm32mcu/wiki/Getting_started_with_ADC

Getting the following error:
(.venv) jtmadden@spruce:~/repos/jlab/soil-power-sensor-firmware/stm32 (7-implement-battery-monitoring) > pio run -e bmp                                                      [130]
***********************************************************************************************************************************************************************************
Obsolete PIO Core v6.1.7 is used (previous was 6.1.11)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/en/latest/core/installation/troubleshooting.html
***********************************************************************************************************************************************************************************
Processing bmp (platform: https://github.com/jlab-sensing/platform-ststm32; board: WioE5; framework: stm32cube)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/WioE5.html
PLATFORM: ST STM32 (17.0.0+sha.7136ebc) > WioE5
HARDWARE: STM32WL55JC 48MHz, 64KB RAM, 256KB Flash
DEBUG: Current (blackmagic) On-board (stlink) External (blackmagic, cmsis-dap, jlink)
PACKAGES:
 - framework-stm32cubewl @ 1.26.2+sha.77fa61b
 - tool-ldscripts-ststm32 @ 0.2.0
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
Warning! Cannot find the default startup file for `stm32wl55jc`. Ignore this warning if the startup code is part of your project.
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 12 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio/build/bmp/src/adc.o
Archiving .pio/build/bmp/libFrameworkCMSISDevice.a
Indexing .pio/build/bmp/libFrameworkCMSISDevice.a
Src/adc.c: In function 'HAL_ADC_MspInit':
Src/adc.c:121:9: warning: implicit declaration of function 'HAL_DMA_ConfigChannelAttributes'; did you mean 'HAL_ADC_ConfigChannel'? [-Wimplicit-function-declaration]
     if (HAL_DMA_ConfigChannelAttributes(&hdma_adc, DMA_CHANNEL_NPRIV) != HAL_OK)
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         HAL_ADC_ConfigChannel
Src/adc.c:121:52: error: 'DMA_CHANNEL_NPRIV' undeclared (first use in this function)
     if (HAL_DMA_ConfigChannelAttributes(&hdma_adc, DMA_CHANNEL_NPRIV) != HAL_OK)
                                                    ^~~~~~~~~~~~~~~~~
Src/adc.c:121:52: note: each undeclared identifier is reported only once for each function it appears in
*** [.pio/build/bmp/src/adc.o] Error 1
=========================================================================== [FAILED] Took 1.05 seconds ===========================================================================

Environment    Status    Duration
-------------  --------  ------------
bmp            FAILED    00:00:01.048
====================================================================== 1 failed, 0 succeeded in 00:00:01.048 ======================================================================

Which the define DMA_CHANNEL_NPRIV should be defined through main.h to stm32wlxx_hal.h to stm32wlxx_hal_conf.h to stm32wlxx_hal_dma.h
It appears that in stm32xx_hal_dma.h has an #ifdef that exclude the required define
#if defined(DMA_CCR_SECM) && defined(DMA_CCR_PRIV)
/** @defgroup DMA_Channel_Attributes DMA Channel Attributes
  * @brief DMA channel secure or non-secure and privDMA_CHANNEL_NPRIVileged or non-privileged attributes
  * @note Secure and non-secure attributes are only available from secure when the system
  *       implements the security (ESE=1)
  * @{
  */

#define DMA_CHANNEL_ATTR_PRIV_MASK         (DMA_CCR_PRIV >> 16U)
#define DMA_CHANNEL_ATTR_SEC_MASK          (DMA_CCR_SECM >> 16U)
#if defined (CORE_CM0PLUS)
#define DMA_CHANNEL_ATTR_SEC_SRC_MASK      (DMA_CCR_SSEC >> 16U)
#define DMA_CHANNEL_ATTR_SEC_DEST_MASK     (DMA_CCR_DSEC >> 16U)
#endif /* CORE_CM0PLUS */

#define DMA_CHANNEL_PRIV          (DMA_CHANNEL_ATTR_PRIV_MASK | DMA_CCR_PRIV)     /*!< Channel is privileged             */
#define DMA_CHANNEL_NPRIV         (DMA_CHANNEL_ATTR_PRIV_MASK)                    /*!< Channel is unprivileged           */
#define DMA_CHANNEL_SEC           (DMA_CHANNEL_ATTR_SEC_MASK | DMA_CCR_SECM)      /*!< Channel is secure                 */
#define DMA_CHANNEL_NSEC          (DMA_CHANNEL_ATTR_SEC_MASK)                     /*!< Channel is non-secure             */
#if defined (CORE_CM0PLUS)
#define DMA_CHANNEL_SRC_SEC       (DMA_CHANNEL_ATTR_SEC_SRC_MASK | DMA_CCR_SSEC)  /*!< Channel source is secure          */
#define DMA_CHANNEL_SRC_NSEC      (DMA_CHANNEL_ATTR_SEC_SRC_MASK)                 /*!< Channel source is non-secure      */
#define DMA_CHANNEL_DEST_SEC      (DMA_CHANNEL_ATTR_SEC_DEST_MASK | DMA_CCR_DSEC) /*!< Channel destination is secure     */
#define DMA_CHANNEL_DEST_NSEC     (DMA_CHANNEL_ATTR_SEC_DEST_MASK)                /*!< Channel destination is non-secure */
#endif /* CORE_CM0PLUS */
/**
  * @}
  */

#endif /* DMA_SECURE_SWITCH */

Fixed by adding the following build flags -DDMA_CCR_SECM -DDMA_CCR_PRIV. Could find any more information on exactly what these do. Possibly something internal to the CubeIDE toolchain configuration??

Got another error related to ADC_DISABLE_TIMEOUT during the self configure process.


fix: replace player with/without authority

now we have 4 methods:
ReplacePlayer x 2
ReplacePlayerKeepAuthority x 2
Alternative to #1257, #1261, #1262
This one instead of an optional parameter,

As part of this PR, this page needs to be updated
https://mirror-networking.com/docs/Guides/GameObjects/SpawnPlayerCustom.html
Please search docs for ReplacePlayerForConnection and update accordingly.

When replacing with an existing object, instead of a newly instantiated one, OnStartLocalPlayer is not firing as expected, so local player / has authority is not being conveyed to the client (works on host).
See this package for testing.
ReplacePlayerTest.zip

New project, import Mirror master + this PR + this package
Restart Unity
Add the ReplacePlayer scene to Build Settings
Play as Host in editor
Press S to instantiate and replace (works)
Click on one of the previous capsules to change back to it
Observe that information panel shows correct info but no OnStartLocalPlayer bug
Build and run as LAN Server
Play as LAN Client in editor
Press S to instantiate and replace (works)
Click on one of the previous capsules to change back to it
No OnStartLocalPlayer and wrong info in the information panel bug

If we're going this route, why not get rid of the bool return and make them voids?

    But that discussion is separate from this PR.


Master

It looks like you are attempting to push a change to the part repository, for help with deploying please start a new thread in the discussions.


Fix github action caching (maybe)

I re-ran the GH Action and the cache was used and re-run only took like 1 minute vs 1 hour fresh build.


feat(huff_cli): Library Dependency Resolution

Overview
Similar to how solidity allows for libraries to import contracts, huff-rs should resolve library contracts.
I.e. the huff_cli should have an overridden flag (wlog --libs) that allows users to specify the directory containing library contracts.
/// The library directory
#[clap(short = 'l', long = "libs", default_value = "./lib")]
library: String,

Fixed in #155


NPSP Settings JSON Error When Sandbox Spun Up From Advanced Mapping Enabled Org

If you create a sandbox from an org with BDI Advanced Mapping enabled, you receive the following error when going to the NPSP Settings page: "Malformed JSON: Expected '{' at the beginning of object". (My sandbox was on Summer '19).

Relevant StackTrace
14:26:54:257 FATAL_ERROR System.JSONException: Malformed JSON: Expected '{' at the beginning of object
14:26:54:000 FATAL_ERROR Class.System.JSON.deserialize: line 15, column 1
14:26:54:000 FATAL_ERROR Class.npsp.CMT_MetadataAPI.getDeploymentResult: line 141, column 1
14:26:54:000 FATAL_ERROR Class.npsp.STG_PanelDataImportAdvancedMapping_CTRL.setDeploymentStatus: line 310, column 1
14:26:54:000 FATAL_ERROR Class.npsp.STG_PanelDataImportAdvancedMapping_CTRL.<init>: line 133, column 1

I will attach the full debug log to the Work Item. A few other things to note in the logs:
14:26:54:189 CALLOUT_REQUEST [139]|System.HttpRequest[Endpoint=https://jlnpspltrial--AdvMapping.cs43.my.salesforce.com/services/data/v44.0/metadata/deployRequest/0Af3l0000191VpfCAE?includeDetails=true, Method=GET]
14:26:54:255 CALLOUT_RESPONSE [139]|System.HttpResponse[Status=Bad Request, StatusCode=400]

Steps to Repeat

Enable BDI Advanced Mapping in NPSP Settings
Create a Sandbox
Navigate to NPSP Settings in the Sandbox
The error shows at the top of the page and prevents any content from loading.

**lurch: add

Tracking W-036190

I'm getting this error in my sandbox. In order to access the NPSP settings again just remove the field values saved in the custom setting "Data Import Settings".

@zeugin18 This appears to be an issue with Winter 20. Can you please post in the Hub, so we can let you know when we have a fix? Glad you found the workaround.
CC @judisohn @mbeaty-sf

Same as issue #4699


Update dev docs for go mod changes

Remove refs to dep and replace with instruction for go mod and general installation via git clone.

Added link text and change dependency list to mention Go 1.13 or higher.

/retest

/lgtm
/approve


Selecting multiple files and running command only runs it on one file

As said on the tin ;) (It only runs on the file that I right-clicked on.)
PS: Thanks for this great extension.  I also learnt the difference between assume-unchanged and skip-worktree. Previously I was using assume-unchanged, but this was causing the file to be overwritten sometimes (for example in rebase). Hopefully skip-worktree will keep the changes during rebase but ignore them when committing.

Good point, I'll look into it.
I'm glad the extension helps you, in return I'm thanking you for theses issues that will make the extension better !

Humm, I can't reproduce this bug, if I shift-select multiple files, then right-click the last one and select skip/assume, all files get flagged.
Can you try it again, maybe record a video in case I can see what I am missing ?

Video:
https://github.com/Alcyon-Dev/vscode-ext-git-skip/assets/6047296/af6d1b30-5543-4743-b1eb-daf8a5db401a

When I run it on a selection of 6 files, 1 or sometimes 2 gets added. I noticed the following errors in the Extension Host output (2 passed, so I think this is 4 failures):
2024-04-04 14:39:06.431 [error] Error: command failed
	at ChildProcess.<anonymous> (/Users/adtc/.vscode/extensions/alcyon-dev.git-skip-0.2.1/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
	at ChildProcess.emit (node:events:514:28)
	at ChildProcess.emit (node:domain:489:12)
	at maybeClose (node:internal/child_process:1091:16)
	at Socket.<anonymous> (node:internal/child_process:449:11)
	at Socket.emit (node:events:514:28)
	at Socket.emit (node:domain:489:12)
	at Pipe.<anonymous> (node:net:323:12)
2024-04-04 14:39:06.433 [error] Error: command failed
	at ChildProcess.<anonymous> (/Users/adtc/.vscode/extensions/alcyon-dev.git-skip-0.2.1/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
	at ChildProcess.emit (node:events:514:28)
	at ChildProcess.emit (node:domain:489:12)
	at maybeClose (node:internal/child_process:1091:16)
	at Socket.<anonymous> (node:internal/child_process:449:11)
	at Socket.emit (node:events:514:28)
	at Socket.emit (node:domain:489:12)
	at Pipe.<anonymous> (node:net:323:12)
2024-04-04 14:39:06.434 [error] Error: command failed
	at ChildProcess.<anonymous> (/Users/adtc/.vscode/extensions/alcyon-dev.git-skip-0.2.1/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
	at ChildProcess.emit (node:events:514:28)
	at ChildProcess.emit (node:domain:489:12)
	at maybeClose (node:internal/child_process:1091:16)
	at Socket.<anonymous> (node:internal/child_process:449:11)
	at Socket.emit (node:events:514:28)
	at Socket.emit (node:domain:489:12)
	at Pipe.<anonymous> (node:net:323:12)
2024-04-04 14:39:06.434 [error] Error: command failed
	at ChildProcess.<anonymous> (/Users/adtc/.vscode/extensions/alcyon-dev.git-skip-0.2.1/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
	at ChildProcess.emit (node:events:514:28)
	at ChildProcess.emit (node:domain:489:12)
	at maybeClose (node:internal/child_process:1091:16)
	at Socket.<anonymous> (node:internal/child_process:449:11)
	at Socket.emit (node:events:514:28)
	at Socket.emit (node:domain:489:12)
	at Pipe.<anonymous> (node:net:323:12)

Thanks for the reproduction video, I'm trying to see what is different between your setup and mine, but I don't see anything.
I'll add better error logging in the next version, I'll keep you up to date here once it is out.

Version 0.3.0 is out now, with better error logging. If you could update and re-try this issue to get the full error messages, it'd be much appreciated.
Thanks !

It now shows error notifications:

Seems like this could be fixed if you run just one command to add all the files, instead of concurrent commands. See the documentation, there it says [<file>...] so you can list more than one file on the same command line. Do test for any hard limit on the command line length though - you may need to batch (with wait intervals) if there are too many files.

BTW: For safety, you may want to add -- before listing the files.

Should now be fixed in 0.4.1. If you can confirm this works for you, I'll close this issue.

This works too. Thanks!


Update task graphs in optimize docs

Closes #5925

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

I'm not sure that this is actually an improvement. The original figures made it more clear what was going on. Maybe there should be a kwarg in visualize that allows users to toggle on the function names.
Here are some examples of the changes:

Yeah, the boxes just hanging out don't really help convey much

I agree. But I think it is weird to have visualizations in the docs that you can't actually make, soI guess I am proposing that there should be a change in visualize

Adding names optionally back in make sense to me.  @jrbourbeau do you recall why they were removed ?

This is the most I've found so far: https://github.com/dask/dask/issues/4767#issuecomment-488664657

This is the most I've found so far: #4767 (comment)

@jsignell, right.
I would say it looks like they can be useful and annoying so have an option for them seems like a good idea

https://github.com/dask/dask/issues/4146 and https://github.com/dask/dask/pull/4160 are relevant I think.

Thanks Tom, from those links it seems like the decision was driven by a desire to remove redundant information. But seems like there wouldn't be opposition to adding a kwarg (off by default) to include the names. There is at least one comment where people express some confusion around this: https://github.com/dask/dask/pull/4160#issuecomment-443788638

Just for my own self #4288 is another related issue.

This should be unblocked now that #5976 is in.

Oh thanks for reminding me :)

Let us know when you think this is good to go.

It's good to go!

Thanks!


Access to metadata of queue

Is your feature request related to a problem? Please describe.
When debugging issues with my Azure queues, I need to see the metadata.  (Also true for Azure storage tables).
Describe the solution you'd like
Should be a way to at least view and ideally edit metadata for Azure Storage.
Describe alternatives you've considered
Using the management portal directly, which is only kind of OK and pretty clunky.
Additional context
This should be pretty straightforward, and I suspect the only reason it is missing from the storage explorer in the first place is a design oversight.

@ppsa-stephen , are you talking about the metadata of the queue?

@MRayermannMSFT - pardon me for being unclear.  Yes, I am talking about the metadata of the queue (and by extension any other kind of storage element that is handled in the storage explorer).

@ppsa-stephen , are you talking about the metadata of the queue?

This will be included in 1.20:

PS: yes I know that the top half is taking of way too much room given it only has 3 entries. We have an item on our backlog for that...

Merged into main!


Remove unecessary task.configure block in quality check sample

Works fine without and does not cause eager task configuration

@alextu Thanks. Please merge.


[Accessibility] Implement VoiceOver accessibilityCustomActions to provide a more accessible and user-friendly experience when navigating between posts

Describe the bug
When users with visual impairments navigate the feed, multiple right gestures are required to reach the next post. This makes navigation cumbersome and less user-friendly.
To Reproduce
Steps to reproduce the behavior:

Turn on VoiceOver
With Bluesky app opened, swipe right to navegate between posts

Expected behavior
Users are expected to perform a single swipe gesture to read all the information within a post. Additionally, interaction with the post, such as liking or commenting, should be facilitated through vertical swiping gestures, both upwards and downwards.
Screenshots

Details

Platform: iOS
Platform version: 17.2.1
App version: 1.65

Additional context
The Facebook, Instagram, Twitter (aka X), and Metatext applications already feature the described behavior. In these apps, users perform a single swipe gesture to consume all post information, and interaction is facilitated through vertical swipes, both upwards and downwards. These apps serve as excellent examples to emulate for a consistent and intuitive user experience.

@lucassaureliano We've been trying to read up on these systems, so just to confirm, are the swipe gestures you're describing similar to the ones described in this video? https://www.youtube.com/watch?v=qDm7GiKra28 Thanks!

I have been recorded my screen, because I do not find a video showing the customAction feature. When swipe up or swipe down, is possible to interact with tweet, without opening it.
https://github.com/bluesky-social/social-app/assets/68451545/c7558490-7550-4855-925d-75222989ed67

@pfrazee do you have an update?


Evaluation

Can you give an example on how we can evaluate the trained model?

Hi,
for the evaluation of One-Shot re-ID, you can refer to the code like here. The details for the evaluate function can be found in this page.
If you want to test your model on the DukeMTMC-VideoReID dataset, you can use the code here.


add filter symbol and emoji support

add more filter support

Codecov Report

Merging #54 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   92.54%   92.59%   +0.05%
==========================================
  Files          10       10
  Lines         791      797       +6
==========================================
+ Hits          732      738       +6
  Misses         40       40
  Partials       19       19

Impacted Files
Coverage Δ

dict_util.go
94.54% <100.00%> (ø)

gse.go
96.42% <100.00%> (+0.20%)
:arrow_up:

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 7763312...aa53224. Read the comment docs.


Tests for create_jobs management command

Coverage increased (+0.4%) to 68.322% when pulling 4251054a5877e424554687136134f211e6a3c3d1 on kuter:tests-for-management-command-create_jobs into 7f10498d42a89be782f68d258a721dc8756b5dd3 on django-extensions:master.

Thanks !


Custom Node Mouse Event Flickering in ReactFlow

What platform were you using when you found the bug?

React Flow / Svelte Flow version:  ReactFlow version 11.11.3 , 12.0.4
Browser and version:  Chrome, Safari, Firefox
OS and version: MacOs Sonoma 14.5

Live code example
No response
Describe the Bug
When using custom nodes in ReactFlow, there is an unexpected behavior in the mouse event handling.
Specifically:
There exists a small area around the custom node where moving the mouse triggers both onNodeMouseEnter and onNodeMouseLeave events simultaneously or in rapid succession.
This behavior occurs even though the mouse is still within what should be considered the custom node's active area.
The result is a flickering effect or unstable hover state for the custom node, as the system rapidly toggles between considering the mouse as "entered" and "left" the node.
Steps to reproduce the bug or issue
when using CostomNode, while the the mouse entered the node area.
 <ReactFlow       proOptions={{hideAttribution: true}}       nodes={nodes}       edges={edges}       fitView       nodeTypes={nodeTypes}       edgeTypes={edgeTypes}       onEdgeMouseEnter={setEdgeHover}       onEdgeMouseLeave={setEdgeHover}       onNodeMouseEnter={nodeMouseEnter}       onNodeMouseLeave={nodeMouseLeave}       connectionLineType={ConnectionLineType.Straight}       onEdgeClick={handleEdgeClick}       onNodeContextMenu={onNodeContextMenu}       onPaneClick={onPaneClick}     >     </ReactFlow>
Expected behavior
onNodeMouseEnter - should be triggered when the mouse enters the CustomNode area.
onNodeMouseLeave - should be triggered when the mouse leaves the CustomNode area.
Screenshots or Videos

Additional context
No response

In the gif image it looks like your nodes keep jumping from visibility: hidden to visibility: visible.
I'd wager you're doing some strange updates on your nodes on mouse-enter / mouse-leave which causes this jump 🤔

@peterkogo
yes, i will try to do it soon.
@bcakmakoglu
i think the mouse enter and leave events are causing updates in the my state management system. These state changes, in turn, trigger updates to the nodes and edges in reactflow. The rapid succession of these events, especially at node boundaries, results in frequent state updates and re-renders, leading to the visual flickering effect.
maybe debouncing it can reduce the volume of the flickering but its still not ideal.

"Normal" updates to nodes shouldn't cause them to lose dimensions though, which is the condition for the visibility style.
If no dimensions exist yet -> hidden
If dimensions exist -> visible

@bcakmakoglu  thanks for your input and availability.
i will try to investigate my nodes/edges update mechanism as well as reproduce it in an online example.

Are you by any chance not updating your nodes correctly? This can also happen if you delete the measured field out of your nodes.

Also, I am not sure what your end goal here is exactly, but if you want to react to hovering you should do this in your custom node directly. onNodeMouseEnter is just a global helper added if you are using built-in nodes - but you can listen to any kinds of events right in your custom node. Cosmetic changes like hover effects should be done with only css.

I can see that you are using nodes without implementing onNodesChange. Please read this https://reactflow.dev/learn/concepts/core-concepts and check if you can resolve the issue. Otherwise you can re-open this issue with a codesandbox https://new.reactflow.dev


attach tags

Codecov Report

Merging #3 (ed46b96) into master (5a8b9b3) will increase coverage by 0.53%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   83.33%   83.87%   +0.53%
==========================================
  Files           2        2
  Lines         120      124       +4
  Branches        8        9       +1
==========================================
+ Hits          100      104       +4
  Misses         18       18
  Partials        2        2

Impacted Files
Coverage Δ

vedro_allure_reporter/_allure_reporter.py
83.33% <100.00%> (+0.57%)
:arrow_up:

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 5a8b9b3...ed46b96. Read the comment docs.


Fix for use of fx file in variable derivation

Fixes #988.
Also implements constraint for loading of fx files (which occurred for new CMIP6 data) and fixes several Codacy issues.

It would be nice to implement some unit tests for this functionality, because apparently I managed to break it without a single test failing.


drivers: regulator-fixed: extend api of driver (list/count voltages)

Allow to create fixed-regulator nodes without gpio for en/dis power source.
Allow properties regulator-min-microvolt and regulator-max-microvolt for fixed regulator, note: they should be equal.
Add simple functions for getting list of allowed and count of voltages.

please split changes in 2 commits, one making enable optional (explaining the reasons) and a second adding support for fixed voltage reporting

done

@gmarull thank you for the review


Update core framework, DS, and CA versions

Signed-off-by: The MathWorks, Inc<EMAIL_ADDRESS>

Codecov Report

Merging #668 (e32023e) into development (1e11077) will decrease coverage by 0.51%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development     #668      +/-   ##
===============================================
- Coverage        90.43%   89.91%   -0.52%
===============================================
  Files              248       90     -158
  Lines            13527     6289    -7238
===============================================
- Hits             12233     5655    -6578
+ Misses            1294      634     -660

Impacted Files
Coverage Δ

framework/src/bundle/BundleRegistry.cpp
79.60% <0.00%> (-12.37%)
:arrow_down:

framework/src/service/ServiceEvent.cpp
71.79% <0.00%> (-5.76%)
:arrow_down:

...mework/src/service/ServiceReferenceBasePrivate.cpp
86.45% <0.00%> (-5.64%)
:arrow_down:

framework/src/service/ServiceRegistrationBase.cpp
77.66% <0.00%> (-4.24%)
:arrow_down:

framework/src/util/FrameworkEvent.cpp
61.81% <0.00%> (-3.94%)
:arrow_down:

framework/src/bundle/BundleResourceBuffer.cpp
67.34% <0.00%> (-3.86%)
:arrow_down:

framework/src/service/ServiceListeners.cpp
96.26% <0.00%> (-3.74%)
:arrow_down:

framework/src/util/Utils.cpp
75.58% <0.00%> (-3.32%)
:arrow_down:

framework/src/bundle/BundleResourceContainer.cpp
92.08% <0.00%> (-3.27%)
:arrow_down:

framework/src/bundle/BundleEvent.cpp
85.00% <0.00%> (-3.00%)
:arrow_down:

... and 227 more


Add latest tag to latest 6.0

Would it be possible to add a latest-6.0 tag to the latest 6.0 release, presumably 6.0.16-d1? Would simplify configuration for those of us who do matrix testing over several versions. An example GitHub action configuration:
jobs:
  Exasol:
    strategy:
      matrix:
        exasol: ['7.1', '7.0', '6.2', '6.1', '6.0']
    name: Exasol ${{ matrix.exasol }}
    runs-on: ubuntu-latest
    services:
      exasol:
        image: exasol/docker-db:latest-${{ matrix.exasol }}
        ports: [ 8888 ]

Note the scond-to-last line won't work for 6.0, since the latest-6.0 tag does not exist.
Thanks!

@theory , the earliest supported version is now 6.2.
You may safely ignore 6.0 and 6.1. No customers should be using these old versions in production at this point.


Replace wireguard-go backend with boringtun?

Hi,
While reading the "Windows support" issue, I saw a comment implying that wireguard-go must be used for a userspace implementation. I recalled that Cloudflare has their own userspace implementation, in Rust no less.
Is there interest in adopting boringtun? Either in pursuit of Windows support, or for its own merits?
Cheers, and thanks for building/releasing/maintaining innernet!

Hey @colemickens,
The userspace implementations should be easily swappable (right now it's hardcoded in innernet to look for wireguard-go, but that should be changed to look for an environment variable with an override), so innernet thankfully doesn't have to choose one and force everyone to use it. It should be as easy as USERSPACE_WG=boringtun innernet up <network>.
As for boringtun specifically, it's not an official WireGuard project so I'm not personally interested in setting it as the default, even though it's written in Rust 😉. As a side note, there's an official Rust implementation in the works that I'd be excited to switch to once it's ready for prime time.

Thanks @mcginty !

No problem @colemickens! As noted in the PR, boringtun specifically doesn't work with innernet since its configuration protocol handling seems broken (possibly related to https://github.com/cloudflare/boringtun/issues/163, but we do in fact send the private key before peers). If you can swing it, I'd recommend sticking with wireguard-go to ensure correctness.


Add paper reference

Appears to be https://arxiv.org/abs/2208.07722 ?

Thank you for your interest. The paper is undergoing a second peer review. In the meantime, we have prepared a preprint and will post a link to it soon.

Appears to be https://arxiv.org/abs/2208.07722 ?

Not this article.

We have added paper reference.


Browse Cluster from Start-screen

I would like to be able to browse a cluster directly from the start screen - without having to select/create a project first.. In this mode I could either select another cluster - or exit Cluster mode, which would take me back to the start screen

Find design here (ongoing): https://www.figma.com/file/YrcAzt79dPB2keqt2QDft7/Cluster-management?node-id=0%3A1


Add some methods to the external object

I added addNumbers() method online and offline in the BasicExternalObject class
I added printMessage() method offline.
I updated the .xpz files to include these new methods.

Thank you for the dev review @finthamoussu!
I applied the change in commit 5d76c26


[Bug report] Fluuter 3.24.5 version will report an error after installing flutter_photo_manager

Version
photo_manager: ^3.6.3
Platforms
Android
Device Model
Android 35
flutter info
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [版本 10.0.19045.5131], locale zh-CN)
    • Flutter version 3.24.5 on channel stable at C:\Users\admin\fvm\versions\3.24.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (3 weeks ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\admin\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: D:\android studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default
      components

[√] Android Studio (version 2024.2)
    • Android Studio at D:\android studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 15 (API 35)
      (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [版本
      10.0.19045.5131]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 131.0.6778.109    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 131.0.2903.51

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

How to reproduce?
After directly creating the flutter apAfter directly creating the flutter application, install the library and run it in the debug mode of vscode.plication, install the library and run it in the debug mode of vscode.
Logs
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':photo_manager:compileDebugKotlin'.
> Error while evaluating property 'compilerOptions.jvmTarget' of task ':photo_manager:compileDebugKotlin'.
   > Failed to calculate the value of property 'jvmTarget'.
      > Unknown Kotlin JVM target: 21

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 11s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

Example code (optional)
No response
Contact
No response

AI Summary: 用户在使用 Flutter 3.24.5 版本并安装 photo_manager 3.6.3 后，在 Android 平台上构建时，由于 Kotlin JVM target 21 不被识别，导致编译失败。

how can i solve

Duplicate of #1198


fix name length bug in restart version

Yeah, LGTM, thanks, +1 on test. @zuercher Mac snafu?

Here's the test:
diff --git a/test/server/hot_restart_impl_test.cc b/test/server/hot_restart_impl_test.cc
index 6b60a80..2ef43ac 100644
--- a/test/server/hot_restart_impl_test.cc
+++ b/test/server/hot_restart_impl_test.cc
@@ -28,17 +28,32 @@ public:
     }));
     EXPECT_CALL(os_sys_calls_, bind(_, _, _));

+    Stats::RawStatData::configureForTestsOnly(options_);
+
     // Test we match the correct stat with empty-slots before, after, or both.
     hot_restart_.reset(new HotRestartImpl(options_, os_sys_calls_));
     hot_restart_->drainParentListeners();
   }

+  void TearDown() {
+    // Configure it back so that later tests don't get the wonky values
+    // used here
+    NiceMock<MockOptions> default_options;
+    Stats::RawStatData::configureForTestsOnly(default_options);
+  }
+
   Api::MockOsSysCalls os_sys_calls_;
   NiceMock<MockOptions> options_;
   std::vector<uint8_t> buffer_;
   std::unique_ptr<HotRestartImpl> hot_restart_;
 };

+TEST_F(HotRestartImplTest, versionString) {
+  setup();
+  EXPECT_EQ(hot_restart_->version(), Envoy::Server::SharedMemory::version(
+                                         options_.maxStats(), options_.maxStatNameLength()));
+}
+
 TEST_F(HotRestartImplTest, crossAlloc) {
   setup();

@@ -87,16 +102,8 @@ public:
   HotRestartImplAlignmentTest() : name_len_(8 + GetParam()) {
     EXPECT_CALL(options_, maxStats()).WillRepeatedly(Return(num_stats_));
     EXPECT_CALL(options_, maxStatNameLength()).WillRepeatedly(Return(name_len_));
-    Stats::RawStatData::configureForTestsOnly(options_);
-    EXPECT_EQ(name_len_, Stats::RawStatData::maxNameLength());
     setup();
-  }
-
-  void TearDown() {
-    // Configure it back so that later tests don't get the wonky values
-    // used here
-    NiceMock<MockOptions> default_options;
-    Stats::RawStatData::configureForTestsOnly(default_options);
+    EXPECT_EQ(name_len_, Stats::RawStatData::maxNameLength());
   }

   static const uint64_t num_stats_ = 8;

Also, I'm surprised the hot_restart integration test didn't fail on this bug.

Looks like something went haywire on Circle's end. I'll keep an eye on it, but if it doesn't pass when you fix the format failure, it should be okay to merge anyway.

Hm, it actually restarted on its own (but the replacement build didn't show up for a long time). Looks like it's hung in //test/integration:http2_upstream_integration_test, which should be unrelated to the changes in this PR. I'll take a look at that test and see if there's an intermittent problem.

Oh, I see why the integration test succeeded.  It doesn't do what I would expect any wrapper script to do: run envoy with --hot-restart-version, and compare that with the output of the admin endpoint of the running envoy.  A hot-restart between two envoys with this bug will succeed.

@ggreenway @danielhochman if one if you could fix that integration test to test this that would be good. @ggreenway also I forget about this before but can you also add the new CLI options to https://envoyproxy.github.io/envoy/operations/cli.html. Thank you!

I'm working on writing the integration test change.  I'll make a separate PR for that and the doc changes, unless you want this PR to wait on the integration test.  Either way is fine with me.


chore: remove released code

This PR resolves []
Description
This PR removes MP CDN and @cacheable directive feature flag related code. Both features has been out for a few weeks already and look stable.

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

remove released code - mounir

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (remove released code - mounir - MounirDhahri)

  Generated by :no_entry_sign: dangerJS against 493794574f3a22d0b919a5c580d4404ae2f4c18d


Weights in generated config

cc @vulpine
Rebased against airbnb/synapse master

Looks reasonable, can you check that this works with the state file (we should/will add tests of that soon)?
Also this doesn't have code for doing updates over the socket, but we presumably want that. Is that going to come in a follow up patch?

@jolynch ack - thanks for the feedback. I'll add tests around the state file, and I had totally forgotten the weight updates over the socket. I'd however prefer to do that as a separate patch to keep things relatively simple. Does that work for you?

My only issue with doing the socket update in a subsequent change is that something else will have to trigger a HAProxy reload to pick up any change in weights (since this patch neither informs the haproxy module that it needs to reload nor changes the weights over the stats socket). At the very least I think it should inform haproxy to restart?

@bobtfish #100 seems rather similar to this, can we sync up about how we want to be able to add metadata to nodes? I'm not against adding a bunch of top level keys, but I think we should at least have a plan.

#140 shows a technique for noticing things have changed via the state file. Perhaps we should just make the state file mandatory ...


PlayerError: Failed to extract n-token decipher algorithm (i sawthe other issue but i think that my code ismalfunctioning in a different way)

here is the log <ref *2> ExtractorExecutionContext {   _events: [Object: null prototype] {},   _eventsCount: 0,   _maxListeners: undefined,   requiredEvents: [ 'error' ],   player: <ref *1> Player {     _events: [Object: null prototype] {},     _eventsCount: 0,     _maxListeners: undefined,     requiredEvents: [ 'error' ],     id: '1268266853470310400',     nodes: GuildNodeManager {       player: [Circular *1],       cache: Collection(0) [Map] {}     },     voiceUtils: VoiceUtils { player: [Circular *1], cache: Collection(0) [Map] {} },     extractors: [Circular *2],     events: PlayerEventsEmitter {       _events: [Object: null prototype] {},       _eventsCount: 0,       _maxListeners: undefined,       requiredEvents: [Array],       [Symbol(kCapture)]: false     },     routePlanner: null,     version: '6.7.0',     lyrics: LrcLib {       player: [Circular *1],       api: 'https://lrclib.net/api',       timeout: 15000,       bucket: [SequentialBucket]     },     client: Client {       _events: [Object: null prototype],       _eventsCount: 5,       _maxListeners: 11,       options: [Object],       rest: [REST],       ws: [WebSocketManager],       actions: [ActionsManager],       voice: [ClientVoiceManager],       shard: null,       users: UserManager {},       guilds: GuildManager {},       channels: ChannelManager {},       sweepers: [Sweepers],       presence: [ClientPresence],       user: null,       application: null,       readyTimestamp: null,       [Symbol(kCapture)]: true     },     options: {       lockVoiceStateHandler: false,       blockExtractors: [],       blockStreamFrom: [],       connectionTimeout: 20000,       lagMonitor: 30000,       queryCache: [QueryCache],       useLegacyFFmpeg: false,       skipFFmpeg: true,       probeTimeout: 5000,       ytdlOptions: [Object]     },     [Symbol(kCapture)]: false   },   store: Collection(0) [Map] {},   [Symbol(kCapture)]: false } _YoutubeiExtractor {   context: <ref *1> ExtractorExecutionContext {     _events: [Object: null prototype] {},     _eventsCount: 0,     _maxListeners: undefined,     requiredEvents: [ 'error' ],     player: Player {       _events: [Object: null prototype] {},       _eventsCount: 0,       _maxListeners: undefined,       requiredEvents: [Array],       id: '1268266853470310400',       nodes: [GuildNodeManager],       voiceUtils: [VoiceUtils],       extractors: [Circular *1],       events: [PlayerEventsEmitter],       routePlanner: null,       version: '6.7.0',       lyrics: [LrcLib],       client: [Client],       options: [Object],       [Symbol(kCapture)]: false     },     store: Collection(0) [Map] {},     [Symbol(kCapture)]: false   },   options: { name: 'youtube' },   priority: 2,   protocols: [ 'ytsearch', 'youtube' ],   createBridgeQuery: [Function: createBridgeQuery],   innerTube: undefined,   _stream: undefined,   rotatorOnEachReq: false } PlayerError: Failed to extract n-token decipher algorithm     at Player.extractNSigSourceCode (X:\dbotnew\node_modules\youtubei.js\bundle\node.cjs:17843:13)     at Player.<anonymous> (X:\dbotnew\node_modules\youtubei.js\bundle\node.cjs:17720:28)     at Generator.next (<anonymous>)     at fulfilled (X:\dbotnew\node_modules\tslib\tslib.js:166:62)     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) (node:9196) [UnhandledEventsWarning] Warning: No event listener found for event "error". Events "error" must have event listeners.
i have no idea what to do is it cuz of me my code discord-player discord-player-youtubei or youtube

Duplicate #15

Also, this is because of youtube constantly changing their player data which is why a lot of the scrapers like ytdl are breaking.


Extensions as per examples don't actually do anything

Hey, firstly thanks for such an awesome editor. Love it!
However, I cannot seem to get any of the built in extensions to actually run. I've got an instance setup with a simple editor and the same code as the hidden menubar example but when I click to edit the code (bold, for example) the menubar disappears but nothing happens to the code. Calling the update method to grab the built html returns code without the additional formatting.
Any pointers?

`
            <editor :extensions="extensions" @update="onUpdate">

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': marks.bold.active() }"
                            @click="marks.bold.command"
                        >
                            <icon name="bold"/>
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': marks.italic.active() }"
                            @click="marks.italic.command"
                        >
                            <icon name="italic"/>
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': nodes.paragraph.active() }"
                            @click="nodes.paragraph.command"
                        >
                            <icon name="paragraph"/>
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': nodes.heading.active({ level: 1 }) }"
                            @click="nodes.heading.command({ level: 1 })"
                        >
                            H1
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': nodes.heading.active({ level: 2 }) }"
                            @click="nodes.heading.command({ level: 2 })"
                        >
                            H2
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': nodes.heading.active({ level: 3 }) }"
                            @click="nodes.heading.command({ level: 3 })"
                        >
                            H3
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': nodes.bullet_list.active() }"
                            @click="nodes.bullet_list.command"
                        >
                            <icon name="list-ul"/>
                        </button>

                        <button
                            class="button is-white is-small"
                            :class="{ 'is-active': nodes.ordered_list.active() }"
                            @click="nodes.ordered_list.command"
                        >
                            <icon name="list-ol"/>
                        </button>

Write your message here.

            </editor>

<EMAIL_ADDRESS>

                    <input type="file" class="file-input" id="file" multiple ref="file"
                           v-on:change="handleFileUpload()"/>

                        Choose a file…

                        {{ temp_filename }}

            Send

`
This is my vue component / code in case that helps.

This is my component's code at the moment :
https://gist.github.com/codepotato/f68b6e3625f3a35908a7e9857bab1298

Hey, thank you for testing tiptap. I tested your code and it looks fine for me. Is the examples page working for you? Maybe you could tell me which browser you are using and provide a test setup (codesandbox would be nice).

Ah, good point! I think the problem is that when you click on the menu the editor blurs and the menu will be hidden before you could click the button. In my examples I‘m using a transition so even when focus is set to false the menu will be shown for some time. You could fix that with also set a transition or hiding the menu with opacity: 0.

 Spot on.
Needed something like the following:
`.menubar{
background: #f7f7f7;
border-radius: 0.2rem;
visibility: hidden;
padding: 0.3rem;
position: absolute;
opacity: 0;
top: -30px;
left: 15px;
transition: visibility 0.2s ease 0.4s, opacity 0.2s ease 0.4s;
&.is-focused{
    visibility: visible;
    opacity: 1;
}

}
`

You don't need a transition anymore with this fix: https://github.com/scrumpy/tiptap/commit/21891519031ee724b33acfd1e8c28e5c98eced9d


Fix test_window_running*() for NTH_VALUE IGNORE NULLS.

Fixes #9569.
#9489 added NTH_VALUE() tests with option to IGNORE NULLS, but mistakenly enabled IGNORE NULLS for Spark versions prior to 3.2.1.
This commit restricts tests for IGNORE NULLS to only Spark versions exceeding 3.1.x, where the feature is available.

Build


Plan-chart of website

Would love if someone could create similar site-plan for our website

Have a look here first of all https://github.com/himanshu007-creator/SFC-foundations/issues/12

Hey @himanshu007-creator, I just came across your project from GSSoC'21. Looks like the website is pretty dynamic with payment gateways. I have worked & made many such websites using WordPress. Why don't you continue with WordPress, using Page Builders for the front end, & plugins for integrating various features you need. That will be much easy to maintain as well as an update in the future for those who will handle the website.

Hey @himanshu007-creator, I just came across your project from GSSoC'21. Looks like the website is pretty dynamic with payment gateways. I have worked & made many such websites using WordPress. Why don't you continue with WordPress, using Page Builders for the front end, & plugins for integrating various features you need. That will be much easy to maintain as well as an update in the future for those who will handle the website.

Hi @SagarBapodara , i welcome your suggestion, but the issue is , site will be used by a completely non-technical person, and i want to make it easiest-possible-thing. Therefore i am planning to say bye to wordpress. I wish to make it an awesome and simple website. That should have a feature that allows (ONLY ADMIN) to add articles/blogs along with associated images. I hope you would like to work on that , given your prior experience.  Raise an issue regarding the same, or just refer to issue #3 . Wishing to see you as a contributor😊.

Would like to work on this issue. Please assign it to me

Hello, I started to build a basic layout of Home Page when I came across the plan-chart ,the plan chart is inclined towards the design of an e-commerce website it is very different from your original website .Could you please brief me about the sub-sections and what you expect them to be like .

Hi @himanshu007-creator sir , i m a Gssoc participant . Please assign this to me.

//cc @himanshu007-creator  we can make a plan chart as well as a git kanban board for the project so that even the participants lnow which tasks have been assigned and which issues they can work on,Let me know if you want a kanban board I can make that for the this project

//cc @himanshu007-creator we can make a plan chart as well as a git kanban board for the project so that even the participants know which tasks have been assigned and which issues they can work on,Let me know if you want a kanban board I can make that for the this project.

Sure! you can make the site map ( plan chart ) but the kanban board is not needed , done with majority of work

I think we will be having the same in read me we can also make this issue and issue #262  Common !


Create profile page error

There is a text reference not loading properly:
"profileCreatePage.confirmTitle"

thanks for reporting 😄 , this is fixed, will be included for the next release

Fixed with https://github.com/KoalaSat/nostros/releases/tag/v<IP_ADDRESS>-alpha


[VS Code] [Audio] Request startOrJoinCall failed unexpectedly without providing any details.

test.zip

Error:
Request startOrJoinCall failed unexpectedly without providing any details.
Steps to Reproduce:

Try to start a live share audio session

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.91

applicationName
VSCode

applicationVersion
1.58.0

platformName
Windows

platformVersion
10.0.19042

Closing as a duplicate of #4076 . Feel free to join the conversation there! Please try running the command Live Share: repair audio installation. You can also disable the audio extension so you can use Live Share without audio.


adds project file as version source in plan entry resolver

Signed-off-by: Sophie Wigmore<EMAIL_ADDRESS>
Summary

Look for project file as a version source in plan resolver. Look for *sproj for now too until all buildpacks in the language family have moved over to project file from *sproj.
Use Cases

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have added an integration test, if necessary.

@ForestEckhardt do we want runtimeconfig.json in this this priority map too?

@ForestEckhardt do we want runtimeconfig.json in this this priority map too?

@fg-j It looks like that is a version source we set in dotnet-execute for SDK so yeah we should probably have it here as well.

@fg-j It looks like that is a version source we set in dotnet-execute for SDK so yeah we should probably have it here as well.


Freeze protection mode capability is not recognized

I have Midea Mission Pro 9, which is a model of Midea's AC imported and sold by Finnish distributor Onninen. Midea-msmart (version 2023.9.5) is unable to recognize the capability of freeze protection mode, and a warning about unknown capability is output:

msmart-ng query --token [hidden] --key [hidden]--capabilities <IP_ADDRESS>
INFO:msmart.lan:Creating new connection to <IP_ADDRESS>:6444.
INFO:msmart.lan:Authenticating with <IP_ADDRESS>:6444.
INFO:msmart.lan:Authentication successful. Expiration: 2023-09-21T06:18:05, Local key: [hidden]
INFO:msmart.cli:Querying device capabilities.
WARNING:msmart.device.AC.command:Unknown capability. ID: 0x  40, Size: 1.
INFO:msmart.cli:{'supported_modes': [<OperationalMode.FAN_ONLY: 5>, <OperationalMode.DRY: 3>, <OperationalMode.COOL: 2>, <OperationalMode.HEAT: 4>, <OperationalMode.AUTO: 1>], 'supported_swing_modes': [<SwingMode.OFF: 0>, <SwingMode.HORIZONTAL: 3>, <SwingMode.VERTICAL: 12>, <SwingMode.BOTH: 15>], 'supports_eco_mode': True, 'supports_turbo_mode': True, 'supports_freeze_protection_mode': False, 'supports_display_control': False, 'max_target_temperature': 30.0, 'min_target_temperature': 16.0}

Nevertheless querying the device is still able to tell whether the freeze protection mode is enabled or disabled:

msmart-ng query --token [hidden] --key [hidden] <IP_ADDRESS>
INFO:msmart.lan:Creating new connection to <IP_ADDRESS>:6444.
INFO:msmart.lan:Authenticating with <IP_ADDRESS>:6444.
INFO:msmart.lan:Authentication successful. Expiration: 2023-09-21T06:19:44, Local key: [hidden]
INFO:msmart.cli:Querying device state.
INFO:msmart.cli:{'ip': '<IP_ADDRESS>', 'port': 6444, 'id': 0, 'online': True, 'supported': True, 'type': <DeviceType.AIR_CONDITIONER: 172>, 'name': None, 'sn': None, 'key': '[hidden]', 'token': '[hidden]', 'power': True, 'mode': <OperationalMode.HEAT: 4>, 'fan_speed': <FanSpeed.AUTO: 102>, 'swing_mode': <SwingMode.VERTICAL: 12>, 'target_temperature': 17.0, 'indoor_temperature': 17.0, 'outdoor_temperature': 13.0, 'eco': False, 'turbo': False, 'freeze_protection': True, 'sleep': False, 'display_on': True, 'beep': False, 'fahrenheit': False}

Note. The query is reporting incorrect target temperature. The actual target temp on the device is 16 degrees, not 17. I created an issue about that on midea-ac-py, but it might actually be a bug of midea-msmart.

Hi, can you rerun both commands with the debug option: -d?

WARNING:msmart.device.AC.command:Unknown capability. ID: 0x 40, Size: 1.
I've seen this before in a few other logs. I have yet to find any documentation on that this capability is.

Can you also provided the protocol file? You can fetch it with msmart-ng download <IP_ADDRESS>.
It might shed some clues on your specific device.

Thanks. It might just be that the device capabilities are reported incorrectly. (Maybe that's why there's a stray 0x0040 capability that's not documented?)
Does the OEM app show freeze protection as available on your device?
The midea-ac-py integration has a workaround for this. There's a configuration option to show all presets regardless or capabilities

OEM app shows FP (freeze protection) available and I use it regularly. And yes, Show All Presets can be used as a workaround.

Ok. For now I'm going to close issue as a quirk of the particular device. If you feel otherwise, feel free to reopen

FYI this issue was probably a result of not processing the full capabilities from the device (#98), which has been fixed in 2023.12.0


[#7161] Add server config

#7161
pinpoint-root.config
###########################################################
# SERVER                                                  #
###########################################################
# Server integration settings.
# TOMCAT, JETTY, UNDERTOW, REACTOR-NETTY, JBOSS, RESIN, WEBLOGIC, VERT.X, WEBSPHERE, AKKA
# Individual settings take precedence.
# For example, setting "profiler.tomcat.excludeurl=A" takes precedence over setting "profiler.server.excludeurl=B".

# Hide pinpoint headers.
profiler.server.hidepinpointheader=true
# URLs to exclude from tracing.
# Support ant style pattern. e.g. /aa/*.html, /??/exclude.html
profiler.server.excludeurl=
# HTTP Request methods to exclude from tracing.
# e.g. POST, PUT
profiler.server.excludemethod=
# Trace request param.
profiler.server.tracerequestparam=true
# Original IP address header. e.g. X-Forwarded-For or X-Real-IP
# https://en.wikipedia.org/wiki/X-Forwarded-For
profiler.server.realipheader=
# optional parameter, If the header value is ${profiler.server.realipemptyvalue}, Ignore header value.
profiler.server.realipemptyvalue=

Codecov Report

Merging #7162 into master will increase coverage by 0.03%.
The diff coverage is 45.83%.

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