Azure provider deting records while policy is upsert-only

Hi,
We're looking to use external-dns to compliment the rest of our automation infrastructure, allowing us to release new versions or environments with minimal human interaction. We're deploying on Azure and have noticed that the controller loop is alternating between deleting the records and creating them.
While we are using istio, we're currently not using the istio gateways due to the automatic ssl cert integration still needing some work.
any suggestions are appreciated, thanks
Docker image registry.opensource.zalan.do/teapot/external-dns:v0.5.6
args
      --source=ingress
      --domain-filter=domainA.tools
      --domain-filter=domainB.net
      --provider=azure
      --azure-resource-group=AZURE_RESOURCE_GROUP
      --log-level=debug
      --policy=upsert-only

ingress
Name:             viki
Namespace:        default
Address:          <IP_ADDRESS>
Default backend:  default-http-backend:80 (<none>)
TLS:
  viki-tls terminates viki.domainB.net
Rules:
  Host                      Path  Backends
  ----                      ----  --------
  viki.domainB.net
                            /   viki:80 (<none>)
Annotations:
  certmanager.k8s.io/acme-dns01-provider:  public
  certmanager.k8s.io/cluster-issuer:       letsencrypt-prod
  kubernetes.io/ingress.class:             nginx
Events:                                    <none>

Name:             kiali
Namespace:        istio-system
Address:          <IP_ADDRESS>
Default backend:  default-http-backend:80 (<none>)
TLS:
  kiali-tls terminates kiali.domainA.tools
Rules:
  Host                Path  Backends
  ----                ----  --------
  kiali.domainA.tools
                      /   kiali:20001 (<none>)
Annotations:
  certmanager.k8s.io/cluster-issuer:       letsencrypt-prod
  kubernetes.io/ingress.class:             nginx-internal
  certmanager.k8s.io/acme-dns01-provider:  internal
Events:

pod logs
time="2018-10-02T07:44:38Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:44:38Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:44:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:45:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:45:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:45:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainB.net'."
time="2018-10-02T07:45:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainA.tools'."
time="2018-10-02T07:45:37Z" level=debug msg="Endpoints generated from ingress: default/viki: [viki.domainB.net 0 IN A <IP_ADDRESS> viki.domainB.net 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:45:37Z" level=debug msg="Endpoints generated from ingress: istio-system/kiali: [kiali.domainA.tools 0 IN A <IP_ADDRESS> kiali.domainA.tools 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:45:37Z" level=debug msg="Removing duplicate endpoint viki.domainB.net 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:45:37Z" level=debug msg="Removing duplicate endpoint kiali.domainA.tools 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:45:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:45:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:45:37Z" level=info msg="Updating A record named 'viki' to '<IP_ADDRESS>' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:45:38Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:45:38Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:45:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:46:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:46:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:46:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainB.net'."
time="2018-10-02T07:46:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainA.tools'."
time="2018-10-02T07:46:37Z" level=debug msg="Endpoints generated from ingress: default/viki: [viki.domainB.net 0 IN A <IP_ADDRESS> viki.domainB.net 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:46:37Z" level=debug msg="Endpoints generated from ingress: istio-system/kiali: [kiali.domainA.tools 0 IN A <IP_ADDRESS> kiali.domainA.tools 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:46:37Z" level=debug msg="Removing duplicate endpoint viki.domainB.net 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:46:37Z" level=debug msg="Removing duplicate endpoint kiali.domainA.tools 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:46:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:46:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:46:37Z" level=info msg="Updating A record named 'viki' to '<IP_ADDRESS>' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:46:38Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:46:38Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:46:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:47:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:47:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:47:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainB.net'."
time="2018-10-02T07:47:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainA.tools'."
time="2018-10-02T07:47:37Z" level=debug msg="Endpoints generated from ingress: default/viki: [viki.domainB.net 0 IN A <IP_ADDRESS> viki.domainB.net 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:47:37Z" level=debug msg="Endpoints generated from ingress: istio-system/kiali: [kiali.domainA.tools 0 IN A <IP_ADDRESS> kiali.domainA.tools 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:47:37Z" level=debug msg="Removing duplicate endpoint viki.domainB.net 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:47:37Z" level=debug msg="Removing duplicate endpoint kiali.domainA.tools 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:47:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:47:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:47:37Z" level=info msg="Updating A record named 'viki' to '<IP_ADDRESS>' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:47:38Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:47:38Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:47:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:48:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:48:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:48:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainB.net'."
time="2018-10-02T07:48:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainA.tools'."
time="2018-10-02T07:48:37Z" level=debug msg="Endpoints generated from ingress: default/viki: [viki.domainB.net 0 IN A <IP_ADDRESS> viki.domainB.net 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:48:37Z" level=debug msg="Endpoints generated from ingress: istio-system/kiali: [kiali.domainA.tools 0 IN A <IP_ADDRESS> kiali.domainA.tools 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:48:37Z" level=debug msg="Removing duplicate endpoint viki.domainB.net 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:48:37Z" level=debug msg="Removing duplicate endpoint kiali.domainA.tools 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:48:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:48:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:48:37Z" level=info msg="Updating A record named 'viki' to '<IP_ADDRESS>' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:48:37Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:48:38Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:48:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:49:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:49:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:49:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainB.net'."
time="2018-10-02T07:49:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainA.tools'."
time="2018-10-02T07:49:37Z" level=debug msg="Endpoints generated from ingress: default/viki: [viki.domainB.net 0 IN A <IP_ADDRESS> viki.domainB.net 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:49:37Z" level=debug msg="Endpoints generated from ingress: istio-system/kiali: [kiali.domainA.tools 0 IN A <IP_ADDRESS> kiali.domainA.tools 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:49:37Z" level=debug msg="Removing duplicate endpoint viki.domainB.net 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:49:37Z" level=debug msg="Removing duplicate endpoint kiali.domainA.tools 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:49:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:49:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:49:37Z" level=info msg="Updating A record named 'viki' to '<IP_ADDRESS>' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:49:37Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:49:38Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:49:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:50:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:50:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:50:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainB.net'."
time="2018-10-02T07:50:37Z" level=debug msg="Retrieving Azure DNS records for zone 'domainA.tools'."
time="2018-10-02T07:50:37Z" level=debug msg="Endpoints generated from ingress: default/viki: [viki.domainB.net 0 IN A <IP_ADDRESS> viki.domainB.net 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:50:37Z" level=debug msg="Endpoints generated from ingress: istio-system/kiali: [kiali.domainA.tools 0 IN A <IP_ADDRESS> kiali.domainA.tools 0 IN A <IP_ADDRESS>]"
time="2018-10-02T07:50:37Z" level=debug msg="Removing duplicate endpoint viki.domainB.net 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:50:37Z" level=debug msg="Removing duplicate endpoint kiali.domainA.tools 0 IN A <IP_ADDRESS>"
time="2018-10-02T07:50:37Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T07:50:37Z" level=debug msg="Found 2 Azure DNS zone(s)."
time="2018-10-02T07:50:37Z" level=info msg="Updating A record named 'kiali' to '<IP_ADDRESS>' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:50:38Z" level=info msg="Updating TXT record named 'kiali' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/istio-system/kiali\"' for Azure DNS zone 'domainA.tools'."
time="2018-10-02T07:50:38Z" level=info msg="Updating A record named 'viki' to '<IP_ADDRESS>' for Azure DNS zone 'domainB.net'."
time="2018-10-02T07:50:38Z" level=info msg="Updating TXT record named 'viki' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/default/viki\"' for Azure DNS zone 'domainB.net'."

Azure logs

+1 I am also having the same issue during my testing

