added generics for contract type-safety

this is the implementation of the snippets I post on telegram. Types are a bit different because I make a fallback if "any" is passed. this is needed if the user are using javascript or artifact are imported somewhere, and we cant infer the types
latest ts playground
btw i remove infer using string. i think if they will use it, much better to use interface and define type there.

Hey, this is really cool! Thanks for creating this PR. This functionality would be really nice to have, we saw that there's some TODOs / refactors still needed. If we want to integrate this, then the inferring would also need to work for the unlock parts of the contract for sure.
We will have more bandwidth to get this implemented / integrated once the debugging tooling upgrade (v0.10) is released, so we'll get back to this issue after that.

on commit 90191fb i use ignore that error, because we know that it must be indexed and we are setting the right value
if we don't use ignore, we need to cast type manually
const name = f.name as keyof TFunctions;
this.functions[name] = this.createFunction(f) as TFunctions[keyof TFunctions];

Hey @PHCitizen, just want to write to let you know we haven't forgotten about this PR. We've finally released the debugging functionality with version 0.10.0 earlier this month. We will finally be able to pick this PR up in November. Thanks once again for the effort thusfar, and we'll work to get this integrated in November. 🙌

Regarding completing the TypeMap as documented in
// TODO: use proper value for types below
a back and forth with chatGPT suggested the following to include byte and bytesX types
type GenerateBytes<N extends number, Result extends unknown[] = []> =
  Result['length'] extends N
    ? never
    : `bytes${Result['length'] | 1}` | GenerateBytes<N, [...Result, unknown]>;

// TypeMap with dynamic fixed-length byte types
type TypeMap = {
  bool: boolean;
  int: bigint;
  string: string;
  byte: Uint8Array;
  bytes: Uint8Array;
  [K in GenerateBytes<100>]: Uint8Array;  // Generates `bytes1` to `bytes100`
  pubkey: Uint8Array;
  sig: Uint8Array;
  datasig: Uint8Array;
};

ChatGPT also suggested a possible solution to the nesting in GetTypeAsTuple and suggested renaming for clarity
/**
 * Converts an array of artifact parameters into a tuple type representing each parameter's type.
 *
 * Example:
 * If T = [{ type: 'int' }, { type: 'bool' }], GetParameterTuple<T> resolves to [bigint, boolean].
 */
type GetParameterTuple<T> =
  T extends readonly [{ type: infer ParamType }, ...infer Rest]
    ? [ParamType extends keyof TypeMap ? TypeMap[ParamType] : any, ...GetParameterTuple<Rest>]
    : [];

while further trying to improve the types ChatGPT suggested sometthing similar for InferContractFunction<T> which solves the deep nesting and combines the Prettify<T> and _InferContractFunction<T> helper types
It needs careful review and testing! but solving the nesting looks promising for maintainability... 👀
/**
 * Infers function argument types from an artifact ABI, producing a map of function names to argument tuples.
 *
 * Example:
 * If T = [{ name: 'func', inputs: [{ type: 'int' }] }, { name: 'otherFunc', inputs: [{ type: 'bool' }] }],
 * then InferContractFunction<T> resolves to { func: [bigint], otherFunc: [boolean] }
 */
type InferContractFunction<T> =
  T extends readonly [{ name: infer Name, inputs: infer Inputs }, ...infer Rest]
    ? { [K in Name & string]: GetParameterTuple<Inputs> } & InferContractFunction<Rest>
    : {};

type GenerateBytes<N extends number, Result extends unknown[] = []> =
  Result['length'] extends N
    ? never
    : `bytes${Result['length'] | 1}` | GenerateBytes<N, [...Result, unknown]>;

// TypeMap with dynamic fixed-length byte types
type TypeMap = {
  bool: boolean;
  int: bigint;
  string: string;
  byte: Uint8Array;
  bytes: Uint8Array;
  [K in GenerateBytes<100>]: Uint8Array;  // Generates `bytes1` to `bytes100`
  pubkey: Uint8Array;
  sig: Uint8Array;
  datasig: Uint8Array;
};

does this one compile? i cant compile it. anyway i expected there that the number are fixed and did not allow arbitrary number
if any number can be use i think we can use this one
type TypeMap = {
  [k: `bytes${number}`]: Uint8Array;
} & {
  "bool": boolean;
  "int": bigint;
  .....
}

Regarding to other improvement listed, i think i encounter that before and that is my first solution/attempt.
Then i came to place where "any" messed all up, so i try to push it futher and ended it that code😆
But maybe im wrong? who will feed "any" on that function. Anyway i think most of the user that will ended in "any" are those who uses JS, maybe they do not need type support or im thinking if the edge case error will show/not on them

does this one compile? i cant compile it. anyway i expected there that the number are fixed and did not allow arbitrary number
if any number can be use i think we can use this one
type TypeMap = {
  [k: `bytes${number}`]: Uint8Array;
} & {
  "bool": boolean;
  "int": bigint;
  .....
}

You are correct, my attempt did not 😅 thanks for the correct way!

Regarding to other improvement listed, i think i encounter that before and that is my first solution/attempt.
Then i came to place where "any" messed all up, so i try to push it futher and ended it that code😆
But maybe im wrong? who will feed "any" on that function. Anyway i think most of the user that will ended in "any" are those who uses JS, maybe they do not need type support or im thinking if the edge case error will show/not on them
will look futher soon

@PHCitizen it would be super helpful to also have that code if you have the typescript playground link!
I think indeed any handling might not be worth the additional complexity 🤔

I did another attempt to simplify the typings to increase maintainability & simplicity of the typescript code. I named the generics to make it more clear what is going on. Here is the main part:
class Contract<
  Artifact extends { constructorInputs: readonly any[]; abi: readonly any[] } = {
    constructorInputs: any[];
    abi: any[];
  },
  ResolvedTypes extends {
    constructorInputs: any[];
    functions: Record<string, any>;
  } = {
    constructorInputs: ParamsToTuple<Artifact["constructorInputs"]>;
    functions: AbiToFunctionMap<Artifact["abi"]>;
  }
> {
  functions!: ResolvedTypes["functions"];

  constructor(artifact: Artifact, params: ResolvedTypes["constructorInputs"]) {}
}

48 lines compared to the original nested 78 but it also removes the InferFn & InferCompiledFn helpers which might be helpful for manual typings
typscript playground link

On ParamsToTuple, if we pass type that dont match on the typemap, it defaults to UintArray
Solution: add extends to infer instead of using TypeMap[Type & keyof TypeMap]
type ParamsToTuple<Params> = Params extends readonly [infer Head, ...infer Tail]
  ? Head extends { type: infer Type extends keyof TypeMap}
      ? [TypeMap[Type], ...ParamsToTuple<Tail>]
    : [any, ...ParamsToTuple<Tail>]
  : [];

and also adding ReturnType  generic args to AbiToFunctionMap, instead of infering the return type as any. But im not really sure about this one
i think the best way is not to return function type when using AbiToFunctionMap, instead just return the result of ParamsToTuple
To make it simple, what i really intend is to simplify return type typing specifically for Contract.functions and Contract.unlock

I found the original on telegram! 😄 👍  https://t.me/bch_compilers/7456

hello just want to share type-safe "infer" for cashscript contract
but currently its for contract functions only (not for contract constructor)
but this need to change how the js function are called, thats why im not sure if you will like it😅
i mean of this
contract.functions.some_method(param1, param2)
it will become
contract.functions.some_method({ param1: value, param2: value})
but the advantage are autocomplete on available functions method, and error for params, (eg if we have class for every >paramType, ts-server can error if invalid class are passed)
TypeScript playground

We got started on implementing the fixes discussed by @PHCitizen and @mr-zwets above, and integrating the required changes into this PR. We also started adding tests for this type inference to the github repo, based on the test cases from the TS playground link(s) above.
One difficulty we noticed is that it is impossible to import a JSON file as const in TypeScript, which would be required to have proper type inference when importing artifacts from JSON files. The workaround for this is to store the artifacts in a .ts files instead of JSON, but this does reduce their portability. See https://github.com/microsoft/TypeScript/issues/32063 for more info about this issue.
We'll continue the work on this on Thursday, and I think we should be able to finish most of the test cases and refactors by then. And then we'll just need to think if there are better ways to mitigate the "const json" issue.

We finished the refactors + tests, so this should be good to go. The only drawback is still that we cannot infer proper types from JSON files, so we want to add an option to the cashc CLI to export a .ts file instead of a .json file, so that types can be inferred.
Next Tuesday we will add this option, update documentation and release this functionality. 🫡

Thanks @PHCitizen for this contribution. We added the --format ts flag that we talked about in the previous comment. Hopefully TypeScript makes it possible some time in the future to import JSON files as const so we don't need that workaround. But for now it is nice to give our users the option of proper typings if they use that flag.


Add reserved unused keywords

This PR adds support for reserved unused keywords (literals). Currently there are only two: const and goto.
The change allows highlighting of such keywords in an Atom grammar. Otherwise, it is difficult to highlight literals using regex, since the scope could be different, e.g. we should not highlight them in the comments.

@maxbrunsfeld can you review? Thanks.

Can I get a review on this PR?


Dashboard should show an estimate of how long it will take for a job to finish

So if there are 1,213,243 and the job goes at ~6.1 per second, ten the dashboard would show an estimated completion time of approximately 2 days and 7 hours

How exactly would this estimate be computed?  Remember, the queue tends to grow continuously and taper off.

It could be computed by dividing the known queue by the shown rate. Yes, the estimation would fluctuate a bit, but then again, Windows is infamous for that same thing.

Is a bad estimate better than no estimate?  I think it's better to only present the known data.
There have been some experiments in using the dashboard data to build graphs (and, from there, trends), see e.g. https://wiki.dequis.org/notes/archivebot_dashboard_fun/.  You might find that to be a good starting point for extending one of the existing dashboards or making a separate tool.


