Implementation status of Structured ML entities in V3 preview API response is not clear.

This page does not make it clear what the status of Structured ML entities will be in the new V3 response?
Currently in API responses for V3 it is just an empty {} - e.g.
"entities": {
  "caller": [ {} ],
  "target": [ {} ],
  "receiver": [ "overlord" ],
  "groupName": [ "dolt", "dolt" ],
  "flightNumber": [ 1, 1 ],
  "elementNumber": [ 3, 2 ]
}

caller and target are roles that point to Structure ML entities of which groupName, flightNumber and elementName are a part.
However I do not know if this is a bug or if this hasn't been implemented yet in the Preview. In fact finding information on the current status is pretty impossible outside of this page and this page is not obviously up to date. Where can we find the latest info?

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

ID: 937b3640-bf64-9a1f-fe97-da3bc0fdb272
Version Independent ID: eeb3fcd3-afb3-117d-087e-4558caa2e9c1
Content: Prediction endpoint changes in the V3 API - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-migration-api-v3.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @diberry
Microsoft Alias: diberry

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

@rurounijones Here is a document for extracting structured ML entities for an example. Could you please check if this could help?
@diberry Do we have more information about structured ML entities in v3 version of the API?

#in-progress

@rurounijones
If this is an app/model issue - can you provide more information about your model? My first thought is that the model isn't predicting the entities from the utterance presented. How many example utterances have been labeled with those two entities? Can the Test pane, inside the preview portal, detect the entities. When an ML entity is successfully returned, it will either just return the value, or  a full object. You can see a JSON example of a full object when the query param verbose=true is set. Another example is provided on the REST API docs.
If you feel this is a documentation issue, what questions do you have that the docs could answer and where would you expect to see them?
If you do feel this is a product issue - please use the feedback form in the preview portal to let the product group know the details.

Thank you for your detailed follow-up.
To reduce verbosity I am going to refer to the page I commented on as the Migration page and the REST API doc page you linked to as the REST API Docs

If this is an app/model issue  / If you feel this is a documentation issue,

This is the problem, I am not sure because the migration page didn't show an example of what is the response is supposed to look like. It might one or the other or both.

Another example is provided on the REST API docs.

Now that is a useful page and shows what should be being returned. Thank you.

If this is an app/model issue - can you provide more information about your model?

Attached file with Luis app Schema (v6) overlordbot.json.txt but read further because I think the next section is accurate.

My first thought is that the model isn't predicting the entities from the utterance presented. How many example utterances have been labeled with those two entities? Can the Test pane, inside the preview portal, detect the entities.

I think this might be the case, however since this is a new preview and a new UI where the old "composite" structures have been replaced with "ML" structures it is difficult to know what is supposed to be shown. For example:

What should this look like in the preview if the full structure was being detected? Should there be an entry in the composite fields even though that is now deprecated(?), Should the expandable arrows in the next to each entry in the "ML Entries" section include details for the sub-structures?
I thought the above tests were successful but given what you have said now I think it might not be but without knowing what it is supposed to look like it is not obvious if what is actually being displayed is correct.

If you feel this is a documentation issue, what questions do you have that the docs could answer and where would you expect to see them?

Linking the REST API Docs from the [Migration page](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-migration-api-v3 would go a long way to clarifying what the JSON response is supposed to look like for an ML entity with structure.

Add an image to https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-migration-api-v3 showing what a successful test response in the new Preview Test Pane looks like for the same response that is shown in the REST API docs in 1.

Finally, I am not sure if this is an App issue or not but I am surprised to find that

"entities": {
  "caller": [ {} ]
}

Is a valid response. If the language detection can determine that the caller role entity exists I would expect it to have at least something in there instead of an empty structure. I would expect "entities": {} to be there instead of an entity key with an empty structure.
However if this is expected behaviour then I would expect that to be documented as well since that, to me at least, is a violation of "Principle Of Least Surprise" since LUIS is saying "I found a role entity but cannot provide any details about it, so how did I determine it was a role entity? Magic?"

Thanks for the feedback. Would be happy to learn more about all the bugs that you came across in the preview portal and will be fixing them ASAP.
The new experience allow you to view any already existing composite entities but it doesn't allow you to create new ones. If you dont see the composite entiy firing this implies that the model hasn't predicted the entity.

@rurounijones
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

@YutongTie-MSFT
I do not consider this issue closed. I have raised issues regarding insufficiently detailed documentation and given examples on how the documentation is inadequate.
Therefore my expectation is that this documentation's inadequacies are fixed (Or MSFT explain why they will not be fixed) before any ticket is closed.
As it is right now most of my questions are still unanswered. I still have no idea what the Test results panel is supposed to look like with a structured ML response with nested values. I still don't know if my point 3. is a bug or not. I still don't know where to report Luis portal bugs.

See here for more examples of just how hard it is to interact with MS and get answers / information
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/576
Also tagging @YutongTie-MSFT (again) and @RohitMungi-MSFT to get this issue repopened

@cahann Can you please have some one review this issue and provide guidance?

@aliciaep for visibility

https://cognitive.uservoice.com/forums/551524-language-understanding-luis/suggestions/39933520-builtin-entities-in-compositeentities-must-have-as is an example of an problem I have with the current LUIS response that I cannot tell is still an issue or not in the V3 API based on documentation

@rurounijones Hey Jeffrey
Can we jump on a quick call to go through all your issues? I understand there are multiple points, for example the LUDown file, the responses in Composites vs ML Structured and where you cant see what it should or would be.
We're working on documentation right now that clearly explains the differences between composites and ML entities with structure and hopefully that will cover the issues with ambiguity you see when it comes to "what should return".
For what it means to have "caller": [{}] as a response, it's that caller is a composite entity (or in your case a role for a composite entity if I understand correctly), was predicted but none of the children of that children in that composite were extracted. That can also happen in an ML structured entity, if a parent is extracted but no children to that parent are extracted. The verbose = true mode will show you all the text extracted for each part.
Let's try to gather all your feedback in the call if possible, and we can discuss which parts of the documentation need to be improved.

Email has been sent.

Had a very useful discussion with @hazemelh which will hopefully result in some improvements to the issues I had above. Closing issue.


How to generate URL and Text QR codes using Node

Proposed title of the article
How to generate URL and Text QR codes using Node
Introduction paragraph (2-3 paragraphs):
Have you ever desired to build a code that generates QR codes of text or URL inputs using Node.js? You are in the right place. In this tutorial, you are going to learn how to create a QR code generator for text or URL input using Node.js.
Before we begin, let us learn briefly about QR codes and how they work.
Key takeaways:
At the end of this tutorial, you will have understood:

What QR codes are
Purpose of QR codes
How to create a QR code generator
How to run it on a simple webpage
What to do with the QR codes generated

Pre-requisites:
Some of the minimum requirements for this course are:

Basic understanding of HTML, CSS, and web development
Basic understanding of Node.js
An IDE installed on your machine, in our case we shall use Visual Studio Code
A stable internet connection

References:

Minimum QR Code size
QR code structure

Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

sounds like a cool topic - approved @franciskaguongo

merged


Use Signature V4 for AWS S3 & bump AWSSDK to latest version

Bump AWSSDK.S3 to latest Version
Set forced use of Signature V4 for AWS for us-east-1.  **

Only for Region 'us-east-1', the SDK does not use Signature V4, instead uses SigV2 (for compatibility reasons) that we don't need:
Configures if the S3 client should use Signature Version 4 signing with requests. By default, this setting is set to true which will use Signature Version 4 for all requests except presigned URL requests when the region is set to us-east-1. When UseSignatureVersion4 is explicitly set to true by directly setting this property or directly setting this property through configuration, Signature Version 4 will be used for all requests when able to do so. When this setting is false, Signature Version 2 will be used. Note that when the setting is false, Signature Version 4 may still be used by default in some cases or with some regions.
https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Amazon/TAWSConfigsS3.html

Is the same version change required for .NET Framework?. dotnet/src/dotnetframework/Providers/Storage/GXAmazonS3/GXAmazonS3.csproj also references AWSSDK.S3 version <IP_ADDRESS>.
Right, fixed!


Fix link to Compiler Options.md.

Changed space character to %20 to get it to work.

Thank you for contributing to the TypeScript Handbook!
We are currently working through a large backlog of open PRs. As part of this, we're asking authors of PRs with active merge conflicts to assess if their changes are still needed, and if so, open a new PR.
For transparency, we are also working on a full-scale reimagining of the Handbook (see the TypeScript Roadmap), meaning we are largely closing down work on the current version of the Handbook. Typo fixes are always appreciated, but any new content should likely wait until the new Handbook is available so that it can be more naturally adapted to that format.

Yes, it's still not correct, The file's just been moved.  See the first paragraph of https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/tutorials/tsconfig.json.md#details, it's an easy fix.


For loop to add KPIs to dashboard

I want to add KPIs to the dashboard dynamically. See my code below:
var avgSpendKPI = new KPIGroupComponent ();
for (var key in segmentProfiles) {
   var caption = key.capitalize() + " Customers"
   var id = key.replace(" ", "_")
   var options = {
      caption: caption,
      value: segmentProfiles[key].avg_amount,
      numberHumanize: true,
      numberPrefix: "NGN "
     }

    avgSpendKPI.addKPI(id, options);
   }

This only displays one KPI but when I click to show modal, it displays all KPIs as a table.
Can you advice on what to do?
Thanks in advance

Solved the issue. Turns out the KPI ids had space in them. Hence, I now create id like this:
var id = key.replace(/ /g, '_');

Ensure no spaces in KPI ids


Proof of concept for terminal forwarding

This PR adds an option that allows declaring a route to be an invalid terminal state, while also declaring what route should actually be visited if someone tries to visit as the terminal route.
TODO:

Figure out perf implications
Decide on exact API for the current "terminal" option in the dsl
Support API for applying the terminal option to the parent instead of the index?

Writing some documentation:

The use-case for specifying a terminal route is not to prevent us from having to create a route whose content is simply:
beforeModel() {
  this.replaceWith('non-terminal.sibling');
}

The goal is instead to make sure that redirects of this nature which are not dynamic can easily be identified and accounted for in other tools such as ember-prefetch.

Looking at ember-prefetch we need some way to make sure that this has settled by the time we trigger willTransition. Flow as it stands:

Overridden willTransition inside of your PR.
Ember.Router.willTransition, which triggers the willTransition event.
ember-prefetch's willTransition event handler.

Which means that we can't prevent things like ember-prefetch from running to completion on the original transition object. We need some way to capture this before the transition is fired/occurs, so that the first transition is to the correct location.


Change basic-cli link on www.roc-lang.org/docs to point to latest basic-cli release

I'll add this to the basic-cli release workflow.

Not resolved by the above PR because versions have increased since then. Currently points to 0.15.0, but the latest basic-cli release is 0.16.0
When you say "add to the basic-cli release workflow", do you mean a github actions workflow, or does basic-cli have documentation about how to do a release where this should get added as a checklist item?

After some thought this seems to be the best solution: https://github.com/roc-lang/basic-cli/issues/273


clEnqueueNDRangeKernel global_work_size parameter should not be nullable

Environment

LWJGL version: 3.1.7-SNAPSHOT
LWJGL build #: 9
Java version: n/a
Platform: n/a
Module: opencl

Description
In the OpenCL reference manual, the global_work_size parameter does not mention NULL being allowed, and all the platforms I've tested on return -30 (CL_INVALID_VALUE) when passing null.

It is mentioned in the documentation for work_dim:

If global_work_size is NULL, or the value in any passed dimension is 0 then the kernel command will trivially succeed after its event dependencies are satisfied and subsequently update its completion event. The behavior in this situation is similar to that of an enqueued marker, except that unlike a marker, an enqueued kernel with no events passed to event_wait_list may run at any time.


Add SPDX Document Merge

This would be a merge to combine two SPDX documents without losing any of the license information.  An example use case: A SPDX document including human input is already created, but a new document is automatically generated with a scanner and we wish to merge the two without losing the modifications made by a human.

@abuhman
I would like to take this on. For this, I suggest another entry point for this command, and in the first place, only tv to tv spdx document support.
Please I would like to know what you think about this issue, prior to me taking this on.
This could be fun!
Thanks

The key thing is that you need to work on 2 documents at a time, merging them at the object level. The final write is not a problem IMHO, the hard part is the merge at the object level

@pombredanne I have started working on merging two rdf documents while @ndip007 works on the tv format.

How does this issue compare to the scope of https://wiki.spdx.org/view/GSOC/GSOC_ProjectIdeas#SBOM_combiner?
From looking at the tools-python, tools-java and tools-golang it looks like GSOC didn't pick it up, is it still planned?
It was mentioned also in https://www.youtube.com/watch?v=8X5PWa7A6pY#t=21m50s

There are no plans to implement the feature AFAIK, so if you want to have a try, very welcome!


Replace docs PipelineCachedStorage references with PipelineManifestStorage

PipelineCachedStorage is gone from django 3.1+, and the docs should be updated to reflect that.

I just merge the PR for the doc

The current changes are fine with me.
But, it doesn't look like the docs were ever rebuilt after merging that PR. This issue should remain open until a docs rebuild.


[Bug Report] Flow Styler mistakenly includes syntax elements.

Description
In lists / block quotes there is a syntax element (-  or > ) at the front of the line.
Selecting the first few characters or selecting the whole line after the syntax elements mentioned and applying flow styler Bold, Italics, and Strikethrough will also formatting the syntax element which isn't selected.
For example:
- Some text here.

Selecting "Some" and apply Flow Styler can turn it into
**- Some** text here.

Though in Github it can be rendered normally but Obsidian doesn't parse it correctly and render it as normal text rather than a line in the list.
Additionally, others Stylers including Code, Web Link and Link to Note seems to work fine and Markdown tasks (- [ ]) is not affected.
I do not use any CSS snippets and tested this in both default them and Typewriter theme.
So i believe this is a bug.
Expected Behavior
Just stylying what i select.
In the preceding example,
- **Some** text here.

What is interesting is that Github will render the dot at beginning as bold while obsidian won't.

Looking into this, thanks for the details!

On May 7, 2023, at 4:57 AM, maelstr08 @.***> wrote:
Description
In lists / block quotes there is a syntax element (- or > ) at the front of the line.
Selecting the first few characters or selecting the whole line after the syntax elements mentioned and applying flow styler Bold, Italics, and Strikethrough will also formatting the syntax element which isn't selected.
For example:

Some text here.
Selecting "Some" and apply Flow Styler can turn it into

- Some text here.
Though in Github it can be rendered normally but Obsidian doesn't parse it correctly and render it as normal text rather than a line in the list.
Additionally, others Stylers including Code, Web Link and Link to Note seems to work fine and Markdown tasks (- [ ]) is not affected.
I do not use any CSS snippets and tested this in both default them and Typewriter theme.
So i believe this is a bug.
Expected Behavior
Just stylying what i select.
In the preceding example,

Some text here.
What is interesting is that Github will render the dot at beginning as bold while obsidian won't.

—
Reply to this email directly, view it on GitHub https://github.com/Make-md/makemd/issues/120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFHKNUWN4UTLUVP6OE5XQ3XE5PXZANCNFSM6AAAAAAXYXEU4U.
You are receiving this because you are subscribed to this thread.


Support system-installed plugins

This helps for rbenv plugin packagers, for example, if rbenv main
programs are installed to /usr/lib/rbebv/libexec, then plugins can be
installed to /usr/lib/rbenv/plugins.
It also helps in development: I can create a plugins/ directory in rbenv
root and symlink the plugins I am testing there.

Thanks for the patch.
System-installed plugins are already supported by rbenv. The plugin directory structure is designed so that it can be merged into a prefix like /usr or /usr/local. See the discussion on the original pull request #102.

The Debian package currently uses /usr/lib/rbenv as the base prefix for all things rbenv, i.e. I use the following layout:
/usr/lib/rbenv/libexec/rbenv-*
/usr/bin/rbenv          -> /usr/lib/rbenv/libexec/rbenv

${RBENV_ROOT} keeps being users' ~/.rbenv/ (I didn't do anything, rbenv just works like this)
I need another path to install system-wide plugin hooks. I though of /usr/lib/rbenv/rbenv.d to keep it inside /usr/lib/rbenv, but thinking better we could make it /usr/lib/rbenv/hooks as well.
For now, the only plugin that comes together with the rbenv package is my rbenv-alternatives, but when other plugins get packaged (rbenv-gemset is a serious candidate) they would also install their hooks to this shared directory.

