add aria label for issue reporter's description text area

Addresses https://github.com/microsoft/azuredatastudio/issues/24219.
This adds an aria label to the description area in the issue reporter. The title changes between "Steps to Reproduce" and "Description" depending on if it's a bug or a feature request.
Description:

Steps to Reproduce:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.757%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
30826

Relevant Lines:
69081

💛  - Coveralls


SocialiteProviders\GitLab\Provider::getAccessTokenResponse() error

Hi!
I've found an error on GitLab Socialite provider, it cannot find getAccessTokenResponse() method. I've check the Laravel\Socialite\Two\AbstractProvider and I found getAccessToken() method.
I think SocialiteProviders/GitLab is not working with Laravel 5.4. Can you help me?

I think it is becaue of the wrong version of laravel/socialite. It's using dev-master but we need the 3.0 branch.
I think this because of this: This branch is 149 commits behind 3.0.
Trying to find a way to fix this problem

Got it working again.
First in composer.json change minimum-stability to stable.
Than run composer update.
After that run: php artisan view:clear and you're good to go

Now it's working, thanks!


TrustedTypes policy usage in viewLayer

Continues https://github.com/microsoft/vscode/issues/106285#issuecomment-689414623
I have done the following measurement with the file attached below (uses the standalone editor). tt_N is run N using trusted types, str_N is run N with what we have today. I have picked _finishRenderingNewLines  since that's where all changes are and insertAdjacentHTML which is receiving a trusted type

_finishRenderingNewLines
insertAdjacentHTML

tt_1
20
17

tt_2
16
12

tt_3
17
13

str_1
17
16

str_2
15
13

str_3
16
15

sample.txt
profiles.zip
The first run with trusted types seems have been an outlier but otherwise I don't see a difference between both.