Improve error reporting/debugging of provide/inject, or allow require flag for inject

What problem does this feature solve?
Currently when an inject fails to resolve, nothing happens, and the injected value just remains untouched. This seems like an opportunity to warn the developer that an inject could not be resolved.
Perhaps this is intended behavior. Maybe it makes sense that sometimes an injection would not be resolved. If that is the case, could there be a way to indicate a given inject is required? A stricter injection method?
My current workaround is to throw an error if the object is undefined as of create (since injects are resolved by then), but it's a manual step that must be made in many places.
What does the proposed API look like?
If a new API is needed to support this, I am not sure how to design it.
As for warning, I was hoping that when an inject could not be resolved, there would be a warning in the browser console.

@johnhargrove could you give an example of failing inject? I'm not sure when can this happen.

@lokson This is any situation in which a child component has an inject which can't be satisfied by a provide in itself or any of its component ancestors, including the root Vue object itself.
I ran into this while developing a validation service. Basically, I have a ValidationService class which is a provide on a top level component which represents a collection of form inputs. The inputs themselves are very complicated, so they are their own Vue components:
 FormComponent (provides ValidationService)
 |-- ComplicatedInput (expects ValidationService inject)
 |-- ComplicatedInput (expects ValidationService inject)

If, when building this, I forget to provide the ValidationService on the parent FormComponent, the ComplicatedInput components will silently never have their reference to ValidationService injected. This results in errors related to accessing members of an undefined object, etc.
My theory here and the reason for this feature request is that getting some kind of indication that an inject went unsatisfied seems useful for development.

<EMAIL_ADDRESS>


403 Forbidden when loading m3u

OS: Ubuntu 20.04.3 and Windows Server 2019.
Xteve version: Most recent 2.2.0 build 0200
db version 2.1.0
Getting a 403 forbidden error when trying to update my m3u or add a new one.  I have tried this on both ubuntu 20.04.3 and Windows server 2019.  I can download the m3u to my machine locally and xteve will load the info.  The link is working as it should be.
I have tried both m3u and m3u plus, but same results.
Here are some console logs.
2022/03/25 15:11:18 [xTeVe] Download: http://XXXXXX.link:8080/get.php?username=XXXXXX&password=XXXXXX&type=m3u_plus&output=ts
2022/03/25 15:11:18 [xTeVe] [ERROR] 403: http://XXXXXX.link:8080/get.php?username=XXXXX&password=XXXXX&type=m3u_plus&output=ts Forbidden () - EC: 0
2022/03/25 15:11:18 [xTeVe] [ERROR] 403: http://XXXXX.link:8080/get.php?username=XXXXX&password=XXXXX&type=m3u_plus&output=ts Forbidden () - EC: 0

403 comes from the provider, they are blocking access to the m3u. Ask them.

Try changing the user agent in xTeve.

403 is from Provider.....


Feature/essentia

Description

Add Essentia wallet
Update readme

Black Duck Security Report
Merging #45 into develop will not change security risk.
Click here to see full report


Update Deploy to Azure button

This page has to have Azure button but now AWS button.
AWS page too.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

This was fixed in #1466, but thanks for your report!


Produce a programmatically usable list of nodes deleted from an Islandora instance

Title (Goal)
Remove deleted Islandora content from systems that harvest info from Islandora

Primary Actor
Staff responsible for system integrations at an institution using Islandora

Scope
?

Level
?

Story
As staff responsible for system integrations at an institution using Islandora, I want to set up an automated process where records for objects deleted from Islandora are removed from our discovery layer/federated search/etc. in a timely manner, because no one likes to discover content they cannot access

Very similarly, if any external aggregators harvest data from your Islandora to populate a state, regional, or national discovery platform, they need to be able to remove objects that are no longer accessible from their services.
This is an important interoperability feature for any modern repository. Given that Islandora may be used with or without Fedora, the availability of this information should not depend upon having Fedora in your Islandora stack.
This is related to, but different from the issue of tombstones.  I understand tombstones as maintaining some kind of friendly/informative publicly accessible display at the location/ID of a deleted object that indicates that the object has been deleted, instead of serving a 404 error. This is not meant for human consumption, and can probably just be a list of node ids
Note: this issue is submitted in my capacity as a LYRASIS employee, representing the needs/requests of our Islandora clients. It has not been discussed or vetted by the Islandora Metadata Interest Group

This feature would be useful for preservation purposes too because 'deleted' is a PREMIS event.

Suggestions from 2021-06-30 tech call:

use Events Logging module to create a view
verify OAI-PMH does this


Error creating Integration on First Deploy

What happened?
We always seem to get the following error during the first pulumi up. When I run pulumi up again after the failure, it completes fine.
My guess is, when creating objects, Splunk does some additional steps in the background to set up their side of the AWS role and the additional time is needed for this to happen. Might it make sense to add a retry or something?
@ Updating....
    pulumi:pulumi:Stack splunk-99999999999  warning: use_get_metric_data_method is deprecated: This field will be removed
 +  pulumi:pulumi:Stack splunk-99999999999 creating (0s) warning: use_get_metric_data_method is deprecated: This field will be removed
@ Updating....
 +  signalfx:aws:ExternalIntegration aws-NAME_observability_external_integration creating (0s)
@ Updating.....
 +  signalfx:aws:ExternalIntegration aws-NAME_observability_external_integration created (2s)
@ Updating.......
 +  aws:iam:Role splunk-observability-role creating (0s)
@ Updating....
 +  aws:iam:Role splunk-observability-role created (0.54s)
@ Updating....
    signalfx:aws:Integration aws-NAME_observability_integration  warning: urn:pulumi:99999999999::splunk::signalfx:aws/integration:Integration::aws-NAME_observability_integration verification warning: "use_get_metric_data_method": [DEPRECATED] This field will be removed
 +  signalfx:aws:Integration aws-NAME_observability_integration creating (0s) warning: urn:pulumi:99999999999::splunk::signalfx:aws/integration:Integration::aws-NAME_observability_integration verification warning: "use_get_metric_data_method": [DEPRECATED] This field will be removed
 +  signalfx:aws:Integration aws-NAME_observability_integration creating (0s) error: 1 error occurred:
 +  signalfx:aws:Integration aws-NAME_observability_integration **creating failed** error: 1 error occurred:
 +  pulumi:pulumi:Stack splunk-99999999999 creating (9s) error: update failed
@ Updating....
 +  pulumi:pulumi:Stack splunk-99999999999 **creating failed (8s)** 1 error; 1 warning
Diagnostics:
  pulumi:pulumi:Stack (splunk-99999999999):
    warning: use_get_metric_data_method is deprecated: This field will be removed
    error: update failed
  signalfx:aws:Integration (aws-NAME_observability_integration):
    warning: urn:pulumi:99999999999::splunk::signalfx:aws/integration:Integration::aws-NAME_observability_integration verification warning: "use_get_metric_data_method": [DEPRECATED] This field will be removed
    error: 1 error occurred:
    	* creating urn:pulumi:99999999999::splunk::signalfx:aws/integration:Integration::aws-NAME_observability_integration: Unexpected status code: 400: {
      "code" : 400,
      "errorType" : "validation",
      "failedRegions" : [ "us-east-1" ],
      "message" : "Error validating AWS / Cloudwatch credentials\nValidation failed for following region(s):\nus-east-1\n[ec2] software.amazon.awssdk.services.sts.model.StsException: User: arn:aws:sts::562691491210:assumed-role/eks-us1-cloud-metric-syncer/aws-sdk-java-1690199570814 is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::99999999999:role/splunk/splunk-observability (Service: Sts, Status Code: 403, Request ID: eac90aa6-0013-4b9a-9000-cc7be53ca1ea)\n[monitoring] software.amazon.awssdk.services.sts.model.StsException: User: arn:aws:sts::562691491210:assumed-role/eks-us1-cloud-metric-syncer/aws-sdk-java-1690199570814 is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::99999999999:role/splunk/splunk-observability (Service: Sts, Status Code: 403, Request ID: 1c994551-421c-4672-a58e-21924cc1f6aa)",
      "successRegions" : [ ]
    }
    Please verify you are using an admin token when working with integrations
Outputs:
    splunk_observability_role_arn: "arn:aws:iam::99999999999:role/splunk/splunk-observability"
Resources:
    + 3 created
Duration: 11s

Expected Behavior
The expected behavior would be that the pulumi_signalfx.aws.ExternalIntegration and pulumi_signalfx.aws.Integration resources both create in a timely\successful manner
Steps to reproduce
Code to reproduce minus some of the parameter setup for pulumi_signalfx.aws.Integration
account_prefix = config.require("account-prefix")

observability_external_integration = pulumi_signalfx.aws.ExternalIntegration(
    f"{account_prefix}_observability_external_integration"
)

