error: selected fuzzing algorithms do not generate any permutations for provided input domain

Unable to run tld-swap with a given dictionary:
$ python3 dnstwist.py -r --fuzzers tld-swap --tld dictionaries/tlds-alpha-by-domain.txt github.com
usage: dnstwist.py [OPTION]... DOMAIN
dnstwist.py: error: selected fuzzing algorithms do not generate any permutations for provided input domain

Yes, all caps: https://data.iana.org/TLD/tlds-alpha-by-domain.txt

Either make the file lower case, or pull the most recent code which accepts capital letters in dictionary files and converts them to lower case.

Yes, can confirm the latest version works. Thanks


[Documentation]: Add Contributors list action workflow

📥 Pull Request
This PR adds a GitHub Actions workflow to automatically update the contributors list in the Contributors section in README file whenever there is a push to the main branch or a manual workflow dispatch. The workflow fetches and update the contributors list.
Fixes #77
Type of change

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

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@ajay-dhangar Review this PR, and add labels to this PR.

Also assign me this PR

👍

@ajay-dhangar I ran into an issue with my hacktoberfest profile, the PR is showing excluded tag, even though it is merged.


add .env support

Looks like meli doesn't support .env file.
➔ cat .env
APP_VERSION=1

➔ cat docker-compose.yml
version: "3"

services:
  app:
    image: nginx:${APP_VERSION}

➔ meli -up

	 service=app error=originalErr:: invalid reference format
ThisErr::  :unable to pull image nginx:${APP_VERSION}➔

ps: there's \n missing from error, my bash prompt does not start on new line due that

hi @glensc
currently meli only contains the subset of feature that I use daily.
I normally don't use .env files in my compose files.
But it looks like you do use, so I'll try and add them; I'll ping you on this issue if/when I do manage to add that feature.

@glensc hi,
I'm trying to be super minimal with the things that I add to meli.
Which is to say, I do not want to add features unless I know they are super critical for someone; so, are .env files super critical to you or a nice to have feature?
thanks.

i'm not using this tool. but if i would, the .env loading is blocker and i can't use for all purposes :)

commentary(mostly to self);

we could read all .env files
parse env vars from them , https://github.com/komuw/meli/blob/fead852172e5f6a25104e92c56a33cdc5806a71d/parsedotenv.go#L32
read compose file into a sting and call os.expandEnv on it + the parsed envs akin to https://github.com/komuw/meli/blob/fead852172e5f6a25104e92c56a33cdc5806a71d/format.go#L66


Invalid certificate?

I'm trying to automate the setup of an LXD cluster. It's just a couple of bash scripts, so I can easily paste the commands here.
sudo apt install -y snapd
sudo systemctl enable --now snapd.socket
sudo snap wait system seed.loaded

sudo snap install lxd --channel=5.0/stable

sudo --preserve-env=PATH /snap/bin/lxd init --preseed  # we actually feed the info from stdin, nothing too weird, maybe except for
# core.https_address: ${ip}:5555  # the original port is 8443, but we might use that for proxying the CMC

Here's the config in whole:
config:
  core.https_address: ${ip}:5555  # the original port is 8443, but we might use that for proxying the CMC
  core.trust_password: true
  core.trust_password: "${password}"

storage_pools:
- name: local
  driver: dir
  config: {}

networks:
- name: lxd-provision
  type: bridge
  config:
    dns.mode: none
    ipv4.nat: "true"
    raw.dnsmasq: |-
      dhcp-ignore-names
      local-ttl=4938790

profiles:
- config: {}
  description: ""
  devices:
    root:
      path: /
      pool: local
      type: disk
  name: default

cluster:
  server_name: $(hostname --short)
  enabled: true
  member_config: []
  cluster_address: ""
  cluster_certificate: ""
  server_address: ""
  cluster_password: ""
  cluster_certificate_path: ""
  cluster_token: ""

If we run the generated cert through openssl we get:
cat cert.pem | openssl x509 -text
[...]
            X509v3 Subject Alternative Name:
                DNS:uk-lxd1.cloudian.com, IP Address:<IP_ADDRESS>, IP Address:0:0:0:0:0:0:0:1

which does not match the IP. According to @tomponline:

 StyXman: lxd doesnt validate common names on certs, is the time correct on the server?
 StyXman: the IPs/names arent validated

We corroborated that time's are fine.
But when trying to add a second node a first time I got:
$ cat uk-lxd2_lxd-config.yaml | lxd init --preseed
Error: Failed to join cluster: Failed to update cluster trust: Failed to connect to target cluster node "<IP_ADDRESS>:5555": Get "https://<IP_ADDRESS>:5555/1.0": x509: certificate is valid for <IP_ADDRESS>, ::1, not <IP_ADDRESS>

This is the config for the second node:
cloudian@uk-lxd2:~/mdione$ cat uk-lxd2_lxd-config.yaml
config: {}
networks: []
storage_pools: []
profiles: []
projects: []
cluster:
  server_name: uk-lxd2
  enabled: true
  member_config:
  - entity: storage-pool
    name: local
    key: source
    value: ""
    description: '"source" property for storage pool "local"'
  cluster_address: <IP_ADDRESS>:5555
  cluster_certificate: |
    -----BEGIN CERTIFICATE-----
    MIICLjCCAbSgAwIBAgIRAKgC2z3bTa/l17q7s30EJqAwCgYIKoZIzj0EAwMwQjEc
    MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzEiMCAGA1UEAwwZcm9vdEB1ay1s
    eGQxLmNsb3VkaWFuLmNvbTAeFw0yMjA0MTIxNDAyNDlaFw0zMjA0MDkxNDAyNDla
    MEIxHDAaBgNVBAoTE2xpbnV4Y29udGFpbmVycy5vcmcxIjAgBgNVBAMMGXJvb3RA
    dWstbHhkMS5jbG91ZGlhbi5jb20wdjAQBgcqhkjOPQIBBgUrgQQAIgNiAATcRp6g
    2TQJn7STRg7kOQszrWpFOkcDw0v1WMpGXI7DvejNjRftYhYI98UhrlTnv94BeVdl
    UW3q8xEtBTNKVPjR0iA5sErbP1mvNrLTWaLaHN8LhWUBqGvgWx9Gt5vzV/KjbjBs
    MA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8E
    AjAAMDcGA1UdEQQwMC6CFHVrLWx4ZDEuY2xvdWRpYW4uY29thwR/AAABhxAAAAAA
    AAAAAAAAAAAAAAABMAoGCCqGSM49BAMDA2gAMGUCMQDmCqd56zjlL2xukH5kwY2z
    Ys75VWio6PZm3S3h++3mvxYcc/NeEyKI/zT/4/MVeVECMCXnKRPncTFUroNZTU2I
    QT700I09cmM+RKdBo45iIVnT2IarPUzAlt/l6SmGkUjVVA==
    -----END CERTIFICATE-----
  server_address: <IP_ADDRESS>:5555
  cluster_password: ""
  cluster_certificate_path: ""
  cluster_token: ""

I'm unable to reproduce your issue:
root@vm01:~# openssl x509 -in /var/snap/lxd/common/lxd/cluster.crt -noout -text | grep DNS
                DNS:vm01, IP Address:<IP_ADDRESS>, IP Address:0:0:0:0:0:0:0:1

root@vm02:~# cat test.yaml | lxd init --preseed
root@vm02:~# cat test.yaml
config: {}
networks: []
storage_pools: []
profiles: []
projects: []
cluster:
  server_name: vm02
  enabled: true
  member_config:
  - entity: storage-pool
    name: local
    key: source
    value: ""
    description: '"source" property for storage pool "local"'
  cluster_address: <IP_ADDRESS>:8443
  cluster_certificate: |
    -----BEGIN CERTIFICATE-----
    MIIB/TCCAYOgAwIBAgIQY7xsDzFmOGS1Spq49j5hMzAKBggqhkjOPQQDAzAyMRww
    GgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRIwEAYDVQQDDAlyb290QHZtMDEw
    HhcNMjIwNDIwMTcwNDU0WhcNMzIwNDE3MTcwNDU0WjAyMRwwGgYDVQQKExNsaW51
    eGNvbnRhaW5lcnMub3JnMRIwEAYDVQQDDAlyb290QHZtMDEwdjAQBgcqhkjOPQIB
    BgUrgQQAIgNiAATFqwuB+tvJYYMwO9mDcRW1m+Rno62K+roWvdt11ccrJGptIi/Z
    B6sP0PTFA41OZKJgT8u9L2xvD0NlFWgm2koFUmqanzXb+JNP7kKxaFleu7wOcgGe
    R/x6EcboushBNs6jXjBcMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEF
    BQcDATAMBgNVHRMBAf8EAjAAMCcGA1UdEQQgMB6CBHZtMDGHBH8AAAGHEAAAAAAA
    AAAAAAAAAAAAAAEwCgYIKoZIzj0EAwMDaAAwZQIwLUV5+Bw2Pz6pWt71fu7yTr7C
    AQ8ikW/o+/tHQLwLZGbZZUNbG1eox1NF9qTACuppAjEA2mSgbDFa/dKSbR81TjBb
    G6W5ajohW5E3BLDJQb2tQdirG5gbZRW+jWWHRaYXmmpm
    -----END CERTIFICATE-----
  server_address: <IP_ADDRESS>:8443
  cluster_password: "test"
  cluster_certificate_path: ""
  cluster_token: ""
root@vm02:~#

Did you use the certificate from server.crt or from cluster.crt?

Your error would make sense if you put the server.crt certificate in your preseed YAML instead of the cluster.crt one.

lxc query /1.0 | jq -r .environment.certificate should get you the active cluster certificate, the server.crt is only for internal use while clustered (used for server to server communication).

Your error would make sense if you put the server.crt certificate in your preseed YAML instead of the cluster.crt one.

Where can I get the cluster cert, then? I was using the one in the output of lxc info.

