Can we do local control instead of going through cloud

Your integration works fine. But is there a way to locally control my device from home assistance. As local control has less delay, and also works without internet.

Hi @skavinvarnan , yes, will consider to support local control for Tuya Home Assistant integration soon. Please keep checking the updates of the repo.

I just found out about this v2 integration and it looks promising! I've stopped using the v1 integration because the delay between me manually toggling a switch and the state being updated in HA took way too much time (sometimes up to 10 minutes!), I hope the newer integration is faster.
For now I'm using one unofficial Tuya Local integration that is great and reports states very fast, here's hoping you guys can add local support and I can go back to using officially supported software!

The integration looks interesting, but after the experience with the cloud, I removed the device and replaced it with another manufacturer.
If it will be possible to control Tuya on the local network I will consider using it.

Very keen to see a HA integration giving local control written by Tuya devs!

With this integration, is it still necessary to create the sensors manually or do they appear automatically? What entities are achieved with this integration?
Still not working locally?!?

@fmacmahon
This integration not working locally now.
After install, devices will appear automatically if you using the default dashboard.

@fmacmahon
This integration not working locally now.
After install, devices will appear automatically if you using the default dashboard.

Thanks for the answer but what I would like to know is:
The entities (power sensor, voltage, amps, etc) appear automatically or just the switch entity?

@fmacmahon
The device types supported now appear automatically.
https://github.com/tuya/tuya-home-assistant#supported-tuya-device-types

@zlinoliver any chance on an ETA on local access now that this just dropped? https://twitter.com/home_assistant/status/1409944323546763265

Any updates on this?

Any updates on this?

@zlinoliver any chance on an ETA on local access now that this just dropped? twitter.com/home_assistant/status/1409944323546763265

@zlinoliver it's been over a year since local access dropped, is this actually going to be added?

Folks, localtuya is your crowd sourced version of this. It's a bit more effort and has rough edges, but well... is maintained.


Add some validation checks

Add checks using gofmt, gometalinter, and git-validate, and fixup the things that they flag.

 (8) [Buildah] Add "dockah build-using-dockerfile" aka "buildah bud"

Rebased.

@rh-atomic-bot r+ c842847

@rh-atomic-bot retry

Reworked some of the install targets to merge install-tools and .install.md2man and avoid having "make all" install things outside of the build tree.

@TomSweeneyRedHat, @rhatdan, PTAL again for that last patch, which is kind of small to be on its own, since we're already messing around with the top-level Makefile.

@rh-atomic-bot r+ 540eb22


Column resizer is broken in clr-data-grid

Describe the bug
Table column header is broken when we do resize of the column.
How to reproduce

Create table using clr-data-grid and add filters to column and have min 5 column
Add language translate to column header
Change the language from chrome setting for browser and run your application.
Try to resize the column and observe the behaviour.

Expected behavior
Column header should not be broken when we do resize of column.
Versions
Clarity project:

[ ] Clarity Angular/UI

Clarity version:

[ ] v5.x

Framework:

[ ] Angular

Framework version:
ie: Angular 12
Device:
Chrome

Additional notes
Add any other notes about the problem here.

@bbogdanov let me know if you need any help.

Hi @basalingayyakaramadi,
From what I observe this behaviour only appears when the sorting is triggered and the icon of the sorting is shown.
Our resize functionality is not triggered when the sorting is triggered and this leads to overlapping space between neighbour column headers.
Here is a workaround that will help in your scenario:
::ng-deep clr-dg-column[aria-sort='ascending'],
::ng-deep clr-dg-column[aria-sort='descending'] {
  width: auto !important;
}

Demo: https://stackblitz.com/edit/clarity-light-theme-v5-67bc44?file=src%2Fapp%2Fapp.component.scss

Thanks @bbogdanov . I will try workaround.

@bbogdanov the problem with width: auto. is, once width is set and then its not able to resize column.

@bbogdanov the problem with width: auto. is, once width is set and then its not able to resize column.

You are right. I'll take a deeper look to see if the we can do something on our side.

Hi @bbogdanov , Please let me know if there is any update on this.

After some investigation and discussion with the team.
This request has merit but we are not currently planning to address it due to it likely requiring a major refactoring and breaking change to implement. Our strategy with Clarity Angular is to support by addressing bugs and focus on stability, but enhancements that require changes are not going to be prioritised.
In an effort to clean up our backlog and focus our attention, I’m going to close this as likely to be resolved by upcoming implementations in Clarity Core. Please follow our development and releases. The Datagrid in @cds/core is likely to be released in the end of the month and will resolve this issue by design.


Add shell commands for user administration

List existing users and create new ones.

New commands in administration bundle, namespace "ogm"


OPT demo TEST

=========================================================================================
No pre-built kernel is found, build and load the layernorm kernel during runtime now
No modifications detected for re-loaded extension module layernorm, skipping build step...
[W tensorpipe_agent.cpp:682] RPC agent for master encountered error when reading incoming request from worker0: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)
[W tensorpipe_agent.cpp:682] RPC agent for worker0 encountered error when reading incoming request from master: pipe closed (this error originated at tensorpipe/core/pipe_impl.cc:356)
INFO:     Finished server process [158599]
Process SpawnProcess-1:
ERROR:    Exception in ASGI application
asyncio.exceptions.CancelledError
INFO:     <IP_ADDRESS>:6974 - "POST /generation HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
ImportError: /home/ubuntu/.cache/colossalai/torch_extensions/torch1.11_cu11.3/layernorm.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
RuntimeError: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)
[W tensorpipe_agent.cpp:863] RPC agent for master encountered error when sending outgoing request #9 to worker0: eof (this error originated at tensorpipe/transport/shm/connection_impl.cc:259)

anyluck with this error

Could you reinstall the latest version of colossalai?


Fix integration test matrix

Problem
Matrix strategy entries need to be arrays, even when there is only one value, but we left it as the value itself.
Solution
Wrap the single value in [].
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Proof: https://github.com/dbt-labs/dbt-redshift/actions/runs/11712788373


Remove unitPrice property

Many thanks for contributing to this project!
Addresses #702
PR Checklist
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).

[x] This comment contains a description of changes (with reason)
[x] Referenced issue is linked
[x] CHANGELOG.rst is updated

Description of changes
This PR replaces all usages of the unitPrice with the internalUnitPrice and externalUnitPrice

Yes I did not remove it from the quotation details. #720

Looks good to me so far, with the only exception that this PR now produces a PDF with all product items total prices of 0€.
We need to incorporate #728 first.

I think we can merge independently since the issue is the price calculation in the Quotation details, correct?


Add OPTIONS support to pfs_middleware

...by adding the ability to forward requests to a proxy server
controller that alredy implements the OPTIONS verb. For this
to work, the controller is instantiated with a fake proxy server
app that provides some config attributes and forwards any
subrequests back to the bimodal checker.

New plan: do https://review.openstack.org/#/c/528106/ instead


⚠ PrivateHD has degraded performance

In 2f0187e, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2077 ms

Resolved: PrivateHD performance has improved in 8ba82c8.


Add util func: GetZipDiffInfos

https://github.com/goplus/spx/issues/349
Add util func: GetZipDiffInfos

This feature has already been implemented by another pr  https://github.com/goplus/spx/pull/375


fixed firewall

Don't use the_database, use the DatabaseCore instead

I refactored the entire bot to use it, so you have plenty of examples. And it's easier to use.


fix: another minor change masquerading as a patch for a release test

To help test a new GitLab CI release bug.

Figured this doc change might be needed in the future anyways 🤷♂

:tada: This PR is included in version 1.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature Request]: Automated project structure updation using github workflows, python scripts and action bot

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Automated project structure updation using github workflows, python scripts and action bot
Use Case
Currently, we dont have the automated project structure updation in our repository.
Benefits
It'll be benefitial for the new commers to understand the project structure from readme itself and reduces the manual work as well.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC Ext'24 contributor
[X] I'm a Hacktoberfest 2024 contributor
[X] I have starred the repository

@J-B-Mugundh Please check it out why workflow not working properly!!!

@J-B-Mugundh Please check it out why workflow not working properly!!!

I believe github-actions[bot] is being blocked in your repository!
To allow the default github-actions[bot] to push to your repository, please follow these steps:
1. Enable Write Permissions for GitHub Actions

Go to your repository's Settings > Actions > General.
Under Workflow permissions, select Read and write permissions.

This setting allows the github-actions[bot] to push changes to the repository.

2. Adjust Branch Protection Rules
If you have branch protection rules enabled, these may block the github-actions[bot] from pushing to the branch.

Go to Settings > Branches in your repository.
Select the relevant branch protection rule.
Check Allow GitHub Actions to bypass branch protections.

This permits the bot to push to protected branches if necessary.

Let me know if you still face the issue bro! @prajapatihet


Add repo description and website url for repos in this org

Is your feature request related to a problem? Please describe.
When looking at the list of repos in the MicrosoftDocs organization most don't have descriptions or the URLs set. I'm not sure if that information also populates https://opensource.microsoft.com/ or if that is something else.
Describe the solution you'd like
Add a small blurb and the public website URL for the particular docs.microsoft.com subsite.

@nschonni Thanks for your suggestion. I will bring it to the team to discuss.

#log-suggestion

🚀 ATTENTION: Internal request logged.

Internal guidance is available, but enforcing it with automation is not a priority at this time.


[FLINK-16813][jdbc]  JDBCInputFormat doesn't correctly map Short

What is the purpose of the change
commit 1: make StringUtils.arrayToString() convert array of byte array correctly
commit 2: fix bug that JDBCInputFormat doesn't correctly map Short
commit 3: extract jdbc row conversion logic to JDBCDialect as row conversion api
commit 4: add Postgres specific row conversion logic
commit 5: add e2e tests for reading from Postgres with JDBCTableSource and PostgresCatalog
Brief change log
Verifying this change
UT and IT added
Does this pull request potentially affect one of the following parts:

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