@jon-walton I managed to get the DNS records to stick by switch to latest 0.5.7 tagged version and ensuring  --policy=upsert-only, not sync (which I tried out to see if that would make any difference, but it didn't).
I couldn't understand why the deletions were occurring as there were no records of it being requested from the external-dns logs, but it seems fine now anyway.

Yeah I thought the same when I looked through them @jon-walton. I had the problem surface again later on today. Something temperamental appears to be going on.I still can't quite work out why its happening, but will give it a look again tomorrow too. Probably chat to you then :)

These are my logs:
time="2018-10-02T22:56:38Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T22:56:39Z" level=debug msg="Found 1 Azure DNS zone(s)."
time="2018-10-02T22:56:39Z" level=debug msg="Retrieving Azure DNS records for zone 'mydomain.com'."
time="2018-10-02T22:56:39Z" level=debug msg="Found CNAME record for '*.mydomain.com' with target 'blah.westeurope.cloudapp.azure.com'."
time="2018-10-02T22:56:39Z" level=debug msg="Endpoints generated from ingress: kube-system/traefik-dashboard: [traefik.example.com 0 IN A <IP_ADDRESS>]"
time="2018-10-02T22:56:39Z" level=debug msg="Endpoints generated from ingress: operator/kibana: [kibana.mydomain.com 0 IN A <IP_ADDRESS>]"
time="2018-10-02T22:56:39Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T22:56:39Z" level=debug msg="Found 1 Azure DNS zone(s)."
time="2018-10-02T22:56:39Z" level=info msg="Ignoring changes to 'traefik.example.com' because a suitable Azure DNS zone was not found."
time="2018-10-02T22:56:39Z" level=info msg="Updating A record named 'kibana' to '<IP_ADDRESS>' for Azure DNS zone 'mydomain.com'."
time="2018-10-02T22:56:40Z" level=info msg="Updating TXT record named 'kibana' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/operator/kibana\"' for Azure DNS zone 'mydomain.com'."
time="2018-10-02T22:57:38Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T22:57:39Z" level=debug msg="Found 1 Azure DNS zone(s)."
time="2018-10-02T22:57:39Z" level=debug msg="Retrieving Azure DNS records for zone 'mydomain.com'."
time="2018-10-02T22:57:39Z" level=debug msg="Found CNAME record for '*.mydomain.com' with target 'thameswater.westeurope.cloudapp.azure.com'."
time="2018-10-02T22:57:39Z" level=debug msg="Endpoints generated from ingress: kube-system/traefik-dashboard: [traefik.example.com 0 IN A <IP_ADDRESS>]"
time="2018-10-02T22:57:39Z" level=debug msg="Endpoints generated from ingress: operator/kibana: [kibana.mydomain.com 0 IN A <IP_ADDRESS>]"
time="2018-10-02T22:57:39Z" level=debug msg="Retrieving Azure DNS zones."
time="2018-10-02T22:57:39Z" level=debug msg="Found 1 Azure DNS zone(s)."
time="2018-10-02T22:57:39Z" level=info msg="Ignoring changes to 'traefik.example.com' because a suitable Azure DNS zone was not found."
time="2018-10-02T22:57:39Z" level=info msg="Updating A record named 'kibana' to '<IP_ADDRESS>' for Azure DNS zone 'mydomain.com'."
time="2018-10-02T22:57:40Z" level=info msg="Updating TXT record named 'kibana' to '\"heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/operator/kibana\"' for Azure DNS zone 'mydomain.com'."

@jon-walton our cases have a small difference:
You at least appear to have deletion events in yours, while I have none. I have been looking at the code in the azure provider and can't quite see why it would do a deletion without logging it. Yet I can see in the Azure portal that the service account I put into /etc/kubernetes/azure.json is the same one doing the addition/deletions.
My A/TXT addition and deletion events are roughly 30 secs apart from each other, yours are around 40 secs, so could be seeing related behaviour?

Sigh.. embarrassingly I just deployed external-dns with the same config in 2 different clusters by accident. They were fighting each other. Remove one and things stabilise.. will keep an eye on it to make sure that's all it was.

hmm.... yes.... indeed... sigh. I was about to post that the records were still being deleted even after scaling the deployment to 0 on the cluster and (on my laptop) setting a breakpoint within the loop or killing the process before the next loop.
It turns out that I had forgotten I also tried out the new kubernetes features in docker (rather then using minikube) and it was running external-dns from the same helm charts.
on the plus side, I did upgrade the azure sdk, which adds contexts to the api requests. I'll probably open a pull request for that tomorrow


Update API to accept and verify oauth tokens

External applications are not able to login with 3rd party applications (such as Google or GitHub) through Authify. It would be nice if the API could take in a token or payload from the third party provider, verify the token or payload with the third party provider, and then return an Authify token.

After some thought, I don't think the API is the right place to do this. I'm considering adding a plugin infrastructure to the API that could allow a way to do what you're asking, but that's pretty abstract and not a near-term goal. I think what you're asking for is better handled in the front-end (such as Authify::Web where I do this already, via the Trusted Delegate functionality.


Add compat data for CSS scrollbars spec

https://drafts.csswg.org/css-scrollbars-1/
The current data on caniuse.com is outdated, and only has the non-standard webkit and MS properties.
Firefox supports the official specification.

+1

https://www.smashingmagazine.com/2018/10/tpac-css-working-group-new/#css-scrollbars
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars

https://caniuse.com/#feat=css-scrollbar includes official support, though there's also https://caniuse.com/#feat=mdn-css_properties_scrollbar-color etc. for individual properties.


Move grpc-testing to a test dependency instead of a compiled dep

Superceeded by https://github.com/temporalio/temporal-java-sdk/pull/78


Add a comment property to the .bug() trait.

This PR adds an optional comment property to the .bug() trait so that developers can associate additional notes that may not be obvious from just a bug's identifier. Since the testing library can't go off crawling arbitrary bug trackers looking for metadata, it makes sense to include basic metadata inline. For example, since this PR is resolving rdar://124101140 whose description in Apple's Radar system is "Add an optional Comment parameter to .bug trait", an associated test could have this trait added to it:
.bug("rdar://124101140", "Add an optional Comment parameter to `.bug` trait")

This PR also adds Codable conformance to Bug so that it can be encoded and decoded when needed.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test

@swift-ci please test


also override systems flake

in our nixos test we currently list all inputs available to the test. Therefore we need them all at the top most level.
flake.lock: Update
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
→ 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
• Added input 'flake-utils/systems':
follows 'systems'
• Added input 'systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)

bors merge


conditionNotMet is not a request error

Ref #23075

412 is also not the right HTTP status code for this, imho 😝


add mongo config to restrict volume

Thanks for the PR!
Any successful deployments (not always required) will be available below.
API available
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

starts very minimal @DerekRoberts


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_9d0ed0b7-c817-4efc-99b6-3cdcbd78d37f/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_9d0ed0b7-c817-4efc-99b6-3cdcbd78d37f.git

Docs Build status updates of commit b273814:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in https://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


DNS lookup problems leading to weird behavior

I ran into this problem twice in two days.
I can still reach embassy over the LAN address, but when I try to open e.g. itchysats UI with a link generated by embassy for the installed package I run into this problem:
Network Error error sending request for url (https://registry.start9.com//package/v0/index?page=1&per-page=100&eos-version-compat=%3E%3D0.3.0+%3C%3D<IP_ADDRESS>&arch=aarch64): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution

Other apps also don't work properly then.
Note: Internally everything is fine, the health checks of the packages are green.
I could solve this by unplugging and re-plugging the network cable and restarting the embassy.
I could blame it on my router setup, but I only ever had this problem with the embassy.
I don't think this is related to our itchysats package setup, but I wanted to learn more before opening a ticket upstream.

I was unable to pin this problem down to embassy os; I do still run into this problem somtimes (and un+re-plugging the cable still fixes it...) but it seems to be related to the DNS settings of my network / router configuration. I don't think the wrapper / embassy can do anything here so I am closing this for now.


WIP: Document customer call procedure

Opening a ticket to document procedure on customer calls:

Making sure we understand the customer's goals and requirements before going into detailed technical questions, even if that is where technical people on the call want to take the conversation
Guidelines on what we should share and not share. Knowing what NDA we're under. If we're saying "no" that a certain scenario isn't supported, to what extent do we share our roadmap and work under development? (we should share)
Getting the agenda in advance to prepare for the call, possibly send documentation and guides ahead of time to focus on questions not covered. Having a process to turn questions not covered into more documentation for other customers.
Have questions for them on how their deployment is going, how their technical setup looks, e.g. what drivers are they using, etc.

@sadohert, I can't find this in the Handbook but wondering if it's part of onboarding/internal content? If not, and you have this at hand, would you be open to adding to to the Handbook either as a link or a section: https://handbook.mattermost.com/operations/sales.
Apologies if you're not responsible for this, feel free to tag onward. :)


[feature request] Add Tanstack-Query v5 Support

Tanstack query has had a major version upgrade from v4 to v5 and there are some interesting benefits of having v5.
The migration guide to migrate from v4 to v5 can be found here: migrating-to-v5
I'd love to add the feature myself, but i dont have any experience with typescript code generation. The changes itself shouldnt be too hard and if someone wants to implement it or give me a little hint or example on where to start, then please!

Big libraries in EVM client world have also adopted the Tanstack-Query@v5 for a few months now: https://wagmi.sh/react/guides/migrate-from-v1-to-v2 https://github.com/wevm/wagmi/releases/tag/%40wagmi%2Fcore%402.0.1

Thanks! We've put it on our backlog :) will take a look w team asap!

Im happy to implement and pr, just dont know where to start

Would be amazing!

This is much needed !

TanStack Query v5 has been looking 👌 would be cool

hey @MbBrainz you can help by giving me a template/sketch of the changes, see our fixture here
https://github.com/CosmWasm/ts-codegen/blob/main/__output__/sg721/Sg721.react-query.ts
I'm also thinking we should rename the feature/option from react-query to tanstack #143

@pyramation I made the necessary changes to sg721.react-query.ts to be compatible with<EMAIL_ADDRESS>in this pull request. I installed that dep locally and checked the types. This should be completely functional.
In case anything is not clear, the migration guide migrating-to-v5 is very clear.

@pyramation checkout my template sketch

Any update on this?


[WIP] add execute-in-vm and cleanup-vm task

Adds two additional tasks:
execute-in-vm task  can execute a script, or a command in a Virtual Machine over SSH. The execution of a command can be implemented by other backends in the future. README
cleanup-vm task  can execute a script, or a command in a Virtual Machine and stop/delete
the VM afterwards. It is best used together with tekton pipelines finally construct. It uses execute-in-vm image as an implementation. README
Todo:

[x] unit tests
[ ] functional tests

added unit tests


Help Improving Predictions

Hi, thank you for putting this code together.
I am testing it out and trying to understand if I am doing something wrong. Here are the results I've gotten which is quite flickery compared to the original example. Any pointers on what parameters need to be adjusted would be helpful, thank you.
I've left small_seq_len=2
https://github.com/RaymondWang987/FMNet/assets/82180221/7c442522-efd2-4f47-ad87-5f3db885f573
FMNet_Test_Frames.zip

Hi！Sorry for the late reply.
Your test sequence is for outdoor driving scenes. However, the checkpoint contained in my FMNet repo is only trained on indoor NYUDV2 dataset. There is a large domain gap between the training data and your test sequence, which leads to obvious performance degradation. In this case, you should train the model on outdoor driving datasets and the results will be improved. Besides, you can also try on our work "Neural Video Depth Stabilizer"(NVDS) accepted by ICCV2023 (https://github.com/RaymondWang987/NVDS).  NVDS is trained on large scale natural-scene dataset and can deal with many in-the-wild videos.


Fix specification for string.capitalize()

This was a mistake, as discussed on https://github.com/google/skylark/issues/140
string.capitalize uses uppercase only for the first character, unlike
string.title which does it for the first character of every word.

cc @alandonovan


Improve volumes and logging

Add logging to search_one function
Use default docker volumes

Well, it looks a bit verbose in the logs but in this case I think it's OK.


Monterey 12.4 Issue

latest main.py hangs before prompt to pick external or local .ipa. prompt never happens? Works on my iPhone. Worked fine before today's latest update? I deleted old permasigner folder and re-Gitted it.
Terminal Output:
terramoda@terraMODAs-Mac-Pro permasigner % python3 main.py
IPA Permasigner | Version main-244b6dc
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze

Just hangs there?

Run git pull and try again

same....

terramoda@terraMODAs-Mac-Pro permasigner % python3 main.py
IPA Permasigner | Version main-cec1e5a
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze

OK, after some time I got a warning ldid was broken or outdated.  Installing ldid via brew fixed it. You can close the issue. Thanks!

Don’t use brew ldid! It won’t work with the script.
I’m currently adding debug statements to find out where it’s failing.
Make sure to remove brew’s ldid

Can you please run git pull and run python3 main.py --debug? Then show me the output.

Here is the output. I'm using brew installed dpkg, ldid and it's working? I don't have either in permasigner dir, running from PATH.
terramoda@terraMODAs-Mac-Pro ~ % cd permasigner
terramoda@terraMODAs-Mac-Pro permasigner % python3 main.py --debug
IPA Permasigner | Version main-cec1e5a
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze
[?] Would you like to use an IPA stored on the web, or on your system? [external, local] local
[*] Created temporary directory.
[?] Paste in the path to an IPA in your file system: /Users/terramoda/Documents/IPA/Poison-202 (v2.5.4 v<IP_ADDRESS> unk PI 64bit os100 ok14)-user_hidden.bfi.ipa
[*] Unzipping IPA...
[*] Reading plist...
Found plist!
Executable found.
Found information about the app!
[*] Preparing deb file...
Making directories...
Copying deb file scripts and control...
Copying app files...
Changing deb file scripts permissions...
Changing app executable permissions...
[*] Signing app...
Signing with ldid...
usage: ldid -S[entitlements.xml]
ldid -e MobileSafari
ldid -S cat
ldid -Stfp.xml gdb
[*] Packaging the deb file...
[DEBUG] Running command: dpkg-deb -Zxz --root-owner-group -b /var/folders/5q/1p1130k135bg1_3my8bwz4_r0000gn/T/tmp5vgrvxqi/deb output/Poison-202.deb
[] We are finished!
[] Copy the newly created deb from the output folder to your jailbroken iDevice and install it!
[*] The app will continue to work when rebooted to stock.
terramoda@terraMODAs-Mac-Pro permasigner %

ls of my permasigner dir
terramoda@terraMODAs-Mac-Pro permasigner % ls -l
total 112
-rw-r--r--  1 terramoda  staff    774 Jul  8 14:09 Dockerfile
-rw-r--r--  1 terramoda  staff   1514 Jul  8 14:09 LICENSE
-rw-r--r--  1 terramoda  staff   3641 Jul  8 14:09 README.md
-rw-r--r--  1 terramoda  staff    316 Jul  8 14:09 control
-rw-r--r--  1 terramoda  staff   5257 Jul  8 14:09 dev_certificate.p12
-rw-r--r--  1 terramoda  staff    787 Jul  8 14:09 entitlements.plist
-rw-r--r--  1 terramoda  staff  14104 Jul  8 14:49 main.py
drwxr-xr-x  4 terramoda  staff    128 Jul  8 19:39 output
-rw-r--r--  1 terramoda  staff     49 Jul  8 14:09 postinst
-rw-r--r--  1 terramoda  staff     49 Jul  8 14:09 postrm
-rw-r--r--  1 terramoda  staff    136 Jul  8 14:09 requirements.txt
drwxr-xr-x  6 terramoda  staff    192 Jul  8 14:10 utils
terramoda@terraMODAs-Mac-Pro permasigner %

Yes, it runs, but it fails to sign as shown where it says signing with ldid.
I also said to run git pull before you did it.

My apologies, you did say pull first. Here is the new output. I deleted brew's ldid, ran the script in debug and after dl'ing ldid it seems to have worked! I don't believe there was an issue at all! except for perhaps, me! LoL
Term Output:

Last login: Fri Jul  8 21:03:07 on ttys000
terramoda@terraMODAs-Mac-Pro ~ % cd permasigner
terramoda@terraMODAs-Mac-Pro permasigner % python3 main.py --debug
IPA Permasigner | Version main-dd11064
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze
[DEBUG] Checking if command ldid is in PATH...
[DEBUG] On macOS x86_64, ldid not found...
[DEBUG] Checking ldid hash...
[DEBUG] ldid hash successfully verified.
[DEBUG] Checking if command dpkg-deb is in PATH...
[?] Would you like to use an IPA stored on the web, or on your system? [external, local] local
[*] Created temporary directory.
[?] Paste in the path to an IPA in your file system: /Users/terramoda/Documents/IPA/StrelokPro.ipa
[*] Unzipping IPA...
[*] Reading plist...
Found plist!
Executable found.
Found information about the app!
[*] Preparing deb file...
Making directories...
Copying deb file scripts and control...
Copying app files...
Changing deb file scripts permissions...
Changing app executable permissions...
[*] Signing app...
Signing with ldid...
[DEBUG] Checking if command ldid is in PATH...
[*] Packaging the deb file...
[DEBUG] Running command: dpkg-deb -Zxz --root-owner-group -b /var/folders/5q/1p1130k135bg1_3my8bwz4_r0000gn/T/tmpl1ovvhii/deb output/StrelokPro.deb
[DEBUG] Checking if command dpkg-deb is in PATH...
[] We are finished!
[] Copy the newly created deb from the output folder to your jailbroken iDevice and install it!
[*] The app will continue to work when rebooted to stock.
terramoda@terraMODAs-Mac-Pro permasigner %

Yup, it worked this time!


Separate and parallelize builds, build APK for easy testing

Separate iOS and Android builds, so that they can run in parallel

10-14 mins down to 4-6 mins
more clear if only one of ios or android is failing

Allow download of apk files for drag and drop into emulator

Cache node_modules/ for faster builds (10m builds down to 4-6 mins, unit tests reduced by 56 seconds)

@kenpugsley this is ready to be merged.
We can and should enable branch protection for all 3 of these new builds now that they're faster and separate

the ios build can be improved but it's a much more complicated setup with release signing. Will look into this in a later pr

Yep, agreed, let's let it bake and see re apk builds


Session service

Definition of done:

[ ] A session is created on the front end to fill out upcoming sessions modal

[t: 120]
Built service and adapted component to fill out with response


[Improve]Enable Dependabot - at least for Security issues

Description
Dependabot on my fork shows 46 CVEs related to outdated dependencies of Apache InLong.
Some of the issues are related to the UI (out of date NPMs)
Jars with CVEs include:

Jetty
Zookeeper
Protobuf-Java
Commons-IO
spring-context / spring-web
elasticsearch

InLong Component
Other for not specified component
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

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

see https://github.com/apache/inlong/pull/4039/files


New Constraint: NetPriority

Added a new constraint called NetPriority
Code revisions for flake8
Minor refactoring

@kkunal1408 , this PR is ready for review.
@854768750 , test_constraint.py::test_netpriority fails when enabled. Once this PR is on master, please go ahead on enabling this capability on another PR.


Platform / device specific template conventions

We should probably start to develop what the naming convention should be for template extensions
I'd like to propose the following:
[name].swiftui.heex
All swift UI devices connecting could render the template of this name. We can offer more detail by targeting the platform to:
[name].ios.swiftui.heex
[name].tvos.swiftui.heex
[name].macos.swiftui.heex
[name].watchos.swiftui.heex
XCode also supports multiplatform so maybe [name].swiftui.heex is just an alias for [name].multi.swiftui.heex
Similarly, on other devices we can follow this convention so for Android:
[name].jetpack.heex
We should package this up into a support lib for Phoenix so we can do away with:
  EEx.function_from_file(
    :def,
    :render,
    "lib/lvn_tutorial_web/live/cats_list_live.ios.heex",
    [:assigns],
    engine: Phoenix.LiveView.HTMLEngine
  )

So in other words, this is could be the breakdown:
[templatename].[platform].[UIframework].heex

@immranderson does Jetpack Compose have similar target platforms as SwiftUI?

@bcardarella I believe that Android might be a bit different here?
I know generally that the dependencies to enable support + utilize the components will need to be added to the build.gradle dependency file, but compose for wearos + androidtv is a bit of a newer thing. I'll check out how it's configured and get back to you with more specifics 👍

Does it make sense to differentiate between platform variants? Like do we need to care which ipad is rendering because of the screen size?

I don't think there need to be separate templates for different platform variants within an OS (e.g., iPhone vs iPad). Information about the current variant (device class, screen size) could be provided to the backend and then attached as socket assigns if the particular app needs it, letting the template make decisions about how it wants to render. That essentially mirrors how you'd go about handling different screen sizes in a purely native app.

Does SwiftUI adjust or must you render screen specific UI?

Some views do, but a good native app will make further changes to its layout (e.g., having a set of buttons be arranged horizontally or vertically) based on the device it's running on beyond just what SwiftUI will do.

Information about the current variant (device class, screen size) could be provided to the backend and then attached as socket assigns if the particular app needs it, letting the template make decisions about how it wants to render. That essentially mirrors how you'd go about handling different screen sizes in a purely native app.

I can't speak to SwiftUI specifically, but this similar to how you would handle it in React Native. There is a Platform module that you can use to make small platform-specific conditionals. For templates, platform-specific extensions are used, but are only scoped to the OS ('.ios', '.android') level.
Also, it is fairly common to use something like react-native-device-info to get extra device information like isTablet(), hasNotch(), and isLandscape(), and use that to inform layout decisions. If device data like this could be optionally assigned in an on_mount hook, that would probably be enough to make all the layout tweaks you need.
Something to also consider is that the device can change over time. Orientation may change from layout to portrait, an iPad app may enter splitview, iOS apps can run on Macs, iPads can have external screens, etc. Device state changes will need to be passed back to the LiveView process so templates can be re-rendered.

To style a SwiftUI view for a particular screen size you'd use @Environment(\.verticalSizeClass) var verticalSizeClass and the use the verticalSizeClass in the body of the view to make decisions. I suppose you would need to have a way to shuttle those to the live view template somehow.
struct ContentView: View {
    @Environment(\.verticalSizeClass) var verticalSizeClass

    @State var coordinator: LiveViewCoordinator<EmptyRegistry> = {
         var config = LiveViewConfiguration()
         config.navigationMode = .enabled
         return LiveViewCoordinator(URL(string: "http://localhost:4000/cats")!, config: config)
    }()

    var body: some View {
        LiveView(coordinator: coordinator, verticalSizeClass: verticalSizeClass)
    }
}

There are a lot of EnvironmentValues that exist though, and you would only want to have to do this for the once you need. So alternatively, perhaps the config of the coordinator would have a setting to enable those needed?

@supernintendo could you please advise here? i think it is done

@supernintendo could you please advise here? i think it is done

@AZholtkevych Sorry, just now getting to this. The original issue has been resolved. Platform libraries have been expected to define a platform_id for a few versions now (for this repo it's :swiftui). This is used to namespace HEEx templates both externally (i.e. home.swiftui.heex) and inline when rendering with the non-platform-specific ~Z (~LVN after Elixir 1.15) sigil:
# match on `platform_id` (automatically assigned via `use LiveViewNative.LiveView`)
def render(%{platform_id: :swiftui} = assigns) do
  ~LVN"""
    <VStack>
      <Text>Hello world!</Text>
    </VStack>
  """swiftui # render sigil is modified with `platform_id`
end

We've also since added various device-specific fields as part of the connection handshake (https://github.com/liveview-native/liveview-client-swiftui/pull/900). Those fields along with their possible values for the SwiftUI platform are as follows:
:os_name - "iOS", "macOS", "tvOS", "watchOS"
:os_version - any OS version represented with semantic versioning (i.e. "16.4.1")
:user_interface_idiom - "watch", "mac", "phone", "pad", "tv", or "unspecified"
@bcardarella Let me know if you feel like anything has been left unaddressed but my sense is that this issue has long been resolved and we can go ahead and close it.


Bookie containers throw OutOfDirectMemoryError on Upgrade to 2.7.1

Describe the bug
Bookkeeper pod failed to start with below Error. Even though the allocated memory to pods & MaxDirectMemorySize size is much more the what is mentioned in error log.
08:13:25.210 [SyncThread-8-1] INFO org.apache.bookkeeper.bookie.EntryLogManagerBase - Creating a new entry log file because current active log channel has not initialized yet
08:13:25.212 [SyncThread-8-1] ERROR org.apache.bookkeeper.proto.BookieServer - Unable to allocate memory, exiting bookie
io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 117440543, max: 129761280)
at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:754) ~[io.netty-netty-common-4.1.51.Final.jar:4.1.51.Final]

To Reproduce
Steps to reproduce the behavior:

Install pulsar-helm-chart version 2.7.0 using the pulsar image 2.7.1
Bookie pods won't start and status will change to CrashLoopBackOff

Expected behavior
Pulsar helm chart should be able install the release with default values file.
Screenshots
NA
Desktop (please complete the following information):
NA
Additional context
A pod starts and immediately after throw above mentioned error.
I am creating 4 bookie pod in my setup.
Bookie Container Resource Limits  are below
resources:
   limits:
     cpu: 400m
     memory: 512Mi
   requests:
     cpu: 200m
     memory: 512Mi

PULSAR_MEM values are default to chart values file. -Xms128m -Xmx256m -XX:MaxDirectMemorySize=256m

@zymap could you please help check the issue? Thank you.

We are also experiencing this issue. What information are we able to provide for a fix?

Is there has any more information about this? I tried it with 2.7.0 helm charts and with 2.7.1 pulsar images, I can't reproduce this issue.
Following is my clusters information:
(⎈ |yong-offload-perf:default)➜  pulsar git:(f6705f0) ✗ k get pods -n default
NAME                                         READY   STATUS      RESTARTS   AGE
pulsar-test-bookie-0                         1/1     Running     0          24m
pulsar-test-bookie-1                         1/1     Running     0          24m
pulsar-test-bookie-2                         1/1     Running     0          24m
pulsar-test-bookie-3                         1/1     Running     0          24m
pulsar-test-bookie-init-wtd45                0/1     Completed   0          24m
pulsar-test-broker-0                         1/1     Running     0          24m
pulsar-test-broker-1                         1/1     Running     1          24m
pulsar-test-broker-2                         1/1     Running     2          24m
pulsar-test-grafana-6b7cf96d85-p9kcx         1/1     Running     0          24m
pulsar-test-prometheus-5949bbfccd-vzzcs      1/1     Running     0          24m
pulsar-test-proxy-0                          1/1     Running     0          24m
pulsar-test-proxy-1                          1/1     Running     0          24m
pulsar-test-proxy-2                          1/1     Running     0          24m
pulsar-test-pulsar-init-bjj87                0/1     Completed   0          24m
pulsar-test-pulsar-manager-6964cfccf-d5gc5   1/1     Running     0          24m
pulsar-test-recovery-0                       1/1     Running     0          24m
pulsar-test-toolset-0                        1/1     Running     0          24m
pulsar-test-zookeeper-0                      1/1     Running     0          24m
pulsar-test-zookeeper-1                      1/1     Running     0          22m
pulsar-test-zookeeper-2                      1/1     Running     0          21m
(⎈ |yong-offload-perf:default)➜  pulsar git:(f6705f0) ✗ k get pods -n default pulsar-test-bookie-1 -o json | jq '.spec.containers[0].image'
"apachepulsar/pulsar-all:2.7.1"
(⎈ |yong-offload-perf:default)➜  pulsar git:(f6705f0) ✗ k get pods -n default pulsar-test-bookie-1 -o json | jq '.spec.containers[0].resources'
{
  "requests": {
    "cpu": "200m",
    "memory": "512Mi"
  }
}
(⎈ |yong-offload-perf:default)➜  pulsar git:(f6705f0) ✗ helm3 list --deployed
NAME       	NAMESPACE	REVISION	UPDATED                            	STATUS  	CHART       	APP VERSION
pulsar-test	default  	1       	2021-03-24 08:34:58.44861 +0800 CST	deployed	pulsar-2.7.0	2.7.0
(⎈ |yong-offload-perf:default)➜  pulsar git:(f6705f0) ✗

@zymap we will investigate more at our end. Feel free to close this issue for me unless @sheperdsonbrown can provide more insight into this.

Please close

@sheperdsonbrown thank you for your feedback.

@zymap @Jennifer88huang what could be possible reason for this error? we keep on seeing this intermittently, i can ensure enough resource are available for the release to use.

Is any compaction error on it? Do you have more logs in the bookie container?


HPE_INVALID_HEADER_TOKEN on Departments Request

Hi,
I'm debugging an issue with the following request: https://collectionapi.metmuseum.org/public/collection/v1/departments
Modern versions of Node and tools like Postman use a strict http parser that turns an HPE_INVALID_HEADER_TOKEN. The only way around this is by disabling the parser, but that comes with its own consequences.
Do you have any insight on this? Should I be calling the endpoint differently? Thank you

@spencerk this is indeed a problem:
> fetch("https://collectionapi.metmuseum.org/public/collection/v1/departments").then(res=>console.log(res))
Promise {
  <pending>,
  [Symbol(async_id_symbol)]: 229,
  [Symbol(trigger_async_id_symbol)]: 195
}
> (node:36678) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Uncaught TypeError: fetch failed
    at Object.processResponse (node:internal/deps/undici/undici:5555:34)
    at node:internal/deps/undici/undici:5877:42 {
  cause: HTTPParserError: Invalid header value char
      at Parser.execute (node:internal/deps/undici/undici:3107:19)
      at Parser.readMore (node:internal/deps/undici/undici:3066:16)
      at TLSSocket.onSocketReadable (node:internal/deps/undici/undici:3379:14)
      at TLSSocket.emit (node:events:537:28)
      at TLSSocket.emit (node:domain:545:15)
      at emitReadable_ (node:internal/streams/readable:590:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:81:21) {
    code: 'HPE_INVALID_HEADER_TOKEN',
    data: '\x01UioU; path=/; Max-Age=900\r\n' +
      'Set-Cookie: ___utmvbmlBuKBSmB=ZZE\r\n' +
      '    XLTOXalo: AtM; path=/; Max-Age=900\r\n' +
      'X-CDN: Imperva\r\n' +
      'Content-Encoding: gzip\r\n' +
      'Transfer-Encoding: chunked\r\n' +
      'X-Iinfo: 11-49800697-49800701 NNYN CT(2 11 0) RT(1661484216052 21) q(0 0 0 0) r(2 2) U12\r\n' +
      '\r\n' +
      '162\r\n' +
      "\x1F�\b\x00\x00\x00\x00\x00\x00���Mk\x021\x10��Jس����&*EP+���ø;���X&\x13�����B)�,�m�y�y'��T��\x02�Fî\x18}����u1*\x07E-]��\x02�Ũ\x18k$Y�\x11S�,\x01�\x03�1\x05�<買\tk*\x19��\x15\x02�\x198F2\x11ΰw\tK�\t0u�ז2�}J�\x13v'ƻhx ^+\x04#�GT�&ؾ������9\t}^\x1F���A|���\x03�ԟ��u�5��q,�3f��.8%��f\x7F��5I�]Dy��f�c��\x13���g�l\x1B�O�!4�-sذ\x17{��j�\x13^����2\t�\x0B!~]���Γ�̝\x02-���$6q\x17\x1B�Eb��&v�X��biMN �J\x14X�-\x01I̎��e���\x03�>�I^�ޅ�KV�_�n�K�n,�=A����֗��}���\x1FŽ��,\x04\x00\x00\r\n" +
      '0\r\n' +
      '\r\n'
  }
}
>


Offcanvas tests

Added unit tests for Off Canvas.
Remove unused variable.
Fix condition when close() should do nothing.

@kball the variable was not used in this block, but you were right, I missed the semicolon. I pushed a new commit that adds it again.

Ended up reverting this... thought the travis error was transient but turned out it was real, reproducing it locally.  @Owlbertz can you take a look and resubmit with errors fixed?  Thanks!


Fix expansion of __VA_ARGS__ macro argument in MSVC

This merge request fixes issues with variadic macro argument expansion in MSVC. The issue is that when passing  __VA_ARGS__  as an argument to another macro, MSVC expands __VA_ARGS__ after passing, whilst gcc expands it before.
Issue #31 can be closed.

Note: you still need to reduce the number of macro arguments to < 127 for this to work in MSVC. I haven't changed that as @quicknir seems to have settled on using 258 as the default.

@quicknir: I noticed that in the 'dev' branch you are are already looking at reducing the max number of iterations, so I've also done that in this pull request. Of course, feel free to ignore.
Although this merge request works find on my simple use scenario using C++17, I see that it's still failing the C++14 appveyor tests. Looks like some further debugging will be required ... .

@samangh the reduction in iterations is only to support MSVC, so if that is not necessary to support MSVC, it's fine to leave it at 256. This looks quite promising; even if there are still some issues with MSVC, if this doesn't break Linux (which it seems unlikely to do), I can still merge what we have, as it seems a step in the right direction.
Out of curiosity, do you know whether it's MSVC or gcc that's compliant in terms of the macro expansion order? IIRC variadic macros were officially standardized in C++11 so there should be some wording on this.

@quicknir: Yeah, unfortunately the 125 max iterations is a hard compiler limit in MSVC.
Looks live I've managed to fix all the issues, it now passes all tests with both C++17 and C++11. I also made the test CMakeLists.txt file more platform agnostic. I had to limit appveyor to only use Visual Studio 2019, as there is only one version of Visual Studio is installed in the appveyor build image.
I'm not sure about which of the two compilers is more compliant. I suspect that the expansion order is not specified clearly in the standard (although I haven't checked), see the replies to this stackoverflow question for instance.

Looks like I managed to fix all the issues, so this can be merged.
I also made the test test/CMakeLists.txt file more platform agnostic. I had to limit appveyor to only use Visual Studio 2019, as there is only one version of Visual Studio is installed in the appveyor build image.

@quicknir: I was wondering if you've had any chance to look at this? Much appreciated.

Hey sorry! I lost track of this, glad you pinged me. All looks good, merging. Thanks very much for your help.

@quicknir: No problem. Glad to see that you were happy with the changes :-). If you get a chance, could you also look at merge request #27?
Thanks for your work on wise_enum!


