One face id for one face

Different ids are generated every time for one face id, is there a range for each face id, so that if it is in that range we can understand it is that face.

I assume an embedding is being generated. (a multidimensional vector)
Then it's up to you to determine a distance (euclidean, for example) in this space that would define being the same person or not (maybe if distance > 5 then it's not the same person) It's up to you to determine a good distance value based on the model being used and the distance function being used.

thanks, I check and will write you

I assume an embedding is being generated. (a multidimensional vector)
Then it's up to you to determine a distance (euclidean, for example) in this space that would define being the same person or not (maybe if distance > 5 then it's not the same person) It's up to you to determine a good distance value based on the model being used and the distance function being used.

I get this data  http://prntscr.com/qcduhu
What data or digits do I need to use to do that calculation

The descriptor, I imagine.

Hi ) how can we detect faces from afar?

Blaze face for tfjs works well for small faces in a video https://www.npmjs.com/package/@tensorflow-models/blazeface?linkId=80168838

thanks.

when I use this module I get this error, can you help me?
tfjs-core:17 Uncaught (in promise) TypeError: Ot.makeTensor is not a function


Run go1.17.1 mod tidy -go=1.17

@jacob-delgado: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_client-go
b46b1dc6eb8cbab86cdb80942ca3c088bc6b1a46
link
true
/test gencheck_client-go

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Let's not do this for client-go


fix to field template [rjsf]

Signed-off-by: harkiratsm<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Merging . . . . .


Suggestion to add further information on the Backup phase of API Management Backups

