Add New Data Model RuleCollection to NetworkManager

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

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[x] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[x] PowerShell
[x] CLI
[x] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

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

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

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

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

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

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

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/networkManagerEffectiveConfigurations": {

you should also expose a single/named get

Refers to: specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkManagerEffectiveConfiguration.json:37 in 9b8a9ab. [](commit_id = 9b8a9ab5845b478369cb1cd3e61abf3d5fdaac09, deletion_comment = False)

@yanfa317, could you take a look at all those tool check errors?

@yanfa317 , regard to model validation errors, the properties isn't defined in swagger.

@yanfa317  for  ❌ R3006 - BodyTopLevelProperties , you can define the discriminator in the properties bag and let the properties become polymorphic not the resource itself.
and for
Error: '$.definitions.ConnectivityConfigurationProperties.description' has incompatible values (---Properties of network manager effecitve connectivity configuration,---Properties of network manager connectivity configuration)."

you must have 2 files defined the $.definitions.ConnectivityConfigurationProperties , you should figure out them and unify the model

      "nextLinkName": "nextLink"

fyi - since you have changed this to a post - to actually support paging you will have to follow this pattern https://github.com/Azure/azure-rest-api-specs/pull/13504/commits/924d26d94d227a8b9de629f016628158ceae5f5c

Refers to: specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkManagerActiveConfiguration.json:92 in 377017f. [](commit_id = 377017f21910583eb0d2e7f07512ec52f5c5ffaf, deletion_comment = False)

      "nextLinkName": "nextLink"

or you can remove this (and nextLink in the schema too) - if you feel you don't need it - and can add it later (in a new api-version unless you get an exception)

In reply to: 820587127

Refers to: specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkManagerActiveConfiguration.json:92 in 377017f. [](commit_id = 377017f21910583eb0d2e7f07512ec52f5c5ffaf, deletion_comment = False)

    "x-ms-pageable": {

same as in other file

Refers to: specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkManagerEffectiveConfiguration.json:78 in 377017f. [](commit_id = 377017f21910583eb0d2e7f07512ec52f5c5ffaf, deletion_comment = False)

Please go through the contribution checklist for ARM API Review added as part of the review and mark them completed. It will help you fix most of the issues and improve the quality of swagger and help close the PR faster. This is a requirement before review can be continued.

OK I looked at the modeling and response formats for listNetworkManagerEffectiveConfigurations and API's in the swagger file networkManagerSecurityUserConfiguration.json. I don't see any issues in these.
Please resolve other warnings/errors, unblocking the PR from ARM side.
Please follow the process given @ https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review to continue.


Share YouTube Video

Hi,
So the "share" feature in GPM is pretty redundant if your friends don't have GPM accounts, and you wanna share new music to people.
For a time there was a "YouTube video" feature in GPM, that tried to match the current song to a YT video and then play the video instead via GPM.
Perhaps a feature could be added to GPMDP that can resolve a song to a YouTube video (YT API query, and roughly match GPM track length and YT track lengths for best match?), and offer to share it to a social platform? ( maybe even with a hotkey ;) )
Thanks,
B

This will probably be something that depends on the new plugin system pending in #2216.

Moving to super ticket #2216


Add support MySQL 8 on all server version

So i added MySQL 8 on all server version and it worked on Spigot 1.8.8 and upper on that so it not using MySQL Driver on Spigot anymore anyways, also on PlayerPoints or other plugin, you should remove minimize() on ShadowJar
That's all
Thanks!

While this does work, I don't plan on merging this as it would increase this library's jar size from 300kb to nearly 4mb


Disabling in vim-choosewin overlay

I'm wondering how I can disable blanklines from rendering in the vim-choosewin overlay? https://github.com/t9md/vim-choosewin
I've tried excluding bufnames and filetypes of "choosewin", but it doesn't seem to work. I have a feeling I'm just missing something obvious, would appreciate some help 🙂

It looks like vim-choosewin does not set a filetype or buftype for the overlay windows.
You'll have to open an issue there and ask if they can add it.


[FLINK-32840][runtime][JUnit5 Migration] The executiongraph package of flink-runtime module

What is the purpose of the change
Migrate  executiongraph related tests under flink-runtime module to junit5
Brief change log
Migrate  executiongraph related tests under flink-runtime module to junit5
Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving):  no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature?  no
If yes, how is the feature documented? not documented

Hi @wangzzu, thanks for your contribution. The changes overall LGTM. Would you mind updating all change about these improvements?

Make test classes package-visible and do not extend JUnit4-based TestLogger
Update isEqualTo(0) to isZero()
Update isEqualTo(1) to isOne()

Hi @wangzzu, thanks for your contribution. The changes overall LGTM. Would you mind updating all change about these improvements?

Make test classes package-visible and do not extend JUnit4-based TestLogger
Update isEqualTo(0) to isZero()
Update isEqualTo(1) to isOne()

@X-czh thanks for your reviewing, I have modified as you suggested

@1996fanrui @X-czh I also directly removed TestLogger and TestLoggerExtension here

Thanks @wangzzu for the contribution, and @wangzzu for the review!

Would you mind updating all change about these improvements?
* Make test classes package-visible and do not extend JUnit4-based TestLogger

* Update isEqualTo(0) to isZero()

* Update isEqualTo(1) to isOne()

I still see a little isEqualTo(0) and isEqualTo(1), could you search and fix them?

@1996fanrui Thanks for your review, i have updated these and check globally

@1996fanrui thanks for your hard review, i have fixed these

@Jiabao-Sun can you help reveiw this if you have time?

@Jiabao-Sun thanks for your review, i have fixed it


Problem with to get an uploader from the Citrina client.

Hello,
I installed Citrina via Nuget package manager and wanted to set owner photo, but when I tried to get an uploader from the Citrina client saw this error - 'CitrinaClient' does not contain a definition for Uploader.
Could you help me with this problem or give any tips?
Regards.

Hello.
Yes you are right. CitrinaClient actually doesn't contain a definition for Uploader.
Now the uploader is published as a separate package: Citrina.Uploader. I've just finished with it and it's in beta now.
You can also read the File Uploading section for more information on how to use it.
Thanks.


CORS error when trying to apply a pipeline on loaded audio

Fixed by downgrading fastapi  to 0.112.4


Add a flag to not show prompt in findTargetDevices.

Also added tests for when stdin is not attached to a terminal.
The new parameter will be used internally. And I always thought that it's weird to ask for user interaction in a function called deviceManager.findTargetDevices()

Would it be possible to instead lift the terminal selector logic into the one callsite at https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/runner/flutter_command.dart#L1411 ?


Trigger auto update immediately after delay instead of waiting

What happened?
Trigger auto update immediate after delay instead of waiting
How to reproduce
Trigger auto update immediate after delay instead of waiting
Relevant log output
No response
Which version are you running?
beta
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

should already happen


New function needed for DataFrame import?

In the tutorial, we use DataFrame(File.(download("$some_url/some_file.csv"))); to import data into a DataFrame. It might be worthwhile to write a function for this step, especially if other options will need to be added down the line. Users might want to import only a subset, or maybe different delimiters might need to be specified.

CSV v0.10.2 is available on our secure server.


[Feature request][Matterjs] Make it possible to subscribe to collision events on each game object

Make it possible to subscribe to collision events on each game object instead of having to keep the entire collision login in this.matter.world.on('collisionstart').

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Thank you for opening this feature request (all those months ago!). As the development of Phaser 4 has now started I am tidying-up the repo and closing off old issues that won't be directly fixed or implemented in Phaser 3 by me. I would still consider community PRs that address this issue, however, and have left the GitHub tags intact so others can track them if they wish to get involved. However, I'm afraid this is no longer a feature that will be added to v3.


Prometheus failed to start on Ubuntu 18.04: LimitNOFILE: Operation not permitted

On a fresh Ubuntu 18.04 install: "systemctl start prometheus" fails with
mars 08 12:53:01 ip-172-31-28-36 systemd[8512]: prometheus.service: Failed to adjust resource limit LimitNOFILE: Operation not permitted
mars 08 12:53:01 ip-172-31-28-36 systemd[8512]: prometheus.service: Failed at step LIMITS spawning /usr/local/bin/prometheus: Operation not permitted

Any help appreciated :) (beside commenting out LimitNOFILE=infinity in the SystemD unit file)
Thanks !

Could you check two things?

What is the output of ulimit -n when run by root?
Could you set LimitNOFILE=65535 instead of LimitNOFILE=infinity and try starting prometheus service?

Changing to LimitNOFILE=65535 worked and now the service starts just fine.
ulimit -n as root returns 1024574 but that's just the value I've previously set in /etc/security/limits.conf

systemd option LimitNOFILE is trying to set the same limit as ulimit -n and since we are setting it here to infinity but you capped it in your system to 1024574 then service fails as infinity (unlimited) is not available.
And it works when you set it to 65535 as this is less than a limit you set in /etc/security/limits.conf :)
@SuperQ what do you think about changing this option from infinity to sth like 65535?


[Add] Add codechef, one of the major cp platform

Site URL
https://www.codechef.com/
Description of the above provided site
Can i add codechef in competitive programming platform section, as it is one of the major and starting platform for cp journey.
Category
Competitive Programming
Sub Category
link, color, fonts, themes & templates, animation
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

@THE-AryanKumar
It is clearly mentioned in the contributing guidelines that you can only work on one issue at a time. I'm opening this one for others to grab. Feel free to work on other issues once you have completed the assigned ones.

Oh sorry, i forgot to uncheck the "willing to work on this issue" option

@Anmol-Baranwal After reviewing the previous PR, can you now assign this issue to be me

@Anmol-Baranwal After reviewing the previous PR, can you now assign this issue to be me

Nope, this will be assigned when the PR is merged. There is no exception.

Hi @Anmol-Baranwal can I work on this issue?

Hi @Anmol-Baranwal can I work on this issue?

Hi @404Nikhil.  @404Nikhil has already created a PR for this issue in #1850. I highly recommend reviewing it. This is a great way to practice your communication skills. If you need tips, I linked an article in the Remarks section of our Contributing Guide(go where it says, "do a code review of the person’s PR)

My bad didn't see that a PR was already made for this issue though this hasn't been assigned to anyone yet and was under "up for grabs" tag so I thought of working on it.

@rahul0x00

Hi @Anmol-Baranwal can I work on this issue?

Yeah, maybe I forgot to remove the up for grabs. My bad. You can create new ones, or look for other issues. There are so many issues, that it is getting difficult to manage.


Service loader for TemplateExtension

Summary
I was curious why the META-INF/services/com.github.tomakehurst.wiremock.extension.ExtensionFactory file is only added to the shadowJar.
I believe there is benefit in only having the TemplateExtension class rather than having both TemplateExtension and StandaloneTemplateExtension. For example, if we always added the service loader the below code would work regardless of if we are using the normal jar or the standalone jar.
@RegisterExtension
static WireMockExtension wm = WireMockExtension.newInstance()
        .options(wireMockConfig().extensionScanningEnabled(true))
        .build();

References
No response

I need to update the gradle configuration - this one was before there was an explicit gradle plugin for wiremock extensions. I suggest to raise the issue in wiremock/gradle-wiremock-extension-plugins as said plugin manages the whole plugin build and release process.
Frankly I can't recall anymore why I had to exclude it but I will check.


fix: Notification Button

fix: Notification Button (Show Dependency Analytics Report by clicking on the notification button.)

[test]

[test]

[test]

[test]

[test]

[test]

[test]

[test]


Add conda channels to RTD yaml

As best I can tell, the RTD yaml will make a conda env from your conda yaml using the default channels. It would be nice to have the ability to prepend channels to the conda env before getting the packages, as some custom packages are not in the default channels. Something like this in the RTD yaml:
 conda:
     file: environment.yml
     channels:
         - mycustomchannel1
         - mycustomchannel2

@jkerns Not sure it this fits your use case but we do use channels in the Project Jupyter docs. We use a readthedocs.yml in the root of our repo and an environment.yml in our docs. An example can be found in https://github.com/jupyter/nbconvert. We specify the channels in the environment.yml.

It does fit! I couldn't find any full docs about the conda env file to know if I could add channels, but it appears so. Thanks @willingc.

@jrkerns Glad it helped.


Add LXSS registry backup/restore feature

I suspect that there may be a problem that the LXSS registry key is being deleted without notice due to Microsoft Store or some other cause. Therefore, I need to add the ability to back up registry keys when running LXSS Manager.

This issue is related with https://github.com/rkttu/WSL-DistroManager/issues/6

Added new distro import and export functions to wsl.exe on Windows 10 19H1. Therefore, wsl.exe is used instead.


Monospaced font

Hi, I have a small feature request. Can you introduce monospaced font like Courier to input structure information in dot bracket format? This will allow me to put the structure and sequence parallel to each other and do editing in the input text boxes. It's really hard to do that now.
Example:
GGGGGAAACCCCC
(((((...)))))

Made this change in the latest update.

Thank you! Really helpful.


How can I restrict the file types that a user chooses for uploading an image?

How can I restrict the file types that a user chooses for uploading an image?
Thanks!

the feature is not yet supported.
let us discuss the feature here.


tests/kernel/sched/schedule_api: Restore spinning for timer alignment

Commit 0cc362f87371 ("tests/kernel: Simplify timer spinning") was
added to work around a qemu bug with dropped interrupts on x86_64.
But it turns out that the tick alignment that the original
implementation provided (fundamentally, it spins waiting on the timer
driver to report tick changes) was needed for correct operation on
nRF52.
The effectively revert that commit (and refactors all the spinning
into a single utility) and replaces it with a workaround targeted to
qemu on x86_64 only.  Fixes #11721
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Codecov Report

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

@@            Coverage Diff             @@
##           master   #13916      +/-   ##
==========================================
+ Coverage   52.25%   52.35%   +0.09%
==========================================
  Files         307      307
  Lines       45429    45434       +5
  Branches    10506    10511       +5
==========================================
+ Hits        23739    23787      +48
+ Misses      16899    16861      -38
+ Partials     4791     4786       -5

Impacted Files
Coverage Δ

drivers/clock_control/nrf_power_clock.c
50% <0%> (-2.11%)
:arrow_down:

kernel/sched.c
84.32% <0%> (+0.31%)
:arrow_up:

arch/posix/core/posix_core.c
91.91% <0%> (+1.01%)
:arrow_up:

boards/posix/nrf52_bsim/time_machine.c
52.45% <0%> (+4.91%)
:arrow_up:

subsys/testsuite/ztest/src/ztest.c
72.72% <0%> (+7.43%)
:arrow_up:

boards/posix/nrf52_bsim/irq_handler.c
78.3% <0%> (+13.2%)
:arrow_up:

boards/posix/nrf52_bsim/argparse.c
46.98% <0%> (+15.66%)
:arrow_up:

subsys/testsuite/ztest/include/ztest_assert.h
77.77% <0%> (+38.88%)
:arrow_up:

Continue to review full report at Codecov.

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

Rebased and pushed.   Finally noticed why test code sometimes fails to retry spurious failures and filed it in #13956

Yeah, this isn't likely to show a green.  The problem is spurious failure on non-default platforms (which are run when you modify a test) are not retried in CI.  I hereby request Dispensation.

Yeah, this isn't likely to show a green. The problem is spurious failure on non-default platforms (which are run when you modify a test) are not retried in CI. I hereby request Dispensation.

granted!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/644 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit 08e423d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-BuildPermissionInsufficientError] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the account, e2ebd3, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master) and then retry the build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Error while upgrading from v5 to v6

Describe the bug
I have upgrade the vite from v5 to v6 and run the dev server it shows me error.
Reproduction
N/A
Steps to reproduce
My Vite config
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import svgr from "vite-plugin-svgr";
// https://vitejs.dev/config/
export default defineConfig({
  base: "/",
  plugins: [react(), svgr()],
  envPrefix: ["REACT_APP"],
});

System Info
System:
    OS: macOS 15.1.1
    CPU: (8) arm64 Apple M1
    Memory: 124.94 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.13.1/bin/yarn
    npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
    pnpm: 9.14.2 - ~/.nvm/versions/node/v20.13.1/bin/pnpm
    bun: 1.1.0 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 131.0.6778.205
    Safari: 18.1.1

Used Package Manager
pnpm
Logs
✘ [ERROR] Expected identifier but found "import"
(define name):1:0:
  1 │ import.meta.dirname
    ╵ ~~~~~~

✘ [ERROR] Expected identifier but found "import"
(define name):1:0:
  1 │ import.meta.filename
    ╵ ~~~~~~

✘ [ERROR] Expected identifier but found "import"
(define name):1:0:
  1 │ import.meta.url
    ╵ ~~~~~~

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of https://github.com/vitejs/vite/issues/19018


Guidance for migrating existing ACS IdP settings

Hi!
We are currently using ASC to perform social IdP authentication and are preparing to migrate to AAD B2C.
I can't seem to figure out how to get my existing IdP settings (ie Client ID, Client Secret etc)
Is there an easy way to setup a B2C tenant from an existing ACS namespace? If not, how do I obtain the IdP settings that were automatically created in ACS?
Thanks!
Ant

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

ID: bef9aec0-035e-2504-a62b-bf76ecb5173c
Version Independent ID: 590e2151-3215-7d76-00ac-8894ebe8d64d
Content: Migrate from the Azure Access Control service
Content Source: articles/active-directory/develop/active-directory-acs-migration.md
Service: active-directory
GitHub Login: @dstrockis
Microsoft Alias: dastrock

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

@AntRemo Please note that as mentioned in the document, if you decide that Azure AD B2C is the best migration path for your applications and services, begin with the following resources:
Azure AD B2C documentation
Azure AD B2C custom policies
Azure AD B2C pricing
If you refer to Azure AD B2C documentation and go this section Identity providers will help you on what is required. Also check this Tutorial: Register an application to enable sign-up and sign-in using Azure AD B2C for detailed steps on how to do it.

@AntRemo I am not sure whether we can get it. I would advice you to open a Azure Support ticket through http://aka.ms/azsupt so that Identity Support Engineer could help you on it. Please let me know if you have support plan limitations in opening support ticket.

@AntRemo Please send me details of your Azure subscription ID<EMAIL_ADDRESS>Please refer this GitHub issue in your email. I will work offline with you regarding it. Thanks.

Hi @MohitGargMSFT
Just following up to ensure you received my email.
I sent it on Tuesday about 2 hrs after your comment.
Thanks

@AntRemo Strangely I didn't received your email yet. Please send to<EMAIL_ADDRESS>and include my alias as well<EMAIL_ADDRESS>Thanks.

@MohitGargMSFT no worries!
Just resent. Thanks again for your assistance :)

@AntRemo I replied to your email. One time free support is enabled for your subscription. Please open a support ticket by going to http://aka.ms/azsupt.
I will move ahead to close this GITHub issue now. Feel free to send me an email if you need further assistanse regarding this issue.


Add declaration type field in ESMExport

Describe the feature
Add declaration type field in ESMExport to distinguish what specific type 'declaration' is.
Additional information

[X] Would you be willing to help implement this feature?

Thank you for your response !


fix toolchain

Motivation
Modifications
Result

No manifest files found

IBM Cloud Continuous Delivery Bill of Materials
 Download Bill of Materials Report: [JSON Format]
Bill of Materials Diff
Compare To: [Branch = main] [Commitid = f0a8cafdfa54fc98aaf905bc12b9db00d765d688]

No manifest files found

IBM Cloud Continuous Delivery Bill of Materials
 Download Bill of Materials Report: [JSON Format]
Bill of Materials Diff
Compare To: [Branch = main] [Commitid = f0a8cafdfa54fc98aaf905bc12b9db00d765d688]

IBM Cloud Continuous Delivery Bill of Materials
 Download Bill of Materials Report: [JSON Format]
Bill of Materials Diff
Compare To: [Branch = main] [Commitid = 4a47eacd80f098927a9296313c64901c82f63df9]

No manifest files found


Need to create an empty settings.json for local themes

Not sure if this is intended or not, but cleaver requires a settings.json file to exist for local themes but not for remote theme. In the documentation, it is said that normally cleaver should only read available config files.
See https://github.com/sudodoki/reveal-cleaver-theme/issues/6 .

Might be related to #147

So, original issue from sudodoki/reveal-cleaver-theme is fixed, and I would just close this and track this in #147


Hiding stuff in documentation

Hi. Just wanted to let you know you can prevent stuff from appearing in the documentation with the #[doc(hidden)] attribute. You can read more about it in the rustdoc documentation.
Happy hacking!

Oops, silly me. Not sure why I didn't do that.
On a related note, this entire crate is probably broken in 2018 edition thanks to that helper macro.  For this I created #3.


implement hsurf algorithms in ziglib

[ ] hanoi

[x] get_hanoi_value_at_index
[x] get_hanoi_value_incidence_at_index

[ ] longevity-ordered
[ ] oeis
[ ] tilted --- only need enact (pick site)
[ ] steady --- only need enact (pick site)

need to go through hsurf source here and here to recursively list the requirements for each

We should microbenchmark strategies

this looks like a good approach https://github.com/dweiller/zubench and be careful to use <std.mem.doNotOptimizeAway(res);> where necessary

need to go through hsurf source here and here to recursively list the requirements for each

(steady) pick_deposition_site

get_hanoi_value_at_index
get_hanoi_value_incidence_at_index
get_hanoi_value_index_offset
get_incidence_count_of_hanoi_value_through_index
get_index_of_hanoi_value_next_incidence

get_index_of_hanoi_value_nth_incidence

get_hanoi_value_index_cadence

get_max_hanoi_value_through_index
get_nth_bin_position

bit_floor
get_nth_segment_bin_width
get_nth_segment_position

get_num_segments

get_num_bins

get_nth_bin_width

bit_count_immediate_zeros

bit_drop_msb

(tilted) pick_deposition_site

get_hanoi_num_reservations

get_global_epoch

oeis

get_global_num_reservations
get_reservation_position_physical

get_reservation_position_logical

get_reservation_position_physical


Support multiple embeds/attachments when creating/editing messages

Docs: https://discord.com/developers/docs/resources/channel#create-message-jsonform-params
With this update, the number of overloads for creating/editing messages should be reduced. Uploading files should be done inside of Create/EditMessageOptions instead of extra parameters of each create/edit method.

Done on dev


【document bug】Why is the'inline-nosources-source-map' option not included in the devtool configuration  document in webpack4? Is there a problem with this option, or is it just that the document was forgotten to update? The source code should support the inline-nosources-source-map option

Bug report

What is the current behavior?
webpack4 docs do not has inline-nosources-source-map option at devtool config, this is supported.

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Other relevant information:
webpack version:  4.46.0
Node.js version: 16.20.1
Operating System:
Additional tools:

Feel free update our docs, I think we don't document it because it is very rarely used

Feel free update our docs, I think we don't document it because it is very rarely used

so use inline-nosources-source-map at webpack@latest is safe?


