How to Run migration command remotely with the Heroku Postgres connection string ?

Running migration command with entity framework core should be same regardless of which database you choose to use or where your database is running from.
Please take a look at the following doc to learn how to run the migration command.
https://gist.github.com/jeremymaya/a36c1de8220d76beca85a2804a2cecc4#migration-and-update-with-net-cli

The official documentation from Microsoft is also extremely helpful:
https://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli

Thanks for replying @jeremymaya , Is it possible to run the migration command on docker?

The migration command should work for projects connected to databases running on docker

You are saying like when our dotnet connected with new heruko postgres, it will automatically run the migration script, when connection created... is I am telling right?

I have not tried creating a migration script that auto executes 😮
If you are using Visual Studio 2019, and only has one database for the project, you can use the Package Manager Console tool to run the following commands:
Add-Migration InitialCreate

Update-Database

That should create a database on Heroku Postgres if the connection string is pointing to Heroku Postgres.

Also understand that Entity Framework Core migration command is used to create a database from the model - This means that the docker has nothing to do with deploying a database in this process.
You are running the migration command to deploy a database based on your code before running the app in docker environment.

Yes... You are right... Thanks for helping.


Renaming master branch to main

I'm in the process of renaming the primary branch on all of my repos from master to main.
GitHub has improved their tooling to (hopefully) make this seamless. Redirects will be put in place and users will be prompted with commands to run locally upon visiting the page.
If there's no objections I'll proceed with lazy consensus next week.
https://github.com/github/renaming#renaming-existing-branches

This is done. Folks should see these instructions when visiting the repo.
git branch -m master main
git fetch origin
git branch -u origin/main main


Add basic Neutron implementation

cache.py and client_factory.py:

Add basic Neutron implementation

keeper.py

Fix get_random method

Coverage remained the same at 0.0% when pulling 08312d594a8b884f6a5084971632b00e3aab8a8e on FromZeus:master into db4dad6eb7d1ddd77857fdd56cc79a4e019572a0 on seecloud:master.

Coverage remained the same at 0.0% when pulling 73436b9f86cba6c80006dd51894b3066fb430df3 on FromZeus:master into db4dad6eb7d1ddd77857fdd56cc79a4e019572a0 on seecloud:master.


Added new endpoints to the list

Blizzard added new endpoints http://us.battle.net/en/forum/topic/20419012366

Thanks!


Fix package structure for traffic tests

Related Issue

Resolve #2736

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2-alpha@9a66133). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             v2-alpha    #2752   +/-   ##
===========================================
  Coverage            ?   73.62%
  Complexity          ?      228
===========================================
  Files               ?       19
  Lines               ?      728
  Branches            ?       57
===========================================
  Hits                ?      536
  Misses              ?      143
  Partials            ?       49

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Raise error when two dims are not compatible

Description

Bug fix for an earlier error. Closes #1248
Related Issue

[ ] Closes #
[ ] Related to #

Checklist

[ ] Checked that the pre-commit linting/style checks pass
[ ] Included tests that prove the fix is effective or that the new feature works
[ ] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[ ] MMM
[ ] CLV

Type of change

[ ] New feature / enhancement
[x] Bug fix
[ ] Documentation
[ ] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--1249.org.readthedocs.build/en/1249/

Ignore @fonnesbeck . Sorry


Error

I'm getting an error when starting up home bridge with this module (see below).  I'm configuring two Harmony Hubs as follows:
"platforms": [
    {
        "platform": "HarmonyHub",
        "name": "LivingRoom",
        "hubIP": "<IP_ADDRESS>"
    },
    {
        "platform": "HarmonyHub",
        "name": "Kitchen",
        "hubIP": "<IP_ADDRESS>"
    },

/usr/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'HarmonyHub' was not registered by any plugin.
at API.platform (/usr/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:314:45)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:85:36)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
homebridge.service: main process exited, code=exited, status=1/FAILURE
Unit homebridge.service entered failed state.

Nice if it works ! Don’t hesitate to post if you have some bugs / suggestions !


4372 Create group form -  Add metadata fields

Adds new fields to Group creation/edit forms: Group contact email, Group URL. This content is shown below the group image.

Note: Group contact email initial form value defaults to the current user's email.

This layout will be adjusted to match the Mockups in a future PR
https://app.moqups.com/90Oic9nPt1/view/page/a8389fffd

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[ ] Automated Testing

[x] Sufficient User and Developer Documentation

[x] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Go to Collaborate page. Then go to Groups.
Click on Create Group.
Fill in the form data (including the new fields) and click on Create.
Verify that the group is created and the metadata shown is correct.
Click on the edit icon on the top right to edit the group.
Verify that the metadata can be edited and the new values are updated correctly.

METRIC
VALUE

NEW DUPLICATED LINES DENSITY
0.0

NEW SECURITY HOTSPOTS
0

NEW VULNERABILITIES
0

NEW BUGS
13

NEW CODE SMELLS
1

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

@Maurier Why this PR target merge branch is not develop?

@Maurier Why this PR target merge branch is not develop?

This is part of a bigger feature described in https://github.com/hydroshare/hydroshare/issues/4372
We will be using https://github.com/hydroshare/hydroshare/tree/4372-communities-and-groups-2.0 as the feature branch in  order to keep things separated and make them easier to review.

@Maurier Is that mean we have to review the same code twice? The 2nd time we have to review as part of the PR for https://github.com/hydroshare/hydroshare/tree/4372-communities-and-groups-2.0

METRIC
VALUE

NEW SECURITY HOTSPOTS
0

NEW BUGS
0

NEW VULNERABILITIES
0

NEW CODE SMELLS
0

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

@Maurier Is that mean we have to review the same code twice? The 2nd time we have to review as part of the PR for https://github.com/hydroshare/hydroshare/tree/4372-communities-and-groups-2.0

Right, in that case we can merge now and review later in the next PR.


GP

introduce independent output batched GP as default
make multitask GP optional
rename to simple "GaussianProcess"

Codecov Report
Attention: Patch coverage is 91.22807% with 15 lines in your changes missing coverage. Please review.

Project coverage is 93.76%. Comparing base (3706802) to head (6a4ca01).

Files with missing lines
Patch %
Lines

autoemulate/emulators/gaussian_process.py
89.52%
11 Missing :warning:

tests/models/test_gptorch.py
90.69%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #258      +/-   ##
==========================================
- Coverage   94.60%   93.76%   -0.84%
==========================================
  Files          54       55       +1
  Lines        2948     3097     +149
==========================================
+ Hits         2789     2904     +115
- Misses        159      193      +34

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[BULK] DocuTune - Fix build validation issues: docs-link-absolute (part 7)

Global effort to fix build validation errors
The Microsoft Skilling team is fixing build validation errors and specific brand inconsistencies in Microsoft technical documentation for the rest of FY23 Q1. This will help address various accessibility, security, and usability issues. This PR was generated using DocuTune. It includes only targeted fixes and minor formatting adjustments.
DocuTune PRs improve quality of technical content by finding and automatically correcting a broad set of issues only where the correction is suitable. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!
CorrelationId: 0df9c2d6-63f8-4d1e-8b57-b33611a06514
InitiativeId: docutune-build-validation-issues-2022-05
PointOfContact: Alex Buck

#docutune-draft

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

File
Status
Preview URL
Details

docset/winserver2019-ps/webapplicationproxy/Set-WebApplicationProxyConfiguration.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2019-ps/windowserrorreporting/Disable-WindowsErrorReporting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/activedirectory/ActiveDirectory.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADComputer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADUser.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adcsdeployment/Install-AdcsCertificationAuthority.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/Enable-AdfsDeviceRegistration.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/New-AdfsAzureMfaTenantCertificate.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appx/Remove-AppxPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Get-BitLockerVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Remove-BitLockerKeyProtector.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicy.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicyRule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/Set-RuleOption.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Disable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Enable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Expand-DedupFile.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupJob.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupStatus.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Measure-DedupFileMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/New-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Remove-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

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

#docutune-ready

@sdwheeler
Please merge the changes in this PR. For more information, see the description at the top of this PR.
Any pre-existing build validation issues or insufficient Acrolinx scores should be addressed in a separate PR.
#docutune-request-approval

@JohanFreelancer9 @sdwheeler -
The request changes have been accepted. Please merge, thanks!

