Remove redundant lock files (conda-osx-64.lock, conda-osx-arm64.lock, conda-win-64.lock).

I think we should still have these conda-lock files in, they provide other conda locks for creating environments on different operating systems if they don't want to use docker


bflabels: disallow label redeclaration

currently bflabels allows such a thing:
@test
@test

It should be a compile-time error.

Resolved by 3c0052c


ViewModelBase made internal in 0.9

https://avaloniaui.net/docs/binding/binding-to-commands shows using ViewModelBase as an easy way to get INotifyPropertyChanged. This worked in 0.8, but seems to be replaced in 0.9. Is there a replacement, or just manually implement INotifyPropertyChanged?

I don't think it was intended to be a part of the public API, since it lives in Avalonia.Diagnostics and is used internally in devtools.
If you need the behavior from 0.8, just copy-paste the code from https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Diagnostics/ViewModels/ViewModelBase.cs

@ThadHouse a ViewModelBase gets generated with each project however nowadays it's simply extending ReactiveObject so everything should work as documented out of the box still.


Frontend batch send

Preview at http://localhost:8080/batch-send
Latest batchSend address on Goerli: 0x0d81Df222BB44b883265538586829715CF157163

This PR is currently on hold, currently blocked by two planned PRs:

Add batch send method into Umbra.ts
Follow up PR to remove duplicate logic

Then, we can update this PR to link the new umbra-js functionality to support batch sends in the frontend. Need to make sure to hold off on merging it (or feature flag it) until contracts are deployed?

Closing until #290 is complete


Documentation on how to setup the FlagValueSource as a shared UserDefaults from the "Settings" app

In the documentation it is stated that we recommend that the view/Vexillographer be contained in its own app.
This requires the user to setup an App Group, and then set the source in both the seperate app/target and in the app to be the shared UserDefaults file. While not super tricky to implement, I feel like it'd be nice to provide documentation on how to do that.
Happy to do it myself but wanted to flag (heh) the idea here first in case there's a reason why we shouldn't.

Hi @will-lumley - how are you mate? I am in a new app projec, where I am too keen to use Vexil with feature flags manager.
All docs working fine, understood the steps needed,  and I managed to setup app-group to share UserDefaults between two app targets. But I ended up having the same issue that settings app does not let me change the flag values. And get stuck. You remembered how we managed that buggy issue in our plus app? Thanks mate, some tips (I just forgot how to) would really help me. 🙏🏽
cc- @bok-
Here is demo Gif below. It's all stuck . :( 😭

