add-project-script missing in (dev) dependencies?

Describe the bug
manage.py initial_sockpuppet throws error during tutorial https://sockpuppet.argpar.se/setup-django
To Reproduce
Just follow the instructions on https://sockpuppet.argpar.se/setup-django
Expected behavior
There should be no errors
Screenshots or reproduction
./manage.py initial_sockpuppet
Wrote to /home/christian/Projekte/reflex/package.json:

{
  "name": "reflex",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "Christian González<EMAIL_ADDRESS>  "license": "ISC"
}

/home/christian/.nvm/versions/node/v13.6.0/bin/add-project-script -> /home/christian/.nvm/versions/node/v13.6.0/lib/node_modules/add-project-script/dist/index.js
+<EMAIL_ADDRESS>added 11 packages from 6 contributors in 1.014s
/bin/sh: Zeile 1: add-project-script: Kommando nicht gefunden.
Build and watch already in package.json, so skipping these
removed 11 packages in 0.199s

Maybe add-project-script is missing and should be installed before (globally?) - this should be mentioned in the setup.
Versions
Django-sockpuppet

pypi: 0.5.0

External tools

Python: [e.g. 3.9]
Django: [e.g. 3.5.1]
OS: [Linux]

The intention that add-project-script would be installed in initial_sockpuppet as you can see here -> https://github.com/jonathan-s/django-sockpuppet/blob/master/sockpuppet/management/commands/initial_sockpuppet.py#L13-L16
Not sure exactly what is happening on your machine. If you find out it'd be helpful!

The intention that add-project-script would be installed in initial_sockpuppet as you can see here -> https://github.com/jonathan-s/django-sockpuppet/blob/master/sockpuppet/management/commands/initial_sockpuppet.py#L13-L16
Not sure exactly what is happening on your machine. If you find out it'd be helpful!

ok, seems ok. I think the problem is on my machine. I tried to install npm install -g add-project-script directly, and got the same result.
If I start a "Js venv" with `nvm use stable", it installs ok. So this is my fault for sure here, I somehow certainly messed up the npm env. but there are a few other small problems, I'll open another issue for that.

ok, seems ok. I think the problem is on my machine. I tried to install npm install -g add-project-script directly, and got the same result.
If I start a "Js venv" with `nvm use stable", it installs ok. So this is my fault for sure here, I somehow certainly messed up the npm env. but there are a few other small problems, I'll open another issue for that.

Hm, it's not as easy as I thought. There might be a bug/enhancement in django-suckpuppet as well, so maybe I'd like to reopen this bug, If it's ok for you.
the script seems to have problems installing add-project-script globally with npm. I tried it with more a nvm environments, and the system node package, no success. I always get the error that it is already installed, and can't overwrite it.
npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/add-project-script/dist/index.js' ->
'/home/christian/.nvm/versions/node/v13.6.0/bin/add-project-script'.

I think the problem is that the script assumes that add-project-script is not installed. And if it is, if fails. a --force flag to npm (like it suggests it) helps and fixes my problem.
May I suggest to add this to the script?

Hm, it's not as easy as I thought. There might be a bug/enhancement in django-suckpuppet as well, so maybe I'd like to reopen this bug, If it's ok for you.
the script seems to have problems installing add-project-script globally with npm. I tried it with more a nvm environments, and the system node package, no success. I always get the error that it is already installed, and can't overwrite it.
npm ERR! EEXIST: file already exists, symlink '../lib/node_modules/add-project-script/dist/index.js' ->
'/home/christian/.nvm/versions/node/v13.6.0/bin/add-project-script'.

I think the problem is that the script assumes that add-project-script is not installed. And if it is, if fails. a --force flag to npm (like it suggests it) helps and fixes my problem.
May I suggest to add this to the script?

That looks fine to me. There's a couple of failures in the tests (which I'd say is unrelated to your change, flakey tests). So I'll have a look into that myself.
You mentioned that you are somewhat of a novice, and a lot of people think the entire javascript/webpack kerfuffle is quite a hassle.
So I wanted to ask you.

To what extent does this workflow so far help you? (aside from the errors)?
Would you want to have an option to be able to use yarn instead?
Is it clear that you don't need webpack/npm (although there will be certain things you won't be able to do).
If you were to compare it to https://github.com/hotwire-django/stimulus-webpack-tools which works in similar ways, is that more helpful? (in that case it might be worth implementing some of that functionality here).

And thanks for taking the time to open an issue in the first place!

That looks fine to me. There's a couple of failures in the tests (which I'd say is unrelated to your change, flakey tests). So I'll have a look into that myself.
You mentioned that you are somewhat of a novice, and a lot of people think the entire javascript/webpack kerfuffle is quite a hassle.
So I wanted to ask you.

To what extent does this workflow so far help you? (aside from the errors)?
Would you want to have an option to be able to use yarn instead?
Is it clear that you don't need webpack/npm (although there will be certain things you won't be able to do).
If you were to compare it to https://github.com/hotwire-django/stimulus-webpack-tools which works in similar ways, is that more helpful? (in that case it might be worth implementing some of that functionality here).

And thanks for taking the time to open an issue in the first place!

That looks fine to me. There's a couple of failures in the tests (which I'd say is unrelated to your change, flakey tests). So I'll have a look into that myself.

You mentioned that you are somewhat of a novice, and a lot of people think the entire javascript/webpack kerfuffle is quite a hassle.

Definitely. I spent months figuring out the "perfect" system with Django and Bootstrap, Django and Vue, Django and Svelte, Alpine.js, velocity, with Webpack, Rollup, Snowpack etc. in many combinations. Proxying the packing dev server through a middleware into the Django dev server, redirecting content, etc. etc.
I feel somehow overwhelmed and the only essence I got out of it: technology is not far evolved enough yet. Everything half-baked and nearly-there. No solution could convince me really.
Django & sockpuppet was the first thing that impressed me deeply - because I EVER wanted to keep the Django templates, which allow server side packaging of frontends in different apps.
I am writing a Django plugin system (as Django apps are not pluggable): GDAPS - and wanted to implement an easy way to include frontends into Django - so I created a mgmt command like yours, to move some frontend files into place (using Django templates here too, instead of e.g. cookiecutter), and calling vue CLI, npm and similar Js/node commands from within Django. So I have some little experience with that, and I ran into some errors because the node env was not detected properly.
My frontend "generators" are pluggable - Vue is just one of them, Svelte should follow, but even Qt/PySide etc should be possible. My aim is that every GDAPS plugin (= a Django app which could be installed via pip, and is running instantly in tha current Django application) contains it's frontend package too But I NEVER got it right (just asked at the django-developers mailing list to get some clues) to have it both: Django templates, AND e.g. own webcomponents in the frontend to use components based development - and I NEVER got it to work yet.
Until I found Dj-sockpuppet... ;-)
Seems very nice to me. So maybe I'll ditch my GDAPS frontend part completely and just keep the backend part (the plugin system itself).

So I wanted to ask you.
* To what extent does this workflow so far help you? (aside from the errors)?

You mean the initial_sockpuppet mgmt command?
This is really great! Only documentation is a bit confusing here... Maybe I can help you here too a bit. From a (dj-sockpuppet) "beginners" view it could be made "easier" to follow.

I would rename the command init_sockpuppet - or longer initialize_sockpuppet.
It should be more error tolerant. ATM it breaks/stops if errors occur - there could be done more within try:except blocks (npm not available, etc).

* Would you want to have an option to be able to use yarn instead?

Definitely. Have a look at GDAPS, I created "pluggable" Classes for that purpose:
https://gitlab.com/nerdocs/gdaps/-/blob/master/gdaps/frontend/pkgmgr/__init__.py#L31
You can use them (and adapt to your needs) it you want. Don't mind the AGPL, I hereby relicense these Classes under the MIT ;-)

* Is it clear that you don't need webpack/npm (although there will be certain things you won't be able to do).

No, not clear. Normally the workflow is: webpack build -> manage.py collectstatic -> serve for production. But for development with HMR this is really hard to achieve IMHO. Things like django-webpack-loader and webpack-bundle-tracker are working well, but are IMHO very compicated to configure if you start from zero. No sane defaults, no easy config. AND worst: No use of Django templates.
AND: webpack is bloated and slow. Compared to e.g. snowpack.

* If you were to compare it to https://github.com/hotwire-django/stimulus-webpack-tools which works in similar ways, is that more helpful? (in that case it might be worth implementing some of that functionality here).

Didn't know it - but reading the README seems very clear to me, yes. I integrated parts of that workflow in GDAPS.fronend too: I created e.g vue-extensions and integrated them into the GDAPS backends similarly to the stimulus-webpack-tools' webpack --bundle command.
I think there is no other way to assemble distributed js snippets/entry points from different Django apps into one frontend.

And thanks for taking the time to open an issue in the first place!

You're welcome.

That looks fine to me. There's a couple of failures in the tests (which I'd say is unrelated to your change, flakey tests). So I'll have a look into that myself.

You mentioned that you are somewhat of a novice, and a lot of people think the entire javascript/webpack kerfuffle is quite a hassle.

