php memory issue 'Allowed memory size of 2097152 bytes exhausted'

Using current version docker-compose file.
On fresh (volumes was deleted) install.
With diff:
$ diff ./docker-compose.yml ./docker-compose2.ym
12c12
<     - 80:80
---
>     - 8000:80
17c17
<     - mageAD:/var/www/html
---
>     - /var/www/html
44c44
<     - mageDB:/var/lib/mysql
---
>     - /var/lib/mysql
58c58
<     - M2SETUP_BASE_URL=http://m2.localhost:80/
---
>     - M2SETUP_BASE_URL=http://m2.localhost:8000/
61c61
<     -<EMAIL_ADDRESS>---
>     -<EMAIL_ADDRESS>
Receive:
phpfpm_1   | Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 12288 bytes) in /var/www/html/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 8
Main page loads. But not admin uri (used proper uri docker exec magento2_phpfpm_1 magento info:adminuri)
phpfpm_1   | <IP_ADDRESS> -  11/Nov/2016:12:57:30 +0000 "GET /index.php" 302
app_1      | <IP_ADDRESS> - - [11/Nov/2016:12:57:30 +0000] "GET /index.php/admin_9gkfm7/admin/index/index/key/f24a62a98b62ea5b1c0038ff548f76859ded621f96fc6590910c9c055d736676/ HTTP/1.1" 302 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36" "-"

Reacieving in browser:
The m2.localhost page isn’t working

m2.localhost redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

Can you post up your full docker-compose file?
On Fri, Nov 11, 2016 at 8:10 AM Anton Latukha<EMAIL_ADDRESS>wrote:

Using current version docker-compose file.
On fresh (volumes was deleted) install.
With diff:
$ diff ./docker-compose.yml ./docker-compose2.ym
12c12
<     - 80:80

- 8000:80

17c17
<     - mageAD:/var/www/html

- /var/www/html

44c44
<     - mageDB:/var/lib/mysql

- /var/lib/mysql

58c58
<     - M2SETUP_BASE_URL=http://m2.localhost:80/

- M2SETUP_BASE_URL=http://m2.localhost:8000/

61c61 http://m2.localhost:8000/61c61
<     -<EMAIL_ADDRESS>
-<EMAIL_ADDRESS>

Receive:
phpfpm_1 | Fatal error: Allowed memory size of 2097152 bytes exhausted
(tried to allocate 12288 bytes) in
/var/www/html/vendor/zendframework/zend-modulemanager/src/ModuleManager.php
on line 8
Main page loads. But not admin uri (and I use proper docker exec
magento2_phpfpm_1 magento info:adminuri)
phpfpm_1   | <IP_ADDRESS> -  11/Nov/2016:12:57:30 +0000 "GET /index.php" 302
app_1      | <IP_ADDRESS> - - [11/Nov/2016:12:57:30 +0000] "GET /index.php/admin_9gkfm7/admin/index/index/key/f24a62a98b62ea5b1c0038ff548f76859ded621f96fc6590910c9c055d736676/ HTTP/1.1" 302 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36" "-"
Reacieving in browser:
The m2.localhost page isn’t working
m2.localhost redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mageinferno/magento2-docker-compose/issues/34, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAarJS53qVcg_dgXvV841gQ8M8T7kXoQks5q9GklgaJpZM4Kvu7d
.

$ cat ./docker-compose.yml
# Mage Inferno Docker Compose (https://github.com/mageinferno/magento2-docker-compose)
# Version 5.0.0

app:
  image: mageinferno/magento2-nginx:1.11-0
  links:
    - phpfpm
    - db
  volumes_from:
    - appdata
  ports:
    - 80:80

appdata:
  image: tianon/true
  volumes:
    - mageAD:/var/www/html
#    - ~/.composer:/var/www/.composer
#    - ./html/app/code:/var/www/html/app/code
#    - ./html/app/design:/var/www/html/app/design

phpfpm:
  image: mageinferno/magento2-php:7.0-fpm-0
  links:
    - db
  volumes_from:
    - appdata

db:
  image: percona:5.7
  volumes_from:
    - dbdata
  ports:
    - 8001:3306
  environment:
    - MYSQL_ROOT_PASSWORD=magento2
    - MYSQL_DATABASE=magento2
    - MYSQL_USER=magento2
    - MYSQL_PASSWORD=magento2

dbdata:
  image: tianon/true
  volumes:
    - mageDB:/var/lib/mysql

setup:
  image: mageinferno/magento2-php:7.0-fpm-0
  command: /usr/local/bin/mage-setup
  links:
    - db
  volumes_from:
    - appdata
  environment:
    - M2SETUP_DB_HOST=db
    - M2SETUP_DB_NAME=magento2
    - M2SETUP_DB_USER=magento2
    - M2SETUP_DB_PASSWORD=magento2
    - M2SETUP_BASE_URL=http://m2.localhost:80/
    - M2SETUP_ADMIN_FIRSTNAME=Admin
    - M2SETUP_ADMIN_LASTNAME=User
    -<EMAIL_ADDRESS>    - M2SETUP_ADMIN_USER=magento2
    - M2SETUP_ADMIN_PASSWORD=magento2
    - M2SETUP_VERSION=2.1.2
    - M2SETUP_USE_SAMPLE_DATA=false
    - M2SETUP_USE_ARCHIVE=true

Additional info:
$ docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.7.3
 Git commit:   6b644ec
 Built:        Thu Oct 27 19:42:59 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.7.3
 Git commit:   6b644ec
 Built:        Thu Oct 27 19:42:59 2016
 OS/Arch:      linux/amd64

$ docker-compose version
docker-compose version 1.8.1, build 878cff1
docker-py version: 1.10.6
CPython version: 3.5.2
OpenSSL version: OpenSSL 1.0.2j  26 Sep 2016

I haven't tested this on a linux distro yet (but will soon).
Any chance the http://m2.localhost:80/ url is causing the issue? Perhaps try just http://m2.localhost/ if you are using port 80?

I considered this be elementary and miniscule changes.
Yes, Ok.
I test it on http://m2.localhost/ and also on all regular settings.
Later today.
And report here.

I tested.

Resolved.
Yes. This is a

M2SETUP_BASE_URL=http://m2.localhost:80/
issue.
Thank you.
P.S
2. Memory limit error in PHP is still present.
But now I see issues are not interconnected.

phpfpm_1 | Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 12288 bytes) in /var/www/html/vendor/zendframework/zend-modulemanager/src/ModuleManager.php on line 8

I can hack memory error with removing limit in php code, but maybe you know and can suggest where to report it. To zend-modulemanager, PHP or I saw discussion of solving massages like this in Docker git?

http://m2.localhost:80/ happens.
For me and by default it also must just mean http://m2.localhost/. Can you say where I can report this situation. To nginx or to php or to Magento2.

@Anton-Latukha can you please open a new ticket with detailed info on the memory issue, I don't like colocating multiple issues within one ticket that was opened for something else. Thanks!

@Anton-Latukha did you ever find why you had the memory limit error ?

@pravalitera
That was small testing AWS instance. I said to client that we need to get one larger.
Client had bad English, lied to me, was not responsive to do business, and in one moment just stopped responding. So I moved on from him, and never wanted back.
One year past. I don't remember clearly do I got larger instance, do I personally solved that issue, or just moved on.
I want to say, but I can not remember anything strictly.

@pravalitera
I was able to solve this by adding the actual value directly inside the php.ini file and mounting my custom version of it in the container. Apparently the variable PHP_MEMORY_LIMIT is not there when running the cron.

increase your memory_limit to  1G in your php.ini memory_limit 1G.


Add a couple more C++ tests and expose setBondStereoFromDirections() to Python

I discovered the bug in setBondStereoFromDirections() independently using Mol blocks, so I'm adding those tests here.
The function would also be useful in Python, so this exposes it.

Makes sense, thanks!


Request: Support for Reddit Page Titles

Hello. I noticed that Reddit always defaults its page titles to "Reddit - Dive into anything," maybe to make it harder for external search engines to find things. When the page fully loads though, the title is updated to a better description of the actual content.
Would there be a good workaround and extract the descriptive title to be used in the card? Much appreciated.

This would be a great addition to the plugin.

Need this! Reddit cardlinks are all the same 😭

if you change the link to be from old.reddit.com before triggering conversion, the embed content is correct (other than the URL)
new reddit continues to find new ways to make me suffer...


[odinfmt] #field_align tag is removed from structs

Fo example, this:
Foo :: struct #align(64) #field_align(64) {
    a: f32,
}

Gets turned into:
Foo :: struct #align(64) {
    a: f32,
}

I can work around this with // odinfmt: disable, but it's a bit annoying

Is now supported.


Feature/processing data in models

In this PR I:

Created at least one user
Created at least 4 posts written by one of the users I created
Created at least 6 posts comments for one of the posts created
My users model includes a method that returns the 3 most recent posts for a given post
My Post contains a method that updates the posts counter for a user and another method that returns the 5 most recent comments for a given post
My comments model had a method that updates the comments for a post
My Likes model has a method that updates the likes counter for a post
Created a method called current_user in my ApplicationController that returns the first user for a database