As first step, I managed to include the Vexilographer based SwiftUI view in the main app hidden in secret corner of the app. Then I next step, I tried to take that part out in a dedicated FiddleSettings app using the same app-group.  But got into this stuck situation.
I did a a few troubleshooting like (my app's min deployment iOS is 15)

new simulators (old iOS and new iOS versions)
reset simulator
install main app first then install settings app next
install settings app first and then install main app next

Actually, I have got it working now. 😀 Seems like I missed a step to attach the source precisely at one point.
Before: (not working :( )
private let flagPole = FlagPole(hoist: AppFlags.self)
...
Vexillographer(flagPole: flagPole, source: FlagService.sharedUserDefaults)

After: (working :) )
private let flagPole = FlagPole(hoist: AppFlags.self, sources: [FlagService.sharedUserDefaults])
...
Vexillographer(flagPole: flagPole, source: FlagService.sharedUserDefaults)

@arinjoy Glad you got it working. I am working on my own app on the side and ran into this exact issue - hence why this issue which I raised that advocates for clearer documentation.


e2e-tests clean up

safer initialization of rewards tests
retrieving era manually instead of guessing (towards possibility to run all e2e-tests within a single run session)
some small changes towards removing dependency on substrate_api_client from packages depending on aleph-client

looks much cleaner. What is the reason for the additional trait ConnectionExt?

That ConnectionExt is kind of common rust pattern for such apis, but more importantly I would like to continue this approach which would allow us to keep things from substrate_api_client to be internal to aleph-client. Users/implementors of that api shouldn't depend (or know about) on Connection (from scs) and its trait can be made private in the future. I know it doesn't fit this PR - I can remove it.


Variables as property values support

Hello, I can't tell from the docs whether or not this plugin will evaluate properties that have a variable as a value. Ex:
a = b
c = ${a}
would result in:
c = b
Perhaps add to docs, and if this is not a feature, then can you please add it?

Hi @thejeff77,
thanks for asking.
This is a fork of the properties-maven-plugin from mojohaus. As you can see in their page (see http://www.mojohaus.org/properties-maven-plugin/usage.html ) the plugin resolves variables.
So the answer is yes.

Awesome. Thanks!


Reset editor camera button should be in 'Perspective mode'

Using current Godot master I got lost in a view-port and realized no button exists which can reset camera back to its 'initial position from when the viewport is loaded or where a new view port would start from.

You can select any 3D node and press F to move the camera to focus it.

Tried that but it didn't resolve my issue because it didn't reset to the grid center or move the camera to the center of the object even when the cursor for this was in the middle.

So you essentially want:

Viewport to reset to center of map.
Button to reset Camera position.

1 seems to be missing feature(not sure), while for 2, maybe you can try reseting the position of Camera.

For 2 The editor camera isn't available in the godot scene tree though is it?

Don't you use a Camera node for camera?

I'm literally just speaking about the invisible camera that the editor viewport uses. I cannot reset it to 0,0,0 it's not in the hierarchy.
When I use WASD in the godot engine viewport sometimes if a map is large enough and you are outside the culling range you cannot get back to the grid because its out of view and no other objects are there to orient your camera.
I'm literally just suggesting we make a reset button to reset the entire viewport in the editor only.

@RevoluPowered Im not understanding how your proposal is different from "Focus Origin" found in the perspective menu. It sounds like you want a button that will reset the editor camera to 0, 0, 0 which is exactly what "Focus Origin" does.

I'll make a video reproduction of this to show you as if that is the case then it may clarify it up as i totally understand that it should do that, but in my case it wasn't working and i could not explain why

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!

@Gusher This sounds related to https://github.com/godotengine/godot/pull/39743 which was fixed in 3.3rc.

..thanks for headsup..


Perceptual Loss and AMP - discussion

Currently, Perceptual Loss and AMP are causing issues. Everything points towards GradScaler zeroing values.
Read more on pytorch forums thread.
A temporary solution was commited, moving perceptual loss completely outside of autocast and doing backward() without GradScaler. This however is not an optimal solution.

Solution found by @terrainer has been commited.
Explanation: initial GradScaler value was too high, leading to inf/NaNs and making it unable to recover even after backoff_factor being applied. Decreasing init_scale from default 2.**16 to 2.**11 fixes the issue.
Thanks again to @terrainer for finding, testing and reporting the solution.


CDC should add a unique prefix to keys to distinguish new data from old data

TiCDC cli reports [CDC:ErrMultipleCDCClustersExist]multiple TiCDC clusters exist while using --pd, after create a changefeed using an old cli. Currently, to fix solve the error, we need to use etcdctl to detele the new changefeed key.
I propose adding a unique prefix to new keys (eg, /tidb/cdc/_v1/<NAMESPACE>/<CHANGEFEED>/...), so that TiCDC can distinguish the new data from the old data, and migrate old data automatically.  Note the prefix should be a string that can not be used as a changefeed name.

IMO, it is better to prohibit using old cli(version <= 6.1) to create a changefeed to a new version cluster (>= 6.2), so we should not migrate old data automatically after we upgrated TiCDC cluster.


Update CoreFx script

We need to make some changes to this script to make it work on the CI. Namely, we must allow the use of a GitHub access token.

https://github.com/aspnet/Universe/issues/1063

:up::date:. @pakrym this should fix #1063.


text_generation samples for shell

Text generation demonstrated in the following examples:

text_gen_text_only_prompt
text_gen_text_only_prompt_streaming
text_gen_multimodal_one_image_prompt
text_gen_multimodal_one_image_prompt_streaming
text_gen_multimodal_multi_image_prompt
text_gen_multimodal_multi_image_prompt_streaming
text_gen_multimodal_audio
text_gen_multimodal_video_prompt
text_gen_multimodal_video_prompt_streaming

TODO:

Need to figure out how to format file paths.

Note: we need to be careful here: IIRC the mac version of base64 is different from the linux version.

Is there a tool we can use that's compatible on both mac & linux?


surround table name and column names with quotes ( ) in case they h…

…ave the same name with SQL keywords
surround table name and column names with quotes ( ) in case they have the same name with SQL keywords, e.g. order.

With all CI checks broken, I am closing this pull request.
Please also confer #199.


Bug 114428 configure additional cloud storage locations during dl setup   step 1

Initial installment of Cloudbreak UI settings for additional cloud storage locations. At the moment, the following services are covered:

YARN NM app logs
YARN ATS
SHS
AMS

More changes are expected to come. In particular:

Locations for LogSearch and Zeppelin are still missing
requiredForAttachedCluster and relatedService settings need to be double-checked
Extra clusterName suffix might need to be removed in certain cases
Better wording for descriptions or more appropriate paths

Open issues (to be covered in a separate PR):

Adding location inheritance to Cloudbreak (attached WL inheriting certain locations from the DL)
Finetuning defaultPath expansion so that it does not necessarily contain any clusterName (or if it does, it contains the name of the DL in case of an attached WL)
Where / when to set core-site / fs.defaultFS if it is supposed to point to a cloud location

Looks like unit tests need to be fixed as well (if there is anything depending on the affected JSON)

Hi @lajosrodek can you please use "BUG-114428 configure additional cloud storage locations during dl setup step 1" as commit message and also please squash your commits into one.
Thanks

The failure of com.sequenceiq.cloudbreak.blueprint.filesystem.query.FileSystemConfigQueryServiceTest#testWhenOnlyHiveMetastoreIsPresentedAndAttachedClusterThenShouldReturnWithOnlyRangerAdminConfigs of module template-manager-blueprint was caused by the incorrect true value of requiredForAttachedCluster in the new JSON entries. (As discussed with @doktoric , this attribute can be left false in most cases.)

@sidseth Here are a couple of open issues:
Short term (i.e. this PR)

hive.metastore.warehouse.dir: This ancient property was already present in the JSON. After some googling it looks like this has been deprecated and replaced by hive.metastore.warehouse.external.dir (that you mentioned above). What is your preference here regarding the old property, shall it be kept alongside the new one? If yes, shall both receive the same path settings? (Note: Having both currently causes failures in FileSystemConfigQueryServiceTest as the test cases expect a single instance of HIVE_METASTORE related property.)
Where / when to set core-site / fs.defaultFS if it is supposed to point to a cloud location? (Actually this is the case in hdp30-shared-services.bp.)

Mid term (either this or a subsequent PR)

LogSearch (specifically LogFeeder) storage properties are still unavailable. Pinged Oliver Szabo in https://hortonworks.jira.com/browse/RMP-12495 for more details. Your call if we shall wait for his answer or cover these settings separately.

Long term (definitely in later PRs)

Finetuning defaultPath expansion so that it does not necessarily contain any clusterName (or if it does, it contains the name of the DL in case of an attached WL). Preferably there should be two placeholder options: one without clusterName and another with DL name included (if this is an attached WL; unclear though what to do when dealing with a standalone WL or the DL itself).
Adding location inheritance to Cloudbreak (attached WL inheriting certain locations from the DL), where this makes sense.
Reducing the number of location options presented to the user, by grouping related ones (e.g. all kinds of app logs under an umbrella path prefix). This is actually covered by https://hortonworks.jira.com/browse/BUG-114429 .

@ddraj @doktoric @sidseth After a bit of a struggle with git (history screw up due to rebase onto master), the mess has been cleaned up, and all commits have been squashed into a single one. Please have a look and leave a comment/approve as you wish.
hive.metastore.warehouse.dir and hive.metastore.warehouse.external.dir have both been kept (with different paths), so the associated unit test had to be also adapted accordingly.
The remaining outstanding items (including the correct handling of fs.defaultFS) will be covered by separate Jira tickets & PRs.

Sorry, just noticed I was using SPARK_CLIENT instead of SPARK2_CLIENT. Has been fixed in both occurrences.

The correct of treatment of {{fs.defaultFS}} is now tracked in https://hortonworks.jira.com/browse/BUG-115322.

Adding location inheritance to Cloudbreak (attached WL inheriting certain locations from the DL), where this makes sense.

This is actually already covered by https://hortonworks.jira.com/browse/RMP-12678.


Retry on Error

It should not be hard to capture errors in a text file, and allow additional user feedback to try again.

If this is done, the error output should be limited in scope.


Remove  Set-CsTeamsInteropPolicy and New-CsTeamsInteropPolicy and update others.

The Set-CsTeamsInteropPolicy and New-CsTeamsInteropPolicy should be removed and the Grant, Remove, and Get should be updated with the following:
Also, we should update the remaining cmdlet topics for InteropPolicy to indicate that these are legacy cmdlets that will be retired. Furthermore:
•	These cmdlets will be replaced by TeamsUpgradePolicy, but during the transition they must still be used, in combination with TeamsUpgradePolicy (since some components honor interop and others honor upgrade)
•	Folks show only use 1 of the 3 instance where the values for chat and calling preferred clients are the same, and allow end user override =false.  The others are no longer valid supported configs.
•	If they customized their global interoppolicy, they should use remove-csteamsinteorppolicy to undo this.

Removed the Set-CsTeamsInteropPolicy and New-CsTeamsInteropPolicy. @nsshommo  working on a PR to update the others as per PM. CC @arachmanGitHub

I am working on it.

Saw this is live now! Thanks @nsshommo  and @arachmanGitHub .
Here are links:
https://docs.microsoft.com/en-us/powershell/module/skype/get-csteamsinteroppolicy?view=skype-ps
https://docs.microsoft.com/en-us/powershell/module/skype/remove-csteamsinteroppolicy?view=skype-ps
https://docs.microsoft.com/en-us/powershell/module/skype/grant-csteamsinteroppolicy?view=skype-ps
Closing this issue out.


Invalid value for --edition

I recently upgraded my project to rust 2021 edition, but rustfmt is no longer working (both on computer and ci with the latest nightly).
To reproduce:
> git clone https://github.com/Luro02/array-map
> cd array-map
> cargo fmt --all -- --check
Invalid value for `--edition`

This issue is not only limited to this project, one can also reproduce it by running cargo new help and changing the Cargo.toml to:
+ cargo-features = ["edition2021"]
+
[package]
name = "help"
version = "0.1.0"
+ edition = "2021"
- edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]

This may be related to #4916

Even simpler reproduction:
> rustfmt --edition 2021
Invalid value for `--edition`

Thanks for reaching out but closing as a duplicate of an issue already covered by #4847.
It's been fixed in source but not yet released. Will be available in the following nightly after https://github.com/rust-lang/rust/pull/87468 lands


Possibly make _maybe_unpack_vector_component public

Mentioned in https://github.com/xgcm/xgcm/pull/459/files#r840149780.

@TomNicholas you mentioned this in the review. I am fairly convinced that this does not need to be exposed to the user at  the moment.


OpenBLAS-v0.2.19-Win32.zip is incomplete

Hi,
I downloaded OpenBLAS-v0.2.19-Win32.zip prebuilt binaries from sourceforge but it was incomplete. libopenblas.dll.a and libopenblas.dll are missing.

They are last present in v0.2.15

Could you check if these work (cross-compiled on Linux using the MXE flavor of mingw32-gcc.4.9.2, using the options documented in the readme.txt of xianyi's zip archive) ?
libs.zip

v0.2.15 works. I have not tested the libs.zip though. Thanks anyway.

@martin-frbg
Thanks for your win32 version, it works for me.


who can give me advise。

I am developing a third-party open source database, which is responsible for remote writing and reading of Prometheus. At present, the two files in the pictures I use are temporarily downloaded and copied to my project. My question is how to reference these two files in MVN, or is there another better way?

Hi @CloudWise-Lukemiao, we use GitHub issues to tracks bugs/features of Prometheus project. Please use our community channels for such questions https://prometheus.io/community. (PS: your question is more about proto handling in MVN, so Prometheus community might not be the best place for this question)


401 unauthorized

On a node with no rpcuser or rpcpassword (it works with litecoin-cli), I am getting an "401 unauthorized" error.
The library also seems to lack facility to set JSON-RPC user and password.

it is possible to use credentials on the url in the format <protocol>://<username>:<password>@<host>:<port>

it is possible to use credentials on the url in the format <protocol>://<username>:<password>@<host>:<port>

Ok, thank you. Are you guys planning to write documentation?

it is possible to use credentials on the url in the format <protocol>://<username>:<password>@<host>:<port>

Ok, thank you. Are you guys planning to write documentation?

We're open for PRs if you'd like to


Refactor e2e

Refactor e2e

Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

Codecov Report

Merging #1259 (8dcd664) into main (526caed) will decrease coverage by 21.13%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1259       +/-   ##
===========================================
- Coverage   63.19%   42.06%   -21.14%
===========================================
  Files          82       74        -8
  Lines        7670     7225      -445
===========================================
- Hits         4847     3039     -1808
- Misses       2209     3878     +1669
+ Partials      614      308      -306

Flag
Coverage Δ

e2etests
?

unittests
42.06% <ø> (+0.05%)
:arrow_up:

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

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Concurrent running hooks causing a problem running go linter

There should be a way to run them in serial.


Gradle versionNameSuffix property

Hi! 👋  Here I am with an other request.
So far I am loving this plugin, it really simplifies our versioning process.
What I would like to add is support for the Gradle versionNameSuffix property.
For example in our case we have multiple versions of the same app, based on different flavours. Currently the APK output file is different for each flavor but this information is lost once an app is installed. It would help us a lot if optionally the versionNameSuffix if set is added at the end of the version name.
https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.ProductFlavor.html#com.android.build.gradle.internal.dsl.ProductFlavor:versionNameSuffix
For example:
flavorDimensions "flavor"
    productFlavors {
        free {
            dimension "flavor"
        }
        pro {
            dimension "flavor"
            versionNameSuffix "-Pro"
        }
    }

Once build and the last git tag was v0.6.0 the version names will be:
free -> v0.6.0
pro -> v0.6.0-Pro
This helps us a lot if end-users are having issues and they can help us pinpoint it to a specific version and build flavor.

Seems totally reasonable. 👍 Not sure why that isn't the default in the AGP APIs.

In the spirit of Hacktoberfest I tried to look into it, first time looking at Gradle plugin api, but couldn't find a way to get the versionNameSuffix 😞

Better late than never right :smile:


fix(pacmod_interface): revert "update engage_sequence (#45)"

Revert the PR #45
(Background)
The pull request for #45 was intended to address the engagement sequence of the new Lexus Pacmod FW. However, it inadvertently includes changes that completely disable engagement. Therefore, We will revert the changes.
The adaptation to the new Lexus Pacmod FW engagement sequence will be addressed in a another pull request.

Codecov Report
Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (664a58d) 0.00% compared to head (021fcfd) 0.00%.

Files
Patch %
Lines

...nterface/src/pacmod_interface/pacmod_interface.cpp
0.00%
6 Missing :warning:

...erface/src/pacmod_steer_test/pacmod_steer_test.cpp
0.00%
5 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main     #67   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         11      11
  Lines        960     959    -1
=====================================
+ Misses       960     959    -1

Flag
Coverage Δ

differential
0.00% <0.00%> (?)

total
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I reviewed the code diff. This PR is literally a revert PR for #45. :ok_hand:
Also, 2 weeks ago I confirmed that the Lexus's pacmod works well by reverting #45. :ok_hand:
I think this PR is approvable.


Blank configuration save/load related...

Sir,
Blank configuration saved to file creates file with size 0 but loading same throws exception.
Technically, any configuration successfully saved must be loadable?
            var cfg = new Configuration();
            cfg.SaveToFile(@"d:\sample.ini");

            cfg = Configuration.LoadFromFile(@"d:\sample.ini");

Hey Ketan-Desai, you're correct. Let me see...

Fixed with version 1.5.6!


Research categorization benchmarking

Research a way to better benchmark the categorization of prompts
Research a better way to benchmark different LLMs based on different categories of prompts:

You can find research papers and try to gather findings that point to a similar conclusion
You can create a "custom GPT" prompt to rank the output of different models

This would be done with the best model available (GPT-4)
You can also automate this to gather data for n number of tests
Since Victor has GPT, it may be possible to automate this task using javascript on the browser

This benchmarking can also be used as part of our test suites for testing.
References:

https://benchmarks.llmonitor.com/
https://python.langchain.com/docs/guides/model_laboratory
https://txt.cohere.com/evaluating-llm-outputs/
https://research.aimultiple.com/large-language-model-evaluation/

No longer doing this, we are just going to use leaderboard data:
https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboard


Use HTTPS when available

If the user has a Pastebin pro account, the communication can be over HTTPS. It would be nice if the plugin would handle that. (I would be inclined to take a stab at it if you can point me to where the connection is made.)

Hey @jcassee! Thank you for the feedback, i forgot about the HTTPS for PRO users, and yes, it would be nice to use indeed, this week i'm very busy and going in a little vacation tomorrow, so i can't implement it, just next week.
If you wanna give a shot, the communication with the API is handled in another project, pastebin4j, you can send a pull request and if everything is OK i merge it and update the plugin with the new implementation.
The logic is handled in the class com.github.kennedyoliveira.pastebin4j.api.PasteBinApiImpl.
Thank you!


Newest zen browser update 1.0.1-a.18 breaks theming.

Immediately after updating Zen, I noticed some elements not being themed (as far as I know) like the compact toolbar background, and correct me if I'm wrong, the browser background. Here are your Theme Changes that you should look out for and fix.

Compact mode will now use '--zen-main-browser-background-toolbar' as the background color
Browser background isn't defined on zen-main-app-wrapper element anymore but on the #browser element
Added a new variable for the translucency of the browser in macos"

Hi @undefinedcode0,
I new something like this would happen when Mauro talked about this changes.
I am planing to review and asses this once I have some bandwidth.
Thanks for the report!

Youre welcome, man! I'll be looking forward to the fix, I'll be waiting patiently!  👍

Hey @undefinedcode0,
I was checking this and I can see that the Catppuccin Theme was not affected by the update.
It seems the variables I was using were not affected by this change.
The only thing that I can see that got 'broken' was the border around the Viewport, however this  was an intentional change in this new Zen UI which deprecated it.
Adding --zen-main-browser-background-toolbar to has no effect, as this background was already themed using:
  #TabsToolbar {
        background-color: #181825 !important;
    }

And for the browser background --zen-themed-toolbar-bg along with --zen-colors-tertiary seems to be working just fine.
This theme is designed to be OS agnostic, therefore, it is not planned to support translucency for MacOS, this can be added by the user if wanted.
Let me know if I am not taking something in consideration, we can always reopen the issue if needed

I forgot to mention that the Theme Changes were from the release notes. But, is there a way to theme the viewport again?

There most be a way tinkering with the CSS to bring the border back, however it is Catppuccin's philosophy to be a color scheme that does not modify the default behavior of the application.
So if Zen decided to go with this UI, the Catppuccin theme will not modify it.

Interesting... Thanks for acknowledging my issue though. I was wondering if there was a fix, but for now, there isn't.


Coinjoin fee estimation occasionally underbids

After applying https://github.com/WalletWasabi/WalletWasabi/pull/13279 there are still some cases where coinjoin fee estimation is too low:
https://mempool.space/tx/15184375de8383fff7d460f91eceed4c9b88cce870de5bccbacf0823ec5ccfda
https://mempool.space/tx/5a84375f7c598c94730627d783838860a1695657a9cd2bd6ce5bea0c62c1405b

I haven't experienced this again, so the case is rare enough to ignore investigation at this point.


Unable to switch context because of directory not found error.

Firstly, Thanks for your effort to give the utility to mange multi-cluster at same time.
When I executed the change context command, the below error occurs.
aliver@dev-server:~$ kubechc arn:aws:eks:us-east-1:xxxxxx:cluster/MyCluster
touch: cannot touch '/home/aliver/.kube/config.dest.d/arn:aws:eks:us-east-1:xxxxxx:cluster/MyCluster-default': No such file or directory
chmod: cannot access '/home/aliver/.kube/config.dest.d/arn:aws:eks:us-east-1:xxxxxx:cluster/MyCluster-default': No such file or directory
-bash: /home/aliver/.kube/config.dest.d/arn:aws:eks:us-east-1:xxxxxx:cluster/MyCluster-default: No such file or directory

Seem it should mkdir -p xxx firstly to touch the new configuration.

Hi @Alivers :wave:
Thanks for reporting this issue.
The source of the problem is that the context arn:aws:eks:us-east-1:xxxxxx:cluster/MyCluster has a forward slash,
so Kubech translates MyCluster as a file inside the arn:aws:eks:us-east-1:xxxxxx:cluster folder.
I will make a fix to remove any problematic characters when it creates the kube config file.

Thanks for your work. It is really useful in my daily work.

Thanks @Alivers :rocket:
Fixed by 9f11a54


Can't publish CompressedImage topic

Issue template
I like to create a ESP32 Cam node sending a CompressedImage topic.

Hardware description: ESP32 CAM

Steps to reproduce the issue
Code: https://github.com/MS71/ESP32microROSImagePublisher.git
Expected behavior
rcl_publish should send the topic without error.
Actual behavior
I (1378) spiram: SPI SRAM memory test OK
I (1386) cpu_start: Pro cpu start user code
I (1386) cpu_start: cpu freq: 160000000
I (1386) cpu_start: Application information:
I (1389) cpu_start: Project name:     int32_publisher
I (1395) cpu_start: App version:      ff24a87
I (1400) cpu_start: Compile time:     Dec  9 2021 21:19:55
I (1406) cpu_start: ELF file SHA256:  d8325eb3d28ee7e6...
I (1412) cpu_start: ESP-IDF:          v4.3.1
I (1418) heap_init: Initializing. RAM available for dynamic allocation:
I (1425) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1431) heap_init: At 3FFBD410 len 00022BF0 (138 KiB): DRAM
I (1437) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1444) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1450) heap_init: At 4009A5D4 len 00005A2C (22 KiB): IRAM
I (1457) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (1466) spi_flash: detected chip: generic
I (1469) spi_flash: flash io: dio
I (1475) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1484) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (1544) wifi_station_netif: ESP_WIFI_MODE_STA
I (1554) wifi:wifi driver task: 3ffcf314, prio:23, stack:6656, core=0
I (1554) system_api: Base MAC address is not set
I (1554) system_api: read default base MAC address from EFUSE
I (1574) wifi:wifi firmware version: 88c8747
I (1574) wifi:wifi certification version: v7.0
I (1574) wifi:config NVS flash: enabled
I (1574) wifi:config nano formating: disabled
I (1584) wifi:Init data frame dynamic rx buffer num: 32
I (1584) wifi:Init management frame dynamic rx buffer num: 32
I (1594) wifi:Init management short buffer num: 32
I (1594) wifi:Init static tx buffer num: 16
I (1604) wifi:Init tx cache buffer num: 32
I (1604) wifi:Init static rx buffer size: 1600
I (1614) wifi:Init static rx buffer num: 10
I (1614) wifi:Init dynamic rx buffer num: 32
I (1614) wifi_init: rx ba win: 6
I (1624) wifi_init: tcpip mbox: 32
I (1624) wifi_init: udp mbox: 6
I (1634) wifi_init: tcp mbox: 6
I (1634) wifi_init: tcp tx win: 5744
I (1634) wifi_init: tcp rx win: 5744
I (1644) wifi_init: tcp mss: 1440
I (1644) wifi_init: WiFi IRAM OP enabled
I (1654) wifi_init: WiFi RX IRAM OP enabled
I (1654) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
W (1814) phy_init: saving new calibration data because of checksum failure, mode(0)
I (1834) wifi:mode : sta (fc:f5:c4:30:ab:54)
I (1834) wifi:enable tsf
I (1834) wifi_station_netif: wifi_init_sta finished.
I (1844) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:1
I (1844) wifi:state: init -> auth (b0)
I (1864) wifi:state: auth -> assoc (0)
I (1874) wifi:state: assoc -> run (10)
I (1894) wifi:connected with ScholzHomeNet, aid = 3, channel 1, 40U, bssid = 7c:ff:4d:4a:f2:dd
I (1894) wifi:security: WPA2-PSK, phy: bgn, rssi: -80
I (1904) wifi:pm start, type: 1

