Move golden output files to test_mode specific directories

istio-iptables golang implementation will cause changes to the output format.
Moving these expected test output under testmode specific directories;
to keep test compatible with the current istio-iptables script.

Hi @abhide. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@rlenglet @mandarjog @duderino @howardjohn
Can one of you take a look? Thanks!

/ok-to-test

Can someone from @istio/wg-test-and-release-maintainers take a look? This is mostly a mechanical change, which is required to match the optimizations @abhide is doing in the Golang implementation.

@abhide: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abhide: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test gencheck_istio

lint_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@abhide: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test lint_istio

gencheck_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abhide: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test gencheck_istio

lint_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abhide: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
cdcebf364d7303dce59712dbafd00e6599eb5b4f
link
/test lint_istio

e2e-simpleTests_istio
4d897cca2966dcdddb5775b673b2bbdf3838a7d2
link
/test e2e-simpleTests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-simpleTests_istio

@abhide: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

e2e-simpleTests_istio
4d897cca2966dcdddb5775b673b2bbdf3838a7d2
link
/test e2e-simpleTests_istio

unit-tests_istio
4d897cca2966dcdddb5775b673b2bbdf3838a7d2
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abhide: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

e2e-simpleTests_istio
4d897cca2966dcdddb5775b673b2bbdf3838a7d2
link
/test e2e-simpleTests_istio

unit-tests_istio
4d897cca2966dcdddb5775b673b2bbdf3838a7d2
link
/test unit-tests_istio

integ-istioio-k8s-tests_istio
4d897cca2966dcdddb5775b673b2bbdf3838a7d2
link
/test integ-istioio-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio


Move to ES6

Add node4 to Logux ESLint config with no-unsupported-features and no-deprecated-api and force to use ES6 features.
Update JS code.

#19 My solution. I not remove repo with config. When you make the choice, I will change this dependency.

This PR has some differences with merged config, but I really love your solution with template literals! Unfortunately, I've missed that.  I guess it would be better you to update your PR instead of creating another one with my changes.
@ai, what do you think?

@ai maybe should you close this issue?

Sure, forgot about it


chore(package): update knex to version 0.14.4

Closes #31

Coverage remained the same at 96.752% when pulling d85a8797cdc22bb5efe7f294af8a7a9d254ec3d3 on greenkeeper/knex-0.14.4 into 550ae0f51766284cd715f2257c68b70621dc5db6 on master.


Understand xxx.osrm.properties file structure and contents

It contains Lua profile properties that affect run time queries. See introduction in https://github.com/Project-OSRM/osrm-backend/wiki/Toolchain-file-overview.
This task is one of the breakdown of https://github.com/Telenav/osrm-backend/issues/115

Doc: https://github.com/Telenav/open-source-spec/blob/master/osrm/doc/osrm-toolchain-files/map.osrm.properties.md
Will file a PR for loading the file by Go once https://github.com/Telenav/osrm-backend/pull/174 merged.


⚠ ClamAV has degraded performance

In 6c60509, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 456 ms

Resolved: ClamAV performance has improved in c284ed9.


Architecture as Code - On-site Accelerator

Date
Monday 30th October - 09:00 - 12:30 UK
Registration & Location
Please register your interest in the comments to this issue if you would like to attend. This meeting will be in-person in London, no remote facilities will be provided.
Agenda
TBC
Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

Link to the whiteboard I shared at 10.30am:
https://www.tldraw.com/r/R5W4522-umF6yre2S-cdn?viewport=-8%2C116%2C1212%2C676&page=page%3Apage

Minutes
On Monday 30th October we held our first in-person accelerator session, hosted at Morgan Stanley's Cabot Square office, with representatives from LSEG, Barclays and Deutsche as well as Morgan Stanley itself.

The first part of the accelerator was used to ensure everyone present was up to speed with the progress to date, both in terms of how the logical model is proposed and how that informs the creation of the manifest.

The second part was used to brainstorm how the team see the model evolving, especially in regards to the additional domains that could be required to support the multitude of use cases we could see this model supporting and how they could manifest in terms of capabilities (functional implementations driving real world use under-pinned by the model).

Domains & Capabilities
Deployment

Data

Operational Resilience

Security

Thanks for the updates @mgasca - closing as approved.


Impl Bandersnatch curve

Bandersnatch Curve
Description

Bandersnatch, a curve over BLS12-381 scalar field, with glv has efficient scalar multiplication over jubjub curve
This PR implements Twisted Edward form of Bandersnatch curve
This PR doesn't implement GLV, only the curve.
You can find the reference here: https://eprint.iacr.org/2021/1152.pdf

Type of change

[x] New feature

Checklist

[ ] Linked to Github Issue
[x] Unit tests added
[x] This change requires new documentation.
[ ] Documentation has been added/updated.
[ ] This change is an Optimization
[ ] Benchmarks added/run

Copy-pasting the comment in case we or somebody continues working on this:
Some conclustion:
As a next step I thought creating a test for adding a point of infinity to some point, can be a generator. That should result in the same point. So like 56 + 0 = 56 if we think in integers.
But there is a problem with lambdaworks affine and/or projective traits. Neither one of those have an example of the representations of the point of infinity. I tried creating one but then got the assert error on this line:
https://github.com/lambdaclass/lambdaworks/blob/main/math/src/elliptic_curve/point.rs#L44
Another task that we have is having a GLV endomorphism implemented which is a big task, but when trying to decompose it into smaller tasks, we realized that as first step we can implement scalar decomposition which uses "Babai's nearest plane algorithm" implemented here:
https://github.com/zhenfeizhang/bandersnatch/blob/main/bandersnatch/src/curves/glv.rs#L97
This looks trivial, but uses bigint and lambdaworks doesn't have bigint (where arkworks has it's own bigint implementation, although i know there exist rust bigint libraries, arkworks uses their own).

