GPG signature error when using terraform provider

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Terraform Version
bash-5.0# terraform -version
Terraform v0.12.13
+ provider.aws v3.11.0
+ provider.google v3.44.0
+ provider.google-beta v3.44.0
+ provider.random v3.0.0

Affected Resource(s)

equinix_XXXXX

Terraform Configuration Files
I'm just trying to initialize a blank terraform configuration to ensure authentication is working with the equinix provider.
provider "equinix/equinix" {
}

I have my client ID and client secret exported as environment variables according to the provider documentation.
bash-5.0# env
...
PWD=/proj/terraform/gcp/environment
EQUINIX_API_CLIENTSECRET=<redacted>
HOME=/root
TERM=xterm
EQUINIX_API_CLIENTID=<redacted>
...

Debug Output
bash-5.0# terraform init
Initializing modules...

Initializing the backend...

Initializing provider plugins...
- Checking for available provider plugins...

Error verifying GPG signature for provider "equinix/equinix"
Terraform was unable to verify the GPG signature of the downloaded provider
files using the keys downloaded from the Terraform Registry. This may mean that
the publisher of the provider removed the key it was signed with, or that the
distributed files were changed after this version was released.

Error: unable to verify signature

Panic Output

Expected Behavior
Terraform initializes all providers successfully.
Actual Behavior

Error verifying GPG signature for provider "equinix/equinix"
Terraform was unable to verify the GPG signature of the downloaded provider
files using the keys downloaded from the Terraform Registry. This may mean that
the publisher of the provider removed the key it was signed with, or that the
distributed files were changed after this version was released.

Steps to Reproduce

terraform init

References

@stephenmass-ftdr thanks for bringing that up.
Seems that issue is related with TF version < 13, I'm looking into that.

The new namespacing only works in Terraform >= 0.13, you can possibly get this to work by using -verify-plugins=false but you are in unsupported territory here.

Terraform 12 fetches release from correct Github repo but fails on checksum file signature verification. It expects it to be signed by Hashicorp key. File is signed with Equinix key that is added to Terraform registry instead (what works well for Terraform >13).
2020/11/18 15:08:37 [ERROR] error verifying signature against HashiCorp public key: openpgp: signature made by unknown entity

Full debug log: https://gist.github.com/mikouaj/10bd3341c7b454c17058fb2f3610d576
I've reached out to Hashicorp guys to see if anything can be done with that.

Issue has been resolved by Hashicorp Registry team - they have published it under  https://releases.hashicorp.com/terraform-provider-equinix/
 % cat main.tf
provider "equinix" {}
 % ./terraform version
Terraform v0.12.29
 % ./terraform init

Initializing the backend...

Initializing provider plugins...
- Checking for available provider plugins...
- Downloading plugin for provider "equinix" (terraform-providers/equinix) 1.0.2...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.equinix: version = "~> 1.0"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
 %

Wonderful! Thanks so much for assisting with this!


lighttpd: enable cross-compilation

Motivation for this change
Lighttpd needs some extra configure flags to build a working cross-compiler. I'm not sure if this makes it work with all combinations of options, and I'm not sure if there's an easier way to make the configure script pick up the host pkgconfig deps.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Are there any updates on this pull request, please?

I tested:

nix-build -A pkgsCross.aarch64-multiplatform-musl.lighttpd
nix-build -A pkgsCross.aarch64-multiplatform-musl.lighttpd
nix-build -A pkgsCross.raspberryPi.lighttpd
nix-build -A pkgsCross.armv7l-hf-multiplatform.lighttpd

And none failed. I haven't tested usablity of any of these results but I still think it's not worth keeping this PR open so I'm closing as it's also ancient.


Collapsable sections are not showing anymore

Hi ! Thank you for the great plugin !
Since last night, I don't know if there was an update or something but the collapsable sections are not showing anymore.
The button of the toolbar are unresponsive as well.
I tried disabling all other plugins and themes but the bugs is still there.

Hey, so I've been getting a few of these reports, and it always seems to randomly start working on its own? Weird. I've tried reproducing it with no luck. Sometimes it seems like deleting the config file or redownloading the plugin from the GitHub fixes the issue, other times it just takes a reload. For you it seems the issue is persisting?
If it's still happening, do you think you could open Developer Tools (BetterDiscord > Settings > Developer Settings > DevTools, then press Ctrl+Shift+I), go to the Console tab, check if there's any CollapsibleUI error messages, and if so report them back here?

Hey, thank you for the quick reply :)
Here is the error provided by the dev tools
ca48443fd81954078cd5.js:130 [CollapsibleUI] (v5.1.6) has started. ca48443fd81954078cd5.js:130 [CollapsibleUI] Reloading... ca48443fd81954078cd5.js:130 [CollapsibleUI] Failed to restore Members List button. Are you sure it exists? (anonymous) @ ca48443fd81954078cd5.js:130 CollapsibleUI.plugin.js:765 Uncaught (in promise) TypeError: Cannot read property 'style' of null     at CollapsibleUI.initialize (CollapsibleUI.plugin.js:765)     at CollapsibleUI.start (CollapsibleUI.plugin.js:1542) ca48443fd81954078cd5.js:130 [CollapsibleUI] Failed to restore Members List button. Are you sure it exists? (anonymous) @ ca48443fd81954078cd5.js:130 ca48443fd81954078cd5.js:130 [CollapsibleUI] (v5.1.6) has stopped. ca48443fd81954078cd5.js:130 [CollapsibleUI] (v5.1.6) has started. ca48443fd81954078cd5.js:130 [CollapsibleUI] Reloading... CollapsibleUI.plugin.js:765 Uncaught (in promise) TypeError: Cannot read property 'style' of null     at CollapsibleUI.initialize (CollapsibleUI.plugin.js:765)     at CollapsibleUI.start (CollapsibleUI.plugin.js:1542)

Thank you so much! I can see what the issue is and was finally able to reproduce it. I will have a fix for it released shortly :)


Message edit referencing the wrong event (an image) instead of the message with the original text.

So someone did the following while PM'ing me:

Send a message
Send an image
Edit the sent message (CD -> C:)

It looked like the following on the Discord side:

But on the matrix side it came over as:

With the edited message having this history:

Looks like what seems to just be an m.room.message containing unknown.png as the body was actually an image message, but Riot is just displaying it oddly as it doesn't expect images to be edited:

So I think the problem is that the wrong event was referenced in the m.relates_to event (the image), instead of the text event.

Server logs:
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.647 [DiscordPuppet:DiscordEventHandler] info: Received new message!
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.651 [RemoteEventHandler] info: Received file to send from<PHONE_NUMBER>16879363 in dm-295503323316879363.
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.662 [UserSync] info: Fetching client for<PHONE_NUMBER>16879363
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.670 [Util] info: Processing profile update...
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.676 [bot-sdk-MatrixLiteClient] info: (REQ-1) GET https://matrix.amorgan.xyz/_matrix/client/r0/joined_rooms
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.695 [bot-sdk-MatrixLiteClient] info: (REQ-2) POST https://matrix.amorgan.xyz/_matrix/client/r0/rooms/!ADIgrUwpNNMNmBZhaw%3Aamorgan.xyz/invite
Apr 14 15:40:44 synapse npm[29237]: Apr-14 15:40:44.825 [bot-sdk-MatrixLiteClient] error: (REQ-2) {
Apr 14 15:40:44 synapse npm[29237]:   errcode: 'M_FORBIDDEN',
Apr 14 15:40:44 synapse npm[29237]:   error: '@andrewm:amorgan.xyz is already in the room.'
Apr 14 15:40:44 synapse npm[29237]: }
Apr 14 15:40:45 synapse npm[29237]: Apr-14 15:40:45.253 [bot-sdk-MatrixLiteClient] info: (REQ-3) POST https://matrix.amorgan.xyz/_matrix/media/r0/upload
Apr 14 15:40:46 synapse npm[29237]: Apr-14 15:40:46.050 [bot-sdk-MatrixLiteClient] info: (REQ-4) PUT https://matrix.amorgan.xyz/_matrix/client/r0/rooms/!ADIgrUwpNNMNmBZhaw%3Aamorgan.xyz/send/m.room.message/1586871646050__REQ3
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.401 [RemoteEventHandler] info: Received message from<PHONE_NUMBER>16879363 to send to dm-295503323316879363
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.403 [UserSync] info: Fetching client for<PHONE_NUMBER>16879363
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.404 [Util] info: Processing profile update...
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.405 [bot-sdk-MatrixLiteClient] info: (REQ-5) PUT https://matrix.amorgan.xyz/_matrix/client/r0/rooms/!ADIgrUwpNNMNmBZhaw%3Aamorgan.xyz/send/m.room.message/1586871647405__REQ4
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.461 [bot-sdk-Appservice] info: Processing transaction 344137
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.461 [bot-sdk-Appservice] info: Processing event of type m.room.message
Apr 14 15:40:47 synapse npm[29237]: <IP_ADDRESS> - - [14/Apr/2020:13:40:47 +0000] "PUT /transactions/344137?access_token=04a4fa5a-2515-4ffe-9c44-572fa0532daa HTTP/1.1" 200 2 "-" "Synapse/1.12.3"
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.593 [bot-sdk-Appservice] info: Processing transaction 344138
Apr 14 15:40:47 synapse npm[29237]: Apr-14 15:40:47.593 [bot-sdk-Appservice] info: Processing event of type m.room.message

was the edit on the image message or the text message?

@Sorunome The image message.

fixed in https://github.com/matrix-discord/mx-puppet-discord/commit/cb86aaf2c619d865f3301c05b8c1fd05a01da70e


python condense_mp.py --reproduce  -d imagenet --nclass 100 --pt_from 5 -f [factor] --ipc [image/class] --nclass_sub 20 --phase [0,1,2,3,4]

Hello, Thanks for your solid work.
When I want to reproduce your code in imagenet100 ipc=20, I use the command of  python condense_mp.py --reproduce -d imagenet --nclass 100 --pt_from 5 -f 1 --ipc 10 --nclass_sub 20 --phase 5, I found that there are some error in running it.
So how many GPUs did you use in your experiment, and how long will it take?

The command uses a pertained network trained with five epochs (--pt_from).
To use this command, you should first obtain pretrained networks by run
python pretrain.py -d imagenet --nclass 100 -n resnet_ap --pt_from [pretrain epochs] --seed [seed]
I've also uploaded the pretrained networks at https://drive.google.com/drive/folders/1YdBOf_u41bTtHyEWxzoqwzMagCrT-Y1H?usp=drive_link , so you can just download the networks and use them.
As I recall, each run used one RTX-3090 GPU (23GB memory). You can also check run times for each experiment at log files from Data folders: https://drive.google.com/drive/folders/19f82htg2AiXlqw7Si9QdUsnuXJrbTeyt .