observability_role = aws.iam.Role(
    "splunk-observability-role",
    name="splunk-observability",
    path="/splunk/",
    assume_role_policy=pulumi.Output.all(
        observability_external_integration.signalfx_aws_account, observability_external_integration.external_id
    ).apply(
        lambda args: json.dumps(
            {
                "Version": "2012-10-17",
                "Statement": [
                    {
                        "Sid": "SplunkAssumeRole",
                        "Effect": "Allow",
                        "Principal": {"AWS": args[0]},
                        "Action": "sts:AssumeRole",
                        "Condition": {"StringEquals": {"sts:ExternalId": args[1]}},
                    }
                ],
            }
        )
    ),
    inline_policies=[
        aws.iam.RoleInlinePolicyArgs(
            name="publishpolicy",
            policy=json.dumps(
                {
                    "Version": "2012-10-17",
                    "Statement": [
                        {
                            "Effect": "Allow",
                            "Action": [
                                "apigateway:GET",
                                "autoscaling:DescribeAutoScalingGroups",
                                "cloudcontrol:ListResources",
                                "cloudcontrol:GetResource",
                                "cloudfront:GetDistributionConfig",
                                "cloudfront:ListDistributions",
                                "cloudfront:ListTagsForResource",
                                "cloudwatch:DescribeAlarms",
                                "cloudwatch:GetMetricData",
                                "cloudwatch:GetMetricStatistics",
                                "cloudwatch:ListMetrics",
                                "directconnect:DescribeConnections",
                                "dynamodb:DescribeTable",
                                "dynamodb:ListTables",
                                "dynamodb:ListTagsOfResource",
                                "ec2:DescribeInstances",
                                "ec2:DescribeInstanceStatus",
                                "ec2:DescribeNatGateways",
                                "ec2:DescribeRegions",
                                "ec2:DescribeReservedInstances",
                                "ec2:DescribeReservedInstancesModifications",
                                "ec2:DescribeTags",
                                "ec2:DescribeVolumes",
                                "ecs:DescribeClusters",
                                "ecs:DescribeServices",
                                "ecs:DescribeTasks",
                                "ecs:ListClusters",
                                "ecs:ListServices",
                                "ecs:ListTagsForResource",
                                "ecs:ListTaskDefinitions",
                                "ecs:ListTasks",
                                "eks:DescribeCluster",
                                "eks:ListClusters",
                                "elasticache:DescribeCacheClusters",
                                "elasticloadbalancing:DescribeLoadBalancerAttributes",
                                "elasticloadbalancing:DescribeLoadBalancers",
                                "elasticloadbalancing:DescribeTags",
                                "elasticloadbalancing:DescribeTargetGroups",
                                "elasticmapreduce:DescribeCluster",
                                "elasticmapreduce:ListClusters",
                                "es:DescribeElasticsearchDomain",
                                "es:ListDomainNames",
                                "kinesis:DescribeStream",
                                "kinesis:ListShards",
                                "kinesis:ListStreams",
                                "kinesis:ListTagsForStream",
                                "kinesisanalytics:ListApplications",
                                "kinesisanalytics:DescribeApplication",
                                "lambda:GetAlias",
                                "lambda:ListFunctions",
                                "lambda:ListTags",
                                "logs:DeleteSubscriptionFilter",
                                "logs:DescribeLogGroups",
                                "logs:DescribeSubscriptionFilters",
                                "logs:PutSubscriptionFilter",
                                "organizations:DescribeOrganization",
                                "rds:DescribeDBInstances",
                                "rds:DescribeDBClusters",
                                "rds:ListTagsForResource",
                                "redshift:DescribeClusters",
                                "redshift:DescribeLoggingStatus",
                                "s3:GetBucketLocation",
                                "s3:GetBucketLogging",
                                "s3:GetBucketNotification",
                                "s3:GetBucketTagging",
                                "s3:ListAllMyBuckets",
                                "s3:ListBucket",
                                "s3:PutBucketNotification",
                                "sqs:GetQueueAttributes",
                                "sqs:ListQueues",
                                "sqs:ListQueueTags",
                                "states:ListActivities",
                                "states:ListStateMachines",
                                "tag:GetResources",
                                "workspaces:DescribeWorkspaces",
                            ],
                            "Resource": "*",
                        }
                    ],
                }
            ),
        ),
    ],
    opts=pulumi.ResourceOptions(depends_on=[observability_external_integration])
)

pulumi_signalfx.aws.Integration(
        f"{account_prefix}_observability_integration",
        enabled=True,
        use_get_metric_data_method=True,
        named_token=token_name,
        integration_id=observability_external_integration.id,
        external_id=observability_external_integration.external_id,
        role_arn=pulumi.Output.all(observability_role.arn).apply(lambda args: str(args[0])),
        regions=regions,
        poll_rate=300,
        enable_check_large_volume=True,
        import_cloud_watch=True,
        enable_aws_usage=False,
        namespace_sync_rules=namespace_sync_rules,
        sync_custom_namespaces_only=False,
        custom_namespace_sync_rules=custom_namespace_sync_rules,
        opts=pulumi.ResourceOptions(depends_on=[observability_role, observability_external_integration]),
)

Output of pulumi about
pulumi-3.76.0 pulumi-aws-5.42.0 pulumi-docker-3.6.1 pulumi-gitlab-6.1.1 pulumi-signalfx-5.10.0
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@jamie1911 Thanks for reporting this issue and sorry you're facing this. I'm still trying to repo this on my side and will update once I do. To clarify, is this issue of creating an Integration something that occurs frequently? From the logs you provided, it does appear to be a timeout related issue, so attempting a retry might be a potential solution for this.

@jamie1911 Thanks for reporting this issue, and sorry that you're experiencing it. I'm still trying to repro this locally and will update once I get more information. To clarify, is this an issue that you're consistently facing when you attempt to create an Integration? From the log provided, it does appear to be timeout related, so your suggestion of attempting a retry might be a possible solution here.

@jamie1911 Thanks for reporting this issue and sorry you're facing this. I'm still trying to repo this on my side and will update once I do. To clarify, is this issue of creating an Integration something that occurs frequently? From the logs you provided, it does appear to be a timeout related issue, so attempting a retry might be a potential solution for this.

Hello @rquitales, the issue I am facing happens only during the first pulumi_signalfx.aws.ExternalIntegration and first aws.iam.Role to support the first pulumi_signalfx.aws.Integration. Essentially, we create AWS accounts somewhat regularly for different projects or developers. When we create an AWS account, someone goes and adds this new AWS account to splunk observability via a new pulumi stack in the project that uses the code referenced in the issue.
it ALWAYS fails the first time we run pulumi up. normally once it fails with an error as shown above. However, when we rerun pulumi up, it then succeeds.
My guess is, the initial creation of the IAM role in our account and Splunk doesn't have the role in their IAM permissions just yet as Integration has role_arn which tells Splunk what role to assume. I'm thinking there is some delay on Splunk side while it sets the role, however pulumi or the provider is checking if its complete too soon.


WFLY-18977 Upgrade jgroups-kubernetes to 2.0.2.Final

Resolves
https://issues.redhat.com/browse/WFLY-18977

Thanks @rhusar


Dynamic height, expansion of the size in every directions

Hi,
I was wondering if it would be possible to have a dynamic height as in this example :
http://gridster.net/demos/dynamic-grid-width.html
but not just on the right even on top, to move items on top of the first one for example.
I trying to do something like that for 2 days now so if someone as a workaround it would be so cool (I know it can implies many code lines because we will have to change all the index of the other items etc...)!
Thanks a lot.

+1

Hi @estvmachine did you figure out a solution, workaround? I was think of adding a button on top of the grid which trigger a function to increase the number of row, than offset all the item to the bottom (coord y minus 1) but it might be tricky :(

A not so elegant solution would be to disable floating.  This allows you to place an item anywhere and resizes the grid vertically as you drag.  But items do not "float" up to the top as "normal"

Mmmh I see your point, but I'm trying to build a vertical timeline with gridster so what if I want to resize the first element in the top direction?

Unfortunately, that will more than likely require a custom solution.


Adapt notebooks for devcloud

NOTE: This is intended to be on a "devcloud" branch, not main!
This pull request contains 2 changes:

Remove pip install instructions: in DevCloud, or in environments like The Littlest JupyterHub, kernels are prepared by an admin for the users, so pip install instructions usually don't have the intended effect. Also, for a non admin users it install packages in ~/.local, which causes duplication
Update the kernel to be the one provided in DevCloud: this avoids having to select a kernel from a long list of available kernels, and avoid the case when somebody picks the wrong kernel and the notebook doesn't work.

These 2 changes are applied to the following notebooks:

001
002
003
004
231
235
236
240

Will be handled with other method


[Feature]:Adding a valid anagram leetcode question

Feature Name
Add valid anagram leetcode question in top dsa problems
Feature Description
Add valid anagram leetcode question in top dsa problems
https://leetcode.com/problems/valid-anagram/?envType=study-plan-v2&envId=top-interview-150
Motivation
Add valid anagram leetcode question in top dsa problems. It is asked in mosted interviews and it is leetcode 242 number question you can check
Implementation Suggestions (Optional)
No response
Feature Type
New Algorithm
Does this feature require additional resources?

[ ] Additional Documentation
[ ] Third-Party Libraries
[ ] UI/UX Design
[X] Other

References (Optional)
leetcode 242

Our idea is to provide content that helps beginners learn about DSA and algorithms. For LeetCode problems and solutions, we already have other platforms.


Minor Coincontrol-Dialog enhancements

added tooltip for "Amount"-column
shortened column "Darksend Rounds" to "DS Rounds" to get some more space for longer locales  and to reduce the default width of the Coincontrol-Dialog. Coincontrol is for advanced users, so the column header does'nt need to be TOO verbose IMO.

Looks like this now:

veeeeery long tooltip in Option-Dialog fixed.

andn veeeeery long tooltip in Option-Dialog fixed.


Fixed -r to update target path correctly

Updated the out_dir to correctly use -r flag.
This is my first pull request on open source so let me know if I did anything wrong.
Fixes #18

See https://github.com/phil-opp/cargo-post/issues/18#issue-1687464210

Published as v0.1.7


Network Policies

I was playing with network policies and a minor issue was the line showing port, the test was not validated with the following script:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: np
  namespace: space1
  labels:
    svc: policy-sp1
spec:
  podSelector: {}
  policyTypes:
  - Egress
  egress:
  - to:
    - namespaceSelector:
        matchLabels:
          kubernetes.io/metadata.name: space2
    ports:
    - protocol: TCP
      port: 53
    - protocol: UDP
      port: 53

Meanwhile, when I added a "list" - line, it was then validated. Please check the below:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: np
  namespace: space1
  labels:
    svc: policy-sp1
spec:
  podSelector: {}
  policyTypes:
  - Egress
  egress:
  - to:
    - namespaceSelector:
        matchLabels:
          kubernetes.io/metadata.name: space2
  - ports:
    - protocol: TCP
      port: 53
    - protocol: UDP
      port: 53

I copied from this documentation URL >> here
Assuming to the section, where it is showing:
      ports:
        - protocol: TCP
          port: 6379

should then be:
    - ports:
        - protocol: TCP
          port: 6379

I hope this help. I will be happy for clarifying if I am mistaken.
Thanks

/retitle Example NetworkPolicy doesn't validate

Please clarify what steps you took to validate that manifest @amavrogiannis. That will help us confirm that there is a bug.

If you can also let us know the URL of the page that you think is wrong, this is even better. Ideally, edit the issue description to include that detail.

/language en
/kind bug
Needs triage


My nav bar doesn't go through the system nav bar like the app bar does with the status bar.

So my system nav bar turns black while the app bar goes through the status bar.
Both are transparent made with System Chrome.

@Denoic
Can you provide flutter doctor -v, a complete minimal reproducible code sample along with actual vs expected behavior ?

Here is the flutter doctor.
• Flutter version 2.9.0-1.0.pre.112 at D:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision eb1a851f58 (6 weeks ago), 2021-12-16 18:02:13 +0200
• Engine revision 6a62d8e12d
• Dart version 2.16.0 (build 2.16.0-116.0.dev)
• DevTools version 2.9.1

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at D:\AndroidSDK
• Platform android-32, build-tools 32.0.0
• Java binary at: D:\Jetbrains\apps\AndroidStudio\ch-0\203.7935034\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.0.32002.185
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2020.3)
• Android Studio at D:\Jetbrains\apps\AndroidStudio\ch-0\203.7935034
• Flutter plugin version 63.2.1
• Dart plugin version 203.8452
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
X FormatException: Unexpected extension byte (at offset 5)
• #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
#1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
#2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
#3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
#4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
#5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
#6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
#7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
#8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
#9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
#10     asyncGuard. (package:flutter_tools/src/base/async_guard.dart:111:32)
#11     asyncGuard. (package:flutter_tools/src/base/async_guard.dart:109:18)
#12     _rootRun (dart:async/zone.dart:1426:13)
#13     _CustomZone.run (dart:async/zone.dart:1328:19)
#14     _runZoned (dart:async/zone.dart:1861:10)
#15     runZonedGuarded (dart:async/zone.dart:1849:12)
#16     runZoned (dart:async/zone.dart:1780:12)
#17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
#18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
#19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
#20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
#21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)

