Update documentation

The example should be updated to:
const OnClickOutside = require('react-onclickoutside').default

not under ES6 rules.

This HOC is a pure ES6 implementation as of v6.x - if you need ES5 code you can either use 5.x or below, or set up your build system so that it does ES5 conversion for you, at whatever is the most logical point in your build chain.

@Pomax actually when using require instead of import syntax .default is needed


epinio push --skip-ssl-verification crash if epinio is SSL-enabled

Describe the bug
If your epinio deployment is configure with TLS from let's encrypt and when you do epinio push --skip-ssl-verification --name APPNAME, you will get below error. Removing --skip-ssl-verification will make epinio push working again.
Question why ignore certificate is causing this issue.
....
⚠  Hit Enter to continue or Ctrl+C to abort (deployment will continue automatically in 5 seconds)

Create the application resource ...

Application exists, updating ...

Collecting the application sources ...

Uploading application code ...

Staging application with code...

🕞  Running staging

🚢  Streaming application logs
Namespace: workspace
Application: expense-mgt-dev
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x5bcae3f]

goroutine 40 [running]:
github.com/epinio/epinio/pkg/api/core/v1/client.(*Client).AppLogs(0xc000114a80, {0xc000bf0620, 0x9}, {0x7ff7bfeff62b, 0xf}, {0xc000a1ca50, 0x10}, 0x1, 0xc0001356f8)
        github.com/epinio/epinio/pkg/api/core/v1/client/apps.go:395 +0x61f
github.com/epinio/epinio/internal/cli/usercmd.(*EpinioClient).AppLogs(0xc000bd65c0, {0x7ff7bfeff62b, 0xf}, {0xc000a1ca50, 0x10}, 0x0?)
        github.com/epinio/epinio/internal/cli/usercmd/app.go:390 +0x69f
github.com/epinio/epinio/internal/cli/usercmd.(*EpinioClient).stageLogs.func1()
        github.com/epinio/epinio/internal/cli/usercmd/push.go:256 +0x4a
created by github.com/epinio/epinio/internal/cli/usercmd.(*EpinioClient).stageLogs
        github.com/epinio/epinio/internal/cli/usercmd/push.go:255 +0xef

Hint: Make sure to search through the existing issues, as they often contain important information on recent changes.
To Reproduce
Steps to reproduce the behavior, e.g.:
see above
Expected behavior
Even if LetsEncrypt certificate is configure correctly in epinio deployment, ignore ssl should cause epinio push to fail.
Logs
If applicable, add logs to help explain your problem.
You can use attachments to add a screenshot of your clusters state, e.g. from k9s.
If you paste long logs, you could also add them into a collapsed block:
<details>
<summary>Click to expand<summary>
```
pasted log
```
<details>
You can increase Epinio's logging by exporting this variable:
export TRACE_LEVEL=255

To follow the server logs you can use:
kubectl logs -n epinio -l app.kubernetes.io/name=epinio-server -c epinio-server -f
Cluster (please complete the following information):

Provider: k3d
Kubernetes Version: [e.g. 1.23]

Desktop/CLI (please complete the following information):

OS: happen in both linux and osx
Epinio Version: 1.0.0

Thanks for the report! Do not expect a feedback this week, it's a special week at SUSE (Hackweek). Talk to you next week.

