KYLIN-4122 Add kylin user and group manage modules

Can one of the admins verify this patch?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ec4bfa1). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #790   +/-   ##
=========================================
  Coverage          ?   25.65%
  Complexity        ?     6048
=========================================
  Files             ?     1398
  Lines             ?    83349
  Branches          ?    11665
=========================================
  Hits              ?    21383
  Misses            ?    59913
  Partials          ?     2053

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/org/apache/kylin/rest/DebugTomcat.java
0% <ø> (ø)
0 <0> (?)

...rg/apache/kylin/rest/service/UserGroupService.java
0% <0%> (ø)
0 <0> (?)

.../java/org/apache/kylin/metadata/acl/UserGroup.java
0% <0%> (ø)
0 <0> (?)

...in/java/org/apache/kylin/rest/util/PagingUtil.java
0% <0%> (ø)
0 <0> (?)

...apache/kylin/rest/request/PasswdChangeRequest.java
0% <0%> (ø)
0 <0> (?)

.../org/apache/kylin/rest/util/AclPermissionUtil.java
0% <0%> (ø)
0 <0> (?)

...ache/kylin/rest/service/KylinUserGroupService.java
0% <0%> (ø)
0 <0> (?)

...g/apache/kylin/rest/controller/UserController.java
0% <0%> (ø)
0 <0> (?)

...rg/apache/kylin/rest/service/KylinUserService.java
0% <0%> (ø)
0 <0> (?)

...va/org/apache/kylin/rest/security/ManagedUser.java
0% <0%> (ø)
0 <0> (?)

... and 1 more

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 4841

0 of 334 (0.0%)  changed or added relevant lines in 10 files are covered.
9 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.1%) to 28.122%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server-base/src/main/java/org/apache/kylin/rest/service/UserGroupService.java
0
6
0.0%

server-base/src/main/java/org/apache/kylin/rest/util/AclPermissionUtil.java
0
9
0.0%

server-base/src/main/java/org/apache/kylin/rest/util/PagingUtil.java
0
11
0.0%

core-metadata/src/main/java/org/apache/kylin/metadata/acl/UserGroup.java
0
12
0.0%

server-base/src/main/java/org/apache/kylin/rest/request/PasswdChangeRequest.java
0
16
0.0%

server-base/src/main/java/org/apache/kylin/rest/security/ManagedUser.java
0
16
0.0%

server-base/src/main/java/org/apache/kylin/rest/service/KylinUserService.java
0
16
0.0%

server-base/src/main/java/org/apache/kylin/rest/controller/KylinUserGroupController.java
0
38
0.0%

server-base/src/main/java/org/apache/kylin/rest/service/KylinUserGroupService.java
0
82
0.0%

server-base/src/main/java/org/apache/kylin/rest/controller/UserController.java
0
128
0.0%

Files with Coverage Reduction
New Missed Lines
%

server/src/main/java/org/apache/kylin/rest/DebugTomcat.java
1
0.0%

server-base/src/main/java/org/apache/kylin/rest/controller/KylinUserGroupController.java
1
0.0%

core-cube/src/main/java/org/apache/kylin/cube/cuboid/TreeCuboidScheduler.java
2
68.46%

server-base/src/main/java/org/apache/kylin/rest/service/KylinUserGroupService.java
2
0.0%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
3
78.42%

Totals

Change from base Build 4840:
-0.1%

Covered Lines:
23439

Relevant Lines:
83349

💛  - Coveralls


Missing Quote in Curl Command?

The docs currently show:

Retrieve the Ops Manager Root CA as a File
To return the Ops Manager root CA as a file, use curl to make the following API call:

curl "https://OPS-MAN-FQDN/download_root_ca_cert \
      -X GET \
      -H "Authorization: Bearer YOUR-UAA-ACCESS-TOKEN"
Where YOUR-UAA-ACCESS-TOKEN is your Ops Manager access token without any newline characters such as \n.

I believe the command should be:
curl "https://OPS-MAN-FQDN/download_root_ca_cert" \
      -X GET \
      -H "Authorization: Bearer YOUR-UAA-ACCESS-TOKEN"
Where YOUR-UAA-ACCESS-TOKEN is your Ops Manager access token without any newline characters such as \n.

Adding the " after download_root_ca_cert made the curl command work for me; else, I got this error following the docs:
curl: (6) Could not resolve host: Bearer
curl: (6) Could not resolve host: <redacted>

Thank you, @bbtong. I'm not sure I fully understand the request. The two example commands look the same to me.
Also, tell me which file you are referencing.

https://docs.pivotal.io/pivotalcf/2-4/security/pcf-infrastructure/managing-certificates.html
The command here has mismatched quotes.  My curl commands have a difference of one ", added after download_root_ca_cert.

Hi @bbtong As you've no doubt seen, we added corrected the command as you described. Thank you very much for letting us know about it.


ci(tests): run network syncs on a weekly schedule

Motivation
GitHub changed the behavior of the concurrency, showing cancellation statuses as failures, rather than ignoring them and showing it as successes. Having all those ❌ in the main branch is confusing and, as the full sync takes multiple days to complete, we don't need to run it on each merge to main, and doing it weekly should be enough.
This change is being applied to the following tests:

Zebra full Mainnet sync
Zebra full Testnet sync
Lightwalletd full Mainnet sync (which depends on the zebra sync)

Fixes #6631
Specifications
We're using the schedule event of GitHub Actions: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
Complex Code or Requirements
We have multiple tests that depend on each other, and the actual state version. This implementation can be improved, segmenting the jobs, but it requires a big refactor which we're not willing to do before our stable release.
Solution

Run the workflow on a schedule, weekly on Fridays at midday UTC
Change the condition on the sync jobs which are being triggered on the push to main, to be on the schedule event
Add some missing comments, and remove extra one.

Review
Anyone can review this
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

Follow Up Work
The schedule will run all the jobs. We should ideally move this jobs to a different Workflow file, but this requires a more complex and bigger PR.

@Mergifyio requeue

GitHub says they fixed an infrastructure issue 3 minutes ago:
https://www.githubstatus.com/history

@mergifyio refresh


python311Packages.html-text: 0.5.2 -> 0.6.2

Diff: https://github.com/zytedata/html-text/compare/refs/tags/0.5.2...0.6.2
Changelog: https://github.com/zytedata/html-text/blob/0.6.2/CHANGES.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310920 run on x86_64-linux 1

15 packages built:

mealie
mealie.dist
python311Packages.extruct
python311Packages.extruct.dist
python311Packages.html-text
python311Packages.html-text.dist
python311Packages.recipe-scrapers
python311Packages.recipe-scrapers.dist
python312Packages.extruct
python312Packages.extruct.dist
python312Packages.html-text
python312Packages.html-text.dist
python312Packages.recipe-scrapers
python312Packages.recipe-scrapers.dist
tandoor-recipes


DD2 Pause Menu Misaligned

Describe the bug
When in-game in DD2, the white highlight on the selected option in the pause menu is misaligned on a 16:10 display
Upload logs and any crash dumps
re2_framework_log.txt
Identify the REFramework version
998 nightly
To Reproduce
Steps to reproduce the behavior:
Enable Ultrawide Aspect Ratio Fix and Enable Vertical FOV in REFramework
Load a save or a new game
Pause the game to get into the menu
The white highlight is misaligned especially in the bottom options
Expected behavior
The highlight should match the option selected
Screenshots

Desktop and VR (please complete the following information):

Windows 11
Ryzen Z1 Extreme
Legion Go

Did you found any solution? In my case the bug still persists even after deleting REFramework.


OpenApi Usage Fix and Javalin Update

Bumped Javalin to 3.9.1 and fixed the usage of the openapi plugin.
There are no breaking changes in this PR, but the usage of the Javalin OpenAPI Plugin was fixed.
Also, a minor upgrade to the datetime parsing of json-annotated historical images is included in this PR, which is used in the context of the city-stories project.
This is a mandatory PR before v3.0 is releasable

TL;DR: We used openapi annotation based documentation, which is not supported in the way we setup the REST API. Hence, we now use a pseudo-DSL style documentation approach, which produces valid and useful OpenAPI Specs

At some points, i'm unsure about why the OpenApi Annotation was not removed and the citystories config is probably not meant for dev

They simply were overlooked during the removal process. Thanks for pointing at those files were I missed the removal


Add Links section to README

Other Pallets projects have a Links section in the README, where I'm adding a link to the official chat. Some of these links duplicate sections above, but it could still be helpful.

Thanks @davidism!


Add action space info, change the info to be an attribute of the space

Observation and action spaces are created as energy_py GlobalSpaces
Currently, the information about each variable in the space is held in env.observation_info.  Would be better to use env.observation_space.info
I think the changes need to occur in the init of each environment - not a major change (maybe set a default of None or a list var1, var2 etc in the GlobalSpace init as well)

Just finished a major rework of how the GlobalSpace work - spaces now make a lot more sense


cargo install error

