text:
A single container running rclone cause the whole LXD system to hang

Required information

Distribution: Ubuntu
Distribution version: 20.04.LTS
The output of "lxc info" or if that fails:

config: {}
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
- 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
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    xxxx
    -----END CERTIFICATE-----
  certificate_fingerprint: 8d67bed4bd2d2c79331a135114664e7c097cd302c4b2f0167dffc3bb58ae23c6
  driver: lxc
  driver_version: 4.0.4
  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.4.0-42-generic
  lxc_features:
    cgroup2: "true"
    devpts_fd: "false"
    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: "false"
  os_name: Ubuntu
  os_version: "20.04"
  project: default
  server: lxd
  server_clustered: false
  server_name: frnte1-ltc1
  server_pid: 4017015
  server_version: "4.6"
  storage: btrfs
  storage_version: 4.15.1

Issue description
I first had this issue randomly when running gitlab in a container (I stopped using it like this since).
Now I can reproduce is 100% of the time, in my case I am doing a backup of a Prometheus snapshot using rclone with an encrypted backend ( I have other identical process running to backup MariaDB snapshots and a NextCloud instance that work perfectly fine)
It starts fine but after a few seconds the whole LXD system hangup, and a lot of process from various containers (that have nothing to do with the Prometheus one) start apparently consuming a lot of CPU and stop responding (I have a DNS server and reverse proxy that both stop working, I also have 1 consul running in each LXD container and they are not reachable anymore from outside the LXD system)
The container has 2 cores CPU limit so it should not be able to overhaul the whole server.
See the screenshots, when running the rclone (that should not have any impact) vs right after stopping it. (I previously had the similar issue with Gitlab):

Steps to reproduce

Setup a Prometheus in a container
Trigger a snapshot with the admin API (it should work also without this step as the snapshot is just a copy of the data directory)
run a rclone sync with this directory as source and a remote encrypted directoy (over S3) as destination

Information to attach

[ ] Any relevant kernel output (dmesg)

Nothing

[ ] Container log (lxc info NAME --show-log)
(Not sure if this is related)

lxc frnte1-monitoring1 20201017184024.384 WARN     utils - utils.c:fix_stdio_permissions:1900 - Operation not permitted - Failed to chmod standard I/O file descriptor 0
lxc frnte1-monitoring1 20201017184024.384 WARN     utils - utils.c:fix_stdio_permissions:1894 - Operation not permitted - Failed to chown standard I/O file descriptor 1 to uid -1 and gid 65534
lxc frnte1-monitoring1 20201017184024.384 WARN     utils - utils.c:fix_stdio_permissions:1900 - Operation not permitted - Failed to chmod standard I/O file descriptor 1
lxc frnte1-monitoring1 20201017184024.384 WARN     utils - utils.c:fix_stdio_permissions:1894 - Operation not permitted - Failed to chown standard I/O file descriptor 2 to uid -1 and gid 65534
lxc frnte1-monitoring1 20201017184024.384 WARN     utils - utils.c:fix_stdio_permissions:1900 - Operation not permitted - Failed to chmod standard I/O file descriptor 2
lxc frnte1-monitoring1 20201017184024.384 WARN     attach - attach.c:attach_child_main:879 - Failed to ajust stdio permissions

[ ] Container configuration (lxc config show NAME --expanded)
( From the container that can trigger this issue)

architecture: x86_64
config:
  image.architecture: amd64
  image.description: Ubuntu focal amd64 (20200730_07:42)
  image.os: Ubuntu
  image.release: focal
  image.serial: "20200730_07:42"
  image.type: squashfs
  limits.cpu: "2"
  limits.memory: 512MB
  volatile.base_image: 6137c0317d30f0759675a0b8cee094f9f87580ab34dd65eb8db5af08b61cb99f
  volatile.eth0.host_name: macd76d3aeb
  volatile.eth0.hwaddr: 00:16:3e:38:10:9b
  volatile.eth0.last_state.created: "false"
  volatile.idmap.base: "0"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.last_state.power: RUNNING
devices:
  eth0:
    name: eth0
    nictype: macvlan
    parent: vlan.101
    type: nic
  root:
    path: /
    pool: default
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)

t=2020-10-17T18:08:25+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:09:45+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:14:50+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:19:48+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:20:15+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:20:38+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:20:13+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:21:18+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:21:25+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:22:14+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:28:30+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:28:00+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:31:24+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:34:53+0000 lvl=info msg="Pruning expired instance backups"
t=2020-10-17T18:34:53+0000 lvl=info msg="Done pruning expired instance backups"
t=2020-10-17T18:35:42+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:37:37+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:38:53+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:39:47+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:41:25+0000 lvl=warn msg="Detected poll(POLLNVAL) event."
t=2020-10-17T18:41:26+0000 lvl=warn msg="Detected poll(POLLNVAL) event."

[ ] Output of the client with --debug
Not related ?
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)
Nothing related

Not a LXD issue really.
Looking at your screenshot, you have a large number in uninterruptible wait (D) state, hinting a I/O being the issue here.
You're effectively trying to write so much stuff or to do so many sync transaction to your underlying storage that any process attempting to use the storage is getting stuck for possibly quite a long time. When that happens, the process goes into D state (uninterruptible wait) and so appears to be consuming CPU (even though it's likely to not be using any of it, it's just stuck waiting on your storage).
What's your storage setup on this system?

It's local SSD storage.
But I would be surprise that would be the issue, there is almost no data going out from the server (a few megabytes) when this happen, also all the others containers backups (That have the same kind of sizing or bigger, same target and encryption settings) have no issues.
The I/O issue may be more related to a network impact than a storage issue ? (I do see weird things on the network graph when this happen but the network monitoring being hosted on the same machine, it's complicated to make it relevant when this happen)

No, network doesn't result in D state, this is almost certainly storage related.
You can do cat /proc/PID/stack for one of the processes stuck in D state to see exactly what they're stuck on.
Note that not all SSDs are born equal and a lot of recent (even NVME) SSDs use a tiered system where you have a very very fast layer of SLC NAND in front with a limited size (8 to 32GB seems common) which is then flushed onto much much slower TLC or QLC storage.
If you fill that TLC buffer with writes faster than it can empty into the slower storage, you'll either get a complete I/O hang as the buffer empties or your SSD will bypass the buffer and hit the slower NAND directly. Unfortunately in my experience, slower NAND often comes with HDD-like performance characteristics.
So you may get 1.5GB/s while you write to TLC and then be dropped to less than 50MB/s once the buffer is full.
I've personally observed this behavior on Intel 660p which were getting so slow that I ended up replacing them with more expensive SLC+TLC based ones.

Thank you for the advice, I will keep investigating on this direction then.

authors: kedare stgraber


text:
Update description in lxc file mount

Signed-off-by: KATOH Yasufumi karma@jazz.email.ne.jp

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Thanks!

source: gharchive/pull-request

authors: lxc-jenkins tenforward tomponline

repo: lxc/lxd

license_type: permissive

license_source: bigquery


text:
Remove subvolume in zfs.ImageCreate error flow

Fixes #2194
Signed-off-by: Sean Christopherson sean.j.christopherson@intel.com

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

jenkins: test this please

Doesn't look like the original reporter is particularly responsive, so I guess we can just go ahead with this branch, it won't make things any worse at least :)

authors: lxc-jenkins sean-jc stgraber


text:
simplestreams: Align JSON struct for index.json

Hi,
FWIS current index.json file doesn't contain updated attributes so I added omitempty to these options.
In additional in current SimpleStreamsIndexStream struct is not present an attribute for format (related to value products:1.0)

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

jenkins: test this please

authors: geaaru lxc-jenkins stgraber


text:
NIC Routed: Sets accept_ra=0 on host interface

Signed-off-by: Thomas Parrott thomas.parrott@canonical.com

jenkins: test this please

authors: stgraber tomponline


text:
Allow inconsistent rsync copies with flag

This PR adds an --allow-inconsistent flag to both lxc copy and lxc move. This is plumbed through the API client, daemon, storage pool interface and storage drivers so that the rsync error code 24 (Partial transfer due to vanished source files) can be optionally ignored.
Closes #9706

Looks good to me, just one tiny nit on the API. I'll do that quick edit myself and then merge.

Ah and you also needed a make update-api for swagger to update.

Oh and AllowInconsistent was missing a json/yaml name in shared/api.

And waiting for Jenkins, then ready to merge.

Testsuite passed

authors: lxc-jenkins markylaing stgraber


text:
Day Planner will auto remove any words before -- {any chars} each line.

Hi, I found a bug that Day Planner will auto remove all words before -- {any chars}
it trigged by any line ending with double hypens and any chars.
for examples:
  # Before (What I write)
  nothing happen here that ending with double hyphens only --
- this will be changed by Day Planner that ending with double hyphens and any chars -- bug

  # After (caused by the bug)
  nothing happen here that ending with double hyphens only --
+ - bug

- -- another case
+ - another case

- hello world -- 12345
+ - 123456

I recorded a GIF for show the bug:

oh, this is same issue with https://github.com/lynchjames/obsidian-day-planner/issues/43

This should now be fixed in 0.5.7.

source: gharchive/issue

authors: edentsai lynchjames

repo: lynchjames/obsidian-day-planner

license: MIT

license_source: github-api


text:
User Concern is removing Devise settings

When I include
include DeviseTokenAuth::Concerns::User
below my devise settings
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable, :omniauthable, :omniauth_providers => [:facebook, :google_oauth2]
include DeviseTokenAuth::Concerns::User
I am getting the following error
Mapping omniauth_callbacks on a resource that is not omniauthable (ArgumentError) Please add devise :omniauthable to the User model
I looked at the source code for
https://github.com/lynndylanhurley/devise_token_auth/blob/master/app/models/devise_token_auth/concerns/user.rb
I think the problem might be with
Hack to check if devise is already enabled
unless self.method_defined?(:devise_modules)
  devise :database_authenticatable, :registerable,
      :recoverable, :trackable, :validatable, :confirmable
else
  self.devise_modules.delete(:omniauthable)
end

