add NAME COLUMN to the output of "calicoctl get wep" command

Description
calicoctl get wep command should show NAME column.

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

"calicoctl get wep" command now shows NAME column

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@subaroon thanks for the PR! However, the NAME heading is already available if you do calicoctl get wep -o wide - is there a reason you need it to be in the default output?

@caseydavenport
thank you for your reply.

@subaroon thanks for the PR! However, the NAME heading is already available if you do calicoctl get wep -o wide - is there a reason you need it to be in the default output?

Resource types other than workloadEndpoint show NAME column without -o wide.
NAME is the most important identifier for specifying a specific wep resource, as in calicoctl get wep NAME. Therefore, I think it's better to show NAME without -o wide.

Yep, that's a fair point. However, my concern is that changing this will break anyone using calicoctl get wep as part of their own scripts or tooling upon upgrade, as the column ordering will have changed.

Yep, that's a fair point. However, my concern is that changing this will break anyone using calicoctl get wep as part of their own scripts or tooling upon upgrade, as the column ordering will have changed.

In general, scripts tend to prefer structured formats such as JSON or YAML over table formats. Therefore, I believe that prioritizing convenience and consistency should outweigh the potential impact on scripts.

That may be true, but I do know of users who are using this output in scripts regardless.
I agree with you that the NAME column should have been shown from the start, but given that it wasn't I don't know that the need is high enough to warrant a potentially breaking change at the moment. I appreciate you taking the time to open this PR, but am going to close it for now.


Remove no longer reported test ignored error, fix displayDate

Questions
Answers

Description?
Error about addSqlRestriction is no longer reported and test is failing because of it. This removes this exclusion.

Type?

BC breaks?

Deprecations?

Fixed ticket?

How to test?

Merging as the change is safe. For ps < 8.0 those are the default values for the function.


Added Flights by Aircraft Endpoint

Feature Add

Added the FlightsByAircraft Endpoint Fixes #2.

Thanks for the PR it looks great! 🙏
@all-contributors please add @howellcc for code


list all images that have all layers of the base image included

What type of PR is this?

Which issue does this PR fix:
#661
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Why are there so many BATS file changes? Do you want to split this PR into two instead?

@aokirisaki don't see the test case which actually builds a chain of images.
Basically, create a manifest with layers and include on of these layers in another manifest.

@aokirisaki don't see the test case which actually builds a chain of images. Basically, create a manifest with layers and include one or more of these layers in another manifest. Add a negative case as well.

Isn't this what you are looking for https://github.com/project-zot/zot/pull/732/files#diff-b86e11fa5a3102b336caebec3b30a9d35e26af554dd8658f124dba2404b7d24aR1065?

@aokirisaki don't see the test case which actually builds a chain of images. Basically, create a manifest with layers and include one or more of these layers in another manifest. Add a negative case as well.

Isn't this what you are looking for https://github.com/project-zot/zot/pull/732/files#diff-b86e11fa5a3102b336caebec3b30a9d35e26af554dd8658f124dba2404b7d24aR1065?

Is the link right?
Also @aokirisaki can you post the zli output for this.

Look at pkg/extensions/search/common/common_test.go line ~1065. The link doesn't work right because the file is large.

@aokirisaki don't see the test case which actually builds a chain of images. Basically, create a manifest with layers and include one or more of these layers in another manifest. Add a negative case as well.

Isn't this what you are looking for https://github.com/project-zot/zot/pull/732/files#diff-b86e11fa5a3102b336caebec3b30a9d35e26af554dd8658f124dba2404b7d24aR1065?

Is the link right?
Also @aokirisaki can you post the zli output for this.

This is the output:
ana@ALISCA-NB:~/aokirisaki/zot$ bin/zli-linux-amd64 images config-test --base-images busybox
IMAGE NAME                        TAG                       DIGEST        SIZE
busybox                           latest                    b9590ac9      773kB
busybox                           new                       b9590ac9      773kB
busybox                           1.0.1                     2ac88360      773kB

Merged as part of https://github.com/project-zot/zot/pull/813


[FEAT-REQ] Custom ID type for TreeNode

Is your feature request related to a problem? Please describe.
I tried changing an existing data type in my project to extend TreeNode. However, since the ID is assumed to be a string, typescript complains.
Describe the solution you'd like
Change the TreeNode interface to be generic
export interface TreeNode<T> {
  id: T,
  // ...
}

Describe alternatives you've considered
N/A
Screenshots or screen records
N/A
Additional context
N/A
Would you like to work on this feature?
Absolutely!

Hey there! 👋
Thanks for your feature request and your interest in contributing to the project!
For IDs, I'd suggest using string | number types instead of a more generic template type. These are the most common and practical types for IDs. If you have a specific use case that requires other types, please let me know so we can consider any potential challenges.
So, the TreeNode would look like this:
export interface TreeNode<T extends (string| number)> {
    id: T;
    name: string;
    children?: TreeNode<T>[];
    [key: string]: any;
}

If you'd like to work on this feature and make a PR for it, please ensure all test cases pass and that necessary refactorizations are in place.
Feel free to reach out if you have any questions.


Implemented TOUCH command

LGTM. @marcosnils

#1412

Merged to master and 2.10 respectively. Thx @sazzad16 for your contributions!.


track last modified person of compliance info

Use username from session as the modified person.

Coverage remained the same at 0.0% when pulling<PHONE_NUMBER>65c8bc7763c5400a27e248e69e31cc on alyiwang:linkedin into 9cf66aa003a1bfaafe085940b10815e0c2e95c0c on linkedin:linkedin.


Remove circular dependency between material & mapview packages.

Remove circular dependency between material & mapview packages.
Fix ImportCheck tests, so bogus imports from ../../ are marked as errors.

Looks good I am just no sure if @here/harp-datasource-protocol/lib/ViewRanges.ts is a best place for that... but otherwise good change.

This is naming "only". @hare/harp-datasource-protocol is actually MapView protocol. It contains dozens of interfaces, type definitions by which MapView communicates ,  Decoders, DataSources with rest of world (Theme, Style).
Of course it contain bunch of accidental implementations of common code or ... decoder specific code, but they are easy targets to refactor.
Also, it's only package that has clear place in dependency tree ...
But i agree, @here/harp-mapview-protocol would be needed.


SERVFAIL result for every request / query on Pi-hole

I have unbound running on the same machine (Rpi) as my pi-hole install.
Installation was done as per https://docs.pi-hole.net/guides/unbound/
Everything was working OK, for some time...then, seeminlgy at random unbound is returning SERVFAIL for every dns query. Further details can be seen in this thread over at pi-hole discourse
As Unbound isnt their area of expertise, and i havent been able to find any active forums etc. i post here asking for some help.
Unbound version is 1.60, running on a Rpi Raspbian Stretch Lite.
If any further detials will be helpful please let me know.

Based on the link you shared I assume that you have pi-hole installed and pi-hole is using your local unbound on port 5353 as upstream.
Is unbound returning SERVFAIL or pi-hole?
As per the link can you share the output of:
dig sigfail.verteiltesysteme.net @<IP_ADDRESS> -p 5353
dig sigok.verteiltesysteme.net @<IP_ADDRESS> -p 5353

Yes, i have pi-hole installed, and it is set to use my local unbound at port 5353
I am not sure how to determine what is returning the SERVFAIL.
The pihole logs show SERVFAIL...this only happens when i am running unbound.
      IN      A

Ok, so the local unbound works as expected.
Can you share the pi-hole logs concerning the SERVFAIL?

You'll have to bare with me on that, ill need to look through some old archived logs, as ive not been running unbound. I'll also try re-enabling it when i am back home and have it run a while

So, I've set pihole to use unbound, as explained in the guide.
If I enable q-name minimisation I see servfail
Oct 23 18:23:21 dnsmasq[12028]: query[AAAA] dcp.dc1.philips.com from <IP_ADDRESS>
Oct 23 18:23:21 dnsmasq[12028]: forwarded dcp.dc1.philips.com to <IP_ADDRESS>
Oct 23 18:23:21 dnsmasq[12028]: forwarded dcp.dc1.philips.com to <IP_ADDRESS>
Oct 23 18:23:21 dnsmasq[12028]: reply error is SERVFAIL
Oct 23 18:23:21 dnsmasq[12028]: query[AAAA] dcp.dc1.philips.com.local from <IP_ADDRESS>
Oct 23 18:23:21 dnsmasq[12028]: forwarded dcp.dc1.philips.com.local to <IP_ADDRESS>
Oct 23 18:23:21 dnsmasq[12028]: reply dcp.dc1.philips.com.local is NXDOMAIN
Oct 23 18:23:21 dnsmasq[12028]: query[A] dcp.dc1.philips.com from <IP_ADDRESS>
Oct 23 18:23:21 dnsmasq[12028]: forwarded dcp.dc1.philips.com to <IP_ADDRESS>
Oct 23 18:23:22 dnsmasq[12028]: forwarded dcp.dc1.philips.com to <IP_ADDRESS>
Oct 23 18:23:22 dnsmasq[12028]: reply error is SERVFAIL

If I disable it the servfail errors seem to be sporadic and random.
No matter how I set it any dnssec test fails.

Just another note, I have tried to uninstall unbound and then reinstalled following the above linked guide.
Same behaviour

Ok, a couple of things that you can try/share:

Could you run unbound with verbosity: 2 and share the logs when SERVFAILS are happening?
Try dig dcp.dc1.philips.com @<IP_ADDRESS> -p 5353. Based on the previous dig commands I expect this to not fail as well
Could you share as much as possible from your unbound configuration? I understand that there are more than one files involved.

Thanks for the help. I will set verbosity to 2 later when i am home and report the results.

#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
include: "/etc/unbound/unbound.conf.d/*.conf"

