Harmony: Adding staking support

Description
This PR adds staking feature support for Harmony.
Testing instructions
Unit tests and iOS/Android integration tests added.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[ ] Prefix PR title with [WIP] if necessary.
[ ] Add tests to cover changes as needed.
[ ] Update documentation as needed.

Can you add your Harmony to AnySigner? We use AnySigner to sign JSON transactions from web applications.

@gupadhyaya after you move the code from any signer to your signer, can you add a test to anysiger with the transaction in JSON format? We have tests there for other implementations.

There is also a Codacy warning


Improve "verify contract" section of Hardhat docs

What

Contract verification using hardhat: https://docs.gnosischain.com/developers/smart-contracts/hardhat#verify-contract
Support for other networks: https://hardhat.org/hardhat-runner/plugins/nomiclabs-hardhat-etherscan#adding-support-for-other-networks

Solved here: https://github.com/gnosischain/documentation/pull/382
To be included in the next release


Consider to add error.code to all internal webpack errors.

Feature request
Make error identification more simple via error.code.

What is the expected behavior?
When an error occurs, then provide to the community a fast way to find

solutions in StackOverflow
discussions in issues
and places in the source

What is motivation or use case for adding/changing the behavior?
I met with 5 or 6 errors while playing with module federation. And finding a solution was quite hard.
The last cryptic error was

Yep, right now, it pinned in the issue list. Anyway, a lot of people will not notice it. More new errors will come in the future. And with most webpack errors is quite hard to find a correct phrase for googling or searching in issues.
How should this be implemented in your opinion?
If an error object has a code WP1055, then in that place where the error is printing can be automatically added links.
For example:
- ERROR in<EMAIL_ADDRESS>1:0-74
+ ERROR[WP1055] in<EMAIL_ADDRESS>1:0-74
Module not found: Error: Can't resolve '../../core-js/object/define-property' in 'xxx\node_modules\@babel\runtime-corejs3\helpers\esm'
 @ ./index.js 1:0-58
+ Technical details: https://github.com/webpack/webpack/search?q=WP1055&type=issues
+ Solution&help: https://stackoverflow.com/search?q=%5Bwebpack%5D+WP1055

Benefits from error codes:

Faster way for error identification
Better work with the issue duplicates
Maybe in the future can be used for telemetry

Are you willing to work on this yourself?
No. The decision & initial implementation can be made only by @sokra
Error codes should be unique. And for solving this problem - errors may have fixed prefixes for different webpack scopes eg. WP1xxx for ModuleGraph, WP2xxx for loaders, WP3xxx for cache, and so on. I don't know very well all webpack internals to suggest a good prefix schema. Besides this, it requires some additions to the contribution guide that all maintainers begin to follow this error code pattern.

bump

bump


User should only complete the "consent form" ONCE

Currently, the authserver does not track if a user completed the "consent form".
Thus, a user must complete the form every-single-time-she-logs-in.
Solution

Add a field in the user model, e.g., consent_form_completed.  The new field could either be a boolean field, or it could be the name of the public client (e.g., Facet).
The login route will check the value of this field. If the user has already given consent, then Authserver should go directly to the web application (e.g., Facet).

The solution is a bit more complicated than what you are suggesting @reginafcompton. Ideally, there will need to be a model that tracks a user's consent to each application. Also, an API endpoint needs to be exposed that at some point in the future will be used to show a user all clients that they have consented to and (thus  be able to revoke consent).

Ah, this:  tracks a user's consent to each application
I seem to forget that clients (other than Facet) will interact with the AuthServer. Good catch @gregmundy.


(PUP-6545)(PUP-6551) Fix tests for Ruby 2.3 on Windows and json_pure gem

Previously only ruby 2.1.8 was used in the the Appveyor tests.  This PR adds
Ruby 2.3.0 to the test matrix.  The complete and up to date list
of installed software can be found at;
https://www.appveyor.com/docs/installed-software
Ruby bug 8822 has been partially resolved in Ruby 2.3.0.  Therefore the test in
spec/unit/util_spec.rb:120 is now failing.  This PR guards this expected
bad behavior test, to Ruby versions prior to 2.3.
Hiera has an unbounded dependency on json_pure.  As of 2.0.2 json_pure requires
ruby >= 2.0.  This commit pins json_pure to a maximum version of 2.0.1 if a Ruby
1.x is detected.  Without this commit, bundler will pick json_pure 2.0.2 and
then fail to bundle gems on Ruby 1.x.

