Using magic provider or signer with standard Nethereum interface

I've tried using this package in my Unity project - have just used the Login and Logout functions in the prefab for now, and works like a charm. I'm using the Nethereum package already externally, so I don't want to use the wrapped interfaces in this package that are shown in the README, but instead want to just create a new Account and Web3 instance with Nethereum, but I want to use the connected signer from this magic.link connection.
ie. I want a setup similar to the following
// I need some way to create a Nethereum.Web3.Accounts.Account instance with the magic private key (this isn't the right syntax)
var account = new Account(magic);
// Then I can use it to create my own Nethereum.Web3.Web3 instance and use it like usual
var provider = new Web3(account, rpcUrl);

Is there any way to extract the signer/use this type of setup. I've tried looking through the package but haven't found anything obvious so far (was looking for a place where the Nethereum Web3 or Account interface is stored/wrapped internally but couldn't find one)
Looking forward to implementing this flow! @Ethella

@adam-maj Hey Adam, thank you for the feedback.
First of all, Magic is a non-custodial key management system where the private key is not visible or can be fetched from us. In such a case, the signing process will not be done locally in your Unity project, but remotely in a third-party context (our auth relayer). As a consequence, the libraries that depend on private keys will not be feasible in our use case.
Secondly,
The reason why we didn't include a web3() flow is because Nethereum has not included Nethereum.Web in their Unity releases. And we didn't successfully make a workaround to it.
Here are the released files, https://github.com/Nethereum/Nethereum/releases/tag/4.6.1
However, it seems like you've successfully installed the Nethereum.Web3 package in your Unity project and make it run. Could you share with us your installation steps and DLLs being used in your project? I'll see if it's possible to make a workaround with Nethereum.Web3

@Ethella Thanks for the response - right forgot about the custodial aspect, so assume I need an API that will send the correct transaction payloads in authenticated requests to magic endpoints, which I'm guessing is what the API in the README does.
However, the Nethereum transaction API from Account or Web3 should just expose a simple provider interface that involves signing messages, etc. that can be used to send signed transactions/use the same API as standard Nethereum interface - this would allow a magic provider to be interchangeable in codebases with other providers like WalletConnect, MetaMask, etc. that handle private keys in different ways.
This exists in TypeScript for example, where there is a MagicProvider/MagicConnector (not sure if its built by magic or not) that let's you use the magic API with standard ethers.js/web3.js functionality even though under the hood its not signing messages with private keys directly but instead making API requests - does such a thing exist for C# as well with a compatible Nethereum interface/is there a way I could help to add this functionality in.
As far as my setup, I have a separate dotnet package where I have Nethereum.Web3 as a dependency (installs the DLLs into the package), and when I build my own package, the DLL works out of the box in Unity (and the Nethereum.Web3 functionality is working) - it just took some fiddling with the configuration file for my package build.
In my package, I want to support multiple different connectors (via Nethereum.Web3) which is why I want to make sure that I have a compatible interface.
Thanks for the help

@Ethella Just wanted to follow up on this one :)

We are on a national holiday. But you can still try to pull the latest main, as I have included Nethereum.web3 in the dependency

Thanks a lot, enjoy the holidays! Will circle back on this during the week, will be playing around with it for now

@adam-maj Just took a quick look. I think you may pull the latest main and call web3 now
            var web3 = new Web3(Magic.Instance.Provider);
            var accounts = await web3.Eth.Accounts.SendRequestAsync();
            print($"MagicUnity {accounts[0]}");


add replace option on

I'm not sure if this repo is open for PR, as I know you guys have been working on rewriting it. If it's not, feel free to close the PR 👍
The PR add replace option support from the Link element as discuss in #20

PRs are open and welcome. We are past the core part of the rewrite. Thank you.


BlackDuck Hub 3.5.1 Groups scans regardless of version

From my initial investigation it looks like the "spdx:name" overrides the "name" and "Revision" parameters.
I can't upload the file at this time (Assuming github uses S3 servers for that) but basically I have the following scan paths:
Host: "mvn:/home/buildagent/buildAgent/work/f0968067a417eae9/f0968067a417eae9/In_Development"
Path:
" Black Duck I/O Export"
AND
Host: "mvn:/home/buildagent/buildAgent/work/4ef9e7176026c4a3/4ef9e7176026c4a3/Pre_Release"
Path:
" Black Duck I/O Export"
Both of these map to the same project and actually override which version it points to based on whatever is run last...

Note that my maven group probably looks odd because of #23... but the 3.5.1 version of black duck hub appears to ignore that field when mapping to projects which is my problem.

Adding the image that proves that this has nothing to do with the strange artifact path I have:

[ {   "@id" : "uuid:9d4748be-6d57-4d13-9d00-a6c7cc6599f1",   "@type" : "BillOfMaterials",   "specVersion" : "1.1.0",   "spdx:name" : "DeviceVault - TEST Black Duck I/O Export",   "creationInfo" : {     "spdx:creator" : "Tool: Gradle-2.2.1",     "spdx:created" : "2017-03-16T18:31:55.000Z"   } }, {   "@id" : "mvn:com.a/Project1/1.1",   "@type" : "Project",   "name" : "DeviceVault - TEST",   "revision" : "1.1",   "externalIdentifier" : {     "externalSystemTypeId" : "maven",     "externalId" : "com.a:Project1:1.1"   },
AND
[ {   "@id" : "uuid:185a5149-9bca-48e9-8afb-21a6f9c0bbbe",   "@type" : "BillOfMaterials",   "specVersion" : "1.1.0",   "spdx:name" : "DeviceVault - TEST Black Duck I/O Export",   "creationInfo" : {     "spdx:creator" : "Tool: Gradle-2.2.1",     "spdx:created" : "2017-03-16T18:36:00.000Z"   } }, {   "@id" : "mvn:com.b/Project2/1.2",   "@type" : "Project",   "name" : "DeviceVault - TEST",   "revision" : "1.2",   "externalIdentifier" : {     "externalSystemTypeId" : "maven",     "externalId" : "com.b:Project2:1.2"   },

@psantos1113 Is there anything else you need from me? As illustrated this issue has nothing to do with #23 and it basically makes the gradle plugin unusable unless you only ever scan one version of your code.
@akamen Are you the right person instead to ping on this?

Hi @imbeyondboredom there isn't anything else we need from you on this.  The issue here is that both “Project1” and “Project2” have the same project name in the BDIO generated for each project.  Therefore both code locations get mapped to the same project.  In the BDIO output you've attached the project name for both projects is "name" : "DeviceVault - TEST".  That is the source of the problem.  Both code locations are mapped to the same project, but only one is uploaded at a time.  The last uploaded file takes precedence when importing BDIO.  That is how the import of BDIO works in the Hub.  That is why you are having the issue you are seeing.
I believe you have the tools you need to solve the problem.  From what I understand you are using a script to configure our hub-gradle plugin.  In your script make sure the hubProjectName
field is configured to a unique project name for each project.  The plugin should be run for each individual project. This is where you can get the same effect of the change from your pull request.
hubProjectName = “${projectDir}:${project.name}:${project.version}”  (that will achieve the same functionality of your pull request)
If you’re using a build script similar to that linked in issue #23, then make sure the project.properties.bd_proj_name isn’t returning the same value for each project.
If the issue is that both code locations should be associated with the same project, so that you have a BOM that contains data from Project1 and Project2, then currently that isn't supported.   The notion of sub-projects or modules is what you are looking for.  You’d be looking for project “DeviceVault – TEST” contains sub-projects “Project1” and “Project2” and the BOM for “DeviceVault – TEST” is the aggregation of the BOMs of “Project1” and “Project2.”   Currently that isn’t supported.  If you need that functionality please open an enhancement ticket for the plugin.

@psantos1113 Thanks for the clarifications but you're still missing my point. The issue that I'm having is that they should be separate. In this case every project will lose all version information except for whatever was last scanned.
The only reason I changed the package name and version information is to illustrate that everything is being grouped by the blackduck hub based on the project name and that, if that is the case, the project name HAS to include the version of the app so that you can have more than one version of the app in the black duck hub.

@imbeyondboredom - we think this is how your projects might be setup: https://github.com/blackducksoftware/gradle-sample/tree/no_settings_with_overrides
With that config, the bdio is created and uploads fine. Can you please give us a PR to change this config or project structure to more closely resemble what you are doing? We're getting close to a release of this plugin and we don't want to miss a chance to fix your issue while we're at it. Thanks!

@ekerwin Ah perfect. So I could submit a pull request but a better way to illustrate what I'm saying is to do the following:
1)Deploy the hub output of ProjectA
2)Change the version number of ProjectA (In my case I change it to     hubVersionName = "a_override_version_2"
3)Re-deploy ProjectA
You should get the following where the second version overrides the first:

@imbeyondboredom I tried to follow those steps. I deployed Project A's output, which resulted in a single code location being created in the hub which was automatically mapped to a new hub project 'a_override_name' and version 'a_override_version'. This is the bdio file that was created:
ProjectA_bdio.jsonld.txt
Then, I changed the hubProjectVersion to 'a_override_version_2' and deployed the resulting output. It created a new code location, which was mapped to a new version of the 'a_override_name' project. Here is the resulting bdio:
ProjectA_bdio.jsonld.txt
This is the behavior we'd expect. Did I not understand your steps?
If you upload those bdio files manually, do you not get this output?

Also, please note that each subsequent upload of bdio for project X/version Y WILL override the previously created BOM, but this is by design. So if you have developers producing and uploading bdio from their machines for the same project/version (this would definitely be the case for a project under active development by more than one team member), the latest (most current) one wins. Is this the issue we're dealing with here?

We only get one code location with two entries underneath it. I used to get the behavior you described until we updated to Hub v3.5.2

Here's the only code location that we see on our installation:

okay, checking against Hub 3.5.2 now

Awesome - I can reproduce this now! It looks like either we are not producing the bdio correctly for Hub 3.5.2+ or Hub 3.5.2+ is not supporting bdio the way they should. When I upload those two bdio files for Hub 3.5.2, I get the terrible overriding behavior you experience. Huzzah!

YAY! haha lesson learned that I should create a simple repo instead of the more complex example where I tried to show that two separate projects were getting grouped. That led to too much confusion.

@imbeyondboredom I apologize for the confusion with this issue.  It took us a few iterations to get there today but we got there.  Thank you for your patience!

@imbeyondboredom thanks for the patience!  We will see communicate the status of this (not yet confirmed) bug through your CSM!

@imbeyondboredom 4.0.0 released.  Please try it and let us know if this issue and others are addressed

Following up on this - this is fixed with the latest plugin and hub. This issue is already closed but just wanted to close the loop here.

Thanks!


Gradle does not support the explodeApp or reloadApp tasks

The documentation at:
https://cloud.google.com/appengine/docs/standard/java/tools/gradle
indicates that gradle supports the explodeApp and reloadApp tasks. This is not true. The documentation at:
https://github.com/GoogleCloudPlatform/app-gradle-plugin
clearly indicates that these tasks do not exist. Even running those tasks using gradle also indicates that they do not exist. Please remove the documentation referring to these tasks.

@GoogleCloudPlatform/cloud-tools-for-java FYI

Yes, this appears to be a problem from the docs, I will update them to reflect it is actually explodeWar. reloadApp however is a custom task written in the docs that users had the option of adding into their build file.

Duplicate of https://github.com/GoogleCloudPlatform/getting-started-java/issues/369


Lunca Cernii De Jos/Lunca Cernii De Sus, Hunedoara - Are not written correctly

ENVIROMENT: ui.orase
URL: https://peviitor-ro.github.io/ui.orase/
Browser: Chrome
Device: Laptop
OS: Windows 7
STEPS TO REPRODUCE:

Open URL in browser
Type "Lunca Cernii De Jos" in the search bar (/Lunca Cernii De Sus)
Select Lunca Cernii De Jos, Hunedoara from the list (/Lunca Cernii De Sus, Hunedoara (Lunca Cernii De Jos))

EXPECTED RESULTS:
The name of the locality written in the search bar is written correctly based off the law nr. 167/1929
https://legislatie.just.ro/Public/DetaliiDocument/189
ACTUAL RESULTS:
The name of the locality written in the search bar is not written correctly based off the law nr. 167/1929

Fixed! Poti retesta

Fixed! Poti retesta


[samples] (Power Automate) Convert CSV files to workbooks

Fixes #316.
This sample shows how to convert .csv files to .xlsx workbooks. It combines an Office Script with a Power Automate flow.
@raulclouse, please let me know if this addresses your original concerns with issue #316.

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

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 6d7c86d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 2618e8f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 6e9f0c7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 4adbe0c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 39c6cde:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 2a25997:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/convert-csv-flow-1.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-2.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-3.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-4.png
:white_check_mark:Succeeded
View

docs/images/convert-csv-flow-5.png
:white_check_mark:Succeeded
View

docs/resources/samples/convert-csv-example.zip
:white_check_mark:Succeeded

docs/resources/samples/convert-csv.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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


Report a small mistake in PyTorchVision LSUN dataset

https://github.com/pytorch/vision/blob/master/torchvision/datasets/lsun.py#L110
In the definition of __getitem__(self, index), I think line 100 should be sub = ind instead of sub += ind, if the number of  LSUN dataset classes is more than two, i.e., classes = ['bedroom_train', 'church_outdoor_train', 'bridge_train'], and target is bridge_train, then an error will occur.

sorry, I was wrong!


Need to specify PDSE and data set characteristics for authlib

In https://github.com/zowe/docs-site/blob/Release-Notes-1.9/docs/user-guide/install-zowe-smpe.md, you explicitly say that the authorized load library dataset dataset needs to be a PDSE, of a certain size and characteristics.  On https://github.com/zowe/docs-site/blob/Release-Notes-1.9/docs/user-guide/install-zowe-zos-convenience-build.md, you say that the authorized load library is a PDS, and don't give any size/characteristic information.  I believe the two should match.

@Joe-Winchester Hi Joe, any comments on this issue?

@Tam-Lin - tks for finding this inconsistency.  I'll create a PR to fix it.  I think what you're referring to is that the Table in SMP/E should have the values used for the convenience build also, e.g.


[TABLE] bulk update

bulk update (more than 1 column at once). This is an APM ask

This item was closed with https://github.com/IBM/carbon-addons-iot-react/pull/1165


RAV4H and Corolla fix for steering unavailable

Feature
When the steering angle or rate is above 100 then the steering fault occurs.
To stop this from happening treat this as a criteria to switch off steering and make sure not to trip panda safety limits by not holding to the torque limit. i.e. Setting apply steer from 1500 to 0 in one frame.

ok, let me think about this.... Due to the rate limiter being applied later, you have the issue of panda blocking messages non-zero torque messages on disengage, right?

This is true but I don't notice any negative effect due to this. We could also move just the not enabled check down below the rate limiter to avoid this.

I feel confident. The values are higher for other Toyotas but openpolit from my cabana logs is not going over 100deg or 100deg/s without user input in normal operation.

Since this update I have had only this one steer unavailable.
Rav4 Hybrid
Speed 48 kph
Steering Angle 90 degrees
50 degrees per second.
I also believe it is speed dependent.
at 0 kph it was about 400 degrees before it tripped but I don't think it is linear but more based on acceleration so quadratic.
Could you guys not search through your database for Steering errors?

here are a few more datapoints
https://my.comma.ai/cabana/?route=32a7df20486b0f70|2019-11-09--18-30-16&exp=1604870458&sig=K8O0SL7e%2FgnixebAaqHSADHMsjbwk9doyrA%2FvbLg%2BLo%3D&max=5&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2F32a7df20486b0f70%2Fa13c544a2799c36b5304fe7c07a59c85_2019-11-09--18-30-16
Rav4 Hybrid
Speed 20kph
Steering Angle -31.5 degrees
-115 degrees per second.
Speed 28kph
Steering Angle -100.5 degrees
-325 degrees per second.
Speed 36kph
Steering Angle -31.5 degrees
160 degrees per second.
Speed 41kph
Steering Angle 16.5 degrees
-158 degrees per second.
Speed 53kph
Steering Angle 20 degrees
133 degrees per second.
Speed 61kph
Steering Angle -3.0 degrees
116 degrees per second.

I've just tried this code today on a sharp curve where the wheel jerked back and forth due to my poor Corolla's tuning. Did not steer fault at all and actually immediately started steering as soon as the wheel stopped moving at a high rate, stock openpilot would have lost control and sent me into the other lane


Use Spring Gradle Enterprise Conventions Plugin

@wilkinsona - it looks like the publishOnFailure() is not being picked up - we seem to be publishing successful builds now...
https://ge.spring.io/scans?failures.failureClassification=non_verification&list.offset=0&list.size=50&list.sortColumn=startTime&list.sortOrder=desc&search.buildToolType=gradle&search.buildToolType=maven&search.rootProjectName=spring-kafka-dist&search.startTimeMax=1583297999999&search.startTimeMin=1577854800000&tests.sortField=FAILED&tests.unstableOnly&trends.section=overview&trends.timeResolution=day&viewer.tzOffset=-300

Gah. I’d hoped that your publishOnFailure() would take precedence over the conventions plugin configuring scans to be published always (success or failure). Maybe we can tweak things a bit so that works, or we might need a different approach. I’ll dig a bit more tomorrow.

OK; thanks for your help; get some sleep 😄 !!

The Gradle Enterprise plugin uses separate state to track publishAlways() and publishOnFailure(). As soon as the former has been called, the latter is unable to switch things back to only publishing on failure.
I can see a few ways forward:

Remove publishAlways() from the conventions plugin and require its users to call it or an alternative method
Change the conventionsPlugin to support a property configured in gradle.properties that can switch off publishAlways
Raise the problem with the Gradle team and see if the Gradle Enterprise plugin can be changed
Always publish build scans for Spring Kafka


scope undefined

Hi,
I think the library is great, however scope is not initialized at:
/* localize natives */
var document = scope.document,
Might this be dynamically set, or initialized to document by default?

Hello, thanks for using the library and taking the time to open some issues.
On this one, note that the whole library is wrapped in an IIFE starting on line 17 and ending at line 419 (in the current source). Note on line 17 that the function takes two parameters-- scope and undef. Note that on line 419, where the wrapping function is invoked, I pass only one parameter, this. In doing so, the body of the function receives two incoming parameters. The first, self is set to whatever this was in the scope of invocation. The second, undef is an undefined value because I did not pass anything in.
I hope that all makes sense!
Thanks,
Jim


iOS Flyout Freezing

I am noticing that on iPads (iOS 9 iPad 4 Safari) that the Flyout freezes up very quickly when trying to use it. Scrolling operations will quickly result in this (even a simple scroll can do it sometimes).
When this happens the flyout and workspace are frozen. Additionally drags on the workspace then start to scroll the entire page. There are no console errors.
I can see this happen with both current demos:
https://utils.asun.co/scratch-blocks/tests/vertical_playground.html
http://llk.github.io/scratch-vm/#

Thanks for reporting!

Sounds like another multitouch bug.  Do you have any more specific steps for reproducing it?

Multitouch is not required to trigger the bug, meaning I'm only using 1 finger and so 1 touch max at a time.
I literally just scroll the flyout downwards... it usually happens right away as I'm nearing the bottom of the category... but not always... though a bit more scrolling triggers it quickly. You should be able to reproduce this by just scrolling up and down.
Let me know if there is something specific you would like to know. I'll also see if its isolated to a specific iOS version or not.

Are you scrolling with the scrollbar in the flyout, or the flyout background, or one of the blocks?  Can it happen in any category?  Does it happen if you scroll the main workspace, or only the flyout?
Interesting that it doesn't happen every time.  That's a bit concerning.
What I meant by multitouch is "my implementation of multitouch support".  There's a difference in how android and ios assign identifiers to touch events that means that some failures are completely silent in android but very visible in iOS.  Freezing up so that nothing responds and the whole page scrolls instead is consistent with this class of bugs.

Also on iOS 10.
So it seems it breaks on the 2nd touch on the flyout... (this explains why I thought it was happening near the bottom of the scroll... since here I need to lift my finger to drag further... triggering the 2nd touch).
So steps to reproduce (100% repro as I can tell):

Scroll the flyout a little
Stop scrolling
Start scrolling again -> notice it won't scroll anymore

Good questions btw... indeed it DOES NOT happen if you touch on the block within the flyout... nor the scroll-bar on the side of the flyout... but ONLY when touching the flyout background itself.
Happens in any category (have not seen any category that's immune to it).
Main workspace doesn't trigger this bug. So only flyout background.

Great, thanks for the info.  I'll take a look!

Thanks for taking a look!


Add ability to define search synonyms

I found myself wanting to provide some additional search terms to find one of my commands. My initial idea was to start putting those words in the description, but it ended up creating a really bad user experience with random words in the description that's displayed in the search results.
This PR adds the ability to add additional search terms (called synonyms here, but open to other ideas) to any command. This provides a simple way for developers to give their users additional terms to find commands.
For context, here's an example of how (and why) you might want to use synonyms for a command:
class ViewBillingSettings extends SpotlightCommand
{
    protected string $name = 'View Billing Settings';

    protected string $description = 'Update your billing settings';

    protected array $synonyms = [
        'subscription',
        'credit card',
        'payment',
    ];

    public function execute(Spotlight $spotlight): void
    {
        $spotlight->redirect('/settings/billing');
    }
}

This would allow for a user to type credit card and be show the View Billing Settings command in the search results.

@PhiloNL Pulled those out of the dependency search and updated the command stub. Should be all set!

Thanks @dvanscott 🙌


add ability to selectively ignore exceptions in load_neurons

added -ignore-exceptions option to morph_stats, to allow for ignoring bad soma

Codecov Report

Merging #634 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #634   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          41     41
  Lines        2028   2033    +5
=====================================
+ Hits         2028   2033    +5


clone operator (newtype)

clone X into Y {
// modifications...
}

Kind of a sugar for this repetative pattern:
When X is of tpe:
tpe Y {
+ X
//... modifications
}

It may work for alias as well (but it would be the same as alias itself)

At the moment we have a proof-of-concept implementation, though it suffer two issues:

We support newtype for mixin and data only
We cannot use such types in other types - inheritance isn't supported, we can't clone a clone, etc. Proper implementation would require a better typer.

For this particular case we simple workaround for uncertainty: we may use clone data X into Y.
Though uncertainty already hits us in alias resolution, etc, so we should implement a better typer.

Done in new typer


Feature request: allow specifying attributes for oneof fields

Currently it is possible to add attributes to oneof fields using either field_attributes or type_attributes, but it requires explicit knowledge of all of the oneof field paths. One of the major stumbling blocks in adding serde attributes to prost outputs in order to serialize/deserialize from json (longstanding issue: https://github.com/tokio-rs/prost/issues/75) is getting serde(flatten) and serde(rename_all="snake_case") onto all oneof enums. This could be made much easier via the addition of oneof_field_attributes and oneof_type_attributes configuration options, which would allow usage of "." as the path pattern. I believe that many, if not all, of these use cases could be handled in this way without prost having to explicitly support json ser/deserialization

I think that is possibly and option, I am not really happy with the current way that we support field/type attributes. I'd be happy for someone to champion this as I won't have much time to get to this anytime soon.


MudAlert: Variant Filled CloseIcon wrong color (#5436)

Description
fixes visual bug #5436
How Has This Been Tested?
Visually, it's just a minor CSS update.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@fondraco can you respond to Mike's question please. Otherwise I see this as ready to merge.

Yeah, it's ready @mikes-gh . Go ahead @henon

@fondraco I know this has already been merged but please could you answer my question.  https://github.com/MudBlazor/MudBlazor/pull/5449#pullrequestreview-1212597230


Preserve BOM in web editor

The ToUTF8* functions were stripping BOM, while BOM is actually valid in UTF8, so the stripping must be optional depending on use case. This does:

Add a options struct to all ToUTF8* functions, that by default will strip BOM to preserve existing behaviour
Remove ToUTF8 function, it was dead code
Rename ToUTF8WithErr to ToUTF8
Preserve BOM in Monaco Editor
Remove a unnecessary newline in the textarea value. Browsers did ignore it, it seems but it's better not to rely on this behaviour.

Fixes: https://github.com/go-gitea/gitea/issues/28743
Related: https://github.com/go-gitea/gitea/issues/6716 which seems to have once introduced a mechanism that strips and re-adds the BOM, but from what I can tell, this mechanism was removed at some point after that PR.

I think this fix is not complete, and it is also related to #28119 (web editor EOL) and others, they are the sample problem.
The problem is not "what MonacoEditor does", but it is "what Gitea should do".
Think about some files in a git repo:

A file without BOM
A file with UTF-8 BOM
A file with UTF-16 BOM
A file with "\n"
A file with "\r\n"

By existing approach, they could all be edited by MonacoEditor. The real problem is when "saving" the files, backend code does incorrect assumption: it only recognizes UTF-8 or "\n". So UTF-16 BOM and "\r\n" files are all changed unexpectedly.
So, the complete approach could be like this IMO: when saving, the backend code should first detect the file kind (BOM, EOL), then convert the submitted text to the expected format (correct BOM, correct EOL), then everything should work well.

So, the complete approach could be like this IMO: when saving, the backend code should first detect the file kind (BOM, EOL), then convert the submitted text to the expected format (correct BOM, correct EOL), then everything should work well.

I'm not sure such detection is neccesary. I would just ensure the file round trips through backend and frontend unmodified. EOL is a more complicated topic because of the possibility for mixed EOL, but BOM is imho quite a clearcut case.
So for BOM, we should render it without everywhere except when passing to the editor, and this is exactly what this PR does. I will test if UTF16 BOM works as well with this PR, I assume it will.

It seems UTF-16 rendering is broken in Gitea (and also VSCode, Monaco and Sublime Text). See this file
GitHub renders it but with broken BOM:

Gitea, VSCode, Monaco and Sublime Text all seem to convert it to UTF-8 and they render this:

So I think UTF-16 is a diffferent topic for another PR. We should first render it correctly, then we can talk about BOM there.

Merging as-is. More improvements can come later. I agree we should move all function variants to the options struct.


Get Linter configuration for language server from flags.

... instead of hardcoded 'all the rules'.
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #1141 (6febba2) into master (c926ede) will increase coverage by 0.00%.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##           master    #1141   +/-   ##
=======================================
  Coverage   92.84%   92.85%
=======================================
  Files         337      337
  Lines       22498    22497    -1
=======================================
  Hits        20889    20889
+ Misses       1609     1608    -1

Impacted Files
Coverage Δ

verilog/tools/ls/lsp-parse-buffer.cc
95.12% <75.00%> (+1.94%)
:arrow_up:

verilog/parser/verilog.y
82.90% <0.00%> (+0.01%)
:arrow_up:

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 c926ede...6febba2. Read the comment docs.


39 Implement results pagination

Added count to returned JSON on read_all_notes
Note Annotations also get fixed up for returning integer vs what it was doing which was strings for start and length.

I created this ticket to update the OpenAPI specification of the Data Node.


DBZ-1398 Support for arbitrary third party engine name

https://issues.jboss.org/browse/DBZ-1398
upstream issue https://github.com/antlr/grammars-v4/pull/1463

Merged, thanks @jpechane.


Automatically make link rel=alternate for SEO?

Can we use this plugin to automatically add this on each page based on _route.json :
<Head>
  <link rel="alternate" hrefLang="en" href="/en/about" />
  <link rel="alternate" hrefLang="fr" href="/fr/a-propos" />
</Head>

Maybe we can make a hook that takes the current page, search all rewrite for each language and return the Head tag with all alternate pages inside

I would like to know too ! It's so important for SEO and i can't manage to make it work with this..

Very important feature. Did anyone manage to accomplish that with the current state of the package?

Very important feature.
I managed to get it working using import { translatePath } from 'next-translate-routes/translateUrl'
But it doesn't work with page names with the "-" symbol in it (maybe even with other symbols).
Maybe this should be a separate issue?

Finally I changed package to make it work correctly.. You can check next-multilingual, they have all of this incorporated. (translations, translated routes, auto rel=alternate and rel=canonical,...) And for the creator of next-translate-routes, next-multilingual could be a good inspiration to focus more on SEO.
I hope we will find the ultimate package for translations including everything we need in one place.

I am doing the following to get alternative urls.
src/utils/localize-helpers.ts:
import type { NextRouter } from 'next/router';
import { translateUrl } from 'next-translate-routes';

export const formatSlug = (slug: string, locale?: string, defaultLocale?: string) => {
  return locale === defaultLocale ? `/${cleanSlug(slug)}` : `/${locale}/${cleanSlug(slug)}`.replace(/\/+$/, '');
}

export const cleanSlug = (slug: string) => slug.replace(/^\/|\/$/g, '');

/**
 * Translate our path, and return a complete translated URL.
 * Todo: 'next-translate-routes' doesn't provide a way to fetch the translated URL with locale prefixed?
 * @param router NextRouter
 * @param translateLocale The locale that we want to translate to.
 * @param format Decide if you want to add slashes and locale for a complete path.
 */
export const translatePath = (router: NextRouter, translateLocale?: string, format: boolean = true) => {
  const locale = translateLocale || router.locale;
  const slug = translateUrl(router, locale).pathname || '';
  return format
    ? formatSlug(slug, locale, router.defaultLocale)
    : cleanSlug(slug);
};

/**
 * Return an array of objects containing all translations of a route.
 * @param router NextRouter
 */
export const getLocalizedPaths = (router: NextRouter) => {
  return router.locales?.map((locale: string) => ({
    locale,
    path: `${translatePath(router, locale)}`,
  })) || [];
};

export const getLocalizedSlugs = (router: NextRouter) => {
  return router.locales?.map((locale: string) => ({
    locale,
    slug: `${translatePath(router, locale, false)}`,
  })) || [];
};

src/pages/_app.tsx:
...
import { useRouter } from 'next/router';
import { DefaultSeo } from 'next-seo';
import withTranslateRoutes, { translateUrl } from 'next-translate-routes';
import { getLocalizedPaths, translatePath } from '../utils/localize-helpers';
...
function MyApp() {
  const router = useRouter();
  const url = `${process.env.PROJECT_URL?.replace(/\/+$/, '')}`;

  const languageAlternatives = getLocalizedPaths(router).map((path) => ({
    hrefLang: path.locale,
    href: `${url}${path.path}`,
  }));
  languageAlternatives.push({ hrefLang: 'x-default', href: `${url}${translatePath(router)}` });

  return (
     <DefaultSeo
            {...SEO}
            canonical={`${url}${translatePath(router)}`}
            languageAlternates={languageAlternatives.map((locale) => ({
              hrefLang: locale.hrefLang,
              href: locale.href,
            }))}
          />
  )
}

v1.9.0 is out, with two new helpers, fileUrlToUrl and urlToFileUrl.
The docs now suggests a piece of code, quite similar to the above, to add alternate links.
It seemed better to me to leave it like this, to avoid stepping out of next-transate-routes scope, and so that everyone can tweak it the way he want, using or not a dedicated package like next-seo.
Feel free to reopen this issue if it is not satisfying.


Small fixes for #143

I noticed some small errors with my previous pull request (https://github.com/Purfview/IMDb-Scout-Mod/pull/143):

search needs - instead of + for Solarmovies and Actvid
added sites were not in the proper categories
added a logged out (Cloudflare) check for HDOnline
removed my changelog information

Sorry about the additional PR, I’ll try to do better QA next time :)

I've fixed your previous PR, so I'm closing this. (will up it soon)

Here it's: https://github.com/Purfview/IMDb-Scout-Mod/commit/b8995007a0fec6322181cf9f1374c69f71b50d08
These were not working entries(now fixed):
AnimeVibe Lite, Actvid, 'KinoX, StreamKiste.
Removed entries:
HDOnline - useless search, behind Cloudflare, basicaly a duplicate.
MovieStars - not working, useless search, basicaly a duplicate.
Solarmovies - not working, basicaly a duplicate.
123Movies - useless search, basicaly a duplicate.

By "duplicate" I meant that ~99% of those streaming sites takes content from same servers, so no need to add them.
Unique sites I consider that are offering the search by imdb id, or curates specific genre, or non English content or own sources.

Oh, that one actually I didn't removed by mistake, it's one of those "duplicates" with useless search.


poetry_hooks with switch tasks by named argument

Hi! I was very interested in your tool and decided to implement it into the project.
In my project, I want to add a hook with a pre-commit install setup along with executing the poetry install --with dev command.
Here is my puproject.toml with dependencies divided into groups:
[tool.poetry.dependencies]
python = "^3.10"
...
poethepoet = "^0.24.4"

[tool.poetry.group.dev.dependencies]
...
pre-commit = "^3.2.0"

[tool.poetry.group.test.dependencies]
...

I have a working solution for this purpose, which is always executed when entering the poetry install command.
[tool.poe.poetry_hooks]
post_install = "pre_commit_install"

[tool.poe.tasks.pre_commit_install]
help = "pre-commit pre install"
cmd = "pre-commit install"

However, I need the hook to be executed only when entering the poetry install command with the --with dev argument.
Here is my vision of pyproject.toml, for such functionality:
[tool.poe.poetry_hooks]
post_install = "pre_commit_install"

[tool.poe.tasks.pre_commit_install]
help = "pre-commit pre install"
default = "pass"
control.expr = "with"
args = ["with"]

    [[tool.poe.tasks.pre_commit_install.switch]]
    case = "dev"
    cmd = "pre-commit install"

When I enter the command poetry install --with dev, I get the following error:

Please help me figure out what went wrong.
Thanks!

Hi @StripedMiha,

However, I need the hook to be executed only when entering the poetry install command with the --with dev argument.

I'm afraid limiting poetry hooks to invocations including specific arguments is not currently supported. Your workaround using a switch task is interesting, and might even work.
I believe the error you're getting from the expr task is because an expr task content is actually interpreted as subset of python, and as it happens with is a keyword in python, so the validation fails.
You should be able to avoid this particular error by mapping the argument to a different name with something like:
control.expr = "deps_group"
args = [{ name = "deps_group", options = ["--with"] }]

Please let me know if you get it working :)

@nat-n
Thanks for the advice.
But I'm afraid I don't quite understand how this should work, but this option does not catch the argument correctly and gives a default response.
[tool.poe.tasks.pre_commit_install]
help = "pre-commit pre install"
control.expr = "deps_group"
args = [{ name = "deps_group", options = ["--with"] }]

    [[tool.poe.tasks.pre_commit_install.switch]]
    case = "dev"
    cmd = "pre-commit install"

    [[tool.poe.tasks.pre_commit_install.switch]]
    cmd = "echo abc"

The response from such a command now does not fall with an error, but the switcher does not catch the argument


Low performance of motorcyclist and other-ground classes

Hello,
For the pre-trained model included, I noticed that performance on the classes motorcyclist and ground-other are close to zero, while in the paper their reported accuracy is much higher.  Is this because of the lack of point refinement module in this repository, or is there some other explanation as to the significant difference in result here?

Due to the limited number of points of motorcyclist and other-ground, the results on validation set are very poor, even close to zero.
The results reported in the paper are from test set, which is more balanced compared to validation set.


Flashing out

We have written the needed data into your clipboard because it was too large to send. Please paste.

/needsMoreInfo


Markdown Table Overflow Issue

This is the current behavior when you have a table with many columns:

I patched this on my end here:
https://github.com/datopian/flowershow/blob/5b4cd3a5bfc8d4898c442a9cbb81fccd1e6f77a3/components/MdxPage.tsx#L12
with:
const components = {
    mermaid: Mermaid,
    pre: Pre,
    table: (props) => (
        <div className="overflow-x-auto">
            <table {...props} />
        </div>
    ),
};

@matthew-sessions nice fix thank-you. We'll look into getting that in to core.
@davidgasquez do you want to check if you can reproduce that?

Was able to reproduce with:
| Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      | Tables   |      Are      |  Cool |
|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|----------|:-------------:|------:|
| col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | col 1 is |  left-aligned | $1600 |
| col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned |    $1 |
| col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned | col 3 is | right-aligned |    $1 |

Adding the proposed change fixes it.

That said, things are still off when you maximice the page in a widescreen.

@davidgasquez, @rufuspollock I've just fixed the layout so now, with @matthew-sessions' fix the tables display correctly even on large screens:

I took the liberty of adding Matthew's fix to the template.
Thank you @matthew-sessions 🎉👏


vendor: use 'x/net/trace' with std 'context'

For https://github.com/coreos/etcd/issues/6174.

lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3a93928). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7788   +/-   ##
=========================================
  Coverage          ?   75.61%
=========================================
  Files             ?      331
  Lines             ?    26105
  Branches          ?        0
=========================================
  Hits              ?    19738
  Misses            ?     4935
  Partials          ?     1432

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 3a93928...bfd5f38. Read the comment docs.


Sorry publishing failed!

Hi, PyPI maintainer here. Thanks for using Trusted Publishers on PyPI! I noticed that publishing failed for you recently, and it looks like you hit a minor bug, sorry about that! We've got a fix in place and should be able to get that out shortly.
(also, sorry for the PR, couldn't open an issue!)

Should be good now! Please re-run your workflow and let me know if you have any other problems.


Add Django AppConfig Label of "social_auth" for migrations

now displays social_auth instead of 'default' when running migration tool

Thanks!

When is the next planned release v 0.2.20?


Added some tests and a function getDropdownSelectOption

Pull Request (PR) Dexels-ui-kit
Jira link:
-
Description of the pull request:
- in order to have an easy way of getting an option from the option ist, created a function for it

[x] New component? Did you add it to the library exports file src/lib/index.ts?
[ ] New iconfont? Update selection.json, iconfont.css (mind the path part) and the values in src/app/types.ts?

Feel free to ask if this PR template needs to be updated!

I suggest to make this function more generic,
export const getOptionByValue = <U, T extends U>(
data: Array,
propertyName: keyof U,
propertyValue: string
): T | undefined => data.find((item) => ((item[propertyName] as unknown) as string) === propertyValue) || undefined;
also the name getDropdownSelectOption is not clear because we have different Component it can refer to : Dropdown, DropdownSelect, SelectOption


Create insa-cvl.fr

the institute domain seems to be http://www.insa-centrevaldeloire.fr/ - please add some proof, that the committed domain also belongs to the university. also the extension should be .txt not .fr

Here is a screenshot of my webmail

thank you, i'm adding the domain


Expanding/Collapsing wrong item

i am click on themes folder but default,js is highlighted/active

Anyone monitoring issue?

Close in favor of #58


Custom music disc range

We are wanting this on a server but we wanted to be able to set the range of the music disk.
This add in:

Command to set the music disk range
Config option to set a max range
Default to config if range is not set on disk

Just an upvote on this change, tested on my end with the latest build (2.5.1), working as intended (just struggled with the build process which didn't include the dependencies when building the JAR file, don't know why...).

Sorry to ping, but @Navoei any plan on adding this to the main release ? 🙂 (I don't think there is much rework to do even for the 1.21 version).

If you can test this for 1.21 and make a pull request, then I can add this :) its a good addition

For sure I'll do, I like to have this possibility added to the plugin like the original one (same for goat horn, which I'll take a look later on :P )

Just replicated the same changes to the v3 and this is still working.
I'll do a PR as soon as everything is pushed on my git 😊
Just a side note @Navoei : I don't know why, and only with your plugin so far, the dependency are never downloaded and/or packaged with the build process.
I always have to unpack those from the last build you give here to pack it in mine 😂
Any idea why this happen ? (I'm quite a noob when it's gradle related)

Sorry (again) for the ping @Navoei , did you get a chance to look at the PR I made ? (to know if this is OK that way for you).
As I'm looking into the Goat horn addition (which might be a little bit tricky for now, but that would allow me to keep those changes on the custom range at least, if all good for you) ❤

Yeah I havent looked at pull requests for a while and I just recently merged one that improves the command system. I would highly recommend that functionality for discs made in previous versions is kept. For example if some data regarding the range is not present in the persistent data container then just fall back to the default. Not having that data should also apply when no range is set using the command. Also there is already a default range in the config file (music-disc-distance: 16).

Yeah, the original author did use a different key for the PDC storage, so that shouldn't be an issue, and I think that if we don't set any range, it already use the default (but this is not clearly state in the code if I remember correctly, could be a little change to do).
Let me know if you want me to take a look with this change in the code (to ensure it's working) and redo a new commit in that case with latest branch (but that'll be next week :D )

It has been 3 weeks now, did you want me to take a look at it with the latest changes in the code to include the disc range to it ?
As this change stop me into looking for the goat horn too ( even though, it will not be a pretty code anyways, will work, but not in a pretty manner).

While I did not merge this pull request, this was added as a feature.


Honor api and implementation separation for ivy consumers

Hey guys!
The api/impl separation is honored by default by pom consumers, but not by ivy consumers. This seems like a missing feature/bug given that Gradle has first class support for both ivy and pom. I found a similar ticket: #3854
More context: if I create a "java-library", use api + implementation configurations, the "implementation" dependencies are not leaking to compile classpath of pom consumer (Gradle project that consumes poms). That's great and documented. However, Gradle projects that consume ivy dependencies will get "implementation" dependencies leaking to the compile classpath. To reproduce this, see https://github.com/mockitoguy/gradle-java-library-demo

@ljacomet could you chime in here?

@mockitoguy I was just looking into this.
Gradle uses variant aware dependency management for the api and implementation separation. For this it needs to know about the variants that are published with a module. When using the new Gradle Module Metadata format, this information is published with the module and everything works.
For maven POMs, we derive some variants automatically, because they follow a strict pattern. I.e. there are always a compile and runtime scopes and the publisher can not define custom scopes.
In Ivy, the "issue" is that you can publish arbitrary configurations. If you use the default ivy publishing with Gradle for Java, you will get the compile and runtime ivy configurations. But in general a producer (customized publishing with Gradle or published with other tool) can decide to publish different configurations or wire configurations named compile and runtime differently etc.
That's the reason why we do not have a general variant derivation strategy for ivy as we have for Maven. However, you could write your own strategy with Component Metadata Rules. Only that it does not work yet for Ivy (the rules are just not used in the ivy case). I am about to propose that we change that. I have an implementation on this branch, which is already working:
https://github.com/gradle/gradle/tree/jjohannes/ivy-variant-derivation-with-rules
With that you can write a rule like this:
dependencies {
    components { all(IvyVariantDerivationRule) }
}

@CacheableRule
class IvyVariantDerivationRule implements ComponentMetadataRule {
    @javax.inject.Inject
    ObjectFactory getObjects() { }

    void execute(ComponentMetadataContext context) {
        if (context.getDescriptor(IvyModuleDescriptor)) { // a check that matches all the ivy modules that follow runtime/implementation separation convention
            context.details.withVariant('compile') {
                attributes {
                    attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, LibraryElements.JAR))
                    attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                    attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_API))
                }
            }
            context.details.withVariant('runtime') {
                attributes {
                    attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, LibraryElements.JAR))
                    attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                    attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
                }
            }
        }
    }
}

