feat(aws-s3-stepfunctions): Changed escape hatch to eventBridgeEnabled prop

Issue #565 , if available:
Description of changes:

Changed escape hatch to eventBridgeEnabled prop
Generated new integ expected JSON
Updated unit tests for Custom EventBridge Enabled

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
fixes #565

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 8023dbe91b60adc4b9ae8e8c5ebacff003fb3992
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 8023dbe91b60adc4b9ae8e8c5ebacff003fb3992
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 487ea23c9857f007372762e42ac82b99738744f2
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: 487ea23c9857f007372762e42ac82b99738744f2
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: b05dc8cff8d979b1bad29e9da8affaf7b438af2b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: b05dc8cff8d979b1bad29e9da8affaf7b438af2b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: d82f1945bbbb9746d3dd9c8b5c61d78801d0761f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: d82f1945bbbb9746d3dd9c8b5c61d78801d0761f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: a3ed44c4b2365c9c163db26d00777e13c12514ac
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v1
Commit ID: a3ed44c4b2365c9c163db26d00777e13c12514ac
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Increase Slack community member count to 900

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2671
Originally created by @DouweM on 2021-03-24 15:58:36

View 2 previous comments from the original issue on GitLab


Add JSX selection on creating project by 3.0

What problem does this feature solve?
Some project we want use JSX syntax，Vue-cli should support select this feature in manual process.
What does the proposed API look like?

It's supported out of the box.


Make it webpack 5-friendly

🕸📦 ⒌

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Set maximum bound problem

@codeofsumit
I want the drawings to be made within a certain area. To do this, I tried to set the boundary with the setMaxBounds function on the map object, but it didn't work.
How could I do that?

Hi @ismaildervisoglu,
hmm from the top of my head I would approach it like this:
I would draw an invisible polygon to set the area where you want the drawings to be made.
Whenever the user draws, I would leverage the leaflet.pm events to constantly check if the currently drawn shape is within that boundry polygon.
For the comparison, I would use the library turf.
This is a similar way how I disallow polygon self-intersection for example.
Hope this helps!
By the way, I'm also building a tool for more advanced geo editing like changing styles and so on. It's Geoman and I will release version 1.0 soon.
You can check the current beta already here though: https//geoman.io


add test results to profiling

This isn't the place for the results, but it was easier than storing it in the spreadsheet at first (will dump there now).
There are two baselines, one with the current setup on prod, the one with the current baseline on stage.
I ran a few different tests, firstly looking at the max_expansions on the fuzzy search. While this helped by dropping from 50 -> 40, there seemed to be diminishing or fewer returns after that and we were still over the 500ms bar. We already have prefix_length: 2, which is a recommendation when using max_expansions.
What seems to make a significant difference is removing a piece of the query that we use to match the prefix of a title. I tried this on the prod version too and it seems to have made a difference. @harrisonpim it would be good to talk about whether we think we can rework, or drop, at least for a bit, that part of the query?

q
stage
p95
saving

baseline
prod
344
0

no prefix title
prod
279
19%

baseline
stage
707
0

no prefix title
stage
482
32%

ME 40
stage
600
16%

ME 30
stage
569
20%

ME 20
stage
624
12%

ME 10
stage
687
3%

I'm having difficulty following what this change is for?

Closing, I'll move the results to the issue.


GaxError Exception occurred in retry method

Hi,
While using Gax in google-cloud-language development, both my local testing and our Travis CI build sometimes get the following error. Retrying the call usually succeeds.
The backtrace pasted below is from Job #1433, which should contain all details about the environment.
Thank you!
Google::Gax::RetryError: GaxError Exception occurred in retry method that was not classified as transient, caused by 14:{"created":"@1472169812.007530609","description":"Secure read failed","file":"src/core/lib/security/transport/secure_endpoint.c","file_line":157,"grpc_status":14,"referenced_errors":[{"created":"@1472169812.007501620","description":"EOF","file":"src/core/lib/iomgr/tcp_posix.c","file_line":235}]}
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:352:in `rescue in block (2 levels) in retryable'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:346:in `block (2 levels) in retryable'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:345:in `loop'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:345:in `block in retryable'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:264:in `call'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:264:in `block in catch_errors'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:226:in `call'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:226:in `block in create_api_call'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:252:in `call'
    /home/travis/.rvm/gems/ruby-2.2.5/gems/google-gax-0.4.4/lib/google/gax/api_callable.rb:252:in `block in create_api_call'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/lib/google/cloud/language/v1beta1/language_service_api.rb:198:in `call'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/lib/google/cloud/language/v1beta1/language_service_api.rb:198:in `annotate_text'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/lib/google/cloud/language/service.rb:80:in `block in annotate'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/lib/google/cloud/language/service.rb:105:in `execute'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/lib/google/cloud/language/service.rb:80:in `annotate'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/lib/google/cloud/language/project.rb:176:in `annotate'
    /home/travis/build/GoogleCloudPlatform/google-cloud-ruby/google-cloud-language/acceptance/language/text_test.rb:60:in `block (3 levels) in <top (required)>'

Are errors like this to be expected? Do clients need to do anything to handle these errors?