CLA signed by all contributors.

There's something weird in 898b13e

You can pull the last commit off as it's been moved into #5151.
I can't tell from the commits if 2.3 is already passing, but if not.. maybe we want to allow the fail until all the tests are sorted?
https://www.appveyor.com/docs/build-configuration#failing-strategy

Commit  898b13e has been dropped

Hmm, master now has the json_pure pin, and I rekicked travis here, which I thought would pick up that change (it did for an unrelated PR targeting stable). But it seems not to have? Maybe rebase this one and see if it flips green?

Double checked the Travis logs and it is grabbing refs/pull/5140/merge for the 1.9.3 branch, which should be this branch merged with stable HEAD.
That indeed includes the line gem 'json_pure', '~> 1.8', :require => false at https://github.com/puppetlabs/puppet/blob/stable/Gemfile#L32 ... yet the log shows bundler installing 2.0.2 ... so indeed peculiar.

Can we get this merged and fix the globbing issue in PUP-6557

Edited / merged to stable in https://github.com/puppetlabs/puppet/commit/603aee2652554c8befb84fdafc5873d8fde7d220


Adding remove_hashtags and remove_tags

Added remove_hashtags and remove_tags, used a few characters but could add more if you would want that.

Hi @donovanx, thank you for your PR! As you already opened another pull request with the same title #47, I will close this one.
Regards,


Add to Bower

Any chance of adding this to bower?

I just added it to Bower. I'll start working in proper semantic versioning shortly. Thanks for the feedback/advice!


new feature partial address?

i noticed keyhunt only search for full complete address
any plan to add partially search or partially match function?
let say looking for 1BFhrfTTZP3N
i wish keyhunt can scan using random without having a complete address

That is the vanity search: https://github.com/albertobsd/keyhunt#vanity-search it already works but there are other good tools to do that kind of search faster. Check the previous Link:
Regards!


Mouseover/Hover Effect for Artifact Thumbnails

I quite like the following subtle hover effect that has become common on portfolio pages: you mouseover a thumbnail and it zooms the image (and sometimes does a slight darkening + text overlay).
See https://www.awwwards.com/websites/portfolio/ & vanschneider.com for demos of this effect.
Looks pretty easy to implement. My suggestion would be to have a css class like artifact-thumbnail-hover or something that can be used on any artifact thumbnail that we want like project thumbnails, talk thumbnails, paper thumbnails, etc.

I think this might be a good one for @lstearns86 to start with for Hackathon.

Here's an example of the new behavior:

You can add the class artifact-thumbnail-hover to any element that contains an image and it will zoom 20% on hover. I also added the artifact-overlay class which will add the dark overlay and the artifact-overlay-content class which sets the text and link color to white and positions it in the bottom left of the container.

Can you try:

Increasing the font size
Vertically and horizontally centering text
Consider putting white rectangle (with rounded corners) around each text (e.g., to convey button and clickability)

Updated overlay link styles:

Or if there are too many for a single line (also showing link hover behavior):

How's that? Also, I assume that I should remove the redundant links below?

More vertical and horizontal margin in each button
No need to have opacity in button. Just make mouseover opacity for whole thumbnail dark enough that it is easy to read button text. Can you find some examples of this style of mouseover online and post them into this thread?
What font are you using?

Do you mean the padding within the button (separating from the border)? Or the separation between the buttons?
I can keep looking, but I couldn't quickly find any examples that have the behavior you want. The link you provided initially is the closest I saw, with the arrow link in the bottom right.
I'm using the default font that we're using for text pretty much everywhere else.

How's this?

I increased the internal padding, got rid of the button background colors, and increased the overlay darkness to make the buttons more readable for light colored images.

Fixed in https://github.com/jonfroehlich/makeabilitylabwebsite/pull/325


Error while running eval.

I run into this error while evaluating the policy. How can I fix it?

We have already fix the bug, please pull the repo, thanks for your help.

Another issue, I run into this error even if I followed the instruction to install environment. I think there might be something wrong with the pytorch3d thirdparty installation?

 Another issue, I run into this error even if I followed the instruction to install environment. I think there might be something wrong with the pytorch3d thirdparty installation?