W (1914) wifi:<ba-add>idx:0 (ifx:0, 7c:ff:4d:4a:f2:dd), tid:0, ssn:0, winSize:64
I (1964) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (2544) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (2544) wifi_station_netif: got ip:<IP_ADDRESS>
I (2544) wifi_station_netif: connected to ap SSID:xxxxxxxxx password:xxxxxxxxx
I (2554) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2
I (2564) cam_hal: cam init ok
I (2574) sccb: pin_sda 26 pin_scl 27
I (2574) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (2614) camera: Detected camera at address=0x30
I (2614) camera: Detected OV2640 camera
I (2614) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2
I (2704) cam_hal: buffer_size: 32768, half_buffer_size: 4096, node_buffer_size: 2048, node_cnt: 16, total_cnt: 3
I (2704) cam_hal: Allocating 15360 Byte frame buffer in PSRAM
I (2704) cam_hal: cam config ok
I (2714) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
I (3814) example:take_picture: Taking picture...
I (3814) example:take_picture: Picture taken! Its size was: 2597 bytes<PHONE_NUMBER> 3000 0x3fff8388
Failed status on line 153: 1. Continuing.
I (4814) example:take_picture: Taking picture...
I (4814) example:take_picture: Picture taken! Its size was: 2617 bytes<PHONE_NUMBER> 3000 0x3fff8388
Failed status on line 153: 1. Continuing.
I (5814) example:take_picture: Taking picture...
I (5814) example:take_picture: Picture taken! Its size was: 2617 bytes<PHONE_NUMBER> 3000 0x3fff8388
Failed status on line 153: 1. Continuing.
I (6814) example:take_picture: Taking picture...
I (6814) example:take_picture: Picture taken! Its size was: 2617 bytes<PHONE_NUMBER> 3000 0x3fff8388
**Failed status on line 153: 1. Continuing.**
I (7814) example:take_picture: Taking picture...
I (7814) example:take_picture: Picture taken! Its size was: 2617 bytes<PHONE_NUMBER> 3000 0x3fff8388
**Failed status on line 153: 1. Continuing.**
I (8814) example:take_picture: Taking picture...
I (8814) example:take_picture: Picture taken! Its size was: 2617 bytes<PHONE_NUMBER> 3000 0x3fff8388
**Failed status on line 153: 1. Continuing.**
I (9814) example:take_picture: Taking picture...
I (9814) example:take_picture: Picture taken! Its size was: 2617 bytes<PHONE_NUMBER> 3000 0x3fff8388
**Failed status on line 153: 1. Continuing.**

Additional information
My questions:
A.) What could be the reason for "Failed status on line 153: 1. Continuing."?
B.) How can I enable logging in the microROS stack?

