Powerplatformrp

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

This is a new RP and this PR has minor change on a earlier PR reviewed by me. It's ok to take this breaking change in preview version since it's still under development. /cc @akning-ms .


async co19 test fails in release or checked mode on Windows

co19/Language/Expressions/Function_Invocation/async_invokation_t04
fails with a runtime error, only on Windows, but only in release or checked modes, not in debug unchecked.

Test is flawed. It assumes that new DateTime.now() has advanced between two async microtasks. The granularity of Windows timers probably prevents that from being visible.
I guess debug mode is slow enough that it works anyway.

Please file an issue on Dart-lang/co19 and either update the status file with it, or refer to it from this one, to avoid committing.


TypeError: Cannot read property 'indexOf' of null

Before digging deeper is aurelia-solitaire  supposed to work at the moment?
Did a clone of the repo and then followed the installation instructions. When running gulp watch game comes up, but in certain situations like dragging a king to an empty lane I'm getting the TypeError: Cannot read property 'indexOf' of null in aurelia-binding.js:3404.

Sorry about that- it needs a fix that's coming in this week's Aurelia release.  The version on the github pages site is running on master branch versions or some of the Aurelia repos.  I'll get this updated as soon as the release drops.

Np and thanks for the heads up. I'll check back later.


Publishing the plugin to Open VSX

Only Visual Studio products can use the VS Code marketplace. However, several open source solutions support VS Code extensions. That's why Open VSX was created. Making Klavaro available in this marketplace would make it easier to use for people who don't want to use Microsoft products.
There are two publication methods (either through npx or through creating a pull request to https://github.com/open-vsx/publish-extensions). Both are explained on the page linked earlier.
Thanks for this extension!

Hi!
I didn't know about Open VSX! Thank you for the comment.
I will publish Klavaro there very soon.

You can now found Klavaro on Open VSX.
https://open-vsx.org/extension/paulbarre/klavaro
Thanks again for your suggestion. @cyChop


KAFKA-8928: Logged producer config does not always match actual confi…

…g values
https://issues.apache.org/jira/browse/KAFKA-8928
Some logged producer configs(clientId, acks, retries) might not be reflected the actual values.
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mjsax Please review this patch. Thanks.

@guozhangwang Please review this patch if you have time:)

@guozhangwang Just done with the producer part. If that's the way we want to go, I will finish the consumer part.

@huxihx sorry for the delay, I just came back from a long OOO, will review soon.


using the optimal bloom filter size suggested by monkey

Changes:

Calculate the optimal FPR for bloom filter in Builder.Finish
Add & update some metrics

LGTM


Little changes

Hi. First of all, I like skeleton so when I saw your project immediately loved it.
Just forked today and found some things I changed and wondered if you wanted in yours.

Add node_modules folder to .gitigore so when someone runs npm install git does not turn crazy.
Add gulp-cli to local dependency so if someone has a different version installed globally it does not affect.
Add gulp.task( 'build'... so someone can build the project and has no Ctrl+C to stop the watch process.
So a fresh clone can simply do npm install and then npm run gulp or npm run gulp build.

Thanks for your work.

Sorry update my master. I close this.

I had a quick look at the changes you made and it looks interesting, and good point about node_modules!
Did you want to make your commits on a new branch?

Just created a new branch and a new pull request.


client config can be defined on file

Added loader for client config

This change is

Coverage decreased (-0.05%) to 58.962% when pulling 70826be67a268f04ef00e410047f7e75368eb986 on client-config into d09fdb0f19a8996e868d26761e44c770fe33bb5b on master.

see #730


Cloud Optimized GeoTIFF example is not working on codesandbox

Cloud Optimized GeoTIFF example is not working on codesandbox. I filed an issue at codesandbox repository too because it's not clear on which side the problem is.

Also noticed it on https://openlayers.org/en/latest/examples/center.html and some others.
https://openlayers.org/en/latest/examples/simple.html seems to work still.

The error is
TypeError
Cannot read properties of undefined (reading 'registerSerializer')

It occurs during
import GeoTIFF from "ol/source/GeoTIFF";

The stack trace is
$csb$eval
https://owk4e.csb.app/node_modules/threads/index.mjs:8:49
H
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:100070
K.evaluate
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112781
ge.evaluateTranspiledModule
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:123151
c
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112509
$csb$eval
https://owk4e.csb.app/node_modules/geotiff/src/pool.js:5:21
H
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:100070
K.evaluate
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112781
ge.evaluateTranspiledModule
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:123151
c
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112509
$csb$eval
https://owk4e.csb.app/node_modules/geotiff/src/geotiff.js:74:19
H
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:100070
K.evaluate
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112781
ge.evaluateTranspiledModule
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:123151
c
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112509
$csb$eval
https://owk4e.csb.app/node_modules/ol/source/GeoTIFF.js:11:21
H
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:100070
K.evaluate
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112781
ge.evaluateTranspiledModule
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:123151
c
https://codesandbox.io/static/js/sandbox.dd729db92.js:1:112509
$csb$eval
https://owk4e.csb.app/main.js:5:16

I'm pretty sure this has to do with the fact that Code Sandbox cannot handle the worker that geotiff.js uses.

It was working there couple of weeks ago.

This one is also broken: https://openlayers.org/en/latest/examples/arcgis-tiled.html

Unfortunately, #13292 did not fix this issue. codesandbox uses the browser build of geotiff.js (dist-browser/geotiff.js and complains about a missing import, which is not a package at all. Need to investigate further if this is a geotiff.js problem or a codesandbox problem.

Using the latest dev version and upgrading geotiff to v2.0.4 finally fixes the problem.


Read username from url

It would be a fun idea to have ?username=companyName instead of hard coding it. Fallback to lever maybe?

Fallback to btc which is BTC media. The company I wrote this for.


test(download): use CURRENT_ENGINES_HASH and debug urlExists()

example output from CI (before)
https://github.com/prisma/prisma/actions/runs/4068739470/jobs/7007659364#step:25:741
><EMAIL_ADDRESS>test /Users/runner/work/prisma/prisma/packages/fetch-engine
> jest
[...]
  console.log
    info The engine commit 323c8a1169351067817dd9f83076b2f8afad856c is not yet done. We're skipping it as we're in dev. Missing urls: 1

      at log (src/getLatestTag.ts:85:17)

  console.log
    info The engine commit 5cb8c36d6b81f775275971664983f06409ed8c6d is not yet done. We're skipping it as we're in dev. Missing urls: 3

      at log (src/getLatestTag.ts:85:17)

  console.log
    info The engine commit 1c3c1107e1e7d1d0ac19e76076bbaff83fc8cb87 is not yet done. We're skipping it as we're in dev. Missing urls: 1

      at log (src/getLatestTag.ts:85:17)
          at runMicrotasks (<anonymous>)

  console.log
    info The engine commit f2fdde4b88a31caca7d51e6b6e0c21cc54869522 is not yet done. We're skipping it as we're in dev. Missing urls: 2

      at log (src/getLatestTag.ts:85:17)
          at runMicrotasks (<anonymous>)

Note: I think we actually wanted to remove "latest" completely

Already done


Access specific dof attributes from ComputeElementMatrix

Dear all,
I think it is a very simple question, but I'm not sure it is truly possible.
Can I access some attributes or markers associated to degrees of freedom, directly inside the routines and functions associated to the Bilinear/Linear Form computations? I was thinking to ComputeElementMatrix or AssembleRHSElementVect.
My objective is to have 2 bilinear forms for 2 differents regions of the mesh. But the boundary is embedded in some elements, with (inside 1 element) some dofs from one region, and other dofs from the second region. I think that RestrictedCoefficient will not work in that case.
Thank you
Pierre

If your interface is conforming, then you could use the vertex or face connectivity, depending on your use-case. For example some patch can be applied with vertex connectivity with this template:
class PatchedBilinearFormIntegrator : public mfem::BilinearFormIntegrator
{
private:
    mfem::BilinearFormIntegrator* bfi;
    mfem::Mesh* mesh = nullptr;
    mfem::FiniteElementSpace* fes = nullptr;
    bool own_bfi;
    mfem::Table* v2e;

public:
    PatchedBilinearFormIntegrator(BilinearFormIntegrator* _bfi, mfem::FiniteElementSpace* _fes,
                                  bool _own_bfi = true)
        : bfi(_bfi)
        , mesh(_fes->GetMesh())
        , fes(_fes)
        , own_bfi(_own_bfi)
    {
        v2e = mesh->GetVertexToElementTable();
    }

    virtual void AssembleElementMatrix(const mfem::FiniteElement& el,
                                       mfem::ElementTransformation& Trans,
                                       mfem::DenseMatrix& elmat) override
    {
        mfem::Array<int> vertices, aels;

        const auto ei = Trans.ElementNo;
        bfi->AssembleElementMatrix(el, Trans, elmat);
        if (identify_subdomain_1(mesh->GetAttribute(ei)))
        {
            // Find adjacent elements and their dofs
            mesh->GetElementVertices(ei, vertices);
            for(auto vi : vertices)
            {
                v2e->GetRow(vi, aels);
                for(auto aei : aels)
                {
                    // If we are at the interface ...
                    if (identify_subdomain_2(mesh->GetAttribute(aei)))
                    {
                        // Do stuff...
                    }
                }
            }
        }
    }

    virtual ~PatchedBilinearFormIntegrator()
    {
        if (own_bfi)
        {
            delete bfi;
        }
        delete v2e;
    }
};

where you can access the dof information via the FiniteElementSpace (see e.g. GetVertexDofs). Regarding the markers, AFAIK they are directly associated with dofs. 'hope I could help a little.


Create a monthly report (web page) with forecasts and validation/stats

I would like us to automate the creating of a monthly icenet report (web page), looking forward to the next 3 months and a validation over the previous 3 months.
We can also produce running statistics on how accurate IceNet is, and whether there are any anomalous events coming up

Links to #49 so that we can report on different timescales.

@scotthosking updated the steps to implementation, can you provide a little feedback on whether you have any preferences, or are you happy for us to stitch this together using the numerous assets we have at our disposal for the daily forecasting?
I'll address the monthly / seasonal forecasting incorporation in due course, working on that in parallel
@bnubald once we get an OK from Scott that the above covers his requirements, are you keen to pick up initial implementation via the pipeline?

@scotthosking updated the steps to implementation, can you provide a little feedback on whether you have any preferences, or are you happy for us to stitch this together using the numerous assets we have at our disposal for the daily forecasting?
I'll address the monthly / seasonal forecasting incorporation in due course, working on that in parallel
@bnubald once we get an OK from Scott that the above covers his requirements, are you keen to pick up initial implementation via the pipeline?

Yes, happy to.

Sorry @bnubald - just saw these messages here, they get lost in my inbox so feel free to nudge me on Slack in the future and I can then reply here

To discuss:

[ ] SEAS access
[ ] Discuss integration into icenet-application +- cloud hosting pros/cons. Ideal preference would be to integrate within icenet-application rather than another implementation.


Filter adapter changes for GCJ [Part 1]

Changes
This is part 1 of 2 part changes, As this change contains 50 files change, only adding one method changes.

Updated TypedFilterAdapter#adapt to adapt to com.google.cloud.bigtable.data.v2.models.Filters.Filter,
Removed BigtableAdapter & BigtableFilter considering, they were wrapper for Filters.Filter to RowFilter
Updated test cases to implement and run against models.Filters.Filter instead of RowFilter.

Part-2
This change would contain TypedFilterAdapter#getIndexScanHint return type, from RangeSet<RowKeyWrapper> to ByteStringRange, which is compatible with Query.
Ran Test Case

[x] Minicluster for Hbase1 & Hbase2
[x] Integration test with virtual table
[x] Integration test with actual Bigtable.

@rahulKQL, can you please also resolve the conflicts?

@sduskis Could you please have a look at it again and let me know your thoughts.


Improve pup_stl testing

Original issue: https://charm.cs.illinois.edu/redmine/issues/1725

examples/charm++/PUP/STLPUP/ only tests std::vector right now. The PUP routine for std::vector has different specializations for vector and vector where T is an arithmetic type. We want to test all 3 cases of vector PUP, and to test PUP of other STL types.

Original date: 2017-10-27 20:39:46

Basically, add some different stl containers as members of HeapObject, initialize them to whatever values, then after sending a message of HeapObject, CkAssert() that the values are what they should be so that the test fails if they aren't correct.

Original date: 2017-11-02 22:33:42

Just FYI, I've added some cases already for bug #1443, which should be pushed to gerrit soon. There is still definitely room for more for Samarth to add, although I'm wondering if this should also be included in tests?

Original date: 2018-04-29 16:22:50

This patch needs to be updated with more STL containers and types: ~~https://charm.cs.illinois.edu/gerrit/#/c/charm/+/3949/~~ https://github.com/UIUC-PPL/charm/commit/8787811cb7165035c33a1b26ab3164c2ec5e3f91


WIP

Close #11

Coverage remained the same at 95.604% when pulling ea4c35ac379a3d1ee3900d23efc7d56c23ca1515 on pr-11-add-output-option into 709d3b57fc0a218c0e18958bb73f531535ff7845 on master.

Coverage remained the same at 95.604% when pulling aa8e11bbd8bae8f190b442999d0c1be4374889bf on pr-11-add-output-option into 709d3b57fc0a218c0e18958bb73f531535ff7845 on master.

Coverage increased (+0.07%) to 95.676% when pulling 2e64cc53eb754a1bec39f817cc3152406628b18a on pr-11-add-output-option into 709d3b57fc0a218c0e18958bb73f531535ff7845 on master.

Coverage increased (+0.07%) to 95.676% when pulling 2e64cc53eb754a1bec39f817cc3152406628b18a on pr-11-add-output-option into 709d3b57fc0a218c0e18958bb73f531535ff7845 on master.

Coverage increased (+0.07%) to 95.676% when pulling 2e64cc53eb754a1bec39f817cc3152406628b18a on pr-11-add-output-option into 709d3b57fc0a218c0e18958bb73f531535ff7845 on master.


[truth] added new extractor

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

This patch adds support for Truth Social, the social network founded by former U.S. president Donald J. Trump. His posts are of interest to journalists and other open-source intelligence researchers. This addition would make it easier to collect the videos he posts.
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

fix #3865

Please add fix #3865 in OP

@HobbyistDev, thanks for the feedback. I believe I have made all the changes you requested.

Btw, i am not a maintainer of this repo, i am just a contributor

Btw, i am not a maintainer of this repo, i am just a contributor

Your reviews are good and takes some load off of me. Don't hesitate to do more just because you aren't a maintainer 😄

done

I'm not sure why didn't you copy the code from GabIE which can be reused by only changing the hostname

@pukkandan, thank you for the feedback. I believe I've made all the changes you requested.

Thank you for supporting this patch. It will be used by professional journalists, I promise you.

A backport has been porposed in youtube-dl https://github.com/ytdl-org/youtube-dl/pull/31141


Adding Acoustic Library

The one in #25 28 samples from @Unfa and me. All .flac's.  I've made a loop of some of the dry samples for you all to check out https://clyp.it/5521rbcd
(Side not, I made a Clyp page for future demo's like this, if anyone's interested and wants the login creds, lemme know, if this is a bad idea, lemme know.)
May add some toms at a later date.

Closing this. I will need to reprocess the samples, as my skill have greatly improved


Added fmt and clippy details in the cargo list

resolved #8680

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

Thanks, have you seen PR #8729?  There are some concerns listed on that PR in regards to this issue.

oops, sorry I missed that. I'll close my PR
Thanks for the update @ehuss


command 'python.setInterpreter' not found

Environment data

VS Code version: 1.52.0 (user setup)
Extension version (available under the Extensions sidebar): 2020.11.371526539
OS and version: Windows_NT x64 10.0.18363
Python version (& distribution if applicable, e.g. Anaconda): 3.6.12 Anaconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: just Python extension: 2020.11.371526539
Value of the python.languageServer setting: Jedi

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
After doing CTRL+SHIFT+P, I want to select Python Interpreter
Actual behaviour
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)
So I cannot run any python scripts within vscode
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