and i also have /etc/unbound/unbound.conf.d/pi-hole.conf
server:

    # If no logfile is specified, syslog is used
    logfile: "/var/log/unbound.log"
    verbosity: 1

    port: 5353
    do-ip4: yes
    do-udp: yes
    do-tcp: yes

    # May be set to yes if you have IPv6 connectivity
    do-ip6: no

    # Use this only when you downloaded the list of primary root
    # servers!
    root-hints: "/var/lib/unbound/root.hints"

    # Trust glue only if it is within the servers authority
    harden-glue: yes

    # Require DNSSEC data for trust-anchored zones, if such data is
    # absent, the zone becomes BOGUS
    harden-dnssec-stripped: yes

    # Don't use Capitalization randomization as it known to cause DNSSEC
    # issues sometimes see
    # https://discourse.pi-hole.net/t/unbound-stubby-or-dnscrypt-proxy/9378
    # for further details
    use-caps-for-id: no

    # Reduce EDNS reassembly buffer size. Suggested by the unbound man
    # page to reduce fragmentation reassembly problems
    edns-buffer-size: 1472

    # Perform prefetching of close to expired message cache entries This
    # only applies to domains that have been frequently queried
    prefetch: yes

    # One thread should be sufficient, can be increased on beefy
    # machines. In reality for most users running on small networks or
    # on a single machine it should be unnecessary to seek performance
    # enhancement by increasing num-threads above 1.
    num-threads: 1

    # Ensure kernel buffer is large enough to not lose messages in
    # traffic spikes
    so-rcvbuf: 1m

    # Ensure privacy of local IP ranges
    private-address: <IP_ADDRESS>/16
    private-address: <IP_ADDRESS>/16
    private-address: <IP_ADDRESS>/12
    private-address: <IP_ADDRESS>/8
    private-address: fd00::/8
    private-address: fe80::/10

/etc/unbound/unbound.conf.d/qname-minimisation.conf
server:
    # Send minimum amount of information to upstream servers to enhance
    # privacy. Only sends minimum required labels of the QNAME and sets
    # QTYPE to NS when possible.

    # See RFC 7816 "DNS Query Name Minimisation to Improve Privacy" for
    # details.

    qname-minimisation: yes

/etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf
server:
    # The following line will configure unbound to perform cryptographic
    # DNSSEC validation using the root trust anchor.
    auto-trust-anchor-file: "/var/lib/unbound/root.key"

A little more info, being grabbed via VPN, unbound verbosity is set to 2
From the pi-hole logs:
Oct 25 11:23:25 dnsmasq[6727]: query[AAAA] dcp.dc1.philips.com from <IP_ADDRESS>
Oct 25 11:23:25 dnsmasq[6727]: forwarded dcp.dc1.philips.com to <IP_ADDRESS>
Oct 25 11:23:25 dnsmasq[6727]: forwarded dcp.dc1.philips.com to <IP_ADDRESS>
Oct 25 11:23:25 dnsmasq[6727]: reply error is SERVFAIL
Oct 25 11:23:25 dnsmasq[6727]: query[AAAA] dcp.dc1.philips.com.local from <IP_ADDRESS>
Oct 25 11:23:25 dnsmasq[6727]: forwarded dcp.dc1.philips.com.local to <IP_ADDRESS>
Oct 25 11:23:25 dnsmasq[6727]: forwarded dcp.dc1.philips.com.local to <IP_ADDRESS>
Oct 25 11:23:25 dnsmasq[6727]: reply error is SERVFAIL

Im not sure if the second query appended with .local bares any significance?
And from the unbound logs...im unsure how much to grab:
[1571999004] unbound[6384:0] info: resolving dcp.dc1.philips.com. AAAA IN
[1571999004] unbound[6384:0] info: resolving f.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving h.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving c.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving d.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving e.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving j.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving i.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving g.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving l.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: resolving a.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: response for f.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: reply from <net.> <IP_ADDRESS>#53
[1571999004] unbound[6384:0] info: query response REC_LAME: recursive but not authoritative server
[1571999004] unbound[6384:0] info: mark as REC_LAME
[1571999004] unbound[6384:0] info: response for h.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: reply from <net.> <IP_ADDRESS>#53
[1571999004] unbound[6384:0] info: query response REC_LAME: recursive but not authoritative server
[1571999004] unbound[6384:0] info: mark as REC_LAME

There are multiple entries similar to:
[1571999004] unbound[6384:0] info: response for c.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: reply from <net.> <IP_ADDRESS>#53
[1571999004] unbound[6384:0] info: query response REC_LAME: recursive but not authoritative server
[1571999004] unbound[6384:0] info: mark as REC_LAME
[1571999004] unbound[6384:0] info: response for d.gtld-servers.net. A IN
[1571999004] unbound[6384:0] info: reply from <net.> <IP_ADDRESS>#53
[1571999004] unbound[6384:0] info: query response REC_LAME: recursive but not authoritative server
[1571999004] unbound[6384:0] info: mark as REC_LAME

I guess these are queries to each root server? as found in /var/lib/unbound/root.hints
Interestingly (confusingly) I do not see SERVFAIL in the unbound log...yet the pi-hole log is full of this error.

sorry to raise this again, any more ideas / suggestions?
Did my above 2 posts help shed any light?

Just a drive-by-shooting-from-the-hip
Do you have any forward-zone: which points to the root servers?
I ask because i wondering about the log an that it seems like your recursor is asking the root servers in a Authoritative manor....
But as said, only a drive-by-shot....

No, I don't have any forward zones defined in the config
Unless it can be defined elsewhere?

A guy over at the pi-hole discourse suggested installation of unbound 1.9.4, but when I try I get dependency errors

Could you attach one file here?
That would be all the unbound log when you run dig dcp.dc1.philips.com @<IP_ADDRESS> -p 5353
Looking again at your dig output I see a hefty query time ;; Query time: 1495 msec.
This could justify dnsmasq's SERVFAIL because it didn't get an answer in a given time frame.
Are the above configuration files all the configuration files you have in the unbound.conf.d directory?
As spirillen said I would expect to also find a forward: or stub: directive.
Otherwise maybe the IPs of the root servers are intercepted by a forwarder?

unbound.log
Yes, the above mentioned configs are all installed files. No others. I can't see a forward: or stub: entry anywhere.
Install was done following the guide linked in my first post

Yet another drive-by-shooting.  Do to the extreme slow internet connection it actually happens I have to do the ns-look-up twice as the query times out and returns SERVFAIL, then I hit it a second time and things is looking right.
Oct 31 11:55:19 E530c unbound[930]: [930:0] info: Verified that unsigned response is INSECURE

Oct 31 11:58:20 E530c unbound[930]: [930:2] info: <IP_ADDRESS> dcp.dc1.philips.com. A IN
Oct 31 11:58:20 E530c unbound[930]: [930:2] info: resolving dcp.dc1.philips.com. A IN
Oct 31 11:58:20 E530c unbound[930]: [930:2] info: resolving com. DNSKEY IN
Oct 31 11:58:20 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:20 E530c unbound[930]: [930:2] info: reply from <com.> 2001:503:eea3::30#53
Oct 31 11:58:20 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <philips.com.> 2a01:ce9d:1:0:57:73:36:68#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <philips.com.> 2a01:ce9d:1:0:57:73:36:68#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was CNAME
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving dcp.dc1.philips.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving com. DNSKEY IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <com.> 2001:500:856e::30#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <amazonaws.com.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <amazonaws.com.> 2001:502:f3ff::10#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving ns-341.awsdns-42.com. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving ns-739.awsdns-28.net. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving ns-739.awsdns-28.net. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving ns-2023.awsdns-60.co.uk. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving nsc.nic.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving nsb.nic.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving nsd.nic.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving ns-2023.awsdns-60.co.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: resolving ns-341.awsdns-42.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <uk.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for nsc.nic.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <nic.uk.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for nsd.nic.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <nic.uk.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-341.awsdns-42.com. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <com.> 2001:503:eea3::30#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-341.awsdns-42.com. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <com.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-739.awsdns-28.net. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <net.> 2001:500:856e::30#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for nsb.nic.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <nic.uk.> 2401:fd80:404::1#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. A IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <uk.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <uk.> 2a01:618:400::1#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: response for ns-341.awsdns-42.com. AAAA IN
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: reply from <awsdns-42.com.> <IP_ADDRESS>#53
Oct 31 11:58:21 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for nsd.nic.uk. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <nic.uk.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-341.awsdns-42.com. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-42.com.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: resolving ns-1053.awsdns-03.org. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: resolving ns-1053.awsdns-03.org. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for nsc.nic.uk. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <nic.uk.> 2401:fd80:404::1#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-739.awsdns-28.net. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-28.net.> 2600:9000:5301:dd00::1#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-60.co.uk.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-341.awsdns-42.com. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-42.com.> 2600:9000:5304:aa00::1#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-739.awsdns-28.net. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-28.net.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for nsb.nic.uk. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <nic.uk.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was nodata ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for dcp.dc1.philips.com. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <eu-west-1.elb.amazonaws.com.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: NSEC3s for the referral proved no DS.
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: Verified that unsigned response is INSECURE
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: NSEC3s for the referral proved no DS.
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: Verified that unsigned response is INSECURE
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <uk.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-1053.awsdns-03.org. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <org.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-1053.awsdns-03.org. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <org.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-739.awsdns-28.net. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <net.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was REFERRAL
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-1053.awsdns-03.org. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-03.org.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-60.co.uk.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-1053.awsdns-03.org. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-03.org.> 2600:9000:5304:600::1#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-739.awsdns-28.net. A IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-28.net.> <IP_ADDRESS>#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-1053.awsdns-03.org. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-03.org.> 2600:9000:5306:4300::1#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: response for ns-2023.awsdns-60.co.uk. AAAA IN
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: reply from <awsdns-60.co.uk.> 2600:9000:5301:7c00::1#53
Oct 31 11:58:22 E530c unbound[930]: [930:2] info: query response was ANSWER
^C

