Add "supportsJoin" capability

    internal IReadOnlyDictionary<string, ColumnCapabilitiesBase> ColumnsCapabilities { get; init; }

Curious - how does this relate to virtual GetColumnCapability below?

Refers to: src/libraries/Microsoft.PowerFx.Core/Entities/External/TableDelegationInfo.cs:36 in d9bec3c. [](commit_id = d9bec3c6b3529f59f27decc6f58e77d98354169a, deletion_comment = False)

    internal IReadOnlyDictionary<string, ColumnCapabilitiesBase> ColumnsCapabilities { get; init; }

It's orthogonal or complementary at least
To make a JOIN work with delegation you'd need this SupportsJoinFunctions to be true and Equal to be supported on the columns in the predicate (which is usually always the case)

In reply to:<PHONE_NUMBER>

Refers to: src/libraries/Microsoft.PowerFx.Core/Entities/External/TableDelegationInfo.cs:36 in d9bec3c. [](commit_id = d9bec3c6b3529f59f27decc6f58e77d98354169a, deletion_comment = False)

✅ No public API change.


Source field candidate shows target properties in Mapping Details

This is in the mapping details panel.  The target properties also don't appear in the select target to add to the mapping


Misregistered "Cropping Management Practices" layer on Australian National Map

I don't know if this is a provider issue, or a National Map/TerriaJS issue, but when I selected the data.gov.au=>Department of Agriculture=>Cropping Management Practices layer, I got the following map, which is pretty clearly misregistered:

Thanks for the report @rsignell-usgs.  It looks like it's a problem with the data (or perhaps the data.gov.au hosting of it).  See the data.gov.au preview:
http://www.data.gov.au/dataset/cropping-management-practices-1998-1999/resource/ad9b991a-dbe7-4586-beae-e0d29a11e9d9
I've posted a comment on data.gov.au and will close this issue.


ValueError: need more than 1 value to unpack

Hi,I followed the Readme introduction to convert Kitti datasets,but when I execute 'kitti2bag -t 2011_09_30 -r 0027 raw_synced .',I got mistakes as belows:
Traceback (most recent call last):
  File "/usr/local/bin/kitti2bag", line 394, in <module>
    main()
  File "/usr/local/bin/kitti2bag", line 302, in main
    kitti = pykitti.raw(args.dir, args.date, args.drive)
  File "/usr/local/lib/python2.7/dist-packages/pykitti/raw.py", line 34, in __init__
    self._load_calib()
  File "/usr/local/lib/python2.7/dist-packages/pykitti/raw.py", line 232, in _load_calib
    data['T_velo_imu'] = self._load_calib_rigid('calib_imu_to_velo.txt')
  File "/usr/local/lib/python2.7/dist-packages/pykitti/raw.py", line 147, in _load_calib_rigid
    data = utils.read_calib_file(filepath)
  File "/usr/local/lib/python2.7/dist-packages/pykitti/utils.py", line 74, in read_calib_file
    key, value = line.split(':', 1)
ValueError: need more than 1 value to unpack

Please tell me how to fix it,thank you!

Hello, I met the same problem, how did you solve it?

Hello, I met the same problem, how did you solve it?

Hi,I followed the Readme introduction to convert Kitti datasets,but when I execute 'kitti2bag -t 2011_09_30 -r 0027 raw_synced .',I got mistakes as belows:
Traceback (most recent call last):
  File "/usr/local/bin/kitti2bag", line 394, in <module>
    main()
  File "/usr/local/bin/kitti2bag", line 302, in main
    kitti = pykitti.raw(args.dir, args.date, args.drive)
  File "/usr/local/lib/python2.7/dist-packages/pykitti/raw.py", line 34, in __init__
    self._load_calib()
  File "/usr/local/lib/python2.7/dist-packages/pykitti/raw.py", line 232, in _load_calib
    data['T_velo_imu'] = self._load_calib_rigid('calib_imu_to_velo.txt')
  File "/usr/local/lib/python2.7/dist-packages/pykitti/raw.py", line 147, in _load_calib_rigid
    data = utils.read_calib_file(filepath)
  File "/usr/local/lib/python2.7/dist-packages/pykitti/utils.py", line 74, in read_calib_file
    key, value = line.split(':', 1)
ValueError: need more than 1 value to unpack

Please tell me how to fix it,thank you!

Hello, I met the same problem, and I successfully solved it. This error is mainly due to the incorrect file path for executing the generated rosbag statement. For example, you need to run the rosbag statement in 2011_10_03 execute the statement to generate rosbag in this folder.


Terminal in Latest Stable Release is Buggy

VSCode Version:  Version 1.30.2 - user version
OS Version:  Windows 10 Build 1803 (Windows hasn't prompted me to upgrade) / Ubuntu 18.04 Server

Steps to Reproduce:

Create an Ubuntu 18.04 Virtual Machine (I did this in VMWare workstation)
Use the Windows version of OpenSSH to ssh into a machine with the settings below (I use workspace settings, is there a way to not have to do this at a workspace level btw?):
Share a folder with the Windows host and put your code in there.  In my case it's Ruby code.

    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\OpenSSH\\ssh.exe",
    "terminal.integrated.shellArgs.windows": [
<EMAIL_ADDRESS>        "-t",
        "cd ~/Documents/Projects/MyProject;bash --login"
    ],

Occasionally an external terminal window will open along with the integrated terminal.  It has a very tiny font.  If you close it, the integrated terminal closes.

Oh and I get random freezes as well and I have to close the terminal.

Sounds like winpty issues: https://github.com/Microsoft/vscode/issues/45693 (these should hopefully go away in Windows 190x)


Auto-initialize PSRAM

This allows removing the locking around reading the memory range.

skip-changelog because of a change I made to esp-alloc, which is inside a macro so it shouldn't be user observable. Except it's breaking because it relies on breaking changes in esp-hal 🤔

Not sure if this is the right place to bring this up but if static linking and/or XiP from PSRAM are still going to be a thing, the auto-initialization would (eventually) be moved out of esp_hal::init to somewhere before main right?


Fastlane still use old Apple account instead of new Apple Account

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the [Contribution Guidelines]

Issue Description
I am trying to let deliver, Appfile can communicate with many Developer Account which depend on the value of variables I  input in .env file. However, it doesn't work as I expect.
In the first time, I use<EMAIL_ADDRESS>as an Apple account
TEAM_NAME="XYZ (OPERATIONS) PTY LTD"
TEAM_ID=<APPLE_ID>
DELIVER_TEAM_ID=<ITUNES_ID>
MATCH_GIT_BRANCH=XYZ

CODE_SIGN_IDENTITY=iPhone Distribution: XYZ (OPERATIONS) PTY LTD
<EMAIL_ADDRESS>FASTLANE_PASSWORD=mypassword
KEYCHAIN_PASSWORD=keychainpassword

In the next build,  I input another account<EMAIL_ADDRESS>TEAM_NAME="XYZ (OPERATIONS) PTY LTD"
TEAM_ID=<APPLE_ID>
DELIVER_TEAM_ID=<ITUNES_ID>
MATCH_GIT_BRANCH=XYZ

CODE_SIGN_IDENTITY=iPhone Distribution: XYZ (OPERATIONS) PTY LTD
<EMAIL_ADDRESS>FASTLANE_PASSWORD=mypassword
KEYCHAIN_PASSWORD=keychainpassword

But, It still receive the value of the first input variables.

When I run Fastlane with the Jenkins, I get the error:
/bin/bash -l /Users/Jenkins/.jenkins/tmp/hudson2903648925353412758.sh
The login credentials for<EMAIL_ADDRESS>seem to be wrong
Do you want to re-enter your password? (y/n)
stty: stdin isn't a terminal
stty: stdin isn't a terminal
stty: stdin isn't a terminal

/Library/Ruby/Gems/2.0.0/gems/highline-1.7.8/lib/highline.rb:961:in `get_response': undefined method `chr' for nil:NilClass (NoMethodError)
	from /Library/Ruby/Gems/2.0.0/gems/highline-1.7.8/lib/highline.rb:264:in `ask'
	from /Library/Ruby/Gems/2.0.0/gems/highline-1.7.8/lib/highline.rb:227:in `agree'
	from /Library/Ruby/Gems/2.0.0/gems/credentials_manager-0.16.0/lib/credentials_manager/account_manager.rb:39:in `invalid_credentials'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.2/lib/spaceship/client.rb:229:in `rescue in login'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.2/lib/spaceship/client.rb:224:in `login'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.2/lib/spaceship/client.rb:88:in `login'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.2/lib/spaceship/portal/spaceship.rb:22:in `login'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.27.2/lib/spaceship/portal/spaceship.rb:77:in `login'
	from /Volumes/hdd2/Jenkins_FT_WS/RX-JMango360_2.1.x_brandedapp_fastlane/fastlane/actions/itunes_id.rb:4:in `<top (required)>'
	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in `require'
	from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/lib/fastlane/actions/actions_helper.rb:81:in `block in load_external_actions'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/lib/fastlane/actions/actions_helper.rb:80:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/lib/fastlane/actions/actions_helper.rb:80:in `load_external_actions'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/lib/fastlane.rb:35:in `load_actions'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/lib/fastlane/commands_generator.rb:16:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/lib/fastlane/cli_tools_distributor.rb:47:in `take_off'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.96.0/bin/fastlane:5:in `<top (required)>'
	from /usr/local/bin/fastlane:23:in `load'
	from /usr/local/bin/fastlane:23:in `<main>'

I try to run it in command line:
$ fastlane upload
Multiple teams found on the Developer Portal, please enter the number of the team you want to use:

Yes, It automatic use<EMAIL_ADDRESS>Then, I check in Keychain access, I saw<EMAIL_ADDRESS>in Passwords. I deleted it.
After that, running fastlane again in command line, It returns as below:
fastlane upload
-------------------------------------------------------------------------------------
The login information you enter will be stored in your Mac OS Keychain
You can also pass the password using the `FASTLANE_PASSWORD` env variable
More information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager
-------------------------------------------------------------------------------------
Password (for test@xyz.com):
Password (for test@xyz.com):

Configuration Files
Fastfile:
  desc "Upload Screenshot to Apple Store"
  lane :upload do
    # snapshot
    deliver(skip_metadata: "true", submit_for_review: "false", screenshots_path: ENV["SCREENSHOTS_PATH"], skip_binary_upload: "true")
  end

DeliverFile
app_identifier ENV["BUNDLE_IDENTIFIER"]
username ENV["APPLE_ACCOUNT"]
name ENV["APP_NAME"]
team_name ENV["TEAM_NAME"]
app_version ENV["BUNDLE_VERSION"]
team_id ENV["DELIVER_TEAM_ID"]

Appfile
app_identifier ENV["BUNDLE_IDENTIFIER"]
apple_id ENV["APPLE_ACCOUNT"]
team_name ENV["TEAM_NAME"]
team_id ENV["TEAM_ID"]

Environment
fastlane version (run fastlane -v): 1.97.2
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? no
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? y
fastlane-credentials --version: CredentialsManager 0.16.0

Please confirm existing "fastlane/Deliverfile" file
if existing file , please delete "fastlane/Deliverfile" file or change username on file

@biolinh Did @ppengotsu suggestion help? Thanks!

Thank you for all support. I already fixed it. It is because of itunes_id.rbscript in Action folder when I try to migrate existing certificate to fastlnae match . Therefore, when fastlane run, It call this account from it.

@biolinh Awesome! Really glad to hear you got up and running. Hope you have a wonderful weekend! 👍


Added my name

Related issue

Add my name
Screenshots (If any)
Did I place my name in the correct line?

Looks good 👍
Thanks for contributing ❤

Thanks for having me! 😃


MangoSale  Protocol

Project Abstract

Please replace these instructions with a brief description of your project summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] A BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (aUSD/USDT) address for the payment of the milestones is provided in the application.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[x] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @mangoboxlab:matrix.org (change the homeserver if you use a different one)

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

