Error when creating payloads

I'm using latest version of winpayloads and it show me this error when I'm trying to execute Windows Reverse Shell

Windows_Reverse_Shell
[] Creating Payload using Pyinstaller...
[] Error In Creating Payload... Exiting..

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
99 INFO: wrote /etc/winpayloads\payload.spec
154 INFO: Testing for ability to set icons, version resources...
161 INFO: ... resource update available
168 INFO: UPX is not available.
Traceback (most recent call last):
File "/opt/pyinstaller-2.0/pyinstaller.py", line 91, in
main()
File "/opt/pyinstaller-2.0/pyinstaller.py", line 86, in main
run_build(opts, spec_file)
File "/opt/pyinstaller-2.0/pyinstaller.py", line 50, in run_build
PyInstaller.build.main(spec_file, **opts.dict)
File "Z:\opt\pyinstaller-2.0\PyInstaller\build.py", line 1625, in main
build(specfile, buildpath)
File "Z:\opt\pyinstaller-2.0\PyInstaller\build.py", line 1582, in build
execfile(spec)
File "/etc/winpayloads\payload.spec", line 5, in
hookspath=None)
File "Z:\opt\pyinstaller-2.0\PyInstaller\build.py", line 371, in init
raise ValueError("script '%s' not found" % script)
ValueError: script '/etc/winpayloads/payload.py' not found
fixme:msvcrt:__clean_type_info_names_internal (0x13feff0) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e3b304c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e8d8088) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e7ba8c4) stub
fixme:msvcrt:__clean_type_info_names_internal (0xb49568) stub
fixme:msvcrt:__clean_type_info_names_internal (0x44ca30) stub
fixme:msvcrt:__clean_type_info_names_internal (0x100da498) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1d1b5210) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e24e5b8) stub
There are also some error too on second menu "Windows meterpreter reverse shell"

Windows_Meterpreter_Reverse_Shell
[] Try UAC Bypass(Only Works For Local Admin Account)? y/[n]:y
[] Creating Payload using Pyinstaller...
[*] Error In Creating Payload... Exiting..

fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
290 INFO: wrote /etc/winpayloads\payload.spec
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
375 INFO: Testing for ability to set icons, version resources...
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
402 INFO: ... resource update available
411 INFO: UPX is not available.
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x81b6 ignored
Traceback (most recent call last):
File "/opt/pyinstaller-2.0/pyinstaller.py", line 91, in
main()
File "/opt/pyinstaller-2.0/pyinstaller.py", line 86, in main
run_build(opts, spec_file)
File "/opt/pyinstaller-2.0/pyinstaller.py", line 50, in run_build
PyInstaller.build.main(spec_file, **opts.dict)
File "Z:\opt\pyinstaller-2.0\PyInstaller\build.py", line 1625, in main
build(specfile, buildpath)
File "Z:\opt\pyinstaller-2.0\PyInstaller\build.py", line 1582, in build
execfile(spec)
File "/etc/winpayloads\payload.spec", line 5, in
hookspath=None)
File "Z:\opt\pyinstaller-2.0\PyInstaller\build.py", line 371, in init
raise ValueError("script '%s' not found" % script)
ValueError: script '/etc/winpayloads/payload.py' not found
fixme:msvcrt:__clean_type_info_names_internal (0x161eff0) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e3b304c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e8d8088) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e7ba8c4) stub
fixme:msvcrt:__clean_type_info_names_internal (0x929568) stub
fixme:msvcrt:__clean_type_info_names_internal (0x44ca30) stub
fixme:msvcrt:__clean_type_info_names_internal (0x100da498) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1d1b5210) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1e24e5b8) stub

Okay, Can i have some system information?
Also did you run the setup.py completely?

What information do you need ?
Yes I did run the setup.py

Operating system? and anything else you can think that could help

I'm using Ubuntu 16.04 with kernel 4.4.0-generic.
I'm still searching for this error

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

Are you running the tool as root?

Yeah sure

Okay, well i spent some time debugging with your OS and i apparently the error was in my code and i accidentally deleted an important step in creating the payload. Should be all fixed now


Fix for APP_SUSPEND

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Codecov Report

Merging #611 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #611   +/-   ##
=========================================
  Coverage     58.14%   58.14%
  Complexity    18682    18682
=========================================
  Files          1932     1932
  Lines         99436    99436
  Branches      10102    10102
=========================================
  Hits          57819    57819
  Misses        38540    38540
  Partials       3077     3077

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5bac09e...1963158. Read the comment docs.


Got error, using module in angular 6

Error text:
Module not found: Error: Can't resolve './package' in '........\node_modules\has-own'
Fixed by replacing:
exports.version = require('./package').version;
with
exports.version = require('./package.json').version;

What version of nodejs are you using?
On Thu, Feb 14, 2019, 12:11 PM xeax<EMAIL_ADDRESS>wrote:

Error text:
Module not found: Error: Can't resolve './package' in
'C:_mc\angular\node_modules\has-own'
Fixed by replacing:
exports.version = require('./package').version;
with
exports.version = require('./package.json').version;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pebble/has-own/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKLsvsUop7gbjhqVXtVWxQmnLq0bh_hks5vNcL3gaJpZM4a8WpF
.

The same for me node version: 11.15.0

since the pebble org is not maintained, i've forked this back to my org and updated the package to reflect. released as 1.0.1. Thanks! https://github.com/aheckmann/has-own


An argument named "tags" is not expected here

I decided to create a new cluster in the EKS service using the following documentation: https://docs.gitlab.com/ee/user/infrastructure/clusters/connect/new_eks_cluster.html
I got an error in the "validate" step:
Error: Unsupported argument
on .terraform/modules/eks/modules/self-managed-node-group/main.tf line 391, in resource "aws_autoscaling_group" "this":
391: tags = concat(
An argument named "tags" is not expected here.
I will be grateful for any advice

That guide is using v18.1.0 of the eks module. Appears to me that in that version, tags were a map value, and in the current version they're a dynamic block.
I would start by updating the module version to the latest v19.15.3


Fix bugs in torch_wrapper in 'training_8gaussians' notebook

What does this PR do?
This fixes two problems with the torch_wrapper class:

NeuralODE expects the model's forward() method to accept an args argument, which is expected to be a dict, like in the torchdyn.core.DEFunc class. The current torch_wrapper only accepts t and x which causes an error.

The torch_wrapper.forward() method was missing a self before model which resulted in the global model object being used instead of the one saved in the __init__() method.

I also moved the a and b uniform tensors out of the training loop since they are essentially constants.
Before submitting

[x] Did you make sure title is self-explanatory and the description concisely explains the PR?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you test your PR locally with pytest command?
[x] Did you run pre-commit hooks with pre-commit run -a command?

Did you have fun?
Make sure you had fun coding 🙃

Btw, why are you using the a and b vars at all in the OT section of that notebook? It seems that all they do is set the weights for the EMD function. That one, however, uses uniform weights if you pass empty lists as first arguments, so this should be sufficient:
pi = pot.emd([], [], M.detach().cpu().numpy())

Interesting, I did not know this trick. Personally, I think it is slightly more clear to say we are using uniform weights explicitly.

That's a good point. I didn;t think of their educational value :)


support systemd cgroups

done (I think - are the rpc ids scoped, or do I need to avoid number collisions throughout the entire file?)

rpc ids are scoped per app. need to verify there was a sufficient pool of IDs assigned to the app (which I believe there were; if I didn't mis-count, there should be 113 assigned IDs which would support up to ID 112)


[CI] benchmark script obsoleted

What does this PR do?
This script is not anymore the one in charge to run the benchmark but https://github.com/elastic/apm-agent-java/blob/master/scripts/jenkins/run-benchmarks.sh
Checklist

[ ] This is an enhancement of existing features, or a new feature in existing plugins

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] I have made corresponding changes to the documentation

[ ] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

[ ] This is a new plugin

[ ] I have updated CHANGELOG.asciidoc
[ ] My code follows the style guidelines of this project
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have updated supported-technologies.asciidoc
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] Added an instrumentation plugin? Describe how you made sure that old, non-supported versions are not instrumented by accident.

[x] This is something else

[ ] I have updated CHANGELOG.asciidoc

:broken_heart: Tests Failed

Expand to view the summary

Build stats