@MauroToscano Thanks for merging! We could add a "collaborator-friendly" follow-up issue on the repo regarding the GLV endomorphism (I've put some notes on the comment above) because AFAIU that's the main purpose of this curve and what makes it different from jubjub ( https://github.com/zkcrypto/jubjub ) https://github.com/zhenfeizhang/bandersnatch#examples


If user clicks Submit button twice fast enough on Create request it will make two identical requests

If user clicks Submit button twice fast enough on Create request it will make two identical requests.
The suggestion on the call was to disable the button after first click.

Now after first click we have indicator that it is Loading and the button is non-clickable:


Has anyone succesfully deployed tableau into Kubernetes 1.25, where containerd is the container runtime?

What kind of problems do you have? We are trying to run the latest version 2023.1.2 on k8s (1.23), but the server doesn't initialize. On the same machine, running the same container directly on docker (bypassing k8s), everything works without a problem.

we are having exact same issue, 3 services are down, cannot be initialized. After rolling backto 2022.3.6 (previous major version), it started fine. So it's not a problem with K8S version or containerd, it's something with the last major version.

logs below:
Initialization Error This job failed due to unexpected error: 'ServiceOperationTimeoutException' One or more services failed to reach their expected state. node1: floweditor_0.20231.23.0511.1508: Failed to start. Current status: DOWN flowprocessor_0.20231.23.0511.1508: Failed to start. Current status: STATUS_UNAVAILABLE webhooks_0.20231.23.0511.1508: Failed to start. Current status: DOWN Initialization terminated at step 35 of 42: Finalizing the topology failed.
we're probably experiencing the same problem. I've tried to compare the container definitions on both startup methods, but I don't see any significant differences. :(

logs below: Initialization Error This job failed due to unexpected error: 'ServiceOperationTimeoutException' One or more services failed to reach their expected state. node1: floweditor_0.20231.23.0511.1508: Failed to start. Current status: DOWN flowprocessor_0.20231.23.0511.1508: Failed to start. Current status: STATUS_UNAVAILABLE webhooks_0.20231.23.0511.1508: Failed to start. Current status: DOWN Initialization terminated at step 35 of 42: Finalizing the topology failed.
we're probably experiencing the same problem. I've tried to compare the container definitions on both startup methods, but I don't see any significant differences. :(

yep, exact same problem. i have done some comparision too, couldn't figure out any difference between container in docker and container in K8S.
After changing the version to 2022.3, the container started fine and initilization finished with no issue.
So my assumption is something has changed in 2023.1, the latest major version that Tableau announced it supports  Ubuntu 20.04.

@sandywangkpmg did you manage to solve the issue?

@sandywangkpmg it seems that version 2023.1.3 works on k8s


Installation error

@doutriaux1 I am testing with branch of this code (branch: test_MC3) but its installation using python setup.py install complains for __init.py__ (see bottom of below). In this env I am using python 2.7.15, because the code has not been fully converted for py3 yet. Any idea why I am getting this error?
(pmp_nightly_20180830) -bash-4.1$ git checkout test_MC3
Branch test_MC3 set up to track remote branch test_MC3 from origin.
Switched to a new branch 'test_MC3'

(pmp_nightly_20180830) -bash-4.1$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/EnsoMetrics
copying lib/EnsoToolsLib.py -> build/lib/EnsoMetrics
copying lib/version.py -> build/lib/EnsoMetrics
copying lib/KeyArgLib.py -> build/lib/EnsoMetrics
copying lib/EnsoMetricsLib.py -> build/lib/EnsoMetrics
copying lib/EnsoComputeMetricsLib.py -> build/lib/EnsoMetrics
copying lib/__init__.py -> build/lib/EnsoMetrics
copying lib/EnsoUvcdatToolsLib.py -> build/lib/EnsoMetrics
copying lib/EnsoErrorsWarnings.py -> build/lib/EnsoMetrics
copying lib/EnsoCollectionsLib.py -> build/lib/EnsoMetrics
running build_scripts
creating build/scripts-2.7
copying scripts/my_Param.py -> build/scripts-2.7
copying scripts/my_Param_test.py -> build/scripts-2.7
copying scripts/EnsoMetricsGraph.py -> build/scripts-2.7
copying and adjusting scripts/PMPdriver_EnsoMetrics.py -> build/scripts-2.7
copying scripts/driverCCollection.py -> build/scripts-2.7
copying scripts/pmpParser.py -> build/scripts-2.7
copying scripts/driveGraphs.py -> build/scripts-2.7
copying scripts/driverCCollection_testMC3.py -> build/scripts-2.7
warning: build_scripts: scripts/__init__.py is an empty file (skipping)

copying scripts/driveMetrics.py -> build/scripts-2.7
copying scripts/driver_CCollection_testcmip6.py -> build/scripts-2.7
copying scripts/driverCCollectionPcmdiTest.py -> build/scripts-2.7
changing mode of build/scripts-2.7/my_Param.py from 750 to 755
changing mode of build/scripts-2.7/my_Param_test.py from 750 to 755
changing mode of build/scripts-2.7/EnsoMetricsGraph.py from 750 to 755
changing mode of build/scripts-2.7/PMPdriver_EnsoMetrics.py from 640 to 755
changing mode of build/scripts-2.7/driverCCollection.py from 750 to 755
changing mode of build/scripts-2.7/pmpParser.py from 750 to 755
changing mode of build/scripts-2.7/driveGraphs.py from 750 to 755
changing mode of build/scripts-2.7/driverCCollection_testMC3.py from 750 to 755
error: [Errno 2] No such file or directory: 'build/scripts-2.7/__init__.py'

@doutriaux1 thanks, not sure how I got that file there, but deleted now, and it works well.
https://github.com/eguil/ENSO_metrics/commit/48cb66ef45804c112f9c332124ae56fdfa51f4ec


cross cluster search integration

Implementation of the cross-cluster-search (CCS) methods for MultiES. This feature will enable Moloch to use the CCS feature of Elasticseearch in the MultiViewer mode. Users will also be able to perform cluster specific searches from the Multiviewer.
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

This PR becomes obsolete. This feature will be integrated with the PR https://github.com/aol/moloch/pull/1325 or a separate PR will be created one the PR https://github.com/aol/moloch/pull/1325 is reviewed and approved


RcloneBrowser no longer seems compatible with Rclone 1.64.2

Not sure if this is an "Rclone" or an "Rclone Browser" issue.
Since updating Rclone to 1.64.2 my remotes are no longer visible in Rclone Browser.
I've confirmed this by rolling back to 1.64 and 1.64.1, and they both seem to work.

Working Fine here, I have rclone 1.64.2 installed and rclone browser 1.8.0 installed, mounting-browsing everything working fine here

Works fine here with 1.65.0 if it helps...

That's odd. I just "upgraded" from 1.61.1 to 1.66.0 without any fuss. I reopened RcloneBrowser, cancelled prompt for password to unlock configuration and updated rclone.exe location.


Error:Execution failed for task ':buildNativeBazel'.

This problem occured with the android example in android studio.
->A problem occurred starting process 'command '/usr/local/bin/bazel''

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


Painfully slow loading speed

Hello,
I was joining sandspiel after a little while and I noticed that the browse and post loading speed was very painfully slow- I checked I browse and it appears it isn’t just me. Could someone possibly figure out why it is so slow?
Thank you.

yes I will investigate!


[BUG]: Malicious entry in .flowconfig

New issue checklist

[ ] I searched for existing GitHub issues
[ ] I read pipeline troubleshooting guide
[ ] I checked how to collect logs

Task name
AzureRmWebAppDeployment@4
Task version
No response
Issue Description
Azure App Service Deploy Service
Starting: Azure App Service Deploy Service
Task         : Azure App Service deploy
Description  : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
Version      : 4.243.3
Author       : Microsoft Corporation
Help         : https://aka.ms/azureappservicetroubleshooting
Got service connection details for Azure App Service:'mrt3EnvCrowdPortal'
D:\a_tasks\AzureRmWebAppDeployment_****\4.243.3\node_modules\azure-pipelines-tasks-webdeployment-common\7zip\7zip\7z.exe x -oD:\a_temp\temp_web_package_8574758913011411 D:\a\1\s\DCWebsite.zip
7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
Scanning the drive for archives:
1 file, 57484321 bytes (55 MiB)
Extracting archive: D:\a\1\s\DCWebsite.zip
Path = D:\a\1\s\DCWebsite.zip
Type = zip
Physical Size = 57484321
Everything is Ok
Files: 1628
Size:       164774060
Compressed: 57484321
##[error]Error: Malicious entry: Content\D_C\a\1\s\web\dcWebsite\obj\Release\Package\PackageTmp.flowconfig
Successfully updated deployment History at https://.scm.azurewebsites.net/api/deployments/
App Service Application URL: https://****.azurewebsites.net/
Finishing: Azure App Service Deploy Service
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu latest
Relevant log output
Azure App Service Deploy Service

Starting: Azure App Service Deploy Service
==============================================================================
Task         : Azure App Service deploy
Description  : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
Version      : 4.243.3
Author       : Microsoft Corporation
Help         : https://aka.ms/azureappservicetroubleshooting
==============================================================================
Got service connection details for Azure App Service:'mrt3EnvCrowdPortal'
D:\a\_tasks\AzureRmWebAppDeployment_****\4.243.3\node_modules\azure-pipelines-tasks-webdeployment-common\7zip\7zip\7z.exe x -oD:\a\_temp\temp_web_package_8574758913011411 D:\a\1\s\DCWebsite.zip

7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20

Scanning the drive for archives:
1 file, 57484321 bytes (55 MiB)

Extracting archive: D:\a\1\s\DCWebsite.zip
--
Path = D:\a\1\s\DCWebsite.zip
Type = zip
Physical Size = 57484321

Everything is Ok

Files: 1628
Size:       164774060
Compressed: 57484321

##[error]Error: Malicious entry: Content\D_C\a\1\s\web\dcWebsite\obj\Release\Package\PackageTmp\.flowconfig
Successfully updated deployment History at https://****.scm.azurewebsites.net/api/deployments/****
App Service Application URL: https://****.azurewebsites.net/
Finishing: Azure App Service Deploy Service

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION]

Repro steps
No response

I'm experiencing the same thing.

It looks like this may have also been resolved in PR #20218 (See issue & discussion on https://github.com/microsoft/azure-pipelines-tasks/issues/20236).
Can anyone on the release side help us better understand timing for when this might be deployed?


[Bug] Empty/Dead Areas

Pre-Issue Checklist

[X] I have checked that I am on the latest version of Terra.
[X] I have searched the github issue tracker for similar issues, including closed ones.
[X] I have made sure that this is not a bug with another mod or plugin, and it is Terra that is causing the issue.
[X] I have checked that this is an issue with Terra and not an issue with the pack I am using.

[ ] I have attached a copy of the latest.log file - I have not been able to reproduce this, and did not keep the original log file.
[X] I have filled out and provided all the appropriate information.

Environment

Name
Value

Terra Version
Terra-bukkit-5.4.1-BETA+efd1665c-shaded

Platform / Platform Version
Paper 1.17.1 @ #381 (2021-11-13)

Any External Plugins or Mods
ActionHealth, Brewery, DropHeads, Graves, GSit, ImageMaps, LPC, LuckPerms, PlaceholderAPI, ProtocolLib, SetHomes, Terra, TwoPlayerHorseRiding, voicechat

Terra Packs In Use
DEFAULT v2.0.0

Terra Addons In Use
Terra-Bukkit v1.0.0

Issue Description
Sometimes when generating terrain, a region of chunks will not be populated with ores, plants or trees.
Steps to reproduce

I've been unable to reproduce this in even quite similar conditions.

Playing on server with around 10 people on, all exploring.
Server is on around 11tps.
People discover chunks which don't have anything spawned

Expected behavior
Chunks should generate populated by ores, plants, and trees.
Actual behavior
Chunks instead generate completely empty, only the ground generates, with all of its patterns, but without grass, without anything.

See red area, "dead chunks".

Image of what this looks like, terrain features like sand slabs still generate.
Additional details
Seed:<PHONE_NUMBER>345550468
Location: -2150 -710

don't use /reload


Icon in sidebar seems to be re-added every time, thus losing positioning in ribbon

Basically the title, the new icon (which I am a huge fan of btw!) keeps appearing at the bottom of the ribbon every time I open Obsidian on Windows.
For now I am using the Commander plugin with the corresponding command that's available and another icon, would love to have this supported directly by your awesome plugin!

Fix released in version 1.2.1


updated CONTRIBUTING.md

Signed-off-by: Rupeshiya<EMAIL_ADDRESS>What this PR does / why we need it:
This PR updated CONTRIBUTING.md
It adds a missing space between Open Source in CONTRIBUTING.md file.
Earlier there was no space and it was written like this OpenSource.
Now in this PR, it looks like this Open Source.
Which issue this PR fixes
This PR fixes #1496

@sachinmukherjee  I am modifying it  in my forked repositery and after than creating PR directly to openEBS.
What's worng in this?

@Rupeshiya I was facing the same issue when i was editing using Github. After that I have started editing using git and the submit a PR. Try to use git.

@sachinmukherjee  How to edit file and sending PR using git?

@NisantaSahoo @utkarshmani1997  According to my PR #1511, I am already fixing this and it's aimed at fixing and improving the documentation as a whole. I would request to hold off or close this PR, as it would create a bunch of merge conflicts in the work I am currently doing. With no real gains.

I agree with @vipulgupta2048.
@Rupeshiya @sachinmukherjee - can you review the PR #1511 to see that your changes are incorporated.


Minor cleanup

Minor cleanup on the variation annotation branch to implement some unresolved comments on the original PR thread.
Depends on #839

@david4096, can you review this PR please?

The code cleanup is +1. The other issue in the comment I can't speak to yet, but it looks like the coordinates of the variant are used for search. This probably means the annotations will need to contain some more fields to make them searchable without having the variant they are annotating.

OK @david4096, if you're happy please merge (not merging our own PRs is an important sanity check).


Dark mode: Form helper

Description
Form helpers in dark mode, by using new Sass vars :

Sass var
Previous value
New value

$form-helper-color
-
var(--#{$prefix}info)

$form-helper-icon
-
escape-svg($helper-icon)

Links

https://deploy-preview-2291--boosted.netlify.app/docs/5.3/forms/overview/
https://deploy-preview-2291--boosted.netlify.app/docs/5.3/dark-mode/#ghelper

Don't we need to force the color for the question mark? Seems weird to me to have it transparent.


List042 editor

This was essentially finished in https://github.com/CUCB/website/commit/e2584888512cf565b94e6d4b1fb16ed9d55374be


Update README.md

Changed the URL
Related Issues

#154

Proposed Changes

Changed URL
Change 2

Additional Information

Any additional information or context

Checklist

[ ] Tests
[ ] Translations
[x] Documentations

Screenshots

Original
Updated

** Original Screenshot **
** Updated Screenshot **

Thanks @AnirudhPanda


Does async-profiler can be used for node.js pr python process

Team,
can we use async-profiler to trigger cpu profile from the host(fdtransfer) against node.js or python process.

No. asnyc-profiler uses JVM-specific APIs to extract the Java stack traces. You need another solution to extract Python or Node.JS stacks from those runtimes.
For Python you can try py-spy. For Node.JS you can check this guide.


Ordering

"It [sequence number] also represents the true order of arrival". This is not true! According to my tests, there is a config (which is not visible from azure portal but only from service bus explorer) named "Enforce Messaging Ordering" which needs to be set as true.

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

ID: 034f7b39-4f6b-87c4-5dfa-a09ea0235b6e
Version Independent ID: 6987bbec-c4e9-573f-89c5-aa316af045f9
Content: Azure Service Bus message sequencing and timestamps
Content Source: articles/service-bus-messaging/message-sequencing.md
Service: service-bus-messaging
GitHub Login: @clemensv
Microsoft Alias: sethm

@anderson-joyle Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@axisc - Please review and confirm when you get a chance. Thanks.

Thank you for taking the time to share your product and documentation feedback with us. Your input is valued because it helps us create the right documentation for our customers. Due to the volume of issues in our queue, we are closing open issues older than 90 days. We hope to continue hearing from you. Thank you.


WIP Improved validators

This is a significant improvement in params/validators API:

[x] move validation DSL from params to validators
[x] add support for validations that require database (like uniqueness)
[ ] come up with a common interface for adapters to check uniqueness of a given attribute

refs rom-rb/rom#101 rom-rb/rom#102

What would become the form object in this case?
Does it require an extra object that's a simple wrapper around the params and validator?
I checked this out locally and it fails because the params object no longer has model_name (and errors probably)

You probably already have something planned to handle to forms,
but maybe it's interesting to see how I ended up implementing this :)
So here it goes:
class RailsForm < Delegator
  extend ActiveModel::Naming
  include ActiveModel::Conversion

  attr_reader :errors

  def initialize(input, errors = nil)
    @input  = input
    @errors = errors || ActiveModel::Errors.new(input)
  end

  def __getobj__
    # Delegate to the ROM::Model::Params object
    @input
  end

  # Instantiate from a validation error
  #
  # @param [ROM::Model::ValidationError] error
  #
  # @return [RailsForm]
  def self.from_validation_error(error)
    self.new(error.params, error.messages)
  end
end

Still have to implement #model_name ...
class Video
  class Form < RailsForm
    def model_name
      @model_name ||= ActiveModel::Name.new(Video)
    end
  end
end

And in the controller:
class VideosController
  def new
    input = Video::Params.new
    render :new, locals: { video: Video::Form.new(input) }
  end

  def create
    attributes = params.require(:video).permit(:url)
    result = rom.command(:videos).try { create(attributes) }

    if result.error
      form = Video::Form.from_validation_error(result.error)
      render :new, locals: { video: form }
    else
      redirect_to :videos
    end
  end
end

Ah, thanks! It's really helpful to see how you tackled this.
Re "form objects" - my intention is not to provide any kind of form-object abstraction but to make param processing and validation error handling simple. You should be able to have a form object built on top of that (not even sure if you need it though) as a side-effect.
And yes, to make this work with form_for etc. we need a single object that gives both params and error messages. Currently in the branch we have ValidatorError which encapsulate both params and errors objects, so it's a matter of delegating attribute readers to the underlaying params.

Just to clarify: By form object I meant the object to be used with form_for. In the current release the param object could be used, but now it no longer responds to model_name and errors.
I created RailsForm to conform to this, but it would indeed be nice if that wasn't necessary.

Hah of course I forgot about the form rendering without errors...thanks, right, so...params and error objects must share common behavior required by AM to render stuff. I'll figure something out :)

@mcls ok here's what I've come up with...thoughts?

Rails forms are mind bending, aren't they? :stuck_out_tongue:
Setting of the input and validations does look nice this way.
I was wondering why you didn't choose for setters like in the command definitions? (E.g. https://github.com/rom-rb/rom-rails/blob/master/spec/dummy/app/commands/users.rb#L3-L4)
Then the validator and param class can be reused.

@mcls re input/validator setters - I do plan to change it so that you can re-use standalone validator/params classes between commands and form-objects. I just started with the DSL :)

OK I made it...still needs a refactor before merging but I put together everything that is required to make it work with form_for and route helpers...here's how to use it:

Looks good from the outside :)
The Form also needs a model_name as a class method by the way. It failed for me when I used :placeholder on a text field.
It blew up on this line:
https://github.com/rails/rails/blob/v4.2.0/actionview/lib/action_view/helpers/tags/placeholderable.rb#L15

