Unable to change cards after update

I cannot save changed contents of cards since one of the last updates. I can click the card end edit the text (within main text field or within comment fields). But these changes disappear after saving.
Our installation is debian buster.
First question, where can I find some debug information?

@wrrdlbrrmpft
Please update to newest snap with:
sudo snap refresh

Then please copy output of this command to comment of this issue:
sudo snap list

And test does it still happen.

@xet7: Wow,what a quick answer. Thank you.
Here's the output:
Name   Version    Rev    Tracking       Publisher   Notes
core   16-2.52.1  11993  latest/stable  canonical✓  core
wekan  5.84       1855   latest/stable  xet7        -
Unfortunately, it's not solved. Do I need to restart anything?

@wrrdlbrrmpft
Please clean up your browser cache, close browser, open browser, login to WeKan, and try again.
What browser and browser version you use?

Does this happen on newest Firefox or Chromium?

No, it doesn't. Finally, I updated my browser: Chromium 79 -> Chromium 99. Problem solved. Thank you very much.


Can you pls clarify... new set items, does it move to the front with the old set item still inside cache or...?

Can you pls clarify... new set items, does it move to the front with the old set item still inside cache or...?
both same key
cache new = key -> valueNew
cache old = key -> valueOld
Before
fastcache = [cacheOld -> valueOld]
After
e.g.
fastcache = [ cache new -> valueNew, cache old -> valueOld]
or
fastcache = [cache new -> valueNew]

i'm curious over this issue as well, does anyone know? because trying to use as a in memory storage. not sure if consistently writing a lot of same key will evict the other keys.

will upgrade to fastcache in future versions stick to same strategy or use another eviction method? just curious over direction


Review all beans and tests for deeper relationship check

From chicchiricco on June 11, 2010 17:57:03
Take into account all entities provided with relationships and review the code in order to

add "orphanRemoval = true" wherever applicable
make bidirectioanl relationships wherever applicable
update delete

Review all tests for the same entities in order to better test relationships: i.e. supposing A @OneToMany B, what happens when:
a. you read A from the DB, remove B from the DB and check A.getB()?
b. you do A.removeB() and try to read B from the DB?
Original issue: http://code.google.com/p/syncope/issues/detail?id=7

From chicchiricco on June 12, 2010 08:23:38
Status: Started

From chicchiricco on June 24, 2010 05:38:20
This issue was closed by revision r294 .
Status: Fixed


Client Allocation Request for: xuanxv

Client Allocation Questions
Core Information

Name: xuanxv
Website / Social Media: http://fil.filestar.store/
DataCap Requested: 5TiB
Addresses to be Notarized: f3vixclbeecnqffx2oohox4q6mdrm2rfm2ij2kadcgy7dkbkqbvljryp3ehxivkgij435ukofkbd2vsea56c2q
Notary Requested: philippbanhardt

Hey @liusiry - thanks for your request. Can you kindly add more information / context here on:

yourself , e.g. include links to social media / news mentions etc
your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time etc
type, size, source and your relationship with the data you (and by extension other Discover participants) are looking to store on Filecoin, e.g. public data vs private data etc
how you intend to store the data on Filecoin, e.g. redundancy, location / miner preferences, etc

Thanks


File showing as blank... corrupted cache?

I just opened a file using remote-edit and was surprised to find it blank. SSHing into the server and opening the file confirmed that indeed it was not blank. Closing and opening it in remote-edit several times was not effective. Only after I ran "touch app.js" on the server did remote-edit display the file contents upon opening.
I assume this has something to do with a local cache, but I don't have any way of providing a test case or any additional information. I've only been using remote-edit for a few days, but this is the first time it has happened.  Upgraded to 1.8.4 yesterday.
Thanks for your hard work on this most excellent package!

+1

This should be resolved by commit ca84c45ce13864ae7de4733fabfb35ddcfde261c.
Let me know if it occurs anyway.


Add database modules

#10

Opening a new PR: https://github.com/elixir-cloud-aai/foca/pull/24
And closing this one.


Viewing dendrogram requires pylab.show() call

After calling 'dendrogram()' the figure window closes immediately if I don't put a pylab.show(). Maybe you can add an option as argument that enables/disables pylab.show() ? (And a white background would also be nice, but I leave that up to you)

OK, I will fix this in the next commit.

About the background color, it can be chosen while you save the image. If white is what you need, just choose the option transparent=False (default is True and probably that's why it is not white :)
About the pylab.show, that is chosen by default now. To disable chose show_plot=False.

Fixed by #219.


Flash peripheral support for stm32f0xx

This adds full coverage of the Flash peripheral for all stm32f0 devices. Wasn't too sure what to document for nBOOT0 and nBOOT1; they could probably be improved. Functionally I'm fairly confident it's all good to go, however.
Let me know if anything needs fixing.

Oops, good eye! Got those fixed up.


[BUG] sql failover group db update does not propagate changes to secondary db

Description

Running `cf update-service fog-S0-update -p standard-S3 -c '{"server_pair":"pair_xxx"}' does not update plan size on the secondary db
Expected Behavior

running cf update-service fog-S0-update -p standard-S3 -c '{"server_pair":"pair_xxx"}' should reflect changes in primary and secondary db
Actual Behavior

running cf update-service fog-S0-update -p standard-S3 -c '{"server_pair":"pair_xxx"}' only reflects changes on primary db
Possible Fix

Fix for terraform provider or the Azure APIs that the provider uses
Steps to Reproduce

Create a FOG db instance
Try and update that instance to a different plan size
See that the primary db successfully updates
See that the secondary db does now

Context

This is an extension of the FR submitted by @drebake #47. The Feature Request was delivered, but the functionality is incomplete due to circumstances beyond the team's control (see #47 for context
Your Environment

Version used: Bosh 2.9.6, TAS 2.9.7, cf version 6.51.0+2acd15650.2020-04-07, sb-0.1.0-rc.35-azure-0.0.1-rc.112
Operating System and version (desktop): N/A
Link to your project (if public): N/A
Platform (Azure/AWS/GCP): Azure
Applicable Services: Azure Failover Groups

We have submitted an issue in the terraform-provider-azurerm repo (https://github.com/terraform-providers/terraform-provider-azurerm/issues/8040) in an attempt to get this addressed

There is a workaround fix for this released now. See https://github.com/pivotal/cloud-service-broker/blob/master/docs/mssql-db-fog-config.md#notes-on-the-secondary-db-created-by-fog
A more comprehensive fix may be implemented in the future.

@drebake see above related to #47, let us know if this fixes the issue for you!

Should it work with version Azure tile 0.0.39? I just tried with a csb-azure-mssql-db-failover-group service and it didn't update the secondary database.
Steps:
1-  cf create-service csb-azure-mssql-db-failover-group standard-S0 fog1 -c '{"server_pair":"pair1"}'
2- cf service fog1
3- cf create-service csb-masb-mssql-db-subsume current secondary-db -c '{"azure_db_id":"/subscriptions/XXXXXXXXXXXX-4140-8c5c-XXXXXXXXXX/resourceGroups/sqldb-cfzcea-rg/providers/Microsoft.Sql/servers/sqldb-cfzcea-csb-server01/databases/csb-fog-db-XXXXXXXX-XXXXX-XXXX-XXXX-XXXXXXXXXXXa2"}'
4- cf update-service fog1 -p standard-S3 -c '{"server_pair":"pair1"}'
Primary update to standard-S3 but not the secondary.

Yes, that is the way its going to work for now. cf update secondary-db is necessary to update the sku for the secondary db.

I did an update-service with the server_pair as a parameter,
cf update-service fog2-secondary -c '{"server_pair":"pair1"}'
I then got a update-failed.
2020-09-23T16:58:00.56-0400 [APP/PROC/WEB/0] OUT {"timestamp":"1600894680.561564445","source":"terraform@/home/vcap/tmp/gsb248689954","message":"terraform@/home/vcap/tmp/gsb248689954.results","log_level":1,"data":{"error":{"Stderr":null},"errors":"\nError: failure in issuing create/update request for SQL Database "csb-fog-db-728a0821-4cbc-4712-b27a-0583286fe64b" Blob Auditing Policies(SQL Server "sqldb-cfzcea-csb-server01"/ Resource Group "sqldb-cfzcea-rg"): sql.ExtendedDatabaseBlobAuditingPoliciesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BlobAuditingIsNotSupportedOnGeoDr" Message="Blob auditing can be configured on primary databases only."\n\n  on main.tf line 2, in resource "azurerm_sql_database" "azure_sql_db":\n   2: resource "azurerm_sql_database" "azure_sql_db" {\n\n\n","output":"azurerm_sql_database.azure_sql_db: Refreshing state... [id=/subscriptionsXXXXXXXXXXXXXXXXXXXXXXXX/resourceGroups/sqldb-cfzcea-rg/providers/Microsoft.Sql/servers/sqldb-cfzcea-csb-server01/databases/csb-fog-db-728a0821-4cbc-4712-b27a-0583286fe64b]\ndata.azurerm_sql_server.azure_sql_db_server: Refreshing state...\nazurerm_sql_database.azure_sql_db: Modifying... [id=/subscriptions/4e6ece19-da08-4140-8c5c-1bf426457448/resourceGroups/sqldb-cfzcea-rg/providers/Microsoft.Sql/servers/sqldb-cfzcea-csb-server01/databases/csb-fog-db-728a0821-4cbc-4712-b27a-0583286fe64b]\n"}}

It doesn't work that way.
See the results of cf service fog2-secondary  That should output the edition and service_objective for the current state of the database. You can then change the service_objective to change the sku of the db:
cf update-service fog2-secondary -c '{"service_objective":"<new objective>"}'
The secondary is a completely separate resource in CF's perspective, no connection to the FOG, so you manage it as its own entity.

I can confirm that with the "cf update-service fog2-secondary -c '{"service_objective":""}'" command, I can change the SKU of the secondary database.
Is there a reason why a secondary service was created to perform the update-service and delete service of the secondary database and not just included in the "csb-azure-mssql-db-failover-group"? I don't see a case where you would want to have a different secondary database or not have the secondary database deleted from a "csb-azure-mssql-db-failover-group" command.

The root of the problem is that both terraform and the Azure API's it relies on don't directly manage the secondary DB. That DB is created as a side-effect of creating the FOG. With the subsume support (based on terraform import) we have now have the tools to gain control of that DB, but don't have all the internal plumbing in the broker to automate that (run terraform apply to create the FOG, then run a terraform import to gain control of the out of bounds creation of the secondary DB.) This manual subsume step is a work around while we prioritize the core broker effort to make it work end to end.


matplotlib version error install.sh

No matching distribution found for matplotlib==3.0.2 (from -r requirements.txt (line 12))```

This is likely due to python version differences. I would recommend that we move forward with python3.
$ pip install matplotlib==3.0.2
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting matplotlib==3.0.2
  Could not find a version that satisfies the requirement matplotlib==3.0.2 (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3)
No matching distribution found for matplotlib==3.0.2

Yup, I'll add that to the conda create command python=3 or 3.6?
On Sun., Feb. 10, 2019, 6:32 p.m. Kory<EMAIL_ADDRESS>wrote:

This is likely due to python version differences. I would recommend that
we move forward with python3.
$ pip install matplotlib==3.0.2
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting matplotlib==3.0.2
Could not find a version that satisfies the requirement matplotlib==3.0.2 (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3)
No matching distribution found for matplotlib==3.0.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kylemath/DeepEEG/issues/7#issuecomment-462201061, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADfjFUYlqB_0YaPZgseXVJOAKyPhdqg_ks5vMMg4gaJpZM4ayTPU
.

hopefully fixed with https://github.com/kylemath/DeepEEG/commit/bf06592bd1db8526b47c41bec330c89a47ea317f#diff-04c6e90faac2675aa89e2176d2eec7d8
forcing python 3 on the conda creation

yes this did fix, but needed to also change tensorflow version, hopefully didn't break

Luckily we have tests :)