I see that what is happening with unbound is that it seems it has difficulty contacting authoritative sources (all the REC_LAME messages you are getting). This causes unbound to try all possible ways in order to find an authoritative answer, causing more time to resolve.
Can you try adding the following in the main unbound conf after the include directive?
forward-zone:
    name: "."
    forward-addr: <IP_ADDRESS>

This will tell unbound to forward all DNS traffic to another resolver.
Can you attach the same log as before after you have tested with this configuration?

Can you try adding the following in the main unbound conf after the include directive?
forward-zone:
name: "."
forward-addr: <IP_ADDRESS>

should this go in /etc/unbound/unbound.comf or into the pihole.conf inside the unbound.conf.d directory

I would prefer in the /etc/unbound/unbound.conf under the current include: directive.

I would prefer in the /etc/unbound/unbound.conf under the current include: directive.

OK, i will add it in and let unbout run for a while in line with pi-hole.
just to claify, /etc/unbound/unbound.conf will look as:
# Unbound configuration file for Debian.
#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
include: "/etc/unbound/unbound.conf.d/*.conf"
forward-zone:
    name: "."
    forward-addr: <IP_ADDRESS>

I ask mainly to ensure my formatting and spacing is correct

This should be fine.

This is run on my ISP provided home network. Im in the UK and Sky provide my boroadband

So ive let it run for a while with google set as the forwarding address.
Attached is the complete unbound log. Im grabbing it via VPN.
Verbosity of log is set at 2
unbound.log

Urgh, ok thanks for the help.
I can only assume that my ISP has changed something recently as unbound was working in recursive mode.
Is there any way to determine what my ISP is doing or means to prevent? Other than switching ISP?

I've been reading somewhere (don't recall where) that Sky DO hijack port 53... not port 853 :skull_and_crossbones:  setup DNSsec on port 853 that should fix it

I've been reading somewhere (don't recall where) that Sky DO hijack port 53... not port 853  setup DNSsec on port 853 that should fix it

How would one do that? Just set unbound to run on port 853?
Currently set at port 5353

https://nlnetlabs.nl/documentation/unbound/howto-anchor/
Internally you will still listen to :5353
Then you'll asking the root servers over DNSsec on port :853 :smiling_imp:  alternatively you can setup forwarders using DNSsec Port :853
Example to use mine DNS privacy enhanced server
forward-zone:
       name: "."
       forward-addr<EMAIL_ADDRESS>       forward-addr<EMAIL_ADDRESS>       forward-addr<EMAIL_ADDRESS>       forward-addr<EMAIL_ADDRESS>       forward-ssl-upstream: yes

As @spirillen already suggested you can use forward-zone: as above with the forward-ssl-upstream: yes option.
For a list of well know DNS over TLS (DoT) resolvers you can look here.
I would suggest to use most of them so that you distribute your outgoing queries.
For more information on privacy you can read around the aforementioned website or ask specific questions to the mailing list.

Thanks @spirillen and @gthess
Ive tried the above config, but i cannot resolve any queries with forward-ssl-upstream: yes

You would need at least unbound 1.8.1 for proper DNS over TLS.
For further help with configuration or compiling please refer to the mailing list.

You would need at least unbound 1.8.1 for proper DNS over TLS.
For further help with configuration or compiling please refer to the mailing list.

OK, thanks
setting forward-addr: <IP_ADDRESS>@853 allows me to resolve.
My pi is still running Raspiab Stretch, so when i updgrade to Buster, i think itll bump the unbound version.
Thanks for you help.

Hi
folks im facing the same issue and have no idea how to fix it.
My setup ubuntu focal + pihole + unbound + openhabian + nginx.

Hi
folks im facing the same issue and have no idea how to fix it.
My setup ubuntu focal + pihole + unbound + openhabian + nginx.

Hi,
As this issue was not ultimately related with unbound, I am hesitant to reopen it.
However, there are a bunch of steps that we went through in this issue. Each step tries to find more information on what could be wrong. You can try following the steps and the discussion above to figure out what is wrong with your setup.
Please post again if you think something else is going on in your case.

Hi,
As this issue was not ultimately related with unbound, I am hesitant to reopen it.
However, there are a bunch of steps that we went through in this issue. Each step tries to find more information on what could be wrong. You can try following the steps and the discussion above to figure out what is wrong with your setup.
Please post again if you think something else is going on in your case.

Hi I finally managed to get it to work.
My guess its related an update to /etc/systemd/resolved.conf

Hi I finally managed to get it to work.
My guess its related an update to /etc/systemd/resolved.conf

Just a comment on this on as I had the exact same problem on one of my two hi-hole servers. Now writing august 2021.
Two days ago it was running fine, and suddenly I get the same problem as described here. After rebooting and going through basically all the same things I was almost on the edge on reinstalling a fresh pi-hole.
But then I noticed in the query log that the port was changed to 5335. I had been running 5353 all the time until now and I havn't touched the config.  In Upstream DNS server (custom 1) is was still set to <IP_ADDRESS>#5353.. so totally black.. Then I tried changing the Upstream DNS server (custom 1) to <IP_ADDRESS>#5335, saving, then back to <IP_ADDRESS>#5353 and save again.  So there seams there is some cosmetic pi-hole bug. Perhaps it got triggered after an update. That seams plausible as I was updating the Web Interface version to v5.5.1 around two-three days ago.
Just thought I wanted to share the info.
Cheers,
Frank

Hi @franksemi, that looks like useful information for the pi-hole team.
The change from 5353 to 5335 as you describe it, may suggest a typo.


The sc_atac_seq_sci datatype is derived from sciATACseq and not 'prim…

…ary'
assay_types.yaml controls the definitions of assay types and datasets derived from assays.  The entry for sc_atac_seq_sci was incorrectly marked as primary.

Travis problem fixed.

@mccalluc changing sc_atac_seq_sci away from 'primary' should cause it to not be displayed on the 'Data Submission' page as an option.  If you look there now you will see both sciATAC-seq and sciATAC-seq [SnapATAC]; the latter is a manifestation of the incorrect reporting of sc_atac_seq_sci as primary.  That's the only visible impact of this change I'm aware of.


Cannot check dynamic array sizes with type assertion/switch

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3
Does this issue reproduce with the latest release?
Unknown, but likely
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
What did you do?
https://play.golang.org/p/DFS7XKRN-Di
Check an interface to be an array of size x where x is a variable
Can't be done in type switch or type assertion
What did you expect to see?
Valid type check for the size of the array, Or some way to check if it is an array (without reflection)
to then test the size. Furthermore in my personal case I want to know it's a [x]float32 array. The user
should have the option to pass an array and have me verify it's the correct size for the data it should
represent
What did you see instead?
prog.go:9:18: non-constant array bound sizeToCheck
I'd argue this is a valuable feature to have, as in my application I'd like the user to be able to pass an
array of fixed size, however that fix size is dependent upon an external variable. In my case a shader parameter is being read from the compiled shader program. That parameter can be an array with ArraySize. So if the user is trying to set a vec2, they should pass an array of [ArraySize * 2]float32. Now it's perfectly valid the user will know the contents of the shader and want to hard code an array for quick debugging and use internally. However my end of the program won't know this ahead of time until it's checked the shader at runtime. Therefore i've ommited array support for my value setting function, but it would be a performant solution for hardcoded default matrices

That is how the language works today.  I gather that you want to change the language; in that case, I recommend that you develop a proposal for how it should change; see https://golang.org/s/proposal.
People who wrote code that works with arrays of different lengths normally use slices.  It's easy to convert from an array to a slice.  Can you explain why that doesn't work for you?  In what kind of code would you expect to work with arrays of varying sizes?
Also, as you note, you can use the reflect package.  Why is that insufficient?

I'm not looking to use Arrays of variable sizes, my problem involves checking the size of a non variable array that a user may provide, however I need to verify it's size based on a runtime variable.
 This shader has a vec2 array of size 3. This user knows he wrote this file, so rightfully makes a [6]float32 for this variable. This is a valid case for using a constant sized array no? Where he uses his knowledge of the size to make an array whose size won't change. Now it's my turn. My program loads up the shader program, from the shader program it gets the type "vec2" and the ArraySize = 3. When the user now calls my program to SetShaderUniform(data) I would like to ensure the data he's passing me is either:

Array of size 3 * 2
A slice with len 3 * 2
a pointer to the start of a block of memory containing 3 * 2 floats

In regards to the reflect package, I'm concerned about performance since my library is at a low level.

What if you simply require your user to slice the array by writing a[:] when calling your function?

Tangentially related: #395

@gjh33 Right now array types are simple: the length must be known at compile time.  You are suggesting that we make them more complicated: at least in some cases, the length may be known only at run time.  Making the language more complicated is a cost: there are more rules that people need to remember.  Any cost needs a corresponding benefit.  I was asking questions to try to better understand the benefit.  At this point, the benefit seems small.  It's not obvious to me that it is worth the cost.

Maybe that's the case, I just felt that the optimizations and benefits of arrays' size being known at compile time is something I'd want users of my library to have the option to. And I really like the idea of the compile time optimizations that can be made around arrays, but for now their use seems extremely limited to me if I can't check the size. That being said I'm willing to admit there could be costs larger than all the potential use cases that are opened up, which is why I opened this bug report (which is really a feature request) was to get the opinion of someone such as yourself. I think at this point I've stated my case for it and if you feel there are costs that outweigh the potential increased use cases for compile time optimized arrays, then I yield and this thread can be closed.


Add context to getAvailableReleases

See https://github.com/AdoptOpenJDK/openjdk-jenkins-helper/pull/36

Issue: #1873
Signed-off-by: Morgan Davies<EMAIL_ADDRESS>

Draft until tomorrow

LGTM but need to land jenkins helper PR first

Landed


how support LLFF  Mip-NeRF 360 dataset?

thank your mvsplat , i like it very much !
how support LLFF  Mip-NeRF 360 dataset?