Yes, you need to install pytorch3d correctly.


feat(API): Adding the flag to handle basic CORS policies in the framework

Added a new flag to falcon.API class init method in order to turn on/off feature to handle basic CORS policies in the framework. By default, it will come off so all request must meet CORS policies.
Addresses: #1194

I went ahead and made a few modifications to clarify the docs and ensure full test coverage.

I'll add the news fragment in a followup PR after this is merged.


fix: $SB_UTF8: possibly used before declaration

Pull request
Proposed changes
Fix warning/error requested by AutoIt Forum member here:
https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/?do=findComment&comment=1497987
Checklist
Put an x in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!
This is simply a reminder of what we are going to look for before merging your code.

[x] I have read and noticed the CODE OF CONDUCT document
[x] I have read and noticed the CONTRIBUTING document
[ ] I have added necessary documentation or screenshots (if appropriate)

Types of changes
Please check x the type of change your PR introduces:

[x] Bugfix (change which fixes an issue)
[ ] Feature (change which adds functionality)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (functional, structural)
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
There is warning $SB_UTF8: possibly used before declaration
What is the new behavior?
Fixed. No warnigns.
Additional context
https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/?do=findComment&comment=1497987
System under test
Not releated.

These constants are declared in StringConstants.au3 in more recent versions of Autoit. I don't believe this change should be made to support an 8+ year old release of Autoit.

O... it is used in <Misc.au3>


Building retdec failed on Windows 10 ("error C2039: 'string': is not a member of 'std'")

