Drop CRD management

Checklist

[ ] Update changelog in CHANGELOG.md.

Asking for a preliminary review as this still needs to be tested.

Yes, here was my testing procedure:

Deployed all service branches with for i in api cluster-service kubernetesd credentiald userd companyd tokend; do opsctl deploy -i gorgoth $i@drop-crd-management; done.
api - Tested cluster creation, deletion, and upgrade.
cluster-service - Tested cluster creation, deletion, and upgrade.
kubernetesd - Tested cluster creation, deletion, and upgrade.
userd - Tested user management in Happa.
companyd - Tested organization management in Happa.
tokend - Tested user management in Happa and gsctl operations involving auth.
credentiald - Tested user management in Happa and gsctl operations involving auth.
Upgraded StorageConfig CRD to v1 with validation using opsctl ensure crds -i gorgoth --crds storageconfigs.core.giantswarm.io and repeated the above.
Found no errors or mentions of CRD creation in service logs.


Assets don't pass usdchecker: Missing MaterialBindingAPI

Running usdchecker on the test assets shows that the MaterialBindingAPI is not applied to prims which is necessary using Hydra v2.
e.g. https://github.com/usd-wg/assets/blob/main/test_assets/MaterialXTest/basicTextured.usda
usdchecker /Users/siegerb/Library/CloudStorage/OneDrive-Autodesk/MAYA_PROJECTS/library/assets/test_assets/MaterialXTest/basicTextured.usda
Stage does not specify its linear scale in metersPerUnit. (fails 'StageMetadataChecker')
Stage has missing or invalid defaultPrim. (fails 'StageMetadataChecker')
Found material bindings but no MaterialBindingAPI applied on the prim </Teapot/teapot_MeshShape>. (fails 'MaterialBindingAPIAppliedChecker')
Found material bindings but no MaterialBindingAPI applied on the prim </Teapot/teapot_MeshShape>. (fails 'MaterialBindingAPIAppliedChecker')
Failed!

hey @bjorn-siegert-adsk, thanks for posting.
I'm not able to reproduce this issue and I do see fixes for these issues in that file:

the metersPerUnit specified here
default prim is defined here
and the materials binding api is applied here and here

these changes were recently made, maybe fetching will fix everything for you

Oh, my bad. I though I pulled recently but apparently not. Yes, you are right the issues are fixed already. Sorry about that.


Happybelated

Why:

Closes [issue link]
What's being changed:

Check off the following:

[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

I ain't tripping....
On Mon, Mar 29, 2021, 3:12 AM welcome[bot] @.***> wrote:

Thanks for opening this pull request! A GitHub docs team member should be
by to give feedback soon. In the meantime, please check out the contributing
guidelines https://github.com/github/docs/blob/main/CONTRIBUTING.md.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/4900#issuecomment-809170893, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATNZZK7BQSUDL6BDMIA6Z63TGAY7VANCNFSM4Z7CXHHQ
.

Ikr


[Bug] WebKit/iPhone viewport size on Windows

The viewport on WebKit with iPhone emulation is extending beyond the window width
npx playwright-cli@next --device="iPhone 11" open github.com

OS: Windows 10 (macOS works)
WebKit: v1373

Seems more like an upstream issue, let's transfer?


fix transiiton domain

This fix was extracted from our larger transition / animation clean up efforts. I expect everything to be released by Friday, but if other parts are lagging, I'll release this as a patch anyway.
@excentrik

👍


IBM imagery

Dear Team,
is there already an existing image library from where we can download the official photos and vector files? I was unable to find them on the website.
Thank you in advance,
Anna

Hi @aalacs
qq which assets are you trying to access? The brand team (specifically Lisa Lind their Executive Producer) owns the masterbrand image library credentials and she's the only one who can add users / share out that link.
IBM's brand center site also has links and resources to get various logo assets
https://www.ibm.com/brand/resources
The Carbon app icon and Carbon pictogram are available in the masterbrand app icon / masterbrand pictogram .ai files which I think are available on the IDL site. I will double check, if not I can get those files to you.
If you get me a little more context I'll be able to get you what you need. The Carbon illustrations that we do for our social communications aren't really publicly available, we just keep them on an internal box.

Hi jeanservaas!
Thank you for your reply!
I am a visual designer in Budapest and as a part of my work I am creating print and online deliverables for IBM sellers. Last week my team had a meeting with Mike Abbink about the Carbon design and he mentioned that his team is now building a library with photographs that can be used for our communication. I have seen on the website these images:
https://www.ibm.com/design/language/elements/photography
I am not able to download them from the site and wondering whom I should contact to be able to start using the new imagery (if they already can be used).
When you mentioned Carbon illustrations, were you talking about vector based illustrations or photography or both? Will these be available for other designers in the future?
Thank you for your reply in advance!
Anna

Hi Anna,
Our illustration style is still a work in progress, so there's nothing available yet to download in that department. But as for the images, contact Lisa Lind, the Executive Producer on the brand team to get access to the photo library. Good luck!


Filtered checks

Does Python Deequ currently supports filtered checks ?
Example in here: https://github.com/awslabs/deequ/issues/149
Thanks,
Rui

Thanks - I'm tracking this in https://github.com/awslabs/python-deequ/issues/158.


Decoupled Android EventBus from Core EventBus. Removed the need to Jetify this library.

Removed Android dependencies from the core EventBus altogether. Thus, the core library can be used in plain java.
Made another module to support Android projects. Decoupled Android-related functionalities (logging, main thread support) into this module.
Removed error dialog classes.
This would remove the need to use Jetifier in our Android projects. Core eventbus doesn't depend on anything, eventbus-android module depends only on Android SDK. No need to use support libraries or AndroidX, thus no need to Jetify

Java users will import the library with:
implementation 'org.greenrobot:eventbus:<version>'

Android users will import the library with:
implementation 'org.greenrobot:eventbus:<version>'
implementation 'org.greenrobot:eventbus-android:<version>'
annotationProcessor 'org.greenrobot:eventbus-processor:<version>'

If android users will import the library forgetting to also import android compatibility module:
implementation 'org.greenrobot:eventbus:<version>'
annotationProcessor 'org.greenrobot:eventbus-processor:<version>'

A runtime exception will be thown at eventBus.register(this): Looks like you are using the latest version of EventBus on Android..., crashing the application. This will help users when they update the library, notifying them of the breaking change.

would make sense to name the base library eventbus-java and use the existing eventbus name for the Android only library

@greenrobot-team Do you need me to do something on my side regarding this, or you will do this change after the review / merge?
Also I think naming can be configured when publishing maven artifacts, no need to rename the modules.
We can use current module / directory names, and publish them with different names:
/EventBus -> org.greenrobot:eventbus-java
/eventbus-android -> org.greenrobot:eventbus

There is nothing for you to do, thanks again for the suggestion!

Closed in favor of #670.


Skeleton

The skeleton of the app. This is what it looks like deployed (https://cost-of-living-comparison.herokuapp.com/)

Looks pretty nice!

Great work!!


Mapbox integration

Description
Use the Mapbox library to include map https://docs.mapbox.com/mapbox-gl-js/guides/install/

Is ready ✅


Description of a component is (still) not picked up right by [addon-info]

Describe the bug
Description of a component is (still) not picked up right by addon-info.
var validMatches = [kind, name];
if (validMatches.includes(STORYBOOK_REACT_CLASSES[key].name)) {
  var componentDescription = STORYBOOK_REACT_CLASSES[key].docgenInfo.description;
  retDiv = _react.default.createElement("div", null, _this3.marksy(componentDescription).tree);
}

The above code in Story.js function _getComponentDescription only work when:

The storiesOf 'name' parameter (kind) is exact match
The story.add 'storyName' parameter is an exact match (when would you want to do this?)

In my situation, I want to create hierarchy by using slashes in the storiesOf 'name' and I would use the storyName to describe the test/state of the component in the story, like so:
const stories = storiesOf('atoms/button/ButtonPrimary', module);
stories.add('default', () => <ButtonPrimary /> );
stories.add('some prop', () => <ButtonPrimary  someProp={true} />);

suggested solution would be to get the hierarchySeparator and split the storyKind with it and only use the last entree in the comparison, if that is possible and doesn't break anything:
var realKind = kind.split(hierarchySeparator || '/');
var validMatches = [realKind[realKind.length - 1], name];
if (validMatches.includes(STORYBOOK_REACT_CLASSES[key].name)) {
  var componentDescription = STORYBOOK_REACT_CLASSES[key].docgenInfo.description;
  retDiv = _react.default.createElement("div", null, _this3.marksy(componentDescription).tree);
}

"react": "^16.8.4",
"@storybook/react": "^5.0.5",
"@storybook/addon-info": "^5.0.5"

Even with this fix, it still won't work with styled components though, neither does the proptable. related to #6345 ?

Will this be fixed in 5.1.0?

We're generally focusing on addon-docs, a replacement for addon-info that fixes this issue and many others.
https://medium.com/storybookjs/storybook-docs-sneak-peak-5be78445094a
It's currently usable in technical preview in the #docs-mode channel on our Discord https://discord.gg/UUt2PJb and will be documented as part of the 5.1 release (but officially released in 5.2)


build test-integration image in arm64

Signed-off-by: ye.sijun<EMAIL_ADDRESS>#50 4.536 cgo: C compiler "x86_64-linux-gnu-gcc" not found: exec: "x86_64-linux-gnu-gcc": executable file not found in $PATH

Build test-integration image in arm64.
# uname -a
Linux lima-default 5.13.0-30-generic #33-Ubuntu SMP Fri Feb 4 17:05:14 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

FreeBSD CI seems broken, ignoring https://cirrus-ci.com/task/5714174289379328


STORM-2277: Support given for storm-druid connector shaded jar

Support given for storm-druid connector shaded jar and added some debug logs to DruidBolt

Looks good to me overall. Left minor comment.

+1


Windows: Hook up user supplied MAC

Signed-off-by: John Howard<EMAIL_ADDRESS>@swernli
This PR is part of the proposal described in docker/docker issue 10662 to port the docker daemon to Windows. Very simple fix to ensure the user supplied MAC address to docker run is populated correctly.

LGTM

LGTM


Parameterize parameters used in pipelines and triggers for CI/CD

Parameterize pipeline parameters
Parameterize trigger parameters

@liudan66
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @liudan66 , Can this be reviewed now?

not all the parameters are needed for pipeline and triggers @Lddeiva can you help me understand the changes and its use case with an example

@liudan66 , When employing identical templates across various environments and requiring the modification of parameters specific to each environment, this approach proves highly beneficial. In our deployment process through CI/CD, we encountered the need to utilize this method in order to transmit distinct parameter values for different environments. Our pipelines incorporate multiple parameters, among which certain values are unique to each environment.

not all the parameters are needed for pipeline and triggers @Lddeiva can you help me understand the changes and its use case with an example

@liudan66 , When employing identical templates across various environments and requiring the modification of parameters specific to each environment, this approach proves highly beneficial. In our deployment process through CI/CD, we encountered the need to utilize this method in order to transmit distinct parameter values for different environments. Our pipelines incorporate multiple parameters, among which certain values are unique to each environment.

@liudan66 , Can you please review this?

@Lddeiva These lines are only used when pipeline and trigger have parameter property. "All theparametersused in the pipeline/trigger are parameterized " which would cause some confusion, suggest to add some explanations to explicitly specify the property of parameters

@liudan66 , As per the design, it shouldn't export anything if there are no parameters. Isn't it?

@liudan66
Can you respond to the comment above?

@Lddeiva I still don't think your change could be applied to every synapse users Feel free to set up meeting with me for the further discussion

@lddeiva - We'll close this PR per https://github.com/MicrosoftDocs/azure-docs/pull/109796#issuecomment-1678493335. It can be reopened if need be after further discussion with Dan.


Add a service to force the presence or non presence

It could be useful to have a service that force the presence or not. This could be called by integration like Alarmo (Netatmo) which is able to call a service when activated or deactivated.
Se the discussion here: https://forum.hacf.fr/t/nouveau-thermostat-type-proportionnel-avec-gestion-des-presets-portes-et-fenetres-detection-de-mouvement-gestion-de-presence-et-surconsommation/19160/80
Note: if a presence sensor is configured, it could conflict with this service. In that case, the last presence status coming from presence sensor or the service call will be used until the next presence sensor event or service call.

Release 1.0.0


time: make TimeSource virtual, and remove MonotonicTimeSource and ProdTimeSource

Description: Unifies the TimeSource so that system and monotonic sources are always handled similarly (mocks, real-time, or in the future, simulated). This is another step in resolving #4160.
Risk Level: low
Testing: //test/...
Docs Changes: n/a
Release Notes: n/a

I think maybe this intermediate state is not worth it, so closing for now, especially as no one has looked at this yet.  Please review #4257 instead.


[KED-1649] Decorator for validating inputs other than dataframes

Description
a decorator to validate types and expected properties of inputs other than dataframes (I leave the validation of dataframe expectations to Great Expectations).
Context
It is very common to pass parameters to a node via a dictionary as in params or params:train_params. Usually, you would have to validate (inside the node function) that the dictionary has the fields you expect and that its values have the properties you expect. However, a decorator and the specification of a model for the inputs would be a more elegant way to address this scenario.
Possible Implementation
wrap validate_arguments (from pydantic) so that the decorator takes as argument the inputs variables to validate.

Thank you for the suggestion! I've logged this and will discuss internally next week. It would be great if you could show a toy example code of how you would apply this decorator (in one node for example).

dictionary has the fields you expect

For the dict key, if it doesn't exist, it will simply fail before going to the node function. So I am not sure what you mean by validating it inside the node function. Maybe an example of validating fields and properties using your decorator would be great :)

will do.


Dynamically Setting Tab Icon

Make setIconResId a public function in BottomBarTab to allow for dynamically assigning an icon resource to a tab

It's now possible with version 2.2.0 and up, see the README.


added 10 Hz heartbeat to Schunk DCF

Will speedup initialization, closes #580.
@ipa-tif: FYI

Only on LWA4D, not Care-O-bot.

@ipa-nhg @ipa-mdl
Could you test this on the cob's while we have them here...in order to finalize/merge this PR?

rebased.

Sorry for commenting on closed PR...
Why not add this into schunk_robots repository?

schunk_robots is just includes example packages for schunk hardware. our configuration with cob/raw is in cob_robots

@destogl please feel free to add/test this with schunk_robots....we are currently not using that repo much at ipa anymore...

@ipa-fxm you mean you do not use it in terms of parameters or at all? Since to my understanding you have Schunk-arms on Care-O-Bot :D
I will test it with our robot... Thanks!

we do use the Schunk arms with cob...that's why we added the parameter to cob_robots
we don't use the arms stand-alone...that's why we did not add it to schunk_robots...


Add debug information

/test e2e-ocp-4-15

/test e2e-ocp-4-15

/test e2e-ocp-4-15

/retest-required

We will need to cherry-pick this change to the release branch


net_tcp_connect(): set correct source IP address if explicitly set by the user

In case a TCP connection should be established with a specific source IP address (e.g., by calling bind() prior to connect() on the socket), we have to actually place the address in the outgoing packet.

Please edit  the title and provide something a bit more meaningful.

Hi @nashif
Sorry for the meaningless title, this is my first PR :) I hope the updated one is more suitable.

Hi @nashif Sorry for the meaningless title, this is my first PR :) I hope the updated one is more suitable.