This could be
>  391:         websocketURL := fmt.Sprintf("%s%s/%s?%s", c.WsURL, api.WsRoot, endpoint, queryParams.Encode())
>  392:         webSocketConn, resp, err := websocket.DefaultDialer.Dial(websocketURL, http.Header{})
>  393:         if err != nil {
>  394:                 // Report detailed error found in the server response
>  395: --->            if resp.StatusCode != http.StatusOK {
>  396:                         defer resp.Body.Close()
>  397:                         bodyBytes, errBody := ioutil.ReadAll(resp.Body)

Assuming the code did not change since the report .... Not according to
https://github.com/epinio/epinio/blame/main/pkg/api/core/v1/client/apps.go#L395
which was https://github.com/epinio/epinio/commit/4792df34f8c8e336cddcf96befa86a8825709ba6
So this could be some kind of error response from the dialer (err != nil) where the resp result is not set, i.e. nil ?!
I will create a PR which checks for resp == nil in that line. Then we can see if that was indeed the problem, and also see what the original error was.
@gitricko Are you willing to tell me what TZ you are in ?

As a side note, the crash does not happen with a local install not using LE. An LE-induced  error response seems to be required for this case.

And this PR, #1621, also passes the CI. See https://github.com/epinio/epinio/runs/7197290557?check_suite_focus=true#step:11:247
Conclusions:

I believe now that core of reported issue is a problem in the setup of the LE stuff.
This problem induced the crash via err != nil, resp == nil from the dialer.
The crash incidentally hides the core issue as the actual websocket error is not printed.

The PR #1620 likely fixes the crash. @gitricko, please test a binary from that branch in your environment.
This should also tell us the currently hidden error message.

And this PR, #1621, also passes the CI. See https://github.com/epinio/epinio/runs/7197290557?check_suite_focus=true#step:11:247
Conclusions:
* I believe now that the core of reported issue is a problem in the setup of LE in the reporter's environment.

* This problem induced the crash via `err != nil, resp == nil` from the dialer.

* The crash incidentally hides the core issue as the actual websocket error is not printed.

The PR #1620 likely fixes the crash. @gitricko, please test a binary from that branch in your environment. This should also tell us the currently hidden error message.

Hi @andreas-kupries,
if somebody or you can educate me how to download the binary from this branch, i can help to verify the fix.
Thanks

how to download the binary from this branch

@gitricko
Ah, I had hoped that you would be in a position to checkout the branch and compile the binary ...
(Needs a go installation, we have 1.18)
While I can build the binary the problem then becomes how to get it to you.
While I have a web server where I can place it for download I do not wish to have the url here up in public.
To get the url to you in a more private way ...

Are you somewhere on the SUSE slack ?
Maybe an email address ?

I am reachable at<EMAIL_ADDRESS>if you do not wish to provide your address here in public ?

@andreas-kupries i reach out to you in suse/epinio/rancher slack then

I saw it, and have responded.

Considered as fixed by #1620.


Variables missing dollar sign?

[Enter feedback here]
Are the variables on the page missing the dollar sign?  Thanks.

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

ID: cd4c4f41-2050-234e-e35b-750158cfba54
Version Independent ID: 09c0145e-fa2b-210d-d1a0-4acb8c790bc3
Content: Create a Windows VM with Azure Image Builder (preview) - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/image-builder.md
Service: virtual-machines-windows
Sub-service: imaging
GitHub Login: @cynthn
Microsoft Alias: cynthn

@mbiver Nope, they just assume you are using Bash with the CLI. Bash doesn't use the $ when you declare the variable. If you are using another terminal type, you might need the $ in the declaration.

Thanks for clarifying @Cynthn.
@mbiver  We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

In the “set Variables” section it doesn’t say Bash.  It says Azure Cli and has no dollar signs.   Then in the “Create a resource group” section it also says Azure CLI and  There are dollar signs for variables.  Then, in the “Create user-assigned managed identity and grant permissions”  section it does say Bash, but there are variables with and without dollar signs.   So are we supposed to use Bash, Powershell, and Azure Cli all at once?  Thanks
Michael Biver
On Sep 30, 2020, at 6:10 PM, Cynthia Nottingham<EMAIL_ADDRESS>wrote:

@mbiverhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmbiver&data=02|01||566e20a45c224f249e5f08d8659600fe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637371042211559997&sdata=C4LgjISTa2UtG2zAgqYccZBbp4B6v2otJwLE83blnnM%3D&reserved=0 Nope, they just assume you are using Bash with the CLI. Bash doesn't use the $ when you declare the variable. If you are using another terminal type, you might need the $ in the declaration.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F63576%23issuecomment-701693559&data=02|01||566e20a45c224f249e5f08d8659600fe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637371042211569992&sdata=0kIuhTFD8aqM6JEhVq8sSaYwSrKR7A%2BseFTf1H4HksA%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJKICENFU2XL67ODODPRVTTSIO3FZANCNFSM4R7UEDSQ&data=02|01||566e20a45c224f249e5f08d8659600fe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637371042211579988&sdata=GYCCrBoCMOJoERcjezs6w9m0TPp0tdpxULtezasBRQY%3D&reserved=0.


Add GLEW package

https://github.com/nigels-com/glew
uses cmake

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31982190-add-glew-package?utm_campaign=plugin&utm_content=tracker%2F1032790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1032790&utm_medium=issues&utm_source=github).

@headupinclouds Hey, I see there is a https://github.com/hunter-packages/GLEW with an uppercase name, that is the status on this? I am working on putting version 2.0.0 of glew - although I have not tested my app with version 2.0.0, I could end up adding a previous version.
@ruslo
Should we take the opportunity that this package is not yet in hunter and rename it for lower case?

I see there is a https://github.com/hunter-packages/GLEW with an uppercase name, that is the status on this?

As far as I understand this code is taken from Urho3D. I moved it to https://github.com/hunter-packages/glew-old.
I fork official GitHub repo: https://github.com/hunter-packages/glew. We need to add top level CMakeLists.txt so it will be ExternalProject_Add friendly and add installation of export files. They have one but it's done not so nicely as it might be, see https://github.com/hunter-packages/GLEW-old/blob/master/CMakeLists.txt.

Fixed https://github.com/ruslo/hunter/pull/488


(mpc-hc-clsid2) AU Fix for Stable Releases

Description
I have made it so that MPC-HC-CLSID2 will let the AU get the latest stable releases without outputting an error.
Motivation and Context
This fixes the AU giving an error every time it runs because MPC-HC-CLSID2 does not have conventional update names.
How Has This Been Tested?
I have run it locally along with a private PR to ensure the bot will run correctly. They both were successful.
Types of changes

[x] 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 change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[x] All files are up to date with the latest Contributing Guidelines
[x] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

:white_check_mark: Package verification completed without issues. PR is now pending human review


[regression] TypeScript word highlighter (provideDocumentHighlights) now highlights entire strings

open vscode repo on cursor.test.ts
click inside a test name

Stable behaviour (expected): No highlights for strings

Insiders behaviour (unexpected): Highlights entire string

Closing as upstream TypeScript issue: https://github.com/Microsoft/TypeScript/issues/12780

@mjbvz since this is quite disturbing I would suggest to add the following workaround on our end:
If the highlight is for the current document we look at the source and filter the match if enclosed in " or '.  I know hacky :-). And we pressure for a better fix in the tsserver for the next update. I proposed that they give us a 'type' information for the document highlight request telling us to which SymbolKind the symbol under the cursor resolved.

Another idea to solve this would be as follows: we don't highlight anything if the result only contains one match and contains the current cursor position. This would then convey  the  information that there aren't any references in the document for that symbol. This might work for most of the strings.

@dbaeumer I'm testing the first workaround now, since it seems like the more scoped fix. I agree that we need some additional information back from TypeScript to handle this properly. Highlighting literal string types for example probably makes sense, but not highlighting content strings.

@mjbvz Thank you!


Tag for recent 0.7.0 bump?

Hi, seems a tag wasn't created after the buildkit version bump to 0.7.0
I ran into an issue when using 0.2 that didn't happen and before, tried the master tag and worked fine :+1: (I assume master has 0.7.0 of buildkit?)
@vito would it possible to tag and push a version of the resource with buildkit 0.7.0 or is there some know issue preventing this? (I can for now depend on master tag but would be better to depend on an immutable tag if possible)
In case anyone can decipher this the error is:
#4 ERROR: failed to extract layer sha256:8648bd3934e1b3cf6a6cc225776bfdf7381d1bff8c1ce9d20e9fe65b300d14d5: mount callback failed on /tmp/containerd-mount818919733: mkdir /tmp/containerd-mount818919733/var/run: invalid argument

the exact same build works ok with the tag 0.1 and master of vito/oci-build-task but throws that error with 0.2

done! v0.3.0 will be published shortly


Fail to decode unicode payloads

GraphQL requests that contain unicode characters fails with the error message 'POST body sent invalid JSON.'
I was able to fix it by adding utf-8 parameter to decode method .
graphqlview.py L132:
request_json = json.loads(request.data.decode('utf-8'))

This is already fixed in master branch of the git repo. However pip seem to have an older version yet.

Hello guys,
I playing with GraphQL and I received this exception AttributeError str' object has no attribute 'decode' with python 3.
I'd like to propose distinction between 'str' and 'unicode' in GraphQLView class function parse_body()


Continuously getting default device causes problems

Hi, I am trying to get the name of the current default output device by using:
sd.query_devices()[sd.default.device[1]]["name"]
This works just fine, so I was trying to do something like this:
while True:     print(sd.query_devices()[sd.default.device[1]]["name"])     time.sleep(5)
Unfortunately this does not work like it's intended. Rather than constantly printing the current default output device, this always outputs the output device which was the default device at the startup of the script.
When I change my default device in the windows settings and then restart the script, it also prints the new default device, so it does detect changes of the default device, but sadly not when I try to get the default device constantly by utilizing a while loop for example.
I hope I made clear, what my issue is.
Thanks in advance!

Good news!
I have actually solved the problem by myself after reading some other issues:
Apparently, you have to re-initialize the library, when you want to get the default device constantly, so I added the following:
sd._terminate()
sd._initialize()
before my print statement, this works just fine.


How to compile firmware

While trying to compile things I did notice that a special SDK is needed to compile thing. compile.sh references /opt/yi/toolchain-sunxi-musl/toolchain, but I cannot really find where I could get this toolchain. Can someone give a hint where to get this?

Dowload this:
https://github.com/lindenis-org/lindenis-v536-prebuilt/tree/master/gcc/linux-x86/arm/toolchain-sunxi-musl

I created a wiki page:
https://github.com/roleoroleo/yi-hack-Allwinner/wiki/Cross-toolchain

I would be willing to have a look but is there a documentation about how to compile correctly and install a modified firmware ? Is-it just the compile.sh script the pack_fw.sh then install it as a release ? Is there a risk to brick the cam if there is a bug in the modified firmware ?

If you study a few hours the source code you can understand the structure of this project.
For example.

To add a program to the fw, simply add a new folder in /src with script to init, compile and install (you can copy it from another program).
To add a new page to the web page add the html, the js and the sh (cgi-bin server side).
To add command to busybox, simply edit the .config file.
etc...

If you have know-how about cross-compilint, it's very simple.
Then, compile.sh and pack_fw.all.sh
Yes, there is a risk to brick the cam if you overwrite the original files.
In theory, you don't need to overwrite the yi files if the cam is already hacked.
There is a boot-loop risk if something causes a kernel panic (for example) but you can recover this situation reflashing another fw.
Finally you have the serial cable option if the cam is really bricked (I have never needed to use this option).


#8174: Replace custom BERT matmuls and bmms with ttnn linear and matmul

Passing pipelines:

Post-commit: https://github.com/tenstorrent/tt-metal/actions/runs/8987362771
Models post-commit: https://github.com/tenstorrent/tt-metal/actions/runs/8987365391
Models perf: https://github.com/tenstorrent/tt-metal/actions/runs/8987374528
Device perf: https://github.com/tenstorrent/tt-metal/actions/runs/8987372275


IllegalArgumentException in SwipeBlockableViewPager#onTouchEvent()

It's been about three months that we've started using this library in our project. Everything seems good except the crash this crash that appears on some devices:

I think this crash is related to this bug of AOSP: https://stackoverflow.com/questions/16459196/java-lang-illegalargumentexception-pointerindex-out-of-range-exception-dispat

A quick fix would be to add some try/catch blocks:
@Override
public boolean onInterceptTouchEvent(MotionEvent event) {
    try {
        return super.onInterceptTouchEvent(event);
    } catch (IllegalArgumentException e) {
        e.printStackTrace();
        return false;
    }
}

@Override
public boolean onTouchEvent(MotionEvent event) {
    try {
        return super.onTouchEvent(event);
    } catch (IllegalArgumentException e) {
        e.printStackTrace();
        return false;
    }
}

I'm going to submit a pull request to add these lines and hope someone has a better solution.
Btw, thanks for the great library.

It's been 15 days since the pull request has been there, is there anything I or others can help with if you haven't got enough time for this? @heinrichreimer


caught "EarlGreyInternalTestInterruptException", "Immediately halt execution of testcase"

when i perform a button tap, caught this error. please help me

when i perform a button tap, caught this error. please help me
Can you provide more context? Maybe some code?

Hello @OlivierMrz, we are seeing the same issue reported here.
Our environment is:
-Xcode 11, iOS 13.
-EarlyGrey 1.15.0. (Also tried with 2.0.0)
Our app is launched in the simulator, but it is not correctly loaded, it does not fit the full screen.

The grey line at the top should not be there, and we are missing text at the bottom, it is like the screen is scrolled down.
But I honestly don't know if that has something to do with the error.
The test hangs there for a couple of minutes and then we see the error. We are experiencing that only with UI tests, for XCUITests (we don't use EarlGrey) everything works fine with that environment.
Let me share some logs in case that is helpful:
EarlGrey xcode 11 iOS 13.docx
Please let me know if you would need more info. Thank you in advance!

Please forget about previous comment, we figured out the problem and now, updating to latest EarlGrey, our tests will work again. Thanks and sorry

If that can help others, I was having the same issue on GitHub Actions, and I was using the latest version.
I found a hack by tapping a button with XCTests at the beginning of the test, prior to starting using EarlGrey.
let loginButton = application.buttons["LoginButton"]
loginButton.tap()

EarlGrey.selectElement(with: grey_accessibilityID("LoginButton"))
    .assert(grey_sufficientlyVisible())
    .perform(grey_tap())


api: ingest: direct base & playback

What does this pull request do? Explain your changes. (required)

Added directPlayback boolean to users
Added baseDirect and playbackDirect to ingests
When directplayback is true, return the baseDirect on playback requests

Specific updates (required)

How did you test each of these updates (required)

Does this pull request close any open issues?

Screenshots (optional)

Checklist

[ ] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

I'm having a bit of trouble understanding how baseDirect and directPlayback work...where is the directPlayback (assuming this is playback.livepeer.studio) returned?

I'm having a bit of trouble understanding how baseDirect and directPlayback work...where is the directPlayback (assuming this is playback.livepeer.studio) returned?

Would come with a change here in livepeer-infra https://github.com/livepeer/livepeer-infra/blob/406fb4cd119c547c0fad7832abeafcbeed3b1ab5/values/api.values.yaml#L27


Ok, I hope everything is ok now. :)

Thanks. Now I'm running integrations tests. Please wait.

Released as v2.67.7.


Python plugin doesn't work in KiCad 7

Hi!
I'm making an attempt to reduce the size of your fantastic design to 10 columns. However, the board producer plugin throws the following error in KiCad 7:
Traceback (most recent call last):

File "/Users/pe8er/Documents/KiCad/7.0/3rdparty/plugins/horizon-board-producer-plugin.py", line 20, in Run
HorizonBoardProducerPlugin.produce()

File "/Users/pe8er/Documents/KiCad/7.0/3rdparty/plugins/horizon-board-producer-plugin.py", line 248, in produce
HorizonBoardProducerPlugin.__create_gerbers(pcb, gerber_output_path)

File "/Users/pe8er/Documents/KiCad/7.0/3rdparty/plugins/horizon-board-producer-plugin.py", line 41, in __create_gerbers
plot_options.SetExcludeEdgeLayer(True)

AttributeError: 'PCB_PLOT_PARAMS' object has no attribute 'SetExcludeEdgeLayer'

Any chance you could fix it please? Thanks a ton!

Hello!
Yes, I will try migrating the board generator plugin code to KiCad 7 within the next couple days. It was last migrated to KiCad 6, so it needs to be updated again.
I will let you know how it goes.

Thanks and good luck!

Thanks!
Can you please try running this updated plugin code in KiCad 7? https://github.com/skarrmann/horizon/blob/ec8f4e240b31b75347d11e4e73a34dd3b1617870/kicad-plugins/horizon-board-producer-plugin.py
I confirmed the update works for me on KiCad 7.0.9. Please note KiCad will forcefully close after the plugin successfully runs. You should see this message if the plugin successfully generated the fabrication files:

Let me know if this updated code works for you. If it's good, I will merge this update into the main project. Thank you!

It works on KiCad 7.0.8 on Mac, and the script kills KiCad at the end. I reviewed the gerbers as best as I could, they looked fine so I just submitted an order 😀 Thank you so much!

Great! Thank you for testing this update.
Good luck with your Horizon Mini, and I'd love to hear how the build goes.

I will let you know for sure, hopefully it works 🤞

@skarrmann Hey! It is alive! 😀

There is just one remaining issue: it seems like the battery is not charging. I don't know if the battery is broken or is it something with my soldering, or maybe ZMK. I'm off to get help on ZMK Discord.


Feature request

Add a "sort" command, sorting version numbers read from STDIN.

Thanks for your suggestion!  Interest--and especially feedback on usage--is appreciated.
While I understand the request, it is a little terse.  Do you have specific use cases in mind?
I have a few reservations about adding this new functionality:

semver-tool "is a little tool to manipulate version bumping in a project".  It does go a bit beyond that, but not much.  I look at it as a small helper for CI pipelines.  Back to the use case: How would sorting be used in this context?
It is very convenient (except on Windows!) to have small tools written in bash: you get the source, nothing to compile or link, etc.  However, bash is far from the best choice for data set handling (e.g. sorting files of structures).  If you look around the web for tools to sort semantic versions, you find a couple bash scripts.  But they are mostly wrappers to invoke other programs (e.g. GNU sort): what bash scripts are designed for.  semver-tool has probably already pushed bash too far.
If sorting semantic version numbers is needed, I'd check out the various solutions available.  One example might be Masterminds/semver.  There is a command line wrapper: Masterminds/vert.

Thanks for your suggestion!  Interest--and especially feedback on usage--is appreciated.
While I understand the request, it is a little terse.  Do you have specific use cases in mind?
I have a few reservations about adding this new functionality:

semver-tool "is a little tool to manipulate version bumping in a project".  It does go a bit beyond that, but not much.  I look at it as a small helper for CI pipelines.  Back to the use case: How would sorting be used in this context?
It is very convenient (except on Windows!) to have small tools written in bash: you get the source, nothing to compile or link, etc.  However, bash is far from the best choice for data set handling (e.g. sorting files of structures).  If you look around the web for tools to sort semantic versions, you find a couple bash scripts.  But they are mostly wrappers to invoke other programs (e.g. GNU sort): what bash scripts are designed for.  semver-tool has probably already pushed bash too far.
If sorting semantic version numbers is needed, I'd check out the various solutions available.  One example might be Masterminds/semver.  There is a command line wrapper: Masterminds/vert.

Use case: auto-increment patch version on merge to master or release/ branches
# get current branch
BRANCH=$(git rev-parse --abbrev-ref HEAD)

# get all tags visible from current branch, sort them and pick the last (highest)
LATEST_TAG=$(git tags --merged ${BRANCH} | semver sort | tail -1)

# bump the highest visible version
NEW_TAG=$(semver bump patch ${LATEST_TAG})

# add tag
git tag -a "${NEW_TAG}" -m "<meaningful comment>"

# push tag
git push --tags origin

Here the sort option could also be a highest option, used to find the version to bump

Use case: auto-increment patch version on merge to master or release/ branches
# get current branch
BRANCH=$(git rev-parse --abbrev-ref HEAD)

# get all tags visible from current branch, sort them and pick the last (highest)
LATEST_TAG=$(git tags --merged ${BRANCH} | semver sort | tail -1)

# bump the highest visible version
NEW_TAG=$(semver bump patch ${LATEST_TAG})

# add tag
git tag -a "${NEW_TAG}" -m "<meaningful comment>"

# push tag
git push --tags origin

Here the sort option could also be a highest option, used to find the version to bump

Thanks for the use case.  I agree that this is a typical situation in a CI pipeline.  And you have run into the problem that "bumping" a given version is easier than determining the given version.  (see, for example, storing the semver value)
You note--and I tend to agree--that "highest" is really what you want.  This code "almost" does it:
function newest {
    if [ $(semver compare "$1" "$2") -lt 0 ]
    then echo "$2"
    else echo "$1"
    fi
}

max="0.0.0"

for i in "$@"
do
    max=$(newest "$max" "$i")
done

echo "$max"

It seems to me that semver has the needed functionality (via compare) that one needs to write wrappers/code to get the job done.  So, one question is whether or not it makes sense to incorporate some sort of "highest" function, adding to the API?
Currently, no commands read from stdin. So, returning the "highest" from stdin would be a funny direction to take.  The above code returns the highest from the given arguments.
I mentioned that the code "almost" works.  It fails when a tag like "0.0.0-rc1" exists.  It fails when other tags (not semantic versions) exist.  Your example code fails when there are no tags.  I think the underlying problem is basing the "find-current-version-scheme" on git tags (and git itself).
This is not really a semver-tool issue.  However, adding features to semver-tool to support a git scheme (or, in general, use of a list of versions to determine the current version) is less than convincing. And since a few lines of code to make the scheme work and enable this particular use case is quite reasonable, it seems best to keep semver-tool simple.
On the other hand, maybe "compare" is broken?  Do people really use the returned value (-1,0,1) for logic other than selecting the newer value?  It would be unfortunate if everyone was writing bash if-then-else's just to get the newest version when a function like semver newest <version> <other-version> would do the job.  And, of course, "newest" could be generalised to zero or more arguments.  Any ideas out there?

Thanks for the use case.  I agree that this is a typical situation in a CI pipeline.  And you have run into the problem that "bumping" a given version is easier than determining the given version.  (see, for example, storing the semver value)
You note--and I tend to agree--that "highest" is really what you want.  This code "almost" does it:
function newest {
    if [ $(semver compare "$1" "$2") -lt 0 ]
    then echo "$2"
    else echo "$1"
    fi
}

max="0.0.0"

for i in "$@"
do
    max=$(newest "$max" "$i")
done

echo "$max"

It seems to me that semver has the needed functionality (via compare) that one needs to write wrappers/code to get the job done.  So, one question is whether or not it makes sense to incorporate some sort of "highest" function, adding to the API?
Currently, no commands read from stdin. So, returning the "highest" from stdin would be a funny direction to take.  The above code returns the highest from the given arguments.
I mentioned that the code "almost" works.  It fails when a tag like "0.0.0-rc1" exists.  It fails when other tags (not semantic versions) exist.  Your example code fails when there are no tags.  I think the underlying problem is basing the "find-current-version-scheme" on git tags (and git itself).
This is not really a semver-tool issue.  However, adding features to semver-tool to support a git scheme (or, in general, use of a list of versions to determine the current version) is less than convincing. And since a few lines of code to make the scheme work and enable this particular use case is quite reasonable, it seems best to keep semver-tool simple.
On the other hand, maybe "compare" is broken?  Do people really use the returned value (-1,0,1) for logic other than selecting the newer value?  It would be unfortunate if everyone was writing bash if-then-else's just to get the newest version when a function like semver newest <version> <other-version> would do the job.  And, of course, "newest" could be generalised to zero or more arguments.  Any ideas out there?

git-tag supports sorting by version with the git tag --sort=v:refname invocation. That won't work for all of semver specifications, but will likely work for the standard major.minor.patch pattern.

I'm not seeing a lot of feedback on this issue.  I'll mark it "won't fix" and see if this sparks something.  Otherwise, after a while, it needs to go to the graveyard ...

hi
we to need this functionality
add it please


Create an interface for User/Group management

Currently we're using Sentry for User/Group management. Some of the features are Sentry specific and not consistent throughout the package. Maybe we should create an interface over Sentry so that in future it's flexible for us to change to other package.

Since we've moved to Laravel's authentication and removed dependency on Sentry, this is no longer required.


Persist notification subscribers

Persist notification subscribers somewhere outside of the app. Possibly in some sort of db.

Mongo all setup


update unit tests

I updated the data in the mirror files so unit tests pass
Updated api serve exit code in tests to -2. As far as I know aptly is still working as intended so I'm not sure if this was changed upstream or if the unit test is actually failing. Let me know if this is incorrect.

I now realize the answer to number 2. Go 1.5 exits with 2 and 1.6 exists with -2. I guess the best way to deal with this for now is if it ends with 2 or -2 until aptly drops go 1.5.

👍 This looks like a positive change :)

