Suggestion for var.environment for the central networking account?

I'm confused about what should be set for the central networking account's var.environment. The documentation seems to point toward this setting for spoke resources, not for the central account itself.
Also, if those environments need to be customized, what is the proper place to customize them?

It is documented in the readme

Global variables
environment
Environment to deploy into.
Accepted values * dev, test, preprod, prod

env_config = {
dev = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "network-dev.internal"
}
test = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "network-test.internal"
}
preprod = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "network-preprod.internal"
}
prod = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "network-prod.internal"
}
}

If you want another env or to change the names then you can edit the config.auto.tfvars file

@aandsco thanks for the response. If I'm installing this main template in the transit hub account, then the maps need to show what environments I plan to deploy as spokes for the others, then? I tried setting var.environment to "prod" for the transit hub stack and it failed with a lot of similar-named objects and resource limits on IPAM (1 out of 1 already used). This is a bare AWS account with RAM enabled and IPAM delegated properly.

Well, what I'm hoping to do is deploy this stack in the transit hub account, and then accommodate "dev,", "QA", "UAT", and "prod" - so I'm not clear what var.environment to use for the transit hub account, since theoretically it's "environment less".

The IPAM limit per account is one and I wouldn’t suggest having the 4 envs in a single account.
Dev network hub to a dev accouny is what I’d planned. The lower env network hubs are for SDLC of the network hub only. Although you could adapt.
The spoke accounts will connect to the prod TGW and serve shared services, prod and non prod route tables for env segregation.
As a sample it is there to be adapted as you will, take any bits you like.
For the unique naming in the same account you would have to go through the solution and prefix each resource to be able to deploy 4 in a single account, however I would advise against this as we should look at an account as a boundary for miss configuration or security. And having all 4 in a single account increases this.

Andy Scott
DevOps Consultant – Central Government
Public Sector, Professional Services
M: +447496589430
E<EMAIL_ADDRESS>Work Hard. Have Fun. Make History.
Thoughts on our interaction? Provide feedback herehttps://feedback.aws.amazon.com/?ea=aandsco&fn=Andy&ln=Scott.
On 10 Mar 2022, at 18:09, Jason Miller @.***> wrote:

Well, what I'm hoping to do is deploy this stack in the transit hub account, and then accommodate "dev,", "QA", "UAT", and "prod" - so I'm not clear what var.environment to use for the transit hub account, since theoretically it's "environment less".
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/aws-network-hub-for-terraform/issues/4#issuecomment-1064348754, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUALUTJCK7LAOMVHFGHB7TU7I27NANCNFSM5QLENNFA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284
Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315

So in that design, you'd have theoretically 4 different transit hub accounts?

Yes if that’s what your SDLC dictates, I’d say minimum of 2, ideally 3.
But for this concept the prod network hub serves all spoke envs.
As if your developing new things in the network hub you don’t want to impact all other users dev envs