Hi @goometasoft, thanks for your interest in our work.
To support other datasets, one key thing is the camera parameter. MVSplat uses OpenCV-style camera-to-world matrices and normalised camera intrinsics. By organising the datasets in such formats, it should be able to use our pre-trained weights.
Another thing is about view selection. Since MVSplat leverages the cost volume to fuse multi-view information, we assume that the input context views should have enough overlap, e.g., at least 40% to 60%.
We have written data pre-processing scripts and data loaders for DTU and Mip-NeRF 360 in our experiments, data from both datasets works well with our RE10K pretrained weights. But we have not well-cleaned those parts of the codes, and we will release them once we finish organising them in the future. Besides, pixelSplat, which is the code base of MVSplat, has also shared some scripts on how to use data in COLMAP format at https://github.com/dcharatan/pixelsplat/issues/17, you might want to look that up for some more reference.


Please indicate copyright holder

The file https://github.com/celestial-winter/vics/blob/master/LICENSE refers to:
The above copyright notice
but I do not see a copyright notice in this file. Please clarify the copyright holder on this code, to assist further development.
Thanks for the release!

Thanks Daniel, the first line is missing. I'll push an update.


Add a prerequisites section for building docs

This puts all the install commands that need to be run in one section instead of being spread over many paragraphs
cc @rxin

Thanks - merging.


Implement caret browsing mode (bug 807730)

The users will be able to navigate within the pdf in using the arrows and they'll be able to select some text, for example in order to highlight it.

Sorry, but I'd really like to see a solution to issue #17561 before we add even more functionality on top of this; please see the example added in #17561 (comment).

As said in the mentioned bug, I've a solution for it, but this feature has a higher priority.

Did you, successfully, test this in RTL mode?