Unhandled JSON parse exception when handling malformed responses from ContentStack API

The SDK seems to be throwing an unhandled exception when ContentStack API returns a non-JSON response.
The following error is thrown during execution of CSHttpConnection.java#L264:
JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]
In case of malformed responses from ContentStack API, I would expect the ResultCallback to be invoked and contain details about the error, instead of an exception being thrown.

Hey @vitorsdcs thanks for raising this, we will look into the issue .
cc: @cs-raj @netrajpatel @shafeeqd959

Hey @vitorsdcs kindly check out the latest version. Do let us know if you face any further issues.

Hi, I work on the same team as @vitorsdcs , the issue is still happening on the 2.0.0 release. Did not upgrade to 2.0.1 due to https://github.com/contentstack/contentstack-java/issues/148

Hi @goetas! Just a heads-up that we'll be releasing the fixes for the critical bug mentioned in #148. This issue (#128) has been addressed in version 2.0.1. We'll keep you posted.


[FLINK-16283][table-planner] Fix potential NullPointerException when invoking close() on generated function

What is the purpose of the change
Fix potential NullPointerException when invoking close() on generated function in legacy planner.
Brief change log

Check the generated function is not null before close it.

Verifying this change
N/A
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@JingsongLi , good catch!


coordinator crash when executing foxx endpoint via http or via foxx test cli