Thanks for all your support, we will try our best to develop this product!


Updating develop with release branch

Codecov Report

Merging #21 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #21   +/-   ##
==========================================
  Coverage      62.99%   62.99%
  Complexity       429      429
==========================================
  Files             80       80
  Lines           1262     1262
  Branches         113      113
==========================================
  Hits             795      795
  Misses           407      407
  Partials          60       60

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 f566eed...afc74bf. Read the comment docs.


Warning compiling gfx-hal

In trunk I get this warning when compiling:
warning[E0713]: borrow may still be in use when destructor runs
   --> src/hal/src/command/render_pass.rs:272:36
    |
229 | impl<'a, B: Backend> RenderPassInlineEncoder<'a, B> {
    |      -- lifetime `'a` defined here
...
272 |         RenderPassSecondaryEncoder(self.0.cmb)
    |         ---------------------------^^^^^^^^^^- returning this value requires that `*self.0.cmb` is borrowed for `'a`
273 |     }
    |     - here, drop of `self` needs exclusive access to `*self.0.cmb`, because the type `command::render_pass::RenderPassInlineEncoder<'_, B>` implements the `Drop` trait
    |
    = warning: This error has been downgraded to a warning for backwards compatibility with previous releases.
            It represents potential unsoundness in your code.
            This warning will become a hard error in the future.

warning[E0713]: borrow may still be in use when destructor runs
   --> src/hal/src/command/render_pass.rs:347:62
    |
303 | impl<'a, B: Backend> RenderPassSecondaryEncoder<'a, B> {
    |      -- lifetime `'a` defined here
...
347 |             RenderPassInlineEncoder(RenderSubpassCommon::new(self.0))
    |             -------------------------------------------------^^^^^^-- returning this value requires that `*self.0` is borrowed for `'a`
348 |         }
349 |     }
    |     - here, drop of `self` needs exclusive access to `*self.0`, because the type `command::render_pass::RenderPassSecondaryEncoder<'_, B>` implements the `Drop` trait
    |
    = warning: This error has been downgraded to a warning for backwards compatibility with previous releases.
            It represents potential unsoundness in your code.
            This warning will become a hard error in the future.

Thanks. It occurs after adapting to edition 2018 and I have posted the warning to gitter but forgot to create an issue here.


Filter out unknown tokens instead of crashing

Currently, when a word is not found, for example didn’t (notice the ’ instead of '), it just panics, since the unwrap is called on a None value.
Maybe you would prefer throwing an error instead, since this hides the oddity from the user.

Merged, thanks for the PR!


CDK node erroring "with failed to add signed tx  to monitored tx history: already exists"

System information
Ubuntu 24.04 - amd64
Commit id
91147af3c2c923dd157b8e5f362931acecd55cdb
Description & steps to reproduce
Hey, been running CDK validium stack fork13 for a few days, until I started getting the following error on cdk-node (ghcr.io/0xpolygon/cdk:0.4.0)
ERROR        ethtxmanager/ethtxmanager.go:622        failed to add signed tx redacted to monitored tx history: already exists        {"pid": 1166388, "monitoredTxId": "redacted", "createdAt": "redacted, "from": "redacted", "to": "redacted"}
github.com/0xPolygon/zkevm-ethtx-manager/ethtxmanager.(*Client).monitorTx
/root/go/pkg/mod/github.com/0x!polygon/zkevm-ethtx-manager@v0.2.1/ethtxmanager/ethtxmanager.go:622
github.com/0xPolygon/zkevm-ethtx-manager/ethtxmanager.(*Client).monitorTxs.func1
/root/go/pkg/mod/github.com/0x!polygon/zkevm-ethtx-manager@v0.2.1/ethtxmanager/ethtxmanager.go:496
Currently the node is not able to proceed and is not interacting with the L1 chain anymore.
The CDK stack components we currently have in our system are:
  zkevm_contracts_image: leovct/zkevm-contracts:v8.1.0-rc.1-fork.13
  zkevm_prover_image: hermeznetwork/zkevm-prover:v9.0.0-RC2-fork.13
  cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.60.0-beta10
  zkevm_da_image: 0xpolygon/cdk-data-availability:0.0.10
  consensus_contract_type: cdk-validium
  sequencer_type: erigon

Any idea why this might be happening?
And if it can be solved or requires a complete new deployment to L1?
Thank you!
Desired behavior
CDK node error shouldn't occur and should be able to continue
What is the severity of this bug?
Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

This can sometimes resolve itself depending on the root cause. I'm guessing you're using sepolia or something like that as the L1? If you're running the L1 with kurtosis it would be weird to see this type of error.
I think typically what I've done in a case like this is to stop the sequence sender (cdk-node) and then remove the entry in the monitored_tx table in sqliite or postgres that corresponds to the logs.

Hey @praetoriansentry thank you for the feedback, I have tried the suggested, stopped all components and then removed the duplicated tx (0x68c56b6c59cf5cfedccbd5a49ba6a65f7fc64f87695cddcde70aa64a1e494010) from the ethtxmanager.db
However after starting them back again and wait a bit of time, started getting this error
2024-12-20T11:18:51.601Z        INFO        internal/synchronizer_impl.go:288        NetworkID 0 Synced!   lastBlockSynced:BlockNumber: 65709674, BlockHash: 0x6f79694d0e39faadc065691e8db46e6826a0dd46f13fc7a3cf897bae1a5334fc, ParentHash: 0xa49f45e0138afd4d83e0db89ee6ab61a313bf3937e146e516245655c9305a765, ReceivedAt: 2024-12-20 10:57:44 +0000 UTC, Checked: true, SyncVersion: v1.0.6        {"pid": 192449}
2024-12-20T11:18:52.318Z        INFO        l1infotreesync/processor.go:395        block 65710267 processed with 0 events        {"pid": 192449, "version": "v0.4.0-beta10"}
2024-12-20T11:18:54.578Z        INFO        l1infotreesync/processor.go:395        block 65710268 processed with 0 events        {"pid": 192449, "version": "v0.4.0-beta10"}
2024-12-20T11:18:55.230Z        INFO        sequencesender/sequencesender.go:282        updating virtual batch        {"pid": 192449, "version": "v0.4.0-beta10", "module": "sequence-sender"}
2024-12-20T11:18:55.248Z        INFO        sequencesender/sequencesender.go:523        latest virtual batch is 819        {"pid": 192449, "version": "v0.4.0-beta10", "module": "sequence-sender"}
2024-12-20T11:18:55.248Z        INFO        sequencesender/sequencesender.go:295        updating tx results        {"pid": 192449, "version": "v0.4.0-beta10", "module": "sequence-sender"}
2024-12-20T11:18:55.249Z        ERROR        sequencesender/ethtx.go:318        error getting result for tx 0x68c56b6c59cf5cfedccbd5a49ba6a65f7fc64f87695cddcde70aa64a1e494010: not found        {"pid": 192449, "version": "v0.4.0-beta10", "module": "sequence-sender"}
github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).getResultAndUpdateEthTx
        /root/repos/cdk/sequencesender/ethtx.go:318
github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).syncEthTxResults
        /root/repos/cdk/sequencesender/ethtx.go:176
github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).tryToSendSequence
        /root/repos/cdk/sequencesender/sequencesender.go:296
github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).sequenceSending
        /root/repos/cdk/sequencesender/sequencesender.go:243
2024-12-20T11:18:55.249Z        ERROR        sequencesender/ethtx.go:178        error getting result for tx 0x68c56b6c59cf5cfedccbd5a49ba6a65f7fc64f87695cddcde70aa64a1e494010: not found%!(EXTRA string=
/root/repos/cdk/log/log.go:148 github.com/0xPolygon/cdk/log.appendStackTraceMaybeArgs()
/root/repos/cdk/log/log.go:257 github.com/0xPolygon/cdk/log.Errorf()
/root/repos/cdk/sequencesender/ethtx.go:178 github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).syncEthTxResults()
/root/repos/cdk/sequencesender/sequencesender.go:296 github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).tryToSendSequence()
/root/repos/cdk/sequencesender/sequencesender.go:243 github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).sequenceSending()
)        {"pid": 192449, "version": "v0.4.0-beta10"}
github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).syncEthTxResults
        /root/repos/cdk/sequencesender/ethtx.go:178
github.com/0xPolygon/cdk/sequencesender.(*SequenceSender).tryToSendSequence
        /root/repos/cdk/sequencesender/sequencesender.go:296

So seems like now its expecting that same transaction hash to exist, I assume it's saved some where and I need to delete it, already looked through all tables in aggregator_db but no luck, I might be missing something
Any thoughts? Thank you!

Hmmm - does your system have a file like sequencesender.json in the /tmp folder? That might need to be dropped as well.


typo: KeptnMericRef

KeptnMericRef should be KeptnMetricRef
https://main.lifecycle.keptn.sh/docs/yaml-crd-ref/evaluationdefinition/

I'd like to work on this, please assign issue.

I'd like to work on this, please assign issue.

is assignment of issue must or I can start working on this straight away ? @rakshitgondwal

@hirentimbadiya Commenting on an issue and getting it assigned to you (like you did), is a great first step. It tells other that "it's yours". We've had a few issues where multiple contributors have mistakenly done the same work and (obviously) we only accept the first one. The other people are then disappointed. Unfortunately though, GitHub only allows us to assign if someone comments - so it's good to know for other projects too - just always drop a comment.
So yes, doing what you did was exactly correct. I'm assigning to you now.

what you did was exactly correct. I'm assigning to you now.

Thanks @agardnerIT , I'm now diving into the contributing guidelines!