Yep I ran with locale=he and a pdf in hebrew and I think everything is working correctly (my skills in hebrew are close to null it's why "I think...").

/botio test

/botio-windows integrationtest

/botio integrationtest

The test failure on the windows bot was due to the EOL (\r\n instead of \n), it's fixed now.


feat: show read notifications

closes https://github.com/gitify-app/gitify/issues/708
Add read / unread toggle in sidebar.  Read notifications have a higher opacity and hide the mark as read button on hover-over.

Some GitHub API Limitations I've found:

No endpoint to mark a read notification as unread
No attribute in the /notifications response to indicate if a notification is done or not done (ie: in the inbox)

These have been documented in https://github.com/gitify-app/gitify/issues/890

With the improved Settings layout, I've kept this consistent and made this a new Notifications setting

If you're happy and you know it, merge conflict

Moving back to DRAFT as there is some more changes required to ensure that when showReadNotifications is enabled that the notification row doesn't disappear, etc

Reopening a new PR as I've reworked this


update for Blue switches?

I'm using these nodes for my Red switches, but I just bought a bunch of Blue switches that I'm using via zigbee2mqtt.  Any chance you could add nodes to support these switches, too?  Thanks!

I’ll try to get a version out tomorrow with support for the Blue switches! I don’t have any personally so it might be a bit of trial and error to have users like yourself test out the nodes and make sure all the buttons are mapped properly, but rest assured I’ll make myself available to get it working as expected!

I will be more than happy to help test...just let me know when and how I can help!

I've started a pretty hefty refactor to include ZHA and Zigbee2MQTT: https://github.com/ryanjohnsontv/node-red-contrib-ha-inovelli-manager/pull/52
It's taking a bit of time to fine tune everything, but I've got the scene management done. Next up I'm going to try and get it figured out for the notification manager and release then. I wanted to see if there was an existing blueprint or script you've been using in the meantime that I could reference to know how the commands are sent? I've tried looking at public blueprints but they all seem to differ so I'm not certain which is the most accurate way.

By chance, any updates on this?  Would be fantastic to have for the blue series!!


JAMES-4028 MailImpl: More compact version of Mail.getName

On a production system we encountered a JMAP query for which the clause count of OpenSearch (- 1024) was exceeded. This commit makes sure that it is not linked to the overall right filtering strategy pushing the mailboxes to search in onto the search query.

I'm sorry I'm not sure to understand the relation of this code change with your description. Can you try to explain a bit more?

Explanation are on the JIRA ticket: https://issues.apache.org/jira/browse/JAMES-4028


Allow lucene query language to create watcher searches.

System Details
Versions

Type
Version

Kibana
6.4.2

Elasticsearc
6.4.2

Server OS
Docker

Browser
-

Original Install Method

Other:  Docker

Bug Details
Bug Description
Allow lucene query language to create watcher searches.
I'd hope that I could use a Kibana / Lucene search like: "program:sshd authresult:failure" to populate the watcher data.
Instead I have to triverse the Elasticsearch documentation, smash my head against a brick wall of trial and error for something that should be trivial.
Steps to Reproduce

Think of easy Kibana search like "program:sshd authresult:failure"
Try to implement trivial alert like "if greater than 3 per minute > email"
Make head explode trying to work out the Elasticsearch DSL

Expected Behavior
Easy alert syntax.
Head to not explode.
Sample of data you have in Elasticsearch
{
  "_index": "logstash-2018-11-15",
  "_type": "doc",
  "_id": "dKIAFWcBOO_aW3gBcUcU",
  "_version": 1,
  "_score": null,
  "_source": {
    "ssh_protocol": "ssh2",
    "host": "server-bst1",
    "ssh_authmethod": "password",
    "program": "sshd",
    "pid": "10072",
    "message": "Failed password for invalid user user from <IP_ADDRESS> port 42932 ssh2",
    "@timestamp": "2018-11-15T01:33:22.748Z",
    "user": "user",
    "logsource": "server-bst1",
    "type": "auth",
    "source": "/var/log/secure",
    "prospector": {},
    "src_ip": "<IP_ADDRESS>",
    "src_port": 42932,
    "sourcetype": "linux_secure",
    "authresult": "failure",
    "geoip": {
      "country_name": "China",
      "ip": "<IP_ADDRESS>",
      "location": {
        "lon": 116.3883,
        "lat": 39.9289
      },
      "country_code3": "CN",
      "longitude": 116.3883,
      "latitude": 39.9289,
      "region_code": "11",
      "timezone": "Asia/Shanghai",
      "country_code2": "CN",
      "region_name": "Beijing",
      "continent_code": "AS",
      "city_name": "Beijing"
    },
    "beat": {},
    "ssh_failreason": "unknown_user",
    "tags": [
      "rhel7",
      "authentication"
    ]
  },

Thanks

Nice feature request. I've added it to the queue.


No one code works with build on release

I have some examples for cortex-m-rtic but no one works if I build its with --release flag. Simply reproduce code: https://github.com/no111u3/f401nucleo_robo_rust/blob/master/examples/rtic_blinky.rs (Its fully analog of one example in RTIC book on Timer Queue page).

Ah yes, all examples are falling into the LLVM loop {} optimization bug.
I'll make a fix for it.
Thanks for reporting!

Ah yes, all examples are falling into the LLVM loop {} optimization bug.
I'll make a fix for it.
Thanks for reporting!

Thanks for fix, I applied it to my code and it works correctly.


Small bug in projector.py causes --w_plus option to be ignored

I just noticed that in the current version of projector.py the --w_plus option that would allow to use the [18,512] latent vectors instead of the [1,512] gets ignored.
The current code is:
if args.w_plus:
    latent_in.unsqueeze(1).repeat(1, g_ema.n_latent, 1)

But it should probably be:
if args.w_plus:
    latent_in = latent_in.unsqueeze(1).repeat(1, g_ema.n_latent, 1)

Thank you! I don't know why I made this mistake. Fixed at 9dc5f24a01d19a8f4387695947770f1ca0ffd9a0.


Embed FCL in source code

Following the discussion here we are going to embed a copy of FCL-0.6.1 into the source code of rmf_traffic. The build script for rmf_traffic will first check if an FCL version 0.6 or greater is available on the target system. If it is not, then rmf_traffic will build fcl-0.6.1 from the embedded source.
So far this has worked fine when testing on my local machine, but there are a few open questions that should probably need to be addressed:

[x] Should we build, install, and link against an .so for fcl-0.6.1, or should we skip building the .so and instead only build a static library for fcl-0.6.1 to link rmf_traffic against?
[x] Should the package.xml of rmf_traffic include <depends>fcl</depends>? That line is needed if a developer is building their own version of FCL in their colcon workspace and wants to link rmf_traffic against their own version, but I wonder if there are any harmful side effects for the build farm or for rosdep?

* [ ]  Should we build, install, and link against an `.so` for fcl-0.6.1, or should we skip building the `.so` and instead only build a static library for fcl-0.6.1 to link `rmf_traffic` against?

I would say building the .so is wrong because, as a consequence, when installing the rmf_traffic package some extra library (fcl) would be installed in a hidden way without the user knowing about it. This probably goes against debian policies and can cause conflicts with system packages or other installations. I am in favor of the static library option.

* [ ]  Should the `package.xml` of `rmf_traffic` include `<depends>fcl</depends>`? That line is needed if a developer is building their own version of FCL in their colcon workspace and wants to link `rmf_traffic` against their own version, but I wonder if there are any harmful side effects for the build farm or for rosdep?

This still will create problems when building the package in the buildfarm as that package.xml dependency gets converted to a non existent system dependency and the package build fails. This could be solved by removing the dependency with a patch at the release repo level, but those patches are a burden to maintain and a potential source for future errors so I would like to try to avoid them as much as possible. Could we keep it commented (I believe that's how it is now) and leave it up to the developer to make the changes in case he/she wants to build his/her own version of FCL? or is there any other way we can support developers own builds of FCL?

I've hacked up the fcl build scripts to remove the shared library and avoid installing anything (be it shared object files, headers, or config files). I think there shouldn't be any more risk of conflicts with installations of other versions of fcl.


Whitespace fixes

@avh4, this stuff might be interesting for you. I think it'll be a bit faster this way at the very least.

Ah, good!  It looks simpler.


Flow doesn't think axios has a patch method

Not sure how or where to deal with that. But it's mildly annoying.

Is Flow aware of the other HTTP methods (axios.get, axios.put, etc)?

@mzabriskie Sorry I should have updated this issue.
My project is using the https://github.com/davezuko/react-redux-starter-kit, which included TechnologyAdvice/flow-interfaces automatically. Which is where flow was getting the information. Once I realized that, I submitted a PR to flow-interfaces, and that should work after their next publish.


Access RealmObject property name and mapToName, for use in Realm .query

Description
We build Realm .query's dynamically, for example when allowing users within the Flutter UI to filter/sort/search a Realm model/collection via .query - allowing the user to filter by XYZ params, etc by clicking on checkboxes, etc. Currently the 'keys' in the .query have to be hard coded using the @MapTo key from the RealmObject property, which is not ideal from a maintenance perspective. I.e. final hobbits = fellowshipOfTheRing.members.query('first_name == "Hobbit"');
To get over this 'hard coding', it would be great if we could access the RealmObject property (as a string) and related @MapTo property (as a string) as follows:

p.firstName.name // outputs string firstName
p.firstName.mapToName // outputs string first_name (@MapTo property for p.firstName)
p.firstName.mapToNameOrName // outputs no 2 above, falls back to option 1 if no 2 @MapTo does not exist

Or it may be better to p.firstName.reamlName (or similar) which outputs whatever the property is in the Realm local DB...i.e. as .query essentially needs this whether its no 1 or 2 above.
This allows us to take advantage of darts strict typing when building Realm .query's, which would be amazing;
// i.e. p.firstName.name would output firstName as a string
Option 1: final hobbits = fellowshipOfTheRing.members.query('${p.firstName.name} == "Hobbit"');
or
// i.e. p.firstName.mapToName would output first_name as a string (i.e. the p.firstName @MapTo)
Option 2: final hobbits = fellowshipOfTheRing.members.query('${p.firstName.mapToName} == "Hobbit"');
Either route would work very well. There are also lots of other use cases for this...such as dynamically building CSVs from RealmResults, please see https://github.com/realm/realm-dart/issues/1076
To add to this re .query params in embedded objects/lists
It would also be good if we could access embedded arrays/lists via dot notation (or by some other way to give the same effect as the above two options). So for example (we have not tested .query with params within embedded lists/objects yet so we are 'assuming' this is possible) if we could:
// i.e. p.friends.friends.name would output friends.firstName as a string
Option 1: final hobbits = fellowshipOfTheRing.members.query('${p.friends.firstName.name} == "Hobbit"');
or
// i.e. p.friends.firstName.mapToName would output friends.first_name as a string (i.e. the p.firstName @MapTo)
Option 2: final hobbits = fellowshipOfTheRing.members.query('${p.friends.firstName.mapToName} == "Hobbit"');
How important is this improvement for you?
Would be a major improvement

We do have plans to support LINQ (as known from .NET). Would allow you to queries like:
realm.all<Fellows>().where((f) => f.race == 'Hobbit');

or something similar expressive. Tracked here #781. But I must warn that it is not right around the corner.

ooo that sounds amazing @nielsenko - ok will keep an eye on this and thanks for the heads up. This LINQ does not help the use case in this issue https://github.com/realm/realm-dart/issues/1077 as the user dynamically builds the query based on filters selected, so for #1077 it would have to be a query string?

The realmObject.property.name syntax is not easily achieved, since the realmObject.property is itself a getter for the value of said property. Maybe something like realmObject.propertyProperty.name as an alternative?
I'm speaking on my own accord here. Wiser people may have objections to this.

BTW, what about realmObject.properties['property'].name? Wouldn't that work better for your filter use-case?

We could also generate a type specific schema class. Then something like Fellow.schema.firstName.name would be possible.

I put up https://github.com/realm/realm-dart/pull/1078 - it doesn't cover all the requirements of this issue, but it makes it possible to use the model name rather than the mapTo-name when creating queries (i.e. fellowshipOfTheRing.members.query('firstName == "Hobbit"') rather than .query(first_name == ...)

I put up https://github.com/realm/realm-dart/pull/1078 - it doesn't cover all the requirements of this issue, but it makes it possible to use the model name rather than the mapTo-name when creating queries (i.e. fellowshipOfTheRing.members.query('firstName == "Hobbit"') rather than .query(first_name == ...)

Brilliant @nirinchev , this makes a ton of sense and will be very helpful. We did think it was odd to use the @MapTo properties in Realm .query's. Thank you so much for raising this.

We could also generate a type specific schema class. Then something like Fellow.schema.firstName.name would be possible. Could still allow Fellow.schema.properties['firstName'].name as well

@nielsenko this would be perfect ;-) (both Fellow.schema.firstName.name and Fellow.schema.properties['firstName'].name) as we can then build a ListView in Flutter dynamically, as each Column (in the ListView) and its (the Columns) filters can then be dynamically built:

Get the value (Fellow.schema.firstName.value)
Get the type  (Fellow.schema.firstName.type) so we can then build a range of filters the user (in the Flutter UI) can use (does not contain, contains, etc) - we can use these to dynamically populate the Realm .query for the opted for filters.
Get the name (Fellow.schema.firstName.name) to use in the Realm .query in point 2 above via #1078

This would open up lots of other use cases around dynamically building widgets based on the type of the RealmObject property... i.e. TextFormField could automatically generated in different ways if it is a String, int, etc... Also will be very helpful when streaming RealmResults from a Realm .query, etc...
The above and #1078 certainly removes lots of pain initially and ongoing, so would be amazing to have in place.


Opt-out from environment variable -> property inheritance

The fact that every environment variable becomes an msbuild property can seem convenient, but has proven to be a source of bugs that are extremely hard to track down and fix. There should be a way to opt out a project or msbuild.exe invocation.
Perhaps a command-line switch to msbuild.exe would be simplest, and dotnet CLI could always pass it, to push new uses towards the safer default.
@rainersigwald @eerhardt @livarcocc

Duplicate of #2713. This came first, but that has more traction.


Update rack-protection from 1.5.3 to 1.5.5.

https://nvd.nist.gov/vuln/detail/CVE-2018-1000119

This was taken care of as side effect of: https://github.com/thoughtbot/baccano/commit/f538335b4f5aa8ffc76d46a7598a6930706f1d76


Add basic telemetry

We can start simple. We can measure what are the most used components

Could borrow some https://github.com/MozVR/mozvr-site/blob/master/assets/js/ga.js#L172

Traditional analytics will be tricky since the Editor will be running on all sorts of domains, often localhost.

Might work...

Automatic cookie domain configuration sets the _ga cookie on the highest level domain it can. For example, if your website address is blog.example.co.uk, analytics.js will set the cookie domain to .example.co.uk. In addition, if analytics.js detects that you're running a server locally (e.g. localhost) it automatically sets the cookieDomain to 'none'.

OK, I think it's working fine.
I'm going to keep a running list of events and metrics to track. Feel free to add more:

[ ] attributes.componentAdd -
[ ] attributes.componentChange -
[ ] attributes.componentRemove -
[ ] attributes.componentCopy -
[ ] attributes.componentReset -
[ ] attributes.componentCollapse -
[ ] attributes.mixinAdd -
[ ] attributes.mixinRemove -
[ ] gizmos.helperChange -
[ ] gizmos.localChange -
[ ] scenegraph.entitySelect
[ ] scenegraph.entitySearch
[ ] menu.export.html
[ ] menu.export.copy
[ ] menu.create -


Yuantiku v8.0.1 FC

What happened:
X-APM causes yuantiku app FC.
And yuantiku runs after I turned X-APM off in xposed installer.
I have also tried anything I could for a student who doesn't know much about android programming.
Logs:
The following pictures are app crash record, android logcat and X-APM debugging mode logs.

Device info:
Oneplus One LOS 14.1
Frequency:
Always
App version:
4.6.8-FINAL
//I found that this project  is desperated,but I hope @Tornaco can teach me how to do.
//Thanks for forgiving my poor English!

Hey I think I could help if you can provide me the X-APM configs. You can share by the "backup" feature in "通用设置---数据备份"。
Also you can try to fix this issue by:

Do not restrict any app permission for yuantiku (Check 权限控制)。
Do not add to "乖巧模式" list。
If this not work, please just send me your configs.

BTW，I‘ve tested this app on my ZUK Z1/LOS14.1, It is OK at first launch. but when I disable all it's permission by "权限控制", I found it crash too, and got same log when your's. this means it need some permissions you did not given.
Good luck.

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D

Thanks for you reply!
It really works when I granted all permissions manually.
One more thing, happy spring festival! :D


In ols demo app, route tab, use green and red placemarks for start and end points

The current start and end points are blue as is the address placemark which makes it impossible to tell them all apart.

Verified in fork

Verified


[question] how can I force an item to expand?

Description
I see the library currently provides a collapse public method. is there anything like it to expand a group?

hi, you can pass a list of ids for this public method.
items with those ids will become/stay open while others get/stay closed.


Correctly mapping complex shortcuts

Currently, shortcuts only work when the alternative syntax holds a string value, for example TermQuery.
We found out that there are some requests with more complex shortcuts that allow to "skip" a level of the structure, for example:

RankEvalQuery: supports both this extended form:
{
  "metric": {...},
  "requests": [
    {
      "id": "id",
      "request": {
        "query": {
          "match": {...}
       }
      },
      "ratings": [...]
    }
  ]
}

and the shortcut version, where query is skipped
{
  "metric": {...},
  "requests": [
    {
      "id": "id",
      "request": {
          "match": {...}
      },
      "ratings": [...]
    }
  ]
}

FunctionScoreQuery, where, similarly, functions can be skipped:
{
  "query": {
    "function_score": {
      "functions": [
  	  {
  	    "gauss": {...}
  	  }
      ]
    }
  }
}

{
  "query": {
    "function_score": {
      "gauss": {...}
    }
  }
}

Currently the java generator has no way of supporting the deserialization of these complex shortcut, not sure about the other clients.
We can start by adding the correct shortcut annotation to these classes, but we should also make sure that we actually support it.

Settings @shortcut_propery works for me on RankEvalQuery as a shortcut to Query.
@flobernd, @JoshMock does adding this works for you ?

The .NET generator currently ignores shortcut properties completely. Feel free to add it here 🙂 I have to come up with a strategy to detect these cases when I work on supporting the shortcuts.

@Anaethelion I believe this should work for JS as well. :+1:


Python properties only show the docstring from the GETTER - if there is a setter you don't see it

This is bad for setters with complicated requirements for passing things - should be corrected

This is the same as issue #151 - closing this one and keeping the older one open


fix JS multiline comment parsing error

'multiend' for JS is an invalid regex
re.sub('*/', '', '*/') results in sre_constants.error: nothing to repeat
None of the multistart/multiend's look like regexs anyway, so just use string.replace.

Merged.  Thanks for the fix.


Incorrect number of properties

Sentence says two properties but there are three.

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

ID: 5859b652-cae6-50a5-8150-8b253ccac1e1
Version Independent ID: 9e7d4805-ead6-65d1-17f7-baf545dd68eb
Content: Xamarin.Forms Switch - Xamarin
Content Source: docs/xamarin-forms/user-interface/switch.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @profexorgeek
Microsoft Alias: jusjohns

A fix has been pushed. The page will be updated shortly.


fix [npmversion] tagged service test

Fixes #7268

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

  Generated by :no_entry_sign: dangerJS against 85f73c4ce7e8ea1a6ce28bf7e85187889db22b6e


Qingwei/forget failed subscription

Coverage increased (+0.3%) to 89.87% when pulling 3115ce23b5bf9b9a5989703362e8df5138e43ae3 on qingweibinary:qingwei/forget_failed_subscription into 297e2951e6ed7cb13eab29331b392879ec3ece8c on binary-com:master.


Add a rake 'default' task

So users can type bundle exec rake and just have it work.
Also update README instructions.

:+1: I ran into this a couple of times.


No java installations was detected error

Steps to reproduce: Install spark-notebook using DCOS (mesosphere) but the app deployment failed on slave sandbox due to No java installations was detected. This is likely due to the $JAVA_HOME variable not being set properly.

The fix is to update the marathon.json [https://github.com/mesosphere/multiverse/blob/5ffa5189bc2daf9abd63e0874d9aed5794c4f407/repo/packages/S/spark-notebook/0/marathon.json#L6] file for spark-notebook in Multiverse by adding and prefixing export as below:
"cmd": "export JAVA_HOME=$(pwd)/jre1.7.0_76 && cd spark-notebook-0.6.0-scala-2.10.4-spark-1.4.0-hadoop-2.4.0 && ./bin/spark-notebook -v -Dmanager.tachyon.enabled=false -Dhttp.port=8899 -J-Xms4000m -J-Xmx4000m -Dmanager.notebooks.custom.sparkConf.spark.mesos.executor.docker.image=\"mesosphere/spark:1.4.0-rc4-hdfs\" -Dmanager.notebooks.custom.sparkConf.spark.master=\"mesos://zk://master.mesos:2181\" -Dmanager.notebooks.custom.sparkConf.spark.mesos.executor.home=\"/opt/spark/dist\"",

yes thanks!
We also XP some problems when accessing it using the DCOS dns, we only were able to access the spark notebook using the ec2 dns is that still the case?


Reminders don't fully delete

Huawei, Android 8.0
Steps to reproduce:
Create reminder then swipe to delete.
Restart phone and I get notifications for reminders which were deleted.
The reminders screen shows blank since they were swiped away.

Hi Esmoak!
This has been a known issue for a while and I'm sorry you've encountered it so soon. Notification scheduling is mostly handled by a third party plugin (since Flutter lacks cross platform notification support natively) which has strange behavior upon restarts and OS updates. I'm not sure how exactly to approach this issue since I don't know where exactly the plugin is scheduling notifications to cause such behavior.
I'm also very busy with classes right now so I'm pretty short on time, but if you or anyone you know would like to contribute I'm more than happy to merge any PRs that have bug fixes or new features!
Again I'm really sorry you had to deal with this, but thank you for using the app!

Thanks for the quick response.
I wish I could, but I'm unable to contribute.
Thank you.

Good news!
I did a bit more research and it looks like the notification plugin had pushed out an update a little while ago addressing this exact issue. Unfortunately in the time between now and this app's most recent update another plugin I had been using was taken down. This will increase the time it takes to push out a fix as I now need to find a suitable replacement for it and integrate it into the app.
(Hopefully) I can roll out a fix within a couple of days.

That's awesome! And best wishes on your studies.
Thanks again.

Just pushed out an update to fix this!
Unfortunately, notifications created before this update are still susceptible to the bug you encountered so the only way to get rid of those annoying notifications is a clean reinstall. Sadly this is still out of my control so I can't migrate old notifications to be displayed in the same way as the new ones.
https://github.com/SamarthDesai01/RepeatMe/releases/tag/v1.2.5

Thank you. I will check this out soon.

Let me know if you continue to encounter the issue.

Thanks again. Going to close this because it appears fixed.
Also, F-Droid put out the newest version on 2/18. Tested and it's working great.


Force fixed step width

Hi,
is there any way to force that steps are rendered with a fixed width ?

Thank you
T.

Hello @tskomudek!
Check this article (the Customization fragment), you can override the minTextWidth property.

Hi Bart,
works like a charm, thank you.
T.


hls play inline is not work in Android

hls play inline is not work in Android，the spinner is rotate all the time

After I delete the attribute 'x5-video-player-type', 'h5',the video can play inline，but the video is above the layer, It's cover the layer.

一样的


is forbidden: cannot set blockOwnerDeletion in this case because cannot find RESTMapping for APIVersion cert-manager.io/v1alpha2 Kind Challenge: no matches for kind "Challenge\

When I try to create a certificate the following error appears
why?
cert-manager/controller/challenges "msg"="re-queuing item  due to error processing" "error"="[pods "cm-acme-http-solver-6btk5" is forbidden: cannot set blockOwnerDeletion in this case because cannot find RESTMapping for APIVersion cert-manager.io/v1alpha2 Kind Challenge: no matches for kind "Challenge" in version "cert-manager.io/v1alpha2", services "cm-acme-http-solver-4cdgt" is forbidden: cannot set blockOwnerDeletion in this case because cannot find RESTMapping for APIVersion cert-manager.io/v1alpha2 Kind Challenge: no matches for kind "Challenge" in version "cert-manager.io/v1alpha2"]" "key"="siti/ruby-cert-1824042372-3553828621-3255666763"
Environment details::

Kubernetes version (e.g. v1.11):
cert-manager version (e.g. v0.13.0):
Install method (static manifests):
okd 3.11

Thanks
/kind bug

Please fill out the issue template in its entirety - we cannot begin to help debugging you without environment details.
It seems like you have not properly installed the CRDs into your cluster based on what you have shared.

It seems like this may be a case of the issue solved in #2554 - we'll be releasing v0.13.1 today which contains this patch :)


Update dependencies to latest versions

Hi,
I am using this library. Indirectly via feathers-amqp-events.
It is giving me some npm issues with vulnerabilties.
These can be solved by updating to latest versions of dependencies.
The tests still pass after update.
If you agree, could you consider updating this please?
Suggested new versions for dependencies in package.json:
  "dependencies": {
    "amqplib": "^0.7.1",
    "axios": "^0.21.1",
    "babel-runtime": "6.26.0",
    "bluebird": "^3.7.2",
    "bluebird-retry": "^0.11.0",
    "debug": "^4.3.1",
    "deep-extend": "^0.6.0",
    "install": "^0.13.0",
    "lodash": "^4.17.21",
    "object-recursive-iterator": "^2.1.0",
    "require-dir": "^1.2.0"
  }

Thanks, Roel

Hello, Roel, if you create a PR I can merge and publish these updates.

Thanks! Just created the PR.

Published to<EMAIL_ADDRESS>sorry for the late answer


Add unit tests for big-little-endian signature verification

@jyao1 @richkong88 feel free to merge as you see fit.


fix duplicate child device serial number bug in test

Signed-off-by: Reuben Miller<EMAIL_ADDRESS>Proposed changes

Fix a small issue with a child device serial number used within a the health check integration tests. A fixed child device id was used which resulted in the first run passing, however subsequent runs would fail as the device would already exist (if it was not cleaned up properly).
Solution is just to prefix the child serial number with the parent's id to ensure uniqueness.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Solution is just to prefix the child serial number with the parent's id to ensure uniqueness.

I remember that we discussed the idea to enforce that for all child devices - however I don't remember what was the conclusion :-(


Switch to npm package

It looks like tailwindcss language server is on npm :rocket:
Now we can rely on dependabot to create PR as soon as it detects new versions on npm.

Can also add dependabot configuration.

Will wait with merging until this is tested on windows.
I do not have Windows,
so I would have to setup a WM and install windows on it... (or hope that someone who uses windows now can test this :) )

I have Windows but won't be able to test until Monday at least.

No worry, I already started downloading Windows 11.
I will set it up in the following days.

I am trying to test this on Windows 11. I cloned the repo and fetched the changes of this PR. However, I get this error in the console
reloading python 3.3 plugin LSP-tailwindcss.plugin
Traceback (most recent call last):
  File "C:\Sublime Text\Lib\python33\sublime_plugin.py", line 308, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
ImportError: No module named 'LSP-tailwindcss.plugin'

Tested in a Windows 11 VM, and it works  :)

@Ultra-Instinct-05 I do not know how to reproduce the issue you have experienced :)
I will merge this and create a release.