Hmm. It looks like a gRPC error occurred there (and GAX thinks it's not a retryable error, so it raises an exception).
I've never seen such error as long as I tried locally, so I am not sure why it happens on you or Travis. description":"Secure read failed" looks weird -- it happens some exceptional network failure happens.

@quartzmo has had this error locally, but I've never seen it.

Looked into the message a bit more, the core reason of the failure seems to be "description":"EOF","file":"src/core/lib/iomgr/tcp_posix.c","file_line":235, which is seen at the end of the first line. And that happens when recvmsg (in C) returns 0.
According to http://pubs.opengroup.org/onlinepubs/009695399/functions/recvmsg.html,

If no messages are available to be received and the peer has performed an orderly shutdown, recvmsg() shall return 0.

I am not sure why the connection was closed by the peer (i.e. google service), but I think that would be a network trouble on the machine.

Network trouble on the Google service? Or the client?

I'm thinking about the client-side trouble.
In the case of Travis, I believe that the network connection from the Travis instance will be managed/supervised by Travis itself, and the connection could be forcibly closed by them for some reasons (time consuming, for example).

Ugh, I've heard that some troubles happened on Google's service-side very recently and that might have caused this issue. They fixed the code, so, please double check if it still reproduces.

I can no longer reproduce, and I haven't seen it on Travis CI today either. Thanks for your help!

I'm seeing this error in both error_reporting and logging when running locally and on GAE. The error isn't consistent, and it doesn't seem to prevent my gRPC requests to go through successfully.


Could we have an english version?

is that possible or planed to have an english version?

Sorry, the English version is not supported yet.


Speed boast copy modules

This is a 🙋♂ feature or enhancement.

[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[x] The test suite passes (run bundle exec rspec to verify this)

Summary
Speed boast to terraspace build.

Instead of compiling and rendering down ERB for app/modules files. It'll straight copy these files. It's a notable speed improvement.
Rough numbers: Tested with a module that has about 100 files. Noticed a speed improvement of 8s down to 0.5s.

For this change, terraspace prints a warning message about the change in behavior. In the next major release, the warning will go away and this will be the default behavior.
To disable warning set the new config explicitly.
.terraspace/config.rb
Terraspace.configure do |config|
  config.build.copy_modules = true
end

Context
Community Post: Running "terraspace up stack" is slow
How to Test
Sanity check
Version Changes
Patch

Released in 2.2.5


Ember: return HTTP 431 when maxHeaderSize is exceeded

Adds a maxHeaderSizeErrorHandler property to EmberServerBuilder
The default returns an empty 431 response when the default message length is exceeded.  Currently, we return a 500.

I don't love the proliferation of options, but I think this is in the original spirit of the errorHandler.  This needs a rethink in 1.0.
Fixes #7395.

The simpler way is just to add a case to the default errorHandler, but even the example apps obliterate the default instead of composing it. :shrug:


The Texture for my Item is not working only showing the purple and black pixlated block

In the Run for Minecraft Client the showed me this "Unable to load model: 'stone_crawlers_mod_lastcopperking:jasper#inventory' referenced from: stone_crawlers_mod_lastcopperking:jasper#inventory: java.io.FileNotFoundException: stone_crawlers_mod_lastcopperking:models/item/jasper.json" and i don't know how to solve it. Should i send the mod on here for you to check it out?

That error means your model for "jasper" does not exist or is in the wrong path. If it does exist, place it in assets/your_modid_here/models/item/jasper.json

I did and it still says the same thing and the texture still does not work.

You need block models and block states too to make it work.
Those go in
assets/your_modid/blockstates and
assets/your_modid/models/block

Is the your_modid_here directory actually named stone_crawlers_mod_lastcopperking?

Yes it is

Do u mean a block version of the item or something else
On Sun, Mar 31, 2024 at 7:44 PM Cryptic @.***> wrote:

You need block models and block states too to make it work.
Those go in
assets/your_modid/blockstates and
assets/your_modid/models/block
—
Reply to this email directly, view it on GitHub
https://github.com/Tutorials-By-Kaupenjoe/Fabric-Tutorial-1.20.X/issues/8#issuecomment-2028840874,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFJN36JQNZ6NZEII2BHSSP3Y3BDQNAVCNFSM6AAAAABFMFJUN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYHA2DAOBXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

@LastCopperKing Can you please upload your code to Google Drive or something and send the link? I will try to help.

I've also had this issue, would you mind posting the solution?


Publish tagged releases to a container registry

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
There's a workflow that builds container images and publishes them to GitHub's container registry. However, even though there are version tags (and the build runs with those tags), the versioned tags are not published.
Describe the solution you'd like
A clear and concise description of what you want to happen.
It would be nice to have tags we can use, like: ghcr.io/postgresml/pgcat:1, ghcr.io/postgresml/pgcat:1.0.0, ghcr.io/postgresml/pgcat:1.1.0, etc.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
We can pin to a digest and always use the latest tag, but it's a lot less straightforward to know when a given release is "recommended" (users generally assume that tagged releases are better than "whatever the latest main branch build is")
Additional context
Add any other context or screenshots about the feature request here.

We tried to do this recently, but apparently it didn't work: https://github.com/postgresml/pgcat/pull/508
A PR for this is absolutely welcome.

it looks like that the CI was triggered correctly: https://github.com/postgresml/pgcat/actions/runs/5659957126/job/15334598381
Should we add so many tags. Checking current setup we will generate a tag for:

Each commit hash
nightly
tag
branch
pr id
lastest that will point to the latest build of the main branch

Is not the case just to:

use latest for the latest stable tag?
use edge to the latest commit?
a tag for every new tag in the project?

@sebastianwebber @levkk if you want to I can open a PR with this suggestions next week.

use latest for the latest stable tag?

use edge to the latest commit?

a tag for every new tag in the project?

I'm not too familiar with how Docker generates its metadata using the plugin, but looking at the last run from a few weeks ago, the only tag being built is the hashed tag:

It only has one tag output (ghcr.io/postgresml/pgcat:1f2c6507f7fb5461df1a599c0b380aa114597bb5), and I'd have expected there to be multiple tags (the hash, latest, as well as a versioned tag)
Only the tags for latest, the branch (main), and the hash seem to be making it to the repository for some reason:

I think this is fixed with the latest tagged release 🎉


Pivots not working with run_inline_query??

Hey Maxie, I'm having trouble with the "run_inline_query" function. It seems to be completely ignoring any information that's added for "pivots". When I add a dimension as a pivot, the function runs normally as if nothing was there at all and completely ignores whatever I put in that section. I did a (very amateurish...) review of the underlying code and it looks like this input isn't used at all? Was this functionality removed recently??

+1 Cengage


Create a production image for the front-end (nginx)

@christyler3030 I'm not an expert on NGINX, do you have some pointers?
I'm not sure how our users will be able to enter "their own" backend. Assuming a proxy file:
# nginx/proxy.conf
local localhost:8091

Do we ask our users to modify this file? Do we have an env-var that creates the mapping before starting nginx? What were you thinking?

From our discussions, we are trying to solve two problems:

Map resources (Ex: local => http://localhost:8091, remote => mycoolbackend.com)
Use NGINX to handle HTTPS, malformed requests, probing attack etc.

What would be ideal would be:

Continue to develop server.js so that we can do the resource mapping there.
Setup very small nginx proxy that redirects all traffic to this small backend.

To me, the latter is less important and we should prioritize 1, which would enable users to run Azimuth on the Cloud, on a K8 server while hosting the frontend locally or somewhere else entirely.
Thoughts?


fix: append value if parameter has no closing quote

We weren't appending the value if there was no closing quote:
Append the result of collecting a sequence of code points that are not
U+0022 (") or U+005C (\) from input, given position, to value.

this fixes serializing text/html;charset="gbk, haven't ran the other tests


A few optimizations and removal of imperative uses of if.

In Elixir 1.3 imperative uses of if are going to emit warnings, so I wanted to remove those, and maybe optimize the code a little while I was at it. This PR changed 3 things.

The until key doesn't get added to the map when it is nil in Parser.captured_zone_map_clean_up/1.
The period map isn't created when until_utc == from in PeriodBuilder.calc_periods_for_year/9.
The output of Util._string_amount_to_secs/1 is calculated normally and multiplied by -1 at the end if hours is negative.

Did you try this with Elixir master? Does Elixir master emit warnings now? And if so, do these changes get rid of the warnings?

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

Yes, I also tried it on the current Elixir master and it got rid of the warnings they emitted before this PR.


Integrating XPlot with FsLab

Hello,
I spent a bit of time playing with XPlot recently and it looks great and very feature complete!
I started Foogle Charts some time ago with the goal of wrapping some nice simple cross-platform visualization library (without too many external dependencies) to eventually replace FSharp Charting as the default visualization library for F# (FSharp Charting is still nice sometimes, but the fact that it is Windows only is becoming a big problem). Looking at XPlot, it looks like you did pretty much all the work already :-) so, I was thinking that we could abandon Foogle Charts and instead make XPlot the main library...
There are a couple of things that would be really nice to do in order to make integrating XPlot with FsLab and other data science projects easier - I'm happy to look into those and send PRs, but wanted to check with you first:

Adding a license - I noticed the project does not have explicit license. Would you mind adding one? (I think Apache 2.0 would be perfect as most other F# projects use it, but anything compatible with it would probably work..)

Avoiding WPF dependency - I tried using XPlot on Mac, but it didn't work well because of the WPF code that is used to show charts. In FsLab we just open a browser (which is poorer user experience, but it works everywhere). Could we extract the WPF code into a separate DLL, so that you get the XPlot behavior if you want, but FsLab can reference WPF-free "core" DLL?

Using ProjectScaffold - All of the projects included in FsLab use Project Scaffold for building & documenting the code. Now, XPlot already has its own (and pretty nice) docs and releases, but I think it would still be valuable to use ProjectScaffold for this - mainly because following the same template makes it easy for others to contribute - they already know how things work (and I believe people also tend to trust OSS projects that use it).

I already did a little bit of work on (2) - see #6 - and I'm happy to create a prototype & PR for (3) so that we can discuss everything there (to make sure it would work for you).

Hello Tomas, I added a license and merged #6. Regarding the migration to ProjectScaffold, it would be great if you guide me through the process. Meanwhile I'll finalize testing the plotly package and improving its API.
Feel free to indicate any other changes necessary to streamline the FsLab integration.

Thank you!
I'll have a look at the ProjectScaffold PR and write a detailed comment when I send it (hopefully tomorrow, but might take a bit longer...).

I published new packages so there is nothing standing in the integration's way. For now the old documentation is still online until the new one is ready.

Fantastic :-) both of the FsLab templates are now using this:

https://github.com/fslaborg/FsLab.Templates/commit/18abb622417407403a5d88efcc324081a43580a6
https://github.com/fslaborg/FsLab.Templates/commit/b2a2df630add8840dc82cfa288b1089dbbaf57c3

The second template actually looks much nicer with XPlot!

BTW @TahaHachana - If you are not a member yet, please consider joining the F# Data Science Google group: https://groups.google.com/group/fsharp-data-science. This is a place where a lot of the discussions about FsLab happen (and I'll send some announcement about XPlot there) & it's also a place where we can get more contributors for XPlot :-)

I joined the group since it became public, thanks for the announcement email by the way. Issues #8, #9 and #10 have been fixed (even if #9 still concerns me).

Nice, thank you for all the help with this!


Feat support map

Supports map type resolution and has been approved by TestDefine

Sorry, I have been busy with another project recently and forgot to follow it.
I will take time to take a look at it in the afternoon.
I am very sorry.
@HugoWw

Step back from the pr process

@HugoWw Finally, need to solve the unit-test error.

@HugoWw Finally, need to solve the unit-test error.

done!

Thanks for your contribution, I will release it in 1.6.0.

Thanks for your contribution, I will release it in 1.6.0.

My pleasure


feat(protocol-designer): mix tools advanced settings and mix batch edit

closes AUTH-930 AUTH-926
Overview
NOTE: this is built off of https://github.com/Opentrons/opentrons/pull/16488, so that needs to merge first and then this can merge
Adds advanced settings for the mix tools and wires up the batch edit mix tools.
Test Plan and Hands on Testing
Create a protocol and make a mix step, check out page 2 of the mix step and try each of the advanced settings to make sure it works as expected
then make another mix step
finally, command + click on both mix steps and see the batch edit mix tools and make sure each setting works as expected
Changelog

adds advanced settings fields to the mix tools page 2
wires up the batch edit mix tools

Risk assessment
low

closing because it was easier to cherry-pick the commit onto a new branch to resolve the merge conflicts


There is something wrong with the website.

The website "https://waymo.com/open/" does not function rightly, when I log in the Challenges. The "submit" button turns into "working" and cannot be click on, as in the figure.

Could you try this again?  It should be working now.  Thank you for flagging this.

Yes, it works!

In "Download" and "Challenges", after I fill out the form and read terms to the bottom, I still can not click the check boxes. I have tried cleaning the cookies and it did not work.


Add NVIDIA GPUs to pkgci regression tests.

Filling in more vendor/device/API coverage.
TODO (later?):

merge these back into a single workflow using a matrix once they are stable
Standardize the set of tests each job runs (include full model tests, which needs Git LFS installed/installable on all runners)
Rename jobs, runners, etc. for consistency (just using 'gpu' to mean 'NVIDIA T4' is not great)

I'm a little concerned with how much work updating XFAIL sets will be across CPU, Vulkan, CUDA, and ROCm. https://github.com/openxla/iree/pull/16958 will help a bit, but https://github.com/openxla/iree/pull/16974 still took me ~5 tries to get the lists fully synced for just ROCm x_x

I'm a little concerned with how much work updating XFAIL sets will be across CPU, Vulkan, CUDA, and ROCm. #16958 will help a bit, but #16974 still took me ~5 tries to get the lists fully synced for just ROCm x_x

Yeah, I was thinking that too, but we will have to maintain separate lists right or maybe we can have a common list that the conftest checks on for tests that fail before it gets to the backend dependent stuff?

We could add a common list, but I haven't given much thought to how that would actually work... seems messy if a test starts failing on one backend or newly passing on only some backends.
I think I could script updating the config files from logs (Stella had the start of such a script here: https://gist.github.com/stellaraccident/eb3573840d54a401bca89c456430c255). I've been using a combination of text editor shortcuts and diff personally so far. Ideally the test runner itself would generate a config file to "accept" the test results, but I think that would take a bit longer to code into pytest (tried it briefly, it's tricky)


chmod command for changing access permissions added.

Command changes access permissions for files and directories as per user specification. If user provides permissions in octal form, the permissions are verified to be 9-bit long (rwx for user,group, and other).
If particular permission (r/w/x) is provided to add/remove to all types of users (+r/-r/+w/-w/+x/-x), check is performed to ensure no invalid character is present before changing permissions.
Exception handling for PermissionError is provided alongside check for valid file or directory path.

give @vihar-s1 150 points

Excellent work @vihar-s1 !!!

You can take up the comment mentioned in the issue as a suggestion to enhance your solution.


Headless rendering broken on Linux

I'm trying to get headless rendering working for my glTF viewer (for screenshot generation). On macOS it works fine, but on Linux (Debian Stretch / Ubuntu 16.04) I'm either getting blank images or context creation errors. Here are some logs for both cases:
Black + Transparent image
[DEBUG] Renderer     : (NULL)
[DEBUG] Vendor       : (NULL)
[DEBUG] Version      : (NULL)
[DEBUG] GLSL         : (NULL)
[DEBUG] Profile      : None
[DEBUG] Context Flags: Debug: false, Forward Compatible: false
[DEBUG] Extensions   :
[INFO] Imported glTF in         4.8 ms
[DEBUG] Found no TANGENTS for primitive 0 of mesh 0 (tangent calculation not implemented yet)
[INFO] Loaded scene with 2 nodes, 1 meshes in 217 µs
Saved 800x600 screenshot to /input/Box.png

It's strange that gl::GetString() doesn't show any renderer/version information and gl::GetError() show nothing either.
Context Creation fails
When explicitly requesting an OpenGL 3.3 Core context (by uncommenting these lines):
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OsError("OSMesaCreateContextAttribs failed")', /checkout/src/libcore/result.rs:906:4
(from here)
According to glxinfo, OpenGL 3.3 should be supported:
$ xvfb-run --auto-servernum --server-args="-screen 0 640x480x24" glxinfo | grep OpenGL
...
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
...

(on Ubuntu 16.04 the mesa version is 17.2.4, but the behaviour is the same).
Any ideas? You can reproduce this in Docker by checking out this branch and calling
./real_headless_test.sh

More history/details here: https://github.com/bwasty/gltf-viewer/issues/12

I was getting a similar context creation failure under Mesa on Linux, which I dug into a bit on #1001.
A quick, curious question:  What happens if you use (2,0) instead of (3,3) as the (major,minor) version pair on this line?
This is almost certainly not the correct long term fix, but I'd be interested to know if this workaround that worked for my case also works for you. Thanks.

Hey @bwasty, while I couldn't repo this issue against master (via either Wayland + Headless, X11+ Headless, Wayland, X11, xvfb + X11, xvfb + X11 + Headless), I did track down a bug relating to invalid drop order. Fix is here: #1125. I had to update your program, and I filed the changes I made here: https://github.com/bwasty/gltf-viewer/pull/58.
I'm going to assume this got fixed somewhere between when this bug got filed originally, and today, as there has been major changes to the headless api. If that's not the case, just tell me and I'll reopen this issue.


[EMB-382] hide wiki link in project navbar if wiki is disabled

Purpose
This PR is to modify the node navbar so that the wiki link is omitted when a node has its wiki disabled. It depends on https://github.com/CenterForOpenScience/osf.io/pull/8736.
Summary of Changes
Changed

Models:

node - add wikiEnabled boolean attribute

Components:

node-navbar - only display the Wiki link when node.wikiEnabled

Tests:

node-navbar integration test - added checks for Wiki link presence/omission based on node.wikiEnabled

Side Effects
Should not be any.
Feature Flags
n/a
QA Notes
Embosfed guid-node and guid-registration pages should be tested to make sure the Wiki link appears for nodes/registrations that have their wiki enabled and does not for nodes/registrations that have their wiki disabled. Cross browser testing should not be necessary. There are no known edge cases. This should be low risk.
Ticket
https://openscience.atlassian.net/browse/EMB-382
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1684

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.003%) to 62.634%

Files with Coverage Reduction
New Missed Lines
%

app/models/node.ts
5
74.79%

Totals

Change from base Build 1682:
0.003%

Covered Lines:
3597

Relevant Lines:
5474

💛  - Coveralls

I pulled this into #416, because it'd be all kinds of conflicty.


docs: consolidated client creation snippets

This comes as part of an effort to consolidate the firestore_setup_client_create and firestore_setup_client_create_with_project_id regions.

I am not sure why, but grpc's PHP libraries are reluctant to install on my machine - meaning I have not yet figured out how to run these tests locally. Any tips from @bshaffer or @dazuma would be great!

@craiglabenz have you tried following the installation instructions for gRPC at https://cloud.google.com/php/grpc ?


same interest

hi,are you interested in text-to-image generation?I am doing my parper on this reasearch too.Could you leave your email?

https://github.com/PKU-ICST-MIPL/Bridge-GAN_TCSVT2019
this is the code for bridge-gan which you didn't link to.

https://github.com/PKU-ICST-MIPL/Bridge-GAN_TCSVT2019
this is the code for bridge-gan which you didn't link to.

Thank you for your attention. You can find the Email address at the end of this file. Furthermore, thanks for sharing the code of bridge-GAN.
If you have any further questions or comments, please don’t hesitate to contact me.
Best regards.


fix(vendor): github dependabot alerts

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:

NONE

/area utils
/cc @swordqiu


Kyuubi Spark TPC-DS Connector - Rework SupportsReportStatistics and code refactor

Why are the changes needed?

I notice that for tables *_returns and *_sales, the real records count is different from new Scaling(scale).getRowCount(table), and after some investigation with @cxzl25, it's by design, see https://github.com/Teradata/tpcds/issues/26 for details.
As the official document[1] provides the table row counts for most scales, I just calculate the absent(scale 10, 100, 300).
This PR fixes the *_returns and *_sales tables' statistics, and verifies stats.rowCount when Spark version >= 3.2.
[1] https://tpc.org/TPC_Documents_Current_Versions/pdf/TPC-DS_v3.2.0.pdf
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Thanks @cxzl25 and @wForget for review, merging to master


Update for Django 2.0.1

Just a quick update to current Django.

If we're going to keep this project going (which I'm fine with, I just don't use it any more), I'd like it if the newest release supported Django 1.8, 1.11 and 2.0. You may need to do version checks around imports to fix the CI checks. Let me know if you need a hand doing that.


[Bug] Build bug with production for deployment (Either maybe babel or Webpack issue variable obfuscation)

Describe the Bug

You'll get this error if following the steps I described (standard way from docs). If I miss any step, please let me know.
I have debugged by myself for a couple of days, and I recognized that some variables are accessed incorrectly. But I understand why Babel or Webpack is confused (This is my current guess.. where the issue is..).
This bug does not happen only for Texture.js. There are other files as well in @kitware/vtk.js.
I have tried turning off all mangling.. minimize.. but, I cannot find a way to fix it. As you can see in the below image, "B_" and "dJ" are already inserted. I think Both.. "B_" and "dJ" should be gone..

Steps to Reproduce

Clone the current Viewer master branch

# Enable Yarn Workspaces
yarn config set workspaces-experimental true
# Restore dependencies
yarn install

yarn build: Production build. This will lead dist folder under platform/app.

# Install http-server as a globally available package
yarn global add http-server

# Change the directory to the platform/app

# Serve the files in our current directory
npx serve ./dist -c ../public/serve.json

Go to localhost:3000
Check the console in developer mode

https://github.com/OHIF/Viewers/blob/master/platform/docs/docs/deployment/build-for-production.md
The current behavior

The expected behavior

OS
mac OS 14.4
Node version
18.20.3
Browser
Chrome 126.0.6478.62

I am having the same issue

I checked out tag beta.45 and works flawlessly, my guess it is the babel-loader here:
https://github.com/OHIF/Viewers/commit/88575c6c09fd778a31b2f91524163ce65d1639dd

yeah we fixed this

Hmm.. beta.45 works for you? @wowczarczyk
In my case,  Webpack version was critical... "webpack": "5.89.0"
https://github.com/OHIF/Viewers/commit/b6136acff6e2d0fb3cf5a28068f519ab9b1e61dd
What do you think @wayfarer3130? Which PR fixes this issue? If downgrade of webpack fixed the issue, then.. did you find some relevant issues or discussion in webpack community? This is a temporary fix, right?

Yep, beta.45 works fine


Initial setup for Request Logging in HTTP in the server side

Initialised a HTTP Middleware to log all details of the request
Added options for enabling logging and custom level of logging based on http response status code
Added interface and types for the custom options in the logging middleware

Fixes #2844
Signed-off-by: Yash Sharma<EMAIL_ADDRESS>

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
The current logging looks like this -
level=debug name=query-0 ts=2020-07-27T08:55:01.712803436Z caller=http.go:45 protocol=http http.component=server  http.start_time="2020-07-27 14:25:01.712671672 +0530 IST m=+7.688823783" msg="started call"
level=debug name=query-0 ts=2020-07-27T08:55:01.715027845Z caller=proxy.go:295 msg="store Addr: <IP_ADDRESS>:10901 LabelSets: [name:\"prometheus\" value:\"prom-0\" ] Mint: 0 Maxt:<PHONE_NUMBER>854775807 queried;store Addr: <IP_ADDRESS>:10911 LabelSets: [name:\"prometheus\" value:\"prom-1\" ] Mint: 0 Maxt:<PHONE_NUMBER>854775807 queried;store Addr: <IP_ADDRESS>:10921 LabelSets: [name:\"prometheus\" value:\"prom-2\" ] Mint: 0 Maxt:<PHONE_NUMBER>854775807 queried"
level=debug name=sidecar-2 ts=2020-07-27T08:55:01.719357148Z caller=prometheus.go:259 msg="started handling ReadRequest_STREAMED_XOR_CHUNKS streamed read response."
level=debug name=sidecar-0 ts=2020-07-27T08:55:01.719529925Z caller=prometheus.go:259 msg="started handling ReadRequest_STREAMED_XOR_CHUNKS streamed read response."
level=debug name=sidecar-2 ts=2020-07-27T08:55:01.71962683Z caller=prometheus.go:335 msg="handled ReadRequest_STREAMED_XOR_CHUNKS request." frames=0 series=0
level=debug name=sidecar-0 ts=2020-07-27T08:55:01.719891905Z caller=prometheus.go:335 msg="handled ReadRequest_STREAMED_XOR_CHUNKS request." frames=0 series=0
level=debug name=sidecar-1 ts=2020-07-27T08:55:01.72048064Z caller=prometheus.go:259 msg="started handling ReadRequest_STREAMED_XOR_CHUNKS streamed read response."
level=debug name=sidecar-1 ts=2020-07-27T08:55:01.720773913Z caller=prometheus.go:335 msg="handled ReadRequest_STREAMED_XOR_CHUNKS request." frames=0 series=0
level=debug name=query-0 ts=2020-07-27T08:55:01.722059Z caller=http.go:35 protocol=http http.component=server http.method=query http.request.id=01EE7QPZAHD8BS1W2CXXQMHFYR http.code=200 http.time_ms=9.363 msg="finished call"

Verification

TODO:
Use the sidecar for experimenting the logging -

[ ] Add a flag to accept the log file/stdout
[ ] Configure the HTTP API to use the middleware
[ ] Print the output and discuss whether it is acceptable

Currently, the request logger is configured in these components -

Rule
Query

Here is an example of grpc logging metadata -
msg:"started call"
fields:<github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/logging_test.testDisposableFields> (length: 9)
"protocol":"grpc"
"grpc.component":"client"
"grpc.service":"grpc_middleware.testpb.TestService"
"grpc.method":"PingError"
"grpc.method_type":"unary"
"grpc.start_time":"2020-07-27T13:40:12+05:30"
"grpc.time_ms":"0.038"
"grpc.request.deadline":"2020-07-27T13:40:14+05:30"
"grpc.code":"OK"
lvl:"debug"

We would want a similar metadata from the logging of http.

I have changed the Decider function to use ENUM based decision values. More info here - https://github.com/grpc-ecosystem/go-grpc-middleware/pull/311#pullrequestreview-453106175


Builder can not copy buildcraft pipes

is there any way to get it to copy pipes?

You mean copy and not move? In that case probably no


9999407-java-duplicate-code-exact-fixer

62420488-109Java fixer to fix duplicate code exactCAP issue id: 62420488-109

https://devgraph-alp.atlassian.net/browse/CC-139351
Automated QE Check Result: FAILED
ValidateAllDuplicateLinesAreExactlyTheSame: FAILED
Expression did not match in other instance BulkChange bc3 = new BulkChange(pt);
ValidateDuplicateCodeIsEqualOrMoreThanMinimumDuplicateLines: SUCCESS
ValidateDuplicateCodeStartLineIsCorrect: SUCCESS
ValidateDuplicateCodeEndLineIsCorrect: SUCCESS
ValidateThatDuplicateCodeShouldBeExtracted: SUCCESS
ValidateOnlyRemovedLinesAreAddedIntoExtractedCodeWithSomeExceptions: FAILED
Original code BulkChange bc = new BulkChange(pt); does not match the extracted code BulkChange bc3 = new BulkChange(pt);
ValidateAddedCodeHasCorrectAccessModifier: SUCCESS
ValidateThatCallToExtractedMethodIsSameAtAllPlaces: SUCCESS
ValidateImportsAreCorrect: SUCCESS
ValidateExtractedMethodIsInCorrectLocation: SUCCESS
ValidateFilesModifiedInPrMatchesTheFileInJira: SUCCESS
ValidateMethodParameterOnExtractedCodeIsProperlyUsed - : SUCCESS
Parameters: pt
ValidateMethodParameterAndArgumentsAreSame: SUCCESS
ValidateThatDeletedLinesMatchesTheDuplicateCodesInJira: FAILED
Lines are not expected to be deleted:
[BulkChange bc = new BulkChange(pt);, try {
    pt.set(0, 0);
} finally {
    bc.commit();
}]
validateHandlingOfVariableAssignmentIsCorrect: FAILED
Instance variable should not be declared: bc3
ValidateThatAllDeletedLinesAreTheSameAtAllPlaces: FAILED
Number of deleted lines are not the same on all instances
ValidateAddedCodeAreRelatedToDuplicateCodeFixing: SUCCESS
ValidateVariablesUsedInsideExtractedCodeAreAccessible: SUCCESS
ValidateMethodCanBeStatic: SUCCESS


feat: export defaultConnectors

export defaultConnectors
close #290

Really appreciate your support and approval. It's been a great experience collaborating on this project 🚀

This PR is now available in ConnectKit 1.5.3 🙌
Thanks @q20274982 🙏


Test point designation letter

The designation letter for the control board PCB test points is "T" (T1-T20).
The parts list has references T1-T11 which are spacers and threaded stand-offs.
To avoid ambiguity the test point designator prefix could be changed to "TP", which is recommended by ASME Y14.44 and IEEE Std 315 Graphic Symbols for Electrical and Electronics Diagrams (Including Reference Designation Letters).
Implementing this change will also improve the relevance of search results when using GitHub search, or searching a local copy of the documentation.
Notes

Other designation letters on the control board PCB are "J" (connectors), "C" (capacitors), and "R" (resistors). All of which comply with the suggestions in section 22.4 of ASME Y14.44 and IEEE Std 315; and do not conflict with a part reference in parts_list/master_parts_list_raw.csv.
The designation letter "T" is suggested for transformers and coils.
Those who don't have access to ASME Y14.44 or IEEE Std 315 may refer to https://en.wikipedia.org/wiki/Reference_designator.

It is worth noting that the Arduino shield is using the "TP" designator prefix TP1-TP8 so already complies with ASME Y14.44.

closing since no longer relevant with latest update


Add some common metric filters

This adds some common filters to the suite, besides just ALL. Seems like these would be useful to many.

Thank you.


docker: no systemctl daemon-reload on changes in the overlay.conf

We just worked with the HTTP proxy parameters for Docker and the Docker daemon had been installed by default before.
Looks like a change in overlay.conf does not trigger systemctl daemon-reload.
The proxy settings only work if you manually trigger a daemon reload and restart.

Just checked the tasks. Everything looks good.
Docker had already been installed on the test system in advance. This probably led to a race condition.


add example01 in python

Example to CREATE or DELETE a tag in python using Pycurl (curl for python).

so the example doesn't create nor delete the tag as said in the PR, and it would be nice, to add a tests to the example.
Of course you can't rely on a resource id for an example, so you need to find a way to retrieve one programmatically.


[feat] sfpegList - Treegrid component does not work on salesforce mobile

Hello @pegros ,
Currently we are implementing a mobile solution using the standard salesforce mobile application. However when using the sfpegList tree component, the component does not behave correctly.
Here is the component on salesforce:

and here is the same component when used on salesforce mobile on the same record:

We would like to be able to use the sfpegList component with treegrid on salesforce mobile as well

@satveerbhantoo I unfortunately have still little time to address this.


📖 Publish draft docs

Publish documentation each time a merge is done on main branch.
A changed-files step will be added on another PR directly in docs repository, because merging PR on main branch will no detect changed files since there is no base comparaison on main branch.

:tada: This PR is included in version 3.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unable to remove the video title from display

I tried adjusting every single reference to title in the package as installed but it doesnt seem to be able to change the Size of the display title when the video is not clicked yet.
It would be great if it could only show as a thumbnail + play button and no title at all.

.v__title {
    display: none;
}

can hide the title. I will try adding an option to remove title.


Deletion functionality in ObsSurface

Make it easier to delete data in the object store locally.

This still needs to be done, add integrity checking of local object store.

Closing this due to the need for integrity check and the move to a new metadata storage method, see #171 and #172 .


[src/platform] Separation of nrfconnect and Zephyr platforms

Problem
nrfconnect platform is based on the Zephyr and in many cases it uses Zephyr specific components implementation. Zephyr specific files should be located in the Zephyr platform.
Summary of Changes

Moved Zephyr specific modules from the nrfconnect to the Zephyr platform
Moved BLEManagerImpl and ThreadStackManagerImpl implementations from Generic_Zephyr files.
Removed Generic_Zephyr files.
Aligned READMEs for nrfconnect and Zephyr platforms.

Is there any reason that splitting out nrfconnect-specific code needs to also remove the generic Zephyr files?

@turon we realized that some of nrfconnect platform classes only refer to Zephyr API, so they can potentially be reused by other Zephyr-based platforms. Generic..._Zephyr classes are removed since we can't think of a real use case for them which would justify more complicated class hierarchy they bring (given that Zephyr provides a nice abstraction layer over hardware drivers which significantly reduces chances that platform-specific additions will be needed for the CHIP platform layer components like BLE, Thread or Configuration manager). Do you think we should rather extract the code to Generic...Zephyr classes?

@jelderton @saurabhst @BroderickCarlin @chrisdecenzo could somebody of you take a look on this PR and review it?


Adds copy & paste functionality for overlays

Adds copy & paste functionality for overlays (text, annotations and images).

@xavijam: can you review this, please?

@viddo, could you take care of it pretty please?

sure, but you owe me some :chocolate_bar:

@Cartofante, please remind me tomorrow to buy some chocolate to @viddo.

Looks legit :+1:


Shapes/Actions out of whack - see screenshot

Describe the Bug with repro steps
in Azure portal designer (GA designer)
create a foreach and add a variable followed by a condition

What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Generally Available
Workflow JSON
No response
Screenshots or Videos

Browser
Chrome
Additional context
No response

Since this is in old designer and kind of known where multiple roots inside scope might not be correctly rendered. The preview designer should show it correctly


feat(transfer): javascript playground

The transfer app contains a module explorer that allows you to search pact modules and inspect the details of a module. You can call each function of the module using the Kadena client. Example code snippets can be loaded from github.
Ticket

There are some conflicting files. Can we resolve these and try again? From checking the screenshot @sstraatemans provided I cant really see the problem. Could have to do with the versioning of the client


feat: Create issues to track nightly CI integration failures

This is an experiment currently applied only to the Anthropic integration. The goal is to improve the reliability of our CI/CD pipeline by ensuring timely resolution of nightly CI failures. This is achieved by leveraging team members' familiarity with the specific codebase and distributing maintenance tasks fairly among the team.

Automatically triggered on nightly CI failures.
Identifies committers familiar with the subproject.
Randomly selects one from the identified committers (but from our team only, excludes community contributors).
Creates an issue with CI failure details and assigns it to the selected team member.

This PR, of course, fails now due to expired key. On Monday, we'll get a new key, run it, revoke it, and see how it gets triggered. I've tested this approach in a private playground repo. But please review nonetheless 🙏

This seems quite of an overkill.
We already receive notifications for failures, can't we just check them on a daily basis?

Yes, we can! This approach automates everything and aligns incentives really well! You'll fix that broken nightly test otherwise prepare for onslaught of issue reports 🤣

Closing this one - an overkill


About of accuracy on SUN RGB-D dataset

Hi, thanks for your good job.
I'd like to confirm whether you compute the average accuracy of all samples or the average accuracy of all categories on SUN RGB-D dataset.

Hi, thank you for your interest.
The average accuracy here is number of total predictions / total number of predictions  among all samples. So, it's not average accuracy of per-category accuracies.


commands.despawn_with::() for despawning multiple entities with marker components

What problem does this solve or what need does it fill?
A lot of Bevy projects have systems like
fn despawn_all_with<C: Component>(
    mut commands: Commands,
    query: Query<Entity, With<C>>,
{
    query.for_each(|entity|
        commands.entity(entity).despawn();
    });
}

that they put in a SystemSet::on_exit(some_state) or whatever, which is fine, but
fn despawn_all_with<C: Component>(
    mut commands: Commands,
{
    commands.despawn_with::<C>();
}

is a little neater.
Also, it might be more efficient.
The first example queues multiple Commands, one for each marked entity. despawn_with would only need to queue one Command to despawn all the marked entities. You would still need to query for the entities in the write() function though, so I'm not certain.
Would also have matching despawn_with_recursive functions etc for despawning marked hierarchies.
Alternatives / Drawbacks

It's quite trivial, users can easily implement it for themselves using an extension trait.

The despawn system could be an exclusive system and then you can despawn everything directly without the queue.

While this has interesting implications for being able to garbage collect entire archetypes or backing storage, I'd rather a more general approach that requires a bit more user boilerplate but provides much higher flexibility, a batched entities command.
Your example above would probably end up like this instead.
fn despawn_all_with<C: Component>(
    query: Query<Entity, With<C>>,
    mut commands: Commands,
{
    commands.entities(query.iter()).despawn();
}

It could improve command performance too, as this batches commands across multiple entities into one, which could save on the boxing allocation overhead.

I have a use-case where I need to create a lot of entities that only last a single frame. Having an efficient way of deleting them would be very nice.
For now I have made this work-around:
use bevy::{
    ecs::{
        archetype::{ArchetypeGeneration, ArchetypeId},
        component::ComponentId,
    },
    prelude::*,
};

#[derive(Component, Debug, PartialEq, Eq, Copy, Clone)]
pub struct TransientPlugin;

impl Plugin for TransientPlugin {
    fn build(&self, app: &mut App) {
        app.init_resource::<TransientState>().add_system_to_stage(
            CoreStage::First,
            clear_transients.exclusive_system().at_start(),
        );
    }
}

#[derive(Component, Debug, PartialEq, Eq, Copy, Clone)]
pub struct Transient;

struct TransientState {
    matching_archetypes: Vec<ArchetypeId>,
    archetype_generation: ArchetypeGeneration,
    component_id: ComponentId,
    entities_to_despawn: Vec<Entity>,
}

impl FromWorld for TransientState {
    fn from_world(world: &mut World) -> Self {
        let component_id = world.init_component::<Transient>();
        let archetypes = world.archetypes();
        let matching_archetypes = archetypes
            .iter()
            .enumerate()
            .filter(|(_id, archetype)| archetype.contains(component_id))
            .map(|(id, _archetype)| ArchetypeId::new(id))
            .collect();
        TransientState {
            matching_archetypes,
            archetype_generation: archetypes.generation(),
            component_id,
            entities_to_despawn: Vec::new(),
        }
    }
}

fn clear_transients(world: &mut World) {
    world.resource_scope(|world, mut state: Mut<'_, TransientState>| {
        let state = &mut *state;
        let archetypes = world.archetypes();
        let new_generation = archetypes.generation();
        let old_generation = std::mem::replace(&mut state.archetype_generation, new_generation);
        let archetype_index_range = old_generation.value()..new_generation.value();

        for archetype_index in archetype_index_range {
            let archetype_id = ArchetypeId::new(archetype_index);
            if archetypes
                .get(archetype_id)
                .unwrap()
                .contains(state.component_id)
            {
                state.matching_archetypes.push(archetype_id);
            }
        }
        for &archetype_id in &state.matching_archetypes {
            state
                .entities_to_despawn
                .extend_from_slice(archetypes.get(archetype_id).unwrap().entities());
        }
        for entity in state.entities_to_despawn.drain(..) {
            world.despawn(entity);
        }
    });
}

It might be nice to have a variant that takes a WorldQuery type parameter, rather than a Component, to allow for Ands and Ors. This would nicely replace code like this:
pub fn despawn_where<F: WorldQuery>(
    to_despawn: Query<Entity, F>,
    mut commands: Commands,
) {
    to_despawn.for_each(|e| {
        commands.entity(e).despawn();
    });
}

pub fn despawn_level_contents(
    to_despawn: Query<Entity, Or<(With<Guy>, With<Wall>, With<Portal>)>>,
    commands: Commands,
) {
    despawn_where(to_despawn, commands)
}

It might be nice to have a variant that takes a WorldQuery type parameter, rather than a Component, to allow for Ands and Ors. This would nicely replace code like this:

Yes, that's what I did with my third-party crate, bevy_despawn_with
https://github.com/ickshonpe/bevy_despawn_with
which takes a ReadOnlyWorldQuery, so you can do:
commands.despawn_all::<Or<(With<MenUiMarker>, Changed<GlobalTransform>)>>();

which is really ergonomic and nice to use I think.
It's good enough I think for my purpose of cleaning up Ui elements identified by marker components and
my (super naive) benchmarks say it performs more or less identically to despawning entities one by one with Commands from a system.
I don't know much about the Bevy ECS internals at all though, I suspect my implementation is really bad. It doesn't cache query states or anything, just queries the entities, stores the indices in an array, then iterates through them again and deletes them one by one with world.despawn().
It would also be nice have some sort of  despawn_bundle command, but I've no idea how/if that would work.


[Bug]: ERROR: session.py:69 - Error creating controller: invalid literal for int() with base 10

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
I think the error would be: pass a string into int().
The error in WSL terminal:
08:28:51 - opendevin:INFO: mixin.py:50 - Initializing plugin [jupyter] by executing [/opendevin/plugins/jupyter/setup.sh] in the sandbox.
08:31:59 - opendevin:ERROR: session.py:69 - Error creating controller: invalid literal for int() with base 10: 'Successfully installed MarkupSafe-2.1.5 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-23.2.0 babel-2.15.0 beautifulsoup4-4.12.3 bleach-6.1.0 cffi-1.
Traceback (most recent call last):
  File "/app/opendevin/server/session/session.py", line 67, in _initialize_agent
    await self.agent_session.start(data)
  File "/app/opendevin/server/session/agent.py", line 47, in start
    await self._create_controller(start_event)
  File "/app/opendevin/server/session/agent.py", line 104, in _create_controller
    self.runtime.init_sandbox_plugins(agent.sandbox_plugins)
  File "/app/opendevin/runtime/runtime.py", line 91, in init_sandbox_plugins
    self.sandbox.init_plugins(plugins)
  File "/app/opendevin/runtime/plugins/mixin.py", line 61, in init_plugins
    _exit_code = output.exit_code()
                 ^^^^^^^^^^^^^^^^^^
  File "/app/opendevin/runtime/docker/ssh_box.py", line 48, in exit_code
    return int(_exit_code)
           ^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'Successfully installed MarkupSafe-2.1.5 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-23.2.0 babel-2.15.0 beautifulsoup4-4.12.3 bleach-6.1.0 cffi-1.

Current OpenDevin version
`0.6.2` as of command given on documents

Installation and Configuration
WORKSPACE_BASE=/home/zuko/git/testopendevin
	 docker run -it \
    --pull=always \
    -e SANDBOX_USER_ID=$(id -u) \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name opendevin-app-test \
    ghcr.io/opendevin/opendevin:0.6.2

Model and Agent
Model : claude3-sonnet-20240229
Agent : CodeActSWEAgent
Operating System
Windows 10 build 19045.
WSL 2 - Debian distro
Reproduction Steps
Just run inside WSL as normal user (zuko - the default user created with distro installation)
Logs, Errors, Screenshots, and Additional Context
term-log.log
WSL console log.

Please use "main" instead of 0.6.2 at the end of the command.

using the main version number, i got same issue. So i've push tiny fix. Hope that can help & merge

@SmartManoj regression bug since https://github.com/OpenDevin/OpenDevin/pull/2642 ?

@tansautn can you elaborate the steps where you added these exactly?
MarkupSafe-2.1.5 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 arrow-1.3.0 asttokens-2.4.1 async-lru-2.0.4 attrs-23.2.0 babel-2.15.0 beautifulsoup4-4.12.3 bleach-6.1.0 cffi-1


fix(remix-node): refactor fs promises import

Problem described here https://github.com/remix-run/remix/issues/4236
closes https://github.com/remix-run/remix/issues/4236

As I mentioned here, Remix requires Node v14 or higher so we should be able to use fs/promises internally.
The root cause of #4236 is that server code is erroneously bundled into the browser bundle. So the fix should address that directly.


ci: get logs from all containers in pod in system-status.sh

Describe what this PR does
This commit adds --all-containers --previous-true option to get logs from all containers in system-status.sh
Signed-off-by: Rakshith R<EMAIL_ADDRESS>Resolves this error from https://jenkins-ceph-csi.apps.ocp.ci.centos.org/blue/rest/organizations/jenkins/pipelines/mini-e2e-helm_k8s-1.20/runs/872/nodes/107/log/?start=0
error: a container name must be specified for pod csi-cephfsplugin-4n9w6, choose one of: [driver-registrar csi-cephfsplugin liveness-prometheus]

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

@Rakshith-R Need manual rebase

Describe what this PR does
This commit adds --all-containers --previous-true option to get logs from all containers in system-status.sh
Signed-off-by: Rakshith R<EMAIL_ADDRESS>Resolves this error from https://jenkins-ceph-csi.apps.ocp.ci.centos.org/blue/rest/organizations/jenkins/pipelines/mini-e2e-helm_k8s-1.20/runs/872/nodes/107/log/?start=0
error: a container name must be specified for pod csi-cephfsplugin-4n9w6, choose one of: [driver-registrar csi-cephfsplugin liveness-prometheus]
Show available bot commands

Can you update the description too?


feat(ui): Add top-level app information to app detailed view (AEROGEAR-8850)

Motivation
https://issues.jboss.org/browse/AEROGEAR-8850
What
Create the top level app information as shown on the flat. Also did some additional work to use the Patternfly 4 Grid Layout. Also added this to the landing page.
Why
To show app information to the user.
Verification Steps
Add the steps required to check this change. Following an example.

Go to the app detailed view. For example, http://localhost:3000/apps/0890506c-3dd1-43ad-8a09-21a4111a65a6
Does it show the top-level app information above the Deployed Versions table?

Checklist:

[x] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Coverage remained the same at 93.514% when pulling 6e6f18cb5dd484aa5b779e83e477371b93f49ad0 on craicoverflow:AEROGEAR-8850 into 9c3247a3986f605fd56680753dc928668f3844e5 on aerogear:master.


Sometimes getting beaten up tp aboo clues

Executing Orc Chasm/ABoo Clues [Route]
Equipping 2 items with Script Outfit 4 (Knob Goblin harem veil, June cleaver, unbreakable umbrella, bat wings, Jurassic Parka, Knob Goblin harem pants, Space Trip safety headphones, lucky gold ring, mafia thumb ring)
Putting on outfit: Script Outfit 4
Preference _concoctionDatabaseRefreshes changed from 1044 to 1045
Equipment changed.
Putting Tort the Exotic Parrot back into terrarium...
Taking Waronica the Jill-of-All-Trades out of terrarium...
Holding carnivorous potted plant...
Equipment changed.
Putting on Everfull Dart Holster...
Equipment changed.
Maximizer: 0.01 MP regen, 0.001 HP regen, item, -"equip broken champagne bottle", -"equip runed taper candle", -"equip ¶10058", -acc1, -acc2, -acc3, -familiar, -hat, -off-hand, -weapon, 30 "bonus Everfull Dart Holster"
Maximizing...
8 combinations checked, best score 236.94
Putting on vampyric cloake...
Preference _concoctionDatabaseRefreshes changed from 1045 to 1046
Equipment changed.
Putting on autumn sweater-weather sweater...
Equipment changed.
Putting on Cargo Cultist Shorts...
Equipment changed.
Saving outfit: Script Outfit 5
Outfit saved
CCS set to grimoire_macro

Visit to Highlands: A-Boo Peak in progress...

[410] A-Boo Peak
Preference lastEncounter changed from It Came from Beneath the Sewer? Great! to Beware of Aligator
Encounter: Beware of Aligator
Preference juneCleaverQueue changed from 1467,1475,1468,1470,1471,1472 to 1475,1468,1470,1471,1472,1469
Preference _juneCleaverEncounters changed from 16 to 17
Preference _juneCleaverFightsLeft changed from 0 to 30
You gain 1,500 Meat

Preference _concoctionDatabaseRefreshes changed from 1046 to 1047
lastEncounter =>
Preference lastEncounter changed from Beware of Aligator to

Visit to Highlands: A-Boo Peak in progress...

[410] A-Boo Peak
Preference lastEncounter changed from to The Horror...
Encounter: The Horror...
Encounter: The Horror...
Preference booPeakProgress changed from 84 to 82
You lose 7 hit points
You lose 1 hit point
Encounter: The Horror...
Preference booPeakProgress changed from 82 to 78
You lose 19 hit points
You lose 11 hit points
Preference booPeakProgress changed from 78 to 76
You lose 40 hit points
You lose 26 hit points

Preference _concoctionDatabaseRefreshes changed from 1047 to 1048
Fight was lost (debug info: 0 => 3, (28 => 27); stop.

HP ended at 19/257. Seem to have taken 104 damage, might be missing a heal here or the outfit changed max hp and we didnt heal after.


Migrate CLI functionality to plugin layer subset 1

First subset of CLI modifications to IMPROVER required by EPP.  This is intended to test the water against the types of change that I would make to the remainder CLI's.
CLI layers modified:

cli/categorical

check_tree was not incorporated into Plugin (looks like a debug usage to me and doesn't return the provided input cubes).

cli/cloud_condensation_level
cli/combine
cli/copy_attributes
cli/cloud_top_temperature
cli/standardise

High-level summary of changes:

New common_input_handle utilities: as_cube and as_cubelist

Enable passing either CubeList or Cube where it makes sense to do so.
Allow flexibility to provide Cube/CubeList to plugins.

New CopyAttributes plugin which was before handled by the copy_attributes CLI layer.
New MetaPluginCloudCondensationLevel meta-plugin which handles calling HumidityMixingRatio and CloudCondensationLevel, which cloud_condensation_level CLI was doing before.
Moving cube extraction to the plugin layer.
Testing captures changes to plugins (like calls to as_cube etc.).
New plugins are fully tested.

Issues

https://github.com/MetOffice/improver_suite/issues/2079
https://github.com/metoppv/improver/issues/1998
https://github.com/MetOffice/barebones_workflow/issues/32
https://github.com/MetOffice/improver_suite/issues/2253

Mock/patch usage explanation
In this test, we patch both the as_cube and as_cubelist functions, replacing them with mock objects. This allows us to verify how they are called within the code. Specifically, we define a side_effect for the as_cube mock object to raise a custom HaltExecution exception when invoked. This setup enables us to check that the as_cube and as_cubelist functions are called with the correct arguments and ensures that the remainder of the plugin code (which isn't under test) does not execute.
The use of sentinel helps create unique, identifiable objects for testing purposes. By passing a dummy template cube object (a sentinel), we can verify that the mocked as_cube function is called with it as its argument. This approach simplifies the test setup by eliminating the need to create real iris cubes or handle the complexities associated with them. Thus, our unit test remains focused and isolated, only testing the behavior under consideration without external dependencies.
class HaltExecution(Exception):
    pass

@patch("improver.utilities.copy_attributes.as_cube")
@patch("improver.utilities.copy_attributes.as_cubelist")
def test_as_cubelist_called(mock_as_cubelist, mock_as_cube):
    mock_as_cubelist.return_value = sentinel.cubelist
    mock_as_cube.side_effect = HaltExecution
    try:
        CopyAttributes(["attribA", "attribB"])(
            sentinel.cube0, sentinel.cube1, template_cube=sentinel.template_cube
        )
    except HaltExecution:
        pass
    mock_as_cubelist.assert_called_once_with(sentinel.cube0, sentinel.cube1)
    mock_as_cube.assert_called_once_with(sentinel.template_cube)

@gavinevans, @bayliffe
I think we want to eventually potentially move away from the use of the term 'Plugin', so any ideas for suitable alternative naming to MetaPluginCloudCondensationLevel are welcome.
I couldn't get the pre-commit environment install to complete (pip install).
Before I chase this up, perhaps you are aware already of a solution?

Thanks for your thorough review @bayliffe ❤
I'll take action now.  I'll also update the PR description with details around the use of mock, sentinel etc. (apologies for this oversight).

I think we want might eventually want to move away from the use of the term 'Plugin',

Hallelujah!

@bayliffe, I have updated the ticket description with an explanation of my usage of mock/path/sentinel.

I have made changes based on feedback.  For now I have made it so that as_cubes accepts ONLY a Cube/CubeList (can add another time??).
Additionally, since I was using flatten a great deal, I have re-implemented it to be what I feel is more robust and flexible.
I have merged in master and updated the headers of the files added accordingly.
Cheers,

@bayliffe, appologies for making additional changes.  I looked back at this and felt that perhaps what I had done wasn't quite aligned with your review feedback.  Now, in summary:

as_cubelist can be passed pretty much anything and it just verifies that a cubelist containing cubes is returned.
as_cube now calls as_cubelist under the hood, then either returns the first index (when of length 1) or otherwise performs a CubeList.merge_cube in an attempt to return a single cube.

The second half of EPP required IMPROVER plugin changes are captured in https://github.com/metoppv/improver/pull/2003 (that PR builds on this for the remaining plugins).

Thanks @bayliffe, @gavinevans
I have made changes in reflection of the reviews given 👍

Thanks @gavinevans, I think all feedback has been actioned.
I'm aware that have yet to take the bait on discussing naming convention to these meta 'plugins' (https://github.com/metoppv/improver/pull/2000#issuecomment-2120557385).
In the second part of changes to IMPROVER CLI/plugins work, I opted for calling these meta 'plugins' MetaProcMod<name>
See here
The motivation is around moving away from the what might be deemed a term that implies what it is not, to the more generic 'processing module' term.  The later does not share the same technical implications of a technical term 'plugin'.
Would you be content for me to rename MetaPluginCloudCondensationLevel -> MetaProcModCloudCondensationLevel?
New issues (out of scope of this PR):

https://github.com/metoppv/improver/issues/2005
https://github.com/metoppv/improver/issues/2004

@cpelley I'm not sure that I'm best placed to comment on the use of the word "plugin" to describe the IMPROVER "plugins", but if you'd like to not include this term within your Meta "plugins", then that seems fine from my perspective.


How to install jenkins on a mounted partition

Affected Puppet, Ruby, OS and module versions/distributions

Puppet:
Ruby:
Distribution:
Module version:

How to reproduce (e.g Puppet code you use)
Want jenkins to be installed on mounted partition rather than /var/lib/jenkins. This is to manage jenkins data efficiently

Attached a 500 GB of disk to linux host
Created mount point /data/jenkins on this disk
manually created a link /var/lib/jenkins to point to mount /data/jenkins.
tried to set the parameter in jenkins class as  localstatedir      => '/data/jenkins',
Run puppet

My jenkins class is as below
class { 'jenkins':
    repo               => false,
    manage_user        => true,
    manage_group       => true,
    localstatedir      => '/data/jenkins',
    version            => $package_version,
    lts                => true,
    configure_firewall => false,
    purge_plugins      => false,
    plugin_hash        => {
      'ldap'            => { version => '694.vc02a_69c9787f' },
      'role-strategy'   => { version => '633.v836e5b_3e80a_5' },
      'git'             => { version => '5.2.0' },
      'git-client'      => { version => '4.6.0' },
      'ssh-credentials' => { version => '308.ve4497b_ccd8f4' },
      'ssh-slaves'      => { version => '2.916.vd17b_43357ce4' },
    },
  }

What are you seeing
When puppet run it thrashed link and created a directory /var/lib/jenkins and setup jenkins . Jenkins was running after puppet run from default location.
What behaviour did you expect instead
Was expecting all jenkins installation to go to /data/jenkins and start jenkins from this location.
Output log
Info: Applying configuration version '1705980062'
Notice: /Stage[main]/Jenkins::User_setup/File[/var/lib/jenkins]/ensure: current_value 'link', should be 'directory' (noop)
Notice: /Stage[main]/Jenkins::User_setup/File[/var/lib/jenkins/plugins]/ensure: current_value 'absent', should be 'directory' (noop)
Notice: /Stage[main]/Jenkins::User_setup/File[/var/lib/jenkins/jobs]/ensure: current_value 'absent', should be 'directory' (noop)
Notice: Class[Jenkins::User_setup]: Would have triggered 'refresh' from 3 events
Notice: /Stage[main]/Jenkins::Package/Package[jenkins]/ensure: current_value 'purged', should be '2.414.1' (noop) (corrective)
Info: /Stage[main]/Jenkins::Package/Package[jenkins]: Scheduling refresh of Exec[jenkins-cli]
Notice: Class[Jenkins::Package]: Would have triggered 'refresh' from 1 event
Notice: /Stage[main]/Jenkins::Proxy/File[/var/lib/jenkins/proxy.xml]/ensure: current_value 'absent', should be 'file' (noop)
Info: /Stage[main]/Jenkins::Proxy/File[/var/lib/jenkins/proxy.xml]: Scheduling refresh of Class[Jenkins::Service]

Any additional information you'd like to impart
Full logs in the attached file.
output.txt

Figured out how to install on a data partition. Pointed JENKINS_HOME to /data while created overrride.conf
Added this config while calling jenkins class
config_hash        => {
'JENKINS_HOME'    => {
'value'         => '/data/jenkins',
},
}
After this module installed jenkins on this path.


Primitive stacking on direct features

Suppose we have an entityset with a parent entity E1 and a child entity E2 and we're building features on E2 with Deep Feature Synthesis. If E1 has a categorical variable, it seems that the direct feature of that categorical will be automatically generated and used in resulting feature matrix. However, that feature won't be used for any stacked features.
This becomes a problem when we want a primitive of multiple variables from different tables. The following example shows an entityset where a user might expect the feature CAT_PRIMITIVE(values_row_1, transactions.categorical) to be generated.
import pandas as pd
import featuretools as ft
import featuretools.variable_types as vtypes
datadict = {'values_row_1': [1, 1, 2],
            'transaction_id': [1, 2, 3],
            'categorical': ['cat', 'cat', 'lion']}

data = pd.DataFrame(datadict)

variable_types = {'values_row_1': vtypes.Numeric,
                  'transaction_id': vtypes.Categorical,
                  'categorical': vtypes.Categorical
                  }

es = ft.EntitySet('mock_entityset')

es.entity_from_dataframe(entity_id='values',
                         dataframe=data,
                         index='my_index',
                         variable_types=variable_types,
                         )

es.normalize_entity(base_entity_id='values',
                    new_entity_id='transactions',
                    index='transaction_id',
                    additional_variables=['categorical']
                    )

from featuretools.primitives import make_trans_primitive

def cat_primitive(value, categorical):
    return [x for x in categorical]

Prim = make_trans_primitive(cat_primitive,
                            input_types=[vtypes.Numeric, vtypes.Categorical],
                            return_type=vtypes.Numeric)

fm, features = ft.dfs(entityset=es,
                      target_entity='values',
                      agg_primitives=[],
                      trans_primitives=[Prim])

features

This is connected to the way that DFS builds features. Direct features are created after the transform features, so they're not available for stacking. In particular, if we look at the _run_dfs function in deep feature synthesis, step 3 is to build transform features while step 5 builds direct features from other entities.


Error during logon to Windows.

Microsoft PowerToys version
0.57.0
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Simply logged on to PC after initial boot.
✔ Expected Behavior
No error messages.
❌ Actual Behavior
Error modal:
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 13/04/2022 08:19:33
Exception:
System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Controls.Ribbon, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
File name: 'System.Windows.Controls.Ribbon, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
   at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)
   at System.Windows.Baml2006.Baml2006SchemaContext.GetAssembly(Int16 assemblyId)
   at System.Windows.Baml2006.Baml2006SchemaContext.EnsureXmlnsAssembliesLoaded(String xamlNamespace)
   at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(String xamlNamespace, String name, XamlType[] typeArguments)
   at System.Xaml.XamlSchemaContext.GetXamlType(XamlTypeName xamlTypeName)
   at MS.Internal.Xaml.XamlContext.GetXamlType(XamlTypeName typeName, Boolean returnUnknownTypesOnFailure, Boolean skipVisibilityCheck)
   at MS.Internal.Xaml.XamlContext.ResolveXamlType(String qName, Boolean skipVisibilityCheck)
   at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName)
   at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve(String qName)
   at System.Windows.PropertyPath.GetTypeFromName(String name, Object context)
   at System.Windows.PropertyPath.ResolvePropertyName(String name, Object item, Type ownerType, Object context, Boolean throwOnError)
   at System.Windows.PropertyPath.ResolvePathParts(ITypeDescriptorContext typeDescriptorContext)
   at System.Windows.PropertyPath.PrepareSourceValueInfo(ITypeDescriptorContext typeDescriptorContext)
   at System.Windows.PropertyPath..ctor(String path, ITypeDescriptorContext typeDescriptorContext)
   at System.Windows.PropertyPathConverter.ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, Object source)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at PowerLauncher.ReportWindow.InitializeComponent()
   at PowerLauncher.ReportWindow..ctor(Exception exception)
   at PowerLauncher.Helper.ErrorReporting.Report(Exception e, Boolean waitForClose)
   at PowerLauncher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
   at System.Windows.Threading.Dispatcher.CatchException(Exception e)
   at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
   at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
``
[2022-04-13.txt](https://github.com/microsoft/PowerToys/files/8479032/2022-04-13.txt)
`

### Other Software

_No response_

Could you please see if it also occurs on 0.57.2 and send a /bugreport if that's the case? THank you!

Could you please see if it also occurs on 0.57.2 and send a /bugreport if that's the case? THank you!

Hasn't occured on 0.57.2 yet (tried two reboots) however it was not easily reproducable on 0.57.0 i.e. did not happened on every boot.

If it happens again, please send generate and send the bug report and re-open the issue.
Thank you!

I get the same issue under the same situation on version 0.57.2.
PowerToysReport_2022-04-24-09-23-35.zip

It seems core is at 6.0.4 at the same time Desktop is at 6.0.3, might this be some intermediary state where .net framework 6.0.4 was just installed and Desktop 6.0.4 was still being installed?

@Stubbleman , so you've logged on and it happened to you? From the logs I see .net 6.0.3 binaries mixed with 6.0.4 binaries. What's the output from running this in the command line?
dotnet --list-runtimes

Here is my output:
Microsoft.NETCore.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.24 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
And it didn't happen after I restart my computer. Maybe you are right. It's a intermediary state. Thanks.


adding Dockefile for containerization support

Description
Adding support for containerization using a Dockerfile. Plus adding PM2 support for running production processes vs nodemon. Moved nodemon to dev start.
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works

🎉 Thank you for contributing to the project and for supporting it with Cuemby Cloud Platform 🤍


Update to latest protos and add scripts

This updates the protos to the latest HEAD version, re-generates the protos, and adds Makefile targets for both of these tasks, with the ability to expand to other third_party things in the future if needed.

ETOOBIG. Gonna split up into 2 PRs


Clarify behavior of docker build with a URL fragment

It'd be nice to warn about docker build not doing a shallow git clone when specifying a URL with a fragment (see gitutils.go#L45-L56), as the "Extended description > Git repositories" section doesn't clarify that to be the case.
File: engine/reference/commandline/build.md, CC: @mstanleyjones

I got this one

Being reviewed upstream.

I don't think you did this one, did you @gschaetz ? It isn't the same as the docker attach one you did upstream. I'm going to remove it from the hackathon milestone for now.

@thaJeztah do you have info on this?

Yes it got merged here a34f9b0 I made a mistake and two commits were together
Sent from my iPhone.

On Sep 1, 2017, at 5:12 PM, Misty Stanley-Jones<EMAIL_ADDRESS>wrote:
@thaJeztah do you have info on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Yup looks to be there in https://github.com/docker/cli/commit/80a7f5dec763dcdc99d0e1ce49ddeb7b8fc81b03#diff-1aa9e7be44e56c4d74dfb00fd9be3bdb let me close this one


Fix docstring for x_sampling/y_sampling

Coverage remained the same at 72.084% when pulling cc0582215976d2a4675b5ebf8fbd6c99fbf83169 on michaelaye:patch-1 into 736379ee37f09ee162ac733b4b908ac3b49bae4c on holoviz:master.

Thanks for catching that!


[Bug report] Iceberg catalog audit user is not correct

Version
main branch
Describe what's wrong
It's not correct to use currentUser in IcebergCatalogOperations.java, should use PrincipalUtils.getCurrentUserName() instread
              .withAuditInfo(
                  AuditInfo.builder()
                      .withCreator(currentUser())
                      .withCreateTime(Instant.now())
                      .build())
              .build();

  private static String currentUser() {
    return System.getProperty("user.name");
  }

Error message and/or stacktrace
no
How to reproduce
no
Additional context
No response

This way of writing cannot solve this problem

 This way of writing cannot solve this problem

You can boost a PR if you like.

 This way of writing cannot solve this problem  这种写法不能解决这个问题

You can boost a PR if you like.如果您愿意，您可以提高 PR。

ok


Fix assignment test failure with OPTLOCAL=1 option enabled

alex@Alexs-Air tinygrad % OPTLOCAL=1 GPU=1 python3 test/test_assign.py TestAssign.test_simple_assignment
cuda backend not available No module named 'pycuda'
F
======================================================================
FAIL: test_simple_assignment (__main__.TestAssign)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/alex/tinygrad/test/test_assign.py", line 23, in test_simple_assignment
    np.testing.assert_allclose(a.numpy(), (np.arange(N*N)*2).reshape((N,N)))
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
    assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/testing/_private/utils.py", line 844, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0

Mismatched elements: 39999 / 40000 (100%)
Max absolute difference: 559986.
Max relative difference: 7.
 x: array([[0.00000e+00, 1.60000e+01, 3.20000e+01, ..., 3.15200e+03,
        3.16800e+03, 3.18400e+03],
       [3.20000e+03, 3.21600e+03, 3.23200e+03, ..., 6.35200e+03,...
 y: array([[    0,     2,     4, ...,   394,   396,   398],
       [  400,   402,   404, ...,   794,   796,   798],
       [  800,   802,   804, ...,  1194,  1196,  1198],...

----------------------------------------------------------------------
Ran 1 test in 0.056s

FAILED (failures=1)

Root cause
ASTRunner.optimize_local_size utilizes real bufs for optimal local size finding tests, while for inplace Tensor operator like a += b, these tests will change the target buffer (buf a) permanently.
The fix
Use tmp bufs for optimal local size finding tests.
Limitation
toCPU and fromCPU will lead to redundant mem copy, allocating new bufs will be better.

Hmm, this is an interesting bug. This fix actually changes the GPU memory access patterns since the buffers are no longer the same memory.
I think the right fix is to detect the case where any(buf[0] == x for x in buf[1:n]) and replace just that buffer with a new buffer. type(buf[0])(buf[0].shape)


Link to list of supported agencies from usage.

Inside 'Basic' usage, there was an outdated list of available
agencies within parens. This has been replaced with a link to
the data providers section which should be kept up to date more
reliably.

Codecov Report

Merging #61 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   69.47%   69.47%
=======================================
  Files          14       14
  Lines        1281     1281
=======================================
  Hits          890      890
  Misses        391      391

Continue to review full report at Codecov.

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

Thanks! Will be published when v0.9 is released - in a few weeks.


Flickering collection headers

On some lists headers appear, disappear and reappear fast when the screen is loaded for the first time. Affects e.g show A-Z (visible the first time) or topics (each time presented).
Issue type
Incorrect behavior
Environment information

Application version: 1.0.0
tvOS version: 14.2
Device: Any

Reproducibility
Always reproducible
Steps to reproduce

Open a topic page.
Have a look at view headers.

Fixed with our new collection implementation for iOS and tvOS.


NPC button options ignored

Explorer Alpha build version:
Issue Description:
When talking to an NPC in Genesis Plaza SDK7 with the new explorer, I can't select the No option with my cursor. I can press F to select it, but if I click on the button the dialog won't progress.
Steps to reproduce:

Go to dclexperience.dcl.eth
Go downstairs and talk to the octopus, till he asks you if you want to learn more
Click on the NO button, it will keep loading the same screen again and again. If I press the F key as a short cut, it does work.

This should also be easier to observe in the Goerli Plaza scene Simple NPC
https://github.com/decentraland/sdk7-goerli-plaza/tree/main/Simple-NPC
Expected behaviour:
I should move on to another dialog option
Current behaviour:
Reproduction rate:

[ ] < 10%
[ ]  < = 25%
[ ]  50%
[ ]  < = 75%
[ x ]  100%

Severity:

[ ] Cosmetic
[ ] Minor
[ x ] Medium
[ ] High
[ ] Critical
[ ] Blocker

Priority:

[ ] High
[ ] Medium
[ ] Low

Platforms / OS:

[ x ] Windows 11
[ ] Windows 10
[ ] Mac Sonoma
[ ] Mac (specify the version on Additional Notes)

Evidence:
Additional Notes:

On the Explorer Alpha only

QA checked:
https://github.com/decentraland/unity-explorer/assets/146749313/ffb3f6e9-494b-45e4-a4c3-7aa28161aa0b


opt add more unexpected expression check

Proposed changes
Issue Number: close #xxx

check sub-query after rewrite, should not meet any sub-query there
check below expression on specific plan
a. Aggreagate
i. TableGeneratingFunction
ii. WindowExpression
b. Filter
i. AggregateFunction
ii. GroupingScalarFunction
iii. TableGeneratingFunction
iv. WindowExpression
c. Generate
i. AggregateFunction
ii. GroupingScalarFunction
iii. WindowExpression
d. Having
i. TableGeneratingFunction
ii. WindowExpression
e. Join
i. AggregateFunction
ii. GroupingScalarFunction
iii. TableGeneratingFunction
iv. WindowExpression
f. Project
i. TableGeneratingFunction
g. Sort
i. AggregateFunction
ii. GroupingScalarFunction
iii. TableGeneratingFunction
iv. WindowExpression
h. Window
i. GroupingScalarFunction
ii. TableGeneratingFunction

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


UTF-8 characters in controller

I make list and some fields of them contain utf-8 characters,
and its stop to work:
CRASH REPORT Process <0.154.0> with 0 neighbours crashed with reason: bad argument in call to erlang:iolist_size([[<<"<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\" />\n\t<link rel=\"stylesheet\" href=\"...">>,...],...]) in mochiweb_request:respond/2 line 337
If I change list from
erlang[{menu, id, "Клиенты", "client"}]
to
erlang[{menu, id, [208,154,208,187,208,184,208,181,208,189,209,130,209,139], "client"}]
its work fine, but my menu_helper looks bad in this way.
Also i try to change function iolist_size in file mochiweb_request with this
-compile({no_auto_import,[iolist_size/1]}).
iolist_size([F | Rest] = List) ->
    iolist_size(List, 0);

iolist_size(Bin) ->
    List = binary_to_list(Bin),
    iolist_size(List, 0).

iolist_size([], Count) -> Count;
iolist_size([_First| Rest], Count) -> iolist_size(Rest, Count +1).

But its not help, coz I think: I compile this file with wrong "internal.hrl" or some other reason.
Can u make something with erlang iolist_size("Some UTF-8 chars ываыва").  in ChicagoBoss, coz this function throw bad argument error in latest version of Erlang also.

Ok I'm having a similar issue but I cannot solve it with unicode:characters_to_list :
Pacient = pacient:new(unicode:characters_to_list("Ştefan"), unicode:characters_to_list("Bănică"), "182092", "at home", "0768").
Pacient:save() goes
exception exit: {{{badarg,[{erlang,list_to_binary,
[[66,259,110,105,99,259]]
I'm using a postgresql db and trying to insert the same values from pgsql works.
Any ideas how to fix this?

Hi,
Have you tried using unicode:characters_to_binary instead of
unicode:characters_to_list?
--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Mar 7, 2015 5:06 AM, "cuciferus"<EMAIL_ADDRESS>wrote:

Ok I'm having a similar issue but I cannot solve it with
unicode:characters_to_list :
Pacient = pacient:new(unicode:characters_to_list("Ştefan"),
unicode:characters_to_list("Bănică"), "182092", "at home", "0768").
Pacient:save() goes
exception exit: {{{badarg,[{erlang,list_to_binary,
[[66,259,110,105,99,259]]
I'm using a postgresql db and trying to insert the same values from pgsql
works.
Any ideas how to fix this?
—
Reply to this email directly or view it on GitHub
https://github.com/ChicagoBoss/ChicagoBoss/issues/270#issuecomment-77684464
.

Hello! Yup that did the trick.Thanks you! Any ideas how to enable this transformation by default? I've noticed I need this in many models


Add Twitter and Open Graph support

Most social sites have support for the Twitter Cards or Open Graph protocols. This gives links posted to those sites some special styling.
It's possible to check what a Twitter Card will look like with: https://cards-dev.twitter.com/validator.
It's possible to check what an Open Graph card will look like with: https://www.opengraph.xyz/.
The goal here would be to automate the generation for those tags. It should also be possible to provide a card image for any page as well as a default for the site itself.

Added title and description in e7ef9fa6ca7bf3d0a7059c8c740f1fff951555d0 and 003a90ebf38c92e343030fe0720b1a9e59909ae6 . Will need to figure out what to do for the image.


#25 Updating dependencies and bumping version.

Codecov Report

Merging #26 (fddfaf4) into main (7d8eecb) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          322       322
  Branches        29        29
=========================================
  Hits           322       322

Flag
Coverage Δ

server
100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/src/server.ts
100.00% <100.00%> (ø)


Filter & sort photos

Implement the feature to sort photos by date and filter by type.

toggle button to sort from newest to oldest or vice versa
filter drop down to filter by type of photo

Please do a git merge dynamically-generate-photos from this branch.

Merged and also refactored


Provide a safer-for-nullability version of as

https://github.com/dart-lang/sdk/issues/45473 is an example of a general foot-gun of as in an NNBD world: as doesn't care at compile time if you are casting away nullability even if doing so is invalid. Ideally, as should simply not allow removing nullability, requiring ! for that, in much the same way that most C++ cast operators won't let you remove const, so you have to use const_cast for that—making as's current behavior analogous to the much more dangerous C-style cast.
Obviously the ship has sailed on that (and maybe there's some specific language design reason it wasn't viable in the first place), but hopefully it's not to late to add a new cast operator that's like as, but will fail to compile if it would remove nullability. That could then be used preferentially, and any use of as could be treated with extreme scrutiny (and linted). This would allow for writing safer versions of code that needs to downcast Object->Foo and Object?->Foo? without letting people accidentally compile code that's doing Object?->Foo (as in the issue linked above).

Just as a note here this was the root cause of a bug in the sound null safety release of the test package, https://github.com/dart-lang/test/pull/1455/files#diff-dd263a0546610e8df9a78ad7fe70f8afb0c0784b15b0039c6c87da503308fe7eR66.