Rework and expansion

Changes introduced with this PR
Significant re-work and expansion of the plugin, with new parameters, updated docs, and the ability to define multiple jobs in an input.
Fixes #9

By contributing to this repository, I agree to the contribution guidelines.

I'm good with these changes, unless you want to make the two clarifications (#40 (comment), #40 (comment)) that I pointed out in my earlier passes.

I have mixed feelings about these kinds of things. While I think it is noble of us to try to improve the source documentation when we copy it into our schema, the right thing to do would be to contribute those improvements back to the source project.

the right thing to do would be to contribute those improvements back to the source project.

Absolutely.  However, doing so won't (directly, automatically) improve our documentation.

I think it is noble of us to try to improve the source documentation when we copy it into our schema

Do we expect that our documentation will provide value and that anyone will actually use it?

If not -- that is, if we expect our users to use the source project's documentation instead of ours -- then why do we bother with documentation at all??
If so, then why wouldn't we try to improve the source material when we incorporate it into our product??  If we have trouble understanding the text, then our users are likely going to have the same experience; and, given that we had to do the work to gain the understanding, why not share that with our users?

(BTW, GitHub says that you have a merge conflict....)


Limitations?

Hey, are there any limitations i should be aware of?
Don't want to get banned from Aliexpress if I query too often.
Also any tips on guidance on where I can learn more on how to create my own scripts like this.
This is exactly what I needed.

there are no limits on this script, aliexpress won't ban you, because it just opens the product page and gets you the data


Cannot ping both from Windows host and WSL

Version
Microsoft Windows [Version 10.0.22000.675]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
IP addresses of Windows host:
>> ipconfig

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  .   :

Ethernet adapter vEthernet (WSL):

   Connection-specific DNS Suffix  .  :

IP address of WSL:
>> ip addr show eth0

6: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:b4:b8:96 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/20 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::215:5dff:feb4:b896/64 scope link
       valid_lft forever preferred_lft forever

Use ping from Windows host to WSL and vice versa.
Expected Behavior
Ping successful.
Actual Behavior
Pinging from Windows host:
>> ping <IP_ADDRESS>

Pinging <IP_ADDRESS> with 32 bytes of data:
General failure.
General failure.
General failure.
General failure.

Pinging from WSL:
>> ping <IP_ADDRESS>

PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
97 packets transmitted, 0 received, 100% packet loss, time 99839ms

WSL can connect to the Internet (pinging <IP_ADDRESS>, google.com, apt update,...all good)
/etc/resolv.conf:
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

Diagnostic Logs
No response

I just ran into the same issue, the problem was I had my VPN on.

I've found this to be the root of the DNS issues on my system too. The system ...

Windows 10.0.19044
ZScaler <IP_ADDRESS> VPN connected to company network
WSL2, Ubuntu 22.04 kernel version <IP_ADDRESS>

Here is the complete set of symptoms.

DNS is not working from Ubuntu in WSL2. git fetch fails to find github.com
DNS is working on Windows.
On Ubuntu host github.com fails but host github.com <IP_ADDRESS> succeeds.
On Ubuntu /etc/resolv.conf has nameserver <IP_ADDRESS> - the Windows WSL IP address.
Ubuntu: ping <IP_ADDRESS> fails, host github.com <IP_ADDRESS> fails
Windows: ping <IP_ADDRESS> succeeds, host github.com <IP_ADDRESS> succeeds

If I disconnect the ZScaler from the company network (Private Access - Turn Off) then all the pings and resolving hostnames work correctly. However, this is a workaround that is very is not workable in practise as I, and all the people I'm responsible to create dev systems for (100 scaling to 1000), have to be able to work with the company VPN connected.


Support QoS parameters in NWu and N3 and update go-gtp

Update Go-GTP to v0.8.0
Revise architecture of GTP and Add GRE folder
Support QoS info between NWu and N3
Revise IKE SA output format

It's done.


Hive metadata updation issue

A few tables in a load aren't getting the Hive metadata updated with their partition information.

Which ones?

This is not an issue.
On 3 Nov. 2016 2:01 am, "Rowan Davies"<EMAIL_ADDRESS>wrote:

Which ones?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/CommBank/maestro/issues/506#issuecomment-257891033,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApEjOMsFvlfH8qzbOWhKJxK0q-AXN_jks5q6KW-gaJpZM4Km0Gv
.

Close it?

Yeah. I left it open because we were investigating one last thing.


 I have been trying to do it for 3 days now and I am pooped. If you can help I would love to use this new ai minecraft because it is very fun. Also if you need more info about my problem you can reply to the post and I can give you my email so we can talk.

download python


Bluetooth tethering not available in 0.6.0

Prior to 0.6.0, I would tether my EON to my phone over Bluetooth.
This arrangement would allow me to SSH from my phone to the EON while in the car, no where close to a wifi network, while still allowing my phone to stay on cellular.
With 0.6.0, the Bluetooth settings button has disappeared, and so I can no longer pair with my phone and select it for "Internet".
Please advise how I can work around this limitation.

For power saving reasons and little use case for it, Bluetooth was disabled in 0.6.

Another reason to downgrade to 0.5. could you at least supply a kernel where it is enabled?

@deftdawg presented an interesting use case.  Another use case includes using keyboard/mouse, which I've found useful on occasion.  Regardless, Bluetooth only consumes power when enabled @rbiasini

I petition that it be readded and disabled by default.


Disparity in simulator implementation styles [Discuss]

Sparse and Clifford both have a proper ActOnXXXStateArgs where they maintain simulator state, and those are explicitly checked throughout the cirq codebase with isinstance checks that alter behavior of different operations depending on the args. This was first added in #3019 with the act_on protocol.
DensityMatrix and MPS both have self-contained state (_StateAndBuffers and MPSState, respecively).
Should we change it to be consistent?
cc @Strilanc

Discussed in gitter, I'll look into moving density matrix simulator into the ActOn format.

One downside of discussing stuff on gitter and referencing here is that the discussion on gitter can get lost (though I was able to find it for this issue :)), so in general I would propose that we should copy paste discussion on github issues as well, for future reference.

Sure, the TLDR of the discussion was:

Do we like the ActOn pattern? --answer: yes
Is there anything preventing its adoption in DensityMatrix or MPS? --answer: don't think so, try it out and create PR if it works.


Added nick property to dispatcher args

Something like this @nherment ?

yes that's it. but the variable name is messed up. I can't merge as is.

@CExMNemr published<EMAIL_ADDRESS>


ticdc: add pulsar sink integration test pipeline for ticdc

as title.

related issue: https://github.com/pingcap/tiflow/issues/9782


Handle UNSET values in the strawberry schema.

The codegen currently chokes on strawberry.UNSET default values.  This PR updates the codegen to stop raising an exception and instead pass a GraphQLNullValue(value=UNSET) to the plugins.  The default python plugin writes a None as the default value because there really isn't a well understood concept of UNSET in the python ecosystem.  User defined plugins have all the information that they need to handle this differently if they choose to do so.
Description

Types of Changes

[ ] Core
[ ] Bugfix
[x] New feature
[x] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver, so make sure to pick the appropriate type. If in doubt feel free to ask :)
Here's the tweet text:
🆕 Release (next) is out! Thanks to Matt Gilson for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)

I'm suddenly getting snake case argument names instead of camel case in the kwargs passed to has_permissions. Is this an intentional change? I don't see it listed on the breaking changes page, but it's breaking some thing.


"SHOW BACKUP FROM <db_name>" still returns entries of all dbs

Steps to reproduce the behavior (Required)
CREATE REPOSITORY f_repo
WITH BROKER
ON LOCATION "s3a://<location>"
PROPERTIES(
    "aws.s3.access_key" = "xxx",
    "aws.s3.secret_key" = "xxx",
    "aws.s3.endpoint" = "s3.<region>.amazonaws.com"
);

create database fieldsfarmer1;

CREATE TABLE `fieldsfarmer1`.`ACTIVITY` (`case` BIGINT) PRIMARY KEY(`case`) DISTRIBUTED BY HASH (`case`) PROPERTIES("replication_num" = "1");

create database fieldsfarmer2;

CREATE TABLE `fieldsfarmer2`.`ACTIVITY` (`case` BIGINT) PRIMARY KEY(`case`) DISTRIBUTED BY HASH (`case`) PROPERTIES("replication_num" = "1");

backup snapshot fieldsfarmer1.f1 to f_repo;

backup snapshot fieldsfarmer2.f2 to f_repo;

show backup;

show backup from fieldsfarmer1;

Expected behavior (Required)
show backup from fieldsfarmer1; should only returns the backup info of fieldsfarmer1, but it still returns both backups (i.e. also the one of fieldsfarmer2).
Real behavior (Required)
show backup from fieldsfarmer1; should only returns the backup info of fieldsfarmer1.
StarRocks version (Required)
3.0

Could you please provide the commit id?

Could you please provide the commit id for FE? SHOW FRONTENDS;

Could you please provide the commit id for FE? SHOW FRONTENDS;

sr-0.sr.default.svc.cluster.local_9010_1670536426001,sr-0.sr.default.svc.cluster.local,9010,8030,9030,9020,LEADER,1167297684,true,true,2318108,2023-03-09 15:12:57,true,"",2023-03-03 17:01:29,PR137-3.0-EF51AE47-926d02f

This problem has been fixed in the lastest branch. PR: https://github.com/StarRocks/starrocks/pull/18096


ACME Hetzner "could not get zone" with internal DNSes

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Træfik (Lego) is not able to find the DNS zone to issue a Let's Encrypt cert for a subdomain resolved internally.
Træfik is located under traefik.home.mydomain.com and has a valid certificate (issued before the DNS servers were configured), heimdall.home.mydomain.com does not get issued a Let's Encrypt certificate because Lego could not get zone for domain home.mydomain.com not found.
Some additional information that might be useful:
The home.mydomain.com domain is not public, it is resolved by two PowerDNS virtual machines internally, it's using a public domain to be able to issue valid LE certificates for HTTPS, since the network will soon be used by a tenant and I would like to not have HTTP unencrypted passwords floating around, even internally, even with a dumb tenant that doesn't know what a computer even is. Just to be sure, you know...
Temporarily removing the two PowerDNS servers gets Træfik to issue the certificate correctly, tho I don't understand why since the communication for issuing the cert should be between [Træfik, Let's Encrypt ACME servers, Hetzner's API servers].
I would like if possible to know the flow chart of the events and the systems that get involved when issuing a certificate, and to understand how to resolve the subdomain internally with private IP addresses but still being able to issue certificates using Hetzner's external DNS servers for the whole domain instead of the internal PowerDNS ones.
What did you see instead?
traefik.home.mydomain.com  | time="2022-04-02T09:06:38Z" level=error msg="Unable to obtain ACME certificate for domains \"heimdall.home.mydomain.com\": unable to generate a certificate for the domains [heimdall.home.mydomain.com]: error: one or more domains had a problem:\n[heimdall.home.mydomain.com] [heimdall.home.mydomain.com] acme: error presenting token: hetzner: could not get zone for domain home.mydomain.com not found\n" rule="Host(`heimdall.home.mydomain.com`)" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-heimdall_home_mydomain_com@docker

