Making Dendron Form-idable

Context
Currently, the way Dendron does inputs is via raw YAML. This is not the most human friendly interface.
Proposal
Use forms to provide a nice UI plus realtime validation when users are working with Dendron.

[ ] Configure Dendron Command

will bring up a webview to edit dendron.yml

[ ] Support viewing Dendron Config

web view that shows dendron.yml as a form

[ ] Support writing to Dendron Config

be able to persist changes in dendron.yml

[ ] Add validation for form

[ ] research whether we should use formik alongside antd form

Details
Dendron has a next.js server that will be used alongside a webview to render nice UIs for Dendron.
Ideally, we want to use formik for validation and antd forms to render. If formik looks like overkill or redundant with the basic validation within atnd, then we can drop that requirement
Breadcrumbs
Some useful resources to get started

building and starting the server: https://dendron.so/notes/7cdd9a74-8b8f-4564-906b-c963bed34273.html
type definitions for dendron.yml config: https://github.com/dendronhq/dendron/blob/master/packages/common-all/src/types.ts#L44:L44
documentation for config: https://dendron.so/notes/ffa6a4ba-5eda-48c7-add5-8e2333ba27b4.html

Notes
To get started, I would focus on being able to import and build Dendron and having a basic form interface generated from dendron.yml.
To get started, I would hardcode a sample config. We will be adding an API to write/read to it ~1week.

Interested in contributing to this feature.
First chunk of this work looks like this for me:

[x] Get dev server running 2020.11.09 :heavy_check_mark:
[ ] make a new Next page that had some placeholder forms on it. I haven't used AntD and want a little exposure there.
[ ] (learn how to) create command to open server webview
[ ] wire up dendron.yml to the webview for proper form rendering

This new Chrome extension might also be useful for debugging Formik :bookmark: https://github.com/petrenkoVitaliy/formik-devtools

Sweet. If it turns out to be helpful, can you add it to the docs for
dendron-cli:
https://dendron.so/notes/7cdd9a74-8b8f-4564-906b-c963bed34273.html?
On Tue, Nov 10, 2020 at 9:21 AM Tyler Nieman<EMAIL_ADDRESS>wrote:

This new Chrome extension might also be useful for debugging Formik 🔖
https://github.com/petrenkoVitaliy/formik-devtools
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dendronhq/dendron/issues/327#issuecomment-724846632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADD52IXBOHV4ORKBPOVKY3SPFZBJANCNFSM4TKLPNBA
.

I've got a basic formik + antd experiment glued together in my local dendon-next-server.
i'll flesh out actual form elements with antd, basing the fields on the dendron configuration docs (and type definitions for dendron.yml) in an upcoming sesh.
i suspect we'll want something like https://github.com/jannikbuschke/formik-antd to handle the bindings between the antd and formik (i've just manually plumbed them for my test).

closing this issue with the launch of dendron 0.18 :)


Add service instances list

A bit of follow-up of https://github.com/netlify/open-api/pull/258
We're missing the endpoint to list service instances for the site in the spec, so adding it.
I also found a bug in my previous PR (status code of show was 200 🤦 ) so fixing it here.

@erezrokah could you please do the merge + release for this one?

Released https://github.com/netlify/open-api/releases/tag/v0.18.0. Had to skip 0.17.0 as it was tagged, but not released. Not sure we should do another release just for that tag


This class does not exist in each namespace

When querying the sqlserver computermanagement name space this class for "SqlErrorLogFile" inconsistently exists.  I have attempted to recompile the mof and that doesn't work.  Failover Cluster Instances (named and default) and Named Instances seem to be most affected.

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

ID: f1cfd311-b3df-6b27-3f1b-6e889d2a0cea
Version Independent ID: 027ad51a-0a7c-7b42-d05e-a4576775e691
Content: SqlErrorLogFile Class - SQL Server
Content Source: docs/relational-databases/wmi-provider-configuration-classes/sqlerrorlogfile-class.md
Product: sql
Technology: wmi
GitHub Login: @markingmyname
Microsoft Alias: maghan