@sstephenson , would you mind adding /usr/lib/rbenv/hooks to the plugin search path, then?

sure: #183


feat(configuration): add os-specific paths for dprint binary

I found myself working on three different OSes and changing the path with Settings Sync became an hassle, so I'm proposing platform-specific paths for every OS.

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

Ignoring dprint.path in Settings Sync is definitely a valid alternative, but I can see how implementing this directly can make the dprint user experience much more seamless: considering that most users would install dprint in the default path, Settings Sync with OS-specific paths can provide a much less friction experience.


User Feature Request: Results view title

Results can be viewed two different ways
There are two version of the results displayed in the "Results" panel, either by taxon or by seed. You can move easily between the two using the arrows, but some features aren't available in the "by taxon" view. Sometimes (especially when there are multiple different kinds seeds in a picture) it is easy to lose track of which view you are looking at.
Describe the solution you'd like
If we are going to have two views, it would be nice to have some kind of a title or subtitle to distinguish between them---like label the box "Results by taxon" in one view and "Results by seed" in the other view.
Describe alternatives you've considered
I'm not 100% sure the "Results by taxon" view is all that useful, though it can be a nice summary. You could just get rid of this view and I don't think it would change much for the user.
I would find the "Results by taxon" view a little more useful if there were a way to select a taxon and have it highlight all the seeds within that taxon, and/or correct or confirm the ID for all the seeds in that taxon at once.
Additional context
Results box for the same picture in the two views:

Just realized the selecting a taxon and having only those seeds highlighted thing has been added already! So much happiness! Sorry I didn't notice right away. Now how do I get it back to showing the box for all the seeds though....


default aggregation function varies by renderer

PixieDust <IP_ADDRESS>
pandas_df = pixiedust.sampleData("https://openobjectstore.mybluemix.net/misc/milliondollarhomes.csv", forcePandas = True)

display(pandas_df, debug = True)
workingPDF

display(pandas_df, debug = True)
workingPDF

Configure the first chart as follows:

bar chart
aggregation AVG
keys: BEDS
values: PRICE
limit 1000 rows
renderer matplotlib

Configure the first chart as follows:

bar chart
aggregation AVG
keys: BEDS
values: PRICE
limit 1000 rows
renderer

inspect the workingPDF and note how the values differ. It appears that an aggregation other than AVG is used.
I have not tried to find out whether the same problem exists for other chart types.

Is the name of this issue good @ptitzler? Varying the default aggregation by renderer is a feature not a bug.

It is. If you follow the scenario you'll notice that the displayed aggregation option is "AVG". However, the applied aggregation option is something different. [That's the bug.]
I do think it makes sense to use the same default aggregation function. As a user I would not expect calculations to change if I switch between renderers (for the same chart type).

OK so 2 problems:

the applied aggregation doesn't match the one specified in metadata
the applied aggregation changes when the renderer changes

It could still be OK for a renderer to apply it's own default aggregation when none exists in metadata...

Actually the metadata does not include the aggregation property unless one explicitly selects an aggregation. so issue 1) is really that the UI display does not reflect the renderer's default.
I wouldn't agree that renderers should be allowed to define what their default aggregation is for two reasons:

A renderer's task is to visualize the workingPDF (which represents the aggregated data). A renderer should not modify the workingPDF.
If renderers were allowed to define their own default aggregation a user would have to be alerted to the fact that the workingPDF has implicitly changed. This change (if we were to allow it) is not obvious because one would have to open the chart options to learn what the new aggregation method is.

What benefits would be provided if renderers were free to choose their own default aggregation method instead of adhering to the one that is defined in the chart options?