I was trying to build retdec on Windows 10 with the latest RC of Visual Studio, executing the following commands:
cmake .. -DCMAKE_INSTALL_PREFIX="C:\retdec" -G"Visual Studio 16 2019" -A"x64"
cmake --build . --config Release -- -m
and while it was building retdec-pat2yara, it threw the following error: retdec\src\pat2yara/modifications.h(34): error C2039: 'string': is not a member of 'std'
By including <string> in retdec\src\pat2yara/modifications.h the build completed successfully.
I wonder if that was a CMake configuration error since the aforementioned file (https://github.com/avast-tl/retdec/blob/master/src/pat2yara/modifications.h) has not been modified since Jun 10, 2018.

Thank you for the report! The include was indeed missing. I have added it in commit ebdecf19d949dbacf0391fb4f261dc13bc4881a7, so the build should now complete successfully.

Thank you for the quick feedback and the fix, building retdec-pat2yara completed succefully.


Server URL -> Cannot reach

If you have a Nextcloud running on a custom port, f.e. https://cloud.nexcloud.com:55840 the app fails to connect after typing in the Server URL. Message "Cannot reach https://cloud.nexcloud.com:55840".
Android 8.0.0
Nextcloud 19.0.5

Could you create a test account for me?
I have no runing nextcloud server that uses a port and it would be a hassle to setup one to test / debug this!

Is it possible to send you an PM for login data?

https://matrix.to/#/#nextcloud-cookbook:matrix.org
The easiest way would be to contact me in the matrix chat of the cookbook app. You can send me a pm there my name is Teifun2!

It seems to be a certificate issue of your server which is currently nothing that i can handle.

It's a certificate issue, thanks to Teifun2!
You need to install the fullchain, here f.e. in apache2:
SSLCertificateChainFile /path/to/certificate/fullchain.crt


Add Videohub

Hi Joseph,
could you please add the BMD Videohub protocol?
Example for this: You have an preview monitor for the video engineer who´s doing iris etc on the cameras. He selects his cameras via an Videohub. Would be great if he can get an tally information if the camera which he has in preview is on air or not.
So needs some logic if camera is on air and on output xyz of the videohub.
Thanks in advance,
Andreas

Would it be sufficient, if, when adding the VideoHub as a tally source, that you picked each output that you wanted to monitor and specified whether it should be a preview or program (or both) tally?

So as an example you add output 12 of the Videohub as an source to monitor. This output can than be feed to an TSL UMD, etc. - correct?
But then it needs the "logic": If camera 3 has tally from any source (Mixer or sth.) and is routed to output 12 the TSL UMD needs to light up. If camera 2, which has no tally, is routed to output 12 the TSL should not light up.
I think you´ve got what I mean :D

The way that Tally Arbiter is currently designed is that you monitor tally status by device (an input) not by a destination (a bus/output).
However, I think you could accomplish what you want by doing one of two things:

A dedicated tally client for each camera (using any of the supported TA clients)
A "rolling" tally client that, when you press a button to route that camera source to the shader monitor, also reassigns the TA tally client to the currently selected camera source. Your button panel that you use to change videohub routes to the shader monitor would also need to be capable of sending the API request to the TA server to negotiate this reassignment. You could do this with Bitfocus Companion and a streamdeck. I would have to add this capability to the Companion module (to reassign TA clients).

I can still look at adding the VideoHub protocol as an incoming tally source as I described earlier.

Would be great if you can have a look on the videohub protocol as incoming source. I guess you already have an idea there.
I guess the status update of the Videohub can be used as it spits out the route if I remember correctly...

I've added VideoHub support in 1.4.4. It's available now.

Hi Joseph, thanks for that. Checked it out and it´s working perfect.
Do you have an idea on how to solve this "rolling tally client" that you described? I don´t know on which position the "intelligent" part needs to be added. "When camera 5 has Tally AND is routed to output X of Videohub, then output the Tally for this Videohub output"

I was suggesting having a Companion button that when you press it, it does the videohub route needed to bring that camera up on your shader, and also reassigns a tally arbiter client to that same camera.


PowerRun hashing functions

Description of the new feature / enhancement
I expect it to be used in PowerRun like so:
=sha1(some_string_that_i_want_to_hash)
=md5(some_string_that_i_want_to_hash)

Obviously it won't output correct data for the calculator to operate uppon, but I don't think adding another prefix char would be a much better solution here. I already can't remember even 4 of them, despite disabling most of those characters in the settings.
So I'd suggest adding those functions for the calculator.
Scenario when this would be used?
some times I need to generate some hashes from the strings. Most of the time I just go to duckduckgo and type something like: "sha1 some_string_that_i_want_to_hash"
For the future it might be good to have md5, sha256 and other commonly used hashes or uuid/guid generators.
Supporting information
No response

neat idea, some variations of this ask with GUIDs and stuff too

Can I pick this up? Looks interesting.

@crutkas
@IHorvalds
Can be a value generator for hash, guid, passwords and so on.

I'll start implementing this weekend. Had some issues with my computer last week.
I was also thinking it might be useful to be able to generate key pairs, for instance, for ssh connections.
For calculating hashes, extending the calculator plugin I think would be a good idea, but for generating stuff (GUIDs, passwords, keys, whatever else) I think a different trigger should be used.
Maybe something like ##?

I'll start implementing this weekend.
I was also thinking it might be useful to be able to generate key pairs, for instance, for ssh connections.
For calculating hashes, extending the calculator plugin I think would be a good idea, but for generating stuff (GUIDs, passwords, keys, whatever else) I think a different trigger should be used.
Maybe something like ##?

I think for all the generating stuff we should have a new plugin. I thought on == as activation command.
For me the calculator plugin is for mathematics like substraction or date calculation. Hashe imon are mor technical stuff than mathematics. But this is my opinion.
What do you mean with key pairs? A "certificate + key" set?

I'm referring to a private key + public key. I use those a lot to setup passwordless login with ssh.
Essentially, it would do the same thing as ssh-keygen and then open the folder where it placed the key files in Explorer.
For instance, typing ## ssh <IP_ADDRESS> and selecting the first result would create the files <IP_ADDRESS>.key and <IP_ADDRESS>.pub in $HOME.ssh\ and open File Explorer there.

Have a look at Thio Joe's video: https://www.youtube.com/watch?v=aNDw1QMV-lM

It's been a while since the last comments, sorry about that. I'm nearly done with it and will try to open a draft PR this week.
I ended up making another plugin for calculating hashes since in the calculator plugin it would make a query like md5(abc) + 5 be valid, which I don't think is right. The plugin also generates GUIDs. I was thinking that maybe it should be able to generate all GUID versions, not just v4, but I'm not sure. Does anyone have an opinion on it?

@IHorvalds
That sounds amazing. What do you mean with "all GUID versions"?

There are 5 GUID versions. I think the most popular is the random one, v4. https://www.uuidtools.com/uuid-versions-explained
I don't know how useful the other versions are - maybe v3 and v5 would be, but that's why I'm asking for opinions :)

Maybe something like ##?

That would be an obvious choice. The character is often called a hashtag.

I don't know how useful the other versions are - maybe v3 and v5 would be, but that's why I'm asking for opinions :)

@IHorvalds
I think with support for v4 and maybe some layout parameters (brackets, upper/lower case) we are fine fir now. Other versions can be added later if required/requested.

I've opened a draft PR for this. I haven't written any tests for the functionality yet. I think the plugin binary needs to be added to .pipelines/ESRPSigning_core.json to be signed, but I'm not very sure if that's how that works.

If anyone wants to review it, I marked the PR ready.
On my machine everything built fine and the unit tests passed in the pipeline.
There is also a PR for the Docs repository ready if the PR is approved.
Thanks! :)

