creating mask from pack_type to consider overflow

when you would create a mask with 32 bit integer you would overflow when during the left shift, my suggestion is making the left shift of type pack_type

Thx for finding a bug!.
And please update commit leaving base unit tests and adding more instead of changing existing, is that possible ?


I can't find a way to (exit) out of the calc once I enterd the interactive mode

is there a reserved word ? because I read the docs and found Nothing

Can you try Ctrl-c or Ctrl-d?


Small typo in the haversine formula

This
https://github.com/mpusz/units/blob/9d4ea8a8bf7073c0611a2ec1697c6cc51875e5bd/example/glide_computer/geographic.cpp#L56-L57
is missing some parentheses. These lines should read
const auto sin_lat = sin((lat2 - lat1) / 2);
const auto sin_lon = sin((lon2 - lon1) / 2);

Thanks for reporting!


packages/core: refactor createApp to just take options + separate out AppContext

This syncs the output of the app creation with what we have internally, where the root app component and app context providers are split. This lets you place components outside of the app root that are still able to consume the app context.
I also changed createApp from returning a builder to just creating the entire app. I don't think it makes sense that that create function was somehow special and gave you a builder. We should also likely strive for an app setup that is more declarative, and using a config object helps enforce that.

this was nice!


Improvement/add test runner

Don't know if this is imposing, but I thought testing may be easier if there was a more manageable way to run them. Also, the added benefit is that when ready to test this in other browsers, karma launchers for them can be added to the package.json & karma.conf.js. What do you think?

also, the specs in Layout-random-test.js seem to be failing:

is this a known issue?

Nice, thanks for doing that :) Never used karma, this looks sweet. For the failing tests, there's a few behaviors which I believe are bugs in Chrome.
https://github.com/facebook/css-layout/blob/master/src/__tests__/Layout-test.js#L1117-L1119
https://github.com/facebook/css-layout/blob/master/src/__tests__/Layout-test.js#L1176-L1178
And, there's a few edge cases that are not properly supported yet unfortunately :(

Ah I see...well np anyways. Glad to help.
Question: what do you think about adding a linter (like jshint) to the npm pretest script so that the JS files get linted before tests get executed?
Also, good job on Reactjs Conf, the presentation on native looked super cool!

Happy to take it in, however i'm doing a lot of hacks that are probably not eslint friendly :p


refurb: 1.8.0 -> 1.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for refurb is: "A tool for refurbishing and modernizing Python codebases"
meta.homepage for refurb is: "https://github.com/dosisod/refurb"
meta.changelog for refurb is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.1 with grep in /nix/store/vgh8p8k25z9i9w6rqm3z5hqlc4g1624d-refurb-1.9.1
found 1.9.1 in filename of file in /nix/store/vgh8p8k25z9i9w6rqm3z5hqlc4g1624d-refurb-1.9.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
refurb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vgh8p8k25z9i9w6rqm3z5hqlc4g1624d-refurb-1.9.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A refurb https://github.com/r-ryantm/nixpkgs/archive/19f57e879935b925f6c22dd8e97befa6ce6ef17f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vgh8p8k25z9i9w6rqm3z5hqlc4g1624d-refurb-1.9.1
ls -la /nix/store/vgh8p8k25z9i9w6rqm3z5hqlc4g1624d-refurb-1.9.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

refurb

Maintainer pings
cc @knl for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for refurb is: A tool for refurbishing and modernizing Python codebases
meta.homepage for refurb is: https://github.com/dosisod/refurb
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.10.0 with grep in /nix/store/hn2gsslakgpwaqny9nx23x23yrklsyjd-refurb-1.10.0
found 1.10.0 in filename of file in /nix/store/hn2gsslakgpwaqny9nx23x23yrklsyjd-refurb-1.10.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
refurb

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hn2gsslakgpwaqny9nx23x23yrklsyjd-refurb-1.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A refurb https://github.com/r-ryantm/nixpkgs/archive/c556e5d38c754e11c01430b15ea8ab72be0222c0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hn2gsslakgpwaqny9nx23x23yrklsyjd-refurb-1.10.0
ls -la /nix/store/hn2gsslakgpwaqny9nx23x23yrklsyjd-refurb-1.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

refurb

Maintainer pings
cc @knl for testing.


Version incompatibilities during make develop with latest pkg levels