Documentation

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

@wuchong @docete thansk for your review!
I've updated the pr by using logical type root and adding row converters. Please take another look.
I'd like to merge the first two commits first since you don't have opinions on them, if you still have questions for the remaining commits.


Publish and link to readthedocs documentation

The README does not contain a link to the documentation. (The README might also not match the current recommendation in other ways.) I presume these docs are not yet published on readthedocs, but maybe they are and we are simply missing a link?

Let me know if you need help puzzling through readthedocs, etc.


Check and implement self-update for phar support

Check https://github.com/box-project/amend and implement self-update functionality for phar support

I guess i will create the self-command by my own with the github api and some inspiration of https://github.com/kherge-abandoned/php-phar-update


🎉 Release 0.0.5

This PR was opened by the ready-release-go plugin. When you're ready to do a release, you can merge this pull-request and a new release with version 0.0.5 will be created automatically. If you're not ready to do a release yet, that's fine, whenever you add more changes to main this pull-request will be updated.
Options

[ ] Mark this version as a release candidate

0.0.5 - 2023-12-19
Misc

🎉 Release 0.0.5 [#7]
🎉 Release 0.0.5 [#6]
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 [#5]
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 [#5]

🎉 This PR is included in version 0.0.5 🎉
The release is now available here
Thank you for your contribution. ❤📦🚀


azcopy breaks pipeline tasks

AZcopy does not take in account key anymore which breaks the pipeline. I'll eventually get to submitting a PR, but a quick fix is below
`

task: AzureCLI@2
displayName: 'SETUP: Transfer JMeter Files to Storage Account'
inputs:
azureSubscription: $(AZURE_SERVICE_CONNECTION_NAME)
scriptType: 'bash'
workingDirectory: ./terraform
scriptLocation: 'inlineScript'
inlineScript: |
SHARENAME=$(terraform output storage_file_share_name)
ACCOUNTNAME=$(terraform output storage_account_name)
STGKEY=$(terraform output storage_account_key)
az storage file upload-batch --account-key $STGKEY --account-name $ACCOUNTNAME --destination $SHARENAME --source $(JMETER_DIRECTORY_INPUT)
`

`

task: AzureCLI@2
displayName: 'RESULTS: Download Jmeter results'
inputs:
azureSubscription: $(AZURE_SERVICE_CONNECTION_NAME)
scriptType: 'bash'
workingDirectory: ./terraform
scriptLocation: 'inlineScript'
inlineScript: |
RG=$(terraform output resource_group_name)
SHARENAME=$(terraform output storage_file_share_name)
STGKEY=$(terraform output storage_account_key)
ACCOUNTNAME=$(terraform output storage_account_name)
mkdir $(System.DefaultWorkingDirectory)/results
az storage file download-batch --account-key $STGKEY --account-name $ACCOUNTNAME --destination $(JMETER_DIRECTORY_OUTPUT) --no-progress --source $SHARENAME
`

@jrudley I've been trying to find a fix for the past week so this is awesome. Thank you!
Before it's solved for me I am undergoing an issue on the upload portion.
ERROR: Client-Request-ID=4d01f112-8060-11eb-bc86-000d3af5de63 Retry policy did not allow for a retry: , HTTP status code=Unknown, Exception=HTTPSConnectionPool(host='%22dvtdevstorage92964a8f%22.file.core.windows.net', port=443): Max retries exceeded with url: /%22dvtdevshare%22/ComplicatedLoad_100.jmx (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f44df9f12b0>: Failed to establish a new connection: [Errno -2] Name or service not known',)). ERROR: HTTPSConnectionPool(host='%22dvtdevstorage92964a8f%22.file.core.windows.net', port=443): Max retries exceeded with url: /%22dvtdevshare%22/ComplicatedLoad_100.jmx (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f44df9f12b0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Would you happen to know what could be causing this?

Hrm, you are using terraform to create the storage account, right? Any
weird characters or spacing issues in your tf variables? Using a hosted
agent pool? After my fix, I've ran pipeline around 20 times today with no
issues.
On Mon, Mar 8, 2021, 4:52 PM will_fell<EMAIL_ADDRESS>wrote:

@jrudley https://github.com/jrudley I've been trying to find a fix for
the past week so this is awesome. Thank you!
Before it's solved for me I am undergoing an issue on the upload portion.
ERROR: Client-Request-ID=4d01f112-8060-11eb-bc86-000d3af5de63 Retry policy
did not allow for a retry: , HTTP status code=Unknown,
Exception=HTTPSConnectionPool(host='%22dvtdevstorage92964a8f%
22.file.core.windows.net', port=443): Max retries exceeded with url:
/%22dvtdevshare%22/ComplicatedLoad_100.jmx (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at
0x7f44df9f12b0>: Failed to establish a new connection: [Errno -2] Name or
service not known',)). ERROR:
HTTPSConnectionPool(host='%22dvtdevstorage92964a8f%
22.file.core.windows.net', port=443): Max retries exceeded with url:
/%22dvtdevshare%22/ComplicatedLoad_100.jmx (Caused by
NewConnectionError('<urllib3.connection.HTTPSConnection object at
0x7f44df9f12b0>: Failed to establish a new connection: [Errno -2] Name or
service not known',))
Would you happen to know what could be causing this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure-Samples/jmeter-aci-terraform/issues/58#issuecomment-793144636,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOYISZ7KLVNOW5HBDKJYNLTCVIJFANCNFSM4Y2DOAFQ
.

Here is my pipeline remove the .txt at the end
azure-pipelines.load-test.yml.txt

azure-pipelines.load-test.yml (2).txt

Thanks for uploading the file. Ours is configured the same, using the outputs of the terraform deployment.
Going to try some things and will come back if I'm able to find a fix.

I took out the terraform installer step which is why I was getting that issue. Putting that step back into it resolved the issue and it's now uploading / downloading.
Thank you again @jrudley !

Cool, glad you got it figured out
On Mon, Mar 8, 2021, 6:07 PM will_fell<EMAIL_ADDRESS>wrote:

I took out the terraform installer step which is why I was getting that
issue. Putting that step back into it resolved the issue and it's now
uploading / downloading.
Thank you again @jrudley https://github.com/jrudley !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure-Samples/jmeter-aci-terraform/issues/58#issuecomment-793189040,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOYIS65FPGCUCQBQFZAWE3TCVRCZANCNFSM4Y2DOAFQ
.


Plugin list in md report is unsorted

What happened?
The plugin list in md reports is not sorted by failed audits first

What would you expect to happen?
The plugin list in md reports is sorted by failed audits first
What steps did you take?
run collect
Code PushUp package version
No response
What operation system are you on?
Linux
Node version
No response
Relevant log output
No response

Sort order was:

weight (desc)
score (asc)
value (desc)
title (alphabetical)

Sort order should be changed to:

score (asc)
weight (desc)
value (desc)
title (alphabetical)

Should be changed in report.md.


NNAPI delegate issue with DepthwiseConv2D nodes

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
tf 2.9
Custom Code
No
OS Platform and Distribution
Android
Mobile device
tested on Snapdragon 888, 865, 855
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Our experiments have revealed that DepthwiseConv2D nodes generate a multitude of problems when using NNAPI delegate. Here is a summary of our findings:

1. Inferring DepthwiseConv2D nodes with XNNPACK delegate is always faster than the NNAPI delegate (tested on Snapdragon 855 and Snapdragon 865 - Android 12).
2. On devices with Snapdragon 888 (tested with Android 12), INT8 models starting with a DepthwiseConv2D node always crash with the NNAPI delegate.
3. After a specific threshold for the node size, the elapsed time inside DepthwiseConv2D nodes increases significantly so that one single node can even take about 20 ms to run with NNAPI delegate.
4. On devices with Snapdragon 865 (tested with Android 12), quantized DepthwiseConv2D nodes with large kernel size (e.g. 7x7) cause accuracy loss with NNAPI delegate.
5. On devices with Snapdragon 855 (tested with Android 12), quantized DepthwiseConv2D nodes with stride size more than one always result in accuracy loss.

Standalone code to reproduce the issue
We have implemented a small tool (with comprehensive documentation) to reproduce the mentioned issue. Here is the link to the repository:
https://github.com/Bahar-BM/nnapi_DWC

Relevant log output
No response

Hi @Bahar-BM !
Thanks for reporting those observations on NNAPI with DepthwiseConv2D.
@sachinprasadhs ! Could you look at this issue.
Thank you!

You mentioned crashes on 888. Do you see similar crashes on 865?

No. The crashes are specific to 888.


WIP: Implements Authentication and Reauthentication endpoints

Implements Authentication and Reauthentication endpoints.
Authentication requires a Google Identity Services token, which is verified using the idtoken package. If it is a valid Google token, then access and refresh tokens are issued.
Reauthentication requires the access token in the header, even if it is expired and the refresh token submitted in the body. Once the access and refresh tokens are compared and verified new tokens are returned.
Both Authentication and Reauthentication requires double cookie CSRF protection since they are POST endpoints that modify state on the server. Therefore I've also added a GET /v2/authenticate method that is handled by ProtectAuthenticate - this function sets the cookies on the front-end. The browser must do a GET request to this endpoint before rendering the login button component to set the cookies. It can then POST the client credentials. Note that this is because we're using a javascript callback; if we were using a Google Redirect, Google itself would POST double cookies for verification. See https://developers.google.com/identity/gsi/web/guides/verify-google-id-token for more.
The authentication and reauthentication endpoints reset the double cookies to expire when the refresh token does.
TODO:

[ ] test to see if this actually works with Google credentials
[ ] review audience and subject verification pieces
[ ] not exactly sure how to write tests for this

Codecov Report

Merging #118 (c1d2ee0) into main (6434f66) will increase coverage by 0.02%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
+ Coverage   38.61%   38.64%   +0.02%
==========================================
  Files          27       28       +1
  Lines        2724     2831     +107
==========================================
+ Hits         1052     1094      +42
- Misses       1498     1555      +57
- Partials      174      182       +8

Impacted Files
Coverage Δ

pkg/gds/admin/v2/auth.go
0.00% <0.00%> (ø)

pkg/gds/config/config.go
58.62% <ø> (ø)

pkg/gds/admin/v2/client.go
56.93% <50.00%> (-0.92%)
:arrow_down:

pkg/gds/admin/v2/csurf.go
72.50% <100.00%> (ø)

pkg/gds/tokens/tokens.go
75.80% <100.00%> (+1.23%)
:arrow_up:

pkg/gds/models/v1/models.pb.go
26.69% <0.00%> (-1.59%)
:arrow_down:

pkg/gds/models/v1/models.go
72.72% <0.00%> (-0.72%)
:arrow_down:

Continue to review full report at Codecov.

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


Enable ccache for selected windows builds

Adding ccache binary to PATH and setting GRPC_BUILD_ENABLE_CCACHE=true should be enough to enable ccache for builds that use cmake.

Speedup (doesn't really look like much of a win at this point).
windows portability_build_only BEFORE 40-50min   AFTER 38 min
windows basictests_c BEFORE ~25 min   AFTER 26min

@apolcyn  owners approval please.

Adhoc distribtests run: https://sponge2.corp.google.com/6edbd9de-0f28-4759-879a-3548872502b1

Known failures:

the node interop build problem is unrelated (also happening on master)
The mac and linux failures are unrelated flakes


Question: I implement gradient descent optimizer>and this error display... 'GD' object has no attribute '_configuration'

What is the expected enhancement?

Closing as duplicate of #857


Misspelling of link: only one / instead of two.

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Run a script without altering permissions in Windows 11 - the following is returned (issue denoted in double asterisks):
yarn : File C:\Users\aidan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at **https:/go.microsoft.com/fwlink/?LinkID=135170**.
At line:1 char:1
+ yarn
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Expected behavior
yarn : File C:\Users\aidan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at **https://go.microsoft.com/fwlink/?LinkID=135170**.
At line:1 char:1
+ yarn
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

### Actual behavior

```console
yarn : File C:\Users\aidan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at **https:/go.microsoft.com/fwlink/?LinkID=135170**.
At line:1 char:1
+ yarn
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

### Error details

_No response_

### Environment data

```powershell
Name                           Value
----                           -----
PSVersion                      5.1.22621.963
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.963
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Visuals
No response

Good catch, but note that this has since been fixed in PowerShell Core, which is what this repo is about.
As the issue template notes:

For Windows PowerShell 5.1 issues, suggestions, or feature requests please use the Feedback Hub app
This repository is ONLY for PowerShell Core 6 and PowerShell 7+ issues.

Good catch, but note that this has since been fixed in PowerShell Core, which is what this repo is about.
As the issue template notes:

For Windows PowerShell 5.1 issues, suggestions, or feature requests please use the Feedback Hub app

This repository is ONLY for PowerShell Core 6 and PowerShell 7+ issues.

Ah, perfect - thank you! Sorry about the unnecessary issue on this repo.
Best,
Aidan


Only run on changes in src folder

With
on:
  push:
    branches:
      - master
    paths:
      - 'src/**'
      - '.github/workflows/*'
  pull_request:
    branches:
      - master
    paths:
      - 'src/**'
      - '.github/workflows/*'

it runs on every change pushed to master/pull request.
With
on:
  push:
    paths:
      - 'src/**'
      - '.github/workflows/*'
  pull_request:
    paths:
      - 'src/**'
      - '.github/workflows/*'

It runs the workflow twice. 🤷
Closing this PR without merging. Workflow will run on every push/PR then.


split callbacks module out into separate go.mod

Description
Please review this PR first! We need to backport the move of errors from an internal dir to the core dir so we can access them from outside the module
Allows the callbacks module to be imported as a separate go.mod.
Please note that we are currently using ibc-go at a local pin, because when pinning to v7.2.0 it looks there is an error here.
After the first PR linked above is merged, I can update this pin to v7.2.0

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Codecov Report

Merging #4113 (4a0eafd) into serdar/adr8-middleware (75b65e6) will decrease coverage by 0.39%.
The diff coverage is n/a.

Additional details and impacted files

@@                    Coverage Diff                     @@
##           serdar/adr8-middleware    #4113      +/-   ##
==========================================================
- Coverage                   79.42%   79.04%   -0.39%
==========================================================
  Files                         191      188       -3
  Lines                       13357    13112     -245
==========================================================
- Hits                        10609    10364     -245
  Misses                       2319     2319
  Partials                      429      429

see 3 files with indirect coverage changes

superseded by https://github.com/cosmos/ibc-go/pull/4341


Update scaleout-with-windows-azure-service-bus.md

Correct the url of the ServiceBus
Add Service Bus v3 url

@cnryb  Thanks!


CQL 1.4 (OSGI, Mult version support)

We may not actually need this, the current approach is to support 1.3, 1.4, and 1.5 CQL with the 1.5 engine.


Feature: Use markdownlint for consistent markdown formatting

See https://github.com/DavidAnson/markdownlint for more info
This could be enabled as a Github action for PRs

Wow, this has been here for quite some time. Thanks for the suggestion. We'll make good use of it, including the check for header levels:
https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md001---heading-levels-should-only-increment-by-one-level-at-a-time

This appears to already be in use. Commit e9bcfc2


Query not filtering view properly, CB 1.2.0

After upgrading to 1.2.0, I've noticed that some queries where showing an extra row that wasn't there before.
For instance,
liveQueryAmostragens = viewAmostragens.createQuery().toLiveQuery();
liveQueryAmostragens.setDescending(true);
liveQueryAmostragens.setStartKey(Arrays.asList(mTalhaoId, new HashMap<String, Object>()));
liveQueryAmostragens.setEndKey(Arrays.asList(mTalhaoId, null));

when mTalhaoId is c41f3748b88ba118cf57daa253bc1f48,
the query gives me the following rows:

Notice how row[0]'s key doesn't belong there.
Just another observation that can be helpful,
after setting inclusiveStart to false, the "intruder" row[0] is not in the results, however, the element that should be in row[1] is also missing.
Row's size should be 24. Not 25 from the previous case neither 23 as the following:

I've managed to get the correct results inverting the sorting order and start/end keys,

unfortunately that doesn't work for my application.
Is there another workaround, is a predicate a good idea?

Just another observation that can be helpful,
after setting inclusiveStart to false, the intruder row[0] is not in the results, however, the element that should be in row[1] is also missing.
Row's size should be 24. Not 25 from the previous case neither 23 as the following:

This bug happens while using forestDB, I'll run further tests using sqLite engine and see if anything changes.

Hi @vbenso,
I wrote unit test, but I could  not reproduce the problem? Can you review unit test if it covers your scenario?
UnitTest: https://github.com/couchbase/couchbase-lite-android/blob/feature/issue_and795_compoundKeys_Descending/src/androidTest/java/com/couchbase/lite/ViewsTest.java#L3297-L3367.
Also, can you share your map function, data structure, and some sample data if possible?
Thanks!

Hi @hideki,
this is my map function:
boolean b = viewAmostragens.setMap(new Mapper() {
                    @Override
                    public void map(Map<String, Object> document, Emitter emitter) {
                        if (document.get("type") != null) {
                            String type = document.get("type").toString();
                            if ("amostragem".equals(type)) {
                                Object odate_time = document.get("date_time");
                                Date date = dateUtils.getDateFromObject(odate_time);
                                int fase_order = dbUtils.getNumericFase(String.valueOf(document.get("cultura")), String.valueOf(document.get("fase")));
                                emitter.emit(Arrays.asList(document.get("contorno_id"), date.getYear() + 1900, date.getMonth(), date.getDate(), document.get("cultura"), fase_order, document.get("fase"), odate_time.toString()), document.get("amostragens"));
                            }
                        }
                    }
                }, "7.1");

The data goes attached as test_data.json.zip
test_data.json.zip
In case you need my complete database, just ask for it and I'll provide a download link(is 130MB) didn't sound like a good idea to attach it here.
Just as a side question, I'm trying without luck to import the CBLite from source into my App's project in order to run tests and perhaps some further debugging in the issue.
Does exist a guide for this procedure? (besides https://github.com/couchbase/couchbase-lite-android/READ.me)
BTW:
I've managed to circumvent the issue by means of a predicate.

Hi @vbenso,
Sorry for I could not look into this issue for a while. And Thank you very much for test data and code snippet of map function.
I wrote new Unit test using test data and map function you provided. But I still can not reproduce the issue. Could you please look into the test I wrote? Is this issue still reproducible with your environment with using latest master branch build?
https://github.com/couchbase/couchbase-lite-android/blob/f5c3312eaef8a2f3607f28b61ed43cfd8d255c71/src/androidTest/java/com/couchbase/lite/ViewsTest.java#L3357-L3440
Thanks!
Hideki

Hi @vbenso,
I recently fixed the issue: https://github.com/couchbase/couchbase-lite-java-core/issues/1098.  In case multiple views exist sometimes old index data with old revision is not deleted. And as result, the query returns out-dated record. Do you think if the issues are same?
Thanks,
Hideki

Hi @hideki,
Removed the Predicate from that view and did some testing against 0.0.0-673, worked like a charm.
Thanks,
Victor

@vbenso Thank you for your update!

Hi @vbenso,
Do not you mind if I merge https://github.com/couchbase/couchbase-lite-android/commit/f5c3312eaef8a2f3607f28b61ed43cfd8d255c71 into master branch as Unit test? This includes sample data and  map function you provided.
Please let me know.

Hi @hideki,
That data isn't sensitive at all.
Use as you please, glad to help.
Victor

Hi Hideki,
I was having same issue. Scenario is that, first do the livequery and you get set of data e.g { A, B, C, D}. All { A, B, C, D} are different documents that I got from query. Now change some value on any of the document, say for document A I have changed one field-value. Now the Live Query is returning {A, A, B, C, D}, which is wrong.
Can you please provide me the fixed build.
Thanks
Kunal

Hi @kunal228,
None of stable build includes fix for this issue.
Please try the build from latest master.
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/0.0.0-709/
Thanks!

I'm getting multiple revisions of a single document appearing in my indexes in CBL 1.2.1. Is there a fix available?

We found this issue in the CBL 1.2.0 Android version.
We use CBL 1.2.0 by doing direct REST calls to it (We also use the CBL-phonegap plugin to initialize the local DB).
it seems to be a kind of race condition because sometimes it happens under the following scenario:

Clean-up the application information
Have a remote Sync-Gateway server already up & running with some existent documents
Initialize a new local DB with bi-directional replication & quickly create a new document (that already exists in Sync-Gateway)
Later the Sync-Gateway information is replicated into the local DB.
Finally the _changes or _all_docs calls returns two different revisions of the same document. (The one that was retrieved from the remote Sync-Gateway & the one created at the local DB).

Notice that this happens sporadically, so we are not sure if this kind of race conditions happens during DB initialization or during replication.
Thanks, hope this helps to identify the issue!

Hi @npomfret,
None of stable build includes fix for this issue.
Please try the build from latest master.
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/0.0.0-710/
Thanks!

I've tried 710 - same problem, still getting duplicate documents in my indexes when they are edited.  I upgraded and then re-built the indexes by creating a new design doc with a new name.

Hi @npomfret,
Do you have two different view issues? If not, can we keep track your view issue with the ticket:
https://github.com/couchbase/couchbase-lite-android/issues/855 ?

No, I think its the same one.


Correcting article on Advanced Matrices.

Definitions of Hermitian and unitary matrices in this article use the term 'complex conjugate' when it would be better to specify 'complex conjugate transpose' or 'adjoint'.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/concepts/advanced-matrices.md
72
55
13
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 26249b8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/concepts/advanced-matrices.md
:white_check_mark:Succeeded
View

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

Thanks to @marcomontoya for noticing and reporting this issue.


HTML Clipboard Format support

I'm looking for a way to create HTML Clipboard Format entries.

I'm not familiar with that format. Please send a pull request with your suggestion.


JAR is not launching on MacOS, complaining about unidentified developer

Sign the JAR with javapackager
Create the self-running executable for Mac using javapacker.
Perhaps also create executable for Windows, too.

See details:
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javapackager.html
https://centerkey.com/mac/java/
Probably https://github.com/fvarrui/JavaPackager is the answer.

There is no easy way to package for Mac when running on Windows. Let's postpone that for now.


Conda installation of pandas-profiling

Hi,
Just want to let you know that I am able to successfully install the package using the standard 'conda install pandas-profliing'

Hello,
Thanks for the feedback.


Gaming interface - first version

Pull Request Test Coverage Report for Build 6

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build 5:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls


Update parser dependency

Parser is locked to v2.4. Since v2.5 is out, it would be great if the new version can be tested and added for support.

@sdemjanenko just released version 0.15.0 to use parser v2.5

Wow awesome. That was impressively fast. Thank you so much.


Case-insensitive commands check

implemented in https://github.com/EvilKhaosKat/KatSupplyBot/commit/7a49f4973f4e2b06057faf98e91455d314d75c91


That zip file of compiled edition of mac server is corrupt. Downloaded twice.

That zip file of compiled edition of mac server is corrupt. Downloaded twice.

?


Build fails in monorepo

What version of starlight are you using?
0.4.1
What version of astro are you using?
2.7.0
What package manager are you using?
pnpm
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
I'm building a project with pnpm workspaces and turbo repo.
Starlight is one of the packages of this repo.
Dev env is working seamlessly.
Build is failing tho.
I've tried the same setup in both "standalone" and "monorepo" envs, and it seems issue is related to monorepo env as "standalone" works perfectly.
Here's the error message I'm getting:
astro:build:  error   Cannot find module 'C:\path_to_monorepo\docs\renderers.mjs' imported from C:\path_to_monorepo\docs\astro\dist\node_modules\.pnpm\@astrojs+starlight@0.4.1_astro<EMAIL_ADDRESS>
Starlight root is at C:\path_to_monorepo\docs\astro so one level above as the requested file. Seem path related.
Thx for your support.
Link to Minimal Reproducible Example
No response
Participation

[ ] I am willing to submit a pull request for this issue.

The issue is tracked in https://github.com/withastro/astro/issues/7561.
A potential temporary workaround is to downgrade Astro to v2.6.6.

Dang. How did I miss that.
Thx for heads up.

Thanks for the report @Boimb and sorry for the disruption. Given this isn’t something we can fix inside Starlight itself, I hope it’s OK for me to close this issue as a duplicate and hopefully we’ll get the Astro bug fixed soon. We can use https://github.com/withastro/astro/issues/7561 to track progress.


Add does-kit-exist check to kit detail view

To avoid having the kit() view return a 500 error when users fill out a non-existent id in the url.

Just got back from holiday, so it took a while to merge these changes.
Thanks for the improvement!


Use TLS for APK repositories

what

Use TLS for apk repositories
Use the sed hack to use fastly upstream CDN

why

More secure
Mitigate MITM attacks

references

https://github.com/gliderlabs/docker-alpine/issues/184

@osterman is it still require some changes or it can be closed?

Can close
On Sat, Sep 8, 2018 at 14:31 Alexander Babai<EMAIL_ADDRESS>wrote:

@osterman https://github.com/osterman is it still require some changes
or it can be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudposse/geodesic/issues/249#issuecomment-419674182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADNCawbI29IRvMwqTKRRGfpYc0bouieks5uZDcmgaJpZM4WMf_H
.


Updates

Codecov Report

Merging #25 (7950840) into main (ac66bfb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          143       143
  Branches         7         7
=========================================
  Hits           143       143

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


chore: improve imports for configurations and CredentialProvider

Rolls up configurations and CredentialProvider to top level momento
package. Updates documentation of inline examples.
Closes #284

This is so much better. I wonder if we can do something similar with responses?

I'm conflicted between making the responses easy to discover -- ie at the top level API -- vs grouping them nicely under cohesive package -- momento.responses


delegatesFocus: true does not work in Polymer 3 even on latest Chrome

Description
This does not seem to work now. Have no idea if this is the correct way of using delegatesFocus: true in Polymer 3. Have been using this in Polymer 3 to delegate focus in all modern browsers (even those support native ShadowDOM) until few days ago as it is no longer rendering shadow root with this setting.
Update: It seems like this is broken with<EMAIL_ADDRESS>and using versions that is lower than that works just fine. Kindly advise what's the recommended way to enable delegatesFocus in v3.3.0.
Live Demo
https://jsbin.com/pocenaseto/edit?html,output
Steps to Reproduce
N/A

Expected Results

Attach shadow root with delegatesFocus set to true.
Actual Results

No shadow root if modify how shadow root is created.
Browsers Affected

[x] Chrome 75
[x] Firefox 70
[x] Safari 12
[ ] Edge (Not tested)
[ ] IE 11 (Not tested)

Versions

Polymer: v3.3.0
webcomponents: N/A

I believe this is a result of this change: https://github.com/Polymer/polymer/commit/50ba9cea2b6034b33c283da88a6d0022aca6dfed#diff-c0938e89f08e8926f5cef28954a7118d
Moving the appendChild call inside the conditional means we fail to append the templated DOM if the shadow root already exists. This affects both of the methods documented here to create your own shadow root:
https://polymer-library.polymer-project.org/3.0/docs/devguide/dom-template#create-your-own-shadow-root

So the base _attachDom method is now doing some shadyDOM related work. However, if you don't call super._attachDom, you won't run into this particular issue.
Since (as far as I know) shady DOM doesn't support delegatesFocus, you could use a workaround like this to use your own shadow root where native shadow DOM is supported, and get the appropriate shady DOM goodness elsewhere.
_attachDom(dom) {
  if (window.ShadyDOM) {
    // shady DOM doesn't support delegatesFocus and the superclass
    // does some shady DOM magic, so defer to superclass
    return super._attachDom(dom);
  } else {
    this.attachShadow({mode: 'open'});
    this.shadowRoot.appendChild(dom);
    return this.shadowRoot;
  }
}

This is a bug and a PR would be welcome. It should be something like:
_attachDom(dom) {
      const n = wrap(this);
      if (n.attachShadow) {
        if (dom) {
          if (!n.shadowRoot) {
            n.attachShadow({mode: 'open', shadyUpgradeFragment: dom});
          }
          n.shadowRoot.appendChild(dom);
    //...


The push field  now initialized correctly to false during the creation of an Meta object

Without this changes protobuf 3 might fail during serialization/deserialization of the object.

Looks good to me.  Seems to be a simple oversight by whoever added this variable.

Probably when this goes in, you should also cherry-pick it into your fork of submit 0.10-support branch (or whatever it's called) and then submit a PR for that as well.

@piiswrong hi Eric, may I ask you to . review my pull-request?


Validate applyTo config in environment

Environment configuration currently allows for misconfiguration causing the build-bundles task to fail. This is caused by situations where the environments includes patterns depending on patterns not matching the applyTo config. This could easily be validated and issue a warning / throw an error.

Won't implement


Crash on startup with Postgres - constraint "fk_flow_user_id_user" for relation "flow" already exists

Bug Description
LangFlow is crashing on startup when postgres is enabled. It's giving this exception:
[12/19/24 18:47:43] ERROR    2024-12-19 18:47:43 - ERROR    - b2fa308044b5_add_unique_constraints - Error during upgrade: (psycopg2.errors.DuplicateObject)    b2fa308044b5_add_unique_constraints.py:51
                             constraint "fk_flow_user_id_user" for relation "flow" already exists

                             [SQL: ALTER TABLE flow ADD CONSTRAINT fk_flow_user_id_user FOREIGN KEY(user_id) REFERENCES "user" (id)]
                             (Background on this error at: https://sqlalche.me/e/20/f405)Traceback (most recent call last):

I've experienced this on several of the recent LangFlow versions (starting I think around 1.0.19).
Interestingly, it's saying it's trying to upgrade, but the data directories are totally clear.
Detailed log is here:
docker-compose-postgres-alembic2.log
Reproduction

Start LangFlow with this docker-compose.yaml file:

version: "0.4.12"

networks:
  langflow-network:
    driver: bridge

services:
  langflow3:
    image: langflowai/langflow-ep:v1.1.1.dev11
    ports:
      - "7860:7860"
    command: ["langflow", "run", "--env-file", "/app/.env", "--host", "<IP_ADDRESS>", "--port", "7860"]
    working_dir: /app
    environment:
      - LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
      - COLUMNS=200
    volumes:
      - ./langflow-tmp/langflow-data:/app/langflow
      - ./langflow-tmp/langflow-app-data:/app/data
      - ./langflow-tmp/cache:/app/data/.cache
    networks:
      - langflow-network

  postgres:
    image: postgres:16
    environment:
      POSTGRES_USER: langflow
      POSTGRES_PASSWORD: langflow
      POSTGRES_DB: langflow
    ports:
      - "5432:5432"
    volumes:
      - ./langflow-tmp/langflow-postgres:/var/lib/postgresql/data
    networks:
      - langflow-network

Expected behavior
LangFlow should start as expected
Who can help?
@jord
Operating System
Mac M1
Langflow Version
langflowai/langflow-ep:v1.1.1.dev11
Python Version
3.10
Screenshot
No response
Flow File
No response

Hi, @ogabrielluiz I see that you worked last in the alembic. I'm getting the same issue. could you give some insight?

@devinbost I was able to fix this by updating the upgrade() function in /langflow/src/backend/base/langflow/alembic/versions/b2fa308044b5_add_unique_constraints.py to this:
def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    conn = op.get_bind()
    inspector = sa.inspect(conn)  # type: ignore
    tables = inspector.get_table_names()
    # ### commands auto generated by Alembic - please adjust! ###
    try:
        if "flowstyle" in tables:
            op.drop_table("flowstyle")
        with op.batch_alter_table("flow", schema=None) as batch_op:
            flow_columns = [column["name"] for column in inspector.get_columns("flow")]
            if "is_component" not in flow_columns:
                batch_op.add_column(sa.Column("is_component", sa.Boolean(), nullable=True))
            if "updated_at" not in flow_columns:
                batch_op.add_column(sa.Column("updated_at", sa.DateTime(), nullable=True))
            if "folder" not in flow_columns:
                batch_op.add_column(sa.Column("folder", sqlmodel.sql.sqltypes.AutoString(), nullable=True))
            if "user_id" not in flow_columns:
                batch_op.add_column(sa.Column("user_id", sqlmodel.sql.sqltypes.types.Uuid(), nullable=True))
            indices = inspector.get_indexes("flow")
            indices_names = [index["name"] for index in indices]
            if "ix_flow_user_id" not in indices_names:
                batch_op.create_index(batch_op.f("ix_flow_user_id"), ["user_id"], unique=False)
            existing_fks = [fk["name"] for fk in inspector.get_foreign_keys("flow")]
            if "fk_flow_user_id_user" not in existing_fks:
                batch_op.create_foreign_key("fk_flow_user_id_user", "user", ["user_id"], ["id"])

    except Exception as e:
        logger.exception(f"Error during upgrade: {e}")
        pass
        ```


The Aether is on 1.20.1. Please update.

Title. Remove if dead.

This isn't invalid? The mod updated lol.


Inconsistent requirements for collection properties

In the section Writing Collection Properties one possibility for a WPF collection type is listed as:

Implements IDictionary or the generic equivalent (IDictionary<TKey,TValue>).

But that the generic interface can be used is directly contradicted by the Note a few lines further down. Is possibly Dictionary<TKey, TValue> meant? But then you should probably mention List<TValue> as an alternative to IList also. I would think it is most clear to just skip mentioning IDictionary<TKey,TValue> here?

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

ID: b30c2691-5877-ea11-d359-532fb96fdecb
Version Independent ID: 87c6e97d-b3c0-a960-69b1-0a48f2f12134
Content: XAML and custom classes - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/advanced/xaml-and-custom-classes-for-wpf.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

Sorry for the delay in getting back to you. Thank you for pointing this out. I'll fix it up. I think you're right, removing reference to the generic interface makes the most sense.


CJ Added Bio/Picture for Calvin Jenkins

@CalvinJenkins What book are you reading right now?
Do you have an all-time favorite?

@CalvinJenkins What book are you reading right now?
Do you have an all-time favorite?

@ykharitonova Hi!  Either way I'm reading Collapse by Jared Diamond right now, it's about the factors that lead to societies failing or succeeding, and uses a lot of cool historical examples! As for my favorite, I don't know if I can choose just one, but I finished Anna Karenina recently and I though it was phenomenal!

Oh, I was just asking. ^_^
Collapse sounds pretty interesting. Are there good data-sciency examples?
I'm curious what impressed you so much about Anna Karenina.


MountVolume.SetUp failed for volume "kfserving-webhook-server-cert" : secret "kfserving-webhook-server-cert" not found

My k8s version is 1.18.3, and there are still 3 issues about kfserving-webhook-server-cert pod not running. We checked the related yam configurations as the below.
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
labels:
app: kfserving
app.kubernetes.io/component: kfserving
app.kubernetes.io/name: kfserving
kustomize.component: kfserving
name: serving-cert
namespace: kubeflow
spec:
commonName: kfserving-webhook-server-service.kubeflow.svc
dnsNames:
kfserving-webhook-server-service.kubeflow.svc
issuerRef:
kind: Issuer
name: selfsigned-issuer
secretName: kfserving-webhook-server-cert
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: katib-webhook-cert
namespace: kubeflow
spec:
commonName: katib-controller.kubeflow.svc
dnsNames:
katib-controller.kubeflow.svc
katib-controller.kubeflow.svc.cluster.local
isCA: true
issuerRef:
kind: Issuer
name: katib-selfsigned-issuer
secretName: katib-webhook-cert
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
labels:
app: poddefaults
app.kubernetes.io/component: poddefaults
app.kubernetes.io/name: poddefaults
kustomize.component: poddefaults
name: admission-webhook-cert
namespace: kubeflow
spec:
commonName: admission-webhook-service.kubeflow.svc
dnsNames:
admission-webhook-service.kubeflow.svc
admission-webhook-service.kubeflow.svc.cluster.local
isCA: true
issuerRef:
kind: Issuer
name: admission-webhook-selfsigned-issuer
secretName: webhook-certs
When creating the pods, we get the errors as the below.
Error from server (InternalError): error when creating "rbac.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": mutations.webhook.cert-manager.io is forbidden: User "system:metrics-server" cannot create resource "mutations" in API group "webhook.cert-manager.io" at the cluster scope
Error from server (InternalError): error when creating "rbac.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": mutations.webhook.cert-manager.io is forbidden: User "system:metrics-server" cannot create resource "mutations" in API group "webhook.cert-manager.io" at the cluster scope
Error from server (InternalError): error when creating "rbac.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": mutations.webhook.cert-manager.io is forbidden: User "system:metrics-server" cannot create resource "mutations" in API group "webhook.cert-manager.io" at the cluster scope
In addition, we found the three pods of the cert-manager were at the running status. Is there any hint to solve it? Thanks.
Appendix: the origin copy of this issue is also submitted at https://github.com/shikanon/kubeflow-manifests/issues/115
https://github.com/kubeflow/kubeflow/issues/6931

This is probably kubeflow installation issue rather than kserve and also kfserving is end of life.

@yuzisun As for kfserving being at end of life - I'm installing kserve and have same error. Ok... its kserve-webhook-server-cert instead of kfserve one.
As for "probably installation issue". I'm pretty sure that it is that, but... could you point direction how to debug it or maybe where to look?
Im installing kserve with kustomize and can't find above secret in built manifest.

@raven-wing You can follow this link to install kserve with kubeflow.
https://github.com/kubeflow/manifests/tree/master/contrib/kserve

Oh, but I want standalone version:
https://kserve.github.io/website/0.11/admin/serverless/serverless

Nope. Trying to set it up from beginning (maybe not from beginning - I had istio, cert-manager and knative already installed)
Probably - the reason is cert-manager setup (using letsencrypt). I have my patch for that:

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: serving-cert
  namespace: kserve
spec:
  issuerRef:
    group: cert-manager.io
    kind: ClusterIssuer
    name: letsencrypt
  commonName: kserve-dev.mydomain.com
  dnsNames:
  - kserve-dev.mydomain.com

But I can't debug it.
Maybe I should be more specific - error I have is resulting with this issue name. Reason of it can different.
Also - maybe this would be beneficial:
cert-manager-certificates-request-manager  Failed to create CertificateRequest: admission webhook "webhook.cert-manager.io" denied the request: [spec.uid: Forbidden: uid identity must be that of the requester, spec.username: Forbidden: username identity must be that of the requester, spec.groups: Forbidden: groups identity must be that of the requester, spec.extra: Forbidden: extra identity must be that of the requester[]

Facing similar issue,
Followed instructions from here
version = 0.14.0
Warning  FailedMount  34s (x11 over 6m46s)  kubelet            MountVolume.SetUp failed for volume "cert" : secret "kserve-webhook-server-cert" not found

@sachinlionel Looks like partial installation. Certifacte is not generated for kserve webhook. Reinstalling it will solve the issue.

❯ k get Certificate
NAME                            READY   SECRET                          AGE
modelmesh-webhook-server-cert           modelmesh-webhook-server-cert   21s
serving-cert                            kserve-webhook-server-cert      21s
❯ k get secret
NAME                                     TYPE                 DATA   AGE

I do not see those secrets in secret after reinstalling as well.


Cred Issuance V2 APIs

Overview
v1: https://github.com/hyperledger/aries-rfcs/blob/main/features/0036-issue-credential/README.md
v2: https://github.com/hyperledger/aries-rfcs/blob/main/features/0453-issue-credential-v2/README.md
v2 of issue-credential makes the protocol flow work for 'any' credential format (anoncreds, json-ld w3c, etc), whereas v1 has a lot of fields which are specific to anoncreds.
they do this by hiding away credential-format-specific data into attachments, and then we have a formats field in the messages to specify the format being used.
the v2 specific has tables of 'format registries' which contain links to the expected attachment payloads for different formats (anoncreds, w3c etc).
To cater for this generic format concept in our state machines, I've tried to use generics HolderCredentialIssuanceFormat & IssuerCredentialIssuanceFormat, which are traits that are responsible for creating the attachment payloads (and returning metadata) for a particular format. I've created an Anoncreds impl of these traits for proof of concept purposes. These anoncreds impls reuse a lot of existing infrastructure from our v1 anoncreds state machines.
The idea is that in the future aries-vcx could include more formats, or consumers can go ahead and create their own format impls outside of aries-vcx. This way, aries-vcx does not have a hard requirement to keep up with the (potentially) growing list of formats in the registry, as consumers can create their own in the meantime.
This potential for growth and supporting generic formats is why I've gone with generics instead of defined enum variants for different formats; i think enum variants would lock consumers into only using a set of formats that we support.
~Note that HolderV2 and IssuerV2 assume that you are using a single format family (anoncreds, json-ld, etc) thru out the whole protocol, and they also assume that you are using single attachments per message. The spec implies that you can have multiple attachments, potentially with different formats, within single messages, however i am yet to see a use-case for this or much discussion about it. For comparison, aca-py seems to assume single attachments and of the same format thru out the protocol. All in all, this confusion around what is 'potentially possible' with this spec lead me just to implement HolderV2 and IssuerV2 under those assumptions. Perhaps if it does become a use case, we'd need to make a breaking change to these typestate machines, however for now i'd like to keep it simple; i can't even begin to imagine how you'd generically deal with all the possible permutations when using multi attachments and multi formats...~
While the above is true, i believe we agreed that single format is acceptable for now until we have a real use case. discussion here
Open Qs

is the way I'm handling recoverable errors acceptable and what we were thinking?
are we happy with me bringing in mockall for unit test? IMO we should be leveraging it thru out our tests, especially tests involving Profile trait components

TODO:

[x] Manually test against ACApy issue v2
[ ] Finish unit tests with mocks
[ ] More system tests for more anoncreds variety
[ ] Remove the mock jsonld format handler
[ ] Remove acapy testing related assets
[ ] more commenting
[ ] couple of small in-line TODOs
[ ] make lint more happy :)

Future work
some items which i'd like to leave for the future;

Serde of the state machines
'Generic' Holder / Issuers
'processing' simplified layer

Codecov Report

Merging #987 (6471cfc) into main (9b7ce90) will decrease coverage by 0.22%.
Report is 2 commits behind head on main.
The diff coverage is 0.18%.

@@            Coverage Diff             @@
##             main     #987      +/-   ##
==========================================
- Coverage   28.89%   28.67%   -0.22%
==========================================
  Files         419      426       +7
  Lines       25981    26642     +661
  Branches     5228     5287      +59
==========================================
+ Hits         7506     7640     +134
- Misses      16271    16808     +537
+ Partials     2204     2194      -10

Flag
Coverage Δ

unittests-aries-vcx
28.67% <0.18%> (-0.22%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

.../protocols/issuance_v2/formats/holder/anoncreds.rs
0.00% <0.00%> (ø)

...rotocols/issuance_v2/formats/holder/ld_proof_vc.rs
0.00% <0.00%> (ø)

.../protocols/issuance_v2/formats/issuer/anoncreds.rs
0.00% <0.00%> (ø)

...rotocols/issuance_v2/formats/issuer/ld_proof_vc.rs
0.00% <0.00%> (ø)

aries_vcx/src/protocols/issuance_v2/holder/mod.rs
0.00% <0.00%> (ø)

...ries_vcx/src/protocols/issuance_v2/holder_demos.rs
0.00% <0.00%> (ø)

aries_vcx/src/protocols/issuance_v2/issuer/mod.rs
0.00% <0.00%> (ø)

...ries_vcx/src/protocols/issuance_v2/issuer_demos.rs
0.00% <0.00%> (ø)

aries_vcx/src/protocols/issuance_v2/mod.rs
0.00% <0.00%> (ø)

aries_vcx/src/utils/openssl.rs
39.28% <ø> (ø)

... and 1 more

... and 26 files with indirect coverage changes

The idea is that in the future aries-vcx could include more formats, or consumers can go ahead and create their own format impls outside of aries-vcx. This way, aries-vcx does not have a hard requirement to keep up with the (potentially) growing list of formats in the registry, as consumers can create their own in the meantime.

I like this extensibility property a lot

HolderV2 with HyperledgerIndyHolderCredentialIssuanceFormat works with aca-py for receiving anoncreds via issue-credential-v2; just manually tested it

@bobozaur  thanks for spending time reviewing and thinking, always appreciated.

In the same note, I tend to believe more and more that these formats are tightly connected to the way a credential gets processed. For the hlindy formats, it's through credx. For the anoncreds one, it would be through anoncreds-rs.  The dif one has no such thing yet (lol).

I guess that is true for hlindy & anoncreds being tethered to indy-sdk/credx & anoncreds-rs. But also not 100% true, i believe credx consumers would also be able to handle anoncreds format if they wanted; they just might need to handle the data with a bit more care (e.g. master_secret -> link_secret)..  e.g. internally i use anoncreds-rs as a Holder in my stack, but i can handle the hlindy format just fine (which is something i want since most big agents haven't moved onto anoncreds format yet) (i see you mention this later on, but i think it's worth noting).
But if you're saying that these formats are tied to the library/sdk they are using for processing, i don't think this statement is true for ld-proof VCs. There are lotsss of ld-proof VC libraries out there, recently i was experimenting with a new typescript one called onyx, however there are plenty of others.
JSON-LD has been around for awhile, ld-proof VCs is just an application of that. So there are lots of different ways an agent could implement support for that format.

So what this boils down to in my mind is that a particular agent will support one or more formats based on what implementations of credential processing it supports. While there might be some wiggle room for a compatibility layer between credential formats, especially between hlindy and anoncreds, I don't think we should rely on that (as it seems like they do not either).
So, in that vein, an agent that only works with credx will then look for the hlindy credential format and process that in a well defined data structure from credx. One that implements anoncreds-rs will do the same, but for the anoncreds format. One that supports both could technically choose the first one that matches a supported format or have a preferred format that it searches for first.

I agree for hlindy and anoncreds, however i think it's oversimplifying to suggest that the format is somewhat abstract and doesn't really mean anything other than just being an artifact of the underlying implementation you're using (e.g. indy-sdk/credx, anoncreds-rs, or some ld-proof SDK).
There are business reasons why an issuer/holder would choose ld-proofs or anoncreds on a case-by-case basis. There is a bit of divide in decentralized identity between these formats, which comes from the differing pros and cons. W3C VCs are standardized (it's w3c), but arguably aren't fully there with privacy features. Anoncreds are great with privacy, but are not as standardized or recognised as w3c VCs.
So i think the choice often comes down to business reasons. For instance, some companies may be forced via regulation to choose w3c or anoncreds. it's not neccessarily just "use the first format handler that matches". So with that, alot of the time "have a preferred format that it searches for first" might be the way it goes.

which get ultimately processed through a Wallet and Anoncreds implementation.

in the case of anoncreds/hlindy format, yea. Not other formats (just stating this for this thread record)

and they would probably contain the retrieval too when the PresentProofV2 protocol is introduced

yea correct, this is the path i was heading

In fact, given that the Anoncreds implementation actually "dictates" the format you're looking for, the whole formatting trait might not even be needed.

Just want to be careful here again, Anoncreds implementations will likely be capable of handling anoncreds & hlindy; they are almost identical. Just want to make sure we don't lock in the aries_vcx Anoncreds trait to "only support support the hlindy format"

Anyway, i think all of those are just small comments/corrections on your comment, i think overall i agree with your sentiment, but still unsure if their is a reasonable solution.
If i'm understanding correctly, you'd essentially prefer that the attachment processing/creating be done outside of the HolderV2/IssuerV2 state machine? In general, i was trying to have it so that the HolderV2 and IssuerV2 flow (when using hlindy/anoncreds format) feels almost the same as the original Holder and Issuer flows in aries_vcx. I.e. the existing state machines do all the format processing and creating inside them, abstracted from the user, same with Prover/Verifier. But you're saying that this might not be the right approach here?
I would like to see what implementation you had in mind, i guess i'm imagining a similar impl, but the format handler/s are separated from the state machine. and the consumer code would bounce between the state machine and their selected format handler. And maybe the state machine would have helpers to advice the consumers on what formats can be used. If this is the direction you are thinking, do you think that may be asking the consumer to do too much? particularly because they will have to be storing/maintaining format data/metadata outside of the state machine (such as the credential request metadata a holder gets after creating the anoncreds request). My current state machine impl (+ the hlindy format impls) does all of that for the consumer and holds onto all their protocol data in one place, which i thought was convenient and matched the simplicity of other state machines. Additional, i believe what you're proposing would make the state machines extremely trivial, as they'd pretty much just be responsible for putting attachments into messages, matching thids and marking a state, not that that is a bad thing.
Let's discuss further in today's vcx meeting if you're keen


Assign host after finish

Really nice work, got one tiny feature request =D
If the bot would assign the first user it the participants list as host after the rooms are created that would be perfect. (if this is actual possible)
The wait till the bot is gone it not to long but if the host would be assigned then you could directly go on with any manual things you want to to do.

should be possible by just logging out after finishing. that would require that at least one other user is present in the meeting.
next slackday i might have the time to have a look into it ;-)


Failing to publish a new item

Describe the bug
This bug occurs only in new UI.
Users cannot publish a new item even though all mandatory fields have been filled in.
To Reproduce
Steps to reproduce the behavior:
To test the first bug,

Import the scheme and collections attached to this issue
Collection.Definition.-.TEST.of.wizard.zip
Schema.-.Test.of.wizard.schema.zip

Open up a contribution,

Visit page 2,

Visit page 1,

Fill in the field of Item name,

Click save and then click complete wizard,

Select either option displayed in page 2,

Click save again

Expected behavior
Users are asked to complete wizard again.
Screenshots

OpenEquella Version: 6.6, 2018.2
OS: Ubuntu
Browser Chrome

Tested and all working as expected

May need to be backported

Backported to 2018.2.

@cathfitz could you please confirm whether the backport works and if so close?

Backport confirmed as working in stabledev.


little state machine local storage > session

This PR:

adds all but one validation example spoken about in #470. The final example: validate I'll finish in the coming week!
adds some comments to color defaults and also changes the default from null to false, to make dark-mode default obvious.

Awesome stuff! Thanks @pmaier983


lane must fail if ipa action fails

2015-02-17 22:33:05.154 xcodebuild[25360:1017915] Xcode_beginning_of_line failed to launch :(
** BUILD FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
** ARCHIVE FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
INFO [2015-02-17 22:34:37.94]: Step: snapshot

Hi, how do you fix the "Check dependencies" issue?

That's an issue of shenzhen

Got it, thanks!


[RFE] Enhance snapshot socket gadget with PID and container info

Current situation
The snapshot socket gadget does not include information about the PIDs/Containers using the socket.
Impact
It is particularly useful for local-gadget when the POD information cannot be available because the container might not be created via Kubernetes, making the output of local-gadget not very useful.
Ideal future situation
As discussed with @alban:

In usual use cases, the fd would belong to only one process and therefore one container. But it is possible to have the fd in several pods, for example if the different pods have a host volume to access the same unix socket file and pass fds around. That would be unusual though. In other words, the netns of a socket could be different than the netns of the processes that hold the socket fd.

However, we decided to implement only the simplest case for now and create an issue to track that limitation. Therefore, we will start by iteratating over /proc until we get the first PID using the inode within the same network namespace where we found the inode.
For IG, it also ensures that the container found will always be coherent with the pod so we can have a clean UI (with Kubernetes metadata for kubectl-gadget):
$ sudo local-gadget snapshot socket --proto tcp -e
CONTAINER    PROTOCOL    LOCAL                 REMOTE                STATUS         INODE    PID
myCont1      TCP         <IP_ADDRESS>:58202    <IP_ADDRESS>:443         ESTABLISHED    39380    1234
myCont2      TCP         <IP_ADDRESS>:22          <IP_ADDRESS>:45256        ESTABLISHED    32683    1455
myCont3      TCP         <IP_ADDRESS>:22          <IP_ADDRESS>:45264        ESTABLISHED    40037    8743

Of course, in the documentation of the gadget, we should specify that the container and PID information will be only displayed if the socket is being used by a process within the same network namespace of the pod. And in the case of multiple processes within the same network namespace using the same fd, only one of them will be displayed.
Implementation options
Study how we can iterate over /proc by using eBPF iterators. @flyth

Perhaps we can use https://github.com/inspektor-gadget/inspektor-gadget/pull/1201 for this one?

I think it can be done with the socket enricher (pkg/gadgets/internal/socketenricher). The pid-related information will be from the process creating the socket, but I think that's good enough. @alban any special considerations on this one?


Cases API - fixed swagger correctness issues

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

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

What's the purpose of the update?

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

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

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

Contribution checklist:

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

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

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

Adding new API(s)
Adding a new API version
Adding a new service

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

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

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

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

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

@fengzhou-msft fixed the following swagger correctness issues:
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=65F7E9E6-22D9-49D3-BA8F-6799644DD136
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=B9288F4A-7E8E-4D92-AE11-BECE6E9255F5
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=10F44C62-4271-47DF-A00B-D0F4C4059C9D

@fengzhou-msft fixed the following swagger correctness issues:
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=65F7E9E6-22D9-49D3-BA8F-6799644DD136
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=B9288F4A-7E8E-4D92-AE11-BECE6E9255F5
https://portal.azure-devex-tools.com/amekpis/correctness/detail?errorId=10F44C62-4271-47DF-A00B-D0F4C4059C9D

@fengzhou-msft Can you please approve this PR? Thanks

@fengzhou-msft Can you please approve this PR? Thanks


Add hour detail to ai analytics

Purpose

$subject

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.21%. Comparing base (662e9a3) to head (1ddb49c).
Report is 52 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2529       +/-   ##
===========================================
+ Coverage   21.55%   80.21%   +58.66%
===========================================
  Files         310        9      -301
  Lines       43229      551    -42678
  Branches     2940      246     -2694
===========================================
- Hits         9319      442     -8877
+ Misses      33415      109    -33306
+ Partials      495        0      -495

Flag
Coverage Δ

?

idp-domain-service
80.21% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Question about the exact event type for the retweet dataset

Hi! Thank you for the amazing work!
I am wondering if it is possible to get the exact event type for the retweet dataset. In the current data file, we can only get the event type ID (i.e., 0, 1, 2), but the mapping between ID and the exact type is missing. I found several similar issues: #14 #24 #25, and these types of questions seem highly meaningful. Thank you for the help!

Hi,
Please see the paper of NHP for the event type mapping for Retweet data: page 20, section C.5.

Thank you for the reply! I noticed that the retweet dataset in EasyTPP is a little different from the data in the original paper's repo. May I ask if the label set is shared between these two versions? Based on the details in the original paper, the mapping should be {0: small, 1: medium, 2: large}.


How to pull images from private registry?

I do not know how to set ImagePullSecret to deployment with tye .
So its pod  always  show ImagePullBackOff

Not possible today, but we have an open PR to support it https://github.com/dotnet/tye/pull/884
I recommend closing this issue in favor of: https://github.com/dotnet/tye/issues/508


Parse nested XML tags' members for a string to display

For example, display PPS_POST_PROCESS_INIT_ROUTINE in a code block when source is <see cref="PPS_POST_PROCESS_INIT_ROUTINE"/>
Current implementation

Summary tooltip output by OmniSharp

It's been about a year since I started using C# Prettier Docs and it's been a very pleasant experience, barring a few nitpicks.
Side note: I wonder when OmniSharp will implement clickable hyperlinks for <see cref=""/> and ` in the tooltip just like Visual Studio 20XX.

Thanks for the notice! I'll try and take a look when I have time.

Getting it to display is really easy, the unfortunate tricky part is styling it any differently due to the way decorators work, unless im missing something obvious


Exclude node_modules from being compiled in quickstart example

Resubmitting from: https://github.com/angular/angular/issues/9884
I'm submitting a ...  (check one with "x")
[ ] bug report
[ ] feature request
[x] suggestion
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior
The .tsconfig.json in the ts quickstart example tells typescript to compile all node_modules. This makes the compilation quite slow.
Although this is consistent with the expected tsconfig.json, this is placed in the root of the project.
Expected/desired behavior
change .tsconfig.json to include the exclude keyword.
{
  "compilerOptions": {
    ...
  },
  "exclude": [
    "node_modules"
  ]
}

What is the motivation / use case for changing the behavior?
It is not necessary to have a top level tsconfig.json tell TypeScript to compile all node_modules.

IF there is no files array. node_modules is auto excluded.


If a user try to register with an already used email the error is misleading

Returned

There was an unexpected error. Please try again later.

Should be

Email already in use

I think the error arise from a difference between mysql and mariadb (I am running mariadb 11.0.2)
The error returned by mariadb is Duplicate entry<EMAIL_ADDRESS>for key 'email'
The expected one would have been
The error returned by mariadb is Duplicate entry<EMAIL_ADDRESS>for key 'users.email'
The fix is just to replace the string check there
https://github.com/anarthal/servertech-chat/blob/master/server/src/services/mysql_client.cpp#L262
https://github.com/anarthal/servertech-chat/blob/master/server/src/services/mysql_client.cpp#L265
I will not open a pull request as it will take more time.

Thanks for the catch. That's a non-potability between MySQL and MariaDB, which is indicating this is not the right way to handle it. We probably want to inspect the exiting user on failure to determine what happened, or an equivalent strategy. What you propose is an acceptable workaround as long as you're running MariaDB.


Add possibility to register a regexp in router.

I've added possibility to register any regexp in aiohttp.web.UrlDispatcher. For that moment there is no opportunity to create some dynamic routes like /test/(?P<any_include_slashes>*.) or maybe something like this /test/(.*)/?. The little request implement the functionality.
# common aiohttp usage
app.router.add_route('GET', '/some', handler)

import re

# Define regexp manually
app.router.add_route('GET', re.compile('^/any/regexp/here/?$'), handler)

-1
You already can use construction like:
self.router.add_route('GET', r'/handler/{to:.+}/tail', handler)

No, I can't.
What should I do if I need regexp like this by example:
/resource/([^/]+)?/?
Looks like current solution is:
 handler = ...
 app.router.add_route('GET', '/resource', handler)
 app.router.add_route('GET', '/resource/', handler)
 app.router.add_route('GET', '/resource/{resource}', handler)
 app.router.add_route('GET', '/resource/{resource}/', handler)

Of course for current version users could do that:
from aiohttp.web import DynamicRoute
import re

pattern = re.compile('...')
app.router._register_endpoint(DynamicRoute('GET', pattern.pattern, handler, pattern))

But it's little bit ugly. Much better app.router.register('GET', re.compile('...')) isnt?
What the problem to provide for  users more control, which breaks nothing?

At least it breaks reverse url building by route.url() call.
Regexp is not a formatter string.

Also, what the difference between /resource/([^/]+)?/? and r'/handler/{tail:([^/]+)?/?}

At least it breaks reverse url building by route.url() call.

I have not thought about route.url, it could be problem coz. But I see some solutions for this.

Also, what the difference between /resource/([^/]+)?/? and r'/handler/{tail:([^/]+)?/?}

Second pattern doesn't work in current version aiohttp (because https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/web.py#L1448). So that the main reason why I've made the request for support custom regexp.

Aha, I see.
I'm strongly -1 for pushing regexp instances into .add_route() but ok to relax route pattern rules to pass regex with slashes (IIRC Pyramid allows url patterns like this).

And looks like route.url is already broken:
from aiohttp.web import UrlDispatcher as Router

route = Router().add_route('GET', r'/{one}/{two:.+}', lambda r: None)

# will raise ValueError
route.url({'one': 1, 'two': 2})

Sure, it works:
def test_route_dynamic_with_regex(self):
    handler = self.make_handler()
    route = self.router.add_route('GET', r'/{one}/{two:.+}', handler)

    url = route.url(parts={'one': 1, 'two': 2})
    self.assertEqual('/1/2', url)

Oh, I have look to different version before #264

Ok, please have a look on the last solution. It makes the deal with slashes as well and pass all tests except this one:
def test_add_url_invalid5(self):
    handler = self.make_handler()
    with self.assertRaises(ValueError):
        self.router.add_route('post', '/post"{id}', handler)

Because the new dispatcher allows to define routes like this as dynamic. route.url(parts={'id': 1}) -> /post"1

The last patch if perfect except my tiny inline notes.

Hmm. Does you patch violate the rule "A pattern segment (an individual item between / characters in the pattern) may either be a literal string (e.g. foo) or it may be a replacement marker (e.g. {foo}) or a certain combination of both"?

Please forget about last message: I want to support patterns like foo/{name}.html too.

Thanks!


House Price Prediction

Our house price prediction project begins with exploratory data analysis (EDA), visualizing housing data distributions and identifying correlations. We then employ algorithms like Random Forest and XGBoost for modeling, optimizing hyperparameters to enhance predictive accuracy, ensuring robust predictions for diverse real estate markets.


Add authentication to GitHub Actions workflow

This will fail until we update the demo env.

Rode Resource Evaluation Report ❌ (FAILED)

report id: d65cfa03-62fc-47e3-b6f3-3a599edfddb3

Resource Metadata

Resource URI

harbor.test/rode-demo/rode-demo-node-app@sha256:80a8511ea645aacf92825767039f8395be213ac7d22e0685c692619ce966f3cd

Artifact Names
-harbor.test/rode-demo/rode-demo-node-app:fail-sonar-policy-ba8408d
Policy Results
Sample SonarQube Policy ❌ (FAILED)
SonarQube analysis started
SonarQube analysis completed at set()

Sample Harbor Policy ✅ (PASSED)
Harbor scanned image 1 times. Last completed at {"2021-07-23T17:39:56.573684Z"}
Harbor scan found 0 low severity vulnerabilities (max: 10)
Harbor scan found 0 medium severity vulnerabilities (max: 10)
Harbor scan found 0 high severity vulnerabilities (max: 2)


Data Structure Codes

Added Multiple data structure codes which are written in a very easy way. Many codes are the problem that is asked in Google, Amazon, Microsoft, and Facebook companies. Array, Queue, LinkedList, Different Sorts.
Will add more codes as I learn more about these topics.

Data structure codes with the problem are asked in different Faang companies.


Add DestinationPicker service

We often need to let users specify a destination of an URL, being it a concrete5 page, an external URL or a concrete5 file.
We currently don't have a service class for it: we have to use multiple services (Form, PageSelector, FileManager, ...), and write a ton of PHP and javascript for it.
Here's for example what's currently done in the "Link" field of the "Image" block type:

html code to render the different inputs
javascript code to display/hide the wanted input
php code to check what the user selected.

With this new DestinationPicker service, 1. and 2. could be written as:
$dp = $app->make(DestinationPicker::class);
echo $dp->destination('link', $internalLinkCID, $externalLink, $linkFile);

And 3. could be written as:
$dp = $app->make(DestinationPicker::class);
list($linkType, $args['internalLinkCID'], $args['externalLink'], $args['fileLinkID']) =
    $dp->decodeDestination('link', DestinationPicker::DESTINATIONKIND_ALL, $errors, ['data' => $args]);
if ($errors->has()) {
    throw new UserMessageException($errors->toText());
}

Here's a preview of this service applied to the image block:

Out of curiosity, @mlocati, would it be easy to extend on this? Say a website wants to link to an email address, express entity, user profile, or whatever? PS. I dig your GIF images :+1:

Well, I don't think that this service could be easily extended. I didn't created it with that in mind. I simply use it in many projects of mine, and I thought that others may find it handy. So I just cleared up the code and submitted it here.

PS. I dig your GIF images 👍

ScreenToGif rules! :wink:

Great, maybe it could be improved by switching to a more extensible way like @a3020 suggests... BTW I'm not going to do that, a lot of irons on the fire atm

(quite interestingly in Italian we don't say "iron on the fire" but "meat on the fire"... do we always think about eating instead of fighting? :wink:)

Out of curiosity, @mlocati, would it be easy to extend on this?

#6827 is an alternative approach that can be easily extended.

Closing in favour of #6827


Run ownCloud and Nextcloud test suits whithout PAIN in GitPod, or anywher

We need to get rid of all the manual steps defined in here
Or at least most of it! it should also work painlessly on macOS (which I don't have but Michield can help with that part)
Goals:

Start GitPod, type ./autotest blah blah, see test results

Inspected Nextcloud server DevContainer, we can have a similar thing in our dev-stock!
Or even possibly make dev-stock CodeSpace friendly at least.


fix deprecation warning

Tutorial/Bug description

Checklist

[ ] All packages are in the conda environment dl2021
[ ] Pretrained models are automatically downloaded and stored at https://github.com/phlippe/saved_models / a pull request has been setup for this
[ ] Notebook has badges for:

[ ] Filled notebook on github
[ ] Filled notebook on Colab
[ ] Saved models on github
[ ] YouTube recording

[ ] The author names have been filled in
[ ] The notebook has been added to the doc tree (docs/index.rst)
[ ] All images of the notebook are included in the pull request
[ ] The website was build locally once (do not commit the html files)

How Has This Been Tested?

[ ] Conda environment dl2021
[ ] Local computer - CPU
[ ] Local computer - GPU
[ ] Google Colab - CPU
[ ] Google Colab - GPU
[ ] Lisa - GPU

Hi, thanks for opening the pull request. I am aware of the deprecation warning, but actively decided not to change it. The reason is that the solution you also have here does not natively work on GoogleColab. If you are aware of a solution that does easily work on GoogleColab too, let me know :)

Just combine both:
try:
from matplotlib_inline.backend_inline import set_matplotlib_formats
except Exception as e:
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('svg', 'pdf')
It works without warnings and errors both in jupyter lab and GoogleColab (checked both).

I tried the tutorial on Colab and now it looks the modified code works and the original code have the deprecation warning.


Have 2 problem

Hello.
Have 2 problem:
1
Wrong stratum port

2
if more then 1 coins in algo, not show miners

How i can fix it?
Thanks

Talk to Algorand Support on the ALGO support page so that your issue can be looked into.

have you been able to solve your issue?

Just fix stratum port on first page, but not on all algo port set. Any algo write right port, any 0000.
Problem with coin symbol, not fix.

Talk to the live support about your issues by inputting your email name and the issues you're having.

Thanks. Try today

Have you gotten any response back?

Now i chat with support

Dont work /api/currencies. Its problem from check coin symbol. If i of any coins and check coin symbol clear, api work


Implement config machinedeployments command

What this PR does / why we need it:
Implement the kubeone config machinedeployments command used to generate manifest containing all defined MachineDeployments.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
xref #531
Does this PR introduce a user-facing change?:
Implement the `kubeone config machinedeployments` command used to generate manifest containing all defined MachineDeployments

/assign @kron4eg

/hold

/hold cancel


Repository has no code?

This repository seems empty sorry.

Yeeah, sorry about that. I wanted to start a sample a couple of months ago, but couldn't find the time... Will update this once there is an almost stable preview version and find some hours.
Thanks!

Thanks I really appreciate it. I was following your blog post but had problems running it. Keen to run something even if it's half working.

Hi!
Just updated the article and samples, so closing this.
But feel free to reach out when you have any issues :D
Thanks!


feat(rware): full environment

What?
Full Robotic Warehouse environment code, including random/a2c agents and documentation.
closes #136

 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.

Neptune train link