#22     FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1161:27)

#23     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#25     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#26     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#28     run.. (package:flutter_tools/runner.dart:62:9)

#29     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#30     main (package:flutter_tools/executable.dart:94:3)

[√] Connected device (5 available)
• SM G991B (mobile)       • R3CRC064KRR • android-arm64   • Android 12 (API 31)
• Windows (desktop)       • windows     • windows-x64     • Microsoft Windows [Version 10.0.22000.434]
• Windows (UWP) (desktop) • winuwp      • windows-uwp-x64 •
• Chrome (web)            • chrome      • web-javascript  • Google Chrome 97.0.4692.99
• Edge (web)              • edge        • web-javascript  • Microsoft Edge 97.0.1072.69
[√] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.

And this is the code that makes the system nav bar transparent.
`
void main() {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
// systemStatusBarContrastEnforced: false,
systemNavigationBarContrastEnforced: false,
systemNavigationBarColor: Colors.transparent,
));
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Pomodoro Timer',
themeMode: ThemeMode.system,
theme: Themes.lightTheme,
darkTheme: Themes.darkTheme,
home: BottomNav(),
);
}
`

This is how it looks now.

and this is how it's supposed to look

@Denoic
Can you check this link and see if it helps ?

Yes, this helps. thank you

Closing this as resolved based on above comment.


Bookstore using Next.js

Set up a new React application using [Create-next-App].

Create a directory for your reusable components: /components.

Installed [React Router] together with next.js.

Setup your router.

Add 2 routes in your application:
which contains:
- [ ] A book list, where each book has a title and author
- [ ]     A form that allows for creating a new book
- [ ]     /categories

Include a navigation component that includes links to the 2 routes you created.

never used style for my project.

please @ GedeonTS if you click that link we have been given "create-react-app" we have been directed to use next.js confirm please