This issue has been worked on during the 0.72 development cycle. Please update your PowerToys installation to the latest.
https://github.com/microsoft/PowerToys/releases
Thank you!


Add new info2023 - Issue #40

Type of Contribution
Check the item(s) that applies.

[ ] :zap: HOWTO Content update
[ ] 📃 Hugo static site update
[x] :icecream: README or site documentation update

Is this pull request related to an existing issue? If so, which one is it?

[x] :white_check_mark: Yes! - Issue number: #40
[ ] :x: No, sorry.

Description

Added the 2023 changes as requested. Provided link to Hacktoberfest site regarding the new rewards (trees).

Looks great!  I added some small changes so that the "we" in the quote was attributed to the Hacktoberfest folks and not something that this site created.


Use

@Acornay bro if u teach me how to use this source ill give u 30$ on paypal.

@PredictEr what's your Skype? i'll tell you what to do :)

@Acornay please help me .

@acer2245 add me on  Skype? mine is strik3rdoom

@Acornay added u bro

@Acornay i added u too please help me @PredictEr if u know find out how to tell me please my skype is briancela        nickname is (cocaine)

@extrenebiibues I didn't find out how but I found a mac multihack which is better. Walls, bhop, triggerbot, aimbot, aim assist. Add my skype if u want help. kasra.gamer


openIndex(), createCommit() missing from API documentation

I expected to find documentation for repository#openIndex() and repository#createCommit() in the API documentation after encountering them in the example code.
These appear to be completely absent from the documentation, which is pretty surprising since they seem like key functionality that appears to have been added way back in or before v0.2.

Yes, this is confusing. Related: #197 and #198
Maybe, the examples need to be updated ?

@vsivsi we auto-generate the documentation on the site, so it's entirely possible they are either missing JSDoc syntax, or we have a bug in the generator.  Since they are not manually added, its not like we just forgot to add them.

https://github.com/nodegit/nodegit/blob/master/lib/repository.js#L22-L25
^^ As we can see here openIndex is indeed missing JSDoc syntax, which explains why it is omitted from the documentation.

createCommit is now on the website and the openIndex function has since been removed from Repository. Can we close this?

Sounds good to me!


HTTP Server should parse formbody data

Adds the parser for form body data so that Fastify will not block the request.
This can be only tested from the harness, because the Fastify testing utilities bypass the whole parsing/content type; harness though is being rebuilt in #372 ; so I think we need to coordinate here.
Closes #380

Seems like this one is handled very differently to incoming JSON. Is that because the fasting formdata plugin is much better, or because we are going to treat formdata differently to JSON?

Good question.
The pork-around for JSON is required because Fastify, natively, will only recognise application/json as something that can serialise as JSON; for this reason we need to use a custom function to detect if the accept header is jsonish (as application/vnd+api.json) and serialise it using the builtin node function.
The content parser here will effectively recognise and parse application/x-www-form-urlencoded
Does that clarify?

I believe you'll still need to modify https://github.com/stoplightio/prism/blob/62c3f45c2ff9a30fcb0a12d70e7017fcf590d033/packages/http-server/src/server.ts#L39, otherwise we will 415, correct?

That should not be required, that content type parser is called as last resort. If you register one more specific before this one, it'll pick that one

We are currently rewriting test harness but it's tough to say we should merge this without having any tests... are you sure fastify cant have test with form data written? It darn well should let you somehow and if they don't support it we should go and talk to them about that. :)

