[Question] How is UpdatableView updated?

Thank you for the awesome tool!
I'm sorry to ask you many times.
I've tried CREATE VIEW in order to hide tables which have created_at and updated_at.
However, I couldn't get update and delete mutations.
I found updatable_view in the kitchen-sink example.
https://github.com/postgraphql/postgraphql/blob/master/examples/kitchen-sink/schema.sql#L52-L59
But even in this example, I got only createUpdatableView (and allUpdatableViews).
How do I get updateUpdatableView and deleteUpdatableView?
Do I have to create a function? Is VIEW only for select and insert?
postgres=# SELECT table_name, is_updatable, is_insertable_into FROM information_schema.views WHERE table_name = 'updatable_view';
   table_name   | is_updatable | is_insertable_into
----------------+--------------+--------------------
 updatable_view | YES          | YES
(1 row)

Thanks!

You need to read up on view rules/triggers; here's a few starting points:
https://www.postgresql.org/docs/current/static/trigger-definition.html
https://www.postgresql.org/docs/9.6/static/rules-update.html
https://www.postgresql.org/docs/9.6/static/rules-views.html
https://vibhorkumar.blog/2011/10/28/instead-of-trigger/

OK, I'll try to read up!
Thanks!


Colcon build fails

@AaronYoung5 Working on a fresh machine (just installed docker, docker compose, atk). Colcon build is failing due to some permission issues... wondering if I missed something in the Docker setup. I get the following error when running colcon build in the dev container:
Traceback (most recent call last):   File "/usr/bin/colcon", line 33, in <module>     sys.exit(load_entry_point('colcon-core==0.15.0', 'console_scripts', 'colcon')())   File "/usr/lib/python3/dist-packages/colcon_core/command.py", line 118, in main     return _main(command_name=command_name, argv=argv)   File "/usr/lib/python3/dist-packages/colcon_core/command.py", line 185, in _main     create_log_path(args.verb_name)   File "/usr/lib/python3/dist-packages/colcon_core/location.py", line 186, in create_log_path     os.makedirs(str(path))   File "/usr/lib/python3.10/os.py", line 225, in makedirs     mkdir(name, mode) PermissionError: [Errno 13] Permission denied: 'log/build_2023-11-02_13-32-30'
Versions of everything:
Docker: 24.0.5
Docker compose: 2.21.0
atk: 2.0.11
Runing on Ubuntu 22.04.3
Nvidia Drivers: 545.23.06

Can you run id -u and id -g on the host?

Can you run id -u and id -g on the host?

both return 1002 on the host and 1000 in the dev container

The default user in linux has a uid and gid of 1000 + the index of the user on the system. So in your case, sounds like there were already 2 other users, so your uid/gid is 1002. You're going to need to rebuild the container and pass in the new uid/gid (which defaults to 1000).
To update you have two options:

Add USER_UID and USER_GID to the .env with your gid and uid. .env is ignored in git, so no worries there.

# .env
USER_UID=1002
USER_GID=1002

Export them as environment variables in your profile

# bashrc/zshrc/profile
export USER_UID=1002
export USER_GID=1002

This worked, thanks! Leaving this open so you can document this somewhere else as well.

@AaronYoung5 can I close this now that we merged docs in?

See FAQs.


ISPN-10831 Hotrod-Client testsuite throws IllegalArgumentExceptions.

https://issues.jboss.org/browse/ISPN-10831
This will be followed up by https://issues.jboss.org/browse/ISPN-10830 which will update all of the client tests to properly use the server-side SCI configuration, but this fixes the tests for now.

Some tests skip the configuration and call registerSchema and registerMarshallersdirectly on a running remote cache'sSerializationContext`. Is that still necessary, or is that just a relic of how we used to do things?

This is a relic, that's why I created https://issues.jboss.org/browse/ISPN-10830. I was thinking we didn't want to make this PR too big considering how late in the day it is for release.

Integrated, thanks Ryan!
I agree about ISPN-10830, if I knew you already had an issue for it I wouldn't have brought it up.


Cannot authenticate due to bad authentication URL

When I try authenticate a user I get an unexplained error when visiting the authentication URL.
After investigating this I found that when urllib encodes a redirect URL it removes the 'http://' from the beginning e.g. 'http://davecarpie.github.io' becomes 'davecarpie.github.io' rather than 'http%3A%2F%2Fdavecarpie.github.io'.
I tried authenticating manually using the url with the http:// in it and was successful. When registering a new application Spotify also forces you to have the protocol in the URI so I'm fairly sure that is the reason authentication is unsuccessful.
Using the requests library encodes the URI properly so using that instead of urllib could work? I'm happy to make the change and submit a pull request if you want?

Apologies, this was a mistake in my code. Please delete the issue if its how you manage this repo


ui 0.4.0 : add helm release annotations

This adds some annotations to the UI resources the chart deploys.
As far as I can these are needed to use skaffold along with argocd

I can confirm that this appears to be necessary to work well with argo and skaffold. I'm not convinced that this is the solution we will want to stick with long term.
Perhaps a possible alternative would be to tweak our skaffold config to instead talk directly to argo? Or to have skaffold use raw manifests that are extracted from argo?


OAuth in same window

OAuth should work within the same window and not within a popup or new tab. Both of these methods get blocked by Safari by default as well as popup blockers. The helper page provided by Pocketbase during authentication should also not use Pocketbase as the title of the page, and instead use the Application name listed under Settings / Application.

Regarding Safari blocking the popup - this is most likely because your click handler is async. You can find a workaround in https://github.com/pocketbase/pocketbase/discussions/2429#discussioncomment-5943061.
There are no plans to change how the current OAuth2 integration works. If you have suggestions how something should be implemented feel free to outline how you are planning to do it and I may consider it, but if you are just going to complain about it then please just move on.

I already researched different solutions, and I'm already using that solution, but that solution still doesn't work with Safari.


Recommended support non-get method cache

If the Cache.urlToKey can be customized, then the user can customize non-get method cache.

If you need this, you need to cache outside of OkHttp.


Delivery Success but not receiving on device.

I subscribe correctly and the message gets delivered correctly in iOS, but not on android.
Any help?
[Push][Info] 2018/08/24 20:58:44 RequestID=5b807184-OMVeEChySKhLWxZZEg1UCA== Service=promogo Subscriber=lube PushServiceProvider=fcm:ee074643b5ae0c11ee93147348a181e40edaec81 DeliveryPoint=fcm:4c7dbcde37312b03c0fad825a2509642e9150cb7 MsgID=fcm:ee074643b5ae0c11ee93147348a181e40edaec81:0:1535144324485530%fd0791fdf9fd7ecd Success!

Note that on Android, you have to implement a push notification handler to actually render the push notification. (For historic reasons)
Have you implemented that handler? Is it receiving any events?
Does it work if you invoke the GCM push notification with the regid and the API keys for GCM?

If I curl, I receive the notification correctly:
curl -X POST \

-H "Authorization: key=..."
-H "Content-Type: application/json"
-d '{
"registration_ids": [
"eakUnJYJnM0:APA91bG2rSg_kjGqM74drhxgsbcPJIhPDzOqM7-kXcS9UTczd-dzWGr-pIg7hgF_Sw113DVuYOhOPqjH1MUS26NJJQ6oGU3Ig7w8RpFFcBnLXk7-8NZaPulv4gGkNkKJsg0MnsHUhnkw"
],
"data": {
"message": "Manual push notification from Lube"
},
"priority": "high"
}'
https://android.googleapis.com/gcm/send

If i use the regid to subscribe to a service and send a notification, I do not receive it, any idea what could be happening, or how to debug, besides the log file?

If you have designed the Android app in a way that expects "message", you may wish to use uniqush.payload.gcm/uniqush.payload.fcm. See http://uniqush.org/documentation/usage.html

I started reading my adb logcat and that was it, the field needs to be message to work both on android and ios.

Should I make a pull request updating that on the docs? Or was it a problem in my end?

It's a problem on your end, mostly.
"msg" becomes an APNs push notification "msg" and a GCM push notification's field "data": {"msg": ...}. GCM doesn't transform most of the fields.


Move settings into plugins

Depends on:

[ ] https://github.com/ManageIQ/manageiq-providers-amazon/pull/672
[ ] https://github.com/ManageIQ/manageiq-providers-ansible_tower/pull/247
[ ] https://github.com/ManageIQ/manageiq-providers-azure_stack/pull/50
[ ] https://github.com/ManageIQ/manageiq-providers-foreman/pull/81
[ ] https://github.com/ManageIQ/manageiq-providers-google/pull/171
[ ] https://github.com/ManageIQ/manageiq-providers-nsxt/pull/30
[ ] https://github.com/ManageIQ/manageiq-providers-nuage/pull/235
[ ] https://github.com/ManageIQ/manageiq-providers-scvmm/pull/174
[ ] https://github.com/ManageIQ/manageiq-providers-vmware/pull/673

@agrare Please review.

Looks good @Fryguy if you can rebase this I'll merge the whole series

rebased

@miq-bot cross-repo-tests https://github.com/ManageIQ/manageiq/pull/20855 including https://github.com/ManageIQ/manageiq-providers-amazon/pull/672 https://github.com/ManageIQ/manageiq-providers-ansible_tower/pull/247 https://github.com/ManageIQ/manageiq-providers-azure_stack/pull/50 https://github.com/ManageIQ/manageiq-providers-foreman/pull/81 https://github.com/ManageIQ/manageiq-providers-google/pull/171 https://github.com/ManageIQ/manageiq-providers-nsxt/pull/30 https://github.com/ManageIQ/manageiq-providers-nuage/pull/235 https://github.com/ManageIQ/manageiq-providers-scvmm/pull/174 https://github.com/ManageIQ/manageiq-providers-vmware/pull/673

Cross-repo tests are green, merging


[v2.6] Unable to remove cluster

Rancher Server Setup

Rancher version: v2.6.3
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.20.14+k3s1
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:
Admin

Describe the bug

Import a downstream cluster. When the downstream cluster is unreachable, the downstream cluster cannot be deleted
To Reproduce

Launch a single node Rancher on host A
Launch a K3s cluster on host B
Import K3s into Rancher Server
Run the uninstall K3s script k3s-uninstall.sh on host B, and the Rancher UI shows that the downstream cluster is unreachable
Remove the imported K3s cluster on Rancher UI Cluster Management
Result
After removing the cluster from Cluster Management, return to the home page. The cluster still exists

Expected Result

Screenshots

Additional context

This downstream cluster cannot be deleted through the local cluster：

This is also a problem for imported clusters created by terrafrom rancher2_cluster resource.
My process is to create k3s clusters and import them into rancher for management.  If the cluster doesn't have any nodes, it seems like you can't delete it.
In order to remove the entry I had to go into the local cluster and edit the cluster resources to remove the finalizes, which allowed the cluster to delete. Finally delete the cluster namespace.
root@rancher000001:~# kubectl patch Cluster.management.cattle.io c-x85jt -p '{"metadata":{"finalizers":null}}' --type=merge
cluster.management.cattle.io/c-x85jt patched

root@rancher000001:~# kubectl get Cluster.management.cattle.io  c-x85jt
Error from server (NotFound): clusters.management.cattle.io "c-x85jt" not found

root@rancher000001:~# kubectl delete namespace c-x85jt
namespace "c-x85jt" deleted

Still an issue.

Agreed. Since Rancher versions > 2.6.0 I have had issues deleting clusters with the rancher2_cluster Terraform provider, and I still am having issues on 2.6.3-patch2.
Terraform will keep waiting/polling for the resource to be deleted, but the cluster.cattle.management.io resource still has one and only one finalizer left. If I remove the last finalizer and replace with [], the resource is removed and Terraform is informed that the cluster has been fully deleted from Rancher as long as it hasn't timed out yet.
  finalizers:
  - controller.cattle.io/cluster-agent-controller-cleanup
  generateName: c-

We have tried running newer versions of the Rancher2 Terraform Provider (currently on 1.22.2) and still this is an issue.  This is a real pain for our automated DevOps pipelines.  I've read the release notes eagerly for several versions/patches of Rancher and hoped the issues addressing "stuck clusters" (https://github.com/rancher/rancher/issues/35180) deleting would fix the bug that was introduced after 2.6.0, but none of them have.
Any help prioritizing this fix would be greatly appreciated!

This is also a problem for imported clusters created by terrafrom rancher2_cluster resource.
My process is to create k3s clusters and import them into rancher for management. If the cluster doesn't have any nodes, it seems like you can't delete it.
In order to remove the entry I had to go into the local cluster and edit the cluster resources to remove the finalizes, which allowed the cluster to delete. Finally delete the cluster namespace.
root@rancher000001:~# kubectl patch Cluster.management.cattle.io c-x85jt -p '{"metadata":{"finalizers":null}}' --type=merge
cluster.management.cattle.io/c-x85jt patched

root@rancher000001:~# kubectl get Cluster.management.cattle.io  c-x85jt
Error from server (NotFound): clusters.management.cattle.io "c-x85jt" not found

root@rancher000001:~# kubectl delete namespace c-x85jt
namespace "c-x85jt" deleted


不好意思，提交错了

@ATLgo Glad to see a Chinese translation in progress! The usual way to start a translation is forking this repo and just start translating in the fork. That way you can directly manage permissions to that repo however you want, as new potential contributors arise. Once the translation is relatively complete, ping me again and I'll be happy to move the repo into the vuejs organization as a separate repository.
If you have any questions, please don't hesitate to let me know!


Support versions of GHC without QuantifiedConstraints

Addresses #29 by implementing the workaround used by fused-effects that @patrickt suggested.

Looks great! Just to confirm, the new tyvars in FirstOrder don't cause the error messages from coming up, do they?

It looks like the error messages still come through just fine:
runResource
    :: forall r a
     . Member (Lift IO) r
    => (∀ x. Sem r x -> IO x)
       -- ^ Strategy for lowering a 'Sem' action down to 'IO'. This is likely
       -- some combination of 'runM' and other interpreters composed via '.@'.
    -> Sem (Resource ': r) a
    -> Sem r a
runResource finish = interpret undefined

...results in the following error message:
    /Users/jkachmar/src/polysemy/src/Polysemy/Resource.hs:66:23: error:
        • 'Resource' is higher-order, but 'interpret' can help only
          with first-order effects.
          Fix:
            use 'interpretH' instead.
        • In the expression: interpret undefined
          In an equation for ‘runResource’:
              runResource finish = interpret undefined
       |
    66 | runResource finish = interpret undefined
       |


[STYLE] Improve Grammar for Plans

PR Summary:

If 1 set, change "sets" to "set" and remove rest
If 1 rep, change "reps" to "rep"
If rest is 0 seconds, change "a ${rest} second rest" to "no rest"
Proper labelling for meals

Before:

After:

Changes:

if set is 1 and rep is 1, use duration instead (likely a cardio exercise and duration is more important to show)
if is rest, show rest day instead


Show max level tooltip in enchanting table

Yeah, that would be good @brunohpaiva

Split the config into 3 options. Already updated the en_US and pt_BR translations, still need to update the other ones.


arm: core: mpu: Add core support to NXP MPU

This patch add arm core MPU support to NXP MPU driver.
With this feature it is now possible to enable stack guarding on NXP
MPUs.
Signed-off-by: Vincenzo Frascino<EMAIL_ADDRESS>

Tests:
Verified  with mpu_stack_guard_test and synchronization. The config file used is prj_stack_guard.conf
mpu_stack_guard_test:
MPU STACK GUARD Test
Canary Initial Value = 0xf0cacc1a
[general] [DBG] arm_core_mpu_configure: Region info: 0x20000368 0x400
[general] [DBG] _region_init: [4] 0x20000000 0x2000035f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x20000360 0x2000037f 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x20000380 0x2002ffff 0x0061e79e 0x00000001
***** BUS FAULT *****
Executing thread ID (thread): 0x20000368
Faulting instruction address:  0x70000
Stacking error
Fatal fault in thread 0x20000368! Aborting.
***** HARD FAULT *****
Fault escalation (see below)
***** BUS FAULT *****
Executing thread ID (thread): 0x20000368
Faulting instruction address:  0x20000364
Stacking error
Fatal fault in ISR! Spinning...
syncronization:
threadA: Hello World from arm!
[general] [DBG] arm_core_mpu_configure: Region info: 0x200010a0 0x140
[general] [DBG] _region_init: [4] 0x20000000 0x2000109f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x200010a0 0x200010bf 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x200010c0 0x2002ffff 0x0061e79e 0x00000001
[general] [DBG] arm_core_mpu_configure: Region info: 0x200008a0 0x400
[general] [DBG] _region_init: [4] 0x20000000 0x2000089f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x200008a0 0x200008bf 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x200008c0 0x2002ffff 0x0061e79e 0x00000001
[general] [DBG] arm_core_mpu_configure: Region info: 0x200004a0 0x400
[general] [DBG] _region_init: [4] 0x20000000 0x2000049f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x200004a0 0x200004bf 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x200004c0 0x2002ffff 0x0061e79e 0x00000001
threadB: Hello World from arm!
[general] [DBG] arm_core_mpu_configure: Region info: 0x200010a0 0x140
[general] [DBG] _region_init: [4] 0x20000000 0x2000109f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x200010a0 0x200010bf 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x200010c0 0x2002ffff 0x0061e79e 0x00000001
[general] [DBG] arm_core_mpu_configure: Region info: 0x200004a0 0x400
[general] [DBG] _region_init: [4] 0x20000000 0x2000049f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x200004a0 0x200004bf 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x200004c0 0x2002ffff 0x0061e79e 0x00000001
[general] [DBG] arm_core_mpu_configure: Region info: 0x200008a0 0x400
[general] [DBG] _region_init: [4] 0x20000000 0x2000089f 0x0061e79e 0x00000001
[general] [DBG] _region_init: [7] 0x200008a0 0x200008bf 0x0061c71c 0x00000001
[general] [DBG] _region_init: [11] 0x200008c0 0x2002ffff 0x0061e79e 0x00000001

any reason to not update Kconfig & tests for MPU_STACK_GUARD?
MPU_STACK_GUARD is part of the arm_core_mpu interface so at the moment is available if a CPU_HAS_MPU.

Gothca for the Kconfig, in:
samples/mpu_stack_guard_test/testcase.ini
filter = CONFIG_MPU_STACK_GUARD and CONFIG_ARM_MPU
We need to fix that, right?

We need to fix that, right?

Yes, agree! Thanks for pointing this out. It should be:
filter = CONFIG_MPU_STACK_GUARD and (CONFIG_ARM_MPU or CONFIG_NXP_MPU)

The filter should just be:
filter = CONFIG_MPU_STACK_GUARD
We don't need to list the MPUs explicit, we just did that because the NXP code wasn't in place before and the Kconfig wasn't preventing it.

The filter should just be:
filter = CONFIG_MPU_STACK_GUARD

Ok I will change it. Thanks

This patch broke eth_mcux.c driver - it no longer detects PHY events and doesn't bring interface up.

Well, sorry, this was just the most suitable github hit. eth_mcux was broken by adf0bf90b6053e45cad0ef2d46bd42436d638f66 , still by Vincenzo.

@pfalcon a fix is in the works, see #261

@MaureenHelm : Ah, cool, thanks!


Assignment 5 Part 2 not clearly understandable in regards to env setup

Hello,
For the assignment 5 part 2 project, there seems to be a constant failure in regards to the port forwarding through the runqemu.sh script. I have created a VM environment as listed within the Wiki but to no avail. I have also implemented a reinstall of dropbear, messed with permissions in regards to SSH, strictly set port forwarding in Oracle Virtualbox's Network settings.
I have also ran through numerous iptables debugging and still, nothing works. My actual host operating system is Linux Mint OS which is basically Ubuntu. The virtual machine is using Ubuntu 20.04 and I have all the needed libs from the Dockerfile as well as setup correctly the buildroot config and so on. I have also cleaned my tmp files within /tmp/ directory as well before each full-test.sh start.
I keep running into this issue exactly:
qemu-system-aarch64: -netdev user,id=eth0,hostfwd=tcp::10022-:22,hostfwd=tcp::900-:9000: Could not set up host forwarding rule 'tcp::10022-:22'

As well as Connection refused port 10022.
Am I missing something specific?
Thank you for your help.

Solved. Just implemented a work around.


📃: Play your music program

:red_circle: Title : Play your music program
:red_circle: Aim : Get the details of music features from the user and by using any music api get the data according to the users requiments.
:red_circle: Brief Explanation :

Use any musics api for the database
If free api not found, Provide the option for the api addition and proper guide to get their own api key
Create a proper form for the user to the get the required fields.
Show the recommendation either on the basis of category of musics or from actor/actress and many more.
UI should be looks nice and interactive

NOTE: Use of API Key is mandatory. No hard coded database is used.
Screenshots 📷

N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name :
What is your participant role? (Mention the Open Source Program name. Eg. GSSOC, SSOC, JWOC, etc.)

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

Hello @Avdhesh-Varshney . I would like to work on this under Hacktoberfest. Thanks.


Autoload singleton randomly crashing editor.

Godot version:
3.2.1 245ecb6684d089940273564fb7a314e5e11ea72e
OS/device including version:
Win10 64-bit
Issue description:
I isolated a small bit of code in an Autoload will frequently and randomly crash the editor.
tool
extends CanvasLayer

func _ready() -> void:

	if(Engine.editor_hint):

		if(get_tree().edited_scene_root != self):
			queue_free()

		return

	print("Load normally.")

Trace
CrashHandlerException: Program crashed
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[0] RaiseException
[1] _CxxThrowException (d:\agent\_work\5\s\src\vctools\crt\vcruntime\src\eh\throw.cpp:75)
[2] __RTDynamicCast (d:\agent\_work\5\s\src\vctools\crt\vcruntime\src\eh\rtti.cpp:291)
[3] Object::cast_to<Script> (C:\Godot\Version 3.2\Source\core\object.h:610)
[4] Ref<Script>::Ref<Script> (C:\Godot\Version 3.2\Source\core\reference.h:264)
[5] EditorAutoloadSettings::update_autoload (C:\Godot\Version 3.2\Source\editor\editor_autoload_settings.cpp:426)
[6] ProjectSettingsEditor::popup_project_settings (C:\Godot\Version 3.2\Source\editor\project_settings_editor.cpp:811)
[7] EditorNode::_menu_option_confirm (C:\Godot\Version 3.2\Source\editor\editor_node.cpp:2467)
[8] EditorNode::_menu_option (C:\Godot\Version 3.2\Source\editor\editor_node.cpp:863)
[9] MethodBind1<EditorNode,int>::call (C:\Godot\Version 3.2\Source\core\method_bind.gen.inc:867)
[10] Object::call (C:\Godot\Version 3.2\Source\core\object.cpp:921)
[11] Object::emit_signal (C:\Godot\Version 3.2\Source\core\object.cpp:1217)
[12] Object::emit_signal (C:\Godot\Version 3.2\Source\core\object.cpp:1275)
[13] PopupMenu::activate_item (C:\Godot\Version 3.2\Source\scene\gui\popup_menu.cpp:1162)
[14] PopupMenu::_gui_input (C:\Godot\Version 3.2\Source\scene\gui\popup_menu.cpp:343)
[15] MethodBind1<PopupMenu,Ref<InputEvent> const &>::call (C:\Godot\Version 3.2\Source\core\method_bind.gen.inc:867)
[16] Object::call_multilevel (C:\Godot\Version 3.2\Source\core\object.cpp:763)
[17] Object::call_multilevel (C:\Godot\Version 3.2\Source\core\object.cpp:864)
[18] Viewport::_gui_call_input (C:\Godot\Version 3.2\Source\scene\main\viewport.cpp:1669)
[19] Viewport::_gui_input_event (C:\Godot\Version 3.2\Source\scene\main\viewport.cpp:2049)
[20] Viewport::input (C:\Godot\Version 3.2\Source\scene\main\viewport.cpp:2828)
[21] Viewport::_vp_input (C:\Godot\Version 3.2\Source\scene\main\viewport.cpp:1446)
[22] MethodBind1<Viewport,Ref<InputEvent> const &>::call (C:\Godot\Version 3.2\Source\core\method_bind.gen.inc:867)
[23] Object::call (C:\Godot\Version 3.2\Source\core\object.cpp:921)
[24] Object::call (C:\Godot\Version 3.2\Source\core\object.cpp:847)
[25] SceneTree::call_group_flags (C:\Godot\Version 3.2\Source\scene\main\scene_tree.cpp:275)
[26] SceneTree::input_event (C:\Godot\Version 3.2\Source\scene\main\scene_tree.cpp:431)
[27] InputDefault::_parse_input_event_impl (C:\Godot\Version 3.2\Source\main\input_default.cpp:442)
[28] InputDefault::parse_input_event (C:\Godot\Version 3.2\Source\main\input_default.cpp:260)
[29] InputDefault::flush_accumulated_events (C:\Godot\Version 3.2\Source\main\input_default.cpp:679)
[30] OS_Windows::process_events (C:\Godot\Version 3.2\Source\platform\windows\os_windows.cpp:2464)
[31] OS_Windows::run (C:\Godot\Version 3.2\Source\platform\windows\os_windows.cpp:3159)
[32] widechar_main (C:\Godot\Version 3.2\Source\platform\windows\godot_windows.cpp:162)
[33] _main (C:\Godot\Version 3.2\Source\platform\windows\godot_windows.cpp:184)
[34] main (C:\Godot\Version 3.2\Source\platform\windows\godot_windows.cpp:196)
[35] __scrt_common_main_seh (d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[36] BaseThreadInitThunk
-- END OF BACKTRACE --

@vnen Wondering if you feel this is something that is a thing not to do, or is something that's supposed to be supported?
Steps to reproduce:
Use the project below.  I'm unsure how exactly it is triggered, but open and close the project repeatedly, or move around and do things, save things, start and stop the app, etc.  It occurs periodically.
Reproduced most often when I opened the Project Settings.  Though it crashes sometimes when the project is opened.
Minimal reproduction project:
Autoload Crash.zip

I seem to remember queue_freeing stuff in editor mode is a BAD thing to do.

@Zireael07 In all cases?  I'm wondering how to make a tool that could clean up nodes safely.

I think it might be possible to make it clean up safely by storing your own nodes in a list or putting them in a group, and checking for list/group before calling queue_free (to ensure you're only deleting what you created).

Freeing autoloads is not good. The autoload is still referenced in the globals map, so when it's accessed later for any reason it will crash because it's accessing an invalid pointer.

@vnen Thanks, that helps to understand.  Should I close this, or do you think cleaning up references for tool code or adding an error is something to implement?

Freeing autoloads is not good. The autoload is still referenced in the globals map, so when it's accessed later for any reason it will crash because it's accessing an invalid pointer.

Maybe we mention this in some part of docs.


CC2538 as router.

Does anybody use CC2538 as router? I'm using https://github.com/jethome-ru/zigbee-firmware/tree/master/router/cc2538_cc2592 firmware, it seems to work ok, but I can't get routing table. When I sniff traffic I see:
ZigBee Device Profile, Routing Table Response, Status: Not Supported
    Sequence Number: 65
    Status: Not Supported (132)
    Table Size: 0
    Index: 0
    Table Count: 0

Is there a way to get routing table? Will be CC2538 with router firmware added to zigbee2mqtt?

I would like to use an second cc2538 as router too. I tested 2530 and 2531 (coordinator and router) but the CC2538 is much much better, so a router with this hardware would be great.
@Koenkk  can you say please, is there in near future a routing firmware in planing for this zigbee modul?
Best regards

@Xsev1 I don't maintain the CC2538 firmware.
@kirovilya I've seen another cc2538 repo firmware popup (forgot how it was named). Would it be better to point to that and remove the CC2538 firmwares from this repo.

@Koenkk its our repo. (https://github.com/jethome-ru/zigbee-firmware)
We are maintain alternative corrdinator f/w for 2538. Also we made router f/w for 2538.
l think that we will make f/w for 2562 later.


Fix all python requirements to specific versions

Ensures that we'll stop running into issues like https://github.com/NVIDIA/DIGITS/pull/415, https://github.com/NVIDIA/DIGITS/pull/648, https://github.com/NVIDIA/DIGITS/pull/824

If I had it my way, I'd deck these requirements files out with useful comments like so:
### These python packages are required to run DIGITS

# These requirements can be met with standard packages from either Ubuntu 14.04 or 16.04
Pillow>=2.3.0,<=3.1.2
numpy>=1.8.1,<=1.11.0
scipy>=0.13.3,<=0.17.0
protobuf>=2.5.0,<=2.6.1
six>=1.5.2,<=1.10.0
requests>=2.2.1,<=2.9.1
gevent>=1.0,<=1.1.0
Flask==0.10.1
setuptools>=3.3,<=20.7.0
h5py>=2.2.1,<=2.6.0
pydot==1.0.28

# These requirements can only be met with 14.04 packages
# TODO: support 16.04 packages
gunicorn==17.5

# These requirements cannot be met with 14.04 packages
Flask-WTF==0.11,<=0.12
wtforms>=2.0,<=2.1
Flask-SocketIO==0.6.0
lmdb==0.87

### These python packages are required to run the DIGITS test suite

# These requirements can be met with standard packages from either Ubuntu 14.04 or 16.04
nose>=1.3.1,<=1.3.7
mock>=1.0.1,<=1.3.0
coverage==3.7.1
selenium>=2.25.0,<=2.48.0

# These requirements cannot be met with 14.04 packages
beautifulsoup4==4.4.1
coveralls==1.1

The comments are nice, but may break workflows like this:
for req_file
do
    for req in $(cat $req_file)
    do
        python `which pip` install $req
    done
done

I know, I know, the above should never be necessary. But pip is pretty worthless sometimes. So it's easiest just to leave the comments out.

Out of curiosity, how did you figure out the appropriate ranges?

Out of curiosity, how did you figure out the appropriate ranges?

When possible, I accept standard package versions for Ubuntu 14.04 and also for Ubuntu 16.04 (see comments in my second post).


Editor Panel Check Error Button

References User Story #21
Check Error Button does not yet work.
Must display Errors in error pane
Errors may include incest warnings if the checkbox is checked

Completed Task
I ignored worrying about sizing because we talked about fixing the sizing issues of the whole GUI which could would affect this
{t:40}

Quick Fix: Testing Errors
{t:10}


Balance Equivalent in Fiat - Feature - Improve  and fix issues

Issues to fix

[x]  [10538:1227/200919.127767:FATAL:partition_alloc.cc(934)] Check failed: page->num_allocated_slots != -1.
[x] Test in in Linux/Debian 9
[x] Test in Windows (7)
[x] Test in MacOS

[x] Refresh together with balance

Improvments

[x] Clean Code

About issue 1:
window is getting all white with error:
[10538:1227/200919.127767:FATAL:partition_alloc.cc(934)] Check failed: page->num_allocated_slots != -1.
#0 0x0000036228e7
#1 0x00000363862b
#2 0x0000035e4595
#3 0x0000034f29fd
#4 0x7f561cd8dc23
#5 0x7f561d0fe3c2
#6 0x7f561d109d61
#7 0x0000036210b3
#8 0x000003628393
#9 0x7f561c453494 start_thread
#10 0x7f56159daaff clone

@LukasBures Please test macOS.
@all Please take a look and let me know if anything should be fixed/cleared.
Then I will do the last commits and the PR could be merged.

It works great!
Just one small thing, when I save setting (and I change Fiat currency) then I have to wait until next update is called (that can be the 5minutes maximum). And in that time, I have "NaN" value in Fiat balance.

It would be preferable to call update Fiat function when user click "Save" button - but only if the selected Fiat currency was changed.

Can you paste here any log output ?
When user selects fiat, then the update function is called.
If you have another OS available could you test also there ?

I don't have any other OS.
In log there is nothing.

The "NaN" problem is now fixed.

@gsfakianakis please:

Instead of const axios = require("axios"); use const request = require("request"); if that is possible for get and post requests. You can inspire yourself in main.js in function: ipcMain.on("send", function (event, fromAddress, toAddress, fee, amount)
clear the code

Code cleaned.
request package give the same error (issue 1 above), axios will be used until we further take a look into this.


Lokalise: update PL and EN-UK translation

This pull request was initiated by Lokalise (user Agnieszka Galeza) at 2020-10-11 19:20:44

Missed seeing this Sunday, but I think these were all included w #1654 so all should be good. Closing.


$botman->hears: Listen for facebook payload

Hi,
maybe it's already possible, nevertheless it would be great if $botman->hears can listen for facebook payloads (e. g. used "Get started" button Docs)
Thank you!

If you use a question with buttons, the $answer->getValue(); method will give you the payload.

Thanks for the answer.
If I have understood correctly, I have to create a Question object first to get access to the facebook message payload. But there cases where you can receive a facebook payload without creating a question (E. g. mentioned "Get started" button).

Ahh okay - now I understood what you mean!
I just added support for this on dev-master 👍


feat: onChangeComplete event

Hi! This is a very good library and it is a breeze to integrate it.
I've wanted to enhance it by adding a new optional event called onChangeComplete that its goal to be fired right after the user stops interacting with any element, which is useful for the ones that needs to perform a side-effect action when that happens.
Use case example: You want to save the user's chosen color either remotely thru an API or locally in the storage. By hooking up this action on onChange, you will have a lot of actions happening as the user might be exploring the color picker up until the point it stops the interaction.
Description of Change
A new prop is added to Interactive component and therefore propagated into Alpha, Saturation and Hue ones. I've also added the change into Fields by leveraging the onBlur input event.
In Interactive component I've chosen to modify the original move event by adding a boolean at the end by I'm not completely sure that is the best option to achieve the goal. Happy to apply any modifications you may see necessary.
Finally, added the README.md changes: one new example using the new event and add a new entry to the prop table.

thank you @Wondermarin!!

Released in v7.2.0!


Render issues

Excuse me, why when I use this code to render volume data, rendering results are all dark? Can you give me some advice？

Data Range and Scaling: Check the range of your volume data values. If they are not appropriately scaled or normalized, it could result in dark rendering. Make sure the data values span a reasonable range (e.g., 0 to 255) and apply appropriate scaling if needed.

Transfer Function: The transfer function maps data values to color and opacity for rendering. Make sure your transfer function is set up correctly. You might need to adjust the opacity and color mappings to enhance visibility.

Lighting: Lighting plays a crucial role in how your volume data appears. If the lighting is too dim or not set up properly, the rendering could appear dark. Ensure that your lighting settings are appropriate for your volume data.

Sampling and Resolution: The quality of your volume rendering can be influenced by the sampling rate and resolution settings. If these settings are too low, the resulting image might appear dark or low-quality. Increase the sampling rate and resolution if necessary.

Shading Model: Depending on the shading model you're using, different parts of the volume might be highlighted differently. Make sure you understand the shading model you're using and adjust it if needed.

Background Color: The background color of your rendering environment can impact how the volume data is perceived. If the background color is too dark, it might make the volume rendering appear even darker.

Rendering Parameters: Review the parameters of the rendering process. Some parameters might control brightness, contrast, or gamma correction. Adjust these parameters to improve visibility.

Data Anomalies: Examine your volume data for anomalies. Dark rendering could be a result of the data itself having areas of low intensity. Consider visualizing the data with different software to identify any unusual patterns.

Visualization Software: If you're using third-party visualization software, ensure that you're using the software correctly and that you're providing the necessary parameters and settings.

Debugging Tools: Many visualization tools offer debugging and diagnostic tools to help you understand why the rendering appears the way it does. Use these tools to inspect intermediate results and diagnose the issue.

11.Examples and Tutorials: Look for tutorials, documentation, or examples related to volume data rendering using the specific tools or libraries you are using. They might provide insights into common issues and solutions.

Consultation: If you're still facing issues, consider reaching out to forums, communities, or experts familiar with the visualization tool or library you're using. They might be able to provide specific advice based on your setup.


E2E integration tests are flaky

From time to time, some of the integration tests fail for strange reasons. It may be due to how a port is being selected for the running influxdb3 serve binary that is spun up in the test harness.
There is a function used to select a random available port: https://github.com/influxdata/influxdb/blob/7d37bbbce7ecd4f6c95445de2b22ee189dd93b85/influxdb3/tests/server/main.rs#L305-L319
However, since the bind address is dropped before it is passed in to spawn the server (it needs to be, otherwise the server would not be able to bind that address and would fail to start), then there is a chance that another process or integration test could take over that port before the binary is started here: https://github.com/influxdata/influxdb/blob/7d37bbbce7ecd4f6c95445de2b22ee189dd93b85/influxdb3/tests/server/main.rs#L136
Here are some examples of failures that seem rather odd:

https://app.circleci.com/pipelines/github/influxdata/influxdb/41549/workflows/0ec53a3d-8dab-44d4-923a-d40d9cbe2dc7/jobs/388404?invite=true#step-103-88325_47
https://app.circleci.com/pipelines/github/influxdata/influxdb/41547/workflows/4ee91a57-f417-4ae6-a7fd-74ef3a243311/jobs/388391?invite=true#step-103-88037_16

One option would be to forego running the actual binary by spawning the influxdb3 serve command, and just call the code to run the service directly, as is done in this function: https://github.com/influxdata/influxdb/blob/7d37bbbce7ecd4f6c95445de2b22ee189dd93b85/influxdb3/src/commands/serve.rs#L320
This would require some refactoring to make sure that the test harness is starting things exactly as is done for the actual running binary, but would allow us to pass in a bound TcpListener/SocketAddr directly, and not have the issue described above.
One problem I see with this is that, with the way we generate IDs for, e.g., databases and tables, using static atomics, if we were to have multiple test harnesses running in a single test, then they could be clashing for IDs.

Another option, although I think this is a bit convoluted, would be to have an option in the influxdb3 serve command to write its port to a file, or notify some other service of the port it is listening on, and that gather that info from the test harness code after it has spawned the command.

I think I like the log option

There might be one more option to use unix sockets (AF_UNIX), looks like there's a crate that provides the hyper bridge. It'll work for linux/mac and we can fall back to (AF_INET) sockets for windows perhaps? Given it's mainly for e2e tests, we can create the directory and socket file inside it before the test starts (inside tmp).


Edit content to show the languages that are supported

The copy in the first paragraph should be updated to display the list of kernels that we support.
Also, not to self that I really want to create a curated and more well-managed list of kernels that are available for use but make it a more finely curated list than the other ones that exist.

We could provide a curated JSON file from the kernels listed at https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages, then render based on that.

Closing issues. We now work from https://github.com/nteract/nteract.io


Expose generic update parameters on existing custom updates

This PR exposes the existing generic update arguments (add, set, remove) on most of the existing custom update commands. This preserves the usability of the custom command while giving the power and flexibility of the generic update. There are some specify "update" commands that are not wrapped in this PR because I'd like to confer with @yugangw-msft on these commands:

ad app update
resource policy update
vm nic update

:shipit:


[Autocomplete][LiveComponent] Build / sync dist files

Build the two dist files not in sync with the code (causing CI fails)
I'd feel safer if you people could take a look
(tests are green)

Poke @weaverryan @WebMamba

Closing as the CI is green now :)
https://github.com/symfony/ux/actions/runs/7388149762


I no longer am seeing my User Library List objects

I was able to see it this morning even after the updates that occurred, but then after having to exit a few times to get the extensions updated I started seeing the  next to my libraries underneath the User Library.

Here's my output log:
`        select os.OBJNAME as ODOBNM
, coalesce(os.OBJTEXT, '') as ODOBTX
, os.OBJATTRIBUTE as ODOBAT
from table( SYSTOOLS.SPLIT( INPUT_LIST => 'WDWBMSSM1,#LIBRARY,DTA350,DTAWISE,DTALPAR,SHR460,DTAMST,PGMLPAR,PGM460,QGPL,TAATOOL,QTEMP,CRYPTO,CRYPTOKS,ASCCOM1,GECCLIB,QMQM,LOG4ILE,RXS,PROFOUNDUI,WINCUSPRP,COOLSPV7R1,COPYLIB', DELIMITER => ',' ) ) libs
, table( QSYS2.OBJECT_STATISTICS( OBJECT_SCHEMA => 'QSYS', OBJTYPELIST => '*LIB', OBJECT_NAME => libs.ELEMENT ) ) os
{
"code": 0,
"signal": null,
"stdout": "DB2>",
"stderr": ""
}`

Context
Version

Code for IBM i version
2.4.0

Visual Studio Code version
1.83.1

Operating System
win32_x64

Active extensions
ARCAD-CodeChecker (arcad-codechecker): 1.0.1
ARCAD-Elias (arcad-elias): 1.6.0
COBOL (cobol): 9.10.16
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.4.0
Db2 for IBM i (vscode-db2i): 0.5.0
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.15.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Pull Requests and Issues (vscode-pull-request-github): 0.74.1
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL: Recommender (remote-wsl-recommender): 0.0.19

Remote system

Setting
Value

IBM i OS
n/a

Tech Refresh
n/a

CCSID
65535

SQL
Enabled

Source dates
Disabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin
/QSYS.lib/ILEDITOR.lib
/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin

bash
attr
GENCMDXML.PGM
QZDFMDB2.PGM
startDebugService.sh

git
iconv
GETNEWLIBL.PGM

ls
setccsid

md5sum

sort

stat

tar

Shell env

Variants
{
  "american": "#@$",
  "local": "#@$"
}

Errors
[
  {
    "command": "system \"CRTLIB LIB(ILEDITOR) TEXT('Code for i temporary objects. May be cleared.')\"",
    "code": 255,
    "stderr": "CPF2111: Library ILEDITOR already exists.",
    "cwd": "/home/######"
  },
  {
    "command": "system \"DLTOBJ OBJ(ILEDITOR/O_*) OBJTYPE(*FILE)\"",
    "code": 255,
    "stderr": "CPF2125: No objects deleted.",
    "cwd": "/home/######"
  },
  {
    "command": "export BUILDLIB=\"WDWBMSSM1\" && export CURLIB=\"WDWBMSSM1\" && export USERNAME=\"blanks\" && export HOST=\"windev1\" && export HOME=\"/home/blanks\" && export LIBLS=\"COPYLIB COOLSPV7R1 WINCUSPRP PROFOUNDUI RXS LOG4ILE QMQM GECCLIB ASCCOM1 CRYPTOKS CRYPTO QTEMP TAATOOL QGPL PGM460 PGMLPAR DTAMST SHR460 DTALPAR DTAWISE DTA350 #LIBRARY\" && env",
    "code": 1,
    "stderr": "bsh: BUILDLIB=WDWBMSSM1: is not an identifier",
    "cwd": "/home/######"
  }
]

I figured out the problem.  I had to uninstall DB2 For I after reading the log.  Anyone that installs the updates before the extensions, you may run into the same problems.  I didn't save the log, I was to excited that I got it to work.


wip: fix(build): switched grpc cmake module to use pkgconfig to correctly fill up GRPC_LIBRARIES variable with all deps

Signed-off-by: Federico Di Pierro<EMAIL_ADDRESS>What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
It allows to build falco linking system grpc.
Note, however, that a PR is needed on falco too: https://github.com/falcosecurity/falco/pull/1802
Which issue(s) this PR fixes:
Fixes #99
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

Hi @FedeDP. Thanks for your PR.
I'm waiting for a falcosecurity member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: FedeDP
To complete the pull request process, please assign leodido after the PR has been reviewed.
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Looking at https://app.circleci.com/pipelines/github/falcosecurity/falco/1860/workflows/d1cb2a87-48d7-4c14-b02f-33576e82632d/jobs/16542, it seems like our CI does not have pkg-config; i think we should not rely on having it; i am going to try to use
find_package(gRPC REQUIRED)
and see if i can manage to make it work!

Question: does it worth upgrading gRPC to the newest version directly in this PR?

I think we might do that, because we will need to bump libs version in falco in any case.

@FedeDP: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

build-libs
e80943f8e72c2bf05726008a1bd0c78e5acf5b00
link
true
/test build-libs

Full PR test history. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@FedeDP: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

build-libs
e80943f8e72c2bf05726008a1bd0c78e5acf5b00
link
true
/test build-libs

build-libs-with-chisels
e80943f8e72c2bf05726008a1bd0c78e5acf5b00
link
true
/test build-libs-with-chisels

Full PR test history. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@FedeDP: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

build-libs
e80943f8e72c2bf05726008a1bd0c78e5acf5b00
link
true
/test build-libs

build-libs-with-chisels
e80943f8e72c2bf05726008a1bd0c78e5acf5b00
link
true
/test build-libs-with-chisels

build-libs-bundled-deps
e80943f8e72c2bf05726008a1bd0c78e5acf5b00
link
true
/test build-libs-bundled-deps

Full PR test history. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Closing the PR: wrong solution proposed.


Create response class

File / Line : HttpResponse.cpp / 167
Error: Non compitable assigment as erase returns void / Null
Fix:
Change:
		hd = req.header.erase(hd);

to
		req.header.erase(hd++);

Issue fixed, tested and passed on mac. thanks.


Do not reuse WebsocketServerSpec.Builder between requests for #2159

A possible Fix for https://github.com/spring-cloud/spring-cloud-gateway/issues/2159

Could someone please comment if this pull request is acceptable as is or if I need to add or change something? The linked error currently prevents us from updating Spring Cloud Gateway to version 3.

Cherry picked to 2.2.x and merged forward to master.


ORM

Any news on ORM?

I'm not maintaining this bundle anymore, I'm working on a library to make the same this bundle does but it won't be published until the end of the year.
This new one will work with ORM


[sfml] build failure

Operating system
Debian 6.5.3-1kali2 (2023-10-03) x86_64 GNU/Linux
Compiler
GCC
Steps to reproduce the behavior
./vcpkg install sfml glm glew tclap --triplet=x64-linux

Failure logs
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/sfml/portfile.cmake:28 (vcpkg_cmake_install)
scripts/ports.cmake:168 (include)
error: building sfml:x64-linux failed with: BUILD_FAILED
Elapsed time to handle sfml:x64-linux: 7.1 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sfml
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[sfml]+Build+error&body=Copy+issue+body+from+%2Fhome%2Fkali%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Additional context
No response

Please see https://github.com/microsoft/vcpkg/issues/30604 for how to report an issue.


Update cordova plugins and node-gcm.

I didn't update node apn package as the latest one didn't work for me. Tested on iOS 10 and Android 6.

Thanks @cunneen looks good - please direct the pr against devel

No problem, I'll scrub this one and re-issue.


Change in some text color for better readability.

The previously used dark grey reduces readability of some text. So changed it to a better color.

Thanks!  We're not going to change the colors for now (see #802, #1200, etc, etc).


FOREGROUND Color not working on custom segments

Using next, I can't get the POWERLEVEL9K_CUSTOM_FOREGROUND Variable to work:
POWERLEVEL9K_CUSTOM_PYVER='~/.dotfiles/bin/pyver'
POWERLEVEL9K_CUSTOM_PYVER_BACKGROUND='107'
POWERLEVEL0K_CUSTOM_PYVER_FOREGROUND='white'

Output looks like this:

Just to confirm, the code generating the 2.7.4 is not an aliased command adding color codes or something:
#!/usr/bin/env zsh
if [ -v 'VIRTUAL_ENV' ]; then
 echo "$(python -c 'import sys; version=sys.version_info[:3]; print("{0}.{1}.{2}".format(*version))')"
fi

You have a typo in your variable name: POWERLEVEL0K_CUSTOM_PYVER_FOREGROUND. There should be a 9. ;)

Ah I missed that one, thanks @dritter !


Error upgrading to 3.x.x: A Frame must be used to navigate to a Page

I upgraded the example to  3.x.x but it doesnt work.
the following error appears
"A Frame must be used to navigate to a Page"
this is my environment:
{
  "nativescript": {
    "id": "org.nativescript.locationtest",
    "tns-android": {
      "version": "3.1.1"
    },
    "tns-ios": {
      "version": "3.1.0"
    }
  },
  "dependencies": {
    "nativescript-geolocation": "^3.0.0",
    "nativescript-googlemaps": "^3.0.1",
    "tns-core-modules": "^3.1.0"
  },
  "devDependencies": {
    "babel-traverse": "6.8.0",
    "babel-types": "6.8.1",
    "babylon": "6.8.0",
    "filewalker": "0.1.2",
    "lazy": "1.0.11"
  }
}

I think this is something related to webpack. https://github.com/NativeScript/nativescript-dev-webpack/issues/327


Custom keystore filename when onboarding certificate.

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Environment details (remove if not applicable):

Kubernetes version:
Cloud-provider/provisioner:
cert-manager version:
Install method: e.g. helm/static manifests

/kind feature

@mayra1228 there is no explanation at all on this issue, can you please add some details?
I don't understand the request from the title alone. Perhaps some example YAML of what you are trying to achieve.

/priority awaiting-more-evidence


Move toolbar icon after select tool

Since this tool behaves similar to the Select tool, I propose moving its icon next to the Select tool icon:

Hello, Florian.
Thank you for PR. It feels reasonable to me.


Fixed pathfinding at world limits.

Fixed pathfinding below Y level 0.

Fish and villagers are borked below 0 still, I am sure there are more but I haven't checked

Closing due to dropping 1.15/16, and 1.17 vanilla is expected to deal with this


Incorrect dump

Linqpad dump generated by the code is incorrect. I am submitting both the Linqpad dump and the CPU-Z summary.
Leafs 80000002-80000004 do not show in the cpuid_visualiser
DESKTOP-H4R45J5.txt
CPUID_DUMP.zip

On the same laptop the Linux CPUID  command cpuid -ir1 derives the correct results.
cpuid-ir1_result.txt
Apparently the issue lies in the cpuid_dump.linq


[DOC] update doc for 24.10 release [skip CI]

This PR updates download docs for 24.10.0 release.
Signed-off-by: liyuan<EMAIL_ADDRESS>

build

build

build

build


Spell out ITerms/BTerms and improve visual clues

Description
What is an ITerm and BTerm, can this be spelled out in the GUI?
ChatGPT says Internal Terminator and Boundary Terminator.
Why a net only has Internal termainls and not boundary terminals is a bit mystical to me.... Pick one?
In this net there is no clear indication of what is input to(driving) the net and what are outputs(reading).
I happen to know that the last ITerm here is what is driving the net. If this is always true for the net can a visual clue be added to that effect?

Suggested Solution
Some small changes will make it easier to learn what is happening in the GUI here.
Additional Context
No response

bterms are top level terminals where the signal leaves or enters the block.   iterms are terminals on instances.  I didn't invent these but I would guess bterm = BlockTERMinal and iterm = InstanceTERMinal.  There are many synonyms for these two but the ideas are core to netlist representation.  The terminology does match odb.
The particular net you selected is internal to the block and has no bterms.
We could do something to indicate a driver though there are a few corner cases that need resolving

a net can have more than one driver (in parallel or as tristate)
a net can be driven by a bterm
bidirection pins (inout) can act either as a driver or a receiver


VK_EXT_mesh_shader support

Description
It would be great to have support for the new mesh shading extension VK_EXT_mesh_shader.
https://www.khronos.org/news/permalink/khronos-releases-vulkan-mesh-shader-pipeline-extension
https://www.khronos.org/blog/mesh-shading-for-vulkan
Hardware and drivers with support from multiple IHVs are out.
There's at least one public example: https://github.com/nvpro-samples/gl_vk_meshlet_cadscene
Besides supporting the new API calls I guess the Pipeline State Viewer would need some work to display the alternative flow and corresponding shader types (task and mesh). But it would be very similar to Compute. Mesh Viewer would likely need some work too.
Environment

RenderDoc version: 1.22
Operating System: Win10 Pro x64 21H2 build 19044.2006
Graphics API: VK

Of course it would be great if the changes would work for DX12 too
https://microsoft.github.io/DirectX-Specs/d3d/MeshShader.html
https://learn.microsoft.com/en-us/samples/microsoft/directx-graphics-samples/d3d12-mesh-shader-samples-win32/

Is this feature planned? I'm happy to help if there's anything to do, but I'm not familiar with the RenderDoc codebase

It depends what you mean by planned. The issue is open so this is something I would like to support, but I'm not working on it now or starting work on it next.

Hi, any updates regarding VK_EXT_mesh_shader?

If there are any updates then they will be posted on this issue, since this issue is about the feature request for VK_EXT_mesh_shader support.

@baldurk If you ever start working on mesh shaders and you are in need of content to test, feel free to reach out. There is not much Vulkan + mesh shaders content out there and that's the reason for offering something additional.

I have very basic, working D3D12 support for mesh shaders here (among a bunch of other changes):
https://github.com/baldurk/renderdoc/compare/v1.x...tomjohnstone:renderdoc:chook?expand=1#files_bucket
Note: this does not include any UI changes that would be required for a complete feature.

@baldurk If you ever start working on mesh shaders and you are in need of content to test, feel free to reach out. There is not much Vulkan + mesh shaders content out there and that's the reason for offering something additional.

Nanite uses mesh shaders to capitalize on post transform cache when transforming verts

Mesh shader support has been merged into latest v1.x. There are likely still some bugs to fix but they should be reported separately. The limitations at the moment are no support for multiview and no equivalent way of visualising mesh inputs at all.


Question: What's the type of width/height/depth?

In clesperantoj, we're currently handling image width/height/depth as int. In CLIJ / ClearCL those are of type long. I'm wondering what we use here. According to code it's size_t, which appears to be an unsigned integer. I'm wondering if we could handle a 1D image of 6 GB like this. This was tricky with CLIJ and that's why I'm raising this question here.

Currently in CLIc, shape dimensions are hold in a size_t. This type is redefine as the biggest unsigned integer possible on your system, which in most cases now should be equivalent of uint64.
I do not know what was the limitation in CLIJ, but on my side, if it fit the memory I can do it.
Also, for clarity, I am replacing most in-code native type name (int, char, short, float) by a more type size explicit name in
         char  int8_t
         short int16_t
         int   int32_t
unsigned char  uint8_t
unsigned short uint16_t
unsigned int   uint32_t

This is more correct for image manipulation and calculation, as well as make it easier to read and understand than a unsigned long long

CLIJ was limited to Java type unsigned long (uint64). Does anything speak against that? The system cannot address usigned long long anyway... If that's ok, I would go for it in clesperantoJ.


[ISSUE #43] Change the version on which the module depends

xpocket-framework-spi depends  xpocket-jline 2.1.0-RELEASE change to 2.1.1-RELEASE

该变更在已合并PR中已存在，正常关闭


dot_product = s_loss_old - s_loss_new but s_loss_new - s_loss_old?

Hello, thanking for your amazing work. I have read your paper and code, then I have some questions about the dot_product in code. I think the dot_prodoct should be s_loss_old - s_loss_new but s_loss_new - s_loss_old for the reason here.

Am I wrong?

I agree

You should also probably change the title to include [MPL] at the beginning


[WIP] Eliminate reuse of context archetypes in nested generics

Prior to this change, nested generics always reused the archetypes of
either enclosing contexts. For example, given:
  struct X<T> {
    func f<U>(_: U) { }
  }

The generic environment for X.f(_:) would use the same archetype for T
as the generic environment X. This reuse allowed some sloppiness
within the implementation---one did not necessarily have to remember
to substitute entities that came from an immediate outer context---but
caused an annoying limitation that nested generics could not add any
constraints to an archetype that came from an outer scope. Worse, the
compiler would not always diagnose this as an error, leading to
constraints being silently dropped, as in the example from the
referenced radar (see the change to
test/Generics/associated_types.swift).
Now, build a fresh generic environment for each context that
introduces new generic parameters, with archetypes that are completely
separate from the archetypes of enclosing contexts.
Resolves rdar://problem/29207581.

@swift-ci please smoke test

If generic types inside generic functions are giving you trouble, take a look at this hack I was working on: https://github.com/slavapestov/swift/commit/7cc391de9f59fd0c8f3d53fa264d887b2b569c9d

Comments appreciated! Obviously I have to fix the regressions and so a little cleanup, but I'm glad to see a successful smoke test.

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge


closed section with error

If a section is closed, and there is an error in that section, then show the section title in red (same color as errors are elsewhere).

the +- open/close toggle should also turn red.


FLPATH-249: OCP onboarding workflow demo +ing jira tickets and email notifications

Closing this PR as replaced by mvp-demo


Move delta hash test function to dev-context-utils

Problem
Test helper function can be moved to dev-context-utils
Summary of Changes
Fixes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.8%. Comparing base (e027a8b) to head (c4e5c06).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #151     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%
=========================================
  Files         838      838
  Lines      226389   226389
=========================================
- Hits       185342   185315     -27
- Misses      41047    41074     +27


WIP: Chromium bump

Motivation for this change
Chromium doesn't seem to build without https://github.com/NixOS/nixpkgs/commit/b746b4e1efc2c6662667a9e68265c42cf10a81a9
I could use some help figuring out how to properly test this.
Things done

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] 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/)
[X] Fits CONTRIBUTING.md.

Looks like this still fails to build, now with:
[505/26989] ACTION //chrome/browser/resources/md_downloads:vulcanize(//build/toolchain/linux:x64)
FAILED: gen/chrome/browser/resources/md_downloads/vulcanized.unbuilt.html gen/chrome/browser/resources/md_downloads/crisper.js
python ../../chrome/browser/resources/vulcanize_gn.py --host downloads --html_in_file downloads.html --html_out_file vulcanized.unbuilt.html --js_out_file crisper.js --input ../../chrome/browser/resources/md_downloads --out_folder gen/chrome/browser/resources/md_downloads --depfile gen/chrome/browser/resources/md_downloads/vulcanized.unbuilt.html.d --insert_in_head \<base\ href=chrome://downloads\>
../../third_party/node/linux/node-linux-x64/bin/node ../../third_party/node/node_modules/vulcanize/bin/vulcanize --exclude chrome://resources/html/polymer.html --exclude web-animations-next-lite.min.js --exclude load_time_data.js --exclude strings.js --exclude text_defaults.css --exclude text_defaults_md.css --inline-css --inline-scripts --strip-comments --redirect "chrome://resources/cr_elements/|../../ui/webui/resources/cr_elements" --redirect "chrome://resources/css/|../../ui/webui/resources/css" --redirect "chrome://resources/html/|../../ui/webui/resources/html" --redirect "chrome://resources/js/|../../ui/webui/resources/js" --redirect "chrome://resources/polymer/v1_0/|../../third_party/polymer/v1_0/components-chromium" --out-request-list /tmp/nix-build-chromium-59.0.3071.71.drv-0/chromium-59.0.3071.71/out/Release/gen/chrome/browser/resources/md_downloads/vulcanized.unbuilt.html_requestlist.txt --redirect "/|/tmp/nix-build-chromium-59.0.3071.71.drv-0/chromium-59.0.3071.71/chrome/browser/resources/md_downloads" --redirect "chrome://downloads/|/tmp/nix-build-chromium-59.0.3071.71.drv-0/chromium-59.0.3071.71/chrome/browser/resources/md_downloads" /downloads.html failed: /bin/sh: ../../third_party/node/linux/node-linux-x64/bin/node: No such file or directory

Traceback (most recent call last):
  File "../../chrome/browser/resources/vulcanize_gn.py", line 207, in <module>
    main(sys.argv[1:])
  File "../../chrome/browser/resources/vulcanize_gn.py", line 202, in main
    _vulcanize(args.input, args)
  File "../../chrome/browser/resources/vulcanize_gn.py", line 150, in _vulcanize
    args.html_in_file)])
  File "../../third_party/node/node.py", line 28, in RunNode
    raise
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
ninja: build stopped: subcommand failed.

See also https://github.com/NixOS/nixpkgs/pull/25940, which claims to fix the build.

@joachifm Ah, ok, cool; that definitely looks like it fixes the new error I was getting.  Perhaps I picked the wrong version as the cutoff for the utils.h stuff, or perhaps it's unnecessary for some other reason.  I'll look into this more if this issue is run into again.


feat: add samples for release 3.1.0

Add isOpen samples for Kotlin and Java
Refactor display text in Place Details and Photo sample
Use different default Place IDs to better demonstrate new Place data fields
Remove unsupported data fields from Current Place demo
Replace deprecated setCountry with setCountries

Fixes #522

Thank you for the suggestions @kikoso!


Upstream changes

Overview
This PR fixes #99
Changes:

Integrated changes from upstream master, including re-enabling tox
Restored removed documentation

Related Issue / Discussion
Re-enabling tox is particularly high in the priorities list, given the changes that have come to pass with Travis CI. At the very least, we now know the risks associated with tying ourselves to a specific service API.
There are quite a lot of changes in here. Even though I performed a rebase-type merge to gradually solve the merge conflicts (time-consuming), there is likely a lot here to unpack. Some of my goals were as follows:

Make pytest optional (selecting against it removes much of the pytest-based code we have).
Make Click optional to benefit from upstream changes that use argparse instead.
Leverage tox where possible and have CI services rely more on makefile recipes.
Restore most of the documentation that was previously removed so users/developers know how to contribute here.

Additional Information
https://github.com/bird-house/cookiecutter-birdhouse/issues/99
https://github.com/Ouranosinc/xclim/issues/509

This is a large PR.  Will be a few days before I can have time to digest it.  Hope it's okay.

This is a large PR.  Will be a few days before I can have time to digest it.  Hope it's okay.

@tlvu It still isn't working, so no rush. The merge process took a few hours and still needs a cleanup.

@tlvu It still isn't working, so no rush. The merge process took a few hours and still needs a cleanup.

Closed. Was able to get this working with #110


Volunteer management : search by phone

During a trigger, a lot of people are calling you and you don't have them in your phone.
Being able to search by phone number would be usefull

Can you clarify?
It is already the case, but I suspect that you are looking for 06XXX instead of 336XXX.
I18n isn't quite well managed yet.
    private function addSearchCriteria(QueryBuilder $qb, string $criteria)
    {
        $qb
            ->andWhere(
                $qb->expr()->orX(
                    'v.nivol LIKE :criteria',
                    'v.firstName LIKE :criteria',
                    'v.lastName LIKE :criteria',
                    'v.phoneNumber LIKE :criteria',
                    'v.email LIKE :criteria',
                    'CONCAT(v.firstName, \' \', v.lastName) LIKE :criteria',
                    'CONCAT(v.lastName, \' \', v.firstName) LIKE :criteria'
                )
            )
            ->setParameter('criteria', sprintf('%%%s%%', $criteria));
    }

Ok, maybe you can update the criteria for the phone then :
remove the + if it's in the user input.
replace the leading 0 by 33 if it's not 33
I was able to look for myself successfully with 336XXXX


⚠ T:Riza Roblox Proxy has degraded performance

In a644515, T:Riza Roblox Proxy (https://rprxy.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 2182 ms

Resolved: T:Riza Roblox Proxy performance has improved in c96fc64.


Payment - Empty payment method is present when delete the VBA in OldDot

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

Action Performed:

Open NewDot App
Create the Workspace, connect Chase bank account
Use Chase bank
Username: user_good | Password: pass_good
Account type: Plaid Saving (2nd option)
CompanyName: Alberta Bobbeth Charleson
CompanyTaxID: 123456789
First Name: Alberta
Last Name: Charleson
Routing Number: 011401533
Account Number:<PHONE_NUMBER>331111
Open the same account in OldDot and delete previously added bank account
Go back in NewDot
Check Settings -> Payment

Expected Result:
Payment method is not present under Payments
Actual Result:
Empty payment method is present
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/198834616-8dfdbfe5-1ee2-40df-bafc-520575fba33b.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Interesting! @MariaHCD is this related to the VBBA API refactors that aren't quite complete and all merged yet?

@Justicea83 volunteered for taking a look at it :)

Cool, adding the Internal label as well then!

Issue not reproducible during KI retests. (First week)


Detection of original message issues

I had several projects whereby the code was able to accurately detect the watermarks’ unique message embedding, but that accuracy literally evaporated. I made a video documenting the code working on a spaces app on HF, because it had failed me in a full stack application I made for this on GCS, and I wanted to draw a comparison. How could detection that works flawlessly for weeks suddenly fail to accurately detect the unique embedding? It baffled me until I considered that perhapos there was a change in the model capabilities? It worked in HF, and I have the video to prove it. But when I rebuilt the app (from a cold start)  on HF spaces the watermarking / detection function failed to accurately embedd the unique message, despite embedding an identieir of some sort,  or detect an accurate message / identifier. The code was not changed in any way. So wanted to see what changed on the Audioseal end of things.
https://huggingface.co/spaces/Kabatubare/audioseal_watermarking_and_audioseal_detection_CRYPTOGRAPHIC

The screenshots show that the embedding that was put in initially was not detected on the detection side. I have documented that this worked flawlessly prior with no code changes. Curious to understand more.

Hey, could you paste here the meat of your code to make your issue self sufficient so we can help.
can you still confirm that this working example still extracts the message correctly, (it works for me).

from audioseal import AudioSeal

# model name corresponds to the YAML card file name found in audioseal/cards
model = AudioSeal.load_generator("audioseal_wm_16bits")

# Other way is to load directly from the checkpoint
# model =  Watermarker.from_pretrained(checkpoint_path, device = wav.device)

# a torch tensor of shape (batch, channels, samples) and a sample rate
# It is important to process the audio to the same sample rate as the model
# expectes. In our case, we support 16khz audio
wav, sr = ..., 16000

watermark = model.get_watermark(wav, sr)

# Optional: you can add a 16-bit message to embed in the watermark
# msg = torch.randint(0, 2, (wav.shape(0), model.msg_processor.nbits), device=wav.device)
# watermark = model.get_watermark(wav, message = msg)

watermarked_audio = wav + watermark

detector = AudioSeal.load_detector("audioseal_detector_16bits")

# To detect the messages in the high-level.
result, message = detector.detect_watermark(watermarked_audio, sr)

print(result) # result is a float number indicating the probability of the audio being watermarked,
print(message)  # message is a binary vector of 16 bits

# To detect the messages in the low-level.
result, message = detector(watermarked_audio, sr)

# result is a tensor of size batch x 2 x frames, indicating the probability (positive and negative) of watermarking for each frame
# A watermarked audio should have result[:, 1, :] > 0.5
print(result[:, 1 , :])

# Message is a tensor of size batch x 16, indicating of the probability of each bit to be 1.
# message will be a random tensor if the detector detects no watermarking from the audio
print(message)

Hello Hady
This is also the HF space on this that my application was based on. This
was the initial code that was working just fine until the change whereby it
no longer worked. I attached the videos that correspond to this code in
order to demonstrate that the model seems to have shifted in its
capabilities despite absolutely no changes in the code base. I made an
update based on your share but still no correspondence between watermarking
message and corresponding detection of that message, represented as a hex
identitifer
https://huggingface.co/spaces/Kabatubare/audioseal_watermarking_and_audioseal_detection_CRYPTOGRAPHIC/settings
Screen Recording 2024-05-09 at 4.11.09.mov
https://drive.google.com/file/d/1qv2VuDaZ7z9hCJy2a-g_zd18anFSEKlv/view?usp=drive_web
Screen Recording 2024-05-09 at 4.14.21.mov
https://drive.google.com/file/d/18Rn7v0c6diIpoqfqTmd4X8bW5ef7xhgn/view?usp=drive_web
On Thu, May 16, 2024 at 6:16 AM Hady Elsahar @.***>
wrote:

Hey, could you paste here the meat of your code to make your issue self
sufficient so we can help.
can you still confirm that this working example still extracts the message
correctly, (it works for me).
from audioseal import AudioSeal
model name corresponds to the YAML card file name found in audioseal/cards
model = AudioSeal.load_generator("audioseal_wm_16bits")
Other way is to load directly from the checkpoint
model =  Watermarker.from_pretrained(checkpoint_path, device = wav.device)
a torch tensor of shape (batch, channels, samples) and a sample rate
It is important to process the audio to the same sample rate as the model
expectes. In our case, we support 16khz audio
wav, sr = ..., 16000
watermark = model.get_watermark(wav, sr)
Optional: you can add a 16-bit message to embed in the watermark
msg = torch.randint(0, 2, (wav.shape(0), model.msg_processor.nbits), device=wav.device)
watermark = model.get_watermark(wav, message = msg)
watermarked_audio = wav + watermark
detector = AudioSeal.load_detector("audioseal_detector_16bits")
To detect the messages in the high-level.
result, message = detector.detect_watermark(watermarked_audio, sr)
print(result) # result is a float number indicating the probability of the audio being watermarked,
print(message)  # message is a binary vector of 16 bits
To detect the messages in the low-level.
result, message = detector(watermarked_audio, sr)
result is a tensor of size batch x 2 x frames, indicating the probability (positive and negative) of watermarking for each frame
A watermarked audio should have result[:, 1, :] > 0.5
print(result[:, 1 , :])
Message is a tensor of size batch x 16, indicating of the probability of each bit to be 1.
message will be a random tensor if the detector detects no watermarking from the audio
print(message)
—
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/audioseal/issues/33#issuecomment-2115221614,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7AVNVSOVZUZY73UL5QWG63ZCSWUTAVCNFSM6AAAAABHPZN6HSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVGIZDCNRRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kind regards,
Troy Woodson

import gradio as gr
import torch
import torchaudio
import tempfile
import logging
from audioseal import AudioSeal
import random
import string
from pathlib import Path
from datetime import datetime
import json
import os
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric import padding, rsa
from cryptography.hazmat.backends import default_backend
from cryptography.exceptions import InvalidSignature
Cryptography setup
def generate_keys():
private_key = rsa.generate_private_key(backend=default_backend(),
public_exponent=65537, key_size=2048)
public_key = private_key.public_key()
return private_key, public_key
def sign_message(private_key, message):
signature = private_key.sign(message.encode(),
padding.PSS(mgf=padding.MGF1(hashes.SHA256()),
salt_length=padding.PSS.MAX_LENGTH), hashes.SHA256())
return signature
def verify_signature(public_key, message, signature):
try:
public_key.verify(
signature,
message.encode(),
padding.PSS(mgf=padding.MGF1(hashes.SHA256()),
salt_length=padding.PSS.MAX_LENGTH),
hashes.SHA256()
)
return True
except InvalidSignature:
return False
except Exception as e:
logger.error(f"Unexpected exception in verify_signature: {e}")
return False
Initialize logging
logging.basicConfig(level=logging.DEBUG, filename='app.log', filemode='w',
format='%(name)s - %(levelname)s - %(message)s')
logger = logging.getLogger(name)
File to store audio metadata
metadata_file = 'audio_metadata.json'
if not os.path.exists(metadata_file):
with open(metadata_file, 'w') as f:
json.dump({}, f)
Helper functions
def generate_unique_message(length=16):
characters = string.ascii_letters + string.digits
return ''.join(random.choice(characters) for _ in range(length))
def message_to_binary(message, bit_length=16):
binary_message = ''.join(format(ord(c), '08b') for c in message)
return binary_message[:bit_length].ljust(bit_length, '0')
def binary_to_hex(binary_str):
return hex(int(binary_str, 2))[2:].zfill(4)
def load_and_resample_audio(audio_file_path, target_sample_rate=16000):
waveform, sample_rate = torchaudio.load(audio_file_path)
if sample_rate != target_sample_rate:
resampler = torchaudio.transforms.Resample(orig_freq=sample_rate,
new_freq=target_sample_rate)
waveform = resampler(waveform)
return waveform, target_sample_rate
def generate_enhanced_identifier():
timestamp = datetime.now().strftime('%Y%m%d%H%M%S%f')
sequential_number = str(get_next_sequential_number()).zfill(6)
return f"{timestamp}-{sequential_number}"
def get_next_sequential_number():
with open(metadata_file, 'r+') as f:
data = json.load(f)
next_number = data.get('next_sequential_number', 1)
data['next_sequential_number'] = next_number + 1
f.seek(0)
json.dump(data, f, indent=4)
f.truncate()
return next_number
def save_audio_metadata(unique_id, original_hex, enhanced_id, signature_hex
):
with open(metadata_file, 'r+') as f:
data = json.load(f)
data['audio_files'] = data.get('audio_files', {})
data['audio_files'][unique_id] = {'original_hex': original_hex,
'enhanced_id': enhanced_id, 'signature': signature_hex}
f.seek(0)
json.dump(data, f, indent=4)
f.truncate()
private_key, public_key = generate_keys()
def watermark_audio(audio_file_path, unique_message):
waveform, sample_rate = load_and_resample_audio(audio_file_path,
target_sample_rate=16000)
waveform = torch.clamp(waveform, min=-1.0, max=1.0)
Ensure waveform has batch dimension
if len(waveform.shape) == 2:
waveform = waveform.unsqueeze(0)
model = AudioSeal.load_generator("audioseal_wm_16bits")
binary_message = message_to_binary(unique_message, bit_length=16)
hex_message = binary_to_hex(binary_message)
Creating message tensor for embedding
message_tensor = torch.tensor([int(bit) for bit in binary_message],
dtype=torch.int32).unsqueeze(0)
watermark = model.get_watermark(waveform, sample_rate)
watermarked_audio = waveform + watermark
temp_file = tempfile.NamedTemporaryFile(delete=False, suffix='.wav')
torchaudio.save(temp_file.name, watermarked_audio.squeeze(0), sample_rate)
enhanced_id = generate_enhanced_identifier()
signature = sign_message(private_key, unique_message)
signature_hex = signature.hex()
save_audio_metadata(unique_message, hex_message, enhanced_id, signature_hex)
return temp_file.name, hex_message, enhanced_id, signature_hex
def detect_watermark(audio_file_path, original_hex_message=None,
signature_hex=None):
waveform, sample_rate = load_and_resample_audio(audio_file_path,
target_sample_rate=16000)
Ensure waveform has batch dimension
if len(waveform.shape) == 2:
waveform = waveform.unsqueeze(0)
detector = AudioSeal.load_detector("audioseal_detector_16bits")
High-level detection
result, message_tensor = detector.detect_watermark(waveform,
sample_rate=sample_rate)
binary_message = ''.join(str(bit) for bit in message_tensor[0].tolist())
detected_hex_message = binary_to_hex(binary_message)
Low-level detection
low_level_result, low_level_message_tensor = detector(waveform,
sample_rate=sample_rate)
match_result = "Not compared"
signature_verified = "Signature verification not performed"
if original_hex_message:
match_result = "Match" if detected_hex_message.upper() ==
original_hex_message.upper() else "No Match"
if signature_hex:
original_message_binary = format(int(original_hex_message, 16), f'0{len
(original_hex_message)*4}b')
signature_verified = "Verified" if verify_signature(
public_key,
original_message_binary,
bytes.fromhex(signature_hex)
) else "Verification Failed"
return result, detected_hex_message, match_result, signature_verified,
low_level_result, low_level_message_tensor
On Thu, May 16, 2024 at 6:16 AM Hady Elsahar @.***>
wrote:

Hey, could you paste here the meat of your code to make your issue self
sufficient so we can help.
can you still confirm that this working example still extracts the message
correctly, (it works for me).
from audioseal import AudioSeal
model name corresponds to the YAML card file name found in audioseal/cards
model = AudioSeal.load_generator("audioseal_wm_16bits")
Other way is to load directly from the checkpoint
model =  Watermarker.from_pretrained(checkpoint_path, device = wav.device)
a torch tensor of shape (batch, channels, samples) and a sample rate
It is important to process the audio to the same sample rate as the model
expectes. In our case, we support 16khz audio
wav, sr = ..., 16000
watermark = model.get_watermark(wav, sr)
Optional: you can add a 16-bit message to embed in the watermark
msg = torch.randint(0, 2, (wav.shape(0), model.msg_processor.nbits), device=wav.device)
watermark = model.get_watermark(wav, message = msg)
watermarked_audio = wav + watermark
detector = AudioSeal.load_detector("audioseal_detector_16bits")
To detect the messages in the high-level.
result, message = detector.detect_watermark(watermarked_audio, sr)
print(result) # result is a float number indicating the probability of the audio being watermarked,
print(message)  # message is a binary vector of 16 bits
To detect the messages in the low-level.
result, message = detector(watermarked_audio, sr)
result is a tensor of size batch x 2 x frames, indicating the probability (positive and negative) of watermarking for each frame
A watermarked audio should have result[:, 1, :] > 0.5
print(result[:, 1 , :])
Message is a tensor of size batch x 16, indicating of the probability of each bit to be 1.
message will be a random tensor if the detector detects no watermarking from the audio
print(message)
—
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/audioseal/issues/33#issuecomment-2115221614,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7AVNVSOVZUZY73UL5QWG63ZCSWUTAVCNFSM6AAAAABHPZN6HSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVGIZDCNRRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kind regards,
Troy Woodson


ADS: Final bits and pieces

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2668

PR #2717   👈
PR #2714
PR #2713
PR #2711
PR #2710
PR #2709
PR #2706
PR #2705
PR #2703
PR #2670

This comment was auto-generated by Graphite.


Failed assertion: line 1372: '': is not true.

Steps to Reproduce

I have a TextField in the widget tree which switches to a Text widget when tapping an adjacent button. The issue arises when the user switches the TextField to TextWidget and then back to TextField. Then this exception was kept throwing

Target Platform: Android
Target OS version/browser: 29
Devices: Mi A3
Logs
════════ (69) Exception caught by animation library ════════════════════════════════════════════════
The method 'findRenderObject' was called on null.
Receiver: null
Tried calling: findRenderObject()
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (70) Exception caught by animation library ════════════════════════════════════════════════
The method 'findRenderObject' was called on null.
Receiver: null
Tried calling: findRenderObject()
════════════════════════════════════════════════════════════════════════════════════════════════════
Restarted application in 1,386ms.
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following assertion was thrown during paint():
'dart:ui/text.dart': Failed assertion: line 1372: '': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
TextField file:///home/ileaf-pc/yadhu/December/biotecnika-repo/lib/modules/profile/user_profile_screen.dart:129:48
When the exception was thrown, this was the stack:
#2      new TextPosition (dart:ui/text.dart:1372:15)
#3      RenderEditable._updateSelectionExtentsVisibility (package:flutter/src/rendering/editable.dart:367:7)
#4      RenderEditable._paintContents (package:flutter/src/rendering/editable.dart:1956:7)
#5      RenderEditable.paint (package:flutter/src/rendering/editable.dart:2012:7)
#6      RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2219:7)
...
The following RenderObject was being processed when the exception was fired: RenderEditable#77797 relayoutBoundary=up24
...  parentData:  (can use size)
...  constraints: BoxConstraints(w=257.6, 0.0<=h<=30.0)
...  size: Size(257.6, 22.0)
...  cursorColor: Color(0x004285f4)
...  showCursor: ValueNotifier#c5d3c(true)
...  maxLines: 1
...  minLines: null
...  selectionColor: Color(0xff90caf9)
...  textScaleFactor: 1.0
...  locale: en_US
...  selection: TextSelection(baseOffset: 0, extentOffset: 0, affinity: null, isDirectional: false)
...  offset: ScrollPositionWithSingleContext#f11f6(offset: 0.0, range: 0.0..0.0, viewport: 257.6, ScrollableState, ClampingScrollPhysics, IdleScrollActivity#681a5, ScrollDirection.idle)
text: TextSpan
debugLabel: ((englishLike subhead 2014).merge(blackMountainView subhead)).merge(unknown)
inherit: false
color: Color(0xff000000)
family: Roboto
size: 19.0
weight: 700
baseline: alphabetic
decoration: TextDecoration.none
""
RenderObject: RenderEditable#77797 relayoutBoundary=up24
parentData:  (can use size)
constraints: BoxConstraints(w=257.6, 0.0<=h<=30.0)
size: Size(257.6, 22.0)
cursorColor: Color(0x004285f4)
showCursor: ValueNotifier#c5d3c(true)
maxLines: 1
minLines: null
selectionColor: Color(0xff90caf9)
textScaleFactor: 1.0
locale: en_US
selection: TextSelection(baseOffset: 0, extentOffset: 0, affinity: null, isDirectional: false)
offset: ScrollPositionWithSingleContext#f11f6(offset: 0.0, range: 0.0..0.0, viewport: 257.6, ScrollableState, ClampingScrollPhysics, IdleScrollActivity#681a5, ScrollDirection.idle)
text: TextSpan
debugLabel: ((englishLike subhead 2014).merge(blackMountainView subhead)).merge(unknown)
inherit: false
color: Color(0xff000000)
family: Roboto
size: 19.0
weight: 700
baseline: alphabetic
decoration: TextDecoration.none
""
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (2) Exception caught by rendering library ═════════════════════════════════════════════════
'dart:ui/text.dart': Failed assertion: line 1372: '': is not true.
The relevant error-causing widget was:
TextField file:///home/ileaf-pc/yadhu/December/biotecnika-repo/lib/modules/profile/user_profile_screen.dart:129:48
The following RenderObject was being processed when the exception was fired: RenderEditable#77797 relayoutBoundary=up24
parentData:  (can use size)
constraints: BoxConstraints(w=257.6, 0.0<=h<=30.0)
size: Size(257.6, 22.0)
cursorColor: Color(0xff4285f4)
showCursor: ValueNotifier#c5d3c(true)
maxLines: 1
minLines: null
selectionColor: Color(0xff90caf9)
textScaleFactor: 1.0
locale: en_US
selection: TextSelection(baseOffset: 0, extentOffset: 0, affinity: null, isDirectional: false)
offset: ScrollPositionWithSingleContext#f11f6(offset: 0.0, range: 0.0..0.0, viewport: 257.6, ScrollableState, ClampingScrollPhysics, IdleScrollActivity#681a5, ScrollDirection.idle)
text: TextSpan
debugLabel: ((englishLike subhead 2014).merge(blackMountainView subhead)).merge(unknown)
inherit: false
color: Color(0xff000000)
family: Roboto
size: 19.0
weight: 700
baseline: alphabetic
decoration: TextDecoration.none
""
RenderObject: RenderEditable#77797 relayoutBoundary=up24
parentData:  (can use size)
constraints: BoxConstraints(w=257.6, 0.0<=h<=30.0)
size: Size(257.6, 22.0)
cursorColor: Color(0xff4285f4)
showCursor: ValueNotifier#c5d3c(true)
maxLines: 1
minLines: null
selectionColor: Color(0xff90caf9)
textScaleFactor: 1.0
locale: en_US
selection: TextSelection(baseOffset: 0, extentOffset: 0, affinity: null, isDirectional: false)
offset: ScrollPositionWithSingleContext#f11f6(offset: 0.0, range: 0.0..0.0, viewport: 257.6, ScrollableState, ClampingScrollPhysics, IdleScrollActivity#681a5, ScrollDirection.idle)
text: TextSpan
debugLabel: ((englishLike subhead 2014).merge(blackMountainView subhead)).merge(unknown)
inherit: false
color: Color(0xff000000)
family: Roboto
size: 19.0
weight: 700
baseline: alphabetic
decoration: TextDecoration.none
""
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (3) Exception caught by rendering library ═════════════════════════════════════════════════
'dart:ui/text.dart': Failed assertion: line 1372: '': is not true.
The relevant error-causing widget was:
TextField file:///home/ileaf-pc/yadhu/December/biotecnika-repo/lib/modules/profile/user_profile_screen.dart:129:48
The following RenderObject was being processed when the exception was fired: RenderEditable#77797 relayoutBoundary=up24
parentData:  (can use size)
constraints: BoxConstraints(w=257.6, 0.0<=h<=30.0)
size: Size(257.6, 22.0)
cursorColor: Color(0xff4285f4)
showCursor: ValueNotifier#c5d3c(true)
maxLines: 1
minLines: null
selectionColor: Color(0xff90caf9)
textScaleFactor: 1.0
locale: en_US
selection: TextSelection(baseOffset: 0, extentOffset: 0, affinity: null, isDirectional: false)
offset: ScrollPositionWithSingleContext#f11f6(offset: 0.0, range: 0.0..0.0, viewport: 257.6, ScrollableState, ClampingScrollPhysics, IdleScrollActivity#681a5, ScrollDirection.idle)
text: TextSpan
debugLabel: ((englishLike subhead 2014).merge(blackMountainView subhead)).merge(unknown)
inherit: false
color: Color(0xff000000)
family: Roboto
size: 19.0
weight: 700
baseline: alphabetic
decoration: TextDecoration.none
""
RenderObject: RenderEditable#77797 relayoutBoundary=up24
parentData:  (can use size)
constraints: BoxConstraints(w=257.6, 0.0<=h<=30.0)
size: Size(257.6, 22.0)
cursorColor: Color(0xff4285f4)
showCursor: ValueNotifier#c5d3c(true)
maxLines: 1
minLines: null
selectionColor: Color(0xff90caf9)
textScaleFactor: 1.0
locale: en_US
selection: TextSelection(baseOffset: 0, extentOffset: 0, affinity: null, isDirectional: false)
offset: ScrollPositionWithSingleContext#f11f6(offset: 0.0, range: 0.0..0.0, viewport: 257.6, ScrollableState, ClampingScrollPhysics, IdleScrollActivity#681a5, ScrollDirection.idle)
text: TextSpan
debugLabel: ((englishLike subhead 2014).merge(blackMountainView subhead)).merge(unknown)
inherit: false
color: Color(0xff000000)
family: Roboto
size: 19.0
weight: 700
baseline: alphabetic
decoration: TextDecoration.none
""
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (4) Exception caught by rendering library ═════════════════════════════════════════════════
'dart:ui/text.dart': Failed assertion: line 1372: '': is not true.

Hi @iLeafSolutionsPvtLtd
I see there's an open issue  addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


[ Travel Mate version 5.4.0 ] Unable to change my profile picture

Project Information

Repository    :  https://github.com/project-travel-mate/Travel-Mate
Project Name  : Travel Mate
Publisher     :  Swati Garg

Expected behavior
I expected that when I click on the camera button and choose an image from the phone gallery the profile picture should be changed
Actual behavior
after opening the profile when I try to change the profile picture in Travel Mate application. I cannot able to change my profile picture. you can see in bug video properly
How to reproduce

Download and open the application
click on your profile
click on the camera button
choose you image
refresh the page  or reopen  the profile page
Note the Bug
Browser/App version:   5.4.0
Operating system:  8.0.0

Recording Of The Bug
https://youtu.be/W7kZYnAa-sQ
GitHub Account
https://github.com/XAMIR555
Logcat
logcat.txt

thank you  very much

Closing this since it seems fixed!
@XAMIR555 Feel free to reopen if it isn't fixed


changes/types: add Generics type to help with boilerplate

Codecov Report

Merging #210 into master will decrease coverage by <.01%.
The diff coverage is 100%.

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


Delete node-labeller.sh file from virtual-launcher folder .

What this PR does
Before this PR:
After this PR:

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

The cp commands are redundant in README and can be avoided by using a relative path and setting the docker context to cmd directory instead.
That said I am going to merge this, if needed the process can be improved and all Dockerfile refactored.


Can someone rewrite it with rust?

Rewrite it with Rust

I'm sure everything we do here could be re-implemented in a variety of other languages, like Rust. Please keep the tickets related to the current code-base and project tho, otherwise it's quickly becoming unmaintainable. The Discord link seems broken.

ok sorry

oh its the nushell discord server

@muesli

ok sorry

No worries, I hope you understand. Thanks for resolving the Discord mystery link, I appreciate it!

@muesli I think I mis-expressed my meaning. I meant: can this program be programmed with rust? (I dont mean to rewrite this with rust)


Circuit Should Be Closed Cleanly When NTorFSM Handshake Fails

If something goes wrong when NTorFSM is creating/extending the circuit, then the circuit itself should be shutdown. Any relevant data structures or resources should be cleaned up.

Fixed in 636ed7e425