Docs Build status updates of commit 966b84b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/webapplicationproxy/Set-WebApplicationProxyConfiguration.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2019-ps/windowserrorreporting/Disable-WindowsErrorReporting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/activedirectory/ActiveDirectory.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADComputer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADUser.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adcsdeployment/Install-AdcsCertificationAuthority.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/Enable-AdfsDeviceRegistration.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/New-AdfsAzureMfaTenantCertificate.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appx/Remove-AppxPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Get-BitLockerVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Remove-BitLockerKeyProtector.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicy.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicyRule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/Set-RuleOption.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Disable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Enable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Expand-DedupFile.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupJob.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupStatus.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Measure-DedupFileMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/New-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Remove-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

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

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

File
Status
Preview URL
Details

docset/winserver2019-ps/webapplicationproxy/Set-WebApplicationProxyConfiguration.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2019-ps/windowserrorreporting/Disable-WindowsErrorReporting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/activedirectory/ActiveDirectory.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADComputer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADUser.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adcsdeployment/Install-AdcsCertificationAuthority.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/Enable-AdfsDeviceRegistration.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/New-AdfsAzureMfaTenantCertificate.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appx/Remove-AppxPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Get-BitLockerVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Remove-BitLockerKeyProtector.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicy.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicyRule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/Set-RuleOption.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Disable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Enable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Expand-DedupFile.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupJob.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupStatus.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Measure-DedupFileMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/New-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Remove-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

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

Docs Build status updates of commit 3f00c4a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/webapplicationproxy/Set-WebApplicationProxyConfiguration.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2019-ps/windowserrorreporting/Disable-WindowsErrorReporting.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

docset/winserver2022-ps/activedirectory/ActiveDirectory.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADComputer.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/activedirectory/Get-ADUser.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adcsdeployment/Install-AdcsCertificationAuthority.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/Enable-AdfsDeviceRegistration.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/adfs/New-AdfsAzureMfaTenantCertificate.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/appx/Remove-AppxPackage.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Get-BitLockerVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/bitlocker/Remove-BitLockerKeyProtector.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicy.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/New-CIPolicyRule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/configci/Set-RuleOption.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Disable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Enable-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Expand-DedupFile.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupJob.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupStatus.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Get-DedupVolume.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Measure-DedupFileMetadata.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/New-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/deduplication/Remove-DedupSchedule.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

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


go.mod - update golang.org/x/crypto

Update deps to avoid vulnerability scanner noise related to https://pkg.go.dev/vuln/GO-2024-3321. elastic/stream is not affected by GO-2024-3321.

:green_heart: Build Succeeded

Buildkite Build
Commit: 8d829cc37ed3a453d1a8c28d100988a1b524b3e6


Format exported chargingstation and user time