I just start my vscode normally like I always do but suddenly I can't see any python interpreter selected and cannot run my python scripts. So I tried to do CTRL+SHIFT+P to select it but it gave me this error. I didn't update my Python recently also, but VSCode seems to have updated recently?

Logs
How can I retrieve detailed logs?

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

It's likely that the Python extension has not been activated. Please open a python file to activate the extension, the commands should be available after that.

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority.
If you think your issue is more of a question or configuration problem rather than a bug, please ask on Stack Overflow with the visual-studio-code and python labels for help.
Thanks for your understanding and patience!

It's likely that the Python extension has not been activated. Please open a python file to activate the extension, the commands should be available after that.

I don't understand what you mean. I've been coding Python for months. This happened out of the blue one day when I was trying to execute .py scripts (normally there's the green arrow button on the top right as well).

Yep. I installed v2020.10.332292344 (from 1 month ago) and everything is back to normal. Seeing as the issue started happening yesterday, it's most likely something to do with the new release that came out on 14th Dec, but then someone else posted this on 7 Nov also so maybe that one already has the issue.
https://stackoverflow.com/questions/64723778/vscode-using-the-ms-python-extension-cannot-execute-code

@linminhtoo Can you check the following folder %USERPROFILE%\.vscode\extensions and see if there are multiple ms-python.python* versions? If so remove all of them.
Also can you check your settings, are you using "python.experiments.optInto": [ "All"] setting?

@linminhtoo Can you check the following folder %USERPROFILE%\.vscode\extensions and see if there are multiple ms-python.python* versions? If so remove all of them.
Also can you check your settings, are you using "python.experiments.optInto": [ "All"] setting?

I deleted all folders of ms-python.python* and reinstalled the latest version of the Python extension, but the same error returns when trying to select a Python interpreter. I also tried both ["All"] and just [] for "python.experiments.optInto" but both gave me the same error when trying to select a Python interpreter.

@linminhtoo Are you by chance installing using VSIX manually? if so, can you verify you also have ms-toolsai.jupyter (https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) extension installed. it is needed for the python extension to work.

@linminhtoo Are you by chance installing using VSIX manually? if so, can you verify you also have ms-toolsai.jupyter (https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) extension installed. it is needed for the python extension to work.

Happens to me as well:
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)

@bharel Try the following. If that does not help create a new bug.
Do the following to remove stale versions of the extension:

Uninstall Python extension (if you have pylance uninstall it first).
Close all instances of VS Code.
Go to, %USERPROFILE%/.vscode/extensions (on windows) or ~/.vscode/extensions on Linux/Mac.
Delete any folder with the name starting with ms-python.python*
Start VS Code, and install Python extension (also pylance if you uninstalled it in step 1).

@karthiknadig I've installed VS code 4 days ago, on a fresh system. I'm not sure I have a "stale version". I did install an older extension version though and it solved the problem.

Happens also to me.
Tried removing old version from ~/vscode/extensions, adding and removing the python.experiments.optInto setting and also downgrading to v2020.10.332292344, none of them seem to work.
Version: 1.53.0
Commit: 8490d3dde47c57ba65ec40dd192d014fd2113496
Date: 2021-02-03T16:01:04.046Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.3.0
Python extension version v2021.1.502429796
In my case this does not allow me to select the pipenv virtual environment, and then I don't have the dependencies for my project, which implies that autocomplete features are not working.

Same issue here. I'm running code-server, its a totally clean install onto a clean install of Ubuntu Server 20.04 so I can 100% rule out any issues with multiple versions of the extension.  Python is, quite literally, the first and only extension I have ever installed. I installed it from the built in extension page and all prerequisites are installed.
Here's the info from Help > About
code-server: v3.8.1
 VS Code: v1.51.1