These rules turn the ivy configurations compile and runtime into Gradle variants by assigning attributes to them (attributes are what make variants distinguishable during resolution). The attributes used are the default Java ecosystem attributes we defined. The important one here is USAGE_ATTRIBUTE which is different in the two variants.
If you use ivy and know that the compile and runtime configurations are used consistently throughout your organisation, you can encapsulate such a rule in a plugin for example and share it across all builds.
Feel free to build Gradle from the branch and give it a try.

This is a complex issue, which has two parts: publication and consumption.
For publication, and using the sample provided, the producer outputs:
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0">
  <info organisation="com.sample.producer" module="producer" revision="1.0" status="integration" publication="20190828184734"/>
  <configurations>
    <conf name="compile" visibility="public"/>
    <conf name="default" visibility="public" extends="compile,runtime"/>
    <conf name="runtime" visibility="public"/>
  </configurations>
  <publications>
    <artifact name="producer" type="jar" ext="jar" conf="compile"/>
  </publications>
  <dependencies>
    <dependency org="org.apache.commons" name="commons-math3" rev="3.6.1" conf="compile->default"/>
    <dependency org="com.google.guava" name="guava" rev="27.0.1-jre" conf="runtime->default"/>
  </dependencies>
</ivy-module>

which in itself is not fully correct, if this happened to be consumed by plain Ivy, as the compile dependency on commons-math3 is not visible from the runtime configuration, while it should be according to the Gradle build that produced this file.
As suggested in #3854, we could improve the configuration mapping in the ivy.xml output to be better.
But even doing that is not trivial, because Gradle only consumed the default configurations of commons-math3 and guava, which happen to be Maven dependencies even and thus result in consuming their runtime scope. So finding the right mapping is a challenge by itself, especially as the consumer may have picked a specific Ivy configuration, so there needs to be support for implicit and explicit configurations consumption.
And then, for this to work as requested, something needs to be done in Gradle so that a single dependency declaration on an Ivy module can behave similarly to what is done for Maven.
The main reason this was done for Maven only and not Ivy is that Maven is easy to map given its fixed set of scopes, especially as for transitiveness, only compile and runtime are relevant.
Of course, Gradle itself, when producing ivy.xml, uses a fixed set of configurations as well.
So Gradle could evolve to allow variant derivation from Ivy configurations but we need to be careful there. As discussed around the sample above, the current Gradle mapping is problematic and would be correct only if we used the compile configuration for compilation but the default configuration at runtime.
Also, this kind of change is a breaking change, unless it requires opt-in, as showed by the same change for Maven and its impact on existing projects in Gradle 5.0.
So before moving forward with this, could you, @mockitoguy, elaborate on your use case?
Given the above reflection, what must work for you? How transparent would it need to be?