OK，got it. Thanks for your sincere help!

Following your instruction that use pretrain.py, the experiment still seems to stuck. Our GPU is V100(32GB), so maybe there are some details I mistake, for that the memory is enough and no error or warning raised.
Thank for your sincere help.

Fixed it. There are something wrong in my computer. Thank you!


Update scripts and YML to use "Agent.OS" instead of custom variables like "OSVmImage"

I believe many of our scripts and YML use custom variables like OSVmImage to detect operating system.  However, I think it might be better to use the built-in variable Agent.OS instead.

https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#agent-variables-devops-services

Correct, we try to put the OS marketing version in the output: https://github.com/Azure/azure-sdk-for-cpp/blob/main/eng/scripts/Get-BinarySizes.ps1#L56


persistent storage?

How to make sure it runs with persistent storage it would help if there would be something about this in the readme.

:+1:

+1!  This would need to be a PR to
https://github.com/docker-library/docs/blob/9a3c64afc13ef2949b626dc7750b98158b14eef0/postgres/content.md,
probably adding content very similar to what's in mysql:
https://github.com/docker-library/docs/blob/9a3c64afc13ef2949b626dc7750b98158b14eef0/mysql/content.md#where-to-store-data

+1
I added an example on how I did this here:
https://github.com/DanielCaldwell/postgres-docker-persistant-data
Maybe it can help someone else.

Using docker compose, I can't get the volume working properly. Mounting /var/lib/postgresql from the container to the host only exposes data dir without the contain in that dir. If I exec the container, the contain is fine. Anyone has the same problem?

@akbargumbira, it needs to be mounted to /var/lib/postgresql/data, otherwise the docker volume defined there will be mounted on that directory and thus not show up in your bind mount.

@yosifkit thanks!

@yosifkit btw, I thought it would be recursively mounted? https://github.com/docker/docker/issues/3782

On other official db containers like redis, nothing needs to be done to make data persistence work by default. Ideally I can start and stop containers based on this image and have data persists without me having to add -v in docker run or a custom VOLUMES entry in a Dockerfile.

@iMerica Have you found otherwise with this image? It already has VOLUME /var/lib/postgresql/data. I've started and stopped containers based on this image many times and they always come back up with the same data.
This issue seems to be talking about persistence that survives destroying the container. The situation here is the same as every other container with a VOLUME statement for its data directory, including redis.

Hmm. Yes, data is lost on restarts–and it's happening for everyone in my office. Thanks for your reply, it could be due to the initialization script. I'll open a bug if the issue persists.

Thanks @yosifkit! I just needed to add -v /var/lib/postgresql/data:/var/lib/postgresql/data

shouldn't -v /var/lib/postgresql:/var/lib/postgresqlwork as well?

@vytautasgimbutas, nope :cry:, there is a VOLUME declared on /var/lib/postgresql/data, so docker will create that as a separate mount within your bind-mounted directory and you would end up with just an empty data folder.

Since this issue seems unrelated to any errors in the image itself, and being two years without further comment, I'm going to prune the issue.
If you believe this to be in error then let me know and I'll re-open it
Given that the issue is more of a usability question, it would be more suited for the Docker Community Forums, the Docker Community Slack, or Stack Overflow.


Layers not working

I have created a room and I am testing the layers, but nothing happens. I am using laravel 7.
Http::post('https://api.eyeson.team/rooms/:access-token/layers', [
    'url' => 'https://eyeson-team.github.io/api/images/eyeson-overlay.png',
    'z-index' => 2,
    'layout' => 'fixed'
]);

Lastly, I have tried with eyeson-js
onEvent({
    type: 'set_layer',
    params: {
        url: 'https://eyeson-team.github.io/api/images/eyeson-overlay.png',
        'z-index': '2',
        layout: 'fixed'
    }
})

Excuse me, I already saw the duplicate #22

Hello again,
I have created a room with option 'sfu_mode' => 'disabled' and I am testing the layers, but nothing happens. I am using laravel 7.
$eyeson = new Eyeson($apiKey);
    $room = $eyeson->join($userName, $roomName, [
    'sfu_mode' => 'disabled'
]);

Http::post('https://api.eyeson.team/rooms/:access-token/layers', [
    'url' => 'https://eyeson-team.github.io/api/images/eyeson-overlay.png',
    'z-index' => 2,
    'layout' => 'fixed'
]);

Lastly, I have tried with eyeson-js
onEvent({
    type: 'set_layer',
    params: {
        url: 'https://eyeson-team.github.io/api/images/eyeson-overlay.png',
        'z-index': '2',
        layout: 'fixed'
    }
})

I have created another user for the test, so that they are 2 and nothing. What am I doing wrong?

Hi there, please replace the :access-token in your URL with a valid access key, it's meant as a placeholder and otherwise there is no auth given. In your PHP example it's something like Http::post('https://api.eyeson.team/rooms/' + $room->getAccessKey() + '/layers', // .... Best wishes!


Whitelist host machine's IP address for HostAuthorization and use http health check for web app

Context
cf http healthcheck runs on each instance of the app and the hostname used is the local IP address of the instance.
So using a http health check while using HostAuthorization on the web app fails without whitelisting this IP address of the app instance.
Changes proposed in this pull request
Add the IP address of the host instance to config.hosts
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] This code does not rely on the addition/removal of Azure config environment variables in the same Pull Request
[x] New environment variables have been added to the Azure config

Closing this, see #4529


weapons part 2

Any remaining weapons not added

do weapons need to be wielded, and have insta-wielding like the other servers?

do weapons need to be wielded, and have insta-wielding like the other servers?

yes, already implemented

cool bananas

what about the weapons you can only find on the colony?
make issues and link them here

#690


Fixed dwNotifSource duplicate possible value in WlanRegisterNotification function parameters desctription

WLAN_NOTIFICATION_SOURCE_DEVICE_SERVICE value entry had WLAN_NOTIFICATION_SOURCE_IHV value name, renamed as it should be

@alexbereznikov : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Remove support for manage_externals

This PR removes support for manage_externals. The update to ESMA_env is because of a reference to Develop.cfg in the help output of build.csh.

Converting to draft as we work to remove support for manage_externals in the subrepos.


SPARKC-446 Enabling PerPartitionLimits for CassandraTable and JoinWithCassandraTable

c2f1cdb (Russell Spitzer, 6 minutes ago)
SPARKC-446: Enable PerPartitionLimit as a CassandraRDD Function
Cassandra 3.6 enables PerPartitionLimit. To accesses this the underlying
CassandraRDD limit field now holds a `CassandraLimit` opition. There are
two possible values at the moment.

SparkPartitionLimit - Which limits the number of rows returned per Spark
Partition CassandraPartitionLimit - Which limits the number of rows
returned per Cassandra Partition

They are accessed through the same api as previously existed

CassandraRDD.limit() - Sets the SparkPartitionLimit like previously
CassandraRDD.perPartitionLimit - Sets the CassandraPartitionLimit

ce8ea46 (Russell Spitzer, 6 minutes ago)
SPARKC-446: Change Cassandra Version to 3.6
Only 3.6 Supports Per Partition Limit

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success


Merge develop into master

Coverage decreased (-26.8%) to 73.206% when pulling 2f848e20ed833f486cff2cd886d6cab607722e91 on develop into 5547d18d5d701c3ec7f31b5d6a6a49433019f24f on master.

ping! ping!


Inform user when trying to download where they dont have the full tree locally

Describe the bug
"Download" gets stuck when you dont have the full tree locally and you are unable to fetch it. Even if you are able to fetch it the download may take a while and appear to stall as the user does not know they are know waiting to find the blocks.
We can check to see if the full tree is available locally before starting the download and warn that we will have to go find the full tree and it could take a while if it isn't all available.
This is easy to trigger know due to the "Import from IPFS" action only importing the root block as per #1691

From today's triage discussion: Actually implementing a fix shouldn't be too difficult, but need some further investigation first, to wit:

Determine how expensive it is to tell if an item is available locally or not
Determine if we (and if so, how expensive is it) can get a percentage of an item that's available locally

If it's expensive:

Check only at time of download, and if the item isn't fully available locally, give a warning modal that we have to find the full tree and that might take a while if it's not all available

If it's not expensive:
Add a UI element in the Files screen table to indicate whether an item is fully local or not (perhaps including percentage local availability)


adding graph_coloring.cpp

Signed-off-by: sharyu<EMAIL_ADDRESS>Description of Change

Checklist

[ ] Added description of change
[ ] Added file name matches File name guidelines
[ ] Added tests and example, test must pass
[ ] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[ ] Relevant documentation/comments is changed or added
[ ] PR title follows semantic commit guidelines
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Isn't this a duplicate of backtracking/graph_coloring.cpp?

Isn't this a duplicate of backtracking/graph_coloring.cpp?

this is by using greedy algorithm.


TN-2594 Migration to clean up missing 6 month QBs.

Should correct https://jira.movember.com/browse/TN-2594, but we still don't know "where they went"?
NB - this takes probably a good 10 mins to run, as it purges and updates QB data for > 1000 patients.

Hello @pbugni! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file portal/migrations/versions/f93d9608c372_.py:

Line 24:1: E302 expected 2 blank lines, found 1
Line 53:80: E501 line too long (80 > 79 characters)
Line 55:80: E501 line too long (80 > 79 characters)
Line 69:80: E501 line too long (87 > 79 characters)


Improve editor state initialization

