Add proposal for crypto building block

Ported from dapr/dapr#4508

Should subtle crypto ops be available via dapr CLI?

I don't see why not. But keep in mind the high-level ops are probably going to be gRPC-only.

This might conflict with our criteria to make APIs stable, in guaranteeing they have both gRPC and HTTP implementations. @mukundansundar do we have that listed in API maturity criteria right now?

Should subtle crypto ops be available via dapr CLI?

I don't see why not. But keep in mind the high-level ops are probably going to be gRPC-only.

This might conflict with our criteria to make APIs stable, in guaranteeing they have both gRPC and HTTP implementations. @mukundansundar do we have that listed in API maturity criteria right now?

@yaron2
Currently in the API guidelines the requirements for a new API are for proposals

Proposed contract for the API

HTTP and gRPC APIs should be consistent in behavior and user experience.

further below for Alpha APIs

Both HTTP and gRPC protocols should be supported for the new API

Both of these are recommendations that they should be consistent and supported. Not a strong requirement.

This might conflict with our criteria to make APIs stable, in guaranteeing they have both gRPC and HTTP implementations. @mukundansundar do we have that listed in API maturity criteria right now?

Note that subtle operations are supported for both and what I am writing below ONLY applies to the high-level encryption/decryption APIs
The rationale for only supporting gRPC is in the proposal:

These APIs will only be available over gRPC, because they will work over a stream of data from the client. An HTTP implementation would require keeping the entire message in-memory, which is not acceptable.

Imagine the situation where you're encrypting (or decrypting) a very large file (multiple MBs or GBs). If you were to do that via HTTP, you'd have to send your entire blob to the runtime, then wait for the runtime to process it, and then read the response back. Even in the best-case scenario, where the runtime flushes the data as soon as it's processed, you still have an amount of data equal to the length of the message in memory at some point.
Using gRPC we are able to use 2-way streaming. The Dapr SDK would chunk the data and send each chunk to the runtime. The runtime processes the chunk and sends it back (encrypted or decrypted). The runtime will never need to keep in memory more data than the size of a chunk (64KB in the proposal for the high-level encryption scheme). That's MUCH better than possibly holding GBs in memory. The Dapr Encryption Scheme proposed verifies the data chunk-by-chunk, so even during decryption, we are never flushing un-verified data to the caller and this is considered safe.
So my point on not supporting HTTP is essentially to protect users from themselves, as there will be the temptation of sending large files over HTTP and that will cause memory issues.

This is not a problem for subtle APIs because they're not meant to be used to encrypt large chunks of data. In some cases it's not even possible (e.g. when using RSA you're limited to a handful of bytes).

PS: The guidelines use should to indicate that both HTTP and gRPC should be supported, but it's not a strict requirement. During discussion, we highlighted a bunch of scenarios where it would be not advisable to support both protocols, and I believe this is one of them (most scenarios involved the need for streaming)

I support this.

I support the introduction of this building block

@johnewart and I had a review with the "crypto board" at Microsoft to advise on the design of the high-level encryption scheme. Overall we got approval from them, albeit with some small tweaks. I have applied a few of them already, and will complete the work by EOW.
The crypto board did not comment on the APIs being exposed, as that's purely a Dapr decision, just the design of the encryption scheme, the keys and algorithms used, etc.

Completed updating the document with feedback from the crypto board. The change was in the headers of the Dapr encryption scheme, which is now a JSON object that covers both the "plain-text" header and the "binary" header.

One more point, we need a reference to the encryption key in the high-level API's payload, so old data can be decrypted after key rotation. Asking users to manage key rotation would make the high-level API not as useful.

The same key could have different names when stored locally and when in Azure Storage

Why the reference to Azure Storage specifically?

Why the reference to Azure Storage specifically?

Sorry, that was a lapse. I meant Azure Key Vault, and fixed my message now

@artursouza I thought more about your ask to include the key ID into the manifest, and how I could make that work, and I am still not convinced.
I could find 3 problems:

"Hardcoding" the key name makes the solution not portable. Users would not be allowed to switch where the key is stored, for example migrating from a K8s secret to Azure Key Vault, or vice-versa.
Especially when using asymmetric ciphers, it should be totally acceptable for the keys to be stored in different places. For example, app A only encrypts messages, so it only needs the public part of the key: that can be stored in a JWKS document retrieved from a URL. While app B which can decrypt messages needs the private part, which may be stored in a vault.
The key's name in vaults is not necessarily stable. For example, in Azure Key Vault each key can have multiple "versions", and each version could have the same key or a different one. We support this in Dapr Crypto, by allowing specifying the key version after the name, for example mykey/version1 (versions in AKV are actually SHA hashes, so not something the user can type). If you don't specify a version, it defaults to latest. This causes two issues:

If the latest version is "version1": mykey, mykey/latest and mykey/version1 all map to the same key.
mykey/latest and mykey are possibly moving targets: they do not necessarily identify one specific key.
We can implement a "resolver" that converts "latest" to a specific version, but that requires performing an extra network call which is very slow.

Thoughts? If not, are we ok to get this proposal officially approved?

The only thing is to use the new names instead from the thread we had.

The change is in place:

decryptionKey
omitDecryptionKeyName

FYI I have made a small change to the proposal to clarify the algorithms support for key wrapping in the high-level scheme.

Explained that AES-KW will require using 256-bit keys. This is because our file key (that will be wrapped) is 256-bit in length, and AES-KW thus requires using 256-bit wrapping keys too (this is per RFC 3394)
Removed AES-GCM-SIV which was listed as a "maybe", and will not be implemented in the near future. No vault supports it, it's not implemented in the "local crypto", and it was not recommended by the MS crypto board during the review.

+1 binding


Build request

For those of us without Go installed, is it possible for you to release executable versions of the programme (say for Windows and Linux); e.g. as per:
https://www.digitalocean.com/community/tutorials/how-to-build-go-executables-for-multiple-platforms-on-ubuntu-20-04

Updated title. Created a better server and installed it on digital ocean. Posted the URL to the warp wars group.

@gamesbook - will https://groups.io/g/warpwar/message/3342 work for you?

If that doesn't, I can build releases. Just have to decide how and where to store them. I don't like putting binaries in git.

Looks fine to me.  Will you add the direct link (https://wraith.dev/wow/) to the readme?


Tab headers not automatically resized

Steps to reproduce:

Open Dragablz.sln solution.
Open CustomHeaderViewModel.cs
Add the following code at the bottom of the setter of the IsSelected property.

Header = value ? "ABCDEFGHIJKLMNOPQRSTUVWXYZ" : "123";

Build and run demo project.
In the "Simple form of bound tabs", click on the header with the checkbox.
The tab headers are no longer properly organised. Initiating a drag operation eventually brings it back to normal.

Thanks!

Good spot :)

Fixed.


Composer Dependency

First, pass to add dependency inside of composer.
Dependency:

Parsedown and Parsedown extra
SCSS
Emogrifier
Spyc
PHPUnit

Fixes #331
Fixes #337

@lyoshenka this looks good to me. Can you review to see if there are any server or ansible related changes?

lgtm. you're gonna have to rebase this and use PHPBIN in dev.sh (see the latest dev.sh in master)

@lyoshenka @kauffj  This is ready to be merge.

@lyoshenka @maximest-pierre LGTM, leaving to you to merge in case there are any environment / deployment considerations.

@maximest-pierre please rebase your changes onto master. see https://github.com/lbryio/lbry/wiki/Branching-and-Merging


I can't find the main network node or the block browser

Summary
I can't find the main network node or the block browser
Link of where change is needed
No response
Rationale
No response
Positive Consequences
No response
Negative Consequences
No response
Neutral Consequences
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @COLUD4 could you please let me know what you mean by "main network node"? Our network does have nodes online.

I can't find the public node of Cheqd, the execution of the node I built stops at this point. Here is the data for viewing status.
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "node_info": {
      "protocol_version": {
        "p2p": "8",
        "block": "11",
        "app": "0"
      },
      "id": "96816f8bd8ea278ccaf6dc3694bcc1f8b77713b2",
      "listen_addr": "tcp://<IP_ADDRESS>:26656",
      "network": "cheqd-mainnet-1",
      "version": "0.34.14",
      "channels": "40202122233038606100",
      "moniker": "MainNode15",
      "other": {
        "tx_index": "on",
        "rpc_address": "tcp://<IP_ADDRESS>:26657"
      }
    },
    "sync_info": {
      "latest_block_hash": "46845A0ED9EAB8DF0B233C31B53A6136A1A2F7DBEC2BFF94D70B66CF39EC6CBD",
      "latest_app_hash": "3306FDD4D2623342F98AF63AFF2AC87AFD89B9DF389D49BC38B1D7FD0FDAB1B7",
      "latest_block_height": "13125",
      "latest_block_time": "2021-11-17T14:03:57.382939451Z",
      "earliest_block_hash": "0807591DC707E402465A6F4E7767FD8166279D6363D91A231F75F5B6DF2086C3",
      "earliest_app_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
      "earliest_block_height": "1",
      "earliest_block_time": "2021-11-11T14:47:05.733203Z",
      "catching_up": true
    },
    "validator_info": {
      "address": "8000BB519697392A90DB62055E229BC8A1A351B7",
      "pub_key": {
        "type": "tendermint/PubKeyEd25519",
        "value": "FUKx9d9FYkgiqezoL7/gvY6ecMbM8JQ4ib57VSlW3Cg="
      },
      "voting_power": "0"
    }
  }
}
发自我的iPhone
------------------ Original ------------------
From: Ankur Banerjee @.>
Date: Fri,Nov 19,2021 10:56 PM
To: cheqd/cheqd-node @.>
Cc: bigcloud @.>, Mention @.>
Subject: Re: [cheqd/cheqd-node] I can't find the main network node or theblock browser (Issue #229)
Hey @COLUD4 could you please let me know what you mean by "main network node"? Our network does have nodes online.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Hey @COLUD4 could you please let me know what you mean by "main network node"? Our network does have nodes online.

Can you provide public nodes?

0:07AM ERR error while stopping peer error="already stopped" module=p2p

问题已经解决了， 原因是max_packet_msg_payload_size=1024。 它太小了

Our public RPC endpoint is https://rpc.cheqd.net, however you shouldn't need this during the build/install process.

I'll close this issue for now as I hope the RPC endpoint above gives you the node details/API you need, but please do let me know in case it needs to be re-opened.