Ok, so I'm trying to deploy this template with var.environment set to "prod." I modified the names of the environments in the map and tried to deploy it. I ran into this error:
│ Error: failed creating IAM Role (prod_network_automation_role): EntityAlreadyExists: Role with name prod_network_automation_role already exists. │ 	status code: 409, request id: f7f1de07-43e0-4e56-9c8b-18050a9cd6b9 │ │   with aws_iam_role.central_network, │   on main.tf line 73, in resource "aws_iam_role" "central_network": │   73: resource "aws_iam_role" "central_network" { │ ╵ ╷ │ Error: error creating IAM policy prod_central_network_automation_policy: EntityAlreadyExists: A policy called prod_central_network_automation_policy already exists. Duplicate names are not allowed. │ 	status code: 409, request id: 7eb296b3-13bc-4758-938b-bfeddc1cd2a8 │ │   with aws_iam_policy.central_network, │   on main.tf line 104, in resource "aws_iam_policy" "central_network": │  104: resource "aws_iam_policy" "central_network" { │ ╵ ╷ │ Error: failed creating IAM Role (prod_endpoint_vpc_flow_logs): EntityAlreadyExists: Role with name prod_endpoint_vpc_flow_logs already exists. │ 	status code: 409, request id: 9f448e6b-f5a4-46df-a1ac-ba71bcc35a99 │ │   with aws_iam_role.flow_logs, │   on main.tf line 166, in resource "aws_iam_role" "flow_logs": │  166: resource "aws_iam_role" "flow_logs" { │ ╵ ╷ │ Error: Error creating ipam: ResourceLimitExceeded: You've reached the limit for ipams. You have created 1 ipams and you are limited to 1. │ 	status code: 400, request id: 33c140c5-b121-47f6-852a-0d64ffc8a4c1 │ │   with module.ipam.aws_vpc_ipam.org_ipam, │   on modules/ipam/ipam.tf line 4, in resource "aws_vpc_ipam" "org_ipam": │    4: resource "aws_vpc_ipam" "org_ipam" {
This is what I used for the variables:
`
environment = "prod"
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: MIT-0 */
aws_region    = "us-east-1"
vpc_endpoints = ["ec2", "rds", "sqs", "sns", "ssm", "logs", "ssmmessages", "ec2messages", "autoscaling", "ecs", "athena"]
tags = {
Product    = "xxxx_Automation"
Owner      = "XXXX"
Project_ID = "12345"
}
env_config = {
dev = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "xxxx-dev.internal"
}
qa = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "xxxx-qa.internal"
}
uat = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "xxxx-uat.internal"
}
prod = {
ipam_cidr        = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain      = "xxxx-prod.internal"
}
}
`
Thanks for your patience in helping me to grok this one.

I would do a destroy and ensure the role doesn’t exist.
Just to be sure.

Andy Scott
DevOps Consultant – Central Government
Public Sector, Professional Services
Work Hard. Have Fun. Make History.
Thoughts on our interaction? Provide feedback herehttps://feedback.aws.amazon.com/?ea=aandsco&fn=Andy&ln=Scott.
On 10 Mar 2022, at 18:52, Jason Miller @.***> wrote:

Ok, so I'm trying to deploy this template with var.environment set to "prod." I modified the names of the environments in the map and tried to deploy it. I ran into this error:
│ Error: failed creating IAM Role (prod_network_automation_role): EntityAlreadyExists: Role with name prod_network_automation_role already exists. │ status code: 409, request id: f7f1de07-43e0-4e56-9c8b-18050a9cd6b9 │ │ with aws_iam_role.central_network, │ on main.tf line 73, in resource "aws_iam_role" "central_network": │ 73: resource "aws_iam_role" "central_network" { │ ╵ ╷ │ Error: error creating IAM policy prod_central_network_automation_policy: EntityAlreadyExists: A policy called prod_central_network_automation_policy already exists. Duplicate names are not allowed. │ status code: 409, request id: 7eb296b3-13bc-4758-938b-bfeddc1cd2a8 │ │ with aws_iam_policy.central_network, │ on main.tf line 104, in resource "aws_iam_policy" "central_network": │ 104: resource "aws_iam_policy" "central_network" { │ ╵ ╷ │ Error: failed creating IAM Role (prod_endpoint_vpc_flow_logs): EntityAlreadyExists: Role with name prod_endpoint_vpc_flow_logs already exists. │ status code: 409, request id: 9f448e6b-f5a4-46df-a1ac-ba71bcc35a99 │ │ with aws_iam_role.flow_logs, │ on main.tf line 166, in resource "aws_iam_role" "flow_logs": │ 166: resource "aws_iam_role" "flow_logs" { │ ╵ ╷ │ Error: Error creating ipam: ResourceLimitExceeded: You've reached the limit for ipams. You have created 1 ipams and you are limited to 1. │ status code: 400, request id: 33c140c5-b121-47f6-852a-0d64ffc8a4c1 │ │ with module.ipam.aws_vpc_ipam.org_ipam, │ on modules/ipam/ipam.tf line 4, in resource "aws_vpc_ipam" "org_ipam": │ 4: resource "aws_vpc_ipam" "org_ipam" {
This is what I used for the variables:
`
environment = "prod"
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: MIT-0 */
aws_region = "us-east-1"
vpc_endpoints = ["ec2", "rds", "sqs", "sns", "ssm", "logs", "ssmmessages", "ec2messages", "autoscaling", "ecs", "athena"]
tags = {
Product = "xxxx_Automation"
Owner = "XXXX"
Project_ID = "12345"
}
env_config = {
dev = {
ipam_cidr = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain = "xxxx-dev.internal"
}
qa = {
ipam_cidr = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain = "xxxx-qa.internal"
}
uat = {
ipam_cidr = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain = "xxxx-uat.internal"
}
prod = {
ipam_cidr = "<IP_ADDRESS>/10"
tgw_route_tables = ["prod", "dev", "shared"]
root_domain = "xxxx-prod.internal"
}
}
`
Thanks for your patience in helping me to grok this one.
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/aws-network-hub-for-terraform/issues/4#issuecomment-1064384287, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUALUT5LVDZE5QGSF2VCADU7JACLANCNFSM5QLENNFA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284
Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315

Yeah, I did... this was the first execution in a brand new AWS account...

It seems you’ve hit the service limit for IPAM so that indicates it has something deployed?

Andy Scott
DevOps Consultant – Central Government
Public Sector, Professional Services
M: +447496589430
E<EMAIL_ADDRESS>Work Hard. Have Fun. Make History.
Thoughts on our interaction? Provide feedback herehttps://feedback.aws.amazon.com/?ea=aandsco&fn=Andy&ln=Scott.
On 10 Mar 2022, at 18:57, Jason Miller @.***> wrote:

Yeah, I did... this was the first execution in a brand new AWS account...
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/aws-network-hub-for-terraform/issues/4#issuecomment-1064388870, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUALURFHBN75HCQOOF5G7LU7JAWHANCNFSM5QLENNFA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284
Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315

The IPAM that was in there is the one that was created from this stack... have never used IPAM before hahaha

It looks like it’s creating over the top of a deployment then, if your state file there?
It seems an environmental issue and not with the solution.

Andy Scott
DevOps Consultant – Central Government
Public Sector, Professional Services
Work Hard. Have Fun. Make History.
Thoughts on our interaction? Provide feedback herehttps://feedback.aws.amazon.com/?ea=aandsco&fn=Andy&ln=Scott.
On 10 Mar 2022, at 19:05, Jason Miller @.***> wrote:

The IPAM that was in there is the one that was created from this stack... have never used IPAM before hahaha
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/aws-network-hub-for-terraform/issues/4#issuecomment-1064395846, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUALUSYGWSMNEXQCFJVROTU7JBXFANCNFSM5QLENNFA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284
Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315

Closing issue. Code tested in fresh account. Issue points to environment issue.


feat: adjust schedule

add workshops

Seen this repetition on day 2 and day 3

Seen this repetition on day 2 and day 3

is it supposed to be on only one?

I am not sure, it just seemed off to me

Is it for breakout sessions?

Seen this repetition on day 2 and day 3

what exactly do you mean by repetition... do you mean that the workshop Python for Robust Data Infrastructure: AirQo's Air Quality Monitoring in Africa appears on both day 2 and day 3 ?

Is it for breakout sessions?

something along those lines...workshops running concurrently with other talks...

I am not sure, it just seemed off to me

i think the representation there is for a workshop spanning more than one period.....
kindly advice on a better way to present such a scenario...

Alright if that session will span across other different sessions then that's fine. we can merge this

Cool


[AWS] fix: raw sql query not being mapped properly on RDS (#578)

This PR fixes the issue for raw sql queries via the aws-data-api client to not be properly mapped to the correct column names. (https://github.com/drizzle-team/drizzle-orm/issues/578)
Test cases have been added, but the typing is still a bit off. As of now this is at least a good enough fix for us as we can cast the proper types, but at least the format is kept as expected.

@boian-ivanov could you please sign all commits? So far changes looks good for me, but I need @dankochetov eyes for this one as well

@boian-ivanov could you please sign all commits? So far changes looks good for me, but I need @dankochetov eyes for this one as well

Unfortunately I’m out of the country at the moment and without a laptop to rebase and sign the current commits. If everything’s alright would that be fine to be sorted as is? 🤔
Otherwise I’ll be back next week and can fix that then


NodeRecorder: write to specified directory

Keeps default functionality unchanged, but when fileDirectoryPath is provided then the NodeRecorder will write its files to this location.
In other words, tell NodeRecorder "I want the files to get written to this folder - name them whatever" and then the dev can just keep track of the file names after each recording.
Does this sound like a good idea? I'm open to suggestions.
From what I could tell, if you wanted to do something like record audio files to the documents directory then you needed to either:

continuously hand off a new AVAudioFile to a new instance of a NodeRecorder
or
move/copy each file located in the temporary directory after it was recorded

1 seemed like a hack and 2 seemed like an added overhead with the file move/copy.

Can I rerun the CI test?


Add Xamarin

Add Xamarin
Project URL
https://xamarin.com
Open Source: https://github.com/xamarin/xamarin-macios
Category
Bridging
Why it should be included to awesome-ios (mandatory)
Because Xamarin the same as RubyMotion but using the C# language. Also, Xamarin has a huge community and a lot of production projects.
Checklist

[x] Has 50 GitHub stargazers or more
[x] Only one project/change is in this pull request
[x] Isn't an archived project
[x] Has more than one contributor
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@wcoder Thanks for contributing!


Training of MobileNetV1 and MobileNetV2 on Mnist and Cifar10

I think the training all get good results and the accuracy seems pretty good as well.
It's just that After the training of Cifar10 with MBNv2 will cause an exception in the end...
Exception in thread "main" ai.djl.MalformedModelException: Unsupported encoding version: 3
at ai.djl.nn.SequentialBlock.loadMetadata(SequentialBlock.java:209)
at ai.djl.nn.AbstractBaseBlock.loadParameters(AbstractBaseBlock.java:288)
at ai.djl.nn.AbstractBaseBlock.loadParameters(AbstractBaseBlock.java:293)
at ai.djl.nn.AbstractBaseBlock.loadParameters(AbstractBaseBlock.java:293)
at ai.djl.BaseModel.readParameters(BaseModel.java:367)
at ai.djl.mxnet.engine.MxModel.loadParameters(MxModel.java:187)
at ai.djl.mxnet.engine.MxModel.load(MxModel.java:129)
at ai.djl.repository.zoo.BaseModelLoader.loadModel(BaseModelLoader.java:160)
at ai.djl.repository.zoo.Criteria.loadModel(Criteria.java:168)
at ai.djl.examples.training.transferlearning.TrainMobileNetV2WithCifar10.testSaveParameters(TrainMobileNetV2WithCifar10.java:199)
at ai.djl.examples.training.transferlearning.TrainMobileNetV2WithCifar10.runExample(TrainMobileNetV2WithCifar10.java:110)
at ai.djl.examples.training.transferlearning.TrainMobileNetV2WithCifar10.main(TrainMobileNetV2WithCifar10.java:69)

Codecov Report

Merging #1878 (ace9ca2) into master (bb5073f) will decrease coverage by 2.46%.
The diff coverage is 66.64%.

@@             Coverage Diff              @@
##             master    #1878      +/-   ##
============================================
- Coverage     72.08%   69.62%   -2.47%
- Complexity     5126     5634     +508
============================================
  Files           473      539      +66
  Lines         21970    24960    +2990
  Branches       2351     2706     +355
============================================
+ Hits          15838    17379    +1541
- Misses         4925     6246    +1321
- Partials       1207     1335     +128

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/SemanticSegmentationTranslator.java
0.00% <0.00%> (ø)

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

... and 441 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Autocompletion selectable by keyboard

Hi it would be nice if the completions of the AutoComplete component could be selected by keyboard arrows. Now it seems that only posibility is to select them by mouse.

I'll make it happen as soon as possible.


Error after successfully connected

Using the last version of facebook-chat-api pulled directly from github, I have this issue.
It was working during three days and broke this morning or yesterday evening.
error : 2020-04-02T12:38:48.277Z : Listening : errorCannot read property 'successful_results' of undefined

Unhandled rejection ReferenceError: error is not defined
    at /home/henri2h/UbTouchMessBridge/index.js:139:37
    at /home/henri2h/UbTouchMessBridge/node_modules/facebook-chat-api/src/listenMqtt.js:544:16
    at tryCatcher (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues (/home/henri2h/UbTouchMessBridge/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:456:21)
    at process.topLevelDomainCallback (domain.js:137:15)

This is the result of resData in defaultFuncs (line 524 of listenMqtt) :
{
  __ar: 1,
  error: 1357004,
  errorSummary: 'Nos paenitet aliquid errasse.',
  errorDescription: 'Please try closing and re-opening your browser window.',
  payload: null,
  bootloadable: {},
  ixData: {},
  bxData: {},
  gkxData: {},
  qexData: {},
  lid: '6811099725441203910'
}

Nos paenitet aliquid errasse = Unfortunately, something was wrong (just because we can set facebook language to latin :) )
Don't know what's really going here...
Potential duplicate of https://github.com/Schmavery/facebook-chat-api/issues/202, if this is the case, I'm sorry. Tell me and I will post this issue in the correct thread.

Could you try logging in again with the email and password?

I have done so, and it doesn't work neither

If that could be of any use, here is my code : https://github.com/Henri2h/UbTouchMessBridge

Your code looks fine.
You could try these things to see if the problem disappears:
-Change the user agent.
-Change the account's password.
-Try a different account.

Well, changing the user agent to default one, worked.
Thanks for the help !!

Should we change this library's user agent?

I guess we should


Make a laser.detectsPlayer() function for when a laser detects the player.

The player should be notified when he/she is detected by the laser. Then using animations and what not, the police should come and take the player away.

I'll try to do this soon

Sounds good. Thanks!
On Mon, Jun 29, 2015 at 5:51 PM, Alexei Darmin<EMAIL_ADDRESS>wrote:

I'll try to do this soon
—
Reply to this email directly or view it on GitHub
https://github.com/elio303/simpleGame/issues/9#issuecomment-116857763.


[WIP] Add basic synchronized video frame recording, for use with LcmLogPlayer

Following comment in PR #522, this is a preliminary addition to start enabling recording deterministic videos (at least as far as I'm aware - please let me know if there's a better way!) such that a video should always have the same number of frames at the same time instants - with this current (hacky) PR, this is synchronized with LCM timestamps, such that you should effectively always produce the exact same video from an LCM Log.
An example application is blending between two videos with certain objects hidden, and not having to do any video synchronization.
My initial guess on improvements would be to separate the SreenGrabberPanel recording functionality in its own class, and maybe have that share some common Qt signal with the GUI elements, such that these singleton hacks aren't (as) necessary.
\cc @patmarion @sammy-tri

This change is

@EricCousineau-TRI I merged https://github.com/RobotLocomotion/director/pull/522
This PR includes code from that one, and also WIP modifications to screengrabberpanel.py.  Let me know if you plan to update this or whether I should close it?

Howdy Pat, I haven't needed this functionality again yet, so I'll go ahead and close the issue. If I or someone else does need it, I'll consider doing this in a more sound way, and either re-open or reference this commit.
Thanks!


Validation using generic error doesn't update valid state after async validation

Are you submitting a bug report or a feature request?

Bug report
What is the current behavior?

The problem happens when I have a form with both async and sync validation. The latter setting a generic error in ._error.
Sandbox, (I modified the redux-form's async blur validation sandbox): https://codesandbox.io/s/k9xql0k6vv
Steps to reproduce:

Fill the username field
Wait until the async validation is done
Fill the password field

When filling the password, the sync validation runs. The errors object gets empty, but the form is still invalid.
What is the expected behavior?
The form should be valid.
What's your environment?

redux-form 7.1.1
Other information

If you fill the password before or while the async validation happens, the form will be correctly valid/invalid depending on the username's validation result.

Maybe the same error:
Async validation errors for a field are ignored if the same field has sync validations configured
Tested with 7.1.2 / React 16, also reproducible in your Sandbox https://codesandbox.io/s/01zn1o0ylv if I update the dependencies and add a sync validation to a field

Im having the same problem, does anyone have a workaround?


addLinearDim is not working precisely (e.g. from Jsketcher)

Hi,
Not sure if here is the right place, but when drawing in Jsketcher horizontal dimenstion, the dxf value is not precisely.
In the image below you can see it as "8000".

but the data after using the dxf export is calculate not as horizontal line but as free line with angle.

The dxf file:

And the the wrong calculated of Dimesion with "8066"

Thanks

Hi,
Things seems working for me, I can't reproduce the problem.

Can you please tell what software used to display the dxf output.
Regards

It is local version of Jsketcher after some changes I made.
Now, I download the main version and reproduce it again (https://github.com/xibyte/jsketcher).

I test the dxf file in this site-https://sharecad.org/
Maybe your version is more updated then the main branch?


Deprecate V1 Weights

First round of cleanups to get completely rid of 1D weights. The struct will be removed soon.
:rotating_light: Changes:

Remove calls alliance::close_old_weight and collective::close_old_weight.
Deprecate the OldWeight struct. Only exception is the contracts pallet (cc @athei).
Remove legacy runtime API call query_info_before_version_2.

Deprecate the OldWeight struct. Only exception is the contracts pallet (cc @athei).

We basically need to support the old weight forever. Since existing APIs can't be changed. But we could just use u64 so we don't need to import the deprecated type.

We basically need to support the old weight forever. Since existing APIs can't be changed. But we could just use u64 so we don't need to import the deprecated type.

Okay, I will copy the type to the contracts pallet then and rename to Weight.

bot rebase

bot merge


Croatia is changing currencies (to EUR) on the 1st January

Thanks for the heads-up.
I'll update the data file soon, and get a release out right at the end of the year or the first couple of days in January


Some text is completely ignored by MMT when translating !

Hello,
I was trying to send two sentences for translation, and I noticed that only one sentence gets translated in some cases and the other is ignored? Sometimes the first sentence is translated, sometimes the second one... sometimes both.
1/ Example, i try to translate these two sentences:
Lymfadenitis of lymfeklierontsteking is een aandoening waarbij je lymfklieren ontstoken raken. Wanneer de lymfeklieren in de buikholte, in het bijzonder het mesenterium (de plooi van het buikvlies die over de darmen hangt), dan wordt het 'mesenteriële adenitis' genoemd.
I query the api:
http://...:8045/translate?source=nl&target=fr&q=Lymfadenitis+of+lymfeklierontsteking+is+een+aandoening+waarbij+je+lymfklieren+ontstoken+raken.+Wanneer+de+lymfeklieren+in+de+buikholte%2C+in+het+bijzonder+het+mesenterium+%28de+plooi+van+het+buikvlies+die+over+de+darmen+hangt%29%2C+dan+wordt+het+%27mesenteri%C3%ABle+adenitis%27+genoemd.
MMT translates only the SECOND sentence (starting with “Wanneer…”), the result is (note the parenthesis that appear only in the second sentence):
Si les ganglions lymphatiques dans la cavité abdominale, en particulier le mésentérium (le pli de la membrane abdominale qui traverse les intestins), on appelle "adénopathie mésentérique".
2/ BUT If i add for example “xx” in front of the whole block: “xx Lymfadenitis of lymfeklierontsteking is een aandoening waarbij je lymfklieren ….” then only the FIRST sentence gets translated:
“xx La lymphadénite ou l'inflammation des ganglions lymphatiques est une affection dans laquelle les ganglions lymphatiques s'enflamment.”
3/ Now, it seems to depends on what is added, example if i add “Wanneer” instead of “xx” then BOTH sentences get translated :
“Lorsque la Lympfadénite ou l'inflammation des ganglions lymphatiques est une affection dans laquelle les ganglions lymphatiques s'enflamment. Lorsque les ganglions lymphatiques dans la cavité abdominale, en particulier le mésentérium (le pli de la membrane abdominale qui traverse les intestins), on appelle "l'adénopathie mésentérique".”
what is the problem? (i did other multi sentences tests and didn't notice such problems)
thanks

The CAT I programmed myself splits segments with multiple sentences so that they can be fed one by one. Later I combine them again in the same segment. This gives far better results (it's a well-known fact that NMT chokes on longer sentences anyway).

ok but it seems to be clearly a bug here as sometimes it works, sometimes not. seems very random... :(

It's not a bug. MMT is a learning tool. It does what your are training it to do. If you are training it to translate single sentences, and then send it multiple sentences at once, it's just not coherent.
;-)

well if it was the case, then i am wondering why i get 3 different behaviours by changing a single word (see my 3 examples), with the same training set... and i have plenty of examples when it works perfectly. I was therefore suggesting that this case is highlighting a potential problem...

When you send to a learning system something it wasn't trained for, the result is quite random. A very small difference in the entry can produce a high difference on the output. The "normal" (trained) behaviour, in this case, would be to translate only the first sentence, and stop on the first final point. But, then you send it more elements. The network is then confused on what should be done (=the probability calculation is not clearly for one option or an other). If it's computation tells it the end is reached, it stops. If it's computation leave a small possibility for something more, it processes more. This is just on the line for a small probability on one choice or the other.

ok well noted, thanks to all for the comments.

Where exactly is this logged? As runtime/engdut/logs is not updated.

runtime/engdut/logs/node.log is the right path, if you're running an engine named engdut. Otherwise, look for the right folder in the runtime path

I've looked there and that log is indeed updated (not if you've changed/delete the file manually while mmt is running - after that a restart is needed), but except for the sentences it gets fed and feeds, -v 2 gives me no more info. I was expecting something on word level?

@davidecaroselli /bump

The issue related to the "ignored" text is better handled and explained in #416.
Hence, I am closing this issue.
Please feel free to re-open if you still want to discuss here.

As I understand it, I'm not sure there is really a link between these 2 questions, except the fact that the output is sorter than expected.

@EtienneAb3d, for the future please reopen the issue if you want to comment furthter on a specific issue

Text can be ignored for some reasons:

The decoding is truncated on the right side, because there is a limited amount of output bpe subtokens, which can be produced. This scenario is better explained in #416.
The input contains more sentences (separated by strong punctuation). In this case, the strong punctuation is a strong trigger to consider the translation completed. Moreover as @EtienneAb3d pointed out, the system is usually trained on single sentences, so it can have difficulties to translated not-coherent inputs (i.e. including more sentences). So it not strange that only the first sentence(s) are translated. It is more hard to explain why sometimes the first sentence(s) are not translated, which can be probably related to the attention model mechanism, which let the decoder focus on some parts of the input and not to others.
Only small portions of the input are not translated. This is mainly due to the fact that the transformer can choose to not focus on some portions of the input; it is not obliged to "cover" all the input.

Thanks to all for the discussion, I'm closing this issue for now but as always feel free to re-open it if for further discussions

What if we feed a paragraph (containing a few sentences) as a sequence into training? By doing so the model shall know how to translate a paragraph during decoding. The only thing matters is the memory.  Why I raise this is because in reality, a sentence from one language can be translated into two or more in another language (of cause, translated by human translators).

Certainly there isn't any problem to train with entries containing several sentences. But, keep in mind that the model is really efficient when trained on the same kind of data as the one you send at translation time.
On the translation side, managing several sentences in your workflow may bring you with some difficulties.
On the training side, it could be a bit hard to produce a large set of pertinent training pairs with several (millions?) sentences. It's not really pertinent to just merge N random pairs without taking into account the fact that these pairs should really linguistically be put together.

@EtienneAb3d: I agree with you. One sentence shall align to one sentence for NMT model. Sometimes, it can be difficult to alignment sentences when collecting training data. As I mentioned earlier, it is common for some language pairs, that one source sentence can be translated into more than one  target sentences. In order to align with one-sentence-to-one-sentence criterion, it might need human work (of course, some algorithm may be design for auto-alignment). Anyhow, it is the easiest way to feed multiple-source multiple-target pairs into model training.

Yes. But this is not a problem with MMT, it's a problem concerning your pre/post-processing. It's up to you to provide MMT with aligned N-M sentences if you want. It won't complain about this.


Using the done_update hook to make a first-time install script

Problems summary
I would like to make a setup script that automatically installs my base set of plugins, however I can't seem to figure out how the done_update hook works.
Expected
I expect my minimal vimrc to run dein#update(), then quit
Environment Information (Required!)

dein.vim version(SHA1): d32de9ef54ce364ab5355d829f84d0ecd5be5b26

OS: Mac OS 10.12.6

Vim/neovim version: NVIM v0.2.2

Provide a minimal .vimrc with less than 50 lines (Required!)
set nocompatible

set rtp+=$HOME/.vim/dein/repos/github.com/Shougo/dein.vim

call dein#begin(expand($HOME.'/.vim/dein')) " plugins' root path

call dein#add('Shougo/dein.vim')
call dein#add('vim-scripts/wombat256.vim')

call dein#end()

try
  colorscheme wombat256mod
catch
endtry

set background=dark
filetype plugin on
syntax on

call dein#set_hook('dein.vim', 'done_update', 'qa')
call dein#update()

The reproduce ways from Vim starting (Required!)

nvim -u vimrc.min
it seems like the hook never fires, no errors

call dein#set_hook('dein.vim', 'done_update', 'qa')

It must be hook_done_update.
Have you read the documentation?

I'm sorry, I was looking at how dein#call_hook is used here.  I think I was just a little confused.
My install script works using hook_done_update, now I just need to figure out why dein is between 15-30ms longer to start than Vundle (using cache).

now I just need to figure out why dein is between 15-30ms longer to start than Vundle (using cache).

It should be the new issue.
Please upload the minimal vimrc.
I will check it.


Files are committed without user input

Issue Type: Bug
Source control on vscode appears to have become much worse. Recently, local files that I don't intend to commit often end up being pushed to the current branch. This is increasingly difficult to avoid; I found the product much easier to use a year ago.
One easy reproduction of this error is trying to switch branches. Vscode will require you to stash your changes. When you unstash these changes, they are then staged, even though I never staged them myself. Then I have to go through a process that requires me to merge and stage files and then unstage all of the files. This is terribly annoying, the files will end up in a 'read only' state and I will try and make changes and they wont take effect and trying to actually get a version of the file that I can actually edit is non-trivial.
This makes it very easy to accidentally commit an unwanted file into your repository, which means that I now have to uncommit the file. The process of fixing this sort of mistake is an order of magnitude more difficult then making it in the first place in Vscode, meaning that I spend more time repairing my source control state because it tries to be 'smarter'.
Is it possible to install an older version of the software to revert to previous behavior?
VS Code version: Code 1.59.1 (3866c3553be8b268c8a7f8c0482c0c0177aa8bfa, 2021-08-19T11:56:46.957Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.79GB (34.21GB free)

Process Argv
--crash-reporter-id 44faac64-5f01-45e0-bddc-3278d02f12c5

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

vscode-custom-css
be5
6.0.1

gitlens
eam
11.6.0

tslint
eg2
1.0.47

Angular2
joh
12.0.0

powershell
ms-
2021.9.0

scala
sca
0.5.4

vscode-icons
vsc
11.6.0

(1 theme extensions excluded)

A/B Experiments
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vshan820:30294714
vscod805cf:30301675
bridge0708:30335490
dockerwalkthru:30344881
bridge0723:30353136
vssur157:30367808

One easy reproduction of this error is trying to switch branches. Vscode will require you to stash your changes. When you unstash these changes, they are then staged, even though I never staged them myself.

How do you stash/unstash files UI or CLI? Is it different if you use CLI only?

Can't reproduce from UI or CLI with the stash bug you're referring to. Please provide a gif using version 1.61.1 with all extensions disabled


SonarCloud not scanning prime-router

Problem statement
SonarCloud seems to be stopped scanning /prime-router code.
What you need to know

SonarCloud scan statistics

Acceptance criteria

SonarCloud statistics show results for /prime-router code
SonarCloud shows correct statistics for /frontend-react and /prime-router

To do

[ ] ...

Also: sonarcloud checks are not part of the build-backend custom action.

Possible dup with #57
Here is how they fixed this in TI: https://github.com/CDCgov/trusted-intermediary/pull/126/files

Probably deleted in https://github.com/CDCgov/prime-reportstream/pull/6372
which deleted .github/workflows/run_sonarcloud_scan.yaml.  Line 38 called out both frontend-react and prime-router.

Dupe of 57

https://github.com/CDCgov/prime-reportstream/pull/9538
https://github.com/CDCgov/prime-reportstream/pull/9539
https://github.com/CDCgov/prime-reportstream/pull/9542

SonarCloud appears to be stable and is not overwriting any portion of the statistics.
https://github.com/CDCgov/prime-reportstream/pull/9574
https://github.com/CDCgov/prime-reportstream/pull/9672
https://github.com/CDCgov/prime-reportstream/pull/9691
https://github.com/CDCgov/prime-reportstream/pull/9714
https://github.com/CDCgov/prime-reportstream/pull/9719
https://github.com/CDCgov/prime-reportstream/pull/9724
https://github.com/CDCgov/prime-reportstream/pull/9728
https://github.com/CDCgov/prime-reportstream/pull/9798
https://github.com/CDCgov/prime-reportstream/pull/9946
https://github.com/CDCgov/prime-reportstream/pull/9972


Swap Modes between EDIT and LIVE and store programs

[x] EDIT goes from LIVE to EDIT mode
[x] LIVE goes from EDIT to LIVE mode (from command prompt)
[x] LIVE in live mode does nothing
[x] Line with line number in LIVE mode automatically goes to EDIT mode and inserts line into program
[x] Line without line number in EDIT mode automatically goes to LIVE mode and executes
[x] Line with line number in EDIT mode is added to program
[x] Line out of order in EDIT mode reorders on ENTER and puts cursor in right place
[x] EDIT  ensures line number in view -- puts cursor at line
[x] EDIT  works in EDIT mode command prompt
[x] LIST  works exactly like EDIT line number

Additional issues:

[ ] Swapping back to live is still producing strange multi-input results
[ ] Reveal Lines might be able to work better
[ ] Hitting enter on pasted lines in editor creates a bunch of blank lines
[ ] Pasting lines is problematic -- needs to process these as pasted(?)


Disable raising errors by default

Disable the throwing of errors from the SDK by default.

Looks good to me. 🚀
There are some GitHub actions warnings.
ps: Why is it a draft?


Make TreadlePhase error better when can't create a tester

Programs calling TreadlePhase to create a tester should have it throw exception with useful information about why a TreadleTester could not be created.
When this is done chisel-testers2 should be changed to not check for lack of returned tester in the output annotations

Re-open or recreate when more specific example is in hand


feat: add baseDir option

Description
This PR is adding a new option, baseDir to accept a directory path to update the $ref according to the base directory that is being passed.
Related issue(s)

Resolves #136

@aeworxet need your review on this

/rtm

Kind reminder to remember to update the CLI as well 😄


[DevOps] CI takes too long

Describe the problem
Now we face major bottlenecks in our CI time. A single build CI can take 15 to 20 min. There is an urgent need to reduce the total CI time. Some changes need to be applied.

Change git clone into ssh mode. The git checkout action can take more than 5 mins sometimes. This is absurdly long and perhaps it is due to https connection to github.

Shorten unit testing time. This can be done by reducing the number of distributed network initialization and lowering the test problem size.

Some profiling results of the unit tests are shown below. The most time-consuming test cases will be optimised with priority.

This has been fixed by #446 , #448 , #449 , and #452 .


Update MySites-to-OneDrive-Migration-Guide.md

Replaced the invalid link with the correct link https://docs.microsoft.com/en-us/sharepointmigration/migration-assessment-scan-large-lists

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@JoanneHendrickson Changes look correct. Could you please review and merge? Thanks!


[Bug]: Column is not read from frontmatter

Contact Details
No response
What happened?
After restarting Obsidian the column I used to sort the files became empty. The key-value pair is still in the files though. The column doesn't even show in option, but I can add it manually.

What did not help:

Deleting the column and adding again
Deleting the database and re-creating again
De-installing the plugins
Deleting .obsidian folder

What did help:

Copying my vault from Google Drive storage to local copy. But that's not an option for me in the long run.

What platform were you using?
Desktop
Version of the plugin
3.4.0
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

Update: deleting everything from AppData > Roaming > obsidian fixed it for me.

hello @feophan ,
we will find the problem for sure =)
Dbfolder is using dataview engine to find those columns, we will discard first problems with the query used. Which source type are you using?

"Current folder"


Incorrect info about WhoCanRegister default

"By default, WhoCanRegister is enabled and set to Everyone."
According to the Message Center post, this was released with EveryoneInCompany instead of Everyone as the default.

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

ID: 2b2fe730-a95d-d12d-adb8-49d1397c77c7
Version Independent ID: 1f6077c3-6114-cb5e-8b1a-7587188f2cdf
Content: Set up for webinars in Microsoft Teams - Microsoft Teams
Content Source: Teams/set-up-webinars.md
Service: msteams
GitHub Login: @KarliStites
Microsoft Alias: kastites

@npherson Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @npherson Nash, how are you?
Can you kindly share the message center post that mentions that? I could not find it.
I got information from the team and I was informed that the default would be "Everyone" for any new tenant and that this was rolling out.
Thank you

@scanum please close.


Compiling for Android on a windows computer

I'm trying to compile for Android. I'm using a Windows computer, with msys and perl and python installed. I'm using NDK r21. I keep getting "no NDK arm-linux-androideabi-gcc on $PATH at (eval 6) line 124". What should the  PATH variable (toolchain) be set to? How shold the ./Configure parameters be set? Other variables? Is there somewhere that i can get the .so files? I need version 3

I tried r23. Now i get
$ANDROID_NDK_HOME=c:/Users/Public/Documents/Embarcadero/Studio/21.0/CatalogRepository/android-ndk-r23 is invalid at (eval 6) line 37
cd /c/openssl-master/openssl-master
rm -rf "libs"
mkdir -p  "libs"
export ANDROID_NDK_ROOT=/c/Users/Public/Documents/Embarcadero/Studio/21.0/CatalogRepository/android-ndk-r23
export ANDROID_NDK_HOME=/c/Users/Public/Documents/Embarcadero/Studio/21.0/CatalogRepository/android-ndk-r23
PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/windows-x86_64/bin:$PATH
./Configure android-arm -D__ANDROID_API__=29 --openssldir=libs

First make sure that c:/Users/Public/Documents/Embarcadero/Studio/21.0/CatalogRepository/android-ndk-r23/source.properties exists and that c:/Users/Public/Documents/Embarcadero/Studio/21.0/CatalogRepository/android-ndk-r23/AndroidVersion.txt does NOT exist.
Also make sure that the Perl used comes from MSYS2.
Of course it is possible that the configuration file (Configurations/15-android.conf) has some portability issues. Windows paths are totally different from *nix after all...

I reverted back to m r21 ndk, and i was able to configure, but the make failed with
make[1]: llvm-ar: Argument list too long
make[1]: *** [Makefile:11501: libcrypto.a] Error 127
make[1]: Leaving directory '/c/openssl-master/openssl-master'
make: *** [Makefile:2762: build_sw] Error 2
I then downloaded the version 3.0 branch, and that compiled

make[1]: llvm-ar: Argument list too long

Similar to #10459.


wpf .net core 3.0 Could not resolve type: System.Runtime.CompilerServices.IAsyncStateMachine

Confuser version: 2.0.0-alpha+8ad42fe229
I tried to configure ConfuserEx on a desktop .net core 3.0 DLL , but I get an error:
dnlib.DotNet.TypeResolveException: Could not resolve type: System.Runtime.CompilerServices.IAsyncStateMachine (System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at dnlib.DotNet.TypeRef.ResolveThrow(ModuleDef sourceModule)
   at Confuser.Renamer.VTableStorage.GetVTable(ITypeDefOrRef type) in C:\projects\confuserex\Confuser.Renamer\VTable.cs:line 388
   at Confuser.Renamer.VTable.ConstructVTable(TypeDef typeDef, VTableStorage storage) in C:\projects\confuserex\Confuser.Renamer\VTable.cs:line 164
...

The support for .NET Core is currently very limited. You have to add the dependency assemblies of .NET Core manually as references to your project.
See also: #74 #72 #58 #40
These issues are basically about the same thing.

Thanks for the answer.
I am also trying to user Confuser.MSBuild 2.0.0-alpha from Nuget, but I get this error without details:
[CRITICAL] Failed to resolve a type, check if all dependencies are present in the correct version
In fact the project does not have depency on System.Runtime, Version=<IP_ADDRESS>. Dependcies from deps.json refer to System.Runtime/4.3.0.
I am trying to set modul reference in .crproj to SystemRuntime.dll from nuget folder, from dotnet\shared\Microsoft.NETCore.App\3.0.0, but error always the same.
Maybe you have recommendations on how to determine the necessary references and paths?

I have the same error under netcore3.1 and my app does not contain WPF.

There is a test repository here:
https://github.com/mkaring/TestApp
It contains a .NET Core assembly for testing purposes, that works fine.

There is a test repository here:
https://github.com/mkaring/TestApp
It contains a .NET Core assembly for testing purposes, that works fine.

It works fine, until you change the method in Class1 of TestApp.Lib to something like:
public int GetARandomInt()         {             object o = null;             var test = o?.GetType()?.Name;             return new Random().Next();         }
And if you change the target framework:
 <TargetFramework>netcoreapp3.1</TargetFramework>
Then you will get the following exceptions when compiling:
1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Failed to resolve a type, check if all dependencies are present in the correct version. 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Could not resolve type: System.Reflection.MemberInfo (System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : ---BEGIN DEBUG INFO--- 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Installed Framework Versions: 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     v4 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     Client  4.8.04084 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     Full  4.8.04084 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     v4.0 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     Client  <IP_ADDRESS> 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     v4.5 528372 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :  1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Cached assemblies: 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :     TestApp.Lib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null (W:\Temp\TestApp-master\TestApp.Lib\obj\Debug\netcoreapp3.1\TestApp.Lib.dll) 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :         System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :         System.Runtime.Extensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error :         System.Linq, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
I

@mkaring

The support for .NET Core is currently very limited. You have to add the dependency assemblies of .NET Core manually as references to your project.

Any ETA on .net core support?

There is a test repository here:
https://github.com/mkaring/TestApp
It contains a .NET Core assembly for testing purposes, that works fine.

It works fine, until you change the method in Class1 of TestApp.Lib to something like:
public int GetARandomInt() { object o = null; var test = o?.GetType()?.Name; return new Random().Next(); }
And if you change the target framework:
 <TargetFramework>netcoreapp3.1</TargetFramework>
Then you will get the following exceptions when compiling:
1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Failed to resolve a type, check if all dependencies are present in the correct version. 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Could not resolve type: System.Reflection.MemberInfo (System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : ---BEGIN DEBUG INFO--- 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Installed Framework Versions: 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : v4 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Client 4.8.04084 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Full 4.8.04084 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : v4.0 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Client <IP_ADDRESS> 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : v4.5 528372 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : Cached assemblies: 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : TestApp.Lib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null (W:\Temp\TestApp-master\TestApp.Lib\obj\Debug\netcoreapp3.1\TestApp.Lib.dll) 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : System.Runtime.Extensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 1>W:\NugetPackages\confuser.msbuild\1.4.1\build\Confuser.MSBuild.targets(66,5): error : System.Linq, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
I

I do h ave the same problem, is there any ETA?

As of right now: No.
Tracking and updating the state of support for the newer versions of .NET will be handled in this issue: #302


i18n: p12s, endsinger ko translations

Reasons for strategy translations, for other translators.
    {
      id: 'classicalConceptsPairOrder',
      name: {
        en: 'Classical Concepts: Pairs Order (Left->Right)',
        ko: 'Classical Concepts: 도형 순서 (왼 -> 오)',
      },
      type: 'select',
      options: {
        en: {
          'X□○Δ (BPOG)': 'xsct',
          '○XΔ□ (Lines)': 'cxts',
          '○Δ□X (Rocketship)': 'ctsx',
        },
        ko: {
          'X□○Δ (파보빨초)': 'xsct',
          '○XΔ□ (1234)': 'cxts',
          '○Δ□X (동세네엑)': 'ctsx',
        },
      },
      default: 'xsct',
    },

BPOG -> Blue, Purple, Orange, Green -> 파랑, 보라, 빨강, 초록 -> 파보빨초
Lines -> 1 line with ○, 2 lines with X, 3 lines with Δ, 4 lines with □ -> 1234.
Rocketship -> Just the initials of the Circle(동그라미), Triangle(세모), Square(네모), and X(엑스).
    {
      id: 'pangenesisFirstTower',
      name: {
        en: 'Pangenesis: First Towers',
        ko: 'Pangenesis: 첫번째 기둥',
      },
      type: 'select',
      options: {
        en: {
          'Call Required Swaps Only': 'agnostic',
          '0+2 (HRT)': 'not',
          '1+2 (Yuki/Rinon)': 'one',
        },
        ko: {
          '교체가 필요할 때만 알림': 'agnostic',
          '0+2 (힐러원딜탱커)': 'not',
          '1+2 (Yuki/Rinon)': 'one',
        },
      },
      default: 'agnostic',
    },

HRT -> Healer Range Tank

Reasons for strategy translations, for other translators.
BPOG -> Blue, Purple, Orange, Green -> 파랑, 보라, 빨강, 초록 -> 파보빨초
Lines -> 1 line with ○, 2 lines with X, 3 lines with Δ, 4 lines with □ -> 1234.
Rocketship -> Just the initials of the Circle(동그라미), Triangle(세모), Square(네모), and X(엑스).

Yeah, "lines" is number of lines.  "Rocketship" kind of looks like a rocketship (the triangle is the pointy top, the square is the body, the x is the thruster, the circle is the moon), but it's also "number of corners" vs "number of lines", where X has more corners than square does so it goes last.

HRT -> Healer Range Tank

I don't think this is true.  As far as I can tell this was just a pride month trans joke (HRT = hormone replacement therapy).  However, I am not quite sure why this is called this.  It's what the https://www.thepfstrat.com/ links to.  You could call 0+2 "early merge" as well, because that's the one where the two people not in the first tower merge together.

I wondered if it was Rocketship because it looked like a rocketship.... I got it from a Korean community post that called it 동세네엑, and I think it's fine.
I'll fix the HRT to early merge. Thank you.


support tracking id for analytics

Matomo / Analytics ids are numeric auto generated, we need to support them in config file and templates for wikis

done


fix: allow curl to fail properly

Curl needs the '-f' option to give an error code on a failed download, otherwise it will exit with a code 0.
Trying to install in an Intel Mac, as there are no binaries for Mac in the repo, went like this:
❯ asdf install nerdctl latest
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     28      0 --:--:-- --:--:-- --:--:--    28
Creating bin directory
Unpacking nerdctl to bin directory
tar: Error opening archive: Unrecognized archive format

That error message misleads on the real error happening.
After the change:
❯ asdf install nerdctl latest
asdf-nerdctl: Could not download https://github.com/containerd/nerdctl/releases/download/v1.2.0/nerdctl-1.2.0-darwin-amd64.tar.gz . Is the tool available for darwin-amd64?

Have a nice day! 😄

Thanks.


typo in setup.py causes warning

entrypoints in setup.py should be spelled entry_points...
causes
/usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'entrypoints'
otherwise ...

Ah, this has been fixed for a long time, but forgot to close the issue!
Thanks!


Support Recursive thrifts in v_1_5_0

union JSONValue {
  7: list<JSONValue>                                       array_val
}

Here is an example thrift that causes breakage in riffed.

Should be working now.


⚠ Bofrost.lu has degraded performance

In 254391c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2213 ms

Resolved: Bofrost.lu performance has improved in 4c995fe after 13 minutes.


KreMLin should take into account whether a function is curried in C or not in applications

It's possible to get KreMLin confused about whether an application should be curried in C or not (that is, should the call be f(x)(y) or f(x, y)), which makes sense given ML does not have this distinction.
I thought this was related to [@"substitute"] and/or inline_for_extraction, but buggy_const_f and inline_higher_id are both extracted incorrectly.
module Curried_application

open FStar.HyperStack
open FStar.HyperStack.ST

unfold
let bool_function = bool -> St bool

let const_f : bool_function = fun x -> x

let higher_id (f:bool_function) : bool_function = f

// this works, generating a call to [higher_id] and then a call to the x
// parameter due to [bool_function]
let still_const_f : bool_function =
  higher_id const_f

// on the other hand, after eta expansion KreMLin doesn't call higher_id correctly
let buggy_const_f (b:bool) =
  higher_id const_f b

// it turns out this function also extracts, and has an incorrect call already
inline_for_extraction [@"substitute"]
let inline_higher_id (f: bool_function) : bool_function =
  fun x -> higher_id f x

let still_buggy : bool_function =
  inline_higher_id const_f

For convenience here's the C code I get:
#include "Curried_application.h"

bool Curried_application_const_f(bool x)
{
  return x;
}

bool (*Curried_application_higher_id(bool (*f1)(bool x0)))(bool x0)
{
  return f1;
}

bool Curried_application_still_const_f(bool x0)
{
  return Curried_application_higher_id(Curried_application_const_f)(x0);
}

bool Curried_application_buggy_const_f(bool b)
{
  return Curried_application_higher_id(Curried_application_const_f, b);
}

bool Curried_application_inline_higher_id(bool (*f1)(bool x0), bool x)
{
  return Curried_application_higher_id(f1, x);
}

bool Curried_application_still_buggy(bool x)
{
  return Curried_application_higher_id(Curried_application_const_f, x);
}

fixed in b89976e801f1b0310a899e93048e61bfad7a811f..0619181ce5bbb68b5dc7dfc0465c731e682ed557


Remove unnecessarily large documentation header

All it does is take space, it serves no purpose.

Do you have a screenshot of how it looks after?

Yes! 👍


feat(upload): Expanded IPFS Class for uploading files to the web

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: update blob metadata during properties update

When a nexus fails over and is moved to a new node, the nvmf replicas attached to it are re-shared. In the share path we don't update lvol blob metadata today, but only update in-core replica nvmf subsystem. Later on if this replica node reboots, the replica is imported with metadata that still contains nqn of old nexus node. This results into replica rejecting the connect attempts from nexus(on new node), e.g. during online child operation.

[2024-04-11T10:41:09.290525051+00:00 ERROR mayastor::spdk:ctrlr.c:737] Subsystem 'nqn.2019-05.io.openebs:af36286f-2e22-4acc-afdb-bd306dd03056' does not allow host 'nqn.2019-05.io.openebs:node-name:io-engine-2'

bors try

We'd also need a make_replica_accessible call in control-plane for when this doesn't sync, ex: crash

I'll create another ticket for that.

But also to consider, if we have 1000 replicas, this could potentially be 1000 * meta_size during shutdown, could this become a problem?

Those 1000 replicas would belong to 1000 distinct nexuses, and unless all 1000 nexus are on same node it would be unlikely that all 1000 replicas will have dirty metadata. Moreover, we'd expect the blobstore unload to be able to handle this scale during clean restart. I did a simple test by creating about 900 replicas on a deployer node and shared them over nvmf without syncing metadata, restarted the node, reimported the pool, didn't notice any issue in io-engine during shutdown or re-import.

Those 1000 replicas would belong to 1000 distinct nexuses, and unless all 1000 nexus are on same node it would be unlikely that all 1000 replicas will have dirty metadata. Moreover, we'd expect the blobstore unload to be able to handle this scale during clean restart. I did a simple test by creating about 900 replicas on a deployer node and shared them over nvmf without syncing metadata, restarted the node, reimported the pool, didn't notice any issue in io-engine during shutdown or re-import.

How much data is written per replica in this worst case scenario? Ex: if metadata sync is 4MiB then 4MiB x 900

How much data is written per replica in this worst case scenario? Ex: if metadata sync is 4MiB then 4MiB x 900

It seems spdk persists metadata sync in units of page size i.e. 4KiB depending on how many metadata pages are actively allocated for blob, so the actual amount of data to persist would be lesser than 4MiB x 900

Alright, this seems reasonable then :+1:

bors try

bors merge


Fix typo in documentation

Codecov Report

Merging #507 (8ef75a2) into master (4cd14d0) will decrease coverage by 98.97%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master    #507       +/-   ##
==========================================
- Coverage   98.96%   0.00%   -98.97%
==========================================
  Files           6       6
  Lines         193     193
==========================================
- Hits          191       0      -191
- Misses          2     193      +191

see 6 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks @markszente!


Add shallow embedding option in link prediction

Also add tensorboard integration in gnn_link.py and remove MIPSIndex since it often runs OOM in add index stage.

python gnn_link.py --share_same_time --use_shallow

gives the best performance on HM. See tensorboard.


Added a fix for the fact that the AssemblyName can and will be null

Added a fix for the fact that the AssemblyName can and will be null when an invocation happens on an object reference instead of a static method.
Changed the assembly name for the DispatchEvent and LocationChanged interop calls to match the actual assemblyname.

Thank you again @jspuij !


Create an installer for RPI 4

Create an installer for Armv8
(so far the v7 installer seems to work okay, as I installed it about 2 minutes ago)

What Linux distribution are you running on your Raspberry Pi 4?  Raspbian is 32-bit so packages built for aarch64 will not run on such a system.
conda-forge has a large collection of linux-aarch64 packages which can be used on systems that are capable of running this binaries.

Raspbian Buster, which is still 32 bit, and I assume why the v7 installer worked okay.

I suspect the v7 installers will work fine on a 4, but I do not have one to test.  The RPi 3 is a armv8 processor but when run on Raspian uname -a would report armv7l.

Indeed it does:
$ uname -a
Linux raspberrypi 4.19.58-v7l+ #1245 SMP Fri Jul 12 17:31:45 BST 2019 armv7l GNU/Linux


Sprint 12 migration to test/perf

Sprint 12 migration to test/perf

closing this PR to try again with a new PR


Component size issues

Summary
Based on the outcomes of ticket 2072 and related tickets (https://github.com/mi6/ic-ui-kit/issues/881, https://github.com/mi6/ic-ui-kit/issues/2060),  outstanding decisions on sizes still need to be made on the following.
💬 Description
Data entity (now data list) -has extra large, medium and extra small sizes, no large or small, also has a  separate 'small' prop. Individual rows have this too.
Page header - uses breakpoints AND has 'size' prop with only default and small, no large
Select - redundant small toggle for field label. Need to update size on input/select field or is that redundant too?
Status tag - Figma has default, small and large sizes but website only lists default and small
Text field - no large on any of the variants, input label has redundant 'small' prop that doesn't seem to change anything
Make decision re action required for each item above and document decision if no action in comments, or create tickets if changes will be made.
Additional info
See related tickets above.

Completed - see outcome for each component on internal docs. Only one change made to Data Entity to match dev component.


Use default port when adding new squeak peer

Allow input of custom port only if the user wants.

In the "add peer" UI, the form should use the default port value of 8774. The user can manually override the default if they want, but it should not be required.

In the "add peer" UI, the form should use the default port value of 8774. The user can manually override the default if they want, but it should not be required.

Update:

Show checkbox with label "Use custom port"
If checked, display "Port" text input field, send input to server
If unchecked, send 0 to server

Update:

Show checkbox with label "Use custom port"
If checked, display "Port" text input field, send input to server
If unchecked, send 0 to server


Trying to use single quotes for strings

Since in JavaScript single quotes work the same way as double quotes, a JS programmer might reflexively try to write the following:
str = 'foo'

Currently this yields the following fairly unhelpful syntax error:
I ran into something unexpected when parsing your code!

1| str = 'foo'
I am looking for one of the following things:

    a closing '''

It would be better if it explained that in Elm, ' is used for single characters only, and " is required for multi-character Strings.

Thanks for the report. Should be fixed in the next big release!

I think something went wrong such that this error message didn't trigger when those parser changes were all done. With the recent batch of improvements, this message also got much more specific:

sadly double quotes are hard to type for some keyboard layouts. I got used to single quotes because of this and now I am in pain writing elm :)

would it be too much to ask if we can have elm determine if the input is a char or string and the programmer would just use ' singlequote, and user can make single chars string explicitly by double quote.

This error message is not displayed when you are defining a record. Took me a while to figure out that:
bill = { name = 'Gates', age = 57 }

Was invalid, because I got the following error message:
-- SYNTAX PROBLEM -------------------------------------------- repl-temp-000.elm

The = operator is reserved for defining variables. Maybe you want == instead? Or
maybe you are defining a variable, but there is whitespace before it?

4|   bill = { name = 'Gates', age = 57 }
          ^
Maybe <http://elm-lang.org/docs/syntax> can help you figure it out.


gocr: 0.50 -> 0.51

Semi-automatic update. These checks were done:

built on NixOS
ran /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/bin/gocr --help got 0 exit code
ran /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/bin/gocr --help and found version 0.51
found 0.51 with grep in /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51
found 0.51 in filename of file in /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘gocr-0.51’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/applications/graphics/gocr/default.nix:28 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/lib/libPgm2asc.0.51.so
shrinking /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/lib/libPgm2asc.so
shrinking /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/bin/gocr
gzipping man pages under /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/lib  /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/bin
patching script interpreter paths in /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51
/nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51/bin/gocr.tcl: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-gocr-0.51.drv-0 in /nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51...
/nix/store/6mm4a7nrr7ahv7wc47c137f28frhkrm5-gocr-0.51

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/bin/gocr
shrinking /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/lib/libPgm2asc.so
shrinking /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/lib/libPgm2asc.0.51.so
gzipping man pages under /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/lib  /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/bin
patching script interpreter paths in /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51
/nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51/bin/gocr.tcl: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51...
/nix/store/4nhgchcs6j51bm3g998h1fbaik98qj97-gocr-0.51


Improve readme

This just improves some grammar, fixes typos and increases consistency in the readme.md 🤓

Very good. Thank you @tjallen :)

No worries, keep up the great work!

Yes @tjallen


Error while creating account create account

When I try to create an account, following error shows.
Error 3090003: provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

My wallet is unlocked and it has the required keys. Why this happens?

Same issue here. Did anyone solved this issue?

Same issue here. Did anyone solved this issue?

Show your command line.

cleos create account eosio xx.test.1 EOS6CAbXRBtAwVqySZqZ1Jgwtwj1mNxFh3iQXAdE9vobKGBYrLyjS EOS72CPirpyB7PD98oLjw2e4RS9E5a9jwrDt3giPqv98UkrA5nk8H

nodeos:
nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin
create account:
cleos create account eosio wj.test.1 EOS6CAbXRBtAwVqySZqZ1Jgwtwj1mNxFh3iQXAdE9vobKGBYrLyjS EOS72CPirpyB7PD98oLjw2e4RS9E5a9jwrDt3giPqv98UkrA5nk8H
error:
3090003

nodeos:
nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin
create account:
cleos create account eosio xx.test.1 EOS6CAbXRBtAwVqySZqZ1Jgwtwj1mNxFh3iQXAdE9vobKGBYrLyjS EOS72CPirpyB7PD98oLjw2e4RS9E5a9jwrDt3giPqv98UkrA5nk8H
error:
3090003

If you are using your private testnet than try this:
First, open config.ini - the configuration file of the nodeos, you may find it here: /root/.local/share/eosio/nodeos/config.
Here you will find something like this:
signature-provider = EOS${PUBLIC_KEY}=KEY:${PRIVATE_KEY}
Copy the ${PRIVATE_KEY} into a clipboard.
Now, unlock your wallet:
cleos wallet unlock (you will have to enter a password you have got after creating a default wallet)
And, finally, import the ${PRIVATE_KEY} into your wallet:
cleos wallet import ${PRIVATE_KEY}
Now you can sign transactions with eosio permissions.

Thank you @IvanYakimov. Now, it's working..!!

@IvanYakimov
your advice seems useful. previously i got all sort of errors while creating a simple, new account on local test node.  now, it seems an improvement, no error generated, however, the
cleos create account eosio mynewaccount EOS6MRyA...publickey simply hanged there, no response,
it's been about 3 minutes already, what could be the problem?
thanks.

@grabastart Sorry, but unfortunately I cannot answer your question as I don't have enough expertise in eos myself. You can try to leave a question on the https://eosio.stackexchange.com/ forum.


Aliases to run the script from a shell

Currently there are three aliases that can be used to call the program:

scan_astro-ph
scan_astroph
astroph-scan

This can be a bit cumbersome for Tab-completion in the shell, as one gets stuck where multiple option to continue exist (at several points in case of the first two aliases).
Maybe we should agree on a single command to invoke scan_astro-ph and drop the aliases.

Yes, I totally agree. I wanted to already choose them in #5, but forgot about it.
I feel like underscores are more cumbersome to type an underscore, and beginning with astroph help tab-completion. Therefore I prefer astroph-scan.
As could be easily extended to other topics on arXiv.org, maybe we could also think about renaming it to arxiv-scan or something similar.

Agreed on the astroph-scan.
I like the idea of renaming to arxiv-scan, if we can make it straightforward to the user to pick their arxiv section. This will probably be done only once. Some users might want to cover several (sub)sections.
In any case, arxiv-scan would be more general and also good for tab completion.

Sounds good. What do you think about changing it to astroph-scan for now, and add arxiv-scan when topic selection is implemented?

Also: should we rename the Python package? This doesn't make any difference for the user, but I might be nice to have this unified.

Yes, I think it would be good if it's all the same name.


💡 Feature Request - Add in additional parameter for vWAN virtual hub routing preference

Hi Team,
Please could the vWAN bicep module (/infra-as-code/bicep/modules/vwanConnectivity) have a parameter included for hub routing preference as per the document below.
https://learn.microsoft.com/en-us/azure/virtual-wan/howto-virtual-hub-routing-preference

Thanks @gerrynicol, great ask. I will add to backlog and see if we can sneak in alongside the other vWAN update we have in progress.
Thanks
Jack


[legacy] read dev-config from config-production.js-dist

it is duplicated in config-production.js-dist and config.js

invalid


Throttling of push/pull

Not sure if there is a go lang mechanism to do this. If not, is there an application specific way to limit drive bandwidth when doing push/pulls? I find sometimes with drive it can hog all the pipe but if used with tc it could work. But I only want to limit drive and not the whole interface.
[1] http://monkey.org/~marius/pages/?page=trickle
[2] http://mark.koli.ch/slowdown-throttle-bandwidth-linux-network-interface

Comments, queries to OP,disagreement?

Independent push and pull throttling would be helpful to mange limited bandwidth, particularly push on slow uplink ADSL channels. Also GD has rate limiting as standard, could someone explain the limits applied to see how they might interact with drive.
Regards CB

Hello @ikwyl6 and @CountryBumkin thank you for the comments, and for bringing attention to this issue.
Golang already has throttling, please see the example and sample code below.
package main

import (
	"fmt"
	"os"
	"strconv"
	"time"
)

func throttleTest(frequency int64) {
	fmt.Printf("Frequency: %v requests per second\n", frequency)
	if frequency < 1 {
		frequency = 10
	}
	throttle := time.Tick(time.Duration(1e9 / frequency))
	for {
		fmt.Println("curTime", time.Now().UnixNano())
		<-throttle
	}
}

func main() {
	argc := len(os.Args)
	n := int64(10)
	if argc >= 2 {
		parsed, err := strconv.ParseInt(os.Args[1], 10, 64)
		if err == nil {
			n = parsed
		}
	}

	throttleTest(n)
}

Say we want n requests per second
$ go run throttle.go 100
$ go run throttle.go 2

Can this be added to drive as parameter/option?

Any more thought(s) on adding a flag for bandwidth?

On a related aspect could the README include sufficient details of the drive protocol to enable users to program the QoS facility of their router, most likely to expedite interactive services ahead of potentially large background up/down loads.
Regards CB

This option would be really helpful when downloading/uploading large amounts of data, while not wanting to take up the whole bandwidth.

Any ideas?

Hi - haven't been around for while but thought I'd poke my nose in..
Any idea on this one for throttling?

Hi folks,
please checkout #1026 as well.

Implemented by @iblis17 in https://github.com/odeke-em/drive/pull/1026


[IOTDB-5480] IoTConsensus sync lag may be negative under single copy

Description
The threads of the LogDispatcher under single copy is empty, so safeIndex and searchIndex are the same value. The order of obtaining this value is related to the traversal order of the metricEntry in the PrometheusReporter, so it may be a negative value.
Solution: Put two get directly into a function.
Subsequent improvements: Consider adding topological order to the traversal of metricEntry.
Please see details in IOTDB-5480.

Excellent Work! Just one problem, Please update the en and zh doc at same time en: docs/UserGuide/Monitor-Alert/Metric-Tool.md zh: docs/zh/UserGuide/Monitor-Alert/Metric-Tool.md

ok


feature request: hosted solution

Not having the overhead of setup would be great.

How about a docker image, just pull it and run :smile:

Umm, i should correct myself.
Not just setup, but hosting it as well.
See related: https://github.com/Matterwiki/Matterwiki/issues/7

An easy way to deploy to Heroku could be best. There are two ways to add heroku into the mix that could be useful:

Manual. Add clear documentation to the Readme for deploying the app to Heroku. Currently, IMO, deploying Matterwiki from a local build is tricky. I'm a moderately capable developer but couldn't get Matterwiki running on Heroku. So, a little more documentation around deploying to Heroku could be good.

Deploy to Heroku Button. To make a fully turnkey solution, building out a Deploy to Heroku button could be the ticket. That would allow the "hosted solution" option mentioned above with very little setup.

Both options make me happy.

@calebsylvest , I managed to get it up on Heroku by cross-referencing the live demo branch. I'm happy to share with you my package.json (that's the only thing I modified).

@spaceraccoon can you share your package.json with me too ? Did you specify a BuildPack in your app settings on heroku ?
A "deploy to heroku" button in the readme would be great though

#105


Add participant permissioning in chaincode

AIM
The aim is to modify the existing chaincode to demonstrate how authentication can be used in smart contracts
MOTIVATION
From my research, I could not find an example repo that demonstrates permissioning on a per participant basis. This change will bring the repository closer to the permissions used in decentralized-energy-composer and eventually surpass it.
Changes

Added a new key value pair while creating a resident, utility company and a bank

Added new array in the init code. Aim is to use this to map users to identities used and allow a participant to change their identity just as possible in composer

Added new log to show the id of the person who signed the tx using this documentation. Usage of getX509Certificate was avoiding as usage of an identity mixer would result in an error

Added new key to Resident, Bank and UtilityCompany to assign them an identity, similar to how participants are assigned one in composer

Added a check to prevent the array residents, banks and utilityCompanies from duplicating values stored. When the function AddResident is called with same residentId of R1, the array appends R1 which should not be the case as no new resident is being created, rather an existing one is being updated

Added checks to ensure GetState gracefully handles scenario where the key does not exist. It currently throws an Unexpected end of JSON input error

Added a check to ensure the function EnergyTrade and CashTrade can only be invoked if the sender of energy/ cash is the one who signs the transaction, preventing other participants from submitting malicious transactions

Potential Issues

In composer, assigning an identity and exporting the card for a participant was possible only by an admin, currently no such provision has been made

The identityMap array is not being used, still thinking how to structure it properly

Breaking Changes

None; current code in the application, application-ts and web-app folder should work as is

TODO

[ ]  Replace the current registerUser.js, query.js and invoke.js to allow users to change the wallet identity used for each transaction in a new PR

Just realized 3 commits made by @ljbennett62 also got included that cause a merge conflict, not sure what to do now. Please advise.

Added addition files to demonstrate registering different users and using a participant type system as in composer
Please advise on next steps !


Fix to "flac to wav" conversion

Hi,
Thanks for your great project, I have been working a little on it those past days and I will send you some pull request if that's ok for you.
For easier review I decided to go with small pull requests so I have 2 or 3 others which should follow this one. Feel free to review my fork and take all if you prefer.
Anyway this pull request is about the conversion from flac to wav, there was an issue if there was mixed files inside directories :

if the last file was a wav file the flac files from the directories wouldn't be converted and it would fail when we need to read them because the extension was already changed in the list
if the last file was a flac file it would failed when trying to convert the first wav file

I've also some PEP8 fixes coming with, nothing really important but it make a lot of "noise" in this first pull request... Sorry.
Thanks,
Antoine.

Hey, thanks for your pr, it really cleans it up. I was worried there could be an issue with the conversion, I'm glad you clarified that (and offered a fix!).


Specifying volume size in docker compose file

I have installed the docker plugin for rexray/ebs and it works awesome with docker stack.  By default, it creates 16GB volume and I would like to change the size depends on my stack.  I am able to create the docker volume with different size using cli but I am not able to leverage the size options in the compose file and it looks like the version 3 don't support  options param.  What is the right way to pass the options param to the rexray/ebs plugin via volume specification in the compose file?
The following cli works
docker volume create --driver=rexray/ebs --opt=size=5 --name=volume-test-cli

The below compose file throws error options Additional property options is not allowed
version: '3'

# docker stack deploy --with-registry-auth --compose-file volume-test.yml volume-test

services:
  test-proxy:
    image: busybox
    volumes:
      - test-data-volume:/test
volumes:
  test-data-volume:
    driver: rexray/ebs
    options:
      size: 5

I suspect the answer to your question is this:
version: '3'

volumes:
  test-data-volume:
    driver: rexray
    driver_opts:
      size: 1

This is how driver options are passed to the docker-volume-netshare NFS driver via compose.
I wanted to verify this before replying but I just hit the DO underscore bug (https://github.com/codedellemc/libstorage/issues/450) And I cannot test this as I need to create my volumes manually for now.

Closing this for now, as I believe @Routhinator answered the question correctly.
As an aside, @Routhinator I hope you also saw that it should be possible to have REX-Ray deal with those DO underscores now.


deposit: show progress on DropBox upload

Originally on 2013-03-07
Currently only local file upload show progress. DropBox should
also show a progress indicator

Issue moved to inveniosoftware/invenio-files-js #3 via ZenHub


TypeScript Issue # 18615.

Added DOMRect, DOMRectReadOnly and DOMRectList types.  Modified signatures of properties/methods that used ClientRect or ClintRectList types to use ClientRect | DOMRect or ClintRectList | DOMRectList types respectively. (Left some MS/IE/Edge specific methods/properties unchanged)

@muj-beg,
Thanks for having already signed the Contribution License Agreement. Your agreement has not been validated yet. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

ref https://github.com/Microsoft/TypeScript/issues/18615

@muj-beg  can you please refresh this PR.

@mhegazy PR updated.

Tip: git pull --rebase Microsoft master is great!

@muj-beg why added interfaces is without "flavor": "DOM" property? Seems that is DOM-only types.

@timocov I've added the flavor: DOM to these and merged in latest changes.
(Sorry, my merge history is a mess -- I realize I should have likely done a rebase.  I'll keep that in mind for next time.)


CalendarsOfLocale, CollationsOfLocale, and NumberingSystemsOfLocale should return canonical identifiers

CalendarsOfLocale, CollationsOfLocale, and NumberingSystemsOfLocale should return canonical identifiers.
For example "gb2312" instead of "gb2312han" for new Intl.Locale("zh").collations.

Here is the current spec text said
Let list be a List of 1 or more unique calendar identifiers, which must be lower case String values conforming to the type sequence from UTS 35 Unicode Locale Identifier, section 3.2, sorted in descending preference of those in common use for date and time formatting in locale.

I blieve the "conforming to the type sequence from UTS 35 Unicode Locale Identifier, section 3.2" part already address the issue of "canonical identifiers". For example - "gb2312han" will not fit that clause and won't be return. I do not believe we need to add any more word for this.
I am closing this. Please feel free to reopen if you think the current spec text is still not need clear enough.

I've only used "gb2312han" as an example to point out the V8 bug fixed in https://bugs.chromium.org/p/v8/issues/detail?id=11887.
There are still other cases where not requiring canonical identifiers can result in cross-compatibility issues. For example we should require that "islamicc" is canonicalised to "islamic-civil" and that "ethiopic-amete-alem" is canonicalised to "ethioaa".


Alias in requirements.yaml not working

As the docs stating it should be possible to deploy the very same dependency of a chart more than once. The alias mechanism - AFAIK - is the vehicle for achieving this. But it seems to be broken some how.
$ helm version
Client: &version.Version{SemVer:"v2.4.2", GitCommit:"82d8e9498d96535cc6787a6a9194a76161d29b4c", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.4.2", GitCommit:"82d8e9498d96535cc6787a6a9194a76161d29b4c", GitTreeState:"clean"}

$ helm create test
Creating test

$ cat -<<EOF >> test/requirements.yaml
dependencies:
  - name: redis
    version: 0.7.0
    repository: https://kubernetes-charts.storage.googleapis.com/
    alias: redis-one
  - name: redis
    version: 0.7.0
    repository: https://kubernetes-charts.storage.googleapis.com/
    alias: redis-two
EOF

$ helm dep update ./test
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 2 charts
Downloading redis from repo https://kubernetes-charts.storage.googleapis.com/
Downloading redis from repo https://kubernetes-charts.storage.googleapis.com/

$ find test/charts
test/charts
test/charts/redis-0.7.0.tgz

I would have expected to see 2 charts as subcharts after dependency resolution. Do I have some misunderstanding here or this actually an issue?

I think the docs are ahead of the release here.   I believe this is in 2.5, which should be out shortly.
You can try with the canary release - it works for me.

I get exactly the same result as @fuhbar with the recently released 2.5.0, even the changelog mentioned the alias-feature being included (https://github.com/kubernetes/helm/releases).
$ helm version
Client: &version.Version{SemVer:"v2.5.0", GitCommit:"012cb0ac1a1b2f888144ef5a67b8dab6c2d45be6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.5.0", GitCommit:"012cb0ac1a1b2f888144ef5a67b8dab6c2d45be6", GitTreeState:"clean"}

+1
requirements.lock shows:
- alias: ""

Disregard my +1 (apologies, newb, was having a different problem).
While requirements.lock does show an empty alias string and there is only 1 copy of the chart present (which makes sense I think), things are working as expected in the deployment, including override of subchart values by alias.

@rgauss That means you don't have any issues?
As far as I understood the docs regarding alias fields, there should be multiple copies in charts/ after running helm dep update. If that's actually not true we should make that clear in the docs.

That means you don't have any issues?

Correct, no issues on the same v2.5.0.

As far as I understood the docs regarding alias fields, there should be multiple copies in charts/ after running helm dep update.

I may have misinterpreted, but I didn't see where that was specifically indicated, just that you could have previously achieved a similar result by manually adding multiple copies.

... we will get 3 depenendencies in all for parentchart ...

not necessarily 3 duplicate items in charts/.

Works for me when I've added to values.yml
redis-one:
    enabled: true

redis-two:
    enabled: true

This feature is not meeting the expectations set in the documentation.
The alias field seems to work and provide the needed functionality, but it doesn't download/install it with a different name in charts/ (which is what I need at this time).

@jeff-knurek can you point out where in the documentation this expectation is set? Perhaps there's some verbiage that needs fixing. As far as I understood this was never an expected use case. Perhaps you can also explain why you expect aliasing to work that way for your use case?

based on the original description/link of this issue
docs: https://github.com/kubernetes/helm/blob/master/docs/charts.md#alias-field-in-requirementsyaml
verbiage:
In the above example we will get 3 dependencies in all for parentchart

subchart
new-subchart-1
new-subchart-2

The manual way of achieving this is by copy/pasting the same chart in the charts/ directory multiple times with different names.

my use case: I think the root cause is a bug in the quay registry plugin (linked above), but because I can upload charts to the registry with a different name, when they get downloaded as dependencies, the requirements file doesn't match their downloaded name. And so I expected to workaround this bug by using an alias (as documented) to rename the dependency charts that get downloaded.

@jeff-knurek Alias feature takes a given chart name and replicates it multiple times. I was against naming the feature alias because it leads to confusion since it isn't an alias (two names for the same thing) but is actually creating multiple instances of the chart. Can you think of anything we could add to the docs to be clearer on functionality?

I don't know, it's interesting because

Alias feature takes a given chart name and replicates it multiple times

doesn't actually "replicate" it. If there's only one dependency chart and it uses alias, you still only have one subchart that gets installed.

The manual way of achieving this is by copy/pasting the same chart in the charts/ directory multiple times with different names.

That's not true either though, right? Because if you copy/paste a .tgz file with a different name, the chart itself is still the original name.

@jeff-knurek I think "with different names" should read "with different directory names and chart names" but perhaps we could revise the whole thing with more detail.


Improve ESLint

I replaced next with next/core-web-vitals because it's stricter and better in my opinion. (https://nextjs.org/docs/basic-features/eslint)
I also added a rule that warns about unused variables. I think this is essential. When I ran yarn lint, I saw many unused variables. I'll fix them later.

Yes, only no-unused-vars.


Build kotsadm airgap bundle

@marccampbell docker push now runs in a container with skopeo, and azure/docker-login creates the config on the host in a location not available in that container.


Some Request Handlers are missing in Swagger Ui?

When i test with
http://localhost:8080/viva-services/rest/v2/api-docs, i can see all the handlers in the json format. But when i check with swagger Ui
http://localhost:8080/viva-services/rest/swagger-ui.html, some of the handlers are missing.
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("swagger-ui.html")
.addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("webjars/**")
.addResourceLocations("classpath:/META-INF/resources/webjars/");
}
can any one help?

No idea! if you see everything in the json you should see everything in the UI too.