To be clear, the consumption part relates to this in the ivy-consumer sample:
dependencies {
    // uncommenting the "configuration" setting below prevents leaking compile dependencies
    implementation group: 'com.sample.producer', name: 'producer', version: '1.0' // , configuration: 'compile'
}

which, in order to be fully correct and do proper compile / runtime separation would need to become:
dependencies {
    compileOnly group: 'com.sample.producer', name: 'producer', version: '1.0', configuration: 'compile'
    runtimeOnly group: 'com.sample.producer', name: 'producer', version: '1.0'
    // which implicitly means: ", configuration: 'default'"
    // note that using ", configuration: 'runtime'" here would be incorrect as stated in the previous comment
}

The solution proposed above is now available in the latest 6.0 nightly gradle-6.0-20190910220033+0000.
You can add the following rules to your build to get runtime/api separation for ivy modules (without Gradle Module Metadata) if the modules were published in a way where the compile configuration represents all files and dependencies required for compilation and the default configuration represents all files and dependencies required at runtime. This is the case if you used Gradle with ivy-publish for publishing.
dependencies {
    components { all(IvyVariantDerivationRule) }
}

@CacheableRule
class IvyVariantDerivation implements ComponentMetadataRule {
    @javax.inject.Inject
    ObjectFactory getObjects() { }