Hi @Tracy-miranja , Kindly check this  [link]{https://create-react-app.dev/} for the right documentaion

Invalid Code Review Request ❌
Hi @Tracy-miranja ,
While you made a great effort in this project, I cannot proceed to review your code.
You have submitted a project, that hasn't been set up with create-react-app. However, I informed the team about the provided link. If they agree, they can fix this. But they may keep it to help you build research skills.  Please use the link given by the previous reviewer to build the project.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


bashttpd: QA

Resolved shellcheck where possible left with:
Line 137:
   local code="$1"
         ^-- SC2034: code appears unused. Verify use (or export if used
externally).

Line 181:
   local dir="$1" tree_vers tree_opts basehref x
                                      ^-- SC2034: basehref appears
unused. Verify use (or export if used externally).

Line 186:
   read -r x tree_vers x < <(tree --version)
           ^-- SC2034: x appears unused. Verify use (or export if used
externally).

Line 228:
      [ -r "$URL_PATH" ] && \
                         ^-- SC2015: Note that A && B || C is not
if-then-else. C may run when A is true.

Line 231:
      [ -x "$URL_PATH" ] && \
                         ^-- SC2015: Note that A && B || C is not
if-then-else. C may run when A is true.

Line 265:
[ -n "$REQUEST_URI" ] && \
                      ^-- SC2015: Note that A && B || C is not
if-then-else. C may run when A is true.

Line 284:
source "${BASH_SOURCE[0]%/*}"/bashttpd.conf
       ^-- SC1090: Can't follow non-constant source. Use a directive to
specify location.

Signed-off-by: Jacob Hrbek<EMAIL_ADDRESS>

Line 186 is to trap the second field in tree_vers, I do the same thing in my reworked file server only version that streams multimedia: https://github.com/victrixsoft/bashbro/


Added new administration: Others

Added the "Other" Administration
Improved places where all the admins where looped through

Used to be a liquid cycle with hardcoded values, now loop through the administrations defined in the admin translations files.

Plz review & squash+merge


Nicer mobile UI with tabs

When width is < 768 three tabs are shown:
Input, Map and plan output
Instead of sidebar and a map
It uses bootstrap tabs and some Javascript to move narrative from sidebar to own tab.
It probably needs some changes since it looks weird now. Sidebar is a little cut on both sides.
Fixes #41

We should probably fix #42 here too, reducing the margin almost to zero in tab mode.

I fixed wide margins.
For weird sidebar problem: one "fix" is to add padding 15px to it. This makes everything in it stretch to the edge (now it is little over the edge). With padding 30px it stretches 15px to the edge as it is now.
In small screen probably better to use 15 and on larger 30 since space is at premium.
I'm not sure this is correct solution since the reason for this is that row class has -15px margin.
Seems this is known issue. Fix with container-fluid doesn't work.


Make max_depth and max_children configurable

This PR add the ability to configure max_depth and max_children in launch.json file.
I left the previous values max_depth 5 and max_children 100 as default.

I would like add some unit test to check that the configuration is received by xdebug but I can't figure out how to get the connection estabilished in createServer() function inside a test.

I don't know if this is unit-testable... we would have to send a feature_get command, but the debug adapter is always spawned in a separate process.

Yeah, I agree on doing it more flexible to set other conf. I'm already working on it :smile:
One question about feature names. All the feature are https://xdebug.org/docs/all_settings but for example max_depth is called var_display_max_depth in Xdebug.
So which should be used? Passing var_display_max_depth to sendFeatureSetCommand() is correct and equal to pass max_depth?
And about package.json should we just initialize the xdebugSettings key as {} in initialConfigurations?

Features are documented here: https://xdebug.org/docs-dbgp.php#feature-names
Not all make sense to configure of course.

Current coverage is 68.25% (diff: 100%)

Merging #75 into master will decrease coverage by <.01%

@@             master        #75   diff @@
==========================================
  Files             5          5
  Lines           816        819     +3
  Methods           5          5
  Messages          0          0
  Branches        134        135     +1
==========================================
+ Hits            557        559     +2
- Misses          258        259     +1
  Partials          1          1

Powered by Codecov. Last update 786a6fe...58ce104

Fail test should report large arrays correctly because it expects array length of 100 (previously max_children I think) instead of 32 (default Xdebug?).
Suggestions?

Should either adapt the test to the XDebug default (which I don't know wether it is consistent across versions) or better set xdebugSettings in the tests when launching


Generate questions for larger paragraphs.

Hello,
I was wondering is it possible to use lmqg to generate questions for longer paragraphs? I get this error when I run on longer paragraphs: ExceedMaxLengthError: Input sentence exceeds max length of 512.
Thanks!

Hi, the max sequence length is a quite hard constrain, and the only quick solution would be to split the input document into smaller chunks and feed them to the model independently.


Adjust to !(AbstractQ <: AbstractMatrix)

This makes the package future proof for https://github.com/JuliaLang/julia/pull/46196. Some of the tests look complicated which is due to the fact that Matrix(Q) doesn't work.

Gentle bump.


I-765 Page 4, part 3 items 1a-b and 2 not populating

"I can read and understand English" or "Interpreter read to me in my language"
"The prepare prepared the application"

Should just be lining up the variables correctly (this is done right on the I-821?


Tuples.as/toArray, Tuples.as/toList

A use case is missing. Why not instead creating a full fledged Traversable or Seq and move Tuple to javaslang.collection? A Tuple should be a just a Tuple.


jQuery 3.3.1 breaks something

When in jQuery 3.3.1 the cursor does not appear.
With jQuery 3.2.1 all looks good.

I've just checked with Chrome, I cound not find the problem, can you explain more about your issue (browser, version, screenshot, etc.)

I did more tests and the strange situation gone.
I suppose the browser cache was using the v1.0 instead of loading the v1.1 when the problem was occurring.
Sorry for the inconvenience.

Sorry.
Now I found the problem again.
When in a fresh screen, the user clicks in the field, the cursor does not appear.

But, if the user navigate between fields with tab key, or go out and back to the browser, the cursor appear.

This happens only with jQuery v3.3.1.

Ok I found the problem, I miss an css
Just add :
.tokenize > .tokens-container > .token-search {
    min-width: 10px;
}


Feature value of x_ij in the egde matrix should be equal to the value of x_ji?

Same issue @li3cmz @khy0809.  e_ijd seems different from e_jid in Equation (4) and (5) in the original paper, which conflicts with the strength of edge feature represented by the color in the square in Figure 2.


[Feature Request]: Include module readme updates to pipeline trigger paths

Description
Due to the recently added test which verifies module readmes are compliant with the Set-ModuleReadme script, changes to the readme files should trigger the corresponding module pipelines.
In fact, changes to readme files could invalidate the test, causing the static validation step and thus the pipeline to fail.

Update pipeline trigger paths to include module readme.
.md files other than the module readmes should still be excluded.

Not sure about this. We have the test to make sure our ReadMe's are up to date, but it won't help anybody to publish a new module version just because the readMe was updated (nor run the deployment tests).
I know where you're coming from and hence wonder if there is a way to fail GitHub pipelines on 2 levels like in Azure DevOps: Warning vs. Failed.

The test makes sense, however - we should make sure no new version is published just because a readme was changed. To that end, we should doublecheck if the Publishing (& deployment?) Logic actually excludes ReadMe files - and further update the pipeline triggers to test also ReadMe changes

@MariusStorhaug , can you please have a look at the above question (publishing)?

Moving the issue to blocked, since changes to the readme file will cause a new version of the module to be published and we agreed to not add the new trigger to the pipelines until when that won't be the case anymore.

@AlexanderSehr @ahmadabdalla this and dependent issue need to be part of the AVM CI.
Changes to readme files should trigger corresponding module validation pipeline run, or at least static validation.
Changes to the set-module readme utility and its helper functions should trigger all module pipelines.
Alternatively, we could move them from the tools to the pipeline utility folder.
E.g., PR #3980 solved several pipeline failures, but didn't trigger the pipelines, which will stay red (and thus possibly their latest version not published) until manual run or next module template/test change.
If not for CARML, we need that to be the case for AVM.

@AlexanderSehr @ahmadabdalla @rahalan this and dependent issue need to be part of the AVM CI.
Changes to readme files should trigger corresponding module validation pipeline run, or at least static validation.
Changes to the set-module readme utility and its helper functions should trigger all module pipelines. Alternatively, we could move them from the tools to the pipeline utility folder.
E.g., PR #3980 solved several pipeline failures, but didn't trigger the pipelines, which will stay red (and thus possibly their latest version not published) until manual run or next module template/test change.
If not for CARML, we need that to be the case for AVM.

Agree. And yes to the "trigger static validation". Let's see if we can make it happen. In AVM we have to be a lot more deliberate on new published versions.


Release 1?

Your documentation suggests that KeeAnyware will be ready for a 1.0 Release once KeePass 2.31 has been released.
Since KeePass 2.31 was released on 9th January 2016 would now be a good time to review the status of the code?

I already completed coding a few days ago but did not found time to release
:-( . Currently proper documentation is missing, too. Hopefully I can do it
this week.
By the way: latest Alpha is very stable and can be used with KeePass 2.31
Alex Baker<EMAIL_ADDRESS>schrieb am Do., 28. Jan. 2016 06:06:

Your documentation suggests that KeeAnyware will be ready for a 10 Release
once KeePass 231 has been released
Since KeePass 231 was released on 9th January 2016 would now be a good
time to review the status of the code?
—
Reply to this email directly or view it on GitHub
https://github.com/Kyrodan/KeeAnywhere/issues/17.

Finally I released 1.0.0 today :-)

Installed and working.. Many thanks...


Device keyboard to push content up

When device keyboard is exposed, the view's height should adjust to available space so that app developer can control the positioning of widgets.

@amin-nas Created a PR - #636

Resize the screen causes a lot of jittery and sizing issue, especially when a background image is used. Would this makes more sense to put the button in this case (any widget normally) to the footer, and we make footer always move with the keyboard?
@vinothvino42 @amin-nas thoughts?

That satisfies the use case of moving the content.
Given part of the body would be covered by the keyboard, would user be able to scroll and reach that content?

User can dismiss the keyboard and scroll. @vinothvino42 can you implement what I said above?

@vusters  I created a PR - https://github.com/EnsembleUI/ensemble/pull/647
But what if I have some forms in the body of the view and having footer with some submit button. Now I can able to move the footer (button) but it hides the form fields right?


Sentence has been repeated in the doc

[Enter feedback here]

Sentence has been mentioned twice. Please verify it!

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

ID: 73827af2-b318-3e56-6e01-98958ed2d495
Version Independent ID: 87217130-657e-8d95-95b1-da78f709a327
Content: What are endpoints? - Azure Machine Learning
Content Source: articles/machine-learning/concept-endpoints.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @rsethur
Microsoft Alias: seramasu

@vadthyavath
Thanks for your feedback! We will investigate and update as appropriate.


GLIBC version error on Debian

Trying to run binaries from the release page on Debian output the following error.
./drg-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./drg-linux-amd64)

Compiling this with CentOS 8, RHEL 8, Ubuntu  should solve this issue. Fedora is just too new.

Sure working on this


add rootfs to OWNERS

What this PR does / why we need it:
add rootfs as volunteer
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

NONE

@dims

/ok-to-test
/lgtm


Filename guidelines to expect/actual and platform specific implementations

As our codebase grows it's important to keep it organized in a way that makes searching for specific implementations for example is easy.
Example: we specify an expect class SentryEvent in our commonMain which is called SentryEvent.kt.
Now on commonAppleMain and commonJvmMain the actual implementations are also called SentryEvent.kt so we have 3 files with the same name.
How Google for example handles it: suffix the filename with the platform -> SentryEvent.jvm.kt or SentryEvent.apple.kt
See here for an example.
This is not publicly endorsed by Google but could be a good starting point on how to organize this.
This could also not be only restricted to expect actuals but in general for any File name that will exist on multiple platforms with the same name. So this could also be helpful for our extensions: SentryOptionsExtensions.jvm.kt or BreadcrumbExtensions.jvm.kt
Thoughts?

@marandaneto

@buenaflor makes sense, if we are adding more and more actual classes, sounds like a good improvement.

Already implemented and is now the standard going forward


Notes on camera transforms

Coverage remained the same at 79.197% when pulling c946498a1c0af2c7618d2200bfb7509782003747 on camera-xform-notes into 9bb4c5cbc096a5d31105369d1a8fe223e3b1c2d9 on master.


oep(schema) : freeze cstorvolumes related APIs schema and move to GA

OpenEBS enhancement proposal to freeze and stabelize the CStorVolumes related APIs and groups.

CStorVolumeReplicas API schema
CStorVolumes API schema
CStorVolumeConfig API schema
CStorVolumePolicy API schema

Signed-off-by: prateekpandey14<EMAIL_ADDRESS>

can we close this and create new PR with required details @prateekpandey14 ?

can we close this and create new PR with required details @prateekpandey14 ?

Will update all the changes in this  PR itself
Also going to include the snapshotlist changes in CStorVolumeReplica once the review/merge openebs/maya#1620 has been done

PR doesn't include the changes for adding CStorSnapshotInfo in CStorVolumerplicaStatus as changes has not been approved yet.
 type CStorVolumeReplicaStatus struct {
     .
     .
     .
	// Snapshots contains list of snapshots, and their properties, created on given CVR
	Snapshots map[string]CStorSnapshotInfo `json:"snapshots"`

	// PendingSnapshots contains list of pending snapshots, and their properties, for given CVR
	PendingSnapshots map[string]CStorSnapshotInfo `json:"pendingSnapshots"`
}

// CStorSnapshotInfo defines spec for cStor volume snapshot information
type CStorSnapshotInfo struct {
	// LogicalReferenced bytes for given snapshot
	LogicalReferenced int64 `json:"logicalReferenced"`

	// Written bytes for given snapshot
	Written int64 `json:"written"`

	// Compression for given snapshot, format "1.34x"
	Compression string `json:"compression"`

	// Referenced bytes for given snapshot
	Referenced int64 `json:"referenced"`

	// Used bytes for given snapshot
	Used int64 `json:"used"`
}

cc @vishnuitta  @kmova

In CStorVolume, status can be added with 'ReplicationFactor' instead of using 'DesiredReplicationFactor' in spec. However, this involves good amount of changes in vol-mgmt and this attribute of CR being internal, it should be fine to leave it as it is.


Fix for 'note_applied_extrinsic' - consider also actual pays_fee

Wrong stored pays_fee attribute on Extrinsic events
lets say, I have a dispatch call with #[pallet::weight((500_000, Pays::Yes))], when I try to do a correction (https://docs.substrate.io/main-docs/build/tx-weights-fees/#post-dispatch-weight-correction) with different pays_fee, for example return with Ok(Pays::No.into())  or Ok((Some(2_500_000), Pays::No).into()) or with
                       ensure!(
				name_len < 10,
				DispatchErrorWithPostInfo {
					post_info: PostDispatchInfo {
						actual_weight: Some(5_000_000),
						pays_fee: Pays::No
					},
					error: Error::<T>::InvalidParameter(InvalidParameterDetails {
						max: 9,
						actual: name_len as u8
					})
					.into()
				}
			);

I can see in polkadot.js.org block explorer, that transactionPayment.TransactionFeePaid is zero or some value according to Pays::Yes/No, looks ok as expected,
but all the time, system.ExtrinsicFailed  or system.ExtrinsicSuccess show  the original paysFee: Yes, so it is not properly stored.
Question/Open point:
I can see also some usages of extract_actual_weight in the substrate/frame/utility/src/lib.rs, shouldnt be extract_actual_pays_fee also considered here?
Originally reported here:
https://matrix.to/#/!sdFqbvLCnbwaqBLiGw:matrix.parity.io/$165781413448884yAjNQ:matrix.parity.io?via=matrix.parity.io

I can see also some usages of extract_actual_weight in the substrate/frame/utility/src/lib.rs, shouldn't be extract_actual_pays_fee also considered here?

Unfortunately, I don't think it can be trivially added here.
There is some sensibility to bubbling up "no fee payment" when calling batch or derivative or other utility calls, but I worry that this can become an attack vector.
For example imagine I do:
batch(batch(batch(batch(batch...(free_call)...)))))

I can basically do this arbitrarily to take the whole block, and pay no fee because the bottom call pays no fee, and each batch would bubble up that no fee was paid.
I think best to avoid anything like this for now.

I can see also some usages of extract_actual_weight in the substrate/frame/utility/src/lib.rs, shouldn't be extract_actual_pays_fee also considered here?

Unfortunately, I don't think it can be trivially added here.
There is some sensibility to bubbling up "no fee payment" when calling batch or derivative or other utility calls, but I worry that this can become an attack vector.
For example imagine I do:
batch(batch(batch(batch(batch...(free_call)...)))))

