Having trouble getting root.hints file to work properly

I downloaded the root.hints file and entered the path in unbound.conf. I'm now receiving the following error.
[1661205444] unbound[1:0] info: start of service (unbound 1.16.2).
[1661205444] unbound[1:7] error: second hints for zone . ignored.
[1661205444] unbound[1:6] error: second hints for zone . ignored.
[1661205444] unbound[1:2] error: second hints for zone . ignored.

Any help would be appreciated. The only thing I could find on this repo related to root.hints was pulling it before manually building the container.
Everything is working fine, but it's driving me a bit crazy, because I don't know if I did this correctly.
Docker run command
docker run -d \
  --name=unbound \
  --net=host \
  --restart=unless-stopped \
  -v /home/ubuntu/.config/unbound/unbound.conf:/etc/unbound/custom.conf.d/unbound.conf \
  -v /home/ubuntu/.config/unbound/root.hints:/var/lib/root.hints \
  --cap-add=NET_ADMIN \
  klutchell/unbound:latest

unbound.conf
server:
    directory: "/etc/unbound/"

    interface: <IP_ADDRESS>
    port: 5053

    do-ip4: yes
    do-ip6: no
    do-udp: yes
    do-tcp: yes
    prefer-ip6: no

    harden-glue: yes
    harden-dnssec-stripped: yes

    use-caps-for-id: no

    edns-buffer-size: 1232

    prefetch: yes
    serve-expired: yes
    serve-expired-ttl: 86400

    rrset-cache-size: 250m
    msg-cache-size: 125m

    num-threads: 8
    msg-cache-slabs: 8
    rrset-cache-slabs: 8
    infra-cache-slabs: 8
    key-cache-slabs: 8

    so-rcvbuf: 4m
    so-sndbuf: 4m

    outgoing-range: 200
    num-queries-per-thread: 100

    private-address: <IP_ADDRESS>/16

    verbosity: 0

    logfile: ""

    root-hints: "/var/lib/root.hints"

Hey @BrodyStone21, how did you download the root hints? Can you confirm the contents look the same as this?

Hey @BrodyStone21, how did you download the root hints? Can you confirm the contents look the same as this?

Hello, I'm sorry for the late reply. I followed the steps in the documentation and the contents look the same.
Anything else I can provide?

Can you make sure that your root hints file is readable by 101:102 or world?
What if you change the root hints mount and config path to /etc/unbound/root.hints?

Can you make sure that your root hints file is readable by 101:102 or world?
What if you change the root hints mount and config path to /etc/unbound/root.hints?

Running sudo chown 101:102 root.hints and sudo chmod +rwx root.hints did not work. I forgot I changed my compose since posting this. Here is what I'm currently working with. As you can see, I'm already using /etc/unbound/root.hints
version: '3'

services:
  unbound:
    container_name: unbound
    restart: unless-stopped
    image: klutchell/unbound
    cap_add:
      - NET_ADMIN
    volumes:
      - /home/ubuntu/.config/unbound/unbound.conf:/etc/unbound/custom.conf.d/unbound.conf
      - /home/ubuntu/.config/unbound/root.hints:/etc/unbound/root.hints
    network_mode: host

Interesting...
Does unbound appear to work despite the error, or does it not resolve or crash?
Can you try turning up the verbosity value in your config?
What happens if you use the root.hints from this repo instead of your own?

Does unbound appear to work despite the error, or does it not resolve or crash?
Unbound works just fine with the error.

What happens if you use the root.hints from this repo instead of your own?

The issue persists when using the root.hints file from the repo.

Can you try turning up the verbosity value in your config?

[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating udp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: creating tcp4 socket <IP_ADDRESS> 5053
[1664057477] unbound[1:0] debug: chdir to /etc/unbound/
[1664057477] unbound[1:0] debug: drop user privileges, run as unbound
[1664057477] unbound[1:0] debug: switching log to stderr
[1664057477] unbound[1:0] debug: duplicate acl address ignored.
[1664057477] unbound[1:0] debug: duplicate acl address ignored.
[1664057477] unbound[1:0] debug: duplicate acl address ignored.
[1664057477] unbound[1:0] debug: duplicate acl address ignored.
[1664057477] unbound[1:0] debug: module config: "validator iterator"
[1664057477] unbound[1:0] notice: init module 0: validator
[1664057477] unbound[1:0] debug: reading autotrust anchor file /etc/unbound/root.key
[1664057477] unbound[1:0] info: trust point . : 1
[1664057477] unbound[1:0] info: assembled 0 DS and 1 DNSKEYs
[1664057477] unbound[1:0] info: DNSKEY:: .      86400   IN      DNSKEY  257 3 8 AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTOiW1vkIbzxeF3+/4RgWOq7HrxRixHlFlExOLAJr5emLvN7SWXgnLh4+B5xQlNVz8Og8kvArMtNROxVQuCaSnIDdD5LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF0jLHwVN8efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7pr+eoZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLYA4/ilBmSVIzuDWfdRUfhHdY6+cn8HFRm+2hM8AnXGXws9555KrUB5qihylGa8subX2Nn6UwNR1AkUTV74bU= ;{id = 20326 (ksk), size = 2048b}

[1664057477] unbound[1:0] info: file /etc/unbound/root.key
[1664057477] unbound[1:0] info: last_queried:<PHONE_NUMBER> Sat Sep 24 22:10:31 2022
[1664057477] unbound[1:0] info: last_success:<PHONE_NUMBER> Sat Sep 24 22:10:31 2022
[1664057477] unbound[1:0] info: next_probe_time:<PHONE_NUMBER> Sun Sep 25 09:28:19 2022
[1664057477] unbound[1:0] info: query_interval: 43199
[1664057477] unbound[1:0] info: retry_time: 8639
[1664057477] unbound[1:0] info: query_failed: 0
[1664057477] unbound[1:0] info: [  VALID  ] .   86400   IN      DNSKEY  257 3 8 AwEAAaz/tAm8yTn4Mfeh5eyI96WSVexTBAvkMgJzkKTOiW1vkIbzxeF3+/4RgWOq7HrxRixHlFlExOLAJr5emLvN7SWXgnLh4+B5xQlNVz8Og8kvArMtNROxVQuCaSnIDdD5LKyWbRd2n9WGe2R8PzgCmr3EgVLrjyBxWezF0jLHwVN8efS3rCj/EWgvIWgb9tarpVUDK/b58Da+sqqls3eNbuv7pr+eoZG+SrDK6nWeL3c6H5Apxz7LjVc1uTIdsIXxuOLYA4/ilBmSVIzuDWfdRUfhHdY6+cn8HFRm+2hM8AnXGXws9555KrUB5qihylGa8subX2Nn6UwNR1AkUTV74bU= ;{id = 20326 (ksk), size = 2048b} ;;state:2 ;;pending_count:0 last:Tue Sep 20 13:29:33 2022
[1664057477] unbound[1:0] debug: validator nsec3cfg keysz 1024 mxiter 150
[1664057477] unbound[1:0] debug: validator nsec3cfg keysz 2048 mxiter 150
[1664057477] unbound[1:0] debug: validator nsec3cfg keysz 4096 mxiter 150
[1664057477] unbound[1:0] notice: init module 1: iterator
[1664057477] unbound[1:0] debug: target fetch policy for level 0 is 3
[1664057477] unbound[1:0] debug: target fetch policy for level 1 is 2
[1664057477] unbound[1:0] debug: target fetch policy for level 2 is 1
[1664057477] unbound[1:0] debug: target fetch policy for level 3 is 0
[1664057477] unbound[1:0] debug: target fetch policy for level 4 is 0
[1664057477] unbound[1:0] debug: ignoring duplicate private-address: <IP_ADDRESS>/8
[1664057477] unbound[1:0] debug: ignoring duplicate private-address: <IP_ADDRESS>/12
[1664057477] unbound[1:0] debug: ignoring duplicate private-address: <IP_ADDRESS>/16
[1664057477] unbound[1:0] debug: ignoring duplicate private-address: <IP_ADDRESS>/16
[1664057477] unbound[1:0] debug: total of 59449 outgoing ports available
[1664057477] unbound[1:0] debug: start threads
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:1] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:2] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:4] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:0] debug: Thread stack size set to 2097152
[1664057477] unbound[1:3] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:7] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:2] debug: Reading root hints from /etc/unbound/root.hints
[1664057477] unbound[1:0] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:5] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:4] debug: Reading root hints from /etc/unbound/root.hints
[1664057477] unbound[1:6] debug: libevent 2.1.12-stable uses epoll method.
[1664057477] unbound[1:3] debug: Reading root hints from /etc/unbound/root.hints
[1664057477] unbound[1:1] debug: Reading root hints from /etc/unbound/root.hints
[1664057477] unbound[1:1] info: DelegationPoint<.>: 13 names (0 missing), 26 addrs (0 result, 26 avail) parentNS
[1664057477] unbound[1:1] info:   M.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info: DelegationPoint<.>: 13 names (0 missing), 26 addrs (0 result, 26 avail) parentNS
[1664057477] unbound[1:4] info: DelegationPoint<.>: 13 names (0 missing), 26 addrs (0 result, 26 avail) parentNS
[1664057477] unbound[1:4] info:   M.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   M.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   I.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   I.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   A.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] debug:    ip6 2001:dc3::35 port 53 (len 28)
[1664057477] unbound[1:4] info:   A.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:4] debug:    ip6 2001:dc3::35 port 53 (len 28)
[1664057477] unbound[1:4] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:4] debug:    ip6 2001:500:9f::42 port 53 (len 28)
[1664057477] unbound[1:4] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:4] debug:    ip6 2001:7fd::1 port 53 (len 28)
[1664057477] unbound[1:4] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:2] info: DelegationPoint<.>: 13 names (0 missing), 26 addrs (0 result, 26 avail) parentNS
[1664057477] unbound[1:2] info:   M.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   I.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] debug:    ip6 2001:503:c27::2:30 port 53 (len 28)
[1664057477] unbound[1:1] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   J.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:3] debug:    ip6 2001:7fe::53 port 53 (len 28)
[1664057477] unbound[1:4] debug:    ip6 2001:500:1::53 port 53 (len 28)
[1664057477] unbound[1:4] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:2] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:3] debug:    ip6 2001:500:1::53 port 53 (len 28)
[1664057477] unbound[1:3] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:2] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] debug:    ip6 2001:500:12::d0d port 53 (len 28)
[1664057477] unbound[1:2] info:   F.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:3] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:3] debug:    ip6 2001:500:200::b port 53 (len 28)
[1664057477] unbound[1:2] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   A.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:1] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   A.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:4] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   I.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:4] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] debug:    ip6 2001:7fe::53 port 53 (len 28)
[1664057477] unbound[1:2] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:4] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] info:   A.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:3] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:3] info:   I.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] debug:    ip6 2001:500:2::c port 53 (len 28)
[1664057477] unbound[1:1] info: DelegationPoint<.>: 13 names (0 missing), 26 addrs (0 result, 26 avail) parentNS
[1664057477] unbound[1:1] info:   M.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:4] error: second hints for zone . ignored.
[1664057477] unbound[1:3] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:4] debug: cache memory msg=132120 rrset=132120 infra=10368 val=132400
[1664057477] unbound[1:1] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   I.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:1] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] debug: Reading root hints from /etc/unbound/root.hints
[1664057477] unbound[1:1] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] info:   A.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] debug:    ip6 2001:dc3::35 port 53 (len 28)
[1664057477] unbound[1:3] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:1] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:1] debug:    ip6 2001:500:9f::42 port 53 (len 28)
[1664057477] unbound[1:1] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:3] info:   A.ROOT-SERVERS.NET.  * A AAAA
[1664057477] unbound[1:2] info:   L.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   K.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   J.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   I.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:3] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:3] debug:    ip6 2001:500:2::c port 53 (len 28)
[1664057477] unbound[1:3] debug:    ip4 <IP_ADDRESS> port 53 (len 16)
[1664057477] unbound[1:2] info:   H.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   G.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   F.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   E.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   D.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   C.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   B.ROOT-SERVERS.NET. * A AAAA
[1664057477] unbound[1:2] info:   A.ROOT-SERVERS.NET.