yes it is tested,

No matching distribution found for matplotlib==3.0.2 I getting same error I not able to resolved pls help

same issue


"Signature: PackageIsUnreadable" error when attempting to install extensions on Insiders 1.77

Issue
Whenever I attempt to install extensions in Insiders 1.77, I get a Signature: PackageIsUnreadable error.

Does this issue occur when all extensions are disabled?: n/a I think

Current Versions
Version: 1.77.0-insider
Commit: 155cd6db223feb1f8c734ca70e108b9efec7b054
Date: 2023-03-02T12:46:14.548Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.3.0
Sandboxed: Yes
Steps to Reproduce:

Open Insiders 1.77 application
Go to extensions tab and search for an extension (e.g. App Service or Azure Functions) and click the install button
Watch installation fail

Here's a snippet of some logs:
2023-03-02 10:57:38.945 [error] Signature: PackageIsUnreadable
    at ki.download (/vscode/vscode-server-insiders/bin/linux-x64/155cd6db223feb1f8c734ca70e108b9efec7b054-insider/out/vs/server/node/server.main.js:153:468)
    at async Q.x (/vscode/vscode-server-insiders/bin/linux-x64/155cd6db223feb1f8c734ca70e108b9efec7b054-insider/out/vs/server/node/server.main.js:153:20769)
    at async Q.h (/vscode/vscode-server-insiders/bin/linux-x64/155cd6db223feb1f8c734ca70e108b9efec7b054-insider/out/vs/server/node/server.main.js:153:18910)

Same problem.

CC @dtivel

I have encountered the same problem, is there a solution?

same problem too,can not install any package, i select to reinstall it,,,