Closing this as the related PR has been merged


  Now, of course that hasn't always been the case, but it was the goal.
Making first all tests fail, would be against this policy.


Hardened GitHub workflows a little bit

Changes

.github/workflows/woke.yml: set permissions to read-only
.github/workflows/codeql-analysis.yml: set permissions to read-only
Use digest to refer GitHub actions instead of "tags"
Add a github action dependabot configuration to keeping this up-to-date as well

/kind misc
See the following:

https://github.com/tektoncd/pipeline/security/code-scanning/38
https://github.com/tektoncd/pipeline/security/code-scanning/37

/cc @afrittoli @JeromeJu @chitrangpatel @jerop

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/lgtm

https://github.com/tektoncd/pipeline/issues/1820#issuecomment-1871325104

/retest


[WIP] Run Tests Concurrently + Upgrade to SBT 1.3.10

This is a work in progress PR that upgrades SBT to 1.3.10. This brings a number of enhancements:

Coursier based dependency resolution - Coursier resolves much faster than Ivy. This is true both in CI (when first downloading dependencies) and during local/iterative development (re-resolution on startup and between commands is faster as well)
Better Console - The SBT console now shows inprogress compile/test/tasks (similar to Bazel)
Parallel Test Execution - This was also available in SBT 0.13.x, but it's now easier to configure and enable across all test projects while still being able to control parallelism

This PR is still WIP as a number of workflows need to be tested and changes need to be verified

Releasing a new version of Delta - I had to bump the sbt-release plugin.
Ensuring Coursier and Ivy produce the same dependency resolution - it's possible that Delta pulls in artifacts with different versions as a result of the switch to Coursier. If this is the case, we may need to manually pin artifacts & versions.
A few test cases fail when run in parallel - we'll need to either fix them tag them to run serially.

The biggest TODO is re-building sbt-spark-package for SBT 1.x - This is the one SBT plugin that doesn't have an SBT 1.x compatible version.

@ahirreddy I agree with all of the goals. Thank you for attempting this. And yes, sbt-spark-package is the biggest bottleneck for this work.

Close the old PR.


Create Tags component

figma -> https://www.figma.com/file/9lCwprCNaoAmUDmiMQpFEA/DAOhaus-v3?node-id=4905%3A51997

I've built this out in Story book. Will update once it has completed design flow to get to Development.

We haz tags


Make IN expr work with multiple items

Which issue does this PR close?
Closes #7448
Rationale for this change
The failure cases shown in #7448 are apparently valid. So this PR is for bug fix.
What changes are included in this PR?
The cause of the issue is that in_expr doesn't consider the case where the evaluated value of each expr in a list varies per row.
So the issue happens in such a case except for the case IN expr is simplified by the optimizer.
The fix is to care such a case and search the target value from the list sequentially per the given RecordBatch.
Are there any user-facing changes?
Yes. But it's a bug fix.

LGTM :+1:.


Rendering bandwidth limit

This PR implements a check of the rendering bandwidth requested by teams before setting time_step of the cameras. In case a camera request too much bandwidth, the request is denied and an error message is returned.
The feature is tested through a test scenario that request manual checking of the output.
In order to test automatically the feature, a second camera with a much higher resolution is added to the Darwin-opHinge2. @omichel  could you confirm that it would not be a problem to integrate this change of the model in the experimental branch?

I believe it will not cause any problem to integrate this PR into the experimental branch.
The new camera if not enabled will not have any impact on the simulation.
If enabled for all the robots, it will obviously slow down the simulation speed, but this is expected.


Ngx Translate with Angular 9

Ngx Translate is not wokring perfectly on Angular 9 while the translate pipe is not working.
so in your standard component you should add 'translate' as directive on each translatable field.
like this
<span translate>GENERAL.ERRORS.REQUIRED</span>

I'm sorry, translate pipe is working from ngx-translate
but still no translation from validation errors component

hi @Al-Sharif can you show me your configuration? as with the issue with #17 I have to improve the compatibility of the angular 9 but i don't think that you error is related

I encountered the same problem although with Angular 10 and Material input fields. If I translate by hand like below, the translation works. Also GENERAL keys are not used if a key does not exist for the field.
<mat-form-field *ngxValidationErrors="form.get('title'); errors as errors">
    <input matInput placeholder="Title" formControlName="title">
    <mat-error *ngIf="errors">{{errors[0] | translate}}</mat-error>
</mat-form-field>

hi @rraksi The behaviour for the material input is the intedend one. Do you expect to see the translated message directly? if you see the demo project there are in fact the keys

Maybe i can add a parameter in the structural directive to receive the translated message.
On the contrary I don't understand the problem with the "GENERAL" key, can you give me an example?

Yes, I was expecting to get the translated message as for the non material input components. If you could make a parameter for it, t would be great.
As I understood from the documentation if a message translation is not available in the specified validation context than the translations from the default context are used. Seeing that the translation currently does not occur for material inputs, the implementation of this logic would be the component's user's task.

@rraksi The non material example have a default error component that uses the translation pipe that is injected into the formFieldContainer, as explained in the readme this approach is not feasible for material input (or at least I was not able to do it). That's why there is a strucrural directive that exposes the errors keys. the keys should aready have a fallback, if you don't find the correct translation you will have the error key with the GENERAL prefix but still you have to use explicitly the translation pipe. I will try to add an export for the translated message, injecting the translation context into the material directive


Using delegate factories with constructor injection in dialogs

System Information (Required)

SDK Platform: C#
SDK Version: 3.8.1
Development Environment: localhost

Issue Description
I am doing dependency injection with Autofac. Everything goes great until I am trying to instantiate a dialog in another one using a delegate factory method (in order to call context.Forward on it), injected by Autofac.
Example Code
private readonly Func<LuisDialog> _myDialogFactory;

public RootDialog(Func<LuisDialog> myDialogFactory)
{
    SetField.NotNull(out _myDialogFactory, nameof(_myDialogFactory), myDialogFactory);
}

private async Task MessageReceivedAsync(IDialogContext context, IAwaitable<object> result)
{

...

var myDialog = _myDialogFactory();
await context.Forward(myDialog, ... );

...

}

Results
Since MyDialog is marked as [Serializable] I obviously get the followin exception:

Cannot serialize delegates over unmanaged function pointers, dynamic methods or methods outside the delegate creator’s assembly.

I know that a possible workaround would be to simply use the service locator pattern and do something like this. But I consider service locator an anti-pattern, so I am strictly against this solution.
How can I make it work using only dependency injection, like I am trying to do in the above example?

Two ideas

Wrap the delegate factory in a closure created from your assembly instead.
Use a serialization surrogate e.g. https://github.com/Microsoft/BotBuilder/blob/497252e8d9949be20baa2cebaa6ce56de04461cf/CSharp/Library/Microsoft.Bot.Builder.Autofac/Fibers/FiberModule.cs#L196

Thanks to Will's great advice, I was able to come up with the following solution:
builder.Register(context => new Func<MyDialog>(() => new MyDialog())).Keyed<Func<MyDialog>>(FiberModule.Key_DoNotSerialize).As<Func<MyDialog>>().SingleInstance();
The idea here is that in the Module where I am registering RootDialog and MyDialog with Autofac, I don't let Autofac to automatically generate the factory delegates for me, because those will end up in Autofac's assembly itself, hence the exception message in my previous comment. This way, I am registering my own factory delegate, overriding the automatically generated one, marking mine as a non-serializable singleton and now it works like a charm! :)

I'm struggling to solve similar situation like this for hours and using FiberModule.Key_DoNotSerialize works perfectly. Thank you @willportnoy and @peterbozso


Fix issue 6496

Type of Change

[x] Bug fix (non-breaking change, fixes #6496  )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Approach

Commands to test

Screenshots

Learning

Please add a proper title.


RISC0 and  FHE

Has anyone successfully combined risc with a fully homomorphic encryption tool? I tried many fully homomorphic encryption tools, but without success.

This looks redundant with #607; is there a reason we want/need a second place for conversation about this?

This seems to be a duplicate of #607 closing


Andy (Numfocus) will look into lawyer to help us with contracts

We need some help looking over current contracts and requesting modifications to current contracts to allow support from Moore funding.

I also have a contact (a contract lawyer spouse of an astronomer) who might be interested in helping us out. He helped be develop the contracts for ScienceBetter.

The contracts got put together without need for extra lawyers.


[TT-479] - adding finality validations

Codecov Report

Merging #649 (e65029d) into main (9739552) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #649   +/-   ##
=======================================
  Coverage   41.97%   41.97%
=======================================
  Files           7        7
  Lines         455      455
=======================================
  Hits          191      191
  Misses        251      251
  Partials       13       13


Serious Sam 3 :BFE ... steamclient.so missing

Getting this error however steamclient.so is copied to ~/.steam/sdk32 and ~/.steam/bin32
I am running this directly from /home/ss3server/serverfiles/Bin/Sam3_DedicatedServer
[ss3server2@localhost Bin]$ ./Sam3_DedicatedServer
cat: /etc/debian_version: No such file or directory
LOG:  Loaded "/home/ss3server/serverfiles/Bin/GameEnv_Steam.so".
INF:  GameEnv API: Steam
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.

Hey there,
Did you try to copu steamclient.so to  /home/ss3server/serverfiles/Bin/ ?

yes, it is already there when you install the game

I had an issue with this recently when testing out the server again. I was unable to figure it out though. :-/ maybe an update the game dev made broke the server.

this is working now with latest steam update


Panic when parsing quoted identifiers

SMTLIB allows for defining identifiers with restricted characters by wrapping them in |: |foo::bar@10|. However, the crate fails to parse such identifiers:
use easy_smt::{ContextBuilder, Response};

fn main() -> std::io::Result<()> {
    // Create a new context, backed by a Z3 subprocess.
    let mut ctx = ContextBuilder::new()
        .solver("z3", ["-smt2", "-in"])
        .replay_file(Some(std::fs::File::create("replay.smt2")?))
        .build()?;

    // Declare `x` and `y` variables that are bitvectors of width 32.
    let x = ctx.declare_const("|x::10|", ctx.int_sort())?;

    // Assert that `x * y = 18`.
    ctx.assert(ctx.eq(x, ctx.numeral(10)))?;

    // Check whether the assertions are satisfiable. They should be in this example.
    assert_eq!(ctx.check()?, Response::Sat);

    // Print the solution!
    let solution = ctx.get_value(vec![x])?;
    for (variable, value) in solution {
        println!("{} = {}", ctx.display(variable), ctx.display(value));
    }

    Ok(())
}

The expected output would be printing:
|x::10| = <value>

Unfortunately, we get:
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `2`,
 right: `5`', /Users/rachitnigam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/easy-smt-0.2.0/src/context.rs:444:29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Running the replay.smt2 file, we get the right answer:
% z3 -smt2 replay.smt2
success
success
success
success
sat
((|x::10| 10))

It looks like we hit an assert! in implementation of get_value which is probably triggered because the parser doesn't handle quoted identifiers correctly.

Digging a little deeper, the term x::10 is parsed as (quotes added to disambiguate):
( "|x" ":" ":10" "|" )


Compare to the GCN embeddings

About

https://tkipf.github.io/graph-convolutional-networks/

https://towardsdatascience.com/how-to-do-deep-learning-on-graphs-with-graph-convolutional-networks-7d2250723780

Implementations

pytorch: https://github.com/tkipf/pygcn

TF: https://github.com/tkipf/gcn

Keras: https://github.com/tkipf/keras-gcn

won't fix this this reason:
On Nov 15, 2018, at 17:26, Oleksiy Oliynyk<EMAIL_ADDRESS>wrote:
regarding GCN:
I read the articles and this approach requires features of the nodes.
So in the implementation mentioned in the issue, they use 2 files as a input.
https://github.com/tkipf/keras-gcn/tree/master/kegra/data/cora
one just contains pair of ids per line, but second has
a) id --- it's obvious
b) feature vector per every node (with binary values if feature is present or not) --- not sure what I can put here
c) class --- we have just one class which is synset
Right, technically this approach in fact can’t be compared directly to our method as we do not really on the node features!
In this case, I suggest to for now suspend this task. Let’s just focus on the WSD results (in the same format as you got for all the TransX models).
I will let you know if there is anything else to do about this paper, but for now this is the most important bit.