Thank you for taking the time to review my code.

Hi @daudi13 , hand
Great work on making the changes requested by a previous reviewer clap You've done well implementing some of the requested changes, but there are still some which aren't addressed yet.
Status: Required Changes

As suggested by previous reviewer, please customize your readme file to meet what you did in this project. you can follow this template from Microverse . This make your project looks more professional.

Cheers and Happy coding!clapclapclap
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@uwadonat in my opinion I think that should be classified under an optional change for now because the project is still ongoing.


latest release v0.6.2 windows build is not latest

Hi I downloaded the the latest release v0.6.2 windows build(windows-amd64-github-release.zip) and run the command to create git TAG from a branch using command release with parameter --target.
following is my command
github-release release --user ${GITHUB_ORGANIZATION} --repo ${GITHUB_REPO}--${VERSION_NAME} --name ${VERSION_NAME} --description "bla bla bla" --target ${BRANCH_NAME}

I'm running into the same issue with the linux build.

This is very strange. So a build that was marked as v0.6.2 did not have the option? Maybe something is wrong with my makefile. Anyway, does the current latest build show the problem?

I see what the problem is... the make release command does not clean old binaries, it re-uses them if they're already present. That's stupid, I'll get that fixed when I'm near a usable computer.


[SPARK-35288][SQL] StaticInvoke should find the method without exact argument classes match

What changes were proposed in this pull request?

This patch proposes to make StaticInvoke able to find method with given method name even the parameter types do not exactly match to argument classes.
Why are the changes needed?

Unlike Invoke, StaticInvoke only tries to get the method with exact argument classes. If the calling method's parameter types are not exactly matched with the argument classes, StaticInvoke cannot find the method.
StaticInvoke should be able to find the method under the cases too.
Does this PR introduce any user-facing change?

Yes. StaticInvoke can find a method even the argument classes are not exactly matched.
How was this patch tested?

Unit test.

Test build #138134 has started for PR 32413 at commit cb7e903.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42655/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42655/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42655/

Test build #138134 has finished for PR 32413 at commit cb7e903.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class AddJarsCommand(paths: Seq[String]) extends LeafRunnableCommand
case class AddFilesCommand(paths: Seq[String]) extends LeafRunnableCommand
case class AddArchivesCommand(paths: Seq[String]) extends LeafRunnableCommand

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138134/

Test build #138155 has started for PR 32413 at commit d1aa94d.

Test build #138155 has finished for PR 32413 at commit d1aa94d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138155/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42676/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42676/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42676/

retest this please

Test build #138181 has started for PR 32413 at commit d1aa94d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42702/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42702/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42702/

I think you can merge this, @viirya . All comments are addressed.

Also, it's okay to wait for @cloud-fan 's comment if this is not that urgent.

Thanks @dongjoon-hyun @srowen @maropu. Let me wait more a few days. I will merge before the end of this week.

shall we consider https://github.com/apache/spark/pull/32404#issuecomment-833173900 ?

Test build #138181 has finished for PR 32413 at commit d1aa94d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138181/

shall we consider #32404 (comment) ?

It looks promising. Do you think we should use it even in backports? Or just use it in master only?

@cloud-fan If we decide to leave using of the util method in master, this is pretty conservative fix, shall we backport this, and then open new PRs for util method in master?

Test build #138230 has started for PR 32413 at commit 0ec8117.

Added the shared method.

Thanks @cloud-fan @dongjoon-hyun. I will merge once CI passes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42752/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42752/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42752/

Test build #138230 has finished for PR 32413 at commit 0ec8117.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138230/


React hooks refactor

Refactors the Provider to use hooks instead of classes.
Also added the hooks dependency checker
Take a look, not a priority PR, just something that might be nice.

@jacobsfletch The refactor has been adjusted make the code more readable.
I also exposed a function to disableTracking that allows the user to manipulate whether or not the listeners need to be set. I could see this being useful if someone wanted to track the position only after the user performed an action, low level example would be drawing on a canvas pen on/off.
Feedback on the above along with the updated code would be great!


Why is GRAIL not included?

Hi,
First of all, thanks for such a nice, well-maintained, repository.
Looking into the "Accompanying Paper" I noticed that paper [1] is not included. I wonder if I am mistaken in believing that it should be included or if there is any specific reason why it is not.
Thanks in advance and regards,
[1] Paparrizos, John, and Michael J. Franklin. "Grail: efficient time-series representation learning." Proceedings of the VLDB Endowment 12.11 (2019): 1762-1777. https://dl.acm.org/doi/pdf/10.14778/3342263.3342648

Hi,
Thank you for your question. We were fully aware of the GRAIL paper; however, we did not include it in our work because it is not a deep learning/neural network-based approach, as outlined in Section 1.2 of our paper.

Hi,
I see, thanks for the prompt answer.


UI hover functionality

Added hovering popups for representative nodes, and donation edges. allows you to find out more info about them.
Nodes: Tells you whether the rep is a senator or congressman, what state they represent, and if they have a district, which one.
Edges: for the donation edge, going from a superpac, to a representative, it gives the total dollar amount donated.

Fixed all merge conflicts and tested, it works.


Design the Onboarding Process

Description:
We want to make the onboarding process smoother and more visually appealing. Your task is to redesign the onboarding flow, incorporating user-friendly steps and visuals.

Difficulty: intermediate
Estimated Time: 5-6 hours

Hi Jayesh,
Hi there! I'm interested in working on this issue. Could you please assign it to me? I believe I can make a valuable contribution to this task.
Looking forward to your response. Thanks!

Hello User,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh


[Runtime] Check for NULL demangling when verifying mangled name roundtrips.

_swift_buildDemanglingForMetadata can fail, so check for NULL and warn about it instead of crashing.

@swift-ci please smoke test


Prioritize using PIL to get image size

Summary
Accelerate loading of image file-based datasets.
I found that printing out the YOLO dataset information for the first time was slow. After some digging I found that datamaro was reading the entire dataset through to get the size of each image.
ds = Dataset.import_from("/yolo-ultralytics", "yolo")
print(ds)  # <-- wait a long time

    # from class Image
    @property
    def size(self) -> Optional[Tuple[int, int]]:
        """Returns (H, W)"""

        if self._size is None:
            try:
                data = self.data  # <-- load the whole media into memory
            except _image_loading_errors:
                return None
            if data is not None:
                self._size = tuple(map(int, data.shape[:2]))
        return self._size

Interactive encoding with datasets on HDD is slow. So I added an override size() property in the ImageFromFile class which first tries to get the image size using PIL. The PIL library is about 8 times faster than OpenCV in getting the image size.
All dataset classes that use the size property of ImageFromFile can benefit from this modification.

How to test

Checklist

[ ] I have added unit tests to cover my changes.
[ ] I have added integration tests to cover my changes.
[ ] I have added the description of my changes into CHANGELOG.
[ ] I have updated the documentation accordingly

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) 2023 Intel Corporation
#
# SPDX-License-Identifier: MIT

@vinnamkim
It would be great if adding new dependencies was acceptable. I actually considered several approaches here and settled on PIL for compatibility. But yes, imagesize is a little faster.
imagesize vs cv2: 0.3s vs 8.1s on my benchmark dataset.


Avoid text selection on Repositories Card's

Right now, if you select the text in a card it will be highlighted, and that looks very ugly, so will be better if we avoid this thing.

Could i take this issue?

Sure, go ahead!


Created the Henry Ford page

Summary

Created the index.html page for displaying Henry Ford's  bio
Created the index.css file for styling based on the fcc guidelines
Created an MIT license for this project

Hi @abel-tefera
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
Proper Usage of the Github review feature ✔
Use Of Gif ✔
Use of inline comment ✔
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @joel-kalema in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Make MessageEnvelope accessible from IContext

We have a method Receive on IContext that takes a MessageEnvelope.
But we have no way of getting a MessageEnvelope from the IContext, unless you wrap it yourself using message, sender and headers.

Done


addDatafield - field is not added to the correct position of the fields array, adds to the last position

I used addDataField function to add data to a selected position (index) of the fields array, But it always adds to the last position
0: {$schema: "http://powerbi.com/product/schema#column", column: "column1", table: "table1"}
1: {$schema: "http://powerbi.com/product/schema#column", column: "column2", table: "table2"}
2: {$schema: "http://powerbi.com/product/schema#column", column: "column3", table: "table3"}
3: {$schema: "http://powerbi.com/product/schema#column", column: "column4", table: "table4"}
4: {$schema: "http://powerbi.com/product/schema#column", column: "column5", table: "table5"}
5: {$schema: "http://powerbi.com/product/schema#column", column: "column6", table: "table6"}
This is in Table type widget available in a power bi report, Any idea why

This issue is fixed in the latest version - 1.1.0
Its going to add the data field into the passed index