Fastify's integrated test utility (inject) will go directly to the route handlers, skipping the parsing stage. If that's not enough, we can always spin up an instance of the server ourselves and test the whole thing accordingly, which is what the harness is supposed to do.
We could also make it happen spinning up an instance programmatically.
It's not a Fastify limitation — they're offering an unique byproduct that can't be used to test the whole thing.

Let’s manually verify this one and add it on our list of things to write test harness scenarios for. Oooor you could manually test it now and add a scenario in your experimental test harness rewrite branch. :)
--
Phil Sturgeon
@philsturgeon

On Jun 25, 2019, at 23:42, Vincenzo Chianese<EMAIL_ADDRESS>wrote:
Fastify's integrated test utility (inject) will go directly to the route handlers, skipping the parsing stage. If that's not enough, we can always spin up an instance of the server ourselves and test the whole thing accordingly, which is what the harness is supposed to do.
We could also make it happen spinning up an instance programmatically.
It's not a Fastify limitation — they're offering an unique byproduct that can't be used to test the whole thing.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

Agreed.


[ISSUE #990]🚀Support NOTIFY_CONSUMER_IDS_CHANGED(request code 40) for client

Which Issue(s) This PR Fixes(Closes)

Fixes #990
Brief Description

How Did You Test This Change?

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥


smoke-test: more test conversions to forge - (86)

Motivation

smoke-test: Added more test conversions to forge

Test Plan

CI/CD Tests covers the test case

/canary

:sunny: Canary successful

/land


syncing of states between ng-permission and ui-router issue

Using<EMAIL_ADDRESS><EMAIL_ADDRESS>I have 2 routes /login and /home, the home requires a 'user' permission.
So I am signed-in with 'user' permission on /login and when I click on the link to go to home
href="#/api/home" I get to home but the url in the browser  is showing /login and if I pay attention during the transition of states. I can see the url go from /login to /home to /login.
I think there is an issue with the syncing of states between ng-permission and ui-router.

Correct thank you

It happens the same to me if I go directly on the url bar.


Revert "Improve fibonacci code in Getting Started page"

Reverts open-telemetry/opentelemetry.io#2901
The error is intentional so its fix can be used later to instruct users how to add errors to spans: https://github.com/MitchellGale/opentelemetry.io/blob/806d4094e6a1fcf6ce681643dad0f86b534853e2/content/en/docs/instrumentation/go/getting-started.md#bonus-errors

@MrAlias Sorry for not catching when reviewing #2901

Apologies from my site as well, but let's revert it now!


VID-specific dispersal logic

Currently the logic for handling VID dispersal is copy-pasted from DA proposal.

dup of #1690


flatpak-builder: 1.4.2 -> 1.4.4

Description of changes
Did a minor update in the tests to remove a warning about the new behavior of xdg.portal and updated flatpak-builder to the latest version.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4258


Invalid Semantic Version error when deploying server chart 6.5.5 or higher

Hello,
When deploying aquasec server via helm chart version 6.5.5 or higher via terraform, the following error is returned:
Error: template: server/templates/web-ingress.yaml:7:7: executing "server/templates/web-ingress.yaml" at <semverCompare ">= 22" .Capabilities.KubeVersion.Minor>: error calling semverCompare: Invalid Semantic Version
It appears that the version comparison is not providing a valid semantic version to the semverCompare function.

Hi @cryptk - Thanks for reporting, Added a fix for this in https://github.com/aquasecurity/aqua-helm/pull/469

Hi @cryptk
The updated helm chart was built. You can update the repo and use it
Thank you


不能晒单

INFO     开始京东批量评价！
2022-10-08 00:49:21,822 INFO
2022-10-08 00:49:22,062 WARNING  Can't find num content in XPath, fallback to 0
2022-10-08 00:49:22,063 WARNING  Can't find num content in XPath, fallback to 0
2022-10-08 00:49:22,063 INFO     待评价订单 0----待追评 19----服务评价 30----已评价 0
2022-10-08 00:49:22,064 INFO
Traceback (most recent call last):
File "auto_comment_plus.py", line 689, in
main(opts)
File "auto_comment_plus.py", line 556, in main
if N['待晒单'] != 0:
KeyError: '待晒单'

同样错误

我把晒单相关代码都删了，可以运行了


What does parameter division mean? And how to choose the optimal one?

Hi, Dr. Jelle Vos. I read your paper and test the code recently. I have some confusions about the meaning of parameter division in exact-set-union. Is it the number of divisions D in the paper? If so, how can I compute an optimal value to minimize the run time?
Thanks in advance.

Hi! I am not a Dr. yet but happy to help you out :)
You are completely right that D is the number of divisions in the paper. The optimal value to minimize run time depends on some real-world characteristics: e.g. the speed of the computer, and the latency and throughput of the network.
If computation is the bottleneck, then choosing D = 2 (or D=3, just any integer close to e) is almost always the fastest. You can check out Appendix D for the details of this.
Realistically, though, you would choose a higher D to reduce the number of interactions (as each interaction requires communication). You would use Equation 24 for this. If you want, I can include a small Python script for this purpose.