I have this working properly:
int main(int argc, const char * const * argv)
{
  	rcl_allocator_t allocator = rcl_get_default_allocator();
	rclc_support_t support;

	// Create init_options
	RCCHECK(rclc_support_init(&support, argc, argv, &allocator));

	// Create node
	rcl_node_t node;
	RCCHECK(rclc_node_init_default(&node, "node", "", &support));

	// Create publishers

	rcl_publisher_t publisher;
	RCCHECK(rclc_publisher_init_default(
		&publisher,
		&node,
    	ROSIDL_GET_MSG_TYPE_SUPPORT(sensor_msgs, msg, CompressedImage),
		"topic"));

	static micro_ros_utilities_memory_conf_t conf = {};

	conf.max_string_capacity = 50;
	conf.max_ros2_type_sequence_capacity = 5;
	conf.max_basic_type_sequence_capacity = 5;

	micro_ros_utilities_memory_rule_t rules[] = {
		{"header.frame_id", 30},
		{"format",4},
		{"data", 3000}
	};
	conf.rules = rules;
	conf.n_rules = sizeof(rules) / sizeof(rules[0]);

	sensor_msgs__msg__CompressedImage msg_static;

	micro_ros_utilities_create_message_memory(
		ROSIDL_GET_MSG_TYPE_SUPPORT(sensor_msgs, msg, CompressedImage),
		&msg_static,
		conf
	);

	uint8_t pic[2617];
	memset(pic, 0xAB, sizeof(pic));

	msg_static.data.size = sizeof(pic);

	msg_static.header.frame_id = micro_ros_string_utilities_set(msg_static.header.frame_id, "myframe");
	msg_static.format = micro_ros_string_utilities_set(msg_static.format, "JPEG");
	memcpy(msg_static.data.data,pic,sizeof(pic));

	RCSOFTCHECK(rcl_publish(&publisher, &msg_static, NULL));
}

Can you verify this code in your platform?
Some questions:

Why are you using  %zu to print pic->len if len is type size_t and width and height are also size_t and you are using %d?
Is correct that a 320x240 image fits in 2617 bytes?

Hi
i will try your code.
Maybe, timer_callback is called by a different task with limited stack.
I will check that.

Is correct that a 320x240 image fits in 2617 bytes?
Yes, it a JPEG image.

Yesterday, i checked with smaller payload.
Up to ~800byte, rcl_publish is working.

Maybe you can try to increase the XRCE history to 8 in the colcon.meta: this param

Ok,
can i have my own colcon.meta, located with the application code? Outsite micro_ros_espidf_component.

Now, it is working.
    "rmw_embeddedrtps": {
        "cmake-args": [
            "-DRMW_ERTPS_MAX_OUTPUT_BUFFER_SIZE=20100"
        ]
    },

Question: How can i use my own/custom colcon.meta outside micro_ros_espidf_component?

You can use app-colcon.meta in the project folder: https://github.com/micro-ROS/micro_ros_espidf_component/blob/4bd55e980e4521d0fff018109829dfad2834d52d/CMakeLists.txt#L11
Take into account that RMW_embeddedrtps is experimental.


Image to Image Generation Enabling

What does this PR do?
This model enables the base img2img model for Gaudi (other img2img pipelines were enabled, but not this base model). This also allows for chained image to image to image pipelines as shown in the generative tasks for img2img docs.
Validated models:

runwayml/stable-diffusion-v1-5
ogkalu/Comic-Diffusion
kohbanye/pixel-art-style

Before submitting

[ ] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Hi @pi314ever ,
Thanks for your PR, please address:

Run make style as code quality checker is failing
Can you provide a command to test your code/ does the README need any update for this change?

@vidyasiv Could you share the prompts and source images of the blank images? I did not encounter those in my testing yet. That particular model seems to need pixelartstyle appended to the end of the prompt to work correctly according to the example.

@vidyasiv Could you share the prompts and source images of the blank images? I did not encounter those in my testing yet. That particular model seems to need pixelartstyle appended to the end of the prompt to work correctly according to the example.

I ran single and multiple prompt with https://github.com/huggingface/optimum-habana/tree/main/examples/stable-diffusion#single-prompt-1 changing model name to ogkalu/Comic-Diffusion. Will go through link you pasted.

@pi314ever There are merge conflicts to solve since I just merged #1175.


Provide command of manage server

Provide a narrative description of what you are trying to accomplish:

[x] Are you creating a new feature?

[x] Why is the new feature needed? What purpose does it serve?
Provide command of manage server below
[x] How will users use the new feature?
Start Server: php public/index.php start
Start Server in Daemonize mode: php public/index.php start -d
Start Server with multi worker: php public/index.php start -n 4
Start Server with different dispatch mode: php public/index.php start --dispatch_mode 3
Stop Server: php public/index.php stop
[x] Base your feature on the master branch, and submit against that branch.
[x] Add only one feature per pull request; split multiple features over multiple pull requests
[x] Add tests for the new feature.
When the review is nearing the end, I will complete the tests.
[ ] Add documentation for the new feature.
[ ] Add a CHANGELOG.md entry for the new feature.

[ ] Is this related to quality assurance?
Currently only running in bash is available, but this isn't enough, the commands for running management are important for a resident application.

[ ] Is this related to documentation?

@weierophinney thanks for your review and advice, I've been optimized the code, please check again

@weierophinney I think I've been knew zend-style coding gradually, I've been optimized the code, please check again


Tracking 404 Not Found Error Pages > wrong event listener DOMContentLoaded

Hi,
I would like to highlight a problem we encountered while implementing the 404 tracking script on a Wordpress website - without plugin and via js code snippet.
The documentation suggests to use the DOMContentLoaded event to listen to:
<script type="text/javascript">
    document.addEventListener("DOMContentLoaded", () => pirschNotFound());
</script>

but the error we had was:
Reference Error: pirschNotFound is not defined
From the MDN docs:

The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets, scripts, iframes, and images. This is in contrast to DOMContentLoaded, which is fired as soon as the page DOM has been loaded, without waiting for resources to finish loading.

After switching from DOMContentLoaded to load your script have been working properly.
As the pirsch-extended.js library gets loaded via deferattribute I kindly suggest you to update your documentation in order to let others avoid this problem :)

Thanks for pointing this out! I have updated the article to use the load event instead of DOMContentLoaded :)


Small Cluster Filtering

Instead of "Hide Singletons", lets add a numeric input that hides any cluster of less than the given value.

Partially accomplished awhile ago. Closing for now


HELP :)

Hello, how can I use proxy.
I have a url with several ip and each call "scrapeIt (url, opts, cb)", I need to include an ip from my proxy list.

I have a url with several ip
So you have several URLs like http://<IP_ADDRESS>/path, http://<IP_ADDRESS>/path and so on, right?

Then I'd suggest creating a new abstraction/function function getURL(originalURL) which returns a proxied URL.

@GlauberF I agree with what @ComFreek says. scrape-it uses tinyreq as a request module. The other way to do it is to fetch the HTML in any way you want, and call scrapeIt.scrapeHTML(yourHtml, andTheOptionsHere) (which will return the scraped data), like in #65.


Please restore my builds too

Hello,
Can you please restore all the builds for the account "JoyceT68"?
They're older builds that I use for reference (for instance run GR45 with all non-set items).
Thanks!

Done.


[SPARK-39148][SQL] DS V2 aggregate push down can work with OFFSET or LIMIT

What changes were proposed in this pull request?
Currently, DS V2 aggregate push-down cannot work with OFFSET and LIMIT.
If it can work with OFFSET or LIMIT, it will be better performance.
Why are the changes needed?
Let DS V2 aggregate push down can work with OFFSET push down or LIMIT push down.
Does this PR introduce any user-facing change?
'No'.
New feature.
How was this patch tested?
Update tests cases.

https://github.com/apache/spark/pull/37195 merged.


Swap bytes total/used in cache available/used metrics

The right value for trafficserver_cache_avail_size_bytes_total is
bytes_total, while for trafficserver_cache_used_bytes_total it is
bytes_used.

Thanks @ema!  That probably looked confusing on a graph.


Correct checked-rows prop name.

Quick one to correct a prop name in the docs.

@jivemonkey2000 Thanks!


add project details

add details to projects section regarding previous work / placeholders that can be filled in later, connect links in sidebar / header to their appropriate section
-each project displayed should have an image + a title
-any web applications listed should link to their deployed site when the image is clicked (add links to placeholders too, though just use something random)
-the first project should have a larger display image than the others

also fill in the about me section


fixing typos in the README.md file

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : fixing typos in the README.md file
:red_circle: Aim : To fix grammatical, sentence and typing errors in the readme file of the project
:red_circle: README to be enhanced :

The line "composed of multiple processing layers to learn representations of data with multiple levels of abstraction" needs to be changed to "composed of multiple processing layers to learn from representations of data with multiple levels of abstraction". basically, a "from" needs to be added after "learn".
"It’s on hype nowadays" has a weird sentence structure, and I'd like to change it to "It's a very hyped topic nowadays"
Replace "in" with "into" in the line "deep learning and machine learning came in the picture."
Change "If the Dataset is not being able to uploaded in this folder due to the large size" to "If you are unable to upload the dataset into this folder due to it's large size"
Delete there in "Check out the existing issues present there in the Issues section."
Change "Comment out in the issue, you wanna work on." to "Comment on the issue you want to work on"
Change "criterias" to "criteria" in "If it satisfies all the criterias, your PR will be merged and your contributions will be counted." Criteria is the plural of criterion.
Change "Here are few articles" to "Here are a few articles"
In the line "start contributing in open source projects", change "in" to "to".

:red_circle: README Template : https://github.com/abhisheks008/DL-Simplified/blob/main/.github/readme_template.md

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : Anoushka Mahajan
GitHub Profile Link : https://github.com/iamanolive
Email ID<EMAIL_ADDRESS>Participant ID (if applicable): N/A
Approach for this Project :

The line "composed of multiple processing layers to learn representations of data with multiple levels of abstraction" needs to be changed to "composed of multiple processing layers to learn from representations of data with multiple levels of abstraction". basically, a "from" needs to be added after "learn".
"It’s on hype nowadays" has a weird sentence structure, and I'd like to change it to "It's a very hyped topic nowadays"
Replace "in" with "into" in the line "deep learning and machine learning came in the picture."
Change "If the Dataset is not being able to uploaded in this folder due to the large size" to "If you are unable to upload the dataset into this folder due to it's large size"
Delete there in "Check out the existing issues present there in the Issues section."
Change "Comment out in the issue, you wanna work on." to "Comment on the issue you want to work on"
Change "criterias" to "criteria" in "If it satisfies all the criterias, your PR will be merged and your contributions will be counted." Criteria is the plural of criterion.
Change "Here are few articles" to "Here are a few articles"
In the line "start contributing in open source projects", change "in" to "to".