What version of Traefik are you using?

Træfik YAML
---
version: "3"

services:
  traefik:
    image: traefik:${TRAEFIK_VERSION}
    restart: unless-stopped
    command:
      # when debugging is needed
      - --accesslog=${TRAEFIK_ACCESSLOG}
      # enable Træfik dashboard
      - --api.dashboard=true
      # configure Let's Encrypt automatic certificates
      - --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge=true
      - --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.dnschallenge.provider=hetzner
      - --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.email=${LETSENCRYPT_EMAIL}
      - --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.keytype=RSA4096
      - --certificatesresolvers.${TRAEFIK_CERTRESOLVER}.acme.storage=/certs.json
      # we listen on both HTTP and HTTPS
      - --entrypoints.http.address=:80
      - --entrypoints.https.address=:443
      # logging level
      - --log.level=${TRAEFIK_LOGLEVEL}
      # Træfik Pilot token (of course retrieved from dotenv)
      - --pilot.token=${TRAEFIK_PILOT_TOKEN}
      # we only use Docker (for now)
      - --providers.docker=true
      # and we want to manually specify exposed containers
      - --providers.docker.exposedbydefault=false
      - --providers.docker.watch=true
      # should not need, but just in case, a folder for dynamic config files is also configured
      - --providers.file.directory=/config
      - --providers.file.watch=true
    environment:
      - HETZNER_API_KEY=${HETZNER_API_KEY}
    labels:
      # expose Træfik using Træfik (dashboard)
      - traefik.enable=${TRAEFIK_ENABLED}
      # configure a global whitelist for my home
      - traefik.http.middlewares.dashboard-whitelist.ipwhitelist.sourcerange=${TRAEFIK_DASHBOARD_WHITELIST}
      # configure the global redirect middleware
      - traefik.http.middlewares.http-to-https.redirectscheme.scheme=https
      - traefik.http.middlewares.http-to-https.redirectscheme.permanent=true
      ### Section HTTP
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.entrypoints=http
      # only some people can access the dashboard, hence protect it with it's whitelist
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=dashboard-whitelist
      # redirect Træfik dashboard to HTTPS only
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=http-to-https
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`)
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.service=api@internal
      ### Section HTTPS
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
      # only some people can access the dashboard, hence protect it with it's whitelist
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=dashboard-whitelist
      # configure Træfik dashboard to be the exposed service
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`)
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.service=api@internal
      # of course, enable TLS and it's certificate provider
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
    networks:
      - traefik
    ports:
      - 80:80
      - 443:443
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./config:/config:ro
      - ./certs.json:/certs.json

networks:
  traefik:
    external: true
    name: ${TRAEFIK_NETWORK}

Træfik env
# General environment
TRAEFIK_VERSION=2.6.3
TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_DASHBOARD_WHITELIST=<IP_ADDRESS>/24
TRAEFIK_ENABLED=true
TRAEFIK_NETWORK=traefik
TRAEFIK_MATCHRULE=traefik.home.mydomain.com
TRAEFIK_ROUTER=traefik_home_mydomain_com
TRAEFIK_PILOT_TOKEN= #not used yet
TRAEFIK_TLSENABLED=true

# Certificate provider
HETZNER_API_KEY=REDACTED
<EMAIL_ADDRESS>
# Debugging
TRAEFIK_ACCESSLOG=false
TRAEFIK_LOGLEVEL=DEBUG

Heimdall YAML
---
version: "3"

services:
  heimdall:
    image: linuxserver/heimdall:${HEIMDALL_VERSION}
    restart: unless-stopped
    environment:
      - PUID=${HEIMDALL_PUID}
      - PGID=${HEIMDALL_PGID}
      - TZ=${HEIMDALL_TIMEZONE}
    labels:
      - traefik.enable=${TRAEFIK_ENABLED}
      - traefik.docker.network=traefik
      ### Section HTTP
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.entrypoints=http
      # redirect to HTTPS only
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=http-to-https
      - traefik.http.routers.http-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`)
      ### Section HTTPS
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
      # configure the exposed service
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`)
      # of course, enable TLS and it's certificate provider
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
      - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
      # specify a service so a custom port can be used
      - traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
    networks:
      - traefik
    volumes:
      - ./config:/config

networks:
  traefik:
    external: true
    name: ${TRAEFIK_NETWORK}

Heimdall env
# Heimdall
HEIMDALL_VERSION=2.2.2
HEIMDALL_PUID=1001
HEIMDALL_PGID=1001
HEIMDALL_TIMEZONE=Europe/Rome

# Træfik
TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_ENABLED=true
TRAEFIK_MATCHRULE=heimdall.home.mydomain.com
TRAEFIK_NETWORK=traefik
TRAEFIK_ROUTER=heimdall_home_mydomain_com
TRAEFIK_SERVICE=heimdall_home_mydomain_com
TRAEFIK_SERVICE_PORT=80
TRAEFIK_TLSENABLED=true

If applicable, please paste the log output in DEBUG level