This output is with the verbosity set to a value of 4. This is only a small chunck of the logs. I'm happy to send more if you wish, but was hoping this would be enough to help.
Please let me know if you need anything else.

Looking at the unbound source code I don't think that error is anything to worry about, especially if the service is otherwise running as expected.
https://github.com/NLnetLabs/unbound/blob/f02d6bddd12c26ccd19e62c18b96e5258164ccf7/iterator/iter_hints.c#L183
I am not familiar enough with how the root hints work to identify the exact conditions where it appears but I can't find any cases where it has caused problems.
The only remaining thing I can think of, is a lot of your config file duplicates the existing config that inherits it. So, for example, your merged configuration is specifying the root hints path twice.
Does the behaviour change if you override the default config by mounting to /etc/unbound/unbound.conf instead of /etc/unbound/custom.conf.d/unbound.conf?

The "problem" is that the container already has a root.hints file in the container; in the configuration. What is in that root.hints file can't be seen. If you exclude the line  - root-hints: "/var/lib/root.hints" - from your unbound.conf, the error goes away. So basically this container is not working with your own root.hints file. I wonder why the container is built this way. There also is no possibility to execute commands in the container like ls, a shell etc. etc. I was able to have the container Vance/unbound:latest to work with a root.hints file.

I'd guess simplicity, on both questions.
And I'd do exactly the same quite frankly

The "problem" is that the container already has a root.hints file in the container; in the configuration. What is in that root.hints file can't be seen. If you exclude the line - root-hints: "/var/lib/root.hints" - from your unbound.conf, the error goes away. So basically this container is not working with your own root.hints file. I wonder why the container is built this way. There also is no possibility to execute commands in the container like ls, a shell etc. etc. I was able to have the container Vance/unbound:latest to work with a root.hints file.

The container is distroless, as mentioned at the top of the readme, so there is no shell to log in with.
I don't see this issue with the included root hints file, the question here is why the providing new ones are resulting in non-critical errors. I hope to get back to this investigation some day soon but for now the container is still running so it doesn't seem to be blocking anyone.

@BrodyStone21 I reproduced this error by specifying a second root-hints in a custom config file. It seems that both values get read (the existing value from the included config is not overridden) and the error appears.
I suggest you either remove the root-hints path from your custom config, and just drop your root hints file on top of the existing one.
docker run -d \
  --name=unbound \
  --net=host \
  --restart=unless-stopped \
  -v /home/ubuntu/.config/unbound/unbound.conf:/etc/unbound/custom.conf.d/unbound.conf \
  -v /home/ubuntu/.config/unbound/root.hints:/etc/unbound/root.hints \
  --cap-add=NET_ADMIN \
  klutchell/unbound:latest

OR, if you want to continue using the /var/lib path, mount your configuration as the one true config, and mount it on top of the default config file.
docker run -d \
  --name=unbound \
  --net=host \
  --restart=unless-stopped \
  -v /home/ubuntu/.config/unbound/unbound.conf:/etc/unbound/unbound.conf \
  -v /home/ubuntu/.config/unbound/root.hints:/var/lib/root.hints \
  --cap-add=NET_ADMIN \
  klutchell/unbound:latest

So the error can safely be ignored and it's just a matter of not specifying a root-hints setting without removing the existing one.

I suggest you either remove the root-hints path from your custom config, and just drop your root hints file on top of the existing one.

I'll drop the line from my config. Thanks a ton for looking into and solving this issue.
I do have a few quick questions. How often is the root.hints file is updated from wherever it comes from? How fast are you able to get the root.hints file within the container configuration to reflect those changes?

How often is the root.hints file is updated from wherever it comes from?

Every few months maybe? The recommendation is every 6 months. I try to check for new versions whenever there is a new unbound release. I checked this week and the contents haven't changed so I didn't push the new timestamp.

How fast are you able to get the root.hints file within the container configuration to reflect those changes?

Good question. If I were notified that they need to be changed I could churn out a new build pretty fast. However I don't want to automate the process of updating root hints as that could increase the risk of some kind of spoofing of the named roots source without me noticing. I like to have a verified copy of the file in this repo that requires a human to inspect for any weirdness. It also means we can look at the git history to see which root hints were used at the time of a build.
I guess we could set up a scheduled job that checks if the root hints has actually changed and open a PR automatically? That would still involve a human to review but would ensure we catch changes pretty quickly. It would take some work since the timestamp in the file always changes, so we would only want a PR to open if one of the servers has changed.
Open a separate issue if this is something you'd like to see!


allow setting a custom Redacted.toString

Allow setting a custom string when creating redacted values e.g. "REDACTED_TOKEN" which is logged as:
level=INFO msg="permission granted" user=Perry token=REDACTED_TOKEN
Redacted.make("abc", "REDACTED_TOKEN")

This is useful for keeping tract of redacted values between log statements and is a feature provided by a few other logging libraries.

A better approach might be to use a ref = {} prop on the Redacted object that actually points to the entry in the redactedRegistry so that the Redacted can be mapped using a setString fn.

I started working on this idea yesterday)  I agree that it is convenient.
but I came to a slightly different implementation.
proto = {
...
  label: "redacted",
  toString() {
    return `<${this.label}>`
  },
  toJSON() {
    return `<${this.label}>`
  },
  [NodeInspectSymbol]() {
    return `<${this.label}>`
  },
...
}
export const make = <T>(
  value: T,
  options?: {
    label?: string | undefined
  } | undefined
): Redacted.Redacted<T> => {
  const redacted = Object.create(proto)
  if (options?.label !== undefined) {
    redacted.label = options?.label
  }
  redactedRegistry.set(redacted, value)
  return redacted
}

Could you please integrate this idea into this places as well?

Schema.Redacted/RedactedFromSelf
Config.redacted
Options.redacted in cli package

I think having a custom string is much better than forcing the "<>" wrapper. I was looking at the Config.redacted implementation as well and I think it makes more sense to use a Redacted.setString fn. But as far as I can tell that requires having a .ref prop that actually points to the value rather than using the Redacted instance itself as the ref.


Enforce a secure password for unlocking the wallet

Description
The user should be required to use a secure password for the wallet. The password should comply with certain security characteristics that are to be defined.

Closing, as this is being addressed by audit tasks


feature/add-config-option-to-pin-member-to-assignment

Added config option and variable to pin specific members to assignments

Iterate pack version and change log.


[Feature request] Help Identify and Set the Correct Microphone Input Source

Title: Assist in identifying and setting the correct microphone input source
Comment:
Is your feature request related to a problem? Please describe.
Configuring the correct microphone input source on Linux can sometimes be a challenge, especially on systems with multiple input devices. This can cause frustration, particularly when using applications that require a functioning microphone.
Describe the solution you'd like
It would be helpful to add a feature in Linutil that helps users identify and set the correct microphone input source. This could be done through an interactive interface or an automated script that detects available devices and allows the user to choose the right one.
Describe alternatives you've considered
While tools like pavucontrol allow users to configure the microphone manually, integrating this functionality into Linutil would make the process more straightforward, especially for less experienced users.
Additional context
This could be an optional feature, but it would definitely help users who struggle with audio input issues. Once again, thank you for all your amazing work on Linutil. It’s been incredibly helpful!

Thank you so much for all the hard work you've put into this project. Linutil is an amazing tool, and it’s truly making Linux more accessible and user-friendly. I’ve also suggested a few other features in separate issues that might interest you, and I’d be excited to see any of these improvements considered.
Again, I really appreciate the dedication and effort from the development team. Keep up the great work, and thanks for making the Linux experience better for everyone! 🙌

Configuring the correct microphone input source on Linux can sometimes be a challenge, especially on systems with multiple input devices.