Great, thanks for your help ;)
I read Appendix D carefully and now I get it. And your insights on the real-world characteristics affecting the run time are very helpful.
I don't need the Python script at the moment. Thank you again for taking the time to respond to my question.

Sorry to bother you again. I tried to write a python script to compute the expected number of ORs. But I am confused by the equation (22) in your paper.

When log_D^N is a integer, the denominator will be zero. How to understand this equation? Thanks in advance.

Yes, i got it. Thank you again!


How to export Query Response in .rdf format from Neo?

Hi @jbarrasa ,
I want to export the query response in .rdf format. I have created few nodes and relations among them. Now I need to export the Match Query result in .rdf format. I have successfully installed neosemantics-<IP_ADDRESS>-beta.jar and have copied the dbms.unmanaged_extension_classes=semantics.extension=/rdf  in the neo4j.conf file at the bottom with # prefix (If I won't put the # prefix, it is unable to start the server). I restarted the server and ran the call dbms.procedures()  this query in neo. I could see the listed procedures in the result.
Now if I query the below statement, I gets the result, this result I want the export in rdf format.

MATCH p=(n:Maths)-[r:HAS_TOPIC]->() RETURN p LIMIT 25

I tried running this query

:POST /rdf/cypher/  "MATCH p=(n:Maths)-[r:HAS_TOPIC]->() RETURN p LIMIT 25"

I got this error Payload does not seem to be valid (JSON) data. Please help me on this.
Thanks

Hi,
First of all, if you put a hash before the line in the config file, you are effectively making it a comment so it will be ignored. If by uncommenting it you get an error, you should find out what it is and fix it. 95% chances it will be a version compatibility issue. Make sure that you build neosemantics for the version of Neo4j you're using but if you want to take the easiest route, just download the jar from the releases section and use it on Neo4j 3.2.x
To check that the extension is installed, type :GET /rdf/ping in the browser and you should get a ping message back.
Finally, do not use path expressions as they probably won't return what you expect. There is no obvious equivalent of a Neo4j path in RDF but I'll write on this in the docs when I have a minute but it's a good point you've raised.
In your example try this instead. Same query but returning each individual item as opposed to the path.
:POST /rdf/cypher "MATCH (n:Maths)-[r:HAS_TOPIC]->(x) RETURN * LIMIT 25"
Let me know how it goes,
JB.


Problems with deploy

Hello,
Is it any instruction how to deploy it? Can I deploy it on services like Netlify, Vercel, etc.? Could you write an instruction steb by step how to deploy this repo? If it is open spurce repo so should be some install instruction.
When I install I have these errors:
"--> npm install @nativescript-community/observable @nativescript-community/ui-material-core ~ webpack
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@nativescript/core
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS> sh -c ./.config/build.sh
▲ [WARNING] Duplicate key "release" in object literal [duplicate-object-key]
app.webpack.config.js:600:20:
  600 │                     release<EMAIL_ADDRESS>      ╵                     ~~~~~~~

The original key "release" is here:
app.webpack.config.js:597:20:
  597 │                     release: appVersion,
      ╵                     ~~~~~~~

 node --enable-source-maps .build/index.js
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module '/home/runner/oss-weather-2/.build/index.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
exit status 1"
What do I do wrong?
Thank you

@Johnnywick1 what are you trying to do? This is an android/iOS app. Why are you talking about netlify or vercel?

Sorry, I'm new at this.

Yes. you can delete or close this message. Thank you


Fix bug in myeloid coverage (issue 26)