What is your participant role? : GSSoC'24 Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Full name : Anoushka Mahajan
GitHub Profile Link : https://github.com/iamanolive
Email ID<EMAIL_ADDRESS>Participant ID (if applicable): N/A
Approach for this Project :
The line "composed of multiple processing layers to learn representations of data with multiple levels of abstraction" needs to be changed to "composed of multiple processing layers to learn from representations of data with multiple levels of abstraction". basically, a "from" needs to be added after "learn".
"It’s on hype nowadays" has a weird sentence structure, and I'd like to change it to "It's a very hyped topic nowadays"
Replace "in" with "into" in the line "deep learning and machine learning came in the picture."
Change "If the Dataset is not being able to uploaded in this folder due to the large size" to "If you are unable to upload the dataset into this folder due to it's large size"
Delete there in "Check out the existing issues present there in the Issues section."
Change "Comment out in the issue, you wanna work on." to "Comment on the issue you want to work on"
Change "criterias" to "criteria" in "If it satisfies all the criterias, your PR will be merged and your contributions will be counted." Criteria is the plural of criterion.
Change "Here are few articles" to "Here are a few articles"
In the line "start contributing in open source projects", change "in" to "to".
What is your participant role? : GSSoC'24 Contributor

Hi @iamanolive which README file you wanna correct?

Hi @iamanolive which README file you wanna correct?

https://github.com/abhisheks008/DL-Simplified/blob/main/README.md

README enhancement was recently done by a contributor. You can check the
updated one.
On Sun, 12 May 2024, 14:27 anoushka, @.***> wrote:

Hi @iamanolive https://github.com/iamanolive which README file you
wanna correct?
https://github.com/abhisheks008/DL-Simplified/blob/main/README.md
—
Reply to this email directly, view it on GitHub
https://github.com/abhisheks008/DL-Simplified/issues/531#issuecomment-2106172505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMKM7L4AYGZHABWC4NHFG3ZB4VGVAVCNFSM6AAAAABHSUIZAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGE3TENJQGU
.
You are receiving this because you commented.Message ID:
@.***>

Oh im so sorry, the README file was still on the old version when i started typing up this issue.
My 1st, 2nd, 5th and 6th points still apply though.

Ummmm, I'll prefer not to go ahead with this as the README is just got updated. If you find any README issues in any of the existing project folders, you can create a new issue then.
Closing this issue.

@abhisheks008 they're pretty valid issues though. i spent over an hour working on it.


How to run this example using SAM local

Hi,
I am trying to run this example using SAM local using sam local start-api --template cloudformation.yaml however I receive an error when SAM local is trying to unmarshal the yaml file.
github.com/awslabs/aws-sam-local/router.yamlToJSON(0x183e060, 0xc420240ae0, 0xc4203a8570, 0x9)

Any assistance would be appreciated. Thanks.

You'll need to wrap all of the 200 response keys (e.g. https://github.com/awslabs/aws-serverless-express/blob/master/example/simple-proxy-api.yaml#L14) in quotes '200'. We're working on fixing SAM Local so this doesn't break. There's also an issue with SAM Local and ANY. For now you'll need to also specify all methods you need.

@sinistersig have you tried this out with the new version? I think this has been fixed.


fix: match snapshot using full filename, fixes #6694

The Issue

#6694

Only matching a snapshot file by prefix can accidentally select a different snapshot that is lexicographically earlier.
How This PR Solves The Issue
Now a fully anchored regular expression is used to match the full filename. The regular expression is based on the one in ListSnapshots.
Manual Testing Instructions
Create the snapshots foo and foo-bar. Attempt to delete the snapshot foo. List snapshots to see which actually got deleted.
Automated Testing Overview
Such a small change didn't seem like it needed its own test. If a test is desired anyway, TestDdevSnapshotCleanup can probably be extended to cover this case as well.
Release/Deployment Notes
Should not have any effects or require any action.

Extended TestDdevSnapshotCleanup and confirmed that it fails without the fix.


Support for pydantic_xml

I got it working with minimal changes to your code:
response.py
from pydantic_xml import BaseXmlModel, element

class XmlResponse(JSONResponse):
    def render(self, content: Any) -> bytes:
        if isinstance(content, BaseXmlModel):
            xml = content.to_xml()
            return xml if isinstance(xml, bytes) else xml.encode("utf-8")
        serializer = self.get_serializer()
        return serializer.render(content, ns_map=NS_MAP).encode("utf-8")

route.py
from pydantic import ValidationError
from pydantic_xml import BaseXmlModel

class XmlRoute(APIRoute):
    @staticmethod
    async def _request_handler(...) -> Response:
        body: Any = None
        if body_field:
            body_bytes = await request.body()
            if issubclass(body_field.type_, BaseXmlModel):
                try:
                    body = body_field.type_.from_xml(body_bytes)
                except ValidationError as e:
                    raise HTTPException(status_code=400, detail=str(e))
                except Exception as e:
                    raise HTTPException(
                        status_code=400, detail="There was an error parsing the body"
                    )
            else: ...

Sample App
from typing import Annotated
import fastapi, uvicorn
from annotated_types import MinLen
from fastapi_xml import add_openapi_extension
from fastapi_xml import XmlBody, XmlRoute, XmlAppResponse
from pydantic_xml import BaseXmlModel

class SampleRequest(BaseXmlModel):
    Message: Annotated[str, MinLen(1), element()]

class SampleResponse(BaseXmlModel):
    Message: Annotated[str, MinLen(1), element()]

app = fastapi.FastAPI(title="FastAPI::XML", default_response_class=XmlAppResponse)
app.router.route_class = XmlRoute
add_openapi_extension(app)

@app.post("/notification")
def post_event(data: SampleRequest = XmlBody()) -> SampleResponse:
    return SampleResponse(Message=data.Message + " response")

uvicorn.run(app, host="<IP_ADDRESS>", port=8000)

WARNING: when tag names are specified in pydantic_xml.element they do not seem to get detected / used.  I worked around this by not using PEP8 compliant snake_case named fields in my pydantic_xml model definitions. Not sure how hard this would be to implement.

It would also be nice to be able to include some ValidationError handling that returns valid XML instead of JSON.  This gets pretty close although I am still plagued by not having tag name come through as reported in OP. There are some work arounds but it would be better to solve the issue.
from fastapi_xml import XmlAppResponse, XmlBody, XmlRoute
from pydantic import ConfigDict, ValidationError
from pydantic_xml import BaseXmlModel, element

class ValidationErrorError(BaseXmlModel, tag="Error"):
    model_config = ConfigDict(populate_by_name=True)
    type: Annotated[str, element(tag="Type", examples=["string_too_short"])]
    loc: Annotated[tuple[str, ...], element(tag="Location", examples=["FieldA"])]
    msg: Annotated[
        str,
        element(tag="Message", examples=["String should have at least 5 characters"]),
    ]
    input: Annotated[str, element(tag="Input", examples=["test"])]
    url: Annotated[
        str,
        element(
            tag="URL", examples=["https://errors.pydantic.dev/2.9/v/string_too_short"]
        ),
    ]

class ValidationErrorDetail(BaseXmlModel, tag="Detail"):
    model_config = ConfigDict(populate_by_name=True)
    error: Annotated[tuple[ValidationErrorError, ...], element(tag="Error")]

@app.exception_handler(ValidationError)
async def validation_error_handler(
    _: fastapi.Request, ex: ValidationError
) -> fastapi.Response:
    data = {"error": ex.errors()}
    model = ValidationErrorDetail.model_validate(data)
    xml = model.to_xml(xml_declaration=True, encoding="UTF-8")
    # xml = xmltodict.unparse({"detail": {"error": ex.errors()}})
    return XmlAppResponse(
        status_code=fastapi.status.HTTP_422_UNPROCESSABLE_ENTITY, content=xml
    )

router = fastapi.APIRouter(
    route_class=XmlRoute,
    default_response_class=XmlAppResponse,
    responses={
        # https://fastapi.tiangolo.com/advanced/additional-responses/
        422: {"description": "Validation Error", "model": ValidationErrorDetail}
    },
)

gives

but as above

I would be willing to help with refactoring the existing code to support both code paths. I think 1st step would be to change @staticmethod[^footnote] to @classmethod so a subclass can actually change how it's parent does things. I wasn't able to alter your code easily without copy pasting massive portions do to this decision.  I basically have to fork.
[^footnote]: Guido van Rossum, the creator of Python, has expressed regret over the introduction of static methods in Python. In a 2005 blog post, he wrote that static methods were an “accident” and that he would have done things differently if he had the chance.

Hey @skewty,
Thank you for your interest in this project! Any help is greatly appreciated. Feel free to fork the project and submit a pull request if you'd like to contribute.
pydantic_xml
I've been searching for a proper solution that supports Pydantic's BaseModel for quite some time, but I haven't yet found the perfect fit. On one hand, there's xsdata-pydantic, which extends |
xsdata with Pydantic. On the other hand, there's pydantic_xml, which extends Pydantic’s BaseModel.
At this point, neither library offers an ideal solution. Therefore, it might be wiser to integrate pydantic_xml in a more flexible way, so that those who prefer to use xsdata don’t need pydantic_xml.
To achieve this, I suggest implementing a dedicated Router and Response class for pydantic_xml in a separate module. This way, users who don’t want to use pydantic_xml won’t need to install it as an optional dependency.
Error Response
This is a great suggestion, and I'm excited to see it in the project! I’ve mentioned it in previous issues as well. However, this topic is unrelated to the current issue. Please open a separate issue for further discussion, as it's off-topic here.

Stand-alone Working Implementation
from collections.abc import Callable
from functools import partial
from typing import Any, override

from fastapi import HTTPException, Request, Response
from fastapi.responses import JSONResponse
from fastapi.routing import APIRoute
from pydantic import ValidationError
from pydantic_xml import BaseXmlModel

XML_DECLARATION = b'<?xml version="1.0" encoding="UTF-8"?>\n'

class XMLTextResponse(JSONResponse):
    # 1. must be set at router as `default_response_class` or route as `response_class` to override `JSONResponse`.
    # 2. must inherit from `JSONResponse` (not plain `Response`) for `openapi.json` generation to work expectedly.
    media_type = "text/xml"

    @override
    def render(self, content: Any) -> bytes:
        # RFC 7303, which obsoletes RFC 3023, states that XML declaration is not required for text/xml media type.
        return Response.render(self, content)  # skip over JSONResponse render()

class XMLAppResponse(XMLTextResponse):
    media_type = "application/xml"

    @override
    def render(self, content: Any) -> bytes:
        if isinstance(content, str):
            # For application/xml media type, the XML declaration is generally recommended.
            return XML_DECLARATION + content.encode(self.charset)
        return super().render(content)