Why isn't it calling to_model.model_name?!!?!? :((((( Iemme fix it on our side...

@mcls OK I added model_name to Form too


docs: add notes for installation

Update readme to include details about required environment for runtime.
Fixes #114

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


Allow symbolic operation in logic hashes

Hey,
I encounter #7 while integrating json-logic-ruby in my project. I understand that apply expects a stringify_keys as this is default output from JSON.parse but input can be provided manually or it can can symbolized keys (with proper parameter to JSON.parse).
Would be great to have this feature in this gem.
Fixes #7.

Hey @bhgames, did you have a chance to take a look at it?

Oh hey! I didn't even get notified about this PR. Let me take a look!

NIce addition. Thanks for messaging me again! I think your last one got lost in my email. Sorry about the wait!

Thank you @bhgames. ❤ 💚 💙 💛 💜
You lost the previous message, but you manage to get one on GitHub outage day. What a luck!


Management strategies

options:

[ ]  look at rolling bag limits (month/year)

[ ] varying levels of mortality over months (U or effort)

[ ] (rolling) size limits

[ ] spatial management

Varying mortality over months can work by making effort a monthly vector.
Rolling Size limits can work by allowing selectivity to vary over the fishing season (changing the knife edge).
Rolling bag limits may be a little tougher, should discuss with ed. The tough part is thinking about what this effects (if the bag limit decreases, how does that relate to effort, catchability, or exploitation rate).

From Geiger et al. (2006): Gallons of scallops = (-6.704*x + 480.96)/2, where X is shell height.

From Geiger et al. (2006): Gallons of scallops = (-6.704*x + 480.96)/2, where X is shell height.


[WFCORE-3396] Add management operations for certificate authority account management and for obtaining and revoking certificates

This is a re-submission of the original PR combined with upstream changes and conflicts resolved, this was originally submitted under: -
https://github.com/wildfly/wildfly-core/pull/3392
https://issues.jboss.org/browse/WFCORE-3396
https://issues.jboss.org/browse/EAP7-857
Analysis document (created before the switch to wildfly-proposals repo): https://developer.jboss.org/wiki/AnalysisDesign-IntegrationWithTheLetsEncryptCertificateAuthority
WildFly PR (also includes documentation): wildfly/wildfly#11434
Capabilities PR: wildfly/wildfly-capabilities#28

Core - Full Integration Build 7705 outcome was UNKNOWN using a merge of 4afc4cb6e54b427749795e957880b09012b50af3
Summary: Canceled (Error while applying patch; cannot find commit c6c17a748cfe2aec5a80eb12e15cabd99ae99c66 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/3405/merge branch was updated and the commit selected for the ... Build time: 00:00:22

Retest this please


MSVC x86: error C3861: '_BitScanReverse64': identifier not found

Hello Jakob,
Well done on solving #55 so quickly!
Here is a new issue that I found when trying out the readme code sample on 32bit versions of MSVC.
Example at https://godbolt.org/z/Peh1xq with MSVC 2017 and commit 411dfba7be72717f77e2f3e953469c43634af824
tinyutf8.h(152): error C3861: '_BitScanReverse64': identifier not found
tinyutf8.h(158): note: see reference to function template instantiation 'unsigned int tiny_utf8::tiny_utf8_detail::lzcnt<uint16_t>(T) noexcept' being compiled

        with
        [
            T=uint16_t
        ]

Thanks :)

Hi again :)
Thanks! I'm glad it works for you now!
Your example should work now. It was solely due to a non-robust check for 32bit Windows...
Cheers,
Jakob


More efficiently fetch image from iOS (and Android maybe) Photos library

I need to access Phones' photos library (like a photo gallery), and I wrote an experimental plugin.
In the plugin I used binaryMessenger to transfer images. But it showed very slow: I can see flicking when show images.
Is there any method to be efficient to transfer data other than channel?
Or what about using Texture Widget? I just don't know if I can generated may textues inside Flutter framework.

[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.14.1 18B75, locale en-CN)
• Flutter version 0.11.3 at ***
• Framework revision 72bf075e8d (5 weeks ago), 2018-11-09 20:36:17 -0800
• Engine revision 5646e86a6f
• Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)
[✗] Android toolchain - develop for Android devices
✗ ANDROID_HOME = ***
but Android SDK not found at this location.
[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
✗ ios-deploy not installed. To install with Brew:
brew install ios-deploy
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at ***
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.29.1)
• VS Code at ***
• Flutter extension version 2.21.0

@sprhawk you are aware that a newer Flutter version 1.0.0 is out?

@zoechi Yes, but

when I posted the issue, the version is old
I think the poor performance is related deep in architecture , I think it is not resolved by latest version