Definitely. I spent months figuring out the "perfect" system with Django and Bootstrap, Django and Vue, Django and Svelte, Alpine.js, velocity, with Webpack, Rollup, Snowpack etc. in many combinations. Proxying the packing dev server through a middleware into the Django dev server, redirecting content, etc. etc.
I feel somehow overwhelmed and the only essence I got out of it: technology is not far evolved enough yet. Everything half-baked and nearly-there. No solution could convince me really.
Django & sockpuppet was the first thing that impressed me deeply - because I EVER wanted to keep the Django templates, which allow server side packaging of frontends in different apps.
I am writing a Django plugin system (as Django apps are not pluggable): GDAPS - and wanted to implement an easy way to include frontends into Django - so I created a mgmt command like yours, to move some frontend files into place (using Django templates here too, instead of e.g. cookiecutter), and calling vue CLI, npm and similar Js/node commands from within Django. So I have some little experience with that, and I ran into some errors because the node env was not detected properly.
My frontend "generators" are pluggable - Vue is just one of them, Svelte should follow, but even Qt/PySide etc should be possible. My aim is that every GDAPS plugin (= a Django app which could be installed via pip, and is running instantly in tha current Django application) contains it's frontend package too But I NEVER got it right (just asked at the django-developers mailing list to get some clues) to have it both: Django templates, AND e.g. own webcomponents in the frontend to use components based development - and I NEVER got it to work yet.
Until I found Dj-sockpuppet... ;-)
Seems very nice to me. So maybe I'll ditch my GDAPS frontend part completely and just keep the backend part (the plugin system itself).

So I wanted to ask you.
* To what extent does this workflow so far help you? (aside from the errors)?

You mean the initial_sockpuppet mgmt command?
This is really great! Only documentation is a bit confusing here... Maybe I can help you here too a bit. From a (dj-sockpuppet) "beginners" view it could be made "easier" to follow.

I would rename the command init_sockpuppet - or longer initialize_sockpuppet.
It should be more error tolerant. ATM it breaks/stops if errors occur - there could be done more within try:except blocks (npm not available, etc).

* Would you want to have an option to be able to use yarn instead?

Definitely. Have a look at GDAPS, I created "pluggable" Classes for that purpose:
https://gitlab.com/nerdocs/gdaps/-/blob/master/gdaps/frontend/pkgmgr/__init__.py#L31
You can use them (and adapt to your needs) it you want. Don't mind the AGPL, I hereby relicense these Classes under the MIT ;-)

* Is it clear that you don't need webpack/npm (although there will be certain things you won't be able to do).

No, not clear. Normally the workflow is: webpack build -> manage.py collectstatic -> serve for production. But for development with HMR this is really hard to achieve IMHO. Things like django-webpack-loader and webpack-bundle-tracker are working well, but are IMHO very compicated to configure if you start from zero. No sane defaults, no easy config. AND worst: No use of Django templates.
AND: webpack is bloated and slow. Compared to e.g. snowpack.

* If you were to compare it to https://github.com/hotwire-django/stimulus-webpack-tools which works in similar ways, is that more helpful? (in that case it might be worth implementing some of that functionality here).

Didn't know it - but reading the README seems very clear to me, yes. I integrated parts of that workflow in GDAPS.fronend too: I created e.g vue-extensions and integrated them into the GDAPS backends similarly to the stimulus-webpack-tools' webpack --bundle command.
I think there is no other way to assemble distributed js snippets/entry points from different Django apps into one frontend.

And thanks for taking the time to open an issue in the first place!

You're welcome.