class XMLRoute(APIRoute):
    def __init__(self, *args, **kwargs) -> None:
        super().__init__(*args, **kwargs)
        self.xml_body = self.body_field is not None and issubclass(
            self.body_field.type_, BaseXmlModel
        )
        self.xml_response = self.response_model and issubclass(
            self.response_model, BaseXmlModel
        )
        if (
            self.xml_body is True
            and self.body_field.field_info.media_type == "application/json"
        ):
            self.body_field.field_info.media_type = (
                "application/xml"  # override the default
            )

    # TODO see if I can auto-fill `openapi_extra: Optional[Dict[str, Any]] = None` to avoid
    #   the overrides currently in place for tag name in schema.

    def get_route_handler(self) -> Callable:
        async def xml_route_handler(request: Request) -> Response:
            if self.xml_body is True:

                async def deserialize_xml_model(
                    body_bytes: bytes, *_args, **_kwargs
                ) -> BaseXmlModel:
                    try:
                        return self.body_field.type_.from_xml(body_bytes)
                    except ValidationError as e:
                        raise HTTPException(status_code=400, detail=str(e)) from None

                # monkey patch require to deserialize from XML
                request.body = partial(deserialize_xml_model, await request.body())

            if self.xml_response is True:

                def serialize_xml_model(value: BaseXmlModel, **_kwargs) -> bytes:
                    return XML_DECLARATION + value.to_xml(encoding="UTF-8")

                # monkey patch required to serialize to XML
                self.response_field.serialize = serialize_xml_model

            return await default_route_handler(request)

        default_route_handler = super().get_route_handler()
        return xml_route_handler

I believe this patching technique may work for you as well to reduce the amount
of code you have to maintain in this repo.
How to use it example
from typing import Annotated
from fastapi import APIRouter, Body, FastAPI
from pydantic import StringConstraints
from pydantic_xml import BaseXmlModel, RootXmlModel, element
from add.fastapi_xml import XMLResponse, XMLRoute

class Result(RootXmlModel):
    # Cleanest code is achieved when class name matches tag name as there is no need for ugly
    # corrective action code you see in the SampleRequest/Response classes below.
    root: Annotated[str, StringConstraints(min_length=1, strip_whitespace=True)]

# The `tag=` works for the serialization of the response but `openapi.json` file will contain incorrect tag name.
# The `json_schema_extra=` fixes the tag name in the `openapi.json` file.
#
# WARNING: the $ref name will still match the class name, not the tag name, in `openapi.json` file.

REQUEST_TAG = "Foo"
class SampleRequest(BaseXmlModel, tag=REQUEST_TAG,
    json_schema_extra={"xml": {"name": REQUEST_TAG}},
):
    name: Annotated[str, element(examples=["Joe"])]
RESPONSE_TAG = "Bar"
class SampleResponse(BaseXmlModel, tag=RESPONSE_TAG,
    json_schema_extra={"xml": {"name": RESPONSE_TAG}},
):
    name: Annotated[str, element(examples=["Susan"])]

app = FastAPI()
router = APIRouter(route_class=XMLRoute, default_response_class=XMLTextResponse)
app.include_router(router)

@router.post("/foo")
async def foo(
    event: Annotated[SampleRequest, Body(media_type="application/xml")],
) -> SampleResponse:
    return SampleResponse(name=event.name)  # will go out with XML declaration despite `default_response_class`

@router.get("/bar")
async def bar() -> str:
    return "<result>success</result>"  # will go out without XML declaration

@router.get("/baz", response_class=XMLAppResponse)
async def baz() -> str:
    return "<result>success</result>"  # will go out with XML declaration


Fixed numBadBoneIndices calculation in validateSkinning.

please do not target preview but master :)

Closing it for now then 👍


Adding clarification on setup class

Not any software component can use AddSoftware. It's only software components that are explicitely of the "SoftwareComponent" class.

@NabilFates,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


minetest 0.4 compatibility solved

i used this mod with <IP_ADDRESS> server (usage of 0.4 is more light rather than mineclone) to allow phone mt clients
it crash due the trasnlations susport only in 5.X so i patches with:
diff --git a/compat/mtg.lua b/compat/mtg.lua
index 0c534a6..e6ea7bc 100644
--- a/compat/mtg.lua
+++ b/compat/mtg.lua
@@ -1,4 +1,16 @@
-local S = minetest.get_translator(minetest.get_current_modname())
+local S
+if minetest.get_translator ~= nil then
+    S = minetest.get_translator(minetest.get_current_modname())
+else
+    -- mock the translator function for MT 0.4
+    S = function(str, ...)
+       local args={...}
+       return str:gsub(
+           "@%d+",
+           function(match) return args[tonumber(match:sub(2))] end
+       )
+    end
+end

 -- Armor
 --

in minetest it crash with log, that the patch solves the problem for all versions of minetest
2021-10-19 18:45:03: ERROR[Main]: ModError: Failed to load and run script from /var/games/minetest-server/.minetest/games/venenux/mods/lavastuff/init.lua:
2021-10-19 18:45:03: ERROR[Main]: ...er/.minetest/games/venenux/mods/lavastuff/compat/mtg.lua:1: attempt to call field 'get_translator' (a nil value)
2021-10-19 18:45:03: ERROR[Main]: stack traceback:
2021-10-19 18:45:03: ERROR[Main]: 	...er/.minetest/games/venenux/mods/lavastuff/compat/mtg.lua:1: in main chunk
2021-10-19 18:45:03: ERROR[Main]: 	[C]: in function 'dofile'
2021-10-19 18:45:03: ERROR[Main]: 	...t-server/.minetest/games/venenux/mods/lavastuff/init.lua:425: in main chunk

Might still not work, I haven't really kept 0.4.x in mind when adding features

i pushed the https://github.com/minetest-mods/lavastuff/pull/16 due the made by you @LoneWolfHT  is incomplete after some test