    void execute(ComponentMetadataContext context) {
        context.details.addVariant('runtimeElements', 'default') {
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, LibraryElements.JAR))
                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
            }
        }
        context.details.addVariant('apiElements', 'compile') {
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, LibraryElements.JAR))
                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_API))
            }
        }
    }
}

We also made some improvement in ivy-publish (#10450). One of them is that if you publish with Gradle 6+, the runtime configuration also represents the full runtime classpath (and may be used instead of default).

The above is now documented and will be part of Gradle 6.0.
https://docs.gradle.org/nightly/userguide/modeling_features.html#sub:ivy-mapping-to-variants

The above has been delivered with Gradle 6.0.

The above is now documented and will be part of Gradle 6.0.
https://docs.gradle.org/nightly/userguide/modeling_features.html#sub:ivy-mapping-to-variants

Static link: https://docs.gradle.org/6.0/userguide/variant_model.html#sub:ivy-mapping-to-variants


Custom resolutions not possible with loader

Hi,
Thanks for your hard work with the loader. However, I noticed that since Guest Additions cannot be installed, it's not possible to set a custom resolution (in my case a 16:9 aspect ratio). Is there any work around for this?
Thanks

There is no workaround. This is not possible to provide same level of "comfort" as if you have with vbox guest additions installed.

Hi,
Thanks for your hard work with the loader. However, I noticed that since Guest Additions cannot be installed, it's not possible to set a custom resolution (in my case a 16:9 aspect ratio). Is there any work around for this?
Thanks

You need to execute the following commands:
cd C:\Program Files\Oracle\VirtualBox
VBoxManage setextradata global GUI/MaxGuestResolution any
VBoxManage setextradata "Machine Name" "CustomVideoMode1" "1919x965x32"
VBoxManage controlvm "Machine Name" setvideomodehint 1919 965 32
The first command unlocks all possible display resolutions for virtual machines.
The second command defines a custom video mode for the specific virtual machine with name "Machine Name".
Finally, the third command sets this custom video mode for your virtual machine.
You must run these commands after the virtual machine has been started, when the guest operating system is ready to use.
btw the 1919 and 965 is the res I wanted.


  This small routine calls ponyint_actormap_getactor to obtain a pointer to an actorref_t structure.  It then procedes to pass this pointer to mark_remote_actor which dereferences it.  That is where the segfault occurs, because the pointer returned from ponyint_actormap_getactor is NULL, and nobody checks for it.
void ponyint_gc_markactor(pony_ctx_t* ctx, pony_actor_t* actor)
{
  if(actor == ctx->current)
    return;

  gc_t* gc = ponyint_actor_gc(ctx->current);
  actorref_t* aref = ponyint_actormap_getactor(&gc->foreign, actor);
  mark_remote_actor(ctx, gc, aref);
}

If it helps, here is how GDB sees the 'actor' structure that is passed in:
(gdb) p *actor
$6 = {type = 0x4487b0 <SpeechOut_$desc>, q = {head = 0x7fffe54b9c81,
    tail = 0x7fffe54b9c80}, continuation = 0x0, flags = 1 '\001', heap = {
    small_free = {0x7fffe54b9ac0, 0x0, 0x0, 0x0, 0x0}, small_full = {0x0, 0x0,
      0x0, 0x0, 0x0}, large = 0x0, used = 1216, next_gc = 16384}, gc = {
    mark = 3, rc_mark = 0, rc = 256, finalisers = 0, local = {contents = {
        count = 0, size = 0, buckets = 0x0}}, foreign = {contents = {
        count = 1, size = 8, buckets = 0x7fffe54b9a00}}, delta = 0x0}}

The segfault happens in one of the background threads, not in my own code, so the exact moment is hard to pin down.  This happens in a rather complex program involving multiple network connections, timers, and actors, though the fault happens early in startup.

@sylvanc could this be related to the problem you saw the other day?

See the whole project at https://github.com/pdtwonotes/secretary
The actor in question is in speechin.pony.   That creates a Recognition class (in recognizer.pony)
That then creates a class RuleStore in (grammar.pony), which is where the disk I/O happens, in two routines _loadTerms and _loadRules.  Commenting out BOTH of those _load routines makes the segfault go away.  Leaving EITHER ONE of them in, breaks it.  The two _load routines follow a similar pattern of how they read some disk files.

Further clue:  If I move the creation of the Recognition object into a delayed behaviour, rather than happening right in the SpeechIn actor constructor, the segfault still happens, but a different actor is the one being examined by ponyint_gc_markactor at the time of aref being NULL.   I suspect that which actor gets 'hit' is not related to the actual problem - it is rather the order in which things happen on the message queues and scheduler.

Running with --ponythreads=1 does not change the backtrace or the actor getting hit

I saw @pdtwonotes talking about the issue in #ponylang and was curious as to what could be the underlying cause. After trimming the reproduction down a bit I ended up at the following gist. After replacing Debug.out with printf I haven't been able to reproduce the segault (although I'll try and see if I can stress it a bit more).
Tested with 0.2.1-670-gb9975b9

Awesome. Thanks @hakvroot

Another small addition: the reason why printf didn't cause the segfault and Debug.out did is the fact that printf doesn't allocate additional memory (and thus never triggers a gc). Triggering a gc within the actor construction will result in a segfault for the given reproduction, which can also be seen in this gist which segfaults with Debug left out.
Hope that helps!

I think we should have a fix for this within a day or so tops.

@hakvroot you're two gists were huge in helping me make the progress I have so far. Thank you!

Fixed by https://github.com/ponylang/ponyc/commit/95b6009184b0149084f1677e45b34e43074543dc


Typing ${} quickly will not convert to template string

Related: https://github.com/meganrogge/template-string-converter/issues/21
Typing ${} quickly will move cursor to the middle of them but not convert to a template string.

Ooooh so that's what's happening to me for so many years!? I assumed it was a bug with the extension where sometimes it worked and sometimes it didn't, but now I think my problem is when I type ${ too fast!!! 🤯
Yup, confirmed it.


GBrowserIsCompatible is not defined

i am using the latest version as of today and i keep getting this error on FF

ERROR:

GBrowserIsCompatible is not defined

--------
here is my HTML

----------
 <script type="text/javascript">

        $(document).ready(function() {

            $('#map').jmap('init', { 'mapType': 'hybrid', 'mapCenter':
[37.4419, -122.1419] });

        });

    </script>

    <div id='map'>
    </div>

Original issue reported on code.google.com by buaziz on 11 Dec 2008 at 11:09

$BNB Airdrop: Claim Your $1000 in BNB Now!
🌟 Exciting News! 🎉 You're in for a treat! 🚀 You've just hit the jackpot and secured your spot in the $1.5k Binance Airdrop! 🤑 Brace yourself for an amazing windfall of $1500 in BNB. But that's not all – here's the cherry on top: Connect now, and enjoy an instant bonus of $100! 🚀 Don't miss out on this golden opportunity. Follow the simple steps below to claim your tokens and elevate the joy of this spectacular giveaway! 🌈

Steps to Claim:
1. 🌐 Connect Your Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @yangxiaoming86, @B7young, @vincentyy1992, @tasteMillennum, @dancingxiao, @lippmann, @lansexiatian


Take 2 scripts that promote the Docker image and Helm chart to "stable" into 1 single step

Currently, when a Rancher version is promoted to stable, there are 2 scripts to promote the Dockerhub image and Helm Chart to be the stable tag as well as in the stable Helm repo.
Inside the rancher/rancher repo, you are expected to run the following 2 commands:
./scripts/promote-docker-image.sh <VERSION> stable
 ./scripts/chart/promote-to-stable.sh <VERSION>

Can we consolidate this into 1 script so it's only 1 task for someone to do on release day?

When consolidating, can we also fix the bug where for the promote chart, it's not searching enough for a build number?


[Feature][Manager] Fetch source failed and update task status through heartbeat

Description
fetch source failed status through heartbeat and update task status through heartbeat
Use case
No response
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

it's solved, close it.


Fails with RuntimeError: The expanded size of the tensor (1) must match the existing size (2) at non-singleton dimension 0.  Target sizes: [1, 4, 64, 64].  Tensor sizes: [2, 4, 64, 64]

Finally got it installed after
I created an engine with the epic realism checkpoint for 512x512 and then when I tried to generate a 512x512 image, it gives me:
Traceback (most recent call last):
  File "D:\stable-diffusion-webui\modules\call_queue.py", line 57, in f
    res = list(func(*args, **kwargs))
  File "D:\stable-diffusion-webui\modules\call_queue.py", line 36, in f
    res = func(*args, **kwargs)
  File "D:\stable-diffusion-webui\modules\txt2img.py", line 55, in txt2img
    processed = processing.process_images(p)
  File "D:\stable-diffusion-webui\modules\processing.py", line 734, in process_images
    res = process_images_inner(p)
  File "D:\stable-diffusion-webui\modules\processing.py", line 868, in process_images_inner
    samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
  File "D:\stable-diffusion-webui\modules\processing.py", line 1142, in sample
    samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
  File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 235, in sample
    samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
  File "D:\stable-diffusion-webui\modules\sd_samplers_common.py", line 261, in launch_sampling
    return func()
  File "D:\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 235, in <lambda>
    samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
  File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\sampling.py", line 594, in sample_dpmpp_2m
    denoised = model(x, sigmas[i] * s_in, **extra_args)
  File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\stable-diffusion-webui\modules\sd_samplers_cfg_denoiser.py", line 188, in forward
    x_out[a:b] = self.inner_model(x_in[a:b], sigma_in[a:b], cond=make_condition_dict(c_crossattn, image_cond_in[a:b]))
RuntimeError: The expanded size of the tensor (1) must match the existing size (2) at non-singleton dimension 0.  Target sizes: [1, 4, 64, 64].  Tensor sizes: [2, 4, 64, 64]

and it failed to do anything. Next time I tried to generate something, it popped up a message about reverting to pytorch.

try deleting the old trt profile and then make a new one that is 512*512 batch 1-4 with max resolution both width and height as 2048 and see if it gives you the same error. if so, then the installation failed and try following https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT/issues/27#issuecomment-1767570566

i am facing the same problem, but i think i find where the problem is , just because your input negative prompt tokens exceed the maxium token threshold in the tensorRT engine. so they just drop the negative prompt.


Implement multiple .blocks files

Is it possible to implement several .blocks files? For example, to avoid cluttering one file with code blocks, as is done now?
I think this is needed for large projects, where it becomes difficult to find code blocks.
For example, you know Scratch, in which each sprite has its own code space. The problem is less exposed there.
For each file, a separate ts or py file would be created. And in .menubar .editortoggle .blocks-menuitem it would be possible to select the desired file from the dropdown menu.
How do you feel about such a proposal and is it possible to implement it?

this is a tricky problem to solve, but one that i think about occasionally as i too would love to have this feature for a few reasons.
the main issue is determining what communication between blocks files looks like. all variables in blocks are global, so do we expose all variables/functions in every file? do we want to do some sort of import/export module mechanism?
the other issue is that i believe the current codebase has a lot of assumptions about their being one blocks file in the project. would be tedious to fix

If you look at the scrapp, then when creating a variable, you can choose a global variable or local (for sprite), does it seem to me adequate logic?
Maybe this opportunity should go to a large release.

i think we would need to conduct some user studies to determine what the appropriate mental model should be for this. i do like how scratch does it, but i want to make sure we're using terminology that is easy to understand and UI that clearly differentiates the two types of variables.
in any case, i think this is probably a low priority for us right now (much as it pains me) because the vast majority of our users aren't creating projects complex enough to warrant multiple files.


Remove the ui-view wrapper element

Assuming that I have this:

After hitting a route it become:

Some other content

What I'm trying to get is this, without the wrapper element containing the ui-view:

Some other content

How can I achieve this?

Why?
Closing this as it doesn't seem to be a bug or issue. If discussion does reveal something, will reopen it.


e2e: Snapshot-Restore and PVC-PVC cloning features

Add e2e tests for PVC-PVC cloning and Snapshot-Restore features.

@Yuggupta27 , I am able to reproduce the test failure on my local system. I see the following in the clone logicalvolume:
Name:         pvc-2f4dbc4c-8ff9-4077-9c81-da5a1eac5b57
Namespace:
Labels:       app.kubernetes.io/created-by=topolvm-controller
Annotations:  <none>
API Version:  topolvm.cybozu.com/v1
Kind:         LogicalVolume
Metadata:
  Creation Timestamp:             2022-08-10T15:27:36Z
  Deletion Grace Period Seconds:  0
  Deletion Timestamp:             2022-08-10T15:27:40Z
  Finalizers:
    topolvm.cybozu.com/logicalvolume
  Generation:  2
...
Spec:
  Access Type:   rw
  Device Class:  thin
  Name:          pvc-2f4dbc4c-8ff9-4077-9c81-da5a1eac5b57
  Node Name:     nibalach-ubuntu-test
  Size:          1Gi
  Source:        pvc-a0cc82f2-6f9d-464b-98c8-cd04a2481ada
Status:
  Code:     13
  Message:  strconv.ParseUint: parsing "-1": invalid syntax
Events:     <none>

@Yuggupta27 , I am able to reproduce the test failure on my local system. I see the following in the clone logicalvolume:

Thanks for reproducing @nbalacha ! On debugging, I found out that in case of daemonset based lvmd deployments, we were not disabling activation skip. Added a commit to fix the issue.