Retired measures need removing from website

We've recently retired a number of measures, and they need to be removed from the website:
dipyridamole
ulipristal
ktt12_diabetes_insulin
coproxamol

Sorry @inglesp @evansd I hadn't realised we've also got some renamed measures where the "old" measure needs removing:
ktt9_cephalosporins_star
ktt9_cephalosporins
ktt9_antibiotics

All done :+1:


Add @wordpress/hooks as an available external

When implementing a block, it would be helpful to have access to the applyFilters and withFilters provided by Gutenberg.
For example:
import {
	applyFilters,
} from '@wordpress/hooks';

const getSomething = function() {
	return applyFilters( 'blocks.myBlock.getSomething', 'defaultvalue' );
}

Thank you. cgb-scripts: 1.13.0 => 1.14.0 published.


Unable to connect to RCON port

Hello!
First of all this docker image works great, i have ran multiple (variants of) servers without issues. However, i am now running into one that i am not able to solve yet.
I'm trying to run curseforge modpack Enigmatica6. At the start i noticed that i have to run the java8 tag of the image and have USE_MODPACK_START_SCRIPT set to false, otherwise it would not startup.
With those settings the server is running fine but i wanted to get RCON access. I tried to attach with the rcon-cli but no success so i saw that there is a nice web interface for it, added it to the compose file, as far as i can tell configured correctly. But that tool is also not able to connect to the rcon port.
Am i missing something in the configuration or am i using an outdated example?
Below is the compose file i'm using.
version: "3.3"

services:
  web:
    image: itzg/rcon
    environment:
      RWA_USERNAME: admin
      RWA_PASSWORD: admin
      RWA_ADMIN: "TRUE"
      RWA_RCON_HOST: mc
      RWA_RCON_PORT: 28016
      RWA_RCON_PASSWORD: "admin"
    ports:
      - 4326:4326
      - 4327:4327
  mc:
    image: itzg/minecraft-server:java8
    ports:
      - 25565:25565
    environment:
      EULA: "TRUE"
      TYPE: "CURSEFORGE"
      MEMORY: "4G"
      CF_SERVER_MOD: "/data/Enigmatica6Server-0.4.3.zip"
      VERSION: "1.16.5"
      ENABLE_AUTOPAUSE: "TRUE"
      USE_MODPACK_START_SCRIPT: "false"
      ENABLE_RCON: "true"
      RCON_PASSWORD: "admin"
      RCON_PORT: 28016
      DIFFICULTY: "easy"
      OPS: ""
    volumes:
      - ./data:/data

Thanks in advance!

I'll give your compose file a try later, but I seem to remember some mods mess with the rcon port binding. In other words it looks like you're doing everything right.

@itzg Thanks for your fast reply, looking forward to see if you could get it to work or know a work around, if i need to provide some more info or can help in any other way let me know!

Just wanted to note that I ran into this https://github.com/itzg/docker-minecraft-server/issues/772 , so I'm going to research enhancing modpack handling to use the settings.cfg file where it contains things like:
MCVER=1.16.5;
FORGEVER=36.0.45;
FORGEURL=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar;

I enhanced the modpack handling to lookup the installer URL from the modpack's config file. Re-pull the image and see if that works for you now.

@itzg I did some testing with the exact same compose file, but on a different machine. I tested this on a macbook pro where before i was running it on an Intel NUC running debian.
I removed the image so it would re-pull the latest one.
First try i noticed that the process was stuck at
mc_1   | [init] Installing forge server

after waiting for 15 minutes i figured that it was most likely not working 😅
I stopped the containers and tried to 'up' them again without making any changes. Then i ran into the following:
mc_1   | [init] Starting CurseForge server in /data/FeedTheBeast...
mc_1   | 2021-03-17 08:56:38,756 main ERROR Error processing element Queue ([Appenders: null]): CLASS_NOT_FOUND
mc_1   | 2021-03-17 08:56:38,963 main ERROR Unable to locate appender "ServerGuiConsole" for logger config "root"
mc_1   | [08:56:39] [main/INFO]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.0.45, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge]
mc_1   | [08:56:39] [main/INFO]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_212 by IcedTea
mc_1   | [08:56:40] [main/INFO]: Added Lets Encrypt root certificates as additional trust
mc_1   | Exception in thread "main" [08:56:40] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList

which could be because maybe the installer wasn't done? Because i have not seen this error before, also not in my working version of this container (the one without rcon)
If i need to provide more output/debug logs please let me know.

Yeah, it now sounds like a partial install happened and files are missing/corrupted. After removing the installed files, start the container again with DEBUG: "true" to get more output along the way.