I'm a bit clearer now, regarding the Javascript/bundler topic. To answer your question about "is it clear you don't need webpack/npm" etc to do certain things" more exactly:
From a beginner's view (I'm not really a beginner, but not very fluent with Js/bundlers like webpack), it's hard to wrap one's head arount how things work with sockpuppet. All other solutions work the other way round. And again: I've searched more than a few years for this almost-perfect solution, using Django templates, and "responsive" UI with states kept at the backend.
But my main problem here - and this is where more docs would be very helpful - is, how to combine webpack (rollup, parcel, snowpack etc. with django-sockpuppet. Because there is no easy way to combine the develeopment server output with sockpuppet... in a way I know of. I don't want to make a SPA, I'd like to keep state in Django/python and use Dj.templates.
But what is terribly needed is something like webcomponents. You can create some easily with e.g. Svelte, but you have to compile them first. But How do I get them in to the mix with sockpuppet? There is a wc library named Shoelace, which works fine when including it using a CDN. But for applications that should work in a contained env (like an Intranet, without direct web access, or without wanting it to access external ressources) you hve to install this libs locally and bundle them.
But how do I bundle eg. Svelte, or even Vue.js, or Shoelace, with a bundler, use their components (or own built webcomponents) - AND use django-sockpuppet?
If you give me a hint here, I could try to improve the dj-sp docs here too - if this is desired.

I'm a bit clearer now, regarding the Javascript/bundler topic. To answer your question about "is it clear you don't need webpack/npm" etc to do certain things" more exactly:
From a beginner's view (I'm not really a beginner, but not very fluent with Js/bundlers like webpack), it's hard to wrap one's head arount how things work with sockpuppet. All other solutions work the other way round. And again: I've searched more than a few years for this almost-perfect solution, using Django templates, and "responsive" UI with states kept at the backend.
But my main problem here - and this is where more docs would be very helpful - is, how to combine webpack (rollup, parcel, snowpack etc. with django-sockpuppet. Because there is no easy way to combine the develeopment server output with sockpuppet... in a way I know of. I don't want to make a SPA, I'd like to keep state in Django/python and use Dj.templates.
But what is terribly needed is something like webcomponents. You can create some easily with e.g. Svelte, but you have to compile them first. But How do I get them in to the mix with sockpuppet? There is a wc library named Shoelace, which works fine when including it using a CDN. But for applications that should work in a contained env (like an Intranet, without direct web access, or without wanting it to access external ressources) you hve to install this libs locally and bundle them.
But how do I bundle eg. Svelte, or even Vue.js, or Shoelace, with a bundler, use their components (or own built webcomponents) - AND use django-sockpuppet?
If you give me a hint here, I could try to improve the dj-sp docs here too - if this is desired.


Issue/stabilize traffic light2

Description
Copied over this PR: https://github.com/inmanta/inmanta-core/pull/8329
closes Add ticket reference here
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[ ] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Pull request rejected by merge tool. This pull request has not been approved yet.

Merged into branches master in 99a3b5b10b6c71d0474d5de6af2ef0b24ae34c89


⚠ Hartman Foundation has degraded performance

In 486ccb9, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2253 ms

Resolved: Hartman Foundation performance has improved in d4f7c99.

Resolved: Hartman Foundation performance has improved in d4f7c99.


Swiper autoplay and loop properties not working proper in Angular 2+ on server.

Hello Swiper Team,
I am using Angular6 with CLI. I have install Swiper package in my project - "angular2-useful-swiper": "^5.0.1" and "swiper": "^3.4.2".
1st Issue on server
I am using below config  loop: true and autoplay: 1000 added but autoplay not working on server. In my local system working fine
Config1: SwiperOptions = {
    pagination: '.swiper-pagination',
    paginationClickable: true,
    spaceBetween: 30,
    loop: true,
    slidesPerView: 1,
    autoplay: 1000
  }

2nd Issue on server
I am using same config as above except autoplay but Swiper loop not working properly. I have attached ZIP file for videos for local and dev server. Please download and check it.
Config2: SwiperOptions = {
    pagination: '.swiper-pagination',
    paginationClickable: true,
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    spaceBetween: 30,
    loop: true,
    slidesPerView: 4
  };

videos-of-issue.zip
If any doubt or any confusion then let me know. I will try to explain in brief.

Hello Team,
Same issue getting in my project also. Please give some solutions for server build.
Thank you Team.

@nolimits4web Any updates?


Make taskbar not overlay apps

I'm not sure if this is actually possible or not, but would it be possible to make Taskbar show up underneath all apps rather than an overlay, like how the navbar shows up?

I also do not like overlay.
Maybe taskbar could show on press "home" button. And show the current launcher (home screen) on long press "home" button.
Maybe it can popup like a keyboard. This way, when visible, it will be docked down.
(Off topic 1 - I have 10" tablet and it will be useful to set custom/bigger size of open/close (and other) taskbar buttons.
Off topic 2 - Recent applications can work without "usage access" - showing only applications started from taskbar.)


Support cross compiling / No std builds

When using cquery for cross compilation I have the problem that it adds the pathes of the system compiler to the include path and not the ones of the cross compiler. To fix this I propose the following changes:

If the --sysroot flag is detected for a file the built-in specs of that cross compiler should be used instead of the system compiler ones.

If  -nostdlib flag is detected no std lib include pathes should be added.

If supporting something like this is not complicated than SGTM, but there is a limit to what the auto-setup logic can do without completely re-implementing clang command line parsing.

If you use gcc to cross-compile then include paths of the system compiler are not the only problem you will find. cquery uses libclang in order to compile translation units and for clang to work in cross-compilation you need additional flags as not only --sysroot flag is required - you also need --target and --gcc-toolchain. cquery may parse files properly but it will definitely report a lot of errors from your headers.

I use cquery mainly for embedded kernel development. It works better than any other tool even with the wrong target and sysroot. I just set some endian defines. Of course I have many errors but I do not care as long as jumping to definition/references works.
I agree that it is problematic to duplicate all the clang command line parsing. What about extracting all the information from the command compiler binary by asking it for its machine and sysroot without looking at the other flags. The only thing is the -nostd thing that cannot be extracted from that.

I agree that it is problematic to duplicate all the clang command line parsing. What about extracting all the information from the command compiler binary by asking it for its machine and sysroot without looking at the other flags. The only thing is the -nostd thing that cannot be extracted from that.

We currently extract system include headers in this manner.
@athei if you have your cross compiler be an path (ie, /bin/cross-gcc) in your compile_commands.json cquery will query that compiler for system includes first.

Okay I create the compile_commands.json without the command only with arguments. I will fix my script.
Still, this is only headers,  --target and --gcc-toolchain is still missing, right?

I don't recall if cquery looks at command, the first value of arguments is supposed to be a compiler, ie, for me it is
"command": "/work/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/apps/apps/app_lifetime_monitor.o.d -DV8_DEPRECATION_WARNINGS -DDCHECK_ALWAYS_ON=1 -DUSE_UDEV -DUSE_AURA=1..."

The compiler (clang++) is a path.

But only when supplied as extra arguments and not when supplied in compile_commands.json, right?

No, cquery passes results.args as the flags for GetSystemIncludes. The results.args is populated by cquery by sanitizing your flags. Then cquery loops through the sanitized flags and cherry-picks what flags to keep for the system header discovery.

I don't recall if cquery looks at command, the first value of arguments is supposed to be a compiler, ie,

I tried that (with --check). Unfortunately it cquery ignores the command. It would help alot if it would use it.

For figuring out the system headers, cquery does take into account --gcc-toolchains, --sysroot and -nostdlib.

At least for me this does not work. I have -nostdinc in my arguments and at the end
-isystem/usr/lib/gcc/x86_64-linux-gnu/7/include -isystem/usr/local/include -isystem/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -isystem/usr/include/x86_64-linux-gnu -isystem/usr/include
is added. I see them both at the same time using --check.


Cannot build in Windows inside MINGW32 bash session

Hello!
I'm unable to build from sources for Windows running inside a bash session of Mingw32:
$ go build ./cmd/upterm/...
# github.com/jingweno/upterm/host/internal
host\internal\command.go:86:21: undefined: syscall.SIGWINCH
host\internal\command.go:87:9: undefined: syscall.SIGWINCH
host\internal\pty.go:13:12: undefined: pty.Start
host\internal\pty.go:33:9: undefined: pty.Getsize
host\internal\pty.go:54:11: undefined: pty.Winsize
host\internal\pty.go:58:9: undefined: pty.Setsize
```

@Dnm-28 upterm is never tested on windows. There may be stuff that doesn't work. Would running upterm in WSL an option?

@Dnm-28 upterm is never tested on windows. There may be stuff that doesn't work. Would running upterm in WSL an option?

hi, I'm friend with OP and saw this bug happen. We could try that and see what happens.

indeed, WSL is the way to go.
You can close this issue now.

Closing this issue because windows support is planned for the future.

The issue still persists. WSL is not an option for me, unfortunately, and everything should run natively on Windows.


JWT Token Generation issue results in invalid_client error

For some reason after December 2022, using this library stopped working for me.
After extensive debugging it seems like for some reason Apple servers don't like tokens generated using .net
I extracted the code from GetAuthorizationToken to debug and experiment on it. Even tho the generated JWT seems to completely fine and appropriate when checking it on https://jwt.io, I get an invalid_client error.
I discovered the issue is the JWT token generation because if I generate it using some simple nodejs code it works.
Consider this code:
var restClient = new AppleRestClient();
var appleClientSecret = new TokenGenerator().GenerateAppleClientSecret(privateKey, appleOAuthSettings.TeamId, appleOAuthSettings.ClientId, appleOAuthSettings.KeyId);
var requestMessage = restClient.GenerateRequestMessage("authorization_code", authorizationCode, appleClientSecret, appleOAuthSettings.ClientId, appleOAuthSettings.RedirectUrl);
var response = await restClient.SendRequest(requestMessage);
var tokenResponse = JsonSerializer.Deserialize<AuthorizationToken>(response);

If I replace the value of appleClientSecret with a JWT that has the exact same properties and was made using the same key, as verified with https://jwt.io, but using nodejs, the rest of the code will work properly. Instead of an invalid_client error I just get the expected output.
Here is the nodejs code I used to generate the token (taken from https://www.npmjs.com/package/apple-auth):
const jwt = require("jsonwebtoken")

let exp = Math.floor(Date.now() / 1000) + ( 86400 * 180 ); // Make it expire within 6 months

const claims = {
    iss: teamId,
    iat: Math.floor(Date.now() / 1000),
    exp,
    aud: 'https://appleid.apple.com',
    sub: clientId,
};

jwt.sign(claims, privateKey, { algorithm: 'ES256', keyid }, (err, token) => {
    console.log(token)
});

I am not sure if anyone else is dealing with this issue or what the cause may be, it has stunlocked me for months. Any help would be appreciated.

Hi, @SasLuca
I just did a quick testing and everything is working on my end is working as before. Are you sure that your setup in the apple portal is complete? Usually you shouldn't get invalid_client error if there is something wrong with the token, but you will get invalid_grant.

Yeah. If I generate the jwt token using nodejs instead of dotnet, but send it with the http client from dotnet, it all works. It seems pretty clear the dotnet token generation is the issue but I can't figure out why.
When I compare the nodejs and dotnet generated tokens on jwt.io there doesn't seem to be any difference.
I am using .net7 with rider on windows 11, maybe I should check the nuget versions of any dependencies too.
One theory I have is that the ecdsa dotnet implementation maybe uses a way to generate the random numbers it needs using the deterministic method which apple might check for and reject, but I'll have to see about that when I debug later today.
If you made a small project to try and reproduce the issue and it works for you, could you share it with me and just remove your private details? It would be interesting to see if that one works.

So, I created a fresh repo to reproduce this and it worked fine, so I realized maybe some dependency is different between my main project and this fresh one.
This led me to find the issue, it seems like there is a problem in Microsoft.IdentityModel.JsonWebTokens with version 6.19.0 which makes this library not work. I will investigate further.

Ok, so after debugging this with a friend it turns out Microsoft had a regression in Microsoft.IdentityModel.JsonWebTokens version 6.18.0 the details of which you can find here: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/1861
They started adding this cty field to the header of the JWT that Apple specifically doesn't like. This was then fixed in version 6.20.0. People who encounter this issue can by-pass the issue when using appleauth-net by specifically adding the package with a version >6.20.0 for Microsoft.IdentityModel.JsonWebTokens.
Not sure if the library should address this somehow, might be worth documenting this at the very least in the readme so people can be aware of it, it was very hard for me to find this.

@SasLuca Thanks a lot for the effort! We can probably specify versions for the dependencies in the next release.


Disable all fields on submitting

I think it would be useful if fields[key].disabled will depend on form.submitting.
What are you think?

I think that is too opinionated. It's pretty easy to add disabled={submitting}, but harder to remove the value for those that don't want that behavior. Perhaps if I get a lot of demand for it, it could be a config option.

:-1: on doing this by default.

Hey, I get only false values for submitting. (console.log(submitting) on render)
I use disabled={submitting} on a button or input type=submit, I use handleSubmit onClick
any advice?
thanks!

@jonathanasquier Is your onSubmit returning a Promise?

I'm using onSubmit={ handleSubmit(stripeCardCreateToken) }
stripeCardCreateToken is a thunk that dispatches success/errors actions on resolve/reject.

At the moment, the only way for the submitting flag to change is for the onSubmit (stripeCardCreateToken, in your case) to return a Promise. When calling Redux actions directly, this usually requires some sort of promise middleware.
If/when someone comes up with a good way for the redux-form reducer to be informed about actions to listen to for submitting, another "more Reduxy" method might become available.

Works well with promise middleware.
I have nested thunks so I could not just return a promise, I ended up hacking it in another state property. Thanks!


TopN query on multi-value dimension ignores null values

Using Druid 0.10.1,
When running a topN query on a multi-valued dimension, Druid only returns the aggregation results for non-null values.
The following TopN query:
{
  "queryType": "topN",
  "dataSource": "audience-breakdown",
  "intervals": "2017-09-07T00Z/2017-09-08T00Z",
  "granularity": "all",
  "dimension": {
    "type": "default",
    "dimension": "listenerDma",
    "outputName": "DMA"
  },
  "aggregations": [
    {
      "name": "TLS",
      "type": "longSum",
      "fieldName": "tls"
    }
  ],
  "metric": "TLS",
  "threshold": 3
}

Produces this response:
[
    {
        "timestamp": "2017-09-07T00:00:00.000Z",
        "result": [
            {
                "DMA": "803",
                "TLS": 2798577
            },
            {
                "DMA": "501",
                "TLS": 2509147
            },
            {
                "DMA": "602",
                "TLS": 1779172
            }
        ]
    }
]

Whereas using a similar groupBy query:
{
  "queryType": "groupBy",
  "dataSource": "audience-breakdown",
  "intervals": "2017-09-07T00Z/2017-09-08T00Z",
  "granularity": "all",
  "dimensions": [
    {
      "type": "default",
      "dimension": "listenerDma",
      "outputName": "DMA"
    }
  ],
  "aggregations": [
    {
      "name": "TLS",
      "type": "longSum",
      "fieldName": "tls"
    }
  ],
  "limitSpec": {
    "type": "default",
    "columns": [
      {
        "dimension": "TLS",
        "direction": "descending"
      }
    ],
    "limit": 3
  }
}

We can see that the largest group is actually the one having null in the listenerDma dimension:
[
    {
        "version": "v1",
        "timestamp": "2017-09-07T00:00:00.000Z",
        "event": {
            "DMA": null,
            "TLS": 8770694
        }
    },
    {
        "version": "v1",
        "timestamp": "2017-09-07T00:00:00.000Z",
        "event": {
            "DMA": "803",
            "TLS": 2798577
        }
    },
    {
        "version": "v1",
        "timestamp": "2017-09-07T00:00:00.000Z",
        "event": {
            "DMA": "501",
            "TLS": 2509147
        }
    }
]

Is this the expected behavior of topN? If so, then why does it properly return the null group when I run my query on a single valued dimension?
For instance, if I use the city dimension (which is single valued):
{
  "queryType": "topN",
  "dataSource": "audience-breakdown",
  "intervals": "2017-09-07T00Z/2017-09-08T00Z",
  "granularity": "all",
  "dimension": {
    "type": "default",
    "dimension": "city",
    "outputName": "City"
  },
  "aggregations": [
    {
      "name": "TLS",
      "type": "longSum",
      "fieldName": "tls"
    }
  ],
  "metric": "TLS",
  "threshold": 3
}

Druid does return an aggregated value for null
[
    {
        "timestamp": "2017-09-07T00:00:00.000Z",
        "result": [
            {
                "TLS": 2412533,
                "City": null
            },
            {
                "TLS": 634690,
                "City": "Los Angeles"
            },
            {
                "TLS": 609145,
                "City": "Houston"
            }
        ]
    }
]

Thanks,
Nicolas

Looks to me like a bug.

Is that issue fixed in 0.11 version? We encounter topN issues with the aggregation results in 0.11 version when multi-valued dimension is null and I am wondering whether is related to this bug or not.
Thanks,
Stelian

Looks like this is fixed in #5278 via commit 219e77aeac9b07dc20dd9ab2dd537f3f17498346, so it'll be present in the 0.13 release.

Hi @nishantmonu51, would you please double check that this issue was fixed in #5278?

This is fixed in the 0.16.0 release


Drag&Drop with files is broken

Describe the bug
Since DataFormats.FileNames is marked as Obsolete, users are encouraged to use DataFormts.Files instead.
DataFormats.Files requires the usage of IStorageItem instead of strings, which makes it impossible to use file paths since BclStorageFile/Folder are internal.
To Reproduce
Steps to reproduce the behavior:
Drag the files text in the DnD page of the ControlCatalog.
The file path should be visible below, though GetFiles returns null since dataObject.Get(DataFormats.Files) is a string[] and not an IEnumerable<IStorageItem>.
Expected behavior
For supported platforms, there should be a way to create a BclStorageFile/Folder in order to use it for DnD.
Screenshots
Desktop (please complete the following information):

OS: Arch Linux

I think control catalog was fixed before already. But this cast to array is wrong for sure.

For supported platforms, there should be a way to create a BclStorageFile/Folder in order to use it for DnD.

It's not an expected behavior. And dragndrop is not broken.
You already can create a file from string. See StorageProvider.TryGetFileFromPathAsync (Or FromUriAsync).


Can't generate more than 1000 records

When we use the following command to generate random data, we get just 100 keys generated in Redis
riot -u redis://localhost generate --count=2000
although the output of command execution is the following

The same for the following command
riot -u redis://localhost faker-import --count=2000 id="#index" passport="passport.valid" nationality="nation.nationality" bloodType="bloodtype.bloodGroup" firstName="name.firstName" lastName="name.lastName" address="address.fullAddress" hset --keyspace person --keys id

count is for the number of iterations. The number of records is driven by the --keys range option which by default is 1 to 1000. I will make that key range unbounded by default so that you don't have to specify both count and keys.


Revert "Bump codecov/codecov-action from 3 to 4"

Reverts metoppv/improver#1942

What was Dependabot trying to achieve by incrementing this value?

Ensuring we use the latest action version.  The github action UI becomes stale over time and we should be using the latest version of an action to ensure that it is current.

Will this happen again? If so, how can we prevent it?

A consequence of an unofficial action which removed a v4 release after it was created.
https://github.com/codecov/codecov-action/issues/1089 for more context.
Hopefully shouldn't happen in future.


Unhandled Exception: [core/duplicate-app] A Firebase App named "[DEFAULT]" already exists, after deleting the app from firebase console and re-running flutterfire configure in my existing flutter project root

Steps to Reproduce
Create a new app in firebase console.
Start a new flutter app locally in your development environment.
Install all required dependencies for flutterfire (-and ofc flutter cli etc)
Configure your flutter app using flutterfire configure , choose the app you created previously in firebase console.

Reconfigure you flutter local app with fireflutter configure, this time choose the newly created app after deleting the previous by the same name from your firebase console.
Rerun your app with flutter run.
Expected results: App runs and displays UI etc.
Actual results: App hangs up in suspension on the async await of the firebase init, giving the logged error in console:
#0      MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:134:11)

Extra Notes: Before this change I could actually store stuff to my cloud firestore and retrieve some items from it, but nowhere in the firebase console could these documents and collection be found. Despite this, again - it was possible to store documents to a collection and retrieve them programmatically in Flutter(!!) Where is this [DEFAULT] app? is it an in memory thing or does it refer to some sort of cloud instance at the firebase backend?

Code sample
I'm initializing the app as firebase_options.dart was created successfully and includes all the required data.
Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );
  // await FirebaseApi.addRandomUsers(Users.initUsers);
  runApp(const MyApp());
}

Logs
Building macOS application...
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [core/duplicate-app] A Firebase App named "[DEFAULT]" already exists
#0      MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:134:11)
<asynchronous suspension>
#1      Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31)
<asynchronous suspension>
#2      main (package:executiveapp/main.dart:11:3)
<asynchronous suspension>

Attached analyze issues, however they are widget and style stuff not related (AFAICT) to the existing app issue.
   info • Avoid `print` calls in production code • lib/api/firebase_api.dart:17:5 • avoid_print
   info • Avoid `print` calls in production code • lib/api/firebase_api.dart:24:9 • avoid_print
   info • Unused import: 'package:meta/meta.dart' • lib/model/user.dart:1:8 • unused_import
   info • Avoid using private types in public APIs • lib/page/chat_page.dart:16:3 • library_private_types_in_public_api
   info • Avoid `print` calls in production code • lib/page/chats_page.dart:22:23 • avoid_print
   info • Unused import: 'dart:async' • lib/utils.dart:1:8 • unused_import
   info • Unused import: 'dart:convert' • lib/utils.dart:2:8 • unused_import
   info • Prefer const with constant constructors • lib/widget/chat_body_widget.dart:29:18 • prefer_const_constructors
   info • SizedBox for whitespace • lib/widget/chat_body_widget.dart:33:18 • sized_box_for_whitespace
   info • SizedBox for whitespace • lib/widget/chat_header_widget.dart:20:13 • sized_box_for_whitespace
   info • SizedBox for whitespace • lib/widget/chat_header_widget.dart:32:13 • sized_box_for_whitespace

11 issues found. (ran in 4.3s)

[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-x64, locale en-IL)
    • Flutter version 3.3.10 on channel stable at /Users/sivan/FlutterInstall2/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (5 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.1 22C65 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 109.0.5414.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

@sivang looks like a flutterfire issue

@iapicca should I open there as well? Got an idea to where this [DEFAULT] app is created so I can perhaps delete it to continue?

@iapicca should I open there as well?

@sivang
I think the issue should be opened only there

Closing from here as this is not a Flutter issue.


webdev doesn't recognize that firebase_auth is now supported for flutter_web

I get this build error whenever I try to build my flutter web project
webdev could not run for this project.
You have a dependency on firebase_auth which is not supported for flutter_web tech preview. See https://flutter.dev/web for more details.
the firebase_auth plugin works fine on web when I run the app. Now that the firebase_auth plugin works on web and there is no need to import firebase_auth_web how can the dependency builder recognize that it is now supporting the web ?

Hi @dhianabli
Can you please provide your flutter doctor -v,
your flutter run --verbose
and your pubspec.yaml.
Thank you

flutter doctor -v
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Linux, locale en_US.UTF-8)
• Flutter version 1.18.0-11.1.pre at /home/spectrum/development/flutter
• Framework revision 2738a1148b (4 weeks ago), 2020-05-13 15:24:36 -0700
• Engine revision ef9215ceb2
• Dart version 2.9.0 (build 2.9.0-8.2.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /home/spectrum/Android/Sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /snap/android-studio/90/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Android Studio (version 3.6)
• Android Studio at /snap/android-studio/88/android-studio
• Flutter plugin version 45.1.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] Android Studio (version 4.0)
• Android Studio at /snap/android-studio/90/android-studio
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (2 available)
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.97
• No issues found!
flutter run --verbose
[  +11 ms] executing: [/home/spectrum/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +33 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[        ] executing: [/home/spectrum/development/flutter/] git tag --contains HEAD
[ +160 ms] Exit code 0 from: git tag --contains HEAD
[   +5 ms] 1.18.0-11.1.pre
[  +15 ms] executing: [/home/spectrum/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/spectrum/development/flutter/] git ls-remote --get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +58 ms] executing: [/home/spectrum/development/flutter/] git rev-parse --abbrev-ref HEAD
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +60 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +13 ms] executing: /home/spectrum/Android/Sdk/platform-tools/adb devices -l
[  +83 ms] List of devices attached
[   +4 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +59 ms] More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
[  +55 ms] Web Server • web-server • web-javascript • Flutter Tools
[   +1 ms] Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.97
[  +13 ms] "flutter run" took 246ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:334:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:777:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:694:33)

#4      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart)
#5      AppContext.run. (package:flutter_tools/src/base/context.dart:150:29)
#6      _rootRun (dart:async/zone.dart:1184:13)
#7      _CustomZone.run (dart:async/zone.dart:1077:19)
#8      _runZoned (dart:async/zone.dart:1619:10)
#9      runZoned (dart:async/zone.dart:1539:10)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:684:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#13     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:339:21)
#14     _rootRunUnary (dart:async/zone.dart:1192:38)
#15     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#16     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)
#18     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#19     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:303:13)
#22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
#23     _rootRunUnary (dart:async/zone.dart:1192:38)
#24     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#25     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:686:45)
#27     Future._propagateToListeners (dart:async/future_impl.dart:715:32)
#28     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#29     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:560:7)
#30     _rootRun (dart:async/zone.dart:1184:13)
#31     _CustomZone.run (dart:async/zone.dart:1077:19)
#32     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#33     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1019:23)
#34     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
pubspec.yaml
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
#cupertino_icons: ^0.1.3
font_awesome_flutter: ^8.7.0
dots_indicator: ^1.0.0
timeago: ^2.0.26
intl: ^0.16.1
enum_to_string: ^1.0.9
carousel_slider: ^2.1.0
google_fonts: ^0.3.10
url_launcher: ^5.4.2
url_launcher_web: ^0.1.0
google_maps: ^3.4.1
flutter_typeahead: ^1.8.0
fleva_icons: ^1.0.2
string_validator: ^0.1.4
provider: ^4.0.5
fluttertoast: ^4.0.1
rxdart: ^0.24.0
image_picker_web: ^1.0.9
#image_picker: ^0.6.7
#image_picker_for_web: ^0.1.0
introduction_screen: ^1.0.8
mapbox_search: ^2.0.0
firebase_auth: ^0.15.2
cloud_firestore: ^0.13.2
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^1.6.2
build_web_compilers: ^2.0.0
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- images/a_dot_burr.jpeg
- images/a_dot_ham.jpeg
assets:
- assets/images/image0.jpg
- assets/images/image1.jpg
- assets/images/image2.jpg
- assets/images/image3.jpg
- assets/images/image4.jpg
- assets/images/image5.jpg
- assets/images/image6.jpg
- assets/images/user0.jpg
- assets/images/user1.jpg

I am getting the error whenever I trigger a push build with codemagic

Hi @dhianabli
please make sure to specify the device
[ +59 ms] More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
Thank you

flutter run --verbose -d chrome
[  +12 ms] executing: [/home/spectrum/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +37 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2738a1148ba6c9a6114df62358109407c3ef2553
[        ] executing: [/home/spectrum/development/flutter/] git tag --contains HEAD
[ +184 ms] Exit code 0 from: git tag --contains HEAD
[   +3 ms] 1.18.0-11.1.pre
[  +10 ms] executing: [/home/spectrum/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/spectrum/development/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +57 ms] executing: [/home/spectrum/development/flutter/] git rev-parse --abbrev-ref HEAD
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +63 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +16 ms] executing: /home/spectrum/Android/Sdk/platform-tools/adb devices -l
[  +55 ms] List of devices attached
[   +6 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] Changing current working directory to: /home/spectrum/StudioProjects/startupcreators
[ +200 ms] Found plugin cloud_firestore at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.6/
[  +10 ms] Found plugin cloud_firestore_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[  +22 ms] Found plugin firebase_auth at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +3 ms] Found plugin firebase_auth_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.3+1/
[   +2 ms] Found plugin firebase_core at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.5/
[   +3 ms] Found plugin firebase_core_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +4 ms] Found plugin flutter_keyboard_visibility at
/home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/
[  +15 ms] Found plugin fluttertoast at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/
[  +16 ms] Found plugin image_picker_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_web-1.0.9/
[  +14 ms] Found plugin path_provider at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.10/
[   +1 ms] Found plugin path_provider_linux at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/
[   +2 ms] Found plugin path_provider_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
[  +35 ms] Found plugin url_launcher at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.10/
[   +3 ms] Found plugin url_launcher_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/
[   +3 ms] Found plugin url_launcher_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+6/
[ +119 ms] Found plugin cloud_firestore at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.6/
[   +2 ms] Found plugin cloud_firestore_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[   +9 ms] Found plugin firebase_auth at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +2 ms] Found plugin firebase_auth_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.3+1/
[   +1 ms] Found plugin firebase_core at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.5/
[   +3 ms] Found plugin firebase_core_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +3 ms] Found plugin flutter_keyboard_visibility at
/home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/
[   +2 ms] Found plugin fluttertoast at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/
[   +6 ms] Found plugin image_picker_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_web-1.0.9/
[  +15 ms] Found plugin path_provider at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.10/
[   +2 ms] Found plugin path_provider_linux at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/
[   +3 ms] Found plugin path_provider_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
[  +23 ms] Found plugin url_launcher at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.10/
[   +2 ms] Found plugin url_launcher_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/
[   +3 ms] Found plugin url_launcher_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+6/
[  +63 ms] Generating /home/spectrum/StudioProjects/startupcreators/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +304 ms] Launching lib/main.dart on Chrome in debug mode...
[  +81 ms] Updating assets
[+1054 ms] Syncing files to device Chrome...
[  +14 ms] Found plugin cloud_firestore at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.6/
[   +2 ms] Found plugin cloud_firestore_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[   +6 ms] Found plugin firebase_auth at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +2 ms] Found plugin firebase_auth_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.3+1/
[   +1 ms] Found plugin firebase_core at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.5/
[   +1 ms] Found plugin firebase_core_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +3 ms] Found plugin flutter_keyboard_visibility at
/home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/
[   +2 ms] Found plugin fluttertoast at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/
[   +4 ms] Found plugin image_picker_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_web-1.0.9/
[   +5 ms] Found plugin path_provider at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.10/
[        ] Found plugin path_provider_linux at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/
[        ] Found plugin path_provider_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
[   +9 ms] Found plugin url_launcher at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.10/
[   +1 ms] Found plugin url_launcher_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/
[   +1 ms] Found plugin url_launcher_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+6/
[  +13 ms] Found plugin cloud_firestore at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.6/
[        ] Found plugin cloud_firestore_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-0.1.1+2/
[   +3 ms] Found plugin firebase_auth at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+3/
[   +1 ms] Found plugin firebase_auth_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.3+1/
[        ] Found plugin firebase_core at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.5/
[   +1 ms] Found plugin firebase_core_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/
[   +3 ms] Found plugin flutter_keyboard_visibility at
/home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/
[   +1 ms] Found plugin fluttertoast at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/
[   +3 ms] Found plugin image_picker_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_web-1.0.9/
[   +6 ms] Found plugin path_provider at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.10/
[   +1 ms] Found plugin path_provider_linux at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+1/
[        ] Found plugin path_provider_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/
[   +8 ms] Found plugin url_launcher at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.10/
[        ] Found plugin url_launcher_macos at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/
[        ] Found plugin url_launcher_web at /home/spectrum/development/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+6/
[   +6 ms] Generating /home/spectrum/StudioProjects/startupcreators/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +51 ms] <- reset
[  +10 ms] /home/spectrum/development/flutter/bin/cache/dart-sdk/bin/dart
/home/spectrum/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/spectrum/development/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.UTLCKV/app.dill --libraries-spec
file:///home/spectrum/development/flutter/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false
-Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions
--enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.YSZNLP --filesystem-scheme org-dartlang-app --initialize-from-dill
build/cache.dill --platform file:///home/spectrum/development/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +14 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+29702 ms] Syncing files to device Chrome... (completed in 29,879ms, longer than expected)
[        ] Synced 34.5MB.
[        ] <- accept
[ +858 ms] [CHROME]:
[   +2 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:38131/devtools/browser/1509a50d-b412-4511-8cc4-c0c714b1d33b
[+7141 ms] Debug service listening on ws://<IP_ADDRESS>:33871/bs90SCSV-tQ=
[ +885 ms] Debug service listening on ws://<IP_ADDRESS>:33871/bs90SCSV-tQ=
[   +2 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".

this is the error i get on codemagic when i build

Hi @dhianabli
if the issue does not occur locally, but only with your CI/CD
I recommend you to ask support directly to the service provider.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments and I will reopen it.
Thank you


xGov 161: VoteCoin - Introduction Video

What are the open source deliverables here? Are there any closed source deliverables?

Proposer, please post your algorand forum discussion thread link here. Thank you.

https://forum.algorand.org/t/xgov-prop-161-votecoin-introduction-video/11365

https://youtu.be/qxy_03LkeMo


[Feature Request] Update a json5 file

Detailed description
I have some configuration files that are sometimes updated automatically.  Is there a way to read a JSON5 file, update some keys, then write it back out, including the comments?
What I'm thinking of is the ability to run a computer command (e.g. composer requires symfony/yaml), listen for the installation event, then update a composer.json5 file.
I realize it's a long shot and not necessary in most cases, but I figured I'd ask.  It's so nice to have comments in JSON5!

Thanks for the suggestion!
I think this is a duplicate of #5?
Although I can certainly understand how nice this feature would be, it would require a significant rewrite of this library, so I don't have plans to implement this 😞

Makes sense.  It's almost impossible with YAML files as well.  Just not worth the effort.


filter_rank_genes_groups in version 1.6.0 takes an extremely long time to complete

[X] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of scanpy.
[ ] (optional) I have confirmed this bug exists on the master branch of scanpy.

Hi, Thanks for the great software package. I've noticed a very noticeable speed decrease with filter_rank_genes_groups between versions 1.5.1 and 1.6.0 (see below for the run times i was getting). I was working on a data set with ~19k cells x ~22k genes and 12 leiden clusters.
with version 1.5.1:
import time
start_time = time.time()
sc.tl.rank_genes_groups(adata, groupby = 'leiden', method = 'wilcoxon')
print("--- %s seconds ---" % (time.time() - start_time))
# --- 50.23415994644165 seconds ---

start_time = time.time()
sc.tl.filter_rank_genes_groups(adata, min_fold_change=1)
print("--- %s seconds ---" % (time.time() - start_time))
# --- 1.5828611850738525 seconds ---

with version 1.6.0:
import time
start_time = time.time()
sc.tl.rank_genes_groups(adata, groupby = 'leiden', method = 'wilcoxon')
print("--- %s seconds ---" % (time.time() - start_time))
# --- 49.53031611442566 seconds ---

start_time = time.time()
sc.tl.filter_rank_genes_groups(adata, min_fold_change=1)
print("--- %s seconds ---" % (time.time() - start_time))
# ---<PHONE_NUMBER>666199 seconds ---

I also noticed that it was using up 98% of my CPU while running filter_rank_genes_groups.
Versions

scanpy==1.5.1 anndata==0.7.4 umap==0.4.6 numpy==1.19.1 scipy==1.5.2 pandas==1.0.5 scikit-learn==0.23.1 statsmodels==0.11.1 python-igraph==0.8.2 leidenalg==0.8.1
and
-----
anndata     0.7.4
scanpy      1.6.0
sinfo       0.3.1
-----
Bio                 1.77
PIL                 7.2.0
adjustText          NA
anndata             0.7.4
annoy               NA
backcall            0.2.0
bbknn               NA
brotli              NA
cachecontrol        0.12.6
cairo               1.19.1
certifi             2020.06.20
cffi                1.14.1
changeo             1.0.0
chardet             3.0.4
cycler              0.10.0
cython_runtime      NA
dandelion           0.0.15
dateutil            2.8.0
decorator           4.4.2
descartes           NA
distance            NA
get_version         2.1
h5py                2.10.0
hdmedians           NA
idna                2.10
igraph              0.8.2
importlib_metadata  1.7.0
ipykernel           5.3.3
ipython_genutils    0.2.0
jedi                0.17.2
jinja2              2.11.2
joblib              0.16.0
kiwisolver          1.2.0
legacy_api_wrap     1.2
leidenalg           0.8.1
llvmlite            0.33.0
markupsafe          1.1.1
matplotlib          3.3.0
mizani              0.7.1
mpl_toolkits        NA
msgpack             1.0.0
natsort             7.0.1
networkx            2.4
numba               0.50.1
numexpr             2.7.1
numpy               1.19.1
packaging           20.4
palettable          3.3.0
pandas              1.0.5
parso               0.7.1
patsy               0.5.1
pexpect             4.8.0
pickleshare         0.7.5
pkg_resources       NA
plotnine            0.6.0
polyleven           NA
presto              0.6.1
prompt_toolkit      3.0.6
ptyprocess          0.6.0
pycparser           2.20
pygments            2.6.1
pyparsing           2.4.7
pytz                2019.2
requests            2.24.0
rpy2                3.3.5
scanpy              1.6.0
scipy               1.5.2
scrublet            NA
seaborn             0.10.1
setuptools_scm      NA
sinfo               0.3.1
six                 1.12.0
skbio               0.5.6
sklearn             0.23.1
socks               1.7.1
statsmodels         0.11.1
storemagic          NA
tables              3.6.1
texttable           1.6.2
tools               NA
tornado             6.0.4
tqdm                4.48.0
traitlets           4.3.3
tzlocal             NA
umap                0.4.6
urllib3             1.25.10
wcwidth             0.2.5
yaml                5.1.2
zipp                NA
zmq                 19.0.1
-----
IPython             7.17.0
jupyter_client      6.1.6
jupyter_core        4.6.3
-----
Python 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:57:50) [GCC 7.5.0]
Linux-4.4.0-189-generic-x86_64-with-debian-buster-sid
24 logical CPU cores, x86_64
-----
Session information updated at 2020-10-08 16:18

I think that we should deprecate this function.
What I use instead is the min_logfoldchange parameter of the sc.pl.rank_genes_groups_* plots

This will be fixed when this pr https://github.com/theislab/scanpy/pull/1391 is merged.


Manual identity mapping

Is it possible to provide the identity mapping between AAD and on-premise AD (e.g. by modifying IndentityMapLog) instead of generating it? We do not use Azure AD Connect.

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

ID: 5a35b397-3fe8-122e-042e-280326f88a38
Version Independent ID: 3e0f0afc-abeb-01be-d767-813cd6ad78db
Content: Migration import from TFS to Azure DevOps Services - Azure DevOps Services & TFS
Content Source: docs/articles/migration-import.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @kszicsillag , reaching out for some reinforcements here :) @roofers

@kszicsillag - At this time you can't manually edit the identity map log. The import utilizes Azure AD Connect to map identities solely. You will have to either configure Azure AD Connect or a do a completely historical import.

Thanks for the info. I am closing this.


Group check.v1 package with third-party package.

Is your feature request related to a problem? Please describe.
while enabling the gci linter in this PRhttps://github.com/kanisterio/kanister/pull/3094

check.v1 should NOT be in a separate "group".
check.v1 is a third-party package. The import statements should be grouped in 3 groups.

standard library imports
third-party packages
project local packages, that is those that are defined in the same module / project.

Describe the solution you'd like

Remove the . from . "gopkg.in/check.v1" and then group it with third-party package . Use check prefix when you are  gettting issue after removing .

#3094


Codeforce data extractor

Description
Get data from code forces, about events, blogs, contents etc
Technologies and Languages

Python
Codeforces API

Hi @ShivamPande18 , Sure go ahead. Looking forward to see your PR

hi @ShivamPande18 , go ahead. waiting to see your PR


Fix cluster local inference service

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1218
Special notes for your reviewer:

According to https://knative.dev/docs/serving/cluster-local-route/#label-a-service-to-be-cluster-local, the value should be cluster-local

Tested with the following example

apiVersion: "serving.kubeflow.org/v1beta1"
kind: "InferenceService"
metadata:
  name: "sklearn-iris-local"
  labels:
    serving.knative.dev/visibility: cluster-local
spec:
  predictor:
    sklearn:
      storageUri: "gs://kfserving-samples/models/sklearn/iris"

ksvc shows the correct local cluster url
kubectl get ksvc sklearn-iris-local-predictor-default
NAME                                   URL                                                                     LATESTCREATED                                LATESTREADY                                  READY   REASON
sklearn-iris-local-predictor-default   http://sklearn-iris-local-predictor-default.default.svc.cluster.local   sklearn-iris-local-predictor-default-8h7ck   sklearn-iris-local-predictor-default-8h7ck   True

kubectl get vs sklearn-iris-local
NAME                 GATEWAYS                                  HOSTS                                            AGE
sklearn-iris-local   [knative-serving/cluster-local-gateway]   [sklearn-iris-local.default.svc.cluster.local]   3m51s

Release note:

/lgtm


Configure aliases while configuring git

Closes #29

@extsoft Lets merge #88 first.

@extsoft Branch rebased and comments applied. Please, take a look.

@rultor please merge.

@rultor please merge.

@extsoft OK, I'll try to merge now. You can check the progress of the merge here

@rultor please merge.

@extsoft Done! FYI, the full log is here (took me 2min)


[Feature] Flash mode and MCU clock

Maybe i missed that but there is no possibility to set Flash Mode (QIO, QOUT, DIO and DOUT)
nor the MCU clock frequency in manifest.json

We can't support this because it's not supported upstream https://github.com/NabuCasa/ESP-Web-flasher/ . Once upstream has added support, we can re-open this issue.


Target class [App\Page] does not exist.

In Laravel 7: I ran php artisan make:crud PageController --model=Page --validation and then the following error appeared ...
A App\Page model does not exist. Do you want to generate it? (yes/no) [yes]:

yes

Model created successfully.
Illuminate\Contracts\Container\BindingResolutionException
Target class [App\Page] does not exist.
at C:\Users\Rafael\projects\cbc-website\vendor\laravel\framework\src\Illuminate\Container\Container.php:811
807|
808|         try {
809|             $reflector = new ReflectionClass($concrete);
810|         } catch (ReflectionException $e) {

811|             throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
812|         }
813|
814|         // If the type is not instantiable, the developer is attempting to resolve
815|         // an abstract type such as an Interface or Abstract Class and there is

1   C:\Users\Rafael\projects\cbc-website\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
ReflectionException::("Class App\Page does not exist")
2   C:\Users\Rafael\projects\cbc-website\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
ReflectionClass::__construct("App\Page")

Dear @rafamem, Thanks for reporting this isssue.
I fixed it right away.
Make sure using the latest version (v0.5.4).


Add an application selection so that the quick accent function is activated

Description of the new feature / enhancement
Add an application selection so that the quick accent function is activated
Scenario when this would be used?
Because it bothers me in other applications where I don't need it
Supporting information
No response

This is now in v0.76


improve test coverage for calling classes without the new keyword

While looking into #161 I noticed that several tests for the constructions of objects were not checking the message from the expected exception, which caused a couple of bugs to be missed (and some lines not to be covered).
I improved the tests and corrected the bugs, and also added similar tests to all constructable classes that were making the "invoke with new" check. I also standardized the test message and the general structure, since different tests seemed to be handling it with different naming conventions for the auxiliary variables.

Good catch! Thank you. Keep'em coming ;)


Revert "Create adesinaadeolamichael.md"

Reverts zuri-training/portfolia#29

Project team: project team 12
https://github.com/orgs/zuri-training/projects/291/views/1
github username: McEal
slack username: McEal
contributions
Worked on the Dashboard page both web app and mobile view
LoFi- https://www.figma.com/file/FvXha9ipVMKdcbSjo37P7E/Team-12-Portfolia-My-cms-(Copy)?node-id=158%3A107
HiFi- https://www.figma.com/file/FvXha9ipVMKdcbSjo37P7E/Team-12-Portfolia-My-cms-(Copy)?node-id=317%3A463
@McEal


Update landlord immigration outcome

PT story: https://www.pivotaltracker.com/story/show/110842668
There's a separate code of practice for tenancy checks in the rest of England that start in Feb 2016. There's a slightly different valid document list, so in the absence of a logic change, I've split the docs into areas.
Fact check
https://mighty-beach-3538.herokuapp.com/landlord-immigration-check
Expected changes

URL on gov.uk
Splits the list of required documents per region

Before

After

This PR supercedes #2226

LGTM

I've just rebased this with the master branch and forced pushed back to this branch


Adding mercuial prompt

Similar to git prompt I've added mercurial prompt.

:+1: Looks good to me Thanks.

Thanks to this PR now we have {hg} visible all the time when using git repos.
I don't understand why did you change config/git.lua ?

Seems my comment is gone.
Here it goes again.
Thanks to this PR now we have {hg} visible all the time when using git repos. I don't understand why did you change config/git.lua ?
Quick fix for this would be to completely remove git.lua since it seems that everything was merged into cmder.lua

Filed as https://github.com/bliker/cmder/issues/494


How to use viewCellExtractionOnMovie?

I have a bigTIFF video and have ran downsampling, motion correction, df/f, followed by CNMF-E (saved in .NWB format). I'm not sure how to correctly run viewCellExtractionOnMovie to obtain something like what's in the step-by-step guide where the outlines of extracted cells are superimposed on the video. When I run it via the GUI, I can get the video to display but there aren't any outlines. The .NWB output of CNMF-E is in the same folder as the video. Any help is appreciated!

@RandallJEllis Is the cell-extraction file format in the main GUI is set to NWB format (see below)?

And by default ciatah looks for NWB cell extraction files in the nwbFiles sub-folder within each analysis folder (see https://bahanonu.github.io/ciatah/data/#nwb-support). Can have ciatah search just the analysis folder by running obj.setMovieInfo; and setting the last option to blank, see below. I'd considered making ciatah fallback to searching the root directory for NWB cell extraction if nwbFiles sub-folder does not exist, might look into that again and implement.
I'll update the guide to make these details clearer.

Hi Biafra, thank you. This is what I'm seeing:

In the traceback, I see this:
Using secondary TIFF loading...
BigTIFF.
loading ImageJ tif: 0|10|20|30|40|50|60|70|80|90|100
Elapsed time is 8.340679 seconds.
movie class: uint8
movie size: 1536  2048   500
x-dims: 1536
y-dims: 2048
z-dims: 500
movie size: 1499.9995Mb | 1536  2048   500 | uint8
Elapsed time is 8.880069 seconds.
###
Search: _cnmfeAnalysis.mat
no files
Adding outlines to cells: 0|10|20|30|40|50|60|70|80|90|100

As you can see, no outlines. I do not have a file named _cnmfeAnalysis.mat, but I did not see anywhere to specify this. My CNMFE filename is _cnmfe_16cellwidth_800tau_2.5minpnrres_2minpnr.nwb

Hi Biafra,
Randy and I are working on the same dataset and similar configuration.
I modified Randy's folder structure to put the .nwb file from CNMFE extraction in a subfolder named 'nwbFiles'.
CIAtah was able to read my nwb file but as you can see from the below screenshot - the signalPeaks, signalPeaksArray, and valid all have "0  0" values whereas yours didn't in the tutorial video.
Is the _cnmfeAnalysis.mat file necessary for viewCellExtractionOnMovie to function? If so how to generate it?

Great to hear that modification worked and looks like from the matrix/tensor size loaded that the nwb files are being read correctly. Can you send me the NWB file to check? As loading should work in root folder if sub-folder is set to blank else can push out an update.
It looks like the X × Y size of the cell extraction outputs in the NWB file (384 × 512) is spatially 4x downsampled compared to the movie (1536 × 2048).

Is the displayed movie the same movie that was used to run cell extraction?
If you are loading the movie into RAM (or pre-loading) then you can also enable 4x downsampling in viewCellExtractionOnMovie options (see below with Simple settings chosen).

Also, could you send a screenshot of the options dialog in viewCellExtractionOnMovie? It is likely that you will have to run obj.modelVarsFromFiles, see https://bahanonu.github.io/ciatah/pipeline_detailed_signal_extraction_load/#loading-cell-extraction-output-data-with-modelvarsfromfiles.

That will only need to be run once after loading that instance of ciatah with that folder.
If you select to pre-load the movie, it will automatically also check whether signal peaks have been calculated and run that method if not (I'll see about changing this behavior to include non-preloaded cases with viewCellExtractionOnMovie, I've added auto-loading to a number of ciatah methods to hopefully reduce user confusion). But the signal peaks are not necessary for this function.

Thanks Biafra, I got it to work using your changes, and I was able to keep the NWB file in the root folder. Here are my screenshots:

Sorry Biafra, now I have another issue. While I'm able to visualize the cell extractions on the raw movie, I'm having trouble visualizing them on the dfof movie (which CNMF-E was ran on and has been downsampled 4x). I thought it would be a simple change but I'm getting a Unrecognized field name "GroupHierarchy". error. Here are my screenshots (dfof is the regex for the dfof movie):

Yes, thanks Biafra!


API: Add date filtering functionality to list of reports on daily data page

...

@bgantick pls complete AC

This was completed as part of Pipeline's work here: https://app.zenhub.com/workspaces/pipeline-6182b02547c1130010f459db/issues/cdcgov/prime-reportstream/5235


feat: add ImmortalX

To make a submission to the Dapps Page, please complete the task lists
below; otherwise remove them.

Your Dapp:

[x] connects to Valora via WalletConnect V2;
[x] must be mobile-first or mobile responsive;
[x] is in one of the existing categories; and
[x] includes a link to user documentation.

For more information see the Valora Listing Overview.

Content confirmed from ImmortalX in Discord:

I have taken a look at the PR. They look great, thanks for the changes


[6.x] Casts values from the getOriginal method

Summary
This merge request fixed the fact that the getOriginal doesn't cast the attributes if defined in the $casts array.
Problem description
The way the getAttribute fetches a value differs from getOriginal. Take into consideration the following code:
$model = new EloquentModelCastingStub();
$model->intAttribute = '1';
$model->syncOriginal();
$model->intAttribute = '1';
dump($model->getAttribute('intAttribute'), $model->getOriginal('intAttribute'));

This will return:
1
"1"

I've encountered this with SQLite and Oracle DB adapters when fetching a model, changing the value and comparing the original and new values
Expectations
It is expected that both values are returned as integer
Solution
See pull request, both methods should have the same logic to return the value

Hey @aronbeurskens. Seems like the tests are failing. Feel free to resubmit this once you've fixed them.

Hi @driesvints
Will do. Is there any way to run the integration tests locally?
The unit tests passed locally, but on merge there are a lot more tests performed, which fail.
I would like to run them locally to make sure they pass before re-submitting.


ROX-17765: Delete non-postgres conditional code in Body UI

Description

deprecating our Postgres feature flag

Separate from Vulnerability Management 1.0
Checklist

[x] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~

Testing Performed

/test ocp-4-10-ui-e2e-tests


Add scaffolding for analytics functionality

Pull Request Test Coverage Report for Build 114

36 of 57 (63.16%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.9%) to 89.845%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/parser/AddressBookParser.java
0
2
0.0%

src/main/java/seedu/address/model/analytics/Analytics.java
4
6
66.67%

src/main/java/seedu/address/model/analytics/AverageStatistics.java
11
13
84.62%

src/main/java/seedu/address/model/analytics/TotalStatistics.java
9
11
81.82%

src/main/java/seedu/address/logic/commands/AveragesCommand.java
0
3
0.0%

src/main/java/seedu/address/logic/commands/TotalsCommand.java
0
3
0.0%

src/main/java/seedu/address/model/analytics/Statistics.java
3
10
30.0%

Totals

Change from base Build 109:
-0.9%

Covered Lines:
1619

Relevant Lines:
1802

💛  - Coveralls

Code quality is ok!

@arsalanc-v2: Your checks has passed and review is being approved. Ony need to resolve conflict and it is officially merged.


Update zio-config-typesafe to 1.0.6

Updates dev.zio:zio-config-typesafe from 1.0.0-RC30-1 to 1.0.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-config-typesafe" } ]

labels: library-update, semver-pre-release

Superseded by #402.


soc: arm: atmel: sam4e: Enable FPU

Is your enhancement proposal related to a problem? Please describe.
Enable FPU support
Additional context
Atmel SAM4E have a Cortex-M4F FPU that implements the FPv4-SP floating-point extension.
The FPU fully supports single-precision add, subtract, multiply, divide, multiply and accumulate, and square root operations. It also provides conversions between fixed-point and floating-point data formats, and floating-point constant instructions.
The FPU provides floating-point computation functionality that is compliant with the ANSI/IEEE Std 754-2008, IEEE Standard for Binary Floating-Point Arithmetic, referred to as the IEEE 754 standard.
The FPU contains 32 single-precision extension registers, which can also be accessed as 16 doubleword registers for load, store, and move operations.

REMINDER: Make sure we do this after #23904 is merged.


HDXDSYS-718-743-3W

I've updated all 3W datasets to the latest versions and filled in the source dates.  I also moved non p-coded data into a national level scraper.  While it's not super useful, I'm thinking of it as a step between not including it at all and p-coding it, which we will do eventually.
I also changed the way both org and operational presence commit data so it's batched and a bit faster.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

46 of 53 (86.79%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 92.744%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/hapi/pipelines/database/org.py
20
23
86.96%

src/hapi/pipelines/database/operational_presence.py
25
29
86.21%

Files with Coverage Reduction
New Missed Lines
%

src/hapi/pipelines/database/org.py
1
94.29%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
1112

Relevant Lines:
1199

💛  - Coveralls

@b-j-mills would you also be able to add the new style of logging to 3W? Where all the errors show up at the end


Add Sample code to submit a spark job with '@azure/synapse-spark'

Submitting a spark job to an existing synapse spark pool is a common use case scenario.
Providing a sample code showing how to create a spark job with '@azure/synapse-spark' would be useful.

Opened PR: https://github.com/MicrosoftDocs/azure-docs-sdk-node/pull/1446


Inexplicable syntax errors (threading related?)

Every once in a while, we get a syntax error that has nothing to do with the currently-executing query. Our best guess right now is that this has something to do with concurrency, since using a single shared thread instead of executing on arbitrary background threads makes the problem very uncommon, but it has still occurred once.
We protect every use of connections with a sequencer, and even with the runtime lock releasing diff, we shouldn't ever be using any connections concurrently, so I'm not sure what's going on here.
Another possibility is that the way ocaml-freetds throws exceptions in FreeTDS's message callbacks leaves the connection in a bad state (throwing an OCaml exception forcibly terminates the existing C stack).
We're still looking into this and trying to find a small reproducable case.

Potentially related to https://github.com/kennknowles/ocaml-freetds/pull/29 ?


Resolve performance TODOs

[x] In BlockAccepted,

[x] check if the block is validation block
[ ] ~include wannabe validator performance in the snapshot~

[ ] ~Finish EligibleValidatorCandidates~
[x] In aggregatePerformanceFactors, scale the result by the number of slots per epoch

file: pkg/protocol/sybilprotection/sybilprotectionv1/performance/performance.go

[x]  Move parameters to protocol params.
[x]  Decide default value for parameters.
[x]  In ValidatorReward and DelegatorReward, double check reward calculation: the epoch should be returned by the reward calculations and we should only loop until the current epoch, not epochEnd.
[x]  In poolReward, deal with the potential overflow issue

file: pkg/protocol/sybilprotection/sybilprotectionv1/performance/rewards.go

[x]  In importPerformanceFactor,

[x] discuss: lower number of accounts to uint8
[x] discuss: the upper bound of performance factor, maybe uint16 is enough

[x]  In exportPoolRewards, adjust the loop to calculate rewards

file: pkg/protocol/sybilprotection/sybilprotectionv1/performance/snapshot.go

We postpone implementation of registration and candidates activity tracking, so some tasks were crossed out.


engine: fix gitignore/dockerignore regression

Hello @jazzdan, @landism,
Please review the following commits I made in branch nicks/ch543/upper:
6387d9b7896060f582a25a98f27bd938d5eb3436 (2018-10-10 12:51:44 -0400)
engine: fix gitignore/dockerignore regression

for what it's worth, i think this API doesn't make sense at all anymore
for example, you could have gitignored generated k8s yaml. i.e., you want a change to the k8s yaml to mark the manifest dirty, but might not require a rebuild
i think we probably want to move to an architecture where the file changes mark "dirty" bits on the state machine, and the various file filters affect which bits are marked dirty, rather than filtering out the file events entirely.


fix: do not allow to start bot if luis region is missing

Description
if luis region is missing and it is required, do not allow to start bot.
Task Item
Closes #5080
Screenshots

Coverage increased (+0.01%) to 55.766% when pulling 81bd1f61ba5aeb5adb41a652eedab0a15f26848c on fixLUISRegion into 7eb138abd40b9883744da679c1fa6693cf759798 on main.


The return key does not accept the selected completion

Describe the bug

On a fresh clone of the kickstart repo any selected autocompletion does not get accepted when pressing the return key (a.k.a. enter). Instead of accepting the completion, it will behave as if there was no completion and insert a new line.
To Reproduce

git clone git@github.com:nvim-lua/kickstart.nvim.git ~/.config/nvim-kickstart
$ NVIM_APPNAME="nvim-kickstart" nvim
Try to accept a completion, for example vim.opt.numb and then pressing the return key

Desktop

OS: NixOS 23.11
Terminal: GNOME Console 45.0

Neovim Version

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1693350652

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/nix/store/5rmbnq5rwpbq28281as1qxx3pyflzwxg-neovim-unwrapped-0.9.4/share/nvim"

I had the same issue. Reading the init.lua file I found that pressing Ctrl+y works.
https://github.com/nvim-lua/kickstart.nvim/blob/94a93643ab76f92435de2db21a41f6476894f8b3/init.lua#L684

Yup, looks like that changed with the newest kickstart!


PAR units

Hi all,
I think we need to clarify the units for PAR. LOBSTER (and other BGC models) seem to use W/m $^2$ while e.g. the kelp model use einsteim/m $^2$ /day.
Since PAR is defined as an integral between 400 and 700nm (by MODIS at least) then we can take the very rough approximaiton at the central wavelength for putting it into the BGC models, but I don't know if this is the best solution.
At the moment we're implicitly assuming W/m $^2$ and converting for the kelp model:
https://github.com/OceanBioME/OceanBioME.jl/blob/70ff47f3326cbe668eb92fdf0f6222a1ae96cdd2/src/Models/Individuals/SLatissima.jl#L536
(This is, as far as I can tell, also being done wrong). I'm not exactly sure when this got added in but we need to a) agree on units for the defaults, and b) agree how to convert for the different models.
I think the above should read:
...* day / (3.99e-10 * (299792458 / 550e-9))

(the second factor is ~545e12 so we've lost a factor somewhere in the past)

Hi Jago,
I am not sure if I understand this point here. Isn't 299792458 / 550e-9 equivalent to 545e12?

Oh yeah, sorry my mistake!
I do think we should agree a standard unit for light. Maybe PAR in Einsteins and light intensity (or something else) in W/m^2.

We do watts/m^2