Commit: 41ad0c0c4c14df78e1bfa3a44d8b633ed2fc26e5
Date: 2021-02-05T22:26:25Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

@Dungeonseeker Rolling the python extension back to v2020.10.332292344 worked for me too

If v2020.10 version works but v2020.11 and above does not work. Then it is likely that you don't have this extension: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter.
In 2020.11 we split the python into two extensions the ms-python.python extension and the jupyter extension. For now, both are needed for the python extension to work.

I installed the jupyter extension and updated ms-python.python to v2021.2.576481509 and that's failing for me

@lyndonchan Try 2021.1 we released 2021.2 seems like it had a bug where it fails to load for some people. Were are investigating it.

@karthiknadig same problem after trying 2021.1

@lyndonchan Can you share the dev tools logs? (Help > Toggle Developer Tools)

@karthiknadig

Activating extension 'ms-toolsai.jupyter' failed: Cannot find module 'c:\Users\home.vscode\extensions\ms-toolsai.jupyter-2021.2.576440691\out\client\extension'
Require stack:

c:\Users\home\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js
c:\Users\home\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js
c:\Users\home\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js.

Cannot activate extension 'Python' because it depends on extension 'ms-toolsai.jupyter', which failed to activate.

@lyndonchan what is your version of VS Code? Make sure it is at least 1.52 or greater.

@karthiknadig it's 1.53

@DonJayamanne @rchiodo Can you take a look at why ms-toolsai.jupyter might be failing to activate?

Is ms-toolsai.jupyter fully installed? I'd check this folder to see if the mentioned file is there:
For example, I have this:

We have had problems in the past when the installer didn't work.

@rchiodo I suppose it isn't fully installed. This is what I see:

I'd delete that folder then and reinstall from the marketplace.

Delete the entire extension folder that is.

@linminhtoo Are you by chance installing using VSIX manually? if so, can you verify you also have ms-toolsai.jupyter (https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) extension installed. it is needed for the python extension to work.

Thank you, this was the issue for me. Can you please make it so that the extension gives some kind of error/warning that Jupyter package is missing? I've read all the logs and I couldn't find what was wrong before I googled the issue.

Same problem here with code-server v3.9.0.
I have deleted all ms-toolsai.jupyter.* and ms-python.python.* from the extension folder.
I have re-installed ms-toolsai.jupyter from the marketplace, current version v2021.2.0.
I have re-installed 'ms-python.python` from the marketplace, current version v2021.2.582707922.
I have opened a python file, and run "Python: Select Interpreter". I got this error:
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)
I have no Python value in the drop-down in the Output panel to display any logs.
About my local python versions (I don't know if it helps), i ran this in the vscode terminal tab:
[  9:35AM ] $ python3 --version
Python 3.7.3
[  9:35AM ] $ python --version
Python 2.7.16

Solution: I have to reverted back ms-python,python to version 2020.10.332292344

@Lestt was there nothing in the dev tools Logs? (Help > Toggle Developer Tools)

Read through all the posts. I am running Mojave on a MacBook Pro. My jupyter folder had the correct extension.js file. What seems really odd to me is I was using VSCode running a Python script a few weeks ago and everything was fine. But yesterday I went to run the same script and it failed. I haven't made any changes to my Python3 installation. Debugging led me to the error the interpreter was not loading and I noticed that it wasn't showing up in the bottom left of the status bar either (as others have reported). Reverting the ms-python.python extension to 2020.10.332292344 solved the issue. Any ideas why this is happening @linminhtoo ?

@ctphillips Check the developer console, and python logs. Developer console can be found here Help > Toggle Developer tools. and Python logs at Output > Python panel. If the extenion did not load then you won't see Python in the possible options to select in the output panel.

@karthiknadig There is nothing in the Output > Python panel if I am looking in the correct location. I assume you mean the Output that can be reached by View -> Output. I also don't see anything in View -> Problems (It simply says "No problems have been detected in the workspace"). In the Help -> Toggle Developer tools I do see some errors and warnings. Interestingly, I see errors with v2020.10.332292344 (which eventually works) and v2021.2.636928669 (which doesn't work). In both cases, after opening vscode and it begins to load a python project, I get a warning in the bottom right of the workspace:
IntelliCode Python support requires you to use the Microsoft Python Language Server (preview)
When I click on the button: Enable it and Reload Window, the v2020.10 version loads the python interpreter and the v2020.2 never does.
Looking at the error log in the Developer Tools in v2020.2 (after enabling the Microsoft Python Language Server) I see the following errors:
IntelliCode Python support requires you to use the Microsoft Python Language Server (preview). onDidChangeNotification @ notificationsAlerts.ts:40
Cannot activate extension 'Python' because it depends on extension 'ms-toolsai.jupyter', which failed to activate. _logMessageInConsole @ abstractExtensionService.ts:718
Activating extension 'ms-toolsai.jupyter' failed: Unable to write into user settings. Please open the user settings to correct errors/warnings in it and try again.. _logMessageInConsole @ abstractExtensionService.ts:718
[Extension Host] (node:81920) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. v @ console.ts:137
In addition to the errors there are 5 warnings 4 of which seem to be related to the same issue
[Extension Host] stack trace: Error: Unable to write into user settings. Please open the user settings to correct errors/warnings in it and try again.    at w.reject (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2013:16717)    at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2013:20787    at async w.doWriteConfiguration (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2013:13896) v @ console.ts:137
So I am wondering why the Extension Host is not able to write to the user settings. Maybe that is the root cause, which produces the errors?
Thoughts? Next steps?

Okay. In the end, most of these errors were due to a typo in my user settings file. :-(
It was causing the Language Server not to be loaded on start up, and also not able to update the user settings, when I clicked on the button to enable it and reload the window. Not sure why v2020.10 was able to work after the reload (even though the settings file was not written to) but the  v2021.2 wasn't able to work. But the correct Python virtual environment is loading n now with the v2021.2 Python extension.
There is still one warning and one error remaining the Developer Console, but I am not seeing an obvious effects of the problem.
warning:
Overwriting grammar scope name to file mapping for scope source.java. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json. New grammar file: file:///Users/cphillips/.vscode/extensions/redhat.java-0.76.0/syntaxes/java.tmLanguage.json
error
console.ts:137 [Extension Host] (node:89391) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Yep. I installed v2020.10.332292344 (from 1 month ago) and everything is back to normal. Seeing as the issue started happening yesterday, it's most likely something to do with the new release that came out on 14th Dec, but then someone else posted this on 7 Nov also so maybe that one already has the issue.
https://stackoverflow.com/questions/64723778/vscode-using-the-ms-python-extension-cannot-execute-code

Thank you for this version recommendation.
I downgraded from v2021.2.636928669 to v2020.10.332292344 - VS Code WORKS now!
Thank you!

If 2020.10.* works but 2020.11.* onwards doesn't then that is due to missing this extension https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter. in 2020.11.1 we split the python extension into two, one that provides core python features and another that provide data science features.
Another thing is to ensure that everything is getting loaded correctly. VS Code recently had a problem where it would fail to extract the downloaded extension packages completely. Partial install meant that files were left out, and it shows as errors like python.setInterpreter not found. Check the developer console to see if there are any errors reported (Help > toggle developer tools to see it). Usually the error will point to some file (like extension.js) as module not found. Check if that file exists, path should be in the reported error.
For anyone running into this issue, if you are done the two things I mention above (install jupyter and there are not errors in developer console indicating missing files), then please file a separate bug.
Closing this, since this particular issue should be addressed by steps described here.


NTR negative regulation of ferrichrome biosynthetic process, in response to iron

negative regulation of ferrichrome biosynthetic process, in response to iron
@mcourtot
discussed with Melanie for the TG obsoletion GO:1905545 but she said she was travelling this week so I should put my new request here.

Hi @Antonialock ,
Yes @mcourtot mentioned something, but I'm afraid I don't know all the details of that conversation, so let's see:
id: GO:1905525
name: regulation of ferrichrome biosynthetic process by negative regulation of transcription from RNA polymerase II promoter in response to iron
was added recently, by @ukemi I think. Is that going to stay? Do we need a term for 'ferrichrome biosynthetic process in response to iron' and then its regulation children? If so, should the supporting PMID be the same as in the original TG request (PMID:20435771)? Thanks.

Hi @paolaroncaglia
I thought that @mcourtot was going to obsolete the term that I had approved. But maybe she changed her mind.
-D

I would rather we didn't have these types of terms, can do much more neatly like this:
https://github.com/geneontology/go-ontology/issues/12739
at the moment  sometimes they are in and sometimes they are out, nobody knows whether to request or not, and all the annotations are done differently (which makes training a community to annotate very difficult!).

Hi @ukemi ,
@mcourtot is at a conference this week, so she may not have changed her mind, but rather not have had the time to obsolete. I'll ask her when she's back.

Hi Paola,
GO:1905525 can be obsoleted
The new term is:
negative regulation of ferrichrome biosynthetic process in response to iron
The new term does not specify that it is "by negative regulation of transcription" - I don't need to specify this bit since I annotate the TF to the MF "transcriptional repressor activity"  + part_of GONEW: negative regulation of ferrichrome biosynthetic process in response to iron

I don't think the term request needs the pending label?

That was in waiting to hear back from @mcourtot if she was planning to do the obsoletion herself or not :-)

I'm sure she just missed it..

@Antonialock ,
OK. Could you please confirm what term you need exactly:
is it
(negative regulation of ferrichrome biosynthetic process) (in response to iron)
which would itself be is_a (regulation of ferrichrome biosynthetic process) (in response to iron)
or is it
(negative regulation of) (ferrichrome biosynthetic process in response to iron)?
I presume it’s the former,
Thanks,
Paola

Yep this looks correct :
(negative regulation of ferrichrome biosynthetic process) (in response to iron)
which would itself be is_a (regulation of ferrichrome biosynthetic process) (in response to iron)