Upgrade node pools that don't match their cluster version

Script from https://github.com/ljfh001

It's now ready for your final review and acceptance.


Batch no rejects special characters such as "-"

I don't know if this becomes an issue but creating a batch e.g. S001-02 is rejected by the EW
Investigation needed if any company has such characters.
The Batch field was specified as alphanumeric 20 and should allow:
000000001
12345
ABC-001
abcdef
abcdef-10
....
Business decision needed if this needs to be fixed or not

Is this for MVP1?
We will stop using this repository, issue should be created in Jira


子项目循环引用

已修复

看起来master上面仍然存在依赖关系

platform 依赖 layouter
https://github.com/leaferjs/leafer/blob/main/packages/platform/platform/package.json

layouter 依赖 event
https://github.com/leaferjs/leafer/blob/main/packages/layouter/package.json

event 依赖 decorator
https://github.com/leaferjs/leafer/blob/main/packages/event/event/package.json

decorator 依赖 platform
https://github.com/leaferjs/leafer/blob/main/packages/decorator/package.json


Markdown preview render error

From @movsb on March 28, 2018 2:19
Issue Type: Bug
The following markdown text will not be redered properly:
markdown:
a**(**

preview:
a**(**

expect parenthesis to be bold.
VS Code version: Code 1.21.1 (79b44aa704ce542d8ca4a3cc44cfca566e7720f1, 2018-03-14T14:39:09.335Z)
OS version: Darwin x64 17.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz (4 x 2900)

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.25GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_9767248

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.14.1

spellright
ban
2.2.0

php-debug
fel
1.12.2

phpcs
ika
1.0.5

Go
luk
0.6.77

python
ms-
2018.2.1

vim
vsc
0.11.2

markdown-all-in-one
yzh
1.1.1

(1 theme extensions excluded)

Reproduces without extensions

Copied from original issue: Microsoft/vscode#46794

The markdown preview is correct here. The text is not bold since the ** is inside of a word.
The bug is the editor shows a**(** as bold


unity tonkeeper login error

tonkeeper Wallet login returned an error message, id could not be resolved

fixed in 0.2.1


Repository with executable examples

This issues should help us to determinate necessary of the repository with executable examples.
Please add here use cases for examples.

https://github.com/DevExpress/testcafe/issues/4140#issuecomment-522620075

Wait for a file download: https://stackoverflow.com/questions/57582108/testcafe-example-to-assert-file-download

Use Request Logger to log REST API calls: https://stackoverflow.com/questions/52745697/requestlogger-not-intercepting-all-http-requests

How to upload a file with TestCafe: https://stackoverflow.com/search?q=[testcafe]+Upload

Windows and basic authentication example - https://supportcenter.devexpress.com/internal/ticket/details/T809667

A hot topic is avoiding the issue with multiple windows, but I don't know if we can provide an example that will work for most cases.

Debug any "sibling" results using custom outerHTML Selector property: https://www.devexpress.com/Support/Center/Question/Details/T811021/i-am-some-how-not-able-to-get-hold-of-an-element-please-help

Check if the document in the iframe is loaded using ClientFunction:
https://stackoverflow.com/questions/57787520/interacting-with-iframe-with-empty-src-attribute

How to reload web page - https://stackoverflow.com/questions/57851542/testcafe-page-reload

We decided that it is time to create a repository for examples. When we do it, all example suggestions should be submitted as issues to this separate repository.

The repository for examples is located here: https://github.com/DevExpress/testcafe-examples. Please add your ideas to https://github.com/DevExpress/testcafe-examples/issues/2.


User token auth

Coverage increased (+2.65%) to 85.0% when pulling f2c8a21401e035b6791290d65c5dcb1001e121a0 on user-token-auth into 31500aa016d2adf9359e6de592eb699511931916 on master.


”Gold solution code“

Hi! Thanks for your work! I’m encountering an issue and would like to know why the compiled_solution.py file, which contains the gold solution code, is missing from the data I downloaded. How can I obtain the gold solution code?

Sorry, I just saw the answer to this question in Readme.


How to use .Net Native with regular C# console app?

The docs are unclear...

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

ID: 1bdee785-1d27-e642-f93c-744777d0fc13
Version Independent ID: b4201e2b-9979-6c48-b58b-df3f7d79b818
Content: Getting Started with .NET Native
Content Source: docs/framework/net-native/getting-started-with-net-native.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

The documentation doesn't mention C# console apps because they're not supported, @beppe9000. As the first step of the article notes, you begin with a UWP app that targets Windows 10.
I'll close this issue, but if you disagree, @beppe9000, feel free to let us know.


Puzzle_Game

yeah, I realized that it is solvable, my bad
for information: this is one of @bellesea 's club games is being directed by Slack too

Thank you for the help :)


Add apprise notifications

This adds the possibility to send notifications to various clients using caronc/apprise.
Fixes #16
@Akruidenberg Is this what you imagined?

Yep. Dit is al pretty good basic plan. Another solution would be a grafana/prometheus dashboard with alartmanager intergration. Then, we have also nice dashboard.

Yep. Dit is al pretty good basic plan. Another solution would be a grafana/prometheus dashboard with alartmanager intergration. Then, we have also nice dashboard.

Yes you are right, prometheus metrics would be nice. However this is a completely separate feature and requires more thought on what kind of metrics to report, a webserver and more. If you want this feature please create a new issue. If you have the time, you are also free to provide some info on the metrics you would like.


Repair input by ShapeMap

An error is raised when the input is a shape map using the web interface:
it seems that it doesn't parse the shape map.

Repaired


Remove greenhouse-ci bot

@cloudfoundry/toc I'm going to merge this bot removal now at @ameowlia 's request, but if any of you has concerns we can revert.


CON-1618-Update-Auth-Endpoints

https://crowncommercialservice.atlassian.net/browse/CON-1618

CI failed, will do once you have sorted out this.

Fixed issue. The code climate fail (because of -0.2%) is because of the new authorization changes I've made, which has changed a 401 response to a 404, (as seen in the files changed). This is necessary for this ticket


Set  elements to display:list-item

The disclosure triangle of <summary> blocks does not show in Firefox when it is set to display:block; According to the bugzilla report (linked below), this is the expected behavior. Therefore it's default setting should be set as display:list-item (CC @silverwind).
References:

https://gist.github.com/ericclemmons/b146fe5da72ca1f706b2ef72a20ac39d
https://bugzilla.mozilla.org/show_bug.cgi?id=1283989
https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements

I think this is more of an GitHub bug than anything, they explicitely set summary {display:block} which causes the incorrect rendering on Firefox.

If you look at GitHub's current css source, they are using:
/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */

Ah, didn't realize that display: block is happening in normalize.css, so it's a valid issue indeed!

Thanks for letting me know, and also for the link in the spec. I’ll take care of this as soon as I can validate this in a test. Looks like the new display property will work just fine per https://developer.mozilla.org/en-US/docs/Web/CSS/display#compat-desktop (but again, testing to be sure)

Implementation status:
Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1283989
Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=590014
Browser “Last 2” test results: https://app.crossbrowsertesting.com/public/i76b092cd2b52b86/screenshots/z344607e8fe6c4982ab8
Pull Request:
https://github.com/necolas/normalize.css/pull/606

Odd... the internal Firefox stylesheet (resource://gre-resources/html.css) sets summary with a display:block initially. But if it is wrapped inside a <details> element, this definition applies:
details > summary::-moz-list-bullet {
  list-style-type: disclosure-closed;
  /* Prevent elements in summary being selected when clicking on the triangle. */
  -moz-user-select: none;
}

details[open] > summary::-moz-list-bullet {
  list-style-type: disclosure-open;
}

The UA sheet looks alright for me in Firefox 49. The pref was flipped on in 49, resulting in display:list-item for details > summary, and display: block for standalone summary, presumably for compatibilty reasons.
summary {
  display: block;
}

@supports -moz-bool-pref("dom.details_element.enabled") {
  details > summary:first-of-type,
  details > summary:-moz-native-anonymous {
    display: list-item;
  }
}

<details> and <summary> will ship in Firefox 49 so the stylesheet before this version is outdated.

This is also live in v5.0.0 which has been tagged and published to npm as normalize.css.


Run test server as scaffolding so npm test succeeds

Fixes #2, fixes #3, fixes #4.

I'm going to squash these commits into something more understandable, then I'll request review.

@amcgee review please!


fix: Trigger release for adding ec2:DescribeInstanceTypes patched in #192

Description

Trigger release for adding ec2:DescribeInstanceTypes patched in #192; simple comma "no-op" additions were added to ensure change set triggers release workflow

Motivation and Context

The title was malformed in #192 which means that the release process was not executed properly (ignored). This is just a simple no-op process to trigger a release for that change
Closes #195

Breaking Changes

No

How Has This Been Tested?

[ ] I have tested and validated these changes using one or more of the provided examples/* projects

This PR is included in version 4.13.2 :tada:


Domain Verification - Change to opt-in

Description
I think we should consider switching to a default off state for the domain verification and suffix feature ZITADEL has. I see multiple reasons for this:

Easier for self-hoster since it enables them to use any username out of the box
Easier onboarding in ZITADEL Cloud
If a customer wants to verify its domain the feature can be enabled later on

Questions

What happens when the settings are turned on later?
Should we allow to move users between orgs?

Acceptance criteria

[ ] Default Off - Username must contain Org domain
[ ] Default Off - Validate Org domains
[ ] Disable the "domains" tab when the settings are off to reduce confusion

@mffap @livio-a @peintnermax @juergrinaldi what do you think of this?

I'd also like to see this disabled per default.. 👍

Sounds good. We should however also look at the email templates:
Either give an option to configure your own #4143 or make sure that the email templates are not confusing (eg, showing the technical domain name, instead of the username). @juergrinaldi I think we already have an issue for the Customer Portal.

I think the templates just rely on the logonname which should be fine, right @livio-a

@mffap do you mean this issue? https://github.com/caos/customer-portal/issues/524 (not sure, if I should cross link or not)
it adresses this is issue just somewhat. But I mentioned it in my docs for login flow improvements and @hifabienne commented about it.
omg. i can't upvote this enough. getting rid of the suffix completely (for the user) is a big deal imo. we just have to make sure that a "normal" user isn't confronted with that at all.

@livio-a and I will talk about this later today and document the conclusion

Concept Changes
To make for a better UX we change the default username behaviour to allow creating user in organization with any mail based username.
Action Items

[ ] Define new scope urn:zitadel.iam:org:{id} to allow invocation of orgid based auth request
[ ] Update login to work with the new scope (the full username should me made ready as input field)
[ ] Verify that the claims urn:zitadel:iam:user.resourceowner:{id},  urn:zitadel:iam:user.resourceowner:{name},  urn:zitadel:iam:user.resourceowner:{primary_domain} are filled with the new scope
[ ] Change the default of "Username must contain Org domain" to OFF
[ ] Make sure that the register uses the email as default username
[ ] Update documentation settings as well as scopes and claims

Future work

[ ] Create a new username policy which allows and admin to set a schema for the usernames in its organization (see also this discussion https://github.com/zitadel/zitadel/discussions/3956)
[ ] We need to define what happens when "Username policy" is enabled or disabled with existing users
[ ] We should consider a way of migrating user between organizations

relates to https://github.com/zitadel/zitadel/issues/1648

@livio-a does start the work here

@hifabienne


flutter:scrollIntoView not working

Hello,
I am trying to scroll on a mobile flutter app, to a specific button, to be able to tap on it.
Using python 3.10, Appium v2.0.0-beta.71<EMAIL_ADDRESS>
I am using the following code, where 'keyValueString' is the key of the button:

self.driver.execute_script('flutter:scrollIntoView', {     'finderType': 'ByValueKey',     'keyValueString': key,     'alignment': 0.5, })
I receive this error:
"error: Cannot read properties of undefined (reading 'alignment')")
payload    = ('{"value":{"error":"unknown error","message":"An unknown server-side error '
'occurred while processing the command. Original error: Cannot read '
'properties of undefined (reading 'alignment')","stacktrace":"UnknownError: '
'An unknown server-side error occurred while processing the command. Original '
"error: Cannot read properties of undefined (reading 'alignment')\n    at "
'getResponseForW3CError '
and this is the log from Appium:
HTTP] --> POST /session/68d2391d-37ab-4dfd-ab15-97d853eeb269/execute/sync
[HTTP] {"script":"flutter:scrollIntoView","args":[{"finderType":"ByValueKey","keyValueString":"GuestWifi_settings_button_Copy_Password","alignment":0.5}]}
[debug] [FlutterDriver@e821 (68d2391d)] Calling AppiumDriver.execute() with args: ["flutter:scrollIntoView",[{"finderType":"ByValueKey","keyValueString":"GuestWifi_settings_button_Copy_Password","alignment":0.5}],"68d2391d-37ab-4dfd-ab15-97d853eeb269"]
[debug] [FlutterDriver] Executing Flutter driver command 'execute'
[debug] [FlutterDriver@e821 (68d2391d)] Encountered internal error running command: TypeError: Cannot read properties of undefined (reading 'alignment')
[debug] [FlutterDriver@e821 (68d2391d)]     at scrollIntoView (/Users/devolo/.appium/node_modules/appium-flutter-driver/lib/commands/execute/scroll.ts:212:11)
[debug] [FlutterDriver@e821 (68d2391d)]     at FlutterDriver.execute (/Users/devolo/.appium/node_modules/appium-flutter-driver/lib/commands/execute.ts:60:28)
[debug] [FlutterDriver@e821 (68d2391d)]     at commandExecutor (/Users/devolo/node_modules/@appium/base-driver/lib/basedriver/driver.ts:107:18)
[debug] [FlutterDriver@e821 (68d2391d)]     at /Users/devolo/node_modules/async-lock/lib/index.js:171:12
[debug] [FlutterDriver@e821 (68d2391d)]     at AsyncLock._promiseTry (/Users/devolo/node_modules/async-lock/lib/index.js:304:31)
[debug] [FlutterDriver@e821 (68d2391d)]     at exec (/Users/devolo/node_modules/async-lock/lib/index.js:170:9)
[debug] [FlutterDriver@e821 (68d2391d)]     at AsyncLock.acquire (/Users/devolo/node_modules/async-lock/lib/index.js:187:3)
[debug] [FlutterDriver@e821 (68d2391d)]     at FlutterDriver.executeCommand (/Users/devolo/node_modules/@appium/base-driver/lib/basedriver/driver.ts:123:39)
[debug] [FlutterDriver@e821 (68d2391d)]     at runMicrotasks ()
[debug] [FlutterDriver@e821 (68d2391d)]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[debug] [FlutterDriver@e821 (68d2391d)]     at FlutterDriver.executeCommand (/Users/devolo/.appium/node_modules/appium-flutter-driver/lib/driver.ts:167:16)
[debug] [FlutterDriver@e821 (68d2391d)]     at defaultBehavior (/usr/local/lib/node_modules/appium/lib/appium.js:684:14)
[debug] [FlutterDriver@e821 (68d2391d)]     at AppiumDriver.executeWrappedCommand (/usr/local/lib/node_modules/appium/lib/appium.js:774:16)
[debug] [FlutterDriver@e821 (68d2391d)]     at AppiumDriver.executeCommand (/usr/local/lib/node_modules/appium/lib/appium.js:696:17)
[debug] [FlutterDriver@e821 (68d2391d)]     at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/protocol.js:393:19)
[HTTP] <-- POST /session/68d2391d-37ab-4dfd-ab15-97d853eeb269/execute/sync 500 3 ms - 614
[HTTP]

I don't using python but I think it must {'alignment': 0.5}

Yes, it should be without the comma. But still, the error I receive is the same.

Could below work?
button_finder = finder.by_value_key("GuestWifi_settings_button_Copy_Password")
self.driver.execute_script('flutter:scrollIntoView',  button_finder, {'alignment': 0.5 })

@KazuCocoa
I tried the following codes in Java it doesn't seem to work  if the element is not in the current view of the screen at all
** Code 1 **
Map<String, Object> params = new HashMap<>();
params.put("alignment", 0.5);
driver.executeScript("flutter:scrollIntoView", this.finder.byValueKey("item_12") , params);
** End of Code 1 **
And this code too
** Code 2 **
driver.executeScript("flutter:scroll", this.finder.byValueKey("item_12"), new HashMap<String, Object>() {{
put("dx", 90);
put("dy", -400);
put("durationMilliseconds", 300);
put("frequency", 30);
}});
** End of Code 2**


Need help: multiple problems after upgrade to 4.2 (Windows 10)

Q
A

Issue Type
Question

Deployer Version
4.2.1

Local Machine OS
Windows 10

Remote Machine OS
Ubuntu 16.04

Description
This is probably not a bug, just I am misunderstanding something. Upgraded Deployer from 3 to 4.2.1, did everything mentioned here: https://github.com/deployphp/deployer/blob/master/UPGRADE.md
When I try to deploy with phpseclib, everything seems fine except upload() not working anymore. It says Ok in the output, but files aren't really uploaded.
Then I tried native ssh_type, and error happened:

[RuntimeException]
There already is a directory (not symlink) named "current" in ~/www/project. Remove this directory so it can be replaced with a symlink for atomic deployments.

I checked: there is symlink "current", it's not a directory. Anyway, I removed it. Next error I saw was

mkdir: cannot create directory ‘.dep’: File exists.

I deleted it. Next errors were:

mkdir: cannot create directory ‘releases’: File exists
mkdir: cannot create directory ‘shared’: File exists

Deleted both. Next error:

touch: cannot touch '/deploy_path_here/.dep/deploy.lock': No such file or directory

And I am really don't know what to do. Already digging there for 2 hours with no luck. I wish if upload() just worked as with v3.

Found why upload() didn't work. The same problem as in https://github.com/deployphp/deployer/issues/907: if deploy_path is started with ~, no files were uploaded. I changed it to absolute path and everything works now.
Probably issue can be closed, but I'm still a bit curious why there were errors with native.

Fixed in master


🐛 BUG: reported url differs between production and local

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.3.0
What version of Node are you using?
No response
What operating system are you using?
Mac
Describe the Bug
I have some workers routes defined in my wrangler.toml that work in production:
routes = [
    { pattern = "*/send", zone_id = "[id]" },
    { pattern = "*/login", zone_id = "[id]" },
    { pattern = "*/services", zone_id = "[id]" },
]

when I hit the /services endpoint and print the url (using Hono via c.req.url) I correctly get https://foo.com/services when it's deployed to Cloudflare.
Locally though, with wrangler dev , I get http://send/services - it seems to be using the first route as the hostname, which is incorrect.
If I comment out the routes in wrangler.toml the URL shown is correct - http://<IP_ADDRESS>:8787/services so it seems to be related to the wildcard route definitions.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

This is expected behaviour—locally we try to infer the hostname to give to your worker from your defined routes. If you'd like to override the value of request.url (c.req.url in Hono) locally, you can add a dev section to your wrangler.toml file:
[dev]
host = "localhost:8787"

@penalosa are you sure this is expected behaviour? The route doesn't include a host, so instead the pathname is inferred as the host – which I don't think any user would expect

Agree with @RamIdeas this is very unexpected - I could understand if the hostname was undefined but to use a different (unrelated) route as the hostname seems strange. Unless I'm missing some logic about why this should be done?

The problem is in this function getHostFromUrl inferring the hostname incorrectly from the route pattern.
Instead, we should realise there's no way to infer a hostname from this kind of pattern and default to 'localhost'
https://github.com/cloudflare/workers-sdk/blob/c404ff6791d48005cba2ee3555c4f1b23d47d161/packages/wrangler/src/zones.ts#L67-L75


Update availability-zones.md

In a discussion via email with Jorge Palma, it was clarified that if we add an additional NodePool with AvZones in an AKS Cluster that was previously created without AvZones, the Control Plane will be "converted" to AvZones.
Email thread available on the alias<EMAIL_ADDRESS>

Learn Build status updates of commit 1e0086d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/aks/availability-zones.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@mgoedtel
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@renatopagan - Because you're a Microsoft employee, you should create this PR against the azure-docs-pr private repo, and not the public repo. This process is for end-users of our products/services who want to help our documentation buy submitting a PR with proposed changes. Please close this PR and create a new one against the private repo and apply my recommended changes to enable me to approve and sign-off on the changes. Thanks!

@MGoedtel - The contributor didn't open a new PR in the private repo. But I've committed your suggestions to the PR, per approval from @renatopagan. Do you want to sign off here to get the content merged? Or do you want to see further changes, perhaps in the private repo?

#please-close


[Discussion] Should cloud test utilities be in this repo?

I'm thinking to upload our testing libraries to packagist. I'm thinking to have a namespace Google/Cloud/TestUtils or something.
The library is now in one of our repo:
https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/testing
GaeApp.php represents App Engine application, you can do something like:
$gaeApp = new GaeApp('project_id', 'version_id');
$gaeApp->run(); // Run devappserver
$gaeApp->deploy(); // Deploy to the cloud
$gaeApp->getLocalBaseUrl(); // returns a base URL of the devserver
$gaeApp->getBaseUrl(); // returns a base URL of deployed app

LocalTestTrait.php and E2EDeploymentTrait.php allows you to easily write e2e tests for your app (examples; 1, 2).
I'd like to ask you guys. Do you think this library should be in this repo? or should I create a new repo?
Thanks!

@jgeewax WDYT?
This is a testing library that allows you to easily write e2e tests for your App Engine application.

Hey @tmatsuo!
I see the benefit of having the code live here being that developers will be able to easily find and use the code when they need it. On the downside, it is only helpful to a subset of users who may need the library (those running their code on app engine).
My initial reaction is to place this code in a separate repository - but only as long as we make it easy to find. We could make sure to list this and other potential additions in an 'additional tools and resources' section in our documentation. What do you think?

Yeah that's my thought too. Also the test utility is almost always in the dev dependency. I think we should have separate packagist entries.
My current plan is here:
Repo: GoogleCloudPlatform/php-testutils
Namespace: Google/Cloud/TestUtils
Packagist: google/cloud-testutils
Sounds good? Our namespaces share the base part, so you won't be able to have sub directory TestUtils in the future, I don't see it's a problem though.

Sounds like a solid plan to me. 👍

That sounds like a good plan. Curious about the repo name... Is that following any of the patterns we have today ? Will we have test utils for other languages ? Would it make sense to swap the order ? (testutils-php)?
No objections either way, just raising the idea.

Also, can we put .gitignore or something in the tests to make sure that no one accidentally adds a directory called that ?

@jgeewax .gitignore, That's a good idea :)

Gonna weigh in here -
I don't like the idea of us creating an individual package / repository for a single testing tool. What is the advantage of doing this? It seems like we are throwing an additional ball in the air to juggle.
These testing tools are specific to google cloud, as is this library. They aren't specific to AppEngine, since "testutils" is generic and would eventually encompass tools for deploying to compute engine and/or any other cloud product.
Seems like over-fragmentation without a strong reason.

What is the advantage of doing this?

You can do like:
composer.json
{
    "require": {
        "google/cloud": "^0.2"
    },
    "require-dev": {
        "google/cloud-testutils": "~6.0"
    }
}

The test utilities are not needed for all the users of gcloud-php.

@tmatsuo that's true, but that seems like more an issue with composer not allowing multiple packages in a repo than a reason for us to split it out...

Yes, that's one issue with Composer, but that's not a good reason to add unnecessary files to this package. What's your concern to have another repo? Maintenance burden? Something else?

Ok, we will likely have another repo. Thanks for the discussion.


Dev-gavin4-851

UI - Cleaned up syntax in HomeController.java, specifically changed @RequestMapping to @GetMapping and removed unused parameters from methods. Also made a @GetMapping change in GroupingRestController.java on line 214.

Some issues to review

line 50, messages.properties: spacing around "=" is not consistent with the rest.  Might want to put it back the way it was.
lines 1428, 1689, general.controller.js: best not to promoted commented-out code to the master branch.

Cool. There are some merge conflict markers still in there, though. You need to remove them.  The style in there before was a bit off from our project style, which is why there were a lot more differences in the commit than the actually code changes you made. So... If you maintain the one style item where the previous committer aligned method parameters, you'd probably have less merge conflicts. Changing the style back to our project style is okay, too, though.
Also, those things Michael noted.


Introduce graded-lexical order for monomial

Split from #143

This cannot sort user input in desired order. This feature serves no purpose.


Support envoy track_remaining

Please describe your use case / problem.
Envoy metrics currently trackable are - https://www.envoyproxy.io/docs/envoy/latest/configuration/upstream/cluster_manager/cluster_stats#circuit-breakers-statistics
except for remaining_*
which can be enabled through setting track_remaining
This currently does not seem to be configurable through Ambassador
Describe the solution you'd like
Similar to other circuit breaking configurations, allow configuring this as well
Describe alternatives you've considered
There does not seem to be alternatives to this?

Thanks for this suggestion.  Would you be interested in contributing and possibly submitting a PR for this?

Surely :)
Could you point me to a few code pointers which might help me get started?

what's the ETA for that?

@LanceEa I'd like to tackle this one

@owayss - It was great meeting you at ContribFest yesterday. Let me know if you are still interested in contributing and we can help get the dev tooling sorted out by connecting with us in our Slack #emissary-dev channel


Dependency Fixes aren't reflected in the Explorer

The Dep icon doesn't disappear unless the broken resource is deleted

Potentially can make the DependencyService handle UPDATE entity events.  When it gets an update event on a doc it can check the broken deps for that doc and if they don't match what is held in BrokenDependenciesCache then fire a UPDATE_EXPLORER_NODE event to trigger a tree rebuild.


Dragging Ghost missing the first time on Firefox

The first a card from the deck or sideboard is dragged in Firefox, the ghost does not appear.
So far the only lead I have is that a "transform: translateY(0px)" style is applied on drag - I guess by vuedraggable - and that it may mess with Firefox.

In the gif the card is dragged left and right for the first time since its instantiation: No visible ghost. The second time the ghost works just fine.

I'm having trouble reproducing this on Firefox desktop (version 80.0.1).
The first time I drag any card (and any subsequent times), the placeholder ghost shows up just fine as expected.

I should have specified: This happens in the card pool component (Deck & Sideboard)

I run again into this on Firefox 84.0.

I run again into this on Firefox 84.0.

I run again into this on Firefox 84.0.

Any idea @Senryoku? Did you fix this issue in November or did you maybe closed this on mistake?
I'm using Firefox 84.0.2 in between with the issue still exists on the current deployment.

I run again into this on Firefox 84.0.

Any idea @Senryoku? Did you fix this issue in November or did you maybe closed this on mistake?
I'm using Firefox 84.0.2 in between with the issue still exists on the current deployment.

I don't have the issue anymore using the exact same version of Firefox, on idea what's going on here =/

I don't have the issue anymore using the exact same version of Firefox, on idea what's going on here =/


Bug during training

The data set I use is nyu depth v2. I encountered the same error with both depthformer（depthformer_swinl_22k_w7_nyu.py） and binsformer（binsformer_swinl_22k_w7_nyu.py）. My execution command is
python /home/data1/jmh/Depth_Estimation/Monocular-Depth-Estimation-Toolbox-main/tools/train.py /home/data1/jmh/Depth_Estimation/Monocular-Depth-Estimation-Toolbox-main/configs/binsformer/binsformer_swinl_22k_w7_nyu.py --gpu-ids 2
cuda:11.1 torch:1.8.0 torchvision:0.9.0 python:3.7.16

This error will appear when I use dual card training. Why does this happen?

It could be sort of weird. I guess it is a Pytorch bug. Maybe you should try solutions on google.


Description of usage of  element is missing

Issue description
Please add the info on how to use the  element as per apigee docu: https://docs.apigee.com/api-platform/reference/policies/access-control-policy#validatebasedon
I've tested and can confirm that APIM is capable of processing this element to control which IP addresses are evaluated.
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Access Control
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/integration-suite/sap-integration-suite/access-control?version=CLOUD&q=access control

Hi @daniil-bolobonov, Thank you for your feedback! We’ll look into it and come back to you if we have any questions.

Hi @daniil-bolobonov,
I have added the  element in the Integration Suite user guide. Please see:
https://help.sap.com/docs/integration-suite/sap-integration-suite/access-control?version=CLOUD&q=access control
Thanks,
Kasturi

Hi @Kakabira,
Thank you for adding this info. Just one correction: as per my tests the default value of ValidateBasedOn element is X_FORWARDED_FOR_FIRST_IP. This is also mentioned in the note above.

Kind regards,
Daniil

Hi @daniil-bolobonov,
I have updated the default value. Please see,
https://help.sap.com/docs/integration-suite/sap-integration-suite/access-control?version=CLOUD
Thanks,
Kasturi


⚠ Bofrost.fr has degraded performance

In d5176d6, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1047 ms

Resolved: Bofrost.fr performance has improved in 55d9eb1 after 9 minutes.


Improve temporal stability of masked image

The masked image is often quite unstable in regards to the flow of time. While certain details may appear in one frame they might be gone in the next frame. This is in particular distracting if this affects part of the body or face (not necessarily the borders).
Maybe decrease the likelyhood of a pixel being removed from the mask on the amount of pixels that changed mask membership in their neighborhood: I.e. the more pixels in an area suddently change membership, the less likely it is that the whole area should be removed.

I have two ideas for solving this (which are non-exclusive):

use a weighted moving average over the last n frames
use a outline/hull function to close "holes" inside the silhouette

Will probably try to implement this soon-ish (exam period ATM). Pull requests welcome, of course :-)