When I run cargo install wasm-bindgen-cli https, error comes:
error: failed to run custom build command for curl-sys v0.4.39+curl-7.74.0
Caused by:
could not execute process C:\Users\cym\AppData\Local\Temp\cargo-installcRTlqM\release\build\curl-sys-832fd609f2fd14f1\build-script-build (never executed)
Caused by:
拒绝访问。 (os error 5)
warning: build failed, waiting for other jobs to finish...
error: failed to compile wasm-bindgen-cli v0.2.69, intermediate artifacts can be found at C:\Users\cym\AppData\Local\Temp\cargo-installcRTlqM
Caused by:
build failed
Ignored package https v1.10.0 is already installed, use --force to override
Summary Successfully installed https! Failed to install wasm-bindgen-cli (see error(s) above).
How can I fix it?

this seems an issue with wasm-bindgen-cli... this is handled here : https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli
"拒绝访问" means "access denied" according to google translate, so maybe a permission error?

this seems an issue with wasm-bindgen-cli... this is handled here : https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli
"拒绝访问" means "access denied" according to google translate, so maybe a permission error?

THX for answering：）
I have fixed this problem.

THX for answering：）
I have fixed this problem.


Update ember-appuniversum

update to latest ember appuniversum
clean up button list > use list component

This PR has become almost redundant because of https://github.com/lblod/ember-rdfa-editor-besluit-plugin/pull/14


Fixes Issues #313, #262 and #314

This fix is based on johnathan neals work. Needed to combine those three issues, due to the fact, that all three needed changes to the pf.getWidthFromLengthmethod.

@aFarkas Looks like the original branch for this has been deleted. We still looking to get this in or can we close this one out?


Prevent model @key properties from being marked optional?

A discussion came up as a result of PR #735 about whether @key properties in model types should even be allowed to be marked as optional.
Here's an example of one in a cadl-azure sample:
https://github.com/Azure/cadl-azure/blob/1ceb9174f1a6aa6322dee98d0593ef31933a9e0a/packages/cadl-samples/data-plane/languageqna/Interface/questionanswering-authoring_models.cadl#L23-L26
Should this be allowed?  Should the @key decorator raise an error diagnostic when the key property is optional?

@key uniquely identifies the resource model. It doesn't make sense that it is optional.


SystemInfo -> ClusterStore and Security Options should be optional?

Hi! Thanks for this nice wrapper!
While testing this tool on some of my daemons i noticed that two fields from docker system info is often missing.
Namely the Security Options and Cluster Store 🤔
Funnily enough both are missing from the output example in their docs too.
https://docs.docker.com/engine/reference/commandline/info/
Seems like both are only printed if there is any content
https://github.com/moby/moby/blob/6d05bba74baf29523187f290a482875f3139e2b9/daemon/info.go#L180-L206
https://github.com/moby/moby/blob/6d05bba74baf29523187f290a482875f3139e2b9/daemon/info.go#L135-L143

Thank you for the PR, that's great! Could you add a test for this? The easiest way is to take a json that python-on-whales had issues with and to drop it in this directory; https://github.com/gabrieldemarmiesse/python-on-whales/tree/master/tests/python_on_whales/components/jsons/system_info the test suite will automatically pick it up and try to load it.

@gabrieldemarmiesse Done!

Thanks!


In adapter-fine-tuning, why don't fix original params?

Hi guys,
I have a glance at the run_classifier.py code and didn't see the code for fixing original transformer parameters, so it's full fine-tune setting, and why? Thanks~

@zihaolucky The restriction to training only parameters in the adapters, layer-norm, and head is made in the optimizer, using collections:
tvars = []
for collection in ["adapters", "layer_norm", "head"]:
  tvars += tf.get_collection(collection)

@neil-houlsby Get it. Thank you!


Signature wrapper missing?

Hi there,
in my test environment I do not have a signature wrapper. Checked the .less and formatting is still there but could not find code that actually create the wrapper.
For my test I did add custom CSS for now to better separate posts from signatures. But just a wild hack. Would be great to have the wrapper back, maybe with some formatting options ;)
Cheers

Hi @MrFuNK1
My apologies for the delays in coming back to you. Do you have a screenshot of what you’re seeing at present please?

No answer received from issue creator. Closing pending further commentary.


New Language Support?

What sort of languages could we reasonably support? I'm not familiar with too many languages to be able to properly implement useful beautified things

Hey @BRBoer,
thank you for forking the extension and developing it further!
Regarding the language support, I would not include any languages in the default configuration, because most people will just delete them. Instead, I would add the code for different languages here on GitHub to wiki pages, such that people can copy and paste any languages they want. If someone wants to contribute a new language we just create a new wiki page.

Hmm, I'm not sure how to feel about that, but I'm not totally opposed. I will deliberate on that for the next week or so. Maybe I'm just not a typical user, but

most people will just delete them
Isn't something that applies to me, so definitely would be something I'd want more feedback on before doing. In the meantime I'd recommend opening a new issue to talk about this. The wiki needs to be massively changed anyway I feel.

One language that could be supported, and that I'm happy to create an example configuration for, is LaTeX

that should be integrated as of now, I would love any suggestions of how to improve it further, if you have any!

I do, in fact, and I'm working on adding some missing symbols currently. I'll submit a PR when I'm done


Test TestHelmDeployPipelineRun seems to be a regular flake in PullRequests

Expected Behavior
E2E tests should be, as much as possible, a reliable indicator of regressions in the project.
Actual Behavior
It seems like TestHelmDeployPipelineRun has been flaking out (or is sporadically broken) across a number of PRs recently.  It doesn't always fail though.  This slows down progress of PRs and can result in a lot of comment noise as devs are rerunning the integration test suite.
Additional Info
Recent examples:

https://tekton-releases.appspot.com/build/tekton-prow/pr-logs/pull/tektoncd_pipeline/2363/pull-tekton-pipeline-integration-tests/1248497229157634049/
https://tekton-releases.appspot.com/build/tekton-prow/pr-logs/pull/tektoncd_pipeline/2357/pull-tekton-pipeline-integration-tests/1248496977759440897/

Should now be resolved since https://github.com/tektoncd/pipeline/pull/2368 is merged.  Thanks @eddycharly !

Hope it fully solves the issue. Ping me on slack if it comes up again.


Add "distribute release --timeout " option for loading release id.

Add "distribute release --timeout " option for loading release id.
The uploading with distribute release command internally performs multiple steps found in https://docs.microsoft.com/en-us/appcenter/distribution/uploading . Most steps are performed without any issue, but for large ipa/apk files the step 6

Once uploaded, there is a short delay before the upload is marked as finished. Poll for this status to get the $RELEASE_ID for the next step:

may take several hours regardless of the success or failure (further details can be found in the discussion with App Center Support: Distribute Issue #KVM78S6P).
This pull request allows to specify a timeout for loadReleaseIdUntilSuccess (429fa0036fc18ba3dc24041b444da60c530728d3). With this option, a user can stop appcenter-cli in reasonable time and restart it if necessary. The pull request also contains other minor refinements (0ab83ddc09a44159ac133bb833ab03cac9284fcc, 0846e65eacfb6a5ceb973434d334907ce3141e40).

Hi @KojiNakamaru , Thank you for your contribution!
I'll check it asap.

Hi @KojiNakamaru , I left a few comments to your changes.

@DmitriyKirakosyan Thank you, I reflected your comments (194d69afe967ff9c3e4e27bb609e7df26244b490).

/azp run

Hello @KojiNakamaru, I see that CI Pipeline is failed with the following error message:
/home/vsts/work/1/s/src/commands/distribute/release.ts
278:13  error  Missing radix parameter  radix
456:50  error  Missing radix parameter  radix
Could you please have a look at it?

@AnatolyPristensky Thank you, I specified radix 10 again (40c66667d9a0519db939b39c908aeea13ade4082, cf. https://github.com/microsoft/appcenter-cli/pull/1948#discussion_r872173618 ).

/azp run


Async Kubernetes resolver

[Feature Request / Design proposal]
Description:
Envoy Cluster configuration seems to have a placeholder for custom resolvers.
SockerAddress.ResolverName. We would like to propose "Kubernetes Resolver" similar to this: https://github.com/Bplotka/go-k8sresolver but in C++ and available for envoy through SocketAddress.ResolverRname.
I added "Async" word in title, because I think it is must-have to use it with STRICT_DNS or LOGICAL_DNS and I can see pending issue to block async custom resolvers: https://github.com/envoyproxy/envoy/issues/3553 instead of actually define async hooks for Resolver interface.
So, currently I see 2 major unknowns:

Resolver interface is limited to sync resolution only. (As an outcome LOGICAL_DNS and STRICT_DNS cannot (?) use it right now)
Such resolver requires certain auth against Kube API. Either additional configuration or basing on envvars would be required to use such resolver.

Relevant Links:
Short discussion on slack
Issue to block async custom resolvers
Any ideas how to allow this? Would you be ok to add such extremely useful Kubernetes integration that allows to completely avoid DNS?
Or maybe the correct way is to use some control plane that does Kuberenetes Resolution and inject IP, port to STRICT Cluster discovery?
BTW, thanks for Envoy! Such a good work!

See also the trailing discussion in https://github.com/envoyproxy/envoy/issues/1477. I think we should ideally make the address resolvers async (and I have some vague notion that we could make at least strict DNS an implementation detail of address resolvers rather than being its own cluster type).

I agree that it would be nice to make an async resolver. With that said, I'm not sure we want to support k8s directly in Envoy given the plethora of k8s Envoy integrations that are already available in the community.

hmm? Can you give some example what is the "state of the art" of solving this use case using envoy?
Apart from running whole Istio and Ambassador (:

Rotor from turbine labs would be a good option. You could also run just Pilot from Istio. There is also Contour from Heptio, Gloo from solo.io, and probably others at this point.

Thanks for directions! I think you can open new issue for async resolver as a separate thing. I am closing this one. Thanks for feedback!
Awesome work with Envoy. (:


Implement Divider widget with at least the same options as available in the schema

ACs:

[ ] Implement existing Divider widget schema

Kitchen sink https://studio.ensembleui.com/app/e24402cb-75e2-404c-866c-29e6c3dd7992/screen/4a893a2e-5bde-400c-b974-b25b497d31a5#

@evshi isnt it already there , i implemented it before our Friday demo ?


25 py pde not installed as dependency

Fixed py-pde not installing as dependency when installing dynabench from PyPi
The problem was poetrys dependency system, wherein group dependencies are only installed with poetry and not written as dependencies for main installation from the repository

closes #25


How to get video features

Thank you for your repo. Could you please tell me how can I get i3d.flow, i3d.rgb and resnet200 features of untrimmed videos?

Hi, we have uploaded the pre-extracted i3d.flow, i3d.rgb and resnet200 features of ActivityNet dataset to the BaiduNetdisk. They are extracted per 64 frames of the video.

Hi, we have uploaded the pre-extracted i3d.flow, i3d.rgb and resnet200 features of ActivityNet dataset to the BaiduNetdisk. They are extracted per 64 frames of the video.

I need to extract above three kind of features on my customized video dataset, and now flow and rgb features have been extracted, but i was not sure about the method of resnet200 feature extraction.
Can you provide the pretrained models and some public references of resnet200 extraction to us?  For fair comparision with same feature types. Thanks!

Hi, I have uploaded the script of resnet200 feature extraction in the resnet200/ folder, and you can download the pretrained model from the BaiduNetdisk (code:it7g).

Hi, I have uploaded the script of resnet200 feature extraction in the resnet200/ folder, and you can download the pretrained model from the BaiduNetdisk (code:it7g).

Got it, thanks for your kind reply!

Thank you for your repo. Could you please tell me how can I get i3d.flow, i3d.rgb and resnet200 features of untrimmed videos?

hi! it seems like you have already solved the problem,can you show me the way to organize the features?i want to test this model by self video,hoping for your reply!

Hi, my i3d features are extracted from https://github.com/v-iashin/video_features/tree/4fa02bd5c5b8c34081dcfb609e2bcd5a973eaab2, and resnet200 feature extraction script is in the resnet200/ folder of this respository.


CMS-735: Implement FE part of sidebar image settings

This PR changes:

focal_point.js fully rewrited (Raphael.js removed)
leagcy clipboard.html restored (please do not review)
class.js connected
base.js updated
scss improved

@dhorelik clipboard.html - is an old legacy html file, which will be fully removed soon, no need to review it

ok, missed the PR comment.. LGTM


fix create project bug

This pull request revert the create project permission logic.  If lockdownCreateProjects is true, only admin is able to create project; otherwise, users (including admins) are always able to create project without being checked.

Could you reference the commit that introduced the regression?
When the setting is set, users with createproject permission can also create projects. You may want to reference the documentation about this setting in your change description.
Please include what tests you have done.
The code change LGTM.

Introduction: Our team deployed the latest azkaban web server last week. we met a serious issue: every user could not create a project. After investigation, this is caused by the logic we are modifying now. we are reverting the logic back before this pull request.
In the documentation, we already mentioned that when lockdown.create.project is true, only admins are able to create project. The latest commit ignored this, so we need to change this.
Experiments are conducted in our test cluster. New code works very good.


HHH-12392 - Caching SchemaResolver delegate with multiple data sources

https://hibernate.atlassian.net/browse/HHH-12392
determineAppropriateResolverDelegate(Connection) will resolve the appropriate SchemaNameResolver  every time without checking if ( delegate == null ) so no caching for the  DefaultSchemaNameResolver#delegate field.
Another change is related with the exception that may occur trying to resolve the Java 7 resolver, in such a case the SchemaNameResolverFallbackDelegate is set instead of leaving the DefaultSchemaNameResolver#delegate field null.
catch (Exception ignore) {
			log.debugf(
					"Unable to use Java 1.7 Connection#getSchema : An error occurred trying to resolve the connection default schema resolver: "
							+ ignore.getMessage() );
			delegate = SchemaNameResolverFallbackDelegate.INSTANCE;
		}

applied upstream


merge from 02-feature/08-neox-testnet into 00-dev

:tada: This issue has been resolved in version 0.10.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Connection refused: localhost/<IP_ADDRESS>:8080

In our environment we are using Pulsar deployed with helm chart on Kubernetes. We have authentication and authorization enabled.
Our current version is 2.6.2 and it works fine.
I tried to update it to version 2.7.0 but the brokers are not able to run; this is the error I get:
[AsyncHttpClient-7-1] WARN  org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/namespaces/public/default/permissions] Failed to perform http post request: java.util.concurrent.CompletionException: org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector$RetryException: Could not complete the operation. Number of retries has been exhausted. Failed reason: Connection refused: localhost/<IP_ADDRESS>:8080
This error is given back when the broker tries to list the tenant with pulsar-admin:
/pulsar/bin# ./pulsar-admin --auth-params token:{token}--auth-plugin org.apache.pulsar.client.impl.auth.AuthenticationToken tenants list
Before upgrading it worked. We don't have the pulsar-proxy.
Thanks for any help

@MonicaMagoniCom  I'm facing this same issue while using pulsar-admin command in proxy container
ERROR:
Reason: java.util.concurrent.CompletionException: org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector$RetryException: Could not complete the operation. Number of retries has been exhausted. Failed reason: Connection refused: localhost/<IP_ADDRESS>:8080
root@pulsar-proxy-0:/pulsar# exit
exit
command terminated with exit code 1**
@MonicaMagoniCom Can u tell me the solution, what u r did.

This is also suddenly occurring for us after it was previously working. We restarted the pods and re-initialized the cluster and now this from all pulsar pods.

Hi Team,
I am also facing same issue. this is suddenly occurring for me after it was previously working. using latest pulsar docker image.
no configuration changes made.
Thanks for any help.


message_events: Fix moved messages not rendered if they are not cached.

We used to just drop moved messages from the list of messages to update if we didn't have them cached. So, if the user is in the narrow where messages were moved to, user will not see the moved message if they were not cached locally.
To fix this, we re-render the narrow after fetching messages from the server.
We don't want to use fast_track_current_msg_list_to_anchor here since that function assumes that current rendered state of the message list is correct which is not the case here.
discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/.F0.9F.8E.AF.20moved.20messages.20not.20with.20client.20locally

I tested by setting message_fetch constants to 1 and checking for network requests trigged by the correct line of code after moving message.

I realized we forgot about negated operators; made the following changes to address that before merging:
diff --git a/web/src/filter.ts b/web/src/filter.ts
index 2b68705825..b025a61876 100644
--- a/web/src/filter.ts
+++ b/web/src/filter.ts
@@ -1610,8 +1610,12 @@ export class Filter {
         this.requires_adjustment_for_moved_with_target = false;
     }

-    can_newly_match_moved_messages(new_stream: string, new_topic: string): boolean {
-        if (this.has_operand_case_insensitive("channel", new_stream)) {
+    can_newly_match_moved_messages(new_channel: string, new_topic: string): boolean {
+        // Checks if any of the operators on this Filter object have
+        // the property that it's possible for their true value to
+        // change as a result of messages being moved into the
+        // channel/topic pair provided in the parameters.
+        if (this.has_operand_case_insensitive("channel", new_channel)) {
             return true;
         }

@@ -1621,12 +1625,27 @@ export class Filter {

         const term_types = this.sorted_term_types();
         const can_match_moved_msg_term_types = new Set([
+            // For some of these operators, we could return `false`
+            // with more analysis of either the pre-move location,
+            // user_topic meatadata, etc.
+            //
+            // It might be worth the effort for the more common views,
+            // such as the Combined Feed, but some of these operators
+            // are very unlikely to be used in practice.
+            "not-channel",
+            "not-topic",
             "is-followed",
+            "not-is-followed",
             "is-resolved",
+            "not-is-resolved",
             "channels-public",
+            "not-channels-public",
             "is-muted",
+            "not-is-muted",
             "in-home",
+            "not-in-home",
             "in-all",
+            "not-in-all",
         ]);

         for (const term of term_types) {
diff --git a/web/tests/filter.test.js b/web/tests/filter.test.js
index 6e3e37ed39..af443ff585 100644
--- a/web/tests/filter.test.js
+++ b/web/tests/filter.test.js
@@ -2449,4 +2449,10 @@ run_test("can_newly_match_moved_messages", () => {

     filter = new Filter([{operator: "is", operand: "starred"}]);
     assert.deepEqual(filter.can_newly_match_moved_messages("general", "test"), false);
+
+    filter = new Filter([{negated: true, operator: "channel", operand: "general"}]);
+    assert.deepEqual(filter.can_newly_match_moved_messages("something-else", "test"), true);
+
+    filter = new Filter([{negated: true, operator: "is", operand: "followed"}]);
+    assert.deepEqual(filter.can_newly_match_moved_messages("general", "test"), true);
 });


more robust init

To make this chart more robust.
I'd suggest not tie init to the mysql image.
I would suggest having a small connection / schema check in Java, inside the control-hub image at startup to wait for the DB to be ready.
That'd allow support for other DB engines and make the chart simpler as it would not even require a InitContainer.

The MySQL dependency is completely optional and can be turned off with a flag. It’s there for convenience.

I guess I should have mentioned I'm talking about the control-hub chart.
MySQL is not optional.
I think each app should:

check that the DB is available
check if schema is initialized
init schema if not initialized

all within the control hub image.
That c\ould be ran as an initContainer if needed.
On top of this, each app other than security needs to check that the security app is available to register.


Added Savings Calculator

Fixes Issue🛠

Closes #688
Description👨💻

Addition of Savings Calculator.
This calculator estimates the total amount you can save over a specified period by making monthly deposits into your bank savings account at a fixed interest rate.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How this has been tested✅

Tested locally
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
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

Congrats on getting your PR merged to the repo under GSSOC 2k24 🥳 @krishan-07

Thank you so much.


Add sensors to jewish_calendar for upcoming Shabbat times

Description:
Add sensors to jewish_calendar for upcoming Shabbat and holiday (Yom Tov) candle-lighting and conclusion times, along with extensive unit tests.
@tsvi You might want to have a look as well.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#7838
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: jewish_calendar
    language: english
    diaspora: true
    havdalah_minutes_after_sunset: 50
    sensors:
      - weekly_portion
      - upcoming_candle_lighting
      - upcoming_havdalah

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Updated library applied.

Thank you very much

@balloob Moved the relevant stuff into hdate, ready for rereview.

Added missing docstring @fabaff

Friendly ping @balloob

Can we get this into 0.85? This implements the long-standing missing parts discussed in #17053


implement firing strategy switch

The current implementation of the firing strategy in the system has a limitation where the spike firing is only triggered when the membrane potential is greater than the threshold. However, there is a need to customize the firing strategy by providing an option to trigger firing when the membrane potential is less than or equal to the threshold. Additionally, the current implementation processes the firing by subtracting the threshold from the membrane potential. However, it is required to provide an option to reset the membrane potential to zero after firing. This feature aims to implement these customization options for the firing strategy in the system.
possibly affected files:
include/simulator/compute_policy/neuron/spiking_neuron_compute.hpp
include/simulator/compute_policy/spiking_compute.hpp

fixed with commit


Generation parameters ?

Is it possible to adjust generation parameters such as temperature ? If yes, how ?

@OsaCode Oh yep! https://huggingface.co/docs/transformers/main_classes/text_generation should be helpful


WIP: Add B field to sample b2fgmtry and write it to DD

Need B_toroidal to calculate rho
rho is the most useful coordinate base for making up profiles

Accidentally developed the same thing, but Anchal's version in dev looks cleaner.


build system: track dependency correctly with ld files

Many LD files are processed by the CPP, but there is no dependency tracking for when the header files included by these LD files have changed.

fixed


chore: upgrade redis client

chore: upgrade redis client
refactor(redisclient): share redis client connection

and rewrite as redis client uses promise

Current dependencies on/for this PR:

master

PR #372

PR #371

PR #369

PR #373

PR #374   👈

This stack of pull requests is managed by Graphite.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.666%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
977

Relevant Lines:
1053

💛  - Coveralls


Warm up before measuring the throughput

@makortel what do you think ?
I've considered a couple different approaches, mostly about where to put the Timestamp objects, but this was the easier to implement.

Closed in favour of the approach used in #401 .


Locale: Fallback not working

Describe the Bug
The fallback: false under localization in payload doesn't work.
The local api always returns/defaults to data from the defaultLocale. When fallback: false is set its expected that querying doesn't provide fallback data.
Force setting fallbackLocale to false or 'none' allows you to perform the query without getting fallback data, but the fallbackLocale type doesn't allow these values.
Link to the code that reproduces this issue
https://github.com/re-cph/payload/tree/bug/local_api_locale_fallback
Reproduction Steps
Run tests
Which area(s) are affected? (Select all that apply)
area: core, db-mongodb, db-postgres
Environment Info
Payload: beta 126
Nodejs: 20.10.0
nextjs: 15.0.1

Closing as duplicate of https://github.com/payloadcms/payload/issues/8443
We have a fix in progress here: https://github.com/payloadcms/payload/pull/8591


Error when running: LDAP failure: no such object.

When running the tool, it fails with the following relevant output:
con_gitlab_ldapsync | [notice] 184 directory user(s) recognised.
con_gitlab_ldapsync | ldap_build_search_req ATTRS: cn member
con_gitlab_ldapsync | [error] LDAP failure: No such object. (Code 32)

I suspect that the tool is not finding any groups matching the filter, but I am not sure this is the case.
I've set the following settings in the config file:
queries:
    ...
    userUniqueAttribute:            "sAMAccountName"
    userNameAttribute:              "cn"
    userEmailAttribute:             "mail"
    ...
    groupFilter:                    "(objectClass=group)"
    groupUniqueAttribute:           "distinguishedName"
    groupMemberAttribute:           "member"

In our Windows AD, group membership is based on the 'member' attribute, which is a comma separated list of all the unique DistinguishedNames of the members (the full path in the AD). Would the setting be correct in that case? Does the tool support that configuration?
Thanks for any lead on what to adjust!

Hello,
You're right in that PHP's LDAP client is not finding an object that has been specified.
You'd have to use "cn" instead of "distinguishedName" for groupUniqueAttribute, or your group names in Gitlab would be named as their full distinguished name. (E.g. "cn=My Group,ou=Users,dc=example,dc.com" instead of just "My Group".) Also groupMemberAttribute would typically be "memberUid" expecting an array of user "uid" values. (In my Active Directory both "member" and "memberUid" group fields are populated with an equal quantity of values.)
I see you changed userUniqueAttribute to "sAMAccountName" from "uid". Do your users have different values for these? (In my Active Directory the values match for every user, both real and service users.)

Hey Adam,
Thank you for the fast and helpful answer!

You'd have to use "cn" instead of "distinguishedName"
Got that changed, thank you!

Also groupMemberAttribute would typically be "memberUid" expecting an array of user "uid" values. (In my Active Directory both "member" and "memberUid" group fields are populated with an equal quantity of values.)

In the AD, the groups do not seem to possess a memberUid attribute. Therefore, I can neither see login names nor UID values of group members from the group attributes. Not sure if this is a result from migration. Is it also possible to match group membership with the distinguishedName attribute in general? That is the only connection I have here, the member attribute containing a list of distinguishedNames of all group members...

I see you changed userUniqueAttribute to "sAMAccountName" from "uid"

Users in this AD do not have a UID attribute - only an objectGUID, which is probably not helpful...
The SAMAccountNAme attribute contains the login name with which a user would also log into GitLAB
The users furthermore have their distinguishedName attribute that could be used for matching, the memberOf attribute containing a list of distinguishedNames of the groups they are a member of and a mail attribute containing their email address.
Do you think your tool could basically work with these conditions?
Again, thank you for your help!

I'm wondering if my Active Directory has these extra attributes because my server has the subsystem for UNIX feature installed, or perhaps 2012 was the latest version to use it. (Mine is 2008 R2.) -- Equally surprised about the uid attribute missing on users though sAMAccountName should be sufficient.
Looks like you're not the only person to have a problem with memberUid missing: https://github.com/gogs/gogs/issues/4792
It would likely involve a fair amount of re-writing to work with DNs instead of UIDs as it's mainly revolved around what Gitlab expects (a user name, because no end user is expected to enter or even know their entire DN). Possible feature though.

That is interesting, I'll try to ask what exact configuration we are running. Maybe it would be of interest to make the tool work with 'standard' configurations of AD structures, if you would like to see the tool in broader use - I'll try to see if our configuration is just exotic or if that structure is more common.
In any way, only the matching of the AD users with the AD groups would have to be done using DNs, the AD users posess usernames and email attributes which gitlab expects in our structure (in the attributes 'SAMAccountName' and 'email'). The groups can already be found using the query structure of the tool. So the DN matching would be done completely outside of gitlab itself.
I agree, users can not be expected to enter a DN, so that should never appear in gitlab...
I wonder if the changes might be small, as the tool would primarily have to be programmed to support DNs instead of Usernames for determining group membership of individual users, at least as far as I can see.

To be honest I've only really played around with two Active Directory instances, both my own, and one was just virtualised about 15 years ago on Windows 2000. However I will be starting a fresh AD in the upcoming months for our office expansion at work, which will be Windows 2019 based, so I'll definitely have a look at what attributes are there as standard. -- I had made the assumption that the groups work as I thought because I've not really done any schema modification to mine other than install the subsystem for UNIX feature, and a custom attribute for holding SSH public keys.
You can almost certainly use "SAMAccountName" instead of "uid", as they will be the same for the majority of cases.
Looks like group member matching just needs some work as "memberUid" doesn't appear to be a standard thing.

That sounds great - I am not sure ours is completely standard either but having a solution that works out of the box for standard setups sounds like a good idea.
I've tried to expand the group matching section to optionalle use a separate attribute than UserUniqueID. Setting UserMatchingID to 'cn' and UserUniqueID to 'SAMAccountName' now works for us. Thank you for your help in understanding this, I've attached the changes for review above.


[feat] Allow controlplane/worker/global defined schematic

It would be nice if we could set schematic on a global, controlplane and/or worker wide scope.
In cases where we want to run all nodes (or all controlplanes/workers) with the same extentions.

@Ornias1993 Thanks for the suggestion! Yeah it makes sense. I see what I can do.


$ServiceName = "Dynatrace Webserver Agent" ??

Hi Team,
We are running Dynatrace 6.1.3 and it seems the agent name is now "dynaTrace Web Server Agent 6.1.0" and not anymore : "Dynatrace Webserver Agent"
So it doesn't create/restart the good service.
What do you think ?
Thanks,
Alex

Hi Alex,
as the modules & scripts are not version specific, i kept names clean, which made it much easier to handle the service. Unfortunately this makes the scripts not directly compatible when mixing up with deployments created using the installer.
If you plan to stick with the powershell scripts in future i recommend to re-register the service. For this case you can use functions of modules/InstallWebserverAgent.psm1 where you can unregister the service with the name used by the installer.
Does that work for you?
Patrick

Hi Patrick,
Thanks. It's clear. Indeed we did a mix between the windows installer and your script.
You can close this ticket.
Alex


tests: kernel: workq: work: kernel.work.api fails test_1cpu_drain_wait

Describe the bug
The tests/kernel/workq/work/kernel.work.api fails

nrf52dk_nrf52832

To Reproduce
Steps to reproduce the behavior:

have nrf52dk_nrf52832connected
go to your zephyr dir
call ./scripts/twister -T tests/kernel/workq/work -p nrf52dk_nrf52832 --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
See console output with error

Expected behavior
Valid console output
Impact
Not clear
Logs and console output
[2022-10-07T23:35:18.868Z] ERROR   - *** Booting Zephyr OS build zephyr-v3.2.0-266-g4eb70779780c  ***
[2022-10-07T23:35:18.868Z] Running TESTSUITE work
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_drain_empty
[2022-10-07T23:35:18.868Z] PASS - test_drain_empty in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_nop
[2022-10-07T23:35:18.868Z] SKIP - test_nop in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_null_queue
[2022-10-07T23:35:18.868Z] PASS - test_null_queue in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_smp_running_cancel
[2022-10-07T23:35:18.868Z] SKIP - test_smp_running_cancel in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_smp_simple_queue
[2022-10-07T23:35:18.868Z] SKIP - test_smp_simple_queue in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_unstarted
[2022-10-07T23:35:18.868Z] PASS - test_unstarted in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] TESTSUITE work succeeded
[2022-10-07T23:35:18.868Z] Running TESTSUITE work_1cpu
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_basic_reschedule
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_basic_reschedule in 0.101 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_basic_schedule
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_basic_schedule in 0.101 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_basic_schedule_running
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_basic_schedule_running in 0.201 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_delayed_cancel
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_delayed_cancel in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_delayed_cancel_sync
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_delayed_cancel_sync in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_delayed_cancel_sync_wait
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_delayed_cancel_sync_wait in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_delayed_flush
[2022-10-07T23:35:18.868Z] PASS - test_1cpu_delayed_flush in 0.001 seconds
[2022-10-07T23:35:18.868Z] ===================================================================
[2022-10-07T23:35:18.868Z] START - test_1cpu_drain_wait
[2022-10-07T23:35:18.868Z] ASSERTION FAIL [handler != ((void *)0)] @ ../../../../../../../../../zephyr/zephyr/kernel/work.c:667
[2022-10-07T23:35:18.868Z] E: r0/a1:  0x00000004  r1/a2:  0x0000029b  r2/a3:  0x00000001
[2022-10-07T23:35:18.868Z] E: r3/a4:  0x00005901 r12/ip:  0x00000000 r14/lr:  0x00007aad
[2022-10-07T23:35:18.868Z] E:  xpsr:  0x41000000
[2022-10-07T23:35:18.868Z] E: Faulting instruction address (r15/pc): 0x0000a9b8
[2022-10-07T23:35:18.868Z] E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
[2022-10-07T23:35:18.868Z] E: Current thread: 0x20000170 (wq.coophi)
[2022-10-07T23:35:18.868Z] E: Halting system
[2022-10-07T23:35:18.868Z]

Environment (please complete the following information):

OS: Ubuntu 20.04.1 LTS
Toolchain Zephyr SDK 0.14.1
Commit SHA or Version used: v3.2.0-266-g4eb70779780c

This is the same issue like this one #48875, still occurring.


AnonymousUser doesn't have attribute '_meta'?!

AttributeError: 'AnonymousUser' object has no attribute '_meta'

It's getting hit at this line
class DisplayActivityActorUrl(Node):
    def __init__(self, actor):
        self.actor = Variable(actor)

    def render(self, context):
        actor_instance = self.actor.resolve(context)

        # get_for_model has error here
        content_type = ContentType.objects.get_for_model(actor_instance).pk
        return reverse('actstream_actor', kwargs={
            'content_type_id': content_type, 'object_id': actor_instance.pk})

Traceback (most recent call last):

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "./LoLKarma/views.py", line 415, in player_detail
    'activities': activities if activities else None,

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/shortcuts/__init__.py", line 44, in render
    return HttpResponse(loader.render_to_string(*args, **kwargs),

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/loader.py", line 176, in render_to_string
    return t.render(context_instance)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
    return self._render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 123, in render
    return compiled_parent._render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 134, in _render
    return self.nodelist.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/defaulttags.py", line 281, in render
    return nodelist.render(context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 823, in render
    bit = self.render_node(node, context)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/template/base.py", line 837, in render_node
    return node.render(context)

  File "/home/gggamers/gggamers/apps/actstream/templatetags/activity_tags.py", line 39, in render
    content_type = ContentType.objects.get_for_model(actor_instance).pk

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 32, in get_for_model
    opts = self._get_opts(model)

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 20, in _get_opts
    return model._meta.concrete_model._meta

  File "/home/gggamers/gggamers/local/lib/python2.7/site-packages/django/utils/functional.py", line 185, in inner
    return func(self._wrapped, *args)

AttributeError: 'AnonymousUser' object has no attribute '_meta'

I edited managers.py and am using my own stream
    @stream
    def model_actions_with_id(self, model, id, **kwargs):
        """
        Stream of most recent actions by any particular model
        """
        ctype = ContentType.objects.get_for_model(model)
        return self.public(
            (Q(target_content_type=ctype, target_object_id = id) |
             Q(action_object_content_type=ctype, action_object_object_id = id) |
             Q(actor_content_type=ctype, action_object_object_id = id)),
            **kwargs
        )

I use that to select all activities a user was rated in, or all activies in which the user was rated.  This is the user displayed on the page, NOT the user viewing the page!  I can't find any reference to request.user, so I have no idea why it matters that the user is Anonymous!  This works perfectly with logged in users.
I am also doing caching for non logged in users which might be doing something... but I have no idea how!!

Hello @ckcollab I'm having the exact same issue, however is not clear to me what you did to fix it, can you elaborate on that? I'm not finding any answers to this 😕
Thanks!

Well, is it an AnonymousUser? Post some code and I can help maybe, but I think in my last message I was talking about how it was obvious I was dealing with an AnonymousUser and shouldn't be trying to get activity streams for them?

Thanks for your offer to help, my problem was solved since I noticed I haven't use set_password to set the password of a recently registered user, thus when trying to login the user I was getting a AnonymousUser back.
For others reading realise what the error says "You're dealing with an AnonymousUser", once I thought on this it was clear my login wasn't working at all.

Hello please I am having the same issue please can someone explain how to actually set password for this error

@AmiteyeEmmanuel you can do something like this..
user =<EMAIL_ADDRESS>user.set_password("this is a password that gets hashed and saved to database")
user.save()


Refactor

Coverage increased (+0.6%) to 67.084% when pulling 2310e5273d590be5966df35b9e629f358ef6c4c3 on refactor into acbe1f8604363f9eb0d23159f77f2486321251b1 on master.

Fixes #14


replace old private cluster scenario with avm, delete old scenarios

This PR came together through the work done by @MattLeach25 , @deepdolphin and @mosabami. It effectively deprecates the old Private cluster scenario as well as some of the older scenarios and replaces them with the AVM scenario. Here are the changes:

Delete old Baseline private cluster scenario and replace it with the new AVM based private cluster scenario
Delete the old OpenAI cog serve redis scenario
Delete the old AKS on prem scenario
Delete the secure redis cache scenario
Delete the Azure policy scenario
Delete the old backup scenario
Delete the old high availability scenario

New Private cluster scenario powered by AVM
The new Private cluster scenario leverages Azure Verified modules to help make it easier to maintain our work by decentralizing requirement to keep bicep modules up to date. It also includes an option to deploy the entire scenario all using a deploy to azure button, or running the az deployment sub command on 1 bicep file that leverages the underlying landing zone layers. It uses the new AKS store demo as its sample app which will be expanded upon in future modules.
Work remaining to be done
Update our CI/CD pipeline to use this new module
Add TLS to our deployment app deployment

#Assign:IAmAliYousefi

#assign:@iamaliyousefi


[Request] Reload scene button

While coworking on one sceen using some repos, there is a lack of option to reload current scene. Godot could also derect it automaticaly - then just some popup could appear to ask user if he want to reaload it.
It would save quite a bit of time when pulling some changes from server, cose then you need to close the sceen and open it again using the browser and selecting the correct one from a bunch of stuff.

I think this is added now


memset broken behaviour

After the release candidate updates i've been experiencing some completely broken behaviour regarding some C and C++ functionalities of the standard library. Most notably, memset seems to be stuck in a loop whenever it gets called (both from a C and a C++ application); i've tried investigating further but i'm not that skilled with gdb or debugging in general. Anyway here is the most simple snippet that causes this problem:
#include <stdio.h>
#include <string.h>

int main() {
    unsigned char message[1000];

    printf("Reachable.\n");
    memset(message, 0x41, 1000);
    printf("Unreachable.\n");

    return 0;
}

Furthermore, i've experienced a similar behaviour with std::ostringstream: just declaring a variable of that types completely locks the application indefinitely.
I'm working on Linux Mint 20.3, and i've experienced this problem with Zephyr 3.1.0-rc3 on two different boards (nordic nRF5340DK and LaunchXL-cc1352r1).

@torres98 are you building with NEWLIB or minimal libc? can you please tell us the exact steps to reproduce?

Also, you are allocating 1000 bytes in the stack, are you sure your main stack is big enough for that? Can you try with a smaller number of moving the message declaration outside of main so it's a global?

That seemed to be the case, even though on previous releases it wasn't an issue. I'm still bugged by a similar behaviour but related to c++ exceptions and std::ostringstream. Do i close this issue and open a new one or simply edit this one?

That seemed to be the case, even though on previous releases it wasn't an issue. I'm still bugged by a similar behaviour but related to c++ exceptions and std::ostringstream. Do i close this issue and open a new one or simply edit this one?

Please close this one and open a new one.

Closing this issue since it is due to a stack overflow.


Add Concurrency Limiter

Description
This enables limiting concurrency. It is a naive approach which
will reject requests as soon as they exceed the maximum number
of in-flight requests.
Motivation and Context

[X] I have raised an issue to propose this change (https://github.com/openfaas-incubator/of-watchdog/issues/52)

How Has This Been Tested?
There are tests in the code that test for all of the obvious possible variants. The code is written in such a way that testing is easy.
Types of changes

[ ] 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 change)

Checklist:

[ ] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I've read the CONTRIBUTION guide
[X] I have signed-off my commits with git commit -s
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.

Derek close

Derek add label: invalid

Hi @sargun thank you so much for your interest in OpenFaaS.
I'm going to have to close your PR because you've not followed the contribution process, which is very clear.
Regards,
Alex
From the contributing guide:
https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md#i-have-a-great-idea

Please do not raise a proposal after doing the work - this is counter to the spirit of the project. It is hard to be objective about something which has already been done

Derek reopen


Solve issue 101

Hey @jrgifford!
At my company, we encountered issue #101 while trying to use delayed_paperclip with Sidekiq.
I think that the best solution would be to ignore instances that have been deleted before the background job gets to the processing part.
Please check it out and let me know if it looks good.
Thanks!

@etagwerker Looks solid. Thanks for the contribution and tests!

@ScotterC Awesome! Thanks for the quick response! :beers:

@etagwerker now that you know the codebase, I'd love for any other contributions you can give. Sadly I'm not as active of a maintainer as I used to be

@ScotterC I'll try to help, but I'm already busy with a couple other open source projects.

I disagree. If a record is deleted before the job is processed, it would be natural to expect RecordNotFound error on queue side. If someone wants to prevent the error, the application should explicitly dequeue the job when record is deleted.
For instance, sometimes delayed_paperclip run into race conditions against database (the job is dequeued before database transaction commits***). If queue backend has retry support, raising RecordNotFound error will gracefuly reschedule job.
*** I still can't figure out why delayed_paperclip has race condition problems even if job seems to be scheduled on after_commit hook.

Agree with previous commenter. We are upgrading delayed_paperclip in our app now. I think we will have problems if the background job doesn't raise an error.
Our app writes to a db master, but will read from a db slave which can have replication lag, meaning sometimes the db row doesn't exist yet when the background processing starts. In those cases we want ActiveRecord::NotFoundError to be raised and the job to fail so it can be requeued.
We will investigate this potential issue on our end to see if we have to do anything.


Can't work locally with Python docs, instructions fail to run

I wanted to update the python docs, but none of the commands listed in writing_docs.md work for me.
E.g.:
$ pixi run py-docs-serve
Traceback (most recent call last):
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1411, in _resolve_target
    resolved = self.modules_collection.get_member(self.target_path)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/mixins.py", line 84, in get_member
    return self.members[parts[0]].get_member(parts[1:])  # type: ignore[attr-defined]
           ~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'builtins'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/bin/mkdocs", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs/__main__.py", line 272, in serve_command
    serve.serve(**kwargs)
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 85, in serve
    builder(config)
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 67, in builder
    build(config, serve_url=None if is_clean else serve_url, dirty=is_dirty)
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs/commands/build.py", line 292, in build
    files = config.plugins.on_files(files, config=config)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs/plugins.py", line 593, in on_files
    return self.run_event('files', files, config=config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs/plugins.py", line 566, in run_event
    result = method(item, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/mkdocs_gen_files/plugin.py", line 39, in on_files
    runpy.run_path(file_name)
  File "<frozen runpy>", line 291, in run_path
  File "<frozen runpy>", line 98, in _run_module_code
  File "<frozen runpy>", line 88, in _run_code
  File "/home/cmc/dev/rerun-io/rerun/rerun_py/docs/gen_common_index.py", line 514, in <module>
    index_file.write(f"[`rerun.{show_class}`][rerun.{class_name}] | {cls.docstring.lines[0]}\n")
                                                                     ^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1042, in docstring
    return self.final_target.docstring
           ^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1377, in final_target
    target = target.target  # type: ignore[assignment]
             ^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1346, in target
    self.resolve_target()
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1405, in resolve_target
    self._resolve_target()
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1423, in _resolve_target
    self._target.aliases[self.path] = self  # type: ignore[union-attr]  # we just set the target
    ^^^^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1082, in aliases
    return self.final_target.aliases
           ^^^^^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1377, in final_target
    target = target.target  # type: ignore[assignment]
             ^^^^^^^^^^^^^
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1346, in target
    self.resolve_target()
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1405, in resolve_target
    self._resolve_target()
  File "/home/cmc/dev/rerun-io/rerun/.pixi/envs/py-docs/lib/python3.11/site-packages/_griffe/models.py", line 1413, in _resolve_target
    raise AliasResolutionError(self) from error
_griffe.exceptions.AliasResolutionError: Could not resolve alias rerun_bindings.rerun_bindings.ComponentColumnDescriptor pointing at builtins.ComponentColumnDescriptor (in rerun_py/rerun_bindings/rerun_bindings.abi3.so:None)

Does me being on pixi 0.25 has anything to do with it..?

Try doing a pixi run py-build beforehand just to be sure

Already tried this to no effect...
I'll try dropping the cache and updating to 0.34.

Removing pixi cache and/or updating pixi didn't help.
The only thing that fixes it for me is to remove the problematic artifact manually: rm -f rerun_py/rerun_bindings/rerun_bindings.abi3.so, but then the problem immediately reappeared as soon as I run pixi run py-build again.
So my workaround for now is: rm -f rerun_py/rerun_bindings/rerun_bindings.abi3.so ; pixi run py-docs-serve


tree select disable one node

I want to disable one node whatever level, but there is no way

@bluefatter @Cynthiafan Hi, just to tell you guys that a new version with the ability of disabling item selection is just released. Check out the docs here: https://riophae.github.io/vue-treeselect/#disable-item-selection


Add schema and establish link

The following changes have been made to this PR:

List of games methods
List all authors (e.g. 'Stephen King') method
Add a game method
Made the JSON files for storage of authors and games

STATUS: APPROVED ✔🍾🎉
Hello @Booze33 and @Metaverse-Nabeel
Your task is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights
Descriptive PR.
Good commit messages.
Correct git-flow.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


Dynamic Promot Wildcards integration

Feel like this might be a super enhancement for better prompts to have direct access to the prompt dynamic prompt folder of txt wildcards in order to directly insert the wildcart.txt into the prompt right from better prompt... this would be godsend

For maintainability and compatibility, i have a policy of not implementing integration features with other extensions, except for a few exceptions. Regarding this proposal, I believe it can be addressed with the planned alias feature, which we will implement in the future.


testing pypi release test

Adding in the proper GH action file to handle both

pypi releases (test and prod)
GH releases (draft and real)

The test path should get triggered on PRs to main; the others will only get triggered if we add a tag.

Why are these jobs running as part of the PR checks? It seems like the triggers might be incorrect?

Why are these jobs running as part of the PR checks? It seems like the triggers might be incorrect if this is supposed to only run on publishes to main or GH releases?

Only the draft ones are done when there is a tag. so this should not run if you make a tag-less PR against main.
can basically have a branch like "dev-0.2.0" and when it's ready to release, make a PR against main with a tag v0.2.0, which will then trigger this. after actual changes are landed, the non-draft version should run from main, and push the wheels to real pypi.

Could you add some instructions in contributing around this and how to add a tag, i.e. is this a git tag? @binaryaaron

can basically have a branch like "dev-0.2.0" and when it's ready to release, make a PR against main with a tag v0.2.0, which will then trigger this. after actual changes are landed, the non-draft version should run from main, and push the wheels to real pypi.

I'm a bit confused by the release process here, my thought was that we would create a GH Release with a newly created tag based off the main branch, and that would trigger the publishing actions to real pypi.
I'm fine to go with this to give this system a shot, though.

I'm a bit confused by the release process here, my thought was that we would create a GH Release with a newly created tag based off the main branch, and that would trigger the publishing actions to real pypi.
I'm fine to go with this to give this system a shot, though. We can always tweak down the line if the triggers are not exactly as we'd expect.
Edit: This is the release trigger I was thinking of (https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release)

that'd be fine too! this is more automation than that; if it doesn't work happy to simplify it / create a better overall structure for using GHA.
I'll add docs, @veekaybee , ty for the reminder.

I'll add some followups after this one; i think using labels might be a little easier both from a user perspective and event filtering perspective.


README.md: Link to openat-ext

I just recently created the openat-ext crate; let me know what
you think!
(Also this link should probably go in the docs too, but I'm
testing the waters with this simpler PR)

Also, reusing this PR as a way to notify you of a tangentially related discussion: https://github.com/openSUSE/libpathrs/issues/1

Merged. Thanks!
Regarding opensuse discussion, I'm not sure I understand specifics very well. I wanted crate to have a bit higher abstractions over system calls, that's why there are functions like new_unnamed_file rather than bare "open with flags".
It might happen that adding every method with all flags will make library harder to use (i.e. many ways to do the same thing), and that's where extension crate(s) might help. The trade-off here is that adding these methods to openat in the future will break code if I remember correctly, right?
And again, the last paragraph doesn't say that we will not add useful methods to the crate itself. So it's a bit uncertain.
Hopefully, this is helpful.


Support bzlmod

Tasks

[x] #288
[x] #289
[x] #290
[x] #293
[x] #294
[ ] #295
[ ] #296
[ ] #297

Tracking remaining tasks in separate issues.


laplace: hyper-parameter optimization: is sigma_noise optimized?

[This is a re-post of a question I had in a Helmholtz-internal UQ channel, where Nina Maria Gottschling made us aware of this package.]
In the laplace package's regression example the prior's variance and the likelihood's homoscedastic noise is optimized by empirical Bayes (maximization of the marginal likelihood, as one would also do in a Gaussian Process, say). Here, this is implemented in lightning_uq_box.uq_methods.laplace_model.tune_prior_precision(). However, in LaplaceBase.on_test_start() the Laplace package's self.laplace_model.optimize_prior_precision(method="marglik") is used, which "only" optimizes the prior variance. In predict_step() the code accesses self.laplace_model.sigma_noise but since this doesn't seem to be optimized, I'm not sure I understand where the value comes from (esp. if it is the default Laplace(..., sigma_noise=1).

@elcorto Thanks for your relevant question. I actually ran into similar questions with our last project and made an issue on the laplace package, where I also followed their docs. Happy to discuss how we can improve the docs or the implementation to further support this, but thought that I would give you time to read that issue first.

Closing this with the merge. Thanks again for the very valuable feedback and improvements :)


Training results using 2 GPUs

Thanks for releasing the paper and the source code!
I experimented with GPU=2 since I only have 2 GPUs.
I experimented with batch_size=4 and found that the mean_dice during training was abnormally low compared to other people's results.
Results of the experiment with batch_size=4
training mean_dice = 0.5956
wt = 0.9142
tc = 0.6453
et = 0.6193

Are there any parameters or codes that should be changed by reducing the number of GPUs?

The result is strange. In my experiment, the result is not related to the number of gpus.

Thank you for reply!
Maybe there is a difference between the different versions.
If you don't mind, could you please tell me the versions of python, torch, numpy and monai?

Thank you for reply!
Maybe there is a difference between the different versions.
If you don't mind, could you please tell me the versions of python, torch, numpy and monai?

Thank you for reply!
Maybe there is a difference between the different versions. If you don't mind, could you please tell me the versions of python, torch, numpy, monai and SimpleITK?

may I ask about your Python, Torch, and monai versions, I encountering many warnings when training start, and I cannot achieve the performance you reproduced.


Godot keeps changing ids in theme

Godot version
4.0 rc5
System information
Windows 10 and Linux
Issue description
My friend and I are working on a game and we have a theme that we use for all of our UI.
We created it by importing it from the default theme and making some changes (not very important as this was happening before we made the changes)
Every time we save the project if the person who was saving isn't the last one to have commited a change to the theme it changes all the ids on the entries
Example image

Notably I am working on the windows release of rc5 while my friend is on the linux release, I assume that has something to do with this issue.
Steps to reproduce

Make a project on the windows version of godot
Make a theme
Save the project
Commit it to git source control
Load the project with the linux version of godot
Save the project
Notice that git status shows changes on the theme, which only includes changes to the resource ids

Minimal reproduction project
N/A

Judging by your screenshot, this happens with the bundled font, and is kind of expected. For the record, you don't have to make a copy of the entire default theme, and at the very least you don't have to bundle the fonts. Themes merge together, and your project theme only needs to contain the parts that you override from the default one.

That is interesting, because this is what we have in the theme and I don't see any fonts there

We initially copied the whole theme and then deleted a bunch of things later on.
Did the font data stick around?

Well, I can be wrong, there is only so much I can tell from a screenshot. If you can't provide an MRP, you can try debugging it yourself by recreating the theme anew and adding only the stuff you need.

Seems like there was 1 font on the label, but it does not show up in the items, only when I try to import from it into another theme.

As an update, including any fonts or textures in your theme from the default theme causes this issue.

I have the same issue, and it seems to affect ImageTexture IDs specifically.
The effect is similar to how a material flagged Local to Scene keeps changing its ShaderMaterial ID (an issue I have yet to report, as I'll try to make a MRP first), but since this is a resource and there is no Local to Scene to check, the cause must be different.

since godot 4, every change generates 98 line changes (for me) that look like the below diff. This creates quite a mess in the commit history.
- image = SubResource("Image_ro1df")
+ image = SubResource("Image_sgnnq")

- [sub_resource type="Image" id="Image_702or"]
+ [sub_resource type="Image" id="Image_5qb3y"]

I forgot the post the issue I created for Material ID: https://github.com/godotengine/godot/issues/77997
although the cause must be different since it only happens when checking Local to Scene (and this seems to apply to other resources as well)

https://github.com/godotengine/godot/blob/fc99492d3066098e938449b10e02f8e01d07e2d1/scene/resources/image_texture.cpp#L93
https://github.com/godotengine/godot/blob/fc99492d3066098e938449b10e02f8e01d07e2d1/servers/rendering/renderer_rd/storage_rd/texture_storage.cpp#L796
https://github.com/godotengine/godot/blob/fc99492d3066098e938449b10e02f8e01d07e2d1/servers/rendering/renderer_rd/storage_rd/texture_storage.cpp#L1566-L1567
Setting Image for ImageTexture ultimately sets a copy of the original image. And the copy does not retain the scene_unique_id of the original image. A new scene_unique_id will be generated when the file is saved.

Similar to #55190.

At the same time, I feel the need to solve a problem. When I copy a node, such as an animation_player, the id of the sub_resource does not change. This can lead to confusing issues. Here is my case: I am currently creating multiple monsters, some of which require AnimationPlayer and Sprite2D nodes. After creating one monster, I want to quickly copy these two nodes to other monster nodes. I expect the nodes to be copied normally. However, the AnimationPlayer node is actually copied with the same id as the resource type, and when I make changes to other monsters, the previous monster is unknowingly affected and damaged.

same here... it changes the theme file even if i don't change anything in the theme... got a changed theme file on every commit...

Can someone just shortly reiterate what the current workaround is (except for ignoring the id changes)?

As an update, including any fonts or textures in your theme from the default theme causes this issue.

Remove resources (fonts/textures) from your theme file that reference the default theme or maybe make them unique?

Thanks a ton @jamie-pate ! This button did the trick for me

We have the same issue and it's driving me crazy that default_theme.tres keeps changing just because it decides to change IDs, so that file gets commited in Github every single commit.

Here is my absurd workaround that possibly might have bad consequences for the integrity of your project:

put the theme tres in a subdirectory all of its own
remove permissions from that directory and the tres file so you can't write to it (e.g. chown & chmod to root)

Godot will complain about not being able to write to the file whenever you save, but it appears to work...

Here is my absurd workaround that possibly might have bad consequences for the integrity of your project:
1. put the theme tres in a subdirectory all of its own

2. remove permissions from that directory and the tres file so you can't write to it (e.g. chown & chmod to root)

Godot will complain about not being able to write to the file whenever you save, but it appears to work...

Thanks for the suggestions, but that's not really a viable workaround for us, and I find it rather absurd. Has there been any official word about this bug yet?

The ID change because you have ImageTexture embedded in your Theme. Trying to get Image of ImageTexture will always return a new instance (#25209), hence the IDs will change.
We already have a warning when importing theme icons:

I guess it could clarify what does it mean exactly or maybe it should be outright not allowed, because icons imported from default/editor theme get embedded. The only way to "fix" this is to save each icon to a new file, so it gets referenced as an external dependency.

I think the warning doesn't really let you know how it's not just bigger
but it's unstable and will change frequently which makes it practically
incompatible with source control .
On Wed, Jul 24, 2024, 21:48 Tomek @.***> wrote:

The ID change because you have ImageTexture embedded in your Theme. Trying
to get Image of ImageTexture will always return a new instance (#25209
https://github.com/godotengine/godot/issues/25209), hence the IDs will
change.
We already have a warning when importing theme icons:
image.png (view on web)
https://github.com/user-attachments/assets/6ecb3466-820d-480f-98f5-aa7383cf3914
I guess it could clarify what does it mean exactly or maybe it should be
outright not allowed, because icons imported from default/editor theme get
embedded. The only way to "fix" this is to save each icon to a new file, so
it gets referenced as an external dependency.
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/74001#issuecomment-2247994925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAP4ANGESGCGROCLYOYODM3ZN6WCTAVCNFSM6AAAAAAVIUBDYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXHE4TIOJSGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This isn't an issue with themes I don't think - I am using ImageTexture in my project and every time the project loads the internal id of the sub-resource containing the image data is changed.
I have tried everything I can think of and everything recommended on other threads to try and fix this but nothing works.
I have even written a system that saves the image as a PNG before loading it into the ImageTexture, hoping that that would sort it but no luck.
This the the kind of ID that keeps changing in the ImageTexture:
[sub_resource type="Image" id="Image_spgdd"]
data = {
...
}

image = SubResource("Image_spgdd")

If anyone has any ideas I'd be very grateful.

For me, (I think) it was that I had to recreate my theme without starting from a copy of the default theme.

Save the Image as file instead of embeddimg it. From the inspector, not using script.

Yes, this is an issue with images being embedded in the theme.  This can happen when you don't set a texture for a type; it will load the default texture into your theme, and directly embed the data into your theme as a SubResource.  To fix this:

Look at your theme changes in Git and find the id of the image that is changing.

Open your theme in your preferred text editor, and find where the image is being used (for me it is an ImageTexture).

For each id, find where else that is being used; take note of what icon it is being used for (for me it is the LineEdit clear icon).

In the theme editor in Godot, just clear that associated image, and the embedding disappears.  Alternatively, you can right click the image and Save As, if you are using your own custom texture.

This will remove the embedded data for the texture.  When you play the game, it will still use the texture, it just doesn't load it directly from the theme now.  I don't know why this happens, but I think it can occur during some point of setting up a theme for a certain type for the first time, but other than that I genuinely have no idea how to reproduce this issue.

@basilicon Thank you so much for the step by step solution that at last I was able to follow. Your post will be remembered! Now I don't care that much anymore if it's fixed or not, this workaround is sufficient for me.


Initial Native development guide for iOS and Android using Amplify CL…

…I and new codegen features
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Fixed "not out of date" in flow 4.


'IndexError: list index out of range' deploying Flask app

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp up
Errors:
list index out of range
Traceback (most recent call last):
Temp\pip-install-rtk110ve\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 652, in _run_job
azure\cli\command_modules\appservice\commands.py, ln 55, in _polish_bad_errors
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 305, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 485, in default_command_handler
azure\cli\command_modules\appservice\custom.py, ln 2447, in webapp_up
azure\cli\command_modules\appservice\_create_util.py, ln 276, in set_location
IndexError: list index out of range

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp up -n {}

Expected Behavior
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.70

Extensions:
webapp 0.2.23

Additional Context

requirements.txt
Click==7.0
Flask==1.0.2
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
Werkzeug==0.15.5

app.py
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

Looks like you are using the webapp extension Extensions:
webapp 0.2.23
can you delete the extension az extension remove -n webapp & see if that helps?

closing this due to inactivity please open new issue if if you still see this repro with the latest CLI. Thanks!


Confusing error message when element not found

Describe the bug
When an element is not found, a confusing sqlalchemy error is raised.
To Reproduce
Steps to reproduce the behavior:
>>> import mendeleev
>>> mendeleev.element("si")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/g/.local/lib/python3.10/site-packages/mendeleev/mendeleev.py", line 64, in element
    return _get_element(ids)
  File "/home/g/.local/lib/python3.10/site-packages/mendeleev/mendeleev.py", line 81, in _get_element
    return session.query(Element).filter(Element.symbol == str(ids)).one()
  File "/home/g/.local/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2797, in one
    return self._iter().one()  # type: ignore
  File "/home/g/.local/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 1827, in one
    return self._only_one_row(
  File "/home/g/.local/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 760, in _only_one_row
    raise exc.NoResultFound(
sqlalchemy.exc.NoResultFound: No row was found when one was require

Expected behavior
A clear error message saying that the element was not found, without showing sqlalchemy, which is an implementation detail.
Specification

mendleev 0.15.0
python 3.10
Windows 10

Additional context
See this post.

Thanks for reporting this @Vi-L . Indeed the error message can be quite confusing. It comes straight from SQLAlchemy but that's not a detail that needs to be exposed to end users.


Document weight for (some) FRAME pallets

This PR adds weight documentation to some FRAME pallets according the benchmarking/weight philosophy.
Partially addresses #5596

@shawntabrizi Do you know why the bot keeps adding B2-breaksapi?

@apopiak just ignore it.

please merge master to fix CI

Cool, cannot merge, though.


[Design] Review copy for efficiency and clarity

Review the generic copy throughout our UI.
Re: CRUD UI specifically:

As mentioned in #6668 we could say "Filter" instead of "Filter List"
As mentioned in #6668 we could say "Charts" instead of "List Charts"

Please keep adding items here so we can keep track of all changes needed!

This has been addressed, closing


Feature/zipkin2 support

Codecov Report

Merging #70 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #70      +/-   ##
============================================
+ Coverage     99.12%   99.34%   +0.22%
- Complexity      633      655      +22
============================================
  Files            45       49       +4
  Lines          1479     1532      +53
  Branches        160      162       +2
============================================
+ Hits           1466     1522      +56
  Misses            4        4
+ Partials          9        6       -3

Impacted Files
Coverage Δ
Complexity Δ

...oot/WingtipsWithZipkinSpringBootConfiguration.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...util/WingtipsToZipkinSpanConverterDefaultImpl.java
87.5% <ø> (ø)
9 <0> (ø)
:arrow_down:

...tips/zipkin/WingtipsToZipkinLifecycleListener.java
100% <ø> (ø)
7 <0> (ø)
:arrow_down:

.../wingtips/springboot/WingtipsZipkinProperties.java
100% <ø> (ø)
14 <0> (ø)
:arrow_down:

...s/zipkin/util/ZipkinSpanSenderDefaultHttpImpl.java
98.63% <ø> (+3.96%)
13 <0> (-1)
:arrow_down:

...ps/springboot/WingtipsSpringBootConfiguration.java
100% <ø> (ø)
6 <0> (ø)
:arrow_down:

...ips/zipkin2/WingtipsToZipkinLifecycleListener.java
100% <100%> (ø)
8 <8> (?)

...s/springboot/zipkin2/WingtipsZipkinProperties.java
100% <100%> (ø)
11 <11> (?)

...in2/WingtipsWithZipkinSpringBootConfiguration.java
100% <100%> (ø)
3 <3> (?)

...util/WingtipsToZipkinSpanConverterDefaultImpl.java
100% <100%> (ø)
7 <7> (?)

... and 17 more

Continue to review full report at Codecov.

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

@adriancole This builds on your commits in #69 so that Wingtips uses the native Zipkin Reporters and Senders rather than the custom Wingtips ZipkinSpanSender adapter. I'd love to get your thoughts before moving forward with this if you have time to give it a quick look.

thanks, Nic! Appreciate your taking the time here

Thanks for the review Adrian!