ERROR: Failed building wheel for opencv-python: [   FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-armv7l-3.9/cmake-install/python/cv2/config-3.py' ]

Expected behaviour
I tried to install opencv-python in my virtual environment and was expecting the opencv-python library v<IP_ADDRESS> to be installed succesfully.
Even after multiple tries and trying different solutions/workarounds found online, nothing seems to help.
Actual behaviour
The build runs for +-3 hours, goes to 100% and then later on fails during installation phase of the project.
Following error is being returned:
FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-armv7l-3.9/cmake-install/python/cv2/config-3.py'
error: subprocess-exited-with-error
Steps to reproduce

pip3 install --upgrade pip

result
(venv) username@raspberrypi:~/Desktop/myApp $ pip3 install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (23.0.1)

pip3 install opencv-python --verbose

result
(venv) username@raspberrypi:~/Desktop/MyApp $ pip3 install opencv-py                                                                                thon --verbose
Using pip 23.0.1 from /home/username/Desktop/MyApp/venv/lib/python3.                                                                                9/site-packages/pip (python 3.9)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting opencv-python
  Using cached opencv-python-<IP_ADDRESS>.tar.gz (91.1 MB)
  Running command pip subprocess to install build dependencies
  Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple,                                                                                https://www.piwheels.org/simple
  Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarc                                                                                h64" and platform_machine != "arm64"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarc                                                                                h64" and platform_machine != "arm64"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.8" and platform_machine != "aarc                                                                                h64" and platform_machine != "arm64"' don't match your environment
  Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "linux" a                                                                                nd platform_machine == "aarch64"' don't match your environment
  Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "darwin"                                                                                and platform_machine == "arm64"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.10" and platform_system != "Darw                                                                                in"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.10" and platform_system == "Darw                                                                                in"' don't match your environment
  Ignoring numpy: markers 'python_version >= "3.11"' don't match your environmen                                                                                t
  Collecting setuptools==59.2.0
    Using cached https://www.piwheels.org/simple/setuptools/setuptools-59.2.0-py                                                                                3-none-any.whl (952 kB)
  Collecting wheel==0.37.0
    Using cached https://www.piwheels.org/simple/wheel/wheel-0.37.0-py2.py3-none                                                                                -any.whl (35 kB)
  Collecting cmake>=3.1
    Using cached https://www.piwheels.org/simple/cmake/cmake-3.25.2-cp39-cp39-linux_armv7l.whl (17.3 MB)
  Collecting pip
    Using cached https://www.piwheels.org/simple/pip/pip-23.0.1-py3-none-any.whl (2.1 MB)
  Collecting scikit-build>=0.13.2
    Using cached https://www.piwheels.org/simple/scikit-build/scikit_build-0.16.7-py3-none-any.whl (79 kB)
  Collecting numpy==1.19.3
    Using cached https://www.piwheels.org/simple/numpy/numpy-1.19.3-cp39-cp39-linux_armv7l.whl (10.5 MB)
  Collecting packaging
    Using cached https://www.piwheels.org/simple/packaging/packaging-23.0-py3-none-any.whl (42 kB)
  Collecting distro
    Using cached https://www.piwheels.org/simple/distro/distro-1.8.0-py3-none-any.whl (20 kB)
  Installing collected packages: cmake, wheel, setuptools, pip, packaging, numpy, distro, scikit-build
  ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  matplotlib 3.7.1 requires numpy>=1.20, but you have numpy 1.19.3 which is incompatible.
  Successfully installed cmake-3.25.2 distro-1.8.0 numpy-1.19.3 packaging-23.0 pip-23.0.1 scikit-build-0.16.7 setuptools-59.2.0 wheel-0.37.0
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  running egg_info
  writing opencv_python.egg-info/PKG-INFO
  writing dependency_links to opencv_python.egg-info/dependency_links.txt
  writing requirements to opencv_python.egg-info/requires.txt
  writing top-level names to opencv_python.egg-info/top_level.txt
  reading manifest file 'opencv_python.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*' under directory 'opencv_contrib'
  adding license file 'LICENSE-3RD-PARTY.txt'
  adding license file 'LICENSE.txt'
  writing manifest file 'opencv_python.egg-info/SOURCES.txt'
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info
  writing /tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/requires.txt
  writing top-level names to /tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*' under directory 'opencv_contrib'
  adding license file 'LICENSE-3RD-PARTY.txt'
  adding license file 'LICENSE.txt'
  writing manifest file '/tmp/pip-modern-metadata-6qbzchkt/opencv_python.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-6qbzchkt/opencv_python.dist-info'
  adding license file "LICENSE-3RD-PARTY.txt" (matched pattern "LICEN[CS]E*")
  adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.17.3 in ./venv/lib/python3.9/site-packages (from opencv-python) (1.24.2)
Building wheels for collected packages: opencv-python
  Running command Building wheel for opencv-python (pyproject.toml)
  patching file opencv/3rdparty/openexr/IlmImf/ImfSystemSpecific.cpp

  --------------------------------------------------------------------------------
  -- Trying 'Ninja' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-install-6_x1lqim/opencv-python_5f225b8f191e4bdf9b9078bacd8de511/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja' generator - failure
  --------------------------------------------------------------------------------

  --------------------------------------------------------------------------------
  -- Trying 'Unix Makefiles' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is GNU 10.2.1
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- The CXX compiler identification is GNU 10.2.1
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /tmp/pip-install-6_x1lqim/opencv-python_5f225b8f191e4bdf9b9078bacd8de511/_cmake_test_compile/build
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Unix Makefiles' generator - success
  --------------------------------------------------------------------------------

  Configuring Project
    Working directory:
      /tmp/pip-install-6_x1lqim/opencv-python_5f225b8f191e4bdf9b9078bacd8de511/_skbuild/linux-armv7l-3.9/cmake-build
    Command:
      /tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /tmp/pip-install-6_x1lqim/opencv-python_5f225b8f191e4bdf9b9078bacd8de511/opencv -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-6_x1lqim/opencv-python_5f225b8f191e4bdf9b9078bacd8de511/_skbuild/linux-armv7l-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.2 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/home/username/Desktop/MyApp/venv/bin/python -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPYTHON_LIBRARY:PATH=/usr/lib/arm-linux-gnueabihf/libpython3.9.so -DPython_EXECUTABLE:PATH=/home/username/Desktop/MyApp/venv/bin/python -DPython_ROOT_DIR:PATH=/home/username/Desktop/MyApp/venv -DPython_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython3_EXECUTABLE:PATH=/home/username/Desktop/MyApp/venv/bin/python -DPython3_ROOT_DIR:PATH=/home/username/Desktop/MyApp/venv -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DPYTHON3_EXECUTABLE=/home/username/Desktop/MyApp/venv/bin/python -DPYTHON3_INCLUDE_DIR=/usr/include/python3.9 -DPYTHON3_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.9.so -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DPYTHON3_LIMITED_API=ON -DBUILD_OPENEXR=ON -DCMAKE_BUILD_TYPE:STRING=Release

  -- The CXX compiler identification is GNU 10.2.1
  -- The C compiler identification is GNU 10.2.1
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default.
  -- Detected processor: armv7l
  -- Found PythonInterp: /home/username/Desktop/MyApp/venv/bin/python (found suitable version "3.9.2", minimum required is "2.7")
  CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message):
    CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:

    PYTHON_EXECUTABLE=/home/username/Desktop/MyApp/venv/bin/python

    PYTHON_VERSION_STRING=3.9.2

    Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line
    or environment variables

  Call Stack (most recent call first):
    cmake/OpenCVDetectPython.cmake:271 (find_python)
    CMakeLists.txt:643 (include)

  -- Could NOT find Python2 (missing: Python2_EXECUTABLE Interpreter)
      Reason given by package:
          Interpreter: Wrong major version for the interpreter "/bin/python"

  -- Found PythonInterp: /home/username/Desktop/MyApp/venv/bin/python (found suitable version "3.9.2", minimum required is "3.2")
  -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.9.so (found suitable exact version "3.9.2")
  Traceback (most recent call last):
    File "/tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/numpy/core/__init__.py", line 22, in <module>
      from . import multiarray
    File "/tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/numpy/core/multiarray.py", line 12, in <module>
      from . import overrides
    File "/tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/numpy/core/overrides.py", line 7, in <module>
      from numpy.core._multiarray_umath import (
  ImportError: libcblas.so.3: cannot open shared object file: No such file or directory

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/numpy/__init__.py", line 140, in <module>
      from . import core
    File "/tmp/pip-build-env-m8axndlg/overlay/lib/python3.9/site-packages/numpy/core/__init__.py", line 48, in <module>
      raise ImportError(msg)
  ImportError:

  IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

  Importing the numpy C-extensions failed. This error can happen for
  many reasons, often due to issues with your setup or how NumPy was
  installed.

  We have compiled some common reasons and troubleshooting tips at:

      https://numpy.org/devdocs/user/troubleshooting-importerror.html

  Please note and check the following:

    * The Python version is: Python3.9 from "/home/username/Desktop/MyApp/venv/bin/python"
    * The NumPy version is: "1.19.3"

  and make sure that they are the versions you expect.
  Please carefully study the documentation linked above for further help.

  Original error was: libcblas.so.3: cannot open shared object file: No such file or directory

  -- Looking for ccache - not found
 *** cut out ***
  -- General configuration for OpenCV 4.7.0 =====================================
  --   Version control:               unknown
  --
  --   Platform:
  --     Timestamp:                   2023-03-07T08:35:01Z
  --     Host:                        Linux 5.15.61-v7+ armv7l
  --     CMake:                       3.25.2
  --     CMake generator:             Unix Makefiles
  --     CMake build tool:            /usr/bin/gmake
  --     Configuration:               Release
  --
  --   CPU/HW features:
  --     Baseline:
  --       requested:                 DETECT
  --
  --   C/C++:
  --     Built as dynamic libs?:
  -- Install configuration: "Release"

 ****Cut out****

Copying files from CMake output
  Traceback (most recent call last):
    File "/home/username/Desktop/MyApp/venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/username/Desktop/MyApp/venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/username/Desktop/MyApp/venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-n0_0bzbu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 230, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-n0_0bzbu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-n0_0bzbu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 267, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/tmp/pip-build-env-n0_0bzbu/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 512, in <module>
      main()
    File "setup.py", line 262, in main
      skbuild.setup(
    File "/tmp/pip-build-env-n0_0bzbu/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 673, in setup
      _classify_installed_files(
    File "setup.py", line 398, in _classify_installed_files_override
      with open('%spython/cv2/config-%s.py'
  FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-armv7l-3.9/cmake-install/python/cv2/config-3.py'
  error: subprocess-exited-with-error

  × Building wheel for opencv-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/username/Desktop/MyApp/venv/bin/python /home/username/Desktop/MyApp/venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpnv5v7b7u
  cwd: /tmp/pip-install-ohiu737z/opencv-python_cc146731452e41c0bfc732e69dc17b71
  Building wheel for opencv-python (pyproject.toml) ... error
  ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

System

Raspberry Pi Model 3B+
Ubuntu v18.04
Linux 5.15.61-v7+
Architecture: Arm
Python v3.9

What I've tried so far

Upgrading entire Linux system
Reinstalling Python
Reinstalling pip
Upgrading pip
Setting version explicitly to v<IP_ADDRESS> ( using == operator )
Setting version explicitly to v<IP_ADDRESS>

I had the same problem

I had the same problem. Try it "sudo apt install python3-opencv"

Hi billni, thanks for your answer.
I've tried that as well, but that installs it globally and not in my virtual environment.
I need it to be in my virtual environment, since I want to package the application with all dependencies into single binary from that virtual environment.

It looks like I was able to reproduce the issue with my Pi 3b. Will take a look if I can propose some workaround before the next release.

It looks like I was able to reproduce the issue with my Pi 3b. Will take a look if I can propose some workaround before the next release.

Cheers, much looking forward to this

config-XXX.py is named differently depending on LIMITED_API option. https://github.com/opencv/opencv/blob/4.x/modules/python/common.cmake#L210
CI build enabled LIMITED_API by default and it works well.
You can add -DPYTHON3_LIMITED_API=ON to CMake options to work around the issue.
See https://github.com/opencv/opencv-python/blob/4.x/setup.py#L179 and https://github.com/opencv/opencv-python/blob/4.x/setup.py#L251

Fixed in https://github.com/opencv/opencv-python/pull/820

Hi again, I tried again using: pip3 install opencv-python after you said it was fixed but I still get the error.
If I still need to add the variable as mentioned above how do I do that with the pip3 install opencv-python? Sorry, installing this is above my head really.

Fixed in #820

Its still coming up with the error?

 When you said fixed I presumed I would just run the install again and it should work?! A little more help is needed please, Alexander @asmorkalov :) I have spent weeks trying to get OpenCV working and every guide I have tried has failed!
All I'm looking to do is run the NDVI script using my RPI 3B+ and NOIR V3 camera! I don't know if it helps but I could instal OpenCV on my Unraid server and have the feed from the Pi go there and the server does all the hard work. At the end of the day, my server is running Home Assistant in a VM but I need the Pi's NOIR camera with the blue filter over the lens.

Obviously, the new version that would include the bug fix hasn't been released to the Python package index since the fix was just merged into this repository. You'll have to wait for a new release, or clone this repository and do a manual build.

Thanks for the fix!
Is it correct this should now be available in the opencv-python-rolling deployment package?
I tried to install this by using "pip install opencv-python-rolling==<IP_ADDRESS>30318"
But it seems te version can't be found.
On piwheels.org it says the build is skipped? => https://piwheels.org/project/opencv-python-rolling/
Should I take a different approach?
Sorry if this is a dumb question, i'm pretty new to this.
Thanks in advance!

Rolling releases are broken for today. I'm working on it right now. I'll let you know, when you can try.

Rolling releases are broken for today. I'm working on it right now. I'll let you know, when you can try.

Any update? @asmorkalov Cheers

I had no luck with #820, but pinning the scikit-build version in pyproject.toml to 0.17.1 everything worked again (without this 0.17.3 is installed):
---  "scikit-build>=0.13.2",
+++  "scikit-build==0.17.1",

I tested 0.17.2 and it fails with
AttributeError: 'NoneType' object has no attribute 'replace'

This was fixed in 0.17.3, but there seems to be some other change in there that's breaking things. Is there any reason to not pin this version for the builds?

This build failure is still present with python3.11. It appears to be caused by #835 — the incompatible numpy version apparently disables the python bindings since I can see that "install path" is omitted from the cmake version string no matter the value of -DCMAKE_PYTHON3_INSTALL_PATH. Updating numpy to a compatible version allowed me to build a wheel with 3.11. CI doesn't have this issue because of the TEST_DEP_LATEST override.
Should be fixed by #839.

I tried to build opencv-python package into docker and got same error. How can I fix it?
 Try it "sudo apt install python3-opencv"

This worked for me

"sudo apt install python3-opencv"

It's bad idea. The command installs yet another OpenCV-Python instance of some old version provided by Linux distribution. Doing that you get a salad of several instances of OpenCV  that is loaded in inpredictable order. You can switch to distro-provided OpenCV Python, but all other instanced should be removed first.

sudo apt install python3-opencv

Anyway that didn't help

sudo apt install python3-opencv

Anyway that didn't help

How did you solve your problem? I encountered similar issue on RPi 4B
FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-aarch64-3.9/cmake-install/python/cv2/config-3.py'
  error: subprocess-exited-with-error

  × Building wheel for opencv-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /usr/bin/python3 /home/pbs/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmp8g9__46_
  cwd: /tmp/pip-install-vlokyin2/opencv-python_82696fa637964183835fb00d04c812e9
  Building wheel for opencv-python (pyproject.toml) ... error
  ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Probably, I installed numpy before running setup.py.
Also here you can check my working Dockerfile for building wheel

Probably, I installed numpy before running setup.py. Also here you can check my working Dockerfile for building wheel

Thank you for your reply! The Dockerfile looks not much different from https://github.com/opencv/opencv-python/issues/814#issuecomment-1763476069
Did you find the reason of this error message?
Traceback (most recent call last):
  File "/opencv/opencv-python/setup.py", line 535, in <module>
    main()
  File "/opencv/opencv-python/setup.py", line 267, in main
    skbuild.setup(
  File "/venv/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 706, in setup
    _classify_installed_files(
  File "/opencv/opencv-python/setup.py", line 409, in _classify_installed_files_override
    with open(config_py, 'w') as opencv_init_config:
FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-x86_64-3.10/cmake-install/python/cv2/config-3.py'

Ah I see. you said installing numpy before running setup.py

Have I missed it, it there a solution to this problem? All I am wanting is to install DVR-Scan on a headless Pi.

ChanJoon, thank you for your suggestion.
Rather than go down the rabbit hole of a manual installation I searched for "installing opencv rpi" and found the following comment:

The standard command to install opencv is pip install opencv-contrib-python but don’t immediately run this (!) as it will try to install the latest versio of OpenCV, which is not always fully functional on the Raspberry Pi. Furthermore, the installation may take a very long time. Therefore I recommend to run the below command that installs the latest known working version. Here I use <IP_ADDRESS> but it could be that already a newer stable version is available

Using instructions on this site:
https://singleboardblog.com/install-python-opencv-on-raspberry-pi/
and after installing the prerequisites I used this command:
pip install opencv-python-headless==<IP_ADDRESS>
This installed opencv very quickly, but obviously for an earlier version.
I know that this thread is not about  DVR-Scan but to install it I then used:
pip install dvr-scan[opencv-headless]
Progress at least.

We had this issue recently and found it was due to cmake not creating the opencv python library cv2.abi3.so. Check back on the build logs from cmake and look at the lines that say:
--   OpenCV modules:
--     To be built:

make sure that python3 is in this list (as it likely isn't). Further up in the logs I could then see the following error:
-- Found PythonInterp: /venv/bin/python3.10 (found suitable version "3.10.13", minimum required is "3.2")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable exact version "3.10.13")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'

For me the fix was just to install numpy first. Change the Dockerfile in https://github.com/opencv/opencv-python/issues/814#issuecomment-1763476069 to install it before build:
- RUN python3.10 -m pip install scikit-build
+ RUN python3.10 -m pip install scikit-build numpy

Was this supposed to be fixed?  I'm still getting the exact same fail signature as in the subject line with opencv-python-headless  4.9 and 4.8 and Raspbian Bullseye.

consider installing python3-dev or python3-devel using yum it worked for me with opencv-python-headless when it cant build wheel

Hrm, nope.
dpkg --list | grep python3-dev ii  libpython3-dev:armhf                 3.9.2-3                          armhf        header files and a static library for Python (default) ii  python3-dev                          3.9.2-3                          armhf        header files and a static library for Python (default)
6 hours later...
       File "setup.py", line 411, in _classify_installed_files_override           with open(config_py, 'w') as opencv_init_config:       FileNotFoundError: [Errno 2] No such file or directory: '_skbuild/linux-armv7l-3.9/cmake-install/python/cv2/config-3.py'
Pretty much always the same thing; this was with <IP_ADDRESS>.

I also have the same error. I am trying to install it on raspberry pi 3

Having the same error while build armv7 with docker python:3.11.5-bookworm

Same problem building it in a docker buildx crosscompiling to arm/v7 and compiling in a raspberry directly.

Has anyone managed to get this working? I'm having the same issue on my raspberry pi

Have the same problem on raspberry pi 5

try this.
pip install numpy==1.23.5

I was able to install OpenCV on a RaspberryPi 3B+ on Bullseye using the process described here:
https://www.orionrobots.co.uk/2024/02/20/installing-opencv-and-numpy-learnrobotics.html


Fixed the alignment of the light and dark button

the new version:

Could you fix it from inside the component DarkModeSwitch? I don't like that margin of -6px

there's nothing wrong with the DarkModeSwitch. It's the GithubButton that's causing the alignment issue. It's spawning nested  tags that adds about 7px to the original size of the button.


[IMPROVEMENT] User CustomTabs instead of WebView

Only in certain circumstances!
See: https://developer.chrome.com/multidevice/android/customtabs#whentouse
https://chromium.googlesource.com/custom-tabs-client/+/master/Using.md
https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html
https://www.theregister.co.uk/2016/08/23/google_to_block_web_views_from_using_its_oauth/

AFAIK this is already done. 👍

Description
Best practices according to the IETF explicitly state:
" OAuth 2.0 authorization requests from native apps should only be made
through external user-agents, primarily the user's browser....

Overview
For authorizing users in native apps, the best current practice is to
perform the OAuth authorization request in an external user-agent
(typically the browser) rather than an embedded user-agent (such as
one implemented with web-views).

Previously, it was common for native apps to use embedded user-agents
(commonly implemented with web-views) for OAuth authorization
requests.  That approach has many drawbacks, including the host app
being able to copy user credentials and cookies as well as the user
needing to authenticate from scratch in each app.  See Section 8.12"
Currently Oath is implemented with a webView here:  https://github.com/RocketChat/Rocket.Chat.Android/blob/93d43d3b6584161c57baac397952fd2ebfc8658b/app/src/main/java/chat/rocket/android/webview/oauth/ui/OauthWebViewActivity.kt#L107
Is this something that should be fixed in Rocket.Chat so that it is in compliance with best practices?
It could be done perhaps with a chrome custom tab using something like this: https://github.com/RocketChat/Rocket.Chat.Android/blob/93d43d3b6584161c57baac397952fd2ebfc8658b/app/src/main/java/chat/rocket/android/util/extensions/View.kt#L10 but I think it would also require adjustments to AndroidManifest.xml to handle deep linking in order to get the response back into the app.
Thoughts?

Thanks for providing us such a detailed explanation @ear-dev!

@filipedelimabrito Has there been any progress on this? Is it planned for a release?  Thanks!

Not for the next release yet @ear-dev. From what I remember there are some implications changing from WebView to CustomTabs for OAuth (because we rely on the callback result for instance). But it doesn't mean that we don't want to change (the reasons were pointed out above).
We let you know when we start working on it.

@filipedelimabrito we may be able to work on it. Can you provide us with the details you reference here "From what I remember there are some implications changing from WebView to CustomTabs for OAuth"? Those will give us a head start on this.

@bizzbyster This line because we rely on the callback result for instance. Basically we need to send the credentialToken and credentialSecret after a successful login back to the API. I am not sure how to get that callback with customTabs now - I need to look on that, but let me know if you are planning to do that so.


Create environment.yaml to ease introduction to development and testing for spyder

http://conda.pydata.org/docs/using/envs.html

Could I create a requirements.txt for using with pip? Although pip is not currently supported, some people prefer to install spyder that way.

Sure, go ahead @rlaverde! Our pip dependencies are listed in setup.py and our conda ones in conda.recipe/meta.yaml

:+1:, we also need to update wiki, so we can guide new devs when starting with Spyder :-)

How we should manage testing dependencies? Another requirements file?

Either we have two requirement files, or just one.. cause if you are developing you need to do testing anyway....

I would rather not pollute the already very polluted root of the repo, besides the idea is to have some easy to use cli script ti create envs... so I prefer creating a script that does something like
spyder-dev -t conda -p 2.7
And that would create a new conda env for testing spyder on python 2.7, or update it if it already exists with the needed dependencies

But using yaml, and requirements.txt will be more standard, that script will depend of that files? of will have dependencies inside it?
I don't think pip is better, is just a little more pythonic :stuck_out_tongue_closed_eyes:

who cares about standard.. we want dev to be easy and fast

But the script just will call conda o pip; and It'll be easy to update dependencies, only need to run conda env export > environment.yml and pip freeze > requirements.txt

sure i will just let me do this one :-p

@goanpeca or @ccordoba12  Which version of zmq you have?

I will be working on this @malliwi88, please work on the assigned issues https://github.com/spyder-ide/spyder/issues/assigned/malliwi88

@goanpeca I want to work in this issue
I think this could be addressed in a simple way, a requirements.txt file:
rope>=0.9.4
jedi>=0.9.0
pyflakes
pygments>=2.0
qtconsole>=4.2.0
nbconvert
sphinx
pep8
pylint
psutil
qtawesome>=0.4.1
qtpy>=1.1.0
pickleshare
pyzmq
chardet>=2.0.0
numpydoc

that could be installed using conda or pip:
$ conda install --file requirements.txt
$ pip install -r requirements.txt

+1 from me if you want to work on this one @rlaverde. We should also have test-requirements.txt or something like that.

Where that files should live? a requirements folder in the spyder root?
requirements/requirements.txt
requirements/test-requirements.txt

Could I also try to change continuum integrations to use this files? (At the moment when adding or changing a dependency it has to be changed in a lot of places)

@goanpeca, what do you say?

Usually requirement files are added below the root of the repo. Please proceed like that for now.

But don't touch our CIs. They can't be easily moved to use those files.

on the root of the repo are fine, making a folder for just 2 files is not really rsaving much


Move shoot-specific hvpa monitoring config into component package

How to categorize this PR?

/area dev-productivity
/kind cleanup
What this PR does / why we need it:
Move shoot-specific hvpa monitoring config into component package.
Which issue(s) this PR fixes:
Part of #2754
Left-over of #6133
Release note:

NONE

/approve


Is this project vulnerable to CVE-2020-12856?

Explanation about the vulnerability here: https://github.com/alwentiu/COVIDSafe-CVE-2020-12856
The Australian app worked around it by forcing the use of v28 of the Bluetooth API, but that will no longer be supported for distribution of updates in November: https://developer.android.com/distribute/best-practices/develop/target-sdk
So, if this app does the same, it won't be possible to distribute updates any more.

My last information about the Australian app is there are not using the ENF of Google and Apple. I don't think the ENF is affect of this issue.

@wmertens
The vulnerability you refer to via https://github.com/alwentiu/COVIDSafe-CVE-2020-12856 says:

This vulnerability was reported to DTA (who is responsible for the COVIDSafe app) on May 5th, 2020, and it has been fixed in COVIDSafe (Android) v1.0.18. Details of our finding are available here.

The link https://github.com/alwentiu/COVIDSafe-CVE-2020-12856/blob/master/CVE-2020-12856-19-June-2020.pdf given in the above includes on page 9 the section

Mitigations
...
Use the Apple/Google collaboration (called the "Exposure Notification API").
...

which confirms @thomasaugsten 's comment

I don't think the ENF is affect of this issue.

so since CWA uses the Exposure Notification Framework, then CWA is logically not affected by the vulnerability which was fixed in the Australian app.
Also and although https://developer.android.com/distribute/best-practices/develop/target-sdk specifies

From 2 November 2020, app updates must target Android 10 (API level 29) or higher.

it also refers to targetSdkVersion manifest attribute (also known as the target API level) and as can be seen in the current version (1.3.1) of CWA https://github.com/corona-warn-app/cwa-app-android/blob/1.3.1/Corona-Warn-App/build.gradle this file already includes
targetSdkVersion 29
in line 35, which already meets the requirements specified by Google.
You should also note that there are special instructions for questions and issues about security vulnerabilities as described in https://github.com/corona-warn-app/cwa-app-android/blob/master/SECURITY.md

Thank you kindly! Closing.


adobe's donation to sustainOSS seems to be to a non-existing profile

go to https://opencollective.com/adobe/transactions# and click on the avatar of the collective to which adobe made a 2k donation - you are sent to https://opencollective.com/sustainuk-2018-442ev instead of https://opencollective.com/sustainoss/events/sustainuk-2018-442ev#
This is what might be producing all sort of issues we are seeing:

backer card looks broken

and download receipt in the transactions serves the travolta 404

For the broken link to the invoice, it's because you need to be an admin of Adobe's org to be able to download it.
We normally don't show the link to download it to avoid linking to a broken place except when you are a root user. This upcoming fix will also allow root users to download any invoice:  https://github.com/opencollective/opencollective-api/pull/1425


Discussions popup ahmed sallam

PR is ready to be merged

Popup is working
discussions are not being saved: [ERR]: Error creating discussion - error: invalid input syntax for type uuid: "6"
I think this is related to the UUID change over.
Ok to merge as the saving issue can be dealt with separately

Fixes pop-up issue with latest version of bootstrap. Comments are still broken (see review comments).


[Part1] Implement test files

Introduction
This PR introduce some test files for otaclient and refactors/refines how the tests are performed.
Also, this PR fix an issue of app.common.copytree_identical caused by unexpected behavior os.walk(list symlinks to dir in the  list).
NOTE: This is the first part of the whole unit tests implementation, future updates will be introduced by the following PRs, one by one.
Changes

fix app.common.copytree_identical,
refactor Dockerfiles for ota test, now we use only one image and launch one container to carry out the test,
refinement over Dockerfiles to reduce the test image size,
implement some helper functions and fixtures in tests.utils and tests.conftest,
implement test files for app.common and app.create_standby modules,
refactor github actions, cleanup unused files.

DEVELOPMENT.md is updated at 9bf827e to reflect the changes.

@obi-t4 start at 1b0af43, dropping into shell is possible as follow:
docker-compose -f ./docker-compose.yml run --rm tester bash

Also, directly calling pytest is also possible:
docker-compose -f ./docker-compose.yml run --rm tester python3 -m pytest <test_files_1> [<test_file_2>...]


My fork with Windows support

Hey, I discovered your player and made a fork of it with Windows and a new design:
https://github.com/TheRolfFR/ElectronPlayer

New design I made
I use Castslabs version of widevine.
The only problem is that legally we can run it in developer mode but in production we must ask Widevine to provide a license to sign it.
If some of you wants to help me, or else please respond to this "issue".
Thanks in advance.

Is it possible for you to provide me with a source for where it says it is legally required to run with a licence in production? The Linux version of this application currently uses it without a Widevine certificate (using the default development certificate) and it works but this approach isn't working on MacOS. I applied for a Widevine certificate and have not gotten a rely. It has been a very long time since I applied and I am not expecting to get a certificate after reading other peoples experiences with Electron, Widevine and small open source projects. If I am not allowed to legally use the development certificates I will have to look for an alternate solution. My understanding was that some services require the production certificate which could be why the castlabs electron doesn't work on MacOS but the certificate wasn't necessarily legally required.
I will look into adding Windows support in the next release, The only reason Windows is not currently supported is the old Widevine package didn't support Windows but after the recent changes to the handling of Widevine as you have shown in your fork, it is now supported.
I also think your menu styling changes look cool but I would prefer to keep the black/grey colour scheme due to it fitting in with the Netlfix colour scheme much better (which is my main use of the app). Do you think some options to be able to modify the menu's colour/layout would suit? Maybe even a couple of default layouts as well included like the original black/grey and your lighter green one?

Here the link saying that signing is required for production: https://github.com/castlabs/electron-releases#licensing
What is written is that it is signed for development but not for production and you'll have to resign it. That's why I am recommanding to clone the repo and possibly make a bash or bat file to run it in dev.
There is no problem with the color scheme that can be changed in the options. I tired to reput all the features but I have no idea what is the PictureInPicture and how it works.
If your cloned my repo, you must have seen the settings menu and yes we could add themes or layouts.

Have you checked Netflix compatibility because it is not working on my system with your fork? It is doing the same thing as MacOS does with castlabs-electron.

No I don't have a Netflix account or a MacOS with me but on Windows, Spotify seems to work properly and I tried VOD and it works. I will try to set up a virtual machine.
Currently I am working on the themes

Theming and Windows support would also be awesome but unless it can run all of the default services, I can't officially support it. Widevine DRM is the main limiting factor of Windows support but I will keep on the lookout for ways to run Widevine on Windows.


For database items hostname is not set because label is server not hostname as the item schema expects

Your environment
Terraform Provider Version: 1.1.4
Connect Server Version: 1.10.0
OS: Terraform Cloud so probably Ubuntu
Terraform Version: Latest (1.4.2)
What happened?
Hostname for database category items is not set
What did you expect to happen?
Hostname for database items should be set
Steps to reproduce

Create a database item in 1password
Use the data resource for item to access the item
The hostname field will be null instead of the value

Notes & Logs
The problem stems from onepassword\data_source_onepassword_item.go line 211 to 222 specifically line 220
	for _, f := range item.Fields {
		switch f.Purpose {
		case "USERNAME":
			data.Set("username", f.Value)
		case "PASSWORD":
			data.Set("password", f.Value)
		case "NOTES":
			data.Set("note_value", f.Value)
		default:
			if f.Section == nil {
				data.Set(strings.ToLower(f.Label), f.Value)
			}
		}
	}

In the case of database items 1connect sends and id for hostname but the label is set to server they probably should both be server as that makes more sense for a database.
The best work around I could come up with that didn't require a major refactor was to set that section like this.
	for _, f := range item.Fields {
		switch f.Purpose {
		case "USERNAME":
			data.Set("username", f.Value)
		case "PASSWORD":
			data.Set("password", f.Value)
		case "NOTES":
			data.Set("note_value", f.Value)
		default:
			if f.Section == nil {
				if f.Label == "server" {
					data.Set(strings.ToLower(f.ID), f.Value)
				} else {
					data.Set(strings.ToLower(f.Label), f.Value)
				}
			}
		}
	}

Basically use ID inste4ad of label for server this gets around the schema validation. Another option would be to solve the naming issue in 1password connect and use hostname or server for both ID and label.

it's also not working with the latest version 1.2.0

Workaround: rename label "server" to "hostname"


support kernels that do weird things

The iTorch kernel and the IJulia kernel both send their results as msg_type: "pyout", for example.
Clearly we need to have a forcing function to make the kernels standardize and follow the spec, but for the moment I think here isn't the right place.

pyout and pyerr are legacies of old message specs, if I recall correctly. Do we have the old message specs documented in a series @minrk?

Since this is new code, I wouldn't support the old message spec. I would assume that kernels speaking the old spec are adapted to the current version, which is what the notebook server does.

But the v4 spec is documented.

Ah right, IPython 2.0 -> msg spec v4

Closing, since this repo is now deprecated.


Release version 3.3.1

Please release the new version on the forge with all the new goodness 👍

@lesinigo a new release is on the way. We prepared it in https://github.com/solarkennedy/puppet-consul/pull/430


Add crates.io wildcard end date to FAQ

This adds a bolded message to the FAQ clarifying the last date crates.io
will accept crates with wildcard dependencies.
Closes rust-lang/crates.io#200

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+ 19ed5b7faf7fd331151e6816c19de8292d4fc889
Thanks!

:hourglass: Testing commit 19ed5b7 with merge 7b630d4...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Change how canvas is generated

The previous way of generating height and width for a IIIF canvas relied on images being stored locally, but ours are stored in S3. The way that this file generated the filename for getimagesize assumed local storage, and even if the file path could take the S3 storage adapter into account, the function would have to download the image to get the height and width. Instead, this change uses the image metadata that Omeka already stores to get the height and width.

Looks like Artie and I were on the same page haha

Looks like Artie and I were on the same page haha

@dodget Great minds and all that :)

@dodget Great minds and all that :)

Sounds good to me, I just checked the new error checking Artie proposed on omeka-dev, and it works well. I think that metadata is generated by Omeka whenever an image is created, but better to be safe. Thanks!

Sounds good to me, I just checked the new error checking Artie proposed on omeka-dev, and it works well. I think that metadata is generated by Omeka whenever an image is created, but better to be safe. Thanks!


Reveal modal not being positioned correctly

It seems like without  html, body { height: 100%; } the reveal modals won't position centered correctly. However that bit of CSS is included in _off-canvas.scss:46, so everything works fine if off-canvas is included in the SCSS.

Where are you seeing them positioned? I was using the full download from the site and they were all positioned at the bottom of the page. After I downloaded the full from github (6.04) the positioning was fixed.
If you're talking about how the body jumps a bit to the right when the modal is clicked that is happening because of: body.is-reveal-open {overflow: hidden;}
What I want to know is why can't I get a modal to animate like in the docs?

Here is what i mean, using 6.0.4 with @include foundation-off-canvas; commented out: http://jsfiddle.net/hzp2jvv6/

That example centered for me. Are you talking about the vertical center?
BTW I forgot that I needed to include the motion ui css for reveal to animate, I thought it was included since the motion ui js was.

Hm, weird. Yes, vertical center.

I can confirm the issue @andreasgoth described when using v6.0.5. I had the same problem and can confirm the solution mentioned in this first post.

I'm seeing this as fixed in 6.0.5, are you guys still having issues
http://codepen.io/zurbrandon/pen/EPVPQv
Everything seems to be centering fine both horizontal and vertical.

That is with all styles. My issue was without _off-canvas.scss. Looks like it is not fixed in 6.0.5.

Ah so something we're doing to the body with offcanvas makes this work correctly. I'll need to check it out with and without.

For me it works with _off-canvas.scss included and scrolls to weird locations without it. Appears to be related to the calculation of "top" by "Foundation.Box.GetOffsets".

Version 6.1.1 I am still seeing this issue.
If I add: var elem = new Foundation.Reveal($('#targetModal'));
elem.open();
The modal will open up centered and function as normal.
If I use the data-open with an anchor tag it pushes it down the page in to an unscrollable region. Also after clicking the close box the transparent overlay does not go away.

I can confirm this with 6.0.5 and 6.1.1. Only the scrolling issue though, not the "transparent overlay not going away" issue. Just adding html, body { height: 100%; }  seems to be enough to fix the scrolling.

Hello everyone, if you have a moment, please checkout this branch and see if this solves (most of) your issues. The positioning is much more reliable, though currently set to position vertically based on a pixel value from the top of the viewport, I also have the fn tucked away to position absolute center (x, y). If you can take a look before it goes into the 6.2 branch, that would be awesome!

When I switch to that branch via " bower install foundation-sites#update-reveal --save" my modal no longer executes via the trigger link. No errors, just no results and other Foundation Javascript is running executing fine.
I'm also having another issue with the regular 6.1.2 release where a fullscreen modal doesn't compensate for space where the scroll bar was on Chrome. So you click for full screen modal, the modal covers everywhere but the space previously occupied by the scrollbar.

My fullscreen modal issue seems to be solved by adding
html{ overflow-y: scroll;}

Fixed via 330018d577bfbdaf30dad96fa6a05e4a074419e6


How to set Snowflake dialect for all method calls

Hi,
I use the SnowflakeQuery dialect to make queries.  However, if I use any other field-based methods, double-quotes will show up in the final query:
groupby = [
    'lot_id'
    ,'mfg_area_name'
    ,'mfg_step_name'
    ,'product_sub_family'
    ,'test_code'
    ,'test_temperature'
]

t = Table('mytable')

select = groupby + [fn.Sum(t.disp_flag).as_('qty_out'), fn.Count(t.disp_flag).as_('qty_in'), (Field('qty_out')/Field('qty_in')).as_('lot_yield')]

q = SnowflakeQuery.from_(t) \
    .select(*select) \
    .groupby(*groupby)

print(q.get_sql())

produces:
SELECT lot_id,mfg_area_name,mfg_step_name,product_sub_family,test_code,test_temperature,SUM(disp_flag) "qty_out",COUNT(disp_flag) "qty_in",qty_out/qty_in "lot_yield" FROM mytable GROUP BY lot_id,mfg_area_name,mfg_step_name,product_sub_family,test_code,test_temperature

The workaround is search and replace all double quotes after using pypika.  Is there a way to set, within the current scope, a dialect search that the search and replace is not necessary?
thx

this seems like valid sql for snowflake. is there an exception thrown from the DB?
for a workaround, I think you can override the double-quotes like this:
q.get_sql(alias_quote_char='')

@ajustintrue Here is the error:

Error: invalid identifier 'QTY_OUT' (line 1)

Removing the double quotes fixes it.  The workaround works, thx!


Is this guide published somewhere as complied version? like on your blog

Thanks for sharing

Yep, right there in the download section:
https://github.com/haoNoQ/clang-analyzer-guide/releases
https://github.com/haoNoQ/clang-analyzer-guide/releases/download/v0.1/clang-analyzer-guide-v0.1.pdf
README.md mentions it.

I'm sorry i'm responding so slowly; i've completely missed the notification about your question, no idea why.

I also don't have this posted anywhere else. Myself, at least.


Starting zmq.asyncio.Poller with socket initialized outside of running loop hangs

I've found some interesting behavior, that should probably be mentioned in the documentation. The gist is: When using zmq.asyncio.Poller.poll, one must create the socket(s) inside a running asyncio loop, otherwise zmq.asyncio.Poller.poll is prone to hanging. The hanging can be fixed using a timeout, but it is still very much annoying. Weirdly enough the poller will return a received event after the timeout.
An interesting observation: I discovered this 'bug' whilst translating the tornado based llbroker3.py from the ØMQ guide into asyncio code. At first I couldn't reliably reproduce the error. It was kinda random. But the moment I set the amount of parallel workers to one, I was able to reproduce this error consistently. I'm still not sure why it worked sometimes with multiple workers.
This example is as minimal as I was able to get it
from threading import Thread
import logging
import time
import zmq

import asyncio
import zmq.asyncio

setup_inside_running_loop = False  # Change this value to see the differing behavior

logging.basicConfig(
    level=logging.INFO,
    format="[%(asctime)s] %(levelname)s %(message)s"
)

def worker_task(worker_url, ident, ctx = None):
    """Worker task, using a REQ socket to do load-balancing."""
    socket = (ctx or zmq.Context.instance()).socket(zmq.REQ)
    socket.identity = f"Worker-{ident}".encode("ascii")
    socket.connect(worker_url)

    # Send request, get reply
    socket.send(b"READY")

    while True:
        request = socket.recv()
        logging.info(f"{socket.identity.decode('ascii')}: {request.decode('ascii')}")
        socket.send(b"Ok")

async def start_polling(backend):
    poller = zmq.asyncio.Poller()
    poller.register(backend, zmq.POLLIN)

    while True:
        logging.info("Starting poll")
        s = time.time()
        socks = dict(await poller.poll(1000))
        e = time.time()
        logging.info(f"End Polling {e-s:.2f}s (ret: {socks})")

        if e - s > 0.8:
            logging.info("##### Used timeout")

        if backend in socks:
            await backend.recv()
            await backend.send(b"test")

url_worker = "ipc://backend.ipc"

# Start background tasks
Thread(target=worker_task, args=(url_worker, 0), daemon=True).start()

ctx = zmq.asyncio.Context()
backend = None if setup_inside_running_loop else ctx.socket(zmq.REP)  # Outside of running asyncio.loop

async def startup():
    global backend

    if backend is None:  # Inside of it
        backend = ctx.socket(zmq.REP)
    backend.bind(url_worker)

    await start_polling(backend)

asyncio.run(startup())

Thanks for the test case! This is a duplicate of #1547 and #1255 and #1296 and fixed by #1551.


Specify Gemfile location in Docker container

I tried Danger in github actions workflow using this repository, then failed danger. https://github.com/duck8823/duci/runs/521732441#step:4:5
This is because the GitHub Actions command runs in a different directory than the WORKDIR in the Dockerfile.
So I changed it to specify the location of the Gemfile in the container.
https://github.com/duck8823/duci/runs/526090395?check_suite_focus=true#step:4:5
And update document..
Thanks.

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

          1 Warning

:warning:
Tests were not updated

  Generated by :no_entry_sign: Danger

Cool, I'm not an expert on docker stuff, but this feels reasonable 👍


Fix typo

@changeworld : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@changeworld thanks for helping correct the case! Looks good to me.
#sign-off


asterisk and square brackets treated as invalid characters

Slight problem created by the solution of #1417 is that chants with asterisks don't save. These are used to indicate incipits, so we want them to be valid. (Noticed while trying to change something unrelated on a previously-published chant with an asterisk!)

Square brackets turn out to have the same problem (these are used for incomplete texts in the standardized spelling field).

actually this bug is preventing a lot of editing and proofreading on extant entries. giving it a high priority label.

Temporarily turning off text validation in #1677 until this can be better addressed.
The asterisk thing makes sense -- it was an oversight because the syllabification validation follows the full text protocols, where asterisks aren't allowed. But since now incipits are just drawn from the full text fields, they should be allowed! So definitely we need to change the validation for that!
As I wrote in an email re: square brackets:

For square brackets, these will be allowed if they are entered according to the text entry protocols. So my guess is someone is trying to enter them "incorrectly" — probably because some convention is being/has been developed that has not made it to the protocols? If you have an example we can pinpoint.

I was making a change to the image link on an already published chant (https://cantusdatabase.org/chant/693728) and not touching the text field.
I didn't have the forethought to get a screen shot the error message, but I do remember it was a closing bracket, so it's one or the other of these:

So I guess first: is this a valid text entry? imho no.
 Instead, Lucas suggested that maybe we just show a warning, but still let you save what you came to the chant to edit.

This text seems valid to me? If not there are a lot of other texts like it...
I like @lucasmarchd01 idea to flag previously existing stuff. The reason we made this was originally to prevent stuff that would break on saving, not to flag other possibly-problematic things.

This text seems valid to me? If not there are a lot of other texts like it...

That may be...as I say it could be that this is an unrecorded convention. So what's in the square brackets is text that is illegible in the source or missing from the source but that is interpolated based on a standard chant text? Basically equivalent to the curly braces in the source spelling field?
I'll modify the syllabifier to accord with whatever it is.

The reason we made this

Oops. Not totally sure what the "this" is here? Made what? The aforementioned use of square brackets?

as I say it could be that this is an unrecorded convention.

So, it looks like (and this is ringing a bell now but I can't find documentation of where this was previously discussed) square brackets are allowed in that field according to the fragment entry protocols but not the text entry protocols.

Opened #1681 for a more permanent fix to the validation error point.

Oops. Not totally sure what the "this" is here? Made what? The aforementioned use of square brackets?

I meant, the problem originally being solved was to prevent people from creating unfixable chants by mistake.  Square brackets and asterisks etc might be incorrectly used, but they don't create weird pathological objects when they are--so it's maybe not necessary to prevent people from using them incorrectly.

I meant, the problem originally being solved was to prevent people from creating unfixable chants by mistake.

I see, thanks for the clarification. I think this is one problem and definitely the most urgent one.
I created #1312 a while back though too, and I think generally we shouldn't let people create bad chant texts. My assumption (perhaps incorrect) is that when people enter bad texts they aren't doing it maliciously or because the protocols can't handle the specific case, but because of unintentional mistakes (legitimately forgetting to close a bracket, for example) and so the validation can serve as a kind of "spell check". Perhaps not letting someone save a text is a bridge too far (what if they are just putting in a placeholder and will come back to correct?); in that case, maybe a pop-up that says "we've detected X in your chant text, which may cause syllabification and alignment problems/doesn't conform to the expected format. Are you sure you want to save?"

Right, I think we're in agreement.


Note that Python 3 is not supported

I tried to run kubefuse with Python 3, but ran into "print without parentheses" errors right away. Python 2 works great. The README should mention this requirement.

Tried adding support for python3 instead. Would you mind giving the branch a go?
https://github.com/opencredo/kubefuse/tree/python3

Just released v0.7 with full Python3 support 🙇


Register as a bower component?

Hiya! I like this plugin, and I was wondering if you'd be willing to register it as a bower component?

+1

I like it too, and I'm also behind this suggestion!

+1

I ran the bower install and I expect all is fine except it asks what module this exposes.  I answered global but I really don't know.  Can someone enlighten me as to how a script that extends the global String object exposes modules?
Here is the bower.json file that was generated...
{
  "name": "string_score",
  "description": "String Scoring Algorithm packaged for NodeJS",
  "main": "string_score.js",
  "authors": [
    "Joshaven Potter<EMAIL_ADDRESS>  ],
  "license": "MIT",
  "keywords": [
    "string",
    "score",
    "string_score"
  ],
  "homepage": "https://github.com/joshaven/string_score",
  "moduleType": [
    "globals"
  ],
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ]
}

Meanwhile, I smoothly installed it by doing:
bower install --save 'git://github.com/joshaven/string_score.git#e85369c'
e85369c being the id of the latest commit.

Installing by commit hashes is doable but not at all useful, since you can't tell what tag it is initially, so you have no idea what you're actually running, except that it's a specific commit.

The use I get out of it is knowing the whole team will have the same version.
But of course, I'm keeping my fingers crossed for getting it registered.

If someone wants to send me a pull request for the intragrations then I'd
be happy to pull it. I just don't want to make untested chances and I don't
know anything about the context this is being used in.
On Wednesday, March 2, 2016, GaloisGirl<EMAIL_ADDRESS>wrote:

The use I get out of it is knowing the whole team will have the same
version.
But of course, I'm keeping my fingers crossed for getting it registered.
—
Reply to this email directly or view it on GitHub
https://github.com/joshaven/string_score/issues/19#issuecomment-191432411
.

--
"Without our utmost care and diligence in the investigation of the truth,
we must be contented to walk in the shades of ignorance and error." - John
Owen 1678

I did it running bower install string_score_ext --save.
For those who user wiredep to inject bower dependencies into index.html, add this at bower.json
"overrides": {
    "string_score_ext": {
      "main": "string_score.js"
    }
  }

I added that text to the bower.json... Please confirm that it is correct.  I've never used bower so I'm just crossing my fingers hoping this file is helpful to users.   Thanks.  If there are problems with the file then I would greatly appreciate someone who can correct it and confirm the corrections sends me a patch or a pull request.