In baseChartDisplay.py there's a getDefaultAggregation method that returns "SUM". In pieChartDisplay.py that method is overridden. It returns "COUNT". This is the only place I see a conflict with the default aggregation. How's this for a clarification of the issue @ptitzler:

The default aggregation method should be "COUNT" (so that it will work with non-numerics)
No class should override the default.
Options UI should check metadata for the aggregation method, then fall back to what is returned by the getDefaultAggregation method

There's more to it. If you run the following notebook without making any changes
visualize_data.zip you'll notice the difference.


Spurious networking log on fail run

When I docker run a dummy command, I get a spurious networking related log on the daemon side:
Client:
docker run busybox foo

Server:
INFO[0047] POST /v1.19/containers/42cf2bab54969f36faa04eab980bedfb49e71c3809f8e895a0d9412254a93d3b/start
WARN[0048] exit status 1
DEBU[0048] attach: stdout: end
DEBU[0048] attach: stderr: end
DEBU[0048] attach: stdin: end
DEBU[0048] Closing buffered stdin pipe
ERRO[0048] error locating network id : invalid ID
ERRO[0048] Handler for POST /containers/{name:.*}/start returned error: Cannot start container 42cf2bab54969f36faa04eab980bedfb49e71c3809f8e895a0d9412254a93d3b: [8] System error: exec: "foo": executable file not found in $PATH
ERRO[0048] HTTP Error                                    err=Cannot start container 42cf2bab54969f36faa04eab980bedfb49e71c3809f8e895a0d9412254a93d3b: [8] System error: exec: "foo": executable file not found in $PATH statusCode=404

Ping @mrjana.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO


PATENTS still exists on the repository

PATENTS still exists on the repository. It is when flow was licensed under BSD 3 + PATENTS.
Currently, Readme says Flow is MIT license. So I think PATENTS should be deleted.
Please let me know if there is a reason why PATENTS still exists.

update commit BSD3 to MIT
PATENTS
case of React

I actually created a pull request after noticing this. See #4977 . I hope someone explains the existence.

@gabelevi has a commit that's ready to land (and will probably land today) that removes it as well as cleans up a couple smaller things that were missed in the initial commit. Thanks for paying attention and for bearing with us while we complete this change!

Sounds good... Closing my pull request then.

Fixed in 55065bad5aa4d7e9b0266528bfd3c6af07a122c2
Sorry for the delay, we had to get clarification on something first. I think everything is squared away now.


Refactor/use orm

Description
use sqlite
Closes: #202, #203

[ ] 无法正常显示图表

[ ] ProjectName有误


Optimized Parallax

The parallax on this site is a custom one designed by me. After this site was published, I separately open-sourced the parallax code along w/ some optimizations.

This warning does not appear with the new parallax.
You might want to have a look at it here.

@HarshKhandeparkar Looks Good!

@HarshKhandeparkar  I am closing this issue as it's not a top priority for now.

@HarshKhandeparkar i try your new parallax effect code on my machine but it's broke the website maybe i did something wrong or the new code is not compatible with the website or something so it's great if you make pull request with your updated new parallax code.

I am pretty sure you made a mistake because the code hasn't changed at all. Sorry, but I don't have time to open a PR myself :)

for now i am closing this issue when you get time you welcome to make PR till we continue using old parallax code as the old parallax code look fine to me and work without any serious bug.
thank you


Cleanups and formatting

Removed left-over voodoo.json
Removed dead code
Formatted code via black
Formatted imports  via isort
Removed empty test file test_data.py

❤


Maya: Add MayaPy application.

Changelog Description
This adds mayapy to the application to be launched from a task.
Testing notes:

Setup project with MayaPy as application
Launch MayaPy
In console window execute from maya import cmds.

Split from https://github.com/ynput/OpenPype/pull/5644

Having the duplicated environment in settings for these does seem a bit unfortunate because you might rarely want to differentiate that with your Maya envs themselves, so now you'd need to manage both?
I know these are for testing but we've always used this "Debug Shell" launcher action which creates a command line shell with the os.environ similar to how you'd usually launch the application. This then works for any of the hosts, and then due to how it sets things up you can just type mayapy to launch e.g. MayaPy in the maya environment. Different use case maybe - but maybe it can help testing too in a way.

In console window execute from maya import cmds.

If I'm not mistaken that actually doesn't do much - the cmds module will be empty as far as I know until you run:
import maya.standalone
maya.standalone.initialize()

That'd also actually start the OpenPype Maya host install process so might be good to test with too to see if any errors occur with mayapy.

In console window execute from maya import cmds.

If I'm not mistaken that actually doesn't do much - the cmds module will be empty as far as I know until you run:
import maya.standalone
maya.standalone.initialize()

That'd also actually start the OpenPype Maya host install process so might be good to test with too to see if any errors occur with mayapy.

I think it might work without maya.standalone.initialize()  but I agree that we need to check if any errors occurred when mayapy started.
The screenscapture below is the mayapy executed from the OP launcher.

Without initialize the maya.cmds module exists, but is empty, e.g. the file command maya.cmds.file I believe does not exist until initialized. I might be wrong though. 🗡

Without initialize the maya.cmds module exists, but is empty, e.g. the file command maya.cmds.file I believe does not exist until initialized. I might be wrong though. 🗡

maybe you are right.......


la-hotfix-live

Docs Build status updates of commit e8fa4a9:
:clock10: Pending: waiting for processors (25 builds ahead of you)
:warning: Docs Build is busy, currently there are 25 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit e8fa4a9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/app-templates.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


chore: update repo

update version to 1.4.12-1
Issue: https://github.com/linuxdeepin/developer-center/issues/5731
Log: update repo

/approve


Comments and Comment components don't update on route change

Probably related to #45 and/or caused by the fact that a component class is passed down via props.

[ ] figure out a proper solution to Comment and Comments nesting

A good, real solution to #52 would solve both this and #45 probably.

"fixed" with workaround in 40b20bc9e130d580459e860f56b94aa259b05ea1
It's not efficient but it works. Maybe I'll figure out how to really fix it some other time


Clarified ESLint instructions

It seems that ESLint does not lint imports by default; this functionality is provided by a plugin. Without the plugin, ESLint will throw an error due to the unknown import/no-unresolved rule.
Once eslint-plugin-import is installed, the provided pattern \~* was causing all imports to be ignored because any string will match that RegExp. The new pattern is ^[~] matching any import starting with a tilde. The brackets should make it a little safer for anyone choosing a custom prefix to just swap the ~ character (e.g. ^[*] which will match anything beginning with an asterisk vs ^* which is not a valid regular expression).
There is an ESLint plugin eslint-import-resolver-babel-root-import meant to ensure that babel-root-import statements are actually verified rather than ignored. However, as discussed in that project, the current state of babel plugins requires each plugin to validate every possible type of import rather than allowing plugins to chain together. Since this plugin will only work in limited circumstances I did not include  a link in the README.

Awesome :) thx.. sounds great!


Support pyrightconfig.json intellisense

VSCode pyright extension supports intellisense for pyrightconfig.json.
It'd be great if pylance also supports the intellisense.

Hey @tamuhey
Thanks for the suggestion. We are currently investigating this request and will update with details soon.

This issue has been fixed in version 2020.9.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202090-3-september-2020


root field parsing doesn't depend on Union type order

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug __root__ field parsing doesn't depend on Union type order
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.6.1
            pydantic compiled: True
                 install path: .venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.0 (default, Oct 28 2019, 16:14:01)  [GCC 8.3.0]
                     platform: Linux-5.4.0-48-generic-x86_64-with-glibc2.27
     optional deps. installed: ['typing-extensions', 'email-validator']

Parsed field value depends on Union type order, as it specified by docs:

With proper ordering in an annotated Union, you can use this to parse types of decreasing specificity

from typing import Union, Dict
from pydantic import BaseModel

T1 = Union[Dict[str, str], str]
T2 = Union[str, Dict[str, str]]

class A(BaseModel):
    a: T1

class B(BaseModel):
    a: T2

print(A.parse_obj({'a': ''}))  # a={}
print(B.parse_obj({'a': ''}))  # a=''

But:
from typing import Union, Dict
from pydantic import BaseModel

T1 = Union[Dict[str, str], str]
T2 = Union[str, Dict[str, str]]

class A(BaseModel):
    __root__: T1

class B(BaseModel):
    __root__: T2

print(A.parse_obj({'a': ''}))  # __root__={'a': ''}
print(B.parse_obj({'a': ''}))  # __root__={'a': ''}

Both values are equal. Is that behavior expected for __root__?

Seems to be a particular problem with dictionaries:
from typing import Union
from pydantic import BaseModel

T1 = Union[int, str]
T2 = Union[str, int]

class A(BaseModel):
    __root__: T1

class B(BaseModel):
    __root__: T2

print(A.parse_obj('123'))  # __root__=123
print(B.parse_obj('123'))  # __root__='123'

Interesting. Speaking about dictionaries: is it normal that empty string is valid dict?
print(A.parse_obj({'a': ''}))  # a={}

See #1268 and #558, it should change in v2.

This is fixed in v2


PostgreSQL Composite Types  support

How to make model for Composite Types?
Ref: https://www.postgresql.org/docs/9.6/rowtypes.html

Bun does not support composite types. If you are interested, you could try to port that feature from go-pg.

We have some good cases where we would like to use composite types.
Which option would be preferred?
Declare type in composite model
Require new struct tag usage.
type inventoryItem struct {
	bun.BaseModel `type:"myschema.inventory_item"`

	R float64 `bun:"r"`
	I float64 `bun:"i"`
}

type onHand struct {
	bun.BaseModel `table:"myschema.on_hand"`

	InventoryItem inventoryItem `bun:"inventory_item"`
	Count         int           `bun:"count"`
}

Declare type when used
Doesn't require new struct tag usage.
type inventoryItem struct {
	R float64 `bun:"r"`
	I float64 `bun:"i"`
}

type onHand struct {
	bun.BaseModel `table:"myschema.on_hand"`

	InventoryItem inventoryItem `bun:"inventory_item,type:myschema.intentory_item"`
	Count         int           `bun:"count"`
}