@predragnikolic After pulling in changes from master, it works as expected. Not sure what the previous issue was but can be ignored now. Thanks !


Fix conflict when both hiredis-rb and redis-client are loaded

Fix: https://github.com/redis-rb/redis-client/issues/16
Using $libs instead of $LDFLAGS wasn't enough, because the symbols were still exported. So I went farther and took inspiration from what grpc does to only export the required symbols: https://github.com/grpc/grpc/blob/1cd6e69347cbf62a012477fe184ee6fa8f25d32c/src/ruby/ext/grpc/extconf.rb#L87-L89
cc @flavorjones

Just writing down what I'm learning from this ... Looking at the symbol table in ./lib/redis_client/hiredis_connection.so, on master:
 128   │<PHONE_NUMBER>006720 T hiredis_connection_free
 129   │<PHONE_NUMBER>007fe0 T hiredis_connection_mark
 130   │<PHONE_NUMBER>007f90 T hiredis_connection_mark_task

on this PR branch:
 129   │<PHONE_NUMBER>003fa0 t hiredis_connection_free
 130   │<PHONE_NUMBER>005860 t hiredis_connection_mark
 131   │<PHONE_NUMBER>005810 t hiredis_connection_mark_task

the lower-case "t" confirms these symbols aren't exported. Thank you for showing me this technique!

