Provide License List in Downloadable Format

On the site
https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-service-plan-reference
Please make a CSV downloadable version of the data available.  The wide list inside a scroll box is very unfriendly to use and extracting the data for use in scripts or other purposes is inefficient at best.

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

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Azure AD
Content Source: articles/active-directory/enterprise-users/licensing-service-plan-reference.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @daveba
Microsoft Alias: daveba

@PortableTech Thank you for your feedback . We have assigned this to the author and would have this checked on how best the automation request can be processed.

@Nicholak-MS Could you please review this ask and update the thread. ?

I have an internal thread going here to see if this is possible or not. Waiting on a response there.

Hi @PortableTech  we are working on creating a new csv download of this information and I a working draft of what this would look like. Before sharing more broadly would love to get your feedback on the download and the structure of the file. You can download the CSV here.
https://download.microsoft.com/download/e/3/e/e3e9faf2-f28b-490a-9ada-c6089a1fc5b0/Product names and service plan identifiers for licensing v9_21_2021.csv
Please let me know your thoughts. Once we have a good state I will add a reference to this file on the online document.
Thanks, Nick

This is much more useful and your efforts are greatly appreciated.
Douglas Morris
On Tue, Sep 21, 2021 at 4:16 PM Nicholak-MS @.***>
wrote:

Hi @PortableTech https://github.com/PortableTech we are working on
creating a new csv download of this information and I a working draft of
what this would look like. Before sharing more broadly would love to get
your feedback on the download and the structure of the file. You can
download the CSV here.
https://download.microsoft.com/download/e/3/e/e3e9faf2-f28b-490a-9ada-c6089a1fc5b0/Product names and service plan identifiers for licensing v9_21_2021.csv
Please let me know your thoughts. Once we have a good state I will add a
reference to this file on the online document.
Thanks, Nick
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/74487#issuecomment-924350726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7XZH6R23VJM4UJGLGQEJLUDDR2FANCNFSM43XGOBVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Excellent, thanks for taking a look and confirming it will be helpful. We will be looking to publish a public pointer on the doc with the table in the near future, but you can continue to use as is with the link above in the interim.
Thanks, Nick

Hi Douglas,
Wanted to let you know that the download link pointing to this CSV file is now published on the document at: https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-service-plan-reference
As changes are made to the online document so will corresponding changes be made to the CSV file. Thank you for your help and feedback in getting this live.
I will now be closing this item.
Thanks
Nick
#please-close

Just an FYI, between the one you sent me initially and the one you
published online you changed the delimiter from a comma to a semicolon.
This will make it not natively read in Excel or import via Powershell.  Not
too hard to fix, but I would suggest you go back to the comma delimiter
unless there is a compelling reason for the change.
Doug
On Thu, Sep 23, 2021 at 1:15 PM Nicholak-MS @.***>
wrote:

Hi Douglas,
Wanted to let you know that the download link pointing to this CSV file is
now published on the document at:
https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-service-plan-reference
As changes are made to the online document so will corresponding changes
be made to the CSV file. Thank you for your help and feedback in getting
this live.
I will now be closing this item.
Thanks
Nick
#please-close
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/74487#issuecomment-926003866,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7XZH2VMS5LPO3WQLFS4D3UDNOCLANCNFSM43XGOBVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hey Doug,
The reason for the change was because we realized there were some columns in the list that have commas in the values so it was breaking those rows. But if this breaks PowerShell that isn't a good outcome either. When I open the semi-colon file in Excel it does render but this could be because in my regional settings I set semi colon as the default delimiter. But it sounds like this won't be the best solution. I might just have to remove the commas from the values in the file if this does indeed break PowerShell.
Thanks
Nick

Easier solution as this does come up, you just encase your data in Quotes
"NAME OF LICENSE", "GUID", "ETC", "Last bit of data"
Doing the quotes will allow you to keep the commas in the text while still
allowing a comma delimiter.
Doug
On Thu, Sep 23, 2021 at 4:07 PM Nicholak-MS @.***>
wrote:

Hey Doug,
The reason for the change was because we realized there were some columns
in the list that have commas in the values so it was breaking those rows.
But if this breaks PowerShell that isn't a good outcome either. When I open
the semi-colon file in Excel it does render but this could be because in my
regional settings I set semi colon as the default delimiter. But it sounds
like this won't be the best solution. I might just have to remove the
commas from the values in the file if this does indeed break PowerShell.
Thanks
Nick
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/74487#issuecomment-926116917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7XZH47IS5GLIVG5ITHVD3UDOCIPANCNFSM43XGOBVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks Doug, appreciate the suggestion, I am investigating further.

Hey Doug, new file published, can you see if that one is working for you?
Thanks,
Nick

Sorry, went on leave for a while, this looks great, thanks for your efforts.
Doug
On Thu, Sep 23, 2021 at 5:52 PM Nicholak-MS @.***>
wrote:

Hey Doug, new file published, can you see if that one is working for you?
Thanks,
Nick
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/74487#issuecomment-926189167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7XZH6YXXINY33LRIUKU4DUDOOQFANCNFSM43XGOBVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Awesome, thanks for confirming!


How can gulp match template variable like ${x} in files paths when use gulp-rev to add md5?

All my pages are .jsp format, I import static js && css resources like below:
<link rel="stylesheet" type="text/css" href="${url_resources}/css/commQuery/commQuery.css">
<script type="text/javascript" src="${url_resources}/js/jquery.min.js"></script>

When I use gulp-rev && gulp-rev-collector to add md5(version No.) for these resources, it doesn't work since the path include ${url_resources}, is there any way to set this ${url_resources} template variable？

This is a gulp-rev issue, not a gulp issue - ask there for support, or Stack Overflow.


Add ServiceAccount and CRB reconciliation for Kserve Raw

Description

Fixes : https://issues.redhat.com/browse/RHOAIENG-10291, https://issues.redhat.com/browse/RHOAIENG-13444
Added logic to create kserve-sa ServiceAccount for kserve raw, and create a CRB for auth delegation. This is needed for oauth proxy for kserve raw.
Test with : https://github.com/opendatahub-io/kserve/pull/419
How Has This Been Tested?

Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

Please sign the commit.

Is this ready for review? Looks like still in draft.

@terrytangyuan yes marked as ready for review

hey @VedantMahabaleshwarkar where are the unit test for this feature

https://github.com/opendatahub-io/odh-model-controller/pull/274/files#diff-879306cf12962e807b6e44b8ca651a940ed20a6ca8372ed0bdb21f752a385323R21
@mwaykole

There are still some comments not addressed from @israel-hdez plus the failing test.
/approve

There are still some comments not addressed from @israel-hdez plus the failing test.

@spolti 2 comments from edgar pending are about import sort, not sure why but that's how goland is sorting the imports for me even if I manually rearrange.
About the failing unit test,
This is what the logs are showing
FAIL	github.com/opendatahub-io/odh-model-controller/controllers	0.040s
=== RUN   TestAPIs
Running Suite: Resources Suite
==============================
Random Seed:<PHONE_NUMBER>
Will run 7 of 7 specs
•••••••
Ran 7 of 7 Specs in 0.010 seconds
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 0 Skipped

Not sure what the failure is, it says 0 Failed as well

There are still some comments not addressed from @israel-hdez plus the failing test.

@spolti 2 comments from edgar pending are about import sort, not sure why but that's how goland is sorting the imports for me even if I manually rearrange.
About the failing unit test, This is what the logs are showing
FAIL	github.com/opendatahub-io/odh-model-controller/controllers	0.040s
=== RUN   TestAPIs
Running Suite: Resources Suite
==============================
Random Seed:<PHONE_NUMBER>
Will run 7 of 7 specs
•••••••
Ran 7 of 7 Specs in 0.010 seconds
SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 0 Skipped

Not sure what the failure is, it says 0 Failed as well

There is a nil pointer happening around here:
/go/src/github.com/opendatahub-io/odh-model-controller/controllers/kserve_raw_inferenceservice_controller_test.go:25 +0xde
--- FAIL: TestAPIs (0.01s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1af059e]
goroutine 46 [running]:
testing.tRunner.func1.2({0x1cf5060, 0x3705c00})
	/usr/local/go/src/testing/testing.go:1545 +0x238
testing.tRunner.func1()
	/usr/local/go/src/testing/testing.go:1548 +0x397
panic({0x1cf5060?, 0x3705c00?})
	/usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/opendatahub-io/odh-model-controller/controllers.glob..func6.1({0x0, 0x0}, {0x2070183, 0x38})
	/go/src/github.com/opendatahub-io/odh-model-controller/controllers/kserve_raw_inferenceservice_controller_test.go:25 +0xde
github.com/opendatahub-io/odh-model-controller/controllers.glob..func6.4()
	/go/src/github.com/opendatahub-io/odh-model-controller/controllers/kserve_raw_inferenceservice_controller_test.go:56 +0x44