👍 thanks!


Add improvements

@JerryWu1234 I took a look at your PR https://github.com/mui/mui-toolpad/pull/2177. That test is a great addition. I propose a few changes to the implementation

Move the test into its own file so that we are certain it's the last page being deleted (otherwise the other tests in the file can influence the behavior)
I propose we show the NoPageFound when the last page is deleted, added a fix and added to your test
I propose we navigate to /_toolpad/app/pages after the last page is deleted . I added a fix and updated the test

What do you think?
(This PR targets your PR, so if you agree we can merge it in, or feel free to come up with a alternative implementation)

thank you so much


config: remove App\ and Config\ in autoload.psr-4 in app starter composer.json

Description
Revert #3423
Fixes #5818
Why

The autoload.psr-4 causes problems:

Cannot change app folder name. Because the composer's path overwrite the config in Config\Autoload. See https://forum.codeigniter.com/thread-81153.html
Causes error when defining new namespace under app/. See https://github.com/codeigniter4/CodeIgniter4/issues/5818
These are very difficult to debug.

Only app starter has the configs. So it is not consistent.

If there is a user who wants to use Composer autoloader optimization (dump-autoload -o) for App namespace class files, they could add it in autoload.psr-4 by themself.
Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[] Conforms to style guide

@samsonasik Thank you!