I have two ideas for solving this (which are non-exclusive):

use a weighted moving average over the last n frames
use a outline/hull function to close "holes" inside the silhouette

Will probably try to implement this soon-ish (exam period ATM). Pull requests welcome, of course :-)

The days when I had image processing in university are unfortunately quite a few years back …
For the weighted average: Combine with gamma correction of likelyhood detection by the NN. With the hard segmentation (softmax) only after the averaging …
Both seem reasonable although my gut feeling suggests the first option may be more promising when trying to avoid the flicker of the misdetections.
P.S.: Good luck with your exams.

The days when I had image processing in university are unfortunately quite a few years back …
For the weighted average: Combine with gamma correction of likelyhood detection by the NN. With the hard segmentation (softmax) only after the averaging …
Both seem reasonable although my gut feeling suggests the first option may be more promising when trying to avoid the flicker of the misdetections.
P.S.: Good luck with your exams.

Seems related to #29 with the segm models?

Seems related to #29 with the segm models?

Similar, but not quite. This issue is for WHEN the model segments a proper image that it sometimes (for only a few frames) removes large portions of the segmentation.
#29 is primarily about the model not segmenting correctly in the first place.
With #29 resolved you'd get a proper image, which still might flicker from time to time.
With this image result, you might not get the proper image, but the part it shows is consistent over time.