To improve the user experience it would be worth noting in this documentation that during a backup - the target API Management instance in the Azure Portal posts messages that can be alarming initially - such as "Service is being updated..." on the Overview page (I don't think it is, but I understand why it says this) and "Service is getting ready..." in the APIs panel.

Thanks

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

ID: 34eef662-c35f-230b-de28-0dcee463d8bc
Version Independent ID: 07206d86-8410-7a58-227a-6e630df50c16
Content: Backup and restore your Azure API Management instance for disaster recovery - Azure API Management
Content Source: articles/api-management/api-management-howto-disaster-recovery-backup-restore.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@neilmca-inc
Thanks for your feedback! We will investigate and update as appropriate.

@neilmca-inc - Thanks for your helpful feedback. You might have seen that the doc mentions that backup is a long-running operation. I can see that it would help to mention that the instance is an updating status during that time. I'll submit a doc update soon.


Bump version to 0.0.19-SNAPSHOT

Current coverage is 61.52% (diff: 100%)

Merging #114 into master will not change coverage

@@             master       #114   diff @@
==========================================
  Files            45         45
  Lines          2113       2113
  Methods           0          0
  Messages          0          0
  Branches        321        321
==========================================
  Hits           1300       1300
  Misses          738        738
  Partials         75         75

Powered by Codecov. Last update 2939f0f...ea2ecd3


Feature/home page text

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


Some basic pointers for new users

Network suggestions for gun init of (bitcoin|regtest|testnet). I kept trying to do gun init --network mainnet oops.
I didnt rtfm and was wondering why my balance wasn't updating. I think a Remember to sync gun with -s or --sync to ensure balances are up to date. dispayed to any empty wallets could be useful. Message will go away once the wallet has synced to a state where any of the balances/bets are non-zero.
No stress if you don't think these are needed, just thought they might help other noobs.
Looking forward to adding more, good way to learn some rust.

@nickfarrow https://github.com/keblek/gun/blob/5dc5cb257cf10844517d379a2e00a54bb300ae7f/Justfile I took the liberty of collecting some of the most common commands and putting them in this Justfile.
I'll turn it into a gist and add it to the readme, if you have any commands or tricks and tips let me know and I can add them.

Better to add it to gun.fun in an "advanced usage" section.

I do think for newbies the tutorial could be more thorough. In fact I think an entire start to finish tutorial is in order, install, configure, fund, proposal + offer, claim, post-spend.

Note I tried to do that here: https://gun.fun/bet/offer-tutorial.html (for offers at least).

Thanks!


LogAnalyticsAgentUnistallUtilityScript.ps1 does not work as expected

Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[x] A link to the published documentation article that you have feedback about.
[x] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
My issue is as follows:
In the following file articles/azure-monitor/agents/azure-monitor-agent-mma-removal-tool.md (article available at: https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-mma-removal-tool) the given script is not correct and a command that follows.

When getting a list of Azure Arc machines, the process terminates after the first iteration when the list is greater than 16 machines. I've updated to iterate over the list fully

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

ID: b6492b16-82f3-73da-99bf-471277fbd74b
Version Independent ID: 7e5fbd8f-4699-c65a-e147-5ed5564db19f
Content: MMA Discovery and Removal Utility - Azure Monitor
Content Source: articles/azure-monitor/agents/azure-monitor-agent-mma-removal-tool.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@spencer-pollock-sf
Thanks for your feedback! We will investigate and update as appropriate.

This issue has been moved to an internal work item for triage and prioritization. Thank you in advance for your understanding as we investigate to provide the most accurate documentation updates. #please-close
Internal work item: LogAnalyticsAgentUnistallUtilityScript.ps1 not working as expected
Our support team is available to assist you with any pressing questions or problems that need to be resolved. You can create a support ticket by visiting https://azure.microsoft.com/support/create-ticket/.


Move Google Forms to opendata.scot Google account

The Google form for the Suggest dataset page currently runs through Jack's personal Google account. We now have a GSuite account for opendata.scot that is hosted on Code The City's tenancy that we should move this form to.
As a sidenote, for ease of access to those wanting to suggest open data sources we don't currently scrape (e.g. new portals), maybe we should create a second Google Form for them to pass these on and we can automate it to post to Slack and/or open a new GitHub issue when a submission occurs?

Implemented in https://github.com/OpenDataScotland/jkan/commit/256bd37af3e728abdae4aee33cfda46247ab3201
Opened new issue for suggesting open data portals at #104


Add bounds Send and Sync to some traits

Description

Some common traits don't bound by Send + Sync in definition but are required (every place) where they are used, like WalManager.
Proposal

Bounding those traits:
#[async_trait]
pub trait WalManager: LogWriter + LogReader + Debug + Send + Sync {}

Additional context

This has been done in #163


Move plugins to separate repos

This is a continuation of #360, which was overly focused on separating out the Fly.io plugin. They all need to be dealt with in one move.
Functionality

[x] Run platform-specific integration tests. #362
[x] Run platform-specific e2e tests. #363
[x] Push plugins to PyPI.
[x] Require plugins in dsd config.
[ ] Test against PyPI versions, for a manual push.
[ ] Announce: theoretically, anyone could write a new plugin named dsd-platformname-<optional-extension>. Install dsd and plugin, run manage.py simple_deploy --platform platform_name, and that plugin will be auto-discovered and run. If you want to improve fly deployments, you only need to contribute to dsd-flyio, not core dsd.
[ ] Should plugins require django-simple-deploy?

Documentation

[ ] Update core docs.

[ ] Make a page/entry with detailed notes about plugins, starting with notes in this comment from #356.

[ ] Create simple readmes for each of the plugins.
[ ] Announce.

Test against PyPI plugins

[ ] Fix issue with templates not being in dist/. #367


[opt](inverted index) reduce generation of the rowid_result if not necessary

…rocess
Proposed changes

in the compound process, if all indexes are fully matched, the rowid_result will no longer be generated.


R.adjust in Jest "TypeError: fn is not a function"

Literal just copied line from Ramda documentation:
    it('= R.adjust', () => {
        R.adjust(1, R.toUpper, ['a', 'b', 'c', 'd']);
    });

And I am getting :
  ● # Ramda › = R.adjust

    TypeError: fn is not a function

      24 |
      25 |     it('= R.adjust', () => {
    > 26 |         R.adjust(1, R.toUpper, ['a', 'b', 'c', 'd']);
    at adjust (node_modules/ramda/src/adjust.js:39:17)
      at Object.adjust (node_modules/ramda/src/internal/_curry3.js:47:14)
      at Object.it (src/ramda.test.js:26:11)

Anyone why ?

Sorry ll good version 0.25.0 has error, it works in 0.26.1

This is still broken in 0.27.0
R.adjust(R.add(10), 1, [0, 1, 2]);
TypeError: fn is not a function
at adjust (/home/runner/PleasingFlawedUtility/node_modules/ramda/src/adjust.js:48:17)
at Object.f3 [as adjust] (/home/runner/PleasingFlawedUtility/node_modules/ramda/src/internal/_curry3.js:55:14)
at /home/runner/PleasingFlawedUtility/index.js:3:3
at Script.runInContext (vm.js:131:20)
at Object. (/run_dir/interp.js:156:20)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74

@shinynet The first two arguments to adjust are flipped in your example. It should be
R.adjust(1, R.add(10), [0,1,2]);

You're right! I copied from a blog post. Should've looked at official docs. Thanks!


Upgrade to Node.js 20 LTS

On newly released v2.2, the action runner was upgraded to Node.js v16, which is now EOL. It should be upgraded to v20 LTS. https://endoflife.date/nodejs

https://github.com/test-summary/action/pull/42

Is it possible to create a new release including the upgrade?

Same question as above. Please.

@ethomson could you please release a new version with #42 included?

Should be fixed in the https://github.com/test-summary/action/releases/tag/v2.3 release. Thanks!

Thank you very much @ethomson!


babel 2017

This is not a issue, this is only a dumb question.
Is possible to configure the babel 2017 stage-0 without run the eject?
Thanks in advance.

What syntax features in particular are you looking for?

Hey Dan,
const x = null;
x?.y;
Thanks for the answer.

Hi @abdalla; unfortunately we do not yet support that proposal -- it's still stage 1.
We may consider adding it when it's stage 3, but we generally do not add support for language features until that point.
Consider using a library like idx for now.
Sorry!

Thanks @Timer


Theme does not apply to pop-out windows

Hi,
This theme doesn't seem to work with the latest obsidian update for pop out windows.

Indeed. To make it more clear, if you open a note in a new window, Obsidian's default theme is applied to the poped out note.

I have this issue as well, commenting to bump

Same issue here. Theme does not apply to newly introduced pop out windows.
Any idea on how to fix this ?

Same issue here. Theme does not apply to newly introduced pop out windows. I suggest to rename this issue "Theme does not apply to pop-out windows" to make it more clear, and findable.
Any idea on how to fix this ?

Fixed the title. @colineckert  any news?

I was just looking at this and I am not sure why the css isn't loading for new windows.  Looking with developer tools, I just see that the css doesn't seem to be loading at all:

On the left, the main windows has the css file included in line but on the right hand side with the new window popped out, there's no css.  Still in developer tools, if I copy the style element from the left side to the right, it work as expected and all of the formatting shows as one would expect.
The odd thing that is that other themes seem to work just fine, for example, Minimal works fine as that's where I saw the behavior where the css is loaded on both the main window as well as the pop-out.

Hey all. Thank you for posting in this issue thread and sharing your learnings!  I thought it was an issue with race conditions but think something is broken in the CSS causing the entire style element not to be injected in the head tag of the new window, as @mbentley pointed out. Currently debugging the CSS to pinpoint the root cause and hope to have this fixed for everyone soon. Thanks for using the theme and sharing your feedback!

 Please update your theme to the latest version (v1.8). Closing this issue, but please reopen it if you experience any bugs. Thanks so much for supporting the development of this theme :)


[TextField] Added "prefix" and "suffix" props and  "blur" and "focus" events

@s-bauer
added some logic to the textfield,
also made some events of the input element accessable as prop

So the "OverviewItem" and "TextField" are two completely different things. So please separate this into two Pull Requests, so we can tackle them one after another.

Please merge https://github.com/smoti123/office-ui-fabric-vue/pull/1 into your branch, then we can continue from there on!


Module is not honoring the configuration

I have this module hooked up to NeoPixel ring with 35 WS2812 LEDs. I can start the WS2812 server and issue CURL commands to successfully display animations. However, only 24 of the LEDs will respond. I suspect that the configuration is not being loaded properly during initialization and it is using the default number of LEDs.
I'm still investigating and will try to have a PR for you soon.

Aha. I found it. Invoking any of the animations loads the animation routine from the file in the effects folder. Those files include setup commands with hardcoded values including 24 LEDs. I will need to generate and insert the setup command and then remove them from the animation files.

Hi Brian. Yes, you right. Sorry for that. Would be really helpful to have this part done in the future. I don't know why i stopped the development. Maybe nobody was interested enough or i forgot it somehow.

It is kind of a specialized thing. I'm working the issue and should have a PR for you in... well, whenever. I'm not the fastest at this.

You can change the loadRenderFile function inside node_helper.js with something like this:
loadRenderFile: function (filename) {
    this.ledString = 'setup ' + this.config.channel + ',' + this.config.led_count + ',' + this.config.led_type + ',' + this.config.invert + ',' + this.config.global_brightness + ',';
    if(!this.config.spi) {
        this.ledString += this.config.gpionum + '\n' + 'init' + '\n';
    } else {
        this.ledString += this.config.spi_dev + ',' + this.config.spi_speed + ',' + this.config.alt_spi_pin + '\n' + 'init' + '\n';
    }
    this.ledString += fs.readFileSync(__dirname + '/effects/' + filename + '.txt', 'utf8');
},

After that you have to remove the first two lines in the *.txt files inside effects folder (setup and init). This is not tested, so feel free to use it. :-)

I have it set to the point where the init string is prepended before any animation file. I'm testing it now. I found another problem with the animation files, namely the brightness 1,0 line sets the brightness to nothing and it survives the reset command.  PR coming soon-ish. There's an animation that isn't working at all and I'm trying to run it down.

I found a fix for the animation. randomfadeio.txt was a tough one to crack. PR submitted.


Assertion failed error

I have a problem with flutter and the error log suggest reporting this issue.

I/flutter (20162): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (20162): The following assertion was thrown building Post(dirty, state: _PostState#a2a2a):
I/flutter (20162): Assertion failed
I/flutter (20162):
I/flutter (20162): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (20162): more information in this error message to help you determine and fix the underlying cause.
I/flutter (20162): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (20162):   https://github.com/flutter/flutter/issues/new?template=BUG.md

Due to the project being larger than one file, I uploaded it on Github(here). Don't wonder about the name, I used this repo before for an issue with another project :)
Steps to Reproduce

Run the App
Login/Authenticate with reddit
Scroll down

Logs

[+3607 ms] I/flutter (20752): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
[  +14 ms] I/flutter (20752): The following assertion was thrown building Post(dirty, state: _PostState#34fc0):
[   +2 ms] I/flutter (20752): Assertion failed
[   +2 ms] I/flutter (20752):
[   +2 ms] I/flutter (20752): Either the assertion indicates an error in the framework itself, or we should provide substantially
[   +7 ms] I/flutter (20752): more information in this error message to help you determine and fix the underlying cause.
[   +4 ms] I/flutter (20752): In either case, please report this assertion by filing a bug on GitHub:
[   +2 ms] I/flutter (20752):   https://github.com/flutter/flutter/issues/new?template=BUG.md
[   +7 ms] I/flutter (20752):
[   +1 ms] I/flutter (20752): When the exception was thrown, this was the stack:
[   +2 ms] I/flutter (20752): #0      new MultiChildRenderObjectWidget.<anonymous closure>
(package:flutter/src/widgets/framework.dart:1691:11)
[  +10 ms] I/flutter (20752): #1      new MultiChildRenderObjectWidget (package:flutter/src/widgets/framework.dart:1696:8)
[   +2 ms] I/flutter (20752): #2      new Flex (package:flutter/src/widgets/basic.dart:3707:8)
[   +1 ms] I/flutter (20752): #3      new Column (package:flutter/src/widgets/basic.dart:4234:8)
[   +9 ms] I/flutter (20752): #4      _PostState.build (package:redditclient/widgets/post.dart:36:15)
[   +2 ms] I/flutter (20752): #5      StatefulElement.build (package:flutter/src/widgets/framework.dart:4012:27)
[   +1 ms] I/flutter (20752): #6      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3924:15)
[   +1 ms] I/flutter (20752): #7      Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
[   +7 ms] I/flutter (20752): #8      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
[   +2 ms] I/flutter (20752): #9      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)
[   +2 ms] I/flutter (20752): #10     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
[   +1 ms] I/flutter (20752): #11     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[   +8 ms] I/flutter (20752): #12     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +2 ms] I/flutter (20752): #13     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5092:14)
[   +3 ms] I/flutter (20752): #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[  +16 ms] I/flutter (20752): #15     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +2 ms] I/flutter (20752): #16     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5092:14)
[   +3 ms] I/flutter (20752): #17     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[   +2 ms] I/flutter (20752): #18     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +7 ms] I/flutter (20752): #19     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
[   +2 ms] I/flutter (20752): #20     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
[   +2 ms] I/flutter (20752): #21     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
[   +9 ms] I/flutter (20752): #22     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
[   +2 ms] I/flutter (20752): #23     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[   +2 ms] I/flutter (20752): #24     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +2 ms] I/flutter (20752): #25     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
[   +9 ms] I/flutter (20752): #26     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
[   +2 ms] I/flutter (20752): #27     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
[   +1 ms] I/flutter (20752): #28     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
[   +1 ms] I/flutter (20752): #29     ParentDataElement.mount (package:flutter/src/widgets/framework.dart:4279:11)
[   +8 ms] I/flutter (20752): #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[   +2 ms] I/flutter (20752): #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +2 ms] I/flutter (20752): #32     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
[   +2 ms] I/flutter (20752): #33     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
[   +7 ms] I/flutter (20752): #34     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
[   +2 ms] I/flutter (20752): #35     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)
[   +2 ms] I/flutter (20752): #36     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
[   +2 ms] I/flutter (20752): #37     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[   +9 ms] I/flutter (20752): #38     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +3 ms] I/flutter (20752): #39     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
[   +2 ms] I/flutter (20752): #40     Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
[   +7 ms] I/flutter (20752): #41     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
[   +1 ms] I/flutter (20752): #42     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
[   +2 ms] I/flutter (20752): #43     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
[   +2 ms] I/flutter (20752): #44     Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
[   +8 ms] I/flutter (20752): #45     SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1181:36)
[   +2 ms] I/flutter (20752): #46     SliverMultiBoxAdaptorElement.createChild.<anonymous closure>
(package:flutter/src/widgets/sliver.dart:1166:20)
[   +3 ms] I/flutter (20752): #47     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2320:19)
[   +8 ms] I/flutter (20752): #48     SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:1159:11)
[   +2 ms] I/flutter (20752): #49     RenderSliverMultiBoxAdaptor._createOrObtainChild.<anonymous closure>
(package:flutter/src/rendering/sliver_multi_box_adaptor.dart:354:23)
[   +3 ms] I/flutter (20752): #50     RenderObject.invokeLayoutCallback.<anonymous closure>
(package:flutter/src/rendering/object.dart:1715:58)
[   +8 ms] I/flutter (20752): #51     PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:796:15)
[   +2 ms] I/flutter (20752): #52     RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1715:13)
[   +2 ms] I/flutter (20752): #53     RenderSliverMultiBoxAdaptor._createOrObtainChild
(package:flutter/src/rendering/sliver_multi_box_adaptor.dart:343:5)
[  +10 ms] I/flutter (20752): #54     RenderSliverMultiBoxAdaptor.insertAndLayoutChild
(package:flutter/src/rendering/sliver_multi_box_adaptor.dart:489:5)
[   +2 ms] I/flutter (20752): #55     RenderSliverList.performLayout.advance (package:flutter/src/rendering/sliver_list.dart:191:19)
[   +2 ms] I/flutter (20752): #56     RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:234:19)
[   +2 ms] I/flutter (20752): #57     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
[   +9 ms] I/flutter (20752): #58     RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:181:11)
[   +2 ms] I/flutter (20752): #59     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
[   +2 ms] I/flutter (20752): #60     RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:406:13)
[   +9 ms] I/flutter (20752): #61     RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1334:12)
[   +2 ms] I/flutter (20752): #62     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1252:20)
[   +1 ms] I/flutter (20752): #63     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1496:7)
[   +2 ms] I/flutter (20752): #64     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
[   +7 ms] I/flutter (20752): #65
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.dra
wFrame (package:flutter/src/rendering/binding.dart:346:19)
[   +3 ms] I/flutter (20752): #66
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&Wid
getsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
[  +14 ms] I/flutter (20752): #67
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._ha
ndlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5)
[   +3 ms] I/flutter (20752): #68
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback
(package:flutter/src/scheduler/binding.dart:1016:15)
[   +2 ms] I/flutter (20752): #69
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame
(package:flutter/src/scheduler/binding.dart:958:9)
[   +9 ms] I/flutter (20752): #70
_WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame
(package:flutter/src/scheduler/binding.dart:874:5)
[   +3 ms] I/flutter (20752): #74     _invoke (dart:ui/hooks.dart:236:10)
[   +1 ms] I/flutter (20752): #75     _drawFrame (dart:ui/hooks.dart:194:3)
[  +13 ms] I/flutter (20752): (elided 3 frames from package dart:async)
[   +3 ms] I/flutter (20752): ════════════════════════════════════════════════════════════════════════════════════════════════════

Analyzing redditclient...
No issues found! (ran in 3.5s)

[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.17134.885], locale de-DE)
    • Flutter version 1.7.8+hotfix.4 at C:\Users\Elias\Documents\develop\flutter
    • Framework revision 20e59316b8 (9 days ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Android\android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = C:\Android\android-sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[!] Android Studio (version 3.4)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] VS Code (version 1.36.1)
    • VS Code at C:\Users\Elias\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.2.0

[√] Connected device (1 available)
    • ONEPLUS A5010 • <IP_ADDRESS>:5556 • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

Okay, I found my error. I returned null instead of an Widget in the post.dart in my repo. But I think this error message could be more accurate(As stated in the error :) ). I will leave this issue open for a day or so and wait if you want to change the error message. If not, you can just close it or I will do it later on. :)