When opening some scene for the first time, the current editor state was leaking into the new scene. This PR ensures that editors call clear() when the scene has no stored state.
It also implements clear() for 2D editor, which resets position and zoom. If fixes an issue where opening some scene could lead to the scene being out of view.
Before
https://user-images.githubusercontent.com/2223172/229291607-ae135ae1-7a4e-4f44-9f01-64a11c8cb923.mp4
After
https://user-images.githubusercontent.com/2223172/229291613-71eba0c2-d3b0-4f1e-aa84-aad12e5beac9.mp4
(other 2D state elements are handled by #74682)

I also changed the default view offset. Previously it was some arbitrary value, now it's centered in the viewport. I pushed it in separate commit for now, because not sure if it's a wanted change.

I also changed the default view offset. Previously it was some arbitrary value, now it's centered in the viewport. I pushed it in separate commit for now, because not sure if it's a wanted change.

The underlying idea for the arbitrary offset is that in 2D, your scene "area" will often range from (0, 0) to a point in the (X+, Y+) quadrant.
For example the main scene's root viewport / camera:

On the other hand it's true that for props/characters/etc., you'd typically have them centered on the origin, in which case the default offset isn't the best:

But it's hard to find a balance that fits both types of scenes IMO.

I'll revert that change for now then and see if it's really a problem.

Thanks!

Cherry-picked for 4.0.3.


Implement network monitoring function

What would you like to be added:
Connect to third-party systems and monitor the following three aspects:

[ ] Network connectivity detection
[ ] Checking the configuration of nodeconfig
[ ] Ipool usage alarm

Why is this needed:
Early detection of faults

/assign @OrangeBao


feat(integrations): Add integration for clickhouse-driver>=0.2.0

Adds an integration that automatically facilitates tracing/recording of all queries, their parameters, data, and results.
Closes https://github.com/getsentry/sentry-python/issues/2154
Companion PR for docs: https://github.com/getsentry/sentry-docs/pull/7129

@antonpirker - I was going to ping you to remind you about the docs PR for this, but it looks like you weren't even tagged in this PR yet 😆

Hey @mimre25 !
I finally had time to look at your PR. Really great work! I added some code for adding more db connection data to the span (we need this to some magic stuff on the Sentry backend) and also made sure that the db.params are only sent to Sentry when send_default_pii parameter of the sentry_sdk.init() is set to True. (so by default we will not leak personal data.
Also added the tests to our test mastrix. There is still some work to do, but I will have a look at this tomorrow.
Do you know if there is a way to mock clickhouse for the tests? (I am not sure it is a good idea to spin up clickhouse in CI...)

Unfortunately, I don't know anything to mock clickhouse for tests.
At work we even spin up a whole cluster (dockerized) for testing (unit + integration), because we haven't found anything when we started to adopt clickhouse
If you find something, though, please let me know, I would be very interested in that as well!

Hey @mimre25 !
I think we are there!
(I just made sure all the tests are run and work in CI, plus added some more tests)
When all the tests are green this will be merged and released this week!
Thanks again for the great work. Really amazing!


Create aboutme-portfolio-template

Hello Team,
About is Bootstrap 5 based template build with Vite.js development workflow.
thank you.

Hey @easetemplates
Please read the submission guide first https://github.com/statichunt/statichunt?tab=readme-ov-file#submission-guides


nixos: tailscale: option to disable path warning

Description of changes
fixed #194623 by adding an option services.tailscale.ignoreReversePathFilter to quiet a warning that is relevant to only some tailscale clients/users.
cc: @LunNova @danderson
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Crap, I fixed this on the wrong branch. Thanks @LunNova

I guess I was fixing it in the right place, cherry-picking it to my usual nixpkgs and just forgot to push. Should be good now.

@ofborg eval

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/637

Do we have any other options to silence warnings?

I was thinking the same thats why I am not that keen about adding this.

Let me just mention that there are discussions upstream about fixing the underlying problem so that we eventually wouldn't need a warning.

Fine with this not getting in if it's too hacky. Would a more thought out system for silencing warnings need an RFC?
To solve the warning being annoying locally I could just patch it out anyway.

Existing RFC which discusses adding a way to disable warnings, RFC 0127:
https://github.com/NixOS/rfcs/pull/127/files#diff-e089f932103f6decfd159bd39420f43fd834106b788fa06956e771ffd0cda991R63

Fixed by #201119


My password isnt working Ive been using the same on for a long time and now I cant even use my seed to recover my funds?

BUG REPORT
Stack Trace or error message
Expected Behavior
How to reproduce it (as minimally and precisely as possible)
Environment

Sia version:
OS:

I highly recommend you ask for help on the Sia Discord.  Without more information there is no action the devs can take on this issue.  If you have an error message or log feel free to attach it to this issue and reopen the ticket.
Make sure you don't have any extra spaces before/after/in-between the words.  Ensure your seed has the correct number of words, and they are spelled correctly.
You can try following these instruction to re-install Sia and then recover your wallet: https://gist.github.com/tbenz9/8066d74853ab28c23bd7bc1d3c7cdeda


Awesome list of Responsive Web Design resources

Repo https://github.com/bradfrost/this-is-responsive has an impressive list of resources and patterns for Responsive Web Design.
But it is in the form of a web site (that can be contributed to): http://bradfrost.github.io/this-is-responsive/resources.html
Should it be added as an awesome list?

It makes sense to me to use a website instead of a .md file for this purpose.
However, it seems to me like this is one giant list of everything instead of a curated list of awesome things. Seems like pretty much everything submitted gets accepted, and that's not really the point of an awesome list. Plus the list itself is currently unlicensed. There are currently 54 people who contributed to the list, so it would be a really tough job to license it now. Plus it contains no comments on why something is awesome, just linked entries with no description what so ever.
Because of the things I mentioned, I don't think that this list is an awesome material.


Add files via upload

Are you sure this was meant as a Pull request?  Do you really want to replace the example document with your real cv and take the authorship?
This is why i don't like forking.


coloured text rendering

as-Salamu alaykum wa rahmatuLLahi wa barakatuh.
Brother please consider implementing coloured rendering in widget like regular textview does when applying setText with formatted strings like this:
<item><![CDATA[
some couloured text]]></item>
<item><![CDATA[
another one]]></item>
Due to lack of knowledge of android internals and java in general i've only done partial demo app modification. Now it's accepting formatted strings like above example.
Here is gist with patch and images https://gist.github.com/AbdullahRusi/0a55169396653a06db3452ba79c7f4dd
As seen on screenshots standart textview lacks of good font rendering/shaping engine.
It produce many artifacts(broken ligatures, marks not on right places).
Your excellent library does that part (shaping and rendering glyphs) very well (besides vertical line).
On desctop firefox browser is correctly rendering that formatted text. As i know it uses Harfbuzz or something, so it's good.
so it may become very useful for many Muslims and big sawab(ajr) for you inshaaLLah

وعلیکم السلام ورحمة اللہ وبرکاتہ
I considered adding support for spans while developing the library. But it is not as simple. There are some technical hurdles and some ground work needs to be done first. For example, android spans API is locked to platform paint class for customization. There is no way to inject Tehreer typefaces in it and even if there is, platform canvas cannot use it. So I need to find a suitable solution for this problem before implementation.
Until then, you can manually create Typesetter objects, extract ComposedLine from it, search glyph range for black/red text in GlyphRun, and draw the glyphs with Renderer class. You can explore the source code of TLabel class for reference.

I have added experimental support for ForegroundColorSpan in dev branch. But it is not as sophisticated as that of FireFox. Particularly, there is no way to recognize individual characters in a ligature. FireFox might be guessing character width by dividing the advance of whole ligature with the number of characters it contains.
Here is a screenshot of how it looks like with current implementation.

If you set colors on ligature boundaries, it might be worth seeing the results.

ماشاء الله
جزاك الله خيراً
بارك الله فيكم
Its already much better than native android. Thank you.
Looking forward to use library in app and futher imrovement in shaa Allah

السلام علیکم ورحمة الله وبرکاته
One thing seems wrong for me at the moment:
Vertical lines.

Thinking a bit about them found that  it happen when using U+200C ZERO WIDTH NON-JOINER
with marks like theese commonly used in Quran Mushaf
U+06D6 ARABIC SMALL HIGH LIGATURE SAD WITH LAM WITH ALEF MAKSURA
U+06D7 ARABIC SMALL HIGH LIGATURE QAF WITH LAM WITH ALEF MAKSURA
U+06D8 ARABIC SMALL HIGH MEEM INITIAL FORM
U+06D9 ARABIC SMALL HIGH LAM ALEF
U+06DA ARABIC SMALL HIGH JEEM
Glyphs are drawn but they shouldn't
It seems to me this is more related to SheenFigure project may be it's better to open an issue there
To be more exact let's say:
glyphs like \u200C\u200D\u200E\u200F shouldn't be rendered

وعلیکم السلام ورحمة اللہ وبرکاتہ
You are right. The bug must be in SheenFigure. I'll definitely look into it.

Support for many of android's spans has been added in version 2.1. Please see the release notes for details.


[SPARK-22951][SQL][BRANCH-2.2] fix aggregation after dropDuplicates on empty dataframes

What changes were proposed in this pull request?
(courtesy of liancheng)
Spark SQL supports both global aggregation and grouping aggregation. Global aggregation always return a single row with the initial aggregation state as the output, even there are zero input rows. Spark implements this by simply checking the number of grouping keys and treats an aggregation as a global aggregation if it has zero grouping keys.
However, this simple principle drops the ball in the following case:
spark.emptyDataFrame.dropDuplicates().agg(count($"*") as "c").show()
// +---+
// | c |
// +---+
// | 1 |
// +---+

The reason is that:

df.dropDuplicates() is roughly translated into something equivalent to:

val allColumns = df.columns.map { col }
df.groupBy(allColumns: _*).agg(allColumns.head, allColumns.tail: _*)

This translation is implemented in the rule ReplaceDeduplicateWithAggregate.

spark.emptyDataFrame contains zero columns and zero rows.

Therefore, rule ReplaceDeduplicateWithAggregate makes a confusing transformation roughly equivalent to the following one:
spark.emptyDataFrame.dropDuplicates()
=> spark.emptyDataFrame.groupBy().agg(Map.empty[String, String])

The above transformation is confusing because the resulting aggregate operator contains no grouping keys (because emptyDataFrame contains no columns), and gets recognized as a global aggregation. As a result, Spark SQL allocates a single row filled by the initial aggregation state and uses it as the output, and returns a wrong result.
To fix this issue, this PR tweaks ReplaceDeduplicateWithAggregate by appending a literal 1 to the grouping key list of the resulting Aggregate operator when the input plan contains zero output columns. In this way, spark.emptyDataFrame.dropDuplicates() is now translated into a grouping aggregation, roughly depicted as:
spark.emptyDataFrame.dropDuplicates()
=> spark.emptyDataFrame.groupBy(lit(1)).agg(Map.empty[String, String])

Which is now properly treated as a grouping aggregation and returns the correct answer.
How was this patch tested?
New unit tests added

This will be merged as @liufengdb 's commit.
cc @liufengdb and @liancheng .

Test build #100668 has started for PR 23434 at commit a23dfb7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/6577/
Test PASSed.

Test build #100668 has finished for PR 23434 at commit a23dfb7.

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

Merged build finished. Test PASSed.

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

Also, cc @gatorsmile and @cloud-fan

Thanks, @dongjoon-hyun! btw, we need [BACKPORT-2.2] in the title?

btw, LGTM

LGTM, thanks @dongjoon-hyun !

Thank you, @maropu , @mgaido91 , @cloud-fan .
Merged to branch-2.2.
BTW, for the tag, I also have a same question. Let's make a rule explicitly later.
~/A/spark:branch-2.4$ git log --oneline | grep BRANCH-2.4 | wc -l
       8
~/A/spark:branch-2.4$ git log --oneline | grep BACKPORT-2.4 | wc -l
       3

~/A/spark:branch-2.3$ git log --oneline | grep BRANCH-2.3 | wc -l
      22
~/A/spark:branch-2.3$ git log --oneline | grep BACKPORT-2.3 | wc -l
      29

~/A/spark:branch-2.2$ git log --oneline | grep BRANCH-2.2 | wc -l
      24
~/A/spark:branch-2.2$ git log --oneline | grep BACKPORT-2.2 | wc -l
      24


What does free actually do?

Hi, thanks for the javascript port of tiktoken it's been extremely helpful.
I'm trying to figure out what free actually does and more importantly: when it should be used. I assume it performs some teardown and releases any memory reserved by the encoder instance, but I can't find any documentation or source code.
My use case is in an AWS lambda environment, and so I was wondering if it's fine to reuse the same encoder instance multiple times rather than instantiate a new one on every request and then free it after?
This would reduce the overhead of setting up a new encoder every request. Is that advisable or is it better to just instantiate and free every time an encoder is used?

@disbelief I agree we need more guidance, as I'm not entirely sure how it works either. I've only come to an answer based on my own usage. Maybe @dqbd can shed some light here and correct me.
I recommend if you are re-using the encoder instance, you should be calling the free method. Failure to do so, at least on my end, leads to weird behavior that has crashed my node process when re-using the same instance after an extended period of time. If you are not re-using, it may or may not get garbage collected (I believe it should), so it seems safe to use free in this case as well.
We can see that free is invoked after all tests: https://github.com/dqbd/tiktoken/blob/072dd12962cabeca67c5088e3d8a8d006af19482/js/test/compatibility.test.ts#L9
And we are reminded to call it after the encoder is not used: https://github.com/dqbd/tiktoken/blob/072dd12962cabeca67c5088e3d8a8d006af19482/README.md?plain=1#L42
The tiktokenizer playground frees the encoder after every request, which is also interesting to note:
https://github.com/search?q=repo%3Adqbd%2Ftiktokenizer free&type=code
I found a comment somewhat related but it is a bit confusing because it implies you shouldn't be creating new instances repeatedly 'and/or' free should be called:

One possible culprit could be the creation of a new Tiktoken instance every time getTokenCountForMessages is invoked. If possible, try to reuse the same Tiktoken instance obtained from get_encoding and/or call tokenizer.free() after you're done with computing.
source: https://github.com/dqbd/tiktoken/issues/8#issuecomment-1459063969

so TL;DR based on my usage, here's what I've had to and haven't had issues when counting tokens in my app:

Create an encoder instance and re-use it up to 25 encodings
After 25 encodings, I "reset" the encoder by first freeing and then creating a new instance to re-use up to 25 times
Depending on your resources, you should adjust this interval to your liking (higher interval increases rate of tokenizer/second which leads to higher resource usage)

This resetting behavior has the added benefit of 'capping' resource usage, as a series of encoding requests without any buffer can be resource-intensive, and the intermittent reset forces the re-initialization period before too many are processed. The introduced bottleneck is not too much of a blocker as it's within reason of OpenAI rate limits presuming you are counting before making generation requests, but you should adjust as necessary for your scale.

Thanks @danny-avila your experience here is much appreciated. I hope @dqbd can shed some more light, but in the meantime I'll add some extra instrumentation to keep an eye on things.

Hello @disbelief and @danny-avila!
Sorry for the delay, hopefully I can shed some more light into free(). The tiktoken (and @dqbd/tiktoken package for that matter) uses a WASM binary, which works differently with memory when compared to JS. In WASM world, the user/developer is responsible for allocation and, more importantly, deallocation of objects when we're done with using them, whereas in JS world, the garbage collector does the heavy lifting for us, clearing objects when they are unused.
In the case of tiktoken, repeated invocation of new Tiktoken() etc. will allocate the memory for an encoder, which, if not cleared, will take up the available memory until OOM exceptions occur or the encoder fails to encode.
However, the issue and workaround with batching 25 requests does seem to point to a memory leak of sorts, will investigate further, thanks for for flagging @danny-avila!

@dqbd thanks for the info. To further clarify, it should be okay to use a single instance of Tiktoken for the lifetime of a server, right?

Hey @b0o! Yep, that should be the case. Any issues arising from that would be considered a bug.

Hi @dqbd, thanks for your response. So are you saying free should only be called when we mean to get rid of the instance?
In this case here, are you only freeing the encoder when a new one is selected?
https://github.com/dqbd/tiktokenizer/blob/cea57c454f38001a91873c944cee6a9b8e2a0610/src/pages/index.tsx#L78
Thanks again, would just like added clarity.

Hi @dqbd, thanks for your response. So are you saying free should only be called when we mean to get rid of the instance?
In this case here, are you only freeing the encoder when a new one is selected? https://github.com/dqbd/tiktokenizer/blob/cea57c454f38001a91873c944cee6a9b8e2a0610/src/pages/index.tsx#L78
Thanks again, would just like added clarity.

Hi @danny-avila, thanks for your comment above. Have you figured out when and how to use free() properly? After going through your comment, I am just wondering if using encoding.encode(my_input_text) too many times will cause my server to crash.
I'm using this library in my express.js API to compute the number of tokens in some input text, assisting me in trimming the text efficiently. For every API request, I have to execute encoding.encode(my_input_text) approximately 30-40 times.
import { encoding_for_model } from "@dqbd/tiktoken";

// Create the encoder
const enc = encoding_for_model("gpt-3.5-turbo");

function countTokens(text) {
    return enc.encode(text).length;
}

// this function is invoked when an api is called
const trimDataForGPT = (summary) => {

    // This loop runs 10+ times
    for (let i = 0; i < summary.length; i++) {
        ...
        const estimatedContentTokens = countTokens(someText);
        ...
    }

    // This loop runs 30+ times
    for (let i = 0; i < combinedStrings.length; i++) {
        ...
        const estimatedExplanationTokens = countTokens(someText);
        ...
    }

    return combinedStrings.join("\n");
};

So as you quoted above "Create an encoder instance and re-use it up to 25 encodings", do I need to do this?

Hi @danny-avila, thanks for your comment above. Have you figured out when and how to use free() properly? After going through your comment, I am just wondering if using encoding.encode(my_input_text) too many times will cause my server to crash.
I'm using this library in my express.js API to compute the number of tokens in some input text, assisting me in trimming the text efficiently. For every API request, I have to execute encoding.encode(my_input_text) approximately 30-40 times.

Your server can crash just from requiring too many resources, which encoding will do that. Using free every X encodes (batching) will block the thread and "slow down" the series of requests, which may help prevent spiking in your resource usage.
Here's a snippet of my text script where I figured this out:
  for (let i = 0; i < iterations; i++) {
    try {
      console.log(`Iteration ${i}`);
      const client = new OpenAIClient(apiKey, clientOptions);

      client.getTokenCount(text); // uses this tiktoken library
      // const encoder = client.constructor.getTokenizer('cl100k_base');
      // console.log(`Iteration ${i}: call encode()...`);
      // encoder.encode(text, 'all');
      // encoder.free();

      const memoryUsageDuringLoop = process.memoryUsage().heapUsed;
      const percentageUsed = (memoryUsageDuringLoop / maxMemory) * 100;
      printProgressBar(percentageUsed);

      if (i === iterations - 1) {
        console.log(' done');
        // encoder.free();
      }
    } catch (e) {
      console.log(`caught error! in Iteration ${i}`);
      console.log(e);
    }
  }

So as you quoted above "Create an encoder instance and re-use it up to 25 encodings", do I need to do this?

Needing to do this will depend on your own tests.
You can find my full test here: https://github.com/danny-avila/LibreChat/blob/b3aac97710ab9680046eb8089c5fcd4456bd2988/api/app/clients/specs/OpenAIClient.tokens.js

Thank you for the response @danny-avila. That's an interesting test you have written. I will perform some similar test in my case to check if things will work as expected.


Resolve model to extract parent repositories

Also requires https://github.com/redhat-appstudio/jvm-build-data/pull/148 merged

minikube-commons failure is I think due https://github.com/redhat-appstudio/jvm-build-service/pull/1022

/test jvm-build-service-e2e


[SGTM multi-org support] modify github auth helpers to take in github_org_name from payload and save it to memory

Summary

Modifies the sgtm_github_auth variable to a getter since we need org_name which is only receivable via webhook
adds a MutableMapping[str, SGTMGithubAuth] to save and retrieve auth classes depending on org name
updates all of the clients to use the new auth

Asana tasks:
https://app.asana.com/0/1149418478823393/1205088646274292/f
Relevant deployment:
CC: @harshita-gupta @prebeta @suzyng83209 @vn6 @michael-huang87
Test Plan

[ ] staging deploy works with Asana repo
[ ] staging deploy works with Asana-ITSE repo

Risks
Pull Request synchronized with Asana task
Pull Request: https://github.com/Asana/SGTM/pull/201

#201  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @suzyng83209 and the rest of your teammates on  Graphite


Adds script that downloads dog park from http://www.mountainview.gov/…

…depts/cs/parks/parks/dog.asp

I created a pull request from the branch you wanted @evankroske


Wallets containing upper-case letter in name don't work

Steps to reproduce:

oasis wallet import Test
enter wallet's private key etc.
$ oasis accounts show --wallet Test doesn't work
$ oasis accounts show --wallet test works
$ oasis wallet rm Test doesn't work
$ oasis wallet rm test requires confirmation, but it doesn't want to accept it.

FYI:
total 16
drwxrwxr-x 1 oa oa   84 jan 28 15:02 .
drwxr-xr-x 1 oa oa 2812 jan 28 14:33 ..
-rw-rw-r-- 1 oa oa 3008 jan 28 15:05 cli.toml
-rw------- 1 oa oa  358 nov  6  2020 config.toml
-rw------- 1 oa oa  363 jan 28 15:05 Test.wallet

If the wallet name corresponds to the filename directly, there should probably be a check to force lower-case ASCII characters only?

Fixed in a069424e8ef5dba4daf24bb373a27b19eb9d0604


[$125] Cancel payment - "Cancel payment" in three-dot menu is not translated to Spanish

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

Version Number: 1.4.16-3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/32674
Action Performed:

Go to workspace chat
Create a manual request
Open expense report
Click Pay elsewhere
Change app language to Spanish
Click 3-dot menu

Expected Result:
In Step 6, "Cancel payment" in 3-dot menu is translated to Spanish
Actual Result:
In Step 6, "Cancel payment" in 3-dot menu is not translated to Spanish
Workaround:
Unknown
Platforms:

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

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/7caff2d3-22f2-4f13-8db0-609d72e4b299
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~018f27688bf279c909
Upwork Job ID:<PHONE_NUMBER>016527872
Last Price Increase: 2023-12-22

Proposal
Please re-state the problem that we are trying to solve in this issue.
Cancel payment not translated to spanish
What is the root cause of that problem?
We have static string here which added in this PR
https://github.com/Expensify/App/blob/b0e038f65e716d333ecce0437fc61a2e258ea7c0/src/components/MoneyReportHeader.js#L124
What changes do you think we should make in order to solve the problem?
We need to use translation key instead.

Not a deploy blocker but we should fix this. Going to make it a $125 issue as this is very simple.

Since the issue is straightforward, let's proceed with @neonbhai's proposal, as it was the first one.
🎀 👀 🎀 C+ Reviewed!

Reverting the original PR because it has caused numerous deploy blockers and the author is ooo

Closing since related PR was reverted. cc @Gonals


set up automated build testing

set up automated build testing
https://countvajhula.com/2021/05/22/migrating-your-racket-project-from-travis-to-github-actions/
As suggested by @countvajhula

Good idea :+1:


Development

We are not wanting to approve this one, we're only pushing to the development branch, correct?


10s lag when playing, but 0s when pausing

Problem/Motivation

I have about 10s latency when playing any music via AirSonos to any Sonos speaker I have (even the ones that support AirPlay 2 natively)

Expected behavior

Instant of <1s latency

Actual behavior

About 10s to start playing

Steps to reproduce

Open Music App on my iPhone, connect to "Office+" Sonos Playbar and press play ; but it is the same for any Sonos device in the hous

Proposed changes

Maybe add a parameter to reduce that latency ?

Here is the log :
[12:11:32.215] http_thread_func:985 HTTP close 22
[12:11:32.215] http_thread_func:956 [0x7f02f401c430]: got HTTP connection 22
[12:11:32.218] handle_http:1097 [0x7f02f401c430]: received HEAD HTTP/1.1
CONNECTION: close
Host: <IP_ADDRESS>:36625
USER-AGENT: Linux UPnP/1.0 Sonos/79.1-54060 (ZPS9)
X-Sonos-SWGen: 2
X-Sonos-Firmware: 79.1-54060
X-Sonos-Muse-Api: 1.40.0
X-Sonos-Id-Hash: npOIGQONX4sSzg8DPPuK6vUjnfXg2VhLe5QYRqZikzA=
[12:11:32.218] handle_http:1142 [0x7f02f401c430]: responding: HTTP/1.0 200 OK
Server: HairTunes
Content-Type: audio/flac
Connection: close
[12:11:32.218] http_thread_func:979 [0x7f02f401c430]: sending 187 silence frames
[12:11:32.218] http_thread_func:985 HTTP close 22
[12:11:32.223] handle_rtsp:374 [0x7f030c014ad0]: received SET_PARAMETER
[12:11:32.223] handle_rtsp:568 [0x7f030c014ad0]: received JPEG image of 109764 bytes
[12:11:32.223] handle_rtsp:587 [0x7f030c014ad0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 181
[12:11:32.224] buffer_put_packet:446 [0x7f02f401c430]: 1st accepted packet:7844, now playing
[12:11:32.229] handle_rtsp:374 [0x7f030c014ad0]: received SET_PARAMETER
[12:11:32.229] handle_rtsp:587 [0x7f030c014ad0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 182
[12:11:32.235] handle_rtsp:374 [0x7f030c014ad0]: received SET_PARAMETER
[12:11:32.235] handle_rtsp:559 [0x7f030c014ad0]: received metadata
artist: Darude
album:  Before the Storm, Special Edition
title:  Sandstorm
[12:11:32.236] handle_rtsp:587 [0x7f030c014ad0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 183
[12:11:32.258] handle_rtsp:374 [0x7f030c014ad0]: received SET_PARAMETER
[12:11:32.258] handle_rtsp:559 [0x7f030c014ad0]: received metadata
artist: Darude
album:  Before the Storm, Special Edition
title:  Sandstorm
[12:11:32.258] handle_rtsp:587 [0x7f030c014ad0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 184
[12:11:32.773] ActionHandler:510 [0x7f031f84be90]: uPNP stopped
[12:11:33.101] handle_rtsp:374 [0x7f030c014ad0]: received SET_PARAMETER
[12:11:33.101] handle_rtsp:559 [0x7f030c014ad0]: received metadata
artist: Darude
album:  Before the Storm, Special Edition
title:  Sandstorm
[12:11:33.102] handle_rtsp:587 [0x7f030c014ad0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 185
[12:11:33.108] handle_rtsp:374 [0x7f030c014ad0]: received SET_PARAMETER
[12:11:33.108] handle_rtsp:587 [0x7f030c014ad0]: responding:
RTSP/1.0 200 OK
Audio-Jack-Status: connected; type=analog
CSeq: 186
[12:11:33.223] HandleRAOP:320 [0x7f031f84be90]: uPNP setURI http://<IP_ADDRESS>:36625/stream-2.flac (cookie 0x141)
[12:11:33.223] AVTSetURI:69 [0x7f031f84be90]: uPNP setURI http://<IP_ADDRESS>:36625/stream-2.flac (cookie 0x141)
[12:11:33.224] AVTPlay:123 [0x7f031f84be90]: uPNP play (cookie 0x142)
[12:11:33.241] http_thread_func:956 [0x7f02f401c430]: got HTTP connection 22
[12:11:33.244] handle_http:1097 [0x7f02f401c430]: received GET HTTP/1.1
CONNECTION: close
Host: <IP_ADDRESS>:36625
ACCEPT: /
USER-AGENT: Linux UPnP/1.0 Sonos/79.1-54060 (ZPS9)
X-Sonos-SWGen: 2
X-Sonos-Firmware: 79.1-54060
X-Sonos-Muse-Api: 1.40.0
X-Sonos-Id-Hash: npOIGQONX4sSzg8DPPuK6vUjnfXg2VhLe5QYRqZikzA=
[12:11:33.244] handle_http:1142 [0x7f02f401c430]: responding: HTTP/1.0 200 OK
Server: HairTunes
Content-Type: audio/flac
Connection: close
[12:11:33.244] http_thread_func:979 [0x7f02f401c430]: sending 183 silence frames
[12:11:38.024] ActionHandler:505 [0x7f031f84be90]: uPNP transition
[12:11:44.354] ActionHandler:514 [0x7f031f84be90]: uPNP playing

Same here! Extreme delay whatever configured in the xml file.

I'm experiencing the same issue as well. Here is the log from request to connection:
06:54:50 request - 06:54:57 start.
Still love the addon!


[HOLD comment linking] [Search] Implement App changes for Powerful Search

Part of [internal] Search project https://github.com/Expensify/Expensify/issues/261800
We will have to make changes to the Search component to implement powerful search into newDot. Most changes are backend but we still need to update the component, make updates to data storage and new API call.
I will provide more details here in the issue as we will refine them.

Hey Edu here, I am from Callstack - expert contributor group

Thanks, closed.

Hey @gedu Just to be sure (I didn't see this in the part you wrote in the design doc), but we do need to cover those type of issues in this implementation since we'll still do the local search for the chat switcher.

@danieldoglas Awesome I'm working on it, and double-check that this works with the issues mentioned

@gedu works on the detailed section

Working on how the search text will be highlighted and how the message will be displayed

Awaiting reviews.

Still holding for the comment linking

not overdue

still hold

Still on hold

Still on hold, the comment linking is going through implementation

still on hold

still on hold

Still on hold

still on hold

Still on Hold

Thsi is still on hold

Still on hold

This is being included in Search v1 doc.


Suggestion TCP persistent keep-alive long term connection query multiplexing remove RTT/overhead

actually --tcp-only is what it says since version 1.7.0! this is just great.
The latency of establishing connections in tcp for every single request could be dropped RTT alot if using keep-alive connections. push multiple querys async in parralell over a single connection per resolver. less overhead. resolver server would free up connections and client too.
Will this feature or can it be added in future with current protocol?
in high latency mobile network it would make huge difference. or for prefered resolver in other side of world.
may could TFO TCP-FAST-OPEN improve this further

TCP Fast Open is already being used since version 1.5.0.
TCP connections have intentionally to be closed with this version of the protocol.
TCP support on Cisco resolvers is broken, and resolvers are not generally not prepared for keeping many open TCP connections. Although this might change now that we DNS-over-TLS has been introduced.
DNS-over-TLS and DNS-over-HTTP2 are actually a better fit than DNSCrypt for TCP. But TCP remains a poor choice for a typical DNS workload.


Crash after respawn using sensors

Environment

OS Version: 20.04
Binary build: 3.12.0 and 6.9.0 (Citadel and Fortress
Rendering engine: ogre2
Camera duplicated error
Not related to GUI/render issue

Warning [GenericJoint.hpp:1480] [GenericJoint::setRestPosition] Value of _q0 [0], is out of the limit range [0.1, 3.1] for index [0] of Joint [Joint].
[Err] [SystemPaths.cc:449] Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]
[Err] [SceneManager.cc:544] Unable to find file [wheel_cover.png]
[Err] [SystemPaths.cc:449] Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]
[Err] [SceneManager.cc:556] Unable to find file [wheel_cover.png]
[Err] [SystemPaths.cc:449] Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]
[Err] [SceneManager.cc:544] Unable to find file [wheel_cover.png]
[Err] [SystemPaths.cc:449] Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]
[Err] [SceneManager.cc:556] Unable to find file [wheel_cover.png]
[Err] [SystemPaths.cc:449] Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]
[Err] [SceneManager.cc:544] Unable to find file [wheel_cover.png]
[Err] [SystemPaths.cc:449] Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]
[Err] [SceneManager.cc:556] Unable to find file [wheel_cover.png]
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [62], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] [Err] [EntityComponentManager.cc:486] [Err] [SystemPaths.cc:449] Trying to create a component of type [Could not resolve file [9436740692853731264freenove_smart_car.sdf/wheel_cover.png] attached to entity []63
[Err] [SceneManager.cc:544] Unable to find file [wheel_cover.png]
], but this entity does not exist. This create component request will be ignored.exist. This create component request will be ignored.[Err] [SystemPaths.cc:449]
Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]][Err] [EntityComponentManager.cc:486]
Trying to create a component of type [[Err] [SceneManager.cc:556]<PHONE_NUMBER>853731264Unable to find file [] attached to entity [wheel_cover.png64]
], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(4:ItemIdentityException): Camera with name 'freenove_smart_car::right_IR::rgbd_camera' already exists in SceneManager::createCamera at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/OgreMain/src/OgreSceneManager.cpp (line 302)
Stack trace (most recent call last) in thread 1325484:
#24   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#23   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd9ac000162, in clone
#22   Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fd9abec6608, in
#21   Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fd9a7fde6b3, in
#20   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-3/plugins/libignition-gazebo-sensors-system.so", at 0x7fd982c72ff7, in ignition::gazebo::v3::systems::SensorsPrivate::RenderThread()
#19   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-3/plugins/libignition-gazebo-sensors-system.so", at 0x7fd982c72887, in ignition::gazebo::v3::systems::SensorsPrivate::RunOnce()
#18   Object "/lib/x86_64-linux-gnu/libignition-gazebo3-rendering.so.3", at 0x7fd982bd4859, in ignition::gazebo::v3::RenderUtil::Update()
#17   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-3/plugins/libignition-gazebo-sensors-system.so", at 0x7fd982c75aed, in std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (sdf::v9::Sensor const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), std::_Bind<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (ignition::gazebo::v3::systems::Sensors::*(ignition::gazebo::v3::systems::Sensors*, std::_Placeholder<1>, std::_Placeholder<2>))(sdf::v9::Sensor const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)> >::_M_invoke(std::_Any_data const&, sdf::v9::Sensor const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#16   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-3/plugins/libignition-gazebo-sensors-system.so", at 0x7fd982c71f2c, in ignition::gazebo::v3::systems::Sensors::CreateSensor(sdf::v9::Sensor const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#15   Object "/usr/lib/x86_64-linux-gnu/libignition-sensors3-rgbd_camera.so", at 0x7fd97234dba7, in ignition::sensors::v3::RgbdCameraSensor::SetScene(std::shared_ptr<ignition::rendering::v3::Scene>)
#14   Object "/usr/lib/x86_64-linux-gnu/libignition-sensors3-rgbd_camera.so", at 0x7fd97234b5e4, in ignition::sensors::v3::RgbdCameraSensor::CreateCameras()
#13   Object "/lib/x86_64-linux-gnu/libignition-rendering3.so.3", at 0x7fd982a4167e, in ignition::rendering::v3::BaseScene::CreateDepthCamera(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#12   Object "/lib/x86_64-linux-gnu/libignition-rendering3.so.3", at 0x7fd982a42d0f, in ignition::rendering::v3::BaseScene::CreateDepthCamera(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#11   Object "/usr/lib/x86_64-linux-gnu/ign-rendering-3/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd97375c1f2, in ignition::rendering::v3::Ogre2Scene::CreateDepthCameraImpl(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#10   Object "/usr/lib/x86_64-linux-gnu/ign-rendering-3/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd97375abc7, in ignition::rendering::v3::Ogre2Scene::InitObject(std::shared_ptr<ignition::rendering::v3::Ogre2Object>, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#9    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-3/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd9736ff171, in ignition::rendering::v3::Ogre2DepthCamera::Init()
#8    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-3/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd9736feeb3, in ignition::rendering::v3::Ogre2DepthCamera::CreateCamera()
#7    Object "/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0", at 0x7fd9730f9bc2, in
#6    Object "/lib/x86_64-linux-gnu/libOgreMain.so.2.1.0", at 0x7fd9730da71b, in
#5    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fd9a7fb18e8, in __cxa_throw
#4    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fd9a7fb1646, in std::terminate()
#3    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fd9a7fb15db, in
#2    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fd9a7fa5a30, in
#1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd9abf03858, in abort
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd9abf2403b, in gsignal
Aborted (Signal sent by tkill() 1325448 1000)

This issue is somewhat mixed with https://github.com/gazebosim/gz-sim/issues/1107 and https://github.com/gazebosim/gz-sim/pull/959
The issue is that this stores the RGB camera in SceneManager::createCamera. I was able to load this if I remove this line
    <plugin
      filename="ignition-gazebo-sensors-system"
      name="ignition::gazebo::systems::Sensors">
      <render_engine>ogre2</render_engine>
    </plugin>

which is located in free_world.sdf at line #249.
The problem is that when I load it without that plugin, I won't be able to read sensors. So when I added it, it cause issue after respawn due to registered the camera from the previous model. I believe that if there's somewhat unregister this entity would solve the issue.
Description

Expected behavior: Expected to respawn with sensor.
Actual behavior: Crash after respawn

Steps to reproduce

Command line only

ign gazebo -r free_world.sdf
ign service -s /world/free_world/create --reqtype ignition.msgs.EntityFactory --reptype ignition.msgs.Boolean --timeout 300 --req 'sdf_filename: ''"freenove_smart_car.sdf" pose: {position: {y: 0}} '
ign service -s /world/free_world/remove --reqtype ignition.msgs.Entity --reptype ignition.msgs.Boolean --timeout 300 --req 'name: "freenove_smart_car" type: MODEL'
ign service -s /world/free_world/create --reqtype ignition.msgs.EntityFactory --reptype ignition.msgs.Boolean --timeout 300 --req 'sdf_filename: ''"freenove_smart_car.sdf" pose: {position: {y: 0}} '

CRASHED!
I feel like this is more of mixed bug and enhancement. I don't know, I will let you decide that.
Output
You can use this zip.
delete_this.zip

Actually, this is almost exact same as https://github.com/gazebosim/gz-sim/issues/1473
but this one required to clear the entity of camera RGB.
I found the site: https://gazebosim.org/api/msgs/6.1/classignition_1_1msgs_1_1EntityFactory.html#a9bde302c3181bfcafce2cc1442c2c860
Attempted several like:
ign service -s /world/free_world/create --reqtype ignition.msgs.EntityFactory --reptype ignition.msgs.Boolean --timeout 300 --req 'sdf_filename: ''"freenove_smart_car.sdf" pose: {position: {z: 0}} Clear: true
I think this is what would make the "reset" come true
Still trying stuff

Closing since this is not bug and this belongs to answers gazebo com

Wait, no. This issue is actually belongs to here now.
When I tried to clear entities through ign service,
ign service -s /world/free_world/remove --reqtype ignition.msgs.Entity --reptype ignition.msgs.Boolean --timeout 300 --req id:25
I was able to respawn the robot through command line only.
See here without ogre2 plugin
https://user-images.githubusercontent.com/65916520/168909903-ef8d6700-7064-4f22-b05e-a81540cf9c25.mp4
See how I just spammed to respawn it over and over. No problem. I can do it all day.
The problem with this is that it is unable to read sensors such as camera RGB
So to be able to read those sensors, it needs to have a plugin like this:
<plugin
  filename="ignition-gazebo-sensors-system"
  name="ignition::gazebo::systems::Sensors">
  <render_engine>ogre2</render_engine>
</plugin>

So see the video where it ran with a plugin
https://user-images.githubusercontent.com/65916520/168910772-34fe604b-f39c-46af-bf54-20c850d9be40.mp4
Boom, crashed :(
It was due to unable to register a new camera RGB in entitymanager.
See here:
Could not resolve file [freenove_smart_car.sdf/wheel_cover.png]][Err] [EntityComponentManager.cc:486]
Trying to create a component of type [[Err] [SceneManager.cc:556]<PHONE_NUMBER>853731264Unable to find file [] attached to entity [wheel_cover.png64]
], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(4:ItemIdentityException): Camera with name 'freenove_smart_car::right_IR::rgbd_camera' already exists in SceneManager::createCamera at /var/lib/jenkins/workspace/ogre-2.1-debbuilder/repo/OgreMain/src/OgreSceneManager.cpp (line 302)
Stack trace (most recent call last) in thread 1325484:

So, I tried to remove it using ign service
ign service -s /world/free_world/remove --reqtype ignition.msgs.Entity --reptype ignition.msgs.Boolean --timeout 300 --req id:25 but this just acts like ign service -s /world/free_world/remove --reqtype ignition.msgs.Entity --reptype ignition.msgs.Boolean --timeout 300 --req 'name: "freenove_smart_car" type: MODEL'
I tried several include this:
ign service -s /world/free_world/remove --reqtype ignition.msgs.Entity --reptype ignition.msgs.Boolean --timeout 300 --req 'name: "freenove_smart_car::right_IR::rgbd_camera" type: SENSOR'
No luck.
I tried ign service -s /world/free_world/control --reqtype ignition.msgs.WorldControl --reptype ignition.msgs.Boolean --timeout 300 --req reset:{}
They just return error like this (using ign service -s /world/free_world/remove --reqtype ignition.msgs.Entity --reptype ignition.msgs.Boolean --timeout 300 --req id:65)

or returns nothing but says data:true
I believe this would resolve the respawn issue if entitymanager can be accessed and removed everytime it loads.
Is there any way we can access to remove the rgb camera memory in the entity manager at any time using ign service?

Closing since it's pretty much duplicated


Flutter firestore onAuthStateChanged get triggered when tapped on a text field

I'm using the following handler to handle auth state change,
Widget handleCurrentScreen() {
  return  StreamBuilder<FirebaseUser>(
      stream: FirebaseAuth.instance.onAuthStateChanged,
      builder: (BuildContext context, snapshot) {
        if (snapshot.connectionState == ConnectionState.waiting) {
          return  Scaffold(
            appBar: AppBar(
              title: Text("Splash"),
            ),
            body: Text("Splash"),
          );
        } else {
          if (snapshot.hasData) {
            return HomePage(_auth,_googleSignIn);
          }
          return  LoginScreen3();
        }
      }
  );
}

There's a text field in HomePage() and when I tap on it my screen is directed to Splash screen as this assertion becomes true snapshot.connectionState == ConnectionState.waiting. I can't think of any reason why connection state change to waiting? Anyone l

When you tap on a text field the keyboard pops up and resizes the screen.
This triggers a rebuild and StreamBuilder re-subscribes to the stream and is in waiting until the first event is emitted.
I think this is a good question for StackOverflow.

Hi @zoechi I posted a similar question on StackOverflow here. I'd love to know why and how it works behind the scene.


Add a wifi direct plugin

Use case
I want to create p2p communication over wifi.
There's already a question about it in stacloverflow, https://stackoverflow.com/questions/60384981/flutter-wifi-direct.
Proposal
Add a plugin interface for Android's WifiP2pManager.
Maybe there's an IOS equivalent library too.

This is a niche use case; it would be a great opportunity for a third-party package, but not something that the Flutter team would build and maintain.


Fix remaining types

I have one (final?) PR to add the remaining types, although Object will be still weird, not 100% sure what that can contain, so prolly a *map[string]interface will remain insde an Object struct. Likely with some tests now that we have the infrastructure. After that I think everything is in good shape.
All my local changes to write https://github.com/miekg/ticketfs are now upstream.

For Object I might need to look at the php code from zammad other APIs

not going to do Object, other impl. also don't bother


Support for namespaces

Hi
In my work, we use Kafka with different clients, Java, PHP, Perl and others, and we have Avro schemas with namespaces, that other languages implementations support but apparently not Perl, do you know how to make that work?
Thank you.
Regards

Please, should you better explain your request with some example?
This package is an Avro-specialized version of the "official" Kafka::Producer package...


Question: multiple entity store

Before my question, I want to mention that you guys did a great job with this package :)
I'm submitting a question
I have a use case where I need 2 lists in the same store, For example on the same page I have 2 different lists, let's say users and markers.
What is the best way to the store the data?
Of course, I can create 2 separate entityStores and entityQuerys but it feels redundant because the 2 lists are related logically and related to the same UI, so it would be more comfortable to have 1 store object.
Another option I thought of, is to create a store object that has 2entityStores as field members, but I am not sure about it.
I tried to look it up in the doc but didn't find information about this use case, So my question is what is the best practice for this scenario?
Thx

Thanks. Your second solution is right. You can do something like:
class StoreName {
  users = new EntityStore<UsersState>({});
  markers = new EntityStore<MarkersState>({});
}

Same goes for the Query.

Thanks. Your second solution is right. You can do something like:
class StoreName {
  users = new EntityStore<UsersState>({}, { name: 'users' });
  markers = new EntityStore<MarkersState>({}, { name: 'markers' });
}

Same goes for the Query.

can you get more specific code for this question. still I can not get how to organize multiple entity store in one store

Hello team, could you please provide an example of how to use this example? (Store, Service, Query). Thanks!

Looks related to https://netbasal.gitbook.io/akita/general/dynamic-stores :
export class MyService {
  createStore(name: string) {
    const store = new Store(initialState, { name});
    const query = new Query(store);
    return { store, query }
  }
}

the above link is broken. It'd be great to see a dedicated section on this in the official docs.

the above link is broken. It'd be great to see a dedicated section on this in the official docs.

@DmitryEfimenko That looks more like just a dynamic creation of store. I was thinkig about same issue as OP: to combine two or more entity stores under one regular store. So in Redux Tools it would be: MainStore

Is there a way to gropu Stores ? I have two Store Entities in my app: UserList and ProductList which i'd like to group under MarketSection.
There are many MarketSections so i am unable to create UserList, ProductList stores at root as they will conflict with each other.
I would like to have State like this
MarketSection1:
    UserList
    ProductList

MarketSection2:
    UserList
    ProductList

How do i achive this with Akita ? @NetanelBasal


read

how to read multiple analog values using bacnet read

I create a Separate Flow for each Analog Value and then output that information to a gauge


Applying function to specific elements from scope, passing custom arguments to renderFn

Hey @userpixel,
Kudos for making an awesome library while focusing on security! I really appreciate it! 🏆
Are you considering implementing the ability to apply custom functions to just specific elements from the scope? eg.
Apply truncate function to just 1st and 3rd element and not the 2nd one?
const template = "My name is {{ truncate name }}, I am {{ age }} old. I come from {{ truncate country }}.
Also, are you considering adding support for custom arguments to be passed to function? eg. in the mentioned case {{ truncate name 3 }}, so 3 could be passed to the function definition?
Thanks ❤ and keep up the awesome work!

Hi Stefan,
Thank you. 🙂 This feature is demonstrated in this example:
https://github.com/userpixel/micromustache/blob/master/examples/pipe.js
On Mon, 8 Jul 2019, 15:37 Stefan Feješ<EMAIL_ADDRESS>wrote:

Hey @userpixel https://github.com/userpixel,
Kudos for making an awesome library while focusing on security! I really
appreciate it! 🏆
Are you considering implementing the ability to apply custom functions to
just specific elements from the scope? eg.
Apply truncate function to just 1st and 3rd element and not the 2nd one?
const template = "My name is {{ truncate name }}, I am {{ age }} old. I
come from {{ truncate country }}.
Also, are you considering adding support for custom arguments to be passed
to function? eg. in the mentioned case {{ truncate name 3 }}, so 3 could be
passed to the function definition?
Thanks ❤ and keep up the awesome work!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/userpixel/micromustache/issues/40?email_source=notifications&email_token=AAGMBJXLPTKOV6JG2FESEEDP6M7H3A5CNFSM4H63ZHJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G53K6PQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGMBJQIGX62I7HM5MDZF2LP6M7H3ANCNFSM4H63ZHJA
.

Thanks for providing me with the example - this already solves us a lot of problems 😄
With the current implementation of micromustache, is it possible to pass custom arguments to pipe functions?
Let's say I have the following code:
const pipes = {
  trim(str, length) {
    return str.substring(0, length);
  }
}

const template = "{{name}}'s password is {{password | trim}}!"

function resolveFn(varName, scope) {
  const [vn, ...pipeNames] = varName.split('|')
  const value = get(scope, vn)
  if (pipeNames.length) {
    const fnArr = pipeNames.map(pipeName => pipes[pipeName.trim()])
    return compose(
      fnArr,
      value
    )
  }
  return value
}

Would it be possible to pass additional params from the string template?
eg. "{{name}}'s password is {{password | trim(3)}}!"

I found custom-get example. I think that's the right one 😄 Thanks a lot for making this library, for everyone who runs into CSP issues, this is the right fit! ❤


Null safety

I have submit a pull request for supporting null safety:
https://github.com/TryingOutSomething/sound_mode/pull/5
How soon can you integrate it?

Hi @yanivshaked, thanks for taking the time to add on to the plugin! Let me test the plugin before I integrate it to the main branch and deploy the changes. I'll integrate it soon.
I'll inform you when the integration is done

Hi @yanivshaked, I'm having some issues while trying to publish the changes because it's not reading the pubspec file when I run the publish command.
I've opened an issue on Flutter's repo page. I'll get back to you when the issue is resolved

Hi @yanivshaked the plugin has been published successfully. I apologize for the false alarm. Do let me know if there are any issues with the plugin


[FR] FR-33: Enhance the trace data forwarding capability

Search before asking

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

Description
我希望通过DeepFlow Server转发给Otel Collector的三类Span数据能有和OTEL Trace一样的关联关系，即单条Trace下的所有Span有确定且唯一的SpanID和Parent SpanID。目前转发给Otel Collector的系统Span和网络Span是没有经过处理的，意味着有些Span没有TraceID和SpanID，有些Span有共同的SpanID，有些没有Parent SpanID，所以再从Otel Collector转发到其它APM，比如jaeger，是不能实现全链路观测的，还是会缺少系统Span与网络Span。个人认为，如果DeepFlow能具备上述功能，在很大程度上能提高其生态合作能力，发挥数据价值。
I hope that the three kind of span data forwarded to the OTEL collector by deepflow server can have the same association relationship as OTEL trace, that is, all the spans under a single Trace have definite and unique spanID and parent spanID.  currently, the system span and network span forwarded to OTEL collector are unprocessed, meaning that some spans have no traceID and spanID, some have common spanID, and some have no parent spanID.  Therefore, when forwarded from OTEL collector to other APMs, such as jaeger, full link observation cannot be realized, or system span and network span will be missing.  In my opinion, if deepflow can have the above functions, it will greatly improve its ecological cooperation ability and give full play to the value of data.
Use case
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

Looks like a good suggestion, but there is some work involved in constructing the DAG. @shaohuading

good idea!


feat: search rooms

Fixes #279

I don't think we need a search until there are more rooms than can be loaded on the front page in which case we will have to do a db query

Got it


Notification Press While in Foreground Changes AppState to "background"

What version of RN and react-native-fcm are you running?
RN: 0.46.0
react-native-fcm: 7.5.1
What device are you using?
Android Nexus 5X API 23 x86_64 Emulator
Issue?
I found it odd that, at least on Android, pressing a custom notification while the app is in the foreground changes React Native's AppState to "background".
If this is intended or the correct functionality, I will close this issue.

it is not intended but seems like an Android behavior.
does it change app state forever or just for a short time?

Forever, I have the same problem on android

sounds more of a react native problem because the problems because when you click notif banner react native's app state no long works? have you added "singleTop" in manifest?

have you added "singleTop" in manifest?

Yes:

...


Etherpad link incorrect

The Etherpad link on this page is incorrect.
The correct link is: https://pad.carpentries.org/teaching-demos

Fixed by #1585


ImportError

Hi,
when I execute the following code, I get the data, but I even get the errormessage:
from bitfinex import ClientV2 as Client
ImportError: cannot import name 'ClientV2'
Code:
from bitfinex import ClientV2 as Client
client = Client(
os.environ.get('BITFINEX_KEY'),
os.environ.get('BITFINEX_SECRET')
)

client.ticker('tBTCUSD')

Any Ideas?

The pypi package was not updated to reflect the documentation. Sorry, this is now corrected. you can update to v0.5.1 now :)


Pan & Tilt control for Sonoff camera

Pan & Tilt control option for Sonoff camera

Hi! I don't think PTZ only for one camera is good idea. We need something more customizable

I think each camera will have some own specific configs to work with PTZ, as example for Sonoff device id is required. So can be possible to add more options later depend to camera.

I think we just need to put the service call for each button in the card settings

Hi, I added option to setup service call for each button.
        ptz:
           position: right
           opacity: 1
           actions:
              up:
               service: ...
               ...
              down:
               service: ...
               ...
              left:
               service: ...
               ...
              right:
               service: ...
               ...

Great! A couple of notes:

As I know - some services won't pass extra params. In your example it will be service and icon.
iPhone 5S won't work with ?. construction. I think these phones should still be supported
I think adjusting the arrow icons is not necessary. Transparency is ok.