AmazonSQSException: MessageTooLong

Not able to send long string on EMBEDDED server .
String theString2 = IOUtils.toString(new FileInputStream(new
File("/Users/sanjiv/Desktop/test.txt")));
String length - 72093
Not able to send data on queue.
Exception -
2018-07-24--09-07-32-264 [FIS TR: SP: RIP: LIP: T: U: D: S:] [SQSQueueBufferWorkerThread-7] ERROR com.<************>-  Send report failed for queue <queuename> :
com.amazonaws.services.sqs.model.AmazonSQSException: MessageTooLong; see the SQS docs. (Service: AmazonSQS; Status Code: 400; Error Code: MessageTooLong; Request ID: 00000000-0000-0000-0000-000000000000)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1586)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1254)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1035)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:747)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:721)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:704)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:672)
at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:654)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:518)
at com.amazonaws.services.sqs.AmazonSQSClient.doInvoke(AmazonSQSClient.java:1665)
at com.amazonaws.services.sqs.AmazonSQSClient.invoke(AmazonSQSClient.java:1641)
at com.amazonaws.services.sqs.AmazonSQSClient.sendMessageBatch(AmazonSQSClient.java:1538)
at com.amazonaws.services.sqs.buffered.SendQueueBuffer$SendMessageBatchTask.process(SendQueueBuffer.java:512)
at com.amazonaws.services.sqs.buffered.SendQueueBuffer$OutboundBatchTask.run(SendQueueBuffer.java:443)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

What is the size of your /Users/sanjiv/Desktop/test.txt?
AFAIK the max payload size for SQS is 256 kb: https://aws.amazon.com/about-aws/whats-new/2013/06/18/amazon-sqs-announces-256KB-large-payloads/

Size of /Users/sanjiv/Desktop/test.txt is 72 KB on disk.
Is it same for elasticmq embedded server  ??
SQSRestServer server = SQSRestServerBuilder.withPort(MOCKSQS_PORT).withInterface(ENDPOINT).start();
serverUrl = server.waitUntilStarted().localAddress().getHostName() + ":" + server.waitUntilStarted().localAddress().getPort();

Since we have the option of payloads up to 2GB with the extended client library, couldn't we raise the limit?

Right now you can't change the limit, but it's possible to disable it via conf:
rest-sqs {   ...   sqs-limits = relaxed }

Right now you can't change the limit, but it's possible to disable it via conf:
rest-sqs {   ...   sqs-limits = relaxed }


refactor: inline middle-ellipsis package as util

We remove our dependency on the middle-ellipses package and include
and expose the function in lib/shared/utils, alongside the regular
Angular filter it exposes. This allows use of the middle ellipsis
method in React.
Change-Type: patch
Changelog-Entry: Inline middle-ellipsis package as util.

@Shou lgtm, can we move this to the GUI, instead of putting it in lib/shared? As we're moving towards having the SDK standalone etc; lib/shared has to go away, and we'll save us some work by not putting new things in there

Moved to lib/gui/app/utils now


add cncf logo in README and add code-of-conduct.md

What this PR does / why we need it:

Add cncf logo in README
Add a file: code of conduct to follow cncf style
Minor changes about Pod and spaces

需要一起 更新下 doc/readme.md


User Guide missing the "extends": "eslint:recommended" check mark for "no-console" rule