@itzg I tried it again and this time i added the DEBUG: "true" env var. Not a lot more of output then i already had. I waited again 15 minutes, since i think the Forge server should be installed by then.
Few more lines from the logs, not sure if these are helpful.
mc_1   | + [[ -n FORGEURL=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar; ]]
mc_1   | + [[ FORGEURL=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar; =~ ^([^#;][^=]+)=[:space:]*([^;]*) ]]
mc_1   | + k=FORGEURL
mc_1   | + v=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar
mc_1   | + case $k in
mc_1   | + forgeInstallerUrl=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar
mc_1   | + read -r line
mc_1   | + [[ -n '' ]]
mc_1   | + [[ -n https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar ]]
mc_1   | + forgeInstallerJar=/data/FeedTheBeast/forge-installer.jar
mc_1   | + curl -fsSL -o /data/FeedTheBeast/forge-installer.jar https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.5-36.0.45/forge-1.16.5-36.0.45-installer.jar
mc_1   | + [[ -z /data/FeedTheBeast/forge-installer.jar ]]
mc_1   | + log 'Installing forge server'
mc_1   | + echo '[init] Installing forge server'
mc_1   | [init] Installing forge server
mc_1   | + awk '{printf "."} END {print ""}'
mc_1   | ++ dirname /data/FeedTheBeast/forge-installer.jar
mc_1   | + cd /data/FeedTheBeast
mc_1   | ++ basename /data/FeedTheBeast/forge-installer.jar
mc_1   | + java -jar forge-installer.jar --installServer

The container also goes in a unhealty state.
Would you like me to wait longer for this to finish?

I think that forge installation is just taking a long time for some reason. To help diagnose that, re-pull the image since I removed the awk '{printf "."} END {print ""}' that was trying to hide the "forge installer noise". It would help a lot to see that noise in this case 😃.

That helped indeed by knowing that it is actually doing something.
It did also, for quite a while. But then i stopped..
This was the latest outputL
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_languages.txt
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_rules_any.txt
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_rules_french.txt
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_rules_hebrew.txt
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_rules_italian.txt
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_rules_portuguese.txt
mc_1   |   Data  org/apache/commons/codec/language/bm/sep_rules_spanish.txt
mc_1   |   Data  org/apache/commons/codec/language/dmrules.txt
mc_1   |   Data  org/apache/commons/codec/net/
mc_1   |   Extra org/apache/commons/codec/net/BCodec.class
mc_1   |   Extra org/apache/commons/codec/net/QCodec.class
mc_1   |   Extra org/apache/commons/codec/net/QuotedPrintableCodec.class
mc_1   |   Extra org/apache/commons/codec/net/RFC1522Codec.class
mc_1   |   Extra org/apache/commons/codec/net/URLCodec.class
mc_1   |   Extra org/apache/commons/codec/net/Utils.class
mc_1   |   Data  io/netty/internal/

I'll run it on mine and see what is usually the next installer output after yours since maybe that's the one that's hanging (if it logs after rather than before).

There was a slight pause after that "Data io/netty/internal" line and this is the next few lines after it
mc_1  |   Output: /data/FeedTheBeast/./libraries/net/minecraft/server/1.16.5-20210115.111550/server-1.16.5-20210115.111550-slim.jar Checksum Validated: 2042be92779b25878580d9c3662756179a5dc55c
mc_1  |   Output: /data/FeedTheBeast/./libraries/net/minecraft/server/1.16.5-20210115.111550/server-1.16.5-20210115.111550-extra.jar Checksum Validated: 48927cadca203a714dcc60ee80533c74e74d3a3f
mc_1  | ===============================================================================
mc_1  |   MainClass: net.md_5.specialsource.SpecialSource
mc_1  |   Classpath:
mc_1  |     /data/FeedTheBeast/./libraries/net/md-5/SpecialSource/1.8.5/SpecialSource-1.8.5.jar
mc_1  |     /data/FeedTheBeast/./libraries/org/ow2/asm/asm-commons/6.1.1/asm-commons-6.1.1.jar
mc_1  |     /data/FeedTheBeast/./libraries/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
mc_1  |     /data/FeedTheBeast/./libraries/com/google/guava/guava/20.0/guava-20.0.jar
mc_1  |     /data/FeedTheBeast/./libraries/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar
mc_1  |     /data/FeedTheBeast/./libraries/org/ow2/asm/asm-analysis/6.1.1/asm-analysis-6.1.1.jar

however, that doesn't provide any clues about why it would be "stuck" there for you.

Well the server did eventually start up successfully like i mentioned in my previous comment however no succes with RCON yet.

I'm having the same issue, the problem for me is that I am using an existing world and I need to execute an FML confirm command to make it continue to start up, and I can't get the RCON to work either from docker or another client, so I have this;
Run the command /fml confirm or or /fml cancel to proceed.
Alternatively start the server with -Dfml.queryResult=confirm or -Dfml.queryResult=cancel to preselect the answer.
I don't know how to add to the startup command line arguments;
From docker I have this;
PS C:\Users\John> docker exec mc rcon-cli /fml confirm
2021/04/21 12:21:05 Failed to connect to RCON serverdial tcp <IP_ADDRESS>:25575: connect: connection refused
And this is the command I used to create the container;
PS C:\Users\John> docker run -d -it -v mcvol:/data -e TYPE=FORGE -p 25565:25565 -e EULA=TRUE -e VERSION=1.10.2 --name mc itzg/minecraft-server:java8
Any help appreciated, I thought it would be better to add it to this ticket than spam you with new tickets!

@SkyBlade1978 in your case please read https://github.com/itzg/docker-minecraft-server/blob/e0c721585ed60fce3bbec6125aed8153d857dab8/README.md#jvm-options


Testing criteria tables update from v1 to v2

Signed-off-by: jp669844<EMAIL_ADDRESS>

@jmertic Note:  This is a new pull request which contains the correct testing criteria for our V2 program. I have reviewed this request and the V2 Testing Criteria entries look good to me.  Can you please review ASAP so that the Conformance program will reflect the correct testing criteria?  The V2 program is currently displaying V1 testing criteria.


ECONNREFUSED error when logged in

I was getting an ECONREFUSED ERROR when logged in.
Updating the Prisma client fixed the issue.
Thanks to this Stackoverflow solution

Fixed #38


With Custome Cell we try to add more lable but its not visiable added label

I am trying to use this code but if we modified or label add in your sample app then its working but same code we use it and we added custome cell and add more than 3-4 lables in up down area its not display. Only center align lable display.

Even same problem occurs for me. Not able to solve

Hey @Mayur5130 and@arshadsk5,
I’m sorry you are experiencing an issue. This sounds implementation specific, and it doesn’t sound like it’s the FowLayout’s fault. You haven’t provided enough information either, so I’m going to close this issue.


[BUG] Success of VM deployment, causes weird API calls aftewards

VM was deploying for a long time (i.e. first time ever from a new template - so OVF deployment in vCenter took 5min or so)
In the meantime I was configuring/creating a new VM (was in the new VM wizard, configuring options), but have NOT submited the new VM creation job.
Then when the previous VM deployment finished, my CURRENT VM deployment job was magically submitted or something 👍 🥇

I've tested the same with template registration: while VM is being deployed, go and open the Register template form - and got some weird API calls to list templates, while I was on the Register template dialogue (but no error, as this was listTemplate api now)

@andrijapanicsb Could you provide the steps to reproduce this ?

I have, as I wrote, so:
VM was deploying for a long time (i.e. first time ever from a new template - so OVF deployment in vCenter took 5min or so)
In the meantime I was configuring/creating a new VM (was in the new VM wizard, configuring options), but have NOT submited the new VM creation job.
Then when the previous VM deployment finished, my CURRENT VM deployment job was magically submitted or something

Could be caused by autogen view reloading while the user is in deployvm view. Fixed in #623

LGTM


Updating manifest for 5.6.0 release

Please remove
atmi
MIOpenGEMM
These 2 have been deprecated and removed in 5.6


Auto style comm

This PR add:

Custom colors for widgets
Custom auto-style feature
Enable/Disable autostyle button
Edit/delete button to dropdown
Dynamic color changes and autostyle scheme
Fix when cartocss has conditional layer
Dark custom colors
Some basic styling features unified under widget-model (it need more work here)
Method to return definitions with ramp and domains

This PR is part of CartoDB/cartodb#10255

It's big but it looks promising 👍

🇪🇸


PyObject_CallOneArg() usage triggers assert

Bug Description
I'm getting an error using PyObject_CallOneArg() and I think this may be a bug. Feel free to close this issue if it isn't 👀
Steps to Reproduce
a minimal-ish example:
let zoneinfo_module = PyImport_ImportModule("zoneinfo\0".as_ptr().cast::<c_char>());
let zoneinfo_class =
    PyObject_GetAttrString(zoneinfo_module, "ZoneInfo\0".as_ptr().cast::<c_char>());
let zoneinfo_instance = PyObject_CallOneArg(
    zoneinfo_class,
    PyUnicode_FromString("Europe/Amsterdam\0".as_ptr().cast::<c_char>()),
);

this triggers the assert below. Indeed the n is set to<PHONE_NUMBER>854775809 (max i64 + 1). The function seems to usually get smaller values like 0, or 3 (corresponding to the number of arguments).
// abstract_.rs
pub unsafe fn PyVectorcall_NARGS(n: size_t) -> Py_ssize_t {
    assert!(n <= (PY_SSIZE_T_MAX as size_t));
    (n as Py_ssize_t) & !PY_VECTORCALL_ARGUMENTS_OFFSET
}

The large value can be traced back directly to PyObject_CallOneArg
// in abstract_.rs
pub unsafe fn PyObject_CallOneArg(func: *mut PyObject, arg: *mut PyObject) -> *mut PyObject {
    assert!(!arg.is_null());
    let args_array = [std::ptr::null_mut(), arg];
    let args = args_array.as_ptr().offset(1); // For PY_VECTORCALL_ARGUMENTS_OFFSET
    let tstate = PyThreadState_GET();
    let nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
    _PyObject_VectorcallTstate(tstate, func, args, nargsf as size_t, std::ptr::null_mut())
}

where 1 | PY_VECTORCALL_ARGUMENTS_OFFSET results in this massive number. Patching  let nargsf = 1; gets things working—but it should obviously be derived from PY_VECTORCALL_ARGUMENTS_OFFSET in some way.
I'm still pretty new to the C API, so it isn't obvious to me what the answer is 😬. Of course I'd be happy to submit a PR if that'd help 🙂
Backtrace
No response
Your operating system and version
MacOS 14.4.1
Your Python version (python --version)
Python 3.12.0
Your Rust version (rustc --version)
1.77.2
Your PyO3 version
master branch
How did you install python? Did you use a virtualenv?
pyenv virtualenv 3.12.0 foo
pyenv local foo

I then added my code to the string_example example in the pyo3 repo
Additional Info
No response

Thanks for the report! #4104 should fix this.


submission of spring handson-6

file:///home/hp/Pictures/Screenshots/Screenshot%20from%202024-01-31%2019-07-32.png
file:///home/hp/Pictures/Screenshots/Screenshot%20from%202024-01-31%2021-51-40.png
file:///home/hp/Pictures/Screenshots/Screenshot%20from%202024-01-31%2021-51-43.png

Metric
Value

alert_status
b:white_check_mark: OK/b

bugs
0

code_smells
36

reliability_rating
A (0 Bugs)br/Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)br/Note: A being best, E being worst

vulnerabilities
0


panic: json: cannot unmarshal number into Go struct field SearchHits.hits.total of type elastic.TotalHits

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ 1] elastic.v6 (for Elasticsearch 6.x)
Please describe the expected behavior
    query := elastic.NewTermQuery("content", "hillo")

result, err := client.Search().
	Index("wenshu").
	Query(query).
	Sort("type",true).
	Pretty(true).
	Do(context.Background())

Please describe the actual behavior
Why do I always report errors when I run？
Any steps to reproduce the behavior?

The error indicates that you're using a combination of Elasticsearch 6 and elastic v7 or vice versa. The reason for this error is that ES 7.x changed the response structure to return the total hits.
See e.g. https://github.com/olivere/elastic/issues/1007 for a detailed discussion.


[Question] Add good first issues

Search before asking

[X] I had searched in the issues and found no similar issues.

Question
I found that the issues with the label good first issue in the issue have been completed.
I think good first issues are one of the best ways for new contributors to contribute to the community.
If possible, I hope the community adds some good first issues. ：）

@erdengk sure, please keep watching.

We've been working on it, and we appreciate your valuable suggestion. If there are no further details to provide, we consider this issue resolved. Please feel free to reopen it if you have additional information to share.


Asynchronous error handling in quick pick

Follow up from https://github.com/microsoft/vscode/issues/173716

Here are three common scenarios in notebooks where we want to present warning/error messages to users and improve the UX
...

Empty results from a quick pick item entry. This usually happens when users pick a quick pick item, which goes to the next quick pick step, but at the end there is no result in that step. We currently show a placeholder quick pick item there but

It might be too late to show this option
The quick pick item is not actionable and also doesn't look like a warning/error message, compared to the validation message we usually show in quick picks.

Two options (both of which assume that you don't go to a new empty quick pick):

In quickpick, we have a core feature called validationMessage which shows a barebones message underneath the input. It is not like the input message validation which looks like it is attached to the input, it's just a piece of text right under the input. We could use this to display an error to the user that "something went wrong with that choice"
just show an error notification

@rebornix @DonJayamanne can you attach a screenshot of the current experience?
cc @daviddossett for thoughts

Closing this since it's not talked about anymore


remove SFINCS simulation files after finishing

Kind of request
None
Enhancement Description
save storage space by removing simulation folders after run has finished
Task list

[ ] remove simulation folder

Use case
No response
Additional Context
No response

we need the simulation files to read the output, so we cannot delete them.


Ability to add / override keyboard shortcut mapping.

I'm running Squire within a web view on iOS. The OS seems to be preventing keydown events for certain key combinations from making it through to the editor (and the JS context in general) - the tab key, ctrl-[ and ctrl-] don't trigger their assigned commands, for example.
Because of this I've had to reimplement the shortcuts for list indentation etc. Now there's two places in code where shortcuts are defined, which isn't ideal. It'd be really nice if there were a way to access Squire's shortcut map so I could add to/override the defaults. Cheers!

I'd suggest the ability to disable key shortcuts in part or entirely as well.

Added the setKeyHandler method to add/remove/override keyboard shortcuts.


All voice functionalities in a server stop working if a long enough video plays

There is no error and there doesn't seem to be a deadlock cause the bot can queue up more songs.

Seems to be an error in the audio backend on the current branch outlined here https://github.com/serenity-rs/songbird/issues/149.
Updating to the next branch should fix this issue.

It did not fix the issue.


MINOR: JavaDoc cleanup

During the work on KIP-150, we encountered a couple of JavaDoc inconsistencies:

different wording
typos; incorrect/missing markup
some classes/methods explain something, others don't
refined some JavaDocs to be more precise

This PR tries to cleanup the JavaDocs accordingly.
Call for review @vvcephei @wcarlson5 @bbejeck

Updated.


Add pagination method

Added method paginate in ActiveQuery class for quick get pagination data
How to use:
$result = Article::find()->where(['status' => 1])->paginate(15);
return $this->render('index', [
                 'items' => $result['items'],
                 'pages' => $result['pages'],
           ]);

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

You can use ActiveDataProvider with configured paginator instead this.

@dmirogin I think it's not so easy and obviously. Especially when you are newbie in framework. With this construction you can do it in 1 line, and will have code autocomplete

It's not the job of the query to do pagination. Existing solution is OK regarding complexity and is described well in the guide.

@samdark can I dynamically add this method to the class?

You can use your own query classes extended from your own base class that contains the method: http://www.yiiframework.com/doc-2.0/guide-db-active-record.html#customizing-query-classes

@samdark but what if already have a bunch of model files? Maybe it is a good idea add ability to add custom methods like my pagination?

You have to do it once for all your models where you're using pagination for. If these don't need any other custom query classes, they can instantiate the same query class.


update dependency versions

the pom.xml still has a dependency on hadoop-core 0.20.2-cdh3u4 from 2011, and com.sleepycat:je:4.1.6.
these versions are quite old, and are clashing with other dependency versions from my projet.
is it possible to update the dependency versions of openwayback pom.xml?
                       <dependency>
				<artifactId>hadoop-core</artifactId>
				<groupId>org.apache.hadoop</groupId>
				<version>0.20.2-cdh3u4</version>
			</dependency>

Hi @dportabella, It would be great to update the dependencies. Have you looked into whether upgrading these dependencies here would break anything/require changes beyond the pom.xml? Thanks, Lauren

Yes, it does not compile anymore. There is some work to make it work when upgrading these dependencies.

I figured that would be the case considering how old the versions in use are, but wishful thinking... Are you interested in working on this issue? We would be happy to get a PR to fix this.

too busy for the next six months :(

yeah, I know how that is... Thanks for reporting the issue and perhaps someone will be able to pick it up in the meantime. Any volunteers?


Many external urls in the doc or scripts use HTTP, when HTTPS works

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version
current
Expected results
HTTPS links should be used whenever possible.
Actual results
Many HTTP links in the doc and in some scripts.
Steps to reproduce
External links are present throughout the doc and some scripts.
Fixed by #7040

fixed by #7040

merged today


Unreachable code reached.

I'm getting the following error in v1.1.0(released) v1.2.0(released) and v2.0 (built).

[ERROR] Unknown error occurred.
Exception: Confuser.Core.UnreachableException: Unreachable code reached.
at Confuser.Renamer.Analyzers.LdtokenEnumAnalyzer.Analyze(ConfuserContext context, INameService service, ProtectionParameters parameters, IDnlibDef def)
at Confuser.Renamer.AnalyzePhase.Analyze(NameService service, ConfuserContext context, ProtectionParameters parameters, IDnlibDef def, Boolean runAnalyzer)
at Confuser.Renamer.AnalyzePhase.Execute(ConfuserContext context, ProtectionParameters parameters)
at Confuser.Core.ProtectionPipeline.ExecuteStage(PipelineStage stage, Action1 func, Func1 targets, ConfuserContext context)
at Confuser.Core.ConfuserEngine.RunPipeline(ProtectionPipeline pipeline, ConfuserContext context)
at Confuser.Core.ConfuserEngine.RunInternal(ConfuserParameters parameters, CancellationToken token)
Failed at 01:26, 0:00 elapsed.

Debugging shows that the instruction operand is equal to null, causing UnreachableException to be thrown.
The instruction in question shows as: IL_0032: ldtoken null
Any advice on what might cause this would be appreciated :)

Update: I cleaned/rebuilt my project, recreated the obfuscation project and everything worked as expected.

Glad I could help. :wink:

For future reference; Looks like it was caused by using a packer (Costura) prior to running it through confuser.


Better warning dependency of cartopy package

Description
When I tried the basic geographic plot without cartopy installed
import proplot as pplt
pplt.subplots(proj='npstere')

I got this error:
ValueError: Unknown projection 'npstere'. Options are: '3d', 'basemap', 'cart', 'cartesian', 'cartopy', 'geo', 'geographic', 'polar', 'rect', 'rectilinar', 'three'.

It would be better to raise the dependency of cartopy package.
Proplot version
0.9.2

Thanks, that's definitely not ideal. Must have been frustrating to debug.
Just fixed this. Here's the new error message when neither cartopy nor basemap are installed:
ValueError: Invalid projection name 'foobar'. Valid axes subclasses are 'cartesian', 'cart', 'rect', 'rectilinar', 'polar', 'basemap', 'cartopy', 'geo', 'geographic', 'three', '3d'. If you are trying to create a geographic axes then cartopy must be installed.

The message says basemap must be installed if rc['basemap'] is True.
Also here's an improved error message when cartopy is installed (matches the error message printed by basemap):
'foobar' is an unknown cartopy projection class.
The known cartopy projection classes are:
aitoff       Aitoff
hammer       Hammer
kav7         KavrayskiyVII
wintri       WinkelTripel
npgnom       NorthPolarGnomonic
spgnom       SouthPolarGnomonic
npaeqd       NorthPolarAzimuthalEquidistant
spaeqd       SouthPolarAzimuthalEquidistant
nplaea       NorthPolarLambertAzimuthalEqualArea
splaea       SouthPolarLambertAzimuthalEqualArea
aea          AlbersEqualArea
aeqd         AzimuthalEquidistant
cyl          PlateCarree
eck1         EckertI
eck2         EckertII
eck3         EckertIII
eck4         EckertIV
eck5         EckertV
eck6         EckertVI
eqc          PlateCarree
eqdc         EquidistantConic
eqearth      EqualEarth
euro         EuroPP
geos         Geostationary
gnom         Gnomonic
igh          InterruptedGoodeHomolosine
laea         LambertAzimuthalEqualArea
lcc          LambertConformal
lcyl         LambertCylindrical
merc         Mercator
mill         Miller
moll         Mollweide
npstere      NorthPolarStereo
nsper        NearsidePerspective
ortho        Orthographic
osgb         OSGB
osni         OSNI
pcarree      PlateCarree
robin        Robinson
rotpole      RotatedPole
sinu         Sinusoidal
spstere      SouthPolarStereo
stere        Stereographic
tmerc        TransverseMercator
utm          UTM

Thanks, looks quite clear now!


Clarify image-related services docs

...and make one of the comments accurate by fixing the code. Turns
out I forgot to add the 'silent' argument when I changed that comment.

Thanks. Will land on green.


Add a config to auto-ban if a player has a VAC / Game ban for less that N days

This is an easy one, re-use the code in steam utils to get the bans and just add a hook function on CONNECT to check the guys, the call the perma bans or do nothing.
Add an ENV variable for the number of days. 0 to disable > 0 to enable

Ideally there should be an ENV variable to configure the ban message, as this will be shown to the player when they are kicked/banned from the server.

Is there anything that can be done to get this issue over the line?
Every single one of suspected cheaters on our server in the last few weeks has a VAC ban in the last 6 months - this would solve a lot of problems for us right now.

It's in the works. Currently all that's left really is some testing - making sure we don't actually ban half your playerbase. You can expect it to be part of the next update.

This is done

This is done


Introduce #[swift_bridge(Equatable)] attribute for opaque Rust types

Given the following bridge:
#[swift_bridge::bridge]
mod ffi {
    extern "Rust" {
        #[swift_bridge(Equatable)]
        type SomeType;
    }
}

#[derive(PartialEq)]
struct SomeType;

We should emit some Swift along the lines of:
extension SomeTypeRef: Equatable {
    public static func == (lhs: SomeTypeRef, rhs: SomeTypeRef) -> Bool {
        __swift_bridge__$SomeType$_partial_eq(rhs.ptr, lhs.ptr)
    }
}

And on the Rust side we'd generate something like:
#[export_name = "__swift_bridge__$SomeType$_partial_eq"]
pub extern "C" fn __swift_bridge__SomeType__partial_eq (
    lhs: *const super::SomeType,
    rhs: *const super::SomeType
) -> bool {
    unsafe { &*lhs == &*rhs }
}

Here's a guide on how to implement this https://github.com/chinedufn/swift-bridge/issues/77#issuecomment-1381139141

Closed by #139


Add HH token

Official announcement: http://humanhealth.vip/
Project team background:
The HH core team has strong blockchain underlying technology capabilities, application-side development capabilities, financial services capabilities, and years of experience in the health field. Founder John Charles, founder of IT Summa, and 10 years of CEO experience. From 2015 to February 2019, a total of 6 blockchain projects have been traded. Since March 2019, all blockchain projects have been separated, and HH's blockchain projects have been invested and started.
Project basic information:
Human Health Chain is an open, equal and safe intelligent medical data application system based on block Chain technology, artificial intelligence and big data analysis technology. With the support of the block chain underlying technology, the reliable storage, traceability management, non-tampering, effective privacy protection and orderly and controllable value utilization within the industry ecology of medical and health data can be realized, so that all participants on the block chain can create and share the value on the block chain.
Users upload medical records through applications based on the HH system, through which users or patients can upload and manage their private medical records to obtain primary ownership of their private data, which cannot be edited by other parties without authorization.
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60,000

欢迎在社区中推荐用户使用 imToken 2.0 管理资产。


HTML partial support

As mentioned in #889, provides a basic ability to separate big and ugly html files into smaller partials, without adding any complicated template engine.

I signed it!

Any news on this?

I pulled these changes into my project and it worked a charm.
+1 to add this to main branch.

I would like to suggest that instead of constraining partials into a folder, they could instead be prefixed with an underscore. This would leave more room with folder structure and seems compliant with what is usually done with Sass.


Publish 11/24/2021, 10:30 AM

Docs Build status updates of commit 16629d6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/networkcontrollerdiagnostics/Debug-NetworkController.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/networkcontrollerdiagnostics/Debug-NetworkControllerConfigurationState.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/networkcontrollerdiagnostics/Debug-ServiceFabricNodeStatus.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/networkcontrollerdiagnostics/Get-NetworkControllerDeploymentInfo.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/networkcontrollerdiagnostics/Get-NetworkControllerManagedDevices.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/networkcontrollerdiagnostics/Get-NetworkControllerReplica.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/networkcontrollerdiagnostics/NetworkControllerDiagnostics.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


chore(package): switch to react-hot-loader

Rel #1895.
Details

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ae448ae). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1946   +/-   ##
=========================================
  Coverage          ?   99.77%
=========================================
  Files             ?      148
  Lines             ?     2637
  Branches          ?        0
=========================================
  Hits              ?     2631
  Misses            ?        6
  Partials          ?        0

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 ae448ae...fe2ad69. Read the comment docs.

Released in<EMAIL_ADDRESS>


Pinning a tag does not work

Description
When adding or editing a tag the checkbox for "pinned" has no effect. The option stays disabled in the table.
Info:

Papermerge Version [e.g. 3.0.1]: 3.1 from Docker Hub

Relevant log entries:
INFO:     <IP_ADDRESS>:39724 - "GET /token-validator HTTP/1.0" 200 OK
INFO:     <IP_ADDRESS>:39730 - "GET /token-validator HTTP/1.0" 200 OK
<IP_ADDRESS> - - [08/Mar/2024:10:08:42 +0000] "PATCH /api/tags/676e87d4-caa1-4ed3-86d4-cc6c4880a5cb HTTP/1.1" 200 134 "http://<IP_ADDRESS>:12000/" ""
<IP_ADDRESS> - - [08/Mar/2024:10:08:42 +0000] "PATCH /api/tags/676e87d4-caa1-4ed3-86d4-cc6c4880a5cb HTTP/1.1" 200 134 "http://<IP_ADDRESS>:12000/" ""
2024/03/08 10:09:04 [error] 186#186: *355 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "POST /api/tags/ HTTP/1.1", subrequest: "/token-validator", upstream: "http://[::1]:8100/token-validator", host: "<IP_ADDRESS>:12000", referrer: "http://<IP_ADDRESS>:12000/"
2024/03/08 10:09:04 [warn] 186#186: *355 upstream server temporarily disabled while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "POST /api/tags/ HTTP/1.1", subrequest: "/token-validator", upstream: "http://[::1]:8100/token-validator", host: "<IP_ADDRESS>:12000", referrer: "http://<IP_ADDRESS>:12000/"
INFO:     <IP_ADDRESS>:43858 - "GET /token-validator HTTP/1.0" 200 OK

Well actually that feature (of pinning the tag) was not yet fully transferred from version 2.x to 3.x.


App crashes when trying to save a saved draft

This has been fixed in the latest TestFlight version.


feat(esl-utils): make esl_sequanse a private key using Symbol

make __esl_sequanse__ a private key using Symbol
Closes: #1866

Note for @exadel-inc/esl-core-maintainers :
Add the require squash marker to modify the commit message to the correct change state ( -> refactor)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Refactor project

OAuth2-Server
Introduces a new OAuth server implementation with the following changes:

Added a promise-based API which supports both promises and node-style callbacks.
Added support for scopes for all grant types.
Added syntax-checking to all user input as defined in the spec.
Added OAuth client validation to authorization requests which fixes an edge-case where an auth code would be generated even if the OAuth client did not support authorization codes.
Fixed authorization requests now defer to the authentication middleware in order to verify that the request is authenticated (in the process, multiple bugs were fixed since the original library was doing this in place and consequently skipping many important checks).
Fixed incorrect (non-spec compliant) validation of the redirectUri in the authorization_code grant.
Fixed incorrect handling of custom grant types (the spec requires that extended grants be specified in the form of a uri).
Fixed non-spec compliant behavior when validating unsupported grant types.
Fixed non-spec compliant errors being returned to the response.
Fixed objects retrieved from the model are no longer injected into the current execution context and are instead returned in the original promise.
Fixed parameters given to model calls are now objects previously fetched from the model which reduces the number of database queries per OAuth request.
Fixed tokens are no longer allowed to be passed by GET parameter as recommended by the OAuth spec, for security reasons.
Improved authorization_code grant by allowing the redirect_uri parameter to be omitted (as required by the spec).
Improved authorization_code grant type by revoking the authorization code immediately upon issuing an access token (as required by the spec).
Improved refresh_token grant type by revoking the previous refresh_token immediately upon issuing an access token (as required by the spec).
Improved architecture by separating the grant-types, response-types and token-types into strongly typed classes.
Improved error handling by throwing strongly-typed errors so they can be caught in our backend.
Improved error handling by wrapping model errors in a server_error, as required by the spec.
Improved validation of all objects retrieved from the model (no validation was being done on expiry dates, for example).
Removed dependency on the express framework.
Removed injection of response body and headers in favor of strongly-typed Request and Response classes.
Renamed authorise, grant and authCodeGrant middlewares to more OAuth spec-friendly authenticate, token and authorize, respectively.

@nunofgs Hey, this PR is ended? how I can download or install via npm? which is the url of repo that contains you PR to clone or review code? Im newbie in github. Thanks!


problem during sending buffer

Describe the bug
I have a client who is stuck into the send of all task.
I think the problem is inside the send of buffer.
To Reproduce
It is not easy to reproduce
Expected behavior
Not be stuck :)
Infra

Target (Local, AWS, Docker compose, etc..) : AWS
Queue (Activemq managed or not) : Amazon MQ
DataBase (MongoDB) : MongoDB
Cache (Redis managed or not) : elasticache redis
Infra Version : 2.10.3
Core Images and Version (if known) : 0.8.2
Worker Image and Version (if known) : 0.8.2

I already explain the problem to @ddubuc

Thank you very much for the report, unfortunately @ddubuc is not available today so can you describe with more details in this issue the problem so the team can try to solve it.

hello,
here we have a method used inside a thread and in case of throw the thread is kill and we are stuck.
we continue to send message inside the SubmitAsync and we await the send to the grid but the thread who send to the grid is off.

and so if it throw I will need a log and a managment of error like a continue, restart  or crash the application

@landdragon Can you provide a way to reproduce the issue ? It would be easier for us.

Need to fix forward Issue

@landdragon :
To review the fix in 0.10.1
https://github.com/aneoconsulting/ArmoniK.Extensions.Csharp/pull/158
To compare with 0.8.2 (2.10.2)
https://github.com/aneoconsulting/ArmoniK.Extensions.Csharp/compare/0.8.2...ddu/backPort_BufferException

Just the re throw of the exception you put throw e; it is better to encapsulate inside an new exception otherwise we will lost the stack trace

@landdragon Are you taking about this line ?
https://github.com/aneoconsulting/ArmoniK.Extensions.Csharp/blob/7c5c67329538f17adc31fbc7c5a10fa4fe5e6fdb/Client/src/Common/Submitter/RequestTaskMap.cs#L66

yes

@landdragon So the idea for you is as below ?
  /// <summary>
  ///   Get the correct taskId based on the SubmitId
  /// </summary>
  /// <param name="submitId">The submit Id push during the submission</param>
  /// <returns>the async taskId</returns>
  public async Task<string> GetResponseAsync(Guid submitId)
  {
    while (!dictionary_.ContainsKey(submitId))
    {
      await Task.Delay(WaitTime);
    }

    return dictionary_[submitId]
      .IfRight(e => throw new ClientApiException("Submission failure", e));
  }

nice :)