Need to be reviewed - see the linked issue (#2170 on the dashboard board)

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

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


Add ability to specify state parameter

Regarding issue https://github.com/pac4j/pac4j/issues/413

I'm in line with the change, see my comments.
Tough, the code has become a bit complicated, I'm wondering if we could go towards having some StateManager component with a isRequired and getValue methods and two default implementations: StaticStateManager and RandomStateManager? Or maybe just the value generation part?

What would you say to having a different BaseOAuth20 class that has the state parameter stuff localized to that? The requiresStateParameter thing really seems like a hack. Do you know of any OAuth 2 apis that actually require state data? I know google doesn't.

Maybe a specific BaseOAuth20 class could do the job. Facebook can use a state parameter and maybe others I don't remember. I plan to cut the 1.8.3 release very soon.
Notice you must rebase with master.

@leleuj See my updated commits. I've reorganized things a bit.

Aside from my two comments, I really like the new refactoring. You should synchronize with master since I cannot merge this PR automatically (the "Merge pull request" button is disabled, saying: "This branch has conflicts that must be resolved"). Thanks.

Just as a note here I'd really like to remove the setUseStateParameter of Google2Client. It's really useless and I only kept it for backward compatibility

OK. Perfect. Will merge. Many thanks for your patience and tenacity on this.


POC refactor of VideoGallery to reduce props

What

Remove props related to videoStream and screenShareStream from VideoGallery and offload rendering code of remote video/ screenshare and local video/ screenshare to a callback prop.
Why

Remove smart behaviour from VideoGallery
How Tested

Sample and storybook
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

I was able to go further with the refactor to remove logic for dominantSpeakers and which participants goes to the grid/horizontal gallery such that the VideoGallery api looks like
    <VideoGallery
      localVideoTile={gridTiles.length > 0 ? localVideoTile : undefined}
      gridTiles={gridTiles.length > 0 ? gridTiles : [localVideoTile]}
      horizontalGalleryTiles={horizontalGalleryParticipantTiles}
      styles={VideoGalleryStyles}
    />

But I'm not sure if we want to go that far. Please let me know and I can update this PR.

Closing this PR and revisit post GA.


No Show pin/unpin button in the Navigation menu options

I'm running 4 Webmin 1.900 with Authentic Theme 19.21, but only one of them have the option Show pin/unpin button in the Navigation menu options. This is the only Webmin i have made dev updates to.
I have cleared the cache in Firefox 63.0.3 but still nothing.

Obviously, it's because you have installed the latest/development version of the theme.
19.22 release will have it.

Not what i can see:
In order to make this option work, git command has to be installed on your system (installed and latest version 19.21)


How to see list of allowed ip addresses in Azure Portal and Azure CLI?

How can I see the list of already allowed api server ip addresses in Azure Portal?
How can I do that additionally using Azure CLI?

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

ID: 660320d4-fad5-3307-e29f-5f4cfad4b7f7
Version Independent ID: 85ac2e8b-633f-6e1a-e642-0645ca92e129
Content: API server authorized IP ranges in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/api-server-authorized-ip-ranges.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Ok, found it (only Azure CLI seems to be possible):
az aks show ...

Thanks for sharing the update.


fix: can't expect post id since it is random

Since we choose random post to test we can't expect fabricated defined post_id here. It gives error.

This PR is not needed now. The problem is already fixed.


Tests fail

I think tests require some sort of configuration and internet to work. Instead it would be better to mock requests and add the ability to run the tests without configuring the tool.
An alternative is to create an AWS account or configuration that is dedicated to act as a test. Even in that case, the configuration should be part of the tests setup

Tests also fail if a developer does not set the default instance which is not ideal. It would be good to move towards a configuration that runs as soon as the package is installed.


change print to Console.print

(Untested)
Should fix the community build.

I wanted to use Console.print originally, but found that I needed flushing to work consistently. Could you add Console.flush and try one of the tests?

It seems to work OK for me (ubuntu, in VSCode terminal)
The only thing is that some of the tests clear the "expected" line, for example testClearScreenBeforeCursor. Is that supposed to happen?

yeah theyre just sloppy tests :p


chore: bump htmlunit-driver from 3.60.0 to 3.61.0

Updates org.seleniumhq.selenium:htmlunit-driver from 3.60.0 to 3.61.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.seleniumhq.selenium", artifactId = "htmlunit-driver" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "org.seleniumhq.selenium", artifactId = "htmlunit-driver" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #219.

Superseded by #223.


Travis build not running

Despite of the existing .travis.yml there is is no build or tests running. See here.
Enabling Travis would show if PR's are breaking build or the logic.

@nirinchev is this something we should enable?

Removed .travis.yml. We should setup a jenkins build for that repo but it's not a super high priority.


Tetsuya Yamamoto: Watch gmailcustomerservicenumber.ca

Tetsuya Yamamoto requests the watch of the watch_keyword gmailcustomerservicenumber\.ca. See the Metasmoke search here and the Stack Exchange search here.

gmailcustomerservicenumber.ca has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Coverage remained the same at 65.273% when pulling 3469b6ba6e47f245390dd3f3147af42d7d0d931a on auto-blacklist-1519371010.2132568 into 1f58520550fadc30b96d3644d1328199c5ee2194 on master.

!!/approve


feat(batcher): add l1-provider client

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1870  👈
#1791
#1788
#1787
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @yair-starkware and the rest of your teammates on  Graphite

Merge activity

Nov 12, 3:01 AM EST: A user merged this pull request with Graphite.


Incompatible with Starlight

Describe the Bug
When used with Starlight (mod which hugely boosts lighting performance, must have for a lot of people to get decent performance), the game crashes upon placing any block which has either a complex model or moves (haven't confirmed which).
Blocks known not to crash:

Anything while it remains in the inventory
Copper Tiles
Andesite Casing
Item Vault
Basin

Blocks known to crash:

Shaft
Furnace Engine
Flywheel

Reproduction Steps

Install create and dependencies
Install latest Starlight
Place any of the above listed blocks which are known to crash

Expected Result
Game should not crash
Screenshots and Videos
No response
Crash Report or Log
https://nextcloud.auvitau.xyz/s/nbce3joJW2dWtDD
Operating System
Arch Linux
Mod Version
0.4.0d
Minecraft Version
1.18.1
Other Mods
Fabric API 0.46.4+1.18
Starlight 1.0.0+fabric.d0a3220
Additional Context
This build: https://github.com/Fabricators-of-Create/Create/actions/runs/1850424125 (the latest crashes upon launch, detailed in #146)

Update starlight to 1.0.1.


Flatten pick and omit APIs in CallWithChatComposite

What
Flatten following CallWithChatComposite APIs that were using Pick and Omit:

CallWithChatAdapterManagement
CallWithChatAdapterUiState
CallWithChatClientState
CallWithChatControlOptions

Why
Azure Review Board guidance -- doing so improves intellisense, improves doc generation and improves dev experience when looking at the API in the .d.ts file.
How Tested
n/a

Closing as need to make an update to this


Can I use system prompt when training?

Hi @imoneoi , I want my assistant to have different emotions or it can act as someone based on system prompt. So when training can I use data samples of the form {system_prompt} Human: {human_message} <|end_of_turn|>Assistant: {assistant_message} .... or such prompts are used in {human_message} like data samples you trained? Thank you!
Example: <s>Human:  Act as SEO expert. I want you to create the best meta descriptions among my competitors.\n\nHere are the list of our competitor's meta descriptions. \n\n\nHere is my meta description. Revise it. I don't want NFT in my description. I do not offer any staking service. \n\nBuy and sell the world's largest selection of 10,000+ Cryptocurrencies<|end_of_turn|>Assistant:  ....
Convert to <s>Act as SEO expert. I want you to create the best meta descriptions among my competitors <|end_of_turn|>Human: Here are the list of our competitor's meta descriptions. \n\n\nHere is my meta description. Revise it. I don't want NFT in my description. I do not offer any staking service. \n\nBuy and sell the world's largest selection of 10,000+ Cryptocurrencies<|end_of_turn|>Assistant:  ....

Yes. For training, generate_conversation_template has a system_prompt parameter, which will concatenate the system prompt using the same method you described. To use our model, you can add a system prompt before the user's first message, as shown below.

thank you @imoneoi


LOG [sizzling] [sizzling] [sizzling] [sizzling]  LOG   [engine revving] ????

 I get the same engine revving result when opening from a file.

I encountered the same issue. I use the expo-av package for microphone recording. I resolved it by modifying the output file configuration to match the one mentioned here.
const AUDIO_WAV = {
  isMeteringEnabled: true,
  android: {
    ...Audio.RecordingOptionsPresets.HIGH_QUALITY.android,
    extension: '.wav',
    outputFormat: AndroidOutputFormat.DEFAULT,
    audioEncoder: AndroidAudioEncoder.DEFAULT,
    sampleRate: 16000, // Set sample rate to 16kHz
    numberOfChannels: 1, // Set number of channels to mono
  },
  ios: {
    ...Audio.RecordingOptionsPresets.HIGH_QUALITY.ios,
    extension: '.wav',
    outputFormat: IOSOutputFormat.LINEARPCM,
    audioQuality: IOSAudioQuality.MAX,
    sampleRate: 16000, // Set sample rate to 16kHz
    numberOfChannels: 1, // Set number of channels to mono
  },
  web: {
    mimeType: 'audio/wav',
    bitsPerSecond: 128000,
  },
};

const { recording } = await Audio.Recording.createAsync(AUDIO_WAV);

...

const uri = recording.getURI();
const { promise } = whisper.transcribe(uri, {
  language: 'en',
});


Consider adding the ability to return an accessor in a function

If you want to return a getter and setter in a function, you have to wrap it in an object property. This can limit some abilities to implement more reactivity in ECMAScript. For example:
function logger(value){
    return {
        get value(){
            console.log('Value accessed!');
            return value;
        },
        set value(newVal){
            console.log(`Value changed to ${newVal}!`);
            value = newVal;
            return true;
        }
    }
}
let count = logger(0);
count.value++; //logs Value changed to 1!

is much less convenient and ergonomic than:
function logger(value){
    return accessor {
        get(){
            console.log('Value accessed!');
            return true;
        }
        set(newVal){
            console.log(`Value changed to ${newVal}!`);
            value = newVal;
            return true;
        }
    }
}
let count = logger(0);
count++; //logs Value changed to 1!

Returning accessors would allow for much simpler state management and reactivity in ECMAScript without any extra libraries or build steps.
Some examples of where this could be used include:

Svelte 5's $state rune, in which a value is passed, and when set, triggers a state change in the DOM. (Svelte is a compiled language, but this would simplify functionality)
React's useState hook, in which a value is passed, and returns a getter and setter.
Vue's ref function, which declares a reactive state and returns an object with a value getter and setter.
A much simpler implementation of the Signals proposal, in which a value is passed, and returns a get function and set function.

By definition, an accessor (or a getter/setter) are for a property on an object. A variable isn't a property on an object, it's a binding, and overloading the way operators work for a binding would be a massive proposal unlikely to gain consensus, and either way would need to be separate from this proposal.


New layouts strategy

This PR includes a lot of quiet drastic changes, since Layouts have effect on entire websites.
Most affected are Header, Sidebar and Toc, these are combined into one Navigation component (at least for now).
Furthermore a lot of minor improvements are made to the documentation website

Some TS build errors should still be fixed. Also the Search should be added back.


[question] ffmpeg codecs

hi
what about ffmpeg codecs support in electron ? what s the supported codecs list please? and can we build a custom version with more codecs (if needed) :) ?
thanks

We are using the same codecs with the Chrome browser, the build flags of ffmpeg can be found at:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/ffmpeg/chromium/config/Chrome/win/x64/config.h&sq=package:chromium
It is possible to build with more codecs by modifying the build flags, but you need to hack into Chromium's source code yourself.
More information can be found at https://www.chromium.org/audio-video.


Rendering error with CustomField

I stumbled on an rendering error regarding react hook, that seems to come for the "CustomField" component.
How i reproduce the error :

Launch the app
In the new job tab

Select the "HTML to Braille" script (touch nothing else)
Select the "DTBook validator" script

In dev, this raise a react error : "Rendered fewer hooks than expected"
App version : 1.0.0-RC
System : Windows 10

@NPavie Can you see how this is for you now? It is fixed for me.


Directory '.[mysql]' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

Bug description
Hi DefectDojo's community,
I am attempting to deploy/install DefectDojo's solution on a Linux environment following this documentation : https://github.com/DefectDojo/django-DefectDojo/wiki/DefectDojo-Installation-Guide-Ubuntu-Desktop-16.04.2, but I have some errors in the "Installing DefectDojo Django application" step just after running the ./setup.bash

Can you advice please?

Thank you !
==========
Installing DefectDojo Django application
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
The directory '/home/adminuser/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/adminuser/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (19.0.3)
sudo: unable to resolve host LinuxUbuntuVM
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Directory '.[mysql]' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
/home/adminuser/django-DefectDojo/entrypoint_scripts/os/linux.sh: line 257: entrypoint_scripts/common/setup-superuser.expect: No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
/home/adminuser/django-DefectDojo/entrypoint_scripts/os/linux.sh: line 279: cd: components: No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
Steps to reproduce
Steps to reproduce the behavior:
https://github.com/DefectDojo/django-DefectDojo/wiki/DefectDojo-Installation-Guide-Ubuntu-Desktop-16.04.2
Deployment method (select with an X)

[ ] Kubernetes
[ ] Docker
[x] setup.bash / legacy-setup.bash

Environment information

Operating System: Ubuntu 16.04.6 LTS

Console logs
DefectDojoInstall-bug.txt

After changing user to root and running the ./setup.bash :
=======
Installing DefectDojo Django application
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (19.0.3)
sudo: unable to resolve host zafaforgsvcs03
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Directory '.[mysql]' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
/root/django-DefectDojo/entrypoint_scripts/os/linux.sh: line 257: entrypoint_scripts/common/setup-superuser.expect: No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
/root/django-DefectDojo/entrypoint_scripts/os/linux.sh: line 279: cd: components: No such file or directory
python: can't open file 'manage.py': [Errno 2] No such file or directory
DEBUG JUNK:
PROMPT is true
====>
INSTALL_OS is linux-gnu

hello, @kibnelbachyr, I think this issue is relevant to this #851 and this issue is fixed in the new updated version 1.5.4.
Can you recheck now?

I was receiving this same error then realized it looks like the config-vars.sh assumes that you are installing in /opt/dojo/django-DefectDojo. When I moved the project to the /opt/dojo directory, I was able to get further.
I'm now working on other errors during the install.

Hi @aaronott, Docker and Kubernetes installations are preferred deployment ways for the time being.
Official DefectDojo is available on Read The Docs.
Do you have specific needs requiring a manual installation, and not using Docker for example?


Add publicDir Config

Is your feature request related to a problem? Please describe.
I Want Content Of public In Root Of dist Instead Of In Public Folder Inside dist.
Describe the solution you'd like
Add An Option To Configure publicDir Relative To outDir.
Describe alternatives you've considered
Instead Of Creating Public Folder In dist Add It's Content To dist.

The build command has a option assetsDir,maybe can help you.

No, I Have package.json In Public Folder, To Use In Build. I Use This package.json To Build Electron Application. I Can Use A Node Script To Do This( Running Script Containing fs After vite build) But It Would Be Cleaner If I Have Option To Change Path Of Public Folder In Build.

Look like this case isn't relate of vite build.Can you  explain in detail with the publicDir intention for vite build.I'm not sure get it.

In Vue cli Content Inside Public Folder Will Go To dist\ But In Vite It Is In dist\public\. I Want Vue cli Behavior Here.

If you import it as /public/ in your code, then the directory should be copied to the exact same location in the dist dir, otherwise the paths will be incorrect. It is intentional to make this not configurable.

@yyx990803
Laravel uses the public/ directory as the folder it serves from, by not making the public path configurable, this means Vite will never work with Laravel. Unless I'm misunderstanding something?
My outDir must be set to public or built files won't be accessible on the frontend, but this throws an error
Error: Source and destination must not be the same.
    at C:\Users\harry\Sites\vite-laravel\node_modules\vite\node_modules\fs-extra\lib\util\stat.js:39:17
    at cb (util.js:196:39)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Which is understandable, but being able to rename vite's public folder would then enable this to work?

Nevermind, changing the root config option allowed me to shift this into a separate folder. Sorry about that.


Mgmt add playback timeout

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
Fix https://github.com/Azure/azure-sdk-for-java/issues/31978
Mainly in ResourceManagerTestBase.
Set Default timeout to 5seconds for each test method. When @PlaybackTimeout is present on a test method, will set timeout according to its configuration.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Not being able to restart remarkabe

So after I had some fun installing it on the remarkable tablet, it seemed that my SSH session had terminated, so I went into a kind of panic trying to figure out how to SSH in and ReMarkable. So Finally I pressed exit and went into a white screen. I tried turning it on and off by pressing the main button but couldn't figure it out. Please help. -Alexander

Never mind i figured it out. Phew!


1

Context: https://tour.golang.org/basics/5
Change the title above to describe your issue and add your feedback here, including code if necessary

Empty issue, closing.


perf: merge HarmonyImportSideEffectDependency into HarmonyImportDependency

Summary
Fix https://github.com/web-infra-dev/rspack/pull/4010 performance regression.

Test Plan
Not need.

!bench

!bench


Checkboxes to show or hide active or frozen mods

Motivation
The new Infra has allowed us to persist status data about frozen mods, rather than dumping only the statuses of mods crawled in the current pass. If you attempt to use the status page to monitor active problems, old frozen mods with errors will clutter the list even though we've already taken corrective action by freezing them.
Changes
Now by default on page load, active mods are shown and frozen mods are hidden. There are checkboxes in the upper right to show or hide each group. These checkboxes' values are not saved/loaded across page refreshes, because while you might conceivably want to peek at frozen mods right now, it's highly unlikely that you'll be interested in them forever.
NOTE: The active/frozen statuses of mods in the below screenshots are faked because we do not have accurate values for this property due to errors in KSP-CKAN/NetKAN-Infra#96. This should be addressed once KSP-CKAN/NetKAN-Infra#100 is merged. To simulate having valid data for testing, temporarily add this before the setState call in loadNetKANsFromServer:
        // XXX - DO NOT COMMIT, TESTING ONLY
        var aDayAgo = new Date();
        aDayAgo.setDate(aDayAgo.getDate() - 1);
        netkan.forEach((row, index) => {
          var dt = new Date(row.last_checked);
          if (dt < aDayAgo) {
            row.frozen = true;
          }
        });

Frozen mods are shown in a strikethrough style:

Fixes KSP-CKAN/NetKAN-Infra#60.

I'll get the other fixes out and then merge this one in. Fantastic work!


Scaffold assignment submission

Implements a dummy endpoint for student work upload. In order to make it actually operate, the grading subsystem has got to be done, hence a dependency on #17.

Superceded by #63.


refactor(assert,datetime,fmt,io,streams): consistently throw new Error() instead of throw Error()

…nstead of throw
To ensure consistency across the codebase, this commit refactors the codebase to use throw new Error instead of throw for throwing errors.
https://github.com/denoland/std/issues/5854

Does this close #5854?


Add 2 button Tuya remote variant

Adds suppot for:
"manufacturer": "_TZ3000_owgcnkrh",
"model": "TS0042",
This device:
https://www.aliexpress.com/item/4001095272467.html

Pull Request Test Coverage Report for Build 399675722

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 80.66%

Totals

Change from base Build 398650339:
0.04%

Covered Lines:
2982

Relevant Lines:
3697

💛  - Coveralls

Tested, working OK.
zha_event "remote_button_short_press", "remote_button_long_press" and "remote_button_double_press" received.


Organize documents around workflows

Jordan Lee
10:00 AM
In terms of the flow of the docs (not the functionality): I like that there are many tools/commands that cover different use cases, perhaps framing these tools into a workflow. Currently it feels like a page to search for key words (ex. “pull metadata” “push metadata”) rather than a step-wise workflow. an example being the step to convert fhir to tabular data is then followed by convert tabular data to fhir, where a user won’t need to do both of these conversions back to back (taking a second pass through all steps in the doc could be beneficial). this comment is regarding this:
https://github.com/ACED-IDP/aced-idp.github.io/blob/main/docs/workflows/metadata.md

@jordan2lee Can you sketch out more detail (an outline or diagram)?

First a few comments on areas of improvement:

it's unclear in which scenarios a user should use "integrate your data" section. I assume it is only in "i want to append metadata to already existing metadata" but doesn't need to be followed in "i have metadata for a project that doesn't already have metadata" because if this was the case then the user just needs to run the section "create metadata"
make it more clear that the user doesn't have to run both sections "create metadata" and "retrieve existing metadata" if they are working with a project that doesn't already have metadata
the section "integrate your data" suggests that users are preparing their data for upload to aced, thus would not need to "convert FHIR data to tabular form". we can remove this secrtion and place it into a section abouit downloading data (users can taken the fhir data stored with ACED and then change it to a tabular view). Note do still keep the convert tabular data to fhir but add language to explain this step requires user data to be in x, y, and z format in order to run "from_tabular"

Below is a suggested outline:

Creating and Uploading Metadata
Create New Metadata
If no existing metadata uploaded to the project, then follow this section...
Retrieve Existing Metadata and Add to it
If there is existing metadata uploaded to the project then follow this section...

How to retrieve exiting metadata
How to append metadata to it

Integrate your data (metadata?)
Add a sentence to clarify if this "data" is the metadata or the actual data that we are reformatting into FHIR format

Convert your tabular data into FHIR format
Validate your data
Add wording about how this command ensures your data is in the appropriate FHIR format

Publish the Metadata
View the Files

other than that, the outline structure looks good


build error on new version

on versions > 0.1.0 on windows 10 I have an error:
[cythonbuilder] 15:39:44 cli      133  Cleanup complete
[cythonbuilder] 15:39:44 cli      137  Generating interface files..
[cythonbuilder] 15:39:44 cython_builder 161  [cy_interface] - generating interface files for 1 found pyx files
st_ration.pyx
[cythonbuilder] 15:39:44 cli      143  [build] build error: string index out of [range]([url](url))

On 0.1.0 it works well
code:
#!python
#cython: language_level=3

#///// # cython: infer_types=True
# https://idlecoding.com/from-python-to-cython/

import numpy as np

# "cimport" is used to import special compile-time information
# about the numpy module (this is stored in a file numpy.pxd which is
# currently part of the Cython distribution).
cimport numpy as np

# It's necessary to call "import_array" if you use any part of the
# numpy PyArray_* API. From Cython 3, accessing attributes like
# ".shape" on a typed Numpy array use this API. Therefore we recommend
# always calling "import_array" whenever you "cimport numpy"
np.import_array()

# We now need to fix a datatype for our arrays. I've used the variable
# DTYPE for this, which is assigned to the usual NumPy runtime
# type info object.
###DTYPE = np.int

# "ctypedef" assigns a corresponding compile-time type to DTYPE_t. For
# every type in the numpy module there's a corresponding compile-time
# type with a _t-suffix.
#ctypedef np.int_t DTYPE_t

cimport cython

@cython.boundscheck(False) # turn off bounds-checking for entire function
@cython.wraparound(False)  # turn off negative index wrapping for entire function
@cython.cdivision(True)
def eval_nutrients(
    np.ndarray[np.float32_t, ndim=1] norms,
    np.ndarray[np.float32_t, ndim=1] target,
    np.ndarray[np.float32_t, ndim=1] lower_border,
    np.ndarray[np.float32_t, ndim=1] upper_border,
    np.ndarray[np.float32_t, ndim=1] importances_lower,
    np.ndarray[np.float32_t, ndim=1] importances_upper,
    float INNER_COEF,
    float OUTER_COEF
):

    cdef float total_okay = 0, total_not_okay = 0, v, t
    cdef int length = target.shape[0]
    cdef Py_ssize_t i

    for i in range(length):
        t = target[i]
        v = (norms[i] - t) / t

        if v < lower_border[i]:
            total_not_okay += abs(v)*importances_lower[i]
        elif v > upper_border[i]:
            total_not_okay += abs(v)*importances_upper[i]
        else:
            total_okay += abs(v)

    return total_okay*INNER_COEF + total_not_okay*OUTER_COEF

@cython.boundscheck(False) # turn off bounds-checking for entire function
@cython.wraparound(False)  # turn off negative index wrapping for entire function
def vector_to_norms(
    np.ndarray[np.float32_t, ndim=1] portions_vector,
    np.ndarray[np.float32_t, ndim=2] matrix,
    np.ndarray[np.float32_t, ndim=1] result
):

    cdef float s

    cdef Py_ssize_t row, col

    for col in range(matrix.shape[1]):

        s = 0
        for row in range(matrix.shape[0]):
            s += portions_vector[row]*matrix[row, col]

        result[col] = s

@cython.boundscheck(False) # turn off bounds-checking for entire function
@cython.wraparound(False)  # turn off negative index wrapping for entire function
@cython.cdivision(True)
def eval_split(
    np.ndarray[np.float32_t, ndim=1] vector_converted,
    np.ndarray[np.uint8_t, ndim=1] meals_indexes,
    np.ndarray[np.float32_t, ndim=1] energy_array,

    np.ndarray[np.float32_t, ndim=1] by_meal,
    np.ndarray[np.float32_t, ndim=1] target_percents,

    float split_coef
):

    cdef Py_ssize_t i
    cdef float tot_energy, tot_energy_percent, s

    for i in range(meals_indexes.shape[0]):
        by_meal[meals_indexes[i]] += energy_array[i]*vector_converted[i]

    s = 0
    for i in range(by_meal.shape[0]):
        s += by_meal[i]

    tot_energy = s
    if tot_energy == 0:
        return 0.0

    tot_energy_percent = 100.0 / tot_energy

    s = 0
    for i in range(target_percents.shape[0]):
        s += abs(target_percents[i] - by_meal[i] * tot_energy_percent)

    return split_coef * s

It seems I had bad environment, sorry

On latest version:
PS J:\NutrientPlaner\machin-learning-service\ext\pyxfiles> cybuilder build fast_ration --include-numpy -v -y
[cythonbuilder] 02:11:22 cli      65   cmd1='build'
[cythonbuilder] 02:11:22 cli      106  [build] - Building Cython files..
[cythonbuilder] 02:11:22 cli      113  Found 1 to build
[cythonbuilder] 02:11:22 cli      121  Building 1 pyx files..
[cythonbuilder] 02:11:23 cython_builder 76   C J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.pyx
Compiling J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.pyx because it changed.
[1/1] Cythonizing J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.pyx
running build_ext
building 'fast_ration' extension
creating build
creating build\temp.win-amd64-cpython-38
creating build\temp.win-amd64-cpython-38\Release
creating build\temp.win-amd64-cpython-38\Release\NutrientPlaner
creating build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service
creating build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext
creating build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext\pyxfiles
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\qtckp\anaconda3\envs\nutrient\lib\site-packages\numpy\core\include -IC:\Users\qtckp\anaconda3\envs\nutrient\include -IC:\Users\qtckp\anaconda3\envs\nutrient\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" /TcJ:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.c /Fobuild\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.obj
fast_ration.c
C:\Users\qtckp\anaconda3\envs\nutrient\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.c(2149): warning C4244: =: преобразование "npy_intp" в "int", возможна потеря данных
J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.c(2851): warning C4244: =: преобразование "double" в "float", возможна потеря данных
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\qtckp\anaconda3\envs\nutrient\libs /LIBPATH:C:\Users\qtckp\anaconda3\envs\nutrient /LIBPATH:C:\Users\qtckp\anaconda3\envs\nutrient\PCbuild\amd64 "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.19041.0\\um\x64" /EXPORT:PyInit_fast_ration build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.obj /OUT:J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.lib
   Создается библиотека build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.lib и объект build\temp.win-amd64-cpython-38\Release\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.exp
Создание кода
Создание кода завершено
[cythonbuilder] 02:11:26 cli      129  Built 1 pyx files, cleaning up..
[cythonbuilder] 02:11:26 cython_builder 105  [cy_clean] - start cy_clean with ['J:\\NutrientPlaner\\machin-learning-service\\ext\\pyxfiles\\fast_ration.pyx']
[cythonbuilder] 02:11:26 helpers  16   create_folder] - created folder
[cythonbuilder] 02:11:26 helpers  16   create_folder] - created folder
[cythonbuilder] 02:11:26 cython_builder 20   [cy_init] - Initialized cybuilder at J:\NutrientPlaner\machin-learning-service\ext\pyxfiles
[cythonbuilder] 02:11:26 cython_builder 139  [cy_clean] - Moving annotation files from J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.html to J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\ext\annotations\fast_ration.html
[cythonbuilder] 02:11:26 helpers  93   moving J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.html to J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\ext\annotations\fast_ration.html
[cythonbuilder] 02:11:26 cython_builder 148  [cy_clean] - Moving pyd files from J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.pyd to J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.pyd
[cythonbuilder] 02:11:26 helpers  93   moving J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.pyd to J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.cp38-win_amd64.pyd
[cythonbuilder] 02:11:26 cli      133  Cleanup complete
[cythonbuilder] 02:11:26 cli      137  Generating interface files..
[cythonbuilder] 02:11:26 cython_builder 161  [cy_interface] - generating interface files for 1 found pyx files
[cythonbuilder] 02:11:26 cython_builder 169  Creating .pyi for J:\NutrientPlaner\machin-learning-service\ext\pyxfiles\fast_ration.pyx
[cythonbuilder] 02:11:26 cli      143  [build] build error: string index out of range

