will MIMIC-IT Eggs provide frames for Ego4d?

hi to the team, thanks for open-sourcing MIMIC-IT!
when i was inspecting MIMIC-IT Eggs, i noticed there is no Egg(that is, pre-extracted frames) for Ego4D instructions. Ego4D is a rather huge dataset that may takes 7 terabytes of storage and several days to download. so i'm wondering

will MIMIC-IT Eggs provide Egg for EgoD instructions?
if not, does the frames are extracted in one-frame-per-second? (i may manually extract from a subset of Ego4D)

thanks for your kind help!

I think we have provided the E4D_instructions.json in our released onedrive folder.
As for the E4D.json, it's around 300GB+ so we dont have a good way to release it with Onedrive. We may release it on HF later.

does the frames are extracted in one-frame-per-second?
Yes it's extracted with 1FPS from E4D videos.

If you downloaded the E4D dataset from the official release. You may see similar structures
ego4d_data/v2/full_scale/
Inside the folder there are plenty of videos. We extract them by 1FPS to store them with a key-value pair in a E4D.json.
The key is E4D_IMG_{video_name}_{frame_number}, for example E4D_IMG_01111831-9107-43c4-bf0e-6b26e9b32a2b_00000000. The value is corresponding encoded base64 format image.

@pufanyi Fanyi has already made it clearer in https://github.com/Luodian/Otter/blob/6109be305f275e3aa3f1098b4078ab0d7e095aac/mimic-it/convert-it/datasets/fpv.py#L12

thanks for quick responding, looking forward to E4D.json if you may!


Is it possible to install a package located in a git repository?

Hi, just like this ability in poetry does flit have an option for installing git repos?
https://github.com/python-poetry/poetry/issues/835
Something like "ssh://git@private.instance.url:12345/organization/mypackage.git" added to the pyproject.toml

Ah, duplicate question here https://github.com/pypa/flit/issues/543

Closing as a duplicate of #543.

Yeah, the blog post linked there describes the difference between abstract and concrete dependencies.
The way I’d solve it is to set up a “Python simple API” server like this: https://pypicloud.readthedocs.io/en/latest/
Then you can

upload packages to it: set up your CI to publish packages there (or publish them manually). You can use the classifier Private :: Do Not Upload to prevent accidentally uploading packages to pypi.org instead of your server
There’s more low tech alternatives, like PλPI or just this in CI, combined with some basic auth proxy:
python -m- build
piprepo sync ./dist "s3://${bucket}/${bucket_path}"
aws ecs update-service --cluster "${cluster_name}" --service "${service_name}" --force-new-deployment

install packages from it or depend on it
export<EMAIL_ADDRESS>pip install mypackage # (or some package depending on it)

Here’s some more in depth stuff: https://medium.com/jobteaser-dev-team/python-packaging-how-do-we-manage-it-at-jobteaser-2bc8d1e9d206

All this is a bit more complex than just adding a git URL, but will allow you to actually do dependency management. Very worth it.

Awesome, thanks so much Phil! Hope you're well :)

I am, I hope you too!


update curves to shorter more sane option.

What about CC_, CF, and CV_?
Reasoning is that the fact that these things are Curves are more important than what type of curve they are. They are also defined as CurveColor, CurveFloat, CurveVector.
Downside, is flipped from 'normal speak'.

Actually the more I think about this the more I realize you don't typically find the assets you want faster by naming their type in the filename. So I typically l don't search for Curve* because variables create dropdowns that filter by those assets.

Aye, the asset naming conventions I've built are less for searching by name but more for sorting, engineering, and cases where there aren't asset filters. This is one of the reasons why it doesn't make sense to have a 'Meshes' folder because there's a literal 'static meshes' button. Prefixes and Suffixes are also so you can have a set of assets 'named the same'. I.e S_Rock, M_Rock, T_Rock because you can't have 3 assets named 'Rock' on disk. (There are actually ways around this but you shouldn't do that.) With prefixes/suffixes, if you search for "Rock", all of its assets will always be in the same reliable order as well, provided there are no content filters active.
I originally chose Curve_ because when reading the asset name in a log or something, I've never associated C*_ with Curve, but thats probably because I don't work with curves that often. Also, generated BP classes have the suffix "_C" (this happens behind the scenes, automatically) so I'm hesitant about using "C" to begin with.
In any case, C*_ would result in shorter asset names which I'm all about.

