[Netty 5] Support ByteBufHolder#slice method

The ByteBufHolder interface provides the copy() method but not the copy-free equivalent one slice().
Unless there is a reason ByteBufHolder should not provide  slice() and retainedSlice(), these should be added.

I suppose that these same functionalities could be implemented as composition of existing ones eg
new DefaultByteBufHolder(holder.content().slice()) or  new DefaultByteBufHolder(holder.content().retainedSlice()) .
While adding other public methods to ByteBufHolder would chage a public API:

I think we could add it to netty 5...

@normanmaurer +100 for Netty 5 :)

PR adding slice and retainedSlice to codec-memcache (against master): https://github.com/netty/netty/pull/9179


Add Language (Rust)

Conflict validators and Validators at cosmos/staking/v1beta1/authz.proto because 'oneof validators' renamed to 'enum Validators'. (Apply Camelcase automatically)
So i did ignored that.
Does anyone know how to fix that?
message StakeAuthorization {
  option (cosmos_proto.implements_interface) = "Authorization";

  // max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is
  // empty, there is no spend limit and any amount of coins can be delegated.
  cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"];
  // validators is the oneof that represents either allow_list or deny_list
  oneof validators {
    // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
    // account.
    Validators allow_list = 2;
    // deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
    Validators deny_list = 3;
  }
  // Validators defines list of validator addresses.
  message Validators {
    repeated string address = 1;
  }
  // authorization_type defines one of AuthorizationType.
  AuthorizationType authorization_type = 4;
}

fyi.. I was building something similar, but I didn't use 'prost', but the native protoc stuff
it's available here - https://github.com/PFC-Validator/terra.proto/tree/main/rust
not claiming anything, just a different approach.

btw.. when I try to import this I get
error: proc-macro crate types currently cannot export any items other than functions tagged with #[proc_macro], #[proc_macro_derive], or #[proc_macro_attribute]
--> C:\Users\ihols.cargo\git\checkouts\terra.proto-bac5e53a5699bb91\176ce98\rust\src\lib.rs:1:1
|
1 | pub mod generated;
| ^^^^^^^^^^^^^^^^^^

Thanks @petes-fan-club for your error report. I fixed it.
I tried other proto compilier (e.g. rust-protobuf). But they have same issue too.
I see that PFC-Validator rust builds has not 'cosmos/staking/v1beta1/authz.proto'.
Do you have not see same my problem on your builds?
(I try to build your codes, but failed caused by ".tendermint.p2p.NodeInfo" is not defined.)

it looks like I only compile a subset of cosmos sdk.
it does build as a dependency on windows & linux, although you do need a setting in .cargo/config as the submodules are via 'git' not https.
https://github.com/PFC-Validator/constellation-web-socket, which is part of - https://github.com/PFC-Validator/constellation
uses it.. but it is more analytics... I'll add the missing cosmos prototypes, and look what you mean by failing compile.
the 'terra' stuff is generated, and then edited to fix an issue with 'coins'

but tbh.. if yours works, I'll move to it.

ok.. I understand what you mean.
the build isn't automated. some of the imports need to be tweaked.
I added a 'readme' and added authz to the list of cosmos types as well.

hi Paul.
I am using this library now in my code, and it appears to work fine.
are you still waiting on the issue of StakeAuthorization  above before you merge this?

Hey @PFC-developer, sorry for the late response, this changes will be included here https://github.com/terra-money/terra.proto/pull/22


[FEATURE] Use stronger TLS ciphers as defaults