@mike-huls the error appeared on linux server too on latest version!
May I send the file to ur email?

@PasaOpasen Sorry for my late response. Looking at the output you've provided it seems that the problem is in generating an
interface file for fast_ration.pyx.
Could you send me the file? I'll look into it

@PasaOpasen
I've looked into building your file I'm running cythonbuilder 0.1.13 and the command i execute is:
cybuilder build fast_ration --include-numpy -v -y. This works just fine on my pc, no problems.
From your logs, however is see that the problem is in generating the pyi interface files. Can you try to skip this step build running
cybuilder build fast_ration --include-numpy -v -y --no-interfaces?

@mike-huls  yes! with cybuilder build --include-numpy -v -y --no-interfaces it finally builds


Chore: Update search filter on palomabot

[x] UI Change search filter label "pool liquidity" to "Market Capitalization"
[ ] API call: Confirm that market capitaliztion and monthly volume parameters can be passed in the API call and return a result

https://github.com/VolumeFi/palomabot/pull/11


Need data model support for handling "read attributes" command on the server

Problem
As far as I can tell, chipZclReadAttributesCommandParse doesn't actually get the current state of the attribute.  In particular, I don't obviously see it calling chipZclReadAttribute anywhere.
In addition to that, it looks like chipZclReadAttributesCommandParse expects the command context to have a useful clusterId, but this is not a cluster-specific command, so it's not clear that it would have such a thing.  Certainly chipZclDecodeZclHeader won't set clusterId for a non-cluster-specific command.
Proposed Solution
Implement support for the read attributes command.  This probably requires fixing the cluster id thing, as well as fixing chipZclReadAttributesCommandParse to do the right thing.  Something in this read-the-attribute code needs to call some app-provided callback at some point, too...
@woody-apple @tecimovic @bhaskar-apple @rwalker-apple