Added
ID: GO:1905568 Label: regulation of ferrichrome biosynthetic process
ID: GO:1905569 Label: negative regulation of ferrichrome biosynthetic process
ID: GO:1905570 Label: positive regulation of ferrichrome biosynthetic process

Added:
[Term]
+id: GO:0097739
+name: negative regulation of ferrichrome biosynthetic process in response to iron
+namespace: biological_process
+def: "Any process that stops, prevents or reduces the rate of ferrichrome biosynthetic process in response to an iron stimulus." [GOC:al]
+is_a: GO:1905569 ! negative regulation of ferrichrome biosynthetic process
+relationship: part_of GO:0071281 ! cellular response to iron ion

Super! Thanks Paola

Now back to the obsoletion of:
id: GO:1905525
name: regulation of ferrichrome biosynthetic process by negative regulation of transcription from RNA polymerase II promoter in response to iron
created_by: al
creation_date: 2016-10-04T15:46:03Z
i.e. requested by @Antonialock  2 weeks ago
@Antonialock , I’ll give it for granted that any annotation you may have made to that term, you will move to the new one.
No annotations in QuickGO or AmiGO, nor would I expect any. No mappings. Not picked up by other ontologies.
@ukemi… can I make an exception in this case, and obsolete without going through the usual email warning procedure?

yes I won't use the old term, it's not how we annotate I just got confused with the existing terms.

Sorry Paola, but since it went into the ontology and was not obsoleted at the TG stage, I think we should follow protocol and give it a week.
-D

I thought so too @ukemi , just wondering if I was being overly formal. OK will send email.

Sent obsoletion email. Copying text here for recording purposes:
Dear all,
The proposal has been made to obsolete
GO:1905525 regulation of ferrichrome biosynthetic process by negative regulation of transcription from RNA polymerase II promoter in response to iron
because it was added in error. Full discussion here: https://github.com/geneontology/go-ontology/issues/12740
It hasn't been used in annotations or slims or mappings to other databases or ontologies.
Unless I hear of any objection, I'll obsolete the term in a week, on Oct. 25th 2016.
Thanks,
Paola

Obsoleted GO:1905525 regulation of ferrichrome biosynthetic process by negative regulation of transcription from RNA polymerase II promoter in response to iron.


Problems on TensorFlow-ROCm installation

Hi,
My PC has AMD CPU(Ryzen 5900X) and an AMD graphic card(RX6800XT). The operating system is openSUSE Tumbleweed(20210726). I want to use my GPU to do some scientific computation by tensorflow-rocm.
I add the repository resource via: sudo zypper addrepo --no-gpgcheck http://repo.radeon.com/rocm/zyp/zypper/ rocm
But I don't know which are the necessary packages for the ROCm.
And I find that:
Some packages can be installed directly.
rock-dkms
rocm-gdb: requires me to install python36 (My OS has python38 installed)
rocminfo
rocm-opencl
rocm-opencl-devel
rocm-device-libs
hsakmt-roct
hipify-clang
...
Some packages cannot be installed with dependencies problems.
rocm-dkms
rocm-dev
rccl
rocm-libs
hip-samples
...
I'm new to computational science, could you tell me the minimal installation of ROCm environment(Could let me use tensorflow-rocm) requires me to install which packages from the official repo?
I just want to use tensorflow-rocm.
I would appreciate it if you can respond to me.

@Photonico
Please refer to this link and let us know.

@Photonico
Please refer to this link and let us know.

Thanks a lot for your reply. I have installed ROCm.
However, ROCm current version 4.2 does not support my graphic card: RX6800XT(gfx 1030).
I need to wait for the ROCm 4.3 released.

@Photonico
Can we please move this to closed status and open in case you face any issues after release.

Can we please move this to closed status and open in case you face any issues after release.

of course


add warning log asking user to update training data version

Proposed changes:
Closes #10288

This adds a log warning in the case where a user has manually migrated their domain and data files to the latest Rasa Open Source version format, but is still specifying a lower version in these files. eg: using a rasa 3.0 format, but still specifying version: "2.0".
This warning will be logged during the validation step, asking the user to update the version in their domain or data files to the LATEST_TRAINING_DATA_FORMAT_VERSION.

Ohh, didn't realise you've merged this PR, moved a bit slow I guess. Nevertheless could you have a look at the comments I left? @carlad

Have you tested with rasa train too?
yes :)


Clicking a shape can spontaneously delete it

… and undo won't undo it; or rather, it will, but it will undo too much.
Also, the control handles around the previously focused shape appear kind of glitchy after the spontaneous disappearance of the clicked shape. Aaand there are ghost control handles after undo.
I drew this:

(This is after undo. I didn't take a screenshot before the bug. hence the ghost placeholders you see)
Then I widened the pink box, I guess? I also messed with its stroke. Not sure about the order.
Then I clicked the red box (outside of the spotlight) and it disappeared forever.

history-913.txt

Hmm, i also can't export.
Uncaught DOMException: Failed to execute 'toBlob' on 'HTMLCanvasElement': Tainted canvases may not be exported.
    at HTMLImageElement.drawingImg.onload (file:///Users/ahogan/Repos/personal/goat/index.html:31:18)

Here is another demo of it. Enjoy mp4 and history export

history-246.txt
https://cl.ly/362K291K0U1z

So, this bug was caused by keeping state in two places:

The annotations array
The union type: AnnotationState

Why was I keeping state in two places?
To avoid passing around an index in the annotations array.
With my current model, I just do:
{ model | annotations = Array.set index (someFunctionChangingAnnotation annotation) model.annotations }

But if i switch to passing around only the index, it becomes:
{ model | annotations =
  case Array.get index model.annotations of
    Just annotation ->
      Array.set index (someFunctionChangingAnnotation annotation ) model.annotations
    Nothing ->
      model.annotations
}

But, who cares about boilerplate when you risk bugs like this? SO. I'll soon move to passing only the index around.


Task 9. Step 2. Error when publishing migration extension

If my understanding is correct, in Task 3 we created a migration extension app. In task 9, when we try to publish this app with 'Publish-NAVApp' command, but we get this error:

You cannot publish an extension that has not been code signed.

Is it important to sign this app? How do we sign it? Or shall we just use the "-SkipVerification" option?
If we use the SkipVerification, we get this error:

error AL1024: A package with publisher 'Microsoft', name 'System', and a version compatible with '<IP_ADDRESS>' could not be loaded. Symbols for the requested app System by
Microsoft <IP_ADDRESS> could not be found in the database

How can we solve this?

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

ID: 5a8b2a8e-89a9-dda2-7d06-c433f2127044
Version Independent ID: 4a968a4c-8ad7-8d9b-b966-b08daf4bda9a
Content: Upgrading Customized C/AL Application to Microsoft Base Application - Business Central
Content Source: dev-itpro/upgrade/upgrade-to-microsoft-base-app.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello,
You can find information about code signing at https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-sign-extension. You can opt to "-SkipVerification" option, but this is not recommended if the extension will remain installed and published.
As for the second issue, it seems like the System sysmbols have not been published in Task 9. What do you get when you run Get-NAVAppinfo  -SymbolsOnly?

We added a link to the code-signing article. This will be available in the next doc update. We hope the other question was also answered. Thanks for the feedback!


Support for older devices and restoring config file

Cool, thanks man.

@ayushin do you have a solution for Service [console] not available on remote device? All requests are getting the same response, such as
[listService] {'id':1, 'params': None, 'result': False}

You need to play with all kind of combinations of the logon/username/password depending on the version of the firmware.
I am not really into this hardware, was just a side home project I could not leave alone

@ayushin thanks for replying. I have tried that. However, using 3des does not seem to work at all for me regardless of which logon I'm using


Provide an option to run the current project with backtraces on

It would be nice if there was an option that caused RustyCode to the execute cargo run with RUST_BACKTRACES=1 set.

Do you propose a config option? We could certainly add one, but I don't know whether its practical to always toggle that flag.
And I am against adding a version for most cargo tasks which just has backtraces enabled.

A config option is fine. Although, now that I think about it, there's no reason I can think of not to run with RUST_BACKTRACES=1 always set.

@wesleywiser you think we need a command like 'Toogle Backtrace' ?

@Gordon-F perhaps. After thinking about it more, I think we should probably just always set RUST_BACKTRACE=1 when executing cargo run


[DELETED] Implement choice monad

strange, GH wouldn't show new commits in this PR. Close and open a new one from same branch.


stonewall:0.1.0

I am submitting

[X] a new package
[ ] an update for a package

Description: Provides useful and accurate colour palettes for pride flags for use with gradients.
I have read and followed the submission guidelines and, in particular, I

[X] selected a name in conformance with the guidelines
[X] added a typst.toml file with all required keys
[X] added a README.md with documentation for my package
[X] have chosen a license and added a LICENSE file or linked one in my README.md
[X] ensured that my submission does not infringe upon the rights of a third party
[X] tested my package locally on my system and it worked
[X] named this PR as name:version of the submitted package
[X] agree that my package will not be removed without good reason

Thank you for this package submission. We'd like you to choose a different name for this package since pride could be the natural name for packages with these color sets. By taking up this name, the potential for other packages to improve upon this one is reduced. How about a different name like stonewall or something else entirely? Excited to see what you come up with!

Thank you for this package submission. We'd like you to choose a different name for this package since pride could be the natural name for packages with these color sets. By taking up this name, the potential for other packages to improve upon this one is reduced. How about a different name like stonewall or something else entirely? Excited to see what you come up with!

I really like the name stonewall let me modify :)

Thanks!


9950425

Description
Add a detailed description of your issue.
Repro Steps
Layout the steps to reproduce your issue.
Use this Codepen to demonstrate your issue. http://codepen.io/Dogfalo/pen/xbzPQV
Screenshots / Codepen
Add supplemental screenshots or code examples. Look for a codepen template in our Contributing Guidelines.

sorry...


SignalFx Adapter Doc Fixes and Update

This was rendering incorrectly in HTML

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: keitwb
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: douglas-reid
If they are not already assigned, you can assign the PR to them by writing /assign @douglas-reid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @keitwb. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @linsun

@keitwb: PR needs rebase.

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.

Core changes themselves looks good to me, but you have conflicting files that needs resolving. Also please revert the vendor changes, you shouldn't be needing thouse.

The vendor changes are to get the latest version of our tracing client that includes faster JSON encoding of spans.

Removed myself from the review as I don't have approve on Mixer stuff anymore.

This seems reasonable.
/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: douglas-reid
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @linsun

/approve
can you pls get the shell check pass?  may need rerun it.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid, linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/test shellcheck

@keitwb: PR needs rebase.

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.


No existing disks

I want to attach an existing disk when I create a new VM. But it displays no existing disks. I'm sure I have disks in the same subscription and location.

And in the interface of disk, I also can't create VM.

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

ID: 6fde1939-787d-2aa5-4b29-d303f8ed49cb
Version Independent ID: c2838cb5-c34c-e0ff-b280-b86f29453cad
Content: Attach a data disk to a Linux VM - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/attach-disk-portal.md
Service: storage
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

@Betty1202
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

@Betty1202 - its worth noting that some VM SKU' do not support Premium Disks as an example, so if you have Premium Disks they won't be displays, if using a VM SKU that doesn't support it.

@Betty1202 It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

This document.

Premium Disks

While I can choose Premium Disks when I create the VM. And I can create and attach a new disk with Premium Disks for the new VM.

@Betty1202
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Betty
Please go through this below link for your reference. I got my existing disk. As per @lukemurraynz  words, Some SKUs not support it seems.

If you still got an issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request).
I will go ahead and close this issue as this is troubleshooting issue.