I can basically do this arbitrarily to take the whole block, and pay no fee because the bottom call pays no fee, and each batch would bubble up that no fee was paid.
I think best to avoid anything like this for now.

ok, cool, thank you, that makes sense

bot merge

@shawntabrizi we should try to find a better system than this pays_fee system.
This PR seems to fix/break (depends the way you look at it) the Frontier Ethereum transactions. With this change, they are now marked as pays_fee::no as we charge them in a post_dispatch and not with the regular flow (see here and here)
While technically it is correct that we ask the payement pallet to not charge them, it is confusing for the users to see it marked as pays_fee:no (cc @tgmichel )


FileNotFoundError rescore_data_new_bpe.en in rerank.py

I tried to reproduce experiments as in
https://github.com/pytorch/fairseq/tree/master/examples/noisychannel
I encountered the following error.
FileNotFoundError: [Errno 2] No such file or directory: '/content/fairseq/examples/noisychannel/rerank_data/wmt17/nbest_50_subset_test_fw_name_fw_model_ex_shard_0_of_1/rescore_data_new_bpe.en'
I have no idea where the file should come from. Please help. Thansk

I'm not that familiar with this code, any ideas @nng555?

I'm not that familiar with this code, any ideas @nng555?


Check for root of receiver in selector expression

Fixes https://github.com/detekt/detekt/issues/6373

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against 86a045c5e5a8d95279b220fc5d9bc3e36e65f298


Rule on sort conflicts with enum values rule

The rule sort conflicts with the rule of defining upper snake case enum values by suggesting to use the lower snake case property names in conjunction with + and -.

The may apply to _embed parameter Rule 158: SHOULD allow optional embedding of sub-resources.

Just to add an example:
parameters:
  sort:
   schema:
      type: array
      items:
        type: string
        enum:
         - "+id"
         - "-id"
         - "+name"
         - "-name"

Current enum rule:

MUST declare enum values using UPPER_SNAKE_CASE format [240]
Enum values (using enum or x-extensible-enum) need to consistently use the upper-snake case format, e.g. VALUE or YET_ANOTHER_VALUE. This approach allows to clearly distinguish values from properties or other elements.

Possible new text:

SHOULD declare enum values using UPPER_SNAKE_CASE format [240]
Enum values (using enum or x-extensible-enum) need to consistently use the upper-snake case format, e.g. VALUE or YET_ANOTHER_VALUE. This approach allows to clearly distinguish values from properties or other elements.
This does not apply in cases where the exact values are constrained by something else, like codes defined in outside standards or using an enum to describe possible field names in sort/filter/embed parameters.

Alternatively we could propose to not actually use an enum in those cases.

From the meeting

We change MUST to SHOULD
add a sentence with an example where UPPER_SNAKE doesn't work
also move rules 240 and 125 together

@ePaul will create a proposal.

Implemented by #606.


Huge motion-to-photon latency

I noticed a significantly huge motion-to-photon latency when using the cardboard example. It's actually also noticeable with a normal Tango app.  Motion-to-photon latency is  quite critical for a good VR experience. Do you have data on this? Do you have plans to decrease it? Can we as developers try to decrease it?
Thank you.

Motion to photon latency is extremely hardware specific. Devices like the Phab2 Pro and the Tango Development tablet do not have hardware optimized for small mo2pho. If you want a device optimized for VR, you should look for a device that is Daydream Ready. This is a different program than Tango.


[Solved] Error: Request aborted + use of fileBegin event

Hi guys,
[** IN DEVELOPMENT ENVIRONMENT **]
Just providing feedback here for people having a "request aborted" issue which looks like a filesize / timeout matter but is not.
Here is my code (express server), where the destination folder is a parameter (but that doesn't really matter) :
form
.on('error', (error) => {
res.status(500).send({
message: error.name + ': ' + error.message
});
return;
})
.on('field', (field, value) => {
if (field === 'path') {
destination_folder = path.join(__dirname, '..', '..', 'public', value)
if (!checkIfFolderExists(destination_folder))
destination_folder = null;
}
})
.on('fileBegin', function (name, file) {
if (destination_folder)
file.path = path.join(destination_folder, file.name);
})
.on('progress', (bytesReceived, bytesExpected) => {
console.log("Progress: " + bytesReceived + " Bytes / " + bytesExpected + " Bytes");
})
.on('file', function (name, file) {
console.log('File ' + name + ' was uploaded as ' + file.path);
})
.on('end', () => {
res.status(200).send({
message: "Le fichier a bien été téléchargé !"
});
return;
});
So here we set the file.path to the destination_folder in the fileBegin event handler so that the file directly uploads to the destination folder and we avoid the use of fs.rename in the file event handler.
You will be under the impression that for big files the request will be aborted after a few seconds (Error: Request aborted)...  Nothing works...
What doesn't work is that you probably left the watch option active in your development environment, and therefore as soon as you modify the content of the folder that is being watched the React page is being reloaded.
In your webpackDevServer.config you can change the folders being watched to exclude  your upload folder.
watchOptions: {    ignored: ['**/public/uploads/**', '**/node_modules/**'] },
I saw people struggling on google with this issue, so just wanted to share here. Formidable has nothing to do with it.
NB : It can also be a timeout issue if your file takes more than 2 minutes too be uploaded (unlikely).
Cheers.

Thanks :)

Hi guys,
[** IN DEVELOPMENT ENVIRONMENT **]
Just providing feedback here for people having a "request aborted" issue which looks like a filesize / timeout matter but is not. Here is my code (express server), where the destination folder is a parameter (but that doesn't really matter) :
form .on('error', (error) => { res.status(500).send({ message: error.name + ': ' + error.message }); return; }) .on('field', (field, value) => { if (field === 'path') { destination_folder = path.join(__dirname, '..', '..', 'public', value) if (!checkIfFolderExists(destination_folder)) destination_folder = null; } }) .on('fileBegin', function (name, file) { if (destination_folder) file.path = path.join(destination_folder, file.name); }) .on('progress', (bytesReceived, bytesExpected) => { console.log("Progress: " + bytesReceived + " Bytes / " + bytesExpected + " Bytes"); }) .on('file', function (name, file) { console.log('File ' + name + ' was uploaded as ' + file.path); }) .on('end', () => { res.status(200).send({ message: "Le fichier a bien été téléchargé !" }); return; });
So here we set the file.path to the destination_folder in the fileBegin event handler so that the file directly uploads to the destination folder and we avoid the use of fs.rename in the file event handler.
You will be under the impression that for big files the request will be aborted after a few seconds (Error: Request aborted)...  Nothing works...
What doesn't work is that you probably left the watch option active in your development environment, and therefore as soon as you modify the content of the folder that is being watched the React page is being reloaded.
In your webpackDevServer.config you can change the folders being watched to exclude your upload folder.
watchOptions: { ignored: ['**/public/uploads/**', '**/node_modules/**'] },
I saw people struggling on google with this issue, so just wanted to share here. Formidable has nothing to do with it.
NB : It can also be a timeout issue if your file takes more than 2 minutes too be uploaded (unlikely).
Cheers.

Thank You so much!!!!!
I couldn't get it, until I found Your solution!!!
Truly lifesaving!!!! Thank You again!!! :)


Getting the concrete return value

How can I get/print the concrete value returned by the function that is executed concolically?
I am not looking to get the post-condition but the value that the function returns when it is normally executed with the current seed used by JDart.

I think once you get the test cases, just call the function with these values and capture the return value.


Support for Proxy

Need support for proxy switch
$ fuzzparam -x <IP_ADDRESS>:9001

Added support for proxy in master.

Added support for proxy in master.


Fixed play-pause button positions | UI enhancement | Improved Responsiveness

fixed play-pause button positions
added static images for audio cards
made the site more responsive
changed the presentation of QR codes and QR tagline
UI enhancement
added glassmorphism effect in audio cards

Pls attach the output of the meditation page showing your changes here for easy check.
As I have checked locally, work on these changes:

Don't change the logo design and navbar look since logo should be same in every pages. Revert to previous one.
Lower the font size of text "Augmented Reality Meditation" a bit.