Build Cause: [Pull request #1331 opened]

Start Time: 2020-08-10T10:23:18.692+0000

Duration: 22 min 52 sec

Test stats :test_tube:

Test
Results

Failed
1

Passed
1282

Skipped
8

Total
1291

Test errors
Expand to view the tests failures

Name: Tests / Unit Tests / simpleCallOutsideTransactionShouldBeIgnored – co.elastic.apm.agent.grpc.v1_6_1.GrpcClientInstrumentationTest

Age: 1
Duration: 0.003
Error Details: Failed to bind

Steps errors
Expand to view the steps failures

Name: Shell Script

Description: #!/bin/bash                set -euxo pipefail                ./mvnw test

Duration: 12 min 32 sec

Start Time: 2020-08-10T10:33:17.761+0000

log

Log output
Expand to view the last 100 lines of log output

[2020-08-10T10:44:58.286Z]
[2020-08-10T10:44:58.286Z] 2020-08-10 10:44:58,269 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to STOPPED state
[2020-08-10T10:44:58.286Z] 2020-08-10 10:44:58,270 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to STOPPED state
[2020-08-10T10:44:58.286Z] 2020-08-10 10:44:58,270 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to STOPPED state
[2020-08-10T10:44:58.286Z] 2020-08-10 10:44:58,270 [elastic-apm-init-instrumentation-shutdown-hook] INFO  co.elastic.apm.agent.impl.ElasticApmTracer - Tracer switched to STOPPED state
[2020-08-10T10:44:58.548Z] 2020-08-10 10:44:58,271 [elastic-apm-init-instrumentation-shutdown-hook] DEBUG co.elastic.apm.agent.bci.MatcherTimerLifecycleListener - Total time spent matching: 17,004ns
[2020-08-10T10:44:58.548Z] | Advice name                                        | Type ns         | Method ns       |
[2020-08-10T10:44:58.548Z] | ConnectionCommandInstrumentation                   |          16,382 |               0 |
[2020-08-10T10:44:58.548Z] | ConnectionInstrumentation                          |             622 |               0 |
[2020-08-10T10:44:58.548Z]
[2020-08-10T10:44:58.548Z] 2020-08-10 10:44:58,271 [elastic-apm-init-instrumentation-shutdown-hook] DEBUG co.elastic.apm.agent.bci.MatcherTimerLifecycleListener - Total time spent matching: 17,004ns
[2020-08-10T10:44:58.548Z] | Advice name                                        | Type ns         | Method ns       |
[2020-08-10T10:44:58.548Z] | ConnectionCommandInstrumentation                   |          16,382 |               0 |
[2020-08-10T10:44:58.548Z] | ConnectionInstrumentation                          |             622 |               0 |
[2020-08-10T10:44:58.548Z]
[2020-08-10T10:44:58.548Z] 2020-08-10 10:44:58,273 [elastic-apm-init-instrumentation-shutdown-hook] DEBUG co.elastic.apm.agent.bci.MatcherTimerLifecycleListener - Total time spent matching: 17,004ns
[2020-08-10T10:44:58.548Z] | Advice name                                        | Type ns         | Method ns       |
[2020-08-10T10:44:58.548Z] | ConnectionCommandInstrumentation                   |          16,382 |               0 |
[2020-08-10T10:44:58.548Z] | ConnectionInstrumentation                          |             622 |               0 |
[2020-08-10T10:44:58.548Z]
[2020-08-10T10:44:58.548Z] 2020-08-10 10:44:58,276 [elastic-apm-init-instrumentation-shutdown-hook] DEBUG co.elastic.apm.agent.bci.MatcherTimerLifecycleListener - Total time spent matching: 17,004ns
[2020-08-10T10:44:58.548Z] | Advice name                                        | Type ns         | Method ns       |
[2020-08-10T10:44:58.548Z] | ConnectionCommandInstrumentation                   |          16,382 |               0 |
[2020-08-10T10:44:58.548Z] | ConnectionInstrumentation                          |             622 |               0 |
[2020-08-10T10:44:58.548Z]
[2020-08-10T10:44:58.955Z] Sending interrupt signal to process
[2020-08-10T10:44:59.149Z] script returned exit code 143
[2020-08-10T10:44:59.854Z] /tmp/scala-maven-plugin-compiler-bridge-sources10892324418077838114/xsbt/DelegatingReporter.scala:171: warning: match may not be exhaustive.
[2020-08-10T10:44:59.854Z] It would fail on the following inputs: ERROR, INFO, WARNING
[2020-08-10T10:44:59.854Z]     sev match {
[2020-08-10T10:44:59.854Z]     ^
[2020-08-10T10:45:01.959Z] script returned exit code 143
[2020-08-10T10:45:03.032Z] Post stage
[2020-08-10T10:45:03.061Z] Recording test results
[2020-08-10T10:45:03.095Z] Post stage
[2020-08-10T10:45:03.125Z] Recording test results
[2020-08-10T10:45:04.401Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1331/src/github.com/elastic/apm-agent-java
[2020-08-10T10:45:04.417Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1331/src/github.com/elastic/apm-agent-java
[2020-08-10T10:45:04.450Z] [INFO] Codecov: Getting branch ref...
[2020-08-10T10:45:04.463Z] [INFO] Codecov: Getting branch ref...
[2020-08-10T10:45:04.505Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-08-10T10:45:04.519Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-08-10T10:45:04.892Z] [INFO] Codecov: Sending data...
[2020-08-10T10:45:04.917Z] [INFO] Codecov: Sending data...
[2020-08-10T10:45:05.496Z] + curl -sSLo codecov.sh https://codecov.io/bash
[2020-08-10T10:45:05.609Z] + curl -sSLo codecov.sh https://codecov.io/bash
[2020-08-10T10:45:05.879Z] + bash codecov.sh
[2020-08-10T10:45:05.880Z]
[2020-08-10T10:45:05.880Z]   _____          _
[2020-08-10T10:45:05.880Z]  / ____|        | |
[2020-08-10T10:45:05.880Z] | |     ___   __| | ___  ___ _____   __
[2020-08-10T10:45:05.880Z] | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
[2020-08-10T10:45:05.880Z] | |___| (_) | (_| |  __/ (_| (_) \ V /
[2020-08-10T10:45:05.880Z]  \_____\___/ \__,_|\___|\___\___/ \_/
[2020-08-10T10:45:05.880Z]                               Bash-20200728-9fb7d93
[2020-08-10T10:45:05.880Z]
[2020-08-10T10:45:05.880Z]
[2020-08-10T10:45:05.880Z] ==> Jenkins CI detected.
[2020-08-10T10:45:05.880Z]     project root: .
[2020-08-10T10:45:05.880Z] --> token set from env
[2020-08-10T10:45:05.880Z]     Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
[2020-08-10T10:45:05.880Z] ==> Running gcov in . (disable via -X gcov)
[2020-08-10T10:45:05.880Z] ==> Python coveragepy not found
[2020-08-10T10:45:05.880Z] ==> Searching for coverage reports in:
[2020-08-10T10:45:05.880Z]     + .
[2020-08-10T10:45:06.042Z] + bash codecov.sh
[2020-08-10T10:45:06.042Z]
[2020-08-10T10:45:06.042Z]   _____          _
[2020-08-10T10:45:06.042Z]  / ____|        | |
[2020-08-10T10:45:06.042Z] | |     ___   __| | ___  ___ _____   __
[2020-08-10T10:45:06.042Z] | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
[2020-08-10T10:45:06.042Z] | |___| (_) | (_| |  __/ (_| (_) \ V /
[2020-08-10T10:45:06.042Z]  \_____\___/ \__,_|\___|\___\___/ \_/
[2020-08-10T10:45:06.042Z]                               Bash-20200728-9fb7d93
[2020-08-10T10:45:06.042Z]
[2020-08-10T10:45:06.042Z]
[2020-08-10T10:45:06.042Z] ==> Jenkins CI detected.
[2020-08-10T10:45:06.042Z]     project root: .
[2020-08-10T10:45:06.042Z] --> token set from env
[2020-08-10T10:45:06.042Z]     Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
[2020-08-10T10:45:06.042Z] ==> Running gcov in . (disable via -X gcov)
[2020-08-10T10:45:06.302Z] ==> Python coveragepy not found
[2020-08-10T10:45:06.302Z] ==> Searching for coverage reports in:
[2020-08-10T10:45:06.303Z]     + .
[2020-08-10T10:45:06.452Z] --> No coverage report found.
[2020-08-10T10:45:06.452Z]     Please visit http://docs.codecov.io/docs/supported-languages
[2020-08-10T10:45:06.563Z] --> No coverage report found.
[2020-08-10T10:45:06.564Z]     Please visit http://docs.codecov.io/docs/supported-languages
[2020-08-10T10:45:07.401Z] Failed in branch Smoke Tests 02
[2020-08-10T10:45:07.774Z] Failed in branch Smoke Tests 01
[2020-08-10T10:45:08.768Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-08-10T10:45:09.026Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2020-08-10T10:45:09.144Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2020-08-10T10:45:09.657Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1331
[2020-08-10T10:45:09.783Z] [INFO] getVaultSecret: Getting secrets
[2020-08-10T10:45:09.869Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-10T10:45:10.956Z] + chmod 755 generate-build-data.sh
[2020-08-10T10:45:10.957Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1331/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1331/runs/1 FAILURE 1311990
[2020-08-10T10:45:11.508Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1331/runs/1/steps/?limit=10000 -o steps-info.json
[2020-08-10T10:45:12.058Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1331/runs/1/tests/?status=FAILED -o tests-errors.json

jenkins run the tests please


Lab 5 submission

@elizabrock do you want fixes issued? explanations given? or is the review just for my information


Match look n' feel of enable-a11y-react with enable-a11y

Match look n' feel of enable-a11y-react project with enable-a11y

Issue moved to enable-a11y-react repo

Issue moved to enable-a11y-react repo


Issue with session closing

Version: master
Python: 3.7.5
aiohttp (3.6.2)
I tried both modes, async and sync, same result :
2019-12-07 10:39:21 asyncio[3439466] ERROR Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7fe47f168810> 2019-12-07 10:39:21 asyncio[3439466] ERROR Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fe47f1514b0>, 1495824.926715675)]'] connector: <aiohttp.connector.TCPConnector object at 0x7fe47f168850>
It seems I have to manually close it : await user.http.close()
Moreover, in your README, there is :
client.loop.run_until_complete(main())
Should it be "asyncio.run(main())" ?

Every spotify.Client and http enabledspotify.User objects have an aiohttp.ClientSession open underneath them.
aiohttp will emit errors/warnings for when the sessions are inappropriately destroyed, the solution is to properly close the sessions. spotify.Client has a close method which will close the underlying client session, spotify.User objects have a http attribute that have a close method for their respective session. You must call these methods when you are discarding the objects.
The library provides an asynchronous context manager for spotify.Client so you don't have to worry about the Client at least:
async with Client(...) as client:
    await stuff

There is currently no such implementation for User objects, since they're intended to be created by other models, the client itself or via one of the User constructors such as from_code or from_token. The solution there is to call user.http.close() yourself.
I'm unable to recall the extent that spotify.sync supports the close calls, so if there are issues there let me know :)

PS: the close methods are coroutine functions, they must be awaited.

Although... with hindsight. The rationale behind the lack of an async context manager for User objects seems a little nonsensical, the following situation could be possible:
async with User.from_token(client, token) as user:
    ...
# Or alternatively
async with client.user_from_token(token) as user:
    ...

I think I'll add this and roll a new release by the end of today to address this lopsided design.


docs: Add Kinesis ingestion samples

Adds a CreateTopicWithKinesisIngestion and UpdateTopicType samples and adds them to the AdminIT test
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

If you write sample code, please follow the samples format.

/gcprun

/gcbrun

/gcbrun

/gcbrun

/gcbrun


Error in .norg filetype when the plugin is enabled when pressing enter in insert mode

Recently, I'm encountering an error with Ultimate-autopair.nvim specifically in files with the .norg filetype (The plugin works as expected in other file types). When I enter insert mode and try to press Enter to move to a new line, the following error message appears:
Error 10:28:32 PM msg_show.lua_error E315: ml_get: Invalid lnum: 27
if i try to enter again, a message appears
10:28:36 PM msg_show.echo ...autopair.nvim/lua/ultimate-autopair/extension/escape.lua:23: attempt to index field 'line' (a nil value) stack traceback:     ...y/ultimate-autopair.nvim/lua/ultimate-autopair/debug.lua:77: in function '__index'     ...autopair.nvim/lua/ultimate-autopair/extension/escape.lua:23: in function 'filter'     ...autopair.nvim/lua/ultimate-autopair/extension/escape.lua:36: in function <...autopair.nvim/lua/ultimate-autopair/extension/escape.lua:35>     [C]: in function 'xpcall'     ...y/ultimate-autopair.nvim/lua/ultimate-autopair/debug.lua:97: in function 'run'     ...zy/ultimate-autopair.nvim/lua/ultimate-autopair/core.lua:96: in function <...zy/ultimate-autopair.nvim/lua/ultimate-autopair/core.lua:87>     [C]: in function 'nvim_eval'     ....local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/keymap.lua:181: in function 'solve'     ....local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/keymap.lua:154: in function <....local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/keymap.lua:153>
This error occurs only when I press Enter in insert mode to move to a new line in .norg files. Interestingly, pressing Alt+Enter (a default Neorg keybinding) works fine, and I don’t encounter any issues with it.
Steps to Reproduce:

Open a .norg file.
Enter insert mode.
Press Enter to create a new line.
Observe the error message above.

Troubleshooting Attempts:

I tried disabling autopair for the .norg filetype using the following configuration:

{
  "altermo/ultimate-autopair.nvim",
  event = {
    "InsertEnter",
    "CmdlineEnter"
  },
  opts = {
    extensions = {
      filetype = {
        nft = {
          "TelescopePrompt",
          "Norg"
        }
      }
    }
  }
}

Despite this, the issue persists when Ultimate-autopair.nvim is enabled.

When I disable Ultimate-autopair.nvim, everything works fine.
I also have mini.pairs installed through lazyvim which was disabled in favor of ultimate-autopair.nvim. If I enable mini.pairs instead, I don’t encounter the error.

Environment:
Neovim version: NVIM v0.10.2
Ultimate-autopair.nvim version: v0.6 branch

Additional Context:
When I searched for the E315 error, I found that it is an internal Vim error related to invalid line numbers, which might indicate an internal issue. Given that the error appears specific to pressing Enter in .norg files, and doesn’t occur when mini.pairs is active or when Ultimate-autopair.nvim is disabled, I’m unsure if this is an issue with Ultimate-autopair.nvim itself or a conflict in my configuration.
Any guidance or suggestions on resolving this would be greatly appreciated!

Here are my current findings:
Ultimate-autopair calls vim.filetype.get_option through pcall which launches a FileType event to Neorg with a temporary unloaded buffer.
Neorg expects a loaded buffer so throws an error which is watched by Ultimate-autopairs pcall, but the temporary buffer is not cleaned up.
Something happens (this is the part where I have no idea what) that makes it so that the unloaded buffer gets some lines, without making it loaded (by default when inserting text the unloaded buffer is loaded).
The cursor is set to one of these lines, which are not supposed to exist.
Nvim-cmp executes a keybinding, but because the cursor position is on a line that technically doesn't exist, E315 error.
The cursor position is still on a phantom line, so no Ultimate-autopair tries to work with it and errors in its own way.

A quick solution to not encounter the bug is to load unloaded buffers on FileType:
(It needs to be defined before all other FileType autocmds)
vim.api.nvim_create_autocmd('FileType',{callback=function (ev)
    if not vim.api.nvim_buf_is_loaded(ev.buf) then
        vim.fn.bufload(ev.buf)
    end
end})

Also (from https://github.com/neovim/neovim/issues/28084#issuecomment-2025975136):

ml_get errors are internal errors that shouldn't happen, even if a plugin is misbehaving

https://github.com/user-attachments/assets/4abd1e42-0878-457c-9864-7af06615fd70
I tried to implement your quick solution but it seems like it didn't fix it for me. Maybe it's because i am using Lazyvim and they have some FileType autocmd defined and loaded before my config. But what you explained did answer why my neovim is behaving like that. I still don't understand why that buffer is appearing at the top like that out of nowhere but hope it is fixed sooner. Thanks for the help.

Possible quick fix, override vim.filetype.get_option:
local get_option=vim.filetype.get_option
rawset(vim.filetype,'get_option',function (ft,opt)
    if ft=='norg' then return vim.api.nvim_get_option_value(opt,{}) end
    return get_option(ft,opt)
end)

Thanks the override worked. :fire:


Added loggin helper method

I'm not completely into your project, but I needed a simple log method. Don't know if this is the appropriate place  to put into the code.

Thanks for the pull request. I want tuneup to be a significant layer of abstraction above the UIAutomation API and have tried to avoid putting too many macro-type functions in here. This patch doesn't address the different types of logging that UIAutomation can do and if we went down the path of supporting those, all we're really doing is mapping the same API to different names. That doesn't feel like a major step forward.


Renew script not working

Hi,
I have in crontab:
00 00 * * *  /scripts/renew_letsencrypt_ssl.pl > /dev/null 2>&1
But it is not working, in WHM I have domains with expired Let's Encrypt certificates.
Where is the problem? How can I renew it?

I have checked this and confirmed renewal script is working fine. Could you please provide log file /var/letsencrypt/letsencrypt.log?

`Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
Failed to renew SSL certificate for hostname : Died at /usr/local/cpanel/Cpanel/LetsEncrypt/Service.pm line 147.
`

@adminko-svk This has been fixed in the last commit.

Can't locate Cpanel/LetsEncrypt.pm in @INC (@INC contains: /usr/local/cpanel/base/3rdparty/letsencrypt-cpanel-ui/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /scripts/renew_letsencrypt_ssl.pl line 8.
BEGIN failed--compilation aborted at /scripts/renew_letsencrypt_ssl.pl line 8.

A re-installation would fix this issue. Please let me know if you are still facing the same problem even after the reinstall.


SetAuthinitialize now a property

also change name to DotNetCore

 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: mmartell sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


stm32l5: tfm: Build error on tests/arch/arm/arm_thread_swap_tz

Describe the bug
A clear and concise description of what the bug is.
/local/mcu/zephyrproject/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/aes_alt.c:825:6: warning: no previous prototype for 'mbedtls_aes_encrypt' [-Wmissing-prototypes]
  825 | void mbedtls_aes_encrypt(mbedtls_aes_context *ctx,
      |      ^~~~~~~~~~~~~~~~~~~
/local/mcu/zephyrproject/modules/tee/tf-m/trusted-firmware-m/platform/ext/target/stm/common/hal/accelerator/aes_alt.c:832:6: warning: no previous prototype for 'mbedtls_aes_decrypt' [-Wmissing-prototypes]
  832 | void mbedtls_aes_decrypt(mbedtls_aes_context *ctx,
      |      ^~~~~~~~~~~~~~~~~~~

Note that exact same warnings were present on release v3.1.0, but the build was successful.
To Reproduce
twister -b -n -p stm32l562e_dk_ns -T tests/arch/arm/arm_thread_swap_tz

Expected behavior
Should build
Impact
Block CI
Environment (please complete the following information):

OS: (e.g. Linux, MacOS, Windows): Linux
Toolchain (e.g Zephyr SDK, ...): 0.14.0
Commit SHA or Version used: zephyr-v3.1.0-1605-g4c9f1ca877

@microbuilder Any idea what could have changed in TFM compilation recently that can change the fact that warnings are now generating build error (not complaining, but I'd like to understand ;-) ) ?

@microbuilder Any idea what could have changed in TFM compilation recently that can change the fact that warnings are now generating build error (not complaining, but I'd like to understand ;-) ) ?

I'm not sure off the top of my head, but I'll reproduce and see if I spot a reason.

Caused by https://github.com/zephyrproject-rtos/zephyr/pull/45906 ... reverting this to disable FP hard ABI resolves this.

Caused by #45906 ... reverting this to disable FP hard ABI resolves this.

Thank Kevin, so it explains why we get this issue now.
Handing over to @jamike

The problem here appears to be the FPU support being enabled without the dependent PR to not build the NS application merged first.
Merging https://github.com/zephyrproject-rtos/zephyr/pull/43599 and reverting #47423 again this builds without issues.
The bug description here is inaccurate, the issue is this: error: tf-m-tests/app/CMakeFiles/tfm_ns.dir/main_ns.o uses VFP register arguments, bin/tfm_ns.axf does not.
Maybe a different issues should be opened (or this one reopened) to track the ST-M missing prototype warning?


TOT CMake Failure

cmake ../ && make -j8 && sudo make install
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.10/Modules/WriteBasicConfigVersionFile.cmake:35 (message):
  Bad COMPATIBILITY value used for WRITE_BASIC_CONFIG_VERSION_FILE():
  "SameMinorVersion"
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakePackageConfigHelpers.cmake:207 (write_basic_config_version_file)
  CMakeLists.txt:21 (write_basic_package_version_file)

-- Configuring incomplete, errors occurred!
See also "/home/kiriti/develop/docker/rocm/rocm-cmake/build/CMakeFiles/CMakeOutput.log".

Compatibility was changed to SameMajorVersion as of version 0.6.0, recommend closing.

Fixed in linked commit.


Add windows support

Tested on windows after cargo-dist. It needs Set-ExecutionPolicy Unrestricted. Add this part to FAQ.


[Autocomplete] Fix dropdown accessibility

I switched the key from index to the getOptionLabel function in order for a11y to appropriately read dropdown labels

[X] I have followed (at least) the PR section of the contributing guide.

Closes #24198

Anyone know why my checks are failing? I'm sorry, I'm new at this and clicking details just links me to the circleCI homepage.

Thanks so much for helping @oliviertassinari , you're great!

@eps1lon What are you referring to by "re-ordering"? The diff without spaces doesn't show sign of a reordering.

@eps1lon What are you referring to by "re-ordering"? The diff without spaces doesn't show sign of a reordering.

Couple of thoughts how to fix the underlying issue:

re-mount the listbox if the filter changes (e.g. use input.value as the key of the listbox)
Use the index of the unfiltered options
This would be ideal as far as I can tell if implementable

Couple of thoughts how to fix the underlying issue:

re-mount the listbox if the filter changes (e.g. use input.value as the key of the listbox)
Use the index of the unfiltered options
This would be ideal as far as I can tell if implementable

People could render custom options without implementing getOptionLabel whose default implementation does not guarantee a string.

@eps1lon I don't think that this affirmation is true. getOptionLabel is guaranteed to be a string and defined https://github.com/mui-org/material-ui/blob/2bb1f1ca754bc098f66aba0016b283511ab3dec8/packages/material-ui/src/useAutocomplete/useAutocomplete.js#L108

People could render custom options without implementing getOptionLabel whose default implementation does not guarantee a string.

@eps1lon I don't think that this affirmation is true. getOptionLabel is guaranteed to be a string and defined https://github.com/mui-org/material-ui/blob/2bb1f1ca754bc098f66aba0016b283511ab3dec8/packages/material-ui/src/useAutocomplete/useAutocomplete.js#L108

getOptionLabel is guaranteed to return a string and defined thanks to:

We'll see if people notice that.

getOptionLabel is guaranteed to return a string and defined thanks to:

We'll see if people notice that.

The test needs still some attention though.

The test needs still some attention though.

@inform880 Thanks again for bringing the issue to our attention.

@inform880 Thanks again for bringing the issue to our attention.


Make make_sami_df more flexible

[x] Make it so that users can input a subset of galaxies for which to create the DataFrame.
[x] Come up with a way to save multiple DataFrames without overwriting existing ones.
[x] Allow users to load a specific DataFrame from file (maybe using a filename directly? Or by passing a tag or name to make_sami_df?)

These have all been resolved in the process of creating the generic make_df() and load_df() functions in spaxelsleuth.io.io (see #43).


chore: switch to pnpm 9

With Node.js 16 being dropped, we can now upgrade pnpm.

I still want to do this, please don't close


Revisiting DMN Editor Import Java Classes feature

To know more about the feature, I invite you to take a look at my below blog post.
https://blog.kie.org/2022/05/dmn-types-from-java-classes.html
The architecture behind that feature has some weak points, in detail:

It relies on a technology designed for Text Editors: Despite the idea of taking advantage of the LSP protocol and the JDT module gave us access to a power tool to infer Java class info, we needed to implement an unconventional way to use it (simulating a java file class autocompletion request)
Highly coupled with the "Java Language VSCode extension" version: That VSCode is not under our control, any extension update might break the compatibility with our code (already happened in the past). We're forced to stay with the latest extension version because VSCode always updates the extensions by default, and asking our users to change this behavior results in a forceful act.
JDT.LS eclipse plugin relies on ephemeral repositories.:  Every JDT.LS version relies on an eclipse repository that gets removed every 3 months ---> https://github.com/eclipse/eclipse.jdt.ls/issues/1970
We are forced staying stick with the latest "Java Language VSCode extension" & JDT.LS version: For the above 2 reasons
The feature is enabled in VSCode channel only: The ideal solution should work in KIE Sandbox as well, and this is not possible for an architecture that depends on a VSCode extension.
Cached old versions: Under some conditions, it seems cached old versions of our extension may interfere with the latest installed version. Please consider this https://github.com/apache/incubator-kie-tools/issues/2110: In that case, the user was forced to reinstall VSCode to have the functionality available.

Based on the above reasons, we decided to temporarily not enable the "Import Java Classes" in the new DMN Editor, to investigate and assess a more robust solution, which is the scope of this ticket.
Possible solutions so far:

Continuing with the current approach. With the cost to pay to keep the JDT.LS dependency updated. In addition, I suspect we'll need to base our code on tycho 4.x and JDK 17 to stay updated. In addition, this will not work on KIE Sandbox.
1b. Using the same approach, but using https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java extension instead of the "Java Language VSCode extension". In my opinion, this leads to the same drawbacks as the previous point.
Implementing a specific service on the "extended-services" modules, that returns the list of the Java Classes and their public methods present in the user's project. "extended-services" acts like a backend for KIE Canvas (and in the future for the VSCode extension), it should be feasible implementing such a feature. A possible limitation is related to the Quakus native mode: in such a case, reflection has some limitations.
Using a Java parser that reads the Java Classes AST and returns the requested info (Java class names and public methods). A  NodeJS library for that already exists (here), I tested it in this repo https://github.com/yesamer/java-parser-poc. This approach has a lot of limitations.
...?

Another point to underline is that the feature is a key one for the Test Scenario too, as we need it for RULE-based Test Scenario.

@tiagobento I updated the above description, discarding the 3rd solution option and adding another problem I faced with the current architecture in the last few days.
However, I think we need to make a decision about the direction of this feature, based on our future tooling strategy.
The key point is: Should we have this feature working on VSCode only, or do we need it in the Sandbox too?
Before replying, consider that such functionality is required by RULE-based scesim, and might be very useful in the case of a DRL editor. Relying on the current solution means not having that feature enabled in the  Sandbox.
I guess that clarifying this point can drive us to choose the better solution.
Considering the problems we had maintaining the current architecture and the fact it works on VSCode only, I would prefer to explore the second solution.


mkpr package.json [{"op":"test","path":"/devDependencies/npm-pkgbuild","value":"^6.0.8"},{"op":"replace","path":"/devDependencies/npm-pkgbuild","value":"^6.0.9"}]

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make the error message in blob copy more friendly

If you missing the account name or sas token, as a result the source of the blob copy can't be found or access following error message is shown:
The specified resource does not exist.

Make it more friendly. Add more explanation and guideline of how to fix this issue.

Error handling has been improved in later versions of the CLI


Breaking change (two_qubit_decompose.trace_to_fid)

Environment

Qiskit version: 1.3.0
Python version: 3.11
Operating system: Ubuntu

What is happening?
It appears two_qubit_decompose.trace_to_fid was removed in #13093. I discovered this in when running our docs notebooks with 1.3.0: https://github.com/Qiskit/documentation/actions/runs/12119882758/job/33788219418
ImportError                               Traceback (most recent call last)
Cell In[7], line 2
      1 import numpy as np
----> 2 from qiskit.synthesis.two_qubit.two_qubit_decompose import trace_to_fid
      4 # Reduce circuits down to 2 qubits so they are easy to simulate
      5 qc_t3_exact_small = QuantumCircuit.from_instructions(qc_t3_exact)
ImportError: cannot import name 'trace_to_fid' from 'qiskit.synthesis.two_qubit.two_qubit_decompose'

How can we reproduce the issue?
Run the following line:
from qiskit.synthesis.two_qubit.two_qubit_decompose import trace_to_fid

What should happen?
Function should import
Any suggestions?
The function is small enough you could probably just add it back with a deprecation notice.

That import path certainly doesn't look like it would have been part of the public interface - what notebook is this that's using that import?

I don't see that function documented anywhere, so it wasn't public.  I think whatever notebook it is is likely mistaken for having used some internal detail of a 2q-specific synthesis algorithm, but it should be an easy fix, and it might not be a big deal for the notebook to include the actual code of that function rather than hide it - it's just
def fidelity_from_trace_2q(trace: float) -> float:
    return (4.0 + trace * trace.conjugate()) / 20.0

and it's specific to 2q gates, so the name trace_to_fid is a bit misleading out of context.
I think the general form is
def fidelity_from_trace(num_qubits: int, trace: float) -> float:
    dim = 2 ** num_qubits
    return (dim + trace * trace.conjugate()) / (dim * (dim + 1))

Fwiw, it probably wouldn't hurt for us to have neater exposure of some useful synthesis utilities and have a proper API around re-usable synthesis components, so people can build up their own, rather than only getting fully packaged syntheses from us, but (especially as the fully packaged things move to Rust) that's something that should probably be handled a bit more top-down than exposing random little things four packages deep in the file organisation.

Right, that function was never documented and not considered part of the public API. It was internal utility function designed specifically for use in the the two qubit weyl decomposition and its derivatives in that module. When we rewrote the synthesis path in rust nothing was using that private python function anymore so we removed it. The way that notebook in question is using it the better public API alternative you should probably be using is: qiskit.quantum_info.average_gate_fidelity https://docs.quantum.ibm.com/api/qiskit/quantum_info#average_gate_fidelity

Ok that's good to know, thanks both.


Add minimum iOS version to Info.plist template

When creating a release build of an iOS app containing this extension, I got errors stating that the MinimumOSVersion key was missing in Info.plist.
This PR adds that key and sets its value to iOS 15.0. The version could potentially be lower but I haven't tested it and most people are on 16 or 17 anyway.

Does adding that MinimumOSVersion entry (and only that entry) to the framework's Info.plist file allow you to successfully create a release build?

Yes, that was all that was missing for me to create a release build.
In my case I have a paid Apple developer account and Xcode is set to automatically manage app signing. Not sure if that's the issue you're referring to.

Right, I guess I was missing that App Store Connect thing.
I noticed that Godot is also adding the DTPlatformName key to its automatically generated Info.plist file, so I've gone ahead and created a new PR (#712) that will make a separate Info.plist template for iOS instead. This will also make use of the existing CMAKE_OSX_DEPLOYMENT_TARGET variable, which already serves to specify the minimum target version that the library is compiled against, and can be found/changed here:
https://github.com/godot-jolt/godot-jolt/blob/1a4569d0517a431c31e8563f001cea0b27a3f796/cmake/toolchains/ios/Common.cmake#L2-L3
The choice of targeting iOS 12 is just copied from what Godot itself targets. While it obviously compiles successfully I have no idea whether it actually runs there or not.

Makes sense. Thanks for working on it!


Lift restrictions of zoom in 3D view to allow closer views

The zooming level of the 3D view is quite limited at the moment. For example, it is not possible to get a close-up view of subcortical regions (e.g., LGB, MGB). The restriction should be lifted, so users can zoom in as far as they like.

The original intention of locking 3D view is that the 3D view provides rather poor resolution in cross sections, and that it was meant for a rough guide where the navigation is at (relative to the whole brain).
Most recently discussion touches on two relevant behaviours we are working towards:

locking the 3D view completely. zooming in 3D view will result in the zoom'ing of slice view instead
remove the slice view in 3D view

Initially, we certainly did not have high resolution meshes we would like to display. I can bring this issue up in the next dev meeting.

related to #1138 ?


make CVs parallelizable

As well as allow for more shuffle-split iterations, this would also allow LOO/LKO for large datasets to be done in a reasonable about of time.
note: LOO is not appropriate for MSMs, but LKO might be?
cc @mpharrigan @brookehus

I wonder, given that we already have multiple workers making different models on a single machine, if we have more parrallelization that it will lead to collisions and actually slow things down.

How is this different than doing a bunch of 1-CV jobs?

Currently, i might have 16 workers doing 5-fold CV using various hyperparams. Each worker gets one core so i am afraid if we parallelize this, each worker starts trying to use other cores which slows down the models for everyone. There might be a intelligent way to handle this, i just wanted to raise this as an issue since the workers dont communicate between each other(only to the db).

not parallelizing within a worker... parallelizing across jobs

done in #231


Make DrawVisualiser better target Drawables

Handles input by depth.
No more prioritization of size.
Computed only once per frame in Update(), rather than on every mouse move - should provide a significant performance boost in high-load scenarios with at most 1 frame delay.

@smoogipoo please resolve conflicts here


Fix empty first bullet point in summary panel bullet points

It appears to only happens when the the string starts with a '-' character.


Attachment copy updates

cloned and updated kinetic_request_ce_attachment_copy_v1 and versioned to v2 to use authentication to get the attachements.

PR against Master.  Requested that a new PR be made against develop


feat: improve operator dashboard

Description
This PR:

fixes issues with the serialize-zip command.
templated variables will not be replaced on serializing assets
Operator dashboard standardization to match Instructor dashboard filters. Dataset has been updated, now is virtual but can be moved to a DBT report.

SQL queries are serialized correctly so that Superset shows the right SQL:

Dashboards are deleted before import them a new one so that there are no weird issues on display.
Implement a new command to import Superset assets via: tutor .. do import-assets

Thanks for the pull request, @Ian2012! Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

Looking good, I think the last thing for these changes is to document the new command and how/when it's used

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


FMBench readme updates for Llama3 on Inf2 and config.yml cleanup

What does this PR do?
FMBench readme updates for Llama3 on Inf2 and config.yml cleanup

Fixes # (issue)
Feature/Issue validation/testing
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A
Logs for Test A

[ ] Test B
Logs for Test B

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Thanks for contributing 🎉!

thanks @aarora79 for the PR!


[UI/UX] Refractor Install Tab

Type of Change

[x] New feature
[x] Refactoring
[x] UI/UX improvement

Description

Big redesign of Install tab, UI wise i added many features without the logic behind yet.
Outdated Video
https://github.com/user-attachments/assets/acd36a3c-91db-43ab-819d-08d65a675f82
TODO:

wait for #2884 bc of Invoke-WPFPopup
[ ] handle app logos (detect visibility of item in scrollviewer, load on need.)

Issue related to PR

Resolves #2710 category filter
Resolves #2766 category filter aswell
Resolves #2753 right left scroll with touch pad

Checklist

[ ] My code adheres to the coding and style guidelines of the project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no errors/warnings/merge conflicts.

Ngl I am loving this UI version of the install tab :D


fix: Adding missing service UUID for Lovense Osci

fixes: #137
Tested with npm link'ed playground

fixes: #137
Tested with npm link'ed playground

hi,
first of all, tks for the fix
how can I test the osci on my glitch project https://ossified-product.glitch.me/ , which online library should I include for this? instead of this one
<EMAIL_ADDRESS>

how can I test the osci on my glitch project https://ossified-product.glitch.me/ , which online library should I include for this?

Good question. I can't find a way to get the PR build's artifacts out of TravisCI.
I know @qdot is going to be swamped this week, so the best option might be to pull down the PR, do a local build and upload the resultant buttplug.min.js into your glitch project.
npm install
npm run build:all

I know @qdot is going to be swamped this week, so the best option might be to pull down the PR, do a local build and upload the resultant buttplug.min.js into your glitch project.

Thank you, I'm doing it now. :)

I know @qdot is going to be swamped this week, so the best option might be to pull down the PR, do a local build and upload the resultant buttplug.min.js into your glitch project.

Thank you, I'm doing it now. :)

with your patch, it's working fine on my glitch project https://ossified-product.glitch.me/ :)

Ok I'll get this integrated soon. Thanks for testing!

Landed as 1319b457c146b6aad0101776c23e2fefa6334d64 but didn't resolve to the PR for some reason. Released in 0.8.3.


hydration effects sneak attack multipler bug

it seems being hydrated (added via the new positive food buffs gameplay option setting) is making sneak attacks does 34.0 times damage. obviously not intended
also i think being dehydrated also mess's with the sneak attack bonus values

Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
enabling the positive food buffs gameplay option

some more detail at the temporary fix - https://www.nexusmods.com/starfield/mods/9251

@paulbrock cheers bud


"ESC" key to close isn't an optional

Hi everyone,
There're some dialogs that I don't want user closes them when pressing on "ESC" key.
But I don't find anyway to prevent it.
Here is what I found so far.
dialogPolyfill.DialogManager.prototype.blockDocument = function() {     document.body.appendChild(this.overlay);     document.body.addEventListener('focus', this.handleFocus_, true);     document.addEventListener('keydown', this.handleKey_);     document.addEventListener('DOMNodeRemoved', this.handleRemove_);   };
Is there anyway to do it? (I don't want to remove all "keydown" handlers of document!)
Thanks in advance.

You should add a 'cancel' event on your dialog and call .preventDefault().
See this codepen.


Specs for Vim Performance States

Documenting the parts of VimPerformanceState that I will be changing

Backported to petrosian in commit 80053a91501476086d6344a78be31f25c2a80c74.
commit 80053a91501476086d6344a78be31f25c2a80c74
Author: Jason Frey<EMAIL_ADDRESS>Date:   Mon Jul 10 09:12:16 2023 -0400

    Merge pull request #22607 from kbrock/capture_vim_performance_spec1

    Specs for Vim Performance States

    (cherry picked from commit f63d50886b544f64d8bdd57b1b55c5524627bb62)


Add CronaSwap

All use StrategyCommonChefLP and single CRONA uses StrategyCommonChefStaking. Issues with verifying contracts, some are not recognised as contracts, and some my IP address has been blocked for some reason. Will try and get those verified using VPN.
The tokens FTM, AVAX & MATIC are the 'c' versions from the address book to make them chain-dependent.
CRONA
Vault: 0x0a2289a7eE8A1f2A6B0E2320f47D8d0ff143f436
Strategy: 0x64aa6c884e9b855C1161c60013F52F7Cc09Ac3dd
Want: 0xadbd1231fb360047525BEdF962581F3eee7b49fe
CRONA-CRO
Vault: 0x8a3030e494a9c0FF12F46D0ce3F1a610dCe9B2eD
Strategy: 0x44CD331279f27B63ce86395aFe53C2d7C219725B
Want: 0xeD75347fFBe08d5cce4858C70Df4dB4Bbe8532a0
CRO-USDC
Vault: 0x8920E4d28Cd2DF033a18803d2081662b3b30B40b
Strategy: 0x1DEF2c354bcFa4d1A8F40c4c33Ef7d27DB4109cA
Want: 0x0625A68D25d304aed698c806267a4e369e8Eb12a
USDT-CRO
Vault: 0xdc036Ab31d2f105E15c1896f88D13B7bcF3e9292
Strategy: 0xDC1dC2abC8775561A6065D0EE27E8fDCa8c4f7ED
Want: 0x19Dd1683e8c5F6Cc338C1438f2D25EBb4e0b0b08
ETH-CRO
Vault: 0x40324434a0b53dd1ED167Ba30dcB6B4bd7a9536d
Strategy: 0x6B2CFabf0703D807784D11eEE07759559EDeFF6A
Want: 0x8232aA9C3EFf79cd845FcDa109B461849Bf1Be83
WBTC-CRO
Vault: 0xc7024B02a3C3893C482F5DD03193CFD1DBEC604f
Strategy: 0x822856E9433e7b4C268286Bf004b8c8ecf559d64
Want: 0xb4684F52867dC0dDe6F931fBf6eA66Ce94666860
DAI-CRO
Vault: 0x38002A6456D995AAc598bf59049151631D37689F
Strategy: 0x2E9706501ced79C0F34400E728d69C4A2E1496B3
Want: 0xDA2FC0fE4B03deFf09Fd8CFb92d14e7ebC1F9690
USDT-BUSD
Vault: 0x26be7875EE1738d8ae77ae6Bf1603beA11D525E2
Strategy: 0x42ab5A790E99dF1b5d46f1C5C3e61d0Cd63D1f6E
Want: 0x503d56B2f535784B7f2bcD6581F7e1b46DC0e60c
USDT-MATIC
Vault: 0xbFBF98294243ff91e6B8dDcAD5eeB107e3677481
Strategy: 0xeEaFF5116C09ECc20Ab72b53860A7ceAd97F0Ab4
Want: 0x394080F7c770771B6EE4f4649bC477F0676ceA5C
USDT-AVAX
Vault: 0x0b3d82ef5b3De82F12899eB85a65CeE2617f4198
Strategy: 0xfb959572709ef7913B0669bF816736765ee6304f
Want: 0x193add22b0a333956C2Cb13F4D574aF129629c5f
USDT-FTM
Vault: 0xc07E03eE5E7c61F7EeCB5FF6FaBE2eA307433bD7
Strategy: 0xC3c2c91C82d3472F3FA4Cd7Bf48005d0EE43A723
Want: 0xDee7A79bb414FFB248EF4d4c5560AdC91F547F41
USDT-USDC
Vault: 0x3586DaCe267C48436ED12BFdF665C2E63DEeb199
Strategy: 0x83a7a434b8219ae3e0976b74741bf8035a35A89B
Want: 0x968fe4c06fdd503e278d89d5dfe29935a111476c

i suggest to not add 'c', why? it will mess up filters, especially in v2 app.
we also dont need to add them with 'c' into address-book.
if we need to support precise prices on chains, it would make sense for less popular coins like FTM and MATIC i agree, only need to use different oracleId in lpPools.json and it becomes available under /prices.
if you know other cases like this, i'd suggest to update them as well.

same shit with explorer, banned as well, hopefully they will migrate to etherscan


Updating the alacritty script

Merge this first, now that alacritty file in dwm-titus has changed.

I don't agree with this change; having separate files is better for readability and management.

@nnyyxxxx The individual files are small, so I thought combining them into one file would be a good idea. The previous script only copies the alacritty and nord files, not the keybinds, so this approach makes sense in my opinion.

@nnyyxxxx The individual files are small, so I thought combining them into one file would be a good idea. The previous script only copies the alacritty and nord files, not the keybinds, so this approach makes sense in my opinion. If needed I can even remove the keybinds section to make it even smaller since it's not being used.

Again I don't think this is a very good idea, having things separated into multiple files instead of being clumped up into 1 file is always better.


Added remove spaces from a string

Have you read the Contributing Guidelines on Pull Requests?
Yes.
Description
For string related problems we need to remove spaces to get our expected output , that can be done by getline function in C++
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#2604

I have resolved the changes.
Kindly review.

@atarax665 kindly review.


[Enhancement]: Provide support for Redis datasource for creating page from DB table

Stats

Stat
Values

Reach
40

Effort (months)
0.5


(docs) Update description of cfacter setting for Facter 3.0

Looks good, just waiting until puppet#stable is unfrozen.
I'm thinking we should (in a separate non-docs PR), deprecate the cfacter setting and remove the the current hook logic, and possibly change Puppet.features.cfacter? to always return true... Or do we still use ruby facter for some platforms (while we port native facter)? /cc @peterhuene @MikaelSmith

There are no platforms where we ship Ruby facter and native facter. There are still environments where we use Ruby facter obviously (install from gems). The cfacter feature tries to require 'cfacter', so if we switched it to always return true we'd have to erase all functionality in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/feature/cfacter.rb. Which sounds reasonable.

Agreed on deprecating the cfacter setting, and removing in puppet 5.
I guess I'd just leave Puppet.features.cfacter? as-is on the assumption that anyone tinkering around enough to want to set the cfacter setting true for some bizarre reason, actually is trying to get the original "cfacter" packages, so let them go for it.
But that part is mostly a don't-care for me. Deprecating the setting, though, is definitely something we should do.

Filed deprecation as PUP-4932 for 4.3.0, and removing the setting in PUP-4933


Need more tests for faculty and DCC views

Sagar,
What issues do you see? A generic action item like "Need more tests ..."
is not of much value. Instead identify specific problems and devise
tests to bring them out.
Rajesh
On 12-07-2016 20:53, Sagar Gubbi wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/s-gv/bheemboy/issues/69, or mute the thread
https://github.com/notifications/unsubscribe/ARwDriVvJzgHjKbkknUMaV0FmsR7th9Pks5qU7FkgaJpZM4JKg65.Web
Bug from
https://github.com/notifications/beacon/ARwDrpwyEiZDluU36Ixlg1Qfxf8bR4sAks5qU7FkgaJpZM4JKg65.gif
--
This message has been scanned for viruses and
dangerous content by MailScanner http://www.mailscanner.info/, and is
believed to be clean.

We do need generic tests; tests that check the functioning of the website (even things that we know are working properly). This is needed because we don't want future code changes to accidentally break existing features that are functioning fine. I have added some tests for the student, profile, and FAQ views. Similar tests are needed for faculty and DCC views.
Tests to check if the server rejects bad requests are also needed. When I added tests for the student views, I discovered that students could delete courses even after grading is done (now fixed). Likewise, issues maybe uncovered by the tests. I think there is at least one major bug in the instructor view.

Changed student test cases for updated version.
Added basic test cases for adviser and instructor views
More test cases for cut-off for dates has to be added for the above (2) views and DCC views


Vtk integrtion

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #296
Description
Implemented first version of STLRendererSink Module
Alternative(s) considered
None
Type
Type Choose one: Feature
Checklist

[x] I have read the Contribution Guidelines
[x] I have written Unit Tests
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach

There is a extra commit, I need to remove it.

Add the capability to reset camera


[Feat]: Adding pivot table for jobs and users

Description
Making sure that database for this project is optimal for all people making pull requests.

Motivation and Context
I prioritize code quality over everything else

How Has This Been Tested?
Migration and seeding of the database went though successful

Screenshots (if appropriate - Postman, etc):

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

There's a merge conflicts and it fails checks

Please, check now. All errors resolved!

I have created another pull request #81


Layout: small window notifications center breaks layout

Steps to Reproduce:

make window very small
click on the notification icon (needs a bit of attempts, doesn't always reproduce)

OLD:

NEW:

rob and I looked into this and only could repro with the following steps:

Make the window narrow
Ensure sidebar is visible
Open the notification area with lightbulb
Hide the sidebar with keyboard

Using dev tools we could "fix" the issue just by toggling some css properties which makes it difficult to say we are doing something wrong as the resulting DOM is the same but displayed differently.
While it sucks that this happens, these narrow window issues seem common as we try to render 400px worth of stuff into a 200px window. I still wonder why we don't enforce a minimum width. In Chrome, this is automatically done and makes the repro impossible.


fix mergeAndOwn and error status report

Signed-off-by: Roke Jung<EMAIL_ADDRESS>Fix mergeAndOwn reconcile option and error status report.

/lgtm


Implement concepts of fossil, biogenic, renewable and synthetic

Closes #108.
This PR implements the concepts of fossil, biogenic, renewable and synthetic.

"The origin is a quality describing the source." I dont really get a better understanding of the origin quality through this definition, it seems more like a synonym. Could you write a bit more?
The "origin" quality, by this definition, can be used for other things too that are not fuels. Like to state the origin of a dataset. Is this intended?

"The origin is a quality describing the source." I dont really get a better understanding of the origin quality through this definition, it seems more like a synonym. Could you write a bit more?
The "origin" quality, by this definition, can be used for other things too that are not fuels. Like to state the origin of a dataset. Is this intended?

What about "The origin of a fuel is a quality describing the source."?

Or how about:
The origin indicates where something comes from (it’s source)?

The origin indicates where something comes from (its source)?

The origin is a quality that indicates where something comes from (its source). ?
I think at the moment it is good to focus on fuels, but leaving the possibility open to increase this quality in the future.

It seems we reached a consensus so I changed the definition of origin to the formulation by @stap-m in my latest commit 4dacbb5.
Hannah already reviewed and approved this pull request. However as a) we changed the definition of origin and b) this is quite an extensive pull request changing a lot of lines I would be happy to have a second approval by either @stap-m and or @akleinau.

looks good


Chart with a filter on an aggregated calculated column creates incorrect SQL

How to reproduce the bug
I created a calculated column, Commission, on a chart dataset, used by Time-series by Area chart. Commission = base dataset field NetCommission
I then put a filter on the chart query for the sum of the calculated column, Commission, to be >0
Expected results
Actual results
the following message "Error: Flight returned invalid argument error, with message: Column 'CommissionGBP' not found in any table"
In other words the calculated column on the dataset is being sent to the database, where it doesnt exist. Specifically it is happening on the HAVING clause as a result of the filter. The relevant parts of the SQL sent to the database are below;
SQL Query SELECT  ..
sum(NetCommissionGBP) AS "SUM(CommissionGBP)"
FROM …
GROUP BY  …
HAVING ((SUm(CommissionGBP)>0))
ORDER BY "SUM(CommissionGBP)" DESC
Clearly what should have been generated by the filter is the datasource column, not the calculated dataset column, ie it should be HAVING ((Sum(NetCommissionGBP)>0))
Environment

browser type and version: Chrome Version 110.0.5481.104 (Official Build) (64-bit)
superset version: 2.0

This version of Superset is no longer supported. If anyone is still encountering this in current versions (3.x) please open a new Issue or a PR to address the problem.


Spawner - Add the following

[x] Boolean check box of where to spawn. Right now all spawns are parent objects in the Hierarchy of the Scene. I would like the options to spawn objects in whatever Spawner is a child of (e.g. Move ParentTop). EDIT: I DID JUST FIND A WORK AROUND FOR THIS. SO LETS TALK WHEN YOU GET IN AND SEE HOW FEASIBLE MY WORKAROUND IS.

I am adding a tick box called "Use spawner parent".

I also made a number of other fixes for dealing w/ scaling issues when a spawned object is parented to "Scene Container". @wadek2 please see my "LevelTemplate" scene for basing new levels off of, as this scene fixed scaling for objects that all levels need.


Shilpi newcastle crc

CRC restructuring as per final new rules , finished QA with Francesco which he has signed off . Kindly review 🙏

Thanks Ollie, I have done the changes and confirmed back the counts.

Merged ✅


persistence improvements

As a document author, I want my document to exist in the network even when my replica is not online.
For me to be able to do this, I should be able to configure or setup an external replica.
I should not need to trans it any keys in order for the replication to work.

Depends on https://github.com/ipfs-shipyard/peerpad/issues/142

Following up on #215


Start autodiff pass if IRDerivativeMemberDecoration is found

Fixes #4622
Problem:
Currently, if a decoration refers to its-parent through its operands we will have a recursive dependency and fail. The reason we encounter this problem is because autodiff decorations are not stripped if the autodiff -pass never runs. This happens due to the autodiff pass not running if we only have a IRDerivativeMemberDecoration.
Solution:
Start autodiff pass if we found a IRDerivativeMemberDecoration.

@csyonghe: This seems like it would result in always enabling the autodiff pass? Technically, we have a few differentiable types in stdlib, so there will always be a diff-member decoration somewhere in the IR.
Maybe we should consider running the decorations removal step independently of the main autodiff pass?

The change @saipraveenb25 suggested was added in the same branch (it seems after the code was merged) -- https://github.com/shader-slang/slang/commit/36508e4f02ebe96733ce6a336e0415377bf06caa

Ah, I see.. can you open another PR with the same branch?


New version: AppFlowy.AppFlowy version 0.4.6

Pull request has been created with komac v2.0.3 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @Exorcism0666,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 695.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-03 06:22:46.861 [FAIL] Installer failed security check. Url: https://github.com/AppFlowy-IO/AppFlowy/releases/download/0.4.6/AppFlowy-0.4.6-windows-x86_64.exe Result: 0x80004005

(Automated response - build 695.)

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


setting static numbers istead of calculations

hi there,
what I'm trying to achieve is the make jcarousel use static item widths instead of pulling them from the css...
for some reason, it won't work when i place it inside an accordion panel..
while it's outside it gets the correct 1100px width and moves 250px which is the actual width of the jcarousel item
when it's inside the accordion panel, the width is 120px and the movement won't go above 175px
thanks in advance,
Tamas

That's most probably because you initialize the carousel while its hidden. Try to call .jcarousel() after it became visible.


Warning when running under ruby 3.2.0

[x] I have tried upgrading by running bundle update vite_ruby.
[x] I have read the troubleshooting section before opening an issue.

Description 📖
When using vite_rails in conjunction with ruby 3.2.0, there is a warning popping up when running basically any rails command.
It seems to work just fine though.

Vite Ruby Info
Run bin/rake vite:info and provide the output:
bin/vite present?: true
vite_ruby: 3.2.14
vite_rails: 3.0.13
rails: <IP_ADDRESS>
node: v18.14.0
npm: 9.3.1
yarn: 1.22.19
pnpm:
ruby: ruby 3.2.0 (2022-12-25 revision a528908271) +YJIT [arm64-darwin22]

Logs 📜
vite_ruby-3.2.14/lib/vite_ruby/config.rb:144: warning: undefining the allocator of T_DATA class Oj::CStack

Hi David!
Vite Ruby uses the standard library JSON.parse command.
Based on the warning message and the info you provided, it's likely that it's related to the oj version you are using:

https://github.com/ohler55/oj/pull/737

Upgrading the version of oj to v3.13.12 or higher should fix the issue.


Issue with compiling OpenBMB's ollama fork

What is the issue?
Building on Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-169-generic x86_64):
go generate ./... seems to work, but go build . gives:
# github.com/ollama/ollama/gpu
gpu/amd_linux.go:162:19: undefined: RocmComputeMin
gpu/amd_linux.go:232:20: undefined: IGPUMemLimit
gpu/amd_linux.go:253:19: undefined: rocmMinimumMemory

nccv -V gives:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Jun__8_16:49:14_PDT_2022
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0

Attaching full terminal output for in txt file:

go generate ./...
go build .

terminaloutput.txt
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
No response

Hi, I don't always pay attention to the issue area in this fork code repo.

If this issue still needs to be answered, please raise an issue in the main repo with "ollama" label. I will respond very quickly.
If this issue no longer needs to be answered, I will close it this week.


NIFI-9146 to NIFI-9148 - 4 bundles refactored for JUnit 5

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

@exceptionfactory got time to do a review?

@exceptionfactory I started noticing the fully qualified annotation weirdness last night on another branch. I think that's an artifact of the migration tool having issues in some cases. I'll make a note to do a big search and replace through all PRs for that and start on the other issues shortly.
On a different note, you're not available on the reviewers autocomplete. I'm not sure what controls that setting, but you might want to post on nifi-dev so you can be tagged without a comment.

@exceptionfactory I started noticing the fully qualified annotation weirdness last night on another branch. I think that's an artifact of the migration tool having issues in some cases. I'll make a note to do a big search and replace through all PRs for that and start on the other issues shortly.
On a different note, you're not available on the reviewers autocomplete. I'm not sure what controls that setting, but you might want to post on nifi-dev so you can be tagged without a comment.

Thanks for the reply @MikeThomsen, taking a look through and updating the other PRs would be very helpful. I think the reviewer request might be limited to PMC members.

@exceptionfactory all of the changes should be in now. I'm going to start working on the other PRs to apply the same consistent changes to them.


Test removed ci step

What this PR does / why we need it:
After https://github.com/gardener/documentation/pull/516 PR's should not run check-manifest-entrypoint
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

Closing as it was only a test PR


[QUERY] How to import Azure.Core.TestFramework

Library name and version
Azure.storage.blobs 12.8.0
Query/Question
Hello to write some tests that test some custom policies. I need to use MockTransport and other classes in Azure.Core.TestFramework. This Documentation didn't work for me. I always get AzureCoreTestFramework is not defined.
Environment
windwos 10.
Visual studio 2019.
.net 3.1

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @gabidabet,
Those instructions assume you are working with the repo source locally, as we don't publish the Azure.Core.TestFramework package currently. Would you be able to pull down the repo code locally and add Azure.Core.TestFramework to your solution?

Thank you for your reply, I just forked why I need thank for your help. I just thought that I can import the namespace in my project.


feature-wipread and decode parquet physical type

Proposed changes
Read and decode parquet physical type.

The encoding type of boolean is bit-packing, this PR introduces the implementation of bit-packing from Impala
Create a parquet including all the primitive types supported by hive

Remaining Problems

At present, only physical types are decoded, and there is no corresponding and conversion methods with doris logical.
No parsing and processing Decimal type / Timestamp / Date.
Int_8 / Int_16 is stored as Int_32. How to resolve these types.

Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

no side-affect, quick merge for test


The live demonstration does not allow an item to be edited

Hello,
The live demonstration available at http://ochrons.github.io/diode/examples/todomvc/#/ has a bug. Double clicking an item for editing it, as mentioned in the page itself, displays the editing field but as soon as any character is typed, the content gets reset to the original.
Tested in firefox and chrome.
Regards,
Oswaldo

Seems to work now.


walking through more disco UI with brandi

Signed-off-by: Nathan Weatherly<EMAIL_ADDRESS>Related issue: https://github.com/open-cluster-management/backlog/issues/7518

issue for ref: https://github.com/open-cluster-management/backlog/issues/7518


Add SQL support to state extraction/tracer

The state should be saved in a database, instead of plain binary files.
Reasoning: This is both cleaner and a more portable approach.
Additionally we can implement versioning? Maybe this should be a separate issue..
Questions:

What should be the DB layout?
Should the information be saved in the same database as the rest of dynamic information?

We should have an interface to 'write' directly to a file (fast/minimum overhead) or insert into a database for offline analysis and dumping (good during exploration/research when looking for intelligent algorithms offline).


Allow Pause and Resume

When there is some issue with the pump or valves I'm using new Pause service in the automation to hold the irrigation until I fix the issue. Currently I need to go to Developer tools and run the Resume service to continue in the irrigation. It would be nice to have an option in the "..." drop down menu to Resume the irrigation on a controller or sequence level.
Also when the irrigation is in progress and I see something wrong in the garden I would like to quickly Pause the controller/sequence and then Resume from this card.
Thanks! I absolutelly love Irrigation Unlimited ❣

It's in the works...


[WIP] cmd/govim: temporary implementation of file watching

For now use textDocument/didOpen and textDocument/didChange to deal with
generated files changing.

Currently blocked on https://github.com/golang/go/issues/31759; although we could rework the tests to workaround the test failure. It is a legitimate test failure however.


Suggestion: Member Type Guard

I would like to propose a new kind of type guard, which I call it a Member Type Guard: a property's type is guaranteed by another boolean property of its owner instance, or a boolean-returning method or function. This could be very helpful for situations one wants to consume a composite result, often a boolean or enum value indicating a state, and another value which might be null/undefined or not, depending on the state value.
Please allow me to put an example first so this idea could be well explained. The following code is from lib.es6.d.ts:
interface IteratorResult<T> {
    done: boolean;
    value: T;
}

An object implementing this interface will be returned by Iterator<T>.next(). If this iteration is done, the property done will be set to true and value will be left to undefined; otherwise done will be false and value will be the value produced by the iteration step.
However, with the --strictNullChecks compiler flag turned on, it is preferably to write like this:
interface IteratorResult<T> {
    done: boolean;
    value: T | undefined;
}

A common pattern to consume this result:
const result = iterator.next();
if(!result.done) {
    doSomethingWith(result.value!);  // a '!' is employed to enforce the un-null-ness of result.value
}

Since !done implies value is not undefined (in another word, done implies value is undefined), it would be great if the compiler understands this too. So we can define IteratorResult<T> like this:
interface IteratorResult<T> {
    done: this.value is undefined;
    value: T | undefined;
}

therefore, done has become a type guard of value, in a if(!result.done) { block, result.value is thus inferred as of type T.
This kind of type guard could also be used in getters and methods:
enum ResponseResult {
    Successful,
    FailedSilently,
    FailedWithError
}

class Response {
    result: ResponseType;
    value: string | undefined;
    get isSuccessful() : this.value is string {
        return this.result === ResponseResult .Successful;
    }
}

function hasError(response:Response) : response.value is undefined {
    return response.result !== ResponseResult.Successful;
}

const response = getResponse(); // some function that returns a Response
if(response.isSuccessful) {
    // response.value is string rather than undefined here
}

/* or */

if(hasError(response)) {
    // response.value is undefined here
}

This is already possible using union. Flow implements IteratorResult like this

@vkurchatkin thanks for inspiring me with the union approach.
So I've rewritten the last example in the main post, is this the best I can get? Because I feel it quite verbose.
enum ResponseResult {
    Successful,
    FailedSilently,
    FailedWithError
}

type ResponseSuccessfulType = { result: ResponseResult.Successful, value: string };
type ResponseFailedType =
{
    result: ResponseResult.FailedSilently | ResponseResult.FailedWithError,
    value: undefined
};
type ResponseType = ResponseSuccessfulType | ResponseFailedType;

function hasError(response:ResponseType) : response is ResponseFailedType {
    return response.result !== ResponseResult.Successful;
}

const response = getResponse(); // some function that returns an object of ResponseType
if(hasError(response)) {
    // response.value is undefined here
}

i do agree that the union approach is better here. IterationReslult should be defined as:
IteratorResult<T> =  { done: true;  value: undefined; } | { done: false;  value: T; };

As for the OP, i think this is a duplicate of https://github.com/Microsoft/TypeScript/issues/7150


File nesting in Solution Explorer

It's a new feature that we recently shipped in Visual Studio 2017, but not documented anywhere except in this blog post.

https://github.com/MicrosoftDocs/visualstudio-docs/pull/1011

#2116 in the private repo was merged.


Make lint errors blocking, and fix a few last lint problems

This adds a wrapper script to error-out if there are lint problems.
This only checks packages with _test.go files. We could extend it to all .go files in the code base (but there are a few more lint errors to fix).
Another commit fixes up 2 existing lint errors.

This change is

/lgtm


notifications: Clean and automate global notifications update handler.

To prevent specifying notifications individually for global
updates, automate handle_global_notification_updates using
settings_notifications.notification_settings where we have
the keys of all the types of notifications.
Manual testing: If the previous state of a notification setting is disabled and then we enable it, so checkbox input should remain enabled if this isn't working then it will get uncheck again because page_params aren't updated and we called settings_notifications.update_page(); in "server_event_dispatch.js" because of an event for it.

Nice, merged, thanks @shubhamdhama!


GH:624- added date_format to read_table,read_fwf and read_excel

[ ] Closes #xxxx (Replace xxxx with the Github issue number)
[x] Tests added: Please use assert_type() to assert the type of any return value

We actually dont have parse_dates  keyword in read_fwf so should it be added


go/types, types2: preserve the original constraint for the Constraint API

An consequence of CL 353139 is that we lost the connection of a type parameter of its original constraint, as exposed by the Constraint() API.  I believe this was an oversight: especially now that we are returning the constraint interface via Underlying(), we should preserve the original (possibly defined) type in the Constraint() API.
CC @griesemer

This is straightforward to fix (we just need to add a field for the original constraint), but needs to be fixed pre-beta1.

Aha, this report is erroneous (I misread the new documentation for TypeParam.bound in my audit).
I'll update the documentation while working on #49788.


Shortcuts to menu items

On windows typically just pressing just the alt key should open the menu. Each menu item should have an associated letter.
Top level short cuts should match: e.g. pressing alt-f typically opens the file menu.
Furthermore direct vim keybindings for menu items are not show (neither "u" for undo and "ctrl-R" for redo nor ":u" and ":red")
Probably this is really hard. But a keyboard user on windows would IMHO expect particularly the alt key behaviour for consistency.

I definitely expected alt-hotkeys to work, especially considering that I'm not supposed to touch mouse during my onivim workflow. However, something as basic as opening the menu with hotkeys is currently not possible.


Nodejs debugger infinite restart

Issue Type: Bug
Create a simple node app and run debugger without installing needed node packages for project.
After starting debugger it will run project, print error in console and restart, and so on.
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:34:20.517Z)
OS version: Linux x64 4.4.0-134-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz (4 x 2861)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 0

Memory (System)
7.65GB (2.25GB free)

Process Argv
/usr/share/code/code --unity-launch

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

vscode-eslint
dba
1.5.0

githistory
don
0.4.2

gitlens
eam
8.5.6

vscode-npm-script
eg2
0.3.5

vscode-great-icons
emm
2.1.41

auto-close-tag
for
0.5.6

auto-complete-tag
for
0.1.0

auto-rename-tag
for
0.0.15

search-node-modules
jas
1.3.0

react-vscode-extension-pack
jaw
0.3.1

vsliveshare
ms-
0.3.623

debugger-for-chrome
msj
4.9.0

react-proptypes-intellisense
OfH
1.0.3

JavaScriptSnippets
xab
1.7.0

ReactSnippets
xab
2.2.0

how does your launch config look like?

I have the same problem with nodemon and pm2-dev.
 {
      "type": "node",
      "request": "launch",
      "name": "nodemon",
      "runtimeExecutable": "nodemon",
      "program": "${workspaceFolder}/bin/api.js",
      "restart": true,
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen"
    }

With "restart": true,, that's working as designed -- the debugger was asked to restart the program when it exited.
Haven't received any more info from the original poster, thus closing.


Fix 2 bugs from #292:

Fix 2 bugs from #292

the composer does not appear in bottom left menu and neither in all places where areas and workspaces are listed
Ctrl + Space menu missing icon for generic workspace, composer missing as well

Ligne 389 de medQuickAccessMenu.cpp, il faut passer de 2+ numActiveWorkspaces a 3 + numActiveWorkspaces . Sinon le dernier element déborde un peu (c'est subtil je te l'accorde). Mis a part ca, ok c'est tout bon

Good to go, merging


Order of standardizing transformation and evaluation of function

I was trying to fit a quadratic growth curve model where the time covariate should be centered for the coefficients to be meaningful.  That is I want time to be centered about the mean and time^2 to be the square of the centered time.  If I use
@formula(resp ~ 1 + time + time^2), contrasts=Dict(:time => Center())

then the linear term is centered but the time in the quadratic term is on the original scale.
Is there a way to express a function like abs2 or time^2 of a standardized predictor?

I think there are two ways to address this.  First, you could define a poly syntax that creates a special term type, which then wraps ANY term (including a CenteredTerm) and calls modelcols on those before evaluating the higher power bits.  Second, you could re-write the plumbing of function terms to do something similar: instead of directly accessing the input columns based on names, use the existing term machinery to pull out (possibly transformed) values from the input table.  That's the approach that https://github.com/JuliaStats/StatsModels.jl/pull/183 takes

I like the first suggestion but I might carry it a bit further.  In R the default contrasts for an ordered factor are polynomial contrasts and I was thinking of creating a poly function to generate those.  My plan was to create orthogonal polynomial contrasts for a numeric vector by creating a matrix of powers of the vector, and returning the columns of the Q matrix from a QR decomposition.  Something like
"""
    orthpoly(x, n)

Return a matrix of `n` orthogonal polynomial contrasts for the positions `x`
"""
function orthpoly(x::AbstractVector{<:Real}, n::Integer)
    return Matrix(qr!(float([v^i for v in x, i in 0:n])).Q)[:, 2:(n+1)]
end

I am not terribly familiar with modelcols in StatsModels but I can read the docs.  I was just wondering if you had an "off the top of my head" reaction to this and, more importantly, am I neglecting existing approaches.

I think this would be a great thing to have. The example of extending the formula syntax in the StatsModels docs is a naive, non-orthogonal polynomial. It also wouldn't have occurred to me to use the QR decomposition for this, but of course it's just the numerically smart way to do a naive polynomial basis and then apply Graham-Schmidt. :smile:
@kleinschmidt can express his opinion, but I don't know if orthopoly would be more at home here or in RegressionFormulae.jl.

@dmbates the tricky thing is that you need to make sure that whatever you do it's portable to different subsets of the data/out-of-sample prediction.  So if you want to orthogonalize, you need to store the coefficients in the term somewhere, which is why it seems like composing with centered terms might be a lower friction way to go here.

The other tricky thing with orthogonalization is that we really strive to keep all the invariant computation/storage to the schema extraction stage, and right now it's hard to hook into that with custom syntax (since custom syntax inside the @formula gets applied only at the apply_schema stage).  So you could perhaps do it with contrasts (hints= in teh schema functions) but I'm not sure that's as nice as being able to say @formula(y ~ poly(x, 3))

I think that subsets/prediction issue could be handled by storing the R matrix from the QR decomposition.  It (or its inverse, I'm not sure) would function like a contrasts matrix.
But I agree that this approach may be too specialized.  As it turns out that I am not actually using orthogonal polynomial contrasts in the example that got me thinking about this, maybe I will move on and think about this later.
Thanks for answering my questions.


Add method to ndex2 python client to apply style from one NiceCXNetwork to another NiceCXNetwork

https://ndexbio.atlassian.net/browse/UD-152
Right now the only way to apply style onto a NiceCXNetwork object is to call NiceCXNetwork.apply_template() method which takes a UUID of a network on a NDEx server. This is causing problems for content loaders since the style cannot be kept with the code base.
To remedy add a new method named apply_style_from_network(NiceCXNetworkObject) to NiceCXNetwork object that applies the style from the network passed in.

Fixed in chrisdev3.1.0 branch