Angular UI-VIEW ( UI-ROUTER ) NOT loaded

Problem of loading nested view (UI-VIEW)  e.g http://angular-ui.github.io/ui-router/sample/#/contacts/42/item/b
but rendered like that:

or simply gray screen (no content)
in browser works fine...

Is there any workaround for this?

+1

Workaround is to use PhantomJS 2.0


Restricted Access to Asset Database

Goal
Enable customised access to projects per user.
Implementation
At the moment, everything related to any project is hosted together in a single "collection" or "table". Authentication (in MongoDB) works on a per-collection level, so we'll make projects into collections and apply "privileges" there.

With #134 (even though locations are deprecated) are projects still each in their individual collection and as such allow customized privileges? If so, is this implemented?

This is technically implemented, what artists do today is they use that same login to mongo, and this login have access one or more databases.
The idea is to use an artists individual email for credentials, so they share one for email and ftracj too.


Update trace4cats-kernel to 0.12.0-RC1+188-05746b3c

Updates io.janstenpickle:trace4cats-kernel from 0.12.0-RC1+156-7ea07b63 to 0.12.0-RC1+188-05746b3c.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.janstenpickle", artifactId = "trace4cats-kernel" } ]

labels: library-update, semver-build-metadata

Superseded by #5.


Select next item after deletion and reduce code complexity