Web of trust STS

With cross-account STS-based authentication backed by SAML, this WoT failed to execute as the the two Arn's would never match. (The principal and the provider are not in the same account, by design.)
Here, we replicate the same behavior as before, but also add a fallback model of ensuring we actually trust the origin and target accounts. This allows WoT to graph the unidirectional trust for further inspection.
Additionally, web/style.json now includes labels to better understand what the colors mean at a glance. While this data is also available here, it's easier to share the WoT graph with all data present.
Lastly, ensured that any elasticsearch instance without an attached AccessPolicy be marked as ES_PUBLIC due to undocumented and unexpected behavior. Normally, AWS does not allow you to create a policy-less ES cluster, but there appears to be a way to create this state using the terraform provider.

LGTM. Thank you @cbeltranbird! @steiza This can be merged.


ERROR ~ Empty header columns are not allowed in CSV file

Description of the bug
While running the workflow I got the following error.
ERROR ~ Empty header columns are not allowed in CSV file
Command used and terminal output
nextflow run nf-core/multiplesequencealign --input samplesheet.csv --tools toolsheet.csv --outdir '/u1/kha060/sampleworkflowoutputs' -profile docker

Relevant files
No response
System information
No response

Hi @random-annoym, could you share an example of your samplesheet and toolsheet?
I think the error happens because you have empty header fields. If you do not want to provide an optional column, you can just leave it out, but not use the comma
e.g.
id,fasta,
will give an error,
id,fasta
will not :)
Let me know if that works and if I can help any further.


Scheduler Helm Chart not respecting HA replicas

In what area(s)?

/area scheduler

Scheduler Chart does not take into account if running in HA mode
What version of Dapr?

1.14

Expected Behavior
When in HA mode it should follow other charts and use the global.ha.replicas.
At some moment they should also be allowed to be independent (like running with HPA)
Actual Behavior
The only replicas values use is the one in the scheduler chart not following convention
Steps to Reproduce the Problem
install dapr in HA mode and see that there is only one replica for scheduler
Release Note

RELEASE NOTE:

/assign


libfive: 2018-07-01 -> 2019-08-05

Motivation for this change
Updating libfive to a newer version, closer to their last release.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@Hodapp87 I'm guessing the binary provided by this package is a graphical program utilizing qt, right? You should take a look at https://github.com/NixOS/nixpkgs/issues/65399.

Also, fix the merge conflicts.


Exception when using user secrets attribute on csproj file as suggested by Visual Studio auto formatting on paste.

From @Bartmax on March 28, 2017 17:45
Example 1:
<PropertyGroup>
    <UserSecretsId>xxx-xxx-xxx-xxx-xxx</UserSecretsId>
</PropertyGroup>

This works 👍

Example 2:
<PropertyGroup>
    <UserSecretsId>
        xxx-xxx-xxx-xxx-xxx
    </UserSecretsId>
</PropertyGroup>

This throws an exception: 👎

' found in 'userSecretsId' value at index '0'.ception: Invalid character '
at Microsoft.Extensions.Configuration.UserSecrets.PathHelper.GetSecretsPathFromSecretsId(String userSecretsId)

I found this because I copy/paste in Visual Studio and the text got auto formatted as Example 2.
Copied from original issue: aspnet/UserSecrets#108

@Bartmax Do you want to submit a PR to add a trim() ?


Fixed yii\widgets\ActiveField to handle AJAX validation for inputs with changed IDs

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#7627

If ActiveForm::$enableClientValidation is set to false and ActiveForm::$enableAjaxValidation is set to true, than validation doesn't work no more because errors returned from the ajax validation are still formatted as {"model-attribute": ["Error"]}, but the attribute id in clientOptions is now set to customid, not model-attribute, so the script doesn't see the attribute errors in the response. I think the proper code in \yii\widgets\ActiveField::getClientOptions() should be:
$inputID = $this->getInputId();
$options['id'] = Html::getInputId($this->model, $this->attribute);
// not $options['id'] = $inputID

I'll tinker a bit with it and make a pull request if I'll find this working for both client and ajax validation.
Fix for the #7627 was already made by @dynasource and @cebe and the issue was closed, but it fixed only client validation while AJAX validation was left broken.

Looks good, but it's a tricky code and it will be good to cover it with tests. Could you do it, please?

Yes, sure.

Added tests and looked through yii.activeForm.js and yii.validation.js once again. It's all right now: id is used to identify error messages and is not changed when custom input id is set; input and container are used to find elements and are changed when custom input id is set.

Rebased on top of master.

Merged https://github.com/yiisoft/yii2/commit/8e856bbb5a13599835e8d8e3cc4d5fd9e6287ee1

Thank you!

this really breaks the client validation, if couple same models in one , i will post a bug


fix version check for major version changes

This is a 🐞 bug fix.