A quick google search usually ends this "challange"
This would need to take different audio backends to consideration and install needed tools. In this case, a quick google search is a better solution.

/close not planned


[Languages]How To Build a URL shortener Using React, Firebase and Python Flask

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
Topic Suggestion
How To Build a URL shortener Using React, Firebase and Python Flask
Pre-submission advice
By following all our pre-submission advice and reviewing our Resources folder, you will maximise your chances of your topic being approved.
We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner.
Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published (subject to vary depending on volume and/or backlog of articles).
Be sure to visit our Resources Page for tools, resources, and example articles that will help you propose and write a successful article.
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Writing sample(s):
https://www.section.io/engineering-education/how-to-ship-zero-javascript-with-astro/
Proposal Submission
Proposed title of article
[Languages] How To Build a URL shortener Using React, Firebase and Python Flask
Proposed article introduction
Using links or URLs has been the norm for surfing the web for a long time. Sometimes we need to advertise our businesses on social media. Long URL links are not the best way to post these links, especially on social media. Doing this will help you promote your products or any services with the links provided.
You might be wondering how these things work. To understand how, we need to take a closer look at an URL shortener — so we’ll be building a simple one! With that task, we’ll be learning some new things as well as understanding how a URL shortener works.
Key takeaways

How to build a url shortener using React
Readers will learn how to work with Firebase
Readers will learn how to Fetching data from a database using Flask and displaying it on React webpage.

References
reactjs.org
https://flask.palletsprojects.com/en/2.0.x/
firebase.google.com
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

In the article, I will use React to build the front end of the application, this is hardly covered in articles about URL shortener.
Also, we will be using firebase as our database, this also is hardly covered in most articles.
Thanks.

Anyone can learn how to build a React app or a Firebase database on the official documentation. @codeInn001 Also, there are a lot of articles covering the same topic.
Thank you for submitting your topic.
Please feel free to suggest an alternate topic to explore. 🚀


do_script just timing out

Hello!
I'm trying to invoke scripts from the server, but I'm constantly getting hit with time out errors. Every other call that I make is completely fine (do_find, do_find_query, get_script_names, get_field_names, etc.) Any idea why? Is there a certain way that scripts are expected to be formatted within FileMaker?

Nevermind. Just realized it was because there were way too many records in the layout I was in. Now to just figure out why I can't get any response from the script. :)


Vim cursors shapes?

Does tcell support setting Vim cursors' shapes?

I think you mean something other than "Vim" (unless Vim is your terminal?)
We don't support changing cursor shapes at any rate, because I have no idea about what the escape codes for doing that are.

unless Vim is your terminal?

Well, it's actually aerc mail client, which is my terminal in this particular case :). And which seems to use tcell for that.

what the escape codes for doing that are

Something like this?

https://vim.fandom.com/wiki/Change_cursor_shape_in_different_modes
https://unix.stackexchange.com/a/115040/413929
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

Like, printf '\033[6 q' should change the cursor to a blinking vertical line, for example.

Just encountered this as well, also in aerc. In my zshrc I use:
echo -ne "\e[2 q"
echo -ne "\e[5 q"

They are for block and beam cursor shapes respectively. Not sure what the best options are for portability to be honest,  but it could be nice to have the option. Cursor shape basically replaces vim's showmode for me :)

Agreed it would be nice to have an interface for this in tcell, but fwiw in the meantime you can always just send the relevant escape sequence to stdout yourself:
func setCursorShape(n int) {
	// https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
	// 1 blinking block (default)
	// 3 blinking underline
	fmt.Printf("\033[%d q", n)
}

Well, that's nice for developers, of course, but I'm talking from the end user's point of view.

Tcell is a developers product lol.
Get Outlookhttps://aka.ms/qtex0l for iOS

