Compose preview idea plugin prototype

@AlexeyTsvetkov hello.
I installed the plugin Compose Multiplatform IDE support in IDEA 2021.1.1. Plugin version is 0.0.1.
Imported exqpmle Compose Desktop Multiplatform project from IDEA menu.
Still see @Preview annotations marked red and no preview.
Can you suggest,  what should I do to get Preview working?


Add UDP API option to influxdbHandler.py

Currently only uses HTTP API. Handler should support UDP API, as well.
Unless someone is already working on this, I can write a PR for this

This repo has moved to https://github.com/python-diamond/Diamond
Please open a new ticket there if this issue is not resolved with the current code there.
Thanks!


Add serialized subscription finder

On creating a subscription, allow the Subscription object to be returned (makes it much easier to pluck out the subscription id).

done in https://github.com/zalando-incubator/nakadi-java/pull/74


Scrolling and clicking not working on Android

On the main page the ScrollView doesn't scroll and any controls within it with click handlers don't trigger.
Issue is on Android only, works fine on iOS, haven't tested on UWP.

resolved by
5d68766


Add APVS survey link to visitor email

I copied a closed PR:
https://github.com/ministryofjustice/prison-visits-2/pull/292/files

@alan please review


Update README & FAQs, set Version and Release.

TODO list for final v1.6 release:

[ ] Move Whats New FAQ section in a CHANGES file
[ ] Update README to fit all the new menus and features.
[ ] Clean FAQ from old/outdated features.
[ ] Set Version to 1.6.0
[ ] Tag GitHub Repo
[ ] Create singned Release sd card image & upload
[ ] Make last test of image with updating own node
[ ] Announce new Version on twitter
[ ] Create torrent for SD card image and ask people to redistribute
[ ] Set date for making tutorials on IP2TOR+LetsEncrypt, vouchers & cash in the bag
[ ] Create a v1.7 branch

A bit off-topic, but is there a preview image for us impatient ones? XD

Is there maybe a preview image for us impatient ones? XD


[Docs]: Update AWS Provisioning & Deprovisioning Page

What type of suggestions?
Missing Information
What page is concerned?

https://docs.kubefirst.io/aws/quick-start/install/cli
https://docs.kubefirst.io/aws/deprovision/

What version of the docs?
2.3.0+
What is the issue?
1. Resolving 500 auth error that stems from using a normal IAM Admin role without AssumeAdmin
Also, debugging this and the 500 auth errors that came with it was a new addition in 2.3.0 (wasn't a problem in 2.2.17) and was a group effort from @CristhianF7 and @johndietz to fix it
Script that John sent:
terraform {
  required_providers {
    aws = {
      source = "hashicorp/aws"
      version = "4.67.0"
    }
  }
}
provider "aws" {
  region = "us-east-1"
}

resource "aws_iam_role" "assumed_admin" {
  name = "AssumedAdmin"
  ## this is 12 hours, both less secure and less annoying. default is 1 hr.
  max_session_duration = 43200
  ##
  ## note: below is a permissive role not intended for long term use.
  ## it grants all iam users of the aws account the ability to assume the role AssumedAdmin
  ## which we create and attach aws role AdministratorAccess to. The value `:root` grants assume to the
  ## whole account but you can replace root with your individual iam arn, or your role if appropriate.
  ## the value<PHONE_NUMBER>11 below should be replaced with your aws account id once you've
  ## understood the above implications. anyone with iam can assume the role while it's in
  ## place like this. you can scope it down to your specific user, or across accounts, or whatever
  ## you need. this assumes same account.
  ##

  assume_role_policy   = <<EOF
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowAssumeRoleToIamUsers",
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::111my-aws-id111:root"
            },
            "Action": "sts:AssumeRole"
        }
    ]
}
EOF
}
resource "aws_iam_role_policy_attachment" "assumed_admin_admin_policy" {
  role       = aws_iam_role.assumed_admin.name
  policy_arn = "arn:aws:iam::aws:policy/AdministratorAccess"
}

User should cat ~/.kubefirst and ensure that IAM credentials match the newly generated STS
2. Using AWS STS for managing ephemeral tokens is a bit of a nuisance manually
I added this bash script as a convenience to help that along (might be worth including some variant of this):
function akauth() {
  unset AWS_ACCESS_KEY_ID
  unset AWS_SECRET_ACCESS_KEY
  unset AWS_SESSION_TOKEN

  local JSON=$(aws sts assume-role --role-arn "arn:aws:iam::111my-aws-account-id111:role/AssumedAdmin" --role-session-name "k-ray-eats-github-stars"
)
  local AWS_ACCESS_KEY_ID=$(echo $JSON | jq -r .Credentials.AccessKeyId)
  local AWS_SECRET_ACCESS_KEY=$(echo $JSON | jq -r .Credentials.SecretAccessKey)
  local AWS_SESSION_TOKEN=$(echo $JSON | jq -r .Credentials.SessionToken)

  local output="[default]\naws_access_key_id=$CS_AWS_ACCESS_KEY_ID\naws_secret_access_key=$CS_AWS_SECRET_ACCESS_KEY\n\n[kray]\naws_access_key_id=$AWS_ACCESS_KEY_ID\naws_secret_access_key=$AWS_SECRET_ACCESS_KEY\naws_session_token=$AWS_SESSION_TOKEN"

  mv ~/.aws/credentials ~/.aws/credentials.bak
  echo $output >> ~/.aws/credentials
  export AWS_PROFILE="kray"
  echo $AWS_PROFILE
}

TLDR:

Unset previously env vars
Backup existing aws credentials file
Automatically create a new ~/.aws/credentials which includes the previous default profile + the newly generated STS profile
Update the AWS_PROFILE to point to the newly added profile in ~/.aws/credentials

This has to be run before the provisioner. For me that looks like:
akauth # run function above
./0101-run-k1-aws-via-brew.sh # run script that runs kubefirst aws create

For me that script (0101-run-k1-aws-via-brew.sh) looks like this:
# see what we're creating
export TARGET_CLOUD="aws"
echo "Creating a kubefirst instance on ${TARGET_CLOUD}"
echo "--------------------------------------------------"
echo "--gitops-template-url https://github.com/kubefirst/gitops-template"
echo "--gitops-template-branch main"
echo "--alerts-email $CS_CLUSTER_ADMIN"
echo "--domain-name $CS_CLUSTER_DOMAIN"
echo "--cluster-name $CS_CLUSTER_NAME"
echo "--github-org $CS_CLUSTER_GITHUB_ORG"
echo "--cloud-region $CS_CLUSTER_REGION"
echo "--dns-provider $CS_CLUSTER_DNS_PROVID"

# start creating
kubefirst ${TARGET_CLOUD} create \
  --gitops-template-url https://github.com/kubefirst/gitops-template \
  --gitops-template-branch main \
  --alerts-email $CS_CLUSTER_ADMIN \
  --domain-name $CS_CLUSTER_DOMAIN \
  --cluster-name $CS_CLUSTER_NAME \
  --github-org $CS_CLUSTER_GITHUB_ORG \
  --cloud-region $CS_CLUSTER_REGION \
  --dns-provider $CS_CLUSTER_DNS_PROVIDER

3. Add clarification that removing vault secrets won't work if the deploy never finished in the first place. This will result in a name conflict. Referring to this:
# update kubeconfig file locally so we can connect; assumes cluster creation went through in some capacity
aws eks update-kubeconfig --name $MY_CLUSTER_NAME --region $MY_CLUSTER_REGION

# requires kubeconfig to have been generated
export MY_VAULT_TOKEN=$(kubectl -n vault get secrets/vault-unseal-secret --template='{{index .data "root-token"}}' | base64 -d)

# requires vault root token
kubefirst terraform set-env \
  --vault-token $MY_VAULT_TOKEN \
  --vault-url https://vault.${MY_CLUSTER_DOMAIN} \
  --output-file .env
source .env

The CLI will return something like this:

Meanwhile, the logs from kubefirst-kubefirst-api-* pod will include some variant of ResourceAlreadyExistsException
For KMS, this is particularly finicky because you can't delete keys for 30 days. However, you can remove aliases: https://docs.aws.amazon.com/cli/latest/reference/kms/delete-alias.html (in CLI or console)
4.  I made this mistake because I have scripts to clear containers & images, but didn't touch volumes

Also, might make sense to include a sane default for local memory requirements on the provisioning ends

5. While deprovisioning, there are multiple things to consider
In addition to nuking the remote and local clusters, it's helpful to clean up completely to make sure there are no scale artifacts that will screw up the next deploy. This includes local kubefirst config, k1 state directory, github repos and github teams
All in all, this is the script I run each time:
# remove kubefirst artifacts
rm ~/.kubefirst
rm -Rf ~/.k1

# remove github repos
gh repo delete ${CS_CLUSTER_GITHUB_ORG}/gitops --yes
gh repo delete ${CS_CLUSTER_GITHUB_ORG}/metaphor --yes

# delete teams
export TEAM_ADMINS="admins"
export TEAM_DEVS="developers"
echo "Deleting teams ${TEAM_ADMINS} & ${TEAM_DEVS} "
gh api \
  --method DELETE \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  /orgs/${CS_CLUSTER_GITHUB_ORG}/teams/${TEAM_ADMINS}

gh api \
  --method DELETE \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  /orgs/$CS_CLUSTER_GITHUB_ORG/teams/${TEAM_DEVS}

6. The aws provision page references the vultr (not aws) provider
https://docs.kubefirst.io/aws/quick-start/install/cli

7. If a cluster takes too long to provision the STS token will expire. This means that trying to run terraform init/terraform destroy will fail
It'll throw an error like:
error configuring S3 Backend: error validating provider credentials: error calling sts:GetCallerIdentity: ExpiredToken: The security token included in the request is expired
status code: 403

In this instance the user just needs to reset to their default IAM credential with admin privilege, example:
export AWS_PROFILE=default

Then run aws configure to ensure that it's showing the last 4 characters of the correct IAM. After that, user should be able to terraform init/destroy properly
Code of Conduct

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

This issue is regarding on ongoing issue that @CristhianF7 has been helping me debug

Link to relevant slack thread: https://kubefirst.slack.com/archives/C03U34WJ7FW/p1698957656303509

Thanks @alechp! There are a lot to unpack here, I'll check that once I'm back from KubeCon :)

Re: the STS ephemeral creds:
https://github.com/kubefirst/kubefirst/issues/1909

Launch terminal
Run akauth (or equivalent function) to connect to the cluster:

function akauth() {
  unset AWS_ACCESS_KEY_ID
  unset AWS_SECRET_ACCESS_KEY
  unset AWS_SESSION_TOKEN

  local JSON=$(aws sts assume-role --role-arn "arn:aws:iam::111my-aws-account-id111:role/AssumedAdmin" --role-session-name "k-ray-eats-github-stars"
)
  local AWS_ACCESS_KEY_ID=$(echo $JSON | jq -r .Credentials.AccessKeyId)
  local AWS_SECRET_ACCESS_KEY=$(echo $JSON | jq -r .Credentials.SecretAccessKey)
  local AWS_SESSION_TOKEN=$(echo $JSON | jq -r .Credentials.SessionToken)

  local output="[default]\naws_access_key_id=$CS_AWS_ACCESS_KEY_ID\naws_secret_access_key=$CS_AWS_SECRET_ACCESS_KEY\n\n[kray]\naws_access_key_id=$AWS_ACCESS_KEY_ID\naws_secret_access_key=$AWS_SECRET_ACCESS_KEY\naws_session_token=$AWS_SESSION_TOKEN"

  mv ~/.aws/credentials ~/.aws/credentials.bak
  echo $output >> ~/.aws/credentials
  export AWS_PROFILE="kray"
  echo $AWS_PROFILE
}

Run kubectl get cm -n kube-system aws-auth -oyaml
Open a new terminal
In the new terminal, echo $AWS_PROFILE and make sure that it shows your default IAM credential (ie. the one you normally use for AWS, not the ephemeral role generated by aws sts assume-role...)
Grab the ARN value for this IAM. Convenient script to get just the relevant value, print it out and add to your clipboard:

export AWSGCI=$(aws sts get-caller-identity | jq -r .Arn)
echo $AWSGCI
echo $AWSGCI | pbcopy

Update the aws-auth.yaml to something like:

apiVersion: v1
kind: ConfigMap
metadata:
  name: aws-auth
  namespace: kube-system
data:
  mapRoles: |
    - groups:
      - system:bootstrappers
      - system:nodes
      rolearn: arn:aws:iam::111111111111:role/default_node_group-eks-node-group-20231113155100128100000002
      username: system:node:{{EC2PrivateDNSName}}
    - groups:
      - system:masters
      rolearn: arn:aws:iam::111111111111:user/alechp
      username: admin

@alechp I came back from KubeCon, and got swamped by other stuff, but I'm finally taking the time to look at this issue, sorry for the delay!

Also, might make sense to include a sane default for local memory requirements on the provisioning ends

So we had this in the k3d documentations https://docs.kubefirst.io/k3d/explore/limitations#docker-desktop-recommendation but I added information about virtual disk + swap minimal requirements. Your values are great, but someone can run launch up or k3d with less. I also moved the content in a better place, and on all clouds.
See https://github.com/kubefirst/docs/pull/585

Add clarification that removing vault secrets won't work if the deploy never finished in the first place. This will result in a name conflict.

Good call! I added more information about deprovisioning if Vault didn't deployed correctly, and the kubefirst terraform set-env step failed: https://github.com/kubefirst/docs/pull/586

While deprovisioning, there are multiple things to consider
This includes local kubefirst config, k1 state directory

This is done with the last step of deprovisioning https://docs.kubefirst.io/civo/deprovision

I'll added this steps on it's own section (header) and made it clearer it's not optional even if you use the console to create your cluster https://github.com/kubefirst/docs/pull/588

github repos and github teams

Those are done with the Git Terraform step https://docs.kubefirst.io/civo/deprovision#git .
Let me know if those aren't working for you, we'll need to investigate as it will be a bug.

Re: the STS ephemeral creds:

Thanks for all the steps, but I won't document this since we have the issue https://github.com/kubefirst/kubefirst/issues/1909 created, and once it's fixed, I don't think we would have to do that again.


React UI: cuboid interpolation and cuboid drawing from rectangles

from rectangles

Motivation and context

This PR provide enabled cuboid tracks interpolation (bbox like) and drawing cuboids from rectangles.

How has this been tested?

Manually
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 5173

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 65.643%

Files with Coverage Reduction
New Missed Lines
%

src/annotations-objects.js
4
58.76%

Totals

Change from base Build 5163:
-0.01%

Covered Lines:
10847

Relevant Lines:
16130

💛  - Coveralls

I have some exceptions during drawing cube from rectangle:
drawHandler.ts:480 Uncaught TypeError: Cannot read property 'update' of undefined
    at initializer.<anonymous> (drawHandler.ts:480)
    at initializer.fire (svg.js:3535)
    at PaintHandler.../cvat-canvas/node_modules/svg.draw.js/dist/svg.draw.js.PaintHandler.update (svg.draw.js:143)
    at svg.draw.js:83
(anonymous) @ drawHandler.ts:480
fire @ svg.js:3535
../cvat-canvas/node_modules/svg.draw.js/dist/svg.draw.js.PaintHandler.update @ svg.draw.js:143
(anonymous) @ svg.draw.js:83
drawHandler.ts:480 Uncaught TypeError: Cannot read property 'update' of undefined
    at initializer.<anonymous> (drawHandler.ts:480)
    at initializer.fire (svg.js:3535)
    at PaintHandler.../cvat-canvas/node_modules/svg.draw.js/dist/svg.draw.js.PaintHandler.update (svg.draw.js:143)
    at PaintHandler.../cvat-canvas/node_modules/svg.draw.js/dist/svg.draw.js.PaintHandler.stop (svg.draw.js:109)
    at PaintHandler.../cvat-canvas/node_modules/svg.draw.js/dist/svg.draw.js.PaintHandler.point (svg.draw.js:102)
    at initializer.draw (svg.draw.js:210)
    at initializer.constructor [as draw] (svg.patch.ts:35)
    at create.<anonymous> (drawHandler.ts:652)

Quite strange bug with interpolation

I am unable to cancel drawing a cuboid (from rectangle). UI just freezes.

Client part looks great
@zhiltsov-max
When I try dumping a task with cuboids in some cases I get error:
Unknown shape type: 'cuboid'. What do you think, is it okay? Maybe just ignore unsupported objects when we dump in a specific format?