[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[x] The test suite passes (run bundle exec rspec to verify this)

Summary
Fix the version check for major version changes.
Context

Related #119
Fixes #118

How to Test
Switch to terraform version 1.0.0 and use terraspace.
Version Changes
Patch

Released in 0.6.11


Can Ocelot perform runtime routing?

I am looking to see if Ocelot will fill a criteria for me.
I have an infrastructure with a Gateway API that talks to several other identical APIs that are located in different sites. I need to route to the correct API based on the current users session.
i.e., a request from User A needs to be routed to the API of Company A, and a request from User B needs to be routed to the API of Company B.
The API end points that the Gateway needs to route to would be stored in a connected database.
My question is; Am I able to use Ocelot to catch an incoming request, look up the API endpoint from my database in C#, and route that request to that end point?
I can't store all my endpoints in the json file as they'd need to be changeable without manually editing files.

Hello, maybe with delegating handlers?
I'm using an handler to modify some parameters in the downstream route, according to user's reference.


separate the diocesan preset logic from the main script

Currently, as proof of concept, I have integrated a Diocesan preset for the Diocese of Rome, which alters the data produced by the Universal Calendar and the Italian calendar approved by the CEI (Italian Episcopal Conference) and published in the Italian translations of the Roman Missal.
These calculations should be made separate from the main script, so as to allow modularization for any diocese in the world. If it is possible to calculate the calendar for the Diocese of Rome in a separate script, using the flux of data from the main script, then it should be possible for any other diocese. This needs to be studied carefully...

pretty much introduced with commits such as 69044b7373b1ef7effefa54201ef4f923d202553 and 19962258e20dac49a668344a03a1be6cbfe4ad29 . I have the habit of multitasking so commits are often mixed with multiple contents... I'm sure there are other commits that handled this.
TODO: port the Diocese of Rome data from MySQL to the JSON format, and see how the UI interface can be made better based on this data

pretty much completed allowing for more complex diocesan data with on-the-fly adding of rows (such as is necessary for Rome diocesan data):

commit 704d2cbde5336429e5c3f96883cb2cb51f9918e4
commit 66b3323955600c3cf2bd301c17da26fcf8ea1fc5
commit ad751f103a2501afab55d7e673b7db934baf94e5
commit 3a7a3a6b363456b1c8e168138fa5745c6895e4d3
commit dea825bc3862caa5984f79b96b0146fc64cfb563
commit 12ac41e6472c74d75f9456fe1f5d6dd095cb605d and 57d9248aabed6d3b4c9a2a652d85929a4158725b
...


Add ec numbers to the database

Adding the ec numbers to the database by cherry picking commits from #560 and amending them.
Additions to the original commits:

make ec_numbers.id a small int
create a unique index on ec_numbers.ec_number
download the 2 small source files in the script to declutter the make file

Original pull request by @bmesuere on Thu Jun 09 2016 at 18:23.
Merged by @bmesuere on Mon Jun 13 2016 at 15:37.

@ninewise can you config-ify createEcNumbers.sh?
Original comment by @bmesuere on Thu Jun 09 2016 at 19:33.


Password Protected Archives

Is there any intent to handle password protected archives?

Yes,
This is tracked here: https://github.com/weichsel/ZIPFoundation/issues/25

Thanks, I stumbled across this after I submitted (sorry!).  My request aside, I think the work you’ve done is great and it’s working awesome in my project, thanks!

On Jun 16, 2018, at 9:49 AM, Thomas Zoechling<EMAIL_ADDRESS>wrote:
Yes,
This is tracked here: #25 https://github.com/weichsel/ZIPFoundation/issues/25
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/weichsel/ZIPFoundation/issues/71#issuecomment-397824953, or mute the thread https://github.com/notifications/unsubscribe-auth/AY3sB1CPHSRkPNHph9ONWOq6YT0Xx6bHks5t9TcvgaJpZM4UqhWW.

No problem. Glad you like it!


New branches for SS4 compatibility

Hi @nyeholt
I'm going to send you through a PR shortly for SS4 compatibility.
Would you mind creating either a new branch off master to direct the PR at, or branching master off to a version branch for the current, so that master can become SS4 compatible from now on?
Cheers!

Hi @robbieaverill - how closely does it overlap with https://github.com/silverstripe-australia/silverstripe-gridfieldextensions/pull/167 ?

@nyeholt it's based from those changes, so entirely :)

Master has been updated with a new framework dependency and new branch-alias.

Thanks!


"Downloads" count

I'd like to check a count of the package downloaded.
Packages in the pub don't have any informations to show us about which that package is the popular.

dart-lang/pub-dartlang/issues/164


Allow for multiple sample input and basecalled files as input

New Snakefile_dd_multiple_samples_fastq_input that allows the user to input multiple samples through the config file option file_names_txt, which is just a two-column text file with the column names Sample and filepath. This is nice since it takes advantage of Snakemakes' parallelizability. Also new Snakefile_dd_multiple_samples_fastq_input takes already basecalled .fq files as input; this may just be relevant to users that receive already basecalled .fq files from their sequencing facilities.  For now, this only works on long reads. I will add hybrid functionality in the next few weeks.

Hi @dadahan ，
Thank you, your commits is what exactly I want，but I am new to git, so how could I use your function, now I  can only use this software based on the wiki usage:
(1) git clone https://github.com/elimoss/lathe.git
(2) snakemake --use-singularity --singularity-args '--bind /labs/,/scg/,/home/ ' -s /path/to/lathe/Snakefile
--configfile path/to/modified_config.yaml --restart-times 0 --keep-going --latency-wait 30
Could you please give me some help
Looking forward to your reply

Thanks @dadahan, I'm doing some nanopore work again so this is a good start to some improvements I want to make!


[enhancement] Change editor background color when LoC changes

Feedback provided by @harrisjasmine (TL;DR'd):

The widget icon & text are nice, but they are very small and hard to notice while coding. It would be nice to have a more obvious visual indicator to the user that they are reaching the various 'LoC change points'.

@all-contributors please add @harrisjasmine for ideas, userTesting

@all-contributors please add @harrisjasmine for ideas, userTesting


Add Braintree to payments section

If the build passes, +looks-good.

That's awesome.
@mxxcon So do you always check the source code of websites?

I usually check sourcecode to see what kind of favicon a site uses and just get a general feel on site's competency. :)
Here their 32x32 favicon is different from what @jtdowney included. Not a big deal since both are pretty bland and I don't think warrant updating.


chore: add codespell action

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


encryped apikey is not decripted automatically when json format is used

in values.yml or config file for the pathPrefixAuths for api-key module. This would be a common problem for other configurations with map and list defined in json format in values.yml file. We might need to decrypt it in the config class when the value is set or get.
The test case in ApiKeyJsonConfigTest is disabled for now.

Also updated basic-auth and ingress-proxy to support sensitive info in the list or map.


Obvious question: what is the purpose of toastr?

I came across this package because it was briefly mentioned in a Pluralsight course. I saw it briefly used when the Pluralsight author was doing a think-aloud while developing a jQuery script and showing how to control DOM event bubbling. The toastr notifications were a convenient way to see that elements were triggered.
Is toastr something that is intended to assist in jQuery development? Is it meant for production? Is it a tool that is meant for anything and anywhere? Just trying to understand the purpose of this tool so that I can set some good learning habits for this tool.

We use it in our production e-commerce website, for in-page notifications. The site doesn't use Bootstrap, so we needed a small, lightweight alert tool. It works great for our limited use cases.


(fixup) update the smoketests for gh-7

This commit fixes up the smoke tests as a result of gh-7, where the
environment variables became real hashes, and not an array of hashes.
/cc @ody

:+1:

:+1:


when click on an image then another image is showing

when user click on an image then another image is showing, only starting images are in order. i think this is because of the videos

I want to work on this issue under JWOC. Assign it to me.

Ah single line of code will do the work ! I forgot to add in my previous pr. T_T


DNM: Read pac installation namespace from env

for fetching configmap, read pac installation namespace
from env, this would make pac work in any other ns other
than pipelines as code.
Signed-off-by: Shivam Mukhade<EMAIL_ADDRESS>
Submitter Checklist

[ ] ♽  Run make test lint before submitting a PR (ie: via pre-push github hook no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please make sure to document it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please make sure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then make sure to get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it.

See the developer guide for a bit more details.

LGTM, let's keep in there until infra is back from outage and we can make a minor release,

/retest

shall we also include https://github.com/openshift-pipelines/pipelines-as-code/pull/494?
in this release?

yes! can you add to this PR ?


Getting Started (Without Netlify) => showing error on console

Bug report

What is the current behavior?
After running the first command, the second command 'npm run build' shows an error message
If the current behavior is a bug, please provide the steps to reproduce.
edit the documentation, just cloning the project and running 'yarn' and then 'yarn develop' will solve the issue

What is the expected behavior?
It should have built as it says in the documentation.

Other relevant information:

Node.js version:  v14.15.1
NPM/Yarn version: npm ( 6.14.8) /  yarn (1.22.10)
Operating System:  MacOs - highSierra
Additional tools:

Same here. First time trying this out. Gets an error on build.
⠏ Building development bundle
warn ESLintError:
/Volumes/code/gatsby-netlify-test/src/components/Navbar.js
  48:13  warning  Visible, non-interactive elements with click handlers must have at least one keyboard listener  jsx-a11y/click-events-have-key-events
  48:13  warning  Static HTML elements with event handlers require a role                                         jsx-a11y/no-static-element-interactions

✖ 2 problems (0 errors, 2 warnings)

 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

$kaldi-red: #D64000
^
      Media query expression must begin with '('
      in /Volumes/code/gatsby-netlify-test/src/components/all.sass (line 5, column 1)

File: src/components/all.sass

failed Building development bundle - 19.600s
 ERROR  Failed to compile with 1 errors                                                                                11:11:11 AM

 error  in ./src/components/all.sass

Module build failed (from ./node_modules/gatsby-plugin-netlify-cms/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):

$kaldi-red: #D64000
^
      Media query expression must begin with '('
      in /Volumes/code/gatsby-netlify-test/src/components/all.sass (line 5, column 1)
    at /Volumes/code/gatsby-netlify-test/node_modules/webpack/lib/NormalModule.js:316:20
    at /Volumes/code/gatsby-netlify-test/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /Volumes/code/gatsby-netlify-test/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/Volumes/code/gatsby-netlify-test/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.callback (/Volumes/code/gatsby-netlify-test/node_modules/sass-loader/dist/index.js:89:7)
    at Object.done [as callback] (/Volumes/code/gatsby-netlify-test/node_modules/neo-async/async.js:8069:18)
    at options.error (/Volumes/code/gatsby-netlify-test/node_modules/node-sass/lib/index.js:294:32)

 @ ./src/components/Layout.js 17:0-20
 @ ./src/templates/blog-post.js
 @ ./src/cms/preview-templates/BlogPostPreview.js
 @ ./src/cms/cms.js
 @ multi ./node_modules/gatsby-plugin-netlify-cms/cms.js ./node_modules/gatsby-plugin-netlify-cms/cms-identity.js ./src/cms/cms.js```

I wound up using a different route to get the same result - https://www.gatsbyjs.com/docs/how-to/sourcing-data/sourcing-from-netlify-cms/
This was clean and easy to follow, and got me up and running quickly.


"Invalid Argument" running windows exe from btrfs filesystem

Version
Microsoft Windows [Version 10.0.22000.258]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) #1 SMP Wed Aug 25 23:20:18 UTC 2021
Distro Version
Ubuntu  21.10
Other Software
No response
Repro Steps
Running cmd.exe works fine:
$ sudo mkdir /mnt/test_btrfs
$ cd /mnt/test_btrfs
$ /mnt/c/Windows/System32/cmd.exe
... works fine...

If I create a btrfs loopback filesystem and run cmd.exe from it, that fails:
$ dd of=/tmp/btrfs.img bs=1GB count=0 seek=1
$ mkfs.btrfs /tmp/btrfs.img
$ mount /tmp/btrfs.img /mnt/test_btrfs
$ cd /mnt/test_btrfs
$ /mnt/c/Windows/System32/cmd.exe
/mnt/c/Windows/System32/cmd.exe: Invalid argument

This does not happen for other filesystems, e.g if I do the same thing with a loopback ext4 filesystem it works.  I can run something like code /path/to/btrfs, as long as cwd is on ext4.
Expected Behavior
I can run windows exes regardless of which filesystem backs cwd.
Actual Behavior
See transcript in "repro steps"
Diagnostic Logs
No response

If I strace cmd.exe I see it call getcwd() and then read /proc/self/mountinfo right before exiting, which seems relevent:
getcwd("/home/adam", 4096)              = 11
open("/proc/self/mountinfo", O_RDONLY)  = 3
readv(3, [{iov_base="", iov_len=0}, {iov_base="54 43 8:32 / / rw,relatime - ext"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="4 / /sys/fs/cgroup rw,nosuid,nod"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="\n106 85 0:53 / /sys/fs/cgroup/ne"..., iov_len=1024}], 2) = 1024
readv(3, [{iov_base="", iov_len=0}, {iov_base="4 0:64 / /home rw,relatime - btr"..., iov_len=1024}], 2) = 393
readv(3, [{iov_base="", iov_len=0}, {iov_base="", iov_len=1024}], 2) = 0

I realized I forgot to include the mount command in my repro steps, have updated now.  Though it doesn't change anything you did.
One thing I noticed is that if I try to navigate to this directory ("\wsl.localhost\Ubuntu\mnt\test_btrfs") via Windows Explorer I get this error:

@benhillis is there an issue tracking those other \wsl.localhost bugs?

@benhillis is there an issue tracking this?

This seems to have been fixed.


Extending standalone with more parameters

This version of the standalone.js supports settings hotSpotDebug, compass, autoRotateInactivityDelay, autoRotateStopDelay, authorURL, showZoomCtrl and showControls

Thanks, but I am hesitant to add any additional URL parameters. You can set all of these in the standalone viewer by using a JSON configuration file.
Unless you can provide a compelling reason why these parameters should be URL parameters instead of requiring a JSON configuration file, I'm going to close this pull request.

If there is already the interface to configure the panorama via the URL, there should also be the possibility to make settings like the display and hiding of the compass.
For some applications, such as SharePoint SPFx webparts, implementation via standalone is easier.

There is the possibility to set these in the standalone version, via a JSON configuration file:
URL:
pannellum.htm#config=configuration.json
configuration.json:
{
    "hotSpotDebug": true,
    "compass": false
}

It is ok if you don't want to add the parameters. For my application case writing in a JSON file was not possible.

I'm generally not keen on adding additional parameters, so I'm going to close this.


[Event Request] codeunit 5940 "ServContractManagement" - Event for procedure CreateServiceLedgerEntry

We'd like to have an event in "ServContractManagement".
procedure CreateServiceLedgerEntry(ServHeader2: Record "Service Header"; ContractType: Integer; ContractNo: Code[20]; InvFrom: Date; InvTo: Date; SigningContract: Boolean; AddingNewLines: Boolean; LineNo: Integer) ReturnLedgerEntry: Integer
begin
[...]
                    if (ServContractLine."Contract Expiration Date" >= InvFrom) and
                        (ServContractLine."Contract Expiration Date" < InvTo)
                    then
                        InvTo := ServContractLine."Contract Expiration Date";
                    ServLedgEntry."Service Item No. (Serviced)" := ServContractLine."Service Item No.";
                    ServLedgEntry."Item No. (Serviced)" := ServContractLine."Item No.";
                    ServLedgEntry."Serial No. (Serviced)" := ServContractLine."Serial No.";

                    OnBeforeSetServLedgEntryAmounts(ServLedgEntry, ServContractLine); //NEW

                    LineInvFrom := CountLineInvFrom(SigningContract, ServContractLine, InvFrom);
                    if (LineInvFrom <> 0D) and (LineInvFrom <= InvTo) then begin
                        SetServLedgEntryAmounts(
                            ServLedgEntry, InvRoundedAmount,
                            -CalcContractLineAmount(ServContractLine."Line Amount", LineInvFrom, InvTo),
                            -CalcContractLineAmount(ServContractLine."Line Value", LineInvFrom, InvTo),
                            CalcContractLineAmount(ServContractLine."Line Cost", LineInvFrom, InvTo),
                            CalcContractLineAmount(ServContractLine."Line Discount Amount", LineInvFrom, InvTo),
                            Currency."Amount Rounding Precision");
                        [...]
                    end else
[...]
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeSetServLedgEntryAmounts(var ServLedgEntry: Record "Service Ledger Entry"; ServContractLine: Record "Service Contract Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Scope fix

The didError method was called in wrong scope on XHR error

Whoops, thanks for fixing that!


Install dryrun without ruby gem tool

Can I install dryrun downloading the source code and adding it to my PATH?

Yep, totally 👍


remove duplicate pr diagnostics

Purpose

To-do

Content

[ ] I have read and checked the items on the review checklist.

Is pr always defined for EquilMoistModel, NonEquilMoistModel ?

Is pr always defined for EquilMoistModel, NonEquilMoistModel ?

Yes


heading or h tag in HTML

Description of  the change
Describing heading or h tag in HTML by adding a new file as Html_headings.md
Domain of Docs

[x] HTML
[ ] CSS
[ ] JavaScript
[ ] Bootstrap

Are you contributing under any open-source program?
hacktoberfest

Assigning this to you🎊🎊🎊🎊. This is a documentation project.  Please refer to merged prs.

Thanks


Detect first vowel in name?

Can the library be used to detect the first vowel sound in a give name.
For example :
input "ESTHER" is output "EA"
input "COWLDRY" is output "OW"
Thanks 🙏

@sengiv Hello, no, this is not a G2P library. You might want to look into that instead.


[bug] footer: reduce the spacing beneath the primary footer nav / language switcher to match the xd

The issue is that rh-footer-block is meant to have free-form HTML content.  When that content contains margin then it messes with the spacing.  A possible solution is to target the last child of the last rh-footer-block item in the sidebar and set it's bottom margin/padding to 0.
What I Did

 content removes top/bottom margin for :first-child / :last-child respectively
Corrected the margin between the sidebar content and the global-footer on Tablet, landscape breakpoint (64px)

Code Review

[ ] https://github.com/RedHat-UX/red-hat-design-system/commit/496faa91de5f650f9022d5e71a49f921873166fe

Testing Instructions

Visit https://deploy-preview-491--red-hat-design-system.netlify.app/components/footer/demo/
Ensure that the "Select a Language" block is 32px away from the global footer and 64px above a 992px breakpoint

Screenshots

Looks good. Confirmed the "Select a Language" block is 32px away from the global footer, and 64px above at 992px.


Kut Package Manager

I writing an package manager for your language. What informations are important on the package structure in your language ?
Cordialy

Hi @mcfriend99 .
Thank you for your answer and your indications concerning the structure of the packages. The kut project aims to become the official package manager for the language. I chose to write it in Rust for ease and speed of execution. The project will be built little by little to get a good result. The project (in development) can be found on my profile.
I wish you a good evening.
Sincerely.


Rust upgrade (seems to need a Clone with a Copy).

Rust seems to need this now.
rustc 1.0.0-nightly (d17d6e7f1 2015-04-02) (built 2015-04-03)

Woot!

Released as 0.3.4, cheers!

100 commits.   = ))


'taskkill' error when close browser

Steps to reproduce
I'm a new user of puppeteer, I started by testing the examples provided puppeteer/examples/.
I copied puppeteer/examples/screenshot.js and i run it with node screenshot.js
Tell us about your environment:

Puppeteer version<EMAIL_ADDRESS>Platform / OS version:  windows 64

What is the expected result?
The code create a screenshot and then close the app
What happens instead?
The screenshot is created but I have this error :
'taskkill' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
(node:38232) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Command failed: taskkill /pid 43932 /T /F
'taskkill' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.

(node:38232) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Can you help me fix this issue?
Thank you

How come your Windows doesn't have the taskkill utility?

Yeah, this seems to be an issue with windows distribution: taskkill is normally available.

It is strange but my Windows doesn't have the taskkill utility.. I migrated my developments on linux to avoid this problem

What version of Windows was it?

Windows 7
Copyright 2009 Microsoft Corporation
Service Pach 1

To everyone who is struglling to run it on windows, I noticed that windows throws the error that "taskkill is not an internal or external command" only if you are running your node app from non windows command line application.

So to make it work, just run your project using CMD or Power shell.

So it might make sense for Pupetteer to try running C:\Windows\System32\taskkill.exe instead of just taskkill then. Let's reopen the issue, shall we?

@thorn0 Yes, if puppeteer can intelligently decide how to run taskkill irrespective of the command line tool its running on, then that would be really appreciable. In fact that is what we expect from such a large enterprise backed library. I suggest to reopen for further fix on it.

Usually nobody checks closed issues, so if there's no reaction, please open a new one.

To everyone who is struggling to run it on windows, I noticed that windows throws the error that "taskkill is not an internal or external command" only if you are running your node app from non windows command line application.

So to make it work, just run your project using CMD or Powershell.

Running Powershell as admin (not as non-admin) worked for me running pa11y.


Improve HDL deciphering

Improve deciphering when unit calls decipher to also pass in entity name to know when to start parsing if multiple entities exist in same file (also possibly pass architecture name if defined in dependency call). Improve Units class by adding more sub classes to store the data on first decipher of source file so code is only parsed once per file. This will allow for easier cross-over when using 'port' command to switch code from '-verilog' and '-vhdl'.

major-refactor branch has had a total overhaul for VHDL and Verilog deciphering/analyzing. Verilog methods still have a little functionality left to implement to catch up to VHDL.

major-refactor branch has implemented verilog and vhdl functionality for transforming code into list of its code statements.


Error: NativeScript debugger was not able to get inspector socket port.

When I try to debug with VSCode for iOS on emulator, I get the following error:

[NSDebugAdapter] Ready to attach to application on /var/folders/8g/y0qh4rsj05x9fml7snq4_9g91zr2y0/T/11858-16790-appah0.bpf0t.sock
Suppressing debugging client.
[NSDebugAdapter] Connection to target application established on /var/folders/8g/y0qh4rsj05x9fml7snq4_9g91zr2y0/T/11858-16790-appah0.bpf0t.sock
[NSDebugAdapter] Connection to target application successfully enabled
Frontend client connected.
Error: NativeScript debugger was not able to get inspector socket port.
at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at IOSDebugService. (/usr/local/lib/node_modules/nativescript/lib/services/ios-debug-service.js:232:30)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/nativescript/lib/services/ios-debug-service.js:4:58)
at
[NSDebugAdapter] The tns command finished its execution with code 120.

I'm testing with:

VSCode 1.24.0
{N} CLI: 4.1.0
{N} iOS Runtime: 4.1.0

Same here.

Same here, restarting it sometimes works, sometimes don't.

Error: NativeScript debugger was not able to get inspector socket port.
at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at IOSDebugService. (/usr/local/lib/node_modules/nativescript/lib/services/ios-debug-service.js:232:30)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/nativescript/lib/services/ios-debug-service.js:4:58)
[NSDebugAdapter] The tns command finished its execution with code 120.

Same here

Hope this error be fixed soon~!

The problem can be reproduced with this application https://github.com/NickIliev/NS-Issues-2018-II/tree/master/NativeScript/issue-6011

I think that the attach can work well.

I think the it should be a side effect of {N} CLI: 4.1.0. And, it should be fixed with https://github.com/NativeScript/nativescript-cli/commit/55b5813c7837200c624ff634ec57f3c0e343bd3f#diff-3ea8e9be6fce663fc286a4462786a297.
Maybe we can wait for another release of {N} CLI.

Still happens with tns --version  4.2.0

I think that it should emit a new event like "readyForOpeneInspector" in the function "configureReadyEvent" which is raised until waiting for "NativeScript debugger has opened inspector socket on port ...".

Hey guys,
Can you please try the latest CLI's rc version. You can install it by executing:
npm i -g nativescript@rc

We've applied several fixes that should resolve this issue.

@rosen-vladimirov great suggestion! Setting --timeout 60 fixes the issue for me. To answer your last question, I was seeing the issue on a simulator. I haven't recently tried to debug on a device.
Do you think increasing the timeout is the actual solution, or is it a workaround for an underlying issue? (Since I didn't need it until recently) In any case, I'll provide the timeout arg for the time being, so thank you for the idea!

@rosen-vladimirov I can confirm that the problem still happens with 4.2.3.

I previously posted that I was able to workaround this by passing the —timeout arg, but I was wrong as the problem still occurs regularly. I can confirm it still exists with NS v5.
It’s a pretty major issue. JS development is tedious without a working debugger. Any ETA on a fix?

Same issue here. I updated to v5 hoping it would allow attach to debugger but still keep getting
Unable to apply changes on device: B556BF08-1C56-4B2E-93B9-209ACB8E851F.
Error is: Unable to find free local port..

I recently installed Visual Studio Code and the NativeScript extension. I'm getting this inspector port error - Consistently All The Time. Is there any new information or a workaround for this problem?
I'm evaluating the toolchain for a project and don't consider the toolchain usable without basic debugging, so this is a showstopper for the Visual Studio Code NativeScript extension combo.
I've tried using SideKick and that seems to work better in someways. However, I'd like to get the Visual Studio Code extension working.
Output:
Project successfully built.
Installing on device ---------------------...
Successfully installed on device with identifier '-----------------'.
Successfully transferred all files on device ------------.
Refreshing application on device ----------------...
Setting up debugger proxy...
Press Ctrl + C to terminate, or disconnect.
Opened localhost 41000
To start debugging, open the following URL in Chrome:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:41000
Successfully synced application org.nativescript.MyApp02 on device ------------.
[NSDebugAdapter] Ready to attach to application on 41000
Frontend client connected.
NativeScript debugger was not able to get inspector socket port on device --------------- for application org.nativescript.MyApp02.
Cannot connect to device socket. The error message is 'Device socket port cannot be found.'.

Same problem here as well..
tns --version
5.1.1

Hi guys,
Sorry for the late response. Most probably you are getting this error because your app is not able to finish it's bootstrapping for 10 seconds. It's easy to reproduce this by executing some slow operations in your app starting point.
It seems that the --timeout flag is not respected for this specific timeout and we increased it to 60 seconds in the latest CLI release candidate (currently available as nativescript@rc and most probably will be released as<EMAIL_ADDRESS>in a couple of days).
You could also try passing the --debug-brk flag to the CLI as a workaround. In this way, only the Native App will be started and the runtime will stop for debugging before starting the NativeScript app (the 10 seconds timeout should be enough in this case). In order to achieve this in VSCode, you can extend your configurations in .vscode/launch.json e.g.:
"name": "Launch on iOS",
...
"tnsArgs": [
   "--debugBrk"
]

Using --debug-brk you will  also be able to debug the above-mentioned application start logic.

Still a big problem in Sidekick 1.16.2-v.2<IP_ADDRESS>. and Nativescript 5.2.3.
Since upgrading both to the latest I am unable to load the debugger at any time. Sidekick returns Cannot start debug session. Error: Device socket port cannot be found.

Update:-
After multiple attempts the debugger finally connected, but very hit and miss at around 10% success rate.

tns --version 6.7.4
 adding listener <private> for service: iMessage
 creating monitor for service: iMessage
 updating availability for FTCServiceTypeiMessage   => from FTCServiceAvailabilityUnavailable to FTCServiceAvailabilityAvailable
CONSOLE INFO file: node_modules/nativescript-dev-webpack/hot.js:3:0: HMR: Hot Module Replacement Enabled. Waiting for signal.
NativeScript debugger has opened inspector socket on port 18183 for com.app.beehivehrms.
Successfully synced application com.app.beehivehrms on device 5BC65979-5A29-45B9-BFAF-70D50D59CA65.
CONSOLE LOG file: node_modules/@nativescript/core/inspector_modules.ios.js:1:0: Loading inspector modules...
CONSOLE LOG file: node_modules/@nativescript/core/inspector_modules.ios.js:6:0: Finished loading inspector modules.
NativeScript debugger attached.
CONSOLE LOG file: node_modules/@nativescript/core/ui/frame/frame-common.js:581:0: topmost() is deprecated. Use Frame.topmost() instead.
NativeScript debugger was not able to get inspector socket port on device 496cb96d36469201e1e68de921a06c473h63eb7a for application com.app.hrms
these msg come and it crashes in iphone 6

@mrwrighty I am running into the exact same issue what did your solution end up being? Cheers

Also experiencing this issue. Any ideas. as of latest nativescript-cli version 7.0.11

This issue is not resolved yet. When are you guys resolving this issue.

same

Same issue here.  This really isn't acceptable - it's almost impossible to build a whole application without a working debugger.

I'm seeing the same issue with all versions of {N} 8.x on iOS emulators and devices.  Currently running 8.1.5 due to compatibility issues with 8.2.x.  Mine is a plain JavaScript project.

yes, same issue here too. Please help us. eating more my energy.


When using @EnableHystrixDashboard, spring.freemarker.template-loader-path doesn't work

Application Main class:
@SpringBootApplication
@EnableHystrixDashboard
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class,args);
}
}
application.yml:

ftl:

result:

when disable @EnableHystrixDashboard
@SpringBootApplication
//@EnableHystrixDashboard
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class,args);
}
}
it works!

I guess the @EnableHystrixDashboard some how may disturb loading of FreeMarkerAutoConfiguration

Is there a stacktrace associated with the error?  Also if you could provide the actual project that shows the error that would be great!

the hystrix dashboard uses freemarker.

@spencergibb you're right. Thanks!
So there is no way to customize freemarker with using @EnableHystrixDashboard?
Does any other annotation like @EnableHystrixDashboard?


Acl9::AccessDenied after Redis restart with session store set to cache_store

So, prefacing this with the statement that I'm not sure that this is an acl9 issue, but I'm starting at the top of the stack and working my way down.
Ruby version 2.5.1
Rails version 5.2.1
Acl9 version 3.1.0
My initial take on this seems to be that, with the initial page load, it recreates the connection to Redis for the session store.  In a page where acl9 does not come into play, the page loads fine and everything goes on its merry way, including the next page load with acl9 requirements.  However, if Redis is restarted and the next page load is one that acl9 is applicable, the page immediately will error out with Acl9::AccessDenied on lib/acl9/controller_extensions/generators.rb:79.  Subsequent page loads work fine.
The value of code that is being eval'd on generators.rb:77 before the rescue/raise is:
lambda do |controller|
  unless ((!controller.send(:current_user).nil? && controller.send(:current_user).has_role?('user')) || ((!controller.send(:current_user).nil? && controller.send(:current_user).has_role?('admin')) && Set.new(['suspend','unsuspend','destroy','purge']).include?(controller.action_name)) || ((true) && Set.new(['new','create','forgotten_password','send_password_email','reset_password','perform_reset_password','activation_confirmation','activate','activate_accenture','resend_activation_email']).include?(controller.action_name))) && (true)
    raise Acl9::AccessDenied
  end
end

I'd say it's the !controller.send(:current_user).nil? part of that, ie. current_user is returning nil.
The access_control block just does a call to before_action, and those are just run in order, is it possible that your before_action that checks your authentication is after your access_control block?

Closing this because I'm fairly sure it's not an acl9 bug, feel free to reopen with more detail if you find otherwise.


discussion(Mixed Lists): added some unit tests to show the use-case

This is a starting point of a discussion. Just added some unit tests to display the intent, as per the discussions over on the Discord's Spark channel.
So the use-case is basically being able to be able to write a Spark Entity's type as the following:
  my_dsl do
    my_thing :one, :two, :three, four: "four", five: "five
    # ... or
    my_thing [:one, :two, :three, four: "four", five: "five]
  end

This is the same way you could do defstruct :one, :two, three: "three" to provide default values for some struct fields.
Instead of the defstruct behaviour though, the idea is that the keys that does have a default declared for them in a :keyword_list would just default to their values, and so the final data would be a valid Keyword list.
Contributor checklist

[ ] Bug fixes include regression tests
[ ] Chores
[ ] Documentation changes
[ ] Features include unit/acceptance tests
[ ] Refactoring
[ ] Update dependencies

IIRC we had discussed introducing a new type to represent this concept. For these examples, they all use the {:in, construct which only matches literals. I think any type ought to be theoretically constructible with the {:one_of type, however. Was it the intention to write these tests using {:in?

IIRC we had discussed introducing a new type to represent this concept. For these examples, they all use the {:in, construct which only matches literals. I think any type ought to be theoretically constructible with the {:one_of type, however. Was it the intention to write these tests using {:in?

This was just how it ended when I gave up on trying to get the type I needed. I exhausted configurations for :one_of as well, so that is why I brought it up on the Discord and why it would possibly better to add this as either a separate type, :(non_empty_)keyword_list_with_defaults, or by adding the defaults behaviour to the actual :keyword_list type.
The problem with :one_of was that it would enforce all elements to be of the same type, or something? I can't remember the error, but it would parse until the shape of the next element changed from the previous, if I'm not mistaken.
So, this is just the draft of the tests, but don't consider the type my intention as it was just where I stopped trying after exhausting my options.
I studied Spark.Options - Types over and over, trying various ways to achieve the desired result, but I found nothing that worked.

IIRC we found a way to do this with a combination of {:list and {:one_of it was just very ugly right? I think the best thing we can add here is tests for the hypothetical type we discussed. I think these are three separate things that didn't work as desired right?

IIRC we found a way to do this with a combination of {:list and {:one_of it was just very ugly right? I think the best thing we can add here is tests for the hypothetical type we discussed. I think these are three separate things that didn't work as desired right?

I don't recall it that way 😅 I didn't get a working example, we just talked about hypothetical ways to do it. So I haven't been able to construct it, and I have tried :list with various combinations of :one_of and other setups. Including the :tuple and so on.


Add Comments section in documentation pages

For example, in this page:
https://gatling.io/docs/2.3/extensions/sbt_plugin/
There are many questions that arise for newcomers, like (referring to the above) "how do you specify a dependency", what is the role of the "projects" folder and where is it expected to reside and/or where/how/when do we specify the path to it, or what on earth is a .scala build
There is presently no place for users questions and they are left to fend for themselves. The documentation/tutorials never address learning as a ground up and functional activity, but let me plug my rant right about here
Comments section would go a good way for users crowdsource into making documentation actually more useful. Thanks

First, please don't referrer to Gatling 2.3 documentation as Gatling 2 has reached end of life some time ago and is no longer maintained. Generally speaking, use current documentation, eg
https://gatling.io/docs/current/extensions/sbt_plugin/, that referrer to current stable release (currently Gatling 3.0). If you check the updated version of this page, you'll realize we have a sample you can download and a giter8 based scaffolder.
Then, documentation is not the right place to ask questions. The community mailing list is. And documentation can indeed be contributed to. You can provide a PR to modify https://github.com/gatling/gatling/blob/master/src/sphinx/extensions/sbt_plugin.rst. On each page, there's a link named CONTRIBUTE.
Finally, why are you fixed about using sbt? sbt is a build tool for Scala developers and is most likely the hardest to grasp for newcomers. If you're not familiar with any JVM build tool, you should first stick to the bundle distribution. Have you checked the installation guide and gone through the beginner and advanced tutorials?


feat(parser): new createProcessor util

🔗 Linked issue
Discussed in #285
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR introduces a new createProcessor util without breaking changes.
It returns an object containing both the parser (the original implementation for createMarkdownParser) as well as the processor itself, allowing for further customization and reuse or the processor for future implementations.
Author's note
I'm not a super fan of this approach, but unfortunately because of this very options.toc it is the only way to add this functionality without introducing a breaking change. But considering that many other modules (for example Nuxt's Content) are being refactored to new majors we could take this into consideration.

Thanks for PR,
I didn't get your point about options.toc.

Thanks for PR, I didn't get your point about options.toc.

Scratch that 😜
I just realized that I was mixing up local and global variables and I might have a nicer solution

@farnabaz sorry if I made a bit of confusion about options.toc, I didn't notice that there is no toc inside moduleOptions.
In f88d594 I managed simplify even further the createProcessor and createMarkdownParser without any breaking change.
Now if we only need the processor we simply do:
const processor = await createProcessor(inlineOptions)


Improvements in commentbox look

I sync comment box background color with dark mode, whenever user enable dark mode the comment box will get dark also
Issue Number: #294

I sync comment box background color with dark mode, whenever user enable dark mode the comment box will get dark also

mention issue number

I sync comment box background color with dark mode, whenever user enable dark mode the comment box will get dark also

mention issue number

#294

Hi, there were some major merge conflicts, please update your branches and create a new pull request. I have the changes saved but don't have permission to push to your fork


Bump carbon.business-process version

Purpose
$Subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2262308745

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2262308745
Status: success


Fix DeleteNamespace not retrieving ns from ctx

What type of PR is this?
/kind bug
What this PR does / why we need it:
The function DeleteNamespace was not succeeding in retrieving the namespace from the context because it tried to cast a corev1.Namespace to *corev1.Namespace.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., Usage docs, etc.:

@vladimirvivien there were no tests for the delete. If that is fine with you (and because it will be a mess to refactor the 2 PRs otherwise), I've created a test for DeleteNamespace in the other PR I opened (#382). Is that ok for you?

Yes that is ok. I just want to use opportunity to add a test to avoid a future bug. Thanks again .

/lgtm
/appprve

/approve


OCM-7918 | fix: use space delimiter in AWS tags error msg to avoid confusion

In https://issues.redhat.com/browse/OCM-7918 the code is working as intended, it just parses the tag as having too many delimiters because the value is not separated by a space. Since spaces are not allowed in tag key/values but : is, it makes more sense to use a space as a delimiter in the error message to avoid confusion on how the tags are parsed.

Considering this is a helper would it be possible to include a test?

/retest

/test images-release-images

/test images-release-images

/retest

/test images-release-images

/retest

/retest

/approve
/lgtm


Fix Global::Pass

LGTM

Just noticed that the commit message is wrong. But someting is weird with this test, if I move the added line somewhere else, some of the other tests fail on 0.10 and it is not evident why.

There, fixed the persistent tests.

Even more LGTM.


docs: better headings

Summary of Changes
The term "stdlib" makes sense from the perspective of the entire project. For someone who just wants to use the Python components, however, we should instead talk about the "Safe-DS Python Library".

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ MARKDOWN
markdown-link-check
2

0
2.53s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

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

v0.3.0
GitHub release

Your semantic-release bot :package::rocket:


Support selu activation function

Description
Address #11496 and add selu activation function
Checklist
Essentials

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Support selu option in leaky_relu
[x] Corresponding unit tests

Comments
Test passed 10000 times on both CPU & GPU:
MXNET_TEST_COUNT=10000 nosetests -s --verbose tests/python/unittest/test_operator.py:test_selu
/home/ubuntu/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
/home/ubuntu/anaconda3/lib/python3.6/site-packages/nose/util.py:453: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  inspect.getargspec(func)
[INFO] Setting module np/mx/python random seeds, use MXNET_MODULE_SEED=1420566118 to reproduce.
test_operator.test_selu ... ok

----------------------------------------------------------------------
Ran 1 test in 224.670s

OK

MXNET_TEST_COUNT=10000 nosetests -s --verbose tests/python/gpu/test_operator_gpu.py:test_selu
/home/ubuntu/anaconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
/home/ubuntu/anaconda3/lib/python3.6/site-packages/nose/util.py:453: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  inspect.getargspec(func)
[INFO] Setting module np/mx/python random seeds, use MXNET_MODULE_SEED=303779694 to reproduce.
test_operator_gpu.test_selu ... ok

----------------------------------------------------------------------
Ran 1 test in 323.042s

OK

Please also update the operator documentation section in leaky_relu.cc

@apeforest All comments addressed already.


Not able to get private key

val wallet = HDWallet(seed1, "")
val add = wallet.getAddressForCoin(CoinType.BITCOIN)
val private = wallet.getKeyForCoin(CoinType.BITCOIN)
val publicKey = private.getPublicKeySecp256k1(true)
Log.d("addres", add)
Log.d("addpriv", private.data().toHex())
Log.d("addpub",publicKey.data().toHex())
Hi I am an Android Developer, By using this sdk i am able to get correct address and public key, but private key returning wrong.
And custom derivation path also not working
            val private = wallet.getKey("M/44H/2H/0H/0/0")

please help to solve this issue.

You state address and public key are ok, and private key is wrong.  I assume address and private key are ok, and public key is wrong, since public key is derived from private.
Maybe for bitcoin public key, you want the non-compressed format -- use with false parameter private.getPublicKeySecp256k1(false).
For derivation path format should be: m/84'/0'/0'/0/0; i.e. character backtick for hardened elements.

invalid_argument: SegwitAddress needs a compressed SECP256k1 public key.
And m/44'/0'/0'/0/0 this format working.. but both private key and address is wrong by setting
val private = wallet.getKey("m/44'/0'/0'/0/0")
can you please tell me the exact method to get private key for bitcoin by using mnemonics.

could you please share what's wrong and expected result? you can create a test Mnemonic

Hi i have created test mnemonics for your reference
val testseed = "exhibit observe else join sail ice agent invite moment note ivory ahead"
val wallet = HDWallet(testseed, "")
val private = wallet.getKey("m/44'/0'/0'/0/0")
val publicKey = private.getPublicKeySecp256k1(true)
val add = CoinType.BITCOIN.deriveAddressFromPublicKey(publicKey)
Log.d("addres", add)
Log.d("addpriv", private.data().toHex())
Log.d("addpub",publicKey.data().toHex())
The result i got
address - bc1q5uxxxcvpw4uwppycnawm6asxdf2jeqvn77kxy2
privatekey - a7d445d657cd51e608db1b029c1c8b8660de651ce24fa797bf182c08e26af80e
publickey - 028d5e4e714b033c797cac8166de0f582fc99f8ecb84373f0fadd746ddf39d20ef
The result i expected
address - 1GEGgnSEQY41LywyarQwD77JNRt2rZ3JQK
publickey - 028d5e4e714b033c797cac8166de0f582fc99f8ecb84373f0fadd746ddf39d20ef
privatekey - L2qwzLq3NVSKWSCCgEkQpBVvUCLRi3Zj7sRPFVsmMpJngpprq5gB
i have used iancoleman for getting this expected result
https://iancoleman.io/bip39/

if you look at the publickeys, they are same:

CoinType.deriveAddressFromPublicKey returns segwit address by default
https://iancoleman.io/bip39/ uses WIF for private key, wallet core returns hex string

if you'd like to use legacy 1 bitcoin address, you should use class BitcoinAddress

Here is sample code and output for the test data.  Address is the expected.  Closing ticket.
val wallet = HDWallet("exhibit observe else join sail ice agent invite moment note ivory ahead", "")
val privateKey = wallet.getKey("m/44'/0'/0'/0/0")
showLog("privateKey: \n${privateKey.data().toHexString(false)}")
val publicKey = privateKey.getPublicKeySecp256k1(true)
showLog("publicKey: \n${publicKey.data().toHexString(false)}")
val address = BitcoinAddress(publicKey, 0x00)
showLog("address: \n${address.description()}")

privateKey:  a7d445d657cd51e608db1b029c1c8b8660de651ce24fa797bf182c08e26af80e
publicKey:  028d5e4e714b033c797cac8166de0f582fc99f8ecb84373f0fadd746ddf39d20ef
address:  1GEGgnSEQY41LywyarQwD77JNRt2rZ3JQK

@catenocrypt look for path: m/44'/0'/0'/0/0 - private key is L2qwzLq3NVSKWSCCgEkQpBVvUCLRi3Zj7sRPFVsmMpJngpprq5gB But we receive a7d445d657cd51e608db1b029c1c8b8660de651ce24fa797bf182c08e26af80e
check: https://iancoleman.io/bip39/

That is formatting issue; one is hex string (32 bytes), the other is WIF or base58 format.  I would bet that the data is the same.

When I try to sign with that private key am getting wrong value which results in fail transaction.

val wallet = HDWallet("exhibit observe else join sail ice agent invite moment note ivory ahead", "")
val privateKey = wallet.getKey("m/44'/0'/0'/0/0")
showLog("privateKey: \n${privateKey.data().toHexString(false)}")
val publicKey = privateKey.getPublicKeySecp256k1(true)
showLog("publicKey: \n${publicKey.data().toHexString(false)}")
val address = BitcoinAddress(publicKey, 0x00)
showLog("address: \n${address.description()}")
Like using(BitcoinAddress) above how to get data for Litecoin

    val coin: CoinType = CoinType.LITECOIN
    // Get the default address
    val address = wallet.getAddressForCoin(coin)

Please refer to  https://github.com/trustwallet/wallet-core/blob/master/samples/android/app/src/main/java/com/trust/walletcore/example/MainActivity.kt.
In your example, you use derivation path "m/44'/0'/0'/0/0", 44 is the purpose (SLIP44), the next number 0 is the coin, 0 is BTC in SLIP44.  Litecoin is 2, btw (https://github.com/satoshilabs/slips/blob/master/slip-0044.md).

Yeah working as expected thanks


Save the blocks to file

Not as full-blocks (merkle blocks?)

https://github.com/nopara73/PlayWithSpv/commit/109109021d9e3c628dab9883e86fcabda591cf13


Get availability dates which is published from publishing page

Hello All,
how to get available date from publishing page.  Below image will give you good idea what i am talking about.

I suggest using https://developer.microsoft.com/en-us/graph/support to submit questions and feature requests. Thanks.


Should throw NotFoundException instead of just Exception when route doesn't exist

Currently, if a route doesn't exist, a general Exception is thrown. This makes it difficult to handle route-related exceptions while letting other more serious exceptions pass through.
It would be nice if some sort of "NotFoundException" was thrown instead. It would seem that you'll need to make a custom exception to do this since PHP doesn't have a built in one like this.
http://php.net/manual/en/spl.exceptions.php

Thanks for the suggestion, I changed it to RouteNotFoundException, since I found it more appropiate.
Also added CI and a few tests, if you have any other suggestion, they are welcome :P


Data are not reflected in the dashboard

Hi
I have cloned Hygieia and UI is working fine. But my Jenkins data is not populated in the dashboard.
when I checked API connectivity using postman is shows crumb issue.
Jenkins version : 2.32.1
Jenkins collector version : 2.0.5
Am in need of help. Thanks in advance.
My logs doesn't show any error and I have attached my configuration

@BindhuEva On the "Configure Build Widget", what happens when you click on the "Build Job" search field ? Does it list the job in the dropdown ? Its a search box so try typing in your job name to narrow down the results. Also try clearing your browser cache.

@satishc1  I can list down the jobs from jenkins but other details are not reflected.
The jobs also listed more than 1 times. I couldn't get why that happens..

@BindhuEva Paste your collectors and collector_items collections.

@BindhuEva Closed. Reopen if still an issue.


Mouse Cursor lag

Operating system or device - Godot version:
2.1
I've searched this repo but cannot find anything related to the cursor lag
However, I found this:
https://godotengine.org/qa/6572/is-it-possible-to-run-custom-mouse-cursor-in-seperate-thread

Custom mouse cursors are emulated by Godot as a sprite on top of the scene, that's why they are affected by lag. According to this issue, custom mouse pointers will be rewritten in 3.0 so they use the system's API instead, then I guess they won't be affected by lag anymore.

Real life example:

And that's changing the position of the sprite using _input, inside a CanvasLayer.  Is there maybe an alternative method we can use before waiting for 3.0? (If it's even noted :P) This is essential for Hotline Miami / top down shooters. The lag really makes a difference in fluidity / combat

I think the only thing you can currently do is changing the source and hard coding a OS-level cursor. (If it's easily possible using the current source)

@timoschwarzer likely not so easy, except maybe for someone already acquainted with the APIs of all platforms.

Bug triage note: The original issue reporter closed all their issues before deleting their account. If you are affected by a similar issue/want a similar feature, please file a new ticket (referencing this one if it contains useful information) so that it can be further looked at and eventually resolved.


How to produce Thumbnail PNG for a chosen color

Hi
I would like to create a thumbnail for different colors. I have no way of doing it other than setting some values for --color in the options. But I don't know exactly what value to set.
In other words,  need to produce thumbnail image for  particular RGB value or Hex value in css
The documentation is not very clear. Can anyone help?
Thank You

The RGB value has to be specified as float values, eg:

black: 0,0,0
red: 1,0,0
dark blue: 0,0,0.5

F3D expects colors to be in r,g,b format where r, g, and b are between 0 and 1.
CSS hex encodes color as #rrggbb where rr, gg and bb are between 00 and ff (that is between 0 and 255).
You should be able to find tools online to convert, for example https://www.rapidtables.com/convert/color/hex-to-rgb.html

Thank you very much, This is exactly what I am looking for.  This will be of great help. Thank You

Hi, sorry for being a pain and keep getting back to the same point, this conversion tool worked great to get few shades, but most of the time, it generates totally irrelevant colors. I am trying to get an image of yellow color, but when I use this tool to get the r, g,b values, it produces totally different. Is there any other parameters or settings I need to change to get the same color what I aim for. For example #dfff00 , but it never works as I expected. Is there anyone who can help? Thanks in advance.

this conversion tool worked great to get few shades, but most of the time, it generates totally irrelevant colors.

Could you share more info about your data, the color you are using, the command line you use and so on.

Do not hesitate to come to our discord to discuss!
https://discord.f3d.app


[usm] Optimize encoding path

What does this PR do?
Optimize USM HTTP encoding codepath.
The main idea of this PR is reducing the number of live protobuf model objects in the heap at given time. The approach can be summarized as follows:

First we group USM data by connection calling GroupByConnection;
Then, during the encoding phase of each network.ConnectionStats we do the following:
a. First we fetch all USM data for a given connection (which is done by calling USMConnectionIndex.Find())
b. Then, we generate all HTTP model objects for this specific connection
c. After that, we serialize all objects into a blob of bytes
d. The associated model objects are then moved to an object pool for later reuse.

In aggregate the changes in this PR have yielded a ~20% reduction in RSS and a ~10% reduction in CPU in our load test environment running an HTTP-heavy workload.
I'll open a following-up PR propagating the changes to the HTTP2 and Kafka encoder once this PR gets merged.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

let's run it for a day in a cluster (dogfooding) to see the impact in a "real" scenario, so we can know if the improvement is similar to the load-test


1.7 backups require uaa admin user on ops manager to have scopes added

1.7 backups require uaa admin user on ops manager to have scopes added
must add:
opsman.admin or opsman.user

Hi,
cfops v2.1.7
ERT 1.7.3
opsmanager 1.7.4
I have verified my admin user has both opsman.admin and opsman.user scopes. but still getting following error when I run cfops backup tool
2016/06/22 16:11:29 E0622 16:11:29.683384 2095 opsmanager.go:145] error in save http request%!(EXTRA *errors.errorString={"error":"Your UAA access token has expired and Your UAA access token does not have either "opsman.admin" or "opsman.user" scope"})
2016/06/22 16:11:29 E0622 16:11:29.683442 2095 createCliCommand.go:48] there was an error getting tile from registry: failure to connect to ops manager host: {"error":"Your UAA access token has expired and Your UAA access token does not have either "opsman.admin" or "opsman.user" scope"}
NAME:
Thanks, M

The version of cfops you are using does not support the 1.7 uaa changes in
PCF.
please upgrade to the latest cfops release from
http://www.cfops.io/downloads/release/ (v2.2.x)
-John
2016-06-22 16:16 GMT-04:00 cloudmadch<EMAIL_ADDRESS>
Hi,
cfops v2.1.7
ERT 1.7.3
opsmanager 1.7.4
I have verified my admin user has both opsman.admin and opsman.user
scopes. but still getting following error when I run cfops backup tool
2016/06/22 16:11:29 E0622 16:11:29.683384 2095 opsmanager.go:145] error in
save http request%!(EXTRA *errors.errorString={"error":"Your UAA access
token has expired and Your UAA access token does not have either
"opsman.admin" or "opsman.user" scope"})
2016/06/22 16:11:29 E0622 16:11:29.683442 2095 createCliCommand.go:48]
there was an error getting tile from registry: failure to connect to ops
manager host: {"error":"Your UAA access token has expired and Your UAA
access token does not have either "opsman.admin" or "opsman.user"
scope"}
NAME:
Thanks, M
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pivotalservices/cfops/issues/86#issuecomment-227863481,
or mute the thread
https://github.com/notifications/unsubscribe/AAqI0w-rsEcJwUSycN31oi8y40RjSomjks5qOZgpgaJpZM4Im3sO
.

I just upgraded to latest v2.2.29. getting same error
I'm running as below
cfops backup --omh 10.x.x.x --dp xxxxxx --omp xxxxxx -t elastic-runtime --du admin --omu ubuntu -d SB4test
and, admin user has required scopes. Did I miss anything here?

the omh flag must be the domain you created the ops manager with.
otherwise the uaa will not allow the connection.
Also, does your ops manager have saml or ldap configured?
-John
2016-06-22 16:45 GMT-04:00 cloudmadch<EMAIL_ADDRESS>
I just upgraded to latest v2.2.29. getting same error
I'm running as below
cfops backup --omh 10.x.x.x --dp xxxxxx --omp xxxxxx -t elastic-runtime
--du admin --omu ubuntu -d SB4test
and, admin user has required scopes. Did I miss anything here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pivotalservices/cfops/issues/86#issuecomment-227870890,
or mute the thread
https://github.com/notifications/unsubscribe/AAqI0-ymiGh-LNCfjqtMqx5XybTJp8Lpks5qOZ7SgaJpZM4Im3sO
.

Ahh okay, it started exporting database now after I gave full dns name.
No, we haven't configured saml or ldap yet but we are planning to. but only one user can login at a time to webUI. have you guys tested out with AD users?
Thanks, M

@xchapter7x  i am using the full domain name for --omh but still getting this error.
cfops version:  v3.0.4
OpsMan version 1.9
any help with cfops is appreciated.

Hi @Murryy79,
It may be worth using uaac-cli to see if your client ID/secret are usable - you can do this by following the instructions at http://www.cfops.io/#authentication-connection-errors.
If you're still having trouble, we'd recommended opening a support ticket with Pivotal Support.
Thanks,
Henry


Introduce a Kconfig COMPILE_TEST option for compile only tests

We have several compile only tests that get build on a lot of (if not all) of the boards.  However we don't always have the various drivers configured or supported on those boards so we need dummy device names to build things.  By introducing a Kconfig COMPILE_TEST option we can than have dummy default values for the device names regardless of support via Kconfig or dts for the true device names.

Lets take sensors as an example, I think we are going to end up with sensor drivers that don't exist on any board.  How would we build test such a case?

Opened Issue #1082 to track this going forward.  Going to close it out for now.


Adds a paginate package to @tinacms

This is an iteration on Kelly's approach to handling cursor-based pagination with patterns like page/1, page/2, etc.
It requires the use of a filesystem cache and the experimentalData flag enabled.

I wonder if it makes sense to call the package something like offset-paginate.
Might also be good to have a readme where we specify the limitations / use-cases.
E.g. This will ONLY work statically (it uses a filesystem cache under the hood)

I wonder if it makes sense to call the package something like offset-paginate. Might also be good to have a readme where we specify the limitations / use-cases. E.g. This will ONLY work statically (it uses a filesystem cache under the hood)

I'm not sure if we should call it offset-paginate or maybe something even more specific?  static-offset-paginate?  If our spike determines that we do offer an actual way to handle offset pagination, I wouldn't want to cause confusion with this.
Also, definitely needs to be all manner of stuff written around it - hence the idea of a mini-guide (and a README).
This is just to see if there's anything of value here :)

We've decided to take a step back from offering a pagination solution for now until we better understand what the community is looking for.  There's a good chance this work will turn into a "Mini Guide" on tina.io rather than a package we would want to maintain and continue to support.


hot-restarter.py: python3 support

Description: 2020 is just around the corner!  This adds python3 support for hot-restarter.py without removing python2 support.
Risk Level: Low, mostly just syntax changes and appeasing a linter.
Testing: Ran both python2 and python3 invocations of the hot-restarted, issued some kill -SIGHUP and watched no change in behaviour.
Docs Changes: N/A
Release Notes: N/A

(If you're trying to get CI to rebuild, git commit -s --allow-empty -m 'Kick CI' && git push should do the trick.)


tests: add tests for tld and domain transformations.

Continuation of #98
This PR adds tests for new transformations: tld and domain and tests code added in https://github.com/OISF/suricata/pull/4035
This update modifies the domain rule per updated domain transform logic.

Continued in #102


lite: nnapi: Check memory mapping errors after NNMemory()

There are no error checks in the constructor NNMemory::NNMemory().
When creating a shared memory fd, NNMemory::fd_ could be set to a
negative value due to errors. Thus, when trying to mmap this,
NNMemory::data_ptr_ will be set to MAP_FAILED (and which in turn
will yield an invalid call to ANeuralNetworksMemory_createFromFd()) in
the constructor.
Ideally, one should check for errors early. However, since Google's C++
style guide prohibits the use of exceptions, we need to check this
explicitly after the constructor instead. We check NNMemory::data_ptr_
for any errors (since NNMemory::fd_ is private).

@miaowang14 could you review this PR?


[Event Request] Codeunit 99000845 Reservation Management "OnReservationManagementDeleteReservEntries"

Can we please get the following event?
procedure DeleteReservEntries(DeleteAll: Boolean; DownToQuantity: Decimal; var ReservEntry: Record "Reservation Entry")
    var
        CalcReservEntry4: Record "Reservation Entry";
        SurplusEntry: Record "Reservation Entry";
        DummyEntry: Record "Reservation Entry";
        CurrentItemTrackingSetup: Record "Item Tracking Setup";
        ReservStatus: Enum "Reservation Status";
        QtyToRelease: Decimal;
        QtyTracked: Decimal;
        QtyToReleaseForLotSN: Decimal;
        CurrentQty: Decimal;
        AvailabilityDate: Date;
        Release: Option "Non-Inventory",Inventory;
        HandleItemTracking2: Boolean;
        SignFactor: Integer;
        QuantityIsValidated: Boolean;
        IsHandled: Boolean;
    begin
        OnBeforeDeleteReservEntries(ReservEntry, DownToQuantity, CalcReservEntry, CalcReservEntry2, IsHandled);

        ReservEntry.SetRange("Reservation Status");
        if ReservEntry.IsEmpty() then
            exit;

        CurrentItemTrackingSetup.CopyTrackingFromReservEntry(ReservEntry);
        CurrentQty := ReservEntry."Quantity (Base)";

        GetItemSetup(ReservEntry);
        ReservEntry.TestField("Source Type");
        ReservEntry.Lock;
        SignFactor := CreateReservEntry.SignFactor(ReservEntry);
        QtyTracked := QuantityTracked(ReservEntry);
        CurrentBinding := ReservEntry.Binding;
        CurrentBindingIsSet := true;

        // Item Tracking:
        if ItemTrackingCode.IsSpecific() or CurrentItemTrackingSetup.TrackingExists() then begin
            ReservEntry.SetFilter("Item Tracking", '<>%1', ReservEntry."Item Tracking"::None);
            HandleItemTracking2 := not ReservEntry.IsEmpty;
            ReservEntry.SetRange("Item Tracking");
            OnDeleteReservEntriesOnAfterReservEntrySetFilters(ReservEntry, ItemTrackingHandling);
            case ItemTrackingHandling of
                ItemTrackingHandling::None:
                    ReservEntry.SetTrackingFilterBlank;
                ItemTrackingHandling::Match:
                    begin
                        if CurrentItemTrackingSetup.TrackingExists() then begin
                            QtyToReleaseForLotSN := QuantityTracked2(ReservEntry);
                            if Abs(QtyToReleaseForLotSN) > Abs(CurrentQty) then
                                QtyToReleaseForLotSN := CurrentQty;
                            DownToQuantity := (QtyTracked - QtyToReleaseForLotSN) * SignFactor;
                            ReservEntry.SetTrackingFilterFromItemTrackingSetup(CurrentItemTrackingSetup);
                        end else
                            DownToQuantity += CalcDownToQtySyncingToAssembly(ReservEntry);
                    end;
            end;
        end;

        if SignFactor * QtyTracked * DownToQuantity < 0 then
            DeleteAll := true
        else
            if Abs(QtyTracked) < Abs(DownToQuantity) then
                exit;

        QtyToRelease := QtyTracked - (DownToQuantity * SignFactor);

        for ReservStatus := ReservStatus::Prospect downto ReservStatus::Reservation do begin
            ReservEntry.SetRange("Reservation Status", ReservStatus);
            if ReservEntry.FindSet and (QtyToRelease <> 0) then
                case ReservStatus of
                    "Reservation Status"::Prospect:
                    repeat
                        if (Abs(ReservEntry."Quantity (Base)") <= Abs(QtyToRelease)) or DeleteAll then begin
                            ReservEntry.Delete();
                            SaveTrackingSpecification(ReservEntry, ReservEntry."Quantity (Base)");
                            QtyToRelease := QtyToRelease - ReservEntry."Quantity (Base)";
                        end else begin
                            ReservEntry.Validate("Quantity (Base)", ReservEntry."Quantity (Base)" - QtyToRelease);
                            ReservEntry.Modify();
                            SaveTrackingSpecification(ReservEntry, QtyToRelease);
                            QtyToRelease := 0;
                        end;
                    until (ReservEntry.Next() = 0) or ((not DeleteAll) and (QtyToRelease = 0));
                    "Reservation Status"::Surplus:
                    repeat
                        if CalcReservEntry4.Get(ReservEntry."Entry No.", not ReservEntry.Positive) then // Find related entry
                            Error(Text007);
                        if (Abs(ReservEntry."Quantity (Base)") <= Abs(QtyToRelease)) or DeleteAll then begin
                            ReservEngineMgt.CloseReservEntry(ReservEntry, false, DeleteAll);
                            SaveTrackingSpecification(ReservEntry, ReservEntry."Quantity (Base)");
                            QtyToRelease := QtyToRelease - ReservEntry."Quantity (Base)";
                            if not DeleteAll and CalcReservEntry4.TrackingExists then begin
                                CalcReservEntry4."Reservation Status" := CalcReservEntry4."Reservation Status"::Surplus;
                                CalcReservEntry4.Insert();
                            end;
                            ModifyActionMessage(ReservEntry."Entry No.", 0, true); // Delete action messages
                        end else begin
                            ReservEntry.Validate("Quantity (Base)", ReservEntry."Quantity (Base)" - QtyToRelease);
                            ReservEntry.Modify();
                            SaveTrackingSpecification(ReservEntry, QtyToRelease);
                            ModifyActionMessage(ReservEntry."Entry No.", QtyToRelease, false); // Modify action messages
                            QtyToRelease := 0;
                        end;
                    until (ReservEntry.Next() = 0) or ((not DeleteAll) and (QtyToRelease = 0));
                    "Reservation Status"::Tracking,
                    "Reservation Status"::Reservation:
                        for Release := Release::"Non-Inventory" to Release::Inventory do begin
                            // Release non-inventory reservations in first cycle
                            repeat
                              //Event Request Begin
                                IsHandled := false;
                                OnReservationManagementDeleteReservEntries(ReservEntry, CalcReservEntry4, IsHandled);
                                if not IsHandled then
                              //Event Request End
                                CalcReservEntry4.Get(ReservEntry."Entry No.", not ReservEntry.Positive); // Find related entry
                                if (Release = Release::Inventory) = (CalcReservEntry4."Source Type" = DATABASE::"Item Ledger Entry") then
                                    if (Abs(ReservEntry."Quantity (Base)") <= Abs(QtyToRelease)) or DeleteAll then begin
                                        ReservEngineMgt.CloseReservEntry(ReservEntry, false, DeleteAll);
                                        SaveTrackingSpecification(ReservEntry, ReservEntry."Quantity (Base)");
                                        QtyToRelease := QtyToRelease - ReservEntry."Quantity (Base)";
                                    end else begin
                                        ReservEntry.Validate("Quantity (Base)", ReservEntry."Quantity (Base)" - QtyToRelease);
                                        ReservEntry.Modify();
                                        SaveTrackingSpecification(ReservEntry, QtyToRelease);

                                        if Item."Order Tracking Policy" <> Item."Order Tracking Policy"::None then begin
                                            if CalcReservEntry4."Quantity (Base)" > 0 then
                                                AvailabilityDate := CalcReservEntry4."Shipment Date"
                                            else
                                                AvailabilityDate := CalcReservEntry4."Expected Receipt Date";

                                            QtyToRelease := -MatchSurplus(CalcReservEntry4, SurplusEntry, -QtyToRelease,
                                                CalcReservEntry4."Quantity (Base)" < 0, AvailabilityDate, Item."Order Tracking Policy");

                                            // Make residual surplus record:
                                            if QtyToRelease <> 0 then begin
                                                MakeConnection(
                                                    CalcReservEntry4, CalcReservEntry4, -QtyToRelease, CalcReservEntry4."Reservation Status"::Surplus,
                                                    AvailabilityDate, CalcReservEntry4.Binding);
                                                if Item."Order Tracking Policy" = Item."Order Tracking Policy"::"Tracking & Action Msg." then begin
                                                    CreateReservEntry.GetLastEntry(SurplusEntry); // Get the surplus-entry just inserted
                                                    IssueActionMessage(SurplusEntry, false, DummyEntry);
                                                end;
                                            end;
                                        end else
                                            if ItemTrackingHandling = ItemTrackingHandling::None then
                                                QuantityIsValidated :=
                                                    SaveItemTrackingAsSurplus(CalcReservEntry4, -ReservEntry.Quantity, -ReservEntry."Quantity (Base)");

                                        if not QuantityIsValidated then
                                            CalcReservEntry4.Validate("Quantity (Base)", -ReservEntry."Quantity (Base)");

                                        CalcReservEntry4.Modify();
                                        QtyToRelease := 0;
                                        QuantityIsValidated := false;
                                    end;
                            until (ReservEntry.Next() = 0) or ((not DeleteAll) and (QtyToRelease = 0));
                            if not ReservEntry.FindFirst() then // Rewind for second cycle
                                Release := Release::Inventory;
                        end;
                end;
        end;

        if HandleItemTracking2 then
            CheckQuantityIsCompletelyReleased(QtyToRelease, DeleteAll, CurrentItemTrackingSetup, ReservEntry);
    end;

[IntegrationEvent(false, false)]
    local procedure OnReservationManagementDeleteReservEntries(var ReservEntry: Record "Reservation Entry"; CalcReservEntry4: Record "Reservation Entry"; var IsHandled: boolean)
    begin

    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.