Rest is fine. Play/Pause button changes and static images are good. @Harsh-s0ni

Pls attach the output of the meditation page showing your changes here for easy check.
As I have checked locally, work on these changes:

Don't change the logo design and navbar look since logo should be same in every pages. Revert to previous one.
Lower the font size of text "Augmented Reality Meditation" a bit.

Rest is fine. Play/Pause button changes and static images are good. @Harsh-s0ni
Main thing to be noted that don't make changes to the main branch directly. Create a new branch for your changes.

Pls mention the issue number this PR closes in the description.
Attach the output of the meditation page showing your changes here for easy check.
As I have checked locally, work on these changes:
1. Don't change the logo design and navbar look since logo should be same in every pages. Revert to previous one.

2. Lower the font size of text "Augmented Reality Meditation" a bit.

3. The every links of the `FEATURES` tab is not redirecting to the respective page.

Rest is fine. Play/Pause button changes and static images are good. @Harsh-s0ni
Main thing to be noted that don't make changes to the main branch directly. Create a new branch for your changes.

sir, kindly check the commonScript.js file
it is modified 2 days ago by ankitjt which is the reason for the modifications in nav bar
i have not done any modifications in navbar

Have you checked the drop-down links recently they work , maybe do a fresh pull request and see ?

Have you checked the drop-down links recently they work , maybe do a fresh pull request and see ?

done the modifications
the drop down links are working now


To tile coords

avoid for loop over tiles
-- use sort(), it would be slow when the image is big (eg. 4000* 4000)

Great work @XinyueLi1012! I timed both the old and new versions of to_tile_coords: your new one appear to be more than 10 times faster (0.11 seconds vs 1.6 seconds).
I ran both implementations with some test data. The output from both implementations usually matches, so I think the new implementation is at least nearly right. (Possibly it is perfect and the old implementation is slightly off.) But I'm reluctant to merge until they match exactly or until we're really confident that the new version is correct. Please see my trial below. The difference may have to do with how these two implementations handle negative locations. Perhaps we should be filtering sources with out-of-bounds locations (either too high or too low) as part of our data augmentation procedure?
> new_tp = aug_full.to_tile_params(4, 4)
> old_tp = aug_full.old_to_tile_params(4, 4)
> aug_full.n_sources.sum()
tensor(4681, device='cuda:0')
> new_tp.n_sources.sum()
tensor(4681, device='cuda:0')
> old_tp.n_sources.sum()
tensor(4681, device='cuda:0')
> (new_tp.locs < 0).sum()
tensor(0, device='cuda:0')
> (old_tp.locs < 0).sum()
tensor(190, device='cuda:0')
> new_tp.locs.isclose(old_tp.locs).sum()
tensor(204610, device='cuda:0')
> (~new_tp.locs.isclose(old_tp.locs)).sum()
tensor(190, device='cuda:0')

Also, would you add a test to verify that if we rotate a catalog by 90 degrees and next by 270 degree, then we get back the original catalog? (Or do we already have a test like that?)

Thanks @XinyueLi1012. Before we merge, can you also verify that our performance on DC2 stays the same with this PR?


fix: use standalone projects

Converts the default structure to the new standalone projects configuration.
closes: #320

@Jefiozie Thanks for your time!


Web: Firefox text rendering issue

Steps to Reproduce
Create a new flutter project
Delete the whole mail file and add the following:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        body: Center(
          child: Text("Hello, how are you?"),
        ),
      ),
    );
  }
}

Run the app on web and open Firefox. Change the zoom to achieve the result.
Expected results:

Actual results:

Doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.24.0-10.2.pre, on Microsoft Windows [VersiÃ³n 10.0.19042.630], locale es-ES)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 3.6)
[√] VS Code (version 1.51.1)
[√] Connected device (3 available)

• No issues found!

Also affects SelectableText (I imagine other too)

Hi @aguilaair
Thanks for filing the issue,  I can reproduce it in DOM Canvas, no issues in canvaskit
Really strange rendering issues
If we provide one-line text, we get the following results,  as you can see some text is missing in Firefox

Firefox
Chrome

If I put \n and copies the same sentence, the first sentence renders properly but issue shift to the second setense

Firefix
Chrome

Renders fine in Canvaskit

Firefix
Chrome

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.purple,
      ),
      home: Scaffold(
        body: Center(
          // child: Text("Hello, how are you?"),
          child: Text(
              "Hello world, this is Flutter and it is amazing\nHello world, this is Flutter and it is amazing\n"),
        ),
      ),
    );
  }
}

multiple flutter doctor -v
[✓] Flutter (Channel dev, 1.25.0-4.0.pre, on Microsoft Windows [Version 10.0.19042.630], locale en-US)
    • Flutter version 1.25.0-4.0.pre at C:\Code\flutter_dev
    • Framework revision a7f5fd5360 (7 days ago), 2020-11-30 13:14:13 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.30717.126
    • Windows 10 SDK version 10.0.18362.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.4
    • Flutter plugin version 52.0.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.51.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.17.0

[✓] Connected device (4 available)
    • Windows (desktop) • windows    • windows-x64    • Microsoft Windows [Version 10.0.19042.630]
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)        • edge       • web-javascript • Microsoft Edge 87.0.664.52

• No issues found!