"...S_Rock, M_Rock, T_Rock because you can't have 3 assets named 'Rock' on disk." Is that really true? I mean, I can literally have the same asset and name if I just have it in a new folder. I wonder if that's the "workaround" you were mentioning. Otherwise yes, you can't have the same name (doesn't matter what type) in the same folder.

The act of putting it in a different folder by definition changes its name on disk. I suppose I should have been more verbose and said its path as an asset 'name' is often times its full path in many cases. For example, to load an asset string reference you would load asset with name /Game/GenericShooter/Addons/MainMenu/Core/Modals/BP_ModalDisplay.BP_ModalDisplay.
/Game/ is a 'virtual folder' that simply points to your project's content. The workaround I mentioned is to  take advantage that UE4 still uses an asset package system (thus the 'duplicate name' reference at the end' and to have assets either stacked in a package i.e. Rock.Texture and Rock.Mesh which would both be saved in the file /Path/Rock.uasset on disk or to manipulate it so you have two packages named M_Rock and T_Rock but their respective assets are simply named Rock; both of which are highly difficult to do casually.

What about CC_, CF, and CV_?

To respond to this directly. I feel this directly contradicts what you said
later on of:

so I'm hesitant about using "C" to begin with.

Additionally by putting F[C]/V[C] first then you get around that.
Additionally I would be afraid to use "C" just because something already
has a _C.
Personally I like F/V first because its the direct type you will be working
with. If the class was a template class then I would call it a Curve of
Floats just like I would say an Array of Floats or such.
Thus I think Curve first is a mistake. It's a FloatCurve not Curve.
On Mon, Sep 25, 2017 at 3:55 PM, Michael Allar<EMAIL_ADDRESS>wrote:

The act of putting it in a different folder by definition changes its name
on disk. I suppose I should have been more verbose and said its path as an
asset 'name' is often times its full path in many cases. For example, to
load an asset string reference you would load asset with name
/Game/GenericShooter/Addons/MainMenu/Core/Modals/BP_
ModalDisplay.BP_ModalDisplay.
/Game/ is a 'virtual folder' that simply points to your project's content.
The workaround I mentioned is to take advantage that UE4 still uses an
asset package system (thus the 'duplicate name' reference at the end' and
to have assets either stacked in a package i.e. Rock.Texture and Rock.Mesh
which would both be saved in the file /Path/Rock.uasset on disk or to
manipulate it so you have two packages named M_Rock and T_Rock but their
respective assets are simply named Rock; both of which are highly difficult
to do casually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Allar/ue4-style-guide/pull/17#issuecomment-332036935,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZo6KMbzzhlg9WQD5ZdXu2C0xcXaBEbks5smC9IgaJpZM4PXDwD
.

Additionally by putting F[C]/V[C] first then you get around that. Additionally I would be afraid to use "C" just because something already has a _C. Personally I like F/V first because its the direct type you will be working with. If the class was a template class then I would call it a Curve of Floats just like I would say an Array of Floats or such. Thus I think Curve first is a mistake. It's a FloatCurve not Curve.

I don't agree with that. With the new C++ API, a lot of class and asset are FSomething, so to not mix up things, I think we should named curved with _Curve suffix. Or event NameCurve

I don't think that this commit suits the code style, because a prefix is always like a main category of the data (texture, materials, curves), but a suffix it's a subcategory of the main category.
and here I think need to solve another problems which we have with e.g. materials,
I would suggest:
not the PP_ but M_SomePostProcessMatName_PP
not the PM_ but M_SomePhysMatName_Ph


chatgpt bugbounty usage

Adding repo github prompts for bugbounty and pentesting to experimental list

Thank you for the fantastic contribution.

Thank you for the repository


Merge remote-tracking branch 'origin/branch-22.06' into main

Merge remote-tracking branch 'origin/branch-22.06' into main
Change version to 22.06.0
Note, merge this PR via Create a merge commit
Signed-off-by: Tim Liu<EMAIL_ADDRESS>

build

there are still a couple PRs to be merged so we will have to do this again if it gets merged

there are still a couple PRs to be merged so we will have to do this again if it gets merged

Right, I'll update this PR to pick all the v22.06.0 PRs to main after they get merged

build


Md-Paginator configurable text

Bug, feature request, or proposal:
Feature Request
What is the expected behavior?
I would like to be able to define the text in the paginator.
What is the current behavior?
Paginator text is always "Items per page"
What is the use-case or motivation for changing an existing behavior?
My client would prefer it said "Rows per page."
I'm sure other clients out there will be as anal.

The paginator receives its text values from the injected MdPaginatorIntl service. This can be extended and provided by your app to override the defaults.
@Injectable()
export class CustomPaginator extends MdPaginatorIntl {
  itemsPerPageLabel = 'Rows per page';
}

See https://plnkr.co/edit/IIwOGOQsak6QIaLmFNqz?p=preview for an example.
See also #5902 for a duplicate request


Update _beaupy.py

Added a separator to both select and select_multiple
EDIT: Did not mean to send this to the main branch

I did not mean to send this to the main branch


Update gradle to 8.6

Update Gradle to 8.6 and Get rid of Deprecations
What is done

Run ./gradlew wrapper --gradle-version=8.6 to switch to the new gradle
Run ./gradlew build --warning-mode all to check all the deprecations we have
Run Intellij code inspection to check for deprecations used within gradle-related stuff

Fixed Deprecations

Java convention sourceCompatibility should be called as java plugin configuration Read docs on gradle site
.getConvention().getPlugin() now .getExtensions().getByType() in SpringArtifactoryPlugin.java Read docs on gradle site
.getBuildDir() now .getLayout().getBuildDirectory().getAsFile().get() in SpringPublishLocalPlugin.java

Updated dependencies
Older versions use deprecated gradle features or do not support new gradle

io.github.gradle-nexus:publish-plugin from 1.1.0 to 2.0.0-rc-2
org.jfrog.buildinfo:build-info-extractor-gradle from 4.29.0 to 5.2.0
spring-javaformat-gradle-plugin from 0.0.31 to 0.0.41
io.spring.nohttp:nohttp-gradle from 0.0.10 to 0.0.11

Thanks for the PR @qeeqez ! This is now merged.


Fix params naming in GetObject

[Gdi]

Fix params naming so they fit the description.

Brought to you by the ReactOS Team

Thanks! I see this has happened in several topics, so I'll look for those too.
-John


Light: more data in errors

This uses the failure crate to annotate the errors we have with relevant data and to tackle #139.
closes https://github.com/interchainio/tendermint-rs/issues/139

[ ] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGES.md

Codecov Report

Merging #149 into master will decrease coverage by 0.09%.
The diff coverage is 41.59%.

@@            Coverage Diff            @@
##           master     #149     +/-   ##
=========================================
- Coverage   36.08%   35.99%   -0.1%
=========================================
  Files          90       91      +1
  Lines        3140     3212     +72
  Branches      490      491      +1
=========================================
+ Hits         1133     1156     +23
- Misses       1750     1796     +46
- Partials      257      260      +3

Impacted Files
Coverage Δ

tendermint-lite/src/main.rs
0% <ø> (ø)
:arrow_up:

tendermint-lite/src/store.rs
0% <0%> (ø)
:arrow_up:

tendermint-lite/src/requester.rs
0% <0%> (ø)
:arrow_up:

tendermint/src/lite_impl/signed_header.rs
77.55% <37.5%> (-6.9%)
:arrow_down:

tendermint/src/lite/types.rs
54.44% <46.66%> (+0.15%)
:arrow_up:

tendermint/src/lite/errors.rs
6.89% <6.89%> (ø)

tendermint/src/lite/verifier.rs
76.49% <66.03%> (-2.75%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9287e0...e1a7863. Read the comment docs.

This is still a draft PR but I'd appreciate some early feedback here. cc @tarcieri @ebuchman @xla @Shivani912

I'd consider failure to be "soft ecosystem deprecated". It's still maintained, but probably not the best choice for new projects. Note that e.g. tmkms used to use it and I ripped it out.
I wrote up some background on various modern replacements here:
https://github.com/iqlusioninc/abscissa/issues/144
Personally these days I use use thiserror instead of failure_derive, and have replaced failure itself with anomaly:
https://github.com/iqlusioninc/crates/tree/develop/anomaly

Thanks Tony! I'll checkout the combination of thiserror + anomaly and likely change this PR to use both then.

Thanks for the review @xla!


[upstream] DUB does globbing before preGenerateCommands

See upstream issue and related: https://github.com/dlang/dub/issues/1857
This would be so much nicer: https://github.com/bpfkorea/agora/pull/670

Upstream PR: https://github.com/dlang/dub/pull/2035
With this https://github.com/bpfkorea/agora/pull/670 can be merged

Yay


fix elasticsearch-5.x-plugin when use es6.x TransportClient error

fix elasticsearch-5.x-plugin when use es6.x TransportClient error:
class[class org.elasticsearch.client.transport.TransportClientNodesService] after method[addTransportAddresses] intercept failure
java.lang.IncompatibleClassChangeError: Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected

because the org.elasticsearch.common.transport.TransportAddress is class in es6.x

so, up es5.x plugin, make it inoperative on es6.x client

up es6.x plugin to support TransportClient

These two plugin tests should be enhanced to test your scenarios.

https://github.com/apache/skywalking/tree/master/test/plugin/scenarios/elasticsearch-5.x-scenario
https://github.com/apache/skywalking/tree/master/test/plugin/scenarios/elasticsearch-6.x-scenario

If you haven't familiar with the plugin test, read this doc, https://github.com/apache/skywalking/blob/master/docs/en/guides/Plugin-test.md. You should only need to use the ES APIs in the way used to have issue, and change the expected data file to prove it is working now.

ok

@Indifer  Have you finished the change?

Codecov Report

Merging #4517 into master will increase coverage by 0.02%.
The diff coverage is 32.63%.

@@            Coverage Diff             @@
##           master    #4517      +/-   ##
==========================================
+ Coverage   25.56%   25.58%   +0.02%
==========================================
  Files        1244     1251       +7
  Lines       28951    29141     +190
  Branches     3968     4005      +37
==========================================
+ Hits         7400     7455      +55
- Misses      20867    20991     +124
- Partials      684      695      +11

Impacted Files
Coverage Δ

.../apache/skywalking/apm/agent/core/conf/Config.java
67.85% <0%> (-1.24%)
:arrow_down:

...ceptor/TransportClientNodesServiceInterceptor.java
0% <0%> (ø)

...n/elasticsearch/v6/TransportClientEnhanceInfo.java
0% <0%> (ø)

...plugin/elasticsearch/v6/interceptor/Constants.java
100% <100%> (ø)

...v6/interceptor/TransportServiceConInterceptor.java
100% <100%> (ø)

...plugin/elasticsearch/v6/TransportAddressCache.java
15% <15%> (ø)

...dapterActionFutureActionGetMethodsInterceptor.java
33.82% <33.82%> (ø)

...sportActionNodeProxyExecuteMethodsInterceptor.java
38.33% <38.33%> (ø)

...walking/oap/server/core/analysis/Downsampling.java
0% <0%> (-100%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61f98c8...03bb721. Read the comment docs.

@Indifer We are still waiting for your update.

@wu-sheng

These two plugin tests should be enhanced to test your scenarios.

https://github.com/apache/skywalking/tree/master/test/plugin/scenarios/elasticsearch-5.x-scenario
https://github.com/apache/skywalking/tree/master/test/plugin/scenarios/elasticsearch-6.x-scenario

If you haven't familiar with the plugin test, read this doc, https://github.com/apache/skywalking/blob/master/docs/en/guides/Plugin-test.md. You should only need to use the ES APIs in the way used to have issue, and change the expected data file to prove it is working now.

i have updated

Wrong operation

@aderm Please recheck this PR.

@aderm I have updated

LGTM

@aderm Please approve directly.

Done


Fix: vela top cannot set theme

Description of your changes

Fixes https://github.com/kubevela/kubevela/issues/5744
I have:

[x] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

run vela top to switch theme.
Special notes for your reviewer

~/.vela/theme doesn't have executable permission.

Please sign your commit to fix the DCO. Thanks!


Improve disabled option to input_field

Allows individual options to be disabled instead of just the whole
select.
Fixes #1365.

Is it possible that with this change disabled: false is not passed down to the Tag as an option?
I have this field:
f.input_field :group, as: :hidden, disabled: false

Before, I could see the key in ActionView::Helpers::Tags::Base (see https://github.com/Stellenticket/strong_form/blob/c91f51e50083c2a95088f59ea533fef4bd2fe1fe/lib/strong_form/tag.rb#L19)
Now the key is not present anymore. Can it be that false values are filtered out now and not passed down?

to be more precise: this only happens with disabled: false. With disabled: true it can be seen there (though with disabled: 'abc' it is not there, either 😕)

@doits Would you mind opening a new issue for this? It's hard for us to keep track of comments in closed issues and pull requests.

@tegon sure will do so. Will need to find a simple test case to reproduce before, though.

done with #1623


Implement Send for most of the types

This way it's possible to move the execution off a main thread.
Closes #15.

I targeted the main branch. If it should go into the develop branch, let me know and I'll redo this PR.

I've opened https://github.com/kenba/opencl3/pull/17 which removes Send from ExecuteKernel, Pipe and Program.
I disagree and still believe that Send should be implemented where technically possible as it's about safety guarantees and not about how people should use a certain API. Though I respect your decision @kenba and I'm happy that we were able to find agreement on the types that I need for my code, so that I don't have to implement Send manually.


Fixing the TLS bug for using public certs

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>porting https://github.com/knative-sandbox/eventing-kafka/pull/378  to our fork

/lgtm
/approve


Schedule breakdowns

As part of this, we need to consider if when SMB Explorer introduces single season exports for previous seasons, if the schedule is not part of those (depends on if that data is purged after the season or not)

https://github.com/tbrittain/SMB3Explorer/issues/165 has been resolved

https://scottplot.net/cookbook/4.1/category/plottable-scatter-plot/#step-plot
Use a step plot on the team season detail page that shows the W/L over time. Should be color coded by the team color #30 when that is complete


examples: adding support for .env in examples

@mfreeman451 can you get this rebased/de-conflicted? don't want it to languish.

Closing this given the age and conflicts.


ocpp compliancy

Hello,
I am implementing this library on a charging station we are making. I have never worked with ocpp before and i want to know, if you want to be officialy OCPP compliant, do you need to have EVERY OCPP response/request implemented or is it enough to just have the commands that the station will use actualy be able to use?
For example, do you need to implement the UpdateFirmwareRequest.json/UpdateFirmwareResponse.json  if your station for exaple didnt support this feature?

What do you mean with "officially OCPP compliant"? I assume you refer the OCPP 1.6 and OCPP 2.0.1 certification programs of the Open Charge Alliance (OCA).
To get compliant, you've to implement their requirements. This library doesn't handle any OCPP message itself. You've to provide an implementation for all messages.

Yes, this is what i am refering to. Specificly the 2.0.1 certification.
I am awere that this library only provides the format structure for comunication and doesnt actualy have any softwere control on its own.
But my question was, if it is required to have a response for all the possible requests that a central system could send.
And also if that is the case, Is it enough to just send back an emptie response that doesnt actualy do anything on the charging system?

Yes, this is what i am refering to. Specificly the 2.0.1 certification. I am awere that this library only provides the format structure for comunication and doesnt actualy have any softwere control on its own. But my question was, if it is required to have a response for all the possible requests that a central system could send. And also if that is the case, Is it enough to just send back an emptie response that doesnt actualy do anything on the charging system?

https://www.openchargealliance.org/certification/ocpp-16-certification/
In this link you can see the specifications for the devices you may build and certify. There is more detailed information in the documentation, they explain what are the messages that you are obligated to implement for each device and for each kind of certification. Good luck!

The OCA certification path specifically for 2.0.1 is at - https://www.openchargealliance.org/certification/ocpp-201-certification/


Question about using DSA without SVM

For some reason, we would like to use DSA while disabling the SVM feature. Is it possible to achieve this with DML, for example, by taking physical addresses as inputs?

Library Limitations
Library does not work with Dedicated WQs for the accelerator, but uses shared ones only.

I noticed this is mentioned in Library Limitations, and the shared WQ has to work with SVM feature, meaning that it's not feasible to use DML without SVM.
However, is there any plan to support Dedicated WQs in the future?

Hi @b3ng1998, there are no plans currently to support DWQ.


No constructor argument name auto completion for AWS cdk classes

Environment data

Pylance version: v2024.8.1
OS and version: Windows 11 (tried both in Windows and WSL)
Python version: Python 3.12.5

Code Snippet
Install aws-cdk-lib==2.154.1 in a virtual environment and select the environment in VSCode.
from aws_cdk import (
    Stack,
    aws_lambda,
)
from constructs import Construct

class TestStack(Stack):

    def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
        super().__init__(scope, construct_id, **kwargs)

        aws_lambda.Function(
            self,
            "TestLambda",
            runtime=aws_lambda.Runtime.PYTHON_3_12,
            handler="index.handler",
            code=aws_lambda.Code.from_inline("def handler(_, _):\n  pass\n"),
        )

Expected behavior
With Pycharm or Jedi python language server in VSCode I get autocompletion for Function constructor arguments:

Actual behavior
With Pylance in VSCode I don't get suggestions for arguments, only "kwargs":

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

This might be a dupe of https://github.com/microsoft/pylance-release/issues/6286.

DO NOT DOWNLOAD ANYTHING I HAVE POSTED AS A COMMENT MY ACCOUNT WAS COMPROMISED AND BEING USED TO COMPROMISE OTHERS
I AM WORKING ON DELETING AND POSTING THIS ON ALL THREADS IN WHICH THEY USED MY ACCOUNT TO POST THIS

Verified this doesn't repro in 2024.7.1, should be a regression.


Go datastore: WithGrpcDialOptions are not applied when dialing emulator

For example if you make a call like this:
datastore.NewClient(ctx, "my-project",
  option.WithGRPCDialOption(grpc.WithUnaryInterceptor(myInterceptor))

That works when running on real GCE, but if you run it with DATASTORE_EMULATOR_HOST set, this line is invoked, which ignores any dial options that you passed:
conn, err := grpc.Dial(addr, grpc.WithInsecure())

Which dial options did you want to use?

In my specific case, grpc.WithUnaryInterceptor  (specifically because I want to track our datastore usage and, afaik, Go doesn't provide API hooks like python: http://blog.notdot.net/2010/04/Pre--and-post--put-hooks-for-Datastore-models)

This should have been fixed by 0533e22fa71728e9e042e858c2e2d49d14bae0e8.


The sample to use system identity to grant access policy for the API Management instance from Azure Key Vault is not working

The sample in this section (https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity#use-ssl-tls-certificate-from-azure-key-vault) fails with error: Microsoft.ManagedIdentity/Identities Not found

When I did test, I removed resource "apimWithKeyVault" to keep it simpler. So what I tested are step 1 and 2 as below. Please  help fix the error accordingly.
=============content copied from document =============================
The following example shows an Azure Resource Manager template that contains the following steps:

Create an API Management instance with a managed identity.
Update the access policies of an Azure Key Vault instance and allow the API Management instance to obtain secrets from it.
Update the API Management instance by setting a custom domain name through a certificate from the Key Vault instance.
JSON

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "<IP_ADDRESS>",
"parameters": {
"publisherEmail": {
"type": "string",
"minLength": 1,
"metadata": {
"description": "The email address of the owner of the service"
}
},
"publisherName": {
"type": "string",
"defaultValue": "Contoso",
"minLength": 1,
"metadata": {
"description": "The name of the owner of the service"
}
},
"sku": {
"type": "string",
"allowedValues": ["Developer",
"Standard",
"Premium"],
"defaultValue": "Developer",
"metadata": {
"description": "The pricing tier of this API Management instance"
}
},
"skuCount": {
"type": "int",
"defaultValue": 1,
"metadata": {
"description": "The instance size of this API Management instance."
}
},
"keyVaultName": {
"type": "string",
"metadata": {
"description": "Name of the vault"
}
},
"proxyCustomHostname1": {
"type": "string",
"metadata": {
"description": "Gateway custom hostname."
}
},
"keyVaultIdToCertificate": {
"type": "string",
"metadata": {
"description": "Reference to the Key Vault certificate. https://contoso.vault.azure.net/secrets/contosogatewaycertificate."
}
}
},
"variables": {
"apiManagementServiceName": "[concat('apiservice', uniqueString(resourceGroup().id))]",
"apimServiceIdentityResourceId": "[concat(resourceId('Microsoft.ApiManagement/service', variables('apiManagementServiceName')),'/providers/Microsoft.ManagedIdentity/Identities/default')]"
},
"resources": [{
"apiVersion": "2021-08-01",
"name": "[variables('apiManagementServiceName')]",
"type": "Microsoft.ApiManagement/service",
"location": "[resourceGroup().location]",
"tags": {
},
"sku": {
"name": "[parameters('sku')]",
"capacity": "[parameters('skuCount')]"
},
"properties": {
"publisherEmail": "[parameters('publisherEmail')]",
"publisherName": "[parameters('publisherName')]"
},
"identity": {
"type": "systemAssigned"
}
},
{
"type": "Microsoft.KeyVault/vaults/accessPolicies",
"name": "[concat(parameters('keyVaultName'), '/add')]",
"apiVersion": "2015-06-01",
"dependsOn": [
"[resourceId('Microsoft.ApiManagement/service', variables('apiManagementServiceName'))]"
],
"properties": {
"accessPolicies": [{
"tenantId": "[reference(variables('apimServiceIdentityResourceId'), '2015-08-31-PREVIEW').tenantId]",
"objectId": "[reference(variables('apimServiceIdentityResourceId'), '2015-08-31-PREVIEW').principalId]",
"permissions": {
"secrets": ["get", "list"]
}
}]
}
},
{
"apiVersion": "2017-05-10",
"name": "apimWithKeyVault",
"type": "Microsoft.Resources/deployments",
"dependsOn": [
"[resourceId('Microsoft.ApiManagement/service', variables('apiManagementServiceName'))]"
],
"properties": {
"mode": "incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/solankisamir/arm-templates/master/basicapim.keyvault.json",
"contentVersion": "<IP_ADDRESS>"
},
"parameters": {
"publisherEmail": { "value": "[parameters('publisherEmail')]"},
"publisherName": { "value": "[parameters('publisherName')]"},
"sku": { "value": "[parameters('sku')]"},
"skuCount": { "value": "[parameters('skuCount')]"},
"proxyCustomHostname1": {"value" : "[parameters('proxyCustomHostname1')]"},
"keyVaultIdToCertificate": {"value" : "[parameters('keyVaultIdToCertificate')]"}
}
}
}]
}

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

ID: 1e6fa6cc-8307-4391-7cd9-2b6d5ccd9b7b
Version Independent ID: c78c84c8-99e6-9746-f3f2-f1f5098582a3
Content: Use managed identities in Azure API Management
Content Source: articles/api-management/api-management-howto-use-managed-service-identity.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@rachelxj-ms Thank you for your feedback! We will review and update as appropriate.

@rachelxj-ms This template will work only for the existing APIM service because as per this template it initially creates APIM instance since creating an APIM instance is a long running process APIM RP returns 202 Accepted response code with that it starts deploying Access Policies but in process of deploying a function it takes the principle id and it looks for Managed identities in APIM which will not be available as the APIM service is not completely created in turn it fails with Managed Identity not found error.
Please try deploying the template again once the APIM instance is created successfully. Let me know incase of further queries I would be happy to assist you.

@JananiRamesh-MSFT Yes, I'm aware of that.
But first step says: Create an API Management instance with a managed identity. Please add some note to it, otherwise it'll cause confusing.

@JananiRamesh-MSFT either we need deploy the template twice for new APIM instance, or we need add note and let customer know the first step must run against an existing APIM

Hi Xuejun,
Yes, that is exactly correct we need to add this note in the document
Regards,
Janani.
From: Xuejun-MSFT @.>
Sent: Saturday, June 11, 2022 6:08 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Janani R @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] The sample to use system identity to grant access policy for the API Management instance from Azure Key Vault is not working (Issue #93950)
@JananiRamesh-MSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJananiRamesh-MSFT&data=05|01|Janani.R%40microsoft.com|d6fb8cf9cc074a3ea92808da4b42a20e|72f988bf86f141af91ab2d7cd011db47|1|0|637905046852509604|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=qTcVsJXGVtGOC5jg%2BjLMrjSN68MjnSAIfZ4POYO9fKI%3D&reserved=0 either we need deploy the template twice for new APIM instance, or we need add note and let customer know the first step must run against an existing APIM

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F93950%23issuecomment-1152817345&data=05|01|Janani.R%40microsoft.com|d6fb8cf9cc074a3ea92808da4b42a20e|72f988bf86f141af91ab2d7cd011db47|1|0|637905046852509604|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vTPnCZ6jE%2FT2FGdQMoY0tLcUD%2BOBTpirpQraJ4JXq18%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAWEPS2XIPYTH5TL62QKRSKLVOPNWNANCNFSM5X6V4QDQ&data=05|01|Janani.R%40microsoft.com|d6fb8cf9cc074a3ea92808da4b42a20e|72f988bf86f141af91ab2d7cd011db47|1|0|637905046852509604|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=VrjEsRuxen%2B0mbEkho2X%2Bm7M3mbi7iuaWuT8GxLDYSQ%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Janani R would like to recall the message, "[MicrosoftDocs/azure-docs] The sample to use system identity to grant access policy for the API Management instance from Azure Key Vault is not working (Issue #93950)".

@rachelxj-ms that is exactly correct we will be adding the note in the document.


chore(*) removing specific labels and namespaces from project

This PR removes some specific labels and namespace from project

chore(readme) removing labels from examples

chore(deploy) replacing specific labels and namespace

I made the changes you requested


Wrong size when using windows terminal

Describe the bug
Apologies if this is already reported I don't remember seeing it.
When opening vim compiled for windows in windows terminal the last line doesn't show at the end of the terminal.
If instead of using vim compiled for windows I use vim that comes in git bash then vim size looks correct as seen in the screenshots.
Expected behavior
The size should be the same as when using vim that comes with git bash
Screenshots
behevior with compiled vim on windows

vim that comes with git bash

Environment (please complete the following information):

Vim windows version: 8.2.1659
Vim on bash git version:  8.2.869
OS: Windows 10
Terminal: Windows Terminal preview  1.4.2652.0

Additional context
if instead of using git vim I type wsl and them use vim that comes with wsl there is also no problem.

I don't see this with Windows Terminal 1.3.2651, current gvim 8.2.1777 windows 10 1903
A couple things to try:
you are using a preview windows terminal version. Does it happen with the stable one? Does it happen with vim --clean? Is this related to powershell or does it also happen with cmd.com?

Thank you for trying to reproduce the issue.
Maybe this is an problem with Windows terminal. I installed it through Chocolakey and I guess it installed latest version.
I did try with vim --clean -c "set ls=2" and issue is still there.
If running cmd.exe inside windows terminal (but not when running under conemu) the issue also happens.
I did see the following interesting behavior running directly with cmd.exe (not inside windows terminal):

first start cmd.exe and using windows + right arrow  make that window take half the screen.
second run vim.exe
the result is that the window slightly changes size, loses a little of vertical size and the scrollbar disappears from the right. When I quit vim scrollbar reappears again but vertical size is not restored to original. I guess this is the expected behavior.
But the interesting thing is that if I use the vim version that is installed with git this behavior doesn't happen.

interesting, I also use chocolatey and it keeps telling me my version is up to date and according to the github project, I do have the latest release. Just to make sure, can you test with a non-preview version of windows terminal?

But the interesting thing is that if I use the vim version that is installed with git this behavior doesn't happen.

No wonder the vim with Git for Windows works different from Win32 version of vim.exe, because it is an MSYS2 applicaion.

I did try with release version of windows terminal and get same issue (Version: 1.3.2651.0).
Same procedure use window + left to maximize window vertically and run vim. I used latest signed package from github.
Also the font settings I am using are:
                 "fontFace": "Lucida Console",
                "antialiasingMode": "aliased",
                "fontSize": 10,
                "fontWeight": "normal"

Finally I also downloaded latest binary from neovim just to try this and the issue doesn't happen there.

Ah I missed that Windows + left thing. Sorry for that

Am 02.10.2020 um 16:54 schrieb skeept<EMAIL_ADDRESS>
I did try with release version of windows terminal and get same issue (Version: 1.3.2651.0).
Same procedure use window + left to maximize window vertically and run vim. I used latest signed package from github.
Also the font settings I am using are:
             "fontFace": "Lucida Console",
            "antialiasingMode": "aliased",
            "fontSize": 10,
            "fontWeight": "normal"

Finally I also downloaded latest binary from neovim just to try this and the issue doesn't happen there.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ah, I have intentionally disabled the Windows snap feature. It looks like the session is not correctly reset then, because I see some visual artifacts on the powershell and cmd window, after snapping. However, it still works more or less for me:

start terminal
switch to powershell
snap to the left edge using <Windows>-<left>
vim --clean -c "set ls=2"

While it has some space below, it looks like there is not enough room for an additional line, so that is expected.
Can you check, what your &lines setting is? Does it change before and after snapping? Does it work, after manually setting the lines option to the same size that your git for windows vim binary show? There might still be a bug there, but at least for me, it does not show.

For me I do have a different behavior.
Without being snapped both regular vim and git vim have same number of lines set lines? gives 48.
Once I do the snap I get 66 for git vim and 63 for actual vim. If I set it to 66 it doesn't change, If I set it to a smaller number the number of lines goes down and if I try to set it to 66 then it comes back to 63.
Another interesting thing if I open vim and then do the snapping it works well (66 lines). However if after that I do for example set lines=65 it goes back to previous state (number of lines will be 63 and I cannot go back to 66 unless I unsnap and snap back again.

I tried the just released windows terminal preview 1.5 and compiled vim (8.2.1979) and the issue persists.

Hi all, sorry to bring this up 2 years later I am facing a very similar issue. In my case I have a vertical 23" screen and have lots of empty space at the bottom when I:

Open Powershell or Cmd through Windows Terminal
Making it full screen
Load Vim

The below picture is what I see, note where the lines end. I can recreate this issue both on my home machine and my work machine. The "--clean" parameter doesn't seem to fix it. Set lines is 87, if I try and make it any large it changes back to 87.
Any help would be greatly appreciated, thank you!

with "make it full screen" I assume you mean you use the maximize button, right?
What if instead you drag the lower window border to make it taller, does it run into some limit?
What if you make it smaller, does it still get stuck at 87 lines or does it use the correct size?
Vim has no maximum size of 87, I wonder where that number comes from.

Thanks for getting back to me Bram!
You're assume correctly! When I make it full screen I'm simply clicking the maximize button or dragging the window to the top until it snaps to the full screen. After this, I open vim.
Interestingly if I open Vim in a smaller window and then drag it down to make it longer, it dynamically adds new lines and I don't appear to find a limit.
I guess it's something to do with the size of the console it's receiving on startup?
The first part of this is me opening it full screen, the second is dragging the low window border:

I had a similar issue (might be related?). My _vimrc contained these lines (so that gVim's window is bigger at startup):
set lines=50
set columns=130

This messed with display in the Terminal on startup. Reading :help lines, it explicitly says that lines and columns should be set in _gvimrc and not _vimrc for setting the GUI size.
This fixed it for me. Make sure you don't accidentally set lines and columns in your _vimrc (or files loaded from it). This might also explain why resizing the window after Vim is running (which updates lines and columns) "fixes" the issue for some users at runtime (it did for me).
My setup:

Windows Terminal 1.15.3466.0
Windows 11 22H2 (Build 22621.1105)
Vim 8.2 and Git Bash from Git 2.39.1 (64-bit)
Vim 9.0 32-bit installed from vim.org

Garbled output of Vim 8.2 with the above columns and lines in _vimrc:

"Wrong" output of Vim 9.0 with the above columns and lines in _vimrc:

After moving setting of columns and lines to _gvimrc:

I'm also seeing a (win32 vim.exe) limit of "87" in Windows Terminal but not in cmd.exe, so I suspect Windows Terminal is mishandling GetLargestConsoleWindowSize() (in os_win32.c).
Does it make sense to ping the Windows Terminal team/repo? If anyone affected is compiling from source, can you remove the nearby lines if (Rows > coordScreen.Y) Rows = coordScreen.Y; and see if this allows more than 87 lines? If so, I'm 90% sure the Terminal team should give advice on what function to use instead.
Also, the MS documentation shows this function should be replaced with virtual terminal sequences, but I don't see one that reports the screen buffer height except maybe...
    EnableVTMode();
    HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
    CONSOLE_SCREEN_BUFFER_INFO ScreenBufferInfo;
    GetConsoleScreenBufferInfo(hOut, &ScreenBufferInfo);
    COORD Size;
    Size.Y = ScreenBufferInfo.srWindow.Bottom - ScreenBufferInfo.srWindow.Top + 1;

error checking trimmed away for brevity

@zadjii-msft Any thoughts? (This somehow reminds me of https://github.com/microsoft/terminal/issues/2815 but that's a reasonably old issue, although is there a new buffer being created with a much lower than expected history?)


missing requirements

Description
I was looking at the issue https://github.com/linuxserver/docker-papermerge/issues/42 and trying to figure out how to fix the problem and I see that the dockerfile is needing the requirements file to cover modules needed.
looking at the requirements files in this repo I don't see PikePDF or OCRmyPDF listed.
is there any reason for them to be left out?

I think there is a misunderstanding here.
My guess is that linuxserver docker image is only for Papermerge DMS 2.0.
While the above mentioned ticket: https://github.com/linuxserver/docker-papermerge/issues/42
(I guess) tries to use a feature which is in Papermerge DMS 2.1, at very least this link which is referenced in the linuxserver issue from above, describes a feature which did no exist in 2.0.
My very first question would be - does linuxserver provides image for 2.1 as well ?

that would explain the problem then. I guess it's time to find a new docker image to use then.
thanks


ycsb executor run "load" stage every time

Current ycsb executor reload dataset evey time, taking a long time to complete and could potentially causing variance in some tests.
e.g. casandra, writes causing compaction, affects read latency.

https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/pull/1108


TF Lite issue when loading a saved TF Lite model on platforms with different endianness

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): UB18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.2.1
Python version: 3.6.9
Bazel version (if compiling from source): bazel 2.0.0- (@non-git)
GCC/Compiler version (if compiling from source): gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
This issue is created for tracking purposes in respect to the discussion done in PR request #44063
@jdduke Thank you for offering to look into this issue and letting me tag you here.
The problem is that the TfLite saved models only support Little Endian format by default. When loading these model, flatbuffer is not able to handle some non-native data types like Tensor. We need some extra efforts on both the saving side and loading side to manually do the byte-swap on Big-Endian machine.
Describe the expected behavior
We should be able to address the endianness issue while keeping the saved model in Little-Endian format.

Thanks for the report! I've filed an internal tracking bug to figure out next steps, will keep you posted on progress.

Hi @jdduke, I think I just got some useful information in addressing this issue.
Based on my investigation, the issue here is not limited to serialize and deserialize tflite flatbuffer models, because I also identified this issue when using the experimental mlir_quantizier, in which case the flatbuffer model is converted into a mlir module then quantized and converted back.
I believe the major issue is related to the buffers field as defined in the schema. The Buffer data type is 1 byte long but they actually represent data of longer bytes like int or float, which may cause the data in the buffers field not to be stored in little-endian, while flatbuffer objects should always be stored in little-endian.
When the buffers field of the model is populated, it is using methods similar to memcpy, like in the old tflite toco converter here and in the new mlir converter here. As a result, the underlying data in the buffers field is in host machine native endianness rather than little-endian.
In comparison, other fields in the schema like quantization_parameters or shape are all typed values, so when populating them in the model, flatbuffer compiler will handle the endianness automatically (i.e. always store them in little endian, byteswap when needed).
The issue with the buffers field is a fundamental thing that needs to be fixed for big-endian machines to use tflite properly, but currently, it is not entirely broken because of the following reasons:

Both write and read to buffers field is using host endianness, so the issue will not emerge if the flatbuffer model is untouched - it only emerges when the flatbuffer model is exported or converted, like serialized into a .tflite file and being read on another machine, or being converted into a mlir module as I mentioned above.
I am not sure about this one but the buffers field seems only being used for constant operator tensors. It looks like those tensors are the only tensors whose values are stored in the model buffers. So the tensors whose values are calculated after model evaluation will not have this issue.

Due to the schema definition, we could not rely on any flatbuffer API changes to fix this issue. I think to fix this, we need to deal with the endianness manually whenever we try to populate the buffers field in the tflite model (like in the two converters I mentioned above) or read the buffers field of a finished model (like in InterpreterBuilder and maybe somewhere else). It looks to me that we need to do a case split for the data type every single time when buffers field is accessed, which is a bit annoying to be honest. I hope you guys could come up with something more element to deal with this issue, and please let me know if there is anything I could help, thanks.

You're right, that does leave us in a tricky situation.
For my own understanding, are you most interested in supporting the (big endian) -> (big endian) path, where both the conversion and execution take place on a big-endian machine? Or all potential permutations of little/big endian conversion and deployment?

For me, it will be best if we could settle this once and for all - i.e. make sure it is consistent across all platforms so that the entire flatbuffer models will work seamlessly across different machines and converters. So I think the second approach would be more preferred (while the first approach could be a temporary workaround for us).
My ideal solution on this would be implementing something similar to byte_swap.cc or other flatbuffer native method like EndianScalar at all the places where the buffers field is read or write (I hope there are not too many places besides the 2 converts and the ParseTensors call in interpreter_builder.cc). But I'm afraid it has to be more complicated as we will have to enumerate through the buffer vector to implement the byte-swap so we could not use those straightforward methods like memcpy anymore.

For me, it will be best if we could settle this once and for all

Agreed, my question is more toward determining next steps and ordering. There could be a few simple tweaks we could make to get big -> big working, on the way toward full generality, if that is a blocker for any specific use-cases or project you're working on. If not, then the order of work doesn't necessarily matter and we can focus on the general solution.

Sure, thanks for being so thoughtful! I think the big -> big route does not have a general blocker right now. As mentioned before, to save and load .tflite binary model on the same machine does not have any issues.
What I did notice that may require a bit of tweaks is here. In this function and some lines below we are trying to access the buffer data in little-endian format. This method is taking endianness into consideration but unfortunately, they will retrieve the wrong data on big-endian machines right now. Do you think it will be necessary if we change this code into reading host endianness as a workaround and then change it back once we fix the buffer issue?

According to this,
https://google.github.io/flatbuffers/md__internals.html
A FlatBuffer is a binary file and in-memory format consisting mostly of scalars of various sizes, all aligned to their own size. Each scalar is also always represented in little-endian format, as this corresponds to all commonly used CPUs today. FlatBuffers will also work on big-endian machines, but will be slightly slower because of additional byte-swap intrinsics.
So, it looks like we'd better use little-endian for buffers for consistency.

According to this,
https://google.github.io/flatbuffers/md__internals.html
A FlatBuffer is a binary file and in-memory format consisting mostly of scalars of various sizes, all aligned to their own size. Each scalar is also always represented in little-endian format, as this corresponds to all commonly used CPUs today. FlatBuffers will also work on big-endian machines, but will be slightly slower because of additional byte-swap intrinsics.
So, it looks like we'd better use little-endian for buffers for consistency.

Yes, that is true, and I think this is basically what we intend to achieve at last. Currently, all the other fields defined in the schema (which have types) are working properly except buffers, so it would make sense to fix buffers to use little-endian.
On the other hand, for those fields that are correctly stored in little-endian format, there do exists some places in the codebase where the access to these flatbuffer data is a bit careless, like the issue you are mentioning. It will be better to access data only using flatbuffer methods rather than the raw data pointer because flatbuffer methods will handle the endianness automatically. I am working on a PR for this particular issue and I will also keep an eye on any other similar issue related to flatbuffer endianness.

A short update:  I forgot to mention this before, that the CustomQuantization field and custom_options field may also require similar fixes as buffers field as per schema definition. I did not encounter these two fields frequently but theoretically they have the same issue as buffers field as they are also ubyte typed.

I think I also encountered similar issues when I ran the test case //tensorflow/lite/tools/optimize:quantize_model_test on BE machines.
The LSTM related tests in this test case would fail on BE platforms due to the following reasons:

LSTM related binary model files are not loaded correctly on BE machines since the tensor data is stored in LE format.
In certain quantization process, values should be copied into buffers from the tail on BE machines but actually they are not.

I made the code changes below to make this test case pass on BE machines:

Swap the buffer data once the binary model files are loaded.
Fill the buffers from the tail in two quantization related functions: SymmetricQuantizeFloatsToInt16() (in tensorflow/lite/tools/optimize/quantization_utils.cc) and PortableSymmetricQuantizeFloats() (in tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc) .

The code change would make this test case pass. However, it would cause regression on test cases like  //tensorflow/lite/kernels:lstm_test and //tensorflow/lite/kernels:svdf_test.
I believe the reason of this regression is that there are other code snippets in the execution path of these TCs which also need to be updated, so that the buffer loading (filling) behaviour on BE machines would become consistent, just as @Sidong-Wei mentioned in https://github.com/tensorflow/tensorflow/issues/45009#issuecomment-740008230.
It looks like this flatbuffer endianness issue still needs an overall solution. @jdduke @terryheo Any updates from internal tracking? Thank you very much!

Hi @karimnosseir @terryheo, I wonder is there any update here? Thank you.

Hi @jdduke @terryheo , hope all is well.
Wonder if you have any updates reg this issue? Thanks!

@terryheo @karimnosseir Wanted to follow-up on this issue - is there something we could do to assist with debugging it further?
Thanks!

Thanks @terryheo - I understand that an internal tracking bug already exists for this issue.  Presumably it is a matter of prioritizing this task. Failing any immediate contributions do you have any rough idea when will this happen?

This issue could be closed since it has been addressed by PR #58494.

Hi @skribm9
As this comment suggests, can you please confirm if this issue is addressed with the PR #58494 ?
Thanks.


version patch

patches v1.2.0 to include the logic fix for charging vs dispatch instructions in the base dispatch model

@nreinicke sorry if i got ahead of myself, i already pushed this to pypi. i'll make the release now and we can delete it if i botched anything.

I think the only other thing to do would be to bump the version on the docs too: https://github.com/NREL/hive/blob/baa0bcd971314c65aec3205e5a7be7c04691c229/docs/source/conf.py#L26
and that can happen independently from pypi uploads so we should be good on that front, thanks for doing that!


[Request] Viewless container

Hello guys,
are there any plans to introduce view-less Layouts/Nodes to YogaKit? It is a feature I would really appreciate as it could improve performance (less operations witch views and simpler hierarchy).

You should be able to use the Yoga pod and C ABI directly for this (e.g. YGNodeLayout)


on disk index

The index IRadix will take too much memory, I am going to find some approachs based on disk, like a hashtable.

Index on disk? Wouldn't random reads and writes to disk slow down access tremendously?

It depends on how we design and implement it, it may slow down the read and write performance, but it will save much memory to store more data.

Index on disk? Wouldn't random reads and writes to disk slow down access tremendously?

It depends on how we design and implement it, it may slow down the read and write performance, but it will save much memory to store more data.


Add: Serge LLaMa AI

First of all, thank you for your contribution! 😄
☑ Self Check before Merge

[x] I have tested the template using the method described in README.md thoroughly
[x] I have ensured that I put as much default values as possible (except passwords) to ensure minimum effort required for end users to get started.
[x] I have ensured that I am not using the "latest" tag as this tag is dynamically changing and might break the one-click app. Use a fixed version.
[x] I have made sure that instructions.start and instructions.end are clear and self-explanatory.
[x] Icon is added as a png file to the logos directory.

I don't know why my npm run formatter-write return no issue:
public/v4/apps/serge.yml 5ms
Any idea?

I don't know why my npm run formatter-write return no issue: public/v4/apps/serge.yml 5ms
Any idea?

Sorry you have to run npm run formatter first
Also delete those lines i mentioned above


CSS images not showing in Windows build

Describe the issue / bug.
I can see my background images fine in my dev version but when I go to create a Windows exe and run it my background images do not show. I might preface the rest of this with, this is my first electron/vue build and I am not terribly experienced with most of this.
Nothing special going on in the css:
#wrapper {
    background-image: url("/static/image/bg-image.jpg");
}

I have tried A LOT of suggestions in other forum posts but have not had any success.
The files I am dealing with are
webpack.main.config.js
webpack.renderer.config.js
webpack.web.config.js
And some possible relevant code snippets
webpack.web.config.js
{
        test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
        use: {
          loader: 'url-loader',
          query: {
            limit: 10000,
            name: 'imgs/[name].[ext]'
          }
        }
},

webpack.renderer.config.js
{
                test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
                use: {
                    loader: 'url-loader',
                    query: {
                        limit: 10000,
                        name: 'imgs/[name]--[folder].[ext]'
                    }
                }
},

Those code snippets may be way off but with my limited knowledge it's my best guess.
I have tried increasing the limit, changing the path name, adding ,
publicPath: process.env.NODE_ENV === 'production' ? '../../' : '/'
removing it completely. But nothing seems to change anything. It is the last issue holding me back from publishing.
Thanks
Development environment.

Node version: v8.11.2
NPM version: 5.6.0
vue-cli version: This project was generated with electron-vue@[7c4e3e9]
Operating System: Windows 10

I found my solution here:
https://github.com/SimulatedGREG/electron-vue/issues/463#issuecomment-360444181
ty


{Installation} Required PHP extension not found : bz2

I post a question received by email (if that can help others here).

I tried installing this software via Softaculous.  From your website, it appears it should be the latest version.  I get the following error:
Required PHP extension not found : bz2
Please advise.

Hi,
You can usually enable bz2 through cPanel -> PHP Selector | Extensions
Or just ask your web hosting company to enable bz2
More information about the software's requirements: https://ph7cms.com/doc/en/requirements


Mention environment variables in Pod concept

This is a Feature Request

What would you like to be added
In https://kubernetes.io/docs/concepts/workloads/pods/, briefly mention that you can set environment variables for containers in Pods, and link to our pages about that. No need to add an explanation; this is about helping people discover the feature.
Why is this needed
This is about helping people discover the feature.
Comments
/sig node
/language en

Relevant to https://github.com/kubernetes/website/pull/45125

Potential improvement, worth doing.
/priority backlog
/triage accepted

I would like to assist in resolving this issue. Thanks!
/assign

PRs are welcome!


This host is currently down I think. But I found an alternative.

Repo: https://github.com/xxdongs/github-trending
Example: https://trendings.herokuapp.com/repo?lang=java&since=weekly

also that is down


Missing simulator in drop-drown in Visual Studio 2022

Hello,
it seems that Simulator option from the drop-down list next to the Start Debugging button is missing, is there any plant to add it again?
Thanks in advance

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

ID: 6ccd79a7-1ce8-ecb1-765a-db03899e8158
Version Independent ID: 7b026550-e924-8969-0ff1-76cd7f4bdffc
Content: Run UWP apps in the simulator - Visual Studio (Windows)
Content Source: docs/debugger/run-windows-store-apps-in-the-simulator.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@DanieleScipioni I suspect it's been deprecated and I don't think it will be added back. I may need to remove this doc from the VS 2022 doc set. Are you using VS 2022?

@DanieleScipioni I suspect it's been deprecated and I don't think it will be added back. I may need to remove this doc from the VS 2022 doc set. Are you using VS 2022?

I started to use few days ago for an enterprise UWP app. I'm checking if all the features I need are available, and simulator is missing. Simulator is an important tool to for my daily work, it allow to inspect and test app in ways that debug on local machine does not allow (for example: focus independent, touch, rotate, screen resolution).

@DanieleScipioni OK, might be a product bug. To make sure that this is logged in the right place, please use the Report a Problem tool to report the issue. When you do this, your report becomes part of the work items that are listed in the in the Visual Studio Developer Community, which allows you to engage directly with the engineering team while they address and fix the problem.
I will close this issue here, since these issues are for doc issues. Please let me know if you find out more.

@DanieleScipioni It's not clear to me what you get, but you could try the Download Emulators link where you would normally see the Simulator.

has this been resolved? I see the article was updated in September; it is almost december and the Simulator is still not there.
Microsoft needs to do better.

@DanieleScipioni It's not clear to me what you get, but you could try the Download Emulators link where you would normally see the Simulator.

@Mikejo5000 Download Emulators link proposes only Microsoft Emulator for Windows 10 mobile. I'm referring to the simulator (a desktop application that simulates a UWP app), described in the referenced documentation page.


Budget Builder Production Build 🧱

IN This PR We present the Budget Builder Production Build 🧱 v1.0.0:
This application has undergone its development 👨💻 phase and completed successfully
Requirements

Create and Setup a Rails Application
Setup user Authentication with Devise gem.
Create a landing page/Splash screen
Create Categories model,controller and views as per requirements.
Create Deals(Transactions) model,controller and views as per requirements.
Create Unit and Integration tests for the application.
Follow these design guidelines

ACHIEVEMENTS ⛰

Create and Setup a Rails Application✅
Setup user Authentication with Devise gem.✅
Create a landing page/Splash screen✅
Create Categories model,controller and views as per requirements.✅
Create Deals(Transactions) model,controller and views as per requirements.✅
Create Unit and Integration tests for the application.✅
Follow these design guidelines ✅

Conclusion
We would love to hear 👂  from you Our CR in terms of what can be better implemented 👨💻  for the site thank you! And we look forward to hearing from you soon.  🙇

Thank you @ichala for the great review. 🙏


Soooo good project but I am in China

For some well to know result in China the reddit can not access, but I can access google and reddit in brower:

launch rtv with logging enabled rtv --log rtv.log
paste the contents of the rtv.log file here


Ovaschanges

I made changes to CSS and Logos for the platform to has Expanse Look n Feel.

Why are we removing the links in the header and replacing them?

Sorry it was an error. Please remove the pull request

On May 15, 2019, at 11:00 AM, Baby Goat<EMAIL_ADDRESS>wrote:
Why are we removing the links in the header and replacing them?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/ethereumclassic/explorer/pull/322?email_source=notifications&email_token=AG3BX4GKV4HXSGUBQB2RH63PVQ6SVA5CNFSM4HNFB242YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVPJMFA#issuecomment-492738068, or mute the thread https://github.com/notifications/unsubscribe-auth/AG3BX4C2SKZXPPH5KTLPKBTPVQ6SVANCNFSM4HNFB24Q.


fix up dollar formatting and print lines that fail on cleaning

cla bot clearly broken right now. I'm going to merge since tests pass locally


VLAZ: Watch welly.hk

VLAZ requests the watch of the watch_keyword welly\.hk. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

welly\.hk has been seen in 1 true positive, 0 false positives, and 0 NAAs.


USB 2.0 HS

This is the beginnings of HS the protocol. Will close #39.
currently only makes interval generic to allow for Microseconds when the time comes.
also fixes a few clippy warnings.

For speed configuration I am currently thinking something along the lines of
pub enum UsbSpeed {
    Usb,
    Usb2(Usb2Speed),
}

pub enum Usb2Speed {
    FullSpeed,
    HighSpeed,
}

Usb 3.0 could be possible, but I am focusing on just getting high speed for this PR.


Auto-complement is not triggered inside $$

If I type () and type something inside the parentheses it will trigger the plugin. However, this is not true for $$

Hi, @MilkshakeForReal :)
That is what I expected. What purpose do you use?

I want to use the inline math mode with auto complements of latex symbols in my custom dictionary.

Thank you for your reply, but I can't imagine because I don't use latex and its auto-completions.
Could you tell me the details?

Like this?

Basically it works because I have created a custom dictionary

Thanks!
You mean not "Auto-complement is not triggered inside $$" but "Auto-complement is not triggered just after $", aren't you?

"After $" doesn't work either

If you add a space it will work again

OK. I'll improve it.

OK. I'll improve it.

Thank you!

@MilkshakeForReal I have released to v5.7.1 🚀
Please confirm whether it works as you expected.

It is! Thank you so much!


[release-v1.0] Just do one receiver

Following up on:
https://github.com/openshift/release/pull/26136
as for just one receiver image

/assign @pierDipi

/retest

/cherry-pick release-1.2

/cherry-pick release-v1.2

/cherry-pick release-v1.1

@pierDipi this is already in 1.1:
https://github.com/openshift-knative/eventing-kafka-broker/tree/release-v1.1/openshift/ci-operator/knative-images
and 1.2:
https://github.com/openshift-knative/eventing-kafka-broker/tree/release-v1.2/openshift/ci-operator/knative-images
No need to cherry pick


Documentation needs to be updated with the 3.0 API

I found that the documentation is out of date. What I have noticed is that in version 3.0, Parser::request() does not accept the handler any more. Instead, the handler is fed at the point when Parser::parse() is called, which makes Parser::parse() accept one more argument.

You're right, this should be fixed. Thanks!


When installing with ComfyUI I get

Error occurred when executing GMFSS Fortuna VFI:
CuPy failed to load nvrtc64_112_0.dll: FileNotFoundError: Could not find module 'nvrtc64_112_0.dll' (or one of its dependencies). Try using the full path with constructor syntax.
and a lot more

Cupy requires a local installation of the CUDA runtime, not like pytorch.


first pass at adding to month indexing time series

I added a small bit to the time series data section of the user guide, detailing how to subset for a particular month from a dataset.
This solution is described in a stack overflow solution, and figured users would benefit from knowing how to do this.

[x] Passes pre-commit run --all-files

Thanks @mgrover1
I think this is clearer and potentially faster
ds.isel(time=ds.time.dt.month.isin([1]))

I noticed that this is not mentioned in the docs for indexing using isin so you could update that too if you're up for it.

I think this is clearer and potentially faster
ds.isel(time=ds.time.dt.month.isin([1]))

I noticed that this is not mentioned in the docs for indexing using isin so you could update that too if you're up for it.

I can add that example to the isin section... Within the example of looking at multiple months, the approach I included seemed more straight forward... what would subsetting for multiple months look like with using isin?

oh oops
for a single month
ds.isel(ds.time.dt.month == 1)

for multiple months
ds.isel(ds.time.dt.month.isin([1, 2, 3]))

using groupby's new getitem method
ds.groupby("time.month")[1]

I think we want to encourage the first two; since groupby does a bunch of extra work.
I think we can add an indexing subsection under "Datetime components" showing the first two and link to that from the section you just edited.

Ohh.. neat! Yeah - I can add those few lines instead.

RTD failure is in plotting.rst which is unrelated.
Thanks @mgrover1. I see this is your first contribution here. Welcome to xarray!


Improved the 404 page

Issue: Improved 404 Page (#122 )
Description:
Changed the lost.html to look a bit better!
Screenshots:

This is great! Thankyou for doing this!!
I'll merge this and then set up its own CSS file a bit later :)

I've just added the new 404 page, and it is now live! I've also just added the commit 8effe8b to update it a bit more, and give it its own stylesheet :)

Thanks for your help @frostzt !

More than happy to help! And love your repo and this game that you have made!


Publish to CocoaPods

We should get this published on cocoapods.org!
I'll need to get the right accounts configured first.

@SSheldon  I actually followed https://guides.cocoapods.org/making/making-a-cocoapod.html to publish an initial version to cocoapods already.

Ah I see. Well I'd really like all of our pods to show up as published by Yelp. Currently this will say the author is "David Chen" and won't have any affiliation with Yelp.


Adding icon and text together

Is it possible to add icon and text together

You would have to find a way to use the icon font and a text font together.  Have you tried using an AttributedString?


question link on each non-organization page

Currently this is missing one of the acceptance criteria. https://trello.com/c/6TV3wKSD/432-qset-page-question-list-new-question-button: "with the qset you came from already selected as the new question's qset"

Closing this as it looks like other devs are picking up this work, it may be redesigned somewhat, and it needs to be a clean merge anyway.


Is the naming of the library, classes and properties okay?

I'm not happy with the library name AdvancedCollectionTableView. Recommend better names.
I’m also not sure about naming of the classes: I named them the same as in UIKit just with NS prefixes (e.g. UIContentConfiguration to NSContentConfiguration) .
This isn't a library/code by Apple, so i’m not sure if it’s appropiate to name them like that.
I also used the UIKit documentation about the classes, variables and functions and simply adapted it to AppKit. Is this okay/appropiate?

What about NSUI? Hit's the nail right into the coffin, I'd say, even though it breaks the convention of up to three letter prefixes at max.

@Akazm NSUI refers to AppKit/UIKit typealias. For example:
NSUIView: NSView/UIView
How would you name the typealias?

How would you name the typealias?

I've recently ran into this when it came to NS/UIColor, simply called it 'KitColor' because it's the common suffix of both platform framework names.


Allow configuring schema property for existing collections

Although not entirely clear from this documentation: https://www.arangodb.com/docs/3.7/data-modeling-collections-collection-methods.html#properties
This page indicates it should be possible to set the schema property for existing collections: https://www.arangodb.com/docs/3.7/data-modeling-documents-schema-validation.html

Thanks for the PR @153957!


Component upgrade requires clarification

Hi guys, really like MDL, thank you! You released it only 2 days ago, but we are eager to try it out in our new project. However I'm a little bit confused with component upgrades:

Most JS application frameworks use some kind of templating to render UI, so HTML elements are dynamically added to the page. How MDL works with template engines? Does it require to individually upgrade each component as soon as a piece of markup is added to the page?
What components require upgrade? The ones that use mdl-js-* CSS classes?
If a component has multiple mdl-js-* classes do we need to upgrade the component multiple times one per class?
The home page highlights an example of upgrading the button component: componentHandler.upgradeElement(button, 'MaterialButton'). But I haven't found in the docs what names other than MaterialButton should be used to upgrade components. Is it documented anywhere?
 However I noticed some components are not properly rendered if they are not upgraded (e.g. layout component lacks the bottom border and the shadow). Is it a bug or components are not expected to be usable without a proper upgrade?

How it works with template engines... Depends on the engine and how things are setup. We didn't worry about that in development since there are way too many to worry about. I don't see why things shouldn't work in most setups as long as logic is handled in the right order.
Anything registered to the component handler needs an upgrade. mdl-js are how you can identify provided components yes, however custom components may not use the same pattern (and shouldn't use the mdl prefix!)
The component handler will handle upgrading everything if you just call it with no parameters. We do need to improve the story for upgrading a subset of the DOM, I either have this working and forgot or it still has some work to be done.
You can check all the components JS files. At the end is registration, but you can also just pull the object's name directly and use that since we follow that pattern.
Layout requires JS and therefore the upgrade. No JS works without the component handler, that is how we delegate everything internally.

@antonmoiseev, out of curiosity, which JS framework are you looking to use MDL with?
As @Garbee references, use of componentHandler.upgradeDom can work in cases.
For example; upgrading menus to work,
componentHandler.upgradeDom('MaterialMenu', 'mdl-menu');

@jh3y

Something I was working on, too lazy/busy right now to check the source, was a method for handing a NodeList or array into a function to just loop over that area and handle all upgrades. Can't remember right now if it is in the current source or if I pulled it in a time-crunch.
Once that lands (or if it already exists), then you just can pass the list in and target upgrades nicely. I thought of this exact kind of situation and was trying to prepare for it. Thankfully, it can be added in 1.x since it won't break BC at all. :smile:

Yeah the NodeList/Array approach seems most appropriate :smile:
For now, upgradeDom approach is a pretty fine work around for any application breaking states(menu not opening etc.)

If I got it right (from the source code) componentHandler.upgradeDom and componentHandler.upgradeElement do virtually the same thing, where the former accepts a css class and finds all corresponding elements and the latter accepts a specific DOM element. However, I don't quite understand when elements are registered with the componentHandler. I constantly get Unable to find a registered component for the given class..
I am trying to use the tabs element on a DOM element rendered by React by calling componentHandler.upgradeElement(domElement, 'mdl-tabs') after React renders domElement into DOM.

@yan-foto Sorry, the variable naming can be confusing at first...
componentHandler.upgradeElement(domElement, 'MaterialTabs') is what should work there. jsClass is the class as string registered with the component.

However, I don't quite understand when elements are registered with the componentHandler.

They are registered at this point. Whenever this runs is when they are added to the registry. Then things are upgraded by default on document load.

Now I understand it. So for every element which is not present upon window.load, it is required to initialize the component manually using componentHandler.upgradeElement. That makes sense! Thanks :dancer:

@yan-foto Or you could just upgradeDom without any params. It will go over everything, but it skips things already upgraded and for most sites shouldn't lead to a big perf deficit. Of course, test to be sure!

OK just for the reference If anyone else uses the method mentioned on getmdl.io to fetch their material.js from https://storage.googleapis.com/code.getmdl.io/1.0.0/material.js or even used bower (bower install material-design-lite):
calling componentHandler.upgradeElement with no second parameter (jsClass) does not work in that version and is only applicable to the code on master branch (or tag v1.0.0-rc.1) of this repository. :confused:

Um, the optional second parameter has yet to be updated on the main site as far as I can tell. Where are you seeing it exactly?
And that functionality is still under development, so yes master only at the moment. The RC.1 tag is mostly just for testing right now, we have other things that need to land before that tag is stable.

And looking at the rc.1 tag, it doesn't work in there either. That is the RC tag for version 1.0.0 itself, not 1.0.1 RC. Right now, the updated method only works from the master branch since the functionality is still experimental and shouldn't be used in production.

@Garbee I am seeing it only on the master branch of this repository. After our previous discussion, I thought it might be included in the dist. Thanks for the clarification.
So I would say for now I have to use the good ol' way of upgrading elements one by one or just use componentHandler.upgradeDom() to upgrade the whole DOM.

@Garbee shall I make a pull request and add a summary of what I have published about MDL's componentHandler here?

@Garbee thank you for the clarification.
@jh3y we are trying it out together with Angular 1, and experimenting with Angular 2. With A1 our POC example works just fine, with A2 we had issues until we discovered this componentHandler.upgrade thing.

@yan-foto Right now we have no story for that kind of content on the microsite. It is something we need to look into since I also have some content in the wiki here that needs to be improved and moved in. I'm not sure what a PR would end up doing so I'm hesitant to ask for one at the moment. We are trying to keep an eye on our top-nav links and keep the number down. Then the Getting Started doesn't seem like a good fit for such detailed content.


Review Onboarding Checklist

Current onboarding checklist:
https://github.com/uio-carpentry/organisational/blob/master/workshop_operations/onboarding-checklist.md
@naoe-tatara informed at the Regional Carpentries Monthly Meeting in August that the regional coordinator will no longer be able to help with centrally organised workshops etc.
We should review the current onboarding materials and update the information according to the new Carpentries guidelines.
Also: update according to current "smittvern" regulations at UiO/Oslo.

From 1st Nov. 2021, coordination of Centrally Organized Workshops are taken over by the workshop-admin team at the Carpentries, and Self-Organized Workshops are also assisted by them (e.g. providing access to pre-/post-workshop survey results, any Q&A etc.). Whether or not Regional Coordinator role remains in Nordic is not yet known, but if not, most likely the admin-nordic email address will no longer be used. I think it is OK to keep the relevant part for now, and we should be back to this in October.

OK. Then I will leave this part as-is for the upcoming onboarding in August.

#97 for spell-checking and readability. Needs to be updated in regards to content, though. Will do this prior to the Onboarding session on 2021-10-19. Help appreciated @ainor-star @lexnederbragt @annesbe @Teebusch @vivigirardin


mounting: Add nodev and nosuid mount options to var partitions.

Description of changes:
According to CIS Benchmark control 1.1.13, /home should be mounted
nodev. This updates how the /etc/fstab file is constructed so this
passes Amazon Inspector.
In addition to setting nodev on /home, it seems reasonable to also
apply this setting across the /var, /var/log, and /var/log/audit
mounts as it is unlikely /var would need devices, and increasingly
less likely for /var/log and /var/log/audit.
Lastly, nosuid was applied to the /home, /var/log, and
/var/log/audit mounts. It seems fairly reasonable that the two log
mounts won't need anything suid related, and fairly unlikely that
/home would need it either. It is likely this could also apply to
/var, but it is difficult to be certain.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM, thanks for the contribution!

LGTM, thanks for the contribution!


Problems Starting dotnet (First Timer)

λ dotnet new webApp -o myWebApp --no-https cd myWebApp
Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment' threw an exception.
---> System.ArgumentException: External component has thrown an exception.
at System.Globalization.CompareInfo.CompareString(ReadOnlySpan1 string1, ReadOnlySpan1 string2, CompareOptions options)
at System.Globalization.CompareInfo.Compare(String string1, String string2, CompareOptions options)
at System.Globalization.TextInfo.PopulateIsAsciiCasingSameAsInvariant()
at System.Globalization.TextInfo.ChangeCaseCommon[TConversion](String source)
at System.Globalization.TextInfo.ToLower(String str)
at System.String.ToLowerInvariant()
at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment.GetArch()
at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment..cctor()
--- End of inner exception stack trace ---
at Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment.GetRuntimeIdentifier()
at Microsoft.DotNet.Cli.MulticoreJitProfilePathCalculator.CalculateProfileRootPath()
at Microsoft.DotNet.Cli.MulticoreJitActivator.StartCliProfileOptimization()
at Microsoft.DotNet.Cli.MulticoreJitActivator.TryActivateMulticoreJit()
at Microsoft.DotNet.Cli.Program.Main(String[] args)

If I'm reading correctly, it looks like you're running dotnet new webApp -o myWebApp --no-https cd myWebApp as a single command line.  If that's the case then you just need to update it a little to dotnet new webApp -o myWebApp --no-https && cd myWebApp

I get the same exact error just trying to run "dotnet --info" from the Package Manager Console. It's a brand new Windows 10 Enterprise box with a fresh install of Visual Studio 2019 Enterprise. I can't build anything inside Visual Studio. When I try to build a fresh .NET Core MVC web application (using the UI), I get "rzc discover exited with code -2147450743"


Abide doesn't validate on blur

How can we reproduce this bug?

Step one
Add abide to a form
Step two
Add required fields
Step three
Tab through the fields

What did you expect to happen?
Validation failed errors messages displayed
What happened instead?
Nothing
This was the configurable default behavior in v5 but appears to be missing from the current docs.

To clarify the issue, Abide does validate on blur. But before doing so, it checks inputText.length. Then if an input is blank, it checks to see if it's required. Then if the input is blank and required, it does nothing.
However, an input is validated if you:

enter a valid value
blur the input
refocus the input
delete the value
blur the input

So Abide will validate a blank input if it has already been validated. Um. I'm not sure how that's working; we'll need on of the @zurb/yetinauts with more JS expertise to take a look.

In fact, Abide does validate "on change" only, so that whenever you change the previous value it works, and that's how "on change" works. Therefore, I think we need to add "on blur" event too, optionally. as it was in F5.

Maybe the liveValidate option should include "on blur"?

@abdullahsalem do you want to take a crack at this?

@kball Yes, please :)

@andycochran liveValidate feature is to run the validation while the user is typing.

Implemented in #9360


Typo in NEON-related code

https://github.com/nemequ/simde/blob/2dd21c701ec59043354be6f04931a340df94ec0f/simde/x86/sse4.1.h#L687
I think everything should be unsigned on this line.
Also, take a look at the run-tests output on the i.MX6 https://gist.github.com/yekm/80843dae40e4ca326483cf16fe53f81d (I am not sure if I compiled everything correctly)

Yeah, s/i/u/ sounds right... Does it work as expected with that change? I
won't have a chance to test for a few days...
On May 14, 2018 08:09:21 Pavel<EMAIL_ADDRESS>wrote:

https://github.com/nemequ/simde/blob/2dd21c701ec59043354be6f04931a340df94ec0f/simde/x86/sse4.1.h#L687
I think everything should be unsigned on this line.
Also, take a look at the run-tests output on the i.MX6
https://gist.github.com/yekm/80843dae40e4ca326483cf16fe53f81d (I am not
sure if I compiled everything correctly)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sent with AquaMail for Android
https://www.mobisystems.com/aqua-mail

It does not compile without that change.
Regarding that test. I forgot to set my cflags -flax-vector-conversions -fopenmp-simd -mthumb -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=neon. Not sure what flag is actually made a difference (I remember that my compiler is already configured to optimize for cortex-a9 anyway), but test is 100% successful now.

Merged #17, sorry again for the delay.


add hostname to image urls as well, fixed some tests

the hostname should be appended to image urls as well
fixed tests that expected priority and changefreq to be set to defaults, but they won’t be added because they are optional.

Okay, so I reworked this pull request a little and cleaned up all the broken tests that were expecting the default values changefreq: weekly and priority: 0.5 even if that was removed in #62 (tests weren’t updated there). I’d be happy to see this one merged.

Thanks!


Internal Compiler Error: TypeError: Converting circular structure to JSON

I have been working on a Form Recognizer CADL spec and encountered this error after updating imports.
Internal Compiler error
File issue at https://github.com/microsoft/cadl
TypeError: Converting circular structure to JSON --> starting at object with constructor 'Object' | property 'id' -> object with constructor 'Object' --- property 'parent' closes the circle at JSON.stringify (<anonymous>) at emitOpenAPIFromVersion (https://cadlplayground.z22.web.core.windows.net/libs/@cadl-lang/openapi3/index.js:324:50) at Object.emitOpenAPI (https://cadlplayground.z22.web.core.windows.net/libs/@cadl-lang/openapi3/index.js:296:19) at async Object.$onEmit [as emitter] (https://cadlplayground.z22.web.core.windows.net/libs/@cadl-lang/openapi3/index.js:139:5) at async createProgram (https://cadlplayground.z22.web.core.windows.net/libs/@cadl-lang/compiler/index.js:32003:9) at async Module.compile (https://cadlplayground.z22.web.core.windows.net/libs/@cadl-lang/compiler/index.js:32540:12) at async B (https://cadlplayground.z22.web.core.windows.net/assets/index.3c238f25.js:483:513)

Playground Link

I think I figured out what the problem was, will open again if not resolved.


[YouTube] Bogus invalid start time warnings

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
We observe
WARNING: [youtube] Invalid start time (887.0 < 0) for chapter "20200616"

triggered by
"description" : "20200616 14:47",

Indeed
$ expr 60 \* 14 + 47
887

Here the innocent YouTuber has noted the date and time he took a video,
and yt-dlp assumes he meant something else.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--update', '--verbose', '--dump-json', '--skip-download', 'https://www.youtube.com/shorts/ar2amyIdpnU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (debian*)
[debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.0-7-amd64-x86_64-with-glibc2.36 (OpenSSL 3.0.8 7 Feb 2023, glibc 2.36)
[debug] exe versions: ffmpeg 5.1.3-1 (setts), ffprobe 5.1.3-1
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[youtube] Extracting URL: https://www.youtube.com/shorts/ar2amyIdpnU
[youtube] ar2amyIdpnU: Downloading webpage
[youtube] ar2amyIdpnU: Downloading android player API JSON
WARNING: [youtube] Invalid start time (887.0 < 0) for chapter "20200616"
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] ar2amyIdpnU: Downloading 1 format(s): 135+251

We are trying to parse it as chapters. Our options are:

Do not parse chapters from description
Parse and ignore errors
Parse and warn for errors

Of these, 3 is the best option imo. Do you disagree?

Then do please add something similar to
       --ignore-no-formats-error
              Ignore "No video formats" error.  Useful for extracting metadata
              even  if the videos are not actually available for download (ex‐
              perimental)

There's a distinction between the routines that get chapter lists from structured data and _extract_chapters_from_description().
In the former case valid data is expected and it's reasonable to warn if it doesn't make sense; in the latter case it seems strange to warn that something not intended to be a chapter list wasn't one.
The strict parameter of _extract_chapters_helper() could be extended* (or a further parameter added) to indicate that the supposed chapter list might not be reliably identified. In that case the warning could be skipped if no item in the list is valid; in particular, if there is just a single invalid item, as here.
* either by changing the semantics of False, or by allowing it to have a dict value with keys like order, expected, where the existing True value is equivalent to {'order': True, 'expected': True}, the existing False value is equivalent to {'order': False, 'expected': True}, and the proposed behaviour would be {'order': False, 'expected': False}.

In fact, I am saddened to find that cycles are being wasted examining data that I never intended it to examine.
I mean I'm feeding it a site that I know doesn't go by some strange customs  that the app is expecting. So I should be able to tell it that, no it is not on what it thinks it is, so don't waste any computations looking for something that won't be there.
I mean, I am not interested in silencing error messages. I am interested in turning off the thing looking for stuff that won't be there in the first place.
And all this should be able to be controlled by the user from the command line without even needing any source code.

If each CPU cycle i important to you, yt-dlp is the wrong tool to use. Ths parsing will not be disabled.


Suggestion - RuneLite Chat History - Add option for history to expire after X time passes

Title is self explanitory
I think the chat history plug-in is a great tool but i dont want to have to disable the plug-in, log out, then back in to clear a 12 hr old message from my friend that isnt online right now.
If there were an option to set a duration on how long messages stay on your screen, still retaining the option to keep the messages up indefinitely, would be a welcomed addition to the plug-in.
Thanks for reading.
Post if you agree/would like to add your perspective.

I don't think that chat messages should expire, my stance is that it should be an active decision on the user's part when to remove chat history.
It looks like the problem you are having can be resolved by right-clicking either of these stones and then choosing  Clear history.


[vcpkg_download_distfile] Add condition for padding the SHA

Describe the pull request

What does your PR fix?
Fixes #18419 #18406

The fix suggestion from @mathisloge https://github.com/microsoft/vcpkg/issues/18419#issue-919749844
Also update the doc packing-github-repos.md
The request from @autoantwort https://github.com/microsoft/vcpkg/pull/18285#issuecomment-859721934
Related #18285

Will this fix https://github.com/microsoft/vcpkg/issues/18406?

Merging this without the full run because it's a regression affecting multiple users and it has mostly passed.