Here is an example:
PS C:\Users\Cst_mcostas\Desktop> [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null;
PS C:\Users\Cst_mcostas\Desktop> $SMOServerObject =  New-Object ('Microsoft.SqlServer.Management.Smo.Server') xxxx
PS C:\Users\Cst_mcostas\Desktop> $SMOServerObject.VersionMajor
15
PS C:\Users\Cst_mcostas\Desktop> $ErrorlogFileName = Get-WmiObject -Namespace "root\Microsoft\SqlServer\ComputerManagement15" -Class SQLErrorLogFile
PS C:\Users\Cst_mcostas\Desktop>

@mikebones -- Michael, thank you for your detailed feedback.
@markingmyname -- Mark, please look into this issue.

@MicrosoftDocs/linkedin-developer-relations
First, let me apologize for the delayed response.
Thanks for your comment.
Your contribution is much appreciated.
Not really sure what you are requesting in terms of content.
Our team can only answer feedback related to the documentation. Please kindly log your product feedback by using the button "Give Product Feedback" at the bottom of the DOCS page or visit the SQL Server User Feedback page. If you have any feedback related to the documentation, please feel free to log in through this channel. We truly appreciate your contribution to our articles.
Thank you.

@MicrosoftDocs/linkedin-developer-relations
First, let me apologize for the delayed response.
Thanks for your comment.
Your contribution is much appreciated.
Not really sure what you are requesting in terms of content.
Our team can only answer feedback related to the documentation. Please kindly log your product feedback by using the button "Give Product Feedback" at the bottom of the DOCS page or visit the SQL Server User Feedback page. If you have any feedback related to the documentation, please feel free to log in through this channel. We truly appreciate your contribution to our articles.
Thank you.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.

@mikebones -- Michael, please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@mikebones -- Michael, please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow


Optimize JSON parsing

it's sloooow

I'm sloooow.
It's fixed now, we were parsing way too much data at once.


Integrate TokenCredential supported by #21472 with Azure Spring Security libs

check #21472

Closing this now for it's been merged to 4.0 branch.

Reopen the issue for the JCA starter hasn't supported this.

The kv certificate starter has already supported token credential since 4.1.0, so closing this issue now.


Merging DoRA into the model produces a black image.

As far as I have confirmed here, it seems that in SDXL DoRA and DoKr, a black image is generated when merged into the model.
I am not sure if my understanding is correct, but if you look at the code
https://github.com/KohakuBlueleaf/LyCORIS/commit/47922c57e193c3f0a4e7f0fd5bd7cd11845ba60c
is not applied to the merging process to the model.

Plz check the dev branch.
This is resolved problem

Thank you for your quick reply.
I did not check enough. My apologies.
I checked on the dev branch, and for DoKr trained on 2.2.0post3, black images were generated even after merging using the dev branch.
I checked again with the dev branch with a smaller training and it seemed to be fine. Thank you very much.


Fix example "Alert receiver configuration parameters" in slack alertmanager config

The current alertmanager configuration snippet throws an error when applying changes in opsmanager, because we don't use actions .

@jessepye I'm not sure why I was added to this, as it's not in my area. Do you know why I was requested to review?


eigen: 3.3.3 -> 3.3.4

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 3.3.4 with grep in /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4
directory tree listing: https://gist.github.com/d83ce54c91cb6ecf3fd3eb94b666357f

cc @svanderburg @7c6f434c for review

Success on x86_64-darwin (full log)
Attempted: eigen
Partial log (click to expand)
these paths will be fetched (0.47 MiB download, 3.55 MiB unpacked):
  /nix/store/j254xgh90dcdyq4j7jy94l1a75sa3i8a-eigen-3.2.10
copying path '/nix/store/j254xgh90dcdyq4j7jy94l1a75sa3i8a-eigen-3.2.10' from 'https://cache.nixos.org'...
/nix/store/j254xgh90dcdyq4j7jy94l1a75sa3i8a-eigen-3.2.10

Success on aarch64-linux (full log)
Attempted: eigen
Partial log (click to expand)
these paths will be fetched (0.47 MiB download, 3.55 MiB unpacked):
  /nix/store/kcrr90fg148srqigd2jwxvhh5s55hjil-eigen-3.2.10
copying path '/nix/store/kcrr90fg148srqigd2jwxvhh5s55hjil-eigen-3.2.10' from 'https://cache.nixos.org'...
/nix/store/kcrr90fg148srqigd2jwxvhh5s55hjil-eigen-3.2.10

Success on x86_64-linux (full log)
Attempted: eigen
Partial log (click to expand)
/nix/store/5s55axcmr3r7dvq7hrhcy32sw12m7zcy-eigen-3.2.10

@GrahamcOfBorg build eigen3_3

Failure on x86_64-darwin (full log)
Attempted: eigen3_3
Partial log (click to expand)
  /nix/store/1wnx4f5xvls3l5hfckdan4b5761hw39r-cmake-3.10.2/share/cmake-3.10/Modules/FindMPI.cmake:1167 (_MPI_check_lang_works)
  cmake/FindPASTIX.cmake:235 (find_package)
  test/CMakeLists.txt:83 (find_package)

-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-eigen-3.3.4.drv-0/eigen-eigen-5a0156e40feb/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/nix-build-eigen-3.3.4.drv-0/eigen-eigen-5a0156e40feb/build/CMakeFiles/CMakeError.log".
builder for '/nix/store/q4alvpagx5q4h35ak5idzaya9c37d61r-eigen-3.3.4.drv' failed with exit code 1
error: build of '/nix/store/q4alvpagx5q4h35ak5idzaya9c37d61r-eigen-3.3.4.drv' failed

Success on x86_64-linux (full log)
Attempted: eigen3_3
Partial log (click to expand)
-- Installing: /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h
-- Installing: /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h
-- Installing: /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h
-- Installing: /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h
-- Installing: /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4
checking for references to /tmp/nix-build-eigen-3.3.4.drv-0 in /nix/store/q5xnlq781hvj0skjlhnb1qw1k69pf048-eigen-3.3.4...

Success on aarch64-linux (full log)
Attempted: eigen3_3
Partial log (click to expand)
-- Installing: /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h
-- Installing: /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h
-- Installing: /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h
-- Installing: /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h
-- Installing: /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4
checking for references to /build in /nix/store/qcqkcz4r3wqnvh5gvki5z0z6b0wf6ayg-eigen-3.3.4...


Add lspconfig name support

I found a comment on #3 mentioning the idea of adding support for lspconfig names.
What's nice is that mason-lspconfig actually provides a mapping table for mason LSP names and lspconfig names and vice versa (:h mason-lspconfig.get_mappings). So while mason-registry only contains mason LSP names, simply checking the map for the appropriate mason name and then passing this new value does the job.
This change does make mason-tool-installer rely on mason-lspconfig, but if mason-lpconfig does not exist, the lspconfig name lookup is skipped. (I assume if you don't have mason-lspconfig, you aren't using lspconfig names anyway.)

This looks good. Would you mind including a README.md change that explains this?

Sounds good. I added comments to the README covering both of your points.

That looks good. Thanks again.


ios delegate dealloc

I found an issue with ios filepicker and application switch to backround.
Steps to reproduce :

Open the file picker
Move application to background
Open application File
Move Fle to background
Open application
Click on filepicker "Cancel" button

Fist time, DocumentPickerDelegate.prototype.documentPickerWasCancelled is triggered, and the application receive empty array. Second time, DocumentPickerDelegate.prototype.documentPickerWasCancelled  is not triggered
It's look like an issue related to delegate dealloc.
This code seems to fix the issue,  I define a variable 'let delegate;', that is initialised with the DocumentPickerDelegate.initWithResolveReject :
export function openFilePicker(params) {
    let documentTypes;
    if (params.extensions && params.extensions.length > 0) {
        documentTypes = Utils.ios.collections.jsArrayToNSArray(params.extensions);
    }
    // the delegate to avoir dealloc issue
    let delegate;
    return new Promise((resolve, reject) => {
        // store delegate
        delegate =  DocumentPickerDelegate.initWithResolveReject(resolve, reject) as any;
        controller.delegate = delegate;

Hello,
Can you publish a new version in npm registry ?
Thanks

@alexist just published 1.1.5


Support multi-paragraph footnotes

Asciidoctor natively accepts only one-line footnotes, because it uses an inline formatting macro. Implementing multiple paragraph footnotes would require an Anchor model, just as is being projected for reviewer comments.

http://discuss.asciidoctor.org/footnotes-with-paragraph-breaks-td4130.html
Asciidoctor excludes them by design, with a stupendously short-sighted view of document structure. (Asciidoctor is an authoring system, not a style nanny.) The ISOXML syntax already permits multi-para footnotes, and the isodoc renderer more or less deals with them. We just don't have a way of getting multi-para footnotes into ISOXML using Asciidoc; and while I could make up custom blocks to do it, I'm not eager to break Asciidoc to do it. @ronaldtse, you ok if I drop this ticket, since it ends up being Asciidoc-specific?

Yeah we can drop this then. Can you add a note to README to indicate that this is an Asciidoctor caveat?


No back button on Windows to get back to the Discover page

When running the .NET MAUI (not Blazor) version of .NET Podcasts on Windows, there doesn't appear to be a way to get back to the Discover page after selecting a podcast. There's no back button anywhere like there is on mobile:

Clicking on the Discover tab doesn't help.

Aha! Apparently, the back button is there, it just doesn't show up in light mode, but it does in dark mode:

So this is just a styling issue.

I guess this relates with https://github.com/dotnet/maui/issues/11127

I don't see this issue now in .NET 7


ModuleNotFoundError: No module named 'data'

Hey, guys! Your work looks pretty cool.  I am doing some research which is based on your work.
I try running your code, but it raises an error, "ModuleNotFoundError: No module named 'data'". It seems that your code is incomplete. Could you please share the complete code for us?
Thank you!

i find the lost directories in the retinaface repository: https://github.com/biubug6/Pytorch_Retinaface/tree/master.
Hope it helps！


Gnome race traits duplicated on Rock Gnome subrace

Rock Gnome has Darkvision and Gnome Cunning traits listed:
https://github.com/bagelbits/5e-database/blob/d3ff744c6e03a31074790e6ee195981e3893a34b/src/5e-SRD-Subraces.json#L244-L251
Per SRD these are Gnome race traits, they are not specific to the Rock Gnome subrace.
Gnome race data does have them too.

That seems like something that should be removed from the subrace since it's redundant.


fix(prefect-server): better support for internal and external database configs

Summary
This will be a breaking change, so we should release this in a new major version. The configuration keys have moved around. If we really need to, we can try to build in some backwards-compatibility, but that always ends up looking pretty rough in Helm.
Ensures that the PostgreSQL Secret is created, even if postgresql.enabled=false. This ensures that we support a use case where folks want to use an external instance of PostgreSQL, but still want the Secret to automatically be generated with the proper connection string.
With a recent change, we would skip creation of this secret if PostgreSQL was disabled which forced users to create a Secret themselves. This change now allows them to continue providing the auth values and letting the chart build the Secret with the correct connection string.
I ended up needing to go a step further by removing any custom configuration that was injected under the postgresql key, which should be dedicated to overriding default values from the PostgreSQL chart. There's now a new secret key, which aligns with the other top-level keys (deployment, service, etc.). These values will be considered if postgresql.enabled=false.
Closes https://github.com/PrefectHQ/prefect-helm/issues/358
Follow-up to https://github.com/PrefectHQ/prefect-helm/pull/341.
Testing
See the added test suite.

@ahgraber @tmyhu @MRocholl - I believe this should cover all the use cases you mentioned. Could you please give this a look when you have a moment and let me know if this needs any tweaking?
Trying to make it flexible enough to cover all use cases while keeping it as consistent/straightforward as possible. Thanks!

@mitchnielsen it looks good to me, but won't make any difference for our use case since we are using SQLite. I assume that's not something you really want to support specifically since there is no hint about it anywhere in the helm chart I could see? We should probably migrate to PostgreSQL anyway, but for now I'm happy to continue creating the secret and connection string manually for SQLite.

@mitchnielsen Thanks for this effort!
The output connection string from the test deployment's secret is missing the hostname in the database address; will that still be pulled in from postgresql.externalHostname?  If so, I believe this covers the requested use case.

it looks good to me, but won't make any difference for our use case since we are using SQLite. I assume that's not something you really want to support specifically since there is no hint about it anywhere in the helm chart I could see? We should probably migrate to PostgreSQL anyway, but for now I'm happy to continue creating the secret and connection string manually for SQLite.

@tmyhu fair point. We have this in mind and are tracking in https://github.com/PrefectHQ/prefect-helm/issues/345. I'd like to provide the auth configuration outside of the context of the postgresql key to make the configuration more clear, and open the door for supporting SQLite since we provide that information in our self-hosted docs. That said, moving to PostgreSQL is probably the ideal longer-term move.

@ahgraber great call-out, let me see if I can make a minimal change to make that configuration supported. If not, may need to jump ahead to providing this config outside of the postgresql key because of how some of the nested templates are used.

@ahgraber @tmyhu @MRocholl - alrighty, bit of a rework here to make sure we have proper support for either internal or external database configuration. For some examples of the configuration you'd provide, check out the updated docs or the unit test file. Welcoming any feedback here 🤝

@mitchnielsen sorry for the late reply. These changes should satisfy the requirements I believe 👍  Thx for the great work

sorry for the late reply. These changes should satisfy the requirements I believe 👍 Thx for the great work

@MRocholl - no worries at all, thank you for confirming 🤝


Add BeforeDelete to GuildMemberRemove struct

Added a Member copy in the GuildMemberRemove event, just like MessageDelete and GuildDelete.

Is there any reasons not to merge this PR?


added cncf-white.png and cncf-black.png in [docs/assets/img/readme/] an…

…d changed README.md
Signed-off-by: KrishAryan<EMAIL_ADDRESS>Description
Added cncf-white.png and cncf-black.png in [docs/assets/img/readme/] and changed changed README.md
This PR fixes #5538
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit d6c9e6567fe0140e2ce6ed31cd72f0529bd52d1d at: https://628f38d3b2a618396d12b2e5--meshery-docs-preview.netlify.app

@leecalcote I used a different method using #gh-dark-only and #gh-light-only for ex-

is it ok?

@karnatisrinivas thanks

Good work, @KrishAryan. You got it. 👍

sorry, I didn't know how to download SVGs so I went with PNGs .@leecalcote please review it again I have changed them into SVGs

🚀 Preview for commit 17ed84aa2e6806db77a544b9fea273a1203ab465 at: https://629192cb27be7e2896f7a120--meshery-docs-preview.netlify.app


Edit SplitTag.ipynb

Made changes to COS's SplitTag.ipynb. Commented code, adhered to PEP8, added section for regular interval plots.

Hi @srosagomez,
Thank you for making the updates to the notebook to align with the Pep8 style guidelines. However, I just wanted to let you know that there are still a few things that need some tweaking. Also, I noticed that some of the plots might be difficult for certain users to differentiate because they use red and green together. To make sure that everyone can access the information in our notebooks, it would be great if we could use different colors for those plots. Thanks!

I have updated the code cells to ensure the notebook executes top to bottom and is valid after several runs.


Revert "Populate top-level display data in yaml main."

Might be cause of doctest failures.
Reverts apache/beam#28512

R: @AnandInguva


Error: Invalid language: es-419

What are the steps to reproduce?
Set browser language to Spanish (Latin America).
What happens?
When loading Node-Red Editor, the Runtime shows "Error: Invalid language: es-419".
The page freeze "Loading Node Catalog".
The bug is not present if Language in browser is set to English.
Here the complete console error:
Error: Invalid language: es-419
at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/api/nodes.js:410:24
at new Promise ()
at Object.getModuleCatalogs (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/api/nodes.js:405:16)
at getModuleCatalogs (/usr/lib/node_modules/node-red/node_modules/@node-red/editor-api/lib/admin/nodes.js:177:26)
at Layer.handle [as handle_request] (/usr/lib/node_modules/node-red/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/lib/node_modules/node-red/node_modules/express/lib/router/route.js:137:13)
at /usr/lib/node_modules/node-red/node_modules/@node-red/editor-api/lib/auth/index.js:69:28
at complete (/usr/lib/node_modules/node-red/node_modules/passport/lib/middleware/authenticate.js:268:13)
at /usr/lib/node_modules/node-red/node_modules/passport/lib/middleware/authenticate.js:275:15
at pass (/usr/lib/node_modules/node-red/node_modules/passport/lib/authenticator.js:431:14)
What do you expect to happen?
Load Node-Red Editor page.
Please tell us about your environment:

[x] Node-RED version: 1.2.8
[x] Node.js version: 12.20.1
[x] npm version: 6.14.10
[x] Platform/OS: MacOS
[x] Browser: Chrome / Safari / Chromium

Thanks for reporting. I failed to consider language codes with numbers in when adding some validation to 1.2.8.
Will have 1.2.9 published later today with a fix.

1.2.9 has now been published. Sorry for the interruption.


Support following direct steps

Please describe the feature that you want to propose
maybe by double-clicking on a direct step, it would be nice to select an dput focus to the target direct element.
For consumer, take care that there can have many steps and we would need to let user choose.
This can be done in the same file initially.
Another iteration searching in a whole workspace.

this is a sub-part of https://github.com/KaotoIO/kaoto/issues/1613 (only for direct, not for rest)


Workflow assistance npm link

Hi,
I've a currently a main shell package, and then a plugin package.  Both use React which I have set as a peerDependency.
I want to be able to develop the plugin standalone, so have npm install react done on it.
I then npm link it into my shell.
If I then do an npm ls in the shell project, I get the following:
$ npm ls | grep react@
├─┬<EMAIL_ADDRESS>-> e:\code\plugin-packge
│ ├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>
This ends up causing an Uncaught TypeError: Cannot read property 'firstChild' of undefined error, (see https://github.com/facebook/react/issues/2402) which is caused by 2 reacts being loaded (even though they are the same version).
Can anyone advise on how I might configure my projects to avoid this issue?  I'm hoping it can be done by config rather than change require code to https://www.npmjs.com/package/parent-require.
(Also, if I npm rm react from the plugin, and build the shell, I get..)
Module not found: Error: Cannot resolve module 'react' in e:\code\touch\parser
 @ e:/code/plugin-package/index.js 1:12-28

Thanks,
Chris

I should add that with config:
  resolveLoader: {
    modulesDirectories: ['node_modules'],
    fallback: path.join(__dirname, "node_modules")
  },
  resolve: {
    root: path.resolve(__dirname, './app'),
    fallback: path.join(__dirname, "node_modules"),
    extensions: ['', '.jsx', '.js', '.cjsx', '.coffee', '.css', '.styl']
  }

the second issue (npm rm react) is sorted, but if I then install react to work on the plugin locally, it fails again.

Did you try npm dedupe?

just did, doesn't seem to help - issues remain as above

resolve.root = path.resolve(__dirname, "node_modules").
This will prefer local install node_modules.

perfect - that sorts it - many thanks!

@chrismcv we had this problem and fixed it in a similar way in webpack (we actually used an alias for react, but it's basically the same thing), but we could never solve it for running unit tests via node (because that's not using webpack).
So just in case you have the need (or anyone else comes across this problem) to run this on node, the solution is to npm link your versions of react across projects:
cd node_modules/react
npm link
cd ../../../child-project
npm link react

This will also remove the need to have this resolve root setting in webpack.


Add pmorie to approvers

...so I can approve PRs

/lgtm

/approve

Not sure why you weren't there already.. !


TypeError: webpack_require(...).posix is undefined

This bug was already documented and tested in another github issue. See here: https://github.com/eslint/eslint/issues/14885
Bug report

What is the current behavior?
This bug was already documented and tested in another github issue. See here: https://github.com/eslint/eslint/issues/14885
If the current behavior is a bug, please provide the steps to reproduce.
This bug was already documented and tested in another github issue. See here: https://github.com/eslint/eslint/issues/14885

What is the expected behavior?
This bug was already documented and tested in another github issue. See here: https://github.com/eslint/eslint/issues/14885

Other relevant information:
webpack version:      "react": "^17.0.2",
"react-dom": "^17.0.2",
Node.js version: This bug was already documented and tested in another github issue. See here: https://github.com/eslint/eslint/issues/14885
Operating System: This bug was already documented and tested in another github issue. See here: https://github.com/eslint/eslint/issues/14885
Additional tools:

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.

You should polyfill path for web target


onMonsterDeath effects should not trigger for black slime/awakened one half-kills

EntombedOnMonsterDeathPatch just needs the same logic used in RitualDaggerAction.update():
(*) && !this.target.halfDead

Fixed by #60


Next.js v13.4.12 - not working

I import package as it says in doc
import dynamic from "next/dynamic";
const AnimatedNumbers = dynamic(() => import("react-animated-numbers"), {
  ssr: false,
});

my usage:
                  <AnimatedNumbers
                    animateToNumber={item.number}
                    configs={(number, index) => {
                      return {
                        mass: 1,
                        tension: 230 * (index + 1),
                        friction: 140,
                      };
                    }}
                  />

but nothing changes, numbers stay on zero.

That may be out of date. Just 'use client'; at top of file and import like normal

same issue on Next.js v13.5.3. . Other configuration works but the numbers displayed is all 0

same issue on Next.js v13.5.3. . Other configuration works but the numbers displayed is all 0

Yes same for me on v13.5.4... I think this is related to the App router only as im 99% sure i had it working on a similar project using a page router...

@GreatPotato @mclapd @nikkizol https://github.com/heyman333/react-animated-numbers/issues/51#issuecomment-1742257182 have you tried this?

marking the whole component as 'use client'; does not work for me, even combined with next/dynamic.

I'm guessing that all numbers having translateY(0) is not right.
next v14.0.1

That's strange. I confirmed that it works as shown in the attached video.
https://github.com/heyman333/react-animated-numbers/assets/22214150/43fb6b18-1a7d-45f5-99f1-c3842aca1e55
version: "next": "13.4.19",
example code
"use client";

import AnimatedNumber from "react-animated-numbers";

export const Number = () => {
  return (
    <AnimatedNumber
      animateToNumber={123132}
      configs={(number, index) => {
        return {
          mass: 1,
          tension: 230 * (index + 1),
          friction: 140,
        };
      }}
    />
  );
};

you don't have to use dynamic import if you use 'use client'

Tried a fresh next.js project with 13.5.1 and it does not work. I get the following error:
 X node_modules/react-animated-numbers/dist/index.js (1:366) @ eval
 X ReferenceError: self is not defined
    at __webpack_require__ (/home/projects/stackblitz-starters-k6zw5j/.next/server/webpack-runtime.js:33:42)
    at eval (./app/Number.tsx:7:80)
    at (ssr)/./app/Number.tsx (/home/projects/stackblitz-starters-k6zw5j/.next/server/app/page.js:151:1)
    at __webpack_require__ (/home/projects/stackblitz-starters-k6zw5j/.next/server/webpack-runtime.js:33:42)
null

I have marked the component as client-only with the "use client"; directive.
You can take a look at the project on stackblitz

@ItzDerock
Oh, I checked too. I confirmed that using framer-motion solves the problem, I will fix it when I have time.
you can refer to https://github.com/heyman333/react-animated-numbers/pull/50 this

Updated library to use framer-motion. Please check again with v0.17.0

so for me everything works, but I still get the error:
node_modules\react-animated-numbers\dist\index.js (1:298) @ self
 ⨯ ReferenceError: self is not defined
    at __webpack_require__ (C:\repos\letslnob\.next\server\webpack-runtime.js:33:42)
    at eval (./src/components/animatednumbersdisplay.js:7:80)
    at (ssr)/./src/components/animatednumbersdisplay.js (C:\repos\letslnob\.next\server\app\spenden\page.js:327:1)
    at __webpack_require__ (C:\repos\letslnob\.next\server\webpack-runtime.js:33:42)

I'm on 0.17.1

I also get this error on 0.17.1 and 0.17.0

same error using
"next": "14.1.0",
"react": "^18",
"react-animated-numbers": "^0.18.0",

Hi at local its working fine in Next JS 14.1.0 but during build it throws the following error
 ⨯ node_modules/react-animated-numbers/dist/index.js (1:298) @ self  ⨯ ReferenceError: self is not defined

Giving me the same error in NEXT JS 14.1.1.
 ⨯ node_modules/react-animated-numbers/dist/index.js (1:298) @ self ⨯ ReferenceError: self is not defined

@arxkdev , I used the following to import and it worked like charm for me
"use client"
const AnimatedNumbers = dynamic(() => import("react-animated-numbers"), {
ssr: false,
});
and then you can use as normal component
<AnimatedNumbers
includeComma
transitions={(index) => ({
type: "spring",
duration: index + 0.3,
})}
animateToNumber={1000}
/>

@VikasOodles23 This worked. Thanks!


Unable to run non-privileged mode on arm64 nodes (AWS graviton) on AWS EKS

Was unable to run calico in non-privileged mode on arm64 nodes (AWS graviton) on AWS EKS (Using calico only for Network Policies).
Privileged mode works fine on arm64 nodes tho, and non-privileged mode works fine on amd64 nodes.
Expected Behavior

Calico nodes should work fine in non-privileged mode on arm64, just as it works on amd64.
Current Behavior

Calico nodes don't get into ready state, They keep receiving the following kernel permission error.
2022-07-28 14:13:35.569 [INFO][2043] felix/ipsets.go 312: Retrying after an ipsets update failure... family="inet"
2022-07-28 14:13:35.570 [ERROR][2043] felix/ipsets.go 574: Bad return code from 'ipset list'. error=exit status 1 family="inet" stderr="ipset v7.11: Kernel error received: Operation not permitted\n"
2022-07-28 14:13:35.570 [WARNING][2043] felix/ipsets.go 322: Failed to resync with dataplane error=exit status 1 family="inet"

Steps to Reproduce (for bugs)

Spin an EKS 1.22 cluster with arm64 AWS Graviton nodes.
Deploy calico v3.23.3 via helm with the following values.

installation:
  enabled: true
  kubernetesProvider: EKS
  cni:
    type: AmazonVPC
  nonPrivileged: Enabled

Context

Privileged containers are avoided as much as possible in our organization's environment, for security reasons. And they must be very well justified.
Am I missing something, or there is still a lack of support for arm64 in non-privileged mode?
Your Environment

Calico version: 3.23.3
Orchestrator version: EKS 1.22
Operating System and version: Amazon Linux 2 - ami-0dff8c6d4d1dc8ff0 (k8s: 1.22.9, docker: 20.10.13-2.amzn2, containerd: 1.4.13-3.amzn2)
Instance types: c6g.large, t4g.medium

Thank you for your time!!

@mgleung could you take a look at this?

Oops, looks like the non-privileged changes were only made for amd64. We will need to port over a lot of the permission changes in the image (https://github.com/projectcalico/calico/blob/master/node/Dockerfile.amd64#L180-L193) as well as a few other lines (setting the SUID bit) in order to make this work for arm64.

I believe that https://github.com/projectcalico/calico/pull/6637 should fix this up.

Guessing we still need this for other architectures though @mgleung ?

Guessing we still need this for other architectures though

Yup, we'll need to eventually get similar changes for the other architectures but this should handle arm64.


Create a timeline

Add a list of all your activities, achievements, work experience. Add as much info as you can remember. In case you don’t have working experience tell about your pet-projects or student projects. Don’t be shy :)

Added a list of my pet projects and achievements.


feat: add workflow to trigger external pipeline for publishing lambda layers

Issue # , if available: #25
Description of changes:
Add workflow to publish latest release to Serverless Application Repository. This workflow will pass the release version parameter to ssm and start the pipeline within an internal AWS account. The GitHub secrets will be added separately. The code pipeline will package and publish the layer under the name aws-lambda-powertools-python-layer.
I would like to add documentation where to find the layer in SAR, how to find the right version, deploy and use it, but I am not sure to where to put the content. Docs, README.md or a dedicated .md file with a link in README.md?
Checklist

[x] Meet tenets criteria
[ ] Update tests
[x] Update docs
[x] PR title follows conventional commit semantics

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is awesome - Thanks for doing that ;)
As to the docs, you can add that in the homepage under Installation: https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/docs/content/index.mdx
Create a sub-heading called Lambda Layer to give customers a dedicated heading to link to, and space to expand instructions you may need.

I seem to not have access to commit these changes while Alex is off... I'm merging as-is, and will submit the changes in a separate commit to develop branch directly


fix(ClientRequest): suppress the "EHOSTUNREACH" connection error

Related to #454

When testing on Node.js 18.14.2, I get a different error from the ENETUNREACH test case:
[Error: connect EHOSTUNREACH 2607:f0d0:1002:51::4:80 - Local (:::59828)]

This may be related to different versions of Node.js. I'm adding the EHOSTUNREACH error to the list of suppressed errors as well.

Released: v0.25.7 🎉
This has been released in v0.25.7!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


NavList::Section show_more_item slot uses Primer CSS class

👋 Hello! I am unable to use the show_more_item slot of the NavList::Section component because it is using a Primer CSS class under the hood, which causes the System Arguments exception to throw:

I can try to cut a PR to fix this tomorrow but wanted to flag this!

Woops, sorry about this @strackoverflow! I'm taking a look now.

Thank you, I appreciate it!


WIP Reclaimer

WIP branch for Reclaimer https://github.com/Geo-Web-Project/core-contracts/issues/51

important aspected of this so far are:

getting the startTime for the reclaimer - I made this helper on the superapp thinking it marks the timestamp when the currentBid owner defaulted on their payment..

not sure what to do in the claim method since it looks like the superapp already takes care of license.safeTransfer to the new bidder

claimPrice claculation - current logic for the claimPrice calculation

@codynhat i updated based on your feedback - wondering if you aggree with these changes:
get correct reclaim start time
Update claimdata for calculating reclaim price
if you agree with these changes - ill move on to writing tests


Install latest version of dependencies rather than the minimum version

install-plugins.sh currently installs the version of the plugin dependencies specified in the MANIFEST.MF. This behavior does not match the one of the Jenkins web interface which installs the latest version. This patch changes install-plugins.sh to work the same way as the Jenkins web interface.
Some tests breaks in my setup, but they also break when running them on the unmodified code. Might something wrong in my setup?
# bats tests
 ✓ build image
 ✓ versionLT
 ✓ build image
 ✓ clean test containers
 ✓ test multiple JENKINS_OPTS
 ✓ test jenkins arguments
 ✓ create test container
 ✓ test container is running
 ✗ Jenkins is initialized
   (from function `retry' in file tests/test_helpers.bash, line 41,
    in test file tests/tests.bats, line 43)
     `retry 30 5 test_url /api/json' failed
   Command "test_url /api/json" failed 30 times. Status: 1. Output: URL http://localhost:32779/api/json failed
   output:
 ✗ JAVA_OPTS are set
   (from function `assert' in file tests/test_helpers.bash, line 20,
    in test file tests/tests.bats, line 48)
     `assert 'default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';' \' failed
   curl: (7) Failed to connect to localhost port 32779: Connection refused
   expected: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';"
   actual:   ""
 ✓ plugins are installed with plugins.sh
 ✓ plugins are installed with install-plugins.sh
 ✓ plugins are installed with install-plugins.sh even when already exist
 ✓ clean test containers
 ✗ plugins are getting upgraded but not downgraded
   (from function `assert_success' in file tests/test_helper/bats-assert/src/assert.bash, line 114,
    in test file tests/tests.bats, line 113)
     `assert_success' failed

   -- command failed --
   status : 1
   output (2 lines):
     touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied
     Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?
   --

 ✓ clean work directory
 ✗ do not upgrade if plugin has been manually updated
   (from function `assert_success' in file tests/test_helper/bats-assert/src/assert.bash, line 114,
    in test file tests/tests.bats, line 144)
     `assert_success' failed

   -- command failed --
   status : 1
   output (2 lines):
     touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied
     Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?
   --

 ✓ clean work directory

18 tests, 4 failures

Note that the diff in github is screwed up (the highlighted lines are off by one), probably because of the carriage return character in resolveDependencies. You should really consider solving the replacing of the character in some other way (edit: see https://github.com/jenkinsci/docker/pull/329). To help see the changes in this screwed up diff they are explained below:

Rename versionToInstall to minVersion.
Pass "latest" rather than $minVersion to download.
Removed trailing spaces (done by my editor)

@netrounds-fredrik, this seems to solve the problem described in issue #327
I will try your script in my particular use case and let you know.

@netrounds-fredrik
I just tried your new script but had a failure ( I didn't investigate further): sed: unmatched '#' as you can see from the build output.
I tested it the following way:
Copied your new script from your repo to my dockerfile directory,
Adapted Dockerfile to copy it in the image just before executing the install-plugin.
Might have more time tonight to test more and find where the issue might come from.
Jmm
[root@ns360684 docker]# docker-compose build --no-cache jenkins
Building jenkins
Step 1 : FROM jenkins:alpine
 ---><PHONE_NUMBER>de
Step 2 : COPY install-plugins.sh /usr/local/bin/install-plugins.sh
 ---> 6b4fe24a3877
Removing intermediate container dd8df5a1de9c
Step 3 : RUN /usr/local/bin/install-plugins.sh github-oauth
 ---> Running in 6026832d406f
Creating initial locks...

Analyzing war...

Downloading plugins...
Downloading plugin: github-oauth from https://updates.jenkins.io/download/plugins/github-oauth/latest/github-oauth.hpi
sed: unmatched '#'
 > github-oauth has no dependencies

Cleaning up locks
 ---> dc703ad00322

I tested the changes in a similar way:
docker run jenkins

And in another terminal:
$ docker cp install-plugins.sh <container id>:/usr/local/bin/install-plugins.sh
$ docker exec <container id> install-plugins.sh github-oauth
Creating initial locks...

Analyzing war...

Downloading plugins...
Downloading plugin: github-oauth from https://updates.jenkins.io/download/plugins/github-oauth/latest/github-oauth.hpi
 > github-oauth depends on mailer:1.4,git:2.0.3,github-api:1.69
Downloading plugin: mailer from https://updates.jenkins.io/download/plugins/mailer/latest/mailer.hpi
Downloading plugin: git from https://updates.jenkins.io/download/plugins/git/latest/git.hpi
Downloading plugin: github-api from https://updates.jenkins.io/download/plugins/github-api/latest/github-api.hpi
 > mailer has no dependencies
 > github-api has no dependencies
 > git depends on git-client:1.19.6,ssh-credentials:1.11,matrix-project:1.6,scm-api:1.0,credentials:1.25,workflow-scm-step:1.14.2,parameterized-trigger:2.4;resolution:=optional,token-macro:1.11;resolution:=optional,promoted-builds:2.25;resolution:=optional,mailer:1.16
Downloading plugin: git-client from https://updates.jenkins.io/download/plugins/git-client/latest/git-client.hpi
Downloading plugin: ssh-credentials from https://updates.jenkins.io/download/plugins/ssh-credentials/latest/ssh-credentials.hpi
Downloading plugin: matrix-project from https://updates.jenkins.io/download/plugins/matrix-project/latest/matrix-project.hpi
Downloading plugin: scm-api from https://updates.jenkins.io/download/plugins/scm-api/latest/scm-api.hpi
Downloading plugin: credentials from https://updates.jenkins.io/download/plugins/credentials/latest/credentials.hpi
Skipping optional dependency parameterized-trigger
Downloading plugin: workflow-scm-step from https://updates.jenkins.io/download/plugins/workflow-scm-step/latest/workflow-scm-step.hpi
Skipping optional dependency token-macro
Skipping optional dependency promoted-builds
 > ssh-credentials depends on credentials:1.21
 > workflow-scm-step depends on workflow-step-api:1.15
Downloading plugin: workflow-step-api from https://updates.jenkins.io/download/plugins/workflow-step-api/latest/workflow-step-api.hpi
 > scm-api has no dependencies
 > matrix-project depends on junit:1.2,script-security:1.13
Downloading plugin: junit from https://updates.jenkins.io/download/plugins/junit/latest/junit.hpi
Downloading plugin: script-security from https://updates.jenkins.io/download/plugins/script-security/latest/script-security.hpi
 > credentials has no dependencies
 > workflow-step-api depends on structs:1.3
Downloading plugin: structs from https://updates.jenkins.io/download/plugins/structs/latest/structs.hpi
 > script-security has no dependencies
 > junit depends on structs:1.2
 > structs has no dependencies
 > git-client depends on ssh-credentials:1.12

Cleaning up locks

I have rebased this PR since https://github.com/jenkinsci/docker/pull/329 now has been merged, so now it's possible to read the diff. Could the evil carriage return character have messed up your version of install-plugins.sh? Try again now that it's gone.

OK @netrounds-fredrik, I will try again tomorrow morning.
It might be the culprit.
I am using "raw" display to copy the file and paste it in the Dockerfile directory. Will maybe do a git clone of your repo to be sure to have the correct version.
Jmm

I confirm that your PR works, @netrounds-fredrik.
I copied your version of the script after cloning your repo to avoid any formatting issues.
I checked the effectively installed version via the UI and mailer and git (at least) have the expected version.
In my humble opinion, the PR could be merged as the automated test also works.
Jmm
This is the output of my test:
[root@ns360684 docker]# docker-compose build --no-cache jenkins
Building jenkins
Step 1 : FROM jenkins:alpine
 ---><PHONE_NUMBER>de
Step 2 : COPY install-plugins.sh /usr/local/bin/install-plugins.sh
 ---> a3aa5ac04fbd
Removing intermediate container 75387c76bbdc
Step 3 : RUN /usr/local/bin/install-plugins.sh github-oauth
 ---> Running in d024686111a4
Creating initial locks...

Analyzing war...

Downloading plugins...
Downloading plugin: github-oauth from https://updates.jenkins.io/download/plugins/github-oauth/latest/github-oauth.hpi
 > github-oauth depends on mailer:1.4,git:2.0.3,github-api:1.69
Downloading plugin: mailer from https://updates.jenkins.io/download/plugins/mailer/latest/mailer.hpi
Downloading plugin: git from https://updates.jenkins.io/download/plugins/git/latest/git.hpi
Downloading plugin: github-api from https://updates.jenkins.io/download/plugins/github-api/latest/github-api.hpi
 > mailer has no dependencies
 > git depends on git-client:1.19.6,ssh-credentials:1.11,matrix-project:1.6,scm-api:1.0,credentials:1.25,workflow-scm-step:1.14.2,parameterized-trigger:2.4;resolution:=optional,token-macro:1.11;resolution:=optional,promoted-builds:2.25;resolution:=optional,mailer:1.16
Downloading plugin: git-client from https://updates.jenkins.io/download/plugins/git-client/latest/git-client.hpi
Downloading plugin: ssh-credentials from https://updates.jenkins.io/download/plugins/ssh-credentials/latest/ssh-credentials.hpi
Downloading plugin: matrix-project from https://updates.jenkins.io/download/plugins/matrix-project/latest/matrix-project.hpi
Downloading plugin: scm-api from https://updates.jenkins.io/download/plugins/scm-api/latest/scm-api.hpi
Downloading plugin: credentials from https://updates.jenkins.io/download/plugins/credentials/latest/credentials.hpi
Skipping optional dependency parameterized-trigger
Downloading plugin: workflow-scm-step from https://updates.jenkins.io/download/plugins/workflow-scm-step/latest/workflow-scm-step.hpi
Skipping optional dependency token-macro
Skipping optional dependency promoted-builds
 > github-api has no dependencies
 > workflow-scm-step depends on workflow-step-api:1.15
Downloading plugin: workflow-step-api from https://updates.jenkins.io/download/plugins/workflow-step-api/latest/workflow-step-api.hpi
 > matrix-project depends on junit:1.2,script-security:1.13
Downloading plugin: junit from https://updates.jenkins.io/download/plugins/junit/latest/junit.hpi
Downloading plugin: script-security from https://updates.jenkins.io/download/plugins/script-security/latest/script-security.hpi
 > credentials has no dependencies
 > scm-api has no dependencies
 > ssh-credentials depends on credentials:1.21
 > git-client depends on ssh-credentials:1.12
 > script-security has no dependencies
 > junit depends on structs:1.2
Downloading plugin: structs from https://updates.jenkins.io/download/plugins/structs/latest/structs.hpi
 > workflow-step-api depends on structs:1.3
 > structs has no dependencies

Cleaning up locks
 ---> 6a898d4cd1cb
Removing intermediate container d024686111a4
Step 4 : COPY enableGitHubOAuth.groovy /usr/share/jenkins/ref/init.groovy.d/enableGitHubOAuth.groovy.override
 ---> 17de85b5a8a3
Removing intermediate container 9563d338c544
Successfully built 17de85b5a8a3
[root@ns360684 docker]

Just for the record, when dealing with a script or a file like this, and a Docker image, you can use the ADD commands that have more behaviors than COPY, especially downloading a file and copying it within the image.
=> Just browse to the file from the (repo+ branch) originating the PR, click the "RAW" button to have the complete path to the file:

By commit: https://raw.githubusercontent.com/netrounds-fredrik/docker/0071e0983bc2caffc21f027e1d00ca8e3c78d887/install-plugins.sh for example.
BY "latest of the PR originating branch": https://github.com/netrounds-fredrik/docker/blob/latest_dependencies/install-plugins.sh

=> Then:
# Fix versions :)
FROM jenkins:2.7.1-alpine

# Will make a netowkr request. If file did not change, should not download it, but to be confirmed with officiel Docker documentation
ADD https://github.com/netrounds-fredrik/docker/blob/latest_dependencies/install-plugins.sh /usr/local/bin/install-plugins.sh

# Enforce rights
RUN chmod 0755 /usr/local/bin/install-plugins.sh


Problem running with SGX

The Run with SGX page says "use the command python3.6 runserver.py --sgx [true]," which doesn't work, and shows:
usage: runserver.py [-h] [-w WORKING_DIR] [-c FUNCTION_CMD]
                    [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                    [host] [port]
runserver.py: error: unrecognized arguments: --sgx

The documentation from the repo says "use the command ./runserver.py -c 'graphene-sgx/pal_loader graphene-sgx/manifest'," which successfully starts the server. However, when I run test_hello_world, it shows the following error:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/ubuntu/497/install/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "./runserver.py", line 33, in run
    self.instance= self.handler.handle_requests()
  File "/home/ubuntu/497/bento/bento/server/core/handler.py", line 122, in handle_requests
    self._handle_execute_request(request)
  File "/home/ubuntu/497/bento/bento/server/core/handler.py", line 153, in _handle_execute_request
    new_instance= instance_mngr.create(exec_data)
  File "/home/ubuntu/497/bento/bento/server/core/instance_mngr.py", line 31, in create
    new_instance= Instance(function_id, exec_data)
  File "/home/ubuntu/497/bento/bento/server/core/instance_mngr.py", line 75, in __init__
    self._execute(exec_data)
  File "/home/ubuntu/497/bento/bento/server/core/instance_mngr.py", line 89, in _execute
    self.function_proc= subprocess.Popen(cmd, stdout=outbuff, stdin=subprocess.PIPE, stderr=errbuff)
  File "/home/ubuntu/497/install/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/home/ubuntu/497/install/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'graphene-sgx/pal_loader': 'graphene-sgx/pal_loader'

I found that bento/bento/server/graphene-sgx/pal_loader is a symbolic link to /home/vanilla/sgx/graphene/Runtime/pal_loader, so I changed it to a symbolic link to graphene/Runtime/pal_loader, where graphene is the cloned graphene repo. I started the server and run test_hello_world again. This time it shows the following error:
ERROR:  (29c5c548-5876-41ad-bcf7-c05b246b13ef) Execution error:
 Running from repository is broken. Please install Graphene using Meson.
See https://graphene.readthedocs.io/en/latest/building.html for details.

DEBUG:  (29c5c548-5876-41ad-bcf7-c05b246b13ef) function dead
ERROR:  failed to recv header

I followed all the instructions in the quickstart of the graphene documentation when installing it, and the build was successful. How shall I solve the problem and run bento with SGX support? Thank you.

The error is from Graphene-SGX not bento --- if you open up the pal_loader file, you can see that there is a part where they use INT_GIT to detect whether you are using Graphene the way they wanted. You can try to comment out that part and try again


Use requests library and bump versions

Takes into use the requests library for downloading a file.
Small refactors for better readability.
Bumps library versions to the latest.

Tested and worked flawlessly:


Update license attribute

specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

Since this repo does not seem to be accepting pull requests, I've forked it, added this and some other pull requests and published another node module with the updates; https://github.com/larvit/larvitslugify
I've added you to contributors because you contributed. :)


feat: update capacity reporting in cloud providers region

Description
We currently report capacity information in the /cloud_providers/{id}/region endpoint. For each region, there is a capacity object that includes information on the instance type and if the max capacity for that instance type in the region has been reached.
e.g.
{
     "kind": "CloudRegion",
      "id": "eu-west-1",
      ...
      "capacity": [
         {
              "instance_type": "standard",
              "max_capacity_reached": true
         }
      ]
},

This will no longer work with multiple sizes i.e. there could be capacity for a size 'x1' but may not have capacity for 'x2'. Instead of having this boolean value represent this, we can return a list of sizes that can still be created on that region.
The new response should look like the following:
{
     "kind": "CloudRegion",
      "id": "eu-west-1",
      ...
      "capacity": [
         {
              "instance_type": "standard",
              "max_capacity_reached": true // to be deprecated
              "available_sizes": [ "x1", "x2", ...] // it'll be an empty array if no capacity is left
         }
      ]
},

Example response:
{
    "kind": "CloudRegionList",
    "page": 1,
    "size": 22,
    "total": 22,
    "items": [
          ...
          {
              "kind": "CloudRegion",
              "id": "sa-east-1",
              "display_name": "South America, São Paulo",
              "enabled": false,
              "supported_instance_types": [],
              "capacity": []
          },
          {
              "kind": "CloudRegion",
              "id": "us-east-1",
              "display_name": "US East, N. Virginia",
              "enabled": true,
              "supported_instance_types": [
                  "standard",
                  "eval"
              ],
              "capacity": [
                  {
                      "instance_type": "standard",
                      "max_capacity_reached": false,
                      "available_sizes": [
                          "x1",
                          "x2"
                      ]
                  },
                  {
                      "instance_type": "eval",
                      "max_capacity_reached": false,
                      "available_sizes": [
                          "x1"
                      ]
                  }
              ]
          },
          ...
     ]
}

Verification Steps

Review test changes and ensure they are passing
[Optional] Manual verification:

Run KAS Fleet Manager
Create a dummy cluster on 'us-east-1'.

It should be in a ready state and supports standard,eval instance types.
Set the kafka instance limit to 0

Call the cloud_provider/aws/regions endpoint.
Look for us-east-1 in the list.

capacity should have 2 items: one for standard and one for eval. Each should have the following fields:

instance_type, max_capacity_reached and available_sizes.
available_sizes should be an empty array and max_capacity_reached should be 'true'

Modify the dummy cluster and set its kafka instance limit to 1. Restart KAS Fleet Manager

Call the cloud_provider/aws/regions endpoint again. Look for us-east-1 in the list. available_sizes for each instance types should now have "x1"

Create a standard Kafka instance.{
  "multi_az": true,
  "name": "test",
  "region": "us-east-1",
  "plan": "standard.x1"
}

Call the cloud_provider/aws/regions endpoint again. Look for us-east-1 in the list. available_sizes for each instance types should now be an empty array since capacity is now used up.

Checklist (Definition of Done)

[x] All acceptance criteria specified in JIRA have been completed
[x] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has created for changes required on the client side

Nice. @JameelB the draft PR will now only need a rebase on main to get the latest CI changes to skip draft PR.
The same will have to be done for the larger-kafka-instances branches.

I've verified your changes. The code works as expected. Will you be adding some tests @JameelB ?

I've verified your changes. The code works as expected. Will you be adding some tests @JameelB ?

Thanks for verifying @pawelpaszki! Yep, i'm working on adding some tests right now. Also need to check if existing tests needs to be modified.

@JameelB do you have some example of json returned from API handy? I want to update mock
https://github.com/redhat-developer/app-services-sdk-js/pull/320/files#diff-4a99b679a901affa1c429a9806464f90c372cbddd889385f1d471dd0b4591322

@wtrocki I've update the description of this PR with an example response.

@JameelB - I think your PR needs a rebase. I can have a final look after conflicts are resolved

thanks @pawelpaszki, should be ready now :)

thanks @pawelpaszki, should be ready now :)

I have looked through the code and verified it again. Looks good to me. @ziccardi @machi1990 - can you take a final look as well please?


Replace or augment npm strip-comments module

We use strip-comments  as part of the build process. Versions 0.4.0 and later no longer work on glsl code (presumably because they switched to using an actual JS parser which obviously can't parse glsl.
We are stuck on 0.3.2 for now and should either find and use a different module, be good Samaritans and support to glsl to strip-comments, or simply do something difference for glsl than we do for JS.

fixed in #4707


question: what does it mean if nix is trying to build bootstrap-tools?

Hi,
I have two machine configs, one builds, the other, adds some to the first, and does not build. Eventually it tries to build something that needs bootstrap-tools. And that seems to forcibly want a native builder.
Any tips on what this means, or how to resolve it? Since I'm able to cross-compile the minimal build, I could qemu boot it, or have someone remote operate my VF2 far away and do a native  build, but I'd also really like to cross-compile as much as possible.

error: a 'riscv64-linux' with features {} is required to build '/nix/store/03w7yyb2cqw3blz9biawkypig49lx2fc-bootstrap-tools.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}


Putting the calendar in a container with overflow causes chronic re-render and massive slowdown

Do you want to request a feature or report a bug?
Bug
What's the current behavior?
When putting a calendar inside a container and setting it to overflow, it continually re-renders. This is fine with a few events, but with > 1000 the entire web app slows to a halt.
GIF when calendar is not in an overflow container:
https://recordit.co/zBuqzCB2d1
GIF when calendar is in an overflow container:
https://recordit.co/FizduxL8hX
Screenshot of React profiler

What's the expected behavior?
That it won't constantly re-render due to the overflow container.

Based on the react profiler, I believe this overflow checking code inside TimeGrid is responsible:
https://github.com/intljusticemission/react-big-calendar/blob/eb6b7708d9890ea901bfd6104164bca3dc3f2e3d/src/TimeGrid.js#L279
but I don't understand it or how to fix it.


pymodbus.console do not start with version 3.7.0

When I try to start pymodbus.console I get the following error message:
ImportError: cannot import name 'ModbusBinaryFramer' from 'pymodbus.transaction' (/Users/sergiobruni/.pyenv/versions/3.12-dev/envs/panarea2/lib/python3.12/site-packages/pymodbus/transaction.py). Did you mean: 'ModbusAsciiFramer'?

Hello, same issue here. I searched the source files a little and found out that "ModbusBinaryFramer" was removed from pymodbus transtaction.py. In previous version 3.6.9 it was present. This change (or error?) is not reflected in repl. I will stick to 3.6.9 for now.

Thanks for the report, and sorry for the breakage.  It's good to know REPL has users but it's less-maintained than we'd like.
Yeah, there are at least three breaking changes from 3.6.x to 3.7.0.
(1) the removed ModbusBinaryFramer
(2) several classes in the PDU moved.  For instance, pymodbus.diag_message -> pymodbus.pdu.diag_message.
(3) the framers moved
I will try to update the code to work with 3.7.x.  In the meantime, downgrading to 3.6.9 should work fine.

❯ pymodbus.console --help
Traceback (most recent call last):
  File "/Users/sanjay/.pyenv/versions/pymodbus3.12/bin/pymodbus.console", line 5, in <module>
    from pymodbus_repl.client.main import main
  File "/Users/sanjay/.pyenv/versions/3.12.0b3/envs/pymodbus3.12/lib/python3.12/site-packages/pymodbus_repl/client/main.py", line 22, in <module>
    from pymodbus_repl.client.mclient import ModbusSerialClient, ModbusTcpClient
  File "/Users/sanjay/.pyenv/versions/3.12.0b3/envs/pymodbus3.12/lib/python3.12/site-packages/pymodbus_repl/client/mclient.py", line 9, in <module>
    from pymodbus.diag_message import (
ModuleNotFoundError: No module named 'pymodbus.diag_message'

(2) several classes in the PDU moved. For instance, pymodbus.diag_message -> pymodbus.pdu.diag_message. (3) the framers moved

@serioca @araneusdiadema Could you please give a try this branch pymodbus-3.7-changes and see if that fixes the issue ? Thanks

@serioca @araneusdiadema Could you please give a try this branch pymodbus-3.7-changes and see if that fixes the issue ? Thanks
Hi, I confirm that the changes solved the issue. REPL works for me now.

Thanks for the confirmation @araneusdiadema

@dhoomakethu  Nice job with the changes.  Don't forget to release on PyPI.

@dhoomakethu @araneusdiadema
thanks


fix: Fix handling of crashing checks

Fix #183
Fix #184
This PR does two things.

Expose check crashes by not catching all exceptions in the warnings miner

If there is a crash, we want to know about it, especially when the crash is our fault

Fix such a crash in WeakSSLContextCheck by setting the Java version number in the VisitorsBridge to 14

Setting the Java version to 14 is an imperfect fix. It could theoretically cause false positives if a project uses a lesser version of Java by suggesting fixes that aren't applicable to it. Most of these seem related to < java 8, though. But setting it too low might cause parsing issues as the parser expects a certain compliance level. As such, I think setting the version a bit too high is preferable to a bit too low at the moment.

Nice!


Added watch option (-w, --watch) for the handlebars cli.

It watches the input file(s) / dir(s), and on changes to them, it performs the precompilation all over again.
I used the 'chokidar' package for watching files and folders, and the 'color' package for outputing nice looking messages to the console.
If you don't want the ES6 stuff tell me to replace them.

I personally feel a bit controversial about this request. "chokidar" adds another 2MB to the total size of Handlebars. I have a few projects that use Handlebars and I am constantly trying to reduce the size of those projects.
I think that such a development tool should be in a separate project.
But, this is my opinion only. There may be different ones.

@nknapp Actually that bothered me too, because I was thinking the same thing, that they probably are not going to like this because there's two additional packages, So I thought it, but then damn using 'chikidar' is so easy, and I didn't have that much time, So I just wanted to put something together that works, I do this task (watching templates), a lot so I thought it would be nice if it was in the package itself.

I'm closing this. If anyone really really needs this feature, please add a comment.


V<IP_ADDRESS> pw2 -> main for 更新缺失翻译&添加了完整的类注释&文档更新 on 24/dec/29

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

Project coverage is 53.23%. Comparing base (ad93965) to head (bdce214).
Report is 2 commits behind head on main.

Files with missing lines
Patch %
Lines

f2/apps/bark/handler.py
33.33%
4 Missing :warning:

f2/dl/base_downloader.py
0.00%
4 Missing :warning:

f2/apps/weibo/handler.py
85.71%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
+ Coverage   53.18%   53.23%   +0.04%
==========================================
  Files         102      102
  Lines       11259    11279      +20
==========================================
+ Hits         5988     6004      +16
- Misses       5271     5275       +4

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


[feture] add shell detect & lower dpi support

thanks for you effort.
is it possible to set a dpi value that is less than 100%? all values >= 100 make all my app windows even large than ever.
also i hope it can write to correct shell config file rather than only .bashrc

You can manually edit the nano ~/.wsl-hidpi-suggestion after the script execution and put any value to the DPI values you want.
The current script only reads the resolution and DPI from windows and creates the environment variables needed to set the DPI.
I don't understand what you mean by 'write to correct shell config'. If you know another method to setup the DPI value you can show me this method and I can add it to the config script.
I believe the DPI configuration is a deep whole, because it is related to the RDP protocol the wslg uses. I tested some hi-dpi monitors through a default windows RDP connection, and even in the remote connection it does the correct setup of the remote screen(including the real size and the pixel size). To make a better solution, I believe the wsl driver needs to provide the EDID monitor information through the RDP to the wsl environment in a way the xrandr can read this value, that way all things could work the right way (without my script). This is my opinion.
best regards,


Add to bower

Currently, the library is not listed in bower packages

We will only be supporting npm, as that is the policy for Angular 2.


Can be used for xls excel files? Facing FormatException: Could not find End of Central Directory Record for xls file.

Hi,
I face this error while trying to read a xls excel file.
FormatException: Could not find End of Central Directory Record
Is this related to xls format? is there any way to read a xls excel file?

Could you provide an example file where the error shows up?
This will help us to investigate the issue

HI, I'm not the OP but have the same issue as them and a couple findings as well.
I got the FormatException: Could not find End of Central Directory Record when trying to run the library on a .xls that was extracted directly from a web application, and downloaded to the desktop.
Unfortunately I can't share the xls as it has proprietary info... so I deleted the stuff in the file, put in some dummy data, and resaved (still) as .xls (97-2003). However then the error changes to Unsupported operation: Excel format unsupported.  So whatever modern Excel does with saving, it seems the errors change.  Thus this may be difficult to replicate....
The web application in question that is generating the xls is rather "legacy", so it may be that older "true" ways of saving .xls had a nuance to them.  If someone had a original version of old school Excel and could make a dummy workbook, that would be the best way to test.

yup i got same error Unsupported operation: Excel format unsupported. when import .xls format @FauconSpartiate

.xls files are indeed not supported, as described in many issues that are already closed.
But @chipnetics idea of throwing the correct error to let the user know it's good, I'll try to do that when I can.

Here is a file I found that throws the original error (FormatException: Could not find End of Central Directory Record):
file_example_XLS_10.xls

Fixed in #258
(Actually not fixed, just clarified that it is not supported)

@FauconSpartiate oke thankyou


key pressed detection is not working

The key pressed detection is not working. I correct this bug in the fork project:  https://github.com/autonabee/sb3topy
A example requiring to press the key space to move the cat.
cat.sb3.zip

Yep, it looks like I miss named the events. This is now fixed on the dev branch.


Adding many segments or annotations obscures the view

Recently I've noticed that viewing many segments or annotations will shift the view of the window out of sight.
Here's a concrete example:
I start with a single segment and an empty annotation layer:

https://bit.ly/2HIoV6Z
Adding some points keeps the view consistent, but adding many points will make most of the screen black.

Each new point annotation shifts the view up and out of the frame more. Removing point annotations brings it back. I've noticed this on 2 Ubuntu machines using both Firefox and Chrome.

Chrome 74 seems to have introduced this bug again

I created an issue on google's branch. Maybe Jeremy can fix this again :D
https://github.com/google/neuroglancer/issues/137


ema downloader exit code is 0Xfffff

it looks like it is not ending well, to check!

to be investigated
F:\MDR_Logs\euctr\DL euctr 2024-08-19 162838 USING EMADL.xml.log
19/08/2024 : 16:28 :   ****** DOWNLOAD ******

19/08/2024 : 16:28 :   **** Set up ****
19/08/2024 : 16:28 :   Download event Id is 102142
19/08/2024 : 16:28 :
19/08/2024 : 16:28 :   Source_id is 100159
19/08/2024 : 16:28 :   Type_id is 103
19/08/2024 : 16:28 :   File name is F:\MDR_Sources\EMA\DL\EMADL.xml

19/08/2024 : 16:28 :   **** UNHANDLED EXCEPTION ****
19/08/2024 : 16:28 :
19/08/2024 : 16:28 :   +++++++++++++++++++++++++++++++++++++++
19/08/2024 : 16:28 :   19/08/2024 : 16:28 :   ***ERROR*** MDR_Downloader application aborted

19/08/2024 : 16:28 :   Index and length must refer to a location within the string. (Parameter 'length')

19/08/2024 : 16:28 :      at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
   at System.String.Substring(Int32 startIndex, Int32 length)
   at MDR_Downloader.euctr.EMA_Controller.ObtainDataFromSourceAsync(Options opts, Source source) in C:\Users\ecrinadmin\source\repos\MDR_Downloader\SourceSpecific\euctr\EMAController.cs:line 50
   at MDR_Downloader.SourceController.ObtainDataFromSourceAsync(Options opts, Source source, DLEvent dl) in C:\Users\ecrinadmin\source\repos\MDR_Downloader\TopLevelClasses\SourceController.cs:line 14
   at MDR_Downloader.Downloader.RunDownloaderAsync(Options opts, Source source) in C:\Users\ecrinadmin\source\repos\MDR_Downloader\TopLevelClasses\Downloader.cs:line 89
   at Program.<Main>$(String[] args) in C:\Users\ecrinadmin\source\repos\MDR_Downloader\TopLevelClasses\Program.cs:line 67
19/08/2024 : 16:28 :   +++++++++++++++++++++++++++++++++++++++
19/08/2024 : 16:28 :

19/08/2024 : 16:28 :   **** Closing Log ****

@sergiocontrino Sergio, I added a try-catch to allow the execution to terminate with an exit 0 (as the Windows Task scheduler requires to avoid the exit code 0Xfffff).
It seems to be working.
On the other hand, I was trying to improve the error message with some unique ID related to the parsed entry, but I couldn't find it (at the moment).
The function takes in input the class objects source and opts, and this is their content when the error arises:
id: 100159    // source ID - euctr
source_type: study
preference_rating: 39
database_name: euctr
repo_name: EMA
db_conn:
uses_who_harvest: False
harvest_chunk: 100
local_folder: F:\MDR_Data\euctr\
local_files_grouped: False
grouping_range_by_id: 0
local_file_prefix: EU
 and options:
SourceId: 100159
FetchTypeId: 103
dl_id: 102148   // download event id
CutoffDateAsString:
CutoffDate:
EndDateAsString:
EndDate:
FileName: F:\MDR_Sources\EMA\DL\EMADL.xml
OffsetIds:
AmountIds:
SkipRecentDays:
NoLogging:
StartPage:
EndPage:
FocusedSearchId:
PreviousSearches: System.Int32[]
previous_dl_ids:
PubMedPubs:
.

So at the moment, I am leaving the error message in the log in this way:
 $"Incorrect date format in one of the entries. Default date will be used. Detail: {ex.Message}");

which produces:
20/08/2024 : 12:49 :   ****** DOWNLOAD ******

20/08/2024 : 12:49 :   **** Set up ****
20/08/2024 : 12:49 :   Download event Id is 102145
20/08/2024 : 12:49 :
20/08/2024 : 12:49 :   Source_id is 100159
20/08/2024 : 12:49 :   Type_id is 103
20/08/2024 : 12:49 :   File name is F:\MDR_Sources\EMA\DL\EMADL.xml
20/08/2024 : 12:49 :
20/08/2024 : 12:49 :   +++++++++++++++++++++++++++++++++++++++
20/08/2024 : 12:49 :   20/08/2024 : 12:49 :   ***ERROR*** Incorrect date format extracted from file name: . Default date will be used. Detail: Index and length must refer to a location within the string. (Parameter 'length')
20/08/2024 : 12:49 :   +++++++++++++++++++++++++++++++++++++++
20/08/2024 : 12:49 :
20/08/2024 : 12:49 :   20 studies checked, 20 downloaded
20/08/2024 : 12:49 :   40 studies checked, 40 downloaded
20/08/2024 : 12:50 :   60 studies checked, 60 downloaded
20/08/2024 : 12:50 :   80 studies checked, 80 downloaded
20/08/2024 : 12:50 :   100 studies checked, 100 downloaded
20/08/2024 : 12:50 :   120 studies checked, 120 downloaded
20/08/2024 : 12:50 :   140 studies checked, 140 downloaded
20/08/2024 : 12:51 :   160 studies checked, 160 downloaded
20/08/2024 : 12:51 :   180 studies checked, 180 downloaded
20/08/2024 : 12:51 :   200 studies checked, 200 downloaded

20/08/2024 : 12:51 :   **** Download Result ****
20/08/2024 : 12:51 :   Source Id: 100159
20/08/2024 : 12:51 :   Download Event Id: 102145
20/08/2024 : 12:51 :   Start time: 20/08/2024 12:49:08
20/08/2024 : 12:51 :   End time: 20/08/2024 12:51:37
20/08/2024 : 12:51 :   Records checked: 204
20/08/2024 : 12:51 :   Records downloaded: 204
20/08/2024 : 12:51 :   Records added: 11

20/08/2024 : 12:51 :   **** Closing Log ****

Double-check that the event comes back with 0x0 Last run result and it did.

@sergiocontrino Sergio, I just noticed that the original repository has an important commit that ecrin-github/MDR_Downloader never imported.
It is concretely affecting the EMA repository.
You can have a look here:
https://github.com/ecrin-github/MDR_Downloader/compare/master...scanhamman%3AMDR_Downloader%3Amaster
As a very important improvement, I also noticed that .NET has been updated to version 8 (since version 7 is no longer supported).
If you consider importing this commit, it would require time to evaluate and test the changes.
PS is the Test environment still up? I cannot reach it.

@michelescarlato thank you for the great work. the modifications in the original code seems to be related to the ctis source (tbc) we need to add. let's check with @iPr0ger tomorrow

Great Sergio.
I also noticed that MDR Harvester has the same situation. Both commits have
been done by Steve around 12th April.
On Wed 21 Aug 2024, 08:32 sergio contrino, @.***> wrote:

@michelescarlato https://github.com/michelescarlato thank you for the
great work. the modifications in the original code seems to be related to
the ctis source (tbc) we need to add. let's check with @iPr0ger
https://github.com/iPr0ger tomorrow
—
Reply to this email directly, view it on GitHub
https://github.com/ecrin-github/MDR_FuiPortal/issues/47#issuecomment-2301239875,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTHW7TUPGKRDXUXWSNOOD3ZSQYBPAVCNFSM6AAAAABMZMPPXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRGIZTSOBXGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Make TOC work

Azure DevOps gives the option to insert a table of content. Then "[[TOC]]" is inserted in Markdown. This is not rendered in the HTML page.

DocFX shows the TOC already in the right column of a page. So the pipeline task should just remove "[[TOC]]" from the page.

Done, [[TOC]] is now removed from the page


otk: include log message when a new file is processed

When debugging an otk file failure it is very useful to know what file was last opened. This commit adds a small log message so that when using otk -v {validate,compile} the logs include the filename.

Oh, this now conflicts due to the other PR.

Oh, this now conflicts due to the other PR.

Thanks, fixed now


ReplaceBlock ignores and overwrites data values (1.11)

In an experiment, I set SurfaceAndGroundControl to use a different color STAINED_CLAY block for each integer value, and then tried replacing the various colors with grass below a certain height, and stone above a certain height, with the height different for each color.
The test failed to differentiate between the different colors, and when I looked in the .bc file, all the STAINED_CLAY:# blocks had been replaced with normal STAINED_CLAY.

@iiegit Does this occur with latest build?


enh: update models to do more validation checks

This improves a bunch of validation specs for publish.  However, the current implementation is completely predicated on production servers and prefixes.
Calling this a draft for now while we think about how to get info about the domain in which the schema is running. technically for most users everything should validate against the production sites. but devs may need other things.

related to: https://github.com/dandi/dandi-api/issues/349

adding release tag. @dchiquito - any comments on this PR? otherwise will merge.


feat: upgrade power_linux_sap roles

Description

Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

@ludwig-mueller please update the toc-version, last modified and version to 2.2.0. Also do a commit with SKIP UGRADE TEST: landing zone version upgrade"

/run pipeline

@ludwig-mueller sync with @stafaniasaju and include powervs_os_registration role and set fls true for checks to be performed.
Also keep in mind how to support BYOL (username and password for custom os images)

PR for powervs_os_registration on instance repo is open, will update this repo to new version once that's merged
Integration of byol in this repo and in instance needs further discussion

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

GitHub release
v3.2.0

Your semantic-release bot :package::rocket:


JAXB integration tests failing if locale different from EN

Tests fail if locale is different form EN

To reproduce
export LANG=fr_FR
then do mvn clean test of JAXB integration tests

Hello @zbendhiba, I would like to work on this issue.Please correct me if any mistakes are made.

Hello @spatnity feel free to work on this issue.


Check UCSC / ensebl notation

If you load cooler_file.matrix(balance=False, sparse=True).fetch(chrom) but you do not know if the cooler file you are opening contains UCSC or ensebl annotated chromosomes, it crashes if you pick the wrong format.
It would be nice to have a feature like a conversion to the other format in case it fails and another try to load it. The implementation as it is returns a  ValueError: Unknown sequence label: chrX which is either caused by the wrong format or because the value is really not there.

I agree. Incompatibility of UCSC and Ensembl style names are frustrating to no end. It doesn't help that sometimes the assemblies do differ! (e.g. hg19 uses a different mitochondrial reference than GRCh37).
I like the idea of automatic retry, though. Another thing that would help is reference name replacement, which should be easy to implement.

Reopening. This hasn't been implemented yet, but in-place scaffold renaming will be available soon as an alternative.

Is this already implemented?

yes: https://cooler.readthedocs.io/en/latest/api.html#cooler.rename_chroms


Feat/quick fix for types

Fixes #40314
It's easy to fix the code below.
before:
declare let a: numbers;
declare let b: Numbers;
declare let c: objects;
declare let d: Objects;
declare let e: RegEx;

namespace yadda {
  export type Thing = string;
}
let f: yaddas.Thing;

after:
declare let a: Number;
declare let b: Number;
declare let c: Object;
declare let d: Object;
declare let e: RegExp;

namespace yadda {
  export type Thing = string;
}
let f: yadda.Thing;

@DanielRosenwasser please help see this

These two lines of code are to add fix spell support for Cannot_find_name_0 because this issue itself is intended to achieve this purpose.
I think what you said is reasonable, I can have a try

These two lines of code are to add fix spell support for Cannot_find_name_0 because this issue itself is intended to achieve this purpose.
I think what you said is reasonable, I can have a try

It has been modified. If you are free, please help to check it @sandersn

It has been modified. If you are free, please help to check it @sandersn

Update: I tried unconditionally suggesting errors and it works fine.

@sandersn If you have time, please help me to complete this PR, I have been busy recently


Persist HCP dataplane metrics like we do in classic OSD

What type of PR is this?
bug/feature
What this PR does / Why we need it?
Persist HCP dataplane metrics like we do in classic OSD - https://github.com/openshift/managed-cluster-config/blob/f04d5e10de29c948bf7cdf9ced57a2e3dda4e493/resources/cluster-monitoring-config/config.yaml#L28-L36
Which Jira/Github issue(s) does this PR fix?
OSD-18989

/hold
problem is not with pv, we don't need history
problem is the lack of scrape for 1 hour
recommend close this and fix the scraping issue

/close


Improved relay request confirmation mechanism by adding retries

Before we start relay entry signing process we need to confirm the current relay request start block on the chain. This is to avoid having the client participating in an old relay request signing that has already completed with the rest of the signing group member clients and the result has been already published to the chain.
Such a situation may happen when the current client received multiple blocks at once after a long delay and in those blocks to relay request events to the same signing group were emitted.
The confirmation mechanism has built-in retries. We can retry in case of an error but also when the expected request start block does not match the one currently registered on the chain. Such a situation may happen for Infura-like setup when two or more chain clients are behind a load balancer and they do not have their state in sync yet.

The tests nicely illustrate all the possible scenarios:
=== RUN   TestConfirmRelayRequestOnFirstAttempt
--- PASS: TestConfirmRelayRequestOnFirstAttempt (0.00s)
PASS
ok      github.com/keep-network/keep-core/pkg/beacon    0.044s

=== RUN   TestConfirmRelayRequestOnLastAttempt
11:36:54.871  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:54.974  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.076  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.177  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.279  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.384  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.485  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.586  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
11:36:55.687  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:255
--- PASS: TestConfirmRelayRequestOnLastAttempt (0.92s)
PASS
ok      github.com/keep-network/keep-core/pkg/beacon    0.965s

=== RUN   TestConfirmRelayRequestOnLastAttemptBecauseOfErrors
11:38:33.315 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:33.419 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:33.524 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:33.625 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:33.726 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:33.828 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:33.933 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:34.036 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:38:34.136 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
--- PASS: TestConfirmRelayRequestOnLastAttemptBecauseOfErrors (0.92s)
PASS
ok      github.com/keep-network/keep-core/pkg/beacon    0.968s

=== RUN   TestConfirmRelayRequestWithMoreRecentEntryPending
11:39:21.945  INFO keep-beaco: the currently pending relay request started at block [1889]; skipping the execution of the old relay request from block [1888] beacon.go:240
--- PASS: TestConfirmRelayRequestWithMoreRecentEntryPending (0.00s)
PASS
ok      github.com/keep-network/keep-core/pkg/beacon    0.046s

=== RUN   TestConfirmRelayRequestWithAllAttemptsFailed
11:42:35.998 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.100 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.204 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.306 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.411 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.516 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.621 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.721 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.823 WARNI keep-beaco: could not check current request start block: [VERY BAD ERROR]; will retry after [100ms] beacon.go:220
11:42:36.923 ERROR keep-beaco: could not check current request start block: [VERY BAD ERROR]; giving up after [10] retries beacon.go:211
--- PASS: TestConfirmRelayRequestWithAllAttemptsFailed (0.92s)
PASS
ok      github.com/keep-network/keep-core/pkg/beacon    0.971s

=== RUN   TestConfirmRelayRequestWithAllAttemptsFailed
11:45:18.259  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.362  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.466  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.567  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.669  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.774  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.876  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:18.980  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:19.083  INFO keep-beaco: received unexpected pending relay request start block [0] while the expected was [1888]; will retry after [100ms] beacon.go:258
11:45:19.183 ERROR keep-beaco: could not confirm the expected relay request starting block; the most recent one obtained from chain is [0] and the expected one is [1888]; giving up after [10] retries beacon.go:248
--- PASS: TestConfirmRelayRequestWithAllAttemptsFailed (0.92s)
PASS
ok      github.com/keep-network/keep-core/pkg/beacon    0.970s

I regenerated contracts bindings, some of them were out of date.


Add feature to delete RDS instances

Following #84.
From the first part:

[X] Create a new RDS instance
[X] The lookup for the instances based on region
[X] Nuke the instance based on the lookup results (with SkipFinalSnapshot: true)
[ ] Run from CLI
[x] Delete RDS remaining instances on AWS
[ ] Add the RDS to be searchable by the --resource-type flag.
[ ] Get instances by age (older than xx)

Thank you for the review @yorinasub17 ! I push the simpler issues and I'll finish the others later, there are still a few improvements for this to be working from the cli.

@marinalimeira Could you go through the existing comments on the PR and respond to / resolve them as appropriate? And update the TODO list in the README description? That will make follow-up review rounds easier.

Looks like the test failed with a segfault:
--- FAIL: TestListRDS (271.95s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xdce9cc]

goroutine 41 [running]:
testing.tRunner.func1(0xc420252690)
	/usr/local/go/src/testing/testing.go:711 +0x2d2
panic(0xfcfd40, 0x1afca50)
	/usr/local/go/src/runtime/panic.go:491 +0x283
github.com/gruntwork-io/cloud-nuke/aws.getAllRdsInstances(0xc420364700, 0xbf87323febcaca2e, 0x3f4bf6a4c0, 0x1b096e0, 0x6, 0xc42031e6c0, 0x15, 0x13b5cb8, 0xf)
	/go/src/github.com/gruntwork-io/cloud-nuke/aws/rds.go:26 +0x11c
github.com/gruntwork-io/cloud-nuke/aws.TestListRDS(0xc420252690)
	/go/src/github.com/gruntwork-io/cloud-nuke/aws/rds_test.go:76 +0x18e
testing.tRunner(0xc420252690, 0x11b9298)
	/usr/local/go/src/testing/testing.go:746 +0xd0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:789 +0x2de

@yorinasub17 hey, the tests are passing now, can you take a final look?