same problem,this is version information
Version: 1.76.2 (user setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: Yes
and the debug level log is that:
2023-03-20 10:11:30.964 [info] Starting worker process with pid 13632 (type: fileWatcher, window: 1).
2023-03-20 10:11:31.407 [info] WSL is not installed, so could not detect WSL profiles
2023-03-20 10:11:34.685 [info] Getting Manifest... ms-ceintl.vscode-language-pack-zh-hans
2023-03-20 10:11:34.686 [info] Getting Manifest... ms-vscode.cpptools
2023-03-20 10:11:34.687 [info] Getting Manifest... shd101wyy.markdown-preview-enhanced
2023-03-20 10:11:34.693 [info] Installing extension: ms-ceintl.vscode-language-pack-zh-hans
2023-03-20 10:11:34.694 [info] Installing extension: ms-vscode.cpptools
2023-03-20 10:11:34.695 [info] Installing extension: shd101wyy.markdown-preview-enhanced
2023-03-20 10:11:35.542 [error] Error while installing the extension: ms-ceintl.vscode-language-pack-zh-hans
2023-03-20 10:11:35.542 [error] Failed to install extension. ms-ceintl.vscode-language-pack-zh-hans
2023-03-20 10:11:35.542 [error] Signature: PackageIsUnreadable
at yt.download (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:468)
at async X.x (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:20760)
at async X.h (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:18897)
2023-03-20 10:11:35.542 [error] [uncaught exception in sharedProcess]: PackageIsUnreadable: Signature: PackageIsUnreadable
at yt.download (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:468)
at async X.x (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:20760)
at async X.h (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:18897)
2023-03-20 10:11:35.874 [error] Error while installing the extension: shd101wyy.markdown-preview-enhanced
2023-03-20 10:11:35.874 [error] Failed to install extension. shd101wyy.markdown-preview-enhanced
2023-03-20 10:11:35.874 [error] Signature: PackageIsUnreadable
at yt.download (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:468)
at async X.x (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:20760)
at async X.h (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:18897)
2023-03-20 10:11:35.874 [error] [uncaught exception in sharedProcess]: PackageIsUnreadable: Signature: PackageIsUnreadable
at yt.download (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:468)
at async X.x (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:20760)
at async X.h (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:18897)
2023-03-20 10:11:38.075 [error] Error while installing the extension: ms-vscode.cpptools
2023-03-20 10:11:38.075 [error] Failed to install extension. ms-vscode.cpptools
2023-03-20 10:11:38.075 [error] Signature: PackageIsUnreadable
at yt.download (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:468)
at async X.x (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:20760)
at async X.h (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:18897)
2023-03-20 10:11:38.076 [error] [uncaught exception in sharedProcess]: PackageIsUnreadable: Signature: PackageIsUnreadable
at yt.download (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:468)
at async X.x (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:20760)
at async X.h (vscode-file://vscode-app/c:/Users/XXX/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:91:18897)
2023-03-20 10:12:13.713 [error] [uncaught exception in sharedProcess]: A system error occurred (ENOTEMPTY: directory not empty, rmdir 'C:\Users\XXX\AppData\Roaming\Code\CachedData\30d9c6cd9483b2cc586687151bcbcd635f373630\chrome\wasm'): Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\XXX\AppData\Roaming\Code\CachedData\30d9c6cd9483b2cc586687151bcbcd635f373630\chrome\wasm'

I can install some pakcages but got same error when Im trying to install dbaeumer.vscode-eslint.
Version: 1.76.2 (user setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

Host OS is windows, but Im working on the remote container runs on the remote machine which is linux.

Can you (those who subscribed) please verify if this issue still exists?

Remove the setting extensions.verifySignature if you have set it
Restart VS Code
Set Log Level to Trace - F1 > Developer: Set Log Level > Trace
Install an extension
Share the output - F1 > Show View... > Shared

no problem now. thank you.

Closing this as I do not see any reports after my previous comment.


Two DataBase

DBFlow Version: 2.2.1
Issue Kind Question:
Description:
I need to create an application that uses DBFlow but this application imports a library (.jar) that also uses DBFlow, it is possible?

library jar not supported. DBFlow is an android aar lib so we can enforce the android annotations lib and other stuff.


Special Interest Group Proposal: Anti-Correlation and Anti-Profiling SIG

Introduction/background material
Digital wallets promise to revolutionise the digital interactions of businesses, governments and people.
Unless they are implemented carefully, they can open new "back-doors" for undesirable surveillance, profiling and activity correlation of users. This is especially the case when previously closed and tightly controlled usage moves into much wider and larger scale open ecosystems, where control over every possible use case cannot be exerted by a single body. Such larger open ecosystems include national and international scale wallet ecosystems that are rapidly developing right now that take advantage of recent developments in digital credentials and SSI.
Due to the technical complexities of the cryptography and protocols used, there are only a few people that understand what these back-doors are. There is a danger that well intentioned wallet initiatives deploy at scale only to find that they have created a ticking time bomb that will destroy trust in the ecosystem they are fostering once user profiling and correlation becomes commonplace.
The intention of this SIG is to ensure that everyone working on digital wallets, whether technical, legal or commercial, knows what these dangers are and how to avoid them.
Objectives
This SIG will create, distribute and promote a set of material that will increase the visibility of the solutions to correlation and profiling issues that could be introduced with digital wallet deployments.
List of deliverables or work products (optional)
Best Practices Guide - A non-technical, plain English (minimal jargon) document detailing the best practices for digital wallets for preventing correlation and profiling of users. This will include explanations of how correlation and profiling could occur with "real world" examples, how a bad actor might utilise vulnerabilities,
Best Practices Checklist - An easy to read and understand checklist to make it simple for anyone to see if their digital wallet project has gaps or problems that will result in correlation or profiling issues.
Technical Paper - A more technical description of the cryptography, protocol, signature or data mechanisms that could result in correlation and profiling, and what to do about them.
Press Release - A press release for distribution to news outlets that contains quotable soundbites and links to the above deliverables.
Outreach - One or more spokespeople who can do the conference circuit, podcasts, and be available for calls/meetings etc. to promote the Best Practices Guide and the other content produced by this SIG.
Leader
Andy Tobin - Gen Digital
Initial Participant List
Drummond Reed - Gen Digital
Brent Zundel - Gen Digital
Troy Ronda - Gen Digital
Markus Sabadello - Danube Tech
Lal Chandran - iGrant
Samuel Rinnetmäki - Findy
Viky Manaila - Intesi
Juan F Tavira - Santander
Matteo Mirabelli - Infocert
Peter Altmann - DIGG Swedish Govt.
Others welcome.

Thanks, @andy-tobin, for the submission. I will add this to the September 20th TAC call for us to discuss. It would be great if you could be available to answer any questions that people may have.

Great initiative and so much needed. Intesi Group will support it.

I've added a couple more interested people to the initial post.

Yep - will add you, thanks!

I've added a couple of other volunteer participants.

Danube Tech supports this too.

I'd like to join too. David

I'd like to join too. David

@Balmerino can you send me your email address please, to<EMAIL_ADDRESS>Ta

I'd like to join as well

I'd like to join as well please Andrew

Excellent thanks!
@skounis @Sebastian-Elfors-IDnow @davidejalexander please email me at<EMAIL_ADDRESS>with your email addresses and organisations (sorry if I don't already know!)

Accepted by the TAC on September 20, 2023.
Created #safe-wallet-sig in Discord.

Created repo for this SIG: https://github.com/openwallet-foundation/safe-wallet-sig

Hi Andy,
Great initiative, which clearly matches TNO's "citizen protection" objectives.
Question: how do we create real-world impact that goes beyond yet-another beautiful whitepaper. At this moment, the European activities (EUDI Wallet, ARF, PID) seem to be on a dangerous track, doing opposite of citizen protection. So far, alarming reviews by digital-privacy organisations have not been addressed. Why/how could this OWG SIG achieve the desired impact, where others are still failing?
Oskar

Id like to join as well

Id like to join as well

Please jump in to today's session. The meeting details are:
Every Tuesday 15:00 UTC for 60 minutes.
https://zoom-lfx.platform.linuxfoundation.org/meeting/94559786680?password=1223e2fe-0f51-42f1-a583-e7a2fc0120b3
One tap mobile:
US: +12532158782,,94559786680# or +13462487799,,94559786680#
Or dial:
US: +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or<PHONE_NUMBER> (Toll Free) or<PHONE_NUMBER> (Toll Free)
Canada: +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or +1<PHONE_NUMBER> or<PHONE_NUMBER> (Toll Free)
Meeting ID:<PHONE_NUMBER>0
Meeting Passcode: 705330
International numbers: https://zoom.us/zoomconference?m=OTI0Nzc4MTIyMjE.Ria3tGffibP_4NcZZuWoVY0o7hJ7i4gZ&_x_zm_rtaid=TkFkmGIDTJyJuc9861PKtA.1698329471367.667dbf22c8b889b349054cf044cfdbdc&_x_zm_rhtaid=224


English Support

Hi,
mikutter 0.3 or later already supports English locale by ruby-gettext.
Could you show your mikutter version and LANG variables?
mikutter assumes LANG=ja_JP.UTF8 by default.
I think that with LANG=en_US.UTF8 or LANG=en_GB.UTF8, mikutter launches English locale.
And this issue is already reported in debian project https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731032.


[BUG] parse failed: template: shortcodes/admonition.html:4: function "merge" not defined

parse failed: template: shortcodes/admonition.html:4: function "merge" not defined

This data is not enough to understand the problem.

This data is not enough to understand the problem.

This data is not enough to understand the problem.

What I've done is :

git submodule init (uBlogger)
git submodule update or pull uBlogger
hugo server -D
and the result is the logging: themes/uBlogger/layouts/shortcodes/admonition.html:4:1": parse failed: template: shortcodes/admonition.html:4: function "merge" not defined

Thx for ur assistance :P

This data is not enough to understand the problem.

What I've done is :

git submodule init (uBlogger)
git submodule update or pull uBlogger
hugo server -D
and the result is the logging: themes/uBlogger/layouts/shortcodes/admonition.html:4:1": parse failed: template: shortcodes/admonition.html:4: function "merge" not defined

Thx for ur assistance :P

Hmm, this is weird. Please select your operating system and HUGO version

Hmm, this is weird. Please select your operating system and HUGO version

Hmm, this is weird. Please select your operating system and HUGO version

OS I'm using now(in my home) is MacOS bigsur 11.0.1 and hugo version is [Hugo Static Site Generator v0.79.1/extended darwin/amd64 BuildDate: unknown]. On this computer the site generation is totally OK.
This computer'OS is different from the other one I was using. Pls wait for about 12 hours. I'll give you new feedback. Thx.

Hmm, this is weird. Please select your operating system and HUGO version

OS I'm using now(in my home) is MacOS bigsur 11.0.1 and hugo version is [Hugo Static Site Generator v0.79.1/extended darwin/amd64 BuildDate: unknown]. On this computer the site generation is totally OK.
This computer'OS is different from the other one I was using. Pls wait for about 12 hours. I'll give you new feedback. Thx.

It's hugo version 0.55.5's bad. Sorry to bother.

It's hugo version 0.55.5's bad. Sorry to bother.

Nothing wrong. If you have any questions, please contact :)

Nothing wrong. If you have any questions, please contact :)


[3.5] C# EditorInspectorPlugin.CanHandle(Godot.Object) was not called properly

Godot version
3.5.stable
System information
Windows 11
Issue description
When I followed the inspector plugin tutorial, I found that after changing the edited property name and rebuilding, EditorPlugin.Handles will be called normally and EditInspectorPlugin.CanHandle will no longer be called. In gdscript they will all be called normally.
Steps to reproduce

inspector plugin tutorial
Create a Node2D node named main
Attach main.cs to node main

public class main : Node2D
{
    [Export] public int a = 0;
}

Inspector is displayed normally
Change the property name(a -> b) and build

public class main : Node2D
{
    [Export] public int b = 0;
}

The Inspector panel will not appear with a random number button

Minimal reproduction project
No response

The project assembly is also loaded by the editor in order to execute Tool classes (such as a custom EditorInspectorPlugin) so when the project is re-built the editor needs to reload the assembly.
After the assembly is reloaded, C# forces a refresh of the inspector so the properties and signals are updated, this should trigger the inspector calling CanHandle again (and it does) but your script is no longer a CSharpInstance, instead it's a PlaceHolderScriptInstance.
When a script can't be instantiated by the editor we use a placeholder instead, the main reason why a script can't be instantiated in the editor is that the class is not a Tool. Like I said at the beginning, for a class to be executed in the editor it needs to be a Tool class. In C# this means the class needs to have the [Tool] attribute. Can you confirm that adding the attribute to the EditorInspectorPlugin and RandomIntEditor classes fixes the issue? In that case this is a documentation issue.

项目程序集也由编辑器加载以执行 Tool 类（如自定义类），因此当重新生成项目时，编辑器需要重新加载程序集。EditorInspectorPlugin
重新加载程序集后，C# 强制刷新检查器，以便更新属性和信号，这应该会再次触发检查器调用（确实如此），但您的脚本不再是 ，而是 .CanHandle``CSharpInstance``PlaceHolderScriptInstance
当脚本无法由编辑器实例化时，我们使用占位符，脚本无法在编辑器中实例化的主要原因是该类不是工具。就像我在开始时说的，要在编辑器中执行一个类，它需要是一个工具类。在 C# 中，这意味着类需要具有该特性。您能否确认将属性添加到 和 类可以解决问题？在这种情况下，这是一个文档问题。[Tool]``EditorInspectorPlugin``RandomIntEditor

Thank you very much for your answer, adding the [Tool] attribute to EditorInspectorPlugin and RandomIntEditor did solve this problem, as you said it was a documentation problem, thank you very much.

The project assembly is also loaded by the editor in order to execute Tool classes (such as a custom EditorInspectorPlugin) so when the project is re-built the editor needs to reload the assembly.
After the assembly is reloaded, C# forces a refresh of the inspector so the properties and signals are updated, this should trigger the inspector calling CanHandle again (and it does) but your script is no longer a CSharpInstance, instead it's a PlaceHolderScriptInstance.
When a script can't be instantiated by the editor we use a placeholder instead, the main reason why a script can't be instantiated in the editor is that the class is not a Tool. Like I said at the beginning, for a class to be executed in the editor it needs to be a Tool class. In C# this means the class needs to have the [Tool] attribute. Can you confirm that adding the attribute to the EditorInspectorPlugin and RandomIntEditor classes fixes the issue? In that case this is a documentation issue.

Thank you very much for your answer, adding the [Tool] attribute to EditorInspectorPlugin  and  RandomIntEditor did solve this problem, as you said it was a documentation problem, thank you very much.


Picture can't keep ratio 1:1

Profile picture on My Account page can't keep ratio 1:1
To Reproduce
Steps to reproduce the behavior:

Go to Register
Upload profile picture and fill out the entire form
Click "REGISTER"
Login with information used in register. If login is successful, it will redirect to My Account page

Expected behavior
My Account page: The profile picture should have ratio of 1:1.

RESOLVED


[AutoPR cdn/resource-manager]  Add example for checkNameAvailability

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2700

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1343


The code, please , atleast refactor ..

I don't understand your comment. Please give clearer explanation of the issue you are having.

@climberhunt he said make the code better


Making a connection does not automatically take user to contact chat screen.

Description of problem
A person scanning (scanner) another person's QR code (holder) to connect does not automatically take the holder to the contact chat screen. The holder is stuck in the loading screen. Only when the scanner sends a proof request does the screen change to the contact chat screen.
Expected behavior
Once a connection is made, the screen should change to the contact chat screen for both parties automatically
Steps to reproduce

With 2 separate devices, scan one device's qr code with the other device
wait for the connection for both
to change screen for the holder, send a proof request from the scanner's device

Screenshots and/or log output
From the scanner's perspective
https://images.zenhubusercontent.com/429950091/9517f23b-eae5-4b9d-b80e-4d3cbbd79cd9/20230718_1605248359.mp4
From the holder's perspective
https://images.zenhubusercontent.com/429950091/cf350ca6-9f81-496d-9861-a873870e84df/20230718_1607136158.mp4
Environment

[X] Occurs on Android
[X] Occurs on iOS

Build #: 1075
Android Device Model: OnePlus 6
iOS Device Model: iPhone SE
Workaround
Sending a proof request to the holder
Severity

[X] High
[ ] Medium
[ ] Low

Possible linked #1271

Verified, this works as expected. I can establish a connection only and I get navigated to the Chat screen. See this video.


ClrMD 2 EnumerateReferences much slower than ClrMD 1.1

For calculating the retention size of objects I use ClrMD 1.1 to visit all objects in a depth first search.
Out of curiositity I tried the beta version (2.0.0-beta.20230.2). Some code needed to be rewritten slightly but I like the API improvements.
But the performance of processing the same dump file was about 5 times slower.
I know that 2.0 is not finished yet, but before releasing 2.0 it would be wise to compare against ClrMD 1.1 visiting all objects and retrieving shallow size.

I'd like to look into this but I need some guidance on performance profiling with dotnet-trace... :(

I recommend using PerfView. After recording a trace, you can go to the Flamegraph tab to see which methods take the most time.
Here is an online tutorial.
The traces are to big to send so I will try to summarize where more time is spent than before. This might take some time...

Well, the traces between ClrMD1.1 and ClrMD2.0 are very different. Hard to compare apples to apples. What I can tell is that ClrMD 2.0 suffers from I/O related slowdown. 83% is spent on reading the dump file. About 6% on my own code. So 11% on other ClrMD methods.
Samples spent in 1.1: 35893
Samples spent in 2.0: 155506
Here the methods that take the most time:
83%   microsoft.diagnostics.runtime!Microsoft.Diagnostics.Runtime.Windows.MinidumpMemoryReader.Read(unsigned int64,value class System.Span1<unsigned int8>,int32&) (63809 inclusive samples, 37.88%) 63.8% microsoft.diagnostics.runtime!Microsoft.Diagnostics.Runtime.SpanExtensions.Read(class System.IO.Stream,value class System.Span1)
60,7% mscorlib.ni!System.IO.FileStream.Read(Byte[], Int32, Int32)
17%   mscorlib.ni!System.IO.FileStream.set_Position(Int64)

@jwdj were you running this on .NET Framework?
https://adamsitnik.com/Span/#slow-vs-fast-span

https://github.com/microsoft/clrmd/blob/b49054de819ecb58f07b835434f5834a0a619ab2/src/Microsoft.Diagnostics.Runtime/src/Extensions/SpanExtensions.cs#L26
It's probably caused by double copying on .NET FX due to Stream.Read(Span<byte>) not available. This would be a nightmare for file I/O because ClrMD 2.0 is completely span-based.

@drewnoakes Yes this was running from .NET Framework. From LINQPad 5 to be precise (32 bits version).
@NextTurn I agree that spans on .NET Framework can't be the problem. I think CLRMD 2 caches a lot less. It uses a lot less memory in any case (that is good!). Maybe some kind of buffering could help, or memory mapped I/O as you suggested yourself.

I've not finished perf testing yet, which I have on the roadmap here: https://github.com/microsoft/clrmd/issues/614.

For calculating the retention size of objects I use ClrMD 1.1 to visit all objects in a depth first search.

@jwdj Can you please give me the code snippet you are seeing a 5x slowdown on to make sure I understand?  I assume you are using something like ClrObject.EnumerateReferences recursively?  If so this is a known issue that I intend to fix in the perf testing outlined by #614.  Here is the root cause:
We have a memory reader that we read the heap in large chunks when enumerating objects:
https://github.com/microsoft/clrmd/blob/master/src/Microsoft.Diagnostics.Runtime/src/Implementation/ClrmdSegment.cs#L76
But EnumerateReferences isn't reading from that cache (and it should be, clrmd 1.1 reads from the cached memory):
https://github.com/microsoft/clrmd/blob/master/src/Microsoft.Diagnostics.Runtime/src/Implementation/ClrmdHeap.cs#L236
Please do continue to report perf issues though (hopefully along with a mini snippet to reproduce it).  I'll be tackling them as soon as I'm back to work on ClrMD.  I'm currently working on some high priority issues for the rest of the week.

Thank you @leculver for taking the time to investigate this issue regarding the fact that your time is needed elsewhere. I'm perfectly fine with using ClrMD 1.1 in the meantime. It helped me find the objects in our software that take the most memory and realizing that some optimizations would be futile considering the enormous size of ResourceDictionaries.
Here the code I used for the ClrMD 2 version.
It should probably be better to use ClrObject.EnumerateReferences since the type is now determined more than once. In ClrMD 1.1 I used type.EnumerateRefsOfObject taken from the ObjSize example
private IEnumerable<(ulong address, ClrType type, int dfsIndex)> IterateDepthFirst(bool createVirtualRoot, Action<ulong, int, ulong> referencedBy)
{
	var eval = new Stack<uint>(83 * 256);
	ObjectSet considered = null;

	if (!Heap.CanWalkHeap)
		yield break;

	int dfsIndex = 0;

	if (createVirtualRoot)
		yield return (0, null, ++dfsIndex);

	considered = new ObjectSet(Heap);
	foreach (var address in RootedObjects)
	{
		referencedBy?.Invoke(0, dfsIndex, address);
		if (considered.Contains(address))
			continue;

		considered.Add(address);
		eval.Push(AddressToInt(address));
	}
	considered.Clear();
	while (eval.Count > 0)
	{
		ulong address = IntToAddress(eval.Pop());
		if (considered.Contains(address))
			continue;

		considered.Add(address);

		// Grab the type. We will only get null here in the case of heap corruption.
		var type = Heap.GetObjectType(address);
		if (type == null)
			continue;

		yield return (address, type, ++dfsIndex);

		// Now enumerate all objects that this object points to, add them to the
		// evaluation stack if we haven't seen them before.
		foreach (var child in Heap.EnumerateObjectReferences(address, type, false, true))
		{
			if (child.Address != 0)
			{
				if (!considered.Contains(child.Address))
				{
					eval.Push(AddressToInt(child.Address));
				}
				referencedBy?.Invoke(address, dfsIndex, child.Address);
			}
		}
	}
}

private int _addressShift = IntPtr.Size == 4 ? 2 : 3;

public uint AddressToInt(ulong address)
{
	address = address >> _addressShift;
	if (address <= uint.MaxValue)
		return (uint)address;

	throw new ArgumentOutOfRangeException(nameof(address));
}

public ulong IntToAddress(uint i) => i << _addressShift;

@jwdj Do you have time to try #661 and see if it somewhat makes ClrMD faster? Your scenario makes much more sense than my unrealistic ad-hoc tests.
The CI artifacts are available here.

@NextTurn Not sure what you want me to do with the CI artifacts. Some binlog files and a props file. I expected to find a .nupkg.

Odd. @leculver Where are the Nuget packages for automated CI runs? They are not here either.

I'm not sure either.  We can just ship the change in pre-release and use the real nuget packages.

@jwdj Thank you for this report!  I've gotten to the bottom of the issue here which is (mostly) around .
The first issue is as I described, we need to put a memory read cache around enumerating an individual object's data.  This is easily fixable and should put us back into line with ClrMD 1.1's performance.
The second issue I've been looking at is the fact that a lot of the reads aren't localized and require too many tiny reads.  For example, when we read the methodtable for an object to create the ClrObject we should try to read enough data that we don't need do a second memory read to enumerate its references.
I'll fix the first issue shortly, and when we are back within ClrMD 1.1's performance I'll close this issue.  I'm still thinking about the second issue.  We might want to have a ClrObject.EnumerateTransitiveClosure which efficiently walks objects very carefully to minimize reads.  I'll let you know what I come up with.

@jwdj Can you please give this nuget package a try?
https://www.nuget.org/packages/Microsoft.Diagnostics.Runtime/2.0.0-beta.20276.4
This implemented the bare minimum of improvements here.  I still have work to do to make this better but I wanted to see if this helped your scenario or if I have a lot more work to do?

@leculver @NextTurn : Well there is certainly an improvement over the results from yesterday using the previous beta version. Thank you for that. Here the results for a dump file of 600 MB (628,368,104 bytes)

Version
Memory used
Total allocated
Time

1.1.126102
96,461 KB
544,730 KB
00:00:06.0136100

beta.20273.1
30,681 KB
410,931 KB
00:00:24.2071408

beta.20276.4
31,580 KB
408,346 KB
00:00:16.6063535

I really like the improvements in memory usage over ClrMD 1.1 (part of this memory are my own structures so the difference is even bigger)
Maybe you can speed it up with the improvement @chrisnas proposed?

@jwdj Thanks for following up! I'm a bit curious about how the 2.0.0-beta.20276.1 package would behave as well. Could you give it a try?

Maybe you can speed it up with the improvement @chrisnas proposed?

This should have been implemented. You can find the type cache dictionary here:
https://github.com/microsoft/clrmd/blob/e1f4d31d2dc55dd2e67f7b4fd4b9959a30039f22/src/Microsoft.Diagnostics.Runtime/src/Builders/RuntimeBuilder.cs#L44

Well there is certainly an improvement over the results from yesterday using the previous beta version. Thank you for that. Here the results for a dump file of 600 MB (628,368,104 bytes)

Thank you for doing some measurements!  I had hoped my changes would have bigger impact, but I knew there was a lot more work to do here.  I'm actively working on this issue and should hopefully have a better solution by the end of the week.

Ok I've gotten to the bottom of this.  The underlying problem here is that Stream.Read is orders of magnitude slower than what DbgEng does to read memory (this measurement is without #661).  Note that DbgEng is the default reader in 1.1.  Here's what this looks like for an objsize test reading 24 million objects in an x86 process:

Version
# Reads
Bytes Read
Seconds
Reads/sec
Bytes/sec

ClrMD1.1
47,142,183
140,301,455,323
88.2747374
534,039.35
1,589,372,672.81

ClrMD2.0
76,447,020
868,825,679
340.2674627
224,667.44
2,553,361.03

Basically ClrMD 2.0 calls into ReadMemory 62% more times, but only reads 1% of the data from the underlying file.
To fix this, @ryanmolden is generously donating the data reader implementation he's been working on for a while.  His data reader already does what I was planning to do (essentially caching a lot more instead of doing direct Stream.Read seeks).  This should greatly improve perf.  He's also implemented AWE support if your machine has it enabled, which greatly improves performance for large dumps and reads.
I'll be plumbing through his data reader implementations this week and we'll reevaluate where we are.

I have most of the solution coded up here.  It will be done in another day or two:  https://github.com/leculver/clrmd/tree/aweMemoryReader
You can set a max "cache size" for data cached from a minidump.  Then we will go down a few different codepaths depending on the size of the dump:

If the dump size is smaller than the cache size we'll just load the whole file with MemoryMappedFile and read from that.  This is "Uncached" in the table below.
If the dump is larger than your cache size and you set a size too small for us to take advantage of caching data (e.g. in a low memory scenario), we'll default to the current behavior which is slow but doesn't take up any extra memory.  The threshold for this defaults to 32 megs, but it will be configurable.
If you specified a reasonable sized cache (32 megs or greater) we'll page the dump into memory using two strategies, either using AWE or with byte arrays depending on whether you have AWE enabled.  By default AWE is disabled for all users in windows.  This is "ArrayPool" and "AWE" in the table below.

Here's a rough test I ran running the above algorithm on 23 million objects.  It's not super accurate but it's ballpark correct:

Method
Time

DbgEng
70 seconds

Uncached
340 seconds

ArrayPool
75 seconds

AWE
47 seconds

Long story short, the "default" behavior for large dumps will be "ArrayPool" cache which is slightly slower than what ClrMD 1.1.  About an 8% regression or so, and that's good enough for RTM.  At a later date we might be able to reduce that regression if we dig deeply and see if the implementation can be improved.  However, if you turn on AWE you will see noticeably better performance, 33% faster.
FYI, you can turn on AWE by going to gpedit.msc  and enabling Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Lock Pages in Memory for the current user (then reboot).  I'll include some documentation for this when we release.  This feature will simply light up in ClrMD without you needing to do anything if you have AWE enabled.

The fix for this is published here:  https://www.nuget.org/packages/Microsoft.Diagnostics.Runtime/2.0.0-rc.20278.6
As a reminder I expect this build to be within 10% of ClrMD 1.1 but still a little slower.  I do plan to revisit the reader's perf at some point.  Please let me know if this is still significantly slower in your scenario.

@leculver Well this is definitely a big improvement in speed. Even better than ClrMD 1.1 and without AWE. Memory usage has logically gone up though.
Thank you for your effort addressing this issue.

Version
Memory used
Total allocated
Time

1.1.126102
96,461 KB
544,730 KB
00:00:06.0136100

beta.20276.4
31,580 KB
408,346 KB
00:00:16.6063535

rc.20278.6
136,443 KB
562,422 KB
00:00:04.9473435

Thanks to @ryanmolden who donated these implementations.  I only adapted the code for ClrMD.

Memory usage has logically gone up though.

@jwdj Yep, unfortunately baseline memory did go up.  I will say it's not a goal for ClrMD 2.0 to have lower memory usage than 1.1 by default.  Instead the intent is to let the user have a finer control over how much memory ClrMD is allowed to use.  If there's too much memory used, please be sure to look at the CacheOptions class.   On x86 by default we reserve 0x800_00000 bytes (128 megs) for caching the heap.
Users are welcome to set that all the way down to 0 if they like, but below a certain point we will default back to the previous uncached Stream.Read implementation.  The idea is the user should be able to tune ClrMD to their scenario.

Thanks for the release @leculver!
I planned to start my first tests last week as you asked for but unexpected investigation came up... So I'm only able to start testing today with a simple count of strings in a 64 bit heap of a 20 GB dump file and I still see large (x4!!) difference between 1.1 and 2.0 in term of duration (and size but expected with the new cache mechanism that goes up to 4GB).
Here are my results for 3 runs in a raw by the same 64 .NET Core application

Execution time in   ms
Gen0
Gen1
Gen2

Execution time in   ms
Gen0
Gen1
Gen2

32794
232
8
3

149329
26
17
10

31653
232
2
3

147071
41
20
6

30537
228
2
2

146827
18
10
6

Here is the code (_heap is retrieved from the ClrRuntime of the dump and stringType is the ClrType associated to System.String):
1.1
foreach (var address in _heap.EnumerateObjectAddresses())
{
    try
    {
        var objType = _heap.GetObjectType(address);
        if (objType == null)
            continue;
        result.objCount++;

        if (objType != stringType)
            continue;
        result.strCount++;
    }
    catch (Exception x)
    {
        // some InvalidOperationException seems to occur
    }
}

2.0
foreach (var obj in _heap.EnumerateObjects())
{
    try
    {
        var objType = obj.Type;
        if (objType == null)
            continue;
        result.objCount++;

        if (objType != stringType)
            continue;
        result.strCount++;
    }
    catch (Exception x)
    {
        // some InvalidOperationException seems to occur
    }
}

But what scares me the most is the fact that the count results are very different!
1.1: Objects: 45943693 | Strings: 6203332
2.0: Objects: 63114925 | Strings: 8160077
I can get that retrieving an object type works "better" in 2.0 so less null types but I don't get why the string count could be different...
Let me know if you would need more tests or details

@chrisnas I just opened https://github.com/microsoft/clrmd/issues/743, would you mind posting updates there?  There's a lot of feedback all over the place so it would help me not miss any questions or feedback. =)
Happy to keep chatting here and always feel free to open a new issue, but I'm worried I'll miss a message here.

I can get that retrieving an object type works "better" in 2.0 so less null types but I don't get why the string count could be different...

It's entirely possible that the new code fixes bugs we didn't even know existed in the old code.  One place that I know of that we fixed heap walking issues is x86 when /3gb+ is enabled.  We had a lot of sign extension issues on x86, but none of that should have affected x64 processes.
Keep in mind ClrMD 2.0 is almost a complete rewrite of the core of the library so we hopefully fixed a lot of nonsense due to 8 years of bad architecture.

I just tried to find the "right" place for this @leculver  :^)
I'll create a bug next time (if a non closed one does not exist) to make it easier for you to follow-up

@chrisnas No worries!  I just wanted to make 100% sure I didn't miss anything.  =)


scripts: pylib: twister: Fix the unrecognized section test

Current implementation of the unrecognized section test does not work at all. Here we move its handling into the runner.py's process() method so it's not scattered across three different files, which could be one of the reasons for its failure before.
Additionally, a blackbox test was added to prove correctness.
Fixes #70860

So, what can we do now? I foresee 3 options:

I think about one more option here to address this problem at the moment:

add another twister option like --fail-unrecognized-section-test (off by default) as well as the same option at testcase.yaml to  set a test suite instance as failed when an unknown section is detected, so --disable-unrecognized-section-test will continue just to log warnings when enabled keeping compatibility. The new option will allow to address each board/test suite individually by their maintainers.

Next step might be to keep the list of known sections itself somewhere at arch/board/test level properties instead of hardcoded in the SizeCalculator.

@golowanow I have prepared a quick prototype of your Solution No.4 here: https://github.com/LukaszMrugala/zephyr/commit/554fe7656478b492ab99032b20c1ffd53e892554 - take a look whether it matches your concept.

@golowanow I have prepared a quick prototype of your Solution No.4 here: LukaszMrugala@554fe76 - take a look whether it matches your concept.

@LukaszMrugala, could you make a draft PR for it to review ?

So, what can we do now? I foresee 3 options:

Nuclear option. We merge this fix and break everything. This will force people to update the section lists or disable the check. Frankly, this is unacceptable.
See no evil option. We change this check to be disabled by default. As this option was effectively disabled since the end of 2020, we do not need it. However, this will most probably calcify the check in its current, unusable state, as people will maybe try to use it once, see that every test breaks, and discard it immediately.
Hard option. We update the SizeCalculator section lists in a separate PR before merging this one. I do not know how many there will be. I do not know what would be the best course to find all of them - to do it exhaustively, we would need to run every test on every board in every configuration and write down every unrecognized section, which seems overwhelming. We could start with e.g. hello_world sample, build it on every board and write down resultant unrecognized sections. We would not know, however, how many section would still be broken then.

why not just update the whitelist with all those sections that were not tracked before because this was not working as expected?

why not just update the whitelist with all those sections that were not tracked before because this was not working as expected?

Do you have a complete list available?

Do you have a complete list available?

yes, will send it once fully verified. would be great to put this later in some file outside of the code so it can be easily managed. I need to remember the main purpose of this and what issues it was trying to catch and avoid though, it has been a while.

@nashif Have you been able to find and verify the aforementioned list?

To review, methods 1, 2, 3, 4 are put on hold until we get the whitelist from @nashif. I assume you'll be able to send that over sometime after the 3.7.0 release?

Since the updated recognised section list has been in the works for a long time, @golowanow came up with a good interim solution: The test failure has been converted to a warning. Then @nashif will be able to update the recognised section list when available and the working test will be able to be converted into failure again, if we deem it prudent.


Feature/max obtained trainig data

@arman-tdev/ @apurvabisht97 , separate out training data changes and create different PR. Support and logout changes need to be stabilised before we merge them and it will take time.


Added rest endpoint to fetch space permissions

example curl request-
curl -s --request GET -H 'Authorization: Bearer <ACCESS_TOKEN>' "http://confluence-instance:8090/rest/space_permissions/1.0/?spaceKey=OSP"


Missing call to $dispose on DomElementWrapper

Following commit 925c9078cfea9cdaccab764330e217f18696fad6, the call to $dispose on DomElementWrapper objects returned by $getElementById is no longer done automatically. This commit adds a missing call to $dispose on a DomElementWrapper instance in a Jaws test case.

@benouat Thank you for your review!


Hardening Updates with Content-Addressing and IPNS

Use of Electron Builder's Auto Update is tracked in  https://github.com/ipfs-shipyard/ipfs-desktop/issues/668.

This is a placeholder issue about hardening the Auto Update process by introducing an additional IPFS-based integrity check that does not depend on Electron Builder service based on GitHub Releases.

We will create a proper threat model when Security WG is formed later in 2019, for now let's assume scenario  where malicious update gets published via GitHub Releases.
Potential mitigation:

Detect update happened
Validate binary before first run:

Get the CID of the local file via ipfs add --only-hash <local go-ipfs binary>
Compare against <expected CID (source to be determined)>
(value should be independent of GitHub Releases)

Impacted users:

Mac and Windows users (Electron Builder's Auto Update)
Linux/*BSD users that do not use Snap package, but installed update from distribution-specific package created by third party developers.
Users that choose to manually update the go-ipfs binary or  using the ipfs-update tool

Open questions:

[ ] How to detect auto update happened?
[ ] Should we also detect go-ipfs binary changed? (check before every run)
[ ] How to handle js-ipfs? (no fat binary)
[ ] What will be the source of "valid" CIDs of go-ipfs binaries? IPNS?

Right now http://dist.ipfs.io  provides CID of .zip/.gz archive (example), which is not useful for this exact case, but we could create something similar for unpacked binaries and publish it on IPNS under known key (lack of DNSLink removes the risk of DNS MITM and replaces it with pure IPNS+IPFS integrity guarantees)

Electron Builder allows us to use a generic provider although it does not specify which methods it should provide and how it works. I'll dig a bit into it. It would be nice to be possible to move away from GitHub to our own platform to have less concerns (#1189).

According to those docs, we can specify several publishers in electron-builder.
It sounds like a nice migration path: when we are sure self-hosted is stable, we can make it the new default (by making it first on the list) while also publishing manifest to github, so older version can pick it up and migrate away.
@hacdias if you can, look into genric provider (a HTTPS server) – we should be able to set iot up under *.ipfs.io.  IIUC this is a matter of putting binaries and .yml manifests on a specific URL path.
Perhaps we could add autoupdate manifest to existing DNSLink website at dist.ipfs.io (ipfs/distributions)?  If not, something like autoupdates.ipfs.io should be created.

IPFS updates over IPFS! This issue shows how to pull the logic for fetching the update zip into our code, and then just pass the electron / squirrel update framework the zip and an artisinal, smol batch, locally made UPDATE manifest.
https://github.com/electron/electron/issues/5020#issuecomment-477636990
How to signal when a update is ready needs deciding on, but we could then attempt to fetch the zip via IPFS. If it fails for any reason, we could fall back to https, or just nudge the user that their IPFS is borkd, which seems kinda reasonable given desktops remit is to keep your IPFS node running.
I'd love to reduce our dependency on electron builder. It has caused us numerous issues over time.

Some relevant notes in https://github.com/ipfs/ipfs-desktop/issues/1263#issuecomment-1386168223


Grocery application design

A simple grocery app design best suited for first time contributors

Hey @tanmoy27112000 ,  I would like to work on this issue

Hello
We r working on this for our sem end project and have a few figma designs
Would you like to see them?

Yeah, sure

Main page:

These are nice designs

Looks great

@tanmoy27112000 sorry bro, i am unable to resolve this issue

Heyyy, I would like to work on this issue.

@tanmoy27112000 could u plz assign this issue to me

@hk2257853 can u plz share the link to the figma design u mentioned above

@hk2257853  please share the link

https://www.figma.com/file/noGgohbM7n8Ssey5NuiTcs/Untitled?node-id=0%3A1
here u go!

@tanmoy27112000 can u assign me this issue...

@sakshipore  make it mobile Ui


Allow multiple nonblocking assignments

Motivation
As far as I understood, ROHD is capable of handling multiple consecutive nonblocking assignments to one variable (tried to comment out this line and everything worked). I found mentions of this (https://github.com/intel/rohd/issues/114) and cannot agree with the phrase

It doesn't make sense for a signal to be driven by two drivers in a Sequential block.

Here is an example where I needed this feature:
Sequential(intf.clock, [
  If(~intf.block, then: [
    intf.branch < 0,
    trigger < 0,
    If(trigger, then: [
      IfBlock([
        Iff.s(
          action.eq(CFUInterface.actionAddressLowByte),
          intf.addressLowByte < intf.rfcuData,
        ),
        ElseIf.s(
          action.eq(CFUInterface.actionAddressHighByte),
          intf.addressHighByte < intf.rfcuData,
        ),
        ElseIf.s(
          action.eq(CFUInterface.actionValue),
          value < intf.rfcuData[0],
        ),
        Else.s(
            If(intf.rfcuData[0].eq(CFUInterface.operationSnapshot), then: [
          intf.addressLowByte < instructionAddress.slice(7, 0),
          intf.addressHighByte < instructionAddress.slice(15, 8),
        ], orElse: [
          If.s(value.eq(0), intf.branch < 1)
        ]))
      ]),
    ]),
    If(intf.enable, then: [
      action < intf.action,
      instructionAddress < intf.ifuInstructionAddress,
      trigger < 1,
    ]),
  ]),
]);

In this example, the module saves the control signals and processes them on the next cycle, when the data on the intf.rfcuData bus is ready. The intf.branch and trigger flags are set to zero by default, but this can be overridden depending on conditions. It seems to me that this way of using multiple consecutive non-blocking assignments simplifies the scheme.

Some links:

http://www.sunburst-design.com/papers/CummingsSNUG2000SJ_NBA.pdf (page 21)
https://stackoverflow.com/questions/15718192/verilog-sequence-of-non-blocking-assignments (examples of use are given and the peculiarity of using such a signal as a clock signal in modeling is indicated)

Desired solution
It is proposed to add functionality for configuring Simulator, for example:
enum SimulatorConfigRestrictionLevel {disallow, notify, allow}

class Simulator {
  // ...

  static void config({SimulatorConfigRestrictionLevel multipleNonblockingAssignments = SimulatorConfigRestrictionLevel.disallow}) {
    // ...
  }

  // ...
}

Prefer default restrictive behavior.
Alternatives considered
No response
Additional details
I can do the implementation if the idea is accepted.

Thanks for filing, you make some good points here, and thank you for the reference links.  I think I agree with the idea that ROHD should support multiple assignments in Sequential where the last one wins.
I'm not sure a global configuration knob is the right way to handle the behavior change.  I'm wondering if the right solution might be:

All Sequentials have a default behavior
Add an argument in each Sequentials constructor to toggle the behavior.

The value of the "default" for this setting seems like it could go either way.  It feels a little "safer" to default to the more restrictive behavior, but if it's unambiguous for simulation and synthesis anyway, why not default to the more flexible behavior?  Then if someone wants to restrict themselves, they can enable the additional restriction.  Sort of like unique in Case?


[Bug]: No video shown on RTSP tested with VLC

Description
just use any local file stream, open VLC netstream with same RTSP url,
tried default download or ffmpeg daily release, both simply vlc not showing anything
Issue Checklist

[X] I have searched open or closed issues for my problem and found nothing related or helpful.
[X] I have read the Documentation and found nothing related to my problem.
[X] I've read the Issue Guidelines and wholeheartedly agree.

Expected behaviour
VLC should open a RTSP stream normally
Actual behaviour
Black screen on VLC
Steps to reproduce

on win 10 system
change file name to r"path to file"
open VLC change netstream path

Terminal log output
No response
Python Code(Optional)
import cv2
from vidgear.gears import CamGear
from vidgear.gears import WriteGear

# open any valid video stream(for e.g `foo.mp4` file)
stream = CamGear(source=r"C:\Test_videos\BigBuckBunny.mp4").start()

# define required FFmpeg parameters for your writer
output_params = {"-f": "rtsp", "-rtsp_transport": "tcp"} $ also checked udp

# Define writer with defined parameters and RTSP address
# [WARNING] Change your RTSP address `rtsp://localhost:8554/mystream` with yours!
writer = WriteGear(
    output="rtsp://localhost:8554/mystream", logging=True, **output_params
    #, custom_ffmpeg= r'C:\Program Files\ffmpeg-2023-11-15-git-78f55457c9-full_build\bin\ffmpeg.exe'
)

# loop over
while True:

    # read frames from stream
    frame = stream.read()

    # check for frame if Nonetype
    if frame is None:
        break

    # {do something with the frame here}

    # write frame to writer
    writer.write(frame)

# safely close video stream
stream.stop()

# safely close writer
writer.close()

VidGear Version
0.3.2
Python version
3.10
OpenCV version
4.9.0
Operating System version
win 10
Any other Relevant Information?
No response

@humblemat810 Did you setup a RTSP server first at rtsp://localhost:8554/mystream address? Or even considered reading docs properly first: https://abhitronix.github.io/vidgear/v0.3.1-stable/help/writegear_ex/#using-writegears-compression-mode-for-rtsprtp-live-streaming, Read it properly first and then it will work.


[block] Article Header

displaying author and date, this block will be used widely as a synthetic block that is created from metadata.

#39


Fix for Issue #70

replaced csv_output_name with args.csv_output_name
Issue #70

Good find. Already an important lesson here: never add code without tests.


doc/dev/release.md: some cleanup and require samples repo update on a release

Description of the change:
doc/dev/release.md:

add samples repo update step after SDK release steps
remove references to dep manager scaffold test files
update what needs to change post-release

Motivation for the change: outdated release doc info, and we need a way to keep the samples repo in line with SDK releases.

/test marker


Java: Enhance README with better instructions for newcomers

Check README for all the steps, and see https://github.com/microsoft/semantic-kernel/pull/1850
### Tasks
- [ ] Enhanced Getting Started
- [ ] Detailed documentation of the samples

Im here

Im active


Player died UI

Description

Display "Game Over" with a button to continue to leader board.
Ref/Images:

This issue was closed because the project was archived


Quick win for the visualizer (Stefan Waegemans)

In daily practice, two elements of the part "Service request" are very important:

the Service request - Identifier:  this is the reference number to the report and often used in communication between physicians and the lab
the Service request - Authored on: this date is crucial to show reports in a chronological order

To highligth these two elements, it would be better to open the 'Service request' standard when showing the file.

WG: these elements can be added to the visualizer.


Feature/frontend/appm fetch data

Description

connect appointment CRUD dialogs with backend

Related Jira Issue (ID/URL)

RTTER-66
RTTER-67
RTTER-72
RTTER-73

Checklist

[x] Code compiles correctly
[x] Code is covered by current tests or new tests
[x] Code is formatted correctly
[x] Extended the README / documentation, if necessary

Comment/Discussion
.

Good improvement on UI and properly cover the requirements. but there are still 4 code smells, you can decrease some of them such as deleting duplicate import.

those two above code smells will be removed by following PR: fixing minor code smells. so now this PR is approved and merged.


Simplified closing tag

The lib can parse
<window title="Title">
	<controls>
		<button text="Text" />
	</>
</>

Is it possible to force the lib to save in this form?

Something like this:
PUGI_IMPL_FN void node_output_end(xml_buffered_writer& writer, xml_node_struct* node)
{
    const char_t* default_name = PUGIXML_TEXT(":anonymous");
    const char_t* name = node->name ? node->name + 0 : default_name;

    writer.write('<', '/');
#ifndef SIMPIFIED
    writer.write_string(name);
#endif
    writer.write('>');
}

The lib can parse

This is not a valid XML. pugixml correctly rejects it. As described in https://pugixml.org/docs/manual.html#loading.errors, you still get access to the part of the tree that was successfully parsed (which would be up until the first "closing" tag).
Since this is not a valid XML and it can't be parsed it would not make sense to add a feature to write it out.

Since this is not a valid XML and it can't be parsed it would not make sense to add a feature to write it out.

As far as I know, in XML tags are always paired (unlike in HTML), so the closing tag name is redundant.
RapidJson for example has parse flags for non-standard JSON formats:
enum ParseFlag {
    ...
    kParseCommentsFlag = 32,        //!< Allow one-line (//) and multi-line (/**/) comments.
    ...
    kParseTrailingCommasFlag = 128, //!< Allow trailing commas at the end of objects and arrays.
    ...
};