make develop reports the following incompatibilities on Python 2.7 with latest package levels (see Travis run https://travis-ci.org/github/pywbem/nocaselist/jobs/709676264):
ERROR: virtualenv 20.0.27 has requirement pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32", but you'll have pathlib2 2.3.2 which is incompatible.
ERROR: tox 3.17.1 has requirement six>=1.14.0, but you'll have six 1.11.0 which is incompatible.
ERROR: flake8 3.8.3 has requirement pyflakes<2.3.0,>=2.2.0, but you'll have pyflakes 2.1.1 which is incompatible.

This also happens on other Python versions (with some variations in the reported incompatibilities), but only with latest package levels.

Fixed in PR #47


Remove -Zmiri-panic-on-unsupported?

This flag turns (some) "unsupported" errors into Rust panics in the interpreted program, rather than aborting interpretation. See https://github.com/rust-lang/miri/issues/1807 for context and motivation. However, the flag has never been fully implemented, and has annoying maintenance consequences -- calling the handle_unsupported_foreign_item helper actually requires some care or it will lead to some very strange behavior (and the behavior occurs only on the error path, so it is unlikely to be tested) -- in fact, the original implementation ran into that very issue, and in a recent PR a contributor repeated that mistake.
The motivation in https://github.com/rust-lang/miri/issues/1807 can, I think, be covered by cargo miri nextest instead: this can be used to run all tests independent of each other, and process the results to see if any of them are about UB. So IMO we should remove -Zmiri-panic-on-unsupported; it's maintenance cost IMO outweighs its usefulness.
@landaire you suggested and implemented that flag. Do you still have a use for it, and would cargo miri nextest also cover that usecase?

The motivation in https://github.com/rust-lang/miri/issues/1807 can, I think, be covered by cargo miri nextest instead: this can be used to run all tests independent of each other, and process the results to see if any of them are about UB. So IMO we should remove -Zmiri-panic-on-unsupported; it's maintenance cost IMO outweighs its usefulness.

I'll have to look more -- it's been a while since I thought about the internals of the initial change. This point from the original issue was important:

Tests invoking unsupported foreign functions will still be emulated up until they perform the foreign function call. Testing to this point may still yield valuable results.

If running nextest still allows for running the test to the point at which it calls a foreign function then that's probably fine? If there is no way to discern a test failure from a Miri error, that may be desired for scenarios where you want to run these sorts of tests in CI and capture UB regressions while ignoring Miri execution failures.

Do you still have a use for it?

Currently no. I left the job where I was motivated to add this flag and my current job doesn't yet have code where I'd like to use this. I use it a couple times a year but ultimately I'm not going to ask you to maintain something that has overhead and is not frequently used even by me, so removing this seems fine to me.

If running nextest still allows for running the test to the point at which it calls a foreign function then that's probably fine?

Yes, it will run each #[test] separately. And each such test runs until it hits UB, "unsupported", or finishes some other way.

I left the job where I was motivated to add this flag

If you have any idea who might be maintaining that codebase now and could ping them here, just in case they still need the flag, they'd be great. :)
If not I guess we'll just remove it and see if anyone complains. 🤷

If you have any idea who might be maintaining that codebase now and could ping them here (or use other channels to inform them about this issue), just in case they still need the flag, that'd be great. :)

I have no idea who is maintaining it now. I'd say to just move forward in removal and rejoice.

I never use this flag before, but I wonder how exactly can we get cargo miri nextest to ignore unsupported ffi error? I realised it is very time-consuming to manually annotate #![cfg(not(miri))] while working on https://github.com/tokio-rs/tokio/issues/6812. I could help to test it out and update the documentation if this would help.

cargo miri nextest run --no-fail-fast is probably what you're looking for.


JS not working when upgrade from v1.0.0-beta1 to v1.0.0-beta2 in Vue

Describe the bug
only about js is  not working, all style  is ok ,such as Dropdown and Carousel, it look well but it can not action
To Reproduce
all config is follow Tailwind Elements Vue integration
and Quick Start
now I make it work for the  moment
onMounted(() => {
  setTimeout(() => {
    initTE({ Carousel,Datepicker, Input,Dropdown  });
  }, 1000);
})

please help me to config it properly

same here with a solid-js integration.

Hi, we encounter enormous more errors with SSR frameworks and in fact couple other components (like Carousel) are not displaying properly in comparison to CSR frameworks.
All you got to do is import Tailwind Elements CSS file in global Vue file (like App.vue) or in specific file, where you got the problematic components.
import "tw-elements/dist/css/tw-elements.min.css";
@YMA-MDL what excatly is the same? Where are you getting errors or where is problematic part?

What bundler are you using with Vue? Is that default Vue CLI or something else?

It is vite

Same here with Webpack in Symfony 6.2.9.
On initial load, nothing works. You have to do a manual reload for it to work. Or like @iamyjx, apply a setTimeOut


Added Cosmos Diagnostics.

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

/azp run cosmos js - cosmosdb - ci

/azp run cosmos js - cosmosdb - ci

/azp run cosmos js - cosmosdb - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos


Update XML/JSON converters to use new method for updating the TransferSyntax when setting the image

updating in commit f6e3b82


Feature/cce 415

@saadmhybris there are some descrepencies with the tab formatting between files and we have some commented code that should be removed.

@saadmhybris there's still some indentation work that needs to be done on the inline help on the details page.
It also looks like you haven't checked in the newly generated starter page sources as there's a generated file with incorrect indentation settings as well.
There also shouldn't be an include of demo.css in nay of the files.
The tables.html file is also using containers in the markup that don't exist in the techne style guide, so those need to be removed.


L4T 35.4.1 and uefi signing

Ready for review.  I've tested Xavier NX (dunfell and kirkstone) and Orin NX (kirkstone).

Could you change the names of the new endpoints to be tegra-uefisign and tegra-ueficapsulesign, or something like that

Changed the endpoints to sign/tegra/uefi and sign/tegra/ueficapsule.
BTW, I'll soon have a separate PR for some markdown that documents these endpoints in the style of your other signers.

BTW, I'll soon have a separate PR for some markdown that documents these endpoints in the style of your other signers.

I went ahead and just added the extra commit to add new markdown for the new signers.


transfer to JuliaEditorSupport organization?

Would it be conceivable to transfer this repo to an organization like https://github.com/JuliaEditorSupport so that more maintainers can help update it?

I would be glad to transfer ownership on this - I have not been keeping track of issues and requests on this at all and have not used visual studio code in a while.


[stable/mongodb] microk8s support

Describe the bug
Attempted to install a chart using mongo:
mike@workstation:~$ microk8s.helm install stable/mongodb
Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

Version of Helm and Kubernetes:
mike@workstation:~$ microk8s.helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
mike@workstation:~$ microk8s.kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-02T17:01:15Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-02T16:51:36Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/mongodb
What happened:
See bug description
What you expected to happen:
Mongo was created successfully
How to reproduce it (as minimally and precisely as possible):
Install stable/mongodb on microk8s
Anything else we need to know:

Hi @octopus-prime
It seems you're using an old version of the MongoDB chart. Could you please update your catalog by running the command below?
$ helm repo update

That should fix the issue you're facing.

Thank you @juan131,
works like a charm!


[FIX] remove reviewer checklist (#4406)

Pull request opened by the merge tool on behalf of #4406

Merged in 9331b9b3540d0fe506b201746796af240cd4db08


Typo

Hi @daniel-liuzzi,
Thanks for this. However we are in the process of deleted the Angular CLI version 1 documentation as this is no longer supported.


I don't understand how the multi-account feature is supposed to work

I have configured two accounts in my setup. Also i use no mouse & keyboard interaction on my end-device so i can't manually switch between them. Individually the accounts work fine if i set defaultAccount: X to select each account. But it seems that only one account can run at a time and it'll always be the defaultAccount: X. I was kind of expecting the currently active account to display the playback unless both are. If both are then i expect the defaultAccount to have priority.
Isn't this how most people would expect it to work or is it just me?

But it seems that only one account can run at a time and it'll always be the defaultAccount: X

Yes.

Isn't this how most people would expect it to work or is it just me?

AFAIK you are the first to open an issue about that. So...
There are two possible solutions for using multi accounts:

By having an input device (touch display, mouse / keyboard, ...) and using the provided buttons or
By using notifications from other modules: this.sendNotification("SPOTIFY_ACCOUNT", 0) (see documentation)

Closing due to inactivity. Feel free to re-open if something else is unclear.


Marker that shows all posts that are "new" to you since you last looked

What data could back this feature?
I feel like there are a few things I've seen around the code base (like even the little number thingy in the left group nav)

I also think this is something I should do since im deep in this work


Nested operation tags

Hi,
Is it currently possible to display nested tags in the left-hand navigation.
e.g. If the operation Tags are defined as "Mammal|Elephant",  "Mammal|Monkey" and  "Bird|Parrot"
Mammal                                  V

  Elephant                              V
  GET Get a elephant by id
  PUT Add a new elephant

  Monkey                                V
  GET Get a monkey by id
  PUT Add a new monkey

Bird                                    V

 Parrot                                 V
  GET Get a parrot by id
  PUT Add a new parrot

If not, is this planned in the future?

right now if you have routes with multiple tags then it ends up "duplicating" the route into each tag accordion. slightly irritating with a largeish api. resorted to finding all tags and turning them into a pipe separated string
tags = ["instances","accounts","meters"]

becomes
tags = ["instances | accounts|meters"]

(trying to figure out how to have all the tag groups closed now tho.. i cant get the x-tag-expanded thing to work :(

What is a nested Tag? Is that in the spec?

What is a nested Tag? Is that in the spec?

https://github.com/swagger-api/swagger-ui/issues/5969
not in the spec. but it does fall part of the display side which is what rapidoc does.

routes with multiple tags allow you to model your API docs as independent feature
for instance all the APIs needed for Accounts will be under it and all the APIs needed Budget will be under it and they can have repeating APIs.
You can also decide to show only APIs from a particular tag in your site
Thats what RapiDoc-Mini  does.
Tags cannot be treated to extract any hierarchy information from it. therefore closing this request


vs other related libs....

thanks for this lib!
Can you glance at this lib:
https://github.com/sockeqwe/fragmentargs
and tell me why this one is diff/better/etc.
thanks!

Well, Android-FAP is older than FragmentArgs but FragmentArgs has definitely more features and since I am not planning on putting Android-FAP up to speed, I'd definitely recommend using FragmentArgs ;)


[1.12] Automated Bump DC/OS UI v2.26.15

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)
DCOS-55175 DCOS-46413 DCOS-50452 DCOS-21472 DCOS-46307 DCOS-53674
Related tickets (optional)

DCOS-55175 DCOS-46413 DCOS-50452 DCOS-21472 DCOS-46307 DCOS-53674
Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Please update CHANGES.md file and apply Ready for Review Label.
* Updated DC/OS UI to [1.12+v2.26.15](https://github.com/dcos/dcos-ui/releases/tag/1.12+v2.26.15)

You can edit CHANGES.md directly here: https://github.com/mesosphere/dcos/edit/dcos-ui/bump/2019-06-19-08-20-32/1.12+v2.26.15/CHANGES.md?pr=%2Fdcos%2Fdcos%2Fpull%2F5735

@mesosphere-mergebot label [Ready for Review]


Fix #4108: JSDoc transform InputTypes

Solves #4108
Transforms InputTypes into valid JSDoc types.
GraphQL
input FooInput {
    foo: Int!
}

JSDoc
/**
 * @typedef {Object} FooInput
 * @property {number} foo
 */

Thank you very much @reicheltp !


Detect IBAN_Code

IBAN_Code stands for International Bank Account Number Code. According to Microsoft Presidio's documentation for Personally Identifiable Information, "IBAN_Codes are internationally agreed upon system of identifying bank accounts across national borders to facilitate the communication and processing of cross-border transactions with a reduced risk of transcription errors."
The IBAN code consists of 34 alphanumeric characters that are used to identify an individual account, banking institution, country code, and banking branch. Due to this, this information must remain secure, as the security of funds is tied to the security of the IBAN account. IBAN accounts allow banks to quickly operate in tracking down the country of origin for a bank and ensure a successful transaction
View more information about the IBAN_Code here.
We'll Detect an alphanumeric string in the format AA 00 AAAA<PHONE_NUMBER>0000
We'll use GB14WXYZ220562325648978 as an example due to its invalidity.
validity was checked using the official IBAN checker at this link

@Shjones1 please also assign this to yourself and add the sprint-1 milestone

@claesmk Got it, will do.

Good research and formatting, this gives us a good basis to start on.


Welcome to Hacktoberfest 2018 Hello-world

Welcome to Hacktoberfest 2018 Hello-world :clipboard:

This Project aims to help you to get started by using github you can find a tutorial here

Steps to follow :scroll:
0. Register for hacktoberfest
you can register from here
1. Fork it :fork_and_knife:
You can get your own fork/copy of Hello-world by using the Fork button or clicking this.

2. Add A Progam in any Language you like :rabbit2:
Once you have forked the repo add your progam in language folder in main branch, if there is no language folder make one add into it.
3. Ready Steady Go... :turtle: :rabbit2:
Once you have completed these steps, you are ready to start contributing by checking our Help Wanted Issues and creating pull requests.
4. Give this a Project Start :star:
If you liked working in this project please share this project as much as you can and star this project to help as many people in opensource as you can.
:tada: :confetti_ball: :smiley: Happy Contributing :smiley: :confetti_ball: :tada:

https://github.com/amohata007/Hacktoberfest
contribute here....it is totally awesome and very easy to contribute.
@rad182 @ilbonzo @rockycamacho @gdotdesign @AadityaVarshney @AarushiSingh09 @Aashik96 @abbusofyan @abhikedia @qcuong98 @CQW-Code @bique14

created hello.cpp

actually i still dont get it


methodmap and enum struct syntax are not formatted correctly

Basic informations

OS: [Windows]
VSCode version: Latest
Extension version: Latest

Code to reproduce the behaviour
I tried to add a function using methodmap and enum struct.
enum struct TestStruct
{
	int a;
	int aa;
	int aaa;

	/**
	 * init
	 * @noreturn
	 */
	void Init()
	{
		this.a = 1;
		this.aa = 2;
		this.aaa = 3;
	}

	/**
	 * calc
	 * @return
	 */
	int Calc()
	{
		return this.a + this.aa + this.aaa;
	}
}

methodmap TestMethodmap {

	public TestMethodmap(int a) {
		return view_as<TestMethodmap>(a);
	}

	/**
	 * test
	 * @return
	 */
	public int test() {
		return view_as<int>(this);
	}
}

Incorrect typography after formatting with formatter, it doesn't work very well.
enum struct TestStruct
{
	int	 a;
	int	 aa;
	int	 aaa;

	/**
	 * init
	 * @noreturn
	 */
	void Init(){
		this.a	 = 1;
		this.aa	 = 2;
		this.aaa = 3; }

/**
 * calc
 * @return
 */
int Calc()
{
	return this.a + this.aa + this.aaa;
}
}

methodmap TestMethodmap
{

public 	TestMethodmap(int a)
	{
		return view_as<TestMethodmap>(a);
	}

	/**
	 * test
	 * @return
	 */
public 	int test()
	{
		return view_as<int>(this);
	}
}

Is there any way to keep methopmap and enum struct from being formatted by formatter? Thanks for the reply!

Hi! Thanks for reporting this, the formatter uses clang-formar under the hood, and sadly it works really bad with enum structs :/
I'm looking for a way to make it better, but it will probably involve editing clang-format itself.


Babel runtime as a dependency

When creating new react-on-rails project according to this tutorial, the server logs errors about babel-runtime, e.g.
10:10:33 server.1 | ERROR in ./~/react-on-rails/node_package/lib/clientStartup.js 10:10:33 server.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:33 server.1 |  @ ./~/react-on-rails/node_package/lib/clientStartup.js 8:17-64 10:10:33 server.1 |  10:10:33 server.1 | ERROR in ./~/react-on-rails/node_package/lib/ComponentStore.js 10:10:33 server.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/keys' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:33 server.1 |  @ ./~/react-on-rails/node_package/lib/ComponentStore.js 7:12-56 10:10:33 server.1 |  10:10:33 server.1 | ERROR in ./~/react-on-rails/node_package/lib/ComponentStore.js 10:10:33 server.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/map' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:33 server.1 |  @ ./~/react-on-rails/node_package/lib/ComponentStore.js 11:11-47 10:10:33 server.1 |  10:10:33 server.1 | ERROR in ./~/react-on-rails/node_package/lib/buildConsoleReplay.js 10:10:33 server.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:33 server.1 |  @ ./~/react-on-rails/node_package/lib/buildConsoleReplay.js 9:17-64 10:10:33 server.1 |  10:10:33 server.1 | ERROR in ./~/react-on-rails/node_package/lib/serverRenderReactComponent.js 10:10:33 server.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:33 server.1 |  @ ./~/react-on-rails/node_package/lib/serverRenderReactComponent.js 8:17-64 10:10:36 client.1 | Hash: fff86825b4cb1eddf6d7 10:10:36 client.1 | Version: webpack 1.12.14 10:10:36 client.1 | Time: 25030ms 10:10:36 client.1 |            Asset     Size  Chunks             Chunk Names 10:10:36 client.1 |    app-bundle.js  4.85 MB       0  [emitted]  app 10:10:36 client.1 | vendor-bundle.js   1.8 MB       1  [emitted]  vendor 10:10:36 client.1 |    [0] multi app 28 bytes {0} [built] 10:10:36 client.1 |    [0] multi vendor 76 bytes {1} [built] 10:10:36 client.1 |     + 754 hidden modules 10:10:36 client.1 |  10:10:36 client.1 | ERROR in ./~/react-on-rails/node_package/lib/clientStartup.js 10:10:36 client.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:36 client.1 |  @ ./~/react-on-rails/node_package/lib/clientStartup.js 8:17-64 10:10:36 client.1 |  10:10:36 client.1 | ERROR in ./~/react-on-rails/node_package/lib/ComponentStore.js 10:10:36 client.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/object/keys' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:36 client.1 |  @ ./~/react-on-rails/node_package/lib/ComponentStore.js 7:12-56 10:10:36 client.1 |  10:10:36 client.1 | ERROR in ./~/react-on-rails/node_package/lib/ComponentStore.js 10:10:36 client.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/map' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:36 client.1 |  @ ./~/react-on-rails/node_package/lib/ComponentStore.js 11:11-47 10:10:36 client.1 |  10:10:36 client.1 | ERROR in ./~/react-on-rails/node_package/lib/serverRenderReactComponent.js 10:10:36 client.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:36 client.1 |  @ ./~/react-on-rails/node_package/lib/serverRenderReactComponent.js 8:17-64 10:10:36 client.1 |  10:10:36 client.1 | ERROR in ./~/react-on-rails/node_package/lib/buildConsoleReplay.js 10:10:36 client.1 | Module not found: Error: Cannot resolve module 'babel-runtime/core-js/json/stringify' in /Users/alex/Development/personal/shaka/client/node_modules/react-on-rails/node_package/lib 10:10:36 client.1 |  @ ./~/react-on-rails/node_package/lib/buildConsoleReplay.js 9:17-64
The proposed fix adds babel-runtime to the dependencies.

This change is

I wonder why this changed? In any case, this is probably fine. Once CI passes, I'll merge.

Including in #362


Check if the query is in state first. HotFix.

Check first is the query id is in state and then do other checks.
@mistercrunch @vera-liu @ascott ^^

LGTM

thanks @vera-liu  !


Google style

The last build should fail due to errors. A fail should be triggered.

Please fix the failing build before merging

Looks good, need second member to merge.

Great work!

Such merge, wow!
Looks good despite issue.


Different types of constraints

Hi,
You probably have more pressing things to answer so feel free to hold off of on this one.  But if there weren't Sketch limitations, would you find it practical as a designer to have a few more types of constraints, such as constraints that align items relative to other sibling layers or constraints for centering? I think a practical constraint system needs just these and a few more but probably just a few more.   As I understand (I could totally be over simplifying here) there are 3 practical constraint systems out there:

Auto Layout - As seen in Bind and implemented by Apple on OS X and iOS.  This doesn't translate that well to design tools in my opinion.  I think the designer has to add too many rules and the system has to generate the rest, which gets laborious.  There can be conflicting constraints that cause errors.  It is very powerful however and can cover virtually every use case.   It also handles right-to-left languages and layouts and compression decisions.
Flexbox - as used by Facebook in it's React component system and of course used on the web.  This is a pretty simple layout system but I don't think it translates that well to design tools as the mental model is not that easy and natural.  Of course you can wrap it with simple concepts such as rows and columns but again it's sometimes hard to visualize the layout in a strict grid.  Facebook's implementation does have the nice feature of being able to supply custom functions to measure things like text and flex box also handles right to left issues by allowing you to reverse direction of layouts and specify order of items.
Ad hoc - as seen by what you are doing here where you just define a simple set of constraints that just cover most use cases.  This is the approach I like the most.  I personally like this particular approach taken in code: https://github.com/mamaral/Neon.   It represents a very nice way to create a ton of typical app layouts and I have been using it a lot.   The downside is there is no concrete model at the heart of it and many advanced layout features have to implemented by the developer or from scratch or ignored.

At any rate I know Sketch has limitations but I am building a native Mac app for this as well and I have been playing around with these same things this week and have been leaning towards the ad hoc approach you took, nice work!  I guess my only point is that I think a practical system would need a few more constraints.

Closing this as there really isn't a question here.  I was just giving some thoughts.

Hi John,
I completely agree, constraints relative to other sibling layers would be very useful for certain types of layouts. The problem here is not Sketch and its limitations but as I'm primarily a designer I didn't know how to develop these kind of constraints. I started this project more like a proof of concept than a practical constraint system but I would love to use a native Mac app with more constraints and live update.
Regarding the ad hoc approach, as you said I find it way more user-friendly and designer-friendly than approaches like Auto Layout, GSS or Flexbox.


（use arcface model）  AttributeError: 'NoneType' object has no attribute 'serialize'

show:Completed parsing of ONNX file
but when
f.write(engine.serialize())

AttributeError: 'NoneType' object has no attribute 'serialize'
I guess my onnx model maybe have some problem,I am trying check the pth2onnx..

Hello. Sorry for the late response.
It could be the problem that you do not generate an ONNX model which could accommodate with the TensorRT. Could you share more information?

show:Completed parsing of ONNX file
but when
f.write(engine.serialize())

AttributeError: 'NoneType' object has no attribute 'serialize'
I guess my onnx model maybe have some problem,I am trying check the pth2onnx..

Hello. Sorry for the late response.
It could be the problem that you do not generate an ONNX model which could accommodate with the TensorRT. Could you share more information?

Thank you for reply!
I have konw the issue is when onnx2tensorrt tensorrt does not support Prelu,So the engine is None.Tensorrt also have no output.

Thank you for reply!
I have konw the issue is when onnx2tensorrt tensorrt does not support Prelu,So the engine is None.Tensorrt also have no output.

I think it should be the problem of the onnx exporter instead of the tensorrt.


Refactor locale code into module

It's tiny, but would make sense as a separate tested module.

Folding into #891


added Designs & system commands  docs

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit 946d802ec36219b559ae2f586a7e810875215a59 at: https://64c545d471ccc6073569a20e--meshery-docs-preview.netlify.app


Feature/issue advi lp

Summary:
Renames lp to lp__ in output of variational inference.
Intended Effect:
N/A
How to Verify:
Run models by building them, then running them, e.g. make examples/bernoulli/bernoulli && cd examples/bernoulli && ./bernoulli variational data file=bernoulli.data.R.
Side Effects:
N/A
Documentation:
Changed variational inference documentation to reflect that lp__ is actually calculated now. See stan pull request
Reviewer Suggestions:
N/A

Jenkins, ok to test.
On Jul 12, 2015 5:41 PM, "Stan buildbot"<EMAIL_ADDRESS>wrote:

Can one of the admins verify this patch?
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/cmdstan/pull/125#issuecomment-120763720.

Just realized that the checks never passed for this pull request; I added the unit test to the make/tests file. Please re-review this and merge :dancer:

Sorry -- I missed this from 3 weeks ago. Is that all you want to test? Just make sure it works? Or did you want to make sure it's non-zero (to prevent a bug of someone accidentally changing the underlying implementation)? Or something else?

I think it makes sense to only check if the output exists. lp__ is temporary and only exists in the output because it needs to be compatible for write_iteration_csv(). Ideally, we plan on storing other things/replacing things, and we'll need to make a unit test at that time after we've all decided on the output interface for ADVI.


Updated CAKE to 0.17.0

Hi @thecodejunkie, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@jchannon approving != merging :)


UAT | Case Name in Scrutiny Send back pop up

Currently, the scrutiny pop up on sending back case has text 'Complainant vs Respondent'
Expected behaviour: Should disply case name

Issue is fixed, please find the reference
https://jam.dev/c/d808cf96-5117-446d-b5c9-21165649ebbd


Input-dependent noise model

Hello,
Thank you for open-sourcing your work! It has been incredibly useful to me ^-^
Also, is there a method to model input-dependent observation noise? (Snelson and Ghahramani, 2006)

Hi. Sorry for the delay in replying. Yes, we call this the HeteroscedasticNoise likelihood. See, e.g., demos/heteroscedastic.py.


Cannot add manifests in cluster-network-03-config.yml.j2

IPSec requires OVNKubernetes to be enabled. As a test, I enabled ipsec in playbooks/roles/ocp-config/templates/cluster-network-03-config.yml.j2 every time cni_network_provider = OVNKubernetes was set in local var.tfvars file however this did not work.
If I would cat to this file via the main.yaml in ocp-config module it would work. I created a branch on my fork with 2 commits to demonstrate the issue.
On that branch, here is the commit that will NOT enable ipsec: https://github.com/mtarsel/ocp4-playbooks/commit/513b3863899504247d8a361a5b9f0a7dae492b64
Cat to same file from main.yaml will enable ipsec: https://github.com/mtarsel/ocp4-playbooks/commit/679c24766a9b912ca88799db5a3b50dfa1c2cf99
OpenShift documentation about enabling IPsec here

The issue is encountered as the file playbooks/roles/ocp-config/templates/cluster-network-03-config.yml.j2 is not getting copied to the manifests folder as the cni_network_mtu variable is not defined in the PowerVM code.

Raised a PR on PowerVM that should solve this issue: https://github.com/ocp-power-automation/ocp4-upi-powervm/pull/229

This seems fixed by @aishwaryabk


[Bug] The outborder does not get updated when switching themes.

Version
1.12.9
Link to Minimal Reproduction
https://github.com/mengxi-ream/visactor-next-template
Steps to Reproduce
https://github.com/user-attachments/assets/372c42fb-4d72-4afb-8687-72eb214266a8
Current Behavior
outborder does not get updated when switching theme
Expected Behavior
outborder should get updated when switching theme
Environment
- OS: macOS
- Browser: Chrome
- Framework: Next.js

Any additional comments?
No response

@xile611 Can assign this bug to me to fix


Allow html class in file content

Summary
Fixes #855 Is it possible to add html class for image?. by adding a new variant attribute "class" which is simply passed through to the img/a tag that is generated. Simply,
 {{ cms:file_link 612, as: image class='class1 class2' }}

added test
rake green.
updated docs

Thanks. Added. Had to tweak it a bit as you were putting that option into variant options.


Support benchmark building against criterion-<IP_ADDRESS>

Is it just an issue of bumping bounds? Mind sending a PR? I'm traveling.

Could be. I'll give it a go.

Looks like this was already done in acb67e3. We're just waiting on a release or a hackage revision, then.

Released <IP_ADDRESS>.

Awesome, thanks!


fix(remove-pr-from-merge-queue): do not remove the QUEUED_FOR_MERGE labels

:pencil: Description
Manage-merge-queue will not update the MERGE_QUEUE commit status and will not update the merge queue if both lables are removed simultaneously.
https://github.com/ExpediaGroup/github-helpers/blob/f4822c92644a19c5f1325265deb6ada4c53a47d0/src/helpers/manage-merge-queue.ts#L84..L97
:link: Related Issues

Closing in favor of https://github.com/ExpediaGroup/github-helpers/pull/634


Bugfix http test ctrl

The controller returns an array of result objects, testResults.
Error objects with corresponding script property and status are added to the testResults array. The script property is the script that is being executed in the VM.
I removed console.logs.
I modified the VM instance options to only allow Chai to be required in.
Slightly modified existing regex to be more robust and handle edge cases where 'assert' or 'expect' could be somewhere else in the string. The code only looks for 'assert' or 'expect' at the beginning of a new line.
Added conditional in the main Http controller to only invoke the test controller if there is a test script. This may break how the test tab is working since that piece of state will be missing if no tests are run. The test tab should be refactored to conditionally render depending on if there are actually any test results.

LGTM


Execute one task in current thread

Resnet50 takes 44.35 ms with the change, comparing to 50.94 ms without the change. The test environment is: Win 10, Intel i7-4790.

please test the tensorflow resnet50 instead. That model on my machine is only less than 30ms.

Great! Having one thread per ParallelFor() doing nothing is a kinda luxurious style of living.


Mark in the database what editor mode was used when editing something

Currently, it guesses heuristically, but this should be fixed to save it properly so we don't guess incorrectly or such.

(Found here at present: https://github.com/Marri/glowfic/blob/4c8f5029fb169d200c937c9f96bb07a9a64126f5/app/helpers/application_helper.rb#L174)


maybe the code itself support training with text length > 26

@Holmeyoung
in https://github.com/Holmeyoung/crnn-pytorch/issues/17 you mentioned that your codes only support training with text length <= 26, I found that
(1) when resize the images to 100X32. length of the raw character output is 26. so we cannot train with text length > 26.

(2) when keep_ratio = True, only the height of the image is resized to 32, the width of the image is not fixed and vary for different images. so length of the raw character output is not fixed and depends on the width of the image, maybe we can train with any text length

conclusion: we can train with any text length when we set keep_ratio = True during training
Thank you so much.

Hi, in fact, it only depends on the output lstm T length.

thanks for your reply.
if we don't change the network, will the output lstm T length only depend on the width of the image?

I got the answer from your reply https://github.com/Holmeyoung/crnn-pytorch/issues/17

You need to calculate it. After conv and pool what's the image width. The image width will be T length in rnn.
then output width of the CRNN.cnn will be the T length? and text length should not exceed T?
is what I said here right? thank you so much.

I got the answer from your reply from #17

You need to calculate it. After conv and pool what's the image width. The image width will be T length in rnn.

then output width of the CRNN().cnn will be the T length? and text length should not exceed T?
is what I said here right? thank you so much.
        self.cnn = cnn
        self.rnn = nn.Sequential(
            BidirectionalLSTM(512, nh, nh),
            BidirectionalLSTM(nh, nh, nclass))

Yeah

Got it, thank you so much.

@Holmeyoung
hi,  the output width of the CRNN().cnn is T, and text length should not exceed T.
my question is: if the text length is larger than T, then there will be errors? or we can still train the model?
thank you so much.


failed archive Xcode14 with Enable bitcode

How frequently does the bug occur?
All the time
Description
When I tried to archive with "Enable bitcode" set to "Yes" to generate dSYM, an error occurred and archiving failed!
Looking at the error, I assume it is because Realm.o" does not support bitcode.
Is it possible to create an archive with "Enable bitcode" set to "Yes"?
Stacktrace & log output
error build: '/Users/userName/Library/Developer/Xcode/DerivedData/appName-esdaglqddwymhcallajrvdjazggq/Build/Intermediates.noindex/ArchiveIntermediates/Release/BuildProductsPath/Release-iphoneos/Realm.o' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/userName/Library/Developer/Xcode/DerivedData/appName-esdaglqddwymhcallajrvdjazggq/Build/Intermediates.noindex/ArchiveIntermediates/Release/BuildProductsPath/Release-iphoneos/Realm.o' for architecture arm64

Can you reproduce the bug?
Not yet
Reproduction Steps
No response
Version
10.31.0
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
mac OS: Monterey, Xcode 14.0
Build environment
Xcode version: 14.0.1
Dependency manager and version: SPM - realm-cocoa = 10.31.0

Apple has deprecated bitcode and you should disable it when using Xcode 14.

@tgoyne
Thank you for your answer.
So, does this mean that it is impossible to build with "Enable Bitcode" set to "Yes" with Realm installed?

I need to generate dSYM with UUID to fix missing dSYM in Firebase Crashlytics
The intention is to enable bitcode for this purpose

Xcode 14 does not support bitcode regardless of if you are using Realm or not.

@tgoyne
I understood that it is not possible to build with Bitcode enabled.
Thank you.


Debug vscode ts extension

Is there any example how to setup a vscode debug configuration to debug extension running in wdio vscode environment.
A typescript configuration example would be appreciated.
thanks

For those having the same issue, check this thread to debug an installed vscode app https://stackoverflow.com/questions/39003860/how-can-i-debug-installed-vscode-extensions
I didn't manage to make the source map work to debug ts files, but it's a good start to be able to debug js files

@Th3CracKed please check out the Marquee project where I use this package for e2e testing. When a test fails it shows me the correct ts lines.
Setting up a TypeScript project is not particular something this project is concerned about. Can you specify what improvements you like to see to have this issue closed?

@christian-bromann  thanks for your answer, The stack trace are showed correctly for ts files.
I don't understand how wdio vscode service load run the extension. Ideally I want to put the debugger on my extension code and run the e2e test to check if the things I mock are correctly mocked and debug failing tester faster.
Currently I have really low visibility on the state of my extension when running with a wdio vscode service, I do to add logs to help me understand what happening. but it's not ideal DX.

Currently I have really low visibility on the state of my extension when running with a wdio vscode service, I added logs to help me understand what happening. but it's not ideal DX.

Do you have any concrete suggestions how we can improve this?

being able to debug extension in vscode launched by wdio vscode.
Maybe if there's a way to automate the steps  https://stackoverflow.com/questions/39003860/how-can-i-debug-installed-vscode-extensions combined with vscode chrome debug
Now I use logging to understand what's happening on the extension

Setting breakpoints in your extension code and have the test stop at these points is surely possible in some way.

@christian-bromann my observation is that when debugging with wdio-vscode-service, neither placing debugger statements in the extension's source code, or calling executeComand() work.
Placing debugger in the test suite code, or adding breakpoints to the test suit code works, but not in the extension itself (while being automated by wdio-vscode-service)
The issue is that on startup a socket to VS Code is opened, but once VS Code opens a folder/project, the socket is closed and executeComand() no longer works.

Placing debugger in the test suite code, or adding breakpoints to the test suit code works, but not in the extension itself (while being automated by wdio-vscode-service)

Yeah, it would be very difficult to support breakpoints within the extension. Again, as mentioned before: probably possible, no idea how though.


Functionality to remove image once uploaded

Feature request-
Add functionality to remove image once uploaded for the blog post.
(Once uploaded, we can only replace but not remove an image)

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

I would like to work on this issue. As part of gssoc21

/assign

@abhishek96k working on this ? Should add a demo to explain this issue better or did you get it ?

Can I work on this issue

Instead of completely removing the profile , we can replace the profile with a default profile picture , just like in whatsapp or any other social media.
If that is what you want , please let me implement the feature

Instead of completely removing the profile , we can replace the profile with a default profile picture , just like in whatsapp or any other social media.
If that is what you want , please let me implement the feature

No, I was talking about the image you upload while posting a blog. checkout issue description 🙂

@Pranav016 I am thinking of adding a button similar to profile image delete button. Will that be okay?

@Pranav016 please check this while you're online

@Pranav016 I am thinking of adding a button similar to profile image delete button. Will that be okay?

@Pranav016 I am thinking of adding a button similar to profile image delete button. Will that be okay?

Ok

/assign


Use env file for configuration

closes https://polygonid.atlassian.net/browse/CID-90?atlOrigin=eyJpIjoiM2Y2NWI4MDI0ZWMxNDIyMTk3ZDQ2YjMzZjQ2ODVmODciLCJwIjoiaiJ9
This PR removes config.toml file and change the config way to var environments and and environment files.

Closed to do not disturb people using current config.toml format. We will add this feature at some point when the project is more stable.

Closed to do not disturb people using current config.toml format. We will add this feature at some point when the project is more stable.


Features/0.1.1

Adjusts instructions, error messages, fixes a bug, makes download URL configurable, and uses new binary URLs.

I haven't tested this with OS X yet, but I seem to remember testing the binary for osx several months ago and having no issues with it.

Also, I tried coming up with a better way to do a release of the Infer binaries - currently I think the way it is done is probably the easiest/best.

Can you rename this to something more descriptive?


added Subscriptions Buy Onetime Addon API

Hi there, I've added this API endpoint:
https://www.zoho.eu/subscriptions/api/v1/?src=subscriptions-webapp#Subscriptions_Buy_one-time_addon
Please review and merge.
Thanks a lot.

That looks great, thanks for the efforts. Shipping it!!

@kruijs-pixelconcept - Pushed as NuGet package v0.6.21 👍


Add gnomad_gks() and get_gks() for extracting gks information for a specified variant

Added variant_report() code to produce a JSON with VRS information for the variant in question. NOTE THAT 1) I have not been able to get with open() to work for gs:// paths and there are still some left-behinds from when I was running this locally.
There are some pretty obvious changes I still need to make AND we need to discuss what we actually want this to return. Do we want it to write out the json or return it as a variable or?
Much to discuss, but I just wanted to get the code I do have up in the correct place !

I like leaving get_vrs as a more generic function, and then building up a new function for the va schema and allowing users to specify the pops they want and if they want it split by sex (and that way if they only want one pop they don't end up with a giant json). Here's some pseudocode to show that suggestion:
def get_gnomad_gks(version: str, variant:str, ancestry_groups: list=None, by_sex: bool=True):
# Based on version, load in proper gnomad ht and run get_vrs function on the specified version
vrs_id_for_pop = "XXX"

if not ancestry_groups:
    ancestry_groups = POPS["v" + str(version[0])]

list_of_ancestry_jsons = []

def _fill_in(ht, index_int, pop_id, label_str, version, vrs_id_for_pop):
    variant_freq = ht.freq[index_int]
    subpop_record = {
        "subpopulationFrequency": [
            {
                "id": pop_id,
                "type": "PopulationAlleleFrequency",
                "label": f"{label_str} Population Allele Frequency for ID",
                "focusAllele": vrs_id_for_pop,
                "focusAlleleCount": variant_freq["AC"].collect()[0],
                "locusAlleleCount": variant_freq["AN"].collect()[0],
                "alleleFrequency": variant_freq["AF"].collect()[0],
                "population": f"gnomad3:{pop_id}",
                "ancillaryResults": {
                    "homozygotes": variant_freq["homozygote_count"].collect()[0]
                    },
                }
            ]
        }
    return subpop_record

 # Filter ht to variant
for ancestry_group in ancestry_groups:
    key = f'{ancestry_group}-adj'
    index_value = ht.freq_index_dict.get(key)
    result = _fill_in(ht =ht, index_int=index_value, pop_id=ancestry_group, label_str=POP_NAMES[ancestry_group], version=version)
    list_of_ancestry_jsons.append(result)

    if by_sex:
        for sex in ["XX", "YY"]:
            key = f'{ancestry_group}-{sex}-adj'
            # similar as lines above per ancestry group

as per commit comments, just fixed up some stuff with gnomad_gks and how tables are imported and some names and arguments. TODO TOMORROW: tackle new ID that was just introduced 10 days ago that Kyle helped with , verifying JSON against their model (not just that it converts), and adding documentation and doc strings. Ideally done in the AM

Meant to leave this a bit ago, but things worth looking at would be:

import around line #10 (note: the way I calculate GRCh37 Seq_IDs wound up giving me the same results as GRCh38? I can re-check though)
addition of location IDs around #1228
some likely inefficiencies surrounding the usage of lists and .append() concerning line #1327 and #1412 (pending with next commit , there were some changes that weren't included in this commit - I think I forgot to save or something:/ )
arguments when gnomad_gks() calls get)gks()

Let me know if you have any comments or questions or concerns!

from Phil:

FYI it looks like the CytobandInterval is also missing its type (or at least it was as of last time I grabbed sample data). I can work around that for now, but the GraphQL API depends on the data it gets from upstream having type on all classes where the schema calls for it

Hey all. Just checking on the status of this PR. What is still needed?

Hey Alex, a couple notes on some very recent development:
Admin/Git : When rebasing this PR and the PRs branched off of it, I encountered a weird problem with GitHub Desktop and VSCode's version control that wound up confusing/mangling the Git History for the PR. The Variant Report Code functions weren't touched, but all of the changes from main since we created the branch are showing up as commits and in the 'Files Changed' tab - which is absolutely not what should be happening , and confuses the PR a great deal. As much as I'd like to just blame GitHub Desktop for this , this is partially on me . In response to this, at the suggestion of Steve Jahl, the quickest and clearest solution was just to make new copies of PR with only the relevant code changes. I've only gone and created these PRs yesterday - I'll link the copy to this one below:
Copy of: Add gnomad_gks() and get_gks() for extracting gks information for a specified variant
Progress : My own PR off of this branch, linked here which refactors the code and makes it smoother/more comprehensible on our end, is only maybe one review away from merging.
Let me know if you have any comments or questions or concerns about this update!

Closing because copied to new PR: https://github.com/broadinstitute/gnomad_methods/pull/596


Fail on errors

yuhuuuuuuuuuuuuuuuuu testing!

sorry wrong repository.

          1 Error

  :no_entry_sign:
  Please include a CHANGELOG entry.

You can find it at CHANGELOG.md.

  Generated by :no_entry_sign: danger


python312Packages.pyserial-asyncio-fast: 0.11 -> 0.12

https://github.com/bdraco/pyserial-asyncio-fast/compare/0.11...0.12
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

32 packages built:

home-assistant-component-tests.elkm1
home-assistant-component-tests.homeassistant_green
home-assistant-component-tests.homeassistant_hardware
home-assistant-component-tests.homeassistant_sky_connect
home-assistant-component-tests.homeassistant_yellow
home-assistant-component-tests.opentherm_gw
home-assistant-component-tests.otbr
home-assistant-component-tests.upb
home-assistant-component-tests.velbus
home-assistant-component-tests.zha
python311Packages.elkm1-lib
python311Packages.elkm1-lib.dist
python311Packages.pyotgw
python311Packages.pyotgw.dist
python311Packages.pyserial-asyncio-fast
python311Packages.pyserial-asyncio-fast.dist
python311Packages.upb-lib
python311Packages.upb-lib.dist
python311Packages.velbus-aio
python311Packages.velbus-aio.dist
python312Packages.elkm1-lib
python312Packages.elkm1-lib.dist
python312Packages.pyotgw
python312Packages.pyotgw.dist
python312Packages.pyserial-asyncio-fast
python312Packages.pyserial-asyncio-fast.dist
python312Packages.upb-lib
python312Packages.upb-lib.dist
python312Packages.velbus-aio
python312Packages.velbus-aio.dist
python312Packages.zha
python312Packages.zha.dist


Hide the postMeterBar

There's a new annoyance that doesn't seem to be blocked by the extension:

CSS classes of this bar:
postMeterBar u-sizeFullWidth u-fixed u-backgroundWhite u-boxShadowTop u-borderBottomLightest u-bottom0 js-meterBanner

Thanks, yep seems like blocking .js-meterBanner should be good (but I need to confirm). I'll get to this when I can -- otherwise feel free to submit a pull request!

Fixed with #26.


Replace links with buttons

[ ] book
[x] movie
[x] request
[x] wiki

Hey could i take up this issue?

@FleetAdmiral Sure, go ahead!

#111 PR for button link on a book

@swapagarwal seems like all Low-Hanging-Fruit issues that are fantastic for a newbie as my self, have all been scooped up.  Are you planning on creating a newer list of the aforementioned?

Hey, is this open?

@nubianMONK Thanks for taking an interest! Yes, I'll be adding a few more low-hanging fruits. You might want to keep an eye out for them.
@SabareeshIyer Sorry, this is closed now. You can work on other issues / new additions.


TextField and TextFormField don't use error color from ColorScheme

TextField and TextForm field use theme's ColorScheme to get their colours, but they don't get the error colour from the ColorScheme. They get it from errorColor in ThemeData. And it is an inconsistency.
Steps to reproduce

Create a ColorScheme and set the error propriety
Create a TextField

Expected results: a TextField with error color same in the ColorScheme
Actual results: TextField gets its error colour from errorColor in ThemeData
I think this is an inconsistency.
Also, it would be nice that ThemeData proprieties would have a description that recommends using a color scheme
Sample code:
MaterialApp(
   theme: ThemeData(
     colorScheme: ColorScheme.light(
       error: Colors.green,
     ),
   ),
   home: Scaffold(
     body: TextField(
       decoration: InputDecoration(
         errorText: "Some error",
       ),
     ),
   ),
 )

This result in

As you can see this is not green
   Previous description
## Steps to Reproduce

Set some colours in the theme
Create a TextField

Expected results: a TextField themed properly (accent coloured border, etc.)
In version 2.0.x it worked like this.
Also, the documentation says it should be using the theme so it is a bug.
Actual results: the TextField has a default blue coloured border and not even the error colour(which is very annoying to set using InputDecoration) is inherited

Logs

[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_GB.UTF-8)
    • Flutter version 2.2.3 at /home/rares/snap/flutter/common/flutter
    • Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/rares/.apps/android-sdk/
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /var/lib/snapd/snap/android-studio/current/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[✓] Android Studio (version 2020.3)
    • Android Studio at /var/lib/snapd/snap/android-studio/114/android-studio
    • Flutter plugin version 59.0.2
    • Dart plugin version 203.8292
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] Android Studio (version 4.2)
    • Android Studio at /var/lib/snapd/snap/android-studio/113/android-studio
    • Flutter plugin version 58.0.1
    • Dart plugin version 202.8531
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Android Studio
    • Android Studio at /var/lib/snapd/snap/android-studio/current/android-studio/
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /var/lib/snapd/snap/android-studio/current/android-studio/
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.107

! Doctor found issues in 1 category.

Hi @rares45, Thanks for filing the issue, Could you please provide a minimal reproducible code to better address the issue.
Thanks.

I know I can use InputDecorationTheme, but that is not great, especially when I want more forum types, but with the same colours.
Code sample:
MaterialApp(
      themeMode: ThemeMode.dark,
      darkTheme: ThemeData.dark().copyWith(
        primaryColor: Colors.amber,
        accentColor: Colors.green,
      ),
      home: Scaffold(
        body: TextField(),
      ),
    )

Actual result of this:

The color is not amber nor green.

and not even the error colour

I am not sure I understand what you meant by this.

I mean the errorColor in ThemeData which is used to show error(that's dispalyed when the validate function retunr a error). ThemeData.dark() comes with a desatured red, but when TextFormField show a simple red from the light theme.

@rares45 thanks for the clarification I can reproduce the issue using theme the color of the border isn't changing, Also note that accent color is now deprecated and is now replaced with secondary color of  ColorScheme, You can read more about the deprecation here
This issue seems to be related to https://github.com/flutter/flutter/issues/44100
You can read about the current theme updates here

@maheshmnj So after some more experimenting I moved everything to ColorScheme and this fixed everything. So this is more a problem accentColor is not properly marked as deprecated. Also, I found out that setting errorColor in ThemeData sets the error colour, but if I set error in ColorScheme it does nothing.
So basically my issue is just some small lack of documentation and a problem with not using ColorScheme in error.

@rares45 Thanks for the details, could you please update the above description with sufficient details, so that we could update the issue accordingly.
Thanks

@rares45 Thanks for the update, I can reproduce it, Error color is not being applied to error text from ColorScheme.error

This is part of https://github.com/flutter/flutter/issues/91772

Deprecate ThemeData.errorColor (4) ⇒ ColorScheme.error

Is there any propriety to set fillColor of an outlined TextField?
In InputDecoration we can set filled: true and fillColor: _bgColor and use setState when focus changed, error occurred or widget disabled, but it's cumbersome for so much status and their background colors.

TextField in material 2 is using ThemeData.errorColor as a fallback.
But in Material 3 we have updated the fallback error color to use the ColorScheme, so the issue is fixed in M3.
Related PR:  #107943

@guanshuwen The fill color is a separated issue from the errorColor issue.
If you want to set different fillColors in different states, try [MaterialStateColor].
If you want to discuss it further. You can create another issue.


feat: add events and status for ApisixClusterConfig resource

Please answer these questions before submitting a pull request

Why submit this pull request?

[ ] Bugfix

[x] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues
#455

@gxthrj Update https://github.com/apache/apisix-ingress-controller/blob/master/samples/deploy/rbac/apisix_view_clusterrole.yaml to add the permissions, also, change the clusterrole in e2e test suites, also adding some test cases to cover it.

@gxthrj Update https://github.com/apache/apisix-ingress-controller/blob/master/samples/deploy/rbac/apisix_view_clusterrole.yaml to add the permissions, also, change the clusterrole in e2e test suites, also adding some test cases to cover it.

Updated clusterrole.

Record an issue to supplement: https://github.com/apache/apisix-ingress-controller/issues/517


CLI --extend-tsconfig argument

Search Terms
CLI tsconfig
Suggestion
Add a mechanism to extend the current ts-config configuration via the CLI utility through an argument.
Use Cases
I am writing a thin wrapper around the tsc (ttsc) CLI tool to inject plugins for path resolution. I don't want consumers to manually include the plugins so I am attempting to transparently extend an existing target config with the plugin declarations.
This isn't possible so instead I am creating a tsconfig.temp.json next to the tsconfig.json and cleaning it up after the operation completes
Examples
tsc --extend-tsconfig /absolute/path/to/tsconfig.master.json

Inline configuration extension would be fantastic also
tsc --extend-tsconfig--inline "{ \"compilerOptions\": { ... } }"

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

I really wish this was available. Would be super useful with lint-staged where we can't ignore tsconfig.json but would like it to only apply to staged files, not the entire project.

@alshdavid AFAICT this isn't fixed?  The CLI docs do not show any option that lets one achieve this, and specifying both -p and source files still gives
error TS5042: Option 'project' cannot be mixed with source files on a command line.

So: I think this should be reopened?

Ah perhaps this is a dupe of #27379


[Android] Generate extra pagination method (for next page)

Added pagination classes to android-core and use them to generate pagination functions in autorest.android.


Initial implementation of remote table provider

Please see commit messages for detailed descriptions.

Jenkins failure was due to an existing test which might be flaky:
testParallelReadWriteSameKey[4] FAILED
org.junit.ComparisonFailure: expected:<val[2]> but was:<val[1]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.apache.samza.storage.kv.TestKeyValueStores.testParallelReadWriteSameKey(TestKeyValueStores.scala:416)
I don't see how this patch can be causing such flakiness.


How to apply Calligraphy for views created programmatically?

As I see from the sample app, all views which use Calligraphy are created in XML. I couldn't see how the library can be applied when we create views programmatically. In my case, when I create TexView then the library doesn't work for it. Is that an intended behaviour?

The whole point of Calligraphy was to avoid having to apply typefaces outside of the style system.
If you want to apply Typefaces programmatically, you can do that - programmatically ;)

Hi, @chrisjenx. I've stumbled upon this problem too, and the solution you suggest here doesn't seem to be as elegant as Calligraphy ought to be ;)
As you said, we have the style system and it's okay to want to create some views programmatically using this style system. Consider the following example:
Activity.java:
...
TextView myTextView = new TextView(context, null, R.attr.myTextViewStyle);
...

themes.xml
...
<item<EMAIL_ADDRESS>...

styles.xml
  <style name="Widget.My.TextView" >
    <item name="fontPath">fonts/myFont.ttf</item>
  </style>

Now it doesn't work, so it would be great if it would be possible to apply font face in a single additional Calligraphy call here.


Shortcut Dimension 1 & 2 Code Missing from Invoice Aggregates

Trying to use the Purch/Sales Aggregates for my API Pages and noticed that the Shortcut Dimension 1 Code and Shortcut Dimension 2 Code properties are missing.  See below referenced Page:
https://github.com/microsoft/ALAppExtensions/blob/master/Apps/W1/APIV2/app/src/pages/APIV2SalesInvoices.Page.al

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Handle clicking on AudioStream change in AudioStreamPlayer2D/3D

Godot version:
3.2 master (3a68b241)
OS/device including version:
All
Issue description:
#25974 aimed at fixing a clicking noise when changing AudioStreams as reported in #25087, but it introduced bugs and was reverted by #28469.
Then @reduz implemented a proper fix for AudioStreamPlayer in 040b59c, but did not do it for AudioStreamPlayer2D and AudioStreamPlayer3D. The code from this commit should be ported over to those two classes.

I'd be interested in giving this a try

is this issue still open? I would like to work on it.

@alokranjan1234 It seems like it's still available for grabs, go ahead :slightly_smiling_face:

Haven't had time yet, so go ahead

Anyone still working on this?

@SamSindt It doesn't seem like anyone is working on it currently, so you could give it a try.

@SamSindt are you working on this still?
I was reading the code and have a few questions, why are certain variables volatile? I don't think the usage (the only one --- where you are dealing with specialised hardware that writes to memory) applies here.

@hbina I am still working on it but am having trouble replicating the bug on MacOS. Feel free to give it a try.

Kewl, I don't quite understand how to apply the changes from reduz's patch because there are lots of different functions from there and here...

Removing the junior job label, as it doesn't seem easy to implement.

I am having this issue in my game. But reading your comments ... gave me and idea. Spawn new StreamPlayer3D node every time new sound is played. And delete it when sound ends. I love you guys!

I am having this problem (and other audio problems which don't belong with this issue) on 3.2 stable with AudioStreamPlayer on Linux. It doesn't matter if the audio is wav or ogg. The audio is flawless if played with automatic looping, but has painfully obvious clicks/static when played by changing streams. (AudioStreamPlayer.stream=x).

@SoapSpangledGames As a workaround, try creating a new AudioStreamPlayer after freeing the previous one.

The problem persists when I change my code to create a new AudioStreamPlayer after freeing the previous one.
Initially, I created the AudioStreamPlayer as part of the scene design, and just changed the stream as each sound finished playing.
After your suggestion, I removed it from the scene design in the IDE, and created it in code, queue_free()'ing it and recreating it in my finished() event handler. Either way, the clicking is still present.

How long is the sound? This is likely a different problem then (#22016).

The sounds are 0.1 seconds to 0.7 seconds (the 0.7 second sound is silence), played in rapid succession.

This should be fixed in 4.0. @akien-mga Do we want to keep this issue open for 3.x?

Let's closed as fixed in 4.0 then. If anyone wants to work on a non-intrusive fix for this issue in 3.x though, feel free to.


Help for INSTALLATION in Homeassistant

I am a Beginner with Homeassistant.
I have an MG5 and wanted install your Installation.
The Intagration with the userinterface of Homeassistant was not successful.
Then I tried to download zip-file and copied it in to the folder
\<IP_ADDRESS>\config\custom_components
of Homeassistant
Then I tried
$ python ./mqtt_gateway.py -m tcp://my-broker-host:1883 -u  -p
Unfortunatly without success.
Please help me.
How can install your MG-Integration in Homeassistant.

Hello (a nice to have stuff)
On which type of computer are you running HA?
Do you know docker?
Did you try the install methods listed in the github?
Because the use of the service is not depending of HA. I am using it with jeedom for example. It just has to run and to have access to the internet.
To use the service, you have to install a mqtt broker and for easiness of use, to activate mqtt discovery in the service configuration file.
Antoine

@karl1809 For HA there's an add-on available

Hello Tonio16, hallo nanomad,
thank you a lot for your help.
I couldnow successful install the addon, but there are still errors and no connection .
I can find a device "saic" in homeassistant but no integration.
My inputs are "name", "pass" and "telefon".
Are there other inputs strongly necessary?
I have installet Mosquito-MQTT-Broker in Homeassistant
2024-03-16 12:41:35,356 [  INFO  ] [CONNECTION MADE] - gmqtt.mqtt.protocol
2024-03-16 12:41:35,357 [WARNING ] [CONNACK] 0x5 - gmqtt
2024-03-16 12:41:35,358 [  INFO  ] [CONN CLOSE NORMALLY] - gmqtt.mqtt.protocol
2024-03-16 12:41:35,358 [  INFO  ] [RECONNECT] ignored error while disconnecting, trying to reconnect anyway - gmqtt
2024-03-16 12:41:35,358 [ ERROR  ] Exception in callback MqttPackageHandler._handle_exception_in_future(>)
handle: <Handle MqttPackageHandler._handle_exception_in_future(>)> - asyncio
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 684, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/app/./mqtt_gateway.py", line 395, in run
await self.publisher.connect()
File "/usr/src/app/mqtt_publisher.py", line 83, in connect
await self.client.connect(host=self.host, port=self.port, version=gmqtt.constants.MQTTv311, ssl=ssl_context)
File "/usr/local/lib/python3.12/site-packages/gmqtt/client.py", line 235, in connect
raise self._error
gmqtt.mqtt.handler.MQTTConnectError: code 5 (Connection Refused: not authorised)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/gmqtt/mqtt/handler.py", line 217, in _handle_exception_in_future
if future.exception():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gmqtt/client.py", line 255, in reconnect
async def reconnect(self, delay=False):
asyncio.exceptions.CancelledError
2024-03-16 12:41:41,368 [  INFO  ] [CONNECTION MADE] - gmqtt.mqtt.protocol
2024-03-16 12:41:41,370 [WARNING ] [CONNACK] 0x5 - gmqtt
2024-03-16 12:41:41,372 [  INFO  ] [CONN CLOSE NORMALLY] - gmqtt.mqtt.protocol
Traceback (most recent call last):
File "/usr/src/app/./mqtt_gateway.py", line 855, in
asyncio.run(mqtt_gateway.run(), debug=debug_log_enabled())
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 684, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/app/./mqtt_gateway.py", line 395, in run
await self.publisher.connect()
File "/usr/src/app/mqtt_publisher.py", line 83, in connect
await self.client.connect(host=self.host, port=self.port, version=gmqtt.constants.MQTTv311, ssl=ssl_context)
File "/usr/local/lib/python3.12/site-packages/gmqtt/client.py", line 235, in connect
raise self._error
gmqtt.mqtt.handler.MQTTConnectError: code 5 (Connection Refused: not authorised)
2024-03-16 12:41:41,390 [ ERROR  ] Task was destroyed but it is pending!
task: <Task pending name='Task-9' coro=<Client.reconnect() done, defined at /usr/local/lib/python3.12/site-packages/gmqtt/client.py:255> wait_for=> - asyncio
2024-03-16 12:41:41,402 [ ERROR  ] Task was destroyed but it is pending!
task: <Task pending name='Task-1' coro=<Client._resend_qos_messages() running at /usr/local/lib/python3.12/site-packages/gmqtt/client.py:176>> - asyncio
sys:1: RuntimeWarning: coroutine 'Client._resend_qos_messages' was never awaited

"bc8a9ee2_saic_python_mqtt_gateway": {
"name": "SAIC MQTT Gateway (Python)",
"slug": "bc8a9ee2_saic_python_mqtt_gateway",
"version": "0.5.15",
"version_latest": "0.5.15",
"update_available": false,
"state": "error",
"repository": "SAIC iSmart API Home Assistant Add-on",
"icon": true,
"auto_update": true,
"changelog": "# SAIC MQTT Gateway (Python)\n\nAttention: With 0.5.x the saic gateway uses the new API version. Please switch to legacy version if the new API doesn't work for you!\n\n## 0.5.15\n\n### Fixed\n\n* Battery capacity for MG5 SR Comfort\n\n## 0.5.14\n\n### Fixed\n\n* Report correct total battery capacity for the MG4 Throphy Extended Range (Fixes #152)\n  \n## 0.5.10\n\n### Added\n\n* MQTT: Add support for scheduled battery heating. Payload is JSON with startTime and mode (on or off)\n* HA: Expose scheduled battery heating\n* HA: Expose some switches as sensors as well to ease automations\n\n## 0.5.9\n\n### Added\n\n* MQTT: Add support for battery heating. True means ON, False means OFF\n* HA: Expose battery heating as an ON-OFF switch\n\n## 0.5.8\n\n### Added\n\n* MQTT: Add support for heated seats control on both front left and front right seats. Values range from 0-3 on some\n  models, 0-1 on others. 0 means OFF\n* HA: Expose heated seats control as either a select with 4 states (OFF, LOW, MEDIUM, HIGH) or as a ON-OFF switch\n  depending on the reported car feature set\n\n## 0.5.7 \n\n### Fixed\n\n* Align some vehicle control commands to their actual behavior on the official app\n* Door closing command should be more reliable now\n\n### Added\n\n* The new option SAIC_PHONE_COUNTRY_CODE can be used to specify the country code for the phone number used to login\n\n## 0.5.2\n\n### Fixed\n\n* Gateway was not logging-in properly after a logout\n\n### Changed\n\n* Config option SAIC_REST_URI now points to the new production API endpoint by default\n\n### Added\n\n* Config option SAIC_REGION is used to select the new API region\n* Config option SAIC_TENANT_ID is used to select the new API tenant\n\nBoth values default to the EU instance production values\n\n### Removed\n\n* Drop config option SAIC_URI as it is no longer relevant\n\n## 0.5.1\n\n### Fixed\n\n* Typo in check_for_new_essages() fixed\n\n### Added\n\n* Configurable messages-request-interval\n\n## 0.5.0\n\n### Changed\n\n* Switch to saic-python-client-ng library (New SAIC API)\n* blowing only command fixed\n\n## 0.4.7\n\n### Changed\n\n* Whenever a chargingValue is received that is different from the last received value, a forced refresh is performed\n* The socTopic is an optional field in the charging station configuration\n\n## 0.4.6\n\n### Fixed\n\n* Detection of battery type\n* Remove special characters from username to generate valid MQTT topics\n* Setting ha_discovery_enabled to False had no effect\n* Docker image based on python:3.11-slim\n* Force refresh by charging station only if charging value has changed\n* MQTT connection error logging \n* Front window heating enables "Blowing only"\n\n## 0.4.5\n\n### Fixed\n\n* Binary string decoding issue fixed in saic-python-client 1.6.5\n  \n## 0.4.4\n\n### Fixed\n\n* Error message decoding issue fixed in saic-python-client 1.6.4\n\n## 0.4.3\n\n### Fixed\n\n* Previous fix corrects dispatcher message size for V2 messages. Now it is also fixed for V1 messages.\n\n## 0.4.2\n\n### Fixed\n\n* Previous fix works only for messages without application data. Those are typically error messages that are provided with wrong dispatcher message size\n\n## 0.4.1\n\n### Fixed\n\n* Calculate dispatcher message size and use the calculated value if it differs from the provided API value\n  \n## 0.4.0\n\n### Added\n\n* Control charge current limit\n* Dynamic refresh period during charging\n* Force polling around scheduled charging start\n* Further A/C enhancements\n* Generic charging station integration (OPENWB_LP_MAP argument is deprecated now)\n* TLS support\n\n## 0.3.0\n\n### Added\n\n* Keep polling for a configurable amount of time after the vehicle has been shutdown\n* Battery (SoC) target load\n* Start/Stop charging\n* Enhanced A/C control\n* Turn off message requests when refresh mode is off\n* Home Assistant auto-discovery\n\n### Fixed\n\n* Vehicle and charging status updates stop after a while\n* Inconsistent topic name for battery management data (BMS) removed\n\n## 0.2.4\n\n### Added\n\n* docker support for architecture linux/arm/v7\n\n## 0.2.3\n\n### Added\n\n* Using new saic-ismart-client (version 1.3.0)\n* Feature: transmit ABRP data even if we have no GPS data\n\n### Fixed\n\n* empty environment variables are ignored\n* Driving detection fixed\n\n## 0.2.2\n\nVehicle control commands are finally working\n\n### Added\n\n* Turn front window defroster heating on or off\n* Turn A/C on or off\n* Configurable re-login delay\n* Using new saic-ismart-client (version 1.2.6)\n* Environment variable to configure log level\n\n### Fixed\n* environment variable overwrites the predefined default value\n\n## 0.2.1\n\n### Added\n\n* MQTT commands documented in README.md\n\n### Changed\n\n* Wait 15 seconds (average SMS delivery time) for the vehicle to wake up.\n* Using new saic-ismart-client (version 1.1.7)\n\n### Fixed\n\n* Make force command more reliable\n\n## 0.2.0\n\n### Changed\n\n- latest to 0.2.0 \n\n### Fixed\n\n- MQTT\n  - PRESSURE_TO_BAR_FACTOR corrected\n  - remoteClimateState topic corrected\n  - Fix possible 'list index out of range' IndexError when processing VIN\u2026 \n  - Using latest SAIC iSMART client version\n  - force single fetch by MQTT message\n"
}
},

Hi @karl1809,
the line gmqtt.mqtt.handler.MQTTConnectError: code 5 (Connection Refused: not authorised) looks like your MQTT Broker requires authentication.
Try with:
python ./mqtt_gateway.py -m tcp://my-broker-host:1883 -u SAIC_USER -p SAIC_PASSWORD --mqtt-user MQTT_USER --mqtt-password MQTT_PASSWORD

Actually the gateway doesn't need an integration. You will find your car in the mqtt integration as a device

Thank you a lot for your great help. Now it works after a few trials.
I completet MQTT-User and MQTT-Pass and my SAIC-Username (=HandyNo without country-Code) and my SAIC-Pass. My country-code (49) I put in in a separate line.