In the ZigbeePro code, this all just works already.  Once https://github.com/project-chip/connectedhomeip/pull/1915 lands things are fine.

Fixed by https://github.com/project-chip/connectedhomeip/pull/1915 a while back.


Remove dependency on the system graphviz when rendering crate graph

This PR removes the need for having graphviz installed on the user system by using the d3-graphviz npm package.
The responsibility of rendering the svg output is moved to the extension while the rust side only handles the generation of the dot file.
This change also brings the following additional features:

Allow zooming the view
Ctrl+click to reset the zoom
Adjust the color scheme to dark themes
Works on any platform without installing graphviz locally

I’m not sure if this fits what you had in mind for the crates graph feature but I decided to submit it anyway to see if this is useful to anyone else.
A potential downside might be that it increases the extension size ( haven’t checked) but this feature already required the installation of graphviz on the user side, so the cost is just moved explicitly to the extension.
Feel free to make any suggestion or comments.

There's a formatting difference in the Rust code and some TS lints too.

r? @matklad
I know this brings some extra dependencies on the JS side, but:

they're not build (bundler) -related, so they probably behave better on updates
a lot of people complained about having to install GraphViz (or at least about the confusing error message when they didn't have it)
it's still something for non-Code users: if you get the dot file you can paste it yourself somewhere and run GraphViz, and it's a bit nicer to edit
the accessibility improvements are nice and were requested by users, though we could implement those over a plain SVG too.

@p32blo did you actually test this in Code (using cargo xtask install)? It doesn't work for me, because you're loading paths that don't exist in the installed extension. There's no node_modules, only out, and it doesn't have d3. You might need to tweak .vscodeignore and maybe look into how you can bundle extra files inside an extension.

This also needs a rebase, another PR touched package-lock.json.

Yeah, seems like a better factoring!
Question: how much larger is the vsix? Looks like this uses graphviz compiled to wasm, I wonder if that makes the overall download significantly larger.
When we merge this, we probably need to ping the #4604

The total node_modules is 9.3MB when installing just d3-graphviz and 18MB when installing d3 too. Just the necessary files is ~1.6MB:
$ du -sh node_modules/d3/dist/d3.min.js
268K    node_modules/d3/dist/d3.min.js
$ du -sh node_modules/@hpcc-js/wasm/dist/{index.min.js,*.wasm}
112K<EMAIL_ADDRESS>100K<EMAIL_ADDRESS>1,1M<EMAIL_ADDRESS>$ du -sh node_modules/d3-graphviz/build/d3-graphviz.min.js
32K     node_modules/d3-graphviz/build/d3-graphviz.min.js

The vsix is probably smaller than that because it's compressed.
Right now it's not larger because it's actually missing the new files, of course.

Thank you everyone for the comments! I updated the PR to fix some of the issues.

@p32blo did you actually test this in Code (using cargo xtask install)?

I only ran the 'Run Extension (Debug Build)' task to test the changes. I added each required file explicitly to .vsignore and testing with cargo xtask install and it seems to work now. Can you check if it works for you now?

This also needs a rebase, another PR touched package-lock.json.

I rebased to master in this last update.

(not sure if expatlib.wasm is necessary or not)

Only the graphvizlib.wasm is necessary.

It works for me now, but how do I change to dark mode?

It adapts to dark themes, here are some screenshots:

Oh, right. I tried that, even noticed the white lines, but thought it wasn't working because of the white box backgrounds.

So the VSIX is 1.1 MB, up from 310 KB. That's a hefty increase, but not so bad in comparison to the LSP binary (around 9 MB). So I'm inclined to:
bors r+
changelog feature (first contribution) use graphviz-d3 for the crate graph instead of running an installed binary.

Oh, right. I tried that, even noticed the white lines, but thought it wasn't working because of the white box backgrounds. It's even written in the CSS.

Yeah, it's just the lines xD. This is just a proof of concept and I'm sure someone with more CSS experience can do a better job later :D


Extracting Greek alphabet from pdf

Not an issue but a question. When parsing PDF files that contain Greek symbols, pdfminer will translate some symbols to normal alphabet letters.
For example:
The alpha symbol is translated into 'a' and the gamma symbol is translated into 'c'.
Is there a way to extract these symbols into Unicode characters to identify these symbols?

Hi @remondulos,
Is this problem still relevant for you? Could you maybe add an example pdf that shows this behavior?
I expect that the PDF specifies that the unicode value of the greek symbols are the latin (normal) alphabet characters. And thus there is not much we can do. But without an example PDF there is no way to tell if this is indeed the case.

Closing this as not reproducible (missing pdf).

This is an issue for me too.
Here is an example PDF that shows this behaviour:
philo.pdf
For example, this text:

Is extracted as:
phrases such as Aristotle’s ‘mathematical harmonics’ (ἁqlomijὴ ἡ
lahglasijή, An. post. 79a1) and ‘arithmetical harmonicists’ (oἱ
jasὰsoὺ1 ἀqihloὺ1 ἁqlomijoί, Top. 107a15–16).3

I also noted that the number for the notes are not extracted correctly, making reading difficult. For example "3" is parsed as a normal number 3 instead of a superscript (" ³ ", unicode U+00B3). Maybe there is an underlying issue with the fonts characters map handling by PDFMiner that causes both those errors?


Support use of mounted volumes in airflow runtime

Requires #2675

[x] Update tests to include volume mounts
[ ] Update documentation

What changes were proposed in this pull request?

How was this pull request tested?

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

DAG generation doesn't seem to handle yet multiple mounts (volume_mount and volume are overridden):
volume_mount = VolumeMount(
    name="my-pvc-claim", mount_path="/mnt/vol/one", sub_path=None, read_only=False
)
volume_config = {"persistentVolumeClaim": {"claimName": "my-pvc-claim"}}
volume = Volume(name="my-pvc-claim", configs=volume_config)

volume_mount = VolumeMount(
    name="rwx-test-claim", mount_path="/mnt/vol2", sub_path=None, read_only=False
)
volume_config = {"persistentVolumeClaim": {"claimName": "rwx-test-claim"}}
volume = Volume(name="rwx-test-claim", configs=volume_config)

op_3e3dc23e_8c1c_41f0_91f6_9541f98cd228 = KubernetesPodOperator(
    name="hello_hello_i_can_hear_you",
     ...
    task_id="hello_hello_i_can_hear_you",
    env_vars={
        "TESTFILE": "/mnt/vol/one/inout.txt",
        "TESTFILE2": "/mnt/vol2/inout.txt"
    },
    volumes=[volume],
    volume_mounts=[volume_mount],

DAG generation doesn't seem to handle yet multiple mounts (volume_mount and volume are overridden):
volume_mount = VolumeMount(
    name="my-pvc-claim", mount_path="/mnt/vol/one", sub_path=None, read_only=False
)
volume_config = {"persistentVolumeClaim": {"claimName": "my-pvc-claim"}}
volume = Volume(name="my-pvc-claim", configs=volume_config)

volume_mount = VolumeMount(
    name="rwx-test-claim", mount_path="/mnt/vol2", sub_path=None, read_only=False
)
volume_config = {"persistentVolumeClaim": {"claimName": "rwx-test-claim"}}
volume = Volume(name="rwx-test-claim", configs=volume_config)

op_3e3dc23e_8c1c_41f0_91f6_9541f98cd228 = KubernetesPodOperator(
    name="hello_hello_i_can_hear_you",
     ...
    task_id="hello_hello_i_can_hear_you",
    env_vars={
        "TESTFILE": "/mnt/vol/one/inout.txt",
        "TESTFILE2": "/mnt/vol2/inout.txt"
    },
    volumes=[volume],
    volume_mounts=[volume_mount],

Added commit for this, my bad for not checking the git diff prior.


chore: ensure consistents emotion css classNames

Summary
Use snapshots classname generation based on style content to reduce false positive snaphosts test failure.
Type

Refactor

What is expected?
No change at all, only tests snapshot update.

update DateInput test snapshot with locale set to french -> CI test seems to be run with french locale.
& add an explicit test:update script


Prometheus endpoint

What would you like to be added:  Add prometheus endpoint for metrics
Why is this needed:
I have a separate instance with prometheus installed, which already collects logs from several clusters.
If prometheus is installed not inside the cluster, but on a separate instance, is it possible to simply specify the prometheus address for metrics

You could try to create a Service with the type ExternalName and point that to your central prom instance, then reference that here like some-namespace/service-name:9000 or :443

@BeryJu tried your suggestion, doesn't work

@BeryJu tried your suggestion, doesn't work

Same issue


Deleted items should be auto-pruned

Two item categories have no way of notifying the plugin when their actual item is deleted:

Bookmark groups
Properties

When you delete one of these items (without clicking Remove icon first), the plugin leaves their ID and icon settings inside data.json forever. This makes the data file bloated over time. If the rememberDeletedItems setting is disabled, the plugin needs to check which items no longer exist, and remove those IDs before calling saveData().
Note: Tabs and ribbon commands don't need pruning, because their items aren't deleted, they're just hidden.

Included files & folders in the auto-pruning, since Obsidian won't fire on('delete') if files are deleted while the app is closed.


Issues loading visit.so as a python package

Describe the bug
When making the call to visit.Launch(), I get the message
ERROR: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/gapps/visit/3.3.0/linux-x86_64/lib/libvisitcommon.so)
Helpful additional information

Did VisIt crash: No
Did you get wrong results: I would have to say "yes" at this point.

To Reproduce
Steps to reproduce the behavior:
PATH=/usr/gapps/visit/bin:$PATH scriptname.py
...
sys.path.append("/usr/gapps/visit/3.3.0/linux-x86_64/lib/site-packages")
import visit
visit.AddArgument("-v")
visit.AddArgument("3.3.0")
visit.Launch()
Expected behavior
A clear and concise description of what you expected to happen: I expected the script to proceed to the next VisIt call.
Attachments

Can you reproduce the bug on our test data?

If so, which file?
If not, access to your data would be very helpful. If the data set is small, please zip and upload it as an attachment. If it is large, please provide instructions for how we can contact you to obtain this data.

Please attach a (zipped) sessionfile to easily reproduce (In the viewer, use File->Save Session).
Please attach any screenshots relevant to understanding the issue.

Desktop

OS and version: toss_3_x86_64_ib
VisIt Version: 3.3.0
Server info (if applicable): rzgenie

Additional context
Add any other context about the problem here. Attach any (zipped) relevant files, such as data, configurations, sessionfiles, etc.

@nDimensionalSpace VisIt is build/linked against a newer version of GCC than system python.
Here is a trick you can use in your python script to resolve this:
import ctypes
gcc6 ="/usr/tce/packages/gcc/gcc-6.1.0/lib64/libstdc++.so.6"
ctypes.cdll.LoadLibrary(gcc6)

Ok, now getting another error:
ERROR: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

Ah, I see toss4 on rzgenie.
So, this is a little scary now b/c on toss4 we are mixing system python 3.8 (built with gcc 4.9.3) with VisIt that is using python 3.7 (built with gcc 6.something)
Putting all these shared libs in the oven, crossing our fingers, and hoping we end up with cake :-)
Worries aside, this seemed to get VisIt to launch:
env LD_LIBRARY_PATH=/usr/gapps/visit/3.3.0/linux-x86_64/lib/ python scriptname.py

Wait did I put 4??  No, it's toss_3 . . .  I just generally use python 3.8, as its required for something else I do.
Yeah, that is not working either . . .  If I do this:
LD_LIBRARY_PATH=/usr/gapps/visit/3.3.0/linux-x86_64/lib/ python scriptname.py
I am back to the "Is VisIt in your shell's path?" bit.  If I do this:
PATH=/usr/gapps/visit/bin:$PATH LD_LIBRARY_PATH=/usr/gapps/visit/3.3.0/linux-x86_64/lib/ python ./VisitPython.py
I get:
ERROR: dynamic module does not define init function (initvisit)

I was confused about toss4 vs toss3 sorry.
If visit -cli -s  can work, that's the best path. Avoids mixing pythons and different std libs.
But the issue is that VisIt's python won't have all of the same packages installed as the system python.
If you were using system python 3.8 for one of those packages you might hit another issues.
Here is an example that works for me on rzgenie:
# py_visit_launch.py
import sys
import ctypes
gcc6 ="/usr/tce/packages/gcc/gcc-6.1.0/lib64/libstdc++.so.6"
ctypes.cdll.LoadLibrary(gcc6)

sys.path.append("/usr/gapps/visit/3.3.0/linux-x86_64/lib/site-packages")
import visit
visit.AddArgument("-v")
visit.AddArgument("3.3.0")
visit.LaunchNowin()
# or if you want to see the windows pop up
#visit.Launch()

from visit import *

OpenDatabase("/usr/gapps/visit/data/rect2d.silo")
AddPlot("Pseudocolor","d")
DrawPlots()
SaveWindow()

Launch using:
env LD_LIBRARY_PATH="/usr/gapps/visit/3.3.0/linux-x86_64/lib/" python py_visit_launch.py

Note VisIt 3.3.0 is a pre-release install, you will see some warnings from python when you launch, but it launches and rendering just fine.

Ok, that's fine.  I don't need any exotic python packages, so using "-s" should mostly be ok . . .  I did want to be able to pass in command line options, like "scriptname.py --blah=1 --blep=2", or whatever.  Is is possible to do this with "-s"?

Ok, that's fine. I don't need any exotic python packages, so using "-s" should mostly be ok . . . I did want to be able to pass in command line options, like "scriptname.py --blah=1 --blep=2", or whatever. Is is possible to do this with "-s"?

  The answer appears to be "yes", by the most obvious (but not at all intuitive) means possible, i.e.,
visit -s scriptname.py --script-opt1=a --script-opt2=b ...
I am guessing this is not an accident; let me know otherwise.

Yes, you can use Argv() or sys.argv to get args passed after -s, here is an example to show the difference
visit -nowin -cli -s myscript.py myarg1 myarg2
>>> Argv() # doens't include script name
('myarg1', 'myarg2')
>>> sys.argv # does include script name
['myscript.py', 'myarg1', 'myarg2']

I believe the issues raised here have been addressed in #17777


update json file for preview images

Fixed the sample.json file causing the image preview issue when on the adoption site.

Thanks!


feat: display tenure change filter

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
Display tenure change filter for all networks.
Issue ticket number and link
Checklist:

[ ] I have performed a self-review of my code.
[ ] I have tested the change on desktop and mobile.
[ ] I have added thorough tests where applicable.
[ ] I've added analytics and error logging where applicable.

Screenshots (if appropriate):

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


Docs: update design contributions image

Updated Contributions overview image.
What changed?

At a high level, what changes does this PR introduce?
Why?
Needed a nicer image to introdcue contributions
Checklist

[x] Added unit and Flow Tests
[x] Added documentation + accessibility tests
[x] Verified accessibility: keyboard & screen reader interaction
[x] Checked dark mode, responsiveness, and right-to-left support
[x] Checked stakeholder feedback (e.g. Gestalt designers, relevant feature teams)

Need a new PR. Image update is not working.


schemes.json - cdr data inclusion into data packet

Description
When applying for a product including the cdr data into the packet of information could become large and exceed data packet size.
Related Work Items
During testing of our own origination process we initially included transactional data into the application submission when we received a lot of transactional data we easily exceeded the data size limit causing errors.  Recommend removing the CDR data from the submission making it a subsequent submission of data.

Do you think this will be an issue for the experiment or for a real implementation?
The two options would be:

to make this change now (but it would make the experiment more complex to implement), or
we could take this as an insight to include in the report for moving forward


Support tls tcp server

ref #51

Codecov Report

Merging #115 (c8922c8) into main (3a8b982) will decrease coverage by 3.45%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
- Coverage   48.47%   45.01%   -3.46%
==========================================
  Files          98      107       +9
  Lines        4227     4567     +340
  Branches      659      676      +17
==========================================
+ Hits         2049     2056       +7
- Misses       1824     2157     +333
  Partials      354      354

Impacted Files
Coverage Δ

...rg/apache/rocketmq/mqtt/cs/config/ConnectConf.java
0.00% <0.00%> (ø)

...ache/rocketmq/mqtt/cs/protocol/ssl/SslFactory.java
0.00% <0.00%> (ø)

...rg/apache/rocketmq/mqtt/cs/starter/MqttServer.java
0.00% <0.00%> (ø)

...rg/apache/rocketmq/mqtt/ds/config/ServiceConf.java
0.00% <0.00%> (ø)

...org/apache/rocketmq/mqtt/meta/util/SpringUtil.java
0.00% <0.00%> (ø)

...org/apache/rocketmq/mqtt/meta/config/MetaConf.java
0.00% <0.00%> (ø)

...org/apache/rocketmq/mqtt/meta/starter/Startup.java
0.00% <0.00%> (ø)

...org/apache/rocketmq/mqtt/meta/core/MetaClient.java
0.00% <0.00%> (ø)

...he/rocketmq/mqtt/meta/config/MetaConfListener.java
0.00% <0.00%> (ø)

...ava/org/apache/rocketmq/mqtt/meta/util/IpUtil.java
16.66% <0.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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

link #115


is SAM-Unet incremental training possible?

Hi,
Thank you for the excellent code.
I would like to know if incremental training is possible with SAM2-Unet.
I tried using the checkpoint 'SAM2-UNet-xx.pth' as input for 'hiera_path' in the train.py but I encountered the following errors:
  File "D:\MyProjects\SAM2-UNet\sam2\build_sam.py", line 81, in _load_checkpoint
    sd = torch.load(ckpt_path, map_location="cpu")["model"]
KeyError: 'model'

I hope to perform incremental training on my model. For example, I collected data A and trained a model this time. Later, I want to build on that model to train with data B. What are some good suggestions for this process?"

Hi, the parameter --hiera-path is set to None (see test.py) when performing testing or incremental training, as the encoder parameters have been overwritten and saved in the new checkpoint. Our original code does not support resuming training. Please refer to issue #20 for guidance on how to perform incremental training. Additionally, since you are continue training on a different dataset, you may only need to save the model's 'state_dict'.


Duplicate identifiers in search results

This does not look so great:

Change the template partial that generates this: https://github.com/datamade/django-councilmatic/blob/93e96ecf1f411c23a31e46bf7aa814db5eda3611/councilmatic_core/templates/partials/search_result.html

This fix is live on the staging site and will make it to production when we next deploy (scheduled for tomorrow).


Introduce v2 Blob type with verified signer

Summary
Parent issue: https://github.com/celestiaorg/celestia-app/issues/2977
This proposal is based on my understanding of a feature request from Sovereign Labs and a feature I believe would apply to all enshrined rollups: these are all rollups where one or more addresses are whitelisted and only blobs from those accounts are deemed valid.
Proposal
To implement this we would first need to modify the blob protobuf:
message Blob {
  bytes namespace_id = 1;
  bytes data = 2;
  uint32 share_version = 3;
  uint32 namespace_version = 4;
  string signer = 5;
}

Given proto's backwards compatibility, users could still submit the old Blob type and signer would just be an empty string.
The new block validity rule would thus be that if the signer was not empty, then it must match that of the PFB that references it.
However, when decoding the Blobs from the Share format, older versions would ignore the signer regardless if it were filled or not. Thus for backwards compatibility for the read path we would need to ensure that Blobs that use the signer, must use the v2 namespace version. Older software would thus error about not supported namespaces version when trying to read from it but could still support the first blob version without needing to upgrade.
We may want to consider other data that the Celestia validators could verify as an additional service to the rollup. These however don't need to be bundled up with the signer addition and could simply be added later.

Where is this Blob struct used - does this signer actually end up inside the dataRoot or only in raw Tendermint block data? As it needs to be the former to be usable by rollups

I am assuming that we populate the first share of a blob with the signer. Can we make it so that we populate it with any metadata to make it forward compatible ?
Then additionally could we sort it by the metadata inside the namespace ?
More detailed proposal is here: https://forum.celestia.org/t/customize-your-namespace-rollup-resource-pricing-account-abstraction-and-native-restaking/1666#intra-namespace-sorting-and-sub-namespaces-10

Nothing about where the blob is changes. It is still part of the square and thus part of the dataRoot. It is in the Blob itself. When you call GetAll(height, namespaces) on node the blobs it returns will have the signer.

I am assuming that we populate the first share of a blob with the signer. Can we make it so that we populate it with any metadata to make it forward compatible ?

Currently no, it's based on how protobuf encodes bytes (which I believe would be somewhere at the end). How would you construct it to be forwards compatible (i.e. where the client doesn't know the schema of the metadata)?