In your first example, InventoryItem inventoryItem could mean JSONB.
In your 2nd example, it is not obvious that type:myschema.intentory_item means a composite type, i.e. it can be just a less-known PostgreSQL type/extension.
It probably should be more explicit:
type onHand struct {
	bun.BaseModel `table:"myschema.on_hand"`

	InventoryItem inventoryItem `bun:"inventory_item,type:myschema.intentory_item,composite"`
	Count         int           `bun:"count"`
}

I forgot the bun prefix on some of the stuct tags in my previous comment; fixed now.

In your first example, InventoryItem inventoryItem could mean JSONB.

Don't I need to do bun",type:bson" for that? Anyways, I would assume that 2nd example is probably slightly easier to implement. And perhaps more explict.

In your 2nd example, it is not obvious that type:myschema.intentory_item means a composite type, i.e. it can be just a less-known PostgreSQL type/extension.

Does it have to be obvious? I see Gorm (according to Atlas at least), just use a type prefix:

https://atlasgo.io/guides/orms/gorm/composite-types

I think that as a user, I wouldn't really need to care if the referenced type is a simple type or a composite type, would I?

Don't I need to do bun",type:bson" for that?

Right, I see bson is the default in the docs. Have always used explicit tags, so haven't really noticed before.

Trying to understand the code for where this would have to be added.
I found there is already matching done on the key "composite" here when determining the type name:

https://github.com/uptrace/bun/blob/014b142c4ec4a0266fc7d82d1f4f765261246586/dialect/pgdialect/sqltype.go#L66

So to understand what's lacking here, we probably need a new append implementation? And/or a parser similar to arrayParser in the pgdialect package. We maybe also need to update the array parser implementation?
To get started quicker, is there an easy way for me to do this with an sql.Scanner and sql.Driver interface that uses bun for the heavy lifting?
type inventoryItem struct {
	bun.BaseModel `bun"type:myschema.inventory_item"`

	Name       string  `bun:"name"`
	SupplierID int     `bun:"supplier_id"`
	Price      float64 `bun:"price"`
}

func (inventoryItem) Value() (driver.Value, error) {
	var b []byte
	b = append(b, '(')

	// What goes here?

	b = append(b, ')')
	return b, nil
}

func (inventoryItem) Scan(src any) error {
	b, ok := src.([]byte)
	if !ok {
		return fmt.Errorf("unexpected type; got %T, want []byte", src)
	}
	b = bytes.TrimSpace(b)
	if b[0] != '(' || b[len(b)-1] != ')' {
		return fmt.Errorf("expecting surrounding parenthesis")
	}
	b = b[1 : len(b)-1]

	// What goes here?
}

And is this likely to work for _array_ fields?