[Readme.md]

Description
The 8th step has a line "Accept the default values in the dropdown boxes and click the green Create Pull Request button". But actually you don't need to accept anything there. You just need to leave it to the default value of the branches. I think we could change this line as "Make sure that the correct branch is selected" or "Do not make any changes in the branch names". This would make it easier to understand for a first time contributor like me. I was trying to find the accept option which wasn't there. So just for a little better clarity this could be done.
Screenshots

Additional information
No response

hey @shrishti076 are working on this ?

i could change it, @eddiejaoude would assign it to me

hey @shrishti076 are working on this ?

No, I am not.

I have raised a pr for this issue, do review it. Thank You
https://github.com/EddieHubCommunity/hacktoberfest-practice/pull/2610

Is anyone working on this issue @shrishti076

Closing the Issue as it has been addressed in PR #2610


Rekall 1.5.0 Install Failure

Getting the following errors in sift-install.log on a brand new SIFT workstation built on a new VirtualBox Ubuntu 14.04.4 VM using the bootstrap.sh method:

Downloading/unpacking rekall
Running setup.py (path:/tmp/pip_build_root/rekall/setup.py) egg_info for package rekall
warning: no files found matching '*' under directory 'test_data'
warning: no previously-included files matching '*.a' found under directory 'tools'
warning: no previously-included files matching '*.la' found under directory 'tools'
warning: no previously-included files matching '*.lo' found under directory 'tools'
warning: no previously-included files matching '*.o' found under directory 'tools'
warning: no previously-included files matching '*' found under directory '.git'
warning: no previously-included files matching '*' found under directory 'build'
warning: no previously-included files matching '*' found under directory 'tools/pmem/.deps'
warning: no previously-included files found matching 'tools/pmem/linpmem'

Downloading/unpacking rekall-core>=1.5.0 (from rekall)
Running setup.py (path:/tmp/pip_build_root/rekall-core/setup.py) egg_info for package rekall-core
*****************************************************
WARNING: You are not installing Rekall in a virtual
environment. This configuration is not supported!!!
Expect breakage.
*****************************************************
error in rekall-core setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
Complete output from command python setup.py egg_info:
*****************************************************
WARNING: You are not installing Rekall in a virtual
environment. This configuration is not supported!!!
Expect breakage.

error in rekall-core setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/rekall-core

Is this a Rekall issue? Any ideas?
Thanks.

Did you find what the problem was?
Sent from my iPhone

On May 27, 2016, at 04:37, Diogo Fernandes<EMAIL_ADDRESS>wrote:
Closed #109.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Outdated Python version.


Added a script to find orphaned repos

Non-archived repos which do not belong to a working group. Also repos that are defined in a working group but do not exist in org/cloudfoundry.yml
Output:
	cloudfoundry-incubator/credhub-api-docs
cloudfoundry/.github
cloudfoundry/CLAW
cloudfoundry/admin-tools
cloudfoundry/api-docs
cloudfoundry/benchmarklocket
cloudfoundry/bits-service-private-config
cloudfoundry/bosh-azure-cpi-ci
cloudfoundry/bosh-compile-action
cloudfoundry/bosh-openstack-cpi-ci
cloudfoundry/bosh-openstack-cpi-shared
cloudfoundry/bosh_rackspace_cpi_spike
cloudfoundry/capi-datadog
cloudfoundry/capi-team-checklists
cloudfoundry/certauthority
cloudfoundry/cf-for-k8s-metric-examples
cloudfoundry/cf-k8s-logging-fluent
cloudfoundry/cf-k8s-networking-scaling
cloudfoundry/cf-k8s-prometheus
cloudfoundry/cf-lite-ci
cloudfoundry/cf-on-k8s-integration
cloudfoundry/cf-slackin
cloudfoundry/cf-volume-services-team
cloudfoundry/cfcd-broker
cloudfoundry/cfcd-cert-items
cloudfoundry/cfcd-ci
cloudfoundry/cfcd-course-content
cloudfoundry/cfcd-dockerfile
cloudfoundry/cfcd-exam-info
cloudfoundry/cfcd-facts
cloudfoundry/cfcd-items
cloudfoundry/cfcd-mappings
cloudfoundry/cfcd-mindmaps
cloudfoundry/cfcd-parser
cloudfoundry/cfcd-prep
cloudfoundry/cff-platform-certification
	cloudfoundry/claw
cloudfoundry/cloudfoundry.github.com
	cloudfoundry/concourse-flake-hunter
cloudfoundry/dev-cert
cloudfoundry/dev-cert-grading
cloudfoundry/developer-training-class-apps
cloudfoundry/developer-training-class-site
cloudfoundry/developer-training-course
cloudfoundry/developer-training-hugo-parser
	cloudfoundry/diego-upgrade-stability-tests
cloudfoundry/docs-deploying-cf
cloudfoundry/flintstone
cloudfoundry/fluent-plugin-syslog_rfc5424
cloudfoundry/foundation
cloudfoundry/garden-dotfiles-archived
cloudfoundry/go-fetcher
cloudfoundry/go-git-resource
	cloudfoundry/gofileutils
cloudfoundry/grootfs-ci-secrets
cloudfoundry/homebrew-tap
cloudfoundry/identity-ci
cloudfoundry/infrastructure-ci-bbl-states
cloudfoundry/infrastructure-ci-deployment-locks
cloudfoundry/istio-scriptio
cloudfoundry/java-buildpack-container-certificate-trust-store
cloudfoundry/korifi-website
cloudfoundry/lamb-ci-tools
cloudfoundry/lds
cloudfoundry/lf-elearning
cloudfoundry/log-cache-deployments
cloudfoundry/log-stream-cli
cloudfoundry/logging-deployment
cloudfoundry/loggregator-ci-old
cloudfoundry/loggregator-credentials
cloudfoundry/loggregator-rampup
cloudfoundry/logos
cloudfoundry/metric-store-deployments
cloudfoundry/metric-store-rampup
cloudfoundry/minimal-env
cloudfoundry/networking-program-checklists
cloudfoundry/nicky
cloudfoundry/open-source-licenses
cloudfoundry/oss-s3-buckets-stack
cloudfoundry/oss-summit-class
cloudfoundry/overview-broker
cloudfoundry/persistence-load-tests
cloudfoundry/platform-certification
cloudfoundry/postgres-ci-env
cloudfoundry/quarks-private
cloudfoundry/relogger
cloudfoundry/routing-datadog-config
cloudfoundry/runtime-og-ci-private
cloudfoundry/runtime-team-checklists
cloudfoundry/runtime1-env
cloudfoundry/sample-service-metrics-release
cloudfoundry/sapi-env-pool
cloudfoundry/security-notices
cloudfoundry/slack-interrupt-bot
cloudfoundry/stratos
cloudfoundry/stratos-buildpack
cloudfoundry/summit-hands-on-labs
cloudfoundry/summit-training-classes
cloudfoundry/syslog-adapter-release
cloudfoundry/training-cert-admin
cloudfoundry/uaa-developer-training
cloudfoundry/uaa-hey
cloudfoundry/uaa-performance-release
cloudfoundry/uaa-singular-example
cloudfoundry/uaa-workstation

I created this script mainly because I was wondering which working group cloudfoundry/homebrew-tap belonged to.


Layer Bounds

Hi again,
I've seen that a layer have a bounds param, but can I use it to get the bounds? For example in a layer with markers get the extent of them.
Thanks.

Hi @JaumeFigueras, lot ot time passed from that issue, sorry for not responding.
You can't call a leaflet function without access the Leaflet object, you already know that for sure.
I'm closing this issue, please reopen if needed.


AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'