Thanks for it! Please also double check the contributing guidelines, especially regarding commit message and sign-off. https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-message-guidelines
I have just triggered a CI build but I can already tell you our compliance check script will complain :)

Please change the commit subject to net: tcp: Set correct source IP address when connecting and add signed-off-by

Hi @all. Thanks for the thorough feedback, really appreciate it. I squashed my commits into one and corrected the commit message. I hope we are good to go now.


System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.

Hello,
Sometime I got this problem, do you think it comes from the library?

Thanks for useful package

This is how I call Nlipsum's method
        var paragraph = new Paragraph(1, 10);
        var generator = new LipsumGenerator();
        var content = string.Join(Environment.NewLine, generator.GenerateParagraphs(2, paragraph));

Having the same problem. Looks like the LipsumGenerator has no words internally to choose from.

Having the same problem. Looks like the LipsumGenerator has no words internally to choose from.

A LipsumGenerator needs to have its source text injected. Could you try using the constructor that takes a string and a boolean?
LipsumGenerator lipsum = new LipsumGenerator(Lipsums.LoremIpsum, false);
I realize this is not ideal and would've done it differently had I written it today. I originally wrote this for myself making use mostly of the static methods.

Yes, I have used the second constructor also and it works fine. Thanks for your great work !!

@alexcpendleton This seem to have changed on 1.0, as going back to 0.1.3 works fine.
I understand this is not ideal, but is there any reason the parameterless constructor can't just pass these parameters by default? Sounds like this would be the default use for the class.

@nvivo I'll take a look, I'm not sure what would've changed between the two to cause that. If I had written the library today, the default constructor might use that behavior by default, but I don't want to change it on the people already using the library as-is. I'll give it some more thought, but I'm not inclined to change it at this point.

I don't want to complain, this is a good library. But the point is that I have been using this library in a project for 6 months and suddenly it's broken in 1.0 and I'm having to change this call everywhere.
Maybe the package in nuget was not in sync with what was on github, but I guess this is not about changing the behavior, but reverting to what was working before.

Just for reference, using ILSpy, the code from 0.1.3 that is on nuget:
		public LipsumGenerator()
		{
			this.LipsumText = new StringBuilder(Lipsums.LoremIpsum);
		}

The git history here doesn't show when this was changed. But that's what is published in nuget.

Thank you. The Nuget package was uploaded by someone other than myself so it's possible there were some differences, and it seems that there were. For this is what's in the Nuget package then I'll restore it as soon as possible. Much appreciated.

On Jan 5, 2016, at 9:56 AM, Natan Vivo<EMAIL_ADDRESS>wrote:
Just for reference, using ILSpy, the code from 0.1.3 that is on nuget:
    public LipsumGenerator()
    {
        this.LipsumText = new StringBuilder(Lipsums.LoremIpsum);
    }

The git history here doesn't show when this was changed. But that's what is published in nuget.
―
Reply to this email directly or view it on GitHub.

Thanks so much for bringing this to my attention. 1.0.1 is in source and pushed to Nuget. I'm terribly sorry for the mix up here.

Cool. Thanks for fix!


Fix typos in tls certificate generation doc

I used this guide to generate our certificates and found some typos along the way which this PR fixes.

Good catch! Thanks for submitting the PR.


How to customize UI?

Hello,
Thanks for your job. I tried it and I had a questions about customize UI.
For example, now the 'Title' display not at the top of the screen to the right of the "Back" icon (although for me this position is more familiar). Next, 'time remaining' also like to place the time on the right.
Perhaps you need to think about support templates for UI, because the default template may not suit everyone (even though he looks good).

Hello @bulkinav
Currently, you can only customise the UI by using the currently implemented APIs.
In the near future, we plan to make it even more customisable, like being able to provide your own icons and styles for elements, maybe even callbacks, but maintaining different templates I think it's too much work.
You can always use patch-package to alter your node modules however you want. Or you can just copy paste the source code into your project and customise it precisely however you want, although, you will basically take the whole maintenance burden on your shoulders, instead of having the React Native community taking care of the video player for you.


youtube-dlg stops dowloading from lynda.com

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

WARNING
All invalid issues will be rejected!!

Before going further

If your problem is a bug with youtube-dl or a request for new site support please report it here

Make sure you are using the latest youtube-dl-gui version (Click the Settings icon and then About to view the current version)

Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

Make sure you searched the bugtracker for similar issues including closed ones

Make sure to read the FAQs file

[ ] I think my problem is NOT with youtube-dl
[ ] I've verified and i assure that I'm running youtube-dl-gui 0.4
[ ] I assure that i am using the latest version of youtube-dl
[ ] Searched bugtracker
[ ] I've read the FAQs file

What is the purpose of your issue?

[ ] Bug report
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Please remove any sections between (---) if they are not related to your issue

Bug report
If the problem occurs when downloading a URL please provide the full verbose output as follows:

Restart youtube-dl-gui
Go to Options > Extra tab
Enable Debug youtube-dl
Go to Options > Advanced tab and Clear your log content
Try to download the URL
Copy the whole log content and insert it between the ``` part below

delete me and insert your log content here

What operating system do you use ?
List of actions to perform to reproduce the problem:

..
..
..

What is the expected behaviour ?
What happens instead ?

Feature request (request for a new functionality)
Please make sure that the requested feature is NOT already in the TODO list

[ ] I've verified and i assure that my requested feature is NOT in the TODO list

What operating system do you use ?

duplicate of https://github.com/MrS0m30n3/youtube-dl-gui/issues/353


Consider different CI provider

Our current CI is completely dependent on github actions. Github actions only allows for 5 concurrent MacOS jobs per organization. This limit cannot be increased unless we migrate to Github Enterprise.
Currently we are competing for workers with both Scarb and other software mansion projects unrelated to starknet.
We should consider an alternative CI provider with better (more configurable) parallel job execution and migrate some/all of our actions to it.

One solution could be migrating to CircleCI which seems to provide higher parallel MacOS jobs limit at the cost of (I think?) increased cost comparably to our current CI.


Split linting and testing job

IMPORTANT: Please search among the Pull requests before creating one.
Description

Use separate linting job on the CI instead as a step.
How has this been tested?

N/A
Closes

N/A

Codecov Report

Merging #596 (a8ba0cd) into main (2cf664f) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%
==========================================
  Files          37       37
  Lines        5177     5177
  Branches      982      976       -6
==========================================
- Hits         3745     3744       -1
  Misses       1181     1181
- Partials      251      252       +1

Impacted Files
Coverage Δ

squidpy/im/_io.py
66.42% <0.00%> (-0.72%)
:arrow_down:

@michalk8 what I'd also like to do is using the pre-commit CI job actually, but apparently it has a ~100Mb limit and so can't use all mypy dependencies. Do you think we could drop some?

@michalk8 what I'd also like to do is using the pre-commit CI job actually, but apparently it has a ~100Mb limit and so can't use all mypy dependencies. Do you think we could drop some?

Not sure what the added benefit is, tbh.

@michalk8
do you have any clue why backreferencing in docs is broken?

Details
/gen_modules/backreferences/squidpy.datasets.four_i.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.imc.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.merfish.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.mibitof.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.seqfish.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.slideseqv2.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_fluo_adata.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_fluo_adata_crop.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_fluo_image_crop.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_hne_adata.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_hne_adata_crop.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_hne_image.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.datasets.visium_hne_image_crop.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.centrality_scores.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.co_occurrence.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.interaction_matrix.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.ligrec.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.nhood_enrichment.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.ripley.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.sepal.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.spatial_autocorr.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.gr.spatial_neighbors.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.im.calculate_image_features.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.im.process.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.im.segment.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.centrality_scores.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.co_occurrence.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.extract.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.interaction_matrix.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.ligrec.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.nhood_enrichment.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.ripley.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.spatial_scatter.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.pl.spatial_segment.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.im.ImageContainer.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.im.SegmentationCustom.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.
/gen_modules/backreferences/squidpy.im.SegmentationWatershed.examples:3: WARNING: Problem with "start-after" option of "include" directive:
Text not found.

Codecov Report

Merging #596 (096acbf) into main (2cf664f) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%
==========================================
  Files          37       37
  Lines        5177     5177
  Branches      982      976       -6
==========================================
- Hits         3745     3744       -1
  Misses       1181     1181
- Partials      251      252       +1

Impacted Files
Coverage Δ

squidpy/im/_io.py
66.42% <0.00%> (-0.72%)
:arrow_down:

@michalk8
do you have any clue why backreferencing in docs is broken?

I think this is one of the extensions (to go to src code -> docs and back), but otherwise no idea.

Codecov Report

Merging #596 (6aa8a1f) into main (2cf664f) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%
==========================================
  Files          37       37
  Lines        5177     5177
  Branches      982      976       -6
==========================================
- Hits         3745     3744       -1
  Misses       1181     1181
- Partials      251      252       +1

Impacted Files
Coverage Δ

squidpy/im/_io.py
66.42% <0.00%> (-0.72%)
:arrow_down:

Codecov Report

Merging #596 (2b9d5a2) into main (2cf664f) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%
==========================================
  Files          37       37
  Lines        5177     5177
  Branches      982      976       -6
==========================================
- Hits         3745     3744       -1
  Misses       1181     1181
- Partials      251      252       +1

Impacted Files
Coverage Δ

squidpy/im/_io.py
66.42% <0.00%> (-0.72%)
:arrow_down:

Codecov Report

Merging #596 (d3226bd) into main (2cf664f) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%
==========================================
  Files          37       37
  Lines        5177     5177
  Branches      982      976       -6
==========================================
- Hits         3745     3744       -1
  Misses       1181     1181
- Partials      251      252       +1

Impacted Files
Coverage Δ

squidpy/im/_io.py
66.42% <0.00%> (-0.72%)
:arrow_down:

Codecov Report

Merging #596 (14f7e6a) into main (2cf664f) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
- Coverage   72.33%   72.31%   -0.02%
==========================================
  Files          37       37
  Lines        5177     5177
  Branches      982      976       -6
==========================================
- Hits         3745     3744       -1
  Misses       1181     1181
- Partials      251      252       +1

Impacted Files
Coverage Δ

squidpy/im/_io.py
66.42% <0.00%> (-0.72%)
:arrow_down:


How to disable ts-node?

Expected behaviour

Write JavaScript code (.js files)
Install Karma
Write JavaScript test files (.js)
everything works great!
install ts-node and don't expect anything to break.

Actual behaviour
installing ts-node causes previously-working tests to break, because Karma automatically uses ts-node, assuming that it is what I want.
Environment Details

Karma version (output of karma --version): 4.0.1
Relevant part of your karma.config.js file: N/A, there's nothing about ts-node in there.

Steps to reproduce the behaviour
Described above.
As soon as I rm -rf node_modules/ts-node, errors go away.
Errors, for example:
19 06 2019 11:13:35.064:ERROR [config]: Invalid config file!
  TSError: ⨯ Unable to compile TypeScript:
../trusktr+builder-js-package/config/karma.config.js:3:22 - error TS7016: Could not find a declaration file for module 'globby'. '/Users/trusktr/src/trusktr+builder-js-package/node_modules/globby/index.js' implicitly has an 'any' type.
  Try `npm install @types/globby` if it exists or add a new declaration (.d.ts) file containing `declare module 'globby';`

3 const glob = require('globby')
                       ~~~~~~~~
../trusktr+builder-js-package/config/karma.config.js:6:24 - error TS7016: Could not find a declaration file for module 'mkdirp'. '/Users/trusktr/src/trusktr+builder-js-package/node_modules/mkdirp/index.js' implicitly has an 'any' type.
  Try `npm install @types/mkdirp` if it exists or add a new declaration (.d.ts) file containing `declare module 'mkdirp';`

6 const mkdirp = require('mkdirp') // mkdir -p
                         ~~~~~~~~
../trusktr+builder-js-package/config/karma.config.js:7:22 - error TS7016: Could not find a declaration file for module 'rimraf'. '/Users/trusktr/src/trusktr+builder-js-package/node_modules/rimraf/rimraf.js' implicitly has an 'any' type.
  Try `npm install @types/rimraf` if it exists or add a new declaration (.d.ts) file containing `declare module 'rimraf';`

7 const rmrf = require('rimraf') // rm -rf
                       ~~~~~~~~
../trusktr+builder-js-package/config/karma.config.js:8:19 - error TS7016: Could not find a declaration file for module 'regexr'. '/Users/trusktr/src/trusktr+builder-js-package/node_modules/regexr/index.js' implicitly has an 'any' type.
  Try `npm install @types/regexr` if it exists or add a new declaration (.d.ts) file containing `declare module 'regexr';`

8 const r = require('regexr').default
                    ~~~~~~~~
../trusktr+builder-js-package/config/karma.config.js:23:19 - error TS7006: Parameter 'file' implicitly has an 'any' type.

23 testFiles.forEach(file => {
                     ~~~~
../trusktr+builder-js-package/config/karma.config.js:45:48 - error TS7006: Parameter 'moduleName' implicitly has an 'any' type.

45                     ${nodeModulesToCompile.map(moduleName => {
                                                  ~~~~~~~~~~
../trusktr+builder-js-package/config/karma.config.js:96:27 - error TS7006: Parameter 'config' implicitly has an 'any' type.

96 module.exports = function(config) {
                             ~~~~~~
../trusktr+builder-js-package/config/karma.config.js:150:18 - error TS7006: Parameter 'fullname' implicitly has an 'any' type.

150 function dirname(fullname) {
                     ~~~~~~~~
../trusktr+builder-js-package/config/karma.config.js:157:27 - error TS7006: Parameter 'fileName' implicitly has an 'any' type.

157 function withoutExtention(fileName) {
                              ~~~~~~~~

    at createTSError (/Users/trusktr/src/trusktr+infamous/node_modules/ts-node/src/index.ts:245:12)
    at reportTSError (/Users/trusktr/src/trusktr+infamous/node_modules/ts-node/src/index.ts:249:19)
    at getOutput (/Users/trusktr/src/trusktr+infamous/node_modules/ts-node/src/index.ts:362:34)
    at Object.compile (/Users/trusktr/src/trusktr+infamous/node_modules/ts-node/src/index.ts:395:32)
    at Module.m._compile (/Users/trusktr/src/trusktr+infamous/node_modules/ts-node/src/index.ts:473:43)
    at Module._extensions..js (internal/modules/cjs/loader.js:827:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/trusktr/src/trusktr+infamous/node_modules/ts-node/src/index.ts:476:12)
    at Module.load (internal/modules/cjs/loader.js:685:32)
    at Function.Module._load (internal/modules/cjs/loader.js:620:12)
    at Module.require (internal/modules/cjs/loader.js:723:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.parseConfig (/Users/trusktr/src/trusktr+infamous/node_modules/karma/lib/config.js:351:22)
    at new Server (/Users/trusktr/src/trusktr+infamous/node_modules/karma/lib/server.js:66:24)
    at Object.exports.run (/Users/trusktr/src/trusktr+infamous/node_modules/karma/lib/cli.js:291:7)
    at Object.<anonymous> (/Users/trusktr/src/trusktr+infamous/node_modules/karma/bin/karma:3:23)
    at Module._compile (internal/modules/cjs/loader.js:816:30)
Failed with exit code: 1

As you can see, tests break simply by installing ts-node in the project and not yet converting any tests to TypeScript.
I have a tsconfig.json file in the project, but used for other things at the moment.
It'd be nice to be able to tell Karma which tsconfig to use for test files, and to be able enable TypeScript support manually in the first place, so that there aren't any surprises.

The documentation on Customized TypeScript Configuration shows how to override ts-node settings, but apparently it doesn't work:

First, doesn't the require('./karma.conf.ts') need to be placed on module.exports? Otherwise how does the config get exported to Karma?
Second, after placing my my configuration, as follows, nothing changes, and I get the same type errors although I've clearly told ts-node not to type check:// disable ts-node's type checking, allows plain JS to work without ts-node
// getting in the way.
require('ts-node').register({
	typeCheck: false,
	transpileOnly: true,
	files: true,
	compilerOptions: {},
})

module.exports = require('./karma-config.js')

How do we disable Karma's automatic ts-node usage?

Related: https://github.com/karma-runner/karma/pull/3274

I have a tsconfig.json in my project, used for other things. I didn't intend for it to be used by Karma. This tsconfig.json file has allowJs: true, which is causing Karma to run TypeScript on JS files.

Cool, I forked Karma, removed the register() call as in #3274, and can now get back to work!

The tests in my monorepo magically broke, after a lot of debugging I found out that suddenly karma tests loading my config with ts-node because a dependency of another packages installed ts-node. Is there really no way to turn off this behavior?

I ended up using this:
const mock = require('mock-require');

mock('ts-node', () => {
  throw new Error("I don't want to run tests with ts-node");
});

require('karma/lib/cli').run();

Just ran into this today. 😓

Ping. Karma team, any chance to fix this?

Looks like PR #3274 stalled.

This is absolutely ugly/unacceptable behavior. 😡
Imagine a situation when transitive dependency install ts-node in your JavaScript project where you use TypeScript over JavaScript only for type checking and your tests stop working at some time because TypeScript start checking wrong files. Rewrite default require is a bad practice in most cases and even worse this does not your code!
I'll provide pull request in the future. As a workaround you can use this code in karam.conf.js
// @ts-nocheck
process[Symbol.for('ts-node.register.instance')]?.enabled(false);

@maksimr I do agree that this behaviour is causing issues and we should not make such assumptions by default. At the same time we want to allow users to write their configs using their preferred language with the relative convenience. Please see https://github.com/karma-runner/karma/pull/3521#issuecomment-631046207 for some thinking on the design. But I'm open to discuss alternative/better approach especially if this approach is used by some other popular tool dealing with the same issue.
And the PR would be very welcome!

Re-opening as I still want to implement a sustainable solution for this use case.


allow for extra cli arguments

I have a need to pass additional arguments to a task. For example I would like to set a --release flag to trigger build in production mode. Here's how this might look:
  "scripts": {
    "task": "babel-node node_modules/.bin/start tasks/",
    "build": "npm run task build",
    "build:prod": "npm run build -- --release"
  }

Thanks :+1:

v1.2.0


Adding GitHub's default .gitignore for Python projects.

From https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore @ commit 8e67b9420cb6796e5eeca72682babdb06627ec8c.
Fixes the following output;
Untracked files:
  (use "git add <file>..." to include in what will be committed)
	./build/
	./venv/
	./vlsiffra.egg-info/

Thanks @mithro!


Install failed first attempt

So far its unable to locate modules on install:
These relative modules were not found:

* ../../../src/stylus/components/_app.styl in ./node_modules/vuetify/lib/components/VApp/VApp.js
* ../../../src/stylus/components/_autocompletes.styl in ./node_modules/vuetify/lib/components/VAutocomplete/VAutocomplete.js, ./node_modules/vuetify/lib/components/VCombobox/VCombobox.js
* ../../../src/stylus/components/_avatars.styl in ./node_modules/vuetify/lib/components/VAvatar/VAvatar.js
* ../../../src/stylus/components/_badges.styl in ./node_modules/vuetify/lib/components/VBadge/VBadge.js
* ../../../src/stylus/components/_bottom-navs.styl in ./node_modules/vuetify/lib/components/VBottomNav/VBottomNav.js
* ../../../src/stylus/components/_bottom-sheets.styl in ./node_modules/vuetify/lib/components/VBottomSheet/VBottomSheet.js
* ../../../src/stylus/components/_breadcrumbs.styl in ./node_modules/vuetify/lib/components/VBreadcrumbs/VBreadcrumbs.js
* ../../../src/stylus/components/_buttons.styl in ./node_modules/vuetify/lib/components/VBtn/VBtn.js
* ../../../src/stylus/components/_button-toggle.styl in ./node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.js
* ../../../src/stylus/components/_calendar-daily.styl in ./node_modules/vuetify/lib/components/VCalendar/VCalendarDaily.js
* ../../../src/stylus/components/_calendar-weekly.styl in ./node_modules/vuetify/lib/components/VCalendar/VCalendarWeekly.js, ./node_modules/vuetify/lib/components/VCalendar/VCalendarMonthly.js
* ../../../src/stylus/components/_cards.styl in ./node_modules/vuetify/lib/components/VCard/VCard.js, ./node_modules/vuetify/lib/components/VPicker/VPicker.js and 1 other
* ../../../src/stylus/components/_carousel.styl in ./node_modules/vuetify/lib/components/VCarousel/VCarousel.js
* ../../../src/stylus/components/_selection-controls.styl in ./node_modules/vuetify/lib/components/VCheckbox/VCheckbox.js, ./node_modules/vuetify/lib/components/VRadioGroup/VRadioGroup.js and 1 other
* ../../../src/stylus/components/_chips.styl in ./node_modules/vuetify/lib/components/VChip/VChip.js
* ../../../src/stylus/components/_counters.styl in ./node_modules/vuetify/lib/components/VCounter/VCounter.js
* ../../../src/stylus/components/_data-iterator.styl in ./node_modules/vuetify/lib/components/VDataIterator/VDataIterator.js
* ../../../src/stylus/components/_tables.styl in ./node_modules/vuetify/lib/components/VDataTable/VDataTable.js
* ../../../src/stylus/components/_data-table.styl in ./node_modules/vuetify/lib/components/VDataTable/VDataTable.js
* ../../../src/stylus/components/_small-dialog.styl in ./node_modules/vuetify/lib/components/VDataTable/VEditDialog.js
* ../../../src/stylus/components/_date-picker-title.styl in ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerTitle.js
* ../../../src/stylus/components/_date-picker-header.styl in ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerHeader.js
* ../../../src/stylus/components/_date-picker-years.styl in ./node_modules/vuetify/lib/components/VDatePicker/VDatePickerYears.js
* ../../../src/stylus/components/_dialogs.styl in ./node_modules/vuetify/lib/components/VDialog/VDialog.js
* ../../../src/stylus/components/_dividers.styl in ./node_modules/vuetify/lib/components/VDivider/VDivider.js
* ../../../src/stylus/components/_expansion-panel.styl in ./node_modules/vuetify/lib/components/VExpansionPanel/VExpansionPanel.js

And then a bunch of errors:
ERROR in ./node_modules/vuetify-daterange-picker/dist/vuetify-daterange-picker.common.js
Module not found: Error: Can't resolve 'date-fns' in '/Development/D/sm-bold/node_modules/vuetify-daterange-picker/dist'
 @ ./node_modules/vuetify-daterange-picker/dist/vuetify-daterange-picker.common.js 293:17-36
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js ./resources/sass/app.scss

ERROR in ./node_modules/vuetify/lib/components/VApp/VApp.js
Module not found: Error: Can't resolve 'stylus-loader' in '/Development/D/sm-bold'
 @ ./node_modules/vuetify/lib/components/VApp/VApp.js 3:0-50
 @ ./node_modules/vuetify/lib/components/VApp/index.js
 @ ./node_modules/vuetify/lib/components/index.js
 @ ./node_modules/vuetify/lib/index.js
 @ ./node_modules/vuetify-daterange-picker/dist/vuetify-daterange-picker.common.js
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js ./resources/sass/app.scss

... and it goes on

I have the latest Vueify installed and most of the vue modules. I followed installation steps and this is what I got.

Ok. I finally got it working due to 2 dependencies that are not known in the installation. Can you please update installation details to explain you need to install the following:
stylus-loader and date-fns

Hi!
date-fns is already listed as peer dependency so when installing, it should have pointed that out.
If you are using vuetify with vue-cli 3 I am assuming their plugin would have done that by itself. Let me try to reproduce this and get back with a fresh installation.

https://vuetify-daterange-picker.gitbook.io/docs/api#presets
earlier, everything was a giant options object but now all of the props are separated for better control.

Updated documentation to reflect this.
https://app.gitbook.com/@vuetify-daterange-picker/s/docs/installation-and-usage#requirements


Refactor settings table styling

What this PR does / why we need it:
Made other tables look the same as Piped tables.
Before

After

Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

🚀 🚀 🚀
/approve


Use Response Files in CMake

Passing all of the swift source files to the swift compiler causes the
command line to go over Window's 32767 character limit command length.
This now writes the source file lists to response files to get around that.
I'm a CMake newb (it took me far too long to figure out how to join a list into a string), so it's fairly likely there's a better way of doing this.

I can make this change in dispatch and xctest as well if that's wanted. However, what would be the better way of doing it?

Alright, updated this to use the swiftc driver + output_file_maps to track dependencies. The initial Windows build will be slower until we get a multithreaded swiftc Windows driver in, but the once built it's quick to rebuild.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@jmittert:
20:02:09 CMake Error at cmake/modules/SwiftSupport.cmake:29 (list):
20:02:09   list does not recognize sub-command JOIN

Oh.. list(JOIN...) is cmake 3.12 I'll find an alternative

Should be good now. Switched it to not use an intermediate list.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@compnerd is this good to go?

Yeap, this is good to go!  Thanks for the ping (wow, so that's what its like on the other side :-p)


Remove use of "implements Function" in tests.

Description
implements/extends Function is being deprecated. This PR prepares flutter code base.
Related Issues
Example Dart roll failure: https://cirrus-ci.com/task/4670267658076160
Tests
Already covered by icon_button_test and implicit_animations_test.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

This looks like something that could be achieved with some Mockito mocks, instead of rolling our own function-like handler?

@vsmenon @sigmundch  Surprisingly this only failed on the Web, not on mobile. Is there a discrepancy between Web and VM we should be aware of?

@yjbanov - web and mobile should behave the same here.  Are these files exercised in both places?  Do both have consistent settings wrt failing on warnings?
fyi - @johnniwinther

Are these files exercised in both places?

Yes.

Do both have consistent settings wrt failing on warnings?

/cc @jonahwilliams do you know?


Release azure-cli-batch 0.1.1b4

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Release of 'azure-cli-batch' with version '0.1.1b4' successful. View at https://pypi.python.org/pypi/azure-cli-batch/0.1.1b4.

GitHub release created. https://github.com/Azure/azure-cli/releases.


fix(connectSearchBox): provide currentRefinement instead of query

Connectors are following the currentRefinement, refine pattern.
Somehow connectSearchBox was missed.
BREAKING CHANGE:

connectSearchBox now forward the query as props.currentRefinement
like any other connector

Merging previous PR made a conflict here.


Created abstract function for setting and getting cost references

Currently, if we want to set a new reference value to a cost function (from an action model) we need to downcast cost to the specific one.
This creates a lot of code complexity for c++ developers due to tons of code dedicated to do downcasting.
With this PR, I proposed a solution to reduce this undesired complexity.
Now if you want to retrieve a reference from a cost abstraction, you could do:
Eigen::VectorXd u_ref;
control_cost.get_reference(u_ref);

crocoddyl::FramePlacement M_ref;
frame_cost.get_reference(M_ref);

instead to set a reference value, you might do:
control_cost.set_reference(u_ref);
frame_cost.set_reference(M_ref);

Note that the old getter and setter functions are there. So these modifications are back compatible and does not break the current API.
@wxmerkt and @proyan -- this features are for you. I will work in other aspects to make our life much easier.

Thank you for working on this important feature. I haven't looked into the diff closely but expect this to simplify life significantly :-).


PHP Type Juggling vulnerability exists in plugin.

Hello!
This plugin seems to have a type juggling vulnerability that could result in a conditional always returning true. This is due to the use of a weak comparison, instead of a strict one.
I came across this after playing with a CMS that uses the plugin, known as "GRAV" CMS.
Here you can see the vulnerable line:
if($username == $_POST['username'] && $password == $_POST['password']) {
Which exists in the file:
/birke/rememberme/example/action.php:
Since this is a weak comparison, it does not check types, and will return true if:

Let me know if further details are required. An example fix would simply be replacing the "==" with "===".

Thank you for pointing this out!
The issue was fixed in Version 2.0


[Doc] update iceberg & hudi catalog docs

Signed-off-by: amber-create<EMAIL_ADDRESS>What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_image_update

@mergify backport branch-2.5 branch-3.0


Wrong format parameter verified for libdoc in robot.libdoc

When using the libdoc function from from robot.libdoc per
http://robot-framework.readthedocs.io/en/3.0.2/_modules/robot/libdoc.html#libdoc
as libdoc(library_or_resource, outfile, name, format='reST')
The documentation states one should be able to pass documentation source parameter format like:
    :param format: Documentation source format. Possible values are ``ROBOT``,
        ``reST``, ``HTML`` and ``TEXT``. Default value is ``ROBOT`` but
        libraries can override it themselves.

But when calling the function with argument reST an error message Format must be 'HTML' or 'XML', got 'REST' appears. So it would seem the _verify_format method of class LibDoc is called with the wrong arguments.

Thanks for the report. You've encountered a documentation bug and a missing feature:

The format argument accepted by robot.libdoc() is not the the documentation source format but the format Libdoc ought to use when writing the output (i.e. same as --format command line option). The docs are clearly wrong.

It seems that robot.libdoc() doesn't support specifying the source format (i.e. --docformat option). This functionality needs to be added.

Hopefully it's possible for you to specify the source format in the library source code.


platform: Raspberry Pi Pico area: USB Default config should be bus powered device for the Raspberry Pi Pico

Describe the bug
Raspberry Pi Pico is designed to be bus powered device, but Zephyr RTOS default USB config is self powered device.
check out for USB Configuration Descriptor attribute (bmAttributes) bits.
https://www.keil.com/pack/doc/mw/USB/html/_u_s_b__configuration__descriptor.html
To Reproduce
Steps to reproduce the behavior:

Compile Raspberry Pi Pico usb cdc example
Connect the device to the host.
Check the bmAttributes like below. (the lsusb command in Linux is preferred).

# 0xc0 means, self powered device.
# device is connected to 3:6 on my environment, this could be differ.
~$ lsusb -s 3:6 -v | grep bmAttributes
    bmAttributes         0xc0
        bmAttributes            3
        bmAttributes            2
        bmAttributes            2

Expected behavior
This is what would you expect when you connect bus powered device.
# 0x80 means, bus powered device.
~$ lsusb -s 3:3 -v | grep bmAttributes
    bmAttributes         0x80
        bmAttributes            3
        bmAttributes            2
        bmAttributes            2

Impact
It doesn't comply with USB specs.
Environment (please complete the following information):
all
Additional context
This could be fixed by adding CONFIG_USB_SELF_POWERED=n to the rpi_pico_defconfig. As you know, unless the user adds CONFIG_USB_DEVICE_STACK=y these settings do not change anything.
In addition, because this is a bus-powered device, I believe you should also consider configuring USB max power. These are the settings that match the pico_sdk.
# Set to "n" for bus-powered devices because the default is "y."
CONFIG_USB_SELF_POWERED=n
# Maximum Power Consumption in 2mA units (125 -> 250mA)
CONFIG_USB_MAX_POWER=125

CONFIG_USB_DEVICE_VID=0x2e8a
CONFIG_USB_DEVICE_PID=0x000a
CONFIG_USB_DEVICE_PRODUCT="Pico"
CONFIG_USB_DEVICE_MANUFACTURER="Raspberry Pi"

Raspberry Pi Pico is designed to be bus powered device

No it's not, it's designed so that it can be in any configuration the user wants it to be in

It doesn't comply with USB specs.

It does.

This could be fixed by adding CONFIG_USB_SELF_POWERED=n to the rpi_pico_defconfig. As you know, unless the user adds CONFIG_USB_DEVICE_STACK=y these settings do not change anything.

That would be the required setup for a project

In addition, because this is a bus-powered device, I believe you should also consider configuring USB max power. These are the settings that match the pico_sdk.

Again, invalid, it depends entirely upon the end device - what other components are on the circuit, what peripherals the MCU is using, what clock speed it is running at.

To be clear, I'm talking about Raspberry Pi Pico board. I didn't say any single thing about RP2040.
I'm talking about boards/arm/rpi_pico/rpi_pico_defconfig which is board config.

To be clear, I'm talking about Raspberry Pi Pico board. I didn't say any single thing about RP2040.

The RP2040 is wrongly labelled as pico in the whole zephyr tree:
./dts/bindings/watchdog/raspberrypi,pico-watchdog.yaml
./dts/bindings/usb/raspberrypi,pico-usbd.yaml
./dts/bindings/spi/raspberrypi,pico-spi.yaml
./dts/bindings/serial/raspberrypi,pico-uart.yaml
./dts/bindings/sensor/raspberrrypi,pico-temp.yaml
./dts/bindings/reset/raspberrypi,pico-reset.yaml
./dts/bindings/pwm/raspberrypi,pico-pwm.yaml
./dts/bindings/pinctrl/raspberrypi,pico-pinctrl.yaml
./dts/bindings/gpio/raspberrypi,pico-gpio.yaml
./dts/bindings/flash_controller/raspberrypi,pico-flash-controller.yaml
./dts/bindings/adc/raspberrypi,pico-adc.yaml

Hence the confusion

This naming has been discussed before and even went through dev review. RP2040 is a SoC name, not a series name. RP2 would also be wrong, because the 2 refers to two cores. RP/rpi/raspberrypi is confusing because the single board computers can be used both for development and as Zephyr targets.
The only clue we have as to what the series is called is the SDKs name - pico-sdk. I agree that this is confusing, but it's the best we can do until RP will release another SoC.

@nordicjm Maybe I didn't explain it well. I edited the description.
I'm taking about boards/arm/rpi_pico/rpi_pico_defconfig,   (boards folder)
I didn't say anything about bindings or devicetree.. I don't see any reason to confuse.
Why don't you create an issue about that? Can we please get to the issue?

This could be fixed by adding CONFIG_USB_SELF_POWERED=n to the rpi_pico_defconfig. As you know, unless the user adds CONFIG_USB_DEVICE_STACK=y these settings do not change anything.

There are a few other boards where we should change it accordingly, for example bl654_usb, nrf52840dongle_nrf52840...


Added a dynamic logo with Animation

Signed-off-by: SRIHARI S<EMAIL_ADDRESS>

https://user-images.githubusercontent.com/62781914/197388949-8a5df1c8-e963-404c-929b-b58768368413.mp4
I am attaching a screen recording for your reference.

@Alok5102R Kindly check!

Thanks for your contribution. ❤
Do Follow 👤 and Star this repository whichcar ⭐.


Memory Read request

Hi,
I should create a memory read request header (by using the type 't_ccip_c0_ReqMemHdr') but I do not know what values  assign to 'address' and  'mdata' fields. I have to send data from processor to AFU for processing. Can you help me? Thanks
Marco Montini

@michael-adler is this something you could assist with?

You could start by looking at the tutorials at https://github.com/OPAE/intel-fpga-bbb/tree/master/samples/tutorial, which begin with generating some memory requests. The general idea is you allocate shared memory using OPAE in software on the host and then pass buffer addresses to the FPGA using CSRs (MMIO writes). Then the FPGA can generate memory requests as needed to the buffers.

@marcomontini: Have you been able to make progress by looking at the tutorial? Thank you!


Typescript support in beta

Hi I have migrated to the beta as I could not get the previous versions to work at all in Expo SDK 52.
However I get this typescript error with the latest.
Could not find a declaration file for module 'react-native-shake'. '/Users/sam/project/node_modules/react-native-shake/lib/commonjs/index.js' implicitly has an 'any' type.
  There are types at ''/Users/sam/project/node_modules/react-native-shake/lib/typescript/module/src/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.ts(7016)

Hi @samducker as you can see in the suggestion, you may need to change moduleResolution field to Bundler. E.g:
{
  "extends": "expo/tsconfig.base",
  "compilerOptions": {
    "strict": true,
    "moduleResolution": "Bundler",
    "baseUrl": ".",
    "paths": {
      "~/*": ["src/*"],
      "@assets/*": ["assets/*"]
    }
  },
  "include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"]
}

I have applied a patch to be able to find the types:
diff --git a/node_modules/react-native-shake/package.json b/node_modules/react-native-shake/package.json
index 3dd6c0a..137d0fc 100644
--- a/node_modules/react-native-shake/package.json
+++ b/node_modules/react-native-shake/package.json
@@ -5,6 +5,7 @@
   "source": "./src/index.tsx",
   "main": "./lib/commonjs/index.js",
   "module": "./lib/module/index.js",
+  "types": "./lib/typescript/module/src/index.d.ts",
   "exports": {
     ".": {
       "import": {
@@ -15,7 +16,8 @@
         "types": "./lib/typescript/commonjs/src/index.d.ts",
         "default": "./lib/commonjs/index.js"
       }
-    }
+    },
+    "./types": "./lib/typescript/module/src/index.d.ts"
   },
   "files": [
     "src",


when algorithm input is a key in a dictionary and the value is None the algorithm get the entire dictionary as input

HKube micro-service
worker
Describe the bug
when algorithm input is a key in a dictionary and the value is None the algorithm get the all dictionary as input
"algorithmName": "null" - code is
import time
import os
def start(args, hkubeapi):
    print(args)
    input=args['input'][0]
    return {"base":"this is base","bundel":None}

a1 algorithm code is
import time
import os
def start(args, hkubeapi):
    print(args)
    input=args['input'][0]
    nodeName = args["nodeName"]
    return "I am: "+ nodeName +" and My input was: "+ str(input)

execute the following pipeline a2 node should receive None as input
{
    "name": "python-with-null",
    "description": "",
    "nodes": [
        {
            "algorithmName": "null",
            "input": [
                "123456"
            ],
            "nodeName": "first"
        },
        {
            "algorithmName": "a1",
            "input": [
<EMAIL_ADDRESS><EMAIL_ADDRESS>            ],
            "nodeName": "a1"
        },
        {
            "algorithmName": "a1",
            "input": [
<EMAIL_ADDRESS>            ],
            "nodeName": "a2"
        }
    ],
    "flowInput": {},
    "triggers": {
        "cron": {
            "pattern": "0 * * * *",
            "enabled": false
        },
        "pipelines": []
    },
    "options": {
        "batchTolerance": 100,
        "concurrentPipelines": {
            "amount": 10,
            "rejectOnFailure": true
        },
        "progressVerbosityLevel": "info",
        "ttl": 3600
    },
    "priority": 3,
    "experimentName": "main"
}

the a2 node output is
{"base":"this is base","bundel":null}

tested on
"systemVersion": "v2.0.55",
"fullSystemVersion": "v2.0.55-1610028130079",

tested on
"systemVersion": "v2.0.55",
"fullSystemVersion": "v2.0.55-1610028130079",


Bug: Default option for selecting from a list

The default option for selecting from a list should be: 'Select a ...'

Apparently it's not general 'from a list' but it's rather only for the invite company rep page. Will fix though


Lock dependencies

You should lock your dependencies (chartist) in your package.json. There currently is an issue with 0.11.3.
https://github.com/gionkunz/chartist-js/issues/1180

This should be fixed with the v0.11.4 release which is now public on NPM

Thank you


add steps to update eos-icons and create teh config file

This PR fixes the issues in Actions for the Deploy job that is not creating the config json necessary to build the page.

SeemsGood


if validation of CSRF token fails, a empty 200 page is returned

if OPNsense\Base\ApiControllerBase\beforeExecuteRoute is failing due to the CSRF token https://goo.gl/bxTNBX the result is an 200 WSOD - i dont think that is supposed to happen, at least a 403?

Yes, we should return a 403


Add splu, spilu and factorized to cupyx.scipy.sparse.linalg

Closes https://github.com/cupy/cupy/issues/3169.
This PR depends on https://github.com/cupy/cupy/pull/4356.
This PR adds cupyx.scipy.sparse.linalg.splu among others.
The first thing to note is that, the LU decomposition done by splu of this PR is not performed on the GPU, but on the CPU. That is mainly because it is difficult to LU-decompose a sparse matrix faster on the GPU. Therefore, LU decomposition is not accelerated.
What this PR accelerates on the GPU is the part of linear solver using the LU decomposed sparse matrix computed by splu. That is, the solve method returned by splu of this PR allows you to solve linear systems faster on the GPU. In fact, it is the LU decomposition that takes longer, but this PR will be useful for applications repeatedly solving large linear systems.
If this approach is OK, I would add spilu and factorized as well.

[x] add splu
[x] add spliu
[x] add factorized

Below is a performance comparison of solve method returned by Scipy's splu and this PR's splu.

A.shape
pattern
A.nnz
L.nnz + U.nnz
SciPy
CuPy (this PR, https://github.com/cupy/cupy/pull/4392/commits/ae20b9041a6df62091cc53df81f30cbec15763a4)

10164, 10164)
3d7p
68332
5587760
9.137 ms
5.500 ms

(10164, 10164)
3d19p
179296
9845790
26.256 ms
6.274 ms

(10164, 10164)
3d27p
249856
8188562
12.622 ms
6.281 ms

(19683, 19683)
3d7p
133407
16477224
49.047 ms
11.929 ms

(19683, 19683)
3d19p
352431
25719258
60.232 ms
9.729 ms

(19683, 19683)
3d27p
493039
29927892
68.753 ms
11.716 ms

(40460, 40460)
3d7p
276148
49151336
113.707 ms
22.847 ms

(40460, 40460)
3d19p
733792
93832330
153.637 ms
24.271 ms

(40460, 40460)
3d27p
1030000
93945516
156.966 ms
27.533 ms

 Click to see the script

import itertools
import math
import numpy
import cupy
import scipy
import scipy.sparse
import scipy.sparse.linalg
import cupyx
import cupyx.scipy
import cupyx.scipy.sparse
import cupyx.scipy.sparse.linalg

dtype = 'float64'
n_list = (10000, 20000, 40000)

d3p7 = ((-1, 0, 0),
        (0, -1, 0),
        (0, 0, -1), (0, 0, 0), (0, 0, 1),
        (0, 1, 0),
        (1, 0, 0))
d3p19 = ((-1, -1, 0),
         (-1, 0, -1), (-1, 0, 0), (-1, 0, 1),
         (-1, 1, 0),
         (0, -1, -1), (0, -1, 0), (0, -1, 1),
         (0, 0, -1), (0, 0, 0), (0, 0, 1),
         (0, 1, -1), (0, 1, 0), (0, 1, 1),
         (1, -1, 0),
         (1, 0, -1), (1, 0, 0), (1, 0, 1),
                     (1, 1, 0))
d1p3 = (-1, 0, 1)
d3p27 = list(itertools.product(d1p3, d1p3, d1p3))
patterns = {'3d7p': d3p7, '3d19p': d3p19, '3d27p': d3p27}

n_repeat = 10
n_warmup = 1

def get_time(perf):
    cpu_time = perf.cpu_times.mean()
    gpu_time = perf.gpu_times.mean()
    return max(cpu_time, gpu_time) * 1000  # ms

def test_splu(a, b):
    scipy_a = scipy.sparse.csr_matrix(a)
    cupyx_a = cupyx.scipy.sparse.csr_matrix(scipy_a)
    cp_b = cupy.array(b)
    scipy_ainv = scipy.sparse.linalg.splu(scipy_a)
    cupyx_ainv = cupyx.scipy.sparse.linalg.splu(cupyx_a)
    ref = scipy_ainv.solve(b)
    ret = cupyx_ainv.solve(cp_b)
    cupy.testing.assert_allclose(ret, ref)

    times = []
    perf = cupyx.time.repeat(scipy_ainv.solve, (b,),
                             n_warmup=n_warmup, n_repeat=n_repeat)
    times.append(get_time(perf))
    perf = cupyx.time.repeat(cupyx_ainv.solve, (cp_b,),
                             n_warmup=n_warmup, n_repeat=n_repeat)
    times.append(get_time(perf))
    return scipy_a.nnz, scipy_ainv.L.nnz, scipy_ainv.U.nnz, times

def make_matrix_a(n, dtype, offsets):
    s0 = int(math.pow(n, 1/3) + .5)
    s1 = int(math.pow(n/s0, 1/2) + .5)
    s2 = int(n/s0/s1 + .5)
    size = s0 * s1 * s2

    data, row, col = [], [], []
    for i in range(size):
        i2 = i % s2
        i1 = (i // s2) % s1
        i0 = (i // s2 // s1)
        for ofst in offsets:
            j0 = i0 + ofst[0]
            if j0 < 0 or j0 >= s0:
                continue
            j1 = i1 + ofst[1]
            if j1 < 0 or j1 >= s1:
                continue
            j2 = i2 + ofst[2]
            if j2 < 0 or j2 >= s2:
                continue
            j = j2 + s2 * (j1 + s1 * j0)
            if i == j:
                data.append(1.0)
            else:
                data.append(1.0 / len(offsets))
            row.append(i)
            col.append(j)

    data = numpy.array(data, dtype=dtype)
    row = numpy.array(row, dtype='int32')
    col = numpy.array(col, dtype='int32')
    a = scipy.sparse.coo_matrix((data, (row, col)), shape=(size, size))
    return a

print('A.shape | pattern | A.nnz | L.nnz + U.nnz | SciPy | CuPy')
print('--|--|--|--|--|--')
for n in n_list:
    for p in ('3d7p', '3d19p', '3d27p'):
        a = make_matrix_a(n, dtype, patterns[p])
        b = numpy.random.random((a.shape[0],)).astype(dtype)

        A_nnz, L_nnz, U_nnz, ret = test_splu(a, b)
        print('{} | {} | {} | {} | {:.3f} ms | {:.3f} ms'
              .format(a.shape, p, A_nnz, L_nnz + U_nnz, ret[0], ret[1]))

One of the main concerns that we have with doing the computation in the cpu is that even if the speedup of using a gpu is none, or a bit slower, doing this can lead to unwanted synchronization, making it a bigger problem in some other cases.
Is it really not possible to do the LU decomposition in the GPU?

It is possible to LU-decompose the sparse matrix on the GPU, but it is difficult to do it on the GPU in about the same amount of time as the CPU.
One of the problem is zero fill-in. Since it is not known prior to LU decomposition which parts of the matrix elements need to be changed from zero to non-zero, this results in irregular memory-related operations during LU decomposition, which the GPU is not very good at. In fact, cuSolver has a sparse matrix solver with LU decomposition (link), but it provides only a CPU implementation and not a GPU implementation (I don't want to say this.. 😅).
It is true that computing LU decomposition on the CPU will require synchronization, but I don't think we need to worry about this too much. In the first place, even when you compute the LU decomposition on the GPU, there are some memory-related operations (as mentioned above) that requires synchronization during the LU decomposition. Second, before and after LU decomposition, data must be copied between the CPU and the GPU, but since LU decomposition has computational complexity of O(N^3), the computation time for LU decomposition is dominant (unless N is very small) and the time for data copying is relatively small.

Thanks for the detailed explanation! 😊

In fact, cuSolver has a sparse matrix solver with LU decomposition (link), but it provides only a CPU implementation and not a GPU implementation (I don't want to say this.. 😅).

Cool, didn't know these CPU routines exist! Looks like there are quite a handful of them. I wonder if they'd be more performant than SciPy's counterparts? (Didn't want to ask for too much work, just simply curious in case you've done some benchmarks @anaruse 😋)

Cool, didn't know these CPU routines exist! Looks like there are quite a handful of them. I wonder if they'd be more performant than SciPy's counterparts?

Umm, using cuSolver's CPU implementation might be worth considering, but I personally have not tried it out.

So sorry for the late reply here.
We discussed and decided that this approach is perfectly acceptable.
Thank you so much and sorry again 🙇♂

So sorry for the late reply here.
We discussed and decided that this approach is perfectly acceptable.
Thank you so much and sorry again 🙇♂

Thank you for accepting this approach.
For now, the conflict with the master branch has been resolved.
I will add tests for spilu.

Thank you for accepting this approach.
For now, the conflict with the master branch has been resolved.
I will add tests for spilu.

I was a bit mistaken. I had already added tests for spilu ...

I was a bit mistaken. I had already added tests for spilu ...

Jenkins, test this please

Jenkins, test this please

Jenkins CI test (for commit 86ba38674ef9cafbaa730d1551a4a71ad8427d34, target branch master) failed with status FAILURE.

Jenkins CI test (for commit 86ba38674ef9cafbaa730d1551a4a71ad8427d34, target branch master) failed with status FAILURE.

Probably, I have resolved the cause of failures.
Could you run test again?

Probably, I have resolved the cause of failures.
Could you run test again?

Jenkins, test this please

Jenkins, test this please

Jenkins CI test (for commit befa78dcf66e261dd4f5ec50caed5e25b73aded7, target branch master) succeeded!

Jenkins CI test (for commit befa78dcf66e261dd4f5ec50caed5e25b73aded7, target branch master) succeeded!

Jenkins, test this please

Jenkins CI test (for commit befa78dcf66e261dd4f5ec50caed5e25b73aded7, target branch master) failed with status FAILURE.

Jenkins, test this please

Jenkins CI test (for commit befa78dcf66e261dd4f5ec50caed5e25b73aded7, target branch master) succeeded!

@anaruse , Thank you for this!
Do we have any benchmarks for this?
I have tried to use this recently and I found it slower than CPU: https://github.com/cupy/cupy/issues/2155#issuecomment-805765697


%100 Accuracy and 0.000 Loss in the training process

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
I have read the FAQ documentation but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
I have getting 100% accuracy and 0.0000 loss values from the second epoch of the training process.
Reproduction

What command or script did you run?

python tools\train.py configs\balloon\config_file.py

Did you make any modifications on the code or config? Did you understand what you have modified?
I have modified the config file for custom dataset as follows:

# The new config inherits a base config to highlight the necessary modification
_base_ = 'mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_coco.py'

# We also need to change the num_classes in head to match the dataset's annotation
model = dict(
    roi_head=dict(
        bbox_head=dict(num_classes=1),
        mask_head=dict(num_classes=1)))

# Modify dataset related settings
dataset_type = 'CocoDataset'
classes = ('tree',)
data = dict(
    train=dict(
        img_prefix='configs/balloon/train_im/',
        classes=classes,
        ann_file='configs/balloon/anno_train.json'),
    val=dict(
        img_prefix='configs/balloon/val_im/',
        classes=classes,
        ann_file='configs/balloon/anno_val.json'),
    test=dict(
        img_prefix='configs/balloon/test_im/',
        classes=classes,
        ann_file='configs/balloon/anno_test.json'))

What dataset did you use?

I have used a custom dataset containing one class.
Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
'tail' is not recognized as an internal or external command,
operable program or batch file.
'gcc' is not recognized as an internal or external command,
operable program or batch file.
sys.platform: win32
Python: 3.7.11 (default, Jul 27 2021, 09:42:29) [MSC v.1916 64 bit (AMD64)]
CUDA available: True
GPU 0: NVIDIA GeForce GTX 1060
CUDA_HOME: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1
NVCC: Not Available
GCC: n/a
PyTorch: 1.6.0
PyTorch compiling details: PyTorch built with:

C++ Version: 199711
MSVC 192628806
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191125 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)
OpenMP 2019
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
CuDNN 7.6.4
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS=/DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -openmp:experimental -DNDEBUG -DUSE_FBGEMM -DUSE_VULKAN_WRAPPER, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=OFF, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0
OpenCV: 4.5.5
MMCV: 1.4.4
MMCV Compiler: MSVC 192930137
MMCV CUDA Compiler: 10.1
MMDetection: 2.23.0+unknown

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
I have installed it with pip.

Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)
PATH=C:\Users\firat\anaconda3\envs\open-mmlab;C:\Users\firat\anaconda3\envs\open-mmlab\Library\mingw-w64\bin;C:\Users\firat\anaconda3\envs\open-mmlab\Library\usr\bin;C:\Users\firat\anaconda3\envs\open-mmlab\Library\bin;C:\Users\firat\anaconda3\envs\open-mmlab\Scripts;C:\Users\firat\anaconda3\envs\open-mmlab\bin;C:\Users\firat\anaconda3\condabin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;.;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\MATLAB\R2020a\runtime\win64;C:\Program Files\MATLAB\R2020a\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\CODA\bin;C:\Program Files\HARP\bin;C:\Program Files (x86)\Calibre2;C:\Program Files\SafeNet\Authentication\SAC\x64;C:\Program Files\SafeNet\Authentication\SAC\x32;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.4.0;C:\Program Files\Hexagon\ERDAS IMAGINE 2015;C:\Program Files\PuTTY;C:\Users\firat\AppData\Local\Programs\Python\Python37\Scripts;C:\Users\firat\AppData\Local\Programs\Python\Python37;C:\Users\firat\anaconda3;C:\Users\firat\anaconda3\Library\mingw-w64\bin;C:\Users\firat\anaconda3\Library\usr\bin;C:\Users\firat\anaconda3\Library\bin;C:\Users\firat\anaconda3\Scripts;C:\Users\firat\AppData\Local\Microsoft\WindowsApps;.;C:\Program Files\snap\bin

Error traceback
If applicable, paste the error trackback here.
2022-04-01 14:21:09,682 - mmdet - INFO - Epoch [1][50/368]      lr: 1.978e-03, eta: 1:01:29, time: 0.845, data_time: 0.263, memory: 2392, loss_rpn_cls: 0.2092, loss_rpn_bbox: 0.0000, loss_cls: 0.0273, acc: 99.8730, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.2365
2022-04-01 14:21:37,343 - mmdet - INFO - Epoch [1][100/368]     lr: 3.976e-03, eta: 0:50:16, time: 0.553, data_time: 0.008, memory: 2461, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:22:06,017 - mmdet - INFO - Epoch [1][150/368]     lr: 5.974e-03, eta: 0:46:41, time: 0.573, data_time: 0.009, memory: 2461, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:22:33,720 - mmdet - INFO - Epoch [1][200/368]     lr: 7.972e-03, eta: 0:44:20, time: 0.554, data_time: 0.010, memory: 2461, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:23:01,376 - mmdet - INFO - Epoch [1][250/368]     lr: 9.970e-03, eta: 0:42:44, time: 0.553, data_time: 0.010, memory: 2461, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:23:29,085 - mmdet - INFO - Epoch [1][300/368]     lr: 1.197e-02, eta: 0:41:32, time: 0.555, data_time: 0.010, memory: 2461, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:23:56,981 - mmdet - INFO - Epoch [1][350/368]     lr: 1.397e-02, eta: 0:40:34, time: 0.558, data_time: 0.009, memory: 2461, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:24:07,140 - mmdet - INFO - Saving checkpoint at 1 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 315/315, 5.6 task/s, elapsed: 56s, ETA:     0s2022-04-01 14:25:05,868 - mmdet - INFO - Evaluating bbox...
Loading and preparing results...
2022-04-01 14:25:05,869 - mmdet - ERROR - The testing results of the whole dataset is empty.
2022-04-01 14:25:05,870 - mmdet - INFO - Exp name: config_file.py
2022-04-01 14:25:05,870 - mmdet - INFO - Epoch(val) [1][315]
2022-04-01 14:25:47,672 - mmdet - INFO - Epoch [2][50/368]      lr: 1.668e-02, eta: 0:40:01, time: 0.830, data_time: 0.269, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:26:15,492 - mmdet - INFO - Epoch [2][100/368]     lr: 1.868e-02, eta: 0:39:12, time: 0.556, data_time: 0.008, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:26:44,186 - mmdet - INFO - Epoch [2][150/368]     lr: 2.000e-02, eta: 0:38:33, time: 0.573, data_time: 0.009, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:27:12,009 - mmdet - INFO - Epoch [2][200/368]     lr: 2.000e-02, eta: 0:37:51, time: 0.557, data_time: 0.010, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:27:40,135 - mmdet - INFO - Epoch [2][250/368]     lr: 2.000e-02, eta: 0:37:13, time: 0.562, data_time: 0.010, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:28:08,053 - mmdet - INFO - Epoch [2][300/368]     lr: 2.000e-02, eta: 0:36:36, time: 0.559, data_time: 0.010, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000
2022-04-01 14:28:35,959 - mmdet - INFO - Epoch [2][350/368]     lr: 2.000e-02, eta: 0:35:59, time: 0.558, data_time: 0.009, memory: 2532, loss_rpn_cls: 0.0000, loss_rpn_bbox: 0.0000, loss_cls: 0.0000, acc: 100.0000, loss_bbox: 0.0000, loss_mask: 0.0000, loss: 0.0000

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

Maybe because your dataset is too small, and the network is learned everything.

@firaterdem 0.02 is the value of 8 cards x 2bs, please scale your LR parameters accordingly.

@hhaAndroid Thank you for your answer. I have added a line to the config file for reducing the learning rate as follows:
optimizer = dict(type='SGD', lr=0.00003, weight_decay=0.0001)
Although the losses have been reduced, the accuracy has been %100. How can I balance LR as you mentioned?
Also, I got another error after the first epoch. Do you have an opinion on this subject too?

Thank you for your help again.

I met the same problem as well. I use one class object detection.

Hi. I meet a same problem. Do you fix it now?

May your dataset is too small, and the detector is overfitted. Feel free to create a new issue if you still meet problems

Probably way to late but maybe it helps someone else.
I had the same problem and I had to change poly2mask to True in the train and test pipeline

hello,
I didnt undestan what you mean? what should I do ?
I have same problem

@mahilaMoghadami open the config file, search for poly2mask and set it to true.


Bug in CI support for 3.11 Python version

CI has been complaining for a while about incompatible Python versions when testing for 3.11. It defaults to 3.11.10, but the pyproject file says MLTE depends on 3.11.0 or lower. However, Github Actions was falling back on 3.10 and working, while now it just fails.
Change the pyproject dependency to be 3.11.x so it works more reliably.

Addressed by #551


update connect PropTypes

See this issue: https://github.com/algolia/react-nouislider/issues/31
I believe this should fix it, but have not tested explicitly

thanks

awesome, any chance you could bump version and push out to npm?

If you want to maintain backward compatibility, you can map 'lower' to [true, false] and 'upper' to [false, true].


rfkill: blocked/unblocked status is not persisted across reboots

Describe the bug
My rough understanding is that systemd-rfkill is meant to persist/restore rfkill state across reboots, however experimental testing across a variety of devices proves this is not the case (unfortunately include a laptop that always comes up with wlan blocked).
I think most users don't notice because, I think, network manager maybe does this itself as well?
This is with nixos-unstable but I've observed this anecdotally for years.

Actually this appears to have more to do with me testing other things and devices changing identifiers between different kernels. After a further round of testing here, I'm seeing /var/lib/systemd/rfkill values being persisted across reboots AND applied, even on my non-network-manager box.

Well, here, on a certain SBC, I'm using default nixos networking, and if I use rfkill and reboot, the value for wlan is not persisted.


Curriculum progress opening page

the curriculum page always opens the basic html section of the curriculum. shouldn't it open my recent track or at least the section im in?
Also would like to request a feature for the curriculum page: that be added a progress bar regarding the full curriculum as well as the current track in progress. and better navigation

no one thinks this is important?

@coder077 I would add that in 2015 when I last used FreeCodeCamp it did work how @DoviMaj is requesting, i.e., when you went to the curriculum page (or "Map" as it was then) it would expand the tree at the first incomplete lesson, so this is something that has broken/changed in the last few years.
I personally would like to see it working how it did in 2015 as I'm currently re-doing the certification based on the new curriculum and it was easier when FCC prompted you with what lesson you should do next, rather than showing you lessons you have already completed. I'm not suggesting it's worth investing 100s of man hours but it's probably worth a quick look as I suspect this is a simple bug rather than by design. It does remember where you are in the tree if you never refresh the page so perhaps there is a some sort of variable storing your place that is supposed to persist in a cookie or something.

@raisedadead Has anyone fixed it yet?

Nope this is available for and open for implementation, if you are interested.

I made some progress in https://github.com/freeCodeCamp/freeCodeCamp/pull/35421, but it's been a while since I looked at it.  I'll take another look and see if that PR is any use.

I would like to help if you need it @ojeytonwilliams @raisedadead

Hey @brianRey2017, thanks for the offer!  I think the PR is basically okay, but there's one change I'm looking to make (handling the completion of an entire section of the curriculum).  I'll have a go at that this week and let you know if I run into difficulties.

Ok. I'll be waiting here :smile:


How to fix this question?

How to fix this question?

Have you imported the CSS stylesheet in root layout?
+ import 'next-docs-ui/style.css'


[L2] Create testing environments for L2 networks

QA team with the help from @tschubotz will create safes and assets on each of the first three L2 networks:

Polygon
BSC
Arbitrum

These safes will be used for the initial testing of these deployments.
Test Data for each network

a safe with original network Currency. Take into account that original currency will be sent from the safe to the owners to test txs execution.

owners that should be added:
Liliya's = 0xF2CeA96575d6b10f51d9aF3b10e3e4E5738aa6bd
Franco's = ? @francovenica

ERc20 tokens

ERC721 token (NFTs)

Contracts that may be used for contract interaction and Transaction Builder

https://chainlist.org/ <- Site to add chains to Metamask

@francovenica , could you check if we need something else for testing?

I'll start with this today, @francovenica @liliya-soroka. I'll let you know once I have some thing. In case you have specific needs, please let me know what kind of test data/txs you.

Contracts that may be used for contract interaction and Transaction Builder

Could you elaborate on that?

I deployed some test contracts to use
BSC:

MintableERC20

0xCADb4C72A9B2Cbb6EFDa6D8B4a38BF4d0f7665Cf
0x9AbDe34F251D8755f7ebCE3Ed3c6bF58c46B915C
0x27C3668f20b4B3195FFe7d85af3aBB5Af16f1a27

MintableERC721

0x55EC23Ae91F5631Ac66C3f11D32a0F67EF9d3670

TestDecodingV1

0x5A5922E9ef11157498Fa5325bc39E7a1Ba8c402D
0x9452fa9F1691d52299F077436559746D2e6Fa1ad

Polygon

MintableERC20

0xA587730555eaa5b5FA4956a19213c0A5ABB94Cdc
0x9AbDe34F251D8755f7ebCE3Ed3c6bF58c46B915C
0x27C3668f20b4B3195FFe7d85af3aBB5Af16f1a27

MintableERC721

0x80a658D43277e0cF63D4E6A7D69fCc19fd34E073
0x55EC23Ae91F5631Ac66C3f11D32a0F67EF9d3670

TestDecodingV1

0x5A5922E9ef11157498Fa5325bc39E7a1Ba8c402D
0x9452fa9F1691d52299F077436559746D2e6Fa1ad

Let me know if more is needed.
I commited the code I used to deploy them at: https://gitlab.gnosisdev.com/wallets/gnosis-safe-qa/-/tree/master/test_contracts
So they can be deployed to Arbitrum and other networks easily in the future.
I'll take a look at writing a script to automate filling a Safe with example txs and assets next.

@tschubotz ,will we have known addresses on these networks?

My ERC20 token contract was non-standard, just updated the addresses ..

@tschubotz ,will we have known addresses on these networks?

The feature will exist, yes. I don't think we have set any up yet though. I'll add this to my list!

With Richard's safe-tasks tool it's quite easy to write a script that triggers some Safe txs in order to auto-populate test data.
Once you provide me with a list of assets and/or transactions you would like to see @liliya-soroka  @francovenica ,  I'm ready to go :)
Feel free to also just link me with a Safe on Rinkeby/mainnet/xdai that you normally use, then I can just re-create its txs.

The feature will exist, yes. I don't think we have set any up yet though. I'll add this to my list!

@liliya-soroka I just added the Gnosis Safe 1.3.0 contracts as "known contracts" in the admin for polygon, BSC, Arbitrum incl. logo.
List of addresses here: https://docs.google.com/spreadsheets/d/1JVvwTfp3WNQ1CXMx8xVQ2n7Aj-u0KDiXxGHNW5OjHb4/edit#gid=459807097

I've created a safe on Arbitrum, with Liliya and me as owners:
0x2EBA2F2F1D599E9E2920ce4B70b1B881e76db82E

It's not usable yet because the backend doesn't fully work with Arbitrum yet.
@francovenica please let us know your wallet address.

@tschubotz ERC721 mintable for BSC address is wrong. It's the same address you shared for ERC20 :smile:
I tested it and it mints the ERC20

@tschubotz Here my mainnet accounts. I have 2, feel free to add just one if you want:
0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8
0x0D65139Da4B36a8A39BF1b63e950038D42231b2e
I'll update this ticket description

@francovenica , could you check if we need something else for testing?

Besides what the ERC20/721 can mint, we will need actual mainnet tokens to pay for the tx.
Also are there apps that could work or not? I assume tx builder and wallet connect should work same as always.

@francovenica TX-Builder and WalletConnect will need an update in order to work on BSC. Depending on time, and state of the SDK this could be done for the release or later. Also there are 2 apps on the list that have a BSC version but they seem they are not detecting BSC network correctly so we will have to remove them from the default list first and add them later.

@tschubotz ERC721 mintable for BSC address is wrong. It's the same address you shared for ERC20 😄
I tested it and it mints the ERC20

My bad, fixed now! :) https://bscscan.com/address/0x55EC23Ae91F5631Ac66C3f11D32a0F67EF9d3670#code

I just sent some BNB and Matic for testing to
0xF2CeA96575d6b10f51d9aF3b10e3e4E5738aa6bd (liliya)
0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8 (Franco)

Here's a Polygon safe with Liliya, Franco and me as owners:
0xb412684F4F0B5d27cC4A4D287F42595aB3ae124D

The same test safe on a few networks
https://rinkeby.etherscan.io/address/0x208F8672491e86021c2e7a5cc55238a85Ff43482
https://polygonscan.com/address/0x208F8672491e86021c2e7a5cc55238a85Ff43482


Consider pairFlatMap

Basically, the same as a pairMap, but which expect a stream as mapping result and flatten directly.

Hello! You can do pairMap((a, b) -> createStream(a, b)).flatMap(Function.identity())