chore: add eslint to backend

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

@sidemt I disabled the linter in custom-post because I wanted to keep this PR small. If you know what ...rest should contain I think using lodash's pick would be the way to go. That way seems better since we don't really care what we're discarding, only what we're keeping!

@sidemt if we merge this, I'll update the expected statuses

Any time, @sidemt, I'm glad it was useful.


Finds Digits - HackerRank(Solution in C++)

Link - https://www.hackerrank.com/challenges/find-digits/problem
Difficulty - Easy

Kindly assign this issue to me


[SPARK-28233][BUILD] Upgrade maven-jar-plugin and maven-source-plugin

What changes were proposed in this pull request?
This pr upgrade maven-jar-plugin to 3.1.2 and maven-source-plugin to 3.1.0 to avoid:

MJAR-259 – Archiving to jar is very slow
MSOURCES-119 – Archiving to jar is very slow

Release notes:
https://blogs.apache.org/maven/entry/apache-maven-source-plugin-version
https://blogs.apache.org/maven/entry/apache-maven-jar-plugin-version2
https://blogs.apache.org/maven/entry/apache-maven-jar-plugin-version1
How was this patch tested?
N/A

Test build #107116 has started for PR 25031 at commit f7b3144.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12293/
Test PASSed.

Test build #107116 has finished for PR 25031 at commit f7b3144.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107116/
Test FAILed.

Test build #4814 has started for PR 25031 at commit f7b3144.

Test build #4814 has finished for PR 25031 at commit f7b3144.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Hm, I wonder if this is actually related?
* checking CRAN incoming feasibility ...Error in .check_package_CRAN_incoming(pkgdir) :
  dims [product 26] do not match the length of object [0]

@felixcheung does that look familiar?

It's SPARK-24152. @viirya is taking an action.
Spark deprecated lower version of R which cannot handle this server side issue. So, once we drop the deprecated lower R version, we could get rid of this problem permanently. Higher version of R (3.4.x) can handle this server side issue given my previous test.

cc @shaneknapp too FYI.

retest this please.

CRAN admin replied that the issue was cleaned up.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12327/
Test PASSed.

Test build #107154 has started for PR 25031 at commit f7b3144.

Test build #107154 has finished for PR 25031 at commit f7b3144.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107154/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12336/
Test PASSed.

Test build #107166 has started for PR 25031 at commit f7b3144.

Test build #107166 has finished for PR 25031 at commit f7b3144.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107166/
Test PASSed.

Merged to master.


Limit raiser

For #646.  Work in progress.

I leave it here.  #1061 is more urgent.

I leave this here, to focus on changes that don't change the ABI.


Bumped dapr/dapr in cert tests

SHould make the cert tests work again after the interface for pubsub has changed

/ok-to-test

/ok-to-test

@ItalyPaleAle let me know when you're comfortable to merge.

@yaron2 I just pushed another commit as when the PR was merged, a go.mod file was accidentally deleted.
There are still 3 failing tests:

certification for Event Hubs -> that test is broken so it's ok
certification for Kafka (pubsub and binding) -> those are flaky and are passing ~50% of times. @skyao is looking into those
conformance for Event Hubs -> investigating this

Fixing the last one will be a hard requirement for me.
However I understand this PR is pretty urgent either, so if you want to go ahead and merge it, I can make a follow-up to fix the Event Hubs conformance test.

/ok-to-test

I fixed the issue with Event Hubs


Fix to address openmp runtime bug

This was exposed when neuralprophet ran its tests, and was due to numpy loading an openmp dylib, and then pytorch trying to reload the same one. This change:

includes a symlink to the library pytorch really wants to load, to solve the issue
uses only llvm-openmp or intel-openmp at a time, not both
adds tests to catch the error
builds openblas and mkl variants for platforms where this is possible (according to aggregate/conda_build_config.yaml

Note that build number 1 hasn't been released yet, so we don't need to bump it.

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:124: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:127: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:128: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:129: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:131: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:135: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:136: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:138: build_tools_must_be_in_build: The build tool pkg-config is not in the build section.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:138: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:138: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:140: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:142: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:143: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:144: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:145: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:147: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:148: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:159: build_tools_must_be_in_build: The build tool ninja is not in the build section.
WARNING: /tmp/abs_8auwylcbgj/clone/recipe/meta.yaml:166: build_tools_must_be_in_build: The build tool ninja is not in the build section.
ERROR: build.sh:172: pip_install_args: pip install should be run with --no-deps.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:125: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:128: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:129: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:130: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:132: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:136: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:137: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:139: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:139: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:139: build_tools_must_be_in_build: The build tool pkg-config is not in the build section.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:142: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:143: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:144: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:145: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:146: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:148: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:149: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:160: build_tools_must_be_in_build: The build tool ninja is not in the build section.
WARNING: /tmp/abs_61l9q_qi9c/clone/recipe/meta.yaml:167: build_tools_must_be_in_build: The build tool ninja is not in the build section.
ERROR: build.sh:172: pip_install_args: pip install should be run with --no-deps.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:124: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:127: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:128: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:129: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:131: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:135: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:136: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:138: build_tools_must_be_in_build: The build tool pkg-config is not in the build section.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:138: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:138: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:140: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:142: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:143: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:144: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:145: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:147: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:148: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:159: build_tools_must_be_in_build: The build tool ninja is not in the build section.
WARNING: /tmp/abs_06x3s68que/clone/recipe/meta.yaml:166: build_tools_must_be_in_build: The build tool ninja is not in the build section.
ERROR: build.sh:167: pip_install_args: pip install should be run with --no-deps.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:124: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:127: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:128: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:129: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:131: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:135: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:136: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:138: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:138: build_tools_must_be_in_build: The build tool pkg-config is not in the build section.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:138: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:140: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:142: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:143: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:144: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:145: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:147: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:148: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
WARNING: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:159: build_tools_must_be_in_build: The build tool ninja is not in the build section.
WARNING: /tmp/abs_e3h11xgij9/clone/recipe/meta.yaml:166: build_tools_must_be_in_build: The build tool ninja is not in the build section.
ERROR: build.sh:167: pip_install_args: pip install should be run with --no-deps.
Errors were found


Problem with npm installation in win xp sp3

ERR<EMAIL_ADDRESS>postinstall: ./bin/update.js
ERR! cmd "/c" "./bin/update.js" failed with 1
ERR!
ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
ERR! This is most likely a problem with the useragent package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR!     ./bin/update.js
ERR! You can get their info via:
ERR!     npm owner ls useragent
ERR! There is likely additional logging output above.
ERR!
ERR! System Windows_NT 5.1.2600
ERR! command "C:\Archivos de programa\nodejs\\node.exe" "C:\Archivos de programa\nodejs\node_modules\npm\bin\npm-cli.js" "install" "useragent"
ERR! cwd C:\workspace\mytest
ERR! node -v v0.6.6
ERR! npm -v 1.1.0-beta-7
ERR! code ELIFECYCLE
ERR! message<EMAIL_ADDRESS>postinstall: ./bin/update.js
ERR! message cmd "/c" "./bin/update.js" failed with 1
verbose exit [ 1, true ]

it's probably because that script is using shebangs i'll convert it to node ./bin/update.js

@ezitox I pushed a potential fix to npm, it now stops depending on the shebang and just does node ./bin/update.js

It works fine now, thanks!


Cannot read property 'split' of null for SOAP login

Line https://github.com/jsforce/jsforce/blob/master/lib/connection.js#L1571 blew up due to no server url was presented in the response of the SOAP login endpoint.
The response was:
{
    "statusCode":307,
    "body":"The URL has moved here\r\n",
    "request":{
        "uri":{
            "protocol":"https:",
            "slashes":true,
            "auth":null,
            "host":"host1",
            "port":443,
            "hostname":"host1",
            "hash":null,
            "search":null,
            "query":null,
            "pathname":"/services/Soap/u/51.0",
            "path":"/services/Soap/u/51.0",
            "href":"https://host1/services/Soap/u/51.0"
        },
        "method":"POST"
    }
}

The printed error is as follow:

TypeError: Cannot read property 'split' of null\\n\" +\n    '    at /opt/IBM/ace-<IP_ADDRESS>/server/nodejs/node_modules/jsforce/lib/connection.js:1571:28

A better error message could have been more helpful.

I tried to repro this on jsforce by creating a new scratch org and then changing the "My Domain" URL while keeping redirect enabled for the previous URL.
when I try logging by soap and specify the old instance URL I get:
➜  jsforce git:(cd/bulk-add-missing-prop) ✗ node lala.js
/Users/cdominguez/code/gh/jsforce/lib/connection.js:421
            throw new Error(faultstring || response.body);
                  ^

Error:

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 405 Only POST allowed</title>

HTTP ERROR 405

Problem accessing /services/Soap/u/50.0. Reason:

    Only POST allowed

...

this happens because jsforce now tries to follow redirects:
https://github.com/jsforce/jsforce/blob/af8a10e84557d95e20a62dae37e9dbf1e4d50fa8/src/request.ts#L204
the first request does return 307 like above but the retry mechanism isn't handling redirects well, for this case specifically:
first request did a POST with body, the redirect request used the URL from headers.location but always does a GET and missed the body, that's why it gets the HTML response.
ideally we should let node-fetch handle redirects but jsforce allows to set "redirect functions" so we might need to copy the node-fetch behavior.


ShapeShifter-RushilChopra

[✅] I have read the steps to getting a blot

[✅] I am submitting art that...

[✅] is algorithmically generated (will change each time the program is run)
[✅] is drawable on a blot (fits in the work area & doesn't overlap too much)
[✅] is original (not copied from somewhere else)
[✅] doesn't call Math.random() (See the documentation on randomness)

[x] Optional, if you used a tutorial or based your art on something else, please include the link here:

[ ] Optional, if you remixed this from something else, mention it here:

Any updates @WolfGamer2? It's looking really nice!


Cleanup naming - loco_mc, helpers etc

Description
This PR cleans up naming conventions, helper files, functions etc
Full change set in the issue.
Fixes #724
Type of change
Please check the options that are relevant.

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[x] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[ ] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[ ] I want a thorough review of the implementation.
[x] I want a high level review.
[ ] I want a deep design review.

Testing
Tests run on devfair, locally and CI
Checklist:

[x] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[x] I have added relevant collaborators to review the PR before merge.
[ ] [Polymetis only] I have verified that all scripts in tests/scripts runs on hardware.

Codecov Report

Merging #725 (6657528) into main (9fb16ee) will decrease coverage by 0.00%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##             main     #725      +/-   ##
==========================================
- Coverage   34.50%   34.49%   -0.01%
==========================================
  Files         318      318
  Lines       31137    31137
==========================================
- Hits        10744    10742       -2
- Misses      20393    20395       +2

Impacted Files
Coverage Δ

...s/craftassist/tests/interactive_memory_explorer.py
0.00% <0.00%> (ø)

agents/locobot/locobot_agent.py
0.00% <0.00%> (ø)

agents/craftassist/tests/fake_agent.py
72.16% <66.66%> (ø)

agents/craftassist/craftassist_agent.py
57.29% <100.00%> (ø)

agents/craftassist/tests/test_coref_resolve.py
95.83% <100.00%> (ø)

agents/craftassist/tests/test_default_behaviors.py
93.75% <100.00%> (ø)

agents/craftassist/tests/test_get_memory.py
98.91% <100.00%> (ø)

agents/craftassist/tests/test_memory.py
98.33% <100.00%> (ø)

...ts/craftassist/tests/test_nsp_wrapper_via_agent.py
98.21% <100.00%> (ø)

agents/craftassist/tests/test_put_memory.py
97.87% <100.00%> (ø)

... and 34 more


5.5 publish layout error

just a heads up from installing 5.5,
In LayoutPublishCommand.php line 86:
file_get_contents(/home/vagrant/updash/app/routes/web.php): failed to open stream: No such file or directory
The file is there not sure why the error.  Thought you might want to know.

error is because routes folder was moved to root folder instead of the app/, from a few versions back

This was fixed as #561


Update header and footer to match hugo site

@jseldess We've made quite a few changes that the Docs site never received. Let me know if anything looks strange or buggy.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/deb263f954c4c9ee619032998f565a480c3450cc/

@deronjohnson, I'll look more in-depth later today. The topnav looks good, but at first glance, there's a slight discrepancy in the padding/styling of the footer.
Live non-docs footer:

Docs footer from this PR:

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7d177cb70d05716cc9166dea6009ae7e1387fe59/

@jseldess The footer should match now. There are some global style rules here that differ from the hugo site, which makes it hard to catch everything.

Thanks, @deronjohnson. A few other minor tweaks needed:

The footer section on docs starts a little further up the page than on the new site.
In the topnav, the cockroachdb logo differs a little in color and proportion.

Also, in the mobile topnav menu, the vertical spacing differs a bit.
Same for the mobile footer.

@jseldess, sorry for the delay. I'll push updates this morning.

@jseldess, I've pushed some changes, but it looks like GitHub is having a backlog issue (https://status.github.com/messages), so they might take a little bit to appear.
There's a PR on the hugo site that's about to go live, so I made the latest round of updates with that in mind. You can compare here: http://cockroach-website-review.s3-website-us-east-1.amazonaws.com/eb7c09722f86b283c1e85db069d79e2d51364995/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/09bf47f49016196cce3e614f912a51e030307581/

Thanks, @deronjohnson. LGTM.


Extend cloudproviderinterface to accept providerData on GET

What this PR does / why we need it:
Extends cloudproviderinterface to accept providerData on GET
Ref: https://github.com/kubermatic/machine-controller/pull/531#discussion_r284574679
Unfortunately the PR got bigger than expected, I recommend reviewing it commit by commit :S
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
none

/assign @mrIncompetent

/retest

/approve

@mrIncompetent Updated, PTAL

/lgtm


Drupal 8 projects using a composer flavor don't list Drupal cli commands

As described in the title, when flavor: composer, Drupal specific commands such as drush-alias are not available from platform list (though they still work fine).

The detection is not based on the flavor. The CLI looks for:

A file named project.make* or drupal-org.make*
A file named index.php containing the word Drupal
A composer.json JSON file which contains one of the drupal/core or drupal/phing-drush-task projects in the requires section

It does that in directories up to 2 levels deep inside the project  (so effectively index.php, */index.php, */*/index.php).
Source: https://github.com/platformsh/platformsh-cli/blob/cbcca5c01d02b33fdeacbdc69516a6260482d408/src/Local/Toolstack/Drupal.php#L17-L71
So, it's unclear what the problem is. Could you give more detail on the structure of the project?

I used the setup wizard on project creation.

Okay, I looked in the wrong place. This is working as expected. Thank you.
local:drush-aliases (drush-aliases)        Find the project's Drush aliases


Fix setup command

Restructure bin folder
Fix inquirer
Move babel-polyfill to the entry file
Close #380

Please don't merge this until #376 was merged

lgtm


Upgrade FB3

Hi All.
Please consider this change.
This includes:

Database:

SQL Security
Linger

Procedures:

Hide  procedures from  packages.
UDR functionality.
SQL Security

Functions:

Hide functions from packages.
UDR functionality.
Separate UDF.
PSQL Functions.
SQL Security

Domains:

separate sysdomain.

Triggers:

Separate DDL Triggers.
Separate DB Triggers.
SQL Security

Tables:

Separatte GTT.
SQL Security

Packages:

Basic functionality.
SQL Security
Agregate syspackages.

We need to solve the conflicts first , merge from master to dev branch and then to this one from dev


Gif feature

Fixes #
Export Circuits as GIFs #2065
This pull request is for to add new feature of exporting Circuit as GIF
Describe the changes you have made in this PR -
1.Added two new file gifshot.js and gifshot.min.js (This files include code which help to implement this feature)
2.Added new code to export as GIF location (public/src/data/save.js)
3.Added new line main.stylesheet.css
4.Added new line in (app/views/simulator/edit.html.erb)
Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage decreased (-0.05%) to 84.66% when pulling f9a3ff349fb12e89120a24fb4c2f4892c2e1263d on ZadeAbhishek:GIF-feature into 2fdbc4e78d83c19cb4405ed0b32b252644603984 on CircuitVerse:master.

Coverage decreased (-0.05%) to 84.66% when pulling f9a3ff349fb12e89120a24fb4c2f4892c2e1263d on ZadeAbhishek:GIF-feature into 2fdbc4e78d83c19cb4405ed0b32b252644603984 on CircuitVerse:master.

@shubhankarsharma00 @abstrekt  can u review this PR?
@ZadeAbhishek thanks for this PR. I would like to see this done.
But please try to add the library as a NPM dependency instead of adding it as code.

sure @satu0king will modify and also research about mp4 format addition.

Sure noted working on this

Hey @satu0king  i have implemented stop button feature . also change bit UI

here is the video
https://user-images.githubusercontent.com/66520848/109385660-81947480-791b-11eb-87d3-4fef80de9d63.mp4
also working on video feature implementation

hey @satu0king  @abstrekt
i have done somechanges i you asked
0.seperate GIF and GIF-animated
1.Added stop button
2.Added video feature
3.Max limit to record GIF is 2 min i.e 120 sec
4.used npm to add dependency
Limitation
Video recoding as black as blackground i have used WebRTC which is most commly used to record canvas and WebRTC does not support alpha channel yet. WebRTC will convert pixel blocks into I420 pixel format which has 24 bit channel and does not have support for Alpha channel. On the other end , stream will be converted back to another pixel but alpha channel information will be lost.
also i am not able to lock simulator while recording GIF is there any why to lock  ???

@ZadeAbhishek this looks like a great feature. One thing I will like to point is that it would be great if we don't have to put a prompt for asking frame rate for GIF and have it in the menu next to the transparent background option because prompts don't work well with the Electron app. There is no defined way to lock the simulator, setting listenToSimulator = false and embed = true will shut all hotkey binds and wire logic but things like drag and select which can be done with the mouse will still work. Anyways I don't see much need to lock anything except maybe dragging and you'll have to write the logic for that which can be a bit trickier.

@shubhankarsharma00 working on it .

Hey @shubhankarsharma00  i have done the changes please check this

hey @satu0king @shubhankarsharma00 @abstrekt  can you check the feature i have done the changes


Addresses #1627 Update a_adding_term_cellxgene.md

Template was not appearing in GitHub. It may have to do with the quotes I used in the label values. h_typos_bugs.md is a template that uses multiple labels with no quotes, so I updated a_adding_term_cellxgene.md to match the format.

Sorry, @dosumis, but can you approve this again. I think the format of using two sets of single quotes in the labels were blocking the template from being recognised.

@dosumis, can you approve this again? I think the format of using two sets of single quotes in the labels were blocking the template from being recognised.


Create a function that puts the number of users in a certain server id or all servers combined of a server bot into a into basically a int required function that gathers the number of users in a server or a total number of servers

just think this may be a cool easy feature

Please ask in the JDA Discord next time, as we could've answered this question fairly easy.
In general, there are more than enough ways to get specific values such as total amount of members or from specific guilds.
Here are two examples I quickly made.
JDA jda = JDABuilder.createDefault("S3cretT0k3n")
    .build();

// get all users in total:
long totalUsers = jda.getUserCache().size();

// get from a specific server
long guildUsers = jda.getGuildCache().stream()
    .filter(guild -> guild.getIdLong() ==<PHONE_NUMBER>L)
    .map(Guild::getMembers)
    .count();

Also, follow the issue template next time please :)

no worries we already did 🙃


Please update the information on the "Connect to SQL Server from Power Apps" page.

[Enter feedback here]
We are aware that the on-premises gateway is currently supported in a non-default environment too.
However, the following public information states that it is only supported in the default environment.
Please update this information to be correct.

https://flow.microsoft.com/en-us/blog/supporting-on-premises-data-gateways-in-non-default-environments/

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-azure-sqldatabase
==================================================================
 Note
Gateways and on-premises connections can only be created and used in the user's default environment.
==================================================================

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

ID: bbcbf308-e9b9-d59d-5b1b-ba224dcc1aa9
Version Independent ID: 5959353c-ab28-1bc6-8c21-3b186c1bf61d
Content: Overview of the SQL Server connection - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/connections/connection-azure-sqldatabase.md
Service: powerapps
GitHub Login: @lancedMicrosoft
Microsoft Alias: lanced

Thank you for reaching out. Content has been updated. Please allow some time to reflect the changes.


Issue with docs.zowe.org/stable/troubleshoot/app-framework/app-troubleshoot/

The page referenced gives a list of ZSS error messages with "cmsRC" that all indicate ZIS isnt started and should be started.
Lets add one next to the cmsRC=64 which is 47
ZIS status - Failure (name='ZWESIS_STD      ', cmsRC=47, description='N/A', clientVersion=2)
Same end user action, just another such code to add to that list.

This is still an issue people should want to know about for v1. in v2, we state the answer in the zss error codes explanation.


Modularity: Implement a central configuration system to make the bot more easily configurable

Is your feature request related to a problem? Please describe.
The bot is not easily modifiable, and requires looking through every file and changing the user id of the owner
Describe the solution you'd like
Instead, use a variable in some sort of central configuration file, which can be easily modified.
This will help people not have to go through every file looking for the owner's id and changing it to their own
Describe alternatives you've considered
Manually modifying owner IDs
Additional context
No additional context

Todo:

[ ] Create config.json
[ ] Read from config.json
[ ] Assign any constant variables (including the bot's owner id) through the central config.json


Add Third-Party Authentication for Direct Login. {GSSoC '23}

##Details:
The feature entails enabling users to authenticate using their Google, Microsoft, or Apple accounts, with the assistance of Auth0. By implementing this functionality, we can enhance the user experience and provide a seamless onboarding process.
Proposed Method:

Integration: Integrate Auth0's authentication services into your existing login and signup workflows.
Supported Providers: Allow users to authenticate using their Google, Microsoft, Apple, or any other accounts.
User Data: Retrieve basic user information (e.g., name, email) from the respective third-party provider to populate our user database.
Security: Implement proper protocols and security measures to safeguard user data and ensure compliance with industry standards.

Benefits:

Simplified Onboarding: Users can sign in or sign up using their existing credentials, reducing friction during the registration process.
Wider Reach: Supporting popular third-party authentication providers broadens our user base by accommodating users who prefer these platforms.
Enhanced Security: Leveraging Auth0's authentication services provides robust security measures and reduces the risk of unauthorized access.

I believe that this feature will significantly improve user satisfaction and contribute to the overall success of the project. Your consideration and support in assigning this task to me under GSSoC '23 would be highly appreciated.

Okay ! Happy Contributing

In order to implement this feature, we need to have an account in Google API Console and get the API Key.
How can we proceed with this @apoorvaron?

@Ayushpanditmoto Please look into this

@Ayushpanditmoto

@GVishnudhasan as this project is open source and also if you implement auth0 in this project which will be paid after reaching certain limits . Definitely it will make our login process easy but you can do this task in another branch you can implement auth0 task , so that master or main branch does not effect . If ready tell  and talking about api key use .env file something like that use your google api

@apoorvaron  and also my exams are going on so i will be available very less upto 1stJuly

@Ayushpanditmoto Okay

@GVishnudhasan I m closing this issue , because hosting does not allow to send mails. I have spend hours to check this out. I m sorry for this


Libraries

Added Kuka Robots

Hi @HenriBenz, I used the meshreduce command in the KUKAs and run a cleanup script that removed some empty layers.
Please check if everything looks fine and I can merge.

Hi @visose looks great! Thank you!


Upgrade swc depedencies

This fixes an issue with the readonly modifier not being emitted from TsIndexSignature nodes.  Also, more things are boxed now so that required a few changes to d_ts.rs.

Codecov Report

Merging #300 (d6d4c76) into main (474413c) will increase coverage by 0.02%.
The diff coverage is 92.30%.

:exclamation: Current head d6d4c76 differs from pull request most recent head 3f669cc. Consider uploading reports for the commit 3f669cc to get more accurate results

@@            Coverage Diff             @@
##             main     #300      +/-   ##
==========================================
+ Coverage   89.95%   89.97%   +0.02%
==========================================
  Files          31       31
  Lines        5165     5137      -28
==========================================
- Hits         4646     4622      -24
+ Misses        519      515       -4

Impacted Files
Coverage Δ

crates/crochet_codegen/src/d_ts.rs
76.97% <91.30%> (+0.65%)
:arrow_up:

crates/crochet_codegen/src/js.rs
94.96% <100.00%> (+0.17%)
:arrow_up:

crates/crochet_types/src/type.rs
82.22% <0.00%> (-4.45%)
:arrow_down:

crates/crochet_ast/src/lit.rs
100.00% <0.00%> (ø)

crates/crochet_infer/src/util.rs
93.39% <0.00%> (+0.47%)
:arrow_up:

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


[stable/rabbitmq-ha] RabbitMQ upgrade to 3.8.0 and proper support of the new rabbitmq_prom…

What this PR does / why we need it:
The rabbitmqPrometheusPlugin flag was added but with no proper support for ServiceMonitor. This plugin is available from RabbitMQ 3.8.0 and makes the old prometheus_rabbitmq_exporter obsolete for versions > 3.8.0.
More details here: https://www.rabbitmq.com/prometheus.html
They have nice dashboards maintained by them :)
Special notes for your reviewer:
Don't know what to do with the Rules. Should they be enabled only for old exporter? (which makes sense they don't work on 3.8.0 plugin). Should I try and migrate them to 3.8.0? Please advise.
@steven-sheehy
All in all, these changes should be backwards compatible!
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md (I did not add any new ones)
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@MihaiAnei
Would you mind to resolve conflicting files please?
stable/rabbitmq-ha/Chart.yaml

@MihaiAnei
Would you mind to resolve conflicting files please?
stable/rabbitmq-ha/Chart.yaml

Yup, fixed.

@MihaiAnei Yes, When I added the new plugin I forgot this part,
but I already prepared this PR: https://github.com/helm/charts/pull/18106 .
I don't care which one will be used, just to know there is a duplication

/ok-to-test

@Gsantomaggio oh sorry mate, did not see that one. If you add the required changes for a ServiceMonitor object I think yours is more complete because it takes into account NodePorts as well. I will close this one afterwards and we can merge yours.

@ MihaiAnei
I sent you an invite. Feel free to add the missing part, so we will commit together :)!


Can't download models

It cannot download the models anymore. I've noticed that FlashRank has changed the address where the files are located. SwiftRank uses the same address and it's now "deprecated". Possible solutions: host the models in an own address or update the code to reference the new location.

@synacktraa your library VOILATES the spirit of OSS Collaboration by reusing the cloud bucket of flashrank. Cloud buckets are NOT FREE.
The beauty of OSS is anyone is free to copy or repurpose permissively licensed code with attribution.
But cloud buckets costs for $ for storage, ingress and egress.
One cannot claim innocence or ignorance for an attempt like this. A rewrite version pointing to someone else’s (org or individual) bucket amounts to stealing.
  How are you even suggesting an option to point to the new location ?

Hi @PrithivirajDamodaran. I don't really know what's the best solution here. I found SwiftRank after using FlashRank for a few days. I've noticed that SwiftRank has better performance and doens't crash my container (2gb of ram) when reranking 100 or more documents. That's the reason why I switched from FlashRank to SwiftRank.
At first, I didn't know it was using FlashRank storage. I just realized it when it stopped working. I didn't know this storage costs money either and that's why suggested updating the code to point to the new location. However, it seems clear now that's not the way to go.
Is there any problem hosting the same files you have from other storage? Just asking, I don't really know if there's any implications in this case.

@marloncarvalho why are you mixing things here. 1st things 1st - Shouldn't the author have the professional courtesy to first discuss this with me ?
Flashrank is used in production by many users, including myself. if you have questions about that this isn't the right forum open up an issue there.

@PrithivirajDamodaran sorry, I didn't make myself clear. I wasn't trying to "open an issue" here. I was just trying to clarify things and make it clear I wasn't one of the authors as it may have looked like in my first post.
Yes, you're totally right. If you have costs to store the files, there's no doubt SwiftRank's author should have asked your permission beforehand.

@marloncarvalho - Absolutely no confusion here, I did not mistake you for an author,
As you mentioned your challenge below

I've noticed that SwiftRank has better performance and doens't crash my container (2gb of ram) when reranking 100 or more documents. That's the reason why I switched from FlashRank to SwiftRank.

I was telling you this isn't the right forum to discuss the challenges you faced. Feel free to open an issue, If you did open I will be happy to help.
But thats NOT the main idea of my commenting in this thread.

Agreed. Let's focus on the main problem here. :-)
@synacktraa Could you host your own files on your own storage?
@PrithivirajDamodaran Is there any copyright restriction in your model files? Can it be downloaded and reused?

@synacktraa your library VOILATES the spirit of OSS Collaboration by reusing the cloud bucket of flashrank. Cloud buckets are NOT FREE !
The beauty of OSS is anyone is free to copy or repurpose permissively licensed code with attribution.
But cloud buckets costs $ for storage, ingress and egress.
One cannot claim innocence or ignorance for an attempt like this. A rewrite version pointing to someone else’s (org or individual) bucket amounts to stealing.
  How are you even suggesting an option to point to the new location ?

Hi @PrithivirajDamodaran, I don't know what you mean by stealing here. I had no idea about that your hosted models were on cloud buckets. I did open open a PR improving some functionalities, but you never accepted it. Also I tried to follow as much as I could understand from the LICENSE you're using. I even gave acknowledgement to FlashRank project to help people understand that it's just a improved version and that I'm not the owner. Please don't the word 'steal' so easily. Thankyou.

Agreed. Let's focus on the main problem here. :-)
@synacktraa Could you host your own files on your own storage?
@PrithivirajDamodaran Is there any copyright restriction in your model files? Can it be downloaded and reused?

No man, I'll just delete this repository. You should open this issue in original FlashRank library.

I'm really sad to hear that. You've made a great work here and I believe that you didn't want to steal anything. I think these are the same files you can download directly from HuggingFace repository. Maybe you could download from there.

I'm really sad to hear that. You've made a great work here and I believe that you didn't want to steal anything. I think these are the same files you can download directly from HuggingFace repository. Maybe you could download from there.
@synacktraa

Oh is it available on HF? @marloncarvalho  I don't even understand why he said I stole it. Isn't it just downloading the model from there? It's not like swiftrank is using it for inferencing.

He sad it because he's paying to host the files. I agree that you should've asked him but at the same time I believe that you didn't want to do any harm to him. Maybe just an e-mail asking to remove the reference to his storage would have easily solved this.
Not exactly the same files, but I think we can derive the files from HuggingFace repository. I'm not an expert about it. :-)

@synacktraa He sad it because he's paying to host the files. I agree that you should've asked him but at the same time I believe that you didn't want to do any harm to him. Maybe just an e-mail asking to remove the reference to his storage would have easily solved this.
Not exactly the same files, but I think we can derive the files from HuggingFace repository. I'm not an expert about it. :-)

Thanks for understanding. I'll update and point the files to HF asap from my end.

@synacktraa -

Let's take it step by step.  Understand what transpired and how it impacts me.
How did I come know this library is pointing to my bucket in the 1st place ? A small change in my overall cloud $, not much but enough to notice. I started digging from there.
I am an individual using my hard earned money for writing OSS for the community, not a funded company or corporate.
As mentioned in the 1st comment, LICENSE is ONLY for the code not for the cloud bucket. Its a common knowledge.
"I had no idea about that your hosted models were on cloud buckets" - Please ask me, you are also connected with me in LinkedIn apparently recently. You never DMed me or anything. When in doubt always reach and out ask.
If your PR was not merged doesn't you give the authority to point someone else's $ bucket without asking.
If you use something that I am paying ($) for without me knowing or telling me what else it is called ?
Exact phrase I used "Setup YOUR OWN BUCKET. Stop stealing." Stealing is used in the conjunction with the CLOUD BUCKET $ that your library's model downloads is costing me. Data egress. It can be pennies on the dollar but on an aggregate it can pile-up.
No, int8 Quantised models are not available directly in HF, if it did Wouldn't I have not pointed it directly there in the 1st place ? Why will I take is effort ?
I have trained and uploaded multiple models with 22M+ model downloads in HF. I never have to claim ownership to someone else model files. Thats what the phrase "Based on SoTA cross encoder models..." in flashrank desc means.

@marloncarvalho -
If you are using someone else's work the burden and responsibility is on you to reach out for clarification and help. How many people I can email like this "please don't abuse or steal my resources its costing me $" ?. The author is also connected with me in LinkedIn apparently very recently.
Just because it serves your purpose don't make claims like this.

I love the spirit of open source and I have been doing this for a long time now. To prevent further abuse of myself cloud bucket $ and solve this issue, I can point all the models to HF and let you know.
You can reuse it.

@PrithivirajDamodaran You have a point and I understand it. Howerver, don't get me wrong, I think you overreacted, mainly because you said he was stealing you. You even changed FlashRank's readme to say you were stoled. It sounded like he did it to cause harm to you and I believe that was not the case.
And yes, I can make claims like this one, don't tell me what I can or cannot do. I said it because I think it would've be solved in a better way. That's how I think and that's okay. You think differently than me but I don't tell you what you can or cannot say.
But I there's no point in keeping this discussion. @synacktraa already told he will point to another repository and it's pointless to keep this thread open.

@marloncarvalho - I did not react at all :-) I responded and moved step by step. 1st I created a new bucket, moved my contents to prevent further issues. Only because of it you noticed download problems and created the issue. Only then I responded to this issue, where is the overreaction here ?
How would you have responded if you have to pay extra cloud bill because of a wrongful situation like this ?
If you are taking that stand. I can respond the way I see fit when it comes to my money and my resources.  You most certainly don't get to tell me about it or how should engage with them. Also even after hinting to the author should talk to me, you started negotiating on behalf of the author, which you have business to do.

As promised, Here is new link:  https://huggingface.co/prithivida/flashrank and it is covered under cc-by-sa-4.0 license for source attribution.

Enjoy.

@PrithivirajDamodaran  Really? Your first move was to change your bucket address. That's okay, I'd have done it too. Your second move: spread to the world that @synacktraa is a stealer. And you still think it's not overreacting?
I would have responded asking him if he knows what he's doing. If he understands that he's wrong but never ever telling to everyone in the world that his a stealer. It's overreacting.
I'm "negotiating in behalf" of him because of your overreaction. He was thinking in deleting this repo because of it and I believe he should'nt do this. He made a mistake and he's willing to solve it. That's why I'm ready to help him.

We all understand the value of a benefit of doubt and I also would have given it to a lay person but I understood that the author is competent in both ML (especially compressed models like GGUF) and Cyber security space (see below).
Btw If I really wanted to spread, I have a good social capital and connections I could have easily created a social post to spread. I just notified my users in the repo because of this disruption people started facing problems and creating issues.

Like I said when working with other's work and when in doubt always best to ask first.

I totally also understand your fear of losing a library that you are using and I see why you are taking his side and helping him. That's ok. It's human nature.
I have shared the link to the int8 models.

As a production user of FlashRank, I feel the need to share my thoughts in this thread. Anyone familiar with the cloud would know that hosting a piece of data costs money, and it doesn't stop there. It extends to ingress and egress. I find the thread lopsided, and I wonder why the author of the repo needs to notify others of the changes to his internal assets. @PrithivirajDamodaran, as a beneficiary of your repo, I want to thank you for your work and support in your decision to make this change.

...not to mention the dirstuption this has caused me and other existing users of FlashRank. 😓

@marloncarvalho Thanks so much for all your support. I'm going to update swiftrank with HF hosted models and incorporate some new minor functionalities.
@PrithivirajDamodaran, thank you for uploading the models to HF. If there are any remaining concerns with the report, please feel free to open an issue or contact me directly on LinkedIn. I would greatly appreciate it if any discrepancies were viewed as misunderstandings or lack of experience rather than intentional wrongdoing.
@maruthiprithivi Apologies for the inconvenience experienced by you and other FlashRank users. Thank you.

@synacktraa I think there's no need to keep this issue open anymore. Closing it.


Fix: DO-1900, DO-1914: Input width issues

Motivation and Context

A number of small issues relating to the width of input components were found:

Datepicker would overlap with one another
User could not easily set the width to a numeric input
Multiselect input was taking too much space
This PR addresses these issues

Implementation Description

The Datepicker issue was found due to the outer wrapper essentially thinking that its width was 0, I believe this is due the popper, the fix was simply to add a width equal to the input size.
When testing NumericInput a second issue was found that on hover the input box moved a pixel downwards due to the border effect. The fix was to add an auto height to the inner input.
It was also found that the input width was too narrow, this became more apparent when the whole component's width became smaller, I removed the previous restriction of width, which given the current paddings is not needed.
The width was not able to be set on the Dara side because the style was one component inwards than it should have been, this was also addressed.
Finally on Dara the Multiselect's width took more space than it should and in some cases resulted in an unnecessary next line added to the component. The fix here was to set flex-basis to a reasonable number, in this instance I set it to '5ch'.
Any new dependencies Introduced

None
How Has This Been Tested?

Datepicker and NumericInput were tested on Storybook.
Multiselect issue, I could not recreate it on Storybook, this always seemed to behave as expected. Instead I tested these changes on an app running in Dara instead. I then tested on Storybook for further variations after the fix was made.
PR Checklist:

[ ] I have implemented all requirements? (see JIRA, project documentation).
[ ] I am not affecting someone else's work, If I am, they are included as a reviewer.
[ ] I have added relevant tests (unit, integration or regression).
[ ] I have added comments to all the bits that are hard to follow.
[ ] I have added/updated Documentation.
[ ] I have updated the appropriate changelog with a line for my changes.

Screenshots (if appropriate):

Before:

After:

great stuff - one qq, what happens in the multiselect when we type something really long now after we shrank the input to not escape in the new line?

great stuff - one qq, what happens in the multiselect when we type something really long now after we shrank the input to not escape in the new line?

The input will still escape if the space it has left is not enough for at least 5 characters

great stuff - one qq, what happens in the multiselect when we type something really long now after we shrank the input to not escape in the new line?

The input will still escape if the space it has left is not enough for at least 5 characters. So if the space remaining fits more than five letters it will stay in line, if it is less then it will show the next line so that an user can still type search for select

Amazing!


Adding  CSS classes and  attributes

Describe the problem
Some CSS styling techniques and external JavaScript integrations require one to add classes on .
I do not know if this is possible because the current%svelte.body% is wrapped within the
 (at least on the starter template):

%svelte.body%

Another common feature is add attributes on  itself, like . This is especially important for SSR pages, as locale specific SEO optimisations are somewhat important.
I see this otpic been discussed in Svelte issue tracker before:

https://github.com/sveltejs/svelte/issues/3105
https://github.com/sveltejs/svelte/issues/1133
https://github.com/sveltejs/svelte/issues/6620

Describe the proposed solution
Because the SvelteKit has the concept of a page the issue could be solved on a page level, making the solution more straightforward than a generic Svelte solution.
Output could contain hooks allowing modifying both  and .
I do not, however, know if Svelte internals has enough flexibility to allow this.
Alternatives considered
Solve this issue on Svelte level. However, it seems like there hasn't been any progress on this over two years.
Importance
nice to have
Additional Information
No response

I do not know if this is possible because

so You create issue about "BUG/feature" that You don't even know if exist in Svelte? Well, You know, this issue is already solved, because it works. The problem is only HTML attributes that are already covered by other issues and also RFC: https://github.com/sveltejs/rfcs/pull/55
so this issue is totally useless.

Just as a quicktip (apart from svelte): You have javascript on your hand. You have access to the document. Nothing in the world hinders you from just do something like document.getElementsByTagName("body")[0].classList.add("foo") or similar...

@benbender actually, SSR has hindered you from just use DOM API, because SvelteKit is also about isomorphic/universal applications, so we need to have the ways to do some things on both - client and server - sides universally.

FYI there now exists (svelte-body)[https://www.npmjs.com/package/svelte-body] package.
I consider this issue closed with this addon package.


Clicking on the Recent Trades tab and then clicking on Order Book tab will show the user a blank order book.

Clicking on the Recent Trades tab and then clicking on Order Book tab will show the user a blank order book.
If you click twice on the Order Book everything will show up again.
Here's my address if this is accepted: 0x38aC7EA6d2EDFf2d78E5af31B4caF27592b4e094

Confirmed, thank you. Please provide an ETH address.

Confirmed, thank you. Please provide an ETH address.

0x38aC7EA6d2EDFf2d78E5af31B4caF27592b4e094
Thanks!

Fixed


Get Castopod working

Castopod has their own custom fediverse support, assuming they've tested with incoming comments from Mastodon.  Code appears to be in their Fediverse module.
First thing found when trying to send a federated comment over to a Castopod v1.0 beta server: you need to include the algorithm parameters in the http signature (which is optional in the spec), and make sure you send the signature parameters in the exact order Castopod expects in their regex.
Once you get past the signature checking, the federation call fails with a 500 response code with no body, so hard to tell what's going wrong.
Request from Minipub (this type of call works when sending to Mastodon & Pleroma):
POST https://beta.castopod.ovh/@castopod/inbox
date: Fri, 28 Jan 2022 19:16:20 GMT
signature: keyId="https://minipub.server/actors/c836a885674848f9bfc42742802b2703#main-key",algorithm="rsa-sha256",headers="(request-target) host date digest",signature="<base64>"
digest: SHA-256=<base64>
content-type: application/activity+json

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "id": "https://minipub.server/actors/c836a885674848f9bfc42742802b2703/activities/e15f2ab701284269ac143d5d7e24c51b",
  "type": "Create",
  "actor": "https://minipub.server/actors/c836a885674848f9bfc42742802b2703",
  "object": {
    "id": "https://minipub.server/actors/c836a885674848f9bfc42742802b2703/objects/4ff3fe45dca04791b3c0203e9fa37912",
    "type": "Note",
    "published": "2022-01-25T17:21:01.278Z",
    "attributedTo": "https://minipub.server/actors/c836a885674848f9bfc42742802b2703",
    "inReplyTo": "https://beta.castopod.ovh/@castopod/posts/7ca3652b-ca62-4a35-8de9-6a73e0702127",
    "contentMap": {
      "en": "👍"
    },
    "to": [
      "https://www.w3.org/ns/activitystreams#Public"
    ],
    "cc": [
      "https://beta.castopod.ovh/@castopod"
    ]
  },
  "published": "2022-01-25T17:21:01.278Z"
}

Response from Castopod:
500 https://beta.castopod.ovh/@castopod/inbox
cache-control: no-store, max-age=0, no-cache
content-type: text/html; charset=UTF-8
date: Fri, 28 Jan 2022 19:16:21 GMT

(no body)

It would be great to get any server-side logging on this.  If it's an unhandled exception, maybe it would show up in the log.

Still getting 500s after trying a few things I could think of:

sending a redundant content json property along with contentMap like Mastodon does
sending a message with no emojis
sending a message from a new actor with a defined url, which is optional

Hmm, I would really love to see the backend logs for this, want to avoid setting up my own castopod just to test this.
Better errors responses from Castopod would of course be ideal

Working on it! Thanks for investigating 🙂
I fixed the issue regarding the http signature checks being too strict. I'm awaiting logs on my test instance to get to the bottom of the 500 errors.
Here's the WIP merge request: https://code.podlibre.org/podlibre/castopod-host/-/merge_requests/168/diffs

I've released Castopod v1.0.0-beta.6 with the fixes.
Thanks for all your work and feedback!

Alright, considering this closed with the latest Castopod beta - hopefully it gets installed far and wide.  Thanks @yassinedoghri for the changes!


Bug with ion-select style (label position = floating)?

I use formly for ionic and have a problem with control of type 'select' with labelPosition: 'floating'.
ion-select has css property:
:host(.in-item) {
    position: static;
    max-width: 45%;
}

Because of 'max-width: 45%' selected value is not fully visible - screenshot http://nimb.ws/i4z23B.
I tried different ways but couldn't customize it.
Is it bug ? How can I change css property 'max-width'?
Sample: https://stackblitz.com/edit/angular-ionic-formly-select?file=src/app/app.component.ts

As it turned out this is a Formly library bug.
formly-field-select-ion tag is inserted between ion-item and ion-select ionic tags. And it crashes ionic styles (in case we use position floating option for label).
Solution is adding additional css in component styles file:
::ng-deep .item-label-floating ion-select {
  align-self: stretch;
  max-width: 100%;
}

This issue has been fixed and released as part of 5.10.11 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!

This issue has been fixed and released as part of 5.10.11 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


Bonfire: Binary Agents - correct output but not passing tests

Issue Description

Code produces the correct output strings according to test reqs, but the tests do not show as passed. Have tried output strings with double quotes and without, but neither passes.

Browser Information

Browser Name, Version > Chrome Version 49.0.2623.87 (64-bit)
Operating System > OS X - El Capitan Version 10.11.3

Your Code
function binaryAgent(str) {
var bytes = str.split(" "),
chars = [];
for (var i = 0; i < bytes.length; i++) {
chars.push(String.fromCharCode(parseInt(bytes[i], 2)));
}
chars = chars.join(" ");
console.log(chars);
return chars;
}
Screenshot

binaryAgent("01000001 01110010 01100101 01101110 00100111 01110100 00100000 01100010 01101111 01101110 01100110 01101001 01110010 01100101 01110011 00100000 01100110 01110101 01101110 00100001 00111111") should return "Aren't bonfires fun!?"

The difference is the spaces between each character. Your code can be corrected by changing line 8 to chars = chars.join(""); which does not introduce extra spaces when forming the string.
The test cases are written correctly.
Happy coding!

doh! Thanks for the quick response and correction!


Fileformat

Is there a file format definition I can use to create a dictionary file for additional languages I am considering.
Thank you for your work.

There is the code and scripts in the DictionaryPC directory to create dictionaries.
The v6 format relies on Java serialization/deserialization, so specifying it is not remotely a realistic task.
v7 should be more reasonable to specify but it relies on chunked compression, Java's "modified UTF-8" and features like that which make it a bit of a pain.

See:
https://github.com/rdoeffinger/Dictionary/blob/master/dictionary-format.txt
But I am not so sure you will still want to implement it after reading that...

Was this of any use? I am happy to add clarifications/improvements, but I don't really want to spend time on that unless it will actually be used.


Select2's "tags: true" isn't supported

Select2 allows dynamic option creation by setting tags: true. Unfortunately it doesn't work well with yadcf, since the select box is re-created on each selection, and the newly created dynamic option gets removed.
For example, here's a demo:
https://jsfiddle.net/zjk2a4u9/
As you can see in the gif below, inserting "i" as a new option works, but the option is not preserved and the select box becomes empty:

@m417z you might wanna look the following issue that was opened / resolved, maybe you can use the same technique to refresh the filter https://github.com/vedmack/yadcf/issues/602.
Or debug yadcf and try to call init on that filter like in initializeSelectPlugin function


Added asserts to math

Hope you love my asserts

Coverage increased (+5.7%) to 42.529% when pulling 683fc803448ea10b5895be5984280a80d40aead9 on BrianKayWalker:pycon2016 into a5390a50b6e8ab83c47c6c64c379c4daf10aa4dc on keeppythonweird:master.


Screen brightness

Hey - is there a simple way to adjust the screen brightness ?

Well...great question...
Several hours later...
The Schematic says that GPIO38 is ESP_LCD_BLK
Which enables the clever chip "AW9364DNR"
Which dims the four LCD LED backlights here:

So, using LEDC "you can indeed" control the display brightness, proven on my T-Display S3 !!!
Add this code:
to declarations:
const int ledPin = 38;
const int freq = 5000;
const int ledChannel = 0;
const int resolution = 8;
To setup loop:
ledcSetup(ledChannel, freq, resolution);
ledcAttachPin(ledPin, ledChannel);
To void loop:
ledcWrite(ledChannel, 25);
where 25 is percent.
Variable from 0 - 100%
Cheers, Terry

I know that the information Terry wrote above works, as i have tried the same thing based on Terrys information.

Well...great question... Several hours later... The Schematic says that GPIO38 is ESP_LCD_BLK Which enables the clever chip "AW9364DNR" Which dims the four LCD LED backlights here:
So, using LEDC "you can indeed" control the display brightness, proven on my T-Display S3 !!! Add this code:
to declarations: const int ledPin = 38; const int freq = 5000; const int ledChannel = 0; const int resolution = 8; To void setup: ledcSetup(ledChannel, freq, resolution); ledcAttachPin(ledPin, ledChannel); To void loop: ledcWrite(ledChannel, 25); where 25 (fairly dim) is 25 of 255 max value. Variable from 0 - 255 Cheers, Terry

Thanks Terry 👍 I will give this a go


🚨 Potential Cross-site Scripting (XSS) - Stored (CWE-79)

👋 Hello, @shiren, @kyuwoo-choi, @seonim-ryu - a potential medium severity Cross-site Scripting (XSS) - Stored (CWE-79) vulnerability in your repository has been disclosed to us.
Next Steps
1⃣  Visit https://huntr.dev/bounties/2-other-nhn/tui.editor for more advisory information.
2⃣  Sign-up to validate or speak to the researcher for more assistance.
3⃣ Propose a patch or outsource it to our community - whoever fixes it gets paid.

Confused or need more help?

Join us on our Discord and a member of our team will be happy to help! 🤗

Speak to a member of our team: @JamieSlome

This issue was automatically generated by huntr.dev - a bug bounty board for securing open source code.

@huntr-helper
We will fix it. Thanks!

@js87zz - if you could visit https://huntr.dev/bounties/2-other-nhn/tui.editor to validate the advisory, that would be helpful!

@js87zz - was this valid and/or fixed?


Minified React error #130 - 'this' in JSX arrow function

Describe the bug
It seems like there is some kind of scoping issue when using this in arrow function JSX.
The problem only occurs with production builds, not with dev server. This happens in a clean create-react-app project.
Below code breaks with Minified React error #130.
import React from 'react';

class App extends React.Component {

  Hello = props =>
Hello World
;

  render = () => {

    return (
      <this.Hello/>
    );
  };
}

export default App;

Where as the two following examples work fine.
class App extends React.Component {

  Hello = props =>
Hello World
;

  render = () => {

    let Component = this.Hello;

    return (
      <Component/>
    );
  };
}

class App extends React.Component {

  Hello = props =>
Hello World
;

  render() {

    return (
      <this.Hello/>
    );
  };
}

Did you try recovering your dependencies?
This is on a fresh create-react-app project.
Which terms did you search for in User Guide?
Minifed React Error
arrow function this
this arrow function
JSX this
JSX arrow function
Environment
S3 bucket on AWS via CloudFront and using serve build locally.
Steps to reproduce

npx create-react-app
use a this in JSX in an arrow function.
run yarn build
run serve build
open localhost:5000 and read console.

Expected behavior
To work the same as yarn start. Basically, not crash.
Actual behavior

Reproducible demo
import React from 'react';

class App extends React.Component {

  Hello = props =>
Hello World
;

  render = () => {

    return (
      <this.Hello/>
    );
  };
}

export default App;

@Pixelatedza
I'm not sure why you want to use class-based components as functional components have become more or less the norm nowadays, based on what I have seen.
I have converted your code into a working example:
import React from 'react';

const Hello = props =>
Hello World
;

class App extends React.Component {
  render = () => {
    return <Hello />;
  };
}

export default App;

If you want to convert it to a 100% functional component you can do it like this:
import React from 'react';

const Hello = props =>
Hello World
;

const App = () => <Hello />;

export default App;

Both examples have been tested yarn build and serve.

I appreciate that there are newer and different ways of doing things. I'm not really trying to argue for any specific style or standard or which is better or not better. My point is, that existing code that worked before and is syntactically correct, no longer does.
I'm all for standards changing and all for migrating to newer better methods of work. If the intent was to completely stop supporting class components then a deprecation warning would be nicer than straight up breaking existing code. I don't think that was the intent though.

I appreciate that there are newer and different ways of doing things. I'm not really trying to argue for any specific style or standard or which is better or not better. My point is, that existing code that worked before and is syntactically correct, no longer does.
I'm all for standards changing and all for migrating to newer better methods of work. If the intent was to completely stop supporting class components then a deprecation warning would be nicer than straight up breaking existing code. I don't think that was the intent though.
On a side note, neither of your examples would work as replacements. Both just define a separate component that you can use, that's not what's happening here. Components are defined, built, derived, etc., on the class based on props. The working examples I showed, are fairly easy workaround for now. Again, whether this is a good or bad approach, is not the point. The point is large code bases can't be changed overnight and will no longer work, even though no major versions were bumped.

Apparently the compiler reports an error on  line 7, which is the render function.
I made a minor modification and it works:
import React from 'react';

class App extends React.Component {
  Hello = props =>
Hello World
;

  render() {
    return <this.Hello />;
  }
}

export default App;

I have the same error.
As @Pixelatedza pointed out, there are valid reasons to use React this way, unless React class components are being removed (which won't happen anytime soon, I suppose).
@w3bdesign unfortunately, I already use render() {...} notation, so this isn't the solution.
It cost me many hours to track the exact location because the error never occurs in dev-mode and I found no easy way to make a production build without "minified React errors".
And In my case, the problem doesn't happen in every location where <this.MyComponent> is used. Additionally, the same build is used in three environments (different backends with same REST api) but the error occurs only in two of them. Is this some kind of internal race condition during React rendering or a non-deterministic behavior regarding Babel-transpiled class properties (order of initialisation)?
@Pixelatedza, did you try to triage which create-react-app version introduced this error?
@noelzubin, @gravity25 you reacted with :thumbsup:, do you have this issue aswell?

yes we do

@Pixelatedza, did you try to triage which create-react-app version introduced this error?

@sbusch
Unfortunately not. It doesn't seem like it was a version change from create-react-app. I had someone else on the team build the exact same project, he had a verdaccio local cache and his cached versions worked.
While the react-scripts version was the same (3.4.0), the yarn.lock has a ton of differences. My main suspicions currently are babel (7.8.3 -> 7.9.0) and webpack (4.41.5 -> 4.42.0).

Issue still persists. As I wasnt able to find a suitable upstream issue, I would be thankful if someone with deeper knowledge about CRA internals/babel/webpack could investigate this.
There are other issues which occur in production but not development, like #8687

I still have this issue.

No news?
I also have this, i upgraded our project and suddenly things started to fail on production. After lots of debugging we found it was because of wrong bindig of this, production build stores reference to this sometimes before class initialization, sometimes after.
We managed to create workaround for this issue, but hopefully this will be fixed soon so our production build don't fail again with this "works on my computer" -error.
When debugging, I created this little class to test, this.ContentComponent is undefined on production but works fine on dev build:
import React, { Component } from 'react'

class MinimalApp extends Component {
  ContentComponent = () => (

Some content

  )

  getContent = () => {
    return (

        <this.ContentComponent />

    )
  }

  render() {
    return this.getContent()
  }
}

export default MinimalApp

Same problem there!

Update: I took the effort to extract a minimal repro, by ejecting and stripping it down to the minimum while still showing the error: https://github.com/sbusch/create-react-app-8738-repro
Here are my findings:

the problem is ultimately (but see also note below) caused by the Babel plugin @babel/plugin-transform-classes
in a create-react-app setup, this plugin gets added by Babel preset @babel/preset-env depending on the target browsers
solution/workaround (depending on your requirements):

disable @babel/plugin-transform-classes, OR
set { loose: true } option for @babel/plugin-transform-classes

The latter requires some patching.
But according to my tests, with the default browserslist (see package.json and
Configuring supported browsers)
browserslist: {
  production: [
    '>0.2%',
    'not dead',
    'not op_mini all'
  ]
}

just IE is causing @babel/preset-env to add @babel/plugin-transform-classes to the list of transforms. The easiest workaround is therefore to disable support for IE 11 by add the exclusion 'not ie 11' to the browserslist in package.json like:
browserslist: {
  production: [
    '>0.2%',
    'not dead',
    'not op_mini all',
    'not ie 11'
  ]
}

Important: I recommend to delete node_modules/.cache after any change to the build setup, otherwise they won't be picked up! (that cost me some hours :/))
Notes:

although the problem is ultimately caused by @babel/plugin-transform-classes, it's only happening in conjunction with @babel/plugin-transform-react-jsx and @babel/plugin-proposal-class-properties. Don't know why (yet).
adding browserslist to the repro has no effect because I replace @babel/preset-env just with the plugin setup causing problems.
dev mode (via yarn run start) has been removed from the repro aswell to remove complexity

I plan to file an issue to Babel in the next few days, and will link it here.

I started a discussion at https://github.com/babel/babel/discussions/11785
If this doesn't help, I need to file an issue (current # of open issues: 635 🙀)

Issue filed here: https://github.com/babel/babel/issues/11806

Not resolved, see upstream issue. I'll keep this open and will re-test when a new CRA release comes out

Not resolved, see upstream issue. I'll keep this open and will re-test when a new CRA release comes out

Bump

This seems to be an issue with Babel. When https://github.com/babel/babel/issues/11806 is resolved we will upgrade Babel.


[fix] calculate selector-specificity from root node - fix Microsoft/vscode#63200

[fix] calculate selector-specificity from root node - fix Microsoft/vscode#63200

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ShPelles sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi, this problem still does not seem fixed in version 1.40.0. Can anyone have a look at it?

Hi, this problem still does not seem fixed in version 1.40.0. Can anyone have a look at it?

@aeschli Hi this bug is still a thing now in Sep 2020.

@ShPelles Do you still want to work on this?


[MM-44933] Advanced Text Editor: fixes forced refresh on message submit via button if message have special mentions all, channel etc

Summary
Advanced Text Editor: forced refresh on message submit via send button if message has special mentions all, channel etc
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-44933
Related Pull Requests
NONE
Screenshots
NONE
Release Note
Advanced Text Editor: fixes forced refresh on message submit via button if message have special mentions all, channel etc

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/204745

/e2e-test

@michelengelen Please help prioritize this PR review.

Merging as it is QA deferred

/cherry-pick release-7.0

/cherry-pick cloud

Cherry pick is scheduled.


Create Feature card 25 black

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

Follow Feature Cards Design system &  figma design and to make the button use Button Design System
After building the component please raise a PR with a screenshot of the component and add the component in Feature Cards/src/feature-card-25-blue.html.
If you need to use any icon please use it from Hero Icons
Good luck.

I would like to work on this.

I would like to contribute

@RavindraP04 Done #1792


[Supportability] Add a link on configuring AppInsights for a bot in OnTurnError comments

This information is very valuable, but I wonder if we should provide a link so they can go ahead and do it. The downside is that if the docs link gets stale, so will this.
Originally posted by @carlosscastro in https://github.com/microsoft/BotBuilder-Samples/pull/1905

Added R10 and docs labels to prod discussions. @JonathanFingold do you think this should be added?

Is the proposition to link to the how to add telemetry to your bot from the code comments in the adapter in all samples?
If so, that seems fine, though you probably want to use an aka link so you can effectively do a bulk update if the URL changes.

@stevengum Assigning back to you.

We can also link to the docs describing the analysis of telemetry using Kusto in Azure.  I have added the BF Docs label so that this can be handled as part of R10.

Will form part of the all up samples review in R10 - https://github.com/microsoft/botframework-sdk/issues/5897

Currently blocked until this PR is merged -> https://github.com/MicrosoftDocs/bot-docs-pr/pull/2262


Log communication cost

A first attempt at logging the up and down communication costs in GRPC. A decorator on the sender's end and inside callback_fn at the receiver.

Why not GRPC's interceptor?

It is doing the same thing, so this was just easier and more intuitive. grpc interceptor on the requestor's end is gonna have the same lines of code. On the sender's end, it still makes sense, but having a similar structure on both ends makes more sense.

Also, given the structure of the algorithms, after each round, only the received communication cost will be reliable because of asynchrony.

Tested with fl_static.py and fl.py


Part Parameters

We need to consider how to easily implement part parameters (or fields). How to implement this in a manner which does not represent too much work in terms of data entry.
Idea: Field Templates
A PartCategory object can have Field Templates which govern what fields should be implemented by any Part in the category. Fields Templates are 'cascading' in the sense that a Part implements Field Templates from any parent Category.
e.g. 'Resistors' category enforces fields such as value tolerance power and sub-category SMT Resistors enforces case size.
This is all great, but how to minimize the work required for data entry?
Issue: Data Duplication
How do we deal with data duplication - the part name could be R_10K_0805_1% and then the data encoded therein needs to also be encoded in the fields associated with the part.
Is there a way to prevent this data duplication?
Advantage: Filter parts by fields
e.g. select resistors with values 1K to 10K

Reference older issue https://github.com/inventree/InvenTree/issues/106

@jetholloway can't add you here so tagging for visibility


Region drags left when drag is set to false and maxLength is exceeded.

I was trying to use the regions plugin to highlight pieces of audio I wanted to cut from the original without overlap from other regions and came across some peculiar dragging behavior...
Basically I'm trying to create two trimming regions (one in the beginning and one in the end of the waveform) and want them anchored in a way so that only the inner handles can resize without overlapping the other region.
First, I took @katspaugh 's advice from this issue and added a maxLength to prevent any overlapping after a certain point but noticed that resizing the region from the left handle was different than resizing from the right handle.
To reproduce just drag the left handle to the left passed the maxLength and notice that the region drags. If you drag the right handle to the right passed the maxLength notice that the regions stays put as I would hope. Is this expected?
I forked an existing pen and made some modifications to demonstrate my point here. Hope that makes sense and thanks again for creating such a cool library!

@dinhodoes you're using an unsupported version (<script src="https://cdnjs.cloudflare.com/ajax/libs/wavesurfer.js/1.1.5/wavesurfer.min.js"></script>), please try the latest.

no feedback, closing.


ERROR: @io_bazel_rules_go//:go_context_data: cycle in dependency graph

When running gazelle:update-repos getting this circular dep. error:
ERROR: /home/dzintars/.cache/bazel/_bazel_dzintars/9d2bbefc3ec5d528aec11b4c4ea11d3f/external/io_bazel_rules_go/BUILD.bazel:73:16: in go_context_data rule @io_bazel_rules_go//:go_context_data: cycle in dependency graph:
    //:gazelle
    //:gazelle-runner
    @bazel_gazelle//cmd/gazelle:gazelle
    @bazel_gazelle//language/proto:go_default_library
    @bazel_gazelle//language/proto:proto
    @bazel_gazelle//rule:rule
    @bazel_gazelle//label:label
    @bazel_gazelle//pathtools:pathtools
.-> @io_bazel_rules_go//:go_context_data
|   @io_bazel_rules_nogo//:nogo
|   @io_bazel_rules_go//:default_nogo
|   @io_bazel_rules_go//go/tools/builders:nogo_srcs
|   @org_golang_x_tools//go/analysis:go_tool_library
|   @org_golang_x_tools//internal/analysisinternal:go_tool_library
|   @org_golang_x_tools//go/ast/astutil:go_tool_library
|   @org_golang_x_tools//internal/typeparams:typeparams
`-- @io_bazel_rules_go//:go_context_data
ERROR: Analysis of target '//:gazelle' failed; build aborted
INFO: Elapsed time: 38.356s
INFO: 0 processes.

The issue was that i was loading load("//:deps.bzl", "go_dependencies") before gazelle_dependencies().


Update info for IISAS-FedCloud regarding GPU offerings

Summary
Update info for IISAS-FedCloud regarding GPU offerings in
https://docs.egi.eu/users/cloud-compute/gpgpu/
@tdviet please review

Related issue :

OK for me


Fix Spelling in Deprecated .NET SDK Warning

Question, Bug, or Feature?
Bug
Type:
Build
Enter Task Name:
DotNetCoreCLIV2
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/DotNetCoreCLIV2
Environment

Server - Azure Pipelines
Agent - Hosted

Issue Description
When initializing the task a warning is printed/logged regarding .NET Core SDK/runtime 2.2 and 3.0 deprecation and contains a spelling mistake. The word "required" is spelled as  "requied". The spelling mistake was not new but copied forward in #13220 @tejasd1990
Task logs
Starting: Restore Solution
==============================================================================
Task         : .NET Core
Description  : Build, test, package, or publish a dotnet application, or run a custom dotnet command
Version      : 2.171.4
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
==============================================================================
C:\windows\system32\chcp.com 65001
Active code page: 65001
##[warning].NET Core SDK/runtime 2.2 and 3.0 are now End of Line(EOL) and have been removed from all agents. If you're using these SDK/runtimes, kindly upgrade to newer versions which are not EOL, or else use UseDotNet task to install the requied version.

repro for me

Fix has been merged


Table Not Showing

Describe the bug
Table not being viewed properly, markdown not working.
To Reproduce
Steps to reproduce the behavior:

Go to https://harzavad.github.io/the-merchant/notes/year9/hass/politics/myanmar-case-study/transition-to-democracy.html
See error

Expected behavior
Table should have appeared, as is in the .md file

Welcome to... best practices in Markdown!!!
After every heading, put double line breaks. i.e.:
# 9.2 Myanmar's Transition to Democracy

## 1. Myanmar's Transition to Democracy

| Question | Answer |
| ----------- | ----------- |
| Why were the 2012 Burmese By-elections significant in the history of Myanmar? | Whilst the total number of seats (45) was not enough to change the balance of power, it was a huge step forward from being completely under a military dictatorship. Burmese voters U Aung Sangh and Daw Seh Mawe said that this election would lead to more freedom, a better economy, and higher rates of education, which are all important factors. |
| Why are people in Myanmar reluctant to speak out against the Military? | Many people are not sure what to think about the Military suddenly allowing elections, as they had been unable to speak openly without fear of retribution. Any criticism of the regime led to prison sentences. |
| In what ways was the 2012 Election limited in achieving true democracy? | As mentioned before, the election is for 45 seats, which is not enough to change the balance of power. As such, the government would still be very military based. |
| Who is seen as 'the symbol of hope' for Myanmar? | Her Excellency Daw Aung San Suu Kyi is seen as the symbol of hope for Myanmar, and her NLD party won 43 of the total 45 seats. She won the 1991 Nobel Peace Prize. |
| Why did Myanmar Transition to Democracy? | Myanmar's transition to democracy was sparked by the sanctions placed upon the country by the European Union whilst it was under the military dictatorship, and also due to internal protests. |

The gap between the second heading and the table is probably the cause of the problem. And even if it is not, it's still best practices.


npgsql asembly error

when trying to connect the postgresql using report designer it is showing reference assembly error npgsql not found please help

See in file RdlEngineConfig.xml
What path to dll setup in Postgres section?
If like this

     <CodeModule>Npgsql.dll</CodeModule>

then you need have Npgsql.dll library in program folder. Or you can set full path to Npgsql.dll.

It is written like this
PostgreSQL
Npgsql.dll
Npgsql.NpgsqlConnection
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME NOT LIKE 'pg_%' ORDER BY 1
SQL

If like this
<CodeModule>Npgsql.dll</CodeModule>
then you need have Npgsql.dll library in program folder.

it is written like this   Npgsql.dll.I have also paste the Npgsql.dll file in the root folder but still not working

Above image is showing the file structure of the report designer kindly help

but which one is the program folder??

@Gankov but which one is the program folder

This is sems ok. Should works.

@Gankov yes but not working

@Gankov

This error is coming

I use only mysql and if i put dll beside RdlEngine.dll. This always work.
Try use Process Monitor http://download.sysinternals.com/files/ProcessMonitor.zip to define where RDLEngine try search postgres library.


ios: change empty folder icon and make refreshable

Consistent with the empty folder "look" on Android.
https://github.com/user-attachments/assets/db72cc18-af4c-4e99-bba9-2aef99d10bce
fixes #2742
fixes #2739

icon looks a lil large imo
could give em a "new document new drawing" create a nice view here when you feel like it

Having a new document and new drawing button appear for empty folders feels a little redundant (since we have the buttons in the toolbar).

During standup I gather everyone's thoughts and make adjustments in a future PR.


Release

Release notes

Upgrade synthetix packages, now using subgraphs
Refactor loans page, better code quality and avoid infinity loop
Enable Debt page on layer 2
External link to proposals on gov page
Fix coinbase wallet

Testing done:
Claimed on optimism mainet with:

Metamask + Ledger
Metamask + Trezor

Successfully connected to mainnet with:

Coinbase
Wallet Connect
Ledger
Trezor
Metamask

No transactions made on mainnet 💸
Claimed, mint and burn on kovan with:

Metmask

Known/Found issues:

The subgraphs does not work on Optimism Kovan. So if you try to connect with that network we are crashing.
If you have metamask installed and an unsupported network selected there seems to be some cause some issues when connecting with Coinbase & Wallet Connect.
When minting on kovan the UI is not displaying amount correctly, but the transaction goes through with out a problem. This is also happening on production.

@0xclem  Maybe you can do some testing too and then if it all looks good I'll merge this tomorrow

Found one more issue on the /synths page, happing both when connected to kovan and mainnet.
This is from the useGetRateUpdates hook.
https://github.com/Synthetixio/staking/blob/dev/sections/synths/components/SynthPriceCol.tsx#L27
I'm pretty sure we have a logic error here. Date.now() returns a timestamp in ms and we're subtracting one day in seconds.
I tried changing it to both ms and s. Both seems to throw an error.
Do we have any documentation for the subgraphs? Or could you help out @dbeal-eth?
The error is:
Error: Failed to decode Bytesvalue:Odd number of digits``


Allow to point to a private PyPI repo

At the moment the repo to pull from is hardcoded to be
PACKAGES_REPO_URL = 'https://pypi.python.org/pypi'

Allowing to connect to other repos will help a lot, ideally sharing the same argument options as pip (https://pip.pypa.io/en/stable/reference/pip/?highlight=trusted-host#cmdoption-trusted-host, https://pip.pypa.io/en/stable/reference/pip_wheel/#index-url ) for clarity
wi --index-url=http://my_own_repo.company.com --trusted-host my_own_repo.company.com

The trusted host is to avoid requiring https

In the short term PACKAGES_REPO_URL could at least be an environment variable.


Allow for "carthage update" in the carthage action.

Backwards compatible change: default is still bootstrap

Looks great, ready to merge from my side once the CI passes :rocket: Thanks for your contribution

Great, thanks :D

:rocket:


Confusion about ErrTooManyRequests error

Hi,
Thanks a lot for your library, it's simple, yet powerful! :)
Could you please clarify one confusion I have about ErrTooManyRequests error? I don't quite understand from the code when this error could happen.
I see the if state == StateHalfOpen && cb.counts.Requests >= cb.maxRequests condition in the beforeRequest() method but from the rest of the code it doesn't look like it could ever be met. This is because we either get enough consecutive requests to trip circuit to close with this condition if cb.counts.ConsecutiveSuccesses >= cb.maxRequests { cb.setState(StateClosed, now) } or we go back to open state because of a single failure in onFailure(). Or did I misunderstand something?

If you call cb.Execute in parallel, you can call too many beforeRequest before afterRequest.

If you call cb.Execute in parallel, you can call too many beforeRequest before afterRequest.

If you call cb.Execute in parallel, you can call too many beforeRequest before afterRequest.

AFAIK beforeRequest will not executed in parallel since it has mutex, I try to get ErrTooManyRequests just last night, but couldn't get it.

Hi @tegaralaga
You can reproduce the ErrToManyRequests by this test case.
func TestTooManyRequests(t *testing.T) {
	customCB.setState(StateHalfOpen, time.Now())

	// 3 consecutive successes
	succeedLater(customCB, time.Duration(1000)*time.Millisecond)
	succeedLater(customCB, time.Duration(1000)*time.Millisecond)
	succeedLater(customCB, time.Duration(1000)*time.Millisecond)

	time.Sleep(time.Duration(100) * time.Millisecond)

	assert.Equal(t, Counts{3, 0, 0, 0, 0}, customCB.counts)
	assert.Equal(t, succeed(customCB), ErrTooManyRequests)
}

I'm using the "two steps" circuit breaker and is very easy to get the ErrTooManyRequests.
The problem is that after this error the state half open never change!
The state machine stuck by the condition mentioned in this issue:
if state == StateHalfOpen && cb.counts.Requests >= cb.maxRequests
Maybe this is a issue when use the "two steps" feature, but probably a public function to force a state or reset the counters would be helpful to handle this behavior.


Separate Noise File

This is very good work. How can I get a noise file that is separated from the original file? There is only one clean file in the result. Thanks

Unfortunately, this repository is trained for separating speech and vocal only. Simple cases can be calculated by subtracting predicted audio with original audio, it is not guaranteed.

Close this issue.


testnet network support - fs5ear1csdswwej - validator,rpc,api

Just saw in the instructions that we had to do a pull request, but services including validator have running since yesterday

@EdouardLvdl , Your Moniker and validator addresses are required, please update the PR with those details

@EdouardLvdl , Your Moniker and validator addresses are required, please update the PR with those details

Moniker=Stakin
Validator address=akashvaloper1n3m2899t9d7x6gn238hw9sv46qlxp9kmzfaf5x