Thanks @flavorjones ❤


Exporting a zone file - No resourcegroup?

I'm trying to execute this example...
az network dns zone export -g myresourcegroup -n contoso.com -f contoso.com.txt
...with my own domain (so I can get an export of the dns records), yet there is no "resource group" in my resources list for the tenant in the azure portal. How can I export my zone file?

I should note that this is for a domain within Office365 that is verified within Azure.

@edufolios-matt Can you please provide us with the URL of the Azure Doc you are having issues with? We look forward to your reply.

Sure - specifically Step 2 of this article - https://docs.microsoft.com/en-us/azure/dns/dns-import-export

@edufolios-matt , The command az network dns zone export typically exports a DNS zone file from Azure DNS. Here resource group is the required parameter for exporting and should be listed while you try using this command az network dns zone list.

@edufolios-matt , I was wondering if you have had a chance to look over our previous reply yet? Let us know if you have any query or input for us or if we good to close this issue.

@edufolios-matt , We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Predict function works only from command line

Hello,
Was anyone able to modify the function predict.py to work with given arguments as called from another python script?
First I tried changing it instead of accepting command line arguments to accept the arguments when called, but I got these errors:

Also I just tried to remove all arguments and just initialize those arguments up in the main function, but I get the same error output.
Anyone that tried to do something similar and succeeded?

image_file  is  a list of  pictures path , you can try it


Remove unapproved verbs from module

Today you have the following commands that use unapproved verbs:
Failover-GcSqlInstance
Promote-GcSqlReplica
Use of unapproved verbs in exported module command names is strongly discouraged (to the point where many teams are simply told not to do it under any circumstances).
Instead of Failover-GcSqlInstance, consider:
Invoke-GcSqlInstanceFailover
Instead of Promote-GcSqlReplica, consider:
Convert-GcSqlReplicaToInstance
There are other possible verbs you can choose from of course and what I provided are just some that I feel work fine for what you need, but regardless of which you choose, the core command should have an approved verb.  If you really, really feel the need for these names, define them as aliases for commands that use approved verbs.  In the long run I don't feel it's worth it (it's a best practice to avoid using aliases in scripts), and aliases like these are usually only kept around to maintain backwards compatibility with names that had to change for some reason.

Thank you. Those look like good alternative names.

Notes on investigation so far:
Replacing Failover- with Invoke-GcSqlInstanceFailover sounds good. As for Promote-, since the conversion isn't bidirectional, we should use ConvertTo-GcSqlInstance (docs).
We'll need to make this change before exiting Beta, since at that point we won't be able to make breaking changes like this. However, even at this point we still need to go through and update documentation (e.g. on cloud.google.com) to mention the changes.

@chrsmith Convert-GcSqlInstance would be more in line with the naming convention (though admittedly, it may be non specific enough)

@rrxtns Actually if you just use the Convert verb, it sounds like you are converting a GcSqlInstance, as opposed to converting to a GcSqlInstance (which is what I believe is actually happening).
@chrsmith I like the ConvertTo-GcSqlInstance name for that command, and good catch on that being the guidance as per the docs.

This is fixed with https://github.com/GoogleCloudPlatform/google-cloud-powershell/pull/359. We changed the cmdlets to ConvertTo-GcSqlInstance and Invoke-GcSqlInstanceFailover.


Problem syncing

Issue Type: Bug
I can't sync visual studio code with github account using the account button.
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T15:36:26.048Z)
OS version: Linux x64 5.15.25-1-MANJARO
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.47GB (5.90GB free)

Process Argv
--no-sandbox --unity-launch --crash-reporter-id fded02a1-f2b9-4a2e-a027-58fdffb3b31e

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasmawayland

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
wayland

do you have a libsecret based application installed like gnome-keyring?
If you don't, installing gnome-keyring should fix this for you you.
If it does, I'm curious to ask... did vscode force you to log into your accounts every time you opened it before 1.65?

It worked!
I installed gnome-keyring and issue was solved.
Thank you!


Via Fabric Plus-2.1.0 seems to break on QuiltLoader on windows 10.

ViaFabricPlus seems to break on Quilt Loader.
Steps to reproduce:

Make sure you are on a windows 10 machine.
Install this mod along with Fabric API on a Quilt instance.
Start the game.
Quilt loader break

Logs:  crash-2023-04-25_<IP_ADDRESS>82-quilt_loader.txt

Sadly Quilt-Loader does a terrible job of describing this at the moment, but it's because your version of viafabricplus has declared itself to be incompatible with Krypton (<mods>\krypton-0.2.1.jar)

I think it might be better to show what's in the log than "Quilt Loader has crashed.". It's not better than proper error messages, but it's better than nothing.

I've opened #309 to consolidate these issues. If you're still having trouble, there's a link for finding better support there.


Update PlaybookTemplatesRequiredChanges.md

Adding the case of incident trigger and alert trigger versions
Fixes #
Proposed Changes

commit


No route matches {:controller=>"devise/welcome"} from issue 471

Hi guys,
I'm developing an application and i use devise :D but I've found a bug (maybe)
Created a model User with devise and views
Created a controller welcome with standard action index
Inserted this code in application.html.erb:
<%= link_to t('Home'), :controller => "welcome" %>
Inserted this in ApplicationController:
before_filter :authenticate_user!
When I try to navigate in my app with browser I have this error:
No route matches {:controller=>"devise/welcome"}
Temporary solution for me is to change code in view with:
<%= link_to t('Home'), :controller => "/welcome" %>

I also fix the issue putting '/' in front of controller name sample:  '/single'


Add chart animations to Area, Bar, Line, and (opacity-only) Scatter

Description
Adds the following animations

Area: data and opacity animations
Bar: data and opacity animations
Line: data and opacity animations
Scatter: opacity animations

The animations are enabled in a new story section called "Animations"
Known Bugs

TrellisHorizontalBarSwitch changes the data in a way that always does animation from zero, not from existing data. RESOLVED
TrendlineZero story doesn't change the data enough to trigger an animation from zero RESOLVED

How Has This Been Tested?

We built animations in a backwards-compatible way so the existing test suite would continue to work.  We have incrementally added animation-focused tests, as well as extensive manual testing.
Note: there are some Sonar failures in this first revision.  We are planning to fast-follow with fixes, but want this PR up to gather feedback earlier!
Screenshots (if appropriate):
https://github.com/adobe/react-spectrum-charts/assets/20342122/5e1d1e7f-280c-4dab-af50-4242053eac85
https://github.com/adobe/react-spectrum-charts/assets/20342122/ea655df3-1743-48ca-b0e6-437c9cf1cca3
https://github.com/adobe/react-spectrum-charts/assets/20342122/cbee8884-6dba-4612-813c-6aa84cbf9b89
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

just a heads up, the 44 code smells are mostly just TODO comments that should be addressed or removed

Bug with trendline switch animations has been resolved:
https://github.com/adobe/react-spectrum-charts/assets/20342122/95f13fd4-5511-4811-a10a-6d4bcfedfc51


UART parser not able to parse data correctly (IDFGH-10274)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I have been scratching my head regarding this issue for almost a whole day now. I cannot wrap my head around how is this even possible. I beg for advice!
In my program, I have a simple UART0 task running to receive incoming data:
void UART0_setup() {
    uart_config_t uart_config = {
        .baud_rate           = 115200,
        .data_bits           = UART_DATA_8_BITS,
        .parity              = UART_PARITY_DISABLE,
        .stop_bits           = UART_STOP_BITS_1,
        .flow_ctrl           = UART_HW_FLOWCTRL_DISABLE,
        //.rx_flow_ctrl_thresh = 122,
        .use_ref_tick        = false,
    };

    // Configure UART parameters
    ESP_ERROR_CHECK(uart_param_config(UART_NUM_0, &uart_config));
    // Set UART pins(TX: IO4, RX: IO5, RTS: IO18, CTS: IO19)
    //ESP_ERROR_CHECK(uart_set_pin(UART_NUM_0, 13, 26, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE));
    ESP_ERROR_CHECK(uart_driver_install(UART_NUM_0, UART0_COMMAND_LINE_MAX_SIZE, 0, 0, NULL, 0));
}

void UART0_task(void *argument)
{
	UART0_setup();
  	unsigned int char_received=EOF;
  	unsigned int char_counter=0;
  	char command_line[UART0_COMMAND_LINE_MAX_SIZE];
  	for (;;)
	{
	   int len = uart_read_bytes(UART_NUM_0, command_line, (UART0_COMMAND_LINE_MAX_SIZE - 1), 10 / portTICK_PERIOD_MS);
           if (len)
          {
              command_line[len] = 0;
	      ParseSystemCmd(command_line, len); // Line is complete. Execute it!
              memset(&command_line, 0, sizeof(command_line));
           }
	vTaskDelay(10/portTICK_PERIOD_MS);
        }
}