They are redundant in principle but omitting their name is not standard or commonly supported; in contrast, the RapidJSON flags you mentioned are part of json5.

Well we can call the modified xml "xml3000" xD


zlib.dll is missing in your Windows release

I downloaded this release, unzipped it, installed Java 8, launchClient works, but in the Python_Examples python tutorial_1.py failes with ImportError: DLL load failed: The specified module could not be found.
depends.exe shows your binary is dependent on zlib.dll:

But this is not found in the downloaded zip.  I noticed your build from source actually builds zlib from source, perhaps you should included the built binary in your release zip file?

I'm pretty sure I'm also observing this problem.

I love you

You are a god

Here's the DLL if anyone finds it useful.
zlib.zip

This worked for me as well.
Can confirm the pre-built binary for <IP_ADDRESS> does not work without zlib in the PYTHONPATH alongside the 'MalmoPython.pyd' file. This was used with the PIP python wheel for Windows <IP_ADDRESS> on Python 3.7.


show feedback from MultiNest

This PR enables the feedback from MultiNest to be shown in Lensed's output.
  _                             _  ___
 | |                           | |/   \
 | |     ___ _ __  ___  ___  __| |  A  \  Lensed 1.0.0
 | |    / _ \ '_ \/ __|/ _ \/ _` | < > |
 | |___|  __/ | | \__ \  __/ (_| |  V  /  http://glenco.github.io/lensed/
 |______\___|_| |_|___/\___|\__,_|\___/

find posterior

 *****************************************************
 MultiNest v3.8
 Copyright Farhan Feroz & Mike Hobson
 Release Oct 2014

 no. of live points =  300
 dimensionality =   10
 running in constant efficiency mode
 *****************************************************
 ln(ev)=  -1.0112938543613975E-007 +/-   1.6040398497257838E-009
 Total Likelihood Evaluations:          300
 Sampling finished. Exiting MultiNest

done in 00:00:01

It introduces a new option feedback that corresponds directly to MultiNest's feedback flag, enabling the printing of progress while the parameter space is searched.
...
find posterior

 *****************************************************
 MultiNest v3.8
 Copyright Farhan Feroz & Mike Hobson
 Release Oct 2014

 no. of live points =  300
 dimensionality =   10
 running in constant efficiency mode
 *****************************************************
 Starting MultiNest
 generating live points
 live points generated, starting sampling
Acceptance Rate:                        1.000000
Replacements:                                300
Total Samples:                               300
Nested Sampling ln(Z):            **************
Importance Nested Sampling ln(Z):      -0.000000 +/-       NaN
...

All in all, this makes the code a little bit cleaner (no dangling file pointer on exit), and it's nice to have some indication that the code has not crashed.

cc @fabiobg83

Assuming consent, I'm merging this.


Background Flash Cleanup or Background Erasing feature request

Hi,
I would like propose to implement "Background Erasing" feature.
Now, as I can see, some write operation can take a lot of time because write can include erase. For some applications it's realy critical and I would do erase when application be in a like idle state or preparing for data write state.
if this feature already implemented or exist some branch please letmi know.
Also I can help with implementation, but me need spend some time to learn littlefs internals
BR,
Denis

I think I just asked a similar question here:
https://github.com/littlefs-project/littlefs/issues/689


Convert comments on function examples to /** */ style

As phobos does it all comments should have the /** and */ syntax for comments.

There are also a couple of other Phobos style guidelines - like Allman braces Or spaces between import selections etc that we should look for and be consistent. Ideally we should run Dscanner on our code samples.

This issue was moved to dlang-tour/english#47


Make a responsive job postings listing page (e.g. with flex or grid)

Basic version of this page with CRUD is available in this branch, needs proper front-end design and small fixes

When using the mobile button in developper mode the css gets kinda wonky vs when you just drag and size down, figure out why

the nav bar is also not pretty in mobile mode


Update tests

[x] Require Nodejs 10
[x] Update dependencies
[x] Update the tests to use import instead of require

// @sindresorhus

I don't want to require Node.js 10 just for the sake of it. I'm also intentionally not updating AVA until I can use ESM natively.


feign client as field

closes #89

thats better, now you dont create the client every single time
i cant do the review it seems

i cant do the review it seems

how about now?


Feature request: type Error | LogAttributes is not excepted as extra input

Bug description

I would like to log a error inside a catch blog. In the newest version of Typescript a catched "Error" has the type unknown, because it could be anything. So I decided to use the following code:
    } catch (e) {
      logger.error('Error happened', e instanceof Error ? e : { error: e });
    }