I successfully ran the ansible playbook yesterday however I wanted to do it again today with a HA setup.  It must be something I've done but I've recreated everything and tried again but get the following error during the playbook..
TASK [etcd : Configure |  Create etcd config file] *****************************
fatal: [kubernetes-node-1]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [kubernetes-node-4]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [kubernetes-node-5]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [kubernetes-node-3]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [kubernetes-node-2]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [kubernetes-master]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}

I can't think what's different today from how I ran it yesterday, don't suppose anyone has any ideas?

Ansible failed to gather the ipv4 from your hosts
Was it full deploy or you selected a tag?
One solution is to set the ip variable in the inventory (see the example below)
## Configure 'ip' variable to bind kubernetes services on a
## different ip than the default iface
node1 ansible_ssh_host=<IP_ADDRESS>   ip=<IP_ADDRESS>
node2 ansible_ssh_host=<IP_ADDRESS>   ip=<IP_ADDRESS>
node3 ansible_ssh_host=<IP_ADDRESS>   ip=<IP_ADDRESS>
node4 ansible_ssh_host=<IP_ADDRESS>   ip=<IP_ADDRESS>
node5 ansible_ssh_host=<IP_ADDRESS>   ip=<IP_ADDRESS>
node6 ansible_ssh_host=<IP_ADDRESS>  ip=<IP_ADDRESS>

[kube-master]
node1
node2

[etcd]
node1
node2
node3

[kube-node]
node2
node3
node4
node5
node6

[k8s-cluster:children]
kube-node
kube-master

It was a full deploy.
Yeah I actually tried adding the ip variable but still no joy.  Hmm I'll keep digging.

I've just reverted back to a non HA inventory and it's got past the ansible step that was failing.
No idea what I did wrong yet but I'll report back once I figure it out in case others do the same.

can you share the inventory ?

Sure, this one fails..
kubernetes-master ansible_ssh_host=<IP_ADDRESS>
kubernetes-node-1 ansible_ssh_host=<IP_ADDRESS>
kubernetes-node-2 ansible_ssh_host=<IP_ADDRESS>
kubernetes-node-3 ansible_ssh_host=<IP_ADDRESS>
kubernetes-node-4 ansible_ssh_host=<IP_ADDRESS>
kubernetes-node-5 ansible_ssh_host=<IP_ADDRESS>

[kube-master]
kubernetes-master
kubernetes-node-1

[etcd]
kubernetes-master
kuberneten-node-1
kubernetes-node-2

[kube-node]
kubernetes-node-1
kubernetes-node-2
kubernetes-node-3
kubernetes-node-4
kubernetes-node-5

[k8s-cluster:children]
kube-node
kube-master

This works..
kubernetes-master ansible_ssh_host=<IP_ADDRESS>
kubernetes-node-1 ansible_ssh_host=<IP_ADDRESS>

[kube-master]
kubernetes-master

[etcd]
kubernetes-node-1

[kube-node]
kubernetes-node-1

[k8s-cluster:children]
kube-node
kube-master

I can see it.. there's a typo in the etcd section kuberneten-node-1 should be kubernetes-node-1!

I'm also running into this error with the HA inventory (very similar to the one you posted):
TASK [etcd : Configure |  Create etcd config file] *****************************
fatal: [worker-1]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [worker-2]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [worker-3]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [master-1]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [master-2]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}
fatal: [master-3]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_default_ipv4'"}

It worked when I only had one host for the etcd group

@jamiehannaford , we  kinda faced similar issue, under the group we have 3 servers of which 2 of them are down. once we made them up, it worked like a charm

guys !
use  ansible_facts["default_ipv4"] instead of ansible_default_ipv4 .


Added Change logs of each component  to docsite

Summary
Resolves this.
Additional Details
Now the terra-dev-site has change logs for each of the components along with examples to make it easier for consumers to go through each and every release changes.

You'll need to add a changelog entry to all the packages


Move C# and HTML Preview helpers to use webview panels.

The old document content provider mechanism we used in VSCode to show C# + HTML contents for Razor files was deprecated. Moved that logic to use the new supported infrastructure, webview panels.
Added copy buttons to make it easy to extract C#/HTML from the virtual docs.
The current implementation doesn't respond to open focus-changes of documents. That can always be added later.

aspnet/AspNetCore#14307

This issue I found is a bit light on details for someone who's new to the area.

That issue definitely highlights the main ones. Basically:

The old previewHtml design allowed for XSS attacks. The new webpanel variant allows extensions to turn on or off JavaScript capabilities, i.e. the a bility for me to add a "Copy C#" button.
Old previewHtml design didn't work when restoring environments (re-opening VSCode/reloading window etc.).
Old previewHtml design didn't work well with file different types of file systems because you were only ever providing string content for your file (assumed UTF8 encoding for instance)


Bump kubernetes patch version for 1.23

Issue #, if available:
https://github.com/aws/eks-distro/issues/1407
Description of changes:
Bumps kubernetes version for 1.23
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/retest

Closing in favor of https://github.com/aws/eks-distro/pull/1442


[BUG] Process ends up in the middle with an error showing

This error never happened while using the initial version, but I'm facing this since version 1.1.4 and it still continues on 1.1.5
while process goes on, it suddenly stops with an error showing that says "The Master Worker has encountered an error: Object reference not set to an instance of an object."
I've tried different configs made by different makers. But it happens for all configs. So I made sure it's not config issue; rather the engine issue.
Usually what I've seen the percentage marker forwards more than the actual percentage. Say for example while the engine completed checking 40% of the list, the marker showing 60% or more. But if the process being stopped and then resumed, it starts from 40% which is actual percentage. There's no certain percetage of when the error will occur. It might happen any time at any percentage; usually when the marker shows more percentage than the actual.
So the problem might be causing for that mismatching between the actual process and marker's process. Expecting a permanent fix on this issue. The error snap has been attached with.

Thanks in advance..

Hello, in this line https://github.com/openbullet/openbullet/blob/master/RuriLib/Runner/RunnerViewModel.cs#L623 can you replace Error.Message with Error.ToString() so I can see exactly on which line the problem happened? Otherwise I don't have enough information, thanks.

Closing as the OP is dead or something


Features/format error

[x] Add an Error Parser for the ClientFactory
[ ] Update the doc
[ ] Update the example

Codecov Report

Merging #39 (37cfb76) into features/result (2373e5d) will not change coverage.
The diff coverage is 100.00%.

@@                Coverage Diff                @@
##           features/result       #39   +/-   ##
=================================================
  Coverage           100.00%   100.00%
=================================================
  Files                   46        47    +1
  Lines                 1533      1546   +13
=================================================
+ Hits                  1533      1546   +13

Impacted Files
Coverage Δ

src/blacksmith/domain/error.py
100.00% <100.00%> (ø)

src/blacksmith/domain/model/params.py
100.00% <100.00%> (ø)

src/blacksmith/sd/_async/adapters/consul.py
100.00% <100.00%> (ø)

src/blacksmith/sd/_sync/adapters/consul.py
100.00% <100.00%> (ø)

src/blacksmith/service/_async/client.py
100.00% <100.00%> (ø)

src/blacksmith/service/_async/route_proxy.py
100.00% <100.00%> (ø)

src/blacksmith/service/_sync/client.py
100.00% <100.00%> (ø)

src/blacksmith/service/_sync/route_proxy.py
100.00% <100.00%> (ø)

src/blacksmith/domain/registry.py
100.00% <0.00%> (ø)

src/blacksmith/domain/model/http.py
100.00% <0.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Paint activity, filter activity options not clear.

In the paint activity, under the filter activity there are two options. However, there is no tooltip explaining what they do nor the help button explains it during the tutorial. Suggesting a very minor enhancement, i.e. simple tooltips explaining what they do.

Hello,
I would like to work on this issue.
Can you please assign it to me.

Hey @disha1202 , Sorry but I am working on this issue and already have a PR for it.

Fix in https://github.com/llaske/sugarizer/pull/1005

Please don't close the issue until a version with this fix is release.


Implement disconnect from GitHub button

Implement a button to disconnect from GitHub (similar o Google + one).
Two parts to this:

[ ] ~(Optional) Revoke application acces in GH. This might not be possible with our current setup (since we don't save the token)~
[ ] (Mandatory) Forget the github_user_id field (set it to null).
[ ] (Mandatory) Don't allow disconnecting if there is no other authentication method configured (password or google). Otherwise the user won't be able to log in again. Show a decent message, something like "You cannot disconnect from GitHub unless you configure a password first."

Stale issue. Closing 👋


Provide support for "per unit test coverage" reports in sonarqube

From https://issues.gradle.org/browse/GRADLE-2895
I am trying to get jacoco+sonarqube+any build tool work report coverage-per-test.  It appears that maven works, I do know. Gradle is my tool of choice for all new project and it should have way to report coverage-per-test
SonarQube feature is buried under https://docs.sonarqube.org/display/PLUG/Code+Coverage+by+Unit+Tests+for+Java+Project
Essentially it works  by recording sessions with classname and method name in jacoco.exec file.
Expected Behavior

Current targets:
gradle test jacocoTestReport gets a coverage report.
 gradle sonarqube   sends data to sonarqube
Some new target or parameters to new existing targets to get coverage report per test basis.
Current Behavior
I do not know
Context

Coverage per test is feature in SonarQube. I am trying to see it working with gradle
(actually tried with ant, maven - nothing really works)
we have about 5million line code covered by tens of thousands of test.  Once we get database of test vs line, we could reduce the number of tests for a given change.
Our current build tools is ant, hoping to push gradle  in new projects.
Steps to Reproduce (for bugs)
Not a bug
Your Environment
windows or linux
Java 8
Lot of CPU (16 cores) and memory(32G, 64G+)

Build scan URL:

This is a question for the sonarqube plugin, which is not maintained by us. Please ask on their issue tracker or forum.


Openmpi 5 - Testing

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

The following packages are incompatible
├─ mlip *,3.0.* mpi_openmpi_* is installable and it requires
│  └─ openmpi >=4.1.6,<5.0a0 , which can be installed;
├─ n2p2 *,2.2.0.* mpi_openmpi_* is installable with the potential options
│  ├─ n2p2 2.2.0 would require
│  │  └─ openmpi >=4.1.6,<5.0a0 , which can be installed;
│  ├─ n2p2 2.2.0 would require
│  │  └─ openmpi >=5.0.3,<6.0a0 , which conflicts with any installable versions previously reported;
│  └─ n2p2 2.2.0 would require
│     └─ python_abi 3.12.* *_cp312, which requires
│        └─ python 3.12.* *_cpython, which can be installed;
├─ openmpi 5.*  is not installable because it conflicts with any installable versions previously reported;
└─ python 3.9.* *_73_pypy is not installable because it conflicts with any installable versions previously reported.


"error: local-exec provisioner error" requires explicit gcloud authentication

I encountered an edge case with Authentication when the code is running outside of Cloud Shell.
Issue:
It is required to set both Application Default Credentials (for Terraform) and gcloud credentials (for gcloud credentials in the scripts, such as the help function to get cluster credentials).
This is a bit non-intuitive, because normally when I deploy terraform assets I expect that only ADC is needed.
However, when running on my local workstation, I set ADC only with gcloud auth application-default login, then run most of the terraform apply successfully, but it fails near the end due to missing gcloud credentials.  (error copied below).
Error: local-exec provisioner error
│
│   with module.kubectl_asm_wait_for_controlplanerevision_custom_resource_definition.module.gcloud_kubectl.null_resource.run_command[0],
│   on .terraform/modules/kubectl_asm_wait_for_controlplanerevision_custom_resource_definition/main.tf line 231, in resource "null_resource" "run_command":
│  231:   provisioner "local-exec" {
│
│ Error running command 'PATH=/google-cloud-sdk/bin:$PATH
│ .terraform/modules/kubectl_asm_wait_for_controlplanerevision_custom_resource_definition/modules/kubectl-wrapper/scripts/kubectl_wrapper.sh
│ tp-w europe-west1 myprojectid false false /bin/sh -c 'while ! kubectl wait
│ crd/controlplanerevisions.mesh.cloud.google.com --for condition=established --timeout=60m
│ --all-namespaces; do echo "crd/controlplanerevisions.mesh.cloud.google.com not yet available, waiting...";
│ sleep 5; done'
│ ': exit status 1. Output: + '[' 8 -lt 5 ']'
│ + CLUSTER_NAME=tp-w
│ + LOCATION=europe-west1
│ + PROJECT_ID=myprojectid
│ + INTERNAL=false
│ + USE_EXISTING_CONTEXT=false
│ + ENABLE_IMPERSONATE_SERVICE_ACCOUNT=/bin/sh
│ + IMPERSONATE_SERVICE_ACCOUNT=-c
│ + shift 5
│ + false
│ + RANDOM_ID=26965_30807
│ + export TMPDIR=/tmp/kubectl_wrapper_26965_30807
│ + TMPDIR=/tmp/kubectl_wrapper_26965_30807
│ + trap cleanup EXIT
│ + mkdir /tmp/kubectl_wrapper_26965_30807
│ + export KUBECONFIG=/tmp/kubectl_wrapper_26965_30807/config
│ + KUBECONFIG=/tmp/kubectl_wrapper_26965_30807/config
│ ++ grep -o -
│ ++ wc -l
│ + LOCATION_TYPE=1
│ + CMD='gcloud container clusters get-credentials tp-w --project myprojectid'
│ + [[ /bin/sh == true ]]
│ + [[ 1 -eq 2 ]]
│ + CMD+=' --region europe-west1'
│ + false
│ + gcloud container clusters get-credentials tp-w --project myprojectid --region europe-west1
│ Fetching cluster endpoint and auth data.
│ ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=401, message=Request had invalid
│ authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication
│ credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
│ + cleanup
│ + rm -rf /tmp/kubectl_wrapper_26965_30807

After I explicitly reauthenticate with gcloud auth login, then terraform apply can complete successfully.
It might be a common issue in customer environments if they follow security best practices to set a reauth policy for Google Cloud Session length, and this is also enabled by default for new customer orgs since 2023.
Suggested fix:
In the initial setup and troubleshooting directions, add a note that if you're running terraform in an environment other than CloudShell, you have to explicitly set both gcloud auth login && gcloud auth application-default login with the credentials of the principal deploying the resources.
When running in Cloud Shell, both of these are automatically set to your user identity without any deliberate configuration, so the directions as written can avoid this edge case. However, for those running outside of CloudShell, this could help reduce friction.

Hi @eeaton !
The module mentioned in the log is a wrapper around gcloud, so it's expected to use application default credentials if available.
What if you re-run gcloud auth application-default login instead of gcloud auth login?


Xcode projects?

At the risk of sounding stupid, is it possible to use this with an Xcode project? I tried cloning the repo and building which gave me AppUpdater.swiftmodule, but I'm not sure how I'd use that from Xcode?

You can drag and drop the single swift file into your project.
If you want package management, Carthage will work, but you will still need to drag and drop the source file from the Carthage checkout. CocoaPods can do this too, but it will not automatically update. You could even use SwiftPM with the same source-dragging requirement, it will keep the dependency up-to-date too like Carthage.
Finally I offer Cake that you can use for this too, but I expect it is too exotic for your needs.

Thanks for the reply 😃

If you want package management

This is how I should have framed my original question 🤦🏻♂. I was pretty excited to see that AppUpdater is a single source file project, and was about to drop it into my project (my favourite method for using third party code) until I noticed it had dependencies. A better question would have been "Is there an easy way to integrate AppUpdater along with its dependencies into an Xcode project?"
Interestingly after your mention of using Carthage I checked your Path.swift for Carthage support and found https://github.com/Carthage/Carthage/pull/1945, which is the kind of thing I was thinking of. So until then, I'll fetch with SPM and drag all the dependencies in that way. Although maybe WWDC will bring with it SPM support for Xcode anyway 🤞🏻

Finally I offer Cake that you can use for this too, but I expect it is too exotic for your needs.

Damn this looks interesting, I'm going to have to have a tinker with it!

Sorry I forgot there were dependencies to this package. So yeah, SwiftPM is probably you’re only reasonable choice.
It is possible to generate an xcodeproj from a Package.swift for your app’s deps and use that from your app’s xcodeproj. It's not recommended though, since it's a bit fiddly.

I hadn't thought about using the generated xcodeproj. Just tried and it works a treat! Thanks 🙏


Move into cocoapod

Moved this into a cocoapod. Not really useful atm because the whitelist is static. But atleast this gives us versioning. If this gets merged in, I'll start work on the dynamic whitelist.
A lot of this stuff is just boiler plate that you get from pod lib create <name>.

To just add a podspec you can almost just copy https://github.com/sonoramac/Podspecs/blob/master/SPMediaKeyTap/1.0.0/SPMediaKeyTap.podspec


Fix az webapp container up - use new ACR API version

Description
This is a small fix to the new 'az webapp container up' extension. Azure Container Registry recently updated their API version in the latest Azure CLI release, which broke some of our code.
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Nking92/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"

@Nking92  can you update the help with the examples on how to use this command?

LGTM once the CI is green i can sign-off & merge


[base] Remove unstyled suffix from Base components + Codemod script

[x] I have followed (at least) the PR section of the contributing guide.

Preview: e.g., https://deploy-preview-36873--material-ui.netlify.app/base/react-button/

The failing test is related to https://github.com/mui/material-ui/pull/36936 (it's one of the problems that is solved).

On the codemod, I would expect that interface and other exported modules, like classes etc. that are renamed would be aliased as the old ones, or we should replace them in the whole file, for e.g.
 import ButtonUnstyled, {
-  ButtonUnstyledProps,
+  ButtonProps as ButtonUnstyledProps,
-  ButtonUnstyledRootSlotProps,
+  ButtonRootSlotProps as as ButtonUnstyledRootSlotProps,,
-  buttonUnstyledClasses,
+  buttonClasses, buttonUnstyledClasses,
-} from '@mui/base/ButtonUnstyled';
+} from '@mui/base/Button';

The logic in https://github.com/mui/material-ui/blob/7b1ad3450b782d3bd142709e812846d9e99962b2/packages/docs-utilities/index.js#L31 is broken. We should check where it is used and find alternative implementation

Addressed your comments on codemod

getUnstyledFilename is used for generating prop types. Will look.

Fixed the last lint error. Ready for merge.

@siriwatknp or @Janpot maybe you can help. We are removing the Unstyled suffix from the Base UI's components in this PR. Previously the API links looked like: https://mui.com/base/react-button/components-api/#button-unstyled, but now as the unstyled suffix is gone, the anchor is different: https://mui.com/base/react-button/components-api/#button. I pushed https://github.com/mui/material-ui/pull/36873/commits/35325a78ce7a00ec5cd240b7f9b6667b2d5db9b9 in order to fix this, however if you open https://deploy-preview-36873--material-ui.netlify.app/base/react-button/components-api/#button-unstyled you will notice that the replacement of the url is happening twice. Do you know what may be the reason for this and how can we avoid it?

It is not that big a deal, as these old URLs were there for only two weeks, we can likely drop this logic after some time, but it bugs me a lot.

@mnajdova Try
if (router.isReady && anchor && anchor.endsWith('-unstyled')) {

From https://nextjs.org/docs/advanced-features/automatic-static-optimization#caveats

Avoid using the asPath value on next/router in the rendering tree until the router's isReady field is true.

To add a small nit that I noticed I'd also do
hash: `${anchor.slice(0, -'-unstyled'.length)}`,

To avoid replacing the string "-unstyled" should it appear in the middle of the string for some reason. (Probably won't happen in practice?)

@mnajdova Maybe try
if (router.isReady && anchor && anchor.endsWith('-unstyled')) {

From https://nextjs.org/docs/advanced-features/automatic-static-optimization#caveats

Avoid using the asPath value on next/router in the rendering tree until the router's isReady field is true.

Aaaah yes, this was it, thanks Jan!

To add a small nit that I noticed I'd also do
hash: `${anchor.slice(0, -'-unstyled'.length)}`,

To avoid replacing the string "-unstyled" should it appear in the middle of the url for some reason. (Probably won't happen in practice?)

Applied the change just to safe, however it shouldn't happen.

I have found a regression.

Open https://deploy-preview-36873--material-ui.netlify.app/material-ui/react-slider/#api
The API link points to Base UI

This is a breaking change, while it may be acceptable as @mui/base is in alpha, but other @mui components depend on it.
See https://github.com/apache/pulsar-site/pull/566.


action.do_orbit no attribut found error message.

Hi,
I am trying to achieve an auto mission with do_orbit function to move the drone in circle facing towards alawys front option.
I tried using mavsdk python and it gives the following error.
`Error msg:
Waiting for drone to connect...
Drone discovered!
Waiting for drone to have a global position estimate...
-- Global position estimate OK
-- Arming
--- Taking Off
Traceback (most recent call last):
File "/home/lalith/MAVSDK-Python/testScripts/windmillinspect.py", line 43, in
asyncio.run(run())
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)

File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/lalith/MAVSDK-Python/testScripts/windmillinspect.py", line 30, in run
await drone.action.do_orbit(radius_m = 5,
File "/home/lalith/MAVSDK-Python/drones/lib/python3.8/site-packages/mavsdk/action.py", line 587, in do_orbit
request.yaw_behavior = yaw_behavior.translate_to_rpc()
AttributeError: 'int' object has no attribute 'translate_to_rpc'`

Looks like it could be a bug indeed. Did you check the code at /home/lalith/MAVSDK-Python/drones/lib/python3.8/site-packages/mavsdk/action.py", line 587? Can you show it here?

`import asyncio
from mavsdk import System
import mavsdk
from mavsdk.action import OrbitYawBehavior
async def run():
drone = System()
await drone.connect(system_address="udp://:14540")
print("Waiting for drone to connect...")
async for state in drone.core.connection_state():
    if state.is_connected:
        print("Drone discovered!")
        break

print("Waiting for drone to have a global position estimate...")
async for health in drone.telemetry.health():
    if health.is_global_position_ok and health.is_home_position_ok:
        print("-- Global position estimate OK")
        break

print("-- Arming")
await drone.action.arm()

print("--- Taking Off")
await drone.action.takeoff()
await asyncio.sleep(5)

await drone.action.do_orbit(radius_m = 5,
                            velocity_ms = 1,
                            yaw_behavior = OrbitYawBehavior.HOLD_FRONT_TO_CIRCLE_CENTER,
                            latitude_deg = 47.398039859999997,
                            longitude_deg = 8.5455725400000002,
                            absolute_altitude_m = 15)
await asyncio.sleep(20)

await drone.action.land()
print("--- Landing")

if name == "main":
# asyncio.run(run())
loop = asyncio.get_event_loop()
loop.run_until_complete(run())`

I am using like this.. This also didn't worked.

Which PX4 version is this against?

My action.py is
`# -- coding: utf-8 --
DO NOT EDIT! This file is auto-generated from
https://github.com/mavlink/MAVSDK-Python/tree/main/other/templates/py
from ._base import AsyncBase
from . import action_pb2, action_pb2_grpc
from enum import Enum
class OrbitYawBehavior(Enum):
"""
Yaw behaviour during orbit flight.
 Values
 ------
 HOLD_FRONT_TO_CIRCLE_CENTER
      Vehicle front points to the center (default)

 HOLD_INITIAL_HEADING
      Vehicle front holds heading when message received

 UNCONTROLLED
      Yaw uncontrolled

 HOLD_FRONT_TANGENT_TO_CIRCLE
      Vehicle front follows flight path (tangential to circle)

 RC_CONTROLLED
      Yaw controlled by RC input

 """

HOLD_FRONT_TO_CIRCLE_CENTER = 0
HOLD_INITIAL_HEADING = 1
UNCONTROLLED = 2
HOLD_FRONT_TANGENT_TO_CIRCLE = 3
RC_CONTROLLED = 4

def translate_to_rpc(self):
    if self == OrbitYawBehavior.HOLD_FRONT_TO_CIRCLE_CENTER:
        return action_pb2.ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER
    if self == OrbitYawBehavior.HOLD_INITIAL_HEADING:
        return action_pb2.ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING
    if self == OrbitYawBehavior.UNCONTROLLED:
        return action_pb2.ORBIT_YAW_BEHAVIOR_UNCONTROLLED
    if self == OrbitYawBehavior.HOLD_FRONT_TANGENT_TO_CIRCLE:
        return action_pb2.ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE
    if self == OrbitYawBehavior.RC_CONTROLLED:
        return action_pb2.ORBIT_YAW_BEHAVIOR_RC_CONTROLLED

@staticmethod
def translate_from_rpc(rpc_enum_value):
    """ Parses a gRPC response """
    if rpc_enum_value == action_pb2.ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER:
        return OrbitYawBehavior.HOLD_FRONT_TO_CIRCLE_CENTER
    if rpc_enum_value == action_pb2.ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING:
        return OrbitYawBehavior.HOLD_INITIAL_HEADING
    if rpc_enum_value == action_pb2.ORBIT_YAW_BEHAVIOR_UNCONTROLLED:
        return OrbitYawBehavior.UNCONTROLLED
    if rpc_enum_value == action_pb2.ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE:
        return OrbitYawBehavior.HOLD_FRONT_TANGENT_TO_CIRCLE
    if rpc_enum_value == action_pb2.ORBIT_YAW_BEHAVIOR_RC_CONTROLLED:
        return OrbitYawBehavior.RC_CONTROLLED

def __str__(self):
    return self.name

class ActionResult:
"""
Result type.
 Parameters
 ----------
 result : Result
      Result enum value

 result_str : std::string
      Human-readable English string describing the result

 """

class Result(Enum):
    """
     Possible results returned for action requests.

     Values
     ------
     UNKNOWN
          Unknown result

     SUCCESS
          Request was successful

     NO_SYSTEM
          No system is connected

     CONNECTION_ERROR
          Connection error

     BUSY
          Vehicle is busy

     COMMAND_DENIED
          Command refused by vehicle

     COMMAND_DENIED_LANDED_STATE_UNKNOWN
          Command refused because landed state is unknown

     COMMAND_DENIED_NOT_LANDED
          Command refused because vehicle not landed

     TIMEOUT
          Request timed out

     VTOL_TRANSITION_SUPPORT_UNKNOWN
          Hybrid/VTOL transition support is unknown

     NO_VTOL_TRANSITION_SUPPORT
          Vehicle does not support hybrid/VTOL transitions

     PARAMETER_ERROR
          Error getting or setting parameter

     UNSUPPORTED
          Action not supported

     """

    UNKNOWN = 0
    SUCCESS = 1
    NO_SYSTEM = 2
    CONNECTION_ERROR = 3
    BUSY = 4
    COMMAND_DENIED = 5
    COMMAND_DENIED_LANDED_STATE_UNKNOWN = 6
    COMMAND_DENIED_NOT_LANDED = 7
    TIMEOUT = 8
    VTOL_TRANSITION_SUPPORT_UNKNOWN = 9
    NO_VTOL_TRANSITION_SUPPORT = 10
    PARAMETER_ERROR = 11
    UNSUPPORTED = 12

    def translate_to_rpc(self):
        if self == ActionResult.Result.UNKNOWN:
            return action_pb2.ActionResult.RESULT_UNKNOWN
        if self == ActionResult.Result.SUCCESS:
            return action_pb2.ActionResult.RESULT_SUCCESS
        if self == ActionResult.Result.NO_SYSTEM:
            return action_pb2.ActionResult.RESULT_NO_SYSTEM
        if self == ActionResult.Result.CONNECTION_ERROR:
            return action_pb2.ActionResult.RESULT_CONNECTION_ERROR
        if self == ActionResult.Result.BUSY:
            return action_pb2.ActionResult.RESULT_BUSY
        if self == ActionResult.Result.COMMAND_DENIED:
            return action_pb2.ActionResult.RESULT_COMMAND_DENIED
        if self == ActionResult.Result.COMMAND_DENIED_LANDED_STATE_UNKNOWN:
            return action_pb2.ActionResult.RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN
        if self == ActionResult.Result.COMMAND_DENIED_NOT_LANDED:
            return action_pb2.ActionResult.RESULT_COMMAND_DENIED_NOT_LANDED
        if self == ActionResult.Result.TIMEOUT:
            return action_pb2.ActionResult.RESULT_TIMEOUT
        if self == ActionResult.Result.VTOL_TRANSITION_SUPPORT_UNKNOWN:
            return action_pb2.ActionResult.RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN
        if self == ActionResult.Result.NO_VTOL_TRANSITION_SUPPORT:
            return action_pb2.ActionResult.RESULT_NO_VTOL_TRANSITION_SUPPORT
        if self == ActionResult.Result.PARAMETER_ERROR:
            return action_pb2.ActionResult.RESULT_PARAMETER_ERROR
        if self == ActionResult.Result.UNSUPPORTED:
            return action_pb2.ActionResult.RESULT_UNSUPPORTED

    @staticmethod
    def translate_from_rpc(rpc_enum_value):
        """ Parses a gRPC response """
        if rpc_enum_value == action_pb2.ActionResult.RESULT_UNKNOWN:
            return ActionResult.Result.UNKNOWN
        if rpc_enum_value == action_pb2.ActionResult.RESULT_SUCCESS:
            return ActionResult.Result.SUCCESS
        if rpc_enum_value == action_pb2.ActionResult.RESULT_NO_SYSTEM:
            return ActionResult.Result.NO_SYSTEM
        if rpc_enum_value == action_pb2.ActionResult.RESULT_CONNECTION_ERROR:
            return ActionResult.Result.CONNECTION_ERROR
        if rpc_enum_value == action_pb2.ActionResult.RESULT_BUSY:
            return ActionResult.Result.BUSY
        if rpc_enum_value == action_pb2.ActionResult.RESULT_COMMAND_DENIED:
            return ActionResult.Result.COMMAND_DENIED
        if rpc_enum_value == action_pb2.ActionResult.RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN:
            return ActionResult.Result.COMMAND_DENIED_LANDED_STATE_UNKNOWN
        if rpc_enum_value == action_pb2.ActionResult.RESULT_COMMAND_DENIED_NOT_LANDED:
            return ActionResult.Result.COMMAND_DENIED_NOT_LANDED
        if rpc_enum_value == action_pb2.ActionResult.RESULT_TIMEOUT:
            return ActionResult.Result.TIMEOUT
        if rpc_enum_value == action_pb2.ActionResult.RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN:
            return ActionResult.Result.VTOL_TRANSITION_SUPPORT_UNKNOWN
        if rpc_enum_value == action_pb2.ActionResult.RESULT_NO_VTOL_TRANSITION_SUPPORT:
            return ActionResult.Result.NO_VTOL_TRANSITION_SUPPORT
        if rpc_enum_value == action_pb2.ActionResult.RESULT_PARAMETER_ERROR:
            return ActionResult.Result.PARAMETER_ERROR
        if rpc_enum_value == action_pb2.ActionResult.RESULT_UNSUPPORTED:
            return ActionResult.Result.UNSUPPORTED

    def __str__(self):
        return self.name

def __init__(
        self,
        result,
        result_str):
    """ Initializes the ActionResult object """
    self.result = result
    self.result_str = result_str

def __eq__(self, to_compare):
    """ Checks if two ActionResult are the same """
    try:
        # Try to compare - this likely fails when it is compared to a non
        # ActionResult object
        return \
            (self.result == to_compare.result) and \
            (self.result_str == to_compare.result_str)

    except AttributeError:
        return False

def __str__(self):
    """ ActionResult in string representation """
    struct_repr = ", ".join([
            "result: " + str(self.result),
            "result_str: " + str(self.result_str)
            ])

    return f"ActionResult: [{struct_repr}]"

@staticmethod
def translate_from_rpc(rpcActionResult):
    """ Translates a gRPC struct to the SDK equivalent """
    return ActionResult(

            ActionResult.Result.translate_from_rpc(rpcActionResult.result),

            rpcActionResult.result_str
            )

def translate_to_rpc(self, rpcActionResult):
    """ Translates this SDK object into its gRPC equivalent """

    rpcActionResult.result = self.result.translate_to_rpc()

    rpcActionResult.result_str = self.result_str

class ActionError(Exception):
""" Raised when a ActionResult is a fail code """
def __init__(self, result, origin, *params):
    self._result = result
    self._origin = origin
    self._params = params

def __str__(self):
    return f"{self._result.result}: '{self._result.result_str}'; origin: {self._origin}; params: {self._params}"

class Action(AsyncBase):
"""
Enable simple actions such as arming, taking off, and landing.
 Generated by dcsdkgen - MAVSDK Action API
"""

# Plugin name
name = "Action"

def _setup_stub(self, channel):
    """ Setups the api stub """
    self._stub = action_pb2_grpc.ActionServiceStub(channel)

def _extract_result(self, response):
    """ Returns the response status and description """
    return ActionResult.translate_from_rpc(response.action_result)

async def arm(self):
    """
     Send command to arm the drone.

     Arming a drone normally causes motors to spin at idle.
     Before arming take all safety precautions and stand clear of the drone!

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.ArmRequest()
    response = await self._stub.Arm(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "arm()")

async def disarm(self):
    """
     Send command to disarm the drone.

     This will disarm a drone that considers itself landed. If flying, the drone should
     reject the disarm command. Disarming means that all motors will stop.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.DisarmRequest()
    response = await self._stub.Disarm(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "disarm()")

async def takeoff(self):
    """
     Send command to take off and hover.

     This switches the drone into position control mode and commands
     it to take off and hover at the takeoff altitude.

     Note that the vehicle must be armed before it can take off.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.TakeoffRequest()
    response = await self._stub.Takeoff(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "takeoff()")

async def land(self):
    """
     Send command to land at the current position.

     This switches the drone to 'Land' flight mode.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.LandRequest()
    response = await self._stub.Land(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "land()")

async def reboot(self):
    """
     Send command to reboot the drone components.

     This will reboot the autopilot, companion computer, camera and gimbal.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.RebootRequest()
    response = await self._stub.Reboot(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "reboot()")

async def shutdown(self):
    """
     Send command to shut down the drone components.

     This will shut down the autopilot, onboard computer, camera and gimbal.
     This command should only be used when the autopilot is disarmed and autopilots commonly
     reject it if they are not already ready to shut down.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.ShutdownRequest()
    response = await self._stub.Shutdown(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "shutdown()")

async def terminate(self):
    """
     Send command to terminate the drone.

     This will run the terminate routine as configured on the drone (e.g. disarm and open the parachute).

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.TerminateRequest()
    response = await self._stub.Terminate(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "terminate()")

async def kill(self):
    """
     Send command to kill the drone.

     This will disarm a drone irrespective of whether it is landed or flying.
     Note that the drone will fall out of the sky if this command is used while flying.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.KillRequest()
    response = await self._stub.Kill(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "kill()")

async def return_to_launch(self):
    """
     Send command to return to the launch (takeoff) position and land.

     This switches the drone into [Return mode](https://docs.px4.io/master/en/flight_modes/return.html) which
     generally means it will rise up to a certain altitude to clear any obstacles before heading
     back to the launch (takeoff) position and land there.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.ReturnToLaunchRequest()
    response = await self._stub.ReturnToLaunch(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "return_to_launch()")

async def goto_location(self, latitude_deg, longitude_deg, absolute_altitude_m, yaw_deg):
    """
     Send command to move the vehicle to a specific global position.

     The latitude and longitude are given in degrees (WGS84 frame) and the altitude
     in meters AMSL (above mean sea level).

     The yaw angle is in degrees (frame is NED, 0 is North, positive is clockwise).

     Parameters
     ----------
     latitude_deg : double
          Latitude (in degrees)

     longitude_deg : double
          Longitude (in degrees)

     absolute_altitude_m : float
          Altitude AMSL (in meters)

     yaw_deg : float
          Yaw angle (in degrees, frame is NED, 0 is North, positive is clockwise)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.GotoLocationRequest()
    request.latitude_deg = latitude_deg
    request.longitude_deg = longitude_deg
    request.absolute_altitude_m = absolute_altitude_m
    request.yaw_deg = yaw_deg
    response = await self._stub.GotoLocation(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "goto_location()", latitude_deg, longitude_deg, absolute_altitude_m, yaw_deg)

async def do_orbit(self, radius_m, velocity_ms, yaw_behavior, latitude_deg, longitude_deg, absolute_altitude_m):
    """
     Send command do orbit to the drone.

     This will run the orbit routine with the given parameters.

     Parameters
     ----------
     radius_m : float
          Radius of circle (in meters)

     velocity_ms : float
          Tangential velocity (in m/s)

     yaw_behavior : OrbitYawBehavior
          Yaw behavior of vehicle (ORBIT_YAW_BEHAVIOUR)

     latitude_deg : double
          Center point latitude in degrees. NAN: use current latitude for center

     longitude_deg : double
          Center point longitude in degrees. NAN: use current longitude for center

     absolute_altitude_m : double
          Center point altitude in meters. NAN: use current altitude for center

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.DoOrbitRequest()
    request.radius_m = radius_m
    request.velocity_ms = velocity_ms

    request.yaw_behavior = yaw_behavior.translate_to_rpc()

    request.latitude_deg = latitude_deg
    request.longitude_deg = longitude_deg
    request.absolute_altitude_m = absolute_altitude_m
    response = await self._stub.DoOrbit(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "do_orbit()", radius_m, velocity_ms, yaw_behavior, latitude_deg, longitude_deg, absolute_altitude_m)

async def hold(self):
    """
     Send command to hold position (a.k.a. "Loiter").

     Sends a command to drone to change to Hold flight mode, causing the
     vehicle to stop and maintain its current GPS position and altitude.

     Note: this command is specific to the PX4 Autopilot flight stack as
     it implies a change to a PX4-specific mode.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.HoldRequest()
    response = await self._stub.Hold(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "hold()")

async def set_actuator(self, index, value):
    """
     Send command to set the value of an actuator.

     Parameters
     ----------
     index : int32_t
          Index of actuator (starting with 1)

     value : float
          Value to set the actuator to (normalized from [-1..1])

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.SetActuatorRequest()
    request.index = index
    request.value = value
    response = await self._stub.SetActuator(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "set_actuator()", index, value)

async def transition_to_fixedwing(self):
    """
     Send command to transition the drone to fixedwing.

     The associated action will only be executed for VTOL vehicles (on other vehicle types the
     command will fail). The command will succeed if called when the vehicle
     is already in fixedwing mode.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.TransitionToFixedwingRequest()
    response = await self._stub.TransitionToFixedwing(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "transition_to_fixedwing()")

async def transition_to_multicopter(self):
    """
     Send command to transition the drone to multicopter.

     The associated action will only be executed for VTOL vehicles (on other vehicle types the
     command will fail). The command will succeed if called when the vehicle
     is already in multicopter mode.

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.TransitionToMulticopterRequest()
    response = await self._stub.TransitionToMulticopter(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "transition_to_multicopter()")

async def get_takeoff_altitude(self):
    """
     Get the takeoff altitude (in meters above ground).

     Returns
     -------
     altitude : float
          Takeoff altitude relative to ground/takeoff location (in meters)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.GetTakeoffAltitudeRequest()
    response = await self._stub.GetTakeoffAltitude(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "get_takeoff_altitude()")

    return response.altitude

async def set_takeoff_altitude(self, altitude):
    """
     Set takeoff altitude (in meters above ground).

     Parameters
     ----------
     altitude : float
          Takeoff altitude relative to ground/takeoff location (in meters)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.SetTakeoffAltitudeRequest()
    request.altitude = altitude
    response = await self._stub.SetTakeoffAltitude(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "set_takeoff_altitude()", altitude)

async def get_maximum_speed(self):
    """
     Get the vehicle maximum speed (in metres/second).

     Returns
     -------
     speed : float
          Maximum speed (in metres/second)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.GetMaximumSpeedRequest()
    response = await self._stub.GetMaximumSpeed(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "get_maximum_speed()")

    return response.speed

async def set_maximum_speed(self, speed):
    """
     Set vehicle maximum speed (in metres/second).

     Parameters
     ----------
     speed : float
          Maximum speed (in metres/second)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.SetMaximumSpeedRequest()
    request.speed = speed
    response = await self._stub.SetMaximumSpeed(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "set_maximum_speed()", speed)

async def get_return_to_launch_altitude(self):
    """
     Get the return to launch minimum return altitude (in meters).

     Returns
     -------
     relative_altitude_m : float
          Return altitude relative to takeoff location (in meters)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.GetReturnToLaunchAltitudeRequest()
    response = await self._stub.GetReturnToLaunchAltitude(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "get_return_to_launch_altitude()")

    return response.relative_altitude_m

async def set_return_to_launch_altitude(self, relative_altitude_m):
    """
     Set the return to launch minimum return altitude (in meters).

     Parameters
     ----------
     relative_altitude_m : float
          Return altitude relative to takeoff location (in meters)

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.SetReturnToLaunchAltitudeRequest()
    request.relative_altitude_m = relative_altitude_m
    response = await self._stub.SetReturnToLaunchAltitude(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "set_return_to_launch_altitude()", relative_altitude_m)

async def set_current_speed(self, speed_m_s):
    """
     Set current speed.

     This will set the speed during a mission, reposition, and similar.
     It is ephemeral, so not stored on the drone and does not survive a reboot.

     Parameters
     ----------
     speed_m_s : float
          Speed in meters/second

     Raises
     ------
     ActionError
         If the request fails. The error contains the reason for the failure.
    """

    request = action_pb2.SetCurrentSpeedRequest()
    request.speed_m_s = speed_m_s
    response = await self._stub.SetCurrentSpeed(request)

    result = self._extract_result(response)

    if result.result != ActionResult.Result.SUCCESS:
        raise ActionError(result, "set_current_speed()", speed_m_s)
    `

Which PX4 version is this against?

I am using px4 sitl with gazebo simulation. Try checking the version in QGC.
In heartbeat it only show autopilot = 12.
No autopilot version is visible.

If you do git log in the PX4 folder, you can find out which version your PX4 is based on.
Can you be more precise what exactly is not working? Usually it's good to post the entire error messages (and not entire code files) here to help find the issue. At least your initial issue should be solved:
>>> OrbitYawBehavior.HOLD_FRONT_TO_CIRCLE_CENTER.translate_to_rpc()
0

If you do git log in the PX4 folder, you can find out which version your PX4 is based on.
Can you be more precise what exactly is not working? Usually it's good to post the entire error messages (and not entire code files) here to help find the issue. At least your initial issue should be solved:
>>> OrbitYawBehavior.HOLD_FRONT_TO_CIRCLE_CENTER.translate_to_rpc()
0

Sorry for pasting the whole code. But there was no error shown.  That's why

No error but it doesn't work? Does the drone go into orbit mode when you observe it with QGC?

No error but it doesn't work? Does the drone go into orbit mode when you observe it with QGC?

Yes It doesn't work.
It Just takes off and land as soon as it is off the ground.
And Yes It does change to orbit mode while observing in QGC.

But it doesn't perform the orbit flight despite being in orbit mode. Is that "what's not working"? In that case you should create the issue in PX4 itself: https://github.com/PX4/PX4-Autopilot and make sure to attach the log file of the simulation flight, and of course your MAVSDK script. The log should be in ~/.ros/sitl__0/log

But it doesn't perform the orbit flight despite being in orbit mode. Is that "what's not working"? In that case you should create the issue in PX4 itself: https://github.com/PX4/PX4-Autopilot and make sure to attach the log file of the simulation flight, and of course your MAVSDK script. The log should be in ~/.ros/sitl__0/log

ok Thank you!.
Are you sure it's not a bug of mavsdk-python?

But it doesn't perform the orbit flight despite being in orbit mode. Is that "what's not working"? In that case you should create the issue in PX4 itself: https://github.com/PX4/PX4-Autopilot and make sure to attach the log file of the simulation flight, and of course your MAVSDK script. The log should be in ~/.ros/sitl__0/log

ok Thank you!.
And Yes it's not performing orbit operation that we're giving.
Are you sure it's not a bug of mavsdk-python?

If the drone gets into orbit mode, MAVSDK did its job: Forward the command correctly to PX4. Or was the drone landing too quickly, so not waiting 20 seconds before going into land mode?

So can you share the .ulg file of the simulation flight (as mentioned in ~/.ros/sitl_..../logs` folder). That should help a lot with debugging this!

I got this through QGC!
log_0_2023-5-19-17-30-46.zip

so....analyzing this ulg file with plotjuggler: The drone was for ~10 seconds in ORBIT mode. Are you sure that the code is the same, because in your code you wait 20 seconds after commanding the orbit mode. The navigation mode is written in the vehicle_status uORB topic in the field nav_state. As you can see, it's 21 for around 10 seconds and checking https://github.com/PX4/PX4-Autopilot/blob/main/msg/VehicleStatus.msg you will find NAVIGATION_STATE_ORBIT = 21.
The issue seems that the takeoff didn't have enough time to do it's job: the drone reached only 0.5m altitude. Then you gave him the orbit command to orbit somewhere at 2.5m AMSL, even though your flight started at ~488m AMSL.
So my tip: Use float("nan") for param7/altitude to use the current vehicle altitude (see https://mavlink.io/en/messages/common.html#MAV_CMD_DO_ORBIT) and give all the sleeps a little bit more time, especially the takeoff. Or consider a way of checking whether the drone finished takeoff before sending the orbit command.

@arpitpara it would be great if you could add an example to https://github.com/mavlink/MAVSDK-Python/tree/main/examples once you have something that nicely works against SITL.


firstbithigh, firstbitlow, clz, ctz..

HLSL got two functions firstbithigh/firstbitlow
Metal got clz/ctz.
SPIRV does not appear to have any equivalent to those (unless I missed it).
firstbithigh/firstbitlow got some... interesting semantics.
In the documentation, firstbithigh supports both int/uint, and only has the comment "For a signed integer, the first significant bit is zero for a negative number."
Still in the documentation (https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/firstbitlow), firstbitlow supports exclusively int for scalars and exclusively uint for vectors and has no comment whatsoever about edge cases.
https://github.com/Microsoft/DirectXShaderCompiler/issues/169 says:

The hlsl firstbitlow function returns the first bit set from the lsb. If no bit is set it returns -1.
The hlsl firstbithigh function changes behavior depending on the sign. For unsigned values it returns the index of the first bit set from the msb. However, the index starts from the lsb. For signed values if the value is negative it returns the index of first 0 from the msb, otherwise it returns the index of the first 1. Again all indexes relative to the lsb. If no 1 is found (or 0 for signed) then -1 is returned.

In practice, Myles tested it (https://bugs.webkit.org/show_bug.cgi?id=199531#c5), and the results match what was described in the DXC issue (with both functions supporting both signed and unsigned integers). In particular, note that firsthighbit(-1) and firsthighbit(0) are both -1 !
We generally try to match the HLSL standard library, but this kind of semantics is a bit crazy. It is a footgun for implementers (note that DXC got it wrong in the beginning), as well as for users. For an example of the latter, note that one of the first results in Google of "HLSL firstbithigh" is the following blog post: https://wickedengine.net/2018/01/05/next-power-of-two-in-hlsl/, which claims "If it is signed int, then you don’t have to worry about it, as the firstbithigh function will return zero for negative numbers." (which we saw is just wrong).
I doubt that these functions are heavily used because they have no direct equivalent in SPIRV.
A search on GitHub found 1.3k uses, but most of them appear to be forks of the same few projects.
So I suggest only specifying/implementing clz/ctz from Metal with their sane semantics. Anyone who really needs firsthighbit can easily reimplement it from this, and it would be one less trap for implementers and users both.

1.3k uses

This sounds enough to be worth the implementation annoyance.

I've specified firstbithigh/firstbitlow as per HLSL/dxc behavior for now, but I am keeping this issue open because I really wish we could get rid of this wart.

I found the SPIR-V equivalent. It is not in the SPIR-V main specification but in the GLSL.std450 extension to SPIR-V: https://www.khronos.org/registry/spir-v/specs/unified1/GLSL.std.450.html

FindILsb behaves like firstbitlow
FindSMsb behaves like firstbithigh
FindUMsb behaves like a sane version of firstbithigh (i.e. it does not treat negative numbers specially, and differentiates between 0 and -1).

This kills my hope that the behavior of firstbithigh is a crazy fluke that no one relies on. At least SPIR-V documents it.


Fix typo in profile template.

Coverage remained the same at 90.74% when pulling 141982a79dbfc05424d898fc4e630e67f8562ee7 on akatsoulas:fix-typo into 63c52f7e6a5aaab1c3e3d20d1234f89447021c55 on mozilla:master.


Introduce maintanance staff contact for medical manager

https://user-images.githubusercontent.com/24855641/189946086-e58fd16a-c64b-4c08-916a-79d37ea02bfe.mp4

@Jeetu303 Please review the video.

Refer UI. after logging in, your interface and the UI do not match. Maintenance shows some red-colored text. Remove unwanted text and page.
@ashutoshc8101 get back after doing indeed things

Refer UI. after logging in, your interface and the UI do not match. Maintenance shows some red-colored text. Remove unwanted text and page. @ashutoshc8101 get back after doing indeed things

All good Go ahead and merge pr @ashutoshc8101