Similar, but not quite. This issue is for WHEN the model segments a proper image that it sometimes (for only a few frames) removes large portions of the segmentation.
#29 is primarily about the model not segmenting correctly in the first place.
With #29 resolved you'd get a proper image, which still might flicker from time to time.
With this image result, you might not get the proper image, but the part it shows is consistent over time.

WMA was pretty straightforward to implement and does look noticeably better, IMHO.

WMA was pretty straightforward to implement and does look noticeably better, IMHO.


while (true) -> while(window.HOWLER.current.playing())

Constant condition will be controlled via redux sate. delay effect is the way to go tho
So no audio, no running sagas ላሽ ላሽ

Generators, generators everywhere


Support gRPC cancellation

Currently, Armeria gRPC implementation does not support cancellation at the gRPC level.
https://github.com/grpc/grpc-java/blob/1d6f1f1b4251191bddb9d6605fc8f8152275b6b7/examples/src/main/java/io/grpc/examples/cancellation/CancellationClient.java#L57
When a call is canceled, the upstream sends RST_FRAME. We can make the same effect by calling RequestContext.cancel().
It sounds easy but the implementation on the client side could be tricky. On the call path, ClientInterceptor is called first, and then ArmeriaChannel is called.
As ClientRequestContext is created in ArmeriaChannel, ClientRequestContext is inaccessible in ClientInterceptor. So our aim to call 'RequestContext.cancel()' is not feasible.
The idea I came up with is to add a ClientInterceptor in the GrpcClientBuilder that gets executed first. The interceptor registers a CancellationListener to CancellationContext. The reference of the registered CancellationListener should be also added to CallOptions so that we can update ClientRequestContext to the reference in ArmeriaChannel.newCall().
static CallOptions.Key<CancellationHandler> KEY = CallOptions.Key.create(CancellationHandler.class.getName());