@bsekachev, this is the problem we discussed (#1568). There is an excluding if switch, which should have covered cuboids when they were introduced, but it did not.


[FEAT] Feature Request: Add Project Description to GitHub "About" Section

Is your feature request related to a problem? Please describe.
Yes, the repository currently lacks an "About" section on its GitHub page. This makes it difficult for new visitors or potential contributors to understand what the project is about and what its purpose is.

Describe the solution you'd implement
I suggest that the repository owner fills in the "About" section with the following description:

"Alimento is a platform that connects home chefs with food lovers. It lets chefs offer homemade dishes, and users can easily order and enjoy fresh meals delivered to their homes."

Describe alternatives you've considered
The README is quite detailed so its good but there's no alternative to it.
Additional context
Including a brief description in the "About" and "Description" section will make the project more approachable and could attract more contributors or users interested in the platform.
(Please add gssoc-ext 24 and hacktoberfest label and level label)

Hey @5odead, I don't think you will be able to access the about section of the repo since you will need collaborator access to it, I wont be able to give you collaborator access as per the guidelines of GSSoC'24
Closing this issue as unplanned.


Investigate server-side bots

Bot users have appeared in the official clients on Windows, Android and iOS.

They appear to have user thread identifiers beginning 28:, similar to the concierge user.
Known bots so far:

Skype (broadcast channel): 28:concierge
Murphy: 28:df682d20-8e5b-4e4a-a283-cb59cd14cbd7
Bing Music - Preview: 28:71995191-9d5c-4ffd-b0c3-44863de8c2df
Bing Images - Preview: 28:79eaad73-f046-4720-9bba-3a2c8e1b0e0b
Summarize: 28:deac2ccb-5a43-4d59-82fb-f75d1cc95ec0
Getty Images - Preview: 28:8cfad58b-15bc-42e8-bfb7-7abcb9581415

There's no way to start a bot conversation from Skype for Web, though they will appear if you talk from elsewhere, which reveals some limited UI in place for them:

When talking with the bot, messages you send appear to come from your Messenger identity thread, i.e. 1:<email> rather than 8:<username>.  Not sure how this works on Skype-only accounts without a Microsoft/Messenger connection.

Update for actual bot development: a developer site has appeared (invite-only, but only took a couple of days for registration to be approved).  There's C# and Node.js bindings around a REST API, so potential to implement this in SkPy, or perhaps a separate Python library as this is a completely different set of APIs.  Also confirms use of the 28: prefix.

Bot APIs implemented as part of SkypeContacts, as well as retrieving limited info for authorised bots in the contact list.


tests: skip all bottles for Linux only in homebrew-core

Now that everything works as expected, I am adding this
check back (I removed it to make sure it did not break anything in a previous PR)

Thanks @iMichka! ❤


Appstudio update test-custom-default-branch-jlet

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-gzto-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-gzto-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-gzto-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-gzto-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nyrh-on-pull-request-
creating pipelinerun test-simple-build-nyrh-on-pull-request- in namespace build-e2e-gzto-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wadk-on-pull-request-
creating pipelinerun test-simple-build-wadk-on-pull-request- in namespace build-e2e-gzto-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Fix tests, script failing on windows

This fixes the tests failing on windows. I also tweaked the script for test:cli-sanity because it was causing this issue:
λ yarn test
yarn run v1.2.1
$ npm run test:lint && npm run test:ava && npm run test:cli-sanity

><EMAIL_ADDRESS>test:lint E:\Projects\repos\eslint-config-prettier
> eslint .

><EMAIL_ADDRESS>test:ava E:\Projects\repos\eslint-config-prettier
> ava

  26 passed

><EMAIL_ADDRESS>test:cli-sanity E:\Projects\repos\eslint-config-prettier
> eslint --print-config .eslintrc.js | ./bin/cli.js

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR<EMAIL_ADDRESS>test:cli-sanity: `eslint --print-config .eslintrc.js | ./bin/cli.js`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test:cli-sanity script.

Closes #35.

Thanks!

My pleasure 😄.


REST API customer authentication require additional steps to work

I am making an integration with the following setup:
Nuxt.js - Front-end framework
Laravel Bagisto - Headless Ecommerce API
Authenticating with @nuxtjs/auth-next plugin doesn't work with the default setup you need to take additional steps in order for it to work, I will explain below the issue and how to solve it, and possibly make a PR I am not sure if you guys edit Laravel base files or just content of package/Webkul
When you login via @nuxtjs/auth plugin you need to hit the /api/customer/login endpoint and if it returns success and return the user object, which it does and separates the  token property which is great you consider the user logged in and you use whatever is in data to setUser with it, I prefer to setUser manually because otherwise it's buggy.
Then on page reload, you need to check if the user is loggedIn and hit the /api/consumer/get endpoint to get the user object again, this is where the integration was failing, because for some reason it returned 401 Unauthenticated, which is wierd because it's certainly passing Authorization header in the request:

At first I tought it's a problem with the Accept and Content-Type header, following an old github reply, but Accept header is present and Content-Type cannot be set on an empty GET request, because axios will automatically strip it this was included in PR which I found on axios repo.
So in order to make it work I had to:
1. Add this lane to app/Http/Kernel.php

2. Add middleware group to the endpoints which should be accessible only for logged in customers

3. Run php artisan jwt:secret
Result:

follow this link step by step
https://devdocs.bagisto.com/1.x/api/getting-started-with-the-api.html#introduction
I think you're missing something.
then run this commands in cmd or bash
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache

@AliRazaLilani Seems like you're right I need to add ?token=true at the end of the request like /api/customer/get?token=true, but I also need to add it for other endpoints like GET /api/addresses?token=true otherwise I get 401 so for anyone struggling with this keep that in mind.
IMHO these are endpoints that guest users shouldn't access anyways, so maybe adding them in the auth.jwt middleware is more elegant solution than adding a query parameter at the end, but since there are many use cases I will close the issue now.

@nikolayandreev , I'm also working with bagisto APIs and this was something messy to include "token=true" in every request so I have customized it with this and now I don't need to add this param anymore with any request where token is needed.
There are two ways in which you can achieve this
As there are two totally different sources for api and session( for web users ) so you can emit customers from API controller.
In every controller you can :
replace this
$this->guard = request()->has('token') ? 'api' : 'customer';
with this
$this->guard = request()->has('token') ? 'api' : 'api';
Else
second option is you can edit query to check if request has authorization rather than request has token param.
For this
replace this
$this->guard = request()->has('token') ? 'api' : 'customer';
with this
$this->guard = empty(request()->bearerToken('Authorization')) ? 'customer' : 'api';
I've completed app flow from user to paypal and first one is working perfect without adding param. We can omit that condition but still it's good to replace so that we can edit later ( if needed )


Dashboard: Scroll to top a11y updates

Summary
Keeps focus on scrollable content when scroll to top is selected, prevents focus jump.
Relevant Technical Choices
Make scrollable area focusable with tabindex 0 so that on scrollToTop we can refocus the scrollable area and prevent focus jumping to WordPress menus
To-do

User-facing changes
When scroll to top button clicked or entered, should focus shift to top of scrollable content.
Testing Instructions

Click scroll to top, see that page looks as expected (no changes)
Now use the keyboard (navigate through the grid) and press 'enter' on scroll to top. Now press tab and see that focus remains in scrollable area (the grid container)

Addresses #4683

Verified in QA


Update Add-on from 0.7 > 0.9.2, Camera Unavailable.

I have an installation using 0.7 of the add on which has been working well for months.
Just trying to update everything and when updating the add on to the latest 0.9.2 my doorbell camera become unavailable.
I only now have a doorbell camera and a keypad. The keypad continued to function fine.
I tried setting the add on up again and it listed the camera but no picture was available.
I've restored a backup and i have a working install again.
Anything im missing?

Did you update both the add on and integration at the same time?

On Jul 5, 2022, at 11:27 AM, BillyBobMills @.***> wrote:

I have an installation using 0.7 of the add on which has been working well for months.
Just trying to update everything and when updating the add on to the latest 0.9.2 my doorbell camera become unavailable.
I only now have a doorbell camera and a keypad. The keypad continued to function fine.
I tried setting the add on up again and it listed the camera but no picture was available.
I've restored a backup and i have a working install again.
Anything im missing?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

I’m experiencing issues after upgrading.
HACS Eufy Integration v2.2.6
Eufy Security Integration v0.9.2
Home Assistant 2022.7.5
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.1 - latest
Logger: homeassistant.config_entries
Source: config_entries.py:384
First occurred: 11:28:11 AM (2 occurrences)
Last logged: 11:28:58 AM

Config entry 'Localhost' for eufy_security integration not ready yet: Start Listening was not completed in timely manner; Retrying in background

This error originated from a custom integration.

Logger: custom_components.eufy_security
Source: custom_components/eufy_security/coordinator.py:187
Integration: Eufy Security (documentation, issues)
First occurred: 11:28:11 AM (13 occurrences)
Last logged: 11:35:35 AM

eufy_security - no devices available yet

this seems to be related with eufy-security-ws, at least shows problems. please reach out respective repository owner, I have limited knowledge at that end.


Configuration extension for server logging

This logback-ext.xml is intended to be used by developers. This file is packaged as part of the kit and is documented in itself. If we don't want this file exposed like this we could make it a hidden file and document the existence of such a file elsewhere. Otherwise we could completely avoid packaging this file and have this template also included in the documentation. Not sure what's the best thing to do here. So suggestions welcome.

I'm surprised that this gets picked up properly there.  It would be nice to have an external location (user.home) (user.dir) so that galvan tests can be run with custom settings when needed.

That extension file gets picked up because server/lib path was added to class-path in the startup scripts when I did the original logging changes.
The second commit addresses server log customizability for galvan. Rather than having a generic path like user.home or user.dir that would affect all galvan tests run with that system I wanted to provide a more granular cluster specific configurability.
With this change a user can have an log extension file in the classpath with any random name of his choice and use that name in configuring a specific cluster. If someone wants a global config file that affects all tests all he has to do is add an extension file named "logback-ext.xml in the classpath and it'll be picked up by all tests for which an explicit log configuration is not there.
This PR requires https://github.com/Terracotta-OSS/galvan/pull/171 to be merged.

update with galvan v1.3.0-pre9

rebase please

Please rebase

Rebased


Include Weight property on Components and create Moment of Inertia estimator

Since we already have the position os the components, adding the weight we should be able to estimate Moment of Inertia of the airplane.

We should think about how to transport this to ADR 2.0.

The content of this issue is being registered in a list of things to be aware of during the development of ADR2 and the issue is being closed.


PHI disallowed for the Pilot Plan

Resolved with https://github.com/aptible/ember-cli-aptible-shared/issues/61


Failed to compile : ui-frontend\src\components\AppLayout\index.tsx

Failed to compile.
TS2322: Type '{ header: { text: string; href: string; }; expanded: boolean; items: SideNavigationItem[]; }' is not assignable to type 'IntrinsicAttributes & (IntrinsicClassAttributes<Component<Pick<SideNavigationProps, "header" | "items"> & ({} | { wrappedComponentRef?: Ref | undefined; }), any, any>> & (Readonly<...> & Readonly<...>))'.
Property 'expanded' does not exist on type 'IntrinsicAttributes & (IntrinsicClassAttributes<Component<Pick<SideNavigationProps, "header" | "items"> & ({} | { wrappedComponentRef?: Ref | undefined; }), any, any>> & (Readonly<...> & Readonly<...>))'.
17 |     return <SideNavigationBase
18 |         header={{text: 'Demo', href: '/'}}

19 |         expanded={false}
|         ^^^^^^^^
20 |         items={
21 |           getNavigation()
22 |         }

Builds with:
return <SideNavigationBase
    header={{text: 'Demo', href: '/'}}
    /*expanded={false}*/
    items={
      getNavigation()

Thanks for reporting the issue. NorthStar makes changes from one build to another build and sometimes they are not backward compatible. We will have an update shortly.

NorthStar will be adding an expandedAll props in the SideNavigation in a future release - for now, we have removed the expanded property in the code.


Can't upload file after error and 2nd record is removed

Situation:
File 1 doesn't exist yet. (F1)
File 2 exists but the current user doesn't have permission to read it. (F2)
Process:
Create 2 records in RE with the first record including F1 and the second record with F2. Because the user can't read or update F2 (the job doesn't have the update ACL), the whole upload and submission should error out. This error cleans up the job (in hatrac) that wasn't finished.
If you remove the 2nd form (the one containing F2) and try to re-upload just F1 (which doesn't exist yet but did have a job previously created then deleted), an error is thrown because the same "version" is used to create this new file. This is the same version from the previous attempted upload that was canceled (and had it's job deleted). I believe this is an issue with the client (chaise or ermrestJS) holding the state of the upload object from the first attempted upload that was cleaned up.
This most likely happens with any type of error thrown during the upload process when there are no problems with the first file being uploaded but one of the subsequent ones errors out.

In trying to reproduce this error case, I can't get chaise into a state where it doesn't allow me to upload a file after a previous request with 2 files failed because one lacked proper permissions.
What I did to test was similar to above.
I started with my privileged user and created a file in a new namespace.
As my dummy user, I had 2 forms:

form1 included a file that doesn't exist yet (with dummy user having permission to write/create to that namespace)
form2 included the same file as created above by privileged user in the same namespace
This errors out stating that access to namespace/job_id is forbidden (as expected)
form2 is removed, resubmit just form1 (with file that doesn't exist yet in a brand new namespace)

submission now succeeds (expectation was that it would error out)

I saw this error while I was still making changes to file upload when working on PR #1556 . I may have fixed this problem without realizing it because I did add more properties to the abortUploads() function to properly delete jobs that never finished.


Fix link failure for vx_nc_util

On my system, vx_nc_util would not compile because of missing symbols required by libnetcdf_c++4 since libnetcdf was left behind.

I merged this PR into the develop branch and also made this same change in the master_v9.0 branch for inclusion in the met-9.0.1 bugfix release.


PublishTm1 gives Error 438 Object doesn't support this property or method

Neither the PublishTm1 nor PublishTm1Multiple work. Both give Object doesn't support this property or method errors.
As a general point, why can I not just put a '.' after the object to get a list of properties and methods that it supports as you can with any proper COM object?
The example shows this coming off CognosOfficeAutomationObject. Does it actually come off that or some sub-component. I tried .Reporting but that did not work either.

it is the case that it's off the automationObject, and i have seen the feedback on visibility/traversal from the object browser (will carve this off as an improvement topic).
can you include an example of the full line you're trying?

#40

also, what PA for Excel version are you using?

Hi Ted
Exact code is a bit more complex but I have tried cutting it down and it still fails to recognise the method
CognosOfficeAutomationObject.PublishTm1 sURL, sInstance, sPublishPath, sPathFile, sCurrWb, , , False, False
The parameters don't really matter as it is just not recognising the method PublishTM1.
It is still the older version with the three separate files. We have plans to upgrade to the single XLL but it will take time for IT to package that.
; Licensed Materials - Property of IBM
; BI and PM: is
; (C) Copyright IBM Corp. 2004, 2014
; US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp
[Product Information]
LICENSE_CAFE_COR_version=LICENSE_CAFE_COR-AW64-ML-RTM-<IP_ADDRESS>-0
LICENSE_CAFE_COR_name=IBM Cognos License
SWTAG_CAFE_COR_version=SWTAG_CAFE_COR-AW64-ML-RTM-<IP_ADDRESS>-0
SWTAG_CAFE_COR_name=SWTAG Analysis for Excel
[Product Update Information]
[Main Applications]
COR_APP_version=COR_APP-AW64-ML-RTM-<IP_ADDRESS>-0
COR_APP_name=Cognos 8 Analysis for Excel
CAFES_version=CAFES-AW64-ML-RTM-<IP_ADDRESS>-0
CAFES_name=Cafes for Excel
CORREDIST_version=CORREDIST-AW64-ML-RTM-<IP_ADDRESS>-0
CORREDIST_name=IBM Planning Analytics for Excel
COI_version=COI-AW64-ML-RTM-<IP_ADDRESS>-0
COI_name=IBM Cognos COI
[Cognos Applications]
ISUNINST_version=TE-AW64-ML-RTM-11.0.1000.7-0
ISUNINST_name=IBM Cognos Uninstall Engine
CORCSP_version=COR-AW64-ML-RTM-<IP_ADDRESS>-0
CORCSP_name=COR Uninstall
Regards
Paul Simon
Senior TM1 Developer | Financial Data & Analytics
@.***
To get in touch with the TM1 team, please raise a ticket herehttps://informa.service-now.com/iportal?id=sc_cat_item&sys_id=b81c568e1b41345049090e51f54bcb57.
This electronic message and all contents transmitted with it are confidential and may be privileged. They are intended solely for the addressee. If you are not the intended recipient, you are hereby notified that any disclosure, distribution, copying or use of this message or taking any action in reliance on the contents of it is strictly prohibited. If you have received this electronic message in error, please destroy it immediately, and notify the sender.
Informa Group plc | Registered in England & Wales No. 3099067 | 5 Howick Place | London | SW1P 1WG
From: Ted Phillips @.>
Sent: 09 December 2021 17:10
To: IBM/paxapi @.>
Cc: paulsimongb @.>; Author @.>
Subject: Re: [IBM/paxapi] PublishTm1 gives Error 438 Object doesn't support this property or method (Issue #39)
also, what PA for Excel version are you using?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/IBM/paxapi/issues/39#issuecomment-990048146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHWSVSRICJQRKRIC5AGFNLUQDPFPANCNFSM5JPKU6QQ.
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.
Information Classification: General

Hi Ted
I have now upgraded to the latest version of PAX (69)
I note that in the documentation it would appear that the line
Set m_oCOAutomation = Application.COMAddIns("CognosOffice12").Object.AutomationServer
needs to be changed to this, to work with the XLL only version
Set m_oCOAutomation = Application.COMAddIns("CognosOffice12.ConnectPAfEAddin").Object.AutomationServer
I am now getting a slightly different error when it gets to
oPax.PublishTm1 sURL, sInstance, sPublishPath, sPathFile, sCurrWb, , , False, False
Runt time error '5'
Invalid procedure call or argument
oPax is an object set to the result of Application.COMAddIns("CognosOffice12.ConnectPAfEAddin").Object.AutomationServer
Please advise on what needs to be changed or whether there is a bug in PAX and this just doesn't work?
Regards
Paul Simon

Hi Ted, Happy New Year. Has there been any progress on this, as we have a large number of sheets to promote and not being able to automate this is becoming a serious issue for us.. Regards Paul Simon

Hi Ted, Has there been any progress on this? We need to be using this in the next few days to overcome other bugs in PA. Regards Paul Simon

need to understand the specific params being passed into the publishTM1 function, can post here if you like but can otherwise email me the details.
as per your previous message you have Cognos for Microsoft Office co-running so you do need to use the alternate progID to access the framework capabilities.
I don't believe the endpoint is wholly unworking, so it would likely be something specific to your use. such as the omission of a name - i don't believe that's optional.


jdbc_connection method hides ArgumentErrors thrown from 4-arg adapter_class constructors

Summary
This rescue hides ArgumentErrors thrown from 4-argument adapter_class constructors
Environment

activerecord-jdbc-adapter 50.0

Steps
Attempt to initialize an adapter with a 4-argument constructor that throws an ArgumentError (in my case it was activerecord-postgis-adapter)
Expected
The exception thrown from the constructor
Actual
"Wrong number of arguments (3 for 4)" from this line

yeah that is quite an ugly piece of hack.
do you happen to know whether the activerecord-postgis-adapter is updated/following the changes done here to support 5.x ? since AR-JDBC isn't stable in terms of adapters building on top of its API (as it used to be) ... yet.

From their notes here it looks like they're supposed to support it, but from this issue it looks like they might have fallen behind.

@aschmied Is there any workaround for this issue? I'm trying to migrate an application to JRuby (for details see here) which gives me the same error as described by you. I would highly appreciate any help, thank you!

ARJDBC from 5.x is following AR as much as is reasonable and this construction arity change is part of that.  This should be reasonably easy for someone to fix and PR if someone is using GIS.

Oh I should add all current 5.x branches have removed this fallback rescue which tries both 4 and 3 arg initialize methods.  It was just confusing the issue at hand.

@enebo Thanks for your feedback! According to the Github page ofactiverecord-postgis-adapter, it's compatible to ActiveRecord 5.0+. That's why I don't understand the error message.
I saw that the initialize method of postgis_adapter.rb only implements a 4 parameter constructor, however,  activerecord-jdbc-adapter tries to instantiate it as adapter_class.new(nil, logger, config), using a 3 parameter constructor call.
I manually readded the rescue switch which was removed in f94c9706, but it didn't solve the issue.
As I really need this app working in JRuby, could you kindly provide further details on the required change. Especially, where is a change required - in activerecord-jdbc-adapter or activerecord-postgis-adapter?

@patrickj0607 wow this is crazy.  We do not match AR5 for initialize!  I feel like I just came back from an alternate dimension.  I believe now this is our issue.  We should be adding connection_options param whether we use it or not.
@patrickj0607 so you should not have to change anything at all and I will look into matching AR.  Sorry, this is super confusing because this is not the first time I have looked at this but seeing is believing.

@enebo No worries, thank you so much for helping out that fast! I really appreciate it!
For getting it running, I needed to make a small change in lib/arjdbc/abstract/core.rb as there is also a super call without explicit parameters, leading to a ArgumentError (5 for 4 arguments given). I opened a PR for that.


fix: renovate check last pr issue

Description:
Currently, the renovate Last PR check is not working properly for the openedx repos. This  PR fixes the issue related to the renovate check.
Merge checklist:

[x] Changelog record added
[x] Documentation updated (not only docstrings)
[x] Commits are squashed

its failing on coverage.


0-d / 1-d containers

I've noticed some issues when trying to use 1D containers with shape {0} (segfaults).
e.g. this probably segfaults:
xtensor<int, 1> eb = xtensor<int, 1>::from_shape({0});
xtensor<int, 1> ec = {1,2,3};
bool test = eb == ec;

This works on VS 2015

I had the same problem with pytensors 1D with shape zero. They also segfaulted

@wolfv do you have any code to reproduce the error? Else I think we can close this issue for now (and maybe reopen it if you encounter the issue again).
@DerThorsten Could you open an issue on the xtensor-python repo with a small example leading to the crash?

@JohanMabille I just tried to reproduce the bug which I thought to be related with  pytensors 1D with shape zero but I could not reproduce it.

@DerThorsten thanks for checking.
Let's close this issue for now.


Update pol.po

it's neon > i really can do this??

Thanks Fracix for translating :-)
Thanks neon for doing the pull request! Apparently you can.


Fix #1799

@TomasVotruba Apparently it's not as simple as removing the compiler pass, as the parameter set within it is used as default value for the "cache_namespace" parameter (see the broken tests and README).
So I don't know how you want to circumvent that...

It is used after all

Do you have another fix in mind?

I don't know how that cache_namespace is used nor why, and if a different default value could be set than using a webalized cwd. :/

If you git blame it in GitHub repository, it will lead you to responsible PR with more info (on mobile now, I'd send you the link otherwise)

It comes from an attempt to fix caching on CI.
However, I can't and won't dig into that : it's way outside the scope of my issue, which is just to be able to run ecs.phar... I can implement a simple fix (like removing a class or parameter), but I won't get into rewriting a caching system. So please, provide direction.
There might be other cases of calls to getcwd() in this PR that might fail, see :
https://github.com/mssimi/Symplify/blob/43b8933f1682976febb72104429363b521bedca0/packages/PackageBuilder/src/FileSystem/SmartFileInfo.php#L55-L73

What fix works locally for you without braking any current features?

I didn't manage to write a fix, only a broken test case. I simply ignored this Rector for now.

I don't have a fix, nor would know how to write one is what I just said.

There is nothing we can do then.
Closing as incorrect fix

It's not because I couldn't say what's the proper fix that there's no fix to be developed... My bet would be that there's probably an alternative to using getcwd as the default value for this configuration. I simply said I'm not suited to investigate this properly.


feat: eas flag for dev client setup

Description
Aims to add an option for initialising a project with eas

Related Issue

Motivation and Context
Simpler eas setup

How Has This Been Tested?

Screenshots (if appropriate):
https://github.com/danstepanov/create-expo-stack/assets/3481514/fc722af9-b888-4679-ae0a-a2202d28fc38

I think potentially we could run prebuild for the user which would also get them to configure the bundle identifiers and generate the ios/android folders. The only reason I didn't add it is because you could probably get by with just letting eas generate those on the cloud

@dannyhw is this ready for review based on our last discussion?

@danstepanov hey, had a really busy week so haven't had a chance to iterate on it since then. There's a few changes I'd like to make still.

@danstepanov Hey sorry for the delay I had a lot going on. Made some updates based on what we spoke about.

@dannyhw Can you make this part of the core CLI questions? Not just a flag.

Hey @danstepanov, it should come up as a question already. I made it a flag more because I wasn't sure if it fit as a "package".

@dannyhw mind rebasing with main? I'll merge and take it from there :)

@danstepanov merged in changes and conflicts resolved 👍


How to retreive existing challenge details?

Hi Team,
We are offering custom domains with SSL in our system and we want to use the DNS method for validation.

We are capturing domain from our users via an interface.
After getting domain we are placing SSL order with let's encrypt and we are returning the TXT details to user so that they can put in their DNS server and we are saving the challenge URI, token and other things in db that means we are delaying the validation process here.
After they confirm that they have entered the TXT records on their DNS server. We want to retrieve the challenge details from the token and challenge URI so that we can initiate the validation process

I tried the below but still getting nothing. Can anyone can help me here to do that.
            var pemKey = "<mykey here>";

            var keytDetails = KeyFactory.FromPem(pemKey);

            var accountPemKey = keytDetails.ToPem();

            var acme = new AcmeContext(WellKnownServers.LetsEncryptV2, keytDetails);

            var url = @"https://acme-v02.api.letsencrypt.org/acme/challenge/eswXZ2EfrXlpg5UDyooHs7qm_z3i1dWPZ19uWwSJGNk/18335479490";

            var uri = new Uri(url);

            var authoDet = acme.Authorization(uri);

            var challenges = await authoDet.Challenges();

@fszlin  Can you please check this issue for me.

This is not an issue... here is the solution of your problem,
List<IAuthorizationContext> authzs = challenges.ToList();
for (int i = 0; i < authzs.Count; i++)
{
//this is the detail of particular challenge detail
Certes.Acme.Resource.Authorization authdetail = await authzs[i].Resource();
}


update epidata package for pandas 2.0

Bug description
Epidata-CI fails with:
ValueError: time data "2020-04-24" doesn't match format "%Y-%m-%d %H:%M:%S", at position 0. You might want to try:     - passing formatif your strings have a consistent format;     - passingformat='ISO8601'if your strings are all ISO8601 but not necessarily in exactly the same format;     - passingformat='mixed', and the format will be inferred for each element individually. You might want to use dayfirst alongside this.
Also check for other changes affecting the epidata package.
Version
Any
To reproduce
run Epidata CI
or
run case data script with pandas 2.0.0
Relevant log output
No response
Add any relevant information, e.g. used compiler, screenshots.
No response
Checklist

[X] Attached labels, especially loc:: or model:: labels.
[X] Linked to project

Also look at FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead.


Added support for new devices Realme 9 5G Speed Edition

What Changed

Added support for new devices Realme 9 5G Speed Edition
Reason

Files added to add initial support for Realme 9 5G Speed Edition
Checklist

[x] Is what you changed Tested?
[x] Is the Source Code Cleaned?

I will reopen the pull request after editing the file.


Sensitivity euler

@JIMENOFONSECA, this now passes the tests. Could you please merge?

@daren-thomas i think i will need to be able to run it from Singapore before merging.

@daren-thomas i also received this issue: any clue?


ClassCastException when quitting

What version of ViaVersion are you using? Type /ver viaversion
0.6.7
What version of Spigot are you using? Type /ver
CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
What plugins are you using? Type /plugins
EssentialsX, Viaversion and ProtocolLib
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
No
How does this error happen? login? Using an item?
Quit the game, only happened once though. I am not able to replicate this more times...
Was trying to replicate #273, got this. The error is similar to #273, there is just a difference in stacktrace because of TacoSpigot vs Spigot
Is there an error in the console? Use pastebin.com. Is there a kick message?
http://pastebin.com/GED21r6i

Dupe of #273 Closing so that we don't have more issues than one for bug.


How can I add IDs to nextArrowIcon, backArrowIcon and select of rowsPerPage in table pagination

--------------^ Click "Preview" for a nicer view!
We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks!

Read the documentation: https://material-ui.com/.
Ask questions on StackOverflow using the tag material-ui: https://stackoverflow.com/questions/tagged/material-ui.
Chat with the community on Gitter: https://gitter.im/mui-org/material-ui.
Ping us on Twitter: https://twitter.com/MaterialUI.

@dheeraj-rafay Check the nextIconButtonProps and backIconButtonProps properties out.

I tried this before but it is not working
<TablePagination
count={this.state.count}
rowsPerPage={rowsPerPage}
page={page}
onChangePage={this.handleChangePage}
onChangeRowsPerPage={this.handleChangeRowsPerPage}
backIconButtonProps={{
'aria-label': 'previouspage',
'id': 'previouspage'
}}
nextIconButtonProps={{
'aria-label': 'nextpage',
'id': 'nextpage'
}}
SelectProps={{
'id': 'SelectProps',
}}
/>

This looks good to me: https://codesandbox.io/s/5z9m9vkox.


Linux Support

I like to test this on linux and tried to build it on linux.
To get it build i need to move
"@types/archiver": "^5.3.1",
"@types/lodash": "^4.14.191",
"@types/sharp": "^0.31.1",
"@types/worker-plugin": "^5.0.1"

from "dependencies" to "devDependencies" because i get this errors:
$ yarn install
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
$ ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts && opencollective-postinstall
  • electron-builder  version=23.6.0
  • loaded configuration  file=package.json ("build" field)
  • installing production dependencies  platform=linux arch=x64 appDir=/home/fleixi/Entwicklung/ProtoUV/release/app
ERROR in dll renderer renderer[0]
Module not found: Error: Can't resolve '@types/archiver' in '/home/fleixi/Entwicklung/ProtoUV'

ERROR in dll renderer renderer[1]
Module not found: Error: Can't resolve '@types/lodash' in '/home/fleixi/Entwicklung/ProtoUV'

ERROR in dll renderer renderer[2]
Module not found: Error: Can't resolve '@types/sharp' in '/home/fleixi/Entwicklung/ProtoUV'

ERROR in dll renderer renderer[3]
Module not found: Error: Can't resolve '@types/worker-plugin' in '/home/fleixi/Entwicklung/ProtoUV'

webpack compiled with 4 errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

fix found at: https://stackoverflow.com/questions/61074030/module-not-found-error-cant-resolve-types-svgo
but now if it try to start it get this error:
$ yarn run start
yarn run v1.22.19
$ ts-node ./.erb/scripts/check-port-in-use.js && yarn run build:worker && yarn run start:renderer
$ cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.workers.js
asset slice.worker.bundle.js 2.75 MiB [compared for emit] (name: main)
runtime modules 670 bytes 3 modules
modules by path ./node_modules/three-mesh-bvh/src/ 144 KiB
  modules by path ./node_modules/three-mesh-bvh/src/utils/*.js 25.6 KiB 7 modules
  modules by path ./node_modules/three-mesh-bvh/src/core/*.js 59.4 KiB 6 modules
  modules by path ./node_modules/three-mesh-bvh/src/math/*.js 26.7 KiB 4 modules
  modules by path ./node_modules/three-mesh-bvh/src/gpu/*.js 21 KiB 3 modules
  + 3 modules
modules by path ./node_modules/three/ 2.26 MiB
  modules by path ./node_modules/three/examples/jsm/lines/*.js 25.8 KiB 3 modules
  modules by path ./node_modules/three/build/ 2.22 MiB
    ./node_modules/three/build/three.cjs 1.1 MiB [built] [code generated]
    ./node_modules/three/build/three.module.js 1.13 MiB [built] [code generated]
  ./node_modules/three/src/constants.js 6.66 KiB [built] [code generated]
./src/workers/slice.worker.ts 12 KiB [built] [code generated]
webworker (webpack 5.75.0) compiled successfully in 694 ms
$ cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.dev.ts
Starting preload.js builder...
Starting Main Process...
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:1212/
<i> [webpack-dev-server] On Your Network (IPv4): http://<IP_ADDRESS>:1212/
<i> [webpack-dev-server] Content not from webpack is served from '/home/fleixi/Entwicklung/ProtoUV/public' directory
<i> [webpack-dev-server] 404s will fallback to '/index.html'

><EMAIL_ADDRESS>start:preload
> cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts

><EMAIL_ADDRESS>start:main
> cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only ./src/main/main.ts

[electronmon] waiting for a change to restart it
(node:29179) ExtensionLoadWarning: Warnings loading extension at /home/fleixi/.config/Electron/extensions/fmkadmapgofadopljbjfkapdkoienihi:
  Permission 'scripting' is unknown or URL pattern is malformed.

(Use `electron --trace-warnings ...` to show where the warning was created)
[29179:0227/110644.446726:ERROR:extensions_browser_client.cc(62)] Extension Error:
  OTR:     false
  Level:   2
  Source:  chrome-extension://fifofimfbegfeodapcnallponofelnef/build/background.js
  Message: Uncaught TypeError: Cannot read properties of undefined (reading 'registerContentScripts')
  ID:      fifofimfbegfeodapcnallponofelnef
  Type:    RuntimeError
  Context: chrome-extension://fifofimfbegfeodapcnallponofelnef/build/background.js
  Stack Trace:
    {
      Line:     107
      Column:   1
      URL:      chrome-extension://fifofimfbegfeodapcnallponofelnef/build/background.js
      Function: (anonymous function)
    }
[29179:0227/110644.447064:ERROR:extensions_browser_client.cc(62)] Extension Error:
  OTR:     false
  Level:   1
  Source:  manifest.json
  Message: Service worker registration failed. Status code: 15
  ID:      fifofimfbegfeodapcnallponofelnef
  Type:    ManifestError
<i> [webpack-dev-middleware] wait until bundle finished: /index.html
ERROR in ./src/renderer/Main/Components/ToolsRight/Supports/App.tsx 9:29-84
Module not found: Error: Can't resolve '@react-icons/all-files/Md/MdAddCircleOutline' in '/home/fleixi/Entwicklung/ProtoUV/src/renderer/Main/Components/ToolsRight/Supports'
 @ ./src/renderer/Main/Components/ToolsRight/App.tsx 15:14-39
 @ ./src/renderer/App.tsx 21:14-57
 @ ./src/renderer/index.tsx 7:14-30

ERROR in ./src/renderer/Main/Components/ToolsRight/Supports/App.tsx 10:32-90
Module not found: Error: Can't resolve '@react-icons/all-files/Md/MdRemoveCircleOutline' in '/home/fleixi/Entwicklung/ProtoUV/src/renderer/Main/Components/ToolsRight/Supports'
 @ ./src/renderer/Main/Components/ToolsRight/App.tsx 15:14-39
 @ ./src/renderer/App.tsx 21:14-57
 @ ./src/renderer/index.tsx 7:14-30

webpack compiled with 2 errors
Not rewriting GET /index.html because the path includes a dot (.) character.
[29214:0227/110647.426904:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[29214:0227/110647.442783:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
Status Code: 200
Date in Response header: Mon, 27 Feb 2023 10:06:47 GMT
[29179:0227/110647.764716:ERROR:CONSOLE(2)] "Electron sandboxed_renderer.bundle.js script failed to run", source: node:electron/js2c/sandbox_bundle (2)
[29179:0227/110647.764750:ERROR:CONSOLE(2)] "TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))", source: node:electron/js2c/sandbox_bundle (2)
[29214:0227/110653.387534:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[electronmon] app exited with code 0, waiting for change to restart it

Im not into react/node and electron so i have no clou what im missing.

I'm still rebuilding the project for the web, and I don't have time to debug what is currently in the repository. Perhaps I will come back to this issue as soon as I finish my work. And most likely electron will be excluded from this project with the next commit.


duplicated argument which causes execution failure.

Single '--name' is expected, but duplicated in README.md.
az spring app identity assign --name --name ${VISITS_SERVICE}

Put some pull requests in one pull request.


FR: Solutions "icon list" V" Columns block variant

https://www.figma.com/file/oNwe2jHIICPMIe551EY62l/Mack-Reskin---Full-Project?type=design&node-id=2232-60907&mode=design&t=gLDQkgn5ec0zCFoB-4

Kamino cloned this issue to hlxsites/vg-macktrucks-com


Introduce Snapshot feature flag to disable/enable on demand

This PR will fix issue https://github.com/kubernetes-sigs/ibm-vpc-block-csi-driver/issues/146

/ok-to-test

coverage: 83.51% (-0.4%) from 83.952% when pulling e1f6a81ae0b71a1dee8ee8408f2cba498eeeaf31 on sameshai:v5.1-snap-fix into d5c2c239715626f7cf8a7e2aeb686cef389d4eef on kubernetes-sigs:v5.1.

/test pull-ibm-vpc-block-csi-driver-verify


Text styles not inherited on native

Current Behavior
Child text nodes inherit styles from their parent text nodes on web, but not on native
Expected Behavior
Expect the Text component to behave as consistently as the React Native Text component on ios/android/web.
Tamagui Version
1.100.6

Platform (Web, iOS, Android)
iOS & Android

Reproduction
<Text fontWeight="bold">
        Bold parent
        <Text color="$red10Dark"> Boldness is inherited by child on web but not native</Text>
      </Text>

### System Info

```markdown
Having trouble with this one. Just gives me permission denied.

Closing because I can no longer reproduce. I set up tamagui for the first time and encountered this. But now that I've been messing around for a couple of days with it, I can't make it happen anymore.


Update aws-core, http-client-spi, ... to 2.18.14

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

from 2.17.295 to 2.18.14.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #1014.


[Ionic 3] No input on mobile

When trying to input number in the android keyboard, it dont accept the inputs,
notting appears on input

changed to type="tel" and now it work!


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/more-itertools-feedstock#28.


Does this still work?

As it has not been update in a while, but it looks awesome so i was wondering if it still works fine with PHP7+
Thanks

Yes. It will still work for PHP7. The minimum version is 5.3


Support Angular 4.0.1

The latest version of Angular is now 4.0.1, so we plan to target that instead of Angular 2. Many of the components we plan to initially merge have already been converted to Angular 4.
As I recall, the only differences encountered upgrading components to Angular 4 was with changing template tags to ng-template. Angular 2 still worked even tho template tags were deprecated.
Are there any other potential issues keeping up with the latest version of Angular?

In our project we skipped 4.0 and updated directly to 4.1 :) We didn't have any problems.
This checklist is quite useful:
https://angular-update-guide.firebaseapp.com/
If you select advanced app, then it should show everything what needs to be changed for 4. But for us it was really only ng-template.

We're keeping the package version at ^4.0.1 (for now) in order to be compatible with lower versions


⚠ Slack has degraded performance

In 1ea9b7b, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 97 ms

Resolved: Slack performance has improved in 75010f5.


XLNet-large-cased on Squad 2.0: can't replicate results

I've been trying to replicate the numbers in the Squad 2.0 dev set (F1=86) with this script and the XLnet embeddings. So far the results are really off..{Opening a new issue as the previous one seems dedicated to SST-2}
python run_squad.py --do_lower_case --do_train --do_eval --train_file $SQUAD_DIR/train-v2.0.json --predict_file $SQUAD_DIR/dev-v2.0.json --output_dir $SQUAD_DIR/output  --version_2_with_negative --model_name xlnet-large-cased --save_steps 5000 --num_train_epochs 3 --overwrite_output_dir --model_type xlnet --per_gpu_train_batch_size 4 --gradient_accumulation_steps 1 --learning_rate 3e-5
gives:
07/18/2019 08:43:36 - INFO - __main__ -   Results: {'exact': 3.217383980459867, 'f1': 7.001376535240158, 'total': 11873, 'HasAns_exact': 6.359649122807017, 'HasAns_f1': 13.938485762973412, 'HasAns_total': 5928, 'NoAns_exact': 0.08410428931875526, 'NoAns_f1': 0.08410428931875526, 'NoAns_total': 5945, 'best_exact': 50.07159100480081, 'best_exact_thresh': 0.0, 'best_f1': 50.07159100480081, 'best_f1_thresh': 0.0}

This is similar to what the authors ran in the paper (except I could fit only this on 3 v100 GPUs):
python run_squad.py --do_lower_case --do_train --do_eval --train_file $SQUAD_DIR/train-v2.0.json --predict_file $SQUAD_DIR/dev-v2.0.json --output_dir $SQUAD_DIR/output  --version_2_with_negative --model_name xlnet-large-cased --save_steps 5000 --num_train_epochs 3 --overwrite_output_dir --model_type xlnet --per_gpu_train_batch_size 2 --gradient_accumulation_steps 1 --max_seq_length 512 --max_answer_length 64 --adam_epsilon 1e-6 --learning_rate 3e-5 --num_train_epochs 2
gives:
07/18/2019 06:20:54 - INFO - __main__ -   Results: {'exact': 2.0382380190347846, 'f1': 6.232918462554391, 'total': 11873, 'HasAns_exact': 3.9979757085020244, 'HasAns_f1': 12.399365874815837, 'HasAns_total': 5928, 'NoAns_exact': 0.08410428931875526, 'NoAns_f1': 0.08410428931875526, 'NoAns_total': 5945, 'best_exact': 50.07159100480081, 'best_exact_thresh': 0.0, 'best_f1': 50.07159100480081, 'best_f1_thresh': 0.0}

same here

@thomwolf are you already working on this? I can work with you to try to solve it :)

with the same question... Also got weird results on other QA datasets like BoolQ, MultiRC.

@avisil not yet, I won't have time to work on this before ACL but you can start to have a look if you want. Such discrepancies pretty much always come not from the model it-self but from different settings for pre/post-processing the dataset or for the optimizer/optimization process.
If you want to start giving it a look, the way I usually check exact reproducibility on downstream tasks like GLUE/SQuAD is to directly import the pytorch-transformer's model in the tensorflow code  (that's the main reason the library is python 2 compatible), load the pytorch model with the initialized tf model and run the models side by side on the same inputs (on separate GPUs) to check in details the inputs/outputs/hidden-states and so-on.
In the case of SQuAD, I already know that they are a few differences which should be fixed:

the pre-processing of the dataset is not exactly the same (parsing and tokenization logic is a lot more complex in the XLNet repo),
XLNet was trained using discriminative learning (progressively decreasing learning rate along with the depth of the model).

I found similar problem on GLEU dataset.
With the command:
python run_glue.py --data_dir=./glue_data/SST-2 --model_type=xlnet --task_name=sst-2 --output_dir=./xlnet_glue --model_name_or_path=xlnet-base-cased --do_train --evaluate_during_training
The final result of SST-2 is only 0.836, which is way lower than the current SoTA.
Does anyone have a clue how to solve it?

@ntubertchen good parameters for SST-2 are in the (adequately titled) issue #795

I encountered similar problem with bert-large models. No luck yet.


Need better docs

Really not finding anything concise and clear on how to wire and configure.  I'd especially expect something at http://www.laforgefpv.com/, and would help a lot to have it at getfpv.com and your other vendors.
This video does a great job and finding it covered my need:
https://www.youtube.com/watch?v=lQWNvngk0uc
I have no affiliation with the video producer ... just a satisfied viewer.
Loving my LaForge, thanks!

I'm currently in the process of putting together product manuals for all the La Forge FPV products. They will be uploaded to www.laforge.com website as I complete them.


Extend displaySuccess to output compile time unit based on size

This handles cases where compile time might be very long such as after the initial build and avoids outputting something silly like Compiled successfully in 91244ms in favor of Compiled successfully in 91.2s.

Let me know if anything else is needed

@teddy-error it would be perfect with two tests to check the success message for both compile times ?

And now there's a merge conflict.

And now there's a merge conflict.


Add TFM list to package details page in Gallery

Include a list of TFMs in package details page, supported by updated TFM logic
Close and track this instead... https://github.com/NuGet/NuGetGallery/issues/4843

Closing this and tracking with issue https://github.com/NuGet/NuGetGallery/issues/4843


jsk_recognition: 1.2.14-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository jsk_recognition to 1.2.14-1:

upstream repository: https://github.com/jsk-ros-pkg/jsk_recognition
release repository: https://github.com/tork-a/jsk_recognition-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.3
previous version for package: 1.2.12-1

audio_to_spectrogram

No changes

checkerboard_detector

No changes

imagesift

No changes

jsk_pcl_ros
* [jsk_pcl_ros] add tf_duration parameter in depth_image_creator (#2535 <https://github.com/jsk-ros-pkg/jsk_recognition/issues/2535>)
* Contributors: Shumpei Wakabayashi

jsk_pcl_ros_utils

No changes

jsk_perception
* remove packages=['jsk_perceptoin'] (#2536 <https://github.com/jsk-ros-pkg/jsk_recognition/issues/2536>)
* fix

Contributors: Kei Okada

## jsk_recognition

- No changes

## jsk_recognition_msgs

- No changes

## jsk_recognition_utils

- No changes

## resized_image_transport

- No changes

sorry we found this is also failing... @tfoote I can not reach to http://build.ros.org/view/Mbin_uB64/job/Mbin_uB64__jsk_perception__ubuntu_bionic_amd64__binary/ due to DNS issue? but it1.2.14 is also failing. So closing this.
it is also noted that something has changed (dpkg-buidlpackages?) and there is more strict check on CMakeLists.txt and setup.py, then before.
https://github.com/jsk-ros-pkg/jsk_recognition/commit/ff36009b00a02c4dc8a569a3be8dce6930a0cbf3
https://github.com/jsk-ros-pkg/jsk_recognition/commit/d806159986dbd9b4d47fdc5a03e5a4f402ce0292


Improve nodeBlockFetchSize estimates and test them

Fixes #2480.
Return the block size instead of the body size for Shelley.
Take CBOR-in-CBOR and the EBB tag into account for Byron.
Include a test in the serialisation roundtrip test skeleton.

bors merge

bors merge

bors merge

(Yes, I'm using CI to run my testsuites. I compiled locally with -O0 which is too slow to run all the tests.)

bors merge


[DOC] - Add troubleshooting doc for "too many open files" in kind cluster

Preliminary Checks

[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/nebari-dev/nebari/discussions

Summary
Running the local deployment docs https://www.nebari.dev/docs/how-tos/nebari-local did not succeeed.
There were a couple of issues (DNS is still unresolved, but I'll post in a separate issue)
Steps to Resolve this Issue
kind cluster needs a higher ulimit
Resolved by:
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512

I can add a blurb to https://www.nebari.dev/docs/troubleshooting or https://www.nebari.dev/docs/how-tos/nebari-local if that would be helpful :)

I can add a blurb to nebari.dev/docs/troubleshooting
that would be great

sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl fs.inotify.max_user_instances=512

Strangely enough, I also remember doing this once, but I never encountered it again so I forgot it (should've documented), here's a link that you can add to a note in our PR if you feel comfortable with it https://kind.sigs.k8s.io/docs/user/known-issues/#pod-errors-due-to-too-many-open-files


Official gsi-addon-env modulefiles are significantly pared down from the release candidate

Describe the bug
The candidate and official installations of spack-stack/1.6.0 on Hercules differ.  For the candidate installation (https://github.com/JCSDA/spack-stack/issues/922), it looks like all of the modulefiles in the unified-env are captured in gsi-addon-env, but in the official installation, only a subset are available (mentioned in this comment).  Similarly, for the official 1.5.1 installation, nearly all of the modulefiles were copied over to the gsi-addon environment.
To Reproduce
module use /work2/noaa/jcsda/dheinzel/spack-stack-1.6.0-rc1/envs/gsi-addon-env/install/modulefiles/Core
module load stack-intel
module load stack-intel-oneapi-mpi
module avail
module reset
module use /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core
module load stack-intel
module load stack-intel-oneapi-mpi
module avail

Expected behavior
The installations would be very similar.
System:
Hercules, though the official installations all have fewer modules available.
Additional context
The GSI and UFS_Utils were tested prior to the roll out against the release candidate, but the official installation does not work for either.

Apologies.  I had two terminals open and it looks like this is actually just an issue on Orion.  I will reopen after clarifying the issue.


Codestyle

This is my first contribution to this project, so I'm not sure what's appreciated and what's not. Please let me know. I'm happy to change the PR in any way necessary.
As I worked myself through the codebase I made some changes to the codestyle and did some minor refactoring (switched if-else; returned nil as payload with error). I split it in small commits to make it easier to follow.

Looks good to me.  There's a lot of old Go code of mine in here written before I understood the popular Go conventions.

:+1: for me, other than hoping to see those import blocks consistent across the code base.

Thanks for the feedback. I'll change the imports.

I don't think the imports are necessary to change in this PR.  Instead, I think we should setup a separate PR that somehow bundles goimports, and uses it in place of script/fmt.  I'd probably just add the go get in script/bootstrap.

I think this PR should leave them consistent, whichever way we go. I'm not entirely convinced bundling goimports is necessary, go fmt will honor the spaced blocks if it encounters them. I could be persuaded otherwise, though. I honestly don't use script/fmt and just run that stuff from my editor.

Actually, you do use script/fmt, it's called during script/test :)
I'm totally cool with consistent imports in this PR.
On Tue, May 12, 2015 at 10:25 AM, Scott Barron<EMAIL_ADDRESS>wrote:

I think this PR should leave them consistent, whichever way we go. I'm not
entirely convinced bundling goimports is necessary, go fmt will honor the
spaced blocks if it encounters them. I could be persuaded otherwise,
though. I honestly don't use script/fmt and just run that stuff from my
editor.
—
Reply to this email directly or view it on GitHub
https://github.com/github/git-lfs/pull/300#issuecomment-101339163.

--
Rick Olson

I removed the import reformatting from this PR. (That's what I meant with “I'll change the imports.”)

Thanks!  I think we'll just do that in an isolated PR.


Binary URLs

We currently support extensions from any URL, which are cached in the global cache and downloaded once.
If we extended this concept to arbitrary binaries for tasks, which could be cached and then executed (assuming they have no dynamic linkage requirements), then that would be a nice way around pathing issues for CLI things.
The concept would be to have an architecture matrix that downloads the right URL then associates it with an environment variable in the global cache to reference in a task. This could be pretty cool.

I assume this would require some kind of hashing function or signing to prevent approved/accepted binaries being swapped for malware etc.?

Adding support for hashes would definitely be a needed follow-up feature, and would be pretty trivial, the main thing is how to make it usable.


Code completion suggesting incorrect code

Tested versions
Tested in v4.2.stable.official [46dc27791].
System information
Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 580 Series (Advanced Micro Devices, Inc.; 31.0.21905.1001) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
Singletons and the self keyword are assumed to be classes by code completion (unlike before in v4.1 and previous versions), and only display constants, static functions, and new().
Steps to reproduce

In any project open in version 4.2, create or open a script.
Type "self." or something like "RenderingServer." and observe the code completion suggestions.
You should see something like this:

Minimal reproduction project (MRP)
BugProject.zip

Confirmed in Linux too.

See also #85568.

I'm pretty sure this is a regression as I could use this before and waiting for 4.3 seems odd.

It being marked for 4.3 doesn't mean you have to wait for 4.3, if a compatible bug fix can be made it can be cherry picked for 4.2.x

I'm pretty sure this is a regression as I could use this before and waiting for 4.3 seems odd.

as a workaround you can use an external code editor like VSCode, and it will get around the missing instance variable and method issues. It will still kind of treat self and singletons like classes, but you'll actually be able to code with it.

I'm pretty sure this is a regression as I could use this before and waiting for 4.3 seems odd.

as a workaround you can use an external code editor like VSCode, and it will get around the missing instance variable and method issues. It will still kind of treat self and singletons like classes, but you'll actually be able to code with it.

Well, this is awkward, I just tried this again and it doesn't work lol

Did a bisect. Was introduced in 56e2fad31927e40406bc888aab99fa8f3f417d1f. (#73196)
The changes to gdscript_editor.cpp don't make sense to me and don't seem to have gotten any discussion during the PR. Could you explain how they relate to the issue @Vilcrow

@HolonProduction changes to gdscript_editor.cpp have been made to correct #72353 which led to the incorrect completion. I've tried to figure it out a little bit now, but so far there are no results. I will try to fix this bug as soon as I have time.

Yeah I read the isssue and you also described what caused the issue in you PR. What I don't understand is how these changes:
if (p_context.type != GDScriptParser::COMPLETION_SUPER_METHOD) {
    r_type.type = p_context.current_class->get_datatype();
} else {
    r_type.type = p_context.current_class->base_type;
}

are related to the cause of the issue that you described in the PR (you said it had something todo with a wrong position being used in CodeEdit).
This issue (as in #85833) results from p_context.current_class->get_datatype() being a meta type (the class, not an instance of the class; that is why you only see new. So this should just be switched back to how the type was constructed before.
I also don't see what you are trying to do with p_context.type != GDScriptParser::COMPLETION_SUPER_METHOD. Could you give an example case were this would be false.
So yeah IMO I would just try to revert all changes to gdscript_editor.cpp. But you propably know better what this code is supposed to do.

@am45-001 No need to apologise, I wasn't going to be very involved either way

@Vilcrow would it be appropriate for me to upload the custom version of 4.2.1 with your fix here? Or would I need to publish it somewhere else while we wait for the next version?


Add support for aarch64 on user-provided URLs

Currently we can only provide URLs for linux and darwin, regardless of the architecture. We recently started to support aarch64 and there was no way to provide a custom llvm toolchain for it.
This needs some polishing but I'm putting it up for review to gather initial feedback. Also in case something like this is already on the works.
The code was written by @ryan-johnson-databricks

@brian-brt I'm happy to drop this for something better. This was basically a hack we did in order to unblock and I opened the PR for visibility.

Thanks for the PR. I don't think I have permissions to update your PR branch, so I will merge this as commit independent of the PR.

Merged with 85022a2d.


Use compact UData serialization for MsgBlock and MsgTx

We switch to using compact UData serialization for both the block and tx. This same serialization is used for storing proofs to the disk and results in massive savings for disk and bandwidth usage.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 127 (0.0%)  changed or added relevant lines in 8 files are covered.
13 unchanged lines in 3 files lost coverage.
Overall coverage increased (+17.0%) to 68.343%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

blockchain/chain.go
0
1
0.0%

blockchain/validate.go
0
1
0.0%

wire/msgblock.go
0
2
0.0%

wire/msgtx.go
0
2
0.0%

blockchain/indexers/flatutreexoproofindex.go
0
3
0.0%

blockchain/indexers/utreexoproofindex.go
0
3
0.0%

mempool/mempool.go
0
18
0.0%

blockchain/utreexoviewpoint.go
0
97
0.0%

Files with Coverage Reduction
New Missed Lines
%

blockchain/utreexoviewpoint.go
1
1.7%

btcec/signature.go
3
92.76%

peer/peer.go
9
75.37%

Totals

Change from base Build<PHONE_NUMBER>:
17.0%

Covered Lines:
14516

Relevant Lines:
21240

💛  - Coveralls


Upgrade exchanger constraint

Stable release of exchanger currently cannot be installed alongside with this package.

Swap 3.3.0 now uses the stable version of Exchanger. Thanks!

Thanks!


For control property, if it is a string, treat it as the mapping id

For example:
gui.add( settings, 'color', {control: oui.controls.ColorPicker});
It seems more user friendly to accept string like:
gui.add( settings, 'color', {control: 'ColorPicker'});
If it is a string, it will look for the reference of oui.controls['ColorPicker']

Using a reference means you can use custom controllers, such as gui.add( settings, 'color', {control: MyAwesomeColorPicker}). Also, I'm not sure it's a good idea having dual type (string|object) parameters.
The ES6 notation has a @color() shorthand annotation, so maybe something similar to this for that datoui would be more appropriate. Something like gui.color( prop, propName )


login redirect should work with a null request parameter

I am using the Djinga templating engine (which processes both Django and Jinja templates)  so I am not sure if this behavior is reproducible either in the vanilla Django template or even Jinja2. The social.apps.django_app.context_processors.login_redirect context processor fails when rendering using the django.template.loader.render_to_string() function.
The reason is very simple: Djinga passes request=None to all context processors when render_to_string is called and login_redirect fails with this kind of input. I am not sure if Djinga is abusing an undocumented Django behavior or login_redirect is the one to blame.
Anyway, the error can be fixed trivially by checking if request is None in the begining of the login redirect function.

login_redirect can't ignore the request is a required parameter, if doesn't fit your current setup, that means that you need a custom function for that particular environment.


modify ReadAsJSON

Codecov Report

Merging #106 into master will decrease coverage by 4.2%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage     100%   95.79%   -4.21%
==========================================
  Files           1       12      +11
  Lines          73      689     +616
  Branches       13       48      +35
==========================================
+ Hits           73      660     +587
- Misses          0       27      +27
- Partials        0        2       +2

Impacted Files
Coverage Δ

...unitTests/Credentials/AccessTokenCredentialTest.cs
100% <0%> (ø)

...aseclient/csharp/unitTests/Utils/ExtensionsTest.cs
100% <0%> (ø)

...t/csharp/core/Credentials/AccessTokenCredential.cs
85.71% <0%> (ø)

baseclient/csharp/unitTests/TestHelper.cs
44.44% <0%> (ø)

baseclient/csharp/core/Utils/Extensions.cs
100% <0%> (ø)

baseclient/csharp/unitTests/Utils/DictUtilsTest.cs
100% <0%> (ø)

baseclient/csharp/core/BaseClient.cs
98.41% <0%> (ø)

baseclient/csharp/core/Utils/TimeUtils.cs
100% <0%> (ø)

baseclient/csharp/unitTests/Utils/TimeUtilsTest.cs
100% <0%> (ø)

baseclient/csharp/unitTests/BaseClientTest.cs
100% <0%> (ø)

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86d3f71...13b409b. Read the comment docs.


[dynamic-links] signInWithEmailLink yield invalid dynamic links

I'm using firebase_auth and firebase_dynamic_links to implement passwordless login.
When I click on the link in the auth email, it opens in my app as it should but the link isn't handled (the onLink callback is not called).
The weird thing is that every other dynamic links I have work properly (they get handled in onLink).
Another difference is that, when opening the app throught the link in the email, another instance of the app is launched even if the app is already running in background. This doesn't happen with any other dynamic links.
This is how I create the link from my app:

  @override
  Future<void> sendSignInWithEmailLink(
    String email,
  ) async {
    try {
      final PackageInfo packageInfo = await PackageInfo.fromPlatform();

      // Save to email store
      await locator
          .get<LocalStorageService>()
          .write(key: AuthenticationConstants.emailStoreKey, value: email);
      // Send link
      await _firebaseAuth.sendSignInWithEmailLink(
        email: email,
        url: "https://getmyapp.app/lks/XktS",
        handleCodeInApp: true,
        iOSBundleID: packageInfo.packageName,
        androidPackageName: packageInfo.packageName,
        androidInstallIfNotAvailable: true,
        androidMinimumVersion: "21",
      );
    } on PlatformException catch (_) {
      rethrow;
    } finally {}
  }

And this is the link that I get in the resulting email:
https://getmyapp.app/
?link=https://myapp-5p4rk.firebaseapp.com/__/auth/action
?apiKey=AIzaSyCEMaEKrsNTUokeWrGjo-CnNLlRk1xjvhU
&mode=signIn
&oobCode=8sqSGbEOT6AFIG3rAW-uqZ8LkGRCaEP3S6-uLeaUNocAAAFxb0445g
&continueUrl=https://getmyapp.app/lks/XktS
&lang=fr
&apn=app.myapp.myapp
&amv=21
&ibi=app.myapp.myapp
&ifl=https://myapp-5p4rk.firebaseapp.com/__/auth/action
?apiKey=AIzaSyCEMaEKrsNTUokeWrGjo-CnNLlRk1xjvhU
&mode=signIn
&oobCode=8sqSGbEOT6AFIG3rAW-uqZ8LkGRCaEP3S6-uLeaUNocAAAFxb0445g
&continueUrl=https://getmyapp.app/lks/XktS
&lang=fr

So, from what I understand, I call is made at https://myapp-5p4rk.firebaseapp.com/__/auth/action (i'm not sure why is that step needed) and then it gets redirected to my dynamic link I configured in the console https://getmyapp.app/lks/XktS with some sort of token. At this point, it should open my app and onLink should trigger. But it doesn't happen.
Now if I just enter https://getmyapp.app/lks/XktS in my browser, my app open and onLink is triggered!
I don't really what is the difference and what could cause the link coming from the email not to trigger onLink... Any ideas? 😄

Hi @theochampion
can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

HI @TahaTesser
Sure :)
flutter doctor -v:
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.5 18F132, locale en-AU)
    • Flutter version 1.12.13+hotfix.8 at /Users/theo/flutter
    • Framework revision 0b8abb4724 (7 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/theo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Flutter requires a minimum Xcode version of 11.0.0.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.7.4

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 32.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

flutter run --verbose logs:
[   +1 ms] W/DynamiteModule(19383): Local module descriptor class for com.google.firebase.auth not found.
[        ] I/FirebaseAuth(19383): [FirebaseAuth:] Preparing to create service connection to gms implementation
[+17905 ms] D/DecorView(19383): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@52c9d32[MainActivity]
[+17586 ms] D/DecorView(19383): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@52c9d32[MainActivity]

// here I call the firebase_auth sendSignInEmail()

[ +890 ms] I/BiChannelGoogleApi(19383): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms:
com.google.firebase.auth.api.internal.zzaq@b2a1319

// here I put the app on background to open my gmail

[+9943 ms] D/FlutterView(19383): Detaching from a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@22d19ca
[+4353 ms] W/ActivityThread(19383): handleWindowVisibility: no activity for token android.os.BinderProxy@4435045

// the link open the app back

[  +22 ms] D/FlutterActivityAndFragmentDelegate(19383): Setting up FlutterEngine.
[        ] D/FlutterActivityAndFragmentDelegate(19383): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this
FlutterFragment.
[ +266 ms] D/FlutterActivityAndFragmentDelegate(19383): Attaching FlutterEngine to the Activity that owns this Fragment.
[ +218 ms] D/FlutterView(19383): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@5f58181
[   +6 ms] D/FlutterActivityAndFragmentDelegate(19383): Executing Dart entrypoint: main, and sending initial route: /
[  +11 ms] D/DecorView(19383): onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@ac8ea03[MainActivity]

my pubspec.yml:
dependencies:
  google_sign_in: ^4.0.0
  firebase_auth: ^0.15.5+2
  cloud_functions: ^0.4.1+6
  cloud_firestore: ^0.12.7
  geoflutterfire: ^2.0.3+5
  image_picker: ^0.5.0+3
  firebase_storage: ^3.0.1
  timeago: ^2.0.10
  geolocator: ^5.3.0
  google_maps_flutter: ^0.5.21+6
  cached_network_image: ^1.1.1
  firebase_messaging: ^5.1.8
  geocoder: ^0.2.1
  image: ^2.0.7
  provider: ^3.1.0
  fluster: ^1.1.2
  overlay_support: ^1.0.1
  responsive_image: ^0.1.0
  intl: ^0.16.1
  firebase_dynamic_links: ^0.5.0+11
  package_info: ^0.4.0+16
  flutter_secure_storage: ^3.3.1+1
  flutter_facebook_login: ^3.0.0
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_launcher_icons: '^0.7.0'
  flutter_test:
    sdk: flutter

This seems to be the same issue: https://github.com/FirebaseExtended/flutterfire/issues/1571
Here is my detailed Stackoverflow question on that: https://stackoverflow.com/questions/61393682/firebase-authentication-link-not-working-missing-trailing-slash
@theochampion Check out the other issue. There is a pull request that introduces a parameter dynmicLinkDomain that is present in Firebase SDK but not available in the Flutter version yet. The url param should define the the start of the link=... part. This works for me, maybe you have to check your Firebase config in Authentication -> Templates and change the auth link domain there.

@ToniTornado so if I understand the generated link should contain
link=https://getmyapp.app/__/auth/action

instead of
link=https://myapp-5p4rk.firebaseapp.com/__/auth/action

in order to work ?
I hope this will get merged soon! ;)

@theochampion In the PR and hopefully in a future version of firebase_auth there will be two params:
url: 'https://mydomain.com', -> your auth domain
dynamicLinkDomain: 'link.mydomain.com', -> your dynamic link domain

With these URLs set my generated sign-in link looks like this:
https://link.mydomain.com?link=https://mydomain.com/__/auth/action?apiKey%3DAIza123456789yzdQ%26mode%3DsignIn%26oobCode%3D5ZLqipsNx6ip8BrdVCUacUIxBxas_ZLJA6MwQ_hA1rIAAAFxsnWzdg%26continueUrl%3Dhttps://mydomain.com%26lang%3Dde&apn=com.mydomain.app&amv=21&ibi=com.mydomain.app&ifl=https://mydomain.com/__/auth/action?apiKey%3DAIzaS123456789zdQ%26mode%3DsignIn%26oobCode%3D5ZLqipsNx6ip8BrdVCUacUIx23456789AAAFxsnWzdg%26continueUrl%3Dhttps://mydomain.com%26lang%3Dde
(but is not working until I add a forward slash, see my Stackoverflow question)
Try to set the auth domain to use manually for the templates in Firebase Console -> Authentication -> Templates -> (click any template) -> (click the pen icon to edit) -> Scroll down to Action URL -> "customize action URL" (next to the save button)

@ToniTornado I tried that and still no luck (tough I have the trailing slash) :/
Also, what I noticed is that, when I click the generated link on the email, another instance of the app is opened  instead of the one already running in the background being brought back (just like when I use any other dyn links). Any ideas why that might be the case?

As of firebase_auth version 0.18.0-dev.2 these changes have been merged into master so the above PR is no longer required.

Hey 👋
Our rework of the firebase_auth plugin as part of the FlutterFire roadmap was published over a week ago with a ton of fixes and new features.
Please could you update to the new version as providing a custom dynamic link domain is now supported on auth action code settings. If you have any problems with this feature or the updated plugins please raise a new GitHub issue.
For help migrating to the new plugins please see the new migration guide: https://firebase.flutter.dev/docs/migration


Implement a Logos Update Routine

In order to get one of the most important features working, we need to implement an update-logos(). This function should accomplish the following steps:

Compare the user's installed Logos version to those available in the XML; if a new one is available, offer an update Logos button.

Near the top of /home/user/LogosBible10/data/wine64_bottle/drive_c/users/deck/AppData/Local/Logos/System/LogosUpdater.deps.json

Move the currently installed resources out of the way to be restored later using Linux mv, call it move().
Install the newest MSI or a selected MSI, which due to a blank data folder wipes out the user's data folder.
Restore the user's data folder.
Run the update-resources(), in development by @n8marti.
Run the indexer.

This code may need to stop a running Logos client.

Using the latest 36+, I was able to update books and my Logos install from within the app. Unfortunately, we are seeing the instant crash issue during this time, which is frustrating, but doesn't appear to be a complete showstopper.
I would think the code you have developed might still be useful, at least for partial updates.

Is this needed anymore? Logos updating itself is working right now


When built-in keyboard is re-enabled after external keyboard disconnected, it use the mapping keys of external keyboard even ignore: true is set for Built-in keyboard

I am using the new feature to Disable Built-in keyboard when external keyboard connected, it's working flawlessly. I am also setting some mapping rules for the external keyboard and ignore that for the built-in keyboard, however after the external keyboard is disconnected, if will use the current mapping keys on the built-in keyboard even though we ignored current profile for built-in keyboard.

I'm curious how you're ignoring certain mappings based on keyboard? The only way I've been able to do that is create a profile for each keyboard. Then when my external is plugged in I set selected: false on the intenral keyboard profile and selected: true on the external profile.

@wassimk I don't use any mapping keys for internal keyboard, so I only set mapping for external keyboards (ignore for internal keyboard) and turn on option disable internal keyboard when my external keyboard connected.

Same on my external HHKB/IKBC keyboard.
macOS 10.12.2
Thanks.