My Environment

ArangoDB Version:        docker image arangodb:3.7(3.7.11)
Storage Engine:             RocksDB
Deployment Mode:       Cluster
Deployment Strategy:   Manual Start in Docker
Configuration:               3 agents, 1 dbserver, 1 coordinator all on same host
Infrastructure:               Azure
Operating System:        CentOS Linux 7 (Core)
Total RAM in your machine:    64GB
Disks in use:        Azure SSD
Used Package:      Official arango docker image arangodb:3.7

Component, Query & Data
Affected feature: Foxx

AQL query (if applicable):
We can discuss how we get this to you - would need an NDA agreement

AQL explain and/or profile (if applicable):

Dataset:

Size of your Dataset on disk: Crashes even with no data

Replication Factor & Number of Shards (Cluster only): 0

Steps to reproduce

Hit a particular foxx endpoint or run the foxx unit tests against the cluster
When it hits the relevant endpoint, the coordinator crashes with with following:

2021-06-16T10:30:41Z [1] FATAL [a7902] {crash} ArangoDB 3.7.11 [linux], thread 20 [SchedWorker] caught unexpected signal 11 (SIGSEGV) accessing address 0x000000000000a160: signal handler invoked - image base address: 0x00007ff1b439c000 - CPU context: rip: 0x00007ff1b6050d40, rsp: 0x00007ff196379ee0, efl: 0x0000000000010202, rbp: 0x00007ff196379f80, rsi: 0x0000000000000000, rdi: 0x00007ff196379f80, rax: 0x0000000000000001, rbx: 0x0000000000000000, rcx: 0x00007ff196600380, rdx: 0x0000000000000001, r8: 0x00007ff19637dfa0, r9: 0x00007ff1b40008c0, r10: 0x00000000000000a0, r11: 0x000000000000003f, r12: 0x00007ff194ed1388, r13: 0x00007ff1966c6980, r14: 0x0000000000000000, r15: 0x00007ff1964a4580 2021-06-16T10:30:41Z [1] INFO [308c3] {crash} frame  1 [+0x00000000007eb730] *no symbol name available for this frame 2021-06-16T10:30:41Z [1] INFO [308c3] {crash} frame  2 [+0x000000000380b0f2] *no symbol name available for this frame 2021-06-16T10:30:41Z [1] INFO [308c3] {crash} frame  3 [+0xffff800e4bc643e8] *no symbol name available for this frame 2021-06-16T10:30:41Z [1] INFO [ded81] {crash} available physical memory:<PHONE_NUMBER>8, rss usage: 303820800, vsz usage:<PHONE_NUMBER>, threads: 36