Resolved / Related Issues

Closes #8418

Details of Changes

Select the item following the matched item to be deleted

If the item was the last item, choose the item right before it

Reduce code complexity with selecting newly created items by reusing OnSelectionRequestedEvent

(I did this PR awhile back)

Validation

[X] Built and ran the app

Screenshots (optional)

Quick note. This doesn't work when deleting items in the Recycle Bin.
We handle things slightly differently there.
Did we want this feature there as well?

Quick note. This doesn't work when deleting items in the Recycle Bin. We handle things slightly differently there.
Did we want this feature there as well?

It would be best to have the same behavior in recycle bin

Creashed for me when deleting a bunch of files at once:

System.ArgumentOutOfRangeException: 'This collection cannot work with indices larger than Int32.MaxValue - 1 (0x7FFFFFFF - 1).
Arg_ParamName_Name'

Issue could be on main as well, I'll check.

Does not happen always and I don't see how it's related with the changes in this PR, but appears ok on main. Can you reproduce?

I cannot seem to reproduce this issue in my branch nor in main.

Does this occur in the Recycle Bin or any ordinary directory?
How much is a "bunch" of files -- do they include folders?


DsComTypeLibraryEmbedAfterBuild and _DsComExportTypeLibraryAssemblyFile

Hi,
I'm trying the new EmbedTypeLibrary feature that sounds very promising.
My project has a BaseOutputPath to a custom directory and so I have in my project

< BaseOutputPath>D:</BaseOutputPath>
< _DsComExportTypeLibraryAssemblyFile>$(BaseOutputPath)</_DsComExportTypeLibraryAssemblyFile>

The problem is that dscom.exe is called with the right --tlbexport, but the wrong --embed parameter, pointing to the default OutputPath.
dscom.exe tlbexport "D:\x86\Release\net6.0\MyLibrary.dll" --embed C:\...\obj\x86\Release\net6.0\MyLibrary.comhost.dll --out "D:\x86\Release\net6.0\MyLibrary.tlb"" exited with code 1.

@bclothier can you take a look at this?

As I understand it, at this stage of the build, the .comhost.dll hasn't been yet copied to the output. That is why we use Microsoft's msbuild variable to get to the intermediate path:
https://github.com/dspace-group/dscom/blob/f997cefc2b5944be732e0429b98ba9953ce65678/src/dscom.build/dSPACE.Runtime.InteropServices.BuildTasks.Tools.targets#L56
Can you confirm that the file is present in the obj folder? If so, can you further verify that there is no errors embedding type library into the .comhost.dll by running the command manually.

Hmm, the thing is that dscom does not control the building of the *.comhost.dll; this is done by Microsoft during the build. All dscom does is embedding the type library into the built *.comhost.dll which as I mentioned is located in the obj folder at that stage but at the end of the build, it should be then copied into the output directory, which is again done by Microsoft and not by dscom.
This does not explain why you would get exit code of 1. Do you see any detailed error in your build output log?

Seems that I need to compile two times in row to get the .tlb embedded, can this be fixed?