From: 097115 @.>
Sent: Saturday, June 5, 2021 2:02:57 PM
To: gdamore/tcell @.>
Cc: gdamore @.>; Comment @.>
Subject: Re: [gdamore/tcell] Vim cursors shapes? (#356)
Well, that's nice for developers, of course, but I'm talking from the end user's point of view.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/gdamore/tcell/issues/356#issuecomment-855274884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ4G7IOCESUGGW2Q2DRCSTTRJRFDANCNFSM4OXNFOIQ.

That said I’d be willing to add some support for at least cvvis. Which gives an enhanced cursor.
Get Outlookhttps://aka.ms/qtex0l for iOS

From: Garrett D'Amore @.>
Sent: Saturday, June 5, 2021 5:43:58 PM
To: gdamore/tcell @.>; gdamore/tcell @.>
Cc: Comment @.>
Subject: Re: [gdamore/tcell] Vim cursors shapes? (#356)
Tcell is a developers product lol.
Get Outlookhttps://aka.ms/qtex0l for iOS

From: 097115 @.>
Sent: Saturday, June 5, 2021 2:02:57 PM
To: gdamore/tcell @.>
Cc: gdamore @.>; Comment @.>
Subject: Re: [gdamore/tcell] Vim cursors shapes? (#356)
Well, that's nice for developers, of course, but I'm talking from the end user's point of view.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/gdamore/tcell/issues/356#issuecomment-855274884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ4G7IOCESUGGW2Q2DRCSTTRJRFDANCNFSM4OXNFOIQ.

Tcell is a developers product lol.

Try to think more and lol less, may be then you'll get that not every tcell user is using it as a developer.
  Have a nice day.

The only way to use tcell directly is as a developer.  If I add an API for cursor shapes your app won't benefit from it unless they also add code (developer) to do so.
You profane commentary you can keep to yourself.

While here, if you are gonna behave that way to a developer who builds something that you use but which provide no contribution to, maybe you should stop using my work. And anything else that is built upon my work.
I'm not looking for any contribution from you here, but ad hominem attacks laced with profanity are most definitely unwelcome here. Whether towards me or towards anyone else.
Please see the code of conduct for this project for more detail.


Getting locationFromAddress noticeably freezes main thread

🐛 Bug Report
When calling locationFromAddress() it noticeably freezes the main thread of the application and we can not move it to separate isolate as then it returns null.
Expected behavior
It should work more performance-friendly.
Reproduction steps
just call it with some animation or try to click on the UI and it's freezed
Configuration
Pixel 4
Flutter 2.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 02c026b03c (4 weeks ago) • 2021-05-27 12:24:44 -0700
Engine • revision 0fdb562ac8
Tools • Dart 2.13.1
Version: 1.x
geocoding: ^2.0.0
Platform:

[ ] :iphone: iOS (didn't test that)
[X] :robot: Android

I noticed the problem in Android but not on iOS.

This also happens with placemarkFromCoordinates. Is there an eta for the fix as it sounds as a critical issue.

I've added some silly async operations to make this lib work:
https://gist.github.com/0x-cell/cce3317a8933689c603a998a977f9dcb

+1 this is critical

Meanwhile an alternative:
https://pub.dev/packages/flutter_geocoder

it uses depreciated API and seems is not supported, so can't serve as a long-term solution ¯_(ツ)_/¯

I've added some silly async operations to make this lib work: https://gist.github.com/0x-cell/cce3317a8933689c603a998a977f9dcb

I have created a PR  #103  using @0x-cell 's code.
You can use it here while its not yet merged.
flutter_geocoding:
    git:
      url: https://github.com/Mayb3Nots/flutter_geocoder
      ref: master


BaseGlyph.appendContour(contour, offset=None)

What is the use case for having a offset argument here? If someone needs that offset then it is one extra line of code.

I am using this for creating glyphs out of multiple glyphs.
For example if I need to build /onehalf out of /one.numr /fraction /two.dnom.

@schriftgestalt it's a convenience to the user, as often one will move a component when constructing a glyph. Remember, FontParts is there for the beginner to intermediate scripter, some things will seem like "well, you could just have another line of code" but this way is much easier for a beginner to understand.

OK thanks.


New userenv for rhel-ai

-will probably be refined over time

This PR needs to be merged before this one has it's checks run again: https://github.com/perftool-incubator/crucible-ci/pull/126


Is 1.0.0 still a thing?

Is there still a plan to release a 1.0.0 for vavr, or has this effort been abandoned?

Hi @ezoerner and @cebaa! Thanks for using Vavr. The release isn't abandoned. Personally, I see it as unfinished work that was paused for private reasons but it will be done. I won't give you a concrete release date but at the moment I am highly motivated to finish it.

@danieldietrich Thanks for a quick update! Personal reasons obviously take precedence, but it's great to hear that vavr 1.0 is still on the radar. It makes my life much easier and I wanted to upgrade sooner than later, but the alpha designation makes using it a bit harder to rationalize (although I understand it just means the API can break, not that it's unstable or anything).

The alpha version was meant as a playground for API changes. The real 1.0 version will be more in line with the current version. However, there will be breaking changes where it makes sense. The current version grew over years. Semantically, there are some duplicates. Also the Iterable/Traversable type hierarchy will be cleaned up and the 'control' types will be semantically decoupled from the collections. In turn, the convertibility between controls and collections might be improved.

Will deprecated stuff be removed as well? Including the Value interface?

The chance is high.

If breaking changes are introduced, can the group/artifact be changed so as to not break the ecosystem of libraries which depend on the current state of things (or at least an audit to know that yeah - no abandoned library uses Value, etc.)? This is what jackson does
If you still want to maintain java 8 compatibility, it might behoove us to figure out how to do a proper multi-release jar. A module-info compiled at java 9 might not have been enough reason, but sealing the Option hierarchy at the bytecode level that is allowed (java 17) will help 21 users now that pattern matching is in the language for real, and a very similar story will be true for when it is possible to provide deconstructors.

So, is 1.0.0 still a thing? Or any updates? The lack of releases since July 2021 implies this library is dead. An official statement would provide clarity.

implies this library is dead. An official statement would provide clarity.

I think that we just need to chill and let @danieldietrich live his life and hope he doesn't get hit by a bus in the meantime. He'll come back eventually.
Even if he was spending his time on this actively still and making releases, enough FP adjacent java features are being added (like deconstructors and patterns) that it might make sense to wait before doing any significant future work anyways.

Is there still a plan to release a 1.0.0 for vavr, or has this effort been abandoned?

It's definitely on :)


Added Union support

Unions are basically like structs, but throw an exception if more than
one field is set.
This adds support for them, I want some feedback on the implementation, which piggybacks heavily on the struct implementation.

Does it make sense to provide a Thrift.Union module with some helper functions?

@dantswain I think it might, but I don't see how we could enforce its usage. I'm open to ideas.

@scohen I don't think it would need to be enforced, really.  The implementation is still just a struct, and the module is just there to help people work with it if they want.  For example I'm thinking something along the lines of
# return the value for the only key that is set
def value(union)
# set key to value and return the modified union, raise if any other keys are already set
def set!(union, key, value)
# return true if one or zero values are set
def valid?(union)

It would be optional to use these, but they might help bridge the semantic gap introduced by the fact that they're implemented as structs and Elixir has no native notion of a union type.
Totally an optional thing and shouldn't hold up merging this PR.

@dantswain Should these be added to each generated Union module?
u = %MyUnion{}
u = MyUnion.set!(u, :first_val, 3)
MyUnion.value(u)
=> 3

@scohen I was thinking a plain old module unless the performance hit is massive.  One can always go down to the lower level if they want better performance.


the script cannot create an ip address

Describe the bug
the script crashes at the stage of creating an ip address
Traceback (most recent call last):
File "/usr/local/bin/netbox_agent", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/netbox_agent/cli.py", line 44, in main
return run(config)
File "/usr/local/lib/python3.9/dist-packages/netbox_agent/cli.py", line 39, in run
server.netbox_create_or_update(config)
File "/usr/local/lib/python3.9/dist-packages/netbox_agent/server.py", line 292, in netbox_create_or_update
self.network.create_or_update_netbox_network_cards()
File "/usr/local/lib/python3.9/dist-packages/netbox_agent/network.py", line 444, in create_or_update_netbox_network_cards
self.create_or_update_netbox_ip_on_interface(ip, interface)
File "/usr/local/lib/python3.9/dist-packages/netbox_agent/network.py", line 316, in create_or_update_netbox_ip_on_interface
netbox_ip = nb.ipam.ip_addresses.create(
File "/usr/local/lib/python3.9/dist-packages/pynetbox/core/endpoint.py", line 278, in create
req = Request(
File "/usr/local/lib/python3.9/dist-packages/pynetbox/core/query.py", line 383, in post
return self._make_call(verb="post", data=data)
File "/usr/local/lib/python3.9/dist-packages/pynetbox/core/query.py", line 274, in _make_call
raise RequestError(req)
pynetbox.core.query.RequestError: The request failed with code 400 Bad Request: {'status': ['1 is not a valid choice.']}
Expected behavior
the interface is being created, but the ip address is not.
Configuration file
netbox:
url: 'https://test'
token: test
network:
ignore_interfaces: "(dummy.|docker.)"
ignore_ips: (127.0.0..)
datacenter_location:
driver: "cmd:echo test"
regex: "(.)"
Environment:

OS: [e.g. Debian 11]
Netbox agent version [e.g. master, v0.6.1]
Netbox 3.2.6

is this not a duplicate of #191

duplicate of https://github.com/Solvik/netbox-agent/issues/191 (thx @KivraChristoffer )


Support displaying test results in markdown using GitHub Actions Job Summaries

This PR adds an option to output test summary as GitHub Actions job summaries https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/

[!Note]
~After running the test-reporter action, you need a subsequent step to output the generated markdown file following the job summaries syntax. For instance, in Linux the step looks like below:~
~cat '${{ inputs.resultsDirectory }}/test-summary.md' >> $GITHUB_STEP_SUMMARY~
Thanks to @pvande's suggestions below, this is no longer needed ❤

@ritchxu Thanks for the PR. I should have looked at job summaries a long time ago so this is definitely appreciated.
I will need some time to get through it and there are also merge conflicts, but this time I definitely want to get it done.

@dorny thanks for the response. I have since resolved the merge conflicts 😃

@ritchxu Is there a reason this shouldn't automatically write to process.env["GITHUB_STEP_SUMMARY"]?

This change also seems to be hard-coded to work with .trx inputs, and fails when given a path containing a glob.

this still not been merged ?

is there documentation on how to add it to readme following this pull request

This change also seems to be hard-coded to work with .trx inputs, and fails when given a path containing a glob.

This change also seems to be hard-coded to work with .trx inputs, and fails when given a path containing a glob.

❤ Thanks @pvande for spotting my novice in TypeScript 😆. I've pushed a change that addressed both comments. Let me know how that looks now!

is there documentation on how to add it to readme following this pull request

@davidbuckleyni I have updated the README.md with this PR to reflect the proposed changes. Let me know how it looks!

Many thanks will do

it was for a take home test sorry for being argumentative the other day

@ritchxu Is there a reason this shouldn't automatically write to process.env["GITHUB_STEP_SUMMARY"]?

I was looking into getting the report in md format, and would like to get the full report in a .md file to be available for other steps (such as uploading as artifact or adding as PR comments) I would actually not want it in the summary at all.

@NiKiZe that makes sense. In fact there is limitation on how many summaries can be posted per job. So in scenarios with many step summaries, it may not be feasible to just only write to process.env["GITHUB_STEP_SUMMARY"].
ref: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#step-isolation-and-limits

A maximum of 20 job summaries from steps are displayed per job.

Hey, is there any eta for this feature or is it possible to use this from your fork @ritchxu ?
Best!

Hey, is there any eta for this feature or is it possible to use this from your fork @ritchxu ?

I think this PR is in a good state, just waiting to be approved by maintainers to merge to upstream. In the meantime, feel free to give the fork a shot and circle back in case you have any feedback. 😃

@ritchxu why this PR changes the dotnet-trx parser?

@ritchxu why this PR changes the dotnet-trx parser?

The rational behind changes to the dotnet-trx parser is the parser currently treats the trx file path as the unit to display test results. But trx file names can be random; and one trx file could contain tests from multiple test classes. We felt it more descriptive to display test class names instead. Below shows an example:

I can see that being a subject choice. If you prefer, I could rework that bit to be an option.

I am ok with the change for trx, but as part of a different PR.
Can you @ritchxu  remove the trx code from this PR and make a second one?

And please, when making PRs, create a topic branch in your fork instead of making PR directly from the main. In this case I cannot change the code to have isolated PRs.

@jozefizso thanks for the suggestions! I've made a separate PR https://github.com/dorny/test-reporter/pull/463 that undoes the trx code changes temporarily (and from a topic branch instead of forked main).

I'm hoping this PR is merged soon!

Gentle ping to @jozefizso for https://github.com/dorny/test-reporter/pull/383#issuecomment-2138441979 🙇🏼♂

When will this be released in a new version?

I just tried using the use-actions-summary option as documented in the README, but got this warning:

Warning: Unexpected input(s) 'use-actions-summary', valid inputs are ['artifact', 'name', 'path', 'path-replace-backslashes', 'reporter', 'list-suites', 'list-tests', 'max-annotations', 'fail-on-error', 'fail-on-empty', 'working-directory', 'only-summary', 'token']

It took me some time digging through issues and PR's to find that this apparently hasn't been released yet.

Gentle ping for @jozefizso - would you have any plans on creating a new release that includes this?


Error in layout

Hello,
please note that this section under "Use the persistent volume":
apiVersion: v1 metadata: name: mypod spec: containers: - name: mypod image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine resources: requests: cpu: 100m memory: 128Mi limits: cpu: 250m memory: 256Mi volumeMounts: - mountPath: /mnt/azure name: volume volumes:

name: volume persistentVolumeClaim: claimName: my-azurefile ```

should appear as a Yaml code snippet instead.

Kind regards,
Anne H., QC

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

ID: bdb3a253-ff94-1b97-62c9-e21153598452
Version Independent ID: b95ca0b2-e809-a149-dec7-a15ac2146ee1
Content: Create a persistent volume with Azure Files in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/azure-csi-files-storage-provision.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

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

@QueryCoordinator
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

#reassign:schaffererin

Hi, @QueryCoordinator, thank you for your feedback and for your patience. This error has been resolved in the article, so I will now close out this GitHub issue. Thanks again! #please-close


Android Artwork only works once

Hi,
I love this package and use it heavily lately. I'm currently building the background experience with the artwork shown in the Notification in Android and on the Lockscreen on iOS. On iOS everything works fine. On Android however, I encounter a problem, where the artwork is shown in the notification on the first track I play. Next time I start a track the Artwork is missing in the notification. Is definitely there and works on iOS.
Not sure if this is important but it's actually the same artwork for both tracks, same file.

This issue is solved in v1.0.0


[concurrency] Provide missing header file.

HAVE_PTHREAD_H is supplied in this config file.
The __has_include pattern is discouraged, but there is no other way of
conditioning on pthread_np.h, which is required for pthread_main_np
on OpenBSD. Therefore, use it, but call it out in a comment.
I don't know where HAVE_PTHREAD_H comes from on other platforms, but this
seems like a flaky strategy. While we are here, since we are relying on
pthread_main_np, include pthread_np.h if it is present, since it is
required on some platforms.
(This is a buildfix for OpenBSD.)

cc @DougGregor

ping.

ping. It would be nice if we could resolve this, since it is breaking out-of-the-box builds on this platform.

__has_include is not the best way to determine whether or not a header should be included, since it does not provide a way to suppress broken headers.  (On some platforms, it is impossible to compile programs that include certain combinations of system headers.  It is easy to check for this at configuration time, but __has_include can't handle this.)

As mentioned, the trouble is that HAVE_PTHREAD_H isn't defined on other platforms, so the alternative is to define those symbols statically from the build system on the platform. Here, the approach was taken to just add some cflags in the right library rather than trying to push these defines across the entire build, but if doing the latter is the preferred approach let me know and I'll make the necessary changes.

Thank you for making those changes.
Does this work for you on OpenBSD?  If not, let me know and I'll help you work out something better.

Sorry for the confusion; thank you for finding the symbol. I agree that just supplying the missing include is the right fix. I've called out the __has_include usage in a comment as you suggest.

Does this work for you on OpenBSD? If not, let me know and I'll help you work out something better.

Just rerunning the build now, though I don't anticipate breakage.

Nicely worded comment!  Someday, when I have a chance to work on this, I'll be able to search for HAVE_PTHREAD_NP_H and see where that needs to go.

FYI: builds clean/this change works on this platform now.

@swift-ci Please test

Windows failure appears unrelated.

Merged.  Thank you for patiently working through this!


Switch Twitter Bot to BlueSky bot

Rip out the twitter bot functionality and change it to a BlueSky API equivalent.
Ideally we'd keep the tweet counts for historical reasons but now update the blue sky counts, and the total counts would be the sum of all of them.
See also #686 for doing this for Threads.

[ ] Verify that screenshot machinery still works
[ ] BlueSky logo in the topbar
[ ] Rename things like tweet-helper.ts et al to be social-helper.


Support directories with "." in x509_load_serial()

Use strrchr to get a pointer to the last occurrence of . in the path string, instead of the first one with strchr.  This prevent the path to be wrongly split if it contains several ., and not only the one for the extension. :bowtie:
Fixes https://github.com/openssl/openssl/issues/6489

Ana María Martínez Gómez wrote:

Use strrchr to get a pointer to the last occurrence of . in the path string, instead of the first one with strchr.  This prevent the path to be wrongly split if it contains several ., and not only the one for the extension. :bowtie:
Fixes https://github.com/openssl/openssl/issues/6489
You can view, comment on, or merge this pull request online at:
https://github.com/openssl/openssl/pull/6566
-- Commit Summary --

Support directories with "." in x509_load_serial()

Neither.old/nor.new.code/is/correct.  The code look like search for
suffix and  replace it with PREFIX.
I don't like result "Neither.old/nor.new"$PREFIX.

Within the context here of an expected filename.extension it should be fine - we aren't using cross-platform  directory handling.

@petrovr I agree that it‘s not 100% perfect, but it‘s less wrong than before and good enough for the given purpose. The correct solution would have been to add standardized functions for treating path and filenames to the c standard library many decades ago such that one does not have to mess around with strings or reinvent the wheel over and over :-/,

@t-j-h I‘ll merge later, as you asked for.

Oh, the merge fails because apparently you don't have a CLA filed. This is strange, because normally the cla bot marks such pull requests. @levitte can you please have a look what's going on?
@Ana06, if you and @t-j-h agree that this is a trivial change, which I think it is, then you can indicate this by adding the text CLA: trivial to the body (on a single line, separated from the title) into your commit message (using git --amend and git push --force). Otherwise, we would need a signed ICLA and CCLA, see our CLA policies.

I have no idea why the CLA web hook let that pass.  @richsalz might have an answer...

My guess: do you have signed a CLA, but committed with a different email address? Then it would also help to commit with the recorded email address.

Here's the from line:
From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?=
<EMAIL_ADDRESS>
Perhaps the cla-bot can't handle that?  It's getting real 8bit chars maybe?

Now just in order not to get confused: there are two issues  which report this bug and two pull requests fixing it:
Issues #6203 and #6489, and Pull Requests #6566 (this one) and #6580 by @beldmit.
The latter looks promising, because it handles the problem noted by @petrovr.

@mspncp

@Ana06, if you and @t-j-h agree that this is a trivial change, which I think it is, then you can indicate this by adding the text CLA: trivial to the body

Done! :wink:

My guess: do you have signed a CLA, but committed with a different email address? Then it would also help to commit with the recorded email address.

No, I haven't signed anything :no_mouth:

Merged, thank you very much for reporting and fixing the issue!
Note: I merged your commit regardless of the other pull request #6580, since your change is already an improvement and since it is not clear yet when #6580 will get approved.


Added skipInitialTransition prop

Implementation of feature request from issue #8 .
I've added skipInitialTransition prop to PageTransition.
If skipInitialTransition is set to true, PageTransition omits transition on first mount. By default, skipInitialTransition is set to false.
Example:
<PageTransition skipInitialTransition={true} timeout={500} classNames="page-transition">
  <Component {...pageProps} />
</PageTransition>

This is awesome! Thanks @mstefaniakap. I'll do a release later today with this and a bug fix I'm working on now.

Could you update the README with this prop, and maybe add an example in the examples directory?

@nwalters512 , shouldn't examples' package.json files contain next-page-transitions as dependency? Examples, as they are now, aren't working for me without adding next-page-transitions.

That's handled in #30. When I was originally building them, I had my local copy npm linked into the examples, so I didn't notice a problem.

I've just pushed example called 'skip-initial-transition'. It bases on 'slide-and-fade' but initial animation isn't showed.
BTW, great package!

Thanks @mstefaniakap! Tested this locally with your new example, this is great. I'll merge this and push it out with the upcoming beta.


Support for all locomotive types

Fetch the prototype of the entity and check that it has typelocomotive, instead of just checking the name. It allow out of the box support for all different kind of trains, like Space Trains.

@BinarySpike can you please have a look at the PR?

@xbsd-nikolay this is great!  Thank you!  I'm currently traveling and it will take me a couple days to get this merged and published.

Published in v0.1.3


dts: erase-block-size should be available by partition

Is your enhancement proposal related to a problem? Please describe.
Current implementation of nvs only support fixed sizes for erase operation.
Some SoC (stm32f7 for instance) have several flash sectors with variable sizes (4 sectors of 16Kb, 1 sector of 64Kb and 3 sectors of 128Kb) and support only block size erase.
In that case we can't define a single erase_block_size dt property.
Though, according to https://github.com/zephyrproject-rtos/zephyr/blob/1876f9785a3cce9d1e8b229baf472e1c9631037e/doc/reference/storage/nvs/nvs.rst#L40, NVS is declared with NVS_SECTOR_SIZE  "a multiple of the flash erase page size"
Describe the solution you'd like
It should be possible to define a erase_block_size depending of a flash partition so we can define a storage_partition in a specific sector with a defined erase_block_size.
Describe alternatives you've considered
Support variable flash erase page size in NVS
Additional context
Add any other context or graphics (drag-and-drop an image) about the feature request here.

Hi @erwango, you should use flash page layout to receive the page size. In PR12892 that improves the startup it is also checked that the defined sector size is ok.

@Laczen , so concretely, how can I run samples/subsys/nvs/ with for instance nucleo_f746zg ?
#define NVS_SECTOR_SIZE DT_FLASH_ERASE_BLOCK_SIZE /* Multiple of FLASH_PAGE_SIZE */
#define NVS_SECTOR_COUNT 3 /* At least 2 sectors */
#define NVS_STORAGE_OFFSET DT_FLASH_AREA_STORAGE_OFFSET /* Start address of the
							 * filesystem in flash
							 */
static struct nvs_fs fs = {
	.sector_size = NVS_SECTOR_SIZE,
	.sector_count = NVS_SECTOR_COUNT,
	.offset = NVS_STORAGE_OFFSET,
};

At least I should be able to make it compile.

@erwango, I could say "The nucleo_f746zg is not a supported platform for the sample." (it is not a supported platform exactly for this reason), but to make it compile:
a. Set the sizes directly in the struct:
static struct nvs_fs fs = {     .sector_size=2048,     .sector_count=3     .offset = 0x2f000 }
b. If you really have no idea what the pagesize is for a specific location where you would like to put the nvs file system you can get the pagesize using the flash page layout api, you can fill in the sector_size just before calling nvs_init().
On systems with "variable" flash page sizes you should use the page layout api to get the correct flash page size at a specific location. Providing support for a nvs fs that overlaps regions with different page size is not supported at the moment.

"The nucleo_f746zg is not a supported platform for the sample." (it is not a supported platform exactly for this reason)

Hence my current request. It would be nice to support dts configuration for SoC with heterogeneous flash page sizes. It could be optional flags that could be set in storage_partition node if erase-block-size isn't available. Limitation of nvs limited to one region in that case is not an issue I think.

@erwango, hence my original reply. This is already provided by the flash page api:
rc = flash_get_page_info_by_offs(fs->flash_device, fs->offset, &info);
info.size contains the page_size, no need to generate it.

@Laczen, then why can't we get the sample work that way? and why does it requires erase-block-size to be available?

@erwango, if you make an issue nvs sample should not use DT_FLASH_ERASE_BLOCK_SIZE, I will change the sample.
Why it is erase-block-size: I don't really know, in nrf51 the flash_page_size is what is erased whenever a erase is done, so I guess erase_block_size = page_size. Maybe this is different on your mcu.

@erwango, if you make an issue nvs sample should not use DT_FLASH_ERASE_BLOCK_SIZE, I will change the sample.

@Laczen , ok thanks will do.

Maybe this is different on your mcu.

This is the same for most of the ones I have in mind (block erase). Though, in some series, block size may vary.

Raised #13369


own dictionary implementation, apparently has better collision resolu…

…tion. 35s -> 30s

Hey Georges(@georges-hatem),
Awesome sauce!!
I'll give you the results on a not so quiet system.
FYI: Weekly results are up.
Cheers,
Gus


az tunnel link not specific enough

This snippet seem inconsistent
az network bastion tunnel
proposed:
az network bastion tunnel

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

ID: c1fee897-7853-1a57-4e4f-15202828c9ed
Version Independent ID: 96fbfaab-2ff8-5eb7-ab7c-dd23c9597387
Content: Configure Bastion for native client connections - Azure Bastion
Content Source: articles/bastion/native-client.md
Service: bastion
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@roelof-adam Can you please be more specific.

What section of the document seems inconsistent?
Can you share the code snippet which you are proposing.

Hi @KapilAnanth-MSFT, sure thing, it only concerns proposed change of a hyperlink,
from:
az network bastion tunnel - (https://learn.microsoft.com/en-us/azure/bastion/connect-vm-native-client-windows)
to this proposed link:
az network bastion tunnel - (https://learn.microsoft.com/en-us/azure/bastion/connect-vm-native-client-windows#connect-to-a-vm---tunnel-command)

@roelof-adam Thank you, I shall assign this thread to the author for further review.
@cherylmc, please look into this

I'm updating this today. Thank you!

#please-close


Add DNS trace provider to the BID Trace

The SQL drivers do not log DNS calls. Logging the DNS event provider 1c95126e-7eea-49a9-a3fe-a378b03ddb4d can fill in the gap. It can be filtered by process and thread ID. Changes to the SQLBIDAnalyzer may have to be made to interleave this in the BID reports.

Done.


api gateway handing http request adds Content-Type application/x-www-…

api gateway:

handing http request adds Content-Type application/x-www-form-urlencoded support
extract endpoints from path if no endpoint matched, only in api case

Nice!
Could you explain a bit how the endpoint extraction works?
If I'm not mistaken it now limits you to only have one slash in your URL for your method

The original code use rsp.Method as the endpoint name, as the strategy mentioned in https://github.com/go-micro/api, I extract the endpoint name from rsp.Path.

And 3 failing checks relative to my code? I don't know how to fix that

Makes sense, thanks for the PR!
Checks are not relative to your change.


feat: Aes algorithm hardware acceleration

On my machine：
$ cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
      8  Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz

before：
1kb_aes128              time:   [9.4003 ms 9.4581 ms 9.5252 ms]
                        change: [+4.0887% +5.0088% +5.9171%] (p = 0.00 < 0.05)
                        Performance has regressed.
1kb_aes256              time:   [11.567 ms 11.638 ms 11.712 ms]
                        change: [+0.8615% +1.9225% +2.8798%] (p = 0.00 < 0.05)
                        Change within noise threshold.
1mb_aes128              time:   [36.289 ms 36.395 ms 36.521 ms]
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild
1mb_aes256              time:   [46.033 ms 46.292 ms 46.606 ms]
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild

after：
1kb_aes128              time:   [3.3078 ms 3.3222 ms 3.3390 ms]
                        change: [-65.736% -65.394% -65.066%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  9 (9.00%) high mild
  1 (1.00%) high severe
1kb_aes256              time:   [3.5324 ms 3.5444 ms 3.5574 ms]
                        change: [-69.653% -69.430% -69.212%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  3 (3.00%) high mild
  3 (3.00%) high severe
1mb_aes128              time:   [13.379 ms 13.430 ms 13.486 ms]
                        change: [-63.624% -63.383% -63.125%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  5 (5.00%) high mild
  5 (5.00%) high severe
1mb_aes256              time:   [14.268 ms 14.306 ms 14.345 ms]
                        change: [-69.442% -69.242% -69.047%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild

Because of  https://github.com/RustCrypto/stream-ciphers/issues/12, I think we should follow industry standards.
I will switch all encryption related libraries to openssl and ring to ensure compliance with industry standards.


Update Readme.md

Including me as member

Welcome @MatheusPaes !! It's great to see your interest in the SIG events.
Looking forward to meeting you on slack and/or at the WG!
Some resources that may be useful:

https://github.com/cdfoundation/sig-events#new-members
https://cdevents.dev


Standardize the interfaces of the various utilities

For example, some utilities display errors like utilname: error msg, while others do it like error: error msg, while yet more do error msg.
IMHO, they should all be utilname: error: error msg or something of the sort.  That way, people will know which utility failed if multiple are executed in a shell script and for normal usage people will be able to tell that there was an error.

I think this has been fixed for a while with the show_{warning, error} macros and UResult error handling.


Deprecate FileUploadTemplate

Changes

Removed FileUploadTemplate references from:

indexes imports
Removed the Default example from Storybook because it is the same as the Default File Upload Card example, but with FileUploadTemplate instead of FileUploadCard.
Doc Website (replaced with FileUploadCard)
marked deprecated in jsdoc
updated relevant jsdocs in FileUpload

Did not remove (yet?):

FileUploadTemplate.tsx itself
FileUploadTemplate.test.tsx

Do we remove those right now? ^
Testing

Tested the changes in vite when replacing FileUploadTemplate with FileUploadCard, also make sure main example on website works as intended. It doesn't but should work after #1329 merged because I independently tested this fix on this branch.

Docs

Changes in jsdocs
Updated website main example
Brief description in migration guide

Deprecated apis need to be kept in index, otherwise it is the same as removal
Also i think your branch is several commits behind dev, so needs to be updated

Ok they are back in index.

Should be good to go with couple changes:

Move back FileUploadTemplate to line 59 (will undo all changes in index file)
You deleted Default story, so test images should be cleaned up.

Thanks. I updated these.


Linux: Start typing, hit enter (to use a previous time entry description / project) - result doesn't have a project

I'll start typing (e.g., "Review") and a prior time entry comes up, like "Review for Bob - Code Reviews".
When I hit enter, I've actually seen two different results, both wrong:

Normally, the description is present ("Review for Bob"), but the time entry has no project. I then have to go manually add the project.
Once (only once...I can't reproduce this) the " - Code Reviews" was actually copied in as part of the time entry description. It still had no project...

(This is from the toggldesktop_x86_64-7_1_73-2014-09-24-13-58-19.tar.gz tarball.)

Seems to work fine in master branch.


Maps are being created twice

For some reason, after compiling and using bpftool to create and load maps, when I run bpftool prog show, I see that the map has been created twice. Not so sure what the reason is but I'll look at that later

This has been fixed by #3


Update mixtral scripts for performance

@erhoo82  sorry jsut fix a typo, could you help retrigger the tests? Thanks!


Fix whitespace before graph

Currently there is a lot of whitespace before the graph on the landingspage. This shouldn't be there - it is okay to have some whitespace (padding) though.

Fixed in commit 1e3cb7e9663be7983776afce453574fb4e000e49


[Bug] The theme is loaded twice

Initially, I found this code in the src:
https://github.com/saicaca/fuwari/blob/main/src/layouts/Layout.astro#L211
function loadTheme() {
	if (localStorage.theme === 'dark' || (!('theme' in localStorage) &&
		window.matchMedia('(prefers-color-scheme: dark)').matches)) {
		document.documentElement.classList.add('dark');
		localStorage.theme = 'dark';
	} else {
		document.documentElement.classList.remove('dark');
		localStorage.theme = 'light';
	}
}

I understand this is a feature to confirm which theme the user want to use, so the blog can be  presented with corresponding theme by localStorage.theme = 'light/dark';
Also, document.documentElement.classList.add('dark'); must be for changing the theme.
But there are some issues here:

If users' network is not fast enough (or their computer has slow performance), and they use dark theme, it will splash a light theme and then switch the dark theme seconds later. It is also reproduceable on the current demo preview site. This can be a very bad experience.
To reproduce: change throttling setting in F12 to "Slow 3G".
IMO, I don't think store theme permanently for user is good experience. Because when user switch theme systemwide, the blog will not automatically change the theme accordingly by this design. For this, I made the PR with a new feature: https://github.com/saicaca/fuwari/pull/45

Thanks for your suggestion. It should be fixed in #71.
For the first issue, I add the class dark to the root element. Now users with dark mode won't see a bright splash screen.
For the second issue, users can now manually select follow system, which is also the default setting for new visitors. I prefer not to make the default setting configurable, since I think it's not a good user experience to force new visitors to use either light or dark mode, instead of using the system settings. So I am closing #67.

@saicaca Thank you for fixing the issue.
But it looks like the way you fix it is to force initial load as "dark mode". This is my first time visiting that preview link:

Hence, the bug exists in the opposite way now:
Originally, the dark theme user will see light theme first then switch the dark theme. But now, the light theme user will see dark theme first, then can get the light theme.
For the second part, IMO, it is up to how blogger wants, not how user wants. In the end, it is the blogger deploy the theme not the users. Anyway, it is up to you.

Thank you for your feedback!
You are right, the previous fix just reversed the bug, since I think letting light-mode users see a dark screen is at least better than the other way around. 8ce1c7ab6e26b632628cc158b2a21cac44911b2e should have completely fixed the problem. The theme is now set before the webpage is displayed.
About the other issue, I understand bloggers might want to set a different default theme, but I really don't encourage doing so, as I believe the automatic mode always provides the best user experience for new visitors. For these kinds of settings, I prefer not to place them in config.ts. I am considering putting them to an "Advanced Settings" or somewhere else. Currently, they can be edited in constants.ts.


Question on calling python programs on other server using Celery

@miguelgrinberg I want to call some python programs from Flasky using Celery for data analysis - ideally those programs should be on a different server than Flasky - what's the best practice to do that? Thanks for your help.

Can you put the Celery worker(s) in the server where these programs are? That is the simplest solution, Celery takes care of the communication between hosts.


Don't treat translation w/ same source/target as error

Ref #18

A translation is considered as errored when the source is (somehow) same as the target, according to the code here: https://github.com/gpolak/FGTranslator/blob/master/FGTranslator/FGTranslator.m#L455-L464
This is quite wrong considering the following cases:

"你好" (Traditional Chinese) -> "你好" (Simplified Chinese)
"ballet" (English) -> "ballet" (French)
"貴族" (Japanses) -> "貴族" (Traditional Chinese)

Not sure if this is the expected behaviour, but here is a PR anyway :)

Closing as discussed here: https://github.com/gpolak/FGTranslator/issues/18


2 Naval bases in the same province in China,leaving both impossible to be upgraded.

The naval base does not exist in the history file.
It was mistaken because there are ship docking in the port.
The naval base icon may need to be altered in the future .


create a trigger that uses a csv to simulate a sensor input

Current behavior:
There is no such trigger
Expected behavior:
The trigger reads a line from the csv and sends that to the next activity and does this at regular (probably timed) intervals
What is the motivation / use case for changing the behavior?
This will really help a lot in simulating an IoT environment for developing ML apps
Additional information you deem important (e.g. I need this tomorrow):

Hi! Would the trigger send the data already tokenized, or would you expect to do that?
In other words, if a single line would be:
a;b;c

do you expect an array to be passed to the flow (['a','b','c']), or just a string ('a;b;c')?

i would think it should work similar to: https://github.com/mellistibco/flogo-activities/tree/master/activities/parsecsv... so each row would be an event dispatched to the action(s). So basically the following would be a single event and you could set a throttling setting on the trigger that would indicate the delay between events, if the file should loop, etc.
{ "a": "test", "b": "test"}

So Samip and I discussed this and it seems like an array of strings is most similar to how the accelerometer or other IoT sensors work.  Samip is also going to change the time to be in milliseconds instead of seconds.  His trigger is located here if you guys want to look at it. https://github.com/skothari-tibco/csvtimer


Adding secrets watch

Adding secrets watch to help with reconciliation of secrets outside of the objects owned by OADP operator

/retest

/ok-to-test

one more thing, what when we create VSL?

I think we just have to clean up what to do when the label is not set, the label name, and if we should be creating the provider secret ever
@shawn-hurley  Thanks for the review. Quick question: Do we want to handle the case of us creating provider secret in this PR?


bash setup

error of no such file or directory

Which command are you typing??

Which command are you typing??

bash setup

i just want command that work for access instagram account of others
On Mon, 3 Jul 2023, 1:12 pm satyamknight, @.***> wrote:

Which command are you typing??
bash setup
—
Reply to this email directly, view it on GitHub
https://github.com/noob-hackers/ighack/issues/80#issuecomment-1617546793,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5T7B6C7ZD5MBJPH3FGS3OTXOJZXJANCNFSM6AAAAAAUXHZ4AU
.
You are receiving this because you authored the thread.Message ID:
@.***>


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1242 ms

Resolved: Bofrost.at performance has improved in 6e571d9 after 6 minutes.


使用报错，请作者查看

Error: Command failed with exit code 1 (EPERM): find /media/4t/qb/hlink -inum 3813379
at makeError (/usr/local/node/node_global/lib/node_modules/hlink/node_modules/execa/lib/error.js:59:11)
at Function.module.exports.sync (/usr/local/node/node_global/lib/node_modules/hlink/node_modules/execa/index.js:187:17)
at getLinkPath (/usr/local/node/node_global/lib/node_modules/hlink/lib/utils/index.js:72:31)
at Object.checkLinkExist (/usr/local/node/node_global/lib/node_modules/hlink/lib/utils/index.js:79:17)
at /usr/local/node/node_global/lib/node_modules/hlink/lib/index.js:115:53
at step (/usr/local/node/node_global/lib/node_modules/hlink/lib/index.js:33:23)
at Object.next (/usr/local/node/node_global/lib/node_modules/hlink/lib/index.js:14:53)
at /usr/local/node/node_global/lib/node_modules/hlink/lib/index.js:8:71
at new Promise ()
at __awaiter (/usr/local/node/node_global/lib/node_modules/hlink/lib/index.js:4:12) {
command: 'find /media/4t/qb/hlink -inum 3813379',
exitCode: 1,
exitCodeName: 'EPERM',
stdout: '',
stderr: 'find: unrecognized: -inum\n' +
'BusyBox v1.29.2 (2019-03-10 14:44:18 CST) multi-call binary.\n' +
'\n' +
'Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]\n' +
'\n' +
'Search for files and perform actions on them.\n' +
'First failed action stops processing of current file.\n' +
"Defaults: PATH is current directory, action is '-print'\n" +
'\n' +
'\t-L,-follow\tFollow symlinks\n' +
'\t-H\t\t...on command line only\n' +
"\t-xdev\t\tDon't descend directories on other filesystems\n" +
'\t-maxdepth N\tDescend at most N levels. -maxdepth 0 applies\n' +
'\t\t\tactions to command line arguments only\n' +
"\t-mindepth N\tDon't act on first N levels\n" +
'\t-depth\t\tAct on directory after traversing it\n' +
'\n' +
'Actions:\n' +
'\t( ACTIONS )\tGroup actions for -o / -a\n' +
"\t! ACT\t\tInvert ACT's success/failure\n" +
'\tACT1 [-a] ACT2\tIf ACT1 fails, stop, else do ACT2\n' +
'\tACT1 -o ACT2\tIf ACT1 succeeds, stop, else do ACT2\n' +
'\t\t\tNote: -a has higher priority than -o\n' +
'\t-name PATTERN\tMatch file name (w/o directory name) to PATTERN\n' +
'\t-iname PATTERN\tCase insensitive -name\n' +
'\t-path PATTERN\tMatch path to PATTERN\n' +
'\t-ipath PATTERN\tCase insensitive -path\n' +
'\t-regex PATTERN\tMatch path to regex PATTERN\n' +
'\t-type X\t\tFile type is X (one of: f,d,l,b,c,s,p)\n' +
'\t-perm MASK\tAt least one mask bit (+MASK), all bits (-MASK),\n' +
"\t\t\tor exactly MASK bits are set in file's mode\n" +
'\t-mtime DAYS\tmtime is greater than (+N), less than (-N),\n' +
'\t\t\tor exactly N days in the past\n' +
'\t-mmin MINS\tmtime is greater than (+N), less than (-N),\n' +
'\t\t\tor exactly N minutes in the past\n' +
"\t-newer FILE\tmtime is more recent than FILE's\n" +
'\t-user NAME/ID\tFile is owned by given user\n' +
'\t-group NAME/ID\tFile is owned by given group\n' +
'\t-size N[bck]\tFile size is N (c:bytes,k:kbytes,b:512 bytes(def.))\n' +
'\t\t\t+/-N: file size is bigger/smaller than N\n' +
"\t-prune\t\tIf current file is directory, don't descend into it\n" +
'If none of the following actions is specified, -print is assumed\n' +
'\t-print\t\tPrint file name\n' +
'\t-print0\t\tPrint file name, NUL terminated\n' +
'\t-exec CMD ARG ;\tRun CMD with all instances of {} replaced by\n' +
'\t\t\tfile name. Fails if CMD exits with nonzero\n' +
'\t-exec CMD ARG + Run CMD with {} replaced by list of file names',
failed: true,
timedOut: false,
isCanceled: false,
killed: false,
signal: undefined
Arm v8 node v14.18.1  npm 6.14.15

什么系统，用的什么bash？


[localization] Calibrated Camera RIG localization in an existing reconstruction using CCTag

Resectioning from externally calibrated camera RIG: all cameras are calibrated both internally (intrinsics) and externally (extrinsics):

[x] We collect 2d-3D association from each camera,
[x] apply the camera subpose to the  3D points of each camera

ie we collect the 2d-3d correspondences for the camera 1 (which has pose1 wrt camera 0)
we apply the pose1 transformation to those 3D points so

[x] do a global resectioning with all the 3D-2D associations from all the cameras of the rig

[x] we need to undistort all the 2D points and put them in normalized coordinate system (ie inv(K)*feat) as they must be independent from their camera parameters (we are considering the associations as if they were from the same camera)

Do the same for SIFT #69

Could you detail in the task what is missing?

everything, I don't know why everything was already checked :-) . I'm actually working on this

8d22c65 is a first stub for the localizer:

for each camera the cctag are extracted, the N closest kframe retrieved and all these associations (2d feat -> 3D cctag point) are collected
with all the collected associations, the 2D features are undistorted and put in its respective normalized camera coordinates (ie inv(K)*feat), the 3D points are placed in each camera sub-reference system (ie, they are multiplied by the sub-pose matrix)
the pose is estimated and refined using these associations

for now we only return as output the pose of the rig, not the associations (it could be useful to have, or not?).

Well, this is embarrassing but that's completely wrong, that's what happens when you do things without doing the math first (and thinking)...
The rig localization problem is not as easy as we put it there, if we want to use the associations from all the cameras to call a p3p algorithm, we actually need to model the rig as a non-central camera and use a generalized p3p algorithm, such as explained here (http://e-collection.library.ethz.ch/eserv/eth:7644/eth-7644-01.pdf) and implemented here:
https://github.com/laurentkneip/opengv
The simplest way to go for now is to localize each camera independently and then run a BA with the constraint on the camera subposes.
Just for the record, what I was trying to do (wrongly) was:
q1 ~ [I 0] Q  // the first camera
q2 ~ [R t] Q = C Q // a second camera, q1 and q2 in normalized coordinates
then imagine that Q = [R1 t1] A = L A, where A is the pose of the rig we want to estimate, the idea was to compute it such as
q1 ~ L A // ok
q2 ~ L B // for some B that depends only on C (the relative pose) but the only possible B is B = inv(L) C L A...

I think you can also resect the camera (suppose that there is no subpose) and once the global pose is found multiply it by inv(subpose), so you will identify in this way tha combination of poses.

There are certainly many ways to do the localization of the rig, what is interesting for us with a "global" approach is that you can overcome the problem of few features available, pushing to the limit of having only 1 or 2 features available per camera (or having a camera without features and 2 features on the other 2 cameras and so on) so that each camera cannot be localized by itself but globally the rig can.

A naive version of the rig localizer is now available for testing. For now we just localize the cameras of the rig independently and we eventually run a BA in the end to refine the global pose of the rig

Needs to be tested. Another issue?


Fractions rendering poorly in Chrome on Android

Rendering of some equations works fine in Firefox on Ubuntu, but spacing and sizing are inappropriate and render the text unreadable and in some cases undisplayed in Chrome on Android.  Examples here: https://www.solipsys.co.uk/new/MathJaxTest.html
Thanks.

Some browsers on mobile devices will rescale the page after MathJax has already determined the sizes that it needs to use, and that will mean that MathJax's output won't match the surroundings.  That appears to be what is happening fo you, here.
One solution is to add
<meta name="viewport" content="width=device-width, initial-scale=1">

to the document <head>.  This prevents the rescaling so that MathJax's sizing will be correct.  See the MathJax documentation.

Thanks for the reply - I have work to do, updating every page on my site, but at least there's a solution.
Cheers.
[Closed]

Unfortunately the "fix" hasn't worked completely.  Please see here:
https://www.solipsys.co.uk/MathJaxProblems/NonRepeatingDecimals.html
That was viewed on the following:
android 5.1 patch 2016-03-01
kernel 3.4.2-g89906d6
chrome 74.0.3729.147
The results can be seen in these screenshots:
https://www.solipsys.co.uk/MathJaxProblems/Screenshot_2019-05-26-17-28-26.png
https://www.solipsys.co.uk/MathJaxProblems/Screenshot_2019-05-26-17-28-42.png
https://www.solipsys.co.uk/MathJaxProblems/Screenshot_2019-05-26-17-29-44.png
https://www.solipsys.co.uk/MathJaxProblems/Screenshot_2019-05-26-17-31-15.png
The code does contain in the  section:

Advice and assistance welcome ... thank you.

Well, it works for me.  Here is a screenshot:

The only difference I see is that you are using Android 5.1 and I'm using 8.1.  You're 5.1 is over three years old (an eternity in web years, especially mobile web years).  I don't recall when Android started to support the viewport meta, but from your screen shots, it looks like your browser is not performing the viewport meta tag.  That could be because you are getting a cached version of the page, or because Android 5.1 doesn't support it (even though you are using a current version of Chrome, it could be calling on system-level libraries that don't support the viewport meta).
You could try clearing the browser data (from the history page) and see if that clears it up.  If not, other than upgrading the version of Android, I'm not sure what to tell you.

It's being reported by one of my readers.  They already had a clean cache (always the first thing I ask them to do) so it's not that.
So I'm guessing that  just have to say to my reader(s) that their browser is unsupported - is that it?

From my reader:

My "Moto G" has the latest of everything Motorola has made available for it.
I don't imagine I can upgrade Android manually beyond the level offered by Motorola.
Anyway if it looks ok on more modern Android devices then I guess this is case closed.

Assuming you can't suggest anything else, thanks for your time.

It's not the browser, but the OS version, apparently.
There are some other options, however.  The HTML-CSS renderer, which you are using, is the oldest one available in MathJax, and is somewhat fragile.  You could switch to either the CommonHTML or the SVG renderer, both of which are more reliable.  If you aren't using MathML input, use either TeX-AMS_CHTML or TeX-AMS_SVG rather than TeX-AMS-MML_HTMLorMML.  My tests suggest that either of this will work for you without the viewport meta tag.  They are also both faster than HTML-CSS, so that is a plus.  Try that out and see if that helps your user.
I also see that you are using MathJax v2.7.1; the current version is 2.7.5, so I'd recommend upgrading to that while you are at it.

OK ... I don't actually know anything about MathJax, nor about HTML or CSS, but here is what I take from your comment.  Currently I have:
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML
Instead I should have:
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_SVG
or
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_CHTML
I'll try that and see what happens, but if I've got it wrong I'd appreciate some further details.
And again, thank you.

You have it right.  Give either of those a try.

That seems to be working - thank you.
Update of 1100 pages now in progress ...

Good luck with the update.  Glad we were able to find something that worked for you.

Cheers.


Fixes and improvements in README for ease of use

Fixes:

Typo in THis.
URL in More information about the generator module can be found [here] pointed to the same readme section. I assume it was suposed to point to the gen repo.
generate-models-for-crd.sh path.

Improvements:

Added Requirements section at the beginning with list of tools required + brief usage description.
Mentioned kind in the initial Deployment section. Otherwise unexperienced users may fail and be lost if they just run skaffold.

Thanks a lot @abelsromero!


Open sources Schrodinger's implementation of "molhash"

Generate a unique hash code for a molecule based on chemistry. If two
molecules are chemically "the same", they should have the same hash.
Used by Schrödinger's LiveDesign to determine if two molecules are
the same. LiveDesign makes changes to the molecule before molhash,
somewhat equivalent the steps available in
rdkit.Chem.MolStandardize.
Using molhash adds value beyond using SMILES because it:

Ignores CXSMILES features that are not chemically meaningful
(e.g. atom map numbers and coordinates)
Canonicalizes enhanced stereochemistry groups. For example
C[C@H](O)CC |&1:1| and C[C@@H](O)CC |&1:1| have the same
molhash
Canonicalizes S group data (for example, polymer data)

There are two hash schemes, the default, and one in which
tautomers are considered equivalent.
Schrödinger has been using this for a year or two, so
this is really the work of many people:
Co-authored-by: Chris Von Bargen<EMAIL_ADDRESS>Co-authored-by: Greg Landrum<EMAIL_ADDRESS>Co-authored-by: Hussein Faara<EMAIL_ADDRESS>Co-authored-by: Rachel Walker<EMAIL_ADDRESS>Co-authored-by: Ric<EMAIL_ADDRESS>
Reference Issue

What does this implement/fix? Explain your changes.
Any other comments?

any update on this @d-b-w ?

I've updated based on Greg's comments - thanks, Greg.
Sorry for the delay, Greg & Michel.

The Windows CI failures here are because the code uses ElementTree.canonicalize, which is only available in python 3.8 and on and those CI builds use python 3.7 (that's currently the RDKit's minimum supported version). Given that python 3.7 is still supported until June 2023, I'd rather not drop support for it yet.
I haven't looked at the code yet to see where canonicalize() is being used, but I wanted to go ahead and capture this.

The Windows CI failures here are because the code uses ElementTree.canonicalize, which is only available in python 3.8 and on and those CI builds use python 3.7 (that's currently the RDKit's minimum supported version). Given that python 3.7 is still supported until June 2023, I'd rather not drop support for it yet.
I haven't looked at the code yet to see where canonicalize() is being used, but I wanted to go ahead and capture this.

Ah, it's actually not being used, so this is easy. :-)

Looking forward to using this very much :+1: , thanks @d-b-w

The Windows CI failures here are because the code uses ElementTree.canonicalize, which is only available in python 3.8 and on and those CI builds use python 3.7 (that's currently the RDKit's minimum supported version). Given that python 3.7 is still supported until June 2023, I'd rather not drop support for it yet.
I haven't looked at the code yet to see where canonicalize() is being used, but I wanted to go ahead and capture this.

Ah, it's actually not being used, so this is easy. :-)

whoops! removed.

Really looking forward to this, will be very helpful. I had a quick look at the code as I was wondering if wildcards or even query features are supported (is it a unique hash for an rdkit mol covering "all" rdkit mol features?).
Not sure this is the right place to mention this but while looking I saw that sha1 one is used. Since a secure hash is not needed for this and it will likley be useful to apply to millions of compounds on the fly, using a faster, non-cryptographic hash could potential be a better alternative. Due to the nature of this feature this would be hard to change once released. If not too  late, as proposal I would suggest xxh3, xxhash with the obvious downside of an additional dependency. (or even better for a future version just make hash function user configurable, xxhash supports hashlib API).
I admit, no performance testing done and applying the hash function likley is a small fraction of the total time? Anyway I saw it and maybe thought this comment is helpful.

Hi @kienerj,

Really looking forward to this, will be very helpful. I had a quick look at the code as I was wondering if wildcards or even query features are supported (is it a unique hash for an rdkit mol covering "all" rdkit mol features?).

The current idea here is that this be a hash for concrete molecules, not queries. We could think about also allowing queries, but canonicalizing those starts to get really hard (which is why we don't have canonical SMARTS).

Not sure this is the right place to mention this but while looking I saw that sha1 one is used. Since a secure hash is not needed for this and it will likley be useful to apply to millions of compounds on the fly, using a faster, non-cryptographic hash could potential be a better alternative. Due to the nature of this feature this would be hard to change once released. If not too late, as proposal I would suggest xxh3, xxhash with the obvious downside of an additional dependency. (or even better for a future version just make hash function user configurable, xxhash supports hashlib API).
I admit, no performance testing done and applying the hash function likley is a small fraction of the total time? Anyway I saw it and maybe thought this comment is helpful.

That's a fair concern, but the cheminformatics parts of generating the hash are (and will almost definitely remain) the performance bottleneck.


const constructor - builds, but crashes on inject

I already told Milxnor about this but the change in BitArray.h DOES allow it to build, but it crashes upon injection. I have zero clue how to fix that lol

that makes no sense

that makes no sense

tf you mean that makes no sense? VS updated and now throws an error on a const constructor (shouldn't have been able to compile at ALL, but nonetheless it worked until this update)|
now, with the "fix", it compiles, makes a dll, yet closes the game after injection. idk what you want from me

how would an iterator not having a const constructor crash it

how would an iterator not having a const constructor crash it

buddy I'm not a genie I honestly couldn't tell ya.
two days ago I compile and host just fine on Jeppy Hosting.
yesterday I update VS for another project and suddenly I get the new error
today I realize he put a fix out for it and now it will compile, yet crashes.
no other code changes were made during this time. I literally just checked my history. So...
I mean honestly I kinda stopped asking questions about why stuff does what it does in this project. Chapter 2 stuff is like mega skunked imo

it is not because of the const constructor crashing it i believe they changed how the projectr compiles with the new update Hope this helps :)

well thats not good

just use compiler versoin 143

just use compiler versoin 143

you know, it's sad that I didn't know you could do that. I thought you were locked to the latest compiler version after updating.

just use compiler versoin 143

uhh bad news boys. I am using v143.

just use compiler versoin 143

uhh bad news boys. I am using v143.

well works fine to me even before milxnor fixed compiling

well works fine to me even before milxnor fixed compiling

Did you update to 17.11.2?

well works fine to me even before milxnor fixed compiling

Did you update to 17.11.2?

Solution was to delete vs and then reinstall it. idk why this fixes it.
I'll drop containers spawning loot after being broken in a pr in a few minutes.