but the type is not compatible.
Expected Behavior

The type should be accepted, because both variants are okay:
    } catch (e) {
      logger.error('Error happened', e as Error);
    }

    } catch (e) {
      logger.error('Error happened', { error: e });
    }

Current Behavior

The typescript compiler gives the following Message:
TS2345: Argument of type '[Error | { error: unknown; }]' is not assignable to parameter of type 'LogItemExtraInput'.
   Type '[Error | { error: unknown; }]' is not assignable to type '[string | Error]'.
     Type 'Error | { error: unknown; }' is not assignable to type 'string | Error'.
       Type '{ error: unknown; }' is not assignable to type 'string | Error'.
         Object literal may only specify known properties, and 'error' does not exist in type 'Error'.

Possible Solution

Changing the typedeclaration to the following worked:
declare type LogItemExtraInput = [Error | string | LogAttributes] | LogAttributes[];

Steps to Reproduce

import { Logger } from '@aws-lambda-powertools/logger';

export const logger = new Logger();
try {
  logger.info('Info');
} catch (e) {
  logger.error('Error happened', e instanceof Error ? e : { error: e });
}

Environment

Powertools version used: 1.2.1
Packaging format (Layers, npm): npm
AWS Lambda function runtime: nodejs16
Debugging logs:

Related issues, RFCs