No data is required in the system for it to crash
I've tried on a standalone install - works fine
I've tried on an all in one docker image - works fine

Problem:
Running the query via HTTP request or within foxx test CLI causes the coordinator to crash with the error above. If I extract the query to raw AQL and execute that directly in the web UI - it works ok - no crash.
Added some trace lines to console.log and it looked like it died at the point of calling db._query
Expected result:
Results returned / no crash

Did some testing with different versions - same box:
3.7.12 crashed
3.7.11 crashed
3.7.10 crashed
3.7.1 crashed
3.6.13 success


Update django-taggit to 2.X

Proposed Changes
As in the title, update django-taggit to 2.X.

Justification
2.1.0 Adds Python 3.10 support, which has landed in our next.
Potential Breaking Change

[ ] Review backwards incompatible change in django-taggit which changes TaggableManager.set to take a list instead of varargs. See: https://github.com/jazzband/django-taggit/blob/master/CHANGELOG.rst#200-2021-11-14

Superseded by https://github.com/nautobot/nautobot/issues/1983


Added ContainerSolutions as an adopter (#27)

Signed-off-by: Hrishav Kumar<EMAIL_ADDRESS>

/merge


e2e: Basic test for cluster controller

This adds a minimal test for the LinodeCluster controller asserting that it reaches its ready status after provisioning a nodebalancer.

Closing in favor of https://github.com/linode/cluster-api-provider-linode/pull/99


MIMXRT Port - Possible incorrect BOARD_BOOT_LENGTH  being stuffed into boot_data struct

Operating System
Windows 10
INFO_UF2.TXT
n/a
What happened ?
Summary:
I believe the value use for BOARD_BOOT_LENGTH is incorrect.   In ports/mimxrt10xx/boards.h
#define BOARD_BOOT_START        (((uint32_t) _ivt_origin) - 0x1000)

#define BOARD_BOOT_LENGTH       (0x8800)

0x8800 is the value used for _text_length in ports/mimxrt10xx/linker/memory.ld
Since the ROM boot loader is copying down BOARD_BOOT_LENGTH from (((uint32_t) _ivt_origin) - 0x1000),   I believe  some code in the .text section will not get copied if you the image starts to get large. (only 0x6800 bytes)
I think the correct fix is something like
#define BOARD_BOOT_LENGTH   (0x8800 + 0x2000)
but it would probably be nice to have the values driven from the the values used in the .ld files.
Backstory:
The vanilla build of tinyuf2 for the MIMXRT1021 would yield a text section of 24792 bytes.  (0x60d8 bytes) which ran fine.
I noticed that as I added in the LOG=1 and a few extra init routines for an LCD on a board,  I would get goofy behavior on cold power up that would not occur when loading directly into itcm.    The CPU would end up hard faulting.   My modified program that enabled logging and some IO was getting close to the 0x8800 text section size (32560 bytes)
Changing BOARD_BOOT_LENGTH  to something like (0x8800 + 0x2000)  fixed the issue.    If I understand the linker .ld files correctly for the RT1021,   the fcfb and ivt will use up an extra 0x2000 bytes that need to get copied down.
If you could please take a looking and verify my thinking/analysis.   I don't think anyone would notice this w/ vanilla builds but it come pop up on another RT board port if more code was added.
How to reproduce ?
n/a
Debug Log
n/a
Screenshots
No response

just checking, did we manage to fix it previously. I kind of forgot.

It has not been fixed.   I am pretty sure what I suggested is the fix.  BOARD_BOOT_LENGTH needs to be whatever _text_length (from the memory.ld file) + 0x2000 to work properly.
I

if so, would you make an PR. I forgot most of the setup with imxrt, but I think other may hep to review the PR.

OK. Done.
FYI,  My port has been working good.     It is now integrated in the latest model of some fireworks equipment:
https://fireone.com/
The new 2022 hardware has tinyuf2 built in 😊
From: Ha Thach @.>
Sent: Monday, June 20, 2022 1:10 PM
To: adafruit/tinyuf2 @.>
Cc: Eli Hughes @.>; Author @.>
Subject: Re: [adafruit/tinyuf2] MIMXRT Port - Possible incorrect BOARD_BOOT_LENGTH being stuffed into boot_data struct (Issue #208)
if so, would you make an PR. I forgot most of the setup with imxrt, but I think other may hep to review the PR.
—
Reply to this email directly, view it on GitHubhttps://github.com/adafruit/tinyuf2/issues/208#issuecomment-1160676841, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAK5PDMMJDFR7SPDCGTRTFLVQCQU3ANCNFSM5VTNRZOA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

hi @ehughes, sorry for the super late response, I got into too many bugs lately. And somehow this fell off my radar

The new 2022 hardware has tinyuf2 built in blush

Congrats, I am happy to here that tinyuf2 is stable enough to be deployed on your new hardware.

fixed by #220


[Usage] Vicuna v1.5 is not downloaded automatically

Describe the issue
Looks like base model Vicuna v1.5 is not downloaded automatically when I run the provided training scripts. Did anyone face this issue?
Traceback (most recent call last):
  File "/miniconda/envs/llava/lib/python3.10/site-packages/transformers/utils/hub.py", line 385, in cached_file
    resolved_file = hf_hub_download(
  File "/miniconda/envs/llava/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 111, in _inner_fn
    validate_repo_id(arg_value)
  File "/miniconda/envs/llava/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 159, in validate_repo_id
    raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './checkpoints/vicuna-7b-v1-5'. Use `repo_type` argument if needed.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/LLaVA/llava/train/train_mem.py", line 4, in <module>
    train(attn_implementation="flash_attention_2")
  File "/LLaVA/llava/train/train.py", line 827, in train
    model = LlavaLlamaForCausalLM.from_pretrained(
  File "/miniconda/envs/llava/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3075, in from_pretrained
    config, model_kwargs = cls.config_class.from_pretrained(
  File "/miniconda/envs/llava/lib/python3.10/site-packages/transformers/configuration_utils.py", line 605, in from_pretrained
    config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs)
  File "/miniconda/envs/llava/lib/python3.10/site-packages/transformers/configuration_utils.py", line 634, in get_config_dict
    config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
  File "/miniconda/envs/llava/lib/python3.10/site-packages/transformers/configuration_utils.py", line 689, in _get_config_dict
    resolved_config_file = cached_file(
  File "/miniconda/envs/llava/lib/python3.10/site-packages/transformers/utils/hub.py", line 450, in cached_file
    raise EnvironmentError(
OSError: Incorrect path_or_model_id: './checkpoints/vicuna-7b-v1-5'. Please provide either the path to a local folder or the repo_id of a model on the Hub.

I have exactly the same error, it took me a while to find it.
Ensure the script you are calling is bash scripts/v1_5/pretrain.sh NOT bash scripts/pretrain.sh and in the file --model_name_or_path lmsys/vicuna-13b-v1.5

@dennismyself
Thanks for your comment, could you give more details, please, I have the same issue when I run sh pretrain.sh


Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x

OS: ubuntu 18.04
node: 12.10
npm: 6.11.3
ng: 6.2.4
Error:
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding ./node_modules/node-sass/vendor/linux-x64-72/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x
Found bindings for the following environments:

Linux 64-bit with Node.js 10.x

This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to download the binding for your current environment.

This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to download the binding for your current environment.

Unless you can come up with a better answer than vomiting what's shown in the error message @nschonni that doesn't help anyone.  You can rebuild node-sass however much you want with the newest node versions but at the moment sass will only build if I use (with nvm<EMAIL_ADDRESS>

I'm getting this error in CI, where packages are pulled and node-sass is rebuilt each time.

I got similar problem
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 10.x
Found bindings for the following environments:

Linux 64-bit with Node.js 12.x

And I am running 12.14.0

Sad to say, but the "disruptive content" comment above is what helped me after days of struggling. I changed to node 10x and finally could deploy to heroku. While the comment may have seemed somewhat negative, it is useful for some. This is a hard enough business without adding to the chaos, right? Thanks everyone! (Also this topic, in my opinion, should not be closed, as it is still a vexing issue.

@ThomasConnolly can you suggest us some changed to the TROUBLESHOOTING.md file to let people know? The binding file has to match the currently running node version. There is no way around that.
(You can edit the file directly on github then save proposed changes and submit a pull request).


Unable to initialize Coralogix provider.

Affected Resource(s)
The coralogix provider itself
Terraform Configuration Files
terraform {
  required_providers {
    coralogix = {
      source = "coralogix/coralogix"
      version = "1.8.15"
    }
  }
}

Debug Output
Expected Behavior
The Coralogix provider would be installed.
Actual Behavior
Receiving this error
│ Error: Failed to install provider
│
│ Error while installing coralogix/coralogix v1.8.15: could not query provider registry for registry.terraform.io/coralogix/coralogix: failed to retrieve authentication checksums for provider: 404 Not Found returned from github.com
╵

Steps to Reproduce
badcure@XXX tmp % ls -ltr
total 8
-rw-r--r--  1 badcure  staff  127 Oct  2 12:56 global.tf
badcure@XXX tmp % cat global.tf
terraform {
  required_providers {
    coralogix = {
      source = "coralogix/coralogix"
      version = "1.8.15"
    }
  }
}
badcure@XXX tmp % terraform init

Initializing the backend...

Initializing provider plugins...
- Finding coralogix/coralogix versions matching "1.8.15"...
╷
│ Error: Failed to install provider
│
│ Error while installing coralogix/coralogix v1.8.15: could not query provider registry for registry.terraform.io/coralogix/coralogix: failed to retrieve authentication checksums for provider: 404 Not Found returned from github.com
╵

terraform apply

Important Factoids

References

#0000

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Confirmed that .14 still works. So looks like an issue with 1.8.15 specifically
badcure@XXX tmp % terraform init

Initializing the backend...

Initializing provider plugins...
- Finding coralogix/coralogix versions matching "1.8.14"...
- Installing coralogix/coralogix v1.8.14...
- Installed coralogix/coralogix v1.8.14 (self-signed, key ID 020F3E2CF567DACB)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
badcure@XXX tmp % cat global.tf
terraform {
  required_providers {
    coralogix = {
      source = "coralogix/coralogix"
      version = "1.8.14"
    }
  }
}

@OrNovo Thanks! It seems to work now. I think I am good.
Initializing the backend...

Initializing provider plugins...
- Finding coralogix/coralogix versions matching "1.8.16"...
- Installing coralogix/coralogix v1.8.16...
- Installed coralogix/coralogix v1.8.16 (self-signed, key ID 020F3E2CF567DACB)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.


Unable to use CLI

After npm installing the package, I'm unable to use the cli. I've restarted terminal and no luck.
command not found: cf-content-types-generator

Hi @evolfo,
can you share a bit more details about your setup (and how you installed the CLI). Also, how exactly are you calling it?

Currently not reproducible for me - closing for now.


close button/icon for drop zone

Feature request
Traditional
In my case, once the drop zone appears successfully, there is no way to close/hide the drop zone from view using default template. I did not find a close/hide method
If this has been done then docs need to be modified to properly highlight this feature.

Use case please

Please open a new issue (this time without deleting the template). Also provide a compelling use case for this feature request.


Speech to Text with Default Options won't work when Use Language Identification disabled since v1.6.4

v1.6.4 reorg the setting page, added a Use Language Identification option. However, the Speech to Text with Default Options feature won't work if the Use Language Identification is disabled. I have Locale and Candidate Languages properly set. Just disabled the Use Language Identification option will make recognition unusable.
the issue affects all versions after v.1.6.4.
Would you confirm the issue?
Thank you so much!

oops


Allow to install Solr 5.x and 6.x, remove 4.x

Done in scope of https://github.com/BR0kEN-/cikit/issues/25


Readme

Hello, in README.md  change

Add new ReactNativeAudioStreamingPackage() to the list returned by the getPackages() method

by

Add new ReactNativeAudioStreamingPackage(MainActivity.class) to the list returned by the getPackages() method

Thanks, fixed with https://github.com/tlenclos/react-native-audio-streaming/commit/de018c65204e2df538cfbd88f80cd4ff1789f25f.


Could not encode TLSA record into binary form: "dns: overflow packing uint8"

Hello!
I'm trying to encode TLSA record into binary form. I'm not sure about correctness of my code but as far I know it should work. But it's not working as expected.
Please check it:
// Run test this way: go test -bench=.
func BenchmarkPackUnpack(b *testing.B) {
	for n := 0; n < b.N; n++ {
		example_tlsa_rrs := []string{
			"_443._tcp.example.org.\t3600\tIN\tTLSA\t1 1 1 c22be239f483c08957bc106219cc2d3ac1a308dfbbdd0a365f17b9351234cf00",
			"_443._tcp.example.org.\t3600\tIN\tTLSA\t2 1 2 4e85f45179e9cd6e0e68e2eb5be2e85ec9b92d91c609caf3ef0315213e3f92ece92c38397a607214de95c7fadc0ad0f1c604a469a0387959745032c0d51492f3",
			"_443._tcp.example.org.\t3600\tIN\tTLSA\t3 0 2 69ec8d2277360b215d0cd956b0e2747108dff34b27d461a41c800629e38ee6c2d1230cc9e8e36711330adc6766e6ff7c5fbb37f106f248337c1a20ad682888d2",
		}

		for _, line := range example_tlsa_rrs {
			rr, err := dns.NewRR(line)

			if err != nil {
				b.Fatal("Could not create RR: ", err)
			}

			var buf []byte

			var testMap = make(map[string]int)

			offset, err := dns.PackRR(rr, buf, 0, testMap, false)}

			_ = offset
			_ = err

			if err != nil {
				// Error dns: overflow packing uint8
				b.Fatal(err)
			}
		}
	}
}

I'm getting error:
PASS
BenchmarkPackUnpack-2	--- FAIL: BenchmarkPackUnpack-2
	tlsatest.go:200: dns: overflow packing uint8

Miekg DNS version: current git.
Thank you for your awesome library and your time!

dns.PackRR takes a preallocated buffer. In the sample provided it is given buf which is nil.

Thanks a lot :) Fixed with preallocated buf:
buf := make([]byte, 1000)


draft create does not copy the .dockerignore file

When doing for example a "draft create -p java" the .dockerignore file present in the Java starter pack is not copied to the project

Hey @jumal - Thanks for pointing this out. It looks like we're only copying the charts/ dir and the Dockerfile. We should either add .dockerignore to the list of files we copy OR we can choose to copy anything in the pack over to the application directory.
Would be interested in what you think.
Also, thoughts? @bacongobbler @fibonacci1729
I'd opt for copying everything over. That'll make it easier to support scripts/hooks later on.

Hi Michelle. Thanks for your quick reply. I would personally favour the approach copying everything. I currently have directories in my custom starter packs that currently need to be copied using scripting. Having Draft copying everything would definitively help

This would be a great addition.

Something brought up in https://github.com/Azure/draft/issues/549 is the ability to copy the contents of non-chart directories in the pack as well, which would be useful to bring into #453.


Fix point updates

Problem:

Acquired points for completed journey are not updated on the info page immediately. They do update on restarting the app.

Solution:

Use GetX mechanism

Fixed in PR #113


Timestamp is saved to seconds instead of milliseconds

Proposal: [Description of the feature]
github.com/influxdata/influxdb/client/v2
influxdb.NewPoint(....time.Now())
should write timestamps in microseconds instead of seconds
Current behavior: [What currently happens]
i use github.com/influxdata/influxdb/client/v2 to write db
but it write timestamps in seconds,  i want to write in microseconds
Desired behavior: [What you would like to happen]
influxdb.NewPoint(....time.Now())
should write timestamps in microseconds instead of seconds
Use case: [Why is this important (helps with prioritizing requests)]
pt, err := influxdb.NewPoint("test", data.Tag, data.Data, time.Now())
if err != nil {
// log.Fatal(err)
fmt.Println("inluxdb error : ", err)
return
}
bp.AddPoint(pt)
if err := Conn.Write(bp); err != nil {
time                DeviceName humidity temperature time_device

1541730360000000000 120        22.16    5.92<PHONE_NUMBER>550
1541730366000000000 120        5.09     45.68<PHONE_NUMBER>050
1541730371000000000 120        69.67    6.96<PHONE_NUMBER>551
1541730377000000000 120        64.86    63.84<PHONE_NUMBER>053
1541730382000000000 120        67.70    38.13<PHONE_NUMBER>555
1541730388000000000 120        22.64    74.88<PHONE_NUMBER>056
1541730393000000000 120        63.22    4.30<PHONE_NUMBER>571
Requests may be closed if we're not actively planning to work on them.

oh no！！I forgot to look at the previous settings.


Some characters cause URLs to render incorrectly

Any URL with an underscore breaks the parsing and displays the link incorrectly.
Any URL with an ambersand also displays the link incorrectly.

On Android "naked" urls are not rendered at all.
Markdown syntax urls ([text](url)) containing underscores or ambersands are displayed broken, but the correct url is opened in browser.

This is a very common issue and, contrary to what @rleh mentioned, the URL will not be correctly opened, it will be stripped of the _ characters (which will break the link on most sites). I am using Bypass to render text for a Reddit client, and nearly every Reddit comment link has underscores in it (i.e. the form is reddit.com/r/subreddit/comments/identifier/name_with_underscores_instead_of_spaces). Because of this issue most links I see rendered look noticeably out of place (with italics strewn about) and don't launch the correct address.

I came up with a reasonable workaround for this problem, which is to scan the input for URIs before passing it to Bypass and put autolinks around them. For example, "http://example.com/some_link" becomes "http://example.com/some_link".

@insanj I can reproduce exactly the same behavior @rleh mentioned. The Markdown syntax url is displayed completely broken, parts of it are italic, the very beginning is rendered as url. When you click this part (displayed correctly till the first underscore) the full url is opened in the browser.

@insanj: I double-checked this again, and URLs containing underscores _ are displayed broken, but open correctly.
I used bypass com.commit451:bypasses:1.0.0 (https://github.com/Commit451/bypasses/tree/1.0.0) to build the android app using gradle.


New version of AzFilesHybrid no longer uses the -EncryptionType param...

...We need to remove the -EncryptionType param from the docs as the newest version of the AzFilesHybrid module does not use it and if it is included with the Join-AzStorageAccount cmdlet it will throw an error...

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

ID: 69769604-b1c3-a2b8-318d-354ebf0d82a1
Version Independent ID: 964330fc-1a4f-05ca-502a-a09f26e79f10
Content: Set up FSLogix Profile Container with Azure Files and AD DS or Microsoft Entra Domain Services - Azure Virtual Desktop
Content Source: articles/virtual-desktop/fslogix-profile-container-configure-azure-files-active-directory.md
Service: virtual-desktop
GitHub Login: @dknappettmsft
Microsoft Alias: daknappe

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


Test sending messages to an SNS FIFO topic #2625

fixes https://github.com/apache/camel-quarkus/issues/2625

Do we merge this one ?
The example-tests seem to have failed before we've set the camel-quarkus-example project to 2.2.0-SNAPSHOT

True, thanks for noticing, @zbendhiba


compatibility with lower framework

Hello ,
I would like to ask you about compatibility with lower framework, why there is non , i have 4.5.1 framework and there were a lot of constraint to update it , so how could i use your library , if i cant could you suggest something it could work?

@ahmadalsadder
FRDN depends on DlibDotNet.
And DlibDotNet aims to support cross platform library.
It means it shall be .NET Standard.
Please check Ship .NET 4.6.1 support for .NET Standard 2.0 for VS 2015


Adding SMK Negeri 6 Malang

@CallmeSetia First stage of verification passed, official domain is smkn6malang.sch.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Add spoof cheatcode to CHANGELOG

CHANGELOG was not updated in the PR with spoof cheatcodes https://github.com/foundry-rs/starknet-foundry/pull/482
Checklist

[ ] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[ ] Performed self-review of the code
[ ] Added changes to CHANGELOG.md

@war-in closing it then


Support lookups at Query Time

Druid currently has no real "join" support.  There is a need for "query-time lookups" that do a dimension-style join at query time.
This effort can be broken down into 3 phases

Introduce an interface that can be leveraged for "QTL" that functionally works in the query flow.  This interface should be something that can be extended and it should enable re-write optimizations that can allow the broker (or other node) to re-write the lookup so that it is not pushed all the way down if it does not need to be pushed all the way down.  There is a PR out for this here: https://github.com/druid-io/druid/pull/2291/files
The interface in question is an interface inside of Druid and in order to facilitate administrator management of implementations, it will require a "manager" class that can have implementations registered and removed.  The initial implementation of this would provide just the functionality and the ability to register lookups via static configuration in runtime.properties.

We need a method of completely centralizing the configuration of lookups.  This would be an endpoint on the coordinator that registers new lookups in the system.  It would then be the coordinator's job to ensure that all nodes that need the lookups have them.
There are a couple of options here, but the simplest would be to just replicate all lookups to all query-processing nodes.  An optimization on that option could be to form some sort of connection between lookups and the data sources they operate on and have the coordinator assign lookups according to which data sources are served by a given query-processing node

We need implementations of the lookup interface introduced in step 1.  There is an implementation of the interface done in the namespace-lookup module that introduces its own set of interfaces for things that generate Map objects and then it will build a lookup on top of those maps.  There are other implementations that can also be done which do not force communication through a Map object but just implement the Druid interface directly.

would be worth mentioning the stuff in namespace-lookup is intended for use in "small" Map objects.

PR https://github.com/druid-io/druid/pull/1576 and https://github.com/druid-io/druid/pull/2517 are addressing point 2.

I will be working on adding some introspection endpoint via HTTP, that allows user to introspect lookups at run time.

@b-slim what kind of introspection?

@drcrallen it will depends on what lookup impl exposes, for instance maybe a prefix search.

@b-slim cool, just FYI, at this point I'm planning on:

seeing cluster wide config over the finish line
making sure the extensions get updated properly
Adding more docs for QTL

and other than that hoping you can drive for some of the other features you've been working on.  I THINK only the cluster wide config stuff is a blocker for your items.

Support for cluster-wide config: https://github.com/druid-io/druid/pull/1576

Snapshot lookups on node shutdown: https://github.com/druid-io/druid/pull/2517

Are there plans for evolving lookups to help with slowly changing dimensions?  QTL is useful if product id X is always a product called "Rubber Duck".  But if the product name changes to "Rubber Ducky" on a specific date, it would be nice to specify that the query time lookup should use the date of the "fact table" record when doing the lookup.  Just in case that didn't make sense:
datasource: product_sales
{id: X, ts: 2013, sales: 123}
{id: X, ts: 2014, sales: 234}
{id: X, ts: 2015, sales: 345}
lookup: product information
{ids: [X], ts: 2013, name: "Rubber Duck"}
{ids: [X], ts: 2015, name: "Rubber Ducky"}
so when grouping sales by product name, I'd expect:
"Rubber Duck": (2013 + 2014 sales) 357 in sales
"Rubber Ducky": (only 2015 sales) 345 in sales

I have not heard that in the plans and here's why:
There is a distinction between an attribute of an event, and an attribute of something that is not an event (an attribute of an attribute .... like a name for an ID).
What QTL is designed to handle, and what the immediate future of QTL (from our side at MMX, community discussion and contribution beyond our plans are always welcomed and encouraged) will handle is attributes of attributes. Where you have an attribute which describes an event, but that attribute is immutable. Attributes of those attributes may be mutable though. So you might have an attribute of a product being End Of Life, but suddenly it is doing well, so you extend the End Of Life, or something. The End Of Life is an attribute of the product ID, NOT of the events related to the product, and is therefore a candidate for being able to be included in QTL workflows in the current and immediate future incarnations.
What you are describing are first class immutable attributes of events, and are not currently supported. What you CAN do is have an immutable attribute of the event be product_name_id and have that be stamped with the event, then QTL can lookup the human-friendly name.
As always, such items are open to discussion.


Bugfix/Wrong parameter set on assertion.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


bug with select + valueEvent

http://jsfiddle.net/R83rm/

The bug seems to be because https://github.com/Raynos/form-data-set/blob/master/element.js#L8 doesn't include the root element. Would this be a valid way to fix the bug?

@matthewp yes! Contributions welcome :)


[Backport release-22.05] electron: use wrapper instead of symlink for bin on darwin

Backport #185848 to release-22.05

Result of nixpkgs-review pr 186040 run on x86_64-darwin 1

1 package failed to build:

deltachat-desktop

13 packages built:

electron (electron_18)
electron_15
electron_16
electron_17
electron_19
element-desktop
element-desktop-wayland
micropad
nix-tour
schildichat-desktop
schildichat-desktop-wayland
uivonim
vieb

The commits should be cherry-picked with -x option to add the reference to the original commit into the commit message.

Oh thanks! Yeah, I haven't manually backported something before and I decided to use magit instead of the instructions :sweat_smile:


How to use "collect_landmarks.py" ?

Thanks for publishing great work!
I want to train by using my video data,
But I could not understand how to use "collect_landmarks.py"
    for label in labels:
        landmark_dict[label] = video_to_landmarks(None, max_num_frames)
        time.sleep(sleep_seconds)

Why do you set "None" to the video_to_landmarks function?
At the definition of that function, there is video_path arg, so actually, should we set the path?
I would greatly appreciate it if you could let me know it.
Thanks.

Hello! Thanks for your interest!
In collect_landmarks.py, I intended to collect my landmark data from the webcam, and hence the None to video_path.
If you already have your own video clips, then you may consider doing it in a slightly different way (see the following snippet).
Note that you should have one video clip for each gesture, and the gesture should be repeated (with variations) in each clip. One "stationary" gesture is needed to work best in my current setup, but of course you could change that in your model.
You may need to change some arguments for video_to_landmarks as you see fit.
Hope it helps!
import numpy as np
from noddingpigeon.video import Feature, video_to_landmarks

npz_path = "landmarks.npz"
labels = []  # Your labels.
video_paths = []  # Your video clip paths.

landmark_dict = {}
for label, video_path in zip(labels, video_paths):
    landmark_dict[label] = video_to_landmarks(video_path, max_num_frames)

feature_names = [f.name for f in Feature]
np.savez_compressed(npz_path, feature_names=feature_names, **landmark_dict)

Thank you so much for your quick and kind reply!
I will try to train with my video data according to your snippet code.
Thanks again


Misleading error message for typo in IF NOT EXISTS

See also https://github.com/GreptimeTeam/greptimedb/issues/3471.
For sqlparser-rs -
fn main() {
    let sql = "SELECT a, b, 123, myfunc(b) \
               FROM table_1 \
               WHERE a > b AND b < 100 \
               ORDER BY a DESC, b";

    let dialect = GenericDialect {};

    let ast = Parser::parse_sql(&dialect, sql).unwrap();

    println!("AST: {ast:?}");
}

throws:
called `Result::unwrap()` on an `Err` value: ParserError("Expected end of statement, found: NOT at Line: 1, Column 17")

IIUC if we found IF already, the next keywords SHOULD BE NOT EXIST and thus the parsing logics should be .expect_keywords.

Some corner case -

IF as the table name can be legal.
What CREATE TABLE NOT EXISTS ... should report?

I ran the reproducer above  and did not get an error. Instead it printed out the ast:

/Users/andrewlamb/.cargo/bin/cargo run --color=always --package rust_playground --bin rust_playground
    Finished dev [unoptimized + debuginfo] target(s) in 0.03s
     Running `target/debug/rust_playground`
AST: [Query(Query { with: None, body: Select(Select { distinct: None, top: None, projection: [UnnamedExpr(Identifier(Ident { value: "a", quote_style: None })), UnnamedExpr(Identifier(Ident { value: "b", quote_style: None })), UnnamedExpr(Value(Number("123", false))), UnnamedExpr(Function(Function { name: ObjectName([Ident { value: "myfunc", quote_style: None }]), args: [Unnamed(Expr(Identifier(Ident { value: "b", quote_style: None })))], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] }))], into: None, from: [TableWithJoins { relation: Table { name: ObjectName([Ident { value: "table_1", quote_style: None }]), alias: None, args: None, with_hints: [], version: None, partitions: [] }, joins: [] }], lateral_views: [], selection: Some(BinaryOp { left: BinaryOp { left: Identifier(Ident { value: "a", quote_style: None }), op: Gt, right: Identifier(Ident { value: "b", quote_style: None }) }, op: And, right: BinaryOp { left: Identifier(Ident { value: "b", quote_style: None }), op: Lt, right: Value(Number("100", false)) } }), group_by: Expressions([]), cluster_by: [], distribute_by: [], sort_by: [], having: None, named_window: [], qualify: None, value_table_mode: None }), order_by: [OrderByExpr { expr: Identifier(Ident { value: "a", quote_style: None }), asc: Some(false), nulls_first: None }, OrderByExpr { expr: Identifier(Ident { value: "b", quote_style: None }), asc: None, nulls_first: None }], limit: None, limit_by: [], offset: None, fetch: None, locks: [], for_clause: None })]

Process finished with exit code 0

@alamb sorry I copy the wrong code snippet. Let me update it when I return to my laptop.

@alamb Updated.

👍  makes sense to me -- a nicer error message would indeed be good

@alamb the challenging part is described in https://github.com/sqlparser-rs/sqlparser-rs/issues/1169#issuecomment-1987116428. Even if we look ahead IF, we cannot simply expect_keywords because it can be a table identifier.
Keep a backtrace would be the way but it seems too complex for me to working out now ...

You could potentially special case the error message, perhaps

I made an attempt at GreptimeDB - https://github.com/GreptimeTeam/greptimedb/pull/3817
If things go well, I'll try to make similar changes to sqlparser-rs.


Some tools cannot display logic schema name

Version: sharding-proxy 4.0.1
Description:
Some tools(just like new version of navicat or idea) cannot display logic schema name,it shows real database name.
I debugger the code , I found that two different statements were executed：
select database() and show databases().
select will route to real node.

idea/datagrip, you should turn on "introspect using jdbc metadata"(or it will get all real tables info from informations_schema):

volunteer wanted for support select database()

It is not the necessary SQL we need to support now, and nobody interesting about this issue, so I just close this one until volunteer want to do it.

I fixed this.
How to contribute?


4.0.0 No module named 'mitmproxy.contrib.kaitaistruct'

Steps to reproduce the problem:

pip3 install mitmproxy
mitmproxy --version

Any other comments? What have you tried so far?
(v) iMac-TMP:mymitmproxy400 joe$ ./v/bin/mitmproxy --version
Traceback (most recent call last):
  File "./v/bin/mitmproxy", line 7, in <module>
    from mitmproxy.tools.main import mitmproxy
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/tools/main.py", line 18, in <module>
    from mitmproxy.tools import cmdline  # noqa
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/tools/cmdline.py", line 3, in <module>
    from mitmproxy.addons import core
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/addons/__init__.py", line 1, in <module>
    from mitmproxy.addons import anticache
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/addons/anticache.py", line 1, in <module>
    from mitmproxy import ctx
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/ctx.py", line 1, in <module>
    import mitmproxy.master  # noqa
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/master.py", line 7, in <module>
    from mitmproxy import addonmanager
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/addonmanager.py", line 8, in <module>
    from mitmproxy import eventsequence
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/eventsequence.py", line 4, in <module>
    from mitmproxy import flow
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/flow.py", line 5, in <module>
    from mitmproxy import connections
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/connections.py", line 9, in <module>
    from mitmproxy.net import tcp
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/net/tcp.py", line 12, in <module>
    from mitmproxy.net import tls
  File "/Users/joe/Developer/mymitmproxy400/v/lib/python3.6/site-packages/mitmproxy/net/tls.py", line 18, in <module>
    from mitmproxy.contrib.kaitaistruct import tls_client_hello
ModuleNotFoundError: No module named 'mitmproxy.contrib.kaitaistruct'
(v) iMac-TMP:mymitmproxy400 joe$

System information
python 3.6.5 macOS

Thanks for the report. Looks like our build process messed up the uploaded wheels.
We'll investigate an release a new wheel (?) or cut a new release.

This is happening with source builds too. See https://jenkins.brew.sh/job/Homebrew Core Pull Requests/24214/

It looks like the first bad commit is 9a53525b83d4250f430de8bd4b375c5695743c4c

v4.0.1 has landed and should fix this issue.

Thanks @Kriechi! It works now.


DBZ-5756 Exclude Oracle Compression Advisor tables from capture

https://issues.redhat.com/browse/DBZ-5756

@roldanbob I've added a small blurb in the Oracle docs about table exclusion patterns, do you mind giving that a quick review and let me know if you'd like any wording changes.  Thanks!

@Naros Applied, thanks!