@mdione-cloudian did you fetch that certificate prior to running lxd init on the first server?
The certificate changes as part of initializing the cluster, so if you retrieved it beforehand, that'd explain the issue.
root@vm02:~# lxc query /1.0 | jq -r .environment.certificate
-----BEGIN CERTIFICATE-----
MIIB/jCCAYSgAwIBAgIRAPcnDpD91dJQH3/lYKDUNgowCgYIKoZIzj0EAwMwMjEc
MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzESMBAGA1UEAwwJcm9vdEB2bTAy
MB4XDTIyMDQyMDE3MDUxOFoXDTMyMDQxNzE3MDUxOFowMjEcMBoGA1UEChMTbGlu
dXhjb250YWluZXJzLm9yZzESMBAGA1UEAwwJcm9vdEB2bTAyMHYwEAYHKoZIzj0C
AQYFK4EEACIDYgAEY2uNtBvLu+rQ3TWrdpCXUBXlI1ShqsScuqfQr4ATfSzqibYs
IPLKmMeoNzEU+//JdkEE0PWuT011omFT8KVll7kVavvQSapok6jqeijL2Luc3cbe
GLsU6m8OlYDEW/6no14wXDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYB
BQUHAwEwDAYDVR0TAQH/BAIwADAnBgNVHREEIDAeggR2bTAyhwR/AAABhxAAAAAA
AAAAAAAAAAAAAAABMAoGCCqGSM49BAMDA2gAMGUCMA7FM78og5PXtio6lSVwRSWF
8hvpL6raLA1l/wJ1cgdZRgcIcWIqC7h/dyj+BLwoOgIxAJxpv6iRVRfF+207Kc96
iykbVETR5zOvrgPi/ifBfb5h+SEGq6dH0u8li52j8KYntw==
-----END CERTIFICATE-----

root@vm02:~# cat /var/snap/lxd/common/lxd/server.crt
-----BEGIN CERTIFICATE-----
MIIB/jCCAYSgAwIBAgIRAPcnDpD91dJQH3/lYKDUNgowCgYIKoZIzj0EAwMwMjEc
MBoGA1UEChMTbGludXhjb250YWluZXJzLm9yZzESMBAGA1UEAwwJcm9vdEB2bTAy
MB4XDTIyMDQyMDE3MDUxOFoXDTMyMDQxNzE3MDUxOFowMjEcMBoGA1UEChMTbGlu
dXhjb250YWluZXJzLm9yZzESMBAGA1UEAwwJcm9vdEB2bTAyMHYwEAYHKoZIzj0C
AQYFK4EEACIDYgAEY2uNtBvLu+rQ3TWrdpCXUBXlI1ShqsScuqfQr4ATfSzqibYs
IPLKmMeoNzEU+//JdkEE0PWuT011omFT8KVll7kVavvQSapok6jqeijL2Luc3cbe
GLsU6m8OlYDEW/6no14wXDAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYB
BQUHAwEwDAYDVR0TAQH/BAIwADAnBgNVHREEIDAeggR2bTAyhwR/AAABhxAAAAAA
AAAAAAAAAAAAAAABMAoGCCqGSM49BAMDA2gAMGUCMA7FM78og5PXtio6lSVwRSWF
8hvpL6raLA1l/wJ1cgdZRgcIcWIqC7h/dyj+BLwoOgIxAJxpv6iRVRfF+207Kc96
iykbVETR5zOvrgPi/ifBfb5h+SEGq6dH0u8li52j8KYntw==
-----END CERTIFICATE-----
root@vm02:~# lxd init
Would you like to use LXD clustering? (yes/no) [default=no]: yes
What IP address or DNS name should be used to reach this node? [default=<IP_ADDRESS>]:
Are you joining an existing cluster? (yes/no) [default=no]:
What name should be used to identify this node in the cluster? [default=vm02.lab.maas]:
Setup password authentication on the cluster? (yes/no) [default=no]:
Do you want to configure a new local storage pool? (yes/no) [default=yes]:
Name of the storage backend to use (btrfs, dir, lvm, zfs) [default=zfs]:
Create a new ZFS pool? (yes/no) [default=yes]:
Would you like to use an existing empty block device (e.g. a disk or partition)? (yes/no) [default=no]:
Size in GB of the new loop device (1GB minimum) [default=9GB]:
Do you want to configure a new remote storage pool? (yes/no) [default=no]:
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]:
Would you like to create a new Fan overlay network? (yes/no) [default=yes]:
What subnet should be used as the Fan underlay? [default=auto]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]:
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:
root@vm02:~# lxc query /1.0 | jq -r .environment.certificate
-----BEGIN CERTIFICATE-----
MIICFzCCAZ6gAwIBAgIQRY+qo5TQ6wp7HqjQbUcWbzAKBggqhkjOPQQDAzA7MRww
GgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRswGQYDVQQDDBJyb290QHZtMDIu
bGFiLm1hYXMwHhcNMjIwNDIwMTg0OTEzWhcNMzIwNDE3MTg0OTEzWjA7MRwwGgYD
VQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRswGQYDVQQDDBJyb290QHZtMDIubGFi
Lm1hYXMwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARTYr7IIttQwvfuFaOhT1nVM08z
OpM9sP8vtLwds+fITRmiwSoBV9fKFL0Rn3Ggt+V7Ewx4Iwal49acMfOi7AL0Toso
vDcpCdriV0yW8q0WgNf17o6ar6CWcZOUH6ikBXGjZzBlMA4GA1UdDwEB/wQEAwIF
oDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMDAGA1UdEQQpMCeC
DXZtMDIubGFiLm1hYXOHBH8AAAGHEAAAAAAAAAAAAAAAAAAAAAEwCgYIKoZIzj0E
AwMDZwAwZAIwJ0EVmHmGdklo0oh2c89ij31MQcGLAROnU2oe7xvlij5mFiKN1CqB
1DwRY1uPOVS4AjBu15VTdlQXuYPoxpG+wFnrSbOs+gZIVjXMMS5V2dHl+Ri86vK3
v8nSeowyrbdvluM=
-----END CERTIFICATE-----

root@vm02:~# cat /var/snap/lxd/common/lxd/cluster.crt
-----BEGIN CERTIFICATE-----
MIICFzCCAZ6gAwIBAgIQRY+qo5TQ6wp7HqjQbUcWbzAKBggqhkjOPQQDAzA7MRww
GgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRswGQYDVQQDDBJyb290QHZtMDIu
bGFiLm1hYXMwHhcNMjIwNDIwMTg0OTEzWhcNMzIwNDE3MTg0OTEzWjA7MRwwGgYD
VQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRswGQYDVQQDDBJyb290QHZtMDIubGFi
Lm1hYXMwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARTYr7IIttQwvfuFaOhT1nVM08z
OpM9sP8vtLwds+fITRmiwSoBV9fKFL0Rn3Ggt+V7Ewx4Iwal49acMfOi7AL0Toso
vDcpCdriV0yW8q0WgNf17o6ar6CWcZOUH6ikBXGjZzBlMA4GA1UdDwEB/wQEAwIF
oDATBgNVHSUEDDAKBggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMDAGA1UdEQQpMCeC
DXZtMDIubGFiLm1hYXOHBH8AAAGHEAAAAAAAAAAAAAAAAAAAAAEwCgYIKoZIzj0E
AwMDZwAwZAIwJ0EVmHmGdklo0oh2c89ij31MQcGLAROnU2oe7xvlij5mFiKN1CqB
1DwRY1uPOVS4AjBu15VTdlQXuYPoxpG+wFnrSbOs+gZIVjXMMS5V2dHl+Ri86vK3
v8nSeowyrbdvluM=
-----END CERTIFICATE-----

did you fetch that certificate prior to running lxd init on the first server?

I don't think so, no. the script clearly fetches it right after lxd init.

cat $preseed_file | sudo lxd init --preseed

if [ -z "$leader_ip" ]; then
    lxc info | grep --after-context 14 'certificate: |' > cluster_certificate.yaml
    echo "scp cluster_certificate.yaml to the other hosts and run: $0 [ip] '$password' $ip"
fi

Does it match with what's in cluster.crt and if not, does lxc info still show you the server certificate instead of the cluster certificate?

@mdione-cloudian any news on this one? Thanks

No, sorry, no, I had to drop this research for more pressing work. Maybe we could close it and open it up again if I find it again?


Add content type and length into the headers when the content type is 'application/x-www-form-urlencoded'

Add 'content-type' & 'content-length' into the headers when the content type is 'application/x-www-form-urlencoded'

I think these headers are added automatically when using formdata.
But it may be that the dev just wants to send the map, without wrapping it in a FormData, and I think that solves this problem.
I need to be sure that setting this up cannot harm multipart file uploads, and then I can merge.
Thank you for that


PT Run - Windows Search plugin does not honor "Hide extensions for known file types"

Microsoft PowerToys version
0.60.0
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Under Windows folder Option, if you check this:

The file ext are still shown in PT Run:

Built in Windows Search does hide as configured:

✔ Expected Behavior
Hide file extension when configured at the system level.
❌ Actual Behavior
File extensions are always shown.
Other Software
No response

Rather than simply respecting the setting of File Explorer, I'd like to see the global option for PowerToys Run to show these or not.


Hash Check Fails for Apache

Attempting to update apache is giving me this error:
Hash check failed for 'https://www.apachelounge.com/download/VC14/binari
es/httpd-2.4.27-win64-VC14.zip'.
Expected:
D6F7BCDA3FD54FE2BDED89E09B5F75DB40373AF363EB7547E7B899A7D6450842
Actual:
24475fa957495f5d9847b941349e4a416b8175540041bb1649c453ee07a8a15c

Fixed, scoop update and try again 👍

Excellent, worked like a charm!


PNT-193 - Rate Calculation

The main functions added only calculate the rates if we convert. I did not implement conversions on chain.
ExchangeTo -> Fixed input conversion
ExchangeFrom -> Fixed output conversion
ExchangeRate -> The rate from asset FROM to asset TO using USD as the intermediary
There is an inherit precision problem. We are currently using float64s, and as long as float64 implementation is consistent across different machines, the precision problems should be deterministic.
I added a unit test that does the following to exercise the precision problem:

Choose 2 random usd rates for from and to
Choose a random amount of from tokens (this is have)
Convert those tokens to to for an amt
Given that amount, how many from tokens does it take to get amt of to. (this is need`).
Compare need and have

need and have are not always the same. I see differences under 200 sats (most of the time less than 50sats). I provided a set of vectors that have this problem with certain rates and amounts. This means on some conversions, it might be cheaper to choose to fix the input or output by a few sats. I don't know how to solve this, if we switch to int space, we need to choose some large integers to get around this precision. I did not do the math to find how large.
Given the problem is only a few sats, I don't think it is that huge of a concern unless bitcoin or another asset starts getting to the point where sats are very valuable.

Do you guys think we should move to fixed point and big ints? We need to use some pretty large ints to not lose precision and keep the numbers consistent. I'm not opposed to it, and it'd be better to do it now rather than later.

Actually, this needs some more changes. Will make it an issue


Allow to remap the mathematical hyphen ("2010) to the same glyph as the minus sign ("002D")

Description
The range option allows to remap certain unicode ranges to use glyph from an alternative range in the font, e.g. range={tt/{latin,Latin}->up} maps monospaced symbols to upright symbols. It would be nice to have this option as a generic feature or at least for some additional special symbols, at least the math hyphen.
Add info or delete as appropriate:

Relevant for XeTeX: yes
Relevant for LuaTeX: yes
Issue tracker has been searched for similar issues: yes
https://tex.stackexchange.com/q/528843/47156

Minimal example demonstrating the issue
\documentclass{article}
\usepackage{libertinus}
% Set the same teletype font for text, \mathtt and \symtt
\setmonofont{Inconsolatazi4-Regular.otf}[Scale=MatchLowercase]
\setmathtt{Inconsolatazi4-Regular.otf}[Scale=MatchLowercase]
\setmathfont{Inconsolatazi4-Regular.otf}[range={tt/{latin,Latin}->up},Scale=MatchLowercase]
% I hoped the following line would do the trick, but it only triggers a compilation error
% \setmathfont{Inconsolatazi4-Regular.otf}[range={tt/{latin,Latin}->up,"2010->"002D},Scale=MatchLowercase]
\begin{document}
\begin{tabular}{lcc}\hline
& \texttt{\textbackslash mathhyphen}  &  normal \texttt{-} \\hline
\texttt{\textbackslash mathrm}  &  $\mathrm{init\mathhyphen cmd}$  &  $\mathrm{init-cmd}$ \
\texttt{\textbackslash mathsf}  &  $\mathsf{init\mathhyphen cmd}$  &  $\mathsf{init-cmd}$ \
\texttt{\textbackslash mathit}  &  $\mathit{init\mathhyphen cmd}$  &  $\mathit{init-cmd}$ \
\texttt{\textbackslash mathtt}  &  $\mathtt{init\mathhyphen cmd}$  &  $\mathtt{init-cmd}$ \\hline
\end{tabular}
\end{document}
Further details
The problem occurs, if one maps a certain stylistic Unicode math range (tt, frak, bb, cal, scr) from the U+1D4xx range to an different font which has the required symbols but in their "normal" ASCII slots.

Sorry to be a bit out of topic, but I’ve never realized that U+2010 was used as a “mathematical hyphen”. Do you have an example of its use as such? (I’m interested in typography were U+2010 is quite important as inter‐word hyphen, and I’m curious about other uses)

One uses a mathematical hyphen quite often in theoretical computer science, especially in the field of complexity theory and cryptography. So called reduction games very often use multi-word superscripts with words being separated by hyphens. For example $\symcal{O}^{\mathsf{ind\mathhyphen cca\mathhyphen 2}}$, for an oracle (in the sense of complexity theory) which answers an IND-CCA-2 challenge.
Opposed to mathematicians, computer science theorists tend not to use single letter variables, but "telling" names and there the mathematical hyphens comes in very handy.

Thanks for the suggestion. I agree it should be a good feature to introduce “arbitrary” remappings like this.
Of course it wouldn’t be very useful to the vast majority of possibilities, but there are a few cases where the glyph you want is in another slot than the input character.
Sorry, I won’t be able to implement this quickly...

OK, thanks for considering the idea. I understand that this feature request might have low priority and take its time. However, are you aware of a quick (and dirty) workaround?
With traditional LaTeX I did not had the problem (\mathhyphen worked as expeced), but then I had to switch to LuaLaTeX and unicode-math for some other reason. Hence, this problem is some kind of personal regression for me and there is a paper deadline. :(
I already tried to define some own special-purpose macro like \mathhyphenforconsolate using \DeclareMathSymb which simply maps to "002D but uses math class \mathord. But I failed. In order not to clutter this thread, might I ask you to post your answer at the referred TeX StackExchange question (see above)?

For a quick fix, could you make a personal copy of unicode-math-table.tex and add/change another entry in it?


Make circuit._prev_moment_available a public method.

Fixes https://github.com/quantumlib/Cirq/issues/4976

Consider bikeshedding the name if we make it public. Every time I stumble into this method I think it's a boolean. The arg name is a bit odd too.


Facing issue while trying to use MatCheckboxModule

beforeEach(() => {
return MockBuilder(component, AppModule)
.keep(ReactiveFormsModule)
.keep(MatCheckboxModule)
.mock(...)
});
Getting the below error
TypeError: Cannot read property 'subscribe' of undefined
at MatCheckbox.ngAfterViewInit (
I feel like using ngmocks without the material modules seems to be very cool. But if we want to keep material modules with ngmocks looks like there seems to be many issues.
Even I try to use MatIconModule it is giving error like "TypeError: Cannot read property 'nodeName' of undefined
at new SvgIconConfig ".
Please help..

Hi,
Thanks for the report. Might you provide a sample repo with the issue?

I've created a playground, but it doesn't fail https://codesandbox.io/s/zen-cohen-qbgur?file=/src/test.spec.ts
Are you on the latest version? I think around 10.5.2 there was a similar issue, and it was fixed in 10.5.3 or 10.5.4.

Hi @emailvenkatm, any update on this?

Hi @emailvenkatm, feel free to reopen the issue when you have more details or time to discuss it. I'll close it for now.


Deprecate ko deps and ko run

Fixes https://github.com/google/ko/issues/769

It seems that Deprecated in cobra means the command also gets hidden from ko help and generated Markdown docs. If that's not something we want, I can try to figure out how to make that not happen.

Codecov Report

Merging #770 (b73bc9c) into main (7ac1a03) will increase coverage by 0.02%.
The diff coverage is 100.00%.

:exclamation: Current head b73bc9c differs from pull request most recent head 8c207b4. Consider uploading reports for the commit 8c207b4 to get more accurate results

@@            Coverage Diff             @@
##             main     #770      +/-   ##
==========================================
+ Coverage   51.27%   51.30%   +0.02%
==========================================
  Files          44       44
  Lines        3321     3323       +2
==========================================
+ Hits         1703     1705       +2
  Misses       1401     1401
  Partials      217      217

Impacted Files
Coverage Δ

pkg/commands/deps.go
14.42% <100.00%> (+0.83%)
:arrow_up:

pkg/commands/run.go
22.12% <100.00%> (+0.69%)
:arrow_up:


Modular programming in Laravel 5+

I'm starting a new project and I want to reuse some parts of it, mainly the stuff related to user registration and authentication. I can copy and paste all of the code but I want to use again. I know there is Package Development in Laravel but it's not easy and feel like there must be a better way.some days ago find a pingpong/modules but I don't know about it. it's third party plugin and don't trust it about update for new Laravel version.
use this plugin is true? Is this plugin is updated later? What's different between Embedd Package Laravel and pingpong/modules? or Do you have any suggestion?

Hello,
I use this package extensively in AsgardCms, and it works great.
This modular approach is very nice for complex application as for simple content sites.

Hello,
I use pingpong/modules in a large scale app. You can do a lot of things as laravel packages, but they isn't any connection between them. This package organize your modules and it is very powerful when i compare to similar packages.
And! @nWidart , your package(s) are also powerful, heavily inspired me. It is very nice for bootstrap. I have worked alot on them. I optimized it, replace some features (authorization, authentication, theme etc.)

because I want use modules as infrastructure and it's critical in project, I am afraid in future, pingpong/modules not update or not support. what's your opinion?

@essivision by making it open source, so everyone are open to join the development. You can fork your own version of the pingpong modules and keep it updated with whatever your requirements.


Image rotating 90 degree in some devices and couldn't find any possible solution [🐛]

While taking a picture image is rotating at 90 degrees in some devices. I couldn't find any possible solution for this. I tried the already-answered issue. But couldn't fix this. While showing in local devices it looks fine. but after uploading the server it become horizontally 90 degrees angled.
      `import * as ImagePicker from 'react-native-image-picker';
      let options = {
              maxWidth: 1080,
              maxHeight: 720,
              title: 'Select Photo',
              storageOptions: {
                skipBackup: true,
                path: 'images',
              },
              quality: 1,
              rotation: 360,
              isVertical: true,
            };
            ImagePicker.launchCamera(options, response => {
              console.log(response, 'response');
              })`

    the response I am getting is like that -
    `{"assets": [{"fileName": "rn_image_picker_lib_temp_c1be1715-65a3-48ed-99b8-4fda23d949c8.jpg", "fileSize": 396495, "height": 720, "type": "image/jpeg", "uri": "file:///data/user/0/com.nagadapp/cache/rn_image_picker_lib_temp_c1be1715-65a3-48ed-99b8-4fda23d949c8.jpg", "width": 960}]}`

Image Picker version: "5.6.0",
React Native version: "0.71.8"
Platform: Android
Development Operating System: MacOS

You will have to switch the values of maxHeight and maxWidth:
 let options = {       maxWidth: 720,       maxHeight: 1080,       title: 'Select Photo',       storageOptions: {         skipBackup: true,         path: 'images',       },       quality: 1, };

Hi, you can manually resize the image using this library
<EMAIL_ADDRESS>"^3.0.4",
const orientedImage = await ImageResizer.createResizedImage(
result.assets[0].uri,
result.assets[0].width,
result.assets[0].height,
'JPEG',
100,
0,
undefined,
false,
);

Hi,
Any way to fix this without using any other library

Hi
Is there any update? How can we fix this issue without using any other library?

Hello everyone, I have solved that using Expo ImageManipulator.

To fix this i use 'react-native-image-resizer' library<EMAIL_ADDRESS>    launchImageLibrary()
      .then(async (response: any) => {
        if (response.assets) {
          let compressedFiles: any[] = [];
          for (let i in response.assets) {
            const image = response.assets[i];
            let result = await ImageResizer.createResizedImage(
              image.uri || '',
              image.width || 0,
              image.height || 0,
              'JPEG',
              100,
              0,
              undefined,
              false,
              {
                mode: 'contain',
                onlyScaleDown: true,
              },
            );
            const resizedImage = isIOS
              ? {
                  fileName: result.name,
                  fileSize: result.size,
                  height: result.height,
                  uri: result.uri,
                  width: result.width,
                  type: image.type,
                }
              : image;

              ....
        }})


feature/add truncation to working dir path

The statusbar item which shows the working directory is not currently limited and can have any length depending on the working dir path. This means it dominates the left hand side of the status bar. This PR adds a limit and a text overflow to truncate it if it is too long.

Thanks for adding this, @Akin909 ! Looks good to me 👍


(neovim) The exports added in an existing file or a file created under an existing directory can be detected. However, the exports of a newly created file under a newly created directory cannot.

I don't know if the title explains well of what i means.
I felt strange about this.
Process
https://github.com/vuejs/language-tools/assets/96933655/1afb27e2-dde5-4e5c-ae22-868e664f8f1c
i first create a new dir and a new file api/ttst/ttst.ts, and then export a function called ccttst().
head back to App.vue, no suggestions provided.
then i create a new file under an existing dir api/test.ts, and export a funtion called aattst() .
now is the weird part, in App.vue, suggestions shows both of them and can auto import them as well
how can i fix this
#3521

Please check if this issue has been resolved in 2.x. If not, feel free to create a new one.


Addition of Telemeter metrics

Adding the rules for the telemeter project.

I see that few recording rules were added. But I don't see anything here: extras/manifests/prometheus-noobaa-rules.yaml

@umangachapagain
I've commented out bucket_alerts.libsonnet, resource_alerts.libsonnet.
They were creating empty rules that generated an invalid YAML.
This was the main reason why I've asked you to update the CRD.
The updated CRD that you've committed is correct.


Add ability to re-create bit-exact Webdatasets

Currently it is impossible to re-create bit-exact Webdatasets, as each file in the Tar archive has a different mtime. This has slightly annoying implications for file caching and versioning, as you have to deal with changed-but-not-really-changed files all the time.
My first question is: Is this on purpose? Does mtime encode any valuable information for the user?
If no, why not set it to a fixed value, e.g. 1970-01-01?
If yes, why not make it overridable by the user, e.g. by a mtime kwarg?
Currently, this PR does the latter: It introduces a parameter that allows me to override this value.
To reproduce
import webdataset as wds

for f in ["test1.tar", "test2.tar"]:
    with wds.TarWriter(f) as sink:
        sink.write(
            {
                "__key__": "sample0000",
                "input.txt": "1",
                "output.txt": "2",
            },
        )

$ md5sum *.tar
0f90a5b6ca6f0e423685e23cad872d36  test1.tar
49e91eaa9c54125897b2286af2757c0e  test2.tar
$ tar tvf test1.tar
-r--r--r-- bigdata/bigdata   1 2021-11-28 15:16 sample0000.input.txt
-r--r--r-- bigdata/bigdata   1 2021-11-28 15:16 sample0000.output.txt
$ tar tvf test1.tar
-r--r--r-- bigdata/bigdata   1 2021-11-28 15:16 sample0000.input.txt     # the dates are off by microseconds
-r--r--r-- bigdata/bigdata   1 2021-11-28 15:16 sample0000.output.txt    # the dates are off by microseconds

Behaviour after this PR
With this PR it is possible to override the mtime parameter of TarWriter.write(...), and to set it to arbitrary fixed values:
import webdataset as wds

for f in ["test1.tar", "test2.tar"]:
    with wds.TarWriter(f) as sink:
        sink.write(
            {
                "__key__": "sample0000",
                "input.txt": "1",
                "output.txt": "2",
            },
            mtime=0.0
        )

which creates bit-exact copies of the output file:
$ md5sum *.tar
b1de8150b28126256f05943741b2b5ab  test1.tar
b1de8150b28126256f05943741b2b5ab  test2.tar
$ tar tvf test1.tar
-r--r--r-- bigdata/bigdata   1 1970-01-01 01:00 sample0000.input.txt
-r--r--r-- bigdata/bigdata   1 1970-01-01 01:00 sample0000.output.txt
$ tar tvf test2.tar
-r--r--r-- bigdata/bigdata   1 1970-01-01 01:00 sample0000.input.txt
-r--r--r-- bigdata/bigdata   1 1970-01-01 01:00 sample0000.output.txt

Secondly, depending on Python version, different tar formats may be chosen. In Python 3.8+, this will be tarfile.PAX_FORMAT, so this PR choses this value for all other versions, too.

Is there anything that holds back discussing this issue?

It is important to note that Python 3.9 introduced a change that changes the format of some headers in the Tar file. That means that webdatasets created with Python <3.9 will be different from webdatasets created with Python >=3.9.

@nils-werner Hey, one thing I noticed is that for my data in particular, GNU seems to be about half the size of PAX. Also I noticed some tools like NVIDIA DALI's wds2idx.py tool don't get the right offset and size values when creating tar indexes with PAX. Maybe PAX should be the default format going forward regardless, but those are a double downsides I noticed personally.


Throw error if a shape response doesn't include necessary headers

Two people on discord today reported they hit an infinite loop where a shape request with offset=-1 came back with a 200 status but was missing the electric-offset header.
Both had proxies that for one reason or another had stripped the header(s).
Electric doesn't work without its headers so we should give a more helpful clue to people writing middleware on what is wrong.
The error message should look something like:
The response for the shape request to ${url} didn't include the following required headers:
- electric-offset
- etc

This is often due to a proxy not allowing all headers to be returned. See this doc page for more information: https://electric-url.com/something

That link at the end of the error message could go to a section on this in the troubleshooting guide.

Yeah that'd be perfect

Perhaps even simpler is we just check that we never make a request to the same URL twice. As that covers a lot of problems.

Yup, avoiding the scenarios where we hammer the sever with requests in a loop would be good.
There are cases where we do want to call the same URL more than once — eg when trying to sync a table that doesn’t exist yet, we get an error response and keep trying the same URL until the table is created. So there we maybe want more of a backoff.


Kk wdac edits task 27621550

Let me know if you have any feedback for this PR, @jgeurten.

Hi, Daniel.
This PR has been approved. Could you please help merge it into Public?
Thanks,
Kim
From: JohanFreelancer9 @.>
Sent: Wednesday, June 16, 2021 2:16 AM
To: MicrosoftDocs/windows-itpro-docs @.>
Cc: Kim Klein (Insight Global, Inc) @.>; Author @.>
Subject: Re: [MicrosoftDocs/windows-itpro-docs] Kk wdac edits task 27621550 (#9684)
@JohanFreelancer9 approved this pull request.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F9684%23pullrequestreview-684925046&data=04|01|v-kikl%40microsoft.com|841e7605b6734538be8e08d930a75dbc|72f988bf86f141af91ab2d7cd011db47|1|0|637594317668505065|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yF41mwKOaJKm%2Bg%2BglGAf5mGyu85U9%2FemDKqvYx6fcUc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAT4EKT7QAEM7S6NG5FTB5X3TTBTVHANCNFSM46VUZTGQ&data=04|01|v-kikl%40microsoft.com|841e7605b6734538be8e08d930a75dbc|72f988bf86f141af91ab2d7cd011db47|1|0|637594317668515058|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=i08R78V4I6v6fR17WnAhXfGFnYJA3fbrLUl3JSyTuKE%3D&reserved=0.

What are talking bout? Are you talking about that account the spam account
the cc?
On Thursday, June 17, 2021, Daniel Simpson @.***> wrote:

Merged #9684
https://github.com/MicrosoftDocs/windows-itpro-docs/pull/9684 into
public.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/pull/9684#event-4905155400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL4I3SQFRIMBZCO4TWI4DR3TTIKL5ANCNFSM46VUZTGQ
.

--
Daniel Patrick Klenda


flags, required flag?

I must be missing something but I'm not finding any way to mark a flag as being required? Or is it an intentional design choice to not support that?

This can be done via validators, and there is a built-in mark_flag_as_required function to achieve that.
Usually, to make a flag required, first make sure the default value is None, then call flags.mark_flag_as_required('flag_name') before parsing flags. Example:
from absl import app
from absl import flags

flags.DEFINE_string('fruit', None, 'The fruit to eat.')

def main(argv):
    # ...

if __name__ == '__main__':
    flags.mark_flag_as_required('fruit')
    app.run(main)

mark_flag_as_required makes sure the flag's value is not None after flags are parsed.

That works, thanks! For the life of me couldn't find it based on docstrings, hopefully the upcoming documentation will make this easier.


pip package (I could help)

Hi everyone 👋🏻 I love the idea of building a fully open-sourced version of YOLOv7 and v9. I'd love to help somehow. I noticed you do not have a pip package; I could help with that. I'm also open to other suggestions. I could do any Python engineering task around the models.

Hi,
Thank you for your enthusiasm and willingness to contribute!
We already have a pyproject.toml file in place to support pip installation, which serves as an alternative to setup.cfg. We plan to release our module on PyPI soon. Since "YOLO" already exists on PyPI, we are currently deciding on the best name for our module. In the meantime, you can use pip install git+https://github.com/WongKinYiu/YOLO.git to install the project if you need.
Thanks again for your suggestion and passion!
Best regards,
Henry Tsui

Awesome! Is there anything else I can do to help out?

Hi,
Thank you for your enthusiasm and willingness to contribute! We already have a pyproject.toml file in place to support pip installation, which serves as an alternative to setup.cfg. We plan to release our module on PyPI soon. Since "YOLO" already exists on PyPI, we are currently deciding on the best name for our module. In the meantime, you can use pip install git+https://github.com/WongKinYiu/YOLO.git to install the project if you need.
Thanks again for your suggestion and passion!
Best regards, Henry Tsui

OpenYolo looks good to me, and it is available in pypi


Cannot Create New product

What I'm trying to achieve
…
Able to create new product
Steps to reproduce the problem

Sign in As usual
Navigate to product
Fill all the form of creating product
Click on " Creat Product " Button

What I expected to happen
…
Able to create the product
Screenshots

Saleor ran into an unexpected problem

System information
Operating system: Window 10
Browser: Chrome

I did input the data in the form as usual but I can't create. it appear "Saleor run into problem" as the screen shot above

Hi @dominik-zeglen @karolkielecki, I'm not sure whether it's a bug or what mistake from my side but I can't create the product in saleor-dashboard. I've tried to follow all the instruction in the document and the error is like below image
"saleor.warehouse.models.Warehouse.DoesNotExist: Warehouse matching query does not exist."

However if i migrate sample data " python manage.py populatedb --createsuperuser" as in the doc I'm able to create the product. Could you tell me what is wrong from my side ?

Infor: Collection, Attribute, Product Type, Categories created already.


Updated to run from any folder. Added some cli flags

Added CLI Flags for
pa printing all Jira tickets in slack notes
pu printing just unifinished slack tickets in notes.

Will probably want to consider splitting the sprint notes into its own section of tools at some point.


Swift support for Sonar

Currently Sonar doesn't build with Swift projects due to its dependecies being written in c++.
There are few files which are referenced by sonar's Objective-C wrapper which has reference to header with C++ code. We can either get rid off those references from header files to support swift.

Is there any plan to fix this or an ETA? The tool seems extremely powerful and interesting and I have several use cases for it but unfortunately our projects are swift only

@bolismauro you can try https://appspector.com instead. Works with swift and has more features :)

interesting, are you looking for some specific feature? @bolismauro

I want to play with layout editor and the ability of developing custom things within the tool.
Also I prefer not to go trough a 3rd party service I cannot control.
I think this isn't the proper place to discuss this though. Let's keep it clean for the sonar swift support

@bolismauro Currently its isn't in our internal roadmap.We would expect open source community to fix it. But seeing on how things pan out we may end up working on it. But I can't see that happen soon.

Gotcha. I unfortunately don't have strong c++ knowledge but I think I'll try anyway. Do you have some suggestions about how to proceed and what need to be fixed?

Just try and get rid off the c++ in the header files of sonar. In header files you may also find other inported dependency that has c++ in it. So one has to create a c wrapper over it and then use in the public headers of sonar.Basically we have to make sure that headers doesn't have c++ in it.

I took a look into building Sonar for use in Trestle, which is a Swift project. As far as I can see, Cocoapods should be able to configure the Sonar/SonarKit pods into modules which Swift can use using :modular_headers => true. Swift projects use pods which have C++ in them all the time - Sentry is a good example of a pod which has no Swift and some C++ and is usuable from a Swift project.
Here's what my Podfile looks like:
  pod 'RSocket', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/RSocket.podspec'
  pod 'DoubleConversion', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/Folly.podspec'
  pod 'PeerTalk', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/PeerTalk.podspec'
  pod 'Yoga','~>1.8.1', :modular_headers => true
  pod 'Sonar', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/xplat/Sonar/Sonar.podspec'
  pod 'SonarKit', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/SonarKit.podspec', :modular_headers => true
  pod 'SonarKit/SonarKitLayoutComponentKitSupport', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/SonarKit.podspec'
  pod 'SonarKit/SKIOSNetworkPlugin', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/SonarKit.podspec'
  pod 'ComponentKit', :podspec => 'https://raw.githubusercontent.com/facebook/Sonar/master/iOS/third-party-podspecs/ComponentKit.podspec'

  post_install do |installer_representation|
    installer_representation.pods_project.targets.each do |target|
      if ['YogaKit'].include? target.name
          target.build_configurations.each do |config|
              config.build_settings['SWIFT_VERSION'] = '3.0.2'
          end
      end
    end
  end

Not running into any errors due to C++ used in headers like @priteshrnandgaonkar said, however I'm seeing the same error as in #28 ('iosfwd' file not found). Here's the full trace:
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/SonarKit/SonarCppBridgingConnection.h:8:9: note: while building module 'Sonar' imported from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/SonarKit/SonarCppBridgingConnection.h:8:
#import <Sonar/SonarConnection.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Sonar-umbrella.h"
        ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/Sonar-umbrella.h:14:9: note: in file included from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/Sonar-umbrella.h:14:
#import "SonarClient.h"
        ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarClient.h:11:10: note: in file included from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarClient.h:11:
#include <Sonar/SonarConnectionImpl.h>
         ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarConnectionImpl.h:11:10: note: in file included from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarConnectionImpl.h:11:
#include <Sonar/SonarConnection.h>
         ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarConnection.h:11:10: note: in file included from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarConnection.h:11:
#include <Sonar/SonarResponder.h>
         ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarResponder.h:11:10: note: in file included from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Sonar/SonarResponder.h:11:
#include <folly/json.h>
         ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/Folly/folly/json.h:43:10: error: 'iosfwd' file not found
#include <iosfwd>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "SonarKit-umbrella.h"
        ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/SonarKit/SonarKit-umbrella.h:13:9: note: in file included from /Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/SonarKit/SonarKit-umbrella.h:13:
#import "SonarCppBridgingConnection.h"
        ^
/Users/noahgilmore/code/trest-ios/Trest/../Pods/Headers/Public/SonarKit/SonarCppBridgingConnection.h:8:9: error: could not build module 'Sonar'
#import <Sonar/SonarConnection.h>
        ^
/Users/noahgilmore/code/trest-ios/Trest/Trest/AppDelegate.swift:16:8: error: could not build Objective-C module 'SonarKit'
import SonarKit
       ^

I could be wrong but the solution to this might just be an include path configuration fix. Any advice here is appreciated :) @bolismauro were you able to make any headway here?

It works perfectly!
Thanks a lot for have worked on this, I struggled to find the proper time and it is great that you guys are pushing this forward :)

Amazing


Keep working dir after a chroot call

Signed-off-by: David Cassany<EMAIL_ADDRESS>

@Itxaka this fixes the need of using absolute paths build-iso calls, we were not keeping the working directory after undoing the chroot.


feat: Add goreleaser config yaml

Signed-off-by: Ce Gao<EMAIL_ADDRESS>
What this PR does / why we need it:
We are using gorelease https://github.com/goreleaser/goreleaser/ to release our ormb. This PR is to add the corresponding config yaml file for it.
https://github.com/caicloud/ormb/releases/tag/v0.0.1
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @ddysher

Release note:

NONE

/lgtm
@bbbmj is this something you are looking into?
/cc @supereagle


TreeItem get_prev_visible and get_prev_in_tree wrap broken

Godot version
4.1.3
System information
Ubuntu
Issue description
using TreeItem.get_prev_visible(wrap = true) and TreeItem.get_prev_in_tree(wrap = true) returns null when reaching the beginning of the tree, It should instead wrap around when wrap is set to true.
It works fine with get_next_visible() and get_next_in_tree()
Documentation:

[TreeItem](https://docs.godotengine.org/es/4.x/classes/class_treeitem.html#class-treeitem) get_prev_in_tree ( [bool](https://docs.godotengine.org/es/4.x/classes/class_bool.html#class-bool) wrap=false )

Returns the previous TreeItem in the tree (in the context of a depth-first search) or a null object if there is none.

If wrap is enabled, the method will wrap around to the last element in the tree when called on the first visible element, otherwise it returns null.

[TreeItem](https://docs.godotengine.org/es/4.x/classes/class_treeitem.html#class-treeitem) get_prev_visible ( [bool](https://docs.godotengine.org/es/4.x/classes/class_bool.html#class-bool) wrap=false )

Returns the previous visible sibling TreeItem in the tree (in the context of a depth-first search) or a null object if there is none.

If wrap is enabled, the method will wrap around to the last visible element in the tree when called on the first visible element, otherwise it returns null.

And here is the error:

Steps to reproduce
1 - make a tree
2 - add 2 elements
3 - call get_prev_visible(true) from a button on the currently selected TreeItem
4 - Error
Minimal reproduction project
N/A

I have been looking at the code
TreeItem *TreeItem::_get_prev_in_tree(bool p_wrap, bool p_include_invisible) {
	TreeItem *current = this;

	TreeItem *prev_item = current->get_prev();

	if (!prev_item) {
		current = current->parent;
		if (current == tree->root && tree->hide_root) {
			return nullptr;
		} else if (!current) {
			if (p_wrap) {
				current = this;
				TreeItem *temp = this->get_next_visible();
				while (temp) {
					current = temp;
					temp = temp->get_next_visible();
				}
			} else {
				return nullptr;
			}
		}
	} else {
		current = prev_item;
		while ((!current->collapsed || p_include_invisible) && current->first_child) {
			//go to the very end

			current = current->first_child;
			while (current->next) {
				current = current->next;
			}
		}
	}

I do have root hidden.
I think this might be the problem:
if (current == tree->root && tree->hide_root) {
			return nullptr;

Shouldn't it check for wrap?

I have fixed the issue and created a PR.
the changes to the code could be added to master since that part of the files is exactly the same, but the rest is different so I made a commit to 4.1


ERROR var.target_groups is tuple with 1 element

Description

while calling module>>>
using target_groups  >>>
target_groups = [
{
name_prefix      = "pref-"
backend_protocol = "HTTP"
backend_port     = 80
target_type      = "instance"
targets = [
{
target_id = "i-vvvvvvvfg"
port = 80
},
{
target_id = "i-yyyyyyyyy"
port = 80
}
]
}
]
----------------------------- or
target_groups = [
{
name_prefix          = "Default"
backend_protocol     = "HTTP"
backend_port         = 80
target_type          = "instance"
deregistration_delay = 10
  stickiness = {
    enabled         = false
    cookie_duration = 10
    type            = null
  }
  health_check = {
    enabled             = true
    interval            = 30
    path                = "/"
    port                = "traffic-port"
    healthy_threshold   = 3
    unhealthy_threshold = 3
    timeout             = 6
    protocol            = "HTTP"
    matcher             = "200-399"
  }
  protocol_version = "HTTP1"
  targets = {
    my_ec2 = {
      target_id = "i-xxxxxxxx"
      port      = 80
    },
    # my_ec2_again = {
    #   target_id = aws_instance.random_name.id
    #   port      = 80
    # }
  }
  tags = {
    InstanceTargetGroupTag = "Default"
  }
},

]
-------------------- or
target_groups = [
{
name_prefix      = "pref-"
backend_protocol = "HTTPS"
backend_port     = 443
target_type      = "instance"
}
]
but no luck, same result
Error: Error in function call
on ....\modules\0.1.6.network\elb\alb-nlb.tf line 117, in locals:
118:     for index, group in var.target_groups : [
119:       for k, targets in group : {
120:         for target_key, target in targets : join(".", [index, target_key]) => merge({ tg_index = index }, target)                                                                                , target)
121:       }
122:       if k == "targets"
123:     ]
124:   ]))
|----------------
| var.target_groups is tuple with 1 element
Call to function "merge" failed: arguments must be maps or objects, got
"tuple".
⚠ Note
Before you submit an issue, please perform the following first:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

Versions

Terraform: 0.13

Provider(s): 3.4

Module: latest

Reproduction

Steps to reproduce the behavior:

Code Snippet to Reproduce

Expected behavior

Actual behavior

Terminal Output Screenshot(s)

Additional context

...)
dots are missed . added and now working


SAMZA-1725: Set travis build idle time out to 20 minutes.

Problem
Currently, average build time of samza codebase is 15 to 20 minutes. However, travis has a build idle timeout of 10 minutes and fails the build if the gradle build command doesn't log anything to console
for 10 minutes(occurs when running tests in samza-test module).
Sample travis build failure error:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

Fix:
Increasing the build idle-wait timeout value to 20 minutes.

@dnishimura
Sample successful build on top of this patch: https://travis-ci.org/shanthoosh/samza/jobs/382416654
Please take a look when you get a chance.

Does increasing the timeout just mask the issues with all the connection and Kafka connection exceptions I see in the build log? Or are those expected?


React Native Web

Hey, I was having a look at your app. It looks very cooo and I'm looking forward to getting it running.
Quick question. Have you considered using React Native for Web? I'm not very familiar with it but I think it would be cool if it also worked as a Web App.
Love to get your perspective.

I am currently building one with react-native-web and it can be straightforward. Some features can be just for mobile so it needs to be disactivated when on web, then the rest should do it automatically.
I am looking for a project react-native with a swipe such as within the gmail android app. swipe left store, swipe right add to favorite. Do you guy have anything to recommend me?

Hi @VikashKothary ! Sorry for my late answer. I was very busy last month.
To answer your question, I'm very interested in making a React Native Web version, but unfortunately I don't have the time even if it shouldn't be too long.
It seems that @kopax  is working on it.
@kopax , unfortunately, I have nothing to recommend to you.

Hi @stevenpersia , what I am looking for is more a list like the android gmail app, I am not sure if this would be a good starting point, otherwise I would do it. This is for example closer to what I want: https://github.com/jemise111/react-native-swipe-list-view

I did a quick search and surprisingly, I can't find anything close to it! Except the repo you just shared who seems to suit your needs.
It can be interesting to make your own. If you do, I will follow this very closely!

If you guys are agree, I will close this PR. You can ask to reopen it if you want.


awesome-obsidian vault

As suggested by argentum#3920 on Obsidian Discord Server, it may a be a good idea to make vault version of this repository.
https://github.com/mdzk-rs/mdzk could be used as suggested by @kmaasrud.

The vault has been created! Check obsidian-hub.

[ ] copy existing links from awesome-obsidian to obsidian-hub
[ ] awesome-list format generated from obsidian-hub


Generating new APK and Android project

:tada: This PR is included in version 1.2.2 :tada:
Your semantic-release bot :package::rocket:


Upgrade example dependencies version

upgrade vite to 3.0.5
upgrade @vitejs/plugin-react-refresh to @vitejs/plugin-react

thanks @jsun969 🙏


Error when setting knative-service trait annotations

What happened?
Create an integration that uses annotations on the knative-service trait, as in this example:

apiVersion: camel.apache.org/v1
kind: Integration
metadata:
  name: annotations-test
spec:
  sources:
  - name: main.groovy
    content: |-

     from('rest:get:/test')
       .log("It Worked!")

  traits:
    knative-service:
      enabled: true
      annotations:
        autoscaling.knative.dev/class: "hpa.autoscaling.knative.dev"
        autoscaling.knative.dev/metric: "cpu"
        autoscaling.knative.dev/target: "75"
        autoscaling.knative.dev/minScale: "1"
        autoscaling.knative.dev/maxScale: "10"

Apply this content to your kubernetes cluster and monitor the operator logs.
It will display an error when creating the Knative Service object:
{"level":"error","ts":"2024-04-22T20:27:22Z","msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"annotations-test","namespace":"a1b2c3d4e5"},"namespace":"a1b2c3d4e5","name":"annotations-test","reconcileID":"63b0dd87-66be-4641-80b4-697349eeacf0","error":"error executing post actions: error during apply resource: a1b2c3d4e5/annotations-test: admission webhook \"validation.webhook.serving.knative.dev\" denied the request: validation failed: invalid key name \"autoscaling.knative.dev/class\": metadata.annotations\nautoscaling annotations must be put under \"spec.template.metadata.annotations\" to work\ninvalid key name \"autoscaling.knative.dev/maxScale\": metadata.annotations\nautoscaling annotations must be put under \"spec.template.metadata.annotations\" to work\ninvalid key name \"autoscaling.knative.dev/metric\": metadata.annotations\nautoscaling annotations must be put under \"spec.template.metadata.annotations\" to work\ninvalid key name \"autoscaling.knative.dev/minScale\": metadata.annotations\nautoscaling annotations must be put under \"spec.template.metadata.annotations\" to work\ninvalid key name \"autoscaling.knative.dev/target\": metadata.annotations\nautoscaling annotations must be put under \"spec.template.metadata.annotations\" to work","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:226"}

Steps to reproduce
No response
Relevant log output
No response
Camel K version
v2.2.0

@squakez We're using Knative Serving 1.12.3
kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels "app.kubernetes.io/version"}}'
1.12.3

Per https://camel.apache.org/camel-k/2.2.x/index.html, Camel K 2.2 is compatible with Knative API 0.27.7, but I could not find any documentation on Knative website that mapped the API Version to the Knative version. So we used the latest available version when 2.2 was released. Maybe I have just found out that the API version is not the expected one.

Thanks! Using generic annotations under knative-service.annotations worked as expected

    knative-service:
      annotations:
        autoscaling.knative.dev/class: "kpa.autoscaling.knative.dev"
        autoscaling.knative.dev/container-concurrency-target-default: "100"
        autoscaling.knative.dev/container-concurrency-target-percentage: "0.7"
        autoscaling.knative.dev/enable-scale-to-zero: "false"
        autoscaling.knative.dev/max-scale-up-rate: "5"
        autoscaling.knative.dev/max-scale-down-rate: "2"
        autoscaling.knative.dev/panic-window-percentage: "40"
        autoscaling.knative.dev/panic-threshold-percentage: "150"
        autoscaling.knative.dev/scale-to-zero-grace-period: "10s"
        autoscaling.knative.dev/scale-to-zero-pod-retention-period: "0s"
        autoscaling.knative.dev/target-burst-capacity: "-1"
        autoscaling.knative.dev/requests-per-second-target-default: "100"

If these are "Revision" annotations, then, we probably need to rework the trait to make the configuration more generic and add any annotation accordingly. Ideally we can have both knative.service-annotations and knative.revision-annotations which would populate the specific annotation object. If this is what you need, feel free to log an issue with these details and we'll schedule the work accordingly.


fix joyent disk mounting and other confirm issues

some minor comments

:+1:

Addresses the following issues:
https://issues.cask.co/browse/COOPR-729
https://issues.cask.co/browse/COOPR-730


Broken in < 3.8 on Angle bracket components

<MyComponent {{on "click" this.doSomething}} />

Fails with Element modifiers are not allowed in components
Demo repo: https://github.com/amk221/-ember-on-modifier/commit/5d9ae9f4cb162e8b9166904c387ccf6d5242554b

I realised this addon doesn’t have -polyfill in the name, is that why it doesn’t work on the lower versions?

I see now that this is due to missing behaviour to do with splattributes, not the on modifier.

Hey @amk221! Thanks for making this explicit.
If you want, you can submit a PR to add this to Compatibility. If you got no time for it, that's also fine. I'll get to it myself then.

Yeah, I really wish we could polyfill that behavior but it is quite hard.


Image Analysis Node

The existing ImageDisplay allows the creation of ROIs but doesn't give anything beyond their corner points. I'm working on a new node, ImageAnalyze, that uses the pyqtgraph library. So far I've been able to allow for the user to:

Select from different ROI shapes
View a plot of the average in the ROI (for a stack of 2D images)
Access that 1D data series outside the node

So far this is very much a work in progress and it may make more sense in the end to combine it with ImageDisplay. I'd initially started with the pyqtgraph ImageViewer widget, but wasn't able to change the ROI shape without crashing it.
@aganders3 it would be great if you get a chance to give this a quick test, or just help brainstorm any thoughts on what else might be useful here. If you want to test it, you'll have to set up a conda env with pyqtgraph installed. One question I'm thinking of already is how best to handle cases where someone wants a multi-point ROI and doesn't know the number of points a priori.
There are also some menu options that pyqtgraph has accessed by a right click that are being stepped on by gpi's in port / out port prompt — is there any way we can bypass that for a particular widget?

Thanks @borupdaniel - this is cool and something that has been needed for a long time. I'll try to look at it ASAP. @schudds may also have feedback because I think he has built some things like this and/or worked on the ImageDisplay node before.
Off the top of my head for brainstorming:

It might be too much work but you will probably eventually want 3D ROIs on 4D datasets. I can't really envision wanting 4D ROIs though, so you probably don't need to generalize beyond that.
You also may want multiple ROIs (though multiple nodes would probably suffice in that case).
I would make a selector to choose how the ROI values are processed (mean, median, stdev, etc.) and the option to output all values in the ROI in an array (without a summarizing function).


#578 Remove temp map files only after checking for map config

This PR should fix #578 — I've included an additional check before removing temp map files.
CC: @cailian824, @drewkerrigan, @justinrlee

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@drewkerrigan, @justinrlee BUMP!

Can one of the admins verify this patch?


Hastebin egg

Create egg for easier hosting of https://github.com/seejohnrun/haste-server

I'll likely not be adding something other than plain coding languages for now.
This is easy to do so, you can just use the NodeJS egg and bind it to the server's port.
Closing this.


Add error handling for namespace check

Every night we get an alertmanager alarm:  KuberhealthyNamespaceExistsCheck - it appears to be caused by a timeout, which is hard to diagnose.
If we receive an API response of not found, I think it would be beneficial to retry the check, as API calls have been known to fail.

Codecov Report
Base: 17.39% // Head: 12.90% // Decreases project coverage by -4.48% :warning:

Coverage data is based on head (c697033) compared to base (19f10ac).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   17.39%   12.90%   -4.49%
==========================================
  Files           1        1
  Lines          46       62      +16
==========================================
  Hits            8        8
- Misses         35       51      +16
  Partials        3        3

Impacted Files
Coverage Δ

cmd/namespace-check/main.go
12.90% <0.00%> (-4.49%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Feature Request: Convert CurseFoge pack to Modrinth pack.

Title, a one-step solution that could convert curse format to modrinth format could be useful, I think, no bothering to run more than one commands.

I've been considering making the metadata lookup automatically handled for you for quite a while; it's just a complex change with a lot of edge cases. For now, I might add a command that lets you add metadata for other sites on demand.

Hmm... I didn't read this issue correctly when I first saw it and thought I was something else I had planned. This is simpler than I thought; I wonder if it'd work to have this just be an alias command, that creates a packwiz pack in a temporary location, and runs packwiz cf import then packwiz mr export for you? The annoying part is that it's really hard to handle errors - the user can't just edit the files to fix it if it's all in one command when metadata matching fails. See also #66 for the metadata matching plans.


activate on conanfile.py

For activating the extension on conan.io package workspaces which contain a conanfile.py on their root folder.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).

Codecov Report

Merging #13814 into main will decrease coverage by 59.93%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main   #13814       +/-   ##
===========================================
- Coverage   59.93%    0.00%   -59.94%
===========================================
  Files         684       14      -670
  Lines       37962       38    -37924
  Branches     5466        3     -5463
===========================================
- Hits        22753        0    -22753
+ Misses      14048       38    -14010
+ Partials     1161        0     -1161

Impacted Files
Coverage Δ

src/client/debugger/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/common/process/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/common/platform/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/datascience/notebook/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

src/client/interpreter/autoSelection/constants.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
0.00% <0.00%> (-50.00%)
:arrow_down:

src/client/datascience/notebook/types.ts

src/client/testing/unittest/runner.ts

...jupyter/kernels/jupyterKernelPromiseFailedError.ts

...science/jupyter/liveshare/guestJupyterExecution.ts

... and 666 more

Continue to review full report at Codecov.

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

I've no idea why my PR should affect code coverage

@dvirtz Please create an issue for this, so that we can discus this enhancement.


refactor merge tests to use more unit tests and less integration tests

Description
=Currently our merge tests are some of our most time consuming CI tests as well as the most black-box. By mocking the running SQL we can both remove the need to run so many tests against the database AND allow external users to test the merge function without needing snowflake/bigquery credentials.
The new testing structure compares precise SQL strings, since the merge should be programmatically consistent if the column names remain the same.
Does this introduce a breaking change?
No
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

@kaxil @tatiana this change cuts 5 minutes off of the total CI time. I'm gonna keep going through and finding the tests that take the longest to convert them to unit tests.


The image cache can lose track of a live image that it probably shouldn't lose track of

The following sequence would lead to this:

Put an image into the cache and hold a listener
Create a keepAlive handle on the completer once the image completes.
Remove the listener. At this point, the "last listener" callback will fire and remove the live image tracker.

In fact, the image should still be considered live because the completer/image are actually still available somewhere. Some potential solutions:

Drop the whole listener callback, and just have the liveImage check if the completer is disposed or not when it's wanted. If it's disposed, drop the live listener from the cache. Need to make sure this doesn't accidentally retain the image, but I'm pretty sure it doesn't.
Only call the last listener callback if the stream is getting disposed.

I started looking at doing this in #66688 but it was further complecting things and since this behavior existed already (e.g. add a listener, remove the last listener, add a listener again) I decided to leave it for a separate patch.

Provisionally assigning a P4. @dnfield If you're currently working on this, let's bump the priority as you see fit.


Sort filenames naturally using StrCmpLogicalW

Adds a NaturalStringComparer class which is used in ItemViewModel when sorting by file name.

Resolves #352.

@jeffsieu Thanks for this contribution. My only concern is whether or not this method is allowed in UWP apps.

@duke7553 Would using CompareStringEx from api-ms-win-core-string-l1-1-0 instead be better? As it is present in all Windows 10 devices

@jeffsieu Yes, because that one is technically allowed in Universal apps. (I actually overlooked that function on the list, or else I would have fixed this long ago)

@duke7553 Here, this should do it.


Integration Test for Registering branded token

Propose Branded Token
Register branded token on utility chain
Register utility token on value chain.

committed


Runtime error

When I try to launch the tello node, I get an error and the driver crashes:
erinline@erinline-MacBookPro:~/test_tello$ roslaunch tello_driver tello_node.launch
... logging to /home/erinline/.ros/log/4fa3c65a-cd9e-11ec-a117-f45c89a267e3/roslaunch-erinline-MacBookPro-7819.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://erinline-MacBookPro:45439/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /tello/tello/connect_timeout_sec: 10.0
 * /tello/tello/local_cmd_client_port: 8890
 * /tello/tello/local_vid_server_port: 6038
 * /tello/tello/stream_h264_video: False
 * /tello/tello/tello_cmd_server_port: 8889
 * /tello/tello/tello_ip: <IP_ADDRESS>

NODES
  /tello/
    image_compressed (image_transport/republish)
    tello (tello_driver/tello_driver_node.py)

auto-starting new master
process[master]: started with pid [7830]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 4fa3c65a-cd9e-11ec-a117-f45c89a267e3
process[rosout-1]: started with pid [7843]
started core service [/rosout]
process[tello/tello-2]: started with pid [7849]
process[tello/image_compressed-3]: started with pid [7851]
Tello: 20:40:38.243:  Info: tellopy - Arkady's Version
Tello: 20:40:38.244:  Info: tellopy - Arkady's Version
Traceback (most recent call last):
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 306, in <module>
    main()
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 300, in main
    robot = TelloNode()
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 81, in __init__
    log=log)
TypeError: __init__() got an unexpected keyword argument 'local_cmd_client_port'
[tello/tello-2] process has died [pid 7849, exit code 1, cmd /home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py __name:=tello __log:=/home/erinline/.ros/log/4fa3c65a-cd9e-11ec-a117-f45c89a267e3/tello-tello-2.log].
log file: /home/erinline/.ros/log/4fa3c65a-cd9e-11ec-a117-f45c89a267e3/tello-tello-2*.log

I followed all the install instructions. As a result of this error, no video stream is even coming through. Please advise :)

Hmm a couple of thoughts:

I don't own a Tello personally these days so it'll be hard to test and support
I also don't have much time, so sorry in advance for tardy or absent responses
Kind suggestion: read the log to see what might be wrong ;)
"TypeError: init() got an unexpected keyword argument 'local_cmd_client_port'" suggests that the super class's constructor from tellopy doesn't have an expected argument
"tellopy - Arkady's Version" suggests that likely you are not using my fork, as per the install instructions ;)
It seems that you are running this on a Macbook Pro. Hoping you installed some form of Linux on it (which is totally fine), but just in case you somehow are trying ROS on OSX, my past experience (likely stale) suggest that you might be in a lot of pain and uncharted territories

Good luck!

Yep, it's a dualbooted Macbook Pro, running this in Ubuntu :) I double checked and I do have your fork checked out, I believe. My directory structure is a ROS workspace, and inside src, it includes tello_driver, TelloPy, and h264 library. The TelloPy origin is your repo, but nonetheless, I get this error (and it's different this time, I don't know why).
erinline@erinline-MacBookPro:~/test_tello$ roslaunch tello_driver tello_node.launch
... logging to /home/erinline/.ros/log/edee1ef4-d0c4-11ec-9cc3-f45c89a267e3/roslaunch-erinline-MacBookPro-4135.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://erinline-MacBookPro:45151/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /tello/tello/connect_timeout_sec: 10.0
 * /tello/tello/local_cmd_client_port: 8890
 * /tello/tello/local_vid_server_port: 6038
 * /tello/tello/stream_h264_video: False
 * /tello/tello/tello_cmd_server_port: 8889
 * /tello/tello/tello_ip: <IP_ADDRESS>

NODES
  /tello/
    image_compressed (image_transport/republish)
    tello (tello_driver/tello_driver_node.py)

auto-starting new master
process[master]: started with pid [4148]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to edee1ef4-d0c4-11ec-9cc3-f45c89a267e3
process[rosout-1]: started with pid [4162]
started core service [/rosout]
process[tello/tello-2]: started with pid [4169]
process[tello/image_compressed-3]: started with pid [4170]
Traceback (most recent call last):
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 306, in <module>
    main()
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 300, in main
    robot = TelloNode()
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 74, in __init__
    log = RospyLogger('Tello')
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 27, in __init__
    super(RospyLogger, self).__init__(header)
TypeError: super() argument 1 must be type, not classobj
[tello/tello-2] process has died [pid 4169, exit code 1, cmd /home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py __name:=tello __log:=/home/erinline/.ros/log/edee1ef4-d0c4-11ec-9cc3-f45c89a267e3/tello-tello-2.log].
log file: /home/erinline/.ros/log/edee1ef4-d0c4-11ec-9cc3-f45c89a267e3/tello-tello-2*.log
^C[tello/image_compressed-3] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Hmm I can't fully help you here, but the symptom suggests that you are using some Python2.x version, and either:

the constructor code syntax in tello_driver_node.py is not compatible with your Python version
your ROS installation (RospyLogger especially) may have an outdated version, or mismatching to your OS's Python version

Here are some possible fixes, both involving editing tello_driver_node.py:

change line 25 to class RospyLogger(logger.Logger, object):
-or- change line 27 to super().__init__(header)

Using your suggestion #1 worked for that bug, thanks! However, now I get the first error again (only without mention of Arkady's TelloPy, I think that was just because I had tried so many versions on one laptop):
setting /run_id to 36505290-dd52-11ec-81c7-f45c89a267e3
process[rosout-1]: started with pid [5649]
started core service [/rosout]
process[tello/tello-2]: started with pid [5656]
process[tello/image_compressed-3]: started with pid [5657]
Traceback (most recent call last):
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 306, in <module>
    main()
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 300, in main
    robot = TelloNode()
  File "/home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py", line 81, in __init__
    log=log)
TypeError: __init__() got an unexpected keyword argument 'local_cmd_client_port'
[tello/tello-2] process has died [pid 5656, exit code 1, cmd /home/erinline/test_tello/src/tello_driver/src/tello_driver_node.py __name:=tello __log:=/home/erinline/.ros/log/36505290-dd52-11ec-81c7-f45c89a267e3/tello-tello-2.log].
log file: /home/erinline/.ros/log/36505290-dd52-11ec-81c7-f45c89a267e3/tello-tello-2*.log
^C[tello/image_compressed-3] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

I'll keep digging into it and post here if I figure it out!


Testing, please ignore. xndksr

This is a bug bounty test. Please do not approve this! xndksr

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xndksr rvqxn seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update documentation

More detailed description of the project in the "About" section
Add the new build parameters for client names and key files
Improve the getting started page; add file encryption snippet
Move troubleshooting to a separate page

Thanks! When you rendered the documentation, did the headers on the about page turn out ok? I'm not sure if the headers need a row of asterisks above and below them, or if just below is sufficient.

Yeah, it rendered fine.


Bug where if you go to settingsVC from settingsVC accessed from add b…

…utton, no hamburgerMenu, and handle case where you try to add song from playerCell while in settingsVC

good to merge


Update index.html

linked to PR: https://github.com/openandroidinstaller-dev/openandroidinstaller/pull/198

This needs to be updated in templates as well as in public. The actions here do not build anything, they just deploy public.

This needs to be updated in templates as well as in public. The actions here do not build anything, they just deploy public.

i fixed it, i was modifying in a different branch


Improving Cloning and Contribution Accessibility

Improving Cloning and Contribution Accessibility
Originally, there were issues with submodules in the main repository not being initialized when contributors tried to build. We need a solution to streamline this process and make it easier and more intuitive to start contributing.
For further discussion, refer to the Discord thread.

completed :D


TS-4340 Add tests for per-origin connection limits

This was rolled into https://github.com/apache/trafficserver/pull/564


Create most important client examples

Description
I think we forgot some important client examples for the docs.
Stuff like get node info could be added. How to use the indexer API.
Maybe also mqtt? (Although that is not supported yet everywhere? 🤔)
Are you planning to do it yourself in a pull request?
Yes I can definitively create some. But please provide input first ;)

You're only speaking about docs and bindings, right? Because these examples exist in Rust.

You're only speaking about docs and bindings, right? Because these examples exist in Rust.

Yes

We are happy to add some examples but please do a list of what you would like.

It's fine, I will create those. Tbh I'm not sure yet what we need.
So I will create examples for node info and indexer (if needed) and add them to the docs.
We can always add examples to the docs later if we get requests from the community 🤔


Replace VK_QUEUE_GRAPHICS_BIT with VK_QUEUE_TRANSFER_BIT in framework/gltf_loader.cpp

The transfer queue is probably the better choice here.

@tomadamatkinson - last one (I think)

Closing as the benefit here doesn't warrant the effort ATM


Reduce number of allocations for address normalization

The last component in a /proc//maps line is optional. We treat it this way, but by using the split_once() function, which produces nice errors, we unnecessarily create an Error object just to throw it away subsequently. Because Errors are heap allocated, we incur some heap allocations on the happy path, which is not the intention. Remove them by working only with Option objects at the location in question. For the normalize_process test, this reduces the number of allocations by 20 (47 down to 27) on my system:
  > $ cargo test --test=allocs -- normalize_process --nocapture
  > Stats: Stats {
  >     allocations: 27,
  >     deallocations: 27,
  >     reallocations: 7,
  >     bytes_allocated: 18322,
  >     bytes_deallocated: 18322,
  >     bytes_reallocated: 252,
  > }

FYI @simpleton: this change may be worth backporting

sure, thanks for improving it!
On Wed, Feb 28, 2024 at 11:18 AM Daniel Müller @.***>
wrote:

Merged #555 https://github.com/libbpf/blazesym/pull/555 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/libbpf/blazesym/pull/555#event-11956252681, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADO6YQLSOEGFZW6BA4P4QLYV57J5AVCNFSM6AAAAABD6TGRBKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHE2TMMRVGI3DQMI
.
You are receiving this because you were mentioned.Message ID:
@.***>


module 'googleapiclient' has no attribute 'version'

Hi
When installing apiclient under python 3.8 with the latest versions, I had the following error with
    from tensorflow.python.tpu.client import client
  File "/home/cbo/miniconda3/envs/tf-2/lib/python3.8/site-packages/tensorflow/python/tpu/client/client.py", line 32, in <module>
    from apiclient import discovery  # pylint: disable=g-import-not-at-top
  File "/home/cbo/miniconda3/envs/tf-2/lib/python3.8/site-packages/apiclient/__init__.py", line 22, in <module>
    __version__ = googleapiclient.__version__
AttributeError: module 'googleapiclient' has no attribute '__version__'

I decided to comment the line __version__ = googleapiclient.__version__  in the file python3.8/site-packages/apiclient/init.py
"""Retain apiclient as an alias for googleapiclient."""

from six import iteritems

import googleapiclient

from googleapiclient import channel
from googleapiclient import discovery
from googleapiclient import errors
from googleapiclient import http
from googleapiclient import mimeparse
from googleapiclient import model

try:
    from googleapiclient import sample_tools
except ImportError:
    # Silently ignore, because the vast majority of consumers won't use it and
    # it has deep dependence on oauth2client, an optional dependency.
    sample_tools = None
from googleapiclient import schema

#__version__ = googleapiclient.__version__

_SUBMODULES = {
    "channel": channel,
    "discovery": discovery,
    "errors": errors,
    "http": http,
    "mimeparse": mimeparse,
    "model": model,
    "sample_tools": sample_tools,
    "schema": schema,
}

import sys

for module_name, module in iteritems(_SUBMODULES):
    sys.modules["apiclient.%s" % module_name] = module

Hi @christopher5106, thanks for the report. This is a duplicate of #870. I've just released 1.8.2, which removes the problematic line.
Please let us know if you're still experiencing issues!

Yes, it solved the issue. Thank you for your reactivity !


Acrolinx quality improvements: hcn-declaration-handles

#assign: @robinharwood, @Xelu86
Can you review the proposed changes?
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Looks good, merging now.


buildah from error - does not resolve to an image ID

When run a number of different 'buildah from' commands I'm seeing the below error on each one.  The from commands all seem to complete OK, but each has the error.
# container=$(buildah from fedora)
ERRO[0000] reference "[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.override_kernel_check=true]docker.io/library/fedora:latest" does not resolve to an image ID
Getting image source signatures
Copying blob sha256:a8ee583972c2295bb76704d4defe5116d5e4dd7ba3767aaa2cc8fcf71088ee06
 82.80 MiB / 82.80 MiB [===================================================] 12s
Copying config sha256:422dc563ca3260ad9ef5c47a1c246f5065d7f177ce51f4dd208efd82967ff182
 2.29 KiB / 2.29 KiB [======================================================] 0s
Writing manifest to image destination
Storing signatures
echo $container
fedora-working-container

Yes @nalind has a PR up for containers/image to stop blabing at Errorf when this happens and move it down to Debugf.
https://github.com/containers/image/pull/393
Looks like it is merged, will update the buildah to use latest containers/image.

#366 should include that change here.

Just ran the Baseline tests against the latest/greatest and no more errors.  Looks good!


add ND annotations to GPAD

as discussed on 2020-11-05 call; GO wants 'em included for bookkeeping
use same criteria as for adding them to the GAF
holler if any questions ...

Do we need to put anything in column 3 (Relation) for ND lines?
Also is this the correct ECO ID for ND?:
https://www.ebi.ac.uk/ols/ontologies/eco/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FECO_0000307
And should we use GO_REF:0000015 for the reference like we do for the GAF files?

Good question !
I don't remember this ever being asked. I'll find out...

Thinking about it, here, since we are normally referring to  MF enabled by, BP  involved in  and CC (localized to?) , if we negate we should use these codes in negation
That is the correct ECO code
Yes, although this isn't clear  https://github.com/geneontology/go-site/issues/1575

I don't remember this ever being asked. I'll find out...

Thanks.

That is the correct ECO code
Yes, although this isn't clear geneontology/go-site#1575

Great.  That's what I've implemented.

I've now check the output and we get the same number of annotation lines in the new GPAD output and the GAF files that we're currently sending to GO.  Same number of ND lines too so I'm fairly confident that it's all OK.

Thinking about it, here, since we are normally referring to MF enabled by, BP involved in and CC (localized to?) , if we negate we should use these codes in negation

It sounds like the relation can be inferred from the aspect.  I don't know what GO will require but if the relation can be inferred I think the column should be blank for ND lines.  Otherwise it's redundant noise.

Do we need to put anything in column 3 (Relation) for ND lines?

This came up at the last GO annotation call. Minutes don't have much besides the bottom line, which is:

Biological Process -> involved_in
Molecular Function -> enables
Cellular Component -> is_active_in

p.s. "redundant noise" is the name of the game!

Thanks.  I've added the noise in column 3 and updated:
https://www.pombase.org/data/annotations/Gene_ontology/pombase.gpad
I think this is done now.


Parse random font variant

var parse = require('parse-css-font').default
console.log(parse('foo 1rem serif'))
// { variant: 'foo', ... }

I wonder why is that allowed for variant to be any value? According to the spec that can be only small-caps or normal https://developer.mozilla.org/en-US/docs/Web/CSS/font#font-variant-css21. Is that done so for the future?

It's actually a lot more complicated than that.


Pep8 2

Hello,
Following your comments, you will find here the branch without the indentation change (Sorry about that again, I was pretty sure it was a dumb thing to do).
I'll jump to the tox automation  just after.

I'm okay with this, :+1:
Will wait for another committer to comment or merge themselves before touching it myself though
Thanks for the work :)

Thx for the nice feedback.
I am really enjoying carbon/whisper + grafana those days, as it went pretty helpful at my work.
I hope I can help further more in the near future.

Hello,
A little up on this merge request  ...

thanks


[FEATURE]

When I use the annotation @NonNull
Can I add a parameter to return data?
like @NonNull(value="teachers are not allowed to be null")

We already generate an error message with that kind of detail (specifically: The name of the parameter and the notion that it should not be null), so not sure what purpose this serves.