github.com/onsi/ginkgo/internal/suite.(*Suite).PushContainerNode(0xc000871d50, {0xc00011e390, 0x2b}, 0xc000c941a0, 0x0, {{0x2b6cc56, 0x71}, 0x37, {0xc000b1d0[80](https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/opendatahub-io_odh-model-controller/274/pull-ci-opendatahub-io-odh-model-controller-main-unit/1856378018981744640#1:build-log.txt%3A80), 0x56a}})
14 skipped lines...
	/go/src/github.com/opendatahub-io/odh-model-controller/controllers/suite_test.go:102 +0x3c
testing.tRunner(0xc000471860, 0x212a[82](https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/opendatahub-io_odh-model-controller/274/pull-ci-opendatahub-io-odh-model-controller-main-unit/1856378018981744640#1:build-log.txt%3A82)0)
	/usr/local/go/src/testing/testing.go:1595 +0xff
created by testing.(*T).Run in goroutine 1
	/usr/local/go/src/testing/testing.go:1648 +0x3ad
FAIL	github.com/opendatahub-io/odh-model-controller/controllers	0.040s

the unit test failure is weird, and not an actual failure IMO, more of a timeout issue.
the odh-model-controller logs from the test output show
2024-11-21T14:19:58Z	DEBUG	controllers.InferenceService-controller	Deleting ClusterRoleBinding object for target namespace	{"InferenceService": "example-onnx-mnist", "namespace": "test-ns-gmwss"}

Timed out after 20.001s.
Unexpected error:
    <*errors.errorString | 0xc00066b780>:
    crb deletion not detected
    {
        s: "crb deletion not detected",
    }
occurred

but the client.get call doesn't return an error before the timeout. Testing on an actual cluster I verified the CRB gets deleted as a part of the isvc cleanup

Even if it is not a real issue, it is related to the changes introduced by this pull request, we need to fix it, otherwise we will have this issue in all other PRs after this gets merged.


Heighten amount of Warning around Lets Encrypt Limits

I'm definitely not the first person to run into this and I definitely won't be the last.
Being in a situation in which you've expended all your certificate issuance for a variety of your application domains is extremely frustrating. This may be because you had to relaunch the container multiple times to test new feautures, breakage, or whatever else. When this happens, you either have to change the domain your application is accessed with (and CNAME) or go without SSL/TLS (unless you purchase a cert), which are both terrible options.
This just bit me today because of the changes @abiosoft made around the tagged images for the last few versions. You can see below that the locations of certificates inside the containers has changed twice in the past 4 versions of caddy.

0.9.0 - /root/.caddy
0.9.1 - /home/caddy/.caddy
0.9.2 - /home/caddy/.caddy
0.9.3 - /root/.caddy

Although, I don't understand why this was necessary, he does seem to keep the readme updated. However, this doesn't mean much if the information about which directory cert/keys are kept in is the last entry at the far bottom of the readme ;(
Additionally, I feel that on every tag, a github release should be cut with details about possible differences and things to watch out for. I know this isn't an "official" image but its popular enough (and used in semi-prod envs) to be dangerous if not fully understood.
This PR moves up the information about how to approach bind-mounting this directory and adds a quoted section reminding the user of what could happen. This needs to be at the forefront of every tag to ensure people upgrading in the future don't get bit by this.

Now that I think about it, it may be worthwhile to actually list the main limits people are going to actually care about i.e. number of certs per week and number of certs from same ip.

@InAnimaTe I had to reverse the change as it is causing too many troubles for users. Sorry.
Since CADDYPATH environment variable can be set to override where the certs are stored, I think we can add that to the docs as well. Do you mind adding that ?
Thanks.

Great idea! I've added a blurb about how to do that ;)

Thanks for this. 👍


Language Client to should log stderr on launch failures

There was a issue with one of the libraries we use for Jedi language server. The error object that we got from client.start() did not have the right info the diagnose the problem. The problem was reported to stderr, and that was captures it would have been easier to diagnose.

I do this for all code paths except when the server options is a function and the extension author is responsible for starting the server. See https://github.com/microsoft/vscode-languageserver-node/blob/56baebb47543d6adf868c523ed63c2e8ef9b9eb4/client/src/node/main.ts#L248
How do you start the server?

We create it using the command and args server options:
https://github.com/microsoft/vscode-python/blob/92d2d853e41bae2fe5044a6fb782fbde3f7a04f6/src/client/activation/jedi/languageClientFactory.ts#L18-L32
This is where we call client.start():
https://github.com/microsoft/vscode-python/blob/92d2d853e41bae2fe5044a6fb782fbde3f7a04f6/src/client/activation/jedi/languageServerProxy.ts#L55-L64
The exception that we got back did not contain any content from stderr.
This is the error that we got by default:
Unhandled Promise Rejection with the message Error: Pending response rejected since connection got disposed, Error, Pending response rejected since connection got disposed, Error: Pending response rejected since connection got disposed
    at Object.dispose (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2010343)
    at Object.dispose (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2062116)
    at w.handleConnectionClosed (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2062394)
    at w.handleConnectionClosed (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2217075)
    at /home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2062204
    at invoke (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2012056)
    at o.fire (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2012821)
    at Z (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:1998699)
    at invoke (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2012056)
    at o.fire (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2012821)
    at fireClose (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2020641)
    at Socket.<anonymous> (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2022197)
    at Socket.emit (node:events:538:35)
    at Pipe.<anonymous> (node:net:687:12)

I had to manually launch the server and capture the stderr, I was expecting this info to be available somewhere
stderr: Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/pythonFiles/run-jedi-language-server.py", line 9, in <module>
    from jedi_language_server.cli import cli
  File "/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/pythonFiles/lib/jedilsp/jedi_language_server/__init__.py", line 9, in <module>
    __version__ = version("jedi-language-server")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 1008, in version
    return distribution(distribution_name).version
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line [981](https://github.com/microsoft/vscode-python/actions/runs/4058684315/jobs/6985942719#step:3:995), in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for jedi-language-server

ERROR: Error: Command failed: /opt/hostedtoolcache/Python/3.11.1/x64/bin/python /home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/pythonFiles/run-jedi-language-server.py
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/pythonFiles/run-jedi-language-server.py", line 9, in <module>
    from jedi_language_server.cli import cli
  File "/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/pythonFiles/lib/jedilsp/jedi_language_server/__init__.py", line 9, in <module>
    __version__ = version("jedi-language-server")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 1008, in version
    return distribution(distribution_name).version
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for jedi-language-server

    at ChildProcess.exithandler (node:child_process:408:12)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Socket.<anonymous> (node:internal/child_process:451:11)
    at Socket.emit (node:events:526:28)
    at Pipe.<anonymous> (node:net:687:12)
Unhandled Promise Rejection with the message Error: Pending response rejected since connection got disposed, Error, Pending response rejected since connection got disposed, Error: Pending response rejected since connection got disposed
    at Object.dispose (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2010529)
    at Object.dispose (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2062302)
    at w.handleConnectionClosed (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2062580)
    at w.handleConnectionClosed (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2217261)
    at /home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2062390
    at invoke (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2012242)
    at o.fire (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2013007)
    at Z (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:1998885)
    at invoke (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2012242)
    at o.fire (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2013007)
    at fireClose (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2020827)
    at Socket.<anonymous> (/home/runner/work/vscode-python/vscode-python/tmp/ext/smokeTestExtensionsFolder/out/client/extension.js:2:2022383)
    at Socket.emit (node:events:538:35)
    at Pipe.<anonymous> (node:net:687:12)

Then you should go through this code: https://github.com/microsoft/vscode-languageserver-node/blob/56baebb47543d6adf868c523ed63c2e8ef9b9eb4/client/src/node/main.ts#L465
The stderr should be printed to the output channel using one of these lines: https://github.com/microsoft/vscode-languageserver-node/blob/56baebb47543d6adf868c523ed63c2e8ef9b9eb4/client/src/node/main.ts#L470
Can you debug the client and see if any of the serverProcess.stderr.on('data' will be hit in our case?

@dbaeumer the output channel certainly has that data. But when running in CI there is no easy way to see this. What do you suggest? Is there a way to get client to log to console as well as output channel?


Disable custom 2D separable filtering kernels on windows

We currently bundle some custom 2D convolution kernels not present in CuPy. We have additional testing of these internel kernels, but I found that on the Windows platform a subset of these tests currently fail.
This MR disables auto-selection of these kernels on the Windows platform (will always fall back to CuPy's cupyx.scipy.ndimage kernels in this case). The test cases that are currently known to fail are skipped for now on Windows. Longer term it would be good to resolve the issues with the kernels, restore the test cases and enable use of these kernels on Windows.

Thanks Greg! 🙏
Can you please write up the test failure in a new issue so we have that for future reference?

uploaded the test failures in #771

@jakirkham, please approve if there are no further comments

/merge

Thanks for the ping Greg! 🙏
Missed the update


Add Single Fold to Paper

A separate feature request has been made that damages the paper with a crumpled / wrinkled effect (see #17).  This request, however, starts with a simpler problem: a single fold.
The effect is characterized by the following:

a small amount of affine warp at the fold
bands of darkness and brightness aligned with the dip and rise of the fold's mesh

The complexity here is creating a nice fold (either inward or outward) with any kind of ridge definition (most obvious in the last image in the set of examples).  I propose for the scope of this first issue relating to 3D transformations would be to keep it simple and not attempt to create hard-creased edged but instead focus on smoother folds like the first couple example images.

This feature was also in my mind and I would like to work on it in my next PR.

@shaheryar1 Have you had a chance to work out some ideas for generating random 2D maps that simulate these 3D effects?  If so, can you share a code branch where you are working on this so that other can provide feedback and ideas?
DocCreator's 3D transforms use a library of 3D meshes that warp the document and apply a ray casting type shader.  However, that method is substantially more complicated than what is needed to emulate the intended effects.  If we can use simpler transforms, then we can maintain higher performance and more maintainable code.
For example, we can start with just the affine warps and worry about the variable brightness as a secondary concern.  For the warp, we have to start with just the question of how we create the 2D transformation map (without actually adding a 3rd dimension for the depth/altitude of the positional shift, which would be used for relative darkness/brightness based on direction of light source).
As parameters to generating the 2D mesh, I figure we might randomize things like the gradient (angle of ascent/descent), intensity (max peak/valley), angle of fold's central line relative to page -- there are probably better params and names than these.
But, I'm not sure how one would create 2D masks using math functions or these params.  Do you or others have some ideas?

In addition to the scikit-image affine warp implementation mentioned in the issue, we might borrow ideas from Albumentations implementation of elastic warp transform.

@shaheryar1  are you still working on this? Otherwise i will look further on how to implement this. Actually i think it will be better if we avoid those 3D meshes, it would be much more complicated with that. Affine warp should be able to do something like this, but definitely need more work if we want to make it looks natural.

The affine warp requires a 2D "mesh" of sorts.  Basically, the mesh represents the "before" and "after" positions of key points fed into the warp processing.
If we get to adding lighting or differing brightness/darkness levels, then a 3rd dimension of the mesh will be required to represent a "z index".  But, we will want to get the warp functional before worrying with brightness or darkness.
@shaheryar1 is going to work on #13 first. So @kwcckw, feel free to work on an implementation of this feature and we can all collaborate on a solution based on the results of your initial experiments.

I researched on this and there wasn't much literature I found on this. For initial experiments, I thought to try applying 2-D affine transformation on sub-part of the image i:e on straight vertical/horizontal line with 5-10 pixel width. But did not got a chance to try this approach. @kwcckw  you can try this idea to kick start this.

I researched on this and there wasn't much literature I found on this. For initial experiments, I thought to try applying 2-D affine transformation on sub-part of the image i:e on straight vertical/horizontal line with 5-10 pixel width. But did not got a chance to try this approach. @kwcckw you can try this idea to kick start this.

Thanks, from the suggestion by @jboarman , i'm thinking to try grid distortion and elastic transform from here:
https://github.com/albumentations-team/albumentations
Possibly the combination of them as well.

This is the result from 2 affine transform:

Looks like we need further lighting related processing to make it looks more natural.

That’s a great first start.  Can you share your code in some way?  As a Colab notebook would be ideal, but even as a gist would be OK.
To get the lighting, we have to translate the implied mesh into a mask that we add to to the warped image.  So, for each position, we are either descending or ascending, and the value is therefore a positive or negative number.  Adding that layer to the base, ensuring a pixel does not go below 0 or above 255, will then darken or lighten the image.
For a simple BW image like that example, we’ll only see darkening.  Direction of lighting can be dealt with later.

That’s a great first start. Can you share your code in some way? As a Colab notebook would be ideal, but even as a gist would be OK.
To get the lighting, we have to translate the implied mesh into a mask that we add to to the warped image. So, for each position, we are either descending or ascending, and the value is therefore a positive or negative number. Adding that layer to the base, ensuring a pixel does not go below 0 or above 255, will then darken or lighten the image.
For a simple BW image like that example, we’ll only see darkening. Direction of lighting can be dealt with later.

Okay, but i need to figure out the general function to shift the image after the transformation first, and google colab should be good enough to test the code.

Here is the draft of the code in google colab:
https://drive.google.com/drive/folders/1t4UBurLbD-asR9NvERhoOVQSnkgKyrL0?usp=sharing
I added some noises and we are able to fold 2 locations too:
1 folding:

multiple foldings:

I think it looks much more better now with the noises.

This is a great starting point.  We should go ahead and proceed with creating a PR based on this implementation since it is viable as it is now.  We should continue to track this as an open issue, or split out a V2 for a more advanced semi-3D implementation down the road, but this is great as it is now.
What parameters do you see that we should randomize for this version of the implementation?
Some ideas for options and potential default values:

fold_count = [0,1,2,3] - randomly selected # of folds on page
orientation = [90, 45, 0, (35, 55)] - angle of fold's central line relative to page; where tuple represents a fluid range of angle values
orientation_jitter = 10 - degrees of fold angle variation
fold_noise = 0.5 - intensity of noise from 0..1; should just embed some level of jitter in this as I don't think it's necessary to parameterize noise jitter
gradient_width = 0.01 - simplistic measure of the space affected by fold prior to being warped (in units of percentage of width of page)
gradient_height = 0.01 - simplistic measure of depth of fold (unit measured as percentage page width)

This sample sketch below provides a half-baked concept for a gradient intensity measure.  This could very easily change in the future as we advance this feature, and we should not be afraid of breaking changes later with a feature that is so new.  I'm pretty open to how we parameterize that fold intensity measure as there are clearly lots of ways to handle that.

This is a great starting point. We should go ahead and proceed with creating a PR based on this implementation since it is viable as it is now. We should continue to track this as an open issue, or split out a V2 for a more advanced semi-3D implementation down the road, but this is great as it is now.

Okay, i will put it up as a draft and create a pull request later once we finalized the parameters below.

What parameters do you see that we should randomize for this version of the implementation?
Some ideas for options and potential default values:
* `fold_count = [0,1,2,3]` - randomly selected # of folds on page

Yes, i think randomly would be better instead of let user specify the folding x location. Also actually we can create folding effect at the edges of image too, so that it would looks like curling up or down:

* `orientation = [90, 45, 0, (35, 55)]` - angle of fold's central line relative to page; where tuple represents a fluid range of angle values

* `orientation_jitter = 10` - degrees of fold angle variation

I need to think about this and test a bit first, since it might not be straight forward to create diagonal lines. One of the workaround is to rotate the image and fold them multiple times, for example:

But do take note right now there's artifacts (in red circle) from the perspective transformation, which I haven't check on the possible workaround yet.

* `fold_noise = 0.5` - intensity of noise from 0..1; should just embed some level of jitter in this as I don't think it's necessary to parameterize noise jitter

Yea, just noise should be sufficient. I think level of noises should be controlled by how far the noise from the center of the folding, and right now the code is doing that, where the noise is heaviest at the center of folding.

* `gradient_width = 0.01` - simplistic measure of the space affected by fold prior to being warped (in units of percentage of width of page)

* `gradient_height = 0.01` - simplistic measure of depth of fold (unit measured as percentage page width)

This sample sketch below provides a half-baked concept for a gradient intensity measure. This could very easily change in the future as we advance this feature, and we should not be afraid of breaking changes later with a feature that is so new. I'm pretty open to how we parameterize that fold intensity measure as there are clearly lots of ways to handle that.

Yes, i think this should be feasible, where gradient width would be the folding x length while gradient height would be the distortion in depth . And right now the algorithm is using 2 transforms, at left and right side of the folding:

It could be smoother with more than 2 transforms:

So at this point, do you think we need this kind of complexity?

It could be smoother with more than 2 transforms .... So at this point, do you think we need this kind of complexity?

Regarding your last question, I think 2 transforms is good enough for V1 of this augmentation.  Taking it further would likely consider some semi-3D aspects and direction of light source etcetera that will require more thought and not worth it for where we are with the library.
Also, regarding the folds at arbitrary angles, that too can be deferred to a future date since it's not truly necessary for a V1 implementation.  It's something we can improve later as needed.

It could be smoother with more than 2 transforms .... So at this point, do you think we need this kind of complexity?

Regarding your last question, I think 2 transforms is good enough for V1 of this augmentation. Taking it further would likely consider some semi-3D aspects and direction of light source etcetera that will require more thought and not worth it for where we are with the library.
Also, regarding the folds at arbitrary angles, that too can be deferred to a future date since it's not truly necessary for a V1 implementation. It's something we can improve later as needed.

Alright got it, thanks for the input.

This looks really good already, great work @kwcckw
I think the artifacts you circled above look pretty natural; the edge of the "page" looks clean except for the corner where it was folded, and the dark spots would appear when copied by a real scanner (see images in #13 ).
In the future, we can probably also approximate part of the "crumpled paper" effect I was thinking of in #17 by adding lots of these folds with small gradient widths and varying lengths (so the fold doesn't extend across the whole image).

This looks really good already, great work @kwcckw! Please submit a PR adding this augmentation.

Thanks, i just submitted the pull request, but still it might be buggy in some conditions, need to test further.

I think the artifacts you circled above look pretty natural; the edge of the "page" looks clean except for the corner where it was folded, and the dark spots would appear when copied by a real scanner (see images in #13 ).

Yea, the edges may look more natural if we apply perspective transform a few more times to smoothen it, but that probably would be overkill for now.

In the future, we can probably also approximate part of the "crumpled paper" effect I was thinking of in #17 by adding lots of these folds with small gradient widths and varying lengths (so the fold doesn't extend across the whole image).

Right, but the challenge i can see is how to make it looks natural, since if the fold doesn't extend across the whole image, there's a lot of work need to be done on the starting line of folding effect. Right now i still don't have a clear idea to address on this problem yet.

PR #28 has been merged.

For future reference, this Stack Overflow thread provides insight into some options that give us better mesh-oriented folds:
https://stackoverflow.com/a/53908416/764307


Use readable stream (DO NOT MERGE)

This is a copy of https://github.com/replicate/replicate-javascript/pull/202 to see if integration tests pass when a project owner commits a change instead of an external contributor

CI is suddenly working again on https://github.com/replicate/replicate-javascript/pull/202 🤔
Closing.


How to use decorators in babel7 ？

FIRST STEP
If I want to use decorators in my project. like this, there were some mistakes.
create-react-app version 2.1.1
"homepage"
import React from 'react';
import { connect } from 'react-redux';
const mapState = (state) => {
    const {user} = state;
    return {
        session: user && user.session,
    };
};

@connect(mapState)
export default class HomePage extends React.Component {
    render() {
        console.log(this.props.session)
        return (

                HomePage

        );
    }
}

".babelrc"
￼{
  "presets": ["react-app" ],
  "plugins": ["transform-decorators-legacy" ]
}

Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.
SECOND STEP
I change my file of .babelrc like this, there are also some mistakes. How can I to solve it ？
{
  "presets": [
    "react-app"
  ],
  "plugins": [
    ["@babel/plugin-proposal-decorators", { "legacy": true }],
    ["@babel/plugin-proposal-class-properties", { "loose" : true }]
  ]
}

import React from 'react';
import { connect } from 'react-redux';
const mapState = (state) => {
    const {user} = state;
    return {
        session: user && user.session,
    };
};

@connect(mapState)
 class HomePage extends React.Component {
    render() {
        console.log(this.props.session)
        return (

                HomePage

        );
    }
}
export default HomePage

Parsing error: Using the export keyword between a decorator and a class is not allowed. Please use export @dec class instead.
THIRD STEP
I change my file of  “homepage ” like this, it can work now . I don’t want to do this, but I want to write "export default class"  behind “@connect”，like this.
@connect(mapState)
export default class HomePage extends React.Component {

how can I to do？
please help me, thank you !

JavaScript does not support decorators yet. You must use TypeScript. Otherwise, follow the MobX guide to not relying on the WIP proposal.


linux: terminal font is cut off

Elementary OS Freya (based on 14.04)
1.70.0-insiders
The terminal font has changed. It seems to be too big for the line height chosen.

@aeschli do you have a font set in your settings?

@Tyriar No font settings. To verify I just ran code-insiders on a empty user-data-dir.
Not sure if that helps:

Similar issue on Fedora 26:

This only appears in the latest insiders build, not stable. Also no custom font set.

@jgillich if you can figure out what font it was before that would be great. Also what commit was the version you saw this one (in help > about)?

@Tyriar The font appears to be Liberation Mono, commit b0c0634339c6f64a5c7f08b56fe732fb9154d3c4.

The likely fix here is to allow the drawable area within a terminal grid cell to include the line height of the cell and then increase the line height in settings.

Duplicate https://github.com/Microsoft/vscode/issues/35901


Add Bluetooth Classic HID device support (IDFGH-3707)

I need Classic HID device support for a project and BLE will not work in my case. There is already Classic host and BLE device support but IDF is missing the Classic device feature. The pull request https://github.com/espressif/esp-idf/pull/3425 was put on hold until the new HID interface was ready and I am curious if the request (or any other implementation) would be good to go at this point.

Hi
Please use this BT_HID first if you have some problem to use this please leave your comment in that PR.
Thanks

Hi all,
We have almost done the HID Device component based on Classic BT and we decide to have more tests on it including the BQB test case suit. I promise here the feature shall release with IDF v4.4.
Thanks for your patience, we much appreciate it.

Hi all,
We have almost done the HID Device component based on Classic BT and we decide to have more tests on it including the BQB test case suit. I promise here the feature shall release with IDF v4.4.
Thanks for your patience, we much appreciate it.

Thanks for reporting, this has been implemented in https://github.com/espressif/esp-idf/commit/1c15c9207c0b161ef2afcb69f917ca40cf63e85e, and will be part of IDF v4.4 release, feel free to reopen.


Error can be seen while trying to upload a certificate from management console.

Steps to reproduce:

Login to the super tenant and navigate to Home > Manage > Keystores > List
Click on View icon of wso2carbon.jks
Go to the second page
Click on the Import Cert button at the top.

You can see the following error.
Error in managment console:

Error in wso2carbon.log:
[2019-08-19 15:33:12,030] ERROR {org.wso2.carbon.security.keystore.KeyStoreAdmin} -  Error has encounted while loading the keystore to the given keystore name null org.wso2.carbon.security.SecurityConfigException: Key Store not found 	at org.wso2.carbon.security.keystore.KeyStoreAdmin.getKeystoreInfo(KeyStoreAdmin.java:522) 	at org.wso2.carbon.security.keystore.service.KeyStoreAdminServiceImpl.getKeystoreInfo(KeyStoreAdminServiceImpl.java:83)

cannot reproduce in 5.9.0-m8-Snapshot


4.0.0-RC2 query use in error！！！

servel.yaml : max.connections.size.per.query >1
sql :
SELECT
aci.*
FROM
app1_contract_info aci
WHERE
aci.sys_contract_id in ('aaaa','bbb');
sys_contract_id is sharding coloum.
result: no result and log is nothing.
but this sql is successd ：
SELECT
aci.*
FROM
app1_contract_info aci
WHERE
aci.sys_contract_id in ('aaa');

Is it the duplicate one with #3302?
Can you change the title to summary your question? The current title is not helpful for user to find it.

Because of no response, I just close it and label as duplicate with #3302.


Added prevent default on the keydown event to stop form submits and wierd movement of cursor position when selecting an autocomplete entry

Hey @jaybeecave
Thanks for your great works! Even I don't realize that this annoying behavior is exsist. :grin: :+1:


http doesn't redirect to https

Currently 'metal3.io' goes to http and it should redirect to https instead. Also if you keep browsing the web, it sticks with http protocol.

github has an option to force https, but it says:
 Enforce HTTPS — Not yet available for your site because the certificate has not finished being issued.
Please allow 24 hours for this process to complete. (metal3.io)

HTTPS provides a layer of encryption that prevents others from snooping on or tampering with traffic to your site.
When HTTPS is enforced, your site will only be served over HTTPS. Learn more.

but I haven't changed anything in weeks.

Does the state has changed?

@russellb have you checked it in cloudflare?

@russellb have you checked it in cloudflare?

That matches the metal3.io cloudflare setting

@iranzo try now ...


—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wYvernBW/Bag-of-Homebrew/pull/1#event-3421707310, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP4OLOS2TQFWMKG7JCTCGALRVU47FANCNFSM4NYWUV7A
.

I shall praise the   f i s h   .


A syntax error when setting an attribute as a key, and this attribute is defined in a parent class

1- Define an attribute, id for example, in a parent class.
2- Extends this parent class, and set this id attribute to be a key at the subclass as shown in the model below.
3- Generate the model and you will get a syntax error in the Java code.
The reason is that in the code generated, we access the field directly, which is private at the children levels. In order to overcome this issue, we should use the getter methods instead.
class Test{
id;
}
class Sub{
isA Test;
key {id}
}

The issue is in this file: equals.ump
The java produced is trying to access the variable instead of using a get method for inherited private variables. I have replaced the code generation to only use get() methods, but I believe that the issue has to do with how Keys are instantiated.
The umple code is looking to see if the Attribute is derived, and if it is, it should use the get function (but it doesn't). That leads me to believe that the isDerived setting for the Key Attribute is not set for inherited Attributes.
I am going to continue to look into this as I believe it would be better to add that to the Key when it is generated rather than force a function call on all keys (regardless if the key's variable is inherited or not)


Gitcoin Bounty - Deploy a Smart Contract on the XDC Network Using CoralX

Judging Criteria
All submissions must contain clear and concise information with explicit instruction and images describing each step required to execute the process.  An accompanying video in addition to the written content is highly desired.
All submissions will be put through an industry standard plagiarism detection tool to ensure that all submissions are the work and ideas of the person submitting for the bounty.  If the plagiarism tools flags your submission you will be disqualified from participation in the bounty.
You will be provided with resources (if available) as an aid to help you get started.  The sole act of submitting content for the bounty does not automatically qualify you for the bounty.  Our team will review all submissions and will choose the submission whose content best fits the needs and requirements of the bounty.
Only one participant will be selected as the winner for the bounty, and they will be notified within 7 working days after the bounty has ended.
Description
Amount of Bounty
Grant Sponsor: XDC Foundation. All monies paid will be in XDC.
What will you be creating?
You will be creating how to documentation for the XDC Network. Some documentation has already been created, and you will read through it to ensure it works as intended, reads clearly or if it needs better clarification, then make those changes. Those items without documentation will be created from scratch.  Documentation will have images that describe or represents what's being done or described in your tutorial.
Details
Deploying a Smart Contract on the XDC Network Using CoralX
Securrency, a leading blockchain-based financial markets infrastructure and products company, has released a tool called CoralX for Solidity smart contracts development, testing, and deployment.
What you will learn
In this tutorial, you will learn how to create a smart contract using CoralX and deploy it to the Apothem test network or Mainnet.
What you will do

Install and set up a dev environment for CoralX
Create a simple smart contract
Compile contract
Test contract
Deploy contract

Setting up the development environment

Creating a project (with images)
Checking the contract (sample code with images preferred)
Setting up the contract
Compiling the contract
Testing the contract (where is the contract going to be tested...a link will be great)

Deploying a contract on the XDC Network
- Add funds to wallet using [Apothem Faucet](https://faucet.apothem.network/)
- Walk user through deployment process with screenshots
- Validate smart contract deployment via [Apothem network explorer](http://apothem.network/#stats)

Total Prize of Bounty
Total sum of up to $500.00 USD worth of XDC for this event, reward amount assigned at judge's discretion.
Further Details
This event will be an ongoing collaboration to create "how to" documentation for the XDC Network. All documentation will be open source and added to the docs repository in the how-to folder via pull request:
XDC-Community/docs/how-to
Resources
These are some of the resources you have available to you where you will find the necessary information to complete your submission.
Apothem Test Network
https://www.apothem.network/
Apothem Faucet
https://faucet.apothem.network/
Truffle
https://trufflesuite.com/
Node.js v8+ LTS and npm
https://nodejs.org/en/
CoralX GitHub
https://github.com/XDC-Community/CoralX
Guide to Apothem Test Network
https://ruslanwing100.medium.com/the-beginners-guide-of-using-xinfins-apothem-network-sandbox-network-to-test-blockchain-e94d55455a00
Sample of Documentation
Note: Do not copy and paste from this source as it will be plagiarism and disqualify your submission.
https://github.com/XDC-Community/CoralX

@WalterBlueu I have finished most parts of the tutorial, but CoralX can not deploy a contract on Apothem Network, see errors below. coralX.build.js is modified to expose the error.
Error: invalid address (argument="address", value="xdc0000000000000000000000000000000000000000", code=INVALID_ARGUMENT, version=address/5.5.0)
    at Logger.makeError (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:11034:23)
    at Logger.throwError (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:11043:20)
    at Logger.throwArgumentError (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:11046:21)
    at getAddress (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:6520:16)
    at Formatter.address (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:69581:54)
    at Function.check (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:69765:42)
    at Formatter._block (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:69641:34)
    at Formatter.block (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:69646:21)
    at JsonRpcProvider.<anonymous> (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:71226:39)
    at Generator.next (<anonymous>)
    at fulfilled (~/.nvm/versions/node/v18.9.0/lib/node_modules/coral-x-fe/dist/coralX.build.js:69842:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  reason: 'invalid address',
  code: 'INVALID_ARGUMENT',
  argument: 'address',
  value: 'xdc0000000000000000000000000000000000000000',
  checkKey: 'miner',
  checkValue: 'xdc0000000000000000000000000000000000000000'
}

Could you please post this comment on this CoralX thread in XDC.dev: https://www.xdc.dev/baldyash/new-tool-for-complex-smart-contract-projects-developing-with-xdc-networks-support-1dek
I will help drive focus to it so you can get support.

Could you please post this comment on this CoralX thread in XDC.dev: https://www.xdc.dev/baldyash/new-tool-for-complex-smart-contract-projects-developing-with-xdc-networks-support-1dek

Done.

I will help drive focus to it so you can get support.

Thanks!

You could check out the WIP draft here: https://github.com/l2dy/xdc-docs/blob/coralx/how-to/CoralX/how-to.md

@l2dy developer got back, posting here in case you didn't see update on XDC.dev:  https://www.xdc.dev/baldyash/comment/9g


@useResult results used in cascades are not treated as used

Example test case:
import 'package:meta/meta.dart';

@useResult
String foo() => '';

void main() {
  var bar = foo()..toString(); // Should be OK but currently produces a hint
}

https://dart-review.googlesource.com/c/sdk/+/204522

/fyi @rofrankel


Review Go guide

The contents are still valid in my belief.
I would like us to consider and look at deprecating this section as a whole possibly next year. I could have suggested it now, however I believe there is still a lot of potential for Go in GDS - especially in the GOV.UK's K8s setup. Not to mention the GDS CLI and remains of PaaS.
I imagine GOV.UK may want to have some custom operators being written and maintained in Go, which may mean deprecating this guide isn't necessarily the right call. But perhaps, the direction the team is going at will constraint the use of Go to simply running an Open Source projects.

Yeah, I've seen that :) Now to deprecate this section :D


Close db connections on unix signal

Sending signals to postgrest can leave connections open in pg_stat_activity. On signals we should call destroyAllResources in resource-pool.

I have noticed this as well. I have a bunch of postgrests setup via supervisord and postgrest doesn't seem to respond as expected when supervisord sends a Ctrl+C event to stop it.


pulls in a lot of extra crates

Do we need all the default features? Is it possible to slim down the dependency tree? Using this my Cargo.lock file that already had bevy and lots of dependencies gains an additional 52 dependencies. I know not all of them will be for each platform but seems like there's some fat that can be cut here by careful use of features?

This was due to a different version of egui being pulled in. Not really anything that can be done about that.


Additional notes about instanceStorePolicy for EC2 Node Class

Background
We have a few disk sensitive workloads that leverage i3en instance types.  i3en instance types include an nvme ssd instance-store volume.  Recently we faced some disk space exhaustion issues as we weren't properly setting ephemeral-storage requests for our workload.  After we updated the ephemeral-storage request to appropriately match the disk needed for the workload some of our pods would not schedule (stuck in Pending) and new nodes would not get created to assist with the ephemeral-storage needs.
After lots of debugging we found that the root cause was the ephemeral-storage request was larger than the default volumes in our nodeclasses blockDeviceMappings. We already RAID0 our instance-store volumes but Karpenter did not know that so instance-store volumes were never considered during scheduling. Once we set instanceStorePolicy: RAID0 in our ec2nodeclass resource it started creating new i3en nodes which unblocked our workload that was stuck in Pending.
Feedback
Currently the documentation here mentions that Karpenter will ignore instance-store volumes unless the value is set to RAID0.  It also mentions If you intend to use these volumes for faster node ephemeral-storage, set instanceStorePolicy to RAID0
Ask: For future discovery it might be helpful if we add some additional notes along the lines of this setting is likely to be useful for workloads that leverage dense storage instance types or require the low latency from instance-stores that are nvm e ssd based.  Another note to add could be Warning: Even if you already RAID0 your volumes Karpenter won't know this up front during scheduling which can lead to confusing behavior and deadlock scheduling workloads that request ephemeral-storage dependent on instance-store volume size

This seems like a reasonable addition to me, we welcome contributions!

Sounds good @jmdeal I'll create a PR next week


Support for Response Mode "code id_token"

Hi,
is there a way to use the AuthorizationCodeGrant with response mode "code id_token"?
A big german accounting provider (DATEV) requires this mode as mandatory.
Thx
Norbert

Hi Norbert, that's an OpenID Connect response mode. If you don't need the id_token itself, at present, your best option would be to copy and paste the AuthorizationCodeGrant  class and adjust the response mode. If you also need the id_token things are a bit more complicated.
Adding proper support for OpenID Connect is on my todo list. Unfortunately it requires a few non-trivial changes that I didn't find the time to implement yet.


Rel Table Loading Improvement

Rel tabe loading will fail if a primary key cannot be found in corresponding node table. This is expected behaviour, but we should

[x] Return the line where primary key cannot be found.
[ ] Provide an option to skip the line if primary key is missing.

See #1872


v1.2.1 is not properly code signed for macOS

By default Mac will show

Right Click on the app and Open to see

I cannot remember why this previous issue was closed:
https://github.com/readium/readium-desktop/issues/125
...I agree with you Ken, the initial Thorium UX on MacOS is terrible :)

Let me rename this existing issue (the title is misleading / not precise enough):
https://github.com/readium/readium-desktop/issues/97

Closing this duplicate. I copied Ken's original message and screenshots.
https://github.com/readium/readium-desktop/issues/97


ConfigurationTests.DeletingFileWillReload needs to be fixed in patch branches

Seeing test flakiness in cross-plat. I guess we need to port the changes we did in #628

cc @ajcvickers \ @HaoK
Patch branches: patch\1.0.5, patch\1.1.3

Also cc @Eilon for triage etc

@ajcvickers can you assign someone to fix this ASAP for the patch branches & the dev one?

Also these tests:
ConfigurationTests.CreatingOptionalFileInNonExistentDirectoryWillReload
ConfigurationTests.CreatingWritingDeletingCreatingFileWillReload
ConfigurationTests.DeletingFileWillReload(optional: True)

@HaoK Can you please work on this as a priority?

@HaoK please make sure the changes are in the correct branch - see above.

We are just looking to disable these tests in these branches, not to 'fix' them by upping the timeout as described in the other issue right?

Yup.


Terminal without build

Is it possible to have the terminal without the build?

This question doesn’t make any sense? What build?


allow Logagent to access /var/run/docker.sock

What this PR does / why we need it:
Fixes issue with Logagent not able to access /var/run/docker.sock.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/lgtm

/lgtm


Smooth scale changes

When Chart.js rescales to fit the data in the chart within the y-axes, it does so rather abruptly (as seen here). Ideally, the transition should be smooth, similar to Smoothie Charts.

This plugin disables an animation of data addition at onRefresh for the performance reason. If you want smooth transition, add chart.update() at the end of onRefresh function like this:
plugins: {
  streaming: {
    onRefresh: function(chart) {
      chart.data.datasets.forEach(function(dataset) {
        dataset.data.push({
          x: Date.now(),
          y: Math.random()*100
        });
      });
      chart.update();
    }
  }
}

Awesome! That worked great. Thank you!


Support for dht11

Hello and nice work!!
One question, does it support dht11? I have tried to replay at the service dht11 instead of dht22 but had no luck.
Thank you

Panos,
It should but I have don’t have one to test, so it may be a little bit of trial and error.
The core of the plugin is the dht22 binary, that gets run every time the plugin wants temperature.  If you run the dht22 command does it return temp and humidity on the command line?
If yes, the don’t change anything from the plugin config.
Sent from my iPad

On Mar 16, 2018, at 6:21 AM, Panos B<EMAIL_ADDRESS>wrote:
Hello and nice work!!
One question, does it support dht11? I have tried to replay at the service dht11 instead of dht22 but had no luck.
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It works fine with my DHT11, but "service":   "dht22", so I just removed it from my config.

Great job @NorthernMan54 !

@Namelessinterester, could you give a part of your config for dht11?

The config for DHT11 and DHT22 is the same, just follow the directions for the dht22, and don’t change anything.  It should just work.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/homebridge-dht/issues/17#issuecomment-397418957, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmBfU200xDw7dnnv0pKkzjIoeznCtks5t8r_OgaJpZM4StjTJ.

@NorthernMan54 unfortunately it does't work, I see 0°C and 0% :(

And if you run the dht22 command from the command line do you see the same?
Sent from my iPad

On Jun 15, 2018, at 5:01 AM, Andrey Klimov<EMAIL_ADDRESS>wrote:
@NorthernMan54 unfortunately it does't work, I see 0°C and 0% :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


fetch-metadata can not fetch metadata when using workflow_run event

Errror
I'm using mono-repository for the microservices:

Dependabot opens PR for Microservice 1 (Ex: path: /src/microservices-1/*)
The workflow CI for Microservice 1 is triggered.
The workflow Dependabot is triggered after CI for Microservice 1 passed
The workflow Dependabot shows error.

It says:
Warning: Event payload missing `pull_request` key. Make sure you're triggering this action on the `pull_request` or `pull_request_target` events.
Error: PR is not from Dependabot, nothing to do.

Expect
The workflow Dependabot can fetch metadata in this case.
My workflow
name: Dependabot
on:
  workflow_run:
    workflows:
      - CI for Microservice 1
      - CI for Microservice 2
    types:
      - completed

permissions:
  contents: write
  pull-requests: write

jobs:
  dependabot:
    runs-on: ubuntu-latest
    if: |-
      github.actor == 'dependabot[bot]' &&
      github.event.workflow_run.conclusion == 'success'
    steps:
      - name: Dependabot metadata
        id: metadata
        uses: dependabot/fetch-metadata@v1
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"
      - name: Enable auto-approve non-major updates
        if: steps.metadata.outputs.update-type != 'version-update:semver-major'
        run: gh pr review --approve "$PR_URL"
        env:
          PR_URL: ${{github.event.pull_request.html_url}}
          GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
      - name: Enable auto-merge non-major updates
        if: steps.metadata.outputs.update-type != 'version-update:semver-major'
        run: gh pr merge --auto --merge "$PR_URL"
        env:
          PR_URL: ${{github.event.pull_request.html_url}}
          GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

I just created this bug: https://github.com/dependabot/fetch-metadata/issues/498
but I realize now that my issue is the same as yours. Did you find any workaround?

I just created this bug: https://github.com/dependabot/fetch-metadata/issues/498
but I realize now that my issue is the same as yours. Did you find any workaround?

I'm also struggling with this issue. Any workarounds?


async_tcp_client: fix debug log

Additional Description: If AsyncTcpClientImpl is not called with connect() during the connect_timeout period, the connection_ object is nullptr. If debug logs are enabled, the modified line causes seg fault
Risk Level: low
Testing: none
Docs Changes:  none
Release Notes:  none
Platform Specific Features: none

/retest

@ohadvano there was a coverage issue that I think was fixed in main yesterday. Can you merge main to fix CI? /wait


Encoding file name for download

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

You can use new-testservies.hydroshare.org for testing. Create a resource.
Create a text file with filename having non-English characters. Upload that file to a resource in beta or prod hydroshare. Try to download the file you just uploaded. Download should fail.
Upload the same file at new-testservices.hydroshare.org to the resource you created. Verify that you can download that file.

METRIC
VALUE

NEW DUPLICATED LINES DENSITY
0.0

NEW VULNERABILITIES
0

NEW CODE SMELLS
0

NEW SECURITY HOTSPOTS
0

NEW BUGS
0

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4350


Uncaught TypeError: Cannot read property 'first_line' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.13.0
Electron Version: 1.3.13
System: Mac OS X 10.12.2
Thrown From: project-manager package, v3.3.3
Stack Trace
Uncaught TypeError: Cannot read property 'first_line' of undefined
At /Users/phillipisaacs/.atom/packages/project-manager/lib/stores/FileStore.js:94

TypeError: Cannot read property 'first_line' of undefined
  at Function.handleError (/Users/phillipisaacs/.atom/packages/project-manager/lib/stores/FileStore.js:180:51)
  at /Users/phillipisaacs/.atom/packages/project-manager/lib/stores/FileStore.js:83:23
  at transaction (/Users/phillipisaacs/.atom/packages/project-manager/node_modules/mobx/lib/mobx.js:1390:23)
  at /Users/phillipisaacs/.atom/packages/project-manager/lib/stores/FileStore.js:80:31
  at parseContents (/Users/phillipisaacs/.atom/packages/project-manager/node_modules/season/lib/cson.js:111:9)
  at /Users/phillipisaacs/.atom/packages/project-manager/node_modules/season/lib/cson.js:208:20
  at tryToString (fs.js:455:3)
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)

Commands

Config
{
  "core": {
    "disabledPackages": [
      "change-case",
      "file-icons",
      "git-time-machine",
      "jshint",
      "minimap"
    ],
    "openEmptyEditorOnStart": false,
    "telemetryConsent": "no"
  }
}

Installed Packages
# User
change-case, v0.6.3 (inactive)
emmet, v2.4.3 (active)
file-icons, v2.0.8 (inactive)
git-time-machine, v1.5.4 (inactive)
jshint, v1.8.6 (inactive)
minimap, v4.26.5 (inactive)
project-manager, v3.3.3 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (active)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

@showcasefloyd i got this error too when i forgot quote around title value


04/23/2018 18:10 : Create Pull Request for branch prTesting_2018042318 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


add DSL

It will be cool to implement DSL for duplications reduce.
class Example
  extend Memoist

  mem :method_name do |args|
  end
end

It is not necessary with ruby 2.1, it can be written as:
class Example
  extend Memoist

  memoize def method_name(args)
  end
end

@mehanoid that's what I do, yeah.


[Feature] Retrieve fields from API results & add headers

This pull request adds 2 features:
One allows you to retrieve values from an API using the JSON format
The other adds headers to HTTP requests. For example, to execute authenticated requests

Hi @teapot9 and @RemyGomes,
Thanks a lot for your work on Genesis, we deeply appreciate it. :heart:


creation of a new organization within an organization

I have a question.
Can I add a new organization outside the built environment?
I tried to do this by logging into the organization I created, but the add button was disabled.

@waffle-frame only the built-in org has the superpower to manage other orgs. All other orgs are equal. So one cannot create another one


Allow firmware language selection

It would be nice to allow language selection for the firmware .bin (as for SD card content). The 2.7 release page offers multitlingual builds of 2.7 firmware.
Example: for TX16s french firmware version you'd use the link "Multilingual builds" from the 2.7 release page (https://github.com/EdgeTX/edgetx/releases/tag/v2.7.0), download tx16s-zip  and extract tx16s-FR-f79978b6e.bin as the firmware to be flashed.
...

...

Hey! This would probably be a large amount of work. We are planning on supporting multiple languages properly when the build system is available.
For now, you can use the local file option to flash the .bin

I know the local file option can be used. But this defeats the object of providing a simple to use frontend entirely.

Absolutely true, but atm the binary builds you refer to are stored in some other platform, and it may require a lot of work to access those which will be undone when we have the build system in place. I'll look into this though

Hi Oliver,
Thanks for looking into this. At least for 2.7.0 and 2.6.0 doing it by hand is not so difficult. Peter provides multilingual builds (including EN) for the official releases. Supporting official releases with language selection would be an acceptable restriction and I am sure Peter would agree to provide multilingual builds for 2.8 in exactly the same way as long as the new build systems is not up and running.
The multilingual builds are bundled into a single .zip for a given radio target. So the logic for buddy could be:
config:

multi = [2.6.0, 2.7.0 ] (soon 2.7.1 too and later 2.8.0)
store multilingual storage link for 2.6.0 release: https://files.portabledev.xyz/d/a54a4cde2b7f4d388a61/
store multilingual storage link for 2.7.0 release: https://files.portabledev.xyz/d/66a3a1f8d8dd42c48888/
 = [nv14, t8, t16, t18, tlite, tpro, tx12, tx16s, x7-access, x7, x9d, x9dp2019, x9dp, x9lite, x9lites, x10-access, x10, x12s, xlite, xlites, zorro]
language = [ en, fr, se, it, cz, de, pt, es, pl, nl, cn, tw ]

pseudo code may look like this:

if user asks for official firmware release in  offer selection of  just like for the SD Card (maybe you can reuse the same code)
download <radio.zip> by wgetting/files/?p=/.zip
unpack .zip
find --*.bin where  equals the user selected language and use this as firmware.bin to be flashed

I understand the process. I think where this may be complicated is portabledev.xyz doesn't seem to provide any API for accessing these files via another webapp, meaning I'd have to hard code the available devices for each release (Which is possible, but not a long term solution).
It would be much better if these builds were released alongside the github releases. (A zip of zips would work). However, if this is not possible hardcoding the available downloads will be the best option.

Sorry for the delayed reply. I agree that having a hard coded part of the download address is not the most elegant solution, but the rest can be dynamically constructed by using the radioID plus adding "files/?p=/<radioID>.zip" to the hard coded release address.
I agree there could (and to support the non-English EdgeTX user community should) be better ways to do this. What seems to be necessary is a discussion between you and @pfeerick on how to do this efficiently for both sides.
Maybe a feature request to buddy to make the multi-lingual topic whole: With a multilingual firmware there should also be a multilingual companion/firmware simulator. Please check out this discord message and a few of the following messages too: https://discord.com/channels/839849772864503828/839856795781431317/970393578306142219
I think buddy is a great idea and tool but you got yourself into this by allowing to select different languages for SD card voices packages raises expectations :-).
I am not much of a web programmer but let me know if I can be of any help.

Thanks for tagging me, I was unaware of this discussion.
If you want a repo hosting the files, I can do that as well, as I honestly don't know how long the build system is going to be as there haven't been any recent feedback on that.
Just give me an idea as to what structure works best... dump them in a repo, with folder for each version. Actual github release for each version (as that seems to cache better?)? Zip file as it is? Different structure? It's easy enough to redo the packaging part of the build script I run locally do do those builds, and probably even automate it more/better so a separate github repo can host the multi-language builds.
While doing this, there is also the potential of doing the multi-language sim libraries, but for now making it a manual step of installing it, as I really don't want to play setting up the installer and everything for that also. But maybe I'll change my mind once I start looking at that side of things... I'm currently neck deep in the voice pack stuff so in denial about anything else atm due to the mess that is. :grin:

@pfeerick is there a way these languages packs could just be included as part of the releases? The GitHub releases API is great for fetching these assets. Even if they were in a separate repo this would be better than fetching from portable

I prefer a separate repo if it's not too much trouble... primarily as there are enough assets in the releases already that have confused people, and adding 22 more assets (that's the zip files as they are, one for each transmitter, or if repackaged by language, that would be 12)... I'm thinking if it's done on a seperate repo, there's no need for a zip file... can just shove all the bins in 'as is' in a tagged release?
Any sort of json index for them? Preferred structure? And as a naughty aside, since I also do the english build (for some reason I didn't omit it, even though I should have as that is 22 builds less to do! lol) if I do this properly and run it side-by-side with main releases, you could pull the EN builds from there also. 😇

How it is atm will work, zip for each target with a bin with each language

@mha1 @pfeerick since #63 has been merged, this is now doable. Just use the "Cloudbuild" tab, and specify your language in the "Flags".

awesome dude


Impelement OpenCL enum generation

This should add some basic enum generation support for OpenCL aside from the umbrella CLEnum type.
The initial motivation is that some of the enum types have to be ulong-based causing OpenCL API calls to fail in funny ways.

Thank you so much for this contribution! I've already commended your efforts plenty in Discord, but we are genuinely delighted to see community efforts being directed here! We cannot thank you enough.
I suppose one final comment, in addition to the nitpicks above, is: is there any way to make the GroupOverloader light up so that these enums are properly integrated to the rest of the library?

Actually I have 2 more PRs pretty much ready - these changes don't actually achieve my initial goal (namely, incorrect stack size for some calls due to incorrectly sized stuff), I just don't want to dump too much code at once
Next up, constants handling and finally a typemapper change that builds on top of these 2 to achieve correct codegen (or, at least, "more correct").

Happy to merge after the above.

those 2 are breaking changes - sadly, C# doesn't handle "bool?" type that well

Ah, in that case our preferred style is “?? false” instead of “== true” for a nullable LHS.

OK, done

Looks like CI is failing…

Simply re-running it fixed the issue, also, the previous build was OK (without the "== true" -> "?? false" change), so looks like a build system glitch to me


Remove arguments from thunks

Fix #734.

Codecov Report

Merging #759 (fa58bfc) into main (936c086) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #759      +/-   ##
==========================================
- Coverage   85.34%   85.33%   -0.01%
==========================================
  Files         311      311
  Lines       29031    29006      -25
==========================================
- Hits        24776    24753      -23
+ Misses       4255     4253       -2

Impacted Files
Coverage Δ

lib/hir-mir/src/expression_compiler.rs
84.89% <ø> (+0.03%)
:arrow_up:

lib/mir-fmm/src/closures.rs
95.12% <ø> (+0.34%)
:arrow_up:

lib/mir-fmm/src/calls.rs
95.00% <100.00%> (+0.88%)
:arrow_up:

lib/mir-fmm/src/lib.rs
100.00% <100.00%> (ø)

lib/mir/src/ir/definition.rs
100.00% <100.00%> (ø)

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 936c086...fa58bfc. Read the comment docs.


make metadata from the npe2 manifest available through the API

Job stories
Primary Persona(s): napari developer, data analytics

[ ]  When I'm writing a query to get plugins from napari, I can get the full manifest for any plugin on the napari hub so that I can implement new features in napari that rely on any metadata in the manifest file
[ ]  When I'm writing a query to get plugins from napari, I can identify which plugins support npe1 or npe2 so that I can measure and monitor npe2 adoption

Tasks

[ ] Set up new AWS Lambda infrastructure in backend codebase to enable the containerized implementation for npe2
[ ] Ensure new AWS Lambda is set up in a way that aligns with security & infrastructure guidelines of the organization

@klai95  @neuromusic For the frontend, we're expecting npe2 data to look like this:
enum PluginType {
  Widget = 'widget',
  Reader = 'reader',
  Writer = 'writer',
  SampleData = 'sample_data',
  Theme = 'theme',
}

enum PluginWriterSaveLayer {
  Image = 'image',
  Points = 'points',
  Shapes = 'shapes',
}

interface NPE2Data {
  display_name: string;
  plugin_types?: PluginType[];
  reader_file_extensions?: string[];
  writer_file_extensions?: string[];
  writer_save_layers?: PluginWriterSaveLayer[];
}

Here's an example of data the frontend is expecting for each plugin data. This data should be available on the /index and /plugin/<name> APIs
{
  // Human readable display name
  display_name: 'Test Plugin',

  // Plugin types
  plugin_types: ['reader', 'writer'],

  // Reader open extensions
  reader_file_extensions: [
    'czi',
    'jpg',
    'pdf',
    'png',
    'psd',
    'tiff',
    'xcar',
    'zarr',
  ],

  // Writer save extensions
  writer_file_extensions: [
    'czi',
    'jpg',
    'pdf',
    'png',
    'psd',
    'tiff',
    'xcar',
    'zarr',
  ],

  // Writer save layers
  writer_save_layers: ['image', 'points', 'shapes'],
}

Ideally the backend should format the data the same to minimize additional work on the frontend. However, if we need to change up the interface for some reason then let me know and we can update the frontend interfaces in another PR

I was going to create a new ticket to capture the work that was done to support legacy npe1 plugins, but after reviewing the information in this ticket again, it made most sense to update the title here (particularly since the work has already been in progress).
To my knowledge, this is the additional work that wasn't originally a part of this ticket:

It was discovered that only ~20% of plugins support np2, so a decision was made to expand the scope of this work to npe1 as well. However, providing npe1 metadata ended up being a non-trivial amount of work due to how lazy loading works in the npe1 shim.
Additionally, plugin installations do not always succeed and thus, the user criteria to "identify which plugins support npe1 or npe2" is slightly more complex, as there is a third possible value, which is that we do not know due to errors installing the plugin.  I know that work has been done to retry, keep track of the retry counts, and log the error messages - however based on my conversations with @neuromusic we are comfortable moving forward with not always providing a value here. I think there is still a decision that needs to be made in terms of what information the back-end passes to the front-end for those cases. I would suggest something like a None value, and then in future work explore doing more with the error messages, but I will let @klai95 and @codemonkey800 decide what's best here.

Please correct me if I got anything wrong here, and feel free to weigh in with additional details/context! I'm summarizing from recent conversations I've had, so I am sure there are details I am missing.

Related to the "third value" of install failures, I agree that None is sufficient for now.
For some additional context, we know that users are struggling to install plugins, due to a combination of advanced pre-installation instructions and poor practices. @tlambert03 did a very nice exploration of installability last year: https://github.com/chanzuckerberg/napari-hub/discussions/334#discussioncomment-1748880. I think its high priority for us to improve the UX here, but that is definitely out of scope for this work.

@richaagarwal thank you for this summary! It is fairly comprehensive and indicative of the current state of things.

However, providing npe1 metadata ended up being a non-trivial amount of work due to how lazy loading works in the npe1 shim.

I would just make a clarifying comment here that the lazy loading part was relatively easy to fix, really, and we're seeing comprehensive manifests for npe1 plugins which we can install. The majority of the complexity really lies in the second part which is getting the installations to succeed and the plugin to be loaded for inspection. Part of this complexity is inherent (missing dependencies, compiled dependencies, etc.), but a lot of it is also due to the relatively slow iteration speed of having to redeploy to aws and wait for plugin info to be populated - we've tried testing locally as much as possible but, frustratingly, installations seem to work just fine in our local environments.
I would really love to have the full stack traces aggregated and written out somewhere for plugins that fail installation, so that we can run some quick analysis on typical failure reasons, and confidently split out those which are inherent to the plugin (which should roughly match Talley's list) and those which could be solved by us improving our aws image setup.

However, providing npe1 metadata ended up being a non-trivial amount of work due to how lazy loading works in the npe1 shim.

I can definitely help here if you're trying to get metadata out of npe1 plugins.  You can force discovery using index_npe1_adapters .  Let me know if you're still running into issues

oops... sorry, I just read @DragaDoncila's comment that this was an easy fix :) good.

From https://github.com/chanzuckerberg/napari-hub/issues/468#issuecomment-1112772660 ... it kinda looks like you're prepping an API here that is not the same as the schema.json in npe2: https://github.com/napari/npe2/releases/download/v0.3.0/schema.json
is that the case?  It would be really awesome if you simply offered up the manifest as json, following the json schema spec at npe2.  can you clarify there?

ok, spoke with @DragaDoncila offline.  Sounds like the API mentioned above is mostly for backend-frontend communication at the hub, and that a full manifest will also be available.  That's great, thanks!
So just to summarize, the two things we'd really like to have on the napari side are:

an endpoint to grab the complete manifest (in npe2 format) for one plugin
an endpoint to grab all manifests for all plugins (in npe2 format)

@tlambert03 we'll have (1) with this chunk of work, but (2) will land later (probably with #546 )

dropping this here since @DragaDoncila mentioned that retrieving npe2 manifests from git repo's is still a bit challenging (sounds like you're trying to fully install stuff, which seems like it could easily be problematic):
import os
import tempfile
from importlib.metadata import EntryPoint
from pathlib import Path
from subprocess import check_call

from npe2 import PluginManifest
from setuptools import Distribution
from setuptools.command.build_py import build_py

def get_npe2_manifest_from_repo(org: str, repo: str):
    """Clone repo from github into temporary directory"""
    url = f'https://github.com/{org}/{repo}.git'
    with tempfile.TemporaryDirectory() as tmpdir:
        os.chdir(tmpdir)
        check_call(['git', 'clone', url, tmpdir])
        dist = Distribution({'src_root': tmpdir})
        dist.parse_config_files()
        ep = dist.entry_points['napari.manifest'][0]
        match = EntryPoint.pattern.search(ep)
        assert match
        module = match.groupdict()['module']
        file = match.groupdict()['attr']
        builder = build_py(dist)
        builder.finalize_options()
        module_dir = Path(builder.get_package_dir(module))
        mf = PluginManifest.from_file(module_dir / file)
    return mf.json()

This was released today! 🙌🏽 Shall we close this ticket and the corresponding epic?

did we miss the manifest endpoint?
e.g. https://api.napari-hub.org/plugins/stardist-napari/manifest doesn't resolve

did we miss the manifest endpoint?
e.g. https://api.napari-hub.org/plugins/stardist-napari/manifest doesn't resolve

Per Ziyang's comment on Slack, the manifest endpoint would be https://api.napari-hub.org/manifest/stardist-napari  in this case.


Motion Sensor / notifications not working properly - time-shiftet

Hello, i set up my homebridge and my blink camera system in homekit today. My project goal was, to also use the blink camera as a motion sensor to switch on a light when a motion is detected, but i have some Problems.
I think my main problem is, that the motion sensor - or more the data exchange between blink system and homebridge - is often not working.
Example: The Blink system detects motion and records something -> There is in ~9 of 10 times no action in Homebridge / Homekit. And if the 1 of 10 times it is Working, it has a large delay of ~20 seconds until there is action in the homekit app.
Has someone experienced something similar?

I have a similar issue.  The hombridge logs do not show any activity when a motion event occurs.  It was working for a moment, but then just stopped.

I have the same issue. Did you solve it meanwhile? If yes, how? Thanks.


separate thumbnail generation and other job manager improvements

I've restructured the job manager a little bit to make queuing jobs a bit more intuitive. It should also set it up to be a little bit easier to make jobs more stateful at some point down the road.
Thumbnail jobs are now separate from scans, and are queued once a scan is finishing up (assuming a thumbnail configuration is present). This is somewhat dumb at the moment in that you cannot regenerate thumbnails yet, but I will add that in either before or after this PR merges.

A lot was added since making this PR:

A good first pass jobs table was added to show a brief history of jobs

The pagination utils leave some to be desired, but is fine for now

Future job scheduling section added
Moved back off of SSE and trying websockets again for core->server->client events
Fixed a bug with the avatar picker
Added some additional checks in the entrypoint.sh to prevent  adduser and su from failing
Added endpoint to delete all thumbnails associated with media in a library, should probably be made into a job some day

This is in a new Quick Actions section of the edit library page, which is now more accurately named manage library. I will try and experiment colocating other useful library actions here, but for now just the thumbnail removal.

Fixed an issue with metadata parsing in the instance where number was a float. I imagine a few more metadata inconsistencies are bound to pop up and cause breakages. If it winds up being to inconsistent, we might just need to use strings.

One thing that I've made a note to fix is when doing a batch scan it seems to hang on the last book, but in reality the updates just stop while the server generates the massive SQL operations. I need to add a simple event to tell the client 'hey, I'm inserting stuff now'


walk the busses for all devices and modprobe modaliases when found

Originally, the device tree was being populated by walking /sys/class. This would only result in a tree which contained classified devices. Instead, lets try walking all the busses. This gives us the ability to load a representation of all devices which also gives us the chance to automatically modprobe their modalias attributes when present.

closed this as mod probe was added to nerves_runtime 0.3.0


Suggestions on what metrics to use from this exporter

Hey guys, thanks for your product; it has been a great help to our monitoring system. I have a question regarding what metrics you might personally suggest using. Currently, we are actively using cloudflare_zone_requests_status to monitor 5xx errors. Any advice or personal views would be greatly appreciated.

used increase(cloudflare_zone_requests_status_country_host{zone=~"$zone", status=~"4..|5.."}[$__range])

increase(cloudflare_zone_requests_status_country_host{zone=~"$zone", status= ~      "4..|5.."}[$__range])


add support for rid markdown template

This PR adds a new markdown template that allows users to supply an RID that will create a template with a resolvable link to the record associated with that RID.
Pending documentation update...

@RFSH  this PR is now ready to review after adding the documentation.

@RFSH  This PR has been updated so that rid templating is done with a simpler syntax, [[<RID>]].


Roll engine 571964e1d7b4..7cbbdb400251 (6 commits)

https://github.com/flutter/engine/compare/571964e1d7b4...7cbbdb400251
git log 571964e1d7b49e5424c800b461006207d670736f..7cbbdb4002517cff02dffa9b1346398f40bab141 --no-merges --oneline
7cbbdb400 libtxt: more accurate tracking of run positioning and width for justified text (flutter/engine#8214)
172810342 Add a build dependencies script for Linux desktop (flutter/engine#8160)
d764b69b2 Add docs for helpful commands to fix format (flutter/engine#8171)
96ad0c892 Roll src/third_party/dart<PHONE_NUMBER>..70e3e67dd7 (108 commits) (flutter/engine#8216)
146646d1b Correct greater than or equal logic in offset base (flutter/engine#8210)
e8bca6391 Roll src/third_party/skia 7eba20aef187..dd0544078d05 (1 commits) (flutter/engine#8211)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6220285693919232 , https://cirrus-ci.com/task/4812910810365952

Commit queue failed; closing this roll.


Some questions

hi,what is this step doing?
Is dataset preparation directly using the following one？

What is the format of the final dataset？Which .json files are in the coco/annotations folder
thanks!

Hi, it should be coco/annotations/instances_{train,val}2017.json. But you need to replace the instances_train2017.json with the annotation provided by us.

I got instances_val2017_100.json from prepare_for_tests.sh, does instances_val2017_100.json here refer to instances_{val}2017.json you said?

These two jsons could be downloaded from official coco website directly, which may not require your own processing. You just need to replace the instances_train2017.json with ours.


Fullscreen keyboard when keyboard is open in landscape mode

To make a fullscreen keyboard when the keyboard is open in landscape mode, this functionality is also found in WhatsApp in landscape mode, for that I am using a great Plugin, it's working fine, here is a picture:

, but in my overlay widget, it's not working, like copy paste is not working too, here is a picture

, This is a simple code example reproducing the issue: Github, I am testing using my Huawei P20 Lite.
Any little help will be very welcome, Thank you in advance.

The behavior of the floating window is not exactly same as activity. There is no easy way to implement this.

The behavior of the floating window is not exactly same as activity. There is no easy way to implement this.

This is a good example from Play Store, Give it a try https://play.google.com/store/apps/details?id=jp.snowlife01.android.clipboard_trial

just resize window manually in landscape mode.