I am using
Rails 4.2
devise (3.5.1)
devise_token_auth (0.1.31)
omniauth (1.2.2)
omniauth-facebook (2.0.1)
omniauth-google-oauth2 (0.2.6)
omniauth-oauth2 (1.3.1)

+1, Any word on this, I am running into the same issue.

I simply re-add omni auth.
devise :database_authenticatable, :async, :registerable,
       :recoverable, :rememberable, :trackable, :validatable,
       :omniauthable, :omniauth_providers => [:facebook]
include DeviseTokenAuth::Concerns::User
devise :omniauthable # Because for some reason it gets rid of it.

+1, Also hit the issue when using the gem under a scope.

+1

Same here :/

This gem...

Noting this is still a problem.

+1

+1 this is still an issue, is there a way to solve it?

+1 still an issue, is there a way a solve it?

Issue is still present 😬
This commit is the one that introduced that delete statement. The reason(commit message) kinda make sense.
I think they are expecting us not to directly setup omniauth in the model, but separately, like mentioned in Devise docs
It looks like this is necessary only when having more than one auth model; if that's not your case then this will cause only no-needed extra configuration
IMHO I'd remove that delete statement and just add an entry in the docs describing the incompatibility issue

authors: ACPK BenMorganIO KaraAJC aaronshim birdsean dev-edtpartners gfauredumont itsmeurbi jeffrfinn mahmoudayoub nitsujri

license: WTFPL


text:
I'am not able to serialize user

I had overridden the sessions_controller
#app/controllers/v1/user/devise_overrides/sessions_controller.rb

module V1
  module User
    module DeviseOverrides
      class SessionsController < DeviseTokenAuth::SessionsController
        protected
        def render_create_success
          render json: {data: ::UserSerializer.new(@resource)}, status: :ok
        end
      end
    end
  end
end

I got the serialized user correctlly
{
  "data": {
    "id": 1,
    "email": "root@local.com",
    "image": {
      "image": {
        "url": null
      }
    },
    "provider": "email",
    "uid": "root@local.com",
    "profile": {
      "id": 11,
      "title": null,
      "first_name": "user",
      "last_name": "user",
      "display_name": "user user",
      "martial_status": null,
      "birthday": null,
      "facebook": null,
      "twitter": null,
      "gplus": null,
      "updated_at": "2016-08-10T15:40:13.280Z",
      "user_id": 1,
      "user_type": "User"
    },
    "commune": {
      "id": 1,
      "name": "commune",
      "description": "commune descripttionnennenenenenn",
      "lat": "48.858093",
      "lng": "2.294694",
      "zoom": 15
    }
  }
}

but without headers
Access-Control-Allow-Credentials →true
Access-Control-Allow-Methods →GET, POST, PUT, PATCH, DELETE, OPTIONS
Access-Control-Allow-Origin →chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
Access-Control-Expose-Headers →access-token, expiry, token-type, uid, client
Access-Control-Max-Age →1728000
Cache-Control →max-age=0, private, must-revalidate
Content-Type →application/json; charset=utf-8
ETag →W/"54623aaeee6543d357a19042d51196ca"
Transfer-Encoding →chunked
Vary →Origin
X-Content-Type-Options →nosniff
X-Frame-Options →SAMEORIGIN
X-Request-Id →1f7ebfc4-b252-406b-82aa-c5e75eb1eaa6
X-Runtime →0.446054
X-XSS-Protection →1; mode=block

also, I tried this solution
 #app/models/user.rb
def token_validation_response
  UserSerializer.new(self).as_json
end

and
#app/controllers/v1/user/devise_overrides/sessions_controller.rb
def render_create_success
  render json: {
    data: resource_data(resource_json: @resource.token_validation_response)
  }
end

always no headers
i'm using:
rails 5.0.0.1
AMS 0.10.2 (from github)
devise_token_auth 0.1.37 (tried 0.1.38,0.1.39)
devise 4.2.0

hello Same issu !

any help, please?

I am seeing the same issue but only in production I am not seeing headers. Locally it works just fine.

Hi there @jgoodall628 , @BrahimDahmani    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.

authors: BrahimDahmani Motaso jgoodall628 zachfeldman


text:
Banning a user

Hi,
I have use case, where i want to ban a user from logging in .. also show a message that he's banned. What  would be the right approach ?

You can create a boolean on your devise table (User or Account usually), let's say banned, automatically set to false. You just have to create a button toggling the banned status.
For the devise part, you will have to override the Devise::SessionsController#create method to add the banned verification process.

Instead of closing these so quickly, can we get some more discussion about how to actually implement this?

authors: ValentinTrinque chaitu87 mhluska


text:
🐞 Font Family not rendered

Describe the bug 🐛
When you render the Event video with a custom font, it take noto sans and don't render with the chosen font.
Expected behavior 🦾
We want to render with the selected font
Screenshots 📸
Should render with banger font

But don't
https://github.com/lyonjs/shortvid.io/assets/72607059/d54678ef-462d-4f61-a895-3ce9ffe4416f

Hey @Boyadjie I'd like to work on the issue, can you assign it to me?

hey @Boyadjie I've been trying to fix the bug but so far I haven't made much progress.
i already checked the loadfont() method and it while it does imports the selected font before rendering of the frames starts, it switches to importing 'Noto Sans' font while rendering the frames.
I can't seem to figure out why it switches back to the default selected font.
It'll be great if you could guide me a bit on what can I do to fix the bug.

Hi @light-200! Sorry for taking so long to reply, but I think we're going to look at doing things differently for this issue, so we'll think about it. Thanks for trying to work on it! ❤

authors: Boyadjie CruuzAzul light-200


text:
Grouping contents in resource directory placed on module local.

1: Resource directory used to connect server.
1-1: version.py
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/server/local/resource/version.py#L10
1-2: file.py
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/server/local/resource/file.py#L7
1-3: error.py
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/server/local/resource/error.py#L7
1-4: directory
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/server/local/resource/directory/__main__.py#L7

2: Resource directory used to execute script.
2-1: command.ps1
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/shell/resource/command.ps1#L3
2-2: execute_platform.py
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/shell/resource/execute_platform.py#L9
2-3: indices.py
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/shell/resource/indices.py#L9
2-4: local_import.py
https://github.com/lyoutakoduka/spartaproject/blob/b28fb7123fb7f843e245a6615c010603d5fd05c6/tests/pyspartalib/script/shell/resource/local_import.py#L9

repo: lyoutakoduka/spartaproject


text:
GL and JP Regina skills bug

In both GL and JP, most of Regina's skills aren't showing in the drop-down list (supported or unsupported).
Some users aren't having this issue in GL, and aren't willing to switch to JP to see if that forces it to occur.
Clearing cache, clearing local storage, changing languages, and using an incognito browser don't fix the issue. The missing skills can't be used in custom formulas either by referencing the skill ID.
EDIT:

Clearing cache, clearing local storage, changing languages, and using an incognito browser don't fix the issue. The missing skills can't be used in custom formulas either by referencing the skill ID.

I suppose you don't need to display skills (other than Regina Cannon and the LB) when you aren't multicasting, since telling the builder to build for just a buff skill doesn't do anything. Inconsistent with every other unit i can think of, but I can close this.

repo: lyrgard/ffbeEquip

license: ISC


text:
Fused stack cropped too much

Yo Marvin (@m-albert),
Been getting back into this with the help of a rotation student.
Having fixed the stuff discussed in #8, optimized the parameters, and switched to a beefy GPU, we now get very nice fusion quality using raw_input_binning = [1,1,1], mv_final_spacing = np.array([0.4]*3), fusion_method = 'LR' and fusion_weights = 'dct'). 🎉
However, in the example we've been using for our tests, the final fused stack ends up being cropped too much; about 5% or so of the embryo get cut off on both sides along the y axis. I think this is also something I've seen before with other samples and different settings.
Any thoughts on what's happening and how to avoid it? I should note that each of our input stacks only goes about 60% through the sample, as there's no signal anymore if we go deeper than that (i.e. further away from the objective). Could this be the cause of the issue? Do we need to image all the way through in each view? Or could it be something else? Thanks!

Oooooh! How did we miss this! That's exactly what we need! Thanks! 😆
We've gone for 3 volumes at 120°. Would you recommend using 4 instead?

We've gone for 3 volumes at 120°.

That explains why final_volume_mode = 'sample' doesn't work well.

Would you recommend using 4 instead? Or do you mean 4 single views without dual-view fusion?

I guess this is hard to say in general. Four views gives you a more complete sampling of frequencies and helps with defining the output volume automatically. However, of course it means acquiring more data. Dual view fusion within ZEN would typically take the average between the illuminations, so I guess the criterion here would be sth like: if you have comparable image quality between the illuminations across the entire field of view, online fusion makes sense. Otherwise fusing the illuminations offline with a different method makes more sense. There's some support for this around here
https://github.com/m-albert/MVRegFus/blob/555ae101f7e8a094fa125ce539df6cbbe2463942/bin/mvregfus_run.py#L67C7-L67C16

Ok, many thanks for the advice! Will let you know about the final result. 😉

As you'll have seen from Zimeng's tweet, things are working pretty nicely for us now!  🎉 🎉 🎉
Both 3 views (with 'union') and 4 views (with 'sample') are working, though the 4 views option definitely yields a far superior result.
Thanks again for your support! Please feel free to close both this and #8.

Great to hear and thanks for the shoutout in the tweet!

authors: WhoIsJack m-albert

repo: m-albert/MVRegFus


text:
Add node org to monitoring labels

This change adds an "org" label to monitored autojoined nodes

This change is

Pull Request Test Coverage Report for Build 10582978463
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 98.222%

Totals

Change from base Build 10512039583:
0.01%

Covered Lines:
718

Relevant Lines:
731

💛  - Coveralls

@robertodauria thank you for fixing this PR - PTAL?

authors: coveralls stephen-soltesz

repo: m-lab/autojoin


text:
Use poetry in the example

Now we are just using requirements.txt but I think it's better to use poetry to pin versions.
Otherwise, a new major version of a certain library may appear and break the sample code.