[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Microsoft Windows [Version 10.0.19042.630], locale en-US)
    • Flutter version 1.24.0-10.2.pre at C:\Code\flutter_beta
    • Framework revision 022b333a08 (3 weeks ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.4
    • Flutter plugin version 52.0.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.51.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.17.0

[✓] Connected device (3 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)       • edge       • web-javascript • Microsoft Edge 87.0.664.52

• No issues found

[✓] Flutter (Channel master, 1.25.0-5.0.pre.92, on Microsoft Windows [Version 10.0.19042.630], locale en-US)
    • Flutter version 1.25.0-5.0.pre.92 at C:\Code\flutter_master
    • Framework revision 90f08769a3 (4 hours ago), 2020-12-07 12:33:03 +0100
    • Engine revision 6491c7518f
    • Dart version 2.12.0 (build 2.12.0-120.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.30717.126
    • Windows 10 SDK version 10.0.18362.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.4
    • Flutter plugin version 52.0.5
    • Dart plugin version 203.5981.152

[✓] VS Code (version 1.51.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.17.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.630]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 87.0.664.52

• No issues found!

Yes, that's the same behaviour I'm seeing. Really hope it gets solved soon, IMHO it's a pretty severe issue.

This is due to minor differences between canvas-based and dom-based text measurement. In most of the cases I've seen, the difference is around 1 pixel, but that's enough to cause the last character or the last word to disappear from the text.
The difference is more visible and easily reproducible when zoom level is high (e.g. 1.5x or 2x).
This is a duplicate of https://github.com/flutter/flutter/issues/67327


[identity] expose authority validation options through credentials

Packages impacted by this PR
@azure/identity
Issues associated with this PR

Helps with diagnosing https://github.com/Azure/azure-sdk-for-js/issues/23331
Associated with https://github.com/Azure/azure-sdk-for-js/issues/21062 and https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/4625

Describe the problem that is addressed by this PR
Exposing authority validation options from MSAL to the public surface
Checklists

[x] Added impacted package name to the issue description
[ ] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-identity

The correct solution - expose an "instance discovery" boolean from SDK should - this flag should disable authority validation and also disable instance discovery for MSAL


[WIP] Tweak language in second section of billy-to-pupa docs

(This'll fail the Travis build, since it's missing some placeholder file that's present in the master branch; don't worry about it)

Remember when project leads respected [WIP] tags? Pepperidge Farm remembers.

ha oops
On Mar 17, 2017 12:45, "Miles Watkins"<EMAIL_ADDRESS>wrote:

Remember when project leads respected [WIP] tags? Pepperidge Farm
remembers.
https://camo.githubusercontent.com/be1d92aa7c4c546ce683171305508385ff1ae50b/68747470733a2f2f692e7974696d672e636f6d2f76692f723251566a70344b456a552f687164656661756c742e6a7067
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/openstates/documentation/pull/16#issuecomment-287407984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAfYv6WT0e4LjO2DhEoLeXWjmJpMehiks5rmri2gaJpZM4MgJ-s
.

npnpnp, these are all standalone :P


nixos/syncthing: add ignoreDelete folder option

Motivation for this change
An advanced folder option which is impossible to define declaratively without this patch.
Things done
Tested it works:

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

just a heads up, syncthing was broken in staging due to some of the python packages no longer working with python2. This may need some additional work to get a working syncthing again

not sure why syncthing should depend on python2? its written in go.

Thanks!


[Service fabric] Connect-ServiceFabricCluster with metadata failure should retry internal exceptions

Current Connect-ServiceFabricCluster with metadata option always throws a aggregate exception. Hence while re-trying we should check internal exceptions

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days


Merging latest edits live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Azure AD Cmdlets/AzureAD/v2/New-AzureADGroup.md
:white_check_mark:Succeeded

Azure AD Cmdlets/AzureAD/v2/Set-AzureADUser.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Azure AD Cmdlets/AzureAD/v2/New-AzureADGroup.md
:white_check_mark:Succeeded

Azure AD Cmdlets/AzureAD/v2/Set-AzureADUser.md
:white_check_mark:Succeeded

Azure AD Cmdlets/mapping/monikerMapping.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Output of prediction results

Learn how to output the results of the program prediction, not in console output, but in a separate field with text in the application.

Now each application displays information about how many cores were found


Close #44, Move court question to right after docket # question

Close #44

I think I may be the last man standing on this one, so I may merge these and deal with the consequences later.


shift_scheduling_sat.ipynb failed with UnparsedFlagAccessError

What version of OR-Tools and what language are you using?
Version: master/v7.3/v7.2 etc.
Language: Python
**Using CP-SAT on Ubuntu 20.04 LTS with py38
What did you do?
Steps to reproduce the behaviour:

Go to https://github.com/google/or-tools/blob/stable/examples/notebook/examples/shift_scheduling_sat.ipynb
Executing the code is resulting an error:

UnparsedFlagAccessError                   Traceback (most recent call last)
/tmp/ipykernel_731/4242025384.py in
----> 1 solve_shift_scheduling(FLAGS.params, FLAGS.output_proto)
~/.local/lib/python3.8/site-packages/absl/flags/_flagvalues.py in getattr(self, name)
497         # get too much noise.
498         logging.error(error_message)
--> 499       raise _exceptions.UnparsedFlagAccessError(error_message)
500
501   def setattr(self, name, value):
UnparsedFlagAccessError: Trying to access flag --params before flags were parsed.

Tried executing both on local dev env and on google colab, both failed to execute.

original source https://github.com/google/or-tools/blob/stable/examples/python/shift_scheduling_sat.py seems to work
(just tested...)

Need to replace the from absl import flags by:
from absl import flags
for name in list(flags.FLAGS):
    delattr(flags.FLAGS, name)
import sys
sys.argv = sys.argv[:1]

On my way to fix the export script


Awslogs

No issue #
ConfigSet fails w/ CloudWatchLogs service due to amazon linux v1 service name; updated to reflect amazon linux v2 service name to match the AMI's.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for sumbitting the pull request.
We will need to update the the AMI mappings as well in the AWSRegionArch2AMI section of the cloudformaiton.
Would you mind updating that to the latest AMI's across all regions in the list?
Eg: Latest Amazon Linux 2 AMI for US-East-1 is "ami-0d5eff06f840b45e9"


[QUESTION] - Possible to integrate SSL?

Since I plan to open this up onto the internet from my home I was wondering if it would be possible to encrypt the traffic so that one can't sniff the username and password being sent

I have the same requirement. For now I configured the Apache web server which was already on my pi as an SSL reverse proxy, created self sign cert and key with openssl, enabled the SSL and Proxy modules in Apache, then configure the the ssl and ProxyPass/ ProxyPassReverse directives in the apache.conf file. Only issues was I had to adjust the urls in the index.html file to https to get rig of the mix content warring in the browser.  Seems to work well. The one feature I would like to have is a lockout if too many wrong password attempts are made.

This is why it'd be useful to have knockd on your garage door server. Only accept incoming connections from your local subnet, and accept incoming connections from devices that used port knocking, while dropping everything else from coming in.

This would be a great feature to add.  Unfortunately I have no idea how to do it.  I suspect that the twisted library (which I'm using for the server) supports SSL.  I'll look into it.

I've been able to implement https using self-signed certs:

Step #1: create self-signed certs

openssl req -new -x509 -key key.pem -out server.pem -days 1000 -subj "/C=<country>
/ST=<state>/L=<city>/O=<org>/OU=<org>/CN=<system name>/emailAddress=<email address>

Step #2: modify controller.py
#        reactor.listenTCP(self.config['site']['port'], site)  # @UndefinedVariable

        certData = getModule(__name__).filePath.sibling('server.pem').getContent()
        myContextFactory = ssl.DefaultOpenSSLContextFactory(
               'key.pem', 'server.pem'
               )

        reactor.listenSSL(443,site,myContextFactory)
        reactor.run()  # @UndefinedVariable

complete controller.py attached (had to rename file to .txt to upload)
controller.txt


Upcoming LTS with a date

For Node.js the even-numbered releases (12, 14, etc.) become LTS after six months. It would be nice if we can enter the upcoming date as lts: 2021-10-26 and the LTS flag will be there after the specified date.

Yep this will be nice , so for this all .md files have to chance its lts: true to date of its lts start , and change lts thing from boolean to date.
And also add a line of if for lts that if its date is less then current date write (Upcoming LTS) otherwise (LTS)

Will take up #653 and #156 together, and follow it up with the template approach from https://github.com/endoflife-date/endoflife.date/pull/757#issuecomment-1016076215.
With all of these together, I think the API becomes much more useful.

Filed #1268 for the same. Are there any other pages that need a future LTS? I've covered Node,RHEL, Debian, and Looker for now.


display of non-apparatus

I have the vague recollection that we have discussed this before and I have the impression that the display has evolved.
At the moment, <note>s to Translation are shown as a separate block at the bottom of the section, while <note>s to Commentary are shown in parentheses and italics at the place where the notes are inserted. See screenshot, where "(Cf. the way ... line 3.)" in Commentary is encoded as a <note>.
I would prefer a single block of Notes at the very bottom of the html, combining all <note>s (except those contained in <div type="apparatus">) and treating them in the same way.
@ajaniak : is this possible?

No, it was never discussed for the inscription. Just to be clear, you want notes from translations, commentaries and bibliographies to be moved to a bottom apparatus, right?

Yes, that's right. There might also be notes from the teiHeader that could be displayed at the bottom of the html as well.

A first draft have been pushed, it might require some refining once fully tested against all the possible context for notes.

looks perfect! thanks!
Le 29 nov. 2022 à 17:24, ajaniak<EMAIL_ADDRESS>a écrit :
A first draft have been pushed, it might require some refining once fully tested against all the possible context for notes.
[Capture d’écran 2022-11-29 à 11 21 00]https://user-images.githubusercontent.com/33328906/204503709-43900945-ff07-49c8-8182-6741243e19db.png
[Capture d’écran 2022-11-29 à 11 20 21]https://user-images.githubusercontent.com/33328906/204503721-2c43f0b7-bfa9-467b-b175-5404138a0040.png
—
Reply to this email directly, view it on GitHubhttps://github.com/erc-dharma/project-documentation/issues/190#issuecomment-1330407082, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAGMAE36KL4IVYMTMGHWLCLWKXKULANCNFSM6AAAAAASMH7UKE.
You are receiving this because you authored the thread.Message ID: @.***>

I am closing this now.
Anyone who doesn't approve of the presentation viewable at <https://erc-dharma.github.io/tfc-nusantara-epigraphy/workflow-output/html/Java10Majapahit/DHARMA_INSIDENKKedungwangi.html> can reopen the issue.


[Feature][数据治理] 增加数据治理相关功能

Search before asking

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

Description
如数据目录、数据地图、数据字典、数据质量等。
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Hi. These functions are not in the current project roadmap.

OK, dinky can consider these functions in the future. We hope that dinky will become better and attract more users.

Good idea 👍

OK, dinky can consider these functions in the future. We hope that dinky will become better and attract more users.

Thanks for your support. ~

Very good idea. I hope to realize this function.

+1

非常实用

这个功能挺好，可以一起建设起来


 I still have to look into the two amber23 test cases.

a23_coprocessor.v and a23_multiply.v both require some regs to be initialized so they are not stuck in an undef state. (E.g. count and product in a23_multiply.v.) The netlist representation usually generated by the verilog back-end in -noexpr mode (the default for autotest.sh) does not preserve init values (they are stored on an attribute on the wire driven by the FF and have no effect on the simulation). Running autotest.sh with -e disables -noexpr, thus enables modelling of init values and fixes the problem with the two amber23 modules.


docs: add tags to links

I tried a new way to categorize links.
The idea is to add some tags after each links to specify what can be found in those links : What, Why, What
Do you think it's a good idea? I'm not sure if this would fit all needs.

Here is an example :

Nice Idea, I love it!


Frontend needs config service running to show static pages

Previously the app could show the cookies, privacy policy and feedback pages by just starting it standalone.  Now those pages are not displayed because the app can't get to a config service.
This is a regression because it means the frontend in production will break if a config service is not running - and it will not be able to accept feedback etc.

Introduced by PR#488
@karlbaker02 FYI

This has now been fixed by changing the logic for loading RP translations.


Disable add/edit testimony on Mobile

[MOBILE ONLY]
Update the UX to disable the ability to add testimony, per the figma: https://www.figma.com/file/NPlnWH6AiI2IQMebd8ardO/Mobile-Screens?type=design&node-id=301-1984&mode=design
Delete the "actions" box on an individual testimony page (mobile only):

When viewing "edit profile" and seeing your own testimonies, remove the "edit testimony" button

Just in case. "Follow" is also an action applied to the policy actions list. Do we want that to not appear as well?

Pull Request made


Switch to bootstrap 5 and react 18

NOT ready to merge yet, but I pushed it so we can try it out.
I managed to fix most of the issues but there are still a few things to figure out.

It does not play automatically anymore. Have to go and press play when opening the page.
Changing the background map does not work.
The chardin is offset in the menu section that comes from ParticleLayer.js

Other than that 😅, everything seems good.

Implementing #23.


Re-enable Java ITs on Linux [ECR-942]:

Overview
It was discovered in ECR-2899 that the Java ITs requiring the native
library work on master in the following cases (see the document
for more details):

librocksdb4.1 is installed
librocksdb5.17 is installed
no librocksdb is installed.

Therefore this PR:

Enables all Java ITs requiring the native library on Linux
Removes the mechanism disabling core Java ITs on Linux
Annotates core ITs with @RequiresNativeLibrary (currently has no
effect, but can be used to filter them in the future).

See:

https://jira.bf.local/browse/ECR-2899
https://jira.bf.local/browse/ECR-942

Definition of Done

[x] There are no TODOs left in the code
[x] Change is covered by automated tests
[x] The coding guidelines are followed
[x] Public API has Javadoc
[x] Method preconditions are checked and documented in the Javadoc of the method
[x] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

@dip56 Do you have anything that is disabled because of 942?

Coverage remained the same at 85.924% when pulling 1761e1f89a61e8be8289259f383b1c7d54da5cb3 on dmitry-timofeev:reenable-tests-on-linux-ECR-942 into 788f5d178d2f37d3889952330211c50217db9121 on exonum:master.