@Betty1202
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#please-close


[QUESTION] Is it possible to redact certain JSON keys from logging?

I was wondering if it is possible to redact certain JSON keys from request logging and logging? Pino has support for redaction, but I could not see a Param for redaction in nestjs-pino.

could you please add more details and references, unfortunately question is not clear for me

could you please add more details and references, unfortunately question is not clear for me

Example of redaction in pino: Redaction in Pino
I was wondering if this is possible in nestjs-pino

Example of redaction in pino: Redaction in Pino
I was wondering if this is possible in nestjs-pino

The answer is in docs:
interface Params {
  /**
   * Optional parameters for `pino-http` module
   * @see https://github.com/pinojs/pino-http#pinohttpopts-stream
   */
  pinoHttp?:
    | pinoHttp.Options
    | DestinationStream
    | [pinoHttp.Options, DestinationStream];
  ...
}

https://github.com/pinojs/pino-http#pinohttpopts-stream:

it has all the options as pino and ...

The answer is in docs:
interface Params {
  /**
   * Optional parameters for `pino-http` module
   * @see https://github.com/pinojs/pino-http#pinohttpopts-stream
   */
  pinoHttp?:
    | pinoHttp.Options
    | DestinationStream
    | [pinoHttp.Options, DestinationStream];
  ...
}

https://github.com/pinojs/pino-http#pinohttpopts-stream:

it has all the options as pino and ...

not sure anything has changed, but i tried recently and just need to set the pinoHttp.redact property. No need to provide a pino logger instance.
pinoHttp: {
  redact: ['req.headers.authorization', 'req.headers.cookie']
}