Your code is decompressing, then recompressing them image to send over the channel, then decompressing it again to upload it to the GPU.  The best option would be to send the url to the image to Flutter, but the Apple API doesn't provide that.  You can experiment with sending the image uncompressed.
Unfortunately because of the limitations in Apple's API there isn't much we can do about making it faster.  From a design perspective I'd treat them like loading images from a network, make a nice animation transition, don't show the empty ui until you have the image, etc.
You might be able to do something like you mention with textures.  In your plugin, upload the texture to the GPU then pass the handle back to Flutter.  I'd check the camera plugin for inspiration.  You'll have to be careful there because you'll have to support Metal and OpenGL.
FFI is now an option with dart too.  That will give you the ability synchronously execute code between Flutter and the host platform.  That could provide a way to pause the flutter thread for a fraction of a second while an image resource is loaded.
There are a lot of things to try out provided by the current API.

@sprhawk
Is this still a valid issue using latest Flutter version ?
If so, you may look at suggestions made here and try again to see if it works for you.
Thanks.

@sprhawk
Is this still a valid issue using latest Flutter version ?
If so, you may look at suggestions made here and try again to see if it works for you.
Thanks.

Hi I'm not using flutter anymore, I didn't have a plan to test it.


S71500 update/v3 0

New Methods to support:

[x] DataLogs.DownloadAndClear
[x] Files.Browse
[x] Files.Create
[x] Files.CreateDirectory
[x] Files.Delete
[x] Files.DeleteDirectory
[x] Files.Download
[x] Files.Rename
[x] Plc.CreateBackup
[x] Plc.ReadSystemTime
[x] Plc.ReadTimeSettings
[x] Plc.RestoreBackup

New Comfort Methods to provide:

[x]  DirectoryBuilder
[x]  DirectoryHandler
[x]  FileHandler
[x]  FileResourceBuilder
[x]  TicketHandler

closes #22
closes #14

Great job @KircMax! One question. Will it be possible to use it alternatively between v2 and v3, based on the version of the target system?

Thanks @PTKu.
I am not sure what exactly you mean by the question...
So far I have no checks in place for the comfort method wether or not they are expected to be available on the given target system (like the file API Methods to be in place to be able to use the ApiFileHandler etc.)...
I also - so far - wouldn't plan on doing so, normally they should just throw the Method Not Found Exception like the PLC will answer (I think this is fine)...
But the RequestHandler and thereby the other Comfort "Extensions" using it will work just fine on any plc that implements the features => Deploying a WebApp will work on a plc with V2.9 just like on a plc with V3.0 so the newest library version can always be used (and should always be usable) with any plc firmware version...
Does this answer your question?

Thanks @PTKu. I am not sure what exactly you mean by the question... So far I have no checks in place for the comfort method wether or not they are expected to be available on the given target system (like the file API Methods to be in place to be able to use the ApiFileHandler etc.)... I also - so far - wouldn't plan on doing so, normally they should just throw the Method Not Found Exception like the PLC will answer (I think this is fine)... But the RequestHandler and thereby the other Comfort "Extensions" using it will work just fine on any plc that implements the features => Deploying a WebApp will work on a plc with V2.9 just like on a plc with V3.0 so the newest library version can always be used (and should always be usable) with any plc firmware version... Does this answer your question?

Sorry for not being more specific. Yes, it does answer my question. Will give it a try as soon as you release it! 😉

@PTKu have fun trying it out 👍
If you face any issues please feel free to reach out!


最小显存是否有要求