What I'm confused about then, is that this blob struct isn't how the blob is actually serialized in the block, as for example, the namespace version and share version is encoded in at the start of each share, so perhaps it would be helpful to frame this proposal in terms of how it will be serialized in the block, which is what's relevant to based ZK rollups that wanted to parse the signer, as they need to verify blobs directly in the dataRoot, rather than how it's represented by APIs
Or to clarify are you proposing just keeping the share format the same, but have the API additionally return the signer? The issue with that then, is the signer is not authenticated when returned by API

@musalbas is correct that we need the sender to be encoded in the first share of the blob for the Sovereign SDK. Assuming the ultimate design ensures that, this proposal looks great to me!

Okay, yes I should have also included a schematic of how this changes the share encoding format. The new format (for the first share) would thus be:

The graphic shows how I assumed that It would look like. My proposal is that instead of introducing a different type of blob submission encode the rule "Add signer to the first share" in the namespace .
This rule would apply now to the whole namespace guaranteeing that the signer is the first, but leaving this as optional.

Other metadata that the signer would want to know could be how much the user paid in gas or tip to post to Celestia. With these types of metadata, you can customize your namespace and do not need to read the PFB-Namespace for pfb-submission-related data.

We might also want to add the verification key of the snark account posting a blob for example.
So instead of creating a new namespace version for all permutations of things we might want to add I would suggest to have that be encoded in the namespace ID, as we have some room from the zeros