another option would be this type: [Error | string | LogAttributes,...LogAttributes]
But trying around a bit I found the solution, that is even shorter and does exactly the same:
If e is an Error, the result is the same:
    } catch (e) {
      logger.error('Error happened', e as Error);
      logger.error('Error happened', { error: e });
    }

both will have an error property: "error":{"name":"...","stack":"...

Hi @ghdoergeloh, thank you for reporting this.
Please allow us some time to go through the repro example and return to you with a reply.

@ghdoergeloh
Could you tell us on why do you want to pass the { error: e } instead of e?  More specifically, why do you want to throw a "non-error" object in the code?
Logger assumes that e always be an Error object. In that case, Logger will put it in the error field automatically.
While we can throw anything, but that is not recommended.

yeah, that's right, but i cannot guarantee that a lib i am using is alsways throwing only errors and if it is something different (e.g. jest overwrites the default Error object, which causes "instanceof Error" to fail - see https://github.com/facebook/jest/issues/2549) then I won't get the complete information about the error in the log.

@ghdoergeloh
Would if work if you reconstruct the error object like this?
logger.error('Error happened', e instanceof Error ? e : new Error({...}) );

I understand that this will be more lengthy. But I'm reluctant to widen the interface because other tools throw non-error object. If we accept LogAttributes type, the e could be any key-value object. That fails the promise of strong typing.
Also, the type LogItemExtraInput is also reused by logger.debug(), logger.info(),  and logger.warn().  Other methods will accept extra key-value inputs. If we want to avoid this side effects, method error() must have a different set of parameters.

From another perspective, we can say that the extra value of logger.xxx() should be able to take any arbitrary key-value mapping as an extra input. If there is a significant numbers of +1, we can consider widen the type.

@saragerion  What's your thought on this?

As discussed above, using logger.error and passing the error directly (i.e. logger.error('This is the first error', error as Error); will already result in a log like this:

{
    "level": "ERROR",
    "message": "This is the first error",
    "service": "serverlessAirline",
    "timestamp": "2021-12-12T22:12:39.345Z",
    "xray_trace_id": "abcdef123456abcdef123456abcdef123456",
    "error": {
        "name": "Error",
        "location": "/path/to/my/source-code/my-service/handler.ts:18",
        "message": "Unexpected error #1",
        "stack": "Error: Unexpected error #1    at lambdaHandler (/path/to/my/source-code/my-service/handler.ts:18:11)    at Object.<anonymous> (/path/to/my/source-code/my-service/handler.ts:35:1)    at Module._compile (node:internal/modules/cjs/loader:1108:14)    at Module.m._compile (/path/to/my/source-code/node_modules/ts-node/src/index.ts:1371:23)    at Module._extensions..js (node:internal/modules/cjs/loader:1137:10)    at Object.require.extensions.<computed> [as .ts] (/path/to/my/source-code/node_modules/ts-node/src/index.ts:1374:12)    at Module.load (node:internal/modules/cjs/loader:973:32)    at Function.Module._load (node:internal/modules/cjs/loader:813:14)    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)    at main (/path/to/my/source-code/node_modules/ts-node/src/bin.ts:331:12)"
    }
}

Furthermore, it's also possible to customize the key used for the error by using logger.error('This is the second error', { myCustomErrorKey: error as Error } );.
In regards to custom errors, as long as these errors extend the Error object, Logger shouldn't complain:
import { Logger, injectLambdaContext } from "@aws-lambda-powertools/logger";
import middy from "@middy/core";

const logger = new Logger({ serviceName: "someName" });

class MyCustomError extends Error {
  public foo: string;

  constructor (message: string) {
    super(message)
    this.foo = "bar"
  }
}

export const handler = middy(async () => {
  try {
    throw new MyCustomError("error");
  } catch (err) {
    if (err instanceof MyCustomError) {
      logger.error("some error", err);
    }
  }
}).use(injectLambdaContext(logger));

At the moment we are not going to widen the type for errors as I'm inclined to consider this more akin to a feature request rather than a bug.
I'm going to close this issue, however I'm open to revisit the decision in case there's enough customer demand.

@dreamorosi to throw in my 2p the type definition does seem a little weird and should probably be more like
type LogItemExtraInput = [Error | string | LogAttributes][];

It seems a little confusing that elsewhere you can pass in as many additional objects as you like to help with debugging, including with .error(), but if one of those objects is an error or string it breaks the typings. If this is a feature request can it be reopened as such?

Hi @phawxby, thank you for the message and apologies for the delay.
If I understand your comment correctly the best place to continue the discussion would be under #1777. Please feel free to complement the issue with your point of view.


refactor(helm): refactor wait-minio

wait-minio inside of  initContainer moved to the helm helper templates
Description

How has this been tested?

Checklist

[ ] changelog was updated with notable changes
[ ] documentation was updated

/e2e

End to end tests: :hourglass_flowing_sand: STARTING


Custom Wordlist Generator using Python

Description
I will be creating a custom wordlist generator which creates a wordlist based on the inputs given by the user. This can be useful in brute force attacks.
Type of issue

[x] Feature (New Script)

Checklist:

[x] I have read the project guidelines.
[x] I have checked all the existing projects, before submitting a new project issue.
[x] I have checked previous issues to avoid duplicates.
[x] This issue will be meaningful for the project.

Hi, @madhavmehndiratta  thanks for creating this issue do you wish to be assigned to it?

Yeah sure!

Yeah sure!

Ok, I am assigning it to you @madhavmehndiratta , you can start working on it but don't submit the pr before Sunday as we might transfer this issue to a new repository.


how to insert data two tables using foreign key one jsp

iam using oracle
two tables are there team1 and team2 table is there
team1 table contains the teamid ,teamname here teamid is primary key
team2 table contains team2id and team2name ,teamid here teamid is foreign key
iam using jsp
iam inserting the data in jsp to two tables at a time
please tell me how to write a code in jsp

how to write a code in jsp

provide the  code you writting and i give the solution of that beause in jsp  many way to insert data  in  database.

Hai
Not required to use foreign key for inserting the data into two tables
Just you create two SQL queries for two tables I will send you code for
that with in one hour to  mail
On Fri, Jun 19, 2020, 10:56 AM mehul523<EMAIL_ADDRESS>wrote:

provide the code you writting and i give the solution of that beause in
jsp many way to insert data in database.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/1212050/Shopping-web-Jsp-Servlet/issues/5#issuecomment-646442332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJUWNPMCJ3BYZKCFNPYDU3TRXLZJPANCNFSM4IGAJWFA
.

hi
i    suggest the link of tutorials    it will be help to  learn the jsp and servlets.
servlets link :
https://www.javatpoint.com/servlet-tutorial
jsp link:
https://www.javatpoint.com/jsp-tutorial


WARNING: Unable to load session

Hi,
Using the 2.0.0 release and when I have more than 1 instance in the auto scaling group and sticky sessions disabled I see the following errors below catalina.log with various different session ids.  If I use the explore table option in aws console it takes a while for the session ids in the log file to be visible.
I'm just using the default read/write capacity and the cloudwatch metrics are barely above zero so they appear to be sufficient.
Also strangely the createdAt and updatedAt values are always 0.
Apr 12, 2015 5:12:53 AM com.amazonaws.tomcatsessionmanager.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionStore load
WARNING: Unable to load session with id 7E4251C5084B7DCFCA3CC56F1F368EFF
Any ideas?
Thanks
Ian

Hey Ian. Are you upgrading from a version prior to 2.0.0 or is this a fresh install of the session manager?

Hi, it is fresh install. Thanks

As for why the session ids take a while to be visible in the table, only idle sessions are persisted to DynamoDB. Active sessions are kept in memory. After 30 seconds a session becomes idle and is eligible to be backed up in DynamoDB. At that time it may exist it both memory and be backed up in Dynamo or may be swapped out completely and only exist in Dynamo. The properties maxIdleBackup, maxIdleSwap, and minIdleSwap influence this behavior (https://tomcat.apache.org/tomcat-4.0-doc/config/manager.html).
The createdAt and updatedAt attributes are no longer used in the 2.0 version and exist only to preserve backwards compatibility with 1.x versions. They will be removed in a later version so they no longer appear in the table.
The warnings you are seeing appear to be due to your non-sticky session configuration. Since sessions may exist but may not be in the backing Dynamo table (i.e. active sessions that exist only in memory), other servers will try to load the session but find it missing from both their in memory session storage and in Dynamo. Because of this non-sticky sessions are not supported with this session manager (nor the JDBC or File session manager bundled with Tomcat).
In summary the session manager for DynamoDB is primarily a backup store for idle sessions and persistent storage of sessions across restarts of Tomcat and is not a real time representation of your active sessions across your clustered environment. This is not made clear in the documentation, I'll make sure that this is stated explicitly in the ReadMe and in the getting started guide.

Certainly makes more sense now I had assumed that sticky sessions were not required.
I think it was this statement in the limitations section of the documentation that lead me to the assumption that they were not required.  If the sessions are only backed up after an idle time how do these limitations become apparent?:
Limitations (http://docs.aws.amazon.com/AWSSdkDocsJava/latest//DeveloperGuide/java-dg-tomcat-session-manager.html)
The session manager does not support session locking. Therefore, applications that use many concurrent AJAX calls to manipulate session data may not be appropriate for use with the session manager, due to race conditions on session data writes and saves back to the data store.

Sorry for the delay in response @iandshaw. The limitations documentation is definitely confusing and borderline incorrect. You are correct, the writes back to Dynamo would not cause the session manager to be inappropriate for concurrent session access. With sticky sessions all modifications to session data will be handled by the same server and thus only threads running in the same JVM will be concurrently modifying session data which can be resolved by synchronizing on the session object when writing to it.
I'll add this excerpt to the documentation cleanup task to make this less confusing.

thanks mate


Issue with HTTP v1

I use this libs to authenticate

    $scopes = ["https://www.googleapis.com/auth/firebase.messaging"];

    $auth = ApplicationDefaultCredentials::getCredentials($scopes);

    $response = $auth->fetchAuthToken();

get access_token successfully:
I send request via CURL(HTTP v1) with header:

    $headers = [
        'Authorization' =>   $response['token_type']. ' ' . $response['access_token']
    ];

But still got 401: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.
Help me !!!
*** it' work with code ***

   $scopes = ['https://www.googleapis.com/auth/firebase.messaging'];
    // create middleware
    $middleware = ApplicationDefaultCredentials::getMiddleware($scopes);
    $stack = HandlerStack::create();
    $stack->push($middleware);
    // create the HTTP client
    $client = new Client([
        'handler' => $stack,
        'base_uri' => 'https://www.googleapis.com',
        'auth' => 'google_auth'  // authorize all requests
    ]);
  ...
  $client->postAsync(
        "https://fcm.googleapis.com/v1/projects/{$this->projectId}/messages:send",
        ['body' => json_encode($json)]
    )->wait();

but it take time (send 2 request / push a message).
Thank you!

Sounds like you are looking for https://github.com/googleapis/google-auth-library-php


Fix showing subcommands of subcommands in help

Context
Had accidentally clipped first items in list for help of subcommands.
It was quick to fix and annoying me.
It's a bit of a hack doing the string compare but it's the first thing I could think of and this isn't user value so didn't want to spend more time on this. Suggestions welcome :pray:
Changes proposed in this pull request
E.g. bin/mcb az -h only showed help for subcommands rather than the
direct descendants
before:
bin/mcb -h
...
SUBCOMMANDS
    apps pg_dump                      backup the psql server for an app
    apps config                       read webapp config from azure,...

after:
bin/mcb -h
...
INDEX
    bin/mcb                         wrapper for management of manage-curses-backend app
    ---
    bin/mcb apiv1                   Commands that target the V1 providers endpoint
    bin/mcb apiv1 courses           Operate on courses via the V1 API
    bin/mcb apiv1 courses find      Find a particular provider course entry

and for a subcommand:
bin/mcb az apiv1 -h
...
INDEX
    apiv1                           Commands that target the V1 providers endpoint
    ---
    apiv1 courses                   Operate on courses via the V1 API
    apiv1 courses find              Find a particular provider course entry

Guidance to review
:ship:
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 add pg_dump / load to mcb

Rewritten, thanks for the suggestions @misaka hopefully they are there in spirit at least.
Thanks @NyWeb for the pairing

rebased


Clear table rows upon an empty array or method to tell table to clear.

I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[X] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When setting rows to an empty array the table does not update as if empty.
Expected behavior
Setting rows to an empty array makes the datatable show no data.
Reproduction of the problem
Make a table, set rows to an array of data, then set rows to an empty array.
What is the motivation / use case for changing the behavior?
Having a table that holds data that is specific to an id and when the id is changed the data needs to empty and wait for the server response.
Please tell us about your environment:

Table version: Latest

Angular version: Latest

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
All

Language: [all | TypeScript X.X | ES6/7 | ES5]

Hi, do you still have problem with this?
Without knowing how you reset the array. Below workes for me:
array = [...[]];

I am experienced the same issue here. I have a drop-down filter to allow user choose which data set to query.
When the table is load with the first set of data, and then the user choose another set of data from the drop-down list, I am not able to empty the table and then load in the 2nd set of data.
Instead the second set of data will be appended to the table, and the table now holds both the first set and the second set of the data.
here is my code:
this.rows = [...[]]; // attempt to empty current rows
this.rows = data; // assign new set data to the rows
this.rows = [...this.rows]; // change detection


There is no admin folder

I need some help. After installation there is no admin folder.
What is wrong ???

http://ph7cms.com/doc/en/how-to-go-to-admin-panel
P.S. On the last page if  the installer, the admin link is showing.

There is no link to admin after installer and there is no admin folde on my server. Strange.

Is in on your local machine or do you have the URL where pH7CMS is installed?

@Seojobb FYI, when you finished the installation you see the following (screenshot)

and then the admin panel (http://ph7cms.com/doc/en/how-to-go-to-admin-panel)


Attribute UI: Handle MAP type

Currently we do not have an icon for MAP,
Also we don't properly expand MAP:

(sample file BWActivityMarch2024.json not shared here)

Unnesting has issue determining the type:

SQLHelper.js:1113 Uncaught (in promise) Error: Type "MAP(VARCHAR, VARCHAR)[]" is not a STRUCT: expected keyword STRUCT at position 0
    at getStructTypeDescriptor (SQLHelper.js:1113:11)
    at getMemberExpressionType (SQLHelper.js:1193:26)
    at QueryAxisItem.getQueryAxisItemDataType (QueryModel.js:220:18)
    at QueryAxisItem.createFormatter (QueryModel.js:4:34)
    at #axisButtonClicked (AttributeUi.js:507:35)
    at AttributeUi.<anonymous> (AttributeUi.js:459:32)

We should treat MAP as a special type, and give it special derivations (like we do for array).
This looks like the thing we should be able to do:
with cte1 as (
  SELECT unnest("__huey_data_foundation"."records")  AS "records"
  ,      generate_subscripts("__huey_data_foundation"."records", 1)  AS "id"
  FROM read_json_auto( 'C:\roland\projects\QuaQuery\files\BWActivityMarch2024.json' ) AS "__huey_data_foundation"
),
cte2 as (
  SELECT id
  ,      unnest(map_keys(records)) as key
  ,      unnest(map_values(records)) as value
  FROM cte1
)
select *
from cte2

(first cte unwraps the array MAP(VARCHAR, VARCHAR)[], second cte unwraps the keys and values)
So the derivations

unnest(map_keys(records))
unnest(map_values(records))
should be treated as same unnesting stage, just like unnest and generate subscripts are.

In fact, it makes sense to give MAP type 3 such derivations: one for the keys, second for the values, third for the subscripts of the elements in the keys/values lists.

These look useful
map_entries(map)
cardinality(map)


cl.update.sh uses clUpdateVersion="v23.02.2" instead of  clUpdateVersion=""

Bug description
The variable clUpdateVersion is incorrectly set to the previous version of core-lightning.
To Reproduce

Build a fresh cl node based on Raspiblitz v1.10.0
Look at line 23 and see
clUpdateVersion="v23.02.2" # example: v23.02.2 # keep empty if no newer version as sd card build is available
Also look at the raspiblitz menu -> Update -> CL and see it showing up incorrectly

Will likely need to remove the old version here and test the recovery:
https://github.com/raspiblitz/raspiblitz/blob/60b5c47240459bceca20ea34f8d921d5ba9d0677/home.admin/config.scripts/cl.update.sh#L23

Perhaps I don't understand the intent of the interim update feature. I would have expected an interim update to only be good only until the next raspiblitz release, maybe still good after that but only if the interim update version is still higher then the raspiblitz released version, but this is not how it is coded in provision.sh. Same goes for 'reckless', I would not expect reckless to carry forward yet it does. Is this how it's meant to be?

you are right, these should be fixed


Add USB-serial capabilities

STM32 dongles have 3 built-in serial IF, we could use them in addition to JTAG (bluepill targets mainly).
Inspiration : https://github.com/satoshinm/pill_serial

We can't both use the three USART and keep the current Bluepill pinout.
Should we use only two out of the three USART or break the existing pinout instead?

@jeanthom sure break the pinout

I'm not sure about breaking compatibility, maybe having a BluePill ALT (breaking compatibility with the current BluePill pinout) could be a solution. Adding a new platform/pinout is fairly easy.

Maybe reuse the usb-cdc code from BMP:
https://github.com/blacksphere/blackmagic/blob/master/src/platforms/common/cdcacm.c

Actually the code of pill_serial is from BMP:
https://github.com/satoshinm/pill_serial/blob/master/src/cdcacm.c

But since we are using unicoremx, the includes might be different...

I think I might start by porting the pill_serial code to ucmx than integrate it to DirtyJTAG. This way I'll better understand the code, and avoid writing unnecessary code.

One serial port would be enough, on the blue pill board.