is it working you? i try it out but the fields are not redacted
this is my code
      pinoHttp: {
        redact: ['req.headers.authorization', 'req.headers.cookie'],
        transport: {
          target: 'pino-pretty',
          options: {
            singleLine: true,
            translateTime: 'SYS:standard',
            ignore: 'pid,res,hostname,req',
          },
        },
        level: process.env.LOG_LEVEL || 'warn',
      },
    }),```


Integration Testing is only available on IFTTT partner portal

To test the integration with the IFTTT service, you need to be logged into the Partner Panel. This is problematic as it requires giving admin access to users, and as this is open source work, we're not going to be handing this out to just anyone.
New Feature
As an IFTTT developer, I would like to be able to test my integration work against a tool that does not require login.
Unfortunately this tool does not exist (yet), and would most likely be a separate repository.

This issue was moved to office-of-civic-innovation/IFTTT-Smart-Louisville#11


Deferred support

Does not fulfill issue #2, that must be more complex. Further investigation to come, but this PR does create support for basic deferred elements. See new test html file for further detail. Compare previous extension to this one on the test page and notice the last element now has the Bitcoin Balance icon.

There should be no duplicated functions. That must have been an error on my part, I apologize. I'll have time to look at this next week.

NP. I already have a local commit that fixes this. Will upload later.

Solved in 4263fbf569f6fa00eced69ea92d2423bac9d7c7d


CodeMirror features

CTRL-F should pop up a small search bar like Chrome, CTRL-H could be bound to search & replace, I think that's a pretty standard keybinding, at least on Windows. We should also add these to the action menu.
Looks like this feature depends on additional CM sources:
http://codemirror.net/doc/manual.html#addon_search

This is actually fixed as the search addon provides replace too with the expected keybinds, yay!


Root bot not starting (only skill bot does)

Describe the bug

Faced this issue twice on my end while following the instructions to create and test a local skill
The root bot keep showing that it's starting but doesn't, only the skill bot will start.
I get the same popup error message when I close and open the composer again for both the bots
"Cannot read property 'stdout' of undefined" (error message reported: https://github.com/microsoft/BotFramework-Composer/issues/8547)
I'm running on dot net core version 5.0.302
Version

Version:  2.1.0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser

[ ] Electron distribution
[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Follow the steps in this documentation - Create and test a local skill
Attempt to Test the bots locally
The root bot will show as "starting" (been 30 mins now) but won't start, only the skill bot will start
After reopening composer, I receive this error message "Cannot read property 'stdout' of undefined"

Expected behavior

That I would be able to transition from the root bot to the skill bot as promised in the document
Screenshots

Additional context

Came across this bug the first time when my Greeting template resorted back to the default one (I was using the Core bot with Language template) after trying to start the bot.
Got the same issue after repeating the steps on a test bot.
Would like to suggest to update the documentation after fixing. Will likely make an issue on composer-docs for tracing if it helps.

@aninternetian, thanks for reporting this. Let me attempt a repro on my end and update the thread accordingly with my findings.

@aninternetian, I tried the  Create and test a local skill documentation and I am able to get it working as expected on version 2.1.0.

Can you double check if you missed any step specified in the documentation? Also, do you get any additional error on the dev console(Ctrl+Shift+I)?

I believe this is due to a missing null check. I am adding that null check as part of resolving this isse https://github.com/microsoft/BotFramework-Composer/issues/8547

Its challenging to repro, essentially composer hangs as it tries to stop a process from a previous that is in fact null. Adding the null check seems to resolve the issue.

@anusharr I had a similar issue where a running bot would hang forever and not give a valid error message. This PR (https://github.com/microsoft/BotFramework-Composer/pull/8587) adds a null check that enabled me to at least get a meaningful error message when the bot would not start.
@aninternetian once we get this null check shipped in our next patch in the coming weeks you should be able to see why your root bot wont start but your skill bot will. By any chance did you manually rename any of the bot files in the file system?

Apologies for the late response, I'm not able to actively update this issue due to a shift of my work. Do feel free to close if the null patch is solved. I'll keep this issue open for now if it helps for tracking, but do let me know if the patch is available and I'll close it (or someone else can)
BTW @pavolum, I didn't rename anything. I mentioned that I made another test bot project and left it as it is.

Closing due to inactivity.


Mappings between ImageSequence and AnalogSignal objects?

I think the new ImageSequence object, implemented by @teogale, is a great addition to Neo! So, I'm wondering how to best make use of this kind of object.
On the one hand, each pixel in the ImageSequence is in principle also an analog signal, and in some scenarios (having Elephant functions in mind) it would be helpful to represent them accordingly.
On the other hand, many analog signals are recorded with some kind of electrode array, and thus have a spatial aspect that is not really represented in the AnalogSignal object. In these cases, it would be helpful to be able to represent them in a spatially arranged way like the ImageSequence.
So for some applications with a temporal focus data would be better represented as an AnalogSignal (e.g. for spectral analysis, filtering, spike-coupling, ...), while the same data for another application with a spatial focus is better represented as ImageSequence (e.g. for ROI selection, spatially tracking a wavefront, plotting a movie, ...).
Thus ideally, there would be a unique mapping between the two object types.
I guess such a mapping would be rather straight-forward with mainly two things to consider:

Where to store the spatial information with the AnalogSignal? (as annotations with a specific Namespace, or as linked Channel objects, ...)
How to store pixel-wise annotations with the ImageSequence object?

Would such a mapping be in spirit of Neo?

Hi Robin.
You are right. The spatial information is the big missing piece of neo.
For multi electrode array case, storing geomtery in AnalogSignal.array_annotations is OK but not standarized at API scale. Note that for mea, the geometry is not necessary a grid of pixel but can have many exotic layout (even in 3D). So mapping can be diffulult to an "image"
For pixel-wise annotation we need to extend array_annoations in 2D (or more) for that case I think.

The RegionOfInterest class and its subclasses, together with the ImageSequence.signal_from_region() method, are intended to provide such a mapping.
@rgutzen I guess for your use case, you would need:

a PixelRegionOfInterest or PixelArrayRegionOfInterest class
a flag for signal_from_region() to allow returning a multi-channel AnalogSignal rather than an average over pixels
support in NixIO for storing RegionOfInterest objects

The points you list would definitely be very helpful. Regarding that,
2. could there be a relation link indicating that within a neo segment an AnalogSignal was created from an ImageSequence?
3. when the geometry information are stored in RegionOfInterest could there also be a function to transform an AnalogSignal to an ImageSequence object?

needs some thought. Could use annotations, or the new Group class.
that could perhaps be a method of PixelArrayRegionOfInterest, it doesn't really make sense for other ROI types, which will not in general cover the image field.

I think there's quite a lot of material here to cover, so I'm going to postpone until the next release.


Ability to configure plugins in Meltano UI in an environment-aware manner.

We don't currently have the ability to configure plugins in Meltano UI in an environment-aware manner.
Would be very helpful to add this capability.
Workaround
As of now, the user would need to configure plugins using the CLI or in yaml.
Related to: https://github.com/meltano/meltano/issues/6179

Closing as no longer relevant on account of the removal of the UI for Meltano 3.0


Improvement for ModelicaStandardTables.c

Reported by garron.fish on 10 Dec 2014 08:44 UTC
#if !define(MODELICASTANDARTABLES_C)
#define MODELICASTANDARTABLES_C
wrapper could be included to avoid issues caused by ModelicaStandardTables.c being included multiple times.

Migrated-From: https://trac.modelica.org/Modelica/ticket/1625

Modified by dietmarw on 10 Dec 2014 09:35 UTC

Comment by beutlich on 10 Dec 2014 19:52 UTC
It's already done in ModelicaStandardTables.h. Why do you need it in ModelicaStandardTables.c? It is not usual and neither done in ModelicaInternal.c nor ModelicaStrings.c.

Comment by beutlich on 18 Mar 2015 16:40 UTC
Closing as invalid after reporter has not answered for three months.


New release

I recently got tripped up with a GetConversationHistoryContext limit encoding issue which turned out to be fixed in master. Given that its been a while since the last stable release is there a reason not to cut a new one?
Relates to #245

done, released a v0.3.0


Check if connection is alive before closing

Fixes https://github.com/napalm-automation/napalm-ios/issues/135
@gjim83 @mirceaulinic comments?

This is what I thought at some point while discussing https://github.com/napalm-automation/napalm-base/commit/842a801aba325b0bd85772cb9a5fd2e87ecfe6f2 but then decided back on ignoring the exception. That was because I wasn't sure I was aware of all the actions that all drivers take when closing, that wouldn't be tied to closing the socket (when applicable).
However, I'd say this works safely, more so when taking into account this comment here https://github.com/paramiko/paramiko/blob/master/paramiko/channel.py#L1133 :)


bug: Dangling reference in panicable function using a struct containing a dict

Bug Report
Cairo version:
a3f2f3428610267a55fd69f36ec1648a1a33dd7e

Current behavior:
A function containing branching code in which one branch inserts a value in a dict and another panics throws the following error.
The squash function for my custom type calls dict_squash on the inner dictionary and is supposed to "drop" the struct.
Error: Failed setting up runner.

Caused by:
    [9] is dangling at #85.

Expected behavior:

Steps to reproduce:
Run cairo-test -p temp.cairo on the following file

Related code:

use dict::DictFeltToTrait;
use array::ArrayTrait;
use traits::Into;

struct Vec {
    items: DictFeltTo<u128>,
    len: usize
}

trait VecTrait {
    fn new() -> Vec;
    fn set(ref self: Vec, index: usize, value: u128);
    fn squash(self: Vec) -> ();
}

impl VecImpl of VecTrait {
    fn new() -> Vec {
        Vec { items: DictFeltToTrait::<u128>::new(), len: 0_usize }
    }

    fn set(ref self: Vec, index: usize, value: u128) {
        let Vec{mut items, len } = self;
        match index < len {
            bool::False(_) => {
                self = Vec { items, len };
                self.squash();
                let mut arr = ArrayTrait::new();
                arr.append('out of bounds');
                panic(arr);
            },
            bool::True(_) => {
                items.insert(index.into(), value);
                self = Vec { items, len };
            },
        }
    }

    fn squash(self: Vec) -> () {
        self.items.squash();
    }
}

#[test]
#[available_gas(2000000)]
fn vec_set_test() {
    let mut vec = VecTrait::new();
    vec.set(0_usize, 1_u128);
    vec.squash();
}

Other information:

i think this is a duplicate of https://github.com/starkware-libs/cairo/issues/2556 and https://github.com/starkware-libs/cairo/issues/2454 - we are on it, hopefully would fully resolve soon enough.

Fixed by https://github.com/starkware-libs/cairo/pull/2627


fix/vc-31703-agent-memory-startup-spikes

This attempts to fix the issue in VC-31703.
The initial data gatherer sync operation is currently executed async which might cause in an unreasonable amount of memory being used by the agent pod which results in the pod being OOM Killed.
Executing this operation one data gatherer at the time might mitigate this. Extending the time took for the initial sync is not a concern at this point.

Passing by:

The memory spike certainly comes from the initial "list" that client-go caches have to do. Before this PR, the initial "list" of the 26 resource types was being done all at once. After this PR, the initial "list" is being performed one after the other.
The reason is most certainly because the initial "list" needs to return the entire list of objects reflector.go#L396 before they can be fed to the cache. The server-side pagination ("chunking") has always been turned off on the APi server due to kube-apiserver performance reasons:

Request with pagination, due to performance reasons, translates to a full (pagination is ignored) LIST from the watch cache.

Using the standard list-and-then-watch mechanism, there is no way to process the items as they come from the API server (i.e., put them into the cache) due to the pagination being turned off.
One solution would be to move to WatchList: 3157-watch-list.
WatchList was introduced in Alpha in 1.27, moved to Beta in 1.31, and maybe will become GA in Kubernetes 1.33 or 1.34
WatchList status: https://github.com/kubernetes/enhancements/issues/3157
Kudos to @wallrj for the extensive research:

https://github.com/cert-manager/cert-manager/pull/7161
https://github.com/cert-manager/cert-manager/pull/7175


add CS125 程序设计

请确认以下事项

[x] 提交的项目均是自己的原创工作。
[x] 项目链接均可打开。
[x] 项目相关课程的作业提交已截止。

My first commit is as required, while my second commit is to adjust my username to lowercase.
I am not so clear whether the uppercase or lowercase will make a difference in @mention, such as @david990917 or @David990917.
By typing the above mention operation, I find out that it does make a difference. The second commit is correct.

Seems that there's something wrong with CI script. I'll have a look. Thanks for your contribution!

btw, CS125 是 IEEE 的课程吗？如果是的话，我稍后会注明 "CS125 - 程序设计 (IEEE)"


Added linting to functional tests

What is the context of this PR?
I have added linting to run consistently on the functional tests.
How to review
Is all the linting fixed and passing in CI

@jonnyshaw89 rebase?


Nice work, but missing support for TCP and TLS

Nice work !
Didn't realize syslog was as simple as that.
Your server was missing support for TCP and TLS.
I've added it !
See https://github.com/ststeiger/NetCoreSyslogServer

That's rad @ststeiger - nice job!  I'll amend the README and point to your repo for anyone that is interested in syslog beyond UDP, and including TCP/TLS.  Cheers, Joel

Just updated my README with a link to your repo.  Cheers!


Fix detection of tmTheme theme formats.

This should fix #4.

@Kronuz what's the scenario where we need to match against XML doctype versus an actual tag that would (probably) more accurately represent the contents of the file? Is <plist version="1.0"> a later variant of the themes? I'll gladly make the change I just think maybe we are coding around a case that doesn't exist.

I did change so it would match the entire document for <plist version="1.0">, I missed the carrot in the Regex last night :)

The thing is we’re not searching in the entire content, only at the beginning; and plists (being XMLs) can begin with any of those: <?xml ..., <!DOCTYPE  or <plist  alll we care to know at that point is it’s a XML so we procede to try to load as plist.

I updated the PR to search the document for the plist.

Searching for <plist version=“1.0”> in the entire document would be less efficient, and we really don’t need to; also, you’d need to change to use search() instead of match() for it to work.
Having said that I’d much rather matching the three at the beginning instead, as I suggested.

Made the change 👍


little typos

Transport - Websocket - Connection logic flow Step 1 refers to websocket_href. That name isn't used anywhere else in the repo, so I assume it's a typo for connection_uri (and a little funny that I already (#33) suggested ws_href might have been less confusing name).

Another (unrelated) little typo... "a rest apy" should be "a REST API" in final paragraph of Message types - The state message type.

Another unrelated typo...  the explanation of ext_is_07_rest_api_url refers to the base url as first is_04_control_base_url and then is_05_control_base_url.

@cristian-recoseanu I just noticed a typo in event-types-capability-management.png of 'Celcius' instead of 'Celsius' repeated a few times. Were the images produced with something like https://www.draw.io/ so they can easily be regenerated by anyone? (Draw.io embeds the editable graphic objects/text/etc. into a PNG extension, so the PNG can be edited again without having to store a separate file.)


Add cupy to README

Complements #66.
As discussed offline it's better to add it in README.

/test


Add the project in the website

Integrate with Github API to list the issues on the repo with certain label
Also tweet about the project using Twitter API

I think the way the projects appear could be improved

[ ] the image does not appear, like due to the way I shared it, but there are no indications on what will work in the template
[ ] the markdown is not rendering well so links are not clickable and bold/italic is ugly - might just want to ask people to write in plain text if not possible to do otherwise
[ ] time slot: I didn't understand where it comes from and/or whether it'll appear only later (sorry)

Yes! Thank you @vborghe I will work on it.


Fix wrong HADOOP_CLASSPATH

Currently, the exported HADOOP_CLASSPATH is ${HADOOP_HOME}/share/hadoop/tools/lib/*.
It should be changed to /opt/hadoop/share/hadoop/client/*

let's use ${HADOOP_HOME}/share/hadoop/client/*

let's use ${HADOOP_HOME}/share/hadoop/client/*

Yes, I know.

fixed via #20


Fix(web-react): Polymorph Link component types #DS-1060

Description

Additional context

Issue reference

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the PR Title/Commit Message Convention.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

coverage: 84.802% (-11.7%) from 96.46%
when pulling 539505f4698d96dad1b6caf389efcc5ac4809b7d on fix/DS-1060-polymorph-link
into 81d9952be09599acb2c8780b8e6227ab5dede53d on main.


Скласти таймлайн

Скласти список всіх (важливих) життєвих подій, визначних дат, досягнень, періодів, що дали приємний і неприємний досвід, тощо. В цьому конкретному випадку довгих списків не буває, натомість бувають погано згорнуті, тому пакуємо сюди все підряд, а про “лишні” події можна буде промовчати пізніше. Список повинен бути систематизованим і посортованим в такий спосіб, щоб читач швидко зрозумів “паттерн” і міг легко орієнтуватись в просторі і часі цього резюме.

Education
Khmelnytskyi National University, Khmelnytskyi
SEPTEMBER 2020 – PRESENT
• Currently pursuing a Bachelor's degree in Software Engineering
(121 «Інженерія програмного забезпечення»)
• Completed three and a half years of full-time study with a current GPA
of 4.94 out of 5.0
• Expected graduation date: 2024
Work Experience
Trainee Frontend Developer, eLogic Commerce
7 JULY, 2022 – 21 OCTOBER, 2022
During my internship I focused on developing and improving my skills in web
development. I learned how to effectively self-manage my time, prioritize tasks,
and collaborate with other team members. My responsibilities included:
➢ Developing the frontend of an online store (from Figma design) using a
mobile-first approach, utilizing HTML, CSS (with the LESS
preprocessor), GULP, JS and Magento 2
➢ Creating several projects to improve my skills, including four different
versions of a to-do list using pure JS, jQuery, Knockout, and React, as
well as a weather app using React
➢ Taking exams and participating in regular performance reviews to track
my progress and identify areas for improvement
➢ Learning PHP, PHP Composer, Magento 2 (the most important
technology for the company), Docker, and Docker Compose
➢ Deepening my knowledge of Linux due to the requirements of working
with Magento
All of my internship projects are available on my GitHub repository at
https://github.com/kolibri753/internship-2022.
Hackatons
Frontend developer, 1st place, Tech Ground (Luxoft)
7 DECEMBER, 2023 – 9 DECEMBER, 2023
Achieved 1st place as part of Team AVVAO in the development of a creative
solution for the e-Veteran chat bot, along with its administration panel. The
primary goal of the project was to come up with an innovative approach to help
Projects
➢ Fitness App – React Native Expo, Redux, RapidAPI, Firebase, Fine-tuned
Llama2 (Hugging Face)
Description: this app provides users with a convenient and easy-to-use tool
for fitness training. It allows users to view exercises, perform workouts,
create a list of favorite exercises, and build their own workouts (with
generating the workout name and description based on users prompt) using
existing exercises.
Link: https://github.com/kolibri753/FitnessApp/tree/redux
➢ CoopKaliJam (ReactJam Winter 2023 | 13 days) – React, TS, Rune
Description: a game about playing virtual Kalimba together - each of
players have only one half
Link: https://github.com/kolibri753/CoopKaliJam
➢ FoodieMate AI – Next.js, TypeScript, Hugging Face
Description: this web app allows users to input available ingredients, and
the AI (gpt-2) generates a recipe using them.
Link: https://github.com/kolibri753/recipe-generator-powered-by-ai
➢ Memory Card Game – HTML, CSS, and JS
Description: fun and interactive memory card game. The game features
different levels of difficulty and keeps track of the player's score and time.
The objective of the game is to match all the cards in the shortest time
possible.
Link: https://github.com/kolibri753/memory-card-game
➢ My Bookshelf – HTML, CSS (SCSS), JS and Firebase
Description: website for saving information about books you have read or
want to read in the future.
Link: https://github.com/kolibri753/odin-project_library-app
➢ Bookstore Online – ASP.NET Core (C#), ASP.NET Identity, MVC, Entity
Framework, MySQL, HTML, CSS (SCSS), JS and xUnit.net (for testing)
Description: designed the information system structure, implemented the
database, and developed an online bookstore.
Link: https://github.com/kolibri753/coursework_bookstore
➢ Bookshop App – C# and MySQL
Description: designed the information system structure, implemented the
database, and developed an object-oriented online bookstore application.
Link: https://github.com/kolibri753/coursework_bookshop


Replace Android screen recording logic with scrcpy to allow audio recording

🐞 Whats wrong
Using arecord allows us to record the video, but not the audio.
🌈 Desired state
When using this command, record both video and audio (or give a flag to only record video, for example).
📏 Challenges
Replace usage of screenrecord utility within ADB shell with scrcpy (we're already using it for acontrol, we can use it here as well).
📂 Sources
scrcpy documentation about recording
For a start, I would suggest the following:
#!/bin/bash
LOCATION=$(dirname "$0")
source "$LOCATION"/../common_tools
trap 'ctrlc $@' 1 2 3 6 15

ctrlc(){
  adb -s "$SELECTED_DEVICE" shell settings put system show_touches 0
  if $RECORDING ; then
    sleep 1
    echo "✅ Saved into ~/Desktop/$FILENAME.mp4"
  fi
  exit
}

RECORDING=false
android_choose_device

android_get_device_sdk "$SELECTED_DEVICE"
android_get_storage_location_per_SDK "$SDK"

RECORDING=true
echo "📹 Recording screen on $SELECTED_DEVICE, stop it using ctrl^c"
adb -s "$SELECTED_DEVICE" shell settings put system show_touches 1

if [ -z "$1" ] ; then
      android_device_info "$SELECTED_DEVICE"
      FILENAME=$MANUFACTURER-$MODEL-API$SDK-$(date +%Y-%m-%d-%H-%M-%S)
else
      FILENAME=$1
fi

OUTPUT_PATH=~/Desktop/"$FILENAME".mp4

scrcpy -s "$SELECTED_DEVICE" --verbosity=error --no-playback --audio-codec=aac --record=file.mp4 --record=$OUTPUT_PATH

Eventually we could also add a flag to allow using the existing recording method.

Hello @luispinho, thanks for your suggestion. I'll look into that as soon as I have some spare time. 👍

Sure. I can open a PR with the base change (already have it working on my machine). Just need some input on which flags (if any) you feel would be a good addition to this. Other than that, I can contribute with what I've already shown in the issue's description

I think it would be good to retain the original implementation under -l (legacy) flag in case scrcpy does not work for some devices/setups.
Other then that audio capture can be on by default. Feel free to open a PR. 🙏

Solution proposed in new PR

Solved in #225 and #226, thank you! 🖤


1.6.0 dev modal

Added modals as a top level key (#282)

Passes my first sniff test. @mrkwanzaa can you review, and merge up to 2.0


quiche: move overridden flag list and QUIC flag prefix definition into a stand alone file

Commit Message: created a new file source/common/quic/platform/quiche_flags_constants.h and moves the definition of EnvoyQuicheReloadableFlagPrefix and EnvoyFeaturePrefix there. Also define a list of quic flags that needs to be overridden there.
Risk Level: low, as long as it compile, there should be no behavior change
Testing: existing test pass
Docs Changes: N/A
Release Notes: n/a
Platform Specific Features: N/A

/assign @RyanTheOptimist @steveWang

/retest

/retest

Now that #32150 has landed, I think Coverage should be working again. If you do a main merge, this should hopefully pass CI.

/retest

@danzh2010 I think you need to do a main merge as Ryan suggested
/wait

/wait
on CI

/retest

/wait
Needs a main merge

/wait

/retest

/retest


Fix compile error for Mbed TF-M V8M target

[x] I confirm this contribution is my own and I agree to license it with Apache 2.0.
[x] I confirm the moderators may change the PR before merging it in.
[x] I understand the release model prohibits detailed Git history and my contribution will be recorded to the list at the bottom of CONTRIBUTING.md.
Summary of changes

Use DEVICE_FLASH to exclude KVStore/FLASHIAP code for Mbed TF-M V8M target, usually without FLASHIAP.

Have a look?

Thank you, I'll take a look.

@ccli8
Can you share the compile errors you are seeing, please? Even without FlashIAP, the function should still be available: https://github.com/ARMmbed/mbed-os/blob/master/storage/kvstore/kv_config/source/kv_config.cpp#L1002-L1004

@marcuschangarm Oh, it is runtime error, not compile error. As you pointed out, kv_init_storage_config() will return MBED_ERROR_UNSUPPORTED when FLASHIAP is not supported.
https://github.com/PelionIoT/mbed-cloud-client-example/blob/3d8d83b876786ee00f083aa9097f167cf328bf3b/source/platform/mbed-os/mcc_common_setup.cpp#L415-L419

@ccli8
Would this work for you instead?
    int status = kv_init_storage_config();
    if (status != MBED_SUCCESS) {
#ifdef MBED_CONF_MBED_CLOUD_CLIENT_PSA_SUPPORT
        if (status == MBED_ERROR_UNSUPPORTED) {
            printf("PSA enabled, ignore kv_init_storage_config() is not supported\n");
        } else
#endif
        {
            printf("kv_init_storage_config() - failed, status %d\n", status);
            return status;
        }
    }

We support KV store on other mediums than internal flash, so using DEVICE_FLASH is too restrictive.

@marcuschangarm The above patch can work for me.

@marcuschangarm Need I update this PR to include above modification, or you'll merge it separately?

@ccli8 Sorry, I can see my message was ambiguous. I've made the changes to our internal repository and it should be part of one of the next releases. I'll close this PR once everything is ready to go.


Kwp simulation

KWP message frame added to simulation side. MC3360 and arduino uno used for tests. This my first pull request so I anything wrong my bad.

One comment about adding the assignment of use_kwp_ to false in the constructor wasn't addressed, please add that, other than that it looks good.

Looks good now, I'm going to merge this.
Thanks for your contribution @ankayca !


Links in .render()'d PDF

Everything's working fine except links in the PDF document have their link styles removed, and the URL is outputted next to the link.  The URL itself is clickable, but the original link text itself is not.
I take it this is a problem with QT, but I have no idea where to look to fix it.  This is with version 1.9.1.

This issue from 2013 and still opened !!
in 2017 I'm  using version 2.1.1 in the end of 2017 and I have the same issue
did you find a solution ?

I did not - I stopped looking years ago!  I wish you luck on your journey!


Add deployment/undeployment of RBAC, non-k8s API, clusters UI

@nirrozenbaum sure, I will add the links directly to the README. Just wanted to merge this PR first.

@nirrozenbaum I have applied your comment regarding testadata and added the repos to the list. Also updated the architecture diagram.


Blocks of a single colour are not always contiguous

In this example output, the yellow block is split up, unnecessarily:

(from example at https://stackoverflow.com/questions/41400136/how-to-do-waffle-charts-in-python-square-piechart )
Shouldn't the rolling out of blocks go down one column, then up the next, then down the next, and so on, in order to  ensure that coloured regions remain contiguous?

This is the expected result, as the default drawing direction is from bottom left going up, then going right.
The starting location could be changed through parameter starting_location, and the direction could be changed through vertical. You can find more examples here https://pywaffle.readthedocs.io/en/latest/examples/block_shape_distance_location_and_direction.html

Hi @gyli. Thanks for your package.
Those examples do not address the question of keeping colours contiguous.  You can consider this a feature request rather than a bug if you like, but I'm saying currently the output doesn't look good. It would look much better if the yellow blocks were contiguous, and I think your code could be fixed to ensure that.

I'm sorry that I din't get your point of keeping colors contiguous. If you take a look of the similar example in the README page, it is drawing from upper left to bottom right, while it does not avoid yellow blocks being separated, since there's just not enough blocks.
So in this case, what do you suggest to make yellow blocks being together? Making a new option to force each color starting from a new column maybe?
https://github.com/gyli/PyWaffle/raw/master/examples/readme/title_and_legend.svg

That's not necessary.
But it should draw down the first column, then up the next column, then down the next column, etc.
Then colours would never be broken up.

OK, that's also what I mean. I think we can do an option allowing this.

Just to confirm, is this what you thought? Every color starts from a new column so blocks with same color could be together. I am working on a new option to allow this.

No.  That is painted top to bottom on every column.
My suggestion is to alternate directions on each column.

The point is never to jump from the top to the bottom when you're painting. Lay down squares by snaking back and forth.
Look at my first example at the top of this Issue.
The last two yellow squares should be at the top of their column, right next to the last yellow square painted in the previous column!

I see. That is a good point!

@cpbl The feature is added in the latest version 0.6.0. Use parameter block_arranging_style='snake' to enable it.
Thanks again for this great idea!

Nice work, and thank you for this addition and for the project.


method address rename in elastic_ip resource causing failures

Commit b801533228a9341633236fb2ca5933ac6d534d6f renamed method address to eip_info without updating where it is used. This is picked up in 7.1.1 causing failures in the wild.
Cookbook version
7.1.1
Chef-client version
13.0.118
Platform Details
ubuntu 16.04 on aws
Scenario:
associate an EIP
Steps to Reproduce:
using aws_elastic_ip resource
Expected Result:
[What are you expecting to happen as the consequence of above reproduction steps?]
Actual Result:
* aws_elastic_ip[attaching EIP (xxx.xxx.xxx.xxx) for 'foo.com'] action associate

    ================================================================================
    Error executing action `associate` on resource 'aws_elastic_ip[attaching EIP (xxx.xxx.xxx.xxx) for 'foo.com']'
    ================================================================================

    NoMethodError
    -------------
    undefined method `address' for Custom resource aws_elastic_ip from cookbook aws

    Cookbook Trace:
    ---------------
    /var/chef/cache/cookbooks/aws/resources/elastic_ip.rb:15:in `block in class_from_file'

Fixed in https://github.com/chef-cookbooks/aws/commit/59d7596c35cb31fd9e1aab38ba5444bbd9775858
Looks like disassociate had been broken for a long time. That's been fixed as well. I'll cut a release for this

Awesome! Thanks for the quick turnaround.


Tap action on Hero card with the latest React web chat

Do we have any option to make hero cards clickable,
ex: location cards(hero cards) which resides in carousel.

Hero card is clickable. For example, you can set it to open a new URL when the user tap on it.
Please refer to the tap property in this article to see how it works, https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#herocard-object.


feat request: add the nzTrigger property for the nz-submenu

What problem does this feature solve?
In some cases, for example, dropdown menus on header, we need to open submenu only when user clicks on it, and not when hovering, similar to nz-dropdown when nzTrigger property is set to click.
For example such a feature is on youtube or twitch (see pictures below):

What does the proposed API look like?

Property
Description
Type
Default

[nzTrigger]
the trigger mode which executes the drop-down action
'click'  'hover'
'hover'

when nzTrigger=hover - current behavior
when nzTrigger=click - open submenu only when user click on it

I would like to see also same option for nz-menu.

I would also want to see this option. Seems a missing feature for a basic menu like any menu system you see on your computer now. Any chance of implementing this as last post was 2020.
Thanks in advance.

I would like to see also same option for nz-menu.


Relax partitioning criteria

A plan that is partitioned on a set of columns C satisfies partitioning requirements on any superset of C.
This change removes unnecessary shuffles for certain queries. E.g.,
   SELECT orderdate, c
   FROM (
      SELECT orderdate, count(*) c FROM tpch.sf1.orders
      GROUP BY orderdate)
   GROUP BY orderdate, c;

Before:
 Fragment 3 [SINGLE]
     Output layout: [orderdate, count]
     - Output[orderdate, c] => [orderdate:date, count:bigint]
             c := count
         - RemoteSource[2] => [orderdate:date, count:bigint]

 Fragment 2 [FIXED]
     Output layout: [orderdate, count]
     - Aggregate(FINAL)[orderdate, count] => [orderdate:date, count:bigint]
         - RemoteSource[1] => [orderdate:date, count:bigint]

 Fragment 1 [FIXED]
     Output layout: [orderdate, count]
     Output partitioning: [orderdate, count]
     - Aggregate(PARTIAL)[orderdate, count] => [orderdate:date, count:bigint]
         - Aggregate(FINAL)[orderdate] => [orderdate:date, count:bigint]
                 count := "count"("count_18")
             - RemoteSource[0] => [orderdate:date, count_18:bigint]

 Fragment 0 [SOURCE]
     Output layout: [orderdate, count_18]
     Output partitioning: [orderdate]
     - Aggregate(PARTIAL)[orderdate] => [orderdate:date, count_18:bigint]
             count_18 := "count"(*)
         - TableScan[tpch:tpch:orders:sf1.0, original constraint=true] => [orderdate:date]
                 orderdate := tpch:tpch:orderdate:4

After:
 Fragment 2 [SINGLE]
     Output layout: [orderdate, count]
     - Output[orderdate, c] => [orderdate:date, count:bigint]
             c := count
         - RemoteSource[1] => [orderdate:date, count:bigint]

 Fragment 1 [FIXED]
     Output layout: [orderdate, count]
     - Aggregate[orderdate, count] => [orderdate:date, count:bigint]
         - Aggregate(FINAL)[orderdate] => [orderdate:date, count:bigint]
                 count := "count"("count_18")
             - RemoteSource[0] => [orderdate:date, count_18:bigint]

 Fragment 0 [SOURCE]
     Output layout: [orderdate, count_18]
     Output partitioning: [orderdate]
     - Aggregate(PARTIAL)[orderdate] => [orderdate:date, count_18:bigint]
             count_18 := "count"(*)
         - TableScan[tpch:tpch:orders:sf1.0, original constraint=true] => [orderdate:date]
                 orderdate := tpch:tpch:orderdate:4

I'm not sure we can make this optimization in the general case. This is less apparent in aggregations, but in joins this can be a larger problem. For example if the source is partitioned on column A for some reason and then you want to do a join on (A, B), the cardinality of A by itself may have really bad skew and this could result in really bad join performance if it is not repartitioned. This is probably only a decision that can be made with cost and estimates.

That's true of pretty much every optimization (even predicate pushdown), and it's only going to get worse with the choice of multiple layouts with partitioning, grouping, constraints, etc. I think we're just going to have to try it out and see how it works out. We might need to add a flag like the one that enables distributed joins to force strict partitioning.

BTW, this is superseded by https://github.com/facebook/presto/pull/2628. I forgot to close it

True, but I'm only bringing this up b/c I know of a couple common cases where this will make it much worse.


ppc64le CI has been erroring a lot lately

Typically with
An error occurred while generating the build script.

The NumPy ppc64le CI has been working much better, so I'll try switching to an identical config.

Actually, the OpenBLAS handling in .travis.yml handling is a bit of a mess. @tylerjereddy would you agree that copying https://github.com/numpy/numpy/blob/master/tools/openblas_support.py and mirror what numpy does is the way to go here?

Hmm, I thought NumPy was having the same issue on Travis CI recently. I tried to match Chuck's update to switch away from the "beta" ppc64le feature on Travis last week I think, but I'm almost certain I've seen this in NumPy CI too?
Does SciPy have equivalent hooks to OpenBLAS for this kind of stuff in openblas_support.py:
dll = ctypes.CDLL(numpy.core._multiarray_umath.__file__)
I think we have even more object files produced, but I don't know what the appropriate hook is for making the low-level OpenBLAS call through SciPy?

Cross-ref: https://github.com/numpy/numpy/pull/15164

The ppc64le CI has been down for the last week or so. I've been waiting for it to get fixed under the assumption -- which may be wrong -- that the maintainers must be aware of it. Then again, it is the Holiday season.

Yeah, my speculation was Winter Break as well---the ppc64le pool may be smaller and less robust to self-repair/disruption, etc.

We're getting the one-line failure message
An error occurred while generating the build script.

frequently on the ppc64le platform.  I'm not sure if this is a recent resurgence of this particular issue, or if other CI issues were masking this one, and its been happening regularly since last December.

@WarrenWeckesser I've seen that message for the NumPy tests on both s390 and ppc64le.

This is outdated, closing.