@maronuu @kitagry Is there any reason why you did not use  the Poetry? If not, I will submit a PR.


text:
Deprecate merge request comment related methods

Comments have been removed in V4. We should use notes api instead.

Thank you for the review!

license: mit


text:
FileNotFoundError: [Errno 2] No such file or directory: '/home/workstation/liushaoqian/Chat2BI-master/functions/retrieval/G1/corpus.tsv'

FileNotFoundError: [Errno 2] No such file or directory: '/home/workstation/liushaoqian/Chat2BI-master/functions/retrieval/G1/corpus.tsv'，这个文件是个啥呀

FileNotFoundError: [Errno 2] No such file or directory: '/home/workstation/liushaoqian/Chat2BI-master/functions/retrieval/G1/corpus.tsv'，这个文件是个啥呀

请先构建工具再使用

authors: liushaoqian mMrBun


text:
Low accuracy converting from EPSG:3116 to EPSG:4326

I was trying to convert from gcm_magna to lat and long using the lib but the outputs were inaccurate. Can some one explain me or correct me?
Expected output 10.3779445 ,-75.4803633.

    var destProjection = Projection.get('EPSG:4326')!; // WGS84 (EPSG:4326)

    var point = Point(x: 846358.4308, y: 1639765.33);

    var transformedPoint = srcProjection.transform(destProjection, point);

    print('Lat: ${transformedPoint.y}, Long: ${transformedPoint.x}');```

It seems this is the expected behavior, as proj4js outputs the same results.
Paste the following script into your browser. Note that you cannot paste it into every domain, like GitHub. Instead, go to a site like https://cdnjs.com/libraries/proj4js.
var script = document.createElement('script');
script.onload = function() {
    proj4.defs("EPSG:3116","+proj=tmerc +lat_0=4.59620041666667 +lon_0=-74.0775079166667 +k=1 +x_0=1000000 +y_0=1000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs");

    console.log(proj4('EPSG:3116', 'WGS84', [846358.4308, 1639765.33])); // Output: [-75.48036335262766, 10.377944565887024]
};

var scriptPath = 'https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.12.1/proj4.js';
script.setAttribute('src', scriptPath);
document.head.appendChild(script);

If you disagree with the output, then create an issue in the proj4js repository. Once the issue is fixed, just ping me here, and the fix will be underway.
proj4dart exampe code:
import 'package:proj4dart/proj4dart.dart';

void main() {
  var pointSrc = Point(x: 846358.4308, y: 1639765.33);

  var projSrc = Projection.add(
    'EPSG:3116',
    '+proj=tmerc +lat_0=4.59620041666667 +lon_0=-74.0775079166667 +k=1 +x_0=1000000 +y_0=1000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs',
  );

  var projDst = Projection.get('EPSG:4326')!;

  var pointForward = projSrc.transform(projDst, pointSrc);

  print(pointForward.toArray()); // Output: [-75.48036335262819, 10.37794456588702]
}

You indeed right, thanks men


text:
[Proposal] Support tag's padding

Currently, when I have a background drawable xml
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <corners android:radius="4dp"/>
    <solid android:color="@color/solid"/>
    <stroke android:width="1dp"
         android:color="@color/border"/>
</shape>

it produce the following

This pull request let users add padding to the tag. Like the following.

<mabbas007.tagsedittext.TagsEditText
                android:id="@+id/tags_edit"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:enabled="true"
                android:focusable="true"
                android:focusableInTouchMode="true"
                android:gravity="center_vertical"
                android:hint="@string/hint"
                android:includeFontPadding="false"
                android:paddingLeft="8dp"
                android:paddingRight="8dp"
                android:textColorHint="@color/text_hint"
                app:allowSpaceInTag="true"
                app:tagsBackground="@drawable/shape"
                app:tagsCloseImagePadding="5dp"
                app:tagsCloseImageRight="@drawable/delete"
                app:tagsPaddingBottom="6dp"
                app:tagsPaddingLeft="10dp"
                app:tagsPaddingRight="10dp"
                app:tagsPaddingTop="6dp"
                app:tagsTextColor="@color/black"
                app:tagsTextSize="@dimen/defaultTagsTextSize"
                />

What do you think?

Good idea, I'll merge it 👍

Thanks!


text:
Restoring klayout pcells for GF180MCU and fixing some issues in it

Restoring klayout pcells for GF180MCU and fixing some issues in it

@FaragElsayed2 I assume that is not done?

@atorkmabrains Yes, it still needs more modifications.

Will not merge


text:
can"t make it run

Hi,
from clean virtualenv with only pyside2 and python-qt-live-coding :
^C(.venv) jimmy@cacahuete:~/tras/python-qt-live-coding$ python_qt_live_coding examples
Error importing standalone/module: No module named 'standalone/module'
QQmlApplicationEngine failed to load component
file:///home/jimmy/tras/.venv/lib/python3.7/site-packages/livecoding/live.qml:31 Type LiveCodingPanel unavailable
file:///home/jimmy/tras/.venv/lib/python3.7/site-packages/livecoding/LiveCodingPanel.qml:220 Cannot assign to non-existent property "extensions"

^C(.venv) jimmy@cacahuete:~/tras/python-qt-live-coding$ python_qt_live_coding examples/standalone
QQmlApplicationEngine failed to load component
file:///home/jimmy/tras/.venv/lib/python3.7/site-packages/livecoding/live.qml:31 Type LiveCodingPanel unavailable
file:///home/jimmy/tras/.venv/lib/python3.7/site-packages/livecoding/LiveCodingPanel.qml:220 Cannot assign to non-existent property "extensions"

Have nive day
Jimmy

I have the same error and fixed it by adding property var  in front of the extensions property.  But even after that fix, I could get live coding to work. I made a change in a qml file and expected the app to update (similar to BrowserSync) but it did not. I must be missing something.

I´m stuck here too.
I´m must starting with Pyside+Qt+Qml so maybe there is an obvious solution but i just dont know.
So, what i notice so far:
Start with the same error as above:
QQmlApplicationEngine failed to load component file:///D:/programming/chest/live.qml:32:3: Type LiveCodingPanel unavailable file:///C:/Users/patri/AppData/Local/Programs/Python/Python38-32/lib/site-packages/livecoding/LiveCodingPanel.qml:220:5: Cannot assign to non-existent property "extensions"
in LiveCodingPanel.qml:220:5: u found this:
  ProjectBrowser {
    id: browser
    projectPath: userProjectPath
    extensions: ['qml', 'ui.qml']
  }

ProjectBrowser is a custom Component made on python side that are founded here:
projectbrowser.py
The property that are failing are there:
    @Property('QStringList', notify=extensionsChanged)
    def extensions(self):
        return self._extensions

    @extensions.setter
    def extensions(self, value):
        if self._extensions == value:
            return
        self._extensions = value
        self.extensionsChanged.emit()

After messing around i noticed that none of this custom component properties are working. If u comment the property settings
on the qml file u start to having error in other custom component properties.
So maybe is Pyside that are not binding correctly the properties to the Qt/Qml side.
Not sure if this repo is still being maintained, and i´m still new on this stack so this is the further that i could go by now.

I gave up on this project. However, as it turns out, you can do this in Qt Creator. There is a project template called "Qt for Python - Qt Quick Application - Empty" that creates a pyslide2 qml application.

For live coding, use Build -> QML Preview.

authors: SrMordred asaladino jgirardet

repo: machinekoder/python-qt-live-coding


text:
Lexer ignoring priority

Hey! I was thinking of using this library for some lexing work, and I ran into an issue using logos==0.13.0. Here's a reduced version of my Token enum:
#[derive(Logos, Debug, PartialEq)]
#[logos(skip r"[ \t\n\f]+")]
#[logos(subpattern float=r"-?[0-9]+\.[0-9]+")]
pub enum Token {
    // optional negative sign
    // optional float
    // an e followed by an option + or -
    // 1 or more digits (the number following the e)
    // an optional decimal point followed by 1 or more digits (3.1) or (.1)
    #[regex(r"((?&float)?([eE][-+]?\d+(\.\d+)?))", priority=3)]
    ScientificNotation,
    #[regex("(?&float)+", priority=2)]
    Float,
    #[regex(r"-?[0-9]+", priority=1)]
    Int,

    #[regex(r"-", priority=4)]
    Subtract,
}

As you can see I'm trying to match negative numbers as well as the subtract sign. The issue is that the lexer is ignoring the priority that I set on the derives and is incorrectly matching things. For example, it should lex 3-3 as Int, Subtract, Int, but it is producing Int, Int, matching 3 and -3. I tried not using subpatterns in case that was the issue, but it didn't seem to fix anything. I feel like I might've seen a related issue pertaining to something similar to this, but it is currently 3AM and I can't seem to find it again. Any help would be greatly appreciated, thanks!

This is working as intended, see comments starting here in #173.
TL;DR: the lexer will always try to find the longest possible match from its current position, priority is only used if that strategy could possibly match two definitions. Common case is any keyword like #[token("let")] vs identifier #[regex("[a-z]+")]: let should always be a keyword, but letfoo should always be an identifier, even though #[token("let")] has higher priority than #[regex("[a-z]+")].
In your specific case, if Substract was always the valid match for -, even if a longer match was available, then the lexer would never produce an Int starting with a -: it would be a dead pattern.
Typically what you do is only lex for unsigned integers, and only in the AST parser do you construct a signed integer from a unary expression of a - (or +) operator and and unsigned integer operand. This is true even in Rust itself: -10 is always two tokens.

Thank you! I was not aware of this behavior

repo: maciejhirsz/logos


text:
simple_form :trix_editor not working

Firstly thanks for this gem, it makes life easy.
I have a form, SimpleForm::FormBuilder, but I get an error when I do:
f.input :description, as: :trix_editor
No input found for trix_editor
I can't see from the README I need to do anything else... any ideas please?

Ah, I see, I need master branch. Any chance of a release when you get time :smile:

Did you get this to work?
I am having the same problem and I really need this to work with simple form!
No input found for trix_editor
      = f.input name,  as: :trix_editor

Duhh!! Nevermind!
Read your comment again and just did this:
gem 'trix', github: "maclover7/trix", branch: "master"
works as advertised!
Thx all!

This will be out in next release (v0.11.0)

Encountered the same problem. But when using master branch as suggested, getting this error:
trix was resolved to 0.11.1, which depends on
  rails (> 4.1, < 5.2)

We are using rails 5.2. Any chance of getting this to work with rails 5.2 ?

Encountered the same problem. But when using master branch as suggested, getting this error:
trix was resolved to 0.11.1, which depends on
  rails (> 4.1, < 5.2)

We are using rails 5.2. Any chance of getting this to work with rails 5.2 ?

You should use https://github.com/kylefox/trix, this one is no longer maintained I believe.

Thanks, using trix-rails resolved the issue.


text:
Unusually long time for P2.

I have been running madMax plotter with 1hr plot time for last 12 hours or so. In the current plot, phase took astonishing 16290 seconds to finish. Any idea what could have happened that lead to his sudden slow down?
Plot Name: plot-k32-2021-06-11-02-35-b9e1aab6edc4a1e1a77c641ae49cf534f394d4420f8c74fe647db553f2aca1bc
[P1] Table 1 took 29.9074 sec
[P1] Table 2 took 214.201 sec, found 4295005489 matches
[P1] Table 3 took 315.524 sec, found 4295057223 matches
Copy to r:\plot-k32-2021-06-11-01-29-55489713abbe23eddc30269597a20f37fceeb395e2d0a3c52312249139fb81a2.plot finished, took 593.934 sec, 0 MB/s avg.
[P1] Table 4 took 328.578 sec, found 4294810902 matches
[P1] Table 5 took 319.154 sec, found 4294811055 matches
[P1] Table 6 took 308.385 sec, found 4294694511 matches
[P1] Table 7 took 227.841 sec, found 4294452397 matches
Phase 1 took 1743.8 sec
[P2] max_table_size = 4295057223
[P2] Table 7 scan took 9.89308 sec
[P2] Table 7 rewrite took 49.2832 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 25.7577 sec
[P2] Table 6 rewrite took 36.2782 sec, dropped 581267140 entries (13.5345 %)
[P2] Table 5 scan took 26.4928 sec
[P2] Table 5 rewrite took 35.1635 sec, dropped 761992080 entries (17.7422 %)
[P2] Table 4 scan took 25.748 sec
[P2] Table 4 rewrite took 34.3136 sec, dropped 828803890 entries (19.2978 %)
[P2] Table 3 scan took 25.6453 sec
[P2] Table 3 rewrite took 33.8894 sec, dropped 855176989 entries (19.9107 %)
[P2] Table 2 scan took 15929.4 sec
[P2] Table 2 rewrite took 35.1902 sec, dropped 865586936 entries (20.1533 %)
Phase 2 took 16290.4 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 103.059 sec, wrote 3429418553 right entries

that table is read from tmpdir, maybe some issue with the drive?

P2 is not scaling for me as well .. i compared ramdrive for tmp2 and tmp1 a bad nvme. 4/8/16/18 threads and improvement for P2 is really small. Disk is always at 100% load in P2.

yes P2 mostly reads and writes to tmpdir, only table 7 is done via tmpdir2.

that table is read from tmpdir, maybe some issue with the drive?

That's what I thought. I can't find any issue. I am using the "unofficial" windows version.

that table is read from tmpdir, maybe some issue with the drive?

That's what I thought. I can't find any issue. I am using the "unofficial" windows version.

Let's see if it happens again and how often

This happened to me once on Windows, I originally thought the Windows terminal hanged and instinctively pressed Enter. Immediately after that the next line appeared (Table scan finished, enormous number of seconds).

if you click on windows terminal it locks it (so you can select text), once you click again it becomes unlocked and new text will show

authors: grobalt hidoba madMAx43v3r prodchia


text:
🛑 Sonarr UI is down

In 9026f05, Sonarr UI (https://sonarr.$BASE_URL_MADHOGS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sonarr UI is back up in 53190d7.

repo: madhogs/upptime


text:
Fix Teams check in Invoke-Maester

Fixes small bug introduced in #308 that always required teams API permissions. $null default value for parameters results in empty string when cast to [string] which is never null.
PR reverts default values and checks that both parameters are not null or empty strings before enabling Teams-check.
/cc @Snozzberries

I think this is a cleaner approach than the default value of $null to force the logic.
Quick cross-platform check:
Windows Core

Ubuntu PWSH

Windows PowerShell

authors: Snozzberries fflaten


text:
Trouble with ripping files from Genshin Impact, installed through Epic Games Launcher

Here is the essential report information:
Game name: (please, specify the game name)
Engine version: 2017.4.30f1
Platform: StandaloneWin64Player
File name: unity builtin extra
Error message: Error during reading of asset type Shader
Inner message: System.Exception: No data left
at uTinyRipper.Lz4.Lz4DecodeStream.FillInputBuffer(Int32 offset)
at uTinyRipper.Lz4.Lz4DecodeStream.ReadInputByte()
at uTinyRipper.Lz4.Lz4DecodeStream.Read(Stream stream, Int64 count)
at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count)
at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Byte[] buffer, Int32 offset, Int32 count)
at uTinyRipper.Classes.Shaders.ShaderSubProgramBlob.ReadBlob(AssetLayout layout, MemoryStream memStream, UInt32 compressedLength, UInt32 decompressedLength, Int32 segment)
at uTinyRipper.Classes.Shader.UnpackSubProgramBlobs(AssetLayout layout, UInt32[] offsets, UInt32[] compressedLengths, UInt32[] decompressedLengths, Byte[] compressedBlob)
at uTinyRipper.Classes.Shader.Read(AssetReader reader)
at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)
Stack trace:    at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, AssetInfo assetInfo, Int64 offset, Int32 size)
at uTinyRipper.SerializedFile.ReadAsset(AssetReader reader, ObjectInfo& info)
at uTinyRipper.SerializedFile.ReadData(Stream stream)
at uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file)
at uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file)
at uTinyRipper.GameProcessorContext.ReadFile(SerializedFile file)
at uTinyRipper.GameProcessorContext.ReadSerializedFiles()
at uTinyRipper.GameStructureProcessor.ProcessSchemes(GameCollection fileCollection)
at uTinyRipper.GameStructure.Load(List1 pathes, LayoutInfo layinfo)    at uTinyRipper.GameStructure.Load(IEnumerable1 pathes, LayoutInfo layinfo)
at uTinyRipperGUI.MainWindow.LoadFiles(Object data)
Here is the file uTinnyRipper said to include:
unity_builtin_extra.zip

Genshin Impact uses a heavily customized Unity engine.

Oh okay, are there any programs that can read from its engine?

https://github.com/Razmoth/GenshinStudio

Some unity games can not rip files up to 7GB or 10GB.

authors: OmarRahmanK PuroOfficial ds5678

repo: mafaca/UtinyRipper


text:
Hinge Joint Component Missing

When restore a scene with a gameobject with Hinge Joint Component on it, it will be missed.
And all reference to this Hinge Joint Component will be missed too.
Seems UtinyRipper did not handle this type of component correctly.

stock branch doesn't support any joint types by default (understandably, there are a lot of unity components!).  I have a pull request in / check my branch to rip joint types https://github.com/wafflehammer/UtinyRipper420-hxrmn-joints-edition

Project development is suspended. No new features coming soon.
You can use @wafflehammer  pr, but you need to build it by yourself

duplicate https://github.com/mafaca/UtinyRipper/issues/143

authors: LucSkyward mafaca wafflehammer


text:
chore(master): release 0.70.0-alpha

:robot: I have created a release beep boop
0.70.0-alpha (2024-03-22)
Features

new (a87c7e1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.70.0-alpha :sunflower:

repo: mafqla/yalis-blog


text:
How to get the pretrained checkpoint

How can I get access to the the pretrained checkpoint? I can not see any download link in this repo

There's no download link, but you can do what the colab does: gsutil -m cp -r gs://mt3/checkpoints .

How to read 0.0 weight file as NumPy array? @Aionrichman did you try that?

authors: Aionrichman RahulBhalley iansimon


text:
3DS Games giving an error after trying to launch into Citra MMJ

I loaded some 3DS games onto my SD Card, adding the 3DS platform on the Daijisho launcher and selecting that location, however, after launching a game, Citra MMJ starts and immediately closes, briefly showing an error "ROM format not supported" or something similar. Everything else works fine, but even normal Citra emulator on Daijisho does not work and also leaves an error.

Also, not to mention I AM on the latest version (1.3.34)

I’ve gave up supporting citra . 👍
There are some previous discussions about it on Discord #Help me channel.
You can take a look to see if there are any clues.
Those citra devs really messed up with forks and versions.

Ah, I see. thanks for the info.

3ds is discontinued. Jetup made a custom 3ds platform if I remember correctly.

repo: magneticchen/Daijishou


text:
[NT-0] refac: Root directory hygiene

In an effort to improve our root directory hygiene, this change moves several markdowns to the .github directory (which GH will still pick up as it did before), moves one pipeline file to the teamcity directory, and removes one legacy sonar config file that is no longer in use.

Why was requirements.txt moved to the teamcity folder? It's unrelated to TC.

authors: MAG-MichaelK MAG-SamBirley


text:
Add support for serialization/deserialization of cglib proxies to javolution-serializer

From martin.grotzke on March 29, 2010 00:12:22
javolution-serializer should be able to serialize/deserialize cglib proxies.
As this is only required if the application uses cglib, this should be
implemented as a separate module, which can be plugged via the
customConverter attribute.
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=59

From martin.grotzke on March 28, 2010 16:06:13
Added new javolution-serializer-cglib module. Drop the jar in $CATALINA_HOME/lib and
WEB-INF/lib and register the converter class
"de.javakaffee.web.msm.serializer.javolution.CGLibProxyFormat" via the customConverter
attribute.
Status: Fixed
Labels: Milestone-1.3

From imcap...@gmail.com on February 07, 2012 15:32:50
what the version of cglib needed?

From martin.grotzke on February 08, 2012 14:03:16
You should try the latest cglib version. javolution-serializer is built/tested against cglib 2.2.

repo: magro/memcached-session-manager


text:
msm + jsf + failover node = This XML file does not appear to have any style information associated with it

From maxtorz...@gmail.com on July 09, 2013 22:34:41
What steps will reproduce the problem?
1.- Install two tomcat instances in separate servers
2.- Configure LoadBalancing with mod_jk in other server (sticky sessions=true)
3.- Configure two memcached nodes with sticky=true
4.- start tomcat servers
5.- Launch web aplications
6.- Testing loadbalancing and session replication stopping one memcached node (the one is serving the aplication)
7.- trying to navigate to another page the Error is shown:
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
8.-After a few seconds, I navigate to another page, and the page is rendered.

Is there a way to prevent this error?

extra configurations:

context.xml
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
sticky="true"
memcachedNodes="n1:192.168.1.6:11211,n2:192.168.1.3:11211"
failoverNodes="n2"
requestUriIgnorePattern="..(ico|png|gif|jpg|css|js)$"
transcoderFactoryClass="de.javakaffee.web.msm.JavaSerializationTranscoderFactory"
/>

I also got mapped in each application web.xml the following:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>.xhtml</url-pattern>
<url-pattern>.jsf</url-pattern>
<url-pattern>.faces</url-pattern>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>

Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=169

From martin.grotzke on July 19, 2013 03:03:12
Discussed here:
https://groups.google.com/d/msg/memcached-session-manager/r8A_V5I-e-E/Yhwj050WZiIJ

Closed due to inactivity / missing feedback on the mailing list.

authors: ghost google-code-exporter magro


text:
Socks proxy and lokinet-vpn can't work together

Only when you run lokinet-vpn --down socks proxy works

lokinet adds a route blackhole when the exit vpn is on by default so the local network will be in a route blackhole, you can disable this using a config override:
[network]
blackhole-routes=false

It doesn't solve problem:
commit 86fa7a40c3b2fd804123ff5cee6bddd8df552425

It doesn't solve the problem:
commit 86fa7a40c3b2fd804123ff5cee6bddd8df552425

what ends up happening? i do not see how this could work to begin with as the way it is running lokinet simply cannot work. try using our lokinet base docker image, i may have to rebuild it however.

what ends up happening? i do not see how this could work to begin with as the way it is running lokinet simply cannot work. try using our lokinet base docker image, i may have to rebuild it however.
Insi

tested FROM massiveboxe/lokinet now I ended up with lokinet: command not found. rolled back to my own lokinet docker problem is still:
Lokinet connect inside docker, testing curl ifconfig.me but still dante works only when you run lokinet-vpn --down

You can use my pre-build image https://hub.docker.com/repository/docker/mahdi5/lokinet-socks

@majestrate Are you sure using Linux

And I tested  FROM massiveboxe/lokinetexact same problem

solved 95b0f9ec4418d54907a832072240a2f1a8e83fb1

authors: mahdi-ln majestrate

repo: mahdi-ln/lokinet-socks


text:
请教大佬

请问大佬，我是新手，想使用您的源码，请问哪些是可以改的哪些是不可以改的呢，把麦葱全部换掉大佬会不会生气。。。

本源码使用的是 MIT 协议，除了必须保留版权声明和 MIT 许可协议外，没有任何限制。

明白了，感谢大佬

authors: ANewError maicong

repo: maicong/music


text:
chore/misc: adds missing changelog item, adds missing return statemen…

…ts to tests

Coverage remained the same at 93.649% when pulling ec2255f60fd104ca1468eab0de210e4e954f6a28 on hunterlester:misc into e36c9cd3167c73bbe1bc1e6a9a5c3607347169b0 on maidsafe:master.

authors: coveralls hunterlester


text:
For text part, prefer quoted printable over base64

Quoted Printable is good enough for text mime portions, we don't need base64.

@amatai just fix tests please

@horkhe @russjones - please have one more look please.

authors: amatai horkhe

repo: mailgun/flanker


text:
global middleware

I have such use case:

I have a ip blacklist.  the ip in blacklist will not be allowed to go on for the endpoint...

Now i use middlewares to do such job~ it seems i have to add the blacklist to all of locations~
Now i have thousands of locations, and dozens of black ips.
so "thousands * dozens"....

I just want to know what should i do to solve such problem...

Would global middleware sit before the frontends?  If that were the case, I could add middleware logic to add headers based on some custom criteria that could then be used in the routing step to pick the right backend.  Does that seem like a good idea?

@bmorton I think the global middleware can not do it now~ unless the route will change~
What it can do is just refuse such task~ or add some thing to the head or just like that~

@zhaoweiguo does global middleware already exist today?
If the global middleware is processed before the frontend is selected, I could mutate the request in a way that it would cause the routing to change (using a header or something).

@bmorton yes, I just do it like what you see~
I changed the code to do it~ It really a common need~
But i didn't find a good way to do it well(I mean not destroy the Framework of vulcan)~
I just meet demand~
waiting the update of it~

I'm working on this exact same problem right now. I'm first finishing up work on this:
https://github.com/mailgun/vulcand/issues/204
Can we begin discussing how one would specify a global middleware? If we can agree on a format to specify it, it shouldn't be difficult to simply reuse the middleware on each frontend creation.

@archisgore any update on this?

authors: archisgore bmorton nvartolomei zhaoweiguo

repo: mailgun/vulcand


text:
NOISSUE - Update SDK and Things Service

What does this do?

Makes update thing to update either name or metadata and not both
Corrects pagemetadata for things and channels to include disconnected and connected
Adds reader URL for reading messages

Which issue(s) does this PR fix/relate to?
N/A
List any changes that modify/break current functionality
Listed
Have you included tests for your changes?
Yes
Did you document any new/modified functionality?
No
Notes
N/A

Codecov Report

Merging #1694 (a4293f8) into master (48e368b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1694   +/-   ##
=======================================
  Coverage   70.27%   70.27%
=======================================
  Files         148      148
  Lines       11512    11512
=======================================
  Hits         8090     8090
  Misses       2755     2755
  Partials      667      667

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter rodneyosodo

repo: mainflux/mainflux


text:
MAISTRA-2648: WASM fix for s390x

Fixes https://issues.redhat.com/browse/MAISTRA-2648
The permanent fix is not a part of maistra/envoy yet:
https://github.com/proxy-wasm/proxy-wasm-cpp-host/pull/198

/ok-to-test

Opened maistra/envoy PR https://github.com/maistra/envoy/pull/134 instead of this one.

repo: maistra/proxy


text:
Allow feature flags to indicate availability of entities and values in lists.

Some devices use feature flag dps to indicate the availability of features, so a single tuya firmware can cover a number of device variants.
These feature flags can either be booleans, or some kind of encoded string (hex, binary - which can be handled as hex missing a lot of bits, base64) or possibly a bitfield, so any interpretation of them should be after decoding.
Design idea:

For mappings, add a property available that takes an attribute name from the same entity, which should be a boolean value to indicate whether to include that mapping in the values list or not.
For entities, the special attribute available should be a boolean value that indicates whether the entity should be available or not. It needs to be investigated whether it is possible to make such entities hidden by default, as HA only checks for that at startup which may be before data has been received from the device. If not possible, such entities will show as unavailable even if the device is returning some data for them, and the user will need to hide them themselves.

Implemented, but need to adjust some configs to use it, and write tests based on that.

repo: make-all/tuya-local


text:
Put GitHub link on right side bar in project pages

Fixed in https://github.com/makeabilitylab/makeabilitylabwebsite/commit/dcaa1b038a18742a0f3873314e04bf283cba5c7b

repo: makeabilitylab/makeabilitylabwebsite


text:
Passing async response data as prop.

Hi,
I have a use case where I need to pass data as prop to component and need to avoid putting it into redux store. Data is coming from asyncItem. I have gone through the decorator code but didn't find a solution.
Any suggestion would be great help.Thanks.
Regards,
Brij Kishor

@ttbrijkishor see https://github.com/makeomatic/redux-connect/blob/master/docs/API.MD#asyncconnect-decorator

The interface is similar to react-redux connect. The key field of each object will be used to connect data returned from from promise to both the redux state and the corresponding prop in the component. So in example above you'll have this.props.lunches.

authors: finom ttbrijkishor

repo: makeomatic/redux-connect


text:
Dss vest documentation

DssVest Documentation, work in progress and open for feedback. Currently split into traditional documentation and how to guides

Going to merge this and deal with it in a sec.

repo: makerdao/governance-manual


text:
Organized..section

I would like to organize the section of index.html file by removing the calculators from them and making new files for them and them there.I would like to do this as a part of LGMSOC'21 . Please assign this issue to me.

Go ahead
Deadline 22 June,2021

Actually we are planning to remove the study Section, i.e which contains only theory part no Calculator. So leave them organize only Calculators sections

so should I delete the theory part?

@deepaahuja9 Most of the calculators are organized only Trigonometry sections calculator and half calculators of General Math sections are left you can organize them

so should I delete the theory part?or should remain as it is...only I have to work upon calculators section.

Leave them, as I need to go through the study Section first, so organize only Sections which is calculating something

@deepaahuja92  Any Updates?

No...I was busy so unable to do but tomorrow I will surely make commit.
On Sat, Jun 19, 2021 at 8:51 PM Rajinderpal Singh @.***>
wrote:

@deepaahuja92 https://github.com/deepaahuja92 Any Updates?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-864419907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3ULVG43TMHOQZU2VSTLTTSYXBANCNFSM463FMZKA
.

Will you be able to complete it by tomorrow, as Deadline is near?@deepaahuja92

I will be needing more time to work on this as because of some work I was
not able to do.
On Mon, Jun 21, 2021 at 3:47 PM Rajinderpal Singh @.***>
wrote:

Will you be able to complete it by tomorrow, as Deadline is near?
@deepaahuja92 https://github.com/deepaahuja92
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-864915666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3UMQJOBW4KEMV37FVSLTT4GVHANCNFSM463FMZKA
.

How much time?

Till 25th
On Mon, Jun 21, 2021 at 3:53 PM Rajinderpal Singh @.***>
wrote:

How much time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-864919379,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3UKDZQ5FE4ZDRBK4MTDTT4HKHANCNFSM463FMZKA
.

Deadline extended 25 June,2021

@deepaahuja92 Any updates, as deadline is near. If you are not comfortable while solving this Do tell us, no worries.

I am really sorry sir.Because of rainy season the electricity is not there
is my home for maximum time.So my pc is not charged and also there is no
internet because of no electricity my modem does not work. So that's the
only problem because of which I am not able to do the work,Please can you
assign it to someone else?I am again very sorry.
On Wed, Jun 23, 2021 at 6:30 PM Rajinderpal Singh @.***>
wrote:

@deepaahuja92 https://github.com/deepaahuja92 Any updates, as deadline
is near. If you are not comfortable while solving this Do tell us, no
worries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-866814057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3UIRLZXQIFHAV2UYVSTTUHLHNANCNFSM463FMZKA
.

No problem @deepaahuja92

i would like to work on this please assign me @sairish2001

Go ahead
Deadline 27 June,2021

@coding-geek21 Any updates?

@coding-geek21 Any updates, as deadline is near?

@coding-geek21 Any updates, as deadline is near?
If you are not comfortable with this issue, do tell us, feel free

Can you please extend the deadline? Since my exams are nearing..
If anyone is going to work on this issue let them work otherwise can I resume my work after exams?

@coding-geek21 Actually the whole base of project is based on this issue, I want to solve this as soon as possible.
So I am unassigning you @coding-geek21 Sorry!
But after exams come back with more energy 🔥

@sairish2001 I want to work on this issue

Go ahead
Deadline 1 July,2021

@coding-geek21 Actually the whole base of project is based on this issue, I want to solve this as soon as possible.
So I am unassigning you @coding-geek21 Sorry!
But after exams come back with more energy 🔥

Sure !

repo: makesmatheasy/makesmatheasy


text:
Option for hiding comments by user

Hides comments by the given users, in a comma separated string.
Technically, it would be more correct to hide by user id, since usernames can change and it won't work for anyone with a comma in their name. However, this would mean a more involved UI and in practice I haven't come across any issues that require it, so this probably suffices for now.

Please rebase this on top of the master branch, and I'll merge it.

authors: Pycea maksverver

repo: maksverver/astral-codex-eleven


text:
Spooky mode reminder

Need to spookify this website

That's ok, I think.


text:
🛑 Passbolt is down

In f4bde02, Passbolt ($SITES_PASSBOLT_URL/healthcheck/status.json) was down:

HTTP code: 530
Response time: 69 ms

Resolved: Passbolt is back up in 316a6fd after 46 minutes.

repo: malang-dev/upptime


text:
Microstutters since 2024

Describe the bug
Microstutters every half second in WebStorm 2024
To Reproduce

Install this plugin.
Try to navigate via the keyboard in an Angular component.

Expected Behavior

No lag or freezing.

Environment
WebStorm 2024.1.2
Build #WS-241.15989.105, built on April 23, 2024
You have a perpetual fallback license for this version.
Subscription is active until August 4, 2025.
Runtime version: 17.0.10+1-b1207.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.146.1-microsoft-standard-wsl2
GC: G1 Young Generation, G1 Old Generation
Memory: 8192M
Cores: 32
Registry:
undo.documentUndoLimit=1000
actionSystem.playback.typecommand.delay=5
ide.forcedShowTooltip=
ide.balloon.shadow.size=0
debugger.watches.in.variables=false
debugger.new.tool.window.layout=true
vcs.resolve.symlinks.for.vcs.operations=
keymap.windows.as.meta=true
ide.ui.tree.indent=4
terminal.distraction.free=true
toolwindow.disable.overlay.by.double.key=true
ide.experimental.ui=true
typescript.compiler.all.settings=true
eslint.service.node.arguments=--max_old_space_size=8192
Non-Bundled Plugins:
awesome.console (0.1337.12)
com.jaredrobertson.plugins.angularFileSwitcher (0.0.8)
lermitage.intellij.extra.icons (2024.3.4)
ru.adelf.idea.dotenv (2024.1)
com.intellij.database (241.14494.180)
mdx.js (241.15989.9)
com.mallowigi (95.0.0)
zielu.gittoolbox (500.2.6+233)
mobi.hsz.idea.gitignore (4.5.3)
Screenshots

Do you have a project I can reproduce?

Do you have a project I can reproduce?

https://github.com/ng-doc/ng-doc

Looks like maybe related to the same behavior I just reported here over in JetBrain's tracker and the Material UI plugin repo:
https://youtrack.jetbrains.com/issue/WEB-66851/Keystrokes-in-latest-ver-of-WebStorm-SEVERELY-delayed
https://github.com/mallowigi/material-theme-issues/issues/508

I have also been experiencing this problem for quite some time now.

Are you using custom VM options?

No.

I really have no clue. I thought this would be -Dsun.java2d.metal=false causing the issue but it doesn't seem like you have it.
Is the problem happening also on a Factory Defaults setup?

What do you mean "a Factory Defaults setup"? 🤔

I mean if you change the config directory from the toolbox to use a clean directory without any settings or plugins, and install the plugin, do you still experience slowness?

This only seems to impact me when I have multiple instances of WebStorm open. What could be causing this?

This issue seems to be resolved in 2024.2 EAP.  I'll keep testing and report back.

glad to hear

I'm encountering something similar in 2024.2 EAP...

authors: R-Bower RavenHursT mallowigi xDroni

repo: mallowigi/a-file-icon-idea


text:
Fix typo

Oops! :rofl:

Certainly won't be the last time someone makes that mistake.....

Looks like we finally got it! :tada:

authors: maresb wholtz

repo: mamba-org/micromamba-docker


text:
Remove or add custom-key for Micromamba-bin cache

I'm experiencing unexpected and undocumented behavior with caching. In the post install mamba step, micromamba-bin is being cached automatically with a key that is not configurable.
This creates cache bloat if the Github action job runs multiple times (ex. everyday).
Is this a known bug (I couldn't find one if so)?
...

Cache Size: ~5 MB (5504365 B)
Cache saved successfully
Cache saved with key: micromamba-bin https://micro.mamba.pm/api/micromamba/linux-64/latest Wed May 17 2023 YYY

...

Configuration step details:
...

jobs:
  lint:
    name: Lint dbt models using SQLFluff
    runs-on: ubuntu-latest

    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - name: Checkout branch
        uses: actions/checkout@v3
        with:
          fetch-depth: "0"

      - name: Micromamba environment creation
        uses: mamba-org/provision-with-micromamba@main
        with:
            environment-file: transform-dbt/environment.yml
...

Doesn't this only create a single cache entry per day, and then old unused cache entries will be evicted when GitHub cleans them up?

The new action mamba-org/setup-micromamba doesn’t cache the micromamba binary. Doing that for 5MB is either way not really necessary; downloading it directly is probably even faster 😅

authors: jgooly jonashaag pavelzw

repo: mamba-org/provision-with-micromamba


text:
Unable to load shared library 'kernel32.dll' on macOS

Expected Behavior
Starting more than a single dapr-service via dapr-sidekick should be possible on macOS
Actual Behavior
Starting a single service seems to work, starting a second one results in this error message:
System.DllNotFoundException: Unable to load shared library 'kernel32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libkernel32.dll, 1): image not found
   at Man.Dapr.Sidekick.Native.NativeProcess.OpenProcess(OpenProcessDesiredAccessFlags dwDesiredAccess, Boolean bInheritHandle, UInt32 dwProcessId)
   at Man.Dapr.Sidekick.Native.NativeProcess.GetCommandLine(Process process, String& commandLine)
   at Man.Dapr.Sidekick.Process.ProcessCommandLine..ctor(SystemProcess systemProcess)
   at Man.Dapr.Sidekick.Process.SystemProcess.GetCommandLine()
   at Man.Dapr.Sidekick.Process.DaprProcess`1.CheckExistingProcesses(TOptions proposedOptions)
   at Man.Dapr.Sidekick.Process.DaprProcess`1.Initialize(DaprCancellationToken cancellationToken)

Steps to Reproduce the Problem
On MacOS (Big Sur), start two services via dotnet run at the same time (both using services.AddDaprSidekick as a configured service). Last service to start will result in above error. Also, the error appears when running the tests in the dapr-sidekick-dotnet-project on macOS:
Man.Dapr.Sidekick.Process.ProcessCommandLineTests+Constructor.Should_retrieve_commandline

System.EntryPointNotFoundException : OpenProcess assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) Man.Dapr.Sidekick.Native.NativeProcess.OpenProcess(Man.Dapr.Sidekick.Native.NativeProcess/OpenProcessDesiredAccessFlags,bool,uint)
  at Man.Dapr.Sidekick.Native.NativeProcess.GetCommandLine (System.Diagnostics.Process process, System.String& commandLine) [0x00006] in /dapr-sidekick-dotnet/src/Man.Dapr.Sidekick/Native/NativeProcess.cs:89
  at Man.Dapr.Sidekick.Process.ProcessCommandLine..ctor (Man.Dapr.Sidekick.Process.SystemProcess systemProcess) [0x00000] in /dapr-sidekick-dotnet/src/Man.Dapr.Sidekick/Process/ProcessCommandLine.cs:10
  at Man.Dapr.Sidekick.Process.ProcessCommandLineTests+Constructor.Should_retrieve_commandline () [0x0000e] in /dapr-sidekick-dotnet/tests/Man.Dapr.Sidekick.Tests/Process/ProcessCommandLineTests.cs:14
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:395

Release Note

RELEASE NOTE:
Note: I started digging around in the code and it occurred to me that this might actually be the expected behaviour. The problematic code is in NativeProcess.cs and the second line of that file (https://github.com/man-group/dapr-sidekick-dotnet/blob/main/src/Man.Dapr.Sidekick/Native/NativeProcess.cs#L2) mentions a StackOverflow article. I had a look and the NativeProcess.cs implementation is inspired by this project: https://github.com/sonicmouse/ProcCmdLine. In the README of mentioned project, it is said that this implementation is Windows only. It would be great if you would consider Mac/Linux support as Dapr Sidekick is a sorely missed feature that addresses an issue we have had in our team for a long time ❤

First, great to hear that it generally works on MacOS - it's not a scenario we've had a chance to try yet. The issue you're seeing is in the area where Sidekick detects an existing running daprd process and tries to obtain the command-line parameters to see if it was launched with the same AppId and Port as the hosting service. If they match then it attempts to "attach" to that instance rather than launching a new one as you cannot have multiple daprd instances on the same computer with the same AppId. However .NET does not include a cross-platform way of obtaining these process arguments so we had to use a native Windows-only approach.
As this "attach" feature can't currently work on non-Windows platforms anyway (at least until a Linux/Mac developer contributes a change to support it) I suggest we just skip over the check for those platforms and try to start the second Dapr instance. Worst case Dapr will fail to start if it's using the same AppId as an existing running process, but for those like yourself that don't need the "attach" feature anyway it would at least solve this issue.
Does that sound reasonable?

Great, thanks! This sounds like a good solution! I'll test the fix and comment  I encounter any problems 👍

authors: badgeratu helgeblod

repo: man-group/dapr-sidekick-dotnet


text:
Updated Czech translation.

Updated Czech translation after #372.

Thanks for the updated strings!

authors: hermajan manastungare

repo: manastungare/google-calendar-crx


text:
[Tool Request] FactionC2

Greetings distinguished Mandiant colleagues,
I don't know if the licensing allows it, but I am curious if CommandoVM would be able to implement FactionC2 MARAUDER released at TROOPERS19; my understanding is it was developed by one of the red team Jareds on twitter dot com.
I'm still getting caught up on CommandoVM's implementation of various command & control services, so I'll save similar questions for others like byt3bl33d3r's SILENTTRINITY for the future.
Full disclosure: I am primarily interested in this because I like the logo (this is well-documented) and because I'd like to find more diverse build servers & payloads in the wild. 😉

Added to Roadmap

I thought Faction only works on ubuntu 18.02

The tool is no longer maintained. If you have requests for maintained C2 tools, please submit them. We'd love to get them into the upcoming 3.0 release!

repo: mandiant/commando-vm


text:
angular-oauth2-oidc - multiple app instances support

Hello,
I've noticed some issues relatetd when using angular-oauth2-oidc by many application instances opened in separate tabs.
Currently library used in separate application instances overrides its token info stored in session storage. This in turn causes problems with token refreshing when setupAutomaticSilentRefresh option is turned on.
Sometimes one of application instance stops to refresh tokens.
To solve this issue, I've also tried to create my own OAuthStorage implementation that adds unique prefixes to session storage keys for each application instance but this in turn causes "nonce" related validation errors (even if I set disableOAuth2StateCheck=true)

Could you create a sample repository or StackBlitz example that demonstrates the issue? I don't experience these problems in my production application that looks quite similar to my sample application (as far as I know).

authors: jeroenheijmans lukbin


text:
[Feature Request]: Sustainable Water Management Solutions Tools for AgroTech AI Platform

Description:
This umbrella issue focuses on implementing Sustainable Water Management Solutions Tools on the AgroTech AI platform. The goal is to empower farmers to conserve water, implement rainwater harvesting systems, and optimize water usage with a set of interactive tools and educational resources.
The implementation will be broken down into several PRs, each representing a key tool or resource for water management.
Child PRs Under This Umbrella Issue:

Add Rainwater Harvesting Calculator (Backend Logic & UI)
Add Water Usage Estimator Tool (Inputs & Calculation Logic)
Add Irrigation System Efficiency Tracker (Input Fields & Suggestions)
Add Local Supplier Search & Filter (Backend & UI)
Add Water Conservation Tips & Best Practices Section (UI & Content)
Add Rainwater Harvesting System Design Tool (Logic & Interactive UI)

Rainwater Harvesting Calculators
Description: A tool to help users calculate the potential water savings from setting up a rainwater harvesting system. This would include factors like roof area, rainfall patterns, and storage capacity.
Components/Tasks:
Backend Calculation Logic: Implement the logic for calculating the total water savings based on user inputs (roof area, average rainfall, etc.).
UI Components: Create input fields for the user to enter data (e.g., roof size, rainfall data), and display the result (e.g., potential water collection).
Display Results: Show the estimated amount of water that can be harvested and stored.
PR Example: Add Rainwater Harvesting Calculator (Backend Logic & UI).
Water Usage Estimator
Description: A tool to estimate the current water usage on a farm, based on variables like farm size, crop type, and irrigation method.
Components/Tasks:
Backend Logic for Water Estimation: Develop logic for calculating water usage based on input data (e.g., crop types, irrigation systems, and climate).
UI Inputs: Provide fields for users to input farm size, crop type, irrigation method, and any other relevant data.
Estimation Results: Display the total water usage and potentially offer suggestions for reduction.
PR Example: Add Water Usage Estimator Tool (Inputs & Calculation Logic).
Efficiency Tracker for Irrigation Systems
Description: A tool that helps users calculate the efficiency of their existing irrigation systems and provides recommendations for improvement (e.g., switching to drip irrigation).
Components/Tasks:
Efficiency Scoring System: Develop a scoring system based on irrigation method efficiency.
Data Input Fields: Allow users to enter data about their current irrigation system (e.g., sprinklers, drip lines, flood irrigation).
Suggestions for Improvement: Based on the efficiency score, suggest improvements like system upgrades or maintenance tips.
PR Example: Add Irrigation System Efficiency Tracker (Input Fields & Suggestions).
Local Supplier Database
Description: A searchable database of local suppliers and installers for rainwater harvesting and water-efficient systems.
Components/Tasks:
Database Integration: Implement a backend database for storing supplier information (location, services offered, contact info).
Search & Filter Functionality: Develop search and filter capabilities (e.g., by location, services provided).
UI for Supplier Search: Create a user-friendly interface for users to search for and view suppliers in their area.
PR Example: Add Local Supplier Search & Filter (Backend & UI).
Water Conservation Tips and Best Practices
Description: A tool or section providing tips and best practices for water conservation tailored to agriculture, with content like water-efficient irrigation methods, soil moisture retention techniques, etc.
Components/Tasks:
Content Aggregation: Collect or create educational content related to water conservation techniques (articles, videos, guides).
UI for Displaying Content: Design a clean, navigable section for users to browse tips and resources.
Interactive Elements: Allow users to interact with content (e.g., rate tips, share, or ask questions).
PR Example: Add Water Conservation Tips & Best Practices Section (UI & Content).
Rainwater Harvesting System Design Tool
Description: A tool that helps users design a rainwater harvesting system based on their farm's specific needs (e.g., size, roof area, average rainfall).
Components/Tasks:
Design Logic: Develop a system design logic that takes user inputs (e.g., roof area, rainfall) and suggests a design for the system (e.g., gutter size, tank volume).
Interactive Design UI: Create an interactive UI where users can input data and visually see their design recommendations.
Suggestions for Components: Provide recommendations for components such as tanks, filters, and pumps based on the user's needs.

are these machine learning models ..? @Shariq2003

repo: manikumarreddyu/AgroTech-AI


text:
want to add different hover properties in Nav bar

I would like to  add  different hover effects in the Given Nav bar section and color changes  that it looks more attractive and change the color whenever the cursor moves there.
Pls add GSSOC EXTD'24 and HACKTOBERFEST Badge and level .
@maniyaom
Thank you, looking forward to contribute .

I would like to work o this project .Please assign it to me

repo: maniyaom/Movie-Ticket-Booking


text:
🛑 Mesa Freeworld is down

In 0e98bae, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in 02f73b4 after 12 minutes.

repo: manjaro-contrib/upptime


text:
Running Manjaro Sway alongside a different Manjaro edition

First of all, I apologize if this is the wrong place where to ask this! If so, redirect me where appropriate.
I was wondering what's the best way to try out Manjaro Sway as a daily driver, from a different Manjaro edition install. E.g., I'm using Manjaro Gnome, and I'd prefer not to reinstall everything to see if it works for me. I tried installling Sway, and of course that's vanilla Sway without all the goodies that comes with the Manjaro Sway edition out of the box. So I was wondering if there's a way to somehow be able to set everything up in a way that lets me choose between Gnome and Sway before login, and then have a Sway setup similar to the one that comes with this edition.
Thanks!

Having manjaro i3 version, I tried to edit PKGBUILD per @boredland suggestion, but I received conflict report anyway.
I decided to proceed and replace the i3settings with swaysettins, apparently it didn't break anything.
I'm using lightDM and it didn't manage to start the sway session even though it appeared in selection, so I switched to different tty using ctrl+alt+f2 and logged in and started sway manually.
It loaded the i3 user settings, so I had to copy sway .config files from https://github.com/Manjaro-Sway/desktop-settings/tree/sway/community/sway/etc/skel and add .profile variables to my profile
Afterwords logging in it looks like a fully working sway desktop. Swaylock just keeps locking when I watch youtube videos in Vivaldi, not sure how to go about fixing that one.
Also scratchpad doesn't appear to be working, but overall pretty nice job lads

Regarding hard requirements, it seems there's no package available called sway-services (anymore?). Any tips?

authors: Hessesian JanisGailis komali2

repo: manjaro-sway/manjaro-sway


text:
Add action to remove package from packages

... files need to be removed and database needs to be updated.
could be a nice workflow dispatch action.

not a priority


text:
Resizing of Components

As on other social sites like FB we can see a whole post at once some times two post without scrolling which make the readability of different post fast. The size of posts and components in News24x7 is very large an to see a single post only we have to scroll down. So by reducing the size of components the page will look more clean.

Good point, go ahead!

authors: ExpressHermes Tushardeepak


text:
toXML() table name doesn't close tag

Hi! Thank you so much for this amazing library. I have encountered another little problem with adding a tableName in xml2lua.toXml(table, tableName):
Calling xml2lua.toXml(table, "Game")yields this result:
<Game>
  <resources>
    <path>file.txt</path>
  </resources>

Notice how the closing </Game> tag is missing.
Thank you!
v1.4-2

I couldn't reproduce the issue. That happened in a previous version.
Try to uninstall:
luarocks remove xml2lua

and reinstall with
luarocks install xml2lua.

I'm using this table:
<game>
      <resources>
          <object>
                <path>myFirstPath</path>
                <path>mySecondPath</path>
          </object>
      </resources>
 </game>

And print(xml2lua.toXml(table)) produces the following XML:
<game>
    <resources>
        <object>
            <path>myFirstPath</path>
            <path>mySecondPath</path>
        </object>
    </resources>
</game>

Thanks for the quick reply! I am using v v1.4-2 directly from Github. Is there a later version from luarocks?

No, there isn't.
Try to update your clone/fork and execute luarocks make to ensure you've installed the latest version.
Probably you have the latest sources but an older version locally installed.

I've tried using xml2lua.lua directly, and also installing it using luarocks, but I am still having the same issue. I'm not sure if the problem is on my side or not, but a workaround is super easy to implement, so this isn't really causing me any problems anymore!

If you provide an example, I check it here.

Here's a little example:
local xml2lua = require("xml2lua.xml2lua")

local table = {
    person = {
        {
            name = "Carl",
            city = "New York"
        },
        {
            name = "Alex",
            city = "London"
        }
    }
}

print(xml2lua.toXml(table, "people"))

Result:
<people>
    <person>
      <city>New York</city>
      <name>Carl</name>
    </person>
    <person>
      <city>London</city>
      <name>Alex</name>
    </person>

My local copy of xml2lua has this xml2lua-1.4-2.rockspec:
package = "xml2lua"
version = "1.4-2"
source = {
   url = "git://github.com/manoelcampos/xml2lua",
   tag = "v1.4-2"
}
description = {
   summary = "An XML Parser written entirely in Lua that works for Lua 5.1+",
   detailed = [[
   Enables parsing a XML string into a Lua Table and
   converting a Lua Table to an XML string.
   ]],
   homepage = "http://manoelcampos.github.io/xml2lua/",
   license = "MIT"
}
dependencies = {
   "lua >= 5.1, <= 5.4"
}
build = {
  type = "builtin",
  modules = {
      xml2lua = "xml2lua.lua",
      XmlParser = "XmlParser.lua",
      ["xmlhandler.tree"] = "xmlhandler/tree.lua",
      ["xmlhandler.print"] = "xmlhandler/print.lua",
      ["xmlhandler.dom"] = "xmlhandler/dom.lua",
   }

}

That was an issue with the second param, which is optional.
Just fixed that. Try the new 1.4-3 version.
Thanks for reporting.

No problem! I will use the latest version.

authors: fordcars manoelcampos


text:
Mattermost Server Down?

Is the mattermost server down? I cannot seem to connect, it gives me 526 errors and bad SSL certificate errors.

Hacked by slack? ;)
Sent from my iPhone

On Apr 10, 2017, at 1:27 PM, anton notifications@github.com wrote:
Is the mattermost server down? I cannot seem to connect, it gives me 526 errors and bad SSL certificate errors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Seems okay to me. I'm not experiencing any issues.
On Apr 10, 2017 1:27 PM, "anton" notifications@github.com wrote:

Is the mattermost server down? I cannot seem to connect, it gives me 526
errors and bad SSL certificate errors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mantl/mantl/issues/1892, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADetR5g-X2Si_e4jf8P7ZHAF6GEDitQks5rupC0gaJpZM4M5R42
.

So am I the only one not able to access it?

What client are you using? I tried with Android app, website and Mac OSX
app and they all work.
On Apr 10, 2017 1:41 PM, "anton" notifications@github.com wrote:

So am I the only one not able to access it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mantl/mantl/issues/1892#issuecomment-293072408, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADetYDoWjym8gvKey6ySZPseTOTQ0pLks5rupQBgaJpZM4M5R42
.

@Theaxiom Firefox

Try installing the desktop client and pointing it at
https://mattermost.dynamictivity.com
On Apr 10, 2017 2:07 PM, "anton" notifications@github.com wrote:

@Theaxiom https://github.com/Theaxiom Firefox
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mantl/mantl/issues/1892#issuecomment-293079195, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADetWxpUyzIDtDISU65OKoKWSjdpeE0ks5rupn0gaJpZM4M5R42
.

Did it work?

Sorry guys, Mattermost is currently down at this moment in time due to a Digital Ocean outage: http://status.digitalocean.com

Just received an update from Digital Ocean:
Hello,
We would like to apologize and take full responsibility for the issues you’ve experienced today. We want you to know that fixing them is absolutely our top priority.
At 06:43 UTC, multiple redundant power sources in our SFO2 datacenter failed temporarily, causing a large number of Droplets and core systems, including networking, to go down. We have restored power and networking, and are currently working to bring all affected Droplets safely online.
Following the full power recovery, we started to experience delays in event processing. Our engineering team was able to isolate the root cause. We will update the status page once all events are processing without delay and will publish further details to our blog once we’ve conducted a full post mortem.
We’ll continue to post updates on our status page as we have them:
https://status.digitalocean.com
We understand how much this is impacting you, and we’re currently all hands on deck trying to resolve the issues as quickly as possible. We’re working to understand the various causes of the problems and we are committed to finding permanent solutions. Following the full resolution of this issue, we will provide you with an update and we will separately follow up regarding SLA credits. We sincerely thank you for your patience and understanding in the meantime.
With love,
DigitalOcean Platform Support

Mattermost is back up now, the Digital Ocean issue is starting to resolve. It is quite unfortunate about Digital Ocean, I am sure that is really going to hurt them.

@Theaxiom : Travis, can you enable tunnel connections to your Mattermost server?
I am not able to access it even with the Mattermost desktop client:
Cannot connect to Mattermost
ERR_TUNNEL_CONNECTION_FAILED (-111)
is the error I get from everywhere.

Are you behind a proxy or something @Cryptophobia ? The server is enforcing HTTPS btw.

What browser are you using @Cryptophobia ? I would try clearing out your HSTS certificate cache in your browser, I am betting that's it since I changed SSL certificates. You can use these instructions: https://www.thesslstore.com/blog/clear-hsts-settings-chrome-firefox/

Also, try checking your proxy settings of your browser. You may have something in there you don't know about: https://www.servertastic.com/support/error-111-net-err-tunnel-connection-failed-unknown-error

One last thing I can think of, CloudFlare blocks users who have malware installed. You can try scanning for malware on your computer: https://www.malwarebytes.com

@Theaxiom Hey, I tried all those things but nothing is working. I am using Firefox as the browser/the desktop client and going through an http proxy.
I was able to connect until you change the certificate. Do you think CloudFlare is blocking my proxied connection?

After trying different things I was able to get in again. I don't know for how long this bliss will last... lol

I'm sure it was the HSTS, it is very touchy. You should be fine indefinitely now.

authors: Cryptophobia Theaxiom thomasvincent

repo: mantl/mantl


text:
State loading synchronization

Hello @manuelmazzuola!
It's me back again )
I've encountered another issue with the module during it's use in one of our projects.
The problem is that the module loads stylesheets AFTER the state transition is complete and $viewContentLoaded event is triggered, i.e. when DOM of the view is compiled and rendered. Because of that some plugins are not working correctly, cause they need to know element dimensions during the initialization (and dimensions are not correct because stylesheets are not yet loaded).
I think that from conceptual standpoint view depends on CSS, so the CSS should be loaded prior to view being rendered and compiled.
Does it make sense to you? If so, we could think further of how we could improve this situation.

Hello @manuelmazzuola and @slavafomin
Same issue to me.
There is always a "ugly time" before the css was loaded.
I'm wondering is there any way to load the css file before the view is rendered.

There is a way to check if the css files are effectively loaded and fire an event, but, you have to wait for that event before rendering the template.

Hello @ming-body7 I've developed a module for Angular that tries to solve the problem of loading CSS dynamically, please have a look. It's kinda experimental, but we are using it in our production projects. It loads CSS during the resolve phase of the state transition and fires events when loading is started and finished.

@slavafomin Thanks for your remind! I will try it.

authors: manuelmazzuola ming-body7 slavafomin

repo: manuelmazzuola/angular-ui-router-styles


text:
Changes for issue #43 (Shortcut for multiple object properties)

Changes for issue #43 :

add mapObjectFields() to add object properties using template e.g. 'property.*' or '*'

Coverage remained the same at 100.0% when pulling 4865f84ebb3c52b8917c9e20dfaa40447e5414aa on anikolaev:object-prop into 65842ca6719b78a29470c2647d42150f5c1a8087 on maoberlehner:master.

Hey @maoberlehner, sorry to bother but this actually seems to be the perfect solution for some difficulties that I'm having using vuex-map-fields, do you have an estimation of when is this getting merged/released? And thank you for your work with this package, it's really helpful!

@maoberlehner thanks for the great package it's very simplify my way in project. But I have the problem with fields that does not exist. Could you please review and merge pull-request?

@maoberlehner One of previous yarn versions added these integrity lines. Now they only add them for changed modules. Reverted.
Yes, I think integration of mapObjectFields() into mapFields() may work but it needs to be investigated. I see at least one limitation - you cannot have keys with asterisks (*) in this case but they are probably rarely used. Same for empty keys. Maybe mapMultiRowFields() also could be integrated (something like ...mapFields({ users: 'users[]'})). Unfortunately I am not sure I can check it now. Same for the documentation.

Hi.
I'm using your work and i found this, any update or news about this feature ?
I have a user form with a separate address component including billing and shipping address, so mapping all fields is kinda long and not very good.

Can someone revert the yarn.lock?

@anikolaev looks like there are failing tests here. Can you address this?

authors: Exalyn anikolaev code-yo coveralls frankievx geoidesic mariobalca

repo: maoberlehner/vuex-map-fields