ComHostIntermediatePath is created in _CreateComHost in Microsoft.NET.Sdk.targets.
This is part of CompileDependsOn. CompileDependsOn must be executed before Compile.
Compile is part of CoreBuildDependsOn, which is executed before CoreBuild, which itself is part of BuildDependsOn.
DsComExportTypeLibraryAfterBuild is executed after AfterBuild.
So, in theory, the ComHostIntermediatePath must exist.
Unfortunately _CreateComHost depends on CoreCompile, which it itself is a dependency to.
So, if I see this correctly, building twice here is desired by .NET SDK ...

I agree with closing this issue, but I think would be better to document this behavior somewhere


[Announcement] YCM 0.10.0 Released

YCM 0.10.0 was released today and is now available for download at: https://github.com/robotology/ycm/releases/.
Changes made since YCM 0.9 include the following.
Build System

YCM can now be included safely in another project using FetchContent.

Variables

The following varibales are no longer cached, since they should be set from the project maintainer, and not by the user:

YCM_USE_CMAKE_<VERSION>
YCM_USE_CMAKE_NEXT
YCM_USE_CMAKE_PROPOSED
YCM_USE_3RDPARTY
YCM_USE_DEPRECATED

The YCM_USE_CMAKE can now be used to disable simultaneously all the YCM_USE_CMAKE_<VERSION>, YCM_USE_CMAKE_NEXT, and YCM_USE_CMAKE_PROPOSED variables.

Modules
Generic Modules

The InstallBasicPackageFiles module learned to forward the ARCH_INDEPENDENT option to write_basic_package_version_file.
The IncludeUrl module no longer uses locks.
The InstallBasicPackageFiles module no longer looks for the Config.cmake.in in the root directory, only current source directory is supported.
The YCMDefaultDirs module default dirs now use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR.
The YCMDefaultDirs module is now deprecated.
The InstallBasicPackageFiles module no longer needs FIRST_TARGET when used with EXPORT. Using FIRST_TARGET is deprecated.
InstallBasicPackageFiles: the TARGETS, TARGETS_PROPERTY, and TARGETS_PROPERTIES arguments are deprecated.
The AddUninstallTarget module must now be included in your main CMakeLists.txt. If included in a subdirectory it does nothing.
This allows you to use it safely in your main CMakeLists.txt and include your project using add_subdirectory (for example when using it with FetchContent).
The AddUninstallTarget module no longer tries to add the uninstall target if the target it already exists, instead it does nothing.
InstallBasicPackageFiles: The list of targets is no longer used to decide whether PRIVATE_DEPENDENCIES should be enabled or not (only the BUILD_SHARED_LIBS variable is used).
Dependencies for STATIC, OBJECT, and INTERFACE libraries should be passed as DEPENDENCIES instead.
InstallBasicPackageFiles: The NO_COMPATIBILITY_VARS option is deprecated. The compatibility variables are no longer generated by default, and their generation is broken when using EXPORT. If required, it is possible to re-enable it using the ENABLE_COMPATIBILITY_VARS option (deprecated) or define them using either INCLUDE_FILE or INCLUDE_CONTENT (recommended).
InstallBasicPackageFiles: Fixed malformed find_package() when a package dependency had a required version, for CMake older than 3.9.
The InstallBasicPackageFiles module now considers a relative EXPORT_DESTINATION as relative to CMAKE_CURRENT_BINARY_DIR instead of CURRENT_BINARY_DIR.
InstallBasicPackageFiles: Fixed export destination when EXPORT_DESTINATION is an absolute path.

Superbuild Helper Modules

The YCMEPHelper module now supports the CMAKE_CACHE_DEFAULT_ARGS argument.
The YCMEPHelper module supports the SOURCE_SUBDIR argument. The CONFIGURE_SOURCE_DIR argument is now deprecated in favour of SOURCE_SUBDIR.
The YCMEPHelper module now passes the variable CMAKE_TOOLCHAIN_FILE to the children projects.
YCMEPHelper: The CMAKE_PREFIX_PATH list passed to the subproject now has the first element the installation directory of the superbuild. This is to ensure that if a package is available in the system but it is disabled using USE_SYSTEM_<package> set to OFF, the version installed by the superbuild is the one found by the other packages in the superbuild.
The YCMEPHelper module now adds subproject to the main install target, if they provide a cmake_install.cmake file in their build directory. This file is automatically provided by CMake for projects installing at least one file. This feature should be considered experimental and might be modified or removed in the future. Please note that non-relocatable file will contain the path for the project installation (i.e. the path to the install folder inside the superbuild binary directory), not to CMAKE_INSTALL_PREFIX.

Find Modules

The FindLibOVR module now works properly with VS2015.
The FindPortAudio module should now detect the library installed by vcpkg.
The FindPortAudio module now handles debug and release libraries.
Import FindI2C module from YARP Git Repository.
The FindACE module now creates the ACE::ACE and ACE::ACE_INLINE imported targets. The ACE_ADDR_HAS_LOOPBACK_METHOD and ACE_COMPILES_WITHOUT_INLINE_<CONFIG> are now deprecated.
The FindQt3 module is deprecated in favour of one from CMake.
Added Findassimp module to locate the Open Asset Importer Library (assimp).
Added FindGLM module to locate the OpenGL Mathematics (GLM) library.

CMake Next

Updated to CMake v3.14.0 + commit e67e4dbaadf3583d665fb5409b425e1a238d9748.
Imported FindDoxygen module from CMake 3.9.
Imported WriteBasicConfigVersionFile and CMakePackageConfigHelpers modules from CMake master, to support the ARCH_INDEPENDENT option in write_basic_package_version_file.
Imported FetchContent module from CMake 3.11.
Imported FindOpenGL module from CMake 3.10.
The ExternalProject module was updated from CMake next. All the customizations were removed, with the exception of the git deleting clones fix.
The FindGlew module is now dowloaded from CMake master.

3rd Party

Imported FindGObject module from qt-gstreamer Git Repository + some unmerged changes from robotology-dependencies fork.
Imported CMakeRC module from CMakeRC Git Repository.
Update Catch2 Git Repository to commit 4902cd721586822ded795afe0c418c553137306a + some unmerged changes from robotology-dependencies fork.
Imported UseLATEX module from UseLATEX Git Repository.

@drdanz the hash id for ExternalProject.cmake needs to be updated, file(DOWNLOAD) reports errors after this commit.

Fixed, thanks.
I will release 0.10.1 in a couple of days


Allow date fields to have empty values

I have date fields which require to have empty values. For example I need to import books which may not have the publicationDate available. When I import and the value is "" it adds current date.
I would appreciate if someone could suggest a quick hack, as I need to import products asap.

Fixed in the latest master.


main.go: Remove sleep during shutdown

I amended the commits with the markups (since they were small). PTAL @gunjan5


release kubekey v1.2.1-rc.1

What does this PR do?
Release KubeKey v1.2.1-rc.1

Hi @LinuxSuRen !
This is my first time to use ks-version. I don't know if this PR is correct. Please help me to review it.

@LinuxSuRen Hi，Can @24sama  and I both be owner ?

@LinuxSuRen Hi，Can @24sama and I both be owner ?

Of course.


Need autoconfig

there is no autoconfig versions comp with 1.20+

This mod is compatible with cloth config api.
https://modrinth.com/mod/cloth-config
I am not familiar with a mod called "autoconfig". Can you provide a link?


Modal Dialog problems with Bootstrap 4 Alpha 6

Modal Dialog can not be opened with bootstrap 4 alpha 6.Please tell me how can I solve this problem ? Thanks

add <script>window.__theme = 'bs4';</script> on top of index.html body

I need to provide a smarter way of theme switching >.<

Thank you for your attention.I will wait for your new updating about this problem.

Try a hack I have provided above, it works for me :)

So what's the reason why that hack works?  I was having an issue with the modal not visible until I added that hack.  With it, the modal shows just fine now.

@pdenomme it is not actually a hack, this is was a temporary solution to switch themes in ng2-bootstrap
in ng1 it was much easier

ok, thanks for the info.


Refactor Effort: Objects

Related to #537
We should consider a major refactoring effort to utilize objects instead of passing strings all over the place.

Thomas is taking a look at this, see http://chat.stackexchange.com/transcript/message/36009471#36009471.

https://github.com/Charcoal-SE/SmokeDetector/tree/classes_refactor is relevant.   I've currently started working on the "Post" object, and additional refactoring going forward will be necessary.

Thanks to @Undo, we've merged a refactorization that uses a custom Post object for passing posts around.  So far, it looks to be working.  If there's any failures, we can revert the merge.
Other than the use of the Post object, what other 'objects' do we need to consider refactoring around to pass between functions?

Feedback could be model-ified, but it's a lower priority item in my mind. Getting posts figured out is a huge thing, thanks!

Subtask: #595 - Replace PostData from apigetpost.py with the Post object in classes/Post.py

We can track subtasks of the Refactor here: https://github.com/Charcoal-SE/SmokeDetector/projects/2


⚠ Bofrost.de has degraded performance

In 97dcc01, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1292 ms

Resolved: Bofrost.de performance has improved in e672b3c after 27 minutes.


Always escape shell arguments before mail()

Pretty much agree with the patch, but I'm cracking my whip about test changes that need to be made.

I'm doing it one-file-at-a-time because I'm using github.com, but sure :)

Some existing tests will also need fixing. I will try prioritizing this today, as it kinda looks bad :|

Yeah :\

Sorry, didn't get to it due to IRL issues. I'll work on it asap.

So, I picked this up, and an exception is fired very early on (while setting the From: on the Message object), so a different string needs to be forged in order to get to a reproducible failure.
As discussed with @paragonie-scott, this is not a security issue report, but just hardening the test suite and improving current reliability against the already reported CVE.

an exception is fired very early on

That means ZF2 is safe, given a typical usage. This is just defense in depth. :)

@paragonie-scott the fact that the shell arg escaping is not applied is still bothersome, so the test should indeed verify the exception as it does before paragonie-scott/zend@7551343, but with a different escape sequence (valid domain, valid mail, shell escape).
One possible approach I can think of is to mock the Message object (so we verify that even if you want to hurt yourself, the Sendmail adapter will not allow you to do so)

I'm really not sure how to do fancy stuff with object mocking in unit tests. :\
It looks like the underlying issue was reported previously as ZF2016-04, but the fix was incomplete.

Hey, @paragonie-scott — I've pushed a commit to your branch that performs the testing that @Ocramius suggested. If travis looks okay (minus expected issues with the zend-servicemanager compat tests), I'll merge this today.
Thanks!


README: add installation with the nix package manager

cloudctl is now packaged as nix package. Added description to README.md.
see https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/admin/fits-cloudctl/default.nix

Hi Jörn, welcome back and thanks for the contribution !!