The default settings currently seem to allow weak TLS ciphers & protocols. These can be changed in the settings (using enabled_ciphers and enabled_protocols) to harden them, but we should consider changing the default in the upcoming 3.0 release (as it’d be a breaking change)?
Considering following the configuration from Mozilla (note: “intermediate” is required for java 8 compatibility, need to check if we're dropping that with OpenSearch 3.0):

Tagging @rursprung as this request is coming from a conversation with him.

note: i just stumbled over https://github.com/opensearch-project/OpenSearch-Dashboards/issues/838; it seems that in order to go to the "modern" configuration in the full stack OpenSearch Dashboards must first add support for TLSv1.3

Hi, I would like to work on this issue. Can you assign it to me?

@SohamRatnaparkhi Thanks for volunteering, I've assigned the issue to you.

Hello,
Can someone guide me as to what I have to do to solve the issue. Which files in the codebase affect the change?

@SohamRatnaparkhi I would recommend starting by searching the codebase [1] for terms that match the terms from the issue.  I would recommend starting with a draft pull request where you attempt to address the problem and are in a good position for feedback - I think there will be decent discussion around the minimum supported ciphers / protocols.
[1] https://github.com/opensearch-project/security/search?q=enabled_ciphers]

@SohamRatnaparkhi I would recommend starting by searching the codebase [1] for terms that match the terms from the issue. I would recommend starting with a draft pull request where you attempt to address the problem and are in a good position for feedback - I think there will be decent discussion around the minimum supported ciphers / protocols.
[1] [https://github.com/opensearch-project/security/search?q=enabled_ciphers]](https://github.com/opensearch-project/security/search?q=enabled_ciphers])

Okay, Thankyou. I will look into the codebase and will draft a pr shortly.

@davidlago @peternied @scrawfor99 @cwperks I'm interested in working on this issue, but I'm confused on whether this bug is still(?) relevant, since after doing some testing I get the following ciphers being utilized with default settings:
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_DHE_DSS_WITH_AES_256_CBC_SHA
TLS_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
TLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_CHACHA20_POLY1305_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256
Included in this list is all the ciphers utilized under the modern and intermediate settings in the link provided, so it seems like all the most secure ciphers are being used. Should I prune this list so that only the ciphers in the link are used?
In addition, it seems like when the SSL Server context is built, this list is concatenated with Http2SecurityUtil.CIPHERS.stream() which is a cipher list generated by the Netty package, which according to the documentation automatically includes the Mozilla Modern Cipher Suites, so hardened cipher suites are seemingly already being used. How should I proceed given this info? Thanks!

I see that the backport for the OSD core change to 2.x is not yet merged. @kajetan-nobel Should that be merged to 2.x?
Is there anything left to do in the security repo once the OSD core PR is merged or is this issue good to close?

@cwperks task was only related to a core, nothing was done in the security repo.


QUESTION: which OS of raspberry pi are you imagining with that has the correct ruby version/environment to install the prerequisites

The version of Pi OS isn't installing the latest version of ruby - what's the stock image to use to successfully install the prerequisites and the repo?

You need to be on at least Raspberry Pi OS Bullseye.

thx - that's what I figured... :) reimaged and it all installs as expected


Add respond_to? guards for instance_methods and ancestors

Some Java proxy objects generated by JRuby are Ruby modules, but do not
respond to some instance methods of Ruby's Module.
Motivation
This works around an issue in JRuby with generated Java proxy classes. See #1216.
Test plan
I've tested this change using a large-ish JRuby project. I am not sure whether or how to add automated JRuby tests to the project.

I've reworked this to use the methods from RealStdlib. I've added one new test for the instance_methods case, since that requires me to define the class inside the Gemfile (kinda hacky, but the only way I could think of to reproduce the error). I wasn't really sure whether to create a new one for the ancestors case, so I've added it to explosive-object for now.

Thank you, launching tests!


xWebAdministration: Line endings has been fixed

Pull Request (PR) description

Line endings was fixed in files that was committed with wrong line ending.

This was detected after the file .gitattributes was added to the repository.
This Pull Request (PR) fixes the following issues
n/a
Task list

[x] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #399 into dev will not change coverage.
The diff coverage is 97.43%.

@@           Coverage Diff           @@
##              dev     #399   +/-   ##
=======================================
  Coverage   90.67%   90.67%
=======================================
  Files          17       17
  Lines        2412     2412
=======================================
  Hits         2187     2187
  Misses        225      225

Impacted Files
Coverage Δ

..._xWebAppPoolDefaults/MSFT_xWebAppPoolDefaults.psm1
97.43% <97.43%> (ø)
: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 19c5244...c6fd0e5. Read the comment docs.


Update all.json from Allure Security findings

These are the new sites for today and the corresponding top-level domains added to all.json.
Please keep in mind that the script checks against all.json from the master branch. If there are open PRs, there may be duplicates.
Also, please check if the domains added are any well-known that shouldn't be blacklisted at the top level (eg. netlify, ddns, etc) and change these to include the subdomain.
Please check them for eligibility and liveness, add the additional information (urlscan, screenshot) were applicable, and separate them in eligible, non-eligible and dead.
The curator should only copy the "eligible" ones into the spreadsheet.
Below are 50 new scam sites, along with 35 domains added to all.json:

Site
Domain

correct.zealtm.group
N/A

dapp.activationaccess.com
N/A

connect.ico-sale.com
N/A

support.bitvestnetwork.info
N/A

upgrade.synchronisedata.com
N/A

dapp.ibarachoir.com
N/A

dapp.easyseverconnect.com
N/A

sales.kubecoln.org
N/A

app.mainsecuretools.com
N/A

bot.dappwalletconnet.click
N/A

connect.sale-ico.com
N/A

wallcon.wdapwallreceivecondapp.live
N/A

connect.wallreceivecondapp.click
wallreceivecondapp.click

wallletuserconect.company
wallletuserconect.company

validationport.com
validationport.com

app.webswalletconnect.com
webswalletconnect.com

main.mainconnectedwallet.com
mainconnectedwallet.com

integrals-dexs.net
integrals-dexs.net

connect-mainnet01.ddns.us
ddns.us

bankk-11.cf
bankk-11.cf

integral-dex-bridges.net
integral-dex-bridges.net

fastautolinked.com
fastautolinked.com

sync.cryptoflips.net
N/A

lopezgarciaabogados.com
lopezgarciaabogados.com

walldmconecttkprecieve.live
walldmconecttkprecieve.live

connect-mainnet.ddns.us
N/A

vnwerolivh-3w4erhgv-38ih49-ghwehgfv-3w4g.obs.na-mexico-1.myhuaweicloud.com
myhuaweicloud.com

integral-dexs.com
integral-dexs.com

aliancrypto.com
aliancrypto.com

web.portalsync.live
portalsync.live

walletconnecti.com
walletconnecti.com

apps-syncs.net
apps-syncs.net

q2rv.com
q2rv.com

defisolutionprotocol.online
defisolutionprotocol.online

wallet.appsregistry.io
appsregistry.io

wcvalidate.dataconnectted.com
dataconnectted.com

m26securiter.info
m26securiter.info

wlt-register.live
wlt-register.live

trustwallet-verifyid-16.ml
trustwallet-verifyid-16.ml

connectiwallets.com
connectiwallets.com

wcsynchprotocols.com
wcsynchprotocols.com

mobilewalletsdapp.com
mobilewalletsdapp.com

connectwallet.waconlinkks.click
waconlinkks.click

app.connectdappsmove.com
N/A

ajudacef.com
ajudacef.com

naskizz.com
naskizz.com

migratev2finance.teachablei.com
teachablei.com

integrals-dex.com
integrals-dex.com

walletdappvalidator.io
walletdappvalidator.io

syncrvalidation.pagekite.me
pagekite.me

Eligible

Site
Urlscan
Screenshot

Non-eligible

Site

dapp.activationaccess.com

upgrade.synchronisedata.com

dapp.ibarachoir.com

dapp.easyseverconnect.com

bot.dappwalletconnet.click

connect.sale-ico.com

wallcon.wdapwallreceivecondapp.live

validationport.com

app.webswalletconnect.com

lopezgarciaabogados.com

walldmconecttkprecieve.live

web.portalsync.live

walletconnecti.com

ajudacef.com

naskizz.com

migratev2finance.teachablei.com

Dead

Site

correct.zealtm.group

connect.ico-sale.com

support.bitvestnetwork.info

sales.kubecoln.org

app.mainsecuretools.com

connect.wallreceivecondapp.click

wallletuserconect.company

main.mainconnectedwallet.com

integrals-dexs.net

integral-dex-bridges.net

fastautolinked.com

connect-mainnet01.ddns.us

bankk-11.cf

sync.cryptoflips.net

vnwerolivh-3w4erhgv-38ih49-ghwehgfv-3w4g.obs.na-mexico-1.myhuaweicloud.com

connect-mainnet.ddns.us

integral-dexs.com

aliancrypto.com

apps-syncs.net

q2rv.com

defisolutionprotocol.online

wallet.appsregistry.io

wcvalidate.dataconnectted.com

m26securiter.info

wlt-register.live

trustwallet-verifyid-16.ml

connectiwallets.com

wcsynchprotocols.com

mobilewalletsdapp.com

connectwallet.waconlinkks.click

app.connectdappsmove.com

integrals-dex.com

walletdappvalidator.io

syncrvalidation.pagekite.me

@ical10 Third time's the charm! Here's my comment in the previous (failed) PR:

This is the list of sites for today. Some of the first ones might also be in the previous two days, but I think I've fixed the script to not check those in the future.

Wow no errors!

All right checking right now, gonna take a moment

well, they are either dead or non-eligible. Approving and merging.

All right, phew. Had to push commits with GH Desktop, but it worked.


http Redirect in virtualservice skips the authorization header

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
When using the virtualservice http redirect the redirect requests skips the authorization header.
  hosts:
    - xxx.somedomain.com
  gateways:
    - istio-system/fcp-gateway
  http:
    - match:
        - uri:
            prefix: /
      redirect:
        authority: redirectedtoservice.somedomain.com

Is there anyway we can keep the authorization header from being skipped ?
[ ] Docs
[ ] Installation
[ x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
The redirect should include all the headers in the request and should not skip the authorization header
Steps to reproduce the bug
Setup a virtualservice redirect like below and make a request with authorization header set. The redirected request would have skipped the authorization header.
apiVersion: networking.istio.io/v1alpha3
metadata:
  name: internal-redirect
  namespace: test
  labels:
    app: test-app
    env: staging
spec:
  hosts:
    - xxxxx.somedomain.com
  gateways:
    - istio-system/istio-gateway
  http:
    - match:
        - uri:
            prefix: /
      redirect:
        authority: redirectedtoservice.somedomain.com

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
Istio Version - 1.9.5
EKS- 1.19
How was Istio installed?
using istioctl
Environment where the bug was observed (cloud vendor, OS, etc)
Cloud AWS EKS
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

@ramaraochavali - Could you please help here. Is they any config changes on envoy that would help with preventing this authorization header skipping

The redirected request would have skipped the authorization header.
I am a bit confused. The response from envoy is just a 301 status code. The client is the one sending the new request? So it seems like your client needs to be fixed, not Istio? Let me know if I am misunderstanding!

@howardjohn - we saw another issue where this specific header "authorization" is being stripped off somewhere in istio(https://discuss.istio.io/t/authentication-header-being-removed-before-requestauthentication/10178). So we thought it might be some istio envoy config


Fixing ssl required for organization settings and index

REVIEWER: @Kartones
Fixes #3115.

Frontend tests were OK :+1: (details)

:+1:

Frontend tests were OK :+1: (details)


clipboard history for integrated terminal

VSCode has an extension called "Clipboard History" but the issue with it is that it only works in the editor. Also, the preview of  things previously copied that contains more than one line is  hard to understand.
So the ability to see clipboard history in clearer way that works for both editor and integrated terminal would be really helpful.

/causedByExtension


Should we be code completing in text in a comment?

When I'm writing a comment, I probably don't want code completion.
I do want code completion inside of a doc reference, though.

This might be controversial.

We don't use the dart completer in comments. Atom falls back to the built-in lexical completer. We can choose to:

use the dart completer and see what happens
continue with the lexical one
have no completions in comments (remove both completers)


Don't pass service config from parent channel to grpclb balancer channel.

This fixes grpclb to support the migration plan described in https://github.com/grpc/proposal/blob/master/A24-lb-policy-config.md#rationale.

Known issues: #18008 #18004


Having a later version of dotnet installed alongside the supported one makes the android build fail

Release Type: Official Release
Version: <IP_ADDRESS>5
Platform(s): Windows (editor)
Describe the bug
Due to this issue that comes with interacting with the dotnet cli the android SDK just does not get build despite i did my best to make sure it was installed on the right sdk as well, with this bug projects that wish to run on android fail to build, by introducing into your template builder the possibility to run with the argument --sdk-version 6.xx.xx... (possibly autodetected) you could probably solve the issue
To Reproduce
Steps to reproduce the behavior:

install the .net 7 sdk
install the dotnet 6 sdk (dotnet 7 should be the "dominant/main" version used by dotnet cli, if it's not fiddle around with the settings)
open the launcher
install stride if not present
try to create "Sample Game: Space Escape" and check the android platform
initial project creation/build fails

Expected behavior
it should build/create the project properly
Log and callstacks
Microsoft.NET.Sdk.ImportWorkloads.targets(38,5)]: Error: To build this project, the following workloads must be installed: android To install these workloads, run the following command: dotnet workload restore
(spoiler, dotnet workload restore even when in the project's directory did not work, it did not show me the 3D view, i probably broke the project)
(this is the relevant part, now i solved the issue and i really don't like going out of my way to break the thing again, it's frustrating)
Additional context
how i solved it (it shoudn't be this way though)

i uninstalled the dotnet 7.0 component from visual studio
i installed the .net 6, enabled both from visual studio as runtime and downloaded the sdk from here https://dotnet.microsoft.com/en-us/download/visual-studio-sdks
installed the android workload again, just in case
created a new project and selected android

note: it may be dotnet cli fault as well, despite i did my best to make sure dotnet cli installed the android workload on both dotnet 7 and dotnet 6 it may be that it's either not supported meaning the --sdk-version option did not do what i expected it to do (switch dotnet version i mean to give commands to)

same error

after reading the above this also looks like what I'm dealing with.


No instances of MSBuild could be detected.

Installed on a clean version of VSCode and Get the following output message. MSCode is installed and available from the terminal.
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected. Try calling RegisterInstance or RegisterMSBuildPath to manually register one.    at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()    at stripe.LanguageServer.Program.Main(String[] args) in /Users/gracegoo/stripe/vscode-stripe/src/stripeDotnetLanguageServer/stripe.LanguageServer/Program.cs:line 34    at stripe.LanguageServer.Program.<Main>(String[] args) [Error - 12:57:20 PM] Connection to server got closed. Server will not be restarted.
VSCode 1.60.0
MacOS 12.0 Beta
`❯ ./dotnet-core-uninstall list
This tool cannot uninstall versions of the runtime or SDK that are installed using zip/scripts. The versions that can be uninstalled with this tool are:
.NET Core SDKs:
5.0.400  (x64)  [Used by Visual Studio for Mac. Specify individually or use —-force to remove]
3.1.412  (x64)
.NET Core Runtimes:
5.0.9   (x64)  [Used by Visual Studio for Mac or SDKs. Specify individually or use —-force to remove]
3.1.18  (x64)  [Used by Visual Studio for Mac or SDKs. Specify individually or use —-force to remove]
3.0.1   (x64)  [Used by Visual Studio for Mac or SDKs. Specify individually or use —-force to remove]
2.1.23  (x64)  [Used by Visual Studio for Mac or SDKs. Specify individually or use —-force to remove]
~/dotnet-core-uninstall `

I have the same problem.
My setup:
VS Code 1.60.1
Ubuntu-20.04
WSL2
stripe_1.7.3 (I have active products on Stripe Dashboard.)
I followed the video Stripe for Visual Studio Code published by Stripe for Developers on YouTube.
I received the success message after pairing, closed VS Code, opened VS Code, and then received the following error:
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
   at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
   at stripe.LanguageServer.Program.Main(String[] args) in /Users/gracegoo/stripe/vscode-stripe/src/stripeDotnetLanguageServer/stripe.LanguageServer/Program.cs:line 34
   at stripe.LanguageServer.Program.<Main>(String[] args)
[Error - 3:42:59 PM] Connection to server got closed. Server will not be restarted.

please install dotnet SDK core to try again

Getting the same error after reinstalling dotnet SDK Core
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected. Try calling RegisterInstance or RegisterMSBuildPath to manually register one.    at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()    at stripe.LanguageServer.Program.Main(String[] args) in /Users/etsai/stripe/vscode-stripe/src/stripeDotnetLanguageServer/stripe.LanguageServer/Program.cs:line 33    at stripe.LanguageServer.Program.<Main>(String[] args) [Error - 12:22:45 AM] Connection to server got closed. Server will not be restarted.

I'm having this problem as well:
Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
at stripe.LanguageServer.Program.Main(String[] args) in /Users/etsai/stripe/vscode-stripe/src/stripeDotnetLanguageServer/stripe.LanguageServer/Program.cs:line 33
at stripe.LanguageServer.Program.(String[] args)
[Error - 10:18:56 AM] Connection to server got closed. Server will not be restarted.
This is just after installing the Stripe plugin for vscode on a fresh install, 2020 MacBook Pro running macOS Big Sur.

@etsai-stripe your comment to install SDK core and closing the issue does not seem to apply. I have the following SDKs instaled:
3.1.407 [/usr/local/share/dotnet/sdk]
3.1.408 [/usr/local/share/dotnet/sdk]
5.0.103 [/usr/local/share/dotnet/sdk]
5.0.200 [/usr/local/share/dotnet/sdk]
5.0.201 [/usr/local/share/dotnet/sdk]
5.0.202 [/usr/local/share/dotnet/sdk]```

Do I need another version?

Anyone who found a fix to this error
Building project ...
Scaffolding failed.
No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.

Anyone who found a fix to this error Building project ... Scaffolding failed. No instances of MSBuild could be detected. Try calling RegisterInstance or RegisterMSBuildPath to manually register one.

I ran into the same error while trying to add Azure AD intergration to an AspNetCore, solution was to cd into the project directory and run dotnet tool update microsoft.dotnet-msidentity, you can check the id of the tool with 'dotnet tool list` in case it doesn't match mine, just in case.

I encounted this by running the following code on the mslearn-secure-aspnet-core-identity learning project
dotnet aspnet-codegenerator identity --useDefaultUI --dbContext DatabaseContext
I only had dotnet 7 installed but that project was using:

net6.0
enable
enable

All I had to do to make it work was change the target framework
<TargetFramework>net6.0</TargetFramework>
to
<TargetFramework>net7.0</TargetFramework>
Then when I ran my command
dotnet aspnet-codegenerator identity --useDefaultUI --dbContext DatabaseContext
and It worked.
➜  dotnet aspnet-codegenerator identity --useDefaultUI --dbContext DatabaseContext
Building project ...
Finding the generator 'identity'...
Running the generator 'identity'...
Modified C:\Users\jamie\Developer\new\mslearn-secure-aspnet-core-identity\RazorPagesPizza\Program.cs.
RunTime 00:00:14.17

Just changing the target framework didn't do it for me. I also had to update the other 5 packages mentioned to version 7.0.4 / 7.0.5
Besides that I also had to install another nuget package: Microsoft.EntityFrameworkCore:Tools
After that I was able to build the mslearn-secure-aspnet-core-identity learning project


Add timeout for requests

I saw the scraper get stuck trying to hit the api.  Here's the trace from when I killed it:
2016-07-28 13:21:28.117464 Traceback (most recent call last):
2016-07-28 13:21:28.117764   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 385, in _make_request
2016-07-28 13:21:28.118750     httplib_response = conn.getresponse(buffering=True)
2016-07-28 13:21:28.119150 TypeError: getresponse() got an unexpected keyword argument 'buffering'
2016-07-28 13:21:28.119613
2016-07-28 13:21:28.119671 During handling of the above exception, another exception occurred:
2016-07-28 13:21:28.120094
2016-07-28 13:21:28.120156 Traceback (most recent call last):
2016-07-28 13:21:28.120420   File "scrape.py", line 424, in <module>
2016-07-28 13:21:28.120725     exit(main())
2016-07-28 13:21:28.120874   File "scrape.py", line 389, in main
2016-07-28 13:21:28.121115     api_endpoint, access_token, profile_response, loc,
2016-07-28 13:21:28.121453   File "scrape.py", line 273, in get_heartbeat
2016-07-28 13:21:28.121772     loc=loc,
2016-07-28 13:21:28.121908   File "scrape.py", line 199, in get_profile
2016-07-28 13:21:28.122232     return retrying_api_req(api, access_token, req, loc=loc, useauth=useauth)
2016-07-28 13:21:28.122764   File "<decorator-gen-2>", line 2, in retrying_api_req
2016-07-28 13:21:28.123161   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/retry/api.py", line 74, in retry_decorator
2016-07-28 13:21:28.123910     logger)
2016-07-28 13:21:28.124029   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/retry/api.py", line 33, in __retry_internal
2016-07-28 13:21:28.124754     return f()
2016-07-28 13:21:28.124888   File "scrape.py", line 98, in retrying_api_req
2016-07-28 13:21:28.125197     response = api_req(*args, **kwargs)
2016-07-28 13:21:28.125473   File "scrape.py", line 130, in api_req
2016-07-28 13:21:28.125779     r = SESSION.post(api_endpoint, data=protobuf, verify=False)
2016-07-28 13:21:28.126212   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/sessions.py", line 518, in post
2016-07-28 13:21:28.126995     return self.request('POST', url, data=data, json=json, **kwargs)
2016-07-28 13:21:28.127421   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/sessions.py", line 475, in request
2016-07-28 13:21:28.128185     resp = self.send(prep, **send_kwargs)
2016-07-28 13:21:28.128481   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/sessions.py", line 585, in send
2016-07-28 13:21:28.129232     r = adapter.send(request, **kwargs)
2016-07-28 13:21:28.129534   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/adapters.py", line 403, in send
2016-07-28 13:21:28.130318     timeout=timeout
2016-07-28 13:21:28.130493   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 578, in urlopen
2016-07-28 13:21:28.131409     chunked=chunked)
2016-07-28 13:21:28.131593   File "/nail/home/asottile/trees/PokemonGo-Map/venv/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 387, in _make_request
2016-07-28 13:21:28.132570     httplib_response = conn.getresponse()
2016-07-28 13:21:28.132880   File "/usr/lib64/python3.5/http/client.py", line 1174, in getresponse
2016-07-28 13:21:28.140092     response.begin()
2016-07-28 13:21:28.140316   File "/usr/lib64/python3.5/http/client.py", line 282, in begin
2016-07-28 13:21:28.140702     version, status, reason = self._read_status()
2016-07-28 13:21:28.141011   File "/usr/lib64/python3.5/http/client.py", line 243, in _read_status
2016-07-28 13:21:28.141446     line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
2016-07-28 13:21:28.141804   File "/usr/lib64/python3.5/socket.py", line 575, in readinto
2016-07-28 13:21:28.142937     return self._sock.recv_into(b)
2016-07-28 13:21:28.143178   File "/usr/lib64/python3.5/ssl.py", line 924, in recv_into
2016-07-28 13:21:28.143789     return self.read(nbytes, buffer)
2016-07-28 13:21:28.144018   File "/usr/lib64/python3.5/ssl.py", line 786, in read
2016-07-28 13:21:28.144329     return self._sslobj.read(len, buffer)
2016-07-28 13:21:28.144574   File "/usr/lib64/python3.5/ssl.py", line 570, in read
2016-07-28 13:21:28.144884     v = self._sslobj.read(len, buffer)
2016-07-28 13:21:28.145108 KeyboardInterrupt

I'm abandoning my efforts in this project


Add google analytics to review functionality

Describe the issue and expected behaviours.
Acceptance Criteria

[ ]  We know when someone clicks a smiley face even if they don't hit Submit
[ ] We know how many users hit smiley face without hitting Submit

Steps for QA

Navigate to any service detail page. Click on any smiley face.
Go to GA Staging > Behaviour > Events > Overview and search for Event Category: Rating or Event Action: RatingChosen.

[ ] See that the service and rating has been tracked as part of this event. 1 for frownie, 2 for neutral and 3 for smiley

For the same service or a different service, submit the review on the Service Review Screen
Go back to GA Staging > Behaviour > Events > Overview and search for Event Category: Review or Event Action: SubmitReview.

[ ] Notice that the service you were on has been tracked by this event.

By the acceptance criteria

We know how many users hit smiley face without hitting Submit

It seems like I will need to track submit events so we can do a calculation based around unique events to get this figure for reporting.
Unique Rating Chosen events - Unique Submit Review Events

PASS QA 1.62.0


Some interface cleanup on AttributeValueEncoder.

Address unaddressed or deferred review comments from #12019.
Add a simpler way to encode a null value.

Problem
Some review comments in #12019 were missed, and others were put off to a followup with no issue filed to track them.
Change overview
See above.
Testing
No behavior changes.  Tree compiles, tests pass.  Code is somewhat smaller.

fast track: small change created by a domain owner.


📝 Docs: ReadME Updated(badges and header aligned)

Badges and header are now aligned with the Logo image in the center.

If you have any thoughts on this please let me know.

Pull Request Test Coverage Report for Build 201051813

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.997%

Totals

Change from base Build 197769181:
0.0%

Covered Lines:
1082

Relevant Lines:
1524

💛  - Coveralls

We'd prefer to not have the HTML in the markdown, and go with the github default alignment. Thanks regardless for your contribution.


satisfied and laughing are the same smiley

:satisfied: :satisfied: and :laughing: :laughing:
But only "laughing" has an unicode character: 😆 (😆)
As satisfied is listed at the top in the panel it is annoying to not have an unicode character there for me as I've set the default action to "copy the unicode char".

I can confirm ":satisfied:" emoji doesn't have Unicode character on right box (box is empty).

v2.0 removed satisfied.


Do I need additional functionality?

Further development
Explanation: 💡 - pending, ⚙ - in progress, ❌ - cancelled
My thoughts:

💡 Apply a profile to a set of selected workspaces;
💡 Apply multiple profiles (combine);
💡 Import selected profiles and export;
💡 After installing new extensions, automatically add to the list of disabled extensions not specified in the profile;
💡 Linking the project to the profile (auto update when the profile changes);
💡 ext-profiles.json - local configuration file for projects and recommendations for installing missing extensions;
💡 More convenient modification of plugins for a separate project without linking to a profile or creating it;
💡 Create a profile from the current or selected project.

Or suggest other ideas 😌

clone from an existing profile (not quite the same as import)
this would allow making a profile with all the basics that you would use anywhere.. and then you clone that and extend for each project.
great work on this so far!

Thank you, I have a lot of work to do right now, but I will be working on improving the extension soon.

@evald24 thanks for your amazing extension.
is there a way to apply multiple profile at once?
i want to group my themes, icons, and primary extensions to default profile.
then create another profile for each programming language. then activate both.

Thanks @lakuapik, I will definitely make it possible to use a combination of profiles.

It's critical to me that the profile list is persisted in extension settings using VSCode Settings Sync.
The point of using for me is to setup a minimal set of core extensions, and then be able to toggle Go, Terraform, Python, etc and other extensions in sets on demand across a Codespace container, Linux SSH remote session, macOS locally, Docker, windows, etc.
Second bit of feedback, consider making an option for the select & apply that is:

a checkbox so I can pick 2 profiles of extensions to add
or make extension sets exclusive, so that only 1 at a time is possible
or allow option that sets an extension profile as exclusive or shared?

I have no opinion on best way, just telling you what I was hoping for when I started using.
Thanks for your response and feel better! 👍🏻

Allow us to keep globally enabled extensions. Some things I always want enabled like themes or the extension itself. It seems that if I don't manually select them for a profile they stay disabled by default.

It would be nice to have a ui to switch profiles, possibly on the sidebar, or ideally a dropdown box on the bottom status bar

@dnmalenke Thank you, this is a wonderful idea!

Would it be possible to add support for remote development? Like SSH or WSL.

@mbeps Hi! I don't have the opportunity to work with WSL right now. Maybe in the future I will try to implement support

@mbeps I'm busy right now and I can't do it, I have a lot of work to do. If you have any ideas how to do this, send a PR I will be happy to consider it

It would be great to be able to have different settings per profile if it integrated with the ettings-cycler and settings-sync extensions like this other extension does:
https://github.com/cyberbiont/vscode-profiles#integration-with-other-extensions

Would it be possible to read the settings in a config file such as setting.json so people could load the extension profile in different projects and machines?
I noticed that there is a similar issue, I think your extension would be an elegant solution if it could be done.


Update to Astro 3.0

Astro version 3.0 is here. Improvements are included in the following aspects:

Image Optimization (stable): Unflagged and better than ever.
Faster Rendering Performance: Astro components render 30-75% faster.
SSR Enhancements for Serverless: New ways to connect to your hosting platform.
HMR Enhancements for JSX: Fast Refresh support for React and Preact.
Optimized Build Output: Cleaner and    more performant HTML.

It would be interesting to migrate to this version. greetings

@qvacode  #40 already submitted I hope @manuelernestog approve it soon :)


Fixed issue - Add javascript sum function

Pull Request Type
What kind of change does this PR introduce?
[ X] Solved an issue/task
[ ] Bugfix
[X ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

The current codebase does not include a simple utility function to add two numbers together.
Issue Number: [Insert Issue Number (if applicable)]
N/A
What is the new behavior?

The new behavior includes a utility function called sum that takes two arguments and returns their sum. This function can be useful in various contexts where basic arithmetic operations are needed.
Other information

No visual changes or screenshots are applicable as this is a backend utility function.

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Re-ordering of Chrome Devtools panel no longer persists

OS: Mac OS High Sierra
Chrome: 61.0.3163.100
I've noticed that the re-ordering of the Vue devtools to the first panel in Chrome Devtools no longer persists. I can drag it to the first item though it always resets to the last panel after closing and opening the devtools again. Not sure if this is something that everyone is experiencing, but I found it useful to pin it as the first panel next to "Elements". Thanks in advance!

Looks like another extension was possibly causing the issue. Closing this out. Thanks!


GoogleSignInAuthentication null idToken and GoogleSignInAccount.signIn never returns

Hi there,
I'm seeing inconsistent things happening trying to integrate the google_sign_in (v 4.5.9) package for Android.  At times, it works, then I'll go to lunch and come back and then the idToken when trying to get the GoogleSignInAuthentication is null.  I have to sign out using the signOut method, but then when I call signIn again, the GoogleSignInAccount.signIn method never returns so I'm endlessly waiting.  After cleaning, uninstalling, rebuilding a couple times will it eventually give me back a JWT again.  Actually, I'm not sure what I did to get it to work again, I added a print statement.
I'm not sure how to get code to reproduce this.  I created a brand new project to try and reproduce the issue, but of course, it's ok there.  Well if there's any pointers on what could be causing the null idToken or signIn to never complete, that'd be a great help.
Thank you for your time
Below is from flutter doctor -v

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2.2 20D80 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/alex/installs/flutter
    • Framework revision 9b2d32b605 (6 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/alex/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

! Doctor found issues in 1 category.

hey @TahaTesser, thanks for the response!
Yes, I've brought over all the packages into the new project and it works perfectly.  One thing I didn't mention was that after moving back to the original project and cleaning and rebuilding a billion times, i just deleted the whole folder and recloned my project.  It then started working again like magic.  At a loss for words, i built an apk and loaded it on my phone (Android 10.0) and it exhibited signs of the signIn method not returning.  i turned off the device since it was the end of the day.  This morning, I turned it back on and started up the app.  It looked like the idToken, so it passed the signIn method and then failed my validation so it went back to the sign in screen.  I tapped it and it's working now.
So I eventually just copied all my dart code into the new project that works with the google_sign_in plugin and everything is working just fine so far.
I'm trying to slowly remove things to get a consistently reproducible project.  I just thought I'd reach out to see if there was an obvious reason the idToken returns as null, like maybe if the token was expired already or something. Ok, well will update on progress when I find something
Thanks!

Hi @alex-sue
If you figure the cause, please provide details from https://github.com/flutter/flutter/issues/77650#issuecomment-793597038
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


temporarily workaround failed test on windows

Commit Message: temporarily workaround failed test on windows
Additional Description:
See #28504
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/backport


Contextual Help Documentation #2352

Closes #2352
Adding docs for ContextualHelp.
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[x] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

Noticed that the padding of the popover seemed wrong in the docs but right in storybook. Looks like a CSS specificity issue. Tried to address it, hope you don't mind. 😄


Added char level text explanation option

Hi Marco,
Thanks for the library! I added a new feature to Text explainer allowing to treat each character in the string as a an independent occurrence, looking forward to hearing from you.
Unit tests are also added.

Thanks so much! This is cool!
If you have an example where you found some interesting explanations, would you share it as a notebook tutorial? If not that's fine :)


Saving the code, conversion to/from symbols, log, and exponental function

One guy asked me to make an issue here. He wants to save his code into the file or "RMS" (dunno what is this). I actually do not use Hecl, but he really does not have an access to GitHub. He also wants you to add "conversion to  symbols from code and vice versa", dunno what does this mean too. And the last things he wants are logarithm and exponental function. Thanks.

Arithmetic functions are already available but it depends on the MIDP/CLDC provided by the target hardware/software combination.

He says there are only abs, ceil, cos, floor, random, sin, sqrt, and tan in the compiled MIDlet. Is there any kind of FFI?

There is no FFI interface, bit the exponential functions are in the
source code, so it is just a matter of compiling hecl properly for the
target platform.
On 22.11.15 12:48, chairborne wrote:

He says there are only abs, ceil, cos, floor, random, sin, sqrt, and
tan in the compiled MIDlet. Is there any kind of FFI?
—
Reply to this email directly or view it on GitHub
https://github.com/davidw/hecl/issues/6#issuecomment-158752267.
--
Wolfgang Kechel<EMAIL_ADDRESS>data2c GmbH                                     http://www.data2c.com
Bierstadter Straße 7                          Fax: +49-(0)611-1731-31
D-65189 Wiesbaden       Phone: +49-(0)611-1731-611/+49-(0)174-3454260

Anyway, saving should be possible. RMS is an acronym for Rich Media Storage I guess.


Project works correctly in editor, works incorrectly after export

Godot version
3.5.stable
System information
Windows 11, GLES2, NVIDIA GeForce RTX 2060
Issue description
I was altering my project so it has mobile controls and I followed the steps on the Godot site for exporting to Android and everything went well for the most part, the project worked as intended in the editor, and I was able to install and run my exported APK.
However when running it, the game was not working as intended (usually the game environment is supposed to be setup through signals and set to default, but it is missing details and not in the correct game state). I also tried exporting the project to Windows also, and everything worked as intended.
This issue also happened sometime ago in the same project when I tried to export to MacOS, on MacOS, the project worked fine in editor, but after exporting to an executable, it did not work as intended. I'm thinking this may be a bug or something that I'm missing
Project is made in Godot 3.5 using C# and GDScript
Steps to reproduce
Export to MacOS or Android executable following steps and requirements on Godot documentation website. Then progress past intro in-game.
Minimal reproduction project
My archive is bigger than the 25 MB file limit (by only 5MB) and I'm not sure which files are unnecessary, and I couldn't find a .godot folder, the only similar thing I found was a godot folder, which was using 5.4KB of space, so I uploaded the archive to a file sharing website (link will not work after download): https://file.io/fnpdUQvuPv8F (if this is an issue please let me know if there is anything I can do about it)

Did you check case sensitivity in file paths? File paths in exported projects are always case-sensitive, while Windows is case-insensitive until you export the project.

What would case sensitivity look like? At the start of the project it works fine and loads audio by referencing file paths but then past a certain point it breaks down and won't go further and this issue only happens after export on other platforms than Windows.


Added link to MIT License in README

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Website has degraded performance

In 20955ac, Website (https://adityacprtm.dev) experienced degraded performance:

HTTP code: 200
Response time: 5816 ms

Resolved: Website performance has improved in d107d9e.


Via the python client I am unable to consume messages with a multi-topic regex consumer

Describe the bug
Via the python client I am unable to consume messages with a multi-topic regex consumer
To Reproduce
Steps to reproduce the behavior:

bring up pulsar standalone instance via docker

docker run -it -p 80:80 -p 8080:8080 -p 6650:6650 apachepulsar/pulsar-standalone

init python client

pulsar_client = pulsar.Client('pulsar://localhost:6650')

create subscriber

consumer = pulsar_client.subscribe(re.compile('test_.*'), 'sub1')

create producer

producer = pulsar_client.create_producer('test_1')

via 2 different python instances / threads / processes attempt to send + read

while Ture:
    producer.send(b'test')

consumer.receive()

ERROR: consumer never received any messages

Expected behavior
topic test_1 should be read by subscription test_.*
Desktop (please complete the following information):

OS: mac OS (pulsar running in docker)
pulsar version: latest master from docker (should be 2.2.0?)
python version: 3.7
pulsar-client (pip lib) version: 2.3.0.post1 (latest)

update:
just found a workaround!
if i change my code to contain the full topic path it works.
consumer = pulsar_client.subscribe(re.compile('persistent://public/default/test_.*'), 'sub1')
producer = pulsar_client.create_producer('persistent://public/default/test_1')

I guess the doc's should at least reflect this, or even better fixing the "shorter" syntax

We just ran into this as well :(


⚠ Spryr has degraded performance

In cf823ea, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4717 ms

Resolved: Spryr performance has improved in 4d999d2 after 22 minutes.


java.lang.NoSuchMethodError:findTightestCommonTyp

I got the following exceptions when I ran the code in the "First Steps" section.
5/10/17 03:42:43 ERROR util.SparkUncaughtExceptionHandler: Uncaught exception in thread Thread[Executor task launch worker-0,5,main]
java.lang.NoSuchMethodError: org.apache.spark.sql.catalyst.analysis.HiveTypeCoercion$.findTightestCommonType()Lscala/Function2;
at com.stratio.datasource.mongodb.schema.MongodbSchema.com$stratio$datasource$mongodb$schema$MongodbSchema$$compatibleType(MongodbSchema.scala:85)
at com.stratio.datasource.mongodb.schema.MongodbSchema$$anonfun$4.apply(MongodbSchema.scala:46)

I could run " saveToMongodb()" code successfully from the spark shell, but failed with the rest
here are the environment settings:
spark 1.5.1, scala 2.11.7
spark shell was invoked with the following command
spark shell --jars ./spark-mongodb_2.11.jar,./mongo-java-driver-2.13.0.jar,./casbah-core_2.11-2.8.0.jar,./casbah-commons_2.11-2.8.0.jar,./casbah-query_2.11-2.8.0.jar
I have tried to include different versions of spark-catalyst_xxx.jar, none of them fixes the issue.

I guess you are using the master branch or a previous version which does not support Spark 1.5. We have a PR for adapting to Spark 1.5, so will be available this week.
Thanks for your feedback!

We support spark 1.5.1 and scala 2.11 in 0.10.0 version wich is already available in central repository:
http://search.maven.org/#search|ga|1|a%3A"spark-mongodb_2.11"


Feature: OCR

What feature or improvement do you think would benefit Files?
It'd be really useful if Files could OCR all images on your computer. It'd make all the screenshots I take very easy to find.
Requirements

This proposal will accomplish OCR
This proposal will accomplish searching OCR database

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4037
Comments
No response

Thanks for the feedback.

Adding OCR to scan all your image files would indeed be a fantastic feature. However, I'm not so sure this is feasible for us to implement on our own. Microsoft is reportedly planning to introduce similar functionality in Windows, so it might be best to revisit this idea once we have more clarity on their developments.


issue 2333

Please change the title to be descriptive of the changes you have made.
Also state which issues, if any, that this PR closes in the description each on its own line. For example: closes #1337

@BerkeleyTrue is better now?

Yes, Thanks @dokkillo !


Client Overview page colors bug

Describe the bug

What did you do? I created a new client and got redirected to http://localhost:6002/clients/2
What did you expect to happen? See the client overview page as normal
What happened instead? The client overview page was rendered but with different colors

Screenshots

OS/Browser:

[ ] iOS
[ ] Windows
[ ] Chrome
[x] Safari
[x] Mac
[ ] Firefox
[ ] Android
[ ] Tablet
[ ] Mobile
[x] Desktop

This bug has never happened to me

I couldn't reproduce either so maybe it is resolved


Pass default_permission correctly (Closes: #373)

Summary
Correctly pass default_permission.
Checklist

[x] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[x] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

@alentoghostflame

Maybe change from Missing to None as thats what its supposed to be?

@TAG-Epic https://github.com/nextcord/nextcord/blob/2983dbcf88e5365eef3ebb319e7195a7f1ae1239/nextcord/application_command.py#L786 seems to indicate it will either be MISSING or True/False?

Missing is for when setting None means something else. For example using None to set a users nick will reset it, thats why we use Missing there. None should be used otherwise

im not sure what this solves, MISSING bool()'s to False doesnt it

Missing is for when setting None means something else. For example using None to set a users nick will reset it, thats why we use Missing there. None should be used otherwise

Converted to using None in f94b7b4

PR failure is unrelated to changes; looks like a bug in darker itself.  Failed on master as well.

linking an issue in title doesnt link properly

Currently setting default_permission to False does nothing, since internally, it always overwrites the setting with True since it does
self.default_permission: bool = default_permission or True

This change makes default_permission configurable by the user since currently, it is not.

The docstrings should have Optional for default_permission if it can be None
- default_permission: :class:`bool`
+ default_permission: Optional[:class:`bool`]


Consider setting up Gold for flutter/tests

I'm not sure if this is feasible. I'm hoping @Hixie and/or @Piinks will know.
When a 3p customer test (e.g. flutter_svg) fails on a golden file, perhaps because of minor and visually acceptable change in Skia, it requires updating the golden in the downstream repo and coordinating that change with an engine roll.
It would be far preferable if Skia gold, or something like it, could be used instead so that reviewers could triage these changes (with approval from the 3p owner of the package).

See https://github.com/flutter/flutter/issues/71436

/cc @zanderso as well - my thought is this would lead to a better workflow for engine sheriffs, but there may be some other way to handle this as well.

Thinking about this a bit more, golden files are not considered breaking changes in flutter/flutter. I wonder if we should not allow them in flutter/tests since they are non-breaking. That would certainly free up the workflow.

That would make flutter_svg a little sad - the majority of tests there are golden tests.

But if goldens aren't considered breaking - why include them? 🤔
Especially with the challenges we've had today trying to update them due to an engine change. That change is not going through breaking change procedure, because it is not a breaking change. But it creates an excruciating break in the system that closes the tree.
I wonder, to what end do we include golden file tests in flutter/tests if not to just break the tree? What is the purpose of including golden files in flutter/tests?
Context:
https://github.com/flutter/tests/pull/68
https://github.com/flutter/flutter/issues/71436
https://github.com/flutter/flutter/issues/71496
https://github.com/flutter/flutter/pull/71519
https://github.com/flutter/tests/pull/70
https://github.com/flutter/flutter/pull/71498

I'm not sure I agree that a golden file changing isn't considered a breaking change. My understanding is that if one of our upstream dependencies (e.g. Skia) changes a golden in a way that isn't deemed to be a bug (e.g. minor pixel differences in anti-aliasing or gradient or font rendering that carries some other benefit), we don't consider it a breaking change for Flutter (because really it's a breaking change for that upstream dependency). So the change breaking flutter_svg's tests isn't a breaking change, and my job as the maintainer is to make sure it gets updated so that I can still pass on master.
That said, if Flutter broke rendering in a way that was only caught by a golden test, and we agreed it was not a bug but a feature, it would be a breaking change right?
All of that can be true and we could still decide to ban goldens from the 3p test repo, but we definitely deal with this elsewhere in the Google internal repo anyway.
I agree we need a better process for this. I opened this bug naively hoping that Skia Gold could help that process. Banning golden tests from the tests repo would also make this specific problem go away, but if we do that we should communicate it to customers and update the customer testing script(s) to enforce it.

I wonder if we could support a tolerance level for matchesGoldenFile so we could enable those smaller changes to pass through, i.e. a pixel difference of <5% passes, configurable by the user.
The package author would still need to update their golden files for large changes, but I think in those cases we would either detect and revert an unintended large scale change - or go through the breaking change process due to the scale of the change. WDYT?

Sounds reasonable to me. Is there some way we could enforce that?

Golden test failures in customer contributed tests (flutter/tests customer_testing shard, google3) are considered a breaking change, like any other test failure in a customer contributed test.
Golden test failures in our own tests (e.g. framework tests) are not considered breaking changes, just like any other failure in our own tests.
The key is not whether the test is a golden test or not, but whether it's a customer contributed test or not.

Some of the most valuable regressions we can catch with golden tests are things where one widget is offset by one pixel in the rendering. That kind of failure can easily pass under any useful "X% of pixels changed" threshold; e.g. consider a 5x5 solid box that moves 1 pixel to the left in an 800x600 uniform viewport with a dpr of 3:1. There's 1440000 pixels, but only 30 of them change, 53 on the left and 53 on the right of the box. That's a 0.002% change in the pixels.

(And for my third comment of the day...)
I don't really understand the problem here though. What is different about updating golden tests vs any other test?

I think the issue here is that if a customer golden file test is broken by an engine roll, the roll gets stuck, and when the customer updates their golden file to unblock the engine roll, the tree breaks until the engine rolls in.
We were able to coordinate landing changes yesterday as it was just one customer package that was affected, but that's not going to scale very well.

We still support versioning golden files, like in the flutter/goldens days. Maybe we can encourage customers to version their golden files so the tree doesn't break.

The engine roll is not exempt from the breaking change policy. The correct behaviour is to revert the breaking change, make it opt-in, write a migration guide, opt people in, land the change, remove the opt-in from the customer tests, then remove the opt in, just like with any breaking change.
Unless we're talking specifically about upstream changes form Skia?

Unless we're talking specifically about upstream changes form Skia? (In which case maybe we should open a conversation with the Skia team about the impact of their breaking changes on our customers.)

Yeah, it was traced to a Skia roll.
https://github.com/dnfield/flutter_svg/pull/461

Maybe we can come up with some metric whereby each individual pixel is allowed to vary by some tiny amount? That would still allow my 5x5-box example to trigger a failure while allowing subtle shifts to be considered fine?

The reason I mentioned gold to begin with is that it could help us triage these things much more quickly and easily. Today the process ends up being:

Open a PR in the downstream repo
Land it
Update the tests registry with the new hash
Land the new hash in conjunction with the engine roll, temporarilly breaking the tree until the engine builders finish (or are re-run with the "right" tests commit)

And then reverts get painful.
Another option is to just temporarily disable the repo, which can lead to other problems (e.g. if some other breakage is introduced in the mean time).
If there was some way to set up gold so that it was registered to the tests repo, and had some "reasonable" amount of usage, that would help triaging this (the engine roll itself could choose to update the goldens).

If there was some way to set up gold so that it was registered to the tests repo, and had some "reasonable" amount of usage, that would help triaging this (the engine roll itself could choose to update the goldens).

I don't think that this is possible, or at least I haven't thought of a way yet.
If we set up a Gold instance for flutter/tests, it will relate specifically to commits in that repo. Not commits in customer/package. Not commits in flutter/flutter. It would not work like the engine rolling into flutter/flutter and triaging the new images for instance flutter/flutter.
Images are checked into Gold with commits, so without a commit in flutter/tests, new images could not be checked in.
Even if it could work, customers would have to integrate their tests with Gold and give us permission to approve changes - which doesn't feel right. I don't know that we can be the arbiter of someone else's golden files.
Furthermore, customers would not be able to work on their own package and their own golden files independently if we are managing them in a Gold instance based in a separate repo. It would effectively put the same burden on the customers to land multiple commits in order to land their own changes in their own product. And we would still have to step through the same process on the framework side. 😞

We could still allow customers to decide on approval, it would just be in gold (or something like gold anyway) and more manageable.
Wouldn't they still have their own golden files however they want to manage them, just distinct from the gold instance?

I feel I may not be conveying how Gold works very well. 😆
Gold cannot track images across multiple repositories.

I'm speaking of a hypothetical gold that can do this - whether by adding that feature to gold, or finding something else. I have no idea how feasible that is :)


Fix typo in test description

Accidentally found some typos :grinning:

Thanks for the fix @junhoyeo.


Feature Request: Ability to encrypt downloads while saving

Hi there, an app I am developing requires me to encrypt the videos while saving them so they are not accessible otherwise, please include this feature also in your library

@arjun1194 You can encrypt files you download with Fetch. First you must provide Fetch with your customer implementation of StorageResolver and override the getRequestOutputResourceWrapper method.
    public static class MyStorageResolver extends DefaultStorageResolver {

        public MyStorageResolver(Context context) {
            super(context, FetchCoreUtils.getFileTempDir(context));
        }

        @NotNull
        @Override

        public OutputResourceWrapper getRequestOutputResourceWrapper(@NotNull Downloader.ServerRequest request) {
            try {
                FileOutputStream fileOutputStream = new FileOutputStream(request.getFile()); // or request.getFileUri if the path is a uri
                return new OutputResourceWrapper() {
                    @Override
                    public void write(@NotNull byte[] byteArray, int offSet, int length) throws IOException {
                        fileOutputStream.write(byteArray, offSet, length); // use an encrypted output stream instead
                    }

                    @Override
                    public void setWriteOffset(long offset) throws IOException {
                        fileOutputStream.getChannel().position(offset);
                    }

                    @Override
                    public void flush() throws IOException {
                        fileOutputStream.flush();
                    }

                    @Override
                    public void close() throws IOException {
                        fileOutputStream.close();
                    }
                };
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }
            return super.getRequestOutputResourceWrapper(request);
        }

    }

       final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this)
                .enableRetryOnNetworkGain(true)
                .setDownloadConcurrentLimit(3)
                .setHttpDownloader(new HttpUrlConnectionDownloader(Downloader.FileDownloaderType.PARALLEL))
                .setStorageResolver(new MyStorageResolver(this.getApplicationContext()))
                .build();
        Fetch.Impl.setDefaultInstanceConfiguration(fetchConfiguration);

@arjun1194 Hello Arjun, can you please explain the meaning of your question to me, as I can't understand what it means?


Hard to move elements around using solid-js, insertExpression isn't fully DOM aware

Describe the bug
When wanting to only create two components once, but then switching them around in the DOM (wrapping and unwrapping them), solid-js doesn't really play nicely.
According to a discord conversation this isn't intended behavior, so here's a bug report.
Why do I want to do this? For switching between desktop and mobile layouts I don't see a reason to rerender big components and all their children just to wrap/unwrap them in a div.
Your Example Website or App
https://playground.solidjs.com/anonymous/30690d0e-bff5-4cd5-9309-a847e3b08683
Steps to Reproduce the Bug or Issue
Version 1: Definitely a bug (crashes)
If you don't deem this misusing solid it's probably a bug:

Go to https://playground.solidjs.com/anonymous/4d71a9de-a5b7-463b-8718-53e87d9ef5df
Hit the button
Uncaught DOMException: Failed to execute 'replaceChild' on 'Node': The new child element contains the parent.

From the error message, I suspect this could be avoided by using element.replaceWith or another one of the new DOM manipulation functions but I'm not sure (and I understand they are probably slower)
Version 2: Doesn't work as expected
This could be interpreted as expected behavior because there's no error but I'd still really love if this worked:

Go to https://playground.solidjs.com/anonymous/1fe54bd3-2819-4a79-8bd9-bdaa7304d143
Hit the button
Elements disappear

Expected behavior
In example 1: No crash, element is moved
In example 2: Elements don't disappear, are moved instead
Screenshots or Videos
No response
Platform

OS: macOS 14.2.1 (23C71)
Browser: Chrome 120.0.6099.199 (Official Build) (arm64) , firefox 122.0b8

Additional context
No response

I see. These are scenarios where you are keeping a DOM reference, and Solid thinks it knows where it was inserted, but when we get Solid to insert somewhere it is no longer where Solid thinks. This is the kind of issue I'd like to fix if it isn't prohibitive. The challenge is I imagine stuff not being where we expect could have a multitude of possible issues, but trying to fix these should have no impact on people not using these patterns accept if there is some some small performance considerations.

In version 2 the bug is here: https://github.com/ryansolid/dom-expressions/blob/f691a482cea35336e7206759f0e8d2322f9371dd/packages/dom-expressions/src/reconcile.js#L72
What happens is that here

The insert call that was done here is wrongly undone

related:

https://playground.solidjs.com/anonymous/1cc13580-7844-439e-ba93-fcab4e030910
https://discord.com/channels/722131463138705510/1217034387938607145


Fix trivial typo

This document is no longer available and it appears the change you requested was made. Sorry for not pulling this PR in to address the change.


Remove unnecessary change in common code

Changes can be done upstream, see https://github.com/intel/intel-xpu-backend-for-triton/issues/2065

Changes to LinerLayoutConversion.cpp can be done upstream, see issue #2066.

Changes to LinerLayoutConversion.cpp can be done upstream, see issue #2066.

This is done via upstream PR: https://github.com/triton-lang/triton/pull/4617

Changes to ops.cpp can be done upstream, see #2065

Upstreamed in https://github.com/triton-lang/triton/commit/3b2468a54efe7f239b40745b713aa3d082f00346.


Can't compile stm32-eth v0.2.0

When I try to compile stm32-eth it can't compile the cortex-m dependencie. This error comes up three times and nothing else:
error[E0412]: cannot find type `RegisterBlock` in module `mpu`
   --> /home/nathan/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-0.7.2/src/peripheral/mod.rs:486:39
    |
486 |     pub const fn ptr() -> *const mpu::RegisterBlock {
    |                                       ^^^^^^^^^^^^^ not found in `mpu`
    |
help: consider importing one of these items
    |
58  | use crate::peripheral::cbp::RegisterBlock;
    |
58  | use crate::peripheral::cpuid::RegisterBlock;
    |
58  | use crate::peripheral::dcb::RegisterBlock;
    |
58  | use crate::peripheral::dwt::RegisterBlock;
    |
      and 7 other candidates

When I try to compile later version, the same error comes up. Is it my compiler? Or do the dependencies need to be updated?

At a guess you're trying to build for your native target instead of a thumb embedded target, and additionally that target is not x86 (perhaps Apple Arm?). This would normally work (well, compile without error but not be functional) but there was a recent bug in cortex-m giving the error you're getting; it's been fixed in cortex-m but not yet released.
If you build with eg --target thumbv7em-none-eabihf does it work?

@adamgreig, sorry I forgot to say I am using the thumbv7em-none-eabihf target.

What command are you running to build, exactly, and what's in .cargo/config if any? The only way to get this error on cortex-m 0.7 is if your target is somehow not one of the thumb embedded ones or not x86, so that still seems the most likely candidate.
You can see in the 0.7.2 release commit here that the RegisterBlock is defined, but only for some architectures: https://github.com/rust-embedded/cortex-m/blob/653d218e39bb5dad14a0995f3753cbbd1569c9bf/src/peripheral/mpu.rs#L8

This is my .cargo/config.toml:
[target.'cfg(target_arch = "arm")']
rustflags = [
    "-C", "link-arg=--nmagic", "-C", "link-arg=-Tmemory.x"
]

And this is how I compile:
cargo build --target thumbv7em-none-eabihf

Should I added the build target to .cargo/config.toml? (I'm on my phone right now so I can't try it)

Huh, no, if you have --target on the commandline like that it should always take effect. You might be missing a link-arg=-Tlink.x though, unless your memory.x includes the full link script instead of just the memory sections.
If you clone this repository, can you build the examples? For instance, cargo build --example="ip" --features="stm32f429 smoltcp-phy log smoltcp/socket-tcp smoltcp/socket-icmp smoltcp/log smoltcp/verbose" (taken from the README). It works for me here but might help pin down what's going wrong for you. You could also check the RUSTFLAGS environment variable isn't set, just in case...

I'll try that


Issue 1797: Storage provider naming refactoring

Pull Request Description
Renamed the implementation field to storageProvider.
This pull request closes #1797 .
Acceptance Test

[ ] Building the code with mvn clean install -Dintegration.tests still works.
[ ] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[ ] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[ ] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[ ] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[ ] No

This PR should be tested with https://github.com/strongbox/strongbox-web-integration-tests/pull/66


Update to Angular 9

Description
Add support for Angular 9
Based on https://github.com/IgniteUI/igniteui-angular-wrappers/pull/308/commits/96b4d9dbd31336ba3bbda19e035e89b5fb0e95a5, it seems like it is currently underway. Are we going to support Angular 9 some time soon?

Okay I found it https://github.com/IgniteUI/igniteui-angular-wrappers/releases/tag/9.0.0.
Thanks


Parallelize tear down of plugins that run in their own processes

What is wrong?
Currently, plugins that derive from BaseIsolatedPlugin are shutdown sequentially in a blocking way. Needless to say, that this won't scale as we add more and more isolated plugins as it causes to increase the overall trinity shutdown time (and maybe even causes more serious issues).
How can it be fixed
Either:
A. Make these plugins unwind asynchronously. They currently use our kill_process_gracefully helpers which only support synchronous process shutdown.
B.) Keep the plugin stop blocking but kill each in a thread (sounds wasteful though)
Solution a would be preferred.

This was done a while I go.
Reference:
https://github.com/ethereum/trinity/blob/68cfe432b03eb38baa674e01873cf6a471dcc0fa/trinity/_utils/ipc.py#L58-L91


Require only a shared reference when building a RequestService via the Builder

I'm trying to create a static RequestServiceBuilder so that a RequestService can be initialized within an entrypoint for each request, but can re-use an already initialized Router:
(pseudo Rust)
lazy_static! {
    static ref BUILDER: RequestServiceBuilder<B, E> = {
        let router: routerify::Router<B, E> = build_router();
        RequestServiceBuilder::new(router).unwrap();
    };
}

/// AWS Lambda entrypoint
async fn entrypoint(req: Request, _ctx: Context) -> Result<impl IntoResponse, HandlerError> {
    let remote_addr = get_remote_addr(&req);
    let mut service = BUILDER.build(remote_addr);
    // ..
}

After initializing a RequestServiceBuilder, the entrypoint function cannot call BUILDER.build(remote_addr) because of the method requiring a mutable borrow of a static variable. This PR replaces this with &self to allow usage of the static variable.
Preferably, we can release this soon as 2.0.2.

@rousan How can I release a new version 2.0.2? I would like to cherry-pick this one commit onto the master branch, then release a new version on crates.io.
I signed into my GitHub account on crates.io, however I don't seem to have organization permission for Routerify.

Looking into it.

Is there any way to add "collaborator" or "owner" to my crates.io account? I can't see any option there.

I don't own any crates yet, but I do see this page https://crates.io/me/pending-invites
So I guess there must be a way to invite collaborators to your crates.

I see there's a cargo command for this:
$ cargo owner --help
cargo-owner
Manage the owners of a crate on the registry

USAGE:
    cargo owner [OPTIONS] [--] [crate]

OPTIONS:
    -q, --quiet                    No output printed to stdout
    -a, --add <LOGIN>...           Name of a user or team to invite as an owner
    -r, --remove <LOGIN>...        Name of a user or team to remove as an owner
    -l, --list                     List owners of a crate
        --index <INDEX>            Registry index to modify owners for
        --token <TOKEN>            API token to use when authenticating
...

I think you can try this to add the members of the org to the crates.io org? This is a confusing process 😆


Insert Table don't work in flutter web and flutter web-server

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
10.0.0 on all flutter_quill packages
Steps to reproduce
When you use the "insertTable" button, it throws an error of rendering...

RenderObjects expect specific types of children because they coordinate with their children during layout and paint. For example, a RenderSliver cannot be the child of a RenderBox because a RenderSliver does not understand the RenderBox layout protocol.
The RenderEditor that expected a RenderEditableBox child was created by:
QuillRawEditorMultiChildRenderObject-GlobalKey#fa320] - MouseRegion - Composited TransformTarget -_SingleChildViewport - IgnorePointer-[GlobalKey#a466d] -
Semantics < Listener +
_GestureSemantics + RawGestureDetector-LabeledGlobalKey#09d2) - Listener - _ScrollableScope +
_ScrollSemantics [GlobalKey#c09c5| - ••
The RenderErrorBox that did not match the expected child type was created by:
ErrorWidget #08827 - Directionality - QuillRawEditorMultiChildRenderObject-[GlobalKey#fa320] - MouseRegion + Composited TransformTarget +
_SingleChildViewport + IgnorePointer-[GlobalKey#a466d] - Semantics + Listener - _GestureSemantics + RawGestureDetector-[LabeledGlobalKey#09d2] - Listener + •••
See also: https://docs.flutter.dev/testing/errors

Expected results
You expect to insert a table, such as it happens in flutter web:

Actual results
as explained above, it throws an exception. It occurs in all browsers, no matter if it's Brave, Safari, Mozilla, etc.
Code sample
Code sample
[Paste your code here]

Additional Context

Screenshots / Video demonstration
[Upload media here]

Logs
[Paste your logs here]

This happens because the flutter quill extensions do not actually implement tables for the web. So far it has not been implemented due to time constraints. If you prefer, you can try to implement this for the web.


github: switch to GH macos m1 runners

Now that GH provides M1 macOS runners we should use them :) See https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

Error: qemu exited unexpectedly with exit code -1, stderr: qemu-system-aarch64: -accel hvf: Error: HV_UNSUPPORTED

Yeah, won't work because we can't do nested virt here.

Honestly, I think we can get 80% of the testing value by running through the podman machine workflow on a Linux host - and even closer if we use aarch64 to do that.  My go-to for this has usually been GCP which supports nested virt, although apparently not with aarch64 yet.


Feat/add cistrans dbl bonds

Added Bond::setStereoAtoms and wrapped into Python.
Test cases in C++ and Python.
Merged updated master into it to make sure there weren't any conflicts, but maybe regretting that as it will make this diff large.

These commits were added in #4


Add CORS handling for Zipkin collector service, fixes #703

Signed-off-by: Jonas Verhofsté<EMAIL_ADDRESS>Which problem is this PR solving?

Handling of CORS on the Zipkin collector service, issue #703

Short description of the changes

Add and call the CORS handler
Add variables for allowed origins and headers

Not entirely sure where to add tests, if any are needed at all?

I don't think this PR needs to include Gopkg.lock changes.

Not entirely sure where to add tests, if any are needed at all?

What is the expected behavior of the cors handler? Does it reject certain types of requests? That's the type of test I would add.

I don't think this PR needs to include Gopkg.lock changes.
Removed.

What is the expected behavior of the cors handler? Does it reject certain types of requests? That's the type of test I would add.
I'm not sure where to add the tests. Where exactly does the main.go from the collector get tested?

Ah, it's ok then. We should have a test for flags, but we don't test main aside from integration tests. Some steps in the build are failing though.

@yurishkuro Well, the builds didn't fail before (https://travis-ci.org/jaegertracing/jaeger/builds/516424159) and I only removed the lock-file. Some inconsistency in the CI?

@yurishkuro So, seems like build 2 (proto gen) is failing because I removed Gopkg.lock, like you asked. Should I re-add it or is that a fault in the CI?

ping @yurishkuro

Let's see if merging master helps, as this step should not be failing (it doesn't in master)

hmm, very odd, lock file comes up as a diff. Need to look into that.

ok, fixed it

Ah, I see what's going on now. You're adding a new dependency github.com/rs/cors, I missed that. In that case, it needs to go to Gopkg.toml, and you DO need to update the lock file.


Add extra libraries requested by Nick Nidzieko.

Request from Slack for these libraries to be present:
gdal
proj
numpy
pandas
matplotlib

Found (at least one of them) it!
I think this is what we might need : https://github.com/UCSB-PSTAT/carpentry-container-image/blob/0495c268d43c4387f25a5c454c99775eee437c3d/Containerfile#L11C81-L11C86

This is a python environment, not an R one.


Solved The Double Press To Exit Issue

#793 Fixed by adding this into mainActivity
`boolean exitDouble = false;
@Override
public void onBackPressed() {
FragmentManager fragmentManager = getSupportFragmentManager();
android.support.v4.app.Fragment fragment = fragmentManager.findFragmentByTag(FRAGMENT_TAG_TRACKS);
if (drawerLayout.isDrawerOpen(GravityCompat.START)) {
drawerLayout.closeDrawer(GravityCompat.START);
} else if (fragment != null && fragment.isVisible()  &&  exitDouble) {
super.onBackPressed();
} else {
exitDouble = true;
Toast.makeText(this, R.string.double_press_exit, Toast.LENGTH_SHORT).show();
fragmentManager.beginTransaction()
.replace(R.id.content_frame, new TracksFragment(), FRAGMENT_TAG_TRACKS).commit();
if (getSupportActionBar() != null) {
getSupportActionBar().setTitle(R.string.menu_tracks);
}
navigationView.setCheckedItem(R.id.nav_tracks);
}
}`

@Danki567 You created four commits and changed 103 files.
I case I wanted to review this, it took me a long time.
Sine I do not want to review it but merge, please resolve the merge conflicts.
You may see that this is hard to do with so many files.
Please consider to put the most important changes - the essence of your work - into one commit and only commit the one file you changed.
You can close the PR if you think it is easier and open a new one.

I just wanted to change MainActivity by replacing the onBackPressed with my code. And I added translations

Here is a link to the new pull request. https://github.com/fossasia/open-event-android/pull/808


Release SHAs Changing?

Description
Hi folks, we're packaging up containerd as part of our release of Talos Linux. As such, we have a packaging system setup that does some SHA validation when installing packages and whatnot.
I'm seeing an issue now that relates back to where we pulled the 1.5.7 release (released October 4th) into our pkgs repo on October 11th. This ran through CI and whatnot with the specified SHAs and worked fine. That PR can be found here. However, I'm now seeing that the SHAs for the 1.5.7 tar.gz are as follows:
$ sha256sum ~/Downloads/containerd-1.5.7.tar.gz
09be0cedea77568029aa0c7be9a323b89fa6886b402b5d223780a05b8c7cd45a  /home/rsmitty/Downloads/containerd-1.5.7.tar.gz

$ sha512sum ~/Downloads/containerd-1.5.7.tar.gz
9b24a7021cdcbcb84b9455432561077ad07d3ef0346a5e6c2dbd0d998a85fbbaa0331bfcc861673a8c488d5073aae1636317b8f025e9049669a42cd00b511b0d  /home/rsmitty/Downloads/containerd-1.5.7.tar.gz

Did these release artifacts get recreated or replaced for some reason? Or maybe Github Actions did something to them? Just trying to figure out what's up before I'm willing to update our package with the new SHAs.
Steps to reproduce the issue
N/A
Describe the results you received and expected
Tar file should have the SHAs of
sha256: 7d8f7014a74b063da9cdf7fe8673db8dc338747efdbb9b6a6a919d5137b1987e

sha512: ce0d9d355b4a6142569690a9fcde8cd07de20b5788098f1184a728106a60dd11a437c87499a97af0c147b14372c2bca4daa823ea470f10b5e1b8a1e34ba530b0

as they did on October 11.
What version of containerd are you using?
1.5.7
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

Hrmm, spoke too soon. A slack message from another engineer here:
Those /archive/refs/tags files are not uploaded, but generated by GitHub on-the-fly

It is a known problem they change

Will close this out now. Sorry for the noise.


[TASK] Look into potential Windows Server issues

Test and look into any potential Windows Server issues
It is looking like there might be some issues with WIndows Server VMs and some confluence of issues with the template, the way that the image was uploaded, and the version of the dashboard UI.
Tests
v1.0.2
File upload

[x] Server 2012

[ ] Pass
[x] Fail

[x] Server 2019

[ ] Pass
[ ] Fail

[x] Server 2022

[ ] Pass
[x] Fail

URL upload

[x] Server 2012

[ ] Pass
[x] Fail

[x] Server 2019

[ ] Pass
[x] Fail

[x] Server 2022

[ ] Pass
[x] Fail

All of the base cases are failing due to https://github.com/harvester/harvester/issues/2057 and https://github.com/harvester/harvester/issues/2526 . After I changed the disk type for the root disk and changed the ISO drive back to CDROM they installed.
I did see some crashing depending on system configuration, but was unable to figure exactly what the repro steps/configuration were in regards to https://github.com/harvester/harvester/issues/2522 . I'll keep an eye out as we're validating v1.0.3 and we'll see if it's still an issue.


Az storage queues merged clients

Implements #3798
Creates the clients for Azure Storage Queues. There are two clients available in QueueServiceClient, which handles management services, and QueueClient, which handles interacts with the data plane but has some management services.

Can one of the admins verify this patch?


Sysrepo support

Hi @rwestphal,
in my use case I need both yang as well as sysrepo bindings. I know about https://github.com/sjtakada/sysrepo-rs by @sjtakada, but it requires ugly hacks to use both sysrepo-rs and yang2-rs together (see https://github.com/koalo/sysrepo-rs/commit/dc63b13f70d06b62905296988d452964e25fab1e for my current attempt). Futhermore, I do not know if it is still maintained.
What is your opinion on integrating sysrepo support to yang2-rs (or vice versa)?

What is your opinion on integrating sysrepo support to yang2-rs (or vice versa)?

Hi @koalo,
I think lumping sysrepo bindings in yang2-rs would be confusing since sysrepo and libyang live as separate projects, so it's simpler to keep their corresponding Rust bindings in separate crates. While all sysrepo users will need libyang bindings too, the opposite isn't always true.
Ideally, a sysrepo crate should have yang2-rs as a dependency, since sysrepo's public API uses libyang data structures quite extensively. If that's not done, a lot of code duplication will ensue.
One thing you could do is to contact @sjtakada and propose to refactor his code using yang2-rs as a dependency, or start a new crate if that turns out to be simpler.
In the long I'm also interested in sysrepo bindings, as I'll need them for another project. So while I cannot work on it right now, I'd be glad to provide some guidance if you decide to work on this.

Hello folks,
Sorry I haven't been working on the project for years, so I need to refresh my memory. I guess I can update the crate if you have a suggestion.

@rwestphal Ok, that makes a lot of sense! Also thank you for providing the link to holo. I will have a deeper look since it might be interesting for me in the future, too.
@sjtakada If you are in principle open to continue maintaining sysrepo-rs, that would be great! If it makes sense for you, I would try to prepare a pull request that adds yang2-rs as dependency to sysrepo-rs and replaces the common parts with the yang2-rs counterparts. By the way: I also have another pull request open at sysrepo-rs if you have the time to look at it.

@koalo let me take a look at today.

I approved and merged the previous PR.  Sysrepo 0.3.0 crates is also published.
Let me know if you need further update.
Thanks,

I finally found some time to look into this again and remembered why the ugly hacks were needed. In fact, the main problem is not that sysrepo-rs uses different Rust data types than yang2-rs (which would be solved by changing sysrepo-rs), but that I have not found a way to properly generate the yang2-rs data types from raw pointers as returned from the sysrepo C library.
In particular, sr_get_data returns a sr_data_t * and so to generate a yang2-rs DataTree I would need to set its raw field externally. However, for good reasons that is not a public field, also from_raw is not available for an external crate because the utils module containing the corresponding trait is not public.
@rwestphal  So is it reasonable to make the utils module of yang2-rs public or do you have another idea how to solve this problem?

@koalo that makes sense. I've just pushed v0.7.0 with the Binding trait exposed in the public API (it was also marked as unsafe for the obvious reasons).

@rwestphal That was fast, thanks a lot!
@sjtakada Please have a look at https://github.com/sjtakada/sysrepo-rs/pull/6 that uses the exposed trait to implement the sr_get_data function.

https://github.com/sjtakada/sysrepo-rs/pull/6 is now merged, thank you!
While that is not a full-fledged sysrepo-rs/yang2-rs integration that covers all possible use-cases, it is sufficient for my own use case so I will close this issue.

I think there is still a piece missing for better yang2 integration to the sysrepo bindings - there needs to be a possibility to get the yang2::Context from a acquired sysrepo raw lyd_ctx pointer. Implementing the Binding trait for Context does not really fit as there is no Container for Context. The lifetime of the context would be managed by the sysrepo-rs bindings. Would adding  unsafe fn from_raw() and possibly unsafe fn raw() to Context make sense to you @rwestphal ?


Remove download master from quick-start

The only reason for downloading openwhisk-master before was to build the CLI. It is not needed anymore in quick-start as we have download-cli now. Downloading openwhisk-master is only needed for docker build script.

@ddragosd ^^


Unclear in documentation if SNI needs to be specified, but the postgres.js client says it should

I've been working on integrating neon into a next.js app, using postgres.js, but it seems the QuickStart guides could show a few extra details if SNI is indeed required.
Specifically, I've added all of the example details, but erroring because of an unspecified project parameter.
Is it a redirect that isn't working properly?
PostgresError: SNI is missing. EITHER please upgrade the postgres client library OR pass the project name as a parameter: '...&options=project%3D<project-name>...'.

Thank you, I will take a look into it. The following code works for me in my old Node 10. Would you mind checking if it works for you as well?
const postgres = require('postgres');
const sql = postgres({
    host: 'frosty-sea-109598.cloud.neon.tech',
    port: 5432,
    database: 'main',
    username: 'yeputons',
    password: '[REDACTED]',
    ssl: 'require',
    connection: {
        project: 'frosty-sea-109598',
    },
});
sql`select * from ttt`.then(resp => console.log(resp)).catch(err => console.log(err));

The underlying issue is that we must somehow distinguish clients connecting to the same server process. We can do that easily if there is a hostname in the initial SSL handshake via SNI. Otherwise, a workaround is required. Specifying the project connection property is one. An even older one was to prepend project name to all usernames, IIRC, so that's probably the reason the docs are missing some bits.

Running into same - connecting via TablePlus with connection string provided + SSL mode set to required.

Running into same - connecting via TablePlus with connection string provided + SSL mode set to required.

I found a workaround for TablePlus:
It uses libpq for the connection, so like with other programs using libpq, you can specify libpq connection parameters in the "database name" field. For us, it means that you can specify the "options=project=" like this:

So to recap, fill in the Connection dialog like this:
Database host/socket: <project>.cloud.neon.tech
Database's user: <username>
Database's name: dbname=main options=project=<project>

We should now have much better docs about this issue at https://neon.tech/sni , I believe it covers all the necessary details


add --deb-user & --deb-group switch to fpm in deb-build.sh

In the deb-build.sh script for building graphite-api with fpm, it was running sudo. This is unnecessary and the same can be achieved using fpm's --deb-user and --deb-group switch

Cool, thank you!


Old TensorFlow version (0.6) is used for benchmarking.

r0.7 should have much better performance, as it allows using Cuda >= 7.0 and cuDNN R4, besides other improvements.

For people who're curious, I ran the benchmark for TensorFlow 0.7.0 with cuda7.5 and cudnnR4, on Quadro M6000 (very similar to TitanX). I saw a 20-40% speedup compared to the old numbers in this repo.
For alexnet/vgg where there's a lot more convolution, the speedup is higher. For googlenet it's about 20% only. There is still an obvious gap compared to other libraries with cudnnR3.

thanks. i'll run the numbers in a couple of hours.

closed via https://github.com/soumith/convnet-benchmarks/commit/2888b23959190cefeee59cdd5e15f66a74031f8f


docs: cli reference

added cli arguments to docs

Thanks, don't you need to pip install cats in the workflow? In case autodocs needs to import cats.__init__. I can see that's one of the reason the API reference isn't being generated by sphinx (plus the fact that module names are outdated after merging #49)

Thanks, don't you need to pip install cats

Ah yes you do. I'll update it

Ok, I think it should work as expected now

Yes, I pushed your changes to my fork and built it from there: https://tlestang.github.io/cats/api-reference.html