Change description
Fix bug in issue #26, see CG-22-274-GEN
Urgent commit to main branch to fix live version
Testing description

Manual check against coverage values
Comparison with old version of the code to identify patients with incorrect calculation

Test data location
See CG-22-274-GEN writeup
Verification results
See CG-22-274-GEN writeup

Added uncommitted files from gen02, no need for review, these are:

roi folder - directly copied from TSO500_post_processing script and reviewed there
queries folder and poly script - record of ad hoc queries/ data pulls that have been run on the database, for reference if the same queries come up again
comment on backup script on how to set up with cron


Telegram Group Button not working!

Description
Upon clicking on telegram icon, it doesn't redirect to your telegram group instead shows the screenshot attached below. Rest of the social media handles are working properly.
Screenshots

Hi @SauravMukherjee44 ,
Could you please assign me this issue?

No, its working on my system.


Added coverity badge

Don't merge for now, I'm still going though the coverity integration

:+1:

:+1:


Error:  can not transition to 'running', expecting state 'scheduled', was 'notScheduled'.

Hi,
i have an app using nodejs, express , multer (to upload images).
For some specific files (some wav formats) it gives me a different flow in busboy where reaches the zone.js and breaks the node app (stops the execution without catching the error )
Without zone.js everything works fine. But as i have an SSR project, i have to have zone.js.
Here is more details about the error: https://github.com/mscdex/busboy/issues/166
Any ideas how i can solve that?
Thanks!

@mariohmol , could you provide a reproduce repo? thank you.

I got this.. but is not reproducing the error.. https://github.com/mariohmol/zonemulter
Will try to play with my project removing some things and see what it may causing it..

@mariohmol , sure, please tell me when you reproduce this issue.

Upgrading to  "zone.js": "^0.8.26" worked! =)

Actually this new version is affecting mongoose calls.. now i receive empty from a nested promise
.then(e => {
      return Table.findOne({ _id: req.params.tableid });
    })
    .then(w => {
      console.log(w, { _id: req.params.tableid }, '<---- w is undefined');

Could you make a sample repo to reproduce the issue?

This will be kind hard to reproduce.. must be a ssr project (https://github.com/mariohmol/angular-ssr) and add multer.... After that make and enpoint with nested mongoose calls.
What i can tell is, 0.8.20 works for upload file and nested mongoose calls..
The fix of the file problem its before 0.8.20.
Definitly the problem with mongoose appeared on 0.8.21 and still in 0.8.29!

@mariohmol , the mongoose issue is in the test code? from zone.js 0.8.20 to 0.8.21, basically only test related lib was updated, and could you provide some kind of setup and reproduce steps based on your repo?


Fix indentation of style tag

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Reduces the indentation of the style tags in the code of two challenges.
For some reason the syntax highlighting is disabled (all the text is shown white), but I don't think it's because of my changes.

@Atomk LGTM. Thanks for contributing to freeCodeCamp! 👍 💯 🌮 :eagle:
I think the syntax highlighting is unrelated. It's currently working for me. I think @systimotic is experiencing the same thing so maybe he's tracked down the cause. I know that I have eslint installed globally on my local machine so maybe that's why I still have highlighting. idk.

Yeah, that syntax highlighting issue is really weird. Still not sure what's causing it, and why it doesn't show up for everyone. eslint shouldn't have anything to do with this, it's a development dependency


feat: Add latest articles rail to home screen

The type of this PR is: Feature

This PR resolves CX-1471
Description
Adds a "Latest from Artsy Editorial" rail to the home screen.

Updates Cohesion to 2.1.0
Adds articles rail to home screen
Updates design of articles rail in artist overview (e.g. https://www.artsy.net/artist/ana-teresa-fernandez)

Screenshots
Home Screen

iOS
Android

Artist About Page

(Before)
iOS
Android

Todo

[x] Find out if we want to have the new layout in the about artist screen as well
[x] Find out how many lines the title has
[x] Move to correct position on home screen
[x] Find out if vertical name is needed (not always present on staging)
[x] Check if image fit is correct
[x] Track event
[x] Do not render when list is empty
[x] Check if we need inEditorialFeed: true

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

I was just thinking that it is probably a good idea to release it with a feature flag. We'll introduce the rail and very soon the new articles screen that can be accessed by the rail. What do you think?