So if I understand you correctly, you're saying increase the size of namespace version to be more than 1 byte (currently 256 versions) and decrease the namespaceID from 28 bytes. This is for the sake of allowing more variations in the namespace rules

That could definitly be an option too. In my option the rules that you want to use should be endoded iside the namespace itself. So when I choose to post to a namespace ID with a special prefix lets say its starts with 1 then I know that the signer is in the first share of the blob. That way when submitting a blob I only have to use the correct namespace.
Maybe we are talking about the same thing and both solutions are isomorphic

The suggested namespace format makes sense to me.
The only question is if we want to also add even more metadata, perhaps committed to as a Merkle root of a tree of metadata. However, perhaps this can be more for v3 Blobs, and we can keep v2 simple with just an addition signer field.

This is the first stab at making it forward-compatible.
The flow would be the following. Each time we change the namespace version we can add and modify how we use the encoding in the namespace rules.
One of the rules should be adding the signer. But that should be optional, up to the user, and not enforced in Celestia.
From the user's perspective, choosing a rule inside a namespace would be as simple as choosing a new namespace. We have 10 zero bytes that are up for grabs, and we can decide that the first bit is if we want a signer or not.

The rules could enforce anything. I would refer to the blog post again for that.

I thought your original proposal was about making the rule programmable with a scripting or ZK system? If you're just proposing that we reserve 10 bytes but leave the future rules open to future upgrades, IMO this is the same as Callum's original proposal of just using namespace v2 for this, use namespace v3 and so on for future upgrades.