class CancellableClientInterceptor {
    ...
    @Override
    public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
           MethodDescriptor<ReqT, RespT> method, CallOptions callOptions,
           Channel next) {
       // CancellationHandler will defer the cancellation until `ClientRequestContext` to this.
       final CancellationHandler handler = new CancellationHandler();
       // KEY will be used in ArmeriaChannel.newCall() to get `handler`
       callOptions = callOptions.withOption(KEY, handler);
       final CancellableContext context = Context.current().withCancellation();
       context.addListener(handler, MoreExecutors.directExecutor());
       Context previous = context.attach();
       try {
           return next.newCall(method, callOptions);
       } finally {
           context.detach(previous);
       }
   }
}

Hi, @ikhoon ~
I understand that this issue requirement is To call RequestContext.cancel() when gRPC level cancellation occurs.
Thank you for sharing your idea and implementation outline.
I'm not completely sure the following implementation and how this handler can access to ClientRequestContext.
       // CancellationHandler will defer the cancellation until `ClientRequestContext` to this.
       final CancellationHandler handler = new CancellationHandler();

Do you have your idea about this already?
If so, it would be helpful if you could share.

We can set ClientRequestContext to CancellationHandler in the following method.
https://github.com/line/armeria/blob/cc0509adaad6bbc37df2b3d749ddf0cb36a8ee2a/grpc/src/main/java/com/linecorp/armeria/internal/client/grpc/ArmeriaChannel.java#L140
CancellationHandler invokes ClientRequestContext.cancel() when it is set if CancellationListener.cancelled() was called before.
By the way, this issue is labeled with sprint so a sprint member is scheduled to work on this. 😅 How about looking for another issue?

Oh! Got it.
I'm sorry for misunderstanding of this labeling system.
Thank you for sharing your idea.


image import?

hi trying all the wonderful blockly variations! I see a green gnome animating but cant find where to add my own graphics? also being z80, will this be exported to other systems (collecovision?) keep on gaming!

You can look at the "Backgrounds" tab or the "Portraits" tab:

i see! OK ill check for future updates. Another game maker
https://jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer
also output to dif 8bit consoles, maybe you guys can collab! Be well.

Looks pretty good. 👍


JupyterHub and JupyterLab integration

We should be able to kick off a LiberTEM GUI session from JupyterHub and JupyterLab.

[ ] Infrastructure on LiberTEM side