运行 chatpdf.py 时报错：
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB (GPU 0; 5.79 GiB total capacity; 5.05 GiB already allocated; 13.88 MiB free; 5.11 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

GPU :2060 显存6GB
LLM :chatglm-6b-int4
Embedding : text2vec-base
尝试修改batch_size，无果~

显存12GB,内存16G


Deprecated calls

atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.
Called 1 time Create Issue on preview-plus repo
Atom.Object.defineProperty.get - /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/atom.js:54:11
<unknown> - /Users/fibric/.atom/packages/preview-plus/lib/preview-plus.coffee:48:25

This is on my list of todo things...right now I am concentration on optimization and features...will certainly get to it.

Taken Care


liferay ext build does not seem to respect -d parameter

I was trying to build a directory of client extensions different from the one specified in liferay config by doing the following:
liferay ext build -d /home/allenz/liferay/liferay-portal/workspaces/liferay-dot-com-workspace/client-extensions/
When I do that, it confirms the build directory in the output, but  it doesn't actually build the extensions in the directory I configured

hey @allen-ziegenfus  i can't seem to reproduce this on my machine.  maybe we can look at this tomorrow in our call.

ok it's not so important - i have done it a different way now.


Mastodon is in the wki documentation but it is not supported

I was trying to add a Mastodon account, but it generates this error:

The same for threads

Oops, thank you. I updated my version and created a pull request with the new channels.


results of different models

There are various models support by tensor2tensor, like transformer, slicenet, lstm and so on. For each tasks like wmt en2de, is there any document that summaries the results of different models?
Thanks.

Not all models would make sense for en2de. We're working on establishing regression tests to be able to catch when our models change or results get worse. Once that's done, we'll be able to make a summary table, but that might take a little more. It's something we want to do, yes.


refer documentation and deployment options to scoretrak.github.io ins…

…tead of old docs

Update readme to refer to scoretrak github io for deployment options. There is only kubernetes instruction there so far.

included deployment dir for now.


Bug in str_repl ?

I had problems (bad access crash) with str_repl and tried your example from https://nappgui.com/en/core/string.html#f13
    String *str = str_repl("const Product **pr;", "const", "", "*", "", " ", "", 0);
and it crashes too. I'm using v1.4.1 - r4927, if it helps.
Please check.
ADDED:
If I exclude the last pair of strings, i.e.:
    String *str = str_repl("const Product **pr;", "const", "", "*", "", 0);
then it does NOT crash!
ADDED2:
Some more testing revealed that the issue might be in the number of pairs; 2 pairs is OK, but 3 or more causes a crash.

It's a very curious case. It doesn't crash in Windows/Linux, but in macOS does. The last 0 is not detected and a buffer overflow occurs. The only explanation I can find is how va_arg() is interpreted on macOS. If we change the last parameter from 0 to (const char_t*)NULL then no crash.
// Crash (only on macOS)
String*str = str_repl("const Product **pr;", "const", "", "*", "", " ", "", 0);

// No crash
String*str = str_repl("const Product **pr;", "const", "", "*", "", " ", "", (const char_t*)NULL);

I have updated the doc. Will be visible in next website update.

Updated documentation. Just change 0 by NULL in last parameter
https://nappgui.com/en/core/string.html#f13


TagBot v0.2.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/120342
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 01673341ae49f7ad5ee9eeade9efc741bac46ab4
git push origin v0.2.0


feat(comlink)!: public api improvements

This PR introduces some changes to the public API of @sanity/comlink that I've wanted to make for a while. There are no new features, this is mainly refactoring, but there are breaking changes. All consumers of the package in this repo have been updated accordingly, including the compatibility actors.
This isn't strictly necessary from our point of view, but as this package is likely going to be used by other teams, I felt the improvements would be useful.
Terminology
In the initial version, I think some concepts were incorrectly named. The concepts of Channels and Connections have now been swapped, which I think makes much more sense:
(Apologies for the unorthodox use of diff block here 😄 )
-- Controllers create Connections which maintain Channels to Nodes

++ Controllers create Channels which maintain Connections to Nodes.

post and fetch signatures
The signatures for .post() and .fetch() methods have changed:
-- comlink.post({type: 'visual-editing/toggle', data: {enabled: true}})

++ comlink.post('visual-editing/toggle', {enabled: true})

This is more concise and aligns with .on(), which already looks like this:
comlink.on('visual-editing/toggle', (data) => {})

Type argument order
The order of type arguments has been updated in many interfaces and functions. Placing Sends before Receives feels more natural and aligns better with expectations:
-- export interface ChannelInstance<R extends Message, S extends Message> {}

++ export interface ChannelInstance<S extends Message, R extends Message> {}

A nice follow up could be to move the compatibility actor out of @repo/visual-editing-helpers and to @sanity/comlink, perhaps on its own export path, to resolve #2165 💖

That's a great idea! Thanks.


Register APNs Output Binding

Description
I updated main.go to register the APNs output binding that was added to components-contrib.
Issue reference
See dapr/components-contrib#480 and dapr/components-contrib#481.
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[x] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#830
[x] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#830
[x] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#830

I do not see the go.mod change. Can you please run step 4 in this doc - https://github.com/dapr/components-contrib/blob/master/docs/developing-component.md#submit-your-component ?
go get -u github.com/dapr/components-contrib

Sorry, I didn't read the instructions properly. I just added it.

seems like there is linter error. can you please run make lint and fix the lint issue?

seems like there is linter error. can you please run make lint and fix the lint issue?

It seems that the go get -u github.com/dapr/components-contrib@master is causing the problem. I'm looking at it.

Running [/home/runner/golangci-lint-1.31.0-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
  level=warning msg="[runner] Can't run linter goanalysis_metalinter: bodyclose: failed prerequisites:
<EMAIL_ADDRESS>[github.com/dapr/dapr/pkg/components/exporters.test]: analysis skipped: errors in package: [/home/runner/work/dapr/dapr/pkg/components/exporters/registry_test.go:44:11: cannot use mockExporter (variable of type *\"github.com/dapr/dapr/pkg/testing\".MockExporter) as exporters.Exporter value in return statement: missing method Unregister]]"
  level=warning msg="[runner] Can't run linter unused: buildir: analysis skipped: errors in package: [/home/runner/work/dapr/dapr/pkg/components/exporters/registry_test.go:44:11: cannot use mockExporter (variable of type *\"github.com/dapr/dapr/pkg/testing\".MockExporter) as exporters.Exporter value in return statement: missing method Unregister]"
  level=error msg="Running error: buildir: analysis skipped: errors in package: [/home/runner/work/dapr/dapr/pkg/components/exporters/registry_test.go:44:11: cannot use mockExporter (variable of type *\"github.com/dapr/dapr/pkg/testing\".MockExporter) as exporters.Exporter value in return statement: missing method Unregister]"

This is related to this pr - https://github.com/dapr/components-contrib/pull/491
Please add Unregister method to test mock. Then it will be resolved.
https://github.com/dapr/dapr/blob/master/pkg/testing/exporter_mock.go

Thanks for your contribution!

@mfcollins3 Once this build is done, please download the edge binary and validate it.
Please ensure that you have written the doc for APN binding component.
Thanks for your contribution again! :)


.NET 7 Support?

Good Morning!
I've been loving this library, but unfortunately it's no longer working after upgrading to .NET 7.  Here's what I'm getting as soon as I call await this._backgroundService.CreateInstance
dotnet.7.0.0.amub20uvka.js:8 Uncaught (in promise) SyntaxError: Cannot use 'import.meta' outside a module
...which is this call (line 168) in your JS:
self.importScripts('${initConf.appRoot}/${initConf.wasmRoot}/${dotnetjsfilename}');
Please let me know if this is a quick fix or if there is a workaround.
Thanks so much!

Same issue.

Looks like dudes in sunglasses who are quite excited about multi-threaded Blazor WASM are struggling with this... 😄
This NuGet package gets past the JS issue above, but I couldn't get it work all the way. I'm going to take a crack at building this myself over the next week, hoping for a Christmas miracle.
Thanks!

I not really struggeling with it. I have also implemented a Bridge to js webworker, and I was thinking to optimize it amd maybe build a package for it. Then I found this package and because the using is very similar I would have implement it I want to use this instead. However thanks for the Link to the other package. But this has a problem in my opinion.
It uses reflection in the static JS class what is not the best idea but ok. But more scared makes me the implementation because thats using Microsoft.AspNetCore.Components.WebAssembly.Hosting and is not available on ServerSide rendered pages and so on.

Same thing. Found the library just some minutes ago and got into this issue. The lib looks very useful but I need it on .NET 7.

Looking at this similar PR Net6 Support and see there might be a need to target .NET 7 as well as .NET 6 that time. And this one concerns me even more:

Thank you for the bug report. I'll try to look into this the coming days

Is there an update @Tewr

Well I know what the problem is... Referenced framework scripts that used to be classic scripts are now modules and that doesn't play well in a worker... The library mentioned above seems to have solved the problems by rewriting the referenced framework scripts on the fly, replacing imports etc with equivalent classic script constructs. I might end up doing the same. Would be nice to have a cleaner solution though

I think Dotnet has it own fix for this problem. Because they are using dotnet.worker.js. This seems to be a compatible script with the dotnet runtime for a worker.

@danielpastoor sounds interesting. Do you have more info on this script in .net7? is it part of the experimental multithreading workload?

Some news: I've tried de-modulizing the dotnet script and while it's technically working, all of the current bootstrap code in BlazorWorker.js is completely out of date, so no initialization (eg call to onReady()) is done. I'm trying to figure of what the new bootstrapper workflow is, but it's not trivial. Might be up for a full rewrite. I'll have to look into the wasm-experimental workload to see if there are any hints

I also tried rewriting it to a non module vader script within your structure but when I start the script it needs a mono config file. How did you get this working?

I didn't get it working, I've done some debugging and reading though. As I understand it, the mono-config.json is an artifact from the build, the "standard" way of loading dotnet, whereas blazor is overriding the default behaviour, using blazor-boot.json instead (but not in-place, they convey the same information but with different formats). I think understanding how and where this override is done is one of the keys of getting this working.

Any new movements on this front?

Technically, i think this is solved for .net7. But the build process with multitargeting is complex. I haven't found the time these last past weeks to put in the time needed for something maintainable. I might have to split into multiple projects or something, or possibly abandon support for anything lower than .net7 it might speed things up. In any case, i won't be able to get anything out before July.

Any new info on this?

Hello. This has been low on my priority  list this summer and I haven't been very motivated as .net8 promised native multithreading. Turns out it's been postponed (again) to .net9 -- so this might be worth a shot. I'll try to put in the hours needed so that it's ready about the same time as for the release of .net8 (middle of November)

Same problem here, any hints on what needs to be done?
I can't really wait until november for the fix but I can invest some time.
Any pointers would be greatly appreciated

Hey @krauthaufen - I took inspiration from @Tewr and this project (which didn't work for me, but had some useful WASM bootstrapping JS bits) to get something working for .NET 7 (and beyond, as this keeps getting delayed). Let me find time to package it up and I'll report back!

Same problem here, any hints on what needs to be done? I can't really wait until november for the fix but I can invest some time.
Any pointers would be greatly appreciated

The branch/pr which is referenced above is a good starting point. I guess what is missing is the generation of a mono-config.json with the correct content, probably by using proxy or something similar so that the standard framework uses it. If you compile one by hand and drop it in the build output, it works more or less. In addition to that, either make multi-targeting work, or removing all multi-targeting code in favor of .net7 and above only target for the code base.

Hey @krauthaufen - I took inspiration from @Tewr and this project (which didn't work for me, but had some useful WASM bootstrapping JS bits) to get something working for .NET 7 (and beyond, as this keeps getting delayed). Let me find time to package it up and I'll report back!

I'd be glad to see it, I actually don't need all the serialization-, RPC-bits but only want to send Uint8Arrays (byte[]) back and forth, but I have no idea how to setup a dotnet-runtime in the worker. I'll try to figure it out but i guess someone with more experience may be a lot faster here.

Hey @krauthaufen - I'm getting ready to release my own flavor of this after using it extensively on the app I'm building. I will need to surgically isolate it and refactor a few things so it's happy living in Nuget. But by the time that's done, .NET 8 will be upon us, so it's probably best to wait for that to RTM and test with the latest and greatest. I took the week of Thanksgiving off to finish this, so hopefully that gives it at around a year of life before Microsoft (finally/hopefully/please please PLEASE for the love of science) releases proper JavaScript multithreading in Blazor WASM in .NET 9 (<- wow that makes me feel old).
Thanks!

Hey, i managed to get that running myself and it's now part of our WASM library here.
If anyone is interested I could also peel it out and create a separate package for it

If anyone is interested I could also peel it out and create a separate package for it

Sorry, for probably extra-clarifying: do you manage to run this library (by Tewr) with your library?

Actually no, i just wrote a very basic thing where the worker and the main thread can exchange strings and byte arrays without all the serialization/rpc stuff on top.

Hello all,
Some news, I finally got a working prototype in https://github.com/Tewr/BlazorWorker/pull/89 . Had to catch up on many projects and unfortunately this one was on the bottom of my list. The PR still contains some hard-coded strings and stuff, and there seems to be a problem when serializing the response, but I think most of the major problems has been solved.. I'm probably going sacrify/deprecate the current JSRuntime / IJSRuntime plugin, as it seems that in any case the new native code-generator JsImport/JsExport can be a good replacement for that functionality. Also the dependency declarations will probably not be functional , this may mean some additional boot time for worker startup.
I'm very positive in creating a preview release in the coming days.

I managed to get a working version out tonight, please try it out
https://www.nuget.org/packages/Tewr.BlazorWorker.BackgroundService/4.0.0-preview1


Smart Web3 client

Context
At our current rate, we are adding a dozen of strats per week to the system. This is making us hit the ratelimit on initialization.
A naive solution could be to group the requests, by splitting the pools in batches and waiting between them.
This approach has the problem that it relies on initialization order, or "knowing" the network rules from the application layer.
Proposed solution
Wrap the web3 object into a new object that understands the rules of each network. This object should keep track of the amount of request per minute / second and insert delays between them as needed.
The entry point for this solution would be src/utils/web3.js where the multiple clients are initialized.
we could replace: new Web3(endpoint)  with  new Web3(endpoint, ratelimit).

Hey @superbeefyboy, there is another way to sort it out with refactoring APY code, reducing redundant RPC calls and batching the requests. No need to build optimisation layer on top of slow foundation. I'll take over on solving the root cause issue.
On it.


Button clicks do not register when clicking on image set by Button.SetImage

Basic code:
  Button button = new Button(DisplayCanvas);
  button.SetImage("images/control_play_blue.png");

What is the expected output?
Clicking anywhere within the boundaries of the button should trigger the
Button.Clicked event. Instead, when clicking on the image the event does not
trigger.

What version of the product are you using? On what operating system?
Using the latest version of Gwen and the SFML.net 2.1 32bit binaries provided
on the SFML site. Win7 x64. Compiled on VS2010 SP1 for x86.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 7 Sep 2013 at 7:08

Fixed in ae2154420d486ee2d6b98fe85a05936b161b1143


Signature in security.txt is expired

https://github.com/nginx/unit-docs/blob/1cb3f71fb52f77de43f0b032964e9f24b6554ac7/security.txt#L12-L14 The same file also exists in nginx/unit/security.txt
It appears the signature expired at the beginning of the year. From what I can tell, this practice isn't done elsewhere within NGINX (.org or .com)—I'm not sure about other F5 projects.
I see a few different ways forward:

a) Create an automated process to resign the security notice on a regular interval
b) Make it expire more quickly so that someone manually re-signs the notice so that it isn't forgotten (perhaps with automated reminder emails)
c) Remove the cryptographic signature

See https://securitytxt.org/ for what this file is for and the excellent rationale behind it.

(As the person who signed the file previously, I can do it again)

(As the person who signed the file previously, I can do it again)

Please do! I think that is acceptable.

https://github.com/nginx/unit/pull/1057 has been merged.


Prevents backlog when writing to Elasticsearch

In the past, delayed or otherwise unhealthy elasticsearch clusters could
create a backlog leading to a OOM arising from the http dispatcher ready
queue. This chooses to prevent a ready queue instead. This means we drop
spans when the backend isn't responding instead of crashing the server.
Fixes #1760

cc @openzipkin/elasticsearch

actually I was able to crash the server even with this when setting ES_MAX_REQUESTS=2 and 5 concurrent senders of 10 spans. Took about 5m to kill the server.
zipkin                      | 2017-10-10 12:42:26.056  INFO 5 --- [nio-9411-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 138 ms
zipkin                      | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000f8f2f000, 107704320, 0) failed; error='Cannot allocate memory' (errno=12)
zipkin                      | #
zipkin                      | # There is insufficient memory for the Java Runtime Environment to continue.
zipkin                      | # Native memory allocation (mmap) failed to map 107704320 bytes for committing reserved memory.
zipkin                      | # An error report file with more information is saved as:
zipkin                      | # /zipkin/hs_err_pid5.log
zipkin exited with code 1

ran with less logging per https://github.com/openzipkin/zipkin/pull/1766
I simulated a surge, and definitely dropped spans works.
I watched things recover via prometheus https://github.com/openzipkin/docker-zipkin/pull/135 and a grafana dashboard https://grafana.com/dashboards/1598/
@Logic-32 I'm going to merge this and cut 2.2.0 (which has the prometheus setup I used). Please setup a dashboard and alerts.. also you probably want to add the elasticsearch queue length to whatever that is. There are probably many places to improve, but I hope this gets things better.


backport: bitcoin#18288 - add MemorySanitizer (MSan) to CI

Issue being fixed or feature implemented
Backports from bitcoin related to MSan
Seems as it is required to have build of clang and all libraries specially for msan
What was done?

bitcoin/bitcoin#18288

How Has This Been Tested?
Check there's a new CI for this PR - msan
Breaking Changes
n/a
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone

not currently working on


Lock scrolling of editor window when cursor is scrolling in problem popup

Context:
I'm referring to these as "problem popups":

This is because as far as I know, VS Code refers to errors reported this way as "problems", and I'm differentiating between these and the ones in the "PROBLEMS" tab at the bottom:

Problem:
I code a lot in TypeScript, and I've noticed the problem popups you can get by moving your cursor over the red underline can be quite big. This is a result of the work the TypeScript team did to recursively explain TypeScript errors, where each line is an explanation of why the line above didn't work until you get to the bottom where you see the root issue. These errors are very useful because of how well they explain what's causing what, but they need a lot of room to be displayed. VS Code in its current state, doesn't do that well for the popups in my opinion.
My workflow includes moving my cursor over these and then using my middle mouse button to scroll to the bottom of the problem popup. My screenshot shown above is the result of me scrolling to the bottom of a particularly large one of these. The problem is that I need to place my cursor inside the popup and then begin scrolling, and if I'm not careful and I don't stop exactly at the bottom, and move my mouse wheel down just one more increment, the editor window scrolls down one increment and my popup disappears. I've attempted to capture this behavior in this GIF:

Then I have to start the process all over again. Since the most important information in these TypeScript error messages is at the bottom, it really slows me down since I have no choice but to carefully try to read the error message.
The "PROBLEMS" tab at the bottom is an okay alternative, since it displays all the info once it's expanded:

But, it can be annoying to have to change tabs (I might be using the debug console or terminal), find that error, and expand it. I like using my cursor to see only what I care about in a given context, like moving my cursor over specific variables when debugging.
Possible Solution:
I think a good solution would be to lock scrolling inside these problem popups so that once you reach the bottom, scrolling stops. The user would then know that in order to scroll outside the problem popup, they would need to move their cursor outside of it, at which point control of scrolling their editor window would be restored.

Duplicate of https://github.com/microsoft/vscode/issues/112373. Closing.


Non-isomalloc threads

Original issue: https://charm.cs.illinois.edu/redmine/issues/15

If threads are used in non-isomalloc mode for stacks such as stack copy, they may crash since isomalloc pup is always invoked. This error was introduced by changes made by Nikhil when mempool was added.

Original date: 2013-02-08 22:57:44

Added fix to the files; works with memory-aliasing on simple jacobi example. Will wait for autobuild to get it mark closed.


Antlr doesn't parse composite threshold in freshness check

When trying to use composite threshold in freshness check, antlr doesn't recognize threshold like '1d1h' as a freshness threshold
For example:
checks for {table_name}:
    - freshness(ts) < 1d9h

Return error:
ERROR    soda.scan:log.py:101 [17:56:29] Invalid check "freshness(ts) < 1d9h": extraneous input 'd9h' expecting <EOF>

SAS-2318

This is now fixed in #1957 and will be released in the next release, thanks for reporting!


[AMQ-8090] Add a release validation script

A release validation script
Pass maven repo as arg 1
Select version to validate
Preforms following tasks:

Download artifact
Download sha1 and md5 sum
Validate sha1 and md5 sums
Extract artifact
Delete and cleanup

Awesome ! Thanks ! Let me take a look.


Integration with Report Portal

Hello Karate team, devs,
In our project we use Report Portal. We made integration with it, we generated surefire-report and sent it to Report Portal by their API, but we want to listen execution of tests and write log in runtime. Do you have any feature listener that we can use.

please refer to this ticket: https://github.com/intuit/karate/issues/619

@showtime25st can you please share steps on how did you integrated Reportportal?

Looks like there is some work going on! :)  https://github.com/reportportal/agent-java-karate/pull/1

Here you go : https://github.com/reportportal/agent-java-karate

@rahul267 it does work! I guess it will work well for the Karate version before exiting from cucumber, i think that was 0.9 !
You planning to bump to latest karate version?
I'll take conversation to your project.


[Pokemon Silver - Gold (DMG)] - sprite priority bug

only happens in dmg.
i have a similar in dmg-acid also, so i'll first try and fix it there and see if that also fixes this issue.

this is likely around fixed in https://github.com/ITotalJustice/TotalGB/commit/0b75567d71f30560be7921b9dcada25896b2a9a7 or https://github.com/ITotalJustice/TotalGB/commit/3a214cae0a248ddce50fd2a855045bda7afd35ba, as i cannot reproduce anymore (it used to take a while before as well).


Removed active classes on widgets with custom templates

Removed active classes on widgets with custom templates.
And added some consistency in js file (use of quotes and line breaks).

Ah should be done on develop branch, closing.


Text facets show incorrect text.

Describe the bug
Text facets show incorrect text when compared to the original google sheet that was imported.
To Reproduce
Steps to reproduce the behavior:

import from google
text facet a column
text facet the next column
select item from first facet
corresponding item from the second facet is not on the same line as the first facet in the google sheet that was uploaded.

Current Results
shows data that cannot be found in the imported spreadsheet at all.
Expected behavior
expected line to match google sheet contents.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: IOS Mojave 10.14.6
Browser Version:  Chrome 19
JRE or JDK Version:[output of "java -version" e.g. JRE 1.8.0_181]

OpenRefine (please complete the following information):

Version 3.2

Datasets
If you are allowed and are OK with making your data public, it would be awesome if you can include or attach the data causing the issue or a URL pointing to where the data is.
If you are concerned about keeping your data private, ping us on our mailing list
Additional context
Add any other context about the problem here.

Hi @kraidt, thanks for this report! It would be helpful to have a bit more information about your issue.
What sort of unexpected data do you see in the text facet? Could you share your dataset, maybe? Or provide screenshots which demonstrate the issue?

Closing as not reproducible since not enough information was provided to debug this.


invite to newly created channel

Hello!
I was unable to invite people to newly created channel from mobile application (Rocket.Chat+).
However, in other mobile application - Rocket.Chat (without plus sign) i was able to invite, but unable to create channel.
Am i missing something?

@W0olFy You're right, there's no way to invite people from the Rocket.Chat+ yet. You'll have to access from browser and type /invite @username for now. Sorry about that.

@rafaelks Thanks for the answer!
Are you planning to add this feature in future releases? Switching between browser and mobile application only for inviting someone is quite painfull...

Yes, we do plan to add all this features. We're working in a version 2.0.0 that will use our new SDK (also being written in Kotlin) and it'll support all this.


ci: increase output waiting timeout for CircleCI test jobs

Problem - failing CircleCI test jobs:
go test -v -race ./...

Too long with no output (exceeded 10m0s): context deadline exceeded

Won't Go time out itself after 10 minutes anyway?

It will, but at the same time Too long with no output (exceeded 10m0s): context deadline exceeded is the CircleCI's error and with this PR our CircleCI tests pass.
Of course, it's better to make our tests faster, so you can close this PR, if we don't need it.


[Das Schwarze Auge (TDE) 5 OFFICIAL by Ulisses] v1.1.2

Changes / Comments
Bugfixes

Fixed crit & botch inversion
Fixed condition "Rapture" for attacks

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Improper quoting of all command line arguments

As they are today, QuotedArgument.Render and .RenderSafe will improperly quote anything ending with a backslash. Also, if the quoted argument is not a path, it may contain a quote and that is not properly escaped.
See the MSDN spec.
Here's a draft of proper process argument escaping with tests, following the MSDN spec: https://gist.github.com/jnm2/c5c840bf317605a40f5f56f944db4892
Points to consider:

I don't know about non-Windows OSs. Hopefully this subject can stay platform agnostic.
This is something that, while standardized on Windows, could one day end up needing special handlers for non-standard executables.
It should be sufficient to unit test QuotedArgument in the style of the tests in my gist, as long as every command line argument is forced to use this escaping handler (or some custom escaping handler). That's the pit of success and as we saw here, it needs to be harder to not escape arguments for both contributors to this code base and for script writers sending paths via ArgumentCustomization.
All arguments could go through a default escaping handler that only quotes if necessary so you wouldn't have *Quoted versions of things. It would just quote if necessary. Another alternative would be to throw an exception (to prevent mistakes and injection) if a space or quote is present in a non-quoting argument. Again you could avoid the default escaping handler and send raw arguments but that would be a noticeable opt-in step.
This would be a breaking change. It would be nice if this issue could be at least partially addressed (better quoting algorithm) in the next major version.

This issue occurred to me while looking into #1268. Here's some confirmation that I'm on base here: https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/
Raymond Chen (because he's fun.)
I'm willing to PR.

@jnm2 if you're willing to do a proof of concept PR we can review and discuss on it.

Sounds good. I'll look forward to doing it after I'm back from vacation.

I need to get back to this. It's a big undertaking but worth it and I'm kicking myself for forgetting that the ball was in my court.
New information I have is that on Linux, the arguments between processes are conceptually passed to the new process as an array of strings. (Not talking about the shell parser you type commands into; shell parsers vary, but they don't come into Cake's picture.)
Whereas on Windows, arguments are passed as a single string including the filename of the executable. This means Windows goes through this serialization process (quoting and escaping) to provide the illusion that it is passing an array of strings with preprovided lengths when in fact it's passing a single string.
Again, see the articles linked in the top post for how almost all Windows command line application serialize and deserialize arguments. It's not simple quoting which is what everyone usually sees and assumes.
What this means is that the arguments builder should keep a List<string>. On Linux we simply hand the list to the new process, never Rendering it to a single string (compare what they're doing with ProcessStartInfo.ArgumentList: https://github.com/dotnet/corefx/issues/23592).
On Windows, we will always have to Render to a single string.
Again, what I want to do is banish the notion of 'quoted' and 'unquoted' argument building. Both of these existing methods require the existing API consumers to make complex, unwieldy decisions with security implications due to argument injection.
AppendRaw(string) vs Append(string, bool alwaysQuote = false) (autoquoted) doesn't even make sense once you realize that on Linux, eventually, no quoting and escaping will ever need to be done once .NET Core exposes the API to pass the argument list to ProcessStartInfo rather than reverse-engineering Windows' single-string behavior. (https://github.com/dotnet/corefx/issues/23592)
Quoting and escaping is a thing that happens only at the point when you Render for Windows and first have the need to serialize the list into a single string. Not at the point when you append arguments.

This is my implementation, with tests, of what the Windows Render method would do to each argument in the list: https://gist.github.com/jnm2/c5c840bf317605a40f5f56f944db4892
The corefx internal implementation passes all my tests, so that's cool. (https://github.com/dotnet/corefx/issues/23592#issuecomment-325361403)
Cake absolutely needs to be forcing the same logic on everyone that uses the process argument API.


Support Cairo 1.18.0 ?

How is the process to support a new Cairo version ?
The current supported version of Cairo (1.17.4) have 3 years, do you have some tools to compare performances between differents Cairo version ?
More informations here : https://www.cairographics.org/news/cairo-1.18.0/

We had conversations with Pablo to build the new version. After tests, they would be updated in a new Pharo VM and available for bindings. It's in the to do list!

With new libs, I would run some benchs in pharo-graphics/BlocBenchs repo.
In fact you gave me the idea to preview this lib upgrade as I did before: replace Pharo vm libraries(*) by downloaded ones.
On Mac, I'd download the new lib with "brew".
On Windows, we can download the zip from https://github.com/harfbuzz/harfbuzz/releases/tag/8.2.1 and test it.
(*): replacing cairo requires algo png, zlib, pixman, and freetype.

Cool :) Thanks !

@labordep I observed a speed up when using system's Cairo 1.18.0 (in Mac).
For the record, I added instructions on how to do it: https://github.com/pharo-graphics/Alexandrie/wiki/Dependencies

Thanks @tinchodias, I will test on Windows. Last time when I try to run a new version (for Cade) performances was less good than the previous version of Cairo :-(
I hope for Bloc this will be not the case !

This was working for Windows: download the zip from the release, they build and ship not only harfbuzz but also its dependencies, which are cairo, freetype, pixman, etc: https://github.com/harfbuzz/harfbuzz/releases/tag/8.2.1

I appended some words more about Windows at the end of https://github.com/pharo-graphics/Alexandrie/wiki/Dependencies

(@labordep )

We can keep this open until we can upgrade in vm with @tesonep
There is currently https://gitlab.freedesktop.org/cairo/cairo/-/releases/1.18.2


[RFC] Remove log_text and log_image from LightningLoggerBase API

Proposed refactor
Remove these methods from the LightningLoggerBase API:
https://github.com/PyTorchLightning/pytorch-lightning/blob/8d23f6287adf1e1040948802e6649c4ae2b3eda1/pytorch_lightning/loggers/base.py#L193-L205
Motivation
log_text and log_image are both only overridden on 2 loggers: WandbLogger and NeptuneLogger.
For the rest of the loggers, since these methods are on the Base API it seems to imply that you can call them, but if you do for most loggers you will get a NotImplementedError. This is not a good user experience and it would be better to just keep these methods specific to WandbLogger and NeptuneLogger so it is clear that they can only be called for those loggers.
Similar motivation to https://github.com/PyTorchLightning/pytorch-lightning/issues/11234
From https://github.com/PyTorchLightning/pytorch-lightning/issues/11234: "A good rule of thumb is that the only required interfaces for the Logger are what the Trainer directly calls. Everything else can be pushed to various implementations". Since the trainer does not call log_text or log_image these do not need to be required on the Logger API.
Additional Context
These were added in https://github.com/PyTorchLightning/pytorch-lightning/pull/9545
cc @justusschock @awaelchli @rohitgr7 @tchaton @borda @edward-io @ananthsub @kamil-kaczmarek @Raalsky @Blaizzy @akihironitta

The Trainer explicitly calls log_graph here: https://github.com/PyTorchLightning/pytorch-lightning/blob/789fae828dd3c3196b09bb5451e568c776dc99a6/pytorch_lightning/trainer/trainer.py#L1243
This means it's required to be on the logger API

Updated the issue to not include log_graph, and will update it shortly with more information overall.

Based on #9545, I agree with them motivations:

WandbLogger.log_image and WandbLogger.log_text still exist, so the primary use case is unaffected by this
WandbLogger does not require these interfaces on the base class
The arguments to these functions are completely left open. This means all argument validation is left to logger subclasses, and users don't get the benefit of typehints, which can easily lead to errors.
Only log_image and log_text were added to the base class, but log_table wasn't, despite being added in #9545. The inconsistency here demonstrates that these methods don't need to be on the base class

Yeah, good points, especially about log_table!


feat: sf-510 deprecation of status field for snap

Background:
Breaking changes introduced in Pathfinder 0.7 and RPC 0.4 for statuses read (deprecation of "status" field for "execution_status" + "finality_status") will be taken into account in a new version of the snap -> Consensys will start working on this in parallel of the MM stable launch and will communicate with Starknet team on expected release date (hard deadline is the v0.13 release in October)
Description:
for get status API, change RPC provider from feeder_gateway to infura
for bulk gas est API, change RPC provider from feeder_gateway to infura
return execution_status and finality_status for snap method starkNet_getTransactionStatus and starkNet_getTransactions
Reference:
https://www.notion.so/Starknet-Snap-update-for-Starknet-v0-12-upgrade-7af534eb6c82410ab6977d209b5cd44e?pvs=4#ea8b9406df194235a07909f0d6c41bb9
Changes
UI:

update status label display
update status colour display

Snap:

update get transactions flow

remove getting rejected status separately, rejected transaction can be return from on chain

enhance performance

updating fetch status for transactions into a single pass loop
concat massagedTxn in single pass
From:storedUnsettledTxns.forEach((txn: Transaction, idx: number) => {
        const foundMassagedTxn = massagedTxnsMap.get(num.toBigInt(txn.txnHash));
        if (!foundMassagedTxn) {
          requireUpdateStatus.push(idx);
       } else {
          ....
       }
});
if (requireUpdateStatus) {
      await Promise.allSettled(
        requireUpdateStatus.map(async (idx) => {
          const txn = storedUnsettledTxns[idx];
          const { finalityStatus, executionStatus } = await utils.getTransactionStatus(txn.txnHash, network);
          ....
        }),
      );
      await Promise.allSettled(requireUpdateStatus);
}
...
massagedTxns = massagedTxns.filter((massagedTxn) => {
      return !storedUnsettledTxns.find((txn) => num.toBigInt(txn.txnHash) === num.toBigInt(massagedTxn.txnHash));
    });
...
massagedTxns = [...massagedTxns, ...storedUnsettledTxns].sort(
      (a: Transaction, b: Transaction) => b.timestamp - a.timestamp,
    );

To:
storedUnsettledTxns.forEach((txn: Transaction, idx: number) => {
        const foundMassagedTxn = massagedTxnsMap.get(num.toBigInt(txn.txnHash));
        if (!foundMassagedTxn) {
            updateStatusPromises.push(updateStatus(txn, network));
            massagedTxns.push(txn);
        } else {
          ....
       }
});
...
if (updateStatusPromises) {
      await Promise.allSettled(updateStatusPromises);
      ...
}
...
massagedTxns = massagedTxns.sort(
      (a: Transaction, b: Transaction) => b.timestamp - a.timestamp,
    );

adding new helper updateStatus

adding new test case to test merged transaction from snap state and on chain

update get transaction status to return executionStatus and finalityStatus
update filter transaction method
remain status in transaction for transition (can be remove later due to updating snap will lead to state clean up)

JIRA Ticket:
https://consensyssoftware.atlassian.net/jira/software/projects/SF/boards/472/backlog?selectedIssue=SF-510
https://consensyssoftware.atlassian.net/jira/software/projects/SF/boards/472/backlog?selectedIssue=SF-511

Need to fix the unit test estimateFee


Repeated animation problem

After Drag&Drop the dragged cell restores to original position and starts the translation animation again to its dropped position. How can I fix this? Thank a lot.

Hi. Could you provide some example code to reproduce the issue?

I found the problem, its about the getItemId not returning stable ID.
Does this library required stable id adapter to work?
Its not mentioned in any documentation.

Yes, this library requires stable ID. If the getItemId() method is not implemented properly, will causes exceptions or will animates incorrectly. Sorry for the inconvenience, I'll improve the documentations as soon as possible :sweat:

I've added the comments about static ID requirements in the v0.6.2 sample codes.


Balena removal: updater: Define updater endpoints

Add the endpoints to update the system that accept the file format from #2878 and write it to the filesystem using the script in #2869

Endpoints are defined here: https://docs.google.com/document/d/1IJyoVM6GANmFMHETsSlZ-CWVS7Th4sR-mULlTLlBCa8/edit
These are going to be under /server/update as with the current endpoints, but will not share many implementation details beyond that.


runtime: osyield is expensive on darwin?

This is a naive question about an unexpected and striking benchmarking result.
At tip, on my amd64 OS X laptop, I get:
$ go test -bench=BenchmarkSplitSingleByteSeparator -run=NONE bytes
BenchmarkSplitSingleByteSeparator-8   	     500	   2722171 ns/op

If I apply CL 37795, the execution time increases 65%:
$ go test -bench=BenchmarkSplitSingleByteSeparator -run=NONE bytes
BenchmarkSplitSingleByteSeparator-8   	     300	   4518575 ns/op

Note that in that CL, all that really happens is that a single function is removed from the call stack. Index checks the length of its argument, and if it is 1, then Index calls IndexByte.
CPU profiling indicates that basically all of the extra time is spent in runtime.usleep (called from runtime.osyield) and runtime.mach_semaphore_signal (called from runtime.notewakeup).
I'm left wondering:
(1) Is there a cheaper way to do an osyield on darwin that doesn't cost a full microsecond? (Linux appears to make an arch_prctl syscall instead of calling select.)
(2) Why does removing a function call from the stack create additional calls to osyield? Can this be avoided?
cc @ianlancetaylor @aclements

(2) Why does removing a function call from the stack create additional calls to osyield? Can this be avoided?

Possibly related to https://github.com/golang/go/issues/10958? Index is preemptible, IndexByte is not. So after CL 37795 the long running loop inside Split is no longer preemptible.

Possibly related to #10958? Index is preemptible, IndexByte is not.

Oh right, of course. And changing the CL to occasionally call Index instead of IndexByte eliminates the regression:
	if len(sep) == 1 && i&1024 != 0 {

I am still interested in making osyield cheaper. I have definitely seen those stack traces show up prominently in other profiles as well.

Assigning to @rsc for review.

I've seen surprising amounts of usleep in profiles but I assumed the macOS kernel had somehow screwed up profiling again. If this turns out to be the problem instead, great.

I spent a little while playing with this. Adding an explicit preemption check in the genSplit loop fixes the problem, so @dr2chase's back-edge preemption would fix this problem assuming it can be landed without other bad performance effects.
// Generic split: splits after each instance of sep,
// including sepSave bytes of sep in the subslices.
func genSplit(s, sep []byte, sepSave, n int) [][]byte {
	if n == 0 {
		return nil
	}
	if len(sep) == 0 {
		return explode(s, n)
	}
	if n < 0 {
		n = Count(s, sep) + 1
	}

	a := make([][]byte, n)
	n--
	i := 0
	for i < n {
		var m int
		if len(sep) == 1 {
			m = IndexByte(s, sep[0])
		} else {
			m = Index(s, sep)
		}
		if m < 0 {
			break
		}
		a[i] = s[:m+sepSave]
		s = s[m+len(sep):]
		i++
		nop()
	}
	a[i] = s
	return a[:i+1]
}

var b bool

//go:noinline
func nop() {
	if b {
		nop()
	}
}

Overall, the pending CL to replace osyield's usleep(1) with sched_yield() on macOS has a mixed effect on the go1 benchmarks but has an overall -0.29% geomean speedup.
https://perf.golang.org/search?q=upload:20170307.1
However, the effect on Josh's benchmark is devastating, +13% slower.
https://perf.golang.org/search?q=upload:20170307.2
It looks like in the case where we do spin waiting for preemption, using usleep(1) is much better than using sched_yield(). Because of this, I think we should put this change on hold until back-edge preemption is solved, rather than make the problem noticeably worse.
Basically, "fixing" osyield seems to make programs either a tiny bit faster or a lot slower. Most programs won't care but the ones that do will get much worse. Better not to do that.

To clarify, that slowdown comes from the runtime trying to STW and thus spinning more compared to sleeping 1us at a time? If this is the case, what about Linux? Shouldn't we switch osyield() to usleep(1) there as well to improve performance?

I'd be interested to hear the results of the experiment on Linux too, but I'd rather not change Linux at this point to work around the problem. I'd rather fix the underlying problem #10958. We've got most of a solution and mainly need to make it perform a bit better.

This is blocked waiting on #10958, which was moved to Go 1.10.


Added Brick Breakout Game in HTML CSS and JS

🛠 Fixes Issue #641
👨💻 Changes proposed
Added Brick Breakout Game in HTML CSS and JS
✅ Check List (Check all the applicable boxes)

[X] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[X] This PR does not contain plagiarized content.
[X] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots

@Astrodevil @sreelakshmig009 pls review my PR

don't remove any line of code from readme, just add your line of code
resolve this conflict

Your project is not added in README, please do that

@Astrodevil corrected the Project and also resolved the conflicts please check.

Final Render

I think you pushed files of another projectI think you pushed files of other project

@Astrodevil done with the corrections, pls check.

@Astrodevil please merge this PR I have been resolving the readme issue again n again due to other PR merges that take place in between. Hope u understand.

@Astrodevil please merge this PR I have been resolving the readme issue again n again due to other PR merges that take place in between. Hope u understand.

I will solve that readme conflict,no issue👍🏻. Just made sure you make the main changes properly.

@Astrodevil please merge this PR I have been resolving the readme issue again n again due to other PR merges that take place in between. Hope u understand.

I will solve that readme conflict, no issue👍🏻. Just made sure you make the main changes properly.

Done with the change it is updated to be merged.

Still same error, You didn,t fixed the error. instead you pushed a different project folder and deleted it.  You can also make new PR if you want to


Inactive sessions more than minimumIdle

HikariCP version: 2.7.9 and 3.3.1
JDK version     : 1.8.0_92-b14
Database        : Oracle Database 12c Standard Edition Release <IP_ADDRESS>.0 - 64bit Production
Driver version  : 4.0
Configuration used:
<Resource auth="Container" connectionInitSql="select 1 from dual"  	driverClassName="oracle.jdbc.OracleDriver" factory="com.zaxxer.hikari.HikariJNDIFactory"  	idleTimeout="60000" jdbcUrl="jdbc:oracle:thin:@<IP_ADDRESS>:1521:orcl" leakDetectionThreshold="300000"  	maximumPoolSize="2000" minimumIdle="100" name="jdbc/oracle/msi" password="password"  	type="javax.sql.DataSource" username="USERNAME"/>
We are debugging an issue with a new Tomcat instance without deploying application(webapp is empty), there are 500 sessions opened though the minimumIdle is set to 100 only. Even after the idleTimeout="60000" the sessions remain the same, 500. Due to these session being consumed but HikariCP alone we are limited by the remaining sessions configured and our activities are failing.
When the minimumIdle is set to 100 why should it open session more than 100.

We have tried with minimumIdle="10" and found the there are 50 sessions created. This would mean that HikariCP creates 5 times the minimumIdle.

Minimum means that HikariCP will try to ensure that there are "at least" that many connections. It is not a maximum.
So if the pool size starts at 10, and you take all 10 of them, hikari will automatically create 10 more to ensure that there are 10 more idle connections. This results in 20 connections total.
Unless you have a database server that has 1000 cores, it is very unlikely that you really want a maximumPoolSize of 2000.
I recommend these resources:

https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
https://stackoverflow.com/questions/28987540/why-does-hikaricp-recommend-fixed-size-pool-for-better-performance

Additionally, it sounds to me like 5 pool instances are being created.  If you enable debug logging this should be easy to verify.


Pyside2 method overriding doesn't work

0.6.13rc6
Python: 3.9.2 (default, Feb 20 2021, 18:40:11)
OS: Linux
Arch: x86_64
installed by pip install -U "https://github.com/Nuitka/Nuitka/archive/factory.zip", since looking for extant issues turned up a bunch related to PySide2
So far, I've noticed that it fails in at least 2 different places when overriding methods on Qt objects, event, paintEvent.
This is the smallest example I care to try and replicate for now.
Compiled with nuitka3 --follow-imports --enable-plugin=pyside2 test.py
from PySide2.QtWidgets import *

class CustomEvent(QDialog):
    def event(self, event):
          print("Hello")
          return super(CustomEvent,self).event(event)

app = QApplication([])
testDialog = CustomEvent()
testDialog.show()
app.exec_()

This is a duplicate I assume, as it's working after a fix for an unpushed correction of #1022 that is coming soon. My CI is busy with a pre-release of the state you tested.

The one difference I saw there is that this doesn't result in an error, it results in the event function never getting called. Is it the same cause?
Anyway, thanks for addressing my issue :)

I don't know that @epsilon-phase you can retry with current factory branch if you want to: https://nuitka.net/doc/factory.html

Yeah, the events still aren't being handled by that method.
Also, elsewhere, I'm having issues with the slots still having trouble with discarding additional arguments, which is troubling.
Anywho, for thoroughness, here's the version string
0.6.13rc7
Python: 3.9.2 (default, Feb 20 2021, 18:40:11)
OS: Linux
Arch: x86_64

Ok, I will look into that, maybe not before release though, but clearly soonish.

I managed to reproduce this.

This will need the PySide6 I have doing upstream. Once PYSIDE-1523 is merged, it will work.

I think I closed this accidentally. PYSIDE-1523 is merged, and should be in 6.0.3 which is unknown when that happens, and Nuitka need a pyside6 plugin as well.

Does this apply also for PySide6? I am facing similar problem when using custom GraphicsView with overridden events. After Nuitka compiling any custom events (arrow key press or mouse wheel zooming) are ignored. Tested on newly published PySide 6.0.3. The complete code is here https://github.com/drifted-in/jet-browser-qt-for-python/blob/main/jetbrowser.py
Nuitka 0.6.13
Python 3.9.2
OS: Windows
Arch: x86_64

Unfortunately it seems my patch of PySide will only be released as 6.1, so that version currently doesn't even employ the workarounds I am doing for PySide2.

Thanks for the feedback.


Rate Limiter based on date

Summary

RFCs: Link to RFC, Link to RFC, or $\emptyset$.
Categories: any of protocol-units, networks, scripts, util, cicd, or misc.

Using  https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary?tab=readme-ov-file#timestamptodate to rate limit on a daily basis.
Changelog
rate limit bidirectionally on Ethereum only.
Testing
to be tested if accepted.
Outstanding issues
verify

@0xmovses @Primata this whole PR should target main s.t.--if your MIP-58 work does not come through--this is still available.


Allow to retrieve HEC token from existingSecret

Currently, tokens have to be provided in clear text in the values.
The possibility to load tokens from an existingSecret created outside the chart would improve security.
The same should be done for clientCert, clientKey and caFile.

Never mind, I realized this is already implemented here https://github.com/signalfx/splunk-otel-collector-chart/blob/34718752a1d602aef5cd066a0d35fd8f30cdb094/helm-charts/splunk-otel-collector/values.yaml#L936


upgrade protobuf, crypto, net, grpc

Do we really want to keep the custom mcheck that fails, or should we use golangci instead ?