Scripting or a ZK system could also be enabled by those 10 bytes.
The only thing I am arguing for this post, in particular, is that adding the signer should be optional and not enforced for everyone.
I may have misunderstood the behavior of incrementing to a bigger namespace. Does the user decide which namespace version is used? If that is the case, I am all for it, as we would achieve the same effect as you said and can add the rules in the future for v3.
In the future, I would like to see other rules, such as limiting the size of the namespace / blobs and intra-namespace sorting.
These are orthogonal to scripting / zk.
It would be great to document how an upgrade to a newer namespace would impact user experience / upstream issues.

Does the user decide which namespace version is used?

Yes the user decides which namespace version they want to use when they submit a MsgPayForBlob. See NewMsgPayForBlobs which has a parameter for Blob where the user can specify a namespace version.

We have 10 zero bytes that are up for grabs

There are 18 zero bytes that are potentially up for grabs because a v0 namespace version must have 18 zero bytes followed by 10 real bytes. See specs.

After some offline discussion, we're leaning towards using the share version to indicate the addition of the signer in the share format. Share version can also be set by the user in tx submission.
The current options are:

Bump share version only.
Bump share version and namespace version. The namespace version would have the rule that blobs to that namespace would have to have the new share version enforcing that all blobs to that namespace version have a signer.

closing as completed


3 upgrade news analysis by utilizing a google news scraper

Upgraded the new analysis to use google news instead of google search articles.
Fixed web scraping and summary display bugs.

Looks good to me, we can merge once the per article analysis UI is added to it


opt debug "Reach limit of connections"

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run cloud_p0

run compile

run compile

run compile

run buildall

run compile

skip buildall


Behavior when opening large text files

Quick Look takes a long time (10+ seconds) while trying to preview a 30 MB text file, even though the max file size parameter is set to 10 kb. Is it possible to have head file.txt behavior, which is much faster?

My apologies. Turns out I was using the system default QL plugin (hence took a long time). In order to enable QLStephen for regular .txt files, I added public.plain-text to the UTIs in QLStephen's Info.plist and all works like a charm.