[ ] Merge #1074
[ ] move libertem-jupyter-proxy repository to LiberTEM organization
[ ] polish & publish libertem-jupyter-proxy on PyPI (as a MVP - probably won't need the full CI/CD setup we usually have)

[ ] Configuration files / instructions / documentation for integration
[ ] If applicable, upstream sth to JupyterHub / JupyterLab / other platforms where settings can be downloaded from to make set-up easy for users.

Builds on preliminary work from @sk1p : https://github.com/sk1p/libertem-jupyter-proxy

This almost works now, with the latest updates in the above mentioned libertem-jupyter-proxy package. Outside of jupyterhub, with a local notebook server, it spawns the libertem-server process and is usable.
But when running under jupyterhub, the service worker that is created as part of create-react-app springs into action. When loading the manifest.json file, it doesn't include credentials, but jupyterhub always needs credentials, even for "static" requests (because it doesn't do any differentiation at all between the requests!).
As we are not using the service worker anyways, I'll patch it out and try if that fixes all issues.

Configuration files / instructions / documentation for integration

For this one, I think most important is documenting how to install LiberTEM in a Python environment that is separate from the jupyterhub one, and setting the correct path in the libertem-jupyter-proxy config. Then, a little bit of user documentation (screnshot) on how to start from the "New" dropdown should be enough.


add ability to specify an external id for assumed role for k8

From the AWS documentation.
A cross-account role is usually set up to trust everyone in an account.
Therefore, the administrator of the trusting account might send an external
ID to the administrator of the trusted account. That way, only someone with
the ID can assume the role, rather than everyone in the account.

❤ thank you 👍


Support tiled read

I am reading EXR files containing depth data from a third party software which uses tiled formats, whose output is not customizable in any way.
In fact, what I am currently trying to do is to read the files generated by this software and, among other things, convert them to scanline images.
I cannot think of alternative options except using direct native calls (or even a different programming languages).
file format version: 2, flags 0x200
channels (type chlist):
    Z, 32-bit floating-point, sampling 1 1
compression (type compression): pxr24
dataWindow (type box2i): (0 0) - (1919 1279)
displayWindow (type box2i): (0 0) - (1919 1279)
exif (type blob)
lineOrder (type lineOrder): increasing y
pixelAspectRatio (type float): 1
screenWindowCenter (type v2f): (0 0)
screenWindowWidth (type float): 1
tiles (type tiledesc):
    single level
    tile size 128 by 128 pixels
type (type string): "tiledimage"

I am not concerned about generating tiled images, just reading from them.
I am not concerned about MIPs and RIPs.

Never mind, it does appear that I can actually read tiled images just fine :)


Documentation for Smallest Prime Factor of any number

📚 Documentation
(A clear and concise description of what the issue is.)
Have you read the Contributing Guidelines on Pull Requests?
YES

@iamrajiv  kindly assign to me under gssoc21

/assign


Security Research A06-A10 of https://owasp.org/www-project-top-ten/ and come up with a step-by-step documentation for best security practices.

This is a research for a step-by-step security practice that we could use for the app.

Security Practice Documentation.pdf


Add more detail on Input/Output description

Rather than saying that it is unspecified, I would prefer there is additional explanation of the (unexpressed) relationship between IS-11 Inputs and IS-04 Sources, with examples of one Input being related to multiple Sources (and thus Senders, of course) and of multiple Inputs contributing to one Source and/or (potentially also via the existing IS-04 parents mechanism) a Sender.

found https://specs.amwa.tv/is-04/releases/v1.3.1/APIs/schemas/with-refs/source_generic.html which states that a Source can originate multiple formats (video+audio).

I don't think that says what you think. I believe it is just that the source_generic.json schema is used to validate both video and mux sources, whereas data and audio sources both have a format-specific parameter (see source_data.json and source_audio.json).

I think you could have one video+audio Input associated with one mux Source, and then a video Source and an audio Source both of which have the mux Source in their parents.

I think you could have one video+audio Input associated with one mux Source, and then a video Source and an audio Source both of which have the mux Source in their parents.

At this time Source and Flow can only have parents of their own type (a number of parent Sources for a Source, a number of parent Flows for a Flow).  Currently there is no method for associating a Source to an IS-11 Input. I think this is not in the IS-11 mandate right now. A possible future solution would be to have a tags "parent_input" on a Source that identifies the IS-11 Input ID. The "mux" source of the quoted example could refer to a parent IS-11 Input that way. But I think that the "mux" source is not required and that both the audio and video Source could have the same IS-11 Input as an parent_input. Multiple Sources could refer to the same IS-11 Input as a parent_input.

2022/02/21 meeting: we're closing it with undefined relationship between Inputs and Senders but it's a task for the future to decide whether we need to tackle it in IS-11.


The idea of raising the price of coins

Hello!
Please consider my idea, thank you in advance!
I wrote you a letter<EMAIL_ADDRESS>. Look for a letter from<EMAIL_ADDRESS>

@snicksand someone from the team will read it, thanks.
You can send the copy to<EMAIL_ADDRESS>too.


Dependencies problem

Hi, I am trying to use your library in PlayFramework 2.3 and it is not working because addSbtPlugin("au.com.ecetera.sbt" % "sbt-web-s3" % "0.1.0-SNAPSHOT") is not resolved. Didnt you change a version ????

Hi biokys,
Yes I have changed the version number, I have not updated the doco yet, I'll do that now. Also I've not published this yet to a repo (so you have to build it yourself for now) as I need to write some tests before I call it a real release.
That said it does work. I've used it multiple times in the last week to upload static angular webapps to S3 :-)
I'll let you know when the new version of the docs have been pushed.
Thanks for the feedback,

Hi biokys,
I've updated the README  to reflect the current version and added more detail about the new tasks (eg s3wsSync and s3wsDeleteWhat) and the important new setting s3wsPrefix.
Please try again I'm sure it'll work for you now. Any questions please ask.
Cheers
Karl

Don't I need to add any dependency resolvers???
Error:Error while importing SBT project:
...
at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1192)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: au.com.ecetera.sbt#sbt-web-s3;0.2.1-SNAPSHOT: not found
Invalid response.
See complete log in /Users/muller/Library/Logs/IntelliJIdea14/sbt.last.log

As mentioned at the top of the README this plugin is not ready for production yet... the main reason is that I've not deployed it anywhere yet... so no resolver would work.
Instead for now if you want to try it you should build it locally and publish it to you local ivy repository (which is automatically searched by sbt)
follow the instructions at the end of the README ie checkit out from github then
cd to into the directory that was created eg sbt-web-s3 and type :- make
that is equivilant to running
$ ./sbt

publishLocal

I intend to write a few tests this easter holiday, then I'll publish it to a real repository for general use.
hope that helps


Character (idea) generator

Given a set of args (or selected randomly) create character ideas, such as 'gnomish illusionist'. Maybe add name and background

%idea
output
Male Gnome Noble Bigby Goldtooth the Wizard (Illusionist)
?


Remove closing  tag causing layout bug

https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/nf-ntddk-iocreatefileex
https://ceapex.visualstudio.com/Engineering/_workitems/edit/308157
See right hand section of the page. This is likely caused by a malformed markdown snippet, which contains a closing div tag.

Thanks guys!


Circle Type: Splitter

A type of circle that, after colliding with a bullet, splits into multiple smaller circles (or there's a random chance of this happening).

Commit: https://github.com/johneastman/circles/commit/f6673008875944e634395796bbb00f1a301c2a9e


[$500]  Attachments - File previews have infinite loading sign and can't uploaded via Google Drive

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open and log into staging.new.expensify.com
Open any chat conversation, click "+" in the compose cox and click "Add attachment"
Navigate to Drive and select any file to upload

Expected Result:
File preview loads correct and file can be uploaded
Infinite loading sign is shown after picking desired file and can not be uploaded
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.65-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/32943014-8717-49d5-9191-fc4a0278dcae
https://github.com/Expensify/App/assets/78819774/bf917704-76eb-44f8-9861-de66309e1419
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f4955641379a18f6
Upwork Job ID:<PHONE_NUMBER>712812544
Last Price Increase: 2023-09-12

@fedirjh I'd like your opinion on the above - since this is an unfixed bug on the chromium side is it worth it for us to try to clean it up or, because this is a known issue and it's not breaking the app should we punt?

@fedirjh thoughts on the above?

then let's close


Drawing a path results in an unexpected behavior with Impeller

Steps to reproduce
Run the following code on iOS (simulator or phyiscal device, it doesn't matter) (complete code can be found in the collapsed block later)
final legLength = size.width * 0.3;
final paint = Paint();
paint.color = const Color(0xFFFF69b4);
paint.style = PaintingStyle.stroke;
paint.strokeCap = StrokeCap.round;
paint.strokeWidth = lineWidth;

final path = Path()
  // top left
  ..moveTo(0, legLength)
  ..lineTo(0, borderRadius)
  ..arcToPoint(
    Offset(borderRadius, 0),
    radius: Radius.circular(borderRadius),
  )
  ..lineTo(legLength, 0)
  // top right
  ..moveTo(size.width - legLength, 0)
  ..lineTo(size.width - borderRadius, 0)
  ..arcToPoint(
    Offset(size.width, borderRadius),
    radius: Radius.circular(borderRadius),
  )
  ..lineTo(size.width, legLength)
  // bottom right
  ..moveTo(size.width, size.height - legLength)
  ..lineTo(size.width, size.height - borderRadius)
  ..arcToPoint(
    Offset(size.width - borderRadius, size.height),
    radius: Radius.circular(borderRadius),
  )
  ..lineTo(size.width - legLength, size.height)
  // bottom right
  ..moveTo(legLength, size.height)
  ..lineTo(borderRadius, size.height)
  ..arcToPoint(
    Offset(0, size.height - borderRadius),
    radius: Radius.circular(borderRadius),
  )
  ..lineTo(0, size.height - legLength)
  ..moveTo(0, legLength)
  ..close();

canvas.drawPath(path, paint);

Expected results
With Impeller disabled (the following code added to Info.plist)
<key>FLTEnableImpeller</key>
<false/>

Actual results
With Impeller

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
          child: _FrameSquare(
        height: 200,
        width: 200,
        borderRadius: 4,
        lineWidth: 4,
      )),
    );
  }
}

class _FrameSquare extends StatelessWidget {
  const _FrameSquare({
    required this.height,
    required this.width,
    required this.borderRadius,
    required this.lineWidth,
  });
  final double height;
  final double width;
  final double borderRadius;
  final double lineWidth;
  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomPaint(
        size: Size(width, height),
        painter: _FrameBorderPainter(
          borderRadius: borderRadius,
          lineWidth: lineWidth,
        ),
      ),
    );
  }
}

class _FrameBorderPainter extends CustomPainter {
  _FrameBorderPainter({required this.borderRadius, required this.lineWidth});
  final double borderRadius;
  final double lineWidth;
  @override
  void paint(Canvas canvas, Size size) {
    final legLength = size.width * 0.3;
    final paint = Paint();
    paint.color = const Color(0xFFFF69b4);
    paint.style = PaintingStyle.stroke;
    paint.strokeCap = StrokeCap.round;
    paint.strokeWidth = lineWidth;

    final path = Path()
      // top left
      ..moveTo(0, legLength)
      ..lineTo(0, borderRadius)
      ..arcToPoint(
        Offset(borderRadius, 0),
        radius: Radius.circular(borderRadius),
      )
      ..lineTo(legLength, 0)
      // top right
      ..moveTo(size.width - legLength, 0)
      ..lineTo(size.width - borderRadius, 0)
      ..arcToPoint(
        Offset(size.width, borderRadius),
        radius: Radius.circular(borderRadius),
      )
      ..lineTo(size.width, legLength)
      // bottom right
      ..moveTo(size.width, size.height - legLength)
      ..lineTo(size.width, size.height - borderRadius)
      ..arcToPoint(
        Offset(size.width - borderRadius, size.height),
        radius: Radius.circular(borderRadius),
      )
      ..lineTo(size.width - legLength, size.height)
      // bottom right
      ..moveTo(legLength, size.height)
      ..lineTo(borderRadius, size.height)
      ..arcToPoint(
        Offset(0, size.height - borderRadius),
        radius: Radius.circular(borderRadius),
      )
      ..lineTo(0, size.height - legLength)
      ..moveTo(0, legLength)
      ..close();

    canvas.drawPath(path, paint);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return false;
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
There are no logs

Flutter Doctor output
Doctor output
 flutter doctor -v
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.3.1 23D60 darwin-arm64, locale en-DE)
    • Flutter version 3.19.3 on channel stable at /Users/ueman/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (5 weeks ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/ueman/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] Connected device (4 available)
    • iPhone-GWTGT1UTPLJQ (mobile) • 00008030-000E4D310CD3402E            • ios            • iOS 17.4.1 21E236
    • iPhone 15 Pro Max (mobile)   • 4E4B3D83-EAA8-490B-B699-90A09831AC06 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)              • macos                                • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)                 • chrome                               • web-javascript • Google Chrome 123.0.6312.107

[✓] Network resources
    • All expected network resources are available.

• No issues found!

I could narrow it down a bit more:
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
          child: _FrameSquare(
        height: 200,
        width: 200,
        borderRadius: 4,
        lineWidth: 4,
      )),
    );
  }
}

class _FrameSquare extends StatelessWidget {
  const _FrameSquare({
    required this.height,
    required this.width,
    required this.borderRadius,
    required this.lineWidth,
  });
  final double height;
  final double width;
  final double borderRadius;
  final double lineWidth;
  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomPaint(
        size: Size(width, height),
        painter: _FrameBorderPainter(
          borderRadius: borderRadius,
          lineWidth: lineWidth,
        ),
      ),
    );
  }
}

class _FrameBorderPainter extends CustomPainter {
  _FrameBorderPainter({required this.borderRadius, required this.lineWidth});
  final double borderRadius;
  final double lineWidth;
  @override
  void paint(Canvas canvas, Size size) {
    final legLength = size.width * 0.3;
    final paint = Paint();
    paint.color = const Color(0xFFFF69b4);
    paint.style = PaintingStyle.stroke;
    paint.strokeCap = StrokeCap.round;
    paint.strokeWidth = lineWidth;

    final path = Path()
      ..moveTo(0, legLength)
      ..lineTo(0, borderRadius)
      ..arcToPoint(
        Offset(borderRadius, 0),
        radius: Radius.circular(borderRadius),
      )
      ..lineTo(legLength, 0)
      ..moveTo(0, legLength)
      ..close();

    canvas.drawPath(path, paint);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return false;
  }
}

That code results in the following images:

Impeller disabled
Impeller enabled

Thanks for the bug report. I was able to replicate this on latest stable and master versions.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (4 days ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.22.0-7.0.pre.14, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.22.0-7.0.pre.14 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 74b65d4e4c (4 hours ago), 2024-04-09 21:26:14 -0400
    • Engine revision eaf73cd39c
    • Dart version 3.5.0 (build 3.5.0-36.0.dev)
    • DevTools version 2.34.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

The reason this is happening is a bug with Path.close(). We should be ignoring the final close call which is supposed to draw a line to the path start - since this is stroke and not a fill.

So we should fix this, but in this case you don't need/shouldn't use the Path.close at the end there. Because the fix is going to be ignoring it anyway

I can confirm that the workaround works like a charm.  Thanks for that!


Parameter Sharing in NeoX

https://github.com/EleutherAI/gpt-neox/tree/t5-shared-params <- WIP implementation in this branch. Pending preliminary experiment from Adam to continue working on this

@haileyschoelkopf should I close this as abandoned?

Yup, this was for the Improved-T5 project.


Poc/add support for custom functions

Pull Request Template
Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.

Description

Add a TL;DR when description is extra long (helps content team)
Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
and context. List any dependencies that are required for this change
Links to Notion, Figma or any other documents that might be relevant to the PR

PR fixes following issue(s)
Fixes # (issue number)

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/build-deploy-preview env=release

/build-deploy-preview env=release

@rajatagrawal Custom EChart Configuration field seems to set with a validation type of Object instead of OBJECT_WITH_PURE_FUNCTION. Could you please check ?

@arunvjn I have created a new field customEChartsAdvanceConfigurations where I have used OBJECT_WITH_PURE_FUNCTION validation. Please use this app to test out the various scenarios in the DP.
Scatter Size Function-MultipleTooltips.json.zip

@arunvjn
I will be merging customEChartsAdvanceConfigurations into EChart Configuration field. I made a separate field for the purposes of POC.

@rajatagrawal  There are still some cases we need to handle
Ref- https://www.loom.com/share/bef8b0ef98f14e1fa85b8063e1a777b8?sid=06414906-d101-45be-9c7c-51c7f6b92b0c


Return the soapHeader

@srushti
We need to return the Response Soap Header (not http response headers)
So that we can get information like wsUsernameToken
thoughts?

Are client.lastResponseHeaders the http headers? This is what I'm referring to: https://github.com/TabDigital/node-soap/blob/master/lib/client.js#L177

Yeah that's right.

I know you closed the PR you accidentally raised on the original repo, but maybe you could raise an issue there at least. Explain our problem and see if they have any other solution. In the meantime this should be okay.
The :boar: says :shipit:.

@srushti yeah good point, I will reopen the PR

Closing this, since I don't think we'll be merging this ever. We'll keep the branch around however, since we're actually using it.


Added an option to custom the controller stub

Write your own controller stub file (eg. /path/to/my.stubs)  based on https://github.com/z-song/laravel-admin/blob/master/src/Console/stubs/controller.stub
Then specify your stub file when making controllers:
php artisan admin:make --model=MyModel --stub=/path/to/my.stubs MyController

Thanks!


Stormblessed: Watch Jtattoo

Stormblessed requests the watch of the watch_keyword Jtattoo. See the MS search here and the Stack Exchange search here.

Jtattoo has been seen in 1 true positive, 0 false positives, and 1 NAA.

Overlaps with #3336; will merge into that