[GSSOC'21] Manacher's Algorithm in c++.

Hii :wave:, There is no implementation for Manacher's algorithm (finding the longest palindrome in a string) in the repository.

I would like to add this implementation in c++ as GSSOC'21 participant.
@tarun26091999

Hello, I am a GSSOC'21 participant and would like to contribute to this project.

Hello, I am a GSSOC'21 participant and would like to contribute to this project.

Plz specify language.

Hi,
I am GSSOC'21 participant
My code will be in JAVA with proper comments and test cases.
@rudrakshi99 @nakul-19 @plazzy99 please assign me this issue

Hi,
I am GSSOC'21 participant,
I would like to contribute to this in python .
@tarun26091999 @rudrakshi99  Please assign me this. Thankyou!!

Hello! I am a participant in GSSoC'21. I am really intrigued by this issue. Would be highly obliged if you could assign this to me. I will work on this using Java. Thanks!

Hello, I am a GSSOC'21 participant and would like to contribute to this project.

Plz specify language.

@raksha009 can I do it in java ?

@Priyankcoder @Sathwika-02 do it soon.


track + trackComposite issues (writing audio).

I'm noticing an issue with track and trackComposite.
I'll try and explain – I'm still investigating – (I have files which I can supply).
Example: Audio recording which is 32 seconds where the user spoke through out. Resulting file has the correct duration, but the audio is within the first half of the recording.
I can confirm that if I record the roomComposite (as well) or/and add video to the trackComposite then the audio playback is fine, although additionally I am seeing drift on occasion in this area.
My assumption right now is just how the frames are being written, but I haven't looked deeper at this stage. I wanted to raise this issue first to see if there is any knowledge of this before I look deeper.

To clarify, the audio is not sped up, more like silent frames are being dropped.

UPDATE: I've been looking a little deeper and it seems every audio only recording is affected.

A few questions, since I'm having trouble reproducing this:
Are the users muting themselves, or just not speaking sometimes?
Which version of egress are you running?
What player are you using?

Hi @frostbyte73 thanks for looking into this.

Muted: No, I have been testing on my own and with people just counting with pauses (no muting) I have some file outputs to demonstrate the issue if it helps.
Egress: We are currently on 1.4.5 but have also tested custom build from master.
Player: vlc, browser, etc. We are also checking/converting the files in ffmpeg.

Some additional info on some more recordings made today....
File reporting duration of 34 seconds, but actually playback is 24 seconds and different players will report either one (or in some cases both).
We have checked the output ogg file from the egress in opusdec and opusinfo.
opusdec is reporting quite a few Warning: Hole in data.
opusinfo is reporting:
WARNING: sequence number gap in stream 1. Got page 15 when expecting page 14. Indicates missing data.
WARNING: discontinuity in stream (1)

Hope this helps.

@frostbyte73 I’ve been running a few tests with the sample builder (actually I’m doing a quick test with pion sample builder against livekit) very quick and rough. First I was logging silence data and then I adjusted to fill and this is solving the issue I believe. I’m not familiar with the differences in livekits sample builder at a quick glance I can see it’s making different decisions.

yup, currently working on mixing silence in

fixed in #146

Thanks for fixing so quickly @frostbyte73.
I've been testing and I am encountering broken audio when it goes from silence to sound (cut outs), I can replicate this in every test.
I tested an adjustment to the VP8 Key frame you are using...
VP8KeyFrame16x16 = []byte{0x10, 0x02, 0x00, 0x9d, 0x01, 0x2a, 0x10, 0x00, 0x10, 0x00, 0x00, 0x47, 0x08, 0x85, 0x85, 0x88, 0x85, 0x84, 0x88, 0x02, 0x02, 0x00, 0x0c, 0x0d, 0x60, 0x00, 0xfe, 0xff, 0xab, 0x50, 0x80}

To this ....
VP8KeyFrameSilence = []byte{0xf8, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

And this solves the problem for me.


EspMqttClient::publish() with empty payload is causing a Guru Meditation Errors due to loading from 0x1

The function EspMqttClient::publish() accepts payload as &[u8] and uses it to feed the C function esp_mqtt_client_publish().
If an empty payload is to be sent ([] with length 0) the len is 0, so according to the documentation (and source code) the actual length is calculated from the payload string (with strlen()).
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/mqtt.html#_CPPv423esp_mqtt_client_publish24esp_mqtt_client_handle_tPKcPKciii

data – payload string (set to NULL, sending empty payload message)
len – data length, if set to 0, length is calculated from payload string

https://github.com/espressif/esp-mqtt/blob/master/mqtt_client.c#L1975-L1977
The issue here is, that in rust a pointer to the zero sized [] is actually 0x1, so the strlen() used in the c function is causing a load from 0x1...
https://github.com/esp-rs/esp-idf-svc/blob/6e8463074bbc0a4ab72b8dc484b3d1da646b5155/src/mqtt/client.rs#L453-L472
A fix could be to handle the payload.len() == 0 case to provide a NULL (ptr::null()) as payload.

Great analysis - and I agree this is a bug! Would you mind contributing a small PR that fixes the issue?


(FACT-2666) Add core_fact ruby method

The Facter.core_fact() returns only required core fact,
and does not load external facts when resolving it.
This method is can be used by puppet to quickly get core facts without
resolving external facts that can slow down the process.

Waiting for CLA signature by @DorinPleava
@DorinPleava - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

Waiting for CLA signature by @DorinPleava
@DorinPleava - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html


COMPRESS-333: adds buffering on top of RandomAccessFile.

Speeds up 7Z handling an order of magnitude as a result.

Small change, big impact - that's how we like it :)
Thanks for digging into this!


Metamask launches every time you navigate to the Assets

Metamask launches every time you navigate to the Assets page on the frontier after interacting with withdrawals or deposits of USDC.
Steps :

Interact with withdrawals or deposits of USDC on the frontier and sign into Metamask, allowing your MM address to populate.
Close the browser completely
Reopen the browser and navigate to the assets page on the frontier. Every time you do Step 3 moving forward, Metamask will pop up requesting to sign in.

This is similar to how Keplr works. If you open a site with a connection after closing the browser completely, it has to ask for your password in order to decrypt your private key and enable proper function with the Dapp.

That's true. Though we can't control what Metamask does from our app. What we could do is try to disconnect Metamask after each transfer, but then the user would have to approve Metamask again each time they want to do another transfer. We already do the best we can by attempting to disconnect all other wallets if they connect a different wallet.

Sounds good! I will go ahead and close this issue for now. I'm pretty sure we do the best we can to handle all other wallets connection🙌


UIINREACH-152: Fixed transaction list

Purpose
Fixed transaction list bug to not add empty fields to the end of the list

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-inn-reach/job/PR-165/1/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-inn-reach/job/PR-165/2/


Dates & releases missing ChangeLog web Page

OpenSSL Team,
In changelog page (i.e.,https://www.openssl.org/news/changelog.html). i have few observations, i belive fixing them will help users.

The date was not updated for the below item "Changes between 1.1.1a and 1.1.1b [xx XXX xxxx]"
The 1.1.1d was released but the changes from 1.1.1b to 1.1.1c and 1.1.1c to 1.1.1d is missing
The date was not updated for "Changes between 1.1.1 and 3.0.0 [xx XXX xxxx]". Can some one tell when it will be released atleast the approximate date. Please share the procedure to checkout latest 3.0 code.

This is because the CHANGES file in the master branch has not been updated with the lastest releases from 1.1.1. There's not a great need for us to do that until we actually get to the point of releasing 3.0. The CHANGES file in the 1.1.1 branch is up to date:
https://www.openssl.org/news/cl111.txt
The timeline for 3.0 release is on our release strategy page:
https://www.openssl.org/policies/releasestrat.html
Skip to about 2/3 way down the page and you will see the planned alpha and beta releases and the approximate final release (early Q4 2020).
Details on checking out our code are here:
https://www.openssl.org/source/gitrepo.html
The 3.0 code is in the master branch.

Thanks matt.


Update navbar background color (iOS)?

Hello,
I have a typical master->detail listView, and each item has it's own brand color (stored as a standard hex code).
When a user taps on a list item, I then navigate to the detail view and I'd like to update the background color of the navbar to the items brand color, but I can't seem to  get it to work 😬
I've tried the following attempts within the detail view navigationOptions (trimmed for brevity):
static navigationOptions = {
        title: ({state}) =>  state.params.data.name,
        header: {
            style: {
                backgroundColor: '#0294cb',  // Works fine with a standard string
                // backgroundColor: ({state}) => state.params.data.accent_color // Errors
                // backgroundColor: ({state}) => { return state.params.data.accent_color } // Errors
            },
            ...

When it errors, the message i'm receiving in the debugger is:
`Warning: Failed prop type: Invalid prop 'backgroundColor' supplied to 'View': function backgroundColor(_ref2) {
var state = _ref2.state;
return state.params.data.accent_color;
}
Valid color formats are

'#f0f' (#rgb)
'#f0fc' (#rgba)
'#ff00ff' (#rrggbb)
'#ff00ff00' (#rrggbbaa)
'rgb(255, 255, 255)'
'rgba(255, 255, 255, 1.0)'
'hsl(360, 100%, 100%)'
'hsla(360, 100%, 100%, 1.0)'
'transparent'
'red'
0xff00ff00 (0xrrggbbaa)

Bad object: {
"paddingTop": 20,
"height": 64,
"shadowColor": "black",
"shadowOpacity": 0.1,
"shadowRadius": 0.3333333333333333,
"shadowOffset": {
"height": 0.3333333333333333
},
"elevation": 4
}
in View (created by AnimatedComponent)
in AnimatedComponent (created by Header)
in Header (created by Transitioner)
in RCTView (created by View)
in View (created by Transitioner)
in RCTView (created by View)
in View (created by Transitioner)
in Transitioner (created by CardStack)
in CardStack (created by Unknown)
in Unknown (created by Navigator)
in Navigator (created by NavigationContainer)
in NavigationContainer
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
`
Any help or advice welcomed, thanks in advance,
Aaron Bentley.

would you mind answering too?

@pvinis Sure,
In the detail view (as in, after the user taps on a list item), I added the following static navigationOptions...
static navigationOptions = {
    header: (navigation, defaultHeader) => ({
        ...defaultHeader,
        style: {
            backgroundColor: navigation.state.params.data.accent_color
        }
    })
}

Hope this helps you 😁

ah so it was the ...defaultHeader missing then? ok, i think i had the same problem. thanks for sharing.

You're welcome @pvinis, I needed to set the header prop as a function, that takes the 'navigation' & 'defaultHeader' arguments.
This lets you merge your screen customisations with the default header ...defaultHeader.


YARPL - Flowable (experimental)

Squashed and rebased version of code from https://github.com/ReactiveSocket/reactivesocket-cpp/pull/323
Intended for merging for broader collaboration.
Still significant open questions as shown in #323.

I just played around with this with the goal of being able to define a Flowable return type without having to use auto. Came up with this which is pretty simple, based it on FlowableA:
template <typename T>
using SimpleFlowable =
  FlowableA<T, std::function<void(std::unique_ptr<reactivestreams_yarpl::Subscriber<T>>)>>;

template <typename T>
class Flowable : public SimpleFlowable<T> {
public:
  template <typename Function>
  Flowable(FlowableA<T, Function>&& flowable)
    : SimpleFlowable<T>(std::move(flowable.function_)) {
  }
};

This makes it possible to have code like this that inside the function is 100% allocation free but is implicitly converted to a std::function when being returned:
Flowable<std::string> helloWorld(long n) {
  return Flowables::range(1, n) // This is still FlowableA<T, Function>
      .map([](auto i) { return "hello->" + std::to_string(i); });
}

is implicitly converted to a std::function when being returned

Wouldn't that cause use of std::function in the majority of Flowable instances in a system? For example, the RSocket API would have a method like this:
Flowable<Payload> requestStream(Payload request)

In that case, every requestStream usage would return a SimpleFlowable that uses std::function, and our goal so far has been to not use that.

It would cause std::function in public APIs yes, but I don't see any way around that if you want it to be an interface and not be templated.


New version: TheDocumentFoundation.LibreOffice version <IP_ADDRESS> (24.2.5)

Created by 🥟 Dumplings in workflow run #6514.

Log
Updated: 24.2.4 → 24.2.5
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

Hi @SpecterShell,
This manifest adds Apps and Features entries that aren't present in previous PR versions. These entries should be added to the previous versions, or removed from this version.
(Automated response - build 886.)


README

README
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN the prework project repository,
WHEN I view the README for the repository,
THEN I can see a professional README that provides information on the project and how to use it

That was the easiest part so far. Phew. Difficult to master properly though, I am guessing.


Bot Composer trigger does not work with "User Input (Choice)"

Describe the bug
I've realized that triggers does not work when user input is requested via "Ask a question >> Multichoice". If a user writes anything on the bot text box different from "Choice options", trigger does'n work.
Version
Bot Composer 2.1.0
Browser

[ ] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[X] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Create a new dialog and create a trigger in Main Dialog to fire the new dialog
In the main dialog, create a "User input (multi-choice)"
Run the bot
While bot is specting for user input choice, write a trigger utterance... and...
bot repeats input choice until max turn count (if set) is reached, instead of jumping to the new dialog
Expected behavior
A trigger should fire under any condition, otherwise it is impossible to react to a user input, for instance for a Cancel or Help request

Solved...
Reading more docs I've found the way to make this possible by setting "User Input (Choice)" parameter "Allow interruptions" to true. In this way trigger does fire correctly.

I've seen another issue when "Allow interruptions" is set to true in "User Input (text)":

Global interruptions works fina and, for instance, Cancel or Help triggers works, BUT...
validation RegEx stops working and it never recognizes user input as a valid input. It always detects "_Interruption" as TopScoring Intent and do not validate user input text, even when it meets Validation Rules

@stevkan were you able to reproduce this?

@jrdamiano, are you using the RegEx recognizer or the default (LUIS) recognizer for your dialogs? Can you post the regex that you are using for your validation so that I can try the same? When testing, the validation is working for me. The only two differences are I am using the default recognizer and for my validation rule I only checked that the user input was a certain length.

@stevkan again it's been my begginer's fault... it works fine, really.
What happened?
At a certain moment, in order to clarify my code, I changed Intent names in User Input LU files BUT I've realized that Intent name CANNOT BE CHANGED and once you create a trigger, that intent name is not modifiable any more... Another thing that affected bot behavior due to Intent name change was the use of Condition parameter as a trigger threshold (#IntentName.score >= 0.7)
So what happened to me is that unspected triggers where fired and other spected ones did not... in summary I created a huge mess and nothing worked fine.
Once I've solved trigger naming, RegEx works fine and validation rules are correctly applied.
Thanks for your time and your kind help.


sql: require admin in COPY-based nodelocal upload

PR: https://github.com/cockroachdb/cockroach/pull/46265
From release notes:

The admin role is now required to use the new cockroach nodelocal upload functionality. [#46265][#46265] {% comment %}doc{% endcomment %}

Closing - already documented


[Feature][Config UI] Support Deletion and Select All

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
Support Deletion and Select All
Description
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Thanks for reporting the issue.

@moteng Please follow the community guidelines for reporting issues https://devlake.apache.org/community/make-contribution/fix-or-create-issues

Hi @moteng , we created another issue with more detailed description to track 'bp deletion'. Please check #4864

@Startrekzky Let's use this ticket for the required UI work of this feature since the title is already scoped to "config-ui".

Designs:

@keon94 Cool. Should I assign it to @mintsweet?


Inline Crates and Hide Prelude in Docs

If you try to search the building-blocks crate on docs.rs, you get no results. This is confusing to users ( or it was for me ), then I realized that the whole contents of the building-blocks crate was re-exports, and that was why search wasn't working.
This change will inline the documentation for the re-exported crates, allowing all of them to be searched at the same time without having to jump between the different crates.
This also hides the prelude from the docs so that you don't get excessive duplicates when searching.

If you try to search the building-blocks crate on docs.rs, you get no results

I think I fixed this since version 0.7.0. Have you tried building the docs on main?

This also hides the prelude from the docs so that you don't get excessive duplicates when searching.

I tried cargo doc --open with these changes but I still get duplicates. I'm not sure why though.

I think I fixed this after version 0.7.0. Have you tried building the docs on main?

Oh, yeah, you're right! I should have noticed that. :)

I tried cargo doc --open with these changes but I still get duplicates. I'm not sure why though.

Yeah, those are because of the re-exports in the different modules. For instance, building_blocks::mesh::greedy_quads::greedy_quads function is re-exported at building_blocks::mesh::greedy_quads. Unfortunatley that's not something we can fix without something like the un-implemented #[doc(canonical)] annotation, unless you are willing to hide the re-exports from the docs, but I think that would be confusing, as I'm assuming the reason that they are re-exported was to help discoverability and to make it easier to get to.

Yea honestly I'm not super knowledgeable about how the rust docs work. I've struggled with it in the past. But I'd like to understand better and come up with a consistent strategy for re-exports.
I think I can eliminate some duplicates by making the submodules of building_blocks_mesh private. All symbols are re-exported from those submodules anyway, and I don't have any module-level documentation.


An modified region didn't create datasets on HDX, but on a second run it did

I opened the existing Gambia region
I changed some metadata including changing the name prefix from hotosm_gambia to hotosm_gmb
I changed the region definition via a search for Gambia
I changed the schedule to monthly at 2am UTC
I clicked Save + Sync
I clicked Run Now

The run (highlighted in the screen cap below) appeared to start and complete, but the datasets were not on  HDX demo.   I ran it again this morning (13-apr 8:33 UTC) and it completed and the datasets were on HDX demo.

These were failing to update on HDX due to either missing fields in the HDX objects, which we've fixed, or intermittent SSL errors which have also been fixed. Closing this issue for now, re-open if you observe any missing updates.


Prepare v0.4.0 release

[x] Pass relevant tests
[ ] Test on Linux & Windows
[ ] Create tagged release

===============================================
Default Suite
Total tests run: 24, Passes: 24, Failures: 0, Skips: 0


[New Event Request] Codeunit 392 "Reminder-Make", OnBeforeMakeReminderCustLedgEntryFindSet

[New Event Request] Codeunit 392 "Reminder-Make", OnBeforeMakeReminderCustLedgEntryFindSet
The procedure MakeReminder in Codeunit "Reminder-Make" allows the creation of reminder lines from customer ledger entries. There are, however, app enhancements to the way reminder lines are or are not to be created which call for the possibility to set different filters on the customer ledger entries or to manipulate the value of the variable OverdueEntriesOnly in a more sophisticated way.
We, thus, need the new integration event OnBeforeMakeReminderCustLedgEntryFindSet before the customer ledger entries are looped.

Integration Event:
OnBeforeMakeReminderCustLedgEntryFindSet
Signature:
var CustLedgEntry: Record "Cust. Ledger Entry";
Cust: Record Customer;
ReminderHeader: Record "Reminder Header";
ReminderHeaderReq: Record "Reminder Header";
MaxReminderLevel: Integer;
var OverDueEntriesOnly: Boolean
To be inserted in procedure MakeReminder, immediately before "if CustLedgEntry.FindSet then".

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


feat: Support keep-alive messages

Related: coder/coder#7581
This PR enables SSH server support for keep-alive messages. It introduces 2 more configuration options: ClientAliveInterval and ClientAliveCountMax.
This library is relatively old and not really covered with tests. I can add some if you find them beneficial.
How to test it (as CI doesn't start any tests):
Tab 1:
go run _examples/ssh-keepalive/keepalive.go

Tab 2:
ssh -o HostKeyAlgorithms=+ssh-rsa -vvv localhost -p 2222

This is a great finding, Cian. I forgot to run this with race flag and discovered a can of worms. It looks like using ctx.KeepAliveCallback() always causes a race condition with a session loop. It is just a bad design.
I'm afraid that I have to start it over 💀
Read at 0x00c00038ccc0 by goroutine 95:
  github.com/gliderlabs/ssh.(*sshContext).KeepAliveCallback()
      /Users/mtojek/code/ssh/context.go:162 +0x44
  github.com/gliderlabs/ssh.KeepAliveRequestHandler()
      /Users/mtojek/code/ssh/session.go:530 +0x4c
  github.com/gliderlabs/ssh.(*Server).handleRequests()
      /Users/mtojek/code/ssh/server.go:335 +0x104
  github.com/gliderlabs/ssh.(*Server).HandleConn.func3()
      /Users/mtojek/code/ssh/server.go:309 +0x58

Previous write at 0x00c00038ccc0 by goroutine 100:
  github.com/gliderlabs/ssh.(*sshContext).SetValue()
      /Users/mtojek/code/ssh/context.go:127 +0x70
  github.com/gliderlabs/ssh.(*session).handleRequests()
      /Users/mtojek/code/ssh/session.go:311 +0x330
  github.com/gliderlabs/ssh.DefaultSessionHandler()
      /Users/mtojek/code/ssh/session.go:129 +0x36c
  github.com/gliderlabs/ssh.(*Server).HandleConn.func4()
      /Users/mtojek/code/ssh/server.go:319 +0x84

Ok, I refactored the code by extracting the KeepAlive part to a separate entity guarded with a mutex.


Feature request-How to close the centrifugal effect on the blade deformation in BeamDyn?

Hello every one:
I want to conduct a comparison of the blade deflection with and without centrifugal effect by using AeroDyn + BeamDyn, and I am wondering about how to close the centrifugal effect on the blade deformation in BeamDyn?
Thank you for your attention on this issue.

Dear @ZL6462,
Are you asking about eliminating the centrifugal effect while modeling a rotating rotor, or is the rotor parked?  I'm not sure why you'd want to do the former.
When the rotor is rotating, centrifugal effects (as well as other blade kinematic/kinetic effects) are intrinsic to BeamDyn's formulation of the equation of motion, and so, cannot be readily disabled.
Best regards,

Dear @jjonkman
Thank for your answer, I am  asking about eliminating the centrifugal effect while modeling a rotating rotor, and your answer is useful.
Best regards,


Error on line 1 char 1: Document must begin with an element (e.g. )

Hello,
Running Frida 12.7.22 on a Jailbroken iPhone (13.2, jailbroken via checkra1n) and also on a MacOS Catalina Version 10.15.1
So first off, I tried running
frida-ps -U
and I got
Failed to enumerate processes: this feature requires an iOS Developer Disk Image to be mounted; run Xcode briefly or use ideviceimagemounter to mount one manually
Following this, I ran ideviceimagemounter manually to get
ideviceimagemounter /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2/DeveloperDiskImage.dmg /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2/DeveloperDiskImage.dmg.signature
Uploading /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2/DeveloperDiskImage.dmg
done.
Mounting...
Done.
Status: Complete
So I thought everything was fine.
But when I ran
/Users/JP26442/Downloads/frida-ios-dump-3.x/dump.py -l
Failed to enumerate applications: unexpected response: Error on line 1 char 1: Document must begin with an element (e.g. )
Is the final error I get. Googling this out doesn't yield many similar errors, let alone any on Frida.
Please let me know what might have went wrong!

我也是这个问题


Unclear documentation on how to upload a file to an Azure File Share

I'm having trouble finding a way to upload files to Azure File Share. I want to programmatically manage a standard logic app and need to create connections.json and workflow directories from .NET. I've managed to do this with PowerShell. I could do it with the Azure SDK for .NET but only if I create a file first with the file size specified, but I don't know the size of the file in advance. There's only documentation for uploading blobs. I wish this was mentioned somehow?

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

ID: 0eff27d7-f909-fc99-14f6-ad572629907f
Version Independent ID: 57504146-9f89-e4d6-3f5b-5cd9af305d45
Content: Develop for Azure Files with .NET
Content Source: articles/storage/files/storage-dotnet-how-to-use-files.md
Service: storage
Sub-service: files
GitHub Login: @khdownie
Microsoft Alias: kendownie

@delsehi
Thanks for your feedback! We will investigate and update as appropriate.

Hi @delsehi
Could you please refer below comments for your reference.
You could leverage Microsoft Azure Configuration Manager Library for .NET and retrieve the rough usage for a specific file share as follows:
CloudFileShare share = fileClient.GetShareReference("{your-share-name}");
ShareStats stats = share.GetStats();
Console.WriteLine("Current file share usage: {0} GB, maximum size: {1} GB", stats.Usage.ToString(), share.Properties.Quota);
For more details, you could refer to Develop with File storage.
Result:
Current file share usage: 1 GB, maximum size: 5120 GB
You could leverage Microsoft Azure Storage Explorer to check the Usage and Quota of your file share as follows:
enter image description here
Moreover, for retrieving the exact usage of a specific file share, I assumed that you need to iterate the file and directory under the file share and accumulate the files byte size. I wrote a code snippet for achieving this purpose, you could refer to it:
static void FileShareByteCount(CloudFileDirectory dir,ref long bytesCount)
{
FileContinuationToken continuationToken = null;
FileResultSegment resultSegment = null;
do
{
resultSegment = dir.ListFilesAndDirectoriesSegmented(100, continuationToken, null, null);
if (resultSegment.Results.Count() > 0)
{
foreach (var item in resultSegment.Results)
{
if (item.GetType() == typeof(CloudFileDirectory))
{
var CloudFileDirectory = item as CloudFileDirectory;
Console.WriteLine($" List sub CloudFileDirectory with name：[{CloudFileDirectory.Name}]");
FileShareByteCount(CloudFileDirectory,ref bytesCount);
}
else if (item.GetType() == typeof(CloudFile))
{
var CloudFile = item as CloudFile;
Console.WriteLine($"file name：[{CloudFile.Name}]，size：{CloudFile.Properties.Length}B");
bytesCount += CloudFile.Properties.Length;
}
}
}
} while (continuationToken != null);
}
Usage:
CloudFileShare share = fileClient.GetShareReference("logs");
CloudFileDirectory rootDir = share.GetRootDirectoryReference();
long bytesCount = 0;
FileShareByteCount(rootDir, ref bytesCount);
Console.WriteLine("Current file share usage: {0:f3} MB", bytesCount / (1024.0 * 1024.0));
enter image description here

@delsehi
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1449 ms

Resolved: Bofrost.at performance has improved in 3b12b49.