The table in the Rules page of the User Guide is missing the checkbox specifying that the "no-console" rule "extends": "eslint:recommended" property (https://eslint.org/docs/rules/).
The documentation page for the rule is correct.

Hi, thanks for the report. This is happening because no-console is being removed from eslint:recommended in v6.0.0, which is currently in prereleases. We have a versioned copy of the rule page at https://eslint.org/docs/6.0.0/rules/no-console, but there isn't a versioned copy of the /docs/rules page.

No longer an issue now that v6.0.0 is released


Inconsistent behavior

BUG REPORT

Please describe the issue you observed:

I notice the org.apache.rocketmq.logging.inner.LoggingBuilder.FileAppender#setFile(java.lang.String, boolean, boolean, int) is decorated by synchronized,but org.apache.rocketmq.logging.inner.LoggingBuilder.FileAppender#getFile do not decorated by synchronized, if someone call getName() will occur inconsistent behavior

What did you do (The steps to reproduce)?

What is expected to see?

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks involved, use -[] for each sub-task and create a corresponding issue to map to the sub-task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

it can use volatile replace synchronized ?

Thanks for your reply
IMO, I think it would be more appropriate for getFile to wait while setFile() is executed. Indeed, there is no place to call getFile() at present, but if someone calls it in the future, inconsistent behavior may occur

Thanks for your reply IMO, I think it would be more appropriate for getFile to wait while setFile() is executed. Indeed, there is no place to call getFile() at present, but if someone calls it in the future, inconsistent behavior may occur

yep , if getFile() need to wait for setFile() , u are right , i got it , thx your reply.

I looked again and found
1、FileAppender other method like org.apache.rocketmq.logging.inner.LoggingBuilder.FileAppender#setFile(java.lang.String) is not decorated by synchronized , Is it necessary here and other places？
2、for fileName field is direct use like this.fileName , not use getFile() , so is there a concurrency issue here?
Forgive me for more questions....etc , thx again

1、I think org.apache.rocketmq.logging.inner.LoggingBuilder.FileAppender#setFile(java.lang.String) also need synchronized
2、You are right, there do not exist concurrency issue, However, if someone calls this method in the future, synchronization control will be added, I think it's ok to add it in advance
Thanks for your advice


Resync from master with other changes

Hey it worked!  I merged in this PR along with a couple changes to the ColorForUnique code.  See #21 for description.  I think we also have slight differences in how our xml files are being output (inside the /package/ output).  I am just unchecking those for now on my commit to avoid back and forth changes.  They are currently on your version which is OK.  They are not actually used anywhere so far as I am aware, but I'm sure the xlam will break without them...


Failing test on whisper

Almost same with https://github.com/ml-explore/mlx-examples/issues/395 . And my environment is also same(M3).
/Users/user/projects/mlx-examples/env/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
.........F.
======================================================================
FAIL: test_transcribe_alice (__main__.TestWhisper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/user/projects/mlx-examples/whisper/test.py", line 312, in test_transcribe_alice
    check_segment(result["segments"][73], expected_73)
  File "/Users/user/projects/mlx-examples/whisper/test.py", line 306, in check_segment
    self.assertAlmostEqual(seg[k], v, places=2)
AssertionError: 0.009059515781700611 != 0.002246702555567026 within 2 places (0.006812813226133585 difference)

----------------------------------------------------------------------
Ran 11 tests in 17.714s

FAILED (failures=1)

But this is a quite bigger difference than expected.

Whisper tests should be passing now.


Create self-contained application

Java Packager is removed from Java 11. The Gradle plug-ins for Java FX and Java modules do not work with Java 10.
Waiting for ´jpackager´ see JEP 343: Packaging Tool

Creating a package with jlink failed, because Media can not load a file from a module see Media fails to load source from custom image, with jrt: URL


run error

/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
clang: error: no such file or directory<EMAIL_ADDRESS>

This project can not be used as a module, you should clone it and put it inside your project, and build the cffi library yourself.
Anyway, this project is just a experiment and not recommended. Here are some pure Go implementations you might consider using instead of this one:

https://github.com/pkoukk/tiktoken-go
https://github.com/tiktoken-go/tokenizer


[BUG] Further BDD enhancement for reading variables in BDD keywords

Describe the bug
A minor issue, but figured I'd mention it. There's a variant that is often used in BDD setup which was proposed a few years back which I think still has some merit if one is to support BDD. (Blog: https://blog.codecentric.de/en/2009/11/givenwhenthen-and-example-tables-using-the-robot-framework/)
Currently variables used in BDD written keywords are not recognized by RobotCode, making it difficult to differentiate from 'regular' written style. I tend to use < or > to indicate it for readability when I use it. But some colour coding would improve this variant.
To Reproduce
Write a basic BDD testcase that is set up as a keyword, and then called as part of a data driven setup.
Example source code:
*** Keywords ***
kw    [Arguments]    ${input}    ${multiplier}    ${result}
    Given value of var <${input}> is present
    When value of var input is multiplied by "${multiplier}"
    Then value of var result should be [${result}]

*** Test Cases ***
#TESTCASE         INPUT    MULTI    RESULT
Testcase 1    kw    1        2        2
Testcase 2    kw    2        2        4
Testcase 3    kw    4        4        16

Expected behavior
I would expect that variables (ie. Input / Multiplier / Result called in BDD writing style to be indicated as variables by Robot Code.
Screenshots/ Videos
```
Desktop (please complete the following information):

VS Code Version 1.64.2
RobotCode Version 0.60
OS: Windows
Python Version 3.9.10
RobotFramework Version 5.0b1

Ok, my file looks like this:

What theme you are using?
did you disable semantic highlighting?
can you check your user settings.json Ctrl+Shift+P and then Preferences: Open Settings (JSON)
look for an entry like this:
    "[robotframework]": {
        "editor.useTabStops": false,
        "editor.wordBasedSuggestions": false,
        "editor.semanticHighlighting.enabled": true,
    }

for robotframework files:
or
"editor.semanticHighlighting.enabled": true,

for the global setting.
If it is disabled, then enable it.

I haven't changed anything. My settings are set at 'Default Dark+':

Nor did my project have any of the settings you mentioned.  It's all out of the box default 'Default Dark+' that VScode provides.
The 'Default Light+' mode variant of this theme shows it like this:

Is there a different one that should be used instead? I have only started VSCode in the last month or so. So maybe there's some tricks here I'm missing.

The VSCode default theme are really only simple themes. Yes I think you should change your theme ;-)
I like the Community Material Theme and then the "Darker High Contrast" variant.
And then I use the Material Icon Theme also the "Darker" Variant.
I also like the dark variants of the GitHub Theme I use it sometimes.
But there are several other usefull themes in the marketplace. just try a little bit.


iconfix

What kind of change does this PR introduce? (check one with "x")

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Can you please fill out the form?

@amcdnl can you merge these changes? its hard to override the pager classes with font awesome classes.

I'll review today. I need to go through it since there are other changes here.

thanks @amcdnl

@psreeks - What exactly does this PR do? Also, it looks like there is merges from other commits in here and also the built files. Can you point me to the exact change please?

Wait, this is actually achievable with the cssClasses input
  @Input() cssClasses: any = {
    sortAscending: 'icon-up',
    sortDescending: 'icon-down',
    pagerLeftArrow: 'icon-left',
    pagerRightArrow: 'icon-right',
    pagerPrevious: 'icon-prev',
    pagerNext: 'icon-skip'
  };


Cannot give postConfirmation trigger access to auth

Describe the bug
I have created a post confirmation trigger using amplify update auth.
I would like to give the postConfirmation trigger access to the user pool in order to get user information and perform other operations that affect the user pool.
I then used amplify update function in order to give the post confirmation function access to the user pool.
However, an error occurs saying: "Error: Cannot add [functionName] due to a cyclic dependency" where [functionName] is the name of my function.
The postConfirmation cloudformation template file is updated with the appropriate permissions but the user pool id is not passed down as a parameter from nested-cloudformation-stack.yml
Desktop (please complete the following information):

OS: windows 10

Additional context
Invoking amplify update auth and then adding add-to-group functionality works fine but invoking amplify update function and then giving permissions to auth throws the error stated above.
I have tried this with @aws-amplify/cli 3.0.0 and 3.2.0, both result in the same error.
Thanks a lot!

@Jkap7788 it is a cyclic dependency as the CLI says. I'm not sure that we've a CLI supported way for this scenario, because the possibility that comes to my mind is adding a custom policy resource which depend on both resources, your user pool and the function, but the CustomResources are getting deployed within the GraphQL API scope.

it seems related to #1874 and #2076
@attilah , do you have any idea how it can be setup manually, by editing the CloudFormation template files for example?

@attilah Thanks for the reply!
I'm currently using a manual workaround for this.
Using amplify update function to add auth permissions to cognito triggers will result in a cyclic dependency error message.
However, the correct IAM policy is added to the function's cloud formation template.
The cognito user pool id is NOT passed down as a parameter so to fix this, I manually modify the IAM policy to include the user pool id in the iam resource arn
@thedgbrt  A quick and easy fix is just to manually add the user pool id into the iam policy. Not ideal but gets you unstuck quickly.
@attilah Out of curiosity, how come adding add-to-group functionality to a post confirmation trigger does not register as a cyclic dependency where as adding auth permissions via amplify update function does cause a cyclic dependency?

@attilah I'm also running into a similar issue and would benefit from seeing an example of the setup for a custom policy you're referencing

Same problem - permission appear to be fine bu the environment variable is not set properly.  What do I edit to set the environment variable to the correct userpool

I had the same issue. I ended up editing the auth's cloudformation template, rather than the function's.
Look for the comment # Updating lambda role with permissions to Cognito. There will be a policy document section with permissions granted for group creation and adding users to groups. Add the additional policies that you want to the list.
  myAuthPostConfirmationAddToGroupCognito:
    Type: AWS::IAM::Policy
    Properties:
      PolicyName: myAuthPostConfirmationAddToGroupCognito
      PolicyDocument:
        Version: '2012-10-17'
        Statement:
          - Effect: Allow
            Action:

              - cognito-idp:AdminAddUserToGroup

              - cognito-idp:GetGroup

              - cognito-idp:CreateGroup

             # Add your other permissions here

            Resource: !GetAtt

              - UserPool

              - Arn

      Roles:
        - !Join ['',["myAuthPostConfirmation", '-', !Ref env]]

Ideally the cli would allow us to select which permissions to grant when setting up a trigger instead of assuming these defaults

I have a non-manual way to do this: I create a custom category/resource (i.e. CloudFormation stack) that depends on the function AND the user pool. The custom stack then adds policies to the function after both it and the pool are deployed. If this is interesting to people I'll publish it.
Is there any plan or way the CLI might change to support this function in the future?

@rowanu Awesome! Yes please, would love to see how you implemented it.

Turns out I was relying on a function created directly via the function category (which exports LambdaExecutionRole) in my development environment 🙃 I have submitted a PR to export the role for all the trigger functions, so that I can demo the functionality I mentioned.

Running into this issue as well, but with S3 and Lambda. The workflow looks like this:

Create storage with Amazon S3 and enable and add a Lambda trigger
Would like to give permission to Lambda to write to S3, so we update the Lambda:

$ amplify update function? Please select the Lambda Function you would want to update S3Trigger45ce5c61
? Do you want to update permissions granted to this Lambda function to perform on other resources in your project? Yes
? Select the category storage
> Storage category has a resource called s3cebd22bc
? Select the operations you want to permit for s3cebd22bc create, read, update, delete

Output:
You can access the following resource attributes as environment variables from your Lambda function
var environment = process.env.ENV
var region = process.env.REGION
var storageS3cebd22bcBucketName = process.env.STORAGE_S3CEBD22BC_BUCKETNAME

Error: Cannot add S3Trigger45ce5c61 due to a cyclic dependency
    at checkForCyclicDependencies (/Users/dabit/.nvm/versions/node/v10.16.3/lib/node_modules/@aws-amplify/cli/lib/extensions/amplify-helpers/update-amplify-meta.js:188:15)
    at AmplifyToolkit.updateamplifyMetaAfterResourceUpdate [as _updateamplifyMetaAfterResourceUpdate] (/Users/dabit/.nvm/versions/node/v10.16.3/lib/node_modules/@aws-amplify/cli/lib/extensions/amplify-helpers/update-amplify-meta.js:101:9)
    at Object.updateResource (/Users/dabit/.nvm/versions/node/v10.16.3/lib/node_modules/@aws-amplify/cli/node_modules/amplify-category-function/provider-utils/awscloudformation/index.js:242:21)
    at process._tickCallback (internal/process/next_tick.js:68:7)

cc @kaustavghosh06

@dabit3 The Lambda trigger should already have the permissions to read write to the S3 bucket. So you don’t need to explicitly run ‘amplify update function’

Ah interesting, from my initial test it dit not. Will give it another shot and report back.

Based on my testing, the issue actually has to do with this flow only:

Create storage
Add a new function separately. In the following steps, allow the function to have access to storage create, read, update, delete (this seems like a logical thing to do)
When I update storage to add a trigger, I get a cyclic dependency error

This is probably not a high priority error since most people will probably be instead adding a lambda trigger by configuring storage (amplify update storage) and adding the function from there.
Another way around this is, when adding a new function, not to add permissions for storage and then in the storage walkthrough allow the permissions to be set there.

Any update on this issue folks? I'm trying to update my post-confirmation lambda trigger to run some business logic when the users sign up. What's the best approach currently to implement this?
Best regards,
Kyle

@kylekirkby For your use-case, did you try adding and testing the post-confirmation auth trigger? What's the error that you're getting? The Trigger should already be populated with Cognito user-pool information which is what you're looking for out here?

Hi @kaustavghosh06 ,
Thanks for your reply! I've already got the post Confirmation Trigger added. This successfully adds the users to the "free" cognito user group - works a treat! However, I need to generate an API key for the users upon signup. For the life of me I cannot give the postConfirmation trigger lambda function permission to access my GraphQL API -  I'm getting a circular dependency issue (I'm also version 4.21.0 for the CLI if that helps). Any ideas how I can achieve this?
I did also comment on this issue: https://github.com/aws-amplify/amplify-cli/issues/1874#issuecomment-575254839
Best regards,
Kyle

@kylekirkby Yes, we're aware of this circular dependency issue and it's explained more in detail out here - https://github.com/aws-amplify/amplify-cli/issues/1874#issuecomment-606073890
Did you try out the workaround mentioned here - https://github.com/aws-amplify/amplify-cli/issues/1874#issuecomment-619316678
While we work in resolving this - can't promise an ETA at this point - you can give the workaround a try since it seems to have worked for other customers as well. Thank you!

Hi @kaustavghosh06 ,
I did try the work arounds that other users have tried but to no avail. This may work in allowing the post confirmation function to have permission to access my graphql api but I don’t get the variables added to the process. How do I go about accessing the graphql api output from the post confirmation function?

Running into the same on S3 triggers to resize.
Approaches tried:
1)Added trigger as part of S3 creation.
2)Also tried adding a function, and then adding as a trigger.
Both the cases "Access Denied" when writing back to s3.
Tried adding permissions and ran into cyclic dependency.
cc:
@kaustavghosh06
@dabit3

I have the same problem and tried the same as @kkrao2301 — no solution.

I was having this same issue and @danielblignaut's solution here worked wonders. As a matter of fact, it was simpler than that because I only needed to edit backend-config.json and create the CloudFormation template for that resource. The Outputs key in his figure 2 was already added to my lambda and the parameters.json wasn't needed because the CLI created them for me automatically in nested-cloudformation-stack.yml.

I was having this issue.  And just added the permission like noted here and then did amplify push and all is well.

Few had proposed the solution and @danielblignaut straigh forward answer helped me to solve the issue. xoxo

Closing in favor of: https://github.com/aws-amplify/amplify-cli/issues/4568

Closing in favor of: https://github.com/aws-amplify/amplify-cli/issues/4568


[DayRangePicker] onChange function call is not calld directly after selected dates

Hey guys,
so I have the following issue. I included a day range picker to my project. I want to do some stuff with all selected day between the selected day range. The thing is that the array is not filled with the days, unless I selected a day range and then reselecting one day.

Selecting a day range => array with selected days is still empty
Reseleicting one day => the array is filled with the previous selected day range.

here is my code:
//this function pushes the dates in the date array
function getChartCategories(startDate: Date, endDate: Date): Array<string> {
    const dates: Array<string> = [];
    const currentDate = new Date(startDate);
    let currentMonth: number;
    while (currentDate <= endDate) {
        currentMonth = calculateCurrentMonth(currentDate.getMonth());
        dates.push(formatDateToIso8601(currentDate, currentMonth));
        currentDate.setHours(0);
        currentDate.setDate(currentDate.getDate() + 1);
    }
    return dates;
}

function createStartDate(dayRange: DayRange): Date {
    return new Date(
        dayRange?.from?.year?.toString() +
            '-' +
            dayRange?.from?.month?.toString() +
            '-' +
            dayRange?.from?.day?.toString(),
    );
}

function createEndDate(dayRange: DayRange): Date {
    return new Date(
        dayRange?.to?.year?.toString() + '-' + dayRange?.to?.month?.toString() + '-' + dayRange?.to?.day?.toString(),
    );
}

const selectedDates = getChartCategories(createStartDate(selectedDayRange), createEndDate(selectedDayRange));
foo(){
console.Log('123') // is executed after each selection
//do some stuff with the selected days (all days are in an string array)
}
onChange = {v =>
foo();
setSelectedDayRange(v);}

Hi @hieu-t-code. This should actually work. Can you reproduce this on CodeSandBox please?

So, I think this is not related to the library.
You need another state to track the history of the changes. Just bring another useState hook which accumulate changes.
As a simple example:
function c() {
  const [dayRange, setDayRange] = useState({ from: undefined, to: undefined })
  const [history, setHistory]   = useState([])

  function handleChange(value) {
    setHistory([...history, value])
    setDayRange(value)
  }

  return <Calendar value={dayRange} onChange={handleChange} />
}

Yeah its not an issue related to the library. Thanks for the suggestion :D

@hieu-t-code Has your issue been resolved? If not, just feel free to reproduce it on CodeSandBox, and we will do our best to help you. Even if it's not related to the library 😊

I'm gonna work tomoorow on this issue again. Thank you guys for you support.

@Kiarash-Z, I tried it now for several hours. I recreated the case, I'm not able to find a solution....
Steps to recreate the problem:

Selecting a day range e.g. lets say 27.04.2020 - 30.04.2020 console logs two empty arrays,

after reselecting one day the console.logs: [2020-04-27, ... , 2020-04-30].

I need to fill the array after I picked the second date. Thanks in advance for you help!
https://codesandbox.io/s/confident-robinson-7pgq0?file=/src/App.tsx

@hieu-t-code There's a problem with this approach. Currently, you try to access selectedDates in handleDaySelection(handler for onChange), but the thing is setting state in react is async. Therefore immediately after updating the state in handleDaySelection, you can't access the latest updated value! There are three solutions for this which I presented in my forked CodeSandBox.:
function handleDaySelection(days: DayRange) {
  setSelectedDayRange(days);
  // solution 1 ✅: move selectedDates to here and pass days:
  // const selectedDates = getDays(createStartDate(days.from), createEndDate(days.to));
}
console.log(selectedDates); // solution 2 ✅: log it outside of onChange handler

// solution 3 ✅: useEffect!
// React.useEffect(() => {
//   if (selectedDayRange.from && selectedDayRange.to) {
//     // do stuff
//   }
// }, [selectedDayRange])

I had in mind that it could be async, and couldn't use the first solution as the const is needed somewhere else in my code!
The other two solutions are exactly what I needed. Thanks a lot for your time!

@hieu-t-code You're welcome. I'm so happy that your issue has been resolved 😊


Add Discord Integration

Hey, really found this useful but missed the discord webhook, so I tried adding it.
Adds discord-webhook-node as a dependency.
Also updated the readme in case you decide to add this.

@JuanmaMenendez this feature is interesting, I need for it. Can you merge with your version?
Thank you


Smarty 3 and Codeigniter 3

I love the way you integrated smarty into CodeIgniter and was wondering if you will be providing instructions to integrate Smarty 3 into Codeigniter 3.
There are many tutorials and few of them do not work well.
Thank you

Hi @Jagarm. Thanks for your interest in this library.
I'll see if I can take some time and check out this lib's compatibility with CodeIgniter 3. I don't recall CI3 changing anything fundamentally with libraries or views, so there should be relatively little work involved with incorporating these changes into a CI3 app.
No promises on timeline, but I will do my best. :)

You might be interested in this library, also: https://github.com/Vheissu/Ci-Smarty  It appears to be more actively maintained and has a higher user base. It doesn't reuse CI's built in view syntax like mine does (which is actually why I wrote this one in the first place), but it may help you get Smarty integrated.

Thank you Cryode, I will look at that library. You are using the CI's built in view syntax and that's why i like your library.
I understand you are busy but do let me know if you get around it
Regards

I copied the files to CI 3 and works like a charm.
I got some php notices but that was because the variables weren't define.
It is working very well and I love it
Thanks for your hard work


Update FR for any security vulnerabilities

Identify if Form Recognizer has any security vulnerabilities and correct them

In the Java Channel, One Node, Security issues tab


Migrate colorgame.js from quotes to singlequotes

Some argue that single quotes are less messy than double quotes. 50% less messy to be exact 😆


feat: add gpt4o model

Thanks for creating this PR. Please merge this 🙏 or we are gonna have to use something else :(

@clharman i recommend using the ai sdk instead https://sdk.vercel.ai/docs/introduction which supports gpt4o. have you given it a try?

@lgrammel I will check it out! Still hoping to get 4o in modelfusion until we make the switch.

@clharman just a tip if you are so eager to use it before migrating (as we were too), you can run my modelfusion repository by cloning our custom repository.
We are doing that at the moment and we are able to run on production gpt4o successfully, without any issues.
Basically what we did so far is very similar how it is done on the modelfusion examples folder, but you need to do that on your package.json folder and clone the modelfusion repository into your project.
https://github.com/vercel/modelfusion/blob/c53afa504cf5927223b8f5bb86639c96710088ae/examples/chatbot-next-js/package.json#L24
don't forget the pnpm-workspace file:
https://github.com/vercel/modelfusion/blob/c53afa504cf5927223b8f5bb86639c96710088ae/pnpm-workspace.yaml#L1-L6
here is how it looks like on our github repository:

the downside is that you need to clone the project and build before you can run your project, that adds time when we run our  CI/CD.

@clharman i recommend using the ai sdk instead https://sdk.vercel.ai/docs/introduction which supports gpt4o. have you given it a try?

Is there a migration guide? Would be nice to know what has to be changed. Just the imports or are there more in depth changes needed?


Error While Connecting to localhost/GratefulDeadConcerts

Last cause: Class 'OPERSPECTIVE' was not found in database 'GratefulDeadConcerts'
DB name="GratefulDeadConcerts"
Full Error in below pdf file
Unexpected RuntimeException.pdf
changed .properties file as mentioned in readme, tried with version 2.2.15/2.2.17

Hello, it's really strange exception. All required modules are being installed during application startup - so after first load of Orienteer on GratefulDeadConcerts DB - all classes should be installed.
Can you please provide more detailed step by step to reproduce? And is there any other exceptions in logs during startup of the app?

i tried with latest version of orientdb, whereas you were using 2.1.19. OrienteerGraph project is working well with other database in 2.1.19. I will try again on Gratefuldead on 2.1.19 and reply.

That's known maven problem under windows. Please check your mvn bin directory: both mvn.cmd and mvn.bat should exist.  If some is missing: just copy other file and name it correspondingly.

Outdated and no reply. Closing

Sorry llia, it did work.
On Fri, Aug 11, 2017 at 08:41 Ilia Naryzhny<EMAIL_ADDRESS>wrote:

Outdated and no reply. Closing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OrienteerBAP/Orienteer/issues/477#issuecomment-321802222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF2tlIQVa_R4NnKCrTd08Z2moywKlK8Yks5sXEvqgaJpZM4Mg_rv
.


Stop using KOLLA_CONFIG_FILE environment

... and expose the kolla config files at the fixed path.
This also removes unused kolla environment variables.

/test ovn-operator-build-deploy-kuttl

/test ovn-operator-build-deploy-kuttl


Meta type for resources

There are a bunch of things that we always want to be able to apply to most resources, such as setting permissions or the Unless keyword.
We should create a Meta type to handle including these options, and appropriate methods to handle the behaviour.

https://github.com/surminus/viaduct/commit/b48ed4ac4f24e5fdbbecaf8f51b01724634499b3


How to Play the Recorded video in quill editor

Hi Team,
I am trying to append the contents of recorded video into Quill Editor. At this moment once the recording is stopped, iam able to see the  blob object getting appended to the editor but it is not playable.  Could you please help
when i open the same url in different tab, it is getting played.

I am assigning following html to form control value of quill editor.

image is showing. But video is not showinng. What might be the cause. Please help.


Web-Video-related resources should be controled by 'disable_web_video'

It causes the problem of lost 'Play' button in Video Element.

@heke123 @halton

LGTM

it's trivial, but how about replace "ifndef" by "if ! defined"?  just follow the exist styles.

ok, it'll be updated soon. thx.

@heke123

LGTM


xhr uploader

Thank you for this nice Component.

I am unable to drag and drop multiple files into the upload container. Any suggestions?

Any help is appreciated.

Have you tried maxFiles property? If you do not specify, it defaults to one file.

Thanks for your response.
Yes I used maxFiles property and that works only when I click button to upload multiple files. (i). Unable to drag and drop multiple files.

Can you share some code sample along with browser version you are using?

Thank you :)
const Demo = () => (

Default usage comes up with an upload button for manual instantiation of the upload and supports one file.

  <XHRUploader
    url={UPLOAD_URL}
    dropzoneLabel="Drop the files here to upload - DEMO"
    />

</article>

);
export default Demo;
I am testing in chrome browser  - 57.0.2987.110 (64-bit).
I noticed that the drag and dropping multiple files works in your DEMO link. Let me debug more.


[CELEBORN-1310][FLINK] Support Flink 1.19

What changes were proposed in this pull request?
Support Flink 1.19.
Why are the changes needed?
Flink 1.19.0 is announced to release: [Announcing the Release of Apache Flink 1.19] (https://flink.apache.org/2024/03/18/announcing-the-release-of-apache-flink-1.19).
The main changes includes:

org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannel constructor change parameters:

consumedSubpartitionIndex changes to consumedSubpartitionIndexSet: [FLINK-33743][runtime] Support consuming multiple subpartitions on a single channel.
adds partitionRequestListenerTimeout: [FLINK-25055][network] Support listen and notify mechanism for partition request.

org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate constructor removes parameters subpartitionIndexRange, tieredStorageConsumerClient, nettyService and tieredStorageConsumerSpecs: [FLINK-33743][runtime] Support consuming multiple subpartitions on a single channel.
Change the default config file to config.yaml in flink-dist: [FLINK-33577][dist] Change the default config file to config.yaml in flink-dist.
org.apache.flink.configuration.RestartStrategyOptions uses org.apache.commons.compress.utils.Sets of commons-compress dependency: [FLINK-33865][runtime] Adding an ITCase to ensure exponential-delay.attempts-before-reset-backoff works well.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Local test:

Flink batch job submission

$ ./bin/flink run examples/streaming/WordCount.jar --execution-mode BATCH
Executing example with default input data.
Use --input to specify file input.
Printing result to stdout. Use --output to specify output path.
Job has been submitted with JobID 2e9fb659991a9c29d376151783bdf6de
Program execution finished
Job with JobID 2e9fb659991a9c29d376151783bdf6de has finished.
Job Runtime: 1912 ms

Flink batch job execution

Celeborn master log

24/03/18 20:52:47,513 INFO [celeborn-dispatcher-42] Master: Offer slots successfully for 1 reducers of<PHONE_NUMBER>631-2e9fb659991a9c29d376151783bdf6de-0 on 1 workers.

Celeborn worker log

24/03/18 20:52:47,704 INFO [celeborn-dispatcher-1] StorageManager: created file at /Users/nicholas/Software/Celeborn/apache-celeborn-0.5.0-SNAPSHOT/shuffle/celeborn-worker/shuffle_data/1710766312631-2e9fb659991a9c29d376151783bdf6de/0/0-0-0
24/03/18 20:52:47,707 INFO [celeborn-dispatcher-1] Controller: Reserved 1 primary location and 0 replica location for<PHONE_NUMBER>631-2e9fb659991a9c29d376151783bdf6de-0
24/03/18 20:52:47,874 INFO [celeborn-dispatcher-2] Controller: Start commitFiles for<PHONE_NUMBER>631-2e9fb659991a9c29d376151783bdf6de-0
24/03/18 20:52:47,890 INFO [worker-rpc-async-replier] Controller: CommitFiles for<PHONE_NUMBER>631-2e9fb659991a9c29d376151783bdf6de-0 success with 1 committed primary partitions, 0 empty primary partitions, 0 failed primary partitions, 0 committed replica partitions, 0 empty replica partitions, 0 failed replica partitions.

The change related to FLINK-25055 LGTM.

cc @RexXiong, @FMX.

Thanks, merge to main(v0.5.0)


script2 for 2nd html page that display recipe in details

Created a template and conf called on how it can be programmed. this js file is to be separated from from the main page and script file for easy collaboration and minimize conflict when more than one coder to be working on it.
it needs to get the index value from the url that redirect user to the 2nd page for receipt details such as cooking instructions. ingredients and related sport calories burn rate. It may also house the saved recipe UI and displaying user saved recipients.

you want link the script2 with script 1 file so you can reuse functions that we built without having to do another set of already exit functions

start by linking the two files first and when you can then call the functions from script2 to script1

you  then take the passed on recipeID value in the window.location object to search on same recipes that is being show on page 1but in details on page 2 from the local storage

-Recipe ID from window.location.search to do a new localStorage search function of recipe

close issue as we took care of it with the same script file.


[Darwin] Properly delete chip::Callback on success/failure

Problem
When success/failure callbacks are fired, one of them is not properly delete.
Change overview

Glued them together under a single CHIPCallbackBridge class

Testing
It was tested locally using: xcodebuild test -target "CHIP" -scheme "CHIP Framework Tests" -sdk macosx

@vivien-apple - conflicts. adding this comment to also remove stale flag (if  possible)


Add Tobfd Bot to list with bots from comunity

Added my very cool Pycord Bot.
In this PR was updated the documentation.
This PR is not a code change.

We are not accepting closed-source bots anymore, as per https://github.com/Pycord-Development/guide/commit/1e85e811.


Cost function in VAE example

The kl part of the cost function in the vae example seems to be different than the one from the authors. In particular, it should be :
- 0.5 * K.mean(1 + 2 * z_log_std - K.square(z_mean) -K.square(K.exp(z_log_std)), axis=-1)
Or we can simply imagine the network is estimating z_log_std_squared and change the sampling function to:
return z_mean + K.sqrt(K.exp(z_log_std)) * epsilon

Moreover, changing the reconstruction part of the code to the line below has immensely  (changed the scope of loss values / improved performance)
 xent_loss = \             -tf.reduce_sum(x * tf.log(1e-10 + x_decoded_mean)                            + (1-x) * tf.log(1e-10 + 1 - x_decoded_mean),1)
There must be something going on with the objectives.binary_crossentropy

I came here to report the same thing :)
Another thing seems to be missing from the KL loss: the effective std of Z is z_log_std * epsilon_std, and that's omitted atm. I believe the correct form would be:
 -0.5 * K.mean(1 + 2 * (z_log_std + np.log(epsilon_std)) - K.square(z_mean) + (epsilon_std ** 2) * K.exp(2 * z_log_std)
I'd be more than willing to set up a pull request, would be my first OSS contribution so someone telling me how to proceed would be great.
Cheers!

Fixed in https://github.com/fchollet/keras/pull/3220


Support versioning path properties

This PR lazily computes, caches, and updates a hash of path properties as their version.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3139/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3140/
Test PASSed.


Updated CWeaponMedigun::AllowedToHealTarget()'s signature

Updated a signature that joke_medigun_mod_drain_health.sp uses.
"The old signature is the same as the new one, it just has way more bytes"
Well, yes. The thing is that there is another function that matches that same signature.
Rather than detouring CWeaponMedigun::AllowedToHealTarget(), you're detouring CTFStunBall::ShouldBallTouch().
It works on my server.
You're free to cut down that signature to what is enough to achieve the same result, but I don't know how to do it :P

Ah, that's suffering.
I think we can get away with encoding the actual jump offset to reduce the signature length significantly.


attr_accessor Reference Tags Not Copying Across Classes

I am trying to link an attr_accessor's documentation across two separate classes. The first class has the correct documentation.
Steps to reproduce
In a file lib/memory.rb:
class Memory
  # The main runner, must respond to #call
  # @return [Proc/Lambda] the runner
  attr_accessor :circuit
end

In a file lib/redis.rb
class Redis
  # (see Memory#circuit)
  attr_accessor :circuit
end

Run yard from the shell.
Actual Output
Here is the output for the Redis class:

Expected Output
I expected the docstring and return tag to be copied over.
Environment details:

OS: OSX
Ruby version 2.4.0
YARD version 0.9.8

I have read the Contributing Guide.
I just want to point out that @see and @return (see Memory#circuit) do in fact work. However I want the description as well.  The docs in reference tags say

[it] takes the docstring and all tags (param and return)

Looking at yard --debug in this case, lib/redis.rb is being parsed before lib/memory.rb, which means that the see tag will fail to reference contents of the object. Unfortunately docstring see tags are file order dependent, because they are processed lexically.
To fix this you can use explicit file ordering in your .yardopts file:
lib/memory.rb
lib/**/*.rb

Or on the command line: `yard doc lib/memory.rb lib/**/*.rb'

FWIW, a note for this in the docs may be useful here.

Closing out some old issues. Given the significant age of this, it would be best to re-open with new context if it's still relevant.


⚠ Bofrost.at has degraded performance

In 891a5f0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1232 ms

Resolved: Bofrost.at performance has improved in dc54526 after 42 minutes.


Build failure: mesa (aarch64)

Steps To Reproduce
Steps to reproduce the behavior:

build mesa on an aarch64 host

Build log
❯ nix log /nix/store/axzm7rxbdz1xvz25hgxlc27rv1wck626-mesa-24.0.0.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/axzm7rxbdz1xvz25hgxlc27rv1wck626-mesa-24.0.0.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/wnn0j555mi9s2aj5dx8f7svz2y4bg5wh-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
applying patch /nix/store/q6a122idzfix30ffb10jfzl9p3h9793z-musl.patch
patching file src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
patching file src/gallium/drivers/freedreno/freedreno_util.h
Hunk #1 succeeded at 114 (offset 6 lines).
patching file src/gallium/frontends/nine/nine_debug.c
Hunk #1 succeeded at 65 with fuzz 2.
patching file src/util/rand_xor.c
applying patch /nix/store/j85q1lxb62khdmjj1kgilib8w7kvpc78-opencl.patch
patching file meson.build
patching file meson_options.txt
patching file src/gallium/targets/opencl/meson.build
patching file src/gallium/targets/rusticl/meson.build
applying patch /nix/store/0f62mdlb7bnrnryhkddy2lxr9il82flp-disk_cache-include-dri-driver-path-in-cache-key.patch
patching file meson_options.txt
Hunk #1 succeeded at 519 (offset 6 lines).
patching file src/util/disk_cache.c
Hunk #1 succeeded at 218 (offset -8 lines).
Hunk #2 succeeded at 242 (offset -8 lines).
patching file src/util/meson.build
Hunk #1 succeeded at 286 (offset 18 lines).
applying patch /nix/store/2y1l3alwq7sgdqjpjf99l579ms9317zn-0001-dri-added-build-dependencies-for-systems-using-non-s.patch
patching file src/gallium/targets/dri/meson.build
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/gallium/targets/dri/meson.build.rej
patching file src/glx/meson.build
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/glx/meson.build.rej
patching file src/loader/meson.build
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/loader/meson.build.rej

Additional context
Add any other context about the problem here.
Notify maintainers
@primeos
@vcunat
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-linux"`
 - host os: `Linux 6.6.0-asahi, NixOS, 24.05 (Uakari), 24.05.20240108.317484b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

nix log /nix/store/axzm7rxbdz1xvz25hgxlc27rv1wck626-mesa-24.0.0.drv

We do not have mesa-24.x in nixpkgs anywhere (23.3.3 at newest), so that's surely a change on your side, causing this conflict.

Ah! Of course. I forgot that the asahi stuff heavily modified mesa. The bug report should go to them instead. Thanks, and sorry for the confusion.

This one, for reference: https://github.com/tpwrules/nixos-apple-silicon/issues/143

This one, for reference: tpwrules/nixos-apple-silicon#143

Yes, and using the branch from that PR did resolve the issue.


Ignore .kotlin directory

Current dependencies on/for this PR:

main

PR #44   👈

This stack of pull requests is managed by Graphite.


Document Development Environment based on install_yamls

This version of the documents describe how to use install_yamls/devsetup to configure edpm-compute-0 with isolated networks which can access the NG control plane on k8s. It then covers installing OpenStack Wallaby using TripleO Standalone on the edpm-compute-0 node with network isolation and Ceph and provides example environment files. It then explains how to add an NG deployment to the environment and leaves the reader linked to the adoption procedures they can follow in the new environment.

Thanks :+1:. I'm going to try and run through this ASAP. @fao89 can you please give this a try too? And maybe @booxter as i think you were waiting with OVN test suite implementation for a net-isolated dev env?

Thanks @fultonj, I had a quick look and it seems very good, I'll try the setup in the Glance adoption context (with NFS) where I was stuck due to the missing network isolation!


Error in adding clusters doc

I think there is an error in the documentation for adding a cluster via the CLI. The docs specify a controller domain which is the cluster domain prepended by https://controller. but when I use a full controller domain I end up with a misconfigured cluster because the git url is set to https://git.https://controller.paas.praece.com. I am able to set up the cluster properly using just the cluster domain, in this example paas.praece.com.

Link to referenced doc: https://flynn.io/docs/cli#adding-clusters

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


docs: Fix minor doc typo issue that was causing doc rendering issues

Fixes crossplaneio/crossplaneio.github.io#14

Thank you for your contribution @thephred! :)


Http requests throw XMLHttpRequest error

A simple http request, an error was reported on flutter web, The request succeeds in python/JS when I run it separately.
But it always fails in flutter.
Steps to Reproduce

The API used is a simple helloworld API from firebase cloud.
String url = 'https://us-central1-app1fb.cloudfunctions.net/helloWorld';
String rsp;
final response = http.get(url).then((value) => {rsp = value.body});
print(rsp);
Expected results:
Hello From Firebase!
Actual results:
Error: XMLHttpRequest error.
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 909:28                get current
packages/http/src/browser_client.dart 84:22
dart-sdk/lib/async/zone.dart 1613:54                                              runUnary
dart-sdk/lib/async/future_impl.dart 155:18                                        handleValue
dart-sdk/lib/async/future_impl.dart 707:44                                        handleValueCallback
dart-sdk/lib/async/future_impl.dart 736:13                                        _propagateToListeners
dart-sdk/lib/async/future_impl.dart 533:7                                         [_complete]
dart-sdk/lib/async/stream_pipe.dart 61:11                                         _cancelAndValue
dart-sdk/lib/async/stream.dart 1219:7
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 324:14  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 329:39  dcall
dart-sdk/lib/html/dart2js/html_dart2js.dart 37307:58
at Object.createErrorWithStack (http://localhost:37569/dart_sdk.js:5362:12)
at Object._rethrow (http://localhost:37569/dart_sdk.js:39548:16)
at async._AsyncCallbackEntry.new.callback (http://localhost:37569/dart_sdk.js:39542:13)
at Object._microtaskLoop (http://localhost:37569/dart_sdk.js:39374:13)
at _startMicrotaskLoop (http://localhost:37569/dart_sdk.js:39380:13)
at http://localhost:37569/dart_sdk.js:34887:9

Logs

[  +41 ms] executing: uname -m
[  +20 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +3 ms] executing: [/home/nishanth/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] executing: [/home/nishanth/snap/flutter/common/flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[  +12 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] 2.2.2
[   +6 ms] executing: [/home/nishanth/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/nishanth/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +48 ms] Unable to locate an Android SDK.
[   +4 ms] executing: [/home/nishanth/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +33 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +40 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +42 ms] Skipping pub get: version match.
[  +63 ms] Generating /home/nishanth/coding/random/newapp/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +94 ms] Launching lib/main.dart on Chrome in debug mode...
[  +62 ms] Updating assets
[  +43 ms] Waiting for connection from debug service on Chrome...
[  +57 ms] <- reset
[   +3 ms] /home/nishanth/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/nishanth/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/nishanth/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/
--incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.QOPYCS/flutter_tool.XJGYWK/app.dill
--libraries-spec file:///home/nishanth/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /home/nishanth/coding/random/newapp/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.QOPYCS/flutter_tools.AOOTXW --filesystem-scheme org-dartlang-app
--initialize-from-dill build/c7922d95bf4a2462b75c84a97c312edb.cache.dill.track.dill --platform file:///home/nishanth/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
--no-sound-null-safety
[   +7 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+11500 ms] Waiting for connection from debug service on Chrome... (completed in 11.6s)
[        ] Synced 30.6MB.
[        ] <- accept
[        ] Caching compiled dill
[  +56 ms] Using Google Chrome 91.0.4472.114

[ +240 ms] [CHROME]:
[        ] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:46719/devtools/browser/20596980-211a-4b2d-beb8-c991f5a1db4c
[ +155 ms] DwdsInjector: Received request for entrypoint at http://localhost:35511/main_module.bootstrap.js
[   +6 ms] MetadataProvider: Loading debug metadata...
[  +10 ms] MetadataProvider: Loaded debug metadata (no sound null safety)
[   +6 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:35511/main_module.bootstrap.js
[+1091 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: false
[  +43 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:46083/XRtwr-Ne5sQ=/ws

[  +14 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:46083/XRtwr-Ne5sQ=/ws
[   +4 ms] Debug service listening on ws://<IP_ADDRESS>:46083/XRtwr-Ne5sQ=/ws
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +1 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[+6376 ms] null
[ +313 ms] null
[ +391 ms] Error: XMLHttpRequest error.
                        dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 909:28                get current
                    packages/http/src/browser_client.dart 84:22                                       <fn>
                    dart-sdk/lib/async/zone.dart 1613:54                                              runUnary
                    dart-sdk/lib/async/future_impl.dart 155:18                                        handleValue
                    dart-sdk/lib/async/future_impl.dart 707:44                                        handleValueCallback
                    dart-sdk/lib/async/future_impl.dart 736:13                                        _propagateToListeners
                    dart-sdk/lib/async/future_impl.dart 533:7                                         [_complete]
                    dart-sdk/lib/async/stream_pipe.dart 61:11                                         _cancelAndValue
                    dart-sdk/lib/async/stream.dart 1219:7                                             <fn>
                    dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 324:14  _checkAndCall
                    dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 329:39  dcall
                    dart-sdk/lib/html/dart2js/html_dart2js.dart 37307:58                              <fn>

                        at Object.createErrorWithStack (http://localhost:35511/dart_sdk.js:5362:12)
                        at Object._rethrow (http://localhost:35511/dart_sdk.js:39548:16)
                        at async._AsyncCallbackEntry.new.callback (http://localhost:35511/dart_sdk.js:39542:13)
                        at Object._microtaskLoop (http://localhost:35511/dart_sdk.js:39374:13)
                        at _startMicrotaskLoop (http://localhost:35511/dart_sdk.js:39380:13)
                        at http://localhost:35511/dart_sdk.js:34887:9
[   +2 ms] null

flutter analyze
Analyzing newapp...
No issues found! (ran in 0.7s)

[✓] Flutter (Channel stable, 2.2.2, on Linux, locale en_IN)
    • Flutter version 2.2.2 at /home/nishanth/snap/flutter/common/flutter
    • Framework revision d79295af24 (4 weeks ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114

! Doctor found issues in 2 categories.

You are printing before the request completes. Either use await or put print in the .then block. Check the example on https://pub.dev/packages/http

@Nishanth1311
Check if above solution helps. If not, I think this is related to CORS over which flutter has no control. You may need to enable it in the backend you are using.
Closing as this isn't a flutter issue. If you disagree, write in comments and I'll reopen it.

@darshankawar I understand that I am printing it incorrectly. I've attached the wrong code here.
But I did try printing the result in the 'then' statement.
String url = 'https://us-central1-app1fb.cloudfunctions.net/helloWorld';
String rsp;
final response = http.get(url).then((value) => {rsp = value.body, print(rsp)});
But the above code does not work as well.
I can confirm that the HTTP calls are working well in node/python.
Its just failing in flutter.

Please re-open the issue.


UseTransformer - Trait import in enum fix (PHP8.1)

closes https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6178

Coverage increased (+0.007%) to 93.045% when pulling b45f17a99353c86d99e64424f68015fd9ecf229a on SpacePossum:master_6178 into 00096f01266da9160dadced3421df34369522a86 on FriendsOfPHP:master.

Clsoe because I found: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6178

please add a new tag with this fix.


fix(ibm-request-and-response-content): exempt minimally represented resource PUTs

PR summary

According to the API Handbook, a PUT request on a minimally represented resource path is allowed to return a 201 with no content. This rule needed adjusting to make an exemption for this scenario.
PR Checklist
General checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)

:tada: This PR is included in version 1.15.8 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.16.9 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket: