unable to type whitespaces in query editor

The editor seems to lockup and does not permit typing a whitespace after a sql keyword under certain conditions. I could not just type "select * from t" because it would not let me add the whitespaces in between. I've been typing "select*fromt" and then adding the whitespaces as needed. I know, silly.
The number of DB sessions is limited in our organization to 2. This happens whenever a third party app uses one of the connections, leaving DBEAVER with a single session left. It seems that dbeaver wants 2 sessions, one for the query from the editor and a second for running "SELECT * FROM _V_JDBC_CATALOG3 ORDER BY TABLE_CAT".
Thanks!

just FYI, I was able to avoid the editor freeze by deselecting the "use separate connection for metadata" preference

I get weird behavior in the SQL Editor script pane.  When typing text, the cursor blinks a lot and there is lag.

Works on 4.0.6, but blinking on 4.0.7 and 4.0.8

Nope, my bad, not working on 4.0.6 either

Yeah, my issue is on all versions.  4.x and 3.8.5.  Not sure why it's not working.

You could try to disable auto-completion Preferences->General->Editors->SQL-Editor->SQL Completion). This is triggered by space symbols.
I don't see how else this issues could be resolved..


Added typescript demo for PopoverPopupState

[ ] I have followed (at least) the PR section of the contributing guide.

@oliviertassinari Have added a typescript demo for PopoverPopState too as I realized we have the typescript demo missing for this component. Let me know if there is anything else you want me to work on. Thank you so much.


Implement option to change the tag id

Implement the option to change the tag id in case of the old tag was broken and a new tag should be registered for an old user

https://github.com/hackenbergstefan/coffeebuddy/commit/08b21e4a42c1c52fc1ff8c5a5e76786de47070d4


Adapt readme (Ecto naming change)

I was following the readme today and noticed this typo.
As a sidenote (but something I could also add to this PR if you will), based on the same testing, I wonder if it is possible to use Ecto.Schema with a field enforced as a "point", rather than a broader field(:geom, Geo.PostGIS.Geometry).

Thanks!


Users can rename an AppMap through the AppMap panel

Right click -> rename
This changes metadata.name and the change is immediately reflected in the UI.

:tada: This issue has been resolved in version 0.18.0 :tada:
The release is available on:

v0.18.0
GitHub release

Your semantic-release bot :package::rocket:


copy/move to another host hangs forever

Required information

Distribution: Debian
Distribution version: bullseye (on Elwing) + unstable (on Annael)
The output of "lxc info" or if that fails (output from Elwing but both use the same exact versions of lxc and lxd):

config:
  core.https_address: '[::]:8443'
  images.auto_update_interval: "0"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- snapshot_schedule_aliases
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
- trust_ca_certificates
- snapshot_disk_usage
- clustering_edit_roles
- container_nic_routed_host_address
- container_nic_ipvlan_gateway
- resources_usb_pci
- resources_cpu_threads_numa
- resources_cpu_core_die
- api_os
- container_nic_routed_host_table
- container_nic_ipvlan_host_table
- container_nic_ipvlan_mode
- resources_system
- images_push_relay
- network_dns_search
- container_nic_routed_limits
- instance_nic_bridged_vlan
- network_state_bond_bridge
- usedby_consistency
- custom_block_volumes
- clustering_failure_domains
- resources_gpu_mdev
- console_vga_type
- projects_limits_disk
- network_type_macvlan
- network_type_sriov
- container_syscall_intercept_bpf_devices
- network_type_ovn
- projects_networks
- projects_networks_restricted_uplinks
- custom_volume_backup
- backup_override_name
- storage_rsync_compression
- network_type_physical
- network_ovn_external_subnets
- network_ovn_nat
- network_ovn_external_routes_remove
- tpm_device_type
- storage_zfs_clone_copy_rebase
- gpu_mdev
- resources_pci_iommu
- resources_network_usb
- resources_disk_address
- network_physical_ovn_ingress_mode
- network_ovn_dhcp
- network_physical_routes_anycast
- projects_limits_instances
- network_state_vlan
- instance_nic_bridged_port_isolation
- instance_bulk_state_change
- network_gvrp
- instance_pool_move
- gpu_sriov
- pci_device_type
- storage_volume_state
- network_acl
- migration_stateful
- disk_state_quota
- storage_ceph_features
- projects_compression
- projects_images_remote_cache_expiry
- certificate_project
- network_ovn_acl
- projects_images_auto_update
- projects_restricted_cluster_target
- images_default_architecture
- network_ovn_acl_defaults
- gpu_mig
- project_usage
- network_bridge_acl
- warnings
- projects_restricted_backups_and_snapshots
- clustering_join_token
- clustering_description
- server_trusted_proxy
- clustering_update_cert
- storage_api_project
- server_instance_driver_operational
- server_supported_storage_drivers
- event_lifecycle_requestor_address
- resources_gpu_usb
- clustering_evacuation
- network_ovn_nat_address
- network_bgp
- network_forward
- custom_volume_refresh
- network_counters_errors_dropped
- metrics
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: <hidden>
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFlDCCA3ygAwIBAgIJAN3VwLRupOK5MA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNV
    BAYTAkRMMREwDwYDVQQIDAhEdWNrTGFuZDERMA8GA1UEBwwIRHVja0NpdHkxETAP
    BgNVBAoMCER1Y2tDb3JwMRQwEgYDVQQDDAtEdWNrQ29ycCBDQTEgMB4GCSqGSIb3
    DQEJARYRcm9vdEBkdWNrY29ycC5vcmcwHhcNMjExMDIwMTExMjUxWhcNMjIxMDIw
    MTExMjUxWjCBpDELMAkGA1UEBhMCREwxETAPBgNVBAgMCER1Y2tMYW5kMREwDwYD
    VQQHDAhEdWNrQ2l0eTERMA8GA1UECgwIRHVja0NvcnAxGjAYBgNVBAsMEUR1Y2tD
    b3JwIFNlcnZpY2VzMRwwGgYDVQQDDBNEdWNrQ29ycCBMWEQgU2VydmVyMSIwIAYJ
    KoZIhvcNAQkBFhNhZG1pbkBtaWxreXBvbmQub3JnMIIBojANBgkqhkiG9w0BAQEF
    AAOCAY8AMIIBigKCAYEA036+RL51ZclX0k80atmg+zspT/26XWhlbmUiFi/pnKOL
    h19Ltw9VwjfVe/e8R476hvWdKy19CrVNc52wom0ddLV59c1wdCqKPq8kaUThQwBo
    MD22ph7NxBtqkEkWAuwgXfjH/0veut2iGE2jRWMpSZbXMCZrl5P4lc5yinBY4Ap5
    m1azzO5lx5io35MjIL2E2QmB1QsgpJE9Uyw8b6foAK7xNE5S+3TIHHyc1gj0nLuV
    8wXO7FOQmeRX4Nc8iBQZrPv/Ep018h8CeXjy2QTW6ATSHNPssBSigARmlRUkPrYJ
    /UKoPohxxGSCmmZ/w6GlQT9KKbyE0kvg4hpFpjXtxm+ZRacssgps5ROM+HoALe4q
    aXaXVHpDNv43hpMgB0ziLkGtKgIpICBW4y7naE73HUG4tdiBty6XKH1v8EnlG14x
    dmZScvGLzzBsVSNKDq1wwNt9pF4M4BkBXsbaAd/WRD1XxO2DxPioNjFqlS7OIfuO
    CQCVugFbBjNbf+ow3TtrAgMBAAGjbjBsMDMGA1UdEQQsMCqBE2FkbWluQG1pbGt5
    cG9uZC5vcmeCE2Vsd2luZy5kdWNrY29ycC5vcmcwCQYDVR0TBAIwADAqBgNVHSUE
    IzAhBggrBgEFBQcDAQYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMA0GCSqGSIb3DQEB
    CwUAA4ICAQCCX2IcG74cS+Q9yCpUA3mOrZ5tuNzahvSB4aA9+LmrxXov/582HwYL
    7k9qGWyQYRNCDOB78ljjtBfyRjKJdxFZoGH57Qmyr9ybqK4KK6qkFRJ+50LpPgv4
    DSeGyJ+44AMVf0kfIawTyuUspVPFCupZjDYapQyKM+CrsIYw/MEeLaQBIPcdM5iK
    qwPVsjSBG9vXzNyLGfN1XU45Xmcym4lwtbi8r0Ci6SzGsoIzEFtKuWepuYD7kbDt
    xLasMGD/dKdHYX5RNfTUGqXR5LYdpxoCjvrIimvLtb5Bp3PhH0OHJHyBayP7qRNY
    MzTlGLYa6ALh2iFZYeYU7Hz8nL+KQE7UIt24Qw23Dmgy9TPolOPW5okxmEj4sLnL
    dbsokGenMmuuwJnnx93FOx5qqRBS08OxU3zOaZRyj3klF5MXMYCQLVbhEcTHjuOh
    AuA2vdAo/rHL2z6PW7UDuTKZL0tsD31jJbDfvb5XK7Q+gSMDU2pmNMGbHCceyuZO
    Zq8KRStkqt1/8BKGdzqEw83yUn0fAxuwI5qBPJfrgYlGTru+ofJn5M//RVdIQq3o
    HToTmcUt3tpYeN/BnDT0+JUTS29CwC402ZFysw+QFnV88ya6VNR7F9d+w7caA2bL
    IBU+X37hCTbBTU3mXKEoKErxd23//0AwChEf0VVsKcbmx/sGnVLLfQ==
    -----END CERTIFICATE-----
  certificate_fingerprint: cac07a588896366951b6a0c12d3c1c9fec4dd83c78ac71a85461ed10ee23349e
  driver: lxc
  driver_version: 4.0.10
  firewall: nftables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "true"
    seccomp_listener: "true"
    seccomp_listener_continue: "true"
    shiftfs: "false"
    uevent_injection: "true"
    unpriv_fscaps: "true"
  kernel_version: 5.10.0-9-amd64
  lxc_features:
    cgroup2: "true"
    core_scheduling: "false"
    devpts_fd: "true"
    idmapped_mounts_v2: "true"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    pidfd: "true"
    seccomp_allow_deny_syntax: "true"
    seccomp_notify: "true"
    seccomp_proxy_send_notify_fd: "true"
  os_name: Debian GNU/Linux
  os_version: "11"
  project: default
  server: lxd
  server_clustered: false
  server_name: Elwing
  server_pid: 683687
  server_version: "4.19"
  storage: btrfs
  storage_version: 5.10.1
  storage_supported_drivers:
  - name: dir
    version: "1"
    remote: false
  - name: lvm
    version: 2.03.11(2) (2021-01-08) / 1.02.175 (2021-01-08) / 4.43.0
    remote: false
  - name: btrfs
    version: 5.10.1
    remote: false

Issue description
lxc move hangs forever. I read in the past (~2 years ago) that CRIU was not up to the task and it did not seem to work better (criu.c:do_dump:1283 - dump failed with 1). Using --stateless was advised, but it hanged all the same.I tried stopping the container before the move to no avail. On the receiver side the container is copied and stopped (It starts and seems identical) and on the sender side the container is still there (and stopped too since I gave up on live migration). I tried to simply copy but the result is identical.
Provided debug is for a move of a stopped container, but I can provide logs for live migration too if it can help.
Steps to reproduce

(on Annael) lxc stop redmine
lxc --verbose move redmine Elwing: --stateless

Information to attach
Btw verbose does not provide any feedback at all.
The only error I could see was on the receiver side: Got error reading migration control socket. I guess that's what interrupts the flow but since there is no retry from either side at least the sender is stuck.
lxd_move_hang_Annael_command.log
lxd_move_hang_Annael_monitor.log
lxd_move_hang_Elwing_monitor.log

Can you try using --mode=relay or --mode=push to eliminate potential network issues?

Quack,
Thanks for the quick reply. Here are the debug logs for both relay and push.
lxd_move_relay_Annael_command.log
lxd_move_push_Annael_command.log
It's very strange to get all these certificate problems since my remote is define like this:
| Elwing          | https://elwing.duckcorp.org:8443         | lxd           | tls         | NO     | NO     | NO     |

and there is never any reference to Elwing.hq.duckcorp.org. But the hostname is valid and that's the reverse of the IP on the interface receiving the request. I can reissue the certificate to be valid on both but that's a strange behavior and that would not solve the weird mixup with annael.hq.duckcorp.org in push mode. Why is LXD trying to connect to <IP_ADDRESS> or <IP_ADDRESS> which are Annael's IPs on managed bridges???
I can issue remote commands like lxc ls Elwing: without any certificate warning and with the expected result.
\_o<

LXD doesn't care too much about the DNS (SANs) records in the certificate as it usually expects a self-signed certificate in which case it prompts for the fingerprint, dumps the cert in ~/snap/lxd/common/config/servercerts/ and then expects an exact match on the cert from that point on.
The only time where LXD will care about the DNS (SANs) records is when using a valid certificate for the server at which point lxc remote add will not put a copy of the cert in ~/snap/lxd/common/config/servercerts/ and so cause the LXD client to instead rely on the system's CA infrastructure to validate the target server.

There's a good chance the hanging is fixed by https://github.com/lxc/lxd/pull/9432

@tomponline thanks for letting me know :-)
@stgraber Is there anything I can collect about the storage problem in the last test? I did not see any other BR with this problem and I'm not sure how to reproduce it since I just simply deleted the container and retried the transfer with the options you gave me and only the last time did it trigger. Unless there is a way to fix my LXD instance I plan to redeploy it and test @tomponline 's patch and see if this BR can be closed.

@duck-rh did you find the later releases fixed the issue?

@tomponline thanks for pinging me. I need to update lxd but I was waiting to potentially provide more info about the storage problem. I guess I could have opened a separate ticket but It looked like some kind of consequence of the original problem. Currently Elwing's instance is still down and if I reinstall a newer version then I will not be able to debug this anymore.


Image not displaying on hasMany Relationship

Version information

Laravel: v5.8
Voyager: v1.4
PHP: 7.2
Database: MYSQL 5.7

Description

I have created two tables, attachments and tabs. tabs hasMany attachments. I have an image field in attachments table which i want to display on tabs list view, but its showing the image path as string
Steps To Reproduce
Steps to reproduce the behavior:

create table tabs fields id, description
Create table attachments, fields => id, attachment_file (BLOB), tab_id(FK)
add a record in  tabs table
add a record in attachments table, provide a value for foreign key as well.
Goto tabs bread, attachment file will be displayed as string instead of image, please refer to screenshot below

Expected behavior
attachment images should be displayed in tabs list view
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
If you want to have a look, test site is hosted at http://<IP_ADDRESS>/admin
username<EMAIL_ADDRESS>password: admin
if any additional information is required please let me know.
BR

Not a bug.
The relationship does not know that you want this field to be an image.
You'll have to override the formfield view


Development

Added Jawbone authentication

Did you intend to close this pull request?  I can't merge it while it is closed and I'm not sure if that was the intention.
Best,

Why? You will not support jawbone?

Your Jawbone addition was merged into the development branch already.  It will be merged into master when there are more ng-cordova-oauth changes.
Regards,


ci: turn off edge snap builds temporarily

turns off edge snap builds temporarily and makes it manual

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

v1.9.0
GitHub release

Your semantic-release bot :package::rocket:


Double reconciles in machine controller

Version
.
Expected Behavior
Only reconcile each machine once
Actual Behavior
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:49:20.140Z	INFO	controller.machine_lifecycle	launching machine	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "pods": "3", "resources": {"cpu":"1125m","pods":"3"}, "instance-types": "c3.large, c3.xlarge, c4.large, c4.xlarge, c5.large and 95 other(s)"}
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:49:20.682Z	DEBUG	controller.machine_lifecycle	created launch template	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "launch-template-name": "karpenter.k8s.aws/971154958901674336", "launch-template-id": "lt-0d78a12efb6a4a854"}
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:49:20.827Z	DEBUG	controller.machine_lifecycle	created launch template	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "launch-template-name": "karpenter.k8s.aws/3055352527330367629", "launch-template-id": "lt-0c9a8c6bff1a6e7c1"}
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:49:22.772Z	INFO	controller.machine_lifecycle	launched machine	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "provider-id": "aws:///us-west-2b/i-078214ed8fa27f1c1", "instance-type": "c6g.large", "zone": "us-west-2b", "capacity-type": "on-demand", "capacity": {"cpu":"2","ephemeral-storage":"20Gi","memory":"3788Mi","pods":"29"}}
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:49:50.801Z	DEBUG	controller.machine_lifecycle	synced node	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "provider-id": "aws:///us-west-2b/i-078214ed8fa27f1c1", "node": "ip-192-168-97-150.us-west-2.compute.internal"}
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:49:50.835Z	DEBUG	controller.machine_lifecycle	synced node	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "provider-id": "aws:///us-west-2b/i-078214ed8fa27f1c1", "node": "ip-192-168-97-150.us-west-2.compute.internal"}
karpenter-7f887f78b6-ljlrj controller 2023-04-11T22:50:11.164Z	DEBUG	controller.machine_lifecycle	node initialized	{"commit": "cc94ea1-dirty", "machine": "default-294hn", "provider-id": "aws:///us-west-2b/i-078214ed8fa27f1c1", "node": "ip-192-168-97-150.us-west-2.compute.internal"}

Steps to Reproduce the Problem
.
Resource Specs and Logs
.
Community Note

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

One second cache interval should fix this one since we can assume the client-go should update within that timeframe


(PUP-8438) Pin FFI to 1.9.18

On Feb 6, 2018, the FFI maintainers released a FFI 1.9.19, then a
1.9.20, failing to produce all the various platform specific gems
that had been published. Both of these versions were yanked, and
a 1.9.21 was released with all the platform specific gem versions.
However, there are a few problems with 1.9.21:

The Windows gem has inexplicably doubled in size, even though
the changes to the FFI code should have been minor
There are a number of problems compiling the gem now, on
platforms where it previously worked (CentOS as noted by the
Bolt team + about 10 tickets on the FFI GitHub issue tracker
for a variety of other problems)

For Puppet, this isn't strictly a problem at the moment as Windows
doesn't need to compile gems, but it feels safest at the moment pin
to known working.
FFI 1.9.21+ will be needed when Ruby 2.5 support is added, but for
now, there are no fixes that Puppet needs in the newest versions,
and it's unclear why the gem doubled. It's safest to pin to the
old version until the new FFI maintainers have their process
smoothed out, etc.

Also note that this only impacts gems and gem-based workflows. The
MSI package pins to 1.9.18 in the puppet-agent project already at
https://github.com/puppetlabs/puppet-agent/blob/master/configs/components/rubygem-ffi.rb#L2

👍

CLA signed by all contributors.

@McdonaldSeanp You happy to merge this? Seems platform OS-ish


After Upgrading to React native 0.59 Ios Picker is not selectable and became transparent In Ios 10.3.2 version

Recently I have updated react native from 0.57.2 to 0.59.3 and I have noticed that In Iphone 6 (Ios 10.3.2) Picker is not selectable.

Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?
👉 Click here if you want to take another look at the Bug Report issue template.

I have already provided enough information

Please use https://github.com/react-native-community/react-native-picker and report issues there.


Avoid fails on async processes in notebooks

Description
Some notebooks include async processes, which fail when run by our test suite because the next cells does not wait for the async cell to complete.
Potential solutions

Add time.sleep() either at the end of the cell, or in another hidden cell (include {"hide_input": true} into the cell) so it does not appear in the rendered HTML.
Use IPython's await, but this probably requires upstream birdy/owslib modification (ie. use asyncio)

I know I suggested it on slack, but I'm really not a fan of the time.sleep() approach. It still has the potential to fail (assuming that a process or the network it's run on is too slow) and testing an artificially slowed down notebook is annoying on a performance setup.
Would it be reasonable to open a ticket on owslib and birdy to ask for this functionality? I'm sure @cehbrecht has thoughts on this.

I'm not sure exactly what we want. I suggest this is something we defer to the maintenance phase, and we do some initial exploration before proposing anything to owslib.

I also thought about this, few options, all just hypothesis:

Add a loop to pool on the ready/done status.
Add an environment var that during automation run, set the async flag to false. This assume we do not need to test the async feature.


README.md is not displayed after the PR #786

The content of README.md is not displayed after PR #786.  It seemed that PR #786 modified the file mode of README.md.

Saw that, #810 fixes it without a softlink that seems to be erased by folks working on Windows.


fix: operators to behave like the underlying type's

See https://github.com/mpusz/units/issues/137#issuecomment-755623669.

#217 partially addresses this issue; there's room for improvement.
There's operator%=(Quantity auto) left to resolve. I'm not quite sure how to best approach it.
#217 is a minimal fix only for arithmetic types. For some cases; I can't claim to have catched all of them. There's also user-defined types to consider. For example:

invoke_result_convertible_to_<rep, std::arithmetic-function-object<>, Value, rep>. Requiring the conversion from the result of an operation back to rep might be too constraining. And that's not done here, actually. I don't remove them in #217 because * and / already have them, too. They can be relaxed to quantity_value_for_, like the non-member operators.
Perhaps the intention was to ensure some relation between rep and the resulting representation type of an operation. A better approach might be to use std::common_with, although that's more computationally expensive.
There's a fine line between quantity(1) + 1 and quantity(1) + quantity(1). The former results in quantity(1 + 1) while the latter results in C(C(1).count() + C(1).count()), where C is a common type. I observed no difference for arithmetic types, but that might not be the case for user-defined types. The same applies to other operators that first convert the arguments to the common quantity.

Could you please review if this Issue still needs some work after my last fix to #137?

The rhs of quantity_point's += and -= is fixed to quantity_type,
rather than being detail::QuantityConvertibleTo<quantity_type> like quantity's.

Incidentally, the constraints of += and -= of quantity and quantity_point are broken.
And maybe for others @= of quantity, and others of both with a perfect forwarding first parameter.
The problem is that these are friends,
and the constraints don't take into account the constness of the first parameter.
For example, this errors in the implementation (https://godbolt.org/z/dYr1vbMK4):
  const quantity_point p{42 * m};
  p += 1 * m;

Good catch! Thanks!!!

Commit 046a83224e39763a047f25b4f83b4c7ca9337711 didn't address https://github.com/mpusz/mp-units/issues/215#issuecomment-2453025598.

Ohh sorry, I messed that comment.

BTW, I just noticed that there is no consistency between op+ and op+= in the following case:
// lack of consistency with binary operator
static_assert(is_of_type<1 * (isq::length / isq::time)[m / s] + 1 * isq::speed[m / s],
                         quantity<isq::speed[m / s], int>>);
static_assert(is_of_type<(1 * (isq::length / isq::time)[m / s] += 1 * isq::speed[m / s]),
                         quantity<(isq::length / isq::time)[m / s], int>>);

Does anyone think it is a problem?

By necessity, the return type of @= is that of the lhs.

@JohelEGP nailed it: this is a complete non-issue for the reasons he has stated.

I agree, but I wanted to make sure that you do not see any issues with this as well.


Intelligent Indexing of slow changing data

Items used for lookups like

Projects
Machines
Environments

Is this issue why I don't see these sourcetypes  24 hours after installing the app? Should I expect them to index eventually?
When i search '| metadata type=sourcetypes index=octopusdeploy' I only see:
octopus:deployment
octopus:event
octopus:release
octopus:task

@ambrosis possibly.  There has been some work done over at https://github.com/cmeerbeek/splunk-addon-octopus-deploy with some indexing that may be of use.  The current release of this app is quite old...
What version of Octopus & Splunk are you using?


Using Fine-grained Checkpoint for Coarse-grained Training

Is there a way to use the provided fine-grained checkpoints, e.g. fiber_coarse_then_fine.pth, and run coarse-grained training on them? Thank you in advance for your response.

I think you can first convert the checkpoint format (you can reference https://datarelease.blob.core.windows.net/fiber/coarse_grained/fiber_pretrain.ckpt) and then add '--load_path converted_fiber_coarse_then_fine.pth' to the training command.

Hi @zdou0830 ,
Thanks for the response. We are actually facing some difficulties converting the checkpoint format to something that is compatible with coarse-grained training, so were curious if there is any existing piece of code/tool that we could use for this.

Hi @AdityaAgrawal-code, sorry that I don't have a script for this. It should be just matching the weight names between the two checkpoints. What issues do you have right now?

So there are some weights that I am unable to find an equivalent for in the fine-grained checkpoint. Is that expected?
Here is a list for reference:
NOTE: Some layers unloaded with pre-trained weight:
cross_modal_image_pooler.dense.{bias, weight}
cross_modal_image_pooler_itc.dense.{bias, weight}
cross_modal_image_transform.{bias, weight}
cross_modal_image_transform_itc.{bias, weight}
cross_modal_text_pooler.dense.{bias, weight}
cross_modal_text_pooler_itc.dense.{bias, weight}
cross_modal_text_transform.{bias, weight}
cross_modal_text_transform_itc.{bias, weight}
itm_score.fc.{bias, weight}
logit_scale
mlm_score.bias
mlm_score.decoder.weight
mlm_score.transform.LayerNorm.{bias, weight}
mlm_score.transform.dense.{bias, weight}
text_transformer.encoder.layer.10.crossattention_t2i.output.LayerNorm.{bias, weight}
text_transformer.encoder.layer.11.crossattention_t2i.output.LayerNorm.{bias, weight}
text_transformer.encoder.layer.6.crossattention_t2i.output.LayerNorm.{bias, weight}
text_transformer.encoder.layer.7.crossattention_t2i.output.LayerNorm.{bias, weight}
text_transformer.encoder.layer.8.crossattention_t2i.output.LayerNorm.{bias, weight}
text_transformer.encoder.layer.9.crossattention_t2i.output.LayerNorm.{bias, weight}
text_transformer.pooler.dense.{bias, weight}
token_type_embeddings.weight
vit_model.layers.0.blocks.1.attn_mask
vit_model.layers.1.blocks.1.attn_mask
vit_model.layers.2.blocks.1.attn_mask
vit_model.layers.2.blocks.11.attn_mask
vit_model.layers.2.blocks.13.attn_mask
vit_model.layers.2.blocks.14.attn.norm_i2t_i.{bias, weight}
vit_model.layers.2.blocks.15.attn.norm_i2t_i.{bias, weight}
vit_model.layers.2.blocks.15.attn_mask
vit_model.layers.2.blocks.16.attn.norm_i2t_i.{bias, weight}
vit_model.layers.2.blocks.17.attn.norm_i2t_i.{bias, weight}
vit_model.layers.2.blocks.17.attn_mask
vit_model.layers.2.blocks.3.attn_mask
vit_model.layers.2.blocks.5.attn_mask
vit_model.layers.2.blocks.7.attn_mask
vit_model.layers.2.blocks.9.attn_mask
vit_model.layers.3.blocks.0.attn.norm_i2t_i.{bias, weight}
vit_model.layers.3.blocks.1.attn.norm_i2t_i.{bias, weight}
vit_model.norm.{bias, weight}
Here is a list of unused weights from the fine-grained checkpoint: (note that as per my understanding the fpn and rpn weights are irrelevant to the main FIBER coarse-grained step)
Potential unmatched keys from source state dictionary:
fpn.fpn_inner2.{bias, weight}
fpn.fpn_inner3.{bias, weight}
fpn.fpn_inner4.{bias, weight}
fpn.fpn_layer2.{bias, weight}
fpn.fpn_layer3.{bias, weight}
fpn.fpn_layer4.{bias, weight}
fpn.top_blocks.p6.{bias, weight}
fpn.top_blocks.p7.{bias, weight}
norm1.{bias, weight}
norm2.{bias, weight}
norm3.{bias, weight}
rpn.anchor_generator.cell_anchors.{0, 1, 2, 3, 4}
rpn.head.bbox_pred.{bias, weight}
rpn.head.centerness.{bias, weight}
rpn.head.cls_logits.{bias, weight}
rpn.head.dot_product_projection_text.{bias, weight}
rpn.head.dyhead_tower.0.AttnConv.1.{bias, weight}
rpn.head.dyhead_tower.0.DyConv.0.bn.{bias, weight}
rpn.head.dyhead_tower.0.DyConv.0.conv.{bias, weight}
rpn.head.dyhead_tower.0.DyConv.1.bn.{bias, weight}
rpn.head.dyhead_tower.0.DyConv.1.conv.{bias, weight}
rpn.head.dyhead_tower.0.DyConv.2.bn.{bias, weight}
rpn.head.dyhead_tower.0.DyConv.2.conv.{bias, weight}
rpn.head.dyhead_tower.0.offset.{bias, weight}
rpn.head.dyhead_tower.0.relu.fc.0.{bias, weight}
rpn.head.dyhead_tower.0.relu.fc.2.{bias, weight}
rpn.head.dyhead_tower.1.AttnConv.1.{bias, weight}
rpn.head.dyhead_tower.1.DyConv.0.bn.{bias, weight}
rpn.head.dyhead_tower.1.DyConv.0.conv.{bias, weight}
rpn.head.dyhead_tower.1.DyConv.1.bn.{bias, weight}
rpn.head.dyhead_tower.1.DyConv.1.conv.{bias, weight}
rpn.head.dyhead_tower.1.DyConv.2.bn.{bias, weight}
rpn.head.dyhead_tower.1.DyConv.2.conv.{bias, weight}
rpn.head.dyhead_tower.1.offset.{bias, weight}
rpn.head.dyhead_tower.1.relu.fc.0.{bias, weight}
rpn.head.dyhead_tower.1.relu.fc.2.{bias, weight}
rpn.head.dyhead_tower.2.AttnConv.1.{bias, weight}
rpn.head.dyhead_tower.2.DyConv.0.bn.{bias, weight}
rpn.head.dyhead_tower.2.DyConv.0.conv.{bias, weight}
rpn.head.dyhead_tower.2.DyConv.1.bn.{bias, weight}
rpn.head.dyhead_tower.2.DyConv.1.conv.{bias, weight}
rpn.head.dyhead_tower.2.DyConv.2.bn.{bias, weight}
rpn.head.dyhead_tower.2.DyConv.2.conv.{bias, weight}
rpn.head.dyhead_tower.2.offset.{bias, weight}
rpn.head.dyhead_tower.2.relu.fc.0.{bias, weight}
rpn.head.dyhead_tower.2.relu.fc.2.{bias, weight}
rpn.head.dyhead_tower.3.AttnConv.1.{bias, weight}
rpn.head.dyhead_tower.3.DyConv.0.bn.{bias, weight}
rpn.head.dyhead_tower.3.DyConv.0.conv.{bias, weight}
rpn.head.dyhead_tower.3.DyConv.1.bn.{bias, weight}
rpn.head.dyhead_tower.3.DyConv.1.conv.{bias, weight}
rpn.head.dyhead_tower.3.DyConv.2.bn.{bias, weight}
rpn.head.dyhead_tower.3.DyConv.2.conv.{bias, weight}
rpn.head.dyhead_tower.3.offset.{bias, weight}
rpn.head.dyhead_tower.3.relu.fc.0.{bias, weight}
rpn.head.dyhead_tower.3.relu.fc.2.{bias, weight}
rpn.head.dyhead_tower.4.AttnConv.1.{bias, weight}
rpn.head.dyhead_tower.4.DyConv.0.bn.{bias, weight}
rpn.head.dyhead_tower.4.DyConv.0.conv.{bias, weight}
rpn.head.dyhead_tower.4.DyConv.1.bn.{bias, weight}
rpn.head.dyhead_tower.4.DyConv.1.conv.{bias, weight}
rpn.head.dyhead_tower.4.DyConv.2.bn.{bias, weight}
rpn.head.dyhead_tower.4.DyConv.2.conv.{bias, weight}
rpn.head.dyhead_tower.4.offset.{bias, weight}
rpn.head.dyhead_tower.4.relu.fc.0.{bias, weight}
rpn.head.dyhead_tower.4.relu.fc.2.{bias, weight}
rpn.head.dyhead_tower.5.AttnConv.1.{bias, weight}
rpn.head.dyhead_tower.5.DyConv.0.bn.{bias, weight}
rpn.head.dyhead_tower.5.DyConv.0.conv.{bias, weight}
rpn.head.dyhead_tower.5.DyConv.1.bn.{bias, weight}
rpn.head.dyhead_tower.5.DyConv.1.conv.{bias, weight}
rpn.head.dyhead_tower.5.DyConv.2.bn.{bias, weight}
rpn.head.dyhead_tower.5.DyConv.2.conv.{bias, weight}
rpn.head.dyhead_tower.5.offset.{bias, weight}
rpn.head.dyhead_tower.5.relu.fc.0.{bias, weight}
rpn.head.dyhead_tower.5.relu.fc.2.{bias, weight}
rpn.head.scales.0.scale
rpn.head.scales.1.scale
rpn.head.scales.2.scale
rpn.head.scales.3.scale
rpn.head.scales.4.scale
rpn.head.{bias0, bias_lang, log_scale}

Hi, these should be fine as they are mostly used for specific pretraining objectives such as MLM.


Add user votes to news stories

Overview
This PR adds the vote count and the user's who have voted for a story to the news show views.
Closes https://github.com/larvalabs/pullup/issues/260
Screens
Desktop

Mobile

IANAD (I am not a designer).
The design here is cluttered and noisy (especially on mobile), but it's something to build on.


Testing

A bit sorry because i annoyed you into merging few hours ago and only after that I found some problems...^^

Changed cookie encoding to raw and set a fixed path.
Added method description and some warning message

np all good. as you may have noticed I don't watch this project much anymore :) but I try keep track of PRs as they arise. @danhunsaker has merge access as well as myself.

I completely forgot I had that...  Sorry!  I'll stay better on top of things...


move to operator specific namespace

Moves our namespace to openshift-cluster-kube-apiserver-operator and updates our ClusterOperator to match.
/assign @sanchezl

lgtm'd in other repos

/refresh


NC_VLEN variable with a 2D array as its element

NetCDF version: v4.9.1
I was wondering if there is any way to assign a 2D array as an element of an NC_VLEN variable.
An NC_VLEN variable can hold elements of different sizes (but of a fixed base datatype).
nc_vlen_t is defined as
typedef struct {
    size_t len; /**< Length of VL data (in base type units) */
    void *p;    /**< Pointer to VL data */
} nc_vlen_t;

One of the members of the struct is 'len', which is of type size_t and stores the length of the array.
If the array we want to write is a 2D array (say of size 2x3), is there a way to store the same to the NC_VLEN variable without converting the same to a linear array of size 6x1?
Can the dimension information be stored such that when I read the NC_VLEN variable back, I can read back the element as a 2x3 variable instead of a 6x1 variable?

The only way I can think of for storing a 2-D array is to map the 2-D array to a 1-D array of the same type.
That then puts the onus on you for doing the translation between 2-D and 1-D.
As for mixed typed values, the only thing I can think of is to map to the lowest common denominator --
namely unsigned bytes. Then again, you need to define the mapping.

No activity


Use the actual Hmac Cava2 device instead of placeholders

Oh that's cool to see that these definitions already exist! But now, the BIG question: Can we simulate this whole thing using vm_compute? That is, can you make the Goal at the end of RunSha256SoftwareOnCava.v go through?
https://github.com/project-oak/silveroak/blob/4b0268816f8e1e14f207a0b93cc5d2c94cdc2189/silveroak-opentitan/hmac/end2end/RunSha256SoftwareOnCava.v#L110-L114
(you might have to use the trace function to debug, and to adapt the amount of fuel in the exists n, and to adapt device.maxRespDelay, and then it still might not work, and debugging support is so bad that maybe it will be easier to just prove it correct than to waste too much time on debugging...)

@fshaked @blaxill what's the current status on the "can we simulate this with vm_compute" question? Does it work? Or do we believe that all the code is present, but also some bugs are present? Or is someone still working on some code that needs to be written/changed and you don't expect this simulation to work yet?

Last time I looked at it the mac device was not ready (didn't implement the sha256 only mode). I should try it again, now that it's implemented.

I tried whether we can simulate it using vm_compute, but it seems that the first time the Cava Hmac device is invoked, execution becomes very slow and consumes a lot of memory, ie the following expression blows up under vm_compute:
Definition test :=
  step hmac_top (reset_state hmac_top)
       (true, (0%N, (0%N, (2%N, (0%N,
         ((0x41110000 + 0x800)%N, (0%N, (42%N, (0%N, true)))))))), tt).

It's not quite clear to me what could cause this blowup, and at first sight I couldn't find anything obviously slow (such as, eg, 2^32 on nat).


How can I change the color of the register in the General register window?

Hi,
Not really an issue but I just want to know what I should do to change my text color for the registers' name in the General Registers window while debugging.
I installed the theme and whenever I run debug, it look like this:

It is quite hard to read but I don't know which option is right to fix it.
Thanks for your time!

Which version of IDA are you using?
These colors are defined in the TCpuRegs namespace.

I'm using IDA 7.7 on Windows 7.
Can you show me how can I get to edit that namespace? Where is it located?

[UPDATE]
I found the solution by comparing other theme css files - Just add these lines to theme.css:
TCpuRegs ui_label_t
{
    color: #eeeeee;
}

Also, thank you for this great theme and for helping me!!


Glob 7.2.3 is outdated

Actually glob is in Version 7.2.3 and throws deprecation warnings in my build pipeline.

<EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported

Furthermore glob dependencies also cause further deprecation warnings e.g. inflight which has reported memory leaks.

<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

Is it on the roadmap for this repo to take care for deprecation warnings?
Thanks :-)

Yeah. Looking into options.


Chrome screensharing plugin

For now we just use this extension here:
https://chrome.google.com/webstore/detail/janus-webrtc-screensharin/hapfgfdkleiggjjpfpenajgdnfckjpaj?utm_source=chrome-app-launcher-info-dialog
This is a little bit misleading to the user because knockplop is not a janus related service.
Alternatives:

Fork janus extension or any other open source extension, make it "product neutral" and notice the user about the potential security risk because it is allowing every webside to acces your screen! Make in install documentation one section about how to setup your own secure chrome-extension.

make a knockplop screensharing extension and whitlist all participating registered knockplop services.
maybe we could implement both alternatives...

I am not happy with the actual behavior and want to implement 2.
During last dev-meeting I mentioned that registered site needed, but I couldn't recall the reason.
Now I found it, the reason is inline install.

Verified site requirement
For security reasons, inline installations can only be initiated by a page on a site that is verified (via Webmaster Tools) as being associated with that item in the Chrome Web Store.

See inline Install in detailed:
https://developer.chrome.com/webstore/inline_installation?hl=hu

As decided I already separated the plugin: https://github.com/misi/knockplop-chorme-plugin
TODO: Add a description how to setup.

I have made already a plugin that we could use.
https://chrome.google.com/webstore/detail/knockplop-screensharing/glaipmkfbnnfjblbajlffkekbnebkpgg
TODO: update icons any visual elements:

At least it is needed to make it configurable which plugin the service operator want to use:
See this commit chrome service with inline/auto install.
https://github.com/misi/knockplop/commit/17b254326227813c919331c459ff77dc86f7ceaa

Merged PR from misi for now, but this solves not the issue. We need more discussion here I think. As far as I understand the verified site requirement from chrome-plugin is for inline installation, so if the actual site is not verified it could just link to the extention and use it anyway with a little bit more user interaction? In that case I'm fine with this.

I think you see now the situation correctly, and sorry for the confusion I made.
If so then our points I think split so we need to make it configurable..
Because I still want to stick and take the advantage of inline extension install, to give better user experience in my services.

The three way and howto:

Without Chrome extension Inline Install:

(A)  Use a General Plugin

If You are happy with actual behaviour install janus plugin then we are done.
This is the way if you stick with "easy service replication". But it is not user friendly...

Drawback: Depending an external component!!

(B) Use an own custom plugin

Be a chrome extension developer. (Pay few $ to google) to access https://chrome.google.com/webstore/developer/dashboard/
To customize the plugin name and design etc, you need to create and fork knockplop chrome plugin
https://github.com/misi/knockplop-chrome-plugin/
Install in chorme extension store https://chrome.google.com/webstore/developer/dashboard/
Customize the knockplop code (replace plugin id) too to point your plugin.

(C) With Chrome extension Inline install:
It gives a the best ultimate user experience.
In nutshell: chrome for the first visit detects that the plugin is not yet installed, it offers the user to install with one click!

Fork customize and upload your plugin the same Way as in Point (B).
For Chrome extension inline install ("auto-magical install") see this commit : https://github.com/misi/knockplop/commit/17b254326227813c919331c459ff77dc86f7ceaa
and make similar change on knockplop
Drawback: Site must be validated with google.
e.g.

Add in .gitignore a line:
google_verify
Add to server.js this line

app.use('/',express.static(__dirname + '/google_verify'))
And create the "token" (acquired from google webmasters page)  file in this google_verify dir.
And verify your page on: https://www.google.com/webmasters/tools/home


Fix Table Samples Issue

Fixes https://github.com/Azure/azure-sdk-for-java/issues/36159
sandeep-sen, josefree, mario-guerra, annatisch and jairmyree for notification.

API change check
API changes are not detected in this pull request.


Is there a way to rename saved files?

Would be nice to specify names/prefixes for uploaded images.
Something like this
data.avatar = Attachment.fromFile(avatar, {name: new Date().getTime() + '-avatar'} );

Yup. Can be supported

I think that would be very good, to avoid clashes when multiple users upload similarly named files, and the directory structure is not refined.

The file is already renamed to random filename. So conflicts are already taken care of.


Added option to specify node sizes

Fixes #7 ?

I tried playing around with this the from_graph example and made this:

This is with decreasing the node heights to 15.0, and a vertex_spacing of 1 (note a vertex spacing of 0 is completely broken, it might be worth checking that it is at least 1). So it looks like we're not considering the size of a node.
In addition, I tried running the visualization through the HEAD state (with a vertex spacing of 100) and got this:

Yeah, that all tracks. Both of these issues are symptoms of x axis being adjusted after the main layouting algorithm is completed. As I said, I will look into that.

I think I managed to fix it, it was much simpler than anticipated.

This fix still doesn't quite work. Here's an example where I made one of the nodes just absurdly long:

There's no reason for Jerry and Morty to be so far from Person.

@dolezvo1 I pulled out parts of this PR into separate PRs: #16 (this makes #8 obsolete), and #13. I added you as a co-author though since these are somewhat repackaging your commits. I would appreciate a review of these (but no pressure of course).
Note in #16 I've intentionally chosen not to create to_svg and instead just made it part of the example. I don't think we should be providing a way to render the the resulting layout - there's a bunch of ways and I don't think this crate has any business with it (e.g., I prefer rectangles over ellipses, which with a to_svg option we might then need to support). Better to just leave that to the calling code (but an example is still useful!).
I haven't yet made time to read the underlying paper for phase 3, but I suspect it will shed light on adding size to vertices. I don't think we can do it as a "post-processing" step - I think we need the mod algorithm::p3_calculate_coordinates to consider the vertex sizes.

I created a new PR #18. I was able to figure it out! I am very happy with the resulting graphs.

That looks really nice, congrats! Do I close this MR?

I would say so, since we've seen how this approach can break. But I'm not the maintainer so... :P


start with tests using bats framework, put travisci on

please change
[![Build Status](https://travis-ci.org/ipoval/bash-it.svg?branch=master)](https://travis-ci.org/ipoval/bash-it)

to
[![Build Status](https://travis-ci.org/Bash-it/bash-it.svg?branch=master)](https://travis-ci.org/Bash-it/bash-it)

Awesome, thanks!

BTW: You forgot to change the reference to composure.sh in bash_it.sh: https://github.com/Bash-it/bash-it/commit/95014c5ed5810991da8788c9aca4ba00a41d2ccd

I enabled the Travis build on the organization repo. It wasn't that straightforward, I had to first grant application access for Travis. This StackExchange question helped: http://stackoverflow.com/questions/28876137/how-to-allow-travis-ci-access-to-a-github-organisation-with-restricted-applicati
Seems to be working fine now: https://travis-ci.org/Bash-it/bash-it

@nwinkler, thank you for doing this, :+1:


Added Matrix.h which contains all matrix related operations

What the program do ?
It is a header file which contains matrix operations.
In what programming language it is written?
It is written in c++

matrix header file written in c++


Postgres dump problem with postgres 14

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
No response
Current Behavior
When i execute dump (with drush sql-dump or pg_dump -h db -p 5432 -U db -f backup.sql db) return following error:
pg_dump: error: server version: 14.3 (Debian 14.3-1.pgdg110+1); pg_dump version: 13.5 (Debian 13.5-0+deb11u1)
Expected Behavior
The same version is necessary in server and cli to use psql commands.
Steps To Reproduce
configure config.yml with this data:
name: proyectname
type: drupal9
docroot: web
php_version: "8.0"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
  type: postgres
  version: "14"
nfs_mount_enabled: false
mutagen_enabled: false
use_dns_when_possible: true
composer_version: "2"
disable_settings_management: true
web_environment: []
nodejs_version: "14"

into container execute:
drush sql-dump > database.sql
or
pg_dump -h db -p 5432 -U db -f backup.sql db
Anything else?
No response

Have you tried ddev export-db, that would be the tried and true technique. And don't forget about ddev snapshot.
Are you using pg_dump on the db container or the web container?
Unfortunately, I don't think we'll ever be able to provide the special version of pg_dump on the web container that is installed in the db container, so drush sql-dump may not be an option in that case. But ddev export-db uses the proper tools/clients in the db container.

In this case the web is a multisite and with ddev export-db is not possible specify site to get dump (i have 6 differents databases) if a execute ddev-export-db what will be the database that export? thanks for all

I'm glad you're using postgres, and look forward to hearing how it's going. That was a new feature as of v1.19, and so I imagine it has some rough spots.

with this command works, thanks! but in my opinion you should be able to use drush inside of container.
Thanks

I'm open to ideas how that would be. I don't think this can work on a server as a general thing. Since the database container (database server) here is a specific postgres version 9-14, but the client (pg_dump) on the ddev-webserver is a fixed version (13 seems to come with Debian Bullseye). It would be hard and awkward to install 6 versions of pg_dump on the ddev-webserver, and then you'd still have to tell drush which one to run, and drush would have to know the database version. Or something. It's not even easy to install pg_dump or various postgres versions on a server. In the ddev-dbserver, it's separate docker images for each version.
AFAICT this is an artifact of drush living in the webserver and pg_dump being version-specific; you're likely to have the exact same problem on your production server if you have db server and webserver on different systems.
Of course, you can change your postgres version to 13 and this should work for a while until debian 12 bookworm comes out and ddev starts using it for ddev-webserver, at which time I imagine the pg_dump will be a postgres 14 version.
I'm going to close this as I don't see a path to resolve it, but I'm happy to continue the conversation here or elsewhere, especially if you can see a path.

Similar issue applies for CraftCMS commands craft db/backup for instance:

Hi @leevigraham,
You can copy pg_dump from ddev-your-project-db container to ddev-your-project-web container.
See an example from StackOverflow pg_dump server and pg_dump version mismatch in docker

@rfay @stasadev I found that adding my own Dockerfile and upgrading the web containers Postgres seems to work:
RUN sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
RUN sudo apt-get update
RUN sudo apt-get -y install postgresql-15

And of course... ddev export-db is the supported technique for db dumps. I understand why you wnat yto use the technique you have of course.  It uses the matching client in the db container. It's hard to install the correct client in the web container, since all that work is done in the db container.
It is in fact a bug, and a more general bug report is welcome. The most common place this shows up is mysql 8.0 users who do something like you're doing, and the mysql client in the web container is the mariadb mysql client.

I understand why you wnat yto use the technique you have of course.

@rfay some context on this… we're using CraftCMS and use the CraftCMS cli command db/backup on production to sync the db to our local environments.
DDEV isn't available on production so the process needs to be the same on all environments.
But yes… for local development between developers ddev export-db works fine.


Use NullLoggerFactory.Instance in DefaultServiceResolver

@slang25 @maurofranchi @martincostello could I have a reapproval please...I added some tests to make codecov happy


Document that a CupertinoApp isn't necessary for an iOS app

From https://medium.com/asos-techblog/flutter-vs-react-native-for-ios-android-app-development-c41b4e038db9 it wasn't clear that CupertinoApp wasn't necessary to build an iOS app. Document and add an example.

Issue moved to flutter/website #2035 via ZenHub

Sorry, I meant this should be documented in the API docs

@xster @HansMuller is this still an issue?

Yes it is.

Hello @Hixie
can you please review this PR?
Thanks


Perform Kotlin code analysis during the build

This PR moves Detekt code analyzing from GitHub workflow to Gradle detekt task. This task is bound to check by default, thus it will be executed with ./gradlew build.
It addresses config #412.
In particular, this changeset does the following:

Drops detekt-analysis GitHub workflow.
Declares detekt Gradle plugin in the root project (with no apply) and applies it in the subprojects (config #377).
Specifies Detekt baseline and config files separately for each module. It seems that the baseline file is meant to be per-project. This one should not be shared. But the common parts of detekt config can be extracted into /config/quality/detekt-config-common.yml and shared among the repos. Detekt accepts several config files to be passed.
Performs the most basic configuration of the analyzer by suppressing two rules for tests files.

Side changes:

In root's plugins section, apply scope functions are replaced with more appropriate with function. Intended purpose of apply seems to suggest modifying/configuring of the receiver object.
val generatedDir is moved to a single scope within which it's used.
Fixes a name of the ignored exception. This one was reported by the analyzer.

@alexander-yevsyukov @armiol Please take a look.
Detekt is set up here without buildSrc.

@armiol @alexander-yevsyukov PTAL.


Improve error message

resolve #274
Change to an error message containing invalid character

Codecov Report

Merging #277 (08c2e1a) into master (14f03c1) will increase coverage by 0.08%.
The diff coverage is 47.61%.

@@            Coverage Diff             @@
##           master     #277      +/-   ##
==========================================
+ Coverage   81.33%   81.42%   +0.08%
==========================================
  Files          47       47
  Lines       15516    15572      +56
==========================================
+ Hits        12620    12679      +59
  Misses       2336     2336
+ Partials      560      557       -3


[Feature]: Handle RBF Received Activity

Describe the problem
Currently, when a Received Activity is replaced (RBF) an error toast is displayed, the existing Received Activity turns red has it has been replaced from the mempool, and a new Received Activity appears for the new transaction.
Describe the solution
There is no need for the toast error.
The existing Received Activity could be updated to include the new transaction details when RBF is detected.
Additional context

@aldertnl any advice here?


Improve web loading experience

We need to improve the web loading screen and fix the content length header not being reliable.

I improved the web loading screen, added a multiplier to correct for the content length header not being reliable with compressed content, and clamped the percentage from 1 to 99 to prevent any overflow.


Extension creates .vscode/settings.json in new folders

When I open new folder in vs code this extension creates .vscode/settings.json with the following content:
{
    "favorites.sortDirection": "ASC",
    "favorites.groupsFirst": true
}

@Yanpas ,
Thank you for your feedback!
Please update to version 2.2.2. Problem should be fixed.
If you have any problems, open issue.


Too many frames have rectangles when using a Tracker

Hi, I am trying to use the built in tracker model (pytorch foolwood siamask). It works well but the problem is that even when I set the tracking frame number, it keeps putting rectangles inside the remaining frames. Is there any way to solve it?
Thank you.

Thank you. I just installed the last version of CVAT. However, the tracker is not working right now, I get an error about an internal error. Do you know what is the problem?


feat(plugin-catalog): add catalog plugin

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 48.166%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
545

Relevant Lines:
986

💛  - Coveralls


Respect pragmas in abap code

Some checks might overlap with existing or new backend checks which can be suppressed by pragmas. If I run abaplint, it will report these suppressed errors again as exclusions work differently here.
For compatibility we need

a general mechanism for pragma-based suppression
a list of overlapping checks and their pragmas

call new method getPragmas on StatementNode to get pragmas

@FreHu any specific rules in mind? If not I think we can close the issue and open issues for each case

Yeah, I forgot what this was about.


error executing specified Python data on office 2016

Hello,
today we tried to execute the collection/osx/screenshot module on a OSX El Capitan using the macro stager. We did not know however that Excel 2016 on Mac executes macros in a sandbox environment, giving us almost no permissions. Not knowing that, we launched the previously mentioned module with the default value of SavePath (/tmp/out.png), and for the lack of privileges, the agent's payload crashed and we lost contact, in the logs of the agent, we found the following error:
"[!] Error response: error executing specified Python data [Errno 2] No such file or directory: '/tmp/out.png'
Buffer data recovered:
".
We recommend using a try/except statement to avoid the crashing of the payload, and we hope you add a note of this behavior (sandbox on office 2016) in the description of the stager so that the future users know what to expect.

Thanks for the heads up on Office 2016, it's something we've heard from a few others but haven't been able to test yet.
Alex, are you able to check into this so the agent can at least exit gracefully?

Tupi can dig into this.

Yup*

@imaibou This is deffiently a issue I need to look into, right now we do handle errors on failed modules both on the server and agent (https://github.com/adaptivethreat/EmPyre/blob/master/data/agent/agent.py#L349). Let me dig a bit deeper

This has been fixed and pushed to Dev branch. The agent will now check for both little snitch and sandboxes. The agent will not call back if either are true. Thanks for the input!

Why block the agent when the stager is sandboxed? there are still things you can do, like read the clipboard, get screenshots after finding a writable folder (which is the current location the stager is executed on) and maybe other things. I would have just made a test to see if the module has enough rights to write into a file before writing so that the agent wouldn't crash.

I propose to separate the little snitch treatment from the sandbox treatment. This way, the user can interact with the stager even when sandboxed and in the same time avoid detection by little snitch by using the configuration "littleSnitch=true" and "sandbox=false".

Have you tested the clipboard grab from the sandbox?

yes it works, taking screenshots also works when changing the temporary folder to a writable folder. I propose you revert the last commit you made, and I will try to test all the different empyre modules to see which ones work on a sandboxed environment. We can add a tag to each module like the "OpsecSafe" for example, and we can call it SandboxSafe or something. Like I said on my last comment, I propose we fork the "safechecks" switch to two separate switches: "littlesnitch" and "sandbox", this way the user can make a choice. I may have some free time these days so I will test the different modules and make a pull request.

What if the agent just printed out that it's operating in a sandbox? Is that what you're going for? Just knowing that the agent is in a sandbox?

That would be a good start, and if sandbox mode is detected, we could change some default settings for some modules to make them work even in sandbox (if that is possible), as an example, we can change the "SavePath" parameter in the "collection/osx/screenshot" module to point to a file in the current directory instead of /tmp/out.png like shown in the screenshot. plus, it would be nice to know
for each module if it works in sandbox mode.

Sweet! Sounds good.

Revert complete!


One NPE in URLBuilder.java

Hello,
Our static analyzer found a following potential NPE. We have checked the feasibility of this execution trace. It is necessary to defend this vulnerability to improve the code quality.

Return null to caller (Trace staring point)
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L69

Function parseURL executes and returns
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L174

Function add executes and registries contains null value
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L174

Function parseURLs executes and returns the registries, assigning it to urls
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L206

Function next executes and returns null value
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L208

The return value of function next is used as the 1st parameter in function from (the return value of function next can be null)
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L210

url is passed as the this pointer to function getProtocol (url can be null), which will leak to null pointer dereference
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/URLBuilder.java#L108

Commit: f26ba91b67f642148a10d3b197502e29928b77bf
ContainerAnalyzer

I will fix it ASAP.

Hello,
Our static analyzer found a following potential NPE. We have checked the feasibility of this execution trace. It is necessary to defend this vulnerability to improve the code quality.

Return null to caller (Trace staring point)
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L69
Function parseURL executes and returns
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L174
Function add executes and registries contains null value
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L174
Function parseURLs executes and returns the registries, assigning it to urls
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L206
Function next executes and returns null value
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L208
The return value of function next is used as the 1st parameter in function from (the return value of function next can be null)
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L210
url is passed as the this pointer to function getProtocol (url can be null), which will leak to null pointer dereference
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/URLBuilder.java#L108

Commit: f26ba91
ContainerAnalyzer

Hello,
Our static analyzer found a following potential NPE. We have checked the feasibility of this execution trace. It is necessary to defend this vulnerability to improve the code quality.

Return null to caller (Trace staring point)
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L69
Function parseURL executes and returns
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L174
Function add executes and registries contains null value
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java#L174
Function parseURLs executes and returns the registries, assigning it to urls
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L206
Function next executes and returns null value
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L208
The return value of function next is used as the 1st parameter in function from (the return value of function next can be null)
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java#L210
url is passed as the this pointer to function getProtocol (url can be null), which will leak to null pointer dereference
https://github.com/apache/dubbo/blob/f26ba91b67f642148a10d3b197502e29928b77bf/dubbo-common/src/main/java/org/apache/dubbo/common/URLBuilder.java#L108

Commit: f26ba91
ContainerAnalyzer

What's the Dubbo version?
Dubbo 版本号多少？

Any update?

Has this been fixed?

I'll fix it


executable for weather model debugging plots

Description

This PR adds an executable for weather model debugging plots, i.e. raiderWeatherModelDebug.py. It can be used exactly the same as raiderDelay.py with the same inputs, but only the weather model debugging plots will be executed and generated.
Type of change

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

Checklist:

[ ] I have added an explanation of what your changes do and why you'd like us to include them.
[x] I have written new tests for your core changes, as applicable.
[x] I have successfully ran tests with your changes locally.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Fixes #134


Fix subscription callbacks when unsubscribe in AuthorizeService.js in React template

Fix subscription _callbacks array is re-assign when unsubscribe in AuthorizeService.js in React template.
It will throw error after the first unsubscribe is called because the variable _callback is changed to the deleted elements. An array containing the deleted elements is returned when calling splice function in JavaScript means the variable reference should not be re-assigned.

@hermanho thanks for the PR.
Could you rebase it on top of the release/3.1 branch so that we can take it on the next release?

@javiercn It is changed.


Proposal: Better default sorting for the explore page

In my opinion, in the default sort filter, the amount of stars (or in better words: the popularity) should take precedence over the overall activity a repository received.
In my opinion, it makes sense to have a default filter that takes the popularity (# of stars) and the amount of activity into account. Meaning that if a project is forked and the abandoned original project has slightly more stars, the fork should still appear in first place. Maybe this could be achieved through given repositories a score influenced by both factors. I guess the modern term for such a search filter would be "relevance". In the short run, before such a filter is implemented, it makes sense to make "stars" the default filter for "explore".
Example

This is an example screenshot taken on codeberg.org with a search query for the Reddit alternative frontend "teddit". A regular user that is just looking for a popular project should prefer the proposed sort filter.
(screenshot taken from: https://codeberg.org/explore/repos?tab=&sort=recentupdate&q=teddit)
This issue isn't an issue for most Gitea users since most run a personal Gitea instance for themselves or an organization where prioritization of search results isn't really that important, but as Gitea powered codeforges like codeberg become more popular, this increasingly becomes an UX issue.

As you have encountered this on Codeberg and this is indeed not relevant for all Gitea instances (e.g. for internal teams, small instances etc seeing all activity is probably preferred), we are going to address this at Codeberg, please also see: https://codeberg.org/Codeberg/Community/issues/575
I think this would benefit all users of Gitea, including smaller instances (even as the impact might not the greatest). The benefit for the wider Gitea community would increase starkly with the inception of federated Gitea, due to the influx in the amount of repositories that are explorable on one's instance. Thus, I would highly prefer to address this issue directly at the Gitea level instead.

And as for trending repositories, this is a dupe of https://github.com/go-gitea/gitea/issues/12234, which was inititally reported at https://codeberg.org/Codeberg/Community/issues/213.
The filter I am proposing is different from the one discussed in #12234. I am proposing a filter that shows repositories that are popular in general (I suggest calling it relevance or popularity) whilst the issue #12234 proposes a filter that shows repositories at the top that have gained traction quite recently, but might not be the most popular yet for the search term. The filter I am suggesting prefers established repositories with loads of stars (while still accounting for the activity, to rank stale projects lower), while a "trending" filter would be the equivalent to HackerNews show, where you might discover projects that became popular quite recently, but might not be too popular. In my opinion, both filters have a reason to coexist, because they serve different purposes. I think one of the two should be the default one, you could then discuss which one should be the default, but because most users look for the most popular project I'd guess the "relevance" or "popularity" filter should be preferable for being default (or perhaps a third filter that combine the two...).


How to view trained model?

I have trained model, how can I launch viewer but not to train?

Use the same training call, but add the following arguments, --trainer.load_dir outputs/data-nerfstudio-{data}/{model}/{timestamp}/nerfstudio_models --viewer.start-train False

Is it load_dir (as in the docs) or load-dir as in the CLI help?

Is it load_dir (as in the docs) or load-dir as in the CLI help?

These will produce the same behavior, but the latter is preferred.


Eventbus and AlertDialog

there is an issue
in my app a message is send from recyclerview adapter to main thread
in the main thread after receiving the message calls another function  to delete item from recyclerview
everything works fine but if i press back key and resume my app after it calls Delete_image(Event.parameter);
give this error

E/EventBus: Could not dispatch event: class something.MessageFunction to subscribing class class something.MainActivity
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@1e867b71 is not valid; is your activity running?

my activity is showing(not in background) the whole process is still fine and working good and alertdialog is showing but just the "error" i know that i can't run dialog in none ui thread and the error is because of that
i have this code in mainactivity
    @Subscribe
   public void onMessageFunction(MessageFunction Event)
    {
        if(Event.myFunction.equals("F_I_Delete"))
        {
            Delete_image(Event.parameter);
          //  Log.d("F_I_Delete",Event.parameter);
            recycler_pos=Event.value;

        }
}

public void Delete_image(String FileToDelete)
    {

        final String FileToDelete_lo=FileToDelete;
        DialogInterface.OnClickListener dialogClickListener = new DialogInterface.OnClickListener() {
            @Override
            public void onClick(DialogInterface dialog, int which) {
                switch (which) {
                    case DialogInterface.BUTTON_POSITIVE:
                        //Yes button clicked
                        boolean deleted = false;
                        File del_file = new File(FileToDelete_lo);
                        if (FileToDelete_lo.contains("xyz")) {
                            deleted = false;
                        } else {
                            deleted = del_file.delete();
                            }
                        }

                        if (deleted) {
                          adapter_images.Remove_item(recycler_pos);
                        } else {
                            Toast.makeText(MainActivity.this, R.string.CantDeleteFile, Toast.LENGTH_SHORT).show();
                        }
                        break;
                    case DialogInterface.BUTTON_NEGATIVE:
                        //No button clicked
                        break;
                }
            }
        };
        AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);//or Builder(this) same result
        builder.setMessage(R.string.DeleteVideoFromPhone).setPositiveButton(R.string.YES, dialogClickListener)
                .setNegativeButton(R.string.NO, dialogClickListener).show();
    }

if i don't show the alertDialog ===no Error
if i call Delete_image from another view ===no Error
if i call Delete_image from onMessageFunction===Error
i have also tried this
@Subscribe(threadMode = ThreadMode.MAIN)
   public void onMessageFunction(MessageFunction Event)

but no luck
everything works fine except the error that is showing
anyway can i ignore it?
thank you for your great job

Where do you call register() and unregister() in your Activity, usually you should use onStart() and onStop()? is your activity running? sounds like EventBus is still holding on to a dead activity.
And yes, you should include @Subscribe(threadMode = ThreadMode.MAIN) to ensure your code runs on the main thread.
I guess you should take a look at the Android lifecycle documentation. -ut

i have used oncreate and ondestroy
there was an if statement for unregistering and it was the issue
thank you very much


extensions: use get() for getting value of 'pygments_style'

This fixes a bug where any subsequent highlighted block with codehilite would result in the omission of the style setting, falling back to default.
Fixes #1240

Can you please add a test for multiple highlighted blocks?

@mitya57 Added them to the now amended commit. 😃

CI error appears unrelated to my change. 😕

43 files checked.
ERROR: 5 files with dead links found!

The reason why we pop the setting is because we also pass the rest of the config items on to Pygments (see the very next line). As each of Pygmants' lexers/formatters have a different set of options they accept, we just pass all unknown keywords on. However, there is no need to pass the style on as we have already defined that. The only reason we don't get an error is because Pygments just ignores any unknown keywords passed to its lexers and formatters. Still, it would be best to not pass it on to avoid any weird conflicts in the future.
Perhaps we should be making a copy of the config for each code block and then we can pop the setting off of the copy.
As an aside, we have the pygments_style setting for historical reasons (it existed before we accepted all Pygments options). If we were starting fresh today we would not define a special option for it and users could just use style  which would get passed it on with the rest of the Pygments' keyword options. Actually, a user could avoid this bug by using style now (without this fix). That said, we should still fix the bug. Although, we might want to deprecate the pygments_style option as it is duplicative and unnecessary.

@waylan Thanks for the explanation! 😃
It took a bit longer to get back to this, but I've pushed an amendment.


Add task type label to task metrics

Previously you would need to spend some time going into the code to figure out if a task is blocking or async. This change allows this determination directly from metrics.

bot merge


od_tasks.merge_dir.MergeDirTask._list_local_names is buggy

https://github.com/xybu/onedrived-dev/commit/827c6826d9a050e49ca930cfba098dca54eba5c0#diff-a9d31af2f651a8e77fb2e0d57c1bd4e6R24

Diff bfbe90c355e453d589fbbee8ac8d8bfc00196d54 is still buggy. Consider the case ['Test', 'test', 'test 1']. The second one will be renamed 'test 1' and overwrite the third one.

The diff 868850eb41399d9b965e5d096a0b11547e53c0ba should solve it.


folio: 24.06 -> 24.07

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/toolstack/Folio/releases.
meta.description for folio is: A beautiful markdown note-taking app for GNOME (forked from Paper)
meta.homepage for folio is: https://github.com/toolstack/Folio
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 24.07 with grep in /nix/store/y9h2pi4yw6f42j55y5brc4d8dsbw2ikc-folio-24.07
found 24.07 in filename of file in /nix/store/y9h2pi4yw6f42j55y5brc4d8dsbw2ikc-folio-24.07

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
folio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y9h2pi4yw6f42j55y5brc4d8dsbw2ikc-folio-24.07 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A folio https://github.com/r-ryantm/nixpkgs/archive/cca2c89a3344601925bf514e83e894718daa4ee2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/cca2c89a3344601925bf514e83e894718daa4ee2#folio

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y9h2pi4yw6f42j55y5brc4d8dsbw2ikc-folio-24.07
ls -la /nix/store/y9h2pi4yw6f42j55y5brc4d8dsbw2ikc-folio-24.07/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

folio

Maintainer pings
cc @Aleksanaa for testing.

@NixOS/nixpkgs-merge-bot merge


Git conflict marker spans looks off by one

The source has been lost to the git gods. Hopefully it's reproducible.

I failed to reproduce this using this very simple example. But it doesn't look off-by one. Closing tomorrow if nothing new is added.
start :: fn {
>>>>>>>
    print "A"
=======
    print "B"
<<<<<<<
}

// Gives

git conflict error: hello.sy:6
      Git conflict marker found at line 6
   4 | =======
   5 |     print "B"
   6 | <<<<<<<
      ^^^^^^^

No that is the problem. The ^^^^^^^ should be one cell to the right.


fix: entry.client not using the new hydrateRoot

i just saw that the indie-stack has react 18.0.0 but the entry.client was using old hydrate. Not sure if this was on purpose but on discord I was told to send a PR nonetheless.
I looked at server.entry and thought of adding renderToReadableStream but I think this might have more implications than I understand about remix's choices.

Can you test this in latest Safari? I get a white page and bunch of errors in console when changing my entry.client.tsx to use hydrateRoot without any other changes.

Would you be interested in doing this for the Blues/Grunge stacks as well?

Can you test this in latest Safari?

I just tested and it's working fine for me.

Hi, same issue on my stack : Hydration failed because the initial UI does not match what was rendered on the server.
Still looking why :D

More details :

Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

The above error occurred in the  component:
at RemixBrowser (...3275:27)
line 3275 is :

function RemixBrowser(_props) {
  let historyRef = React4.useRef();

Appears only on Cypress, so, maybe we need to wait ?

Works indeed only locally

Works indeed only locally

Oh :O you are right ! It only works with NODE_ENV=development


Fix typo on README.md: University of Zaragoza domain is spelled "wunizar"

Wuniversity of Zaragoza :D

Haha, nice! Thanks! :+1:


wrapper.context() API

Similar to wrapper.props, there should be an api to introspect into the context of a component.
The vernacular is sort of weird if we want to mimic the prop/props style as it would be:
wrapper.contexts() // returns entire context object
wrapper.context('foo') // returns foo from the context object

Part of me thinks the word contexts sounds weird. We could do this for an API:
wrapper.context() // no argument - returns entire context object
wrapper.context('foo') // returns foo from the context object

though this might cause some confusion and unreliability to the API. Thoughts?

@blainekasten the .state() and .state('foo') API is like the latter and I think would make sense...
I'm not strictly sure we are able to do this though?  We might need to specify childContextTypes before-hand.... I'm really not sure though.

I've been doing it hackily by this code:
wrapper.node.context; // full context
wrapper.node.context[arg] // context item

Is it not internally safe to depend on the node item? If it is, this API could be really simple to implement. I'll give it a test in a bit.


[#31] Move to rst for README - hopefully Fix display of README badges…

Closes #31

Coverage remained the same at 98.118% when pulling 7aac05803708e4adeba2eeff2080c796a4044c2f on feature/31-rst into fc16fb9bbee986140dc24ca1b3ada340a5ca6581 on master.


Better support for int types

Description:
Support for interger and unsigned integers.
Related issue (if applicable): fixes #10158
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#3915
Example entry for configuration.yaml (if applicable):
- platform: modbus
  scan_interval : 1
  registers:
    - name: custom1
      slave: 10
      register: 29
      register_type: holding
      count: 2
      reverse_order: True
      scale: 0.1
      offset: 0
      precision: 1
      data_type: custom
      structure: ">i"
    - name: uint1
      slave: 10
      register: 19
      register_type: holding
      count: 1
      scale: 0.1
      offset: 0
      precision: 1
      data_type: uint
    - name: int1
      slave: 10
      register: 9
      register_type: holding
      count: 1
      scale: 0.1
      offset: 0
      precision: 1
      data_type: int

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

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

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

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Thanks!


User should see cool animations

@sirpy Please review the animations:
https://drive.google.com/drive/u/1/folders/1ymp8VAQpaP-dj6taXC7VgHMQcsZTHnWR


abusive tweets about Covid19

https://github.com/mawic/german-abusive-language-covid-19
TODO

[ ] crawl tweets and dump them in a zenodo repo
[ ] ...

blocked
Text must be crawled from social platform. Reproducibility not guaranteed.


Create Migration027 and update Migration028

Migration027 migrates all listings and the listing index to the new format.
Migration028 is updated to migrate the inventory table to use strings for
counts.
closes #1718
closes #1721

Coverage increased (+0.8%) to 40.317% when pulling cb5dd78b9870e9a23bdf2e485b49d1afc18089ae on migration27 into 188a334ba7307c93aaae20e0e84efd2231fa73d6 on ethereum-master.


[relay][ir] add string type to relay ir

 I am a mlsys engineer who mainly provides server support for the nlp-related model for the company. In the nlp-related business scenario, we found that tvm can provide superior tensor computing performance, so we intend to promote tvm applications within the company.

Moreover, we prefer to integrate more business processing operations with **tvm relay** and provide end-to-end solutions.

Currently, TVM already provides data type support such as String/Array/Map at the Runtime level, but there is no corresponding interface at the **relay ir** level, and we sincerely hope to provide corresponding support at the relay level.

We want to do this in three stages:
1) Add String IR types and support easy operation of String
2) Add Array IR types and support easy operation of Array
3) Add MapIR types and support easy operation of Map

In this PR, we have add String type, hoping to get community support and feedback, and if possible, merge to tvm master, which can reduce branch maintenance costs here.

Good day!

Thanks for bringing up the PR. It would be great to bring up an RFC discussion thread on the https://discuss.tvm.ai/. In particular, while we acknowledge that it is important to support types such as String/Map/Array, we will need to discuss the best way to support them.
We need to discuss the choice of the type data structure, as there are a few ways to support such kind of types. For example, one potential way is to create an RuntimeObjectType that directly maps to the runtime type index.
cc @jroesch

RuntimeObjectType

Great idea

Thanks for reply and support, RFC link below:
https://discuss.tvm.ai/t/rfc-relay-containers-array-map-string/7560
@tqchen

At the same time, thanks to @MarisaKirisame  for the help and support

I suppose this series of change are really big. Would you like to add testcases for this change?

I suppose this series of change are really big. Would you like to add testcases for this change?

No problem, I will add some test code, thank you.

Sorry that this PR is a bit outstanding at the moment. @jroesch @cloud-mxd can you please follow up ?

I assume this is no longer active. Maybe interesting consideration for relax (aka relay 2.0)


Fix slurm provider type error broken by PR #2259

PR #2259 introduced a type error which was not found by CI as we have no slurm testing in CI.
cc @aclowes
Type of change

Bug fix (non-breaking change that fixes an issue)

@benclifford sorry about that, thanks for fixing it!


#415 | Back button behavior

Fixes #415
Description
See ticket
Test scenarios

go to https://deploy-preview-416--wallet-staging.netlify.app/
sign in
go to https://deploy-preview-416--wallet-staging.netlify.app/evm/send
press the back button in the app header

you should be taken to the wallet page

go to https://deploy-preview-416--wallet-staging.netlify.app/evm/collectible-details?contract=0x0000000000000000000000000000000000000000&id=123456
press the back button in the app header

you should be taken to the inventory

Checklist:

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings

@EJSG Closing this PR as changes are already reflected on develop (0 files changed after updating branch).


Update publish folder paths

It appears that the latest preview no longer publishes assets to {ASSEMBLY NAME}/dist/ but instead to wwwroot. The documentation should be updated accordingly.

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

ID: 89b4d6a1-1436-7ba8-a5c5-8dcb6a955bb0
Version Independent ID: 4a6a13b4-fe5c-a9fb-5d7d-33d5aa0fbac3
Content: Host and deploy ASP.NET Core Blazor WebAssembly
Content Source: aspnetcore/host-and-deploy/blazor/webassembly.md
Product: aspnet-core
Technology: aspnetcore-hostdeploy
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @cornem ... it was taken care of on https://github.com/dotnet/AspNetCore.Docs/pull/17283. It almost went live on Friday on https://github.com/dotnet/AspNetCore.Docs/pull/17313. :smile: I'll take it live now.

Oh! I see what you mean ... additional lines not covered by #17283. Thanks ... I'll patch those up.

.

.


Detect within cookiecutter template whether a cruft update is being performed

I use a post generation hook in my cookiecutter template with steps that I only want to perform on initial creation of a project, but not during a cruft update. Is there a way to determine whether a cruft update is currently being performed? I guess an environment variable  that my template can read in would be sufficient.

I have the same problem. I would like that my post_gen hook is only executed during the initial creating and not when doing cruft update or cruft diff
@Mr-Pepe did you find any solution?

I am using a hook like this one as workaround:
#/bin/bash

{% if cookiecutter.execute_hooks %}
   here my hook
{% endif %}

I set execute_hooks to True when creating the project for the first time and then I edit .cruft.json to set execute_hooks to False so they are not executed when using cruft diff or cruft update

+1 to this feature request. Currently I'm using a variation of workaround suggested by @pescobar, but it is not optimal, as it requires template users to tinker with config they don't understand or have interest in.
Another workaround I tried is to edit .cruft.json in post-hook and change the parameter automatically, but it does not seem the file gets created until after the post-hook run.
The rationale for this is that in my cookiecutter template I use post-hooks to initialise some gitignored .env files for local directory. Post-hook asks for Personal Access Tokens and does some access validation. It is very helpful for user onboarding and getting them going quickly. When 'cruft update' runs, it expands the template twice (old and new versions) to generate the diff to apply, and I don't want post-hook to run during that period. If I could reliably detect the replay condition from the hook, I could shortcut it.
I also brought it up in cookiecutter feature request here https://github.com/cookiecutter/cookiecutter/issues/1983

How about this:

Add a new variable to your cookiecutter.json like "_cruft_create": false
Run cruft create path/to/template --extra-context='{"_cruft_create":true}'
Use something like if {{cookiecutter._cruft_create}} in the hook script to control the program flow

This still writes "_cruft_update": true to the cookiecutter.json but the next update with cruft update (no extra context) will switch that to false.
Cruft could always set _cruft_create, _cruft_update, and _cruft_link when executing one of these commands, so users can react to them by just adding them to their cookiecutter.json. Any maintainer opinions on this? I'd be willing to implement and document this.


feat: add debug logging to logcat

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project (npm run lint produces no warnings/errors)
[ ] Any required documentation has been added
[ ] I have added tests to cover my changes

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Refactor BUF_FIFO of JPEG encoder

BUF_FIFO actually bufferizes 16 entire lines which is becoming problematic for high resolutions (720p and 1080p).
Buffering could be reduced to 16 pixels for each line (eventually 2x16 to hide DRAM latency) which would reduce a lot blockram usage and ease P&R.

SGTM

Done in https://github.com/timvideos/HDMI2USB-misoc-firmware/commit/4be3f7a24fa3ec99605c9d7889231810b49fda31.


Refactor the suspicion protocol to a generic timebased state transition.

This refactoring prepares the ground for reaping faulty nodes.

Besides the name in the log, LGTM.

@Motiejus @thanodnl can you take a second look?

See some non-blocking comments, so LGTM.
For next time, it would be great to have a non-squashed commit for re-review (since seems like github doesn't support looking between two edits of the same commit).

LGTM

Ty @Motiejus @thanodnl


Connect multiple accounts, when switching accounts, it will execute onchanged many times

@coxlr @chnejohnson

Hey beifang721, what's your vue-dapp version? What's the code you write? Please tell me more details so that I could reproduce the problem.

"vue-dapp": "^0.4.2",
onChanged((data) => {
  try {
    if (chainId.value === 1) {
      if (data.address) {
        store.state.user.isLoggedIn = true;
        store.state.user.wallet = data.address;
        login()
      }
    } else {
      message.error("sorry,Only supports Ethereum!!!");
    }
  } catch (error) {
    console.log(error);
  }
});

Another question, why onChanged is triggered when I switch accounts on other websites?   thanks!!!

@chnejohnson thanks

Another question, why onChanged is triggered when I switch accounts on other websites?
Yes, it makes sense. onChanged would follow up your metamask extension on the browser.

As for executing onChanged many times, I need more information. You should notice that you only add one onChanged listener. It's possible that you have a vue component added the onChanged, but the component is created multiple times. So you would add multiple onChanged listener in your app.

@chnejohnson    If onchanged is triggered multiple times, the changed component has been quoted multiple times, which can be solved by anti-shake.
onChanged would follow up your metamask extension on the browser. How should I judge whether the current website triggered onchanged? Because I signed onchanged

a When the website switches the wallet, metamask will receive the signature of another website   @chnejohnson

a When the website switches the wallet, metamask will receive the signature of another website @chnejohnson

Okay, I've got your point. The problem is that onChanged will be triggered no matter browser's tab is active or not. So I think we should prevent from triggering onChanged when the browser's tab is inactive, right?

Try v0.5.1, if you still have the problem, please post a new issue again.


feat(ui): decrease episides timeline padding

Change episodes timeline event bottom padding
Bump UI version

Codecov Report

Merging #353 (33eb610) into main (b59b3d0) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #353      +/-   ##
==========================================
- Coverage   11.63%   11.63%   -0.01%
==========================================
  Files         537      537
  Lines       38703    38704       +1
  Branches     1132     1132
==========================================
  Hits         4505     4505
- Misses      33765    33766       +1
  Partials      433      433

Impacted Files
Coverage Δ

...s/components/EpisodesTimeline/EpisodesTimeline.tsx
0.00% <0.00%> (ø)


Removed the already replaced editAction from TalkController

The merge of #925 went a bit wrong: The old action method is still there and the routing still points to it. This PR fixes this.
Follows #925.

Ugh, master is still broken for me.

Ha, nice catch, @derrabus!