DEBUG logs
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Configuration loaded from flags."
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Traefik version 2.6.3 built on 2022-03-29T13:09:27Z"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Static configuration loaded {\"global\":{\"checkNewVersion\":true},\"serversTransport\":{\"maxIdleConnsPerHost\":200},\"entryPoints\":{\"http\":{\"address\":\":80\",\"transport\":{\"lifeCycle\":{\"graceTimeOut\":\"10s\"},\"respondingTimeouts\":{\"idleTimeout\":\"3m0s\"}},\"forwardedHeaders\":{},\"http\":{},\"udp\":{\"timeout\":\"3s\"}},\"https\":{\"address\":\":443\",\"transport\":{\"lifeCycle\":{\"graceTimeOut\":\"10s\"},\"respondingTimeouts\":{\"idleTimeout\":\"3m0s\"}},\"forwardedHeaders\":{},\"http\":{},\"udp\":{\"timeout\":\"3s\"}}},\"providers\":{\"providersThrottleDuration\":\"2s\",\"docker\":{\"watch\":true,\"endpoint\":\"unix:///var/run/docker.sock\",\"defaultRule\":\"Host(`{{ normalize .Name }}`)\",\"swarmModeRefreshSeconds\":\"15s\"},\"file\":{\"directory\":\"/config\",\"watch\":true}},\"api\":{\"dashboard\":true},\"log\":{\"level\":\"DEBUG\",\"format\":\"common\"},\"certificatesResolvers\":{\"letsencrypt\":{\"acme\":{\"email\":\"domains@mydomain.com\",\"caServer\":\"https://acme-v02.api.letsencrypt.org/directory\",\"storage\":\"/certs.json\",\"keyType\":\"RSA4096\",\"certificatesDuration\":2160,\"dnsChallenge\":{\"provider\":\"hetzner\"}}}},\"pilot\":{\"dashboard\":true}}"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://doc.traefik.io/traefik/contributing/data-collection/\n"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Starting provider aggregator.ProviderAggregator"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Start TCP Server" entryPointName=https
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Start TCP Server" entryPointName=http
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Starting provider *file.Provider"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="*file.Provider provider configuration: {\"directory\":\"/config\",\"watch\":true}"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Starting provider *traefik.Provider"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="*traefik.Provider provider configuration: {}"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Starting provider *acme.Provider"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="*acme.Provider provider configuration: {\"email\":\"domains@mydomain.com\",\"caServer\":\"https://acme-v02.api.letsencrypt.org/directory\",\"storage\":\"/certs.json\",\"keyType\":\"RSA4096\",\"certificatesDuration\":2160,\"dnsChallenge\":{\"provider\":\"hetzner\"},\"ResolverName\":\"letsencrypt\",\"store\":{},\"TLSChallengeProvider\":{\"Timeout\":4000000000},\"HTTPChallengeProvider\":{}}"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Attempt to renew certificates \"720h0m0s\" before expiry and check every \"24h0m0s\"" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Testing certificate renew..." providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Starting provider *docker.Provider"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="*docker.Provider provider configuration: {\"watch\":true,\"endpoint\":\"unix:///var/run/docker.sock\",\"defaultRule\":\"Host(`{{ normalize .Name }}`)\",\"swarmModeRefreshSeconds\":\"15s\"}"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Configuration received from provider file: {\"http\":{},\"tcp\":{},\"udp\":{},\"tls\":{\"options\":{\"compatible\":{\"minVersion\":\"VersionTLS11\",\"clientAuth\":{},\"alpnProtocols\":[\"h2\",\"http/1.1\",\"acme-tls/1\"]},\"default\":{\"minVersion\":\"VersionTLS12\",\"clientAuth\":{},\"alpnProtocols\":[\"h2\",\"http/1.1\",\"acme-tls/1\"]},\"mintls13\":{\"minVersion\":\"VersionTLS13\",\"clientAuth\":{},\"alpnProtocols\":[\"h2\",\"http/1.1\",\"acme-tls/1\"]},\"supercompatible\":{\"minVersion\":\"VersionTLS10\",\"clientAuth\":{},\"alpnProtocols\":[\"h2\",\"http/1.1\",\"acme-tls/1\"]}}}}" providerName=file
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Configuration received from provider internal: {\"http\":{\"services\":{\"api\":{},\"dashboard\":{},\"noop\":{}},\"serversTransports\":{\"default\":{\"maxIdleConnsPerHost\":200}}},\"tcp\":{},\"tls\":{}}" providerName=internal
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Configuration received from provider letsencrypt.acme: {\"http\":{},\"tls\":{}}" providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="No default certificate, generating one" tlsStoreName=default
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=info msg="Starting provider *acme.ChallengeTLSALPN"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="*acme.ChallengeTLSALPN provider configuration: {\"Timeout\":4000000000}"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Provider connection established with docker 20.10.13 (API 1.41)" providerName=docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Configuration received from provider docker: {\"http\":{\"routers\":{\"http-heimdall_home_mydomain_com\":{\"entryPoints\":[\"http\"],\"middlewares\":[\"http-to-https\"],\"service\":\"heimdall_home_mydomain_com\",\"rule\":\"Host(`heimdall.home.mydomain.com`)\"},\"http-traefik_home_mydomain_com\":{\"entryPoints\":[\"http\"],\"middlewares\":[\"http-to-https\"],\"service\":\"api@internal\",\"rule\":\"Host(`traefik.home.mydomain.com`)\"},\"https-heimdall_home_mydomain_com\":{\"entryPoints\":[\"https\"],\"service\":\"heimdall_home_mydomain_com\",\"rule\":\"Host(`heimdall.home.mydomain.com`)\",\"tls\":{\"certResolver\":\"letsencrypt\"}},\"https-traefik_home_mydomain_com\":{\"entryPoints\":[\"https\"],\"middlewares\":[\"dashboard-whitelist\"],\"service\":\"api@internal\",\"rule\":\"Host(`traefik.home.mydomain.com`)\",\"tls\":{\"certResolver\":\"letsencrypt\"}}},\"services\":{\"heimdall_home_mydomain_com\":{\"loadBalancer\":{\"servers\":[{\"url\":\"http://<IP_ADDRESS>:80\"}],\"passHostHeader\":true}},\"traefik_home_mydomain_com\":{\"loadBalancer\":{\"servers\":[{\"url\":\"http://<IP_ADDRESS>:80\"}],\"passHostHeader\":true}}},\"middlewares\":{\"dashboard-whitelist\":{\"ipWhiteList\":{\"sourceRange\":[\"<IP_ADDRESS>/24\"]}},\"http-to-https\":{\"redirectScheme\":{\"scheme\":\"https\",\"permanent\":true}}}},\"tcp\":{},\"udp\":{}}" providerName=docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="No default certificate, generating one" tlsStoreName=default
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding certificate for domain(s) traefik.home.mydomain.com"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="No default certificate, generating one" tlsStoreName=default
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding certificate for domain(s) traefik.home.mydomain.com"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" routerName=http-heimdall_home_mydomain_com@docker serviceName=heimdall_home_mydomain_com middlewareName=pipelining middlewareType=Pipelining entryPointName=http
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating load-balancer" entryPointName=http routerName=http-heimdall_home_mydomain_com@docker serviceName=heimdall_home_mydomain_com
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating server 0 http://<IP_ADDRESS>:80" entryPointName=http routerName=http-heimdall_home_mydomain_com@docker serviceName=heimdall_home_mydomain_com serverName=0
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="child http://<IP_ADDRESS>:80 now UP"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Propagating new UP status"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Added outgoing tracing middleware heimdall_home_mydomain_com" routerName=http-heimdall_home_mydomain_com@docker middlewareType=TracingForwarder middlewareName=tracing entryPointName=http
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" middlewareName=http-to-https@docker entryPointName=http routerName=http-heimdall_home_mydomain_com@docker middlewareType=RedirectScheme
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Setting up redirection to https " routerName=http-heimdall_home_mydomain_com@docker middlewareType=RedirectScheme middlewareName=http-to-https@docker entryPointName=http
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding tracing to middleware" routerName=http-heimdall_home_mydomain_com@docker middlewareName=http-to-https@docker entryPointName=http
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Added outgoing tracing middleware api@internal" routerName=http-traefik_home_mydomain_com@docker middlewareName=tracing middlewareType=TracingForwarder entryPointName=http
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" middlewareName=http-to-https@docker middlewareType=RedirectScheme entryPointName=http routerName=http-traefik_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Setting up redirection to https " middlewareName=http-to-https@docker middlewareType=RedirectScheme entryPointName=http routerName=http-traefik_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding tracing to middleware" middlewareName=http-to-https@docker entryPointName=http routerName=http-traefik_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" entryPointName=http middlewareName=traefik-internal-recovery middlewareType=Recovery
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" serviceName=heimdall_home_mydomain_com entryPointName=https routerName=https-heimdall_home_mydomain_com@docker middlewareName=pipelining middlewareType=Pipelining
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating load-balancer" entryPointName=https routerName=https-heimdall_home_mydomain_com@docker serviceName=heimdall_home_mydomain_com
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating server 0 http://<IP_ADDRESS>:80" serviceName=heimdall_home_mydomain_com serverName=0 entryPointName=https routerName=https-heimdall_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="child http://<IP_ADDRESS>:80 now UP"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Propagating new UP status"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Added outgoing tracing middleware heimdall_home_mydomain_com" middlewareName=tracing middlewareType=TracingForwarder entryPointName=https routerName=https-heimdall_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Added outgoing tracing middleware api@internal" entryPointName=https routerName=https-traefik_home_mydomain_com@docker middlewareName=tracing middlewareType=TracingForwarder
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" routerName=https-traefik_home_mydomain_com@docker middlewareName=dashboard-whitelist@docker middlewareType=IPWhiteLister entryPointName=https
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Setting up IPWhiteLister with sourceRange: [<IP_ADDRESS>/24]" entryPointName=https routerName=https-traefik_home_mydomain_com@docker middlewareName=dashboard-whitelist@docker middlewareType=IPWhiteLister
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding tracing to middleware" routerName=https-traefik_home_mydomain_com@docker entryPointName=https middlewareName=dashboard-whitelist@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Creating middleware" middlewareName=traefik-internal-recovery entryPointName=https middlewareType=Recovery
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding route for traefik.home.mydomain.com with TLS options default" entryPointName=https
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Adding route for heimdall.home.mydomain.com with TLS options default" entryPointName=https
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Try to challenge certificate for domain [traefik.home.mydomain.com] found in HostSNI rule" routerName=https-traefik_home_mydomain_com@docker rule="Host(`traefik.home.mydomain.com`)" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Try to challenge certificate for domain [heimdall.home.mydomain.com] found in HostSNI rule" rule="Host(`heimdall.home.mydomain.com`)" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-heimdall_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Looking for provided certificate(s) to validate [\"heimdall.home.mydomain.com\"]..." rule="Host(`heimdall.home.mydomain.com`)" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-heimdall_home_mydomain_com@docker
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Domains [\"heimdall.home.mydomain.com\"] need ACME certificates generation for domains \"heimdall.home.mydomain.com\"." routerName=https-heimdall_home_mydomain_com@docker rule="Host(`heimdall.home.mydomain.com`)" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory"
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Loading ACME certificates [heimdall.home.mydomain.com]..." ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-heimdall_home_mydomain_com@docker rule="Host(`heimdall.home.mydomain.com`)" providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Building ACME client..." providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="https://acme-v02.api.letsencrypt.org/directory" providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="Looking for provided certificate(s) to validate [\"traefik.home.mydomain.com\"]..." ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-traefik_home_mydomain_com@docker rule="Host(`traefik.home.mydomain.com`)" providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:35Z" level=debug msg="No ACME certificate generation required for domains [\"traefik.home.mydomain.com\"]." ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-traefik_home_mydomain_com@docker rule="Host(`traefik.home.mydomain.com`)" providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:36Z" level=debug msg="Using DNS Challenge provider: hetzner" providerName=letsencrypt.acme
traefik.home.mydomain.com  | time="2022-04-02T09:06:36Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] acme: Obtaining bundled SAN certificate"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/93984391280"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] acme: Could not find solver for: tls-alpn-01"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] acme: Could not find solver for: http-01"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] acme: use dns-01 solver"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] acme: Preparing to solve DNS-01"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] [heimdall.home.mydomain.com] acme: Cleaning DNS-01 challenge"
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [WARN] [heimdall.home.mydomain.com] acme: cleaning up failed: hetzner: could not get zone for domain home.mydomain.com not found "
traefik.home.mydomain.com  | time="2022-04-02T09:06:37Z" level=debug msg="legolog: [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/93984391280"
traefik.home.mydomain.com  | time="2022-04-02T09:06:38Z" level=error msg="Unable to obtain ACME certificate for domains \"heimdall.home.mydomain.com\": unable to generate a certificate for the domains [heimdall.home.mydomain.com]: error: one or more domains had a problem:\n[heimdall.home.mydomain.com] [heimdall.home.mydomain.com] acme: error presenting token: hetzner: could not get zone for domain home.mydomain.com not found\n" rule="Host(`heimdall.home.mydomain.com`)" providerName=letsencrypt.acme ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=https-heimdall_home_mydomain_com@docker

Hello,
lego (the library that Traefik uses to handle ACME) tries to find the best place (zone) to store this record by doing some SOA calls.
When it "finds" the zone, lego calls the Hetzner API to get the zone ID.
The zone ID is required to create or delete a TXT record.

hetzner: could not get zone for domain home.mydomain.com not found

This message means that the zone obtained by the SOA calls is not found in the zones returned by the Hetzner API.

find the best place (zone) by doing some SOA calls.

I called up Hetzner the other day to ask about making a third level domain zone for my company because (as of now) we have a simple stupid bind server that doesn't support API so we wouldn't be able to use Træfik automatic handling of LE certificates, and they straight up told me that that wasn't possible and to just make a second level domain zone and just put NS records pointing at Hetzner's servers for the subdomain only.
May that "rule" from Hetzner be used to just call up Hetzner's APIs directly asking for the zone ID by just stripping everything past the second level domain?

May that "rule" from Hetzner be used to just call up Hetzner's APIs directly asking for the zone ID by just stripping everything past the second level domain?

Can you open a issue or a discussion in the lego repository to continue to share about that?
Thank you.
I will close this issue because it's not related to Trafik itself.


Give user feedback when iOS barcodescanner is disabled in splitview or slideview mode

Expected Behaviour
iOS camera's video capture function only works in full screen mode, and if the application is in splitview or slideview mode, the video capture will automatically stop by iOS, and then resume again once the app is in full screen mode.
In Apple's AVCam sample app, when video capture is used, if the app enters splitview or slideview mode, the app will show an message to tell user the video capture stoped due to app is not full screen, and also ask user to change to full screen to continue using the video capture function. So user will not get confused why suddenly the video capture stops work.
The ios barcode scanner should also have the similar function, so when the app enters splitview or slideview mode, if barcode scanner is used, some kind message should show to user to tell them why the video capture stops working.
Actual Behaviour
In ios application, the bardcode video capture stops working without showing any information to user.
Reproduce Scenario (including but not limited to)
using ipad in split view, or slide view with barcode scanner plugin
Steps to Reproduce
Create an ios application with barcode scanner plugin, run the app in ipad, put app into slideview or splitview while using video capture function, the video capture stops working without any message to user
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 10.3.*
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Apple iPad Pro
Cordova CLI version and cordova platform version
cordova --version

6.5.0 is used for testing
cordova platforms

iOS
Plugin version
6.0.8
Sample Code that illustrates the problem
cordova.plugins.barcodeScanner.scan( function (result) {
                            console.log("Scanner result: \n" +
                                        "text: " + result.text + "\n" +
                                        "format: " + result.format + "\n" +
                                        "cancelled: " + result.cancelled + "\n");
                            return;

                            }, function (error) {
                                console.error("Scanning failed: " + error);
                            }
);

Logs taken while reproducing problem

Duplicate of #404


command "dump" is not defined when running cue dump ./...

What version of CUE are you using (cue version)?

$ cue version
cue version 0.4.0 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
❯ cue help cmd
...
Available Commands:
  dump
...

❯ cue dump ./...

What did you expect to see?
Run the specified command
What did you see instead?
❯ cue dump ./...
command "dump" is not defined
Ensure commands are defined in a "_tool.cue" file.
Run 'cue help' to show available commands.

While dumping each directory all works
❯ tree .
.
├── app
│   └── app.cue
├── app.cue
└── dump_tool.cue

❯ cue dump .
name: root

❯ cue dump ./app
name: app

Test case: test.tar.gz

❯ cat app.cue
package test

application: [Name=_]: {
	name: Name
}

releases: [
	for k, x in application {
		name: k
	},
]

application: root: _%

❯ cat dump_tool.cue
package test

import (
	"encoding/yaml"
)

command: dump: {
	task: print: {
		kind: "print"
		text: yaml.MarshalStream(releases)
	}
}

for rls in releases {
	command: "dump-\(rls.name)": {
		task: print: {
			kind: "print"
			text: rls
		}
	}
}

❯ cat app/app.cue
package test

application: app: _

This issue has been migrated to https://github.com/cue-lang/cue/issues/1077.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Upgrade to Google OAuth 2

This is a POC only.
I had to update third-party libs to be able to use DotNetOpenAuth.GoogleOAuth2.
It worked well on empty database, not sure if data migration will be required for existing users. I would consider user's e-mail instead of user name as unique id.
Besides that OAuth must be configured in Google Console  as per https://developers.google.com/identity/protocols/OAuth2

@ThomasArdal @chripede Hi guys, can you please took at the pull request? Thanks

Sorry but I have no time to work on this at the moment. Would you be interested in managing the project?

@ThomasArdal Yep, I sent you e-mail earlier this week.

@shatl Since the old authentication didn't work no more, I could really check if existing feeds survive this change. It works now after merging in your PR, which I think is more important than getting existing feeds working. People may need to setup their feeds again. Thank you for making this work and sorry for the long response time.
I'm not sure I received the mail you are referring to?

@shatl Oh. Doesn't work in production when selecting Google login. I think you've forgot to register the redirect URL on the OAuth settings. Should be http://nugetfeed.org/account/externallogincallback

@ThomasArdal Fixed, works now.
Yes, I can manage the project. We can discuss details in e-mail.


ModuleNotFoundError: No module named 'whisper'

All things go well, until I run "python main.py".the outcome shows like:
Traceback (most recent call last):
File "C:\Users\AAA\ecoute\main.py", line 2, in
from AudioTranscriber import AudioTranscriber
File "C:\Users\AAA\ecoute\AudioTranscriber.py", line 1, in
import whisper
ModuleNotFoundError: No module named 'whisper'
I don't know how to deal with it, can you help me？

pip install whisper

i have a same error, please write proper command

pip install whisper

hey boss.. did you solve this issue?

pip install whisper

hey boss.. did you solve this issue?

Yes

can you also help me in this regard? please send me the command so i try one.


JavaScript

#JavaScript
##As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
##GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

Task on pre-work JavaScript has been completed


Fix Based Near functionality

Story
Refs https://github.com/scientist-softserv/adventist_knapsack/issues/851
Expected Behavior Before Changes
Using based near crashes the app.
Expected Behavior After Changes
Based Near attributes save, display, and edit appropriately
Screenshots / Video

Notes

Changes to this point fix it in Hyrax, Hyku, and for the knapsack resource models.
Generic Work Resource, Image Resource, and Collection Resource all remain broken in the knapsack.
In addition, Hyku (and probably hyrax) display the URI string rather than the based_near_label for Collection.


[WTD] PowerBI Whitepaper Inclusion Articles

In support of #1045 , here is a list of articles with line numbers of where non gender neutral language is present.

[ ]   whitepaper-azure-b2b-power-bi.md Line   #265
[ ] whitepaper-azure-b2b-power-bi.md Line   #275
[ ] whitepaper-azure-b2b-power-bi.md Line   #330
[ ] whitepaper-azure-b2b-power-bi.md Line   #362
[ ] whitepaper-azure-b2b-power-bi.md Line   #408
[ ] whitepaper-azure-b2b-power-bi.md Line   #438
[ ] whitepaper-powerbi-security.md Line   #314

WTD: Khairun is updating these documentation for gender inclusive

Fixed in https://github.com/MicrosoftDocs/powerbi-docs-pr/pull/2311


[React] Login from URL

Implements support for #256. At this point in time, there is no support for getting the name from the local storage.

That's nice not only for production but also to ease the development tada

Yes, you are right. That was the main reason to implement this feature now :)


APEXCORE-293 Merge documentation to master

@davidyan74 please merge.
@sashadt please make the docs available on the site


Getting Started - Javascript - fails, bad S3 protections and content

Describe the bug
I ran the getting started tutorial here: https://aws-amplify.github.io/docs/js/start?ref=amplify-js-btn&platform=purejs. Having pushed, access to the AWS web site fails, access denied. In the course of investigating, it became clear as well that the contents of the local dist directory were not uploaded to AWS, as the S3 bucket is empty.
To Reproduce
Steps to reproduce the behavior:
Just go through the tutorial.
Expected behavior
I expected a working website hosted at AWS.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OSX
Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Did you only run amplify push ?
amplify push will create the hosting bucket for you, configured for static web hosting.
In order to have your application hosted in the hosting bucket, you need to run amplify publish, as stated in the document.

I did publish. Nothing was pushed up toAWS and the permission on the S3 bucket remained with no public access.

We have not been able to reproduce the issue.
What region did you run the tutorial?
When you run amplify hosting add, did you select "DEV" (S3 only) or "PROD" (S3 and CloudFront)?
You checked and the dist does have contents, right?

I also got this issue when working through the tutorial and haven't been able to resolve it.
Using Ubuntu desktop.  Amplify version: 0.1.38, AWS CLI version: 0.2.5
I selected DEV (S3 only) when creating the project.  The dist folder is populated when publishing.  The bucket is created fine.  If I upload the dist files into the bucket manually (via console, using admin account) then everything works as expected.  Hope this helps.

I'm also having this issue. Unfortunately I ran amplify push before amplify publish so maybe that's the cause. A push should NOT mess up subsequent publish es.
Contents are not being uploaded to the appropriate S3 Bucket on publish - i.e. there is no index.html file in the bucket that the CloudFront CDN points to.

@josephecombs Were you able to figure out the issue with the latest version of the CLI? Seems like @UnleashedMind fixed it in #697. Please feel free to re-open the issue if you're still experiencing it.


Error running the Tutorial notebook - possibly a version issue?

Hi,
When trying to run the tutorial code, I get an error in the line:
results = pde.core.integrate.integrate_times(
model=pde.core.models.FiniteDifferenceModel(equation,grid),
state=initial_state,
times=times, axis=0)
The error that I get is (I will also send it to the AutoGraph team as they requested) :
W0717 14:24:34.494019<PHONE_NUMBER>33568 ag_logging.py:145] Entity <function integrate_steps..advance_until_saved_step at 0xb4026f378> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: converting <function integrate_steps..advance_until_saved_step at 0xb4026f378>: ValueError: inconsistent nodes: None (NoneType) and None (NoneType)
WARNING: Entity <function integrate_steps..advance_until_saved_step at 0xb4026f378> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: converting <function integrate_steps..advance_until_saved_step at 0xb4026f378>: ValueError: inconsistent nodes: None (NoneType) and None (NoneType)
TypeError                                 Traceback (most recent call last)
 in
1 time_step = equation.get_time_step(grid)
2 times = time_step*np.arange(400)
----> 3 results = pde.core.integrate.integrate_times(model=pde.core.models.FiniteDifferenceModel(equation,grid), state=initial_state,times=times, axis=0)
~/Dropbox/MIT/projects/burgers_theta_updated/pde_superresolution_2d/datadrivenpdes/core/integrate.py in integrate_times(model, state, times, initial_time, axis, xla_compile)
133                      'time step {}: {}'.format(times, dt, approx_steps))
134
--> 135   return integrate_steps(model, state, steps, initial_time, axis, xla_compile)
~/Dropbox/MIT/projects/burgers_theta_updated/pde_superresolution_2d/datadrivenpdes/core/integrate.py in integrate_steps(failed resolving arguments)
88   starts = tf.concat([[0], steps[:-1]], axis=0)
89   integrated = tf.scan(advance_until_saved_step, [starts, steps],
---> 90                        initializer=evolving_state)
91
92   integrated_constants = nest.map_structure(
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/ops/functional_ops.py in scan(fn, elems, initializer, parallel_iterations, back_prop, swap_memory, infer_shape, reverse, name)
503         back_prop=back_prop,
504         swap_memory=swap_memory,
--> 505         maximum_iterations=n)
506
507     results_flat = [r.stack() for r in r_a]
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py in while_loop(cond, body, loop_vars, shape_invariants, parallel_iterations, back_prop, swap_memory, name, maximum_iterations, return_same_structure)
3461
3462       while cond(*loop_vars):
-> 3463         loop_vars = body(*loop_vars)
3464         if try_to_pack and not isinstance(loop_vars, (list, _basetuple)):
3465           packed = True
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py in (i, lv)
3454         cond = lambda i, lv: (  # pylint: disable=g-long-lambda
3455             math_ops.logical_and(i < maximum_iterations, orig_cond(*lv)))
-> 3456         body = lambda i, lv: (i + 1, orig_body(*lv))
3457
3458     if executing_eagerly:
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/ops/functional_ops.py in compute(i, a_flat, tas)
480       packed_elems = input_pack([elem_ta.read(i) for elem_ta in elems_ta])
481       packed_a = output_pack(a_flat)
--> 482       a_out = fn(packed_a, packed_elems)
483       nest.assert_same_structure(elems if initializer is None else initializer,
484                                  a_out)
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in call(self, *args, **kwds)
412     # This is the first call of call, so we have to initialize.
413     initializer_map = {}
--> 414     self._initialize(args, kwds, add_initializers_to=initializer_map)
415     if self._created_variables:
416       try:
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in _initialize(self, args, kwds, add_initializers_to)
355     self._concrete_stateful_fn = (
356         self._stateful_fn._get_concrete_function_internal_garbage_collected(  # pylint: disable=protected-access
--> 357             *args, **kwds))
358
359     def invalid_creator_scope(*unused_args, **unused_kwds):
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _get_concrete_function_internal_garbage_collected(self, *args, **kwargs)
1347     if self.input_signature:
1348       args, kwargs = None, None
-> 1349     graph_function, _, _ = self._maybe_define_function(args, kwargs)
1350     return graph_function
1351
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _maybe_define_function(self, args, kwargs)
1650       graph_function = self._function_cache.primary.get(cache_key, None)
1651       if graph_function is None:
-> 1652         graph_function = self._create_graph_function(args, kwargs)
1653         self._function_cache.primary[cache_key] = graph_function
1654       return graph_function, args, kwargs
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/eager/function.py in _create_graph_function(self, args, kwargs, override_flat_arg_shapes)
1543             arg_names=arg_names,
1544             override_flat_arg_shapes=override_flat_arg_shapes,
-> 1545             capture_by_value=self._capture_by_value),
1546         self._function_attributes)
1547
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py in func_graph_from_py_func(name, python_func, args, kwargs, signature, func_graph, autograph, autograph_options, add_control_dependencies, arg_names, op_return_value, collections, capture_by_value, override_flat_arg_shapes)
713                                           converted_func)
714
--> 715       func_outputs = python_func(*func_args, **func_kwargs)
716
717       # invariant: func_outputs contains only Tensors, CompositeTensors,
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py in wrapped_fn(*args, **kwds)
305         # wrapped allows AutoGraph to swap in a converted function. We give
306         # the function a weak reference to itself to avoid a reference cycle.
--> 307         return weak_wrapped_fn().wrapped(*args, **kwds)
308     weak_wrapped_fn = weakref.ref(wrapped_fn)
309
~/anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py in wrapper(*args, **kwargs)
703           except Exception as e:  # pylint:disable=broad-except
704             if hasattr(e, "ag_error_metadata"):
--> 705               raise e.ag_error_metadata.to_exception(type(e))
706             else:
707               raise
TypeError: in converted code:
relative to /Users/yani:
Dropbox/MIT/projects/burgers_theta_updated/pde_superresolution_2d/datadrivenpdes/core/integrate.py:80 advance_until_saved_step
    while i < stop:
anaconda3/envs/pde_TF/lib/python3.7/site-packages/tensorflow/python/framework/ops.py:690 __bool__
    raise TypeError("Using a `tf.Tensor` as a Python `bool` is not allowed. "

TypeError: Using a `tf.Tensor` as a Python `bool` is not allowed. Use `if t is not None:` instead of `if t:` to test if a tensor is defined, and use TensorFlow ops such as tf.cond to execute subgraphs conditioned on the value of a tensor.

I use Python 3.7.3, and the packages versions that I use are:
absl-py==0.7.1
apache-beam==2.13.0
appnope==0.1.0
astor==0.8.0
attrs==19.1.0
avro-python3==1.9.0
backcall==0.1.0
bleach==3.1.0
certifi==2019.6.16
chardet==3.0.4
crcmod==1.7
cycler==0.10.0
decorator==4.4.0
defusedxml==0.6.0
dill==0.2.9
docopt==0.6.2
entrypoints==0.3
fastavro==0.21.24
future==0.17.1
gast==0.2.2
google-pasta==0.1.7
grpcio==1.22.0
h5py==2.9.0
hdfs==2.5.8
httplib2==0.12.0
idna==2.8
ipykernel==5.1.1
ipython==7.6.1
ipython-genutils==0.2.0
ipywidgets==7.5.0
jedi==0.13.3
Jinja2==2.10.1
jsonschema==3.0.1
jupyter==1.0.0
jupyter-client==5.3.1
jupyter-console==6.0.0
jupyter-core==4.5.0
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.1.1
MarkupSafe==1.1.1
matplotlib==3.1.0
mistune==0.8.4
mkl-fft==1.0.12
mkl-random==1.0.2
mock==2.0.0
nbconvert==5.5.0
nbformat==4.4.0
notebook==5.7.8
numpy==1.16.4
oauth2client==3.0.0
pandas==0.24.2
pandocfilters==1.4.2
parso==0.5.0
pbr==5.4.0
pexpect==4.7.0
pickleshare==0.7.5
prometheus-client==0.7.1
prompt-toolkit==2.0.9
protobuf==3.9.0
ptyprocess==0.6.0
pyarrow==0.13.0
pyasn1==0.4.5
pyasn1-modules==0.2.5
pydot==1.2.4
Pygments==2.4.2
pyparsing==2.4.0
pyrsistent==0.14.11
python-dateutil==2.8.0
pytz==2019.1
PyYAML==3.13
pyzmq==18.0.0
qtconsole==4.5.1
requests==2.22.0
rsa==4.0
scipy==1.2.1
Send2Trash==1.5.0
six==1.12.0
tensorboard==1.14.0
tensorflow==1.14.0
tensorflow-estimator==1.14.0
termcolor==1.1.0
terminado==0.8.2
testpath==0.4.2
tornado==6.0.3
traitlets==4.3.2
urllib3==1.25.3
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.15.4
widgetsnbextension==3.5.0
wrapt==1.11.2
xarray==0.12.3
xgboost==0.90

I just synced our internal code to this repository again. I think this specific error may be fixed by https://github.com/google-research/data-driven-pdes/commit/e182dde76e7d4f26e7f7381589acc31be28bc6ad. Can you give this a try again?
(I also really should get a continuous integration setup going on GitHub...)

Hi Stephan,
Thanks for the fast response. It is working now.
Me and Nick understand better from your tutorial how to define and solve an
equation. What seems to us complicated (or at least would require from us
to dive into your code, which we want to avoid), is where could we use some
ML to predict different things. Namely, if we want to train some algorithm,
to predict some of the terms in the equation (e.g., predict a forcing based
on ML, and not based on analytic formulation), where should we do it in the
code.
Thanks,
Yani and Nick
On Wed, Jul 17, 2019 at 2:45 PM Stephan Hoyer<EMAIL_ADDRESS>wrote:

I just synced our internal code to this repository again. I think this
specific error may be fixed by e182dde
https://github.com/google-research/data-driven-pdes/commit/e182dde76e7d4f26e7f7381589acc31be28bc6ad.
Can you give this a try again?
(I also really should get a continuous integration setup going on
GitHub...)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google-research/data-driven-pdes/issues/7?email_source=notifications&email_token=AFPRKJJJQXEELUAPPHNBP2LP75SELA5CNFSM4IETJ3EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2GG6LQ#issuecomment-512519982,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPRKJPI325PRBRUZFNKXGDP75SELANCNFSM4IETJ3EA
.

I think (@shoyer correct me if I'm wrong) what you need to do is write a Model (see here). As I wrote in the tutorial, a Model is a structure that takes the current state and calculates the time derivative. This is done by the method Model.time_derivative, which calculates all the inputs needed for the Equation.time_derivative function.
The model that you write calculate the inputs in any way you want, Random Forests or CNNs or whatever.

Eventually I'll add an example for this to the tutorial, but it will take a few weeks

I think (@shoyer correct me if I'm wrong) what you need to do is write a Model (see here

Generally you only need to reuse an existing Model, not write one from scratch. PseudoLinearModel is the main model we used in our PNAS paper.

Thanks. but they need to learn a reaction term, possibly not in a
convolutional setting. They might have to write a new one.
On Tue, Jul 23, 2019 at 11:53 AM Stephan Hoyer<EMAIL_ADDRESS>wrote:

I think (@shoyer https://github.com/shoyer correct me if I'm wrong)
what you need to do is write a Model (see here
https://github.com/google-research/data-driven-pdes/blob/master/datadrivenpdes/core/models.py
Generally you only need to reuse an existing Model, not write one from
scratch. PseudoLinearModel is the main model we used in our PNAS paper.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google-research/data-driven-pdes/issues/7?email_source=notifications&email_token=ABPA5PMHIR3RCS7BUPCJYETQA4SPJA5CNFSM4IETJ3EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2TSQXA#issuecomment-514271324,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPA5PMT2MJKJTG7B3BQ5RDQA4SPJANCNFSM4IETJ3EA
.

--
Yohai Bar Sinai
Post Doctoral Fellow
John A. Paulson School of Engineering and Applied Sciences
Harvard University


⚠ GG2RDF Service has degraded performance

In b944554, GG2RDF Service (https://gg2rdf.ld.plazi.org/status) experienced degraded performance:

HTTP code: 200
Response time: 670 ms

Resolved: GG2RDF Service performance has improved in 398f105 after 30 minutes.


Video Drivers crashing when using Files

Description
When Im using Files V2 everything starts lagging a lot and my screen goes black. Using latest Nvidia Drivers and latest Windows 11 version.
Steps To Reproduce
Just open Files V2 and happens for me.
Expected behavior
Just to not crash my computer. Before today it was working well.
Files Version
2.0
Windows Version
Windows 11 Insider Preview Build 22000.132
Relevant Assets
No response

@XjoaxelX the latest version available of Files is v1.9.23, can you check which version you're using?


invalid ELF header

Hi Team,
Good Library in Node. Its working fine in my local machine windows 10.
But when i tried to deploy in centos 7 server am facing the issue of invalid ELF header
Please let me know the solution for this.

Hi @nadesan3011
I suppose you are copying node_modules folder from Windows 10 to CentOS 7 server. If so, you need to reinstall the package<EMAIL_ADDRESS>or execute the command: npm i vntk --update-binary to update the binary which compatible with Linux/CentOS machine.

Closing due to inactivity

Thanks for the update.
Cheers...Nadesan G
*Cell:no: *+919944818535
Email<EMAIL_ADDRESS>Skype: nadesan1605
On Fri, Jul 3, 2020 at 2:41 PM Vu Bao Nhu<EMAIL_ADDRESS>wrote:

Hi @nadesan3011 https://github.com/nadesan3011
I suppose you are copying node_modules folder from Windows 10 to CentOS
7 server. If so, you need to reinstall the package<EMAIL_ADDRESS>or execute
the command: npm i vntk --update-binary to update the binary which
compatible with Linux/CentOS machine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vunb/vntk/issues/53#issuecomment-653441948, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMYYDO2VQZYQQHHCDA74423RZWODTANCNFSM4OO4IFFA
.


brake60::ID. what does this ID mean?

Hello Apollo team,
Brake60::ID sets 0x60 in apollo/modules/canbus/vehicle/lincoln/protocol/brake_60.cc. Does this ID mean a CAN Bus Identifier?
If the answer is yes then, why send protocol ID is different from receive protocol ID even if they are same module.
ex)
send protocol brake60 ID is 0x60
receive protocol brake61 ID is 0x61
they both are brake but ID is different.

In apllo,  CANbus just a moudle, like control, planning,and so on. Others moudle, like control or localization moudle, send message to canbus moudle, then canbus deal them and send them to the CANBUS(the true CANbus) by period.
Receive messages: from Apollo_moudle to CAN_CLIENT_, have 5 messages:
break_60
throttle_62
steering_64
gear_66
turnsignal_68
Send messages: from CAN_CLIENT_ to CANBUS, have 18 messages:
brake_61
throttle_63
steering_65
gear_67
misc_69
wheelspeed_6a
accel_6b
gyro_6c
gps_6d
gps_6e
gps_6f
tirepressure_71
fuellevel_72
surround_73
brakeinfo_74
throttleinfo_75
version_7f
license_7e
They all have their own correspondence ID, because the information they carry is different. For details, please carefully parse the .cc and .h files corresponding to each message and canbus.cc, and combining the corresponding module of the message to analyze, it may be more convenient to understand.
One more thing, the message format of CANBUS is in the DBC format.
Hope that can help you.

Closing this issue as it is resolved. @follow123 thank you for providing such a detailed response.


:bomb: Bug: Execute Command dtm develop validate-plugin --name=xxx Got Unexpected Logs

What Happened?
Execute Command dtm develop validate-plugin --name=xxx got unexpected logs.
$ dtm develop validate-plugin --name=xxx
2022-09-29 20:06:29 !! [ERROR]  Failed to validate: internal/pkg/plugin/xxx/xxx.go.
2022-09-29 20:06:29 !! [ERROR]  Failed to validate: internal/pkg/plugin/xxx/create.go.
2022-09-29 20:06:29 !! [ERROR]  Failed to validate: internal/pkg/plugin/xxx/delete.go.
2022-09-29 20:06:29 !! [ERROR]  Failed to validate: cmd/plugin/xxx/main.go.
2022-09-29 20:06:29 !! [ERROR]  stat internal/pkg/plugin/xxx/: no such file or directory
stat internal/pkg/plugin/xxx/: no such file or directory
stat internal/pkg/plugin/xxx/: no such file or directory
stat cmd/plugin/xxx/: no such file or directory
2022-09-29 20:06:29 !! [ERROR]  Plugin <xxx> does NOT passed validation.

Yeah, the plugin xxx doesn't exist, so dtm should tell me "The plugin xxx doesn't exist instead of so many error logs".
How to Reproduce?
Execute dtm develop validate-plugin --name=xxx
Anything else
A hint for how to get a plugin list:

dtm list plugins

DevStream Version
latest

Any new contributor interested in taking this one?

I'm no longer a new contributor, but you can assign it to me.

@algobot76 any update on this issue? If you are busy, we can reassign this one to another community member :)

@algobot76 any update on this issue? If you are busy, we can reassign this one to another community member :)

Sorry, I'm quite busy these days and don't have enough time to implement it. But I do have some implementation ideas and will post these ideas later tonight.

The main idea is to check if the directory cmd/plugin/{plugin_name} exists before plugin validation. The mainGoDirTpl template string in internal/pkg/develop/plugin/template/main.go can be used to get the directory path.

Any new first-time contributor would like to give this issue a try?

Can i work on this issue?
@IronCore864

@daniel-hutao

Can i work on this issue? @IronCore864


Implemented date_since in get_most_popular() inside search_promotions.models

Fixes #10812
Should the same change be applied to wagtail.search.models or is it better to create a separate issue?

[Y ] Do the tests still pass?[^1]
[Y] Does the code comply with the style guide?
[Y] For Python changes: Have you added tests to cover the new/fixed behaviour?

Great to hear, @lb-
I've added Issue #10980. Unfortunately, we're busy with other projects so we won't have time to contribute right now.
Thanks!


Upgrade nom

This upgrades nom to the latest stable version, 3.2.1. The changes can mostly be grouped into a few categories:

chain! -> do_parse!
Slightly different syntax, and doesn't take a closure as its final argument anymore.
caseless_tag -> builtin tag_no_case
multispace? -> opt!(multispace) and similar

TODOs:

[x] Fix statement_terminator. eof was replaced by an eof!() macro, but they seem to behave differently. I've tried making statement_terminator work with both semicolons, line endings and end of input, however I haven't gotten the last one working yet.

[x] ~Upgrade to nom 4. It's currently at alpha 2, so it looks like a release might be right around the corner. I've gotten nom-sql to compile here but it has a few test failures that look similar to the statement_terminator issues.~ EDIT: Might be better to try to get this merged first and wait with nom 4 until it's released.

Upgrade references

Upgrading to nom 2: https://github.com/Geal/nom/blob/master/doc/upgrading_to_nom_2.md
Upgrading to nom 3 (changelog): https://github.com/Geal/nom/blob/master/CHANGELOG.md#300---2017-05-12
Upgrading to nom 4: https://github.com/Geal/nom/blob/3ccab582a168bfa251303e21cb93fb31740b76fc/doc/upgrading_to_nom_4.md

There's probably quite a few subtle differences we'll have to investigate further as well.

No worries, no rush at all. I took a second look at the statement_terminator issue, and it seems to be fixed by replacing usages of opt!(multispace) with opt!(complete!(multispace)) - so I added a helper for that.
If I'm understanding it correctly, it seems like nom 2 changed some parsers into returning Incomplete instead of an error for empty inputs, which means empty inputs won't work with opt!(multispace). There's some more info about it here: https://github.com/Geal/nom/issues/271. Looking at the work-in-progress changelog entries for nom 4 it looks there's more Incomplete related changes further ahead as well.
Also ran distributary against this branch, which passed all the tests at least.

Apologies, I'll actually get to dealing with this tomorrow!
statement_terminator has always been problematic and the semantics of eof in nom have always been a bit funky; I'm not surprised it keeps causing trouble.
Parsers returning Incomplete are actually a bit painful for us to deal with, because nom (at least in older versions) doesn't backtrack when a child parser returns Incomplete; hence the liberally sprinkled complete! around any chain! in the old code. Looks like we need that in even more places now!

Speaking of shortcomings of nom, I came across of pom which feels way more intuitive and concise than nom. I've been playing with it a little bit, and I'm planning to make a derivative of this project using pom and with support for postgrsql as well, since I'm mostly working with postgresql database. I would just call is pom-sql(surprise). Who's with me?

Let's merge this (finally)!
@ekmartin -- I assume we actually need verbose-errors? From the description in the upgrade guide, it seems like we shouldn't, since we don't currently propagate errors back (though we should -- it would make parse errors much easier to debug!). However, I assume you added it for a reason.
@ivanceras pom looks intriguing! Feel free to take a stab at porting this project; I personally unfortunately won't have cycles to work on a port for a while (nom-sql grew out of need for a different project, and it's "good enough" for now). Postgres compatibility would be neat -- nom-sql's current compatibility story is "bits of SQLite and bits of MySQL, as needed by our queries" ;-)


Check whether the pubkey exists in ossl_ecx_key_dup

Sometimes we don't want to copy the pubkey, but haspubkey may be set to 1 in ossl_ecx_key_dup function, such as call the EVP_PKEY_copy_parameters function.

The selection argument of the provider keymgmt_dup functions is currently always set to duplicate everything. Also I am not sure even if we provided a public API allowing to choose the selection, whether we would want to allow making copies of a key without a public key this way.

I just think we should use the haspubkey field correctly.
pkey1 is X25519 key, is contains the public and private keys.
pkey2 = EVP_PKEY_new();
EVP_PKEY_copy_parameters(pkey2, pkey1);
EVP_PKEY_print_public_fp(stdout, pkey2, 0, NULL);

result:
X25519 Public-Key:
pub:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
00:00

Ah, you're right. I forgot about the copy_parameters function. Could you please add a testcase?

OK, I will add a testcase.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

This pull request is ready to merge

Merged to the master, 3.2, 3.1 and 3.0 branches. Thank you for your contribution.


User can change the text mode

I don't think we should force word font glyphs, especially because the king fahd quran complex has new quranic fonts that are character based (not word). we could incorporate that font and have an inconspicuous option buried deep under 'advanced settings' somewhere to swap from word font to text (i.e. using the KFQPC font)

but i definitely think now is not the right time to implement this

We had this initially no? Then we decided to just go fonts as it's better/easier for us to do more no?

yes that's right, this is a reconsideration for the future in light of
recent development
On Fri, Apr 1, 2016 at 9:29 PM Mohamed El Mahallawy <
<EMAIL_ADDRESS>wrote:

We had this initially no? Then we decided to just go fonts as it's
better/easier for us to do more no?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/quran/quran.com-frontend/issues/238#issuecomment-204535462

consider this low priority if we decide we want to do it
On Fri, Apr 1, 2016 at 10:04 PM Nour Sharabash<EMAIL_ADDRESS>wrote:

yes that's right, this is a reconsideration for the future in light of
recent development
On Fri, Apr 1, 2016 at 9:29 PM Mohamed El Mahallawy <
<EMAIL_ADDRESS>wrote:

We had this initially no? Then we decided to just go fonts as it's
better/easier for us to do more no?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/quran/quran.com-frontend/issues/238#issuecomment-204535462


[how to]How to input const uint32_t* adjacency

I know mesh base on vertex and triangle index, but where is adjacency from?
    HRESULT __cdecl UVAtlasCreate(
        _In_reads_(nVerts)                  const XMFLOAT3* positions,
        _In_                                size_t nVerts,
        _When_(indexFormat == DXGI_FORMAT_R16_UINT, _In_reads_bytes_(nFaces * sizeof(uint16_t)))
        _When_(indexFormat != DXGI_FORMAT_R16_UINT, _In_reads_bytes_(nFaces * sizeof(uint32_t))) const void* indices,
        _In_                                DXGI_FORMAT indexFormat,
        _In_                                size_t nFaces,
        _In_                                size_t maxChartNumber,
        _In_                                float maxStretch,
        _In_                                size_t width,
        _In_                                size_t height,
        _In_                                float gutter,
        _In_reads_(nFaces * 3)                const uint32_t* adjacency,
        _In_reads_opt_(nFaces * 3)            const uint32_t* falseEdgeAdjacency,
        _In_reads_opt_(nFaces * 3)            const float* pIMTArray,
        _In_opt_                            std::function<HRESULT __cdecl(float percentComplete)> statusCallBack,
        _In_                                float callbackFrequency,
        _In_                                UVATLAS options,
        _Inout_ std::vector<UVAtlasVertex>& vMeshOutVertexBuffer,
        _Inout_ std::vector<uint8_t>& vMeshOutIndexBuffer,
        _Inout_opt_ std::vector<uint32_t>* pvFacePartitioning = nullptr,
        _Inout_opt_ std::vector<uint32_t>* pvVertexRemapArray = nullptr,
        _Out_opt_                           float* maxStretchOut = nullptr,
        _Out_opt_                           size_t* numChartsOut = nullptr);

Per the documentation wiki you can use DirectXMesh's GenerateAdjacencyAndPointReps to compute it.

Per the documentation wiki you can use DirectXMesh's GenerateAdjacencyAndPointReps to compute it.

Can I input empty to it?

Face-adjacency information is required for the algorithm.


VSCode bash terminal text turns invisible

On VS Code's bash windows if I run a command that returns a long response like "git log" and interrupt it with double tapping ctrl + C then everything I type is invisible. Bash works as I can type "clear" and get a response for any command but I cannot see my text.
I am currently forced to delete the terminal and insert another one.

VSCode Version: 1.28.2
OS Version: Windows Enterprise 10.0.16299

Does this issue occur when all extensions are disabled?: Yes

This is likely related to winpty, tracking in https://github.com/Microsoft/vscode/issues/45693


fix mismatching checks

The IDs for a couple of checks were swapped incorrectly, fixed.
Some of the scored tests related to PSP were marked unscored incorrectly in upstream, fixed.

Related upstream PR: https://github.com/aquasecurity/kube-bench/pull/544

@prachidamle It's not Scored.

@leodotcloud so do we just copy over the "scored" tests from the upstream and run those as part of the scan?

@prachidamle we have a copy of the upstream tests in cis-1.4 folder and we keep only the Scored ones with the necessary modifications in rke-cis-1.4.


Lifts to .NET 8

Hello,
this PR pushes the project to the current .NET 8.
Have fun and take care!
best regards

Any ideas on which UI framework I should use to translate/convert the TestForm to?
I've took a look at MAUI, but they haven't added stable linux support yet and I'd like to make it available to
other OSes too. UNO platform maybe?


Memory Workspace cannot allocate MMAP (fails with "java.lang.RuntimeException: MMAP failed") when path to the mmap file is longer than 71 characters

On Windows creating Memory Workspace with LocationPolicy.MMAP will fail if the tempFileLocation path is longer than 71 characters.
To reproduce:
WorkspaceConfiguration mmap = WorkspaceConfiguration.builder()
				  .initialSize(100 * 1024L * 1024L) // 1 GB
				  .policyLocation(LocationPolicy.MMAP)
				  .tempFilePath("D:\\xxxxxxxx\\yyyyyyy\\zzzzzzzzzzz\\xxxxxxxx\\target\\temp\\123456789ABCDE.mmap")
				  .build();
try (MemoryWorkspace ws = Nd4j.getWorkspaceManager().getAndActivateWorkspace(mmap, "M2")) {
// Not important...
}

Error:
java.lang.RuntimeException: MMAP failed
	at org.nd4j.linalg.cpu.nativecpu.workspace.CpuWorkspace.init(CpuWorkspace.java:107)
(...)

Note that this paths' length is exactly 72 characters. If you drop one character from the name of the file, for example renaming it to 123456789ABCD.mmap mmap will be created fine.
Version Information

ND4J 1.0.0-beta6, CPU backend
Windows 10

Additional Information
https://gist.github.com/lukaszbachman/5b786f7e60c10f74bc7d5163811d5e93

I'm not 100% sure atm, but for me it sounds like a legacy WinAPI limitation of I/O api. There's couple of limitations like that exist in WinAPI.
I will check it out.

I suspected something along those lines. Any chance to get more meaningful error message from the native libs and pass it back to Java? Would definitely help to troubleshoot sooner.
Thanks for a quick response!

I'm not sure it's worth the hassle, it might be easier to adopt (or at least try to adopt) newer file API, since WIndows 10 family is the only version that must be supported these days

Fixed. Now limitation matches Java one.

That is awesome news! Where can I get snapshots of ND4J? Couldn't find that in the documentation.

https://deeplearning4j.konduit.ai/config/config-snapshots
But since this change is fairly recent one, it's not in snapshots yet.

Ok, clear


data source output changed when team project association deleted through UI

After manually removing team-project association through web UI, the TF plan looks like this:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  ~ update in-place
 <= read (data resources)

Terraform will perform the following actions:

  # data.rollbar_project.test will be read during apply
  # (config refers to values not yet known)
 <= data "rollbar_project" "test"  {
      ~ account_id    = 317418 -> (known after apply)
      ~ date_created  =<PHONE_NUMBER> -> (known after apply)
      ~ date_modified =<PHONE_NUMBER> -> (known after apply)
      ~ id            = 428663 -> (known after apply)
        name          = "tf-acc-test-example"
      ~ status        = "enabled" -> (known after apply)
    }

  # data.rollbar_project_access_token.test_token_1 will be read during apply
  # (config refers to values not yet known)
 <= data "rollbar_project_access_token" "test_token_1"  {
      ~ access_token                = "8eb16709d8cf44539a2db828a52a3575" -> (known after apply)
      ~ cur_rate_limit_window_count = 0 -> (known after apply)
      ~ cur_rate_limit_window_start =<PHONE_NUMBER> -> (known after apply)
      ~ date_created                =<PHONE_NUMBER> -> (known after apply)
      ~ date_modified               =<PHONE_NUMBER> -> (known after apply)
      ~ id                          = "1606213765" -> (known after apply)
        name                        = "test-token-1"
      ~ project_id                  = 428663 -> (known after apply)
      ~ rate_limit_window_count     = 500 -> (known after apply)
      ~ rate_limit_window_size      = 60 -> (known after apply)
      ~ scopes                      = [
          - "post_client_item",
        ] -> (known after apply)
      ~ status                      = "enabled" -> (known after apply)
    }

  # rollbar_project.test will be updated in-place
  ~ resource "rollbar_project" "test" {
        account_id    = 317418
        date_created  =<PHONE_NUMBER>
        date_modified =<PHONE_NUMBER>
        id            = "428663"
        name          = "tf-acc-test-example"
        status        = "enabled"
      ~ team_ids      = [
          + 702597,
        ]
    }

Plan: 0 to add, 1 to change, 0 to destroy.

This output is reasonable, because the impacted data sources have depends_upon relationships with the updated project - so Terraform knows it should re-read them.


in Sveltkit extended colors is not working

I wrote this colors in windi.config.cjs:
module.exports = {
  theme: {
    container: {
      center: true
    },
    extend: {
      colors: {
        white: '#ffffff',
        'gray-lightest': '#f8f8f9',
        'gray-lighter': '#e4e4e5',
        'gray-light': '#d0d1d1',

        gray: '#bebebf',
        'gray-dark': '#969697',
        'gray-darker': '#6e6f6f',
        'gray-darkest': '#484849',
        black: '#202021',

        'primary-light': '#cacfe3',
        primary: '#1a4c8f',
        'primary-dark': '#192846',

        'secundary-light': '#eac7c0',
        secundary: '#8f231a',
        'secundary-dark': '#481911',

        'info-light': '#d7eff9',
        info: '#33bee8',
        'info-dark': '#275b6d',

        'warning-light': '#faeed1',
        warning: '#dbbd45',
        'warning-dark': '#695a27',

        'success-light': '#d7f3d6',
        success: '#47cc5d',
        'success-dark': '#2b6131',

        'danger-light': '#fed2d1',
        danger: '#dd4054',
        'danger-dark': '#6a262c'
      }
    }
  },
  variants: {},
  plugins: []
};

In sevelte.config.cjs:
/** @type {import('@sveltejs/kit').Config} */
module.exports = {
	preprocess: [
		windicss({
			kit: true,
			config: "windi.config.cjs",
		}),
	],
	kit: {
.....

When I need to use text-primary the extended color is not working:
And in Code editor, the colors is not present in the list:

have you installed windicss as a dependency?

have you installed windicss as a dependency?
Yes. I installed using https://github.com/svelte-add/windicss:

  "devDependencies": {
    "@sveltejs/adapter-node": "next",
    "@sveltejs/kit": "next",
    "eslint": "^7.24.0",
    "eslint-config-prettier": "^8.2.0",
    "eslint-plugin-svelte3": "^3.1.2",
    "prettier": "~2.2.1",
    "prettier-plugin-svelte": "^2.2.0",
    "svelte": "^3.37.0",
    "svelte-windicss-preprocess": "^3.5.3",
    "vite": "^2.1.5",
    "windicss": "^2.5.14"
  }

Could you also include the output in VSCode Output Panel?

Windi CSS Intellisense is now active!

@moisesbites do the custom color work in browser?
Want to verify if this is an error in this extension or maybe a configuration error

@moisesbites do the custom color work in browser?
Yes. For example:

PRIMARY

SECUNDARY

WARNING

Want to verify if this is an error in this extension or maybe a configuration error

I think it's a error in extension, maybe some step is not working with windi.config.cjs.

yeah good point
internal note: we might miss the point cause we do not await the import while loading the config. maybe we move to plugin-utils here too
https://github.com/windicss/windicss-intellisense/blob/c382ae08cb7390bf47dcd12e9185d124ea9c9ffe/src/lib/core.ts#L25

@alexanderniebuhr  thank you.

@alexanderniebuhr I updated the extension to v0.11.4 and the extended colors is not working with extension.
In MS Code Console don't have any errors.

sorry cannot reproduce

Ok. @alexanderniebuhr thank you.

does it work now?

it should work with windicss extension too. Have you checked that you are on latest update of VS Code and Extension?


NetworkMonitor fails with missing value for networkID on Celo

An Indexer reported that the following error shows up whenever handling allocations[^1] for subgraphs exclusively on Celo network.
graph-indexer-agent[26040]: {
"level": 50,
  "time":<PHONE_NUMBER>681,
  "pid": 26040,
  "hostname": "<XXX>",
  "name": "IndexerAgent",
  "component": "NetworkMonitor",
  "err": {
    "type": "CombinedError",
    "message": "[GraphQL] No value provided for required variable `networkID`",
    "name": "CombinedError",
    "graphQLErrors": [
      {
        "message": "No value provided for required variable `networkID`"
      }
    ]
  },
  "allocationID": "0xfeE6977ccDA8037C589327b60DF8C8e282Ee1399",
  "deployment": "QmeWfMioAVdipQoxM5WxjtpU3ySYt7aedCECYToST2Rfui",
  "msg": "Failed to fetch block for resolving allocation POI"
}

Feb 07 13:21:33 graph-indexer-agent[26040]: {
  "level": 50,
  "time":<PHONE_NUMBER>682,
  "pid": 26040,
  "hostname": "<XXX>",
  "name": "IndexerAgent",
  "component": "IndexerManagementClient",
  "msg": "IndexerError: Failed to query Epoch Block Oracle Subgraph"
}

[^1]: create, close, reallocate and unallocate actions

I have failed to reproduce this error.
I've successfully opened and closed an allocation for the mentioned subgraph.
It can be seen in the Goerli Network Subgraph using this query:
query Allocation {
  allocation(id: "0x4028fb0bb1c695d484ee1f060c7171e4dbe32b09") {
    id
    status
    createdAtEpoch
    createdAtBlockNumber
    closedAtEpoch
    closedAtBlockNumber
    poi
    subgraphDeployment {
      ipfsHash
    }
  }
}

Which returns:
{
  "data": {
    "allocation": {
      "id": "0x4028fb0bb1c695d484ee1f060c7171e4dbe32b09",
      "status": "Closed",
      "createdAtEpoch": 2277,
      "createdAtBlockNumber": 8485824,
      "closedAtEpoch": 2278,
      "closedAtBlockNumber": 8486588,
      "poi": "0x1f910301163cb47bcc14031126a87e20dbb71ac48c4c874f729467fe560bf374",
      "subgraphDeployment": {
        "ipfsHash": "QmeWfMioAVdipQoxM5WxjtpU3ySYt7aedCECYToST2Rfui"
      }
    }
  }
}

We still have to test the hypothesis of this being a provider error.

The indexer informed us that this error happened in reallocations.

@tilacog do you know if this is still happening?


Add a Feedback Button

A user with feedback has no way to provide feedback to us, other than very publicly in an App/Play Store review.
We should add a "Submit Feedback" button which would launch the installed mail client.
To: [Needed: email address @fahd-arshad to arrange with NYS.]
Subject line: App Feedback for COVID Alert NY: Version [version number]
Body:
[five lines of blank space to allow the user to supply comments, followed by the following diagnostics data, automatically detected by the system)

App Version
Device Make & Model
OS Version & Play Services Version (Android only)
Native Version
JS Version
Status of EN framework (enabled or not) - if possible
Bluetooth active (yes/no) - if possible

Here's a format we can follow:

<EMAIL_ADDRESS>is the mailbox. This has NYS approval. Pls proceed.

Confirming Fahd's comment. This has been approved by NYSDOH.

This has been added and will be in the next build

Looks good to me

I'm seeing some issues with the diagnostics within the email body, which i was expecting to be more human readable?   Otherwise looks great!  Thanks for the quick turnaround.

I'm seeing some issues with the diagnostics within the email body, which i was expecting to be more human readable?
@ahurworth If you are referring to the "ENS Details" text that has a lot of {, it was my suggestion to do it like this. I think we're interested in us getting the full details rather than it looking good on the screen. Of-course we can do something like:

Can support? Yes
Supported? Yes
Enabled? Yes
Exposure permission status: Allowed
...

But imho those terms would just confuse the user more.
Let me know what you think.

@ahurworth  can you comment on this?

Details of the enhancement to this is outlined in #421

Thanks for elaborating, @floridemai .
First and foremost, we should optimize for getting the most granular data necessary for diagnosing issues by users.  So your more granular version is better than my original suggestion.
Having said that, any user that's not an Engineer by profession will look at that debug log and not understand it.  Similar to the  at the top, it feels like something is there that should not be there, and it creates the impression that something isn't working / there is a bug, or worse still: that something is being shared that I may not want to share.
So I like your suggestion of making it more human-readable - as long as that does not remove any crucial details that Engineers will need to troubleshoot any issue reported by a user.

@ahurworth We've got a first version of this in build 41 which you can try, and we're iterating on the format of the email (I believe John has sent you a proposal there).

Great!  Thanks!
@kevin-sheldon we're proposing adding a title above the diagnostics information so that the user is less confused about why the information is there.  Let us know if you have any objections with:
Please do not remove. This info helps the technical team assist you:

Ive updated the body of the email to include a message explaining what this is and made the fields a lot more readable so that users don't think we're doing anything untoward. Should be included in the next build

@kevin-sheldon @ahurworth @helloantoine Can you please try out the implementation of this in Build 42 (released today)

Looks good. Thanks!


Added debian's listed package content dpkg -L

slef explenatory, ;).
Would you like to go deeper into packet management? or would like to keep it "broad" to fit most operating system (which is IMO the best way to go).

Thanks! Can you add a reference?


Bug passing a list instead of a str

Describe the bug
When passing a list to stringlifier, it crashes with:
Traceback (most recent call last):
  File "test.py", line 17, in <module>
    x = stringlifier(s.split("/"))
  File "/root/p3.8/lib/python3.8/site-packages/stringlifier/api.py", line 61, in __call__
    new_str, toks = self._extract_tokens(tokens[iBatch], p_ts[iBatch], cutoff=cutoff)
  File "/root/p3.8/lib/python3.8/site-packages/stringlifier/api.py", line 118, in _extract_tokens
    if cls == 'C' and string[ii] in numbers:

Fixed this and released 1.1.4:
In [1]: from stringlifier.api import Stringlifier

In [2]: s=Stringlifier()

In [3]: s(['abc', 'def 12345678'], return_tokens=True)
Out[3]: (['abc', 'def <NUMERIC>'], [[], [('12345678', 4, 11, '<NUMERIC>')]])

Hope this helps!


Can't reproduce AGIEval result of LISA

Hi,
I have a question about AGIEval (3-shot) in Table 2. Which version of lm_eval do you use for AGIEval?
I used v0.4.4 with 0-shot on the pretrained version of Llama-2-7b, the result is much better than the reported number.

Tasks
Version
Filter
n-shot
Metric

Value

Stderr

agieval
0
none

acc
↑
0.2906
±
0.0048

- agieval_aqua_rat
1
none
0
acc
↑
0.2598
±
0.0276

none
0
acc_norm
↑
0.2756
±
0.0281

- agieval_gaokao_biology
1
none
0
acc
↑
0.2381
±
0.0295

none
0
acc_norm
↑
0.2905
±
0.0314

- agieval_gaokao_chemistry
1
none
0
acc
↑
0.2367
±
0.0296

none
0
acc_norm
↑
0.2560
±
0.0304

- agieval_gaokao_chinese
1
none
0
acc
↑
0.2805
±
0.0287

none
0
acc_norm
↑
0.2805
±
0.0287

- agieval_gaokao_english
1
none
0
acc
↑
0.3595
±
0.0275

none
0
acc_norm
↑
0.2974
±
0.0262

- agieval_gaokao_geography
1
none
0
acc
↑
0.2412
±
0.0304

none
0
acc_norm
↑
0.2764
±
0.0318

- agieval_gaokao_history
1
none
0
acc
↑
0.2936
±
0.0298

none
0
acc_norm
↑
0.2340
±
0.0277

- agieval_gaokao_mathcloze
1
none
0
acc
↑
0.0424
±
0.0186

- agieval_gaokao_mathqa
1
none
0
acc
↑
0.2593
±
0.0234

none
0
acc_norm
↑
0.2650
±
0.0236

- agieval_gaokao_physics
1
none
0
acc
↑
0.3200
±
0.0331

none
0
acc_norm
↑
0.3400
±
0.0336

- agieval_jec_qa_ca
1
none
0
acc
↑
0.4454
±
0.0157

none
0
acc_norm
↑
0.4464
±
0.0157

- agieval_jec_qa_kd
1
none
0
acc
↑
0.4880
±
0.0158

none
0
acc_norm
↑
0.4920
±
0.0158

- agieval_logiqa_en
1
none
0
acc
↑
0.2473
±
0.0169

none
0
acc_norm
↑
0.2980
±
0.0179

- agieval_logiqa_zh
1
none
0
acc
↑
0.2565
±
0.0171

none
0
acc_norm
↑
0.3149
±
0.0182

- agieval_lsat_ar
1
none
0
acc
↑
0.2391
±
0.0282

none
0
acc_norm
↑
0.2000
±
0.0264

- agieval_lsat_lr
1
none
0
acc
↑
0.2431
±
0.0190

none
0
acc_norm
↑
0.2235
±
0.0185

- agieval_lsat_rc
1
none
0
acc
↑
0.2565
±
0.0267

none
0
acc_norm
↑
0.2268
±
0.0256

- agieval_math
1
none
0
acc
↑
0.0780
±
0.0085

- agieval_sat_en
1
none
0
acc
↑
0.3495
±
0.0333

none
0
acc_norm
↑
0.2427
±
0.0299

- agieval_sat_en_without_passage
1
none
0
acc
↑
0.3350
±
0.0330

none
0
acc_norm
↑
0.2087
±
0.0284

- agieval_sat_math
1
none
0
acc
↑
0.2455
±
0.0291

none
0
acc_norm
↑
0.2182
±
0.0279

Groups
Version
Filter
n-shot
Metric

Value

Stderr

agieval
0
none

acc
↑
0.2906
±
0.0048

Thanks for your interest in LMFlow and LISA! The version of lm_eval is 0.4.2, below is our eval log.

Hope this information can be helpful 😄


AVRO-2584: Bump netty-codec-http2 from 4.1.39.Final to 4.1.42.Final

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-XXX
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

@Fokko can you please resolve the merge conflicts?


[BUG]: PayPalHostedFieldsProvider is not working

Is there an existing issue for this?

[X] I have searched the existing issues.

🐞 Describe the Bug
I'm having some issues with PayPalHostedFieldsProvider.
I followed exactly what is in the example, getting no errors, but it´s showing nothing.
Here is the code:
  const options = {
    currency: 'USD',
    components: 'hosted-fields',
    intent: 'capture',
    'client-id': 'xxxxxxxx',
    'data-client-token': 'xxxxxxxx',
  };

    <PayPalScriptProvider options={options}>
      <PayPalHostedFieldsProvider
        createOrder={() => {
          // Here define the call to create and order
          return (
            fetch('/your-server-side-integration-endpoint/orders')
              .then((response) => response.json())
              // .then((order) => order.id)
              .catch((err) => {
                // Handle any error
                console.log(err);
              })
          );
        }}
      >
        <PayPalHostedField
          id="card-number"
          hostedFieldType="number"
          options={{ selector: '#card-number' }}
        />
        <PayPalHostedField
          id="cvv"
          hostedFieldType="cvv"
          options={{ selector: '#cvv' }}
        />
        <PayPalHostedField
          id="expiration-month"
          hostedFieldType="expirationMonth"
          options={{ selector: '#expiration-month', placeholder: 'MM' }}
        />
        <PayPalHostedField
          id="expiration-year"
          hostedFieldType="expiration"
          options={{ selector: '#expiration-year', placeholder: 'YYYY' }}
        />
      </PayPalHostedFieldsProvider>
    </PayPalScriptProvider>

😕 Current Behavior
No response
🤔 Expected Behavior
No response
🔬 Minimal Reproduction
No response
🌍 Environment
| Software         | Version(s) |
| ---------------- | ---------- |
| react-paypal-js  |            |
| Browser          |            |
| Operating System |            |

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

➕ Anything else?
No response

@lu-cruz did you fix this issue. Same here :(

@lu-cruz did you fix this issue. Same here :(

Unfortunately not yet...
Just waiting for answers

Good morning @lu-cruz, please can you define a custom error component and pass it to the PayPalHostedFieldsProvider. I mean something like this:
const NotEligible = () => (
Your account is not eligible
);

<PayPalHostedFieldsProvider notEligibleError={<NotEligible />} />

To check if your account is eligible to use hosted fields?

Hey, @borodovisin morning thanks for the response! I'm getting this notEligibleError right now...
So what should I do to make my account eligible to use these fields?

Hi @lu-cruz, you're right. If the account you're using is ineligible, you won't be able to use the HostedFields.
You need to use an eligible client-id to make the HostedFields works...

Hi @lu-cruz, HostedFields is disabled by default. You need to follow this guide:
https://developer.paypal.com/docs/checkout/advanced/integrate/
Please be aware of this section: Enable your account

Thank you very much! @borodovisin