Changes that I have done
diff --git a/src/vs/editor/browser/view/viewLayer.ts b/src/vs/editor/browser/view/viewLayer.ts
index eec48240c9..5ab9784cd4 100644
--- a/src/vs/editor/browser/view/viewLayer.ts
+++ b/src/vs/editor/browser/view/viewLayer.ts
@@ -369,6 +369,8 @@ interface IRendererContext<T extends IVisibleLine> {

 class ViewLayerRenderer<T extends IVisibleLine> {

+	private static _ttPolicy = window.trustedTypes?.createPolicy('editorViewLayer', { createHTML: value => value });
+
 	readonly domNode: HTMLElement;
 	readonly host: IVisibleLinesHost<T>;
 	readonly viewportData: ViewportData;
@@ -505,6 +507,9 @@ class ViewLayerRenderer<T extends IVisibleLine> {
 	}

 	private _finishRenderingNewLines(ctx: IRendererContext<T>, domNodeIsEmpty: boolean, newLinesHTML: string, wasNew: boolean[]): void {
+		if (ViewLayerRenderer._ttPolicy) {
+			newLinesHTML = ViewLayerRenderer._ttPolicy.createHTML(newLinesHTML) as unknown as string; // explains the ugly casts -> https://github.com/microsoft/vscode/issues/106396#issuecomment-692625393
+		}
 		const lastChild = <HTMLElement>this.domNode.lastChild;
 		if (domNodeIsEmpty || !lastChild) {
 			this.domNode.innerHTML = newLinesHTML;

:+1: Looks good, I tried with more heavy files.


Testing version v1.1.2

Hi Matt,
using this as a place to log stuff that comes up / I think of while testing.
It all worked really well no crashes during testing.
for datamaps import templates -m

might be useful for there to be an INFO message (in bash) to state validation report has been created.
related to the above some handling of user entering 'type' column into dm.csv. e.g. I had it as 'Type' and therefore datamaps ignored it and didn't produce a val report. I tried datamaps import templates -v and it told me there was no 'type' column. very useful but you could have this messaging in the -m command also.
(expected = Empty and got = Empty ) = Fail.
(expected = " " i.e. a blank and got = Empty) = Fail
is that how you expect the validation to behave?
related to above. Presumably the ability to designate data values as priority/must fill will deal with this issue. i.e. you can specify which data is required, but grade it on how necessary it is for it to be returned.
There are/will be instances where the expected data changes depending on whether another bit of data has been reported. e.g. if a milestone name is reported, then a milestone date needs to be provided. But, if no milestone name is reported then no date is required.

both -z and --inputdir options work brilliant well and are super useful. Especially the zip one, which obvs reduces time moving files around, as well as deleting/tidy afterwards.
Look forward to discuss more tmrw Matt. Cheers, Will.

Hi Will,
I'm INCREDIBLY grateful that you've done testing to this level of detail. It's incredibly helpful for me to have that feedback, so thanks.
I'll address each of your points in the same order:

might be useful for there to be an INFO message (in bash) to state validation report has been created.
** It should already do that at the bottom of the log output

related to the above some handling of user entering 'type' column into dm.csv. e.g. I had it as 'Type' and therefore datamaps ignored it and didn't produce a val report. I tried datamaps import templates -v and it told me there was no 'type' column. very useful but you could have this messaging in the -m command also.
**I will add "Type" to the list of headers that it accepts. At the moment, you can use actually use "type", "value_type", "cell_type" or "celltype" - but not "Type"! (https://github.com/yulqen/bcompiler-engine/blob/414a1729928942d2bdde48e5cb743c4a80b687b1/engine/utils/extraction.py#L384). Take your point about warning the user early about what's going on.

(expected = Empty and got = Empty ) = Fail.

(expected = " " i.e. a blank and got = Empty) = Fail

is that how you expect the validation to behave?
** My thinking is that if a cell has a line in the datamap, then it is required. Therefore if the cell is empty, it flags as Fail. I know you currently expect many of the cells to be empty and it's ok for this to happen, so not technically a type-fail, but that's where we are at the moment. I have been thinking about whether we need an Empty type. What is the point of putting something in the datamap if you actually expect it to be empty? Maybe there is a use. Happy to discuss.

related to above. Presumably the ability to designate data values as priority/must fill will deal with this issue. i.e. you can specify which data is required, but grade it on how necessary it is for it to be returned.
** Yes, absolutely right. That should be factored into the discussion about Empty as mentioned above.

There are/will be instances where the expected data changes depending on whether another bit of data has been reported. e.g. if a milestone name is reported, then a milestone date needs to be provided. But, if no milestone name is reported then no date is required.
** Great, that sounds like an awesome bit of functionality and exactly the kind of direction I want to take this with the rules-based type validation

Hi Will,
I'm INCREDIBLY grateful that you've done testing to this level of detail. It's incredibly helpful for me to have that feedback, so thanks.
I'll address each of your points in the same order:

might be useful for there to be an INFO message (in bash) to state validation report has been created.
** It should already do that at the bottom of the log output

related to the above some handling of user entering 'type' column into dm.csv. e.g. I had it as 'Type' and therefore datamaps ignored it and didn't produce a val report. I tried datamaps import templates -v and it told me there was no 'type' column. very useful but you could have this messaging in the -m command also.
**I will add "Type" to the list of headers that it accepts. At the moment, you can use actually use "type", "value_type", "cell_type" or "celltype" - but not "Type"! (https://github.com/yulqen/bcompiler-engine/blob/414a1729928942d2bdde48e5cb743c4a80b687b1/engine/utils/extraction.py#L384). Take your point about warning the user early about what's going on.

(expected = Empty and got = Empty ) = Fail.

(expected = " " i.e. a blank and got = Empty) = Fail

is that how you expect the validation to behave?
** My thinking is that if a cell has a line in the datamap, then it is required. Therefore if the cell is empty, it flags as Fail. I know you currently expect many of the cells to be empty and it's ok for this to happen, so not technically a type-fail, but that's where we are at the moment. I have been thinking about whether we need an Empty type. What is the point of putting something in the datamap if you actually expect it to be empty? Maybe there is a use. Happy to discuss.

related to above. Presumably the ability to designate data values as priority/must fill will deal with this issue. i.e. you can specify which data is required, but grade it on how necessary it is for it to be returned.
** Yes, absolutely right. That should be factored into the discussion about Empty as mentioned above.

There are/will be instances where the expected data changes depending on whether another bit of data has been reported. e.g. if a milestone name is reported, then a milestone date needs to be provided. But, if no milestone name is reported then no date is required.
** Great, that sounds like an awesome bit of functionality and exactly the kind of direction I want to take this with the rules-based type validation

Least I can do Matt!

Least I can do Matt!

Just while I think about it another type based rule that would v helpful as we come around all the time in the data is the size/denomination of the data e.g NUMBER can't be larger than 100,000,000

Just while I think about it another type based rule that would v helpful as we come around all the time in the data is the size/denomination of the data e.g NUMBER can't be larger than 100,000,000

I'm very pleased to see that you're totally revving up to the idea of this stuff, @banillie. It's where the real value of this software is going to come to the fore, I think.
Here are the rules I am tentatively considering at this stage:

NUMBER>X, NUMBER<X
NUMBERANY(X, Y, Z) (X, Y, Z are numbers)
DATE>X, DATE<X
DATERANGE(D1, D2)
NOTEMPTY
TEXT>X; TEXT<X (X is number of chars)
TEXTANY(X, Y, Z) (X, Y, Z are single words)

More than happy to hear your thoughts and ideas.

I'm very pleased to see that you're totally revving up to the idea of this stuff, @banillie. It's where the real value of this software is going to come to the fore, I think.
Here are the rules I am tentatively considering at this stage:

NUMBER>X, NUMBER<X
NUMBERANY(X, Y, Z) (X, Y, Z are numbers)
DATE>X, DATE<X
DATERANGE(D1, D2)
NOTEMPTY
TEXT>X; TEXT<X (X is number of chars)
TEXTANY(X, Y, Z) (X, Y, Z are single words)

More than happy to hear your thoughts and ideas.

Yes I really agree that it's going to be very useful and powerful. Every time I work on data outputs for reporting, there as always some data missing or reported incorrectly. Sorting / filtering / cleaning / killing these quickly is going to be so useful. All the above look great :+1:
look forward to discussing further.

Yes I really agree that it's going to be very useful and powerful. Every time I work on data outputs for reporting, there as always some data missing or reported incorrectly. Sorting / filtering / cleaning / killing these quickly is going to be so useful. All the above look great :+1:
look forward to discussing further.

Hi Matt, I think the above pretty much summarises where we got to on the data validation side of things.
Only thing I can add now is regarding the EMPTY type and whether this should generate a FAIL is the value returned is in fact empty.
I think a good way to handle this is via the specification of NOTEMPTY. The user should have to place this in addition to the actual type of value expects e.g. TEXT. The absence of a return value will then generate a FAIL. However, if notempty is not specified then the assumption is that it's ok for the value to be empty. Maybe at this point the validation can flag empty rather than fail? This will be a useful way for the user to prioritise keys that really need to be returned, from those that are nice to have but aren't going to cause major problems.

also minor thing I think you need to add an explanation for the -z option to the cli --help text output for datamaps import templates. I couldn't see it in there. Looking back at the convo we had above reminded me that it's a really useful option, but I can't remember what the command is.

It's already in v.1.1.2. Do datamaps import templates --help.  Point datamaps at a zip file of populated templates!

Yeap there it is. Don't know how it missed it before. Anyway great feature that I'll show the team.


Fixed RST doc generation for subcommands nested under other subcommands

Fixed RST documentation generation so that subcommands nested under other subcommands will have their own sections
Added sub_cmd_doc_depth config option to govern how many levels of subcommands should be included in generated RST documentation (including 0 to prevent any sections from being created for subcommands)

Codecov Report

Merging #44 (7268da2) into main (215e856) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   99.98%   99.98%
=======================================
  Files          47       47
  Lines        6216     6234   +18
  Branches     1305     1312    +7
=======================================
+ Hits         6215     6233   +18
  Misses          1        1

Flag
Coverage Δ

unittests
99.98% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lib/cli_command_parser/config.py
100.00% <100.00%> (ø)

lib/cli_command_parser/core.py
100.00% <100.00%> (ø)

lib/cli_command_parser/formatting/commands.py
100.00% <100.00%> (ø)

lib/cli_command_parser/metadata.py
100.00% <100.00%> (ø)

lib/cli_command_parser/utils.py
100.00% <100.00%> (ø)


Saving transform AFTER move makes reconciliation smoother

Investigate why that happens.

The transform wasn't beeing save but it was beeing referenced throughout the entire reconciliation list. I have changed all entries to store positions and rotations instead of the transform. Now the server seems to have some problems calculating some times BUT the movement never been so smooth.

Doesn't make any sense.


[New Model]: QualityMessage 1.0.0

Description
Notifications are - in contrast to classical data offers - a way to push data from a sender to a receiver. This model describes the message for quality investigations and alerts. It contains standardized attributes for message content common across most use cases in CatenaX. It belongs to the same group of aspects as the MessageHeader Aspect Model: io.catenax.shared.message_header
Closes #305 and replaces #311

MS2 Criteria
(to be filled out by PR reviewer)

[ ] the model validates with the SAMM SDS SDK in the version specified in the Readme.md of this repository by the time of the MS2 check  (e.g., 'java -jar samm-cli.jar aspect <path-to-aspect-model> validate ). The  SAMM CLI is available here and in GitHub
[ ] use Camel-Case (e.g., "MyModelElement" or "TimeDifferenceGmtId", when in doubt follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-case)
[ ] the identifiers for all model elements start with a capital letter except for properties
[ ] the identifier for properties starts with a small letter
[ ] all model elements at least contain the fields "preferred name" and "description" in English language. The description must be comprehensible. It is not required to write full sentences but style should be consistent over the whole model
[ ] Property and the referenced Characteristic should not have the same name
[ ] the versioning in the URN follows semantic versioning, where minor version bumps are backwards compatible and major version bumps are not backwards compatible.
[ ] use abbreviations only when necessary and if these are sufficiently common
[ ] avoid redundant prefixes in property names (consider adding properties to an enclosing Entity or even adapt the namespace of the model elements, e.g., instead of having two properties DismantlerId and DismantlerName use an Entity Dismantler with the properties name and id or use a URN like io.catenax.dismantler:0.0.1)
[ ] fields preferredName and description are not the same
[ ] preferredName should be human readable and follow normal orthography (e.g., no camel case but normal word separation)
[ ] name of aspect is singular except if it only has one property which is a Collection, List or Set. In theses cases, the aspect name is plural.
[ ] units are referenced from the SAMM unit catalog whenever possible
[ ] use constraints to make known constraints from the use case explicit in the aspect model
[ ] when relying on external standards, they are referenced through a "see" element
[ ] all properties with an simple type have an example value
[ ] metadata.json exists with status "release"
[ ] generated json schema validates against example json payload
[ ] file RELEASE_NOTES.md exists and contains entries for proposed model changes
[ ] all contributors to this model are mentioned in copyright header of model file

MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)

[ ] All required reviewers have approved this PR (see reviewers section)
[ ] The new aspect (version) will be implemented by at least one data provider
[ ] The new aspect (version) will be consumed by at least one data consumer
[ ] There exists valid test data
[ ] In case of a new (incompatible) major version to an existing version, a migration strategy has been developed
[ ] The model has at least version '1.0.0'
[ ] If a previous model exists, model deprecation has been checked for previous model
[ ] The release date in the Release Note is set to the date of the MS3 approval

@johannsvarela is this going to be common/shared between other models also? If yes, then please change the package structure to io.catenax.shared.--, like for shared message header model.

modeling_team

FYI @jonbckr @BenediktMuellerIML @jacewski-bosch

@johannsvarela is this going to be common/shared between other models also? If yes, then please change the package structure to io.catenax.shared.--, like for shared message header model.

This is not shared.

@johannsvarela could you please update your branch with main branch. As your code does not include message header 2.0.0, so it is failing.

@agg3fe Done! :)

@agg3fe Done! :)

Thanks. assigned MS2 again. Let's do MS3 together in next meeting.

@agg3fe @catroest No required anymore, therefore this PR will be closed by myself! :)


Fix lazy val not working due to incorrect implementation

Some lazy val were unable to work due to incorrect order of initialization.
It is also related to extensions settings in test config.

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests


{cachix,hercules-ci-*}: update pin to nix_2_9

Description of changes
cc. @domenkozar @roberth

cachix: pin to nix_2_9
hercules-ci-{agent,cnix-expr,cnix-store}: pin to nix_2_9

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

See https://github.com/cachix/cachix/pull/410

Changed base to haskell-updates. We'll want to wait for the iteration after https://github.com/NixOS/nixpkgs/pull/178022 though.

I'm going to defer to @roberth for the merge, but AFAICT it's ready :)

I'm investigating a reported crash. I hope I can merge this soon.

Crash was due to a diverging expression. Still not pretty, but it was not a new problem.


no matching manifest for windows/amd64 10.0.17763 in the manifest list entries

Expected behavior
I need create a postgres image in my docker,which i install on zhe windows10
Actual behavior
an error
Information about the Issue
no matching manifest for windows/amd64 10.0.17763 in the manifest list entries
Steps to reproduce the behavior

open Kitematic-windows
create containers
3.chose the postgres offical image
4.get the error immediately

I have the same problem.


Spot failover

1. Issue, if available:
N/A
2. Description of changes:

Cache unfulfillable capacity due to Max Spot Instance Limit Exceed, vcpu limit exceeded, and generic unfulfillable capacity  (in addition to the existing insufficient capacity error)
Added request-id on the fleet error returned to aid in future debugging and error reports.
Raised the Unfulfillable cache TTL from 45 secs to 60 secs. This may need to go up slightly more, but the idea is to continue to make progress on different instance type options. I found 45 secs to be a little limiting.

3. How was this change tested?

Default spot limits, restricted provisioner to r6i.metal:

karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:02.881Z	INFO	controller	Batched 1 pod(s) in 1.000856504s	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:03.522Z	DEBUG	controller	Discovered 351 EC2 instance types	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:03.625Z	DEBUG	controller	Discovered EC2 instance types zonal offerings	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:03.673Z	DEBUG	controller	Discovered subnets: [subnet-0b5670c1be69d427d (us-east-2c) subnet-03cbace186b972d1c (us-east-2b) subnet-029d1f82316bbaef7 (us-east-2a) subnet-0b5d9d38bd738720b (us-east-2b) subnet-02866ed856628c7df (us-east-2c) subnet-0798525f163e67f71 (us-east-2a)]	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:03.806Z	DEBUG	controller	Discovered security groups: [sg-078c68766ddaea9b3 sg-0a1c167ebd315f9b6]	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:03.807Z	DEBUG	controller	Discovered kubernetes version 1.21	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:03.852Z	DEBUG	controller	Discovered ami-08f9680431ceabfe7 for query "/aws/service/eks/optimized-ami/1.21/amazon-linux-2/recommended/image_id"	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:06.324Z	DEBUG	controller	MaxSpotInstanceCountExceeded for offering { instanceType: r6i.metal, zone: us-east-2a, capacityType: spot }, avoiding for 1m0s	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:06.324Z	DEBUG	controller	MaxSpotInstanceCountExceeded for offering { instanceType: r6i.metal, zone: us-east-2c, capacityType: spot }, avoiding for 1m0s	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:06.324Z	DEBUG	controller	UnfulfillableCapacity for offering { instanceType: r6i.metal, zone: us-east-2b, capacityType: spot }, avoiding for 1m0s	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:06.324Z	ERROR	controller	Launching node, creating cloud provider machine, with fleet error(s), MaxSpotInstanceCountExceeded: Max spot instance count exceeded; UnfulfillableCapacity: Unable to fulfill capacity due to your request configuration. Please adjust your request and try again.	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:06.324Z	INFO	controller	Waiting for unschedulable pods	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:12.325Z	INFO	controller	Batched 1 pod(s) in 1.000547863s	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:12.494Z	DEBUG	controller	Created launch template, Karpenter-wagnerbm-karpenter-demo-18277044170222877115	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:14.822Z	DEBUG	controller	VcpuLimitExceeded for offering { instanceType: r6i.metal, zone: us-east-2a, capacityType: on-demand }, avoiding for 1m0s	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:14.822Z	DEBUG	controller	VcpuLimitExceeded for offering { instanceType: r6i.metal, zone: us-east-2b, capacityType: on-demand }, avoiding for 1m0s	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:14.822Z	DEBUG	controller	VcpuLimitExceeded for offering { instanceType: r6i.metal, zone: us-east-2c, capacityType: on-demand }, avoiding for 1m0s	{"commit": "64fe6ef", "provisioner": "default"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:14.822Z	ERROR	controller	Launching node, creating cloud provider machine, with fleet error(s), VcpuLimitExceeded: You have requested more vCPU capacity than your current vCPU limit of 32 allows for the instance bucket that the specified instance type belongs to. Please visit http://aws.amazon.com/contact-us/ec2-request to request an adjustment to this limit.	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:14.822Z	INFO	controller	Waiting for unschedulable pods	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:20.824Z	INFO	controller	Batched 1 pod(s) in 1.000455581s	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:20.827Z	DEBUG	controller	Relaxing soft constraints for pod since it previously failed to schedule, adding: toleration for PreferNoSchedule taints	{"commit": "64fe6ef"}
karpenter-f4d59d8ff-nvf9v controller 2022-04-22T22:55:20.827Z	ERROR	controller	no instance type satisfied resources {"cpu":"1","memory":"256M","pods":"1"} and requirements node.kubernetes.io/instance-type DoesNotExist [], karpenter.sh/provisioner-name In [default], karpenter.sh/capacity-type In [on-demand spot], topology.kubernetes.io/zone In [us-east-2a us-east-2b us-east-2c], kubernetes.io/os In [linux], kubernetes.io/arch In [amd64], kubernetes.io/hostname In [hostname-placeholder-0004]{"commit": "64fe6ef", "pod": "default/spot-7cf8b75c76-jlwc5"}

Hard coded an invalid fleet request and watched for request id error:

karpenter-5b969c7bb4-r9s55 controller 2022-04-22T22:51:45.687Z	ERROR	controller	Launching node, creating cloud provider machine, creating fleet InvalidParameterValue: FleetType must be "request", "maintain" or "instant" (fc413064-89a5-4f35-96ba-b223f7bd139e)

4. Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: link to issue
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@trondhindenes A new release should go out today.

@suket22 will this PR include a fix for MaxSpotInstanceCountExceeded error as well.
Please find the whole log error
ERROR	controller.provisioning	Launching node, creating cloud provider machine, with fleet error(s), MaxSpotInstanceCountExceeded: Max spot instance count exceeded; UnfulfillableCapacity: Unable to fulfill capacity due to your request configuration. Please adjust your request and try again.


Error when I import PowerShellGet 3.0.23:  New-Alias: The alias is not allowed, because an alias with the name 'fimo' already exists

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.

Steps to reproduce
I am running command:
Import-Module PowerShellGet -MinimumVersion 3.0.23 -Scope Global -Force
I see errors:
New-Alias: The alias is not allowed, because an alias with the name 'fimo' already exists.
New-Alias: The alias is not allowed, because an alias with the name 'inmo' already exists.
New-Alias: The alias is not allowed, because an alias with the name 'pumo' already exists.
New-Alias: The alias is not allowed, because an alias with the name 'upmo' already exists.
It looks like that conflict is happening because the same aliases exist in 2.2.5 and 3.0.23 versions of PowerShellGet.
Should I not install PowerShellGet 3.0.23 until PowerShell 7.4 will be released?
Expected behavior
Module is loaded without errors

Actual behavior
New-Alias: The alias is not allowed, because an alias with the name 'fimo' already exists.
New-Alias: The alias is not allowed, because an alias with the name 'inmo' already exists.
New-Alias: The alias is not allowed, because an alias with the name 'pumo' already exists.
New-Alias: The alias is not allowed, because an alias with the name 'upmo' already exists.

But module at the end is loaded

Error details
My machine has PowerShellGet 2.2.5 installed.
Then I install new module Microsoft.PowerShell.PSResourceGet
Then I install PowerShellGet 3.0.23 for compatibility between PowerShellGet v2 and PSResourceGet modules.
When I load PowerShellGet 3.0.23 I see the errors.

When I run:
Get-Alias -Name 'fimo'

Output:
CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           fimo -> Find-Module                                2.2.5      PowerShellGet

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.8
PSEdition                      Core
GitCommitId                    7.3.8
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Version
3.0.23-beta23
Visuals
No response

I have the same problem


Update session after login/logout

Hi!
Thanks for the amazing bundle!
I'm using symfony with React, and most of the app's logic is happening on the client side.
I went through this tutorial and set up the PDO sessions:
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/master/Resources/docs/SessionSetup.md
and everything works as expected.
The thing is that I handle logging in and logging out via the ajax calls so the page is not refreshed.
If I refresh the page after logging in, everything works fine. The problem is when everything is on client side.
Any idea how could I update the user from the client side so the server knows if the user is logged in?
Thanks

Hi, for devs running into the same issue. I was using an AJAX authentication and had the same problem. The solution to this problem is closing the websocket connection and reconnect. It will recognise the new session.


Automatic batching in Datastore mutation APIs?

Datastore operations can only mutate/insert/delete 500 entities in one request. Should we try to get around that? Suggest definitely not for in-transaction operations, as we don't want to create another transaction. But when not in a transaction?

Decided not to do this, but need to document, as per #903.


Support conda as a package manager in addition to pip

Conda can used to install a wider variety of packages and being embraced by other ML systems like ML Flow.

ETA on this? I'm using a lot of numerical computing librarires that are really just FFIs for C libraries. They tend to be iffy to pip installand requirements.txt doesn't suffice.

/area jupyter
/kind feature
/priority p2


ActiveSupport::Logger.broadcast dropped in Rails 7.1

After upgrading to Rails 7.1, starting a consumers fails with the following:
=> Detected Rails, booting application...
=> Crashed: NoMethodError: undefined method `broadcast' for ActiveSupport::Logger:Class
[...]racecar-2.9.0/lib/racecar/rails_config_file_loader.rb:30:in `load!'

Is a fix in the pipeline? If not I'll make a PR shortly.

I'm curious as to why this PR was closed ( I would have liked that fix :grin:  )


enabled thread static fields in WebAssembly

@morganbr
I've enabled thread static fields, it's generating quite a bit more code as a result and it ended up pulling in some weirdness around virtual calls to System.Type. The EEType wasnt getting output, so I've put in a dependency for the owning type when calling a virtual method. If you have any ideas for a different place to trigger the reference for the EEType that works too.

The EEType wasnt getting output, so I've put in a dependency for the owning type when calling a virtual method

That sounds like a bug somewhere.
To put it into a sample: the code below is not supposed to have an EEType for MyProgram generated and for RyuJIT codegen, it won't. For CppCodegen it will, but only because CppCodegen predates dependency analysis infrastructure and it was never fully hooked up into it. Wasm codegen should be more like what we do with RyuJIT than what we do in CppCodegen.
internal class MyProgram
{
    protected virtual void DoNothing() { }

    private static void Main(string[] args)
    {
        MyProgram p = null;
        if (args == null)
            p.DoNothing();
    }
}

How can I call a method via virtual slot without an eetype? Is this case supposed to be devirtualized?

How can I call a method via virtual slot without an eetype? Is this case supposed to be devirtualized?

You don't need to directly reference the EEType at the callsite. The EEType is implicitly looked up by dereferencing the this pointer at runtime. The compiler only needs to emit the offset into the EEType to find the slot. The fact that there's no EEType into which the slot number could index doesn't matter; the code is not going to execute (and if it does execute, it will throw a NullReferenceException - because no EEType means we clearly never allocated such type).
The EEType might be required because of how virtual calls got hooked up for WASM, but this can be implemented without the EEType. E.g. a scheme that would likely work is:

Take InterfaceDispatchCellNode.cs as inspiration, with a couple differences:

The constructor only takes one MethodDesc (the slot defining method)
In GetData, only do a single Int32 write - the offset into the EEType to find the slot for the slot defining method
The rest of methods in InterfaceDispatchCellNode.cs can be pretty much taken verbatim (with a couple obvious tweaks

Hook up the new node into WebAssemblyCodegenNodeFactory (take inspiration from how the interface dispatch cell is hooked up in NodeFactory.cs)

Once you have that, to generate a virtual call, you would:

dereference this
dereference the "virtual method slot offset node" that corresponds to the slot defining method that is to be called
add those two numbers
dereference the result and call it


Bundling web workers

I have a package that uses a web worker. The code looks something like this:
src/index.js
let url = new URL('./worker.js', import.meta.url).toString();
const worker = new Worker(url);

When I run a build this index.js file is built into the dist-web folder, but the worker.js is not.
I don't think pika needs to automatically detect these workers or anything, but there needs to be a way to specify a second entry point so that worker.js can be built and placed alongside src/index.js.

+1, I also wonder if bundling each distribution should be toggleable, so that dist-web/ would have all individual files in it and this code would work that way. I like the idea of bundling being the default, but agreed that this should be supported.
For web workers specifically, I'm curious how this would work with tooling. From the little that I do know (having never used them myself) don't they have their own special things going on like the global importScripts function? I wonder if Rollup even supports that today?

How would you see this as being configured?

‘“bundled”: true/false’ option for each of these build-* plugins, maybe? Defaulting to true so that it’s optional

Wait, I think I'm confused now :) I'm not suggesting that anything not be bundled... I definite want things to be bundled. I just want to be able to specify a separate entry point, so that ['src/index.js', 'src/worker.js'] both of those files are bundled separate and put into their own files in dist-web. Does that make sense?

workers can be loaded using Blob / createObjectURL, so that's the best bet. https://gist.github.com/nolanlawson/23eff93d27ad09ff44b7e4d56ffd1d54

That method includes the worker's source in the main script. All we need here is a way to specify that there are multiple entry points. rollup should then write out both files to dist-web and the references will already be correct.


Do not filter locations which do not have coordinates

Fixes #443
This currently has no effect since there is only one store with no coordinates (and all other required attributes set):

'Kunstverein Würzburg e.V. ("Arte Noah"), Würzburg' was filtered out because longitude or latitude are null

It is not possible to get correct coordinates here since the street and plz are those of a Postfach:
<name><![CDATA[Kunstverein Würzburg e.V. (\"Arte Noah\")]]></name>
<strasse><![CDATA[Postfach]]></strasse>
<hausnummer><![CDATA[110937]]></hausnummer>
<plz><![CDATA[97035]]></plz>

So the store is only filtered out in a different place. I think I'd merge this anyway as this may change over time and it does not hurt. If no coordinates are found we just filter it out later on.

Maybe it makes sense, to have a PreSanitizeFilter and a PostSanitizeFilter Pipeline steps for clarification thinking

Done

I had to restart the CI from a failed state...


Xcode 6.4 Support

Xcode 6.4 is out and Alcatraz doesn't work for it. :/

+1 this

+1

+1 this is a potential duplicate of https://github.com/supermarin/Alcatraz/issues/294

fixed for me with
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`

@Jaym3s Worked for me too! Thanks!
I did not need to uninstall Alcatraz or the plugins.

@jaym3s Worked for me too.
On Tue, Jun 30, 2015 at 4:19 PM, Davy Li<EMAIL_ADDRESS>wrote:

@Jaym3s https://github.com/Jaym3s Worked for me too! Thanks!
I did not need to uninstall Alcatraz or the plugins.
—
Reply to this email directly or view it on GitHub
https://github.com/supermarin/Alcatraz/issues/307#issuecomment-117370687
.

@Jaym3s FTW!  The 'find' one-liner that you provided worked.  Thanks!  :beer:

@Jaym3s You rock!

@Jaym3s This works!

@Jaym3s Sweet. Thanks!
Anybody having an issue with not being able to find "Package Manager" under "Window" anymore though?

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add 'defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID'
it works ,thx

We should find smarter solution. This kind of issues is most popular for Alcatraz.

@Jaym3s thx!

@Jaym3s bingo! :)

@Jaym3s what a beast that one-liner in Terminal. Made my day!

@Jaym3s thx!

@ajfigueroa
Same problem here. I quit both Xcode and Simulator and it is solved now.

@Jaym3s Thanks, works!

@ajfigueroa Have you found "Package Manager" under "Window" already? Plugins are working but I can't find the Package Manager..

谢谢，Thanks from China！

@Jaym3s worked for me too you are genius thanks!!

@marioacarvalho No dice yet. I've even re-installed and restarted after seeing #308 closed this issue. Any luck on your end?

@Jaym3s It works again. Thanks!

@ajfigueroa Not yet....

@Jaym3s  It doesn`t work...

@ajfigueroa I have the same problem with you.

Which OSX are you guys running, Yosemite or El Capitan?

Yosemite

@supermarin  @ajfigueroa  @Jaym3s

Yosemtite for me.  I've tried all of the above but I still get "Xcode Command Line Tools are not currently installed, and are required to run Alcatraz" after I install and try to access Package Manager.

+1

Not sure if its the case for you guys, but apparently after upgrading to 6.4 it asks if you want to load bundles again. I clicked skip without looking and that was blocking alcatraz from showing up in Window -> Package Manager. Long story short run this:
defaults read com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-6.4

to see if Alcatraz is on the skipped list:
{
    allowed =     {
        "io.realm.RealmPlugin" =         {
            version = 1;
        };
    };
    skipped =     {
        "com.mneorr.Alcatraz" =         {
            version = 1;
        };
        "io.github.FuzzyAutocomplete" =         {
            version = "2.1.0";
        };
    };
}

If it is you can run:
defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-6.4

and the next time you open xcode it should prompt to load bundles again. Hopefully this helps someone. Original instructions found here

@gantrim So it was installed all along, but just not loaded. Thanks! that worked for me.

@supermarin PR #315 would solve this problem.

"defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-6.4" on terminal worked for me.

@arctouch-diegosantiviago that worked for me too, thanks.

@gantrim Thanks again, this helped me migrate to Xcode 7 also!


USBx HOST : Wifi dongle Support

Hello,
I'm checking on USBx middleware, does it support a class for wifi dongle ?
Thanks in advance

USBX support CDC-ECM and ASIX USB to ethernet bridge.
For WIFI dongle, is there any specific class information or vendor class information?


width: 'auto' -> Cannot read property 'style' of undefined

Environment
System:

OS: macOS 10.14.1
CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Memory: 375.34 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash

Binaries:

Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm

npmPackages:

styled-components: ^4.1.1 => 4.1.1

Reproduction
https://codesandbox.io/s/zklq7qp3j4
Steps to reproduce
I'm using styled-components in combination with react-spring, which works great, except when I want animate auto.
Expected Behavior
Animated width property
Actual Behavior
React crashes with Cannot read property 'style' of undefined

Sorry, wrong repository. Was meant to get reported at react-springs repo


fix: use lib paths instead of src to reference submodule imports across data-cli split

Description of changes
While prepping to split the first round of data and cli packages, I realized we had a few places where we were importing locally from src, rather than from lib of the distributed package. This addresses the two issues I spotted. I was hoping to get a generalized solution and check in place using something like tslint/no-submodule-imports, but it looks like we aren't onboarded w/ tslint yet, and I couldn't get the eslint package no-internal-modules working quite as expected, so ended up just addressing these two.
Issue #, if available
N/A
Description of how you validated changes
Built and ran unit tests.
Current path imports (fails unless local)

https://unpkg.com/<EMAIL_ADDRESS><EMAIL_ADDRESS>
Updated path imports

https://unpkg.com/<EMAIL_ADDRESS><EMAIL_ADDRESS>
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)
[x] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #9984 (2acc937) into master (3df3af0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9984   +/-   ##
=======================================
  Coverage   54.17%   54.17%
=======================================
  Files         835      835
  Lines       46117    46117
  Branches     9839     9839
=======================================
  Hits        24982    24982
  Misses      19144    19144
  Partials     1991     1991

Impacted Files
Coverage Δ

...rc/graphql-transformer/transform-graphql-schema.ts
15.53% <ø> (ø)

...graphql-elasticsearch-transformer/src/resources.ts
100.00% <ø> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Adding controls as options

Hi,
We are using the dropdown, to display options that have sub controls, so imagine a menu that opens, and each of the items has a +, and - buttons, and a textbox in the middle.  This is used to adjust quantities. This all works and displays nicely.
The problem we are facing is that whenever you click on anything on the option, the menu closes.  Is there a way that we can prevent this behavior? We have a Select button at the bottom which the user clicks to close the dropdown.
Any help would be appreciated.
Cheers,

@KiLLeRRaT have you tried "preventing" the event from within elements childed to the dropdown with something like this? onClick = e => e.preventDefault(); I'm not certain if this would solve the issue for you, but it might.

Hi @iambumblehead thanks for coming back to me.
Hmm I don't think that works.  Here is a basic working example I've set up which you can try if you have any other ideas.
https://codesandbox.io/s/react-playground-forked-1nr35?file=/index.js
Here is the code for it:
import React, { useState, useEffect } from "react";
import ReactDOM from "react-dom";
import { Dropdown } from "react-dropdown-now";
import "react-dropdown-now/style.css";

export default function Search() {
  function button_click(e) {
    console.log("button_click");
    e.preventDefault();
    e.stopPropagation();
  }

  let passengerOptions = [];
  let passengerElement = (

      <button type="button" onClick={button_click}>
        button
      </button>
       my element

  );
  passengerOptions.push({ id: "1", label: "label 1", view: passengerElement });
  passengerOptions.push({ id: "2", label: "label 2", view: passengerElement });
  passengerOptions.push({ id: "3", label: "label 3", view: passengerElement });

  return (

Hello world

      <Dropdown
        placeholder="Select passengers"
        options={passengerOptions}
        value=""
        onSelect={function (option, e) {
          e.preventDefault();
          e.stopPropagation();
        }}
      />

  );
}

ReactDOM.render(<Search />, document.getElementById("container"));

Thanks again,

@KiLLeRRaT just now I looked at this file https://github.com/iambumblehead/react-dropdown-now/blob/master/src/components/Option.tsx#L45-L47
after that I tried this in the sandbox demo you shared
<button
    type="button"
    onClick={button_click}
    onKeyDown={e => e.stopPropagation()}
    onMouseDown={e => e.stopPropagation()}
>button</button>

After adding onKeyDown and onMouseDown stopPropagation, the dropdown stays open when clicking the button. How does it work for you?
cc @lwhiteley for your interest

Hi @iambumblehead,
Thanks for that, it works as we want it to work :)
What we're working towards is having a + and - button, with a textbox for QTY, and at the end of the select box, have a Close button.  The  + and - buttons work now, but with the input, there is still no way to type into it, it keeps closing :)
I'm starting to wonder if it would be handy to have some sort of open/close state exposed on the dropdown, so that you can open and close it programatically from outside of it's own code.
Thanks for helping out,

Hi @iambumblehead ,
We have since actually found that we can use the menu prop, and pass through our entire container.  This works exactly how we want it to work now :)
Thanks for the help!
Regards,

@KiLLeRRaT awesome thanks for looping me in!


Get tests to run during nightlies for KeyVaultProxy sample

The KeyVaultProxy sample added in PR #15123 has tests we should run as part of nightly tests, but doing so requires further workarounds to pull in more of our common code (e.g. Azure.Core.TestFramework) while not pushing too many repo policies (from a technical standpoint) on the sample, which can make it unnecessarily complex for a standalone sample, or even prevent it from running standalone. Keep mind these are intended to be downloaded from Samples Browser, so any "repo-isms" we add - like dealing with errors about including a PackageReference/@Version attribute - only complicate the sample.
/cc @weshaggard @jongio

Cut


ImportAdded support for in-place and link imports

Fix for the ImportAdded plugin crashing during in-place imports (#1107).
Add support for the new link imports introduced in Beets 1.3.9.
Note that link-imports that preserve file modification times will follow
the links and preserve the mtimes on the link targets. The mtimes on the
links aren't modified.

Since I created the plugin, I feel a certain responsibility ensure that it keeps working :-)


middlewares and reducers notifications

Hi! I happen to be developing an app using this library (thanks for this, btw!) and, after a thorough debugging process, I have spotted that all my reducers and middlewares get called on every new Action dispatch.
Thus, regardless which Activity or Fragment I am, any store.dispatch(MyAction()) triggers all reducer and middleware instances (I guess this means that I could even define all reducers and middlewares in the same file). Apart from finding this a bit inefficient, I wonder whether this is the only way to do it or there is a smarter approach.
Thanks and regards,

If you see the typical redux cycle, it has both reducers and middleware will be triggered for every action dispatch. This is by design. Please refer - https://blog.gisspan.com/2017/02/Redux-Vs-MVC,-Why-and-How.html

Thanks for the link, I find it very illustrative. However, The diagram shows a single View subscribed to a particular state and getting update by the middlewares + reducers chain. My question related to many views co-existing in an application (1 Activity and 2 Fragment instances, for example), and my proposal was to make reducers and middlewares receive Actions dispatched from the related View only.
I doubt whether this also happens in ReSwift. Do you happen to know this?

@pablodeafsapps
ReSwift has the same behaviour.
Existing architecture doesn't have any extensions to provide ids to reducer/middleware which could then be tracked down when dispatching actions specific to them but it looks like food for thought!

Thanks for your comments, @jitinsharma
After been working with ReKotlin for almost a month, I'd like to say I think it is a great piece of software. I mean, my comment above could maybe make it better, but it probably would lead us to have too many subscriptions in too many items.
Reached this point, there is only one main drawback I am facing right now: my Activity/Fragment files (i.e. UI) are growing way too much. Coming from MVP and VIPER, where the presenter handles any action performed over the View, it looks a bit untidy to me having Activity instances so full of code. I guess there are best practices on how to use ReKotlin, but some tips would be appreciated... ;)

hi @pablodeafsapps , I'm using ReKotlin right now and I have used ReSwift before. It is true that not all apps are suitable for this pattern but it is something you have to decide, together with you preferences about how to write code (more or less functional) . I wrote a post about it recently, hope it helps a bit.
Using Reswift and iOS you don't have to think too much because the state is kept in memory the whole time, but in Android you should take in account activities lifecycle, etc. IMO a single activity app is a better setup but again, it is another decision you'll have to take ;)

@pablodeafsapps
IMO a presenter could still be present with redux(pardon my limited knowledge on MVP).
It's not necessary StoreSubscriber to be implemented by Activity/Fragment. A Presenter could implement this allowing you to clean up code on Activity/Fragment.

Not sure about Presenter, @jitinsharma. I mean, it will clean up my code by adding a new "layer" to my architecture, with not a "real" Presenter though. A Presenter coordinates the whole action in MVP, getting updates from the View and querying the Model when needed. Since ReKotlin is based on unidirectional flow architectures, I guess this Presenter-ish will not make sense.
Again, this is a guess, and even so I still like your idea of a layer/class abstracting state subscriptions, so they get removed from Activity/Fragment instances.

@pablodeafsapps Can we close this issue?

@pablodeafsapps Closing this issue for now, as no further action is needed, if anyone comes up with a way to solve this feel free to raise a PR


iOS - Apple Sign in Button

Description
LEARNER-7871
In this PR I added the Apple sign-in button on the login and registration screen.
Notes
Please add the following config in iOS.yaml file to enable the Apple sign-in button.
APPLE:
    ENABLED: false

How to test this PR

The Apple Sign in button should show on the login and registration screen after enabling it from the config file.

@saeedbashir Ready for another pass.

@saeedbashir This kind of issues are producing due to extra row fix so I am removing its fix for now. We will look the specific extra row issue into a separate ticket

@saeedbashir PR is ready for review.

@salman2013 Tests are failing. You might need to generate new screenshots for the registration screen.

@saeedbashir  All Test cases have passed

Just a minor comment, else looks good.
Label Apple on button does not seem to be center aligned while running in RTL mode, on both iPhone and iPad.

@mumer92 I have fixed the comment. PR is ready.


installation fails using docker-machine with 0.6.0-rc5

RancherOS Version: 0.6.0-rc5
Where are you running RancherOS? docker-machine
Docker Machine Provider: virtualbox
Virtualbox Version: 5.1.4
the installation of a rancheros 0.6.0-rc5 using latest docker-machine fails, it can't connect to the docker engine, nor do ssh .

Are there any errors messages that Docker Machine gives? What is the exact version of Docker Machine?

In Virtualbox, did the VM come up? I have had issues with docker-machine where it will error out, but the VM is actually up and I am able to ssh in.
For example, here's what I just did using rc5 and how it errors out but I'm actually able to ssh in.
$ docker-machine create -d virtualbox --virtualbox-boot2docker-url rancheros-rc5.iso 060rc5
Running pre-create checks...
(060rc5) Boot2Docker URL was explicitly set to "rancheros-rc5.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
Creating machine...
(060rc5) Boot2Docker URL was explicitly set to "rancheros-rc5.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
(060rc5) Downloading /Users/deniseschannon/.docker/machine/cache/boot2docker.iso from rancheros-rc5.iso...
(060rc5) Creating VirtualBox VM...
(060rc5) Creating SSH key...
(060rc5) Starting the VM...
(060rc5) Check network to re-create if needed...
(060rc5) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with rancheros...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
$ docker-machine ssh 060rc5
[docker@060rc5 ~]$

my bad !!!
after doing some more test, it seems the issue is 0.6.0-rc5 have it's docker engine using socket only, no more tcp connexion available :(

Verified that tcp connection is working with v0.6.0-rc6.


[FEATURE]: will zero+bf16 be supported recently ?

Describe the feature
will zero+bf16 be supported recently ?

Hi @1024er Thanks for the feedback, we are busy with other tasks these days and don't plan to make it available soon, you are welcome to participate in its development as a community contributor. Thanks.


Option to request No Personalized As is not available

Describe the bug
The ads render by admob are by default personalized ads, if we want to send non personalized ads (for example in a country protected by GDPR where the user does not want to be tracked) we have to send the npa. See https://developers.google.com/admob/android/eu-consent#forward-consent
Currently there is not way to send any extra option to the Builder so all the ads served are tracked personalized ads.

Sure. I will implement at next release❢

Hi!
I am working on a branch where I am adding this to android. I hope it is
done in a couple of days and I can do a PR if you want.
El vie., 25 de septiembre de 2020 09:36, Masahiko Sakakibara <
<EMAIL_ADDRESS>escribió:

Sure. I will implement at next release❢
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/capacitor-community/admob/issues/11#issuecomment-698774498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ4MGPVM3E2QYZBWBECEOLSHRCABANCNFSM4RQ4NC7A
.


Issue with "enforce user to provide missing required attributes"

Enforce user to provide missing attribute can be done with skipping missing attribute page while do the federation authentication.
Steps to recreate:
Register SP for travelocilty app with SSO inbound authenticator
Add IDP for google federated authenticator
Map an additional claim in SP (e.g. phone)
Configure google IDP for federated outbound authenticator
Access travelocity with redirect url
Give google credentials => prompt to enter mendatory attribute
on "...authenticationendpoint/claim.do" page (see attached attribute.jpeg), click on browser back navigation button => directed to google choos account page
select particular account which already provided the credentials => authentication succeed and directed to travelocity home page
Refer to : https://wso2.org/jira/browse/IDENTITY-6849

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Compile Error dereferencing pointer to incomplete type 'esp_local_ctrl_transport_config_ble_t' (IDFGH-1612)

Environment
Development Kit: ESP32-LyraT
Module or chip used: ESP32-WROOM-32
IDF version (run git describe --tags to find it): v4.0-dev-1381-g6fe853a2c
Build System: Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp32-2019r1) 8.2.0
Operating System: Linux
Power Supply: USB
Problem Description:
Error while compiling.
esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c: In function 'copy_ble_config':
/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c:57:28: error: dereferencing pointer to incomplete type 'esp_local_ctrl_transport_config_ble_t' {aka 'struct protocomm_ble_config'}
memcpy(dest_config->ble->device_name,
^~
/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c:58:27: error: dereferencing pointer to incomplete type 'esp_local_ctrl_transport_config_ble_t' {aka 'struct protocomm_ble_config'}
src_config->ble->device_name,
^~
make[1]: *** [/esp-idf/make/component_wrapper.mk:292: src/esp_local_ctrl_transport_ble.o] Error 1
make: *** [/esp-idf/make/project.mk:584: component-esp_local_ctrl-build] Error 2

@kvbulusu Can you please share your sdkconfig file?

@kvbulusu Can you please share your sdkconfig file?
Attached..
sdkconfig.txt

@kvbulusu

Found that your sdkconfig has CONFIG_ESP_HTTPS_SERVER_ENABLE option disabled, any specific reason? (Example will not compile without this, refer https://github.com/espressif/esp-idf/blob/master/examples/protocols/esp_local_ctrl/sdkconfig.defaults). Once I enabled this, I did not encounter any build issues.
Interim I noticed few compilation issue with gdbstub enabled and toolchain esp32-2019r1, we will ensure that this gets fixed soon

@mahavirj
Thanks.  I'm not using the example and without that config my application used to compile.  But ofcourse I can enable it . will try.
For gdbstub, just FYI. I opened another issue  here .. hope it will be resolved soon https://github.com/espressif/esp-idf/issues/3834#issuecomment-515301149

@mahavirj   I still cant compile with the config enabled.....Its slightly different error now..
In file included from dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c:20:
dev/esp-va-sdk/components/protocomm/include/transports/protocomm_ble.h:75:78: note: expected 'const protocomm_ble_config_t *' {aka 'const struct  *'} but argument is of type 'esp_local_ctrl_transport_config_ble_t * const' {aka 'struct protocomm_ble_config * const'}
esp_err_t protocomm_ble_start(protocomm_t *pc, const protocomm_ble_config_t *config);
~~~~~~^~
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c: In function 'copy_ble_config':
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c:57:28: error: dereferencing pointer to incomplete type 'esp_local_ctrl_transport_config_ble_t' {aka 'struct protocomm_ble_config'}
memcpy(dest_config->ble->device_name,
^~
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_ble.c:58:27: error: dereferencing pointer to incomplete type 'esp_local_ctrl_transport_config_ble_t' {aka 'struct protocomm_ble_config'}
src_config->ble->device_name,
^~
dev/esp-idf/make/component_wrapper.mk:291: recipe for target 'src/esp_local_ctrl_transport_ble.o' failed
make[1]: *** [src/esp_local_ctrl_transport_ble.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC build/expat/expat/expat/lib/xmlparse.o
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c: In function 'start_httpd_transport':
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:75:10: error: 'protocomm_httpd_config_t' {aka 'struct '} has no member named 'ext_handle_provided'
.ext_handle_provided = true,
^
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:76:10: error: 'protocomm_httpd_config_t' {aka 'struct '} has no member named 'data'
.data = {
^~
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:76:9: warning: braces around scalar initializer
.data = {
^
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:76:9: note: (near initialization for 'pc_conf.stack_size')
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:77:13: error: field name not in record or union initializer
.handle = &server_handle
^
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:77:13: note: (near initialization for 'pc_conf.stack_size')
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:77:23: warning: initialization of 'size_t' {aka 'unsigned int'} from 'void **' makes integer from pointer without a cast [-Wint-conversion]
.handle = &server_handle
^
dev/esp-idf/components/esp_local_ctrl/src/esp_local_ctrl_transport_httpd.c:77:23: note: (near initialization for 'pc_conf.stack_size')
CC build/esp_wifi/src/smartconfig.o
dev/esp-idf/make/component_wrapper.mk:291: recipe for target 'src/esp_local_ctrl_transport_httpd.o' failed
make[1]: *** [src/esp_local_ctrl_transport_httpd.o] Error 1

@kvbulusu Seems like there is some issue with the local clone of IDF. These new errors could only happen if you are using a very old (older than v3.2 release) master branch. Are use sure you don't have multiple IDF local clones, and if you do, then is your IDF_PATH environment variable set correctly to the one with the latest master?

@anurag-kar  I have 3.2.2 and the latest dev branch (v4.0-dev-1443-g39f090a4f
) .. ...IDF_PATH is set correctly...Tried setting up from scratch multiple times and still see the issue...Not sure what else to check for...

@kvbulusu Can you please help to build example https://github.com/espressif/esp-idf/tree/master/examples/protocols/esp_local_ctrl from your IDF?  This example uses esp_local_ctrl component, so should help us to identify if there is anything missed out in setup/clone etc.

Reopening this issue, above commit only addresses part of the fix, still final confirmation required from @kvbulusu

@kvbulusu Did you get chance to try above suggestion?

@mahavirj  Thanks for the patience. We can close the issue. I was using esp-va-sdk and its based on v3.2.2 . It needs to be updated to be used with v4 (dev branch).

I ran into this issue today, what is the status of esp-va-sdk ?
Is it deprecated or will it be updated to support the latest version of espIDF?


CBC mode possibly unsafe

The CBC encrypt method is setting the IV to the last block of the textcipher.
The IV should not be known before encryption. An attack on SSL2.0 based on that principle can be found at:
https://en.wikipedia.org/wiki/Transport_Layer_Security#BEAST_attack
Could we generate a random IV and append/prepend it to the textcipher instead?

This cannot be changed at this level, as it is a low-level cryptographic primitive.
The IV must be known before encryption or decryption to prepare the AES state machine.
But the library does not set the IV to the last block of the ciphertext; it must be passed in (or defaults to 0).
If you have more information on that exploit, I’d love to read more on it, but it seems like it may be specific to how TLS was using it.

Oh fair point, I did not realized it was done at a lower level!
I have completely misread the code, sorry for that.
I am closing that issue.
Regarding the exploit, I am no expert, but this post was useful understanding what could go wrong.

Ah yes. That makes sense. It is more a problem with key reuse, and a side-channel attack.
Thanks! :)

After reading a bit more the details of CBC, I think you are right. I have removed my pull-request.
BEAST is focused on the first and second IV, not the subsequent value of that vector.
Thank you nonetheless!

Oh thanks! Sorry, I was busy with a hackathon and didn’t get back to you.
You can do the same thing as you were proposing by instantiating a new instance with the same key and new IV as well. :)


declaring streams with patches feels weird

Look at the tessellation example in cepl.examples. It's odd to say patches 3 in the def-g-> and patches in the stream.
Also doesnt this mean we can't use the stream with triangle pipelines?  We should do a couple of things:

store the GL enum value for the draw mode and use the low level ffi command,
make triangles a valid stream type for patch 3 (and so on for other types).

Fixed


Add Proton Mail

Adds recipe for Proton Mail.

@lukas-reineke Thank you so much for taking the time port this over! Much appreciated!


feat: Initial attempt at adding a --any-of feature

Make it possible to perform a subset of the requested jobs
QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Summary by CodeRabbit
Summary by CodeRabbit
Release Notes

New Features

Introduced --any-of command-line argument for flexible rule or file execution.
Enhanced DAG class to manage additional command-line options for job execution.
Added new rules in the Snakemake workflow for improved processing.
Updated DAGSettings and SchedulingSettings for better validation and functionality.

Tests

Added test_anyof() to validate the new any_of functionality in workflows.

Not yet working, as I really don't know exactly how I should be dealing with the DAG build process. I certainly would welcome any feedback or suggestions.
The impetus for this idea came from my stackoverflow question: https://stackoverflow.com/questions/79047235/how-to-execute-as-much-of-a-snakemake-workflow-as-possible
To wit:
Imagine I had a Snakefile with a rule graph of:
A1-->A2--\
                  C1-->C2
B1-->B2--/

I want to be able to do something like snakemake --any-of A2 B2 C2, and have it go ahead and do B2 if B1 was the only rule that could be executed.

Ok, I couldn't achieve quite what I originally wanted. Basically, it is now snakemake A2 B2 C2 --any-of A2 B2 C2, which at least meets the "explicit is better than implicit" rule. This does also lets you do `snakemake A2 B2 C2 --any-of B2 C2 as a way to make A2 a required target while the other two are optional.
Definitely needs more documentation and it wouldn't hurt to add more tests, too. I can do that, but I'm looking for some buy-in from others that think this is a good idea and/or want different semantics.

Actually, since the --any-of rules get added to the target list, snakemake A2 --any-of B2 C2 is the equivalent of snakemake A2 B2 C2 --any-of B2 C2. The hairy part of this semantic is that if no targets are expressed (i.e. snakemake --any-of A2 B2 C2, then the implicit default rule target becomes the "required" rule if its name doesn't match the name of one of the "any-of" rules. Since that would usually be all, and as such could lead to some confusion. However, this could be dealt with with proper documentation and examples, I think.
The alternative semantic, where the set of "any-ofs" indicates which rules in the DAG are optional, now seems fraught to me. What if, for example, I specified --any-of A2 B2, and my default rule was "all" which is basically C2. Should the DAG still fail? What if I specified --any-of A1 B1 and I decided that the previous case should not fail, does that mean that I only do A1 and/or B1, or do I move on to A2 and B2? Unless there is some sort of precedence here that I could follow, I'm going to say that this sort of semantic meaning should be discarded.


Running a command that expects a subcommand shows misleading error

Running a command that expects a subcommand will return this:
Can't instantiate abstract class GenerateTask with abstract methods run
which is misleading.
Handle the error and print the help instead.

fixed


Error building a simple program with GOOS=darwin GOARCH=arm64 environment variables

What version of Go are you using (go version)?

david@iMac example % go version
go version go1.14.2 darwin/amd64
david@iMac example %

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
david@iMac example % go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/david/Library/Caches/go-build"
GOENV="/Users/david/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/david/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14.2_1/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.2_1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-build964299654=/tmp/go-build -gno-record-gcc-switches -fno-common"
david@iMac example %

What did you do?
I've tried to build a go program for different os/architectures
This is the program:

david@iMac example % cat main.go
package main

import "fmt"

func main() {
	fmt.Println("Hello world")
}
david@iMac example %

This is a build for linux os and arm64 arch

david@iMac example % GOOS=linux GOARCH=arm64 go build -ldflags=-v main.go
# command-line-arguments
HEADER = -H5 -T0x11000 -R0x10000
deadcode
symsize = 0
pclntab=453982 bytes, funcdata total 109667 bytes
symsize = 2352
symsize = 62088
49010 symbols
67772 liveness data
david@iMac example % file main
main: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=1EuGVMlN4cDnr8BlGzcV/X7K-Pkf9r2YwkiBrKP6J/8u7GPK0eoIKFAW43GX6K/pHAjSmKoxybfPCmtW00z, not stripped
david@iMac example %

Everything went fine.
Same build, but trying different OS (darwin) with same cpu set (arm64)

david@iMac example % GOOS=darwin GOARCH=arm64 go build -ldflags=-v main.go
# command-line-arguments
HEADER = -H1 -T0x2000 -R0x1000
deadcode
symsize = 0
pclntab=487711 bytes, funcdata total 119215 bytes
symsize = 0
symsize = 0
host link: "clang" "-o" "/var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-build581065135/b001/exe/a.out" "-Qunused-arguments" "/var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-link-251820392/go.o" "-no-pie"
/usr/local/Cellar/go/1.14.2_1/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: ignoring file /var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-link-251820392/go.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

david@iMac example %

What did you expect to see?
A successfully built
What did you see instead?
A linker error

host link: "clang" "-o" "/var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-build581065135/b001/exe/a.out" "-Qunused-arguments" "/var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-link-251820392/go.o" "-no-pie"
/usr/local/Cellar/go/1.14.2_1/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: ignoring file /var/folders/vr/c1zlgjd13fndm8vp_nqrtlf00000gn/T/go-link-251820392/go.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The problem is that darwin-arm64 does not support internal linking, which means that Go has to invoke the C linker, which means that you need to have a cross-linker from your host system to darwin-arm64.  The Go linker is invoking the C linker, but it's not a cross-linker, so it fails.
At present we assume that darwin-arm64 is an iPhone, so in general it only works for building for a mobile device.  See #38485.
I'm going to close this issue since there isn't much we can do at present, but if you want to repurpose this in some way that would be OK.


Unittest discovery fail to locate exact line of test with patching

VS Code version
Version: 1.62.0 (user setup)
Extension version
v2021.11.1422169775
OS type
Linux
OS version
21.04 LTS (Hirsute Hippo), Linux 5.11.0-36-generic
Python distribution
Operating system
Python version
3.9.5
Language server
Pylance
Expected behaviour
Run Test / Debug Test button should be located next to test definition line in the code.

Actual behaviour
Run Test / Debug Test button appears in the beginning of the file.

Steps to reproduce
Write a test with patching.
A temporary fix in:
.vscode-server/extensions/ms-python.python-2021.11.1422169775/pythonFiles/testing_tools/unittest_discovery.py
def get_sourceline(obj):
    try:
        # Fix -- start
        if hasattr(obj, 'patchings'):
            return str(obj.compat_co_firstlineno)
        else:
            s, n = inspect.getsourcelines(obj)
        # Fix -- end
    except:
        try:

Logs

/intucell/latest/testing/bin/python ~/.vscode-server/extensions/ms-python.python-2021.11.1422169775/pythonFiles/testing_tools/unittest_discovery.py . *_test.py
cwd: ~/work/scripts/playground

Code of Conduct

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

We will have to update the script to get the right name in another way. the code is already patched to provide source line for tornado. a better way is to examine the AST the find the right method names.

this works now!


Extract images from SRW and demo papers

[x] Ask SRW chair to get the PDFs
[ ] Ask Demo chairs to get the PDFs
[ ] Extract images and add them to the repo

@prabhat1081 We have added PDF urls in the sitedata_acl2020/demo_papers.csv and sitedata_acl2020/srw_papers.csv. Will you be able to extract images for those two files?
I think the SRW chair has also send the PDF via email. Not sure which one is easy.
If you need the demo PDFs in an email, I can ask the demo chairs to provide it.

Thanks @hao-fang. I have added the images for SRW papers in #176. I will use the links in demo_papers.csv to get the pdfs and add images.


Interferes with basic formatting of selected text

Describe the bug
Selected text cannot be modified by bold, italics, highlights, striked-through, brackets, quotes, or checkbox.
To Reproduce

Create a file with both some text and some icons

## Text

ab
cd
ef

## :TiBrain:

:LiFolderOpen:

Select the text ab cd ef.
Press formatting keys (*, =, ~, [, (, ', ", `, checkbox hotkey which is ctrl + L in my case).
Either nothing happens (in the case of =, ~, checkbox hotkey) or the selected text is deleted and the key's symbol is substituted (*, [, (, ', ", `).
If only a single line is selected, the error does not occur for the checkbox hotkey, but the key's symbol is again substituted for the text for all other cases (*, =, ~, [, (, ', ", `, checkbox hotkey).
If the ## :TiBrain: is deleted and multiple lines are selected, the error also does not occur for the some cases (=, ~, checkbox hotkey), but remains for all others (*, [, (, ', ", `).
If the the ## :TiBrain: is deleted and only a single line is selected, the error also does not occur in any case.

Expected behavior
The selected text should be wrapped by these formatting symbols, as is Obsidian's default behavior.

This is now fixed in v2.9.1.


Add dist into a CDN

Could you add the dist folder into a CDN for people who don't want to use npm?
Thanks

@GrandSchtroumpf it is already available on unpkg at<EMAIL_ADDRESS>but we will add a note in the readme as well

@z

Resolved with https://github.com/3box/3box-js/pull/201, closing now


Cannot generate Gantt chart

The Gantt chart I created can be previewed correctly, both in this VS Code plugin and in other mermaid tools. However, whenever I try to export/generate the graph, it gives the following errors:
Parse error on line 1:
#mermaid-16011334473
^
Expecting 'NEWLINE', 'SPACE', 'GRAPH', got 'BRKT'

@wenlzhang Hi, thank you for reporting the symptom. Could you share your mmd code if possible? It's really helpful to reproduce and investigate the buggy behavior.

After some further checking, i.e. when trying to simplify the Gantt diagram I have to be able to post it here, it turns out it can be some encoding issue for a pasted symbol from Word... The pasted symbol is ‐. However, the correct one should be -, which is extremely tricky to notice in this case...
From the error message, it says that the error happens in line 1, but it actually happens in line 8. For example, the mentioned error can be reproduced from the following example:
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task-in‐sec (The first dash symbol is correct while the second one is wrong)      :2014-01-12  , 12d
    another task      : 24d

Thank you for the information! I found the following error is occurred during generation. I'll fix it in the next version.
Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

Thank you for waiting. This should be resolved in v0.9.0.


start of developing server side for options

#not finished yet#
i added just a new route with a request handler for options

I'll fix the settings inconsistency.

i think this options is ready to merge, what do you think?

:+1:
I'm not completely satisfied with the UX of ToggleInputButton yet, but these improvements don't have to be a part of this PR. For example, it's weird that you can't click the checkbox when the input is empty. Ideally, empty input + checkbox = apply to all.
Anyway, we're really making progress here! :smiley: :cake: :tada:


Game module - "Task Failed Successfully" bug

I got the video game module today & tried to install the game module firmware through the ios app. It said "game module firmware installed successfully", then i tried to use it on my TV, but it displayed "video game module jot initialized". I tried to follow the installation process for the PC, but when I looked at the repository, the actual firmware file is missing. I only see the source code.

The issue is not related to mobile app


"why not promoted" logic needs to be updated for field promotion

Consider the following code (assuming Dart language version 3.2):
class C {
  final int? _i;
  C(this._i);
}

class D {
  int? _i;
}

f(C c) {
  if (c._i == null) return;
  print(c._i + 1);
}

main() {
  f(C(0));
}

The CFE issues the following error message when trying to compile this:
../../tmp/proj/test.dart:12:14: Error: Operator '+' cannot be called on 'int?' because it is potentially null.
  print(c._i + 1);
             ^
../../tmp/proj/test.dart:2:14: Context: '_i' refers to a property so it couldn't be promoted.
See http://dart.dev/go/non-promo-property
  final int? _i;
             ^

And the analyzer says:
  error - test.dart:12:14 - The operator '+' can't be unconditionally invoked because the receiver can be 'null'. Try adding a null check to the target ('!'). - unchecked_use_of_nullable_value
           - '_i' refers to a property so it couldn't be promoted.  See http://dart.dev/go/non-promo-property at test.dart:2:14.

It's correct to have errors with this example program, but the messages explaining why are incorrect. The reason _i can't be promoted is not because it's a property; it's because there's another non-final field with the same name in the same file.
The logic that creates these "why not promoted" messages needs to be updated to account for field promotion. Ideally it would be able to distinguish the following situations:

The property can't be promoted because it's public.
The property can't be promoted because it's a getter.
The property can't be promoted because it's a non-final field.
The property can't be promoted because there's a getter with the same name elsewhere in the library.
The property can't be promoted because there's a non-final field with the same name elsewhere in the library.
The property can't be promoted because there's a noSuchMethod forwarder with the same name elsewhere in the library.

\cc @MaryaBelanger
As part of https://github.com/dart-lang/site-www/issues/4254, since these diagnostic improvements likely won't be included until Dart 3.3 (as I understand it), we'll need to make sure https://dart.dev/tools/non-promotion-reasons is accurate/updated for the promotion changes.
Note that since this documentation is linked to from the SDK, it will need to reflect the behavior in 3.2 and before 3.2, with some way to distinguish between differences as necessary.

@parlough
Just to avoid confusion here, I want to make it clear that I am planning to do the diagnostic improvements before 3.2, and Marya and I exchanged emails yesterday to coordinate our efforts. (In fact I'm starting the work today!)
I can understand why you might have thought these diagnostic improvements wouldn't be included until Dart 3.3, because yesterday was the cutoff deadline for the Beta-2 branch, and our policy is not to turn on new language features after a Beta-2 release. But that policy doesn't apply to improvements that are outside the scope of the language specification. These diagnostic updates are outside the scope of the language specification because they won't change what programs are accepted by the compiler, and they won't the semantics of any accepted programs; they will just help the user to understand an error better when a program is rejected.

@stereotype441 I definitely misunderstood the estimated timeline then, thanks so much for clarifying! It's great to hear that these diagnostic improvements could land in 3.2.
I edited my comment to avoid confusion by others :)

The logic that creates these "why not promoted" messages needs to be updated to account for field promotion. Ideally it would be able to distinguish the following situations:
The property can't be promoted because it's public.
The property can't be promoted because it's a getter.
The property can't be promoted because it's a non-final field.
The property can't be promoted because there's a getter with the same name elsewhere in the library.
The property can't be promoted because there's a non-final field with the same name elsewhere in the library.
The property can't be promoted because there's a noSuchMethod forwarder with the same name elsewhere in the library.

I think these are all addressed in dart-lang/site-www#5246, I'll request your review there to confirm!


Looping does not work properly

Describe the bug
I wanted to create a metronome but there is a problem with the clock, it's not quite my tempo

it's buffering for a reason I ignore.
To Reproduce
a simulation on the sandbox
Expected behavior
Play the metronome at the right tempo
What I've tried
I've looked on a JQuery implementation on codepen and it worked fine
Additional context
Add any other context about the problem here.

Make sure you pass in the time variable provided by the scheduling callback, otherwise the timing will be wonky
 const loopA = new Tone.Loop((time) => {
      // use the 'time' variable to schedule the event precisely.
      synth.triggerAttackRelease("D4", "8n", time /* here */ );
    }, "1n").start(0);


Bring back support for excludeFilterConfig and includeFilterConfig options

I've recently upgraded from 2.0.1 version of the plugin to 4.4.4 and on switching over I'm finding these two extension properties are no longer available.
My use case is that I have a plugin that configures various code quality tools and uses config files inside the plugin for areas like exclusion/inclusions as defaults. What is happening when I use the current exclude/includeFilter properties is that if you run a "clean build" command then when it gets to the SpotBugs tasks, the temporary exclusion/inclusion file, set up during configuration phase,  has been deleted on performing the 'clean' task.
2.0.1 --> can supply text
spotBugsTask.excludeFilterConfig = project.resources.text.fromString(getClass().getResourceAsStream(fileName).text)
4.4.4 --> forces use of a file
spotBugsTask.excludeFilter.set(project.resources.text.fromString(getClass().getResourceAsStream(fileName).text).asFile())
Other plugins like PMD ('ruleSetFiles' and 'ruleSetConfig' properties) and Checkstyle ('configFile' and 'config' properties) continue to support this style of file or text input as config

I've approached this differently so don't require this functionality anymore


Bump dependencies

This is the outcome of running npm depth 1 update, and bumping clipboard to the next major version (2.0.0) which just renames the constructor to avoid a naming conflict.

You can preview this change here:
Built with commit 3a69e0e4cff2852a54176db14927622024cf612f
https://deploy-preview-205--govuk-design-system-preview.netlify.com

Why is this being bumped? upgrade from a vulnerable version of moment?

That was the trigger - thought it was a good time to review other dependencies at the same time.


Tests failing after clean install  due to package outside of project directory

After a clean clone. running the tests (flow) fails due to package 'source-map-support' being outside of project directory.
$ npm i && npm run test-tall
...
><EMAIL_ADDRESS>flow /Users/midgethoen/projects/project-y
> flow check

app/main.dev.js:19
 19:   const sourceMapSupport = require('source-map-support');
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This modules resolves to "<<PROJECT_ROOT>>/../../node_modules/source-map-support/package.json", which is outside both your root directory and all of the entries in the [include] section of your .flowconfig. You should either add this directory to the [include] section of your .flowconfig, move your .flowconfig file higher in the project directory tree, or move this package under your Flow root directory.
...

➜  project-y git:(master) node -v && npm -v
v7.10.0
4.2.0

Installing the package locally does not resolve the issue 🤔
I'm very new to this project, so any pointers in the right direction would be very helpful

Can't seem to reproduce this. What happens after you:
rm -rf node_modules
yarn
yarn flow-typed

Can anyone else reproduce this?

this runs without errors:
npm i -g yarn
rm -rf node_modules
yarn
yarn flow-typed && echo $?

#output
...
!! No<EMAIL_ADDRESS>libdefs found in flow-typed for the above untyped dependencies !!

I've generated `any`-typed stubs for these packages, but consider submitting
libdefs for them to https://github.com/flowtype/flow-typed/

✨  Done in 15.05s.
0

however this issue persists
➜  project-y git:(master) yarn flow
$ flow check
app/main.dev.js:19
 19:   const sourceMapSupport = require('source-map-support');
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This modules resolves to "<<PROJECT_ROOT>>/../../node_modules/source-map-support/package.json", which is outside both your root directory and all of the entries in the [include] section of your .flowconfig. You should either add this directory to the [include] section of your .flowconfig, move your .flowconfig file higher in the project directory tree, or move this package under your Flow root directory.

Found 1 error
error Command failed with exit code 2.

Upgrading the flow related packages fixes the issue for me:
➜  project-y git:(master) npm i<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/Users/midgethoen/projects/project-y
├──<EMAIL_ADDRESS>invalid
└──<EMAIL_ADDRESS>invalid
➜  project-y git:(master) yarn flow
yarn flow v0.24.4
$ flow check
Found 0 errors
✨  Done in 2.39s.


fix for width&height problem in haarcascade_mcs_xxx.xml files

https://github.com/Itseez/opencv_contrib/issues/644

This seems fine by me! @alalek can you also confirm this? This bug was already solved in the normal modules containing these models, but seem to be forgetten in the face module. This also leads me to the question, why are we keeping doubles of the same model in the repo? This seems a lot of overburden to maintain!

:+1:


chore: Make sure we are using the right secret key

Related to #36

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


An error occurred while trying to encrypt the provided data. The network name cannot be found. On cookie Authentication

From @nftWolverine on Wednesday, January 10, 2018 2:22:53 AM
StartUp.cs Code:
app.UseCookieAuthentication(new CookieAuthenticationOptions()
{
 AuthenticationScheme = AuthenticationConfigOptions.AuthenticationScheme,
CookieName = AuthenticationConfigOptions.CookieName,
AutomaticAuthenticate = true,
AutomaticChallenge = true,
CookieHttpOnly = true,
CookieSecure = env.IsProduction() ? CookieSecurePolicy.Always : CookieSecurePolicy.SameAsRequest,
CookiePath = AuthenticationConfigOptions.CookiePath,
ExpireTimeSpan = TimeSpan.FromMinutes(15),
 SlidingExpiration = true,
LoginPath = "/login",
LogoutPath = "/logout",
});
Login Code:
public async Task SignInAsync(HttpContext httpContext, User user)
{
string username = user.userName
 string serviceTypeIds = string.Join(",", user.Issuer?.Services.Select(x => (int)x.Type));
var identity = new ClaimsIdentity(claims, AuthenticationConfigOptions.AuthenticationType, ClaimTypes.NameIdentifier, null);
var principal = new ClaimsPrincipal(identity);
await httpContext.Authentication.SignInAsync(AuthenticationConfigOptions.AuthenticationScheme, principal, new AuthenticationProperties
            {
                IsPersistent = true,
                AllowRefresh = true,
                ExpiresUtc = DateTime.UtcNow.AddMinutes(15),
           });
        }

Application is hosted on azure and this error occur randomly and it disappears on restarting the azure App.
Copied from original issue: aspnet/Security#1601

We're closing this issue as no response or updates have been provided in a timely manner. If you have more details and are encountering this issue please add a new reply and re-open the issue.

We've recently started seeing this on one of our production web apps in Azure. Our application is a React SPA backed by an ASP.NET Core 2.2 API.
We use custom middle-ware in Startup.cs to write a CSRF token into a cookie for use in subsequent API calls:
app.Use((ctx, next) =>
{
    string path = ctx.Request.Path.Value;

    if (path.Equals("/", StringComparison.OrdinalIgnoreCase))
    {
        var tokens = antiForgery.GetAndStoreTokens(ctx);
        ctx.Response.Cookies.Append("CSRF-TOKEN", tokens.RequestToken, new CookieOptions() { HttpOnly = false });
    }

    return next();
});

Stack trace:
An exception has occurred: System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. ---> System.Xml.XmlException: Root element is missing.
	at System.Xml.XmlTextReaderImpl.Throw(Exception e)
	at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
	at System.Xml.XmlTextReaderImpl.Read()
	at System.Xml.XmlReader.MoveToContent()
	at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
	at System.Xml.Linq.XElement.Load(Stream stream, LoadOptions options)
	at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.ReadElementFromFile(String fullPath)
	at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()+MoveNext()
	at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
	at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
	at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
	at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()
	at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()
	at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
	at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
	at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow)
	at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRing()
	at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
--- End of inner exception stack trace ---
	at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
	at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenSerializer.Serialize(AntiforgeryToken token)
	at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery.Serialize(IAntiforgeryFeature antiforgeryFeature)
	at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery.GetAndStoreTokens(HttpContext httpContext)
	at MyAppName.Web.Startup.<>c__DisplayClass8_0.<Configure>b__1(HttpContext ctx, Func`1 next) in C:\VSTS\Agent1\_work\1\s\MyAppName.Web\Startup.cs:line 304
	at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
	at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
	at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
	at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
	at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)