As you can see when the command via serial is received, a ParseSystemCmd function is called. ParseSystemCmd will simply try to find a match and perform some actions. If no match is found, "System cmd not found" will be printed. See the function below:
bool ParseSystemCmd(char *line, uint16_t cmd_size)
{
	if (!strncmp("app_adc_calib:", line,14)){
		if (!isdigit(line[14]))
		{
			ESP_LOGW(TAG,"Entered input is not a number");
			return 0;
		}
		char temp_buf[4];
		double temp_to_calib=0;
		for(int i = 0;i <=(strlen(line)-14);i++){
			temp_buf[i] = line[14+i];
		}
		temp_to_calib = strtof(temp_buf,NULL);
		printf("Temp to calib = %.2f \n",temp_to_calib);
		return 1;

	}

	if (!strncmp("compressor:", line,11)){
		if (!isdigit(line[11]))
		{
			ESP_LOGW(TAG,"Entered input is not a number");
			return 0;
		}
		char temp_buf_comp[1];
		uint16_t data_to_write=0;
		temp_buf_comp[0] = line[11];
		data_to_write = atoi(temp_buf_comp);
		printf("DATA_TO_WRITE = %u \n",data_to_write);

		if(data_to_write == 0){
			gpio_set_level(GPIO_COMPRESSOR, 0);
			printf("compressor:0\n");
			return true;
		}
		else if(data_to_write == 1){
			gpio_set_level(GPIO_COMPRESSOR, 1);
			printf("compressor:1\n");
			return true;
		}
		else if(data_to_write != 0 || data_to_write !=1){
			printf("incorrect argument \n");
			return false;
		}
	}

	if (!strncmp("modem_version", line,13))
	{
		char Resp[AT_CMD_MAX_LEN];
		bool ret;
		ret=ModemSendATCommandRC("AT+CGMR\r", 10000, 2, 1, Resp, 20);
		if(!ret)
		{
			ESP_LOGE(TAG, "Modem FW ver: Unknown!");
			return false;
        }
        printf("%s\n", Resp);
		return true;
	}

	printf(CONF_ERROR_HEADER "System cmd not found: %s\r", line);
	memset(&line, 0, 1024);
	return false;
}

As you can see from above I only have a few commands implemented.
The main commands that I use are the following:
compressor:1

and
compressor:0

That will turn ON/OFF the relays. The command works without any issues. I use "Termite" to write commands to the ESP32 device:

Something very weird happens when I execute "app_adc_calib:"  command. Please see the logs below:

My UART0, after receiving app_adc_calib:15.0 command starts behaving oddly. It no longer accepts the compressor:1 or compressor:0 command.
	if (!strncmp("compressor:", line,11)){
		if (!isdigit(line[11]))
		{
			ESP_LOGW(TAG,"Entered input is not a number");
			return 0;
		}
		char temp_buf_comp[1];
		uint16_t data_to_write=0;
		temp_buf_comp[0] = line[11];
		data_to_write = atoi(temp_buf_comp);
		printf("DATA_TO_WRITE = %u \n",data_to_write);

		if(data_to_write == 0){
			gpio_set_level(GPIO_COMPRESSOR, 0);
			printf("compressor:0\n");
			return true;
		}
		else if(data_to_write == 1){
			gpio_set_level(GPIO_COMPRESSOR, 1);
			printf("compressor:1\n");
			return true;
		}
		else if(data_to_write != 0 || data_to_write !=1){
			printf("incorrect argument \n");
			return false;
		}
	}

As you can see from the code above, when the UART matches the word "compressor:", it looks at the 11th byte (which is going to be 0 or 1) but for some reason it detects 15. How is that even possible? My mind is blown.

UPDATE
In ParseSystemCmd function I added the following code to print out the contents of received UART buffer:
	for(int i = 0; i <cmd_size;i++){
		printf("Character received[%i]=%c\n",i,line[i]);
	}

Serial terminal output when sending commands:
compressor:1
Character received[0]=c
Character received[1]=o
Character received[2]=m
Character received[3]=p
Character received[4]=r
Character received[5]=e
Character received[6]=s
Character received[7]=s
Character received[8]=o
Character received[9]=r
Character received[10]=:
Character received[11]=1
Character received[12]=

DATA_TO_WRITE = 1
compressor:1
app_adc_calib:12.0
Character received[0]=a
Character received[1]=p
Character received[2]=p
Character received[3]=_
Character received[4]=a
Character received[5]=d
Character received[6]=c
Character received[7]=_
Character received[8]=c
Character received[9]=a
Character received[10]=l
Character received[11]=i
Character received[12]=b
Character received[13]=:
Character received[14]=1
Character received[15]=2
Character received[16]=.
Character received[17]=0
Character received[18]=

Temp to calib = 12.00
compressor:1
Character received[0]=c
Character received[1]=o
Character received[2]=m
Character received[3]=p
Character received[4]=r
Character received[5]=e
Character received[6]=s
Character received[7]=s
Character received[8]=o
Character received[9]=r
Character received[10]=:
Character received[11]=1
Character received[12]=

DATA_TO_WRITE = 12
incorrect argument

It seems that it is printing correct data, but I still cannot understand why DATA_TO_WRITE is not being set incorrectly using atoi() function

atoi works with 0-terminated strings. The way you declare
		char temp_buf_comp[1];

it can only hold a zero-length string, since one byte is needed for the terminator.
So
		temp_buf_comp[0] = line[11];

writes the only byte in the string, leaving it unterminated, and
		data_to_write = atoi(temp_buf_comp);

tries to parse the string, which is now unterminated, so atoi just keeps reading subsequent bytes in memory (on the stack).

atoi works with 0-terminated strings. The way you declare
		char temp_buf_comp[1];

it can only hold a zero-length string, since one byte is needed for the terminator.
So
		temp_buf_comp[0] = line[11];

writes the only byte in the string, leaving it unterminated, and
		data_to_write = atoi(temp_buf_comp);

tries to parse the string, which is now unterminated, so atoi just keeps reading subsequent bytes in memory (on the stack).
This happens to work as long as the next byte on the stack after the end of temp_buf_comp is zero. My guess is the next value on the stack is temp_to_calib, so once it gets set, you start observing this issue.

Thank you very much for pointing this out. I should have realized that myself.
So what would be correct way to do this? Since I am only interested in a single byte after "compressor:", should I manually add null terminator at temp_buf_comp[1]?
		char temp_buf_comp[2];
		uint16_t data_to_write=0;
		temp_buf_comp[0] = line[11];
		temp_buf_comp[1] = '\0';
		data_to_write = atoi(temp_buf_comp);
		printf("DATA_TO_WRITE = %u \n",data_to_write);

The code above seems to fix my issue. Is that a good way to deal with it?

I think that's okay, yes.
(Other than the fact that manual string handling using C string.h APIs is very error-prone, as you have found. On top of that you now have magic values, such as 11 or 14 scattered around your code. If you don't have a hard requirement for using this exact format of the commands, I would recommend checking out the console component which provides command line parsing and command registration functionality. There's an example on how to start the console and how to implement a command.)


Android doesn't require permission to get "manufacturer" or "product"

Currently on Android, running "getDevicesWithDescription" causes the application to ask for permission for every single device which is a bit tedious as a user when trying to see a list of your USB devices. It's also unnecessary, because both the "manufacturer" and "product" can be found without requesting any permission. Only the serial number requires permission.
Therefore can I suggest we remove "UsbDeviceDescription" and just use "UsbDevice" with the fields:
class UsbDevice {
   final String identifier;
   final int vendorId;
   final int productId;
   final int configurationCount;
   final String? manufacturer;
   final String? product;
   final String? serialNumber; // requires permission for Android

   ...
}

And adjust "getDeviceList" in the Android code as:
      "getDeviceList" -> {
        val manager = usbManager ?: return result.error("IllegalState", "usbManager null", null)
        val usbDeviceList = manager.deviceList.entries.map {
          mapOf(
                  "identifier" to it.key,
                  "vendorId" to it.value.vendorId,
                  "productId" to it.value.productId,
                  "configurationCount" to it.value.configurationCount
                  "manufacturer" to it.value.manufacturerName,
                  "product" to it.value.productName,
                  "serialNumber" to if (manager.hasPermission(it.value)) it.value.serialNumber else null,
          )
        }
        result.success(usbDeviceList)
      }

PRs welcome!

Sent a PR, without any breaking changes:
https://github.com/woodemi/quick_usb/pull/65


Add a quiet parameter to Test-WSMan in order to returns a Boolean value

Summary of the new feature/enhancement
Just like Test-Connection , add a quiet parameter to Test-WSMan in order to returns a Boolean value
In some computer, WSMan is not enable by default. And sometimes I need to collect a list of computer with WSMan enabled via an if statement as bellow:
$ship | foreach -Parallel {if (Test-Connection -ComputerName $_ -Quiet -Count 2 -Delay 1) {$_}} -ThrottleLimit 10 | tee -Path .\2online.txt

Proposed technical implementation details (optional)

$ship | foreach -Parallel {if (Test-WSMan -ComputerName $_ -Quiet) {$_}} -ThrottleLimit 10 | tee -Path .\2online.txt

Since MSFT team plans to move Remoting to new Engine Subsystem and we will be able to create alternative Remoting (transport) implementations and I think the cmdlet should be transformed to new cmdlet like Test-Remoting. In this case, the new parameter can be useful too.

Absolutely agree we need a -Quiet parameter to stay in line with other test commands.

any update ?

Added to the Cmdlet Working Group review list.

i'm a little concerned about the name of the parameter. quiet usually indicates no output (test-connection not withstanding). how about a different name?

The Working Group has reviewed this and agrees there is a need for a -Quiet parameter to return a boolean value. While there is some debate about whether Quiet is the appropriate parameter name, there is precedent with Test-Connection and Select-String. This issue will be marked as Up for Grabs.

bump

any update?