I excluded service & icon from service data
for this I think better compile js with babel it has all polyfills, other way need add lot of boilerplate conditionals to check properties existence
icons, opacity, position is optional properties

I rewrote your code. I hope I made it a little easier. It lost the ability to specify icons and arrows separately. Do you think anyone will use it?
I don't want to make the code complicated, so as not to complicate its support later.


Bug: Testing framework doesn't correctly report failure tests

Kùzu version
master
What operating system are you using?
MAC M1
What happened?
I have a test case in doc-examples.test:
-CASE CopyFromTest
-STATEMENT LOAD EXTENSION "${KUZU_ROOT_DIRECTORY}/extension/json/build/libjson.kuzu_extension";
---- ok
-STATEMENT CREATE NODE TABLE Person (id SERIAL, name STRING, info STRUCT(height DOUBLE, age INT64, registryDate DATE previousUsernames STRING[]), PRIMARY KEY(id));
---- ok
-STATEMENT COPY Person FROM '${KUZU_ROOT_DIRECTORY}/dataset/doc-examples-json/people.json';
---- ok
-STATEMENT MATCH (p:Person) return p.* ORDER BY p.id DESC;
---- 3
2│Gregory││
1│Bob││{height: 1.810000, age: 71, previousUsernames: [theBuilder,theMinion]}
0│Alice│2024-07-31│{height: 1.680000, age: 45, previousUsernames: [obviouslyAlice,definitelyNotAlice]}
-STATEMENT DROP TABLE Person;

There is a grammar mistake in the frist create table statement and should fail, however the ctest still marks it as correct.
If i run the test using e2e_test binary, it fails the test.
Are there known steps to reproduce?
No response

seems our test framework has problem with character - in test file name.
now investigating into that

when running sign test with ./e2e_test and gtest_filter, we got:
Note: Google Test filter = json~test~doc-exsamples.JsonTypeDoc
[==========] Running 0 tests from 0 test suites.
[==========] 0 tests from 0 test suites ran. (0 ms total)
[  PASSED  ] 0 tests.

seems the it didn't wen through the google test, however it didn't be caught by "no such file"


Bump nth-check and @svgr/webpack

Bumps nth-check to 2.1.1 and updates ancestor dependency @svgr/webpack. These dependencies need to be updated together.
Updates nth-check from 1.0.2 to 2.1.1

Release notes
Commits

Updates @svgr/webpack from 5.5.0 to 6.5.1

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: nth-check dependency-type: indirect
dependency-name: "@svgr/webpack" dependency-type: direct:production ...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

Description
Merges changes for https://github.com/saucelabs/sauce-docs/pull/1567
Motivation and Context
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[ ] I have read the contributing document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@aliciakrebs hold off on merging for a bit, I'm going to deploy to Dev to check something


Add Discord name + tag

Proposal:
Proposal written by Nickkel
What is the title of your proposal?: Add Discord name + tag
Is it a suggestion for the website or for the bot?: Bot
Explain your proposal more accurately (It's best to give as much information as possible, so that we can implement the proposal better): In the title of the embed should be the Discord name + tag of the user
Why should we add this feature?: It's better if two users use the command at the same time
ReportID: 99
┆Attachments: http://prntscr.com/l0y1b5

➤ LenoxBot commented:
Approve:
look at Nickkels Pic
Profxy#5396

➤ LenoxBot commented:
Approve:
good proposal
Denarioyt#3352

➤ LenoxBot commented:
Approve:
i agree with denario
Dadi#7808


Adjust error message wrongly claiming that there is a resource conflict

What this PR does / why we need it:
This PR fixes a misleading error message. Within our CI we stumbled upon the following error message as a result of an attempted helm install:
Error: rendered manifests contain a resource that already exists. Unable to continue with install: could not get information about the resource: an error on the server ("Internal Server Error: [...]: the server is currently unable to handle the request") has prevented the request from succeeding [...]

As can be seen from this error message, an internal server error is -- at the end -- interpreted as a resource conflict error.
By looking at the Helm source (current master) I noticed the following:
The error message about the resource conflict is added in pkg/action/install.go, line 275:
	if !i.ClientOnly && !isUpgrade && len(resources) > 0 {
		toBeAdopted, err = existingResourceConflict(resources, rel.Name, rel.Namespace)
		if err != nil {
			return nil, errors.Wrap(err, "rendered manifests contain a resource that already exists. Unable to continue with install")
		}
	}

as a result of existingResourceConflict() returning a non-nil err. But looking at that function, we can see that the could not get information about the resource error is returned (l.54) in case it was not possible to look up the resource in question, while the case of the resource being already present is handled later on (l.58-59), including a specific error wrapping. Here is the function:
func existingResourceConflict(resources kube.ResourceList, releaseName, releaseNamespace string) (kube.ResourceList, error) {
	var requireUpdate kube.ResourceList

	err := resources.Visit(func(info *resource.Info, err error) error {
		if err != nil {
			return err
		}

		helper := resource.NewHelper(info.Client, info.Mapping)
		existing, err := helper.Get(info.Namespace, info.Name)
		if err != nil {
			if apierrors.IsNotFound(err) {
				return nil
			}
			return errors.Wrap(err, "could not get information about the resource")
		}

		// Allow adoption of the resource if it is managed by Helm and is annotated with correct release name and namespace.
		if err := checkOwnership(existing, releaseName, releaseNamespace); err != nil {
			return fmt.Errorf("%s exists and cannot be imported into the current release: %s", resourceString(info), err)
		}

		requireUpdate.Append(info)
		return nil
	})

	return requireUpdate, err
}

The same issue exists in one other place: pkg/action/upgrade.go, l.278.
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

Hi, I am a bit confused now. My PR (removing the part in the error message about existing resources completely) is based on the following observation:
In the function existingResourceConflict we have two error exits after attempting to fetch the resource object:
The first one is here:
existing, err := helper.Get(info.Namespace, info.Name)
if err != nil {
	if apierrors.IsNotFound(err) {
		return nil
	}
	return errors.Wrap(err, "could not get information about the resource")
}

In case an error occured which is not NotFound, we return with error. Here it would be wrong to enrich this error with a message about resource-conflicts since that case is handled separately (below)?
Second is here:
// Allow adoption of the resource if it is managed by Helm and is annotated with correct release name and namespace.
if err := checkOwnership(existing, releaseName, releaseNamespace); err != nil {
	return fmt.Errorf("%s exists and cannot be imported into the current release: %s", resourceString(info), err)
}

Here we check explicitly if the already existing resource could be adopted. If yes, no error. If no, then we have a resource conflict error and we already produce the right error message saying that resource in question already exists. Therefore, also in this case there would be no point in further enriching this message with "resource already exists", as it is already in the message.
Am I overlooking something?
Thanks.

Hi @bacongobbler, just curious, is there anything else you need from me regarding this?

@bacongobbler Can we get this through?

Ping? Can we get this through?
@bacongobbler

closing and re-opening to (hopefully) get the tests to run


Fix useScaffoldContractWrite so it properly throws errors

Description

These changes reflect what is summarized at the bottom of issue #753
Added line 88 to useScaffoldContractWrite.ts and changed line 98 in useTransactor.tsx
These changes throw errors forward to a function utilizing useScaffoldContractWrite, and removes one notification error to prevent duplicate error notifications displaying.

Additional Information

I have read the contributing docs (if this is your first contribution)
This is not a duplicate of any existing pull request

Related Issues
Closes #753
Your ENS/address:  zurriken.eth

@corwinthill @technophile-04 This looks great!!
One related comment. Sometimes I ended up adding ifs to getParsedError, because the error thrown is not good enough, and you can get a better message checking something inside the error. Maybe adding a way to use a custom getParsedError is a nice way to improve that. What do you think? Did you have this issue before? We can move to a discussion if you think this is something we should implement...

One related comment. Sometimes I ended up adding ifs to getParsedError, because the error thrown is not good enough, and you can get a better message checking something inside the error. Maybe adding a way to use a custom getParsedError is a nice way to improve that. What do you think? Did you have this issue before? We can move to a discussion if you think this is something we should implement...

Good point. I think we need to create a new issue for it, and your updates of getParsedError can be helpful. If you still have these projects somewhere of course :)

I think we need to create a new issue for it, and your updates of getParsedError can be helpful. If you still have these projects somewhere of course :)

++, Tysm Damu ! and also Rinat for reveiw! 🙌
Merging this

One related comment. Sometimes I ended up adding ifs to getParsedError, because the error thrown is not good enough, and you can get a better message checking something inside the error. Maybe adding a way to use a custom getParsedError is a nice way to improve that. What do you think? Did you have this issue before? We can move to a discussion if you think this is something we should implement...

Good point. I think we need to create a new issue for it, and your updates of getParsedError can be helpful. If you still have these projects somewhere of course :)

These are particular for each project/contract, you can take a look at https://github.com/damianmarti/fruit-market2/blob/main/packages/nextjs/components/scaffold-eth/Contract/utilsContract.tsx#L27


model packaging

While the Containerfile ships tiny model with the image, the app itself reads in medium model by default, which doesn't make a lot of sense to me. I think we should ship the image with the "default" model the app is going to use. So, either ship with medium or use tiny as default.
I'm leaning toward using tiny as default and ship it, do that we can keep the image size as tidy as possible. But I'm open to all inputs.

addressed in b9a423a04e9f3bf9c89bef48343f2ab0473b6d41


Update Japanese localization to 1.67

This PR includes translations of messages added in 1.67 with a focus on Onboarding,
And includes correcting inconsistent spelling in existing translations.
A sample onboarding screen is attached below for your reference.

I will mentions this to the Japanese localization PR member, please review.
@noritada @Hima-Zinn @tkusano @oboenikui

@tkusano and Hima-Zinn Thanks for the review!
@Hima-Zinn
I have marked the reflected proposal as resolved.
Please confirm that I have replied to all other comments.
(See also the screenshot at the top.)

I would like to change "Following" to "フォロー中" in the timeline selection.

In the right column and tabs, the word "Following" is not translated and is used in 7c262b7,
but since it is used in some places, it is used as "フォロー中".

Thank you for your confirmation.
As for "following," I was just writing about the prospects for future localization, and there is no need to have it addressed immediately.


Rename properties in surf extraction json output to match new API response

🚧 No not merge this until all changes are ready
This change updates surf's extraction json output to rename the following properties:

page_sizes to document
alternative_results to alternatives

Connects to CloudHub360/platform#848

Have we verified behaviour of older surf versions against the modified API? How does this branch behave against the unmodified API?