```go
type onHand struct {
	bun.BaseModel `table:"myschema.on_hand"`

	InventoryItems []inventoryItem `bun:"inventory_items,composite:myschema.intentory_item,array"`
}


Revert gotestsum

Test output from failed tests is truncated and test failure cause is invisible

test failed because of capacity limit on Azure, requested increase


[New App] Quick Center

A small launcher-like app made for quick access to your favorite apps, inspired by control centers of other watches. It's designed to be used with other quick-launching apps, as an additional menu.
While developing I found out that Layout.js doesn't change the button width and height while changing the image scale, and I had to copy the button rendering code and use it as a custom element to circumvent it. So is there any better way to force button size?

Looks great - thanks! So the issue is that when you have a button with a scaled image, the size isn't right? It looks like scaled images are ok, but maybe that code didn't get copied over properly.
I think it's best to just get a fix in Layout for that?


[T4A2][T13-B2] Gao Yu

Ready for review

@GaoYu-Karen
Some comments added. Please ack & close the PR after reading comments.


setValue should respect maxlength attribute

Feature Description
It would be nice if wrapper.setValue would respect the maxlength attribute on inputs if it is present.
Problem
I am trying to test a credit card input system, and part of the functionality is that it sets the maxlength attribute of the card number input element based on the card's type. Because setValue does not respect the maxlength attribute, there is no good way to test this behavior besides checking the maxlength value directly, which errs on the side of testing implementation details in my opinion.
Expected behaviour
The following test should pass
test('respect maxlength', async () => {
    const limitedInput = mount(MyVueComponent).find('input[maxlength="5"]');
    await limitedInput.setValue('this is more than 5 characters');
    expect(limitedInput.element.value).toBe('this ');
});

Alternatives
An ideal solution would be to have a more true-to-life way to simulate inputs, but from my research it seems like the maintainers have decided this isn't feasible.

This PR will be fix this issue: https://github.com/vuejs/vue-test-utils/pull/2054

Hi, sorry we never replied. I don't think this should be supported. I just tried this in a real browser - even with maxlength, if you use JS, it'll ignore the length and update the value, anyway, so what we are doing here actually does match a real browser.
When you go to submit, if you configured your form correctly, the default browser validation should prevent the form from submitting. What happens when you do that? I'd say this is the most production like way to test - the goal of validating inputs is to prevent a form submission, in general.
If we were simulating real typing, such as with a tool like Cypress, you'd be able to test this. In fact, I'd suspect if you used Cypress Component Testing w/ Vue, it would prevent you from typing more characters. Something like
const Comp = {
  template: `<input maxlength="3" />`
}
cy.mount(Comp)
cy.get('input').type('12345') // should only do 123, I think


arm64 images

Is your feature request related to a problem? Please describe.
It would be really appreciated if there were builds for arm64 architecture.
Describe the solution you'd like
Official arm64 builds (I was not able to get them running by building images myself, using same Containerfile but "arm64" as ARCH variable)
Thanks and best regards

Hi @woodfairy
Added (#141).
Available tags:


tar.zst

The implementation expects data.tar.xz and control.tar.xz but some packages such as gitweb on Ubuntu Jammy have .tar.zst files.
cat ..../external/jammy_gitweb_1-2.34.1-1ubuntu1.10_amd64/BUILD.bazel

filegroup(
    name = "data",
    visibility = ["//visibility:public"],
    srcs = ["data.tar.xz"]
)

filegroup(
    name = "control",
    visibility = ["//visibility:public"],
    srcs = ["control.tar.xz"]
)

 ls ..../external/jammy_gitweb_1-2.34.1-1ubuntu1.10_amd64/
BUILD.bazel	WORKSPACE	control.tar.zst	data.tar.zst	debian-binary

FYI, this project is a support ruleset for distroless and is primary funded for that purpose. If you can provide a fully tested PR with this feature, we can accept the patch, but it's unlikely that we will be handling feature requests ourselves.

This is already fixed by https://github.com/GoogleContainerTools/rules_distroless/pull/41


Its not work on SPA - Angular 1.x

Hello,
I've build a website of online furniture and its front end build on angular 1.4 and its consists of api's which are on node 6. Its mean html are not generated on node(server side). Angular factory call node apis such like http://mysite.com/api/getcategories.
I've include a middleware in my node server.js file
app.use(require('prerender-node'));
Please make my life easier by smart solution

Hi there, can you email us at<EMAIL_ADDRESS>and send over your real website URL? That way we can help look into it. Thanks!


Oculus OpenXR is enabled for all users by default now.

The Oculus v19 runtime will automatically point the ActiveRuntime registry key at our PC runtime for all users now, there should be no special setup required. Note if the regkey is already set we'll honor that and leave it pointing at whatever it was pointing at, so you'll have to manually change the regkey to switch runtimes (the OpenXR committee is planning on an automatic switching protocol at some future date).

Oh very cool, thanks for letting me know! I'll update the docs to reflect this :)


Syntax Error: "errorMessage" is read-only

React Native: v0.29.2
OS: Mac
Error occurs on iOS when react-native run-ios is run on a new project after react-native init project.
Haven't tested on Android.
Found this being fixed in #8347 (0.30-rc).

Closing this because a fix is ready and will be going on in a future release.


Problems to bundle assets in Flutter-Desktop

Problem Description
There is no documentation available which explains how to bundle assets on Desktop (doesn't matter if MacOS, Windows or Linux). Because of that I would expect that the assets are bundled as normal. The problem is it seems like they aren't bundled at all. There would be some workaround with flutter build bundle but again how to handle that within Flutter? Is there anyway to bind in the assets directory? Specifically I want to bundle a .so library for dart:ffi and also some other assets like a predefined env.yaml config file.
Steps to Reproduce

Just create a flutter app with desktop support and add some assets e.g. the standard assets already declared in the pubspec.yaml

Expected results: Assets should be available within the DefaultAssets or the rootBundle. Just like it is on Android and iOS
Actual results: It seems like assets aren't bundled at all or they are at a not defined place (which isn't mentioned in any documentation!)

@UliPrantz
I think your case is similar to https://github.com/flutter/flutter/issues/59515 so please follow-up in it for further updates.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.


Change JSON Structure

The code units JSON is currently structured like this:
[
    {
      "type": "...",
      "name": "...",
      "filepath": "...",
      "filename": "...",
      "source_code": "...",
      "docstring": "...",
  },
  {
      "type": "...",
      "name": "...",
      "filepath": "...",
      "filename": "...",
      "source_code": "...",
      "docstring": "...",
      "methods": [
          {
              "name": "....",
              "source_code": "...",
              "docstring": "...",
          },
      ]
  }
]

but I think the methods should be at the same level as the functions to make it easier to process the units.
[
    {
      "type": "function",
      "name": "...",
      "filepath": "...",
      "filename": "...",
      "source_code": "...",
      "docstring": "...",
  },
  {
      "type": "class",
      "name": "...",
      "filepath": "...",
      "filename": "...",
      "source_code": "...",
      "docstring": "...",
      "methods": [
          {
              "name": "....",
              "source_code": "...",
              "docstring": "...",
          },
      ]
  },
  {
      "type": "method",
      "class": "ClassName",
      "name": "...",
      "filepath": "...",
      "filename": "...",
      "source_code": "...",
      "docstring": "...",
  },
]

All the code that processes the files would also need to be updated.

Maybe there should be a class which just handles creating and processing these code units...
Or data structures that model this structure...
@dataclass
class CodeUnit:
    """
    Represents a code unit (class, function, or module) in the codebase.
    """
    type: CodeUnitType
    name: str
    filepath: Path
    source_code: str
    docstring: Optional[str] = None
    methods: List[Method] = field(default_factory=list)


404 Error upon clicking the link

404 Error upon clicking the link

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

ID: f108b474-2f9c-4b76-3d0f-e85bf77985ed
Version Independent ID: 9627f1f9-82c5-49c8-5506-d3e09b977673
Content: Manage solutions using PowerShell - Power Platform
Content Source: power-platform/alm/powershell-api.md
Service: power-platform
Sub-service: alm
GitHub Login: @mikkelsen2000
Microsoft Alias: pemikkel

@davins-msft - Thank you for your feedback. Since that PowerShell module has been deprecated, the article has been updated to remove the mention of it (along with the link).
Closing issue.


build: upgrade to Go 1.13 and Debian 10

See: https://golang.org/doc/go1.13

Codecov Report

Merging #67 into master will increase coverage by 0.66%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   72.32%   72.98%   +0.66%
==========================================
  Files           9        9
  Lines         907      907
==========================================
+ Hits          656      662       +6
+ Misses        216      212       -4
+ Partials       35       33       -2


can not open document page

OS: Mac monterey 12.1
Browser: Google chrom Version 102.0.5005.61 (Official Build) (arm64)
https://cliffy.io/docs

console log

also, have occurred error in secret mode every

Thanks!!!!
@c4spar


MINOR: add support for zonal instances SRE-3001

:tada: This PR is included in version 5.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Authenticated but cannot set the registry

From @Overdrivr on June 8, 2017 17:13
I'm trying to deploy Docker images to Deis from Gitlab CI, but fails to authenticate to a private docker registry.
I created a specific user gitlab-ci, that authenticates successfully.
This is the output of the CI script
Running with gitlab-ci-multi-runner 9.2.0 (adfc387)
  on docker-auto-scale (e11ae361)
Using Docker executor with image felixbuenemann/deis-workflow-cli:latest ...
Starting service docker:dind ...
Pulling docker image docker:dind ...
Using docker image docker:dind ID=sha256:dee518b729774dca2b75e356b4e5d288f4abd00daea5a934c63c4a5a20fe6655 for docker service...
Waiting for services to be up and running...
Using docker image sha256:93836450ba09f3d8d835cf8da9bd33f5d283aca7b89a8410a8597e0a2b8ca79e for predefined container...
Pulling docker image felixbuenemann/deis-workflow-cli:latest ...
Using docker image felixbuenemann/deis-workflow-cli:latest ID=sha256:69f5967add43047a280852adca72ac7c16e9b25af0aab9537350a80db6af0aa1 for build container...
Running on runner-e11ae361-project-3003608-concurrent-0 via runner-e11ae361-machine-1496941443-0cbe3239-digital-ocean-2gb...
Cloning repository...
Cloning into '/builds/MYUSERNAME/MYPROJECT'...
Checking out f7c7d01f as push-to-deis...
Skipping Git submodules setup
$ deis version
Logged in as gitlab-ci
Configuration file written to /root/.deis/client.json
v2.13.0
$ deis login $DEIS_CONTROLLER --username=$DEIS_USERNAME --password=$DEIS_PASSWORD
Logged in as gitlab-ci
Configuration file written to /root/.deis/client.json
Logged in as gitlab-ci
Configuration file written to /root/.deis/client.json
$ deis whoami
Logged in as gitlab-ci
Configuration file written to /root/.deis/client.json
You are gitlab-ci at http://deis.XXX.XX.XXX.XXX.nip.io
$ deis registry:set username=$CI_REGISTRY_USER password=$CI_REGISTRY_PASSWORD -a $DEIS_APP_NAME
Logged in as gitlab-ci
Configuration file written to /root/.deis/client.json
Applying registry information... ...Error: You do not have permission to perform this action.
ERROR: Job failed: exit code 1

Authentication to the registry fails, although I am using the correct variables for username and password (I was using the exact same ones for connecting with docker to the registry), and $DEIS_APP_NAME is defined in Gitlab as secret, with value equal to my app name inside deis.
Any idea on why this action is not allowed, or how I can debug this further ? Error message is not very explicit.
Copied from original issue: deis/workflow#823

From @bacongobbler on June 8, 2017 18:46
ping @Bregor, does this seem like an RBAC issue? deis registry:set writes a secret in the application's namespace, if I recall correctly.
Which version of kubernetes are you running?

From @Bregor on June 8, 2017 18:56
@Overdrivr is this the only issue for now, or you did not try anything else yet?
And yes, could you please show output of kubectl version --short?

From @Overdrivr on June 9, 2017 12:42
Thanks for the quick replies, I'm running k8s 1.6.4.
During cluster creation, I let the default value at former authentication method : enabled, don't know if it has an impact

$ kubectl version --short
Client Version: v1.6.4
Server Version: v1.6.4


Extended pod-level resource isolation

Feature Name

One-line feature description (can be used as a release note): Extended pod-level resource isolation
Primary contact (assignee): @ConnorDoyle
Responsible SIGs:
Design proposal link (community repo): Design document (in progress).
Reviewer(s) - (for LGTM) recommend having 2+ reviewers (at least one from code-area OWNERS file) agreed to review. Reviewers from multiple companies preferred:
Approver (likely from SIG/area to which feature belongs):
Feature target (which target equals to which milestone):

Alpha release target (x.y)
Beta release target (x.y)
Stable release target (x.y)

############### Outdated template below #################
Description
Currently, the pod-level isolation strategy is fixed in Kubernetes. This feature is for Kubernetes to provide a way for cluster operators to extend the pod-level container management policy. This is a low-level feature that has been discussed as part of a solution to a broad number of resource isolation use cases including, but not limited to, device initialization and related container setup, and node-local cpu affinity policy.
Design document (in progress).
Related issues:

https://github.com/kubernetes/kubernetes/issues/28313
#192
#76

Progress Tracker

[ ] Alpha

[x] Write and maintain draft quality doc

[x] During development keep a doc up-to-date about the desired experience of the feature and how someone can try the feature in its current state. Think of it as the README of your new feature and a skeleton for the docs to be written before the Kubernetes release. Paste link to Google Doc:  design doc

[ ] Design Approval

[ ] Design Proposal.  This goes under design-proposals.  Doing a proposal as a PR allows line-by-line commenting from community, and creates the basis for later design documentation.  Paste link to merged design proposal here: PROPOSAL-NUMBER
[x] Decide which repo this feature's code will be checked into. Not everything needs to land in the core kubernetes repo. kubernetes/kubernetes
[ ] Initial API review (if API).  Maybe same PR as design doc. https://github.com/kubernetes/kubernetes/pull/44870

Any code that changes an API (/pkg/apis/...)
cc @kubernetes/api

[x] Identify shepherd (your SIG lead and/or<EMAIL_ADDRESS>will be able to help you). My Shepherd is: @vishh

A shepherd is an individual who will help acquaint you with the process of getting your feature into the repo, identify reviewers and provide feedback on the feature. They are not (necessarily) the code reviewer of the feature, or tech lead for the area.
The shepherd is not responsible for showing up to Kubernetes-PM meetings and/or communicating if the feature is on-track to make the release goals. That is still your responsibility.

[ ] Identify secondary/backup contact point. My Secondary Contact Point is<EMAIL_ADDRESS>(and/or GH Handle)

[ ] Write (code + tests + docs) then get them merged.  ALL-PR-NUMBERS

[ ] Code needs to be disabled by default.   Verified by code OWNERS
[ ] Minimal testing
[ ] Minimal docs

cc @kubernetes/docs on docs PR
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
New apis: Glossary Section Item in the docs repo: kubernetes/kubernetes.github.io

[ ] Update release notes

[ ] Beta

[ ] Testing is sufficient for beta
[ ] User docs with tutorials
- Updated walkthrough / tutorial in the docs repo: kubernetes/kubernetes.github.io
- cc @kubernetes/docs on docs PR
- cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
[ ] Thorough API review

cc @kubernetes/api

[ ] Stable

[ ] docs/proposals/foo.md moved to docs/design/foo.md
- cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
[ ] Soak, load testing
[ ] detailed user docs and examples

cc @kubernetes/docs
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off

FEATURE_STATUS is used for feature tracking and to be updated by @kubernetes/feature-reviewers.
FEATURE_STATUS: IN_DEVELOPMENT
More advice:
Design

Once you get LGTM from a @kubernetes/feature-reviewers member, you can check this checkbox, and the reviewer will apply the "design-complete" label.

Coding

Use as many PRs as you need.  Write tests in the same or different PRs, as is convenient for you.
As each PR is merged, add a comment to this issue referencing the PRs.  Code goes in the http://github.com/kubernetes/kubernetes repository,
and sometimes http://github.com/kubernetes/contrib, or other repos.
When you are done with the code, apply the "code-complete" label.
When the feature has user docs, please add a comment mentioning @kubernetes/feature-reviewers and they will
check that the code matches the proposed feature and design, and that everything is done, and that there is adequate
testing.  They won't do detailed code review: that already happened when your PRs were reviewed.
When that is done, you can check this box and the reviewer will apply the "code-complete" label.

Docs

[ ] Write user docs and get them merged in.
User docs go into http://github.com/kubernetes/kubernetes.github.io.
When the feature has user docs, please add a comment mentioning @kubernetes/docs.
When you get LGTM, you can check this checkbox, and the reviewer will apply the "docs-complete" label.

/assign

@ConnorDoyle I've updated the feature description to fit the new template. Please, fill the empty fields in the new template (their actual state was unclear).

Based on discussions, do we want to leave this open @ConnorDoyle ? Do we think this might be supplanted by subsequent proposals?

The takeaway from the resource management work group meetings was that an
extended pod-level isolator isn't necessary as long as "static" CPU
pinning, hugepages and extended support for hardware accelerators is in the
roadmap.
As a project, it is a bit too early to define an extension point around
node level resource isolation that can be backwards compatible in the
future.
On Wed, May 3, 2017 at 2:51 PM, cmluciano<EMAIL_ADDRESS>wrote:

Based on discussions, do we want to leave this open @ConnorDoyle
https://github.com/ConnorDoyle ? Do we think this might be supplanted
by subsequent proposals?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/features/issues/246#issuecomment-299046191,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGvIKI8lsSbHhTj4gxcBYlweXgoStPcOks5r2PbkgaJpZM4M04Cu
.

Agree, we can re-open it later if it becomes necessary for other use cases people might have in the future.


makes dashboard the default page rather than login

fixes #2362

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1751/
Test PASSed.


[BUG] color-x css modifiers have white bg with white text

For SfButton but please check other components:

hover:

i don't reproduce the issue anymore has it been fixed ? Background is now dark at hover with white typo.

@Trapdafifou bug is still there :) @peoray Are you still want to work on it?

@martaradziszewska Yes, although I'm not sure I'm doing it right. I'll post updates and issues I'm having when I get home from work :)

@martaradziszewska. Please how can I reproduce this issue?

@peoray To reproduce it you should:

Go to https://storybook.storefrontui.io/?path=/story/atoms-button--common
Choose one of color modifiers e.g. color-danger
Hover on button and see that background color is too light compared with text color

I will take it also because it's connected with #777  :)


Bug reports for links in OpenIM docs

Summary

Status
Count

🔍 Total
427

✅ Successful
390

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
7

❓ Unknown
0

🚫 Errors
30

Errors per input
Errors in docs/contrib/development.md

[403] https://unix.stackexchange.com/a/79357 | Failed: Network error: Forbidden

Errors in docs/contrib/prometheus-grafana.md

[404] https://docs.openim.io/configurations/prometheus-integration | Failed: Network error: Not Found
[404] https://grafana.com/grafana/plugins/grafana-kafka-datasource/ | Failed: Network error: Not Found
[404] https://grafana.com/docs/grafana/latest/datasources/zookeeper/ | Failed: Network error: Not Found
[404] https://grafana.com/docs/grafana/latest/datasources/redis/ | Failed: Network error: Not Found

Errors in docs/contrib/mac-developer-deployment-guide.md

[404] https://github.com/openimsdk/open-im-server/tree/main/.devcontainer | Failed: Network error: Not Found

Errors in build/README.md

[ERR] [file:///home/runner/work/dweb-browser-im-server/dweb-browser-im-server/build/common.sh](file:///home/runner/work/dweb-browser-im-server/dweb-browser-im-server/build/common.sh) | Failed: Cannot find file

Errors in .devcontainer/README.md

[ERR] [file:///home/runner/work/dweb-browser-im-server/.vscode/launch.json](file:///home/runner/work/dweb-browser-im-server/.vscode/launch.json) | Failed: Cannot find file
[ERR] https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/openimsdk/open-im-server | Failed: Network error: dns error: no record found for Query { name: Name("ms-vscode-remote.remote-containers.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net."), query_type: AAAA, query_class: IN }

Errors in docs/contrib/environment.md

[403] https://temp-1252357374.cos.ap-chengdu.myqcloud.com/ | Failed: Network error: Forbidden
[404] https://github.com/openimsdk/open-im-server/blob/main/deployments/templates/openim.yaml | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-chat/release-v1.2 | Failed: Network error: Not Found
[403] https://oss-cn-chengdu.aliyuncs.com/ | Failed: Network error: Forbidden
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server/release-v3.2 | Failed: Network error: Not Found
[403] https://demo-9999999.oss-cn-chengdu.aliyuncs.com/ | Failed: Network error: Forbidden
[404] https://github.com/openimsdk/open-im-server/blob/main/config/config.yaml | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-chat/release-v1.3 | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server/main | Failed: Network error: Not Found
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-server/release-v3.3 | Failed: Network error: Not Found
[ERR] http://your.domain.com/ | Failed: Network error: dns error: no record found for Query { name: Name("your.domain.com.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net."), query_type: AAAA, query_class: IN }
[400] http://s3.cn-east-1.qiniucs.com/ | Failed: Network error: Bad Request
[404] https://github.com/openimsdk/openim-docker/tree/main/openim-chat/main | Failed: Network error: Not Found

Errors in README-zh_CN.md

[404] https://github.com/openimsdk/open-im-server/blob/main/FAQ.md | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/examples | Failed: Network error: Not Found
[404] https://github.com/openimsdk/open-im-server/blob/main/docs/contrib/interface.md | Failed: Network error: Not Found
Full Github Actions output

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

This issue was closed because it has been stalled for 7 days with no activity.


Update activity data daily

Instead of freezing the activity data in the JSON file, we should update the activity data daily so the Retrospective tab is always up to date

I know this is high-value @jchodera; actively working on it now.

@jchodera I've looked through the scripts on mskcc1:/home/server/server2/projects/available/covid-moonshot/synthetic-enumeration/sprint-10, but it's not exactly clear how we got the activity data in /home/server/server2/projects/available/covid-moonshot/synthetic-enumeration/sprint-10/activity-data.
Can you share how we do this currently so I can build the component that does this as part of the continuous process?

@jchodera do you have a response for this? I want to capture this in our CLI so it can be performed more frequently instead of at the start of the pipeline.

@dotsdl : Apologies for the delay in response!
In the past, I've been retrieving the current activity data from the link on the COVID Moonshot activity data webpage. The direct link is https://covid.postera.ai/covid/activity_data.csv
I believe that CSV file comes from this GitHub repo, but I'm not sure which file. This repo hasn't been updated since Aug 24, however, so I'm patting in @mc-robinson to help provide guidance on how to get the most up-to-date data.

@dotsdl : It looks like the Moonshot webpage and GitHub repo haven't been updated since Aug 24. @mc-robinson is working on an update in this branch, but it has been giving issues with merge conflicts (something that has been problematic for a while).
@mc-robinson suggests using the code from this script to pull the data from CDD directly. This requires a CDD API key, which @mc-robinson has kindly generated for me.
I've sent you a copy of the API key by slack. We can keep it on the FAH server and also set it up as an org secret, (e.g. COVID_MOONSHOT_CDD_API_KEY) for testing.


no toolbar

the readme needs polishing, i followed the example but i don't see any toolbar. it's just a text area.

I think you might have an error in your console, i cannot reproduce your issue

i agree, there was a typo, everything works now


FileNotFoundError: [Errno 2] No such file or directory: '_categories/Cardiovascular_Health.html'

neat project, rip wellnessfx.
ran into this error while trying to build
Plot for Fibrinogen saved to /Users/eeveehome/biomarkerdash/_includes/Fibrinogen.html.
Traceback (most recent call last):
  File "/Users/eeveehome/biomarkerdash/scripts/./load_wellnessfx.py", line 100, in <module>
    output_file = htm.combine_html_files(category, html_content)
  File "/Users/eeveehome/miniforge3/lib/python3.10/site-packages/biomarkerdash/html.py", line 68, in combine_html_files
    with open(output_path, "w", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '_categories/Cardiovascular_Health.html'

My CSV looks like this

Same issue as above
Traceback (most recent call last):
  File "./load_wellnessfx.py", line 100, in <module>
    output_file = htm.combine_html_files(category, html_content)
  File "/Users/x.x/.pyenv/versions/3.7.4/lib/python3.7/site-packages/biomarkerdash/html.py", line 68, in combine_html_files
    with open(output_path, "w", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '_categories/Cardiovascular_Health.html'

Same issue as above. I did notice that the entire _categories folder is empty after building. Thanks for putting this together, looks like a nice replacement to WellnessFX.

I fixed this by hardcoding the entire path to the _categories directory.
Line 43:
output_directory: str = "/home/user/biomarkerdash/_categories",

You can fix this easily by changing the code or simply changing how you call it, i.e.:
For example, calling it from the parent directory instead of from scripts/ fixes it:
./scripts/load_wellnessfx.py test_result_export.csv
The only catch is that if you try to load the HTML output from a web server the paths will be messed up because they're absolute filesystem paths. This is easy to fix with a search and replace, or could be fixed in the code by someone less lazy than I.

Thanks @Stephenitis @sstarcher @brianbohanon @ddn for bringing this to our attention - the issue should be resolved now with both updated README and making the behavior of the script invariant to the directory where it's called from.


Dart -> Engine roll queueing for 6 hours

https://github.com/flutter/engine/pull/28766

Manually kicking off the tasks.

Closing this issue since flutter/engine#28766 has progressed from pending test state.


Create azure backend

Microsoft Azure also supports programmable routes so it should be possible to create a backend for it akin to gce and aws-vpc.

+1 - we use Azure and could make use of this

@danielschonfeld Any chance you can help ?

@philips how can I help?

I should also note that we've run into problems when setting static routes with static IPs on Azure.  We're trying to address it with Azure Tech Support, but so far it's been like banging a head into a wall.
I am not certain however, if flannel will run into the same problems as I am not sure if its caused only because of the use of static IPs for the VMs or the use of static routes.  If it's the latter that's causing the issues we're seeing, then you can expect flannel running into the same problem.
The problem being that once you're committed to using this set up, if you add, stop, pause, remove VMs and/or change IPs on VMs defined in the static route table, the whole network freezes for the duration of the operation. When I say freezes, I mean ALLLLLL VMs, not just the one you're updating.

should we consider to include more cloud as backend service .because this is trend that more and more cloud computing providers has been support programable network routing functions.  like some chinese cloud computing provider like ucloud, aliyun.
my suggestion is why we can creating all of this kind of backend service by using a method like Apache libcloud does , just create a SDK hub for every existed cloud vendors and allow users to select what they need to create a specific cloud provider related network solution to eliminate the duplicated works.


Embeds not working

Using a Pokemon Go bot as an example, this is an embed:

They exist in Discord, but when going through the bridge, they become just "undefined" in Telegram

as well as for some reason triggering "Could not edit Telegram message: Error: No corresponding message ID for<PHONE_NUMBER>50621708" in the bot, even though it appears to be no edit

The embeds appear on the message object on the embeds property, and have a simple enough structure. The code, however, will be a mess if I just add support for it. A slight rewrite will be necessary to keep the code clean. I also need to figure out how to show this in Telegram

Fixed in commit 6e5650a9b08ac8690882284dd0a0c59b34051c07, but the edit error is still triggered for some reason


Remove old Groovy code related to AwaitilityTrait and AwaitilitySupport

AwaitilityGroovyBridge needs to be removed because depending on random factors
(class loading?) it can overwrite code added by AwaitilityExtensionModule and
cause non-bool closures to fail - this is reproduced by tests added in this commit.
AwaitilityTrait and AwaitilitySupport can be made empty as AwaitilityExtensionModule
does their work now. They are left only to prevent a breaking API change.

Thanks again!!


Write a "Add a new article" guide

This guide will also need to provide the different special tags (like ,  and ) and explaining how the metadata work

Article updated


[HxGrid] Data never gets loaded when using PlaceholdersRowCount together with InfiniteScroll mode

When the PlaceholdersRowCount is set to a higher number of rows, causing the content not to fit on the page, the grid continues to display placeholder rows forever. Data is only loaded when I scroll to the end of the placeholder rows within the grid.
The bug can be reproduced even when the value of PlaceholdersRowCount is not set high, as it occurs when the browser window is small.
The behaviour can only be reproduced in InfiniteScroll mode, other modes seems to be working correctly.

@jirikanda It seems, the Virtualize component does not initiate loading data (DataProvider not called), unless it is visible (in viewport). We might try to resolve this by changing the order of rendering and expect the upper part of the grid to be "most likely visible")...
Currently it renders:

Header row
Placeholders / Loading template
EmptyData template (mutually exclusive to 2.)
Data rows (Virtualized or not)
Footer row
Pager
LoadMore button/template

We might change the order to render data (4.) before Placeholder/Loading (2.).
Do you see any risks in such change?
cc @crdo

😮
I would try the same.
Risks? Have no idea. Hopefully none.


[Bug]: on the AI/ML resources main page there are multiple repetitive cards. Need to remove them

Describe the bug

on the AI/ML resources main page there are multiple repetitive cards. Need to remove them.
Remove the cards which appear twice. keep only four cards in the "ai/ml domain" section: NLP, Computer vision, reinforcement learning, deep learning. Remove data science as we have a dedicated page for it.
To Reproduce
No response
Expected Behavior
No response
Screenshot/ Video
No response
Desktop (please complete the following information)
No response
Additional context
No response

can you assign this issue to me?

resolved


[Feature Request] Support re-ordering TabBar tabs via click+hold+drag

This could be added as a parameter to TabBar: supportsReordering or similar. When true the tabs should be able to be dragged around to change position. Here's an example from Chrome DevTools:

I think that this is something that should be added as a property for lower level widgets that are likely ancestors to tab bars, bottom navigation bars and even navigation rails. Ideally we have some generic TabBar that could take any widget as a child, and has the ability to rearrange the tabs as mentioned.


Make it work without jQuery (and test without jQuery too)

This makes the addon jQuery-free, ready to be used in ember-apps that don't use jQuery themselves.
I realize the the test suite is empty, but either way the setup is in place to ensure that the tests run without jQuery in case anyone adds them.

Thank you so much! ❤

@tim-evans 👍 Can you cut a version at some point soon?

🎉 https://github.com/tim-evans/ember-autoresize/releases/tag/0.6.0 🎉
Thanks for this!


Set Aggregate Part ID on first event

Previously, an ID was never set to the UserMembershipPart state.
The tests did not indicate the issue because of the pre-built entity state, which was used to test command handling.

@armiol, PTAL.

This is a clear evidence of the pre-built state approach inadequacy. I'm convinced now.
@alexander-yevsyukov, FYI.


decode: prometheus: do not report error on unsupported type

Signed-off-by: Eduardo Silva<EMAIL_ADDRESS>

@edsiper this can be closed now that #69 was merged (it added the skip_unsupported_type option)

thanks


Drop dry-* dependencies

Complete rewrite of #129 using RecursiveOpenStruct only.
Closes #129
Closes #112
Closes #123 (comparable is actually used)
Closes #146  (included)
Removes the dry-struct/dry-types dependencies to ease usage in projects that use them themselves.
WIP: Yardocs and readme still need to be updated and don't need to be reviewed at this time (until this WIP-note is removed)

Argh. Need to support Ruby 2.4. Add that to wip list.


Rebase on Centos8, use Spectrum Scale <IP_ADDRESS> Developer Edition and a…

…dd CES/Object and KVM/Libvirt support.
This major update introduces support for vagrant-libvirt so that one can use the native Linux KVM virtualization
instead of Virtualbox on Linux machines, like tested on Fedora 33.
Support for Spectrum Scale Developer Edition is also added as it is available as free download. With that we are
also introducing the <IP_ADDRESS> version that comes with the new Ansible-based installer.
In order to be able to explore the new Spectrum Scale Object stack as introduced with Spectrum Scale <IP_ADDRESS>, we
needed to re-base the project on Centos 8.
Finally the requirements for RAM have been increased, the disk and filesystem configuration has been changed and
an additional network got added so that we can enable Cluster Export Services and untimately install Spectrum Scale
Object as additional functionality.
The included Spectrum Scale Object functionality includes support for the S3 protocol. A brief configuration demo
showing how to set up S3 credentials is also added.

Hello @hseipp,
Thanks for the updated pull request!
One minor suggestion, could you please change in aws documentation,
-rw-rw-r--. 1 centos centos<PHONE_NUMBER> Feb 14 13:20 Spectrum_Scale_Data_Management-<IP_ADDRESS>-x86_64-Linux-install

to Developer edition? Since it is not touched I cannot reference (or suggest change) in the pull request.
Another suggestion, I see that you changed installers to use Centos 8, could you please also update AWS marketplace link from Centos 7 to Centos 8?
I am going to follow AWS guide, I will keep you updated if I have more questions or suggestions.

Hello Muhammet,
thank you very much for the valuable feedback!
To be honest, my focus for the above changes have been the VirtualBox and libvirt providers. My idea was to exempt the AWS provider from the latest changes, and I'm not even sure if CES/Object will be working on AWS.  I am also struggling to get vagrant-aws working on my Fedora 33 machine due to dependency issues. However, as you seem to be looking for the AWS variant, I am going to have a look if I can get that working.

Hello @hseipp,
Yes, that is fine. Thanks!
I was able to create AMI image. But now blocked with this issues #16 while provisioning single node Spectrum Scale.
I would appreciate help there since I do not know what much about it.

@hseipp thank you for the PR and @morazow thank you for all the review comments. Much appreciated.
I am going to accept this PR to get support for KVM/libvirt and object added.
We can do another PR on AWS.


Remove subu.w and regularize addu.w

See email thread: https://lists.riscv.org/g/tech-bitmanip/topic/addu_w_subu_w_definition/74807965

This is towards fixing #83.
I will apply this as soon as I'll find the time to also make the following changes that should be applied synchronously to this change:

Update the formal model of addu.w, update formal proofs
Update Verilog reference implementations and test vectors
Update bitmanip branches of riscv-binutils, riscv-isa-sim, riscv-opcodes
Check if any changes to riscv-gcc are needed and also update that if necessary


Fix dweets

wrong data reporting to dweet.io
https://freeboard.io/board/4fvzE6

Looks like Dweet only holds the last 500 dweets for 24 hours.  I'm working
on holding our login counter state in a yaml file.


implement generating calldata for liquidity management (mint/burn)

this should support adding/removing with eth, permit, etc.

done!


coprocessor/dag/expr: add some un-pushed builtin UDFs(LTrim, RTrim)

What have you changed? (mandatory)
implement builtin function: LTrim, RTrim  in coprocessor.
This is for #3275
What are the type of the changes? (mandatory)
Improvement
How has this PR been tested? (mandatory)
unittest
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
Does this PR affect tidb-ansible update? (mandatory)
Refer to a related PR or issue link (optional)
#3275
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

TiDB deals with \r\n\t differently with MySQL on LTrim, RTrim and Trim.  I've fix this in tidb:#7291

Seems you need run make format before commit

Thanks a lot!

rest LGTM. Thanks a lot. :)

@hicqu PTAL :)

LGTM.

/run-unit-test

/run-unit-test

/run-unit-test

/run-unit-test

/run-unit-test

/run-unit-test

the calculation logic LGTM.

/run-unit-test

@spongedu Please resolve conflicts.

@huachaohuang conflicts resolved. PTAL :)

/run-unit-test


Removing the need for a separate requirements txt

Fixes an issue where lemur.readthedocs.io wasn't rendering correctly due to out of date dependencies.

Coverage remained the same at 60.871% when pulling c6c02c9af9d7df95f6beb84fe0b5422f0bcd8797 on kevgliss:doc-requirements into 78f9ceb9952a6ec2b2fe6ae4a1697fc91fc139d9 on Netflix:master.


[Bug Report]: Minor bug in key vault's diagnostic settings name

Describe the bug
The diagnostic settings name in the key vault module (git tag v0.5.0) is:
 '${name_var}-diagnosticSettingName'.

The intention was obviously:
'${name_var}-${diagnosticSettingsName}'

There is also a now unused variable "diagnosticSettingsName", which would make sense if it was used in the name.
To reproduce
Create a key vault with the v0.5.0 version of the module.
Code snippet
(omitted, just the plain vanilla usage of the module)

Relevant log output
C:\...\ResourceModules\arm\Microsoft.KeyVault\vaults\deploy.bicep(124,7) : Warning no-unused-params: Parameter "diagnosticSettingsName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]

I believe this was already fixed in the latest version? or do you still see this issue in the latest version of the file.

I was fixed in that the variable is now used. However, the solution isn't ideal as @khaliddermoumi correctly pointed out it should reference ${name_var} in the diagnostic settings name. The problem is, this value is a variable and not available for a default value of a parameter.
Anyhow, this issue may resolve itself following #1443 .

See #1443 - depends on that issue.


Incorrect dependency declaration

DimThread require fabric-game-rule-api-v1 for gamerule registering. However, it doesn't declare dependency on fabric-game-rule-api-v1 or fabric.

It declares a dep on the fabric api, of which the game rule api is a subset.

It declares a dep on the fabric api, of which the game rule api is a subset.

See your fabric.mod.json.
It declared deps on fabricloader and minecraft but not fabric (the modid of fabric-api).


How to Prevent Windows Defender from Scanning During Builds ???

This is not exactly an issue as in a problem with GO however it would be great if anyone could tell me what Exclusions to add to Windows Defender to prevent it scanning every single build. I am sure it is adding on hours to my life, with countless unnecessary seconds being added every time I type in go build.
I have tried excluding
c:\go\
c:\go\bin\go.exe
projects\ (folder for all my projects)
However this has not worked as Windows Defender is still scanning every single file created when I build.
What other folders/files must I add to the Exclusions list for it not to scan when I build?
What version of Go are you using (go version)?

$ go version 1.15.6

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\nicholasimon\AppData\Local\go-build
set GOENV=C:\Users\nicholasimon\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\nicholasimon\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\nicholasimon\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\NICHOL~1\AppData\Local\Temp\go-build685456542=/tmp/go-build -gno-record-gcc-switches

What did you do?
Type in go build -i
What did you expect to see?
Works fine, but too slow as Windows Defender scans every build
What did you see instead?

set win difenderto exclude this directory
$GOPATH
$GOCACHE
$GOMODCACHE
$GOROOT

Sorry, but we only use the github issue tracker for bugs in Go. Even questions about Go are offtopic, so generic questions about Windows or nosy Windows programs are offtopic too.
Please see the Questions wiki page; it has a list of good places for asking questions about Go (not sure on the other hand what's a good place to ask questions about your Windows Antivirus).
Closing here, since this is not a bug.


feat: add fullgraph argument for torch compile

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes #281. As this is a fairly old issue, I am not sure if this is needed. Also, I am not sure how to add a test case for this.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

I could, however, I don't think that will allow us to check if fullgraph has been modified. What do you think? Is there a way to check which parameter has been passed to torch.compile that I am not aware of?

Right, I had hoped we could get it from the compiler config or so, but apparently it is None...
import torch, thunder

def fn(a):
     return a * 2 + 1
jfn = thunder.jit(fn, executors=[thunder.executors.torch_compile.torch_compile_ex])
jfn(torch.randn(2, 2))

lt = thunder.last_traces(jfn)[-1]
tc = lt.python_ctx()['TorchCompile0']
cc = tc.__closure__[0].cell_contents.get_compiler_config()
``

So let's keep it as is.

I think a simple way to test fullgraph=True would be to create a graph with graph break. So, compiling this should throw an exception, which we can verify with pytest.raises.
import torch

def foo():
    print("This will lead to graph break")

torch.compile(foo, fullgraph=True)()  # This will throw `torch._dynamo.exc.Unsupported`

@kshitij12345 Hey! Thanks for the suggestion. I did try this but I don't think it'll will throw an error within thunder:
import torch
import thunder

def foo():
    print("This will lead to graph break")

torch.compile(foo, fullgraph=True)()  # This will throw `torch._dynamo.exc.Unsupported`
jfn = thunder.jit(foo, executors=[torch_compile_ex], torch_compile_fullgraph=True, torch_compile_backend="reduce-overhead")
jfn()# this will not throw an error

Which makes it difficult to see what parameter has been passed to torch.compile.. Do you have a different suggestion?

Which makes it difficult to see what parameter has been passed to torch.compile.. Do you have a different suggestion?

You are right, I forgot that the torch.compile is called on the trace from thunder, so it will receive only the parts it claims allowing it to compile the full graph it receives.
Thanks for looking trying this!


Audio Classification

Pull Request for ML-Crate 💡
Issue Title: Audio Classification

Info about the related issue (Aim of the project) : The aim of this project is develop a machine learning model to classify audio recordings into predefined categories and analyze the audio features and model performance.

Name: Keshav

Email ID for further communication<EMAIL_ADDRESS>

GitHub ID: https://github.com/keshav1441

Idenitfy yourself: SSOC'24 contributor

I have developed a machine learning model for audio classification using a diverse set of features extracted from audio files. The model accurately categorizes audio samples into predefined classes, leveraging techniques like MFCCs, chroma features, and mel spectrograms for robust classification.
Closes: #463
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
I have enhanced the model by incorporating advanced feature extraction techniques such as MFCCs, chroma features, and mel spectrograms to capture intricate audio characteristics. Additionally, I implemented a thorough hyperparameter tuning process and explored multiple machine learning algorithms to optimize classification accuracy.
What sort of change have you made:

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

What's the issue number?
@keshav1441

I hadn't get any response . Is there any issue?
On Sat, 15 Jun 2024 at 11:58, Abhishek Sharma @.***>
wrote:

What's the issue number?
@keshav1441 https://github.com/keshav1441
—
Reply to this email directly, view it on GitHub
https://github.com/abhisheks008/ML-Crate/pull/656#issuecomment-2169158300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BENRHXNVAPJ4EPIHSWEREFTZHPNKLAVCNFSM6AAAAABJK5MYOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZGE2TQMZQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I hadn't get any response . Is there any issue?
…
On Sat, 15 Jun 2024 at 11:58, Abhishek Sharma @.> wrote: What's the issue number? @keshav1441 https://github.com/keshav1441 — Reply to this email directly, view it on GitHub <#656 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BENRHXNVAPJ4EPIHSWEREFTZHPNKLAVCNFSM6AAAAABJK5MYOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZGE2TQMZQGA . You are receiving this because you were mentioned.Message ID: @.>

I asked you to share the issue number you are contributing for this pull request.


Prepare release notes for 1.2.3

Once the release is done, and the website updated, then the names of the libraries should link to the corresponding docs.

@nomisRev I've updated the release notes. This version is complete 🔥 !

Did 1.2.2 occur at all? I only see 1.2.3 in these release notes...

Did 1.2.2 occur at all? I only see 1.2.3 in these release notes...

? Not sure what you mean

Sorry, it was intended to be a joke, as if somebody passed by and suddenly saw my commit changing from 1.2.2 to 1.2.3


Fix typo in readme

I ended up already fixing this typo along with some other changes myself before I saw this MR (Github however says this can be merged anyways, so might as well do that).


[DO NOT MERGE] SEO update for how-to-roll-out-teams

Updated description to add keywords, added keywords to H2 headings, replaced some instances of "rollout" with "implementation" per the recommendations.

@DaniHalfin

Assigned to myself - no need to review.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@DaniHalfin Hi! Is this PR going to be closed? Thanks!


Add the concept of scope which contains claims

For more information read the documentation at this URL : http://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
The Claims requested by the profile, email, address, and phone scope values are returned from the UserInfo Endpoint, as described in Section 5.3.2, when a response_type value is used that results in an Access Token being issued. However, when no Access Token is issued (which is the case for the response_type value id_token), the resulting Claims are returned in the ID Token.

Development is finished
TODO : write some UT


fix date

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10164
closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10176
closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10165

@JoanneHendrickson can you please review? Thanks

@JoanneHendrickson
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


can't use relative path

Type: Bug
vscode version 1.73.0
using extension
isort  v2022.4.0
Japanese Language Pack for Visual Studio Code  v1.73.11021003
Pylance  v2022.11.10
Python  v2022.18.1
code↓
import tkinter
import os
test = True
test = os.path.isfile("illust.png")
print(test)
root = tkinter.Tk()
root.minsize(400,400)
canvas = tkinter.Canvas(bg= "Black", width = 400, height = 400)
canvas.place(x=0,y=0)
img = tkinter.PhotoImage(file = "illust.png")
canvas.create_image(320,240,image = img)
root.mainloop()

(report.py and illust.png are on the same level.)
it expect display True and make tkinter's GUI with an image.
actual result↓
PS C:\Users\(my name)> & C:/Users/(my name)/AppData/Local/Microsoft/WindowsApps/python3.10.exe c:/Users/(my name)/OneDrive/
desktop/python/report.py
False
Traceback (most recent call last):
  File "c:\Users\(my name)\OneDrive\
desktop\python\report.py", line 10, in <module>
    img = tkinter.PhotoImage(file = "illust.png")
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\tkinter\__init__.py", line 4103, in __init__
    Image.__init__(self, 'photo', name, cnf, master, **kw)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\tkinter\__init__.py", line 4048, in __init__
    self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't open "illust.png": no such file or directory

The actually result is False and "no such file or directory".
Curious thing is that this works properly in debug mode.
Extension version: 2022.18.1
VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.65GB (1.21GB free)

Process Argv
--crash-reporter-id 76f34898-8648-475c-845d-bec4308cd5a9

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vsccc:30566497
pyindex848cf:30577861
nodejswelcome1cf:30587006
fc301958:30595537
3biah626:30602489
3d0df643:30604793
dbltrim-noruby:30604474

↑It is a result that using debug mode. It is success to use relative path.

@apythonbigginer This depends on what your working directory is. When debugging the debug starts this in your workspace directory. but when you are running normally it depends on what your terminal working directory is.

If you want to use relative path here is how you can do it (assuming illust.png and report.py are in the same directory):
import os
import pathlib

illust_path= os.fspath(pathlib.Path(__file__).parent / 'illust.png')

That will work no matter what the CWD is. Since, the path to illust.png is calculated relative to the report.py. the __file__ is a python variable that points to the absolute path of the file you are using it in.

I tested to add　print(os.getcwd()) after import os. Running normaly result is this↓

Nothing is printed.
This is debug pattern ↓

It print "C:\Users\ (my name) \OneDrive\desktop\python"
Do It means  My Pc not installed terminal working directory ?

Using the absolute path way is working . thank you!

os.getcwd() changes based on where you launch you script.
if you go to:
PS C:\users> python  then your cwd will be "C:\users"
Above your CWD is:

Anyway, use the method in the comment here: https://github.com/microsoft/vscode-python/issues/20167#issuecomment-1306107992
Note that this is the python extension for VS Code.  the problems you are having are with learning python,  for this you should try asking questions on Stack Overflow, Reddit, ...